Home
last modified time | relevance | path

Searched refs:available_resources (Results 1 – 15 of 15) sorted by relevance

/dports/net-im/profanity/profanity-0.11.1/src/xmpp/
H A Dcontact.c60 GHashTable* available_resources; member
96 contact->available_resources = g_hash_table_new_full(g_str_hash, g_str_equal, free, in p_contact_new()
149 gboolean result = g_hash_table_remove(contact->available_resources, resource); in p_contact_remove_resource()
174 g_hash_table_destroy(contact->available_resources); in p_contact_free()
270 GList* resources = g_hash_table_get_values(contact->available_resources); in _get_most_available_resource()
300 if (g_hash_table_size(contact->available_resources) == 0) { in p_contact_presence()
315 if (g_hash_table_size(contact->available_resources) == 0) { in p_contact_status()
347 return g_hash_table_lookup(contact->available_resources, resource); in p_contact_get_resource()
366 GList* resources = g_hash_table_get_values(contact->available_resources); in p_contact_get_available_resources()
385 if (g_hash_table_size(contact->available_resources) == 0) { in p_contact_is_available()
[all …]
H A Dconnection.c75 GHashTable* available_resources; member
111 …conn.available_resources = g_hash_table_new_full(g_str_hash, g_str_equal, free, (GDestroyNotify)re… in connection_init()
297 if (conn.available_resources) { in connection_clear_data()
298 g_hash_table_remove_all(conn.available_resources); in connection_clear_data()
485 return g_hash_table_get_values(conn.available_resources); in connection_get_available_resources()
491 g_hash_table_replace(conn.available_resources, strdup(resource->name), resource); in connection_add_available_resource()
497 g_hash_table_remove(conn.available_resources, resource); in connection_remove_available_resource()
/dports/www/py-boto3/boto3-1.18.61/tests/functional/docs/
H A Dtest_smoke.py39 def available_resources(): function
46 boto3_session, botocore_session, available_resources, service_name argument
61 if service_name in available_resources:
/dports/www/py-django-tastypie/django-tastypie-0.14.4/tastypie/
H A Dapi.py131 available_resources = {}
145 available_resources[name] = {
165 serialized = self.serializer.serialize(available_resources, desired_format, options)
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/fluent-bundle/tests/
H A Dresolver_fixtures.rs47 let mut available_resources = vec![]; in get_bundles() localVariable
51 available_resources.push(r); in get_bundles()
60 let bundle = create_bundle(Some(b), &defaults, &available_resources); in get_bundles()
65 let bundle = create_bundle(None, defaults, &available_resources); in get_bundles()
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/resource/
H A Delement_resource.php56 $object->available_resources = array('dolresource');
288 $ret = count($object->available_resources);
577 foreach ($object->available_resources as $modresources => $resources) {
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/resource/
H A Delement_resource.php54 $object->available_resources = array('dolresource');
288 $ret = count($object->available_resources);
570 foreach ($object->available_resources as $modresources => $resources)
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/rlimit-0.5.2/src/unix/
H A Dresource_type.rs175 Resource::available_resources().len()
523 pub const fn available_resources() -> &'static [Self] { in available_resources() method
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/rlimit-0.6.2/src/unix/
H A Dresource.rs179 Resource::available_resources().len()
225 pub const fn available_resources() -> &'static [Self] { in available_resources() method
/dports/net/oha/oha-0.4.7/cargo-crates/rlimit-0.6.2/src/unix/
H A Dresource.rs179 Resource::available_resources().len()
225 pub const fn available_resources() -> &'static [Self] { in available_resources() method
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/rlimit-0.6.2/src/unix/
H A Dresource.rs179 Resource::available_resources().len()
225 pub const fn available_resources() -> &'static [Self] { in available_resources() method
/dports/devel/py-distributed/distributed-2021.11.2/distributed/
H A Dworker.py503 available_resources: dict[str, float]
783 self.available_resources = (resources or {}).copy()
1864 self.available_resources[r] += quantity - self.total_resources[r]
1866 self.available_resources[r] = quantity
2123 self.available_resources[resource] += quantity
2198 self.available_resources[resource] += quantity
2255 self.available_resources[resource] += quantity
2283 self.available_resources[resource] += quantity
2318 self.available_resources[resource] -= quantity
3132 self.available_resources[resource] += quantity
[all …]
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/resource/class/
H A Ddolresource.class.php732 $this->available_resources = (array) $conf->modules_parts['resources'];
734 return count($this->available_resources);
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/resource/class/
H A Ddolresource.class.php725 $this->available_resources = (array) $conf->modules_parts['resources'];
727 return count($this->available_resources);
/dports/math/py-jax/jax-0.2.9/jax/experimental/
H A Dmaps.py237 available_resources = set(resource_env.shape.keys())
239 if necessary_resources > available_resources: