- Sort Score
- Num 10 results
- Language All
Results 1131 - 1140 of 1,283 for Chan (0.02 seconds)
-
internal/ringbuffer/ring_buffer.go
// license that can be found in the LICENSE file. package ringbuffer import ( "context" "errors" "io" "sync" "unsafe" ) var ( // ErrTooMuchDataToWrite is returned when the data to write is more than the buffer size. ErrTooMuchDataToWrite = errors.New("too much data to write") // ErrIsFull is returned when the buffer is full and not blocking. ErrIsFull = errors.New("ringbuffer is full")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
listener.getStateHistory()); } /** * This tests for a bug where if {@link Service#stopAsync()} was called while the service was * {@link State#STARTING} more than once, the {@link Listener#stopping(State)} callback would get * called multiple times. */ public void testManualServiceStopMultipleTimesWhileStarting() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 28.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
listener.getStateHistory()); } /** * This tests for a bug where if {@link Service#stopAsync()} was called while the service was * {@link State#STARTING} more than once, the {@link Listener#stopping(State)} callback would get * called multiple times. */ public void testManualServiceStopMultipleTimesWhileStarting() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 28.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
} } /** * This service will shut down very quickly after stopAsync is called and uses a background thread * so that we know that the stopping() listeners will execute on a different thread than the * terminated() listeners. */ private static class SnappyShutdownService extends AbstractExecutionThreadService { final int index; final CountDownLatch latch = new CountDownLatch(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
throw new ChecksumFailedException(message, cause); } else if (!ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals(checksumPolicy)) { // warn if it is set to anything other than ignore logger.warn("*** CHECKSUM FAILED - " + message + " - IGNORING"); } // otherwise it is ignored } private void verifyChecksum(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 29.9K bytes - Click Count (0) -
docs/en/docs/advanced/behind-a-proxy.md
### About `root_path` { #about-root-path } Keep in mind that the server (Uvicorn) won't use that `root_path` for anything else than passing it to the app. But if you go with your browser to [http://127.0.0.1:8000/app](http://127.0.0.1:8000/app) you will see the normal response: ```JSON { "message": "Hello World",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.8K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
Using `check_same_thread=False` allows FastAPI to use the same SQLite database in different threads. This is necessary as **one single request** could use **more than one thread** (for example in dependencies). Don't worry, with the way the code is structured, we'll make sure we use **a single SQLModel *session* per request** later, this is actually what the `check_same_thread` is trying to achieve.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 15.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
// Extract the regular sequence of routes from selector. val selection1 = routeSelector.next() val regularRoutes = selection1.routes // Check that we do indeed have more than one route. assertThat(regularRoutes.size).isEqualTo(numberOfAddresses) // Add first regular route as failed. routeDatabase.failed(regularRoutes[0]) // Reset selectorCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 20.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
* @since 16.0 */ @GwtCompatible public abstract class MultimapBuilder<K0 extends @Nullable Object, V0 extends @Nullable Object> { /* * Leaving K and V as upper bounds rather than the actual key and value types allows type * parameters to be left implicit more often. CacheBuilder uses the same technique. */ private MultimapBuilder() {} private static final int DEFAULT_EXPECTED_KEYS = 8;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 18K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
assertEquals( "Modifying the builder should not have changed any already built sets", 216, webSafeColors.size()); assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size()); Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]); assertEquals(getComplexBuilderSetLastElement(), (int) appendColorArray[216]); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 18.5K bytes - Click Count (0)