Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 435 for row (0.02 sec)

  1. callbacks/row.go

    Cr <******@****.***> 1675834841 +0800
    Registered: 2024-06-12 16:27
    - Last Modified: 2023-02-08 05:40
    - 581 bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/table.go

    	j := len(s)
    	for j > i && isTableSpace(s[j-1]) {
    		j--
    	}
    	return s[i:j]
    }
    
    func tableTrimOuter(row string) tableTrimmed {
    	row = tableTrimSpace(row)
    	if len(row) > 0 && row[0] == '|' {
    		row = row[1:]
    	}
    	if len(row) > 0 && row[len(row)-1] == '|' {
    		row = row[:len(row)-1]
    	}
    	return tableTrimmed(row)
    }
    
    func isTableStart(hdr1, delim1 string) bool {
    	// Scan potential delimiter string, counting columns.
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-01-24 13:01
    - 5.4K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/text/StyledTableTest.groovy

            """.stripIndent(true).trim()
        }
    
        def "fails when header and row sizes differ"() {
            given:
            def header = ["a"]
            def rows = [
                new StyledTable.Row(["b"], StyledTextOutput.Style.Normal),
                new StyledTable.Row(["c"], StyledTextOutput.Style.Normal),
                new StyledTable.Row(["d", "oops a mistake"], StyledTextOutput.Style.Normal)
            ]
    
            when:
    Registered: 2024-06-12 18:38
    - Last Modified: 2022-02-25 00:22
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/CursorTest.groovy

            Cursor cursor = Cursor.newBottomLeft()
    
            then:
            cursor.row == 0
            cursor.col == 0
        }
    
        def "create a cursor at (#row, #col) when using factory method 'at'"() {
            when:
            Cursor cursor = Cursor.at(row, col)
    
            then:
            cursor.row == row
            cursor.col == col
    
            where:
            row << ROWS
            col << COLS
        }
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-22 09:05
    - 2.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

            // Note: the next row has a lower index.
            if (writeCursor.row > 0) {
                writeCursor.row--;
            } else {
                writeCursor.row = 0;
            }
            cursor.copyFrom(writeCursor);
        }
    
        private void positionCursorAt(Cursor position, Ansi ansi) {
            if (writeCursor.row == position.row) {
                if (writeCursor.col == position.col) {
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-22 09:05
    - 7.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/Cursor.java

            }
    
            Cursor rhs = (Cursor) obj;
            return col == rhs.col && row == rhs.row;
        }
    
        @Override
        public int hashCode() {
            return Objects.hashCode(col, row);
        }
    
        @Override
        public String toString() {
            return MoreObjects.toStringHelper(this.getClass())
                .add("row", row)
                .add("col", col)
                .toString();
        }
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-28 13:09
    - 2.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractTable.java

        for (Map<C, V> row : rowMap().values()) {
          if (row.containsValue(value)) {
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
        Map<C, V> row = Maps.safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      @CheckForNull
    Registered: 2024-06-12 16:38
    - Last Modified: 2021-07-15 15:41
    - 6.5K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/lib/lib-grid.libsonnet

      '#makeGrid':: d.func.new(
        |||
          `makeGrid` returns an array of `panels` organized in a grid with equal width
          and `panelHeight`. Row panels are used as "linebreaks", if a Row panel is collapsed,
          then all panels below it will be folded into the row.
    
          Optional `startY` can be provided to place generated grid above or below existing panels.
        |||,
        args=[
          d.arg('panels', d.T.array),
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-06-04 18:05
    - 2.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

     *
     * <p>The allowed row and column keys must be supplied when the table is created. The table always
     * contains a mapping for every row key / column pair. The value corresponding to a given row and
     * column is null unless another value is provided.
     *
     * <p>The table's size is constant: the product of the number of supplied row keys and the number of
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-02-22 21:19
    - 26.9K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/table/writer.go

    )
    
    type ColoredTableWriter struct {
    	writer     io.Writer
    	header     Row
    	rows       []Row
    	addRowFunc func(obj interface{}) Row
    }
    
    func NewStyleWriter(writer io.Writer) *ColoredTableWriter {
    	return &ColoredTableWriter{
    		writer: writer,
    		rows:   make([]Row, 0),
    		header: Row{},
    	}
    }
    
    type BuildRowFunc func(obj interface{}) Row
    
    type Cell struct {
    	Value      string
    	Attributes []color.Attribute
    }
    Registered: 2024-06-14 15:00
    - Last Modified: 2022-10-08 04:41
    - 2.8K bytes
    - Viewed (0)
Back to top