- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for shouldBeValidPowersOfTwo (0.07 sec)
-
src/test/java/jcifs/ACETest.java
ACE.WRITE_DAC, ACE.WRITE_OWNER, ACE.SYNCHRONIZE }) @DisplayName("Access constants should be powers of 2") void shouldBeValidPowersOfTwo(int constant) { assertTrue(constant > 0, "Constant should be positive"); assertEquals(0, constant & (constant - 1), "Constant should be power of 2: " + Integer.toHexString(constant)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0)