- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,129 for dsbyte (0.05 sec)
-
src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
} @Test public void testBufferTooSmall() throws Exception { byte[] buffer = new byte[50]; assertThrows(SmbException.class, () -> { validator.validateBuffer(buffer, 100, 1024); }); } @Test public void testBufferTooLarge() throws Exception { byte[] buffer = new byte[2048]; assertThrows(SmbException.class, () -> {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
@Test @DisplayName("Should decode buffer with no referrals") void testDecodeNoReferrals() { // Prepare test data: pathConsumed=0, numReferrals=0, tflags=0 byte[] testBuffer = new byte[8]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 0); // pathConsumed (will be divided by 2) bb.putShort((short) 0); // numReferralsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
cmd/last-minute_gen.go
// string "N" o = append(o, 0xa1, 0x4e) o = msgp.AppendInt64(o, z.N) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *AccElem) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001--
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Jul 05 21:45:49 UTC 2022 - 17.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
this.maxSetupCount = 0; } @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Test reading parameters from a properly formatted buffer byte[] buffer = new byte[20]; // Set up the buffer with test data // sid (2 bytes) buffer[0] = 0x01; buffer[1] = 0x00; // numEntries (2 bytes) buffer[2] = 0x05; buffer[3] = 0x00; // isEndOfSearch (2 bytes, bit 0 of first byte) buffer[4] = 0x01; // end of search = true buffer[5] = 0x00;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
} @Override public byte[] calculateMIC(final byte[] data) throws CIFSException { if (!this.completed) { throw new CIFSException("Context is not established"); } return this.mechContext.calculateMIC(data); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#verifyMIC(byte[], byte[]) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
@Test @DisplayName("findTermination should find null termination in single-byte encoding") void testFindTermination() { // Given String testString = "Hello"; byte[] stringBytes = testString.getBytes(StandardCharsets.UTF_8); byte[] bufferWithTermination = new byte[stringBytes.length + 1]; // +1 for null terminationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/bytes/iter_test.go
for range SplitSeq(benchInputHard, nil) { } } } func BenchmarkSplitSeqSingleByteSeparator(b *testing.B) { sep := []byte("/") for range b.N { for range SplitSeq(benchInputHard, sep) { } } } func BenchmarkSplitSeqMultiByteSeparator(b *testing.B) { sep := []byte("hello") for range b.N { for range SplitSeq(benchInputHard, sep) { } } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 02:08:23 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
index += SmbConstants.SIGNATURE_OFFSET; final byte[] sequence = new byte[8]; SMBUtil.writeInt4(msg.getSignSeq(), sequence, 0); update(sequence, 0, sequence.length); index += 8; if (msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX) { /* * SmbComReadAndXResponse reads directly from the stream into separate byte[] b. */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0)