- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 414 for closeFn (0.27 sec)
-
src/net/dial.go
// addresses. // If the port in the address parameter is empty or "0", as in // "127.0.0.1:" or "[::1]:0", a port number is automatically chosen. // The [Addr] method of [Listener] can be used to discover the chosen // port. // // See func [Dial] for a description of the network and address // parameters. // // Listen uses context.Background internally; to specify the context, use
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 26.9K bytes - Viewed (0) -
cmd/storage-rest-client.go
if err != nil { return err } defer xhttp.DrainBody(respBody) _, err = waitForHTTPResponse(respBody) return toStorageErr(err) } // Close - marks the client as closed. func (client *storageRESTClient) Close() error { client.restClient.Close() return nil } var emptyDiskID = "" // Returns a storage rest client.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 27.4K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server.go
var envoyCancel, appCancel context.CancelFunc defer func() { if envoy != nil { err = envoy.Close() if err != nil { log.Infof("envoy connection is not closed: %v", err) } } if application != nil { err = application.Close() if err != nil { log.Infof("app connection is not closed: %v", err) } } if envoyCancel != nil { envoyCancel() } if appCancel != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (1) -
pilot/test/xds/fake.go
s.Register(grpcServer) go func() { if err := grpcServer.Serve(listener); err != nil && !(err == grpc.ErrServerStopped || err.Error() == "closed") { t.Fatal(err) } }() t.Cleanup(func() { grpcServer.Stop() _ = listener.Close() }) // Start the discovery server s.Start(stop) cg.ServiceEntryRegistry.XdsUpdater = s // Now that handlers are added, get everything started
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 16:08:52 UTC 2024 - 18.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
testEmptyRangeSubMultiset( sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), OPEN)); testEmptyRangeSubMultiset( sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), CLOSED)); testEmptyRangeSubMultiset( sortedMultiset.subMultiset(b.getElement(), CLOSED, a.getElement(), CLOSED)); testEmptyRangeSubMultiset(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 25.9K bytes - Viewed (0) -
src/time/tick_test.go
// With the fix, the code runs in under a second. done := make(chan bool) AfterFunc(60*Second, func() { close(done) }) // Set up a queuing goroutine to ping pong through the scheduler. inQ := make(chan func()) outQ := make(chan func()) defer close(inQ) wg.Add(1) go func() { defer wg.Done() defer close(outQ) var q []func() for { var sendTo chan func() var send func()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
src/compress/flate/deflate.go
func (w *Writer) Flush() error { // For more about flushing: // https://www.bolet.org/~pornin/deflate-flush.html return w.d.syncFlush() } // Close flushes and closes the writer. func (w *Writer) Close() error { return w.d.close() } // Reset discards the writer's state and makes it equivalent to // the result of [NewWriter] or [NewWriterDict] called with dst // and w's level and dictionary.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 20.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
testEmptyRangeSubMultiset( sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), OPEN)); testEmptyRangeSubMultiset( sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), CLOSED)); testEmptyRangeSubMultiset( sortedMultiset.subMultiset(b.getElement(), CLOSED, a.getElement(), CLOSED)); testEmptyRangeSubMultiset(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 25.9K bytes - Viewed (0) -
src/internal/coverage/cfile/emit.go
} // Emit counter data file. if err := s.emitCounterDataFile(finalHash, s.cf); err != nil { return err } if err := s.cf.Close(); err != nil { return fmt.Errorf("closing counter data file: %v", err) } // Counter file has now been closed. Rename the temp to the // final desired path. if err := os.Rename(s.cftmp, s.cfname); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
synchronized(this) { queueSize -= message.data.size.toLong() } } else if (messageOrClose is Close) { val close = messageOrClose as Close writer!!.writeClose(close.code, close.reason) // We closed the writer: now both reader and writer are closed. if (streamsToClose != null) { listener.onClosed(this, receivedCloseCode, receivedCloseReason!!) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0)