- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 279 for metabytes (0.08 sec)
-
cmd/site-replication-utils_gen_test.go
bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } } func BenchmarkUnmarshalSiteResyncStatus(b *testing.B) { v := SiteResyncStatus{} bts, _ := v.MarshalMsg(nil) b.ReportAllocs() b.SetBytes(int64(len(bts))) b.ResetTimer() for i := 0; i < b.N; i++ {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 14 15:16:40 UTC 2022 - 2.4K bytes - Viewed (0) -
cmd/tier_gen_test.go
bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } } func BenchmarkUnmarshalTierConfigMgr(b *testing.B) { v := TierConfigMgr{} bts, _ := v.MarshalMsg(nil) b.ReportAllocs() b.SetBytes(int64(len(bts))) b.ResetTimer() for i := 0; i < b.N; i++ {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
public void testSomeOtherKnownValues() { assertCrc(0x22620404, "The quick brown fox jumps over the lazy dog".getBytes(UTF_8)); assertCrc(0xE3069283, "123456789".getBytes(UTF_8)); assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8)); assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8)); } public void testAgainstSimplerImplementation() { Random r = new Random(1234567);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
} else { int codePoint = Character.codePointAt(input, i); if (codePoint == c) { // fall back to JDK getBytes instead of trying to handle invalid surrogates ourselves putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset)); return this; } i++; update(4, codePointToFourUtf8Bytes(codePoint)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
String fileName2 = "file2.txt"; String fileName3 = "file3.txt"; byte[] fileNameBytes1 = fileName1.getBytes("UTF-16LE"); byte[] fileNameBytes2 = fileName2.getBytes("UTF-16LE"); byte[] fileNameBytes3 = fileName3.getBytes("UTF-16LE"); // First entry size: 4 (nextOffset) + 4 (action) + 4 (nameLength) + nameBytes int entry1Size = 12 + fileNameBytes1.length;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
return buckets.stream().map(e -> { final Map<String, Object> map = new HashMap<>(); map.put(ID, Base64.getUrlEncoder().encodeToString(e.getKeyAsString().getBytes(StandardCharsets.UTF_8))); map.put(KEY, e.getKeyAsString()); map.put(COUNT, e.getDocCount()); return map; }).collect(Collectors.toList());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Encode the full message to set headerStart request.encode(buffer, headerStart); // Then - verify the body was written correctly byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE); // Verify structure size (9) assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset)); // Verify tree flags (0)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertEquals(0, dst[1]); // Verify descriptor (WrLehDO\0B16BBDz\0 in ASCII) String expectedDescr = "WrLehDO\u0000B16BBDz\u0000"; byte[] expectedDescrBytes = expectedDescr.getBytes("ASCII"); byte[] actualDescrBytes = new byte[expectedDescrBytes.length]; System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length); assertArrayEquals(expectedDescrBytes, actualDescrBytes);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
} @Test public void testBodyInputStreamMethod() { CurlRequest request = new CurlRequest(Method.POST, "https://example.com"); InputStream stream = new ByteArrayInputStream("test data".getBytes()); CurlRequest result = request.body(stream); assertSame(request, result); // Fluent API assertNull(request.body()); // body() returns String body, not stream } @Test
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
} else { int codePoint = Character.codePointAt(input, i); if (codePoint == c) { // fall back to JDK getBytes instead of trying to handle invalid surrogates ourselves putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset)); return this; } i++; update(4, codePointToFourUtf8Bytes(codePoint)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0)