- Sort Score
- Result 10 results
- Languages All
Results 1151 - 1160 of 4,648 for new1 (0.03 sec)
-
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
} public static <T> Callable<T> callableThrowing(Exception exception) { return new Callable<T>() { @Override public T call() throws Exception { throw exception; } }; } private static Runnable runnableThrowing(RuntimeException e) { return new Runnable() { @Override public void run() { throw e; } }; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4 }); assertFalse(cos.done); assertTrue(cos.isInMemory()); cos.close(); assertFalse(cos.done); } @Test public void inFile() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFileTest.java
public void setUp() throws Exception { super.setUp(); stemmerOverrideFile = new StemmerOverrideFile("1", "dummy", new Date()); List<StemmerOverrideItem> itemList = new ArrayList<>(); itemList.add(new StemmerOverrideItem(1, "aaa", "a")); itemList.add(new StemmerOverrideItem(2, "bbb", "b")); itemList.add(new StemmerOverrideItem(3, "ccc", "c")); stemmerOverrideFile.stemmerOverrideItemList = itemList;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
URL docResource; try { docResource = new File(myClasspathEntry).toURL(); } catch (MalformedURLException e) { throw new ExpressionDocumentationException( "Cannot construct expression documentation classpath" + " resource base.", e); } return new URLClassLoader(new URL[] {docResource}); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
throws Throwable { AtomicInteger count = new AtomicInteger(0); AtomicReference<Throwable> thrown = new AtomicReference<>(null); int numThreads = 3; Thread[] threads = new Thread[numThreads]; long timeout = SECONDS.toNanos(60); Supplier<Boolean> supplier = new Supplier<Boolean>() { boolean isWaiting(Thread thread) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
byte[] array = new byte[size]; for (int i = 0; i < size; i++) { array[i] = (byte) (offset + i); } return array; } private static void copy(URL url, File file) throws IOException { InputStream in = url.openStream(); try { OutputStream out = new FileOutputStream(file); try { byte[] buf = new byte[4096];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
DummySmbResourceLocator(String urlStr) throws MalformedURLException { if (urlStr == null) { throw new IllegalArgumentException("URL string must not be null"); } if (!urlStr.startsWith("smb://")) { throw new MalformedURLException("Only SMB URLs are supported in the dummy implementation"); } this.urlStr = urlStr;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* * {@snippet : * static final ImmutableClassToInstanceMap<Handler> HANDLERS = * new ImmutableClassToInstanceMap.Builder<Handler>() * .put(FooHandler.class, new FooHandler()) * .put(BarHandler.class, new SubBarHandler()) * .put(Handler.class, new QuuxHandler()) * .build(); * } * * <p>After invoking {@link #build()} it is still possible to add more entries and build again.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsTest.java
assertTrue(set.isEmpty()); set.add(new DerivedComparable("foo"), 2); set.add(new DerivedComparable("bar"), 3); assertThat(set) .containsExactly( new DerivedComparable("bar"), new DerivedComparable("bar"), new DerivedComparable("bar"), new DerivedComparable("foo"), new DerivedComparable("foo")) .inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
private List<WitnessNotificationResponse> notifications; /** * Creates a new WitnessAsyncNotify RPC message. */ public WitnessAsyncNotifyMessage() { super(WITNESS_ASYNC_NOTIFY); this.contextHandle = new byte[20]; this.notifications = new ArrayList<>(); } /** * Creates a new WitnessAsyncNotify RPC message with the specified context handle. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0)