Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for iunmap (0.22 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * This method returns a {@code ImmutableSortedMap}, consisting of the entries whose keys ranges
       * from {@code fromKey}, inclusive, to {@code toKey}, exclusive.
       *
       * <p>The {@link SortedMap#subMap} documentation states that a submap of a submap throws an {@link
       * IllegalArgumentException} if passed a {@code fromKey} less than an earlier {@code fromKey}.
       * However, this method doesn't throw an exception in that situation, but instead keeps the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        @Override
        public NavigableMap<K, V2> subMap(
            @ParametricNullness K fromKey,
            boolean fromInclusive,
            @ParametricNullness K toKey,
            boolean toInclusive) {
          return transformEntries(
              fromMap().subMap(fromKey, fromInclusive, toKey, toInclusive), transformer);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        holderA.value = 3;
        assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableMap.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: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    }
    
    // GetDisksID will return disks by their ID.
    func (z *erasureServerPools) GetDisksID(ids ...string) []StorageAPI {
    	idMap := make(map[string]struct{})
    	for _, id := range ids {
    		idMap[id] = struct{}{}
    	}
    	res := make([]StorageAPI, 0, len(idMap))
    	for _, s := range z.serverPools {
    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    		poolsMatches := re.FindAllStringSubmatch(poolsArgs, -1)
    
    		anonPools = make([]string, len(poolsMatches))
    		idxMap := map[int]string{
    			1: "spfx",
    			3: "ssfx",
    		}
    		for pi, poolsMatch := range poolsMatches {
    			// Replace the server prefix/suffix with anonymized ones
    			for idx, lbl := range idxMap {
    				if len(poolsMatch[idx]) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top