Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 5,260 for class (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

    /** Runs the web platform URL tests against Java URL models.  */
    class WebPlatformUrlTest {
      class TestDataParamProvider : SimpleProvider() {
        override fun arguments() = ArrayList<Any>(loadTests())
      }
    
      /** Test how [HttpUrl] does against the web platform test suite.  */
      @ArgumentsSource(TestDataParamProvider::class)
      @ParameterizedTest
      fun httpUrl(testData: WebPlatformUrlTestData) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  2. docs_src/security/tutorial005_py310.py

            "disabled": True,
        },
    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: str | None = None
        scopes: list[str] = []
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class ConcurrentMapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableEnumSet.java

        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /*
       * This class is used to serialize ImmutableEnumSet instances.
       */
      @J2ktIncompatible // serialization
      private static final class EnumSerializedForm<E extends Enum<E>> implements Serializable {
        final EnumSet<E> delegate;
    
        EnumSerializedForm(EnumSet<E> delegate) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/async.md

    (和 **FastAPI**) 是基於 <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a> 實作的,這使得它們與 Python 標準函式庫相容 <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">asyncio</a> 和 <a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">Trio</a>。
    
    特別是,你可以直接使用 <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a> 來處理更複雜的並行使用案例,這些案例需要你在自己的程式碼中使用更高階的模式。...
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

      /**
       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       *
       * <p>{@code getInstance(Foo.class)} is equivalent to {@code
       * getInstance(TypeToken.of(Foo.class))}.
       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

      static final Future<String> ERROR_FUTURE = UncheckedThrowingFuture.throwingError(ERROR);
    
      public static final class TwoArgConstructorException extends Exception {
        public TwoArgConstructorException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class TwoArgConstructorRuntimeException extends RuntimeException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/reflect/TypeToInstanceMap.java

      /**
       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       *
       * <p>{@code getInstance(Foo.class)} is equivalent to {@code
       * getInstance(TypeToken.of(Foo.class))}.
       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertThrows(UnsupportedOperationException.class, () -> multimapView.put("baz", 3));
        assertThrows(
            UnsupportedOperationException.class, () -> multimapView.putAll("baz", singleton(3)));
        assertThrows(UnsupportedOperationException.class, () -> multimapView.putAll(multimap));
        assertThrows(
            UnsupportedOperationException.class,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java

          asList(
              ConcurrentMapPutIfAbsentTester.class,
              ConcurrentMapRemoveTester.class,
              ConcurrentMapReplaceTester.class,
              ConcurrentMapReplaceEntryTester.class);
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top