- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 3,883 for _new (0.35 sec)
-
guava-tests/test/com/google/common/base/SuppliersTest.java
throws Throwable { final AtomicInteger count = new AtomicInteger(0); final AtomicReference<Throwable> thrown = new AtomicReference<>(null); final int numThreads = 3; final Thread[] threads = new Thread[numThreads]; final long timeout = TimeUnit.SECONDS.toNanos(60); final Supplier<Boolean> supplier = new Supplier<Boolean>() { boolean isWaiting(Thread thread) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
throws Throwable { final AtomicInteger count = new AtomicInteger(0); final AtomicReference<Throwable> thrown = new AtomicReference<>(null); final int numThreads = 3; final Thread[] threads = new Thread[numThreads]; final long timeout = TimeUnit.SECONDS.toNanos(60); final Supplier<Boolean> supplier = new Supplier<Boolean>() { boolean isWaiting(Thread thread) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
Map<String, String> andParams = new HashMap<>(); andParams.put("q", query.replace("OR", "AND")); String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString(); int andRecordCount = JsonPath.from(andResponse).getInt("record_count"); Map<String, String> params = new HashMap<>(); params.put("q", query);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 18.6K bytes - Viewed (1) -
src/main/java/jcifs/spnego/NegTokenTarg.java
fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC))); } der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields))); return collector.toByteArray(); } catch ( IOException ex ) { throw new IllegalStateException(ex.getMessage()); } } @Override
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Jan 04 04:18:31 GMT 2021 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
} catch (final Exception e) { throw new PluginException("Failed to install the artifact " + artifact.getName(), e); } } else { try (final InputStream in = new FileInputStream(url)) { CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile()); } catch (final Exception e) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/MapCacheTest.java
return Arrays.asList( new Object[][] { {new MapIteratorCache<String, String>(new HashMap<String, String>())}, {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))}, {new MapRetrievalCache<String, String>(new HashMap<String, String>())}, {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))} }); } @Before
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 26 16:23:26 GMT 2021 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
Map<String, Object> doc = new HashMap<>(); doc.put("key1", new String[] { "aaa", "bbb" }); assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class)); assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class)); } public void test_list() { Map<String, Object> doc = new HashMap<>();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
public void testExecute() { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); testExecutor.execute(doNothing()); mock.assertLastMethodCalled("execute"); } public void testSubmit() throws InterruptedException, ExecutionException { { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jan 05 19:41:03 GMT 2023 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetOperationsTest.java
@ElementTypesAreNonnullByDefault public class SetOperationsTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( SetTestSuiteBuilder.using( new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 14.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
assertEquals("foo,foo", Joiner.on(",").join(new DontStringMeBro(), new DontStringMeBro())); assertEquals( "foo,bar,foo", Joiner.on(",").useForNull("bar").join(new DontStringMeBro(), null, new DontStringMeBro())); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0)