/external/tensorflow/tensorflow/core/lib/monitoring/ |
H A D | gauge_test.cc | 32 auto* cell = gauge_with_labels->GetCell("GetCellOp"); local 33 EXPECT_EQ(0, cell->value()); 35 cell->Set(1); 36 EXPECT_EQ(1, cell->value()); 42 EXPECT_EQ(10, cell->value()); 54 auto* cell = gauge_without_labels->GetCell(); local 55 EXPECT_EQ(0, cell->value()); 57 cell->Set(1); 58 EXPECT_EQ(1, cell->value()); 64 EXPECT_EQ(10, cell 76 auto* cell = string_gauge->GetCell(); local 98 auto* cell = bool_gauge->GetCell(); local [all...] |
H A D | sampler_test.cc | 47 auto* cell = sampler_with_labels->GetCell("BucketBoundaries"); local 49 cell->Add(-1.0); 51 cell->Add(10.0); 53 cell->Add(20.0); 55 cell->Add(31.0); 58 EqHistograms(expected, cell->value()); 79 auto* cell = sampler_without_labels->GetCell(); local 80 cell->Add(-1.0); 82 cell->Add(2.0); 84 cell 99 auto* cell = sampler_with_exponential->GetCell("BucketBoundaries"); local [all...] |
H A D | counter_test.cc | 33 auto* cell = counter_with_labels->GetCell("GetCellOp"); local 34 EXPECT_EQ(0, cell->value()); 36 cell->IncrementBy(42); 37 EXPECT_EQ(42, cell->value()); 43 EXPECT_EQ(100, cell->value()); 65 auto* cell = counter_without_labels->GetCell(); local 66 EXPECT_EQ(0, cell->value()); 68 cell->IncrementBy(42); 69 EXPECT_EQ(42, cell->value()); 75 EXPECT_EQ(100, cell [all...] |
/external/autotest/frontend/client/src/autotest/common/spreadsheet/ |
H A D | SpreadsheetSelectionManager.java | 30 public void toggleSelected(CellInfo cell) { argument 31 if (selectedCells.contains(cell)) { 32 deselectCell(cell); 33 notifyDeselected(Utils.wrapObjectWithList(cell)); 35 selectCell(cell); 36 notifySelected(Utils.wrapObjectWithList(cell)); 40 private void selectCell(CellInfo cell) { argument 41 selectedCells.add(cell); 42 spreadsheet.setHighlighted(cell, true); 45 private void deselectCell(CellInfo cell) { argument [all...] |
/external/gemmlowp/internal/ |
H A D | pack_msa.h | 89 for (int cell = 0; cell < kCells; cell += 2) { 92 src_lines_intertwined_4x[2 * (cell + 1) + outer][inner]), 94 src_lines_intertwined_4x[2 * cell + outer][inner])); 98 for (int cell = 0; cell < kCells; cell += 2) { 101 src_lines_intertwined_4x[2 * (cell + 1) + outer][inner]), 103 src_lines_intertwined_4x[2 * cell [all...] |
H A D | pack_neon.h | 77 for (int cell = 0; cell < kCells; cell++) { 79 src_lines_intertwined_4x[2 * cell + outer].val[inner]); 83 for (int cell = 0; cell < kCells; cell++) { 85 src_lines_intertwined_4x[2 * cell + outer].val[inner]); 96 for (int cell = 0; cell < kCell [all...] |
/external/python/cpython2/Lib/ctypes/test/ |
H A D | test_incomplete.py | 12 lpcell = POINTER("cell") 13 class cell(Structure): class in function:MyTestCase.test_incomplete_example 17 SetPointerType(lpcell, cell) 19 c1 = cell() 21 c2 = cell() 37 del _pointer_type_cache[cell]
|
/external/toolchain-utils/cros_utils/ |
H A D | tabulator.py | 228 def _Literal(self, cell, values, baseline_values): 229 cell.value = ' '.join([str(v) for v in values]) 231 def _ComputeFloat(self, cell, values, baseline_values): 232 self._Literal(cell, values, baseline_values) 234 def _ComputeString(self, cell, values, baseline_values): 235 self._Literal(cell, values, baseline_values) 237 def _InvertIfLowerIsBetter(self, cell): 251 def Compute(self, cell, values, baseline_values): 255 cell: A cell dat [all...] |
H A D | tabulator_test.py | 21 cell = tabulator.Cell() 22 result.Compute(cell, table[2], table[1]) 24 self.assertTrue(cell.value == expected) 27 cell = tabulator.Cell() 28 result.Compute(cell, table[2], table[1]) 29 self.assertTrue(cell.value == float(table[2][0])) 33 cell = tabulator.Cell() 36 smr.Compute(cell, values, None) 37 self.assertTrue(cell.value == value) 39 smr.Compute(cell, value [all...] |
/external/autotest/frontend/client/src/autotest/common/table/ |
H A D | TableRenderer.java | 15 private static final String NONCLICKABLE_CLASS = "spreadsheet-cell-nonclickable"; 31 for (CellInfo cell : row) { 32 if (cell == null && renderNull) { 34 } else if (cell != null) { 36 if (cell.cssClass != null) { 37 tdAttributes += attributeString("class", cell.cssClass); 39 if (cell.rowSpan > 1) { 40 tdAttributes += attributeString("rowspan", Integer.toString(cell.rowSpan)); 42 if (cell.colSpan > 1) { 43 tdAttributes += attributeString("colspan", Integer.toString(cell [all...] |
H A D | TableClickWidget.java | 14 private int cell; field in class:TableClickWidget 21 int row, int cell) { 24 this.cell = cell; 40 return cell; 20 TableClickWidget(FocusWidget widget, TableWidgetClickListener listener, int row, int cell) argument
|
/external/python/cpython3/Lib/ctypes/test/ |
H A D | test_incomplete.py | 12 lpcell = POINTER("cell") 13 class cell(Structure): class in function:MyTestCase.test_incomplete_example 17 SetPointerType(lpcell, cell) 19 c1 = cell() 21 c2 = cell() 37 del _pointer_type_cache[cell]
|
/external/libchrome/base/trace_event/ |
H A D | heap_profiler_allocation_register.h | 73 Cell* cell = *p_cell; local 74 if (cell) { 75 return {static_cast<KVIndex>(cell - cells_), false}; // not inserted 78 // Get a free cell and link it. 79 cell = GetFreeCell(); 80 if (!cell) { 87 *p_cell = cell; 88 cell->p_prev = p_cell; 89 cell->next = nullptr; 93 new (&cell 101 Cell* cell = &cells_[index]; local 116 Cell* cell = *Lookup(key); local 195 Cell* cell = free_list_; local [all...] |
/external/valgrind/memcheck/tests/ |
H A D | leak-pool.c | 9 struct cell struct 11 struct cell *next; 92 struct cell *cells_static[N]; 97 struct cell *cells_local[N]; 101 struct cell **cells = static_roots ? cells_static : cells_local; 114 cells[i] = allocate_from_pool(p, sizeof(struct cell)); 119 p->buf+(10 * sizeof(struct cell)), 120 20 * sizeof(struct cell) + 2);
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/ |
H A D | Table_Suite.py | 18 class cell(aetools.ComponentItem): class in inherits:aetools.ComponentItem 19 """cell - A cell """ 22 """formula - the formula of the cell """ 26 """protection - Indicates whether value or formula in the cell can be changed """ 30 cells = cell 53 cell._superclassnames = [] 54 cell._privpropdict = { 58 cell._privelemdict = { 87 'ccel' : cell, [all...] |
/external/python/cpython2/Demo/tkinter/guido/ |
H A D | ss1.py | 35 self.cells = {} # {(x, y): cell, ...} 38 m.cell = self.cellvalue 43 cell = self.getcell(x, y) 44 if hasattr(cell, 'recalc'): 45 return cell.recalc(self.rexec) 47 return cell 63 def setcell(self, x, y, cell): 65 assert isinstance(cell, BaseCell) 66 self.cells[x, y] = cell 102 cell [all...] |
/external/python/cpython3/Tools/demo/ |
H A D | ss1.py | 38 self.cells = {} # {(x, y): cell, ...} 40 cell = self.cellvalue, 46 cell = self.getcell(x, y) 47 if hasattr(cell, 'recalc'): 48 return cell.recalc(self.ns) 50 return cell 66 def setcell(self, x, y, cell): 68 assert isinstance(cell, BaseCell) 69 self.cells[x, y] = cell 105 cell [all...] |
/external/autotest/client/cros/cellular/ |
H A D | forward_8960_screen | 53 <div>8960 in test cell <strong>%(cell)s</strong></div> 66 [cell] = sys.argv[1:] 68 print 'Usage: %s [cell-name]' % sys.argv[0] 75 c = labconfig.Configuration(['--cell=%s' % (cell)]) 77 basestation_ip = c.cell['basestations'][0]['bs_addresses'][0] 78 bastion_ip = c.cell['perfserver']['address'] 102 'cell': cell}) [all...] |
H A D | labconfig_write_stanzas | 6 DOCS="""Print DHCP and /etc/hosts stanzas for hosts in a specified cell.""" 51 [cell] = sys.argv[1:] 52 if cell not in labconfig_data.CELLS: 53 usage('Could not find cell %s\n' % cell) 56 find_names(f.Visit, labconfig_data.CELLS[cell])
|
H A D | labconfig.py | 45 This includes things like the address of the cell emulator device 60 parser.add_option('--cell', dest='cell', default=None, 61 help='Cellular test cell to use') 67 self.cell = self._get_cell(self.options.cell) 70 """Extracts the named cell from labconfig_data.CELLS.""" 73 'Could not find --cell argument. ' + 74 'To specify a cell, pass --args=--cell [all...] |
/external/jemalloc/src/ |
H A D | ckh.c | 49 * Search bucket for key and return the cell number if found; SIZE_T_MAX 55 ckhc_t *cell; local 59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; 60 if (cell->key != NULL && ckh->keycomp(key, cell->key)) 68 * Search table for key and return cell number if found; SIZE_T_MAX otherwise. 73 size_t hashes[2], bucket, cell; local 81 cell = ckh_bucket_search(ckh, bucket, key); 82 if (cell != SIZE_T_MAX) 83 return (cell); 95 ckhc_t *cell; local 129 ckhc_t *cell; local 487 size_t cell; local 518 size_t cell; local [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/ |
H A D | recurrent.py | 41 """Wrapper allowing a stack of RNN cells to behave as a single cell. 46 cells: List of RNN cell instances. 63 for cell in cells: 64 if not hasattr(cell, 'call'): 67 if not hasattr(cell, 'state_size'): 77 # in reverse order of the cell stack. 84 for cell in self.cells[::-1]: 85 if hasattr(cell.state_size, '__len__'): 86 state_size += list(cell.state_size) 88 state_size.append(cell [all...] |
/external/trappy/tests/trappy/nbexport/ |
H A D | exporter.py | 47 def preprocess_cell(self, cell, resources, cell_index): 48 """Check if cell has text/html output and filter it""" 50 if cell.cell_type == 'code' and hasattr(cell, "outputs"): 51 for output in cell.outputs: 56 return cell, resources
|
/external/trappy/trappy/nbexport/ |
H A D | exporter.py | 47 def preprocess_cell(self, cell, resources, cell_index): 48 """Check if cell has text/html output and filter it""" 50 if cell.cell_type == 'code' and hasattr(cell, "outputs"): 51 for output in cell.outputs: 56 return cell, resources
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | AbstractTable.java | 101 for (Table.Cell<? extends R, ? extends C, ? extends V> cell : table.cellSet()) { 102 put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); 124 Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o; 125 Map<C, V> row = Maps.safeGet(rowMap(), cell.getRowKey()); 127 row.entrySet(), Maps.immutableEntry(cell.getColumnKey(), cell.getValue())); 135 Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o; 136 Map<C, V> row = Maps.safeGet(rowMap(), cell [all...] |