- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for openFile (0.05 sec)
-
cmd/test-utils_test.go
defer zippedFile.Close() extractedFilePath := filepath.Join(targetDir, file.Name) if file.FileInfo().IsDir() { return os.MkdirAll(extractedFilePath, file.Mode()) } outputFile, err := os.OpenFile(extractedFilePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, file.Mode()) if err != nil { return err } defer outputFile.Close() _, err = io.Copy(outputFile, zippedFile) return err }()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
cmd/xl-storage_test.go
t.Fatal(err) } // 4) Streaming bitrot check on corrupted file filePath := pathJoin(storage.String(), volName, fileName) f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0o644) if err != nil { t.Fatal(err) } // Replace first 256 with 'a'. if _, err := f.WriteString(strings.Repeat("a", 256)); err != nil { t.Fatal(err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
} @Test @DisplayName("openPipe returns a handle bound to this pipe") void openPipeReturnsHandleBoundToPipe() throws Exception { // Arrange SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx()); // Act SmbPipeHandle handle = pipe.openPipe(); // Assert: observable handle behavior without network I/O
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
cmd/metrics-v3-system-process.go
metricsLogIf(ctx, err) } else { loadProcIOMetrics(ctx, io, m) } l, err := p.Limits() if err != nil { metricsLogIf(ctx, err) } else { if l.OpenFiles > 0 { m.Set(processFileDescriptorLimitTotal, float64(l.OpenFiles)) } if l.AddressSpace > 0 { m.Set(processVirtualMemoryMaxBytes, float64(l.AddressSpace)) } } openFDs, err := p.FileDescriptorsLen() if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeResource.java
* * @return the type of the pipe */ int getPipeType(); /** * Create a pipe handle * * @return pipe handle, needs to be closed when finished */ SmbPipeHandle openPipe();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
super(tc, DcerpcHandle.parseBinding(url)); this.pipe = new SmbNamedPipe(makePipeUrl(), pipeFlags, unshared, tc); this.handle = this.pipe.openPipe().unwrap(SmbPipeHandleInternal.class); } private String makePipeUrl() { final DcerpcBinding binding = getBinding(); StringBuilder url =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
@Override public int getPipeType() { return this.pipeType; } /** * @return a handle for interacting with the pipe */ @Override public SmbPipeHandle openPipe() { return new SmbPipeHandleImpl(this); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
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) -
api/go1.16.txt
pkg os, func Lstat(string) (fs.FileInfo, error) pkg os, func Mkdir(string, fs.FileMode) error pkg os, func MkdirAll(string, fs.FileMode) error pkg os, func MkdirTemp(string, string) (string, error) pkg os, func OpenFile(string, int, fs.FileMode) (*File, error) pkg os, func ReadDir(string) ([]fs.DirEntry, error) pkg os, func ReadFile(string) ([]uint8, error) pkg os, func SameFile(fs.FileInfo, fs.FileInfo) bool
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
cmd/metrics-v2.go
MetricV2{ Description: getMinioFDOpenMD(), Value: float64(openFDs), }, ) } if l.OpenFiles > 0 { metrics = append(metrics, MetricV2{ Description: getMinioFDLimitMD(), Value: float64(l.OpenFiles), }) } if io.SyscR > 0 { metrics = append(metrics, MetricV2{ Description: getMinIOProcessSysCallRMD(),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 133.4K bytes - Viewed (0)