- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 1,470 for chose (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt
if (hasErrors) { return } try { super.flush() } catch (e: IOException) { hasErrors = true onException(e) } } override fun close() { try { super.close() } catch (e: IOException) { hasErrors = true onException(e) } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
internal/ioutil/append-file_nix.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.3K bytes - Viewed (0) -
internal/lock/lock.go
r.mutex.Lock() r.refs++ r.mutex.Unlock() } // Close - this closer implements a special closer // closes the underlying fd only when the refs // reach zero. func (r *RLockedFile) Close() (err error) { r.mutex.Lock() defer r.mutex.Unlock() if r.refs == 0 { return os.ErrInvalid } r.refs-- if r.refs == 0 { err = r.File.Close() } return err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(pooledSpy.disconnect(false, false)).thenReturn(true); // In use when(nonPooledSpy.disconnect(false, false)).thenReturn(false); // Not in use // When: Close the pool boolean inUse = pool.close(); // Then: Should report in-use and call disconnect on all assertTrue(inUse, "Should report connections in use"); verify(pooledSpy).disconnect(false, false);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
@Test @DisplayName("Test multiple close calls on managed resource") void testMultipleCloseOnManagedResource() throws Exception { TestResource resource = new TestResource("multiclose"); ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource); managed.close(); assertTrue(resource.isClosed()); // Second close should not throwRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
internal/event/target/redis.go
} return err } // Delete the event from store. return target.store.Del(key) } // Close - releases the resources used by the pool. func (target *RedisTarget) Close() error { close(target.quitCh) if target.pool != nil { return target.pool.Close() } return nil } func (target *RedisTarget) init() error { return target.initOnce.Do(target.initRedis) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandle.java
import jcifs.dcerpc.rpc.policy_handle; /** * Microsoft RPC SAM close handle request. * This class implements the SAMR close handle operation. * * @author mbechler */ public class MsrpcSamrCloseHandle extends samr.SamrCloseHandle { /** * Creates a new request to close a SAM handle. * * @param handle the policy handle to close */ public MsrpcSamrCloseHandle(final policy_handle handle) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbRandomAccess.java
* * @author mbechler * */ public interface SmbRandomAccess extends DataOutput, DataInput, AutoCloseable { /** * Close the file * * @throws SmbException if an I/O error occurs during close */ @Override void close() throws SmbException; /** * Read a single byte from the current position * * @return read byte, -1 if EOFRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
scripts/playwright/query_param_models/image01.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 1.3K bytes - Viewed (0)