/external/guava/guava-tests/test/com/google/common/cache/ |
D | AbstractLoadingCacheTest.java | 36 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 …]
|
D | LocalCacheTest.java | 519 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); in testComputePartiallyCollectedKey() local 520 entry.setValueReference(valueRef); in testComputePartiallyCollectedKey() 548 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); in testComputePartiallyCollectedValue() local 549 entry.setValueReference(valueRef); in testComputePartiallyCollectedValue() 557 valueRef.clear(); in testComputePartiallyCollectedValue() 757 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(null); in testSegmentRefresh_duplicate() local 758 valueRef.setLoading(true); in testSegmentRefresh_duplicate() 759 entry.setValueReference(valueRef); in testSegmentRefresh_duplicate() 1019 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testSegmentGetAndContains() local 1020 entry.setValueReference(valueRef); in testSegmentGetAndContains() [all …]
|
D | AbstractCacheTest.java | 38 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetIfPresent() local 42 return valueRef.get(); in testGetIfPresent() 49 valueRef.set(newValue); in testGetIfPresent()
|
D | CacheTesting.java | 68 ValueReference<K, V> valueRef = entry.getValueReference(); in simulateValueReclamation() local 70 Preconditions.checkState(valueRef instanceof Reference); in simulateValueReclamation() 71 Reference<V> ref = (Reference<V>) valueRef; in simulateValueReclamation()
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseCwiseUnaryOp.h | 53 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;
|
D | MappedSparseMatrix.h | 132 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]); }
|
D | SparseVector.h | 365 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)); }
|
D | SparseMatrix.h | 884 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/ |
D | ComputingConcurrentHashMapTest.java | 177 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testComputePartiallyCollectedKey() local 178 entry.setValueReference(valueRef); in testComputePartiallyCollectedKey() 206 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testComputePartiallyCollectedValue() local 207 entry.setValueReference(valueRef); in testComputePartiallyCollectedValue() 215 valueRef.clear(null); in testComputePartiallyCollectedValue()
|
D | MapMakerInternalMapTest.java | 503 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testSegmentGetAndContains() local 504 entry.setValueReference(valueRef); in testSegmentGetAndContains() 850 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testExpand() local 851 entry.setValueReference(valueRef); in testExpand() 986 ValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testExpand_cleanup() local 987 entry.setValueReference(valueRef); in testExpand_cleanup() 1106 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testReclaimValue() local 1107 entry.setValueReference(valueRef); in testReclaimValue() 1110 assertFalse(segment.reclaimValue(key, hash, valueRef)); in testReclaimValue() 1116 assertTrue(segment.reclaimValue(key, hash, valueRef)); in testReclaimValue() [all …]
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
D | IncompleteLU.h | 49 k_it.valueRef() /= diag(k); in compute() 58 j_it.valueRef() -= k_it.value() * kj_it.value(); in compute()
|
D | Scaling.h | 119 it.valueRef() = it.value()/( Dr(it.row()) * Dc(it.col()) ); in compute()
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
D | LMqrsolv.h | 156 itk.valueRef() = givens.c() * itk.value() + givens.s() * sdiag(k); in lmqrsolv() 167 itk.valueRef() = temp; in lmqrsolv()
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
D | SkylineInplaceLU.h | 133 lIt.valueRef() /= pivot; in compute() 147 uIt.valueRef() -= uItPivot.value() * coef; in compute()
|
D | SkylineMatrix.h | 763 inline Scalar& valueRef() { 826 inline Scalar& valueRef() {
|
/external/eigen/Eigen/src/OrderingMethods/ |
D | Ordering.h | 33 it.valueRef() = 0.0; in ordering_helper_at_plus_a()
|
/external/eigen/test/eigen2/ |
D | eigen2_sparse_product.cpp | 93 it.valueRef() *= 0.5; in sparse_product()
|
/external/eigen/Eigen/src/SparseLU/ |
D | SparseLU_SupernodalMatrix.h | 203 inline Scalar& valueRef() { return const_cast<Scalar&>(m_matrix.valuePtr()[m_idval]); } in valueRef() function
|
/external/eigen/test/ |
D | sparse_product.cpp | 198 it.valueRef() *= 0.5; in sparse_product()
|
/external/eigen/Eigen/src/PaStiXSupport/ |
D | PaStiXSupport.h | 509 it.valueRef() = 0.0;
|
/external/eigen/doc/ |
D | TutorialSparse.dox | 184 For a writable expression, the referenced value can be modified using the valueRef() function.
|