Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for cutoff (0.21 sec)

  1. src/strconv/atoi.go

    		return 0, bitSizeError(fnParseUint, s0, bitSize)
    	}
    
    	// Cutoff is the smallest number such that cutoff*base > maxUint64.
    	// Use compile-time constants for common cases.
    	var cutoff uint64
    	switch base {
    	case 10:
    		cutoff = maxUint64/10 + 1
    	case 16:
    		cutoff = maxUint64/16 + 1
    	default:
    		cutoff = maxUint64/uint64(base) + 1
    	}
    
    	maxVal := uint64(1)<<uint(bitSize) - 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/net/port.go

    		if nn < n || nn > max {
    			n = max
    			break
    		}
    		n = nn
    	}
    	if !neg && n >= cutoff {
    		port = int(cutoff - 1)
    	} else if neg && n > cutoff {
    		port = int(cutoff)
    	} else {
    		port = int(n)
    	}
    	if neg {
    		port = -port
    	}
    	return port, false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:56 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    	//
    	// This must be done as a separate pass because of the
    	// requirement that the comment be followed by a blank line.
    	var cutoff int
    	for i, line := range lines {
    		line = bytes.TrimSpace(line)
    		if !bytes.HasPrefix(line, slashSlash) {
    			if len(line) > 0 {
    				break
    			}
    			cutoff = i
    		}
    	}
    
    	for i, line := range lines {
    		line = bytes.TrimSpace(line)
    		if !bytes.HasPrefix(line, slashSlash) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoCoverage.groovy

            (JavaVersion.VERSION_1_9): JacocoVersion.SUPPORTS_JDK_9,
        ]
    
        static List<String> getSupportedVersionsByJdk() {
            for (def cutoff : JDK_CUTOFFS) {
                if (JavaVersion.current().isCompatibleWith(cutoff.key)) {
                    return filter(cutoff.value)
                }
            }
            return filter(JacocoVersion.SUPPORTS_JDK_8)
        }
    
        private static List<String> filter(JacocoVersion threshold) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:50:44 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/text/unicode/norm/trie.go

    	offset: nfkcSparseOffset[:],
    }
    
    var (
    	nfcData  = newNfcTrie(0)
    	nfkcData = newNfkcTrie(0)
    )
    
    // lookup determines the type of block n and looks up the value for b.
    // For n < t.cutoff, the block is a simple lookup table. Otherwise, the block
    // is a list of ranges with an accompanying value. Given a matching range r,
    // the value for b is by r.value + (b - r.lo) * stride.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/trie.go

    	offset: nfkcSparseOffset[:],
    }
    
    var (
    	nfcData  = newNfcTrie(0)
    	nfkcData = newNfkcTrie(0)
    )
    
    // lookup determines the type of block n and looks up the value for b.
    // For n < t.cutoff, the block is a simple lookup table. Otherwise, the block
    // is a list of ranges with an accompanying value. Given a matching range r,
    // the value for b is by r.value + (b - r.lo) * stride.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. cluster/gce/manifests/cluster-autoscaler.manifest

                        "--log-file-max-size=0",
                        "--write-status-configmap=true",
                        "--balance-similar-node-groups=true",
                        "--expendable-pods-priority-cutoff=-10",
                        {{params}}
                    ],
                    "env": [
                        {
                            "name": "LOG_OUTPUT",
                            "value": "/var/log/cluster-autoscaler.log"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:04:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/idna/trie.go

    	offset: idnaSparseOffset[:],
    }
    
    // Don't use newIdnaTrie to avoid unconditional linking in of the table.
    var trie = &idnaTrie{}
    
    // lookup determines the type of block n and looks up the value for b.
    // For n < t.cutoff, the block is a simple lookup table. Otherwise, the block
    // is a list of ranges with an accompanying value. Given a matching range r,
    // the value for b is by r.value + (b - r.lo) * stride.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/strconv/decimal.go

    // if the string prefix is "000" through "624".
    //
    // Credit for this trick goes to Ken.
    
    type leftCheat struct {
    	delta  int    // number of new digits
    	cutoff string // minus one digit if original < a.
    }
    
    var leftcheats = []leftCheat{
    	// Leading digits of 1/2^i = 5^i.
    	// 5^23 is not an exact 64-bit floating point number,
    	// so have to use bc for the math.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 15 19:41:25 UTC 2017
    - 11K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cache/cache_test.go

    		t.Fatal(err)
    	}
    	if !bytes.Equal(data, data2) {
    		t.Fatalf("second trim did work: %q -> %q", data, data2)
    	}
    
    	// Fast forward and do another trim just before the 5 day cutoff.
    	// Note that because of usedQuantum the cutoff is actually 5 days + 1 hour.
    	// We used c.Get(id) just now, so 5 days later it should still be kept.
    	// On the other hand almost a full day has gone by since we wrote dummyID(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top