- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 2,819 for uint (0.03 sec)
-
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsCreatorTest.java
assertNotNull(testValue); assertEquals("test", testValue); } // Additional test for coverage public void test_additionalCoverage() { int a = 5; int b = 10; int sum = a + b; assertEquals(15, sum); String str = "Hello"; assertTrue(str.startsWith("H")); assertTrue(str.endsWith("o")); assertEquals(5, str.length());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos); } public void testSetRefresh() { long duration = 42; TimeUnit unit = SECONDS; LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().refreshAfterWrite(duration, unit)); assertEquals(unit.toNanos(duration), map.refreshNanos); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/DirectExecutorService.java
public boolean isTerminated() { synchronized (lock) { return shutdown && runningTasks == 0; } } @Override public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { long nanos = unit.toNanos(timeout); synchronized (lock) { while (true) { if (shutdown && runningTasks == 0) { return true; } else if (nanos <= 0) { return false;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
mockPipeIn.lock = new Object(); byte[] buffer = new byte[10]; int bufferIndex = 0; int len = 10; // Call the method to be tested int result = response.readDataWireFormat(buffer, bufferIndex, len); // Verify the result
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class); assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class); assertThat(Primitives.wrap(String.class)).isSameInstanceAs(String.class); } public void testUnwrap() { assertThat(Primitives.unwrap(Integer.class)).isSameInstanceAs(int.class); assertThat(Primitives.unwrap(int.class)).isSameInstanceAs(int.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
}(setIdx) } wk.Wait() return nil } type rebalSaveOpts uint8 const ( rebalSaveStats rebalSaveOpts = iota rebalSaveStoppedAt ) func (z *erasureServerPools) saveRebalanceStats(ctx context.Context, poolIdx int, opts rebalSaveOpts) error { lock := z.serverPools[0].NewNSLock(minioMetaBucket, rebalMetaName)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 04 20:47:24 UTC 2025 - 28.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Unit tests for {@link TransWaitNamedPipeResponse}. * * The implementation contains only trivial methods that return {@code 0} * or construct a string representation. The tests focus on: * * <ul>Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link AbstractLoadingCache}. * * @author Charles Fry */ @NullUnmarked public class AbstractLoadingCacheTest extends TestCase { public void testGetUnchecked_checked() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5K bytes - Viewed (0) -
guava/src/com/google/common/base/NullnessCasts.java
* analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}. * (And even if annotations on local variables were permitted as an optional hint, no annotation * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link SmbComLogoffAndX}. */ @ExtendWith(MockitoExtension.class) class SmbComLogoffAndXTest { @Test @DisplayName("constructor accepts null andx") void constructorWithNullAndx() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0)