Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 286 for compilation (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/base/OptionalTest.java

       * mentioned in the method Javadoc does in fact compile.
       */
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError1() {
        Optional<Integer> optionalInt = getSomeOptionalInt();
        // Number value = optionalInt.or(0.5); // error
      }
    
      @SuppressWarnings("unused") // compilation test
      public void testSampleCodeError2() {
        FluentIterable<? extends Number> numbers = getSomeNumbers();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PrecommitTaskPlugin.java

                            p -> project.getTasks().named(LifecycleBasePlugin.CHECK_TASK_NAME).configure(t -> t.dependsOn(precommit))
                    );
            project.getPluginManager().withPlugin("java", p -> {
                // run compilation as part of precommit
                project.getExtensions().getByType(JavaPluginExtension.class).getSourceSets().all(sourceSet ->
                        precommit.configure(t -> t.shouldRunAfter(sourceSet.getClassesTaskName()))
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:36:58 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java

     *
     * @since 4.0.0
     */
    @Experimental
    public enum CacheRetention {
        /**
         * Data should be persisted across Maven invocations.
         * Suitable for:
         * - Dependency resolution results
         * - Compilation outputs
         * - Downloaded artifacts
         */
        PERSISTENT,
    
        /**
         * Data should be retained for the duration of the current Maven session.
         * Suitable for:
         * - Build-wide configuration
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. buildscripts/cross-compile.sh

    #!/bin/bash
    
    set -e
    # Enable tracing if set.
    [ -n "$BASH_XTRACEFD" ] && set -x
    
    function _init() {
    	## All binaries are static make sure to disable CGO.
    	export CGO_ENABLED=0
    
    	## List of architectures and OS to test coss compilation.
    	SUPPORTED_OSARCH="linux/ppc64le linux/mips64 linux/amd64 linux/arm64 linux/s390x darwin/arm64 darwin/amd64 freebsd/amd64 windows/amd64 linux/arm linux/386 netbsd/amd64 linux/mips openbsd/amd64 linux/riscv64"
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:12:05 GMT 2025
    - 972 bytes
    - Click Count (0)
  5. module-tests/src/main/java/okhttp3/modules/OkHttpCaller.java

    import okhttp3.Call;
    import okhttp3.HttpUrl;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.logging.HttpLoggingInterceptor;
    import okhttp3.logging.LoggingEventListener;
    
    /**
     * Just checking compilation works
     */
    public class OkHttpCaller {
      public static Call callOkHttp(HttpUrl url) {
        OkHttpClient client = new OkHttpClient
          .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. build-logic/src/main/kotlin/JavaModules.kt

        // not needed when compiling with recent JDKs, e.g. 17
        options.compilerArgs.add("-Xlint:-requires-transitive-automatic")
    
        // Patch the compileKotlinJvm output classes into the compilation so exporting packages works correctly.
        options.compilerArgs.addAll(
          listOf(
            "--patch-module",
            "$moduleName=${compileKotlinTask.destinationDirectory.get().asFile}",
          ),
        )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 22:47:58 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         *
         * @throws MojoExecutionException if an unexpected problem occurs.
         * Throwing this exception causes a "BUILD ERROR" message to be displayed.
         * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
         * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
         */
        void execute() throws MojoExecutionException, MojoFailureException;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PrecommitPlugin.java

            precommit.configure(t -> t.dependsOn(task));
            project.getPluginManager().withPlugin("java", p -> {
                // We want to get any compilation error before running the pre-commit checks.
                project.getExtensions().getByType(JavaPluginExtension.class).getSourceSets().all(sourceSet ->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  9. .github/CONTRIBUTING.md

    When submitting code, please make every effort to follow existing conventions
    and style in order to keep the code as readable as possible. Please also make
    sure your code compiles by running `./gradlew check`. Checkstyle failures
    during compilation indicate errors in your style and can be viewed in the
    `checkstyle-result.xml` file.
    
    Some general advice
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 17 04:16:26 GMT 2019
    - 1.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

        super(ImmutableMap.of(), 0, null);
      }
    
      /*
       * TODO(b/242884182): Figure out why this helps produce the same class file when we compile most
       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top