HomeSort by relevance Sort by last modified time
    Searched refs:Singleton (Results 126 - 150 of 179) sorted by null

1 2 3 4 56 7 8

  /external/guava/guava-testlib/test/com/google/common/testing/
ClassSanityTesterTest.java     [all...]
  /external/guice/core/test/com/google/inject/
DuplicateBindingsTest.java 98 new ScopedModule(Scopes.SINGLETON, foo, pFoo, pclFoo, clFoo, cFoo),
99 new ScopedModule(Scopes.SINGLETON, foo, pFoo, pclFoo, clFoo, cFoo));
108 new AnnotatedScopeModule(Singleton.class, foo, pFoo, pclFoo, clFoo, cFoo),
109 new AnnotatedScopeModule(Singleton.class, foo, pFoo, pclFoo, clFoo, cFoo));
114 new ScopedModule(Scopes.SINGLETON, foo, pFoo, pclFoo, clFoo, cFoo),
115 new AnnotatedScopeModule(Singleton.class, foo, pFoo, pclFoo, clFoo, cFoo));
128 new ScopedModule(Scopes.SINGLETON, foo, pFoo, pclFoo, clFoo, cFoo));
PerformanceComparison.java 286 @Singleton
BindingTest.java 81 bind(Object.class).to(Runnable.class).in(Scopes.SINGLETON);
95 .in(Scopes.SINGLETON);
103 bind(Bar.class).in(Scopes.SINGLETON);
362 final Key<Object> s = Key.get(Object.class, named("S")); // singleton
372 bind(s).toConstructor(constructor).in(Singleton.class);
511 @Singleton
JitBindingsTest.java 774 @Singleton
820 @Singleton
InjectorTest.java 56 final SampleSingleton singleton = new SampleSingleton(); local
64 bind(SampleSingleton.class).toInstance(singleton);
69 assertSame(singleton, injector.getInstance(Key.get(SampleSingleton.class)));
70 assertSame(singleton, injector.getInstance(SampleSingleton.class));
162 @Singleton
ParentInjectorTest.java 132 bindScope(MyScope.class, Scopes.SINGLETON);
252 bindScope(MyScope.class, Scopes.SINGLETON);
277 bindScope(MyScope.class, Scopes.SINGLETON);
302 @Singleton
  /external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
FactoryModuleBuilderTest.java 33 import com.google.inject.Singleton;
623 + Singleton.class.getName()
641 @Singleton
  /external/guice/core/test/com/google/inject/spi/
ElementsTest.java 38 import com.google.inject.Singleton;
611 bind(List.class).to(ArrayList.class).in(Scopes.SINGLETON);
612 bind(Map.class).to(HashMap.class).in(Singleton.class);
638 assertEquals(Scopes.SINGLETON, scope);
653 assertEquals(Singleton.class, annotation);
683 b.in(Singleton.class);
    [all...]
SpiBindingsTest.java 35 import com.google.inject.Singleton;
311 .in(Singleton.class);
315 .in(Scopes.SINGLETON);
332 assertSame(Scopes.SINGLETON, scope);
347 assertSame(Scopes.SINGLETON, scope);
  /build/soong/java/
android_resources.go 99 func OverlaySingletonFactory() android.Singleton {
jdeps.go 25 // This singleton generates android java dependency into to a json file. It does so for each
33 func jDepsGeneratorSingleton() android.Singleton {
41 // Environment variables used to modify behavior of this singleton.
gen.go 135 func LogtagsSingleton() android.Singleton {
hiddenapi_singleton.go 33 // hiddenAPISingletonPaths creates all the paths for singleton files the first time it is called, which may be
34 // from a ModuleContext that needs to reference a file that will be created by a singleton rule that hasn't
46 func hiddenAPISingletonFactory() android.Singleton {
54 // hiddenAPI singleton rules
173 // Singleton rule which applies hiddenapi on all boot class path dex files.
sdk.go 199 func sdkPreSingletonFactory() android.Singleton {
228 func sdkSingletonFactory() android.Singleton {
  /external/guice/extensions/mini/src/com/google/inject/mini/
MiniGuice.java 65 * <li>{@code @Provides} methods annotated {@code @Singleton}.
66 * <li>Constructor-injected classes annotated {@code @Singleton}.
171 boolean singleton = method.isAnnotationPresent(javax.inject.Singleton.class);
172 putBinding(key, unscoped, singleton);
270 boolean singleton = type.isAnnotationPresent(javax.inject.Singleton.class);
271 putBinding(new Key(type, null), unscoped, singleton);
274 private void putBinding(Key key, Provider<Object> provider, boolean singleton) {
275 if (singleton) {
    [all...]
  /external/tensorflow/tensorflow/contrib/verbs/
rdma.cc     [all...]
rdma.h 196 static RdmaMemoryMgr& Singleton() {
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_mutex.cc 167 atomic_uintptr_t *singleton = (atomic_uintptr_t *)param; local
169 int *val = (int *)atomic_load(singleton, memory_order_acquire);
170 __tsan_acquire(singleton);
177 TEST(DISABLED_BENCH_ThreadSanitizer, Singleton) {
186 // Create the singleton.
189 atomic_uintptr_t singleton; local
190 __tsan_release(&singleton);
191 atomic_store(&singleton, (uintptr_t)&val, memory_order_release);
195 pthread_create(&threads[t], 0, singleton_thread, &singleton);
  /external/libchrome/ipc/
ipc_logging.cc 83 return base::Singleton<Logging>::get();
  /frameworks/av/services/oboeservice/
AAudioEndpointManager.cpp 40 : Singleton<AAudioEndpointManager>()
AAudioServiceEndpointMMAP.cpp 26 #include <utils/Singleton.h>
  /build/soong/apex/
key.go 161 func apexKeysTextFactory() android.Singleton {
  /external/autotest/server/
site_utils.py 80 class Singleton(type):
87 cls._instances[cls] = super(Singleton, cls).__call__(
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/gpu/
cudnn_conv_algorithm_picker.cc 327 tensorflow::Logger::Singleton()->LogProto(log);

Completed in 1034 milliseconds

1 2 3 4 56 7 8