- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 221 for addUse (0.06 sec)
-
internal/http/listener_test.go
t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err) } } addrs := listener.Addrs() addrSet := set.NewStringSet() for _, addr := range addrs { addrSet.Add(addr.String()) } if !addrSet.Equals(testCase.expectedAddrs) { t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddrs, addrs) } listener.Close() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm64error.s
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 08 03:28:17 UTC 2023 - 37.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/ppc64.s
//TODO: the assembler rewrites these into ADDIS $19, R5, Rx and ADD $-10617, Rx, Rx, but the test only sees the first ADDIS ADD $1234567, R5 // 3ca50013 or 0600001238a5d687 ADD $1234567, R5, R6 // 3cc50013 or 0600001238c5d687 ADDEX R3, R5, $3, R6 // 7cc32f54 ADDEX R3, $3, R5, R6 // 7cc32f54 ADDIS $8, R3 // 3c630008
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 13:14:38 UTC 2024 - 51K bytes - Viewed (0) -
src/archive/zip/writer.go
w.compressors = make(map[uint16]Compressor) } w.compressors[method] = comp } // AddFS adds the files from fs.FS to the archive. // It walks the directory tree starting at the root of the filesystem // adding each file to the zip using deflate while maintaining the directory structure. func (w *Writer) AddFS(fsys fs.FS) error { return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm64enc.s
ADD R25<<54, R17, R16 // 30da198b ADDSW R12.SXTX<<1, R29, R7 // a7e72c2b ADDS R24.UXTX<<4, R25, R21 // 357338ab ADDSW $(3525<<12), R3, R11 // ADDSW $14438400, R3, R11 // 6b147731 ADDS $(3525<<12), R3, R11 // ADDS $14438400, R3, R11 // 6b1477b1 ADDSW R7->22, R14, R13 // cd59872b ADDS R14>>7, ZR, R4 // e41f4eab
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Jul 24 01:11:41 UTC 2023 - 43.9K bytes - Viewed (0) -
internal/http/server_test.go
server := NewServer(testCase.addrs). UseHandler(testCase.handler) if testCase.certFn != nil { server = server.UseTLSConfig(&tls.Config{ PreferServerCipherSuites: true, GetCertificate: testCase.certFn, }) } if server == nil { t.Fatalf("Case %v: server: expected: <non-nil>, got: <nil>", (i + 1)) } else if !reflect.DeepEqual(server.Addrs, testCase.addrs) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/http/listener.go
tcpAddr.IP = ip } addr = tcpAddr return addr } // Addrs - returns all address information of TCP listeners. func (listener *httpListener) Addrs() (addrs []net.Addr) { for i := range listener.listeners { addrs = append(addrs, listener.listeners[i].Addr()) } return addrs } // TCPOptions specify customizable TCP optimizations on raw socket type TCPOptions struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5.6K bytes - Viewed (0) -
internal/http/server.go
func (srv *Server) UseTCPOptions(opts TCPOptions) *Server { srv.TCPOptions = opts return srv } // NewServer - creates new HTTP server using given arguments. func NewServer(addrs []string) *Server { httpServer := &Server{ Addrs: addrs, } // This is not configurable for now. httpServer.MaxHeaderBytes = DefaultMaxHeaderBytes return httpServer }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
} func retrieveEndpointAddresses(ep *endpoint.LbEndpoint) []string { addrs := []*core.Address{ep.GetEndpoint().GetAddress()} for _, a := range ep.GetEndpoint().GetAdditionalAddresses() { addrs = append(addrs, a.GetAddress()) } result := make([]string, 0, len(addrs)) for _, addr := range addrs { if addr := addr.GetSocketAddress(); addr != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 09:57:29 UTC 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/repair/netns.go
if interfaces, err = net.Interfaces(); err != nil { return false, fmt.Errorf("failed to get interfaces") } for _, ief := range interfaces { var addrs []net.Addr if addrs, err = ief.Addrs(); err != nil { return } for _, addr := range addrs { switch v := addr.(type) { case *net.IPNet: if v.IP.Equal(targetAddr) { return true, nil } } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.3K bytes - Viewed (0)