HomeSort by relevance Sort by last modified time
    Searched full:initial_value (Results 1 - 25 of 126) sorted by null

1 2 3 4 5 6

  /bionic/tests/
eventfd_test.cpp 38 unsigned int initial_value = 2; local
39 int fd = eventfd(initial_value, O_NONBLOCK);
44 ASSERT_EQ(initial_value, value);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ThreadLocalTest.java 60 final Object INITIAL_VALUE = "'foo'";
64 return INITIAL_VALUE;
68 assertTrue("ThreadLocal's initial value should be " + INITIAL_VALUE
69 + " but is " + l1.get(), l1.get() == INITIAL_VALUE);
96 + INITIAL_VALUE, THREADVALUE.result == INITIAL_VALUE);
158 final String INITIAL_VALUE = "'foo'";
160 final ThreadLocal<String> l1 = ThreadLocal.withInitial(() -> INITIAL_VALUE);
162 assertSame(INITIAL_VALUE, l1.get());
188 assertSame(INITIAL_VALUE, threadValue.get())
    [all...]
  /art/test/712-varhandle-invocations/util-src/
generate_java.py 149 "${var_type} field = ${initial_value}"
164 "${var_type} field = ${initial_value}"
179 "static ${var_type} field = ${initial_value}"
192 "static ${var_type} field = ${initial_value}"
207 "{ array[index] = ${initial_value}; }"
225 " VarHandleUnitTestHelpers.setBytesAs_${var_type}(array, index, ${initial_value}, ByteOrder.LITTLE_ENDIAN);"
247 " VarHandleUnitTestHelpers.setBytesAs_${var_type}(array, index, ${initial_value}, ByteOrder.BIG_ENDIAN);"
270 " VarHandleUnitTestHelpers.setBytesAs_${var_type}(bb, index, ${initial_value}, ByteOrder.LITTLE_ENDIAN);"
293 " VarHandleUnitTestHelpers.setBytesAs_${var_type}(bb, index, ${initial_value}, ByteOrder.BIG_ENDIAN);"
318 " VarHandleUnitTestHelpers.setBytesAs_${var_type}(bb, index, ${initial_value}, ByteOrder.LITTLE_ENDIAN);
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
SliderPreference.java 30 private final static int INITIAL_VALUE = 50;
32 private int mValue = INITIAL_VALUE;
98 int dValue = (int)ta.getInt(index, INITIAL_VALUE);
106 mValue = defaultValue != null ? (Integer)defaultValue : INITIAL_VALUE;
  /external/webrtc/webrtc/system_wrappers/source/
