Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 422 for ToArray (0.05 seconds)

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

                    allEntries.addAll(extremeValues);
                    allEntries.addAll(normalValues);
                    SortedMultiset<E> multiset =
                        (SortedMultiset<E>) delegate.create(allEntries.toArray());
    
                    // call the smallest subMap overload that filters out the extreme
                    // values
                    if (from == Bound.INCLUSIVE) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

            }
          }
        }
        ImmutableSet<Integer> webSafeColors = webSafeColorsBuilder.build();
        assertEquals(216, webSafeColors.size());
        Integer[] webSafeColorArray = webSafeColors.toArray(new Integer[webSafeColors.size()]);
        assertEquals(0x000000, (int) webSafeColorArray[0]);
        assertEquals(0x000033, (int) webSafeColorArray[1]);
        assertEquals(0x000066, (int) webSafeColorArray[2]);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        if (!q.isIntact()) {
          fail("State " + Arrays.toString(q.toArray()));
        }
      }
    
      private static void assertIntactUsingSeed(long seed, MinMaxPriorityQueue<?> q) {
        if (!q.isIntact()) {
          fail("Using seed " + seed + ". State " + Arrays.toString(q.toArray()));
        }
      }
    
      private static void assertIntactUsingStartedWith(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                        logger.debug("Rejected unknown label filter value: {}", label);
                    }
                }
                if (!validLabels.isEmpty()) {
                    fields.put("label", validLabels.toArray(new String[0]));
                }
            }
            return fields;
        }
    
        /**
         * Parses and validates extra query parameters from the request.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

            }
          }
        }
        ImmutableList<Integer> webSafeColors = webSafeColorsBuilder.build();
        assertEquals(216, webSafeColors.size());
        Integer[] webSafeColorArray = webSafeColors.toArray(new Integer[webSafeColors.size()]);
        assertEquals(0x000000, (int) webSafeColorArray[0]);
        assertEquals(0x000033, (int) webSafeColorArray[1]);
        assertEquals(0x000066, (int) webSafeColorArray[2]);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                StreamUtil.stream(oldLabels).of(stream -> stream.forEach(newLabelSet::add));
                matchedLabelSet.stream().forEach(newLabelSet::add);
                dataMap.put(fessConfig.getIndexFieldLabel(), newLabelSet.toArray(new String[newLabelSet.size()]));
            }
    
            if (!dataMap.containsKey(fessConfig.getIndexFieldDocId())) {
                dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap));
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. docs/smb3-features/04-directory-leasing-design.md

            if (cachedFiles != null) {
                log.debug("Using cached directory listing for: {}", getPath());
                return cachedFiles.toArray(new SmbFile[0]);
            }
        }
        
        // Perform actual directory enumeration
        SmbFile[] files = performDirectoryEnumeration();
        
        // Update cache if we have a directory lease
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                }
    
                if (!docIdList.isEmpty()) {
                    final Map<String, String[]> resultDocIdsCache = getResultDocIdsCache(session);
                    resultDocIdsCache.put(queryId, docIdList.toArray(new String[docIdList.size()]));
                }
            });
        }
    
        /**
         * Retrieves the document IDs associated with a specific query ID.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                    if (regexData.getFirst().matcher(query).matches()) {
                        contentList.add(regexData.getSecond().replace(queryPlaceHolder, query));
                    }
                }
                return contentList.toArray(new String[contentList.size()]);
            }
            return StringUtil.EMPTY_STRINGS;
        }
    
        private String toLowerCase(final String term) {
            return term != null ? term.toLowerCase(Locale.ROOT) : term;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            LdapUser user = new LdapUser(new Hashtable<>(), "test") {
                @Override
                public String[] getPermissions() {
                    return permissionList.toArray(n -> new String[n]);
                }
            };
    
            allowEmptyPermission.set(true);
            assertTrue(ldapManager.allowEmptyGroupAndRole(user));
            allowEmptyPermission.set(false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
Back to Top