Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for buildNode (0.14 sec)

  1. pkg/adsc/adsc.go

    	default:
    	}
    }
    
    func (a *ADSC) node() *core.Node {
    	return buildNode(&a.cfg.Config)
    }
    
    func nodeID(config *Config) string {
    	return fmt.Sprintf("%s~%s~%s.%s~%s.svc.%s", config.NodeType, config.IP,
    		config.Workload, config.Namespace, config.Namespace, constants.DefaultClusterLocalDomain)
    }
    
    func buildNode(config *Config) *core.Node {
    	n := &core.Node{
    		Id:       nodeID(config),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. pkg/adsc/delta.go

    	err = c.xdsClient.Send(req)
    	if err != nil {
    		c.errChan <- err
    	}
    }
    
    func (c *Client) nodeID() string {
    	return nodeID(&c.cfg.Config)
    }
    
    func (c *Client) node() *core.Node {
    	return buildNode(&c.cfg.Config)
    }
    
    func (c *Client) update(t string, sub, unsub set.Set[string], d *discovery.DeltaDiscoveryResponse) {
    	req := &discovery.DeltaDiscoveryRequest{
    		Node: &core.Node{
    			Id: c.nodeID(),
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/BuildModel.java

     * limitations under the License.
     */
    
    package org.gradle.tooling.model;
    
    /**
     * Represents a model that is associated with or represents some Gradle build.
     *
     * @since 3.0
     */
    public interface BuildModel {
        /**
         * Returns the identifier for the build that this model is associated with.
         */
        BuildIdentifier getBuildIdentifier();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 926 bytes
    - Viewed (0)
  4. src/debug/buildinfo/buildinfo_test.go

    		platforms = append(platforms, runtimePlatform)
    	}
    
    	buildModes := []string{"pie", "exe"}
    	if testenv.HasCGO() {
    		buildModes = append(buildModes, "c-shared")
    	}
    
    	// Keep in sync with src/cmd/go/internal/work/init.go:buildModeInit.
    	badmode := func(goos, goarch, buildmode string) string {
    		return fmt.Sprintf("-buildmode=%s not supported on %s/%s", buildmode, goos, goarch)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/init.go

    		// Set the pkgsFilter to oneMainPkg if the user passed a specific binary output
    		// and is using buildmode=exe for a better error message.
    		// See issue #20017.
    		if cfg.BuildO != "" {
    			pkgsFilter = oneMainPkg
    		}
    	case "pie":
    		if cfg.BuildRace && !platform.DefaultPIE(cfg.Goos, cfg.Goarch, cfg.BuildRace) {
    			base.Fatalf("-buildmode=pie not supported when -race is enabled on %s/%s", cfg.Goos, cfg.Goarch)
    		}
    		if gccgo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/config.go

    package ld
    
    import (
    	"fmt"
    	"internal/buildcfg"
    	"internal/platform"
    )
    
    // A BuildMode indicates the sort of object we are building.
    //
    // Possible build modes are the same as those for the -buildmode flag
    // in cmd/go, and are documented in 'go help buildmode'.
    type BuildMode uint8
    
    const (
    	BuildModeUnset BuildMode = iota
    	BuildModeExe
    	BuildModePIE
    	BuildModeCArchive
    	BuildModeCShared
    	BuildModeShared
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:14:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/plugin_test.go

    		log.Panic(err)
    	}
    	prettyPrintf("cp plugin2.so plugin2-dup.so\n")
    
    	goCmd(nil, "build", "-buildmode=plugin", "-o=sub/plugin1.so", "./sub/plugin1")
    	goCmd(nil, "build", "-buildmode=plugin", "-o=unnamed1.so", "./unnamed1/main.go")
    	goCmd(nil, "build", "-buildmode=plugin", "-o=unnamed2.so", "./unnamed2/main.go")
    	goCmd(nil, "build", "-o", "host.exe", "./host")
    
    	return m.Run()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_exe.txt

    # go build with -o and -buildmode=exe should report an error on a non-main package.
    
    ! go build -buildmode=exe -o out$GOEXE ./not_main
    stderr '-buildmode=exe requires exactly one main package'
    ! exists out$GOEXE
    ! go build -buildmode=exe -o out$GOEXE ./main_one ./main_two
    stderr '-buildmode=exe requires exactly one main package'
    ! exists out$GOEXE
    
    -- go.mod --
    module m
    
    go 1.16
    -- not_main/not_main.go --
    package not_main
    
    func F() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 551 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_pie_race.txt

    # go build -buildmode=pie -race main.go on Darwin should work without errors
    
    [!race] skip 'test requires race detector support'
    
    [!GOOS:darwin] ! go build -buildmode=pie -race
    [!GOOS:darwin] stderr '^-buildmode=pie not supported when -race is enabled on '$GOOS'/'$GOARCH'$'
    [!GOOS:darwin] stop 'not testing -buildmode=pie -race on platform that does not support it'
    
    go build -buildmode=pie -race bytes
    ! stderr .
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 672 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_plugin_reproducible.txt

    [!buildmode:plugin] skip
    [short] skip
    [!cgo] skip '-buildmode=plugin requires external linking'
    
    go build -trimpath -buildvcs=false -buildmode=plugin -o a.so main.go
    go build -trimpath -buildvcs=false -buildmode=plugin -o b.so main.go
    cmp -q a.so b.so
    
    -- main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:07:03 UTC 2024
    - 296 bytes
    - Viewed (0)
Back to top