Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 112 for ValueT (0.14 sec)

  1. 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)
  2. src/go/constant/value.go

    //go:generate stringer -type Kind
    
    // Kind specifies the kind of value represented by a [Value].
    type Kind int
    
    const (
    	// unknown values
    	Unknown Kind = iota
    
    	// non-numeric values
    	Bool
    	String
    
    	// numeric values
    	Int
    	Float
    	Complex
    )
    
    // A Value represents the value of a Go constant.
    type Value interface {
    	// Kind returns the value kind.
    	Kind() Kind
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/registry/value.go

    	return k.setStringValue(name, SZ, value)
    }
    
    // SetExpandStringValue sets the data and type of a name value
    // under key k to value and EXPAND_SZ. The value must not contain a zero byte.
    func (k Key) SetExpandStringValue(name, value string) error {
    	return k.setStringValue(name, EXPAND_SZ, value)
    }
    
    // SetStringsValue sets the data and type of a name value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/cc/experimental/libtf/value.h

          // initialized value.
          type_ = NONE;
        }
      }
      ~TaggedValue() { destroy(); }
    
      /// @brief Get the underlying value based on type.
      ///
      /// @tparam T The desired return type.
      /// @return The unwrapped value. If this `TaggedValue` type does not currently
      ///         contain a value of type `T`, the program terminates via a call to
      ///         `assert`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/internal/reflectlite/value.go

    // Using == on two Values does not compare the underlying values
    // they represent.
    type Value struct {
    	// typ_ holds the type of the value represented by a Value.
    	// Access using the typ method to avoid escape of v.
    	typ_ *abi.Type
    
    	// Pointer-valued data or, if flagIndir is set, pointer to data.
    	// Valid when either flagIndir is set or typ.pointers() is true.
    	ptr unsafe.Pointer
    
    	// flag holds metadata about the value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top