- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,043 for sizes (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public static void hashtableTestHelper(ImmutableList<Integer> sizes) { for (int size : sizes) { Builder<Integer, Integer> builder = ImmutableMap.builderWithExpectedSize(size); for (int i = 0; i < size; i++) { Integer integer = i; builder.put(integer, integer); } ImmutableMap<Integer, Integer> map = builder.build(); assertEquals(size, map.size()); int entries = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
assertTrue((endTime - startTime) < 1_000_000); } @ParameterizedTest @ValueSource(ints = { 24, 32, 100, 1000, 10000 }) @DisplayName("Should handle various buffer sizes correctly") void testVariousBufferSizes(int bufferSize) throws SMBProtocolDecodingException { byte[] buffer = new byte[bufferSize]; FileFsSizeInformation info = new FileFsSizeInformation();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
README.md
```java // Increase timeout values client.setConnectionTimeout(60000); // 60 seconds client.setSocketTimeout(120000); // 120 seconds ``` #### Memory Issues ```java // Reduce concurrent threads and batch sizes crawler.crawlerContext.setNumOfThread(5); crawler.crawlerContext.setMaxAccessCount(1000); ``` #### SSL/TLS Issues ```java // Configure SSL settings
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// When int size = req.size(); // Then int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24; int alignedSize = (expectedSize + 7) & ~7; // size8 alignment assertEquals(alignedSize, size); } @Test @DisplayName("Should write correct bytes to wire format with session binding") void testWriteBytesWireFormatWithSessionBinding() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/archive/tar/format.go
const ( magicGNU, versionGNU = "ustar ", " \x00" magicUSTAR, versionUSTAR = "ustar\x00", "00" trailerSTAR = "tar\x00" ) // Size constants from various tar specifications. const ( blockSize = 512 // Size of each block in a tar stream nameSize = 100 // Max length of the name field in USTAR format prefixSize = 155 // Max length of the prefix field in USTAR format
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
cmd/metrics.go
// Total space used by bucket ch <- prometheus.MustNewConstMetric( prometheus.NewDesc( prometheus.BuildFQName(bucketNamespace, "usage", "size"), "Total bucket size", []string{"bucket"}, nil), prometheus.GaugeValue, float64(usageInfo.Size), bucket, ) ch <- prometheus.MustNewConstMetric( prometheus.NewDesc( prometheus.BuildFQName(bucketNamespace, "objects", "count"),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
api/go1.9.txt
pkg encoding/csv, type Reader struct, ReuseRecord bool pkg encoding/json, func Valid([]uint8) bool pkg go/ast, type TypeSpec struct, Assign token.Pos pkg go/types, func SizesFor(string, string) Sizes pkg go/types, method (*TypeName) IsAlias() bool pkg hash/fnv, func New128() hash.Hash pkg hash/fnv, func New128a() hash.Hash pkg html/template, const ErrPredefinedEscaper = 11
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Oct 04 20:20:20 UTC 2021 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
this.maxReadSize = SMBUtil.readInt4(buffer, bufferIndex + 4); this.maxWriteSize = SMBUtil.readInt4(buffer, bufferIndex + 8); // Validate reasonable buffer sizes to prevent resource exhaustion if (this.maxTransactSize < 0 || this.maxTransactSize > 16777216) { // 16MB max
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
@Test @DisplayName("Test readBytesWireFormat with valid structure size") void testReadBytesWireFormatValidStructureSize() throws Exception { response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO); byte[] buffer = new byte[512]; int bufferIndex = 0; // Set structure size to 9 (valid) SMBUtil.writeInt2(9, buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
// Configuration is accessed during initialization // Verify at least that getPid() and getTransactionBufferSize() were called } @DisplayName("Test FileInformation encode returning different sizes") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 1000 }) void testFileInformationEncodeDifferentSizes(int encodeSize) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0)