Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for InternalType (0.2 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/TypeAccessibilityProviderTest.kt

            val internalType = SchemaType.of<InternalType>()
            assertThat(
                accessibilityFor(
                    internalType,
                    classPath = jarClassPathWith(InternalType::class)
                ),
                equalTo(inaccessible(internalType, InaccessibilityReason.NonPublic(internalType.kotlinString)))
            )
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/codec_check.go

    // decode all of the external types listed, and also decode them into the given
    // object. (Will modify internalObject.) (Assumes JSON serialization.)
    // TODO: verify that the correct external version is chosen on encode...
    func CheckCodec(c Codec, internalType Object, externalTypes ...schema.GroupVersionKind) error {
    	if _, err := Encode(c, internalType); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:07:03 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

        def collectionPath = ModelPath.path("collection")
        def internalType
        def internalTypeSchema
        def collectionProperty
        ModelType<C> collectionType
        private ModelReference<C> reference
    
        abstract Class<?> holderType()
    
        C checkable(List<T> list) {
            list
        }
    
        def setup() {
            internalType = holderType()
            internalTypeSchema = schemaStore.getSchema(internalType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. plugin/pkg/admission/security/podsecurity/admission_test.go

    	}
    	for _, r := range extractor.PodSpecResources() {
    		internalType, ok := internalTypes[r]
    		if !ok {
    			t.Errorf("no internal type registered for %s", r.String())
    			continue
    		}
    		externalType, err := convert(internalType)
    		if err != nil {
    			t.Errorf("error converting %T: %v", internalType, err)
    			continue
    		}
    		_, _, err = extractor.ExtractPodSpec(externalType)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:29:47 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

                superTypeStack.addSuperTypesOf(superType.delegate)
            }
            return true
        }
    
        private
        fun typeForInternalName(internalType: String): ApiType? =
            context.type(sourceNameOfBinaryName(binaryNameOfInternalName(internalType)))
    
        private
        val hasSuperType: Boolean by unsafeLazy {
            delegate.interfaces.isNotEmpty() || delegate.superName != null
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top