Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,062 for delegated (0.25 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. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        final ListenableFuture<? extends V> delegate;
    
        SetFuture(ListenableFuture<? extends V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public void run() {
          if (isCancelled()) {
            return;
          }
    
          if (delegate instanceof AbstractFuture) {
            AbstractFuture<? extends V> other = (AbstractFuture<? extends V>) delegate;
            value = other.value;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 19:37:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepositoryTest.groovy

            access.listModuleVersions(dependency, result)
    
            then: 'work is delegated'
            1 * delegate.listModuleVersions(dependency, result)
    
            when: 'exception is thrown in resolution'
            repositoryBlacklister.getDisabledReason(REPOSITORY_ID) >> Optional.of(exception)
            effectiveRetries * delegate.listModuleVersions(dependency, result) >> { throw exception }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top