Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for mid2 (0.04 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/ModuleVersionNotFoundExceptionTest.groovy

      - file:/somewhere""")
        }
    
        def "can add incoming paths to exception"() {
            def a = DefaultModuleComponentIdentifier.newId(mid("org", "a"), "1.2")
            def b = DefaultModuleComponentIdentifier.newId(mid("org", "b"), "5")
            def c = DefaultModuleComponentIdentifier.newId(mid("org", "c"), "1.0")
    
            def exception = new ModuleVersionNotFoundException(newId("a", "b", "c"), ["http://somewhere"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. src/sort/zsortfunc.go

    		// elements equal to and elements greater than the pivot.
    		if a > 0 && !data.Less(a-1, pivot) {
    			mid := partitionEqual_func(data, a, b, pivot)
    			a = mid
    			continue
    		}
    
    		mid, alreadyPartitioned := partition_func(data, a, b, pivot)
    		wasPartitioned = alreadyPartitioned
    
    		leftLen, rightLen := mid-a, b-mid
    		balanceThreshold := length / 8
    		if leftLen < rightLen {
    			wasBalanced = leftLen >= balanceThreshold
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java

                String min2 = Collections.min(option2.getOptions(), new OptionStringComparator());
                // Group opposite option pairs together
                min1 = min1.startsWith(DISABLE_OPTION_PREFIX) ? min1.substring(DISABLE_OPTION_PREFIX.length()) + "-" : min1;
                min2 = min2.startsWith(DISABLE_OPTION_PREFIX) ? min2.substring(DISABLE_OPTION_PREFIX.length()) + "-" : min2;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/dra/claiminfo_test.go

    						},
    						{
    							Name:  "cdi.k8s.io/test-plugin1_claim-uid2",
    							Value: "vendor.com/device=device2",
    						},
    					},
    					"test-plugin2": {
    						{
    							Name:  "cdi.k8s.io/test-plugin2_claim-uid1",
    							Value: "vendor.com/device=device1",
    						},
    						{
    							Name:  "cdi.k8s.io/test-plugin2_claim-uid2",
    							Value: "vendor.com/device=device2",
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pkg/controller/volume/persistentvolume/binder_test.go

    			expectedVolumes: newVolumeArray("volume2-5", "1Gi", "uid2-5", "claim2-5", v1.VolumeBound, v1.PersistentVolumeReclaimRetain, classEmpty),
    			initialClaims:   newClaimArray("claim2-5", "uid2-5", "1Gi", "volume2-5", v1.ClaimPending, nil),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
Back to top