Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,599 for ints (1.76 sec)

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

         * Tests the constructor of DosFileFilter.
         * This test ensures that the constructor runs without errors and correctly initializes the object.
         * The wildcard parameter is stored but its filtering logic is handled server-side,
         * so we only verify its acceptance here.
         */
        @Test
        void testConstructor() {
            // The constructor should not throw any exceptions with valid inputs.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

         * Combines base query, extra queries, field filters, and sort field into a single query string.
         *
         * @return the complete formatted query string
         */
        public String build() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final int maxQueryLength = fessConfig.getQueryMaxLengthAsInteger();
            final StringBuilder queryBuf = new StringBuilder(255);
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @return the number of bytes actually read
         * @throws IOException if an I/O error occurs
         */
        public static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException {
            int i = 0, n = -5;
    
            while (i < len) {
                n = in.read(b, off + i, len - i);
                if (n <= 0) {
                    break;
                }
                i += n;
            }
    
            return i;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            int dstIndex = 5; // Start at offset 5
            int bytesEncoded = fileInternalInfo.encode(destinationBuffer, dstIndex);
    
            // Verify
            assertEquals(8, bytesEncoded);
            assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, dstIndex));
    
            // Verify surrounding bytes are untouched
            for (int i = 0; i < dstIndex; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/HMACT64Test.java

                verify(mockMd5, times(1)).digest(buffer, 0, expectedOutput.length); // Final digest into buffer
            }
        }
    
        @Test
        void testEngineDigestWithBufferException() throws NoSuchAlgorithmException, DigestException {
            // Test engineDigest(byte[] buf, int offset, int len) throws exception
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        /** The number of threads used by the crawler */
        protected int numOfThread = 10;
    
        /** The maximum number of times to check for active threads. */
        protected int maxThreadCheckCount = 20;
    
        /** The maximum depth for crawling. A value of -1 indicates no depth check. */
        protected int maxDepth = -1;
    
        /** The maximum number of URLs to access. A value of 0 indicates no limit. */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/Hexdump.java

            if (length == 0) {
                return;
            }
    
            final int s = length % 16;
            final int r = s == 0 ? length / 16 : length / 16 + 1;
            final char[] c = new char[r * (74 + NL_LENGTH)];
            final char[] d = new char[16];
            int i;
            int si = 0;
            int ci = 0;
    
            do {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/nio/ChannelUtil.java

            }
        }
    
        /**
         * Reads the contents of the file channel into a byte buffer.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @param buffer
         *            The byte buffer. Must not be {@literal null}.
         * @return The number of bytes read.
         */
        public static int read(final FileChannel channel, final ByteBuffer buffer) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            }
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.internal.SMBSigningDigest#verify(byte[], int, int, int, jcifs.internal.CommonServerMessageBlock)
         */
        @Override
        public boolean verify(final byte[] data, final int offset, final int l, final int extraPad, final CommonServerMessageBlock m) {
    
            final ServerMessageBlock msg = (ServerMessageBlock) m;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

        void testAvFlagsIntConstructor() {
            // Test with a positive integer
            int flags = 0x12345678;
            AvFlags avFlags = new AvFlags(flags);
            assertNotNull(avFlags, "AvFlags object should not be null");
            assertEquals(flags, avFlags.getFlags(), "Flags should match the input integer");
    
            // Test with zero
            int zeroFlags = 0;
            AvFlags zeroAvFlags = new AvFlags(zeroFlags);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top