Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 267 for setInstance (0.06 sec)

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

      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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/SingletonContext.java

         * specified through this <code>jcifs.properties</code> 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 (final CIFSException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

                        transportContextField.setAccessible(true);
                        transportContextField.set(this, SingletonContext.getInstance());
    
                        java.lang.reflect.Field credentialsSuppliedField = NetworkExplorer.class.getDeclaredField("credentialsSupplied");
                        credentialsSuppliedField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

        }
    
        /**
         * Initializes the necessary probes for monitoring system resources.
         */
        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    
        /**
         * The main method for the SuggestCreator application.
         *
         * @param args The command-line arguments.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. generics.go

    	return c.g.apply(ctx).CreateInBatches(r, batchSize).Error
    }
    
    type chainG[T any] struct {
    	execG[T]
    }
    
    func (c chainG[T]) getInstance() *DB {
    	var r T
    	return c.g.apply(context.Background()).Model(r).getInstance()
    }
    
    func (c chainG[T]) with(v op) chainG[T] {
    	return chainG[T]{
    		execG: execG[T]{g: &g[T]{
    			db:  c.g.db,
    			ops: append(append([]op(nil), c.g.ops...), v),
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

         * to ensure they are available for system monitoring during crawling.
         */
        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    
        /**
         * Main entry point for the crawler application.
         * Parses command-line arguments, initializes the application container,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

      override fun isCleartextTrafficPermitted(hostname: String): Boolean =
        when {
          Build.VERSION.SDK_INT >= 24 -> NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(hostname)
          Build.VERSION.SDK_INT >= 23 -> NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted
          else -> true
        }
    
      override fun buildCertificateChainCleaner(trustManager: X509TrustManager): CertificateChainCleaner =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 16:52:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

      // defaulted versions for TLS based on what is requested.
      override fun newSSLContext(): SSLContext = SSLContext.getInstance("TLSv1.3", provider)
    
      override fun platformTrustManager(): X509TrustManager {
        val factory =
          TrustManagerFactory.getInstance(
            TrustManagerFactory.getDefaultAlgorithm(),
            provider,
          )
        factory.init(null as KeyStore?)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

            assertEquals(date, cal.getTime());
        }
    
        /**
         *
         * @throws Exception
         */
        @Test
        public void testLocalize() throws Exception {
            final Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("JST"));
            final Calendar local = CalendarConversionUtil.localize(calendar);
            assertEquals(TimeZone.getDefault(), local.getTimeZone());
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top