Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 732 for require (0.19 sec)

  1. 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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt

            firExplicitReceiver = explicitReceiver?.let(::findReceiverFirExpression)
        }
    
        override fun computeApplicability(candidate: KtCallableSymbol): KtExtensionApplicabilityResult {
            require(candidate is KtFirSymbol<*>)
    
            analysisSession.withValidityAssertion {
                val firSymbol = candidate.firSymbol as FirCallableSymbol<*>
                firSymbol.lazyResolveToPhase(FirResolvePhase.STATUS)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

        if (flushHeaders) {
          connection.flush()
        }
      }
    
      fun enqueueTrailers(trailers: Headers) {
        this.withLock {
          check(!sink.finished) { "already finished" }
          require(trailers.size != 0) { "trailers.size() == 0" }
          this.sink.trailers = trailers
        }
      }
    
      fun readTimeout(): Timeout = readTimeout
    
      fun writeTimeout(): Timeout = writeTimeout
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  4. 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 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. cmd/metrics-v3-handler.go

    	var notFoundHandler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		http.Error(w, "Metrics Resource Not found", http.StatusNotFound)
    	})
    
    	// Require that metrics path has at least component.
    	if path == "/" {
    		return notFoundHandler
    	}
    
    	if isListingRequest {
    		handler := h.listMetrics(path)
    		if handler == nil {
    			return notFoundHandler
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. cni/pkg/util/podutil.go

    		// Ztunnel and sidecar for a single pod is currently not supported; opt out.
    		return false
    	}
    	// TODO: delete this block when there is a way for users to signal the intent to exclude
    	// a pod from ambient that does not require the use of this annotation
    	if pod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionDisabled {
    		// Pod explicitly asked to not have redirection enabled
    		return false
    	}
    	return true
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/testing.md

    It has a `GET` operation that could return an error.
    
    It has a `POST` operation that could return several errors.
    
    Both *path operations* require an `X-Token` header.
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            val assignmentRValue = fir.rValue
            if (expression is KtOperationReferenceExpression &&
                assignmentRValue.source?.kind is KtFakeSourceElementKind.DesugaredAugmentedAssign
            ) {
                require(assignmentRValue is FirResolvable) {
                    "Rvalue of desugared compound assignment should be resolvable, but it was ${assignmentRValue::class}"
                }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                }
            };
        }
    
        @Provides
        static PackagingRegistry newPackagingRegistry(TypeRegistry typeRegistry) {
            return id -> Optional.of(new DumbPackaging(id, typeRegistry.require(id), Map.of()));
        }
    
        @Provides
        static TypeRegistry newTypeRegistry(List<TypeProvider> providers) {
            return new TypeRegistry() {
                @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/sql-databases.md

    **FastAPI** doesn't require you to use a SQL (relational) database.
    
    But you can use any relational database that you want.
    
    Here we'll see an example using <a href="https://www.sqlalchemy.org/" class="external-link" target="_blank">SQLAlchemy</a>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top