Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for resetid (0.18 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        @Test
        @DisplayName("Test reset() method resets transaction state")
        void testReset() {
            // Modify state
            transaction.nextElement();
    
            // Reset
            transaction.reset();
    
            // Verify state is reset
            assertTrue(transaction.hasMoreElements(), "hasMoreElements should be true after reset");
        }
    
        @Test
        @DisplayName("Test reset(int, String) method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LongAdder.java

        }
        return sum;
      }
    
      /**
       * Resets variables maintaining the sum to zero. This method may be a useful alternative to
       * creating a new adder, but is only effective if there are no concurrent updates. Because this
       * method is intrinsically racy, it should only be used when it is known that no threads are
       * concurrently updating.
       */
      public void reset() {
        internalReset(0L);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/InputStreamUtil.java

            }
        }
    
        /**
         * Resets the {@link InputStream}.
         *
         * @param is the input stream (must not be {@literal null})
         * @see InputStream#reset()
         */
        public static void reset(final InputStream is) {
            assertArgumentNotNull("is", is);
    
            try {
                is.reset();
            } catch (final IOException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Response.java

        /**
         * Sets the expiration time for this response.
         *
         * @param exp the message timeout to set
         */
        void setExpiration(Long exp);
    
        /**
         * Resets this response to its initial state.
         */
        void reset();
    
        /**
         * Gets the exception associated with this response.
         *
         * @return an exception linked to an error
         */
        Exception getException();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/bytes/reader.go

    		panic("bytes.Reader.WriteTo: invalid Write count")
    	}
    	r.i += int64(m)
    	n = int64(m)
    	if m != len(b) && err == nil {
    		err = io.ErrShortWrite
    	}
    	return
    }
    
    // Reset resets the [Reader] to be reading from b.
    func (r *Reader) Reset(b []byte) { *r = Reader{b, 0, -1} }
    
    // NewReader returns a new [Reader] reading from b.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/CommonServerMessageBlock.java

        /**
         * Sets the session ID.
         *
         * @param sessionId the session ID to set
         */
        void setSessionId(long sessionId);
    
        /**
         * Resets this message to its initial state.
         */
        void reset();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MD4.java

        @Override
        public Object clone() {
            return new MD4(this);
        }
    
        // JCE methods
        //...........................................................................
    
        /**
         * Resets this object disregarding any temporary data present at the
         * time of the invocation of this call.
         */
        @Override
        public void engineReset() {
            // initial values of MD4 i.e. A, B, C, D
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (1.5 * 60 * 1000000000L));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/DocList.java

         */
        public DocList() {
            super();
        }
    
        /**
         * Clears all documents from the list and resets metrics.
         * Removes all documents and resets content size and processing time to zero.
         */
        @Override
        public void clear() {
            super.clear();
            contentSize = 0;
            processingTime = 0;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertTrue(reader.markSupported());
    
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset and read again
        reader.reset();
        assertEquals(string, readFully(reader));
        assertFullyRead(reader);
    
        // reset, skip, mark, then read the rest
        reader.reset();
        assertEquals(5, reader.skip(5));
        reader.mark(Integer.MAX_VALUE);
        assertEquals(string.substring(5), readFully(reader));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top