- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for getHttp (0.14 sec)
-
pkg/config/analysis/analyzers/virtualservice/util.go
RouteRule: "tls", ServiceIndex: i, DestinationIndex: j, Destination: rd.GetDestination(), }) } } for i, r := range vs.GetHttp() { for j, rd := range r.GetRoute() { destinations = append(destinations, &AnnotatedDestination{ RouteRule: "http", ServiceIndex: i, DestinationIndex: j,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 07 15:18:05 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/groovy/buildSrc/src/main/java/UrlProcess.java
@Input @Option(option = "http", description = "Configures the http protocol to be allowed.") public abstract Property<Boolean> getHttp(); @Option(option = "url", description = "Configures the URL to send the request to.") public void setUrl(String url) { if (!getHttp().getOrElse(true) && url.startsWith("http://")) { throw new IllegalArgumentException("HTTP is not allowed"); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/kotlin/buildSrc/src/main/java/UrlProcess.java
@Input @Option(option = "http", description = "Configures the http protocol to be allowed.") public abstract Property<Boolean> getHttp(); @Option(option = "url", description = "Configures the URL to send the request to.") public void setUrl(String url) { if (!getHttp().getOrElse(true) && url.startsWith("http://")) { throw new IllegalArgumentException("HTTP is not allowed"); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/virtualservice/jwtclaimroute.go
c.Report(gvk.VirtualService, m) } return true }) } } func routeBasedOnJWTClaimKey(vs *v1alpha3.VirtualService) string { for _, httpRoute := range vs.GetHttp() { for _, match := range httpRoute.GetMatch() { for key := range match.GetHeaders() { if jwt.ToRoutingClaim(key).Match { return key } } for key := range match.GetWithoutHeaders() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 11 16:38:57 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternStepFactoryTest.groovy
def "creates step for ** wildcard"() { expect: def step = PatternStepFactory.getStep("**", true); step instanceof AnyWildcardPatternStep step.matches("anything") step.matches("") } def "creates step for * wildcard"() { expect: def step = PatternStepFactory.getStep("*", true); step instanceof AnyWildcardPatternStep step.matches("anything")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc
float max_percentile; OP_REQUIRES_OK(context, context->GetAttr("calibration_method", &calibration_method_value)); OP_REQUIRES_OK(context, context->GetAttr("num_bins", &num_bins)); OP_REQUIRES_OK(context, context->GetAttr("min_percentile", &min_percentile)); OP_REQUIRES_OK(context, context->GetAttr("max_percentile", &max_percentile));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 6.2K bytes - Viewed (0) -
tests/test_operations_signatures.py
def test_signatures_consistency(): base_sig = inspect.signature(APIRouter.get) for method_name in method_names: router_method = getattr(APIRouter, method_name) app_method = getattr(FastAPI, method_name) router_sig = inspect.signature(router_method) app_sig = inspect.signature(app_method) param: inspect.Parameter
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 27 12:08:13 UTC 2019 - 934 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc
string file_name; string func_name; string node_name; OP_REQUIRES_OK(ctx, ctx->GetAttr("log_dir_path", &log_dir_path)); OP_REQUIRES_OK(ctx, ctx->GetAttr("enabled", &enabled_)); OP_REQUIRES_OK(ctx, ctx->GetAttr("file_name", &file_name)); OP_REQUIRES_OK(ctx, ctx->GetAttr("func_name", &func_name)); OP_REQUIRES_OK(ctx, ctx->GetAttr("node_name", &node_name)); OP_REQUIRES_OK(ctx, ctx->env()->RecursivelyCreateDir(log_dir_path));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 03:12:17 UTC 2024 - 4.8K bytes - Viewed (0) -
tests/test_custom_route_class.py
def test_route_classes(): routes = {} for r in app.router.routes: assert isinstance(r, Route) routes[r.path] = r assert getattr(routes["/a/"], "x_type") == "A" # noqa: B009 assert getattr(routes["/a/b/"], "x_type") == "B" # noqa: B009 assert getattr(routes["/a/b/c/"], "x_type") == "C" # noqa: B009 def test_openapi_schema(): response = client.get("/openapi.json")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/aot/aot_only_var_handle_op.cc
.SetIsStateful() .SetShapeFn([](shape_inference::InferenceContext* c) { c->set_output(0, c->Scalar()); DataType t; TF_RETURN_IF_ERROR(c->GetAttr("dtype", &t)); PartialTensorShape p; TF_RETURN_IF_ERROR(c->GetAttr("shape", &p)); shape_inference::ShapeHandle s; TF_RETURN_IF_ERROR(c->MakeShapeFromPartialTensorShape(p, &s)); c->set_output_handle_shapes_and_types(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 09:57:04 UTC 2024 - 3K bytes - Viewed (0)