Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 8,559 for class1 (2.15 sec)

  1. docs/features/events.md

    Here’s a [sample event listener](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java) that prints each event with a timestamp.
    
    ```java
    class PrintingEventListener extends EventListener {
      private long callStartNanos;
    
      private void printEvent(String name) {
        long nowNanos = System.nanoTime();
        if (name.equals("callStart")) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> {
    
      /** A collection of elements to retain, along with a description for use in failure messages. */
      private final class Target {
        private final Collection<E> toRetain;
        private final String description;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingImmutableList.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Unused stub class, unreferenced under Java and manually emulated under GWT.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    abstract class ForwardingImmutableList<E> {
      private ForwardingImmutableList() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 905 bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SinceTagStatus.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.sources
    
    sealed interface SinceTagStatus {
        data class Present(val version: String): SinceTagStatus
        data object NotNeeded: SinceTagStatus
        data class Inconsistent(val versions: List<String?>): SinceTagStatus
        data object Missing: SinceTagStatus
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 917 bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/path-params.md

    ### Crear una clase `Enum` { #create-an-enum-class }
    
    Importa `Enum` y crea una subclase que herede de `str` y de `Enum`.
    
    Al heredar de `str`, la documentación de la API podrá saber que los valores deben ser de tipo `string` y podrá representarlos correctamente.
    
    Luego crea atributos de clase con valores fijos, que serán los valores válidos disponibles:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * }
     * public void testFooLeak() {
     *   GcFinalization.awaitClear(fooWeakRef());
     * }
     * }
     *
     * <p>This class cannot currently be used to test soft references, since this class does not try to
     * create the memory pressure required to cause soft references to be cleared.
     *
     * <p>This class only provides testing utilities. It is not designed for direct use in production or
     * for benchmarking.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/FlakyTestStrategy.kt

    package common
    
    enum class FlakyTestStrategy {
        INCLUDE,
        EXCLUDE,
        ONLY,
        ;
    
        override fun toString() = name.lowercase()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 139 bytes
    - Viewed (0)
  8. fastapi/params.py

    from typing_extensions import Literal, deprecated
    
    from ._compat import (
        Undefined,
    )
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Param(FieldInfo):  # type: ignore[misc]
        in_: ParamTypes
    
        def __init__(
            self,
            default: Any = Undefined,
            *,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/LmhostsTest.java

    /**
     * Test class for Lmhosts
     */
    class LmhostsTest {
    
        private Lmhosts lmhosts;
        private CIFSContext mockContext;
        private Configuration mockConfig;
    
        @TempDir
        Path tempDir;
    
        @BeforeEach
        void setUp() {
            lmhosts = new Lmhosts();
            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/settings.md

    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    ---> 100%
    ```
    
    </div>
    
    ### Create the `Settings` object { #create-the-settings-object }
    
    Import `BaseSettings` from Pydantic and create a sub-class, very much like with a Pydantic model.
    
    The same way as with Pydantic models, you declare class attributes with type annotations, and possibly default values.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top