Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 738 for eval (0.04 sec)

  1. okhttp/src/test/java/okhttp3/internal/DoubleInetAddressDns.kt

     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
        return listOf(addresses[0], addresses[0])
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerInstance.kt

     * limitations under the License.
     */
    package mockwebserver3.junit5.internal
    
    import okhttp3.ExperimentalOkHttpApi
    
    @ExperimentalOkHttpApi
    annotation class MockWebServerInstance(
      val name: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 764 bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/ExchangeFinder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    interface ExchangeFinder {
      val routePlanner: RoutePlanner
    
      fun find(): RealConnection
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 730 bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingRequestBody.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import okio.BufferedSink
    
    open class ForwardingRequestBody(delegate: RequestBody?) : RequestBody() {
      private val delegate: RequestBody
    
      fun delegate(): RequestBody {
        return delegate
      }
    
      override fun contentType(): MediaType? {
        return delegate.contentType()
      }
    
      @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

                        else -> error("Unsupported japicmp member type ${member::class}")
                    }
                )
            }
    }
    
    
    private
    val MethodDeclaration.hasOverrideAnnotation: Boolean
        get() = annotations?.any { it.name.asString() == Override::class.simpleName } == true
    
    
    private
    fun isSinceJavaClassVisitorFor(classSimpleName: String, version: String) =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/archtest/PackageCyclesExtension.kt

     * limitations under the License.
     */
    package gradlebuild.archtest
    
    import org.gradle.api.provider.ListProperty
    
    
    abstract class PackageCyclesExtension {
    
        abstract val excludePatterns: ListProperty<String>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 08 16:07:53 UTC 2022
    - 790 bytes
    - Viewed (0)
  7. cmd/data-usage_test.go

    		t.Errorf("deserialize mismatch length\nwant: %+v\ngot:  %+v", len(want.Cache), len(got.Cache))
    	}
    	for wkey, wval := range want.Cache {
    		gotv := got.Cache[wkey]
    		if !equalAsJSON(gotv, wval) {
    			t.Errorf("deserialize mismatch, key %v\nwant: %#v\ngot:  %#v", wkey, wval, gotv)
    		}
    	}
    }
    
    // equalAsJSON returns whether the values are equal when encoded as JSON.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. internal/s3select/sql/parser_test.go

    		"S3Object",
    		"S3Object.id",
    		"S3Object.book.title",
    		"S3Object.id[1]",
    		"S3Object.id['abc']",
    		"S3Object.id['ab']",
    		"S3Object.words.*.id",
    		"S3Object.words.name[*].val",
    		"S3Object.words.name[*].val[*]",
    		"S3Object.words.name[*].val.*",
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &j)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		// repr.Println(j, repr.Indent("  "), repr.OmitEmpty(true))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/extensions.kt

    import jetbrains.buildServer.configs.kotlin.failureConditions.failOnText
    import jetbrains.buildServer.configs.kotlin.ui.add
    import java.util.Locale
    
    const val pluginPortalUrlOverride = "-Dorg.gradle.internal.plugins.portal.url.override=%gradle.plugins.portal.url%"
    
    fun BuildSteps.customGradle(init: GradleBuildStep.() -> Unit, custom: GradleBuildStep.() -> Unit): GradleBuildStep =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    
      return if (ipv6.isEmpty() || ipv4.isEmpty()) {
        addresses
      } else {
        interleave(ipv6, ipv4)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top