- Sort Score
- Num 10 results
- Language All
Results 2721 - 2730 of 3,625 for Gist (0.05 seconds)
-
docs_src/websockets_/tutorial003_py310.py
event.preventDefault() } </script> </body> </html> """ class ConnectionManager: def __init__(self): self.active_connections: list[WebSocket] = [] async def connect(self, websocket: WebSocket): await websocket.accept() self.active_connections.append(websocket) def disconnect(self, websocket: WebSocket):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 12:34:37 GMT 2026 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
* {@code getUnchecked}, and threads with an odd index will call {@code get}. If the cache throws * exceptions, this difference may be visible in the returned List. */ @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait. private static <K> List<Object> doConcurrentGet( LoadingCache<K, ?> cache, K key, int nThreads, CountDownLatch gettersStartedSignal) throws InterruptedException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.versioning; import java.util.List; import org.apache.maven.artifact.Artifact; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 44.1K bytes - Click Count (0) -
docs/en/docs/tutorial/bigger-applications.md
... ``` ...the prefix must not include a final `/`. So, the prefix in this case is `/items`. We can also add a list of `tags` and extra `responses` that will be applied to all the *path operations* included in this router. And we can add a list of `dependencies` that will be added to all the *path operations* in the router and will be executed/solved for each request made to them. /// tip
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 19.2K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt
import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import okio.ByteString internal fun RecordedRequest( requestLine: RequestLine, headers: Headers, chunkSizes: List<Int>?, bodySize: Long, body: ByteString?, connectionIndex: Int, exchangeIndex: Int, socket: MockWebServerSocket, failure: IOException? = null, ): RecordedRequest { val requestUrl =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 12:43:16 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
* this {@code TopKSelector}. * * <p>The returned list is an unmodifiable copy and will not be affected by further changes to * this {@code TopKSelector}. This method returns in O(k log k) time. */ public List<T> topK() { @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts T[] castBuffer = (T[]) buffer;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
import com.google.common.collect.Multimap; import com.google.common.collect.Multiset; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import java.util.Set; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt
"clientBuilder.sslSocketFactory(SSLSocketFactory) not supported with OpenJSSE", ) override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<@JvmSuppressWildcards Protocol>, ) { if (sslSocket is org.openjsse.javax.net.ssl.SSLSocket) { val sslParameters = sslSocket.sslParameters if (sslParameters is org.openjsse.javax.net.ssl.SSLParameters) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java
import com.google.errorprone.annotations.concurrent.LazyInit; import java.util.Collection; import java.util.Map; import org.jspecify.annotations.Nullable; /** * An implementation of ImmutableMultiset backed by a JDK Map and a list of entries. Used to protect * against hash flooding attacks. * * @author Louis Wasserman */ @GwtCompatible final class JdkBackedImmutableMultiset<E> extends ImmutableMultiset<E> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 3.2K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt
fileSystemOperations.removeOldVersionsFromDir(workerDir.dir("wrapper/dists"), expireDistributionCache, "gradle-", "-bin") fileSystemOperations.delete { delete(workerDir.dir("wrapper/dists/dist")) } // Remove caches that weren't multi-process safe and may be corrupt fileSystemOperations.removeDodgyCacheFiles(workerDir.dir("caches")) // Remove old daemon log files
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.2K bytes - Click Count (1)