Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 7,702 for p$ (0.03 sec)

  1. src/net/mail/message.go

    func (p *addrParser) skipSpace() {
    	p.s = strings.TrimLeft(p.s, " \t")
    }
    
    func (p *addrParser) peek() byte {
    	return p.s[0]
    }
    
    func (p *addrParser) empty() bool {
    	return p.len() == 0
    }
    
    func (p *addrParser) len() int {
    	return len(p.s)
    }
    
    // skipCFWS skips CFWS as defined in RFC5322.
    func (p *addrParser) skipCFWS() bool {
    	p.skipSpace()
    
    	for {
    		if !p.consume('(') {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. src/encoding/xml/marshal.go

    		p.depth--
    		if p.indentedIn {
    			p.indentedIn = false
    			return
    		}
    		p.indentedIn = false
    	}
    	if p.putNewline {
    		p.WriteByte('\n')
    	} else {
    		p.putNewline = true
    	}
    	if len(p.prefix) > 0 {
    		p.WriteString(p.prefix)
    	}
    	if len(p.indent) > 0 {
    		for i := 0; i < p.depth; i++ {
    			p.WriteString(p.indent)
    		}
    	}
    	if depthDelta > 0 {
    		p.depth++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/wasm/wasmobj.go

    			Offset: 0, // panic.argp
    		}
    
    		p := s.Func().Text
    		p = appendp(p, AMOVD, gpanic, regAddr(REG_R0))
    
    		p = appendp(p, AGet, regAddr(REG_R0))
    		p = appendp(p, AI64Eqz)
    		p = appendp(p, ANot)
    		p = appendp(p, AIf)
    
    		p = appendp(p, AGet, regAddr(REG_SP))
    		p = appendp(p, AI64ExtendI32U)
    		p = appendp(p, AI64Const, constAddr(framesize+8))
    		p = appendp(p, AI64Add)
    		p = appendp(p, AI64Load, panicargp)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. src/go/printer/gobuild.go

    		// Skip leading space at beginning of line.
    		blank := true
    		for pos < len(p.output) && (p.output[pos] == ' ' || p.output[pos] == '\t') {
    			pos++
    		}
    		// Skip over // comment if any.
    		if pos+3 < len(p.output) && p.output[pos] == tabwriter.Escape && p.output[pos+1] == '/' && p.output[pos+2] == '/' {
    			blank = false
    			for pos < len(p.output) && !isNL(p.output[pos]) {
    				pos++
    			}
    		}
    		// Skip over \n at end of line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/text/unicode/norm/iter.go

    func nextASCIIBytes(i *Iter) []byte {
    	p := i.p + 1
    	if p >= i.rb.nsrc {
    		p0 := i.p
    		i.setDone()
    		return i.rb.src.bytes[p0:p]
    	}
    	if i.rb.src.bytes[p] < utf8.RuneSelf {
    		p0 := i.p
    		i.p = p
    		return i.rb.src.bytes[p0:p]
    	}
    	i.info = i.rb.f.info(i.rb.src, i.p)
    	i.next = i.rb.f.nextMain
    	return i.next(i)
    }
    
    func nextASCIIString(i *Iter) []byte {
    	p := i.p + 1
    	if p >= i.rb.nsrc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 11K bytes
    - Viewed (0)
  6. src/go/scanner/errors.go

    func (p *ErrorList) Add(pos token.Position, msg string) {
    	*p = append(*p, &Error{pos, msg})
    }
    
    // Reset resets an [ErrorList] to no errors.
    func (p *ErrorList) Reset() { *p = (*p)[0:0] }
    
    // [ErrorList] implements the sort Interface.
    func (p ErrorList) Len() int      { return len(p) }
    func (p ErrorList) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
    
    func (p ErrorList) Less(i, j int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. src/go/printer/printer.go

    			return true
    		}
    	}
    	_ = line
    	return false
    }
    
    func (p *printer) nextComment() {
    	for p.cindex < len(p.comments) {
    		c := p.comments[p.cindex]
    		p.cindex++
    		if list := c.List; len(list) > 0 {
    			p.comment = c
    			p.commentOffset = p.posFor(list[0].Pos()).Offset
    			p.commentNewline = p.commentsHaveNewline(list)
    			return
    		}
    		// we should not reach here (correct ASTs don't have empty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/dumper.go

    	case reflect.Slice:
    		if x.IsNil() {
    			p.printf("nil")
    			return
    		}
    		p.printf("%s (%d entries) {", x.Type(), x.Len())
    		if x.Len() > 0 {
    			p.indent++
    			p.printf("\n")
    			for i, n := 0, x.Len(); i < n; i++ {
    				p.printf("%d: ", i)
    				p.dump(x.Index(i), nil)
    				p.printf("\n")
    			}
    			p.indent--
    		}
    		p.printf("}")
    
    	case reflect.Struct:
    		typ := x.Type()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 17:32:14 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue48136.go

    package p
    
    func f1[P interface{ *P }]() {}
    func f2[P interface{ func(P) }]() {}
    func f3[P, Q interface{ func(Q) P }]() {}
    func f4[P interface{ *Q }, Q interface{ func(P) }]() {}
    func f5[P interface{ func(P) }]() {}
    func f6[P interface { *Tree[P] }, Q any ]() {}
    
    func _() {
            f1 /* ERROR "cannot infer P" */ ()
            f2 /* ERROR "cannot infer P" */ ()
            f3 /* ERROR "cannot infer P" */ ()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 926 bytes
    - Viewed (0)
  10. pkg/auth/authorizer/abac/abac.go

    )
    
    type policyLoadError struct {
    	path string
    	line int
    	data []byte
    	err  error
    }
    
    func (p policyLoadError) Error() string {
    	if p.line >= 0 {
    		return fmt.Sprintf("error reading policy file %s, line %d: %s: %v", p.path, p.line, string(p.data), p.err)
    	}
    	return fmt.Sprintf("error reading policy file %s: %v", p.path, p.err)
    }
    
    // PolicyList is simply a slice of Policy structs.
    type PolicyList []*abac.Policy
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
Back to top