- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 104 for choice (0.04 seconds)
-
docs/distributed/DESIGN.md
serverPools := z.getServerPoolsAvailableSpace(ctx) total := serverPools.TotalAvailable() // choose when we reach this many choose := rand.Uint64() % total atTotal := uint64(0) for _, pool := range serverPools { atTotal += pool.Available if atTotal > choose && pool.Available > 0 { return pool.Index } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 09:25:50 GMT 2025 - 8K bytes - Click Count (2) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* For example, an artifact of type {@value org.apache.maven.api.Type#JAR} can be placed * either on the class-path or on the module-path. The project needs to make a choice * (possibly using heuristic rules), then add the dependency in only one of the paths * identified by {@link PathType}. * * @return file paths to place on the different tool options */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/AsyncEventBus.java
* the License. */ package com.google.common.eventbus; import java.util.concurrent.Executor; /** * An {@link EventBus} that takes the Executor of your choice and uses it to dispatch events, * allowing dispatch to occur asynchronously. * * @author Cliff Biffle * @since 10.0 */ public class AsyncEventBus extends EventBus { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Reflection.java
* 12.4.2</a>. * * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static * state hurts system maintainability and testability. In cases when you have no choice while * interoperating with a legacy framework, this method helps to keep the code less ugly. * * @throws ExceptionInInitializerError if an exception is thrown during initialization of a class */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.4K bytes - Click Count (0) -
.github/workflows/translate.yml
required: false default: "false" command: description: Command to run type: choice options: - translate-page - translate-lang - update-outdated - add-missing - update-and-add - remove-removable language:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Mar 18 15:36:56 GMT 2026 - 4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
assertNotNull(context, "Context should be created"); assertNotNull(context.options(), "Options should be available"); // Test that icon methods don't throw exceptions // (The actual icon choice depends on terminal charset capabilities) context.success("Test success message"); context.failure("Test failure message"); context.warning("Test warning message");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 3.3K bytes - Click Count (0) -
ci/official/README.md
# # Here is how to choose your TFCI value: # 1. A Python version must come first, because other scripts reference it. # Ex. py39 -- Python 3.9 # Ex. py310 -- Python 3.10 # Ex. py311 -- Python 3.11 # Ex. py312 -- Python 3.12 # 2. Choose the platform, which corresponds to the version of TensorFlow to # build. This should also match the system you're using--you cannot build
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/AndroidIncompatible.java
* annotated with LargeTest. * * <p>Why use a custom annotation instead of {@code android.test.suitebuilder.annotation.Suppress}? * I'm not completely sure that this is the right choice, but it has various advantages: * * <ul> * <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Click Count (0) -
docs/en/docs/advanced/templates.md
# Templates { #templates } You can use any template engine you want with **FastAPI**. A common choice is Jinja2, the same one used by Flask and other tools. There are utilities to configure it easily that you can use directly in your **FastAPI** application (provided by Starlette). ## Install dependencies { #install-dependencies } Make sure you create a [virtual environment](../virtual-environments.md), activate it, and install `jinja2`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.4K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
import java.net.ProtocolException /** * Handles basic types that always use the same tag. This supports optional types and may set a type * hint for further adapters to process. * * Types like ANY and CHOICE that don't have a consistent tag cannot use this. */ internal data class BasicDerAdapter<T>( private val name: String, /** The tag class this adapter expects, or -1 to match any tag class. */ val tagClass: Int,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Click Count (0)