- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 599 for decodeTo (0.23 seconds)
-
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
return dstIndex - start; } /** * Decode a transform header from byte array * * @param buffer * buffer to decode from * @param bufferIndex * offset in buffer * @return new transform header instance */ public static Smb2TransformHeader decode(final byte[] buffer, int bufferIndex) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.1K bytes - Click Count (0) -
cmd/erasure-server-pool-rebalance_gen_test.go
var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecoderebalanceInfo Msgsize() is inaccurate") } vn := rebalanceInfo{} 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) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
int encodedSize = context.encode(buffer, 0); // Create new context for decoding CompressionNegotiateContext decodedContext = new CompressionNegotiateContext(); int decodedSize = decodedContext.decode(buffer, 0, encodedSize); assertEquals(encodedSize, decodedSize); assertArrayEquals(context.getCompressionAlgorithms(), decodedContext.getCompressionAlgorithms());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
// Test encode int encodeLength = transaction.encode(buffer, 0); assertTrue(encodeLength > 0); // Test decode - should not throw exception assertDoesNotThrow(() -> { transaction.decode(buffer, 0); }); } @Test @DisplayName("Test configuration usage") void testConfigurationUsage() { // Verify configuration is usedCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
/** * Create a new durable handle V2 response */ public DurableHandleV2Response() { // Will be populated during decode } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { if (len != 8) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0) -
docs/en/docs/_llm-test.md
* the cloud service * the development * the development stages * the dict * the dictionary * the enumeration * the enum * the enum member * the encoder * the decoder * to encode * to decode * the exception * to raise * the expression * the statement * the frontend * the backend * the GitHub discussion * the GitHub issue * the performance
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 14:48:47 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// otherwise try to presize a StringBuilder // it is kind of lame that we need to construct a decoder to access this value. // if this is a concern we could add special cases for some known charsets (like utf8) // or we could avoid inputstreamreader and use the decoder api directly // TODO(lukes): in a real implementation we would need to handle overflow conditionsCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
cmd/bucket-stats_gen_test.go
msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBucketReplicationStat Msgsize() is inaccurate") } vn := BucketReplicationStat{} 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) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
this.unlocks[i] = createLockRange(); bufferIndex += this.unlocks[i].decode(buffer, bufferIndex, buffer.length); } for (int i = 0; i < this.locks.length; i++) { this.locks[i] = createLockRange(); bufferIndex += this.locks[i].decode(buffer, bufferIndex, buffer.length); } return start - bufferIndex; } /**
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += UnsignedLongs.decode(decimalStrings[j]); } return tmp; } @Benchmark long parseDecode16(int reps) { long tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += UnsignedLongs.decode(prefixedHexStrings[j]); } return tmp; } @Benchmark
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.4K bytes - Click Count (0)