- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 1,167 for BytesX (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/bucket-handlers_test.go
} if !bytes.Equal(testCase.locationResponse, rec.Body.Bytes()) && testCase.shouldPass { t.Errorf("Test %d: %s: Expected the response to be `%s`, but instead found `%s`", i+1, instanceType, string(testCase.locationResponse), rec.Body.String()) } errorResponse := APIErrorResponse{} err = xml.Unmarshal(rec.Body.Bytes(), &errorResponse) if err != nil && !testCase.shouldPass {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 39.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
static <T> T reserialize(T object) { checkNotNull(object); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/Platform.java
static <T> T reserialize(T object) { checkNotNull(object); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; import jcifs.internal.util.SMBUtil; public class AvTimestampTest { /** * Test constructor with raw bytes. */ @Test public void testConstructorWithRawBytes() { byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestampCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.8K bytes - Click Count (0) -
docs/fr/docs/tutorial/request-files.md
/// Les fichiers seront téléversés en « données de formulaire ». Si vous déclarez le type de votre paramètre de *fonction de chemin d'accès* comme `bytes`, **FastAPI** lira le fichier pour vous et vous recevrez le contenu sous forme de `bytes`. Gardez à l'esprit que cela signifie que tout le contenu sera stocké en mémoire. Cela fonctionnera bien pour de petits fichiers.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
int start = bufferIndex; if (len < 32) { throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len); } // Read lease V1 data (32 bytes) byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.8K bytes - Click Count (0) -
mockwebserver-junit5/README.md
``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0") ``` Annotate fields in test classes with `@StartStop`. The server will be started and shut down automatically. ``` class MyTest { @StartStop public final MockWebServer server = new MockWebServer(); @Test void test() { ... } } ``` Requirements ------------Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 665 bytes - Click Count (0) -
internal/grid/msg_gen.go
if err != nil { err = msgp.WrapError(err) return } (*z) = Flags(zb0001) } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z Flags) Msgsize() (s int) { s = msgp.Uint8Size return } // DecodeMsg implements msgp.Decodable func (z *HandlerID) DecodeMsg(dc *msgp.Reader) (err error) { {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 22.4K bytes - Click Count (0) -
docs/en/docs/advanced/stream-data.md
This also means that with `StreamingResponse` you have the **freedom** and **responsibility** to produce and encode the data bytes exactly as you need them to be sent, independent of the type annotations. 🤓 ### Stream Bytes { #stream-bytes } One of the main use cases would be to stream `bytes` instead of strings, you can of course do it. {* ../../docs_src/stream_data/tutorial001_py310.py ln[44:47] hl[47] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoRequest.java
/** * Get the size of this request (always 0) * * @return size in bytes */ public int size() { return 0; } /** * Encode this request (no-op since there's no data) * * @param dst destination buffer * @param dstIndex starting offset * @return number of bytes written (always 0) */ public int encode(byte[] dst, int dstIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 1.6K bytes - Click Count (0)