- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 142 for closures (0.06 seconds)
-
architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md
## Status ACCEPTED ## Consequences * If we would have used `Closure`, we must instead use `Action<T>`, `Spec<T>`, `Callable<T>`, or `Transformer<OUT, IN>`. * We need to ensure all APIs that are exposed in the Groovy DSL go through runtime decoration. Runtime decoration mixes in methods that use Groovy Closures to maintain consistent behavior in Groovy DSL.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Mar 10 20:38:06 GMT 2024 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java
handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes this SAM alias handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException { final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
## Test Files Overview ### 1. ExtractorResourceManagementTest.java **Purpose**: Verify proper resource management in Extractor implementations. **Key Test Areas**: - Resource closure on successful extraction (MS Office extractors) - Resource closure on failed extraction - Improved error messages with context - Input validation using `validateInputStream()` **Covered Extractors**: - MsWordExtractor - MsExcelExtractor
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Nov 19 08:55:01 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
done = true; return super.getFile(); } /** * Closes the stream and deletes the temporary file if it was not retrieved. * If an error occurs during file deletion, it is logged but not thrown to avoid * masking exceptions from the main operation. * * @throws IOException if an I/O error occurs during stream closure */ @Override public void close() throws IOException { try {Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes this SAM domain handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException { final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this); handle.sendrecv(rpc2); } } /** * Closes this SAM policy handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException { final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
internal/http/listener.go
ctxCanceler context.CancelFunc } // start - starts separate goroutine for each TCP listener. A valid new connection is passed to httpListener.acceptCh. func (listener *httpListener) start() { // Closure to handle listener until httpListener.ctxDoneCh channel is closed. handleListener := func(idx int, ln net.Listener) { for { conn, err := ln.Accept() select { case listener.acceptCh <- acceptResult{conn, err, idx}:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
// Using a SmbComClose instance triggers early return without DFS/session work SmbComClose closeReq = mock(SmbComClose.class); SmbResourceLocator res = c.ensureDFSResolved(loc, closeReq); assertSame(loc, res); // No connect attempts expected verify(c, never()).connectWrapException(any()); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closer.java
* <p>An exception that is suppressed is added to the exception that <i>will</i> be thrown using * {@code Throwable.addSuppressed(Throwable)}. * * @author Colin Decker * @since 14.0 */ // Coffee's for {@link Closer closers} only. @J2ktIncompatible @GwtIncompatible public final class Closer implements Closeable { /** Creates a new {@link Closer}. */ public static Closer create() { return new Closer(SUPPRESSING_SUPPRESSOR); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.3K bytes - Click Count (0) -
guava/src/com/google/common/html/HtmlEscapers.java
* systems and high-level APIs that provide autoescaping. * One Google-authored templating system available for external use is <a * href="https://developers.google.com/closure/templates/">Closure Templates</a>. * * <p>HTML escaping is particularly tricky: For example, <a * href="https://www.w3.org/TR/html4/types.html#h-6.2">some elements' text contents must not be HTML
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0)