Home
last modified time | relevance | path

Searched refs:targetSource (Results 1 – 25 of 39) sorted by relevance

12

/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context/src/test/java/org/springframework/aop/target/
H A DCommonsPoolTargetSourceTests.java135 targetSource.setMaxSize(maxSize); in testHitMaxSize()
136 targetSource.setMaxWait(1); in testHitMaxSize()
137 prepareTargetSource(targetSource); in testHitMaxSize()
142 Object instance = targetSource.getTarget(); in testHitMaxSize()
149 targetSource.getTarget(); in testHitMaxSize()
158 pooledInstances[9] = targetSource.getTarget(); in testHitMaxSize()
171 int maxSize = targetSource.getMaxSize(); in testHitMaxSizeLoadedFromContext()
175 Object instance = targetSource.getTarget(); in testHitMaxSizeLoadedFromContext()
182 targetSource.getTarget(); in testHitMaxSizeLoadedFromContext()
191 pooledInstances[9] = targetSource.getTarget(); in testHitMaxSizeLoadedFromContext()
[all …]
/dports/devel/dragon/dragon-1.5.5/src/
H A DMain.cc58 Chain targetSource("c++"); in main() local
85 targetSource = Chain(opt.getArg()); in main()
104 if ( targetSource != Chain("c++") in main()
105 && targetSource != Chain("java") in main()
106 && targetSource != Chain("golang") in main()
109 Chain msg = Chain("Target source ") + targetSource + Chain(" not supported"); in main()
129 if ( targetSource == Chain("c++") ) in main()
134 else if ( targetSource == Chain("java") ) in main()
139 else if ( targetSource == Chain("golang") ) in main()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.aop/src/main/java/org/springframework/aop/framework/
H A DProxyFactory.java82 public ProxyFactory(Class proxyInterface, TargetSource targetSource) { in ProxyFactory() argument
84 setTargetSource(targetSource); in ProxyFactory()
140 public static <T> T getProxy(Class<T> proxyInterface, TargetSource targetSource) { in getProxy() argument
141 return (T) new ProxyFactory(proxyInterface, targetSource).getProxy(); in getProxy()
150 public static Object getProxy(TargetSource targetSource) { in getProxy() argument
151 if (targetSource.getTargetClass() == null) { in getProxy()
155 proxyFactory.setTargetSource(targetSource); in getProxy()
H A DAdvisedSupport.java76 TargetSource targetSource = EMPTY_TARGET_SOURCE; field in AdvisedSupport
140 public void setTargetSource(TargetSource targetSource) { in setTargetSource() argument
141 this.targetSource = (targetSource != null ? targetSource : EMPTY_TARGET_SOURCE); in setTargetSource()
145 return this.targetSource; in getTargetSource()
162 this.targetSource = EmptyTargetSource.forClass(targetClass); in setTargetClass()
166 return this.targetSource.getTargetClass(); in getTargetClass()
502 copyConfigurationFrom(other, other.targetSource, new ArrayList<Advisor>(other.advisors)); in copyConfigurationFrom()
512 …protected void copyConfigurationFrom(AdvisedSupport other, TargetSource targetSource, List<Advisor… in copyConfigurationFrom() argument
514 this.targetSource = targetSource; in copyConfigurationFrom()
535 copy.targetSource = EmptyTargetSource.forClass(getTargetClass(), getTargetSource().isStatic()); in getConfigurationOnlyCopy()
[all …]
H A DJdkDynamicAopProxy.java153 TargetSource targetSource = this.advised.targetSource; in invoke() local
182 target = targetSource.getTarget(); in invoke()
216 if (target != null && !targetSource.isStatic()) { in invoke()
218 targetSource.releaseTarget(target); in invoke()
H A DCglib2AopProxy.java420 private final TargetSource targetSource; field in Cglib2AopProxy.DynamicUnadvisedInterceptor
422 public DynamicUnadvisedInterceptor(TargetSource targetSource) { in DynamicUnadvisedInterceptor() argument
423 this.targetSource = targetSource; in DynamicUnadvisedInterceptor()
427 Object target = this.targetSource.getTarget(); in intercept()
433 this.targetSource.releaseTarget(target); in intercept()
444 private final TargetSource targetSource; field in Cglib2AopProxy.DynamicUnadvisedExposedInterceptor
446 public DynamicUnadvisedExposedInterceptor(TargetSource targetSource) { in DynamicUnadvisedExposedInterceptor() argument
447 this.targetSource = targetSource; in DynamicUnadvisedExposedInterceptor()
452 Object target = this.targetSource.getTarget(); in intercept()
460 this.targetSource.releaseTarget(target); in intercept()
H A DProxyFactoryBean.java305 this.targetSource = freshTargetSource(); in getSingletonInstance()
337 TargetSource targetSource = freshTargetSource(); in newPrototypeInstance() local
338 copy.copyConfigurationFrom(this, targetSource, freshAdvisorChain()); in newPrototypeInstance()
342 ClassUtils.getAllInterfacesForClass(targetSource.getTargetClass(), this.proxyClassLoader)); in newPrototypeInstance()
372 if (this.targetName == null && this.targetSource == EMPTY_TARGET_SOURCE) { in checkInterceptorNames()
429 this.targetName == null && this.targetSource == EMPTY_TARGET_SOURCE) { in initializeAdvisorChain()
561 return this.targetSource; in freshTargetSource()
H A DAbstractSingletonProxyFactoryBean.java162 TargetSource targetSource = createTargetSource(this.target); in afterPropertiesSet() local
163 proxyFactory.setTargetSource(targetSource); in afterPropertiesSet()
171 ClassUtils.getAllInterfacesForClass(targetSource.getTargetClass(), this.proxyClassLoader)); in afterPropertiesSet()
H A DAopProxyUtils.java59 TargetSource targetSource = ((Advised) current).getTargetSource(); in ultimateTargetClass() local
60 if (targetSource instanceof SingletonTargetSource) { in ultimateTargetClass()
61 nested = ((SingletonTargetSource) targetSource).getTarget(); in ultimateTargetClass()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context/src/main/java/org/springframework/jndi/
H A DJndiObjectFactoryBean.java278 JndiObjectTargetSource targetSource = new JndiObjectTargetSource(); in createJndiObjectProxy() local
279 targetSource.setJndiTemplate(jof.getJndiTemplate()); in createJndiObjectProxy()
280 targetSource.setJndiName(jof.getJndiName()); in createJndiObjectProxy()
281 targetSource.setExpectedType(jof.getExpectedType()); in createJndiObjectProxy()
282 targetSource.setResourceRef(jof.isResourceRef()); in createJndiObjectProxy()
283 targetSource.setLookupOnStartup(jof.lookupOnStartup); in createJndiObjectProxy()
284 targetSource.setCache(jof.cache); in createJndiObjectProxy()
285 targetSource.afterPropertiesSet(); in createJndiObjectProxy()
293 Class targetClass = targetSource.getTargetClass(); in createJndiObjectProxy()
308 proxyFactory.setTargetSource(targetSource); in createJndiObjectProxy()
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKCore/GDModel/
H A DGDMSourceRecord.cs152 GDMSourceRecord targetSource = targetRecord as GDMSourceRecord; in MoveTo()
153 if (targetSource == null) in MoveTo()
161 titl.Text = (targetSource.Title.Lines.Text + "\n" + Title.Lines.Text).Trim(); in MoveTo()
162 orig.Text = (targetSource.Originator.Lines.Text + "\n" + Originator.Lines.Text).Trim(); in MoveTo()
163 … publ.Text = (targetSource.Publication.Lines.Text + "\n" + Publication.Lines.Text).Trim(); in MoveTo()
164 text.Text = (targetSource.Text.Lines.Text + "\n" + Text.Lines.Text).Trim(); in MoveTo()
168 targetSource.Title.Lines.Assign(titl); in MoveTo()
169 targetSource.Originator.Lines.Assign(orig); in MoveTo()
170 targetSource.Publication.Lines.Assign(publ); in MoveTo()
171 targetSource.Text.Lines.Assign(text); in MoveTo()
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/analysis/processing/
H A Dqgsalgorithmdistancewithin.cpp35 …tanceWithinAlgorithm::process( const QgsProcessingContext &context, QgsFeatureSource *targetSource, in process() argument
63 if ( targetSource->sourceCrs() != referenceSource->sourceCrs() ) in process()
72 targetSource->wkbType() != QgsWkbTypes::Point ) in process()
80 if ( targetSource->featureCount() < referenceSource->featureCount() ) in process()
90 processByIteratingOverTargetSource( context, targetSource, referenceSource, in process()
96 processByIteratingOverReferenceSource( context, targetSource, referenceSource, in process()
102 …ssByIteratingOverTargetSource( const QgsProcessingContext &context, QgsFeatureSource *targetSource, in processByIteratingOverTargetSource() argument
119 QgsFeatureIterator fIt = targetSource->getFeatures( request ); in processByIteratingOverTargetSource()
120 const double step = targetSource->featureCount() > 0 ? 100.0 / targetSource->featureCount() : 1; in processByIteratingOverTargetSource()
162 if ( targetSource->hasSpatialIndex() == QgsFeatureSource::SpatialIndexNotPresent ) in processByIteratingOverReferenceSource()
[all …]
H A Dqgsalgorithmextractbylocation.cpp77 …cationBasedAlgorithm::process( const QgsProcessingContext &context, QgsFeatureSource *targetSource, in process() argument
85 if ( targetSource->featureCount() > 0 && intersectSource->featureCount() > 0 in process()
86 && targetSource->featureCount() < intersectSource->featureCount() ) in process()
89 processByIteratingOverTargetSource( context, targetSource, intersectSource, in process()
101 processByIteratingOverIntersectSource( context, targetSource, intersectSource, in process()
122 QgsFeatureIterator fIt = targetSource->getFeatures( request ); in processByIteratingOverTargetSource()
123 double step = targetSource->featureCount() > 0 ? 100.0 / targetSource->featureCount() : 1; in processByIteratingOverTargetSource()
217 if ( targetSource->hasSpatialIndex() == QgsFeatureSource::SpatialIndexNotPresent ) in processByIteratingOverIntersectSource()
232 disjointSet = targetSource->allFeatureIds(); in processByIteratingOverIntersectSource()
256 QgsFeatureIterator testFeatureIt = targetSource->getFeatures( request ); in processByIteratingOverIntersectSource()
[all …]
H A Dqgsalgorithmdistancewithin.h39 void process( const QgsProcessingContext &context, QgsFeatureSource *targetSource,
47 …rTargetSource( const QgsProcessingContext &context, QgsFeatureSource *targetSource, QgsFeatureSour…
51 …ferenceSource( const QgsProcessingContext &context, QgsFeatureSource *targetSource, QgsFeatureSour…
H A Dqgsalgorithmextractbylocation.h53 …void process( const QgsProcessingContext &context, QgsFeatureSource *targetSource, QgsFeatureSourc…
58 …rTargetSource( const QgsProcessingContext &context, QgsFeatureSource *targetSource, QgsFeatureSour…
59 …tersectSource( const QgsProcessingContext &context, QgsFeatureSource *targetSource, QgsFeatureSour…
/dports/graphics/qgis-ltr/qgis-3.16.16/src/analysis/processing/
H A Dqgsalgorithmextractbylocation.cpp77 …cationBasedAlgorithm::process( const QgsProcessingContext &context, QgsFeatureSource *targetSource, in process() argument
85 if ( targetSource->featureCount() > 0 && intersectSource->featureCount() > 0 in process()
86 && targetSource->featureCount() < intersectSource->featureCount() ) in process()
89 processByIteratingOverTargetSource( context, targetSource, intersectSource, in process()
101 processByIteratingOverIntersectSource( context, targetSource, intersectSource, in process()
122 QgsFeatureIterator fIt = targetSource->getFeatures( request ); in processByIteratingOverTargetSource()
123 double step = targetSource->featureCount() > 0 ? 100.0 / targetSource->featureCount() : 1; in processByIteratingOverTargetSource()
217 if ( targetSource->hasSpatialIndex() == QgsFeatureSource::SpatialIndexNotPresent ) in processByIteratingOverIntersectSource()
232 disjointSet = targetSource->allFeatureIds(); in processByIteratingOverIntersectSource()
256 QgsFeatureIterator testFeatureIt = targetSource->getFeatures( request ); in processByIteratingOverIntersectSource()
[all …]
H A Dqgsalgorithmextractbylocation.h53 …void process( const QgsProcessingContext &context, QgsFeatureSource *targetSource, QgsFeatureSourc…
58 …rTargetSource( const QgsProcessingContext &context, QgsFeatureSource *targetSource, QgsFeatureSour…
59 …tersectSource( const QgsProcessingContext &context, QgsFeatureSource *targetSource, QgsFeatureSour…
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.aop/src/main/java/org/springframework/aop/framework/autoproxy/target/
H A DAbstractBeanFactoryBasedTargetSourceCreator.java90 AbstractBeanFactoryBasedTargetSource targetSource = in getTargetSource() local
92 if (targetSource == null) { in getTargetSource()
97 logger.debug("Configuring AbstractBeanFactoryBasedTargetSource: " + targetSource); in getTargetSource()
113 targetSource.setTargetBeanName(beanName); in getTargetSource()
114 targetSource.setBeanFactory(internalBeanFactory); in getTargetSource()
116 return targetSource; in getTargetSource()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.aop/src/test/java/org/springframework/aop/target/
H A DLazyCreationTargetSourceTests.java34 TargetSource targetSource = new AbstractLazyCreationTargetSource() { in testCreateLazy() local
43 InitCountingBean proxy = (InitCountingBean) ProxyFactory.getProxy(targetSource); in testCreateLazy()
45 assertEquals("Target class incorrect", InitCountingBean.class, targetSource.getTargetClass()); in testCreateLazy()
/dports/mail/horde-turba/turba-4.2.25/lib/View/
H A DBrowse.php134 $targetSource = $vars->get('targetAddressbook');
137 $targetDriver = $factory->create($targetSource);
149 …d to create more than %d contacts in \"%s\"."), $max_contacts, $cfgSources[$targetSource]['title'])
275 list($targetSource, $targetKey) = explode(':', $targetKey, 2);
276 if (!isset($cfgSources[$targetSource])) {
281 $targetDriver = $factory->create($targetSource);
294 $targetSource = $vars->get('targetAddressbook');
296 $targetDriver = $factory->create($targetSource);
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/gles/
H A DSubGeometry.cpp39 osgAnimation::MorphGeometry::MorphTargetList::const_iterator targetSource; in SubGeometry() local
40 …for(targetSource = morphTargetList.begin() ; targetSource != morphTargetList.end() ; ++ targetSour… in SubGeometry()
41 if(targetSource->getGeometry()) { in SubGeometry()
43 addSourceBuffers(target, *targetSource->getGeometry()); in SubGeometry()
44 morph->addMorphTarget(target, targetSource->getWeight()); in SubGeometry()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context/src/main/java/org/springframework/jmx/export/
H A DMBeanExporter.java676 LazyInitTargetSource targetSource = new LazyInitTargetSource(); in registerLazyInit() local
677 targetSource.setTargetBeanName(beanName); in registerLazyInit()
678 targetSource.setBeanFactory(this.beanFactory); in registerLazyInit()
679 proxyFactory.setTargetSource(targetSource); in registerLazyInit()
693 …NotificationPublisherAwareLazyTargetSource targetSource = new NotificationPublisherAwareLazyTarget… in registerLazyInit() local
694 targetSource.setTargetBeanName(beanName); in registerLazyInit()
695 targetSource.setBeanFactory(this.beanFactory); in registerLazyInit()
696 proxyFactory.setTargetSource(targetSource); in registerLazyInit()
705 targetSource.setModelMBean(mbean); in registerLazyInit()
706 targetSource.setObjectName(objectName); in registerLazyInit()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.aop/src/main/java/org/springframework/aop/framework/autoproxy/
H A DAbstractAutoProxyCreator.java287 TargetSource targetSource = getCustomTargetSource(beanClass, beanName); in postProcessBeforeInstantiation() local
288 if (targetSource != null) { in postProcessBeforeInstantiation()
290 Object[] specificInterceptors = getAdvicesAndAdvisorsForBean(beanClass, beanName, targetSource); in postProcessBeforeInstantiation()
291 Object proxy = createProxy(beanClass, beanName, specificInterceptors, targetSource); in postProcessBeforeInstantiation()
449 Class<?> beanClass, String beanName, Object[] specificInterceptors, TargetSource targetSource) { in createProxy() argument
469 proxyFactory.setTargetSource(targetSource); in createProxy()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context/src/test/java/org/springframework/scripting/config/
H A DScriptingDefaultsTests.java45 AbstractRefreshableTargetSource targetSource = in testDefaultRefreshCheckDelay() local
49 long delay = ((Long) field.get(targetSource)).longValue(); in testDefaultRefreshCheckDelay()
/dports/devel/kcachegrind/kcachegrind-21.12.3/libcore/
H A Dfixcost.cpp165 TraceFunctionSource* targetSource, in FixJump() argument
175 _targetSource = targetSource; in FixJump()

12