- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 5,278 for Class (0.25 seconds)
-
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
shouldFail(SubclassThatFailsToThrowForStatic.class); } private static class SubclassThatTriesToOverrideBadStaticMethod extends ClassThatFailsToThrowForStatic { static void staticOneArg(String unused) {} } public void testSubclassThatTriesToOverrideBadStaticMethod() { shouldFail(SubclassThatTriesToOverrideBadStaticMethod.class); } private static final class HardToCreate {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
// Keep references to loggers to prevent their configuration from being GC'd. private val configuredLoggers = CopyOnWriteArraySet<Logger>() fun enableHttp2() = enable(Http2::class) fun enableTaskRunner() = enable(TaskRunner::class) fun logHandler() = ConsoleHandler().apply { level = Level.FINE formatter = object : SimpleFormatter() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionSerializationEqualTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SERIALIZABLE) /* * As the class docs say, this test only makes sense for collections that define equals().Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 1.9K bytes - Click Count (0) -
docs_src/security/tutorial003_an_py310.py
def fake_hash_password(password: str): return "fakehashed" + password oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None class UserInDB(User): hashed_password: str def get_user(db, username: str): if username in db: user_dict = db[username]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.5K bytes - Click Count (0) -
scripts/label_approved.py
from pydantic import BaseModel, SecretStr from pydantic_settings import BaseSettings class LabelSettings(BaseModel): await_label: str | None = None number: int default_config = {"approved-2": LabelSettings(await_label="awaiting-review", number=2)} class Settings(BaseSettings): github_repository: str token: SecretStr debug: bool | None = False
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Jun 17 07:50:19 GMT 2025 - 2.2K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
private static final Ordering<List<Class<?>>> ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST = Ordering.natural() .onResultOf((List<Class<?>> params) -> params.contains(String.class)) .compound( Ordering.natural() .onResultOf((List<Class<?>> params) -> params.contains(Throwable.class))) .reverse();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 11.8K bytes - Click Count (0) -
docs/ru/docs/tutorial/schema-extra-example.md
* `Path()` * `Query()` * `Header()` * `Cookie()`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 14.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTagsTest.kt
// Check the Kotlin-focused APIs. assertThat(call.tag(String::class)).isEqualTo("hello") assertThat(call.tag(Integer::class)).isEqualTo(5) assertThat(call.tag(Boolean::class)).isNull() assertThat(call.tag(Any::class)).isNull() // Check the Java APIs too. assertThat(call.tag(String::class.java)).isEqualTo("hello") assertThat(call.tag(Integer::class.java)).isEqualTo(5) assertThat(call.tag(Boolean::class.java)).isNull()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Oct 26 14:54:46 GMT 2025 - 2.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
* it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to * configure the factory when sample values impact the correctness of the test. */ class TestValueFactory : Closeable {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 6.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt
* its *peer*. * * This value object describes a completed handshake. Use [ConnectionSpec] to set policy for new * handshakes. */ class Handshake internal constructor( /** * Returns the TLS version used for this connection. This value wasn't tracked prior to OkHttp * 3.0. For responses cached by preceding versions this returns [TlsVersion.SSL_3_0]. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Apr 05 09:48:10 GMT 2025 - 6.6K bytes - Click Count (1)