Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for get_default (0.19 sec)

  1. fastapi/_compat.py

                return self.get_default()
    
            @property
            def type_(self) -> Any:
                return self.field_info.annotation
    
            def __post_init__(self) -> None:
                self._type_adapter: TypeAdapter[Any] = TypeAdapter(
                    Annotated[self.field_info.annotation, self.field_info]
                )
    
            def get_default(self) -> Any:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        }
      }
    
      companion object {
        private val DEFAULT_PROXY_SELECTOR = ProxySelector.getDefault()
        private val DEFAULT_COOKIE_HANDLER = CookieManager.getDefault()
        private val DEFAULT_RESPONSE_CACHE = ResponseCache.getDefault()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        }
    
        @Test
        void testLocaleIndependent() {
            Locale orig = Locale.getDefault();
            Locale[] locales = {Locale.ENGLISH, new Locale("tr"), Locale.getDefault()};
            try {
                for (Locale locale : locales) {
                    Locale.setDefault(locale);
                    checkVersionsEqual("1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

            Locale orig = Locale.getDefault();
            try {
                Locale[] locales = {Locale.ENGLISH, new Locale("tr")};
                for (Locale locale : locales) {
                    Locale.setDefault(locale);
                    assertOrder(X_EQ_Y, "1-abcdefghijklmnopqrstuvwxyz", "1-ABCDEFGHIJKLMNOPQRSTUVWXYZ");
                }
            } finally {
                Locale.setDefault(orig);
            }
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

        val tlsSpec =
          ConnectionSpec.Builder(true)
            .tlsVersions(TlsVersion.TLS_1_2)
            .supportsTlsExtensions(false)
            .build()
        val socket = SSLSocketFactory.getDefault().createSocket() as SSLSocket
        socket.enabledCipherSuites =
          arrayOf(
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName,
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. fastapi/openapi/utils.py

                            response_schema = {}
                    operation.setdefault("responses", {}).setdefault(
                        status_code, {}
                    ).setdefault("content", {}).setdefault(route_response_media_type, {})[
                        "schema"
                    ] = response_schema
                if route.responses:
                    operation_responses = operation.setdefault("responses", {})
                    for (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         * デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#SHORT}スタイルのパターン文字列
         */
        public static String getShortPattern() {
            return getShortPattern(LocaleUtil.getDefault());
        }
    
        /**
         * 指定されたロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @param locale
         *            ロケール。{@literal null}であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        setDefault(byte.class, (byte) 1);
        setDefault(Byte.class, (byte) 1);
        setDefault(short.class, (short) 1);
        setDefault(Short.class, (short) 1);
        setDefault(int.class, 1);
        setDefault(Integer.class, 1);
        setDefault(long.class, 1L);
        setDefault(Long.class, 1L);
        setDefault(float.class, 1F);
        setDefault(Float.class, 1F);
        setDefault(double.class, 1D);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        }
    
        private
        fun getFailedTaskPaths(projectPath: String) = projectPathToFailedTaskPaths.getOrDefault(projectPath, emptyList())
    
        private
        fun getExecutedTaskPaths(projectPath: String) = projectPathToExecutedTaskPaths.getOrDefault(projectPath, emptyList())
    
        override fun close() {
            val projectPathToLeftoverFiles = mutableMapOf<String, LeftoverFiles>()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        }
    
        private MavenProject getProject(Artifact artifact) {
            return getAllProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .getOrDefault(artifact.getBaseVersion(), null);
        }
    
        // groupId -> (artifactId -> (version -> project)))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top