- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for dispose (0.06 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
data class ParsedKotlinFiles( val ktFiles: List<KtFile>, private val disposable: Disposable ) : AutoCloseable { override fun close() { Disposer.dispose(disposable) } } private val messageCollector: MessageCollector get() = PrintingMessageCollector(System.out, MessageRenderer.PLAIN_RELATIVE_PATHS, false)Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Sep 16 08:22:33 UTC 2025 - 3.9K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial001.py
def clear_sqlmodel(): # Clear the tables in the metadata for the default base model SQLModel.metadata.clear() # Clear the Models associated with the registry, to avoid warnings default_registry.dispose() @pytest.fixture( name="client", params=[ pytest.param("tutorial001_py39"), pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial001_an_py39"),
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 14K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
def clear_sqlmodel(): # Clear the tables in the metadata for the default base model SQLModel.metadata.clear() # Clear the Models associated with the registry, to avoid warnings default_registry.dispose() @pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial002_py310", marks=needs_py310), pytest.param("tutorial002_an_py39"),
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 17.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (1)