Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 262 for getInstance (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

      // for version differences
      override fun newSSLContext(): SSLContext =
        // supports TLSv1.3 by default (version api is >= 1.4.0)
        SSLContext.getInstance("TLS", provider)
    
      override fun platformTrustManager(): X509TrustManager {
        val trustManagers =
          TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()).apply {
            init(null as KeyStore?)
          }.trustManagers!!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java

                return (Calendar) o;
            }
            final java.util.Date date = DateConversionUtil.toDate(o, pattern);
            if (date != null) {
                final Calendar cal = Calendar.getInstance();
                cal.setTime(date);
                return cal;
            }
            return null;
        }
    
        /**
         * ローカルの{@link TimeZone}と{@link Locale}をもつ{@link Calendar}に変換します。
         *
         * @param calendar
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/SingletonContext.java

         * specified through this <tt>jcifs.properties</tt> system property.
         * 
         * @return a global context, initialized on first call
         */
        public static synchronized final SingletonContext getInstance () {
            if ( INSTANCE == null ) {
                try {
                    log.debug("Initializing singleton context");
                    init(null);
                }
                catch ( CIFSException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 08:53:08 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      @Override
      @CheckForNull
      public <T extends @NonNull B> T getInstance(Class<T> type) {
        return trustedGet(TypeToken.of(type));
      }
    
      @Override
      @CheckForNull
      public <T extends @NonNull B> T getInstance(TypeToken<T> type) {
        return trustedGet(type.rejectTypeVariables());
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        }
                    }
                    //noinspection unchecked
                    return (Q) map(map, this::getInstance);
                };
            }
    
            private <Q> Q getInstance(Binding<Q> binding) {
                return compile(binding).get();
            }
    
            private static Comparator<Binding<?>> getBindingComparator() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

     * A map, each entry of which maps a Java <a href="http://tinyurl.com/2cmwkz">raw type</a> to an
     * instance of that type. In addition to implementing {@code Map}, the additional type-safe
     * operations {@link #putInstance} and {@link #getInstance} are available.
     *
     * <p>Like any other {@code Map<Class, Object>}, this map may contain entries for primitive types,
     * and a primitive type and its corresponding wrapper type may map to different values.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                checkForUpdates = true;
            } else if (UPDATE_POLICY_DAILY.equals(updatePolicy)) {
                // Get local midnight boundary
                Calendar cal = Calendar.getInstance();
    
                cal.set(Calendar.HOUR_OF_DAY, 0);
                cal.set(Calendar.MINUTE, 0);
                cal.set(Calendar.SECOND, 0);
                cal.set(Calendar.MILLISECOND, 0);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/Crawler.java

                        + ", hotThread=" + hotThread + "]";
            }
    
        }
    
        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    
        public static void main(final String[] args) {
            final Options options = new Options();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

          )
    
        val keyManagerFactory = KeyManagerFactory.getInstance("NewSunX509")
        keyManagerFactory.init(KeyStoreBuilderParameters(builderList))
        val keyManager = keyManagerFactory.keyManagers[0] as X509ExtendedKeyManager
    
        val trustManager = Platform.get().platformTrustManager()
    
        val sslContext = SSLContext.getInstance("TLS")
        sslContext.init(arrayOf(keyManager), arrayOf(trustManager), SecureRandom())
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java

    public class ICUNormalizer implements Normalizer {
        protected Transliterator transliterator;
    
        public ICUNormalizer(final String transliteratorId) {
            transliterator = Transliterator.getInstance(transliteratorId);
        }
    
        @Override
        public String normalize(final String text, final String field, final String... langs) {
            return transliterator.transliterate(text);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top