Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 356 for captures (0.34 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGStaticLoggingIntegrationTest.groovy

                    reports.junitXml.outputPerTestCase = true
                    onOutput { test, event -> print "\$test -> \$event.message" }
                }
            """
        }
    
        @Issue("GRADLE-2841")
        def "captures output from logging frameworks"() {
            buildFile << """
                dependencies { implementation "org.slf4j:slf4j-simple:1.7.10", "org.slf4j:slf4j-api:1.7.10" }
    """
            file("src/test/java/FooTest.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/ExecutionInputState.java

    import org.gradle.internal.fingerprint.FileCollectionFingerprint;
    import org.gradle.internal.snapshot.ValueSnapshot;
    import org.gradle.internal.snapshot.impl.ImplementationSnapshot;
    
    /**
     * Captures the state of the inputs of a {@link org.gradle.internal.execution.UnitOfWork}.
     */
    public interface ExecutionInputState {
        /**
         * The main implementation snapshots.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. internal/bucket/bandwidth/measurement.go

    	"sync/atomic"
    	"time"
    )
    
    const (
    	// betaBucket is the weight used to calculate exponential moving average
    	betaBucket = 0.1 // Number of averages considered = 1/(1-betaObject)
    )
    
    // bucketMeasurement captures the bandwidth details for one bucket
    type bucketMeasurement struct {
    	lock                 sync.Mutex
    	bytesSinceLastWindow uint64    // Total bytes since last window was processed
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/vcs/VersionControlSpec.java

     */
    package org.gradle.vcs;
    
    import org.gradle.api.Action;
    import org.gradle.api.Describable;
    import org.gradle.api.initialization.definition.InjectedPluginDependencies;
    
    /**
     * Captures user-provided information about a version control repository.
     *
     * @since 4.4
     */
    public interface VersionControlSpec extends Describable {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 16:56:23 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/types/namespacedname.go

    limitations under the License.
    */
    
    package types
    
    // NamespacedName comprises a resource name, with a mandatory namespace,
    // rendered as "<namespace>/<name>".  Being a type captures intent and
    // helps make sure that UIDs, namespaced names and non-namespaced names
    // do not get conflated in code.  For most use cases, namespace and name
    // will already have been format validated at the API entry point, so we
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 10:47:59 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeParameter.java

    import static com.google.common.base.Preconditions.checkArgument;
    
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import javax.annotation.CheckForNull;
    
    /**
     * Captures a free type variable that can be used in {@link TypeToken#where}. For example:
     *
     * <pre>{@code
     * static <T> TypeToken<List<T>> listOf(Class<T> elementType) {
     *   return new TypeToken<List<T>>() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfoIntegrationSpec.groovy

            captureResults << executer.withTasks('capture1').run()
            captureResults << executer.withTasks('capture2').run()
    
            then:
            captureResults[0].assertTaskExecuted(':capture1')
            captureResults[1].assertTaskExecuted(':capture2')
    
            cleanup:
            daemon?.abort()
        }
    
        def "a daemon expiration listener receives expiration reasons continuous:#continuous"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    // it would handle that error immediately and a totally valid generation
    // would be skipped for parsing and rejected because of an error in a
    // batch in the following generation.
    //
    // This test captures this behavior by making both the first generation
    // and second generation bad. It requires that the issue in the first
    // generation, which is caught when actually ordering events, be reported
    // instead of the second one.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/schemaBuidler/TreatInterfaceAsConfigureLambdaTest.kt

            assertFalse { customConfigureLambdas.isConfigureLambdaForType(typeOf<String>(), typeOf<MyFunctionalInterface<Int>>()) }
        }
    
        @Test
        @Suppress("UNCHECKED_CAST")
        fun `value captor captures the argument`() {
            fun f(fn: MyFunctionalInterface<String>) {
                fn.configure("test")
            }
    
            val valueCaptor1 = customConfigureLambdas.produceValueCaptor(typeOf<MyFunctionalInterface<Int>>())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/TokenLookup.java

    import org.gradle.language.nativeplatform.internal.Expression;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Captures the intermediate states during the resolution of macro #include directives, to short-circuit work that has already been done.
     */
    class TokenLookup {
        private Set<Expression> broken;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top