Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,111 for ONCE (0.05 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	configurationName string
    
    	initObjectSelector sync.Once
    	objectSelector     labels.Selector
    	objectSelectorErr  error
    
    	initNamespaceSelector sync.Once
    	namespaceSelector     labels.Selector
    	namespaceSelectorErr  error
    
    	initClient sync.Once
    	client     *rest.RESTClient
    	clientErr  error
    
    	compileMatcher  sync.Once
    	compiledMatcher matchconditions.Matcher
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/hns_test.go

    	epIpAddressRemote = "192.168.2.3"
    	epPaAddress       = "10.0.0.3"
    	protocol          = 6
    	internalPort      = 80
    	externalPort      = 32440
    )
    
    func TestGetNetworkByName(t *testing.T) {
    	// TODO: remove skip once the test has been fixed.
    	t.Skip("Skipping failing test on Windows.")
    	hns := hns{hcn: newHcnImpl()}
    	Network := mustTestNetwork(t)
    
    	network, err := hns.getNetworkByName(Network.Name)
    	if err != nil {
    		t.Error(err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/cc_test.go

    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    	"testing"
    	"time"
    	"unicode"
    )
    
    var overcommit struct {
    	sync.Once
    	value int
    	err   error
    }
    
    // requireOvercommit skips t if the kernel does not allow overcommit.
    func requireOvercommit(t *testing.T) {
    	t.Helper()
    
    	overcommit.Once.Do(func() {
    		var out []byte
    		out, overcommit.err = os.ReadFile("/proc/sys/vm/overcommit_memory")
    		if overcommit.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/caching_object.go

    type metaRuntimeInterface interface {
    	runtime.Object
    	metav1.Object
    }
    
    // serializationResult captures a result of serialization.
    type serializationResult struct {
    	// once should be used to ensure serialization is computed once.
    	once sync.Once
    
    	// raw is serialized object.
    	raw []byte
    	// err is error from serialization.
    	err error
    }
    
    // serializationsCache is a type for caching serialization results.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 18:03:48 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    // times before a context cancellation is detected. If immediate is true, condition will be
    // invoked before waiting and guarantees that condition is invoked at least once, regardless of
    // whether the context has been cancelled.
    func PollUntilContextCancel(ctx context.Context, interval time.Duration, immediate bool, condition ConditionWithContextFunc) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  6. cmd/prepare-storage.go

    		}
    		// Once is set and we are here means error was already
    		// printed once.
    		if once {
    			return
    		}
    		// once not set, check if same error occurred 3 times in
    		// a row, then make sure we print it to call attention.
    		if m[err.Error()] > 2 {
    			peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err))
    			// Reduce the count to introduce further delay in printing
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    // than once for the same mux will result in a panic.
    func InstallLivezHandler(mux mux, checks ...HealthChecker) {
    	InstallPathHandler(mux, "/livez", checks...)
    }
    
    // InstallPathHandler registers handlers for health checking on
    // a specific path to mux. *All handlers* for the path must be
    // specified in exactly one call to InstallPathHandler. Calling
    // InstallPathHandler more than once for the same path and mux will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. src/net/rpc/server_test.go

    	"runtime"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    var (
    	newServer                 *Server
    	serverAddr, newServerAddr string
    	httpServerAddr            string
    	once, newOnce, httpOnce   sync.Once
    )
    
    const (
    	newHttpPath = "/foo"
    )
    
    type Args struct {
    	A, B int
    }
    
    type Reply struct {
    	C int
    }
    
    type Arith int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 05:23:29 UTC 2023
    - 19K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/remote-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/maven-it-plugin-0.1.jar

    org.apache.maven.plugin.coreit.DMojo java per-lookup once-per-session java Does nothing. false true false false false true generate-sources org.apache.maven.plugin.coreit.AMojo java per-lookup once-per-session models java.lang.String[] false true version java.lang.String false true ${version} generate-test-metadata Does nothing. test false true false false false true process-test-classes org.apache.maven.plugin.coreit.EMojo java per-lookup once-per-session it Does nothing. compile false true false...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

        your response for more than 2 weeks.
    
    **4. Approved**
    
    -   Once the PR is approved, it gets `kokoro:force-run` label applied and it
        initiates CI/CD tests.
    -   We can't move forward if these tests fail.
    -   In such situations, we may request you to make further changes to your PR
        for the tests to pass.
    -   Once the tests pass, we now bring all the code into the internal code base,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:45:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top