- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 405 for i$ (0.03 sec)
-
src/sync/atomic/atomic_test.go
func TestAndInt32(t *testing.T) { var x struct { before int32 i int32 after int32 } x.before = magic32 x.after = magic32 x.i = -1 j := x.i for mask := int32(1); mask != 0; mask <<= 1 { old := x.i k := AndInt32(&x.i, ^mask) j &= ^mask if x.i != j || k != old { t.Fatalf("mask=%d i=%d j=%d k=%d old=%d", mask, x.i, j, k, old) } } if x.before != magic32 || x.after != magic32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
v := BaseOptions{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgBaseOptions(b *testing.B) { v := BaseOptions{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 62.6K bytes - Viewed (0) -
src/index/suffixarray/sais2.go
// In this backward scan, c0 == text[i] and c1 == text[i+1]. // By scanning backward, we can keep track of whether the current // position is type-S or type-L according to the usual definition: // // - position len(text) is type S with text[len(text)] == -1 (the sentinel) // - position i is type S if text[i] < text[i+1], or if text[i] == text[i+1] && i+1 is type S.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 23:57:18 UTC 2024 - 52.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.pb.go
i -= len(m.Hostname) copy(dAtA[i:], m.Hostname) i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname))) i-- dAtA[i] = 0x1 i-- dAtA[i] = 0x82 i-- if m.HostIPC { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- dAtA[i] = 0x68 i-- if m.HostPID { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- dAtA[i] = 0x60 i-- if m.HostNetwork { dAtA[i] = 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 57K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.pb.go
i -= len(m.Hostname) copy(dAtA[i:], m.Hostname) i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hostname))) i-- dAtA[i] = 0x1 i-- dAtA[i] = 0x82 i-- if m.HostIPC { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- dAtA[i] = 0x68 i-- if m.HostPID { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- dAtA[i] = 0x60 i-- if m.HostNetwork { dAtA[i] = 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 56.9K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1/generated.pb.go
i := len(dAtA) _ = i var l int _ = l i -= len(m.UID) copy(dAtA[i:], m.UID) i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) i-- dAtA[i] = 0x22 i -= len(m.Name) copy(dAtA[i:], m.Name) i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0x1a i -= len(m.APIVersion) copy(dAtA[i:], m.APIVersion)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 72K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
} type Bitmap []uint32 // set the i-th bit. func (bm Bitmap) Set(i Sym) { n, r := uint(i)/32, uint(i)%32 bm[n] |= 1 << r } // unset the i-th bit. func (bm Bitmap) Unset(i Sym) { n, r := uint(i)/32, uint(i)%32 bm[n] &^= (1 << r) } // whether the i-th bit is set. func (bm Bitmap) Has(i Sym) bool { n, r := uint(i)/32, uint(i)%32 return bm[n]&(1<<r) != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
staging/src/k8s.io/api/discovery/v1/generated.pb.go
baseI := i i -= len(v) copy(dAtA[i:], v) i = encodeVarintGenerated(dAtA, i, uint64(len(v))) i-- dAtA[i] = 0x12 i -= len(keysForDeprecatedTopology[iNdEx]) copy(dAtA[i:], keysForDeprecatedTopology[iNdEx]) i = encodeVarintGenerated(dAtA, i, uint64(len(keysForDeprecatedTopology[iNdEx]))) i-- dAtA[i] = 0xa i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 55.6K bytes - Viewed (0) -
src/strings/strings_test.go
data := sd.data[:j] for i := 0; i < b.N; i++ { FieldsFunc(data, unicode.IsSpace) } }) } }) } } func BenchmarkSplitEmptySeparator(b *testing.B) { for i := 0; i < b.N; i++ { Split(benchInputHard, "") } } func BenchmarkSplitSingleByteSeparator(b *testing.B) { for i := 0; i < b.N; i++ { Split(benchInputHard, "/") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 53K bytes - Viewed (0) -
src/time/format.go
return layout[0:i], std0x[layout[i+1]-'1'], layout[i+2:] } if len(layout) >= i+3 && layout[i+1] == '0' && layout[i+2] == '2' { return layout[0:i], stdZeroYearDay, layout[i+3:] } case '1': // 15, 1 if len(layout) >= i+2 && layout[i+1] == '5' { return layout[0:i], stdHour, layout[i+2:] } return layout[0:i], stdNumMonth, layout[i+1:]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0)