- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 356 for reset (0.03 sec)
-
src/main/java/jcifs/util/AuthenticationRateLimiter.java
throw new SmbException("Account '" + username + "' is locked out until " + account.getLockoutExpiry()); } else { // Lockout expired, reset account.reset(); } } } // Check per-IP limit if (sourceIp != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN"); // Manually reset circuitBreaker.reset(); assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after reset"); assertEquals(0, circuitBreaker.getFailureCount(), "Failure count should be reset"); } @Test public void testCustomFailureDetection() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineReset(); verify(mockMd5, times(2)).reset(); // Once in constructor, once in reset verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor, once in reset } } @Test void testEngineGetDigestLength() throws NoSuchAlgorithmException { // Test engineGetDigestLength()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
// Reset error and test hasMore flag response.setTestErrorCode(0); response.hasMore = false; assertFalse(response.hasMoreElements()); } @Test @DisplayName("Test reset functionality") void testReset() { // Reset should not throw exception assertDoesNotThrow(() -> response.reset()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 12.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K 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 = 0
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 17:38:56 UTC 2025 - 16K bytes - Viewed (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
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 19K bytes - Viewed (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{}
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 29 18:27:23 UTC 2023 - 14.2K bytes - Viewed (0)