Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 133 for raddr (0.15 sec)

  1. src/net/unixsock_windows_test.go

    	if !windows.SupportUnixSocket() {
    		t.Skip("unix test")
    	}
    	handler := func(ls *localServer, ln Listener) {}
    	for _, laddr := range []string{"", testUnixAddr(t)} {
    		laddr := laddr
    		taddr := testUnixAddr(t)
    		ta, err := ResolveUnixAddr("unix", taddr)
    		if err != nil {
    			t.Fatal(err)
    		}
    		ln, err := ListenUnix("unix", ta)
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:24:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/internal/objfile/elf.go

    			addr = s.Value
    		} else if s.Name == end {
    			eaddr = s.Value
    		}
    		if addr != 0 && eaddr != 0 {
    			break
    		}
    	}
    	if addr == 0 || eaddr < addr {
    		return nil
    	}
    	size := eaddr - addr
    	data := make([]byte, size)
    	for _, prog := range f.elf.Progs {
    		if prog.Vaddr <= addr && addr+size-1 <= prog.Vaddr+prog.Filesz-1 {
    			if _, err := prog.ReadAt(data, int64(addr-prog.Vaddr)); err != nil {
    				return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 20:44:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/net/file_plan9.go

    		if err != nil {
    			return nil, err
    		}
    		defer close(int(ctl.Fd()))
    	}
    	dir := netdir + "/" + comp[1] + "/" + name
    	laddr, err := readPlan9Addr(comp[1], dir+"/local")
    	if err != nil {
    		return nil, err
    	}
    	return newFD(comp[1], name, nil, ctl, nil, laddr, nil)
    }
    
    func fileConn(f *os.File) (Conn, error) {
    	fd, err := newFileFD(f)
    	if err != nil {
    		return nil, err
    	}
    	if !fd.ok() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/PropertyConfiguration.java

            this.netbiosScope = p.getProperty("jcifs.netbios.scope");
            this.netbiosLocalPort = Config.getInt(p, "jcifs.netbios.lport", 0);
            this.netbiosLocalAddress = Config.getInetAddress(p, "jcifs.netbios.laddr", null);
    
            this.lmhostsFilename = p.getProperty("jcifs.netbios.lmhosts");
            this.winsServer = Config.getInetAddressArray(p, "jcifs.netbios.wins", ",", new InetAddress[0]);
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. src/net/server_test.go

    	{snet: "udp", saddr: "0.0.0.0:0", tnet: "udp", taddr: "::1"},
    	{snet: "udp", saddr: "[::ffff:0.0.0.0]:0", tnet: "udp", taddr: "::1"},
    	{snet: "udp", saddr: "[::]:0", tnet: "udp", taddr: "127.0.0.1"},
    
    	{snet: "udp", saddr: ":0", tnet: "udp4", taddr: "127.0.0.1"},
    	{snet: "udp", saddr: "0.0.0.0:0", tnet: "udp4", taddr: "127.0.0.1"},
    	{snet: "udp", saddr: "[::ffff:0.0.0.0]:0", tnet: "udp4", taddr: "127.0.0.1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  6. src/net/unixsock_linux_test.go

    package net
    
    import (
    	"bytes"
    	"reflect"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func TestUnixgramAutobind(t *testing.T) {
    	laddr := &UnixAddr{Name: "", Net: "unixgram"}
    	c1, err := ListenUnixgram("unixgram", laddr)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer c1.Close()
    
    	// retrieve the autobind address
    	autoAddr := c1.LocalAddr().(*UnixAddr)
    	if len(autoAddr.Name) <= 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 03:00:34 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/validation/vld_unix.go

    			return
    		}
    		// See struct sockaddr_in
    		daddr = net.IPv4(
    			addr.Addr.Addr[0], addr.Addr.Addr[1], addr.Addr.Addr[2], addr.Addr.Addr[3])
    	} else {
    		addr, err = unix.GetsockoptIPv6MTUInfo(
    			int(fd), unix.IPPROTO_IPV6,
    			constants.SoOriginalDst)
    		if err != nil {
    			log.Errorf("Error to ipv6 getsockopt: %v", err)
    			return
    		}
    		// See struct sockaddr_in6
    		daddr = addr.Addr.Addr[:]
    	}
    	// See sockaddr_in6 and sockaddr_in
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         * 
         * @return local port to use for outgoing connections
         */
        int getLocalPort ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.laddr</tt> (string)
         * 
         * @return local address to use for outgoing connections
         */
        InetAddress getLocalAddr ();
    
    
        /**
         * 
         * Property <tt>jcifs.netbios.hostname</tt> (string)
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. test/fixedbugs/bug139.go

    package main
    
    func main() {
    	x := false;
    	func () { if x          { println(1); } }();  // this does not compile
    	func () { if x == false { println(2); } }();  // this works as expected
    }
    
    /*
    bug139.go:7: fatal error: naddr: ONAME class x 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 416 bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/externalcontrolplane-using-ip-addr.yaml

    Michael Weiner <******@****.***> 1697542898 -0500
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 11:41:38 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top