- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,135 for encode (0.04 seconds)
-
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 9.3K bytes - Click Count (0) -
cmd/admin-handlers-pools.go
adminLogIf(r.Context(), json.NewEncoder(w).Encode(poolsStatus)) } func (a adminAPIHandlers) RebalanceStart(w http.ResponseWriter, r *http.Request) { ctx := r.Context() objectAPI, _ := validateAdminReq(ctx, w, r, policy.RebalanceAdminAction) if objectAPI == nil { return } // NB rebalance-start admin API is always coordinated from first pool's // first node. The following is required to serialize (the effects of)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
decodingInputs[i] = encoding.encoding.encode(encodingInputs[i]); } } @Benchmark public int encode(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { tmp += System.identityHashCode(encoding.encoding.encode(encodingInputs[i & INPUTS_MASK])); } return tmp; } @Benchmark public int decode(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
* all but the first smb of the chaain do not have a header * and therefore we do not want to writeHeaderWireFormat. We * just recursivly call writeAndXWireFormat. */ @Override int encode(final byte[] dst, int dstIndex) { final int start = headerStart = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); dstIndex += writeAndXWireFormat(dst, dstIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java
*/ public NdrSmall(final int value) { this.value = value & 0xFF; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_small(value); } @Override public void decode(final NdrBuffer src) throws NdrException { value = src.dec_ndr_small(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(expectedLength, ndrBuffer.getIndex()); // Test null string (should encode as 0 length) ndrBuffer.reset(); ndrBuffer.enc_ndr_referent(null, 2); // Use referent to encode null assertEquals(4, ndrBuffer.getIndex()); assertEquals(4, ndrBuffer.getLength()); assertEquals(0, Encdec.dec_uint32le(buffer, 0)); // Should be 0 for null referent } @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/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
// Note: No IPv4 preference bonus to keep base score equal to link speed return score; } /** * Encode this interface info for FSCTL_QUERY_NETWORK_INTERFACE_INFO response * * @return encoded bytes */ public byte[] encode() { // NETWORK_INTERFACE_INFO structure per MS-SMB2 2.2.32.5.1 // Total size: 152 bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
return null; } // Methods from CommonServerMessageBlock interface @Override public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { return 0; } @Override public int encode(byte[] dst, int dstIndex) { return 0; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
transformHeader.setFlags(0x0001); transformHeader.setSessionId(testSessionId); byte[] buffer = new byte[52]; // When int encoded = transformHeader.encode(buffer, 0); // Then assertEquals(52, encoded); // Verify protocol ID (first 4 bytes) - 0xFD534D42 in little-endian assertEquals((byte) 0x42, buffer[0]); assertEquals((byte) 0x4D, buffer[1]);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
docs/zh/docs/advanced/websockets.md
``` /// tip 上面的应用程序是一个最小和简单的示例,用于演示如何处理和向多个 WebSocket 连接广播消息。 但请记住,由于所有内容都在内存中以单个列表的形式处理,因此它只能在进程运行时工作,并且只能使用单个进程。 如果您需要与 FastAPI 集成更简单但更强大的功能,支持 Redis、PostgreSQL 或其他功能,请查看 [encode/broadcaster](https://github.com/encode/broadcaster)。 /// ## 更多信息 { #more-info } 要了解更多选项,请查看 Starlette 的文档: * [`WebSocket` 类](https://www.starlette.dev/websockets/)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.4K bytes - Click Count (0)