- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 71 for finalizers (0.06 sec)
-
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
} @Test @DisplayName("finalize() logs a warning when not closed (no exception)") void finalize_logsWhenNotClosed() throws Throwable { when(cfg.isTraceResourceUsage()).thenReturn(true); // exercise backtrace branch stubValidTree(2L, true, true); SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//host/share", 0, 0, 0, 0, 0L); // Calling finalize directly to execute the logic; should not throw
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
this.treeConnection.release(); } else if (us < 0) { throw new RuntimeCIFSException("Usage count dropped below zero"); } } @Override protected void finalize() throws Throwable { try { // Add null check to prevent NPE if object was not fully constructed if (this.usageCount != null && this.usageCount.get() != 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnectionTrace.java
SmbTreeConnectionTrace(final CIFSContext ctx) { super(ctx); } SmbTreeConnectionTrace(final SmbTreeConnection conn) { super(conn); } @Override protected void finalize() throws Throwable { checkRelease(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.1K bytes - Viewed (0) -
lib/fips140/Makefile
# be modified. We record the sha256 hashes of the zip files # in fips140.sum, and the cmd/go/internal/fips140 test checks # that the zips match. # # When the zip file is finalized, run 'make updatesum' to update # fips140.sum. default: @echo nothing to make # make v1.2.3.zip builds a v1.2.3.zip file # from the current origin/master.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
System.arraycopy(stackTrace, s, res, 0, e - s); return res; } /** * {@inheritDoc} * * @see java.lang.Object#finalize() */ @Override protected void finalize() throws Throwable { try { if (isConnected() && this.usageCount.get() != 0) { log.warn("Tree was not properly released, performing emergency cleanup: " + this);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
throw new RuntimeCIFSException("Usage count dropped below zero"); } } /** * {@inheritDoc} * * @see java.lang.Object#finalize() */ @Override protected void finalize() throws Throwable { try { if (!isDisconnected() && this.usageCount.get() != 0) { log.warn("Transport was not properly released, performing emergency cleanup");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.13.md
* Fixed a bug in the apiserver storage that could cause just-added finalizers to be ignored on an immediately following delete request, leading to premature deletion. ([#77619](https://github.com/kubernetes/kubernetes/pull/77619), [@caesarxuchao](https://github.com/caesarxuchao))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu May 05 13:44:43 UTC 2022 - 273.1K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
}, // func getRandomData(r []byte) "runtime.getRandomData": (sp) => { sp >>>= 0; crypto.getRandomValues(loadSlice(sp + 8)); }, // func finalizeRef(v ref) "syscall/js.finalizeRef": (sp) => { sp >>>= 0; const id = this.mem.getUint32(sp + 8, true); this._goRefCounts[id]--; if (this._goRefCounts[id] === 0) { const v = this._values[id];
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Sun Dec 08 15:34:47 UTC 2024 - 16.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
throw new DictionaryException("Failed to write: " + item, e); } } return null; } /** * Closes the updater and finalizes the file update operation. * If changes were committed, the temporary file replaces the original. * Otherwise, the temporary file is deleted. */ @Override public void close() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
# Dependencias con yield FastAPI admite dependencias que realizan algunos <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>pasos adicionales después de finalizar</abbr>. Para hacer esto, usa `yield` en lugar de `return` y escribe los pasos adicionales (código) después. /// tip | Consejo Asegúrate de usar `yield` una sola vez por dependencia. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 13K bytes - Viewed (0)