Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monibuca/engine
/ IList
Interface
IList
util/list.go:5–9 ·
view source on GitHub ↗
带回收功能的泛型双向链表
Source
from the content-addressed store, hash-verified
3
// 带回收功能的泛型双向链表
4
5
type
IList[T any]
interface
{
6
Push(*ListItem[T])
7
Shift() *ListItem[T]
8
Clear()
9
}
10
11
type
ListItem[T any]
struct
{
12
Value T
Callers
10
Push
Method · 0.65
Push
Method · 0.65
TestReorder
Function · 0.65
Recycle
Method · 0.65
Transfer
Method · 0.65
ShiftIDR
Method · 0.65
WriteAVCC
Method · 0.65
Shift
Method · 0.65
Recycle
Method · 0.65
Clear
Method · 0.65
Implementers
1
BLL
util/pool.go
Calls
no outgoing calls
Tested by
no test coverage detected