- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 140 for closures (0.04 sec)
-
internal/event/targetlist.go
type TargetIDResult struct { // ID where the remove or send were initiated. ID TargetID // Stores any error while removing a target or while sending an event. Err error } // Remove - closes and removes targets by given target IDs. func (list *TargetList) Remove(targetIDSet TargetIDSet) { list.Lock() defer list.Unlock() for id := range targetIDSet { target, ok := list.targets[id] if ok {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.2K bytes - Viewed (0) -
internal/event/target/mysql.go
if IsConnErr(err) { return store.ErrNotConnected } return err } // Delete the event from store. return target.store.Del(key) } // Close - closes underneath connections to MySQL database. func (target *MySQLTarget) Close() error { close(target.quitCh) if target.updateStmt != nil { // FIXME: log returned error. ignore time being. _ = target.updateStmt.Close()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 11.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
override fun flush() { if (!initialized) return checkNotClosed() trimToSize() journalWriter!!.flush() } @Synchronized fun isClosed(): Boolean = closed /** Closes this cache. Stored values will remain on the filesystem. */ @Synchronized @Throws(IOException::class) override fun close() { if (!initialized || closed) { closed = true return }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
* @throws IOException if an I/O error occurs */ protected abstract void doReceiveFragment(byte[] buf, boolean isDirect) throws IOException; /** * Closes this DCERPC handle and releases resources * @throws IOException if an I/O error occurs during close */ public abstract void close() throws IOException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
} catch (e: IOException) { carrier.noNewExchanges() responseBodyComplete(TRAILERS_RESPONSE_BODY_TRUNCATED) throw e } /** * Closes the cache entry and makes the socket available for reuse. This should be invoked when * the end of the body has been reached. */ fun responseBodyComplete(trailers: Headers) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
rspx = new SmbComWriteAndXResponse(); } else { req = new SmbComWrite(); rsp = new SmbComWriteResponse(); } } /** * Closes this output stream and releases any system resources associated * with it. * * @throws IOException if a network error occurs */ @Override public void close() throws IOException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
internal/event/target/nats.go
if os.IsNotExist(eErr) { return nil } return eErr } if err := target.send(eventData); err != nil { return err } return target.store.Del(key) } // Close - closes underneath connections to NATS server. func (target *NATSTarget) Close() (err error) { close(target.quitCh) if target.stanConn != nil { // closing the streaming connection does not close the provided NATS connection.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Apr 27 04:30:57 UTC 2025 - 13.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
final RequestData requestData = new RequestData(); requestData.setMethod(method); requestData.setUrl(url); return requestData; } /** * Closes the response data, deleting temporary files if any. * @throws IOException if an I/O error occurs. */ @Override public void close() throws IOException { if (isTemporaryFile) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
static Stream<String> wildcardProvider() { return Stream.of(null, "", "*"); } @ParameterizedTest @MethodSource("wildcardProvider") @DisplayName("open() happy path: yields entries and closes with Smb2CloseRequest on close()") void happyPath_enumerates_and_closes(String wildcard) throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
verify(tree, times(1)).release(); } @Test @DisplayName("release() decrements usage; closes only when count reaches zero") void release_decrementsAndClosesOnZero() throws CIFSException { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(8L, true, true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)