Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 116 for 01234567 (0.14 sec)

  1. src/slices/example_test.go

    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))
    	fmt.Println(slices.Contains(numbers, 4))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleRepeat() {
    	numbers := []int{0, 1, 2, 3}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/policy_none_test.go

    	}
    }
    
    func TestNonePolicyAllocate(t *testing.T) {
    	policy := &nonePolicy{}
    
    	st := &mockState{
    		assignments:   state.ContainerCPUAssignments{},
    		defaultCPUSet: cpuset.New(1, 2, 3, 4, 5, 6, 7),
    	}
    
    	testPod := makePod("fakePod", "fakeContainer", "1000m", "1000m")
    
    	container := &testPod.Spec.Containers[0]
    	err := policy.Allocate(st, testPod, container)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    	}{
    		{
    			description:   "One container",
    			defaultCPUset: cpuset.New(0, 1, 2, 3, 4, 5, 6, 7, 8),
    			assignments: map[string]map[string]cpuset.CPUSet{
    				"pod": {
    					"c1": cpuset.New(0, 1),
    				},
    			},
    		},
    		{
    			description:   "Two containers",
    			defaultCPUset: cpuset.New(0, 1, 2, 3, 4, 5, 6, 7, 8),
    			assignments: map[string]map[string]cpuset.CPUSet{
    				"pod": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/ppc64.s

    	MOVD $-32768, R6                // 38c08000
    	MOVD $1234567, R5               // 6405001260a5d687 or 0600001238a0d687
    	MOVW $1, R3                     // 38600001
    	MOVW $-1, R4                    // 3880ffff
    	MOVW $65535, R5                 // 6005ffff
    	MOVW $65536, R6                 // 3cc00001
    	MOVW $-32767, R5                // 38a08001
    	MOVW $-32768, R6                // 38c08000
    	MOVW $1234567, R5               // 6405001260a5d687 or 0600001238a0d687
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  5. src/maps/iter_test.go

    		1: 1,
    		2: 1,
    	}
    	for i, v := range map[int]int{
    		0: 1,
    		2: 3,
    		4: 5,
    		6: 7,
    		8: 9,
    	} {
    		want[i] = v
    	}
    
    	if !Equal(got, want) {
    		t.Errorf("Insert got: %v, want: %v", got, want)
    	}
    }
    
    func TestCollect(t *testing.T) {
    	m := map[int]int{
    		0: 1,
    		2: 3,
    		4: 5,
    		6: 7,
    		8: 9,
    	}
    	got := Collect(All(m))
    	if !Equal(got, m) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:44:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -4, 3, 7, new short[] {0, 1, 2, 3, 4, 5, 6});
        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -3, 3, 7, new short[] {0, 1, 2, 6, 3, 4, 5});
        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -2, 3, 7, new short[] {0, 1, 2, 5, 6, 3, 4});
        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -1, 3, 7, new short[] {0, 1, 2, 4, 5, 6, 3});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. src/encoding/json/tagkey_test.go

    // license that can be found in the LICENSE file.
    
    package json
    
    import (
    	"testing"
    )
    
    type basicLatin2xTag struct {
    	V string `json:"$%-/"`
    }
    
    type basicLatin3xTag struct {
    	V string `json:"0123456789"`
    }
    
    type basicLatin4xTag struct {
    	V string `json:"ABCDEFGHIJKLMO"`
    }
    
    type basicLatin5xTag struct {
    	V string `json:"PQRSTUVWXYZ_"`
    }
    
    type basicLatin6xTag struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -4, 3, 7, new short[] {0, 1, 2, 3, 4, 5, 6});
        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -3, 3, 7, new short[] {0, 1, 2, 6, 3, 4, 5});
        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -2, 3, 7, new short[] {0, 1, 2, 5, 6, 3, 4});
        testRotate(new short[] {0, 1, 2, 3, 4, 5, 6}, -1, 3, 7, new short[] {0, 1, 2, 4, 5, 6, 3});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. test/codegen/arithmetic.go

    	out[1] = a + 0xFFFFFFFE00000000
    	// ppc64x/power10:"ADD\t[$]1234567,"
    	// ppc64x/power9:"ADDIS\t[$]19,", "ADD\t[$]-10617,"
    	// ppc64x/power8:"ADDIS\t[$]19,", "ADD\t[$]-10617,"
    	out[2] = a + 1234567
    	// ppc64x/power10:"ADD\t[$]-1234567,"
    	// ppc64x/power9:"ADDIS\t[$]-19,", "ADD\t[$]10617,"
    	// ppc64x/power8:"ADDIS\t[$]-19,", "ADD\t[$]10617,"
    	out[3] = a - 1234567
    	// ppc64x/power10:"ADD\t[$]2147450879,"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        testRotate(new long[] {0, 1, 2, 3, 4, 5, 6}, -4, 3, 7, new long[] {0, 1, 2, 3, 4, 5, 6});
        testRotate(new long[] {0, 1, 2, 3, 4, 5, 6}, -3, 3, 7, new long[] {0, 1, 2, 6, 3, 4, 5});
        testRotate(new long[] {0, 1, 2, 3, 4, 5, 6}, -2, 3, 7, new long[] {0, 1, 2, 5, 6, 3, 4});
        testRotate(new long[] {0, 1, 2, 3, 4, 5, 6}, -1, 3, 7, new long[] {0, 1, 2, 4, 5, 6, 3});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top