- Sort Score
- Result 10 results
- Languages All
Results 1561 - 1570 of 3,487 for init (0.02 sec)
-
android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
public class StopwatchBenchmark { @Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
public int numberOfInFlightFetch; /** Number of pending tasks */ public int numberOfPendingTasks; /** Number of delayed unassigned shards */ public int delayedUnassignedShards; /** Number of unassigned shards */ public int unassignedShards; /** Number of initializing shards */ public int initializingShards;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
} /** * Converts to {@literal int}. * * @param o * The object to convert * @return The converted {@literal int} */ public static int toPrimitiveInt(final Object o) { return toPrimitiveInt(o, null); } /** * Converts to {@literal int}. * * @param o * The object to convertRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
int dstIndex = 5; // Start at offset 5 int bytesEncoded = fileInternalInfo.encode(destinationBuffer, dstIndex); // Verify assertEquals(8, bytesEncoded); assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, dstIndex)); // Verify surrounding bytes are untouched for (int i = 0; i < dstIndex; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
public void testAddAll_int() throws Exception { final int[] array = new int[] { 111 }; final int[] newArray = ArrayUtil.add(array, 222); assertThat(newArray.length, is(2)); assertThat(newArray[0], is(111)); assertThat(newArray[1], is(222)); final int[] emptyArray = new int[0]; assertThat(ArrayUtil.addAll((int[]) null, (int[]) null), is(nullValue()));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final CrawlerWebServer server = new CrawlerWebServer(7070); server.start(); final String url = "http://localhost:7070/"; try { final int maxCount = 50; final int numOfThread = 10; final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs(); file.deleteOnExit();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
} @Test @DisplayName("Test size returns positive message size") void testSizeReturnsPositiveValue() { // Given int expectedSize = 1024; when(request.size()).thenReturn(expectedSize); // When int result = request.size(); // Then assertEquals(expectedSize, result); verify(request, times(1)).size(); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
private final String name; private final int type; private final int attributes; private final long createTime; private final long lastModified; private final long lastAccess; private final long length; private final int fileIndex; TestFileEntry(String name, int type, int attributes, long createTime, long lastModified, long lastAccess, long length,Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
void testBasicEncoding() { long offset = 0x1234567890ABCDEFL; long length = 0xFEDCBA0987654321L; int flags = 0x12345678; lock = new Smb2Lock(offset, length, flags); int encoded = lock.encode(buffer, 0); assertEquals(24, encoded); // Verify offset (8 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)