Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for mid2 (0.54 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/loadercache/DefaultClassLoaderCacheTest.groovy

            cache.get(id1, classPath("c2"), root, null)
            cache.get(id2, classPath("c2"), root, null)
    
            then:
            cache.size() == 1 // both are the same
    
            when:
            cache.remove(id1)
    
            then:
            cache.size() == 1 // still used by id2
    
            when:
            cache.remove(id2)
    
            then:
            cache.size() == 0
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 23 19:34:48 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/NamespaceIdTest.groovy

            NamespaceId id2 = new NamespaceId("some-namespace", "some-name")
    
            expect:
            id1 Matchers.strictlyEqual(id2)
        }
    
        def "hashCode and equals determine inequality" () {
            given:
            NamespaceId id1 = new NamespaceId(namespace1, name1)
            NamespaceId id2 = new NamespaceId(namespace2, name2)
    
            expect:
            ! id1.equals(id2)
            id1.hashCode() != id2.hashCode()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/DefaultProjectComponentIdentifierTest.groovy

        def "can compare with other instance (#projectPath)"() {
            expect:
            def id1 = newProjectId(':myProjectPath1')
            def id2 = newProjectId(projectPath)
            strictlyEquals(id1, id2) == equality
            (id1.hashCode() == id2.hashCode()) == hashCode
            (id1.toString() == id2.toString()) == stringRepresentation
    
            where:
            projectPath       | equality | hashCode | stringRepresentation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 22 14:22:44 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DependencyLockingGraphVisitorTest.groovy

            given:
            def id = newId(mid, '1.1')
            startWithState([id])
            addVisitedNode(id)
    
            when:
            visitor.finish(rootNode)
    
            then:
            notThrown(LockOutOfDateException)
        }
    
        def 'generates failures when extra modules visited'() {
            given:
            startWithState([])
            addVisitedNode(newId(mid, '1.0'))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SearchUtil.java

                        int mid = (low + high) >>> 1;
                        T midVal = sortedElements.get(mid);
                        int cmp = key.compareTo(midVal);
    
                        if (cmp > 0) {
                            low = mid + 1;
                        } else if (cmp < 0) {
                            high = mid - 1;
                        } else {
                            return mid; // key found
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

            kill(pid1)
    
            when:
            args "--rerun-tasks"
            succeeds("compileJava")
    
            then:
            pidFile().exists()
            def pid2 = pidFile().text.strip() as long
            pid2 != pid1
    
            and:
            outputContainsKilledWorkerWarning()
        }
    
        void "daemon is gracefully removed if it is killed while idle in between calls"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/runtime/export_unix_test.go

    // not be a P.
    //
    //go:nowritebarrierrec
    func waitForSigusr1Callback(gp *g) bool {
    	if gp == nil || gp.m == nil {
    		waitForSigusr1.mID = -1
    	} else {
    		waitForSigusr1.mID = gp.m.id
    	}
    	b := byte(0)
    	write(uintptr(waitForSigusr1.wrpipe), noescape(unsafe.Pointer(&b)), 1)
    	return true
    }
    
    // SendSigusr1 sends SIGUSR1 to mp.
    func SendSigusr1(mp *M) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 21:27:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. fess-crawler-es/src/test/java/org/codelibs/fess/crawler/service/impl/EsUrlQueueServiceTest.java

            urlQueue2.setCreateTime(System.currentTimeMillis());
            urlQueue2.setDepth(1);
            urlQueue2.setMethod("GET");
            urlQueue2.setSessionId("id2");
            urlQueue2.setUrl("http://www.id2.com/");
    
            urlQueueService.insert(urlQueue2);
            assertTrue(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "id1")).execute()
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencyResolveDetailsSpec.groovy

            def mid = DefaultModuleIdentifier.newId(group, module)
            return DefaultModuleComponentSelector.newSelector(mid, new DefaultImmutableVersionConstraint(version))
        }
    
        private static ModuleVersionSelector newVersionSelector(String group, String name, String version) {
            def mid = DefaultModuleIdentifier.newId(group, name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. buildscripts/verify-healing-empty-erasure-set.sh

    	pid1=$!
    	disown ${pid1}
    
    	"${MINIO[@]}" --address ":$((start_port + 2))" $args >"${WORK_DIR}/dist-minio-server2.log" 2>&1 &
    	pid2=$!
    	disown $pid2
    
    	"${MINIO[@]}" --address ":$((start_port + 3))" $args >"${WORK_DIR}/dist-minio-server3.log" 2>&1 &
    	pid3=$!
    	disown $pid3
    
    	export MC_HOST_myminio="http://minio:minio123@127.0.0.1:$((start_port + 1))"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top