- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 214 for kell (0.01 sec)
-
android/guava/src/com/google/common/cache/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableTable.java
checkNotNull(cell.getValue(), "value"); @SuppressWarnings("unchecked") // all supported methods are covariant Cell<R, C, V> immutableCell = (Cell<R, C, V>) cell; cells.add(immutableCell); } else { put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); } return this; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
return Maps.transformValues(fromTable.column(columnKey), function); } Cell<R, C, V2> applyToValue(Cell<R, C, V1> cell) { return immutableCell(cell.getRowKey(), cell.getColumnKey(), function.apply(cell.getValue())); } @Override Iterator<Cell<R, C, V2>> cellIterator() { return Iterators.transform(fromTable.cellSet().iterator(), this::applyToValue); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
int[] cellColumnInRowIndices = 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(); V value = cell.getValue(); /* * These requireNonNull calls are safe because we construct the maps to hold all the provided * cells. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableTable.java
this.singleRowKey = checkNotNull(rowKey); this.singleColumnKey = checkNotNull(columnKey); this.singleValue = checkNotNull(value); } SingletonImmutableTable(Cell<R, C, V> cell) { this(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); } @Override public ImmutableMap<R, V> column(C columnKey) { checkNotNull(columnKey); return containsColumn(columnKey)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 2.4K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0) -
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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/TableCollectors.java
ImmutableTableCollectorState<R, C, V> combine( ImmutableTableCollectorState<R, C, V> other, BinaryOperator<V> merger) { for (MutableCell<R, C, V> cell : other.insertionOrder) { put(cell.getRowKey(), cell.getColumnKey(), cell.getValue(), merger); } return this; } ImmutableTable<R, C, V> toTable() { return ImmutableTable.copyOf(insertionOrder); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Table.java
* * @since 7.0 */ interface Cell< R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object> { /** Returns the row key of this cell. */ @ParametricNullness R getRowKey(); /** Returns the column key of this cell. */ @ParametricNullness C getColumnKey(); /** Returns the value of this cell. */ @ParametricNullness V getValue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
*/ @Override public Set<Cell<R, C, @Nullable V>> cellSet() { return super.cellSet(); } @Override Iterator<Cell<R, C, @Nullable V>> cellIterator() { return new AbstractIndexedListIterator<Cell<R, C, @Nullable V>>(size()) { @Override protected Cell<R, C, @Nullable V> get(int index) { return getCell(index); } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0)