- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 5,459 for New (1.34 sec)
-
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java
SuggestItem[] items = new SuggestItem[1]; String[][] readings = new String[1][]; readings[0] = new String[] { "test" }; items[0] = new SuggestItem(new String[] { "test" }, readings, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" }, new String[] { SuggestConstants.DEFAULT_ROLE }, new String[] { "en" }, SuggestItem.Kind.DOCUMENT);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'}); HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); long numOfByteSkipped = in.skip(2); assertEquals(2, numOfByteSkipped); byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(2, numOfByteRead); assertEquals(expectedHash, in.hash()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
SimpleTearDown tearDownOne = new SimpleTearDown(); stack.addTearDown(tearDownOne); Callback callback = new Callback() { @Override public void run() { assertEquals( "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran); } }; SimpleTearDown tearDownTwo = new SimpleTearDown(callback);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 01 13:14:50 UTC 2025 - 4.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java
} @Test void testValidate() { Artifact plugin = new DefaultArtifact( "org.apache.maven.its.plugins", "maven-it-plugin", "0.1", "compile", "jar", null, new DefaultArtifactHandler("ignore")); PluginDescriptor descriptor = new PluginDescriptor();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
int expectedOccupiedDepth) { AtomicBoolean actualIsOccupied = new AtomicBoolean(); AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean(); AtomicInteger actualOccupiedDepth = new AtomicInteger(); AtomicReference<Throwable> thrown = new AtomicReference<>(); joinUninterruptibly( startThread( new Runnable() { @Override public void run() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
int expectedOccupiedDepth) { AtomicBoolean actualIsOccupied = new AtomicBoolean(); AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean(); AtomicInteger actualOccupiedDepth = new AtomicInteger(); AtomicReference<Throwable> thrown = new AtomicReference<>(); joinUninterruptibly( startThread( new Runnable() { @Override public void run() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
final Date date = toDate("11:49"); assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("11:49:10"); assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:10")); } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 9.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
} } } }; RequestBody requestBody = RequestBody.create( new File("docs/images/logo-square.png"), MEDIA_TYPE_PNG); Request request = new Request.Builder() .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID) .url("https://api.imgur.com/3/image") .post(new ProgressRequestBody(requestBody, progressListener)) .build();Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
* Ensures writeSetupWireFormat writes subcommand and trailing zero, returning 2. */ @Test void testWriteSetupWireFormat() { // Given Trans2FindNext2 next = new Trans2FindNext2(0x1111, 0, "*"); byte[] dst = new byte[2]; // When int written = next.writeSetupWireFormat(dst, 0); // Then assertEquals(2, written, "Should write 2 bytes");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Maps.java
*/ public static <KEY, VALUE> Maps<KEY, VALUE> concurrentHashMap(final KEY key, final VALUE value) { return new Maps<>(new ConcurrentHashMap<KEY, VALUE>()).$(key, value); } /** * Returns a {@literal Maps} for constructing a {@link HashMap} with the specified key and value. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 7.2K bytes - Viewed (0)