Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1841 - 1850 of 1,950 for func (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

      val sections: String,
      val ranges: String,
      val mappings: String,
    ) {
      /**
       * Returns true if the [codePoint] was applied successfully. Returns false if it was disallowed.
       */
      fun map(
        codePoint: Int,
        sink: BufferedSink,
      ): Boolean {
        val sectionsIndex = findSectionsIndex(codePoint)
    
        val rangesPosition = sections.read14BitInt(sectionsIndex + 2)
    
        val rangesLimit =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. test-site/activator.bat

        set CMDS="ui"
      ) else set CMDS=!args!
    ) else set CMDS=!args!
    
    rem We add a / in front, so we get file:///C: instead of file://C:
    rem Java considers the later a UNC path.
    rem We also attempt a solid effort at making it URI friendly.
    rem We don't even bother with UNC paths.
    set JAVA_FRIENDLY_HOME_1=/!ACTIVATOR_HOME:\=/!
    set JAVA_FRIENDLY_HOME=/!JAVA_FRIENDLY_HOME_1: =%%20!
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 7.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

    import okhttp3.MultipartBody
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostMultipart {
      private val client = OkHttpClient()
    
      fun run() {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        val requestBody =
          MultipartBody.Builder()
            .setType(MultipartBody.FORM)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt

    import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
    import org.jetbrains.kotlin.load.java.JavaTypeEnhancementState
    import org.jetbrains.kotlin.load.java.Jsr305Settings
    import org.jetbrains.kotlin.load.java.ReportLevel
    
    
    fun KotlinCompile.configureKotlinCompilerForGradleBuild() {
        compilerOptions {
            allWarningsAsErrors = true
            apiVersion = KotlinVersion.KOTLIN_1_8
            languageVersion = KotlinVersion.KOTLIN_1_8
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 26 19:59:57 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiAggregateReportTask.kt

        @get:OutputFile
        abstract val htmlReportFile: RegularFileProperty
    
        @get:Inject
        abstract val workerExecutor: WorkerExecutor
    
        @TaskAction
        fun generateReport() = workerExecutor.noIsolation().submit(IncubatingApiReportAggregationWorkAction::class) {
            reports.from(******@****.***s)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 30 09:32:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/internal/SleepNanos.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package mockwebserver3.internal
    
    internal fun sleepNanos(nanos: Long) {
      val ms = nanos / 1_000_000L
      val ns = nanos - (ms * 1_000_000L)
      if (ms > 0L || nanos > 0) {
        Thread.sleep(ms, ns.toInt())
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 811 bytes
    - Viewed (0)
  7. okcurl/src/main/kotlin/okhttp3/curl/logging/MessageFormatter.kt

     * limitations under the License.
     */
    package okhttp3.curl.logging
    
    import java.util.logging.LogRecord
    import java.util.logging.SimpleFormatter
    
    object MessageFormatter : SimpleFormatter() {
      override fun format(record: LogRecord): String {
        return String.format("%s%n", record.message)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 860 bytes
    - Viewed (0)
  8. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class ApacheHttpClientTest {
      private val httpClient = HttpClients.createDefault()
    
      @AfterEach fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get(server: MockWebServer) {
        server.enqueue(
          MockResponse.Builder()
            .body("hello, Apache HttpClient 5.x")
            .build(),
        )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/node/v1alpha1/generated.proto

      // all handlers are available on every node, and handlers of the same name are
      // equivalent on every node.
      // For example, a handler called "runc" might specify that the runc OCI
      // runtime (using native Linux containers) will be used to run the containers
      // in a pod.
      // The runtimeHandler must be lowercase, conform to the DNS Label (RFC 1123)
      // requirements, and is immutable.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/StreamHandler.kt

     * response data before all request data has been received.
     *
     * See [okhttp3.RequestBody.isDuplex].
     */
    @ExperimentalOkHttpApi
    interface StreamHandler {
      fun handle(stream: Stream)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 945 bytes
    - Viewed (0)
Back to top