Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,875 for length (0.04 sec)

  1. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

            assertEquals(1, facetInfo.query.length);
            assertEquals("query1", facetInfo.query[0]);
        }
    
        // Test addQuery with existing queries
        public void test_addQuery_existingQueries() {
            facetInfo.query = new String[] { "query1", "query2" };
            facetInfo.addQuery("query3");
            assertNotNull(facetInfo.query);
            assertEquals(3, facetInfo.query.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

            final int startPos = prefix.length();
            for (final JarEntry entry : iterable(jarFile.entries())) {
                final String entryName = entry.getName().replace('\\', '/');
                if (entryName.startsWith(prefix) && entryName.endsWith(CLASS_SUFFIX)) {
                    final String className = entryName.substring(startPos, entryName.length() - CLASS_SUFFIX.length()).replace('/', '.');
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            buf.enc_ndr_small(2); // ptype = 2 (Response)
            buf.enc_ndr_small(0); // flags
            buf.enc_ndr_long(0x00000010); // data representation
            buf.enc_ndr_short(20); // length
            buf.enc_ndr_short(0); // auth length
            buf.enc_ndr_long(0); // call_id
    
            // Response body
            buf.enc_ndr_long(4); // alloc_hint
            buf.enc_ndr_short(0); // context_id
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashTestUtils.java

      private HashTestUtils() {}
    
      /** Converts a string, which should contain only ascii-representable characters, to a byte[]. */
      static byte[] ascii(String string) {
        byte[] bytes = new byte[string.length()];
        for (int i = 0; i < string.length(); i++) {
          bytes[i] = (byte) string.charAt(i);
        }
        return bytes;
      }
    
      interface HashFn {
        byte[] hash(byte[] input, int seed);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Set<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacSignatureTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            int defaultType = 99;
            writeLittleEndianInt(baos, defaultType);
            byte[] checksum = new byte[10]; // Arbitrary length
            for (int i = 0; i < checksum.length; i++) {
                checksum[i] = (byte) i;
            }
            baos.write(checksum);
            byte[] data = baos.toByteArray();
    
            // Create PacSignature
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

                dstIndex += str.length() * 2;
                dst[dstIndex] = (byte) '\0';
                dstIndex++;
                dst[dstIndex++] = (byte) '\0';
            } else {
                final byte[] b = Strings.getOEMBytes(str, this.getConfig());
                System.arraycopy(b, 0, dst, dstIndex, b.length);
                dstIndex += b.length;
                dst[dstIndex] = (byte) '\0';
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsLabelType.java

            sb.append(dm).append(updatedBy);
            sb.append(dm).append(updatedTime);
            sb.append(dm).append(value);
            sb.append(dm).append(virtualHost);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

          Object proxy, Method method, @Nullable Object @Nullable [] args) throws Throwable {
        if (args == null) {
          args = NO_ARGS;
        }
        if (args.length == 0 && method.getName().equals("hashCode")) {
          return hashCode();
        }
        if (args.length == 1
            && method.getName().equals("equals")
            && method.getParameterTypes()[0] == Object.class) {
          Object arg = args[0];
          if (arg == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            if (this.compressionAlgorithms == null) {
                return 0;
            }
    
            int start = dstIndex;
    
            // Compression count (2 bytes)
            SMBUtil.writeInt2(this.compressionAlgorithms.length, dst, dstIndex);
            dstIndex += 2;
    
            // Padding (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top