Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 376 for readn (3.6 sec)

  1. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test log file access")
        void testLogFileAccess() {
            logger.logFileAccess("READ", "/path/to/file.txt", true, "testuser");
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            assertNotNull(data.getResponseBody());
    
            try (InputStream is = data.getResponseBody()) {
                byte[] buffer = new byte[content.length];
                int bytesRead = is.read(buffer);
                assertEquals(content.length, bytesRead);
                assertTrue(Arrays.equals(content, buffer));
            } catch (IOException e) {
                fail("IOException should not occur: " + e.getMessage());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
            int result = response.readParameterWordsWireFormat(buffer, 0);
    
            // The method should read parameter words
            assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value");
        }
    
        @Test
        void testWriteBytesWireFormat() {
            byte[] dst = new byte[1024];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbPipeResource.java

     */
    package jcifs;
    
    /**
     * SMB resource respresenting a named pipe
     *
     * @author mbechler
     *
     */
    public interface SmbPipeResource extends SmbResource {
    
        /**
         * The pipe should be opened read-only.
         */
    
        int PIPE_TYPE_RDONLY = SmbConstants.O_RDONLY;
    
        /**
         * The pipe should be opened only for writing.
         */
    
        int PIPE_TYPE_WRONLY = SmbConstants.O_WRONLY;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            // Fortunately we don't really need nativeFileSystem for anything.
            // However, we'll try to read it safely for compatibility
            if (this.byteCount > bufferIndex - start) {
                try {
                    // Attempt to read nativeFileSystem, but don't fail if there are issues
                    final int fsLen = this.byteCount - (bufferIndex - start);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
        /**
         * The CRUD operation mode for this form.
         * Indicates whether this is a create, read, update, or delete operation.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The name of the access token.
         * This is a required field with a maximum length of 1000 characters.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java

            // Should return true when read caching is enabled
            assertTrue(DirectoryLeaseState.canCacheEnumeration(Smb2LeaseState.SMB2_LEASE_READ_CACHING));
            assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_READ_HANDLE));
            assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_FULL));
    
            // Should return false when read caching is not enabled
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ResourceHandler.java

     *
     * @author taedium
     */
    public interface ResourceHandler {
    
        /**
         * Processes a resource.
         *
         * @param path the path
         * @param is the {@link InputStream} to read the resource
         */
        void processResource(String path, InputStream is);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 997 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

                bufferIndex += dataCount;
            }
    
            /* Check to see if the entire transaction has been
             * read. If so call the read methods.
             */
    
            if (!parametersDone && parameterDisplacement + parameterCount == totalParameterCount) {
                parametersDone = true;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

            int start = bufferIndex;
            int end = start + len;
            interfaces.clear();
    
            while (bufferIndex < end && (bufferIndex + 152) <= end) {
                // Read Next field to determine if there are more entries
                int next = SMBUtil.readInt4(buffer, bufferIndex);
    
                NetworkInterfaceInfo info = NetworkInterfaceInfo.decode(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top