Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 629 for leastOf (0.17 sec)

  1. internal/grid/grid.go

    // There is no minimum size.
    var GetByteBuffer = func() []byte {
    	b := *internalByteBuffer.Get().(*[]byte)
    	return b[:0]
    }
    
    // GetByteBufferCap returns a length 0 byte buffer with at least the given capacity.
    func GetByteBufferCap(wantSz int) []byte {
    	if wantSz < defaultBufferSize {
    		b := GetByteBuffer()[:0]
    		if cap(b) >= wantSz {
    			return b
    		}
    		PutByteBuffer(b)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 02 15:56:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. internal/handlers/proxy.go

    		scheme = strings.ToLower(proto)
    	} else if proto = r.Header.Get(xForwardedScheme); proto != "" {
    		scheme = strings.ToLower(proto)
    	} else if proto := r.Header.Get(forwarded); proto != "" {
    		// match should contain at least two elements if the protocol was
    		// specified in the Forwarded header. The first element will always be
    		// the 'for=', which we ignore, subsequently we proceed to look for
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. src/go/doc/testdata/benchmark.go

    	n := 1
    
    	// Signal that we're done whether we return normally
    	// or by FailNow's runtime.Goexit.
    	defer func() {
    		b.signal <- b
    	}()
    
    	b.runN(n)
    	// Run the benchmark for at least the specified amount of time.
    	d := *benchTime
    	for !b.failed && b.duration < d && n < 1e9 {
    		last := n
    		// Predict iterations/sec.
    		if b.nsPerOp() == 0 {
    			n = 1e9
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ComponentMetadata.java

         * </ul>
         *
         * @return the status of the component
         */
        String getStatus();
    
        /**
         * Returns the status scheme of the component. Values are
         * ordered from least to most mature status.
         * Defaults to {@code ["integration", "milestone", "release"]}.
         *
         * @return the status scheme of the component
         */
        List<String> getStatusScheme();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 25 20:52:55 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_util.c

    _cgo_yield is set to NULL if we do not expect libc interceptors to exist.
    */
    static void
    x_cgo_yield()
    {
    	/*
    	The libc function(s) we call here must form a no-op and include at least one
    	call that triggers TSAN to process pending asynchronous signals.
    
    	sleep(0) would be fine, but it's not portable C (so it would need more header
    	guards).
    	free(NULL) has a fast-path special case in TSAN, so it doesn't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 18:49:38 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/pprof/vminfo_darwin.go

    			&addr,
    			&memRegionSize,
    			unsafe.Pointer(&info))
    		if kr != 0 {
    			if kr == _MACH_SEND_INVALID_DEST {
    				// No more memory regions.
    				return true
    			}
    			return added // return true if at least one mapping was added
    		}
    		if isExecutable(info.Protection) {
    			// NOTE: the meaning/value of Offset is unclear. However,
    			// this likely doesn't matter as the text segment's file
    			// offset is usually 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 23:35:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinGlobalModificationService.kt

     * write action.
     *
     * Implementations of this service should publish global modification events to at least the following components:
     * - [KotlinModificationTrackerFactory]
     * - [KotlinModificationTopics] via [analysisMessageBus][org.jetbrains.kotlin.analysis.api.platform.analysisMessageBus]
     */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. pkg/apis/networking/v1/defaults.go

    		obj.Protocol = &proto
    	}
    }
    
    func SetDefaults_NetworkPolicy(obj *networkingv1.NetworkPolicy) {
    	if len(obj.Spec.PolicyTypes) == 0 {
    		// Any policy that does not specify policyTypes implies at least "Ingress".
    		obj.Spec.PolicyTypes = []networkingv1.PolicyType{networkingv1.PolicyTypeIngress}
    		if len(obj.Spec.Egress) != 0 {
    			obj.Spec.PolicyTypes = append(obj.Spec.PolicyTypes, networkingv1.PolicyTypeEgress)
    		}
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/names.go

    			// from each other, confusing users.
    			break
    		}
    	}
    
    	// validate that there is at least one '.' in segments[0]
    	if len(domainLabels) < 2 {
    		el = append(el, field.Invalid(fldPath, segments[0], "should be a domain with at least two segments separated by dots"))
    	}
    
    	// validate that segments[1] consists of valid DNS1123 subdomains separated by '.'.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. docs/compression/README.md

    streaming compression due to its stability and performance.
    
    This algorithm is specifically optimized for machine generated content.
    Write throughput is typically at least 500MB/s per CPU core,
    and scales with the number of available CPU cores.
    Decompression speed is typically at least 1GB/s.
    
    This means that in cases where raw IO is below these numbers
    compression will not only reduce disk usage but also help increase system throughput.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 11 11:55:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top