Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 170 for Deleted (1.29 sec)

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

    # This test checks more of the "go build -cover" functionality,
    # specifically which packages get selected when building.
    
    [short] skip
    
    # Skip if new coverage is not enabled.
    [!GOEXPERIMENT:coverageredesign] skip
    
    #-------------------------------------------
    
    # Build for coverage.
    go build -mod=mod -o $WORK/modex.exe -cover mod.example/main
    
    # Save off old GOCOVERDIR setting
    env SAVEGOCOVERDIR=$GOCOVERDIR
    
    # Execute.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/range.go

    	if stmt == nil || stmt.Op() != ir.ODELETE {
    		return false
    	}
    
    	m := n.X
    	if delete := stmt.(*ir.CallExpr); !ir.SameSafeExpr(delete.Args[0], m) || !ir.SameSafeExpr(delete.Args[1], k) {
    		return false
    	}
    
    	// Keys where equality is not reflexive can not be deleted from maps.
    	if !types.IsReflexive(t.Key()) {
    		return false
    	}
    
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/edit.go

    				// graph, they can always add an explicit 'exclude' directive.
    				conflicts = append(conflicts, conflict)
    				continue
    			}
    
    			// If m is not the selected version of its path, we have two options: we
    			// can either upgrade to the version that actually is selected (dropping m
    			// itself out of the bottom of the module graph), or we can try
    			// downgrading it.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/buildlist.go

    	return mg.g.RequiredBy(m)
    }
    
    // Selected returns the selected version of the module with the given path.
    //
    // If no version is selected, Selected returns version "none".
    func (mg *ModuleGraph) Selected(path string) (version string) {
    	return mg.g.Selected(path)
    }
    
    // WalkBreadthFirst invokes f once, in breadth-first order, for each module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/pgo_inl_test.go

    			fname := m[1]
    			delete(notInlinedReason, curPkg+"."+fname)
    			continue
    		}
    		if m := canInline.FindStringSubmatch(line); m != nil {
    			fname := m[1]
    			fullname := curPkg + "." + fname
    			// If function must be inlined somewhere, being inlinable is not enough
    			if _, ok := must[fullname]; !ok {
    				delete(notInlinedReason, fullname)
    				continue
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_fs_patterns.txt

    # a package path.
    cd ../badat/bad@
    ! go list .
    stderr 'current directory outside main module or its selected dependencies'
    ! go list $PWD
    stderr 'current directory outside main module or its selected dependencies'
    ! go list $PWD/...
    stderr 'current directory outside main module or its selected dependencies'
    
    -- x/go.mod --
    module m
    
    -- x/x.go --
    package x
    
    -- x/vendor/v/v.go --
    package v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 18:09:53 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_replace_old.txt

    # Regression test for https://golang.org/issue/46659.
    #
    # If a 'replace' directive specifies an older-than-selected version of a module,
    # 'go mod tidy' shouldn't try to add that version to the build list to resolve a
    # missing package: it won't be selected, and would cause the module loader to
    # loop indefinitely trying to resolve the package.
    
    cp go.mod go.mod.orig
    
    ! go mod tidy
    ! stderr panic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1004 bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/sync/61696.md

    The [Map.Clear] method deletes all the entries, resulting in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 17:07:25 UTC 2024
    - 105 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_issue56494.txt

    # Regression test for https://go.dev/issue/56494:
    # 'go get' in module mode was failing to prune out dependencies
    # through modules whose versions are too low to be selected.
    
    # Initially, modules "a", "b", and "c" are unrelated.
    #
    # The package import graph at v1 of everything looks like:
    #
    # m --- a
    # |
    # + --- b
    # |
    # + --- c
    #
    # At v2, package "a" adds imports of "b" and "c"
    # (and a requirement on "c" v2):
    #
    # a --- b
    # |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/decompose.go

    		if v.Op != OpArrayMake1 {
    			keep = append(keep, v)
    			continue
    		}
    		f.NamedValues[*elemName] = append(f.NamedValues[*elemName], v.Args[0])
    	}
    	if len(keep) == 0 {
    		// delete the name for the array as a whole
    		delete(f.NamedValues, *name)
    	} else {
    		f.NamedValues[*name] = keep
    	}
    
    	if t.Elem().IsArray() {
    		return decomposeUserArrayInto(f, elemName, slots)
    	} else if t.Elem().IsStruct() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
Back to top