Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 229 for advanced (0.23 sec)

  1. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            advance(n);
            return n;
        }
    
    
        public void enc_ndr_small ( int s ) {
            this.buf[ this.index ] = (byte) ( s & 0xFF );
            advance(1);
        }
    
    
        public int dec_ndr_small () {
            int val = this.buf[ this.index ] & 0xFF;
            advance(1);
            return val;
        }
    
    
        public void enc_ndr_short ( int s ) {
            align(2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            System.arraycopy(b, i, buf, index, l);
            advance(l);
        }
        public void readOctetArray(byte[] b, int i, int l) {
            System.arraycopy(buf, index, b, i, l);
            advance(l);
        }
    
    
        public int getLength() {
            return deferred.length;
        }
        public void setLength(int length) {
            deferred.length = length;
        }
        public void advance(int n) {
            index += n;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  4. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                if (s != null) {
                    _dst = _dst.deferred;
                    int _ss = 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++) {
                        s[_i].encode(_dst);
                    }
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 15K bytes
    - Viewed (0)
  9. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
Back to top