- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 302 for nowrap (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt
assertThat(formEncode(128)).isEqualTo("%C2%80") assertThat(formEncode(255)).isEqualTo("%C3%BF") } @Throws(IOException::class) private fun formEncode(codePoint: Int): String { // Wrap the codepoint with regular printable characters to prevent trimming. val body = FormBody .Builder() .add("a", String(intArrayOf('b'.code, codePoint, 'c'.code), 0, 3)) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/object-handlers.go
wantEncryption := crypto.Requested(r.Header) s2c, cb := newS2CompressReader(reader, actualSize, wantEncryption) dstOpts.IndexCB = cb defer s2c.Close() reader = etag.Wrap(s2c, reader) length = -1 } else { delete(srcInfo.UserDefined, ReservedMetadataPrefix+"compression") delete(srcInfo.UserDefined, ReservedMetadataPrefix+"actual-size") reader = gr }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 120.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt
val listener = RecordingEventListener() var client = clientTestRule .newClientBuilder() .dns { throw UnknownHostException() } .dispatcher(dispatcher) .eventListenerFactory(clientTestRule.wrap(listener)) .build() @BeforeEach fun setUp() { dispatcher.maxRequests = 20 dispatcher.maxRequestsPerHost = 10 listener.forbidLock(dispatcher) } @Test fun maxRequestsZero() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
/** Benchmarks for {@link ExecutionList}. */ @VmOptions({"-Xms8g", "-Xmx8g"}) @NullUnmarked public class ExecutionListBenchmark { private static final int NUM_THREADS = 10; // make a param? // simple interface to wrap our two implementations. interface ExecutionListWrapper { void add(Runnable runnable, Executor executor); void execute(); /** Returns the underlying implementation, useful for the Footprint benchmark. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* } finally { * closer.close(); * } * } * * <p>Note that this try-catch-finally block is not equivalent to a try-catch-finally block using * try-with-resources. To get the equivalent of that, you must wrap the above code in <i>another</i> * try block in order to catch any exception that may be thrown (including from the call to {@code * close()}). * * <p>This pattern ensures the following: * * <ul>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
*/ package gmp /* #cgo LDFLAGS: -lgmp #include <gmp.h> #include <stdlib.h> // gmp 5.0.0+ changed the type of the 3rd argument to mp_bitcnt_t, // so, to support older versions, we wrap these two functions. void _mpz_mul_2exp(mpz_ptr a, mpz_ptr b, unsigned long n) { mpz_mul_2exp(a, b, n); } void _mpz_div_2exp(mpz_ptr a, mpz_ptr b, unsigned long n) { mpz_div_2exp(a, b, n); } */ import "C"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
void shouldReturnCorrectBytesConsumed() throws SMBProtocolDecodingException { // Given - larger buffer than needed byte[] buffer = new byte[100]; ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN); bb.putLong(1000L); bb.putLong(500L); bb.putLong(500L); bb.putInt(8); bb.putInt(512); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
} DEFAULT_DOMAIN = domain; } /** * Creates a new NTLM HTTP URL connection that wraps an existing HTTP connection. * * @param connection the HTTP connection to wrap for NTLM authentication */ public NtlmHttpURLConnection(final HttpURLConnection connection) { super(connection.getURL()); this.connection = connection; requestProperties = new HashMap();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} @Override public NbtAddress[] getNodeStatus(final NetbiosAddress addr) throws UnknownHostException { final NodeStatusResponse response = new NodeStatusResponse(this.transportContext.getConfig(), addr.unwrap(NbtAddress.class)); final NodeStatusRequest request = new NodeStatusRequest(this.transportContext.getConfig(), new Name(this.transportContext.getConfig(), NbtAddress.ANY_HOSTS_NAME, 0x00, null));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0)