Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,945 for example1 (0.13 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/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModel.java

     * <p>
     * See the examples in docs for {@link IdeaModule} or {@link IdeaProject}.
     */
    public abstract class IdeaModel {
    
        private IdeaModule module;
        private IdeaProject project;
        private IdeaWorkspace workspace;
        private String targetVersion;
    
        /**
         * Configures IDEA module information. <p> For examples see docs for {@link IdeaModule}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/doc.go

    using different register names.
    
    Examples:
    
    	ADC R24, R14, R12          <=>     adc x12, x14, x24
    	ADDW R26->24, R21, R15     <=>     add w15, w21, w26, asr #24
    	FCMPS F2, F3               <=>     fcmp s3, s2
    	FCMPD F2, F3               <=>     fcmp d3, d2
    	FCVTDH F2, F3              <=>     fcvt h3, d2
    
    2. Go uses .P and .W suffixes to indicate post-increment and pre-increment.
    
    Examples:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:21:42 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top