Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for calculation (0.16 sec)

  1. src/main/java/jcifs/util/SmbCircuitBreaker.java

                if (maxResponseTime.compareAndSet(currentMax, responseTimeMs)) {
                    break;
                }
                currentMax = maxResponseTime.get();
            }
    
            // Add to history for percentile calculation
            responseTimeHistory.addLast(responseTimeMs);
            if (responseTimeHistory.size() > 1000) { // Keep last 1000 measurements
                responseTimeHistory.removeFirst();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameTest.java

        }
    
        @Test
        void readWireFormat_withNonSpacePaddingCharacters_shouldPreserveLength() {
            // Test that non-space characters in padding are preserved in length calculation
            byte[] src = new byte[100];
            src[0] = 0x20;
    
            // Encode "AB" followed by non-space padding
            src[1] = 'E';
            src[2] = 'B'; // A
            src[3] = 'E';
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertArrayEquals(bufferCopy, buffer, "Buffer content should not be modified");
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with offset calculation")
        void testReadBytesWireFormatOffsetCalculation() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        @Test
        @DisplayName("Test readDataWireFormat with converter offset")
        void testReadDataWireFormatWithConverter() throws Exception {
            // Set converter to test offset calculation
            int converterValue = 100;
            setConverter(response, converterValue);
            setNumEntries(response, 1);
    
            String serverName = "TEST";
            String comment = "Test comment";
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(0, testMessage.getSessionId());
                assertEquals(0, testMessage.getTreeId());
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeCalculationTests {
    
            @Test
            @DisplayName("Should calculate size8 without alignment")
            void testSize8NoAlignment() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
        /**
         * Calculates the wire format length of a string
         * @param str string to measure
         * @param offset current buffer offset for alignment calculation
         * @return string length
         */
        public int stringWireLength(final String str, final int offset) {
            int len = str.length() + 1;
            if (this.useUnicode) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                    assertEquals(i + 1, context.getHashAlgos()[i]);
                }
                assertArrayEquals(salt, context.getSalt());
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeCalculationTests {
    
            @Test
            @DisplayName("Should calculate size for null hash algorithms and salt")
            void testSizeWithNullHashAlgosAndSalt() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  8. src/main/resources/fess_config.properties

    search_engine.heartbeat_interval=10000
    
    # Cipher algorithm used for encryption.
    app.cipher.algorism=aes
    # Secret key for encryption (change this value for production).
    app.cipher.key=___change__me___
    # Algorithm for digest calculation.
    app.digest.algorism=sha256
    # Regex pattern for properties to encrypt.
    app.encrypt.property.pattern=.*password|.*key|.*token|.*secret
    
    # Extension names for application customization.
    app.extension.names=
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/MemoryUtil.java

    import java.time.LocalDateTime;
    import java.time.ZonedDateTime;
    import java.util.Collection;
    import java.util.Date;
    import java.util.Map;
    import java.util.Objects;
    
    /**
     * Utility class for memory operations and size calculations.
     */
    public final class MemoryUtil {
        private MemoryUtil() {
        }
    
        /**
         * Gets a formatted memory usage log string.
         *
         * @return formatted memory usage information
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        protected final List<Map<String, Object>> parent;
    
        /** The starting position of the current page in the overall result set. */
        protected final int start;
    
        /** The offset value used for pagination calculations. */
        protected final int offset;
    
        /** The number of records per page. */
        protected final int pageSize;
    
        /** The current page number (1-based). */
        protected int currentPageNumber;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top