- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 3,240 for size (0.03 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
assertThat(expected.message).isEqualTo( "Payload size must be less than or equal to 125", ) } } private fun assertData(hex: String) { assertData(hex.decodeHex()) } private fun assertData(expected: ByteString) { val actual = data.readByteString(Math.min(expected.size.toLong(), data.size)) assertThat(actual).isEqualTo(expected) } companion object {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 9.3K bytes - Click Count (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)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 41.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
throw new IOException("transport closed in negotiate"); } final int size = Encdec.dec_uint16be(sbuf, 2) & 0xFFFF; if (size < 33 || 4 + size > sbuf.length) { throw new IOException("Invalid payload size: " + size); } readn(in, sbuf, 4 + 32, size - 32); resp.decode(sbuf, 4); if (LogStream.level >= 4) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
cmd/storage-datatypes.go
// //msgp:tuple FileInfo type FilesInfo struct { Files []FileInfo IsTruncated bool } // Size returns size of all versions for the object 'Name' func (f FileInfoVersions) Size() (size int64) { for _, v := range f.Versions { size += v.Size } return size } // FileInfoVersions represent a list of versions for a given file.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.4K bytes - Click Count (0) -
internal/bucket/lifecycle/rule_test.go
<Status>OK</Status> </Rule>`, expectedErr: errInvalidRuleStatus, }, { // Rule with negative values for ObjectSizeLessThan inputXML: `<Rule> <ID>negative-obj-size-less-than</ID> <Filter><ObjectSizeLessThan>-1</ObjectSizeLessThan></Filter> <Expiration> <Days>365</Days> </Expiration> <Status>Enabled</Status> </Rule>`,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 4.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java
} public static List<String> format(String... lines) { int size = DEFAULT_MAX_SIZE; int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces List<String> result = new ArrayList<>(); StringBuilder sb = new StringBuilder(size); // first line sb.setLength(0); repeat(sb, BOX_CHAR, size); result.add(sb.toString()); // linesCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 2.8K bytes - Click Count (0) -
internal/lru/lru.go
} // Resize changes the cache size. Size of 0 means unlimited. func (c *LRU[K, V]) Resize(size int) (evicted int) { c.mu.Lock() defer c.mu.Unlock() if size <= 0 { c.size = 0 return 0 } diff := c.evictList.Length() - size if diff < 0 { diff = 0 } for i := 0; i < diff; i++ { c.removeOldest() } c.size = size return diff }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(16, bytesRead); // Structure size + reserved (4) + count (4) + remaining (4) + channel info (4) assertEquals(1024, response.getCount()); assertEquals(512, response.getRemaining()); } @Test @DisplayName("Should throw exception for invalid structure size") void testInvalidStructureSize() { byte[] buffer = new byte[64];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumMultiset.java
} } @Override int distinctElements() { return distinctElements; } @Override public int size() { return Ints.saturatedCast(size); } @Override public int count(@Nullable Object element) { // isActuallyE checks for null, but we check explicitly to help nullness checkers.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0)