Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 135 for mimetype (0.11 sec)

  1. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        private final boolean dcePipe;
    
        TransactNamedPipeOutputStream(final SmbNamedPipe pipe) throws IOException {
            super(pipe, false, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.pipe = pipe;
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) == SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            path = pipe.unc;
        }
    
        @Override
        public void close() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

         */
        public SmbComNTCreateAndXResponse(final Configuration config) {
            super(config);
        }
    
        /**
         * Gets the file type.
         *
         * @return the fileType
         */
        public final int getFileType() {
            return this.fileType;
        }
    
        /**
         * Checks if the response is extended.
         *
         * @return the isExtended
         */
        public final boolean isExtended() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            response.grantedAccess = 0x02; // FILE_WRITE_DATA
            assertEquals(0x02, response.grantedAccess);
        }
    
        @Test
        void testSetFileType() {
            response.fileType = 1;
            assertEquals(1, response.fileType);
        }
    
        @Test
        void testSetDeviceState() {
            response.deviceState = 0x8000;
            assertEquals(0x8000, response.deviceState);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        }
    
        @Test
        void testGetPipe_MalformedURLException() {
            // Test getPipe(String url, int pipeType) with a malformed URL
            String malformedUrl = "invalid-pipe-url";
            int pipeType = 1;
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                cifsContextWrapper.getPipe(malformedUrl, pipeType);
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/NetbiosNameTest.java

            // When
            int nameType = mockNetbiosName.getNameType();
    
            // Then
            assertEquals(testType, nameType);
            verify(mockNetbiosName).getNameType();
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 })
        @DisplayName("Should handle various NetBIOS name types")
        void testVariousNameTypes(int nameType) {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

                    + ",extFileAttributes=0x" + Hexdump.toHexString(extFileAttributes, 4) + ",allocationSize=" + allocationSize + ",endOfFile="
                    + endOfFile + ",fileType=" + fileType + ",deviceState=" + deviceState + ",directory=" + directory + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            final String k = "filetype";
            assertEquals("", getAsQuery(Collections.singletonMap(k, new String[] { "" })));
            assertEquals("filetype:\"pdf\"", getAsQuery(Collections.singletonMap(k, new String[] { "pdf" })));
            assertEquals("filetype:\"doc\"", getAsQuery(Collections.singletonMap(k, new String[] { " doc " })));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/CIFSContextTest.java

            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);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbNamedPipeTest.java

        void getPipeTypeEchoesInput(int pipeType) throws Exception {
            // Arrange & Act
            SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", pipeType, ctx());
    
            // Assert
            assertEquals(pipeType, pipe.getPipeType());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/advance.jsp

    					<select id="as_filetype" name="as.filetype" class="form-control">
    						<option value=""><la:message key="labels.advance_search_filetype_default" /></option>
    						<option value="html" <c:if test="${as.filetype.contains('html')}">selected</c:if>><la:message
    								key="labels.advance_search_filetype_html"
    							/></option>
    						<option value="pdf" <c:if test="${as.filetype.contains('pdf')}">selected</c:if>><la:message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 12:09:07 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top