Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 596 for limiting (0.61 sec)

  1. test/fixedbugs/issue20298.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 20298: "imported and not used" error report order was non-deterministic.
    // This test works by limiting the number of errors (-e=0)
    // and checking that the errors are all at the beginning.
    
    package p
    
    import (
    	"bufio"       // ERROR "imported and not used"
    	"bytes"       // ERROR "imported and not used"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 21:14:56 UTC 2017
    - 984 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook.go

    	//
    	// Set this to something reasonable so request to webhooks don't hang forever.
    	clientConfig.Timeout = defaultRequestTimeout
    
    	// Avoid client-side rate limiting talking to the webhook backend.
    	// Rate limiting should happen when deciding how many requests to serve.
    	clientConfig.QPS = -1
    
    	return clientConfig, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. src/net/rlimit_unix.go

    // file descriptor so we limit this to less than the number of
    // permitted open files. On some systems, notably Darwin, if
    // getaddrinfo is unable to open a file descriptor it simply returns
    // EAI_NONAME rather than a useful error. Limiting the number of
    // concurrent getaddrinfo calls to less than the permitted number of
    // file descriptors makes that error less likely. We don't bother to
    // apply the same limit to DNS lookups run directly from Go, because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. tests/test_custom_middleware_exception.py

    from fastapi.exceptions import HTTPException
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    class ContentSizeLimitMiddleware:
        """Content size limiting middleware for ASGI applications
        Args:
          app (ASGI application): ASGI application
          max_content_size (optional): the maximum content size allowed in bytes, None for no limit
        """
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Aug 25 21:44:40 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/webhook/client.go

    }
    
    func (cm *ClientManager) hookClientConfig(cc ClientConfig) (*rest.Config, error) {
    	complete := func(cfg *rest.Config) (*rest.Config, error) {
    		// Avoid client-side rate limiting talking to the webhook backend.
    		// Rate limiting should happen when deciding how many requests to serve.
    		cfg.QPS = -1
    
    		// Combine CAData from the config with any existing CA bundle provided
    		if len(cfg.TLSClientConfig.CAData) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 09:09:10 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/transport/NetworkingIssueVerifier.java

        /**
         * Determines if an error should cause a retry. We will currently retry:
         * <ul>
         * <li>on a network timeout</li>
         * <li>on a server error (return code 5xx)</li>
         * <li>on rate limiting</li>
         * </ul>
         */
        public static <E extends Throwable> boolean isLikelyTransientNetworkingIssue(E failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/runtime/mgclimit.go

    	//
    	// gomaxprocs isn't used directly so as to keep this structure unit-testable.
    	nprocs int32
    }
    
    // limiting returns true if the CPU limiter is currently enabled, meaning the Go GC
    // should take action to limit CPU utilization.
    //
    // It is safe to call concurrently with other operations.
    func (l *gcCPULimiterState) limiting() bool {
    	return l.enabled.Load()
    }
    
    // startGCTransition notifies the limiter of a GC transition.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/ratelimited_waitgroup.go

    	if wg.wait && delta > 0 {
    		return fmt.Errorf("add with positive delta after Wait is forbidden")
    	}
    	wg.wg.Add(delta)
    	wg.count += delta
    	return nil
    }
    
    // Done decrements the WaitGroup counter, rate limiting is applied only
    // when the wait group is in waiting mode.
    func (wg *RateLimitedSafeWaitGroup) Done() {
    	var limiter RateLimiter
    	func() {
    		wg.mu.Lock()
    		defer wg.mu.Unlock()
    
    		wg.count -= 1
    		if wg.wait {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 21 14:08:00 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/runtime/debug/garbage.go

    // The initial setting is 1 GB on 64-bit systems, 250 MB on 32-bit systems.
    // There may be a system-imposed maximum stack limit regardless
    // of the value provided to SetMaxStack.
    //
    // SetMaxStack is useful mainly for limiting the damage done by
    // goroutines that enter an infinite recursion. It only limits future
    // stack growth.
    func SetMaxStack(bytes int) int {
    	return setMaxStack(bytes)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/loopbce.go

    		// the initial value (init) and the limiting value (limit).
    		//
    		// We also know that ind has the form (Phi init nxt) where
    		// nxt is (Add inc nxt) which means: 1) inc dominates nxt
    		// and 2) there is a loop starting at inc and containing nxt.
    		//
    		// We need to prove that the induction variable is incremented
    		// only when it's smaller than the limiting value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top