Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 7,612 for class (0.04 sec)

  1. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.util.ByteEncodable;
    
    
    /**
     * @author mbechler
     *
     */
    class SmbPipeHandleImpl implements SmbPipeHandleInternal {
    
        private static final Logger log = LoggerFactory.getLogger(SmbPipeHandleImpl.class);
    
        private final SmbNamedPipe pipe;
        private final boolean transact;
        private final boolean call;
    
        private final int openFlags;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  2. docs/zh/docs/history-design-future.md

    也就是说,**FastAPI** 针对差不多 80% 的 Python 开发者使用的编辑器进行了测试,而且其它大多数编辑器的工作方式也与之类似,因此,**FastAPI** 的优势几乎能在所有编辑器上体现。
    
    通过这种方式,我就能找到尽可能减少代码重复的最佳方式,进而实现处处都有自动补全、类型提示与错误检查等支持。
    
    所有这些都是为了给开发者提供最佳的开发体验。
    
    ## 需求项
    
    经过测试多种备选方案,我最终决定使用  <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">**Pydantic**</a>,并充分利用它的优势。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

          final int ii = i;
          ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder();
          assertThrows(IllegalArgumentException.class, () -> builder.put(Range.closedOpen(ii, ii), 1));
          assertThrows(IllegalArgumentException.class, () -> builder.put(Range.openClosed(ii, ii), 1));
        }
      }
    
      public void testOverlapRejection() {
        for (Range<Integer> range1 : RANGES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause)));
        assertThat(expected).hasCauseThat().isEqualTo(failureCause);
      }
    
      public void testCancelled() throws ExecutionException {
        assertThrows(CancellationException.class, () -> getDone(immediateCancelledFuture()));
      }
    
      public void testPending() throws ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/SchemaFactoryUtil.java

    import org.codelibs.core.log.Logger;
    import org.xml.sax.SAXException;
    
    /**
     * {@link SchemaFactory}のためのユーティリティ・クラスです。
     *
     * @author koichik
     */
    public abstract class SchemaFactoryUtil {
    
        private static final Logger logger = Logger.getLogger(SchemaFactoryUtil.class);
    
        /**
         * W3C XML Schemaのための{@link SchemaFactory}を生成します。
         *
         * @return W3C XML Schemaのための{@link SchemaFactory}
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java

    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * MetadataGraph node - as it's a directed graph - holds adjacency lists for incident and exident nodes
     *
     *
     */
    @Deprecated
    public class MetadataGraphNode {
        /** node payload */
        MavenArtifactMetadata metadata;
    
        /** nodes, incident to this (depend on me) */
        List<MetadataGraphNode> inNodes;
    
        /** nodes, exident to this (I depend on) */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. tests/test_union_inherited_body.py

    from dirty_equals import IsDict
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Optional[str] = None
    
    
    class ExtendedItem(Item):
        age: int
    
    
    @app.post("/items/")
    def save_union_different_body(item: Union[ExtendedItem, Item]):
        return {"item": item}
    
    
    client = TestClient(app)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Tests for ALPN overriding on Android.
     */
    @Tag("Remote")
    class AlpnOverrideTest {
      class CustomSSLSocketFactory(
        delegate: SSLSocketFactory,
      ) : DelegatingSSLSocketFactory(delegate) {
        override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/annotations/GwtIncompatible.java

     * "http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/shared/GwtIncompatible.html">the
     * {@code @GwtIncompatible} annotation in GWT itself</a>.
     *
     * @author Charles Fry
     */
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD})
    @Documented
    @GwtCompatible
    public @interface GwtIncompatible {
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/path-params.md

    Und weil das generierte Schema vom <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md" class="external-link" target="_blank">OpenAPI</a>-Standard kommt, gibt es viele kompatible Tools.
    
    Zum Beispiel bietet **FastAPI** selbst eine alternative API-Dokumentation (verwendet ReDoc), welche Sie unter <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a> einsehen können:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top