Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 514 for PLATFORM (0.04 sec)

  1. module-tests/src/test/java/module-info.java

      requires okhttp3.logging;
      requires mockwebserver3;
      requires mockwebserver3.junit5;
      requires jdk.crypto.ec;
      requires org.junit.jupiter.api;
      requires okhttp3.modules;
      opens okhttp3.modules.test to org.junit.platform.commons;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 317 bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.UrlComponentEncodingTester.Component
    
    fun urlComponentEncodingTesterJvmPlatform(component: Component): UrlComponentEncodingTester.Platform =
      when (component) {
        Component.USER ->
          UrlComponentEncodingTesterJvmPlatform()
            .escapeForUri('%'.code)
    
        Component.PASSWORD ->
          UrlComponentEncodingTesterJvmPlatform()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/build.gradle.kts

    plugins {
        `kotlin-dsl`
    }
    
    description = "Provides a plugin to define the version and name for subproject publications"
    
    group = "gradlebuild"
    
    dependencies {
        api(platform(projects.buildPlatform))
    
        implementation(projects.basics)
    
        implementation("com.google.code.gson:gson")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 17 10:11:26 UTC 2024
    - 292 bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt

        assertFailure { super.testPublicSuffixDb() }.all {
          hasMessage("Unable to load PublicSuffixDatabase.list resource.")
          cause().isNotNull().all {
            hasMessage(
              "Platform applicationContext not initialized. " +
                "Possibly running Android unit test without Robolectric. " +
                "Android tests should run with Robolectric " +
                "and call OkHttp.initialize before test",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_op_requires.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_C_OP_REQUIRES_H_
    #define TENSORFLOW_C_C_OP_REQUIRES_H_
    
    #include "tensorflow/core/platform/macros.h"
    
    namespace tensorflow {
    
    // Convenience macros for asserting and handling exceptional conditions, for
    // C structs, including `TF_OpKernelContext`, `TF_Status`, etc. This is analogus
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Aug 02 21:35:06 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

        }
    
        private
        fun toCategory(version: String, gradleModule: String) = when {
            gradleModule.endsWith("-native") || gradleModule in listOf("model-core", "platform-base", "testing-base") -> "Software Model and Native"
            else -> "Incubating since $version"
        }
    
        private
        fun generateHtmlReport(data: Map<String, ProjectNameToProblems>) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jun 02 09:57:54 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    class OkHttpClientTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
      @Test fun get() {
        server.enqueue(MockResponse(body = "hello, OkHttp"))
    
        val client = OkHttpClient()
    
        val request =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. build-logic-commons/code-quality-rules/build.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        id("java-library")
    }
    description = "Provides a custom CodeNarc rule used by the Gradle build"
    
    group = "gradlebuild"
    
    dependencies {
        api(platform(projects.buildPlatform))
        compileOnly(localGroovy())
        compileOnly("org.codenarc:CodeNarc") {
            exclude(group = "org.apache.groovy")
            exclude(group = "org.codehaus.groovy")
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 17 10:11:26 UTC 2024
    - 980 bytes
    - Viewed (0)
Back to top