Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 658 for zero (0.04 sec)

  1. src/runtime/unsafe.go

    	panicunsafeslicenilptr1(getcallerpc())
    }
    
    //go:yeswritebarrierrec
    func panicunsafeslicenilptr1(pc uintptr) {
    	panicCheck1(pc, "unsafe.Slice: ptr is nil and len is not zero")
    	panic(errorString("unsafe.Slice: ptr is nil and len is not zero"))
    }
    
    //go:linkname reflect_unsafeslice reflect.unsafeslice
    func reflect_unsafeslice(et *_type, ptr unsafe.Pointer, len int) {
    	unsafeslice(et, ptr, len)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

    import static com.google.common.collect.testing.Helpers.assertEmpty;
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    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
    - 7.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

    import static com.google.common.collect.testing.Helpers.assertEmpty;
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    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
    - 7.1K bytes
    - Viewed (0)
  4. src/internal/coverage/cfile/apis.go

    	}
    
    	// Implementation note: this function would be faster and simpler
    	// if we could just zero out the entire counter array, but for the
    	// moment we go through and zero out just the slots in the array
    	// corresponding to the counter values. We do this to avoid the
    	// following bad scenario: suppose that a user builds their Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

            b = values.get(1);
            c = values.get(2);
          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetFirst() {
        try {
          sortedSet.first();
          fail();
        } catch (NoSuchElementException e) {
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetLast() {
        try {
          sortedSet.last();
          fail();
        } catch (NoSuchElementException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllTester.java

      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedAllPresent() {
        assertTrue(
            "addAll(allPresent) should return true", getList().addAll(MinimalCollection.of(e0())));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_unsupportedAllPresent() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertFalse("add(present) should return false", getSet().add(e0()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedNullPresent() {
        E[] array = createArrayWithNullElement();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.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
    - 6.5K bytes
    - Viewed (0)
  10. src/runtime/minmax_test.go

    	"unsafe"
    )
    
    var (
    	zero    = math.Copysign(0, +1)
    	negZero = math.Copysign(0, -1)
    	inf     = math.Inf(+1)
    	negInf  = math.Inf(-1)
    	nan     = math.NaN()
    )
    
    var tests = []struct{ min, max float64 }{
    	{1, 2},
    	{-2, 1},
    	{negZero, zero},
    	{zero, inf},
    	{negInf, zero},
    	{negInf, inf},
    	{1, inf},
    	{negInf, 1},
    }
    
    var all = []float64{1, 2, -1, -2, zero, negZero, inf, negInf, nan}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 01:41:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top