- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 880 for val3 (0.06 sec)
-
okhttp/src/test/java/okhttp3/internal/UtilTest.kt
import org.junit.jupiter.api.assertThrows class UtilTest { @Test fun socketIsHealthy() { val localhost = InetAddress.getLoopbackAddress() val serverSocket = ServerSocket(0, 1, localhost) val socket = Socket() socket.connect(serverSocket.localSocketAddress) val socketSource = socket.source().buffer() assertThat(socket.isHealthy(socketSource)).isTrue() serverSocket.close()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
@Test fun hashCode_usesIdentityHashCode_legacyCase() { val cs = CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5 // This one's javaName starts with "SSL_". assertThat(cs.hashCode(), cs.toString()) .isEqualTo(System.identityHashCode(cs)) } @Test fun hashCode_usesIdentityHashCode_regularCase() { // This one's javaName matches the identifier. val cs = CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt
import model.Stage open class BaseGradleBuildType( open val stage: Stage? = null, open val failStage: Boolean = true, init: BaseGradleBuildType.() -> Unit = {} ) : BuildType() { init { this.init() } } open class OsAwareBaseGradleBuildType( val os: Os, override val stage: Stage? = null, override val failStage: Boolean = true, init: BaseGradleBuildType.() -> Unit = {}
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 558 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
import okio.GzipSource import okio.Path.Companion.toPath import okio.buffer import okio.use import org.junit.jupiter.api.Test class PublicSuffixDatabaseTest { private val publicSuffixDatabase = PublicSuffixDatabase() @Test fun longestMatchWins() { val buffer = Buffer() .writeUtf8("com\n") .writeUtf8("my.square.com\n") .writeUtf8("square.com\n")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/util/RerunFlakyTest.kt
val id = "Util_RerunFlakyTest${os.asName()}${arch.asName()}" name = "Rerun Flaky Test - ${os.asName()} ${arch.asName()}" description = "Allows you to rerun a selected flaky test 10 times" id(id) val testJvmVendorParameter = "testJavaVendor" val testJvmVersionParameter = "testJavaVersion" val testTaskParameterName = "testTask" val testNameParameterName = "testName"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 24 06:22:49 UTC 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt
class HeadersKotlinTest { @Test fun getOperator() { val headers = headersOf("a", "b", "c", "d") assertThat(headers["a"]).isEqualTo("b") assertThat(headers["c"]).isEqualTo("d") assertThat(headers["e"]).isNull() } @Test fun iteratorOperator() { val headers = headersOf("a", "b", "c", "d") val pairs = mutableListOf<Pair<String, String>>() for ((name, value) in headers) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Dec 21 01:54:49 UTC 2023 - 2K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts
* See the License for the specific language governing permissions and * limitations under the License. */ plugins { java } val validateTaskName = "validatePlugins" val reportFileName = "task-properties/report.txt" tasks.register<ValidatePlugins>(validateTaskName) { val main = project.sourceSets.main.get() classes.from(main.output) classpath.from(main.runtimeClasspath)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jan 20 15:24:40 UTC 2023 - 1008 bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/StageTriggers.kt
) class StageTriggers(model: CIBuildModel, stage: Stage, prevStage: Stage?, stageProject: StageProject) { val triggers: List<BaseGradleBuildType> init { triggers = mutableListOf() val allDependencies = stageProject.specificBuildTypes + stageProject.performanceTests + stageProject.functionalTests + stageProject.docsTestTriggers
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 06 08:08:13 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt
@Suppress("NAME_SHADOWING") class Http2Writer( private val sink: BufferedSink, private val client: Boolean, ) : Closeable { internal val lock: ReentrantLock = ReentrantLock() private val hpackBuffer: Buffer = Buffer() private var maxFrameSize: Int = INITIAL_MAX_FRAME_SIZE private var closed: Boolean = false val hpackWriter: Hpack.Writer = Hpack.Writer(out = hpackBuffer)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 11.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
*/ private fun promoteAndExecute(): Boolean { lock.assertNotHeld() val executableCalls = mutableListOf<AsyncCall>() val isRunning: Boolean this.withLock { val i = readyAsyncCalls.iterator() while (i.hasNext()) { val asyncCall = i.next() if (runningAsyncCalls.size >= this.maxRequests) break // Max capacity.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jun 20 14:10:53 UTC 2024 - 9K bytes - Viewed (0)