Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 110 for value6 (0.1 sec)

  1. src/log/slog/value.go

    // StringValue returns a new [Value] for a string.
    func StringValue(value string) Value {
    	return Value{num: uint64(len(value)), any: stringptr(unsafe.StringData(value))}
    }
    
    // IntValue returns a [Value] for an int.
    func IntValue(v int) Value {
    	return Int64Value(int64(v))
    }
    
    // Int64Value returns a [Value] for an int64.
    func Int64Value(v int64) Value {
    	return Value{num: uint64(v), any: KindInt64}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    	components := 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.
    	var v int
    	if !bytes.readBase128Int(&v) {
    		return false
    	}
    	if v < 80 {
    		components[0] = v / 40
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  3. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeImplTest.java

                    + "<property combine.id='TOOVERWRITE'><name>TOOVERWRITE</name><value>LHS</value></property>"
                    + "</props>";
    
            String rhs = "<props>" + "<property combine.id='RHS-ONLY'><name>RHS-ONLY</name><value>RHS</value></property>"
                    + "<property combine.id='TOOVERWRITE'><name>TOOVERWRITE</name><value>RHS</value></property>"
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go

    				Requirement{"key", selection.In, []string{"value", "value1"}},
    				Requirement{"key2", selection.In, []string{"value2"}},
    			},
    			label:         "key2",
    			expectedFound: true,
    			expectedValue: "value2",
    		},
    		{
    			name:          "keyEqualOperatorExactMatch",
    			sel:           internalSelector{Requirement{"key", selection.Equals, []string{"value"}}},
    			label:         "key",
    			expectedFound: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 29.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        checkNotNull(value2);
        checkArgument(!Objects.equal(value1, value2), "Duplicate value provided.");
        distinctValues.replaceValues(type, ImmutableList.of(value1, value2));
        setDefault(type, value1);
        return this;
      }
    
      /**
       * Tests that {@code cls} properly checks null on all constructor and method parameters that
       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir

    
      %keys = "tf.Const"() {value = dense<["a", "b", "c", "d"]> : tensor<4x!tf_type.string>} : () -> tensor<4x!tf_type.string>
      %values = "tf.Const"() {value = dense<[1, 2, 3, 4]> : tensor<4xi64>} : () -> tensor<4xi64>
      "tf.LookupTableImportV2"(%handle, %keys, %values) {device = ""} : (tensor<!tf_type.resource>, tensor<4x!tf_type.string>, tensor<4xi64>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 15K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/index_test.go

    func createNodeAffinity(key string, value string) *v1.VolumeNodeAffinity {
    	return &v1.VolumeNodeAffinity{
    		Required: &v1.NodeSelector{
    			NodeSelectorTerms: []v1.NodeSelectorTerm{
    				{
    					MatchExpressions: []v1.NodeSelectorRequirement{
    						{
    							Key:      key,
    							Operator: v1.NodeSelectorOpIn,
    							Values:   []string{value},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

            private final String value;
    
            public NamedBean(String name, String value) {
                this.name = name;
                this.value = value;
            }
    
            @Override
            public String getName() {
                return name;
            }
    
            @Input
            public String getValue() {
                return value;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  10. 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)
Back to top