Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 886 for Positions (0.11 sec)

  1. android/guava/src/com/google/common/base/Splitter.java

                    int separatorLength = separator.length();
    
                    positions:
                    for (int p = start, last = toSplit.length() - separatorLength; p <= last; p++) {
                      for (int i = 0; i < separatorLength; i++) {
                        if (toSplit.charAt(i + p) != separator.charAt(i)) {
                          continue positions;
                        }
                      }
                      return p;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    	Path       string // Use path of module.
    	ModulePath string // Module path in the comment.
    	Syntax     *Line
    }
    
    // ParseWork parses and returns a go.work file.
    //
    // file is the name of the file, used in positions and errors.
    //
    // data is the content of the file.
    //
    // fix is an optional function that canonicalizes module versions.
    // If fix is nil, all module versions must be canonical ([module.CanonicalVersion]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/cmd/gofmt/rewrite.go

    		if isWildcard(name) {
    			if old, ok := m[name]; ok {
    				return subst(nil, old, reflect.Value{})
    			}
    		}
    	}
    
    	if pos.IsValid() && pattern.Type() == positionType {
    		// use new position only if old position was valid in the first place
    		if old := pattern.Interface().(token.Pos); !old.IsValid() {
    			return pattern
    		}
    		return pos
    	}
    
    	// Otherwise copy.
    	switch p := pattern; p.Kind() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. src/go/types/example_test.go

    	for id, obj := range info.Uses {
    		posn := fset.Position(id.Pos())
    		lineCol := fmt.Sprintf("%d:%d", posn.Line, posn.Column)
    		usesByObj[obj] = append(usesByObj[obj], lineCol)
    	}
    	var items []string
    	for obj, uses := range usesByObj {
    		slices.Sort(uses)
    		item := fmt.Sprintf("%s:\n  defined at %s\n  used at %s",
    			types.ObjectString(obj, types.RelativeTo(pkg)),
    			fset.Position(obj.Pos()),
    			strings.Join(uses, ", "))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/liveness/intervals.go

    	c.s[len(c.s)-1].st = pos
    	c.setLast(pos)
    	return nil
    }
    
    // Kill method should be invoked on instruction at position p if instr
    // should be treated as as having a kill (lifetime end) for the
    // resource. See the example in the comment at the beginning of this
    // file for an example. Note that if we see a kill at position K for a
    // resource currently live since J, this will result in a lifetime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    	BuildID() string
    
    	// SourceLine reports the source line information for a given
    	// address in the file. Due to inlining, the source line information
    	// is in general a list of positions representing a call stack,
    	// with the leaf function first.
    	SourceLine(addr uint64) ([]Frame, error)
    
    	// Symbols returns a list of symbols in the object file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/net/ipsock.go

    			if hostport[end+1] == ':' {
    				return addrErr(hostport, tooManyColons)
    			}
    			return addrErr(hostport, missingPort)
    		}
    		host = hostport[1:end]
    		j, k = 1, end+1 // there can't be a '[' resp. ']' before these positions
    	} else {
    		host = hostport[:i]
    		if bytealg.IndexByteString(host, ':') >= 0 {
    			return addrErr(hostport, tooManyColons)
    		}
    	}
    	if bytealg.IndexByteString(hostport[j:], '[') >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/cmd/internal/src/pos_test.go

    		{MakePos(f5, 5, 5), "f5:10:1[f1:5:5]", "f1", 5, 5, "f5", 10, 1},
    		{MakePos(f5, 5, 10), "f5:10:6[f1:5:10]", "f1", 5, 10, "f5", 10, 6},
    		{MakePos(f5, 6, 10), "f5:11:10[f1:6:10]", "f1", 6, 10, "f5", 11, 10},
    
    		// positions from issue #19392
    		{MakePos(fc, 4, 1), "c.go:10:1[p.go:4:1]", "p.go", 4, 1, "c.go", 10, 1},
    		{MakePos(ft, 7, 1), "t.go:20:1[p.go:7:1]", "p.go", 7, 1, "t.go", 20, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 14 23:50:26 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	BuildID() string
    
    	// SourceLine reports the source line information for a given
    	// address in the file. Due to inlining, the source line information
    	// is in general a list of positions representing a call stack,
    	// with the leaf function first.
    	SourceLine(addr uint64) ([]Frame, error)
    
    	// Symbols returns a list of symbols in the object file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Splitter.java

                    int separatorLength = separator.length();
    
                    positions:
                    for (int p = start, last = toSplit.length() - separatorLength; p <= last; p++) {
                      for (int i = 0; i < separatorLength; i++) {
                        if (toSplit.charAt(i + p) != separator.charAt(i)) {
                          continue positions;
                        }
                      }
                      return p;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top