- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 156 for returns_ (2.33 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
return func() uint64 { return 0 }, nil } switch { case len(opts.ResourceVersion) == 0: return func() uint64 { return requiredResourceVersion }, nil case parsedResourceVersion == 0: // here we assume that watchCache locked is already held return func() uint64 { return c.watchCache.resourceVersion }, nil default: return func() uint64 { return parsedResourceVersion }, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
src/go/build/build.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/time/format.go
if c1 != c2 || c1 < 'a' || c1 > 'z' { return false } } } return true } func lookup(tab []string, val string) (int, string, error) { for i, v := range tab { if len(val) >= len(v) && match(val[0:len(v)], v) { return i, val[len(v):], nil } } return -1, val, errBad } // appendInt appends the decimal form of x to b and returns the result.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
func oneBit8(x int8) bool { return x&(x-1) == 0 && x != 0 } func oneBit16(x int16) bool { return x&(x-1) == 0 && x != 0 } func oneBit32(x int32) bool { return x&(x-1) == 0 && x != 0 } func oneBit64(x int64) bool { return x&(x-1) == 0 && x != 0 } // nto returns the number of trailing ones. func nto(x int64) int64 { return int64(ntz64(^x)) } // logX returns logarithm of n base 2.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
cmd/object-api-datatypes_gen.go
return } } case "EncodingType": z.EncodingType, bts, err = msgp.ReadStringBytes(bts) if err != nil { err = msgp.WrapError(err, "EncodingType") return } default: bts, err = msgp.Skip(bts) if err != nil { err = msgp.WrapError(err) return } } } o = bts return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 70.1K bytes - Viewed (0) -
src/runtime/mheap.go
s := spanOf(b) if s == nil || b < s.base() { return false } switch s.state.get() { case mSpanInUse, mSpanManual: return b < s.limit default: return false } } // spanOf returns the span of p. If p does not point into the heap // arena or no span has ever contained p, spanOf returns nil. // // If p does not point to allocated memory, this may return a non-nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
src/os/os_test.go
{"Readdirnames", func(f *File) error { _, err := f.Readdirnames(1); return err }}, {"Seek", func(f *File) error { _, err := f.Seek(0, io.SeekStart); return err }}, {"Stat", func(f *File) error { _, err := f.Stat(); return err }}, {"Sync", func(f *File) error { return f.Sync() }}, {"Truncate", func(f *File) error { return f.Truncate(0) }}, {"Write", func(f *File) error { _, err := f.Write(make([]byte, 0)); return err }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
cause = check.sprintf(format, args...) }) return cause } // kindString returns the type kind as a string. func (check *Checker) kindString(typ Type) string { switch under(typ).(type) { case *Array: return "array" case *Slice: return "slice" case *Struct: return "struct" case *Pointer: return "pointer" case *Signature: return "func" case *Interface: if isTypeParam(typ) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
cmd/iam.go
func (sys *IAMSys) IsTempUser(name string) (bool, string, error) { if !sys.Initialized() { return false, "", errServerNotInitialized } u, found := sys.store.GetUser(name) if !found { return false, "", errNoSuchUser } cred := u.Credentials if cred.IsTemp() { return true, cred.ParentUser, nil } return false, "", nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 71.9K bytes - Viewed (0)