Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 742 for zero (0.04 sec)

  1. misc/cgo/gmp/gmp.go

    introduce a Go variable that points at the C variable (the linker can
    be told to initialize this pointer).  For example, if the gmp library
    provided
    
    	mpz_t zero;
    
    then cgo would rewrite a reference to C.zero by introducing
    
    	var _C_zero *C.mpz_t
    
    and then replacing all instances of C.zero with (*_C_zero).
    
    Cgo's most interesting translation is for functions.  If xxx is a C
    function, then cgo rewrites C.xxx into a new function _C_xxx that
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  2. android/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() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testToStringWithNullKey() {
        initMapWithNullKey();
        testToString_formatting();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testPutWithSameValueFails() {
        getMap().put(k0(), v0());
        assertThrows(IllegalArgumentException.class, () -> getMap().put(k1(), v0()));
        // verify that the bimap is unchanged
        expectAdded(e0());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractCollectionTester;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.google.MultisetFeature.ENTRIES_ARE_VIEWS;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapIsEmptyTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", getMap().isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionIsEmptyTester<E> extends AbstractCollectionTester<E> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", collection.isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", collection.isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapIsEmptyTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", getMap().isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. schema/utils.go

    		loaded        = map[interface{}]bool{}
    		notZero, zero bool
    	)
    
    	if reflectValue.Kind() == reflect.Ptr ||
    		reflectValue.Kind() == reflect.Interface {
    		reflectValue = reflectValue.Elem()
    	}
    
    	switch reflectValue.Kind() {
    	case reflect.Struct:
    		results = [][]interface{}{make([]interface{}, len(fields))}
    
    		for idx, field := range fields {
    			results[0][idx], zero = field.ValueOf(ctx, reflectValue)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:35:14 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top