- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 959 for Positions (0.32 sec)
-
src/cmd/vendor/golang.org/x/build/relnote/relnote.go
} // addLines adds n lines to the position of b. // n can be negative. func addLines(b md.Block, n int) { pos := position(b) pos.StartLine += n pos.EndLine += n } func position(b md.Block) *md.Position { switch b := b.(type) { case *md.Heading: return &b.Position case *md.Text: return &b.Position case *md.CodeBlock: return &b.Position case *md.HTMLBlock: return &b.Position
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.7K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/error_test.go
var print = flag.Bool("print", false, "only print errors") // A position represents a source position in the current file. type position struct { line, col uint } func (pos position) String() string { return fmt.Sprintf("%d:%d", pos.line, pos.col) } func sortedPositions(m map[position]string) []position { list := make([]position, len(m)) i := 0 for pos := range m { list[i] = pos i++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.8K bytes - Viewed (0) -
src/go/token/position.go
// //line comments; otherwise those comments are ignored. // p must be a Pos value in f or NoPos. func (f *File) PositionFor(p Pos, adjusted bool) (pos Position) { if p != NoPos { pos = f.position(p, adjusted) } return } // Position returns the Position value for the given file position p. // If p is out of bounds, it is adjusted to match the File.Offset behavior.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.7K bytes - Viewed (0) -
src/go/importer/importer.go
} // compiler not supported return nil } // For calls [ForCompiler] with a new FileSet. // // Deprecated: Use [ForCompiler], which populates a FileSet // with the positions of objects created by the importer. func For(compiler string, lookup Lookup) types.Importer { return ForCompiler(token.NewFileSet(), compiler, lookup) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/rotate.go
mask = bits.RotateLeft64(mask, z) // check that the normalized mask is contiguous l := bits.LeadingZeros64(^mask) if l+bits.TrailingZeros64(mask) != 64 { return nil } // update start and end positions (rotation amount remains the same) r.Start = uint8(o+z) & 63 r.End = (r.Start + uint8(l) - 1) & 63 return &r } // InMerge tries to generate a new set of parameters representing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 21 19:19:04 UTC 2020 - 3.6K bytes - Viewed (0) -
src/main/webapp/js/admin/adminlte.min.js.map
}\n\n // Static\n\n _getContainerId() {\n if (this._config.position == Position.TOP_RIGHT) {\n return Selector.CONTAINER_TOP_RIGHT;\n } else if (this._config.position == Position.TOP_LEFT) {\n return Selector.CONTAINER_TOP_LEFT;\n } else if (this._config.position == Position.BOTTOM_RIGHT) {\n return Selector.CONTAINER_BOTTOM_RIGHT;\n } else if (this._config.position == Position.BOTTOM_LEFT) {\n return Selector.CONTAINER_BOTTOM_LEFT;\n }\n...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Wed Feb 12 07:55:41 UTC 2020 - 77K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go
// // No stack will be referenced twice in the Places slice for a given // StackSource. In case of recursion, Places will contain the outer-most // entry in the recursive stack. E.g., if stack S has source X at positions // 4,6,9,10, the Places entry for X will contain [S,4]. Places []StackSlot // Combined count of stacks where this source is the leaf. Self int64 // Color number to use for this source.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 5.6K bytes - Viewed (0) -
src/index/suffixarray/sais.go
// By scanning backward, we can keep track of whether the current // position is type-S or type-L according to the usual definition: // // - position len(text) is type S with text[len(text)] == -1 (the sentinel) // - position i is type S if text[i] < text[i+1], or if text[i] == text[i+1] && i+1 is type S. // - position i is type L if text[i] > text[i+1], or if text[i] == text[i+1] && i+1 is type L. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 23:57:18 UTC 2024 - 32.4K bytes - Viewed (0) -
src/go/parser/error_test.go
// set otherwise the position information returned here will // not match the position information collected by the parser s.Init(getFile(fset, filename), src, nil, scanner.ScanComments) var prev token.Pos // position of last non-comment, non-semicolon token var here token.Pos // position immediately after the token at position prev for { pos, tok, lit := s.Scan() switch tok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 19:47:49 UTC 2022 - 5.9K bytes - Viewed (0) -
cmd/httprange.go
if offsetBeginString[0] == '+' { return nil, fmt.Errorf("Byte position ('%s') must not have a sign", offsetBeginString) } else if offsetBegin, err = strconv.ParseInt(offsetBeginString, 10, 64); err != nil { return nil, fmt.Errorf("'%s' does not have a valid first byte position value", rangeString) } else if offsetBegin < 0 { return nil, fmt.Errorf("First byte position is negative ('%d')", offsetBegin) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 08:44:07 UTC 2024 - 5.9K bytes - Viewed (0)