Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 228 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/syntax/pos.go

    func (p position_) String() string {
    	if p.line == 0 {
    		if p.filename == "" {
    			return "<unknown position>"
    		}
    		return p.filename
    	}
    	if p.col == 0 {
    		return fmt.Sprintf("%s:%d", p.filename, p.line)
    	}
    	return fmt.Sprintf("%s:%d:%d", p.filename, p.line, p.col)
    }
    
    // A PosBase represents the base for relative position information:
    // At position pos, the relative position is filename:line:col.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy

            then:
            decode(bytes) { Decoder decoder ->
                decoder.skipChunked()
                assert decoder.readString() == "done"
            }
        }
    
        def "can query write and read positions"() {
            def outstr = new ByteArrayOutputStream()
            def encoder = new KryoBackedEncoder(outstr)
    
            expect:
            encoder.writePosition == 0
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableSet.java

          new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0);
    
      private final transient 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;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top