Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestPartialRead (0.57 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile verifyDir = new SmbFile(baseUrl + "shared/existdir_" + timestamp + "/", verifyDirContext);
            assertFalse(verifyDir.exists(), "Deleted directory should not exist");
        }
    
        @Test
        void testPartialRead() throws Exception {
            // Test partial file reads (important for SMB streaming)
            long timestamp = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    				}
    			}
    
    			if err != v.err {
    				t.Fatalf("unexpected error: got %v, want %v", err, v.err)
    			}
    			f.Close()
    		})
    	}
    }
    
    func TestPartialRead(t *testing.T) {
    	type testCase struct {
    		cnt    int    // Number of bytes to read
    		output string // Expected value of string read
    	}
    	vectors := []struct {
    		file  string
    		cases []testCase
    	}{{
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top