Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for emits (0.08 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/execution/ResolveTaskMutationsBuildOperationTypeIntegrationTest.groovy

        def operations = new BuildOperationsFixture(executer, temporaryFolder)
    
        def "emits operation for task execution"() {
            when:
            buildScript """
                task t {}
            """
            succeeds "t"
    
            then:
            assertResolveTaskMutationsBuildOperationEmitted(":t")
        }
    
        def "emits operation for failed task execution"() {
            when:
            buildScript """
                task t {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 27 12:00:57 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. src/runtime/tracestring.go

    }
    
    // put adds a string to the table, emits it, and returns a unique ID for it.
    func (t *traceStringTable) put(gen uintptr, s string) uint64 {
    	// Put the string in the table.
    	ss := stringStructOf(&s)
    	id, added := t.tab.put(ss.str, uintptr(ss.len))
    	if added {
    		// Write the string to the buffer.
    		systemstack(func() {
    			t.writeString(gen, id, s)
    		})
    	}
    	return id
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/MappingSourceDependencyIntegrationTest.groovy

                                url = uri("$gitRepo")
                                ${repoDef}
                            }
                        }
                    }
                }
            """
        }
    
        def 'emits sensible error when bad code is in vcsMappings block'() {
            settingsFile << """
                sourceControl {
                    vcsMappings {
                        all { details ->
                            foo()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/operations/configuration/IsolatedProjectsSettingsBuildOperationsIntegrationTest.groovy

    )
    class IsolatedProjectsSettingsBuildOperationsIntegrationTest extends AbstractIntegrationSpec {
    
        def operations = new BuildOperationsFixture(executer, temporaryFolder)
    
        def "emits settings finalized event when not configured"() {
            given:
            file("buildSrc/src/main/java/Thing.java") << "class Thing {}"
    
            when:
            succeeds("help")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r83/TestFailureProgressEventCrossVersionTest.groovy

    @TargetGradleVersion(">=8.3")
    class TestFailureProgressEventCrossVersionTest extends TestFailureSpecification {
    
        def setup() {
            enableTestJvmDebugging = false
            enableStdoutProxying = false
        }
    
        def "Emits test failure events for org.opentest4j.MultipleFailuresError assertion errors in Junit 5"() {
            setupJUnit5()
            file('src/test/java/org/gradle/JUnitJupiterTest.java') << '''
                package org.gradle;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h

      // Tries to legalize the specified TensorFlow op, if supported.
      //
      // Emits an error and returns failure if an error is encountered during
      // conversion. Note that success return value doesn't mean successful
      // legalization.
      mlir::LogicalResult LegalizeOp();
    
      // Converts the given operand to expression of kind kConstant or kXlaOp.
      // Emits a remark and returns expression of kind kInvalid on failure.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/runtime/trace/annotation.go

    }
    
    //
    // Function bodies are defined in runtime/trace.go
    //
    
    // emits UserTaskCreate event.
    func userTaskCreate(id, parentID uint64, taskType string)
    
    // emits UserTaskEnd event.
    func userTaskEnd(id uint64)
    
    // emits UserRegion event.
    func userRegion(id, mode uint64, regionType string)
    
    // emits UserLog event.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/FileSystemWatchingSettingsFinalizedBuildOperationIntegrationTest.groovy

    @LocalOnly
    class FileSystemWatchingSettingsFinalizedBuildOperationIntegrationTest extends AbstractFileSystemWatchingIntegrationTest {
    
        def operations = new BuildOperationsFixture(executer, temporaryFolder)
    
        def "emits once when not used"() {
            given:
            settingsFile << "includeBuild 'plugin'"
            file("buildSrc/src/main/java/Thing.java") << "class Thing {}"
            createDir("plugin") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics_test.go

    		`
    		if err := testutil.GatherAndCompare(legacyregistry.DefaultGatherer, strings.NewReader(expectedValue), metrics...); err != nil {
    			t.Fatal(err)
    		}
    		authorizationDecisionsTotal.Reset()
    	}
    
    	// no-opinion emits no metric
    	{
    		dummyAuthorizer.decision = authorizer.DecisionNoOpinion
    		_, _, _ = a.Authorize(context.Background(), nil)
    		_, _, _ = a.Authorize(context.Background(), nil)
    		expectedValue := prefix + `
    		`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 13:20:59 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/generators/go122-task-across-generations.go

    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g1 := t.Generation(1)
    
    	// A running goroutine emits a task begin.
    	b1 := g1.Batch(trace.ThreadID(0), 0)
    	b1.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b1.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top