Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 251 for value_ (0.37 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. pkg/kubelet/stats/cri_stats_provider_test.go

    	m.InodesUsed = resource.NewQuantity(int64(seed+offsetInodeUsage), resource.BinarySI)
    	return m
    }
    
    func TestGetContainerUsageNanoCores(t *testing.T) {
    	var value0 uint64
    	var value1 uint64 = 10000000000
    
    	// Test with a large container of 100+ CPUs
    	var value2 uint64 = 188427786383
    
    	tests := []struct {
    		desc          string
    		cpuUsageCache map[string]*cpuUsageRecord
    		stats         *runtimeapi.ContainerStats
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  3. src/internal/cpu/cpu.go

    		}
    		i = indexByte(field, '=')
    		if i < 0 {
    			print("GODEBUG: no value specified for \"", field, "\"\n")
    			continue
    		}
    		key, value := field[4:i], field[i+1:] // e.g. "SSE2", "on"
    
    		var enable bool
    		switch value {
    		case "on":
    			enable = true
    		case "off":
    			enable = false
    		default:
    			print("GODEBUG: value \"", value, "\" not supported for cpu option \"", key, "\"\n")
    			continue field
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/static/trace_viewer_full.html

    break;case Array:try{value=JSON.parse(value);}catch(x){value=null;console.warn('Polymer::Attributes: couldn`t decode Array as JSON');}
    break;case Date:value=new Date(value);break;case String:default:break;}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
  5. 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)
  6. pkg/apis/core/validation/validation_test.go

    }
    
    func TestRelaxedValidateEnv(t *testing.T) {
    	successCase := []core.EnvVar{
    		{Name: "!\"#$%&'()", Value: "value"},
    		{Name: "* +,-./0123456789", Value: "value"},
    		{Name: ":;<>?@", Value: "value"},
    		{Name: "ABCDEFG", Value: "value"},
    		{Name: "abcdefghijklmn", Value: "value"},
    		{Name: "[\\]^_`{}|~", Value: "value"},
    		{
    			Name: "!\"#$%&'()",
    			ValueFrom: &core.EnvVarSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  7. 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)
  8. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
            .add("kit:kat") // Space after colon is not required.
            .build()
        assertThat(headers.values("foo")).containsExactly("bar", "baz", "bak")
        assertThat(headers.values("key")).containsExactly("value")
        assertThat(headers.values("ping")).containsExactly("pong")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. pkg/kube/inject/webhook_test.go

    					Value: `{"/app-health/foo/livez":{"httpGet":{"path":"/","port":8000,"scheme":"HTTP"}}}`,
    				},
    				{
    					Name:  "TEST_ENV_VAR2",
    					Value: "value2",
    				},
    			},
    			probers: `{"/app-health/bar/livez":{"httpGet":{"path":"/","port":9000,"scheme":"HTTP"}}}`,
    			want: []corev1.EnvVar{
    				{
    					Name:  "TEST_ENV_VAR1",
    					Value: "value1",
    				},
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  10. tests/integration/pilot/common/routing.go

          context: SIDECAR_OUTBOUND
        patch:
          operation: MERGE
          value:
            request_headers_to_add:
            - header:
                key: x-vhost-outbound
                value: "hello world"
      - applyTo: CLUSTER
        match:
          context: SIDECAR_OUTBOUND
          cluster: {}
        patch:
          operation: MERGE
          value:
            http2_protocol_options: {}
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top