Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/unicode/letter_test.go

    			}
    			r = out
    		}
    	}
    
    	if r := SimpleFold(-42); r != -42 {
    		t.Errorf("SimpleFold(-42) = %v, want -42", r)
    	}
    }
    
    // Running 'go test -calibrate' runs the calibration to find a plausible
    // cutoff point for linear search of a range list vs. binary search.
    // We create a fake table and then time how long it takes to do a
    // sequence of searches within that table, for all possible inputs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/objfile.go

    	})
    
    	// All filenames are in the postable.
    	for _, f := range w.ctxt.PosTable.FileTable() {
    		w.AddString(filepath.ToSlash(f))
    	}
    }
    
    // cutoff is the maximum data section size permitted by the linker
    // (see issue #9862).
    const cutoff = int64(2e9) // 2 GB (or so; looks better in errors than 2^31)
    
    func (w *writer) Sym(s *LSym) {
    	name := s.Name
    	abi := uint16(s.ABI())
    	if s.Static() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top