- Sort Score
- Num 10 results
- Language All
Results 11 - 17 of 17 for NewFile (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
assertEquals(20, info.size()); } @Test @DisplayName("Test encode with replaceIfExists true") void testEncodeWithReplaceIfExistsTrue() { String fileName = "newfile.txt"; FileRenameInformation2 info = new FileRenameInformation2(fileName, true); byte[] buffer = new byte[100]; int bytesWritten = info.encode(buffer, 0); // Verify replaceIfExists flag
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
void testGetPath() { request = new Smb2CreateRequest(mockConfig, "share\\file.txt"); assertEquals("\\share\\file.txt", request.getPath()); request.setPath("newpath\\newfile.txt"); assertEquals("\\newpath\\newfile.txt", request.getPath()); } @Test @DisplayName("Test setFullUNCPath and related getters") void testFullUNCPath() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertEquals(2, verifyCacheEntry.getChildren().size()); // Step 8: Test change notifications // Simulate file addition directoryLeaseManager.handleDirectoryChange(directoryPath, "newfile.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_ADDED); // Cache should be invalidated assertFalse(cacheEntry.isComplete()); // Step 9: Test lease break // Re-populate cache
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE); int newResumeKey = 0x5678; String newFilename = "newfile.txt"; trans2FindNext2.reset(newResumeKey, newFilename); // Verify by writing parameters and checking the buffer byte[] buffer = new byte[256];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
internal/lock/lock_windows.go
accessAttr := uint32(syscall.FILE_ATTRIBUTE_NORMAL | 0x80000000) fd, err := syscall.CreateFile(pathp, access, shareflag, nil, createflag, accessAttr, 0) if err != nil { return nil, err } return os.NewFile(uintptr(fd), path), nil } func lockFile(fd syscall.Handle, flags uint32) error { // https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx if fd == syscall.InvalidHandle { return nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
api/go1.3.txt
pkg debug/plan9obj, const MagicAMD64 = 35479 pkg debug/plan9obj, const MagicAMD64 ideal-int pkg debug/plan9obj, const MagicARM = 1607 pkg debug/plan9obj, const MagicARM ideal-int pkg debug/plan9obj, func NewFile(io.ReaderAt) (*File, error) pkg debug/plan9obj, func Open(string) (*File, error) pkg debug/plan9obj, method (*File) Close() error pkg debug/plan9obj, method (*File) Section(string) *Section
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Jun 02 02:45:00 GMT 2014 - 117K bytes - Click Count (0)