Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for iunmap (0.32 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        holderA.value = 3;
        assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableSortedMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testViewSerialization() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        holderA.value = 3;
        assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableSortedMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testViewSerialization() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        SortedMap<String, Integer> subMap = map.subMap("a", "b");
        assertTrue(subMap instanceof SynchronizedSortedMap);
        assertSame(mutex, ((SynchronizedSortedMap<String, Integer>) subMap).mutex);
      }
    
      public void testSubMap_K_B_K_B() {
        NavigableMap<String, Integer> map = create();
        NavigableMap<String, Integer> subMap = map.subMap("a", true, "b", false);
        assertTrue(subMap instanceof SynchronizedNavigableMap);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  4. cni/pkg/ipset/ipset.go

    	ipToInsert := ip.Unmap()
    
    	// We have already Unmap'd, so we can do a simple IsV6 y/n check now
    	if ipToInsert.Is6() {
    		return m.Deps.addIP(m.V6Name, ipToInsert, ipProto, comment, replace)
    	}
    	return m.Deps.addIP(m.V4Name, ipToInsert, ipProto, comment, replace)
    }
    
    func (m *IPSet) DeleteIP(ip netip.Addr, ipProto uint8) error {
    	ipToDel := ip.Unmap()
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeSet.java

        }
    
        private NavigableMap<Cut<C>, Range<C>> subMap(Range<Cut<C>> window) {
          if (window.isConnected(upperBoundWindow)) {
            return new RangesByUpperBound<>(rangesByLowerBound, window.intersection(upperBoundWindow));
          } else {
            return ImmutableSortedMap.of();
          }
        }
    
        @Override
        public NavigableMap<Cut<C>, Range<C>> subMap(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

        List<Feature<?>> features = new ArrayList<>();
        features.add(NoRecurse.SUBMAP);
        features.addAll(parentBuilder.getFeatures());
    
        return newBuilderUsing(delegate, to, from)
            .named(parentBuilder.getName() + " subMap " + from + "-" + to)
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        /**
         * Usually the same as map, but smaller for the headMap(), tailMap(), or subMap() of a
         * SortedAsMap.
         */
        final transient Map<K, Collection<V>> submap;
    
        AsMap(Map<K, Collection<V>> submap) {
          this.submap = submap;
        }
    
        @Override
        protected Set<Entry<K, Collection<V>>> createEntrySet() {
          return new AsMapEntries();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
            return map.subMap(firstExclusive, false, lastExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.INCLUSIVE) {
            return map.subMap(firstExclusive, false, lastInclusive, true);
          } else if (from == Bound.INCLUSIVE && to == Bound.INCLUSIVE) {
            return map.subMap(firstInclusive, true, lastInclusive, true);
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 7K bytes
    - Viewed (0)
  9. internal/logger/logonce.go

    // Holds a map of recently logged errors.
    type logOnceType struct {
    	IDMap map[string]onceErr
    	sync.Mutex
    }
    
    func (l *logOnceType) logOnceConsoleIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
    	if err == nil {
    		return
    	}
    
    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingSortedMap.java

      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        return delegate().lastKey();
      }
    
      @Override
      public SortedMap<K, V> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
        return delegate().subMap(fromKey, toKey);
      }
    
      @Override
      public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) {
        return delegate().tailMap(fromKey);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
Back to top