- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 138 for comparison (1.14 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
try { // Time comparison between different length passwords long timeDiffLength = measureEqualsTime(auth1, auth2, TIMING_ITERATIONS); // Create same length passwords for comparison char[] password3 = "short".toCharArray();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
byte b = (byte) 0xFF; int value = b & 0xFF; assertEquals(255, value, "Byte to unsigned conversion should work"); // Test comparison operation assertTrue(value == 255, "Comparison should work correctly"); } /** * Encode a string as 16-bit little-endian Unicode */ private byte[] encodeUnicode(String s) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
assertFalse(stringRep.isEmpty()); } @Test @DisplayName("Should handle version comparison") void testVersionComparison() { // Test equality assertEquals(DialectVersion.SMB311, DialectVersion.SMB311); assertNotEquals(DialectVersion.SMB1, DialectVersion.SMB311); // Test comparison assertTrue(DialectVersion.SMB1.compareTo(DialectVersion.SMB311) < 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
} /** * Compares two SMB files by name. * @param f1 first file to compare * @param f1name name of first file * @param f2 second file to compare * @return comparison result for sorting * @throws IOException if an I/O error occurs */ protected int compareNames(final SmbFile f1, final String f1name, final SmbFile f2) throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
* * @param other the other resource locator to compare with * @return whether the paths share a common root * @throws CIFSException if an error occurs during comparison */ boolean overlaps(SmbResourceLocator other) throws CIFSException; /** * Internal: for testing only * * @param dr the DFS referral data to processRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 19.6K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
} } /** * Compares two SMB files by name * @param f1 first file to compare * @param f1name name of first file * @param f2 second file to compare * @return comparison result for sorting * @throws IOException if an I/O error occurs */ protected int compareNames(final SmbFile f1, final String f1name, final SmbFile f2) throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm64.go
// IsARM64ADR reports whether the op (as defined by an arm64.A* constant) is // one of the comparison instructions that require special handling. func IsARM64ADR(op obj.As) bool { switch op { case arm64.AADR, arm64.AADRP: return true } return false } // IsARM64CMP reports whether the op (as defined by an arm64.A* constant) is // one of the comparison instructions that require special handling. func IsARM64CMP(op obj.As) bool {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Oct 16 00:35:29 UTC 2025 - 6.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertFalse(CrawlerStatus.INITIALIZING.equals(CrawlerStatus.DONE)); assertFalse(CrawlerStatus.RUNNING.equals(CrawlerStatus.DONE)); // Null comparison assertFalse(CrawlerStatus.INITIALIZING.equals(null)); // Different type comparison assertFalse(CrawlerStatus.INITIALIZING.equals("INITIALIZING")); assertFalse(CrawlerStatus.INITIALIZING.equals(0)); } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
byte[] actual = new byte[bytesWritten]; System.arraycopy(dst, 0, actual, 0, bytesWritten); // Use assertArrayEquals for byte array comparison org.junit.jupiter.api.Assertions.assertArrayEquals(expected, actual, "Byte array content should match the expected format."); } @Test void testReadParameterWordsWireFormat() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0)