- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 1,459 for BytesX (0.05 seconds)
-
src/test/java/jcifs/pac/PacUnicodeStringTest.java
* @throws PACDecodingException if the check fails, which is not expected in this test. */ @Test void testCheck_withValidString() throws PACDecodingException { // Corresponds to a string of length 5 (10 bytes for UTF-16) PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100); String testString = "abcde"; // The check method should return the same string instanceCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
docs/bucket/versioning/DESIGN.md
This file is the source of truth for each `version` at rest. `xl.meta` is a msgpack file serialized from a well defined data structure. To understand `xl.meta` here are the few things to start with `xl.meta` carries first 8 bytes an XL header which describes the current format and the format version, allowing the unmarshaller's to automatically use the right data structures to parse the subsequent content in the stream. ### v1.0
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jul 17 15:43:14 GMT 2022 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
byte[] buffer = new byte[1024]; int written = request.writeBytesWireFormat(buffer, 0); // Should write exactly 56 bytes (structure size without data) assertEquals(56, written); // Check structure size (first 2 bytes should be 57) assertEquals(57, (buffer[0] & 0xFF) | ((buffer[1] & 0xFF) << 8)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
void testReadParametersWireFormat() { // Arrange byte[] buffer = new byte[10]; int bufferIndex = 0; int len = 6; // Set up buffer with test data // available = 0x1234 (4660 in decimal) SMBUtil.writeInt2(0x1234, buffer, bufferIndex); // next 2 bytes (ignored in implementation)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/tr/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Yukarıda okuduğunuz gibi, bir miktar text veya bytes alır ve HTML response döndürür. ### `PlainTextResponse` { #plaintextresponse } Bir miktar text veya bytes alır ve düz metin response döndürür. {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 11.9K bytes - Click Count (0) -
docs_src/request_files/tutorial001_an_py310.py
from typing import Annotated from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: Annotated[bytes, File()]): return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: UploadFile):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 322 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
@Throws(IOException::class) fun flushRequest() /** Flush the request to the underlying socket and signal no more bytes will be transmitted. */ @Throws(IOException::class) fun finishRequest() /** * Parses bytes of a response header from an HTTP transport. * * @param expectContinue true to return null if this is an intermediate response with a "100"
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/sts/client-grants.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bytes" "context" "crypto/tls" "encoding/json" "flag" "fmt" "log" "net/http" "net/url" "strings" minio "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 3.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt
accumulator = accumulator or (0xffL ushr accumulatorBitCount) sink.writeByte(accumulator.toInt()) } } fun encodedLength(bytes: ByteString): Int { var bitCount = 0L for (i in 0 until bytes.size) { val byteIn = bytes[i] and 0xff bitCount += CODE_BIT_COUNTS[byteIn].toLong() } return ((bitCount + 7) shr 3).toInt() // Round up to an even byte. }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 11K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
} } companion object { /** Arbitrary code point that's 2 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_2 = 0x1a5 /** Arbitrary code point that's 3 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_3 = 0x2202 /** Arbitrary code point that's 4 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_4 = 0x1d11eCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (0)