- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,693 for byte2 (0.02 sec)
-
cmd/object_api_suite_test.go
uploadID := res.UploadID // Create a byte array of 5MiB. data := bytes.Repeat([]byte("0123456789abcdef"), 5*humanize.MiByte/16) completedParts := CompleteMultipartUpload{} for i := 1; i <= 10; i++ { expectedETaghex := getMD5Hash(data) var calcPartInfo PartInfo
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
bytes[byteIndex++] = (byte) (0xC0 | (c >> 6)); bytes[byteIndex++] = (byte) (0x80 | (c & 0x3F)); } else { bytes[byteIndex++] = (byte) (0xE0 | (c >> 12)); bytes[byteIndex++] = (byte) (0x80 | ((c >> 6) & 0x3F)); bytes[byteIndex++] = (byte) (0x80 | (c & 0x3F)); } } return Arrays.copyOf(bytes, byteIndex); }
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/AvTargetNameTest.java
"Raw bytes for empty string should be empty"); byte[] emptyBytes = new byte[0]; AvTargetName avTargetNameFromBytes = new AvTargetName(emptyBytes); assertEquals(emptyString, avTargetNameFromBytes.getTargetName(), "Empty string should be handled correctly from raw bytes constructor");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
class HMACT64Test { private static final byte[] TEST_KEY = "testkey".getBytes(); private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes private static final byte[] SHORT_TEST_KEY = "short".getBytes(); private static final byte[] TEST_DATA = "testdata".getBytes(); private static final byte[] EMPTY_DATA = new byte[0]; static { // Initialize long key with predictable data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
func checkXL2V1(buf []byte) (payload []byte, major, minor uint16, err error) { if len(buf) <= 8 { return payload, 0, 0, fmt.Errorf("xlMeta: no data") } if !bytes.Equal(buf[:4], xlHeader[:]) { return payload, 0, 0, fmt.Errorf("xlMeta: unknown XLv2 header, expected %v, got %v", xlHeader[:4], buf[:4]) } if bytes.Equal(buf[4:8], []byte("1 ")) { // Set as 1,0. major, minor = 1, 0
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 40.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
} @Test void readTrailerWireFormatShouldReadSixBytesSuccessfully() throws IOException { // Test successful reading of 6 bytes from the input stream. // The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
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) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
byte[] maxGuid = new byte[16]; Arrays.fill(maxGuid, (byte) 0xFF); ValidateNegotiateInfoRequest request = new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, maxGuid, DEFAULT_SECURITY_MODE, defaultDialects); byte[] buffer = new byte[request.size()]; request.encode(buffer, 0); // Verify max GUID byte[] extractedGuid = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(DACL_SECURITY_INFORMATION, desc3.securityInformation); // Verify writing doesn't affect other instances byte[] dst1 = new byte[8]; byte[] dst2 = new byte[8]; byte[] dst3 = new byte[8]; desc1.writeParametersWireFormat(dst1, 0); desc2.writeParametersWireFormat(dst2, 0); desc3.writeParametersWireFormat(dst3, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
*/ public WitnessUnregisterMessage(byte[] contextHandle) { super(WITNESS_UNREGISTER); this.contextHandle = contextHandle != null ? contextHandle.clone() : new byte[20]; } /** * Sets the context handle for unregistration. * * @param contextHandle the context handle from registration */ public void setContextHandle(byte[] contextHandle) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 3.8K bytes - Viewed (0)