Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 153 for gives (0.12 sec)

  1. src/cmd/link/internal/loader/loader.go

    }
    
    // Relocs returns a Relocs object for the given global sym.
    func (l *Loader) Relocs(i Sym) Relocs {
    	r, li := l.toLocal(i)
    	if r == nil {
    		panic(fmt.Sprintf("trying to get oreader for invalid sym %d\n\n", i))
    	}
    	return l.relocs(r, li)
    }
    
    // relocs returns a Relocs object given a local sym index and reader.
    func (l *Loader) relocs(r *oReader, li uint32) Relocs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    		l := f.MustSeek(0, 2)
    		f.MustSeek(0, 0)
    		ldobj(ctxt, f, lib, l, lib.File, lib.File)
    		return
    	}
    
    	/*
    	 * load all the object files from the archive now.
    	 * this gives us sequential file access and keeps us
    	 * from needing to come back later to pick up more
    	 * objects.  it breaks the usual C archive model, but
    	 * this is Go, not C.  the common case in Go is that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  3. src/os/os_test.go

    			t.Fatalf("readdirnames %q returned empty slice and no error", file.Name())
    		}
    		names[count] = d[0]
    		count++
    	}
    	return names[0:count]
    }
    
    // Check that reading a directory one entry at a time gives the same result
    // as reading it all at once.
    func TestReaddirnamesOneAtATime(t *testing.T) {
    	t.Parallel()
    
    	// big directory that doesn't change often.
    	dir := "/usr/bin"
    	switch runtime.GOOS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            t == failure
        }
    
        def "build dependencies are resolved lazily"() {
            given:
            def configuration = conf()
    
            when:
            configuration.getBuildDependencies()
    
            then:
            0 * _._
        }
    
        def "state indicates failure resolving graph"() {
            given:
            def configuration = conf()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            problems.assertResultHasProblems(result) {
                // TODO - should fail and give some indication to the user why
            }
        }
    
        def "task execution problems are reported and fail the build by default invalidating the cache"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
    
            buildFile << """
                task broken {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

        }
    
        def "adds a single entry using put"() {
            given:
            property.set(['k1': 'v1'])
            property.put('k2', 'v2')
            property.put('k3', 'v3')
    
            expect:
            assertValueIs(['k1': 'v1', 'k2': 'v2', 'k3': 'v3'])
        }
    
        def "put overrides entries added earlier"() {
            given:
            property.set(['k': 'v1'])
            property.put('k', 'v2')
    
    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

        }
    
        def "appends a single value using add"() {
            given:
            property.set(toMutable(["abc"]))
            property.add("123")
            property.add("456")
    
            expect:
            assertValueIs(["abc", "123", "456"])
        }
    
        def "appends a single value to string property using GString"() {
            given:
            property.set(toMutable(["abc"]))
    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. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

        def "can set value using chaining method"() {
            given:
            def property = propertyWithNoValue()
            property.value(someValue())
    
            expect:
            property.get() == someValue()
        }
    
        def "can set value using provider"() {
            def provider = supplierWithValues(someValue(), someOtherValue(), someValue())
    
            given:
            def property = propertyWithNoValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * property.</li>
         *
         * <li>If this project has an extra property with the given name, return the value of the property.</li>
         *
         * <li>If this project has a task with the given name, return the task.</li>
         *
         * <li>Search up through this project's ancestor projects for a convention property or extra property with the
         * given name.</li>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

            def service = Mock(TestCloseService)
    
            given:
            registry.add(TestCloseService, service)
    
            when:
            registry.close()
    
            then:
            1 * service.close()
        }
    
        def closeInvokesStopMethodOnEachService() {
            def service = Mock(TestStopService)
    
            given:
            registry.add(TestStopService, service)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
Back to top