Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 522 for positioned (0.67 sec)

  1. src/cmd/pack/pack.go

    			ar.files = ar.files[:len(ar.files)-1]
    			return true
    		}
    	}
    	return false
    }
    
    // addFiles adds files to the archive. The archive is known to be
    // sane and we are positioned at the end. No attempt is made
    // to check for existing files.
    func (ar *Archive) addFiles() {
    	if len(ar.files) == 0 {
    		usage()
    	}
    	for _, file := range ar.files {
    		if verbose {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. src/compress/gzip/gunzip.go

    // In this mode, when the [Reader] reaches the end of the data stream,
    // [Reader.Read] returns [io.EOF]. The underlying reader must implement [io.ByteReader]
    // in order to be left positioned just after the gzip stream.
    // To start the next stream, call z.Reset(r) followed by z.Multistream(false).
    // If there is no next stream, z.Reset(r) will return [io.EOF].
    func (z *Reader) Multistream(ok bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. src/go/types/check_test.go

    		index := -1 // index of matching error
    		var delta int
    		for _, i := range indices {
    			if d := absDiff(gotPos.Column, errList[i].col); index < 0 || d < delta {
    				index, delta = i, d
    			}
    		}
    
    		// The closest column position must be within expected colDelta.
    		const colDelta = 0 // go/types errors are positioned correctly
    		if delta > colDelta {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/image/png/reader.go

    //
    // then this reader presents xxxyy. For well-formed PNG data, the decoder state
    // immediately before the first Read call is that d.r is positioned between the
    // first IDAT and xxx, and the decoder state immediately after the last Read
    // call is that d.r is positioned between yy and crc1.
    func (d *decoder) Read(p []byte) (int, error) {
    	if len(p) == 0 {
    		return 0, nil
    	}
    	for d.idatLength == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/iimport.go

    		return r.p.tparamIndex[id]
    
    	case instanceType:
    		if r.p.exportVersion < iexportVersionGenerics {
    			errorf("unexpected instantiation type")
    		}
    		// pos does not matter for instances: they are positioned on the original
    		// type.
    		_ = r.pos()
    		len := r.uint64()
    		targs := make([]types.Type, len)
    		for i := range targs {
    			targs[i] = r.typ()
    		}
    		baseType := r.typ()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. 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)
  7. src/debug/dwarf/entry.go

    func (r *Reader) offset() Offset {
    	return r.b.off
    }
    
    // SeekPC returns the [Entry] for the compilation unit that includes pc,
    // and positions the reader to read the children of that unit.  If pc
    // is not covered by any unit, SeekPC returns [ErrUnknownPC] and the
    // position of the reader is undefined.
    //
    // Because compilation units can describe multiple regions of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

            f->x2
    
            Everything is resolvable but not x2
    
            Scenario:
             - We have batched up conflicts
             - root of one conflicted version is also conflicted
             - conflicted root is positioned on the conflicts queue after the conflicted child (the order of declaring dependencies matters)
             - winning root depends on a child that previously was evicted
             - finally, the winning child is an unresolved dependency
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/positions.go

    			return n.Pos()
    		}
    	}
    }
    
    // EndPos returns the approximate end position of n in the source.
    // For some nodes (*Name, *BasicLit) it returns the position immediately
    // following the node; for others (*BlockStmt, *SwitchStmt, etc.) it
    // returns the position of the closing '}'; and for some (*ParenExpr)
    // the returned position is the end position of the last enclosed
    // expression.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top