- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,635 for constant (0.09 seconds)
-
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
String name = field.getName(); // Check that constant names follow UPPER_SNAKE_CASE convention assertTrue(name.matches("[A-Z_]+"), "Constant " + name + " should follow UPPER_SNAKE_CASE convention"); // Check that all constants end with _SECURITY_INFO assertTrue(name.endsWith("_SECURITY_INFO"), "Constant " + name + " should end with _SECURITY_INFO"); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
} @Nested @DisplayName("Action Constants Tests") class ActionConstantsTests { @Test @DisplayName("Verify FILE_ACTION_ADDED constant value") void testFileActionAdded() { assertEquals(0x00000001, FileNotifyInformation.FILE_ACTION_ADDED); } @Test @DisplayName("Verify FILE_ACTION_REMOVED constant value") void testFileActionRemoved() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
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)); } @ParameterizedTestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Constants.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
long[] xLongs; long[] yLongs; int[] constant; private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL; @BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeResourceTest.java
import org.junit.jupiter.api.Test; /** * Tests for the SmbPipeResource interface. * This test class primarily verifies the constant values defined in the interface. */ class SmbPipeResourceTest { /** * Test if the PIPE_TYPE_RDONLY constant has the correct value. */ @Test void testPipeTypeRdonly() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/Constants.java
/** String constant representing boolean true value. */ public static final String TRUE = "true"; /** String constant representing boolean false value. */ public static final String FALSE = "false"; /** Boolean constant representing true value. */ public static final Boolean T = true; /** Boolean constant representing false value. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 35.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingWeighers.java
} static final class ConstantWeigher implements Weigher<Object, Object> { private final int constant; ConstantWeigher(int constant) { this.constant = constant; } @Override public int weigh(Object key, Object value) { return constant; } } static final class IntKeyWeigher implements Weigher<Integer, Object> { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
long[] xLongs; long[] yLongs; int[] constant; private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL; @BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileInformation.java
*/ byte FILE_STANDARD_INFO = 0x5; /** * File internal information class constant. */ byte FILE_INTERNAL_INFO = 0x6; /** * File rename information class constant. */ byte FILE_RENAME_INFO = 10; /** * Gets the file information level/class for this file information object. * * @return the file information classCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0)