Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Munmap (0.19 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    		// bump start to next page
    		start = round(limit, pageSize)
    	}
    	return start, start + n
    }
    
    var memmap = mmap.Mmap
    var munmap = mmap.Munmap
    
    func (m *mappedFile) close() {
    	m.closeOnce.Do(func() {
    		if m.mapping != nil {
    			munmap(m.mapping)
    			m.mapping = nil
    		}
    		if m.f != nil {
    			m.f.Close() // best effort
    			m.f = nil
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		// DeleteOptions does not have these fields.
    		delete(inMap, "fieldManager")
    		delete(inMap, "fieldValidation")
    
    		// UpdateOptions does not have these fields.
    		delete(outMap, "gracePeriodSeconds")
    		delete(outMap, "preconditions")
    		delete(outMap, "orphanDependents")
    		delete(outMap, "propagationPolicy")
    
    		// Compare the results.
    		inBytes, err = json.Marshal(inMap)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. src/net/netip/inlining_test.go

    		"(*uint128).halves",
    		"Addr.BitLen",
    		"Addr.hasZone",
    		"Addr.Is4",
    		"Addr.Is4In6",
    		"Addr.Is6",
    		"Addr.IsInterfaceLocalMulticast",
    		"Addr.IsValid",
    		"Addr.IsUnspecified",
    		"Addr.Less",
    		"Addr.Unmap",
    		"Addr.Zone",
    		"Addr.v4",
    		"Addr.v6",
    		"Addr.v6u16",
    		"Addr.withoutZone",
    		"AddrPortFrom",
    		"AddrPort.Addr",
    		"AddrPort.Port",
    		"AddrPort.IsValid",
    		"Prefix.IsSingleIP",
    		"Prefix.Masked",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/net/netip/netip.go

    // IPv6 addresses.
    func (ip Addr) Is6() bool {
    	return ip.z != z0 && ip.z != z4
    }
    
    // Unmap returns ip with any IPv4-mapped IPv6 address prefix removed.
    //
    // That is, if ip is an IPv6 address wrapping an IPv4 address, it
    // returns the wrapped IPv4 address. Otherwise it returns ip unmodified.
    func (ip Addr) Unmap() Addr {
    	if ip.Is4In6() {
    		ip.z = z4
    	}
    	return ip
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  5. 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  7. pkg/ctrlz/ctrlz.go

    	allTopics = append(allTopics, coreTopics...)
    	allTopics = append(allTopics, customTopics...)
    	topicMutex.Unlock()
    
    	exec, _ := os.Executable()
    	instance := exec + " - " + getLocalIP()
    
    	funcs := template.FuncMap{
    		"getTopics": getTopics,
    		"normalize": normalize,
    	}
    
    	baseLayout := assets.ParseTemplate(template.New("base"), "templates/layouts/base.html")
    	baseLayout = baseLayout.Funcs(funcs)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/net/netip/netip_test.go

    	}
    	for _, tt := range tests {
    		got := tt.ip.Is4In6()
    		if got != tt.want {
    			t.Errorf("Is4In6(%q) = %v; want %v", tt.ip, got, tt.want)
    		}
    		u := tt.ip.Unmap()
    		if u != tt.wantUnmap {
    			t.Errorf("Unmap(%q) = %v; want %v", tt.ip, u, tt.wantUnmap)
    		}
    	}
    }
    
    func TestPrefixMasked(t *testing.T) {
    	tests := []struct {
    		prefix Prefix
    		masked Prefix
    	}{
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * Compares strings in natural order except that null comes immediately before a given value. This
       * works better than Ordering.natural().nullsFirst() because, if null comes before all other
       * values, it lies outside the submap/submultiset ranges we test, and the variety of tests that
       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/func.go

    	cachedSdom       SparseTree // cached dominator tree
    	cachedLoopnest   *loopnest  // cached loop nest information
    	cachedLineStarts *xposmap   // cached map/set of xpos to integers
    
    	auxmap    auxmap             // map from aux values to opaque ids used by CSE
    	constants map[int64][]*Value // constants cache, keyed by constant value; users must check value's Op and Type
    }
    
    type LocalSlotSplitKey struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top