- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 542 for vary (0.01 sec)
-
src/test/java/org/codelibs/curl/CurlRequestTest.java
// Setting SSL socket factory to null should work request.sslSocketFactory(null); assertNotNull(request); } @Test public void testLongUrl() { // Test with very long URL StringBuilder longUrl = new StringBuilder("https://example.com/path"); for (int i = 0; i < 100; i++) { longUrl.append("/segment").append(i); }Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
} catch (UnsupportedOperationException e) { return; } String keyToRemove = map.keySet().iterator().next(); if (supportsRemove) { int initialSize = map.size(); // var oldValue = map.get(keyToRemove); map.remove(keyToRemove); // This line doesn't hold - see the Javadoc comments above. // assertEquals(expectedValue, oldValue);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* techniques like "../../../etc/passwd". * </p> * <p> * Example usage: * </p> * <pre> * Path baseDir = Paths.get("/var/app/data"); * Path userPath = Paths.get(userInput); * if (!FileUtil.isPathSafe(userPath, baseDir)) { * throw new SecurityException("Path traversal attempt detected"); * } * </pre> *
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
assertNotNull(matchedRule); assertEquals("rule2", matchedRule.getRuleId()); } /** * Test edge cases for rule ID */ public void test_ruleId_edgeCases() { // Very long rule ID StringBuilder longId = new StringBuilder(); for (int i = 0; i < 1000; i++) { longId.append("verylongruleid"); } testRule.setRuleId(longId.toString());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
* by two things. * * <ul> * <li>This is only called when a waiting thread times out or is interrupted. Both of which * should be rare. * <li>The waiters list should be very short. * </ul> */ private void removeWaiter(Waiter node) { node.thread = null; // mark as 'deleted' restart: while (true) { Waiter pred = null; Waiter curr = waitersField;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
return file(new File(first), more); } /** Returns a {@code File} object for the given path parts. */ private static File file(File first, String... more) { // not very efficient, but should definitely be correct File file = first; for (String name : more) { file = new File(file, name); } return file; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
import org.jspecify.annotations.NullUnmarked; /** * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class ImmutableDoubleArrayTest extends TestCase { // Test all creation paths very lazily: by assuming asList() works public void testOf0() { assertThat(ImmutableDoubleArray.of().asList()).isEmpty(); } public void testOf1() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
assertArrayEquals(nameBytes, encodedName); } @Test @DisplayName("Test with long pipe name") void testWithLongPipeName() { // Test with a very long pipe name StringBuilder sb = new StringBuilder(); for (int i = 0; i < 100; i++) { sb.append("LongPipeName"); } String pipeName = sb.toString();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
// final fields. // // For simplicity the rest of this description will discuss Futures.catching since it is the // simplest instance, though very similar descriptions apply to many other classes in this file. // // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0)