/dports/devel/py-azure-cosmos/azure-cosmos-3.2.0/azure/cosmos/ |
H A D | global_endpoint_manager.py | 29 from azure.cosmos.location_cache import LocationCache 42 self.location_cache = LocationCache(self.PreferredLocations, 55 return self.location_cache.get_write_endpoint() 58 return self.location_cache.get_read_endpoint() 61 return self.location_cache.resolve_service_endpoint(request) 64 self.location_cache.mark_endpoint_unavailable_for_read(endpoint) 67 self.location_cache.mark_endpoint_unavailable_for_write(endpoint) 70 return self.location_cache.get_ordered_write_endpoints() 73 return self.location_cache.get_ordered_read_endpoints() 94 self.location_cache.perform_on_database_account_read(database_account) [all …]
|
/dports/devel/py-azure-cosmos/azure-cosmos-3.2.0/test/ |
H A D | location_cache_tests.py | 11 from azure.cosmos.location_cache import LocationCache 179 self.assertEqual(self.location_cache.get_write_endpoints()[0], self.LOCATION_1_ENDPOINT) 180 self.assertEqual(self.location_cache.get_write_endpoints()[1], self.LOCATION_2_ENDPOINT) 207 self.location_cache = LocationCache( 213 self.location_cache.perform_on_database_account_read(self.database_account) 224 current_write_endpoints = self.location_cache.get_write_endpoints() 225 current_read_endpoints = self.location_cache.get_read_endpoints() 289 should_refresh_endpoints = self.location_cache.should_refresh_endpoints() 361 write_endpoints = self.location_cache.get_write_endpoints() 378 return self.location_cache.resolve_service_endpoint(request) [all …]
|
/dports/devel/godot2/godot-2.1.6-stable/core/math/ |
H A D | geometry.h | 701 int *location_cache = (int *)alloca(sizeof(int) * polygon.size()); in clip_polygon() local 709 location_cache[a] = LOC_INSIDE; in clip_polygon() 713 location_cache[a] = LOC_OUTSIDE; in clip_polygon() 716 location_cache[a] = LOC_BOUNDARY; in clip_polygon() 736 int loc = location_cache[index]; in clip_polygon() 738 if (location_cache[previous] == LOC_INSIDE) { in clip_polygon() 750 if ((loc == LOC_INSIDE) && (location_cache[previous] == LOC_OUTSIDE)) { in clip_polygon()
|
/dports/devel/godot2-tools/godot-2.1.6-stable/core/math/ |
H A D | geometry.h | 701 int *location_cache = (int *)alloca(sizeof(int) * polygon.size()); in clip_polygon() local 709 location_cache[a] = LOC_INSIDE; in clip_polygon() 713 location_cache[a] = LOC_OUTSIDE; in clip_polygon() 716 location_cache[a] = LOC_BOUNDARY; in clip_polygon() 736 int loc = location_cache[index]; in clip_polygon() 738 if (location_cache[previous] == LOC_INSIDE) { in clip_polygon() 750 if ((loc == LOC_INSIDE) && (location_cache[previous] == LOC_OUTSIDE)) { in clip_polygon()
|
/dports/lang/swi-pl/swipl-8.2.3/packages/http/ |
H A D | http_path.pl | 173 location_cache/3. 182 location_cache(Spec, Base, Cache), 187 assert(location_cache(Spec, Base, L)), 358 retractall(location_cache(_,_,_)).
|
/dports/lang/yap/yap-6.2.2/packages/http/ |
H A D | http_path.pl | 121 location_cache(Spec, Base, Cache), !, 125 assert(location_cache(Spec, Base, L)), 274 retractall(location_cache(_,_,_)).
|
/dports/devel/godot-tools/godot-3.2.3-stable/core/math/ |
H A D | geometry.h | 710 int *location_cache = (int *)alloca(sizeof(int) * polygon.size()); in clip_polygon() local 717 location_cache[a] = LOC_INSIDE; in clip_polygon() 721 location_cache[a] = LOC_OUTSIDE; in clip_polygon() 724 location_cache[a] = LOC_BOUNDARY; in clip_polygon() 742 int loc = location_cache[index]; in clip_polygon() 744 if (location_cache[previous] == LOC_INSIDE) { in clip_polygon() 756 if ((loc == LOC_INSIDE) && (location_cache[previous] == LOC_OUTSIDE)) { in clip_polygon()
|
/dports/devel/godot/godot-3.2.3-stable/core/math/ |
H A D | geometry.h | 710 int *location_cache = (int *)alloca(sizeof(int) * polygon.size()); in clip_polygon() local 717 location_cache[a] = LOC_INSIDE; in clip_polygon() 721 location_cache[a] = LOC_OUTSIDE; in clip_polygon() 724 location_cache[a] = LOC_BOUNDARY; in clip_polygon() 742 int loc = location_cache[index]; in clip_polygon() 744 if (location_cache[previous] == LOC_INSIDE) { in clip_polygon() 756 if ((loc == LOC_INSIDE) && (location_cache[previous] == LOC_OUTSIDE)) { in clip_polygon()
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/ |
H A D | gimple-streamer-in.c | 74 data_in->location_cache.input_location_and_block (arg_locp, &bp, ib, in input_phi() 110 data_in->location_cache.input_location_and_block (gimple_location_ptr (stmt), in input_gimple_stmt()
|
H A D | lto-streamer-in.c | 616 data_in->location_cache.input_location (loc, bp, data_in); 1056 data_in->location_cache.input_location_and_block (&e->goto_locus, 1413 data_in->location_cache.apply_location_cache (); 1626 data_in->location_cache.apply_location_cache ();
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/ |
H A D | gimple-streamer-in.c | 74 data_in->location_cache.input_location_and_block (arg_locp, &bp, ib, in input_phi() 110 data_in->location_cache.input_location_and_block (gimple_location_ptr (stmt), in input_gimple_stmt()
|
H A D | lto-streamer-in.c | 616 data_in->location_cache.input_location (loc, bp, data_in); 1069 data_in->location_cache.input_location_and_block (&e->goto_locus, 1403 data_in->location_cache.apply_location_cache (); 1616 data_in->location_cache.apply_location_cache ();
|
/dports/lang/gcc11/gcc-11.2.0/gcc/ |
H A D | gimple-streamer-in.c | 74 data_in->location_cache.input_location_and_block (arg_locp, &bp, ib, in input_phi() 110 data_in->location_cache.input_location_and_block (gimple_location_ptr (stmt), in input_gimple_stmt()
|
H A D | lto-streamer-in.c | 616 data_in->location_cache.input_location (loc, bp, data_in); 1056 data_in->location_cache.input_location_and_block (&e->goto_locus, 1413 data_in->location_cache.apply_location_cache (); 1626 data_in->location_cache.apply_location_cache ();
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/ |
H A D | gimple-streamer-in.c | 74 data_in->location_cache.input_location_and_block (arg_locp, &bp, ib, in input_phi() 110 data_in->location_cache.input_location_and_block (gimple_location_ptr (stmt), in input_gimple_stmt()
|
H A D | lto-streamer-in.c | 616 data_in->location_cache.input_location (loc, bp, data_in); 1056 data_in->location_cache.input_location_and_block (&e->goto_locus, 1413 data_in->location_cache.apply_location_cache (); 1626 data_in->location_cache.apply_location_cache ();
|
/dports/lang/gcc10/gcc-10.3.0/gcc/ |
H A D | gimple-streamer-in.c | 74 data_in->location_cache.input_location_and_block (arg_locp, &bp, ib, in input_phi() 110 data_in->location_cache.input_location_and_block (gimple_location_ptr (stmt), in input_gimple_stmt()
|
H A D | lto-streamer-in.c | 616 data_in->location_cache.input_location (loc, bp, data_in); 1069 data_in->location_cache.input_location_and_block (&e->goto_locus, 1403 data_in->location_cache.apply_location_cache (); 1616 data_in->location_cache.apply_location_cache ();
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/ |
H A D | gimple-streamer-in.c | 74 data_in->location_cache.input_location_and_block (arg_locp, &bp, ib, in input_phi() 110 data_in->location_cache.input_location_and_block (gimple_location_ptr (stmt), in input_gimple_stmt()
|
H A D | lto-streamer-in.c | 616 data_in->location_cache.input_location (loc, bp, data_in); 1056 data_in->location_cache.input_location_and_block (&e->goto_locus, 1413 data_in->location_cache.apply_location_cache (); 1626 data_in->location_cache.apply_location_cache ();
|
/dports/print/hplip/hplip-3.20.6/ui4/ |
H A D | wifisetupdialog.py | 81 self.location_cache = {} # { 'bssid' : <location>, ... } 374 self.location_cache[bssid] 380 self.location_cache[bssid] = (lat, lng, address) 383 self.location_cache[bssid]
|
/dports/print/hplip/hplip-3.20.6/ui5/ |
H A D | wifisetupdialog.py | 83 self.location_cache = {} # { 'bssid' : <location>, ... } 377 self.location_cache[bssid] 383 self.location_cache[bssid] = (lat, lng, address) 386 self.location_cache[bssid]
|
/dports/www/osrm-backend/osrm-backend-5.26.0/src/extractor/ |
H A D | extractor.cpp | 476 osmium_index_type location_cache; in ParseOSMData() local 477 osmium_location_handler_type location_handler(location_cache); in ParseOSMData()
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/ |
H A D | lto-streamer-in.c | 292 data_in->location_cache.input_location (loc, bp, data_in); in lto_input_location() 304 data_in->location_cache.apply_location_cache (); in stream_input_location_now() 1300 data_in->location_cache.apply_location_cache (); in lto_read_body_or_constructor()
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/ |
H A D | lto-streamer-in.c | 291 data_in->location_cache.input_location (loc, bp, data_in); in lto_input_location() 303 data_in->location_cache.apply_location_cache (); in stream_input_location_now() 1224 data_in->location_cache.apply_location_cache (); in lto_read_body_or_constructor()
|