- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 1,455 for constant (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
} @Test @DisplayName("Should verify all constant values") void testAllConstants() { // Verify notify flags assertEquals(0x1, Smb2ChangeNotifyRequest.SMB2_WATCH_TREE); // Verify completion filter constants assertEquals(0x1, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_FILE_NAME);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0)