Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 96 for ArrayType (0.36 sec)

  1. src/internal/abi/type.go

    func (t *Type) MapType() *MapType {
    	if t.Kind() != Map {
    		return nil
    	}
    	return (*MapType)(unsafe.Pointer(t))
    }
    
    // ArrayType returns t cast to a *ArrayType, or nil if its tag does not match.
    func (t *Type) ArrayType() *ArrayType {
    	if t.Kind() != Array {
    		return nil
    	}
    	return (*ArrayType)(unsafe.Pointer(t))
    }
    
    // FuncType returns t cast to a *FuncType, or nil if its tag does not match.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java

            }
    
            @Override
            public ValueSnapshot emptyArray(Class<?> arrayType) {
                return ArrayValueSnapshot.EMPTY;
            }
    
            @Override
            public ValueSnapshot array(ImmutableList<ValueSnapshot> elements, Class<?> arrayType) {
                return new ArrayValueSnapshot(elements);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/encoding/gob/type.go

    	registerBasics()
    	wireTypeUserInfo = userType(wireTypeType)
    }
    
    // Array type
    type arrayType struct {
    	CommonType
    	Elem typeId
    	Len  int
    }
    
    func newArrayType(name string) *arrayType {
    	a := &arrayType{CommonType{Name: name}, 0, 0}
    	return a
    }
    
    func (a *arrayType) init(elem gobType, len int) {
    	// Set our type id before evaluating the element's, in case it's our own.
    	setTypeId(a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. src/debug/dwarf/type.go

    func (t *QualType) Size() int64 { return t.Type.Size() }
    
    // An ArrayType represents a fixed size array type.
    type ArrayType struct {
    	CommonType
    	Type          Type
    	StrideBitSize int64 // if > 0, number of bits to hold each element
    	Count         int64 // if == -1, an incomplete array, like char x[].
    }
    
    func (t *ArrayType) String() string {
    	return "[" + strconv.FormatInt(t.Count, 10) + "]" + t.Type.String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/annotations/FirIdeDependentAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated.java

          runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/annotatedType.kt");
        }
    
        @Test
        @TestMetadata("arrayType.kt")
        public void testArrayType() {
          runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/arrayType.kt");
        }
    
        @Test
        @TestMetadata("arrayType2.kt")
        public void testArrayType2() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 13 09:31:11 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/internal/fuzz/encoding.go

    		return nil, fmt.Errorf("expected call expression with 1 argument; got %d", len(call.Args))
    	}
    	arg := call.Args[0]
    
    	if arrayType, ok := call.Fun.(*ast.ArrayType); ok {
    		if arrayType.Len != nil {
    			return nil, fmt.Errorf("expected []byte or primitive type")
    		}
    		elt, ok := arrayType.Elt.(*ast.Ident)
    		if !ok || elt.Name != "byte" {
    			return nil, fmt.Errorf("expected []byte")
    		}
    		lit, ok := arg.(*ast.BasicLit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/annotations/Fe10IdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated.java

          runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/annotatedType.kt");
        }
    
        @Test
        @TestMetadata("arrayType.kt")
        public void testArrayType() {
          runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/arrayType.kt");
        }
    
        @Test
        @TestMetadata("arrayType2.kt")
        public void testArrayType2() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 13 09:31:11 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/annotations/FirStandaloneNormalAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated.java

          runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/annotatedType.kt");
        }
    
        @Test
        @TestMetadata("arrayType.kt")
        public void testArrayType() {
          runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/arrayType.kt");
        }
    
        @Test
        @TestMetadata("arrayType2.kt")
        public void testArrayType2() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 13 09:31:11 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/iexport.go

    //         Elem typeOff
    //     }
    //
    //     type SliceType struct {
    //         Tag  itag // sliceType
    //         Elem typeOff
    //     }
    //
    //     type ArrayType struct {
    //         Tag  itag // arrayType
    //         Len  uint64
    //         Elem typeOff
    //     }
    //
    //     type ChanType struct {
    //         Tag  itag   // chanType
    //         Dir  uint64 // 1 RecvOnly; 2 SendOnly; 3 SendRecv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 02:40:02 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/annotations/FirIdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated.java

          runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/annotatedType.kt");
        }
    
        @Test
        @TestMetadata("arrayType.kt")
        public void testArrayType() {
          runTest("analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/arrayType.kt");
        }
    
        @Test
        @TestMetadata("arrayType2.kt")
        public void testArrayType2() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 13 09:31:11 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top