- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 954 for buffer3 (3.29 sec)
-
src/main/java/jcifs/Decodable.java
/** * Interface for objects that can be decoded from a byte buffer. * This interface provides methods for deserializing data from SMB protocol messages. * * @author mbechler */ public interface Decodable { /** * Decode data from a byte buffer * * @param buffer the byte buffer containing the data to decode * @param bufferIndex the starting index in the buffer * @param len the maximum length of data to decode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
int bytesDecoded = buffer.decode(testBuffer, 0, testBuffer.length); assertEquals(8, bytesDecoded); assertEquals(0, buffer.getPathConsumed()); assertEquals(0, buffer.getNumReferrals()); assertEquals(0, buffer.getTflags()); assertNotNull(buffer.getReferrals()); assertEquals(0, buffer.getReferrals().length); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertEquals(2, buffer[0]); // cipher count (little endian) assertEquals(0, buffer[1]); assertEquals(1, buffer[2]); // AES128_CCM (little endian) assertEquals(0, buffer[3]); assertEquals(2, buffer[4]); // AES128_GCM (little endian) assertEquals(0, buffer[5]); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
buffer[i] = b; if (i == BLOCK_LENGTH - 1) { transform(buffer, 0); } } /** * MD4 block update operation. * <p> * Continues an MD4 message digest operation, by filling the buffer, * transform(ing) data in 512-bit message block(s), updating the variables * context and count, and leaving (buffering) the remaining bytes in buffer * for the next update or finish.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
byte[] buffer = { 0x00, 0x00, // status = 0 (Success) 0x12, 0x34, // converter = 0x3412 0x02, 0x00, // numEntries = 2 0x05, 0x00 // totalAvailableEntries = 5 }; int bytesRead = response.readParametersWireFormat(buffer, 0, buffer.length); assertEquals(8, bytesRead, "Should read 8 bytes for parameters.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt
package okhttp3.logging.internal import java.io.EOFException import okio.Buffer /** * Returns true if the body in question probably contains human readable text. Uses a small * sample of code points to detect unicode control characters commonly used in binary file * signatures. */ fun Buffer.isProbablyUtf8(): Boolean { try { val prefix = Buffer() val byteCount = size.coerceAtMost(64) copyTo(prefix, 0, byteCount)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/bucket-replication-metrics_gen_test.go
v := ActiveWorkerStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeActiveWorkerStat(b *testing.B) { v := ActiveWorkerStat{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len()))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// Should read nothing (returns 0) assertEquals(0, read); } @Test void testReadDataWireFormat() { trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL); byte[] buffer = new byte[256]; int read = trans2QueryPathInfo.readDataWireFormat(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
try { return channel.read(buffer); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads the contents of the file channel into a byte buffer. * * @param channel * The file channel. Must not be {@literal null}. * @param buffer
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
cmd/bucket-replication-utils_gen_test.go
v := BucketReplicationResyncStatus{} var buf bytes.Buffer msgp.Encode(&buf, &v) b.SetBytes(int64(buf.Len())) en := msgp.NewWriter(msgp.Nowhere) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.EncodeMsg(en) } en.Flush() } func BenchmarkDecodeBucketReplicationResyncStatus(b *testing.B) { v := BucketReplicationResyncStatus{} var buf bytes.Buffer msgp.Encode(&buf, &v)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Aug 22 23:53:06 UTC 2022 - 23K bytes - Viewed (0)