MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 10 callersMethodappendUint64
(i uint64)
sql/dml/argument_encoder.go:138
↓ 10 callersFunctionassertNullTime
(t *testing.T, ti Time, from string)
storage/null/time_test.go:232
↓ 10 callersFunctionforEachValue
(b dml.Conditions, field string, values []string, opValue dml.Op)
sql/urlvalues/url_filter.go:153
↓ 10 callersFunctiongetReq
(accept string)
net/request/accept_test.go:26
↓ 10 callersMethodjoin
(j string, t id, on ...*Condition)
sql/dml/builder.go:150
↓ 10 callersFunctionmustNewTables
(ctx context.Context, opts ...ddl.TableOption)
config/storage/db_client_test.go:38
↓ 10 callersFunctionsovService
(x uint64)
store/service.pb.go:1252
↓ 10 callersMethodtestWithArgs
(args ...any)
sql/dml/dbr.go:388
↓ 10 callersMethodwriteQuoted
writeQuoted writes the quoted table and its maybe alias into w.
sql/dml/naming.go:115
↓ 9 callersMethodAddOnDuplicateKey
AddOnDuplicateKey has some hidden features for best flexibility. You can only set the Columns itself to allow the following SQL construct: `columnA`
sql/dml/insert.go:180
↓ 9 callersMethodAllowedStores
(ctx context.Context, in *ProtoRunModeRequest, opts ...grpc.CallOption)
store/service.pb.go:372
↓ 9 callersMethodChain
Chain will iterate over all middleware functions, calling them one by one in a chained manner, returning the result of the final middleware.
net/mw/middleware.go:52
↓ 9 callersMethodDriverValue
DriverValue packs the types of subsequent Valuer into its own slice. All Valuer arguments must have the same type. E.g. int,int,int as Valuer argument
sql/dml/interpolate.go:245
↓ 9 callersMethodDuration
(name string)
sql/urlvalues/values.go:102
↓ 9 callersMethodEqual
Equal compares case sensitive the value of key with the `expected`.
sql/ddl/variables.go:113
↓ 9 callersMethodIn
In Indents the output one tab stop.
util/codegen/common.go:152
↓ 9 callersMethodIsPK
IsPK checks if column is a primary key
sql/ddl/columns.go:497
↓ 9 callersMethodIsValid
IsValid checks if the type is within the scope Default, Website, Group or Store.
store/scope/type.go:121
↓ 9 callersMethodLeftJoin
LeftJoin creates a LEFT join construct. By default, the onConditions are glued together with AND.
sql/dml/delete.go:92
↓ 9 callersMethodLevel
Level returns a hierarchical based route depending on the depth. The depth argument defines the depth of levels to be returned. Depth 1 will return th
config/path.go:543
↓ 9 callersMethodMarshalTo
(dAtA []byte)
store/entities_gen.pb.go:242
↓ 9 callersFunctionMustNew
MustNew same as New() but panics on error. Use only during app start up process.
net/ratelimit/service_generic.go:87
↓ 9 callersMethodNotBetween
()
sql/dml/condition.go:391
↓ 9 callersMethodNotIn
()
sql/dml/condition.go:381
↓ 9 callersMethodOptions
Options applies options to the Tables service.
sql/ddl/tables.go:450
↓ 9 callersMethodParentID
ParentID tells you the parent underlying scope and its ID. Store falls back to website and website falls back to default.
config/service.go:521
↓ 9 callersMethodPrepareOptionFactory
PrepareOptionFactory creates a closure around the type Backend. The closure will be used during a scoped request to figure out the configuration depen
net/geoip/backendgeoip/options.go:27
↓ 9 callersMethodReset
Reset sets all fields to the zero value for pointer reuse.
config/path.go:467
↓ 9 callersMethodScopeRoute
ScopeRoute returns the assigned scope and its ID and the route.
config/path.go:618
↓ 9 callersMethodSet
(key []byte, src interface{})
net/geoip/maxmindwebservice/webservice.go:34
↓ 9 callersMethodTables
Tables returns a random list of all available table names. It can append the names to the argument slice.
sql/ddl/tables.go:498
↓ 9 callersMethodTime
Time parses a MySQL/MariaDB like time format: "2006-01-02 15:04:05.999999999 07:00" up to 35 places supports. Minimal format must be a year, e.g. 2006
config/value.go:466
↓ 9 callersMethodValidParent
ValidParent validates if the parent Type is within the hierarchical chain: default -> website -> store. Returns also true when parent is zero.
store/scope/typeid.go:196
↓ 9 callersMethodVerify
Verify returns nil if signature is valid
util/csjwt/signing_method.go:26
↓ 9 callersFunctionencodeVarintService
(dAtA []byte, offset int, v uint64)
store/service.pb.go:1139
↓ 9 callersMethodfindScopedConfig
findScopedConfig used in functional options to look up if a parent configuration exists and if not creates a newScopedConfig(). The scope.DefaultTypeI
net/signed/service_generic.go:327
↓ 9 callersFunctionmakeCachedSQL
(qb QueryBuilder, rawSQL, id string)
sql/dml/dbr.go:102
↓ 9 callersFunctionnewScopedConfig
(target, parent scope.TypeID)
net/jwt/scopedConfig.go:154
↓ 9 callersMethodnextUnnamedArg
nextUnnamedArg returns an unnamed argument by its position.
sql/dml/dbr.go:754
↓ 9 callersMethodquery
(ctx context.Context, args []any)
sql/dml/dbr.go:1331
↓ 9 callersMethodrandGender
()
util/pseudo/names.go:3
↓ 9 callersMethodupdateScopedConfig
updateScopedConfig used in functional options to store a scoped configuration in the internal cache. This function gets called in a function option at
net/signed/service_generic.go:359
↓ 8 callersMethodBool
Bool returns for a given key its bool value. If the key does not exists or string parsing into bool fails, it returns false. Only allowed bool values
sql/ddl/variables.go:83
↓ 8 callersMethodBytesSlice
(p ...[]byte)
sql/dml/interpolate.go:219
↓ 8 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:1019
↓ 8 callersMethodConfigByScope
ConfigByScope creates a new scoped configuration depending on the Service.useWebsite flag. If useWebsite==true the scoped configuration contains only
net/internal/scopedservice/service_generic.go:149
↓ 8 callersMethodConfigByScopeID
ConfigByScopeID returns the correct configuration for a scope and may fall back to the next higher scope: store -> website -> default. If `current` Ty
net/internal/scopedservice/service_generic.go:260
↓ 8 callersMethodConstantTimeCompare
ConstantTimeCompare compares in a constant time manner data with the underlying value retrieved from the config service. Useful for passwords and othe
config/value.go:610
↓ 8 callersMethodCopy
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
sql/dmlgen/dmltestgenerated/output_gen.go:3046
↓ 8 callersMethodDeregisterObserver
(event uint8, route string)
config/service.go:65
↓ 8 callersMethodDial
Dial initiates the connection to the mail server.
email/daemon.go:62
↓ 8 callersMethodDistinct
Distinct marks the statement at a DISTINCT SELECT. It specifies removal of duplicate rows from the result set.
sql/dml/select.go:84
↓ 8 callersMethodDump
Dump Event, format like python-mysql-replication
sql/myreplicator/event.go:41
↓ 8 callersMethodFilter
Filter filters the columns by predicate f and appends the column pointers to the optional argument `cols`.
sql/ddl/columns.go:153
↓ 8 callersMethodID
ID returns the underlying assigned ID. If the ID overflows the MaxID or is smaller than zero then it returns 0.
store/scope/typeid.go:185
↓ 8 callersMethodIn
In checks if test IP lies within the range.
net/ranges.go:56
↓ 8 callersMethodIsAllowedStoreID
(ctx context.Context, in *ProtoIsAllowedStoreIDRequest, opts ...grpc.CallOption)
store/service.pb.go:368
↓ 8 callersMethodIsValid
()
storage/objcache/options.go:143
↓ 8 callersFunctionMakePathWithScope
MakePathWithScope creates a new validate Path with a custom scope.
config/path.go:196
↓ 8 callersMethodMarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
sql/dmlgen/dmltestgenerated/dmltestgenerated_easyjson.go:1373
↓ 8 callersFunctionNewValidateMinMaxInt
NewValidateMinMaxInt creates a new observer to check if a value is contained between min and max values. Argument MinMax must be balanced slice.
config/observer/validator.go:268
↓ 8 callersMethodNotNull
()
sql/dml/condition.go:371
↓ 8 callersMethodOpen
wrapper
net/response/response_test.go:267
↓ 8 callersMethodPaginate
Paginate sets LIMIT/OFFSET for the statement based on the given page/perPage Assumes page/perPage are valid. Page and perPage must be >= 1
sql/dml/dbr.go:352
↓ 8 callersMethodParseFromRequest
ParseFromRequest parses a request to find a token in either the header, a cookie or an HTML form.
net/jwt/scopedConfig.go:102
↓ 8 callersMethodPlaceHolders
PlaceHolders treats a condition as a string with multiple placeholders. Sets the database specific placeholder character "?" as many times as specifie
sql/dml/condition.go:523
↓ 8 callersMethodQuery
(args []driver.Value)
sql/dml/connection_callback.go:265
↓ 8 callersMethodRead
(p []byte)
net/signed/service_mw_test.go:579
↓ 8 callersMethodScan
Scan implements the Scanner interface. Approx. >3x times faster than database/sql.convertAssign
storage/null/uint16.go:60
↓ 8 callersMethodScan
Scan implements the Scanner interface. Approx. >3x times faster than database/sql.convertAssign
storage/null/uint64.go:58
↓ 8 callersMethodScan
Scan implements the Scanner interface. The value type must be time.Time or string / []byte (formatted time-string), otherwise Scan fails. It supports
storage/null/time_mysql.go:44
↓ 8 callersMethodScan
Scan implements the Scanner interface. Approx. >3x times faster than database/sql.convertAssign
storage/null/uint32.go:60
↓ 8 callersMethodScan
Scan implements the Scanner interface. Approx. >3x times faster than database/sql.convertAssign
storage/null/uint8.go:60
↓ 8 callersMethodSign
Sign returns encoded signature or error
util/csjwt/signing_method.go:28
↓ 8 callersMethodStop
Stop terminates the ticker goroutine and closes the C channel.
util/cstime/time.go:106
↓ 8 callersMethodSumHex
SumHex writes the hashed data into the hex encoder.
util/hashpool/hashpool.go:63
↓ 8 callersMethodTable
Table returns the structure from a map m by a giving index i. What is the reason to use int as the table index and not a name? Because table names bet
sql/ddl/tables.go:477
↓ 8 callersFunctionToInt
(i interface{})
util/conv/cast.go:35
↓ 8 callersMethodUint64
Uint64 converts the underlying converted data into the final type.
config/value.go:411
↓ 8 callersMethodUnmarshalBinary
UnmarshalBinary decodes input bytes into a valid Path. Implements encoding.BinaryUnmarshaler.
config/path.go:528
↓ 8 callersMethodUnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
sql/dmlgen/dmltestgenerated/dmltestgenerated_easyjson.go:1385
↓ 8 callersMethodUnmarshalText
UnmarshalText transforms the text into a route with performed validation checks. Implements encoding.TextUnmarshaler. Error behaviour: NotValid, Empty
config/path.go:487
↓ 8 callersMethodValidate
Validate runs internal consistency tests on all items.
sql/dmlgen/dmltestgenerated/output_gen.go:4753
↓ 8 callersMethodValue
Value returns the underlying value as a string
config/_cfgsource/pair.go:56
↓ 8 callersMethodWithUseStorageLevel
WithUseStorageLevel executes the current Load function in storage level one. Argument level can either be 1 or 2. Any other integer value falls back t
config/options.go:92
↓ 8 callersFunctionaddTokenToIncomingContext
(ctx context.Context, token string)
net/csgrpc/auth/service_test.go:168
↓ 8 callersMethodappendBool
(b bool)
sql/dml/argument_encoder.go:180
↓ 8 callersFunctionassertFloat64
(t *testing.T, f Float64, from string)
storage/null/float64_test.go:225
↓ 8 callersFunctionassertInt64
(t *testing.T, i Int64, from string)
storage/null/int64_test.go:262
↓ 8 callersMethodgoTypeNull
(c *ddl.Column)
sql/dmlgen/typemap.go:412
↓ 8 callersFunctioninstallFixtures
(t testing.TB, db *sql.DB, c *installFixturesConfig)
sql/dml/dml_test.go:242
↓ 8 callersFunctionnewMsgPackCodec
()
storage/objcache/bench_pub_test.go:181
↓ 8 callersMethodprepareQueryAndArgs
prepareQueryAndArgs transforms mainly the DBR into []any. It appends its arguments to the `extArgs` arguments from the Exec+ or Query+ function. This
sql/dml/dbr.go:423
↓ 8 callersFunctionsqlObjToString
(rawSQL string, err error)
sql/dml/builder.go:159
↓ 8 callersFunctionwriteFile
* SELECT concat('col_', replace( replace( replace( replace(COLUMN_TYPE, '(', '_')
sql/dmlgen/dmlgen_pub_test.go:62
↓ 7 callersMethodClone
Clone creates a new object and takes care of a cloned DerivedTable field.
sql/dml/naming.go:71
↓ 7 callersMethodDebugBytes
()
sql/dml/argument_encoder.go:51
↓ 7 callersMethodDefaultStoreID
DefaultStoreID returns the default active store ID and its website ID depending on the run mode. Error behaviour is mostly of type NotValid.
store/service.go:39
↓ 7 callersMethodDefaultStoreView
(ctx context.Context, in *types.Empty, opts ...grpc.CallOption)
store/service.pb.go:369
↓ 7 callersFunctionEncodeSegment
EncodeSegment encodes JWT specific base64url encoding with padding stripped. Returns a new byte slice.
util/csjwt/encodeDecode.go:126
← previousnext →401–500 of 7,620, ranked by callers