- Sort Score
- Num 10 results
- Language All
Results 1611 - 1620 of 2,557 for when (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens * when maximumSize is reached, etc. * * @author mike nonemacher */ @NullUnmarked public class CacheEvictionTest extends TestCase { static final int MAX_SIZE = 100; public void testEviction_setMaxSegmentSize() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
internal/handlers/forwarder.go
} // TODO: only supports HTTP 1.1 for now. outReq.Proto = "HTTP/1.1" outReq.ProtoMajor = 1 outReq.ProtoMinor = 1 f.rewriter.Rewrite(outReq) // Disable closeNotify when method GET for http pipelining if outReq.Method == http.MethodGet { quietReq := outReq.WithContext(context.Background()) *outReq = *quietReq } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java
} try { try (PrintWriter pw = new PrintWriter(getReport())) { pw.println("---------- Validation Report -----------"); pw.println("Some API names were found that, when client code is generated for these APIS,"); pw.println("could conflict with the reserved words in some programming languages. It may");Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
* to reference the FinalizableReferenceQueue class then its ClassLoader cannot be * garbage-collected, even if there are no more instances of FinalizableReferenceQueue itself. * The code in FinalizableReferenceQueue goes to considerable trouble to ensure that there are * no such references and the tests here check that that trouble has not been in vain. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
private var taskQueue = taskRunner.newQueue() /** Names this web socket for observability and debugging. */ private var name: String? = null /** The socket that carries this web socket. This is canceled when the web socket fails. */ private var socket: Socket? = null /** Outgoing pongs in the order they should be written. */ private val pongQueue = ArrayDeque<ByteString>()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
.filter { onlyNativeSubprojectsForIntelMacs(testCoverage, it.subProject.name) } return parallelize(subProjectTestClassTimes, testCoverage) { numberOfBatches -> when (testCoverage.os) { Os.LINUX -> ParallelizationMethod.TestDistribution Os.ALPINE -> ParallelizationMethod.TestDistributionAlpineCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt
fun testSupportedProtocols() { val factory = SSLSocketFactory.getDefault() assertThat(factory.javaClass.name).isEqualTo("sun.security.ssl.SSLSocketFactoryImpl") val s = factory.createSocket() as SSLSocket when { PlatformVersion.majorVersion > 11 -> { assertThat(s.enabledProtocols.toList()).containsExactly( "TLSv1.3", "TLSv1.2", ) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
assertThat(emptyGraph.allowsSelfLoops()).isTrue(); assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural()); } /** * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder * changes. */ @Test @SuppressWarnings("CheckReturnValue") public void immutableValueGraphBuilder_copiesGraphBuilder() { ValueGraphBuilder<String, Object> graphBuilder =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
* natural ordering or by a supplied comparator. Note that iterations across the columns keys for a * single row key may or may not be ordered, depending on the implementation. When rows and columns * are both sorted, it's easier to use the {@link TreeBasedTable} subclass. * * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 4.4K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
} finally { if (tempDocRoot) { docRoot.delete(); } } } /** * Get the actual port the server is listening on. * This is useful when starting the server with port 0 to get a random available port. * * @return the actual port number */ public int getPort() { return ((ServerConnector) server.getConnectors()[0]).getLocalPort();Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 5.5K bytes - Click Count (0)