- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for addr1 (0.06 sec)
-
src/net/http/serve_test.go
})) if _, err := cst.c.Head(cst.ts.URL); err != nil { t.Fatal(err) } host := cst.ts.Listener.Addr().String() got := <-ch if addr, ok := got.(net.Addr); !ok { t.Errorf("local addr value = %T; want net.Addr", got) } else if fmt.Sprint(addr) != host { t.Errorf("local addr = %v; want %v", addr, host) } } // https://golang.org/issue/15960
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/net/http/server.go
func (srv *Server) ListenAndServe() error { if srv.shuttingDown() { return ErrServerClosed } addr := srv.Addr if addr == "" { addr = ":http" } ln, err := net.Listen("tcp", addr) if err != nil { return err } return srv.Serve(ln) } var testHookServerServe func(*Server, net.Listener) // used if non-nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
pkg/config/validation/validation.go
if strings.HasPrefix(addr, UnixAddressPrefix) { unixEndpoint = true errs = AppendValidation(errs, ValidateUnixAddress(strings.TrimPrefix(addr, UnixAddressPrefix))) if len(we.Ports) != 0 { errs = AppendValidation(errs, fmt.Errorf("unix endpoint %s must not include ports", addr)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
%island1:3 = tf_executor.island { %add1 = "tf.Add"(%arg0, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32> %add2 = "tf.Add"(%add1, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32> %res = "tf.Print"(%add2) { message = "add result" } : (tensor<*xi32>) -> (tensor<*xi32>) tf_executor.yield %add1, %add2 : tensor<*xi32>, tensor<*xi32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
count += len(ss.Addresses) for i := range ss.Addresses { if len(list) == max { more = true // the next loop is redundant break } addr := &ss.Addresses[i] hostPort := net.JoinHostPort(addr.IP, strconv.Itoa(int(port.Port))) list = append(list, hostPort) } } } } ret := strings.Join(list, ",") if more {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0)