Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 181 for Suppress (0.47 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    
    /** Runs the web platform ToAscii tests. */
    class WebPlatformToAsciiTest {
      @Suppress("ktlint:standard:max-line-length")
      val knownFailures =
        setOf(
          // OkHttp rejects empty labels.
          "x..xn--zca",
          "x..ß",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  2. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

    
    val logger = Logging.getLogger("gradlebuild.cleanup")
    
    
    /**
     * Removes state for versions that we're unlikely to ever need again, such as old snapshot versions.
     */
    @Suppress("LoopWithTooManyJumpStatements")
    fun FileSystemOperations.removeOldVersionsFromDir(dir: Directory, shouldDelete: Spec<GradleVersion>, dirPrefix: String = "", dirSuffix: String = "") {
        if (dir.asFile.isDirectory) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  3. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

        val scriptTemplateCommitId = git("log", "-1", "--format=%H", "--", "platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt")
    
        @Suppress("UnstableApiUsage")
        private
        fun git(vararg args: String): Provider<String> {
            val projectDir = parameters.rootProjectDir.asFile.get()
            val execOutput = providers.exec {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskLoggerTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.concurrent
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import org.junit.jupiter.api.Test
    
    class TaskLoggerTest {
      @Suppress("ktlint")
      @Test fun formatTime() {
        assertThat(formatDuration(-3_499_999_999L)).isEqualTo(" -3 s ")
        assertThat(formatDuration(-3_000_000_000L)).isEqualTo(" -3 s ")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

          apply {
            require(tls) { "no cipher suites for cleartext connections" }
            require(cipherSuites.isNotEmpty()) { "At least one cipher suite is required" }
    
            @Suppress("UNCHECKED_CAST")
            this.cipherSuites = cipherSuites.copyOf() as Array<String> // Defensive copy.
          }
    
        fun allEnabledTlsVersions() =
          apply {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getCountDuplicateInitializingMethods() {
        return asList(getMethod(MultisetCountTester.class, "testCount_3"));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getIteratorDuplicateInitializingMethods() {
        return asList(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/hash/AndroidIncompatible.java

    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
     * documentation on another copy of this annotation}.
     */
    @Retention(CLASS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/math/AndroidIncompatible.java

    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
     * documentation on another copy of this annotation}.
     */
    @Retention(CLASS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/collect/testing/features/AndroidIncompatible.java

    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
     * documentation on another copy of this annotation}.
     */
    @Retention(CLASS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top