Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 195 for 012345678 (0.15 sec)

  1. src/cmd/compile/internal/test/testdata/append_test.go

    	expect(t, a, []int{1})
    	a = appendThree_ssa(a, 2, 3, 4)
    	expect(t, a, []int{1, 2, 3, 4})
    	a = appendThree_ssa(a, 5, 6, 7)
    	expect(t, a, []int{1, 2, 3, 4, 5, 6, 7})
    	if &a[0] != &store[0] {
    		t.Errorf("unnecessary grow")
    	}
    	a = appendOne_ssa(a, 8)
    	expect(t, a, []int{1, 2, 3, 4, 5, 6, 7, 8})
    	if &a[0] == &store[0] {
    		t.Errorf("didn't grow")
    	}
    }
    
    func TestAppend(t *testing.T) {
    	testAppend(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux_test.go

    	config := &runtimeapi.PodSandboxConfig{
    		Linux: &runtimeapi.LinuxPodSandboxConfig{},
    	}
    
    	getPodWithOverhead := func() *v1.Pod {
    		return &v1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				UID:       "12345678",
    				Name:      "bar",
    				Namespace: "new",
    			},
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/runtime/vdso_freebsd_x86.go

    	}
    	if p == ^uintptr(0) {
    		return 0, false
    	}
    	return *(*uint32)(unsafe.Pointer(p + _HPET_MAIN_COUNTER)), true
    }
    
    //go:systemstack
    func initHPETTimecounter(idx int) {
    	const digits = "0123456789"
    
    	var devPath [len(hpetDevPath)]byte
    	copy(devPath[:], hpetDevPath)
    	devPath[9] = digits[idx]
    
    	fd := open(&devPath[0], 0 /* O_RDONLY */ |_O_CLOEXEC, 0)
    	if fd < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    			},
    			stDefaultCPUSet:           cpuset.New(1, 2, 3, 4, 5, 6, 7),
    			lastUpdateStAssignments:   state.ContainerCPUAssignments{},
    			lastUpdateStDefaultCPUSet: cpuset.New(),
    			expectStAssignments: state.ContainerCPUAssignments{
    				"fakePodUID": map[string]cpuset.CPUSet{
    					"fakeContainerName": cpuset.New(),
    				},
    			},
    			expectStDefaultCPUSet:        cpuset.New(1, 2, 3, 4, 5, 6, 7),
    			expectSucceededContainerName: "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  5. src/math/big/natconv_test.go

    	{"0b__1000", 0, false, nat{0x8}, 2, 4, errInvalSep, 0},
    	{"0o60___0", 0, false, nat{0600}, 8, 3, errInvalSep, 0},
    	{"0466_", 0, false, nat{0466}, 8, 3, errInvalSep, 0},
    	{"01234567_8", 0, false, nat{01234567}, 8, 7, errInvalSep, '8'},
    	{"1_.", 0, true, nat{1}, 10, 0, errInvalSep, 0},
    	{"0._1", 0, true, nat{1}, 10, -1, errInvalSep, 0},
    	{"2.7_", 0, true, nat{27}, 10, -1, errInvalSep, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 16.8K bytes
    - Viewed (0)
  6. src/unicode/utf8/utf8_test.go

    	s := []byte("0123456789")
    	for i := 0; i < b.N; i++ {
    		RuneCount(s)
    	}
    }
    
    func BenchmarkRuneCountTenJapaneseChars(b *testing.B) {
    	s := []byte("日本語日本語日本語日")
    	for i := 0; i < b.N; i++ {
    		RuneCount(s)
    	}
    }
    
    func BenchmarkRuneCountInStringTenASCIIChars(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		RuneCountInString("0123456789")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  9. src/fmt/fmt_test.go

    	{"%☠", [1]uint8{0}, "[%!☠(uint8=0)]"},
    	{"%☠", "hello", "%!☠(string=hello)"},
    	{"%☠", 1.2345678, "%!☠(float64=1.2345678)"},
    	{"%☠", float32(1.2345678), "%!☠(float32=1.2345678)"},
    	{"%☠", 1.2345678 + 1.2345678i, "%!☠(complex128=(1.2345678+1.2345678i))"},
    	{"%☠", complex64(1.2345678 + 1.2345678i), "%!☠(complex64=(1.2345678+1.2345678i))"},
    	{"%☠", &intVar, "%!☠(*int=0xPTR)"},
    	{"%☠", make(chan int), "%!☠(chan int=0xPTR)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  10. src/encoding/binary/binary_test.go

    		b.Run(fmt.Sprintf("%T", data), func(b *testing.B) {
    			for range b.N {
    				_ = Size(data)
    			}
    		})
    	}
    }
    
    func TestNativeEndian(t *testing.T) {
    	const val = 0x12345678
    	i := uint32(val)
    	s := unsafe.Slice((*byte)(unsafe.Pointer(&i)), unsafe.Sizeof(i))
    	if v := NativeEndian.Uint32(s); v != val {
    		t.Errorf("NativeEndian.Uint32 returned %#x, expected %#x", v, val)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top