Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 79 for Xacc (0.05 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/DocumentOverlayTest.kt

                resolvedDocument("configuring { a = 3 }"),
                resolvedDocument("configuring { b = 4 }")
            )
    
            val result = docs.reduce { acc, it ->
                val overlayResult = overlayResolvedDocuments(acc, it)
                DocumentWithResolution(overlayResult.document, overlayResult.overlayResolutionContainer)
            }
    
            assertEquals(
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/internal/obj/s390x/anames.go

    	"STCK",
    	"STCKC",
    	"STCKE",
    	"STCKF",
    	"CLEAR",
    	"KM",
    	"KMC",
    	"KLMD",
    	"KIMD",
    	"KDSA",
    	"KMA",
    	"KMCTR",
    	"VA",
    	"VAB",
    	"VAH",
    	"VAF",
    	"VAG",
    	"VAQ",
    	"VACC",
    	"VACCB",
    	"VACCH",
    	"VACCF",
    	"VACCG",
    	"VACCQ",
    	"VAC",
    	"VACQ",
    	"VACCC",
    	"VACCCQ",
    	"VN",
    	"VNC",
    	"VAVG",
    	"VAVGB",
    	"VAVGH",
    	"VAVGF",
    	"VAVGG",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 16:41:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top