Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Stub (0.11 sec)

  1. src/cmd/link/internal/ppc64/asm.go

    				stub.AddUint32(ctxt.Arch, OP_MFLR_R0)  // mflr r0
    				stub.AddUint32(ctxt.Arch, OP_BCL_NIA)  // bcl 20,31,1f
    				stub.AddUint32(ctxt.Arch, OP_MFLR_R12) // 1: mflr r12  (r12 is the address of this instruction)
    				stub.AddUint32(ctxt.Arch, OP_MTLR_R0)  // mtlr r0
    				stub.AddSymRef(ctxt.Arch, r.Sym(), r.Add()+8, objabi.R_ADDRPOWER_PCREL, 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

        }
    
        def "has union of producer task from providers unless producer task attached"() {
            given:
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def producer = Stub(Task)
            property.set(supplierWithProducer(task1))
            property.addAll(supplierWithProducer(task2))
            property.add(supplierWithProducer(task3))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

        private ResolverResults graphResolved(ResolveException failure) {
            def resolutionResult = new MinimalResolutionResult(() -> Stub(ResolvedComponentResult), ImmutableAttributes.EMPTY)
            def visitedGraphResults = new DefaultVisitedGraphResults(resolutionResult, [] as Set, failure)
    
            def visitedArtifactSet = Stub(VisitedArtifactSet) {
                select(_) >> selectedArtifacts(failure)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

        }
    
        def "cannot get element for which registration by-path input does not exist"() {
            given:
            registry.register("foo") { it.descriptor("foo creator").unmanaged(String, "other", null, Stub(Transformer)) }
    
            when:
            registry.realize("foo")
    
            then:
            UnboundModelRulesException e = thrown()
            normaliseLineSeparators(e.message).contains '''
      foo creator
        inputs:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            List<UserCodeApplicationId> ids = []
            userCodeApplicationContext.apply(Stub(UserCodeSource)) {
                id1 = it
                container.all {
                    ids << userCodeApplicationContext.current()
                    if (it.is(a)) {
                        userCodeApplicationContext.apply(Stub(UserCodeSource)) {
                            id2 = it
                            container.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

            expect:
            registry.getAll(Long).empty
        }
    
        def allServicesIncludesServicesFromParents() {
            def parent1 = Stub(ParentServices)
            def parent2 = Stub(ParentServices)
            def registry = new DefaultServiceRegistry(registry(parent1), registry(parent2))
            registry.addProvider(new ServiceRegistrationProvider() {
                @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            def replaced = collection.replace(Stub(FileCollectionInternal), {})
            replaced.is(collection)
        }
    
        def "can replace one of the elements of a mutable collection"() {
            def collection1 = Mock(FileCollectionInternal)
            def collection2 = Mock(FileCollectionInternal)
            def replaced1 = Stub(FileCollectionInternal)
            def supplier = Stub(Supplier)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

        }
    
        def "has union of producer task from providers unless producer task attached"() {
            given:
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def producer = Stub(Task)
            property.set(supplierWithProducer(task1))
            property.putAll(supplierWithProducer(task2))
            property.put('a', supplierWithProducer(task3, '1'))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/manager_test.go

    	m, updateChan := setupDeviceManager(t, devs, callback, socketName, nil)
    	p := setupDevicePlugin(t, devs, pluginSocketName)
    	return m, updateChan, p
    }
    
    func setupInProbeMode(t *testing.T, devs []*pluginapi.Device, callback monitorCallback, socketName string, pluginSocketName string) (Manager, <-chan interface{}, *plugin.Stub, pluginmanager.PluginManager) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            when:
            property.replace { it }
    
            then:
            property.get() == someValue()
        }
    
        ModelObject owner() {
            return Stub(ModelObject)
        }
    
        ModelObject owner(Task task) {
            def owner = Stub(ModelObject)
            _ * owner.taskThatOwnsThisObject >> task
            return owner
        }
    
        DisplayName displayName(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
Back to top