atomic32_mac.cc 21 Atomic32::Atomic32(int32_t initial_value)
22 : value_(initial_value) {
atomic32_posix.cc 21 Atomic32::Atomic32(int32_t initial_value)
22 : value_(initial_value) {
atomic32_win.cc 20 Atomic32::Atomic32(int32_t initial_value)
21 : value_(initial_value) {
  /external/tensorflow/tensorflow/python/ops/
resource_variable_ops.py 206 initial_value=None,
219 initial_value: A `Tensor`, or Python object convertible to a `Tensor`,
238 dtype: If set, initial_value will be converted to the given type.
239 If None, either the datatype will be kept (if initial_value is
266 if initial_value is not None:
267 raise ValueError("variable_def and initial_value are mutually "
275 initial_value=initial_value,
286 initial_value=None,
297 initial_value: A `Tensor`, or Python object convertible to a `Tensor`
602 def initial_value(self): member in class:ResourceVariable
    [all...]
variables.py 136 initial_value=None,
147 """Creates a new variable with value `initial_value`.
159 initial_value: A `Tensor`, or Python object convertible to a `Tensor`,
172 `initial_value` must be known.
184 dtype: If set, initial_value will be converted to the given type.
185 If `None`, either the datatype will be kept (if `initial_value` is
187 expected_shape: A TensorShape. If set, initial_value is expected
200 ValueError: If both `variable_def` and initial_value are specified.
219 if initial_value:
220 raise ValueError("variable_def and initial_value are mutually
569 def initial_value(self): member in class:Variable
    [all...]
  /system/update_engine/update_manager/
prng_unittest.cc 53 uint32_t initial_value = prng.Rand(); local
56 if (prng.Rand() != initial_value) {
  /external/python/cpython3/Lib/test/
test_uu.py 28 def __init__(self, initial_value="", encoding="utf-8",
36 if initial_value:
37 if not isinstance(initial_value, str):
38 initial_value = str(initial_value)
39 self.write(initial_value)
  /external/tensorflow/tensorflow/tools/api/golden/
tensorflow.-variable.pbtxt 27 name: "initial_value"
48 argspec: "args=[\'self\', \'initial_value\', \'trainable\', \'collections\', \'validate_shape\', \'caching_device\', \'name\', \'variable_def\', \'dtype\', \'expected_shape\', \'import_scope\', \'constraint\'], varargs=None, keywords=None, defaults=[\'None\', \'True\', \'None\', \'True\', \'None\', \'None\', \'None\', \'None\', \'None\', \'None\', \'None\'], "
  /external/python/cpython2/Lib/bsddb/test/
test_sequence.py 35 self.assertEqual(None, self.seq.initial_value(start_value))
75 self.seq.initial_value(seq_range[0])
108 self.assertEqual(None, self.seq.initial_value(value_plus-1))
117 self.assertEqual(None, self.seq.initial_value(value_minus))
  /prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/
test_sequence.py 35 self.assertEqual(None, self.seq.initial_value(start_value))
75 self.seq.initial_value(seq_range[0])
108 self.assertEqual(None, self.seq.initial_value(value_plus-1))
117 self.assertEqual(None, self.seq.initial_value(value_minus))
  /prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/
test_sequence.py 35 self.assertEqual(None, self.seq.initial_value(start_value))
75 self.seq.initial_value(seq_range[0])
108 self.assertEqual(None, self.seq.initial_value(value_plus-1))
117 self.assertEqual(None, self.seq.initial_value(value_minus))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_sequence.py 35 self.assertEqual(None, self.seq.initial_value(start_value))
75 self.seq.initial_value(seq_range[0])
108 self.assertEqual(None, self.seq.initial_value(value_plus-1))
117 self.assertEqual(None, self.seq.initial_value(value_minus))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_sequence.py 35 self.assertEqual(None, self.seq.initial_value(start_value))
75 self.seq.initial_value(seq_range[0])
108 self.assertEqual(None, self.seq.initial_value(value_plus-1))
117 self.assertEqual(None, self.seq.initial_value(value_minus))
  /external/tensorflow/tensorflow/python/kernel_tests/
resource_variable_ops_test.py 212 initial_value=lambda: 1, constraint=constraint, name="var0")
218 initial_value=lambda: 1, constraint=constraint, name="var1")
224 initial_value=lambda: 1, dtype=dtypes.float32)
251 initial_value=lambda: 1, dtype=dtypes.float32, name="var0")
256 v = resource_variable_ops.ResourceVariable(initial_value=lambda: 1,
290 initial_value=constant_op.constant(3.0)).to_proto()
438 name="var4", initial_value=array_ops.ones(shape=[10, 20, 35]))
453 v.initializer.run(feed_dict={v.initial_value: 3.0})
464 v = resource_variable_ops.ResourceVariable(initial_value=zero)
477 initial_value=init
    [all...]
  /external/tensorflow/tensorflow/python/framework/
graph_to_function_def.py 70 initial_value=None):
72 if initial_value is None:
75 input_dict = dict(initial_value)
175 initial_value=initial_dict)
  /external/webrtc/webrtc/system_wrappers/include/
atomic32.h 31 Atomic32(int32_t initial_value = 0);
  /external/python/cpython3/Modules/_io/clinic/
stringio.c.h 208 "StringIO(initial_value=\'\', newline=\'\\n\')\n"
213 "The initial_value argument sets the value of object. The newline\n"
224 static const char * const _keywords[] = {"initial_value", "newline", NULL};
  /external/tensorflow/tensorflow/compiler/tf2xla/
xla_resource.cc 30 const xla::ComputationDataHandle& initial_value,
38 value_(initial_value),
39 initial_value_(initial_value),
  /external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
level_trend.py 58 initial_value = array_ops.stack([
64 return initial_value + variable_scope.get_variable(
66 shape=initial_value.get_shape(),
  /external/protobuf/src/google/protobuf/
arenastring.h 288 const ::std::string* initial_value) {
290 if (initial_value != NULL) {
291 ptr_ = new ::std::string(*initial_value);
299 GOOGLE_ATTRIBUTE_NOINLINE void CreateInstanceNoArena(const ::std::string* initial_value) {
300 if (initial_value != NULL) {
301 ptr_ = new ::std::string(*initial_value);
  /external/tensorflow/tensorflow/contrib/framework/python/ops/
variables_test.py 439 self.assertEqual(a.initial_value.op.colocation_groups(),
442 self.assertEqual(b.initial_value.op.colocation_groups(),
445 self.assertEqual(c.initial_value.op.colocation_groups(),
448 self.assertEqual(d.initial_value.op.colocation_groups(),
451 self.assertDeviceEqual(e.initial_value.device, 'cpu:99')
466 self.assertEqual(a.initial_value.op.colocation_groups(),
469 self.assertEqual(b.initial_value.op.colocation_groups(),
472 self.assertEqual(c.initial_value.op.colocation_groups(),
475 self.assertEqual(d.initial_value.op.colocation_groups(),
478 self.assertDeviceEqual(e.initial_value.device, '/job:worker/cpu:99'
    [all...]

Completed in 567 milliseconds

1 2 3 4 5 6