Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 158 for VALUE1 (0.18 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

      private static <T> ImmutableMultiset<T> multiset(T value, int count) {
        return multiset(ImmutableMap.of(value, count));
      }
    
      private static <T> ImmutableMultiset<T> multiset(T value1, int count1, T value2, int count2) {
        return multiset(ImmutableMap.of(value1, count1, value2, count2));
      }
    
      private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy

            def candidate2 = attributes(usage: 'java-runtime-extra', status: 'integration')
            def candidate3 = attributes(usage: 'java-api-extra', status: 'integration', bundling: value1)
            def candidate4 = attributes(usage: 'java-runtime-extra', status: 'integration', bundling: value2)
            def requested = attributes(usage: 'java-api')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers_test.go

    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    			body:               []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. pkg/volume/projected/projected_test.go

    					Name:      testPodName,
    					Namespace: testNamespace,
    					Annotations: map[string]string{
    						"a1": "value1",
    						"a2": "value2",
    					},
    					UID: testPodUID},
    			},
    			mode: 0644,
    			payload: map[string]util.FileProjection{
    				"annotation": {Data: []byte("value1"), Mode: 0644},
    			},
    			success: true,
    		},
    		{
    			name: "annotation-error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

            }
    
            then:
            0 * listener.onChange(_, _)
        }
    
        def "replaceAll() uses reference equality for non-primitives"() {
            def value1 = [1]
            def value2 = [1]
    
            def map = getMapUnderTestToWrite(value: value1)
            when:
            map.replaceAll { k, v ->
                return value2
            }
    
            then:
            1 * listener.onChange("value", value2)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

        def "duplicate names in nested iterable are allowed"() {
            buildFile << taskWithNestedInput()
            buildFile << namedBeanClass()
            buildFile << """
                myTask.nested = [new NamedBean('name', 'value1'), new NamedBean('name', 'value2')]
            """
    
            expect:
            succeeds "myTask"
        }
    
        def "nested Provider is unpacked"() {
            buildFile << taskWithNestedInput()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      @CanIgnoreReturnValue
      public <T> ClassSanityTester setDistinctValues(Class<T> type, T value1, T value2) {
        checkNotNull(type);
        checkNotNull(value1);
        checkNotNull(value2);
        checkArgument(!Objects.equal(value1, value2), "Duplicate value provided.");
        distinctValues.replaceValues(type, ImmutableList.of(value1, value2));
        setDefault(type, value1);
        return this;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/LocalFileDependencyBackedArtifactSetTest.groovy

            def visitor = Mock(ResolvedArtifactSet.Visitor)
            def artifactVisitor = Mock(ArtifactVisitor)
            def files = Mock(FileCollectionInternal)
            def attrs1 = attributesFactory.of(Attribute.of('attr', String), 'value1')
            def attrs2 = attributesFactory.of(Attribute.of('attr', String), 'value2')
    
            when:
            set.visit(visitor)
    
            then:
            _ * dep.componentId >> id
            _ * dep.files >> files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    			if sample == nil {
    				// Not a valid sample, exit.
    				return b, locs, nil
    			}
    
    			// Java profiles have data/fields inverted compared to other
    			// profile types.
    			var err error
    			value1, value2, value3 := sample[2], sample[1], sample[3]
    			addrs, err := parseHexAddresses(value3)
    			if err != nil {
    				return nil, nil, fmt.Errorf("malformed sample: %s: %v", line, err)
    			}
    
    			var sloc []*Location
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

        }
    
        public static class TaskWithSingleParamAction extends DefaultTask {
            @TaskAction
            public void doStuff(int value1) {
            }
        }
    
        public static class TaskWithMultiParamAction extends DefaultTask {
            @TaskAction
            public void doStuff(int value1, int value2) {
            }
        }
    
        public static class TaskWithInputFile extends TaskWithAction {
            File inputFile;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
Back to top