- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 318 for Number (0.2 sec)
-
internal/jwt/parser.go
} case 'e': if string(key) == "exp" { if dataType != jsonparser.Number { return errors.New("exp: Expected number") } c.ExpiresAt, err = jsonparser.ParseInt(value) return err } case 'i': if string(key) == "iat" { if dataType != jsonparser.Number { return errors.New("exp: Expected number") } c.IssuedAt, err = jsonparser.ParseInt(value) return err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue May 09 07:53:08 GMT 2023 - 13.9K bytes - Viewed (0) -
internal/grid/msg_gen.go
zb0001, bts, err = msgp.ReadUint8Bytes(bts) if err != nil { err = msgp.WrapError(err) return } (*z) = Flags(zb0001) } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z Flags) Msgsize() (s int) { s = msgp.Uint8Size return } // DecodeMsg implements msgp.Decodable func (z *HandlerID) DecodeMsg(dc *msgp.Reader) (err error) { {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 18.8K bytes - Viewed (0) -
cmd/metacache_gen.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Nov 08 18:26:08 GMT 2021 - 10K bytes - Viewed (0) -
utils/utils.go
dir = filepath.Dir(dir) s := filepath.Dir(dir) if filepath.Base(s) != "gorm.io" { s = dir } return filepath.ToSlash(s) + "/" } // FileWithLineNum return the file name and line number of the current file func FileWithLineNum() string { pcs := [13]uintptr{} // the third caller usually from gorm internal len := runtime.Callers(3, pcs[:]) frames := runtime.CallersFrames(pcs[:len])
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 22 06:43:02 GMT 2024 - 3.8K bytes - Viewed (0) -
cmd/tier_gen.go
default: bts, err = msgp.Skip(bts) if err != nil { err = msgp.WrapError(err) return } } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z *TierConfigMgr) Msgsize() (s int) { s = 1 + 6 + msgp.MapHeaderSize if z.Tiers != nil { for za0001, za0002 := range z.Tiers { _ = za0002
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 4K bytes - Viewed (0) -
internal/grid/debug.go
Managers []*Manager Mux []*mux.Router Hosts []string cleanupOnce sync.Once cancel context.CancelFunc } // SetupTestGrid creates a new grid for testing purposes. // Select the number of hosts to create. // Call (TestGrid).Cleanup() when done. func SetupTestGrid(n int) (*TestGrid, error) { hosts, listeners, err := getHosts(n) if err != nil { return nil, err } dialer := &net.Dialer{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 08 18:15:27 GMT 2024 - 4.2K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
MessageWriter io.Writer // XdsViaAgents accesses Istiod via the tap service of each agent. // This is only used in `proxy-status` command. XdsViaAgents bool // XdsViaAgentsLimit is the maximum number of pods being visited by istioctl, // when `XdsViaAgents` is true. This is only used in `proxy-status` command. // 0 means that there is no limit. XdsViaAgentsLimit int } var DefaultOptions = Options{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
{Name: "Asia-maps.png"}, {Name: "Asia/India/India-summer-photos-1"}, {Name: "Asia/India/Karnataka/Bangalore/Koramangala/pics"}, {Name: "newPrefix0"}, {Name: "newPrefix1"}, }, }, // ListObjectsResult-2. // (TestCase 24). 2: { IsTruncated: true, Objects: []ObjectInfo{ {Name: "Asia-maps.png"}, {Name: "Asia/India/India-summer-photos-1"},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 11:07:40 GMT 2024 - 73.1K bytes - Viewed (0) -
internal/s3select/sql/value.go
// Add support for large number arithmetic. // Supported arithmetic operators const ( opPlus = "+" opMinus = "-" opDivide = "/" opMultiply = "*" opModulo = "%" ) // For arithmetic operations, if both values are numeric then the // operation shall succeed. If the types are unknown automatic type // conversion to a number is attempted.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Feb 25 20:31:19 GMT 2022 - 20.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/expr_test.go
{"3*(2+3)", 3 * (2 + 3), true}, {"3*-(2+3)", 3 * -(2 + 3), true}, {"3<<2+4", 3<<2 + 4, true}, {"3<<2+4", 3<<2 + 4, true}, {"3<<(2+4)", 3 << (2 + 4), true}, // Junk at EOF. {"3 x", 3, false}, // Big number {"4611686018427387904", 4611686018427387904, true}, } func TestExpr(t *testing.T) { p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser. for i, test := range exprTests {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.2K bytes - Viewed (0)