Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,365 for replaced (0.13 sec)

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

    -- m.go --
    package m
    
    -- r/go.mod --
    module example.com/r
    require example.com/r/replaced v0.0.0
    replace example.com/r/replaced => ../replaced
    -- r/r.go --
    package r
    import _ "example.com/r/replaced"
    -- r/test.out --
    DELETE ME
    
    -- replaced/go.mod --
    module example.com/r/replaced
    -- replaced/replaced.go --
    package replaced
    -- replaced/test.out --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/model/ReplacedBy.java

    /**
     * <p>Attached to a task property to indicate that the property has been replaced by another. Like {@link Internal}, the property is ignored during up-to-date checks.</p>
     *
     * <p>This annotation should be attached to the getter method in Java or the property field in Groovy. You should also consider adding {@link Deprecated} to any replaced property.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 15 16:13:53 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_overlay.txt

    module use.this/module/name
    -- overlay-replaced-go-mod/go.mod --
    module m
    
    go 1.15
    
    require replaced/mod v1.0.0
    replace replaced/mod v1.0.0 => ../replaced-mod
    replace dep/mod v1.0.0 => ../dep-mod
    -- overlay-replaced-go-mod/source.go --
    package m
    
    import "replaced/mod/foo"
    
    func main() {
    	foo.f()
    }
    -- overlay-replaced-go-mod/overlay.json --
    {
    	"Replace": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  4. schema/naming_test.go

    }
    
    func (r CustomReplacer) Replace(name string) string {
    	return r.f(name)
    }
    
    func TestCustomReplacer(t *testing.T) {
    	ns := NamingStrategy{
    		TablePrefix:   "public.",
    		SingularTable: true,
    		NameReplacer: CustomReplacer{
    			func(name string) string {
    				replaced := "REPLACED_" + strings.ToUpper(name)
    				return strings.NewReplacer("CID", "_Cid").Replace(replaced)
    			},
    		},
    		NoLowerCase: false,
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. src/runtime/debug/mod_test.go

    	"runtime/debug"
    	"strings"
    	"testing"
    )
    
    // strip removes two leading tabs after each newline of s.
    func strip(s string) string {
    	replaced := strings.ReplaceAll(s, "\n\t\t", "\n")
    	if len(replaced) > 0 && replaced[0] == '\n' {
    		replaced = replaced[1:]
    	}
    	return replaced
    }
    
    func FuzzParseBuildInfoRoundTrip(f *testing.F) {
    	// Package built from outside a module, missing some fields..
    	f.Add(strip(`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 09 19:44:03 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_replace_readonly.txt

    go get rsc.io/quote
    cmp go.mod go.mod.latest
    go list rsc.io/quote
    cp go.mod.orig go.mod
    
    # Same test with a specific version.
    go mod edit -replace rsc.io/quote@v1.0.0-doesnotexist=./quote
    ! go list rsc.io/quote
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/work_replace_main_module.txt

    # are ignored, and replaces in the go.work file are disallowed.
    # This tests against an issue where requirements of the
    # main module were being ignored because the main module
    # was replaced in a transitive dependency with another
    # version.
    
    go list example.com/dep
    
    cp replace_main_module.go.work go.work
    ! go list example.com/dep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 20 19:10:29 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/vendor.go

    				}
    			} else if vr != rNewCanonical {
    				vendErrorf(r.Old, "is replaced by %s in %s, but marked as replaced by %s in vendor/modules.txt", describe(rNew), base.ShortPath(replacementSource), describe(vr))
    			}
    		}
    	}
    	for _, modFile := range modFiles {
    		checkReplace(modFile.Replace)
    	}
    	if MainModules.workFile != nil {
    		checkReplace(MainModules.workFile.Replace)
    	}
    
    	for _, mod := range vendorList {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/work_vendor_main_module_replaced.txt

    
    -- a_go_mod_no_replace --
    module example.com/a
    
    go 1.21
    
    require example.com/b v0.0.0
    -- go.work --
    go 1.21
    
    use (
        a
        b
    )
    -- a/go.mod --
    module example.com/a
    
    go 1.21
    
    require example.com/b v0.0.0
    
    replace example.com/b => ../b
    -- a/a.go --
    package a
    
    import _ "example.com/b"
    -- b/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 895 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/work_vendor_modules_txt_consistent.txt

    ## explicit; go 1.21
    # example.com/q v1.0.0 => ./q
    ## explicit; go 1.21
    -- missing_replacement_error.txt --
    go: inconsistent vendoring in $GOPATH${/}src:
    	example.com/p@v1.0.0: is replaced in a${/}go.mod, but not marked as replaced in vendor/modules.txt
    
    	To ignore the vendor directory, use -mod=readonly or -mod=mod.
    	To sync the vendor directory, run:
    		go work vendor
    -- modules.txt.different_replacement --
    ## workspace
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top