Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for value6 (0.64 sec)

  1. src/encoding/json/bench_test.go

    				b.Fatalf("Unmarshal error: %v", err)
    			}
    		}
    	})
    }
    
    func BenchmarkUnmarshalMap(b *testing.B) {
    	b.ReportAllocs()
    	data := []byte(`{"key1":"value1","key2":"value2","key3":"value3"}`)
    	b.RunParallel(func(pb *testing.PB) {
    		x := make(map[string]string, 3)
    		for pb.Next() {
    			if err := Unmarshal(data, &x); err != nil {
    				b.Fatalf("Unmarshal error: %v", err)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        static final class DuplicateKey {
          private final Object key;
          private final Object value1;
          private final Object value2;
    
          DuplicateKey(Object key, Object value1, Object value2) {
            this.key = key;
            this.value1 = value1;
            this.value2 = value2;
          }
    
          IllegalArgumentException exception() {
            return new IllegalArgumentException(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

       public:
        Iterator(const ParamGeneratorInterface<T>* base, T value, int index,
                 IncrementT step)
            : base_(base), value_(value), index_(index), step_(step) {}
        virtual ~Iterator() {}
    
        virtual const ParamGeneratorInterface<T>* BaseGenerator() const {
          return base_;
        }
        virtual void Advance() {
          value_ = value_ + step_;
          index_++;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    				"request.userInfo.username == 'admin'",
    				"request.userInfo.uid == '014fbff9a07c'",
    				"request.userInfo.groups == ['system:authenticated', 'my-admin-group']",
    				"request.userInfo.extra == {'some-key': ['some-value1', 'some-value2']}",
    				"request.dryRun == false",
    				"request.options == {'whatever': 'you want'}",
    			},
    		},
    		{
    			name: "invalid request",
    			errorExpressions: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy

            def task = project.tasks.create("myTask", TaskWithNestedObject)
            def cycle = new Tree(value: "cycle", left: new Tree(value: "left"))
            cycle.right = cycle
            task.nested = new Tree(value: "first", left: new Tree(value: "left"), right: new Tree(value: "deeper", left: cycle, right: new Tree(value: "no-cycle")))
    
            when:
            visitProperties(task)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
      /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. src/net/http/request_test.go

    		"field1":   []string{"value1"},
    		"field2":   []string{"initial-value2", "value2"},
    	}
    	if !reflect.DeepEqual(req.Form, wantForm) {
    		t.Fatalf("req.Form = %v, want %v", req.Form, wantForm)
    	}
    
    	wantPostForm := url.Values{
    		"field1": []string{"value1"},
    		"field2": []string{"value2"},
    	}
    	if !reflect.DeepEqual(req.PostForm, wantPostForm) {
    		t.Fatalf("req.PostForm = %v, want %v", req.PostForm, wantPostForm)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      public void testNewIdentityHashSet() {
        Set<Integer> set = Sets.newIdentityHashSet();
        Integer value1 = new Integer(12357);
        Integer value2 = new Integer(12357);
        assertTrue(set.add(value1));
        assertFalse(set.contains(value2));
        assertTrue(set.contains(value1));
        assertTrue(set.add(value2));
        assertEquals(2, set.size());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CopyOnWriteArraySet
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  10. src/net/http/clientserver_test.go

    		}
    
    		// How handlers set Trailers: declare it ahead of time
    		// with the Trailer header, and then mutate the
    		// Header() of those values later, after the response
    		// has been written (we wrote to w above).
    		w.Header().Set("Server-Trailer-A", "valuea")
    		w.Header().Set("Server-Trailer-C", "valuec") // skipping B
    		w.Header().Set("Server-Trailer-NotDeclared", "should be omitted")
    	}))
    
    	res, err := cst.c.Get(cst.ts.URL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top