Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for advance (0.05 sec)

  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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         */
        public void setLength(final int length) {
            deferred.length = length;
        }
    
        /**
         * Advances the buffer index by the specified number of bytes.
         *
         * @param n the number of bytes to advance
         */
        public void advance(final int n) {
            index += n;
            if (index - start > deferred.length) {
                deferred.length = index - start;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

        }
    
        @Test
        void testAdvance() {
            ndrBuffer.advance(10);
            assertEquals(10, ndrBuffer.getIndex());
            assertEquals(10, ndrBuffer.getLength());
    
            ndrBuffer.advance(5);
            assertEquals(15, ndrBuffer.getIndex());
            assertEquals(15, ndrBuffer.getLength());
    
            // Advance past current length
            ndrBuffer.setLength(10);
            ndrBuffer.setIndex(10);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         */
        public void setLength(final int length) {
            this.deferred.length = length;
        }
    
        /**
         * Advances the buffer index by the specified number of bytes.
         *
         * @param n the number of bytes to advance
         */
        public void advance(final int n) {
            this.index += n;
            if (this.index - this.start > this.deferred.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (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++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/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.3K bytes
    - Viewed (0)
Back to top