Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1561 - 1570 of 2,273 for api (0.03 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * implement subtleties of the API improperly.
     *
     * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you
     * can't get by with the standard implementations, prefer to derive a new {@code Future} instance
     * with the methods in {@link Futures} or, if necessary, to extend {@link AbstractFuture}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/additional-responses.md

    # OPENAPI 中的其他响应
    
    您可以声明附加响应,包括附加状态代码、媒体类型、描述等。
    
    这些额外的响应将包含在OpenAPI模式中,因此它们也将出现在API文档中。
    
    但是对于那些额外的响应,你必须确保你直接返回一个像 `JSONResponse` 一样的 `Response` ,并包含你的状态代码和内容。
    
    ## `model`附加响应
    您可以向路径操作装饰器传递参数 `responses` 。
    
    它接收一个 `dict`,键是每个响应的状态代码(如`200`),值是包含每个响应信息的其他 `dict`。
    
    每个响应字典都可以有一个关键模型,其中包含一个 `Pydantic` 模型,就像 `response_model` 一样。
    
    **FastAPI**将采用该模型,生成其`JSON Schema`并将其包含在`OpenAPI`中的正确位置。
    
    例如,要声明另一个具有状态码 `404` 和`Pydantic`模型 `Message` 的响应,可以写:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:29:26 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt

    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit.SECONDS
    import okhttp3.MediaType
    import okhttp3.RequestBody
    import okio.BufferedSink
    import org.junit.jupiter.api.Assertions.assertTrue
    
    /** A duplex request body that keeps the provided sinks so they can be written to later.  */
    class AsyncRequestBody : RequestBody() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/SpnegoConstants.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.spnego;
    
    /**
     * Constants for SPNEGO authentication mechanism OIDs used in GSS-API negotiations
     */
    public interface SpnegoConstants {
    
        /**
         * OID for the SPNEGO mechanism
         */
        String SPNEGO_MECHANISM = "1.3.6.1.5.5.2";
    
        /**
         * OID for the Kerberos v5 mechanism
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. docs/es/docs/deployment/index.md

    Desplegar una aplicación **FastAPI** es relativamente fácil.
    
    ## Qué Significa Despliegue
    
    **Desplegar** una aplicación significa realizar los pasos necesarios para hacerla **disponible para los usuarios**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Tag("Slowish")
    class ConnectionCoalescingTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. cmd/s3-zip-handlers.go

    		return "", "", errors.New("unable to parse zip path")
    	}
    	return input[:idx+len(archivePattern)-1], input[idx+len(archivePattern):], nil
    }
    
    // getObjectInArchiveFileHandler - GET Object in the archive file
    func (api objectAPIHandlers) getObjectInArchiveFileHandler(ctx context.Context, objectAPI ObjectLayer, bucket, object string, w http.ResponseWriter, r *http.Request) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. docs/resiliency/resiliency-verify-script.sh

    #!/usr/bin/env bash
    
    echo "script failed" >resiliency-verify.log # assume initial state
    
    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    SRC_DIR="/tmp/data"
    DEST_DIR="/tmp/dest"
    
    ./mc admin config set "$ALIAS_NAME" api requests_max=400
    
    OBJ_COUNT_AFTER_STOP=$(./mc ls "${ALIAS_NAME}"/"${BUCKET}"/initial-data/ | wc -l)
    # Count should match the initial count of 10
    if [ "${OBJ_COUNT_AFTER_STOP}" -ne 10 ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/10-proposal.yml

    name: Proposals
    description: New external API or other notable changes
    title: "proposal: import/path: proposal title"
    labels: ["Proposal"]
    body:
      - type: markdown
        attributes:
          value: "Our proposal process is documented here: https://go.dev/s/proposal-process"
      - type: textarea
        id: proposal-details
        attributes:
          label: "Proposal Details"
          description: "Please provide the details of your proposal here."
        validations:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Nov 22 20:49:24 UTC 2023
    - 471 bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

    package jcifs.smb1.smb1;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    class SmbComNtTransactionTest {
    
        private ConcreteSmbComNtTransaction smbComNtTransaction;
    
        // A concrete implementation of the abstract class SmbComNtTransaction for testing.
        private static class ConcreteSmbComNtTransaction extends SmbComNtTransaction {
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top