- Sort Score
- Num 10 results
- Language All
Results 1671 - 1680 of 1,803 for INSTANCE (0.25 seconds)
-
docs/de/docs/advanced/advanced-dependencies.md
## Eine Instanz erstellen { #create-an-instance } Wir könnten eine Instanz dieser Klasse erstellen mit: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[18] *} Und auf diese Weise können wir unsere Abhängigkeit „parametrisieren“, die jetzt `"bar"` enthält, als das Attribut `checker.fixed_content`. ## Die Instanz als Abhängigkeit verwenden { #use-the-instance-as-a-dependency }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/zh/docs/advanced/advanced-dependencies.md
但我们希望能够把这个固定内容参数化。 ## “可调用”的实例 { #a-callable-instance } 在 Python 中,可以让某个类的实例变成“可调用对象”(callable)。 这里指的是类的实例(类本身已经是可调用的),而不是类本身。 为此,声明一个 `__call__` 方法: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[12] *} 在这种情况下,**FastAPI** 会使用这个 `__call__` 来检查附加参数和子依赖,并且稍后会调用它,把返回值传递给你的*路径操作函数*中的参数。 ## 参数化实例 { #parameterize-the-instance } 现在,我们可以用 `__init__` 声明实例的参数,用来“参数化”这个依赖项:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.1K bytes - Click Count (0) -
android/guava/src/com/google/common/math/Quantiles.java
@GwtIncompatible public final class Quantiles { /** * Constructor for a type that is not meant to be instantiated. * * @deprecated Use the static factory methods of the class. There is no reason to create an * instance of {@link Quantiles}. */ @Deprecated public Quantiles() {} /** Specifies the computation of a median (i.e. the 1st 2-quantile). */ public static ScaleAndIndex median() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 30.1K bytes - Click Count (0) -
fess-crawler-lasta/src/main/resources/crawler/mimetype.xml
"http://dbflute.org/meta/lastadi10.dtd"> <components namespace="fessCrawler"> <include path="crawler/container.xml" /> <component name="mimeTypeHelper" class="org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl" instance="singleton"> </component>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Oct 11 02:16:55 GMT 2015 - 374 bytes - Click Count (0) -
fess-crawler-lasta/src/main/resources/crawler/sitemaps.xml
"http://dbflute.org/meta/lastadi10.dtd"> <components namespace="fessCrawler"> <include path="crawler/container.xml" /> <component name="sitemapsHelper" class="org.codelibs.fess.crawler.helper.SitemapsHelper" instance="singleton"> </component>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Oct 11 02:16:55 GMT 2015 - 365 bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
Class.forName("com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider") AmazonCorrettoCryptoProvider.INSTANCE.loadingError == null && AmazonCorrettoCryptoProvider.INSTANCE.runSelfTests() == SelfTestStatus.PASSED } catch (e: ClassNotFoundException) { false } val isCorrettoInstalled: Boolean =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 15.5K bytes - Click Count (1) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
} else { return new RegularImmutableSortedSet<>(ImmutableList.of(), comparator); } } /** * Returns the empty immutable sorted set. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") // The natural-ordered empty set supports all types. public static <E> ImmutableSortedSet<E> of() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0) -
maven-tests/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.squareup.okhttp3</groupId> <artifactId>maven-tests</artifactId> <version>1.0.0-SNAPSHOT</version> <name>maven-tests</name>
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 20:20:42 GMT 2026 - 1.8K bytes - Click Count (0) -
cmd/object-api-multipart_test.go
func TestObjectNewMultipartUpload(t *testing.T) { if runtime.GOOS == globalWindowsOSName { t.Skip() } ExecObjectLayerTest(t, testObjectNewMultipartUpload) } // Tests validate creation of new multipart upload instance. func testObjectNewMultipartUpload(obj ObjectLayer, instanceType string, t TestErrHandler) { bucket := "minio-bucket" object := "minio-object" opts := ObjectOptions{}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 89.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
void setUp() { buffer = new byte[BUFFER_SIZE]; } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create instance with Configuration, hash algorithms and salt") void testConstructorWithConfigHashAlgosAndSalt() { int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (0)