Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,006 for ONCE (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java

    import org.apache.maven.project.ProjectBuilder;
    
    /**
     * This realizes the metadata source via the default hint to provide backward-compat with Maven 2.x whose Plexus version
     * registered component descriptors twice: once keyed by role+roleHint and once keyed by role only. This effectively
     * made the metadata source available with its original role hint ("maven") as well as the default hint.
     *
     */
    @Named
    @Singleton
    @Deprecated
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/internal/configurationcache/options/ConfigurationCacheSettingsFinalizedBuildOperationIntegTest.groovy

    @Requires(IntegTestPreconditions.NotConfigCached)
    class ConfigurationCacheSettingsFinalizedBuildOperationIntegTest extends AbstractIntegrationSpec {
    
        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: Fri Sep 01 03:07:53 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top