- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 538 for decoded (0.07 sec)
-
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
SMBUtil.writeInt2(0, buffer, SmbConstants.SMB1_HEADER_LENGTH + 1); assertThrows(SMBProtocolDecodingException.class, () -> { testBlock.decode(buffer, 0); }); } @Test @DisplayName("Test decode with retain payload") void testDecodeWithRetainPayload() throws SMBProtocolDecodingException { testBlock.retainPayload();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} @Test @DisplayName("Should decode sync message correctly") void testDecodeSync() throws SMBProtocolDecodingException { byte[] buffer = createValidSyncMessage(); testMessage.setBytesRead(10); int len = testMessage.decode(buffer, 0); assertTrue(len > 0); assertFalse(testMessage.isAsync());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
cmd/batch-job-common-types.go
// UnmarshalYAML - BatchJobKV extends default unmarshal to extract line, col information. func (kv *BatchJobKV) UnmarshalYAML(val *yaml.Node) error { type jobKV BatchJobKV var tmp jobKV err := val.Decode(&tmp) if err != nil { return err } *kv = BatchJobKV(tmp) kv.line, kv.col = val.Line, val.Column return nil } // Validate returns an error if key is empty func (kv BatchJobKV) Validate() error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
.thenReturn(0); // cancel count message.decode(mockBuffer); assertEquals(DcerpcConstants.RPC_PT_RESPONSE, message.ptype); assertEquals(100, message.alloc_hint); } @Test @DisplayName("decode should handle FAULT ptype correctly") void testDecodeFaultPtype() throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
assertNull(response.getInfo()); } @Test void testReadDataWireFormat_EmptyBuffer() throws Exception { // Test with empty dataCount but decode still processes buffer // Note: SmbInfoAllocation.decode() doesn't check len parameter, always reads 20 bytes response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt
* limitations under the License. */ package okhttp3.internal.http2 import assertk.assertThat import assertk.assertions.isEqualTo import java.util.Random import okhttp3.internal.http2.Huffman.decode import okhttp3.internal.http2.Huffman.encode import okhttp3.internal.http2.Huffman.encodedLength import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/bucket-replication-metrics_gen_test.go
var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeActiveWorkerStat Msgsize() is inaccurate") } vn := ActiveWorkerStat{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 17.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
/** * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and * some symbolic names meaningful to humans. */ private static int decode(String userFriendly) { try { return Integer.decode(userFriendly); } catch (NumberFormatException ignored) { if (userFriendly.matches("(?i)(?:American|English|ASCII)")) { // 1-byte UTF-8 sequences - "American" ASCII text
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.3K bytes - Viewed (0) -
cmd/bucket-replication-utils_gen_test.go
msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBucketReplicationResyncStatus Msgsize() is inaccurate") } vn := BucketReplicationResyncStatus{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Aug 22 23:53:06 UTC 2022 - 23K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
_dst = _dst.derive(_nodei); for (int _i = 0; _i < _nodes; _i++) { _dst.enc_ndr_small(node[_i]); } } @Override public void decode(NdrBuffer _src) throws NdrException { _src.align(4); time_low = _src.dec_ndr_long(); time_mid = (short) _src.dec_ndr_short(); time_hi_and_version = (short) _src.dec_ndr_short();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0)