- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 890 for lose (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/CloseableIteratorTest.java
@Mock private CloseableIterator<SmbResource> mockIterator; @Test @DisplayName("Should define close method") void testCloseMethod() throws CIFSException { // When mockIterator.close(); // Then verify(mockIterator).close(); } @Test @DisplayName("Should extend Iterator and AutoCloseable") void testInterfaceInheritance() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 964 bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream. // It should flush itself if necessary. @Override public void close() throws IOException { out.close(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java
package jcifs.smb1.dcerpc.msrpc; /** * Microsoft RPC LSA close handle request. * This class implements the LSARPC close handle operation for closing * LSA policy handles when they are no longer needed. */ public class MsrpcLsarClose extends lsarpc.LsarClose { /** * Creates a new request to close an LSA policy handle. * * @param policyHandle the policy handle to close */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
try { return copyInternal(is, os); } finally { CloseableUtil.close(os); } } finally { CloseableUtil.close(is); } } /** * Copies from a file with the specified encoding to a file with the platform default encoding. *Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 45.2K bytes - Click Count (0) -
docs/en/docs/help-fastapi.md
### Ask to close { #ask-to-close } If they reply, there's a high chance you would have solved their problem, congrats, **you're a hero**! 🦸 * Now, if that solved their problem, you can ask them to: * In GitHub Discussions: mark the comment as the **answer**. * In GitHub Issues: **close** the issue. ## Watch the GitHub repository { #watch-the-github-repository }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:49:48 GMT 2025 - 14K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
} assertThat(path1, is(notNullValue())); assertThat(is, is(notNullValue())); count++; } finally { CloseableUtil.close(is); } }); assertTrue(count > 0); } /** * @throws Exception */ @Test public void testForEachJarFile() throws Exception {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 6K bytes - Click Count (0) -
docs_src/dependencies/tutorial008_an_py39.py
async def dependency_a(): dep_a = generate_dep_a() try: yield dep_a finally: dep_a.close() async def dependency_b(dep_a: Annotated[DepA, Depends(dependency_a)]): dep_b = generate_dep_b() try: yield dep_b finally: dep_b.close(dep_a) async def dependency_c(dep_b: Annotated[DepB, Depends(dependency_b)]): dep_c = generate_dep_c() try:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 521 bytes - Click Count (0) -
internal/ioutil/ioutil_test.go
if err != context.DeadlineExceeded { t.Error("DeadlineWriter shouldn't be successful - should return context.DeadlineExceeded") } w.Close() w = NewDeadlineWriter(&sleepWriter{timeout: 100 * time.Millisecond}, 600*time.Millisecond) n, err := w.Write([]byte("abcd")) w.Close() if err != nil { t.Errorf("DeadlineWriter should succeed but failed with %s", err) } if n != 4 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
server.enqueue(MockResponse()) server.enqueue(MockResponse()) client .newCall(Request(server.url("/"))) .execute() .close() client .newCall(Request(server.url("/"))) .execute() .close() assertThat(listener.recordedEventTypes()).containsExactly( "ConnectStart", "ConnectEnd", "ConnectionAcquired",
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
closeableContext.close(); // Second call closeableContext.close(); // Third call }); } @Test @DisplayName("Should maintain key isolation between instances") void testKeyIsolationBetweenInstances() { // Given byte[] key1 = new byte[16]; byte[] key2 = new byte[16]; new SecureRandom().nextBytes(key1);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0)