- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 961 for dsbyte (0.05 seconds)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
private int dataWireFormatReturn = 0; private byte[] setupBuffer; private byte[] parametersBuffer; private byte[] dataBuffer; public TestSmbComTransaction(Configuration config, byte command, byte subCommand) { super(config, command, subCommand); } @Override protected int writeSetupWireFormat(byte[] dst, int dstIndex) {Created: 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/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
cos.write(new byte[9]); assertTrue(cos.isInMemory()); cos.close(); } @Test public void testWriteWithOffsetAndLength() throws IOException { // Test write(byte[], int, int) method ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); byte[] data = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Wed Nov 12 14:01:04 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
elementVector.add(new DERTaggedObject(0, new ASN1Integer(1))); // authType elementVector.add(new DERTaggedObject(1, new DEROctetString(new byte[] { 0x01, 0x02 }))); // authData authVector.add(new DERSequence(elementVector)); byte[] token = new DERSequence(authVector).getEncoded(); Map<Integer, KerberosKey> keys = new HashMap<>(); // 2. WHEN
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
assertEquals(0, result); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte array byte[] dst = new byte[100]; int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0); // Expected format: buffer format (1 byte) + file name (null-terminated)
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/util/Encdec.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
@Test @DisplayName("Test decode method integration") void testDecodeMethodIntegration() throws Exception { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Prepare SMB2 header (64 bytes) // Protocol ID System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, bufferIndex, 4); // Header length SMBUtil.writeInt2(64, buffer, bufferIndex + 4);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
@Override public byte[] compress(byte[] data, int algorithm) throws CIFSException { if (data == null) { throw new CIFSException("Data cannot be null"); } return compress(data, 0, data.length, algorithm); } @Override public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/BufferCacheImpl.java
* * @see jcifs.BufferCache#getBuffer() */ @Override public byte[] getBuffer() { synchronized (this.cache) { byte[] buf; if (this.freeBuffers > 0) { for (int i = 0; i < this.cache.length; i++) { if (this.cache[i] != null) { buf = (byte[]) this.cache[i]; this.cache[i] = null;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java
} @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* byte order: the highest order byte of the address is in getAddress()[0]. * * @return a four byte array */ public byte[] getAddress() { final byte[] addr = new byte[4]; addr[0] = (byte) (this.address >>> 24 & 0xFF); addr[1] = (byte) (this.address >>> 16 & 0xFF); addr[2] = (byte) (this.address >>> 8 & 0xFF);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.1K bytes - Click Count (0)