- Sort Score
- Result 10 results
- Languages All
Results 3321 - 3330 of 7,081 for returns (0.07 sec)
-
docs_src/events/tutorial003.py
from contextlib import asynccontextmanager from fastapi import FastAPI def fake_answer_to_everything_ml_model(x: float): return x * 42 ml_models = {} @asynccontextmanager async def lifespan(app: FastAPI): # Load the ML model ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model yield # Clean up the ML models and release the resources ml_models.clear()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 07 15:46:00 UTC 2023 - 569 bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
} protected InternalScopeManager getScopeManager() { return scopeManager; } protected DependencyTraverser getDependencyTraverser() { return new FatArtifactTraverser(); } protected DependencyManager getDependencyManager() { return getDependencyManager(true); // same default as in Maven4 }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
* * @param data the report data containing a description to parse * @return accepted api changes reported upon, as a file */ private static File getAcceptedApiChangesFile(RichReportData data) { def matcher = data.description =~ acceptedChangesRegex return new File(matcher[0][1]) } private static RichReportData enrichReport(RichReportData data) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Feb 07 20:38:43 UTC 2023 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
@GwtIncompatible // concurrency public static void awaitUninterruptibly(CountDownLatch latch) { boolean interrupted = false; try { while (true) { try { latch.await(); return; } catch (InterruptedException e) { interrupted = true; } } } finally { if (interrupted) { Thread.currentThread().interrupt(); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 20.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java
@GwtIncompatible public final class QueueTestSuiteBuilder<E> extends AbstractCollectionTestSuiteBuilder<QueueTestSuiteBuilder<E>, E> { public static <E> QueueTestSuiteBuilder<E> using(TestQueueGenerator<E> generator) { return new QueueTestSuiteBuilder<E>().usingGenerator(generator); } private boolean runCollectionTests = true; /** * Specify whether to skip the general collection tests. Call this method when testing a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java
/** * このインスタンスが表現するクラスがパラメタ化されていれば<code>true</code>を返します。 * * @return このインスタンスが表現するクラスがパラメタ化されていれば<code>true</code> */ boolean isParameterizedClass(); /** * 原型となるクラスを返します。 * * @param <T> * 原型となるクラスの型 * @return 原型となるクラス * @see ParameterizedType#getRawType() */ <T> Class<T> getRawClass(); /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java
* Lifecycle phase to fork. Note that specifying a phase overrides specifying a goal. * @return the phase */ @Nonnull String phase() default ""; /** * Goal to fork. Note that specifying a phase overrides specifying a goal. The specified <code>goal</code> must be * another goal of the same plugin. * @return the goal */ @Nonnull String goal() default ""; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java
return !((ParameterizedType) returnType).getActualTypeArguments()[0].equals(String.class); } else { return false; } } catch (ReflectiveOperationException | SecurityException e) { return false; } })
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
} private AccessResultData<?> getAccessResultData(final EsAccessResult accessResult) { try { return accessResult.getAccessResultData(); } catch (final Exception e) { logger.warn("Failed to get data from {}", accessResult.getUrl(), e); } return null; } protected Map<String, Object> ingest(final AccessResult<String> accessResult, final Map<String, Object> map) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
Path result = getCanonicalPath(context.parserRequest.cwd()); context.systemPropertiesOverrides.put("user.dir", result.toString()); return result; } else { return getCanonicalPath(Paths.get(System.getProperty("user.dir"))); } } protected Path getInstallationDirectory(LocalContext context) throws ParserException { Path result;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0)