Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,593 for net (0.03 sec)

  1. src/cmd/go/internal/load/flag_test.go

    	// applies -S to net and net/http but not math
    	{
    		args: []string{"net/...=-S"},
    		pkgs: []ppfTestPackage{
    			{path: "net", flags: []string{"-S"}},
    			{path: "net/http", flags: []string{"-S"}},
    			{path: "math", flags: []string{}},
    		},
    	},
    
    	// -gcflags=net/...=-S -gcflags=-m net math
    	// applies -m to net and math and -S to other packages matching net/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:04:04 UTC 2017
    - 3.9K bytes
    - Viewed (0)
  2. .github/workflows/replication.yaml

              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make test-pbac
    
          - name: Test Config File
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make test-configfile
    
          - name: Test Replication
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/config/config_test.go

    // limitations under the License.
    
    package config
    
    import (
    	"net"
    	"net/netip"
    	"testing"
    )
    
    var tesrLocalIPAddrs = func(ips []netip.Addr) ([]net.Addr, error) {
    	var IPAddrs []net.Addr
    	for i := 0; i < len(ips); i++ {
    		var ipAddr net.Addr
    		ipNetAddr := &net.IPNet{IP: net.ParseIP(ips[i].String())}
    		ipAddr = ipNetAddr
    		IPAddrs = append(IPAddrs, ipAddr)
    	}
    	return IPAddrs, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/net/interface.go

    // wrapping the underlying net library function calls.
    type networkInterface struct{}
    
    func (_ networkInterface) InterfaceByName(intfName string) (*net.Interface, error) {
    	return net.InterfaceByName(intfName)
    }
    
    func (_ networkInterface) Addrs(intf *net.Interface) ([]net.Addr, error) {
    	return intf.Addrs()
    }
    
    func (_ networkInterface) Interfaces() ([]net.Interface, error) {
    	return net.Interfaces()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_indirect_nospace.txt

    cmp go.mod go.mod.direct
    
    -- go.mod --
    module example.net/m
    
    go 1.16
    
    require example.net/x v0.1.0 //indirect
    
    replace example.net/x v0.1.0 => ./x
    -- go.mod.direct --
    module example.net/m
    
    go 1.16
    
    require example.net/x v0.1.0
    
    replace example.net/x v0.1.0 => ./x
    -- m.go --
    package m
    import _ "example.net/x"
    
    -- x/go.mod --
    module example.net/x
    
    go 1.16
    -- x/x.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 04 20:18:55 UTC 2021
    - 516 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/list_std_vendor.txt

    # GOROOT/src.
    
    # Control case: net, viewed from outside the 'std' module,
    # should depend on vendor/golang.org/… instead of golang.org/….
    
    go list -deps net
    stdout '^vendor/golang.org/x/net'
    ! stdout '^golang.org/x/net'
    cp stdout $WORK/net-deps.txt
    
    
    # It should still report the same package dependencies when viewed from
    # within GOROOT/src.
    
    cd $GOROOT/src
    
    go list -deps net
    stdout '^vendor/golang.org/x/net'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 883 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_downgrade_missing.txt

    ! go get example.net/pkgadded@v1.1.0 example.net/pkgadded/subpkg/...
    stderr '^go: example.net/pkgadded@v1.1.0 conflicts with example.net/pkgadded/subpkg/...@upgrade \(v1.2.0\)$'
    ! stderr 'matched no packages'
    cmp go.mod.orig go.mod
    
    
    # A wildcard pattern should match the pattern with that path.
    
    go get example.net/pkgadded/...@v1.0.0
    go list -m all
    stdout '^example.net/pkgadded v1.0.0'
    cp go.mod.orig go.mod
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/net/interface.go

    	if index <= 0 {
    		return nil, &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: errInvalidInterfaceIndex}
    	}
    	ift, err := interfaceTable(index)
    	if err != nil {
    		return nil, &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: err}
    	}
    	ifi, err := interfaceByIndex(ift, index)
    	if err != nil {
    		err = &OpError{Op: "route", Net: "ip+net", Source: nil, Addr: nil, Err: err}
    	}
    	return ifi, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. pkg/proxy/util/testing/fake.go

    		NetworkInterfaces: make([]net.Interface, 0),
    		Address:           make(map[string][]net.Addr),
    	}
    }
    
    // AddInterfaceAddr create an interface and its associated addresses for FakeNetwork implementation.
    func (f *FakeNetwork) AddInterfaceAddr(intf *net.Interface, addrs []net.Addr) {
    	f.NetworkInterfaces = append(f.NetworkInterfaces, *intf)
    	f.Address[intf.Name] = addrs
    }
    
    // InterfaceAddrs is part of NetworkInterfacer interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 05 08:08:19 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  10. src/net/tcpsock_unix.go

    		return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    	if err := setKeepAliveInterval(c.fd, config.Interval); err != nil {
    		return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    	if err := setKeepAliveCount(c.fd, config.Count); err != nil {
    		return &OpError{Op: "set", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top