Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 587 for cell (0.23 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableTable.java

          Iterable<Cell<R, C, V>> cells,
          @CheckForNull Comparator<? super R> rowComparator,
          @CheckForNull Comparator<? super C> columnComparator) {
        Set<R> rowSpaceBuilder = new LinkedHashSet<>();
        Set<C> columnSpaceBuilder = new LinkedHashSet<>();
        ImmutableList<Cell<R, C, V>> cellList = ImmutableList.copyOf(cells);
        for (Cell<R, C, V> cell : cells) {
          rowSpaceBuilder.add(cell.getRowKey());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractTable.java

        for (Table.Cell<? extends R, ? extends C, ? extends V> cell : table.cellSet()) {
          put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
        }
      }
    
      @LazyInit @CheckForNull private transient Set<Cell<R, C, V>> cellSet;
    
      @Override
      public Set<Cell<R, C, V>> cellSet() {
        Set<Cell<R, C, V>> result = cellSet;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SparseImmutableTable.java

        for (int i = 0; i < cellList.size(); i++) {
          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          V value = cell.getValue();
    
          /*
           * These requireNonNull calls are safe because we construct the maps to hold all the provided
           * cells.
           */
          cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TablesTest.java

      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        SerializableTester.reserializeAndAssert(entry);
      }
    
      public void testImmutableEntryToString() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        assertEquals("(foo,1)=a", entry.toString());
    
        Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TableCollectors.java

                    valueFunction.apply(input),
                    mergeFunction),
            (table1, table2) -> {
              for (Table.Cell<R, C, V> cell2 : table2.cellSet()) {
                mergeTables(
                    table1, cell2.getRowKey(), cell2.getColumnKey(), cell2.getValue(), mergeFunction);
              }
              return table1;
            });
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LongAdder.java

      public LongAdder() {}
    
      /**
       * Adds the given value.
       *
       * @param x the value to add
       */
      @Override
      public void add(long x) {
        Cell[] as;
        long b, v;
        int[] hc;
        Cell a;
        int n;
        if ((as = cells) != null || !casBase(b = base, b + x)) {
          boolean uncontended = true;
          if ((hc = threadHashCode.get()) == null
              || as == null
              || (n = as.length) < 1
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TablesTest.java

      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        SerializableTester.reserializeAndAssert(entry);
      }
    
      public void testImmutableEntryToString() {
        Cell<String, Integer, Character> entry = Tables.immutableCell("foo", 1, 'a');
        assertEquals("(foo,1)=a", entry.toString());
    
        Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/table/writer.go

    type Cell struct {
    	Value      string
    	Attributes []color.Attribute
    }
    
    type Row struct {
    	Cells []Cell
    }
    
    func NewCell(value string, attributes ...color.Attribute) Cell {
    	attrs := append([]color.Attribute{}, attributes...)
    	return Cell{value, attrs}
    }
    
    func (cell Cell) String() string {
    	if len(cell.Attributes) == 0 {
    		return cell.Value
    	}
    	s := color.New(cell.Attributes...)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental_reader.cc

      return result;
    }
    
    int64_t TFE_MonitoringReadCounter0(TFE_MonitoringCounterReader* cell_reader) {
      int64_t result = cell_reader->Read();
    
      return result;
    }
    
    int64_t TFE_MonitoringReadCounter1(TFE_MonitoringCounterReader* cell_reader,
                                       const char* label) {
      int64_t result = cell_reader->Read(label);
    
      return result;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractTable.java

        for (Table.Cell<? extends R, ? extends C, ? extends V> cell : table.cellSet()) {
          put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
        }
      }
    
      @LazyInit @CheckForNull private transient Set<Cell<R, C, V>> cellSet;
    
      @Override
      public Set<Cell<R, C, V>> cellSet() {
        Set<Cell<R, C, V>> result = cellSet;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 6.5K bytes
    - Viewed (0)
Back to top