Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 320 for ToArray (0.05 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

            return of((K) entry.getKey(), (V) entry.getValue());
          default:
            @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing an Entry<?, ?>[].
            Entry<K, V>[] entryArray = entries.toArray((Entry<K, V>[]) new Entry<?, ?>[entries.size()]);
            return new RegularImmutableMap<K, V>(throwIfDuplicateKeys, entryArray);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                    tagList.add(key);
                }
                runtime.registerData("popularWords", popularWordHelper.getWordList(SearchRequestType.SEARCH, null,
                        tagList.toArray(new String[tagList.size()]), null, null, null));
            }
            return super.hookBefore(runtime);
        }
    
        /**
         * Returns the login manager for this action. Search actions do not require
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/Utf8Test.java

        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3);
        utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4);
        utf8Lengths.put(MAX_CODE_POINT, 4);
    
        Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {});
        StringBuilder sb = new StringBuilder();
        Random rnd = new Random();
        for (int trial = 0; trial < 100; trial++) {
          sb.setLength(0);
          int utf8Length = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SID.java

                    } else {
                        list.add(sids[offset + si]);
                    }
                }
    
                if (list.size() > 0) {
                    sids = (SID[]) list.toArray(new SID[0]);
                    SID.resolveSids0(authorityServerName, auth, sids);
                    for (si = 0; si < sids.length; si++) {
                        sid_cache.put(sids[si], sids[si]);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         */
        public static PathInfo convertToItem(final String id) {
            final String value = decodeId(id);
            final String[] values = split(value, "/").get(stream -> stream.filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            if (values.length == 0) {
                // invalid?
                return new PathInfo(StringUtil.EMPTY, StringUtil.EMPTY);
            }
            if (values.length == 1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

            final StringTokenizer st = new StringTokenizer(str, delim);
            while (st.hasMoreElements()) {
                list.add(st.nextElement().toString());
            }
            return list.toArray(new String[list.size()]);
        }
    
        /**
         * Removes whitespace from the left side of the string.
         *
         * @param text
         *            The text to trim
         * @return The resulting string
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

         *
         * @return an array of label types representing the parsed collections
         */
        public LabelType[] getLabelTypes() {
            return labelList.toArray(new LabelType[labelList.size()]);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0])));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static class BuiltTests extends TestCase {
        public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

              V value = (V) v;
              builder.add(mapEntry(key, value));
            }
          }
          checkArgument(keySet.size() == elements.length, "Duplicate keys");
          return multimapGenerator.create(builder.toArray()).asMap();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<K, Collection<V>>[] createArray(int length) {
          return (Entry<K, Collection<V>>[]) new Entry<?, ?>[length];
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

                avgResponseTime.set(sum / responseTimeHistory.size());
    
                // Calculate 95th percentile
                long[] sortedTimes = responseTimeHistory.stream().mapToLong(Long::longValue).sorted().toArray();
                int p95Index = (int) Math.ceil(0.95 * sortedTimes.length) - 1;
                p95Index = Math.max(0, Math.min(p95Index, sortedTimes.length - 1));
                p95ResponseTime.set(sortedTimes[p95Index]);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top