- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 663 for Constants (0.06 seconds)
-
src/main/java/org/codelibs/fess/Constants.java
import org.codelibs.core.lang.StringUtil; /** * Constants class that extends CoreLibConstants and contains application-wide constant values for the Fess search engine. * This class provides constants for system configuration, crawling and indexing defaults, user agent strings, * status values, field names, date/time formats, authentication types, and various reserved words and patterns. * * <p>Key constant categories include:</p> * <ul>
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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api; import org.apache.maven.api.annotations.Config; /** * Configuration constants. */ public final class Constants { /** * Maven home. * * @since 3.0.0 */ @Config(readOnly = true, source = Config.Source.SYSTEM_PROPERTIES)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 28.7K bytes - Click Count (0) -
src/test/java/jcifs/ResolverTypeTest.java
/** * Tests for the {@link ResolverType} enum. * This class ensures that the enum constants are defined as expected. */ class ResolverTypeTest { /** * Tests that all expected enum constants exist. */ @Test void testEnumConstants() { // Verify that each enum constant exists and can be referenced assertNotNull(ResolverType.RESOLVER_WINS, "RESOLVER_WINS should not be null.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
// Note: USE_UNICODE and FORCE_UNICODE don't exist in the interface // These tests should be removed or replaced with actual constants } /** * Test individual FLAGS2 constants. */ @Test @DisplayName("FLAGS2 individual constants are correct") void flags2ConstantsTest() { // Test individual flag values assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/NetbiosAddressTest.java
/** * Tests for NetbiosAddress interface and NbtAddress implementation. * This test focuses on verifying constants and basic functionality. */ @ExtendWith(MockitoExtension.class) class NetbiosAddressTest { @Test void testConstantValues() { // Test that constants are properly defined assertEquals("*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.9K 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) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Check all constants are unique for (int i = 0; i < constants.length; i++) { for (int j = i + 1; j < constants.length; j++) { assertTrue(constants[i] != constants[j], "Constants at index " + i + " and " + j + " should be unique"); } } } /** * Test mock implementation of FileInformation interface */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Enums.java
Class<T> enumClass) { synchronized (enumConstantCache) { Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass); if (constants == null) { constants = populateCache(enumClass); } return constants; } } /** * Returns a serializable converter that converts between strings and {@code enum} values of type
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtStatusTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Test class for NtStatus constants */ @DisplayName("NtStatus Tests") class NtStatusTest { @Test @DisplayName("Should define well-known NT status constants") void testWellKnownStatusConstants() { // Verify important NT status constants are defined assertEquals(0x00000000, NtStatus.NT_STATUS_SUCCESS);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0)