Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for openFile (0.05 sec)

  1. src/main/java/jcifs/http/NetworkExplorer.java

                    resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
                    resp.flushBuffer();
                    return;
                }
            }
    
            try (SmbFile file = openFile(pathInfo, server)) {
                if (file.isDirectory()) {
                    doDirectory(req, resp, file);
                } else {
                    doFile(req, resp, file);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    					// and check if that disk
    					// appears in outDatedDisks.
    					tamperedIndex = index
    					filePath := pathJoin(erasureDisks[index].String(), bucket, object, fi.DataDir, "part.1")
    					f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0)
    					if err != nil {
    						t.Fatalf("Failed to open %s: %s\n", filePath, err)
    					}
    					f.WriteString("oops") // Will cause bitrot error
    					f.Close()
    					break
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        @BeforeEach
        void setUp() throws IOException {
            // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException
            lenient().when(mockSmbNamedPipe.openPipe()).thenReturn(mockSmbPipeHandle);
            lenient().when(mockSmbPipeHandle.unwrap(SmbPipeHandleInternal.class)).thenReturn(mockSmbPipeHandleInternal);
            lenient().when(mockSmbNamedPipe.getContext()).thenReturn(mockContext);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top