Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for computation (0.08 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.jvm-compile.gradle.kts

    // it controls the JVM version of the compilation. This allows each source set within a project
    // to compile to different JVM versions.
    
    val jvmCompile = extensions.create<JvmCompileExtension>(JvmCompileExtension.NAME)
    
    jvmCompile.compilations.configureEach {
        // Assume the compilation does not use any workarounds
        usesJdkInternals = false
        usesFutureStdlib = false
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 24 13:46:12 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. 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"
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jun 08 16:12:05 UTC 2025
    - 972 bytes
    - Viewed (0)
  4. 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()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. 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/")
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. 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.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 10:24:40 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. buildSrc/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}",
          ),
        )
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. .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
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Mar 17 04:16:26 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/StrictCompileExtension.kt

     */
    package gradlebuild.jvm.extension
    
    import org.gradle.api.tasks.TaskContainer
    import org.gradle.api.tasks.compile.JavaCompile
    import org.gradle.kotlin.dsl.*
    
    
    /**
     * Strict compilation options honored by [gradlebuild.Strict_compile_gradle].
     */
    abstract class StrictCompileExtension(val tasks: TaskContainer) {
    
        fun ignoreDeprecations() {
            tasks.withType<JavaCompile>().configureEach {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

        super(ImmutableMap.of(), 0);
      }
    
      /*
       * 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top