Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 179 for wipe (1.77 sec)

  1. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java

    /**
     * Response for SMB1 TRANS_WAIT_NAMED_PIPE transaction.
     *
     * This response is received after waiting for a named pipe to become available
     * for connection when the pipe server was busy.
     */
    public class TransWaitNamedPipeResponse extends SmbComTransactionResponse {
    
        /**
         * Constructs a response for a wait named pipe request.
         *
         * @param config the configuration to use
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

        }
    
        /**
         * Tests the readDataWireFormat method when the pipe has a valid input stream.
         */
        @Test
        void testReadDataWireFormat_withPipeIn() {
            // Setup the mock pipe and its input stream
            mockPipe.pipeIn = mockPipeIn;
            // The 'lock' field in TransactNamedPipeInputStream needs to be a real object for synchronization
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

     *
     * This response contains the data returned from the named pipe
     * after a transact operation (write then read) has been completed.
     */
    public class TransTransactNamedPipeResponse extends SmbComTransactionResponse {
    
        private final byte[] outputBuffer;
    
        /**
         * Constructs a response for a named pipe transaction.
         *
         * @param config the configuration to use
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertTrue(result.contains("pipeName=null"));
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "\\PIPE\\test", "testpipe", "\\\\server\\pipe\\test", " ", "pipe with spaces" })
        @DisplayName("toString should handle various pipe names")
        void testToStringWithVariousPipeNames(String pipeName) {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // The size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[512];
            int offset = 100;
            request.setNotifyFlags(Smb2ChangeNotifyRequest.SMB2_WATCH_TREE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                return 0;
            }
    
            try {
                pipe = (SmbNamedPipe) file;
                file.open(SmbFile.O_EXCL, pipe.pipeType & 0xFF0000, SmbFile.ATTR_NORMAL, 0);
    
                req = new TransPeekNamedPipe(file.unc, file.fid);
                resp = new TransPeekNamedPipeResponse(pipe);
    
                pipe.send(req, resp);
                if (resp.status == TransPeekNamedPipeResponse.STATUS_DISCONNECTED
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, trans2FindNext2.getSubCommand());
            // maxParameterCount, maxDataCount, and maxSetupCount are protected fields
            // Their values are verified through the wire format methods
        }
    
        @Test
        void testReset() {
            // Test reset method updates resumeKey and filename
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. 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)
Back to top