Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 785 for 123x (0.06 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go

    		remoteAddr: "1.2.3.4:555",
    		expected:   []string{"1.2.3.4"},
    	}, {
    		name:       "no headers, just remoteAddr host",
    		remoteAddr: "1.2.3.4",
    		expected:   []string{"1.2.3.4"},
    	}, {
    		name:         "empty forwarded-for chain",
    		forwardedFor: " ",
    		remoteAddr:   "1.2.3.4",
    		expected:     []string{"1.2.3.4"},
    	}, {
    		name:         "invalid forwarded-for chain",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:21:56 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_websockets/test_tutorial003.py

        with client.websocket_connect("/ws/1234") as connection, client.websocket_connect(
            "/ws/5678"
        ) as connection_two:
            connection.send_text("Hello from 1234")
            data1 = connection.receive_text()
            assert data1 == "You wrote: Hello from 1234"
            data2 = connection_two.receive_text()
            client1_says = "Client #1234 says: Hello from 1234"
            assert data2 == client1_says
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 29 09:26:07 UTC 2021
    - 872 bytes
    - Viewed (0)
  3. pkg/kubelet/pleg/generic_test.go

    		{Pod: &kubecontainer.Pod{
    			ID: "1234",
    			Containers: []*kubecontainer.Container{
    				createTestContainer("c1", kubecontainer.ContainerStateRunning),
    			},
    		}},
    	}
    	pleg.Relist()
    	expected := []*PodLifecycleEvent{
    		{ID: "1234", Type: ContainerDied, Data: "c2"},
    		{ID: "1234", Type: ContainerRemoved, Data: "c2"},
    		{ID: "1234", Type: ContainerRemoved, Data: "c3"},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. test/interface/struct.go

    func (p S3) Put(i int64) { p.l = i }
    
    func f7() {
    	s := S3{1, 2, 3, 4}
    	var i I2 = s
    	i.Put(5)
    	check(i.Get() == 4, "f7 i")
    	check(s.l == 4, "f7 s")
    }
    
    func f8() {
    	s := S3{1, 2, 3, 4}
    	var i I2 = &s
    	i.Put(5)
    	check(i.Get() == 4, "f8 i")
    	check(s.l == 4, "f8 s")
    }
    
    func f9() {
    	s := &S3{1, 2, 3, 4}
    	var i I2 = s
    	i.Put(5)
    	check(i.Get() == 4, "f9 i")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/lex_test.go

    		"",
    	},
    	{
    		"simple",
    		"1 (a)",
    		"1.(.a.)",
    	},
    	{
    		"simple define",
    		lines(
    			"#define A 1234",
    			"A",
    		),
    		"1234.\n",
    	},
    	{
    		"define without value",
    		"#define A",
    		"",
    	},
    	{
    		"macro without arguments",
    		"#define A() 1234\n" + "A()\n",
    		"1234.\n",
    	},
    	{
    		"macro with just parens as body",
    		"#define A () \n" + "A\n",
    		"(.).\n",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy_test.go

    					ObjectMeta: metav1.ObjectMeta{Namespace: "one", Name: "alfa"},
    					Spec: v1.ServiceSpec{
    						Type:      v1.ServiceTypeClusterIP,
    						ClusterIP: "hit",
    						Ports: []v1.ServicePort{
    							{Port: 1234, TargetPort: intstr.FromInt32(1234)},
    						},
    					},
    				},
    			},
    			endpoints: matchingEndpoints,
    
    			clusterMode:  expectation{error: true},
    			endpointMode: expectation{error: true},
    		},
    		{
    			name: "cluster ip",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  7. test/fixedbugs/bug084.go

    package main
    
    type Service struct {
    	rpc [2]int
    }
    
    func (s *Service) Serve(a int64) {
    	if a != 1234 {
    		print(a, " not 1234\n")
    		panic("fail")
    	}
    }
    
    var arith Service
    
    func main() {
    	c := make(chan string)
    	a := new(Service)
    	go a.Serve(1234)
    	_ = c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 421 bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/strict/testdata/invalid_duplicate_field_kubeletcfg.yaml

    apiVersion: kubelet.config.k8s.io/v1beta1
    kind: KubeletConfiguration
    address: 1.2.3.4
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 16 00:21:31 UTC 2018
    - 103 bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/endpoint_test.go

    			hostport:     "cp.k8s.io:1234",
    			expectedHost: "cp.k8s.io",
    			expectedPort: "1234",
    		},
    		{
    			name:         "valid ip4",
    			hostport:     "1.2.3.4",
    			expectedHost: "1.2.3.4",
    			expectedPort: "",
    		},
    		{
    			name:         "valid ipv4:port",
    			hostport:     "1.2.3.4:1234",
    			expectedHost: "1.2.3.4",
    			expectedPort: "1234",
    		},
    		{
    			name:         "valid ipv6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 23 03:19:26 UTC 2019
    - 10K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertEquals("::102:304", InetAddresses.toAddrString(InetAddresses.forString("::1.2.3.4")));
      }
    
      public void testToUriStringIPv4() {
        String ipStr = "1.2.3.4";
        InetAddress ip = InetAddresses.forString(ipStr);
        assertEquals("1.2.3.4", InetAddresses.toUriString(ip));
      }
    
      public void testToUriStringIPv6() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top