Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 5,200 for p$ (0.04 sec)

  1. src/cmd/vendor/golang.org/x/text/unicode/norm/input.go

    }
    
    func (in *input) _byte(p int) byte {
    	if in.bytes == nil {
    		return in.str[p]
    	}
    	return in.bytes[p]
    }
    
    func (in *input) skipASCII(p, max int) int {
    	if in.bytes == nil {
    		for ; p < max && in.str[p] < utf8.RuneSelf; p++ {
    		}
    	} else {
    		for ; p < max && in.bytes[p] < utf8.RuneSelf; p++ {
    		}
    	}
    	return p
    }
    
    func (in *input) skipContinuationBytes(p int) int {
    	if in.bytes == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt

                assertThat(p, nullValue())
            }
    
            withMockForProject(existing = "p" to null) {
    
                val p: Int? by project
                assertThat(p, nullValue())
            }
        }
    
        @Test
        fun `nullable delegated property access of non-existing gradle property`() {
    
            withMockForSettings(absent = "p") {
    
                val p: Int? by settings
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:44:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/runtime/race/testdata/comp_test.go

    	}()
    	p.s1.y = 2
    	<-c
    }
    
    func TestNoRaceCompPtr2(t *testing.T) {
    	c := make(chan bool, 1)
    	p := Ptr{&P{}, &P{}}
    	go func() {
    		p.s1.x = 1
    		c <- true
    	}()
    	_ = p
    	<-c
    }
    
    func TestRaceCompPtr(t *testing.T) {
    	c := make(chan bool, 1)
    	p := Ptr{&P{}, &P{}}
    	go func() {
    		p.s2.x = 1
    		c <- true
    	}()
    	p.s2.x = 2
    	<-c
    }
    
    func TestRaceCompPtr2(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.3K bytes
    - Viewed (0)
  4. src/os/exec_plan9.go

    func (p *ProcessState) Pid() int {
    	return p.pid
    }
    
    func (p *ProcessState) exited() bool {
    	return p.status.Exited()
    }
    
    func (p *ProcessState) success() bool {
    	return p.status.ExitStatus() == 0
    }
    
    func (p *ProcessState) sys() any {
    	return p.status
    }
    
    func (p *ProcessState) sysUsage() any {
    	return p.status
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue49043.go

    package p
    
    // The example from the issue.
    type (
    	N[P any] M /* ERROR "invalid recursive type" */ [P]
    	M[P any] N[P]
    )
    
    // A slightly more complicated case.
    type (
    	A[P any] B /* ERROR "invalid recursive type" */ [P]
    	B[P any] C[P]
    	C[P any] A[P]
    )
    
    // Confusing but valid (note that `type T *T` is valid).
    type (
    	N1[P any] *M1[P]
    	M1[P any] *N1[P]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 512 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_ambiguous_import.txt

    	example.net/m v0.2.0 => ./m2
    	example.net/m/p v1.0.0 => ./p0
    )
    -- importer.go --
    package importer
    import _ "example.net/m/p"
    -- m1/go.mod --
    module example.net/m
    
    go 1.16
    -- m1/p/p.go --
    package p
    -- m2/go.mod --
    module example.net/m
    
    go 1.16
    -- m2/README.txt --
    Package p has been moved to module …/m/p.
    Module …/m/p does not require any version of module …/m.
    
    -- p0/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/math/hypot.go

    	return hypot(p, q)
    }
    
    func hypot(p, q float64) float64 {
    	p, q = Abs(p), Abs(q)
    	// special cases
    	switch {
    	case IsInf(p, 1) || IsInf(q, 1):
    		return Inf(1)
    	case IsNaN(p) || IsNaN(q):
    		return NaN()
    	}
    	if p < q {
    		p, q = q, p
    	}
    	if p == 0 {
    		return 0
    	}
    	q = q / p
    	return p * Sqrt(1+q*q)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 850 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/validation/field/path_test.go

    		expected string
    	}{
    		{
    			func(p *Path) *Path { return p },
    			"root",
    		},
    		{
    			func(p *Path) *Path { return p.Child("first") },
    			"root.first",
    		},
    		{
    			func(p *Path) *Path { return p.Child("second") },
    			"root.first.second",
    		},
    		{
    			func(p *Path) *Path { return p.Index(0) },
    			"root.first.second[0]",
    		},
    		{
    			func(p *Path) *Path { return p.Child("third") },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  9. test/zerosize.go

    		panic("FAIL")
    	}
    	if &y != p {
    		print("&y=", &y, " p=", p, " &y==p = ", &y==p, "\n")
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 18:35:43 UTC 2023
    - 814 bytes
    - Viewed (0)
  10. test/escape_closure.go

    	x := 0
    	p := &x
    	_ = func(p **int) *int { // ERROR "leaking param: p to result ~r0 level=1" "func literal does not escape"
    		return *p
    	}(&p)
    }
    
    func ClosureCallArgs15() {
    	x := 0 // ERROR "moved to heap: x"
    	p := &x
    	sink = func(p **int) *int { // ERROR "leaking param content: p" "func literal does not escape"
    		return *p
    	}(&p)
    }
    
    func ClosureLeak1(s string) string { // ERROR "s does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:36:09 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top