Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 529 for GetInstance (0.24 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassDecoder.kt

        private
        val classes = ReadIdentities()
    
        private
        val scopes = ReadIdentities()
    
        override fun ReadContext.decodeClass(): Class<*> {
            val id = readSmallInt()
            val type = classes.getInstance(id)
            if (type != null) {
                return type as Class<*>
            }
            val name = readString()
            val classLoader = if (readBoolean()) {
                val scope = readScope()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

      private val provider: Provider = BouncyCastleJsseProvider()
    
      override fun newSSLContext(): SSLContext = SSLContext.getInstance("TLS", provider)
    
      override fun platformTrustManager(): X509TrustManager {
        val factory =
          TrustManagerFactory.getInstance(
            "PKIX",
            BouncyCastleJsseProvider.PROVIDER_NAME,
          )
        factory.init(null as KeyStore?)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java

                initialized = true;
            }
        }
    
        public static synchronized NativeServices getInstance() {
            if (nativeServices == null) {
                initialize();
                nativeServices = NativeServices.getInstance();
            }
            return nativeServices;
        }
    
        public static File getNativeServicesDir() {
            return TEST_DIR.file("build/native-libs");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/crypto/CachedCipher.java

            Cipher cipher = encryptoQueue.poll();
            if (cipher == null) {
                final SecretKeySpec sksSpec = new SecretKeySpec(key.getBytes(), algorithm);
                try {
                    cipher = Cipher.getInstance(algorithm);
                    cipher.init(Cipher.ENCRYPT_MODE, sksSpec);
                } catch (final InvalidKeyException e) {
                    throw new InvalidKeyRuntimeException(e);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/EmptyChildMap.java

    public class EmptyChildMap<T> implements ChildMap<T> {
        private static final EmptyChildMap<Object> INSTANCE = new EmptyChildMap<>();
    
        @SuppressWarnings("unchecked")
        public static <T> EmptyChildMap<T> getInstance() {
            return (EmptyChildMap<T>) INSTANCE;
        }
    
        private EmptyChildMap() {
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/packages/KotlinPackageProviderFactory.kt

     */
    public abstract class KotlinPackageProviderMerger : KotlinComposableProviderMerger<KotlinPackageProvider>, KotlinPlatformComponent {
        public companion object {
            public fun getInstance(project: Project): KotlinPackageProviderMerger = project.getService(KotlinPackageProviderMerger::class.java)
        }
    }
    
    public fun Project.createPackageProvider(searchScope: GlobalSearchScope): KotlinPackageProvider =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                        + numOfThreads + "]";
            }
    
        }
    
        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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                        return injector.getInstance(type);
                    } catch (DIException e) {
                        throw new MavenException("Unable to locate instance of type " + type, e);
                    }
                }
    
                @Override
                public <T> T lookup(Class<T> type, String name) {
                    try {
                        return injector.getInstance(Key.of(type, name));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/permissions/permissions.kt

     */
    @OptIn(KaAnalysisApiInternals::class)
    public inline fun <R> forbidAnalysis(description: String, action: () -> R): R {
        val permissionRegistry = KaAnalysisPermissionRegistry.getInstance()
        if (permissionRegistry.explicitAnalysisRestriction != null) return action()
    
        permissionRegistry.explicitAnalysisRestriction = KaExplicitAnalysisRestriction(description)
        return try {
            action()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            case Smb2Constants.SMB2_DIALECT_0210:
                m = Mac.getInstance("HmacSHA256");
                signingKey = sessionKey;
                break;
            case Smb2Constants.SMB2_DIALECT_0300:
            case Smb2Constants.SMB2_DIALECT_0302:
                signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, new byte[0] /* unimplemented */);
                m = Mac.getInstance("AESCMAC", Crypto.getProvider());
                break;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
Back to top