MCPcopy Create free account

hub / github.com/bigwhite/experiments / functions

Functions5,218 in github.com/bigwhite/experiments

↓ 304 callersMethodClose
()
go-cache-strategy/internal/database/database.go:23
↓ 257 callersMethodError
(...any)
database-access/ent/ent/enttest/enttest.go:21
↓ 229 callersMethodFatal
(msg string, fields ...Field)
uber-zap-advanced-usage/demo1/pkg/log/log.go:48
↓ 133 callersMethodWrite
(p []byte)
xml-rewrite-carriage-return/xml/xml_test.go:770
↓ 128 callersMethodGet
(key string)
go-cache-strategy/internal/cache/cache.go:11
↓ 123 callersMethodString
()
go1.14-examples/overlapping_interface.go:5
↓ 117 callersMethodAdd
* Adds two integers. This is a test WebService. ©DNE Online */
go-soap/pkg/myservice/myservice.go:111
↓ 82 callersMethodSet
(key string, value interface{}, ttl time.Duration)
go-cache-strategy/internal/cache/cache.go:10
↓ 81 callersMethodWriteString
(s string)
go1.10-examples/stdlib/stringsbuilder/builder.go:12
↓ 77 callersMethodQuery
Query calls tx.Query.
database-access/ent/ent/tx.go:218
↓ 68 callersMethodDone
()
context-examples/with_cancel/custom_cancelctx.go:26
↓ 67 callersMethodUnmarshal
(dAtA []byte)
protobuf/gogoprotobuf-fast/submit/submit.pb.go:312
↓ 60 callersMethodType
()
antlr/tdat/semantic/semantic.go:217
↓ 54 callersMethodRun
Run method now manages OpenAI message history
code-editing-agent-deepseek/main.go:304
↓ 52 callersMethodValue
()
antlr/tdat/semantic/semantic.go:218
↓ 51 callersMethodDump
()
inside-syncmap/syncmap/sync/map.go:64
↓ 51 callersMethodEncode
[]byte -> struct
tcp-stream-proto/demo1-with-metrics/pkg/packet/packet.go:37
↓ 51 callersMethodRead
(p []byte)
xml-rewrite-carriage-return/xml/xml_test.go:287
↓ 50 callersMethodField
()
antlr/csv2map/parser/csv_parser.go:612
↓ 50 callersFunctionsetContextOp
setContextOp returns a new context with the given QueryContext attached (including its op) in case it does not exist.
database-access/ent/ent/ent.go:534
↓ 48 callersMethodDo
()
writing-go-code-issues/1st-issue/vendor-demo/lib_b/b.go:8
↓ 47 callersMethodEqual
(that interface{})
protobuf/gogoprotobuf-slick/submit/submit.pb.go:160
↓ 47 callersMethodOpen
(name string)
iofs/gofilefs/gofilefs.go:46
↓ 43 callersMethodInt
Int returns a single int from a selector. It is only allowed when selecting one field.
database-access/ent/ent/ent.go:380
↓ 43 callersMethodMarshal
()
protobuf/gogoprotobuf-fast/submit/submit.pb.go:160
↓ 40 callersMethodName
Name returns the value of the "name" field in the mutation.
database-access/ent/ent/mutation.go:2157
↓ 37 callersMethodCreate
Create returns a builder for creating a Course entity.
database-access/ent/ent/client.go:264
↓ 36 callersMethodErr
()
context-examples/with_cancel/custom_cancelctx.go:30
↓ 35 callersMethodInfo
(msg string, fields ...zap.Field)
kafka-clients/zapkafka/log.go:17
↓ 34 callersMethodDecode
([]byte)
tcp-stream-proto/demo1-with-metrics/pkg/packet/packet.go:36
↓ 33 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
database-access/ent/ent/course_update.go:105
↓ 33 callersMethodWrite
(data []byte, n int)
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:61
↓ 32 callersMethodLen
()
generics/stack/stack.go:17
↓ 32 callersFunctionnewBinaryOperator
(v string)
antlr/tdat/semantic/semantic_test.go:100
↓ 31 callersMethodAccept
()
go1.18-examples/foresight/workspace/raftexample/listener.go:38
↓ 30 callersMethodDialect
Dialect returns the dialect of the driver we started the transaction from.
database-access/ent/ent/tx.go:199
↓ 30 callersMethodScan
Scan applies the selector query and scans the result into the given value.
database-access/ent/ent/course_query.go:662
↓ 27 callersMethodLoad
Load returns the value stored in the map for a key, or nil if no value is present. The ok result indicates whether value was found in the map.
inside-syncmap/syncmap/sync/map.go:130
↓ 26 callersMethodSync
()
kafka-clients/zapkafka/log.go:21
↓ 26 callersMethodWhere
Where appends a list predicates to the CourseMutation builder.
database-access/ent/ent/mutation.go:283
↓ 25 callersMethodAppend
Append extends a chain, adding the specified hook as the last ones in the mutation flow.
database-access/ent/ent/hook/hook.go:235
↓ 24 callersFunctionUnmarshal
BUG(rsc): Mapping between XML elements and data structures is inherently flawed: an XML element is an order-dependent collection of anonymous values,
xml-rewrite-carriage-return/xml/read.go:132
↓ 24 callersFunctionf
()
go17-examples/language/f.go:3
↓ 23 callersMethodExec
(in []map[string]interface{})
antlr/tdat/processor.go:10
↓ 23 callersFunctionNewDecoder
NewDecoder creates a new XML parser reading from r. If r does not implement io.ByteReader, NewDecoder will do its own buffering.
xml-rewrite-carriage-return/xml/xml.go:229
↓ 23 callersMethodToken
Token returns the next XML token in the input stream. At the end of the input stream, Token returns nil, io.EOF. Slices of bytes in the returned toke
xml-rewrite-carriage-return/xml/xml.go:279
↓ 23 callersMethodsyntaxError
Creates a SyntaxError with the current line number.
xml-rewrite-carriage-return/xml/xml.go:473
↓ 22 callersMethodLen
()
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:45
↓ 22 callersMethodmustgetc
Must read a single byte. If there is no byte to read, set d.err to SyntaxError("unexpected EOF") and return ok==false
xml-rewrite-carriage-return/xml/xml.go:945
↓ 21 callersMethodAvail
()
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:49
↓ 21 callersMethodStop
Stop gracefully shuts down the Write-Behind worker.
go-cache-strategy/strategy/writebehind/writebehind.go:172
↓ 20 callersFunctionnewLiteral
(v interface{})
antlr/tdat/semantic/semantic_test.go:118
↓ 20 callersFunctionwithHooks
withHooks invokes the builder operation with the given hooks, if any.
database-access/ent/ent/ent.go:500
↓ 19 callersMethodID
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the databa
database-access/ent/ent/mutation.go:127
↓ 19 callersFunctionstringptr
(x string)
xml-rewrite-carriage-return/xml/marshal_test.go:389
↓ 18 callersMethodEnd
End returns the corresponding XML end element.
xml-rewrite-carriage-return/xml/xml.go:72
↓ 18 callersMethodSetField
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the f
database-access/ent/ent/mutation.go:348
↓ 18 callersMethodToJSON
()
webrtc-data-channel/signaling/proto/proto.go:29
↓ 17 callersMethodExec
Exec calls tx.Exec.
database-access/ent/ent/tx.go:213
↓ 17 callersMethodIsEmpty
()
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:53
↓ 17 callersMethodLookup
(key string)
go1.18-examples/foresight/workspace/raftexample/kvstore.go:58
↓ 16 callersFunctionIsNotFound
IsNotFound returns a boolean indicating whether the error is a not found error.
database-access/ent/ent/ent.go:215
↓ 16 callersMethodPush
(v T)
antlr/tdat/semantic/stack.go:13
↓ 16 callersMethodRead
(data []byte, n int, peek bool)
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:88
↓ 16 callersMethodindents
()
testify-examples/suite/suite_test.go:15
↓ 16 callersFunctionnewVariable
(v string)
antlr/tdat/semantic/semantic_test.go:112
↓ 15 callersFunctionAssertEquals
(t *testing.T, expected, actual interface{})
memcached-proxy-demo/src/iwobi.net/utils/assert/assert.go:46
↓ 15 callersMethodGetToken
()
protobuf/goprotobuf/submit/submit.pb.go:77
↓ 15 callersFunctioncheckErr
(err error)
relational-algebra-examples/create_database/main.go:83
↓ 14 callersMethodEncodeToken
EncodeToken writes the given XML token to the stream. It returns an error if StartElement and EndElement tokens are not properly matched. EncodeToken
xml-rewrite-carriage-return/xml/marshal.go:202
↓ 14 callersMethodSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity. Example: var v []struct
database-access/ent/ent/course_query.go:367
↓ 14 callersMethodToUpper
(context.Context, string)
serviceweaver-examples/httpserver/converter.go:12
↓ 13 callersFunctionAdd
(a, b int)
testify-examples/assert/assert_test.go:11
↓ 13 callersFunctionAdd
(a, b int)
testify-examples/require/require_test.go:11
↓ 13 callersFunctionAssertNotEquals
(t *testing.T, nexpected, actual interface{})
memcached-proxy-demo/src/iwobi.net/utils/assert/assert.go:60
↓ 13 callersMethodExecContext
(context.Context, string, ...interface{})
database-access/sqlc/db/db.go:13
↓ 13 callersMethodID
()
antlr/tdat/parser/tdat_parser.go:584
↓ 13 callersMethodIsFull
()
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:57
↓ 13 callersMethodStart
(s service.Service)
system-service/main.go:117
↓ 13 callersFunctionoutput_arr
ds/utils/utils.c:4
↓ 13 callersMethodungetc
Unread a single byte.
xml-rewrite-carriage-return/xml/xml.go:955
↓ 12 callersMethodCopy
Copy creates a new copy of Comment.
xml-rewrite-carriage-return/xml/xml.go:100
↓ 12 callersMethodDepartmentCleared
DepartmentCleared reports if the "department" edge to the Department entity was cleared.
database-access/ent/ent/mutation.go:200
↓ 12 callersMethodReset
()
protobuf/goprotobuf/submit/submit.pb.go:38
↓ 11 callersMethodCall
(soapAction string, request, response interface{})
go-soap/pkg/myservice/myservice.go:351
↓ 11 callersMethodCopyFrom
(ctx *ResultContext)
antlr/tdat/parser/tdat_parser.go:2208
↓ 11 callersMethodEnterRule
(listener antlr.ParseTreeListener)
antlr/tdat/parser/tdat_parser.go:285
↓ 11 callersMethodExitRule
(listener antlr.ParseTreeListener)
antlr/tdat/parser/tdat_parser.go:291
↓ 11 callersMethodFlush
Flush flushes any buffered XML to the underlying writer. See the EncodeToken documentation for details about when it is necessary.
xml-rewrite-carriage-return/xml/marshal.go:299
↓ 11 callersMethodMutate
Mutate implements the ent.Mutator interface.
database-access/ent/ent/client.go:224
↓ 11 callersMethodOp
Op returns the operation name.
database-access/ent/ent/mutation.go:298
↓ 11 callersMethodPop
()
antlr/tdat/semantic/stack.go:24
↓ 11 callersMethodQuery
Query returns a query builder for Course.
database-access/ent/ent/client.go:327
↓ 11 callersMethodReset
()
grpc-client/grpc-vs-httpjson/codec/proto/message.pb.go:34
↓ 11 callersFunctionprintSliceHeader
(p *[]int)
go-escape-analysis/go/slice.go:51
↓ 11 callersFunctionsovSubmit
(x uint64)
protobuf/gogoprotobuf-slick/submit/submit.pb.go:373
↓ 11 callersFunctionsovSubmit
(x uint64)
protobuf/gogoprotobuf-faster/submit/submit.pb.go:296
↓ 11 callersFunctionsovSubmit
(x uint64)
protobuf/gogoprotobuf-fast/submit/submit.pb.go:306
↓ 11 callersMethodvalue
value returns v's field value corresponding to finfo. It's equivalent to v.FieldByIndex(finfo.idx), but initializes and dereferences pointers as neces
xml-rewrite-carriage-return/xml/typeinfo.go:350
↓ 11 callersFunctionvalue2CDATA
(v string)
wechat_examples/public/3-encryptedtextmsg/recvencryptedtextmsg.go:148
next →1–100 of 5,218, ranked by callers