- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 490 for closeFD (0.11 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryConcurrencyTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 4K bytes - Viewed (0) -
src/encoding/hex/hex.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:30:23 UTC 2024 - 9.5K bytes - Viewed (0) -
src/os/exec/exec_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/hooks.go
type PostStartHookContext struct { // LoopbackClientConfig is a config for a privileged loopback connection to the API server LoopbackClientConfig *restclient.Config // StopCh is the channel that will be closed when the server stops. // // Deprecated: use the PostStartHookContext itself instead, it contains a context that // gets cancelled when the server stops. StopCh keeps getting provided for existing code. StopCh <-chan struct{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 8K bytes - Viewed (0) -
src/crypto/tls/conn.go
} return n, nil } // Close closes the connection. func (c *Conn) Close() error { // Interlock with Conn.Write above. var x int32 for { x = c.activeCall.Load() if x&1 != 0 { return net.ErrClosed } if c.activeCall.CompareAndSwap(x, x|1) { break } } if x != 0 { // io.Writer and io.Closer should not be used concurrently.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
pilot/pkg/server/instance_test.go
} }) } } type reclosableChannel struct { c chan struct{} closed bool } func newReclosableChannel() *reclosableChannel { return &reclosableChannel{ c: make(chan struct{}), } } func (c *reclosableChannel) Close() { if !c.closed { c.closed = true close(c.c) } } type fakeComponent struct { started *atomic.Bool completed *atomic.Bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 23:02:39 UTC 2024 - 4.1K bytes - Viewed (0) -
src/internal/poll/fd_plan9.go
isFile bool } // We need this to close out a file descriptor when it is unlocked, // but the real implementation has to live in the net package because // it uses os.File's. func (fd *FD) destroy() error { if fd.Destroy != nil { fd.Destroy() } return nil } // Close handles the locking for closing an FD. The real operation // is in the net package. func (fd *FD) Close() error { if !fd.fdmu.increfAndClose() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 5.4K bytes - Viewed (0) -
src/net/unixsock_posix.go
return newUnixConn(fd), nil } func (ln *UnixListener) close() error { // The operating system doesn't clean up // the file that announcing created, so // we have to clean it up ourselves. // There's a race here--we can't know for // sure whether someone else has come along // and replaced our socket name already-- // but this sequence (remove then close) // is at least compatible with the auto-remove
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:54:32 UTC 2024 - 6.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy
outputContains("service: closed with value 12") when: run("first", "second") then: output.count("service:") == 4 outputContains("service: created with value = 10") outputContains("service: value is 11") outputContains("service: value is 12") outputContains("service: closed with value 12") when: run("help")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 61K bytes - Viewed (0) -
pkg/scheduler/scheduler.go
go wait.UntilWithContext(ctx, sched.ScheduleOne, 0) <-ctx.Done() sched.SchedulingQueue.Close() // If the plugins satisfy the io.Closer interface, they are closed. err := sched.Profiles.Close() if err != nil { logger.Error(err, "Failed to close plugins") } } // NewInformerFactory creates a SharedInformerFactory and initializes a scheduler specific
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 20.8K bytes - Viewed (0)