- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 723 for IBytes (0.04 sec)
-
internal/hash/checksum_test.go
if chksm == nil { t.Fatal("NewChecksumFromData returned nil") } // Serialize the checksum to bytes b := chksm.AppendTo(nil, nil) if b == nil { t.Fatal("AppendTo returned nil") } // Deserialize the checksum from bytes chksmOut := ChecksumFromBytes(b) if chksmOut == nil { t.Fatal("ChecksumFromBytes returned nil") }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 7.1K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.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 openid import ( "bytes" "encoding/base64" "encoding/json" "fmt" "io" "net/http" "net/http/httptest" "net/url" "sync" "testing" "time" jwtgo "github.com/golang-jwt/jwt/v4"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
} // Check for null bytes if (NULL_BYTE.matcher(path).find()) { log.warn("Path contains null bytes: {}", sanitizeForLog(path)); throw new SmbException("Path contains null bytes"); } // Check for control characters if (strictMode && CONTROL_CHARS.matcher(path).find()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (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); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (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));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (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("/")
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue May 06 02:08:23 UTC 2025 - 1.1K bytes - Viewed (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);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (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); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (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 协议的规定。 /// ## 小结Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.1K bytes - Viewed (0)