Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 891 - 900 of 1,590 for EXAMPLE (0.06 seconds)

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

    # 类作为依赖项 { #classes-as-dependencies }
    
    在深入探究 **依赖注入** 系统之前,让我们升级之前的例子。
    
    ## 来自前一个例子的`dict` { #a-dict-from-the-previous-example }
    
    在前面的例子中, 我们从依赖项 ("可依赖对象") 中返回了一个 `dict`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    但是后面我们在路径操作函数的参数 `commons` 中得到了一个 `dict`。
    
    我们知道编辑器不能为 `dict` 提供很多支持(比如补全),因为编辑器不知道 `dict` 的键和值类型。
    
    对此,我们可以做的更好...
    
    ## 什么构成了依赖项 { #what-makes-a-dependency }
    
    到目前为止,你看到的依赖项都被声明为函数。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * given at creation time, the natural order of elements is used. If no maximum size is given at
     * creation time, the queue is unbounded.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * MinMaxPriorityQueue<User> users = MinMaxPriorityQueue.orderedBy(userComparator)
     *     .maximumSize(1000)
     *     .create();
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * might not run some of its listeners. The likely result is that the app will hang. (And of
         * course stack overflows are bad news in general. For example, we may have overflowed in the
         * middle of defining a class. If so, that class will never be loadable in this process.) The
         * best we can do (since logging may overflow the stack) is to let the error propagate. Because
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

     * It can identify areas where string deduplication could provide significant memory savings.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * PomMemoryAnalyzer analyzer = new PomMemoryAnalyzer();
     * Model model = reader.read(Files.newInputStream(pomPath));
     * analyzer.analyzePom(model);
     * analyzer.printAnalysis();
     * </pre>
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                 * plugins that require dependency resolution, although they usually run in phases of the build where project
                 * artifacts haven't been assembled yet. The prime example of this is "mvn release:prepare".
                 */
                if (aggregating && areAllDependenciesInReactor(session.getProjects(), result.getUnresolvedDependencies())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  6. ci/official/README.md

    against a pending change. Search for "MLCI" internally to find it.
    
    You may invoke a CI script of your choice by following these instructions:
    
    ```bash
    cd tensorflow-git-dir
    
    # Here is a single-line example of running a script on Linux to build the
    # GPU version of TensorFlow for Python 3.12, using the public TF bazel cache and
    # a local build cache:
    TFCI=py312,linux_x86_cuda,public_cache,disk_cache ci/official/wheel.sh
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NameTest.java

            byte[] src = new byte[100];
    
            // Encode "test.example.com"
            src[0] = 4; // Length of "test"
            src[1] = 't';
            src[2] = 'e';
            src[3] = 's';
            src[4] = 't';
            src[5] = 7; // Length of "example"
            src[6] = 'e';
            src[7] = 'x';
            src[8] = 'a';
            src[9] = 'm';
            src[10] = 'p';
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

         * created and what is required of it. The second degree of state is the
         * most common. This is the state information that would be retrieved from
         * WINS for example. Natrually it is not practical for every NbtAddress
         * to be populated will all state requiring a Node Status on every host
         * encountered. The below methods allow state to be populated when requested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. cmd/globals.go

    	// requirements -
    	//
    	// ```
    	//    The canonical user ID is the Amazon S3–only concept.
    	//    It is 64-character obfuscated version of the account ID.
    	// ```
    	// http://docs.aws.amazon.com/AmazonS3/latest/dev/example-walkthroughs-managing-access-example4.html
    	globalMinioDefaultOwnerID      = "02d6176db174dc93cb1b899f7c6078f08654445fe8cf1b6ce98d8855f66bdbf4"
    	globalMinioDefaultStorageClass = "STANDARD"
    	globalWindowsOSName            = "windows"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 03 18:23:41 GMT 2024
    - 16.2K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/core/io/FileUtil.java

         * preventing access to files outside the intended directory through path traversal
         * techniques like "../../../etc/passwd".
         * </p>
         * <p>
         * Example usage:
         * </p>
         * <pre>
         * Path baseDir = Paths.get("/var/app/data");
         * Path userPath = Paths.get(userInput);
         * if (!FileUtil.isPathSafe(userPath, baseDir)) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
Back to Top