- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 146 for sltr (0.01 sec)
-
guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
AtomicInteger deliveries = new AtomicInteger(); EventBus bus = new EventBus(); bus.register( new Object() { @Subscribe public void accept(String str) { holder.set(str); deliveries.incrementAndGet(); } }); String EVENT = "Hello!"; bus.post(EVENT); assertEquals("Only one event should be delivered.", 1, deliveries.get());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestCharSink.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/DefaultCorsHandlerTest.java
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) -
src/test/java/org/codelibs/fess/crawler/service/FessUrlQueueServiceTest.java
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) -
src/test/java/org/codelibs/fess/crawler/util/FessCrawlerConfigTest.java
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) -
src/test/java/org/codelibs/fess/dict/DictionaryFileTest.java
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) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
} String readString(final byte[] src, final int srcIndex, int len) { String str = null; try { if (useUnicode) { // should Unicode alignment be corrected for here? str = new String(src, srcIndex, len, UNI_ENCODING); } else { /* On NT without Unicode the fileNameLength
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
byte[] buf = new byte[12]; buf[0] = 0x00; buf[1] = 0x02; // count = 512 in little-endian resp.readParameterWordsWireFormat(buf, 0); String str = resp.toString(); assertTrue(str.contains("count=512"), "toString should include numeric count"); } @Test public void testReturnFromReadParameterWordsWireFormatIs8() { // ensure the method returns 8 as claimed
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
checkPositionIndexes(off, off + len, cbuf.length); } @Override public void write(String str) { checkNotNull(str); } @Override public void write(String str, int off, int len) { checkPositionIndexes(off, off + len, str.length()); } @Override public Writer append(@Nullable CharSequence csq) { return this; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 30 17:25:01 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
* * {@snippet : * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP = * Stream.of("banana", "apple", "carrot", "asparagus", "cherry") * .collect(toImmutableListMultimap(str -> str.charAt(0), str -> str.substring(1))); * * // is equivalent to * * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP = * new ImmutableListMultimap.Builder<Character, String>()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0)