- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 766 for Constants (0.08 seconds)
-
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) -
src/test/java/jcifs/pac/PacConstantsTest.java
/** * Tests for the PacConstants interface. * This test class verifies that the constant values defined in PacConstants are correct. */ class PacConstantsTest { /** * Tests that the constant values in the PacConstants interface match their expected values. * This prevents accidental modification of these critical constants. */ @Test void testConstantValues() { // Verify the PAC versionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (0) -
android/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/org/codelibs/fess/mylasta/action/FessLabelsTest.java
} } assertEquals("Should have exactly one serialVersionUID", 1, serialVersionUIDCount); assertTrue("Should have many label constants", labelConstantCount > 100); } /** * Test that label constant values match their field names */ @Test public void test_labelConstantValueMatchesName() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode()); // Different enum constants should have different hash codes (usually) assertNotSame(metadataHashCode, logoutHashCode); } @Test public void test_compareTo() { // Test compareTo method for enum constants assertEquals(0, SsoResponseType.METADATA.compareTo(SsoResponseType.METADATA));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.3K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/CoreExtensions.java
* @param coreExtensions The configured core extensions, is never {@code null}. Contents of list is guaranteed to be unique by GA. * * @see Constants#MAVEN_PROJECT_EXTENSIONS * @see Constants#MAVEN_USER_EXTENSIONS * @see Constants#MAVEN_INSTALLATION_EXTENSIONS */ @Experimental public record CoreExtensions(Path source, List<CoreExtension> coreExtensions) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 13 12:50:59 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java
} /** * Test HTTP status code constants are defined correctly */ @Test public void test_httpStatusCodeConstants() { // Verify the constants are accessible via reflection or by checking their usage // Since the constants are private, we test their values indirectly // The constants should match standard HTTP status codes // HTTP_STATUS_NOT_FOUND = 404Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.3K bytes - Click Count (0) -
internal/http/headers.go
Authorization = "Authorization" Action = "Action" Range = "Range" ) // Non standard S3 HTTP response constants const ( XCache = "X-Cache" XCacheLookup = "X-Cache-Lookup" ) // Standard S3 HTTP request constants const ( IfModifiedSince = "If-Modified-Since" IfUnmodifiedSince = "If-Unmodified-Since" IfMatch = "If-Match"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 07 15:37:12 GMT 2025 - 10.8K bytes - Click Count (0)