- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 372 for known (0.04 sec)
-
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
/** * Test getMessageByDcerpcError() with an error code smaller than any known. */ @Test void testGetMessageByDcerpcError_smallerThanAny() { int unknownCode = -1; String message = DcerpcException.getMessageByDcerpcError(unknownCode); assertEquals("0xFFFFFFFF", message, "Should return hex string for code smaller than any known."); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
"WINERR_MESSAGES content differs"); } @ParameterizedTest(name = "Known code {0} maps to message") @MethodSource("knownCodeMessagePairs") void lookup_returns_expected_message_for_known_codes(int code, String expectedMessage) { // Valid inputs: each known code must map to its documented message assertEquals(expectedMessage, lookupMessage(code).orElse(null)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseComparator.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Dec 13 23:04:37 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
} return 8 + (this.compressionAlgorithms.length * 2); } /** * Validates if the compression algorithm is known. * * @param algorithm the algorithm to validate * @return true if the algorithm is known */ private boolean isValidCompressionAlgorithm(int algorithm) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
docs/en/docs/tutorial/header-params.md
But a variable like `user-agent` is invalid in Python. So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers. Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
Arguments.of(0x00500001, 0xc0000035), Arguments.of(0x007b0001, 0xc0000033), Arguments.of(0x00320001, 0xC00000BB)); } @ParameterizedTest @MethodSource("knownMappings") @DisplayName("Happy path: known DOS codes map to expected NTSTATUS") void mapsKnownDosCodesToNtStatus(int dosCode, int expectedNtStatus) { // Act int actual = findNtStatusOrMinusOne(dosCode); // Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
mimeMap = new MimeMap(); } @Nested @DisplayName("getMimeType with extension only") class GetMimeTypeWithExtension { @Test @DisplayName("Should return correct mime type for known extensions") void testKnownExtensions() throws IOException { assertEquals("application/pdf", mimeMap.getMimeType("pdf")); assertEquals("application/msword", mimeMap.getMimeType("doc"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
// Assert that the BF "might" have all of the even numbers. for (int i = 0; i < numInsertions * 2; i += 2) { assertTrue(bf.mightContain(Integer.toString(i))); } // Now we check for known false positives using a set of known false positives. // (These are all of the false positives under 900.) ImmutableSet<Integer> falsePositives = ImmutableSet.of(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
} return out; } @Test @DisplayName("getNTHash: known vector for 'password'") void testGetNTHash_knownVector() { // Arrange String password = "password"; // Known NT hash for "password" (UTF-16LE MD4) // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C byte[] expected = hex("8846F7EAEE8FB117AD06BDD830B7586C");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
android/guava/src/com/google/common/net/HostSpecifier.java
* and pattern-based checks are performed. * * <p>If you know that a given string represents a numeric IP address, use {@link InetAddresses} to * obtain and manipulate a {@link java.net.InetAddress} instance from it rather than using this * class. Similarly, if you know that a given string represents a domain name, use {@link * InternetDomainName} rather than this class. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6K bytes - Viewed (0)