- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 132 for Clarke (0.18 sec)
-
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
sink.writeUtf8("def") } catch (e: InterruptedException) { throw InterruptedIOException() } } } } companion object { /** A large response body. Smaller bodies might successfully read after the socket is closed! */ private val BIG_ENOUGH_BODY = repeat('a', 64 * 1024) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
* particular example can be written as just: * * <pre>{@code * ContiguousSet.closed(5, 42) * }</pre> * * <p><b>Warning:</b> Be extremely careful what you do with conceptually large instances (such as * {@code ContiguousSet.create(Range.greaterThan(0), DiscreteDomain.integers()}). Certain operations * on such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ContiguousSet.java
* particular example can be written as just: * * <pre>{@code * ContiguousSet.closed(5, 42) * }</pre> * * <p><b>Warning:</b> Be extremely careful what you do with conceptually large instances (such as * {@code ContiguousSet.create(Range.greaterThan(0), DiscreteDomain.integers()}). Certain operations * on such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
* <p>Note that this function is necessarily well-defined for any discrete type. * * @return the distance as described above, or {@link Long#MIN_VALUE} or {@link Long#MAX_VALUE} if * the distance is too small or too large, respectively. */ public abstract long distance(C start, C end); /** * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
val newLimit = if (header.length != -1L) byteCount + header.length else -1L if (pushedLimit != -1L && newLimit > pushedLimit) { throw ProtocolException("enclosed object too large") } limit = newLimit constructed = header.constructed if (name != null) path += name try { val result = block(header) // The object processed bytes beyond its range.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
private val listRead = AtomicBoolean(false) /** Used for concurrent threads reading the list for the first time. */ private val readCompleteLatch = CountDownLatch(1) // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings // that will likely never be used. Each rule is separated by '\n'. Please see the // PublicSuffixListGenerator class for how these lists are generated.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
* <p>Note that this function is necessarily well-defined for any discrete type. * * @return the distance as described above, or {@link Long#MIN_VALUE} or {@link Long#MAX_VALUE} if * the distance is too small or too large, respectively. */ public abstract long distance(C start, C end); /** * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
bytesIn.writeShort(0xff00) // == Indexed - Add idx = 127 assertFailsWith<IOException> { hpackReader!!.readHeaders() }.also { expected -> assertThat(expected.message).isEqualTo("Header index too large 127") } } // Example taken from twitter/hpack DecoderTest.testInsidiousIndex @Test fun readIndexedHeaderFieldInsidiousIndex() { bytesIn.writeByte(0xff) // == Indexed - Add ==
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0) -
src/bytes/buffer_test.go
t.Errorf("bad written data at %d %d", startLen, growLen) } } } } func TestGrowOverflow(t *testing.T) { defer func() { if err := recover(); err != ErrTooLarge { t.Errorf("after too-large Grow, recover() = %v; want %v", err, ErrTooLarge) } }() buf := NewBuffer(make([]byte, 1)) const maxInt = int(^uint(0) >> 1) buf.Grow(maxInt) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
* placed adjacent to each other, and so will most often share * cache lines (with a huge negative performance impact) without * this precaution. * * In part because Cells are relatively large, we avoid creating * them until they are needed. When there is no contention, all * updates are made to the base field. Upon first contention (a * failed CAS on base update), the table is initialized to size 2.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0)