Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 181 for Suppress (0.05 seconds)

  1. guava/src/com/google/common/collect/NullnessCasts.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

         */
        @JvmStatic
        @Throws(IOException::class)
        fun get(protocol: String): Protocol {
          // Unroll the loop over values() to save an allocation.
          @Suppress("DEPRECATION")
          return when (protocol) {
            HTTP_1_0.protocol -> {
              HTTP_1_0
            }
    
            HTTP_1_1.protocol -> {
              HTTP_1_1
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

        assertEquals(expected, actual);
      }
    
      /**
       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getForEachEntryDuplicateInitializingMethods() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

        if (name.endsWith("ToRemoteRepository")) {
            failEarlyIfUrlOrCredentialsAreNotSet(this)
            // packageBuild task executes tests, so we must run after it
            mustRunAfter(":packageBuild")
        }
    }
    
    @Suppress("ThrowsCount")
    fun Project.failEarlyIfUrlOrCredentialsAreNotSet(publish: Task) {
        gradle.taskGraph.whenReady {
            if (hasTask(publish)) {
                if (artifactoryUrl.isEmpty()) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Feb 06 07:41:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. android/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/testers/MapCreationTester.java

        expectContents(expectedWithDuplicateRemoved);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNullKeyUnsupported()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAtIndex_nullSupported()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

    import okhttp3.Protocol
    import okhttp3.internal.SuppressSignatureCheck
    
    /**
     * OpenJDK 9+ and JDK8 build 252+.
     *
     * This may also be used for Android tests with Robolectric.
     */
    @Suppress("NewApi")
    open class Jdk9Platform : Platform() {
      @SuppressSignatureCheck
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<@JvmSuppressWildcards Protocol>,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

    import okhttp3.survey.ssllabs.SslLabsClient
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.conscrypt.Conscrypt
    
    @Suppress("ktlint:standard:property-naming")
    suspend fun main() {
      val includeConscrypt = false
    
      val client =
        OkHttpClient
          .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top