- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 98 for Comparison (1.07 sec)
-
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
mac.update(data, offset, length); final byte[] cmp = new byte[SIGNATURE_LENGTH]; System.arraycopy(mac.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH); // Use constant-time comparison to prevent timing attacks if (!MessageDigest.isEqual(sig, cmp)) { return false; // Signature verification failed } return true; // Signature verification succeededRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
</field> </fields> <codeSegments> <codeSegment> <version>1.2.0+</version> <comment>Generated hashCode() and equals() based on identifier also calls its super, which breaks comparison </comment> <code> <![CDATA[ /** * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values. */ public int hashCode() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link * Object#equals equals} method) to determine equality for keys or values. However, if {@link * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys. * Likewise, if {@link #weakValues} or {@link #softValues} was specified, the cache uses identity * comparisons for values. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
val b1 = this[index + 1].code return (b0 shl 7) + b1 } /** * An extremely generic binary search that doesn't know what data it's searching over. The caller * provides indexes and a comparison function, and this calls that function iteratively. * * @return the index of the match. If no match is found this is `(-1 - insertionPoint)`, where the * inserting the element at `insertionPoint` will retain sorted order.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
sitemapUrl.addAlternateLink(alternateLink); } } } } /** * Gets the element name to use for comparison. * Prefers qName (which includes namespace prefix) but falls back to localName if qName is empty. * @param localName the local name without namespace prefix
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 13:19:40 UTC 2025 - 34.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
boolean olderThanAll = true; for (String validValue : validVersions) { final int comparison = compareModelVersions(validValue, string); newerThanAll = newerThanAll && comparison < 0; olderThanAll = olderThanAll && comparison > 0; } if (newerThanAll) { addViolation( problems,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 03 15:06:05 UTC 2025 - 66.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
return this.address; } /** * Determines if this address is equal two another. Only the IP Addresses * are compared. Similar to the {@link #hashCode} method, the comparison * is based on the integer IP address and not the string representation. */ @Override public boolean equals(final Object obj) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("isSameTree: different types and delegated compare") void isSameTreeCoversBranches() { // Covers non-impl (false) and impl path delegating to connection comparison // Not an impl -> false assertFalse(handle.isSameTree(mock(SmbTreeHandle.class))); // Impl case delegates to treeConnection.isSameRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
* offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log * k). In benchmarks, this implementation performs at least as well as either implementation, and
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
if (array[i] == target) { return i; } } return -1; } /** * Returns the least value present in {@code array}, using the same rules of comparison as {@link * Math#min(float, float)}. * * @param array a <i>nonempty</i> array of {@code float} values * @return the value present in {@code array} that is less than or equal to every other value in
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.6K bytes - Viewed (0)