Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,141 for _values (0.21 sec)

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

            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
        try {
          getMap().putIfAbsent(k3(), null);
          fail("putIfAbsent(key, null) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 18:17:52 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

              fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException expected) {
            }
          }
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValueNullUnsupported() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          try {
            entry.setValue(null);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testSizeNullValue() {
        initMultimapWithNullValue();
        assertEquals(getNumElements(), multimap().size());
        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES})
      public void testSizeNullKeyAndValue() {
        initMultimapWithNullKeyAndValue();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      public void testSizeNullValue() {
        initMultimapWithNullValue();
        assertEquals(getNumElements(), multimap().size());
        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({ALLOWS_NULL_KEYS, ALLOWS_NULL_VALUES})
      public void testSizeNullKeyAndValue() {
        initMultimapWithNullKeyAndValue();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nonNullWhenNullContained() {
        initMapWithNullValue();
        assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nullContained() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

        assertTrue(multimap().putAll(source));
        assertTrue(multimap().containsEntry(null, v0()));
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllRejectsNullValue() {
        Multimap<K, V> source = getSubjectGenerator().create(Helpers.mapEntry(k0(), null));
        try {
          multimap().putAll(source);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  }
                })
            .named("singleton")
            .withFeatures(
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ONE)
            .suppressing(suppressForSingletonSet())
            .createTestSuite();
      }
    
      public Test testsForHashSet() {
        return SetTestSuiteBuilder.using(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayListMultimap.java

            (multimap instanceof ArrayListMultimap)
                ? ((ArrayListMultimap<?, ?>) multimap).expectedValuesPerKey
                : DEFAULT_VALUES_PER_KEY);
        putAll(multimap);
      }
    
      /**
       * Creates a new, empty {@code ArrayList} to hold the collection of values for an arbitrary key.
       */
      @Override
      List<V> createCollection() {
        return new ArrayList<>(expectedValuesPerKey);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_operation.h

                                    int num_values) = 0;
      virtual Status SetAttrTypeList(const char* attr_name, const DataType* values,
                                     int num_values) = 0;
      virtual Status SetAttrBoolList(const char* attr_name,
                                     const unsigned char* values,
                                     int num_values) = 0;
      virtual Status SetAttrShapeList(const char* attr_name, const int64_t** dims,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

              fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException expected) {
            }
          }
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValueNullUnsupported() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          try {
            entry.setValue(null);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.9K bytes
    - Viewed (0)
Back to top