Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 278 for advanced (0.04 sec)

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

        Object three = new Object();
        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);
        assertTrue(listener.isEmpty());
        ticker.advance(1);
        map.put(four, five);
        assertNotified(listener, one, two, RemovalCause.EXPIRED);
    
        assertTrue(listener.isEmpty());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java

        cache.asMap().put(1, -1);
        ticker.advance(1, MILLISECONDS);
        assertEquals(Integer.valueOf(1), cache.getUnchecked(0));
        assertEquals(Integer.valueOf(-1), cache.getUnchecked(1));
        assertEquals(Integer.valueOf(2), cache.getUnchecked(2));
        assertEquals(expectedLoads, loader.getLoadCount());
        assertEquals(expectedReloads, loader.getReloadCount());
    
        // refresh 2
        ticker.advance(1, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(0, 10);
        cache.put(2, 30);
    
        fakeTicker.advance(999, MILLISECONDS);
        assertEquals(Integer.valueOf(30), cache.getIfPresent(2));
        fakeTicker.advance(1, MILLISECONDS);
        assertEquals(Integer.valueOf(30), cache.getIfPresent(2));
        fakeTicker.advance(1000, MILLISECONDS);
        assertEquals(null, cache.getIfPresent(0));
      }
    
      public void testExpireAfterWrite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                    _dst.enc_ndr_long(_name_buffers);
                    _dst.enc_ndr_long(0);
                    _dst.enc_ndr_long(_name_bufferl);
                    final int _name_bufferi = _dst.index;
                    _dst.advance(2 * _name_bufferl);
    
                    _dst = _dst.derive(_name_bufferi);
                    for (int _i = 0; _i < _name_bufferl; _i++) {
                        _dst.enc_ndr_short(this.name.buffer[_i]);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                if (this.s != null) {
                    _dst = _dst.deferred;
                    final int _ss = this.count;
                    _dst.enc_ndr_long(_ss);
                    final int _si = _dst.index;
                    _dst.advance(4 * _ss);
    
                    _dst = _dst.derive(_si);
                    for (int _i = 0; _i < _ss; _i++) {
                        this.s[_i].encode(_dst);
                    }
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheRefreshTest.java

        cache.asMap().put(1, -1);
        ticker.advance(1, MILLISECONDS);
        assertEquals(Integer.valueOf(1), cache.getUnchecked(0));
        assertEquals(Integer.valueOf(-1), cache.getUnchecked(1));
        assertEquals(Integer.valueOf(2), cache.getUnchecked(2));
        assertEquals(expectedLoads, loader.getLoadCount());
        assertEquals(expectedReloads, loader.getReloadCount());
    
        // refresh 2
        ticker.advance(1, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. 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++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MultiReader.java

      private @Nullable Reader current;
    
      MultiReader(Iterator<? extends CharSource> readers) throws IOException {
        this.it = readers;
        advance();
      }
    
      /** Closes the current reader and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
          current = it.next().openStream();
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/rpcTest.java

                verify(mockNdrBuffer).enc_ndr_small((byte) 2); // sub_authority_count
                verify(mockNdrBuffer).advance(6); // identifier_authority advance
                verify(mockNdrBuffer).advance(8); // sub_authority advance (4 * 2)
                verify(mockNdrBuffer, times(2)).derive(anyInt());
    
                // Verify identifier_authority bytes (5 zeros + 1 five)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top