Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 110 for value6 (0.1 sec)

  1. src/encoding/asn1/asn1.go

    	s = make([]int, len(bytes)+1)
    
    	// The first varint is 40*value1 + value2:
    	// According to this packing, value1 can take the values 0, 1 and 2 only.
    	// When value1 = 0 or value1 = 1, then value2 is <= 39. When value1 = 2,
    	// then there are no restrictions on value2.
    	v, offset, err := parseBase128Int(bytes, 0)
    	if err != nil {
    		return
    	}
    	if v < 80 {
    		s[0] = v / 40
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/object.h

        auto it = value_.dict().find(key.value_);
        if (it != value_.dict().end()) return Cast<T>(Handle(it->second));
        return absl::NotFoundError("Key not in dictionary.");
      }
      /// Sets `key` with value `value`.
      void Set(const String& key, Handle value) {
        value_.dict()[key.value_] = std::move(value.value_);
      }
      /// Sets `key` with value `value`.
      void Set(const Handle& key, Handle value) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.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/documentation/docs/src/snippets/native-binaries/google-test/groovy/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: Mon Nov 27 17:53:42 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top