Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 264 for lineAt (0.48 sec)

  1. docs/bucket/replication/delete-replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "dc1 server logs ========="
    		cat /tmp/dc1.log
    		echo "dc2 server logs ========="
    		cat /tmp/dc2.log
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	set +e
    	pkill minio
    	pkill mc
    	rm -rf /tmp/xl/
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_tensor.cc

      mutex_lock lock(mu_);
      if (!definition_event_) {
        return;
      }
    
      // The set of defined streams is expected to be very small indeed (usually
      // 1-2), so a simple linear scan should be fast enough.
      if (std::find(streams_defined_on_.begin(), streams_defined_on_.end(),
                    stream) != streams_defined_on_.end()) {
        // stream is in streams_defined_on_; it doesn't need to be waited on.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/cover/testdata/main.go

    // count returns the count and index for the counter at the specified line.
    func count(line uint32) (uint32, int) {
    	// Linear search is fine. Choose perfect fit over approximate.
    	// We can have a closing brace for a range on the same line as a condition for an "else if"
    	// and we don't want that brace to steal the count for the condition on the "if".
    	// Therefore we test for a perfect (lo==line && hi==line) match, but if we can't
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 16:40:40 UTC 2016
    - 3K bytes
    - Viewed (0)
  4. hack/verify-golangci-lint-pr-hints.sh

    # golangci-lint. It does nothing when invoked as part of a normal "make
    # verify".
    
    set -o nounset
    set -o pipefail
    
    if [ ! "${PULL_NUMBER:-}" ]; then
      echo 'Not testing anything because this is not a pull request.'
      exit 0
    fi
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:14:47 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. src/net/http/mapping_test.go

    		"articles",
    	}
    	if len(children) != 32 {
    		panic("bad len")
    	}
    	for _, n := range []int{2, 4, 8, 16, 32} {
    		list := children[:n]
    		b.Run(fmt.Sprintf("n=%d", n), func(b *testing.B) {
    
    			b.Run("rep=linear", func(b *testing.B) {
    				var entries []entry[string, any]
    				for _, c := range list {
    					entries = append(entries, entry[string, any]{c, nil})
    				}
    				b.ResetTimer()
    				for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 17:47:07 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    	// single pass over the AST, but seldom is there more than one.)
    	for v, stmt := range cancelvars {
    		if ret := lostCancelPath(pass, g, v, stmt, sig); ret != nil {
    			lineno := pass.Fset.Position(stmt.Pos()).Line
    			pass.ReportRangef(stmt, "the %s function is not used on all paths (possible context leak)", v.Name())
    
    			pos, end := ret.Pos(), ret.End()
    			// golang/go#64547: cfg.Block.Return may return a synthetic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. docs/es/docs/benchmarks.md

        * Entonces, al usar FastAPI estás ahorrando tiempo de desarrollo, errores, líneas de código y probablemente obtendrías el mismo rendimiento (o mejor) que obtendrías si no lo usaras (ya que tendrías que implementarlo todo en tu código).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Feb 07 11:39:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/PairedStatsAccumulator.java

        return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas));
      }
    
      /**
       * Returns a linear transformation giving the best fit to the data according to <a
       * href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Ordinary Least Squares linear
       * regression</a> of {@code y} as a function of {@code x}. The count must be greater than one, and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. src/regexp/backtrack.go

    // a bit vector with (length of input) * (length of prog) bits,
    // to make sure it never explores the same (character position, instruction)
    // state multiple times. This limits the search to run in time linear in
    // the length of the test.
    //
    // backtrack is a fast replacement for the NFA code on small
    // regexps when onepass cannot be used.
    
    package regexp
    
    import (
    	"regexp/syntax"
    	"sync"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/cmd/internal/pgo/pprof.go

    		seenStartLine = seenStartLine || n.Info.StartLine != 0
    
    		canonicalName := n.Info.Name
    		// Create the key to the nodeMapKey.
    		namedEdge := NamedCallEdge{
    			CallerName:     canonicalName,
    			CallSiteOffset: n.Info.Lineno - n.Info.StartLine,
    		}
    
    		for _, e := range n.Out {
    			totalWeight += e.WeightValue()
    			namedEdge.CalleeName = e.Dest.Info.Name
    			// Create new entry or increment existing entry.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top