Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 882 for val1 (0.02 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

          }
          else -> {
            continue@loop
          }
        }
    
        var pos = 0
        while (pos < value.length) {
          val tokenStart = pos
          pos = value.indexOfElement("=,;", pos)
          val directive = value.substring(tokenStart, pos).trim()
          val parameter: String?
    
          if (pos == value.length || value[pos] == ',' || value[pos] == ';') {
            pos++ // Consume ',' or ';' (if necessary).
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

          delegate.shutdown()
        }
      }
    }
    
    internal fun MockResponse.wrap(): mockwebserver3.MockResponse {
      val result = mockwebserver3.MockResponse.Builder()
      val copyFromWebSocketListener = webSocketListener
      if (copyFromWebSocketListener != null) {
        result.webSocketUpgrade(copyFromWebSocketListener)
      }
    
      val body = getBody()
      if (body != null) result.body(body)
    
      for (pushPromise in pushPromises) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicKotlinDslApi.kt

     * limitations under the License.
     */
    package gradlebuild.basics
    
    
    object PublicKotlinDslApi {
    
        val includes = listOf(
            "org/gradle/kotlin/dsl/*",
            "org/gradle/kotlin/dsl/precompile/*",
        )
    
        val excludes = listOf(
            // Kotlin inlined functions classes
            "**/*${'$'}inlined${'$'}*"
        )
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 903 bytes
    - Viewed (0)
  4. src/main/webapp/js/advance.js

    $(function() {
      var $searchButton = $("#searchButton"),
          contextPath = $("#contextPath").val();
    
      $("#searchForm").on("submit", function(e) {
        $searchButton.attr("disabled", true);
        setTimeout(function() {
          $searchButton.attr("disabled", false);
        }, 3000);
        return true;
      });
    
      if (typeof $.fn.suggestor === "function") {
        $("#as_q").suggestor({
          ajaxinfo: {
            url: contextPath + "/api/v1/suggest-words",
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

    import okhttp3.Request
    
    class CacheResponse(cacheDirectory: File) {
      private val client: OkHttpClient =
        OkHttpClient.Builder()
          .cache(
            Cache(
              directory = cacheDirectory,
              // 1 MiB.
              maxSize = 10L * 1024L * 1024L,
            ),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/BuildTypeTest.kt

        }
    
        private
        val buildModel = CIBuildModel(
            projectId = "Gradle_Check",
            branch = VersionedSettingsBranch("master"),
            buildScanTags = listOf("Check"),
            subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json"))
        )
    
        @Test
        fun `CompileAll parameters are correct`() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.survey.types
    
    import okio.ByteString
    
    data class SuiteId(val id: ByteString?, val name: String) {
      fun matches(suiteId: SuiteId): Boolean {
        return id == suiteId.id || name.substring(4) == suiteId.name.substring(4)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 842 bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

    abstract class IncubatingApiReportAggregationWorkAction : WorkAction<IncubatingApiReportAggregationParameter> {
        override fun execute() {
            val byCategory = mutableMapOf<String, ReportNameToProblems>()
            parameters.reports.files.sorted().forEach { file ->
                file.forEachLine(Charsets.UTF_8) {
                    val (version, _, problem) = it.split(';')
                    byCategory.getOrPut(toCategory(version, file.nameWithoutExtension)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 18 06:55:55 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  9. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

     * ```
     *
     * For Kotlin the `@JvmField` annotation is also necessary:
     *
     * ```kotlin
     * @JvmField @Rule val serverRule = MockWebServerRule()
     * ```
     */
    @ExperimentalOkHttpApi
    class MockWebServerRule : ExternalResource() {
      val server: MockWebServer = MockWebServer()
    
      override fun before() {
        try {
          server.start()
        } catch (e: IOException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

            }
    
            override fun onRetryChange(timeMs: Long) {
              callbacks.add(timeMs)
            }
          }
        val buffer = Buffer().writeUtf8(source)
        val reader = ServerSentEventReader(buffer, callback)
        while (reader.processNextEvent()) {
        }
        assertThat(buffer.size, "Unconsumed buffer: ${buffer.readUtf8()}")
          .isEqualTo(0)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top