- Sort Score
- Num 10 results
- Language All
Results 4241 - 4250 of 5,120 for sull (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
.map { it.encoding }.joinToString(separator = ", ") override fun intercept(chain: Interceptor.Chain): Response = if (algorithms.isNotEmpty() && chain.request().header("Accept-Encoding") == null) { val request = chain .request() .newBuilder() .header("Accept-Encoding", acceptEncoding) .build() val response = chain.proceed(request)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 2.9K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt
clientTestRule .newClientBuilder() .eventListener(listener) .build() class SocketClosingEventListener : EventListener() { var shouldClose: Boolean = false var lastSocket: Socket? = null override fun connectionAcquired( call: Call, connection: Connection, ) { lastSocket = connection.socket() } override fun requestHeadersStart(call: Call) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
assertFalse(range.isEmpty()); } // test that the RangeSet's span is the span of all the ranges Iterator<Range<C>> itr = rangeSet.asRanges().iterator(); Range<C> expectedSpan = null; if (itr.hasNext()) { expectedSpan = itr.next(); while (itr.hasNext()) { expectedSpan = expectedSpan.span(itr.next()); } } try { Range<C> span = rangeSet.span();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java
private transient @Nullable UnmodifiableSortedMultiset<E> descendingMultiset; @Override public SortedMultiset<E> descendingMultiset() { UnmodifiableSortedMultiset<E> result = descendingMultiset; if (result == null) { result = new UnmodifiableSortedMultiset<E>(delegate().descendingMultiset()); result.descendingMultiset = this; return descendingMultiset = result; } return result; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
@Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testErrorMessage_ja() throws Exception { // ## Arrange ## Locale.setDefault(Locale.JAPANESE);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java
return returnCode == 0; } /** * Gets a human-readable error description. * * @return the error description */ public String getError() { return error != null ? error : "Error code: " + returnCode; } /** * Sets the error message. * * @param error the error message */ public void setError(String error) { this.error = error;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 2.8K bytes - Click Count (0) -
cmd/copy-part-range.go
// form `bytes=first-last` where first and last are zero-based byte // offsets. See // http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html // for full details. This function treats an empty rangeString as // referring to the whole resource. func parseCopyPartRangeSpec(rangeString string) (hrange *HTTPRangeSpec, err error) { hrange, err = parseRequestRangeSpec(rangeString)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 18 03:27:04 GMT 2021 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
String content = response.getContentAsString(); assertEquals("", content); } } // --- Null error stream tests --- /** * Mock HttpURLConnection that returns null from getErrorStream(). */ class NullErrorStreamMockHttpURLConnection extends HttpURLConnection { NullErrorStreamMockHttpURLConnection(URL u) {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
private val applicationLogs = LogRecorder() private val applicationInterceptor = HttpLoggingInterceptor(applicationLogs) private var extraNetworkInterceptor: Interceptor? = null private fun setLevel(level: Level) { networkInterceptor.setLevel(level) applicationInterceptor.setLevel(level) } @BeforeEach fun setUp() { client = OkHttpClient
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 39.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
return (int) Math.pow(a, 1.0 / concentration); } @AfterExperiment void tearDown() { double req = requests.get(); double hit = req - misses.get(); // Currently, this is going into /dev/null, but I'll fix that System.out.println("hit rate: " + hit / req); } // for proper distributions later: // import JSci.maths.statistics.ProbabilityDistribution;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0)