Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 107 for compilation (0.1 seconds)

  1. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  2. okhttp/build.gradle.kts

    val compileJavaModuleInfo by tasks.registering(JavaCompile::class) {
      val moduleName = "okhttp3"
      val compilation = kotlin.targets["jvm"].compilations["main"]
      val compileKotlinTask = compilation.compileTaskProvider.get() as KotlinJvmCompile
      val targetDir = compileKotlinTask.destinationDirectory.dir("../java9")
      val sourceDir = file("src/jvmMain/java9/")
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        options.release = provider {
            throw GradleException("This task '${name}' is not associated with a compilation. Associate it with a compilation on the '${JvmCompileExtension.NAME}' extension.")
        }
    }
    
    val gradleModule = the<GradleModuleExtension>()
    the<JvmCompileExtension>().apply {
        compilations {
            configureEach {
                // Everything compiles to Java 17 by default
                targetJvmVersion = 17
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  4. architecture/standards/0008-use-nullaway.md

    and there are no missing null checks.
    
    ## Decision
    
    Use "NullAway" in JSpecify mode to check for null-related errors in Java code.
    
    Consider improper uses of `null` detected by NullAway a compilation error (not a warning, and not a separate CI job to test).
    
    Do not suppress NullAway errors without a justification.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. docker-buildx.sh

    #!/bin/bash
    
    set -ex
    
    function _init() {
    	## All binaries are static make sure to disable CGO.
    	export CGO_ENABLED=0
    	export CRED_DIR="/media/${USER}/minio"
    
    	## List of architectures and OS to test coss compilation.
    	SUPPORTED_OSARCH="linux/ppc64le linux/amd64 linux/arm64"
    
    	remote=$(git remote get-url upstream)
    	if test "$remote" != "******@****.***:minio/minio.git"; then
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Oct 19 08:22:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     *
     * @since 4.0.0
     */
    @Experimental
    public enum JavaPathType implements PathType {
        /**
         * The path identified by the Java {@code --class-path} option.
         * Used for compilation, execution and Javadoc among others.
         * The Java tools location is {@link StandardLocation#CLASS_PATH}.
         *
         * <h4>Context-sensitive interpretation</h4>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  7. .teamcity/pom.xml

            <dslContextParameter.branch>master</dslContextParameter.branch>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
            <!-- https://kotlinlang.org/docs/maven.html#enable-incremental-compilation -->
            <kotlin.compiler.incremental>true</kotlin.compiler.incremental>
        </properties>
        <groupId>Gradle_Check</groupId>
        <artifactId>Gradle_Check_dsl</artifactId>
        <version>1.0-SNAPSHOT</version>
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 22:04:16 GMT 2025
    - 7.4K bytes
    - Click Count (2)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

     */
    val keepPatterns = mapOf(
        "it.unimi.dsi:fastutil" to setOf(
            // For persistence cache
            "it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap",
            // For Java compilation incremental analysis
            "it.unimi.dsi.fastutil.ints.IntOpenHashSet",
            "it.unimi.dsi.fastutil.ints.IntSets",
            // For the embedded Kotlin compiler
            "it.unimi.dsi.fastutil.ints.Int2ObjectMap",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 16:18:05 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

                "errorprone",
                project.objects.property<Boolean>()
            ).apply {
                // Enable it only for the main source set by default, as incremental Groovy
                // joint-compilation doesn't work with the Error Prone annotation processor
                enabled.convention(isMainSourceSet)
            }
    
            if (isMainSourceSet) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/PredicatesTest.java

        nums.add(3);
        Predicate<Integer> isThree = Predicates.in(nums);
        assertFalse(isThree.apply(3));
      }
    
      /*
       * Tests that compilation will work when applying explicit types.
       */
      @SuppressWarnings("unused") // compilation test
      public void testIn_compilesWithExplicitSupertype() {
        Collection<Number> nums = ImmutableSet.of();
        Predicate<Number> p1 = Predicates.in(nums);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
Back to Top