Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldBeValidPowersOfTwo (0.07 sec)

  1. 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)
Back to top