- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 1,514 for close (0.02 seconds)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
@Test fun closeWithoutStart() { val server = MockWebServer() server.close() } @Test fun closeViaClosable() { val server: Closeable = MockWebServer() server.close() } @Test fun closeWithoutEnqueue() { val server = MockWebServer() server.start() server.close() } @Test fun portValidAfterStart() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
deferredPlans.isNotEmpty() || nextPlanIndex < plans.size || autoGeneratePlans override fun sameHostAndPort(url: HttpUrl): Boolean = url.host == address.url.host && url.port == address.url.port override fun close() { factory.close() } inner class FakePlan( val id: Int, ) : RoutePlanner.Plan { var planningThrowable: Throwable? = null var canceled = false var connectState = ConnectState.READY
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.1K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
private val daemonPids = ConcurrentHashMap.newKeySet<String>() private val logger = Logging.getLogger(DaemonTracker::class.java) override fun close() { logger.lifecycle("Cleaning up daemons...") cleanUpDaemons() } fun newDaemonListener() = object : TestListener { override fun beforeTest(test: TestDescriptor) = UnitCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java
handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @Override public synchronized void close() throws IOException { if (this.opened) { this.opened = false; final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); this.handle.sendrecv(rpc);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
} void close(final int f, final long lastWriteTime) throws SmbException { if (LogStream.level >= 3) { log.println("close: " + f); } /* * Close Request / Response */ send(new SmbComClose(f, lastWriteTime), blank_resp()); } void close(final long lastWriteTime) throws SmbException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
// Avoid infinite recursion if a closeable's close() method throws RejectedExecutionException and // is closed using the direct executor. public void testCloseThrowsRejectedExecutionException() throws Exception { doThrow(new RejectedExecutionException()).when(mockCloseable).close(); ClosingFuture<Closeable> closingFuture = ClosingFuture.submit(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
synchronized (lock) { if (record != null) { list.add(record); } } } @Override public void flush() {} @Override public void close() {} public void clear() { synchronized (lock) { list.clear(); } } /** Returns a snapshot of the logged records. */ /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
doc/README.md
unfinished release note work. To prepare the release notes for a release, run `relnote generate`. That will merge the `.md` files in `next` into a single file. Atomically (as close to it as possible) add that file to `_content/doc` directory of the website repository and remove the `doc/next` directory in this repository. To begin the next release development cycle, populate the contents of `next`
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Jul 22 17:55:04 GMT 2024 - 3.1K bytes - Click Count (0) -
AI_POLICY.md
## In summary We welcome AI-assisted contributions from people who understand what they're submitting and are ready to collaborate on it. We reserve the right to close PRs and restrict future contributions from submitters who repeatedly violate this policy, submit low-effort AI-generated content, or fail to engage meaningfully in the review process.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 27 18:43:39 GMT 2026 - 3.1K bytes - Click Count (0)