Home
last modified time | relevance | path

Searched refs:to_serialize (Results 1 – 25 of 45) sorted by relevance

12

/dports/databases/p5-DBIx-Class/DBIx-Class-0.082842/lib/DBIx/Class/
H A DResultSourceHandle.pm84 my $to_serialize = { %$self };
86 delete $to_serialize->{schema};
87 delete $to_serialize->{_detached_source};
88 $to_serialize->{_frozen_from_class} = $self->{schema}
93 Storable::nfreeze($to_serialize);
/dports/databases/p5-DBIx-Class/DBIx-Class-0.082842/lib/DBIx/Class/Serialize/
H A DStorable.pm16 my $to_serialize = { %$self };
19 delete $to_serialize->{$_} for qw/related_resultsets _inflated_column/;
21 return (Storable::nfreeze($to_serialize));
/dports/games/pioneer/pioneer-20210723/src/lua/
H A DLuaSerializer.cpp54 void LuaSerializer::pickle(lua_State *l, int to_serialize, std::string &out, std::string key) in pickle() argument
67 to_serialize = lua_absindex(l, to_serialize); in pickle()
68 int idx = to_serialize; in pickle()
130 lua_pushinteger(l, lua_Integer(lua_topointer(l, to_serialize))); // ptr in pickle()
146 lua_pushvalue(l, to_serialize); // ptr reftable nil ptr table in pickle()
189 …if (idx != lua_absindex(l, to_serialize)) // It means we called a transformation function on the d… in pickle()
329 void LuaSerializer::pickle_json(lua_State *l, int to_serialize, Json &out, const std::string &key) in pickle_json() argument
340 to_serialize = lua_absindex(l, to_serialize); in pickle_json()
341 int idx = to_serialize; in pickle_json()
401 lua_Integer ptr = lua_Integer(lua_topointer(l, to_serialize)); in pickle_json()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/swarming_client/third_party/oauth2client/
H A Dservice_account.py114 def _to_json(self, strip, to_serialize=None): argument
131 if to_serialize is None:
132 to_serialize = copy.copy(self.__dict__)
133 pkcs12_val = to_serialize.get(_PKCS12_KEY)
135 to_serialize[_PKCS12_KEY] = base64.b64encode(pkcs12_val)
137 strip, to_serialize=to_serialize)
H A Dclient.py260 def _to_json(self, strip, to_serialize=None): argument
275 if to_serialize is None:
276 to_serialize = copy.copy(self.__dict__)
278 if member in to_serialize:
279 del to_serialize[member]
280 to_serialize['token_expiry'] = _parse_expiry(
281 to_serialize.get('token_expiry'))
283 to_serialize['_class'] = curr_type.__name__
285 for key, val in to_serialize.items():
289 to_serialize[key] = list(val)
[all …]
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/oauth2client/oauth2client/
H A Dservice_account.py118 def _to_json(self, strip, to_serialize=None): argument
135 if to_serialize is None:
136 to_serialize = copy.copy(self.__dict__)
137 pkcs12_val = to_serialize.get(_PKCS12_KEY)
139 to_serialize[_PKCS12_KEY] = base64.b64encode(pkcs12_val)
141 strip, to_serialize=to_serialize)
H A Dclient.py241 def _to_json(self, strip, to_serialize=None): argument
256 if to_serialize is None:
257 to_serialize = copy.copy(self.__dict__)
260 to_serialize = copy.copy(to_serialize)
262 if member in to_serialize:
263 del to_serialize[member]
265 to_serialize.get('token_expiry'))
267 to_serialize['_class'] = curr_type.__name__
269 for key, val in to_serialize.items():
273 to_serialize[key] = list(val)
[all …]
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/bq/third_party/oauth2client_4_0/
H A Dservice_account.py119 def _to_json(self, strip, to_serialize=None): argument
136 if to_serialize is None:
137 to_serialize = copy.copy(self.__dict__)
138 pkcs12_val = to_serialize.get(_PKCS12_KEY)
140 to_serialize[_PKCS12_KEY] = base64.b64encode(pkcs12_val)
142 strip, to_serialize=to_serialize)
H A Dclient.py242 def _to_json(self, strip, to_serialize=None): argument
257 if to_serialize is None:
258 to_serialize = copy.copy(self.__dict__)
261 to_serialize = copy.copy(to_serialize)
263 if member in to_serialize:
264 del to_serialize[member]
266 to_serialize.get('token_expiry'))
268 to_serialize['_class'] = curr_type.__name__
270 for key, val in to_serialize.items():
274 to_serialize[key] = list(val)
[all …]
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/oauth2client/
H A Dservice_account.py119 def _to_json(self, strip, to_serialize=None): argument
136 if to_serialize is None:
137 to_serialize = copy.copy(self.__dict__)
138 pkcs12_val = to_serialize.get(_PKCS12_KEY)
140 to_serialize[_PKCS12_KEY] = base64.b64encode(pkcs12_val)
142 strip, to_serialize=to_serialize)
H A Dclient.py252 def _to_json(self, strip, to_serialize=None): argument
267 if to_serialize is None:
268 to_serialize = copy.copy(self.__dict__)
271 to_serialize = copy.copy(to_serialize)
273 if member in to_serialize:
274 del to_serialize[member]
276 to_serialize.get('token_expiry'))
278 to_serialize['_class'] = curr_type.__name__
280 for key, val in to_serialize.items():
284 to_serialize[key] = list(val)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
H A Dservice_account.py118 def _to_json(self, strip, to_serialize=None): argument
135 if to_serialize is None:
136 to_serialize = copy.copy(self.__dict__)
137 pkcs12_val = to_serialize.get(_PKCS12_KEY)
139 to_serialize[_PKCS12_KEY] = base64.b64encode(pkcs12_val)
141 strip, to_serialize=to_serialize)
H A Dclient.py241 def _to_json(self, strip, to_serialize=None): argument
256 if to_serialize is None:
257 to_serialize = copy.copy(self.__dict__)
260 to_serialize = copy.copy(to_serialize)
262 if member in to_serialize:
263 del to_serialize[member]
265 to_serialize.get('token_expiry'))
267 to_serialize['_class'] = curr_type.__name__
269 for key, val in to_serialize.items():
273 to_serialize[key] = list(val)
[all …]
/dports/security/py-oauth2client/oauth2client-4.1.3/oauth2client/
H A Dservice_account.py118 def _to_json(self, strip, to_serialize=None): argument
135 if to_serialize is None:
136 to_serialize = copy.copy(self.__dict__)
137 pkcs12_val = to_serialize.get(_PKCS12_KEY)
139 to_serialize[_PKCS12_KEY] = base64.b64encode(pkcs12_val)
141 strip, to_serialize=to_serialize)
H A Dclient.py241 def _to_json(self, strip, to_serialize=None): argument
256 if to_serialize is None:
257 to_serialize = copy.copy(self.__dict__)
260 to_serialize = copy.copy(to_serialize)
262 if member in to_serialize:
263 del to_serialize[member]
265 to_serialize.get('token_expiry'))
267 to_serialize['_class'] = curr_type.__name__
269 for key, val in to_serialize.items():
273 to_serialize[key] = list(val)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/oauth2client/oauth2client/
H A Dservice_account.py131 def _to_json(self, strip, to_serialize=None): argument
148 if to_serialize is None:
149 to_serialize = copy.copy(self.__dict__)
150 pkcs12_val = to_serialize.get(_PKCS12_KEY)
152 to_serialize[_PKCS12_KEY] = base64.b64encode(pkcs12_val)
154 strip, to_serialize=to_serialize)
H A Dclient.py255 def _to_json(self, strip, to_serialize=None): argument
270 if to_serialize is None:
271 to_serialize = copy.copy(self.__dict__)
274 to_serialize = copy.copy(to_serialize)
276 if member in to_serialize:
277 del to_serialize[member]
279 to_serialize.get('token_expiry'))
281 to_serialize['_class'] = curr_type.__name__
283 for key, val in to_serialize.items():
287 to_serialize[key] = list(val)
[all …]
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-google/cirq_google/serialization/
H A Dop_serializer_test.py444 to_serialize = cirq.CircuitOperation(default_circuit())
456 serializer.to_proto(to_serialize)
459 serializer.to_proto(to_serialize, constants=constants)
462 serializer.to_proto(to_serialize, raw_constants=raw_constants)
471 serializer.to_proto(to_serialize, constants=constants, raw_constants=bad_raw_constants)
482 to_serialize = cirq.CircuitOperation(
529 actual = serializer.to_proto(to_serialize, constants=constants, raw_constants=raw_constants)
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-google/cirq_google/serialization/
H A Dop_serializer_test.py444 to_serialize = cirq.CircuitOperation(default_circuit())
456 serializer.to_proto(to_serialize)
459 serializer.to_proto(to_serialize, constants=constants)
462 serializer.to_proto(to_serialize, raw_constants=raw_constants)
471 serializer.to_proto(to_serialize, constants=constants, raw_constants=bad_raw_constants)
482 to_serialize = cirq.CircuitOperation(
529 actual = serializer.to_proto(to_serialize, constants=constants, raw_constants=raw_constants)
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-google/cirq_google/serialization/
H A Dop_serializer_test.py444 to_serialize = cirq.CircuitOperation(default_circuit())
456 serializer.to_proto(to_serialize)
459 serializer.to_proto(to_serialize, constants=constants)
462 serializer.to_proto(to_serialize, raw_constants=raw_constants)
471 serializer.to_proto(to_serialize, constants=constants, raw_constants=bad_raw_constants)
482 to_serialize = cirq.CircuitOperation(
529 actual = serializer.to_proto(to_serialize, constants=constants, raw_constants=raw_constants)
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-google/cirq_google/serialization/
H A Dop_serializer_test.py444 to_serialize = cirq.CircuitOperation(default_circuit())
456 serializer.to_proto(to_serialize)
459 serializer.to_proto(to_serialize, constants=constants)
462 serializer.to_proto(to_serialize, raw_constants=raw_constants)
471 serializer.to_proto(to_serialize, constants=constants, raw_constants=bad_raw_constants)
482 to_serialize = cirq.CircuitOperation(
529 actual = serializer.to_proto(to_serialize, constants=constants, raw_constants=raw_constants)
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-google/cirq_google/serialization/
H A Dop_serializer_test.py458 to_serialize = cirq.CircuitOperation(default_circuit())
470 serializer.to_proto(to_serialize)
473 serializer.to_proto(to_serialize, constants=constants)
476 serializer.to_proto(to_serialize, raw_constants=raw_constants)
485 serializer.to_proto(to_serialize, constants=constants, raw_constants=bad_raw_constants)
496 to_serialize = cirq.CircuitOperation(
543 actual = serializer.to_proto(to_serialize, constants=constants, raw_constants=raw_constants)
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/py3lite/test/
H A Dstructs.py47 to_serialize = OptionalFile(name="/dev/null", type=8)
48 serialized = serialize_iobuf(to_serialize)
53 to_serialize = OptionalFile(name="/dev/null")
54 serialized = serialize_iobuf(to_serialize)
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/network/trust_tokens/test/
H A Dtrust_token_test_util.cc205 base::Value to_serialize(base::Value::Type::DICTIONARY); in WrapKeyCommitmentsForIssuers() local
215 to_serialize.SetKey(issuer.Serialize(), in WrapKeyCommitmentsForIssuers()
218 CHECK(serializer.Serialize(to_serialize)); in WrapKeyCommitmentsForIssuers()
/dports/devel/py-distributed/distributed-2021.11.2/distributed/
H A Dactor.py6 from .protocol import to_serialize
160 args=[to_serialize(arg) for arg in args],
161 kwargs={k: to_serialize(v) for k, v in kwargs.items()},

12