Home
last modified time | relevance | path

Searched refs:valueRef (Results 1 – 21 of 21) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DAbstractLoadingCacheTest.java36 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetUnchecked_checked() local
40 Object v = valueRef.get(); in testGetUnchecked_checked()
49 return valueRef.get(); in testGetUnchecked_checked()
61 valueRef.set(newValue); in testGetUnchecked_checked()
67 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetUnchecked_unchecked() local
71 Object v = valueRef.get(); in testGetUnchecked_unchecked()
80 return valueRef.get(); in testGetUnchecked_unchecked()
92 valueRef.set(newValue); in testGetUnchecked_unchecked()
98 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetUnchecked_error() local
102 Object v = valueRef.get(); in testGetUnchecked_error()
[all …]
DLocalCacheTest.java485 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testComputePartiallyCollectedKey() local
486 entry.setValueReference(valueRef); in testComputePartiallyCollectedKey()
514 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testComputePartiallyCollectedValue() local
515 entry.setValueReference(valueRef); in testComputePartiallyCollectedValue()
523 valueRef.clear(); in testComputePartiallyCollectedValue()
713 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(null, entry); in testSegmentRefresh_duplicate() local
714 valueRef.setLoading(true); in testSegmentRefresh_duplicate()
715 entry.setValueReference(valueRef); in testSegmentRefresh_duplicate()
975 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testSegmentGetAndContains() local
976 entry.setValueReference(valueRef); in testSegmentGetAndContains()
[all …]
DAbstractCacheTest.java38 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetAllPresent() local
42 return valueRef.get(); in testGetAllPresent()
55 valueRef.set(newValue); in testGetAllPresent()
DCacheTesting.java67 ValueReference<K, V> valueRef = entry.getValueReference(); in simulateValueReclamation() local
69 Preconditions.checkState(valueRef instanceof Reference); in simulateValueReclamation()
70 Reference<V> ref = (Reference<V>) valueRef; in simulateValueReclamation()
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseUnaryOp.h53 typename CwiseUnaryOpImpl::Scalar& valueRef();
76 typename CwiseUnaryOpImpl::Scalar& valueRef();
113 …EN_STRONG_INLINE typename CwiseUnaryViewImpl::Scalar& valueRef() { return m_functor(Base::valueRef in valueRef() function
135 …EN_STRONG_INLINE typename CwiseUnaryViewImpl::Scalar& valueRef() { return m_functor(Base::valueRef in valueRef() function
147 i.valueRef() *= other;
157 i.valueRef() /= other;
DMappedSparseMatrix.h132 inline Scalar& valueRef() { return const_cast<Scalar&>(m_matrix.valuePtr()[m_id]); }
163 inline Scalar& valueRef() { return const_cast<Scalar&>(m_matrix.valuePtr()[m_id-1]); }
DSparseVector.h365 inline Scalar& valueRef() { return const_cast<Scalar&>(m_data.value(m_id)); }
397 inline Scalar& valueRef() { return const_cast<Scalar&>(m_data.value(m_id-1)); }
DSparseMatrix.h884 inline Scalar& valueRef() { return const_cast<Scalar&>(m_values[m_id]); }
917 inline Scalar& valueRef() { return const_cast<Scalar&>(m_values[m_id-1]); }
/external/guava/guava-tests/test/com/google/common/collect/
DComputingConcurrentHashMapTest.java181 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testComputePartiallyCollectedKey() local
182 entry.setValueReference(valueRef); in testComputePartiallyCollectedKey()
210 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testComputePartiallyCollectedValue() local
211 entry.setValueReference(valueRef); in testComputePartiallyCollectedValue()
219 valueRef.clear(null); in testComputePartiallyCollectedValue()
DMapMakerInternalMapTest.java529 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testSegmentGetAndContains() local
530 entry.setValueReference(valueRef); in testSegmentGetAndContains()
876 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testExpand() local
877 entry.setValueReference(valueRef); in testExpand()
1012 ValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testExpand_cleanup() local
1013 entry.setValueReference(valueRef); in testExpand_cleanup()
1132 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testReclaimValue() local
1133 entry.setValueReference(valueRef); in testReclaimValue()
1136 assertFalse(segment.reclaimValue(key, hash, valueRef)); in testReclaimValue()
1142 assertTrue(segment.reclaimValue(key, hash, valueRef)); in testReclaimValue()
[all …]
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DIncompleteLU.h49 k_it.valueRef() /= diag(k); in compute()
58 j_it.valueRef() -= k_it.value() * kj_it.value(); in compute()
DScaling.h119 it.valueRef() = it.value()/( Dr(it.row()) * Dc(it.col()) ); in compute()
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLMqrsolv.h156 itk.valueRef() = givens.c() * itk.value() + givens.s() * sdiag(k); in lmqrsolv()
167 itk.valueRef() = temp; in lmqrsolv()
/external/eigen/Eigen/src/OrderingMethods/
DOrdering.h33 it.valueRef() = 0.0; in ordering_helper_at_plus_a()
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineInplaceLU.h133 lIt.valueRef() /= pivot; in compute()
147 uIt.valueRef() -= uItPivot.value() * coef; in compute()
DSkylineMatrix.h763 inline Scalar& valueRef() {
826 inline Scalar& valueRef() {
/external/eigen/test/eigen2/
Deigen2_sparse_product.cpp93 it.valueRef() *= 0.5; in sparse_product()
/external/eigen/Eigen/src/SparseLU/
DSparseLU_SupernodalMatrix.h203 inline Scalar& valueRef() { return const_cast<Scalar&>(m_matrix.valuePtr()[m_idval]); } in valueRef() function
/external/eigen/test/
Dsparse_product.cpp198 it.valueRef() *= 0.5; in sparse_product()
/external/eigen/Eigen/src/PaStiXSupport/
DPaStiXSupport.h509 it.valueRef() = 0.0;
/external/eigen/doc/
DTutorialSparse.dox184 For a writable expression, the referenced value can be modified using the valueRef() function.