Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,009 for line_ (0.17 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/Parser.kt

        var isAfterImportLine = false
    
        code.lines().forEach { line ->
            when {
                line.startsWith("import") -> {
                    importStatements.add(line)
                    isAfterImportLine = true
                }
    
                line.startsWith("package") -> {
                    packageStatements.add(line)
                    isAfterImportLine = false
                }
    
                line.isBlank() -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy

            [Insufficient.LINE_METRIC_COVERED_RATIO]                    | 'line metric with covered ratio'                                         | 'lines covered ratio is 1.0, but expected maximum is 0.5'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. src/go/importer/importer_test.go

    		data, err := os.ReadFile(filename)
    		if err != nil {
    			t.Fatalf("can't read file containing declaration of math/big.Int: %v", err)
    		}
    		lines := strings.Split(string(data), "\n")
    		if posn.Line > len(lines) || !strings.HasPrefix(lines[posn.Line-1], "type Int") {
    			t.Fatalf("Object %v position %s does not contain its declaration",
    				mathBigInt, posn)
    		}
    	})
    
    	t.Run("LookupCustom", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 21:16:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testerrors/errors_test.go

    	out, err := cmd.CombinedOutput()
    	if err == nil {
    		t.Errorf("expected cgo to fail but it succeeded")
    	}
    
    	lines := bytes.Split(out, []byte("\n"))
    	for _, re := range errors {
    		found := false
    		for _, line := range lines {
    			if re.Match(line) {
    				t.Logf("found match for %#q: %q", re, line)
    				found = true
    				break
    			}
    		}
    		if !found {
    			t.Errorf("expected error output to contain %#q", re)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/DumpbinBinaryInfo.groovy

            def dumpbin = findExe("dumpbin.exe")
            def process = [dumpbin.absolutePath, '/SYMBOLS', binaryFile.absolutePath].execute(["PATH=$vcPath"], null)
            def lines = process.inputStream.readLines()
            return lines.findAll { it.contains(' | ') }.collect { line ->
                // Looks like:
                // 000 0105673E ABS    notype       Static       | @comp.id
                // 001 80000191 ABS    notype       Static       | @feat.00
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/NMToolFixture.groovy

            def lines = process.inputStream.readLines()
            return lines.collect { line ->
                // Looks like on Linux:
                // _main t 0 0
                //
                // Looks like on Windows (MinGW):
                // main T 0000000000401550
                def splits = line.split(' ')
                String name = splits[0]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. testing/architecture-test/build.gradle.kts

        @get:OutputFile
        abstract var ruleFile: File
    
        @TaskAction
        fun resortStoredRules() {
            val lines = ruleFile.readLines()
            val sortedLines = lines.sortedBy { line ->
                // We sort by the rule name
                line.substringBefore("=")
            }
    
            if (lines != sortedLines) {
                ruleFile.writeText(sortedLines.joinToString("\n"))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        else -> skip(newline + 1)
      }
    }
    
    /**
     * Reads lines from `IdnaMappingTable.txt`.
     *
     * Comment lines are either blank or start with a `#` character. Lines may also end with a comment.
     * All comments are ignored.
     *
     * Regular lines contain fields separated by semicolons.
     *
     * The first element on each line is a single hex code point (like 0041) or a hex code point range
     * (like 0030..0039).
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/bufio/bufio_test.go

    	line1 := "this is line1"
    	restData := "this is line2\nthis is line 3\n"
    	inbuf := bytes.NewReader([]byte(line1 + "\n" + restData))
    	outbuf := new(strings.Builder)
    	maxLineLength := len(line1) + len(restData)/2
    	l := NewReaderSize(inbuf, maxLineLength)
    	line, isPrefix, err := l.ReadLine()
    	if isPrefix || err != nil || string(line) != line1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  10. src/net/http/cookie.go

    func readCookies(h Header, filter string) []*Cookie {
    	lines := h["Cookie"]
    	if len(lines) == 0 {
    		return []*Cookie{}
    	}
    
    	cookies := make([]*Cookie, 0, len(lines)+strings.Count(lines[0], ";"))
    	for _, line := range lines {
    		line = textproto.TrimString(line)
    
    		var part string
    		for len(line) > 0 { // continue since we have rest
    			part, line, _ = strings.Cut(line, ";")
    			part = textproto.TrimString(part)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top