- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 2,461 for instants (0.07 seconds)
-
guava/src/com/google/common/collect/ImmutableList.java
* Collections#emptyList}, and is preferable mainly for consistency and maintainability of your * code. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting to any type is safe because the list will never hold any elements. @SuppressWarnings("unchecked") public static <E> ImmutableList<E> of() { return (ImmutableList<E>) EMPTY;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.6K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
But we want to be able to parameterize that fixed content. ## A "callable" instance { #a-callable-instance } In Python there's a way to make an instance of a class a "callable". Not the class itself (which is already a callable), but an instance of that class. To do that, we declare a method `__call__`: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[12] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
docs/fr/docs/advanced/settings.md
Nous créons maintenant une dépendance qui renvoie un nouveau `config.Settings()`. {* ../../docs_src/settings/app02_an_py310/main.py hl[6,12:13] *} /// tip | Astuce Nous parlerons de `@lru_cache` dans un instant. Pour l'instant, vous pouvez supposer que `get_settings()` est une fonction normale. /// Nous pouvons ensuite l'exiger depuis la fonction de chemin d'accès comme dépendance et l'utiliser où nous en avons besoin.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
return CollectCollectors.toImmutableMultiset(elementFunction, countFunction); } /** * Returns the empty immutable multiset. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") // all supported methods are covariant public static <E> ImmutableMultiset<E> of() { return (ImmutableMultiset<E>) RegularImmutableMultiset.EMPTY; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0) -
internal/grid/README.md
instance := grid.NewStream[*Payload, *Req, *Resp](h, newPayload, newReq, newResp) // Tweakable options instance.WithPayload = true // default true when newPayload != nil instance.OutCapacity = 1 // default instance.InCapacity = 1 // default true when newReq != nil // Register the handler on the manager instance.Register(manager, handler, "asubroute")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
assertEquals(exp, transformer.getFileName(url, Constants.UTF_8)); url = "http://example.com/" + encodeUrl("#") + "/@@folder/test.txt"; exp = "test.txt"; assertEquals(exp, transformer.getFileName(url, Constants.UTF_8)); url = "http://example.com/test%20+%2B.txt"; exp = "test +.txt"; assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/Slf4jMavenTransferListener.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.cling.transfer; import java.time.Duration; import java.time.Instant; import org.apache.maven.api.MonotonicClock; import org.eclipse.aether.transfer.AbstractTransferListener; import org.eclipse.aether.transfer.TransferCancelledException; import org.eclipse.aether.transfer.TransferEvent;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
originalSystemProperty = System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); // Clear system property to test configuration file loading System.clearProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); } @AfterEach void tearDown() { // Restore original system property if (originalSystemProperty != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0) -
tests/test_dependency_class.py
@app.get("/callable-dependency-class") async def get_callable_dependency_class( value: str, instance: CallableDependency = Depends() ): return instance(value) @app.get("/callable-gen-dependency-class") async def get_callable_gen_dependency_class( value: str, instance: CallableGenDependency = Depends() ): return next(instance(value)) @app.get("/async-callable-dependency-class")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/SwitchableHttpClient.java
public static final String HC4_CLIENT = "hc4"; /** Value for HC5 client selection. */ public static final String HC5_CLIENT = "hc5"; /** The HC4 HTTP client instance. */ protected CrawlerClient hc4Client; /** The HC5 HTTP client instance. */ protected CrawlerClient hc5Client; /** Flag indicating which client is selected (true = hc5, false = hc4). */ private boolean useHc5 = true; /**
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 08 04:17:06 GMT 2026 - 4.9K bytes - Click Count (0)