Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for svctest (0.12 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go

    	"golang.org/x/tools/internal/aliases"
    )
    
    //go:embed doc.go
    var doc string
    
    var reportSubtest bool
    
    func init() {
    	Analyzer.Flags.BoolVar(&reportSubtest, "subtest", false, "whether to check if t.Run subtest is terminated correctly; experimental")
    }
    
    var Analyzer = &analysis.Analyzer{
    	Name:     "testinggoroutine",
    	Doc:      analysisutil.MustExtractDoc(doc, "testinggoroutine"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/httproute.go

    				for svcHost := range servicesByName {
    					if host.Name(h).Matches(svcHost) {
    						match = true
    						break
    					}
    				}
    			} else {
    				// If non wildcard vs host isn't be found in service map, only loop through
    				// wildcard service hosts to avoid repeated matching.
    				for _, svcHost := range wcSvcHosts {
    					if host.Name(h).Matches(svcHost) {
    						match = true
    						break
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster.go

    		} else {
    			if subset == "" {
    				sets.InsertOrNew(serviceClusters, string(svcHost), cluster)
    			} else {
    				sets.InsertOrNew(subsetClusters, string(svcHost), cluster)
    			}
    			if servicePortClusters[string(svcHost)] == nil {
    				servicePortClusters[string(svcHost)] = make(map[int]string)
    			}
    			servicePortClusters[string(svcHost)][port] = cluster
    		}
    	}
    
    	for key := range updates.ConfigsUpdated {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  4. src/net/main_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"flag"
    	"fmt"
    	"net/internal/socktest"
    	"os"
    	"runtime"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    var (
    	sw socktest.Switch
    
    	// uninstallTestHooks runs just before a run of benchmarks.
    	testHookUninstaller sync.Once
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/net/internal/socktest/switch.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package socktest provides utilities for socket testing.
    package socktest
    
    import (
    	"fmt"
    	"sync"
    )
    
    // A Switch represents a callpath point switch for socket system
    // calls.
    type Switch struct {
    	once sync.Once
    
    	fmu   sync.RWMutex
    	fltab map[FilterType]Filter
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/go/script_test.go

    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/script"
    	"cmd/go/internal/script/scripttest"
    	"cmd/go/internal/vcweb/vcstest"
    
    	"golang.org/x/telemetry/counter/countertest"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/apis.go

    import (
    	"fmt"
    
    	"k8s.io/apiserver/pkg/registry/generic"
    	genericapiserver "k8s.io/apiserver/pkg/server"
    	serverstorage "k8s.io/apiserver/pkg/server/storage"
    	"k8s.io/client-go/discovery"
    	"k8s.io/klog/v2"
    	svmrest "k8s.io/kubernetes/pkg/registry/storagemigration/rest"
    
    	admissionregistrationrest "k8s.io/kubernetes/pkg/registry/admissionregistration/rest"
    	apiserverinternalrest "k8s.io/kubernetes/pkg/registry/apiserverinternal/rest"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. pkg/test/framework/components/cluster/cluster.go

    	// Use StableName instead of Name when creating subtests.
    	Name() string
    
    	// StableName gives a deterministic name for the cluster. Use this for test/subtest names to
    	// allow test grid to compare runs, even when the underlying cluster names are dynamic.
    	// Use Name for validation/interaction with the actual cluster.
    	StableName() string
    
    	// NetworkName the cluster is on
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/testing/fuzz.go

    			testName = fmt.Sprintf("%s/%s", testName, filepath.Base(e.Path))
    		}
    		if f.testContext.isFuzzing {
    			// Don't preserve subtest names while fuzzing. If fn calls T.Run,
    			// there will be a very large number of subtests with duplicate names,
    			// which will use a large amount of memory. The subtest names aren't
    			// useful since there's no way to re-run them deterministically.
    			f.testContext.match.clearSubNames()
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. pkg/test/framework/testcontext.go

    }
    
    func (c *testContext) NewSubTest(name string) Test {
    	if c.test == nil {
    		panic(fmt.Sprintf("Attempting to create subtest %s from a TestContext with no associated Test", name))
    	}
    
    	if c.test.goTest == nil || c.test.ctx == nil {
    		panic(fmt.Sprintf("Attempting to create subtest %s before running parent", name))
    	}
    
    	tc, span := tracing.Start(c.test.tc, name)
    
    	return &testImpl{
    		tc:     tc,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top