- Sort Score
- Num 10 results
- Language All
Results 5701 - 5710 of 8,997 for Class3 (0.04 seconds)
-
docs_src/app_testing/app_b_an_py310/main.py
fake_secret_token = "coneofsilence" fake_db = { "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"}, "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"}, } app = FastAPI() class Item(BaseModel): id: str title: str description: str | None = None @app.get("/items/{item_id}", response_model=Item) async def read_main(item_id: str, x_token: Annotated[str, Header()]):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 13:32:24 GMT 2026 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/HealthApiTests.java
import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import io.restassured.RestAssured; /** * Integration tests for the Health API (/api/v1/health) */ @Tag("it") public class HealthApiTests extends ITBase { @BeforeAll protected static void initAll() { RestAssured.baseURI = getFessUrl(); settingTestToken(); } @AfterAll
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 2.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java
*/ package gradlebuild.docs.dsl.docbook; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import java.util.ArrayList; import java.util.List; public class ModelBuilderSupport { protected List<Element> children(Element element, String childName) { List<Element> matches = new ArrayList<Element>(); NodeList childNodes = element.getChildNodes();Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.2K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt
* and we can't rely on classnames after proguard, so are probably best served by falling through * to a situation of trying our least likely noisiest options. */ class DeferredSocketAdapter( private val socketAdapterFactory: Factory, ) : SocketAdapter { private var delegate: SocketAdapter? = null override fun isSupported(): Boolean = true
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListMultimapEqualsTester<K, V> extends AbstractListMultimapTester<K, V> { @CollectionSize.Require(SEVERAL) public void testOrderingAffectsEqualsComparisons() { ListMultimap<K, V> multimap1 = getSubjectGenerator()Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import java.net.Inet4Address import java.net.Inet6Address import org.junit.jupiter.api.Test @Suppress("ktlint:standard:property-naming") class InetAddressOrderTest { val ipv4_10_0_0_6 = Inet4Address.getByName("10.0.0.6") val ipv4_10_0_0_1 = Inet4Address.getByName("10.0.0.1") val ipv4_10_0_0_4 = Inet4Address.getByName("10.0.0.4")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java
@Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetMultimapPutAllTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> { @MapFeature.Require(SUPPORTS_PUT) public void testPutAllHandlesDuplicates() { List<V> valuesToPut = asList(v0(), v1(), v0());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComputationException.java
* of those types instead. (Note that this type, though deprecated, is not planned to be removed * from Guava.) */ @Deprecated @GwtCompatible public class ComputationException extends RuntimeException { /** Creates a new instance with the given cause. */ public ComputationException(@Nullable Throwable cause) { super(cause); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/CapacityEnforcingMap.java
/** * LinkedHashMap that enforces its maximum size and logs events in a StatsCounter object and an * optional RemovalListener. * * @param <K> the base key type * @param <V> the base value type */ final class CapacityEnforcingMap<K, V> extends LinkedHashMap<K, Timestamped<V>> { private final StatsCounter statsCounter; private final @Nullable RemovalListener<? super K, ? super V> removalListener; private final long maximumSize;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; /** * Test cases for {@code EventBus} that must not be in the same package. * * @author Louis Wasserman */ public class OutsideEventBusTest extends TestCase { /* * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 1.9K bytes - Click Count (0)