- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 607 for decode (0.03 sec)
-
cmd/erasure-server-pool-rebalance_gen_test.go
v := rebalanceInfo{} 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) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 11K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java
public long getFree() { return this.free * this.sectPerAlloc * this.bytesPerSect; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; bufferIndex += 4; // skip idFileSystem
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
@DisplayName("fromUNIBytes should decode UTF-16LE bytes to string") void testFromUNIBytes() { // Given byte[] bytes = TEST_STRING.getBytes(StandardCharsets.UTF_16LE); // When String result = Strings.fromUNIBytes(bytes, 0, bytes.length); // Then assertEquals(TEST_STRING, result, "Should decode back to original string"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java
* @return the resumeKey */ public byte[] getResumeKey() { return this.resumeKey; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; if (len < 24) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded); } private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) { assertThat(encoding.canDecode(encoded)).isTrue(); assertThat(encoding.decode(encoded)).isEqualTo(decoded.getBytes(UTF_8)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.4K bytes - Viewed (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; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#decode(byte[], int) */ @Override public int decode(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { final int len = super.decode(buffer, bufferIndex); if (this.byteCount == 0) { // otherwise hasMore may not be correctly set
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
byte[] bytes = new byte[string.length() / 2]; for (int i = 0; i < string.length(); i += 2) { int ch1 = decode(string.charAt(i)) << 4; int ch2 = decode(string.charAt(i + 1)); bytes[i / 2] = (byte) (ch1 + ch2); } return fromBytesNoCopy(bytes); } private static int decode(char ch) { if (ch >= '0' && ch <= '9') { return ch - '0'; } if (ch >= 'a' && ch <= 'f') {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
} @Override protected void decodeWitnessParameters(NdrBuffer buf) throws NdrException { // Decode output parameters for WitnessAsyncNotify // Response buffer size int responseLength = buf.dec_ndr_long(); if (responseLength > 0) { // Decode notification array int notificationCount = buf.dec_ndr_long();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0)