Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Deadcode (0.45 sec)

  1. src/cmd/link/internal/ld/deadcode.go

    		if exportsIdx != 0 {
    			relocs := d.ldr.Relocs(exportsIdx)
    			for i := 0; i < relocs.Count(); i++ {
    				d.mark(relocs.At(i).Sym(), 0)
    			}
    		}
    	}
    
    	if d.ctxt.Debugvlog > 1 {
    		d.ctxt.Logf("deadcode start names: %v\n", names)
    	}
    
    	for _, name := range names {
    		// Mark symbol as a data/ABI0 symbol.
    		d.mark(d.ldr.Lookup(name, 0), 0)
    		if abiInternalVer != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    )
    
    type deadValueChoice bool
    
    const (
    	leaveDeadValues  deadValueChoice = false
    	removeDeadValues                 = true
    )
    
    // deadcode indicates whether rewrite should try to remove any values that become dead.
    func applyRewrite(f *Func, rb blockRewriter, rv valueRewriter, deadcode deadValueChoice) {
    	// repeat rewrites until we find no more rewrites
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testshared/testdata/depBase/dep.go

    	// exercising https://golang.org/issues/17594
    	reflect.TypeOf(os.Stdout).Elem()
    	return 10
    }
    
    func F() int {
    	defer func() {}()
    	return V
    }
    
    func H() {
    	// Issue 67635: deadcoded closures causes linker crash.
    	func() { F() }()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/WorkNodeCodec.kt

            val nodeCount = readSmallInt()
            val nodes = ArrayList<Node>(nodeCount)
            val nodesById = HashMap<Int, Node>(nodeCount)
            for (i in 0 until nodeCount) {
                val node = readNode()
                nodesById[nodesById.size] = node
                if (node is LocalTaskNode) {
                    node.prepareNode.require()
                    nodesById[nodesById.size] = node.prepareNode
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	if contextCanceled(ctx) {
    		return nil, time.Time{}, ctx.Err()
    	}
    
    	if err := checkPathLength(itemPath); err != nil {
    		return nil, time.Time{}, err
    	}
    
    	f, err := OpenFile(itemPath, readMode, 0o666)
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top