Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,555 for zero (0.65 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testContainsEntryWithNullValuePresent() {
        initMapWithNullValue();
        assertTrue(getMap().entrySet().contains(Helpers.mapEntry(getKeyForNullValue(), null)));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testContainsEntryWithNullValuePresent() {
        initMapWithNullValue();
        assertTrue(getMap().entrySet().contains(Helpers.mapEntry(getKeyForNullValue(), null)));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/sync/atomic/type.go

    func (x *Pointer[T]) CompareAndSwap(old, new *T) (swapped bool) {
    	return CompareAndSwapPointer(&x.v, unsafe.Pointer(old), unsafe.Pointer(new))
    }
    
    // An Int32 is an atomic int32. The zero value is zero.
    type Int32 struct {
    	_ noCopy
    	v int32
    }
    
    // Load atomically loads and returns the value stored in x.
    func (x *Int32) Load() int32 { return LoadInt32(&x.v) }
    
    // Store atomically stores val into x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/logic_test.go

    		{"x&0", func(x int64) int64 { return x & 0 }, zero},
    		{"x&-1", func(x int64) int64 { return x & -1 }, id},
    		{"x^x", func(x int64) int64 { return x ^ x }, zero},
    		{"x^0", func(x int64) int64 { return x ^ 0 }, id},
    		{"x^-1", func(x int64) int64 { return x ^ -1 }, func(x int64) int64 { return ^x }},
    		{"x+0", func(x int64) int64 { return x + 0 }, id},
    		{"x-x", func(x int64) int64 { return x - x }, zero},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_multiple.txt

    go test -fuzz=FuzzTwo -fuzztime=1x ./two
    
    -- go.mod --
    module fuzz
    
    go 1.18
    -- zero/zero.go --
    package zero
    -- one/one_test.go --
    package one
    
    import "testing"
    
    func FuzzOne(f *testing.F) {
      f.Fuzz(func(*testing.T, []byte) {})
    }
    -- two/two_test.go --
    package two
    
    import "testing"
    
    func FuzzOne(f *testing.F) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/fiat/p384.go

    }
    
    // Equal returns 1 if e == t, and zero otherwise.
    func (e *P384Element) Equal(t *P384Element) int {
    	eBytes := e.Bytes()
    	tBytes := t.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, tBytes)
    }
    
    // IsZero returns 1 if e == 0, and zero otherwise.
    func (e *P384Element) IsZero() int {
    	zero := make([]byte, p384ElementLen)
    	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)
  7. src/crypto/internal/nistec/fiat/p521.go

    }
    
    // Equal returns 1 if e == t, and zero otherwise.
    func (e *P521Element) Equal(t *P521Element) int {
    	eBytes := e.Bytes()
    	tBytes := t.Bytes()
    	return subtle.ConstantTimeCompare(eBytes, tBytes)
    }
    
    // IsZero returns 1 if e == 0, and zero otherwise.
    func (e *P521Element) IsZero() int {
    	zero := make([]byte, p521ElementLen)
    	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. src/crypto/aes/asm_ppc64x.s

    	LVX	(PTR)(TEMP), MASK
    	ADD	$0x10, PTR, PTR    // addi  6,6,0x10   PTR to next 16 bytes of RCON
    	MOVD	$8, CNT            // li    7,8        CNT = 8
    	VXOR	ZERO, ZERO, ZERO   // vxor  0,0,0      Zero to be zero :)
    	MOVD	CNT, CTR           // mtctr 7          Set the counter to 8 (rounds)
    
    	// The expanded decrypt key is the expanded encrypt key stored in reverse order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. 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)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.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: Mon Jun 26 18:17:52 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top