- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Abandon (0.11 sec)
-
src/crypto/internal/boring/fipstls/tls.go
// // Note that this call has an effect even in programs using // standard crypto (that is, even when Enabled = false). func Force() { required.Store(true) } // Abandon allows non-FIPS-approved settings. // If called from a non-test binary, it panics. func Abandon() { // Note: Not using boring.UnreachableExceptTests because we want // this test to happen even when boring.Enabled = false. name := runtime_arg0()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 1.7K bytes - Viewed (0) -
src/crypto/tls/boring_test.go
test(t, "VersionTLS11", VersionTLS11, "") test(t, "VersionTLS12", VersionTLS12, "") test(t, "VersionTLS13", VersionTLS13, "") t.Run("fipstls", func(t *testing.T) { fipstls.Force() defer fipstls.Abandon() test(t, "VersionTLS10", VersionTLS10, "supported versions") test(t, "VersionTLS11", VersionTLS11, "supported versions") test(t, "VersionTLS12", VersionTLS12, "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 19.4K bytes - Viewed (0) -
src/os/signal/example_unix_test.go
import ( "context" "fmt" "log" "os" "os/signal" ) var neverReady = make(chan struct{}) // never closed // This example passes a context with a signal to tell a blocking function that // it should abandon its work after a signal is received. func ExampleNotifyContext() { ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt) defer stop() p, err := os.FindProcess(os.Getpid()) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 15:34:56 UTC 2023 - 1.1K bytes - Viewed (0) -
src/context/example_test.go
// Output: // context deadline exceeded } // This example passes a context with a timeout to tell a blocking function that // it should abandon its work after the timeout elapses. func ExampleWithTimeout() { // Pass a context with a timeout to tell a blocking function that it // should abandon its work after the timeout elapses. ctx, cancel := context.WithTimeout(context.Background(), shortDuration) defer cancel() select {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 20:24:28 UTC 2023 - 6.7K bytes - Viewed (0) -
schema/schema.go
} // This unrolling is needed to show to the compiler the exact set of methods // that can be used on the modelType. // Prior to go1.22 any use of MethodByName would cause the linker to // abandon dead code elimination for the entire binary. // As of go1.22 the compiler supports one special case of a string constant // being passed to MethodByName. For enterprise customers or those building
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 13.7K bytes - Viewed (0) -
cmd/data-usage-cache.go
// By default, empty data usage cache *d = dataUsageCache{} load := func(name string, timeout time.Duration) (bool, error) { // Abandon if more than time.Minute, so we don't hold up scanner. // drive timeout by default is 2 minutes, we do not need to wait longer. ctx, cancel := context.WithTimeout(ctx, timeout) defer cancel()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 10 14:49:50 UTC 2024 - 42.8K bytes - Viewed (0) -
src/text/tabwriter/tabwriter.go
} if !flushed { // The previous line is probably a good indicator // of how many cells the current line will have. // If the current line's capacity is smaller than that, // abandon it and make a new one. if n := len(b.lines); n >= 2 { if prev := len(b.lines[n-2]); prev > cap(b.lines[n-1]) { b.lines[n-1] = make([]cell, 0, prev) } } } } // Reset the current state.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 16:46:34 UTC 2024 - 17.8K bytes - Viewed (0) -
src/context/context.go
// surrounding function has not yet been extended to accept a Context // parameter). func TODO() Context { return todoCtx{} } // A CancelFunc tells an operation to abandon its work. // A CancelFunc does not wait for the work to stop. // A CancelFunc may be called by multiple goroutines simultaneously. // After the first call, subsequent calls to a CancelFunc do nothing. type CancelFunc func()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 23.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* uncommon to specify {@code concurrencyLevel(1)} in order to achieve more deterministic eviction * behavior. * * <p>Note that future implementations may abandon segment locking in favor of more advanced * concurrency controls. * * @return this {@code CacheBuilder} instance (for chaining) * @throws IllegalArgumentException if {@code concurrencyLevel} is nonpositive
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 44.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* uncommon to specify {@code concurrencyLevel(1)} in order to achieve more deterministic eviction * behavior. * * <p>Note that future implementations may abandon segment locking in favor of more advanced * concurrency controls. * * @return this {@code CacheBuilder} instance (for chaining) * @throws IllegalArgumentException if {@code concurrencyLevel} is nonpositive
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 51.3K bytes - Viewed (0)