Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for simulation (0.9 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/index/suffixarray/suffixarray_test.go

    		[]string{
    			"Now",
    			"the time",
    			"to come the aid",
    			"is the time for all good men to come to the aid of their",
    			"to (come|the)?",
    		},
    	},
    
    	{
    		"godoc simulation",
    		"package main\n\nimport(\n    \"rand\"\n    ",
    		[]string{},
    	},
    }
    
    // find all occurrences of s in source; report at most n occurrences
    func find(src, s string, n int) []int {
    	var res []int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/math/rand/v2/rand.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package rand implements pseudo-random number generators suitable for tasks
    // such as simulation, but it should not be used for security-sensitive work.
    //
    // Random numbers are generated by a [Source], usually wrapped in a [Rand].
    // Both types should be used by a single goroutine at a time: sharing among
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/math/rand/rand.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package rand implements pseudo-random number generators suitable for tasks
    // such as simulation, but it should not be used for security-sensitive work.
    //
    // Random numbers are generated by a [Source], usually wrapped in a [Rand].
    // Both types should be used by a single goroutine at a time: sharing among
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	}
    	c.Step(DefaultPodInitialBackoffDuration)
    	// Move all unschedulable pods to the active queue.
    	q.MoveAllToActiveOrBackoffQueue(logger, UnschedulableTimeout, nil, nil, nil)
    	// Simulation is over. Now let's pop all pods. The pod popped first should be
    	// the last one we pop here.
    	for i := 0; i < 5; i++ {
    		p, err := q.Pop(logger)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-confuse-seq-across-generations.go

    // GoStatus event.
    //
    // The situation is one in which it just so happens that
    // an event on the frontier for a following generation
    // has a sequence number exactly one higher than the last
    // sequence number for e.g. a goroutine in the previous
    // generation. The parser should wait to find a GoStatus
    // event before advancing into the next generation at all.
    // It turns out this situation is pretty rare; the GoStatus
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/security.go

    	re(`-m(no-)?ms-bitfields`),
    	re(`-m(no-)?stack-(.+)`),
    	re(`-mmacosx-(.+)`),
    	re(`-mios-simulator-version-min=(.+)`),
    	re(`-miphoneos-version-min=(.+)`),
    	re(`-mlarge-data-threshold=[0-9]+`),
    	re(`-mtvos-simulator-version-min=(.+)`),
    	re(`-mtvos-version-min=(.+)`),
    	re(`-mwatchos-simulator-version-min=(.+)`),
    	re(`-mwatchos-version-min=(.+)`),
    	re(`-mnop-fun-dllimport`),
    	re(`-m(no-)?sse[0-9.]*`),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractFirPluginPrototypeCompilerFacilityTestWithAnalysis.kt

     * and CodeGen API. For example, AA generates `FirLiteralExpression` for an initializer of a property, while CodeGen API generates
     * `FirLazyExpression`. The difference can result in crashes. This class helps us test the IDE situation that first calls analysis
     * APIs and conducts CodeGen.
     */
    abstract class AbstractFirPluginPrototypeCompilerFacilityTestWithAnalysis : AbstractFirPluginPrototypeMultiModuleCompilerFacilityTest() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top