Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for flts (0.47 sec)

  1. src/cmd/go/internal/work/security_test.go

    	// except for anything that begins with "-flto".
    	for _, f := range goodCompilerFlags {
    		foundLTO := false
    		for _, s := range f {
    			if strings.Contains(s, "-flto") {
    				foundLTO = true
    			}
    		}
    		if err := checkCompilerFlagsForInternalLink("test", "test", f); err != nil {
    			// expect error for -flto
    			if !foundLTO {
    				t.Errorf("unexpected error for %q: %v", f, err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/darwin_lto_library_ldflag.txt

    [!GOOS:darwin] skip
    [!cgo] skip
    
    ! go build
    stderr 'invalid flag in #cgo LDFLAGS: -lto_library'
    
    -- go.mod --
    module ldflag
    
    -- main.go --
    package main
    
    // #cgo CFLAGS: -flto
    // #cgo LDFLAGS: -lto_library bad.dylib
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:41:16 UTC 2024
    - 241 bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    				Value: buildPatchStruct(`
    					{"transport_socket":{
    						"name":"transport_sockets.alts",
    						"typed_config":{
    							"@type":"type.googleapis.com/udpa.type.v1.TypedStruct",
                  "type_url": "type.googleapis.com/envoy.extensions.transport_sockets.alts.v3.Alts",
    							"value":{"handshaker_service":"1.2.3.4"}}}}`),
    			},
    		},
    		// Patch custom TLS type to a FC without TLS already set
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/fit.go

    	return framework.QueueSkip, nil
    }
    
    // isFit checks if the pod fits the node. If the node is nil, it returns false.
    // It constructs a fake NodeInfo object for the node and checks if the pod fits the node.
    func isFit(pod *v1.Pod, node *v1.Node) bool {
    	if node == nil {
    		return false
    	}
    	nodeInfo := framework.NewNodeInfo()
    	nodeInfo.SetNode(node)
    	return len(Fits(pod, nodeInfo)) == 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. src/go/ast/filter.go

    		removedFields = true
    	}
    	fields.List = list[0:j]
    	return
    }
    
    func filterCompositeLit(lit *CompositeLit, filter Filter, export bool) {
    	n := len(lit.Elts)
    	lit.Elts = filterExprList(lit.Elts, filter, export)
    	if len(lit.Elts) < n {
    		lit.Incomplete = true
    	}
    }
    
    func filterExprList(list []Expr, filter Filter, export bool) []Expr {
    	j := 0
    	for _, exp := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    	}{
    		{
    			pod: &v1.Pod{},
    			nodeInfo: framework.NewNodeInfo(
    				newResourcePod(framework.Resource{MilliCPU: 10, Memory: 20})),
    			name:                      "no resources requested always fits",
    			wantInsufficientResources: []InsufficientResource{},
    		},
    		{
    			pod: newResourcePod(framework.Resource{MilliCPU: 1, Memory: 1}),
    			nodeInfo: framework.NewNodeInfo(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  7. src/go/types/expr.go

    				goto Error
    			}
    			if len(e.Elts) == 0 {
    				break
    			}
    			// Convention for error messages on invalid struct literals:
    			// we mention the struct type only if it clarifies the error
    			// (e.g., a duplicate field error doesn't need the struct type).
    			fields := utyp.fields
    			if _, ok := e.Elts[0].(*ast.KeyValueExpr); ok {
    				// all elements must have keys
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/swig/swig_test.go

    		// use of lld, which ships with our clang installation.
    		extraLDFlags := ""
    		if strings.Contains(testenv.Builder(), "clang") {
    			extraLDFlags += " -fuse-ld=lld"
    		}
    		const cflags = "-flto -Wno-lto-type-mismatch -Wno-unknown-warning-option"
    		cmd.Env = append(cmd.Environ(),
    			"CGO_CFLAGS="+cflags,
    			"CGO_CXXFLAGS="+cflags,
    			"CGO_LDFLAGS="+cflags+extraLDFlags)
    	}
    	out, err := cmd.CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/security.go

    		return err
    	}
    	// Currently the only flag on the allow list that causes problems
    	// for the linker is "-flto"; check for it manually here.
    	for _, fl := range list {
    		if strings.HasPrefix(fl, "-flto") {
    			return fmt.Errorf("flag %q triggers external linking", fl)
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/support.go

    	panic(fmt.Sprintf(format, args...))
    }
    
    // deltaNewFile is a magic line delta offset indicating a new file.
    // We use -64 because it is rare; see issue 20080 and CL 41619.
    // -64 is the smallest int that fits in a single byte as a varint.
    const deltaNewFile = -64
    
    // Synthesize a token.Pos
    type fakeFileSet struct {
    	fset  *token.FileSet
    	files map[string]*fileInfo
    }
    
    type fileInfo struct {
    	file     *token.File
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top