Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 952 for lengths (2.18 sec)

  1. src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsUserInfo.java

        protected String doBuildColumnString(String dm) {
            StringBuilder sb = new StringBuilder();
            sb.append(dm).append(createdAt);
            sb.append(dm).append(updatedAt);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Name.java

            System.arraycopy(Strings.getOEMBytes(this.scope, this.config), 0, dst, dstIndex, this.scope.length());
            dstIndex += this.scope.length();
    
            dst[dstIndex++] = (byte) 0x00;
    
            // now go over scope backwards converting '.' to label length
    
            int i = dstIndex - 2;
            final int e = i - this.scope.length();
            int c = 0;
    
            do {
                if (dst[i] == '.') {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

         */
        public void testSerialize() throws Exception {
            final String[] a = new String[] { "1", "2" };
            final String[] b = (String[]) SerializeUtil.serialize(a);
            assertEquals("1", b.length, a.length);
            assertEquals("2", "1", b[0]);
            assertEquals("3", "2", b[1]);
        }
    
        /**
         * @throws Exception
         */
        public void testObjectAndBinary() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/resources/ajax/js/jquery-2.1.1.min.js

    ))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,pro...
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 82.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            char[] decrypted = storage.decryptCredentials(encrypted);
            assertNotNull(decrypted, "Decrypted empty data should not be null");
            assertEquals(0, decrypted.length, "Decrypted empty array should have zero length");
        }
    
        @Test
        public void testEncryptDecryptNull() throws Exception {
            byte[] encrypted = storage.encryptCredentials(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/EncodableTest.java

                    Arguments.of(makeSeq(10), 2, 5, 3), // middle slice, non-zero dst index
                    Arguments.of(makeSeq(4), 4, 0, 0), // zero-length slice at end
                    Arguments.of(makeSeq(16), 7, 3, 0), // small slice from middle
                    Arguments.of(makeSeq(16), 0, 0, 5) // zero-length with non-zero dst index
            );
        }
    
        // Creates a deterministic byte sequence [0,1,2,...,n-1]
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertTrue(result.startsWith("NtlmChallenge[challenge=0x"));
                assertTrue(result.endsWith(",dc=SERVER123]"));
    
                // Hexdump.toHexString with size = length * 2 produces 8 uppercase hex chars
                // The hex should be "010203FF"
                assertTrue(result.contains("010203FF"));
            }
    
            @Test
            @DisplayName("toString with empty challenge array")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

                    .addMessageParameter("max", max)
                    .buildConstraintViolationWithTemplate(message)
                    .addConstraintViolation();
            final int length = value.length();
            return length >= min && length <= max;
        }
    
        private void validateParameters() {
            if (min < 0) {
                throw new IllegalArgumentException("The min parameter cannot be negative.");
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         */
        public String decodeSimilarDocHash(final String hash) {
            if (hash != null && hash.startsWith(SIMILAR_DOC_HASH_PREFIX) && hash.length() > SIMILAR_DOC_HASH_PREFIX.length()) {
                final byte[] decode = Base64.getUrlDecoder().decode(hash.substring(SIMILAR_DOC_HASH_PREFIX.length()));
                try (BufferedReader reader =
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.put("NODE".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            // Decode with exact length
            int decodedSize = referral.decode(testBuffer, 0, 24);
            assertEquals(24, decodedSize);
    
            // Decode with excess length
            Referral referral2 = new Referral();
            decodedSize = referral2.decode(testBuffer, 0, 512);
            assertEquals(24, decodedSize);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top