Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 122 for lineFor (0.12 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    			m := abiSuff.FindStringSubmatch(fnName)
    			if m != nil {
    				return m[1], m[2]
    			}
    			return fnName, ""
    		}
    		for lineno, line := range lines {
    			lineno++
    
    			badf := func(format string, args ...interface{}) {
    				pass.Reportf(analysisutil.LineStart(tf, lineno), "[%s] %s: %s", arch, fnName, fmt.Sprintf(format, args...))
    			}
    
    			if arch == "" {
    				// Determine architecture from +build line if possible.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. src/go/types/example_test.go

    	fmt.Println("Defs and Uses of each named object:")
    	usesByObj := make(map[types.Object][]string)
    	for id, obj := range info.Uses {
    		posn := fset.Position(id.Pos())
    		lineCol := fmt.Sprintf("%d:%d", posn.Line, posn.Column)
    		usesByObj[obj] = append(usesByObj[obj], lineCol)
    	}
    	var items []string
    	for obj, uses := range usesByObj {
    		slices.Sort(uses)
    		item := fmt.Sprintf("%s:\n  defined at %s\n  used at %s",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FlatMapProvider.java

            }
    
            // Note, that the potential side effect of the transformed provider
            // is going to be executed before this fixed side effect.
            // It is not possible to preserve linear execution order in the general case,
            // as the transformed provider can have side effects hidden under other wrapping providers.
            return Providers.internal(transformedProvider).withSideEffect(SideEffect.fixedFrom(value));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. buildscripts/minio-upgrade.sh

    #!/bin/bash
    
    trap 'cleanup $LINENO' ERR
    
    # shellcheck disable=SC2120
    cleanup() {
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		down || true
    
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		rm || true
    
    	for volume in $(docker volume ls -q | grep upgrade); do
    		docker volume rm ${volume} || true
    	done
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/para.go

    		p.addBlock(tb)
    		tb.table = new(tableBuilder)
    		tb.table.start(hdr, text)
    		return line{}, true
    	}
    
    	if b != nil {
    		for i := p.lineDepth; i < len(p.stack); i++ {
    			p.stack[i].pos.EndLine = p.lineno
    		}
    	} else {
    		// Note: Ends anything without a matching prefix.
    		b = new(paraBuilder)
    		p.addBlock(b)
    	}
    	b.text = append(b.text, text)
    	return line{}, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/go/token/position_test.go

    	{"f", []byte("package p\n\nimport \"fmt\""), 23, []int{0, 10, 11}},
    	{"g", []byte("package p\n\nimport \"fmt\"\n"), 24, []int{0, 10, 11}},
    	{"h", []byte("package p\n\nimport \"fmt\"\n "), 25, []int{0, 10, 11, 24}},
    }
    
    func linecol(lines []int, offs int) (int, int) {
    	prevLineOffs := 0
    	for line, lineOffs := range lines {
    		if offs < lineOffs {
    			return line, offs - prevLineOffs + 1
    		}
    		prevLineOffs = lineOffs
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. 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()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K 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