Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 4,023 for once (0.04 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        futureBoolean.set(booleanPartial);
        // Once the backing futures are done there's a (brief) moment where we know nothing
        assertThat(futureResult.toString()).matches("CombinedFuture@\\w+\\[status=PENDING]");
        callableBlocking.countDown();
        // Need to wait for resultFuture to be returned.
        assertTrue(executor.awaitTermination(10, SECONDS));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

       * each appears first in the source iterable. This method iterates over {@code elements} only
       * once.
       *
       * <p><b>Performance note:</b> This method will sometimes recognize that the actual copy operation
       * is unnecessary; for example, {@code copyOf(copyOf(anArrayList))} should copy the data only
       * once. This reduces the expense of habitually making defensive copies at API boundaries.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        }
      }
    
      public void testVerifyGetsCalled() {
        TesterThatCountsCalls tester = new TesterThatCountsCalls();
    
        tester.test();
    
        assertEquals(
            "Should have verified once per stimulus executed",
            tester.numCallsToVerify,
            tester.numCallsToNewTargetIterator * STEPS);
      }
    
      public void testVerifyCanThrowAssertionThatFailsTest() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. docs/bucket/lifecycle/README.md

    ```
    mc admin tier add s3 source S3TIER --bucket s3bucket --prefix testprefix/ --use-aws-role
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        // Run those tasks together.
        fakePool.runAll();
    
        // Check that the interruption of a SequentialExecutor's task is restored to the thread once
        // it is yielded. Clear the bit while checking so that the test doesn't hose JUnit or some other
        // test case.
        assertThat(Thread.interrupted()).isTrue();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

       * become idle after the [onResponse][Callback.onResponse] or [onFailure][Callback.onFailure]
       * callback has returned. Synchronous calls become idle once [execute()][Call.execute] returns.
       * This means that if you are doing synchronous calls the network layer will not truly be idle
       * until every returned [Response] has been closed.
       */
      @get:Synchronized
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            lenient().when(fileEntry.getName()).thenReturn("test");
        }
    
        @Test
        @DisplayName("Iterator without filter - simple case")
        void iteratorWithoutFilter() {
            // Setup: constructor calls advance() once
            when(delegate.hasNext()).thenReturn(true, false);
            when(delegate.next()).thenReturn(fileEntry);
    
            TestIterator iterator = new TestIterator(null);
    
            // Verify iteration
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/util/HMACT64Test.java

        @Test
        void testMultipleUpdates() {
            // Test multiple update calls
            HMACT64 hmac1 = new HMACT64(TEST_KEY);
            HMACT64 hmac2 = new HMACT64(TEST_KEY);
    
            // Update hmac1 all at once
            hmac1.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
    
            // Update hmac2 byte by byte
            for (byte b : TEST_DATA) {
                hmac2.engineUpdate(b);
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * instances.</p>
     *
     * <p><dfn>Project aggregation</dfn> allows building several projects together. This is only
     * for projects that are built, hence available on the file system. One project,
     * called the <dfn>aggregator project</dfn> lists one or more <dfn>sub-projects</dfn>
     * which are relative pointers on the file system to other projects. This is done using
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/generate-clients.md

    That same information from the models that is included in OpenAPI is what can be used to **generate the client code**.
    
    ### Hey API { #hey-api }
    
    Once we have a FastAPI app with the models, we can use Hey API to generate a TypeScript client. The fastest way to do that is via npx.
    
    ```sh
    npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
Back to Top