Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,360 for AsObject (0.15 sec)

  1. subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/model/ModelReportOutput.groovy

        }
    
        void nodeContentEquals(String text) {
            assert text
            List<String> subject = text.trim().readLines()
            assert subject.size() == parsedModelReport.nodeOnlyLines.size()
            parsedModelReport.nodeOnlyLines.eachWithIndex { String line, i ->
                assert line == subject[i]: "\n\n Expected Line:${line} to start with:${subject[i]} line#($i)\n\n"
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 02 20:49:19 UTC 2015
    - 3.5K bytes
    - Viewed (0)
  2. tests/integration/pilot/forwardproxy/cert_gen.go

    	"path/filepath"
    )
    
    func GenerateKeyAndCertificate(subject, dir string) (string, string, error) {
    	keyFile := filepath.Join(dir, fmt.Sprintf("%s-key.pem", subject))
    	crtFile := filepath.Join(dir, fmt.Sprintf("%s-cert.pem", subject))
    	if err := openssl(
    		"req", "-x509", "-sha256", "-nodes",
    		"-days", "365", "-newkey", "rsa:2048",
    		"-subj", fmt.Sprintf("/CN=%s", subject),
    		"-keyout", keyFile,
    		"-out", crtFile,
    	); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 15 23:31:52 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. pkg/apis/rbac/v1alpha1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddConversionFunc((*rbac.Subject)(nil), (*v1alpha1.Subject)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_rbac_Subject_To_v1alpha1_Subject(a.(*rbac.Subject), b.(*v1alpha1.Subject), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddConversionFunc((*v1alpha1.Subject)(nil), (*rbac.Subject)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 23.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/rules/RuleAction.java

    package org.gradle.internal.rules;
    
    import java.util.List;
    
    /**
     * An action representing a rule, taking declared inputs and performing an action on a subject.
     *
     * @param <T> The subject type
     */
    public interface RuleAction<T> {
        List<Class<?>> getInputTypes();
        void execute(T subject, List<?> inputs);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 931 bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/rbac/v1/zz_generated.deepcopy.go

    func (in *Subject) DeepCopyInto(out *Subject) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
    func (in *Subject) DeepCopy() *Subject {
    	if in == nil {
    		return nil
    	}
    	out := new(Subject)
    	in.DeepCopyInto(out)
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/rules/ClosureBackedRuleAction.java

        @Override
        public List<Class<?>> getInputTypes() {
            return inputTypes;
        }
    
        @Override
        public void execute(T subject, List<?> inputs) {
            Closure<?> copy = (Closure<?>) closure.clone();
            copy.setResolveStrategy(Closure.DELEGATE_FIRST);
            copy.setDelegate(subject);
    
            if (closure.getMaximumNumberOfParameters() == 0) {
                copy.call();
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/groovy/url-verifier-plugin/src/integrationTest/groovy/org/myorg/http/DefaultHttpCallerIntegrationTest.groovy

    package org.myorg.http
    
    import spock.lang.Specification
    import spock.lang.Subject
    
    class DefaultHttpCallerIntegrationTest extends Specification {
        @Subject HttpCaller httpCaller = new DefaultHttpCaller()
    
        def "can make successful HTTP GET call"() {
            when:
            def httpResponse = httpCaller.get('https://www.google.com/')
    
            then:
            httpResponse.code == 200
            httpResponse.message == 'OK'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 781 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/src/integrationTest/groovy/org/myorg/http/DefaultHttpCallerIntegrationTest.groovy

    package org.myorg.http
    
    import spock.lang.Specification
    import spock.lang.Subject
    
    class DefaultHttpCallerIntegrationTest extends Specification {
        @Subject HttpCaller httpCaller = new DefaultHttpCaller()
    
        def "can make successful HTTP GET call"() {
            when:
            def httpResponse = httpCaller.get('https://www.google.com/')
    
            then:
            httpResponse.code == 200
            httpResponse.message == 'OK'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 781 bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/registry/ComponentBinariesModelRuleExtractor.java

            private final ModelType<S> binaryType;
    
            public ComponentBinariesRule(ModelReference<C> subject, ModelType<C> componentType, ModelType<S> binaryType, MethodRuleDefinition<?, ?> ruleDefinition) {
                super(subject, componentType, ruleDefinition);
                this.binaryType = binaryType;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. security/pkg/server/ca/authenticate/xfcc_authenticator_test.go

    			// nolint lll
    			xfccHeader: `Hash=hash;Cert="-----BEGIN%20CERTIFICATE-----%0cert%0A-----END%20CERTIFICATE-----%0A";Subject="CN=hello,OU=hello,O=Acme\, Inc.";URI=spiffe://mesh.example.com/ns/firstns/sa/firstsa;DNS=hello.west.example.com;DNS=hello.east.example.com,By=spiffe://mesh.example.com/ns/hellons/sa/hellosa;Hash=again;Subject="";URI=spiffe://mesh.example.com/ns/otherns/sa/othersa`,
    			caller: &security.Caller{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 17:05:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top