Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,020 for Replacer (0.16 sec)

  1. src/cmd/compile/internal/ssa/phiopt.go

    				continue
    			}
    
    			// Look for conversions from bool to 0/1.
    			if v.Type.IsInteger() {
    				phioptint(v, b0, reverse)
    			}
    
    			if !v.Type.IsBoolean() {
    				continue
    			}
    
    			// Replaces
    			//   if a { x = true } else { x = false } with x = a
    			// and
    			//   if a { x = false } else { x = true } with x = !a
    			if v.Args[0].Op == OpConstBool && v.Args[1].Op == OpConstBool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ComponentModuleMetadata.java

        /**
         * The identifier of the module.
         */
        ModuleIdentifier getId();
    
        /**
         * The identifier of module that replaces this module.
         * A real world example: 'com.google.collections:google-collections' is replaced by 'com.google.guava:guava'.
         */
        @Nullable ModuleIdentifier getReplacedBy();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 10 09:42:35 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_load_replace_mismatch.txt

    # Verifies golang.org/issue/38220.
    ! go mod download
    cmp stderr want
    
    -- go.mod --
    module m
    
    require rsc.io/quote v1.5.2
    
    replace rsc.io/quote v1.5.2 => example.com/quote v1.5.2
    
    -- use.go --
    package use
    
    import _ "rsc.io/quote"
    
    -- want --
    go: rsc.io/quote@v1.5.2 (replaced by example.com/quote@v1.5.2): parsing go.mod:
    	module declares its path as: rsc.io/Quote
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 30 18:06:46 UTC 2021
    - 618 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_invalid_version.txt

    stderr 'golang.org/x/text@v0.1.1-0.20190915032832-14c0d48ead0c: invalid pseudo-version: does not match version-control timestamp \(expected 20170915032832\)'
    
    # A 'replace' directive in the main module can replace an invalid timestamp
    # with a valid one.
    go mod edit -replace golang.org/x/text@v0.1.1-0.20190915032832-14c0d48ead0c=golang.org/x/text@14c0d48ead0c
    cd outside
    ! go list -m golang.org/x/text
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 02:54:20 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_replace_gopkgin.txt

    go list -m gopkg.in/src-d/go-git.v4
    
    cd ../4-to-incompatible
    go list -m gopkg.in/src-d/go-git.v4
    
    # A mismatched gopkg.in path should not be able to replace a different major version.
    cd ../3-to-gomod-4
    ! go list -m gopkg.in/src-d/go-git.v3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/printers/terminal.go

    import (
    	"io"
    	"os"
    	"runtime"
    	"strings"
    
    	"github.com/moby/term"
    )
    
    // terminalEscaper replaces ANSI escape sequences and other terminal special
    // characters to avoid terminal escape character attacks (issue #101695).
    var terminalEscaper = strings.NewReplacer("\x1b", "^[", "\r", "\\r")
    
    // WriteEscaped replaces unsafe terminal characters with replacement strings
    // and writes them to the given writer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_tidy_symlink_issue35941.txt

    cmp go.mod go.mod.orig
    
    ! go build ./symlink
    stderr '^symlink[\\/]symlink.go:3:8: module example.net/unresolved provides package example.net/unresolved and is replaced but not required; to add it:\n\tgo get example.net/unresolved@v0.1.0$'
    
    -- m/go.mod --
    module example.net/m
    
    go 1.16
    
    replace example.net/unresolved v0.1.0 => ../unresolved
    -- m/a.go --
    package a
    -- outside/symlink.go --
    package symlink
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 27 18:17:01 UTC 2021
    - 898 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_tidy_compat_deleted.txt

    [exec:patch] ! stdout .
    [exec:patch] stderr '^go: example\.com/m imports\n\texample\.net/deleted: module example\.net/deleted@latest found \(v0\.2\.0, replaced by \./d2\), but does not contain package example\.net/deleted$'
    
    -- go.mod --
    module example.com/m
    
    go 1.17
    
    replace (
    	example.net/deleted v0.1.0 => ./d1
    	example.net/deleted v0.2.0 => ./d2
    	example.net/lazy v0.1.0 => ./lazy
    	example.net/pruned v0.1.0 => ./pruned
    )
    
    require (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_e.txt

    exists vendor/modules.txt
    exists vendor/example.net/m/m.go
    
    -- go.mod --
    module example.com/untidy
    go 1.16
    replace example.net/m v0.1.0 => ./m
    -- go.mod.final --
    module example.com/untidy
    
    go 1.16
    
    replace example.net/m v0.1.0 => ./m
    
    require example.net/m v0.1.0
    -- untidy.go --
    package untidy
    
    import (
    	_ "example.net/m"
    	_ "example.net/directnotfound"
    )
    -- untidy_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_vendor_auto.txt

    stderr '^\texample.com/printversion@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt'
    stderr '^\texample.com/unused: is replaced in go.mod, but not marked as replaced in vendor/modules.txt'
    stderr '^\texample.com/version@v1.2.0: is replaced in go.mod, but not marked as replaced in vendor/modules.txt'
    stderr '^\tTo ignore the vendor directory, use -mod=readonly or -mod=mod.\n\tTo sync the vendor directory, run:\n\t\tgo mod vendor$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top