Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 80 for counters (0.14 sec)

  1. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            raf.writeShort(1);
            raf.writeChar('A');
            raf.writeInt(1);
            raf.writeLong(1L);
            raf.writeFloat(1.0f);
            raf.writeDouble(1.0);
    
            // Verify length counts - using times() to check exact counts
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(2)); // short and char
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(4)); // int and float
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                final String language = locale.getLanguage();
                final String country = locale.getCountry();
                if (StringUtil.isNotBlank(language)) {
                    if (StringUtil.isNotBlank(country)) {
                        return language.toLowerCase(Locale.ROOT) + "-" + country.toLowerCase(Locale.ROOT);
                    }
                    return language.toLowerCase(Locale.ROOT);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

         */
        public static class StatsObject extends LinkedHashMap<String, Long> {
            /** Serial version UID for serialization. */
            private static final long serialVersionUID = 1L;
    
            /** Atomic counter for tracking reference count across multiple threads. */
            protected final AtomicInteger count;
    
            /**
             * Creates a new statistics object with the current timestamp as the begin time.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. README.md

    - **Flexible Text Processing**: Configurable converters and normalizers for text transformation
    - **OpenSearch Integration**: Seamless integration with OpenSearch/Elasticsearch clusters
    - **Asynchronous Operations**: Non-blocking suggestion requests with callback support
    - **Index Management**: Automatic index creation, switching, and maintenance
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                return baos.toByteArray();
            } catch (IOException e) {
                throw new CIFSException("LZ77+Huffman decompression failed", e);
            }
        }
    
        /**
         * Counts the number of unique bytes in the data (for entropy estimation).
         */
        private int countUniqueBytes(byte[] data) {
            boolean[] seen = new boolean[256];
            int count = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for Smb3KeyDerivation.
     * Tests the SMB3 SP800-108 Counter Mode Key Derivation implementation.
     */
    @DisplayName("Smb3KeyDerivation Tests")
    class Smb3KeyDerivationTest {
    
        private byte[] sessionKey;
        private byte[] preauthIntegrity;
    
        @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
            return target;
        }
    
        /**
         * Updates a document with additional metadata and enhancements.
         * Adds click counts, favorite counts, document boosting, and generates document ID.
         * Also applies language-specific updates through the language helper.
         *
         * @param map the document data map to update with additional metadata
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/Config.java

     * <p>
     * There are several ways to set jCIFS properties. See
     * the <a href="../overview-summary.html#scp">overview page of the API
     * documentation</a> for details.
     */
    
    public class Config {
    
        /**
         * Counter for tracking socket connections.
         */
        public static int socketCount = 0;
    
        /**
         * The static <code>Properties</code>.
         */
    
        private static Properties prp = new Properties();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse);
            when(mockWriteResponse.getCount()).thenReturn(10, 5); // Return proper byte counts
    
            outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle,
                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertArrayEquals(salt, Arrays.copyOfRange(buffer, 4, 7));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 3, 5, 10, 20 })
            @DisplayName("Should encode various hash algorithm counts correctly")
            void testEncodeVariousHashAlgoCounts(int algoCount) {
                int[] hashAlgos = new int[algoCount];
                for (int i = 0; i < algoCount; i++) {
                    hashAlgos[i] = i + 1;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
Back to top