- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,003 for ONCE (0.06 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases.go
// [Enabled], which computes the effective value of // GODEBUG=gotypesalias=... by invoking the type checker. The Enabled // function is expensive and should be called once per task (e.g. // package import), not once per call to NewAlias. func NewAlias(enabled bool, pos token.Pos, pkg *types.Package, name string, rhs types.Type) *types.TypeName { if enabled { tname := types.NewTypeName(pos, pkg, name, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 1.1K bytes - Viewed (0) -
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) -
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/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) -
subprojects/core/src/main/java/org/gradle/initialization/ClassLoaderRegistry.java
* the build process and provide it to the worker. */ FilteringClassLoader.Spec getGradleApiFilterSpec(); /** * Returns the extension classloader spec for use in worker processes. This is expensive to calculate, so we create it once in * the build process and provide it to the worker. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 1.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/plugin/software/internal/SoftwareTypeRegistry.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:28 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/Scope.java
*/ interface BuildTree extends BuildSession {} /** * These services are created once per {@code org.gradle.api.initialization.Settings} the beginning of the build invocation * These services are closed at the end of the build invocation. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 3.8K bytes - Viewed (0)