Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for resetMap (0.16 sec)

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

        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
      @MapFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        Entry<K, V>[] entries = getEntriesMultipleNonNullKeys();
        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
      @MapFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        Entry<K, V>[] entries = getEntriesMultipleNonNullKeys();
        assertThrows(IllegalArgumentException.class, () -> resetMap(entries));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return getMap().entrySet();
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected final void resetMap() {
        resetContainer();
      }
    
      protected void resetMap(Entry<K, V>[] entries) {
        resetContainer(getSubjectGenerator().create((Object[]) entries));
      }
    
      protected void expectMissingKeys(K... elements) {
        for (K element : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      @Override
      protected Collection<Entry<K, V>> actualContents() {
        return getMap().entrySet();
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected final void resetMap() {
        resetContainer();
      }
    
      protected void resetMap(Entry<K, V>[] entries) {
        resetContainer(getSubjectGenerator().create((Object[]) entries));
      }
    
      protected void expectMissingKeys(K... elements) {
        for (K element : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      @SuppressWarnings("unchecked") // Needed to stop Eclipse whining
      private void resetWithHole() {
        Entry<K, V>[] entries = (Entry<K, V>[]) new Entry<?, ?>[] {a, c};
        super.resetMap(entries);
        navigableMap = (NavigableMap<K, V>) getMap();
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapFirst() {
        assertNull(navigableMap.firstEntry());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.h

    // TODO(b/166642410): It would be nice, for custom devices and for other users,
    // to have a non-string representation of devices (TF_Device) extracted from
    // tensors/ops/etc. and usable in APIs like OpSetDevice/ResetOp/etc.
    
    #define TFE_CUSTOM_DEVICE_VERSION 4
    
    // Struct to be filled in. Functions are required except where indicated.
    typedef struct TFE_CustomDevice {
      int version = TFE_CUSTOM_DEVICE_VERSION;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top