- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 178 for Ln (0.18 sec)
-
src/internal/trace/testdata/testprog/stress-start-stop.go
go func() { time.Sleep(time.Millisecond) timerDone <- true }() <-timerDone // A bit of network. ln, err := net.Listen("tcp", "127.0.0.1:0") if err != nil { log.Fatalf("listen failed: %v", err) return } defer ln.Close() go func() { c, err := ln.Accept() if err != nil { return } time.Sleep(time.Millisecond) var buf [1]byte c.Write(buf[:])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.7K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/lds.go
} for _, name := range allNames { ln, ok := filter[name] if !ok { ln = listenerName{RequestedNames: sets.New[string]()} } ln.RequestedNames.Insert(requestedName) // only build the portmap if we aren't filtering this name yet, or if the existing filter is non-empty if hasPort && (!ok || len(ln.Ports) != 0) { if ln.Ports == nil { ln.Ports = map[string]struct{}{} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 14.6K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress.go
<-timerDone // A bit of network. ln, err := net.Listen("tcp", "127.0.0.1:0") if err != nil { log.Fatalf("listen failed: %v", err) } defer ln.Close() go func() { c, err := ln.Accept() if err != nil { return } time.Sleep(time.Millisecond) var buf [1]byte c.Write(buf[:]) c.Close() }() c, err := net.Dial("tcp", ln.Addr().String()) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
src/net/dial_unix_test.go
getsockoptIntFunc = oldGetsockoptIntFunc testHookCanceledDial = oldTestHookCanceledDial }() ln := newLocalListener(t, "tcp") listenerDone := make(chan struct{}) go func() { defer close(listenerDone) c, err := ln.Accept() if err == nil { c.Close() } }() defer func() { <-listenerDone }() defer ln.Close() sawCancel := make(chan bool, 1) testHookCanceledDial = func() { sawCancel <- true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 2.8K bytes - Viewed (0) -
test/ddd.go
println("intersum 10", x) panic("fail") } if x := intersum(1, 8); x != 9 { println("intersum 9", x) panic("fail") } if x := ln(nil, nil, nil); x != 3 { println("ln 3", x) panic("fail") } if x := ln([]T{}); x != 1 { println("ln 1", x) panic("fail") } if x := ln2(nil, nil, nil); x != 2*3 { println("ln2 3", x) panic("fail") } if x := ln2([]T{}); x != 2*1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 4.2K bytes - Viewed (0) -
src/net/unixsock_plan9.go
func (sd *sysDialer) dialUnix(ctx context.Context, laddr, raddr *UnixAddr) (*UnixConn, error) { return nil, syscall.EPLAN9 } func (ln *UnixListener) accept() (*UnixConn, error) { return nil, syscall.EPLAN9 } func (ln *UnixListener) close() error { return syscall.EPLAN9 } func (ln *UnixListener) file() (*os.File, error) { return nil, syscall.EPLAN9 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 29 23:57:04 UTC 2018 - 1.2K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh
# in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the # "pip" tests. python -m venv /$1 mkdir -p $1 rm -f ./$1/tensorflow ln -s $(ls /$1/lib) /$1/lib/python3 ln -s ../tensorflow $1/tensorflow # extglob is necessary for @(a|b) pattern matching # see "extglob" in the bash manual page ($ man bash) bash -O extglob -c "/$1/bin/pip install $2"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/filter.go
if m := loc.Mapping; m != nil && re.MatchString(m.File) { return nil } var lines []Line for _, ln := range loc.Line { if fn := ln.Function; fn != nil { if re.MatchString(fn.Name) || re.MatchString(fn.Filename) { continue } } lines = append(lines, ln) } return lines } // matchedLines returns the lines in the location that match // the regular expression.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 7.5K bytes - Viewed (0) -
src/net/writev_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 5K bytes - Viewed (0) -
cmd/kube-scheduler/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: Thu Aug 24 10:35:59 UTC 2023 - 5.2K bytes - Viewed (0)