Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 85 for 012345678 (0.1 sec)

  1. 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)
  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. 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)
  5. 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)
  6. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertEquals("1.2.3.4", InetAddresses.toAddrString(InetAddresses.forString("1.2.3.4")));
      }
    
      public void testToAddrStringIPv6() {
        assertEquals(
            "1:2:3:4:5:6:7:8", InetAddresses.toAddrString(InetAddresses.forString("1:2:3:4:5:6:7:8")));
        assertEquals(
            "2001:0:0:4::8", InetAddresses.toAddrString(InetAddresses.forString("2001:0:0:4:0:0:0:8")));
        assertEquals(
            "2001::4:5:6:7:8",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/stream/EncodedStream.java

     * Useful when streams are interpreted a text streams as it happens on IBM java for standard input.
     */
    public abstract class EncodedStream {
        private final static char[] HEX_DIGIT = new char[] {
            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'
        };
    
        @SuppressWarnings("InputStreamSlowMultibyteRead")
        public static class EncodedInput extends InputStream {
    
            private final InputStream delegate;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. cmd/xl-storage-free-version_test.go

    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    	_, imageService, m, err := createTestRuntimeManager()
    	assert.NoError(t, err)
    
    	runAsUser := int64(1000)
    	runAsGroup := int64(2000)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:       "12345678",
    			Name:      "bar",
    			Namespace: "new",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Name:            "foo",
    					Image:           "busybox",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  10. src/html/template/js_test.go

    	input := ("\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f" +
    		"\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f" +
    		` !"#$%&'()*+,-./` +
    		`0123456789:;<=>?` +
    		`@ABCDEFGHIJKLMNO` +
    		`PQRSTUVWXYZ[\]^_` +
    		"`abcdefghijklmno" +
    		"pqrstuvwxyz{|}~\x7f" +
    		"\u00A0\u0100\u2028\u2029\ufeff\U0001D11E")
    
    	tests := []struct {
    		name    string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top