Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 474 for gce_instance (0.23 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSessionProvider.kt

            KaAnalysisPermissionRegistry.getInstance().isAnalysisAllowedInWriteAction &&
            ApplicationManager.getApplication().isWriteAccessAllowed
        ) {
            // We must flush modifications to publish local modifications into FIR tree
            @OptIn(LLFirInternals::class)
            LLFirDeclarationModificationService.getInstance(project).flushModifications()
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. gorm.go

    	}
    
    	if config.Initialized {
    		tx = tx.getInstance()
    	}
    
    	return tx
    }
    
    // WithContext change current instance db's context to ctx
    func (db *DB) WithContext(ctx context.Context) *DB {
    	return db.Session(&Session{Context: ctx})
    }
    
    // Debug start debug mode
    func (db *DB) Debug() (tx *DB) {
    	tx = db.getInstance()
    	return tx.Session(&Session{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Aug 20 11:46:56 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPackageSymbol.kt

        override val token: KaLifetimeToken
    ) : KaPackageSymbol(), KaLifetimeOwner {
        override val psi: PsiElement? by cached {
            JavaPsiFacade.getInstance(project).findPackage(fqName.asString())
                ?: KtPackage(PsiManager.getInstance(project), fqName, GlobalSearchScope.allScope(project)/*TODO*/)
        }
    
        override val origin: KaSymbolOrigin
            get() = withValidityAssertion { KaSymbolOrigin.SOURCE } // TODO
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/sessions/KaBaseSessionProvider.kt

            KaAnalysisPermissionChecker.getInstance(project)
        }
    
        /**
         * Caches [KaBaseLifetimeTracker] to avoid repeated [Project.getService] calls in [analyze].
         */
        @KaCachedService
        private val lifetimeTracker by lazy(LazyThreadSafetyMode.PUBLICATION) {
            KaBaseLifetimeTracker.getInstance(project)
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/CliFe10AnalysisFacade.kt

            return KaFe10AnalysisHandlerExtension.getInstance(project, ktModule)
        }
    
        private fun <T : Any> T?.orThrowResolutionNotPerformedError(): T =
            this ?: error("Resolution is not performed")
    }
    
    class KaFe10AnalysisHandlerExtension(
        private val useSiteModule: KtSourceModule? = null
    ) : AnalysisHandlerExtension {
        internal companion object {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinAnnotationsResolver.kt

        public companion object {
            public fun getInstance(project: Project): KotlinAnnotationsResolverFactory =
                project.getService(KotlinAnnotationsResolverFactory::class.java)
        }
    }
    
    public fun Project.createAnnotationResolver(searchScope: GlobalSearchScope): KotlinAnnotationsResolver =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/lifetime/KotlinReadActionConfinementLifetimeToken.kt

         */
        @KaCachedService
        private val permissionChecker = KaAnalysisPermissionChecker.getInstance(project)
    
        /**
         * Caches [KaLifetimeTracker] to avoid repeated [Project.getService] calls in validity assertions.
         */
        @KaCachedService
        private val lifetimeTracker = KaLifetimeTracker.getInstance(project)
    
        override val factory: KaLifetimeTokenFactory get() = KotlinReadActionConfinementLifetimeTokenFactory
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/java/source/JavaElementSourceWithSmartPointerFactory.kt

    class JavaElementSourceWithSmartPointerFactory(project: Project) : JavaElementSourceFactory() {
        private val smartTypePointerManager = SmartTypePointerManager.getInstance(project)
        private val smartPsiPointerManager = SmartPointerManager.getInstance(project)
    
        override fun <PSI : PsiElement> createPsiSource(psi: PSI): JavaElementPsiSource<PSI> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 14 09:25:26 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/analyze.kt

     *
     * @see KaSession
     */
    public inline fun <R> analyze(
        useSiteKtElement: KtElement,
        action: KaSession.() -> R
    ): R =
        KaSessionProvider.getInstance(useSiteKtElement.project)
            .analyze(useSiteKtElement, action)
    
    /**
     * Executes the given [action] in a [KaSession] context.
     *
     * The project will be analyzed from the perspective of the given [useSiteKtModule].
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top