- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 3,487 for init (0.04 sec)
-
src/test/java/jcifs/smb/DosFileFilterTest.java
"0, 1, false", // No filter attributes "1, 0, false", // No file attributes "0, 0, false" // No attributes on either }) void testAccept(int filterAttributes, int fileAttributes, boolean expectedResult) throws SmbException { // Given a DosFileFilter with specific attributes dosFileFilter = new DosFileFilter("*.*", filterAttributes);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
} @GwtIncompatible // concurrency public void testConcurrentAutoIncrementStep() throws Exception { int incrementByNanos = 3; FakeTicker ticker = new FakeTicker().setAutoIncrementStep(incrementByNanos, NANOSECONDS); int numberOfThreads = 64; runConcurrentTest( numberOfThreads, new Callable<@Nullable Void>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
buf[bufLen++] = getChar(h); int x0 = buf[bufLen - 1] & 0xff; int x1 = buf[bufLen - 2] & 0xff; int x2 = buf[bufLen - 3] & 0xff; int x3 = buf[bufLen / 2] & 0xff; buf[((x0 << 16) + (x1 << 8) + x2) % bufLen] ^= x3; buf[((x1 << 16) + (x2 << 8) + x3) % bufLen] ^= i % 256; } assertEquals(0xeaa3b1c985261632L, h); } private static long remix(long h) { h ^= h >>> 41;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
.isTrue(); } } public void testCompare() { for (byte x : VALUES) { for (byte y : VALUES) { // Only compare the sign of the result of compare(). int expected = Byte.compare(x, y); int actual = SignedBytes.compare(x, y); if (expected == 0) { assertWithMessage(x + ", " + y).that(actual).isEqualTo(expected); } else if (expected < 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
// Skip test when container is not available return; } throw e; } } private void assertImageSize(File file, int width, int height) throws IOException { BufferedImage img = ImageIO.read(file); logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight()); assertEquals("Image Width", width, img.getWidth());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
// Register mock ThumbnailManager ThumbnailManager mockThumbnailManager = new ThumbnailManager() { private int callCount = 0; @Override public int generate(ExecutorService executorService, boolean cleanup) { // Return 0 to exit the loop if (callCount++ == 0) { return 1;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
import org.jspecify.annotations.Nullable; /** * Unit test for {@link ComparisonChain}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class ComparisonChainTest extends TestCase { private static final DontCompareMe DONT_COMPARE_ME = new DontCompareMe(); private static class DontCompareMe implements Comparable<DontCompareMe> { @Override public int compareTo(DontCompareMe o) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
} }); int count = crawlJob.getRunningJobCount(); assertEquals(0, count); // Not the right target } // Test execute with exception in executeCrawler public void test_execute_executeCrawlerThrowsException() { crawlJob = new CrawlJob() { @Override protected int getRunningJobCount() { return 0; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
lengthField.setAccessible(true); int actualLength = (int) lengthField.get(response); assertEquals(expectedLength, actualLength); } @DisplayName("Test readParametersWireFormat with various lengths") @ParameterizedTest @ValueSource(ints = { 0, 1, 100, 1000, 65535, Integer.MAX_VALUE }) void testReadParametersWireFormatWithVariousLengths(int expectedLength) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionBean.java
return true; } @Override public void paging(int pageSize, int pageNumber) { if (pageSize <= 0) { throwPagingPageSizeNotPlusException(pageSize, pageNumber); } fetchFirst(pageSize); xfetchPage(pageNumber); } protected void throwPagingPageSizeNotPlusException(int pageSize, int pageNumber) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 17.8K bytes - Viewed (0)