Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,062 for delegated (0.23 sec)

  1. platforms/documentation/docs/src/snippets/tasks/configureUsingBlock/kotlin/build.gradle.kts

    // tag::declare-task[]
    tasks.register<Copy>("myCopy")
    // end::declare-task[]
    
    // tag::configure[]
    // Configure task using Kotlin delegated properties and a lambda
    val myCopy by tasks.existing(Copy::class) {
        from("resources")
        into("target")
    }
    myCopy {
        include("**/*.txt", "**/*.xml", "**/*.properties")
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 336 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/metrics.go

    }
    
    // RecordRequestTotal increments the total number of requests for the delegated authorization.
    func (delegatingAuthorizerMetrics) RecordRequestTotal(ctx context.Context, code string) {
    	requestTotal.WithContext(ctx).WithLabelValues(code).Add(1)
    }
    
    // RecordRequestLatency measures request latency in seconds for the delegated authorization. Broken down by status code.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt

        if (isEmpty()) return
    
        // One of the compiler lowerings, namely `PropertyReferenceLowering`,
        // optimizes usages of property references in some cases,
        // and if a containing delegated property accessor is inline,
        // it might need this accessor's bytecode.
        //
        // If an accessor function is defined in a different module,
        // IDE tries to acquire its bytecode via the index, however,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tutorial/gradleProperties/kotlin/settings.gradle.kts

    rootProject.name = "properties"
    
    // tag::gradle-properties[]
    // Using the API, provides a lazy Provider<String>
    println(providers.gradleProperty("gradlePropertiesProp").get())
    
    // Using Kotlin delegated properties on `settings`
    val gradlePropertiesProp: String by settings
    println(gradlePropertiesProp)
    // end::gradle-properties[]
    
    // tag::properties-with-dots[]
    // In Kotlin scripts, using the API is the only way
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 516 bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TaskContainerDslIntegrationTest.kt

                    }
                }
                """
            )
        }
    
        @Test
        fun `polymorphic named domain object container delegated properties`() {
    
            testTaskContainerVia(
                "delegated-properties", before = beforeDelegatedProperties,
                script = """
    
                fun untyped() {
    
                    val foo: Task by tasks.getting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectCollectionExtensions.kt

     * `getValue` operator based on the static type of the delegate.
     */
    class ExistingDomainObjectDelegate<T>
    private constructor(
        internal val delegate: T
    ) {
        companion object {
            fun <T> of(delegate: T) =
                ExistingDomainObjectDelegate(delegate)
        }
    }
    
    
    /**
     * Gets the delegate value.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. releasenotes/notes/46968.yaml

    kind: bug-fix
    area: security
    issue:
    - 46951
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 15 04:13:49 UTC 2023
    - 304 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tutorial/gradleProperties/kotlin/build.gradle.kts

    // tag::gradle-properties[]
    // Using the API, provides a lazy Provider<String>
    println(providers.gradleProperty("gradlePropertiesProp").get())
    
    // Using Kotlin delegated properties on `project`
    val gradlePropertiesProp: String by project
    println(gradlePropertiesProp)
    // end::gradle-properties[]
    
    abstract class PrintValue : DefaultTask() {
        @get:Input abstract val inputValue: Property<String>
        @TaskAction fun action() { println(inputValue.get()) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 731 bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ConfigurableFileCollectionExtensionsTest.kt

    import org.hamcrest.CoreMatchers.sameInstance
    import org.hamcrest.MatcherAssert.assertThat
    
    import org.junit.Test
    
    
    class ConfigurableFileCollectionExtensionsTest {
    
        @Test
        fun `assignment to delegated property means #setFrom`() {
    
            val fileCollection = mock<ConfigurableFileCollection>()
            var delegatedProperty by fileCollection
    
            val value = mock<ConfigurableFileCollection>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 733 bytes
    - Viewed (0)
  10. pkg/kubeapiserver/doc.go

    limitations under the License.
    */
    
    // Package kubeapiserver holds code that is common to both the kube-apiserver
    // and the federation-apiserver, but isn't part of a generic API server.
    // For instance, the non-delegated authorization options are used by those two
    // servers, but no generic API server is likely to use them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 05 19:25:32 UTC 2019
    - 884 bytes
    - Viewed (0)
Back to top