Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for udmMap (3.98 sec)

  1. src/index/suffixarray/sais.go

    // Having mapped the list back to LMS-substring indexes,
    // we can place those into the right buckets.
    func unmap_8_32(text []byte, sa []int32, numLMS int) {
    	unmap := sa[len(sa)-numLMS:]
    	j := len(unmap)
    
    	// "LMS-substring iterator" (see placeLMS_8_32 above).
    	c0, c1, isTypeS := byte(0), byte(0), false
    	for i := len(text) - 1; i >= 0; i-- {
    		c0, c1 = text[i], c0
    		if c0 < c1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/app/cmd.go

    				ip = v.IP
    			default:
    				continue
    			}
    
    			// handling ipv4 wrapping in ipv6
    			ipAddr, okay := netip.AddrFromSlice(ip)
    			if !okay {
    				continue
    			}
    			unwrapAddr := ipAddr.Unmap()
    			if !unwrapAddr.IsValid() || unwrapAddr.IsLoopback() || unwrapAddr.IsLinkLocalUnicast() || unwrapAddr.IsLinkLocalMulticast() || unwrapAddr.IsUnspecified() {
    				continue
    			}
    
    			// Add to map
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_executor.go

    			volumeToUnmount, actualStateOfWorld, podsDir)
    	} else {
    		// Block volume case
    		// Unmap a volume if a volume is mapped
    		generatedOperations, err = oe.operationGenerator.GenerateUnmapVolumeFunc(
    			volumeToUnmount, actualStateOfWorld)
    	}
    	if err != nil {
    		return err
    	}
    	// All volume plugins can execute unmount/unmap for multiple pods referencing the
    	// same volume in parallel
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. 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)
  5. pkg/volume/util/util.go

    	}
    
    	// unmap devicePath from pod volume path
    	unmapDeviceErr := blkUtil.UnmapDevice(podDeviceUnmapPath, volumeMapName, false /* bindMount */)
    	if unmapDeviceErr != nil {
    		return fmt.Errorf("blkUtil.DetachFileDevice failed. podDeviceUnmapPath:%s, volumeMapName: %s, bindMount: %v: %v",
    			podDeviceUnmapPath, volumeMapName, false, unmapDeviceErr)
    	}
    
    	// unmap devicePath from global node path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  6. pkg/volume/volume.go

    }
    
    // BlockVolumeUnmapper interface is an unmapper interface for block volume.
    type BlockVolumeUnmapper interface {
    	BlockVolume
    }
    
    // CustomBlockVolumeUnmapper interface provides custom methods to cleanup/unmap the volumes.
    type CustomBlockVolumeUnmapper interface {
    	BlockVolumeUnmapper
    	// TearDownDevice removes traces of the SetUpDevice procedure.
    	// If the plugin is non-attachable, this method detaches the volume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. pkg/volume/fc/fc_util.go

    	if pathExists, pathErr := mount.PathExists(path); pathErr != nil {
    		return pathExists, fmt.Errorf("error checking if path exists: %w", pathErr)
    	} else if !pathExists {
    		klog.Warningf("Warning: Unmap skipped because path does not exist: %v", path)
    		return pathExists, nil
    	}
    	return true, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  8. api/go1.18.txt

    pkg net/netip, method (Addr) Prefix(int) (Prefix, error)
    pkg net/netip, method (Addr) Prev() Addr
    pkg net/netip, method (Addr) String() string
    pkg net/netip, method (Addr) StringExpanded() string
    pkg net/netip, method (Addr) Unmap() Addr
    pkg net/netip, method (Addr) WithZone(string) Addr
    pkg net/netip, method (Addr) Zone() string
    pkg net/netip, method (AddrPort) Addr() Addr
    pkg net/netip, method (AddrPort) AppendTo([]uint8) []uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. src/syscall/syscall_unix.go

    		return EINVAL
    	}
    
    	// Find the base of the mapping.
    	p := &data[cap(data)-1]
    	m.Lock()
    	defer m.Unlock()
    	b := m.active[p]
    	if b == nil || &b[0] != &data[0] {
    		return EINVAL
    	}
    
    	// Unmap the memory and update m.
    	if errno := m.munmap(uintptr(unsafe.Pointer(&b[0])), uintptr(len(b))); errno != nil {
    		return errno
    	}
    	delete(m.active, p)
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/net/udpsock.go

    // ReadFromUDPAddrPort acts like ReadFrom but returns a netip.AddrPort.
    //
    // If c is bound to an unspecified address, the returned
    // netip.AddrPort's address might be an IPv4-mapped IPv6 address.
    // Use netip.Addr.Unmap to get the address without the IPv6 prefix.
    func (c *UDPConn) ReadFromUDPAddrPort(b []byte) (n int, addr netip.AddrPort, err error) {
    	if !c.ok() {
    		return 0, netip.AddrPort{}, syscall.EINVAL
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 16:58:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top