- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 82 for hex (0.02 seconds)
-
src/test/java/jcifs/smb/NtlmUtilTest.java
@DisplayName("computeResponse: HMAC(server||clientData) prepended to clientData") void testComputeResponse_basic() { // Arrange byte[] key = hex("0102030405060708090A0B0C0D0E0F10"); byte[] serverChallenge = hex("1122334455667788"); byte[] clientData = hex("A0A1A2A3A4"); // Act byte[] result = NtlmUtil.computeResponse(key, serverChallenge, clientData, 0, clientData.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertEquals("0x0004", getResultMessageMethod.invoke(null, 4), "Should return hex format for unknown code 4"); assertEquals("0x00FF", getResultMessageMethod.invoke(null, 255), "Should return hex format for unknown code 255"); assertEquals("0x1000", getResultMessageMethod.invoke(null, 4096), "Should return hex format for large unknown code"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
src[srcIndex + 16] = 0x00; // hex code src[srcIndex + 17] = 0x04; // flags: active // Second name entry (18 bytes) String name2 = "DOMAIN "; System.arraycopy(name2.getBytes("US-ASCII"), 0, src, srcIndex + 19, 16); src[srcIndex + 34] = 0x00; // hex code src[srcIndex + 35] = (byte) 0x84; // flags: group, active
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 38.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
assertEquals(TIME_LOW, uuid.time_low, "time_low should be parsed correctly with lowercase hex"); assertEquals(TIME_MID, uuid.time_mid, "time_mid should be parsed correctly with lowercase hex"); assertEquals(TIME_HI_AND_VERSION, uuid.time_hi_and_version, "time_hi_and_version should be parsed correctly with lowercase hex"); assertEquals(CLOCK_SEQ_HI_AND_RESERVED, uuid.clock_seq_hi_and_reserved,
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
assertNotNull(result); // Hexdump uses uppercase letters // Note: completionFilter is displayed with 4 hex chars, not 8 assertTrue(result.contains("fid=0xFFFF")); assertTrue(result.contains("filter=0xFFFF")); // Only 4 hex chars are shown assertTrue(result.contains("watchTree=true")); } @Test @DisplayName("Test toString method with zero values")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
} @Test @DisplayName("Should convert byte array to hex string") void testToHexStringByteArray() { // Note: The implementation has a bug - it ignores the srcIndex parameter! // The third parameter is the size of the output string in characters // size = number of hex characters to output // Each byte produces 2 hex charactersCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/cmd/asm/internal/asm/endtoend_test.go
// no comment case 2: // might be printed form or hex note := strings.TrimSpace(parts[1]) if isHexes(note) { hexes = note } else { printed = note } case 3: // printed form, then hex printed = strings.TrimSpace(parts[1]) hexes = strings.TrimSpace(parts[2]) if !isHexes(hexes) { t.Errorf("%s:%d: malformed hex instruction encoding: %s", input, lineno, line) } }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 12.6K bytes - Click Count (0) -
internal/etag/etag.go
type ETag []byte // String returns the string representation of the ETag. // // The returned string is a hex representation of the // binary ETag with an optional '-<part-number>' suffix. func (e ETag) String() string { if e.IsMultipart() { return hex.EncodeToString(e[:16]) + string(e[16:]) } return hex.EncodeToString(e) } // IsEncrypted reports whether the ETag is encrypted. func (e ETag) IsEncrypted() bool {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 13.2K bytes - Click Count (0)