- Sort Score
- Num 10 results
- Language All
Results 4311 - 4320 of 5,324 for If (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android-test/src/androidDeviceTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
// Raised https://github.com/mannodermaus/android-junit5/issues/228 to reevaluate val androidMorEarlier = Build.VERSION.SDK_INT <= 23 val clientBuilder = OkHttpClient.Builder() if (androidMorEarlier) { val cert: X509Certificate = """ -----BEGIN CERTIFICATE----- MIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAwCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 4.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt
*/ interface CookieJar { /** * Saves [cookies] from an HTTP response to this store according to this jar's policy. * * Note that this method may be called a second time for a single HTTP response if the response * includes a trailer. For this obscure HTTP feature, [cookies] contains only the trailer's * cookies. */ fun saveFromResponse( url: HttpUrl, cookies: List<Cookie>, ) /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.4K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
val firstRequest = "/foo" val latch = CountDownLatch(1) val dispatcher: Dispatcher = object : Dispatcher() { override fun dispatch(request: RecordedRequest): MockResponse { if (request.url.encodedPath == firstRequest) { latch.await() } return MockResponse() } } mockWebServer.dispatcher = dispatcherCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.2K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
override fun MediaType.charsetName(): String? = this.charset()?.name() @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() { val mediaType = "text/plain;charset=\"'utf-8'\"".toMediaType() if (isAndroid) { // Charset.forName("'utf-8'") == UTF-8 assertEquals("UTF-8", mediaType.charsetName()) } else { assertNull(mediaType.charset()) } } @Test fun testDefaultCharset() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
() -> { interruptingTask.stopInterrupting(); interruptingThread.interrupt(); joinUninterruptibly(interruptingThread, 2500, MILLISECONDS); Thread.interrupted(); if (interruptingThread.isAlive()) { // This will be hidden by test-output redirection: logger.severe("InterruptenatorTask did not exit; future tests may be affected"); /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:38:30 GMT 2026 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Hashing.java
// Round down to the nearest power of 2. expectedEntries = max(expectedEntries, 2); int tableSize = Integer.highestOneBit(expectedEntries); // Check to make sure that we will not exceed the maximum load factor. if (expectedEntries > (int) (loadFactor * tableSize)) { tableSize <<= 1; return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE; } return tableSize; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphConnections.java
*/ Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode); /** * Returns the value associated with the edge connecting the origin node to {@code node}, or null * if there is no such edge. */ @Nullable V value(N node); /** Remove {@code node} from the set of predecessors. */ void removePredecessor(N node); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; import jcifs.smb1.util.Hexdump;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.7K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java
} @Benchmark public TopDocs benchmark() throws IOException { TopDocs topDocs = new IndexSearcher(reader).search(scriptScoreQuery(factory), 10); if (topDocs.scoreDocs[0].score != 1_000_000) { throw new AssertionError("Expected score to be 1,000,000 but was [" + topDocs.scoreDocs[0].score + "]"); } return topDocs; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 13:45:50 GMT 2021 - 8.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/UpdateWrapper.kt
param("env.GITHUB_TOKEN", "%github.bot-gradle.token%") param("env.DEFAULT_BRANCH", "%teamcity.build.branch%") param("env.TRIGGERED_BY", "%teamcity.build.triggeredBy%") } if (!vcsBranch.isMaster) { listOf(FINAL_RELEASE_BUILD_CONFIGURATION_ID, RELEASE_CANDIDATE_BUILD_CONFIGURATION_ID).forEach { triggers { finishBuildTrigger { buildType =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jul 24 03:08:48 GMT 2025 - 2.7K bytes - Click Count (0)