Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for udmMap (2.52 sec)

  1. 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)
  2. pilot/pkg/util/network/ip.go

    				ip = v.IP
    			default:
    				continue
    			}
    			ipAddr, okay := netip.AddrFromSlice(ip)
    			if !okay {
    				continue
    			}
    			// unwrap the IPv4-mapped IPv6 address
    			unwrapAddr := ipAddr.Unmap()
    			if !unwrapAddr.IsValid() || unwrapAddr.IsLoopback() || unwrapAddr.IsLinkLocalUnicast() || unwrapAddr.IsLinkLocalMulticast() {
    				continue
    			}
    			if unwrapAddr.IsUnspecified() {
    				ok = false
    				continue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 21:27:21 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. pkg/volume/util/volumepathhandler/volume_path_handler.go

    func (v VolumePathHandler) UnmapDevice(mapPath string, linkName string, bindMount bool) error {
    	if len(mapPath) == 0 {
    		return fmt.Errorf("failed to unmap device from map path. mapPath is empty")
    	}
    	klog.V(5).Infof("UnmapDevice: mapPath %s", mapPath)
    	klog.V(5).Infof("UnmapDevice: linkName %s", linkName)
    
    	if bindMount {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. src/index/suffixarray/sais2.go

    			// Populate inverse map.
    			j--
    			unmap[j] = int64(i + 1)
    		}
    	}
    
    	// Apply inverse map to subproblem suffix array.
    	sa = sa[:numLMS]
    	for i := 0; i < len(sa); i++ {
    		sa[i] = unmap[sa[i]]
    	}
    }
    
    func unmap_32(text []int32, sa []int32, numLMS int) {
    	unmap := sa[len(sa)-numLMS:]
    	j := len(unmap)
    
    	// "LMS-substring iterator" (see placeLMS_32 above).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  5. src/go/ast/commentmap.go

    // entries of cmap for which a corresponding node exists in
    // the AST specified by node.
    func (cmap CommentMap) Filter(node Node) CommentMap {
    	umap := make(CommentMap)
    	Inspect(node, func(n Node) bool {
    		if g := cmap[n]; len(g) > 0 {
    			umap[n] = g
    		}
    		return true
    	})
    	return umap
    }
    
    // Comments returns the list of comment groups in the comment map.
    // The result is sorted in source order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/runtime/mem_linux.go

    		fallthrough
    	case madviseUnsupported:
    		// Since Linux 3.18, support for madvise is optional.
    		// Fall back on mmap if it's not supported.
    		// _MAP_ANON|_MAP_FIXED|_MAP_PRIVATE will unmap all the
    		// pages in the old mapping, and remap the memory region.
    		mmap(v, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_FIXED|_MAP_PRIVATE, -1, 0)
    	}
    
    	if debug.harddecommit > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. pilot/pkg/util/network/ip_test.go

    	if err != nil || len(ips) == 0 {
    		t.Fatalf("Test setup failure - unable to determine IP of localhost: %v", err)
    	}
    	var ret string
    	for _, ip := range ips {
    		// unwrap the IPv4-mapped IPv6 address
    		unwrapIP := ip.Unmap()
    		if unwrapIP.Is6() {
    			ret = fmt.Sprintf("[%s]", unwrapIP.String())
    		} else {
    			return unwrapIP.String()
    		}
    	}
    	return ret
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 08 16:24:15 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/dwarf.go

    	// FIXME: this seems clunky, maybe there is a better way to do this.
    
    	if ts, ok := d.rtmap[symIdx]; ok {
    		if def, ok := d.tdmap[ts]; ok {
    			return def
    		}
    		d.linkctxt.Errorf(ts, "internal error: no entry for sym %d in tdmap\n", ts)
    		return 0
    	}
    	d.linkctxt.Errorf(symIdx, "internal error: no entry for sym %d in rtmap\n", symIdx)
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/config/config.go

    		if ipnet, ok := a.(*net.IPNet); ok {
    			ip := ipnet.IP
    			ipAddr, ok := netip.AddrFromSlice(ip)
    			if !ok {
    				continue
    			}
    			// unwrap the IPv4-mapped IPv6 address
    			unwrapAddr := ipAddr.Unmap()
    			if !unwrapAddr.IsLoopback() && !unwrapAddr.IsLinkLocalUnicast() && !unwrapAddr.IsLinkLocalMulticast() {
    				isIPv6 = unwrapAddr.Is6()
    				ipAddrs = append(ipAddrs, unwrapAddr)
    				if !dualStack {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_executor_test.go

    	}
    
    	// Assert
    	if !isOperationRunConcurrently(ch, quit, numNonAttachableVolumesToUnmap+numAttachableVolumesToUnmap) {
    		t.Fatalf("Unable to start unmap operations concurrently for volume plugins")
    	}
    }
    
    func TestOperationExecutor_UnmountDeviceConcurrently_VolumeMode_Block(t *testing.T) {
    	t.Parallel()
    
    	// Arrange
    	ch, quit, oe := setup()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top