Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 886 for Positions (0.13 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/diagnostic.go

    	// problem described by the diagnostic, each one representing
    	// an alternative strategy; at most one may be applied.
    	SuggestedFixes []SuggestedFix
    
    	// Related contains optional secondary positions and messages
    	// related to the primary diagnostic.
    	Related []RelatedInformation
    }
    
    // RelatedInformation contains information related to a diagnostic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      // The first `size` elements are non-null.
      @VisibleForTesting final transient @Nullable 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;
      private final transient int size;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/embed.txt

    [symlink] symlink t/x.link -> ../x.txt
    [symlink] ! go build -x
    [symlink] stderr '^x.go:5:12: pattern [*]t: cannot embed directory t: contains no embeddable files$'
    
    cp x.txt t/x.txt
    go build -x
    
    # build reports errors with positions in imported packages
    rm t/x.txt
    ! go build m/use
    stderr '^x.go:5:12: pattern [*]t: cannot embed directory t: contains no embeddable files$'
    
    # all still ignores .git and symlinks
    cp x.go3 x.go
    ! go build -x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 18:03:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. 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)
  5. src/go/printer/printer.go

    	// Positions
    	// The out position differs from the pos position when the result
    	// formatting differs from the source formatting (in the amount of
    	// white space). If there's a difference and SourcePos is set in
    	// ConfigMode, //line directives are used in the output to restore
    	// original source positions for a reader.
    	pos          token.Position // current position in AST (source) space
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/internal/pkgbits/decoder.go

    	// elemEnds stores the byte-offset end positions of element
    	// bitstreams within elemData.
    	//
    	// For example, element I's bitstream data starts at elemEnds[I-1]
    	// (or 0, if I==0) and ends at elemEnds[I].
    	//
    	// Note: elemEnds is indexed by absolute indices, not
    	// section-relative indices.
    	elemEnds []uint32
    
    	// elemEndsEnds stores the index-offset end positions of relocation
    	// sections within elemEnds.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top