- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 916 for close1 (0.06 sec)
-
internal/event/targetlist.go
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 { target.Close() delete(list.targets, id) } } } // Targets - list all targets
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
ClosingFuture<Closeable> closingFuture = ClosingFuture.submit( new ClosingCallable<Closeable>() { @Override public Closeable call(DeferredCloser closer) throws Exception { return closer.eventuallyClose(mockCloseable, executor); } }, executor); FluentFuture<Closeable> unused = closingFuture.finishToFuture(); assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
.github/workflows/issue-manager.yml
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 15 10:38:53 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
assertEquals(Integer.MAX_VALUE, ms.headMultiset("b", CLOSED).size()); assertEquals(Integer.MAX_VALUE, ms.headMultiset("a", CLOSED).size()); assertEquals(3, ms.tailMultiset("c", CLOSED).size()); assertEquals(Integer.MAX_VALUE, ms.tailMultiset("b", CLOSED).size()); assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size()); } @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
} return ranges; } private static class RangeValue { private String value; private boolean closed; RangeValue(String value, boolean closed) { this.value = value.trim(); this.closed = closed; } @Override public String toString() { return value; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
out.write(b); count++; } // 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(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
return read == 0 ? -1 : read; } buf[i] = (byte) b; } return i - off; } @Override public void close() throws IOException { reader.close(); } }; } @Override public BaseEncoding omitPadding() { return (paddingChar == null) ? this : newInstance(alphabet, null); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 41.8K bytes - Viewed (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 {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
*/ private fun planReuseCallConnection(): ReusePlan? { // This may be mutated by releaseConnectionNoEvents()! val candidate = connectionUser.candidateConnection() ?: return null // Make sure this connection is healthy & eligible for new exchanges. If it's no longer needed // then we're on the hook to close it.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 12K bytes - Viewed (0) -
docs_src/dependencies/tutorial008.py
try: yield dep_a finally: dep_a.close() async def dependency_b(dep_a=Depends(dependency_a)): dep_b = generate_dep_b() try: yield dep_b finally: dep_b.close(dep_a) async def dependency_c(dep_b=Depends(dependency_b)): dep_c = generate_dep_c() try: yield dep_c finally:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 455 bytes - Viewed (0)