- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,195 for size (0.03 sec)
-
src/archive/zip/reader_test.go
t.Errorf("%v", err) return } // For very large files, just check that the size is correct. // The content is expected to be all zeros. // Don't bother uncompressing: too big. if ft.Content == nil && ft.File == "" && ft.Size > 0 { if size != ft.Size { t.Errorf("%v: uncompressed size %#x, want %#x", ft.Name, size, ft.Size) } r.Close() return } var b bytes.Buffer
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
assertEquals(expectedSize, multimap.size()); int size = 0; for (Entry<K, V> entry : multimap.entries()) { assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue())); size++; } assertEquals(expectedSize, size); int size2 = 0; for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) { size2 += entry2.getValue().size(); } assertEquals(expectedSize, size2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
return channel.map(mode, 0, channel.size()); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Returns the size of the file. * * @param channel * The file channel. Must not be {@literal null}. * @return The size of the file. */ public static long size(final FileChannel channel) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/DataConfigPager.java
this.existNextPage = existNextPage; } /** * Gets the number of records to display per page. * If the page size is not set or is invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); } return pageSize; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java
/** * Default maximum receive size (8KB) */ public static final int DEFAULT_MAX_RECEIVE_SIZE = 8192; /** * Default maximum fragmented size (128KB) */ public static final int DEFAULT_MAX_FRAGMENTED_SIZE = 131072; // 128KB /** * Default maximum read/write size (1MB) */ public static final int DEFAULT_MAX_READ_WRITE_SIZE = 1048576; // 1MBRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 2K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
// EncodeMsg implements msgp.Encodable func (z *StatInfo) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 5 // write "Size" err = en.Append(0x85, 0xa4, 0x53, 0x69, 0x7a, 0x65) if err != nil { return } err = en.WriteInt64(z.Size) if err != nil { err = msgp.WrapError(err, "Size") return } // write "ModTime" err = en.Append(0xa7, 0x4d, 0x6f, 0x64, 0x54, 0x69, 0x6d, 0x65)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Dec 15 22:50:12 UTC 2024 - 41.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
response = new Smb2NegotiateResponse(mockConfig); } /** * Test that malformed structure size is properly rejected. */ @Test public void testMalformedStructureSize() { byte[] malformedBuffer = createBasicNegotiateResponseBuffer(); // Set incorrect structure size (should be 65) SMBUtil.writeInt2(64, malformedBuffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
assertEquals(0, bytesRead); } @Test @DisplayName("Test size calculation with different buffer sizes") void testSizeCalculationWithDifferentBufferSizes() { // Test with smaller maximum buffer size when(mockConfig.getMaximumBufferSize()).thenReturn(8192); when(mockConfig.getListSize()).thenReturn(16384);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/archive/tar/reader.go
if name := hdr.PAXRecords[paxGNUSparseName]; name != "" { hdr.Name = name } size := hdr.PAXRecords[paxGNUSparseSize] if size == "" { size = hdr.PAXRecords[paxGNUSparseRealSize] } if size != "" { n, err := strconv.ParseInt(size, 10, 64) if err != nil { return nil, ErrHeader } hdr.Size = n } // Read the sparse map according to the appropriate format. if is1x0 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java
final int from; final int size; if (cb.isFetchScopeEffective()) { from = cb.getPageStartIndex(); size = cb.getFetchSize(); } else { from = 0; size = 10; } builder.setFrom(from); builder.setSize(size); final EsAbstractConditionBean esCb = (EsAbstractConditionBean) cb;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0)