Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 162 for sensible (0.2 sec)

  1. src/cmd/go/testdata/script/mod_get_ambiguous_arg.txt

    go mod tidy
    cp go.mod go.mod.orig
    
    # If there is no sensible *package* meaning for 'm/p', it should refer
    # to *module* m/p.
    
    go get m/p  # @latest
    go list -m all
    stdout '^m/p v0.3.0 '
    ! stdout '^m '
    
    cp go.mod.orig go.mod
    
    go get m/p@v0.1.0
    go list -m all
    stdout '^m/p v0.1.0 '
    ! stdout '^m '
    
    # When feasible, the argument 'm/p' in 'go get m/p' refers to *package* m/p,
    # which is in module m.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/options.go

    	"github.com/google/pprof/internal/plugin"
    	"github.com/google/pprof/internal/symbolizer"
    	"github.com/google/pprof/internal/transport"
    )
    
    // setDefaults returns a new plugin.Options with zero fields sets to
    // sensible defaults.
    func setDefaults(o *plugin.Options) *plugin.Options {
    	d := &plugin.Options{}
    	if o != nil {
    		*d = *o
    	}
    	if d.Writer == nil {
    		d.Writer = oswriter{}
    	}
    	if d.Flagset == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 07 12:27:21 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/ArchivePublishArtifactTest.groovy

        @Rule
        public TestNameTestDirectoryProvider temporaryFolder = TestNameTestDirectoryProvider.newInstance(getClass())
    
        def testUtil = TestUtil.create(temporaryFolder)
    
        def "provides sensible default values for quite empty archive tasks"() {
            def quiteEmptyJar = testUtil.task(DummyJar)
            quiteEmptyJar.destinationDirectory.set(temporaryFolder.testDirectory)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_doc.txt

    go doc x/y
    ! stdout 'Package y is.*GOPATH'
    stdout 'Package y is.*alphabet'
    go doc rsc.io/quote
    ! stdout 'Package quote is located in a GOPATH workspace.'
    stdout 'Package quote collects pithy sayings.'
    
    # Check that a sensible error message is printed when a package is not found.
    env GOPROXY=off
    ! go doc example.com/hello
    stderr '^doc: cannot find module providing package example.com/hello: module lookup disabled by GOPROXY=off$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 18:50:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_android.c

    	pthread_setspecific(k, (void*)magic1);
    	// If thread local slots are laid out as we expect, our magic word will
    	// be located at some low offset from tlsbase. However, just in case something went
    	// wrong, the search is limited to sensible offsets. PTHREAD_KEYS_MAX was the
    	// original limit, but issue 19472 made a higher limit necessary.
    	for (i=0; i<384; i++) {
    		if (*(tlsbase+i) == (void*)magic1) {
    			*tlsg = (void*)(i*sizeof(void *));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 23:17:17 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  6. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/component/BaseComponentSpecTest.groovy

            return BaseComponentFixtures.create(publicType, implType, componentId)
        }
    
        def "library has name, path and sensible display name"() {
            when:
            def component = create(SampleComponent, MySampleComponent)
    
            then:
            component instanceof SampleComponent
            component.name == componentId.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/JavaConfigurabilityCrossVersionSpec.groovy

                    .get()
            }
    
            then:
            env.java.javaHome
            env.java.jvmArguments.contains "-Xms13m"
            env.java.jvmArguments.contains "-Xmx333m"
        }
    
        def "uses sensible java defaults if nulls configured"() {
            when:
            BuildEnvironment env = withConnection {
                def model = it.model(BuildEnvironment.class)
                model
                    .setJvmArguments(null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/BinariesLifecycleTaskIntegrationTest.groovy

                        builder.defaultImplementation(DefaultSampleBinary)
                    }
                }
    
                apply plugin:MySamplePlugin
            """
        }
    
        def "produces sensible error when there are component binaries and all are not buildable" () {
            withLibBinaries("notBuildableBinary1", "notBuildableBinary2")
            withStandaloneBinaries("ignoreMe")
    
            when:
            fails "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. pkg/registry/core/service/portallocator/operation.go

    func (op *PortAllocationOperation) AllocateNext() (int, error) {
    	if op.dryRun {
    		// Find the max element of the allocated ports array.
    		// If no ports are already being allocated by this operation,
    		// then choose a sensible guess for a dummy port number
    		var lastPort int
    		for _, allocatedPort := range op.allocated {
    			if allocatedPort > lastPort {
    				lastPort = allocatedPort
    			}
    		}
    		if len(op.allocated) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/binary/BaseBinarySpecTest.groovy

            then:
            def e = thrown ModelInstantiationException
            e.message == "Direct instantiation of a BaseBinarySpec is not permitted. Use a @ComponentType rule instead."
        }
    
        def "binary has name and sensible display name"() {
            def binary = create(SampleBinary, MySampleBinary, "sampleBinary")
    
            expect:
            binary instanceof SampleBinary
            binary.name == "sampleBinary"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top