- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,020 for Replacer (0.25 sec)
-
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy
super(message) } private Object writeReplace() { return new WriteReplaceException("replaced") } } static class ReadReplaceException extends Exception { static Exception singleton = new Exception("replaced") private Object readResolve() { return singleton } } @CompileStatic
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 16.4K bytes - Viewed (0) -
src/testing/slogtest/slogtest.go
f: func(l *slog.Logger) { l.Info("msg", "k", &replace{"replaced"}) }, checks: []check{hasAttr("k", "replaced")}, }, { name: "resolve-groups", explanation: withSource("a Handler should call Resolve on attribute values in groups"), f: func(l *slog.Logger) { l.Info("msg", slog.Group("G", slog.String("a", "v1"), slog.Any("b", &replace{"v2"}))) }, checks: []check{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 9.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_download_replace_file.txt
# This test checks that 'go mod download' produces no output for # the main module (when specified implicitly) and for a module replaced # with a file path. # Verifies golang.org/issue/35505. go mod download -json all cmp stdout no-output -- go.mod -- module example.com/a require example.com/b v1.0.0 replace example.com/b => ./local/b -- local/b/go.mod -- module example.com/b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 11 20:19:06 UTC 2019 - 398 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_replace_import.txt
stderr '^go: localhost.fail imports\n\tnonexist: nonexist@v0.1.0: replacement directory ../nonexist does not exist$' -- go.mod -- module example.com/m replace ( example.com/a => ./a example.com/a/b => ./b ) replace ( example.com/x => ./x example.com/x/v3 => ./v3 ) replace ( example.com/y/z/w => ./w
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 2.7K bytes - Viewed (0) -
hack/lint-dependencies.sh
fi noncanonical=$(go list -m -json all | jq -r " select(.Replace.Version != null) | select(.Path != .Replace.Path) | select(.Path) | \" \(.Path) is replaced with \(.Replace.Path)\" ") if [[ -n "${noncanonical}" ]]; then echo "" echo "These modules are pinned to non-canonical repos." echo "Revert to using the canonical repo for these modules before merge" echo "" echo "${noncanonical}" fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:42 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/go/internal/modload/modfile.go
} } } for _, r := range modFile.Replace { if r.New != i.replace[r.Old] { return true } } for _, x := range modFile.Exclude { if !i.exclude[x.Mod] { return true } } return false } // rawGoVersion records the Go version parsed from each module's go.mod file. // // If a module is replaced, the version of the replacement is keyed by the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 17:53:40 UTC 2023 - 26.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_get_replaced.txt
# 'go get' should resolve it to the minimum valid pseudo-version. go mod edit -replace=example.com/x=./x go get example.com/x go list -m example.com/x stdout '^example.com/x v0.0.0-00010101000000-000000000000 ' # If specific-version replacements exist, the highest matching version should be used. go mod edit -replace=example.com/x@v0.1.0=./x go mod edit -replace=example.com/x@v0.2.0=./x go get example.com/x go list -m example.com/x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 2.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskReplacementIntegrationTest.groovy
where: description | api "using replace()" | 'replace("foo", Second)' "using create(overwrite)" | 'create(name: "foo", type: Second, overwrite: true)' } def "throws exception when replace realized task"() { buildFile << ''' tasks.register("foo", First).get() tasks.replace("foo", Second) ''' expect: fails 'help'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 6.8K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ReplacesEagerProperty.java
*/ BinaryCompatibility binaryCompatibility() default ACCESSORS_REMOVED; /** * Accessors that are replaced by the property */ ReplacedAccessor[] replacedAccessors() default {}; /** * Deprecation configuration for the replaced accessors */ ReplacedDeprecation deprecation() default @ReplacedDeprecation(); interface DefaultValue { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 08:40:36 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_load_badmod.txt
# Unknown lines should be ignored in dependency go.mod files. go list -m -mod=mod all # ... and in replaced dependency go.mod files. cp go.mod go.mod.usesub go list -m -mod=mod all # ... but not in the main module. cp go.mod.bad go.mod ! go list -m -mod=mod all stderr 'unknown directive: hello' -- go.mod -- module m require rsc.io/badmod v1.0.0 -- go.mod.bad -- module m hello world -- go.mod.usesub -- module m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 11 13:08:54 UTC 2020 - 524 bytes - Viewed (0)