Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for type$val (0.1 sec)

  1. src/cmd/compile/internal/types/type.go

    // instantiated generic types.
    func (t *Type) IsFullyInstantiated() bool {
    	return len(t.RParams()) > 0
    }
    
    // Map contains Type fields specific to maps.
    type Map struct {
    	Key  *Type // Key type
    	Elem *Type // Val (elem) type
    
    	Bucket *Type // internal struct type representing a hash bucket
    }
    
    // MapType returns t's extra map-specific fields.
    func (t *Type) MapType() *Map {
    	t.wantEtype(TMAP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_test.go

    		return after[:n]
    	}
    	panic("missing package header: " + src)
    }
    
    func TestValuesInfo(t *testing.T) {
    	var tests = []struct {
    		src  string
    		expr string // constant expression
    		typ  string // constant type
    		val  string // constant value
    	}{
    		{`package a0; const _ = false`, `false`, `untyped bool`, `false`},
    		{`package a1; const _ = 0`, `0`, `untyped int`, `0`},
    		{`package a2; const _ = 'A'`, `'A'`, `untyped rune`, `65`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    		return after[:n]
    	}
    	panic("missing package header: " + src)
    }
    
    func TestValuesInfo(t *testing.T) {
    	var tests = []struct {
    		src  string
    		expr string // constant expression
    		typ  string // constant type
    		val  string // constant value
    	}{
    		{`package a0; const _ = false`, `false`, `untyped bool`, `false`},
    		{`package a1; const _ = 0`, `0`, `untyped int`, `0`},
    		{`package a2; const _ = 'A'`, `'A'`, `untyped rune`, `65`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

                Callable<? extends String> subType,
                Callable<? super String> superType,
                Callable<?> wildcard,
                Callable<? extends Callable<?>> nested,
                Callable<S> typeVar,
                Callable<? extends T> typeVarWithBounds,
                V genericVar,
                String[] array,
                List<? extends String>[] genericArray,
                boolean primitive
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
Back to top