Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for startPos (0.17 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/problems/DefaultProblemLocationAnalyzer.java

                startPos = 0;
                endPos = stack.size();
            } else {
                // When analysing a problem stack trace, consider only the deepest user code in the stack.
                startPos = failure.indexOfStackFrame(0, StackFramePredicate.USER_CODE);
                if (startPos == -1) {
                    // No user code in the stack
                    return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/util.go

    // ExprString returns a string representation of x.
    func ExprString(x syntax.Node) string { return syntax.String(x) }
    
    // startPos returns the start position of node n.
    func startPos(n syntax.Node) syntax.Pos { return syntax.StartPos(n) }
    
    // endPos returns the position of the first character immediately after node n.
    func endPos(n syntax.Node) syntax.Pos { return syntax.EndPos(n) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/bidi/bidi.go

    				o.runes = append(o.runes, runes[prevI:i])
    				o.directions = append(o.directions, prevDir)
    				o.startpos = append(o.startpos, prevI)
    			}
    			prevI = i
    			prevDir = curDir
    		}
    	}
    	o.runes = append(o.runes, runes[prevI:])
    	o.directions = append(o.directions, prevDir)
    	o.startpos = append(o.startpos, prevI)
    	return o
    }
    
    // Order computes the visual ordering of all the runs in a Paragraph.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy

                return
            }
            int startPos = 0
            int endPos = findEndIndexOfCurrentBuild(out, startPos)
            while (startPos < out.length()) {
                if (endPos == -1) {
                    endPos = out.length()
                }
                results << createExecutionResult(out.substring(startPos, endPos), err)
                startPos = endPos
                endPos = findEndIndexOfCurrentBuild(out, startPos)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/issues_test.go

    		if err != nil {
    			t.Errorf("%s: %v", src, err)
    			continue
    		}
    
    		// locate KeyValueExpr
    		Inspect(f, func(n Node) bool {
    			_, ok := n.(*KeyValueExpr)
    			if ok {
    				if got := StartPos(n).Col(); got != want {
    					t.Errorf("%s: got col = %d, want %d", src, got, want)
    				}
    			}
    			return !ok
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/streams/DefaultValueStore.java

                encoder.flush();
                long length = encoder.getWritePosition() - startPos;
                return new BlockAddress(id, startPos + startOffset, length);
            }
    
            @Override
            public void close() throws IOException {
                encoder.flush();
                outputStream.close();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. src/go/types/util.go

    // argErrPos returns positioner for reporting an invalid argument count.
    func argErrPos(call *ast.CallExpr) positioner { return inNode(call, call.Rparen) }
    
    // startPos returns the start position of node n.
    func startPos(n ast.Node) token.Pos { return n.Pos() }
    
    // endPos returns the position of the first character immediately after node n.
    func endPos(n ast.Node) token.Pos { return n.End() }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/positions.go

    package syntax
    
    // StartPos returns the start position of n.
    func StartPos(n Node) Pos {
    	// Cases for nodes which don't need a correction are commented out.
    	for m := n; ; {
    		switch n := m.(type) {
    		case nil:
    			panic("nil node")
    
    		// packages
    		case *File:
    			// file block starts at the beginning of the file
    			return MakePos(n.Pos().Base(), 1, 1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/dwarf.go

    	if ctxt.DebugInfo != nil {
    		scopes, inlcalls = ctxt.DebugInfo(s, info, curfn)
    	}
    	var err error
    	dwctxt := dwCtxt{ctxt}
    	startPos := ctxt.InnermostPos(textPos(s))
    	if !startPos.IsKnown() || startPos.RelLine() != uint(s.Func().StartLine) {
    		panic("bad startPos")
    	}
    	fnstate := &dwarf.FnState{
    		Name:          s.Name,
    		Info:          info,
    		Loc:           loc,
    		Ranges:        ranges,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

            final int startPos = prefix.length();
            for (final JarEntry entry : iterable(jarFile.entries())) {
                final String entryName = entry.getName().replace('\\', '/');
                if (entryName.startsWith(prefix) && entryName.endsWith(CLASS_SUFFIX)) {
                    final String className = entryName.substring(startPos, entryName.length() - CLASS_SUFFIX.length()).replace('/', '.');
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top