Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 323 for line_ (0.04 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcTaskExecutionIntegrationTest.groovy

    import org.gradle.integtests.fixtures.ToBeFixedForIsolatedProjects
    import spock.lang.Issue
    
    class BuildSrcTaskExecutionIntegrationTest extends AbstractIntegrationSpec {
        def "can execute a task from buildSrc from the command line"() {
            file("buildSrc/build.gradle") << """
                task something {
                    doLast { }
                }
            """
    
            expect:
            2.times {
                run(":buildSrc:something")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/InternalProblemSpec.java

        InternalProblemSpec fileLocation(String path);
    
        @Override
        InternalProblemSpec lineInFileLocation(String path, int line);
    
        @Override
        InternalProblemSpec lineInFileLocation(String path, int line, int column);
    
        @Override
        InternalProblemSpec lineInFileLocation(String path, int line, int column, int length);
    
        @Override
        InternalProblemSpec offsetInFileLocation(String path, int offset, int length);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. cmd/streaming-signature-v4.go

    	for input.Scan() {
    		line := strings.TrimSpace(input.Text())
    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    			if cr.debug {
    				fmt.Printf("index, ':' not found in %q\n", line)
    			}
    			return errMalformedEncoding
    		}
    		key := line[:idx]
    		value := line[idx+1:]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/runtime/symtabinl.go

    // fileLine returns the file name and line number of the call within the given
    // frame. As a convenience, for the innermost frame, it returns the file and
    // line of the PC this unwinder was started at (often this is a call to another
    // physical function).
    //
    // It returns "?", 0 if something goes wrong.
    func (u *inlineUnwinder) fileLine(uf inlineFrame) (file string, line int) {
    	file, line32 := funcline1(u.f, uf.pc, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. gradlew

    fi
    
    # Use "xargs" to parse quoted args.
    #
    # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
    #
    # In Bash we could simply go:
    #
    #   readarray ARGS < <( xargs -n1 <<<"$var" ) &&
    #   set -- "${ARGS[@]}" "$@"
    #
    # but POSIX shell has neither arrays nor command substitution, so instead we
    # post-process each arg (as a line of input to sed) to backslash-escape any
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemsServiceIntegTest.groovy

                definition.documentationLink != null
                locations.size() == 2
                locations[0].path == "build file 'build.gradle'"
                locations[0].line == 2
                locations[1].path == "build file '${buildFile.absolutePath}'"
                locations[1].line == 2
            }
    
            when:
            configurationCacheRunLenient '-Pdummy=true', 'run'
    
            then:
            verifyAll(receivedProblem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	b.WriteString(f.Preamble)
    	stdout := p.gccDefines(b.Bytes())
    
    	for _, line := range strings.Split(stdout, "\n") {
    		if len(line) < 9 || line[0:7] != "#define" {
    			continue
    		}
    
    		line = strings.TrimSpace(line[8:])
    
    		var key, val string
    		spaceIndex := strings.Index(line, " ")
    		tabIndex := strings.Index(line, "\t")
    
    		if spaceIndex == -1 && tabIndex == -1 {
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/LimitedDescription.java

        public LimitedDescription(int maxItems) {
            this.maxItems = maxItems;
            this.content = new LinkedList<String>();
        }
    
        public LimitedDescription append(String line) {
            content.add(0, line);
            if (content.size() > maxItems) {
                content.removeLast();
            }
            return this;
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client_test.go

    func (o *opensslOutputSink) Write(data []byte) (n int, err error) {
    	o.line = append(o.line, data...)
    	o.all = append(o.all, data...)
    
    	for {
    		line, next, ok := bytes.Cut(o.line, []byte("\n"))
    		if !ok {
    			break
    		}
    
    		if bytes.Equal([]byte(opensslEndOfHandshake), line) {
    			o.handshakeComplete <- struct{}{}
    		}
    		if bytes.Equal([]byte(opensslReadKeyUpdate), line) {
    			o.readKeyUpdate <- struct{}{}
    		}
    		o.line = next
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  10. src/runtime/pprof/protomem_test.go

    	}
    	return fmt.Sprintf("%s %v", strings.Join(funcs, ";"), s.Value)
    }
    
    func locationToStrings(loc *profile.Location, funcs []string) []string {
    	for j := range loc.Line {
    		line := loc.Line[len(loc.Line)-1-j]
    		funcs = append(funcs, line.Function.Name)
    	}
    	return funcs
    }
    
    // This is a regression test for https://go.dev/issue/64528 .
    func TestGenericsHashKeyInPprofBuilder(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top