- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for rx_bytes (0.03 sec)
-
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
@Test public void testConstructorWithRawBytes() { byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp AvTimestamp avTimestamp = new AvTimestamp(rawBytes); assertNotNull(avTimestamp); assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType()); assertArrayEquals(rawBytes, avTimestamp.getRaw()); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
* Verifies that the AvPair type is correctly set and raw bytes are stored. */ @Test void testConstructorWithRawBytes() { byte[] rawBytes = "TEST_TARGET_NAME".getBytes(StandardCharsets.UTF_16LE); AvTargetName avTargetName = new AvTargetName(rawBytes); // Verify the AvPair type is MsvAvTargetName assertEquals(AvPair.MsvAvTargetName, avTargetName.getType(), "AvPair type should be MsvAvTargetName");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
cmd/tier-handlers.go
return } password := cred.SecretKey reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength)) if err != nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL) return } var cfg madmin.TierConfig json := jsoniter.ConfigCompatibleWithStandardLibrary if err := json.Unmarshal(reqBytes, &cfg); err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 12 20:44:05 UTC 2024 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
* Test constructor with raw bytes. */ @Test void testAvFlagsByteArrayConstructor() { // Test with a positive integer byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian) AvFlags avFlags = new AvFlags(rawBytes); assertNotNull(avFlags, "AvFlags object should not be null");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
* * @author ******@****.*** (Kyle Maddison) */ @NullUnmarked public class Fingerprint2011Test extends TestCase { // Length of the sample string to produce private static final int MAX_BYTES = 1000; // Map from sample string lengths to the fingerprint private static final ImmutableSortedMap<Integer, Long> LENGTH_FINGERPRINTS = new ImmutableSortedMap.Builder<Integer, Long>(Ordering.natural())Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0)