// Head retrieves a copy of the current head (most recent) hash of the peer.
340383
func (p *peer) Head() (hash common.Hash) {
	p.lock.RLock()
	defer p.lock.RUnlock()

	copy(hash[:], p.headInfo.Hash[:])
	return hash
}
1065216
func (d *decompressor) releaseHead() {
	d.owner.head <- d.cr
	d.cr = nil // Defensively zero the reader.
}
765621
func (p *peer) SetHead(hash common.Hash, td *big.Int) {
	p.lock.Lock()
	defer p.lock.Unlock()

	copy(p.head[:], hash[:])
	p.td.Set(td)
}
68150
func (e *Echo) HEAD(path string, h HandlerFunc, m ...MiddlewareFunc) *Route {
	return e.Add(http.MethodHead, path, h, m...)
}
67811
func (p *binParser) header() bool {

	if p.read() != 1 {
		return false
	}
	if p.read() != 'G' {
		return false
	}
	if p.read() != 0 {
		return false
	}
	return true
}
848826
func (g *Group) HEAD(path string, h HandlerFunc, m ...MiddlewareFunc) *Route {
	return g.Add(http.MethodHead, path, h, m...)
}
283871
func (as AnnotatedSentence) Heads() []int {
	retVal := make([]int, len(as))
	for i, a := range as {
		retVal[i] = a.HeadID()
	}
	return retVal
}
121870
func (d *Decoder) Header() []string {
	header := make([]string, len(d.header))
	copy(header, d.header)
	return header
}
992050
func (ps *peerSet) Peer(id string) *peerConnection {
	ps.lock.RLock()
	defer ps.lock.RUnlock()

	return ps.peers[id]
}
445003
func (r *Repository) Head() (*plumbing.Reference, error) {
	return storer.ResolveReference(r.Storer, plumbing.HEAD)
}
500579
func (s *Skin) GetHead() string {
	s.checkDirection()
	s.Width()

	head := s.currentDirection.Head
	head = s.adaptWidth(head)
	return strings.TrimRight(head, " ")
}
1212486
func (d *decompressor) acquireHead() {
	d.wg.Add(1)
	d.cr = <-d.owner.head
}
1290112
func (gr *GoReq) Head(targetURL string) *GoReq {
	//gr.Reset()
	gr.Method = HEAD
	gr.URL = targetURL
	gr.Errors = nil
	return gr
}
975888
func (r *Request) Head(output interface{}) (*Response, error) {
	return r.createResponse(r.Request.Head(), output)
}
867001
func (j *Journal) SeekHead() error {
	sd_journal_seek_head, err := getFunction("sd_journal_seek_head")
	if err != nil {
		return err
	}

	j.mu.Lock()
	r := C.my_sd_journal_seek_head(sd_journal_seek_head, j.cjournal)
	j.mu.Unlock()

	if r < 0 {
		return fmt.Errorf("failed to seek to head of journal: %d", syscall.Errno(-r))
	}

	return nil
}
462614
func (q *Queue) SendStringHead(rawurl ...string) (int, error) {
	return q.sendWithMethod("HEAD", rawurl)
}
327806
func Head(path string, h interface{}, m ...interface{}) {
	Default.Head(path, h, m...)
}