- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 257 for 1000KB (0.03 sec)
-
android/guava-tests/test/com/google/common/io/ByteSinkTest.java
* Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ @NullUnmarked public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); } public void testOpenBufferedStream() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
* Tests for the default implementations of {@code ByteSink} methods. * * @author Colin Decker */ @NullUnmarked public class ByteSinkTest extends IoTestCase { private final byte[] bytes = newPreFilledByteArray(10000); private TestByteSink sink; @Override protected void setUp() throws Exception { sink = new TestByteSink(); } public void testOpenBufferedStream() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
// Test with a specific TTL long ttl = 600; // 10 minutes Dfs.CacheEntry cacheEntry = new Dfs.CacheEntry(ttl); long expectedExpiration = System.currentTimeMillis() + ttl * 1000L; assertTrue(cacheEntry.expiration >= expectedExpiration - 100 && cacheEntry.expiration <= expectedExpiration + 100); assertNotNull(cacheEntry.map); // Test with TTL = 0, should use default TTL
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
// via its Init method. func newTransitionState(ctx context.Context) *transitionState { return &transitionState{ transitionCh: make(chan transitionTask, 100000), ctx: ctx, killCh: make(chan struct{}), lastDayStats: make(map[string]*lastDayTierStats), } } // Init initializes t with given objAPI and instantiates the configured number
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
assertFalse(loopback.isUsableForChannel()); } @Test void testGetScore() { NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000); assertEquals(1000, basic.getScore()); // Base score is link speed NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000); assertTrue(fast.getScore() > basic.getScore()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
try { final SearchEngineClient esClient = ComponentUtil.getSearchEngineClient(); final NodesStatsResponse response = esClient.admin().cluster().prepareNodesStats().all().execute().actionGet(10000L); final XContentBuilder builder = XContentFactory.jsonBuilder(); builder.startObject(); response.toXContent(builder, ToXContent.EMPTY_PARAMS); builder.endObject();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutTask.java
private int status = ACTIVE; TimeoutTask(final TimeoutTarget timeoutTarget, final int timeout, final boolean permanent) { this.timeoutTarget = timeoutTarget; this.timeoutMillis = timeout * 1000L; this.permanent = permanent; this.startTime = System.currentTimeMillis(); } /** * Returns whether the task has expired. * * @return whether the task has expired */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
int chunkCount = 50; SrvCopychunk[] chunks = new SrvCopychunk[chunkCount]; for (int i = 0; i < chunkCount; i++) { chunks[i] = new SrvCopychunk(i * 1000L, i * 2000L, i * 100); } SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunks); byte[] buffer = new byte[HEADER_SIZE + (chunkCount * CHUNK_SIZE)]; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
Mode: 0, Metadata: nil, Parts: nil, Erasure: ErasureInfo{ Algorithm: ReedSolomon.String(), DataBlocks: 4, ParityBlocks: 2, BlockSize: 10000, Index: 1, Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8}, Checksums: []ChecksumInfo{{ PartNumber: 1, Algorithm: HighwayHash256S, Hash: nil, }}, },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.1K bytes - Viewed (0)