- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,385 for BYTE (0.01 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java
} @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(this.path, dst, dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
public void testDifferentEncryptionsProduceDifferentCiphertexts() throws Exception { char[] plaintext = "SamePassword".toCharArray(); // Encrypt twice byte[] encrypted1 = storage.encryptCredentials(plaintext.clone()); byte[] encrypted2 = storage.encryptCredentials(plaintext.clone()); // Should produce different ciphertexts due to random IV
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
void testDecodeAvChannelBindings() throws CIFSException { byte[] data = new byte[] { (byte) 0xAA, (byte) 0xBB }; byte[] avPairData = createAvPairData(AvPair.MsvAvChannelBindings, data); byte[] eolData = createEolData(); byte[] fullData = new byte[avPairData.length + eolData.length]; System.arraycopy(avPairData, 0, fullData, 0, avPairData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
private static final byte[] SIGNCONTEXT_300 = toCBytes("SmbSign"); private static final byte[] SIGNLABEL_300 = toCBytes("SMB2AESCMAC"); private static final byte[] SIGNLABEL_311 = toCBytes("SMBSigningKey"); private static final byte[] APPCONTEXT_300 = toCBytes("SmbRpc"); private static final byte[] APPLABEL_300 = toCBytes("SMB2APP"); private static final byte[] APPLABEL_311 = toCBytes("SMBAppKey");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
} int writeWireFormat(final byte[] dst, final int dstIndex) { // write 0x20 in first byte dst[dstIndex] = 0x20; final byte tmp[] = Strings.getOEMBytes(this.name, this.config); int i; for (i = 0; i < tmp.length; i++) { dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41); dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
testCases := []struct { method string bucketName string accessKey string secretKey string // Sent body body []byte // Expected response expectedRespStatus int lifecycleResponse []byte errorResponse APIErrorResponse shouldPass bool }{ // GET empty credentials { method: http.MethodGet, bucketName: bucketName,Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertTrue(result > 0); assertEquals((byte) 0x04, dst[0]); // First buffer format byte // Find the second buffer format byte by searching for it // In Unicode mode, the old filename is written as Unicode, then 0x04, then an alignment byte int secondBufferFormatIndex = -1; for (int i = 1; i < result - 1; i++) { if (dst[i] == (byte) 0x04) { secondBufferFormatIndex = i;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
byte testInfoType = (byte) 0x01; request.setInfoType(testInfoType); // Verify info type was set Field infoTypeField; try { infoTypeField = Smb2QueryInfoRequest.class.getDeclaredField("infoType"); infoTypeField.setAccessible(true); byte actualInfoType = (byte) infoTypeField.get(request);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals((byte) (listCount & 0xFF), dst[2]); assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]); // informationLevel (2 bytes, LE) -> 0x0104 assertEquals((byte) 0x04, dst[4]); assertEquals((byte) 0x01, dst[5]); // resumeKey (4 bytes, LE) assertEquals((byte) 0xEF, dst[6]); assertEquals((byte) 0xCD, dst[7]); assertEquals((byte) 0xAB, dst[8]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
long timeout = 3000L; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout); // Encode multiple times byte[] buffer1 = new byte[100]; byte[] buffer2 = new byte[100]; byte[] buffer3 = new byte[100]; int encoded1 = request.encode(buffer1, 0); int encoded2 = request.encode(buffer2, 0); int encoded3 = request.encode(buffer3, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)