- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 684 for creating (0.04 seconds)
-
fastapi/concurrency.py
# can create race conditions/deadlocks if the context manager itself # has its own internal pool (e.g. a database connection pool) # to avoid this we let __exit__ run without a capacity limit # since we're creating a new limiter for each call, any non-zero limit # works (1 is arbitrary) exit_limiter = CapacityLimiter(1) try: yield await run_in_threadpool(cm.__enter__) except Exception as e:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java
* reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is * responsible for creating a copy of the original data and store the copy in the cache. * * @param request The repository request from which this cache was retrieved, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
internal/ioutil/ioutil_test.go
t.Errorf("Case %d: Got wrong result: %v", i, string(b)) } } } func TestSameFile(t *testing.T) { f, err := os.CreateTemp(t.TempDir(), "") if err != nil { t.Errorf("Error creating tmp file: %v", err) } tmpFile := f.Name() f.Close() defer os.Remove(f.Name()) fi1, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } fi2, err := os.Stat(tmpFile)
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) -
guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
import com.google.common.annotations.GwtCompatible; /** * A generator that relies on a preexisting generator for most of its work. For example, a derived * iterator generator may delegate the work of creating the underlying collection to an inner * collection generator. * * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 1.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
import com.google.common.annotations.GwtCompatible; /** * A generator that relies on a preexisting generator for most of its work. For example, a derived * iterator generator may delegate the work of creating the underlying collection to an inner * collection generator. * * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 1.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
* MoreExecutors#listeningDecorator( java.util.concurrent.ExecutorService)}, {@link * ListenableFutureTask}, {@link AbstractFuture}, and other utilities over creating plain {@code * Future} instances to be upgraded to {@code ListenableFuture} after the fact. */ public static <V extends @Nullable Object> ListenableFuture<V> listenInPoolThread( Future<V> future) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 7.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteDatabase.kt
* limitations under the License. */ package okhttp3.internal.connection import okhttp3.Route /** * A denylist of failed routes to avoid when creating a new connection to a target address. This is * used so that OkHttp can learn from its mistakes: if there was a failure attempting to connect to
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.5K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/Platform.java
// requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get return requireNonNull(DEST_TL.get()); } /** * A thread-local destination buffer to keep us from creating new buffers. The starting size is * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep * going and grow as needed. */ private static final ThreadLocal<char[]> DEST_TL =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Primitives.java
// It's a constant, and we can't use ImmutableMap here without creating a circular dependency. @SuppressWarnings("ConstantCaseForConstants") private static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER_TYPE; /** A map from wrapper types to their corresponding primitive types. */ // It's a constant, and we can't use ImmutableMap here without creating a circular dependency. @SuppressWarnings("ConstantCaseForConstants")
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.8K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/40_contributor_documentation.yml
If you need help with Gradle or have a usage question, please reach [our community](http://help.gradle.org/) instead of creating an issue. If you found a clear typo, please open a PR with a fix instead of opening an issue. - type: dropdown id: issue-type attributes: label: Issue type options:
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jan 15 10:01:01 GMT 2024 - 1.6K bytes - Click Count (0)