| /frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/ |
| ext.kt | 20 private class LazyExt<K, T>(private val initializer: (k : K) -> T) : ReadOnlyProperty<K, T> { 27 val result = initializer(thisRef) 33 private class VersionedLazyExt<K, T>(private val initializer: (k : K) -> T) : ReadOnlyProperty<K, T> { 42 val result = initializer(thisRef) 50 fun <K, T> lazyProp(initializer: (k : K) -> T): ReadOnlyProperty<K, T> = LazyExt(initializer) 51 fun <K, T> versionedLazy(initializer: (k : K) -> T): ReadOnlyProperty<K, T> = VersionedLazyExt(initializer)
|
| /prebuilts/go/darwin-x86/test/fixedbugs/ |
| bug316.go | 13 r = real(c) // was: const initializer must be constant 14 i = imag(c) // was: const initializer must be constant
|
| /prebuilts/go/linux-x86/test/fixedbugs/ |
| bug316.go | 13 r = real(c) // was: const initializer must be constant 14 i = imag(c) // was: const initializer must be constant
|
| /external/mockito/src/test/java/org/mockito/internal/configuration/plugins/ |
| PluginLoaderTest.java | 26 @Mock PluginInitializer initializer; field in class:PluginLoaderTest 32 when(initializer.loadImpl(FooPlugin.class)).thenReturn(new FooPlugin()); 43 willReturn(null).given(initializer).loadImpl(FooPlugin.class); 45 willReturn(expected).given(initializer).loadImpl(BarPlugin.class); 56 willReturn(null).given(initializer).loadImpl(FooPlugin.class); 57 willReturn(null).given(initializer).loadImpl(BarPlugin.class); 71 when(initializer.loadImpl(Foo.class)).thenThrow(cause);
|
| /external/tensorflow/tensorflow/python/training/ |
| checkpoint_ops_test.py | 44 initializer = init_ops.constant_initializer( 49 initializer=initializer) 79 del dtype, partition_info # Unused by this unit-testing initializer. 83 self.initializer = _init_val_initializer 101 initializer=self.initializer, 121 """Tests for the output layer initializer in the linear multi-class case.""" 133 initializer=self.initializer)) [all...] |
| /external/tensorflow/tensorflow/contrib/layers/python/layers/ |
| encoders.py | 36 initializer=None, 52 initializer: An initializer for the embeddings, if `None` default for 74 initializer=initializer, regularizer=regularizer, 95 initializer=None, 111 initializer: An initializer for the embeddings, if `None` default for 138 initializer=initializer, regularizer=regularizer [all...] |
| /external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/ |
| varma_test.py | 48 initializer = variables.global_variables_initializer() 50 sess.run([initializer]) 67 initializer = variables.global_variables_initializer() 69 sess.run([initializer]) 87 initializer = variables.global_variables_initializer() 89 sess.run([initializer])
|
| /external/clang/test/OpenMP/ |
| declare_reduction_messages.cpp | 24 #pragma omp declare reduction(fun : long : omp_out += omp_in) { // expected-warning {{extra tokens at the end of '#pragma omp declare reduction' are ignored}} expected-error {{expected 'initializer'}} 25 #pragma omp declare reduction(fun : unsigned : omp_out += ::temp)) // expected-warning {{extra tokens at the end of '#pragma omp declare reduction' are ignored}} expected-error {{expected 'initializer'}} expected-error {{only 'omp_in' or 'omp_out' variables are allowed in combiner expression}} 52 #pragma omp declare reduction(fun1 : long : omp_out += omp_in) initializer // expected-error {{expected '(' after 'initializer'}} 53 #pragma omp declare reduction(fun2 : long : omp_out += omp_in) initializer { // expected-error {{expected '(' after 'initializer'}} expected-error {{expected expression}} expected-warning {{extra tokens at the end of '#pragma omp declare reduction' are ignored}} 54 #pragma omp declare reduction(fun3 : long : omp_out += omp_in) initializer[ // expected-error {{expected '(' after 'initializer'}} expected-error {{expected expression}} expected-warning {{extra tokens at the end of '#pragma omp declare reduction' are ignored}} 55 #pragma omp declare reduction(fun4 : long : omp_out += omp_in) initializer() // expected-error {{expected expression}} 56 #pragma omp declare reduction(fun5 : long : omp_out += omp_in) initializer(temp) // expected-error {{only 'omp_priv' or 'omp_orig' variables are allow (…) [all...] |
| for_reduction_codegen_UDR.cpp | 32 #pragma omp declare reduction(operator& : BaseS1 : red(omp_out, omp_in)) initializer(init(omp_priv, omp_orig)) 33 #pragma omp declare reduction(+ : BaseS1 : red_plus(omp_out, omp_in)) initializer(init_plus(omp_priv, omp_orig)) 34 #pragma omp declare reduction(&& : S<float>, S<int> : omp_out.f *= omp_in.f) initializer(init1(omp_priv, omp_orig)) 54 #pragma omp declare reduction(operator+ : T : omp_out = 1513 + omp_in) initializer(omp_priv = 321) 55 #pragma omp declare reduction(min : T : omp_out = 47 - omp_in) initializer(omp_priv = 432 / omp_orig) 56 #pragma omp declare reduction(operator&& : S<T> : omp_out.f = 17 * omp_in.f) initializer(init2(omp_priv, omp_orig)) 78 #pragma omp declare reduction(operator+ : float, double : omp_out = 222 - omp_in) initializer(omp_priv = -1) 88 #pragma omp declare reduction(operator+ : int : omp_out = 555 * omp_in) initializer(omp_priv = 888) [all...] |
| /external/tensorflow/tensorflow/contrib/training/python/training/ |
| device_setter_test.py | 52 self.assertDeviceEqual("/job:ps/task:1", u.initializer.device) 54 self.assertDeviceEqual("/job:ps/task:0", v.initializer.device) 56 self.assertDeviceEqual("/job:ps/task:1", w.initializer.device) 58 self.assertDeviceEqual("/job:ps/task:1", x.initializer.device) 86 self.assertDeviceEqual("/job:ps/task:0", u.initializer.device) 88 self.assertDeviceEqual("/job:ps/task:1", v.initializer.device) 90 self.assertDeviceEqual("/job:ps/task:0", w.initializer.device) 92 self.assertDeviceEqual("/job:ps/task:1", x.initializer.device) 107 self.assertDeviceEqual("/job:ps/task:0", u.initializer.device) 109 self.assertDeviceEqual("/job:ps/task:1", v.initializer.device [all...] |
| /external/tensorflow/tensorflow/stream_executor/lib/ |
| initialize.h | 33 class Initializer { 36 explicit Initializer(InitializerFunc func) { func(); } 39 Dependency(const char *n, Initializer *i) : name(n), initializer(i) {} 41 Initializer *const initializer; member in struct:perftools::gputools::port::Initializer::Dependency 46 Initializer *initializer, 57 perftools::gputools::port::Initializer google_initializer_##type##_##name( \ 64 extern perftools::gputools::port::Initializer \ [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/CodeGen/ |
| ConstantInitFuture.h | 47 /// A "future" for a completed constant initializer, which can be passed 60 /// A future can be explicitly created from a fixed initializer. 61 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 62 assert(initializer && "creating null future"); 68 /// Return the type of the initializer. 71 /// Abandon this initializer. 74 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/CodeGen/ |
| ConstantInitFuture.h | 47 /// A "future" for a completed constant initializer, which can be passed 60 /// A future can be explicitly created from a fixed initializer. 61 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 62 assert(initializer && "creating null future"); 68 /// Return the type of the initializer. 71 /// Abandon this initializer. 74 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/CodeGen/ |
| ConstantInitFuture.h | 47 /// A "future" for a completed constant initializer, which can be passed 60 /// A future can be explicitly created from a fixed initializer. 61 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 62 assert(initializer && "creating null future"); 68 /// Return the type of the initializer. 71 /// Abandon this initializer. 74 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/CodeGen/ |
| ConstantInitFuture.h | 46 /// A "future" for a completed constant initializer, which can be passed 59 /// A future can be explicitly created from a fixed initializer. 60 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 61 assert(initializer && "creating null future"); 67 /// Return the type of the initializer. 70 /// Abandon this initializer. 73 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/CodeGen/ |
| ConstantInitFuture.h | 46 /// A "future" for a completed constant initializer, which can be passed 59 /// A future can be explicitly created from a fixed initializer. 60 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 61 assert(initializer && "creating null future"); 67 /// Return the type of the initializer. 70 /// Abandon this initializer. 73 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/CodeGen/ |
| ConstantInitFuture.h | 46 /// A "future" for a completed constant initializer, which can be passed 59 /// A future can be explicitly created from a fixed initializer. 60 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 61 assert(initializer && "creating null future"); 67 /// Return the type of the initializer. 70 /// Abandon this initializer. 73 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/CodeGen/ |
| ConstantInitFuture.h | 46 /// A "future" for a completed constant initializer, which can be passed 59 /// A future can be explicitly created from a fixed initializer. 60 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 61 assert(initializer && "creating null future"); 67 /// Return the type of the initializer. 70 /// Abandon this initializer. 73 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/CodeGen/ |
| ConstantInitFuture.h | 47 /// A "future" for a completed constant initializer, which can be passed 60 /// A future can be explicitly created from a fixed initializer. 61 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 62 assert(initializer && "creating null future"); 68 /// Return the type of the initializer. 71 /// Abandon this initializer. 74 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/linux-x86/clang-4393122/include/clang/CodeGen/ |
| ConstantInitFuture.h | 47 /// A "future" for a completed constant initializer, which can be passed 60 /// A future can be explicitly created from a fixed initializer. 61 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 62 assert(initializer && "creating null future"); 68 /// Return the type of the initializer. 71 /// Abandon this initializer. 74 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/linux-x86/clang-4479392/include/clang/CodeGen/ |
| ConstantInitFuture.h | 47 /// A "future" for a completed constant initializer, which can be passed 60 /// A future can be explicitly created from a fixed initializer. 61 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 62 assert(initializer && "creating null future"); 68 /// Return the type of the initializer. 71 /// Abandon this initializer. 74 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/linux-x86/clang-4579689/include/clang/CodeGen/ |
| ConstantInitFuture.h | 46 /// A "future" for a completed constant initializer, which can be passed 59 /// A future can be explicitly created from a fixed initializer. 60 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 61 assert(initializer && "creating null future"); 67 /// Return the type of the initializer. 70 /// Abandon this initializer. 73 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/linux-x86/clang-4630689/include/clang/CodeGen/ |
| ConstantInitFuture.h | 46 /// A "future" for a completed constant initializer, which can be passed 59 /// A future can be explicitly created from a fixed initializer. 60 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 61 assert(initializer && "creating null future"); 67 /// Return the type of the initializer. 70 /// Abandon this initializer. 73 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/linux-x86/clang-4639204/include/clang/CodeGen/ |
| ConstantInitFuture.h | 46 /// A "future" for a completed constant initializer, which can be passed 59 /// A future can be explicitly created from a fixed initializer. 60 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 61 assert(initializer && "creating null future"); 67 /// Return the type of the initializer. 70 /// Abandon this initializer. 73 /// Install the initializer into a global variable. This cannot
|
| /prebuilts/clang/host/linux-x86/clang-4691093/include/clang/CodeGen/ |
| ConstantInitFuture.h | 46 /// A "future" for a completed constant initializer, which can be passed 59 /// A future can be explicitly created from a fixed initializer. 60 explicit ConstantInitFuture(llvm::Constant *initializer) : Data(initializer) { 61 assert(initializer && "creating null future"); 67 /// Return the type of the initializer. 70 /// Abandon this initializer. 73 /// Install the initializer into a global variable. This cannot
|