Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for Younis (0.18 sec)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            void testDecodeWithBufferOverflow() {
                assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(testBuffer, 250, 10),
                        "Should throw exception when reading beyond buffer bounds");
            }
    
            @Test
            @DisplayName("Should handle zero-length decode")
            void testDecodeWithZeroLength() throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            // size8 method rounds up to 8-byte boundary
            int expectedAlignedSize = (expectedSize + 7) & ~7;
    
            assertEquals(expectedAlignedSize, request.size());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            request = new Smb2QueryInfoRequest(mockConfig);
    
            int size = request.size();
    
            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40)
            // size8 rounds up to nearest multiple of 8
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40;
            int expectedSize = (expectedRawSize + 7) & ~7; // Round up to nearest 8
            assertEquals(expectedSize, size);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(dataOffsetValue + dataLength - bodyStart, bytesRead);
            assertEquals(dataLength, response.getDataLength());
        }
    
        @Test
        @DisplayName("Should validate data fits within buffer bounds")
        void testReadBytesWireFormatDataBoundsValidation() throws Exception {
            // Given
            byte[] smallBuffer = new byte[100];
            int bodyStart = 0;
            int dataLength = 50;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertThrows(NullPointerException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle data offset beyond array bounds")
            void testDataOffsetBeyondBounds() {
                byte[] data = new byte[100];
                request.setData(data, 200, 50); // Offset beyond array
    
                byte[] buffer = new byte[256];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            /**
             * The list of facet fields and their values.
             */
            protected List<Map<String, Object>> facetField;
            /**
             * The list of facet queries and their counts.
             */
            protected List<Map<String, Object>> facetQuery;
    
            /**
             * Populates this response with search render data.
             * @param data The search render data to populate from.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                cb.fetchFirst(ComponentUtil.getFessConfig().getPageDataConfigMaxFetchSizeAsInteger());
            });
        }
    
        /**
         * Retrieves a list of URLs that should be excluded from crawling based on failure counts.
         * URLs are excluded if they have failed more than the configured failure count threshold.
         * URLs can also be filtered by failure type using a regular expression pattern.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.5K bytes
    - Viewed (1)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

                mapPool.offer((HashMap<String, Object>) map);
            }
        }
    
        /**
         * Get audit statistics
         *
         * @return map of event types to counts
         */
        public Map<EventType, Long> getStatistics() {
            Map<EventType, Long> stats = new HashMap<>();
            for (Map.Entry<EventType, AtomicLong> entry : eventCounters.entrySet()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
    
            return Strings.fromOEMBytes(src, srcIndex, Strings.findTermination(src, srcIndex, maxLen), getConfig());
        }
    
        /**
         * Reads a null-terminated string from the buffer with bounds checking
         * @param src source buffer
         * @param srcIndex starting index in the buffer
         * @param srcEnd ending index boundary
         * @param maxLen maximum length to read
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. LICENSE

     Everyone is permitted to copy and distribute verbatim copies
     of this license document, but changing it is not allowed.
    
    (This is the first released version of the Lesser GPL.  It also counts
     as the successor of the GNU Library Public License, version 2, hence
     the version number 2.1.)
    
                                Preamble
    
      The licenses for most software are designed to take away your
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
Back to top