Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,020 for Replacer (0.23 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentReplacementIntegrationTest.groovy

            declaredReplacements 'a->b'
            expect:
            resolvedModules 'b'
        }
    
        def "replaces already resolved module"() {
            declaredDependencies 'a', 'b'
            declaredReplacements 'a->b'
            expect:
            resolvedModules 'b'
        }
    
        def "replaces not yet resolved module"() {
            declaredDependencies 'b', 'a'
            declaredReplacements 'a->b'
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Reader).Seek", Method, 0},
    		{"(*Reader).Size", Method, 5},
    		{"(*Reader).UnreadByte", Method, 0},
    		{"(*Reader).UnreadRune", Method, 0},
    		{"(*Reader).WriteTo", Method, 1},
    		{"(*Replacer).Replace", Method, 0},
    		{"(*Replacer).WriteString", Method, 0},
    		{"Builder", Type, 10},
    		{"Clone", Func, 18},
    		{"Compare", Func, 5},
    		{"Contains", Func, 0},
    		{"ContainsAny", Func, 0},
    		{"ContainsFunc", Func, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_replace_conflict.txt

    # Conflicting replaces in workspace modules returns error that suggests
    # overriding it in the go.work file.
    
    ! go list -m example.com/dep
    stderr 'go: conflicting replacements for example.com/dep@v1.0.0:\n\t'$PWD${/}'dep1\n\t'$PWD${/}'dep2\nuse "go work edit -replace example.com/dep@v1.0.0=\[override\]" to resolve'
    go work edit -replace example.com/dep@v1.0.0=./dep1
    go list -m example.com/dep
    stdout 'example.com/dep v1.0.0 => ./dep1'
    
    -- foo --
    -- go.work --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 15 22:28:43 UTC 2022
    - 1009 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_replace_conflict_override.txt

    # Conflicting workspace module replaces can be overridden by a replace in the
    # go.work file.
    
    go list -m example.com/dep
    stdout 'example.com/dep v1.0.0 => ./dep3'
    
    -- go.work --
    use m
    use n
    replace example.com/dep => ./dep3
    -- m/go.mod --
    module example.com/m
    
    require example.com/dep v1.0.0
    replace example.com/dep => ./dep1
    -- m/m.go --
    package m
    
    import "example.com/dep"
    
    func F() {
    	dep.G()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 16 17:32:23 UTC 2021
    - 828 bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/RemovalCause.java

      },
    
      /**
       * The entry itself was not actually removed, but its value was replaced by the user. This can
       * result from the user invoking {@link Cache#put}, {@link LoadingCache#refresh}, {@link Map#put},
       * {@link Map#putAll}, {@link ConcurrentMap#replace(Object, Object)}, or {@link
       * ConcurrentMap#replace(Object, Object, Object)}.
       */
      REPLACED {
        @Override
        boolean wasEvicted() {
          return false;
        }
      },
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  6. src/cmd/internal/objabi/line.go

    	prefix, replace := rewrite, ""
    	if j := strings.LastIndex(rewrite, "=>"); j >= 0 {
    		prefix, replace = rewrite[:j], rewrite[j+len("=>"):]
    	}
    
    	if prefix == "" || !hasPathPrefix(path, prefix) {
    		return path, false
    	}
    	if len(path) == len(prefix) {
    		return replace, true
    	}
    	if replace == "" {
    		return path[len(prefix)+1:], true
    	}
    	return replace + path[len(prefix):], true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 23:10:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/jit/shape_inference_helpers.h

    // Helper class to temporarily remove, then replace, the back edges in a
    // graph. Simple algorithms for shape inference don't work with cycles, and this
    // class can be used to remove cycles before running inference and replace them
    // after. Correct usage requires exactly one call to Remove(), followed by any
    // number of calls to RemovedEdges() and at most one call to Replace(). The call
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 12 18:06:51 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/gofmt/rewrite.go

    	fmt.Println()
    }
    */
    
    // rewriteFile applies the rewrite rule 'pattern -> replace' to an entire file.
    func rewriteFile(fileSet *token.FileSet, pattern, replace ast.Expr, p *ast.File) *ast.File {
    	cmap := ast.NewCommentMap(fileSet, p, p.Comments)
    	m := make(map[string]reflect.Value)
    	pat := reflect.ValueOf(pattern)
    	repl := reflect.ValueOf(replace)
    
    	var rewriteVal func(val reflect.Value) reflect.Value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K 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