- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for addUint32 (0.12 sec)
-
src/cmd/cover/cover.go
if n.Name.Name == "_" || n.Body == nil { return nil } fname := n.Name.Name // Skip AddUint32 and StoreUint32 if we're instrumenting // sync/atomic itself in atomic mode (out of an abundance of // caution), since as part of the instrumentation process we // add calls to AddUint32/StoreUint32, and we don't want to // somehow create an infinite loop. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go
b := cryptobyte.NewBuilder(nil) b.AddUint32(uint32(encryptedDEKSourceType)) b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes(encryptedDEKSource) }) b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes(toBytes(keyID)) }) if len(annotations) == 0 { return b.Bytes() } // add the length of annotations to the cache key b.AddUint32(uint32(len(annotations)))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 00:23:50 UTC 2023 - 18.7K bytes - Viewed (0) -
internal/http/listener_test.go
rr3DRiUP6V/10CZ/ImeSJ72k69VuTw9vq2HzB4x6pqxF2X7JQSLUCS2wfNN13N0d 9A== -----END CERTIFICATE-----`) return tls.X509KeyPair(certPEMBlock, keyPEMBlock) } func getNextPort() string { return strconv.Itoa(int(atomic.AddUint32(&serverPort, 1))) } func getNonLoopBackIP(t *testing.T) string { localIP4 := set.NewStringSet() addrs, err := net.InterfaceAddrs() if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/utils.go
return rt.wrapped.TransformToStorage(ctx, data, dataCtx) } func (rt *reproducingTransformer) createObject(ctx context.Context) error { key, obj := rt.nextObject(atomic.AddUint32(&rt.index, 1)) out := &example.Pod{} return rt.store.Create(ctx, key, obj, out, 0) } // failingTransformer is a custom test-only transformer that always returns // an error on transforming data from storage.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 22 07:26:55 UTC 2024 - 10.3K bytes - Viewed (0) -
src/crypto/tls/ticket.go
if s.EarlyData { b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) { b.AddBytes([]byte(s.alpnProtocol)) }) } if s.isClient { if s.version >= VersionTLS13 { addUint64(&b, s.useBy) b.AddUint32(s.ageAdd) } } return b.Bytes() } func certificatesToBytesSlice(certs []*x509.Certificate) [][]byte { s := make([][]byte, 0, len(certs)) for _, c := range certs { s = append(s, c.Raw) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 12.6K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
} for _, locality := range locs { locLbEps := localityEpMap[locality] var weight uint32 var overflowStatus bool for _, ep := range locLbEps.llbEndpoints.LbEndpoints { weight, overflowStatus = addUint32(weight, ep.LoadBalancingWeight.GetValue()) } locLbEps.llbEndpoints.LoadBalancingWeight = &wrapperspb.UInt32Value{ Value: weight, } if overflowStatus {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
src/runtime/race.go
func abigen_sync_atomic_SwapUint64(addr *uint64, new uint64) (old uint64) //go:linkname abigen_sync_atomic_AddInt32 sync/atomic.AddInt32 func abigen_sync_atomic_AddInt32(addr *int32, delta int32) (new int32) //go:linkname abigen_sync_atomic_AddUint32 sync/atomic.AddUint32 func abigen_sync_atomic_AddUint32(addr *uint32, delta uint32) (new uint32) //go:linkname abigen_sync_atomic_AddInt64 sync/atomic.AddInt64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/cmd/link/internal/loader/symbolbuilder.go
} return off + wid } func (sb *SymbolBuilder) AddUint16(arch *sys.Arch, v uint16) int64 { return sb.AddUintXX(arch, uint64(v), 2) } func (sb *SymbolBuilder) AddUint32(arch *sys.Arch, v uint32) int64 { return sb.AddUintXX(arch, uint64(v), 4) } func (sb *SymbolBuilder) AddUint64(arch *sys.Arch, v uint64) int64 { return sb.AddUintXX(arch, v, 8) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 15:25:19 UTC 2023 - 13.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go
} return ans } var uCounter uint32 = 1 func uniqify(in RequestDigest) RequestDigest { u1 := in.User.(*user.DefaultInfo) u2 := *u1 u2.Extra = map[string][]string{"u": {fmt.Sprintf("z%d", atomic.AddUint32(&uCounter, 1))}} return RequestDigest{User: &u2, RequestInfo: in.RequestInfo} } // genSubject returns a randomly generated valid Subject that matches
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 24.8K bytes - Viewed (0) -
src/testing/sub_test.go
raceDetector := func(b []byte) (int, error) { // Check if some other goroutine is concurrently calling Write. if atomic.LoadInt32(&runs) > 0 { atomic.AddInt32(&races, 1) // Race detected! } atomic.AddInt32(&runs, 1) defer atomic.AddInt32(&runs, -1) runtime.Gosched() // Increase probability of a race return len(b), nil } root := &T{ common: common{w: &funcWriter{raceDetector}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 21:27:08 UTC 2023 - 23.8K bytes - Viewed (0)