- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 373 for closeFn (0.13 sec)
-
pkg/kube/multicluster/secretcontroller_test.go
assert.Equal(t, []bool{false, false, false}, slices.Map(components, func(e testHandler) bool { return e.Closed.Load() })) // Remove secret, it should be marked as closed c.DeleteSecret("s0") fetchClosed := func() map[string]bool { res := map[string]bool{} for _, c := range components { res[string(c.ID)] = c.Closed.Load() } return res }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 17.6K bytes - Viewed (0) -
src/os/os_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/archive/tar/writer.go
if err != nil && err != ErrWriteTooLong { tw.err = err } return n, err } // Close closes the tar archive by flushing the padding, and writing the footer. // If the current file (from a prior call to [Writer.WriteHeader]) is not fully written, // then this returns an error. func (tw *Writer) Close() error { if tw.err == ErrWriteAfterClose { return nil } if tw.err != nil { return tw.err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy
noExceptionThrown() } @Issue("https://github.com/gradle/gradle/issues/24887") @Issue("https://github.com/gradle/gradle/issues/27099") def "build events listener service handles all events before it is closed"() { buildFile """ import ${BuildEventsListenerRegistry.name} import ${OperationCompletionListener.name} import ${FinishEvent.name} import ${TaskFinishEvent.name}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
// backupFile writes data to a new file named filename<number> with permissions perm, // with <number> randomly chosen such that the file name is unique. backupFile returns // the chosen file name. func backupFile(filename string, data []byte, perm fs.FileMode) (string, error) { fdSem <- true defer func() { <-fdSem }() nextRandom := func() string { return strconv.Itoa(rand.Int()) } dir, base := filepath.Split(filename)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
internal/event/target/nats.go
} // Close - closes underneath connections to NATS server. func (target *NATSTarget) Close() (err error) { close(target.quitCh) if target.stanConn != nil { // closing the streaming connection does not close the provided NATS connection. if target.stanConn.NatsConn() != nil { target.stanConn.NatsConn().Close() } return target.stanConn.Close() } if target.natsConn != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.8K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/inline.go
process emphasis walk forward in list to find a closer. walk back to find first potential matching opener. if found: strong for length >= 2 insert node drop delimiters between opener and closer remove 1 or 2 from open/close count, removing if now empty if closing has some left, go around again on this node if not:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 21.9K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java
* * <p>Service instances and factories are closed when the registry that created them is closed using {@link #close()}. If a service instance or factory implements {@link java.io.Closeable} or {@link * org.gradle.internal.concurrent.Stoppable} then the appropriate {@link Closeable#close()} or {@link Stoppable#stop()} method is called. Instances are closed in reverse dependency order.</p> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 53.3K bytes - Viewed (0) -
pilot/pkg/xds/delta.go
} func (s *DiscoveryServer) receiveDelta(con *Connection, identities []string) { defer func() { close(con.deltaReqChan) close(con.ErrorCh()) // Close the initialized channel, if its not already closed, to prevent blocking the stream select { case <-con.InitializedCh(): default: close(con.InitializedCh()) } }() firstRequest := true for { req, err := con.deltaStream.Recv()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 25.6K bytes - Viewed (0) -
internal/event/target/kafka.go
Key: sarama.StringEncoder(key), Value: sarama.ByteEncoder(data), }, nil } // Close - closes underneath kafka connection. func (target *KafkaTarget) Close() error { close(target.quitCh) if target.producer != nil { target.producer.Close() return target.client.Close() } return nil } func (target *KafkaTarget) init() error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 15:02:59 UTC 2024 - 13.1K bytes - Viewed (0)