- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 359 for simulation (0.12 sec)
-
pilot/pkg/networking/core/peer_authentication_simulation_test.go
protocol: HTTP ---` mkCall := func(port int, tls simulation.TLSMode) simulation.Call { r := simulation.Call{Protocol: simulation.HTTP, Port: port, CallMode: simulation.CallModeInbound, TLS: tls} if tls == simulation.MTLS { r.Alpn = "istio" } return r } cases := []struct { name string config string calls []simulation.Expect }{ { name: "global disable",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 16.2K bytes - Viewed (0) -
pilot/pkg/networking/core/serviceentry_simulation_test.go
kubeConfig: "", calls: []simulation.Expect{{ // Expect listener, but no routing Name: "defined port", Call: simulation.Call{ Port: 9999, HostHeader: "blah.somedomain", Address: "1234:1f1:1:1:1:1:1:1", Protocol: simulation.HTTP, }, Result: simulation.Result{ ListenerMatched: "0.0.0.0_9999",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 21:06:06 UTC 2024 - 4.9K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
--- ` cases := []struct { Name string Call simulation.Call Disabled simulation.Result Permissive simulation.Result Strict simulation.Result }{ { Name: "tcp", Call: simulation.Call{ Port: 70, Protocol: simulation.TCP, CallMode: simulation.CallModeInbound, }, Disabled: simulation.Result{ ClusterMatched: "inbound|70||", },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway_simulation_test.go
Protocol: simulation.HTTP, }, Result: simulation.Result{ClusterMatched: "outbound|80||b.default"}, }, { Name: "undefined hostname", Call: simulation.Call{ Port: 80, HostHeader: "c.example.com", Protocol: simulation.HTTP, }, Result: simulation.Result{Error: simulation.ErrNoVirtualHost}, }, }, }, simulationTest{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 18:27:40 UTC 2024 - 46.5K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
func NewSimulation(t *testing.T, s *xds.FakeDiscoveryServer, proxy *model.Proxy) *Simulation { return NewSimulationFromConfigGen(t, s.ConfigGenTest, proxy) } // withT swaps out the testing struct. This allows executing sub tests. func (sim *Simulation) withT(t *testing.T) *Simulation { cpy := *sim cpy.t = t return &cpy } func (sim *Simulation) RunExpectations(es []Expect) { for _, e := range es {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/Passes.h
#include "mlir/Pass/Pass.h" // from @llvm-project namespace mlir { namespace func { class FuncOp; } // namespace func namespace quantfork { /// Creates a pass that converts quantization simulation operations (i.e. /// FakeQuant and those like it) to casts into/out of supported QuantizedTypes. std::unique_ptr<OperationPass<func::FuncOp>> createConvertSimulatedQuantPass();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 29 18:55:28 UTC 2022 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td
Simulates the effect of uniform quantization with const range. }]; let description = [{ Given a const min, max, num_bits and narrow_range attribute, applies the same uniform quantization simulation as is done by the TensorFlow fake_quant_with_min_max_args op. See the fakeQuantAttrsToType() utility method and the quant-convert-simulated-quantization pass for further details. }]; let arguments = (ins
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 13 12:46:08 UTC 2022 - 10.2K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
// nodes. This may cause incorrectness in graph analyses, but is useful for // simulation or scheduling. // If aggressive_shape_inference is true, nodes are executed on the host to // identify output values when possible and does other aggressive strategies. // This may cause incorrectness in graph analyses, but is useful for simulation // or scheduling. // If include_input_tensor_values is true, the values of constant
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 03 18:08:43 UTC 2022 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td
Simulates the effect of uniform quantization with const range. }]; let description = [{ Given a const min, max, num_bits and narrow_range attribute, applies the same uniform quantization simulation as is done by the TensorFlow fake_quant_with_min_max_args op. See the fakeQuantAttrsToType() utility method and the quant-convert-simulated-quantization pass for further details. }]; let arguments = (ins
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 09 03:10:59 UTC 2024 - 10.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access_test.go
} for _, q := range quotas { if q.Namespace != testNamespace1 { t.Errorf("Expected %s namespace, got %s", testNamespace1, q.Namespace) } } }() // simulation of different namespaces is a call for a different group key, but not shared with the first namespace go func() { defer wg.Done() quotas, err := accessor.GetQuotas(testNamespace2) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 13:54:56 UTC 2024 - 7.2K bytes - Viewed (0)