Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for prevLine (0.16 sec)

  1. src/go/internal/gcimporter/iimport.go

    		r.posv1()
    	} else {
    		r.posv0()
    	}
    
    	if r.prevFile == "" && r.prevLine == 0 && r.prevColumn == 0 {
    		return token.NoPos
    	}
    	return r.p.fake.pos(r.prevFile, int(r.prevLine), int(r.prevColumn))
    }
    
    func (r *importReader) posv0() {
    	delta := r.int64()
    	if delta != deltaNewFile {
    		r.prevLine += delta
    	} else if l := r.int64(); l == -1 {
    		r.prevLine += deltaNewFile
    	} else {
    		r.prevFile = r.string()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. src/go/printer/nodes.go

    				p.print(blank)
    			}
    			// parameter type
    			p.expr(stripParensAlways(par.Type))
    			prevLine = parLineEnd
    		}
    
    		// if the closing ")" is on a separate line from the last parameter,
    		// print an additional "," and line break
    		if closing := p.lineFor(fields.Closing); 0 < prevLine && prevLine < closing {
    			p.print(token.COMMA)
    			p.linebreak(closing, 0, ignore, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  3. src/strings/reader.go

    	}
    	if r.prevRune < 0 {
    		return errors.New("strings.Reader.UnreadRune: previous operation was not ReadRune")
    	}
    	r.i = int64(r.prevRune)
    	r.prevRune = -1
    	return nil
    }
    
    // Seek implements the [io.Seeker] interface.
    func (r *Reader) Seek(offset int64, whence int) (int64, error) {
    	r.prevRune = -1
    	var abs int64
    	switch whence {
    	case io.SeekStart:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/runtime/mksizeclasses.go

    	prevSize := 0
    	var minAligns [pageShift + 1]int
    	for i, c := range classes {
    		if i == 0 {
    			continue
    		}
    		spanSize := c.npages * pageSize
    		objects := spanSize / c.size
    		tailWaste := spanSize - c.size*(spanSize/c.size)
    		maxWaste := float64((c.size-prevSize-1)*objects+tailWaste) / float64(spanSize)
    		alignBits := bits.TrailingZeros(uint(c.size))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/compress/flate/deflate.go

    			*hh = uint32(di + d.hashOffset)
    		}
    	}
    	// Update window information.
    	d.windowEnd = n
    	d.index = n
    }
    
    // Try to find a match starting at index whose length is greater than prevSize.
    // We only look at chainCount possibilities before giving up.
    func (d *compressor) findMatch(pos int, prevHead int, prevLength int, lookahead int) (length, offset int, ok bool) {
    	minMatchLook := maxMatchLength
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top