Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 102 for lineFor (0.28 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. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/ProjectAccessorsSourceGeneratorTest.groovy

                String getterPath = baseName.contains('_') ? baseName.substring(baseName.lastIndexOf('_') + 1) : baseName
                int lineOfSubAccessor = lineOf("public ${baseName}ProjectDependency get${getterPath}() { return new ${baseName}ProjectDependency(getFactory(), create(\"${projectPath}\")); }")
                lineOfSubAccessor
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. 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)
  4. android/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)
  5. 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)
  6. android/guava/src/com/google/common/collect/TopKSelector.java

        }
        return this;
      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
       * operation takes amortized linear time in the length of {@code elements}.
       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterable}, prefer
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    	if i.Address != 0 {
    		name = append(name, fmt.Sprintf("%016x", i.Address))
    	}
    	if fun := i.Name; fun != "" {
    		name = append(name, fun)
    	}
    
    	switch {
    	case i.Lineno != 0:
    		s := fmt.Sprintf("%s:%d", i.File, i.Lineno)
    		if i.Columnno != 0 {
    			s += fmt.Sprintf(":%d", i.Columnno)
    		}
    		// User requested line numbers, provide what we have.
    		name = append(name, s)
    	case i.File != "":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TopKSelector.java

        }
        return this;
      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
       * operation takes amortized linear time in the length of {@code elements}.
       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterable}, prefer
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/runtime/traceback_test.go

    	//nLines := len(lines)
    	off := 0
    	lineNo := 0
    	fatal := func(f string, args ...any) {
    		msg := fmt.Sprintf(f, args...)
    		t.Fatalf("%s (line %d):\n%s", msg, lineNo, tb)
    	}
    	parseFrame := func(funcName, args string) *tbFrame {
    		// Consume file/line/etc
    		if !strings.HasPrefix(tb, "\t") {
    			fatal("missing source line")
    		}
    		_, tb, _ = strings.Cut(tb, "\n")
    		lineNo++
    		inlined := args == "..."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser_test.go

    	var buf1 bytes.Buffer
    	_, err := Fprint(&buf1, ast1, LineForm)
    	if err != nil {
    		panic(err)
    	}
    	bytes1 := buf1.Bytes()
    
    	ast2, err := Parse(NewFileBase(filename), &buf1, nil, nil, 0)
    	if err != nil {
    		panic(err)
    	}
    
    	var buf2 bytes.Buffer
    	_, err = Fprint(&buf2, ast2, LineForm)
    	if err != nil {
    		panic(err)
    	}
    	bytes2 := buf2.Bytes()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top