- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 771 for resets (0.04 seconds)
-
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java
/** * A method that wraps the exception handling of {@link ZipInputStream#reset()}. * * @param zis * {@link ZipInputStream}. Must not be {@literal null}. * @see ZipInputStream#reset() */ public static void reset(final ZipInputStream zis) { assertArgumentNotNull("zis", zis); try { zis.reset(); } catch (final IOException e) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0) -
cmd/lock-rest-client.go
} // RLock calls read lock REST API. func (c *lockRESTClient) RLock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { return c.call(ctx, lockRPCRLock, &args) } // Lock calls lock REST API. func (c *lockRESTClient) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { return c.call(ctx, lockRPCLock, &args) } // RUnlock calls read unlock REST API.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jul 29 18:10:04 GMT 2024 - 3.3K bytes - Click Count (0) -
cmd/storage-rest-common.go
Harshavardhana <******@****.***> 1723451895 -0700
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Aug 12 08:38:15 GMT 2024 - 2.9K bytes - Click Count (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()) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0) -
cmd/data-usage-cache_gen_test.go
if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeallTierStats Msgsize() is inaccurate") } vn := allTierStats{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } } func BenchmarkEncodeallTierStats(b *testing.B) { v := allTierStats{} var buf bytes.Buffer
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19K bytes - Click Count (0) -
cmd/batch-replicate_gen_test.go
t.Log("WARNING: TestEncodeDecodeBatchJobReplicateCredentials Msgsize() is inaccurate") } vn := BatchJobReplicateCredentials{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } } func BenchmarkEncodeBatchJobReplicateCredentials(b *testing.B) { v := BatchJobReplicateCredentials{}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
counter.mark(5); counter.read(); assertEquals(11, counter.getCount()); counter.reset(); assertEquals(10, counter.getCount()); assertEquals(10, counter.skip(100)); assertEquals(20, counter.getCount()); } public void testMarkNotSet() { IOException expected = assertThrows(IOException.class, () -> counter.reset()); assertThat(expected).hasMessageThat().isEqualTo("Mark not set"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CountingInputStream.java
mark = count; // it's okay to mark even if mark isn't supported, as reset won't work } @Override public synchronized void reset() throws IOException { if (!in.markSupported()) { throw new IOException("Mark not supported"); } if (mark == -1) { throw new IOException("Mark not set"); } in.reset(); count = mark; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
assertEquals(0, netServerEnum2.setupCount); assertEquals(5000, netServerEnum2.timeout); } /** * Test the reset method. */ @Test void testReset() { String lastName = "LAST_NAME"; netServerEnum2.reset(0, lastName); assertEquals(lastName, netServerEnum2.lastName); } /** * Test the writeSetupWireFormat method. */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.6K bytes - Click Count (0)