- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 1,135 for isInteger (0.79 sec)
-
src/test/java/org/codelibs/core/collection/MapsTest.java
import org.junit.Test; /** * @author koichik */ public class MapsTest { /** * @throws Exception */ @Test public void test() throws Exception { final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); assertThat(map.size(), is(3)); assertThat(map.get("a"), is(1)); assertThat(map.get("b"), is(2)); assertThat(map.get("c"), is(3)); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
byte[] quad = textToNumericFormatV4(dottedQuad); if (quad == null) { return null; } String penultimate = Integer.toHexString(((quad[0] & 0xff) << 8) | (quad[1] & 0xff)); String ultimate = Integer.toHexString(((quad[2] & 0xff) << 8) | (quad[3] & 0xff)); return initialPart + penultimate + ":" + ultimate; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RoleService.java
*/ protected void setupListCondition(final RoleCB cb, final RolePager rolePager) { if (rolePager.id != null) { cb.query().docMeta().setId_Equal(rolePager.id); } // TODO Long, Integer, String supported only. // setup condition cb.query().addOrderBy_Name_Asc(); // search } /** * Gets a list of available roles.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
when(mock.length()).thenReturn(-10L); assertEquals(-10L, mock.length()); } } @ParameterizedTest(name = "getType returns {0}") @ValueSource(ints = { 0, 1, -5, Integer.MAX_VALUE }) @DisplayName("Parameterized type values") void typeParameterized(int type) { FileEntry mock = mock(FileEntry.class); when(mock.getType()).thenReturn(type);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
return transformValues(new HashMap<String, String>(), Functions.<String>identity()); } @Override protected Map<String, String> makePopulatedMap() { Map<String, Integer> underlying = new HashMap<>(); underlying.put("a", 1); underlying.put("b", 2); underlying.put("c", 3); return transformValues(underlying, Functions.toStringFunction()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java
return transformValues(Maps.<String, String>newTreeMap(), Functions.<String>identity()); } @Override protected SortedMap<String, String> makePopulatedMap() { SortedMap<String, Integer> underlying = Maps.newTreeMap(); underlying.put("a", 1); underlying.put("b", 2); underlying.put("c", 3); return transformValues(underlying, Functions.toStringFunction()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
assertEquals("", execJob.lastaEnv); // Test with very long timeout execJob.timeout(Integer.MAX_VALUE); assertEquals(Integer.MAX_VALUE, execJob.timeout); // Test with minimum timeout execJob.timeout(Integer.MIN_VALUE); assertEquals(Integer.MIN_VALUE, execJob.timeout); } // Test exception handling in execute
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
Iterables.addAll(queue, elements); return queue; } // LinkedBlockingDeque /** * Creates an empty {@code LinkedBlockingDeque} with a capacity of {@link Integer#MAX_VALUE}. * * @since 12.0 */ @J2ktIncompatible @GwtIncompatible // LinkedBlockingDeque public static <E> LinkedBlockingDeque<E> newLinkedBlockingDeque() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt
} /** Returns the value for the setting `id`, or 0 if unset. */ operator fun get(id: Int): Int = values[id] /** Returns the number of settings that have values assigned. */ fun size(): Int = Integer.bitCount(set) // TODO: honor this setting. fun getEnablePush(defaultValue: Boolean): Boolean { val bit = 1 shl ENABLE_PUSH return if (bit and set != 0) values[ENABLE_PUSH] == 1 else defaultValue }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CartesianList.java
} } catch (ArithmeticException e) { throw new IllegalArgumentException( "Cartesian product too large; must have size at most Integer.MAX_VALUE"); } this.axesSizeProduct = axesSizeProduct; } private int getAxisIndexForProductIndex(int index, int axis) { return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0)