Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for nonZero (0.14 sec)

  1. releasenotes/notes/36928.yaml

    kind: bug-fix
    area: installation
    
    releaseNotes:
    - |
      **Fixed** an issue that was preventing the operator from updating deployments when `.autoscaleEnabled` is `true` and `.k8s.replicaCount` is nonzero.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 11 22:36:57 UTC 2022
    - 348 bytes
    - Viewed (0)
  2. src/crypto/internal/edwards25519/scalar.go

    	var diff fiatScalarMontgomeryDomainFieldElement
    	fiatScalarSub(&diff, &s.s, &t.s)
    	var nonzero uint64
    	fiatScalarNonzero(&nonzero, (*[4]uint64)(&diff))
    	nonzero |= nonzero >> 32
    	nonzero |= nonzero >> 16
    	nonzero |= nonzero >> 8
    	nonzero |= nonzero >> 4
    	nonzero |= nonzero >> 2
    	nonzero |= nonzero >> 1
    	return int(^nonzero) & 1
    }
    
    // nonAdjacentForm computes a width-w non-adjacent form for this scalar.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

      private static final int[] positive = new int[ARRAY_SIZE];
      private static final int[] nonzero = new int[ARRAY_SIZE];
      private static final int[] ints = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(Integer.SIZE - 2).intValue();
          nonzero[i] = randomNonZeroBigInteger(Integer.SIZE - 2).intValue();
          ints[i] = RANDOM_SOURCE.nextInt();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  4. pkg/scheduler/util/pod_resources.go

    }
    
    // GetRequestForResource returns the requested values unless nonZero is true and there is no defined request
    // for CPU and memory.
    // If nonZero is true and the resource has no defined request for CPU or memory, it returns a default value.
    func GetRequestForResource(resourceName v1.ResourceName, requests *v1.ResourceList, nonZero bool) resource.Quantity {
    	if requests == nil {
    		return resource.Quantity{}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 01 06:25:30 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. src/math/fma.go

    	switch {
    	case n == 0:
    		return u1, u2
    	case n == 64:
    		return 0, u1 | nonzero(u2)
    	case n >= 128:
    		return 0, nonzero(u1 | u2)
    	case n < 64:
    		r1, r2 = shr(u1, u2, n)
    		r2 |= nonzero(u2 & (1<<n - 1))
    	case n < 128:
    		r1, r2 = shr(u1, u2, n)
    		r2 |= nonzero(u1&(1<<(n-64)-1) | u2)
    	}
    	return
    }
    
    func lz(u1, u2 uint64) (l int32) {
    	l = int32(bits.LeadingZeros64(u1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 05 22:05:30 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_deadline.txt

    	}
    }
    
    func TestDeadlineWithinMinute(t *testing.T) {
    	now := time.Now()
    	d, ok := t.Deadline()
    	if !ok || d.IsZero() {
    		t.Fatalf("t.Deadline() = %v, %v; want nonzero deadline", d, ok)
    	}
    	if !d.After(now) {
    		t.Fatalf("t.Deadline() = %v; want after start of test (%v)", d, now)
    	}
    	if d.Sub(now) > time.Minute {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonzero = new long[ARRAY_SIZE];
      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue();
          nonzero[i] = randomNonZeroBigInteger(Long.SIZE - 2).longValue();
          longs[i] = RANDOM_SOURCE.nextLong();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

      private static final int[] positive = new int[ARRAY_SIZE];
      private static final int[] nonzero = new int[ARRAY_SIZE];
      private static final int[] ints = new int[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(Integer.SIZE - 2).intValue();
          nonzero[i] = randomNonZeroBigInteger(Integer.SIZE - 2).intValue();
          ints[i] = RANDOM_SOURCE.nextInt();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  9. pkg/scheduler/util/pod_resources_test.go

    		})
    	}
    }
    
    func TestGetRequestForResource(t *testing.T) {
    	tests := []struct {
    		name             string
    		requests         v1.ResourceList
    		resource         v1.ResourceName
    		expectedQuantity int64
    		nonZero          bool
    	}{
    		{
    			"extended_resource_not_found",
    			v1.ResourceList{},
    			v1.ResourceName("intel.com/foo"),
    			0,
    			true,
    		},
    		{
    			"extended_resource_found",
    			v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/crypto/internal/edwards25519/scalarmult.go

    	tmp2.Zero()
    
    	// Move from high to low bits, doubling the accumulator
    	// at each iteration and checking whether there is a nonzero
    	// coefficient to look up a multiple of.
    	for ; i >= 0; i-- {
    		tmp1.Double(tmp2)
    
    		// Only update v if we have a nonzero coeff to add in.
    		if aNaf[i] > 0 {
    			v.fromP1xP1(tmp1)
    			aTable.SelectInto(multA, aNaf[i])
    			tmp1.Add(v, multA)
    		} else if aNaf[i] < 0 {
    			v.fromP1xP1(tmp1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:10 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top