Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 323 for capture2 (0.16 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt

            val signature = value.implMethodSignature
            val paramTypes: Array<Type> = getArgumentTypes(signature)
    
            // Treat all parameters equally, regardless of whether they are implicit captured parameters or the lambda signature ones.
            // If any of them is of an unsupported type, a build that runs from the serialized state won't be able to provide an instance anyway.
            paramTypes.forEach { paramType ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCaptureOutputIntegrationTest.groovy

            } else {
                assert stdStreams.stdOut.findAll(OUT).size() == 2
                assert stdStreams.stdOut.findAll(ERR).size() == 2
            }
        }
    
        def "output is captured if unexpected build exception is thrown"() {
            given:
            Writer standardOutput = new StringWriter()
            Writer standardError = new StringWriter()
            buildFile << helloWorldWithStandardOutputAndError()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/cmd/root.go

    			CNIMode:          cfg.CNIMode,
    			NetworkNamespace: cfg.NetworkNamespace,
    		}
    	}
    
    	iptConfigurator := capture.NewIptablesConfigurator(cfg, ext)
    
    	if !cfg.SkipRuleApply {
    		if err := iptConfigurator.Run(); err != nil {
    			return err
    		}
    		if err := capture.ConfigureRoutes(cfg); err != nil {
    			return fmt.Errorf("failed to configure routes: %v", err)
    		}
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/XCTestTestFrameworkIntegrationTest.groovy

            // all seems to be related to https://bugs.swift.org/browse/SR-1127. On Linux,
            // we just can't assert that test output is captured correctly. Until we roll out
            // our own driver app, test output capture only works on macOS.
            return OperatingSystem.current().macOsX
        }
    
        @Override
        void createPassingFailingTest() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainBuildOperationsFixture.groovy

    import org.gradle.internal.operations.BuildOperationType
    import org.gradle.internal.operations.trace.BuildOperationRecord
    import org.gradle.jvm.toolchain.internal.operations.JavaToolchainUsageProgressDetails
    
    /**
     * Captures build operations and allows to make assertions about events related to Java Toolchains.
     * <p>
     * When using this fixture make sure to first call {@link JavaToolchainBuildOperationsFixture#captureBuildOperations captureBuildOperations}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingState.java

            }
    
            /**
             * The cache key.
             */
            public BuildCacheKey getKey() {
                return key;
            }
    
            /**
             * The captured state of the work's inputs.
             */
            public BeforeExecutionState getBeforeExecutionState() {
                return beforeExecutionState;
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

        @BeforeEach
        fun setUp() {
            val stepsCapturer = slot<BuildSteps.() -> Unit>()
            every { buildType.steps } returns steps
            every {
                buildType.steps(capture(stepsCapturer))
            } answers {
                stepsCapturer.captured(steps)
                mockk()
            }
        }
    
        @Test
        fun `can apply defaults to configurations`() {
            applyDefaults(buildModel, buildType, "myTask")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/runtime/trace/trace.go

    //
    // The execution trace captures a wide range of execution events such as
    // goroutine creation/blocking/unblocking, syscall enter/exit/block,
    // GC-related events, changes of heap size, processor start/stop, etc.
    // When CPU profiling is active, the execution tracer makes an effort to
    // include those samples as well.
    // A precise nanosecond-precision timestamp and a stack trace is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/config/config.go

    	// Lookup DNS nameservers. We only do this if DNS is enabled in case of some obscure theoretical
    	// case where reading /etc/resolv.conf could fail.
    	// If capture all DNS option is enabled, we don't need to read from the dns resolve conf. All
    	// traffic to port 53 will be captured.
    	if c.RedirectDNS && !c.CaptureAllDNS {
    		dnsConfig, err := dns.ClientConfigFromFile("/etc/resolv.conf")
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .where(
                    new TypeCapture<Iterable<Map<?, V>>>() {}.capture(),
                    new TypeCapture<Iterable<Map<String, Integer>>>() {}.capture());
        assertEquals(
            new TypeCapture<K>() {}.capture(), resolver.resolveType(new TypeCapture<K>() {}.capture()));
        assertEquals(Integer.class, resolver.resolveType(new TypeCapture<V>() {}.capture()));
      }
    
      public <T> void testWhere_mapFromWildcard() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top