- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 178 for Ln (0.05 sec)
-
src/crypto/tls/tls_test.go
t.Error("Load of ECDSA certificate succeeded with RSA private key") } } func newLocalListener(t testing.TB) net.Listener { ln, err := net.Listen("tcp", "127.0.0.1:0") if err != nil { ln, err = net.Listen("tcp6", "[::1]:0") } if err != nil { t.Fatal(err) } return ln } func TestDialTimeout(t *testing.T) { if testing.Short() { t.Skip("skipping in short mode") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0) -
docs/de/docs/how-to/separate-openapi-schemas.md
# Code unterhalb weggelassen ๐ ``` <details> <summary>๐ Vollstรคndige Dateivorschau</summary> ```Python {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py!} ``` </details> === "Python 3.8+" ```Python hl_lines="16" {!> ../../../docs_src/separate_openapi_schemas/tutorial001.py[ln:1-17]!}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:18:03 UTC 2024 - 7.3K bytes - Viewed (0) -
pkg/kubelet/prober/scale_test.go
func newFakePod(httpServer bool) (*fakePod, error) { ln, err := net.Listen("tcp", "127.0.0.1:0") if err != nil { return nil, fmt.Errorf("failed to bind: %v", err) } f := &fakePod{ln: ln, http: httpServer} // spawn an http server or a TCP server that counts the number of connections received if httpServer { var mu sync.Mutex visitors := map[string]struct{}{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 16:33:01 UTC 2023 - 8.2K bytes - Viewed (0) -
cmd/kube-controller-manager/app/testing/testserver.go
} func createListenerOnFreePort() (net.Listener, int, error) { ln, err := net.Listen("tcp", ":0") if err != nil { return nil, 0, err } // get port tcpAddr, ok := ln.Addr().(*net.TCPAddr) if !ok { ln.Close() return nil, 0, fmt.Errorf("invalid listen address: %q", ln.Addr().String()) } return ln, tcpAddr.Port, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 11:28:02 UTC 2023 - 5.4K bytes - Viewed (0) -
src/net/server_test.go
ls.teardown() } }() for i := 0; i < N; i++ { ls := (&streamListener{Listener: ln}).newLocalServer() lss = append(lss, ls) tpchs = append(tpchs, make(chan error, 1)) } for i := 0; i < N; i++ { ch := tpchs[i] handler := func(ls *localServer, ln Listener) { ls.transponder(ln, ch) } if err := lss[i].buildup(handler); err != nil { t.Fatal(err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 11.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/server_test.go
if len(network) == 0 { network = "tcp" } ln, err := net.Listen(network, addr) if err != nil { return nil, 0, fmt.Errorf("failed to listen on %v: %v", addr, err) } // get port tcpAddr, ok := ln.Addr().(*net.TCPAddr) if !ok { ln.Close() return nil, 0, fmt.Errorf("invalid listen address: %q", ln.Addr().String()) } return ln, tcpAddr.Port, nil } type nullCAContent struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 18:29:15 UTC 2021 - 6K bytes - Viewed (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
# Code below omitted ๐ ``` <details> <summary>๐ Full file preview</summary> ```Python {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py310.py!} ``` </details> === "Python 3.9+" ```Python hl_lines="16" {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py[ln:1-17]!} # Code below omitted ๐
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 6.7K bytes - Viewed (0) -
src/math/big/ratmarsh.go
} b := buf[0] if b>>1 != ratGobVersion { return fmt.Errorf("Rat.GobDecode: encoding version %d not supported", b>>1) } const j = 1 + 4 ln := byteorder.BeUint32(buf[j-4 : j]) if uint64(ln) > math.MaxInt-j { return errors.New("Rat.GobDecode: invalid length") } i := j + int(ln) if len(buf) < i { return errors.New("Rat.GobDecode: buffer too small") } z.a.neg = b&1 != 0 z.a.abs = z.a.abs.setBytes(buf[j:i])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 2.2K bytes - Viewed (0) -
src/vendor/golang.org/x/net/nettest/nettest.go
if _, err := RoutedInterface("ip4", net.FlagUp); err == nil { ipv4Enabled = true } if ln, err := net.Listen("tcp4", "127.0.0.1:0"); err == nil { ln.Close() canListenTCP4OnLoopback = true } if _, err := RoutedInterface("ip6", net.FlagUp); err == nil { ipv6Enabled = true } if ln, err := net.Listen("tcp6", "[::1]:0"); err == nil { ln.Close() canListenTCP6OnLoopback = true } rawSocketSess = supportsRawSocket()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.5K bytes - Viewed (0) -
hack/lib/init.sh
" export KUBE_NONSERVER_GROUP_VERSIONS # This emulates "readlink -f" which is not available on MacOS X. # Test: # T=/tmp/$$.$RANDOM # mkdir $T # touch $T/file # mkdir $T/dir # ln -s $T/file $T/linkfile # ln -s $T/dir $T/linkdir # function testone() { # X=$(readlink -f $1 2>&1) # Y=$(kube::readlinkdashf $1 2>&1) # if [ "$X" != "$Y" ]; then # echo readlinkdashf $1: expected "$X", got "$Y" # fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:18:38 UTC 2024 - 6.2K bytes - Viewed (0)