- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 79 for Xacc (0.04 sec)
-
src/net/netip/netip.go
// parsing yields a significant performance increase. off := 0 acc := uint32(0) for ; off < len(s); off++ { c := s[off] if c >= '0' && c <= '9' { acc = (acc << 4) + uint32(c-'0') } else if c >= 'a' && c <= 'f' { acc = (acc << 4) + uint32(c-'a'+10) } else if c >= 'A' && c <= 'F' { acc = (acc << 4) + uint32(c-'A'+10) } else { break } if off > 3 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 43.2K bytes - Viewed (0) -
src/math/big/int_test.go
continue } // Test against expectation. f, acc := i.Float64() if f != test.f || acc != test.acc { t.Errorf("%s: got %f (%s); want %f (%s)", test.istr, f, acc, test.f, test.acc) } // Cross-check the fast path against the big.Float implementation. f2, acc2 := new(Float).SetInt(i).Float64() if f != f2 || acc != acc2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
e.mu.Lock() e.lastMinuteLatency.addAll(t-1, a) e.mu.Unlock() acc = newAcc } else { // We may be able to grab the new accumulator by yielding. runtime.Gosched() acc = e.cached.Load() } } atomic.AddInt64(&acc.N, 1) atomic.AddInt64(&acc.Total, int64(value)) atomic.AddInt64(&acc.Size, sz) } // total returns the total call count and latency for the last minute.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.4K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/anames.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 16:41:03 UTC 2023 - 7.1K bytes - Viewed (0) -
pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go
// Update fails update, ok := action.(clienttesting.UpdateAction) if !ok { t.Fatalf("Reactor got non-update action: %+v", action) } acc, _ := meta.Accessor(update.GetObject()) return true, nil, apierrors.NewForbidden(update.GetResource().GroupResource(), acc.GetName(), errors.New("Mock error")) } // Update succeeds return false, nil, nil } } func TestPVCProtectionController(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 12:57:29 UTC 2023 - 15.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go
Labels: map[string]string{"foo": "bar"}, Annotations: map[string]string{"x": "y"}, }, } b.ResetTimer() for i := 0; i < b.N; i++ { acc, err := meta.Accessor(obj) if err != nil { b.Fatal(err) } acc.SetNamespace("something") } b.StopTimer()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 14 10:11:56 UTC 2022 - 12.9K bytes - Viewed (0) -
src/math/big/rat_test.go
// "materialization" of the denominator doesn't lead to setting // the underlying array element 0 to 1. r := &Rat{Int{abs: nat{991}}, Int{abs: make(nat, 0, 1)}} acc.f(r) if d := r.b.abs[:1][0]; d != 0 { t.Errorf("%s modified denominator: got %d, want 0", acc.name, d) } } } func TestDenomRace(t *testing.T) { x := NewRat(1, 2) const N = 3 c := make(chan bool, N) for i := 0; i < N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 07 00:15:59 UTC 2022 - 18.9K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter.go
row.Cells[nameColumn] = fmt.Sprintf("%s/%s", strings.ToLower(options.Kind.String()), row.Cells[nameColumn]) } var m metav1.Object if obj := row.Object.Object; obj != nil { if acc, err := meta.Accessor(obj); err == nil { m = acc } } // if we can't get an accessor, fill out the appropriate columns with empty spaces if m == nil { if options.WithNamespace { r := make([]interface{}, 1, width)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Oct 30 15:08:43 UTC 2022 - 16.7K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm.go
x &= x >> 2 x &= x >> 1 return int(x & 1) } // p256Equal returns 1 if a and b are equal and 0 otherwise. func p256Equal(a, b *p256Element) int { var acc uint64 for i := range a { acc |= a[i] ^ b[i] } return uint64IsZero(acc) } // isInfinity returns 1 if p is the point at infinity and 0 otherwise. func (p *P256Point) isInfinity() int { return p256Equal(&p.z, &p256Zero) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 21.4K bytes - Viewed (0) -
cmd/site-replication.go
Parent: acc.Credentials.ParentUser, AccessKey: user, SecretKey: acc.Credentials.SecretKey, Groups: acc.Credentials.Groups, Claims: claims, SessionPolicy: json.RawMessage(policyJSON), Status: acc.Credentials.Status, Name: acc.Credentials.Name, Description: acc.Credentials.Description,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0)