Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 201 for unpipe (0.04 sec)

  1. android/guava/src/com/google/common/io/CharSink.java

    import java.io.Reader;
    import java.io.Writer;
    import java.nio.charset.Charset;
    import java.util.Iterator;
    import java.util.stream.Stream;
    
    /**
     * A destination to which characters can be written, such as a text file. Unlike a {@link Writer}, a
     * {@code CharSink} is not an open, stateful stream that can be written to and closed. Instead, it
     * is an immutable <i>supplier</i> of {@code Writer} instances.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            printerShare.type = 1;
            printerShare.remark = "Printer share";
    
            // Type 3 (named pipe) -> TYPE_NAMED_PIPE (16)
            srvsvc.ShareInfo1 pipeShare = new srvsvc.ShareInfo1();
            pipeShare.netname = "PipeShare";
            pipeShare.type = 3;
            pipeShare.remark = "Named pipe";
    
            // Create ShareInfoCtr1 with different share types
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            }
        }
    
        @BeforeEach
        void setUp() {
            transaction = new TestSmbComTransaction();
            transaction.command = ServerMessageBlock.SMB_COM_TRANSACTION;
            transaction.name = "\\PIPE\\test";
            transaction.txn_buf = new byte[1024];
            transaction.maxBufferSize = 1024;
        }
    
        @Test
        @DisplayName("Test reset() method resets transaction state")
        void testReset() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructor() {
            netShareEnum = new NetShareEnum(realConfig);
    
            assertNotNull(netShareEnum);
            assertEquals("\\PIPE\\LANMAN", getFieldValue(netShareEnum, "name"));
            assertEquals(8, getFieldValue(netShareEnum, "maxParameterCount"));
            assertEquals((byte) 0x00, getFieldValue(netShareEnum, "maxSetupCount"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

    class TransCallNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TransCallNamedPipe transCallNamedPipe;
        private static final String TEST_PIPE_NAME = "\\\\PIPE\\\\testpipe";
        private static final byte[] TEST_DATA = "Test pipe data".getBytes();
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SIDCacheImpl.java

            synchronized (this.sidCache) {
                try (DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\lsarpc]", tc)) {
                    String server = authorityServerName;
                    final int dot = server.indexOf('.');
                    if (dot > 0 && !Character.isDigit(server.charAt(0))) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        @Mock
        SmbPipeHandleImpl handle;
        @Mock
        SmbNamedPipe pipe;
        @Mock
        SmbTreeHandleImpl tree;
        @Mock
        SmbFileHandleImpl fd;
        @Mock
        Configuration config;
    
        private SmbPipeInputStream newStreamWithInit(boolean smb2) throws CIFSException {
            when(handle.getPipe()).thenReturn(pipe);
            // init(th) behavior inside SmbFileInputStream constructor
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

     * invoke methods, they invoke methods on the {@code ForwardingSortedMap}.
     *
     * <p>Each of the {@code standard} methods, where appropriate, use the comparator of the map to test
     * equality for both keys and values, unlike {@code ForwardingMap}.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertNotNull(netServerEnum2);
            assertEquals(domain, getFieldValue(netServerEnum2, "domain"));
            assertEquals(serverTypes, getFieldValue(netServerEnum2, "serverTypes"));
            assertEquals("\\PIPE\\LANMAN", getFieldValue(netServerEnum2, "name"));
            assertEquals(8, getFieldValue(netServerEnum2, "maxParameterCount"));
            assertEquals(16384, getFieldValue(netServerEnum2, "maxDataCount"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top