- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 128 for masked (0.91 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
} @Test @DisplayName("Should handle masked value round-trip correctly") void testMaskedValueRoundTrip() throws NdrException { // Given: Original value that gets masked int originalValue = 300; // Will be masked to 44 int maskedValue = originalValue & 0xFF; // 44 NdrShort ndrShort1 = new NdrShort(originalValue);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024); // Verify attributes are masked with 0x37 int expectedAttributes = searchAttributes & 0x37; // Write parameters to verify the masked value is used byte[] buffer = new byte[100]; int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
// Mask sensitive keys if (key.contains("password") || key.contains("secret") || key.contains("token") || key.contains("credential")) { masked.put(entry.getKey(), "****"); } else if (value instanceof String) { masked.put(entry.getKey(), maskSensitiveData((String) value)); } else { masked.put(entry.getKey(), value); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
assertEquals(expectedType, info.getType()); } @Test @DisplayName("Test getType with hidden flag") void testGetTypeWithHiddenFlag() { // Hidden flag (0x80000000) should be masked out int hiddenPrinterType = 0x80000001; // Hidden printer SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, hiddenPrinterType, TEST_REMARK); assertEquals(SmbConstants.TYPE_PRINTER, info.getType());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * Tests to see if the file this SmbResource represents is marked as * hidden. This method will also return true for shares with names that * end with '$' such as <code>IPC$</code> or <code>C$</code>. * * @return <code>true</code> if the <code>SmbResource</code> is marked as being hidden * @throws CIFSException if an error occurs accessing the resource */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
// This is acceptable - not all JVM implementations support destroying SecretKey // The important part is that the storage is marked as destroyed } assertTrue(storage.isDestroyed(), "Storage should be marked as destroyed"); // Operations should fail after destroy assertThrows(IllegalStateException.class, () -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
assertTrue(h.isValid()); // Tree id change makes it invalid when(tree.getTreeId()).thenReturn(11L); assertFalse(h.isValid()); // Connected=false makes it invalid when(tree.getTreeId()).thenReturn(10L); when(tree.isConnected()).thenReturn(false); assertFalse(h.isValid()); // Mark closed makes it invalid when(tree.isConnected()).thenReturn(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
// file attribute encoding /** * File is marked read-only */ int ATTR_READONLY = 0x01; /** * File is marked hidden */ int ATTR_HIDDEN = 0x02; /** * File is marked a system file */ int ATTR_SYSTEM = 0x04; /** * File is marked a volume */ int ATTR_VOLUME = 0x08; /** * File is a directoryRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0)