- Sort Score
- Num 10 results
- Language All
Results 2641 - 2650 of 4,250 for inst (0.03 seconds)
-
src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java
*/ public static String[] parse(final String line) { boolean insideQuote = false; final ArrayList<String> result = new ArrayList<>(); int quoteCount = 0; final StringBuilder sb = new StringBuilder(); for (int i = 0; i < line.length(); i++) { final char c = line.charAt(i); if (c == QUOTE) { insideQuote = !insideQuote;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.9K bytes - Click Count (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(() -> integer.compareAndSet(expectedCount, expectedCount + 1), directExecutor()); } list.execute(); assertEquals(10, integer.get()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.4K bytes - Click Count (0) -
fastapi/utils.py
from pydantic.fields import FieldInfo from ._compat import v2 if TYPE_CHECKING: # pragma: nocover from .routing import APIRoute def is_body_allowed_for_status_code(status_code: int | str | None) -> bool: if status_code is None: return True # Ref: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#patterned-fields-1 if status_code in { "default",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 4.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt
import okhttp3.Protocol import okhttp3.Response import okio.IOException /** An HTTP response status line like "HTTP/1.1 200 OK". */ class StatusLine( @JvmField val protocol: Protocol, @JvmField val code: Int, @JvmField val message: String, ) { override fun toString(): String = buildString { if (protocol == Protocol.HTTP_1_0) { append("HTTP/1.0") } else { append("HTTP/1.1") }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
@Override public boolean equals(@Nullable Object other) { return (other instanceof ObjectWhichIsEqualButChangesClass || other instanceof OtherForm); } @Override public int hashCode() { return 1; } private Object writeReplace() { return new OtherForm(); } private static class OtherForm implements Serializable { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
* one of three states: * - Active: shutdown == false * - Shutdown: runningTasks > 0 and shutdown == true * - Terminated: runningTasks == 0 and shutdown == true */ @GuardedBy("lock") private int runningTasks = 0; @GuardedBy("lock") private boolean shutdown = false; @Override public void execute(Runnable command) { startTask(); try { command.run(); } finally {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 14:23:59 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
@Override public boolean equals(@Nullable Object other) { return (other instanceof ObjectWhichIsEqualButChangesClass || other instanceof OtherForm); } @Override public int hashCode() { return 1; } private Object writeReplace() { return new OtherForm(); } private static class OtherForm implements Serializable { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
private static final @Nullable String NE = null; private static <E extends @Nullable Object> Entry<E> entry(E element, int count) { return Multisets.immutableEntry(element, count); } private static <E extends @Nullable Object> Entry<E> control(E element, int count) { return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next(); } public void testToString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java
/** The time taken in milliseconds. */ protected final long tookMs; /** The list of suggested words. */ protected final List<String> words; /** The number of suggested words. */ protected final int num; /** The total number of hits. */ protected final long total; /** The list of suggested items. */ protected final List<SuggestItem> items; /** * Constructor for SuggestResponse.Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
CacheBuilder.newBuilder().weakValues().build(countingLoader); ConcurrentMap<Object, Object> map = cache.asMap(); int iterations = 10; WeakReference<Object> ref = new WeakReference<>(null); int expectedComputations = 0; for (int i = 0; i < iterations; i++) { // The entry should get garbage collected and recomputed. Object oldValue = ref.get(); if (oldValue == null) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0)