Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,370 for zero (0.2 sec)

  1. pkg/kubelet/images/image_gc_manager_test.go

    	}
    
    	startTime := time.Now().Add(-time.Millisecond)
    	_, err := manager.detectImages(ctx, zero)
    	assert := assert.New(t)
    	require.NoError(t, err)
    	assert.Equal(manager.imageRecordsLen(), 3)
    	noContainer, ok := manager.getImageRecord(imageID(0))
    	require.True(t, ok)
    	assert.Equal(zero, noContainer.firstDetected)
    	assert.Equal(zero, noContainer.lastUsed)
    	withContainerUsingNoNameImage, ok := manager.getImageRecord(imageID(1))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. pkg/controller/nodelifecycle/config/v1alpha1/defaults.go

    	zero := metav1.Duration{}
    	if obj.PodEvictionTimeout == zero {
    		obj.PodEvictionTimeout = metav1.Duration{Duration: 5 * time.Minute}
    	}
    	if obj.NodeMonitorGracePeriod == zero {
    		obj.NodeMonitorGracePeriod = metav1.Duration{Duration: 40 * time.Second}
    	}
    	if obj.NodeStartupGracePeriod == zero {
    		obj.NodeStartupGracePeriod = metav1.Duration{Duration: 60 * time.Second}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 18:11:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. test/codegen/math.go

    	// See issue 36400.
    	zero := 0.0
    	// amd64:-"DIVSD"
    	inf := 1 / zero // +inf. We can constant propagate this one.
    	negone := -1.0
    
    	// amd64:"DIVSD"
    	z0 := zero / zero
    	// amd64:"MULSD"
    	z1 := zero * inf
    	// amd64:"SQRTSD"
    	z2 := math.Sqrt(negone)
    	return z0 + z1 + z2
    }
    
    func nanGenerate32() float32 {
    	zero := float32(0.0)
    	// amd64:-"DIVSS"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("sp", OpSP, c.config.Types.Uintptr, 0, nil),
    			Valu("zero", OpConst64, c.config.Types.Int, 0, nil),
    			Valu("v6", OpLocalAddr, ptrType, 0, name, "sp", "start"),
    			Valu("v3", OpOffPtr, ptrType, 8, nil, "v6"),
    			Valu("v22", OpOffPtr, ptrType, 0, nil, "v6"),
    			Valu("zerostore1", OpStore, types.TypeMem, 0, c.config.Types.Int, "v22", "zero", "start"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

      @ListFeature.Require(SUPPORTS_SET)
      @CollectionSize.Require(absent = ZERO)
      public void testSet() {
        doTestSet(e3());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_null() {
        doTestSet(null);
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/crypto/ed25519/ed25519_test.go

    }
    
    func BenchmarkSigning(b *testing.B) {
    	var zero zeroReader
    	_, priv, err := GenerateKey(zero)
    	if err != nil {
    		b.Fatal(err)
    	}
    	message := []byte("Hello, world!")
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		Sign(priv, message)
    	}
    }
    
    func BenchmarkVerification(b *testing.B) {
    	var zero zeroReader
    	pub, priv, err := GenerateKey(zero)
    	if err != nil {
    		b.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/internal/reflectlite/export_test.go

    	}
    	p := &t.Fields[i]
    	return toType(p.Typ)
    }
    
    // Zero returns a Value representing the zero value for the specified type.
    // The result is different from the zero value of the Value struct,
    // which represents no value at all.
    // For example, Zero(TypeOf(42)) returns a Value with Kind Int and value 0.
    // The returned value is neither addressable nor settable.
    func Zero(typ Type) Value {
    	if typ == nil {
    		panic("reflect: Zero(nil)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAtIndex_supportedPresent() {
        getList().add(0, e0());
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/fiat/p224.go

    }
    
    // Equal returns 1 if e == t, and zero otherwise.
    func (e *P224Element) Equal(t *P224Element) int {
    	eBytes := e.Bytes()
    	tBytes := t.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, tBytes)
    }
    
    // IsZero returns 1 if e == 0, and zero otherwise.
    func (e *P224Element) IsZero() int {
    	zero := make([]byte, p224ElementLen)
    	eBytes := e.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, zero)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top