- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 484 for vary (0.01 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
*/ static class ExpensiveComputation implements Function<Integer, BigInteger> { @Override public BigInteger apply(Integer from) { BigInteger v = BigInteger.valueOf(from); // Math.sin is very slow for values outside 4*pi // Need to take absolute value to avoid inverting the value. for (double i = 0; i < 100; i += 20) { v = v.add( v.multiply(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
@Throws(IOException::class) override fun writeTo(sink: BufferedSink) { val forwardingSink = object : ForwardingSink(sink) { private var totalBytesWritten: Long = 0 private var completed = false override fun write( source: Buffer, byteCount: Long, ) { super.write(source, byteCount)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/webapp/js/admin/admin.js
document.location = $(this).attr("data-href"); }); }); $("#confirmToDelete").on("show.bs.modal", function(event) { var button = $(event.relatedTarget); var docId = button.data("docid"); var title = button.data("title"); var url = button.data("url"); $(this) .find(".modal-body #delete-doc-title") .text(title); $(this) .find(".modal-body #delete-doc-url")
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Aug 06 20:44:47 UTC 2018 - 3.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
object : ForwardingSource(delegate.source) { private var closed = false override fun close() { if (closed) return try { super.close() } finally { closedLatch.countDown() } } }.buffer() override val sink: BufferedSink = object : ForwardingSink(delegate.sink) { private var closed = false override fun close() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt
* to resolve a concrete type. */ internal data class AnyValue( var tagClass: Int, var tag: Long, var constructed: Boolean = false, var length: Long = -1L, val bytes: ByteString, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + tagClass result = 31 * result + tag.toInt()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
} } } return result } @Throws(EOFException::class) private fun Buffer.readChallengeHeader(result: MutableList<Challenge>) { var peek: String? = null while (true) { // Read a scheme name for this challenge if we don't have one already. if (peek == null) { skipCommasAndWhitespace() peek = readToken()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
delim = DELIMITER_STRING; } dummy ^= sb.toString().length(); } return dummy; } /** * Always append the delimiter after the component, and in the very end shortens the buffer to get * rid of the extra trailing delimiter. */ @Benchmark int alwaysAppendThenBackUp(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
// before its keepAliveDurationNs is reached. var earliestOldIdleAtNs = (now - keepAliveDurationNs) + 1 var earliestOldConnection: RealConnection? = null var earliestEvictableIdleAtNs = Long.MAX_VALUE var earliestEvictableConnection: RealConnection? = null var inUseConnectionCount = 0 var evictableConnectionCount = 0 for (connection in connections) { connection.withLock {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 16.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
private val handshakeCertificates = platform.localhostHandshakeCertificates() private var client = clientTestRule .newClientBuilder() .eventListenerFactory(clientTestRule.wrap(listener)) .build() private var socksProxy: SocksProxy? = null private var cache: Cache? = null @BeforeEach fun setUp() { platform.assumeNotOpenJSSE()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt
} fun decode( source: BufferedSource, byteCount: Long, sink: BufferedSink, ) { var node = root var accumulator = 0 var accumulatorBitCount = 0 for (i in 0 until byteCount) { val byteIn = source.readByte() and 0xff accumulator = accumulator shl 8 or byteIn accumulatorBitCount += 8 while (accumulatorBitCount >= 8) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11K bytes - Viewed (0)