Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for require (0.23 sec)

  1. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

      override fun isCanceled() = canceled
    
      override fun plan(): FakePlan {
        // Return deferred plans preferentially. These don't require addPlan().
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan
    
        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
          "not enough plans! call addPlan() or set autoGeneratePlans=true in the test to set this up"
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      ) : SerialTask {
        override fun start() {
          taskRunner.assertThreadHoldsLock()
          require(currentTask == this)
          activeThreads++
    
          tasksExecutor.execute {
            taskRunner.assertThreadDoesntHoldLock()
            require(currentTask == this)
            try {
              runnable.run()
              require(currentTask == this) { "unexpected current task: $currentTask" }
            } finally {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

        }
    
        override fun getFileScope(fileSymbol: KtFileSymbol): KtScope {
            require(fileSymbol is KtFe10FileSymbol)
            return KtFe10FileScope(fileSymbol.psi, analysisContext, token)
        }
    
        override fun getPackageScope(packageSymbol: KtPackageSymbol): KtScope {
            require(packageSymbol is KtFe10PackageSymbol)
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. cni/README.md

    ## Privileges required
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            shortenOptions: ShortenOptions,
            classShortenStrategy: (KtClassLikeSymbol) -> ShortenStrategy,
            callableShortenStrategy: (KtCallableSymbol) -> ShortenStrategy
        ): ShortenCommand {
            require(!file.isCompiled) { "No sense to collect references for shortening in compiled file $file" }
    
            val declarationToVisit = file.findSmallestElementOfTypeContainingSelection<KtDeclaration>(selection)
                ?: file
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  6. architecture/ambient/ztunnel.md

    In our testing, even the most generous representations give custom types a 10x edge (in size, allocations, and CPU time) over Envoy types.
    In addition, they are more clear and strictly typed; using Envoy types would require us to put a lot of information in untyped `metadata` maps.
    
    With this in mind, Ztunnel supports two xDS resources: `Address` and `Authorization`.
    
    ### Address Type
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  7. docs/en/docs/features.md

    * Even dependencies can have dependencies, creating a hierarchy or **"graph" of dependencies**.
    * All **automatically handled** by the framework.
    * All the dependencies can require data from requests and **augment the path operation** constraints and automatic documentation.
    * **Automatic validation** even for *path operation* parameters defined in dependencies.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                in diagnosticWithResolvedCallsAtPosition1 -> {
                    require(diagnostic is DiagnosticWithParameters1<*, *>)
                    @Suppress("UNCHECKED_CAST")
                    diagnostic.a as Collection<ResolvedCall<*>>
                }
                in diagnosticWithResolvedCallsAtPosition2 -> {
                    require(diagnostic is DiagnosticWithParameters2<*, *, *>)
                    @Suppress("UNCHECKED_CAST")
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    Available JDKs on your machine are automatically detected and wired for the various compile and test tasks.
    Some tests require multiple JDKs to be installed on your computer, be aware of this if you make changes related to anything toolchains related.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                    )
                }
                is FirPropertyAccessExpression, is FirCallableReferenceAccess -> {
                    @Suppress("USELESS_IS_CHECK") // K2 warning suppression, TODO: KT-62472
                    require(fir is FirQualifiedAccessExpression)
                    when (unsubstitutedKtSignature.symbol) {
                        is KtVariableLikeSymbol -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
Back to top