Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for read_file (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/archive/zip/reader_test.go

    			path = tf
    		}
    		var rc *ReadCloser
    		rc, err = OpenReader(path)
    		if err == nil {
    			defer rc.Close()
    			z = &rc.Reader
    		}
    		var err2 error
    		raw, err2 = os.ReadFile(path)
    		if err2 != nil {
    			t.Errorf("ReadFile(%s) error=%v", path, err2)
    			return
    		}
    	}
    	if err != zt.Error {
    		t.Errorf("error=%v, want %v", err, zt.Error)
    		return
    	}
    
    	// bail if file is not zip
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        @Test
        void testPublicShareAccess() throws Exception {
            // Test operations on public share
            SmbFile readmeFile = new SmbFile(baseUrl + "public/readme.txt", context);
            assertTrue(readmeFile.exists(), "File in public share should be accessible");
            assertTrue(readmeFile.canRead(), "File in public share should be readable");
        }
    
        // ========== Advanced Features ==========
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
Back to Top