- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 880 for multiples (0.14 sec)
-
docs/recipes.md
Typically HTTP headers work like a `Map<String, String>`: each field has one value or none. But some headers permit multiple values, like Guava's [Multimap](https://guava.dev/releases/23.0/api/docs/com/google/common/collect/Multimap.html). For example, it's legal and common for an HTTP response to supply multiple `Vary` headers. OkHttp's APIs attempt to make both cases comfortable.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// try-with-resources should close both verify(session).close(); verify(transport).close(); } @Test @DisplayName("getServerTimeZoneOffset: SMB1 negotiate path multiplies minutes to millis") void getServerTimeZoneOffsetSmb1() throws Exception { // Uses concrete SMB1 negotiate response to exercise SMB1-specific branch
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
assertEquals(1, item.getInputs().length); assertEquals("", item.getInputs()[0]); assertEquals("output", item.getOutput()); } // Test reload with multiple inputs public void test_reload_multipleInputs() throws Exception { writeTestFile("a,b,c,d,e => output\n"); PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
FileNotifyInformation info = notifications.get(0); assertEquals(1, info.getAction()); assertEquals("test.txt", info.getFileName()); } @Test @DisplayName("Should read multiple notifications from wire format") void testReadMultipleNotifications() throws Exception { // Given byte[] buffer = new byte[1024]; int offset = 0; // Set header start position
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
@DisplayName("Should maintain immutability of structure size") void testStructureSizeImmutability() throws Exception { // Given byte[] buffer = new byte[2048]; // When - encode at multiple positions for (int i = 0; i < 5; i++) { Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, TEST_PATH); req.encode(buffer, i * 200); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* sort entries by value. * * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to * build multiple maps in series. Each map is a superset of the maps created before it. * * @since 2.0 */ @DoNotMock public static class Builder<K, V> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
fmt.Printf("Attempting to combine version %q.\n", out) m, err := readAndMap(files, 1, 0) if err != nil { return err } if m.blocks > 0 { // TODO: Support multiple blocks. For now use -xver. return fmt.Errorf("multiple blocks found, only one block supported. Try with -xver") } lastValid := 0 missing := 0 for i := range m.filled { if m.filled[i] == 1 { lastValid = i } else {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 40.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
@AndroidIncompatible // presumably slow public void testCheckedMultiply() { for (int a : ALL_INTEGER_CANDIDATES) { for (int b : ALL_INTEGER_CANDIDATES) { BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); boolean expectedSuccess = fitsInInt(expectedResult); try { assertEquals(a * b, IntMath.checkedMultiply(a, b)); assertTrue(expectedSuccess);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
import okhttp3.internal.concurrent.notifyAll import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8 import okio.Source import okio.Timeout /** * Replicates a single upstream source into multiple downstream sources. Each downstream source * returns the same bytes as the upstream source. Downstream sources may read data either as it * is returned by upstream, or after the upstream source has been exhausted. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
/** Test null reference yields error */ public void testAddNullReference() { assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null)); } /** Test equalObjects after adding multiple instances at once with a null */ public void testAddTwoEqualObjectsAtOnceWithNull() { assertThrows( NullPointerException.class, () -> equalsTester.addEqualityGroup(reference, equalObject1, null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0)