- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,504 for ONCE (0.17 sec)
-
cmd/prepare-storage.go
} // Once is set and we are here means error was already // printed once. if once { return } // once not set, check if same error occurred 3 times in // a row, then make sure we print it to call attention. if m[err.Error()] > 2 { peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err)) // Reduce the count to introduce further delay in printing
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun May 19 08:06:49 UTC 2024 - 11.1K bytes - Viewed (0) -
src/internal/goroot/gc.go
return false case "gccgo": return gccgoSearch.isStandard(path) default: panic("unknown compiler " + compiler) } } // gccgoSearch holds the gccgo search directories. type gccgoDirs struct { once sync.Once dirs []string } // gccgoSearch is used to check whether a gccgo package exists in the // standard library. var gccgoSearch gccgoDirs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 18:16:28 UTC 2024 - 3.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/process/ExecOutput.java
* * @since 7.5 */ @Incubating public interface ExecOutput { /** * Returns a provider of the execution result. * * <p> * The external process is executed only once and only when the value is requested for the first * time. * </p> * <p> * If starting the process results in exception then the ensuing exception is permanently
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 23 00:18:08 UTC 2021 - 3.3K bytes - Viewed (0) -
src/internal/godebug/godebug.go
"unsafe" _ "unsafe" // go:linkname ) // A Setting is a single setting in the $GODEBUG environment variable. type Setting struct { name string once sync.Once *setting } type setting struct { value atomic.Pointer[value] nonDefaultOnce sync.Once nonDefault atomic.Uint64 info *godebugs.Info } type value struct { text string bisect *bisect.Matcher }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 9.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go
// than once for the same mux will result in a panic. func InstallLivezHandler(mux mux, checks ...HealthChecker) { InstallPathHandler(mux, "/livez", checks...) } // InstallPathHandler registers handlers for health checking on // a specific path to mux. *All handlers* for the path must be // specified in exactly one call to InstallPathHandler. Calling // InstallPathHandler more than once for the same path and mux will
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 10.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/counter/countertest/countertest.go
} // Open enables telemetry data writing to disk. // This is supposed to be called once during the program execution // (i.e. typically in TestMain), and must not be used with // golang.org/x/telemetry/counter.Open. func Open(telemetryDir string) { openedMu.Lock() defer openedMu.Unlock() if opened { panic("Open was called more than once") } telemetry.Default = telemetry.NewDir(telemetryDir) counter.Open()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/go/internal/imports/tags.go
// license that can be found in the LICENSE file. package imports import ( "cmd/go/internal/cfg" "sync" ) var ( tags map[string]bool tagsOnce sync.Once ) // Tags returns a set of build tags that are true for the target platform. // It includes GOOS, GOARCH, the compiler, possibly "cgo", // release tags like "go1.13", and user-specified build tags.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 26 17:43:59 UTC 2022 - 1.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/versions/features.go
// Do not use directly with Compare. const Future = "" // AtLeast reports whether the file version v comes after a Go release. // // Use this predicate to enable a behavior once a certain Go release // has happened (and stays enabled in the future). func AtLeast(v, release string) bool { if v == Future { return true // an unknown future version is always after y. }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultConditionalExecutionQueue.java
import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.ReentrantLock; /** * A queueing mechanism that only executes items once certain conditions are reached. */ // TODO This class, DefaultBuildOperationQueue and ExecutionPlan have many of the same // behavior and concerns - we should look for a way to generalize this pattern.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/FileSystemWatchingSettingsFinalizedBuildOperationIntegrationTest.groovy
@LocalOnly class FileSystemWatchingSettingsFinalizedBuildOperationIntegrationTest extends AbstractFileSystemWatchingIntegrationTest { def operations = new BuildOperationsFixture(executer, temporaryFolder) def "emits once when not used"() { given: settingsFile << "includeBuild 'plugin'" file("buildSrc/src/main/java/Thing.java") << "class Thing {}" createDir("plugin") { file("settings.gradle") << ""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 2.1K bytes - Viewed (0)