Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 320 for ToArray (0.06 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. android/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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                        createContextStart += next;
                    }
                    bufferIndex = Math.max(bufferIndex, cci);
                } while (next > 0);
                this.createContexts = contexts.toArray(new CreateContextResponse[0]);
            }
    
            if (log.isDebugEnabled()) {
                log.debug("Opened " + this.fileName + ": " + Hexdump.toHexString(this.fileId));
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

            for (final String line : values) {
                if (StringUtil.isNotBlank(line)) {
                    list.add(line.trim());
                }
            }
            return list.toArray(new String[list.size()]);
        }
    
        // ===================================================================================
        //                                                                              JSP
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            Object[] array = qrList.toArray();
            assertEquals(2, array.length);
            assertEquals(doc1, array[0]);
            assertEquals(doc2, array[1]);
    
            @SuppressWarnings("unchecked")
            Map<String, Object>[] typedArray = qrList.toArray(new Map[0]);
            assertEquals(2, typedArray.length);
            assertEquals(doc1, typedArray[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          if (!original.isPartialView()) {
            return original;
          }
        }
        @SuppressWarnings("unchecked") // elements only contains E's; it's safe.
        E[] array = (E[]) Iterables.toArray(elements);
        return construct(comparator, array.length, array);
      }
    
      /**
       * Returns an immutable sorted set containing the given elements sorted by the given {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

                entity.setPermissions(split(form.permissions, "\n").get(stream -> stream.map(s -> permissionHelper.encode(s))
                        .filter(StringUtil::isNotBlank)
                        .distinct()
                        .toArray(n -> new String[n])));
                return entity;
            });
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                            }
                        }
                    }
                }
            }
            return list.toArray(n -> new TextFragment[n]);
        }
    
        /**
         * Creates text fragments from search queries.
         *
         * @return array of text fragments based on current queries
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  10. android/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)
Back to top