- Sort Score
- Num 10 results
- Language All
Results 951 - 960 of 1,253 for functions (0.1 seconds)
-
cmd/api-router.go
// s3APIMiddleware - performs some common handler functionality for S3 API // handlers. // // It is set per-"handler function registration" in the router to allow for // behavior modification via flags. // // This middleware always calls `collectAPIStats` to collect API stats. // // The passed in handler function must be a method of `objectAPIHandlers` for // the name displayed in logs and trace to be accurate. The name is extracted
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 23.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository.internal; import java.util.Arrays; import java.util.function.Supplier; import org.apache.maven.api.DependencyScope; import org.apache.maven.repository.internal.artifact.FatArtifactTraverser; import org.apache.maven.repository.internal.scopes.Maven4ScopeManagerConfiguration;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Mar 28 11:22:05 GMT 2026 - 8.1K bytes - Click Count (0) -
docs/zh/docs/advanced/async-tests.md
/// warning | 警告 如果您的应用程序依赖于生命周期事件, `AsyncClient` 将不会触发这些事件。为了确保它们被触发,请使用 [florimondmanca/asgi-lifespan](https://github.com/florimondmanca/asgi-lifespan#usage) 中的 `LifespanManager` 。 /// ## 其他异步函数调用 { #other-asynchronous-function-calls } 由于测试函数现在是异步的,因此除了在测试中向 FastAPI 应用程序发送请求之外,您现在还可以调用(和使用 `await` 等待)其他 `async` 异步函数,就和您在代码中的其他任何地方调用它们的方法一样。 /// tip | 提示Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/background-tasks.md
首先,匯入 `BackgroundTasks`,並在你的路徑操作函式中定義一個型別為 `BackgroundTasks` 的參數: {* ../../docs_src/background_tasks/tutorial001_py310.py hl[1,13] *} **FastAPI** 會為你建立 `BackgroundTasks` 物件,並以該參數傳入。 ## 建立任務函式 { #create-a-task-function } 建立一個作為背景任務執行的函式。 它只是個可接收參數的一般函式。 它可以是 `async def`,也可以是一般的 `def`,**FastAPI** 都能正確處理。 在此例中,任務函式會寫入檔案(模擬寄送電子郵件)。 由於寫入操作未使用 `async` 與 `await`,因此以一般的 `def` 定義該函式:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.1K bytes - Click Count (0) -
cmd/bucket-lifecycle_test.go
if actual := tc.restoreStatus.OnDisk(); actual != tc.ondisk { t.Fatalf("Test %d: expected %v but got %v", i+1, tc.ondisk, actual) } } } // TestIsRestoredObjectOnDisk tests isRestoredObjectOnDisk helper function func TestIsRestoredObjectOnDisk(t *testing.T) { testCases := []struct { meta map[string]string ondisk bool }{ { // restore in progress meta: map[string]string{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 31 09:57:57 GMT 2022 - 7K bytes - Click Count (0) -
cmd/storage-errors.go
return string(h) } // Collection of basic errors. var baseErrs = []error{ errDiskNotFound, errFaultyDisk, errFaultyRemoteDisk, } var baseIgnoredErrs = baseErrs // Is a one place function which converts all os.PathError // into a more FS object layer friendly form, converts // known errors into their typed form for top level // interpretation. func osErrToFileErr(err error) error { if err == nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
import java.io.InputStream; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.function.Consumer; import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; public class InputStreamThreadTest extends UnitFessTestCase { @Test public void test_constructor() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacMac.java
return output; } finally { Arrays.fill(dk, 0, dk.length, (byte) 0); } } /** * Derives an AES key using the Kerberos key derivation function. * This method implements the simplified key derivation for AES encryption types. * * @param key the base Kerberos key * @param constant the key derivation constantCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
import java.io.File; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.function.UnaryOperator; import com.google.inject.AbstractModule; import com.google.inject.Module; import org.apache.maven.api.Constants; import org.apache.maven.api.ProtoSession; import org.apache.maven.api.cli.Logger;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 14.3K bytes - Click Count (0) -
docs/ko/docs/advanced/path-operation-advanced-configuration.md
각 작업마다 고유하도록 보장해야 합니다. {* ../../docs_src/path_operation_advanced_configuration/tutorial001_py310.py hl[6] *} ### *경로 처리 함수* 이름을 operationId로 사용하기 { #using-the-path-operation-function-name-as-the-operationid } API의 함수 이름을 `operationId`로 사용하고 싶다면, 모든 API를 순회하면서 `APIRoute.name`을 사용해 각 *경로 처리*의 `operation_id`를 덮어쓸 수 있습니다. 모든 *경로 처리*를 추가한 뒤에 수행해야 합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 7.6K bytes - Click Count (0)