- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,046 for cell (0.04 sec)
-
guava/src/com/google/common/hash/Striped64.java
boolean collide = false; // True if last slot nonempty for (; ; ) { Cell[] as; Cell a; int n; long v; if ((as = cells) != null && (n = as.length) > 0) { if ((a = as[(n - 1) & h]) == null) { if (busy == 0) { // Try to attach new Cell Cell r = new Cell(x); // Optimistically create if (busy == 0 && casBusy()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 11.5K bytes - Viewed (0) -
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());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.1K bytes - Viewed (0) -
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...)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 06 09:43:25 UTC 2024 - 2.7K bytes - Viewed (0) -
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));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 5.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
return context->GetContextId(); } void TFE_MonitoringCounterCellIncrementBy(TFE_MonitoringCounterCell* cell, int64_t value) { cell->cell.IncrementBy(value); } int64_t TFE_MonitoringCounterCellValue(TFE_MonitoringCounterCell* cell) { return cell->cell.value(); } TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 35.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TablesTest.java
public void testImmutableEntrySerialization() { Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a'); SerializableTester.reserializeAndAssert(entry); } public void testImmutableEntryToString() { Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a'); assertEquals("(foo,1)=a", entry.toString()); Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/DenseImmutableTable.java
int[] cellRowIndices = new int[cellList.size()]; int[] cellColumnIndices = new int[cellList.size()]; for (int i = 0; i < cellList.size(); i++) { Cell<R, C, V> cell = cellList.get(i); R rowKey = cell.getRowKey(); C columnKey = cell.getColumnKey(); // The requireNonNull calls are safe because we construct the indexes with indexMap. int rowIndex = requireNonNull(rowKeyToIndex.get(rowKey));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 10.1K bytes - Viewed (0) -
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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 5.5K bytes - Viewed (0)