Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for 012345678Z (0.19 sec)

  1. src/time/format_test.go

    	{"2021-09-29T16:04:33.012345678Z", 12_345_678},
    	// 10 digits, truncates
    	{"2021-09-29T16:04:33.0000000000Z", 0},
    	{"2021-09-29T16:04:33.0000000001Z", 0},
    	{"2021-09-29T16:04:33.1000000000Z", 100_000_000},
    	{"2021-09-29T16:04:33.1000000009Z", 100_000_000},
    	{"2021-09-29T16:04:33.9999999999Z", 999_999_999},
    	{"2021-09-29T16:04:33.0123456789Z", 12_345_678},
    	// 11 digits, truncates
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    	// 8-byte needle
    	{"xxxxxxxxxxxx", "01234567", false},
    	{"01234567xxxx", "01234567", true},
    	{"xx01234567xx", "01234567", true},
    	{"xxxx01234567", "01234567", true},
    	{"01234567xxxxx"[1:], "01234567", false},
    	{"xxxxx01234567"[:12], "01234567", false},
    	// 9-15-byte needle
    	{"xxxxxxxxxxxxx", "012345678", false},
    	{"012345678xxxx", "012345678", true},
    	{"xx012345678xx", "012345678", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/internal/buildid/buildid_test.go

    		results    []string // expected results of reads
    	}{
    		{12, 15, []string{"0123456789", "ab\x00\x00\x00fghij", "klmn"}},                              // within one read
    		{8, 21, []string{"01234567\x00\x00", "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "\x00lmn"}}, // across multiple reads
    		{10, 20, []string{"0123456789", "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "klmn"}},         // a whole read
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testIsNumver() throws Exception {
            assertFalse(StringUtil.isNumber(null));
            assertTrue(StringUtil.isNumber("0123456789"));
            assertFalse(StringUtil.isNumber("aaaBBBccc"));
            assertFalse(StringUtil.isNumber("0123456789"));
            assertFalse(StringUtil.isNumber(""));
            assertFalse(StringUtil.isNumber("01234abcdef"));
            assertFalse(StringUtil.isNumber("abcdef01234"));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/CopyUtilTest.java

    import java.net.URL;
    
    import org.codelibs.core.net.URLUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class CopyUtilTest {
    
        static byte[] srcBytes = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
    
        static String srcString = "ABCDEFGHIJKLMN";
    
        static String urlString = "あいうえお";
    
        InputStream is = new ByteArrayInputStream(srcBytes);
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-execution/worker-main/src/test/groovy/org/gradle/process/internal/worker/messaging/WorkerConfigSerializerTest.groovy

            given:
            WorkerConfig original = new WorkerConfig(
                LogLevel.ERROR,
                true,
                "/path/to/user/home",
                new MultiChoiceAddress(new UUID(123, 456), 789, [InetAddress.getByName("example.com")]),
                987,
                "name",
                new TestAction("value"),
                NativeServicesMode.ENABLED
            )
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/syscall/dirent_test.go

    func TestDirent(t *testing.T) {
    	const (
    		direntBufSize   = 2048 // arbitrary? See https://go.dev/issue/37323.
    		filenameMinSize = 11
    	)
    
    	d := t.TempDir()
    	t.Logf("tmpdir: %s", d)
    
    	for i, c := range []byte("0123456789") {
    		name := string(bytes.Repeat([]byte{c}, filenameMinSize+i))
    		err := os.WriteFile(filepath.Join(d, name), nil, 0644)
    		if err != nil {
    			t.Fatalf("writefile: %v", err)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top