Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for 01234567890 (1.14 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/archive/tar/writer_test.go

    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  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. 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)
  8. src/reflect/all_test.go

    	{&[10]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, "*[10]int(&[10]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10})"},
    	{[]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, "[]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}"},
    	{&[]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, "*[]int(&[]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10})"},
    }
    
    func TestValueToString(t *testing.T) {
    	for i, test := range valueToStringTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  9. 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)
  10. src/runtime/runtime_test.go

    	// just a convenient way of documenting (via eqstring_generic)
    	// what == does.
    	s := []string{
    		"",
    		"a",
    		"c",
    		"aaa",
    		"ccc",
    		"cccc"[:3], // same contents, different string
    		"1234567890",
    	}
    	for _, s1 := range s {
    		for _, s2 := range s {
    			x := s1 == s2
    			y := eqstring_generic(s1, s2)
    			if x != y {
    				t.Errorf(`("%s" == "%s") = %t, want %t`, s1, s2, x, y)
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top