Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for _finalize (0.33 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

      - <b>""")
        }
    
        def "can finalize value when no value defined"() {
            def property = propertyWithNoValue()
    
            when:
            property."$method"()
    
            then:
            !property.present
            property.getOrNull() == null
    
            where:
            method << ["finalizeValue", "implicitFinalizeValue"]
        }
    
        def "can finalize value when value set"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            when:
            executionPlan.setContinueOnFailure(true)
            addToGraphAndPopulate(finalizer, finalized)
    
            then:
            executionPlan.tasks as List == [broken, finalized, finalizerDependency, finalizer]
            assertTasksReady(broken, finalizerDependency)
            assertTaskReadyAndNoMoreToStart(finalizer)
            assertAllWorkComplete()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            0 * closure._
            1 * fileResolver.resolve('a') >> file1
            1 * fileResolver.resolve('b') >> file2
            0 * fileResolver._
        }
    
        def "can finalize when already finalized"() {
            given:
            def file = new File('one')
            collection.from('a')
    
            when:
            collection.finalizeValue()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	return oldMeta.GetDeletionGracePeriodSeconds() == nil || *oldMeta.GetDeletionGracePeriodSeconds() == 0
    }
    
    // deleteWithoutFinalizers handles deleting an object ignoring its finalizer list.
    // Used for objects that are either been finalized or have never initialized.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

                .configure(ModelActionRole.Finalize) { it.path("foo").type(Bean).action(action) }
                .configure(ModelActionRole.Validate) { it.path("foo").type(Bean).action(action) }
    
            when:
            def value = registry.realize("foo", Bean).value
    
            then:
            value == "create > defaults > initialize > mutate > finalize"
    
            and:
            1 * action.execute(_) >> { Bean bean ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            assertHasProducer(property, task1, task2, task3)
    
            property.attachProducer(owner(producer))
            assertHasProducer(property, producer)
        }
    
        def "cannot set to empty map after value finalized"() {
            given:
            property.set(someValue())
            property.finalizeValue()
    
            when:
            property.empty()
    
            then:
            def e = thrown IllegalStateException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            assertHasProducer(property, task1, task2, task3)
    
            property.attachProducer(owner(producer))
            assertHasProducer(property, producer)
        }
    
        def "cannot set to empty list after value finalized"() {
            given:
            def property = property()
            property.set(someValue())
            property.finalizeValue()
    
            when:
            property.empty()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller.go

    		jm.deletePod(logger, curPod, false)
    		return
    	}
    
    	// Don't check if oldPod has the finalizer, as during ownership transfer
    	// finalizers might be re-added and removed again in behalf of the new owner.
    	// If all those Pod updates collapse into a single event, the finalizer
    	// might be removed in oldPod and curPod. We want to record the latest
    	// state.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  9. src/runtime/mgcmark.go

    	// Objects with finalizers have two GC-related invariants:
    	//
    	// 1) Everything reachable from the object must be marked.
    	// This ensures that when we pass the object to its finalizer,
    	// everything the finalizer can reach will be retained.
    	//
    	// 2) Finalizer specials (which are not in the garbage
    	// collected heap) are roots. In practice, this means the fn
    	// field must be scanned.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  10. src/runtime/mprof.go

    	}
    
    	// Hash stack.
    	var h uintptr
    	for _, pc := range stk {
    		h += pc
    		h += h << 10
    		h ^= h >> 6
    	}
    	// hash in size
    	h += size
    	h += h << 10
    	h ^= h >> 6
    	// finalize
    	h += h << 3
    	h ^= h >> 11
    
    	i := int(h % buckHashSize)
    	// first check optimistically, without the lock
    	for b := (*bucket)(bh[i].Load()); b != nil; b = b.next {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top