Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testPartialRead (0.08 seconds)

  1. 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
    	}{{
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  2. 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();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
Back to Top