Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for dain (0.04 sec)

  1. src/cmd/go/go_test.go

    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.tempFile("main.go", `package main
    		var extern string
    		func main() {
    			println(extern)
    		}`)
    	tg.run("run", "-ldflags", `-X "main.extern=hello world"`, tg.path("main.go"))
    	tg.grepStderr("^hello world", `ldflags -X "main.extern=hello world"' failed`)
    }
    
    func TestLdFlagsLongArgumentsIssue42295(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/buildlist.go

    // IsDirect returns whether the given module provides a package directly
    // imported by a package or test in the main module.
    func (rs *Requirements) IsDirect(path string) bool {
    	return rs.direct[path]
    }
    
    // A ModuleGraph represents the complete graph of module dependencies
    // of a main module.
    //
    // If the main module supports module graph pruning, the graph does not include
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/load.go

    			if _, ok, err := dirInModule(pkg, mainModulePrefix, modRoot, true); err != nil {
    				return "", err
    			} else if !ok {
    				// This main module could contain the directory but doesn't. Other main
    				// modules might contain the directory, so wait till we finish the loop
    				// to see if another main module contains directory. But if not,
    				// return an error.
    				if len(mainModulePrefix) > len(pkgNotFoundLongestPrefix) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/init.go

    }
    
    // HasModRoot reports whether a main module is present.
    // HasModRoot may return false even if Enabled returns true: for example, 'get'
    // does not require a main module.
    func HasModRoot() bool {
    	Init()
    	return modRoots != nil
    }
    
    // MustHaveModRoot checks that a main module or main modules are present,
    // and calls base.Fatalf if there are no main modules.
    func MustHaveModRoot() {
    	Init()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                    }
                }
    
                dependencies {
                    implementation 'org.apache.commons:commons-lang3:3.10'
                }
            """
            file("src/main/java").createDir()
            file("src/main/java/Foo.java").createFile().text = """class Foo {}"""
            enableStableConfigurationCache()
            // should not be expected
            executer.expectDocumentedDeprecationWarning(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    With the `java-library` plugin applied (or any other plugin that applies the `java` plugin), calling `usingSourceSet` with the `main` source set will throw an exception.
    This is because the `java` plugin already configures a main feature.
    Only if the `java` plugin is not applied will the `main` source set be permitted when calling `usingSourceSet`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inputs/enable-core-dump.yaml.5.template.gen.yaml

                exec:
                  command:
                  - pilot-agent
                  - wait
          {{- else if $nativeSidecar }}
            {{- /* preStop is called when the pod starts shutdown. Initialize drain. We will get SIGTERM once applications are torn down. */}}
            lifecycle:
              preStop:
                exec:
                  command:
                  - pilot-agent
                  - request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inputs/hello-existing-cncf-networks-json.yaml.16.template.gen.yaml

                exec:
                  command:
                  - pilot-agent
                  - wait
          {{- else if $nativeSidecar }}
            {{- /* preStop is called when the pod starts shutdown. Initialize drain. We will get SIGTERM once applications are torn down. */}}
            lifecycle:
              preStop:
                exec:
                  command:
                  - pilot-agent
                  - request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inputs/hello-image-pull-secret.yaml.11.template.gen.yaml

                exec:
                  command:
                  - pilot-agent
                  - wait
          {{- else if $nativeSidecar }}
            {{- /* preStop is called when the pod starts shutdown. Initialize drain. We will get SIGTERM once applications are torn down. */}}
            lifecycle:
              preStop:
                exec:
                  command:
                  - pilot-agent
                  - request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inputs/hello.yaml.0.template.gen.yaml

                exec:
                  command:
                  - pilot-agent
                  - wait
          {{- else if $nativeSidecar }}
            {{- /* preStop is called when the pod starts shutdown. Initialize drain. We will get SIGTERM once applications are torn down. */}}
            lifecycle:
              preStop:
                exec:
                  command:
                  - pilot-agent
                  - request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top