- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for uniqueness (1.32 sec)
-
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
* Uses SMB3-compliant nonce generation with guaranteed uniqueness. * * @return nonce appropriate for the dialect (16 bytes for GCM, 12 bytes for CCM) */ public byte[] generateNonce() { final byte[] nonce = new byte[isGCMCipher() ? 16 : 12]; if (isGCMCipher()) { // SMB 3.1.1 GCM: 96-bit random/fixed + 32-bit counter for guaranteed uniqueness // Fill first 12 bytes with random dataRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
@Test @DisplayName("Should verify all fault code constants are unique") void testFaultCodesUniqueness() { Set<Integer> faultCodes = new HashSet<>(); // Add all fault codes to a set to check uniqueness faultCodes.add(DcerpcError.DCERPC_FAULT_OTHER); faultCodes.add(DcerpcError.DCERPC_FAULT_ACCESS_DENIED); faultCodes.add(DcerpcError.DCERPC_FAULT_CANT_PERFORM);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
} return hash; } /** * Encodes a similar document hash using GZIP compression and Base64 encoding. * This reduces storage space for hash values while maintaining uniqueness. * * @param hash the hash string to encode * @return the encoded hash string with prefix, or the original hash if encoding fails */ public String encodeSimilarDocHash(final String hash) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertNotNull(nonce, "Nonce should not be null"); assertTrue(nonce.length > 0, "Nonce should have length > 0"); // Convert to string for uniqueness check String nonceStr = Arrays.toString(nonce); assertFalse(nonces.contains(nonceStr), "Nonce should be unique"); nonces.add(nonceStr); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
ResponseData responseData2 = new ResponseData(); responseData2.setUrl("https://exampleXcom/?param=value"); assertFalse(rule.match(responseData2)); } /** * Test rule ID uniqueness */ public void test_ruleIdUniqueness() { List<Rule> rules = new ArrayList<>(); // Create rules with unique IDs for (int i = 0; i < 100; i++) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0)