Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 738 for eval (0.04 sec)

  1. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

        context.resource.shutdownAll()
      }
    
      private companion object {
        private val logger = Logger.getLogger(MockWebServerExtension::class.java.name)
        private val namespace = ExtensionContext.Namespace.create(MockWebServerExtension::class.java)
        private val defaultName = MockWebServerExtension::class.java.simpleName
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt

      }
    
      private val bytesOut = Buffer()
      private val hpackWriter = Hpack.Writer(out = bytesOut)
    
      @ParameterizedTest
      @ArgumentsSource(StoriesTestProvider::class)
      fun testRoundTrip(story: Story) {
        assumeFalse(
          story === Story.MISSING,
          "Test stories missing, checkout git submodule",
        )
    
        val newCases = mutableListOf<Case>()
        for (case in story.cases) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

     * Run periodically to refresh the known set of working tests.
     *
     * TODO use filtering to allow skipping acceptable problem tests
     */
    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
        findTests(listOf(testSelector))
          .filter { it.isContainer }
          .mapNotNull { (it as? ClassBasedTestDescriptor)?.testClass?.name }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/webapp/js/search.js

        $("#numSearchOption").prop("selectedIndex", 0);
        return false;
      });
    
      $result.on("mousedown", "a.link", function(e) {
        var docId = $(this).attr("data-id"),
          rt = $("#rt").val(),
          queryId = $("#queryId").val(),
          order = $(this).attr("data-order"),
          url = $(this).attr("href"),
          buf = [],
          hashIndex,
          hashStr;
        buf.push(contextPath);
        buf.push("/go/?rt=");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

          assertThat(event.t).isNull()
        }
      }
    
      internal data class Open(
        val eventSource: EventSource,
        val response: Response,
      )
    
      internal data class Failure(
        val t: Throwable?,
        val response: Response?,
      )
    
      internal object Closed
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ModuleIdentityExtension.kt

    
    abstract class ModuleIdentityExtension(val tasks: TaskContainer, val objects: ObjectFactory) {
    
        abstract val version: Property<GradleVersion>
    
        abstract val baseName: Property<String>
    
        abstract val buildTimestamp: Property<String>
        abstract val snapshot: Property<Boolean>
        abstract val promotionBuild: Property<Boolean>
    
        abstract val releasedVersions: Property<ReleasedVersionsDetails>
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

    class HttpLoggingInterceptorTest {
      @RegisterExtension
      val platform = PlatformRule()
      private lateinit var server: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private val hostnameVerifier = RecordingHostnameVerifier()
      private lateinit var client: OkHttpClient
      private lateinit var host: String
      private lateinit var url: HttpUrl
      private val networkLogs = LogRecorder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RequestBodyTest.kt

        assertOnFileDescriptor { fd ->
          val requestBody = fd.toRequestBody()
    
          assertThat(requestBody.contentLength()).isEqualTo(-1L)
          assertThat(requestBody.isOneShot()).isEqualTo(true)
        }
      }
    
      @Test
      fun testFileDescriptorRead() {
        assertOnFileDescriptor(content = "Hello") { fd ->
          val requestBody = fd.toRequestBody()
    
          val buffer = Buffer()
          requestBody.writeTo(buffer)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    
    class WebSocketWriterTest {
      private val data = Buffer()
      private val random = Random(0)
    
      /**
       * Check all data as verified inside of the test. We do this in an AfterEachCallback so that
       * exceptions thrown from the test do not cause this check to fail.
       */
      @RegisterExtension
      val noDataLeftBehind =
        AfterEachCallback { context: ExtensionContext ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

                val objectExpr = mce.objectExpression
                checkIndirectOutputContains(objectExpr, mce)
            }
        }
    
        private
        fun checkOutputContains(call: MethodCallExpression) {
            val receiver = call.receiver!!
            if (receiver is PropertyExpression) {
                if (receiver.propertyAsString == "output") {
                    val objectExpr = receiver.objectExpression!!
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
Back to top