- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 4,112 for p$ (0.02 sec)
-
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) -
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) -
src/crypto/internal/edwards25519/scalarmult_test.go
var p Point p.ScalarMult(dalekScalar, B) if dalekScalarBasepoint.Equal(&p) != 1 { t.Error("Scalar mul does not match dalek") } checkOnCurve(t, &p) } func TestBaseMultVsDalek(t *testing.T) { var p Point p.ScalarBaseMult(dalekScalar) if dalekScalarBasepoint.Equal(&p) != 1 { t.Error("Scalar mul does not match dalek") } checkOnCurve(t, &p) } func TestVarTimeDoubleBaseMultVsDalek(t *testing.T) { var p Point
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/internal/src/xpos.go
func (p XPos) After(q XPos) bool { n, m := p.index, q.index return n > m || n == m && p.lico > q.lico } // WithNotStmt returns the same location to be marked with DWARF is_stmt=0 func (p XPos) WithNotStmt() XPos { p.lico = p.lico.withNotStmt() return p } // WithDefaultStmt returns the same location with undetermined is_stmt func (p XPos) WithDefaultStmt() XPos { p.lico = p.lico.withDefaultStmt()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 4.9K bytes - Viewed (0) -
test/escape.go
chk(p, q, 11, "select_escapes1") p, q = range_escapes(13), range_escapes(14) chk(p, q, 13, "range_escapes") p, q = range_escapes2(101, 102) chkalias(p, q, 101, "range_escapes2") p, q = for_escapes2(103, 104) chkalias(p, q, 103, "for_escapes2") p, q = for_escapes3(105, 106) chk(p, q, 105, "for_escapes3") _, p = out_escapes(15) _, q = out_escapes(16) chk(p, q, 15, "out_escapes")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 06 18:34:24 UTC 2023 - 3.8K bytes - Viewed (0) -
src/runtime/hash64.go
a = r8(p) b = r8(add(p, s-8)) default: l := s if l > 48 { seed1 := seed seed2 := seed for ; l > 48; l -= 48 { seed = mix(r8(p)^hashkey[1], r8(add(p, 8))^seed) seed1 = mix(r8(add(p, 16))^hashkey[2], r8(add(p, 24))^seed1) seed2 = mix(r8(add(p, 32))^hashkey[3], r8(add(p, 40))^seed2) p = add(p, 48) } seed ^= seed1 ^ seed2 } for ; l > 16; l -= 16 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 17:39:28 UTC 2024 - 1.9K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue48951.go
package p type ( A1[P any] [10]A1 /* ERROR "invalid recursive type" */ [P] A2[P any] [10]A2 /* ERROR "invalid recursive type" */ [*P] A3[P any] [10]*A3[P] L1[P any] []L1[P] S1[P any] struct{ f S1 /* ERROR "invalid recursive type" */ [P] } S2[P any] struct{ f S2 /* ERROR "invalid recursive type" */ [*P] } // like example in issue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 822 bytes - Viewed (0) -
test/escape5.go
"runtime" "unsafe" ) func noleak(p *int) int { // ERROR "p does not escape" return *p } func leaktoret(p *int) *int { // ERROR "leaking param: p to result" return p } func leaktoret2(p *int) (*int, *int) { // ERROR "leaking param: p to result ~r0" "leaking param: p to result ~r1" return p, p } func leaktoret22(p, q *int) (*int, *int) { // ERROR "leaking param: p to result ~r0" "leaking param: q to result ~r1"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
this.idleTimeoutDisabled = Config.getBoolean(p, "jcifs.smb.client.disableIdleTimeout", false); this.smbLocalAddress = Config.getLocalHost(p); this.smbLocalPort = Config.getInt(p, "jcifs.smb.client.lport", 0); this.maxMpxCount = Config.getInt(p, "jcifs.smb.client.maxMpxCount", SmbConstants.DEFAULT_MAX_MPX_COUNT);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 8.9K bytes - Viewed (0)