Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 393 for usage (0.01 seconds)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java

     * interface will be discovered through the Java ServiceLoader mechanism and their provided
     * packaging types will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomPackagingProvider implements PackagingProvider {
     *     public Collection&lt;Packaging&gt; provides() {
     *         return Arrays.asList(
     *             packaging("docker-image"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

         * <url>scp://host/snapshot-path</url>
         * </snapshotRepository>
         * </distributionManagement>
         * ]]></origin>
         * <usage><![CDATA[
         * The repositories onto which artifacts should be deployed.
         * One is for releases, the other for snapshots.
         * ]]></usage>
         * </expression>
         * <expressions>
         *
         * @throws IOException
         * @throws XmlPullParserException
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  3. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

    }
    
    fun MavenPublication.configureGradleModulePublication() {
        from(components["java"])
        artifactId = gradleModule.identity.baseName.get()
        versionMapping {
            usage("java-api") {
                fromResolutionResult()
            }
            usage("java-runtime") {
                fromResolutionResult()
            }
        }
    
        pom {
            packaging = "jar"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. lib/wasm/wasm_exec_node.js

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    "use strict";
    
    if (process.argv.length < 3) {
    	console.error("usage: go_js_wasm_exec [wasm binary] [arguments]");
    	process.exit(1);
    }
    
    globalThis.require = require;
    globalThis.fs = require("fs");
    globalThis.path = require("path");
    globalThis.TextEncoder = require("util").TextEncoder;
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Aug 30 19:15:21 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/dataclasses.md

    {* ../../docs_src/dataclasses_/tutorial001.py hl[1,7:12,19:20] *}
    
    这还是借助于 **Pydantic** 及其<a href="https://pydantic-docs.helpmanual.io/usage/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">内置的 `dataclasses`</a>。
    
    因此,即便上述代码没有显式使用 Pydantic,FastAPI 仍会使用 Pydantic 把标准数据类转换为 Pydantic 数据类(`dataclasses`)。
    
    并且,它仍然支持以下功能:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. .github/workflows/CheckBadMerge.groovy

     * e.g https://github.com/gradle/gradle/pull/25825
     *
     * This script is to check if there is any merge commit that brings changes from release branch to master.
     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    class CheckBadMerge {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 24 10:03:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java

     * <p>
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and their provided lifecycles will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomLifecycleProvider implements LifecycleProvider {
     *     public Collection&lt;Lifecycle&gt; provides() {
     *         return Collections.singleton(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     * <p>
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and their provided path scopes will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomPathScopeProvider implements PathScopeProvider {
     *     public Collection&lt;PathScope&gt; provides() {
     *         return Collections.singleton(pathScope("integration-test",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/TypeProvider.java

     * <p>
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and their provided types will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomTypeProvider implements TypeProvider {
     *     public Collection&lt;Type&gt; provides() {
     *         return Arrays.asList(
     *             type("kotlin-library", "jar", "kotlin"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/xml/ParametricNullness.java

    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
Back to Top