- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 724 for xBytes (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertEquals(0x40, Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER); assertEquals(0x80, Smb2TreeConnectResponse.SMB2_SHARE_CAP_ASYMMETRIC); } @Test @DisplayName("Should write empty bytes to wire format") void testWriteBytesWireFormat() { // Given byte[] buffer = new byte[256]; int offset = 10; // When
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
guava/src/com/google/common/io/CharStreams.java
* * @author Chris Nokleberg * @author Bin Zhu * @author Colin Decker * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class CharStreams { // 2K chars (4K bytes) private static final int DEFAULT_BUF_SIZE = 0x800; /** Creates a new {@code CharBuffer} for buffering reads or writes. */ static CharBuffer createBuffer() { return CharBuffer.allocate(DEFAULT_BUF_SIZE); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 13:56:24 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java
import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** Returns a random portion of the requested bytes on each call. */ @NullUnmarked class RandomAmountInputStream extends FilterInputStream { private final Random random; public RandomAmountInputStream(InputStream in, Random random) { super(checkNotNull(in));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0) -
src/bytes/iter_test.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bytes_test import ( . "bytes" "testing" ) func BenchmarkSplitSeqEmptySeparator(b *testing.B) { for range b.N { for range SplitSeq(benchInputHard, nil) { } } } func BenchmarkSplitSeqSingleByteSeparator(b *testing.B) { sep := []byte("/")
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue May 06 02:08:23 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
rpc.unicode_string dummyRus = new rpc.unicode_string(); dummyRus.buffer = new short[] { 'T', 'e', 's', 't', 'i', 'n', 'g' }; dummyRus.length = 14; // 7 characters * 2 bytes/char dummyRus.maximum_length = 14; UnicodeString manualUnicodeString = new UnicodeString(dummyRus, false);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
setMechanismToken(mechanismToken); setMechanismListMIC(mechanismListMIC); } /** * Constructs a NegTokenInit by parsing the provided token bytes * @param token the SPNEGO token bytes to parse * @throws IOException if parsing fails */ public NegTokenInit(final byte[] token) throws IOException { parse(token); } /**
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
docs/zh/docs/tutorial/request-forms-and-files.md
## 定义 `File` 与 `Form` 参数 创建文件和表单参数的方式与 `Body` 和 `Query` 一样: {* ../../docs_src/request_forms_and_files/tutorial001.py hl[8] *} 文件和表单字段作为表单数据上传与接收。 声明文件可以使用 `bytes` 或 `UploadFile` 。 /// warning | 警告 可在一个*路径操作*中声明多个 `File` 与 `Form` 参数,但不能同时声明要接收 JSON 的 `Body` 字段。因为此时请求体的编码为 `multipart/form-data`,不是 `application/json`。 这不是 **FastAPI** 的问题,而是 HTTP 协议的规定。 /// ## 小结Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 1.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.9K bytes - Click Count (0) -
docs/de/docs/advanced/security/http-basic-auth.md
`secrets.compare_digest()` benötigt `bytes` oder einen `str`, welcher nur ASCII-Zeichen (solche der englischen Sprache) enthalten darf, das bedeutet, dass es nicht mit Zeichen wie `á`, wie in `Sebastián`, funktionieren würde. Um dies zu lösen, konvertieren wir zunächst den `username` und das `password` in UTF-8-codierte `bytes`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 6.2K bytes - Click Count (0) -
docs/es/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002_py39.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Toma algún texto o bytes y devuelve un response HTML, como leíste arriba. ### `PlainTextResponse` { #plaintextresponse } Toma algún texto o bytes y devuelve un response de texto plano. {* ../../docs_src/custom_response/tutorial005_py39.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.2K bytes - Click Count (0)