- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 2,388 for Hong (0.02 seconds)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
/** * Parameterised test for a selection of edge and typical values. */ @ParameterizedTest(name = "Encode and decode {0}") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE }) public void testEncodeWithVariousValues(long val) throws NdrException { NdrHyper hyper = new NdrHyper(val); // Create buffer with extra space for alignment NdrBuffer buf = new NdrBuffer(new byte[16], 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java
@Test public void test_waitForNext_withPositiveInterval() throws InterruptedException { configHelper.setReloadInterval(20L); long startTime = System.currentTimeMillis(); configHelper.waitForNext(); long endTime = System.currentTimeMillis(); long elapsed = endTime - startTime; assertTrue("Expected at least 15ms sleep, got " + elapsed + "ms", elapsed >= 15);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/org/codelibs/fess/suggest/util/MapValueExtractorTest.java
Map<String, Object> map = new HashMap<>(); map.put("long", 123L); 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
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) -
android/guava/src/com/google/common/math/MathPreconditions.java
if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static long checkPositive(String role, long x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
// Test with MAX_VALUE long maxMid = Long.MAX_VALUE; doNothing().when(messageBlock).setMid(maxMid); when(messageBlock.getMid()).thenReturn(maxMid); messageBlock.setMid(maxMid); assertEquals(maxMid, messageBlock.getMid()); // Test with MIN_VALUE long minMid = Long.MIN_VALUE; doNothing().when(messageBlock).setMid(minMid);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
@NullUnmarked public class StopwatchBenchmark { @Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
} @ParameterizedTest @DisplayName("Test with various timeout values") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1000L, -1000L }) void testWithVariousTimeoutValues(long timeout) { // Setup String pipeName = "TestPipe"; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsPathMapping.java
public void setCreatedBy(String value) { registerModifiedProperty("createdBy"); this.createdBy = value; } public Long getCreatedTime() { checkSpecifiedProperty("createdTime"); return createdTime; } public void setCreatedTime(Long value) { registerModifiedProperty("createdTime"); this.createdTime = value; } public String getProcessType() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java
super.setUp(testInfo); originalFessConfig = ComponentUtil.getFessConfig(); // Set up test configuration ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public String getMailFromName() { return "Test Admin"; } @Override public String getMailFromAddress() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* overflowing or underflowing, by bounding the value between 0 and (Long.MAX_VALUE / 4) * 3. * Actually waiting for more than 219 years is not supported! */ private static long toSafeNanos(long time, TimeUnit unit) { long timeoutNanos = unit.toNanos(time); return Longs.constrainToRange(timeoutNanos, 0L, (Long.MAX_VALUE / 4) * 3); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0)