Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,555 for zero (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/crypto/elliptic/p256_test.go

    	gy := p256.Params().Gy
    
    	zero := make([]byte, 32)
    	one := make([]byte, 32)
    	one[31] = 1
    	two := make([]byte, 32)
    	two[31] = 2
    
    	// 0×G + 0×G = ∞
    	x, y := p256.CombinedMult(gx, gy, zero, zero)
    	if x.Sign() != 0 || y.Sign() != 0 {
    		t.Errorf("0×G + 0×G = (%d, %d), should be ∞", x, y)
    	}
    
    	// 1×G + 0×G = G
    	x, y = p256.CombinedMult(gx, gy, one, zero)
    	if x.Cmp(gx) != 0 || y.Cmp(gy) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 16:58:48 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertTrue("add(present) should return true", getList().add(e0()));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top