Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 623 for iterables (0.08 seconds)

  1. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        Iterable<String> rowKeys = ImmutableSet.copyOf(elements);
                        Iterable<Integer> columnKeys = ImmutableList.of(1, 2, 3);
                        Table<String, Integer, Character> table =
                            ArrayTable.create(rowKeys, columnKeys);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        Iterable<String> rowKeys = ImmutableSet.copyOf(elements);
                        Iterable<Integer> columnKeys = ImmutableList.of(1, 2, 3);
                        Table<String, Integer, Character> table =
                            ArrayTable.create(rowKeys, columnKeys);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

          return mapGenerator.samples();
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return mapGenerator.createArray(length);
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
          return mapGenerator.order(insertionOrder);
        }
    
        @Override
        public Map<K, V> create(Object... elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

      }
    
      @SafeVarargs
      @CanIgnoreReturnValue
      public final Ordered expect(Object... elements) {
        return expect(asList(elements));
      }
    
      @CanIgnoreReturnValue
      public final Ordered expect(Iterable<?> elements) {
        List<List<E>> resultsForAllStrategies = new ArrayList<>();
        for (Supplier<GeneralSpliterator<E>> spliteratorSupplier : spliteratorSuppliers) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

      }
    
      @SafeVarargs
      @CanIgnoreReturnValue
      public final Ordered expect(Object... elements) {
        return expect(asList(elements));
      }
    
      @CanIgnoreReturnValue
      public final Ordered expect(Iterable<?> elements) {
        List<List<E>> resultsForAllStrategies = new ArrayList<>();
        for (Supplier<GeneralSpliterator<E>> spliteratorSupplier : spliteratorSuppliers) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/stream-json-lines.md

    ///
    
    ### 非 async 的*路徑操作函式* { #non-async-path-operation-functions }
    
    你也可以用一般的 `def` 函式(沒有 `async`),同樣用 `yield`。
    
    FastAPI 會確保正確執行,不會阻塞事件迴圈。
    
    因為這種情況下函式不是 async,正確的回傳型別會是 `Iterable[Item]`:
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[27:30] hl[28] *}
    
    ### 不宣告回傳型別 { #no-return-type }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/server-sent-events.md

    ///
    
    ### 非 async 的*路径操作函数* { #non-async-path-operation-functions }
    
    你也可以使用常规的 `def` 函数(没有 `async`),并以同样的方式使用 `yield`。
    
    FastAPI 会确保其正确运行,从而不阻塞事件循环。
    
    由于此时函数不是 async,正确的返回类型应为 `Iterable[Item]`:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *}
    
    ### 无返回类型 { #no-return-type }
    
    你也可以省略返回类型。FastAPI 将使用 [`jsonable_encoder`](./encoder.md) 转换数据并发送。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

       */
      @CanIgnoreReturnValue
      public B withFeatures(Feature<?>... features) {
        return withFeatures(asList(features));
      }
    
      @CanIgnoreReturnValue
      public B withFeatures(Iterable<? extends Feature<?>> features) {
        for (Feature<?> feature : features) {
          this.features.add(feature);
        }
        return self();
      }
    
      public Set<Feature<?>> getFeatures() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

          return mapGenerator.samples();
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return mapGenerator.createArray(length);
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
          return mapGenerator.order(insertionOrder);
        }
    
        @Override
        public Map<K, V> create(Object... elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        longManyValuesAccumulatorByAddAllVarargs = new StatsAccumulator();
        longManyValuesAccumulatorByAddAllVarargs.addAll(Longs.toArray(LONG_MANY_VALUES));
      }
    
      private static StatsAccumulator statsAccumulatorOf(Iterable<? extends Number> values) {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(values);
        return accumulator;
      }
    
      public void testCount() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
Back to Top