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
↓ 10 callers
Method
All
All executes the query and returns a list of Courses.
database-access/ent/ent/course_query.go:211
↓ 10 callers
Function
NewEncoder
NewEncoder returns a new encoder that writes to w.
xml-rewrite-carriage-return/xml/marshal.go:141
↓ 10 callers
Method
Panic
(msg string, fields ...Field)
uber-zap-advanced-usage/demo1/pkg/log/log.go:45
↓ 10 callers
Method
Unmarshal
(dAtA []byte)
grpc-client/grpc-vs-httpjson/codec/proto/message.pb.go:195
↓ 10 callers
Function
avl_tree_levelorder_traverse
ds/search/avl/avl.c:106
↓ 10 callers
Function
fnvUint64
(h uint64, x uint64)
hash-based-bisect/bisect-demo/bisect/bisect.go:506
↓ 10 callers
Function
scanWithInterceptors
(ctx context.Context, rootQuery Q1, selectOrGroup Q2, inters []Interceptor, v any)
database-access/ent/ent/ent.go:581
↓ 10 callers
Function
swap
ds/utils/utils.c:20
↓ 10 callers
Function
writeDataToFile
(fileName string, data []byte)
tls-certs-binding/make_certs/main.go:157
↓ 9 callers
Method
DepartmentID
DepartmentID returns the "department" edge ID in the mutation.
database-access/ent/ent/mutation.go:205
↓ 9 callers
Method
DepartmentIDs
DepartmentIDs returns the "department" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use Depar
database-access/ent/ent/mutation.go:215
↓ 9 callers
Method
Exist
Exist returns true if the query has elements in the graph.
database-access/ent/ent/course_query.go:269
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
database-access/ent/ent/client.go:382
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
database-access/ent/ent/client.go:563
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
database-access/ent/ent/client.go:728
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
database-access/ent/ent/client.go:877
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
database-access/ent/ent/client.go:1042
↓ 9 callers
Method
Init
Init initializes or clears queue q.
queue-with-select/safe-queue1/queueimpl7.go:79
↓ 9 callers
Method
Store
Store sets the value for a key.
inside-syncmap/syncmap/sync/map.go:164
↓ 9 callers
Method
Year
Year returns the value of the "year" field in the mutation.
database-access/ent/ent/mutation.go:1260
↓ 9 callers
Function
avl_tree_remove_node
ds/search/avl/avl.c:89
↓ 9 callers
Function
encodeVarintSubmit
(dAtA []byte, offset int, v uint64)
protobuf/gogoprotobuf-slick/submit/submit.pb.go:318
↓ 9 callers
Function
encodeVarintSubmit
(dAtA []byte, offset int, v uint64)
protobuf/gogoprotobuf-faster/submit/submit.pb.go:241
↓ 9 callers
Function
encodeVarintSubmit
(dAtA []byte, offset int, v uint64)
protobuf/gogoprotobuf-fast/submit/submit.pb.go:248
↓ 8 callers
Method
EnrollmentsCleared
EnrollmentsCleared reports if the "enrollments" edge to the Enrollment entity was cleared.
database-access/ent/ent/mutation.go:244
↓ 8 callers
Method
Foo
()
go19-examples/typealias/typealias-interface.go:4
↓ 8 callers
Method
GetName
()
caddy-examples/rpc/proto/greeting.pb.go:62
↓ 8 callers
Method
GetUser
(ctx context.Context, userID string)
go-cache-strategy/internal/database/database.go:18
↓ 8 callers
Function
Marshal
Marshal returns the XML encoding of v. Marshal handles an array or slice by marshaling each of the elements. Marshal handles a pointer by marshaling
xml-rewrite-carriage-return/xml/marshal.go:79
↓ 8 callers
Function
NewDepartmentClient
NewDepartmentClient returns a client for the Department from the given config.
database-access/ent/ent/client.go:412
↓ 8 callers
Method
Semester
Semester returns the value of the "semester" field in the mutation.
database-access/ent/ent/mutation.go:1223
↓ 8 callers
Method
SetName
SetName sets the "name" field.
database-access/ent/ent/mutation.go:2152
↓ 8 callers
Method
Shutdown
(waitTimeout time.Duration)
writing-go-code-issues/2nd-issue/timeoutexit-demo/shutdown.go:10
↓ 8 callers
Method
Stop
(s service.Service)
system-service/main.go:121
↓ 8 callers
Method
Title
Title returns the value of the "title" field in the mutation.
database-access/ent/ent/mutation.go:159
↓ 8 callers
Method
Update
Update returns a builder for updating this Course. Note that you need to call Course.Unwrap() before calling this method if this Course was returned f
database-access/ent/ent/course.go:131
↓ 8 callers
Function
benchmark
benchmark an implementation of the Counter interface
concurrency-costs/main_test.go:19
↓ 8 callers
Function
dumpOperationResult
(operation string, rows *sql.Rows)
relational-algebra-examples/query/main.go:199
↓ 8 callers
Function
enqueue
ds/queue/queue.c:42
↓ 8 callers
Function
newUnaryOperator
(v string)
antlr/tdat/semantic/semantic_test.go:106
↓ 8 callers
Function
writeDataToFile
(fileName string, data []byte)
authn-examples/tls-authn/make_certs/main.go:133
↓ 7 callers
Method
Bind
Bind chains IO operations, allowing for type changes
fp-in-go/side-effect/io-monad/main.go:20
↓ 7 callers
Method
Bool
Bool returns a single bool from a selector. It is only allowed when selecting one field.
database-access/ent/ent/ent.go:474
↓ 7 callers
Method
Encode
Encode writes the XML encoding of v to the stream. See the documentation for Marshal for details about the conversion of Go values to XML. Encode ca
xml-rewrite-carriage-return/xml/marshal.go:161
↓ 7 callers
Method
Indent
Indent sets the encoder to generate XML in which each element begins on a new indented line that starts with prefix and is followed by one or more cop
xml-rewrite-carriage-return/xml/marshal.go:150
↓ 7 callers
Method
M1
()
go-exported-identifiers/generics/main.go:9
↓ 7 callers
Method
Marshal
()
grpc-client/grpc-vs-httpjson/codec/proto/message.pb.go:106
↓ 7 callers
Function
NewCourseClient
NewCourseClient returns a client for the Course from the given config.
database-access/ent/ent/client.go:247
↓ 7 callers
Function
NewEnrollmentClient
NewEnrollmentClient returns a client for the Enrollment from the given config.
database-access/ent/ent/client.go:593
↓ 7 callers
Function
NewStudentClient
NewStudentClient returns a client for the Student from the given config.
database-access/ent/ent/client.go:907
↓ 7 callers
Method
Offset
Offset to start from.
database-access/ent/ent/course_query.go:48
↓ 7 callers
Function
Parse
(rb *ringbuf.RingBuf)
memcached-proxy-demo/src/iwobi.net/proto/proto.go:40
↓ 7 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/enrollment_query.go:366
↓ 7 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/department_query.go:402
↓ 7 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/instructor_query.go:330
↓ 7 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/student_query.go:367
↓ 7 callers
Method
SetLeftChild
(Tree)
antlr/tdat/semantic/semantic.go:210
↓ 7 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
database-access/ent/ent/course_query.go:55
↓ 7 callers
Function
checkError
(err error)
authn-examples/tls-authn/make_certs/main.go:127
↓ 7 callers
Function
checkError
(err error)
tls-certs-binding/make_certs/main.go:151
↓ 7 callers
Function
checkError
(err error)
app-licensing/make_certs/main.go:100
↓ 7 callers
Method
init
()
database-access/ent/ent/client.go:50
↓ 7 callers
Method
prepareQuery
(ctx context.Context)
database-access/ent/ent/department_query.go:415
↓ 7 callers
Function
sovPublish
(x uint64)
grpc-client/grpc-vs-httpjson/protocol/grpc/proto/publish.pb.go:392
↓ 7 callers
Function
trace
()
trace-function-call-chain/trace3/trace.go:21
↓ 7 callers
Function
trace
()
trace-function-call-chain/trace4/trace.go:33
↓ 6 callers
Method
All
All executes the query and returns a list of Departments.
database-access/ent/ent/department_query.go:234
↓ 6 callers
Method
Client
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
database-access/ent/ent/mutation.go:108
↓ 6 callers
Method
Decode
Decode works like Unmarshal, except it reads the decoder stream to find the start element.
xml-rewrite-carriage-return/xml/read.go:138
↓ 6 callers
Method
Delete
(key string)
go-cache-strategy/internal/cache/cache.go:12
↓ 6 callers
Method
Descriptor
()
protobuf/goprotobuf/submit/submit.pb.go:41
↓ 6 callers
Method
EnrollmentsIDs
EnrollmentsIDs returns the "enrollments" edge IDs in the mutation.
database-access/ent/ent/mutation.go:268
↓ 6 callers
Method
GetParent
()
antlr/tdat/semantic/semantic.go:207
↓ 6 callers
Method
Limit
Limit the number of records to be returned by this query.
database-access/ent/ent/enrollment_query.go:41
↓ 6 callers
Method
Limit
Limit the number of records to be returned by this query.
database-access/ent/ent/department_query.go:43
↓ 6 callers
Method
Limit
Limit the number of records to be returned by this query.
database-access/ent/ent/instructor_query.go:39
↓ 6 callers
Method
Limit
Limit the number of records to be returned by this query.
database-access/ent/ent/student_query.go:42
↓ 6 callers
Method
Limit
Limit the number of records to be returned by this query.
database-access/ent/ent/course_query.go:42
↓ 6 callers
Function
NewIO
NewIO creates a new IO monad
fp-in-go/side-effect/io-monad/main.go:15
↓ 6 callers
Function
NewInstructorClient
NewInstructorClient returns a client for the Instructor from the given config.
database-access/ent/ent/client.go:758
↓ 6 callers
Method
Only
Only returns a single Course entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Course entity is
database-access/ent/ent/course_query.go:158
↓ 6 callers
Function
ParseTime
(str string)
xml-rewrite-carriage-return/xml/atom_test.go:44
↓ 6 callers
Method
Reverse
(context.Context, string)
serviceweaver-examples/httpserver/reverser.go:11
↓ 6 callers
Method
Schema
()
appdash_examples/frontservice/frontservice.go:22
↓ 6 callers
Method
Send
(*RequestMessage)
grpc-test-examples/grpctest/mygrpc/mygrpc.pb.go:229
↓ 6 callers
Method
SetDepartment
SetDepartment sets the "department" edge to the Department entity.
database-access/ent/ent/course_update.go:53
↓ 6 callers
Method
Skip
Skip reads tokens until it has consumed the end element matching the most recent start element already consumed. It recurs if it encounters a start el
xml-rewrite-carriage-return/xml/read.go:741
↓ 6 callers
Method
Strings
Strings returns list of strings from a selector. It is only allowed when selecting one field.
database-access/ent/ent/ent.go:312
↓ 6 callers
Method
TableName
()
database-singleton/pkg/model/employee.go:11
↓ 6 callers
Method
Where
Where adds a new predicate for the DepartmentQuery builder.
database-access/ent/ent/department_query.go:37
↓ 6 callers
Function
bToMb
(b uint64)
unique-examples/effect_with_unique.go:48
↓ 6 callers
Function
bToMb
(b uint64)
unique-examples/effect_without_unique.go:47
↓ 6 callers
Function
bst_levelorder_traverse
* according to level order * output nil for empty subtree node */
ds/search/bst/bst.c:229
↓ 6 callers
Function
checkColumn
columnChecker checks if the column exists in the given table.
database-access/ent/ent/ent.go:77
↓ 6 callers
Function
equal
(expected, actual interface{})
memcached-proxy-demo/src/iwobi.net/utils/assert/assert.go:26
↓ 6 callers
Function
errorPosition
(skip int)
memcached-proxy-demo/src/iwobi.net/utils/assert/assert.go:17
↓ 6 callers
Method
flushBatchToDB
flushBatchToDB writes a batch of users to the database.
go-cache-strategy/strategy/writebehind/writebehind.go:153
↓ 6 callers
Method
init
()
database-access/ent/ent/tx.go:155
↓ 6 callers
Function
is_queue_empty
ds/queue/queue.c:81
↓ 6 callers
Method
prepareQuery
(ctx context.Context)
database-access/ent/ent/enrollment_query.go:379
← previous
next →
101–200 of 5,218, ranked by callers