Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 155 for sigaddr (0.12 sec)

  1. src/net/sockopt_posix.go

    	if ifi == nil {
    		return IPv4zero, nil
    	}
    	ifat, err := ifi.Addrs()
    	if err != nil {
    		return nil, err
    	}
    	for _, ifa := range ifat {
    		switch v := ifa.(type) {
    		case *IPAddr:
    			if v.IP.To4() != nil {
    				return v.IP, nil
    			}
    		case *IPNet:
    			if v.IP.To4() != nil {
    				return v.IP, nil
    			}
    		}
    	}
    	return nil, errNoSuchInterface
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loong64/asm.go

    		pc := ldr.SymValue(s) + int64(r.Off())
    		t := calculatePCAlignedReloc(r.Type(), ldr.SymAddr(rs)+r.Add(), pc)
    		if r.Type() == objabi.R_LOONG64_ADDR_LO {
    			return int64(val&0xffc003ff | (t << 10)), noExtReloc, isOk
    		}
    		return int64(val&0xfe00001f | (t << 5)), noExtReloc, isOk
    	case objabi.R_LOONG64_TLS_LE_HI,
    		objabi.R_LOONG64_TLS_LE_LO:
    		t := ldr.SymAddr(rs) + r.Add()
    		if r.Type() == objabi.R_LOONG64_TLS_LE_LO {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/syscall/zsysnum_dragonfly_amd64.go

    	SYS_SHMAT                  = 228 // { caddr_t shmat(int shmid, const void *shmaddr, \
    	SYS_SHMCTL                 = 229 // { int shmctl(int shmid, int cmd, \
    	SYS_SHMDT                  = 230 // { int shmdt(const void *shmaddr); }
    	SYS_SHMGET                 = 231 // { int shmget(key_t key, size_t size, int shmflg); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 22.9K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_metrics_test.go

    	for _, tc := range tests {
    		metricsGetter := &metricsCsi{volumeID: tc.volumeID, targetPath: tc.targetPath}
    		metricsGetter.csiClient = &csiDriverClient{
    			driverName: "com.google.gcepd",
    			nodeV1ClientCreator: func(addr csiAddr, m *MetricsManager) (csipbv1.NodeClient, io.Closer, error) {
    				nodeClient := fake.NewNodeClientWithVolumeStats(true /* VolumeStatsCapable */)
    				fakeCloser := fake.NewCloser(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/net/cgo_unix.go

    		}
    		switch *_C_ai_family(r) {
    		case _C_AF_INET:
    			sa := (*syscall.RawSockaddrInet4)(unsafe.Pointer(*_C_ai_addr(r)))
    			addr := IPAddr{IP: copyIP(sa.Addr[:])}
    			addrs = append(addrs, addr)
    		case _C_AF_INET6:
    			sa := (*syscall.RawSockaddrInet6)(unsafe.Pointer(*_C_ai_addr(r)))
    			addr := IPAddr{IP: copyIP(sa.Addr[:]), Zone: zoneCache.name(int(sa.Scope_id))}
    			addrs = append(addrs, addr)
    		}
    	}
    	return addrs, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_client.go

    	NodeSupportsVolumeMountGroup(ctx context.Context) (bool, error)
    }
    
    // Strongly typed address
    type csiAddr string
    
    // Strongly typed driver name
    type csiDriverName string
    
    // csiClient encapsulates all csi-plugin methods
    type csiDriverClient struct {
    	driverName          csiDriverName
    	addr                csiAddr
    	metricsManager      *MetricsManager
    	nodeV1ClientCreator nodeV1ClientCreator
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 20 10:15:36 UTC 2022
    - 22.1K bytes
    - Viewed (0)
  7. src/runtime/defs_darwin_arm64.go

    	sa_mask       uint32
    	sa_flags      int32
    }
    
    type siginfo struct {
    	si_signo  int32
    	si_errno  int32
    	si_code   int32
    	si_pid    int32
    	si_uid    uint32
    	si_status int32
    	si_addr   *byte
    	si_value  [8]byte
    	si_band   int64
    	__pad     [7]uint64
    }
    
    type timeval struct {
    	tv_sec    int64
    	tv_usec   int32
    	pad_cgo_0 [4]byte
    }
    
    func (tv *timeval) set_usec(x int32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/net/lookup_test.go

    	return strings.HasSuffix(strings.ToLower(s), strings.ToLower(suffix))
    }
    
    func lookupLocalhost(ctx context.Context, fn func(context.Context, string, string) ([]IPAddr, error), network, host string) ([]IPAddr, error) {
    	switch host {
    	case "localhost":
    		return []IPAddr{
    			{IP: IPv4(127, 0, 0, 1)},
    			{IP: IPv6loopback},
    		}, nil
    	default:
    		return fn(ctx, network, host)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. pkg/proxy/util/nodeport_addresses.go

    	addresses := make(map[string]net.IP)
    	for _, cidr := range npa.cidrs {
    		for _, addr := range addrs {
    			var ip net.IP
    			// nw.InterfaceAddrs may return net.IPAddr or net.IPNet on windows, and it will return net.IPNet on linux.
    			switch v := addr.(type) {
    			case *net.IPAddr:
    				ip = v.IP
    			case *net.IPNet:
    				ip = v.IP
    			default:
    				continue
    			}
    
    			if cidr.Contains(ip) {
    				addresses[ip.String()] = ip
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/runtime/defs_freebsd_amd64.go

    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type siginfo struct {
    	si_signo  int32
    	si_errno  int32
    	si_code   int32
    	si_pid    int32
    	si_uid    uint32
    	si_status int32
    	si_addr   uint64
    	si_value  [8]byte
    	_reason   [40]byte
    }
    
    type mcontext struct {
    	mc_onstack       uint64
    	mc_rdi           uint64
    	mc_rsi           uint64
    	mc_rdx           uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top