Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 288 for mypair (0.12 sec)

  1. platforms/documentation/docs/src/snippets/java/fixtures/kotlin/lib/src/testFixtures/java/com/acme/Simpsons.java

                if (capitalized.equals(person.getFirstName())) {
                    return person;
                }
            }
            return null;
        }
    
        public static Person of(Pair<String, String> pair) {
            return new Person(pair.getLeft(), pair.getRight());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/PairTest.groovy

    import spock.lang.Specification
    
    import static Pair.unpackLeft
    import static Pair.unpackRight
    
    class PairTest extends Specification {
    
      def "can create and transform pair"() {
        given:
        def t = Pair.of(1, "a")
    
        expect:
        t.nestLeft(2).left == Pair.of(2, 1)
        t.nestLeft(2).right == "a"
        t.nestRight(2).left == 1
        t.nestRight(2).right == Pair.of(2, "a")
    
        t.pushLeft(2).left == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/ResourceVersionListerTest.groovy

            "/some/any-[revision]-version/lib/"      | "/some/"        | ["any-1-version", "any-2.1-version", "any-a-version-version", "nonmatching"]
            "/some/[revision]/lib/myjar-[revision]/" | "/some/"        | ["1", "2.1", "a-version"]
            "/some/proj-[revision]/[revision]/lib/"  | "/some/"        | ["proj-1", "proj-2.1", "proj-a-version"]
        }
    
        def "visit builds union of versions"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java

                                result.getSearchFieldLogList().add(new Pair<>(e.getKey(), v));
                            }
                        } else if (e.getValue() instanceof List) {
                            final List<String> values = (List<String>) e.getValue();
                            for (final String v : values) {
                                result.getSearchFieldLogList().add(new Pair<>(e.getKey(), v));
                            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh

    # "manylinux_xyz" into the wheel filename.
    set -euxo pipefail
    
    for wheel in /tf/pkg/*.whl; do
      echo "Checking and renaming $wheel..."
      time python3 -m auditwheel repair --plat manylinux2014_aarch64 "$wheel" --wheel-dir /tf/pkg 2>&1 | tee check.txt
    
      # We don't need the original wheel if it was renamed
      new_wheel=$(grep --extended-regexp --only-matching '/tf/pkg/\S+.whl' check.txt)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/go/parser/testdata/resolution/typeparams.go2

    // license that can be found in the LICENSE file.
    
    package resolution
    
    type List /* =@List */ [E /* =@E */ any] []E // @E
    
    type Pair /* =@Pair */ [L /* =@L */, R /* =@R */ any] struct {
    	Left /* =@Left */ L // @L
    	Right /* =@Right */ R // @R
    	L /* =@Lfield */ int
    }
    
    var _ = Pair /* @Pair */ [int, string]{}
    
    type Addable /* =@Addable */ interface {
    	~int64|~float64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/cmd/root.go

    					msg := fmt.Errorf(`iptables validation failed; workload is not ready for Istio.
    When using Istio CNI, this can occur if a pod is scheduled before the node is ready.
    
    If installed with 'cni.repair.deletePods=true', this pod should automatically be deleted and retry.
    Otherwise, this pod will need to be manually removed so that it is scheduled on a node with istio-cni running, allowing iptables rules to be established.
    `)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt

        }
    
        private
        fun withMockForSettings(existing: Pair<String, Any?>? = null, absent: String? = null, action: DynamicDelegatedPropertiesMock.SettingsMock.() -> Unit) {
            mockForSettings(existing, absent).run {
                action()
                verifyTryGetProperty(existing, absent)
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:44:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            run 'copy'
            then:
            file('dest').assertHasDescendants('someDir/1.txt')
        }
    
        def "knows compression of the tar"() {
            given:
            buildFile << '''
                task myTar(type: Tar) {
                    destinationDirectory = buildDir
    
                    assert compression == Compression.NONE
    
                    compression = Compression.GZIP
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top