Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 323 for line_ (0.04 sec)

  1. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/DefaultProblemBuilder.java

        @Override
        public InternalProblemBuilder lineInFileLocation(String path, int line) {
            this.addLocation(DefaultLineInFileLocation.from(path, line));
            return this;
        }
    
        @Override
        public InternalProblemBuilder lineInFileLocation(String path, int line, int column) {
            this.addLocation(DefaultLineInFileLocation.from(path, line, column));
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 08:30:15 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListenerTest.groovy

            then:
            1 * spec.fileLocation("SomeFile.java")
            // With a column number, the line-only location should not be reported ...
            0 * spec.lineInFileLocation("SomeFile.java", 1)
            // ... but the line and column location should be
            1 * spec.lineInFileLocation("SomeFile.java", 1, 1)
            0 * spec.lineInFileLocation(_, _, _, _)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 13:58:13 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/testing/example.go

    		if !matched {
    			continue
    		}
    		ran = true
    		if !runExample(eg) {
    			ok = false
    		}
    	}
    
    	return ran, ok
    }
    
    func sortLines(output string) string {
    	lines := strings.Split(output, "\n")
    	slices.Sort(lines)
    	return strings.Join(lines, "\n")
    }
    
    // processRunResult computes a summary and status of the result of running an example test.
    // stdout is the captured output from stdout of the test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. test/fixedbugs/issue67141.go

    // errorcheck -lang=go1.22
    
    //go:build go1.21
    
    // We need a line directive before the package clause,
    // but don't change file name or position so that the
    // error message appears at the right place.
    
    //line issue67141.go:10
    package p
    
    func _() {
    	for range 10 { // ERROR "cannot range over 10"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:21 UTC 2024
    - 301 bytes
    - Viewed (0)
  5. src/syscall/mksyscall.pl

    # license that can be found in the LICENSE file.
    
    # This program reads a file containing function prototypes
    # (like syscall_darwin.go) and generates system call bodies.
    # The prototypes are marked by lines beginning with "//sys"
    # and read like func declarations if //sys is replaced by func, but:
    #	* The parameter lists must give a name for each argument.
    #	  This includes return parameters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*p = BatchJobExpirePurge(tmp)
    	p.line, p.col = val.Line, val.Column
    	return nil
    }
    
    // Validate returns nil if value is valid, ie > 0.
    func (p BatchJobExpirePurge) Validate() error {
    	if p.RetainVersions < 0 {
    		return BatchJobYamlErr{
    			line: p.line,
    			col:  p.col,
    			msg:  "retainVersions must be >= 0",
    		}
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    	var prefix []byte
    	for _, c := range lines[0] {
    		if c != '\t' {
    			break
    		}
    		prefix = append(prefix, byte('\t'))
    	}
    	// Remove prefix from all tabs, fail otherwise.
    	for i := range lines {
    		line := lines[i]
    		// It's OK for the last line to be blank (trailing \n)
    		if i == len(lines)-1 && len(line) <= len(prefix) && bytes.TrimSpace(line) == nil {
    			lines[i] = []byte{}
    			break
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                        it.hasNext(); ) {
                    URL url = it.next();
                    List<String> lines;
                    try (InputStream is = url.openStream();
                            BufferedReader reader = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8))) {
                        lines = reader.lines()
                                .map(String::trim)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

                "axisCenteredZero": false,
                "axisColorMode": "text",
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 11:11:51 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/init_mlir.cc

    static llvm::cl::extrahelp FlagSplittingHelp(R"(
    The command line parsing is split between the two flag parsing libraries used by
    TensorFlow and LLVM:
      * Flags before the first '--' are parsed by tensorflow::InitMain while those
        post are parsed by LLVM's command line parser.
      * If there is no separator, then no flags are parsed by InitMain and only
        LLVM command line parser used.e
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 10:03:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top