- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 486 for reset (0.04 seconds)
-
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 {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0) -
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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (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()
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (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", },Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
} /** * Creates a new instance that uses the given file threshold, and optionally resets the data when * the {@link ByteSource} returned by {@link #asByteSource} is garbage collected. Prefer to {@link * #reset} the stream explicitly, rather than rely on garbage collection: If you call {@link * #reset} explicitly, you can call it more promptly, and you can appropriately handle any * exception that results. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
} /** * Test that pre-auth hash is reset on error */ @Test @DisplayName("Pre-auth integrity hash should reset on error") void testPreauthHashResetOnError() throws Exception { // Setup invalid SMB2 state to trigger error setPrivateField(transport, "smb2", false); // Try to update preauth hash - should fail and resetCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (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()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
} @Test void testResetAndReuse() { // Test that HMACT64 can be reset and reused HMACT64 hmac = new HMACT64(TEST_KEY); // First use hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] result1 = hmac.engineDigest(); // Reset and reuse with same data hmac.engineReset(); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.1K bytes - Click Count (0)