Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 314 for advanceTo (0.07 seconds)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

      public void testElapsed_notRunning() {
        ticker.advance(1);
        stopwatch.start();
        ticker.advance(4);
        stopwatch.stop();
        ticker.advance(9);
        assertEquals(4, stopwatch.elapsed(NANOSECONDS));
      }
    
      public void testElapsed_multipleSegments() {
        stopwatch.start();
        ticker.advance(9);
        stopwatch.stop();
    
        ticker.advance(16);
    
        stopwatch.start();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // 4 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(6, 8, 0, 1, 2, 5, 7, 9);
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(6, 8, 0, 1, 2, 5, 7, 9);
    
        // 6 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(8, 0, 1, 2, 5, 7, 9);
        ticker.advance(1, MILLISECONDS);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(0, 10);
        cache.put(2, 30);
    
        fakeTicker.advance(999, MILLISECONDS);
        assertThat(cache.getIfPresent(2)).isEqualTo(30);
        fakeTicker.advance(1, MILLISECONDS);
        assertThat(cache.getIfPresent(2)).isEqualTo(30);
        fakeTicker.advance(1000, MILLISECONDS);
        assertThat(cache.getIfPresent(0)).isNull();
      }
    
      @Test
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. fastapi/routing.py

                    operation*.
    
                    Read more about it in the
                    [FastAPI docs for Path Operation Advanced Configuration](https://fastapi.tiangolo.com/advanced/path-operation-advanced-configuration/#custom-openapi-path-operation-schema).
                    """
                ),
            ] = None,
            generate_unique_id_function: Annotated[
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/rpc.java

                final int _identifier_authoritys = 6;
                final int _identifier_authorityi = _dst.index;
                _dst.advance(1 * _identifier_authoritys);
                final int _sub_authorityi = _dst.index;
                _dst.advance(4 * _sub_authoritys);
    
                _dst = _dst.derive(_identifier_authorityi);
                for (int _i = 0; _i < _identifier_authoritys; _i++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      }
    
      /**
       * Inserts element at current put position, advances, and signals. Call only when occupying
       * monitor.
       */
      private void insert(E x) {
        items[putIndex] = x;
        putIndex = inc(putIndex);
        ++count;
      }
    
      /**
       * Extracts element at current take position, advances, and signals. Call only when occupying
       * monitor.
       */
      private E extract() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/index.md

    ///
    
    ## Advanced User Guide { #advanced-user-guide }
    
    There is also an **Advanced User Guide** that you can read later after this **Tutorial - User guide**.
    
    The **Advanced User Guide** builds on this one, uses the same concepts, and teaches you some extra features.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java

          ticker.advance(1, MILLISECONDS);
        }
    
        assertThat(cache.getUnchecked(0)).isEqualTo(0);
        assertThat(cache.getUnchecked(1)).isEqualTo(1);
        assertThat(cache.getUnchecked(2)).isEqualTo(2);
        assertThat(loader.getLoadCount()).isEqualTo(expectedLoads);
        assertThat(loader.getReloadCount()).isEqualTo(expectedReloads);
    
        // refresh 0
        ticker.advance(1, MILLISECONDS);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        Object four = new Object();
        Object five = new Object();
    
        map.put(one, two);
        ticker.advance(1);
        map.put(two, three);
        ticker.advance(1);
        map.put(three, four);
        assertThat(listener.isEmpty()).isTrue();
        ticker.advance(1);
        map.put(four, five);
        assertNotified(listener, one, two, RemovalCause.EXPIRED);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        Object four = new Object();
        Object five = new Object();
    
        map.put(one, two);
        ticker.advance(1);
        map.put(two, three);
        ticker.advance(1);
        map.put(three, four);
        assertThat(listener.isEmpty()).isTrue();
        ticker.advance(1);
        map.put(four, five);
        assertNotified(listener, one, two, RemovalCause.EXPIRED);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
Back to Top