Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 46 of 46 for Yang (0.23 sec)

  1. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import com.oracle.svm.core.annotate.AutomaticFeature
    import java.io.File
    import java.lang.IllegalStateException
    import org.graalvm.nativeimage.hosted.Feature
    import org.graalvm.nativeimage.hosted.RuntimeClassInitialization
    import org.graalvm.nativeimage.hosted.RuntimeReflection
    
    @AutomaticFeature
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import java.lang.reflect.InvocationTargetException
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. settings.gradle.kts

      include(":android-test")
      include(":android-test-app")
    }
    
    enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
    
    /**
     * Avoid a crash in IntelliJ triggered by Android submodules.
     *
     * ```
     * java.lang.AssertionError: Can't find built-in class kotlin.Cloneable
     *   at org.jetbrains.kotlin.builtins.KotlinBuiltIns.getBuiltInClassByFqName(KotlinBuiltIns.java:217)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

              i = end
            } while (i < newline)
            i++
          }
        }
      }
    
      private fun loggerTag(loggerName: String): String {
        // We need to handle long logger names before they hit Log.
        // java.lang.IllegalArgumentException: Log tag "okhttp3.mockwebserver.MockWebServer" exceeds limit of 23 characters
        return knownLoggers[loggerName] ?: loggerName.take(23)
      }
    
      fun enable() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        }
    
      private fun loomThreadFactory(): ThreadFactory {
        val ofVirtual = Thread::class.java.getMethod("ofVirtual").invoke(null)
    
        return Class.forName("java.lang.Thread\$Builder")
          .getMethod("factory")
          .invoke(ofVirtual) as ThreadFactory
      }
    
      private fun isLoom(): Boolean {
        return getPlatformSystemProperty() == LOOM_PROPERTY
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. CHANGELOG.md

     *  Fix: Don't leak file handles when a cache disk write fails.
    
     *  Fix: Don't hang when the public suffix database cannot be loaded. We had a bug where a failure
        reading the public suffix database would cause subsequent reads to hang when they should have
        crashed.
    
     *  Fix: Avoid `InetAddress.getCanonicalHostName()` in MockWebServer. This avoids problems if the
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top