Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 384 for toArray (0.15 sec)

  1. android/guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] unsoundlyCovariantArray = array;
          unsoundlyCovariantArray[size] = null;
        }
        return array;
      }
    
      /**
       * Implementation of {@link Collection#toArray(Object[])} for collections backed by an object
       * array. the runtime type of the returned array is that of the specified array. If the collection
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                if (oldValue instanceof Object[]) {
                    oldValues = (Object[]) oldValue;
                } else if (oldValue instanceof Collection<?>) {
                    oldValues = ((Collection<?>) oldValue).toArray();
                } else {
                    oldValues = new Object[] { oldValue };
                }
                if (value.getClass().isArray()) {
                    // Handle both Object[] and primitive arrays safely
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                        roles, null, SuggestItem.Kind.QUERY));
            }
    
            return items.toArray(new SuggestItem[items.size()]);
        }
    
        private SuggestItem[] getItemSet2() {
            List<SuggestItem> items = new ArrayList<>();
    
            {
                String[][] readings = new String[2][];
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
  4. 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.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessClient.java

                unregisterFutures.add(unregister(registration));
            }
    
            // Wait for all unregistrations to complete
            try {
                CompletableFuture.allOf(unregisterFutures.toArray(new CompletableFuture[0])).get(10, TimeUnit.SECONDS);
            } catch (Exception e) {
                log.warn("Error during witness client shutdown", e);
            }
    
            // Shutdown scheduler
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

                copyBeanToBean(form, entity,
                        op -> op.exclude(Stream.concat(Stream.of(Constants.COMMON_CONVERSION_RULE), Stream.of(Constants.PERMISSIONS))
                                .toArray(n -> new String[n])));
                entity.setPermissions(encodePermissions(form.permissions));
                return entity;
            });
        }
    
        /**
         * Registers role type items for the dropdown list.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top