Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1231 - 1240 of 1,283 for Khan (0.03 seconds)

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

                  }
                });
    
        List<String> actual = newArrayList(result);
        List<String> expected = asList("1", "2", "null", "3");
        assertEquals(expected, actual);
      }
    
      // Far less exhaustive than the tests in IteratorsTest
      public void testCycle() {
        Iterable<String> cycle = Iterables.cycle("a", "b");
    
        int howManyChecked = 0;
        for (String string : cycle) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/async.md

    你可以同時利用並行性和平行性,進一步提升效能,這比大多數已測試的 NodeJS 框架都更快,並且與 Go 語言相當,而 Go 是一種更接近 C 的編譯語言([感謝 Starlette](https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=query&l=zijmkf-1))。
    
    ### 並行比平行更好嗎? { #is-concurrency-better-than-parallelism }
    
    不是的!這不是故事的本意。
    
    並行與平行不同。並行在某些 **特定** 的需要大量等待的情境下表現更好。正因如此,並行在 Web 應用程式開發中通常比平行更有優勢。但並不是所有情境都如此。
    
    因此,為了平衡報導,想像下面這個短故事
    
    > 你需要打掃一間又大又髒的房子。
    
    *是的,這就是全部的故事。*
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  3. docs/zh/docs/async.md

    你可以同时拥有并行性和异步性,你可以获得比大多数经过测试的 NodeJS 框架更高的性能,并且与 Go 不相上下, Go 是一种更接近于 C 的编译语言([全部归功于 Starlette](https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=query&l=zijmkf-1))。
    
    ### 并发比并行好吗? { #is-concurrency-better-than-parallelism }
    
    不!这不是故事的本意。
    
    并发不同于并行。而是在需要大量等待的特定场景下效果更好。因此,在 Web 应用程序开发中,它通常比并行要好得多,但这并不意味着全部。
    
    因此,为了平衡这一点,想象一下下面的短篇故事:
    
    > 你必须打扫一个又大又脏的房子。
    
    *是的,这就是完整的故事。*
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

       * are guarded by a lock and operations are applied in batches to avoid lock contention. The
       * penalty of applying the batches is spread across threads so that the amortized cost is slightly
       * higher than performing just the operation without enforcing the capacity constraint.
       *
       * This implementation uses a per-segment queue to record a memento of the additions, removals,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.20.md

    - Fix concurrent map access causing panics when logging timed-out API calls. (#106124, @marseel) [SIG API Machinery]
    - Support more than 100 disk mounts on Windows (#105673, @andyzhangx) [SIG Storage and Windows]
    
    ## Dependencies
    
    ### Added
    _Nothing has changed._
    
    ### Changed
    - k8s.io/kube-openapi: d219536 → 83f114c
    
    ### Removed
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jan 19 21:05:45 GMT 2022
    - 409K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

       * This inserts a bunch of synthetic 250 ms delays into both client and server and confirms that
       * the same delays make it back into the events.
       *
       * We've had bugs where we report an event when we request data rather than when the data actually
       * arrives. https://github.com/square/okhttp/issues/5578
       */
      private fun timeToFirstByte() {
        val applicationInterceptorDelay = 250L
        val networkInterceptorDelay = 250L
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      public void testExplicit_withDuplicates() {
        assertThrows(IllegalArgumentException.class, () -> Ordering.explicit(1, 2, 3, 4, 2));
      }
    
      // A more limited test than the one that follows, but this one uses the
      // actual public API.
      @J2ktIncompatible // Ordering.arbitrary
      public void testArbitrary_withoutCollisions() {
        List<Object> list = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

      public void testExplicit_withDuplicates() {
        assertThrows(IllegalArgumentException.class, () -> Ordering.explicit(1, 2, 3, 4, 2));
      }
    
      // A more limited test than the one that follows, but this one uses the
      // actual public API.
      @J2ktIncompatible // Ordering.arbitrary
      public void testArbitrary_withoutCollisions() {
        List<Object> list = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * #setFuture set asynchronously}, then the cancellation will also be propagated to the delegate
       * {@code Future} that was supplied in the {@code setFuture} call.
       *
       * <p>Rather than override this method to perform additional cancellation work or cleanup,
       * subclasses should override {@link #afterDone}, consulting {@link #isCancelled} and {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  10. docs/de/docs/async.md

    ### Ist Nebenläufigkeit besser als Parallelität? { #is-concurrency-better-than-parallelism }
    
    Nein! Das ist nicht die Moral der Geschichte.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 27.3K bytes
    - Click Count (0)
Back to Top