Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 710 for Zero (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    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_KEY_QUERIES;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.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 com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractCollectionTester;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        navigableSet = (NavigableSet<E>) getSet();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testEmptySetPollFirst() {
        assertNull(navigableSet.pollFirst());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetNearby() {
        assertNull(navigableSet.lower(e0()));
        assertNull(navigableSet.floor(e0()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. android/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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. association.go

    				if _, zero := rel.Field.ValueOf(association.DB.Statement.Context, data); !zero {
    					fieldValue := reflect.Indirect(rel.Field.ReflectValueOf(association.DB.Statement.Context, data))
    					primaryValues := make([]interface{}, len(rel.FieldSchema.PrimaryFields))
    
    					switch fieldValue.Kind() {
    					case reflect.Slice, reflect.Array:
    						validFieldValues := reflect.Zero(rel.Field.IndirectFieldType)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

            getMap().hashCode());
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testHashCode_containingNullKey() {
        Entry<K, V> entryWithNull = entry(null, v3());
        runEntryWithNullTest(entryWithNull);
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testHashCode_containingNullValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClear_unsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMap().clear());
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testClear_unsupportedByEmptyCollection() {
        try {
          getMap().clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    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;
    import static java.util.Arrays.asList;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        }
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testGet_nonNullWhenNullContained() {
        initMapWithNullKey();
        assertNull("get(notPresent) should return null", get(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testGet_nullContained() {
        initMapWithNullKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testFind_nonNullWhenNullContained() {
        initCollectionWithNullElement();
        assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testFind_nullContained() {
        initCollectionWithNullElement();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top