- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 944 for nBytes (0.1 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt
assertFailsWith<IndexOutOfBoundsException> { operator.write(0, buffer, 4L) } } private fun randomByteString(byteCount: Int): ByteString { val bytes = ByteArray(byteCount) Random(0).nextBytes(bytes) return ByteString.of(*bytes) } private fun snapshot(): ByteString { randomAccessFile!!.getChannel().force(false) val source = file!!.source().buffer()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt
var length: Long = -1L, val bytes: ByteString, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + tagClass result = 31 * result + tag.toInt() result = 31 * result + (if (constructed) 0 else 1) result = 31 * result + length.toInt() result = 31 * result + bytes.hashCode() return result }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
+ (lmResponseBytes == null ? "null" : "<" + lmResponseBytes.length + " bytes>") + ",ntResponse=" + (ntResponseBytes == null ? "null" : "<" + ntResponseBytes.length + " bytes>") + ",sessionKey=" + (sessionKeyBytes == null ? "null" : "<" + sessionKeyBytes.length + " bytes>") + ",flags=0x" + jcifs.util.Hexdump.toHexString(getFlags(), 8) + "]"; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
cmd/metrics.go
"Total number of internode bytes received by current MinIO server instance", nil, nil), prometheus.CounterValue, float64(connStats.internodeInputBytes), ) // Network Sent/Received Bytes (Outbound) ch <- prometheus.MustNewConstMetric( prometheus.NewDesc( prometheus.BuildFQName(s3Namespace, "tx", "bytes_total"), "Total number of s3 bytes sent by current MinIO server instance", nil, nil),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
* * @param buffer the buffer to read into * @param remoteAddress remote memory address * @param remoteKey remote access key * @param length number of bytes to read * @return number of bytes read * @throws IOException if operation fails */ public int rdmaRead(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException { if (!isRdmaConnected()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
// Test Unicode string encoding String msg = "\u00A1\u00A2"; // two Unicode characters byte[] encoded = encodeUnicode(msg); assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes"); // Verify little-endian encoding assertEquals((byte) 0xA1, encoded[0], "First byte of first character"); assertEquals((byte) 0x00, encoded[1], "Second byte of first character");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
byte[] original = buffer.clone(); // Act int written = resp.writeBytesWireFormat(buffer, index); // Assert assertEquals(0, written, "Should report 0 bytes written"); assertArrayEquals(original, buffer, "Buffer must remain unchanged"); } @Test @DisplayName("Handles null destination without throwing and returns 0")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
cmd/data-usage_test.go
if err != nil { t.Fatal(err) } e := want.find("abucket/dir2") want.replace("abucket/dir2", "", *e) var buf bytes.Buffer err = want.serializeTo(&buf) if err != nil { t.Fatal(err) } t.Log("serialized size:", buf.Len(), "bytes") var got dataUsageCache err = got.deserialize(&buf) if err != nil { t.Fatal(err) } if got.Info.LastUpdate.IsZero() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/request-files.md
파일들은 "폼 데이터"의 형태로 업로드 됩니다. *경로 작동 함수*의 매개변수를 `bytes` 로 선언하는 경우 **FastAPI**는 파일을 읽고 `bytes` 형태의 내용을 전달합니다. 이것은 전체 내용이 메모리에 저장된다는 것을 의미한다는 걸 염두하기 바랍니다. 이는 작은 크기의 파일들에 적합합니다. 어떤 경우에는 `UploadFile` 을 사용하는 것이 더 유리합니다. ## `File` 매개변수와 `UploadFile` `File` 매개변수를 `UploadFile` 타입으로 정의합니다: {* ../../docs_src/request_files/tutorial001.py hl[12] *} `UploadFile` 을 사용하는 것은 `bytes` 과 비교해 다음과 같은 장점이 있습니다: * "스풀 파일"을 사용합니다.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java
*/ public SrvCopyChunkCopyResponse() { } private int chunksWritten; private int chunkBytesWritten; private int totalBytesWritten; /** * Gets the number of bytes written in the last chunk * @return the chunkBytesWritten */ public int getChunkBytesWritten() { return this.chunkBytesWritten; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)