Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 320 for ToArray (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                @SuppressWarnings("unchecked")
                @Override
                public Tuple3<String, String, String>[] getVirtualHosts() {
                    return virtualHostList.toArray(n -> new Tuple3[n]);
                }
            });
    
            List<Path> fileList = systemHelper.refreshDesignJspFiles();
            assertEquals(0, fileList.size());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

                }
            });
            
            futures.add(future);
        }
        
        // Wait for all reads to complete
        try {
            CompletableFuture.allOf(futures.toArray(new CompletableFuture[0]))
                .get(30, TimeUnit.SECONDS);
        } catch (Exception e) {
            throw new IOException("Multi-channel read failed", e);
        }
    }
    ```
    
    ## 6. Configuration
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

        }
    
        @SuppressWarnings("unchecked")
        ImmutableList<ListenableFuture<T>> delegatesCast = (ImmutableList) delegates;
        return delegatesCast;
      }
    
      /** Can't use Iterables.toArray because it's not gwt compatible */
      @SuppressWarnings("unchecked")
      private static <T extends @Nullable Object> ListenableFuture<? extends T>[] gwtCompatibleToArray(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                        searchRequestBuilder.setQuery(
                                QueryBuilders.termsQuery(docIdField, deleteFileMap.keySet().toArray(new String[deleteFileMap.size()])));
                        searchRequestBuilder.setFetchSource(new String[] { docIdField }, StringUtil.EMPTY_STRINGS);
                        return true;
                    }).forEach(m -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args)
          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. docs/smb3-features/06-witness-protocol-design.md

                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);
            }
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] toArray(
          Iterator<? extends T> iterator, Class<@NonNull T> type) {
        List<T> list = Lists.newArrayList(iterator);
        return Iterables.<T>toArray(list, type);
      }
    
      /**
       * Adds all elements in {@code iterator} to {@code collection}. The iterator will be left
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

        DefineT(num_opers, opers, ToOutput(inputs), ToOutput(outputs), output_names,
                expect_failure);
      }
    
      // Caller must delete[] the returned value
      static const char** ToArray(const std::vector<string>& strs) {
        const char** ptr = nullptr;
        if (!strs.empty()) {
          ptr = new const char*[strs.size()];
          for (size_t i = 0; i < strs.size(); ++i) {
            ptr[i] = strs[i].c_str();
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         */
        @SuppressWarnings("unchecked")
        public Pair<String, String>[] getDesignJspFileNames() {
            return designJspFileNameMap.entrySet().stream().map(e -> new Pair<>(e.getKey(), e.getValue())).toArray(n -> new Pair[n]);
        }
    
        /**
         * Refreshes the design JSP files for all virtual hosts.
         *
         * @return A list of paths to the refreshed files.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top