Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 400 for b1 (0.02 sec)

  1. test/typeparam/listimp.dir/main.go

    	if got, want := i1.Largest(), 3; got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    
    	b3 := &a.List[byte]{nil, byte(1)}
    	b2 := &a.List[byte]{b3, byte(3)}
    	b1 := &a.List[byte]{b2, byte(2)}
    	if got, want := b1.Largest(), byte(3); got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    
    	f3 := &a.List[float64]{nil, 13.5}
    	f2 := &a.List[float64]{f3, 1.2}
    	f1 := &a.List[float64]{f2, 4.5}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_lazy_downgrade.txt

    go 1.17
    
    require example.com/b v0.1.0
    -- a/a.go --
    package a
    -- a/a_test.go --
    package a_test
    
    import _ "example.com/b"
    
    -- b1/go.mod --
    module example.com/b
    
    go 1.17
    
    require example.com/c v0.1.0
    -- b1/b.go --
    package b
    -- b1/b_test.go --
    package b_test
    import _ "example.com/c"
    
    -- b2/go.mod --
    module example.com/b
    
    go 1.17
    
    require example.com/c v0.1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple-bare-m.go

    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    	b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack)
    	b0.Event("GoSyscallEndBlocked")
    
    	// A bare M steals the goroutine's P.
    	b1 := g.Batch(trace.ThreadID(1), 0)
    	b1.Event("ProcSteal", trace.ProcID(0), testgen.Seq(2), trace.ThreadID(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 855 bytes
    - Viewed (0)
  4. test/interface/explicit.go

    func (t *T2) _() {}
    
    // Already reported about the invalid blank interface method above;
    // no need to report about not implementing it.
    var b1 B1 = &T2{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 24 17:04:15 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/cycles5a.go

    }
    
    type UnpairedVersion interface {
    	Version
    }
    
    var _ Constraint = UnpairedVersion(nil)
    
    
    // derived test case from issue #21804
    
    type (
    	_ interface{ m(B1) }
    	A1 interface{ a(D1) }
    	B1 interface{ A1 }
    	C1 interface{ B1 }
    	D1 interface{ C1 }
    )
    
    var _ A1 = C1(nil)
    
    
    // derived test case from issue #22701
    
    func F(x I4) interface{} {
    	return x.Method()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_issue60490.txt

    )
    
    replace (
    	example.net/a v0.1.0 => ./a1
    	example.net/a v0.2.0 => ./a2
    	example.net/b v0.1.0 => ./b1
    	example.net/b v0.2.0 => ./b2
    	example.net/c v0.1.0 => ./c1
    )
    -- a1/go.mod --
    module example.net/a
    
    go 1.19
    -- a2/go.mod --
    module example.net/a
    
    go 1.19
    
    require example.net/b v0.2.0
    -- b1/go.mod --
    module example.net/b
    
    go 1.19
    -- b2/go.mod --
    module example.net/b
    
    go 1.19
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 16:18:15 UTC 2023
    - 752 bytes
    - Viewed (0)
  7. src/internal/types/testdata/fixedbugs/issue49276.go

    type T struct {
    	f *[unsafe.Sizeof(T /* ERROR "invalid recursive type" */ {})]int
    }
    
    // a mutually recursive case using unsafe.Sizeof
    type (
    	A1 struct {
    		_ [unsafe.Sizeof(B1{})]int
    	}
    
    	B1 struct {
    		_ [unsafe.Sizeof(A1 /* ERROR "invalid recursive type" */ {})]int
    	}
    )
    
    // a mutually recursive case using len
    type (
    	A2 struct {
    		f [len(B2{}.f)]int
    	}
    
    	B2 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 932 bytes
    - Viewed (0)
  8. src/crypto/tls/testdata/Client-TLSv10-ECDHE-RSA-AES

    00000310  25 4c 79 b8 fb ab dd 1f  68 e4 55 87 b1 46 12 30  |%Ly.....h.U..F.0|
    00000320  5e 9f 3d 4a 52 24 76 50  c8 54 83 a2 b9 f5 a6 e0  |^.=JR$vP.T......|
    00000330  ec e1 fb ae dd ca d2 c9  b2 31 d5 d4 73 f4 c0 0a  |.........1..s...|
    00000340  29 1c d3 8e 87 4c b4 0a  37 e8 77 e4 e2 a7 e9 9c  |)....L..7.w.....|
    00000350  04 ba af 31 dc 2e 5a b3  2e f3 58 e6 21 0a e2 1c  |...1..Z...X.!...|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_downup_pseudo_artifact.txt

    )
    
    replace (
    	example.net/b v0.1.0 => ./b1
    	example.net/b v0.2.1-0.20210219000000-000000000000 => ./b2
    	example.net/b v0.3.0 => ./b3
    	example.net/c v0.1.0 => ./c1
    	example.net/c v0.2.0 => ./c2
    	example.net/d v0.1.0 => ./d
    	example.net/d v0.2.0 => ./d
    	example.net/e v0.1.0 => ./e
    )
    -- a.go --
    package a
    
    import (
    	_ "example.net/b"
    	_ "example.net/c"
    )
    
    -- b1/go.mod --
    module example.net/b
    
    go 1.16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc-bare-m.go

    	b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack)
    	b0.Event("ProcStart", trace.ProcID(1), testgen.Seq(1))
    	b0.Event("GoSyscallEndBlocked")
    
    	// A bare M steals the goroutine's P.
    	b1 := g.Batch(trace.ThreadID(1), 0)
    	b1.Event("ProcSteal", trace.ProcID(0), testgen.Seq(2), trace.ThreadID(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 999 bytes
    - Viewed (0)
Back to top