Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 820 for lineB (0.03 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/internal/testdir/testdir_test.go

    	// gc error messages continue onto additional lines with leading tabs.
    	// Split the output at the beginning of each line that doesn't begin with a tab.
    	// <autogenerated> lines are impossible to match so those are filtered out.
    	var res []string
    	for _, line := range strings.Split(out, "\n") {
    		if strings.HasSuffix(line, "\r") { // remove '\r', output by compiler on windows
    			line = line[:len(line)-1]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  7. JavadocStyleGuide.md

    - The first line that begins with an `@` character ends the description; you cannot continue the description following block tags.
    - Block tags must be added in order.
    - The last line contains the end-comment delimiter ( `*/`).
    
    So lines won't wrap, limit any doc-comment lines to 120 characters.
    
    ### 1.1.2 HTML
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/go/build/build.go

    	ended := false       // found non-blank, non-// line, so stopped accepting //go:build lines
    	inSlashStar := false // in /* */ comment
    
    Lines:
    	for len(p) > 0 {
    		line := p
    		if i := bytes.IndexByte(line, '\n'); i >= 0 {
    			line, p = line[:i], p[i+1:]
    		} else {
    			p = p[len(p):]
    		}
    		line = bytes.TrimSpace(line)
    		if len(line) == 0 && !ended { // Blank line
    			// Remember position of most recent blank line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    		f.Toolchain.Syntax.markRemoved()
    		f.Toolchain = nil
    	}
    }
    
    // AddGodebug sets the first godebug line for key to value,
    // preserving any existing comments for that line and removing all
    // other godebug lines for key.
    //
    // If no line currently exists for key, AddGodebug adds a new line
    // at the end of the last godebug block.
    func (f *WorkFile) AddGodebug(key, value string) error {
    	need := true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top