Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2301 - 2310 of 7,602 for _class (0.07 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Test case for {@link TrustedListenableFutureTask}. */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class TrustedListenableFutureTaskTest extends TestCase {
    
      public void testSuccessful() throws Exception {
        TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/dataclasses.md

    但 FastAPI 还可以使用数据类(<a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a>):
    
    ```Python hl_lines="1  7-12  19-20"
    {!../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    这还是借助于 **Pydantic** 及其<a href="https://pydantic-docs.helpmanual.io/usage/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">内置的 `dataclasses`</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LongAdder.java

     *
     * <p>This class is usually preferable to {@link AtomicLong} when multiple threads update a common
     * sum that is used for purposes such as collecting statistics, not for fine-grained synchronization
     * control. Under low update contention, the two classes have similar characteristics. But under
     * high contention, expected throughput of this class is significantly higher, at the expense of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Config.java

     */
    @SuppressWarnings ( "javadoc" )
    public class Config {
    
        private static final Logger log = LoggerFactory.getLogger(Config.class);
    
    
        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <tt>java.net.URL</tt> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class AdminFileconfigAction extends FessAdminAction {
    
        public static final String ROLE = "admin-fileconfig";
    
        private static final Logger logger = LogManager.getLogger(AdminFileconfigAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

    /**
     * @author shinsuke
     * @author Shunji Makino
     * @author Keiichi Watanabe
     */
    public class AdminWebconfigAction extends FessAdminAction {
    
        public static final String ROLE = "admin-webconfig";
    
        private static final Logger logger = LogManager.getLogger(AdminWebconfigAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      )
      fun parts(): List<Part> = parts
    
      @Throws(IOException::class)
      override fun contentLength(): Long {
        var result = contentLength
        if (result == -1L) {
          result = writeOrCountBytes(null, true)
          contentLength = result
        }
        return result
      }
    
      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

          this.uncaughtThrowable = uncaught;
        }
      }
    
      private static class Request {
        final String methodName;
        final Object[] arguments;
    
        Request(String methodName, Object[] arguments) {
          this.methodName = checkNotNull(methodName);
          this.arguments = checkNotNull(arguments);
        }
      }
    
      private static class Response {
        final String methodName;
        final Object result;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Cut.java

      }
    
      private static final long serialVersionUID = 0;
    
      private static final class BelowAll extends Cut<Comparable<?>> {
        private static final BelowAll INSTANCE = new BelowAll();
    
        private BelowAll() {
          /*
           * No code ever sees this bogus value for `endpoint`: This class overrides both methods that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Timeout(30)
    @Tag("Slow")
    class WholeOperationTimeoutTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private val client = clientTestRule.newClient()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top