Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for Replies (5.96 sec)

  1. docs/en/docs/tutorial/path-params-numeric-validations.md

        ```Python hl_lines="8"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial004.py!}
        ```
    
    ## Number validations: greater than and less than or equal
    
    The same applies for:
    
    * `gt`: `g`reater `t`han
    * `le`: `l`ess than or `e`qual
    
    === "Python 3.9+"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py!}
        ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. hack/golangci-strict.yaml

              
              # The following packages have been migrated to contextual logging.
              # Packages matched here do not have to be listed above because
              # "contextual" implies "structured".
              contextual k8s.io/api/.*
              contextual k8s.io/apimachinery/pkg/util/runtime/.*
              contextual k8s.io/client-go/metadata/.*
              contextual k8s.io/client-go/tools/events/.*
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. pkg/test/framework/config.go

    			return err
    		}
    
    		for _, cfg := range yamlText {
    			cfg := cfg
    
    			// TODO(https://github.com/istio/istio/issues/37324): It's currently unsafe
    			// to call istioctl concurrently since it relies on the istioctl library
    			// (rather than calling the binary from the command line) which uses a number
    			// of global variables, which will be overwritten for each call.
    			if err := ik.WaitForConfig(ns, cfg); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/runtime/cpuprof.go

    	// Simple cas-lock to coordinate with setcpuprofilerate.
    	for !prof.signalLock.CompareAndSwap(0, 1) {
    		// TODO: Is it safe to osyield here? https://go.dev/issue/52672
    		osyield()
    	}
    
    	if prof.hz.Load() != 0 { // implies cpuprof.log != nil
    		if p.numExtra > 0 || p.lostExtra > 0 || p.lostAtomic > 0 {
    			p.addExtra()
    		}
    		hdr := [1]uint64{1}
    		// Note: write "knows" that the argument is &gp.labels,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. pilot/pkg/xds/endpoints/ep_filters.go

    				// If there is no gateway, the address must not be empty
    				if util.GetEndpointHost(lbEp) != "" {
    					lbEndpoints.append(ep.istioEndpoints[i], lbEp)
    				}
    
    				continue
    			}
    			// Cross-network traffic relies on mTLS to be enabled for SNI routing
    			// TODO BTS may allow us to work around this
    			if !isMtlsEnabled(lbEp) {
    				continue
    			}
    
    			// Apply the weight for this endpoint to the network gateways.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/cmd/pprof/pprof.go

    		}
    	}
    	return fmt.Errorf("server response: %s", resp.Status)
    }
    
    // cpuProfileHandler is the Go pprof CPU profile handler URL.
    const cpuProfileHandler = "/debug/pprof/profile"
    
    // adjustURL applies the duration/timeout values and Go specific defaults.
    func adjustURL(source string, duration, timeout time.Duration) (string, time.Duration) {
    	u, err := url.Parse(source)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/net/ipsock.go

    		if i == 0 || label == primaryLabel {
    			primaryLabel = label
    			primaries = append(primaries, addr)
    		} else {
    			fallbacks = append(fallbacks, addr)
    		}
    	}
    	return
    }
    
    // filterAddrList applies a filter to a list of IP addresses,
    // yielding a list of Addr objects. Known filters are nil, ipv4only,
    // and ipv6only. It returns every address when the filter is nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/index/suffixarray/suffixarray.go

    	// points for anchored searches
    	// (regexp "^" matches beginning of input, not beginning of line)
    	r = regexp.MustCompile("^" + r.String()) // compiles because r compiled
    
    	// same comment about Lookup applies here as in the loop above
    	for n1 := n; ; n1 += 2 * (n - len(result)) /* overflow ok */ {
    		indices := x.Lookup(lit, n1)
    		if len(indices) == 0 {
    			return
    		}
    		slices.Sort(indices)
    		result = result[0:0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top