- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,635 for constant (0.05 seconds)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
* limitations under the License. */ package okhttp3.internal.idn import kotlin.math.abs import okio.ByteString internal sealed interface MappedRange { val rangeStart: Int data class Constant( override val rangeStart: Int, val type: Int, ) : MappedRange { val b1: Int get() = when (type) { TYPE_IGNORED -> 119 TYPE_VALID -> 120Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
assertEquals("correct", f.apply(new Object())); assertEquals("correct", f.apply(null)); Function<@Nullable Object, @Nullable String> g = Functions.constant(null); assertThat(g.apply(2)).isNull(); assertThat(g.apply(null)).isNull(); new EqualsTester() .addEqualityGroup(f, Functions.constant("correct"))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Language.java
/** * The "resources" language. This is used for files such as images to provide in the output. */ Language RESOURCES = language("resources"); /** * The "script" language. This constant is retained for backward compatibility with Maven 3. * * @deprecated Use {@link #RESOURCES} instead. */ @Deprecated(since = "4.0.0") Language SCRIPT = language("script");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Feb 07 15:09:52 GMT 2026 - 2.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/help/HelpAction.java
*/ public class HelpAction extends FessSearchAction { // =================================================================================== // Constant // // =================================================================================== // Attribute //Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.2K 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) -
android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java
replacements[c] = map.get(c).toCharArray(); } return replacements; } // Immutable empty array for when there are no replacements. @SuppressWarnings("ConstantCaseForConstants") // An empty array is a constant. private static final char[][] EMPTY_REPLACEMENT_ARRAY = new char[0][0];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/CorsFilter.java
*/ public CorsFilter() { // Default constructor } private static final Logger logger = LogManager.getLogger(CorsFilter.class); /** * HTTP OPTIONS method constant used for CORS preflight requests. */ protected static final String OPTIONS = "OPTIONS"; @Override public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
} } @Test public void test_constant_WEB_API_EXCEPTION() { // Test that the constant WEB_API_EXCEPTION is used correctly // This is verified by checking the behavior matches expected constant usage // Since the constant is private, we can't access it directly // But we can verify the behavior is consistent try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java
} catch (NoSuchAlgorithmException e) { throw new AssertionError(e); } } HashFunction getHashFunction() { return hashFn; } } // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons. private static final int RANDOM_SEED = new Random().nextInt(); private byte[] testBytes; @BeforeExperiment void setUp() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java
assertTrue(true); } @Test public void test_constantsExist() { // Verify all expected configuration constants are defined SpnegoAuthenticator authenticator = new SpnegoAuthenticator(); // These constants should be accessible (would fail at compile time if not) assertTrue(SpnegoAuthenticator.class.getName().contains("SpnegoAuthenticator"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0)