Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 2345 (0.05 sec)

  1. pilot/pkg/serviceregistry/serviceregistry_test.go

    			Name:             "workload",
    			Namespace:        namespace,
    			GroupVersionKind: gvk.WorkloadEntry,
    			Domain:           "cluster.local",
    		},
    		Spec: &networking.WorkloadEntry{
    			Address: "2.3.4.5",
    			Labels:  labels,
    		},
    	}
    	expectedSvc := &model.Service{
    		Hostname: "service.namespace.svc.cluster.local",
    		Ports: []*model.Port{{
    			Name:     "http",
    			Port:     80,
    			Protocol: "http",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. src/net/netip/netip_test.go

    	test("Addr.Compare", func() {
    		a := MustParseAddr("1.2.3.4")
    		b := MustParseAddr("2.3.4.5")
    		sinkBool = a.Compare(b) == 0
    	})
    	test("Addr.Less", func() {
    		a := MustParseAddr("1.2.3.4")
    		b := MustParseAddr("2.3.4.5")
    		sinkBool = a.Less(b)
    	})
    	test("Addr.Is4", func() { sinkBool = MustParseAddr("1.2.3.4").Is4() })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_test.go

    }
    
    func TestOutboundListenerRoute(t *testing.T) {
    	testOutboundListenerRoute(t,
    		buildService("test1.com", "1.2.3.4", "unknown", tnow.Add(1*time.Second)),
    		buildService("test2.com", "2.3.4.5", protocol.HTTP, tnow),
    		buildService("test3.com", "3.4.5.6", "unknown", tnow.Add(2*time.Second)))
    }
    
    func TestOutboundListenerConfig_WithSidecar(t *testing.T) {
    	// Add a service and verify it's config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    			},
    		},
    	}
    
    	sidecarOutboundIn := []*listener.Listener{
    		{
    			Name: "12345",
    			Address: &core.Address{
    				Address: &core.Address_SocketAddress{
    					SocketAddress: &core.SocketAddress{
    						PortSpecifier: &core.SocketAddress_PortValue{
    							PortValue: 12345,
    						},
    					},
    				},
    			},
    			FilterChains: []*listener.FilterChain{
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  5. src/fmt/fmt_test.go

    	// arrays
    	{"%v", array, "[1 2 3 4 5]"},
    	{"%v", iarray, "[1 hello 2.5 <nil>]"},
    	{"%v", barray, "[1 2 3 4 5]"},
    	{"%v", &array, "&[1 2 3 4 5]"},
    	{"%v", &iarray, "&[1 hello 2.5 <nil>]"},
    	{"%v", &barray, "&[1 2 3 4 5]"},
    
    	// slices
    	{"%v", slice, "[1 2 3 4 5]"},
    	{"%v", islice, "[1 hello 2.5 <nil>]"},
    	{"%v", bslice, "[1 2 3 4 5]"},
    	{"%v", &slice, "&[1 2 3 4 5]"},
    	{"%v", &islice, "&[1 hello 2.5 <nil>]"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/defaults_test.go

    				".Spec.Containers[0].Ports[0].ContainerPort": "12345",
    			}
    			m[".Spec.Containers"] = `[{"name":"","ports":[{"containerPort":12345,"protocol":"TCP"}],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"IfNotPresent"}]`
    			m[".Spec.Containers[0].Ports"] = `[{"containerPort":12345,"protocol":"TCP"}]`
    			for k, v := range expectedDefaults {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<Integer> iterator = Collections.singleton(0).iterator();
        assertEquals(1, Iterators.size(iterator));
      }
    
      public void testSize_partiallyConsumed() {
        Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator();
        iterator.next();
        iterator.next();
        assertEquals(3, Iterators.size(iterator));
      }
    
      public void test_contains_nonnull_yes() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  8. src/encoding/xml/marshal_test.go

    	ValueTwo *int `xml:"value_two,attr,omitempty"`
    }
    
    func TestMarshalZeroValue(t *testing.T) {
    	proofXml := `<l1><value>1.2345</value></l1>`
    	var l1 LayerOne
    	err := Unmarshal([]byte(proofXml), &l1)
    	if err != nil {
    		t.Fatalf("unmarshal XML error: %v", err)
    	}
    	want := float64(1.2345)
    	got := *l1.Value
    	if got != want {
    		t.Fatalf("unexpected unmarshal result, want %f but got %f", want, got)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  9. src/math/rand/v2/chacha8_test.go

    		}
    		p.Read(make([]byte, 1))
    	}
    }
    
    func BenchmarkChaCha8(b *testing.B) {
    	p := NewChaCha8([32]byte{1, 2, 3, 4, 5})
    	var t uint64
    	for n := b.N; n > 0; n-- {
    		t += p.Uint64()
    	}
    	Sink = t
    }
    
    func BenchmarkChaCha8Read(b *testing.B) {
    	p := NewChaCha8([32]byte{1, 2, 3, 4, 5})
    	buf := make([]byte, 32)
    	b.SetBytes(32)
    	var t uint8
    	for n := b.N; n > 0; n-- {
    		p.Read(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 55K bytes
    - Viewed (0)
  10. src/time/time_test.go

    		{`"2000-01-01T00:00:00+24:00"`, `<nil>`},
    		{`"2000-01-01T00:00:00+00:60"`, `<nil>`},
    		{`"2000-01-01T00:00:00+123:45"`, `parsing time "2000-01-01T00:00:00+123:45" as "2006-01-02T15:04:05Z07:00": cannot parse "+123:45" as "Z07:00"`},
    	}
    
    	for _, tt := range tests {
    		var ts Time
    
    		want := tt.want
    		err := json.Unmarshal([]byte(tt.in), &ts)
    		if fmt.Sprint(err) != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top