Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 866 for zero (0.04 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/math/big/intconv.go

    		case s.Flag('0') && !precisionSet:
    			// pad with zeros unless precision also specified
    			zeros = d
    		default:
    			// pad on the left with spaces
    			left = d
    		}
    	}
    
    	// print number as [left pad][sign][prefix][zero pad][digits][right pad]
    	writeMultiple(s, " ", left)
    	writeMultiple(s, sign, 1)
    	writeMultiple(s, prefix, 1)
    	writeMultiple(s, "0", zeros)
    	s.Write(digits)
    	writeMultiple(s, " ", right)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. 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)
Back to top