MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 3 callersMethoddecodeValue
(tp byte, data []byte)
sql/myreplicator/json_binary.go:96
↓ 3 callersMethoddo
(combined bool, r *http.Request)
net/auth/scopedConfig.go:149
↓ 3 callersFunctiondotPositions
dotPositions returns the position of the dots within the token slice and if the amount of dots are valid for a JWT.
util/csjwt/parser.go:209
↓ 3 callersFunctionencodeVarint
(dAtA []byte, offset int, v uint64)
sql/urlvalues/urlvaluesproto/values_vtproto.pb.go:115
↓ 3 callersMethodexec
(exec1 dml.Execer)
sql/ddl/tables.go:66
↓ 3 callersFunctionextractJTI
extractJTI returns the token ID
net/jwt/jti.go:37
↓ 3 callersFunctionextractSQLIDPrefix
(rawSQL string)
sql/dml/connection.go:517
↓ 3 callersMethodflushBuf
flushBuf replaces the typographical symbol sign with the real sign.
i18n/currency.go:270
↓ 3 callersMethodfromCookie
fromCookie extracts a store from a cookie using the field name FieldName as an identifier.
net/runmode/code.go:92
↓ 3 callersMethodfullName
(gender string)
util/pseudo/names.go:138
↓ 3 callersMethodgetCacheFileName
(key string)
storage/objcache/file.go:208
↓ 3 callersFunctiongrpcServer
(t *testing.T, port string, or config.ObserverRegisterer, stop <-chan struct{})
config/observer/proto_test.go:81
↓ 3 callersFunctionhashSQL
hashSQL removes spaces and transforms the SQL to all lowercase and hashes it, to avoid minor duplicates ... maybe that is not worth. refactor later.
sql/dml/connection.go:668
↓ 3 callersFunctioniFaceToArgs
(args []any, values ...any)
sql/dml/argument.go:745
↓ 3 callersMethodinitKeyFunc
initKeyFunc generates a closure for a specific scope to compare if the algorithm in the token matches with the current algorithm.
net/jwt/scopedConfig.go:134
↓ 3 callersFunctionisConvertibleType
(k reflect.Kind)
util/pseudo/fake.go:651
↓ 3 callersFunctionisTest
Stolen from the `go test` tool. isTest tells whether name looks like a test (or benchmark, according to prefix). It is a Test (say) if there is a char
util/assert/assertions.go:151
↓ 3 callersMethodisValid
isValid check if the scoped configuration is valid when: - Authenticator - UnauthorizedHandler has been set and no other previous error has occurr
net/auth/scopedConfig.go:60
↓ 3 callersMethodisValid
isValid a configuration for a scope is only then valid when several fields are not empty: HeaderParseWriter and AllowedMethods OR disabled for current
net/signed/scopedConfig.go:96
↓ 3 callersMethodisValid
isValid returns nil if the scoped configuration os valid otherwise a detailed error.
net/internal/scopedservice/service_mock.go:46
↓ 3 callersMethodisValid
isValid a configuration for a scope is only then valid when - ScopeID set - min 1x allowedMethods set - Logger not nil
net/cors/scopedConfig.go:61
↓ 3 callersMethodisValid
isValid a configuration for a scope is only then valid when the Key has been supplied, a non-nil signing method and a non-nil Verifier.
net/geoip/scopedConfig.go:58
↓ 3 callersMethodisValid
isValid a configuration for a scope is only then valid when several fields are not empty: RateLimiter, DeniedHandler and VaryByer.
net/ratelimit/scopedConfig.go:59
↓ 3 callersMethodisValid
(val string)
config/observer/validator.go:193
↓ 3 callersFunctionmakeSample
(c jwtclaim.Map)
util/csjwt/parser_test.go:128
↓ 3 callersFunctionmakeSample
(c jwtclaim.Map)
util/csjwt/jwthttp/request_test.go:18
↓ 3 callersMethodmoveToFront
(element *list.Element)
storage/lru/lru_cache.go:261
↓ 3 callersFunctionmustCheckCloseErr
(c io.Closer)
store/codegen_main.go:127
↓ 3 callersFunctionmustCheckCloseErr
(c io.Closer)
config/storage/db_client_main.go:84
↓ 3 callersFunctionmustGetTypeDef
(mysqlDataType, serializer string)
sql/dmlgen/typemap.go:382
↓ 3 callersFunctionnewHSFast
(a string, h crypto.Hash, key Key)
util/csjwt/hmac_fast_sha.go:34
↓ 3 callersFunctionnewLID
(id int64, err error)
sql/dmltest/connect_test.go:74
↓ 3 callersFunctionnewNullTypedRecordWithData
()
storage/null/null_pub_test.go:208
↓ 3 callersFunctionnewScopedConfig
(target, parent scope.TypeID)
net/internal/scopedservice/service_mock.go:50
↓ 3 callersFunctionnewSigningMethodECDSA
(n string, h crypto.Hash, keySize, curveBits int)
util/csjwt/ecdsa.go:21
↓ 3 callersFunctionnewSigningMethodHMAC
(n string, h crypto.Hash)
util/csjwt/hmac_sha.go:17
↓ 3 callersFunctionnewSigningMethodRSA
(n string, h crypto.Hash)
util/csjwt/rsa.go:17
↓ 3 callersFunctionnewSigningMethodRSAPSS
(n string, h crypto.Hash)
util/csjwt/rsa_pss.go:18
↓ 3 callersFunctionnewTestCanal
(t *testing.T)
sql/mycanal/canal_pub_test.go:126
↓ 3 callersFunctionparseDateTime
(str string, loc *time.Location)
config/value.go:577
↓ 3 callersMethodparseSingleEvent
(r io.Reader, onEvent OnEventFunc)
sql/myreplicator/parser.go:99
↓ 3 callersFunctionparseTimeString
(s string)
sql/urlvalues/values.go:128
↓ 3 callersMethodpatronymic
(gender string)
util/pseudo/names.go:49
↓ 3 callersMethodpoolGetRawItems
()
storage/objcache/service.go:196
↓ 3 callersMethodpoolPutRawItems
(ri *rawItems[K])
storage/objcache/service.go:200
↓ 3 callersMethodprepare
()
sql/myreplicator/binlogsyncer.go:337
↓ 3 callersFunctionprocessFile
(file string, s *config.Service, cb func(config.Setter, io.Reader) error)
config/storage/options.go:31
↓ 3 callersMethodqualifier
qualifier returns the correct qualifier for an identifier
sql/dml/naming.go:91
↓ 3 callersMethodreset
()
sql/dml/argument_encoder.go:88
↓ 3 callersFunctionrunHTTPTestCases
(t *testing.T, h http.Handler, cs []httpTestCase)
net/ratelimit/service_test.go:282
↓ 3 callersMethodsetColumns
(cols []string)
sql/dml/mapper.go:108
↓ 3 callersFunctionsov
(x uint64)
storage/null/vtproto.go:31
↓ 3 callersFunctionstrInSlice
(search string, sl []string)
sql/dml/insert.go:359
↓ 3 callersMethodstring
when needed func (d Decimal) AppendString(b []byte) []byte { buf := bytes.NewBuffer(b) d.string(buf) return buf.Bytes() }
storage/null/decimal.go:249
↓ 3 callersFunctiontestBackendConfiguration
( t *testing.T, httpRequestURL string, pv cfgmock.PathValue, assertResponse func(*httptest.ResponseRecorder
net/ratelimit/backendratelimit/integration_test.go:154
↓ 3 callersFunctiontestBackend_WithGeoIP2Webservice_Redis
( hcf func() *http.Client, finalHandler func(t *testing.T) http.Handler, wantCode int, )
net/geoip/maxmindwebservice/options_test.go:96
↓ 3 callersFunctiontestCountry
(p *objcache.Service[string], key string)
storage/objcache/internal/testing.go:167
↓ 3 callersMethodtestPositionSync
(tst *testing.T)
sql/myreplicator/replication_test.go:321
↓ 3 callersFunctiontestStoreSlice
(p *objcache.Service[string], key string)
storage/objcache/internal/testing.go:207
↓ 3 callersMethodupdate
update recalculates the internal cached columns
sql/ddl/table.go:181
↓ 3 callersFunctionwithContext
withContext creates a new context with csjwt.Token attached.
net/jwt/context.go:30
↓ 3 callersFunctionwriteBytes
(w *bytes.Buffer, p []byte)
sql/dml/builder.go:279
↓ 3 callersFunctionwriteFile
(outFile string, wFn func(io.Writer, io.Writer) error)
store/codegen_main.go:103
↓ 3 callersFunctionwriteLabeledBool
(buf *bytes.Buffer, label string)
storage/null/decimal.go:355
↓ 3 callersFunctionwriteMarshal
(buf *bytes.Buffer, m func() ([]byte, error))
storage/objcache/service.go:69
↓ 3 callersMethodwriteOnDuplicateKey
(buf *bytes.Buffer, placeHolders []string)
sql/dml/insert.go:334
↓ 2 callersMethodAlg
Alg returns the alg identifier for this method (example: 'HS256')
util/csjwt/signing_method.go:30
↓ 2 callersMethodAll
All applies DefaultID, WebsiteID and StoreID scopes
store/scope/perm.go:66
↓ 2 callersMethodAll
All returns true if all of the int64s in the slice satisfy the predicate f.
util/slices/int64.go:98
↓ 2 callersMethodAll
All returns true if all of the strings in the slice satisfy the predicate f.
util/slices/string.go:96
↓ 2 callersMethodAllow
Allow only columnName__operators are allowed
sql/urlvalues/url_filter.go:45
↓ 2 callersMethodAny
Any returns true if one of the int64s in the slice satisfies the predicate f.
util/slices/int64.go:88
↓ 2 callersMethodAny
Any returns true if one of the strings in the slice satisfies the predicate f.
util/slices/string.go:86
↓ 2 callersMethodAppendFields
AppendFields adds 0..n *Fields. Path must have at least two path parts like a/b more path parts gets ignored. Returns as index the new length of the F
config/elements.go:286
↓ 2 callersMethodAppendHuman
AppendHuman appends to dst the human textual representation of a Websites or Stores scope and their IDs. Default, Group and invalid scopes won't get a
store/scope/typeid.go:98
↓ 2 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
util/naughtystrings/internal/resource.go:1266
↓ 2 callersFunctionAssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data
util/pseudo/bindata.go:6368
↓ 2 callersFunctionAsync
Async runs the given functions asynchronous. It returns all errors, if there are. The channel gets closed once all functions are done.
sync/bgwork/async.go:7
↓ 2 callersMethodAuthFuncOverride
(ctx context.Context, fullMethodName string)
net/csgrpc/server.go:58
↓ 2 callersMethodAuthenticate
Authenticate validates if a request is allowed to pass.
net/auth/scopedConfig.go:83
↓ 2 callersMethodBinary
Binary allows to encode an object to its binary representation when arguments are requested and to decode a byte slice into its object when data is re
sql/dml/mapper.go:1155
↓ 2 callersMethodBool
Bool reads a bool value and appends it to the arguments slice or assigns the bool value stored in sql.RawBytes to the pointer. See the documentation f
sql/dml/mapper.go:330
↓ 2 callersMethodBytes
()
sql/dmltype/number.go:136
↓ 2 callersMethodCSetOptions
CSetOptions applies currency options and returns the last applied previous option function. For more details please read here http://commandcenter.blo
i18n/currency.go:222
↓ 2 callersMethodCity
City generates random city
util/pseudo/addresses.go:21
↓ 2 callersMethodClear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1089
↓ 2 callersMethodClear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1633
↓ 2 callersMethodClear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:3345
↓ 2 callersMethodClear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:3942
↓ 2 callersMethodClear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4359
↓ 2 callersMethodClear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:525
↓ 2 callersMethodClear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1391
↓ 2 callersMethodClear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1867
↓ 2 callersMethodClearCache
ClearCache clears the internal map storing all scoped configurations. You must reapply all functional options. TODO(CyS) all previously applied option
net/internal/scopedservice/service_generic.go:118
↓ 2 callersMethodClone
Clone creates a clone of the current object, leaving fields DB and Log untouched.
sql/dml/update.go:157
↓ 2 callersMethodClone
Clone creates a clone of the current object, leaving fields DB and Log untouched.
sql/dml/delete.go:250
↓ 2 callersMethodClone
()
sql/dml/naming.go:149
↓ 2 callersMethodClone
Clone creates a clone of the current object.
sql/dml/condition.go:160
↓ 2 callersMethodClone
Clone creates a clone of the current object, leaving fields DB and Log untouched.
sql/dml/select.go:480
↓ 2 callersMethodClose
Close closes all underlying connections
sql/mycanal/canal.go:434
← previousnext →1,101–1,200 of 7,620, ranked by callers