- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 51 for getLong (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
// The last 8 bytes are read as big-endian (network byte order for the high/low parts) ByteBuffer bb2 = ByteBuffer.wrap(bytes, 8, 8).order(java.nio.ByteOrder.BIG_ENDIAN); long data4 = bb2.getLong(); // Construct UUID from components - Java UUID expects big-endian representation long mostSig = ((long) data1 << 32) | ((long) (data2 & 0xFFFF) << 16) | (data3 & 0xFFFF); long leastSig = data4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/Config.java
* @param def the default value to return if key is not found or cannot be parsed * @return the long value of the property or the default value */ public static long getLong(final Properties props, final String key, long def) { final String s = props.getProperty(key); if (s != null) { try { def = Long.parseLong(s);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java
map.put("int", 456); map.put("string", "789"); assertEquals(Long.valueOf(123L), MapValueExtractor.getLong(map, "long")); assertEquals(Long.valueOf(456L), MapValueExtractor.getLong(map, "int")); assertEquals(Long.valueOf(789L), MapValueExtractor.getLong(map, "string")); } @Test public void testGetLong_withNullAndMissingKey() { Map<String, Object> map = new HashMap<>();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/ConfigTest.java
} @Test @DisplayName("Should get long property with default value") void testGetLongWithDefault() { assertEquals(1234567890123L, Config.getLong(testProperties, "test.long", 0L)); assertEquals(987654321L, Config.getLong(testProperties, "nonexistent.long", 987654321L)); } @Test @DisplayName("Should get InetAddress property with default value")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java
super(CHUNK_SIZE); this.h1 = seed; this.h2 = seed; this.length = 0; } @Override protected void process(ByteBuffer bb) { long k1 = bb.getLong(); long k2 = bb.getLong(); bmix64(k1, k2); length += CHUNK_SIZE; } private void bmix64(long k1, long k2) { h1 ^= mixK1(k1); h1 = Long.rotateLeft(h1, 27); h1 += h2;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
this.v0 ^= k0; this.v1 ^= k1; this.v2 ^= k0; this.v3 ^= k1; } @Override protected void process(ByteBuffer buffer) { b += CHUNK_SIZE; processM(buffer.getLong()); } @Override protected void processRemaining(ByteBuffer buffer) { b += buffer.remaining(); for (int i = 0; buffer.hasRemaining(); i += 8) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SuggestWordsApiTests.java
JsonPath jsonPath = JsonPath.from(response); assertTrue(jsonPath.getInt("record_count") >= 0); assertTrue(jsonPath.getInt("page_size") >= 0); assertTrue(jsonPath.getLong("query_time") >= 0); } @Test public void testSuggestWords_pageSizeDefault() { Map<String, String> params = new HashMap<>(); params.put("q", "a");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
configMockedStatic = mockStatic(Config.class); lenient().when(Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false)).thenReturn(false); lenient().when(Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300)).thenReturn(300L); lenient().when(Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false)).thenReturn(false); } @AfterEach void tearDown() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
/** Unit tests for {@link Futures#getDone}. */ @GwtCompatible @NullUnmarked public class FuturesGetDoneTest extends TestCase { public void testSuccessful() throws ExecutionException { assertThat(getDone(immediateFuture("a"))).isEqualTo("a"); } public void testSuccessfulNull() throws ExecutionException { assertThat(getDone(immediateVoidFuture())).isEqualTo(null); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
/** Unit tests for {@link Futures#getDone}. */ @GwtCompatible @NullUnmarked public class FuturesGetDoneTest extends TestCase { public void testSuccessful() throws ExecutionException { assertThat(getDone(immediateFuture("a"))).isEqualTo("a"); } public void testSuccessfulNull() throws ExecutionException { assertThat(getDone(immediateVoidFuture())).isEqualTo(null); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 2.3K bytes - Click Count (0)