- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 549 for Reset (0.03 sec)
-
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
} } out.close(); // Check that source returns the right data assertThat(source.read()).isEqualTo(data); // Make sure that reset deleted the file out.reset(); if (file != null) { assertFalse(file.exists()); } } public void testThreshold_resetOnFinalize() throws Exception { testThreshold(0, 100, true, true);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 16:30:29 UTC 2025 - 6.7K bytes - Viewed (0) -
cmd/bucket-replication_test.go
rcfg: replicationConfig{Config: &configs[0]}, expectedSync: false, }, { // 4. existing object replication enabled, versioning enabled; no reset in progress name: "existing object replication enabled, versioning enabled; no reset in progress", info: ObjectInfo{ Size: 100, ReplicationStatus: replication.Completed, VersionID: "a3348c34-c352-4498-82f0-1098e8b34df9", },Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 12.1K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
* This method delegates to {@link FileInputStream#reset()}. * * @throws IOException if an I/O error occurs. */ @Override public synchronized void reset() throws IOException { fileInputStream.reset(); } /** * Skips over and discards {@code n} bytes of data from this input stream.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
} @Test @DisplayName("Test reset functionality") void testReset() { // Reset should not throw exception assertDoesNotThrow(() -> transaction.reset()); // Transaction should be ready for reuse assertTrue(transaction.hasMoreElements()); } @Test @DisplayName("Test reset with key and lastName") void testResetWithKeyAndLastName() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
internal/s3select/jstream/scratch.go
package jstream import ( "unicode/utf8" ) type scratch struct { data []byte fill int } // reset scratch buffer func (s *scratch) reset() { s.fill = 0 } // bytes returns the written contents of scratch buffer func (s *scratch) bytes() []byte { return s.data[0:s.fill] } // grow scratch buffer func (s *scratch) grow() { ndata := make([]byte, cap(s.data)*2) copy(ndata, s.data) s.data = ndata }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 758 bytes - Viewed (0) -
src/bytes/buffer.go
if n == 0 { b.Reset() return } b.lastRead = opInvalid if n < 0 || n > b.Len() { panic("bytes.Buffer: truncation out of range") } b.buf = b.buf[:b.off+n] } // Reset resets the buffer to be empty, // but it retains the underlying storage for use by future writes. // Reset is the same as [Buffer.Truncate](0). func (b *Buffer) Reset() { b.buf = b.buf[:0] b.off = 0Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
assertTrue(statsBefore.get(EventType.FILE_ACCESS) > 0, "Should have file access events before reset"); logger.resetStatistics(); Map<EventType, Long> statsAfter = logger.getStatistics(); // After reset, all counters should be 0 for (Long count : statsAfter.values()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
doNothing().when(response).setSessionId(999L); response.setSessionId(999L); verify(response).setSessionId(999L); // Test reset method doNothing().when(response).reset(); response.reset(); verify(response).reset(); } @Test @DisplayName("Test concrete implementation with multiple scenarios")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
} @Test void testReset() { ndrBuffer.advance(100); ndrBuffer.setLength(150); ndrBuffer.reset(); // Verify reset state assertEquals(0, ndrBuffer.index); assertEquals(0, ndrBuffer.length); assertSame(ndrBuffer, ndrBuffer.deferred); } @Test void testGetAndSetIndex() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0)