- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 4,230 for new1 (0.02 sec)
-
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100))); assertEquals(new BigDecimal("1000"), BigDecimalConversionUtil.toBigDecimal(Long.valueOf(1000L))); assertEquals(0, new BigDecimal("0.1").compareTo(BigDecimalConversionUtil.toBigDecimal(Float.valueOf(0.1F))));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
@DisplayName("Should encode multiple locks sequentially") void testSequentialEncoding() { Smb2Lock lock1 = new Smb2Lock(100L, 200L, 1); Smb2Lock lock2 = new Smb2Lock(300L, 400L, 2); Smb2Lock lock3 = new Smb2Lock(500L, 600L, 4); int offset = 0; offset += lock1.encode(buffer, offset); offset += lock2.encode(buffer, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
SetTestSuiteBuilder.using( new TestStringSetGenerator() { @Override protected Set<String> create(String[] elements) { // Put the sets in different orders for the hell of it return union( new LinkedHashSet<>(asList(elements[0], elements[1], elements[2])),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
assertSuppressed( new Suppression(c2, tryException, c2Exception), new Suppression(c1, tryException, c1Exception)); } public void testErrors() throws IOException { Closer closer = new Closer(suppressor); Error c1Exception = new Error(); Error c2Exception = new Error(); Error c3Exception = new Error();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); // Create multiple threads to test synchronized method Thread thread1 = new Thread(() -> { Throwable result = exception.fillInStackTrace(); assertNull(result); }); Thread thread2 = new Thread(() -> { Throwable result = exception.fillInStackTrace();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
protwordsFile.reload(null); // Create updater with a new item ProtwordsItem newItem = new ProtwordsItem(0, "testNew"); ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(newItem); // Write an existing item (should pass through) ProtwordsItem existingItem = new ProtwordsItem(10, "existing"); ProtwordsItem result = updater.write(existingItem);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
} public void test_getInput() { // Test getInput method ProtwordsItem item1 = new ProtwordsItem(1, "word1"); assertEquals("word1", item1.getInput()); ProtwordsItem item2 = new ProtwordsItem(2, ""); assertEquals("", item2.getInput()); ProtwordsItem item3 = new ProtwordsItem(3, null); assertNull(item3.getInput()); } public void test_getInputValue() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Create stream with a message containing data byte[] data = new byte[] { 1, 2 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(2), data)); SocketInputStream sis = new SocketInputStream(in); // Reading with zero-length array should return 0 without consuming data assertEquals(0, sis.read(new byte[0])); // Verify data can still be read
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
testSortDescending(new byte[] {}, 0, 0, new byte[] {}); testSortDescending(new byte[] {1}, 0, 1, new byte[] {1}); testSortDescending(new byte[] {1, 2}, 0, 2, new byte[] {2, 1}); testSortDescending(new byte[] {1, 3, 1}, 0, 2, new byte[] {3, 1, 1}); testSortDescending(new byte[] {1, 3, 1}, 0, 1, new byte[] {1, 3, 1}); testSortDescending(new byte[] {-1, -2, 1, 2}, 1, 3, new byte[] {-1, 1, -2, 2}); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0)