Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bigwhite/experiments
/ functions
Functions
5,218 in github.com/bigwhite/experiments
⨍
Functions
5,218
◇
Types & classes
1,053
↓ 4 callers
Function
returnResp
(c *websocket.Conn, cmd int, resp *proto.Response)
webrtc-data-channel/signaling/main.go:294
↓ 4 callers
Function
shutdownMaker
(processTm int)
writing-go-code-issues/2nd-issue/timeoutexit-demo/shutdown_test.go:8
↓ 4 callers
Function
skiplist_dump
ds/search/skiplist/skiplist.c:205
↓ 4 callers
Function
skiplist_remove
ds/search/skiplist/skiplist.c:112
↓ 4 callers
Function
sovMygrpc
(x uint64)
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:549
↓ 4 callers
Method
sqlQuery
(ctx context.Context)
database-access/ent/ent/enrollment_query.go:568
↓ 4 callers
Method
sqlQuery
(ctx context.Context)
database-access/ent/ent/student_query.go:569
↓ 4 callers
Method
sqlQuery
(ctx context.Context)
database-access/ent/ent/course_query.go:569
↓ 4 callers
Function
sum
(max int)
go1.14-examples/defer_benchmark_test.go:5
↓ 4 callers
Function
trace
()
trace-function-call-chain/trace2/trace.go:10
↓ 4 callers
Function
trace
()
trace-function-call-chain/trace1/trace.go:8
↓ 4 callers
Method
trim
trim updates the XML context to match the longest common prefix of the stack and the given parents. A closing tag will be written for every parent pop
xml-rewrite-carriage-return/xml/marshal.go:995
↓ 4 callers
Function
value2CDATA
(v string)
wechat_examples/public/2-recvtextmsg/recvtextmsg_unencrypt.go:83
↓ 4 callers
Method
writeEnd
(name Name)
xml-rewrite-carriage-return/xml/marshal.go:725
↓ 4 callers
Method
writeStart
writeStart writes the given start element.
xml-rewrite-carriage-return/xml/marshal.go:687
↓ 3 callers
Method
Add
Add 向 SetCollection 添加元素
fp-in-go/func-composition/main.go:62
↓ 3 callers
Method
AddedYear
AddedYear returns the value that was added to the "year" field in this mutation.
database-access/ent/ent/mutation.go:1295
↓ 3 callers
Function
Calculate
Calculate 执行简单的算术运算
diff-test-cover/caculator.go:6
↓ 3 callers
Method
Commit
(context.Context, *Tx)
database-access/ent/ent/tx.go:37
↓ 3 callers
Method
CopyFrom
(ctx *ExpressionContext)
antlr/calc/parser/calc_parser.go:259
↓ 3 callers
Method
CourseID
CourseID returns the "course" edge ID in the mutation.
database-access/ent/ent/mutation.go:1364
↓ 3 callers
Method
CourseIDs
CourseIDs returns the "course" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use CourseID inst
database-access/ent/ent/mutation.go:1374
↓ 3 callers
Method
CoursesIDs
CoursesIDs returns the "courses" edge IDs in the mutation.
database-access/ent/ent/mutation.go:765
↓ 3 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
webserver-operator/api/v1/zz_generated.deepcopy.go:29
↓ 3 callers
Method
Delete
Delete deletes the value for a key.
inside-syncmap/syncmap/sync/map.go:295
↓ 3 callers
Method
DeleteOneID
DeleteOneID returns a builder for deleting the given entity by its id.
database-access/ent/ent/client.go:319
↓ 3 callers
Function
Dump
(t Tree, order string)
antlr/tdat/semantic/semantic.go:336
↓ 3 callers
Method
EscapeString
EscapeString writes to p the properly escaped XML equivalent of the plain text data s.
xml-rewrite-carriage-return/xml/xml.go:1960
↓ 3 callers
Function
Evaluate
(t Tree, m map[string]interface{})
antlr/tdat/semantic/semantic.go:363
↓ 3 callers
Method
Exec
(metrics []map[string]interface{})
antlr/tdat/semantic/semantic.go:71
↓ 3 callers
Method
FailNow
()
database-access/ent/ent/enttest/enttest.go:20
↓ 3 callers
Method
Float64
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
database-access/ent/ent/ent.go:427
↓ 3 callers
Function
Foo
()
go15-internal-issue-12217/mypkg/internal/foo/foo.go:5
↓ 3 callers
Method
Forward
Forward pass
go-and-nn/ann/xor/main.go:50
↓ 3 callers
Function
GenerateQAPrompt
GenerateQAPrompt 函数接收一个 PromptData 实例,使用模板生成最终的 Prompt 字符串
ai-app-primer/ch04/prompt_template.go:52
↓ 3 callers
Method
GetData
()
dependency-injection-examples/wire/demo/database/database.go:5
↓ 3 callers
Method
GetLeftChild
()
antlr/tdat/semantic/semantic.go:211
↓ 3 callers
Function
GetSectionKey
(name string)
read-ini/demo3/pkg/config/config.go:52
↓ 3 callers
Function
GetSectionKey
(name string)
read-ini/demo2/pkg/config/config.go:47
↓ 3 callers
Method
GetValue
()
antlr/tdat/semantic/semantic.go:209
↓ 3 callers
Method
HandleRequest
()
dependency-injection-examples/wire/demo/service/service.go:7
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Enrollment IDs.
database-access/ent/ent/enrollment_query.go:229
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Department IDs.
database-access/ent/ent/department_query.go:253
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Instructor IDs.
database-access/ent/ent/instructor_query.go:205
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Student IDs.
database-access/ent/ent/student_query.go:230
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Course IDs.
database-access/ent/ent/course_query.go:230
↓ 3 callers
Method
InstructorsIDs
InstructorsIDs returns the "instructors" edge IDs in the mutation.
database-access/ent/ent/mutation.go:711
↓ 3 callers
Method
Ints
Ints returns list of ints from a selector. It is only allowed when selecting one field.
database-access/ent/ent/ent.go:359
↓ 3 callers
Method
Len
()
antlr/tdat/semantic/stack.go:20
↓ 3 callers
Method
Lookup
(key string)
go1.18-examples/foresight/workspace/raftexample-with-go-workspace/kvstore.go:58
↓ 3 callers
Function
MakePair
使用Pair类型别名
go1.23-examples/lang/pairs.go:12
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
protobuf/gogoprotobuf-slick/submit/submit.pb.go:249
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
protobuf/gogoprotobuf-faster/submit/submit.pb.go:172
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
protobuf/gogoprotobuf-fast/submit/submit.pb.go:175
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
grpc-client/grpc-vs-httpjson/protocol/grpc/proto/publish.pb.go:266
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
grpc-client/grpc-vs-httpjson/protocol/grpc/proto/publish.pb.go:314
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
grpc-client/grpc-vs-httpjson/codec/proto/message.pb.go:121
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:453
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:487
↓ 3 callers
Function
NewEmptyExpressionContext
()
antlr/calc/parser/calc_parser.go:237
↓ 3 callers
Function
NewExpressionContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
antlr/calc/parser/calc_parser.go:246
↓ 3 callers
Function
NewModel
(reversePolishExpr []Value, wr WindowsRange, ef string, result []string)
antlr/tdat/semantic/semantic.go:35
↓ 3 callers
Method
Pop
()
queue-with-select/safe-queue1/safe_queue.go:39
↓ 3 callers
Method
ProcessData
()
dependency-injection-examples/wire/demo/business/business.go:9
↓ 3 callers
Method
Push
(v interface{})
queue-with-select/safe-queue1/safe_queue.go:32
↓ 3 callers
Method
Push
(v T)
generics/stack/stack.go:13
↓ 3 callers
Method
ResetYear
ResetYear resets all changes to the "year" field.
database-access/ent/ent/mutation.go:1304
↓ 3 callers
Method
Rollback
(context.Context, *Tx)
database-access/ent/ent/tx.go:93
↓ 3 callers
Method
SetLeftChild
(lt Tree)
antlr/tdat/semantic/semantic.go:242
↓ 3 callers
Method
SetSemester
SetSemester sets the "semester" field.
database-access/ent/ent/mutation.go:1218
↓ 3 callers
Method
SetYear
SetYear sets the "year" field.
database-access/ent/ent/mutation.go:1254
↓ 3 callers
Method
Size
()
protobuf/gogoprotobuf-slick/submit/submit.pb.go:329
↓ 3 callers
Method
Size
()
protobuf/gogoprotobuf-faster/submit/submit.pb.go:252
↓ 3 callers
Method
Size
()
grpc-client/grpc-vs-httpjson/protocol/grpc/proto/publish.pb.go:349
↓ 3 callers
Method
Size
()
grpc-client/grpc-vs-httpjson/protocol/grpc/proto/publish.pb.go:373
↓ 3 callers
Method
Size
()
grpc-client/grpc-vs-httpjson/codec/proto/message.pb.go:165
↓ 3 callers
Method
Size
()
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:517
↓ 3 callers
Method
Size
()
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:533
↓ 3 callers
Function
Some
(x T)
fp-in-go/side-effect/option/main.go:10
↓ 3 callers
Method
String
()
go1.14-examples/overlapping_interface2.go:32
↓ 3 callers
Method
StudentID
StudentID returns the "student" edge ID in the mutation.
database-access/ent/ent/mutation.go:1325
↓ 3 callers
Method
StudentIDs
StudentIDs returns the "student" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use StudentID i
database-access/ent/ent/mutation.go:1335
↓ 3 callers
Method
StudentsIDs
StudentsIDs returns the "students" edge IDs in the mutation.
database-access/ent/ent/mutation.go:819
↓ 3 callers
Method
UnaryRPC
Unary RPC
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:161
↓ 3 callers
Method
Unmarshal
(dAtA []byte)
protobuf/gogoprotobuf-slick/submit/submit.pb.go:405
↓ 3 callers
Method
Unmarshal
(dAtA []byte)
protobuf/gogoprotobuf-faster/submit/submit.pb.go:302
↓ 3 callers
Method
UpdateUser
(ctx context.Context, user *models.User)
go-cache-strategy/internal/database/database.go:19
↓ 3 callers
Method
Value
()
concurrency-costs/main_test.go:15
↓ 3 callers
Method
Where
Where adds a new predicate for the StudentQuery builder.
database-access/ent/ent/student_query.go:36
↓ 3 callers
Method
Where
Where adds a new predicate for the CourseQuery builder.
database-access/ent/ent/course_query.go:36
↓ 3 callers
Method
WriteString
(s string)
go1.10-examples/stdlib/stringsbuilder/builder.go:24
↓ 3 callers
Function
_BpfClose
(closers ...io.Closer)
ebpf-examples/helloworld-go/bpf_bpfeb.go:104
↓ 3 callers
Function
_BpfClose
(closers ...io.Closer)
ebpf-examples/helloworld-go/bpf_bpfel.go:104
↓ 3 callers
Function
_BpfClose
(closers ...io.Closer)
ebpf-examples/execve-counter-go/bpf_bpfeb.go:110
↓ 3 callers
Function
_BpfClose
(closers ...io.Closer)
ebpf-examples/execve-counter-go/bpf_bpfel.go:110
↓ 3 callers
Function
assertEqual
(A, B, expect int, t *testing.T)
go17-examples/stdlib/subtest/foo_test.go:17
↓ 3 callers
Function
bToMb
将字节转换为 MB
why-go-sucks/million-tasks/million-tasks.go:36
↓ 3 callers
Function
call
(v reflect.Value)
go1.15-examples/stdlib/reflect.go:14
↓ 3 callers
Function
defer
cdefer/lib/defer.c:38
↓ 3 callers
Function
encodeVarintMessage
(dAtA []byte, offset int, v uint64)
grpc-client/grpc-vs-httpjson/codec/proto/message.pb.go:154
← previous
next →
301–400 of 5,218, ranked by callers