Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for S1 (0.03 sec)

  1. pkg/proxy/config/api_test.go

    	_, ctx := klogtesting.NewTestContext(t)
    	service1v1 := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"},
    		Spec:       v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 10}}}}
    	service1v2 := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"},
    		Spec:       v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 20}}}}
    	service2 := &v1.Service{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. src/slices/example_test.go

    	fmt.Println(clip)
    	fmt.Println(len(clip))
    	fmt.Println(cap(clip))
    	// Output:
    	// 10
    	// [0 1 2 3]
    	// 4
    	// 4
    }
    
    func ExampleConcat() {
    	s1 := []int{0, 1, 2, 3}
    	s2 := []int{4, 5, 6}
    	concat := slices.Concat(s1, s2)
    	fmt.Println(concat)
    	// Output:
    	// [0 1 2 3 4 5 6]
    }
    
    func ExampleContains() {
    	numbers := []int{0, 1, 2, 3}
    	fmt.Println(slices.Contains(numbers, 2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/slices/sort_test.go

    	}
    	if !data.inOrder(false) {
    		t.Errorf("Stable wasn't stable on %d ints", n)
    	}
    }
    
    type S struct {
    	a int
    	b string
    }
    
    func cmpS(s1, s2 S) int {
    	return cmp.Compare(s1.a, s2.a)
    }
    
    func TestMinMax(t *testing.T) {
    	intCmp := func(a, b int) int { return a - b }
    
    	tests := []struct {
    		data    []int
    		wantMin int
    		wantMax int
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/decls0.go

    	a /* ERROR "redeclared" */ int
    
    	b /* ERROR "invalid recursive type" */ c
    	c d
    	d e
    	e b
    
    	t *t
    
    	U V
    	V *W
    	W U
    
    	P1 *S2
    	P2 P1
    
    	S0 struct {
    	}
    	S1 struct {
    		a, b, c int
    		u, v, a /* ERROR "redeclared" */ float32
    	}
    	S2 struct {
    		S0 // embedded field
    		S0 /* ERROR "redeclared" */ int
    	}
    	S3 struct {
    		x S2
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/crypto/tls/testdata/Client-TLSv13-KeyUpdate

    00000200  a1 f0 5f 67 45 46 d3 8c  11 ff 21 62 7d ed f9 0e  |.._gEF....!b}...|
    00000210  2a ba b3 82 f5 6b c1 4a  4e cc 11 90 48 81 96 7a  |*....k.JN...H..z|
    00000220  df f9 22 ae 53 31 14 9d  c9 5c 85 e7 db a2 dd 02  |..".S1...\......|
    00000230  56 eb d0 fe 20 35 21 c9  33 63 b5 b7 a8 93 30 7f  |V... 5!.3c....0.|
    00000240  86 1f d1 af b1 ff 3e 9a  d1 a8 90 d9 9c 86 55 e8  |......>.......U.|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top