- Sort Score
- Result 10 results
- Languages All
Results 881 - 890 of 1,126 for wouldn (0.18 sec)
-
android/guava/src/com/google/common/reflect/Types.java
* AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods * refer only to types present under Android, so we could implement them in {@code * TypeVariableImpl} today. (We could probably then make {@code TypeVariableImpl} implement {@code * AnnotatedElement} so that we get partial compile-time checking.) *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
byte[] dst = new byte[100]; int length = name.writeWireFormat(dst, 0); // Scope should start at position 33 with a length byte (not '.') // The first byte after encoding would be the length of "scope" assertEquals(5, dst[33]); // Length of "scope" // Verify total length includes scope assertEquals(33 + name.scope.length() + 2, 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) -
README.md
}); ``` ### Text Processing and JSON ```java import org.codelibs.core.text.*; // JSON utilities with proper escaping String escaped = JsonUtil.escape("Hello \"World\" with special chars"); String unescaped = JsonUtil.unescape(escaped); // Text tokenization Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ","); while (tokenizer.hasMoreTokens()) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// writeInt2(100000) will truncate to 100000 & 0xFFFF = 34464 SMBUtil.writeInt2(100000, buffer, 58); // This becomes 34464 due to 16-bit truncation // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer, // let's test the actual validation logic instead byte[] buffer2 = createBasicNegotiateResponseBuffer(); // Set maximum 16-bit value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
*/ protected void deleteTempDir(final File ownTmpDir) { if (ownTmpDir == null) { return; } if (!FileUtils.deleteQuietly(ownTmpDir)) { logger.warn("Could not delete a temp dir: {}", ownTmpDir.getAbsolutePath()); } } /** * Appends JAR files from the specified directory to the classpath buffer. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertEquals(0, response.getDialect(), "Initial dialect should be 0"); } @Test @DisplayName("Test decode with real-world SMB3 values") void testDecodeWithRealWorldValues() throws SMBProtocolDecodingException { // Prepare test data with realistic SMB3 values byte[] buffer = new byte[50]; int bufferIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
public void testPuttingTheSameKeyTwiceThrowsOnBuild() { Builder<String, Integer> builder = new Builder<String, Integer>() .put("one", 1) .put("one", 1); // throwing on this line would be even better IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> builder.build()); assertThat(expected).hasMessageThat().contains("one"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
} public void testBuilder_presize_negative() { assertThrows(IllegalArgumentException.class, () -> ImmutableLongArray.builder(-1)); } /** * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell * out of it for a while and see what happens. */ public void testBuilder_bruteForce() { for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
Set<Integer> unused = network.successors(first); return null; } })); } /* * It's unlikely that any operations would fail by throwing an exception, but let's check them * just to be safe. * * The real purpose of this test is to produce a TSAN failure if MapIteratorCache is unsafe for
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* * <p>If {@code expectedSize} is exactly the number of elements added to the builder before {@link * Builder#build} is called, the builder is likely to perform better than an unsized {@link * #builder()} would have. * * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to, * but not exactly, the number of elements added to the builder. * * @since 23.1 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0)