- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 531 for Poll (0.04 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go
} // Poll tries a condition func until it returns true, an error, or the timeout // is reached. // // Poll always waits the interval before the run of 'condition'. // 'condition' will always be invoked at least once. // // Some intervals may be missed if the condition takes too long or the time // window is too short. // // If you want to Poll something forever, see PollInfinite. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 26 06:13:35 UTC 2023 - 14K bytes - Viewed (0) -
src/os/file_wasip1.go
// license that can be found in the LICENSE file. //go:build wasip1 package os import "internal/poll" // PollFD returns the poll.FD of the file. // // Other packages in std that also import internal/poll (such as net) // can use a type assertion to access this extension method so that // they can pass the *poll.FD to functions like poll.Splice. // // There is an equivalent function in net.rawConn. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:12:41 UTC 2023 - 633 bytes - Viewed (0) -
src/internal/poll/splice_linux_test.go
for i := 0; i < b.N; i++ { p, err := poll.GetPipe() if err != nil { continue } poll.PutPipe(p) } }) b.Run("SplicePipeWithoutPool", func(b *testing.B) { for i := 0; i < b.N; i++ { p := poll.NewPipe() if p == nil { b.Skip("newPipe returned nil") } poll.DestroyPipe(p) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 2.8K bytes - Viewed (0) -
src/net/main_windows_test.go
package net import "internal/poll" var ( // Placeholders for saving original socket system calls. origWSASocket = wsaSocketFunc origClosesocket = poll.CloseFunc origConnect = connectFunc origConnectEx = poll.ConnectExFunc origListen = listenFunc origAccept = poll.AcceptFunc ) func installTestHooks() { wsaSocketFunc = sw.WSASocket poll.CloseFunc = sw.Closesocket
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:36:30 UTC 2023 - 1K bytes - Viewed (0) -
src/os/file_open_wasip1.go
// license that can be found in the LICENSE file. //go:build wasip1 package os import ( "internal/poll" "syscall" ) func open(filePath string, flag int, perm uint32) (int, poll.SysFile, error) { if filePath == "" { return -1, poll.SysFile{}, syscall.EINVAL } absPath := filePath // os.(*File).Chdir is emulated by setting the working directory to the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 23:34:21 UTC 2023 - 818 bytes - Viewed (0) -
src/net/main_unix_test.go
socketFunc = sw.Socket poll.CloseFunc = sw.Close connectFunc = sw.Connect listenFunc = sw.Listen poll.AcceptFunc = sw.Accept getsockoptIntFunc = sw.GetsockoptInt for _, fn := range extraTestHookInstallers { fn() } } func uninstallTestHooks() { socketFunc = origSocket poll.CloseFunc = origClose connectFunc = origConnect listenFunc = origListen poll.AcceptFunc = origAccept
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 1.2K bytes - Viewed (0) -
src/internal/poll/export_posix_test.go
// license that can be found in the LICENSE file. //go:build unix || windows // Export guts for testing on posix. // Since testing imports os and os imports internal/poll, // the internal/poll tests can not be in package poll. package poll func (fd *FD) EOFError(n int, err error) error { return fd.eofError(n, err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 432 bytes - Viewed (0) -
src/internal/poll/export_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Export guts for testing. // Since testing imports os and os imports internal/poll, // the internal/poll tests can not be in package poll. package poll var Consume = consume type XFDMutex struct { fdMutex } func (mu *XFDMutex) Incref() bool { return mu.incref() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 714 bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 10 12:58:10 UTC 2024 - 18.9K bytes - Viewed (0) -
src/net/file_unix.go
//go:build unix package net import ( "internal/poll" "os" "syscall" ) func dupSocket(f *os.File) (int, error) { s, call, err := poll.DupCloseOnExec(int(f.Fd())) if err != nil { if call != "" { err = os.NewSyscallError(call, err) } return -1, err } if err := syscall.SetNonblock(s, true); err != nil { poll.CloseFunc(s) return -1, os.NewSyscallError("setnonblock", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 2.5K bytes - Viewed (0)