Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for nilslice (0.19 sec)

  1. src/cmd/compile/internal/ssa/_gen/allocators.go

    		},
    		{
    			name: "IntSlice",
    			typ:  "[]int",
    			base: "Int64Slice",
    		},
    		{
    			name: "Int32Slice",
    			typ:  "[]int32",
    			base: "Int64Slice",
    		},
    		{
    			name: "Int8Slice",
    			typ:  "[]int8",
    			base: "Int64Slice",
    		},
    		{
    			name: "BoolSlice",
    			typ:  "[]bool",
    			base: "Int64Slice",
    		},
    		{
    			name: "IDSlice",
    			typ:  "[]ID",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/instantiate_test.go

    		{
    			"package differenttypeargs; type T[P any] int",
    			"T", []Type{Typ[Int]},
    			"T", []Type{Typ[String]},
    			false,
    		},
    		{
    			"package typeslice; type T[P any] int",
    			"T", []Type{NewSlice(Typ[Int])},
    			"T", []Type{NewSlice(Typ[Int])},
    			true,
    		},
    		{
    			// interface{interface{...}} is equivalent to interface{...}
    			"package equivalentinterfaces; type T[P any] int",
    			"T", []Type{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. src/go/doc/testdata/issue22856.1.golden

    	// 
    	func NewArray() [1]T
    
    	// 
    	func NewPointer() *T
    
    	// 
    	func NewPointerArray() [1]*T
    
    	// 
    	func NewPointerOfPointer() **T
    
    	// 
    	func NewPointerSlice() []*T
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 16:37:37 UTC 2018
    - 654 bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceSlice.json

          {
            "name": "nameValue",
            "attributes": [
              {
                "name": "nameValue",
                "quantity": "0",
                "bool": true,
                "int": 7,
                "intSlice": {
                  "ints": [
                    1
                  ]
                },
                "string": "stringValue",
                "stringSlice": {
                  "strings": [
                    "stringsValue"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceSlice.json

          {
            "name": "nameValue",
            "attributes": [
              {
                "name": "nameValue",
                "quantity": "0",
                "bool": true,
                "int": 7,
                "intSlice": {
                  "ints": [
                    1
                  ]
                },
                "string": "stringValue",
                "stringSlice": {
                  "strings": [
                    "stringsValue"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/go/doc/testdata/issue22856.0.golden

    	// 
    	func NewArray() [1]T
    
    	// 
    	func NewPointer() *T
    
    	// 
    	func NewPointerArray() [1]*T
    
    	// 
    	func NewPointerOfPointer() **T
    
    	// 
    	func NewPointerSlice() []*T
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 16:37:37 UTC 2018
    - 654 bytes
    - Viewed (0)
  7. src/go/doc/testdata/issue22856.2.golden

    	// 
    	func NewArray() [1]T
    
    	// 
    	func NewPointer() *T
    
    	// 
    	func NewPointerArray() [1]*T
    
    	// 
    	func NewPointerOfPointer() **T
    
    	// 
    	func NewPointerSlice() []*T
    
    	// 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 16:37:37 UTC 2018
    - 654 bytes
    - Viewed (0)
  8. src/sort/sort_slices_benchmark_test.go

    	}
    	Strings(x)
    	return x
    }
    
    const N = 100_000
    
    func BenchmarkSortInts(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		b.StopTimer()
    		ints := makeRandomInts(N)
    		b.StartTimer()
    		Sort(IntSlice(ints))
    	}
    }
    
    func BenchmarkSlicesSortInts(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		b.StopTimer()
    		ints := makeRandomInts(N)
    		b.StartTimer()
    		slices.Sort(ints)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 22:59:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceSlice.yaml

        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    namedResources:
      instances:
      - attributes:
        - bool: true
          int: 7
          intSlice:
            ints:
            - 1
          name: nameValue
          quantity: "0"
          string: stringValue
          stringSlice:
            strings:
            - stringsValue
          version: versionValue
        name: nameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/dec.rules

          (OffPtr <typ.BytePtrPtr> [config.PtrSize] ptr)
          mem)
    
    (SlicePtr x:(Load <t> ptr mem)) && t.IsSlice() => @x.Block (Load <t.Elem().PtrTo()> ptr mem)
    (SliceLen x:(Load <t> ptr mem)) && t.IsSlice() => @x.Block (Load <typ.Int>
          (OffPtr <typ.IntPtr> [config.PtrSize] ptr)
          mem)
    (SliceCap x:(Load <t> ptr mem)) && t.IsSlice() => @x.Block (Load <typ.Int>
          (OffPtr <typ.IntPtr> [2*config.PtrSize] ptr)
          mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top