Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for Hawaii (0.21 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                })
            .start();
    
        // wait for the computingEntry to be created
        computationStarted.await();
        cache.invalidateAll();
        // let the computation proceed
        computingLatch.countDown();
        // don't check cache.size() until we know the get("b") call is complete
        computationComplete.await();
    
        // At this point, the listener should be holding the seed value (a -> a), and the map should
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          // SequentialExecutor by the time the barrier is satisfied
          barrier.await(1, TimeUnit.SECONDS);
          executor.execute(barrierTask);
          // timeout means the second task wasn't even tried
          barrier.await(1, TimeUnit.SECONDS);
        } finally {
          service.shutdown();
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/request-files.md

    * `seek(versatz)`: Geht zur Position `versatz` (`int`) in der Datei.
        * Z. B. würde `await myfile.seek(0)` zum Anfang der Datei gehen.
        * Das ist besonders dann nützlich, wenn Sie `await myfile.read()` einmal ausführen und dann diese Inhalte erneut auslesen müssen.
    * `close()`: Schließt die Datei.
    
    Da alle diese Methoden `async`hron sind, müssen Sie sie `await`en („erwarten“).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                })
            .start();
    
        // wait for the computingEntry to be created
        computationStarted.await();
        cache.invalidateAll();
        // let the computation proceed
        computingLatch.countDown();
        // don't check cache.size() until we know the get("b") call is complete
        computationComplete.await();
    
        // At this point, the listener should be holding the seed value (a -> a), and the map should
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

              }
            };
        waiter.start();
        service.startAsync().awaitRunning();
        assertEquals(State.RUNNING, service.state());
        service.stopAsync();
        waiter.join(LONG_TIMEOUT_MILLIS); // ensure that the await in the other thread is triggered
        assertFalse(waiter.isAlive());
      }
    
      public void testAwaitTerminated_FailedService() throws Exception {
        final ManualSwitchedService service = new ManualSwitchedService();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/request-files.md

    * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле.
        * Наример, `await myfile.seek(0)` перейдет к началу файла.
        * Это особенно удобно, если вы один раз выполнили команду `await myfile.read()`, а затем вам нужно прочитать содержимое файла еще раз.
    * `close()`: Закрыть файл.
    
    Поскольку все эти методы являются `async` методами, вам следует использовать "await" вместе с ними.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          awaitPingsSent++
        }
    
        // 0x4f 0x4b 0x6f 0x6b is "OKok".
        writePing(false, AWAIT_PING, 0x4f4b6f6b)
      }
    
      /** For testing: awaits a pong. */
      @Throws(InterruptedException::class)
      fun awaitPong() {
        this.withLock {
          while (awaitPongsReceived < awaitPingsSent) {
            condition.await()
          }
        }
      }
    
      @Throws(IOException::class)
      fun flush() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

              }
            };
        waiter.start();
        service.startAsync().awaitRunning();
        assertEquals(State.RUNNING, service.state());
        service.stopAsync();
        waiter.join(LONG_TIMEOUT_MILLIS); // ensure that the await in the other thread is triggered
        assertFalse(waiter.isAlive());
      }
    
      public void testAwaitTerminated_FailedService() throws Exception {
        final ManualSwitchedService service = new ManualSwitchedService();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/request-files.md

    * `seek(offset)`: Goes to the byte position `offset` (`int`) in the file.
        * E.g., `await myfile.seek(0)` would go to the start of the file.
        * This is especially useful if you run `await myfile.read()` once and then need to read the contents again.
    * `close()`: Closes the file.
    
    As all these methods are `async` methods, you need to "await" them.
    
    For example, inside of an `async` *path operation function* you can get the contents with:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .build()
        }
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
        client.newCall(request).enqueue(callback)
        callback.await(request.url)
          .assertCode(200)
          .assertHeader("OkHttp-Intercepted", "yep")
      }
    
      @Test
      fun applicationInterceptorsCanMakeMultipleRequestsToServer() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
Back to top