- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 400 for dst2 (0.02 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
byte[] dst = new byte[100]; int result = response.writeSetupWireFormat(dst, 10); assertEquals(0, result); } @Test void testWriteParametersWireFormat() { // Test that writeParametersWireFormat returns 0 byte[] dst = new byte[100]; int result = response.writeParametersWireFormat(dst, 20); assertEquals(0, result); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
@Override int writeSetupWireFormat(byte[] dst, int dstIndex) { return 0; } @Override int writeParametersWireFormat(byte[] dst, int dstIndex) { return 0; } @Override int writeDataWireFormat(byte[] dst, int dstIndex) { return 0; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
tests/serializer_test.go
switch value := dbValue.(type) { case []byte: err = field.Set(ctx, dst, bytes.TrimPrefix(value, c.prefix)) case string: err = field.Set(ctx, dst, strings.TrimPrefix(value, string(c.prefix))) default: err = fmt.Errorf("unsupported data %#v", dbValue) } return err } func (c *CustomSerializer) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
ByteArrayOutputStream bos = new ByteArrayOutputStream(); // Create buffer for encoding - initially allocate some space byte[] encodeBuffer = new byte[1024]; NdrBuffer dst = new NdrBuffer(encodeBuffer, 0); info1.encode(dst); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); // Use the encoded buffer for decoding NdrBuffer src = new NdrBuffer(encodeBuffer, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
@Override public int encode(byte[] dst, int dstIndex) { if (this.compressionAlgorithms == null) { return 0; } int start = dstIndex; // Compression count (2 bytes) SMBUtil.writeInt2(this.compressionAlgorithms.length, dst, dstIndex); dstIndex += 2; // Padding (2 bytes) SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
byte[] dst = new byte[10]; // Act int bytesWritten = write.writeBytesWireFormat(dst, 0); // Assert assertEquals(6, bytesWritten, "Should write 6 bytes (1 type + 2 length + 3 data)"); assertEquals(0x01, dst[0], "Data block type"); assertEquals(3, dst[1] & 0xFF, "Data length low byte"); assertEquals(0, dst[2] & 0xFF, "Data length high byte");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusRequest.java
this.isBroadcast = false; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = this.questionName.hexCode; this.questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); this.questionName.hexCode = tmp; return result; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
private void writeInt2(int val, byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dst[dstIndex + 1] = (byte) (val >> 8); } private void writeInt4(int val, byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dst[dstIndex + 1] = (byte) (val >> 8); dst[dstIndex + 2] = (byte) (val >> 16); dst[dstIndex + 3] = (byte) (val >> 24); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)