- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 144 for Pipe (0.02 sec)
-
src/test/java/jcifs/CIFSContextTest.java
// Given String url = "smb://server/share/pipe"; int pipeType = 1; SmbPipeResource mockPipe = mock(SmbPipeResource.class); when(mockContext.getPipe(url, pipeType)).thenReturn(mockPipe); // When SmbPipeResource pipe = mockContext.getPipe(url, pipeType); // Then assertEquals(mockPipe, pipe); verify(mockContext).getPipe(url, pipeType); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
} /** * This stream class is unbuffered. Therefore this method will always * return 0 for streams connected to regular files. However, a * stream created from a Named Pipe this method will query the server using a * "peek named pipe" operation and return the number of available bytes * on the server. */ @Override public int available() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
* or * proto:[key1=val1,key2=val2] * * If a key is absent it is assumed to be 'endpoint'. Thus the * following are equivalent: * proto:\\ts0.win.net[endpoint=\pipe\srvsvc] * proto:ts0.win.net[\pipe\srvsvc] * * If the server is absent it is set to "127.0.0.1" */ /** * Parses a DCERPC binding string into a DcerpcBinding object * @param str the binding string to parseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java
/** * Configuration class that holds parsed configuration values for a field. * This class parses pipe-separated configuration values and provides methods * to check for specific configuration options. */ public static class Config { /** * Array of parsed configuration values split by pipe character and trimmed. */ private final String[] values; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
@Mock SmbTreeHandleImpl tree; @Mock SmbNamedPipe pipe; @Mock SmbFileHandleImpl fileHandle; private SmbPipeOutputStream newStream() throws CIFSException { // Arrange common constructor collaborators to avoid touching network/state when(handle.getPipe()).thenReturn(pipe); when(tree.isSMB2()).thenReturn(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
cmd/bitrot-streaming.go
// Race condition is because of io.PipeWriter implementation. i.e consider the following // sequent of operations: // 1) pipe.Write() // 2) pipe.Close() // Now pipe.Close() can return before the data is read on the other end of the pipe and written to the disk // Hence an immediate Read() on the file can return incorrect data. if b.canClose != nil { b.canClose.Wait() }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jan 17 19:19:30 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
} @Test void testGetPipe() throws CIFSException, MalformedURLException { // Test getPipe(String url, int pipeType) method String url = "smb://server/IPC$/pipeName"; // Corrected URL for named pipe int pipeType = 1; SmbPipeResource mockSmbPipeResource = mock(SmbNamedPipe.class); // Similar to testGetSmbResource, we cannot directly mock `new SmbNamedPipe()`.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
ci/official/utilities/setup.sh
# simple" is MUCH more important than "don't repeat yourself." # -e: abort script if one command fails # -u: error if undefined variable used # -x: log all commands # -o pipefail: entire command fails if pipe fails. watch out for yes | ... # -o history: record shell history # -o allexport: export all functions and variables to be available to subscripts # (affects 'source $TFCI') set -exo pipefail -o history -o allexport
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Jan 09 18:37:25 UTC 2025 - 6.2K bytes - Viewed (0) -
internal/ioutil/wait_pipe.go
err = r.PipeReader.CloseWithError(err) r.wait() return err } // WaitPipe implements wait-group backend io.Pipe to provide // synchronization between read() end with write() end. func WaitPipe() (*PipeReader, *PipeWriter) { r, w := io.Pipe() var wg sync.WaitGroup wg.Add(1) return &PipeReader{ PipeReader: r, wait: wg.Wait, }, &PipeWriter{ PipeWriter: w,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 27 14:55:36 UTC 2023 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
assertEquals(SmbFile.TYPE_PRINTER, printerShare.getType()); // Test for TYPE_NAMED_PIPE SmbShareInfo pipeShare = new SmbShareInfo("PIPE", 3, "A named pipe"); assertEquals(SmbFile.TYPE_NAMED_PIPE, pipeShare.getType()); // Test for TYPE_SHARE (disk share) SmbShareInfo diskShare = new SmbShareInfo("DISK", 0, "A disk share");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0)