Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for 01234 (0.02 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).isEmpty();
    
        // add 0, 1, 2, 3, 4
        getAll(cache, asList(0, 1, 2, 3, 4));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4);
    
        // invalidate all
        cache.invalidateAll();
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).isEmpty();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

    public class ContentOutputStreamTest {
    
        @Test
        public void inMemory() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbRandomAccessFile.write(42);
            assertEquals(1, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testWriteByteArray() throws SmbException {
            byte[] testData = new byte[] { 0, 1, 2, 3, 4 };
    
            // Mock the write operation
            doAnswer(new Answer<Void>() {
                @Override
                public Void answer(InvocationOnMock invocation) throws Throwable {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/TransportTest.java

            void shouldIdentifyFailedStates() {
                // Failed states: 5=disconnecting, 6=disconnected/invalid
                int[] failedStates = { 5, 6 };
                int[] nonFailedStates = { 0, 1, 2, 3, 4 };
    
                for (int state : failedStates) {
                    transport.setState(state);
                    assertTrue(transport.isFailed(), "State " + state + " should be failed");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/bytes/reader_test.go

    		{seek: io.SeekStart, off: 1 << 33, wantpos: 1 << 33, readerr: io.EOF},
    		{seek: io.SeekCurrent, off: 1, wantpos: 1<<33 + 1, readerr: io.EOF},
    		{seek: io.SeekStart, n: 5, want: "01234"},
    		{seek: io.SeekCurrent, n: 5, want: "56789"},
    		{seek: io.SeekEnd, off: -1, n: 1, wantpos: 9, want: "9"},
    	}
    
    	for i, tt := range tests {
    		pos, err := r.Seek(tt.off, tt.seek)
    		if err == nil && tt.seekerr != "" {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    		wantSize: 01234,
    	}, {
    		input: makeInput(FormatGNU, "1234",
    			append(makeSparseStrings(sparseDatas{{0, 0}, {1, 1}}), []string{"", "blah"}...)...),
    		wantMap:  sparseDatas{{0, 0}, {1, 1}},
    		wantSize: 01234,
    	}, {
    		input: makeInput(FormatGNU, "3333",
    			makeSparseStrings(sparseDatas{{0, 1}, {2, 1}, {4, 1}, {6, 1}})...),
    		wantMap:  sparseDatas{{0, 1}, {2, 1}, {4, 1}, {6, 1}},
    		wantSize: 03333,
    	}, {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  7. src/bytes/buffer_test.go

    		var buf Buffer
    		buf.WriteRune(r)
    		check(t, fmt.Sprintf("TestWriteInvalidRune (%d)", r), &buf, "\uFFFD")
    	}
    }
    
    func TestNext(t *testing.T) {
    	b := []byte{0, 1, 2, 3, 4}
    	tmp := make([]byte, 5)
    	for i := 0; i <= 5; i++ {
    		for j := i; j <= 5; j++ {
    			for k := 0; k <= 6; k++ {
    				// 0 <= i <= j <= 5; 0 <= k <= 6
    				// Check that if we start with a buffer
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2, 3, 4, 5}, 1, new byte[] {5, 1, 2, 3, 4});
        testRotate(new byte[] {1, 2, 3, 4, 5}, 3, new byte[] {3, 4, 5, 1, 2});
        testRotate(new byte[] {1, 2, 3, 4, 5}, 4, new byte[] {2, 3, 4, 5, 1});
        testRotate(new byte[] {1, 2, 3, 4, 5}, 6, new byte[] {5, 1, 2, 3, 4});
      }
    
      public void testRotateIndexed() {
        testRotate(new byte[] {}, 0, 0, 0, new byte[] {});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/ppc64_p10.s

    	PLHA 1234(R1), $0, R3                   // 06000000a86104d2
    	PLHZ 1234(R1), $0, R3                   // 06000000a06104d2
    	PLQ 1234(R1), $0, R4                    // 04000000e08104d2
    	PLWA 1234(R1), $0, R3                   // 04000000a46104d2
    	PLWZ 1234567890(R4), $0, R3             // 06004996806402d2
    	PLWZ 1234567890(R0), $1, R3             // 06104996806002d2
    	PLXSD 1234(R1), $0, V1                  // 04000000a82104d2
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Mar 23 20:52:57 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        testRotate(new char[] {'1', '2', '3', '4', '5'}, 1, new char[] {'5', '1', '2', '3', '4'});
        testRotate(new char[] {'1', '2', '3', '4', '5'}, 3, new char[] {'3', '4', '5', '1', '2'});
        testRotate(new char[] {'1', '2', '3', '4', '5'}, 4, new char[] {'2', '3', '4', '5', '1'});
        testRotate(new char[] {'1', '2', '3', '4', '5'}, 6, new char[] {'5', '1', '2', '3', '4'});
      }
    
      public void testRotateIndexed() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top