Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 149 for get$default (0.13 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. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            val properties = Properties()
            val ret = mutableMapOf<String, MutableList<String>>()
            properties.load(StringReader(content))
            properties.forEach { key, value ->
                val list = ret.getOrDefault(value, mutableListOf())
                list.add(key!!.toString())
                ret[value!!.toString()] = list
            }
            return ret
        }
    
    
        interface BuildBucketProvider {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

    /**
     * @author higa
     */
    public class TimeConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         *         {@literal null}ならデフォルトのロケールを返します。
         */
        protected static Locale getLocale(final Locale locale) {
            if (locale != null) {
                return locale;
            }
            return LocaleUtil.getDefault();
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. okhttp-android/src/main/baseline-prof.txt

    HSPLokio/OutputStreamSink;->close()V
    HSPLokio/OutputStreamSink;->flush()V
    HSPLokio/OutputStreamSink;->write(Lokio/Buffer;J)V
    HSPLokio/Path$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V
    HSPLokio/Path$Companion;->get$default(Lokio/Path$Companion;Ljava/io/File;ZI)Lokio/Path;
    HSPLokio/Path$Companion;->get(Ljava/lang/String;Z)Lokio/Path;
    HSPLokio/Path;-><clinit>()V
    HSPLokio/Path;-><init>(Lokio/ByteString;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/PackageSanityTests.java

        setDistinctValues(NetworkBuilder.class, NETWORK_BUILDER_A, NETWORK_BUILDER_B);
        setDistinctValues(Network.class, IMMUTABLE_NETWORK_A, IMMUTABLE_NETWORK_B);
        setDefault(EndpointPair.class, EndpointPair.ordered("A", "B"));
      }
    
      @Override
      public void testNulls() throws Exception {
        try {
          super.testNulls();
        } catch (AssertionError e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/JSSETest.kt

          assertThat(response.connection.socket().javaClass.name).isEqualTo(
            "sun.security.ssl.SSLSocketImpl",
          )
        }
      }
    
      @Test
      fun testSupportedProtocols() {
        val factory = SSLSocketFactory.getDefault()
        assertThat(factory.javaClass.name).isEqualTo("sun.security.ssl.SSLSocketFactoryImpl")
        val s = factory.createSocket() as SSLSocket
    
        when {
          PlatformVersion.majorVersion > 11 ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int TID_OFFSET        = 24;
        static final int HEADER_LENGTH     = 32;
    
        static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
        static final TimeZone TZ = TimeZone.getDefault();
    
        static final boolean USE_BATCHING = Config.getBoolean( "jcifs.smb1.smb.client.useBatching", true );
        static final String OEM_ENCODING = Config.getProperty( "jcifs.smb1.encoding", Config.DEFAULT_OEM_ENCODING );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/entity/QueryContext.java

                fieldLogMap.put(field, list);
            }
            list.add(text);
        }
    
        public List<String> getDefaultKeyword() {
            if (fieldLogMap != null) {
                return fieldLogMap.getOrDefault(Constants.DEFAULT_FIELD, Collections.emptyList());
            }
            return Collections.emptyList();
        }
    
        public void addHighlightedQuery(final String text) {
            if (highlightedQuerySet != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMap.java

         *
         * - a `getFooOrDefault(@CheckForNull Foo defaultValue)` method that returns
         *   `map.getOrDefault(FOO_KEY, defaultValue)`
         *
         * - a call that consults a chain of maps, as in `mapA.getOrDefault(key, mapB.getOrDefault(key,
         *   ...))`
         *
         * So it makes sense for the parameter (and thus the return type) to be @CheckForNull.
         *
         * Two other points:
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top