Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 1,899 for LENGTH (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       */
      protected ArrayWithDuplicate<E> createArrayWithDuplicateElement() {
        E[] elements = createSamplesArray();
        E duplicate = elements[(elements.length / 2) - 1];
        elements[(elements.length / 2) + 1] = duplicate;
        return new ArrayWithDuplicate<>(elements, duplicate);
      }
    
      // Helper methods to improve readability of derived classes
    
      protected int getNumElements() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      private static <X> @Nullable X newFromConstructor(Constructor<X> constructor, Throwable cause) {
        Class<?>[] paramTypes = constructor.getParameterTypes();
        Object[] params = new Object[paramTypes.length];
        for (int i = 0; i < paramTypes.length; i++) {
          Class<?> paramType = paramTypes[i];
          if (paramType.equals(String.class)) {
            params[i] = cause.toString();
          } else if (paramType.equals(Throwable.class)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         * @return a hashed ID string generated from the input URL ID
         */
        protected String generateId(final String urlId) {
            final StringBuilder encodedBuf = new StringBuilder(urlId.length() + 100);
            for (int i = 0; i < urlId.length(); i++) {
                final char c = urlId.charAt(i);
                if (c >= 'a' && c <= 'z' //
                        || c >= 'A' && c <= 'Z' //
                        || c >= '0' && c <= '9' //
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue;
                    }
    
                    String[] inputs;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url);
    
            // Should return -1 when auto-connect fails due to missing project ID
            long length = conn.getContentLengthLong();
            assertEquals(-1, length);
        }
    
        /**
         * Test that getContentType() attempts to connect if not connected.
         */
        public void test_getContentType_autoConnect() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Comparators.java

       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * {@snippet :
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(least(2, comparingInt(String::length)))
       * // returns {"foo", "quux"}
       * }
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashMap.java

       * next  = 00000bbb
       * entry = aaaaabbb
       * </pre>
       *
       * <p>The pointers in [size(), entries.length) are all "null" (UNSET).
       */
      @VisibleForTesting transient int @Nullable [] entries;
    
      /**
       * The keys of the entries in the map, in the range of [0, size()). The keys in [size(),
       * keys.length) are all {@code null}.
       */
      @VisibleForTesting transient @Nullable Object @Nullable [] keys;
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

                        final NbtAddress[] list = NbtAddress.getAllByName(DOMAIN, 0x1C, null, null);
                        dc_list_expiration = now + CACHE_POLICY * 1000L;
                        if (list != null && list.length > 0) {
                            dc_list = list;
                        } else { /* keep using the old list */
                            dc_list_expiration = now + 1000 * 60 * 15; /* 15 min */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            Objects.requireNonNull(model, "model cannot be null");
    
            String encoding = model.getModelEncoding();
            // TODO Use StringUtils here
            if (encoding == null || encoding.length() <= 0) {
                encoding = "UTF-8";
            }
    
            try (Writer out = new OutputStreamWriter(output, encoding)) {
                write(out, options, model);
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                results.add(result);
    
                Artifact artifact = request.getArtifact();
                if ("maven-test".equals(artifact.getGroupId())) {
                    String scope = artifact.getArtifactId().substring("scope-".length());
    
                    try {
                        artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource(
                                ProjectClasspathTestType.DIR + "transitive-" + scope + "-dep.xml"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top