- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,389 for FIRST (0.03 sec)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt
} } else if (projectsWithUncheckedDeps.isNotEmpty()) { println("Unchecked dependencies of $uncheckedCount ${projectS(uncheckedCount)} need NullAway enabled first (run `./gradlew nullawayStatus` to see those).") } else { // This should not happen.Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Aug 20 13:18:23 UTC 2025 - 3.8K bytes - Viewed (0) -
src/bytes/buffer.go
func (b *Buffer) Cap() int { return cap(b.buf) } // Available returns how many bytes are unused in the buffer. func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) } // Truncate discards all but the first n unread bytes from the buffer // but continues to use the same allocated storage. // It panics if n is negative or greater than the length of the buffer. func (b *Buffer) Truncate(n int) { if n == 0 { b.Reset()
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 16.5K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
import javax.net.ssl.X509TrustManager import okhttp3.Protocol import org.bouncycastle.jsse.BCSSLSocket import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider /** * Platform using BouncyCastle if installed as the first Security Provider. * * Requires org.bouncycastle:bctls-jdk15on on the classpath. */ class BouncyCastlePlatform private constructor() : Platform() { private val provider: Provider = BouncyCastleJsseProvider()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java
assertTrue( "After remove(duplicate), a list should still contain the duplicate element", getList().contains(duplicate)); assertFalse( "remove(duplicate) should remove the first instance of the " + "duplicate element in the list", firstIndex == getList().indexOf(duplicate)); assertEquals( "remove(present) should decrease the size of a list by one.",
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
} @Throws(IOException::class) private fun Proxy.connectToInetAddress( url: HttpUrl, dns: Dns, ): InetAddress = when (type()) { Proxy.Type.DIRECT -> dns.lookup(url.host).first() else -> (address() as InetSocketAddress).address }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
val startsFirst = buildRequestThread(firstRequest, firstResponseCode) startsFirst.start() val endsFirst = buildRequestThread(secondRequest, secondResponseCode) endsFirst.start() endsFirst.join() // First response is still waiting. assertThat(firstResponseCode.get()).isEqualTo(0) // Second response is done. assertThat(secondResponseCode.get()).isEqualTo(200) latch.countDown() startsFirst.join()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt
} else { if (failure != null) failures += failure } } if (failures.isNotEmpty()) { for (failure in failures) { println(failure) } throw failures.first() } } private fun testToAscii( input: String, output: String?, comment: String?, ) { val url = "https://$input/".toHttpUrlOrNull()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
printErrors(result); Iterator<Artifact> i = result.getArtifacts().iterator(); assertEquals(n, i.next(), "n should be first"); assertEquals(m, i.next(), "m should be second"); // inverse order set = new LinkedHashSet<>(); set.add(m); set.add(n);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
* provided for consistency with the other primitive types, whose compare methods were not added * to the JDK until JDK 7. * * @param a the first {@code double} to compare * @param b the second {@code double} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} isRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 27.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
/** * This counter prevents an ABA issue where a thread may successfully schedule the worker, the * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the * worker, and then the first thread's call to delegate.execute() returns. Without this counter, * it would observe the QUEUING state and set it to QUEUED, and the worker would never be * scheduled again for future submissions. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0)