Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,261 for delegated (0.13 sec)

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

                    }
                }
                """
            )
        }
    
        @Test
        fun `monomorphic named domain object container delegated properties`() {
    
            testConfigurationContainerVia(
                "delegated-properties",
                """
    
                val foo: Configuration by configurations.getting
                val bar: Configuration by configurations.getting {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DelegatedGradlePropertiesIntegrationTest.kt

                "help"
            )
    
            // when: both settings and project scripts asserting on delegated properties
            withSettings(requirePropertiesFromSettings())
            withBuildScript(requirePropertiesFromProject())
    
            // then:
            build(*buildArguments)
    
            // when: project script buildscript block asserting on delegated properties
            withSettings("")
            withBuildScript(
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/authenticatorfactory/metrics.go

    		requestLatency,
    	}
    )
    
    // RecordRequestTotal increments the total number of requests for the delegated authentication.
    func RecordRequestTotal(ctx context.Context, code string) {
    	requestTotal.WithContext(ctx).WithLabelValues(code).Inc()
    }
    
    // RecordRequestLatency measures request latency in seconds for the delegated authentication. Broken down by status code.
    func RecordRequestLatency(ctx context.Context, code string, latency float64) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 29 07:49:14 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/kotlinDsl/containers-delegated-properties/kotlin/settings.gradle.kts

    rootProject.name = "containers-delegated-properties"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 53 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered_test.go

    	// but never false negative.
    	time.Sleep(100 * time.Millisecond)
    	select {
    	case <-shutdownEndCh:
    		t.Fatalf("Shutdown exited before delegated call ended")
    	default:
    	}
    
    	// Wait for Shutdown to exit after delegated call has exited.
    	close(delegatedCallEndCh)
    	<-shutdownEndCh
    }
    
    func TestDelegateProcessEvents(t *testing.T) {
    	for _, async := range []bool{true, false} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 14 17:20:35 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/tasks/defineAsKotlinDelegatedProperty/kotlin/build.gradle.kts

    // Using Kotlin delegated properties
    
    val hello by tasks.registering {
        doLast {
            println("hello")
        }
    }
    
    val copy by tasks.registering(Copy::class) {
        from(file("srcDir"))
        into(buildDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 209 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tutorial/gradleProperties/kotlin/init.gradle.kts

    // tag::gradle-properties[]
    settingsEvaluated {
        // Using the API, provides a lazy Provider<String>
        println(providers.gradleProperty("gradlePropertiesProp").get())
    
        // Using Kotlin delegated properties on `settings`
        val gradlePropertiesProp: String by this
        println(gradlePropertiesProp)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 336 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tasks/defineAsKotlinDelegatedProperty/kotlin/settings.gradle.kts

    rootProject.name = "define-as-kotlin-delegated-property"...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 57 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top