- Sort Score
- Num 10 results
- Language All
Results 681 - 690 of 1,052 for timeIt (0.09 seconds)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
final List<Callable<Integer>> tasks = new ArrayList<Callable<Integer>>(); for (int i = 0; i < numTasks; i++) { tasks.add(testCallable); } // Get start time final long time = System.nanoTime(); // Execute callable tasks concurrently final ExecutorService executor = Executors.newFixedThreadPool(numTasks); try {
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
* * This command sets file attributes and last write time for a file or directory. * * @author mbechler */ public class SmbComSetInformation extends ServerMessageBlock { private final int fileAttributes; private final long lastWriteTime; /** * Constructs a set information request to modify file attributes and modification time. * * @param config the configuration to useCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.nio.charset.StandardCharsets; import java.util.Arrays; import org.junit.jupiter.api.BeforeEach;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
entry.dfs_name = "consistent_share_" + i; testArray.s[i] = entry; } setDfsEnumArray(dfsRootEnum, testArray); // Call getEntries multiple times FileEntry[] entries1 = dfsRootEnum.getEntries(); FileEntry[] entries2 = dfsRootEnum.getEntries(); FileEntry[] entries3 = dfsRootEnum.getEntries(); // Verify consistency
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
this.supportsFastOffset = supportsFastOffset; } /** * Returns, conceptually, "origin + distance", or equivalently, the result of calling {@link * #next} on {@code origin} {@code distance} times. */ C offset(C origin, long distance) { C current = origin; checkNonnegative(distance, "distance"); for (long i = 0; i < distance; i++) { current = next(current);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
src/main/java/jcifs/FileNotifyInformation.java
*/ int FILE_NOTIFY_CHANGE_SIZE = 0x00000008; /** * Any change to the last write-time of files in the watched directory or subtree causes a change notification wait * operation to return. The operating system detects a change to the last write-time only when the file is written * to the disk. For operating systems that use extensive caching, detection occurs only when the cache isCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
internal/stmt_store/stmt_store.go
// (1 << 63) - 1 is the maximum value that an int64 type can represent. const ( defaultMaxSize = math.MaxInt // defaultTTL defines the default time-to-live (TTL) for each cache entry. // When the TTL for cache entries is not specified, each cache entry will expire after 24 hours. defaultTTL = time.Hour * 24 ) // New creates and returns a new Store instance. // // Parameters:
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Apr 27 06:05:16 GMT 2025 - 6K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
assertTrue(e instanceof IOException); assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank")); } } /** * Test that connect() is idempotent - calling it multiple times should be safe. */ public void test_connect_idempotent() throws Exception { URL url = new URL("gcs://mybucket/object.txt"); Handler handler = new Handler();
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
SmbComTransactionResponse element = response.nextElement(); // Should return itself assertSame(response, element); // Can be called multiple times element = response.nextElement(); assertSame(response, element); } @Test @DisplayName("Test with various Configuration implementations")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0)