Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,849 for example1 (0.27 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/exceptions/DiagnosticsVisitor.java

        /**
         * Adds the description of some candidate.
         */
        DiagnosticsVisitor candidate(String displayName);
    
        /**
         * Adds an example for the previous candidate. Can have multiple examples.
         */
        DiagnosticsVisitor example(String example);
    
        /**
         * Adds a set of potential values for the previous candidate, if known.
         */
        DiagnosticsVisitor values(Iterable<?> values);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AnnotationProcessingSmokeTest.groovy

                import lombok.val;
    
                public class ValExample {
                  public String example() {
                    val example = new ArrayList<String>();
                    example.add("Hello, World!");
                    val foo = example.get(0);
                    return foo.toLowerCase();
                  }
    
                  public void example2() {
                    val map = new HashMap<Integer, String>();
                    map.put(0, "zero");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/project_properties.adoc

    They can be set from the command line using the `-P` / `--project-prop` <<command_line_interface.adoc#sec:environment_options, environment option>>.
    
    The following examples demonstrate how to set project properties in different ways.
    
    *Example 1:* Setting a project property via the *command line*:
    ====
    ----
    $ gradle -PgradlePropertiesProp=commandLineValue
    ----
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 10:46:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/Instantiator.java

     * a number of capabilities. Some examples:
     *
     * <ul>
     * <li>An implementation may decorate the instances in some fashion, for example to mix in the Groovy DSL, and so may return a subclass of the requested type.
     *
     * <li>An implementation may accept abstract classes or interfaces and provide implementations for the missing pieces, for example providing an implementation of ExtensionAware.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/groovy/build-logic/report-aggregation/src/main/groovy/com.example.report-aggregation.gradle

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-updates.md

    * Convert the copied model to something that can be stored in your DB (for example, using the `jsonable_encoder`).
        * This is comparable to using the model's `.model_dump()` method again, but it makes sure (and converts) the values to data types that can be converted to JSON, for example, `datetime` to `str`.
    * Save the data to your DB.
    * Return the updated model.
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionInfoProvider.kt

         * discard.
         *
         * E.g. `x` in the following examples *are* used (`x.isUsedAsExpression() == true`)
         *   - `if (x) { ... } else { ... }`
         *   - `val a = x`
         *   - `x + 8`
         *   - `when (x) { 1 -> ...; else -> ... }
         *
         * E.g. `x` in the following example is definitely *not* used (`x.isUsedAsExpression() == false`)
         *   - `run { x; println(50) }`
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/apis/cr/v1/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // +k8s:deepcopy-gen=package
    // +groupName=cr.example.apiextensions.k8s.io
    
    // Package v1 is the v1 version of the API.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 12:33:30 UTC 2024
    - 779 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/build-logic/commons/src/main/kotlin/com.example.jacoco.gradle.kts

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 153 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/css/print.css

    }
    
    .section .titlepage {
        page-break-after: avoid;
    }
    
    p {
        text-align: justify;
    }
    
    /**
     * Examples
     */
    
    .example .title {
        text-align: left;
        white-space: nowrap;
        color: #666666
    }
    
    .example {
        page-break-inside: avoid;
    }
    
    .figure .title {
        text-align: left;
        white-space: nowrap;
        color: #666666
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top