Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 228 for Positions (0.28 sec)

  1. pkg/config/analysis/legacy/source/kube/origin.go

    	return o.Cluster
    }
    
    // Position is a representation of the location of a source.
    type Position struct {
    	Filename string // filename, if any
    	Line     int    // line number, starting at 1
    }
    
    // String outputs the string representation of the position.
    func (p *Position) String() string {
    	s := p.Filename
    	// TODO: support json file position.
    	if p.isValid() && filepath.Ext(p.Filename) != ".json" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Parameter.java

        if (obj instanceof Parameter) {
          Parameter that = (Parameter) obj;
          return position == that.position && declaration.equals(that.declaration);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return position;
      }
    
      @Override
      public String toString() {
        return type + " arg" + position;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Parameter.java

        if (obj instanceof Parameter) {
          Parameter that = (Parameter) obj;
          return position == that.position && declaration.equals(that.declaration);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return position;
      }
    
      @Override
      public String toString() {
        return type + " arg" + position;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

            if (position == 0) {
                setPosition(1);
            }
            return (attribute == null) ? null : new Xpp3DomAttributePointer(parent, attribute);
        }
    
        public int getPosition() {
            return position;
        }
    
        public boolean setPosition(int position) {
            this.position = position;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/KtRendererTypeApproximator.kt

        public object TO_DENOTABLE : KaRendererTypeApproximator {
            override fun approximateType(analysisSession: KaSession, type: KaType, position: Variance): KaType {
                with(analysisSession) {
                    val effectiveType = type.getEnhancedType() ?: type
    
                    return when (position) {
                        Variance.INVARIANT -> effectiveType
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/go/types/errors.go

    type atPos token.Pos
    
    func (s atPos) Pos() token.Pos {
    	return token.Pos(s)
    }
    
    // posSpan holds a position range along with a highlighted position within that
    // range. This is used for positioning errors, with pos by convention being the
    // first position in the source where the error is known to exist, and start
    // and end defining the full span of syntax being considered when the error was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/go/types/version.go

    	}
    	return true
    }
    
    // TODO(gri) Consider a more direct (position-independent) mechanism
    //           to identify which file we're in so that version checks
    //           work correctly in the absence of correct position info.
    
    // fileFor returns the *ast.File which contains the position pos.
    // If there are no files, the result is nil.
    // The position must be valid.
    func (check *Checker) fileFor(pos token.Pos) *ast.File {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 23:12:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/go/scanner/errors.go

    // The position Pos, if valid, points to the beginning of
    // the offending token, and the error condition is described
    // by Msg.
    type Error struct {
    	Pos token.Position
    	Msg string
    }
    
    // Error implements the error interface.
    func (e Error) Error() string {
    	if e.Pos.Filename != "" || e.Pos.IsValid() {
    		// don't print "<unknown position>"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/Cursor.java

    /**
     * A virtual console screen cursor. This class avoid complex screen position management.
     */
    public class Cursor {
        int col; // count from left of screen, 0 = left most
        int row; // count from bottom of screen, 0 = bottom most, 1 == 2nd from bottom
    
        @SuppressWarnings("ReferenceEquality")
        public void copyFrom(Cursor position) {
            if (position == this) {
                return;
            }
            this.col = position.col;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/net/http/routing_index.go

    		// dollar patterns must have the {$} in the same position.
    		return apply(idx.segments[routingIndexKey{s: "/", pos: len(pat.segments) - 1}])
    	}
    	// For ordinary and multi patterns, the only conflicts can be with a multi,
    	// or a pattern that has the same literal or a wildcard at some literal
    	// position.
    	// We could intersect all the possible matches at each position, but we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 18:35:22 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top