Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 295 for value1b (0.14 sec)

  1. tensorflow/cc/experimental/libtf/tests/value_test.cc

      TaggedValue value2("string2");
      ASSERT_NE(value1a.s(), value2.s());
      ASSERT_STREQ(value1a.s(), "string1");
      ASSERT_STREQ(value2.s(), "string2");
    }
    
    TEST(Test1, TestDict) {
      TaggedValue s1("test1");
      TaggedValue s2("test2");
      TaggedValue d = TaggedValue::Dict();
      d.dict()[s2] = TaggedValue(6.f);
      std::stringstream stream;
      stream << d;
      ASSERT_EQ(stream.str(), "{test2: 6, }");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/mime/multipart/multipart_test.go

    func testMultipartBody(sep string) string {
    	testBody := `
    This is a multi-part message.  This line is ignored.
    --MyBoundary
    Header1: value1
    HEADER2: value2
    foo-bar: baz
    
    My value
    The end.
    --MyBoundary
    name: bigsection
    
    [longline]
    --MyBoundary
    Header1: value1b
    HEADER2: value2b
    foo-bar: bazb
    
    Line 1
    Line 2
    Line 3 ends in a newline, but just one.
    
    --MyBoundary
    
    never read data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 30.4K bytes
    - Viewed (0)
  3. subprojects/core-api/src/test/groovy/org/gradle/api/internal/provider/views/MapPropertyMapViewTest.groovy

            when:
            map.putAll(["first": "value1", "second": "value2", "third": "value3", "forth": "value4", "fifth": "value5"])
            map.retainAll { it.key in ["first", "third", "forth"] }
    
            then:
            mapProperty.get() == ["first": "value1", "third": "value3", "forth": "value4"]
        }
    
        def "contains operations work"() {
            given:
            mapProperty.put("first", "value1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:28 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/runtime/pprof/label_test.go

    	ctx = WithLabels(ctx, Labels("key4", "value4a", "key4", "value4b"))
    	v, ok = Label(ctx, "key4")
    	if !ok || v != "value4b" {
    		t.Errorf(`Label(ctx, "key4"): got %v, %v; want "value4b", ok`, v, ok)
    	}
    	gotLabels = labelsSorted(ctx)
    	wantLabels = []label{{"key", "value3"}, {"key2", "value2"}, {"key4", "value4b"}}
    	if !reflect.DeepEqual(gotLabels, wantLabels) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_xla_weight_only.mlir

    // ```
    // parameters[
    //   {"key1": "value11", "key2": "value21"},
    //   {"key1": "value12", "key2": "value22"},
    // ]
    // func.func func_name_${key1}_fn (...) {
    //   ...${key2}...
    // }
    // ```
    // The above template with generate two functions by substituting `key1` and
    // `key2` with given values.
    
    module {
    
      func.func private @internal_dequantize_f32(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/helper/helpers_test.go

    							Values:   []string{"test-value2"},
    						},
    						{
    							Key:      "key3",
    							Operator: v1.NodeSelectorOpIn,
    							Values:   []string{"test-value3"},
    						},
    					},
    				},
    				{
    					MatchExpressions: []v1.NodeSelectorRequirement{
    						{
    							Key:      "key1",
    							Operator: v1.NodeSelectorOpIn,
    							Values:   []string{"test-value11, test-value12"},
    						},
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. 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)
  8. src/internal/reflectlite/value.go

    	f := v.flag
    	if f == 0 {
    		panic(&ValueError{"reflectlite.Value.Type", abi.Invalid})
    	}
    	// Method values not supported.
    	return toRType(v.typ())
    }
    
    /*
     * constructors
     */
    
    // implemented in package runtime
    
    //go:noescape
    func unsafe_New(*abi.Type) unsafe.Pointer
    
    // ValueOf returns a new Value initialized to the concrete 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)
  9. operator/pkg/name/name_test.go

    		want2 string
    	}{
    		{
    			name: "consolidate from manifest map",
    			mm: ManifestMap{
    				"key1": []string{"value1", "value2"},
    				"key2": []string{"value2", "value3"},
    			},
    			want1: "value1\n---\nvalue2\n---\nvalue2\n---\nvalue3\n---\n",
    			want2: "value2\n---\nvalue3\n---\nvalue1\n---\nvalue2\n---\n",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			got := tt.mm.String()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 05 14:08:11 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_uniform_quantized.mlir

    // ```
    // parameters[
    //   {"key1": "value11", "key2": "value21"},
    //   {"key1": "value12", "key2": "value22"},
    // ]
    // func.func func_name_${key1}_fn (...) {
    //   ...${key2}...
    // }
    // ```
    // The above template with generate two functions by substituting `key1` and
    // `key2` with given values.
    
    module {
    
      for main_op in ["Conv2D", "DepthwiseConv2D", "MatMul"] {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 29 01:13:58 UTC 2023
    - 19.3K bytes
    - Viewed (0)
Back to top