Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for omvs (0.06 sec)

  1. src/cmd/internal/obj/arm/asm5.go

    			} else {
    				rel.Type = objabi.R_ADDR
    			}
    			o1 = 0
    		}
    
    	case 12: /* movw $lcon, reg */
    		if o.a1 == C_SCON {
    			o1 = c.omvs(p, &p.From, int(p.To.Reg))
    		} else if p.As == AMVN {
    			o1 = c.omvr(p, &p.From, int(p.To.Reg))
    		} else {
    			o1 = c.omvl(p, &p.From, int(p.To.Reg))
    		}
    
    		if o.flag&LPCREL != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/mvs/mvs.go

    // license that can be found in the LICENSE file.
    
    // Package mvs implements Minimal Version Selection.
    // See https://research.swtch.com/vgo-mvs.
    package mvs
    
    import (
    	"fmt"
    	"slices"
    	"sort"
    	"sync"
    
    	"cmd/go/internal/par"
    
    	"golang.org/x/mod/module"
    )
    
    // A Reqs is the requirement graph on which Minimal Version Selection (MVS) operates.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/mvs.go

    func cmpVersion(p string, v1, v2 string) int {
    	if v2 == "" {
    		if v1 == "" {
    			return 0
    		}
    		return -1
    	}
    	if v1 == "" {
    		return 1
    	}
    	return gover.ModCompare(p, v1, v2)
    }
    
    // mvsReqs implements mvs.Reqs for module semantic versions,
    // with any exclusions or replacements applied internally.
    type mvsReqs struct {
    	roots []module.Version
    }
    
    func (r *mvsReqs) Required(mod module.Version) ([]module.Version, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/mvs/graph.go

    // license that can be found in the LICENSE file.
    
    package mvs
    
    import (
    	"fmt"
    	"slices"
    
    	"cmd/go/internal/gover"
    
    	"golang.org/x/mod/module"
    )
    
    // Graph implements an incremental version of the MVS algorithm, with the
    // requirements pushed by the caller instead of pulled by the MVS traversal.
    type Graph struct {
    	cmp   func(p, v1, v2 string) int
    	roots []module.Version
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_get_downup_artifact.txt

    # This test illustrates a case where an upgrade–downgrade–upgrade cycle can
    # result in upgrades of otherwise-irrelevant dependencies.
    #
    # This case has no corresponding test in the mvs package, because it is an
    # artifact that results from the composition of *multiple* MVS operations.
    
    # The initial package import graph used in the test looks like:
    #
    # m ---- a
    # |      |
    # +----- b
    # |      |
    # +----- c
    # |
    # +----- d
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/work_prune.txt

    #  example.com/p -> example.com/q v1.0.0
    #
    # If we didn't load the whole graph and didn't load the dependencies of b
    # when loading p, we would end up loading q v1.0.0, rather than v1.1.0,
    # which is selected by MVS.
    
    go list -m -f '{{.Version}}' example.com/q
    stdout '^v1.1.0$'
    
    -- go.work --
    go 1.18
    
    use (
    	./a
    	./p
    )
    -- a/go.mod --
    module example.com/a
    
    go 1.18
    
    require example.com/b v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 14:30:53 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_downup_pseudo_artifact.txt

    # add extraneous dependencies due to another module depending on an
    # otherwise-unlisted version (such as a pseudo-version).
    #
    # This case corresponds to the "downhiddenartifact" test in the mvs package.
    
    # The initial package import graph used in the test looks like:
    #
    # a --- b
    #  \     \
    #   \     \
    #    c --- d
    #
    # The module dependency graph initially looks like:
    #
    # a --- b.3
    #  \      \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_get_downadd_indirect.txt

    # This test illustrates a case where downgrading one module may upgrade another.
    # Compare to the downcross2 test case in cmd/go/internal/mvs/mvs_test.go.
    
    # The initial package import graph used in this test looks like:
    #
    # a ---- b ---- d
    #
    # The module dependency graph originally looks like:
    #
    # a ---- b.2 ---- d.2
    #
    # b.1 ---- c.1
    #
    # If we downgrade module d to version 1, we must downgrade b as well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/mvs/errors.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package mvs
    
    import (
    	"fmt"
    	"strings"
    
    	"golang.org/x/mod/module"
    )
    
    // BuildListError decorates an error that occurred gathering requirements
    // while constructing a build list. BuildListError prints the chain
    // of requirements to the module where the error occurred.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 17:22:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/mvs/mvs_test.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package mvs
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	"golang.org/x/mod/module"
    )
    
    var tests = `
    # Scenario from blog.
    name: blog
    A: B1 C2
    B1: D3
    C1: D2
    C2: D4
    C3: D5
    C4: G1
    D2: E1
    D3: E2
    D4: E2 F1
    D5: E2
    G1: C4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:26 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top