- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 498 for reset (0.22 sec)
-
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) -
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) -
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) -
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/smb1/dcerpc/ndr/NdrHyperTest.java
NdrHyper hyper = new NdrHyper(original); // Create buffer with extra space for alignment NdrBuffer buf = new NdrBuffer(new byte[16], 0); hyper.encode(buf); // Reset buffer position for decoding buf.reset(); NdrHyper decoded = new NdrHyper(0); decoded.decode(buf); assertEquals(original, decoded.value, "Decoded value should match encoded value"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LongAdder.java
* example during quiescent points between multithreaded computations. If there are updates * concurrent with this method, the returned value is not guaranteed to be the final * value occurring before the reset. * * @return the sum */ public long sumThenReset() { long sum = base; Cell[] as = cells; base = 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) -
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)