Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 352 for loadOne (0.13 sec)

  1. src/cmd/go/internal/modload/buildlist.go

    			return
    		}
    
    		if _, dup := loading.LoadOrStore(dedupKey{m, pruning}, nil); dup {
    			// m has already been enqueued for loading. Since unpruned loading may
    			// follow cycles in the requirement graph, we need to return early
    			// to avoid making the load queue infinitely long.
    			return
    		}
    
    		loadQueue.Add(func() {
    			summary, err := loadOne(m)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy

            then:
            result.assertCurrentVersionHasNotRegressed()
    
            where:
            daemon | action
            hot    | loading
            hot    | storing
            cold   | loading
            cold   | storing
        }
    
        static String loading = "loading"
        static String storing = "storing"
        static String hot = "hot"
        static String cold = "cold"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformErrorHandler.java

            }
        }
    
        /**
         * Call this when an error occurs during class loading.
         * This method only records the error but doesn't throw any exceptions.
         * The exception will be rethrown (wrapped in a ClassNotFoundException) when this thread enters or exits the class loading scope.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java

         * Prefer returning {@code null} instead of the {@code classfileBuffer} to continue loading the original bytecode.
         * <p>
         * Throwing the exception from this method aborts the transformation but doesn't affect class loading. The caller
         * (the agent) will catch all throwables thrown by this method and forward them to {@link #transformFailed(String, Throwable)}.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/ScriptCachingIntegrationTest.kt

                        assertNoScriptCompile(rootBuildFile.stage1)
                        assertNoScriptCompile(rootBuildFile.stage2)
                    }
                    // then: no compilation nor class loading
                    compilationCache {
                        hits(leftBuildFile, rootBuildFile, rightBuildFile)
                    }
                    classLoadingCache {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:33:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/id/ConfigurationCacheableIdFactory.java

    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * Creates unique ids for objects created during configuration.
     * <p>
     * Usage of this factory in object factories ensures that ids are reused consistently when loading from the configuration cache.
     */
    @ThreadSafe
    @ServiceScope(Scope.BuildTree.class)
    public class ConfigurationCacheableIdFactory {
    
        private static final long USED_ASSIGNED_ID_MARKER = -1;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformLauncherSessionListenerIntegrationTest.groovy

                    @org.junit.jupiter.api.Test
                    public void myTest() { }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformStepNodeFactory.java

    import org.gradle.internal.service.scopes.ServiceScope;
    
    import javax.annotation.concurrent.ThreadSafe;
    
    /**
     * Transform step node factory that ensures that unique ids are used correctly
     * when creating new instances and/or loading from the configuration cache.
     */
    @ThreadSafe
    @ServiceScope(Scope.BuildTree.class)
    public class TransformStepNodeFactory {
    
        private final ConfigurationCacheableIdFactory idFactory;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:54:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache-base/src/test/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTrackerTest.kt

        }
    
        @Test(expected = IllegalStateException::class)
        fun `updating state after loading throws`() {
            tracker.loadFrom(emptyEnvironmentState())
    
            tracker.systemPropertyRemoved("some.property")
        }
    
        @Test(expected = IllegalStateException::class)
        fun `loading twice throws`() {
            tracker.loadFrom(emptyEnvironmentState())
            tracker.loadFrom(emptyEnvironmentState())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modcmd/tidy.go

    to go.sum and removes any unnecessary ones.
    
    The -v flag causes tidy to print information about removed modules
    to standard error.
    
    The -e flag causes tidy to attempt to proceed despite errors
    encountered while loading packages.
    
    The -diff flag causes tidy not to modify go.mod or go.sum but
    instead print the necessary changes as a unified diff. It exits
    with a non-zero code if the diff is not empty.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top