- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 766 for secondi (1.86 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
@Test fun delayResponse() { assumeNotWindows() server.enqueue( MockResponse .Builder() .body("ABCDEF") .bodyDelay(1, TimeUnit.SECONDS) .build(), ) val startNanos = System.nanoTime() val connection = server.url("/").toUrl().openConnection() val inputStream = connection!!.getInputStream()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
return value; } } /** * Represents a combination in the version item list. * It is usually a combination of a string and a number, with the string first and the number second. */ private static class CombinationItem implements Item { StringItem stringPart; Item digitPart; CombinationItem(String value) { int index = 0;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
* Shutdown the audit logger gracefully */ public void shutdown() { shutdown = true; logExecutor.shutdown(); try { if (!logExecutor.awaitTermination(5, TimeUnit.SECONDS)) { logExecutor.shutdownNow(); } } catch (InterruptedException e) { logExecutor.shutdownNow(); Thread.currentThread().interrupt(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
cmd/erasure-server-pool.go
if opts.Cached { listBucketsCache.InitOnce(time.Second, cachevalue.Opts{ReturnLastGood: true, NoWait: true}, func(ctx context.Context) ([]BucketInfo, error) { ctx, cancel := context.WithTimeout(ctx, 5*time.Second) defer cancel() buckets, err = z.s3Peer.ListBuckets(ctx, opts) if err != nil { return nil, err
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
fileFsSizeInfo.decode(buffer1.array(), 0, 24); long firstCapacity = fileFsSizeInfo.getCapacity(); long firstFree = fileFsSizeInfo.getFree(); // When - second decode with different values ByteBuffer buffer2 = ByteBuffer.allocate(24); buffer2.order(ByteOrder.LITTLE_ENDIAN); buffer2.putLong(2000L); buffer2.putLong(1500L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
AtomicInteger calls = new AtomicInteger(); doAnswer(inv -> { int len = inv.getArgument(2); // First call returns len-1, second returns 1 return calls.getAndIncrement() == 0 ? Math.max(1, len - 1) : 1; }).when(raf).read(any(byte[].class), anyInt(), anyInt()); byte[] dst = new byte[4];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
tests/upsert_test.go
user.Age = 20 if err := DB.Create(&user).Error; err != nil { t.Errorf("failed to create user, got error %v", err) } var user2 User DB.First(&user2, user.ID) user2.Age = 30 time.Sleep(time.Second) if err := DB.Clauses(clause.OnConflict{UpdateAll: true}).Create(&user2).Error; err != nil { t.Fatalf("failed to onconflict create user, got error %v", err) } else { var user3 User DB.First(&user3, user.ID)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.jvmOptions("-Xms" + i + "m"); } latch.countDown(); }); t1.start(); t2.start(); assertTrue(latch.await(5, TimeUnit.SECONDS)); // The exact size may vary due to concurrent modifications, just check it's not empty assertTrue(execJob.jvmOptions.size() > 0); } // Test pattern matching in custom properties
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} /** For testing: force this web socket to release its threads. */ @Throws(InterruptedException::class) fun tearDown() { taskQueue.shutdown() taskQueue.idleLatch().await(10, TimeUnit.SECONDS) } @Synchronized fun sentPingCount(): Int = sentPingCount @Synchronized fun receivedPingCount(): Int = receivedPingCount @Synchronized fun receivedPongCount(): Int = receivedPongCount
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
helm-releases/minio-3.0.0.tgz
myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET" ; $MC_COMMAND ; STATUS=$? ; until [ $STATUS = 0 ] do ATTEMPTS=`expr $ATTEMPTS + 1` ; echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET...
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 02 01:47:43 UTC 2021 - 13.8K bytes - Viewed (0)