Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 92 for 012345678901 (0.15 sec)

  1. src/internal/types/testdata/check/expr3.go

    	_ = A0{}
    	_ = A0{0 /* ERRORx `index .* out of bounds` */}
    	_ = A0{0 /* ERRORx `index .* out of bounds` */ : 0}
    
    	type A1 [10]int
    	_ = A1{}
    	_ = A1{0, 1, 2}
    	_ = A1{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
    	_ = A1{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 /* ERRORx `index .* out of bounds` */ }
    	_ = A1{- /* ERROR "negative" */ 1: 0}
    	_ = A1{8: 8, 9}
    	_ = A1{8: 8, 9, 10 /* ERRORx `index .* out of bounds` */ }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 22:41:49 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        // Test many non-escaped characters.
        s =
            "!@#$%^*()_+=-/?\\|]}[{,.;:"
                + "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertSame(s, htmlEscaper().escape(s));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. 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)
  4. test/stack.go

    	// without faulting.
    	f2()
    	return [3000]byte{}
    }
    
    func f2() [3000]byte {
    	// just take up space
    	return [3000]byte{}
    }
    
    var c = make(chan int)
    var t T
    var b = []byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
    
    func recur(n int) {
    	ss := string(b)
    	if len(ss) != len(b) {
    		panic("bad []byte -> string")
    	}
    	go g(c, t)
    	f0()
    	s := <-c
    	if s != len(t) {
    		println("bad go", s)
    		panic("fail")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        DataOutputStream out = new DataOutputStream(baos);
    
        /* Write out various test values NORMALLY */
        out.write(new byte[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}); // 10 bytes of junk to skip
        initializeData(out);
    
        byte[] data = baos.toByteArray();
    
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        int bytesSkipped = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/testdata/array_test.go

    	return len(b), cap(b)
    }
    
    //go:noinline
    func testSliceLenCap2_ssa(a [10]int, i, j int) (int, int) {
    	b := a[:j]
    	return len(b), cap(b)
    }
    
    func testSliceLenCap(t *testing.T) {
    	a := [10]int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
    	tests := [...]struct {
    		fn   func(a [10]int, i, j int) (int, int)
    		i, j int // slice range
    		l, c int // len, cap
    	}{
    		// -1 means the value is not used.
    		{testSliceLenCap12_ssa, 0, 0, 0, 10},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  7. src/image/jpeg/writer.go

    // This encoder uses the same Huffman encoding for all images.
    var theHuffmanSpec = [nHuffIndex]huffmanSpec{
    	// Luminance DC.
    	{
    		[16]byte{0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0},
    		[]byte{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11},
    	},
    	// Luminance AC.
    	{
    		[16]byte{0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125},
    		[]byte{
    			0x01, 0x02, 0x03, 0x00, 0x04, 0x11, 0x05, 0x12,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/UUID.java

                }
                count++;
            }
    
            return value;
        }
        static final char[] HEXCHARS = {
            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
        };
        public static String bin_to_hex(int value, int length) {
            char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UUID.java

                }
                count++;
            }
    
            return value;
        }
    
        static final char[] HEXCHARS = {
            '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
        };
    
    
        private static String bin_to_hex ( int value, int length ) {
            char[] arr = new char[length];
            int ai = arr.length;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Test all non-escaped ASCII characters.
        String s =
            "!@#$%^*()_+=-/?\\|]}[{,.;:"
                + "abcdefghijklmnopqrstuvwxyz"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 4.7K bytes
    - Viewed (0)
Back to top