Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,045 for stopAt (0.13 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderVisitor.java

        private final ClassLoader stopAt;
    
        public ClassLoaderVisitor() {
            this(getSystemClassLoader() == null ? null : getSystemClassLoader().getParent());
        }
    
        public ClassLoaderVisitor(ClassLoader stopAt) {
            this.stopAt = stopAt;
        }
    
        public void visit(ClassLoader classLoader) {
            if (classLoader == stopAt) {
                visitSpec(SystemClassLoaderSpec.INSTANCE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/TypeInspector.java

    @ThreadSafe
    class TypeInspector {
        private final Set<Class<?>> stopAt = new HashSet<Class<?>>();
        private final Map<Class<?>, Set<Class<?>>> inspected = new HashMap<Class<?>, Set<Class<?>>>();
    
        public TypeInspector() {
            stopAt.add(List.class);
            stopAt.add(Set.class);
            stopAt.add(Collection.class);
            stopAt.add(Map.class);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/initialization/layout/BuildLayoutFactoryTest.groovy

            def locator = buildLayoutFactoryFor()
    
            and: "temporary tree created out of the Gradle build tree"
            def tmpDir = File.createTempFile("stop-", "-at").canonicalFile
            def stopAt = new File(tmpDir, 'stopAt')
            def currentDir = new File(new File(stopAt, "intermediate"), 'current')
            currentDir.mkdirs()
    
            expect:
            def layout = locator.getLayoutFor(currentDir, true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClasspathUtil.java

         *
         * If {@code stopAt} is not a parent of {@code startingClassloader}, this effectively collects all URLs from the classloader hierarchy.
         */
        public static void collectClasspathUntil(ClassLoader startingClassloader, ClassLoader stopAt, final Set<URL> classpath) {
            new ClassLoaderVisitor(stopAt) {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/initialization/layout/BuildLayoutFactory.java

        }
    
        BuildLayout getLayoutFor(File currentDir, File stopAt) {
            File settingsFile = findExistingSettingsFileIn(currentDir);
            if (settingsFile != null) {
                return layout(currentDir, settingsFile);
            }
            for (File candidate = currentDir.getParentFile(); candidate != null && !candidate.equals(stopAt); candidate = candidate.getParentFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/KotlinBuildScriptModelRequest.kt

        when (kotlinScriptTypeFor(scriptFile)) {
            KotlinScriptType.INIT -> false
            else -> true
        }
    
    
    internal
    fun projectRootOf(scriptFile: File, importedProjectRoot: File, stopAt: File? = null): File {
    
        // TODO remove hardcoded reference to settings.gradle once there's a public TAPI client api for that
        fun isProjectRoot(dir: File) =
            File(dir, "settings.gradle.kts").isFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/ProjectRootOfTest.kt

                }
            }
    
            assertThat(
                projectRootOf(
                    scriptFile = file("separate-project-root/build.gradle.kts"),
                    importedProjectRoot = folder("root"),
                    stopAt = root
                ),
                equalTo(folder("separate-project-root"))
            )
        }
    
        @Test
        fun `given a script file under a separate nested project it should return the separate nested project root`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. src/runtime/mgcscavenge_test.go

    	// throughout the test.
    	totalWork := uint64(64<<20 - 3*PhysPageSize)
    	var totalSlept, totalWorked atomic.Int64
    	var availableWork atomic.Uint64
    	var stopAt atomic.Uint64 // How much available work to stop at.
    
    	// Set up the scavenger.
    	var s Scavenger
    	s.Sleep = func(ns int64) int64 {
    		totalSlept.Add(ns)
    		return ns
    	}
    	s.Scavenge = func(bytes uintptr) (uintptr, int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. pilot/pkg/autoregistration/controller_test.go

    	c1, c2, store := setup(t)
    	c2.maxConnectionAge = maxConnAge
    	stopped1 := false
    	stop1, stop2 := make(chan struct{}), make(chan struct{})
    	defer func() {
    		// stop1 should be killed early, as part of test
    		if !stopped1 {
    			close(stop1)
    		}
    	}()
    	defer close(stop2)
    	go c1.Run(stop1)
    	go c2.Run(stop2)
    	go store.Run(stop2)
    
    	n := fakeNode("reg1", "zone1", "subzone1")
    
    	var p1conn1, p1conn2 *fakeConn
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/Stop.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.launcher.daemon.protocol;
    
    import java.util.UUID;
    
    public class Stop extends Command {
        public Stop(UUID identifier, byte[] token) {
            super(identifier, token);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 813 bytes
    - Viewed (0)
Back to top