Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for 00123456789 (0.12 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. 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)
  3. src/time/format_test.go

    	{"2021-09-29T16:04:33.00123456789Z", 1_234_567},
    	// 12 digits, truncates
    	{"2021-09-29T16:04:33.000123456789Z", 123_456},
    	// 15 digits, truncates
    	{"2021-09-29T16:04:33.9999999999999999Z", 999_999_999},
    }
    
    // Issue 48685 and 54567.
    func TestParseFractionalSecondsLongerThanNineDigits(t *testing.T) {
    	for _, tt := range longFractionalDigitsTests {
    		for _, format := range []string{RFC3339, RFC3339Nano} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava-tests/test/com/google/common/io/IoTestCase.java

          "\u00CE\u00F1\u0163\u00E9\u0072\u00F1\u00E5\u0163\u00EE\u00F6"
              + "\u00F1\u00E5\u013C\u00EE\u017E\u00E5\u0163\u00EE\u00F6\u00F1";
    
      static final String ASCII =
          " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ"
              + "[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";
    
      private File testDir;
      private File tempDir;
    
      private final Set<File> filesToDelete = new HashSet<>();
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. samples/bookinfo/src/details/details.rb

            'author': 'William Shakespeare',
            'year': 1595,
            'type' => 'paperback',
            'pages' => 200,
            'publisher' => 'PublisherA',
            'language' => 'English',
            'ISBN-10' => '1234567890',
            'ISBN-13' => '123-1234567890'
        }
    end
    
    def fetch_details_from_external_service(isbn, id, headers)
        uri = URI.parse('https://www.googleapis.com/books/v1/volumes?q=isbn:' + isbn)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    		}
    	}
    
    	// extract the numerator
    Num:
    	for i := pos; ; i++ {
    		if i >= end {
    			num = str[pos:end]
    			value = str[0:end]
    			return
    		}
    		switch str[i] {
    		case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9':
    		default:
    			num = str[pos:i]
    			pos = i
    			break Num
    		}
    	}
    
    	// if we stripped all numerator positions, always return 0
    	if len(num) == 0 {
    		num = "0"
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. src/strings/strings_test.go

    	{"01234567xxxxx"[1:], "01234567", false},
    	{"xxxxx01234567"[:12], "01234567", false},
    	// 9-15-byte needle
    	{"xxxxxxxxxxxxx", "012345678", false},
    	{"012345678xxxx", "012345678", true},
    	{"xx012345678xx", "012345678", true},
    	{"xxxx012345678", "012345678", true},
    	{"012345678xxxxx"[1:], "012345678", false},
    	{"xxxxx012345678"[:13], "012345678", false},
    	// 16-byte needle
    	{"xxxxxxxxxxxxxxxxxxxx", "0123456789ABCDEF", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. src/slices/example_test.go

    	fmt.Println(grow)
    	fmt.Println(len(grow))
    	fmt.Println(cap(grow))
    	// Output:
    	// 4
    	// [0 42 -10 8]
    	// 4
    	// 8
    }
    
    func ExampleClip() {
    	a := [...]int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
    	s := a[:4:10]
    	clip := slices.Clip(s)
    	fmt.Println(cap(s))
    	fmt.Println(clip)
    	fmt.Println(len(clip))
    	fmt.Println(cap(clip))
    	// Output:
    	// 10
    	// [0 1 2 3]
    	// 4
    	// 4
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top