Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 863 for val (0.03 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/ErrorCode.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */
    enum class ErrorCode constructor(val httpCode: Int) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
      SETTINGS_TIMEOUT(4),
    
      STREAM_CLOSED(5),
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
        println(Platform.get().javaClass.simpleName)
      }
    
      @Test
      fun testGreenCase() {
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt

            checkBinaryCompatibleKotlin(
                v1 = """
                    fun some() {}
                """,
                v2 = """
                    fun some() {
                        val anon = object : Runnable {
                            override fun run() {}
                        }
                        anon.run()
                    }
                """
            ) {
                assertEmptyReport()
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/PublishBranchSnapshotFromQuickFeedback.kt

            name = "Publish Branch Snapshot (from Quick Feedback)"
            description = "Deploys a new distribution snapshot for the selected build/branch. Does not update master or the documentation."
    
            val triggerName = this.triggerName
    
            params {
                param("branch.qualifier", "%dep.${RelativeId("Check_Stage_${triggerName}_Trigger")}.teamcity.build.branch%")
                text(
                    "branch.to.promote",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    					// Found it. Now find data section.
    					if i := int(s.Section); 0 <= i && i < len(f.Sections) {
    						sect := f.Sections[i]
    						val := removeTag(s.Value)
    						if sect.Addr <= val && val < sect.Addr+sect.Size {
    							if sdat, err := sect.Data(); err == nil {
    								data := sdat[val-sect.Addr:]
    								ints = make([]int64, len(data)/8)
    								for i := range ints {
    									ints[i] = int64(bo.Uint64(data[i*8:]))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  6. docs/debugging/inspect/export.go

    		return nil, e
    	}
    	res := []byte("{")
    
    	for i := uint32(0); i < sz; i++ {
    		var key, val []byte
    		key, buf, e = msgp.ReadMapKeyZC(buf)
    		if e != nil {
    			return nil, e
    		}
    		if len(key) == 0 {
    			return nil, fmt.Errorf("xlMetaInlineData: key %d is length 0", i)
    		}
    		// Skip data...
    		val, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return nil, e
    		}
    		if i > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/GradleModuleApiAttribute.kt

     */
    
    package gradlebuild.basics
    
    import org.gradle.api.attributes.Attribute
    
    
    enum class GradleModuleApiAttribute {
        API,
        IMPLEMENTATION;
    
        companion object {
            val attribute = Attribute.of(GradleModuleApiAttribute::class.java)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 864 bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt

    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class Jdk8WithJettyBootPlatformTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @Test
      fun testBuildsWithJettyBoot() {
        assumeTrue(System.getProperty("java.specification.version") == "1.8")
        platform.assumeJettyBootEnabled()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/OkHttp.kt

       *
       * [semver]: https://semver.org
       */
      @Suppress("MayBeConstant") // Non-const so external callers get the runtime version.
      @JvmField
      val VERSION = CONST_VERSION
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. docs/changelogs/upgrading_to_okhttp_4.md

    with OkHttp 3.x: must use `object :` with OkHttp 4.x:
    
    Kotlin calling OkHttp 3.x:
    
    ```kotlin
    val client = OkHttpClient.Builder()
        .dns { hostname -> InetAddress.getAllByName(hostname).toList() }
        .build()
    ```
    
    Kotlin calling OkHttp 4.x:
    
    ```kotlin
    val client = OkHttpClient.Builder()
        .dns(object : Dns {
          override fun lookup(hostname: String) =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
Back to top