- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 251 for too (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
public void testPutAllNullValueSingle_unsupported() { multimap().putAll(k1(), newArrayList((V) null)); expectUnchanged(); } // In principle, it would be nice to apply these two tests to keys with existing values, too. @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testPutAllNullValueNullLast_unsupported() { int size = getNumElements(); assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
* * @see jcifs.util.transport.Response#verifySignature(byte[], int, int) */ @Override public boolean verifySignature(final byte[] buffer, final int i, final int size) { // observed too that signatures on error responses are sometimes wrong?? // Looks like the failure case also is just reflecting back the signature we sent
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
name = name.substring(0, name.length() - 1); } checkArgument(name.length() <= MAX_LENGTH, "Domain name too long: '%s':", name); this.name = name; this.parts = ImmutableList.copyOf(DOT_SPLITTER.split(name)); checkArgument(parts.size() <= MAX_PARTS, "Domain has too many parts: '%s'", name); checkArgument(validateSyntax(parts), "Not a valid domain name: '%s'", name); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); if (searchLogQueue.size() > fessConfig.getLoggingSearchMaxQueueSizeAsInteger()) { logger.warn("[{}] The search log queue size is too large. Skipped the search log: {}", queryId, query); return; } final RoleQueryHelper roleQueryHelper = ComponentUtil.getRoleQueryHelper();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 26.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* @param reason Reason for shutting down, no longer than 123 bytes of UTF-8 encoded data (**not** characters) or null. * @throws IllegalArgumentException if [code] is invalid or [reason] is too long. */ fun close( code: Int, reason: String?, ): Boolean /** * Immediately and violently release resources held by this web socket, discarding any enqueued
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
} public void testAsMultimap() { ImmutableMap<String, Integer> map = ImmutableMap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3); ImmutableSetMultimap<String, Integer> expected = ImmutableSetMultimap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3); assertEquals(expected, map.asMultimap()); } public void testAsMultimapWhenEmpty() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
class EdgeCasesTests { @Test @DisplayName("Should handle malformed buffer gracefully") void testReadDataWireFormatMalformedBuffer() { byte[] buffer = new byte[3]; // Too small for valid DFS referral assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readDataWireFormat(buffer, 0, buffer.length); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
assertArrayEquals("Hello".getBytes(), java.util.Arrays.copyOfRange(buffer, 0, 5)); } @Test @DisplayName("readn should throw IOException when buffer too short") void shouldThrowWhenBufferTooShort() { InputStream is = new ByteArrayInputStream("test".getBytes()); assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
* learn that some other exception besides IllegalArgumentException is common, then we could * add another special case to throw an instance of it, too. */ throw e; } } private static ImmutableList<Method> getAnnotatedMethodsNotCached(Class<?> clazz) { Set<? extends Class<?>> supertypes = TypeToken.of(clazz).getTypes().rawTypes();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
} @Test @DisplayName("Should handle parsing invalid message bytes") void testInvalidMessageBytes() { // Given byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid // When/Then assertThrows(IOException.class, () -> { new Type1Message(invalidBytes); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)