- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for shouldBeValidPowersOfTwo (0.09 seconds)
-
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)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0)