Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,040 for ONCE (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/go/internal/vcweb/hg.go

    	"log"
    	"net/http"
    	"net/http/httputil"
    	"net/url"
    	"os"
    	"os/exec"
    	"slices"
    	"strings"
    	"sync"
    	"time"
    )
    
    type hgHandler struct {
    	once      sync.Once
    	hgPath    string
    	hgPathErr error
    }
    
    func (h *hgHandler) Available() bool {
    	h.once.Do(func() {
    		h.hgPath, h.hgPathErr = exec.LookPath("hg")
    	})
    	return h.hgPathErr == nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. src/crypto/tls/cache.go

    //
    // Certificates are returned wrapped in an activeCert struct that should be held by
    // the caller. When references to the activeCert are freed, the number of references
    // to the certificate in the cache is decremented. Once the number of references
    // reaches zero, the entry is evicted from the cache.
    //
    // The main difference between this implementation and CRYPTO_BUFFER_POOL is that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:56:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/main/java/org/gradle/initialization/GradlePropertiesController.java

    import java.io.File;
    
    /**
     * Controls the state (not loaded / loaded) of the attached {@link GradleProperties} instance
     * so that the set of Gradle properties is deterministically loaded only once per build.
     */
    @ServiceScope(Scope.Build.class)
    public interface GradlePropertiesController {
    
        /**
         * The {@link GradleProperties} instance attached to this service.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:22:05 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/plugin/software/internal/SoftwareTypeRegistry.java

         * queried via {@link #getSoftwareTypeImplementations()}.
         */
        void register(Class<? extends Plugin<Project>> pluginClass, Class<? extends Plugin<Settings>> registeringPluginClass);
    
        /**
         * Returns a set of the software types available along with their model types and associated plugins.  Note that once
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top