- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 357 for Positions (0.86 sec)
-
src/cmd/compile/internal/syntax/pos.go
func (p position_) String() string { if p.line == 0 { if p.filename == "" { return "<unknown position>" } return p.filename } if p.col == 0 { return fmt.Sprintf("%s:%d", p.filename, p.line) } return fmt.Sprintf("%s:%d:%d", p.filename, p.line, p.col) } // A PosBase represents the base for relative position information: // At position pos, the relative position is filename:line:col.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 20:44:57 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy
then: decode(bytes) { Decoder decoder -> decoder.skipChunked() assert decoder.readString() == "done" } } def "can query write and read positions"() { def outstr = new ByteArrayOutputStream() def encoder = new KryoBackedEncoder(outstr) expect: encoder.writePosition == 0 when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0); private final transient Object[] elements; private final transient int hashCode; // the same values as `elements` in hashed positions (plus nulls) @VisibleForTesting final transient @Nullable Object[] table; // 'and' with an int to get a valid table index. private final transient int mask;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 3.9K 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/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/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/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) -
src/cmd/compile/internal/types2/interface.go
methods []*Func // ordered list of explicitly declared methods embeddeds []Type // ordered list of explicitly embedded elements embedPos *[]syntax.Pos // positions of embedded elements; or nil (for error messages) - use pointer to save space implicit bool // interface is wrapper for type set literal (non-interface T, ~T, or A|B)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 6.2K bytes - Viewed (0)