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
↓ 304 callers
Method
Close
()
go-cache-strategy/internal/database/database.go:23
↓ 257 callers
Method
Error
(...any)
database-access/ent/ent/enttest/enttest.go:21
↓ 229 callers
Method
Fatal
(msg string, fields ...Field)
uber-zap-advanced-usage/demo1/pkg/log/log.go:48
↓ 133 callers
Method
Write
(p []byte)
xml-rewrite-carriage-return/xml/xml_test.go:770
↓ 128 callers
Method
Get
(key string)
go-cache-strategy/internal/cache/cache.go:11
↓ 123 callers
Method
String
()
go1.14-examples/overlapping_interface.go:5
↓ 117 callers
Method
Add
* Adds two integers. This is a test WebService. ©DNE Online */
go-soap/pkg/myservice/myservice.go:111
↓ 82 callers
Method
Set
(key string, value interface{}, ttl time.Duration)
go-cache-strategy/internal/cache/cache.go:10
↓ 81 callers
Method
WriteString
(s string)
go1.10-examples/stdlib/stringsbuilder/builder.go:12
↓ 77 callers
Method
Query
Query calls tx.Query.
database-access/ent/ent/tx.go:218
↓ 68 callers
Method
Done
()
context-examples/with_cancel/custom_cancelctx.go:26
↓ 67 callers
Method
Unmarshal
(dAtA []byte)
protobuf/gogoprotobuf-fast/submit/submit.pb.go:312
↓ 60 callers
Method
Type
()
antlr/tdat/semantic/semantic.go:217
↓ 54 callers
Method
Run
Run method now manages OpenAI message history
code-editing-agent-deepseek/main.go:304
↓ 52 callers
Method
Value
()
antlr/tdat/semantic/semantic.go:218
↓ 51 callers
Method
Dump
()
inside-syncmap/syncmap/sync/map.go:64
↓ 51 callers
Method
Encode
[]byte -> struct
tcp-stream-proto/demo1-with-metrics/pkg/packet/packet.go:37
↓ 51 callers
Method
Read
(p []byte)
xml-rewrite-carriage-return/xml/xml_test.go:287
↓ 50 callers
Method
Field
()
antlr/csv2map/parser/csv_parser.go:612
↓ 50 callers
Function
setContextOp
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 callers
Method
Do
()
writing-go-code-issues/1st-issue/vendor-demo/lib_b/b.go:8
↓ 47 callers
Method
Equal
(that interface{})
protobuf/gogoprotobuf-slick/submit/submit.pb.go:160
↓ 47 callers
Method
Open
(name string)
iofs/gofilefs/gofilefs.go:46
↓ 43 callers
Method
Int
Int returns a single int from a selector. It is only allowed when selecting one field.
database-access/ent/ent/ent.go:380
↓ 43 callers
Method
Marshal
()
protobuf/gogoprotobuf-fast/submit/submit.pb.go:160
↓ 40 callers
Method
Name
Name returns the value of the "name" field in the mutation.
database-access/ent/ent/mutation.go:2157
↓ 37 callers
Method
Create
Create returns a builder for creating a Course entity.
database-access/ent/ent/client.go:264
↓ 36 callers
Method
Err
()
context-examples/with_cancel/custom_cancelctx.go:30
↓ 35 callers
Method
Info
(msg string, fields ...zap.Field)
kafka-clients/zapkafka/log.go:17
↓ 34 callers
Method
Decode
([]byte)
tcp-stream-proto/demo1-with-metrics/pkg/packet/packet.go:36
↓ 33 callers
Method
Save
Save executes the query and returns the number of nodes affected by the update operation.
database-access/ent/ent/course_update.go:105
↓ 33 callers
Method
Write
(data []byte, n int)
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:61
↓ 32 callers
Method
Len
()
generics/stack/stack.go:17
↓ 32 callers
Function
newBinaryOperator
(v string)
antlr/tdat/semantic/semantic_test.go:100
↓ 31 callers
Method
Accept
()
go1.18-examples/foresight/workspace/raftexample/listener.go:38
↓ 30 callers
Method
Dialect
Dialect returns the dialect of the driver we started the transaction from.
database-access/ent/ent/tx.go:199
↓ 30 callers
Method
Scan
Scan applies the selector query and scans the result into the given value.
database-access/ent/ent/course_query.go:662
↓ 27 callers
Method
Load
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 callers
Method
Sync
()
kafka-clients/zapkafka/log.go:21
↓ 26 callers
Method
Where
Where appends a list predicates to the CourseMutation builder.
database-access/ent/ent/mutation.go:283
↓ 25 callers
Method
Append
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 callers
Function
Unmarshal
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 callers
Function
f
()
go17-examples/language/f.go:3
↓ 23 callers
Method
Exec
(in []map[string]interface{})
antlr/tdat/processor.go:10
↓ 23 callers
Function
NewDecoder
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 callers
Method
Token
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 callers
Method
syntaxError
Creates a SyntaxError with the current line number.
xml-rewrite-carriage-return/xml/xml.go:473
↓ 22 callers
Method
Len
()
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:45
↓ 22 callers
Method
mustgetc
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 callers
Method
Avail
()
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:49
↓ 21 callers
Method
Stop
Stop gracefully shuts down the Write-Behind worker.
go-cache-strategy/strategy/writebehind/writebehind.go:172
↓ 20 callers
Function
newLiteral
(v interface{})
antlr/tdat/semantic/semantic_test.go:118
↓ 20 callers
Function
withHooks
withHooks invokes the builder operation with the given hooks, if any.
database-access/ent/ent/ent.go:500
↓ 19 callers
Method
ID
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 callers
Function
stringptr
(x string)
xml-rewrite-carriage-return/xml/marshal_test.go:389
↓ 18 callers
Method
End
End returns the corresponding XML end element.
xml-rewrite-carriage-return/xml/xml.go:72
↓ 18 callers
Method
SetField
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 callers
Method
ToJSON
()
webrtc-data-channel/signaling/proto/proto.go:29
↓ 17 callers
Method
Exec
Exec calls tx.Exec.
database-access/ent/ent/tx.go:213
↓ 17 callers
Method
IsEmpty
()
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:53
↓ 17 callers
Method
Lookup
(key string)
go1.18-examples/foresight/workspace/raftexample/kvstore.go:58
↓ 16 callers
Function
IsNotFound
IsNotFound returns a boolean indicating whether the error is a not found error.
database-access/ent/ent/ent.go:215
↓ 16 callers
Method
Push
(v T)
antlr/tdat/semantic/stack.go:13
↓ 16 callers
Method
Read
(data []byte, n int, peek bool)
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:88
↓ 16 callers
Method
indents
()
testify-examples/suite/suite_test.go:15
↓ 16 callers
Function
newVariable
(v string)
antlr/tdat/semantic/semantic_test.go:112
↓ 15 callers
Function
AssertEquals
(t *testing.T, expected, actual interface{})
memcached-proxy-demo/src/iwobi.net/utils/assert/assert.go:46
↓ 15 callers
Method
GetToken
()
protobuf/goprotobuf/submit/submit.pb.go:77
↓ 15 callers
Function
checkErr
(err error)
relational-algebra-examples/create_database/main.go:83
↓ 14 callers
Method
EncodeToken
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 callers
Method
Select
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 callers
Method
ToUpper
(context.Context, string)
serviceweaver-examples/httpserver/converter.go:12
↓ 13 callers
Function
Add
(a, b int)
testify-examples/assert/assert_test.go:11
↓ 13 callers
Function
Add
(a, b int)
testify-examples/require/require_test.go:11
↓ 13 callers
Function
AssertNotEquals
(t *testing.T, nexpected, actual interface{})
memcached-proxy-demo/src/iwobi.net/utils/assert/assert.go:60
↓ 13 callers
Method
ExecContext
(context.Context, string, ...interface{})
database-access/sqlc/db/db.go:13
↓ 13 callers
Method
ID
()
antlr/tdat/parser/tdat_parser.go:584
↓ 13 callers
Method
IsFull
()
memcached-proxy-demo/src/iwobi.net/utils/ringbuf/ringbuf.go:57
↓ 13 callers
Method
Start
(s service.Service)
system-service/main.go:117
↓ 13 callers
Function
output_arr
ds/utils/utils.c:4
↓ 13 callers
Method
ungetc
Unread a single byte.
xml-rewrite-carriage-return/xml/xml.go:955
↓ 12 callers
Method
Copy
Copy creates a new copy of Comment.
xml-rewrite-carriage-return/xml/xml.go:100
↓ 12 callers
Method
DepartmentCleared
DepartmentCleared reports if the "department" edge to the Department entity was cleared.
database-access/ent/ent/mutation.go:200
↓ 12 callers
Method
Reset
()
protobuf/goprotobuf/submit/submit.pb.go:38
↓ 11 callers
Method
Call
(soapAction string, request, response interface{})
go-soap/pkg/myservice/myservice.go:351
↓ 11 callers
Method
CopyFrom
(ctx *ResultContext)
antlr/tdat/parser/tdat_parser.go:2208
↓ 11 callers
Method
EnterRule
(listener antlr.ParseTreeListener)
antlr/tdat/parser/tdat_parser.go:285
↓ 11 callers
Method
ExitRule
(listener antlr.ParseTreeListener)
antlr/tdat/parser/tdat_parser.go:291
↓ 11 callers
Method
Flush
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 callers
Method
Mutate
Mutate implements the ent.Mutator interface.
database-access/ent/ent/client.go:224
↓ 11 callers
Method
Op
Op returns the operation name.
database-access/ent/ent/mutation.go:298
↓ 11 callers
Method
Pop
()
antlr/tdat/semantic/stack.go:24
↓ 11 callers
Method
Query
Query returns a query builder for Course.
database-access/ent/ent/client.go:327
↓ 11 callers
Method
Reset
()
grpc-client/grpc-vs-httpjson/codec/proto/message.pb.go:34
↓ 11 callers
Function
printSliceHeader
(p *[]int)
go-escape-analysis/go/slice.go:51
↓ 11 callers
Function
sovSubmit
(x uint64)
protobuf/gogoprotobuf-slick/submit/submit.pb.go:373
↓ 11 callers
Function
sovSubmit
(x uint64)
protobuf/gogoprotobuf-faster/submit/submit.pb.go:296
↓ 11 callers
Function
sovSubmit
(x uint64)
protobuf/gogoprotobuf-fast/submit/submit.pb.go:306
↓ 11 callers
Method
value
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 callers
Function
value2CDATA
(v string)
wechat_examples/public/3-encryptedtextmsg/recvencryptedtextmsg.go:148
next →
1–100 of 5,218, ranked by callers