- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for disposed (0.3 sec)
-
src/test/java/jcifs/smb/SSPContextTest.java
public String getNetbiosName() { return this.nbName; } @Override public void dispose() throws CIFSException { if (this.disposed) { throw new CIFSException("already disposed"); } this.disposed = true; this.established = false; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
* @return the name of the remote endpoint */ String getNetbiosName(); /** * Disposes of the security context and releases any associated resources. * @throws CIFSException if an error occurs during disposal */ void dispose() throws CIFSException; /** * Checks whether the specified security mechanism is supported.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
} @Nested @DisplayName("Dispose Tests") class DisposeTests { @Test @DisplayName("dispose delegates to GSSContext") void dispose_success() throws Exception { assertDoesNotThrow(() -> ctx.dispose()); verify(gssContext, times(1)).dispose(); } @Test @DisplayName("dispose wraps GSSException into SmbException")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
return super.toString(); } } @Override public void dispose() throws SmbException { if (this.gssContext != null) { try { this.gssContext.dispose(); } catch (GSSException e) { throw new SmbException("Context disposal failed", e); } } } /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/test/java/jcifs/smb/SpnegoContextTest.java
verify(this.mechContext, times(1)).getFlags(); } @Test @DisplayName("dispose delegates to underlying mechanism context") void testDisposeDelegates() throws Exception { SpnegoContext ctx = newContext(); ctx.dispose(); verify(this.mechContext, times(1)).dispose(); } @Test @DisplayName("calculateMIC throws when context not established")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
} throw new CIFSException("Invalid MIC"); } } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#dispose() */ @Override public void dispose() throws SmbException { this.isEstablished = false; this.sealClientHandle = null; this.sealServerHandle = null; this.sealClientKey = null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java
public void test_toBeDisposable_validProcess() { InvokerAssistant.DisposableProcess process = new InvokerAssistant.DisposableProcess() { @Override public void dispose() { // Empty implementation for test } }; // Should not throw exception invokerAssistant.toBeDisposable(process); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
limiter.acquire(); // #3 } limiter.setRate(4.0); // double the rate! limiter.acquire(); // #4, we repay the debt of the last acquire (imposed by the old rate) for (int i = 0; i < 4; i++) { limiter.acquire(); // #5 } stopwatch.sleepMillis(4250); // #6, back to cold state (warmup period + repay last acquire) for (int i = 0; i < 11; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
limiter.acquire(); // #3 } limiter.setRate(4.0); // double the rate! limiter.acquire(); // #4, we repay the debt of the last acquire (imposed by the old rate) for (int i = 0; i < 4; i++) { limiter.acquire(); // #5 } stopwatch.sleepMillis(4250); // #6, back to cold state (warmup period + repay last acquire) for (int i = 0; i < 11; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0)