MCPcopy Create free account

hub / github.com/bigwhite/experiments / functions

Functions5,218 in github.com/bigwhite/experiments

↓ 2 callersMethodMarshal
()
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:438
↓ 2 callersMethodMarshalXMLAttr
(name Name)
xml-rewrite-carriage-return/xml/marshal.go:119
↓ 2 callersMethodMutate
Mutate calls f(ctx, m).
database-access/ent/ent/hook/hook.go:16
↓ 2 callersFunctionNew
(writer io.Writer, level int8, opts ...zap.Option)
kafka-clients/zapkafka/log.go:25
↓ 2 callersFunctionNewCache
NewCache 创建一个新的缓存,带有指定的过期时间和创建新条目的函数。
go1.24-foresight/stdlib/synctest/cache.go:23
↓ 2 callersFunctionNewChanHandler
(ch chan []byte)
slog-examples-go121/demo4/main.go:51
↓ 2 callersFunctionNewConditionExprContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
antlr/tdat/parser/tdat_parser.go:962
↓ 2 callersFunctionNewEmptyResultContext
()
antlr/tdat/parser/tdat_parser.go:2186
↓ 2 callersFunctionNewEmptyWindowsRangeContext
()
antlr/tdat/parser/tdat_parser.go:753
↓ 2 callersFunctionNewFileSyncer
(writer io.Writer)
kafka-clients/zapkafka/file_syncer.go:9
↓ 2 callersFunctionNewFrom
construct a tree based on a reversePolishExpr
antlr/tdat/semantic/semantic.go:725
↓ 2 callersFunctionNewKafkaSyncer
(producer sarama.AsyncProducer, topic string, fallbackWs zapcore.WriteSyncer)
kafka-clients/zapkafka/kafka_syncer.go:20
↓ 2 callersFunctionNewPrimaryExprContext
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)
antlr/tdat/parser/tdat_parser.go:1237
↓ 2 callersFunctionNewSOAPClientWithTLSConfig
(url string, tlsCfg *tls.Config, auth *BasicAuth)
go-soap/pkg/myservice/myservice.go:339
↓ 2 callersFunctionNewSafe
()
queue-with-select/safe-queue2/safe_queue.go:24
↓ 2 callersFunctionNewUserService
(repo UserRepository)
testify-examples/mock/mock_test.go:25
↓ 2 callersFunctionOk
(value T)
fp-in-go/side-effect/result/main.go:15
↓ 2 callersMethodPop
()
generics/stack/stack.go:21
↓ 2 callersMethodPropose
(k string, v string)
go1.18-examples/foresight/workspace/raftexample/kvstore.go:65
↓ 2 callersMethodPropose
(k string, v string)
go1.18-examples/foresight/workspace/raftexample-with-go-workspace/kvstore.go:65
↓ 2 callersMethodPtrMethodOfS
()
details-in-go/3/embedingstructinstruct.go:27
↓ 2 callersMethodPtrMethodOfT
()
details-in-go/3/embedingstructinstruct.go:16
↓ 2 callersMethodPublish
(ctx context.Context, in *Message, opts ...grpc.CallOption)
grpc-client/grpc-vs-httpjson/protocol/grpc/proto/publish.pb.go:183
↓ 2 callersFunctionPure
Pure lifts a value into the IO context
fp-in-go/side-effect/io-monad/main.go:40
↓ 2 callersMethodQueryRowContext
(context.Context, string, ...interface{})
database-access/sqlc/db/db.go:16
↓ 2 callersFunctionReadConfig
(configFile string)
kafka-clients/benchmark/kafka_clients_test.go:90
↓ 2 callersMethodReduce
(initialValue T, reducer func(T, T) T)
fp-in-go/func-composition/main.go:9
↓ 2 callersMethodRemoveCourseIDs
RemoveCourseIDs removes the "courses" edge to Course entities by IDs.
database-access/ent/ent/department_update.go:125
↓ 2 callersMethodRemoveEnrollmentIDs
RemoveEnrollmentIDs removes the "enrollments" edge to Enrollment entities by IDs.
database-access/ent/ent/course_update.go:90
↓ 2 callersMethodRemoveEnrollmentIDs
RemoveEnrollmentIDs removes the "enrollments" edge to Enrollment entities by IDs.
database-access/ent/ent/student_update.go:90
↓ 2 callersMethodRemoveInstructorIDs
RemoveInstructorIDs removes the "instructors" edge to Instructor entities by IDs.
database-access/ent/ent/department_update.go:104
↓ 2 callersMethodRemoveStudentIDs
RemoveStudentIDs removes the "students" edge to Student entities by IDs.
database-access/ent/ent/department_update.go:146
↓ 2 callersMethodRemovedCoursesIDs
RemovedCourses returns the removed IDs of the "courses" edge to the Course entity.
database-access/ent/ent/mutation.go:757
↓ 2 callersMethodRemovedInstructorsIDs
RemovedInstructors returns the removed IDs of the "instructors" edge to the Instructor entity.
database-access/ent/ent/mutation.go:703
↓ 2 callersMethodRemovedStudentsIDs
RemovedStudents returns the removed IDs of the "students" edge to the Student entity.
database-access/ent/ent/mutation.go:811
↓ 2 callersMethodResult
()
antlr/tdat/parser/tdat_parser.go:2288
↓ 2 callersMethodRow
()
antlr/csv2map/parser/csv_parser.go:480
↓ 2 callersMethodSave
Save creates the Student in the database.
database-access/ent/ent/student_create.go:62
↓ 2 callersMethodSave
Save creates the Student entities in the database.
database-access/ent/ent/student_create.go:175
↓ 2 callersMethodSave
Save creates the Instructor in the database.
database-access/ent/ent/instructor_create.go:46
↓ 2 callersMethodSave
Save creates the Instructor entities in the database.
database-access/ent/ent/instructor_create.go:143
↓ 2 callersMethodSave
Save executes the query and returns the updated Course entity.
database-access/ent/ent/course_update.go:339
↓ 2 callersMethodSave
Save creates the Department in the database.
database-access/ent/ent/department_create.go:82
↓ 2 callersMethodSave
Save creates the Department entities in the database.
database-access/ent/ent/department_create.go:207
↓ 2 callersMethodSave
Save creates the Enrollment in the database.
database-access/ent/ent/enrollment_create.go:64
↓ 2 callersMethodSave
Save creates the Enrollment entities in the database.
database-access/ent/ent/enrollment_create.go:193
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
database-access/ent/ent/student_update.go:105
↓ 2 callersMethodSave
Save executes the query and returns the updated Student entity.
database-access/ent/ent/student_update.go:339
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
database-access/ent/ent/department_update.go:161
↓ 2 callersMethodSave
Save executes the query and returns the updated Department entity.
database-access/ent/ent/department_update.go:508
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
database-access/ent/ent/instructor_update.go:68
↓ 2 callersMethodSave
Save executes the query and returns the updated Instructor entity.
database-access/ent/ent/instructor_update.go:221
↓ 2 callersMethodSave
Save creates the Course in the database.
database-access/ent/ent/course_create.go:62
↓ 2 callersMethodSave
Save creates the Course entities in the database.
database-access/ent/ent/course_create.go:175
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
database-access/ent/ent/enrollment_update.go:107
↓ 2 callersMethodSave
Save executes the query and returns the updated Enrollment entity.
database-access/ent/ent/enrollment_update.go:341
↓ 2 callersFunctionSequentialShutdown
(waitTimeout time.Duration, shutdowners ...GracefullyShutdowner)
writing-go-code-issues/2nd-issue/timeoutexit-demo/shutdown.go:43
↓ 2 callersMethodServerStreamingRPC
Server-Streaming RPC
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:163
↓ 2 callersMethodSetCourse
SetCourse sets the "course" edge to the Course entity.
database-access/ent/ent/enrollment_create.go:54
↓ 2 callersMethodSetCourseID
SetCourseID sets the "course" edge to the Course entity by ID.
database-access/ent/ent/enrollment_update.go:79
↓ 2 callersMethodSetDepartmentID
SetDepartmentID sets the "department" edge to the Department entity by ID.
database-access/ent/ent/course_update.go:47
↓ 2 callersMethodSetDepartmentID
SetDepartmentID sets the "department" edge to the Department entity by ID.
database-access/ent/ent/student_update.go:47
↓ 2 callersMethodSetDepartmentID
SetDepartmentID sets the "department" edge to the Department entity by ID.
database-access/ent/ent/instructor_update.go:46
↓ 2 callersMethodSetName
SetName sets the "name" field.
database-access/ent/ent/student_update.go:33
↓ 2 callersMethodSetName
SetName sets the "name" field.
database-access/ent/ent/department_update.go:34
↓ 2 callersMethodSetName
SetName sets the "name" field.
database-access/ent/ent/instructor_update.go:32
↓ 2 callersMethodSetSemester
SetSemester sets the "semester" field.
database-access/ent/ent/enrollment_update.go:33
↓ 2 callersMethodSetStudent
SetStudent sets the "student" edge to the Student entity.
database-access/ent/ent/enrollment_create.go:43
↓ 2 callersMethodSetStudentID
SetStudentID sets the "student" edge to the Student entity by ID.
database-access/ent/ent/enrollment_update.go:68
↓ 2 callersMethodSetTitle
SetTitle sets the "title" field.
database-access/ent/ent/course_update.go:33
↓ 2 callersMethodSetYear
SetYear sets the "year" field.
database-access/ent/ent/enrollment_update.go:47
↓ 2 callersMethodShouldEnable
ShouldEnable reports whether the change with the given id should be enabled.
hash-based-bisect/bisect-demo/bisect/bisect.go:284
↓ 2 callersMethodShouldReport
ShouldReport reports whether the change with the given id should be reported.
hash-based-bisect/bisect-demo/bisect/bisect.go:298
↓ 2 callersMethodSync
()
uber-zap-advanced-usage/demo1/pkg/log/log.go:154
↓ 2 callersMethodToJSON
()
webrtc-data-channel/signaling/proto/proto.go:44
↓ 2 callersMethodUnaryRPC
(ctx context.Context, req *pb.RequestMessage)
grpc-test-examples/grpctest/server.go:13
↓ 2 callersMethodUnmarshal
(dAtA []byte)
grpc-client/grpc-vs-httpjson/protocol/grpc/proto/publish.pb.go:398
↓ 2 callersMethodUnmarshal
(dAtA []byte)
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:555
↓ 2 callersMethodUnmarshalXMLAttr
(attr Attr)
xml-rewrite-carriage-return/xml/read.go:187
↓ 2 callersMethodUpdateOneID
UpdateOneID returns an update builder for the given id.
database-access/ent/ent/client.go:302
↓ 2 callersMethodWhere
Where adds a new predicate for the EnrollmentQuery builder.
database-access/ent/ent/enrollment_query.go:35
↓ 2 callersMethodWithDepartment
WithDepartment tells the query-builder to eager-load the nodes that are connected to the "department" edge. The optional arguments are used to configu
database-access/ent/ent/course_query.go:312
↓ 2 callersMethodWrite
(b []byte)
kafka-clients/zapkafka/kafka_syncer.go:40
↓ 2 callersFunctionadd
(left: usize, right: usize)
rust-guide-for-gopher/organizing-rust-code/cargo/multi-packages/my-workspace-with-deps/package2/src/lib.rs:1
↓ 2 callersFunctionadd
go:noinline
inlining-optimisations/add/add.go:4
↓ 2 callersFunctionaddFieldInfo
addFieldInfo adds finfo to tinfo.fields if there are no conflicts, or if conflicts arise from previous fields that were obtained from deeper embedded
xml-rewrite-carriage-return/xml/typeinfo.go:268
↓ 2 callersMethodaddPeer
(p *peerOffer)
webrtc-data-channel/signaling/main.go:243
↓ 2 callersFunctionaesDecrypt
(cipherData []byte, aesKey []byte)
wechat_examples/public/3-encryptedtextmsg/recvencryptedtextmsg.go:260
↓ 2 callersFunctionavl_tree_insert_node
ds/search/avl/avl.c:79
↓ 2 callersFunctionbalance
* * calculate the balance factor of ancestors of the insert node * if unbalance, rebalance the avl tree * * node - new insert node * trace_anc
ds/search/avl/avl.c:517
↓ 2 callersFunctionbst_insert_node
ds/search/bst/bst.c:54
↓ 2 callersFunctioncalc
calc takes a string expression and returns the evaluated result.
antlr/calc/main.go:10
↓ 2 callersFunctioncalculateHMAC
calculateHMAC 是一个辅助函数,用于计算并编码 HMAC 值
json-isnt-json/demo4/main.go:52
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
database-access/ent/ent/student_create.go:89
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
database-access/ent/ent/instructor_create.go:73
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
database-access/ent/ent/department_create.go:109
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
database-access/ent/ent/enrollment_create.go:91
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
database-access/ent/ent/course_create.go:89
↓ 2 callersMethodconditionExpr
(_p int)
antlr/tdat/parser/tdat_parser.go:1113
↓ 2 callersFunctioncopyValue
(dst reflect.Value, src []byte)
xml-rewrite-carriage-return/xml/read.go:603
← previousnext →501–600 of 5,218, ranked by callers