Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CSTART (0.12 sec)

  1. src/cmd/internal/buildid/rewrite.go

    	n, err := r.r.Read(p)
    	if n > 0 && r.off+int64(n) > r.start && r.off < r.end {
    		cstart := r.start - r.off
    		if cstart < 0 {
    			cstart = 0
    		}
    		cend := r.end - r.off
    		if cend > int64(n) {
    			cend = int64(n)
    		}
    		zeros := make([]byte, cend-cstart)
    		copy(p[cstart:cend], zeros)
    	}
    	r.off += int64(n)
    	return n, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 5.1K bytes
    - Viewed (0)
Back to top