- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 7,702 for p$ (0.18 sec)
-
src/go/printer/nodes.go
p.setPos(x.Rparen) p.print(token.RPAREN) } case *ast.SelectorExpr: p.selectorExpr(x, depth, false) case *ast.TypeAssertExpr: p.expr1(x.X, token.HighestPrec, depth) p.print(token.PERIOD) p.setPos(x.Lparen) p.print(token.LPAREN) if x.Type != nil { p.expr(x.Type) } else { p.print(token.TYPE) } p.setPos(x.Rparen)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
src/internal/types/testdata/examples/inference2.go
// from assigning the functions. package p func f1[P any](P) {} func f2[P any]() P { var x P; return x } func f3[P, Q any](P) Q { var x Q; return x } func f4[P any](P, P) {} func f5[P any](P) []P { return nil } func f6[P any](int) P { var x P; return x } func f7[P any](P) string { return "" } // initialization expressions var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 12 18:44:59 UTC 2023 - 3.2K bytes - Viewed (0) -
src/internal/types/testdata/examples/operations.go
// license that can be found in the LICENSE file. package p // indirection func _[P any](p P) { _ = *p // ERROR "cannot indirect p" } func _[P interface{ int }](p P) { _ = *p // ERROR "cannot indirect p" } func _[P interface{ *int }](p P) { _ = *p } func _[P interface{ *int | *string }](p P) { _ = *p // ERROR "must have identical base types" } type intPtr *int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 582 bytes - Viewed (0) -
test/import2.dir/import3.go
func f3(func() func() int) func main() { p.F3(p.F1) p.F3(p.F2()) f3(p.F1) f3(p.F2()) p.C1 = (chan<- (chan int))(nil) p.C2 = (chan (<-chan int))(nil) p.C3 = (<-chan (chan int))(nil) p.C4 = (chan (chan<- int))(nil) p.C5 = (<-chan (<-chan int))(nil) p.C6 = (chan<- (<-chan int))(nil) p.C7 = (chan<- (chan<- int))(nil) p.C8 = (<-chan (<-chan (chan int)))(nil) p.C9 = (<-chan (chan<- (chan int)))(nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.3K bytes - Viewed (0) -
src/hash/crc32/crc32_table_ppc64le.s
DATA ·IEEEConst+208(SB)/8,$0x00000001b5334592 DATA ·IEEEConst+216(SB)/8,$0x00000001f8cc6582 /* x^246848 mod p(x), x^246784 mod p(x) */ DATA ·IEEEConst+224(SB)/8,$0x000000011f8ee1b4 DATA ·IEEEConst+232(SB)/8,$0x000000008631ddf0 /* x^245824 mod p(x), x^245760 mod p(x) */ DATA ·IEEEConst+240(SB)/8,$0x000000006252e632 DATA ·IEEEConst+248(SB)/8,$0x000000007e5a76d0 /* x^244800 mod p(x), x^244736 mod p(x) */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 20:44:20 UTC 2024 - 113.3K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/obj9.go
// assemble into a single addi. is := p.From.Offset>>16 + (p.From.Offset>>15)&1 i := int64(int16(p.From.Offset)) p.As = AADDIS p.From.Offset = is q := obj.Appendp(p, c.newprog) q.As = AADD q.From.SetConst(i) q.Reg = p.To.Reg q.To = p.To p = q } case AOR: if p.From.Type == obj.TYPE_CONST && uint64(p.From.Offset)&0xFFFFFFFF0000FFFF == 0 && p.From.Offset != 0 { p.As = AORIS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0) -
src/image/ycbcr.go
} func (p *YCbCr) YCbCrAt(x, y int) color.YCbCr { if !(Point{x, y}.In(p.Rect)) { return color.YCbCr{} } yi := p.YOffset(x, y) ci := p.COffset(x, y) return color.YCbCr{ p.Y[yi], p.Cb[ci], p.Cr[ci], } } // YOffset returns the index of the first element of Y that corresponds to // the pixel at (x, y). func (p *YCbCr) YOffset(x, y int) int { return (y-p.Rect.Min.Y)*p.YStride + (x - p.Rect.Min.X) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 8.7K bytes - Viewed (0) -
test/interface/receiver.go
v.V() // p = t // ERROR var i interface{} = t if _, ok := i.(P); ok { println("dynamic i.(P) succeeded incorrectly") panic("fail") } // println("--struct--"); var s S s.T = 42 s.P() s.V() v = s s.V() p = &s p.P() p.V() v = &s v.V() // p = s // ERROR var j interface{} = s if _, ok := j.(P); ok { println("dynamic j.(P) succeeded incorrectly")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:33:41 UTC 2012 - 1.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
} p.addr = append(p.addr, addr) } if p.isJump { p.asmJump(op, cond, p.addr) return } p.asmInstruction(op, cond, p.addr) } func (p *Parser) pseudo(word string, operands [][]lex.Token) bool { switch word { case "DATA": p.asmData(operands) case "FUNCDATA": p.asmFuncData(operands) case "GLOBL": p.asmGlobl(operands) case "PCDATA": p.asmPCData(operands) case "PCALIGN":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 36.9K bytes - Viewed (0) -
src/cmd/internal/obj/pcln.go
havefunc := make([]uint32, (nfuncdata+31)/32) for p := fn.Text; p != nil; p = p.Link { if p.As == AFUNCDATA { if (havefunc[p.From.Offset/32]>>uint64(p.From.Offset%32))&1 != 0 { ctxt.Diag("multiple definitions for FUNCDATA $%d", p.From.Offset) } havefunc[p.From.Offset/32] |= 1 << uint64(p.From.Offset%32) } if p.As == APCDATA && p.To.Offset != -1 { havepc[p.From.Offset/32] |= 1 << uint64(p.From.Offset%32) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 20:45:15 UTC 2022 - 11.8K bytes - Viewed (0)