Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 748 for doPing (0.08 sec)

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

    # Classes as Dependencies
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver.go

    	defer conn.Close()
    
    	context.AfterFunc(ctx, func() {
    		log.Debug("context cancelled, closing ztunnel server")
    		conn.Close()
    	})
    
    	// before doing anything, add the connection to the list of active connections
    	z.conns.addConn(conn)
    	defer z.conns.deleteConn(conn)
    
    	// get hello message from ztunnel
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectArrays.java

        for (int i = 0; i < length; i++) {
          checkElementNotNull(array[i], i);
        }
        return array;
      }
    
      // We do this instead of Preconditions.checkNotNull to save boxing and array
      // creation cost.
      @CanIgnoreReturnValue
      static Object checkElementNotNull(@CheckForNull Object element, int index) {
        if (element == null) {
          throw new NullPointerException("at index " + index);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

            // subclass is implemented with bugs similar to the subclass.
            pendingDescription = "Exception thrown from implementation: " + e.getClass();
          }
          // The future may complete during or before the call to getPendingToString, so we use null
          // as a signal that we should try checking if the future is done again.
          if (!isNullOrEmpty(pendingDescription)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. cmd/erasure-metadata-utils.go

    }
    
    // Return shuffled partsMetadata depending on fi.Distribution.
    // additional validation is attempted and invalid metadata is
    // automatically skipped only when fi.ModTime is non-zero
    // indicating that this is called during read-phase
    func shuffleDisksAndPartsMetadata(disks []StorageAPI, partsMetadata []FileInfo, fi FileInfo) (shuffledDisks []StorageAPI, shuffledPartsMetadata []FileInfo) {
    	shuffledDisks = make([]StorageAPI, len(disks))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

            }
        }
    
        /**
         * Ensures the last updated timestamp of the specified metadata does not refer to the future and fixes the local
         * metadata if necessary to allow proper merging/updating of metadata during deployment.
         */
        private void fixTimestamp(File metadataFile, Metadata metadata, Metadata reference) {
            boolean changed = false;
    
            if (metadata != null && reference != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

            }
    
            // Check for identity or widening reference conversion
            if (actual != null && formal.isAssignableFrom(actual)) {
                return true;
            }
    
            // Check for boxing with widening primitive conversion. Note that
            // actual parameters are never primitives.
            if (formal.isPrimitive()) {
                if (formal == Boolean.TYPE && actual == Boolean.class) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. docs/zh/docs/help-fastapi.md

        * 阅读我的其它想法、文章,了解我创建的工具
        * 关注我,这样就可以随时看到我发布的新文章
    
    ## Tweet about **FastAPI**
    
    <a href="https://twitter.com/compose/tweet?text=I'm loving @fastapi because... https://github.com/fastapi/fastapi" class="external-link" target="_blank">Tweet about **FastAPI**</a> 让我和大家知道您为什么喜欢 FastAPI。🎉
    
    知道有人使用 **FastAPI**,我会很开心,我也想知道您为什么喜欢 FastAPI,以及您在什么项目/哪些公司使用 FastAPI,等等。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      //
      // Otherwise if all of the tensors have the same shape, returns that via the
      // `shape` output argument. This blocks waiting for async tensors, may return
      // a delayed bad status encountered during async execution, and will return a
      // bad status unless all tensors have the same shape.
      absl::Status Shape(const std::vector<int64_t>** shape) const;
      TF_DataType dtype() const { return dtype_; }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            List<ArtifactRepository> pomRepositories = null;
    
            Artifact pomArtifact;
    
            Artifact relocatedArtifact = null;
    
            // TODO hack: don't rebuild model if it was already loaded during reactor resolution
            RepositorySystemSession repositorySession = legacySupport.getRepositorySession();
            final WorkspaceReader workspace = repositorySession.getWorkspaceReader();
            Model model;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top