Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 261 for advance (0.07 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/MultiReader.java

      @CheckForNull private 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. 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);
                    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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/rpc.java

                _dst.enc_ndr_small(sub_authority_count);
                int _identifier_authoritys = 6;
                int _identifier_authorityi = _dst.index;
                _dst.advance(1 * _identifier_authoritys);
                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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/rpc.java

                _dst.enc_ndr_small(this.sub_authority_count);
                int _identifier_authoritys = 6;
                int _identifier_authorityi = _dst.index;
                _dst.advance(1 * _identifier_authoritys);
                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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                if ( this.s != null ) {
                    _dst = _dst.deferred;
                    int _ss = this.count;
                    _dst.enc_ndr_long(_ss);
                    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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 16.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                    _dst.enc_ndr_long(_name_buffers);
                    _dst.enc_ndr_long(0);
                    _dst.enc_ndr_long(_name_bufferl);
                    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(name.buffer[_i]);
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 33K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                if (array != null) {
                    _dst = _dst.deferred;
                    int _arrays = count;
                    _dst.enc_ndr_long(_arrays);
                    int _arrayi = _dst.index;
                    _dst.advance(4 * _arrays);
    
                    _dst = _dst.derive(_arrayi);
                    for (int _i = 0; _i < _arrays; _i++) {
                        array[_i].encode(_dst);
                    }
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 18.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/EndpointPairIterator.java

        this.nodeIterator = graph.nodes().iterator();
      }
    
      /**
       * Called after {@link #successorIterator} is exhausted. Advances {@link #node} to the next node
       * and updates {@link #successorIterator} to iterate through the successors of {@link #node}.
       */
      final boolean advance() {
        checkState(!successorIterator.hasNext());
        if (!nodeIterator.hasNext()) {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
Back to top