Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,129 for ExtensionB (0.29 sec)

  1. src/crypto/tls/handshake_messages.go

    		// ClientHello is optionally followed by extension data
    		return true
    	}
    
    	var extensions cryptobyte.String
    	if !s.ReadUint16LengthPrefixed(&extensions) || !s.Empty() {
    		return false
    	}
    
    	seenExts := make(map[uint16]bool)
    	for !extensions.Empty() {
    		var extension uint16
    		var extData cryptobyte.String
    		if !extensions.ReadUint16(&extension) ||
    			!extensions.ReadUint16LengthPrefixed(&extData) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/customPlugins/customPluginNoConvention/groovy/build.gradle

        void apply(Project project) {
            // Add the 'greeting' extension object
            def extension = project.extensions.create('greeting', GreetingPluginExtension)
            // Add a task that uses configuration from the extension object
            project.task('hello') {
                doLast {
                    println extension.message.get()
                }
            }
        }
    }
    
    apply plugin: GreetingPlugin
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 22:56:31 UTC 2024
    - 590 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/customPlugins/customPluginWithAdvancedConvention/groovy/build.gradle

        void apply(Project project) {
            def extension = project.extensions.create('greeting', GreetingPluginExtension)
            project.task('hello') {
                doLast {
                    println "${extension.message.get()} from ${extension.greeter.get()}"
                }
            }
        }
    }
    
    apply plugin: GreetingPlugin
    
    // Configure the extension using a DSL block
    greeting {
        message = 'Hi'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 579 bytes
    - Viewed (0)
  4. src/crypto/x509/parser.go

    			return nil, errors.New("x509: malformed extensions")
    		}
    		for !extensions.Empty() {
    			var extension cryptobyte.String
    			if !extensions.ReadASN1(&extension, cryptobyte_asn1.SEQUENCE) {
    				return nil, errors.New("x509: malformed extension")
    			}
    			ext, err := parseExtension(extension)
    			if err != nil {
    				return nil, err
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/plugins/mappingExtensions/groovy/app/build.gradle

    class MyPlugin implements Plugin<Project> {
        void apply(Project project) {
            // Create and configure the extension
            def extension = project.extensions.create("myExtension", MyExtension)
            // Create and configure the custom task
            project.tasks.register("myTask", MyCustomTask) {
                group = "custom"
                inputParameter = extension.inputParameter
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 04:16:05 UTC 2024
    - 881 bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt

                    }
                }
                // Configure the non-existent extension for error handling
                ?: extensions.configure(type, configuration)
        }
    
    
    /**
     * Returns the [project extension][org.gradle.api.plugins.ExtensionAware] of the specified type.
     *
     * If no extension is found, returns a project convention if available.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 09:50:04 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/customPlugins/customPluginWithAdvancedConvention/kotlin/build.gradle.kts

        override fun apply(project: Project) {
            val extension = project.extensions.create<GreetingPluginExtension>("greeting")
            project.task("hello") {
                doLast {
                    println("${extension.message.get()} from ${extension.greeter.get()}")
                }
            }
        }
    }
    
    apply<GreetingPlugin>()
    
    // Configure the extension using a DSL block
    configure<GreetingPluginExtension> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 601 bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicMethodLookupIntegrationTest.groovy

        @Issue("GRADLE-3460")
        def "extension configuration method is preferred over property with closure value"() {
            given:
            buildFile """
    class ContactExtension {
        String prop
    }
    
    class ContactPlugin implements Plugin<Project> {
        public void apply(Project project) {
            ContactExtension extension = project.extensions.create('contacts', ContactExtension)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 17:01:37 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/structural.go

    	// or x-kubernetes-int-or-string is true.
    	Type     string
    	Title    string
    	Default  JSON
    	Nullable bool
    }
    
    // +k8s:deepcopy-gen=true
    
    // Extensions contains the Kubernetes OpenAPI v3 vendor extensions.
    type Extensions struct {
    	// x-kubernetes-preserve-unknown-fields stops the API server
    	// decoding step from pruning fields which are not specified
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/providers/connectProperties/groovy/build.gradle

        void printMessage() {
            logger.quiet(message.get())
        }
    }
    
    // Create the project extension
    project.extensions.create('messages', MessageExtension)
    
    // Create the greeting task
    tasks.register("greeting", Greeting) {
        // Attach the greeting from the project extension
        // Note that the values of the project extension have not been configured yet
        greeting = messages.greeting
    }
    
    messages {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top