Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 9,295 for t$ (0.04 sec)

  1. src/internal/types/testdata/check/unions.go

    // Disallow them for now.
    
    package p
    
    type t int
    
    type (
    	t00 t; t01 t; t02 t; t03 t; t04 t; t05 t; t06 t; t07 t; t08 t; t09 t
    	t10 t; t11 t; t12 t; t13 t; t14 t; t15 t; t16 t; t17 t; t18 t; t19 t
    	t20 t; t21 t; t22 t; t23 t; t24 t; t25 t; t26 t; t27 t; t28 t; t29 t
    	t30 t; t31 t; t32 t; t33 t; t34 t; t35 t; t36 t; t37 t; t38 t; t39 t
    	t40 t; t41 t; t42 t; t43 t; t44 t; t45 t; t46 t; t47 t; t48 t; t49 t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. src/go/printer/testdata/generics.golden

    type _ [P(T)]byte
    type _ [P((T))]byte
    type _ [P * *T]byte
    type _ [P * T]byte
    type _ [P(*T)]byte
    type _ [P(**T)]byte
    type _ [P*T - T]byte
    type _ [P*T - T]byte
    type _ [P*T | T]byte
    type _ [P*T | <-T | T]byte
    
    // equivalent test cases for potentially ambiguous type parameter lists, except
    // for function declarations there is no ambiguity (issue #51548)
    func _[P *T]()		{}
    func _[P *T, _ any]()	{}
    func _[P *T]()		{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 16:18:34 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

     W(t){return C(t)?t:M(t)||_(t)?t[0]:k(t)?W(t[0]):null}function V(t){return C(t)?[t]:M(t)?g.slice.call(t):k(t)?t.map(W).filter(Boolean):_(t)?t.toArray():[]}function R(t){return E(t)?t:(t=W(t))?(A(t)?t:t.ownerDocument).defaultView:window}function q(t){return k(t)?t:D(t)?t.split(/,(?![^(]*\))/).map(function(t){return B(t)?F(t):L(t.trim())}):[t]}function Y(t){return t?c(t,"ms")?j(t):1e3*j(t):0}function U(t,i){return t===i||I(t)&&I(i)&&Object.keys(t).length===Object.keys(i).length&&J(t,function(t,e){return...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/testdata/tparams.go

    	t[a *[]t|t] struct{}
    	t[a ([]t)] struct{}
    	t[a ([]t)|t] struct{}
    )
    
    // go.dev/issue/60812
    type (
    	t [t]struct{}
    	t [[]t]struct{}
    	t [[t]t]struct{}
    	t [/* ERROR missing type parameter name or invalid array length */ t[t]]struct{}
    	t [t t[t], /* ERROR missing type parameter name */ t[t]]struct{}
    	t [/* ERROR missing type parameter name */ t[t], t t[t]]struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 17:49:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/nistec_test.go

    }
    
    func TestEquivalents(t *testing.T) {
    	t.Run("P224", func(t *testing.T) {
    		testEquivalents(t, nistec.NewP224Point, elliptic.P224())
    	})
    	t.Run("P256", func(t *testing.T) {
    		testEquivalents(t, nistec.NewP256Point, elliptic.P256())
    	})
    	t.Run("P384", func(t *testing.T) {
    		testEquivalents(t, nistec.NewP384Point, elliptic.P384())
    	})
    	t.Run("P521", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 18:48:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. src/go/types/mono_test.go

    var bads = []string{
    	"func F[T any](x T) { F(&x) }",
    	"func F[T any]() { F[*T]() }",
    	"func F[T any]() { F[[]T]() }",
    	"func F[T any]() { F[[1]T]() }",
    	"func F[T any]() { F[chan T]() }",
    	"func F[T any]() { F[map[*T]int]() }",
    	"func F[T any]() { F[map[error]T]() }",
    	"func F[T any]() { F[func(T)]() }",
    	"func F[T any]() { F[func() T]() }",
    	"func F[T any]() { F[struct{ t T }]() }",
    	"func F[T any]() { F[interface{ t() T }]() }",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/target.go

    }
    
    func (t *Target) IsPIE() bool {
    	return t.BuildMode == BuildModePIE
    }
    
    func (t *Target) IsSharedGoLink() bool {
    	return t.linkShared
    }
    
    func (t *Target) CanUsePlugins() bool {
    	return t.canUsePlugins
    }
    
    func (t *Target) IsElf() bool {
    	t.mustSetHeadType()
    	return t.IsELF
    }
    
    func (t *Target) IsDynlinkingGo() bool {
    	return t.IsShared() || t.IsSharedGoLink() || t.IsPlugin() || t.CanUsePlugins()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:14:48 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. src/testing/testing_test.go

    }
    
    func TestRaceSubReports(t *testing.T) {
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		t.Parallel()
    		c1 := make(chan bool, 1)
    		t.Run("sub", func(t *testing.T) {
    			t.Run("subsub1", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				c1 <- true
    			})
    			t.Run("subsub2", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				<-c1
    			})
    		})
    		doRace()
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. pkg/test/util/assert/tracker.go

    func (t *Tracker[T]) Empty() {
    	t.t.Helper()
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	if len(t.events) != 0 {
    		t.t.Fatalf("unexpected events: %v", t.events)
    	}
    }
    
    // WaitOrdered waits for an event to happen, in order
    func (t *Tracker[T]) WaitOrdered(events ...T) {
    	t.t.Helper()
    	for i, event := range events {
    		var err error
    		retry.UntilSuccessOrFail(t.t, func() error {
    			t.mu.Lock()
    			defer t.mu.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/go/printer/testdata/generics.input

    type _[P *T | T | T | ~T | T] struct{}
    type _[P *T | T | struct{} | T] struct{}
    type _[P <-chan int] struct{}
    type _[P *T | struct{} | T] struct{}
    
    // a trailing comma always indicates a (possibly invalid) type parameter list (blank after type parameter list and type)
    type _[P *T,] struct{}
    type _[P *T | T,] struct{}
    type _[P *T | <-T | T,] struct{}
    
    // slice/array type declarations (no blank between array length and element type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 16:18:34 UTC 2022
    - 2.6K bytes
    - Viewed (0)
Back to top