Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 813 for generationId (1.59 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/defaultCodeResolver.kt

            codeAnalyzer = CodeAnalyzerImpl(analysisStatementFilter, statementResolver)
    
            ResolverImpl(codeAnalyzer, errorCollector, generationId)
        }
    }
    
    
    fun tracingCodeResolver(generationId: OperationGenerationId = DefaultOperationGenerationId.finalEvaluation, elementFilter: AnalysisStatementFilter = analyzeEverything): TracingResolver {
        return ResolverServicesContainer().run {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentResolver.kt

        fun hasAssignmentInTheSameGeneration(existingNode: GenerationResolutionNode, generationId: OperationGenerationId): Boolean {
            return existingNode.generationId == generationId
        }
    
        private
        fun hasAssignmentInLowerGeneration(existingNode: GenerationResolutionNode, generationId: OperationGenerationId): Boolean {
            return existingNode.generationId < generationId
        }
    
        sealed interface AssignmentResolutionResult {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

        }
    }
    
    
    /**
     * Represents a unique operation within a particular generation.  The invocation id should be unique within a single
     * interpretation step, but not across generations (i.e. two operations in different generations may have the same
     * invocation id).  Operations in different generations with the same invocation id have no relationship to each
     * other except by coincidence.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/Resolver.kt

        private val errorCollector: ErrorCollector,
        private val generationId: OperationGenerationId
    ) : Resolver {
        override fun resolve(schema: AnalysisSchema, imports: List<Import>, topLevelBlock: Block): ResolutionResult {
            val importContext = AnalysisContext(schema, emptyMap(), errorCollector, generationId)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentResolverTest.kt

                y = 1
                x = 2
                """.trimIndent()
            )
    
            val additionResults = resolution.assignments.map { impl.addAssignment(it.lhs, it.rhs, it.assignmentMethod, it.operationId.generationId) }
            assertIs<AssignmentResolver.AssignmentAdditionResult.Reassignment>(additionResults[2])
    
            val resultMap = impl.getAssignmentResults()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentTrace.kt

                assignments.forEach { (lhs, rhs, callId, method) ->
                    add(
                        when (val additionResult = assignmentResolver.addAssignment(lhs, rhs, method, callId.generationId)) {
                            is AssignmentResolver.AssignmentAdditionResult.AssignmentAdded -> AssignmentTraceElement.RecordedAssignment(additionResult.resolvedLhs, rhs, additionResult.assignmentMethod)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/internal/trace/generation.go

    // while reading the previous one. It's passed on when parsing the next
    // generation.
    type spilledBatch struct {
    	gen uint64
    	*batch
    }
    
    // readGeneration buffers and decodes the structural elements of a trace generation
    // out of r. spill is the first batch of the new generation (already buffered and
    // parsed from reading the last generation). Returns the generation and the first
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-task-across-generations.go

    // and not the string itself, that string ID may not be valid
    // for use in future generations.
    
    package main
    
    import (
    	"internal/trace"
    	"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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy_test.go

    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    )
    
    func generation1() map[string]interface{} {
    	return map[string]interface{}{
    		"generation": int64(1),
    	}
    }
    
    func generation2() map[string]interface{} {
    	return map[string]interface{}{
    		"generation": int64(2),
    	}
    }
    
    func TestStrategyPrepareForUpdate(t *testing.T) {
    	strategy := customResourceStrategy{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/generators/go122-confuse-seq-across-generations.go

    // Regression test for an issue found in development.
    //
    // The core of the issue is that if generation counters
    // aren't considered as part of sequence numbers, then
    // it's possible to accidentally advance without a
    // GoStatus event.
    //
    // The situation is one in which it just so happens that
    // an event on the frontier for a following generation
    // has a sequence number exactly one higher than the last
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top