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
↓ 3 callers
Function
execve_counter_bpf__load
ebpf-examples/execve-counter/execve_counter.skel.h:84
↓ 3 callers
Method
handleBinOperator
(c *antlr.BaseParserRuleContext)
antlr/tdat/reverse_polish_expr_listener.go:148
↓ 3 callers
Function
handleHi
(w http.ResponseWriter, r *http.Request)
go-debug-profile-optimization/step8/demo.go:25
↓ 3 callers
Function
handleHi
(w http.ResponseWriter, r *http.Request)
go-debug-profile-optimization/step7/demo.go:22
↓ 3 callers
Function
helloworld_bpf__load
ebpf-examples/helloworld/helloworld.skel.h:86
↓ 3 callers
Function
indirect
indirect drills into interfaces and pointers, returning the pointed-at value. If it encounters a nil interface or pointer, indirect returns that nil v
xml-rewrite-carriage-return/xml/marshal.go:790
↓ 3 callers
Function
initializeWeights
初始化权重
go-and-nn/ann/handwritten-digit-recognition/main.go:98
↓ 3 callers
Function
isName
(s []byte)
xml-rewrite-carriage-return/xml/xml.go:1223
↓ 3 callers
Function
isValidDirective
isValidDirective reports whether dir is a valid directive text, meaning angle brackets are matched, ignoring comments and strings.
xml-rewrite-carriage-return/xml/marshal.go:259
↓ 3 callers
Function
left_rotate
P is new insert node, left_rotate(A) is like this: A is the least_unbalanced_tree's root A C / \
ds/search/avl/avl.c:363
↓ 3 callers
Function
listImages
(ioctx *rados.IOContext, prefix string)
go-ceph/image.go:30
↓ 3 callers
Function
listPools
(conn *rados.Conn, prefix string)
go-ceph/pool.go:29
↓ 3 callers
Method
marshalValue
marshalValue writes one or more XML elements representing val. If val was obtained from a struct field, finfo must have its details.
xml-rewrite-carriage-return/xml/marshal.go:405
↓ 3 callers
Function
newCoursesStep
()
database-access/ent/ent/department/department.go:130
↓ 3 callers
Function
newEnrollmentsStep
()
database-access/ent/ent/student/student.go:111
↓ 3 callers
Function
newEnrollmentsStep
()
database-access/ent/ent/course/course.go:111
↓ 3 callers
Function
newInstructorsStep
()
database-access/ent/ent/department/department.go:123
↓ 3 callers
Function
newStudentsStep
()
database-access/ent/ent/department/department.go:137
↓ 3 callers
Method
nsname
Get name space name: name with a : stuck in the middle. The part before the : is the name space identifier.
xml-rewrite-carriage-return/xml/xml.go:1156
↓ 3 callers
Method
outputResult
(in map[string]interface{})
antlr/tdat/semantic/semantic.go:45
↓ 3 callers
Method
pop
()
xml-rewrite-carriage-return/xml/xml.go:410
↓ 3 callers
Method
primaryExpr
(_p int)
antlr/tdat/parser/tdat_parser.go:1541
↓ 3 callers
Function
queryData
(db *sql.DB)
database-access/stdlib/main.go:67
↓ 3 callers
Function
queryData
(db *sqlx.DB)
database-access/sqlx/main.go:97
↓ 3 callers
Method
recoverFromSnapshot
(snapshot []byte)
go1.18-examples/foresight/workspace/raftexample/kvstore.go:124
↓ 3 callers
Method
recoverFromSnapshot
(snapshot []byte)
go1.18-examples/foresight/workspace/raftexample-with-go-workspace/kvstore.go:124
↓ 3 callers
Function
right_rotate
* subtree_root is the root node of the least unbalanced subtree */
ds/search/avl/avl.c:307
↓ 3 callers
Method
sqlQuery
(ctx context.Context)
database-access/ent/ent/instructor_query.go:493
↓ 3 callers
Function
testRawToken
(t *testing.T, d *Decoder, raw string, rawTokens []Token)
xml-rewrite-carriage-return/xml/xml_test.go:326
↓ 3 callers
Method
text
Read plain text section (XML calls it character data). If quote >= 0, we are in a quoted string and need to find the matching quote. If cdata == true,
xml-rewrite-carriage-return/xml/xml.go:975
↓ 3 callers
Method
translate
Apply name space translation to name n. The default name space (for Space=="") applies only to element names, not to attribute names.
xml-rewrite-carriage-return/xml/xml.go:350
↓ 3 callers
Method
tryLoadOrStore
tryLoadOrStore atomically loads or stores a value if the entry is not expunged. If the entry is expunged, tryLoadOrStore leaves the entry unchanged a
inside-syncmap/syncmap/sync/map.go:267
↓ 3 callers
Method
writeIndent
(depthDelta int)
xml-rewrite-carriage-return/xml/marshal.go:956
↓ 2 callers
Method
AddCourseIDs
AddCourseIDs adds the "courses" edge to the Course entity by IDs.
database-access/ent/ent/department_update.go:63
↓ 2 callers
Method
AddEnrollmentIDs
AddEnrollmentIDs adds the "enrollments" edge to the Enrollment entity by IDs.
database-access/ent/ent/course_update.go:58
↓ 2 callers
Method
AddEnrollmentIDs
AddEnrollmentIDs adds the "enrollments" edge to the Enrollment entity by IDs.
database-access/ent/ent/student_update.go:58
↓ 2 callers
Method
AddField
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the
database-access/ent/ent/mutation.go:377
↓ 2 callers
Method
AddHeader
(header interface{})
go-soap/pkg/myservice/myservice.go:347
↓ 2 callers
Method
AddInstructorIDs
AddInstructorIDs adds the "instructors" edge to the Instructor entity by IDs.
database-access/ent/ent/department_update.go:48
↓ 2 callers
Method
AddStudentIDs
AddStudentIDs adds the "students" edge to the Student entity by IDs.
database-access/ent/ent/department_update.go:78
↓ 2 callers
Method
AddedField
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that t
database-access/ent/ent/mutation.go:370
↓ 2 callers
Function
AssertNil
(t *testing.T, actual interface{})
memcached-proxy-demo/src/iwobi.net/utils/assert/assert.go:101
↓ 2 callers
Function
AssertTrue
(t *testing.T, condition bool)
memcached-proxy-demo/src/iwobi.net/utils/assert/assert.go:74
↓ 2 callers
Method
Bind
(f func(T) Result[T])
fp-in-go/side-effect/result/main.go:23
↓ 2 callers
Method
Bind
(f func(T) Option[T])
fp-in-go/side-effect/option/main.go:18
↓ 2 callers
Method
Bools
Bools returns list of bools from a selector. It is only allowed when selecting one field.
database-access/ent/ent/ent.go:453
↓ 2 callers
Function
CheckAccess
定义访问控制策略
authz-examples/mac/main.go:36
↓ 2 callers
Method
Client
Client returns a Client that binds to current transaction.
database-access/ent/ent/tx.go:147
↓ 2 callers
Function
ConcurrencyShutdown
(waitTimeout time.Duration, shutdowners ...GracefullyShutdowner)
writing-go-code-issues/2nd-issue/timeoutexit-demo/shutdown.go:19
↓ 2 callers
Function
CopyToken
CopyToken returns a copy of a Token.
xml-rewrite-carriage-return/xml/xml.go:122
↓ 2 callers
Method
Count
Count returns the count of the given query.
database-access/ent/ent/course_query.go:251
↓ 2 callers
Function
Create
Create creates all table resources using the given schema driver.
database-access/ent/ent/migrate/migrate.go:49
↓ 2 callers
Method
Create
Create creates all schema resources.
database-access/ent/ent/migrate/migrate.go:44
↓ 2 callers
Method
CreateCourse
(ctx context.Context, arg CreateCourseParams)
database-access/sqlc/db/queries.sql.go:26
↓ 2 callers
Method
CreateDepartment
(ctx context.Context, name string)
database-access/sqlc/db/queries.sql.go:38
↓ 2 callers
Method
CreateInstructor
(ctx context.Context, arg CreateInstructorParams)
database-access/sqlc/db/queries.sql.go:55
↓ 2 callers
Method
CreateOrder
(ctx context.Context, in *CreateOrderRequest, opts ...grpc.CallOption)
buf-examples/acme-shop/gen/go/acme/order/v1/order_grpc.pb.go:33
↓ 2 callers
Method
CreateStudent
(ctx context.Context, arg CreateStudentParams)
database-access/sqlc/db/queries.sql.go:72
↓ 2 callers
Function
D
()
trace-function-call-chain/trace3/main.go:23
↓ 2 callers
Function
D
()
trace-function-call-chain/trace4/main.go:23
↓ 2 callers
Method
Decode
(pktBody []byte)
tcp-stream-proto/demo1/pkg/packet/packet.go:60
↓ 2 callers
Method
Decode
(packet []byte)
tcp-stream-proto/demo5-with-metrics/pkg/packet/packet.go:64
↓ 2 callers
Method
Decode
(packet []byte)
tcp-stream-proto/demo5/pkg/packet/packet.go:64
↓ 2 callers
Method
Decode
(pktBody []byte)
tcp-stream-proto/demo3/pkg/packet/packet.go:62
↓ 2 callers
Method
Decode
(pktBody []byte)
tcp-stream-proto/demo2/pkg/packet/packet.go:60
↓ 2 callers
Method
Decode
(pktBody []byte)
tcp-stream-proto/demo3-with-metrics/pkg/packet/packet.go:62
↓ 2 callers
Method
Decode
(packet []byte)
tcp-stream-proto/demo4/pkg/packet/packet.go:64
↓ 2 callers
Method
Decode
(packet []byte)
tcp-stream-proto/demo4-with-metrics/pkg/packet/packet.go:64
↓ 2 callers
Method
Decode
(pktBody []byte)
tcp-stream-proto/demo1-with-metrics/pkg/packet/packet.go:60
↓ 2 callers
Method
Dequeue
(ctx context.Context, timeout time.Duration)
go-concurrent-tests/ch03/safe_queue_test/safe_queue_test.go:36
↓ 2 callers
Method
Enqueue
(ctx context.Context, item T, timeout time.Duration)
go-concurrent-tests/ch03/safe_queue_test/safe_queue_test.go:25
↓ 2 callers
Method
EnrollStudent
(ctx context.Context, arg EnrollStudentParams)
database-access/sqlc/db/queries.sql.go:121
↓ 2 callers
Method
Exec
Exec executes the deletion query and returns how many vertices were deleted.
database-access/ent/ent/course_delete.go:29
↓ 2 callers
Method
Exec
Exec executes the deletion query and returns how many vertices were deleted.
database-access/ent/ent/student_delete.go:29
↓ 2 callers
Method
Exec
Exec executes the deletion query and returns how many vertices were deleted.
database-access/ent/ent/instructor_delete.go:29
↓ 2 callers
Method
Exec
Exec executes the deletion query and returns how many vertices were deleted.
database-access/ent/ent/department_delete.go:29
↓ 2 callers
Method
Exec
Exec executes the deletion query and returns how many vertices were deleted.
database-access/ent/ent/enrollment_delete.go:29
↓ 2 callers
Method
Field
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in t
database-access/ent/ent/mutation.go:326
↓ 2 callers
Method
FieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
database-access/ent/ent/mutation.go:391
↓ 2 callers
Method
FirstID
FirstID returns the first Enrollment ID from the query. Returns a *NotFoundError when no Enrollment ID was found.
database-access/ent/ent/enrollment_query.go:133
↓ 2 callers
Method
FirstID
FirstID returns the first Department ID from the query. Returns a *NotFoundError when no Department ID was found.
database-access/ent/ent/department_query.go:157
↓ 2 callers
Method
FirstID
FirstID returns the first Instructor ID from the query. Returns a *NotFoundError when no Instructor ID was found.
database-access/ent/ent/instructor_query.go:109
↓ 2 callers
Method
FirstID
FirstID returns the first Student ID from the query. Returns a *NotFoundError when no Student ID was found.
database-access/ent/ent/student_query.go:134
↓ 2 callers
Method
FirstID
FirstID returns the first Course ID from the query. Returns a *NotFoundError when no Course ID was found.
database-access/ent/ent/course_query.go:134
↓ 2 callers
Method
Float64s
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
database-access/ent/ent/ent.go:406
↓ 2 callers
Method
Forward
Forward propagation
go-and-nn/ann/linear-regression/main.go:85
↓ 2 callers
Method
FromJSON
(data []byte)
webrtc-data-channel/signaling/proto/proto.go:62
↓ 2 callers
Method
GetUser
(ctx context.Context, userID string)
go-cache-strategy/internal/database/database.go:70
↓ 2 callers
Method
GrantAccess
(user string)
authz-examples/dac/main.go:13
↓ 2 callers
Function
HasOp
HasOp is a condition testing mutation operation.
database-access/ent/ent/hook/hook.go:112
↓ 2 callers
Function
If
If executes the given hook under condition. hook.If(ComputeAverage, And(HasFields(...), HasAddedFields(...)))
database-access/ent/ent/hook/hook.go:166
↓ 2 callers
Method
Inc
()
concurrency-costs/main_test.go:14
↓ 2 callers
Method
Increase
(a int)
go19-examples/typealias/typedefinition-method.go:7
↓ 2 callers
Method
InputOffset
InputOffset returns the input stream byte offset of the current decoder position. The offset gives the location of the end of the most recently return
xml-rewrite-carriage-return/xml/xml.go:927
↓ 2 callers
Method
InstMethod1OfT
()
details-in-go/3/embedingstructinstruct.go:8
↓ 2 callers
Method
InstMethodOfS
()
details-in-go/3/embedingstructinstruct.go:23
↓ 2 callers
Method
Intercept
Intercept adds the query interceptors to all the entity clients. In order to add interceptors to a specific client, call: `client.Node.Intercept(...)`
database-access/ent/ent/client.go:215
↓ 2 callers
Method
Len
()
queue-with-select/safe-queue1/safe_queue.go:25
↓ 2 callers
Method
Len
()
container-heap-v2/benchmark/benchmark_test.go:15
↓ 2 callers
Method
Marshal
()
grpc-client/grpc-vs-httpjson/protocol/grpc/proto/publish.pb.go:251
← previous
next →
401–500 of 5,218, ranked by callers