- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 2,362 for _size (0.03 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
} val bytes = source().use(consumer) val size = sizeMapper(bytes) if (contentLength != -1L && contentLength != size.toLong()) { throw IOException("Content-Length ($contentLength) and stream length ($size) disagree") } return bytes } /** * Returns the response as a character stream. * * If the response starts with aCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multisets.java
* approach fails when a TreeMultiset has a comparator that returns 0 * when passed unequal elements. */ if (multiset.size() != that.size() || multiset.entrySet().size() != that.entrySet().size()) { return false; } for (Entry<?> entry : that.entrySet()) { if (multiset.count(entry.getElement()) != entry.getCount()) { return false;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.RequestWithFileId; import jcifs.internal.util.SMBUtil; @ExtendWith(MockitoExtension.class) class Smb2CreateResponseTest { // SMB2 header size in bytes private static final int SMB2_HEADER_LENGTH = 64; /** * Build a minimal SMB2 header for a response. */ private static byte[] buildSmb2Header() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
cmd/object-api-interface_gen.go
package cmd import ( "github.com/tinylib/msgp/msgp" ) // MarshalMsg implements msgp.Marshaler func (z BucketOptions) MarshalMsg(b []byte) (o []byte, err error) { o = msgp.Require(b, z.Msgsize()) // map header, size 3 // string "Deleted" o = append(o, 0x83, 0xa7, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64) o = msgp.AppendBool(o, z.Deleted) // string "Cached" o = append(o, 0xa6, 0x43, 0x61, 0x63, 0x68, 0x65, 0x64)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 8.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k1(), v0())); Multiset<K> keys = multimap().keys(); assertEquals(2, keys.count(k0())); assertEquals(1, keys.count(k1())); assertEquals(3, keys.size()); assertContainsAllOf(keys, k0(), k1()); assertContainsAllOf( keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1)); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/DuplicateHostPager.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; }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
* * @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() { int size = Smb2Constants.SMB2_HEADER_LENGTH + 36 + size8(2 * this.dialects.length, 4); if (this.negotiateContexts != null) { for (final NegotiateContextRequest ncr : this.negotiateContexts) { size += 8 + size8(ncr.size()); } } return size8(size);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
} @Override public void addRule(int index, Rule rule) { if (rule != null) { if (index < 0 || index > rules.size()) { throw new IndexOutOfBoundsException("Index: " + index + ", Size: " + rules.size()); } rules.add(index, rule); } } @Override public boolean removeRule(Rule rule) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 23.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
@Test @DisplayName("Should calculate correct message size with token") void testSizeWithToken() { // Given byte[] token = new byte[100]; Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, token); // When int size = req.size(); // ThenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
} /** * Rounds up the size to 8-byte alignment. * * @param size the size to align * @return the aligned size */ protected static final int size8(final int size) { return size8(size, 0); } /** * Rounds up the size to the specified alignment. * * @param size the size to align * @param align the alignment boundaryCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0)