- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 143 for 100000 (0.03 sec)
-
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertThat(limiter.acquire()).isWithin(EPSILON).of(0.2); } public void testOneSecondBurst() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); stopwatch.sleepMillis(1000); // max capacity reached stopwatch.sleepMillis(1000); // this makes no difference limiter.acquire(1); // R0.00, since it's the first request limiter.acquire(1); // R0.00, from capacity limiter.acquire(3); // R0.00, from capacity
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
} @Test fun maxAge() { assertThat(parseCookie(50000L, url, "a=b; Max-Age=1")!!.expiresAt).isEqualTo(51000L) assertThat(parseCookie(50000L, url, "a=b; Max-Age=9223372036854724")!!.expiresAt) .isEqualTo(MAX_DATE) assertThat(parseCookie(50000L, url, "a=b; Max-Age=9223372036854725")!!.expiresAt) .isEqualTo(MAX_DATE) assertThat(parseCookie(50000L, url, "a=b; Max-Age=9223372036854726")!!.expiresAt)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 24.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
@GwtIncompatible // Too slow in GWT (~3min fully optimized) public void testDivideRemainderEuclideanProperty() { // Use a seed so that the test is deterministic: Random r = new Random(0L); for (int i = 0; i < 1000000; i++) { int dividend = r.nextInt(); int divisor = r.nextInt(); // Test that the Euclidean property is preserved: assertThat( dividend
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
byte[] largeBuffer = new byte[8192]; System.arraycopy(createValidWriteResponse(5000, 2500), 0, largeBuffer, 1000, 20); Smb2WriteResponse response2 = new Smb2WriteResponse(mockConfig); bytesRead = response2.readBytesWireFormat(largeBuffer, 1000); assertEquals(16, bytesRead); assertEquals(5000, response2.getCount());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
when(response.getHeaderStart()).thenReturn(0); // Write FileFsFullSizeInformation data (32 bytes) SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units SMBUtil.writeInt8(500000, buffer, 28); // Caller available units SMBUtil.writeInt8(600000, buffer, 36); // Actual available units SMBUtil.writeInt4(512, buffer, 44); // Sectors per unit
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
final BigInteger firstBigInt = BigInteger.valueOf(first); BigInteger completeBigInt = lastBigInt.add(firstBigInt.shiftLeft(32)); completeBigInt = completeBigInt.divide(BigInteger.valueOf(10000L)); completeBigInt = completeBigInt.add(BigInteger.valueOf(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601)); date = new Date(completeBigInt.longValue()); } return date;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/archive/tar/common.go
c_ISUID = 04000 // Set uid c_ISGID = 02000 // Set gid c_ISVTX = 01000 // Save text (sticky bit) // Common Unix mode constants; these are not defined in any common tar standard. // Header.FileInfo understands these, but FileInfoHeader will never produce these. c_ISDIR = 040000 // Directory c_ISFIFO = 010000 // FIFO c_ISREG = 0100000 // Regular file c_ISLNK = 0120000 // Symbolic link
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Oct 07 19:46:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
void setCreateTime(long time) throws CIFSException; /** * Retrieve the last acces time of the file represented by this <code>SmbResource</code> * * @return The number of milliseconds since the 00:00:00 GMT, January 1, * 1970 as a <code>long</code> value * @throws CIFSException if an error occurs accessing the resource */ long lastAccess() throws CIFSException; /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
*/ public class RdmaErrorHandler { private static final Logger log = LoggerFactory.getLogger(RdmaErrorHandler.class); // Retry and timing constants (in ms) private static final long MAX_RETRY_DELAY = 10000; // 10 seconds maximum delay private static final int MAX_BACKOFF_SHIFT = 4; // Maximum 16x multiplier private final RdmaStatistics statistics; private final int maxRetries; private final long retryDelayMs;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
for (int exponent : asList(2, 3, 4, 9, 15, 16, 17, 24, 25, 30)) { int x = 1 << exponent; intValues.add(x, x + 1, x - 1); } intValues.add(9999).add(10000).add(10001).add(1000000); // near powers of 10 intValues.add(5792).add(5793); // sqrt(2^25) rounded up and down POSITIVE_INTEGER_CANDIDATES = intValues.build(); NEGATIVE_INTEGER_CANDIDATES = ImmutableList.copyOf(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0)