/third_party/protobuf/python/google/protobuf/internal/ |
H A D | encoder.py | 446 def EncodePackedField(write, value, deterministic): 451 local_EncodeVarint(write, size, deterministic) 453 encode_value(write, element, deterministic) 457 def EncodeRepeatedField(write, value, deterministic): 460 encode_value(write, element, deterministic) 464 def EncodeField(write, value, deterministic): 466 return encode_value(write, value, deterministic) 480 def EncodePackedField(write, value, deterministic): 485 local_EncodeVarint(write, size, deterministic) 487 encode_value(write, modify_value(element), deterministic) [all...] |
H A D | python_message.py | 1110 def InternalSerialize(self, write_bytes, deterministic=None): 1111 if deterministic is None: 1112 deterministic = ( 1115 deterministic = bool(deterministic) 1121 write_bytes, self.key, deterministic) 1123 write_bytes, self.value, deterministic) 1126 field_descriptor._encoder(write_bytes, field_value, deterministic)
|
H A D | well_known_types.py | 73 deterministic=None): 79 self.value = msg.SerializeToString(deterministic=deterministic)
|
H A D | well_known_types_test.py | 1006 msg.Pack(submessage, deterministic=True) 1007 serialized = msg.SerializeToString(deterministic=True)
|
H A D | message_test.py | 190 golden_message.SerializeToString(deterministic=None)) 192 golden_message.SerializeToString(deterministic=False)) 194 golden_message.SerializeToString(deterministic=True)) 208 golden_message.SerializeToString(deterministic=BadArg()) 2327 # If deterministic serialization is not working correctly, this will be 2333 self.assertEqual(golden_data, msg.SerializeToString(deterministic=True))
|
/third_party/node/test/parallel/ |
H A D | test-crypto-async-sign-verify.js | 15 deterministic, 47 if (deterministic) {
|
/third_party/python/Modules/_sqlite/clinic/ |
H A D | connection.c.h | 307 "create_function($self, /, name, narg, func, *, deterministic=False)\n" 319 int deterministic); 325 static const char * const _keywords[] = {"name", "narg", "func", "deterministic", NULL}; in pysqlite_connection_create_function() 332 int deterministic = 0; in pysqlite_connection_create_function() local 359 deterministic = PyObject_IsTrue(args[3]); in pysqlite_connection_create_function() 360 if (deterministic < 0) { in pysqlite_connection_create_function() 364 return_value = pysqlite_connection_create_function_impl(self, cls, name, narg, func, deterministic); in pysqlite_connection_create_function()
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | coded_stream.h | 657 EpsCopyOutputStream(ZeroCopyOutputStream* stream, bool deterministic, in EpsCopyOutputStream() argument 661 is_serialization_deterministic_(deterministic) { in EpsCopyOutputStream() 668 EpsCopyOutputStream(void* data, int size, bool deterministic) in EpsCopyOutputStream() argument 672 is_serialization_deterministic_(deterministic) {} in EpsCopyOutputStream() 676 bool deterministic, uint8** pp) in EpsCopyOutputStream() 677 : stream_(stream), is_serialization_deterministic_(deterministic) { in EpsCopyOutputStream() 1214 // What deterministic serialization means is entirely up to the driver of the 1235 // Return whether the user wants deterministic serialization. See above. 1260 // buffer serializations will be deterministic by default. Thread safe. 1262 // that wants deterministic serializatio 675 EpsCopyOutputStream(void* data, int size, ZeroCopyOutputStream* stream, bool deterministic, uint8** pp) EpsCopyOutputStream() argument [all...] |
/third_party/python/Lib/test/test_sqlite3/ |
H A D | test_userfunctions.py | 387 # Regarding deterministic functions: 389 # Between 3.8.3 and 3.15.0, deterministic functions were only used to 392 # deterministic functions were permitted in WHERE clauses of partial 397 self.con.create_function("nondeterministic", 0, mock, deterministic=False) 408 self.con.create_function("deterministic", 0, mock, deterministic=True) 410 self.con.execute("select deterministic() = deterministic()") 414 self.con.execute("create index t on test(t) where deterministic() is not null") 421 self.con.create_function("deterministic", [all...] |
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | message.cc | 1694 // Parse the "deterministic" kwarg; defaults to False. in InternalSerializeToString() 1695 static char* kwlist[] = { "deterministic", 0 }; in InternalSerializeToString() 1703 // NOTE: This is unused later if deterministic == Py_None, but that's fine. in InternalSerializeToString() 1704 int deterministic = PyObject_IsTrue(deterministic_obj); in InternalSerializeToString() local 1705 if (deterministic < 0) { in InternalSerializeToString() 1769 coded_out.SetSerializationDeterministic(deterministic); in InternalSerializeToString()
|
/third_party/python/Modules/_sqlite/ |
H A D | connection.c | 995 deterministic: bool = False 1004 int deterministic) in pysqlite_connection_create_function_impl() 1014 if (deterministic) { in pysqlite_connection_create_function_impl() 1017 "deterministic=True requires SQLite 3.8.3 or higher"); in pysqlite_connection_create_function_impl() 1022 "deterministic=True requires SQLite 3.8.3 or higher"); in pysqlite_connection_create_function_impl() 1001 pysqlite_connection_create_function_impl(pysqlite_Connection *self, PyTypeObject *cls, const char *name, int narg, PyObject *func, int deterministic) pysqlite_connection_create_function_impl() argument
|