Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 307 for AsObject (0.2 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt

                    fun classToKClass(subject: ClassToKClass) {
    
                        subject.rawClass(type = String::class)
                        subject.unknownClass(type = String::class)
                        subject.invariantClass(type = Number::class)
                        subject.covariantClass(type = Int::class)
                        subject.contravariantClass(type = Number::class)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:08 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

      MyPlugin.Rules#mutateThing2(MyPlugin.MyThing2, MyPlugin.MyThing3, String, Integer)
        subject:
          - <no path> MyPlugin.MyThing2 (parameter 1) [*]
        inputs:
          - <no path> MyPlugin.MyThing3 (parameter 2) [*]
          - <no path> String (parameter 3) [*]
          - <no path> Integer (parameter 4) [*]
    
      MyPlugin.Rules#subjectOnly(MyPlugin.MyThing2)
        subject:
          - <no path> MyPlugin.MyThing2 (parameter 1) [*]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/validation/validation.go

    // ValidateFlowSchemaSubject validates flow-schema's subject object.
    func ValidateFlowSchemaSubject(subject *flowcontrol.Subject, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    	switch subject.Kind {
    	case flowcontrol.SubjectKindServiceAccount:
    		allErrs = append(allErrs, ValidateServiceAccountSubject(subject.ServiceAccount, fldPath.Child("serviceAccount"))...)
    		if subject.User != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeBackedModelMap.java

            ModelRuleDescriptor descriptor = sourceDescriptor.append("named(%s)", name);
            ModelReference<T> subject = ModelReference.of(modelNode.getPath().child(name), elementType);
            modelNode.applyToLink(ModelActionRole.Mutate, new FilteringActionWrapper<T>(elementFilter, subject, NoInputsModelAction.of(subject, descriptor, configAction)));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 23K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            onPropertyMissingSet.execute(name, value)
        }
    }
    
    class ActionsTester {
    
        Object subject = "subject"
        String lastMethod
        List lastArgs
    
        void oneAction(Action action) {
            lastMethod = "oneAction"
            lastArgs = [action]
            action.execute(subject)
        }
    
        void twoArgs(String first, Action action) {
            lastMethod = "twoArgs"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go

    		Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindUser,
    			User: &flowcontrol.UserSubject{Name: "goodu"}}},
    		ResourceRules: []flowcontrol.ResourcePolicyRule{{
    			Verbs:      []string{"goodverb"},
    			APIGroups:  []string{"goodapig"},
    			Resources:  []string{"goodrscs"},
    			Namespaces: []string{"goodns"}}}}, {
    		Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindGroup,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/testFixtures/groovy/org/gradle/ide/xcode/fixtures/ProjectFile.groovy

     * limitations under the License.
     */
    
    package org.gradle.ide.xcode.fixtures
    
    import com.dd.plist.NSArray
    import com.dd.plist.NSDictionary
    import com.dd.plist.NSObject
    import com.dd.plist.NSString
    import com.dd.plist.PropertyListParser
    import com.google.common.base.MoreObjects
    import org.gradle.ide.xcode.internal.xcodeproj.PBXTarget.ProductType
    import org.gradle.test.fixtures.file.TestFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy

            then:
            bindings.getRulesWithSubject(nodeAtState("a", ModelNode.State.Mutated)) as List == [rule]
            rule.subjectBinding.boundTo == node
        }
    
        def "locates the subject of a rule by-path when subject added after rule"() {
            when:
            def node = node("a")
            def rule = rule("a", ModelNode.State.Mutated)
            bindings.add(rule)
    
            then:
            !rule.subjectBinding.bound
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          }
    
        fun build(): HeldCertificate {
          // Subject keys & identity.
          val subjectKeyPair = keyPair ?: generateKeyPair()
          val subjectPublicKeyInfo =
            CertificateAdapters.subjectPublicKeyInfo.fromDer(
              subjectKeyPair.public.encoded.toByteString(),
            )
          val subject: List<List<AttributeTypeAndValue>> = subject()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessageBuilder.java

            DeprecateAction(String subject) {
                super(subject);
            }
    
            @Override
            protected String createDefaultDeprecationIdDisplayName() {
                return subject;
            }
    
            @Override
            String formatSummary(String subject) {
                return String.format("%s has been deprecated.", subject);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top