- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 3,487 for init (0.02 sec)
-
guava-tests/test/com/google/common/primitives/IntsTest.java
Ints.indexOf( new int[] {(int) 2, (int) 3, (int) 2, (int) 3, (int) 4, (int) 2, (int) 3}, new int[] {(int) 2, (int) 3, (int) 4})) .isEqualTo(2); assertThat( Ints.indexOf( new int[] {(int) 2, (int) 2, (int) 3, (int) 4, (int) 2, (int) 3, (int) 4}, new int[] {(int) 2, (int) 3, (int) 4})) .isEqualTo(1); assertThat(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
import org.jspecify.annotations.Nullable; /** * Unit test for {@link Range}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class RangeTest extends TestCase { public void testOpen() { Range<Integer> range = Range.open(4, 8); checkContains(range); assertTrue(range.hasLowerBound()); assertEquals(4, (int) range.lowerEndpoint()); assertEquals(OPEN, range.lowerBoundType());Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
performanceTestCoverage: PerformanceTestCoverage, bucketIndex: Int, ): PerformanceTest fun getName(testCoverage: TestCoverage): String = throw UnsupportedOperationException() } data class TestProjectDuration( val testProject: String, val scenarioDurations: List<PerformanceTestDuration>, ) { val totalTime: Int = scenarioDurations.sumOf { it.durationInMs }Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 02:18:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
package jcifs.smb1.smb1; /** * Unit tests for {@link FileEntry}. The interface itself has no * implementation, so the tests exercise the contract via Mockito mocks. * Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock;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/util/concurrent/ExecutionListTest.java
assertTrue(countDownLatch.await(1L, SECONDS)); } public void testOrdering() throws Exception { AtomicInteger integer = new AtomicInteger(); for (int i = 0; i < 10; i++) { int expectedCount = i; list.add( new Runnable() { @Override public void run() { integer.compareAndSet(expectedCount, expectedCount + 1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
*/ class UrlComponentEncodingTester private constructor() { private val encodings: MutableMap<Int, Encoding> = LinkedHashMap() private fun allAscii(encoding: Encoding) = apply { for (i in 0..127) { encodings[i] = encoding } } fun override( encoding: Encoding, vararg codePoints: Int, ) = apply { for (codePoint in codePoints) { encodings[codePoint] = encoding }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
public void testConcat_overflow_negative() { int dim1 = 1 << 16; int dim2 = 1 << 15; assertThat(dim1 * dim2).isLessThan(0); testConcatOverflow(dim1, dim2); } @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~ public void testConcat_overflow_nonNegative() { int dim1 = 1 << 16; int dim2 = 1 << 16; assertThat(dim1 * dim2).isAtLeast(0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.9K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
private static final int FILE_ACTION_MODIFIED = 0x00000003; private static final int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004; private static final int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005; private static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x00000001; private static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x00000002; private static final int FILE_NOTIFY_CHANGE_ATTRIBUTES = 0x00000004;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
ImmutableList.builderWithExpectedSize(copy.length); for (int i = 0; i < copy.length; i++) { delegatesBuilder.add(new InCompletionOrderFuture<T>(state)); } ImmutableList<AbstractFuture<T>> delegates = delegatesBuilder.build(); for (int i = 0; i < copy.length; i++) { int localI = i; copy[i].addListener(() -> state.recordInputCompletion(delegates, localI), directExecutor());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true); SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0); int expectedSeconds = (int) (testTime / 1000L); int actualSeconds = SMBUtil.readInt4(dst, 0); assertEquals(expectedSeconds, actualSeconds); // Test when current time is in DST but test time is not
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)