Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 357 for Positions (0.15 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/Version.java

         */
        String[] getParts();
    
        /**
         * Returns all the numeric parts of this version as {@link Long}, with nulls in non-numeric positions. eg. 1.2.3 returns [1,2,3] or 1.2-beta4 returns [1,2,null,4].
         */
        Long[] getNumericParts();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/go/ast/import.go

    	}
    
    	// Sort the import specs by import path.
    	// Remove duplicates, when possible without data loss.
    	// Reassign the import paths to have the same position sequence.
    	// Reassign each comment to the spec on the same line.
    	// Sort the comments by new position.
    	slices.SortFunc(specs, func(a, b Spec) int {
    		ipath := importPath(a)
    		jpath := importPath(b)
    		r := cmp.Compare(ipath, jpath)
    		if r != 0 {
    			return r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/go/types/eval.go

    	var scope *Scope
    	if pkg == nil {
    		scope = Universe
    		pos = nopos
    	} else if !pos.IsValid() {
    		scope = pkg.scope
    	} else {
    		// The package scope extent (position information) may be
    		// incorrect (files spread across a wide range of fset
    		// positions) - ignore it and just consider its children
    		// (file scopes).
    		for _, fscope := range pkg.scope.children {
    			if scope = fscope.Innermost(pos); scope != nil {
    				break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/internal/test2json/test2json_test.go

    	// how to break up text in "output" events.
    	i := 0
    	j := 0
    
    	// Fail reports a failure at the current i,j and stops the test.
    	// It shows the events around the current positions,
    	// with the current positions marked.
    	fail := func() {
    		var buf bytes.Buffer
    		show := func(i int, lines []string) {
    			for k := -2; k < 5; k++ {
    				marker := ""
    				if k == 0 {
    					marker = "ยป "
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/dcl.go

    func NewMethodType(sig *types.Type, recv *types.Type) *types.Type {
    	nrecvs := 0
    	if recv != nil {
    		nrecvs++
    	}
    
    	// TODO(mdempsky): Move this function to types.
    	// TODO(mdempsky): Preserve positions, names, and package from sig+recv.
    
    	params := make([]*types.Field, nrecvs+sig.NumParams())
    	if recv != nil {
    		params[0] = types.NewField(base.Pos, nil, recv)
    	}
    	for i, param := range sig.Params() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileIntegrationTest.groovy

            JavaVersion.forClass(scalaClassFile("ScalaHall.class").bytes) == JavaVersion.VERSION_1_8
        }
    
        def "fail in case of errors and print correct positions"() {
            given:
            file("src/main/scala/Person.scala") << """
    class Person {
        def getName(): String = 42
    }
    """
            expect:
            fails(":compileScala")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/services.go

    func (d Services) Less(i, j int) bool {
    	return strings.Compare(d[i].Config().ClusterLocalFQDN(), d[j].Config().ClusterLocalFQDN()) < 0
    }
    
    // Swap switches the positions of elements at i and j (used for sorting).
    func (d Services) Swap(i, j int) {
    	d[i], d[j] = d[j], d[i]
    }
    
    // Copy this services array.
    func (d Services) Copy() Services {
    	return append(Services{}, d...)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 21 16:42:24 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/diagnostic.go

    	// problem described by the diagnostic, each one representing
    	// an alternative strategy; at most one may be applied.
    	SuggestedFixes []SuggestedFix
    
    	// Related contains optional secondary positions and messages
    	// related to the primary diagnostic.
    	Related []RelatedInformation
    }
    
    // RelatedInformation contains information related to a diagnostic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      // The first `size` elements are non-null.
      @VisibleForTesting final transient @Nullable Object[] elements;
      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
      @VisibleForTesting final transient @Nullable Object[] table;
      // 'and' with an int to get a valid table index.
      private final transient int mask;
      private final transient int size;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/embed.txt

    [symlink] symlink t/x.link -> ../x.txt
    [symlink] ! go build -x
    [symlink] stderr '^x.go:5:12: pattern [*]t: cannot embed directory t: contains no embeddable files$'
    
    cp x.txt t/x.txt
    go build -x
    
    # build reports errors with positions in imported packages
    rm t/x.txt
    ! go build m/use
    stderr '^x.go:5:12: pattern [*]t: cannot embed directory t: contains no embeddable files$'
    
    # all still ignores .git and symlinks
    cp x.go3 x.go
    ! go build -x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 18:03:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top