Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 427 for self (0.03 sec)

  1. docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    这就是 "可调用对象"。
    
    ## 类作为依赖项
    
    您可能会注意到,要创建一个 Python 类的实例,您可以使用相同的语法。
    
    举个例子:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    在这个例子中, `fluffy` 是一个 `Cat` 类的实例。
    
    为了创建 `fluffy`,你调用了 `Cat` 。
    
    所以,Python 类也是 **可调用对象**。
    
    因此,在 **FastAPI** 中,你可以使用一个 Python 类作为一个依赖项。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/DfsReferralData.java

         *
         * @return the expiration time of this entry
         */
        long getExpiration();
    
        /**
         * Get the next referral in the chain
         *
         * @return pointer to next referral, points to self if there is no further referral
         */
        DfsReferralData next();
    
        /**
         * Get the complete UNC path link for this referral
         *
         * @return the link
         */
        String getLink();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. internal/net/net.go

    import (
    	"fmt"
    
    	"github.com/prometheus/procfs"
    )
    
    // GetInterfaceNetStats - get procfs.NetDevLine by interfaceName
    func GetInterfaceNetStats(interf string) (procfs.NetDevLine, error) {
    	proc, err := procfs.Self()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	netDev, err := proc.NetDev()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	ndl, ok := netDev[interf]
    	if !ok {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jul 17 08:14:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. docs/ru/docs/how-to/custom-docs-ui-assets.md

    # Свои статические ресурсы UI документации (самостоятельный хостинг) { #custom-docs-ui-static-assets-self-hosting }
    
    Документация API использует **Swagger UI** и **ReDoc**, и для каждого из них нужны некоторые файлы JavaScript и CSS.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

        }
      }
    
      @Test
      fun testBuildIfSupported() {
        val actual = OpenJSSEPlatform.buildIfSupported()
        assertThat(actual).isNotNull()
      }
    
      private fun enableTls() {
        // Generate a self-signed cert for the server to serve and the client to trust.
        // can't use TlsUtil.localhost with a non OpenJSSE trust manager
        val heldCertificate =
          HeldCertificate
            .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. docs/es/llm-prompt.md

    * worker: worker (do not translate to "trabajador")
    * load balancer: load balancer (do not translate to "balanceador de carga")
    * load balance: load balance (do not translate to "balancear carga")
    * self hosting: self hosting (do not translate to "auto alojamiento")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Sets the value of the given {@code entry}. */
        void setValue(E entry, V value) {
          this.map.entryHelper.setValue(self(), entry, value);
        }
    
        /** Returns a copy of the given {@code entry}. */
        @Nullable E copyEntry(E original, E newNext) {
          return this.map.entryHelper.copy(self(), original, newNext);
        }
    
        AtomicReferenceArray<E> newEntryArray(int size) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLoggerManager.java

                    ? getLoggerForComponent(role)
                    : new Slf4jLogger(loggerFactory.getLogger(role + '.' + hint)));
        }
    
        //
        // Trying to give loggers back is a bad idea. Ceki said so :-)
        // notice to self: what was this method supposed to do?
        //
        /**
         * <b>Warning</b>: ignored.
         */
        @Override
        public void returnComponentLogger(String role) {}
    
        /**
         * <b>Warning</b>: ignored.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. docs/resiliency/resiliency-initial-script.sh

    #!/usr/bin/env bash
    # This script will run inside ubuntu-pod that is located at default namespace in the cluster
    # This script will not and should not be executed in the self hosted runner
    
    echo "script failed" >resiliency-initial.log # assume initial state
    
    echo "sleep to wait for MinIO Server to be ready prior mc commands"
    # https://github.com/minio/mc/issues/3599
    
    MINIO_SERVER_URL="http://127.0.0.1:9000"
    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    import okhttp3.tls.HandshakeCertificates;
    import okhttp3.tls.HeldCertificate;
    
    /**
     * Create an HTTPS server with a self-signed certificate that OkHttp trusts.
     */
    public class HttpsServer {
      public void run() throws Exception {
        HeldCertificate localhostCertificate = new HeldCertificate.Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top