Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,347 for zero (4.79 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresent() {
        assertEquals(v0(), getMap().replace(k0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
        assertEquals(v0(), getMap().replace(k0(), v0()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. callbacks/associations.go

    					for i := 0; i < rValLen; i++ {
    						obj := db.Statement.ReflectValue.Index(i)
    						if reflect.Indirect(obj).Kind() != reflect.Struct {
    							break
    						}
    						if _, zero := rel.Field.ValueOf(db.Statement.Context, obj); !zero { // check belongs to relation value
    							rv := rel.Field.ReflectValueOf(db.Statement.Context, obj) // relation reflect value
    							if !isPtr {
    								rv = rv.Addr()
    							}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/p256_ordinv_test.go

    	"math/big"
    	"testing"
    )
    
    func TestP256OrdInverse(t *testing.T) {
    	N := elliptic.P256().Params().N
    
    	// inv(0) is expected to be 0.
    	zero := make([]byte, 32)
    	out, err := nistec.P256OrdInverse(zero)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !bytes.Equal(out, zero) {
    		t.Error("unexpected output for inv(0)")
    	}
    
    	// inv(N) is also 0 mod N.
    	input := make([]byte, 32)
    	N.FillBytes(input)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top