- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 400 for Constant (0.15 sec)
-
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. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 34.6K bytes - Viewed (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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (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];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/SearchLogPager.java
/** Log type constant for zero-click search aggregation. */ public static final String LOG_TYPE_SEARCH_ZEROCLICK = "search_zeroclick_agg"; /** Log type constant for click logs. */ public static final String LOG_TYPE_CLICK = "click"; /** Log type constant for click count aggregation. */ public static final String LOG_TYPE_CLICK_COUNT = "click_count_agg"; /** Log type constant for favorite logs. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.8K bytes - Viewed (0) -
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); assertEquals(null, g.apply(2)); assertEquals(null, g.apply(null)); new EqualsTester() .addEqualityGroup(f, Functions.constant("correct"))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (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); assertEquals(null, g.apply(2)); assertEquals(null, g.apply(null)); new EqualsTester() .addEqualityGroup(f, Functions.constant("correct"))
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Platform.java
* type. * * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant * is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
for (MediaType constant : getConstants()) { assertSame(constant, MediaType.parse(constant.toString())); } } @J2ktIncompatible @GwtIncompatible // reflection public void testCreate_useConstants() throws Exception { for (MediaType constant : getConstants()) { assertSame( constant, MediaType.create(constant.type(), constant.subtype())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
new EqualsTester() .addEqualityGroup( Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("foo")), Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("foo"))) .addEqualityGroup(Suppliers.compose(Functions.constant(2), Suppliers.ofInstance("foo"))) .addEqualityGroup(Suppliers.compose(Functions.constant(1), Suppliers.ofInstance("bar"))) .testEquals(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0)