- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 142 for 12341 (0.02 seconds)
-
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<Integer> iterator = singleton(0).iterator(); assertEquals(1, Iterators.size(iterator)); } public void testSize_partiallyConsumed() { Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator(); iterator.next(); iterator.next(); assertEquals(3, Iterators.size(iterator)); } public void test_contains_nonnull_yes() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
* The logical branch. * For non-merge-queue branches this is the same as {@link #buildBranch}. * For merge-queue branches, this is the base branch. * * For example, for the merge queue branch "gh-readonly-queue/master/pr-12345-1a2b3c4d" the logical branch is "master". */ val Project.logicalBranch: Provider<String> get() = buildBranch.map(::toMergeQueueBaseBranch) val Project.buildCommitId: Provider<String>Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 05:13:29 GMT 2026 - 18K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
} @Test @DisplayName("Should handle parsing invalid message bytes") void testInvalidMessageBytes() { // Given byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid // When/Then assertThrows(IOException.class, () -> { new Type3Message(invalidBytes); }); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<Integer> iterator = singleton(0).iterator(); assertEquals(1, Iterators.size(iterator)); } public void testSize_partiallyConsumed() { Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator(); iterator.next(); iterator.next(); assertEquals(3, Iterators.size(iterator)); } public void test_contains_nonnull_yes() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
assertEquals("dp", crawlingConfigHelper.getPipeline("D1P").get()); } @Test public void test_sessionCountId() { final String sessionId = "12345"; final String sessionCountId = sessionId + "-1"; assertNull(crawlingConfigHelper.get(sessionCountId)); crawlingConfigHelper.store(sessionId, crawlingConfigHelper.getCrawlingConfig("W1"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 35.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
@SuppressWarnings("deprecation") // tests of deprecated method @NullUnmarked public class CacheExpirationTest extends TestCase { private static final long EXPIRING_TIME = 1000; private static final int VALUE_PREFIX = 12345; private static final String KEY_PREFIX = "key prefix:"; public void testExpiration_expireAfterWrite() { FakeTicker ticker = new FakeTicker();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 19.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
@Mock private InetAddress localAddr; private static final int DEFAULT_PORT = 445; private static final String TEST_HOST = "test.server.com"; private static final int LOCAL_PORT = 12345; @BeforeEach void setUp() { // Common setup for all tests } @Nested @DisplayName("GetSmbTransport Methods") class GetSmbTransportTests { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// Create a temporary lmhosts file with various IP formats File lmhostsFile = tempDir.resolve("lmhosts_ips").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("1.2.3.4 HOST1\n"); writer.write("192.168.1.100 HOST2\n"); writer.write("255.255.255.255 HOST3\n"); writer.write("10.0.0.1 HOST4\n"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.3K bytes - Click Count (0) -
guava/src/com/google/common/base/Verify.java
* whenever there is a chance the check may fail "in real life". Example: * * {@snippet : * Bill bill = remoteService.getLastUnpaidBill(); * * // In case bug 12345 happens again we'd rather just die * Verify.verify(bill.status() == Status.UNPAID, * "Unexpected bill status: %s", bill.status()); * } * * <h3>Comparison to alternatives</h3> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 18.5K bytes - Click Count (0)