diff
stringlengths 41
2.03M
| msg
stringlengths 1
1.5k
⌀ | repo
stringlengths 5
40
| sha
stringlengths 40
40
| time
stringlengths 20
20
|
---|---|---|---|---|
new file mode 100644 <nl> index 00000000000 . . 6ed281c757a <nl> mmm / dev / null <nl> ppp b / tests / queries / 0_stateless / 01526_max_untracked_memory . reference <nl> <nl> + 1 <nl> + 1 <nl> new file mode 100755 <nl> index 00000000000 . . e2cd069d303 <nl> mmm / dev / null <nl> ppp b / tests / queries / 0_stateless / 01526_max_untracked_memory . sh <nl> <nl> + # ! / usr / bin / env bash <nl> + <nl> + CURDIR = $ ( cd " $ ( dirname " $ { BASH_SOURCE [ 0 ] } " ) " & & pwd ) <nl> + . " $ CURDIR " / . . / shell_config . sh <nl> + <nl> + query = " select randomPrintableASCII ( number ) from numbers ( 1000 ) " <nl> + # at least 2 , one allocation , one deallocation <nl> + # ( but actually even more ) <nl> + min_trace_entries = 2 <nl> + <nl> + # <nl> + # TCP <nl> + <nl> + # do not use _ , they should be escaped for LIKE <nl> + query_id_tcp_prefix = " 01526 - tcp - memory - tracking - $ RANDOM - $ $ " <nl> + $ { CLICKHOUSE_CLIENT } - - log_queries = 1 - - max_threads = 1 - - max_untracked_memory = 0 - - memory_profiler_sample_probability = 1 - q " with ' $ query_id_tcp_prefix ' as __id $ query FORMAT Null " <nl> + $ { CLICKHOUSE_CLIENT } - q " SYSTEM FLUSH LOGS " <nl> + query_id_tcp = " $ ( $ { CLICKHOUSE_CLIENT } - q " SELECT DISTINCT query_id FROM system . query_log WHERE query LIKE ' % $ query_id_tcp_prefix % ' " ) " <nl> + $ { CLICKHOUSE_CLIENT } - q " SELECT count ( ) > = $ min_trace_entries FROM system . trace_log WHERE query_id = ' $ query_id_tcp ' AND abs ( size ) < 4e6 AND event_time > = now ( ) - interval 1 hour " <nl> + <nl> + # <nl> + # HTTP <nl> + # <nl> + <nl> + # query_id cannot be longer then 28 bytes <nl> + query_id_http = " 01526_http_ $ { RANDOM } _ $ $ " <nl> + echo " $ query " | $ { CLICKHOUSE_CURL } - sSg - o / dev / null " $ { CLICKHOUSE_URL } & query_id = $ query_id_http & max_untracked_memory = 0 & memory_profiler_sample_probability = 1 & max_threads = 1 " - d @ - <nl> + $ { CLICKHOUSE_CLIENT } - q " SYSTEM FLUSH LOGS " <nl> + # at least 2 , one allocation , one deallocation <nl> + # ( but actually even more ) <nl> + $ { CLICKHOUSE_CLIENT } - q " SELECT count ( ) > = $ min_trace_entries FROM system . trace_log WHERE query_id = ' $ query_id_http ' AND abs ( size ) < 4e6 AND event_time > = now ( ) - interval 1 hour " <nl> mmm a / tests / queries / 0_stateless / arcadia_skip_list . txt <nl> ppp b / tests / queries / 0_stateless / arcadia_skip_list . txt <nl> <nl> 01515_force_data_skipping_indices <nl> 01526_complex_key_dict_direct_layout <nl> 01509_dictionary_preallocate <nl> + 01526_max_untracked_memory <nl> mmm a / tests / queries / skip_list . json <nl> ppp b / tests / queries / skip_list . json <nl> <nl> " 00157_cache_dictionary " , <nl> " 01193_metadata_loading " , <nl> " 01473_event_time_microseconds " , <nl> + " 01526_max_untracked_memory " , / / / requires TraceCollector , does not available under sanitizers <nl> " 01474_executable_dictionary " / / / informational stderr from sanitizer at start <nl> ] , <nl> " address - sanitizer " : [ <nl> <nl> " odbc_roundtrip " , <nl> " 01103_check_cpu_instructions_at_startup " , <nl> " 01473_event_time_microseconds " , <nl> + " 01526_max_untracked_memory " , / / / requires TraceCollector , does not available under sanitizers <nl> " 01193_metadata_loading " <nl> ] , <nl> " ub - sanitizer " : [ <nl> <nl> " 01103_check_cpu_instructions_at_startup " , <nl> " 00900_orc_load " , <nl> " 01473_event_time_microseconds " , <nl> + " 01526_max_untracked_memory " , / / / requires TraceCollector , does not available under sanitizers <nl> " 01193_metadata_loading " <nl> ] , <nl> " memory - sanitizer " : [ <nl> <nl> " 00877_memory_limit_for_new_delete " , / / / memory limits don ' t work correctly under msan because it replaces malloc / free <nl> " 01114_mysql_database_engine_segfault " , / / / it fails in _nss_files_parse_servent while using NSS from GLibc to authenticate ( need to get rid of it ) <nl> " 01473_event_time_microseconds " , <nl> + " 01526_max_untracked_memory " , / / / requires TraceCollector , does not available under sanitizers <nl> " 01193_metadata_loading " <nl> ] , <nl> " debug - build " : [ <nl> | Add a test for max_untracked_memory ( both HTTP and TCP ) | ClickHouse/ClickHouse | 42395053e445dda5df9f40746c7067ae192bde84 | 2020-10-17T12:01:53Z |
mmm a / Protobuf . podspec <nl> ppp b / Protobuf . podspec <nl> Pod : : Spec . new do | s | <nl> s . authors = { ' The Protocol Buffers contributors ' = > ' protobuf @ googlegroups . com ' } <nl> <nl> s . source_files = ' objectivec / * . { h , m } ' , ' objectivec / google / protobuf / * . pbobjc . h ' , ' objectivec / google / protobuf / Descriptor . pbobjc . m ' <nl> - s . private_header_files = ' objectivec / * _PackagePrivate . h ' <nl> + s . public_header_files = ' objectivec / GPBProtocolBuffers . h ' , ' objectivec / GPBProtocolBuffers_RuntimeSupport . h ' <nl> # The following is a . m umbrella file , and would cause duplicate symbol <nl> # definitions : <nl> s . exclude_files = ' objectivec / GPBProtocolBuffers . m ' <nl> | Restricts public headers to GPBProtocolBuffers . h and GPBProtocolBuffers_RuntimeSupport . h | protocolbuffers/protobuf | 56ffef9f334554eda6e931342b413c66624349d1 | 2015-05-14T23:07:49Z |
mmm a / aten / src / ATen / native / cuda / TensorCompare . cu <nl> ppp b / aten / src / ATen / native / cuda / TensorCompare . cu <nl> Tensor _s_where_cuda ( <nl> const Tensor & self , <nl> const Tensor & other ) { <nl> Tensor ret = at : : empty ( self . sizes ( ) , self . options ( ) ) ; <nl> - AT_DISPATCH_ALL_TYPES_AND ( at : : ScalarType : : Half , ret . scalar_type ( ) , " where_cuda " , [ & ] { <nl> + AT_DISPATCH_ALL_TYPES_AND2 ( at : : ScalarType : : Half , at : : ScalarType : : Bool , ret . scalar_type ( ) , " where_cuda " , [ & ] { <nl> where_cuda < scalar_t > ( ret , condition , self , other ) ; <nl> } ) ; <nl> return ret ; <nl> mmm a / test / test_torch . py <nl> ppp b / test / test_torch . py <nl> def test ( size ) : <nl> test ( ( 10 , ) ) <nl> test ( ( 5 , 5 ) ) <nl> <nl> + def test_where_bool_tensor ( self ) : <nl> + for d in torch . testing . get_all_device_types ( ) : <nl> + a = torch . tensor ( [ True , False ] , device = d ) <nl> + res = torch . where ( a > 0 ) <nl> + self . assertEqual ( 1 , len ( res ) ) <nl> + <nl> def test_all_any_with_dim ( self ) : <nl> def test ( x ) : <nl> r1 = x . prod ( dim = 0 , keepdim = False ) . byte ( ) <nl> | Enabled where for bool tensor on CUDA ( ) | pytorch/pytorch | f673def92d24deb4ecf062276c8a3e46f3aca19b | 2019-09-19T19:29:31Z |
mmm a / Marlin / Configuration_adv . h <nl> ppp b / Marlin / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / default / Configuration_adv . h <nl> ppp b / Marlin / src / config / default / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / 3DFabXYZ / Migbot / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / 3DFabXYZ / Migbot / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / AlephObjects / TAZ4 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / AlephObjects / TAZ4 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Anet / A2 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Anet / A2 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Anet / A2plus / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Anet / A2plus / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Anet / A6 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Anet / A6 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Anet / A8 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Anet / A8 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / ArmEd / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / ArmEd / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / BIBO / TouchX / cyclops / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / BIBO / TouchX / cyclops / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / BIBO / TouchX / default / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / BIBO / TouchX / default / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / BQ / Hephestos / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / BQ / Hephestos / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / BQ / Hephestos_2 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / BQ / Hephestos_2 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / BQ / WITBOX / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / BQ / WITBOX / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Cartesio / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Cartesio / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Creality / CR - 10 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Creality / CR - 10 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Creality / CR - 10S / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Creality / CR - 10S / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Creality / CR - 10mini / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Creality / CR - 10mini / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Creality / CR - 8 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Creality / CR - 8 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Creality / Ender - 2 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Creality / Ender - 2 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Creality / Ender - 3 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Creality / Ender - 3 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Creality / Ender - 4 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Creality / Ender - 4 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Einstart - S / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Einstart - S / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Felix / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Felix / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / FlashForge / CreatorPro / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / FlashForge / CreatorPro / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / FolgerTech / i3 - 2020 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / FolgerTech / i3 - 2020 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Formbot / Raptor / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Formbot / Raptor / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Formbot / T_Rex_2 + / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Formbot / T_Rex_2 + / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Formbot / T_Rex_3 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Formbot / T_Rex_3 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Geeetech / MeCreator2 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Geeetech / MeCreator2 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> diff - - git a / Marlin / src / config / examples / Geeetech / Prusa i3 Pro C / Configuration_adv . h b / Marlin / src / config / examples / Geeetech / Prusa i3 Pro C / Configuration_adv . h <nl> mmm a / Marlin / src / config / examples / Geeetech / Prusa i3 Pro C / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Geeetech / Prusa i3 Pro C / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> diff - - git a / Marlin / src / config / examples / Geeetech / Prusa i3 Pro W / Configuration_adv . h b / Marlin / src / config / examples / Geeetech / Prusa i3 Pro W / Configuration_adv . h <nl> mmm a / Marlin / src / config / examples / Geeetech / Prusa i3 Pro W / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Geeetech / Prusa i3 Pro W / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Infitary / i3 - M508 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Infitary / i3 - M508 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / JGAurora / A5 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / JGAurora / A5 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / MakerParts / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / MakerParts / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Malyan / M150 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Malyan / M150 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Malyan / M200 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Malyan / M200 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Micromake / C1 / enhanced / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Micromake / C1 / enhanced / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Mks / Robin / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Mks / Robin / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Mks / Sbase / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Mks / Sbase / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / RapideLite / RL200 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / RapideLite / RL200 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / RigidBot / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / RigidBot / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / SCARA / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / SCARA / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Sanguinololu / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Sanguinololu / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / TheBorg / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / TheBorg / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / TinyBoy2 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / TinyBoy2 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Tronxy / X3A / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Tronxy / X3A / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / UltiMachine / Archim1 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / UltiMachine / Archim1 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / UltiMachine / Archim2 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / UltiMachine / Archim2 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / VORONDesign / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / VORONDesign / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Velleman / K8200 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Velleman / K8200 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / Velleman / K8400 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Velleman / K8400 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / WASP / PowerWASP / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / WASP / PowerWASP / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> diff - - git a / Marlin / src / config / examples / Wanhao / Duplicator 6 / Configuration_adv . h b / Marlin / src / config / examples / Wanhao / Duplicator 6 / Configuration_adv . h <nl> mmm a / Marlin / src / config / examples / Wanhao / Duplicator 6 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / Wanhao / Duplicator 6 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / delta / Anycubic / Kossel / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / Anycubic / Kossel / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / delta / FLSUN / auto_calibrate / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / FLSUN / auto_calibrate / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / delta / FLSUN / kossel / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / FLSUN / kossel / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / delta / FLSUN / kossel_mini / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / FLSUN / kossel_mini / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> diff - - git a / Marlin / src / config / examples / delta / Geeetech / Rostock 301 / Configuration_adv . h b / Marlin / src / config / examples / delta / Geeetech / Rostock 301 / Configuration_adv . h <nl> mmm a / Marlin / src / config / examples / delta / Geeetech / Rostock 301 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / Geeetech / Rostock 301 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / delta / MKS / SBASE / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / MKS / SBASE / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> diff - - git a / Marlin / src / config / examples / delta / Tevo Little Monster / Configuration_adv . h b / Marlin / src / config / examples / delta / Tevo Little Monster / Configuration_adv . h <nl> mmm a / Marlin / src / config / examples / delta / Tevo Little Monster / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / Tevo Little Monster / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / delta / generic / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / generic / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / delta / kossel_mini / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / kossel_mini / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / delta / kossel_xl / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / delta / kossel_xl / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / gCreate / gMax1 . 5 + / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / gCreate / gMax1 . 5 + / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / makibox / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / makibox / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / tvrrug / Round2 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / tvrrug / Round2 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> mmm a / Marlin / src / config / examples / wt150 / Configuration_adv . h <nl> ppp b / Marlin / src / config / examples / wt150 / Configuration_adv . h <nl> <nl> <nl> <nl> / * * <nl> - * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> - * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> - * Other detected conditions can be used to stop the current print . <nl> - * Relevant g - codes : <nl> - * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> - * I not present or I0 or I1 - X , Y , Z or E0 <nl> - * I2 - X2 , Y2 , Z2 or E1 <nl> - * I3 - Z3 or E3 <nl> - * I4 - E4 <nl> - * I5 - E5 <nl> - * M916 - Increase drive level until get thermal warning <nl> - * M917 - Find minimum current thresholds <nl> - * M918 - Increase speed until max or error <nl> - * M122 S0 / 1 - Report driver parameters <nl> - * / <nl> + * Monitor L6470 drivers for error conditions like over temperature and over current . <nl> + * In the case of over temperature Marlin can decrease the drive until the error condition clears . <nl> + * Other detected conditions can be used to stop the current print . <nl> + * Relevant g - codes : <nl> + * M906 - I1 / 2 / 3 / 4 / 5 Set or get motor drive level using axis codes X , Y , Z , E . Report values if no axis codes given . <nl> + * I not present or I0 or I1 - X , Y , Z or E0 <nl> + * I2 - X2 , Y2 , Z2 or E1 <nl> + * I3 - Z3 or E3 <nl> + * I4 - E4 <nl> + * I5 - E5 <nl> + * M916 - Increase drive level until get thermal warning <nl> + * M917 - Find minimum current thresholds <nl> + * M918 - Increase speed until max or error <nl> + * M122 S0 / 1 - Report driver parameters <nl> + * / <nl> / / # define MONITOR_L6470_DRIVER_STATUS <nl> <nl> # if ENABLED ( MONITOR_L6470_DRIVER_STATUS ) <nl> | Fix L6470 config comments | MarlinFirmware/Marlin | 0eca236dcdc68eef6e5f4d6a080da5dc4bdace28 | 2019-01-24T06:58:16Z |
mmm a / WORKSPACE <nl> ppp b / WORKSPACE <nl> load ( " / / third_party / gpus : cuda_configure . bzl " , " cuda_configure " ) <nl> load ( " / / third_party / tensorrt : tensorrt_configure . bzl " , " tensorrt_configure " ) <nl> load ( " / / third_party / py : python_configure . bzl " , " python_configure " ) <nl> load ( " / / third_party / vtk : vtk_configure . bzl " , " vtk_configure " ) <nl> + load ( " / / tools : common . bzl " , " clean_dep " ) <nl> <nl> cuda_configure ( name = " local_config_cuda " ) <nl> <nl> grpc_extra_deps ( ) <nl> # Cpplint <nl> http_archive ( <nl> name = " cpplint " , <nl> - build_file = " cpplint . BUILD " , <nl> + build_file = clean_dep ( " / / third_party : cpplint . BUILD " ) , <nl> sha256 = " 96db293564624543a2fd3b1a0d23f663b8054c79853a5918523655721a9f6b53 " , <nl> strip_prefix = " cpplint - 1 . 4 . 5 " , <nl> urls = [ " https : / / github . com / cpplint / cpplint / archive / 1 . 4 . 5 . tar . gz " ] , <nl> similarity index 100 % <nl> rename from external / cpplint . BUILD <nl> rename to third_party / cpplint . BUILD <nl> | Bazel : move cpplint . BUILD to third_party , first step to retire external directory | ApolloAuto/apollo | 01d53c0db73a8f161ed9896d1bcfeb5198b7d21d | 2020-06-28T12:24:50Z |
mmm a / lib / ClangImporter / ImportDecl . cpp <nl> ppp b / lib / ClangImporter / ImportDecl . cpp <nl> Decl * SwiftDeclConverter : : importEnumCaseAlias ( <nl> auto constantRef = <nl> new ( Impl . SwiftContext ) DeclRefExpr ( original , DeclNameLoc ( ) , <nl> / * implicit * / true ) ; <nl> + constantRef - > setType ( original - > getInterfaceType ( ) ) ; <nl> + <nl> Type importedEnumTy = importedEnum - > getDeclaredInterfaceType ( ) ; <nl> + <nl> auto typeRef = TypeExpr : : createImplicit ( importedEnumTy , Impl . SwiftContext ) ; <nl> auto instantiate = new ( Impl . SwiftContext ) <nl> DotSyntaxCallExpr ( constantRef , SourceLoc ( ) , typeRef ) ; <nl> ClangImporter : : Implementation : : importDeclContextOf ( <nl> return ext ; <nl> } <nl> <nl> + static Type getConstantLiteralType ( ClangImporter : : Implementation & Impl , <nl> + Type type , ConstantConvertKind convertKind ) { <nl> + switch ( convertKind ) { <nl> + case ConstantConvertKind : : Construction : <nl> + case ConstantConvertKind : : ConstructionWithUnwrap : { <nl> + auto found = Impl . RawTypes . find ( type - > getAnyNominal ( ) ) ; <nl> + assert ( found ! = Impl . RawTypes . end ( ) ) ; <nl> + return found - > second ; <nl> + } <nl> + <nl> + default : <nl> + return type ; <nl> + } <nl> + } <nl> + <nl> ValueDecl * <nl> ClangImporter : : Implementation : : createConstant ( Identifier name , DeclContext * dc , <nl> Type type , <nl> ClangImporter : : Implementation : : createConstant ( Identifier name , DeclContext * dc , <nl> if ( isNegative ) <nl> printedValue = printedValue . drop_front ( ) ; <nl> <nl> + auto literalType = getConstantLiteralType ( * this , type , convertKind ) ; <nl> + <nl> / / Create the expression node . <nl> StringRef printedValueCopy ( context . AllocateCopy ( printedValue ) ) ; <nl> if ( value . getKind ( ) = = clang : : APValue : : Int ) { <nl> if ( type - > getCanonicalType ( ) - > isBool ( ) ) { <nl> - expr = new ( context ) BooleanLiteralExpr ( value . getInt ( ) . getBoolValue ( ) , <nl> - SourceLoc ( ) , <nl> - / * * Implicit = * / true ) ; <nl> + auto * boolExpr = <nl> + new ( context ) BooleanLiteralExpr ( value . getInt ( ) . getBoolValue ( ) , <nl> + SourceLoc ( ) , <nl> + / * * Implicit = * / true ) ; <nl> + <nl> + boolExpr - > setBuiltinInitializer ( <nl> + context . getBoolBuiltinInitDecl ( ) ) ; <nl> + boolExpr - > setType ( literalType ) ; <nl> + <nl> + expr = boolExpr ; <nl> } else { <nl> - expr = new ( context ) IntegerLiteralExpr ( printedValueCopy , SourceLoc ( ) , <nl> - / * Implicit = * / true ) ; <nl> + auto * intExpr = <nl> + new ( context ) IntegerLiteralExpr ( printedValueCopy , SourceLoc ( ) , <nl> + / * Implicit = * / true ) ; <nl> + <nl> + auto * intDecl = literalType - > getAnyNominal ( ) ; <nl> + intExpr - > setBuiltinInitializer ( <nl> + context . getIntBuiltinInitDecl ( intDecl ) ) ; <nl> + intExpr - > setType ( literalType ) ; <nl> + <nl> + expr = intExpr ; <nl> } <nl> } else { <nl> - expr = new ( context ) FloatLiteralExpr ( printedValueCopy , SourceLoc ( ) , <nl> - / * Implicit = * / true ) ; <nl> + auto * floatExpr = <nl> + new ( context ) FloatLiteralExpr ( printedValueCopy , SourceLoc ( ) , <nl> + / * Implicit = * / true ) ; <nl> + <nl> + auto maxFloatTypeDecl = context . get_MaxBuiltinFloatTypeDecl ( ) ; <nl> + floatExpr - > setBuiltinType ( <nl> + maxFloatTypeDecl - > getUnderlyingTypeLoc ( ) . getType ( ) ) ; <nl> + <nl> + auto * floatDecl = literalType - > getAnyNominal ( ) ; <nl> + floatExpr - > setBuiltinInitializer ( <nl> + context . getFloatBuiltinInitDecl ( floatDecl ) ) ; <nl> + floatExpr - > setType ( literalType ) ; <nl> + <nl> + expr = floatExpr ; <nl> } <nl> <nl> if ( isNegative ) <nl> ClangImporter : : Implementation : : createConstant ( Identifier name , DeclContext * dc , <nl> bool isStatic , <nl> ClangNode ClangN ) { <nl> auto expr = new ( SwiftContext ) StringLiteralExpr ( value , SourceRange ( ) ) ; <nl> + <nl> + auto literalType = getConstantLiteralType ( * this , type , convertKind ) ; <nl> + auto * stringDecl = literalType - > getAnyNominal ( ) ; <nl> + expr - > setBuiltinInitializer ( <nl> + SwiftContext . getStringBuiltinInitDecl ( stringDecl ) ) ; <nl> + expr - > setType ( literalType ) ; <nl> + <nl> return createConstant ( name , dc , type , expr , convertKind , isStatic , ClangN ) ; <nl> } <nl> <nl> ClangImporter : : Implementation : : createConstant ( Identifier name , DeclContext * dc , <nl> case ConstantConvertKind : : Construction : <nl> case ConstantConvertKind : : ConstructionWithUnwrap : { <nl> auto typeRef = TypeExpr : : createImplicit ( type , C ) ; <nl> - <nl> - expr = CallExpr : : createImplicit ( C , typeRef , { expr } , { C . Id_rawValue } ) ; <nl> - if ( convertKind = = ConstantConvertKind : : ConstructionWithUnwrap ) <nl> + <nl> + / / Reference init ( rawValue : T ) <nl> + auto found = RawInits . find ( type - > getAnyNominal ( ) ) ; <nl> + assert ( found ! = RawInits . end ( ) ) ; <nl> + <nl> + auto * init = found - > second ; <nl> + auto initTy = init - > getInterfaceType ( ) - > removeArgumentLabels ( 1 ) ; <nl> + auto declRef = <nl> + new ( C ) DeclRefExpr ( init , DeclNameLoc ( ) , / * Implicit = * / true , <nl> + AccessSemantics : : Ordinary , initTy ) ; <nl> + <nl> + / / ( Self ) - > . . . <nl> + initTy = initTy - > castTo < FunctionType > ( ) - > getResult ( ) ; <nl> + auto initRef = new ( C ) DotSyntaxCallExpr ( declRef , SourceLoc ( ) , <nl> + typeRef , initTy ) ; <nl> + initRef - > setThrows ( false ) ; <nl> + <nl> + / / ( rawValue : T ) - > . . . <nl> + initTy = initTy - > castTo < FunctionType > ( ) - > getResult ( ) ; <nl> + <nl> + auto initCall = CallExpr : : createImplicit ( C , initRef , { expr } , <nl> + { C . Id_rawValue } ) ; <nl> + initCall - > setType ( initTy ) ; <nl> + initCall - > setThrows ( false ) ; <nl> + <nl> + expr = initCall ; <nl> + <nl> + / / Force unwrap if our init ( rawValue : ) is failable , which is currently <nl> + / / the case with enums . <nl> + if ( convertKind = = ConstantConvertKind : : ConstructionWithUnwrap ) { <nl> + initTy = initTy - > getOptionalObjectType ( ) ; <nl> expr = new ( C ) ForceValueExpr ( expr , SourceLoc ( ) ) ; <nl> + expr - > setType ( initTy ) ; <nl> + } <nl> + <nl> + assert ( initTy - > isEqual ( type ) ) ; <nl> break ; <nl> } <nl> } <nl> ClangImporter : : Implementation : : createConstant ( Identifier name , DeclContext * dc , <nl> func - > setBody ( BraceStmt : : create ( C , SourceLoc ( ) , <nl> ASTNode ( ret ) , <nl> SourceLoc ( ) ) ) ; <nl> + func - > setBodyTypeCheckedIfPresent ( ) ; <nl> } <nl> <nl> / / Mark the function transparent so that we inline it away completely . <nl> | ClangImporter : Build type - checked AST for constants | apple/swift | 57254cb6e34f04fd897541edb60129a20714bb08 | 2019-05-23T14:40:34Z |
mmm a / tensorflow / contrib / learn / python / learn / estimators / head . py <nl> ppp b / tensorflow / contrib / learn / python / learn / estimators / head . py <nl> def _training_loss ( self , features , target , logits = None , <nl> Returns : <nl> A tuple of training Loss and additional_train_op ( possibly None ) <nl> " " " <nl> - target = target [ self . _label_name ] if isinstance ( target , dict ) else target <nl> + target = _check_target ( target , self . _label_name ) <nl> <nl> centered_bias_step = None <nl> if self . _enable_centered_bias : <nl> def _training_loss ( self , features , target , logits = None , <nl> <nl> def _eval_op ( self , features , target , logits = None , logits_input = None , <nl> name = " eval_op " ) : <nl> - target = target [ self . _label_name ] if isinstance ( target , dict ) else target <nl> + target = _check_target ( target , self . _label_name ) <nl> if self . _enable_centered_bias : <nl> logits = nn . bias_add ( logits , _centered_bias ( <nl> self . logits_dimension , <nl> def _training_loss ( self , features , target , logits = None , <nl> Returns : <nl> A tuple of training Loss and additional_train_op ( possibly None ) <nl> " " " <nl> - target = target [ self . _label_name ] if isinstance ( target , dict ) else target <nl> + target = _check_target ( target , self . _label_name ) <nl> <nl> centered_bias_step = None <nl> if self . _enable_centered_bias : <nl> def _training_loss ( self , features , target , logits = None , <nl> <nl> def _eval_op ( self , features , target , logits = None , logits_input = None , <nl> name = " eval_op " ) : <nl> - target = target [ self . _label_name ] if isinstance ( target , dict ) else target <nl> + target = _check_target ( target , self . _label_name ) <nl> if self . _enable_centered_bias : <nl> logits = nn . bias_add ( logits , _centered_bias ( <nl> self . logits_dimension , <nl> def _add_binary_metric ( metric_key , metric_fn ) : <nl> return metrics <nl> <nl> <nl> + def _check_target ( target , label_name ) : <nl> + target = target [ label_name ] if isinstance ( target , dict ) else target <nl> + if isinstance ( target , ops . SparseTensor ) : <nl> + raise ValueError ( " SparseTensor is not supported as a target / label . " ) <nl> + return target <nl> + <nl> + <nl> class _BinarySvmHead ( _MultiClassHead ) : <nl> " " " _Head for binary classification using SVMs . " " " <nl> <nl> mmm a / tensorflow / contrib / learn / python / learn / estimators / head_test . py <nl> ppp b / tensorflow / contrib / learn / python / learn / estimators / head_test . py <nl> def testRegressionWithWeights ( self ) : <nl> None , logits = prediction ) <nl> self . assertAlmostEqual ( 2 . / 3 , sess . run ( model_fn_ops . loss ) , places = 3 ) <nl> <nl> + def testErrorInSparseTensorTarget ( self ) : <nl> + head = head_lib . _regression_head ( ) <nl> + with tf . Graph ( ) . as_default ( ) : <nl> + prediction = tf . constant ( [ [ 1 . ] , [ 1 . ] , [ 3 . ] ] ) <nl> + targets = tf . SparseTensor ( <nl> + indices = tf . constant ( [ [ 0 , 0 ] , [ 1 , 0 ] , [ 2 , 0 ] ] , dtype = tf . int64 ) , <nl> + values = tf . constant ( [ 0 . , 1 . , 1 . ] ) , <nl> + shape = [ 3 , 1 ] ) <nl> + with self . assertRaisesRegexp ( <nl> + ValueError , " SparseTensor is not supported as a target " ) : <nl> + head . head_ops ( { } , targets , tf . contrib . learn . ModeKeys . TRAIN , None , <nl> + logits = prediction ) <nl> + <nl> <nl> class MultiClassModelHeadTest ( tf . test . TestCase ) : <nl> <nl> def testBinaryClassification ( self ) : <nl> None , logits = logits ) <nl> self . assertAlmostEqual ( . 81326163 , sess . run ( model_fn_ops . loss ) ) <nl> <nl> + def testErrorInSparseTensorTarget ( self ) : <nl> + head = head_lib . _multi_class_head ( n_classes = 2 ) <nl> + with tf . Graph ( ) . as_default ( ) : <nl> + prediction = tf . constant ( [ [ 1 . ] , [ 1 . ] , [ 3 . ] ] ) <nl> + targets = tf . SparseTensor ( <nl> + indices = tf . constant ( [ [ 0 , 0 ] , [ 1 , 0 ] , [ 2 , 0 ] ] , dtype = tf . int64 ) , <nl> + values = tf . constant ( [ 0 , 1 , 1 ] ) , <nl> + shape = [ 3 , 1 ] ) <nl> + with self . assertRaisesRegexp ( <nl> + ValueError , " SparseTensor is not supported as a target " ) : <nl> + head . head_ops ( { } , targets , tf . contrib . learn . ModeKeys . TRAIN , None , <nl> + logits = prediction ) <nl> + <nl> def testBinaryClassificationWithWeights ( self ) : <nl> head = head_lib . _multi_class_head ( <nl> n_classes = 2 , weight_column_name = " label_weight " ) <nl> | Improve error messages when SparseTensor is given as a target / label . | tensorflow/tensorflow | 158a9d15452ed4a5e2ed1f8d6126c94558b5bc9b | 2016-10-13T22:03:42Z |
mmm a / src / base / macros . h <nl> ppp b / src / base / macros . h <nl> template < int > class StaticAssertionHelper { } ; <nl> template < typename T > <nl> inline void USE ( T ) { } <nl> <nl> + <nl> + # define IS_POWER_OF_TWO ( x ) ( ( x ) ! = 0 & & ( ( ( x ) & ( ( x ) - 1 ) ) = = 0 ) ) <nl> + <nl> + / / The following macro works on both 32 and 64 - bit platforms . <nl> + / / Usage : instead of writing 0x1234567890123456 <nl> + / / write V8_2PART_UINT64_C ( 0x12345678 , 90123456 ) ; <nl> + # define V8_2PART_UINT64_C ( a , b ) ( ( ( static_cast < uint64_t > ( a ) < < 32 ) + 0x # # b # # u ) ) <nl> + <nl> # endif / / V8_BASE_MACROS_H_ <nl> mmm a / src / globals . h <nl> ppp b / src / globals . h <nl> typedef byte * Address ; <nl> # define V8_PTR_PREFIX " " <nl> # endif <nl> <nl> - / / The following macro works on both 32 and 64 - bit platforms . <nl> - / / Usage : instead of writing 0x1234567890123456 <nl> - / / write V8_2PART_UINT64_C ( 0x12345678 , 90123456 ) ; <nl> - # define V8_2PART_UINT64_C ( a , b ) ( ( ( static_cast < uint64_t > ( a ) < < 32 ) + 0x # # b # # u ) ) <nl> - <nl> # define V8PRIxPTR V8_PTR_PREFIX " x " <nl> # define V8PRIdPTR V8_PTR_PREFIX " d " <nl> # define V8PRIuPTR V8_PTR_PREFIX " u " <nl> mmm a / src / isolate - inl . h <nl> ppp b / src / isolate - inl . h <nl> bool Isolate : : DebuggerHasBreakPoints ( ) { <nl> <nl> RandomNumberGenerator * Isolate : : random_number_generator ( ) { <nl> if ( random_number_generator_ = = NULL ) { <nl> - random_number_generator_ = new RandomNumberGenerator ; <nl> + if ( FLAG_random_seed ! = 0 ) { <nl> + random_number_generator_ = new RandomNumberGenerator ( FLAG_random_seed ) ; <nl> + } else { <nl> + random_number_generator_ = new RandomNumberGenerator ( ) ; <nl> + } <nl> } <nl> return random_number_generator_ ; <nl> } <nl> mmm a / src / utils . h <nl> ppp b / src / utils . h <nl> <nl> # include < string . h > <nl> <nl> # include " src / allocation . h " <nl> + # include " src / base / macros . h " <nl> # include " src / checks . h " <nl> # include " src / globals . h " <nl> # include " src / list . h " <nl> namespace internal { <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> / / General helper functions <nl> <nl> - # define IS_POWER_OF_TWO ( x ) ( ( x ) ! = 0 & & ( ( ( x ) & ( ( x ) - 1 ) ) = = 0 ) ) <nl> - <nl> / / Returns true iff x is a power of 2 . Cannot be used with the maximally <nl> / / negative value of the type T ( the - 1 overflows ) . <nl> template < typename T > <nl> new file mode 100644 <nl> index 00000000000 . . 3da1ce1a56a <nl> mmm / dev / null <nl> ppp b / src / utils / DEPS <nl> <nl> + include_rules = [ <nl> + " - src " , <nl> + " + src / base " , <nl> + " + src / platform " , <nl> + ] <nl> mmm a / src / utils / random - number - generator . cc <nl> ppp b / src / utils / random - number - generator . cc <nl> <nl> # include < stdio . h > <nl> # include < stdlib . h > <nl> <nl> - # include " src / flags . h " <nl> + # include < new > <nl> + <nl> + # include " src / base / macros . h " <nl> # include " src / platform / mutex . h " <nl> # include " src / platform / time . h " <nl> - # include " src / utils . h " <nl> <nl> namespace v8 { <nl> namespace internal { <nl> void RandomNumberGenerator : : SetEntropySource ( EntropySource source ) { <nl> <nl> <nl> RandomNumberGenerator : : RandomNumberGenerator ( ) { <nl> - / / Check - - random - seed flag first . <nl> - if ( FLAG_random_seed ! = 0 ) { <nl> - SetSeed ( FLAG_random_seed ) ; <nl> - return ; <nl> - } <nl> - <nl> / / Check if embedder supplied an entropy source . <nl> { LockGuard < Mutex > lock_guard ( entropy_mutex . Pointer ( ) ) ; <nl> if ( entropy_source ! = NULL ) { <nl> int RandomNumberGenerator : : NextInt ( int max ) { <nl> ASSERT_LE ( 0 , max ) ; <nl> <nl> / / Fast path if max is a power of 2 . <nl> - if ( IsPowerOf2 ( max ) ) { <nl> + if ( IS_POWER_OF_TWO ( max ) ) { <nl> return static_cast < int > ( ( max * static_cast < int64_t > ( Next ( 31 ) ) ) > > 31 ) ; <nl> } <nl> <nl> mmm a / src / utils / random - number - generator . h <nl> ppp b / src / utils / random - number - generator . h <nl> <nl> # ifndef V8_UTILS_RANDOM_NUMBER_GENERATOR_H_ <nl> # define V8_UTILS_RANDOM_NUMBER_GENERATOR_H_ <nl> <nl> - # include " src / globals . h " <nl> + # include " src / base / macros . h " <nl> <nl> namespace v8 { <nl> namespace internal { <nl> mmm a / test / cctest / test - random - number - generator . cc <nl> ppp b / test / cctest / test - random - number - generator . cc <nl> <nl> # include " src / v8 . h " <nl> <nl> # include " src / utils / random - number - generator . h " <nl> + # include " src / isolate - inl . h " <nl> # include " test / cctest / cctest . h " <nl> <nl> using namespace v8 : : internal ; <nl> TEST ( NextDoubleRange ) { <nl> TEST ( RandomSeedFlagIsUsed ) { <nl> for ( unsigned n = 0 ; n < ARRAY_SIZE ( kRandomSeeds ) ; + + n ) { <nl> FLAG_random_seed = kRandomSeeds [ n ] ; <nl> - RandomNumberGenerator rng1 ; <nl> + v8 : : Isolate * i = v8 : : Isolate : : New ( ) ; <nl> + RandomNumberGenerator & rng1 = <nl> + * reinterpret_cast < Isolate * > ( i ) - > random_number_generator ( ) ; <nl> RandomNumberGenerator rng2 ( kRandomSeeds [ n ] ) ; <nl> for ( int k = 1 ; k < = kMaxRuns ; + + k ) { <nl> int64_t i1 , i2 ; <nl> TEST ( RandomSeedFlagIsUsed ) { <nl> CHECK_EQ ( rng2 . NextInt ( k ) , rng1 . NextInt ( k ) ) ; <nl> CHECK_EQ ( rng2 . NextDouble ( ) , rng1 . NextDouble ( ) ) ; <nl> } <nl> + i - > Dispose ( ) ; <nl> } <nl> } <nl> | Untangle RNG from v8 core | v8/v8 | 005410e8eae90d1ed66882060371bb010791a08b | 2014-06-17T16:27:19Z |
old mode 100644 <nl> new mode 100755 <nl> old mode 100644 <nl> new mode 100755 <nl> old mode 100644 <nl> new mode 100755 <nl> | Give execute permission for Kokoro shell scripts | grpc/grpc | e3edfe29869086dcc575c8054bc27aabf7fb4077 | 2017-03-10T09:00:55Z |
mmm a / Engine / Shaders / HWScripts / CryFX / Vegetation . cfx <nl> ppp b / Engine / Shaders / HWScripts / CryFX / Vegetation . cfx <nl> technique General <nl> <nl> <nl> <nl> - vert2fragCustomRender Vegetation_CustomRenderPassVS ( app2vertGeneral IN ) <nl> + vert2fragCustomRender Vegetation_CustomRenderPassVS ( app2vertCustomViews IN ) <nl> { <nl> vert2fragCustomRender OUT = ( vert2fragCustomRender ) 0 ; <nl> <nl> mmm a / Engine / Shaders / HWScripts / CryFX / shadeLib . cfi <nl> ppp b / Engine / Shaders / HWScripts / CryFX / shadeLib . cfi <nl> half4 DecodeHDRCubemap ( half4 color ) <nl> return color ; <nl> } <nl> <nl> - half4 GetEnvironmentCMap ( samplerCUBE envCubeTex , in half3 envTC , in half fGloss ) <nl> - { <nl> - const half numCMapMips = 6 . 0 ; / / TODO : Use real cubemap size <nl> - <nl> - half fGlossinessLod = numCMapMips - fGloss * numCMapMips ; <nl> - half4 envColor = DecodeHDRCubemap ( texCUBElod ( envCubeTex , half4 ( envTC , fGlossinessLod ) ) ) ; <nl> - <nl> - return envColor ; <nl> - } <nl> - <nl> half4 GetEnvironmentCMap ( TextureCube envCubeTex , in half3 envTC , in half fGloss ) <nl> { <nl> const half numCMapMips = 6 . 0 ; / / TODO : Use real cubemap size <nl> | ! IB ( Vulkan ) Fixes DXC shader compilation errors which fails to provide an implicit cast between two user defined structures , and handling samplerCUBE . | CRYTEK/CRYENGINE | 646495fa3404fb8b7e49608c64a221f38d82747e | 2018-07-23T19:13:11Z |
mmm a / admin / static / coffee / modals . coffee <nl> ppp b / admin / static / coffee / modals . coffee <nl> module ' Modals ' , - > <nl> super <nl> <nl> if @ $ ( ' . verification ' ) . val ( ) . toLowerCase ( ) is ' remove ' <nl> - query = r . db ( ' rethinkdb ' ) . table ( ' table_config ' ) <nl> + query = r . db ( system_db ) . table ( ' table_config ' ) <nl> . get ( @ model . get ( ' id ' ) ) . delete ( ) <nl> driver . run_once query , ( err , result ) = > <nl> if err ? <nl> module ' Modals ' , - > <nl> <nl> @ model . get ( ' parent ' ) . set ( ' fixed ' , true ) <nl> @ <nl> + <nl> + # Modals . ReconfigureModal <nl> + class @ ReconfigureModal extends UIComponents . AbstractModal <nl> + template : Handlebars . templates [ ' reconfigure - modal ' ] <nl> + <nl> + class : ' reconfigure - modal ' <nl> + <nl> + custom_events : $ . extend ( UIComponents . AbstractModal . events , <nl> + ' keyup . replicas . inline - edit ' : ' change_replicas ' <nl> + ' keyup . shards . inline - edit ' : ' change_shards ' <nl> + ' click . expand - tree ' : ' expand_link ' <nl> + ) <nl> + <nl> + initialize : ( obj ) = > <nl> + @ events = $ . extend ( @ events , @ custom_events ) <nl> + @ model . set ( ' expanded ' , false ) <nl> + @ fetch_dryrun ( ) <nl> + @ listenTo @ model , ' change : num_replicas_per_shard ' , @ fetch_dryrun <nl> + @ listenTo @ model , ' change : num_shards ' , @ fetch_dryrun <nl> + @ listenTo @ model , ' change : errors ' , @ change_errors <nl> + @ listenTo @ model , ' change : server_error ' , @ get_errors <nl> + @ listenTo @ model , ' change : expanded ' , @ expanded_changed <nl> + # flag for whether to show an error on empty text boxes . <nl> + # When submitting , we want to show an error . When checking <nl> + # on keyup , we shouldn ' t do anything since the user is <nl> + # probably about to type a number in and we don ' t want an <nl> + # error to flash up really quick . <nl> + @ error_on_empty = false <nl> + super ( obj ) <nl> + <nl> + expand_link : ( event ) = > <nl> + event . preventDefault ( ) <nl> + event . target . blur ( ) ; <nl> + @ model . set ( expanded : not @ model . get ( ' expanded ' ) ) <nl> + <nl> + expanded_changed : = > <nl> + @ $ ( ' . reconfigure - diff ' ) . toggleClass ( ' expanded ' ) <nl> + @ $ ( ' . expand - tree ' ) . toggleClass ( ' expanded ' ) <nl> + $ ( ' . reconfigure - modal ' ) . toggleClass ( ' expanded ' ) <nl> + $ ( ' . expandbox ' ) . toggleClass ( ' expanded ' ) <nl> + <nl> + render : = > <nl> + super $ . extend ( @ model . toJSON ( ) , <nl> + modal_title : " Sharding and replication for " + <nl> + " # { @ model . get ( ' db ' ) } . # { @ model . get ( ' name ' ) } " <nl> + btn_primary_text : ' Apply configuration ' <nl> + ) <nl> + <nl> + @ diff_view = new TableView . ReconfigureDiffView <nl> + model : @ model <nl> + el : @ $ ( ' . reconfigure - diff ' ) [ 0 ] <nl> + @ <nl> + <nl> + change_errors : = > <nl> + # This shows and hides all errors . The error messages <nl> + # themselves are stored in the corresponding template and <nl> + # are just hidden by default . <nl> + errors = @ model . get ( ' errors ' ) <nl> + @ $ ( ' . alert . error p . error ' ) . removeClass ( ' shown ' ) <nl> + @ $ ( ' . alert . error p . error . server - msg ' ) . html ( ' ' ) <nl> + if errors . length > 0 <nl> + @ $ ( ' . btn . btn - primary ' ) . prop disabled : true <nl> + @ $ ( ' . alert . error ' ) . addClass ( ' shown ' ) <nl> + for error in errors <nl> + message = @ $ ( " . alert . error p . error . # { error } " ) . addClass ( ' shown ' ) <nl> + if error = = ' server - msg ' <nl> + message ( ' . server - message ' ) . append ( @ model . get ( ' server_error ' ) ) <nl> + else <nl> + @ error_on_empty = false <nl> + @ $ ( ' . btn . btn - primary ' ) . removeAttr ' disabled ' <nl> + @ $ ( ' . alert . error ' ) . removeClass ( ' shown ' ) <nl> + <nl> + remove : = > <nl> + if diff_view ? <nl> + diff_view . remove ( ) <nl> + super ( ) <nl> + <nl> + change_replicas : = > <nl> + replicas = parseInt @ $ ( ' . replicas . inline - edit ' ) . val ( ) <nl> + # If the text box isn ' t a number ( empty , or some letters <nl> + # or something ) , we don ' t actually update the model . The <nl> + # exception is if we ' ve hit the apply button , which will <nl> + # set @ error_on_empty = true . In this case we update the <nl> + # model so that an error will be shown to the user that <nl> + # they must enter a valid value before applying changes . <nl> + if not isNaN ( replicas ) or @ error_on_empty <nl> + @ model . set num_replicas_per_shard : replicas <nl> + <nl> + change_shards : = > <nl> + shards = parseInt @ $ ( ' . shards . inline - edit ' ) . val ( ) <nl> + # See comment in @ change_replicas <nl> + if not isNaN ( shards ) or @ error_on_empty <nl> + @ model . set num_shards : shards <nl> + <nl> + on_submit : - > <nl> + # We set @ error_on_empty to true to cause validation to <nl> + # fail if the text boxes are empty . Normally , we don ' t <nl> + # want to show an error , since the box is probably only <nl> + # empty for a moment before the user types in a <nl> + # number . But on submit , we need to ensure an invalid <nl> + # configuration isn ' t requested . <nl> + @ error_on_empty = true <nl> + # Now we call change_replicas , change_shards , and <nl> + # get_errors to ensure validation happens before submit . <nl> + # get_errors will set @ error_on_empty to false once all <nl> + # errors have been dealt with . <nl> + @ change_replicas ( ) <nl> + @ change_shards ( ) <nl> + if @ get_errors ( ) <nl> + return <nl> + else <nl> + super <nl> + # Here we pull out only servers that are new or modified , <nl> + # because we ' re going to set the configuration all at once <nl> + # to the proper value , so deleted servers shouldn ' t be <nl> + # included . <nl> + new_or_unchanged = ( doc ) - > <nl> + doc ( ' change ' ) . eq ( ' added ' ) . or ( doc ( ' change ' ) . not ( ) ) <nl> + # We ' re using ReQL to transform the configuration data <nl> + # structure from the format useful for the view , to the <nl> + # format that table_config requires . <nl> + new_shards = r . expr ( @ model . get ( ' shards ' ) ) . filter ( new_or_unchanged ) <nl> + . map ( ( shard ) - > <nl> + primary_replica : shard ( ' replicas ' ) . filter ( role : ' primary ' ) ( 0 ) ( ' id ' ) <nl> + replicas : shard ( ' replicas ' ) . filter ( new_or_unchanged ) ( ' id ' ) <nl> + ) <nl> + <nl> + query = r . db ( system_db ) . table ( ' table_config ' , identifierFormat : ' uuid ' ) <nl> + . get ( @ model . get ( ' id ' ) ) <nl> + . update { shards : new_shards } , { returnChanges : true } <nl> + driver . run_once query , ( error , result ) = > <nl> + if error ? <nl> + @ model . set server_error : error . msg <nl> + else <nl> + @ reset_buttons ( ) <nl> + @ remove ( ) <nl> + parent = @ model . get ( ' parent ' ) <nl> + parent . model . set <nl> + num_replicas_per_shard : @ model . get ' num_replicas_per_shard ' <nl> + num_shards : @ model . get ' num_shards ' <nl> + # This is so that the progress bar for <nl> + # reconfiguration shows up immediately when the <nl> + # reconfigure modal closes , rather than waiting <nl> + # for the state check every 5 seconds . <nl> + parent . progress_bar . skip_to_processing ( ) <nl> + @ model . get ( ' parent ' ) . fetch_progress ( ) <nl> + <nl> + get_errors : = > <nl> + # This method checks for anything the server will reject <nl> + # that we can predict beforehand . <nl> + errors = [ ] <nl> + num_shards = @ model . get ( ' num_shards ' ) <nl> + num_replicas = @ model . get ( ' num_replicas_per_shard ' ) <nl> + num_servers = @ model . get ( ' num_servers ' ) <nl> + num_default_servers = @ model . get ( ' num_default_servers ' ) <nl> + <nl> + # check shard errors <nl> + if num_shards = = 0 <nl> + errors . push ' zero - shards ' <nl> + else if isNaN num_shards <nl> + errors . push ' no - shards ' <nl> + else if num_shards > num_default_servers <nl> + if num_shards > num_servers <nl> + errors . push ' too - many - shards ' <nl> + else <nl> + errors . push ' not - enough - defaults - shard ' <nl> + <nl> + # check replicas per shard errors <nl> + if num_replicas = = 0 <nl> + errors . push ' zero - replicas ' <nl> + else if isNaN num_replicas <nl> + errors . push ' no - replicas ' <nl> + else if num_replicas > num_default_servers <nl> + if num_replicas > num_servers <nl> + errors . push ' too - many - replicas ' <nl> + else <nl> + errors . push ' not - enough - defaults - replica ' <nl> + <nl> + # check for server error <nl> + if @ model . get ( ' server_error ' ) ? <nl> + errors . push ' server - error ' <nl> + <nl> + @ model . set errors : errors <nl> + if errors . length > 0 <nl> + @ model . set shards : [ ] <nl> + errors . length > 0 or ( errors . length = = 1 and @ model . get ( ' server_error ' ) ? ) <nl> + <nl> + <nl> + <nl> + fetch_dryrun : = > <nl> + # This method takes the users shards and replicas per <nl> + # server values and runs table . reconfigure ( . . . , { dryRun : <nl> + # true } ) to see how the cluster would satisfy those <nl> + # constraints . We don ' t want to run it however , if either <nl> + # shards or clusters is a bad value . <nl> + if @ get_errors ( ) <nl> + return <nl> + id = ( x ) - > x <nl> + query = r . db ( @ model . get ( ' db ' ) ) <nl> + . table ( @ model . get ( ' name ' ) ) <nl> + . reconfigure ( <nl> + shards : @ model . get ( ' num_shards ' ) <nl> + replicas : @ model . get ( ' num_replicas_per_shard ' ) <nl> + dryRun : true <nl> + ) ( ' config_changes ' ) ( 0 ) <nl> + . do ( ( diff ) - > <nl> + r . object ( r . args ( diff . keys ( ) . map ( ( key ) - > <nl> + [ key , diff ( key ) ( ' shards ' ) ] <nl> + ) . concatMap ( id ) ) ) <nl> + ) . do ( ( doc ) - > <nl> + doc . merge <nl> + # this creates a servername - > id map we can <nl> + # use later to create the links <nl> + lookups : r . object ( r . args ( <nl> + doc ( ' new_val ' ) ( ' replicas ' ) . concatMap ( id ) <nl> + . setUnion ( doc ( ' old_val ' ) ( ' replicas ' ) . concatMap ( id ) ) <nl> + . concatMap ( server ) - > [ <nl> + server , <nl> + r . db ( system_db ) . table ( ' server_status ' ) <nl> + . filter ( name : server ) ( 0 ) ( ' id ' ) <nl> + ] <nl> + ) ) <nl> + ) <nl> + <nl> + driver . run_once query , ( error , result ) = > <nl> + if error ? <nl> + @ model . set <nl> + server_error : error . msg <nl> + shards : [ ] <nl> + else <nl> + @ model . set server_error : null <nl> + @ model . set <nl> + shards : @ fixup_shards result . old_val , <nl> + result . new_val <nl> + result . lookups <nl> + <nl> + # Sorts shards in order of current primary first , old primary ( if <nl> + # any ) , then secondaries in lexicographic order <nl> + shard_sort : ( a , b ) - > <nl> + if a . role = = ' primary ' <nl> + - 1 <nl> + else if ' primary ' in [ b . role , b . old_role ] <nl> + + 1 <nl> + else if a . role = = b . role <nl> + if a . name = = b . name <nl> + 0 <nl> + else if a . name < b . name <nl> + - 1 <nl> + else <nl> + + 1 <nl> + <nl> + # determines role of a replica <nl> + role : ( isPrimary ) - > <nl> + if isPrimary then ' primary ' else ' secondary ' <nl> + <nl> + fixup_shards : ( old_shards , new_shards , lookups ) = > <nl> + # This does the mapping from a { new_val : . . . , old_val : <nl> + # . . . } result from the dryRun reconfigure , and maps it to <nl> + # a data structure that ' s convenient for the view to <nl> + # use . ( @ on_submit maps it back when applying changes to <nl> + # the cluster ) <nl> + # <nl> + # All of the " diffing " occurs in this function , it <nl> + # detects added / removed servers and detects role changes . <nl> + # This function has a lot of repetition , but removing the <nl> + # repetition made the function much more difficult to <nl> + # understand ( and debug ) , so I left it in . <nl> + shard_diffs = [ ] <nl> + if @ model . get ( ' total_keys ' ) < new_shards . length <nl> + @ model . set <nl> + error : <nl> + " This table doesn ' t have enough documents for this many shards " <nl> + return [ ] <nl> + # first handle shards that are in old ( and possibly in new ) <nl> + for old_shard , i in old_shards <nl> + if i > = new_shards . length <nl> + new_shard = { primary_replica : null , replicas : [ ] } <nl> + shard_deleted = true <nl> + else <nl> + new_shard = new_shards [ i ] <nl> + shard_deleted = false <nl> + <nl> + shard_diff = <nl> + replicas : [ ] <nl> + change : if shard_deleted then ' deleted ' else null <nl> + <nl> + # handle any deleted and remaining replicas for this shard <nl> + for replica in old_shard . replicas <nl> + replica_deleted = replica not in new_shard . replicas <nl> + if replica_deleted <nl> + new_role = null <nl> + else <nl> + new_role = @ role ( replica = = new_shard . primary_replica ) <nl> + old_role = @ role ( replica = = old_shard . primary_replica ) <nl> + <nl> + shard_diff . replicas . push <nl> + name : replica <nl> + id : lookups [ replica ] <nl> + change : if replica_deleted then ' deleted ' else null <nl> + role : new_role <nl> + old_role : old_role <nl> + role_change : not replica_deleted and new_role ! = old_role <nl> + # handle any new replicas for this shard <nl> + for replica in new_shard . replicas <nl> + if replica in old_shard . replicas <nl> + continue <nl> + shard_diff . replicas . push <nl> + name : replica <nl> + id : lookups [ replica ] <nl> + change : ' added ' <nl> + role : @ role ( replica = = new_shard . primary_replica ) <nl> + old_role : null <nl> + role_change : false <nl> + <nl> + shard_diff . replicas . sort @ shard_sort <nl> + shard_diffs . push ( shard_diff ) <nl> + # now handle any new shards beyond what old_shards has <nl> + for new_shard in new_shards . slice ( old_shards . length ) <nl> + shard_diff = <nl> + replicas : [ ] <nl> + change : ' added ' <nl> + for replica in new_shard . replicas <nl> + shard_diff . replicas . push <nl> + name : replica <nl> + id : lookups [ replica ] <nl> + change : ' added ' <nl> + role : @ role ( replica = = new_shard . primary_replica ) <nl> + old_role : null <nl> + role_change : false <nl> + shard_diff . replicas . sort @ shard_sort <nl> + shard_diffs . push ( shard_diff ) <nl> + shard_diffs <nl> mmm a / admin / static / coffee / models . coffee <nl> ppp b / admin / static / coffee / models . coffee <nl> class Tables extends Backbone . Collection <nl> <nl> class Table extends Backbone . Model <nl> <nl> + class Reconfigure extends Backbone . Model <nl> + <nl> class Databases extends Backbone . Collection <nl> model : Database <nl> name : ' Databases ' <nl> deleted file mode 100644 <nl> index 811e5e0f447 . . 00000000000 <nl> mmm a / admin / static / coffee / tables / replicas . coffee <nl> ppp / dev / null <nl> <nl> - # Copyright 2010 - 2012 RethinkDB , all rights reserved . <nl> - <nl> - # Namespace view <nl> - module ' TableView ' , - > <nl> - class @ Replicas extends Backbone . View <nl> - className : ' namespace - replicas ' <nl> - template : <nl> - main : Handlebars . templates [ ' replica - template ' ] <nl> - status : Handlebars . templates [ ' replica_status - template ' ] <nl> - alert : Handlebars . templates [ ' replica - alert - template ' ] <nl> - <nl> - events : <nl> - ' click . edit . btn ' : ' toggle_edit ' <nl> - ' click . cancel . btn ' : ' toggle_edit ' <nl> - ' click . update - replicas . btn ' : ' update_replicas ' <nl> - ' keypress # replicas_value ' : ' handle_keypress ' <nl> - <nl> - initialize : = > <nl> - @ editable = false <nl> - <nl> - @ listenTo @ model , ' change : num_replicas ' , @ render <nl> - @ listenTo @ model , ' change : num_available_replicas ' , @ render_status <nl> - <nl> - @ progress_bar = new UIComponents . OperationProgressBar @ template . status <nl> - @ timer = null <nl> - <nl> - toggle_edit : = > <nl> - @ editable = not @ editable <nl> - @ render ( ) <nl> - <nl> - if @ editable is true <nl> - @ $ ( ' # replicas_value ' ) . select ( ) <nl> - <nl> - handle_keypress : ( event ) = > <nl> - if event . which is 13 <nl> - @ update_replicas ( ) <nl> - <nl> - <nl> - # Execute a fadeOut / fn / fadeIn or fn / slideDown <nl> - render_replicas_error : ( fn ) = > <nl> - if @ $ ( ' . settings_alert ' ) . css ( ' display ' ) is ' block ' <nl> - @ $ ( ' . settings_alert ' ) . fadeOut ' fast ' , = > <nl> - fn ( ) <nl> - @ $ ( ' . settings_alert ' ) . fadeIn ' fast ' <nl> - else <nl> - fn ( ) <nl> - @ $ ( ' . settings_alert ' ) . slideDown ' fast ' <nl> - <nl> - update_replicas : = > <nl> - new_num_replicas = parseInt @ $ ( ' # replicas_value ' ) . val ( ) <nl> - if Math . round ( new_num_replicas ) isnt new_num_replicas <nl> - @ render_replicas_error ( ) = > <nl> - @ $ ( ' . settings_alert ' ) . html @ template . alert <nl> - not_int : true <nl> - return 1 <nl> - if new_num_replicas > @ model . get ' max_replicas_per_shard ' <nl> - @ render_replicas_error ( ) = > <nl> - @ $ ( ' . settings_alert ' ) . html @ template . alert <nl> - too_many_replicas : true <nl> - num_replicas : new_num_replicas <nl> - max_num_replicas : @ model . get ' max_replicas_per_shard ' <nl> - return 1 <nl> - if new_num_replicas < 1 <nl> - @ render_replicas_error ( ) = > <nl> - @ $ ( ' . settings_alert ' ) . html @ template . alert <nl> - need_at_least_one_replica : true <nl> - @ $ ( ' . settings_alert ' ) . fadeIn ' fast ' <nl> - return 1 <nl> - <nl> - query = r . db ( @ model . get ( ' db ' ) ) . table ( @ model . get ( ' name ' ) ) . reconfigure ( <nl> - r . db ( system_db ) . table ( ' table_config ' ) . get ( @ model . get ( ' id ' ) ) ( ' shards ' ) . count ( ) , <nl> - new_num_replicas <nl> - ) <nl> - driver . run_once query , ( error , result ) = > <nl> - if error ? <nl> - @ render_replicas_error ( ) = > <nl> - @ $ ( ' . settings_alert ' ) . html @ template . alert <nl> - server_error : true <nl> - error : error <nl> - @ $ ( ' . settings_alert ' ) . fadeIn ' fast ' <nl> - else <nl> - @ toggle_edit ( ) <nl> - <nl> - # Triggers the start on the progress bar <nl> - @ progress_bar . render ( <nl> - @ model . get ( ' num_available_replicas ' ) , <nl> - @ model . get ( ' num_replicas ' ) , <nl> - { new_value : @ model . get ( ' num_replicas ' ) } <nl> - ) <nl> - <nl> - @ model . set <nl> - num_replicas_per_shard : result . shards [ 0 ] . replicas . length # = new_num_replicas <nl> - num_replicas : @ model . get ( " num_shards " ) * result . shards [ 0 ] . replicas . length <nl> - num_available_replicas : 0 <nl> - num_available_shards : 0 <nl> - <nl> - return 0 <nl> - <nl> - fetch_progress : = > <nl> - # Keep ignore in window ? <nl> - # We also fetch shards <nl> - <nl> - driver . run query , ( error , result ) = > <nl> - if error ? <nl> - # This can happen if the table is temporary unavailable . We log the error , and ignore it <nl> - console . log " Nothing bad - Could not fetch replicas statuses " <nl> - console . log error <nl> - else <nl> - @ model . set result <nl> - @ render_status ( ) # Force to refresh the progress bar <nl> - <nl> - # Render the status of the replicas and the progress bar if needed <nl> - render_status : = > <nl> - # TODO Handle backfilling when available on the API <nl> - if @ model . get ( ' num_available_replicas ' ) < @ model . get ( ' num_replicas ' ) <nl> - if not @ timer ? <nl> - ignore = ( shard ) - > shard ( ' role ' ) . ne ( ' nothing ' ) <nl> - query = <nl> - r . db ( system_db ) . table ( ' table_status ' ) . get ( @ model . get ( ' id ' ) ) . do ( ( table ) - > <nl> - r . branch ( <nl> - table . eq ( null ) , <nl> - null , <nl> - table . merge ( <nl> - num_replicas : table ( " shards " ) . concatMap ( ( shard ) - > shard ) . filter ( ignore ) . count ( ) <nl> - num_available_replicas : table ( " shards " ) . concatMap ( ( shard ) - > shard ) . filter ( ignore ) . filter ( { state : " ready " } ) . count ( ) <nl> - num_shards : table ( " shards " ) . count ( ) <nl> - num_available_shards : table ( " shards " ) . concatMap ( ( shard ) - > shard ) . filter ( { role : " primary_replica " , state : " ready " } ) . count ( ) <nl> - ) <nl> - ) <nl> - ) <nl> - <nl> - @ timer = driver . run query , 1000 , ( error , result ) = > <nl> - if error ? <nl> - # This can happen if the table is temporary unavailable . We log the error , and ignore it <nl> - console . log " Nothing bad - Could not fetch replicas statuses " <nl> - console . log error <nl> - else <nl> - @ model . set result <nl> - @ render_status ( ) # Force to refresh the progress bar <nl> - <nl> - if @ progress_bar . get_stage ( ) is ' none ' <nl> - @ progress_bar . skip_to_processing ( ) # if the stage is ' none ' , we skipt to processing <nl> - else if @ model . get ( ' num_available_replicas ' ) is @ model . get ( ' num_replicas ' ) <nl> - if @ timer ? <nl> - driver . stop_timer @ timer <nl> - @ timer = null <nl> - <nl> - <nl> - progress_bar_info = <nl> - got_response : true <nl> - <nl> - @ progress_bar . render ( <nl> - @ model . get ( ' num_available_replicas ' ) , <nl> - @ model . get ( ' num_replicas ' ) , <nl> - progress_bar_info <nl> - ) <nl> - <nl> - render : = > <nl> - @ $ el . html @ template . main <nl> - editable : @ editable <nl> - max_replicas_per_shard : @ model . get ' max_replicas_per_shard ' <nl> - num_replicas_per_shard : @ model . get ' num_replicas_per_shard ' <nl> - <nl> - if @ editable is true <nl> - @ $ ( ' # replicas_value ' ) . select ( ) <nl> - <nl> - @ $ ( ' . replica - status ' ) . html @ progress_bar . render ( <nl> - @ model . get ( ' num_available_replicas ' ) , <nl> - @ model . get ( ' num_replicas ' ) , <nl> - { got_response : true } <nl> - ) . $ el <nl> - <nl> - @ render_status ( ) <nl> - @ <nl> - <nl> - remove : = > <nl> - if @ timer <nl> - driver . stop_timer @ timer <nl> - @ timer = null <nl> - @ progress_bar . remove ( ) <nl> - super ( ) <nl> mmm a / admin / static / coffee / tables / shards . coffee <nl> ppp b / admin / static / coffee / tables / shards . coffee <nl> module ' TableView ' , - > <nl> className : ' shards_container ' <nl> template : <nl> main : Handlebars . templates [ ' shards_container - template ' ] <nl> - status : Handlebars . templates [ ' shard_status - template ' ] <nl> <nl> view_template : Handlebars . templates [ ' view_shards - template ' ] <nl> edit_template : Handlebars . templates [ ' edit_shards - template ' ] <nl> module ' TableView ' , - > <nl> <nl> <nl> initialize : ( data ) = > <nl> - @ listenTo @ model , ' change : num_available_shards ' , @ render_status <nl> if @ collection ? <nl> @ listenTo @ collection , ' update ' , @ render_data_distribution <nl> <nl> module ' TableView ' , - > <nl> @ shard_settings = new TableView . ShardSettings <nl> model : @ model <nl> container : @ <nl> - @ progress_bar = new UIComponents . OperationProgressBar @ template . status <nl> <nl> set_distribution : ( shards ) = > <nl> @ collection = shards <nl> @ listenTo @ collection , ' update ' , @ render_data_distribution <nl> @ render_data_distribution ( ) <nl> <nl> - <nl> - # Render the status of sharding <nl> - render_status : = > <nl> - # If some shards are not ready , it means some replicas are also not ready <nl> - # In this case the replicas view will call fetch_progress every seconds , <nl> - # so we do need to set an interval to refresh more often <nl> - progress_bar_info = <nl> - got_response : true <nl> - <nl> - if @ model . get ( ' num_available_shards ' ) < @ model . get ( ' num_shards ' ) <nl> - if @ progress_bar . get_stage ( ) is ' none ' <nl> - @ progress_bar . skip_to_processing ( ) # if the stage is ' none ' , we skipt to processing <nl> - <nl> - @ progress_bar . render ( <nl> - @ model . get ( ' num_available_shards ' ) , <nl> - @ model . get ( ' num_shards ' ) , <nl> - progress_bar_info <nl> - ) <nl> - return @ <nl> - <nl> render : = > <nl> @ $ el . html @ template . main ( ) <nl> @ $ ( ' . edit - shards ' ) . html @ shard_settings . render ( ) . $ el <nl> - <nl> - @ $ ( ' . shard - status ' ) . html @ progress_bar . render ( <nl> - @ model . get ( ' num_available_shards ' ) , <nl> - @ model . get ( ' num_shards ' ) , <nl> - { got_response : true } <nl> - ) . $ el <nl> - <nl> @ init_chart = false <nl> setTimeout = > # Let the element be inserted in the main DOM tree <nl> @ render_data_distribution ( ) <nl> module ' TableView ' , - > <nl> @ $ ( ' . outdated_distribution ' ) . slideDown ' fast ' <nl> <nl> render_data_distribution : = > <nl> - if not @ collection ? <nl> - return 0 <nl> + if not @ collection ? or @ collection . length = = 0 <nl> + # Sometimes , while reconfiguring , the collection of <nl> + # shards is unavailable . Rather than error out , we <nl> + # just refuse to re - render the distribution until the <nl> + # data is available again . <nl> + return <nl> <nl> $ ( ' . tooltip ' ) . remove ( ) <nl> <nl> module ' TableView ' , - > <nl> @ $ ( ' . outdated_distribution ' ) . slideUp ' fast ' <nl> @ $ ( ' . shard - diagram ' ) . show ( ) <nl> <nl> - max_keys = d3 . max @ collection . models , ( shard ) - > return shard . get ( ' num_keys ' ) <nl> - min_keys = d3 . min @ collection . models , ( shard ) - > return shard . get ( ' num_keys ' ) <nl> + max_keys = d3 . max ( @ collection . models , ( shard ) - > <nl> + return shard . get ( ' num_keys ' ) ) ? 100 <nl> + min_keys = d3 . min ( @ collection . models , ( shard ) - > <nl> + return shard . get ( ' num_keys ' ) ) ? 0 <nl> <nl> svg_width = 328 # Width of the whole svg <nl> svg_height = 270 # Height of the whole svg <nl> module ' TableView ' , - > <nl> . attr ( ' width ' , bar_width ) <nl> . attr ( ' height ' , ( d ) - > return y ( d . num_keys ) ) <nl> . attr ( ' title ' , ( d ) - > <nl> - return " Shard : # { d . index } < br / > ~ # { d . num_keys } keys " <nl> + return " Shard # { d . index + 1 } < br / > ~ # { d . num_keys } keys " <nl> ) <nl> <nl> bars . transition ( ) <nl> module ' TableView ' , - > <nl> axe_legend = [ ] <nl> axe_legend . push <nl> x : margin_width <nl> - y : Math . floor ( margin_height / 2 ) <nl> + y : Math . floor ( margin_height / 2 + 2 ) <nl> string : ' Docs ' <nl> anchor : ' middle ' <nl> axe_legend . push <nl> module ' TableView ' , - > <nl> ignore = ( shard ) - > shard ( ' role ' ) . ne ( ' nothing ' ) <nl> query = r . db ( @ model . get ( ' db ' ) ) . table ( @ model . get ( ' name ' ) ) . reconfigure ( <nl> new_num_shards , <nl> - r . db ( system_db ) . table ( ' table_status ' ) . get ( @ model . get ( ' id ' ) ) ( ' shards ' ) . nth ( 0 ) . filter ( ignore ) . count ( ) <nl> + r . db ( system_db ) . table ( ' table_status ' ) <nl> + . get ( @ model . get ( ' id ' ) ) ( ' shards ' ) ( 0 ) . filter ( ignore ) . count ( ) <nl> ) <nl> driver . run_once query , ( error , result ) = > <nl> if error ? <nl> mmm a / admin / static / coffee / tables / table . coffee <nl> ppp b / admin / static / coffee / tables / table . coffee <nl> module ' TableView ' , - > <nl> @ distribution = null <nl> @ table_view = null <nl> <nl> + @ guaranteed_timer = null <nl> + @ failable_timer = null <nl> + <nl> @ fetch_data ( ) <nl> <nl> fetch_data : = > <nl> this_id = @ id <nl> - query = <nl> + # This query should succeed as long as the cluster is <nl> + # available , since we get it from the system tables . Info <nl> + # we don ' t get from the system tables includes things like <nl> + # table / shard counts , or secondary index status . Those are <nl> + # obtained from table . info ( ) and table . indexStatus ( ) below <nl> + # in ` failable_query ` so if they fail we still get the <nl> + # data available in the system tables . <nl> + guaranteed_query = <nl> r . do ( <nl> r . db ( system_db ) . table ( ' server_config ' ) . coerceTo ( ' array ' ) , <nl> - r . db ( system_db ) . table ( ' server_config ' ) . count ( ) , <nl> r . db ( system_db ) . table ( ' table_status ' ) . get ( this_id ) , <nl> r . db ( system_db ) . table ( ' table_config ' ) . get ( this_id ) , <nl> - ( server_config , num_servers , table , table_config ) - > <nl> + ( server_config , table , table_config ) - > <nl> r . branch ( <nl> table . eq ( null ) , <nl> null , <nl> table . merge ( <nl> + max_shards : 32 <nl> num_shards : table ( " shards " ) . count ( ) <nl> - num_available_shards : table ( " shards " ) . filter ( ( shard ) - > <nl> - shard ( ' replicas ' ) ( shard ( ' replicas ' ) ( ' server ' ) . indexesOf ( shard ( ' primary_replica ' ) ) ( 0 ) ) ( ' state ' ) . eq ( ' ready ' ) <nl> - ) . count ( ) <nl> + num_servers : server_config . count ( ) <nl> + num_default_servers : server_config . filter ( ( server ) - > <nl> + server ( ' tags ' ) . contains ( ' default ' ) ) . count ( ) <nl> + num_available_shards : table ( " shards " ) . count ( ( row ) - > row ( ' primary_replica ' ) . ne ( null ) ) <nl> num_replicas : table ( " shards " ) . concatMap ( ( shard ) - > shard ( ' replicas ' ) ) . count ( ) <nl> num_available_replicas : table ( " shards " ) . concatMap ( ( shard ) - > <nl> shard ( ' replicas ' ) . filter ( { state : " ready " } ) ) . count ( ) <nl> - max_replicas_per_shard : num_servers <nl> num_replicas_per_shard : table ( " shards " ) . map ( ( shard ) - > shard ( ' replicas ' ) . count ( ) ) . max ( ) <nl> status : table ( ' status ' ) <nl> - shards_assignments : table_config ( " shards " ) . map ( r . range ( ) , ( shard , position ) - > <nl> - id : position . add ( 1 ) <nl> - num_keys : ' N / A ' # updated below if table is ready <nl> - primary : <nl> - id : server_config . filter ( { name : shard ( " primary_replica " ) } ) . nth ( 0 ) ( " id " ) <nl> - name : shard ( " primary_replica " ) <nl> - replicas : shard ( " replicas " ) <nl> - . filter ( ( replica ) - > replica . ne ( shard ( " primary_replica " ) ) ) <nl> - . map ( name ) - > <nl> - id : server_config . filter ( { name : name } ) . nth ( 0 ) ( " id " ) <nl> - name : name <nl> - ) . coerceTo ( ' array ' ) <nl> id : table ( " id " ) <nl> # These are updated below if the table is ready <nl> - indexes : null <nl> - distribution : [ ] <nl> - total_keys : null <nl> - ) . do ( ( table ) - > <nl> - r . branch ( # We must be sure that the table is ready before retrieving these keys <nl> - table ( ' status ' ) ( ' ready_for_outdated_reads ' ) . not ( ) , <nl> - table , <nl> - table . merge ( { <nl> - indexes : r . db ( table ( " db " ) ) . table ( table ( " name " ) ) . indexStatus ( ) <nl> - . pluck ( ' index ' , ' ready ' , ' blocks_processed ' , ' blocks_total ' ) <nl> - . merge ( ( index ) - > { <nl> - id : index ( " index " ) <nl> - db : table ( " db " ) <nl> - table : table ( " name " ) <nl> - } ) # add an id for backbone <nl> - distribution : r . db ( table ( ' db ' ) ) <nl> - . table ( table ( ' name ' ) , useOutdated : true ) <nl> - . info ( ) ( ' doc_count_estimates ' ) <nl> - . map ( r . range ( ) , ( num_keys , position ) - > <nl> - num_keys : num_keys <nl> - id : position ) <nl> - . coerceTo ( ' array ' ) <nl> - total_keys : r . db ( table ( ' db ' ) ) <nl> - . table ( table ( ' name ' ) , useOutdated : true ) <nl> - . info ( ) ( ' doc_count_estimates ' ) <nl> - . sum ( ) <nl> - shards_assignments : table ( ' shards_assignments ' ) . map ( r . range ( ) , ( shard_assignment , position ) - > <nl> - shard_assignment . merge { <nl> - num_keys : r . db ( table ( ' db ' ) ) <nl> - . table ( table ( ' name ' ) , useOutdated : true ) <nl> - . info ( ) ( ' doc_count_estimates ' ) ( position ) <nl> - } <nl> - ) . coerceTo ( ' array ' ) <nl> - } ) <nl> - ) <nl> ) . without ( ' shards ' ) <nl> ) <nl> ) <nl> + # This query can throw an exception and failif the primary <nl> + # replica is unavailable ( which happens immediately after <nl> + # a reconfigure ) . Since this query makes use of <nl> + # table . info ( ) and table . indexStatus ( ) , it ' s separated <nl> + # from the guaranteed query above . <nl> + failable_query = r . do ( <nl> + r . db ( system_db ) . table ( ' table_status ' ) . get ( this_id ) , <nl> + r . db ( system_db ) . table ( ' table_config ' ) . get ( this_id ) , <nl> + r . db ( system_db ) . table ( ' server_config ' ) . coerceTo ( ' array ' ) , <nl> + ( table , table_config , server_config ) - > <nl> + table . merge ( { <nl> + indexes : r . db ( table ( " db " ) ) <nl> + . table ( table ( " name " ) , { useOutdated : true } ) <nl> + . indexStatus ( ) <nl> + . pluck ( ' index ' , ' ready ' , ' blocks_processed ' , ' blocks_total ' ) <nl> + . merge ( ( index ) - > { <nl> + id : index ( " index " ) <nl> + db : table ( " db " ) <nl> + table : table ( " name " ) <nl> + } ) # add an id for backbone <nl> + distribution : r . db ( table ( ' db ' ) ) <nl> + . table ( table ( ' name ' ) , { useOutdated : true } ) <nl> + . info ( ) ( ' doc_count_estimates ' ) <nl> + . map ( r . range ( ) , ( num_keys , position ) - > <nl> + num_keys : num_keys <nl> + id : position ) <nl> + . coerceTo ( ' array ' ) <nl> + total_keys : r . db ( table ( ' db ' ) ) <nl> + . table ( table ( ' name ' ) , { useOutdated : true } ) <nl> + . info ( ) ( ' doc_count_estimates ' ) <nl> + . sum ( ) <nl> + shards_assignments : table_config ( " shards " ) . map ( r . range ( ) , <nl> + ( shard , position ) - > <nl> + id : position . add ( 1 ) <nl> + num_keys : r . db ( table ( ' db ' ) ) <nl> + . table ( table ( ' name ' ) , { useOutdated : true } ) <nl> + . info ( ) ( ' doc_count_estimates ' ) ( position ) <nl> + primary : <nl> + id : server_config . filter ( { name : shard ( " primary_replica " ) } ) . nth ( 0 ) ( " id " ) <nl> + name : shard ( " primary_replica " ) <nl> + replicas : shard ( " replicas " ) <nl> + . filter ( ( replica ) - > replica . ne ( shard ( " primary_replica " ) ) ) <nl> + . map ( name ) - > <nl> + id : server_config . filter ( { name : name } ) . nth ( 0 ) ( " id " ) <nl> + name : name <nl> + ) . coerceTo ( ' array ' ) <nl> + } ) <nl> + ) <nl> + # This timer keeps track of the failable query , so we can <nl> + # cancel it when we navigate away from the table page . <nl> + @ failable_timer = driver . run failable_query , 1000 , ( error , result ) = > <nl> + if error ? <nl> + console . log error . msg <nl> + return <nl> + @ error = null <nl> + if @ indexes ? <nl> + @ indexes . set _ . map ( result . indexes , ( index ) - > new Index index ) <nl> + else <nl> + @ indexes = new Indexes _ . map result . indexes , ( index ) - > <nl> + new Index index <nl> + @ table_view ? . set_indexes @ indexes <nl> + if @ distribution ? <nl> + @ distribution . set _ . map result . distribution , ( shard ) - > <nl> + new Shard shard <nl> + @ distribution . trigger ' update ' <nl> + else <nl> + @ distribution = new Distribution _ . map ( <nl> + result . distribution , ( shard ) - > new Shard shard ) <nl> + @ table_view ? . set_distribution @ distribution <nl> + shards_assignments = [ ] <nl> + for shard in result . shards_assignments <nl> + shards_assignments . push <nl> + id : " start_shard_ # { shard . id } " <nl> + shard_id : shard . id <nl> + num_keys : shard . num_keys <nl> + start_shard : true <nl> + <nl> + shards_assignments . push <nl> + id : " shard_primary_ # { shard . id } " <nl> + primary : true <nl> + shard_id : shard . id <nl> + data : shard . primary <nl> + <nl> + for replica , position in shard . replicas <nl> + shards_assignments . push <nl> + id : " shard_replica_ # { shard . id } _ # { position } " <nl> + replica : true <nl> + replica_position : position <nl> + shard_id : shard . id <nl> + data : replica <nl> + <nl> + shards_assignments . push <nl> + id : " end_shard_ # { shard . id } " <nl> + shard_id : shard . id <nl> + end_shard : true <nl> + <nl> + if @ shards_assignments ? <nl> + @ shards_assignments . set _ . map shards_assignments , ( shard ) - > <nl> + new ShardAssignment shard <nl> + else <nl> + @ shards_assignments = new ShardAssignments ( <nl> + _ . map shards_assignments , <nl> + ( shard ) - > new ShardAssignment shard <nl> + ) <nl> + @ table_view ? . set_assignments @ shards_assignments <nl> + if @ model ? <nl> + @ model . set result <nl> + else <nl> + @ model = new Table result <nl> + @ table_view = new TableView . TableMainView <nl> + model : @ model <nl> + indexes : @ indexes <nl> + distribution : @ distribution <nl> + shards_assignments : @ shards_assignments <nl> + @ render ( ) <nl> + <nl> <nl> - @ timer = driver . run query , 5000 , ( error , result ) = > <nl> + # This timer keeps track of the guaranteed query , running <nl> + # it every 5 seconds . We cancel it when navigating away <nl> + # from the table page . <nl> + @ guaranteed_timer = driver . run guaranteed_query , 5000 , ( error , result ) = > <nl> if error ? <nl> # TODO : We may want to render only if we failed to open a connection <nl> # TODO : Handle when the table is deleted <nl> module ' TableView ' , - > <nl> @ render ( ) <nl> else <nl> @ loading = false <nl> - if result . indexes ? <nl> - if @ indexes ? <nl> - @ indexes . set _ . map ( result . indexes , ( index ) - > new Index index ) <nl> - else <nl> - @ indexes = new Indexes _ . map result . indexes , ( index ) - > new Index index <nl> - <nl> - @ table_view ? . set_indexes @ indexes <nl> - delete result . indexes <nl> - else <nl> - @ indexes = null <nl> - <nl> - if result . distribution ? <nl> - if @ distribution ? <nl> - @ distribution . set _ . map result . distribution , ( shard ) - > new Shard shard <nl> - @ distribution . trigger ' update ' <nl> - else <nl> - @ distribution = new Distribution _ . map ( result . distribution , ( shard ) - > new Shard shard ) <nl> - if @ table_view ? <nl> - @ table_view . set_distribution @ distribution <nl> - else <nl> - @ distribution = null <nl> - delete result . distribution <nl> - <nl> - <nl> - if result . shards_assignments ? <nl> - # Flatten all shards assignments because it ' s less work than handling nested collections <nl> - shards_assignments = [ ] <nl> - for shard in result . shards_assignments <nl> - shards_assignments . push <nl> - id : " start_shard_ # { shard . id } " <nl> - shard_id : shard . id <nl> - num_keys : shard . num_keys <nl> - start_shard : true <nl> - <nl> - shards_assignments . push <nl> - id : " shard_primary_ # { shard . id } " <nl> - primary : true <nl> - shard_id : shard . id <nl> - data : shard . primary <nl> - <nl> - for replica , position in shard . replicas <nl> - shards_assignments . push <nl> - id : " shard_replica_ # { shard . id } _ # { position } " <nl> - replica : true <nl> - replica_position : position <nl> - shard_id : shard . id <nl> - data : replica <nl> - <nl> - shards_assignments . push <nl> - id : " end_shard_ # { shard . id } " <nl> - shard_id : shard . id <nl> - end_shard : true <nl> - <nl> - if @ shards_assignments ? <nl> - @ shards_assignments . set _ . map shards_assignments , ( shard ) - > new ShardAssignment shard <nl> - else <nl> - @ shards_assignments = new ShardAssignments _ . map shards_assignments , ( shard ) - > new ShardAssignment shard <nl> - if @ table_view ? <nl> - @ table_view . set_assignments @ shards_assignments <nl> - <nl> - delete result . shards_assignments <nl> - <nl> if @ model ? <nl> @ model . set result <nl> else <nl> module ' TableView ' , - > <nl> type_all_url : ' tables ' <nl> @ <nl> remove : = > <nl> - driver . stop_timer @ timer <nl> + driver . stop_timer @ guaranteed_timer <nl> + driver . stop_timer @ failable_timer <nl> @ table_view ? . remove ( ) <nl> super ( ) <nl> <nl> module ' TableView ' , - > <nl> @ distribution = data . distribution <nl> @ shards_assignments = data . shards_assignments <nl> <nl> - # TODO Load distribution <nl> - <nl> # Panels for namespace view <nl> @ title = new TableView . Title <nl> model : @ model <nl> module ' TableView ' , - > <nl> @ secondary_indexes_view = new TableView . SecondaryIndexesView <nl> collection : @ indexes <nl> model : @ model <nl> - @ replicas = new TableView . Replicas <nl> - model : @ model <nl> @ shards = new TableView . Sharding <nl> collection : @ distribution <nl> model : @ model <nl> @ server_assignments = new TableView . ShardAssignmentsView <nl> model : @ model <nl> collection : @ shards_assignments <nl> + @ reconfigure = new TableView . ReconfigurePanel <nl> + model : @ model <nl> <nl> @ stats = new Stats <nl> @ stats_timer = driver . run ( <nl> module ' TableView ' , - > <nl> <nl> @ $ ( ' . performance - graph ' ) . html @ performance_graph . render ( ) . $ el <nl> <nl> - # Display the replicas <nl> - @ $ ( ' . replication ' ) . html @ replicas . render ( ) . el <nl> - <nl> # Display the shards <nl> @ $ ( ' . sharding ' ) . html @ shards . render ( ) . el <nl> <nl> module ' TableView ' , - > <nl> # Display the secondary indexes <nl> @ $ ( ' . secondary_indexes ' ) . html @ secondary_indexes_view . render ( ) . el <nl> <nl> + # Display server reconfiguration <nl> + @ $ ( ' . reconfigure - panel ' ) . html @ reconfigure . render ( ) . el <nl> + <nl> @ <nl> <nl> close_alert : ( event ) - > <nl> module ' TableView ' , - > <nl> remove : = > <nl> @ title . remove ( ) <nl> @ profile . remove ( ) <nl> - @ replicas . remove ( ) <nl> @ shards . remove ( ) <nl> @ server_assignments . remove ( ) <nl> @ performance_graph . remove ( ) <nl> @ secondary_indexes_view . remove ( ) <nl> + @ reconfigure . remove ( ) <nl> <nl> driver . stop_timer @ stats_timer <nl> <nl> module ' TableView ' , - > <nl> @ rename_modal . remove ( ) <nl> super ( ) <nl> <nl> + # TableView . ReconfigurePanel <nl> + class @ ReconfigurePanel extends Backbone . View <nl> + className : ' reconfigure - panel ' <nl> + templates : <nl> + main : Handlebars . templates [ ' reconfigure ' ] <nl> + status : Handlebars . templates [ ' replica_status - template ' ] <nl> + events : <nl> + ' click . reconfigure . btn ' : ' launch_modal ' <nl> + <nl> + initialize : ( obj ) = > <nl> + @ model = obj . model <nl> + @ listenTo @ model , ' change : num_shards ' , @ render <nl> + @ listenTo @ model , ' change : num_replicas_per_shard ' , @ render <nl> + @ listenTo @ model , ' change : num_available_replicas ' , @ render_status <nl> + @ progress_bar = new UIComponents . OperationProgressBar @ templates . status <nl> + @ timer = null <nl> + <nl> + launch_modal : = > <nl> + if @ reconfigure_modal ? <nl> + @ reconfigure_modal . remove ( ) <nl> + @ reconfigure_modal = new Modals . ReconfigureModal <nl> + model : new Reconfigure <nl> + parent : @ <nl> + id : @ model . get ( ' id ' ) <nl> + db : @ model . get ( ' db ' ) <nl> + name : @ model . get ( ' name ' ) <nl> + total_keys : @ model . get ( ' total_keys ' ) <nl> + shards : [ ] <nl> + max_shards : @ model . get ( ' max_shards ' ) <nl> + num_shards : @ model . get ( ' num_shards ' ) <nl> + num_servers : @ model . get ( ' num_servers ' ) <nl> + num_default_servers : @ model . get ( ' num_default_servers ' ) <nl> + num_replicas_per_shard : @ model . get ( ' num_replicas_per_shard ' ) <nl> + @ reconfigure_modal . render ( ) <nl> + <nl> + remove : = > <nl> + if @ reconfigure_modal ? <nl> + @ reconfigure_modal . remove ( ) <nl> + if @ timer ? <nl> + driver . stop_timer @ timer <nl> + @ timer = null <nl> + @ progress_bar . remove ( ) <nl> + super ( ) <nl> + <nl> + fetch_progress : = > <nl> + query = r . db ( system_db ) . table ( ' table_status ' ) <nl> + . get ( @ model . get ( ' id ' ) ) ( ' shards ' ) ( ' replicas ' ) . concatMap ( ( x ) - > x ) <nl> + . do ( ( replicas ) - > <nl> + num_available_replicas : replicas . filter ( state : ' ready ' ) . count ( ) <nl> + num_replicas : replicas . count ( ) <nl> + ) <nl> + if @ timer ? <nl> + driver . stop_timer @ timer <nl> + @ timer = null <nl> + @ timer = driver . run query , 1000 , ( error , result ) = > <nl> + if error ? <nl> + # This can happen if the table is temporarily <nl> + # unavailable . We log the error , and ignore it <nl> + console . log " Nothing bad - Could not fetch replicas statuses " <nl> + console . log error <nl> + else <nl> + @ model . set result <nl> + @ render_status ( ) # Force to refresh the progress bar <nl> + <nl> + # Render the status of the replicas and the progress bar if needed <nl> + render_status : = > <nl> + # TODO Handle backfilling when available in the api directly <nl> + if @ model . get ( ' num_available_replicas ' ) < @ model . get ( ' num_replicas ' ) <nl> + if not @ timer ? <nl> + @ fetch_progress ( ) <nl> + return <nl> + <nl> + if @ progress_bar . get_stage ( ) is ' none ' <nl> + @ progress_bar . skip_to_processing ( ) <nl> + <nl> + else if @ model . get ( ' num_available_replicas ' ) is @ model . get ( ' num_replicas ' ) <nl> + if @ timer ? <nl> + driver . stop_timer @ timer <nl> + @ timer = null <nl> + <nl> + @ progress_bar . render ( <nl> + @ model . get ( ' num_available_replicas ' ) , <nl> + @ model . get ( ' num_replicas ' ) , <nl> + { got_response : true } <nl> + ) <nl> + <nl> + render : = > <nl> + @ $ el . html @ templates . main @ model . toJSON ( ) <nl> + if @ model . get ( ' num_available_replicas ' ) < @ model . get ( ' num_replicas ' ) <nl> + if @ progress_bar . get_stage ( ) is ' none ' <nl> + @ progress_bar . skip_to_processing ( ) <nl> + @ $ ( ' . backfill - progress ' ) . html @ progress_bar . render ( <nl> + @ model . get ( ' num_available_replicas ' ) , <nl> + @ model . get ( ' num_replicas ' ) , <nl> + { got_response : true } , <nl> + ) . $ el <nl> + @ <nl> + <nl> + # TableView . ReconfigureDiffView <nl> + class @ ReconfigureDiffView extends Backbone . View <nl> + # This is just for the diff view in the reconfigure <nl> + # modal . It ' s so that the diff can be rerendered independently <nl> + # of the modal itself ( which includes the input form ) . If you <nl> + # rerended the entire modal , you lose focus in the text boxes <nl> + # since handlebars creates an entirely new dom tree . <nl> + # <nl> + # You can find the ReconfigureModal in coffee / modals . coffee <nl> + <nl> + className : ' reconfigure - diff ' <nl> + template : Handlebars . templates [ ' reconfigure - diff ' ] <nl> + initialize : = > <nl> + @ listenTo @ model , ' change : shards ' , @ render <nl> + <nl> + render : = > <nl> + @ $ el . html @ template @ model . toJSON ( ) <nl> + @ <nl> + <nl> # TableView . Title <nl> class @ Title extends Backbone . View <nl> className : ' namespace - info - view ' <nl> module ' TableView ' , - > <nl> @ $ ( ' . add_index_li ' ) . slideDown ' fast ' <nl> @ $ ( ' . create_container ' ) . slideUp ' fast ' <nl> @ $ ( ' . new_index_name ' ) . focus ( ) <nl> - <nl> + <nl> # Hide the form to add a secondary index <nl> hide_add_index : = > <nl> @ $ ( ' . add_index_li ' ) . slideUp ' fast ' <nl> module ' TableView ' , - > <nl> else if event . which is 27 # ESC <nl> event . preventDefault ( ) <nl> @ hide_add_index ( ) <nl> - <nl> + <nl> on_fail_to_connect : = > <nl> @ loading = false <nl> @ render_error <nl> module ' TableView ' , - > <nl> @ deleting_secondary_index = null <nl> event . preventDefault ( ) <nl> $ ( event . target ) . parent ( ) . slideUp ' fast ' <nl> - <nl> + <nl> remove : = > <nl> @ stopListening ( ) <nl> for view in @ indexes_view <nl> mmm a / admin / static / coffee / ui_components / modals . coffee <nl> ppp b / admin / static / coffee / ui_components / modals . coffee <nl> module ' UIComponents ' , - > <nl> template_data = { } if not template_data ? <nl> template_data = _ . extend template_data , <nl> modal_class : @ class <nl> - @ $ container . html @ template_outer template_data <nl> - $ ( ' . modal - body ' , @ $ container ) . html @ template template_data <nl> + @ $ container . html ( @ template_outer template_data ) . addClass ( ' visible ' ) <nl> + $ ( ' . modal - body ' , @ $ container ) . html ( @ template template_data ) <nl> <nl> # Note : Bootstrap ' s modal JS moves the modal from the container element to the end of the body tag in the DOM <nl> @ $ modal = $ ( ' . modal ' , @ $ container ) . modal <nl> module ' UIComponents ' , - > <nl> @ $ ( ' . custom_btn_placeholder > . ' + btn . class_str ) . button ( ) <nl> <nl> hide_modal : = > <nl> + @ $ container . removeClass ( ' visible ' ) <nl> @ $ modal . modal ( ' hide ' ) if @ $ modal ? <nl> <nl> cancel_modal : ( e ) - > <nl> mmm a / admin / static / coffee / util . coffee <nl> ppp b / admin / static / coffee / util . coffee <nl> Handlebars . registerHelper ' print_safe ' , ( str ) - > <nl> else <nl> return " " <nl> <nl> + # Increment a number <nl> + Handlebars . registerHelper ' inc ' , ( num ) - > num + 1 <nl> + <nl> # Register some useful partials <nl> Handlebars . registerPartial ' backfill_progress_summary ' , $ ( ' # backfill_progress_summary - partial ' ) . html ( ) <nl> Handlebars . registerPartial ' backfill_progress_details ' , $ ( ' # backfill_progress_details - partial ' ) . html ( ) <nl> new file mode 100644 <nl> index 00000000000 . . 883b86864a8 <nl> Binary files / dev / null and b / admin / static / fonts / ionicons . eot differ <nl> new file mode 100644 <nl> index 00000000000 . . a0ed5a16730 <nl> mmm / dev / null <nl> ppp b / admin / static / fonts / ionicons . svg <nl> <nl> + < ? xml version = " 1 . 0 " standalone = " no " ? > <nl> + < ! DOCTYPE svg PUBLIC " - / / W3C / / DTD SVG 1 . 1 / / EN " " http : / / www . w3 . org / Graphics / SVG / 1 . 1 / DTD / svg11 . dtd " > <nl> + < ! - - <nl> + 2014 - 12 - 3 : Created . <nl> + - - > <nl> + < svg xmlns = " http : / / www . w3 . org / 2000 / svg " > <nl> + < metadata > <nl> + Created by FontForge 20120731 at Wed Dec 3 12 : 38 : 33 2014 <nl> + By Adam Bradley <nl> + Created by Adam Bradley with FontForge 2 . 0 ( http : / / fontforge . sf . net ) <nl> + < / metadata > <nl> + < defs > <nl> + < font id = " Ionicons " horiz - adv - x = " 448 " > <nl> + < font - face <nl> + font - family = " Ionicons " <nl> + font - weight = " 500 " <nl> + font - stretch = " normal " <nl> + units - per - em = " 512 " <nl> + panose - 1 = " 2 0 6 3 0 0 0 0 0 0 " <nl> + ascent = " 448 " <nl> + descent = " - 64 " <nl> + bbox = " - 0 . 54049 - 64 512 . 487 448 " <nl> + underline - thickness = " 25 . 6 " <nl> + underline - position = " - 51 . 2 " <nl> + unicode - range = " U + F100 - F4F7 " <nl> + / > <nl> + < missing - glyph / > <nl> + < glyph glyph - name = " ion - alert - circled " unicode = " & # xf100 ; " <nl> + d = " M445 26c3 - 5 5 - 13 2 - 18s - 8 - 8 - 14 - 8h - 418c - 6 0 - 11 3 - 14 8s - 1 13 2 18l207 349c3 5 8 9 14 9s11 - 4 14 - 9zM256 48v48h - 64v - 48h64zM256 128v144h - 64v - 144h64z " / > <nl> + < glyph glyph - name = " ion - alert " unicode = " & # xf101 ; " horiz - adv - x = " 128 " <nl> + d = " M128 - 32h - 128v96h128v - 96zM112 128h - 96l - 16 288h128z " / > <nl> + < glyph glyph - name = " ion - android - add - circle " unicode = " & # xf359 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM315 171v42h - 86v86h - 42v - 86h - 86v - 42h86v - 86h42v86h86z " / > <nl> + < glyph glyph - name = " ion - android - add " unicode = " & # xf2c7 ; " horiz - adv - x = " 320 " <nl> + d = " M320 171h - 139v - 139h - 42v139h - 139v42h139v139h42v - 139h139v - 42z " / > <nl> + < glyph glyph - name = " ion - android - alarm - clock " unicode = " & # xf35a ; " horiz - adv - x = " 428 " <nl> + d = " M428 323l - 28 - 33l - 98 82l28 33zM125 373l - 97 - 83l - 28 33l97 83zM225 275v0v - 111l85 - 50l - 16 - 27l - 101 61v127h32zM214 360c106 0 193 - 86 193 - 191s - 87 - 191 - 193 - 191c - 107 0 - 193 86 - 193 191s86 191 193 191zM214 20c82 0 150 66 150 149c0 82 - 68 149 - 150 149 <nl> + s - 150 - 67 - 150 - 149s68 - 149 150 - 149z " / > <nl> + < glyph glyph - name = " ion - android - alert " unicode = " & # xf35b ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c114 0 208 - 94 208 - 208s - 94 - 208 - 208 - 208s - 208 94 - 208 208s94 208 208 208zM232 88v40h - 48v - 40h48zM232 176v128h - 48v - 128h48z " / > <nl> + < glyph glyph - name = " ion - android - apps " unicode = " & # xf35c ; " horiz - adv - x = " 320 " <nl> + d = " M0 272v80h80v - 80h - 80zM120 32v80h80v - 80h - 80zM0 32v80h80v - 80h - 80zM0 152v80h80v - 80h - 80zM120 152v80h80v - 80h - 80zM240 352h80v - 80h - 80v80zM120 272v80h80v - 80h - 80zM240 152v80h80v - 80h - 80zM240 32v80h80v - 80h - 80z " / > <nl> + < glyph glyph - name = " ion - android - archive " unicode = " & # xf2c9 ; " horiz - adv - x = " 416 " <nl> + d = " M406 348c7 - 7 10 - 17 10 - 29v - 289c0 - 25 - 21 - 46 - 46 - 46h - 324c - 25 0 - 46 21 - 46 46v289c0 12 3 22 10 29l33 39c6 8 16 13 26 13h278c10 0 20 - 5 26 - 13zM208 65l127 127h - 81v46h - 92v - 46h - 81zM49 354h317l - 22 23h - 277z " / > <nl> + < glyph glyph - name = " ion - android - arrow - back " unicode = " & # xf2ca ; " horiz - adv - x = " 342 " <nl> + d = " M342 213v - 42h - 260l119 - 120l - 30 - 30l - 171 171l171 171l31 - 30l - 120 - 120h260z " / > <nl> + < glyph glyph - name = " ion - android - arrow - down " unicode = " & # xf35d ; " horiz - adv - x = " 342 " <nl> + d = " M192 363v - 260l120 120l30 - 31l - 171 - 171l - 171 171l30 30l120 - 119v260h42z " / > <nl> + < glyph glyph - name = " ion - android - arrow - dropdown - circle " unicode = " & # xf35e ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 128l96 96h - 192z " / > <nl> + < glyph glyph - name = " ion - android - arrow - dropdown " unicode = " & # xf35f ; " horiz - adv - x = " 256 " <nl> + d = " M0 256h256l - 128 - 128z " / > <nl> + < glyph glyph - name = " ion - android - arrow - dropleft - circle " unicode = " & # xf360 ; " horiz - adv - x = " 416 " <nl> + d = " M416 192c0 - 115 - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208s208 - 93 208 - 208zM144 192l96 - 96v192z " / > <nl> + < glyph glyph - name = " ion - android - arrow - dropleft " unicode = " & # xf361 ; " horiz - adv - x = " 128 " <nl> + d = " M128 320v - 256l - 128 128z " / > <nl> + < glyph glyph - name = " ion - android - arrow - dropright - circle " unicode = " & # xf362 ; " horiz - adv - x = " 416 " <nl> + d = " M208 - 16c - 115 0 - 208 93 - 208 208s93 208 208 208s208 - 93 208 - 208s - 93 - 208 - 208 - 208zM176 96l96 96l - 96 96v - 192z " / > <nl> + < glyph glyph - name = " ion - android - arrow - dropright " unicode = " & # xf363 ; " horiz - adv - x = " 128 " <nl> + d = " M0 320l128 - 128l - 128 - 128v256z " / > <nl> + < glyph glyph - name = " ion - android - arrow - dropup - circle " unicode = " & # xf364 ; " horiz - adv - x = " 416 " <nl> + d = " M416 192c0 - 115 - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208s208 - 93 208 - 208zM304 160l - 96 96l - 96 - 96h192z " / > <nl> + < glyph glyph - name = " ion - android - arrow - dropup " unicode = " & # xf365 ; " horiz - adv - x = " 256 " <nl> + d = " M0 128l128 128l128 - 128h - 256z " / > <nl> + < glyph glyph - name = " ion - android - arrow - forward " unicode = " & # xf30f ; " horiz - adv - x = " 342 " <nl> + d = " M0 171v42h260l - 119 120l30 30l171 - 171l - 171 - 171l - 31 30l120 120h - 260z " / > <nl> + < glyph glyph - name = " ion - android - arrow - up " unicode = " & # xf366 ; " horiz - adv - x = " 342 " <nl> + d = " M192 21h - 42v260l - 120 - 119l - 30 30l171 171l171 - 171l - 30 - 31l - 120 120v - 260z " / > <nl> + < glyph glyph - name = " ion - android - attach " unicode = " & # xf367 ; " horiz - adv - x = " 235 " <nl> + d = " M203 320h32v - 235c0 - 65 - 53 - 117 - 118 - 117s - 117 52 - 117 117v246c0 47 38 85 85 85s86 - 38 86 - 85v - 246c0 - 30 - 24 - 53 - 54 - 53s - 53 23 - 53 53v203h32v - 203c0 - 12 9 - 21 21 - 21s22 9 22 21v246c0 30 - 24 53 - 54 53s - 53 - 23 - 53 - 53v - 246c0 - 47 38 - 85 85 - 85 <nl> + s86 38 86 85v235z " / > <nl> + < glyph glyph - name = " ion - android - bar " unicode = " & # xf368 ; " horiz - adv - x = " 384 " <nl> + d = " M171 171l - 171 170v43h384v - 43l - 171 - 170v - 131h107v - 40h - 256v40h107v131zM96 299h192l43 42h - 278z " / > <nl> + < glyph glyph - name = " ion - android - bicycle " unicode = " & # xf369 ; " <nl> + d = " M299 317c - 19 0 - 34 14 - 34 33s15 34 34 34s33 - 15 33 - 34s - 14 - 33 - 33 - 33zM355 187c51 0 93 - 43 93 - 94s - 42 - 93 - 93 - 93s - 94 42 - 94 93s43 94 94 94zM355 28c36 0 65 29 65 65s - 29 66 - 65 66s - 66 - 30 - 66 - 66s30 - 65 66 - 65zM274 224l - 30 45l - 43 - 45l39 - 32v - 112h - 32 <nl> + v86l - 61 38c - 9 6 - 19 15 - 19 27c0 8 3 17 9 23l72 69c6 6 14 9 22 9c11 0 22 - 7 28 - 16l34 - 60h59v - 32h - 78zM93 187c51 0 94 - 43 94 - 94s - 43 - 93 - 94 - 93s - 93 42 - 93 93s42 94 93 94zM93 28c36 0 66 29 66 65s - 30 66 - 66 66s - 65 - 30 - 65 - 66s29 - 65 65 - 65z " / > <nl> + < glyph glyph - name = " ion - android - boat " unicode = " & # xf36a ; " <nl> + d = " M52 35l - 51 139c - 2 6 - 1 12 1 17s8 8 13 10l38 13v98c0 23 20 43 43 43h64l16 53h96l16 - 53h64c23 0 43 - 20 43 - 43v - 98l38 - 13c5 - 2 11 - 5 13 - 10s3 - 12 1 - 17l - 51 - 139h - 1c - 34 0 - 65 20 - 86 43c - 21 - 23 - 51 - 43 - 85 - 43s - 64 19 - 85 42c - 21 - 23 - 52 - 42 - 86 - 42h - 1z <nl> + M96 312v - 84l128 41l128 - 41v84h - 256zM309 40c0 0 59 - 64 107 - 64h - 21c - 30 0 - 59 12 - 86 26c - 53 - 28 - 117 - 28 - 170 0c - 27 - 14 - 56 - 26 - 86 - 26h - 21c49 0 107 64 107 64c52 - 36 118 - 36 170 0z " / > <nl> + < glyph glyph - name = " ion - android - bookmark " unicode = " & # xf36b ; " horiz - adv - x = " 288 " <nl> + d = " M248 384c22 0 40 - 18 40 - 40v - 344l - 144 64l - 144 - 64v344c0 22 18 40 40 40h208z " / > <nl> + < glyph glyph - name = " ion - android - bulb " unicode = " & # xf36c ; " <nl> + d = " M224 278c - 25 0 - 50 - 10 - 68 - 28s - 28 - 43 - 28 - 68c0 - 34 18 - 66 48 - 83l16 - 10v - 18v - 71h64v71v18l16 10c15 8 27 20 35 34c9 15 13 31 13 49c0 25 - 10 50 - 28 68s - 43 28 - 68 28zM245 416v0v - 64h - 42v64h42zM374 362v0l30 - 30l - 38 - 38l - 30 30zM74 362v0l38 - 38l - 30 - 30 <nl> + l - 38 38zM224 310v0c70 0 128 - 58 128 - 128c0 - 48 - 26 - 89 - 64 - 111v - 103h - 128v103c - 38 22 - 64 64 - 64 111c0 70 58 128 128 128zM448 203v0v - 42h - 64v42h64zM64 203v0v - 42h - 64v42h64z " / > <nl> + < glyph glyph - name = " ion - android - bus " unicode = " & # xf36d ; " horiz - adv - x = " 352 " <nl> + d = " M0 96v204c0 75 82 84 176 84s176 - 9 176 - 84v - 204c0 - 18 - 14 - 24 - 27 - 36v - 39c0 - 12 - 9 - 21 - 21 - 21h - 21c - 12 0 - 22 9 - 22 21v22h - 170v - 22c0 - 12 - 10 - 21 - 22 - 21h - 21c - 12 0 - 21 9 - 21 21v39c - 13 12 - 27 17 - 27 36zM80 80c18 0 32 14 32 32s - 14 32 - 32 32 <nl> + s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM272 80c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM304 203v106h - 256v - 106h256z " / > <nl> + < glyph glyph - name = " ion - android - calendar " unicode = " & # xf2d1 ; " horiz - adv - x = " 384 " <nl> + d = " M304 176v - 96h - 96v96h96zM272 384h48v - 32h24c22 0 40 - 18 40 - 40v - 272c0 - 22 - 18 - 40 - 40 - 40h - 304c - 22 0 - 40 18 - 40 40v272c0 22 18 40 40 40h24v32h48v - 32h160v32zM344 40v212h - 304v - 212h304z " / > <nl> + < glyph glyph - name = " ion - android - call " unicode = " & # xf2d2 ; " horiz - adv - x = " 384 " <nl> + d = " M363 117c12 0 21 - 9 21 - 21v - 75c0 - 12 - 9 - 21 - 21 - 21c - 201 0 - 363 162 - 363 363c0 12 9 21 21 21h75c12 0 21 - 9 21 - 21c0 - 27 4 - 52 13 - 77c2 - 7 0 - 16 - 5 - 21l - 47 - 47c31 - 61 80 - 110 141 - 141l47 47c5 6 14 7 21 5c23 - 7 49 - 12 76 - 12z " / > <nl> + < glyph glyph - name = " ion - android - camera " unicode = " & # xf2d3 ; " <nl> + d = " M161 168c0 42 21 63 63 63s63 - 21 63 - 63s - 21 - 63 - 63 - 63s - 63 21 - 63 63zM408 352c11 0 20 - 4 28 - 12s12 - 17 12 - 28v - 272c0 - 11 - 4 - 20 - 12 - 28s - 17 - 12 - 28 - 12h - 368c - 11 0 - 20 4 - 28 12s - 12 17 - 12 28v272c0 11 4 20 12 28s17 12 28 12h88l32 32h128l32 - 32h88z <nl> + M224 56c31 0 57 11 79 33s33 48 33 79s - 11 57 - 33 79s - 48 33 - 79 33s - 57 - 11 - 79 - 33s - 33 - 48 - 33 - 79s11 - 57 33 - 79s48 - 33 79 - 33z " / > <nl> + < glyph glyph - name = " ion - android - cancel " unicode = " & # xf36e ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM312 117l - 75 75l75 75l - 29 29l - 75 - 75l - 75 75l - 29 - 29l75 - 75l - 75 - 75l29 - 29l75 75l75 - 75z " / > <nl> + < glyph glyph - name = " ion - android - car " unicode = " & # xf36f ; " horiz - adv - x = " 384 " <nl> + d = " M339 331l45 - 118v - 160c0 - 12 - 9 - 21 - 21 - 21h - 22c - 12 0 - 21 9 - 21 21v11h - 256v - 11c0 - 12 - 9 - 21 - 21 - 21h - 22c - 12 0 - 21 9 - 21 21v160l45 118c4 13 16 21 30 21h234c14 0 26 - 8 30 - 21zM75 128c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM309 128 <nl> + c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM43 235h298l - 32 85h - 234z " / > <nl> + < glyph glyph - name = " ion - android - cart " unicode = " & # xf370 ; " horiz - adv - x = " 416 " <nl> + d = " M122 70c23 0 41 - 18 41 - 41s - 18 - 42 - 41 - 42s - 42 19 - 42 42s19 41 42 41zM0 397h68l19 - 42h308c11 0 21 - 9 21 - 20c0 - 4 - 1 - 8 - 2 - 10l - 75 - 129c - 7 - 14 - 20 - 22 - 36 - 22h - 155l - 21 - 32s - 2 - 5 - 2 - 6c0 - 3 2 - 5 5 - 5h238v - 40h - 243c - 26 0 - 45 14 - 45 42c0 7 2 15 5 20l31 51 <nl> + l - 74 151h - 42v42zM326 70c23 0 42 - 18 42 - 41s - 19 - 42 - 42 - 42s - 41 19 - 41 42s18 41 41 41z " / > <nl> + < glyph glyph - name = " ion - android - chat " unicode = " & # xf2d4 ; " horiz - adv - x = " 416 " <nl> + d = " M344 384c4 0 7 - 4 7 - 8v - 214c0 - 4 - 3 - 9 - 7 - 9h - 187l - 90 - 89v89h - 57c - 4 0 - 10 5 - 10 9v214c0 4 6 8 10 8h334zM408 321c4 0 8 - 5 8 - 9v - 214c0 - 4 - 4 - 9 - 8 - 9h - 57v - 89l - 90 89h - 130l39 39h181c18 0 25 10 25 26v167h32z " / > <nl> + < glyph glyph - name = " ion - android - checkbox - blank " unicode = " & # xf371 ; " horiz - adv - x = " 384 " <nl> + d = " M341 384c23 0 43 - 20 43 - 43v - 298c0 - 23 - 20 - 43 - 43 - 43h - 298c - 23 0 - 43 20 - 43 43v298c0 23 20 43 43 43h298z " / > <nl> + < glyph glyph - name = " ion - android - checkbox - outline - blank " unicode = " & # xf372 ; " horiz - adv - x = " 384 " <nl> + d = " M341 341h - 298v - 298h298v298zM341 384v0c23 0 43 - 20 43 - 43v - 298c0 - 23 - 20 - 43 - 43 - 43h - 298c - 23 0 - 43 20 - 43 43v298c0 23 20 43 43 43h298z " / > <nl> + < glyph glyph - name = " ion - android - checkbox - outline " unicode = " & # xf373 ; " horiz - adv - x = " 384 " <nl> + d = " M105 233l66 - 66l183 183l30 - 30l - 213 - 213l - 96 96zM341 43v170h43v - 170c0 - 23 - 20 - 43 - 43 - 43h - 298c - 23 0 - 43 20 - 43 43v298c0 23 20 43 43 43h213v - 43h - 213v - 298h298z " / > <nl> + < glyph glyph - name = " ion - android - checkbox " unicode = " & # xf374 ; " horiz - adv - x = " 384 " <nl> + d = " M341 384c23 0 43 - 20 43 - 43v - 298c0 - 23 - 20 - 43 - 43 - 43h - 298c - 23 0 - 43 20 - 43 43v298c0 23 20 43 43 43h298zM149 85l192 192l - 30 30l - 162 - 162l - 76 77l - 30 - 30z " / > <nl> + < glyph glyph - name = " ion - android - checkmark - circle " unicode = " & # xf375 ; " horiz - adv - x = " 416 " <nl> + d = " M123 232l64 - 64l179 178l29 - 29l - 208 - 208l - 93 93zM374 192h42c0 - 114 - 94 - 208 - 208 - 208s - 208 94 - 208 208s94 208 208 208c28 0 54 - 6 78 - 16l - 32 - 32c - 15 4 - 30 6 - 46 6c - 92 0 - 166 - 74 - 166 - 166s74 - 166 166 - 166s166 74 166 166z " / > <nl> + < glyph glyph - name = " ion - android - clipboard " unicode = " & # xf376 ; " horiz - adv - x = " 384 " <nl> + d = " M341 368c23 0 43 - 20 43 - 43v - 314c0 - 23 - 20 - 43 - 43 - 43h - 298c - 23 0 - 43 20 - 43 43v314c0 23 20 43 43 43h87c7 28 32 48 62 48s55 - 20 62 - 48h87zM192 368c - 12 0 - 21 - 9 - 21 - 21s9 - 22 21 - 22s21 10 21 22s - 9 21 - 21 21zM344 8v320h - 40v - 72h - 224v72h - 40v - 320h304z " / > <nl> + < glyph glyph - name = " ion - android - close " unicode = " & # xf2d7 ; " horiz - adv - x = " 298 " <nl> + d = " M298 311l - 119 - 119l119 - 119l - 30 - 30l - 119 119l - 119 - 119l - 30 30l119 119l - 119 119l30 30l119 - 119l119 119z " / > <nl> + < glyph glyph - name = " ion - android - cloud - circle " unicode = " & # xf377 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c114 0 208 - 94 208 - 208s - 94 - 208 - 208 - 208s - 208 94 - 208 208s94 208 208 208zM302 109c29 0 52 23 52 52s - 23 52 - 52 52h - 11c0 46 - 37 83 - 83 83c - 38 0 - 71 - 26 - 80 - 62h - 3c - 34 0 - 63 - 29 - 63 - 63s29 - 62 63 - 62h177z " / > <nl> + < glyph glyph - name = " ion - android - cloud - done " unicode = " & # xf378 ; " horiz - adv - x = " 480 " <nl> + d = " M387 231c52 - 3 93 - 46 93 - 99c0 - 55 - 45 - 100 - 100 - 100h - 260c - 66 0 - 120 54 - 120 120c0 62 47 113 107 119c25 48 75 81 133 81c73 0 133 - 52 147 - 121zM197 85l141 141l - 30 30l - 111 - 111l - 44 45l - 30 - 30z " / > <nl> + < glyph glyph - name = " ion - android - cloud - outline " unicode = " & # xf379 ; " horiz - adv - x = " 480 " <nl> + d = " M387 231c52 - 3 93 - 46 93 - 99c0 - 55 - 45 - 100 - 100 - 100h - 260c - 66 0 - 120 54 - 120 120c0 62 47 113 107 119c25 48 75 81 133 81c73 0 133 - 52 147 - 121zM380 72c33 0 60 27 60 60s - 27 60 - 60 60h - 30v10c0 61 - 49 110 - 110 110c - 51 0 - 93 - 34 - 106 - 80h - 14 <nl> + c - 44 0 - 80 - 36 - 80 - 80s36 - 80 80 - 80h260z " / > <nl> + < glyph glyph - name = " ion - android - cloud " unicode = " & # xf37a ; " horiz - adv - x = " 480 " <nl> + d = " M387 231c52 - 3 93 - 46 93 - 99c0 - 55 - 45 - 100 - 100 - 100h - 260c - 66 0 - 120 54 - 120 120c0 62 47 113 107 119c25 48 75 81 133 81c73 0 133 - 52 147 - 121z " / > <nl> + < glyph glyph - name = " ion - android - color - palette " unicode = " & # xf37b ; " horiz - adv - x = " 384 " <nl> + d = " M192 384c106 0 192 - 77 192 - 171c0 - 59 - 48 - 106 - 107 - 106h - 38c - 18 0 - 32 - 14 - 32 - 32c0 - 9 3 - 17 8 - 22s9 - 12 9 - 21c0 - 18 - 14 - 32 - 32 - 32c - 106 0 - 192 86 - 192 192s86 192 192 192zM75 192c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM139 277 <nl> + c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM245 277c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM309 192c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32z " / > <nl> + < glyph glyph - name = " ion - android - compass " unicode = " & # xf37c ; " <nl> + d = " M224 217c13 0 25 - 12 25 - 25s - 12 - 25 - 25 - 25s - 25 12 - 25 25s12 25 25 25zM224 416c123 0 224 - 101 224 - 224s - 101 - 224 - 224 - 224s - 224 101 - 224 224s101 224 224 224zM273 143l85 183l - 183 - 85l - 85 - 183z " / > <nl> + < glyph glyph - name = " ion - android - contact " unicode = " & # xf2d8 ; " horiz - adv - x = " 384 " <nl> + d = " M267 110c59 - 18 104 - 58 117 - 110h - 384c13 52 58 92 117 110c22 - 13 48 - 20 75 - 20s53 7 75 20zM192 384c73 0 132 - 59 132 - 132s - 59 - 132 - 132 - 132s - 132 59 - 132 132s59 132 132 132zM192 153c42 0 78 26 92 63h - 184c14 - 37 50 - 63 92 - 63z " / > <nl> + < glyph glyph - name = " ion - android - contacts " unicode = " & # xf2d9 ; " <nl> + d = " M207 104c47 - 14 76 - 62 87 - 104h - 294c11 42 40 90 87 104c18 - 10 38 - 16 60 - 16s42 6 60 16zM147 328c58 0 106 - 48 106 - 106s - 48 - 106 - 106 - 106s - 106 48 - 106 106s48 106 106 106zM147 141c34 0 62 23 74 51h - 148c12 - 28 40 - 51 74 - 51zM291 64c - 13 20 - 34 43 - 60 53 <nl> + c11 9 21 23 28 35c13 - 5 27 - 8 42 - 8c22 0 42 6 60 16c47 - 14 76 - 54 87 - 96h - 157zM275 248c - 8 37 - 31 69 - 63 87c19 29 52 49 89 49c58 0 106 - 48 106 - 106s - 48 - 106 - 106 - 106c - 11 0 - 22 2 - 32 5c3 8 6 16 7 25c8 - 3 16 - 4 25 - 4c34 0 62 22 74 50h - 100z " / > <nl> + < glyph glyph - name = " ion - android - contract " unicode = " & # xf37d ; " horiz - adv - x = " 384 " <nl> + d = " M0 77v51h128v - 128h - 51v77h - 77zM77 307v77h51v - 128h - 128v51h77zM256 0v128h128v - 51h - 77v - 77h - 51zM307 307h77v - 51h - 128v128h51v - 77z " / > <nl> + < glyph glyph - name = " ion - android - create " unicode = " & # xf37e ; " horiz - adv - x = " 384 " <nl> + d = " M0 80l236 236l80 - 80l - 236 - 236h - 80v80zM378 298l - 40 - 40l - 80 80l40 40c9 9 20 9 29 0l51 - 51c9 - 9 9 - 20 0 - 29z " / > <nl> + < glyph glyph - name = " ion - android - delete " unicode = " & # xf37f ; " horiz - adv - x = " 320 " <nl> + d = " M32 43v245h256v - 245c0 - 23 - 20 - 43 - 43 - 43h - 170c - 23 0 - 43 20 - 43 43zM320 352v - 32h - 320v32h80l27 32h106l27 - 32h80z " / > <nl> + < glyph glyph - name = " ion - android - desktop " unicode = " & # xf380 ; " <nl> + d = " M405 416c23 0 43 - 20 43 - 43v - 282c0 - 23 - 20 - 43 - 43 - 43h - 138l42 - 48v - 32h - 170v32l42 48h - 138c - 23 0 - 43 20 - 43 43v282c0 23 20 43 43 43h362zM405 128v245h - 362v - 245h362z " / > <nl> + < glyph glyph - name = " ion - android - document " unicode = " & # xf381 ; " horiz - adv - x = " 320 " <nl> + d = " M192 400l128 - 128v - 248c0 - 22 - 18 - 40 - 40 - 40h - 240c - 22 0 - 40 18 - 40 40v336c0 22 18 40 40 40h152zM176 256h112l - 112 112v - 112z " / > <nl> + < glyph glyph - name = " ion - android - done - all " unicode = " & # xf382 ; " horiz - adv - x = " 512 " <nl> + d = " M388 308l - 140 - 139l - 31 31l140 139zM481 339l31 - 31l - 264 - 263l - 122 123l30 31l92 - 91zM0 168l32 31l122 - 123l - 31 - 31z " / > <nl> + < glyph glyph - name = " ion - android - done " unicode = " & # xf383 ; " horiz - adv - x = " 384 " <nl> + d = " M122 108l230 230l32 - 31l - 262 - 261l - 122 122l32 31z " / > <nl> + < glyph glyph - name = " ion - android - download " unicode = " & # xf2dd ; " horiz - adv - x = " 480 " <nl> + d = " M387 231c52 - 3 93 - 46 93 - 99c0 - 55 - 45 - 100 - 100 - 100h - 260c - 66 0 - 120 54 - 120 120c0 62 47 113 107 119c25 48 75 81 133 81c73 0 133 - 52 147 - 121zM208 180h - 68l100 - 100l100 100h - 68v76h - 64v - 76z " / > <nl> + < glyph glyph - name = " ion - android - drafts " unicode = " & # xf384 ; " <nl> + d = " M448 246v - 203c0 - 23 - 20 - 43 - 43 - 43h - 362c - 23 0 - 43 20 - 43 43v203c0 15 8 30 20 37l204 101l204 - 101c13 - 7 20 - 22 20 - 37zM224 144l171 112l - 171 85l - 171 - 85z " / > <nl> + < glyph glyph - name = " ion - android - exit " unicode = " & # xf385 ; " horiz - adv - x = " 384 " <nl> + d = " M151 115l55 56h - 206v42h207l - 56 56l30 30l107 - 107l - 107 - 107zM341 384c23 0 43 - 20 43 - 43v - 298c0 - 23 - 20 - 43 - 43 - 43h - 298c - 23 0 - 43 20 - 43 43v85h43v - 85h298v298h - 298v - 85h - 43v85c0 23 20 43 43 43h298z " / > <nl> + < glyph glyph - name = " ion - android - expand " unicode = " & # xf386 ; " horiz - adv - x = " 384 " <nl> + d = " M333 51v77h51v - 128h - 128v51h77zM333 333h - 77v51h128v - 128h - 51v77zM51 333v - 77h - 51v128h128v - 51h - 77zM51 51h77v - 51h - 128v128h51v - 77z " / > <nl> + < glyph glyph - name = " ion - android - favorite - outline " unicode = " & # xf387 ; " horiz - adv - x = " 416 " <nl> + d = " M302 384c64 0 114 - 50 114 - 115c0 - 80 - 71 - 144 - 178 - 242l - 30 - 27l - 30 27c - 107 98 - 178 162 - 178 242c0 65 50 115 114 115c36 0 71 - 17 94 - 44c23 27 58 44 94 44zM221 55c50 46 94 86 123 122c28 35 40 63 40 92c0 23 - 9 44 - 24 59s - 35 24 - 58 24 <nl> + c - 26 0 - 53 - 13 - 70 - 33l - 24 - 29l - 24 29c - 17 20 - 44 33 - 70 33c - 23 0 - 43 - 9 - 58 - 24s - 24 - 36 - 24 - 59c0 - 29 12 - 57 40 - 92c29 - 36 73 - 76 123 - 122l4 - 4l9 - 8l9 8z " / > <nl> + < glyph glyph - name = " ion - android - favorite " unicode = " & # xf388 ; " horiz - adv - x = " 416 " <nl> + d = " M208 0l - 30 27c - 107 98 - 178 162 - 178 242c0 65 50 115 114 115c36 0 71 - 17 94 - 44c23 27 58 44 94 44c64 0 114 - 50 114 - 115c0 - 80 - 71 - 144 - 178 - 242z " / > <nl> + < glyph glyph - name = " ion - android - film " unicode = " & # xf389 ; " horiz - adv - x = " 320 " <nl> + d = " M280 384h40v - 384h - 40v43h - 40v - 43h - 160v43h - 40v - 43h - 40v384h40v - 43h40v43h160v - 43h40v43zM80 85v43h - 40v - 43h40zM80 171v42h - 40v - 42h40zM80 256v43h - 40v - 43h40zM280 85v43h - 40v - 43h40zM280 171v42h - 40v - 42h40zM280 256v43h - 40v - 43h40z " / > <nl> + < glyph glyph - name = " ion - android - folder - open " unicode = " & # xf38a ; " <nl> + d = " M405 304c23 0 43 - 20 43 - 43v - 186c0 - 23 - 20 - 43 - 43 - 43h - 362c - 23 0 - 43 20 - 43 43v234c0 23 20 43 43 43h138l43 - 48h181zM416 75v186c0 6 - 5 11 - 11 11h - 373v - 197c0 - 6 5 - 11 11 - 11h362c6 0 11 5 11 11z " / > <nl> + < glyph glyph - name = " ion - android - folder " unicode = " & # xf2e0 ; " <nl> + d = " M181 352l43 - 48h181c23 0 43 - 20 43 - 43v - 186c0 - 23 - 20 - 43 - 43 - 43h - 362c - 23 0 - 43 20 - 43 43v234c0 23 20 43 43 43h138z " / > <nl> + < glyph glyph - name = " ion - android - funnel " unicode = " & # xf38b ; " <nl> + d = " M176 48v48h96v - 48h - 96zM0 336h448v - 48h - 448v48zM80 167v50h288v - 50h - 288z " / > <nl> + < glyph glyph - name = " ion - android - globe " unicode = " & # xf38c ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM186 15c6 15 21 29 8 39c - 8 7 - 16 14 - 23 21c - 2 2 - 11 20 - 9 23c5 9 6 14 8 24c3 12 - 3 16 - 13 22c - 15 10 - 29 23 - 43 34c - 7 5 - 17 10 - 20 19s - 5 20 - 10 28c - 14 20 - 12 34 - 10 58 <nl> + c0 7 - 1 16 - 2 25c - 28 - 32 - 42 - 73 - 42 - 116c0 - 48 18 - 92 52 - 126c29 - 29 65 - 46 104 - 51zM334 66c23 23 39 51 47 82c - 8 - 1 - 19 2 - 19 2s - 21 24 - 23 45c - 2 22 0 39 - 3 57c - 3 16 - 20 31 - 27 46c - 7 14 - 13 28 - 20 42c2 - 1 5 - 2 7 - 3c5 1 10 2 14 2c - 23 16 - 49 25 - 76 29v - 8 <nl> + l4 - 9l - 14 - 13l - 9 3l - 10 10l - 10 12l - 14 5c - 16 - 2 - 31 - 7 - 45 - 13v - 7c7 3 16 5 23 8c3 1 13 - 7 16 - 9c - 4 - 5 - 21 - 15 - 22 - 21c0 - 2 7 - 6 7 - 10c0 - 6 - 1 - 11 - 1 - 17c3 3 20 21 22 21c13 3 35 - 19 37 - 26s - 22 - 24 - 33 - 34c - 8 - 8 - 25 - 12 - 20 - 24c2 - 4 10 - 20 5 - 24 <nl> + c - 6 - 5 - 14 9 - 17 12c - 8 10 - 26 7 - 38 7c0 - 17 - 1 - 31 15 - 43c15 - 11 30 - 25 47 - 33c13 - 6 36 7 47 - 1c16 - 11 29 - 21 47 - 29c8 - 3 33 - 20 26 - 31c - 5 - 8 - 10 - 15 - 14 - 23s - 13 - 20 - 20 - 25c - 8 - 6 - 16 - 17 - 21 - 29c35 7 66 23 92 49z " / > <nl> + < glyph glyph - name = " ion - android - hand " unicode = " & # xf2e3 ; " horiz - adv - x = " 414 " <nl> + d = " M401 174c15 - 15 18 - 36 3 - 51c0 0 - 96 - 103 - 126 - 121v0c - 28 - 21 - 65 - 34 - 100 - 34c - 55 0 - 101 36 - 117 85v0v1c0 1 - 1 2 - 1 3l - 58 189c - 5 15 2 32 17 37s30 - 3 35 - 18l34 - 88c1 - 4 2 - 2 2 1l - 22 161c - 3 15 7 30 22 33s30 - 8 33 - 23l25 - 138c0 - 2 2 - 2 2 0v177 <nl> + c0 15 13 28 28 28s28 - 13 28 - 28l8 - 175c0 - 5 3 - 4 4 - 1l23 135c2 15 16 27 31 25s27 - 17 25 - 32l - 21 - 172c - 1 - 12 - 3 - 30 2 - 36c8 - 9 20 - 9 31 2l42 42c15 15 35 13 50 - 2z " / > <nl> + < glyph glyph - name = " ion - android - hangout " unicode = " & # xf38d ; " horiz - adv - x = " 352 " <nl> + d = " M176 400c97 0 176 - 77 176 - 172c0 - 91 - 76 - 196 - 176 - 244v71c - 97 0 - 176 78 - 176 173s79 172 176 172zM166 217v61h - 62v - 61h31l - 21 - 40h31zM248 217v61h - 62v - 61h31l - 20 - 40h31z " / > <nl> + < glyph glyph - name = " ion - android - happy " unicode = " & # xf38e ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c114 0 208 - 94 208 - 208s - 93 - 208 - 208 - 208s - 208 94 - 208 208s93 208 208 208zM208 26c92 0 166 74 166 166s - 74 166 - 166 166s - 166 - 74 - 166 - 166s74 - 166 166 - 166zM281 213c - 18 0 - 31 13 - 31 31s13 31 31 31s31 - 13 31 - 31s - 13 - 31 - 31 - 31zM135 213 <nl> + c - 18 0 - 31 13 - 31 31s13 31 31 31s31 - 13 31 - 31s - 13 - 31 - 31 - 31zM208 78c - 49 0 - 89 29 - 106 72h212c - 17 - 43 - 57 - 72 - 106 - 72z " / > <nl> + < glyph glyph - name = " ion - android - home " unicode = " & # xf38f ; " horiz - adv - x = " 416 " <nl> + d = " M160 0h - 98v192h - 62l208 192l208 - 192h - 62v - 192h - 98v128h - 96v - 128z " / > <nl> + < glyph glyph - name = " ion - android - image " unicode = " & # xf2e4 ; " horiz - adv - x = " 384 " <nl> + d = " M384 43c0 - 23 - 20 - 43 - 43 - 43h - 298c - 23 0 - 43 20 - 43 43v298c0 23 20 43 43 43h298c23 0 43 - 20 43 - 43v - 298zM117 160l - 74 - 96h298l - 96 128l - 74 - 96z " / > <nl> + < glyph glyph - name = " ion - android - laptop " unicode = " & # xf390 ; " horiz - adv - x = " 512 " <nl> + d = " M437 32h75c0 - 23 - 64 - 32 - 96 - 32h - 320c - 32 0 - 96 9 - 96 32h75c - 23 0 - 43 20 - 43 43v266c0 23 20 43 43 43h362c23 0 43 - 20 43 - 43v - 266c0 - 23 - 20 - 43 - 43 - 43zM75 341v - 272h362v272h - 362zM256 13c12 0 21 10 21 22s - 9 21 - 21 21s - 21 - 9 - 21 - 21s9 - 22 21 - 22z " / > <nl> + < glyph glyph - name = " ion - android - list " unicode = " & # xf391 ; " horiz - adv - x = " 384 " <nl> + d = " M344 384c22 0 40 - 18 40 - 40v - 304c0 - 22 - 18 - 40 - 40 - 40h - 304c - 22 0 - 40 18 - 40 40v304c0 22 18 40 40 40h304zM240 80v48h - 160v - 48h160zM304 168v48h - 224v - 48h224zM304 256v48h - 224v - 48h224z " / > <nl> + < glyph glyph - name = " ion - android - locate " unicode = " & # xf2e9 ; " <nl> + d = " M224 272c44 0 80 - 36 80 - 80s - 36 - 80 - 80 - 80s - 80 36 - 80 80s36 80 80 80zM415 213h33v - 42h - 33c - 10 - 89 - 81 - 160 - 170 - 170v - 33h - 42v33c - 89 10 - 160 81 - 170 170h - 33v42h33c10 89 81 160 170 170v33h42v - 33c89 - 10 160 - 81 170 - 170zM224 43c82 0 149 67 149 149 <nl> + s - 67 149 - 149 149s - 149 - 67 - 149 - 149s67 - 149 149 - 149z " / > <nl> + < glyph glyph - name = " ion - android - lock " unicode = " & # xf392 ; " horiz - adv - x = " 320 " <nl> + d = " M280 262c22 0 40 - 18 40 - 40v - 200c0 - 22 - 18 - 40 - 40 - 40h - 240c - 22 0 - 40 18 - 40 40v200c0 22 18 40 40 40h20v40c0 55 45 100 100 100s100 - 45 100 - 100v - 40h20zM160 80c22 0 40 18 40 40s - 18 40 - 40 40s - 40 - 18 - 40 - 40s18 - 40 40 - 40zM222 262v40c0 34 - 28 62 - 62 62 <nl> + s - 62 - 28 - 62 - 62v - 40h124z " / > <nl> + < glyph glyph - name = " ion - android - mail " unicode = " & # xf2eb ; " <nl> + d = " M405 368c23 0 43 - 20 43 - 43v - 266c0 - 23 - 20 - 43 - 43 - 43h - 362c - 23 0 - 43 20 - 43 43v266c0 23 20 43 43 43h362zM400 277v43l - 176 - 117l - 176 117v - 43l176 - 117z " / > <nl> + < glyph glyph - name = " ion - android - map " unicode = " & # xf393 ; " horiz - adv - x = " 384 " <nl> + d = " M373 384c6 0 11 - 5 11 - 11v - 322c0 - 5 - 3 - 9 - 7 - 10l - 121 - 41l - 128 45s - 105 - 41 - 108 - 42s - 7 - 3 - 9 - 3c - 6 0 - 11 5 - 11 11v322c0 5 3 9 7 10l121 41l128 - 45s103 40 108 42s7 3 9 3zM256 43v254l - 128 44v - 254z " / > <nl> + < glyph glyph - name = " ion - android - menu " unicode = " & # xf394 ; " horiz - adv - x = " 384 " <nl> + d = " M0 64v43h384v - 43h - 384zM0 171v42h384v - 42h - 384zM0 320h384v - 43h - 384v43z " / > <nl> + < glyph glyph - name = " ion - android - microphone - off " unicode = " & # xf395 ; " horiz - adv - x = " 408 " <nl> + d = " M316 93l58 - 58l - 58 58l58 - 58l34 - 33l - 24 - 24l - 95 95c - 19 - 11 - 40 - 20 - 62 - 23v - 82h - 46v82c - 75 10 - 137 76 - 137 153h39c0 - 68 58 - 117 121 - 117c20 0 40 5 57 14l - 32 33c - 8 - 3 - 16 - 5 - 25 - 5c - 38 0 - 69 31 - 69 69v29l - 135 134l24 24l111 - 110v0l140 - 140l5 - 5l9 - 9z <nl> + M273 197c0 - 4 0 - 8 - 1 - 12l - 137 137v25c0 38 31 69 69 69s69 - 31 69 - 69v - 150zM365 203c0 - 31 - 10 - 60 - 27 - 84l - 27 28c9 17 15 36 15 56h39zM408 2v0l - 34 33z " / > <nl> + < glyph glyph - name = " ion - android - microphone " unicode = " & # xf2ec ; " horiz - adv - x = " 320 " <nl> + d = " M160 128c - 38 0 - 69 31 - 69 69v150c0 38 31 69 69 69s69 - 31 69 - 69v - 150c0 - 38 - 31 - 69 - 69 - 69zM281 203h39c0 - 78 - 62 - 142 - 137 - 153v - 82h - 46v82c - 75 10 - 137 75 - 137 153h39c0 - 69 58 - 116 121 - 116s121 47 121 116z " / > <nl> + < glyph glyph - name = " ion - android - more - horizontal " unicode = " & # xf396 ; " horiz - adv - x = " 320 " <nl> + d = " M40 232c22 0 40 - 18 40 - 40s - 18 - 40 - 40 - 40s - 40 18 - 40 40s18 40 40 40zM280 232c22 0 40 - 18 40 - 40s - 18 - 40 - 40 - 40s - 40 18 - 40 40s18 40 40 40zM160 232c22 0 40 - 18 40 - 40s - 18 - 40 - 40 - 40s - 40 18 - 40 40s18 40 40 40z " / > <nl> + < glyph glyph - name = " ion - android - more - vertical " unicode = " & # xf397 ; " horiz - adv - x = " 80 " <nl> + d = " M80 312c0 - 22 - 18 - 40 - 40 - 40s - 40 18 - 40 40s18 40 40 40s40 - 18 40 - 40zM80 72c0 - 22 - 18 - 40 - 40 - 40s - 40 18 - 40 40s18 40 40 40s40 - 18 40 - 40zM80 192c0 - 22 - 18 - 40 - 40 - 40s - 40 18 - 40 40s18 40 40 40s40 - 18 40 - 40z " / > <nl> + < glyph glyph - name = " ion - android - navigate " unicode = " & # xf398 ; " horiz - adv - x = " 320 " <nl> + d = " M160 384l160 - 369l - 15 - 15l - 145 64l - 145 - 64l - 15 15z " / > <nl> + < glyph glyph - name = " ion - android - notifications - none " unicode = " & # xf399 ; " horiz - adv - x = " 352 " <nl> + d = " M177 328h - 2c - 6 0 - 24 - 5 - 24 - 5c - 46 - 10 - 78 - 53 - 78 - 100v - 114v - 13l - 9 - 10l - 8 - 8h240l - 8 8l - 9 10v13v114c0 47 - 32 90 - 78 100c0 0 - 17 5 - 24 5zM176 400v0c18 0 31 - 13 31 - 31v - 15c59 - 14 104 - 68 104 - 131v - 114l41 - 42v - 21h - 352v21l41 42v114c0 63 45 117 104 131v15 <nl> + c0 18 13 31 31 31zM217 26v0c0 - 23 - 18 - 42 - 41 - 42s - 41 19 - 41 42h82z " / > <nl> + < glyph glyph - name = " ion - android - notifications - off " unicode = " & # xf39a ; " horiz - adv - x = " 364 " <nl> + d = " M182 - 16c - 23 0 - 41 19 - 41 42h82c0 - 23 - 18 - 42 - 41 - 42zM57 341l295 - 295v0l12 - 12l - 24 - 24l - 36 36h - 298v21l41 41v115c0 23 6 44 16 63l - 63 64l24 24l33 - 33v0zM317 223v - 94l - 208 207c13 8 27 15 42 18v15c0 18 13 31 31 31s31 - 13 31 - 31v - 15c59 - 14 104 - 67 104 - 131 <nl> + z " / > <nl> + < glyph glyph - name = " ion - android - notifications " unicode = " & # xf39b ; " horiz - adv - x = " 352 " <nl> + d = " M176 - 16c - 23 0 - 41 19 - 41 42h82c0 - 23 - 18 - 42 - 41 - 42zM311 109l41 - 42v - 21h - 352v21l41 42v114c0 63 45 117 104 131v15c0 18 13 31 31 31s31 - 13 31 - 31v - 15c59 - 14 104 - 68 104 - 131v - 114z " / > <nl> + < glyph glyph - name = " ion - android - open " unicode = " & # xf39c ; " horiz - adv - x = " 384 " <nl> + d = " M341 43v133h43v - 133c0 - 23 - 20 - 43 - 43 - 43h - 298c - 23 0 - 43 20 - 43 43v298c0 23 20 43 43 43h133v - 43h - 133v - 298h298zM224 384h160v - 160h - 43v87l - 215 - 215l - 30 30l215 215h - 87v43z " / > <nl> + < glyph glyph - name = " ion - android - options " unicode = " & # xf39d ; " <nl> + d = " M0 32v32h272v - 32h - 272zM368 32v32h80v - 32h - 80zM352 0c0 - 18 - 14 - 32 - 32 - 32v0c - 18 0 - 32 14 - 32 32v96c0 18 14 32 32 32v0c18 0 32 - 14 32 - 32v - 96zM0 176v32h80v - 32h - 80zM176 176v32h272v - 32h - 272zM160 144c0 - 18 - 14 - 32 - 32 - 32v0c - 18 0 - 32 14 - 32 32v96 <nl> + c0 18 14 32 32 32v0c18 0 32 - 14 32 - 32v - 96zM0 320v32h272v - 32h - 272zM368 320v32h80v - 32h - 80zM352 288c0 - 18 - 14 - 32 - 32 - 32v0c - 18 0 - 32 14 - 32 32v96c0 18 14 32 32 32v0c18 0 32 - 14 32 - 32v - 96z " / > <nl> + < glyph glyph - name = " ion - android - people " unicode = " & # xf39e ; " <nl> + d = " M305 216c - 34 0 - 61 27 - 61 60s27 60 61 60s62 - 27 62 - 60s - 28 - 60 - 62 - 60zM143 216c - 34 0 - 62 27 - 62 60s28 60 62 60s61 - 27 61 - 60s - 27 - 60 - 61 - 60zM143 172c48 0 145 - 23 145 - 70v - 54h - 288v54c0 47 95 70 143 70zM305 161c48 0 143 - 12 143 - 59v - 54h - 128v54 <nl> + c0 30 - 9 41 - 32 58c7 1 11 1 17 1z " / > <nl> + < glyph glyph - name = " ion - android - person - add " unicode = " & # xf39f ; " horiz - adv - x = " 480 " <nl> + d = " M288 192c - 53 0 - 96 43 - 96 96s43 96 96 96s96 - 43 96 - 96s - 43 - 96 - 96 - 96zM288 144c64 0 192 - 32 192 - 96v - 48h - 384v48c0 64 128 96 192 96zM96 224h64v - 32h - 64v - 64h - 32v64h - 64v32h64v64h32v - 64z " / > <nl> + < glyph glyph - name = " ion - android - person " unicode = " & # xf3a0 ; " horiz - adv - x = " 384 " <nl> + d = " M192 192c - 53 0 - 96 43 - 96 96s43 96 96 96s96 - 43 96 - 96s - 43 - 96 - 96 - 96zM192 144c64 0 192 - 32 192 - 96v - 48h - 384v48c0 64 128 96 192 96z " / > <nl> + < glyph glyph - name = " ion - android - phone - landscape " unicode = " & # xf3a1 ; " <nl> + d = " M448 89c0 - 23 - 19 - 41 - 41 - 41h - 366c - 22 0 - 41 18 - 41 41v206c0 23 19 41 41 41h366c22 0 41 - 18 41 - 41v - 206zM80 84h288v216h - 288v - 216z " / > <nl> + < glyph glyph - name = " ion - android - phone - portrait " unicode = " & # xf3a2 ; " horiz - adv - x = " 288 " <nl> + d = " M247 416c23 0 41 - 19 41 - 41v - 366c0 - 22 - 18 - 41 - 41 - 41h - 206c - 23 0 - 41 19 - 41 41v366c0 22 18 41 41 41h206zM252 48v288h - 216v - 288h216z " / > <nl> + < glyph glyph - name = " ion - android - pin " unicode = " & # xf3a3 ; " horiz - adv - x = " 320 " <nl> + d = " M160 416c88 0 160 - 71 160 - 157c0 - 118 - 160 - 291 - 160 - 291s - 160 173 - 160 291c0 86 72 157 160 157zM160 203c32 0 57 25 57 56s - 25 56 - 57 56s - 57 - 25 - 57 - 56s25 - 56 57 - 56z " / > <nl> + < glyph glyph - name = " ion - android - plane " unicode = " & # xf3a4 ; " horiz - adv - x = " 384 " <nl> + d = " M384 112l - 160 48v - 114l48 - 31v - 31l - 80 16l - 80 - 16v31l48 31v114l - 160 - 48v40l160 104v113c0 18 15 31 32 31s32 - 13 32 - 31v - 113l160 - 104v - 40z " / > <nl> + < glyph glyph - name = " ion - android - playstore " unicode = " & # xf2f0 ; " horiz - adv - x = " 416 " <nl> + d = " M416 296c - 19 - 214 - 13 - 312 - 13 - 312h - 390s6 96 - 13 312h104c0 57 47 104 104 104s104 - 47 104 - 104h104zM208 374c - 43 0 - 78 - 35 - 78 - 78h156c0 43 - 35 78 - 78 78zM156 50l143 85l - 143 84v - 169z " / > <nl> + < glyph glyph - name = " ion - android - print " unicode = " & # xf3a5 ; " horiz - adv - x = " 416 " <nl> + d = " M352 288c35 0 64 - 29 64 - 64v - 139h - 80v - 85h - 256v85h - 80v139c0 35 29 64 64 64h288zM304 32v128h - 192v - 128h192zM336 384v0v - 80h - 256v80h256z " / > <nl> + < glyph glyph - name = " ion - android - radio - button - off " unicode = " & # xf3a6 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c114 0 208 - 94 208 - 208s - 94 - 208 - 208 - 208s - 208 94 - 208 208s94 208 208 208zM208 26c92 0 166 74 166 166s - 74 166 - 166 166s - 166 - 74 - 166 - 166s74 - 166 166 - 166z " / > <nl> + < glyph glyph - name = " ion - android - radio - button - on " unicode = " & # xf3a7 ; " horiz - adv - x = " 416 " <nl> + d = " M208 296c57 0 104 - 47 104 - 104s - 47 - 104 - 104 - 104s - 104 47 - 104 104s47 104 104 104zM208 400c114 0 208 - 94 208 - 208s - 94 - 208 - 208 - 208s - 208 94 - 208 208s94 208 208 208zM208 26c92 0 166 74 166 166s - 74 166 - 166 166s - 166 - 74 - 166 - 166s74 - 166 166 - 166z " / > <nl> + < glyph glyph - name = " ion - android - refresh " unicode = " & # xf3a8 ; " horiz - adv - x = " 352 " <nl> + d = " M176 60c56 0 104 34 123 84h46c - 21 - 74 - 88 - 128 - 169 - 128c - 98 0 - 176 79 - 176 176s79 176 176 176c48 0 92 - 20 124 - 52l52 52v - 154h - 154l70 70c - 23 24 - 56 40 - 92 40c - 73 0 - 132 - 59 - 132 - 132s59 - 132 132 - 132z " / > <nl> + < glyph glyph - name = " ion - android - remove - circle " unicode = " & # xf3a9 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM315 171v42h - 214v - 42h214z " / > <nl> + < glyph glyph - name = " ion - android - remove " unicode = " & # xf2f4 ; " horiz - adv - x = " 320 " <nl> + d = " M0 171v42h320v - 42h - 320z " / > <nl> + < glyph glyph - name = " ion - android - restaurant " unicode = " & # xf3aa ; " horiz - adv - x = " 415 " <nl> + d = " M116 168l - 91 89c - 34 33 - 34 86 0 119l153 - 148zM264 206l - 33 - 31l150 - 145l - 30 - 30l - 150 146l - 150 - 146l - 30 30s163 159 211 207c - 15 32 - 4 77 31 111c41 40 101 49 132 17c33 - 31 24 - 89 - 17 - 129c - 34 - 34 - 80 - 45 - 114 - 30z " / > <nl> + < glyph glyph - name = " ion - android - sad " unicode = " & # xf3ab ; " horiz - adv - x = " 416 " <nl> + d = " M208 160c45 0 83 - 26 102 - 64h - 204c19 38 57 64 102 64zM208 400c114 0 208 - 94 208 - 208s - 93 - 208 - 208 - 208s - 208 94 - 208 208s93 208 208 208zM208 26c92 0 166 74 166 166s - 74 166 - 166 166s - 166 - 74 - 166 - 166s74 - 166 166 - 166zM281 213c - 18 0 - 31 13 - 31 31 <nl> + s13 31 31 31s31 - 13 31 - 31s - 13 - 31 - 31 - 31zM135 213c - 18 0 - 31 13 - 31 31s13 31 31 31s31 - 13 31 - 31s - 13 - 31 - 31 - 31z " / > <nl> + < glyph glyph - name = " ion - android - search " unicode = " & # xf2f5 ; " horiz - adv - x = " 384 " <nl> + d = " M274 143l110 - 110l - 33 - 33l - 109 110v17l - 7 6c - 25 - 21 - 58 - 34 - 93 - 34c - 79 0 - 142 63 - 142 142s63 143 141 143c79 0 142 - 64 142 - 143c0 - 36 - 13 - 68 - 34 - 93l7 - 5h18zM142 143c55 0 99 43 99 98s - 44 99 - 99 99s - 98 - 44 - 98 - 99s43 - 98 98 - 98z " / > <nl> + < glyph glyph - name = " ion - android - send " unicode = " & # xf2f6 ; " horiz - adv - x = " 416 " <nl> + d = " M0 0v149l298 43l - 298 43v149l416 - 192z " / > <nl> + < glyph glyph - name = " ion - android - settings " unicode = " & # xf2f7 ; " horiz - adv - x = " 416 " <nl> + d = " M366 171l47 - 34c3 - 3 4 - 10 2 - 14l - 43 - 71c - 2 - 4 - 7 - 7 - 12 - 5l - 54 21c - 12 - 8 - 23 - 16 - 36 - 21l - 8 - 55c - 1 - 4 - 6 - 8 - 11 - 8h - 85c - 5 0 - 10 3 - 11 8l - 8 55c - 13 5 - 25 13 - 36 21l - 54 - 21c - 4 - 2 - 10 1 - 12 5l - 43 71c - 3 5 - 2 11 2 14l45 34c0 7 - 1 14 - 1 21s1 14 1 21l - 46 34 <nl> + c - 3 3 - 4 10 - 2 14l43 71c2 4 7 7 12 5l54 - 21c12 8 23 16 36 21l8 55c1 4 6 8 11 8h85c5 0 10 - 4 11 - 8l7 - 55c13 - 5 25 - 13 36 - 21l53 21c4 2 11 - 1 13 - 5l43 - 71c3 - 5 2 - 11 - 2 - 14l - 45 - 34c0 - 7 1 - 14 1 - 21s0 - 15 - 1 - 21zM207 119c41 0 75 32 75 73s - 34 73 - 75 73 <nl> + s - 74 - 32 - 74 - 73s33 - 73 74 - 73z " / > <nl> + < glyph glyph - name = " ion - android - share - alt " unicode = " & # xf3ac ; " horiz - adv - x = " 384 " <nl> + d = " M320 104c34 0 62 - 28 62 - 62s - 28 - 62 - 62 - 62s - 62 28 - 62 62c0 5 1 10 2 14l - 152 88c - 12 - 11 - 27 - 17 - 44 - 17c - 35 0 - 64 29 - 64 64s28 64 63 64c17 0 32 - 6 44 - 17l151 87c - 1 5 - 2 10 - 2 15c0 35 29 64 64 64s64 - 29 64 - 64s - 29 - 64 - 64 - 64c - 17 0 - 32 6 - 44 17 <nl> + l - 151 - 87c1 - 5 2 - 10 2 - 15s - 1 - 10 - 2 - 15l153 - 88c11 11 26 16 42 16z " / > <nl> + < glyph glyph - name = " ion - android - share " unicode = " & # xf2f8 ; " horiz - adv - x = " 384 " <nl> + d = " M384 200l - 160 - 147v88c - 107 0 - 171 - 34 - 224 - 109c21 107 75 214 224 235v85z " / > <nl> + < glyph glyph - name = " ion - android - star - half " unicode = " & # xf3ad ; " horiz - adv - x = " 404 " <nl> + d = " M404 238l - 110 - 96l33 - 142l - 125 75l - 125 - 75l33 142l - 110 96l145 12l57 134l57 - 134zM219 103l60 - 36l - 16 68l - 5 19l15 12l53 46l - 70 6l - 19 2l - 8 18l - 27 64v - 189z " / > <nl> + < glyph glyph - name = " ion - android - star - outline " unicode = " & # xf3ae ; " horiz - adv - x = " 404 " <nl> + d = " M404 238l - 110 - 96l33 - 142l - 125 75l - 125 - 75l33 142l - 110 96l145 12l57 134l57 - 134zM219 103l60 - 36l - 16 68l - 5 19l15 12l53 46l - 70 6l - 19 2l - 8 18l - 27 64l - 27 - 64l - 8 - 18l - 19 - 2l - 70 - 6l53 - 46l15 - 12l - 5 - 19l - 16 - 68l60 36l17 10z " / > <nl> + < glyph glyph - name = " ion - android - star " unicode = " & # xf2fc ; " horiz - adv - x = " 404 " <nl> + d = " M202 75l - 125 - 75l33 142l - 110 96l145 12l57 134l57 - 134l145 - 12l - 110 - 96l33 - 142z " / > <nl> + < glyph glyph - name = " ion - android - stopwatch " unicode = " & # xf2fd ; " horiz - adv - x = " 384 " <nl> + d = " M168 141v131h48v - 131h - 48zM344 278c25 - 33 40 - 74 40 - 118c0 - 106 - 86 - 192 - 192 - 192s - 192 86 - 192 192s86 192 192 192c44 0 85 - 15 118 - 40l31 30l33 - 33zM298 54c28 28 44 66 44 106s - 16 78 - 44 106s - 66 44 - 106 44s - 78 - 16 - 106 - 44s - 44 - 66 - 44 - 106 <nl> + s16 - 78 44 - 106s66 - 44 106 - 44s78 16 106 44zM128 368v48h128v - 48h - 128z " / > <nl> + < glyph glyph - name = " ion - android - subway " unicode = " & # xf3af ; " horiz - adv - x = " 352 " <nl> + d = " M176 400c94 0 176 - 10 176 - 85v - 214c0 - 42 - 33 - 74 - 75 - 74l27 - 27v - 16h - 256v16l27 27c - 42 0 - 75 32 - 75 74v214c0 75 82 85 176 85zM80 64c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM160 208v96h - 112v - 96h112zM272 64c18 0 32 14 32 32 <nl> + s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM304 208v96h - 112v - 96h112z " / > <nl> + < glyph glyph - name = " ion - android - sunny " unicode = " & # xf3b0 ; " <nl> + d = " M224 288c - 25 0 - 50 - 10 - 68 - 28s - 28 - 43 - 28 - 68s10 - 50 28 - 68s43 - 28 68 - 28s50 10 68 28s28 43 28 68s - 10 50 - 28 68s - 43 28 - 68 28zM245 416v0v - 64h - 42v64h42zM374 372v0l30 - 30l - 38 - 38l - 30 30zM74 372v0l38 - 38l - 30 - 30l - 38 38zM224 320v0c70 0 128 - 58 128 - 128 <nl> + s - 58 - 128 - 128 - 128s - 128 58 - 128 128s58 128 128 128zM448 213v0v - 42h - 64v42h64zM64 213v0v - 42h - 64v42h64zM366 80v0l38 - 38l - 30 - 30l - 38 38zM82 80v0l30 - 30l - 38 - 38l - 30 30zM245 32v0v - 64h - 42v64h42z " / > <nl> + < glyph glyph - name = " ion - android - sync " unicode = " & # xf3b1 ; " horiz - adv - x = " 320 " <nl> + d = " M160 355c88 0 160 - 73 160 - 163c0 - 32 - 9 - 62 - 25 - 87l - 29 30c9 17 14 37 14 57c0 67 - 54 122 - 120 122v - 61l - 80 82l80 81v - 61zM160 70v61l80 - 82l - 80 - 81v61c - 88 0 - 160 73 - 160 163c0 32 9 63 25 87l29 - 30c - 9 - 17 - 14 - 37 - 14 - 57c0 - 67 54 - 122 120 - 122z " / > <nl> + < glyph glyph - name = " ion - android - textsms " unicode = " & # xf3b2 ; " horiz - adv - x = " 384 " <nl> + d = " M344 384c22 0 40 - 18 40 - 40v - 240c0 - 22 - 18 - 40 - 40 - 40h - 280l - 64 - 64v344c0 22 10 40 32 40h312zM134 206v40h - 38v - 40h38zM211 206v40h - 38v - 40h38zM288 206v40h - 38v - 40h38z " / > <nl> + < glyph glyph - name = " ion - android - time " unicode = " & # xf3b3 ; " horiz - adv - x = " 426 " <nl> + d = " M213 405c117 0 213 - 96 213 - 213s - 95 - 213 - 213 - 213s - 213 96 - 213 213s95 213 213 213zM213 22c94 0 170 76 170 170s - 76 170 - 170 170s - 170 - 76 - 170 - 170s76 - 170 170 - 170zM224 298v - 111l96 - 57l - 16 - 26l - 112 67v127h32z " / > <nl> + < glyph glyph - name = " ion - android - train " unicode = " & # xf3b4 ; " horiz - adv - x = " 352 " <nl> + d = " M0 101v214c0 75 82 85 176 85s176 - 10 176 - 85v - 214c0 - 42 - 33 - 74 - 75 - 74l27 - 27v - 16h - 256v16l27 27c - 42 0 - 75 32 - 75 74zM176 72c22 0 40 18 40 40s - 18 40 - 40 40s - 40 - 18 - 40 - 40s18 - 40 40 - 40zM304 224v96h - 256v - 96h256z " / > <nl> + < glyph glyph - name = " ion - android - unlock " unicode = " & # xf3b5 ; " horiz - adv - x = " 320 " <nl> + d = " M280 262c22 0 40 - 18 40 - 40v - 200c0 - 22 - 18 - 40 - 40 - 40h - 240c - 22 0 - 40 18 - 40 40v200c0 22 18 40 40 40h182v40v0c0 34 - 28 62 - 62 62s - 62 - 28 - 62 - 62h - 38c0 55 45 100 100 100s100 - 45 100 - 100v - 40h20zM160 80c22 0 40 18 40 40s - 18 40 - 40 40s - 40 - 18 - 40 - 40 <nl> + s18 - 40 40 - 40z " / > <nl> + < glyph glyph - name = " ion - android - upload " unicode = " & # xf3b6 ; " horiz - adv - x = " 480 " <nl> + d = " M387 231c52 - 3 93 - 46 93 - 99c0 - 55 - 45 - 100 - 100 - 100h - 260c - 66 0 - 120 54 - 120 120c0 62 47 113 107 119c25 48 75 81 133 81c73 0 133 - 52 147 - 121zM272 172h68l - 100 100l - 100 - 100h68v - 76h64v76z " / > <nl> + < glyph glyph - name = " ion - android - volume - down " unicode = " & # xf3b7 ; " horiz - adv - x = " 288 " <nl> + d = " M0 256h85l107 112v - 352l - 107 112h - 85v128zM288 192c0 - 38 - 21 - 73 - 53 - 88v177c32 - 16 53 - 51 53 - 89z " / > <nl> + < glyph glyph - name = " ion - android - volume - mute " unicode = " & # xf3b8 ; " horiz - adv - x = " 192 " <nl> + d = " M0 256h85l107 112v - 352l - 107 112h - 85v128z " / > <nl> + < glyph glyph - name = " ion - android - volume - off " unicode = " & # xf3b9 ; " horiz - adv - x = " 384 " <nl> + d = " M342 192c0 69 - 45 128 - 107 147v45c85 - 20 149 - 99 149 - 192c0 - 35 - 8 - 68 - 24 - 96l - 32 32c9 19 14 41 14 64zM192 368v - 104l - 51 51zM357 51v0l24 - 24l - 24 - 24l - 40 40c - 23 - 21 - 51 - 36 - 82 - 43v45c19 6 37 15 52 28l - 95 95v - 152l - 107 112h - 85v128h85l9 10l - 91 91l24 24z <nl> + M288 192c0 - 7 0 - 15 - 2 - 22l - 51 51v60c32 - 16 53 - 51 53 - 89z " / > <nl> + < glyph glyph - name = " ion - android - volume - up " unicode = " & # xf3ba ; " horiz - adv - x = " 384 " <nl> + d = " M0 256h85l107 112v - 352l - 107 112h - 85v128zM288 192c0 - 38 - 21 - 73 - 53 - 88v177c32 - 16 53 - 51 53 - 89zM235 384c85 - 20 149 - 99 149 - 192s - 64 - 172 - 149 - 192v45c62 19 106 78 106 147s - 44 128 - 106 147v45z " / > <nl> + < glyph glyph - name = " ion - android - walk " unicode = " & # xf3bb ; " horiz - adv - x = " 272 " <nl> + d = " M168 336c - 22 0 - 40 18 - 40 40s18 40 40 40s40 - 18 40 - 40s - 18 - 40 - 40 - 40zM168 216l - 20 38l - 20 - 62l57 - 96v - 128h - 38v96l - 50 68l - 57 - 164h - 40l81 320l - 41 - 16v - 80h - 40v112l111 38c4 1 10 1 13 1c13 0 23 - 6 31 - 18l45 - 69h72v - 40h - 104z " / > <nl> + < glyph glyph - name = " ion - android - warning " unicode = " & # xf3bc ; " <nl> + d = " M0 - 16l224 416l224 - 416h - 448zM248 48v48h - 48v - 48h48zM248 128v96h - 48v - 96h48z " / > <nl> + < glyph glyph - name = " ion - android - watch " unicode = " & # xf3bd ; " horiz - adv - x = " 320 " <nl> + d = " M320 192c0 - 51 - 24 - 96 - 61 - 125l - 19 - 115h - 160l - 19 115c - 37 29 - 61 74 - 61 125s24 96 61 125l19 115h160l19 - 115c37 - 29 61 - 74 61 - 125zM40 192c0 - 66 54 - 120 120 - 120s120 54 120 120s - 54 120 - 120 120s - 120 - 54 - 120 - 120z " / > <nl> + < glyph glyph - name = " ion - android - wifi " unicode = " & # xf305 ; " horiz - adv - x = " 416 " <nl> + d = " M208 219c23 0 42 - 18 42 - 41s - 19 - 41 - 42 - 41s - 42 18 - 42 41s19 41 42 41zM333 178c0 - 45 - 26 - 85 - 63 - 107l - 20 36c25 14 41 40 41 71c0 45 - 37 82 - 83 82s - 83 - 37 - 83 - 82c0 - 31 16 - 57 41 - 71l - 20 - 36c - 37 22 - 63 62 - 63 107c0 68 56 124 125 124s125 - 56 125 - 124z <nl> + M208 384c114 0 208 - 93 208 - 206c0 - 76 - 42 - 142 - 104 - 178l - 21 36c50 28 83 81 83 142c0 91 - 74 165 - 166 165s - 166 - 74 - 166 - 165c0 - 61 33 - 113 83 - 142l - 21 - 36c - 62 36 - 104 102 - 104 178c0 113 94 206 208 206z " / > <nl> + < glyph glyph - name = " ion - aperture " unicode = " & # xf313 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM360 56c36 36 56 85 56 136s - 20 100 - 56 136s - 85 56 - 136 56s - 100 - 20 - 136 - 56s - 56 - 85 - 56 - 136s20 - 100 56 - 136s85 - 56 136 - 56s100 20 136 56zM168 342l56 - 86h - 147 <nl> + c17 40 50 71 91 86zM381 160h - 102l72 129c21 - 27 33 - 60 33 - 97c0 - 11 - 1 - 22 - 3 - 32zM328 314l - 49 - 90l - 78 126c8 1 15 2 23 2c40 0 76 - 14 104 - 38zM67 224h102l - 72 - 129c - 21 27 - 33 60 - 33 97c0 11 1 22 3 32zM280 42l - 56 86h147c - 17 - 40 - 50 - 71 - 91 - 86zM120 70l49 90 <nl> + l78 - 126c - 8 - 1 - 15 - 2 - 23 - 2c - 40 0 - 76 14 - 104 38z " / > <nl> + < glyph glyph - name = " ion - archive " unicode = " & # xf102 ; " <nl> + d = " M224 140l - 128 116h80v96h96v - 96h80zM433 151c11 - 6 17 - 19 15 - 32l - 9 - 67c - 2 - 13 - 9 - 20 - 28 - 20h - 374c - 18 0 - 26 7 - 28 20l - 9 67c - 2 13 3 26 14 32l72 55h42l - 62 - 62h50c2 0 5 - 1 6 - 3l18 - 45h168l18 45c1 2 3 3 5 3h51l - 62 62h42z " / > <nl> + < glyph glyph - name = " ion - arrow - down - a " unicode = " & # xf103 ; " horiz - adv - x = " 384 " <nl> + d = " M192 - 0l - 192 192h112v192h160v - 192h112z " / > <nl> + < glyph glyph - name = " ion - arrow - down - b " unicode = " & # xf104 ; " horiz - adv - x = " 320 " <nl> + d = " M3 263c - 2 2 - 3 6 - 3 9c0 9 8 16 17 16v0h286v0c9 0 17 - 7 17 - 16c0 - 3 - 1 - 6 - 3 - 8l - 2 - 3l - 136 - 156c - 5 - 5 - 11 - 9 - 19 - 9s - 14 4 - 19 9l - 136 156z " / > <nl> + < glyph glyph - name = " ion - arrow - down - c " unicode = " & # xf105 ; " horiz - adv - x = " 274 " <nl> + d = " M265 125l - 105 - 100c - 6 - 6 - 14 - 9 - 23 - 9s - 16 3 - 22 9l - 106 100c - 12 12 - 12 31 0 43s34 12 46 0l50 - 48v217c0 17 14 31 32 31s32 - 14 32 - 31v - 217l50 48c12 12 34 12 46 0s12 - 31 0 - 43z " / > <nl> + < glyph glyph - name = " ion - arrow - expand " unicode = " & # xf25e ; " horiz - adv - x = " 320 " <nl> + d = " M178 238l64 64l - 50 50h128v - 128l - 50 50l - 64 - 64zM178 146l28 28l64 - 64l50 50v - 128h - 128l50 50zM142 146l - 64 - 64l50 - 50h - 128v128l50 - 50l64 64zM142 238l - 28 - 28l - 64 64l - 50 - 50v128h128l - 50 - 50z " / > <nl> + < glyph glyph - name = " ion - arrow - graph - down - left " unicode = " & # xf25f ; " <nl> + d = " M0 64v160l61 - 61l131 141l107 - 112l149 128l - 149 - 203l - 107 107l - 94 - 98l62 - 62h - 160z " / > <nl> + < glyph glyph - name = " ion - arrow - graph - down - right " unicode = " & # xf260 ; " <nl> + d = " M288 64l62 62l - 94 98l - 107 - 107l - 149 203l149 - 128l107 112l131 - 141l61 61v - 160h - 160z " / > <nl> + < glyph glyph - name = " ion - arrow - graph - up - left " unicode = " & # xf261 ; " <nl> + d = " M160 320l - 62 - 62l94 - 98l107 107l149 - 203l - 149 128l - 107 - 112l - 131 141l - 61 - 61v160h160z " / > <nl> + < glyph glyph - name = " ion - arrow - graph - up - right " unicode = " & # xf262 ; " <nl> + d = " M288 320h160v - 160l - 61 61l - 131 - 141l - 107 112l - 149 - 128l149 203l107 - 107l94 98z " / > <nl> + < glyph glyph - name = " ion - arrow - left - a " unicode = " & # xf106 ; " horiz - adv - x = " 384 " <nl> + d = " M0 192l192 192v - 112h192v - 160h - 192v - 112z " / > <nl> + < glyph glyph - name = " ion - arrow - left - b " unicode = " & # xf107 ; " horiz - adv - x = " 192 " <nl> + d = " M167 349c2 2 6 3 9 3c9 0 16 - 8 16 - 17v0v - 286v0c0 - 9 - 7 - 17 - 16 - 17c - 3 0 - 7 1 - 9 3l - 2 2l - 156 136c - 5 5 - 9 11 - 9 19s4 14 9 19l156 136z " / > <nl> + < glyph glyph - name = " ion - arrow - left - c " unicode = " & # xf108 ; " horiz - adv - x = " 352 " <nl> + d = " M109 320c12 12 32 12 44 0s12 - 34 0 - 46l - 49 - 50h217c17 0 31 - 14 31 - 32s - 14 - 32 - 31 - 32h - 217l48 - 50c12 - 12 12 - 34 0 - 46s - 31 - 12 - 43 0l - 100 106c - 6 6 - 9 13 - 9 22s3 17 9 23z " / > <nl> + < glyph glyph - name = " ion - arrow - move " unicode = " & # xf263 ; " <nl> + d = " M448 192l - 96 - 96v76h - 109l1 - 108h76l - 96 - 96l - 96 96h76v108h - 108v - 76l - 96 96l96 96v - 76h108v108h - 76l96 96l96 - 96h - 76v - 108h108v76z " / > <nl> + < glyph glyph - name = " ion - arrow - resize " unicode = " & # xf264 ; " horiz - adv - x = " 320 " <nl> + d = " M192 352h128v - 128l - 50 50l - 9 - 9l - 183 - 183l50 - 50h - 128v128l50 - 50l128 128v0l64 64z " / > <nl> + < glyph glyph - name = " ion - arrow - return - left " unicode = " & # xf265 ; " horiz - adv - x = " 384 " <nl> + d = " M128 352v - 64h248c4 0 8 - 4 8 - 8v - 240c0 - 4 - 4 - 8 - 8 - 8h - 304c - 4 0 - 8 4 - 8 8v48c0 4 4 8 8 8h248v128h - 192v - 64l - 128 96z " / > <nl> + < glyph glyph - name = " ion - arrow - return - right " unicode = " & # xf266 ; " horiz - adv - x = " 384 " <nl> + d = " M384 256l - 128 - 96v64h - 192v - 128h248c4 0 8 - 4 8 - 8v - 48c0 - 4 - 4 - 8 - 8 - 8h - 304c - 4 0 - 8 4 - 8 8v240c0 4 4 8 8 8h248v64z " / > <nl> + < glyph glyph - name = " ion - arrow - right - a " unicode = " & # xf109 ; " horiz - adv - x = " 384 " <nl> + d = " M384 192l - 192 - 192v112h - 192v160h192v112z " / > <nl> + < glyph glyph - name = " ion - arrow - right - b " unicode = " & # xf10a ; " horiz - adv - x = " 192 " <nl> + d = " M25 35c - 2 - 2 - 6 - 3 - 9 - 3c - 9 0 - 16 8 - 16 17v0v286v0c0 9 7 17 16 17c3 0 6 - 1 8 - 3l3 - 2l156 - 136c5 - 5 9 - 11 9 - 19s - 4 - 14 - 9 - 19l - 156 - 136z " / > <nl> + < glyph glyph - name = " ion - arrow - right - c " unicode = " & # xf10b ; " horiz - adv - x = " 352 " <nl> + d = " M243 320l100 - 105c6 - 6 9 - 14 9 - 23s - 3 - 16 - 9 - 22l - 100 - 106c - 12 - 12 - 31 - 12 - 43 0s - 12 34 0 46l48 50h - 217c - 17 0 - 31 14 - 31 32s14 32 31 32h217l - 49 50c - 12 12 - 12 34 0 46s32 12 44 0z " / > <nl> + < glyph glyph - name = " ion - arrow - shrink " unicode = " & # xf267 ; " horiz - adv - x = " 384 " <nl> + d = " M384 356l - 82 - 82l50 - 50h - 128v128l50 - 50l82 82zM384 28l - 28 - 28l - 82 82l - 50 - 50v128h128l - 50 - 50zM0 28l82 82l - 50 50h128v - 128l - 50 50l - 82 - 82zM0 356l28 28l82 - 82l50 50v - 128h - 128l50 50z " / > <nl> + < glyph glyph - name = " ion - arrow - swap " unicode = " & # xf268 ; " horiz - adv - x = " 384 " <nl> + d = " M0 120c0 4 4 8 8 8h248v64l128 - 96l - 128 - 96v64h - 248c - 4 0 - 8 4 - 8 8v48zM384 264c0 - 4 - 4 - 8 - 8 - 8h - 248v - 64l - 128 96l128 96v - 64h248c4 0 8 - 4 8 - 8v - 48z " / > <nl> + < glyph glyph - name = " ion - arrow - up - a " unicode = " & # xf10c ; " horiz - adv - x = " 384 " <nl> + d = " M192 384l192 - 192h - 112v - 192h - 160v192h - 112z " / > <nl> + < glyph glyph - name = " ion - arrow - up - b " unicode = " & # xf10d ; " horiz - adv - x = " 320 " <nl> + d = " M317 121c2 - 2 3 - 6 3 - 9c0 - 9 - 8 - 16 - 17 - 16v0h - 286v0c - 9 0 - 17 7 - 17 16c0 3 1 6 3 8l2 3l136 156c5 5 11 9 19 9s14 - 4 19 - 9l136 - 156z " / > <nl> + < glyph glyph - name = " ion - arrow - up - c " unicode = " & # xf10e ; " horiz - adv - x = " 274 " <nl> + d = " M9 259l105 100c6 6 14 9 23 9s16 - 3 22 - 9l106 - 100c12 - 12 12 - 31 0 - 43s - 34 - 12 - 46 0l - 50 48v - 217c0 - 17 - 14 - 31 - 32 - 31s - 32 14 - 32 31v217l - 50 - 49c - 12 - 12 - 34 - 12 - 46 0s - 12 32 0 44z " / > <nl> + < glyph glyph - name = " ion - asterisk " unicode = " & # xf314 ; " <nl> + d = " M448 224v - 64l - 186 10l104 - 170l - 56 - 32l - 86 176l - 86 - 176l - 56 32l104 170l - 186 - 10v64l187 - 7l - 109 167l60 32l86 - 176l86 176l60 - 32l - 109 - 167z " / > <nl> + < glyph glyph - name = " ion - at " unicode = " & # xf10f ; " <nl> + d = " M422 41c - 24 - 25 - 52 - 43 - 85 - 55s - 69 - 18 - 105 - 18c - 35 0 - 66 6 - 95 17s - 53 26 - 73 46s - 36 43 - 47 71s - 17 58 - 17 90s6 62 18 89s29 51 50 71s46 35 74 47c28 11 58 17 90 17c28 0 55 - 4 81 - 12s49 - 20 69 - 36s36 - 36 48 - 60s18 - 53 18 - 85c0 - 24 - 3 - 46 - 10 - 64 <nl> + s - 16 - 34 - 27 - 46s - 24 - 22 - 38 - 28s - 29 - 10 - 45 - 10s - 29 4 - 39 12s - 15 17 - 15 29h - 3c - 6 - 10 - 15 - 19 - 28 - 28s - 28 - 13 - 46 - 13c - 28 0 - 49 9 - 64 27s - 23 42 - 23 71c0 17 3 34 9 50s14 31 24 44s23 23 38 31s31 12 49 12c15 0 27 - 4 38 - 10c10 - 6 18 - 15 21 - 24h1l5 24h54 <nl> + l - 24 - 113c - 1 - 6 - 2 - 12 - 3 - 19s - 2 - 13 - 2 - 19c0 - 7 1 - 13 4 - 18s7 - 7 15 - 7c16 0 29 9 39 26s16 40 16 68c0 24 - 4 45 - 12 64s - 20 34 - 34 47s - 32 23 - 52 29s - 41 9 - 65 9c - 26 0 - 49 - 4 - 70 - 13s - 39 - 22 - 54 - 38s - 27 - 34 - 35 - 56c - 8 - 21 - 13 - 44 - 13 - 69c0 - 26 4 - 51 13 - 72 <nl> + s21 - 39 37 - 54s35 - 27 57 - 35s46 - 12 72 - 12c33 0 61 6 85 16s45 25 65 43zM231 260c - 10 0 - 18 - 2 - 25 - 8s - 14 - 13 - 19 - 22s - 8 - 18 - 11 - 28s - 4 - 20 - 4 - 30c0 - 5 0 - 10 1 - 16c1 - 5 3 - 10 6 - 15s7 - 8 12 - 11s11 - 5 19 - 5c11 0 20 3 28 8s14 13 19 21s9 16 11 26s3 19 3 27 <nl> + c0 6 0 13 - 1 19s - 4 12 - 7 17s - 7 9 - 12 12s - 12 5 - 20 5z " / > <nl> + < glyph glyph - name = " ion - backspace - outline " unicode = " & # xf3be ; " horiz - adv - x = " 512 " <nl> + d = " M413 116c2 - 2 3 - 4 3 - 6s - 1 - 4 - 3 - 6l - 21 - 22c - 2 - 2 - 4 - 2 - 6 - 2s - 4 0 - 6 2l - 76 77l - 76 - 77c - 2 - 2 - 4 - 2 - 6 - 2s - 4 0 - 6 2l - 21 22c - 2 2 - 3 4 - 3 6s1 4 3 6l76 76l - 77 76c - 3 3 - 3 9 0 12l22 22c2 2 4 2 6 2s4 0 6 - 2l76 - 76l76 76c2 2 4 2 6 2s4 0 6 - 2l22 - 22 <nl> + c3 - 3 3 - 9 0 - 12l - 77 - 76zM499 354c9 - 9 13 - 20 13 - 33v - 256c0 - 27 - 20 - 49 - 46 - 49h - 298c - 13 0 - 24 3 - 34 9c - 9 5 - 16 11 - 23 20v0l - 1 1l - 110 146l110 148c14 19 34 28 58 28h298c13 0 24 - 5 33 - 14zM480 65v256c0 9 - 5 15 - 14 15h - 298c - 11 0 - 22 - 3 - 32 - 16l - 96 - 128 <nl> + l96 - 128c8 - 10 17 - 16 32 - 16h298c9 0 14 8 14 17z " / > <nl> + < glyph glyph - name = " ion - backspace " unicode = " & # xf3bf ; " horiz - adv - x = " 512 " <nl> + d = " M499 354c9 - 9 13 - 20 13 - 33v - 256c0 - 27 - 20 - 49 - 46 - 49h - 298c - 13 0 - 24 3 - 34 9c - 9 5 - 16 11 - 23 20v0l - 1 1l - 110 146l110 148c14 19 34 28 58 28h298c13 0 24 - 5 33 - 14zM413 116l - 76 76l77 76c3 3 3 9 0 12l - 22 22c - 2 2 - 4 2 - 6 2s - 4 0 - 6 - 2l - 76 - 76l - 76 76 <nl> + c - 2 2 - 4 2 - 6 2s - 4 0 - 6 - 2l - 22 - 22c - 3 - 3 - 3 - 9 0 - 12l77 - 76l - 76 - 76c - 2 - 2 - 3 - 4 - 3 - 6s1 - 4 3 - 6l21 - 22c2 - 2 4 - 2 6 - 2s4 0 6 2l76 77l76 - 77c2 - 2 4 - 2 6 - 2s4 0 6 2l21 22c2 2 3 4 3 6s - 1 4 - 3 6z " / > <nl> + < glyph glyph - name = " ion - bag " unicode = " & # xf110 ; " <nl> + d = " M416 288l32 - 320h - 448l32 320h64v4c0 68 56 124 124 124h8c68 0 124 - 56 124 - 124v - 4h64zM128 292v - 4h192v4c0 51 - 41 92 - 92 92v0h - 8c - 51 0 - 92 - 41 - 92 - 92zM36 0h376l - 25 256h - 35v - 36c10 - 6 16 - 16 16 - 28c0 - 18 - 14 - 32 - 32 - 32s - 32 14 - 32 32c0 12 6 22 16 28v36 <nl> + h - 192v - 36c10 - 6 16 - 16 16 - 28c0 - 18 - 14 - 32 - 32 - 32s - 32 14 - 32 32c0 12 6 22 16 28v36h - 35z " / > <nl> + < glyph glyph - name = " ion - battery - charging " unicode = " & # xf111 ; " <nl> + d = " M10 64c - 6 0 - 10 4 - 10 10v236c0 6 4 10 10 10h381c6 0 10 - 4 10 - 10v - 54h37c6 0 10 - 4 10 - 10v - 108c0 - 6 - 4 - 10 - 10 - 10h - 37v - 54c0 - 6 - 4 - 10 - 10 - 10h - 381zM225 288l - 100 - 111h61l - 27 - 81l100 111h - 61z " / > <nl> + < glyph glyph - name = " ion - battery - empty " unicode = " & # xf112 ; " <nl> + d = " M438 256c6 0 10 - 4 10 - 10v - 108c0 - 6 - 4 - 10 - 10 - 10h - 37v - 54c0 - 6 - 4 - 10 - 10 - 10h - 381c - 6 0 - 10 4 - 10 10v236c0 6 4 10 10 10h381c6 0 10 - 4 10 - 10v - 54h37zM416 160v64h - 15h - 32v32v32h - 337v - 192h337v32v32h32h15z " / > <nl> + < glyph glyph - name = " ion - battery - full " unicode = " & # xf113 ; " <nl> + d = " M438 256c6 0 10 - 4 10 - 10v - 108c0 - 6 - 4 - 10 - 10 - 10h - 37v - 54c0 - 6 - 4 - 10 - 10 - 10h - 381c - 6 0 - 10 4 - 10 10v236c0 6 4 10 10 10h381c6 0 10 - 4 10 - 10v - 54h37z " / > <nl> + < glyph glyph - name = " ion - battery - half " unicode = " & # xf114 ; " <nl> + d = " M438 256c6 0 10 - 4 10 - 10v - 108c0 - 6 - 4 - 10 - 10 - 10h - 37v - 54c0 - 6 - 4 - 10 - 10 - 10h - 381c - 6 0 - 10 4 - 10 10v236c0 6 4 10 10 10h381c6 0 10 - 4 10 - 10v - 54h37zM416 160v64h - 15h - 32v32v32h - 81l32 - 192h49v32v32h32h15z " / > <nl> + < glyph glyph - name = " ion - battery - low " unicode = " & # xf115 ; " <nl> + d = " M10 64c - 6 0 - 10 4 - 10 10v236c0 6 4 10 10 10h381c6 0 10 - 4 10 - 10v - 54h37c6 0 10 - 4 10 - 10v - 108c0 - 6 - 4 - 10 - 10 - 10h - 37v - 54c0 - 6 - 4 - 10 - 10 - 10h - 381zM369 288h - 209l32 - 192h177v32v32h32h15v64h - 15h - 32v32v32z " / > <nl> + < glyph glyph - name = " ion - beaker " unicode = " & # xf269 ; " horiz - adv - x = " 384 " <nl> + d = " M80 256h240v - 224c0 - 9 - 7 - 16 - 16 - 16h - 208c - 9 0 - 16 7 - 16 16v224zM296 104v48c0 4 - 4 8 - 8 8s - 8 - 4 - 8 - 8v - 48c0 - 4 4 - 8 8 - 8s8 4 8 8zM288 176c4 0 8 4 8 8s - 4 8 - 8 8s - 8 - 4 - 8 - 8s4 - 8 8 - 8zM381 416c3 0 3 - 2 3 - 3s - 2 - 3 - 3 - 5s - 13 - 20 - 13 - 40v - 336 <nl> + c0 - 35 - 29 - 64 - 64 - 64h - 208c - 35 0 - 64 29 - 64 64v307c0 32 - 2 33 - 32 37c0 12 11 40 65 40h316zM336 368c0 5 0 16 1 16h - 273c - 1 0 - 3 0 - 4 - 1c5 - 7 4 - 32 4 - 44v - 307c0 - 18 14 - 32 32 - 32h210c17 0 30 14 30 32v336z " / > <nl> + < glyph glyph - name = " ion - beer " unicode = " & # xf26a ; " <nl> + d = " M384 288c35 0 64 - 29 64 - 64v - 96c0 - 35 - 29 - 64 - 64 - 64h - 32v - 80c0 - 9 - 7 - 16 - 16 - 16h - 256c - 9 0 - 16 7 - 16 16v223c - 26 0 - 48 22 - 48 48v54v1c - 10 11 - 16 26 - 16 42c0 35 29 64 64 64c18 0 34 - 8 46 - 20c10 12 26 20 43 20c14 0 27 - 6 37 - 14c12 9 26 14 42 14 <nl> + c17 0 34 - 6 46 - 16c11 10 26 16 42 16c35 0 64 - 29 64 - 64c0 - 24 - 18 - 44 - 32 - 48v - 16h32zM296 144c4 0 8 3 8 8v0v48c0 4 - 4 8 - 8 8s - 8 - 4 - 8 - 8v - 48c0 - 3 2 - 6 4 - 7c1 - 1 2 - 1 4 - 1zM303 220c1 2 1 4 1 6s - 1 4 - 3 5s - 4 1 - 6 1s - 4 - 2 - 5 - 4s - 2 - 4 - 2 - 6s2 - 4 4 - 5 <nl> + s4 - 1 6 - 1s4 2 5 4zM320 288v32h - 20c - 3 - 8 - 7 - 16 - 13 - 23c - 13 - 16 - 33 - 25 - 55 - 25c - 26 0 - 48 13 - 61 33c - 6 - 2 - 12 - 3 - 18 - 3c - 12 0 - 23 4 - 32 10c - 2 1 - 3 3 - 5 4c - 1 - 2 - 2 - 3 - 3 - 5c - 5 - 6 - 11 - 10 - 17 - 14v - 32v - 9h80c0 4 4 8 8 8s8 - 4 8 - 8h128v32zM351 343c1 3 1 6 1 9 <nl> + c0 18 - 14 32 - 32 32c - 9 0 - 17 - 4 - 23 - 10c - 2 - 2 - 6 - 5 - 16 - 6h - 8c - 6 1 - 12 3 - 14 5c - 7 7 - 16 11 - 27 11c - 9 0 - 18 - 4 - 25 - 9l - 7 - 7c0 - 1 0 - 1 - 1 - 2c - 3 - 3 - 7 - 5 - 11 - 5c - 5 0 - 8 3 - 11 6c - 1 2 - 2 3 - 3 5s - 3 4 - 5 6c - 4 4 - 10 6 - 16 6c - 10 0 - 18 - 9 - 25 - 16 <nl> + c - 7 - 8 - 27 - 8 - 34 0s - 18 16 - 30 16c - 18 0 - 32 - 14 - 32 - 32c0 - 2 1 - 5 1 - 7c2 - 9 7 - 17 15 - 21v - 34v - 35c0 - 9 7 - 16 16 - 16v26v23v32c10 0 18 4 24 11c2 2 3 4 4 6c0 0 6 10 12 11s20 6 30 - 5c4 - 5 11 - 9 19 - 9c3 0 5 1 7 2c3 1 7 2 9 4v0c3 2 6 4 10 4c7 0 12 - 4 14 - 10 <nl> + c0 0 1 - 1 1 - 2c1 - 3 1 - 5 3 - 8c7 - 12 20 - 20 35 - 20c13 0 25 6 32 16c5 7 8 15 8 24s9 8 9 8h7h48c6 0 13 - 3 15 - 9zM416 128v96c0 18 - 14 32 - 32 32h - 32v - 160h32c18 0 32 14 32 32zM128 280c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM288 280c0 5 3 8 8 8s8 - 3 8 - 8 <nl> + s - 3 - 8 - 8 - 8s - 8 3 - 8 8z " / > <nl> + < glyph glyph - name = " ion - bluetooth " unicode = " & # xf116 ; " horiz - adv - x = " 256 " <nl> + d = " M12 304c16 16 18 13 19 12l68 - 65v0v0c2 - 2 10 - 10 10 - 3v156v0v2c0 6 6 10 12 10c4 0 7 - 2 9 - 4v0s117 - 113 122 - 117s5 - 10 1 - 14l - 84 - 81s - 4 - 4 - 4 - 8s4 - 8 4 - 8l84 - 81c4 - 4 4 - 10 - 1 - 14s - 122 - 117 - 122 - 117v0c - 2 - 2 - 5 - 4 - 9 - 4c - 6 0 - 12 4 - 12 10v2v0v156 <nl> + s - 8 - 1 - 10 - 3v0v - 1l - 68 - 64c - 1 - 1 - 3 - 4 - 19 12s - 12 17 - 11 18s90 86 90 86s4 3 4 8v0c0 5 - 4 8 - 4 8s - 89 85 - 90 86s - 5 2 11 18zM152 328v - 79c0 - 8 8 - 1 10 1l30 30s3 5 3 7s - 1 5 - 3 7l - 30 30c - 2 2 - 10 11 - 10 4zM152 135v - 79s8 2 10 4l30 30c2 2 3 5 3 7s - 1 5 - 3 7l - 30 30 <nl> + c - 2 2 - 10 9 - 10 1z " / > <nl> + < glyph glyph - name = " ion - bonfire " unicode = " & # xf315 ; " horiz - adv - x = " 384 " <nl> + d = " M207 97l15 - 89c1 - 3 1 - 5 1 - 8c0 - 18 - 14 - 32 - 32 - 32s - 32 14 - 32 32c0 2 0 5 1 7l15 92v0c2 7 8 13 16 13s15 - 7 16 - 15zM242 93v0v0v0zM329 58c9 - 8 10 - 25 0 - 35s - 27 - 9 - 35 0c - 1 1 - 2 3 - 3 4l - 49 66c - 3 5 - 2 11 2 15c5 5 10 5 16 1l64 - 47c2 - 1 3 - 3 5 - 4zM309 113v0 <nl> + v0v0zM371 126c9 - 1 13 - 7 13 - 19c0 - 9 - 10 - 14 - 18 - 12l - 57 18v0v0c - 3 2 - 6 5 - 5 9s4 7 8 6zM75 113v0v0v0zM75 113v0l - 58 - 18c - 8 - 2 - 17 3 - 17 12c0 12 3 18 12 19l60 2c4 1 7 - 2 8 - 6s - 2 - 7 - 5 - 9v0zM124 109c5 4 11 4 16 - 1c4 - 4 5 - 10 2 - 15l - 49 - 66c - 1 - 1 - 2 - 3 - 3 - 4 <nl> + c - 10 - 10 - 25 - 10 - 35 0s - 10 25 0 35c2 2 3 3 5 4zM288 320c0 - 32 - 9 - 58 - 50 - 86c - 37 - 26 - 94 - 46 - 110 - 106c0 0 - 58 24 - 48 96s124 106 112 192c24 0 96 - 35 96 - 96zM288 192c - 16 - 50 - 44 - 64 - 80 - 64c - 15 0 - 32 9 - 43 26c12 15 28 26 47 37c9 5 20 10 29 16 <nl> + c21 14 38 31 47 49c5 - 15 5 - 48 0 - 64zM88 288c - 6 4 - 9 14 - 8 27c2 22 34 39 32 69c14 2 31 - 3 42 - 24c - 5 - 11 - 15 - 21 - 28 - 34s - 26 - 22 - 38 - 38z " / > <nl> + < glyph glyph - name = " ion - bookmark " unicode = " & # xf26b ; " horiz - adv - x = " 192 " <nl> + d = " M184 384c4 0 8 - 4 8 - 8v - 56h - 192v56c0 4 4 8 8 8h176zM0 0v304h192v - 304l - 96 96z " / > <nl> + < glyph glyph - name = " ion - bowtie " unicode = " & # xf3c0 ; " <nl> + d = " M192 236c0 0 8 5 20 7c21 4 39 5 47 - 9c10 - 17 19 - 53 17 - 85c - 1 - 17 - 5 - 22 - 5 - 22s - 15 - 10 - 47 - 7c - 35 3 - 40 15 - 40 15s5 12 8 43s0 58 0 58zM152 163c - 17 - 4 - 38 - 10 - 38 - 10s45 4 64 9c - 4 - 21 - 10 - 34 - 10 - 34s - 83 - 80 - 116 - 80c - 28 0 - 52 68 - 52 144s26 144 52 144 <nl> + c35 0 106 - 57 128 - 97c0 0 3 - 16 2 - 32c - 10 5 - 24 10 - 44 14c - 28 6 - 42 3 - 42 3s18 - 4 57 - 17c15 - 5 22 - 8 29 - 10c0 - 3 - 1 - 7 - 1 - 10c0 - 5 0 - 10 - 1 - 15c - 5 - 2 - 15 - 6 - 28 - 9zM396 336c26 0 52 - 68 52 - 144s - 24 - 144 - 52 - 144c - 37 0 - 104 68 - 112 79c0 0 4 5 5 22v9 <nl> + c16 - 7 70 - 13 70 - 13s - 21 6 - 40 11c - 13 4 - 25 8 - 30 10c - 1 11 - 2 23 - 4 33c17 11 69 34 69 34s - 15 - 2 - 35 - 9c - 14 - 5 - 29 - 11 - 37 - 14c - 3 10 - 7 18 - 10 24c0 1 - 1 4 - 1 4v1c22 40 89 97 125 97z " / > <nl> + < glyph glyph - name = " ion - briefcase " unicode = " & # xf26c ; " <nl> + d = " M240 176v8h208v - 176c0 - 4 - 4 - 8 - 8 - 8h - 432c - 4 0 - 8 4 - 8 8v176h208v - 8h32zM440 304c4 0 8 - 4 8 - 8v - 96h - 208v8h - 32v - 8h - 208v96c0 4 4 8 8 8h120v31c1 28 22 49 51 49h90c30 0 50 - 21 51 - 49v - 31h120zM288 332v1c0 10 - 9 19 - 19 19h - 90c - 10 0 - 19 - 9 - 19 - 19v - 1v - 1v - 27 <nl> + h128v27v1z " / > <nl> + < glyph glyph - name = " ion - bug " unicode = " & # xf2be ; " <nl> + d = " M343 321c - 6 - 16 - 16 - 31 - 28 - 43c - 24 - 24 - 57 - 37 - 91 - 37s - 67 13 - 91 37c - 12 12 - 22 27 - 28 43c29 39 72 63 119 63s90 - 24 119 - 63zM95 305c22 - 45 68 - 77 121 - 80v - 225c - 40 2 - 77 22 - 104 54c - 7 - 6 - 10 - 9 - 13 - 15c8 - 9 7 - 22 - 1 - 31c - 9 - 10 - 24 - 11 - 34 - 2 <nl> + s - 11 24 - 2 34l3 3s2 1 2 1c4 13 13 25 27 36c - 15 26 - 26 57 - 29 90c - 7 0 - 12 - 2 - 17 - 3c - 1 - 13 - 11 - 23 - 24 - 23s - 24 11 - 24 24s11 24 24 24h3c4 2 8 5 12 6c7 2 14 4 25 4c1 23 6 45 13 65c - 6 4 - 11 7 - 15 11c - 6 5 - 11 13 - 14 19c - 1 0 - 3 1 - 4 2c - 12 6 - 15 21 - 9 33 <nl> + s21 15 33 9c11 - 6 15 - 20 10 - 31c2 - 3 3 - 7 4 - 8c2 - 2 5 - 3 8 - 5c2 3 3 5 5 8zM424 192c13 0 24 - 11 24 - 24s - 11 - 24 - 24 - 24s - 23 10 - 24 23c - 5 1 - 10 3 - 17 3c - 3 - 33 - 14 - 64 - 29 - 90c14 - 11 23 - 23 27 - 36c0 0 1 0 2 - 1l3 - 3c9 - 10 8 - 25 - 2 - 34s - 25 - 8 - 34 2 <nl> + c - 8 9 - 9 22 - 1 31c - 3 6 - 6 9 - 13 15c - 27 - 32 - 64 - 52 - 104 - 54v225c53 3 99 35 121 80c2 - 3 3 - 5 5 - 8c3 2 6 3 8 5c1 1 2 5 4 8c - 5 11 - 1 25 10 31c12 6 27 3 33 - 9s3 - 27 - 9 - 33c - 1 - 1 - 3 - 2 - 4 - 2c - 3 - 6 - 8 - 14 - 14 - 19c - 4 - 4 - 9 - 7 - 15 - 11c7 - 20 12 - 42 13 - 65 <nl> + c11 0 18 - 2 25 - 4c4 - 1 8 - 4 12 - 6h3z " / > <nl> + < glyph glyph - name = " ion - calculator " unicode = " & # xf26d ; " horiz - adv - x = " 320 " <nl> + d = " M304 416c9 0 16 - 7 16 - 16v - 416c0 - 9 - 7 - 16 - 16 - 16h - 288c - 9 0 - 16 7 - 16 16v416c0 9 7 16 16 16h288zM48 240v - 32h32v32h - 32zM48 176v - 32h32v32h - 32zM48 112v - 32h32v32h - 32zM144 16v32h - 96v - 32h96zM144 80v32h - 32v - 32h32zM144 144v32h - 32v - 32h32zM144 208v32h - 32v - 32 <nl> + h32zM208 16v32h - 32v - 32h32zM208 80v32h - 32v - 32h32zM208 144v32h - 32v - 32h32zM208 208v32h - 32v - 32h32zM272 16v96h - 32v - 96h32zM272 144v32h - 32v - 32h32zM272 208v32h - 32v - 32h32zM272 288v80h - 224v - 80h224z " / > <nl> + < glyph glyph - name = " ion - calendar " unicode = " & # xf117 ; " <nl> + d = " M112 320c - 18 0 - 32 14 - 32 32v32c0 18 14 32 32 32s32 - 14 32 - 32v - 32c0 - 18 - 14 - 32 - 32 - 32zM336 320c - 18 0 - 32 14 - 32 32v32c0 18 14 32 32 32s32 - 14 32 - 32v - 32c0 - 18 - 14 - 32 - 32 - 32zM440 384c4 0 8 - 4 8 - 8v - 400c0 - 4 - 4 - 8 - 8 - 8h - 432c - 4 0 - 8 4 - 8 8v400 <nl> + c0 4 4 8 8 8h56v - 41c0 - 22 24 - 39 48 - 39s48 17 48 39v41h128v - 41c0 - 22 25 - 39 49 - 39s47 17 47 39v41h56zM400 16v256h - 352v - 256h352z " / > <nl> + < glyph glyph - name = " ion - camera " unicode = " & # xf118 ; " horiz - adv - x = " 416 " <nl> + d = " M382 301c18 0 34 - 14 34 - 33v - 202c0 - 19 - 16 - 34 - 34 - 34h - 348c - 19 0 - 34 15 - 34 34v202c0 19 15 33 34 33h69l39 40v0c6 7 15 11 25 11h84c9 0 17 - 4 23 - 10v0v0v0l41 - 41h67zM208 82c51 0 92 42 92 93s - 41 93 - 92 93s - 92 - 42 - 92 - 93s41 - 93 92 - 93zM376 248 <nl> + c8 0 14 6 14 14s - 6 14 - 14 14s - 14 - 6 - 14 - 14s6 - 14 14 - 14zM208 245c38 0 70 - 31 70 - 70s - 32 - 70 - 70 - 70c - 39 0 - 70 31 - 70 70s31 70 70 70z " / > <nl> + < glyph glyph - name = " ion - card " unicode = " & # xf119 ; " <nl> + d = " M420 352c16 0 28 - 12 28 - 28v0v - 264v0c0 - 16 - 12 - 28 - 28 - 28h - 392c - 16 0 - 28 12 - 28 28v0v0v264v0v0c0 16 12 28 28 28h392zM45 320c - 7 0 - 12 - 5 - 13 - 12v - 20h384v20c - 1 7 - 6 12 - 13 12h - 358zM403 64c7 0 12 5 13 12v116h - 384v - 116c1 - 7 6 - 12 13 - 12h358zM64 128v16 <nl> + h192v - 16h - 192zM64 96v16h96v - 16h - 96zM320 96v48h64v - 48h - 64z " / > <nl> + < glyph glyph - name = " ion - cash " unicode = " & # xf316 ; " horiz - adv - x = " 512 " <nl> + d = " M0 352h512v - 256h - 512v256zM193 128c - 20 23 - 33 58 - 33 96s13 73 33 96h - 97c0 - 35 - 29 - 64 - 64 - 64v - 80c27 0 48 - 21 48 - 48h113zM298 187c3 4 4 9 4 15c0 3 0 5 - 1 8s - 2 6 - 4 8s - 4 4 - 7 6s - 6 4 - 10 5c - 1 0 - 4 1 - 7 2s - 5 0 - 8 1v31c2 - 1 5 - 2 7 - 3c4 - 3 6 - 7 7 - 13h20 <nl> + c0 5 - 2 9 - 4 13s - 5 8 - 9 11s - 9 5 - 14 6c - 2 1 - 5 2 - 7 2v9h - 18v - 9c - 2 0 - 4 - 1 - 6 - 2c - 5 - 1 - 10 - 2 - 14 - 5s - 7 - 6 - 9 - 10s - 4 - 9 - 4 - 14c0 - 3 0 - 5 1 - 8s2 - 5 4 - 7s5 - 5 8 - 7s7 - 4 12 - 5c3 - 1 6 0 8 - 1v - 35c - 3 1 - 6 2 - 9 4s - 5 4 - 6 7s - 2 6 - 2 9h - 20c0 - 5 2 - 11 4 - 16 <nl> + c3 - 5 6 - 8 10 - 11s9 - 6 15 - 7c3 - 1 5 - 2 8 - 2v - 9h18v9c3 0 6 1 9 2c5 1 10 2 14 5s7 7 10 11zM480 176v80c - 35 0 - 64 29 - 64 64h - 97c20 - 23 33 - 58 33 - 96s - 13 - 73 - 33 - 96h113c0 27 22 48 48 48zM64 224c0 21 11 32 32 32s32 - 11 32 - 32s - 11 - 32 - 32 - 32s - 32 11 - 32 32z <nl> + M384 224c0 21 11 32 32 32s32 - 11 32 - 32s - 11 - 32 - 32 - 32s - 32 11 - 32 32zM273 213c2 - 1 4 - 2 6 - 4s3 - 5 3 - 9c0 - 2 0 - 4 - 1 - 6s - 2 - 4 - 4 - 5s - 5 - 3 - 8 - 4c - 1 0 - 2 - 1 - 4 - 1v31c3 - 1 6 - 1 8 - 2zM236 257c1 2 3 3 5 4s4 2 6 2v - 26c - 4 1 - 7 3 - 9 5s - 4 4 - 4 8c0 3 1 5 2 7zM0 32 <nl> + v32h512v - 32h - 512z " / > <nl> + < glyph glyph - name = " ion - chatbox - working " unicode = " & # xf11a ; " horiz - adv - x = " 416 " <nl> + d = " M76 48c - 42 0 - 76 31 - 76 71v209c0 40 34 72 76 72h264c42 0 76 - 32 76 - 72v - 209c0 - 40 - 34 - 71 - 76 - 71h - 4v - 64s - 79 54 - 86 59s - 7 5 - 21 5h - 153zM304 256c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32zM208 256c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32 <nl> + s32 14 32 32s - 14 32 - 32 32zM112 256c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32z " / > <nl> + < glyph glyph - name = " ion - chatbox " unicode = " & # xf11b ; " horiz - adv - x = " 416 " <nl> + d = " M76 48c - 42 0 - 76 31 - 76 71v209c0 40 34 72 76 72h264c42 0 76 - 32 76 - 72v - 209c0 - 40 - 34 - 71 - 76 - 71h - 4v - 64s - 79 54 - 86 59s - 7 5 - 21 5h - 153z " / > <nl> + < glyph glyph - name = " ion - chatboxes " unicode = " & # xf11c ; " horiz - adv - x = " 416 " <nl> + d = " M246 82l26 - 18c - 4 - 21 - 29 - 32 - 52 - 32h - 90c - 8 0 - 11 - 2 - 13 - 3l - 53 - 45v48h - 16c - 26 0 - 48 16 - 48 41v129c0 25 20 45 46 45h2v - 101c0 - 33 29 - 59 64 - 59h117c10 0 14 - 3 17 - 5zM353 400c35 0 63 - 27 63 - 60v - 168c0 - 33 - 28 - 60 - 63 - 60h - 17v - 64l - 75 60c - 2 2 - 7 4 - 17 4 <nl> + h - 101c - 35 0 - 63 27 - 63 60v98v70c0 33 21 60 56 60h217z " / > <nl> + < glyph glyph - name = " ion - chatbubble - working " unicode = " & # xf11d ; " horiz - adv - x = " 416 " <nl> + d = " M208 - 1c - 115 0 - 208 89 - 208 200s93 201 208 201s208 - 90 208 - 201c0 - 40 - 12 - 77 - 33 - 108c - 1 - 1 - 2 - 3 - 3 - 4v0c - 2 - 4 - 4 - 10 - 4 - 15l22 - 88l - 84 31c - 4 2 - 8 2 - 12 2s - 7 - 1 - 11 - 2v0c - 1 0 - 1 - 1 - 2 - 1c - 25 - 10 - 52 - 15 - 81 - 15zM304 224c - 18 0 - 32 - 14 - 32 - 32 <nl> + s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32zM208 224c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32zM112 224c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32z " / > <nl> + < glyph glyph - name = " ion - chatbubble " unicode = " & # xf11e ; " horiz - adv - x = " 416 " <nl> + d = " M208 - 1c - 115 0 - 208 89 - 208 200s93 201 208 201s208 - 90 208 - 201c0 - 40 - 12 - 77 - 33 - 108c - 1 - 1 - 2 - 3 - 3 - 4v0c - 2 - 4 - 4 - 10 - 4 - 15l22 - 88l - 84 31c - 4 2 - 8 2 - 12 2s - 7 - 1 - 11 - 2v0c - 1 0 - 1 - 1 - 2 - 1c - 25 - 10 - 52 - 15 - 81 - 15z " / > <nl> + < glyph glyph - name = " ion - chatbubbles " unicode = " & # xf11f ; " horiz - adv - x = " 416 " <nl> + d = " M25 57c - 1 1 0 2 - 1 3c - 15 22 - 24 49 - 24 77c0 42 19 80 49 106c - 2 - 11 - 4 - 22 - 4 - 34c0 - 92 78 - 168 174 - 168c15 0 30 2 44 6c - 27 - 32 - 69 - 53 - 115 - 53c - 20 0 - 40 5 - 58 12h - 1v0c - 2 1 - 5 2 - 8 2s - 6 - 1 - 9 - 2l - 56 - 22l12 63c0 4 - 1 7 - 3 10v0zM242 400 <nl> + c96 0 174 - 76 174 - 168c0 - 33 - 11 - 64 - 28 - 90c - 1 - 1 - 1 - 2 - 2 - 3v0c - 2 - 4 - 3 - 8 - 3 - 12l17 - 74l - 69 26c - 3 1 - 6 2 - 10 2c - 3 0 - 6 - 1 - 9 - 2v0l - 2 - 1c - 8 - 3 - 16 - 5 - 24 - 7c - 14 - 4 - 29 - 6 - 44 - 6c - 96 0 - 173 75 - 173 167c0 12 1 24 3 35c16 76 86 133 170 133z " / > <nl> + < glyph glyph - name = " ion - checkmark - circled " unicode = " & # xf120 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM339 267c1 1 1 2 1 3s0 3 - 1 4l - 31 24c - 1 1 - 3 1 - 4 1s - 2 0 - 3 - 1l - 111 - 143s - 44 42 - 45 43s - 4 3 - 6 3s - 3 - 2 - 4 - 3l - 25 - 25l - 1 - 1c - 1 - 1 - 1 - 3 - 1 - 4s0 - 2 1 - 3l2 - 1 <nl> + s78 - 75 79 - 76s3 - 3 5 - 3s4 2 5 3z " / > <nl> + < glyph glyph - name = " ion - checkmark - round " unicode = " & # xf121 ; " horiz - adv - x = " 416 " <nl> + d = " M400 376c17 - 13 22 - 39 9 - 57l - 207 - 302c - 13 - 18 - 37 - 22 - 54 - 9s - 137 147 - 137 147c - 15 16 - 15 42 1 58s40 15 55 - 2l99 - 107l180 263c13 18 37 22 54 9z " / > <nl> + < glyph glyph - name = " ion - checkmark " unicode = " & # xf122 ; " horiz - adv - x = " 416 " <nl> + d = " M414 338c1 - 2 2 - 4 2 - 6s - 1 - 4 - 2 - 6l - 249 - 320c - 2 - 2 - 5 - 6 - 9 - 6s - 8 3 - 10 5s - 141 136 - 141 136l - 3 3c - 1 2 - 2 4 - 2 6s1 3 2 5l2 2c14 15 42 44 44 46s4 6 8 6s8 - 4 10 - 6s80 - 78 80 - 78l200 257c2 2 4 2 6 2s5 - 1 7 - 2z " / > <nl> + < glyph glyph - name = " ion - chevron - down " unicode = " & # xf123 ; " <nl> + d = " M224 150v0v0l174 167c4 4 12 4 16 0l31 - 30c4 - 4 4 - 12 0 - 16l - 213 - 204c - 2 - 2 - 5 - 3 - 8 - 3s - 6 1 - 8 3l - 213 204c - 4 4 - 4 12 0 16l31 30c4 4 12 4 16 0z " / > <nl> + < glyph glyph - name = " ion - chevron - left " unicode = " & # xf124 ; " horiz - adv - x = " 256 " <nl> + d = " M86 192l167 - 174c4 - 4 4 - 12 0 - 16l - 30 - 31c - 4 - 4 - 12 - 4 - 16 0l - 204 213c - 2 2 - 3 5 - 3 8s1 6 3 8l204 213c4 4 12 3 16 - 1l30 - 30c4 - 4 4 - 12 0 - 16l - 167 - 174v0v0z " / > <nl> + < glyph glyph - name = " ion - chevron - right " unicode = " & # xf125 ; " horiz - adv - x = " 256 " <nl> + d = " M170 192v0v0l - 167 174c - 4 4 - 4 12 0 16l30 30c4 4 12 5 16 1l204 - 213c2 - 2 3 - 5 3 - 8s - 1 - 6 - 3 - 8l - 204 - 213c - 4 - 4 - 12 - 4 - 16 0l - 30 31c - 4 4 - 4 12 0 16z " / > <nl> + < glyph glyph - name = " ion - chevron - up " unicode = " & # xf126 ; " <nl> + d = " M224 234l - 174 - 167c - 4 - 4 - 12 - 4 - 16 0l - 31 30c - 4 4 - 4 12 0 16l213 204c2 2 5 3 8 3s6 - 1 8 - 3l213 - 204c4 - 4 4 - 12 0 - 16l - 31 - 30c - 4 - 4 - 12 - 4 - 16 0l - 174 167v0v0z " / > <nl> + < glyph glyph - name = " ion - clipboard " unicode = " & # xf127 ; " horiz - adv - x = " 352 " <nl> + d = " M80 288c2 20 10 35 28 40l1 1c12 3 21 7 21 20v21c0 26 21 46 46 46s46 - 20 46 - 46v - 21c0 - 13 9 - 18 21 - 21h2c18 - 5 25 - 20 27 - 40h - 192zM176 384c - 8 0 - 13 - 6 - 13 - 14s5 - 14 13 - 14s14 6 14 14s - 6 14 - 14 14zM325 384c15 0 27 - 12 27 - 28v - 360c0 - 16 - 12 - 28 - 27 - 28 <nl> + h - 149h - 148c - 15 0 - 28 12 - 28 28v360c0 16 13 28 28 28h73v - 13c0 - 11 - 9 - 19 - 19 - 19h - 37c - 7 0 - 12 - 6 - 12 - 13v - 327c0 - 6 5 - 12 11 - 12h265c6 0 11 6 11 12v327c0 7 - 5 13 - 12 13h - 37c - 10 0 - 20 8 - 20 19v13h74zM64 224v32h112v - 32h - 112zM64 32v32h160v - 32h - 160zM64 96v32 <nl> + h129v - 32h - 129zM64 160v32h208v - 32h - 208z " / > <nl> + < glyph glyph - name = " ion - clock " unicode = " & # xf26e ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM360 56c10 10 19 21 26 33l - 27 16l8 14l27 - 16c13 25 21 52 22 81h - 32v16h32c - 1 29 - 9 56 - 22 81l - 27 - 16l - 8 14l27 16c - 7 12 - 16 23 - 26 33s - 21 19 - 33 26l - 16 - 27l - 14 8 <nl> + l16 27c - 25 13 - 52 21 - 81 22v - 32h - 16v32c - 29 - 1 - 56 - 9 - 81 - 22l16 - 27l - 14 - 8l - 16 27c - 12 - 7 - 23 - 16 - 33 - 26s - 19 - 21 - 26 - 33l27 - 16l - 8 - 14l - 27 16c - 13 - 25 - 21 - 52 - 22 - 81h32v - 16h - 32c1 - 29 9 - 56 22 - 81l27 16l8 - 14l - 27 - 16c7 - 12 16 - 23 26 - 33s21 - 19 33 - 26 <nl> + l16 27l14 - 8l - 16 - 27c25 - 13 52 - 21 81 - 22v32h16v - 32c29 1 56 9 81 22l - 16 27l14 8l16 - 27c12 7 23 16 33 26zM368 207v - 32h - 117c - 6 - 9 - 16 - 15 - 27 - 15c - 18 0 - 32 14 - 32 32c0 12 6 22 16 28v68h32v - 68c5 - 3 9 - 8 12 - 13h116z " / > <nl> + < glyph glyph - name = " ion - close - circled " unicode = " & # xf128 ; " <nl> + d = " M224 415c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM332 116l - 75 75l76 75c3 3 3 9 0 12l - 22 21c - 2 2 - 4 3 - 6 3s - 3 - 1 - 5 - 3l - 76 - 74l - 76 74c - 2 2 - 3 3 - 5 3s - 4 - 1 - 6 - 3l - 21 - 21c - 3 - 3 - 3 - 9 0 - 12l76 - 75l - 76 - 76 <nl> + c - 2 - 1 - 2 - 3 - 2 - 5s0 - 4 2 - 6l21 - 22c2 - 2 4 - 2 6 - 2s4 0 6 2l75 76l76 - 75c2 - 2 3 - 3 5 - 3s4 1 6 3l21 21c2 1 3 4 3 6s - 1 4 - 3 6z " / > <nl> + < glyph glyph - name = " ion - close - round " unicode = " & # xf129 ; " horiz - adv - x = " 384 " <nl> + d = " M374 61c14 - 14 14 - 37 0 - 51s - 37 - 14 - 51 0l - 131 131l - 131 - 131c - 14 - 14 - 36 - 14 - 50 0s - 14 37 0 51l130 131l - 130 131c - 14 14 - 14 37 0 51s36 14 50 0l131 - 131l131 131c14 14 37 14 51 0s14 - 37 0 - 51l - 131 - 131z " / > <nl> + < glyph glyph - name = " ion - close " unicode = " & # xf12a ; " horiz - adv - x = " 384 " <nl> + d = " M380 61c3 - 3 4 - 6 4 - 10s - 1 - 7 - 4 - 10l - 38 - 37c - 3 - 3 - 5 - 4 - 9 - 4s - 7 1 - 10 4l - 131 131l - 131 - 131c - 3 - 3 - 5 - 4 - 9 - 4s - 7 1 - 10 4l - 38 37c - 3 3 - 4 6 - 4 10s1 7 4 10l132 131l - 132 130c - 5 5 - 5 15 0 20l37 38c3 2 6 4 10 4s7 - 1 10 - 4l131 - 130l131 130c3 2 6 4 10 4 <nl> + s7 - 1 10 - 4l37 - 38c5 - 5 5 - 14 0 - 19l - 132 - 130z " / > <nl> + < glyph glyph - name = " ion - closed - captioning " unicode = " & # xf317 ; " horiz - adv - x = " 512 " <nl> + d = " M0 384h512v - 384h - 512v384zM464 192c0 27 0 44 - 4 80s - 23 56 - 59 60s - 91 4 - 138 4h - 7h - 7c - 47 0 - 102 0 - 138 - 4s - 55 - 24 - 59 - 60s - 4 - 53 - 4 - 80s2 - 47 4 - 80s19 - 56 59 - 60s96 - 4 145 - 4s105 0 145 4s57 27 59 60s4 53 4 80zM372 164v4h53c0 - 27 - 7 - 48 - 19 - 62 <nl> + s - 32 - 21 - 61 - 21c - 14 0 - 26 2 - 36 5s - 18 9 - 25 17s - 12 19 - 15 33s - 5 30 - 5 51s3 39 7 53s9 25 17 33s17 14 27 17s22 5 34 5c25 0 44 - 7 57 - 21s19 - 37 19 - 62h - 52v1c0 20 - 12 33 - 27 33s - 25 - 11 - 28 - 30c0 0 - 2 - 11 - 2 - 29s2 - 28 2 - 28c1 - 17 12 - 29 27 - 29s27 10 27 29v1z <nl> + M195 164v4h53c0 - 27 - 7 - 48 - 19 - 62s - 32 - 21 - 61 - 21c - 14 0 - 26 2 - 36 5s - 18 9 - 25 17s - 12 19 - 15 33s - 5 30 - 5 51s3 39 7 53s9 25 17 33s17 14 27 17s22 5 34 5c25 0 44 - 7 57 - 21s19 - 37 19 - 62h - 52v1c0 20 - 12 33 - 27 33s - 25 - 11 - 28 - 30c0 0 - 2 - 11 - 2 - 29s2 - 28 2 - 28 <nl> + c1 - 17 12 - 29 27 - 29s27 10 27 29v1z " / > <nl> + < glyph glyph - name = " ion - cloud " unicode = " & # xf12b ; " <nl> + d = " M366 215c45 0 82 - 38 82 - 84s - 37 - 83 - 82 - 83v0h - 276c - 49 0 - 90 41 - 90 91c0 40 26 74 61 86c5 29 29 51 59 51c10 0 18 - 3 26 - 7c19 40 59 67 105 67c64 0 115 - 53 115 - 118v - 3z " / > <nl> + < glyph glyph - name = " ion - code - download " unicode = " & # xf26f ; " <nl> + d = " M299 164l - 63 - 63v0l - 1 - 1v0l - 2 - 1v0l - 1 - 1v0l - 2 - 1v0h - 1v0h - 1c - 1 0 - 3 - 1 - 4 - 1s - 3 1 - 4 1h - 1v0h - 1v0l - 2 1v0l - 1 1v0c - 1 1 - 2 1 - 3 2v0l - 63 63c - 6 6 - 6 17 0 23s18 6 24 0l35 - 34v118c0 9 7 17 16 17s16 - 8 16 - 17v - 118l35 34c6 6 18 6 24 0s6 - 17 0 - 23zM136 56 <nl> + c - 6 0 - 12 2 - 17 7l - 112 112c - 9 9 - 9 25 0 34l112 112c9 9 25 9 34 0s9 - 25 0 - 34l - 95 - 95l95 - 95c9 - 9 9 - 25 0 - 34c - 5 - 5 - 11 - 7 - 17 - 7zM312 56c - 6 0 - 12 2 - 17 7c - 9 9 - 9 25 0 34l95 95l - 95 95c - 9 9 - 9 25 0 34s25 9 34 0l112 - 112c9 - 9 9 - 25 0 - 34l - 112 - 112 <nl> + c - 5 - 5 - 11 - 7 - 17 - 7z " / > <nl> + < glyph glyph - name = " ion - code - working " unicode = " & # xf270 ; " <nl> + d = " M128 192c0 16 8 24 24 24s24 - 8 24 - 24s - 8 - 24 - 24 - 24s - 24 8 - 24 24zM200 192c0 16 8 24 24 24s24 - 8 24 - 24s - 8 - 24 - 24 - 24s - 24 8 - 24 24zM272 192c0 16 8 24 24 24s24 - 8 24 - 24s - 8 - 24 - 24 - 24s - 24 8 - 24 24zM136 56c - 7 0 - 12 2 - 17 7l - 112 112c - 5 5 - 7 10 - 7 17 <nl> + s2 12 7 17l112 112c5 5 10 7 17 7s12 - 2 17 - 7s7 - 10 7 - 17s - 2 - 12 - 7 - 17l - 95 - 95l95 - 95c5 - 5 7 - 10 7 - 17s - 2 - 12 - 7 - 17s - 10 - 7 - 17 - 7zM312 56c - 7 0 - 12 2 - 17 7s - 7 10 - 7 17s2 12 7 17l95 95l - 95 95c - 5 5 - 7 10 - 7 17s2 12 7 17s10 7 17 7s12 - 2 17 - 7l112 - 112 <nl> + c5 - 5 7 - 10 7 - 17s - 2 - 12 - 7 - 17l - 112 - 112c - 5 - 5 - 10 - 7 - 17 - 7z " / > <nl> + < glyph glyph - name = " ion - code " unicode = " & # xf271 ; " <nl> + d = " M136 56c - 6 0 - 12 2 - 17 7l - 112 112c - 9 9 - 9 25 0 34l112 112c9 9 25 9 34 0s9 - 25 0 - 34l - 95 - 95l95 - 95c9 - 9 9 - 25 0 - 34c - 5 - 5 - 11 - 7 - 17 - 7zM312 56c - 6 0 - 12 2 - 17 7c - 9 9 - 9 25 0 34l95 95l - 95 95c - 9 9 - 9 25 0 34s25 9 34 0l112 - 112c9 - 9 9 - 25 0 - 34l - 112 - 112 <nl> + c - 5 - 5 - 11 - 7 - 17 - 7z " / > <nl> + < glyph glyph - name = " ion - coffee " unicode = " & # xf272 ; " horiz - adv - x = " 384 " <nl> + d = " M319 191c37 - 7 65 - 40 65 - 79c0 - 20 - 8 - 39 - 21 - 54c - 15 - 17 - 37 - 26 - 61 - 26c - 8 0 - 17 1 - 25 3c - 6 1 - 10 3 - 15 5c - 11 - 15 - 23 - 25 - 32 - 33v0c - 5 - 5 - 12 - 7 - 19 - 7h - 102c - 7 0 - 14 2 - 19 7v0c - 17 15 - 41 36 - 62 86s - 28 91 - 28 111s3 20 16 20h101c - 5 17 - 37 19 - 37 46 <nl> + c0 17 15 32 28 37c - 2 - 8 - 3 - 14 - 3 - 21c0 - 19 39 - 30 39 - 53c0 - 3 0 - 6 - 1 - 9h56c1 5 2 10 2 14c0 36 - 56 36 - 56 84c0 28 21 55 47 62c - 4 - 14 - 9 - 23 - 9 - 35c0 - 32 57 - 50 57 - 88c0 - 13 - 5 - 25 - 12 - 37h76c13 0 16 0 16 - 20c0 - 4 0 - 8 - 1 - 13zM302 64c33 0 50 25 50 48 <nl> + s - 17 43 - 39 47c - 4 - 19 - 11 - 42 - 21 - 66c - 4 - 9 - 8 - 17 - 12 - 25c6 - 3 13 - 4 22 - 4z " / > <nl> + < glyph glyph - name = " ion - compass " unicode = " & # xf273 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224c0 39 10 76 27 108c - 16 12 - 27 30 - 27 52c0 35 29 64 64 64c22 0 40 - 11 52 - 27c32 17 69 27 108 27zM32 352c0 - 10 5 - 20 13 - 26c13 17 28 32 45 45c - 6 8 - 16 13 - 26 13c - 18 0 - 32 - 14 - 32 - 32z <nl> + M360 56c36 36 56 85 56 136s - 20 100 - 56 136s - 85 56 - 136 56s - 100 - 20 - 136 - 56s - 56 - 85 - 56 - 136s20 - 100 56 - 136s85 - 56 136 - 56s100 20 136 56zM320 320c0 0 - 54 - 130 - 72 - 152s - 120 - 104 - 120 - 104s54 132 72 152s120 104 120 104z " / > <nl> + < glyph glyph - name = " ion - compose " unicode = " & # xf12c ; " horiz - adv - x = " 384 " <nl> + d = " M379 348c7 - 7 7 - 18 0 - 25l - 32 - 31l - 55 55l31 32c7 7 18 7 25 0zM282 338l55 - 55l - 177 - 173l - 64 - 14l14 64zM320 192l32 32v - 201c0 - 13 - 10 - 23 - 23 - 23h - 306c - 13 0 - 23 10 - 23 23v306c0 13 10 23 23 23h201l - 32 - 32h - 149c - 6 0 - 11 - 5 - 11 - 10v - 268s4 - 10 10 - 10h269 <nl> + s9 5 9 10v150z " / > <nl> + < glyph glyph - name = " ion - connection - bars " unicode = " & # xf274 ; " horiz - adv - x = " 352 " <nl> + d = " M0 32v64h64v - 64h - 64zM96 32v128h64v - 128h - 64zM192 32v224h64v - 224h - 64zM288 32v320h64v - 320h - 64z " / > <nl> + < glyph glyph - name = " ion - contrast " unicode = " & # xf275 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM360 56c36 36 56 85 56 136s - 20 100 - 56 136s - 85 56 - 136 56v - 384c51 0 100 20 136 56z " / > <nl> + < glyph glyph - name = " ion - crop " unicode = " & # xf3c1 ; " <nl> + d = " M320 - 32v48h64v - 48h - 64zM384 96h64v - 64h - 384v256h - 64v64h64v64h64v - 320h192v192h - 176v64h240v - 256z " / > <nl> + < glyph glyph - name = " ion - cube " unicode = " & # xf318 ; " <nl> + d = " M435 280c7 0 13 - 6 13 - 12v - 183c0 - 9 - 6 - 17 - 14 - 22v - 1l - 175 - 92v - 1c - 2 - 1 - 4 - 1 - 6 - 1c - 7 0 - 13 6 - 13 12v185c0 9 5 17 13 22v0l3 2l172 89l2 1c2 1 3 1 5 1zM422 329c0 0 8 - 3 8 - 9c0 - 7 - 8 - 11 - 8 - 11l - 183 - 97l - 2 - 1c - 4 - 2 - 8 - 3 - 13 - 3s - 9 1 - 13 3l - 2 1l - 183 96 <nl> + s - 8 5 - 8 12c0 6 8 9 8 9l181 82s11 5 17 5s17 - 5 17 - 5zM195 187c8 - 5 13 - 13 13 - 22v - 185c0 - 6 - 6 - 12 - 13 - 12c - 2 0 - 4 1 - 6 2v0l - 175 92v1c - 8 5 - 14 13 - 14 22v183c0 6 6 12 13 12c2 0 4 0 5 - 1l2 - 1l171 - 89z " / > <nl> + < glyph glyph - name = " ion - disc " unicode = " & # xf12d ; " <nl> + d = " M224 289c54 0 97 - 43 97 - 97s - 43 - 97 - 97 - 97s - 97 43 - 97 97s43 97 97 97zM224 148c24 0 44 20 44 44s - 20 44 - 44 44s - 44 - 20 - 44 - 44s20 - 44 44 - 44zM224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM224 69 <nl> + c68 0 123 55 123 123s - 55 123 - 123 123s - 123 - 55 - 123 - 123s55 - 123 123 - 123z " / > <nl> + < glyph glyph - name = " ion - document - text " unicode = " & # xf12e ; " horiz - adv - x = " 288 " <nl> + d = " M286 279c1 - 3 2 - 6 2 - 10v - 245c0 - 13 - 10 - 24 - 22 - 24h - 243c - 12 0 - 23 11 - 23 24v336c0 13 11 24 23 24h160c3 0 6 0 9 - 2c2 - 1 5 - 3 7 - 5l84 - 92c2 - 2 2 - 4 3 - 6zM48 269v - 10c0 - 1 1 - 3 3 - 3h71c2 0 3 2 3 3v10c0 2 - 1 3 - 3 3h - 71c - 2 0 - 3 - 1 - 3 - 3zM48 141v - 10 <nl> + c0 - 1 1 - 3 3 - 3h123c2 0 2 2 2 3v10c0 2 0 3 - 2 3h - 123c - 2 0 - 3 - 1 - 3 - 3zM208 67v10c0 2 0 3 - 2 3h - 155c - 2 0 - 3 - 1 - 3 - 3v - 10c0 - 1 1 - 3 3 - 3h155c2 0 2 2 2 3zM240 195v10c0 2 0 3 - 2 3h - 187c - 2 0 - 3 - 1 - 3 - 3v - 10c0 - 1 1 - 3 3 - 3h187c2 0 2 2 2 3zM193 270h60l - 71 78 <nl> + v - 66c0 - 6 5 - 12 11 - 12z " / > <nl> + < glyph glyph - name = " ion - document " unicode = " & # xf12f ; " horiz - adv - x = " 288 " <nl> + d = " M287 279c1 - 3 1 - 5 1 - 9v - 244c0 - 13 - 9 - 26 - 21 - 26h - 243c - 12 0 - 24 13 - 24 26v335c0 13 12 23 24 23h160c3 0 6 0 9 - 2c2 - 1 5 - 2 7 - 4l83 - 92c2 - 2 3 - 4 4 - 7zM193 337v - 63h58zM32 32h224v210h - 67c - 15 0 - 28 13 - 28 28v82h - 129v - 320z " / > <nl> + < glyph glyph - name = " ion - drag " unicode = " & # xf130 ; " horiz - adv - x = " 512 " <nl> + d = " M0 272v32h512v - 32h - 512zM0 176v32h512v - 32h - 512zM0 80v32h512v - 32h - 512z " / > <nl> + < glyph glyph - name = " ion - earth " unicode = " & # xf276 ; " <nl> + d = " M325 322c2 - 4 7 - 12 3 - 15c - 3 - 2 - 10 - 2 - 13 5s0 11 - 5 9s - 7 3 - 6 4c1 2 3 3 5 4c0 2 - 4 8 2 7c4 - 1 12 - 10 14 - 14zM344 277v0v0zM403 251c0 0 - 2 0 0 0v0zM224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM141 19l8 - 4 <nl> + c3 - 1 6 - 2 10 - 3c14 - 5 28 - 8 43 - 10c28 - 3 56 - 1 83 8c15 5 30 11 43 20c6 4 6 16 10 24c8 16 - 2 33 12 47c12 14 4 19 4 34c0 10 8 18 4 29c - 1 4 - 7 - 3 - 9 1c - 5 7 - 21 1 - 28 2c - 13 2 - 24 14 - 33 23c - 5 5 0 20 1 26c4 15 0 33 19 38c5 1 5 9 10 11c5 1 10 3 15 4 <nl> + c9 1 17 - 2 26 - 2c10 0 14 - 5 22 - 11c7 - 6 13 - 3 22 - 5c7 0 0 5 - 2 8c - 3 2 - 6 2 - 8 2c - 16 4 - 23 22 - 36 30c - 6 3 - 9 2 - 11 0c - 1 - 1 1 - 12 1 - 12c - 1 - 3 - 10 - 4 - 13 - 5c - 9 - 2 - 29 17 - 15 22c4 1 27 5 24 15c - 3 6 2 13 - 5 14c - 8 1 - 7 7 - 15 8c - 5 1 - 5 11 - 5 14c0 9 2 6 9 7 <nl> + c - 17 11 - 37 19 - 57 24c - 1 - 3 - 5 - 12 - 8 - 12c - 5 - 1 - 6 0 - 9 - 3c - 9 - 10 - 16 - 28 - 25 - 7c - 4 11 5 19 2 28h - 6h - 3c6 - 12 - 5 - 18 - 8 - 19c - 8 0 - 10 5 - 17 4c - 4 - 1 - 7 4 - 11 2s - 13 - 8 - 14 - 12c - 3 - 12 6 - 13 14 - 6c6 6 17 12 25 6c6 - 5 5 - 9 5 - 14s - 1 - 18 - 9 - 16c - 4 1 - 7 6 - 11 3 <nl> + c - 8 - 7 - 18 - 6 - 29 - 9c - 10 - 2 - 16 - 6 - 25 - 9c - 8 - 3 - 11 - 4 - 12 - 12c0 - 2 0 - 14 - 3 - 15c - 5 - 2 - 8 22 - 22 20c - 12 - 1 - 30 - 13 - 25 - 28c2 - 5 28 - 3 10 - 14c - 2 - 1 2 - 17 2 - 20c1 - 8 13 - 18 21 - 10c6 6 6 5 14 2c15 - 8 33 - 15 45 - 27c6 - 6 9 - 24 17 - 28c9 - 5 19 - 5 26 - 14 <nl> + c6 - 7 - 2 - 19 - 8 - 23c - 4 - 2 - 12 - 24 - 16 - 29c - 2 - 4 - 12 - 6 - 16 - 7c - 3 0 - 7 - 9 - 9 - 11c - 7 - 7 - 8 - 13 - 17 - 19c - 18 - 12 - 22 - 23 - 18 - 44c2 - 8 5 - 13 11 - 16zM100 46l2 - 2c7 - 6 15 - 11 23 - 16c - 21 21 - 23 49 - 21 78l3 24c1 3 - 4 7 - 4 11c0 10 0 5 - 8 13c - 4 4 - 10 11 - 12 17 <nl> + c - 7 16 1 30 10 43c9 14 - 7 20 - 10 32c - 1 6 - 7 6 - 6 12c1 7 - 4 5 - 9 9c - 12 8 - 1 20 - 7 26c - 43 - 70 - 36 - 162 16 - 224c1 - 1 0 - 1 1 - 2h1c3 - 4 6 - 8 9 - 11s7 - 6 10 - 9z " / > <nl> + < glyph glyph - name = " ion - easel " unicode = " & # xf3c2 ; " <nl> + d = " M48 112v192h352v - 192h - 352zM432 352c9 0 16 - 7 16 - 16v - 256c0 - 9 - 7 - 16 - 16 - 16h - 416c - 9 0 - 16 7 - 16 16v256c0 9 7 16 16 16h416zM416 96v224h - 384v - 224h384zM48 - 32l29 80h31l - 28 - 80h - 32zM239 416l17 - 48h - 64l17 48h30zM340 48h31l29 - 80h - 32zM208 0v48h32v - 48h - 32z <nl> + " / > <nl> + < glyph glyph - name = " ion - edit " unicode = " & # xf2bf ; " <nl> + d = " M381 259l - 250 - 251l - 91 91l251 250zM440 360c12 - 12 11 - 32 - 2 - 45l - 45 - 45l - 91 91l45 45c13 13 33 14 45 2zM32 85l85 - 85l - 117 - 32z " / > <nl> + < glyph glyph - name = " ion - egg " unicode = " & # xf277 ; " horiz - adv - x = " 320 " <nl> + d = " M160 416c64 0 160 - 133 160 - 257s - 64 - 191 - 160 - 191s - 160 67 - 160 191s96 257 160 257z " / > <nl> + < glyph glyph - name = " ion - eject " unicode = " & # xf131 ; " horiz - adv - x = " 320 " <nl> + d = " M303 128h - 286v0c - 10 0 - 17 7 - 17 16c0 3 1 5 3 8l138 191c5 5 11 9 19 9s14 - 4 19 - 9l138 - 190c2 - 3 3 - 6 3 - 9c0 - 9 - 7 - 16 - 17 - 16v0zM308 96c7 0 12 - 5 12 - 12v - 40c0 - 7 - 5 - 12 - 12 - 12h - 296c - 7 0 - 12 5 - 12 12v40c0 7 5 12 12 12h296z " / > <nl> + < glyph glyph - name = " ion - email - unread " unicode = " & # xf3c3 ; " horiz - adv - x = " 480 " <nl> + d = " M352 288c0 43 21 64 64 64s64 - 21 64 - 64s - 21 - 64 - 64 - 64s - 64 21 - 64 64zM209 288h127c0 - 17 5 - 33 15 - 47c - 6 - 3 - 14 - 8 - 22 - 12s - 16 - 8 - 23 - 12s - 14 - 8 - 22 - 12s - 15 - 8 - 21 - 11s - 11 - 6 - 16 - 9s - 9 - 5 - 12 - 7s - 4 - 3 - 5 - 3c - 6 - 3 - 13 - 4 - 21 - 4s - 15 1 - 21 4 <nl> + c - 1 1 - 15 8 - 42 23s - 54 29 - 81 44s - 43 23 - 46 25c - 7 4 - 12 8 - 13 11c - 1 4 - 1 6 1 8s6 2 11 2h191zM277 175c18 11 45 30 83 56c16 - 15 34 - 23 56 - 23v - 155c0 - 2 - 1 - 4 - 2 - 7s - 3 - 5 - 5 - 7s - 4 - 4 - 7 - 5s - 6 - 2 - 8 - 2h - 185h - 185c - 5 0 - 11 2 - 16 7s - 8 9 - 8 14v205c0 6 3 8 9 5 <nl> + c2 - 1 11 - 7 26 - 17s32 - 22 53 - 36s39 - 26 53 - 35l - 83 - 93c - 2 - 2 - 2 - 4 - 1 - 5c2 - 1 4 - 1 6 1l98 83c16 - 10 25 - 16 27 - 17c6 - 3 13 - 4 21 - 4s15 1 21 4c2 1 11 7 27 17l98 - 83c2 - 2 5 - 2 6 - 1s0 3 - 2 5z " / > <nl> + < glyph glyph - name = " ion - email " unicode = " & # xf132 ; " horiz - adv - x = " 416 " <nl> + d = " M19 299c - 4 2 - 11 7 - 13 11c - 3 8 1 10 12 10h191h191c11 0 15 - 2 12 - 10c - 2 - 4 - 9 - 9 - 13 - 11c - 11 - 6 - 163 - 89 - 169 - 92s - 12 - 4 - 21 - 4s - 15 1 - 21 4s - 158 86 - 169 92zM408 295c9 4 8 - 1 8 - 5v - 205c0 - 9 - 12 - 21 - 22 - 21h - 185h - 185c - 10 0 - 24 12 - 24 21v205s0 9 9 5 <nl> + c8 - 4 83 - 56 132 - 88l - 83 - 93c - 2 - 2 - 2 - 4 - 1 - 5s4 - 1 6 1l98 83c15 - 10 25 - 16 27 - 17c8 - 4 14 - 4 21 - 4s13 0 21 4c2 1 12 7 27 17l98 - 83c2 - 2 5 - 2 6 - 1s0 3 - 2 5l - 82 93c49 32 123 84 131 88z " / > <nl> + < glyph glyph - name = " ion - erlenmeyer - flask - bubbles " unicode = " & # xf3c4 ; " horiz - adv - x = " 384 " <nl> + d = " M382 21c2 - 4 3 - 10 0 - 14s - 8 - 7 - 13 - 7h - 177h - 178c - 5 0 - 9 3 - 12 7s - 2 10 0 14l118 199v150c0 8 6 14 14 14s15 - 6 15 - 14v - 80c4 3 10 5 16 5c15 0 27 - 12 27 - 27s - 12 - 26 - 27 - 26c - 6 0 - 12 2 - 16 5v - 31c0 - 2 - 1 - 4 - 2 - 6l - 35 - 59h72c - 15 6 - 26 20 - 26 37 <nl> + c0 23 19 42 43 42c15 0 27 - 8 35 - 19c - 1 2 - 1 3 - 1 5v154c0 8 6 14 14 14s15 - 6 15 - 14v - 150zM218 151h53l - 31 54c2 - 5 3 - 11 3 - 17c0 - 17 - 10 - 31 - 25 - 37zM201 319c - 12 0 - 22 9 - 22 21s10 21 22 21s22 - 9 22 - 21s - 10 - 21 - 22 - 21z " / > <nl> + < glyph glyph - name = " ion - erlenmeyer - flask " unicode = " & # xf3c5 ; " horiz - adv - x = " 384 " <nl> + d = " M375 52c6 - 9 9 - 20 9 - 32c0 - 28 - 16 - 52 - 63 - 52h - 258c - 47 0 - 63 24 - 63 52c0 12 3 23 9 32l49 73l49 77c13 20 21 44 21 70v92s - 14 34 - 16 43c - 2 8 1 9 17 9h126c16 0 18 - 1 16 - 9c - 2 - 9 - 15 - 22 - 15 - 42v - 93c0 - 26 6 - 50 19 - 70zM345 7c3 3 7 8 7 14c0 5 - 2 10 - 4 14 <nl> + l - 101 150c - 16 26 - 23 56 - 23 87v112h - 64v - 112c0 - 32 - 9 - 62 - 25 - 87l - 99 - 150c - 2 - 4 - 4 - 9 - 4 - 14c0 - 6 3 - 11 6 - 14c4 - 4 12 - 7 25 - 7h258c13 0 20 3 24 7zM325 37c1 - 2 3 - 6 3 - 8c0 - 7 - 6 - 15 - 14 - 15h - 244c - 7 0 - 14 6 - 14 14c0 3 1 6 3 8l81 124h103l82 - 124v1zM238 106 <nl> + c2 - 1 4 - 2 6 - 2s3 0 5 2c1 2 3 4 3 6s - 1 4 - 3 6c - 1 2 - 3 2 - 5 2s - 4 0 - 6 - 2c - 1 - 2 - 2 - 4 - 2 - 6s0 - 4 2 - 6zM285 47c4 2 4 7 2 11l - 23 36c - 1 2 - 4 4 - 7 4c - 2 0 - 3 0 - 4 - 1c - 4 - 2 - 4 - 7 - 2 - 11l23 - 36c1 - 2 5 - 4 7 - 4c1 0 3 0 4 1z " / > <nl> + < glyph glyph - name = " ion - eye - disabled " unicode = " & # xf306 ; " <nl> + d = " M344 290c41 - 27 76 - 66 104 - 100c - 51 - 54 - 124 - 135 - 224 - 135c - 36 0 - 65 8 - 92 22l - 77 - 77l - 23 23l71 71c - 36 25 - 68 61 - 103 98c78 85 142 137 224 137c34 0 64 - 9 92 - 23l77 78l23 - 23zM134 192c0 - 19 6 - 36 16 - 51l27 27c - 4 7 - 5 15 - 5 24c0 29 23 53 52 53h8 <nl> + c - 5 - 6 - 8 - 13 - 8 - 21c0 - 3 0 - 5 1 - 8l51 50c - 15 11 - 33 17 - 52 17c - 49 0 - 90 - 41 - 90 - 91zM224 101c49 0 90 41 90 91c0 19 - 6 37 - 16 52l - 50 - 51c3 - 1 5 - 1 8 - 1c8 0 14 3 20 7v - 7c0 - 29 - 23 - 53 - 52 - 53c - 9 0 - 17 2 - 24 6l - 28 - 27c15 - 11 33 - 17 52 - 17z " / > <nl> + < glyph glyph - name = " ion - eye " unicode = " & # xf133 ; " <nl> + d = " M224 320c99 0 172 - 70 224 - 129c - 51 - 50 - 124 - 127 - 224 - 127s - 157 60 - 224 128c78 79 142 128 224 128zM224 101c49 0 90 41 90 91s - 41 91 - 90 91s - 90 - 41 - 90 - 91s41 - 91 90 - 91zM224 224c0 - 18 14 - 32 32 - 32c8 0 14 3 20 7v - 7c0 - 29 - 23 - 53 - 52 - 53s - 52 24 - 52 53 <nl> + s23 53 52 53h8c - 5 - 6 - 8 - 13 - 8 - 21z " / > <nl> + < glyph glyph - name = " ion - female " unicode = " & # xf278 ; " horiz - adv - x = " 256 " <nl> + d = " M160 164v - 68h64v - 64h - 64v - 64h - 64v64h - 64v64h64v68c - 55 14 - 96 64 - 96 124c0 71 57 128 128 128s128 - 57 128 - 128c0 - 60 - 41 - 110 - 96 - 124zM128 208c44 0 80 36 80 80s - 36 80 - 80 80s - 80 - 36 - 80 - 80s36 - 80 80 - 80z " / > <nl> + < glyph glyph - name = " ion - filing " unicode = " & # xf134 ; " horiz - adv - x = " 384 " <nl> + d = " M317 319c12 0 19 0 19 - 20v - 28h - 288v28c0 20 8 20 20 20h249zM269 352c13 0 19 - 1 19 - 19h - 192c0 18 7 19 20 19h153zM368 278c13 - 8 17 - 17 15 - 41l - 17 - 184c - 4 - 21 - 16 - 21 - 24 - 21h - 300c - 8 0 - 20 0 - 24 21l - 17 185c - 3 26 1 31 15 40l15 10v - 32h321v32z " / > <nl> + < glyph glyph - name = " ion - film - marker " unicode = " & # xf135 ; " horiz - adv - x = " 416 " <nl> + d = " M400 240c9 0 16 - 7 16 - 15v - 210c0 - 8 - 7 - 15 - 16 - 15h - 384c - 9 0 - 16 7 - 16 15v210c0 8 6 14 13 15c - 2 2 - 3 4 - 4 7l - 9 45c - 2 8 5 16 13 18l370 74c8 2 16 - 4 18 - 12l9 - 46c2 - 8 - 4 - 16 - 12 - 18l - 342 - 68h344zM257 46l - 20 58l51 36h - 62l - 20 58l - 19 - 58h - 63l51 - 36l - 19 - 58 <nl> + l50 36z " / > <nl> + < glyph glyph - name = " ion - fireball " unicode = " & # xf319 ; " horiz - adv - x = " 320 " <nl> + d = " M297 210c14 - 24 23 - 52 23 - 82c0 - 33 - 10 - 63 - 26 - 88v0v0c - 29 - 43 - 78 - 72 - 134 - 72c - 17 0 - 32 1 - 46 7s - 25 13 - 33 25c - 11 16 - 17 28 - 21 52c - 6 - 25 2 - 48 9 - 60c - 43 26 - 69 71 - 69 125v4c5 78 65 109 90 151c8 14 13 30 10 48c11 - 9 15 - 25 15 - 39 <nl> + c0 - 16 - 3 - 29 - 3 - 29c4 8 7 18 9 31c6 35 2 85 - 37 132l - 1 1s7 0 18 - 3c95 - 16 169 - 91 184 - 186c2 - 12 3 - 23 3 - 35c0 - 16 - 2 - 32 - 5 - 47c10 23 13 43 14 55v10z " / > <nl> + < glyph glyph - name = " ion - flag " unicode = " & # xf279 ; " horiz - adv - x = " 384 " <nl> + d = " M362 266c0 0 12 2 22 6c0 - 16 - 7 - 32 - 9 - 36c - 28 - 50 - 99 - 123 - 181 - 84c - 65 31 - 92 30 - 117 24c - 1 0 - 2 - 1 - 3 - 1c - 3 - 1 - 15 - 5 - 26 - 1v197c0 16 14 31 33 35c39 7 106 5 148 - 74c39 - 74 97 - 72 133 - 66zM24 416c4 0 8 - 4 8 - 8v - 432c0 - 4 - 4 - 8 - 8 - 8h - 16 <nl> + c - 4 0 - 8 4 - 8 8v432c0 4 4 8 8 8h16z " / > <nl> + < glyph glyph - name = " ion - flame " unicode = " & # xf31a ; " horiz - adv - x = " 256 " <nl> + d = " M1 128c - 11 109 72 224 159 288c - 26 - 145 97 - 142 96 - 288c - 1 - 120 - 105 - 160 - 128 - 160s - 114 26 - 127 160zM88 80c0 - 44 40 - 80 40 - 80s41 36 41 80s - 41 80 - 41 80s - 40 - 36 - 40 - 80z " / > <nl> + < glyph glyph - name = " ion - flash - off " unicode = " & # xf136 ; " <nl> + d = " M115 - 4c - 69 38 - 115 112 - 115 196c0 124 100 224 224 224c24 0 47 - 4 68 - 11c2 - 1 3 - 1 5 - 2c12 - 4 24 - 9 35 - 15v0c69 - 38 116 - 112 116 - 196c0 - 124 - 100 - 224 - 224 - 224c - 24 0 - 47 4 - 68 11c - 2 1 - 3 1 - 5 2c - 12 4 - 24 8 - 35 14zM86 291c - 20 - 28 - 32 - 62 - 32 - 99 <nl> + c0 - 65 36 - 121 90 - 150c6 - 3 13 - 7 19 - 9c2 - 1 3 - 1 5 - 2c9 - 3 19 - 5 29 - 7c9 - 2 18 - 2 27 - 2c37 0 71 12 99 32l - 52 53l36 40l55 - 54c20 28 32 62 32 99c0 66 - 37 123 - 91 151c - 6 3 - 12 6 - 18 8c - 2 1 - 3 1 - 5 2c - 9 3 - 19 5 - 29 7c - 9 2 - 18 2 - 27 2c - 37 0 - 72 - 12 - 100 - 32 <nl> + l53 - 52l - 36 - 41zM178 58l38 113h - 85l139 155l - 38 - 113h85z " / > <nl> + < glyph glyph - name = " ion - flash " unicode = " & # xf137 ; " horiz - adv - x = " 320 " <nl> + d = " M0 160l224 256l - 51 - 192h147l - 224 - 256l51 192h - 147z " / > <nl> + < glyph glyph - name = " ion - folder " unicode = " & # xf139 ; " horiz - adv - x = " 384 " <nl> + d = " M366 256c18 0 19 - 7 18 - 18l - 12 - 186c - 1 - 11 - 3 - 20 - 21 - 20h - 317c - 18 0 - 20 9 - 21 20l - 13 184c - 1 11 0 20 18 20h348zM362 305l2 - 33h - 344c0 6 4 46 6 63c2 18 8 17 25 17h75c28 0 23 0 37 - 15c16 - 18 19 - 17 41 - 17h143c11 0 15 - 3 15 - 15z " / > <nl> + < glyph glyph - name = " ion - fork - repo " unicode = " & # xf2c0 ; " horiz - adv - x = " 320 " <nl> + d = " M320 368v - 64h - 48v - 48h - 64v48h - 48v64h48v48h64v - 48h48zM208 208h64v - 5v0c0 - 43 - 7 - 70 - 38 - 95c - 23 - 19 - 51 - 20 - 75 - 22c - 9 - 1 - 18 - 2 - 26 - 3c - 6 - 1 - 13 - 5 - 20 - 10c9 - 11 15 - 25 15 - 41c0 - 35 - 29 - 64 - 64 - 64s - 64 29 - 64 64c0 24 13 44 32 55v210c - 19 11 - 32 31 - 32 55 <nl> + c0 35 29 64 64 64s64 - 29 64 - 64c0 - 24 - 13 - 44 - 32 - 55v - 160c8 4 18 7 27 9c11 2 21 2 31 3c17 1 33 3 40 9c10 8 14 11 14 50zM64 384c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32zM64 0c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32 <nl> + s14 - 32 32 - 32z " / > <nl> + < glyph glyph - name = " ion - fork " unicode = " & # xf27a ; " horiz - adv - x = " 128 " <nl> + d = " M78 299v0v0v0zM128 282c0 - 26 - 15 - 48 - 37 - 58c - 12 - 6 - 11 - 11 - 11 - 11s16 - 200 16 - 213s - 3 - 18 - 9 - 24s - 15 - 8 - 23 - 8v0v0c - 8 0 - 16 2 - 22 8s - 10 13 - 10 24s16 213 16 213s0 6 - 11 11c - 22 10 - 37 32 - 37 58c0 43 15 93 24 134h8v - 117c0 - 6 3 - 11 9 - 11s9 4 10 10v1 <nl> + l9 117h8l10 - 117v - 1c1 - 6 3 - 10 9 - 10s9 5 9 11v117h8v0c9 - 40 24 - 91 24 - 134z " / > <nl> + < glyph glyph - name = " ion - forward " unicode = " & # xf13a ; " horiz - adv - x = " 384 " <nl> + d = " M224 150c - 102 0 - 171 - 9 - 224 - 102c0 0 37 208 224 208v80l160 - 144l - 160 - 134v92z " / > <nl> + < glyph glyph - name = " ion - funnel " unicode = " & # xf31b ; " <nl> + d = " M224 416c124 0 224 - 36 224 - 80c0 - 8 - 3 - 15 - 9 - 22v0c - 35 - 43 - 151 - 179 - 151 - 218v - 4v - 83v0c0 - 23 - 29 - 41 - 64 - 41s - 64 18 - 64 41v0v87c0 39 - 117 177 - 149 216v0c - 7 8 - 11 16 - 11 24c0 44 100 80 224 80zM224 288c92 0 176 22 176 48s - 83 48 - 176 48 <nl> + s - 176 - 22 - 176 - 48s84 - 48 176 - 48z " / > <nl> + < glyph glyph - name = " ion - gear - a " unicode = " & # xf13d ; " horiz - adv - x = " 384 " <nl> + d = " M347 192c0 - 24 15 - 43 37 - 56c - 4 - 13 - 10 - 26 - 16 - 38c - 25 6 - 45 - 3 - 62 - 20s - 22 - 37 - 16 - 62c - 12 - 6 - 25 - 12 - 38 - 16c - 13 22 - 36 37 - 60 37s - 47 - 15 - 60 - 37c - 13 4 - 27 10 - 39 16c6 25 2 45 - 15 62s - 37 21 - 62 15c - 6 12 - 12 26 - 16 39c22 13 37 36 37 60s - 15 43 - 37 56 <nl> + c4 13 9 26 16 38c25 - 6 45 3 62 20s21 37 15 62c12 6 26 12 39 16c13 - 22 36 - 37 60 - 37s47 15 60 37c13 - 4 27 - 10 39 - 16c - 6 - 25 - 2 - 45 15 - 62s37 - 26 62 - 20c6 - 12 12 - 25 16 - 38c - 22 - 13 - 37 - 32 - 37 - 56zM192 94c54 0 98 44 98 98s - 44 98 - 98 98s - 98 - 44 - 98 - 98 <nl> + s44 - 98 98 - 98z " / > <nl> + < glyph glyph - name = " ion - gear - b " unicode = " & # xf13e ; " horiz - adv - x = " 384 " <nl> + d = " M384 154h - 44c - 4 - 14 - 10 - 27 - 17 - 39l32 - 32l - 54 - 54l - 33 32c - 12 - 7 - 24 - 11 - 38 - 15v - 46h - 76v46c - 13 4 - 26 8 - 38 15l - 33 - 32l - 54 54l32 32c - 7 12 - 13 25 - 17 39h - 44v76h43c4 14 9 29 16 41l - 30 30l54 54l29 - 29c13 8 27 13 42 17v41h76v - 41c15 - 4 29 - 9 42 - 17l29 29 <nl> + l54 - 54l - 30 - 30c7 - 12 13 - 27 16 - 41h43v - 76zM192 138c30 0 54 24 54 54s - 24 54 - 54 54s - 54 - 24 - 54 - 54s24 - 54 54 - 54z " / > <nl> + < glyph glyph - name = " ion - grid " unicode = " & # xf13f ; " horiz - adv - x = " 320 " <nl> + d = " M64 295c0 - 4 - 3 - 7 - 7 - 7h - 50c - 4 0 - 7 3 - 7 7v50c0 4 3 7 7 7h50c4 0 7 - 3 7 - 7v - 50zM192 295c0 - 4 - 3 - 7 - 7 - 7h - 50c - 4 0 - 7 3 - 7 7v50c0 4 3 7 7 7h50c4 0 7 - 3 7 - 7v - 50zM320 295c0 - 4 - 3 - 7 - 7 - 7h - 50c - 4 0 - 7 3 - 7 7v50c0 4 3 7 7 7h50c4 0 7 - 3 7 - 7v - 50zM64 167 <nl> + c0 - 4 - 3 - 7 - 7 - 7h - 50c - 4 0 - 7 3 - 7 7v50c0 4 3 7 7 7h50c4 0 7 - 3 7 - 7v - 50zM192 167c0 - 4 - 3 - 7 - 7 - 7h - 50c - 4 0 - 7 3 - 7 7v50c0 4 3 7 7 7h50c4 0 7 - 3 7 - 7v - 50zM320 167c0 - 4 - 3 - 7 - 7 - 7h - 50c - 4 0 - 7 3 - 7 7v50c0 4 3 7 7 7h50c4 0 7 - 3 7 - 7v - 50zM64 39 <nl> + c0 - 4 - 3 - 7 - 7 - 7h - 50c - 4 0 - 7 3 - 7 7v50c0 4 3 7 7 7h50c4 0 7 - 3 7 - 7v - 50zM192 39c0 - 4 - 3 - 7 - 7 - 7h - 50c - 4 0 - 7 3 - 7 7v50c0 4 3 7 7 7h50c4 0 7 - 3 7 - 7v - 50zM320 39c0 - 4 - 3 - 7 - 7 - 7h - 50c - 4 0 - 7 3 - 7 7v50c0 4 3 7 7 7h50c4 0 7 - 3 7 - 7v - 50z " / > <nl> + < glyph glyph - name = " ion - hammer " unicode = " & # xf27b ; " horiz - adv - x = " 320 " <nl> + d = " M314 416c3 0 6 - 3 6 - 6v - 84c0 - 3 - 3 - 6 - 6 - 6h - 52c - 3 0 - 6 3 - 6 6v14c - 6 5 - 16 9 - 22 7c - 7 - 2 - 23 - 13 - 30 - 25s - 6 - 28 - 6 - 66l8 - 2c5 - 1 7 - 6 7 - 9v - 70c0 - 95 11 - 201 11 - 201c0 - 3 - 3 - 6 - 6 - 6h - 84c - 3 0 - 6 3 - 6 6c0 0 11 106 11 201v70c0 3 3 8 7 9l7 2 <nl> + c0 43 - 5 58 - 22 74c - 18 16 - 41 19 - 63 17s - 51 - 35 - 58 - 45s - 10 2 - 10 11c1 16 22 60 72 81s91 22 102 22s27 - 1 38 - 3s16 - 18 26 - 18c7 0 14 5 18 9v6c0 3 3 6 6 6h52z " / > <nl> + < glyph glyph - name = " ion - happy - outline " unicode = " & # xf3c6 ; " <nl> + d = " M355 158c8 - 4 11 - 13 7 - 21c - 24 - 46 - 78 - 73 - 138 - 73c - 62 0 - 118 29 - 139 74c - 4 8 0 17 8 21c2 1 5 1 7 1c6 0 11 - 3 14 - 9c16 - 34 60 - 55 110 - 55c49 0 92 21 110 56c3 5 8 8 14 8c3 0 5 - 1 7 - 2zM381 217c5 - 7 4 - 17 - 4 - 22c - 3 - 2 - 6 - 3 - 10 - 3c - 5 0 - 11 2 - 14 6 <nl> + s - 7 10 - 17 10s - 14 - 6 - 17 - 10s - 9 - 6 - 14 - 6c - 4 0 - 7 1 - 10 3c - 8 6 - 9 15 - 3 22c11 14 23 23 44 23s35 - 9 45 - 23zM157 217c5 - 7 4 - 17 - 4 - 22c - 3 - 2 - 6 - 3 - 10 - 3c - 5 0 - 11 2 - 14 6s - 7 10 - 17 10s - 14 - 6 - 17 - 10s - 9 - 6 - 14 - 6c - 4 0 - 7 1 - 10 3c - 8 6 - 9 15 - 3 22 <nl> + c11 14 23 23 44 23s35 - 9 45 - 23zM224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM360 56c36 36 56 85 56 136s - 20 100 - 56 136s - 85 56 - 136 56s - 100 - 20 - 136 - 56s - 56 - 85 - 56 - 136s20 - 100 56 - 136s85 - 56 136 - 56 <nl> + s100 20 136 56z " / > <nl> + < glyph glyph - name = " ion - happy " unicode = " & # xf31c ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM71 195c3 - 2 6 - 3 10 - 3c5 0 11 2 14 6s7 10 17 10s14 - 6 17 - 10s9 - 6 14 - 6c4 0 7 1 10 3c8 5 9 15 4 22c - 10 14 - 24 23 - 45 23s - 33 - 9 - 44 - 23c - 6 - 7 - 5 - 16 3 - 22zM362 137 <nl> + c4 8 1 17 - 7 21c - 2 1 - 4 2 - 7 2c - 6 0 - 11 - 3 - 14 - 8c - 18 - 35 - 61 - 56 - 110 - 56c - 50 0 - 94 21 - 110 55c - 3 6 - 8 9 - 14 9c - 2 0 - 5 0 - 7 - 1c - 8 - 4 - 12 - 13 - 8 - 21c21 - 45 77 - 74 139 - 74c60 0 114 27 138 73zM377 195c8 5 9 15 4 22c - 10 14 - 24 23 - 45 23s - 33 - 9 - 44 - 23 <nl> + c - 6 - 7 - 5 - 16 3 - 22c3 - 2 6 - 3 10 - 3c5 0 11 2 14 6s7 10 17 10s14 - 6 17 - 10s9 - 6 14 - 6c4 0 7 1 10 3z " / > <nl> + < glyph glyph - name = " ion - headphone " unicode = " & # xf140 ; " horiz - adv - x = " 384 " <nl> + d = " M383 210c3 - 51 - 3 - 130 - 13 - 162c - 20 - 67 - 40 - 80 - 72 - 80s - 58 27 - 58 59v106c0 33 23 59 53 59c18 0 34 - 9 44 - 24c0 0 11 7 13 22s4 34 - 5 64s - 21 19 - 36 38c - 2 3 - 5 7 - 8 10l - 10 10c - 2 2 - 3 3 - 5 4c - 11 9 - 21 17 - 34 23c - 19 9 - 39 13 - 60 13s - 42 - 4 - 61 - 13 <nl> + c - 13 - 6 - 22 - 14 - 33 - 23c - 2 - 1 - 3 - 2 - 5 - 4l - 10 - 10s - 6 - 7 - 8 - 10c - 15 - 19 - 27 - 8 - 36 - 38c - 9 - 31 - 7 - 49 - 5 - 64s13 - 22 13 - 22c10 15 26 24 44 24c30 0 53 - 27 53 - 59v - 106c0 - 32 - 26 - 59 - 58 - 59s - 52 13 - 72 80c - 10 32 - 16 111 - 13 162c3 60 22 108 56 145v0 <nl> + c8 8 15 16 24 23s19 13 29 18c25 13 53 20 82 20s57 - 7 82 - 20c10 - 5 19 - 11 28 - 18s17 - 15 25 - 23v0c34 - 37 53 - 85 56 - 145z " / > <nl> + < glyph glyph - name = " ion - heart - broken " unicode = " & # xf31d ; " horiz - adv - x = " 416 " <nl> + d = " M181 160c0 - 36 - 2 - 71 4 - 107c2 - 10 2 - 20 2 - 31l - 153 159c - 45 47 - 45 124 0 171c40 41 103 43 144 3c - 2 - 15 - 3 - 31 - 3 - 46c - 18 - 14 - 40 - 21 - 56 - 39l11 7c17 11 15 8 35 14c3 1 8 3 11 5c0 - 1 - 1 - 5 - 1 - 6c1 - 20 11 - 39 15 - 60c0 - 5 1 - 10 - 1 - 15c - 8 - 17 - 7 - 37 - 8 - 55 <nl> + zM274 147c8 - 18 23 - 29 38 - 39l - 104 - 108l - 17 18c0 13 - 4 26 - 4 38c - 2 48 10 94 21 142v0c1 - 1 2 - 1 3 - 1c30 - 6 52 - 24 63 - 50zM382 352c46 - 47 46 - 124 0 - 171l - 68 - 70c - 28 24 - 42 54 - 65 81c - 12 13 - 26 23 - 41 32c - 3 13 - 8 26 - 11 39c - 3 12 14 21 16 31c3 12 3 26 3 39 <nl> + l19 19c40 42 107 42 147 0z " / > <nl> + < glyph glyph - name = " ion - heart " unicode = " & # xf141 ; " horiz - adv - x = " 416 " <nl> + d = " M382 352c46 - 47 46 - 124 0 - 171l - 174 - 181l - 174 181c - 46 47 - 46 124 0 171c40 42 107 42 147 0l27 - 28l28 28c40 42 106 42 146 0z " / > <nl> + < glyph glyph - name = " ion - help - buoy " unicode = " & # xf27c ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM402 264c - 10 24 - 23 45 - 42 64s - 41 32 - 65 42l - 19 - 61c14 - 6 27 - 15 38 - 26s21 - 24 27 - 38zM224 96c53 0 96 43 96 96s - 43 96 - 96 96s - 96 - 43 - 96 - 96s43 - 96 96 - 96zM88 328 <nl> + c - 19 - 19 - 32 - 41 - 42 - 65l61 - 19c6 14 15 27 26 38s24 21 38 27l - 19 61c - 24 - 10 - 45 - 23 - 64 - 42zM46 120c10 - 24 23 - 45 42 - 64s41 - 32 65 - 42l19 61c - 14 6 - 27 15 - 38 26s - 21 24 - 27 38zM360 56c19 19 32 41 42 65l - 61 19c - 6 - 14 - 15 - 27 - 26 - 38s - 24 - 21 - 38 - 27l19 - 61 <nl> + c24 10 45 23 64 42z " / > <nl> + < glyph glyph - name = " ion - help - circled " unicode = " & # xf142 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM244 89c1 18 - 12 31 - 29 31c - 16 0 - 30 - 11 - 30 - 29s12 - 30 28 - 30c17 0 31 10 31 28zM293 217c7 10 12 22 12 36c0 23 - 9 40 - 25 52c - 17 13 - 37 18 - 62 18 <nl> + c - 19 0 - 34 - 4 - 47 - 13c - 19 - 13 - 28 - 34 - 28 - 68h49c0 9 - 1 19 4 27s13 15 26 15s19 - 3 25 - 11c5 - 7 8 - 15 8 - 23c0 - 7 - 4 - 14 - 8 - 20c - 2 - 4 - 6 - 7 - 10 - 10c0 0 - 26 - 15 - 35 - 30c - 7 - 11 - 9 - 24 - 10 - 41c0 - 1 0 - 4 4 - 4h39s5 3 5 4c0 6 1 15 2 19c2 7 6 12 12 17l14 9 <nl> + c12 9 21 17 25 23z " / > <nl> + < glyph glyph - name = " ion - help " unicode = " & # xf143 ; " horiz - adv - x = " 256 " <nl> + d = " M217 371c25 - 19 39 - 46 39 - 83c0 - 22 - 8 - 42 - 19 - 57c - 7 - 9 - 21 - 21 - 40 - 36l - 21 - 14c - 10 - 8 - 17 - 18 - 20 - 28c - 2 - 6 - 3 - 19 - 3 - 29c0 - 2 - 1 - 6 - 7 - 6h - 62c - 7 0 - 7 3 - 7 5c1 26 4 49 15 66c15 23 57 48 57 48c6 5 11 9 15 15c7 10 12 21 12 32c0 13 - 3 26 - 11 36 <nl> + c - 10 12 - 21 18 - 41 18s - 32 - 11 - 40 - 24s - 7 - 29 - 7 - 43h - 77c0 54 14 88 44 108c20 14 45 20 75 20c39 0 70 - 7 98 - 28zM114 78c27 - 1 47 - 20 46 - 48s - 22 - 46 - 49 - 45c - 26 1 - 46 19 - 45 47s22 47 48 46z " / > <nl> + < glyph glyph - name = " ion - home " unicode = " & # xf144 ; " horiz - adv - x = " 384 " <nl> + d = " M384 160h - 48v - 160h - 96v128h - 96v - 128h - 96v160h - 48l192 224z " / > <nl> + < glyph glyph - name = " ion - icecream " unicode = " & # xf27d ; " horiz - adv - x = " 320 " <nl> + d = " M32 192h256l - 128 - 224zM307 275c8 - 5 13 - 13 13 - 23c0 - 16 - 14 - 28 - 30 - 28h - 4h - 252h - 4c - 16 0 - 30 13 - 30 28c0 10 6 18 14 23c1 0 1 2 2 2c4 3 7 7 8 12v1c - 2 6 - 2 12 - 2 18c0 42 34 76 76 76c8 0 16 - 2 23 - 4c - 3 - 12 - 4 - 31 - 4 - 31c2 15 11 29 11 29c18 23 46 38 77 38 <nl> + c53 0 96 - 43 96 - 96c0 - 11 - 2 - 21 - 5 - 30v - 1c0 - 4 4 - 9 8 - 12c1 0 2 - 2 3 - 2z " / > <nl> + < glyph glyph - name = " ion - image " unicode = " & # xf147 ; " <nl> + d = " M336 224c - 26 0 - 48 22 - 48 48s22 48 48 48s48 - 22 48 - 48s - 22 - 48 - 48 - 48zM420 384c16 0 28 - 12 28 - 28v - 328c0 - 16 - 12 - 28 - 28 - 28h - 392c - 16 0 - 28 12 - 28 28v328c0 16 12 28 28 28h392zM317 186l99 - 106v260c0 7 - 6 12 - 13 12h - 358c - 7 0 - 12 - 5 - 13 - 12v - 260l126 152 <nl> + c4 4 10 8 17 8s13 - 2 17 - 7l54 - 59l4 - 4c3 - 2 7 - 4 11 - 4s8 2 12 5l18 16c4 3 8 5 13 5s10 - 2 13 - 6z " / > <nl> + < glyph glyph - name = " ion - images " unicode = " & # xf148 ; " <nl> + d = " M426 308c13 - 1 23 - 12 22 - 24l - 14 - 263c - 1 - 13 - 12 - 22 - 25 - 21l - 330 16c - 13 1 - 23 10 - 22 23l2 46l - 15 - 1c - 12 - 1 - 22 7 - 23 18l - 21 236c - 1 11 7 21 19 22l296 24c12 1 22 - 7 23 - 18l5 - 54zM71 302c1 12 11 22 24 22l219 - 11l - 2 31h - 1v1c - 1 5 - 5 8 - 10 8l - 261 - 22 <nl> + c - 5 0 - 10 - 4 - 10 - 9v0v - 1l16 - 178l18 25zM405 66l10 198v1v0c0 6 - 5 10 - 11 10l - 58 3l - 29 2l - 204 9c - 6 0 - 11 - 4 - 12 - 9v0v - 1l - 3 - 63l - 7 - 128v - 7l6 7l102 109c4 4 8 6 14 6s11 - 3 14 - 7l43 - 49l3 - 3c2 - 2 6 - 4 10 - 4s5 1 9 3l17 12c4 3 7 4 11 4s9 - 2 11 - 5l27 - 33zM341 186 <nl> + c - 20 0 - 35 15 - 35 35s16 35 35 35c20 0 35 - 16 35 - 35s - 16 - 35 - 35 - 35z " / > <nl> + < glyph glyph - name = " ion - information - circled " unicode = " & # xf149 ; " <nl> + d = " M448 195c2 - 124 - 97 - 225 - 221 - 227s - 225 97 - 227 221s97 225 221 227s225 - 97 227 - 221zM224 336c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32zM268 53v11h - 22v172h - 66v - 12h22v - 160h - 22v - 11h88z " / > <nl> + < glyph glyph - name = " ion - information " unicode = " & # xf14a ; " horiz - adv - x = " 128 " <nl> + d = " M96 0h32v - 16h - 128v16h32v240h - 32v16h96v - 256zM64 304c - 27 0 - 48 21 - 48 48s21 48 48 48s48 - 21 48 - 48s - 21 - 48 - 48 - 48z " / > <nl> + < glyph glyph - name = " ion - ionic " unicode = " & # xf14b ; " horiz - adv - x = " 416 " <nl> + d = " M376 315c25 - 34 40 - 77 40 - 123c0 - 115 - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208c46 0 89 - 15 123 - 40c5 3 11 5 18 5c18 0 32 - 14 32 - 32c0 - 7 - 2 - 13 - 5 - 18zM344 56c18 18 31 38 41 61c10 24 15 49 15 75s - 5 51 - 15 75c - 6 13 - 13 26 - 21 38 <nl> + c - 4 - 2 - 10 - 4 - 15 - 4c - 18 0 - 32 14 - 32 32c0 5 2 11 4 15c - 12 8 - 25 15 - 38 21c - 24 10 - 49 15 - 75 15s - 51 - 5 - 75 - 15c - 23 - 10 - 43 - 23 - 61 - 41s - 31 - 38 - 41 - 61c - 10 - 24 - 15 - 49 - 15 - 75s5 - 51 15 - 75c10 - 23 23 - 43 41 - 61s38 - 31 61 - 41c24 - 10 49 - 15 75 - 15s51 5 75 15 <nl> + c23 10 43 23 61 41zM112 192c0 64 32 96 96 96s96 - 32 96 - 96s - 32 - 96 - 96 - 96s - 96 32 - 96 96z " / > <nl> + < glyph glyph - name = " ion - ios - alarm - outline " unicode = " & # xf3c7 ; " horiz - adv - x = " 404 " <nl> + d = " M384 256l - 54 52l - 9 - 9c35 - 32 57 - 79 57 - 130c0 - 44 - 16 - 83 - 43 - 114l36 - 45l - 12 - 10l - 35 43c - 32 - 30 - 75 - 49 - 122 - 49v0v0c - 47 0 - 90 19 - 122 49l - 35 - 43l - 12 10l36 45c - 27 31 - 43 71 - 43 115c0 51 22 97 57 129l - 9 9l - 54 - 52c - 12 14 - 20 32 - 20 52c0 44 35 80 80 82 <nl> + h5c20 0 39 - 7 54 - 18l - 54 - 52l11 - 11c26 19 56 32 90 35v0c0 8 8 16 16 16s15 - 8 15 - 16v0c34 - 3 65 - 16 91 - 35l11 11l - 54 52c15 11 34 18 54 18h5c45 - 2 80 - 38 80 - 82c0 - 20 - 8 - 38 - 20 - 52zM22 280l91 89c - 9 5 - 19 7 - 32 6c - 37 - 2 - 65 - 32 - 65 - 67c0 - 10 2 - 19 6 - 28z <nl> + M362 172c0 88 - 72 158 - 160 158s - 160 - 70 - 160 - 158s72 - 158 160 - 158s160 70 160 158zM291 369l91 - 89c4 9 6 18 6 28c0 35 - 28 65 - 65 67c - 13 1 - 23 - 1 - 32 - 6zM202 288h16v - 144h - 112v16h96v128z " / > <nl> + < glyph glyph - name = " ion - ios - alarm " unicode = " & # xf3c8 ; " horiz - adv - x = " 404 " <nl> + d = " M385 256l - 55 52l - 9 - 9c35 - 32 57 - 79 57 - 130c0 - 44 - 16 - 83 - 43 - 114l37 - 45l - 13 - 10l - 35 43c - 32 - 30 - 75 - 49 - 122 - 49v0v0c - 47 0 - 90 19 - 122 49l - 35 - 43l - 12 10l36 45c - 27 31 - 43 70 - 43 114c0 51 22 98 57 130l - 9 9l - 54 - 52c - 12 14 - 20 32 - 20 52c0 44 35 80 80 82 <nl> + h5c20 0 39 - 7 54 - 18l - 54 - 53l11 - 10c26 19 56 32 90 35v0c0 8 8 16 16 16s15 - 8 15 - 16v0c34 - 3 65 - 16 91 - 35l11 11l - 54 52c15 11 34 18 54 18h5c45 - 2 80 - 38 80 - 82c0 - 20 - 7 - 38 - 19 - 52zM218 144v144h - 16v - 128h - 96v - 16h112z " / > <nl> + < glyph glyph - name = " ion - ios - albums - outline " unicode = " & # xf3c9 ; " <nl> + d = " M432 304h - 416v - 288h416v288zM448 320v0v - 320h - 448v320h448zM40 336v16h368v - 16h - 368zM72 368v16h304v - 16h - 304z " / > <nl> + < glyph glyph - name = " ion - ios - albums " unicode = " & # xf3ca ; " <nl> + d = " M448 320v0v - 320h - 448v320h448zM40 336v16h368v - 16h - 368zM72 368v16h304v - 16h - 304z " / > <nl> + < glyph glyph - name = " ion - ios - americanfootball - outline " unicode = " & # xf3cb ; " horiz - adv - x = " 416 " <nl> + d = " M331 315c112 - 112 81 - 327 81 - 327s - 26 - 4 - 65 - 4c - 73 0 - 189 12 - 262 85c - 112 112 - 81 327 - 81 327s26 4 65 4c73 0 189 - 12 262 - 85zM17 383c - 2 - 19 - 5 - 60 0 - 107c1 - 8 2 - 16 3 - 23l127 127c - 25 3 - 51 5 - 78 5v0v0c - 22 0 - 41 - 1 - 52 - 2zM96 80c30 - 30 72 - 53 124 - 66 <nl> + c10 - 3 20 - 5 31 - 7l142 142c - 4 22 - 10 44 - 17 63c - 14 37 - 32 68 - 56 92c - 30 30 - 72 53 - 124 66c - 10 3 - 20 5 - 31 7l - 142 - 142c4 - 22 10 - 44 17 - 63c14 - 37 32 - 68 56 - 92zM399 1c2 19 5 60 0 107c - 1 8 - 2 16 - 3 23l - 127 - 127c25 - 3 51 - 5 78 - 5c22 0 41 1 52 2zM259 130 <nl> + l - 28 - 29l - 12 12l29 28l - 23 23l - 28 - 29l - 12 12l29 28l - 23 23l - 28 - 29l - 12 12l29 28l - 23 23l - 28 - 29l - 12 12l29 28l - 22 23l - 29 - 29l - 11 12l67 67l12 - 11l - 29 - 29l23 - 22l28 29l12 - 12l - 29 - 28l23 - 23l28 29l12 - 12l - 29 - 28l23 - 23l28 29l12 - 12l - 29 - 28l22 - 23l29 29l12 - 12 <nl> + l - 29 - 28l22 - 23l29 29l11 - 12l - 67 - 67l - 12 11l29 29z " / > <nl> + < glyph glyph - name = " ion - ios - americanfootball " unicode = " & # xf3cc ; " horiz - adv - x = " 416 " <nl> + d = " M331 315c112 - 112 81 - 327 81 - 327s - 26 - 4 - 65 - 4c - 73 0 - 189 12 - 262 85c - 112 112 - 81 327 - 81 327s26 4 65 4c73 0 189 - 12 262 - 85zM20 253l3 - 18l142 142l - 18 3zM219 113l12 - 12l28 29l23 - 22l - 29 - 29l12 - 11l67 67l - 11 12l - 29 - 29l - 22 23l29 28l - 12 12l - 28 - 29 <nl> + l - 23 23l29 28l - 12 12l - 28 - 29l - 23 23l29 28l - 12 12l - 28 - 29l - 23 23l29 28l - 12 12l - 28 - 29l - 23 22l29 29l - 12 11l - 67 - 67l11 - 12l29 29l22 - 23l - 29 - 28l12 - 12l28 29l23 - 23l - 29 - 28l12 - 12l28 29l23 - 23l - 29 - 28l12 - 12l28 29l23 - 23zM269 4l127 127l - 3 18l - 142 - 142z " / > <nl> + < glyph glyph - name = " ion - ios - analytics - outline " unicode = " & # xf3cd ; " <nl> + d = " M224 400c - 28 0 - 55 - 5 - 81 - 16c - 25 - 10 - 47 - 26 - 66 - 45s - 35 - 41 - 45 - 66c - 11 - 26 - 16 - 53 - 16 - 81s5 - 55 16 - 81c10 - 25 26 - 47 45 - 66s41 - 35 66 - 45c26 - 11 53 - 16 81 - 16s55 5 81 16c25 10 47 26 66 45s35 41 45 66c11 26 16 53 16 81s - 5 55 - 16 81 <nl> + c - 10 25 - 26 47 - 45 66s - 41 35 - 66 45c - 26 11 - 53 16 - 81 16zM224 416v0c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM76 128c - 25 0 - 41 18 - 42 19c - 3 3 - 2 9 1 12s8 2 11 - 1c1 - 1 15 - 17 36 - 14c12 2 27 26 38 42c4 6 9 12 12 16 <nl> + c17 21 34 23 45 21c24 - 3 45 - 28 54 - 50c7 - 18 18 - 28 32 - 29c15 - 1 31 11 43 30c1 2 3 4 4 7c9 17 24 43 52 43c31 0 52 - 35 53 - 36c2 - 4 1 - 9 - 3 - 11s - 9 - 1 - 11 3c0 0 - 5 8 - 12 15c - 6 6 - 16 13 - 27 13c - 18 0 - 29 - 19 - 38 - 35c - 1 - 3 - 3 - 5 - 4 - 7c - 15 - 25 - 36 - 40 - 58 - 38 <nl> + c - 20 1 - 36 15 - 46 39s - 28 39 - 41 41c - 11 1 - 21 - 4 - 31 - 16c - 3 - 4 - 6 - 9 - 10 - 15c - 14 - 20 - 31 - 45 - 50 - 48c - 3 0 - 5 - 1 - 8 - 1z " / > <nl> + < glyph glyph - name = " ion - ios - analytics " unicode = " & # xf3ce ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224c0 - 13 - 1 - 25 - 3 - 37c - 1 - 6 - 2 - 12 - 3 - 17c - 24 - 98 - 113 - 170 - 218 - 170c - 122 0 - 221 98 - 224 219v5c0 9 1 17 2 26c13 111 107 198 222 198zM431 168c1 8 1 16 1 24c0 28 - 5 55 - 16 81c - 10 25 - 26 47 - 45 66s - 41 35 - 66 45 <nl> + c - 26 11 - 53 16 - 81 16s - 55 - 5 - 81 - 16c - 25 - 10 - 47 - 26 - 66 - 45s - 35 - 41 - 45 - 66c - 11 - 26 - 16 - 53 - 16 - 81v0c14 - 21 29 - 34 29 - 34h1v - 1c1 - 1 15 - 16 36 - 13c12 2 27 26 38 42c4 6 9 12 12 16c17 21 34 23 45 21c24 - 3 45 - 27 54 - 50c7 - 18 18 - 28 32 - 29c15 - 1 31 9 43 29 <nl> + c1 2 3 4 4 7c9 17 24 44 52 44c31 0 52 - 35 53 - 36c3 - 4 9 - 12 16 - 20z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - back " unicode = " & # xf3cf ; " horiz - adv - x = " 192 " <nl> + d = " M192 320l - 127 - 128l127 - 128l - 32 - 32l - 160 160v0v0l160 160z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - down " unicode = " & # xf3d0 ; " horiz - adv - x = " 320 " <nl> + d = " M301 288l19 - 21l - 160 - 171l - 160 171l19 21l141 - 150z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - forward " unicode = " & # xf3d1 ; " horiz - adv - x = " 192 " <nl> + d = " M0 320l32 32l160 - 160v0v0l - 160 - 160l - 32 32l127 128z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - left " unicode = " & # xf3d2 ; " horiz - adv - x = " 192 " <nl> + d = " M192 333l - 150 - 141l150 - 141l - 21 - 19l - 171 160l171 160z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - right " unicode = " & # xf3d3 ; " horiz - adv - x = " 192 " <nl> + d = " M0 333l21 19l171 - 160l - 171 - 160l - 21 19l150 141z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - thin - down " unicode = " & # xf3d4 ; " horiz - adv - x = " 192 " <nl> + d = " M190 126c2 - 2 2 - 4 2 - 6s0 - 4 - 2 - 6c0 0 - 87 - 79 - 88 - 80s - 3 - 2 - 6 - 2s - 5 1 - 6 2s - 88 80 - 88 80c - 3 3 - 3 9 0 12s9 3 12 0l74 - 67v285c0 4 4 8 8 8s8 - 4 8 - 8v - 285l74 67c3 3 9 3 12 0z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - thin - left " unicode = " & # xf3d5 ; " horiz - adv - x = " 320 " <nl> + d = " M94 98c - 2 - 2 - 4 - 2 - 6 - 2s - 4 0 - 6 2c0 0 - 79 87 - 80 88s - 2 3 - 2 6s1 5 2 6s80 88 80 88c3 3 9 3 12 0s3 - 9 0 - 12l - 67 - 74h285c4 0 8 - 4 8 - 8s - 4 - 8 - 8 - 8h - 285l67 - 74c3 - 3 3 - 9 0 - 12z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - thin - right " unicode = " & # xf3d6 ; " horiz - adv - x = " 320 " <nl> + d = " M226 98c - 3 3 - 3 9 0 12l67 74h - 285c - 4 0 - 8 4 - 8 8s4 8 8 8h285l - 67 74c - 3 3 - 3 9 0 12s9 3 12 0c0 0 79 - 87 80 - 88s2 - 3 2 - 6s - 1 - 5 - 2 - 6s - 80 - 88 - 80 - 88c - 2 - 2 - 4 - 2 - 6 - 2s - 4 0 - 6 2z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - thin - up " unicode = " & # xf3d7 ; " horiz - adv - x = " 192 " <nl> + d = " M190 258c - 3 - 3 - 9 - 3 - 12 0l - 74 67v - 285c0 - 4 - 4 - 8 - 8 - 8s - 8 4 - 8 8v285l - 74 - 67c - 3 - 3 - 9 - 3 - 12 0s - 3 9 0 12c0 0 87 79 88 80s3 2 6 2s5 - 1 6 - 2s88 - 80 88 - 80c2 - 2 2 - 4 2 - 6s0 - 4 - 2 - 6z " / > <nl> + < glyph glyph - name = " ion - ios - arrow - up " unicode = " & # xf3d8 ; " horiz - adv - x = " 320 " <nl> + d = " M301 96l - 141 150l - 141 - 150l - 19 21l160 171l160 - 171z " / > <nl> + < glyph glyph - name = " ion - ios - at - outline " unicode = " & # xf3d9 ; " horiz - adv - x = " 255 " <nl> + d = " M236 127v1h19l - 3 - 6c - 3 - 6 - 13 - 19 - 22 - 27s - 18 - 14 - 28 - 20s - 21 - 10 - 32 - 13s - 23 - 5 - 34 - 5c - 16 0 - 33 3 - 49 8s - 30 13 - 43 24c - 12 11 - 26 29 - 34 46c - 7 16 - 10 33 - 10 58c0 18 4 38 11 55c7 16 17 30 29 42s27 21 43 28c15 6 33 9 53 9c16 0 32 - 3 46 - 8 <nl> + c15 - 5 28 - 12 39 - 22s17 - 21 24 - 35c6 - 13 8 - 26 8 - 44c0 - 14 - 2 - 28 - 7 - 40s - 9 - 20 - 17 - 30c - 8 - 9 - 13 - 15 - 23 - 21c - 11 - 6 - 20 - 9 - 29 - 9c - 8 0 - 15 2 - 20 7c - 3 2 - 5 6 - 6 9c - 6 - 6 - 11 - 10 - 17 - 12c - 10 - 3 - 18 - 4 - 26 - 4s - 15 1 - 21 4s - 12 7 - 17 12s - 8 11 - 11 18 <nl> + s - 5 14 - 5 22c0 12 3 24 7 36v2c4 11 5 16 13 26c8 11 17 19 28 26s24 11 38 11c12 0 21 - 3 31 - 9c7 - 4 12 - 10 16 - 16l6 17h18l - 38 - 102c - 2 - 5 - 4 - 10 - 5 - 14s - 1 - 7 - 1 - 10c0 - 2 1 - 4 3 - 5s4 - 2 8 - 2c6 0 11 2 20 7c8 4 12 9 19 17c6 8 10 14 14 25s6 23 6 35 <nl> + c0 15 - 2 25 - 7 36c - 6 13 - 10 22 - 19 30s - 20 15 - 33 20s - 27 7 - 42 7c - 19 0 - 35 - 3 - 48 - 9c - 15 - 6 - 27 - 14 - 37 - 24c - 11 - 10 - 19 - 23 - 25 - 37c - 6 - 15 - 10 - 32 - 10 - 48c0 - 22 2 - 36 8 - 49c6 - 15 17 - 31 28 - 41s24 - 18 38 - 23s30 - 7 46 - 7c10 0 20 1 30 4s18 6 27 11 <nl> + s17 11 24 18s14 13 19 21zM147 154c4 5 8 12 11 20l21 57c - 2 5 - 4 10 - 7 13c - 3 4 - 6 6 - 10 8c - 1 0 - 1 1 - 2 1c - 3 2 - 5 3 - 9 4c - 5 1 - 9 2 - 13 2c - 10 0 - 19 - 3 - 28 - 9s - 17 - 13 - 23 - 22c - 5 - 8 - 7 - 11 - 10 - 20c0 - 1 - 1 - 3 - 1 - 4c - 4 - 11 - 5 - 20 - 5 - 30c0 - 6 1 - 11 3 - 16 <nl> + s5 - 9 8 - 13s7 - 6 12 - 8s9 - 3 15 - 3c4 0 9 1 14 2c4 1 8 2 12 5s8 7 12 13z " / > <nl> + < glyph glyph - name = " ion - ios - at " unicode = " & # xf3da ; " horiz - adv - x = " 256 " <nl> + d = " M228 128v0h28c - 1 - 1 - 2 - 4 - 3 - 6c - 4 - 6 - 14 - 19 - 23 - 27s - 18 - 14 - 28 - 20s - 20 - 10 - 32 - 13c - 11 - 3 - 23 - 5 - 34 - 5c - 16 0 - 33 3 - 49 8s - 30 13 - 43 24c - 12 10 - 26 28 - 34 46c - 7 16 - 10 33 - 10 58c0 19 4 39 11 55s17 30 29 42s28 21 44 28c15 6 32 9 52 9c16 0 31 - 3 46 - 8 <nl> + s28 - 12 39 - 22s18 - 22 25 - 36c6 - 14 8 - 26 8 - 44c0 - 14 - 2 - 28 - 7 - 40c - 4 - 11 - 9 - 20 - 17 - 30c - 7 - 9 - 14 - 16 - 24 - 22c - 12 - 6 - 21 - 9 - 30 - 9s - 16 2 - 22 8c - 2 1 - 3 3 - 4 5c - 4 - 4 - 9 - 6 - 14 - 8c - 10 - 3 - 18 - 5 - 27 - 5c - 8 0 - 16 2 - 23 5s - 12 7 - 17 12s - 9 12 - 12 19s - 4 14 - 4 22 <nl> + c0 12 2 25 6 37l1 1c4 10 5 17 13 27c8 11 17 20 28 27c12 7 24 10 38 10c12 0 22 - 3 33 - 9c5 - 3 8 - 6 12 - 10l5 12h25l - 39 - 104c - 2 - 5 - 3 - 9 - 4 - 13c - 1 - 3 - 1 - 7 - 1 - 9s0 - 3 1 - 3c0 0 1 - 1 5 - 1c5 0 11 2 19 7c7 4 10 8 16 16s9 13 13 23s6 20 6 32c0 14 - 1 24 - 6 34 <nl> + c - 5 12 - 10 21 - 18 28c - 9 8 - 19 14 - 31 18s - 26 7 - 40 7c - 18 0 - 32 - 3 - 44 - 8c - 14 - 6 - 25 - 13 - 35 - 23s - 18 - 22 - 24 - 35c - 6 - 14 - 9 - 30 - 9 - 45c0 - 21 3 - 34 8 - 46c6 - 14 16 - 30 26 - 39s22 - 16 35 - 21c14 - 5 28 - 7 43 - 7c10 0 20 2 29 4s18 6 26 11s28 20 38 33zM144 157 <nl> + c4 5 7 12 10 19l20 55c - 1 4 - 3 7 - 5 9c - 3 3 - 6 6 - 9 8h - 1h - 1v1c - 3 2 - 5 2 - 8 3c - 4 1 - 8 1 - 12 1c - 9 0 - 17 - 2 - 25 - 7c - 10 - 6 - 17 - 14 - 21 - 21c - 5 - 8 - 6 - 11 - 9 - 19c0 - 1 - 1 - 2 - 1 - 3c - 3 - 10 - 6 - 19 - 6 - 28c0 - 5 1 - 10 3 - 14s4 - 8 7 - 11s7 - 6 11 - 8s8 - 2 13 - 2c4 0 8 0 12 1 <nl> + v0c4 1 7 2 11 5c3 2 7 5 11 11z " / > <nl> + < glyph glyph - name = " ion - ios - barcode - outline " unicode = " & # xf3db ; " horiz - adv - x = " 416 " <nl> + d = " M0 64v256h80v - 16h - 64v - 224h64v - 16h - 80zM336 320h80v - 256h - 80v16h64v224h - 64v16zM64 128v128h16v - 128h - 16zM336 128v128h16v - 128h - 16zM272 96v192h16v - 192h - 16zM128 96v192h16v - 192h - 16zM199 112v160h16v - 160h - 16z " / > <nl> + < glyph glyph - name = " ion - ios - barcode " unicode = " & # xf3dc ; " horiz - adv - x = " 416 " <nl> + d = " M0 320h416v - 256h - 416v256zM80 128v128h - 16v - 128h16zM144 96v192h - 16v - 192h16zM215 112v160h - 16v - 160h16zM288 96v192h - 16v - 192h16zM352 128v128h - 16v - 128h16z " / > <nl> + < glyph glyph - name = " ion - ios - baseball - outline " unicode = " & # xf3dd ; " horiz - adv - x = " 416 " <nl> + d = " M415 169v - 1v0c - 11 - 97 - 90 - 174 - 187 - 183v0h - 2c - 2 0 - 3 - 1 - 5 - 1h - 1h - 3h - 1h - 8c - 115 0 - 208 93 - 208 208v8v1v3v1c0 2 1 3 1 5v2v0c9 97 86 176 183 187v0v0c8 1 16 1 24 1c115 0 208 - 93 208 - 208c0 - 7 0 - 14 - 1 - 20v0v - 3zM399 192c0 105 - 86 191 - 191 191 <nl> + c - 3 0 - 5 - 1 - 8 - 1c0 - 11 2 - 21 4 - 31l20 6l5 - 15l - 21 - 7c2 - 7 4 - 14 7 - 21c2 - 5 5 - 11 8 - 16l17 12l9 - 13l - 19 - 13c7 - 12 16 - 23 26 - 33l14 15l12 - 12l - 15 - 15c11 - 10 22 - 18 34 - 25l12 18l14 - 9l - 12 - 17c5 - 2 10 - 5 15 - 7c7 - 3 14 - 5 22 - 7l7 20l15 - 5l - 6 - 19 <nl> + c10 - 2 20 - 4 30 - 4c0 3 1 5 1 8zM17 192c0 - 105 86 - 191 191 - 191h4c - 1 9 - 1 17 - 3 26l - 22 - 7l - 5 16l23 7c - 2 8 - 5 16 - 8 24c - 2 5 - 4 9 - 6 14l - 20 - 13l - 9 13l21 14c - 7 12 - 16 24 - 26 35l - 17 - 17l - 11 11l17 17c - 10 10 - 22 18 - 34 25l - 14 - 21l - 14 9l14 20c - 5 2 - 10 5 - 15 7 <nl> + c - 7 3 - 15 6 - 23 8l - 8 - 24l - 15 5l7 23c - 9 2 - 18 2 - 27 3v - 4zM228 2c88 9 158 78 169 166c - 11 1 - 23 3 - 34 5l - 9 - 27l - 15 5l8 25c - 14 4 - 28 10 - 41 17l - 15 - 23l - 13 9l14 21c - 13 8 - 26 17 - 37 28l - 19 - 19l - 11 11l19 19c - 10 11 - 19 23 - 27 36l - 21 - 14l - 9 13l22 15 <nl> + c - 7 13 - 12 27 - 16 41l - 25 - 8l - 5 16l26 8c - 2 12 - 4 23 - 5 35c - 88 - 11 - 157 - 81 - 166 - 169c10 - 1 21 - 2 31 - 4l8 23l15 - 5l - 7 - 22c14 - 4 28 - 9 42 - 16l13 19l14 - 9l - 13 - 18c13 - 8 25 - 17 36 - 28l17 17l11 - 11l - 17 - 17c11 - 12 20 - 24 28 - 37l19 13l9 - 14l - 20 - 13 <nl> + c7 - 14 12 - 28 16 - 42l23 7l5 - 15l - 24 - 8c2 - 10 3 - 20 4 - 30z " / > <nl> + < glyph glyph - name = " ion - ios - baseball " unicode = " & # xf3de ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208c0 - 8 0 - 16 - 1 - 24v0v0c - 12 - 104 - 100 - 184 - 207 - 184c - 115 0 - 208 93 - 208 208c0 107 80 195 184 207v0v0c8 1 16 1 24 1zM212 1c5 0 11 0 16 1c - 1 10 - 2 20 - 4 30l24 8l - 5 15l - 23 - 7c - 4 14 - 9 28 - 16 42l20 13l - 9 14l - 19 - 13 <nl> + c - 8 13 - 17 25 - 28 37l17 17l - 11 11l - 17 - 17c - 11 11 - 23 20 - 36 28l13 18l - 14 9l - 13 - 19c - 14 7 - 28 12 - 42 16l7 22l - 15 5l - 8 - 23c - 10 2 - 21 3 - 31 4c - 1 - 5 - 1 - 11 - 1 - 16c9 - 1 18 - 1 27 - 3l - 7 - 23l15 - 5l8 24c8 - 2 16 - 5 23 - 8c5 - 2 10 - 5 15 - 7l - 14 - 20l14 - 9l14 21 <nl> + c12 - 7 24 - 15 34 - 25l - 17 - 17l11 - 11l17 17c10 - 11 19 - 23 26 - 35l - 21 - 14l9 - 13l20 13c2 - 5 4 - 9 6 - 14c3 - 8 6 - 16 8 - 24l - 23 - 7l5 - 16l22 7c2 - 8 2 - 17 3 - 26zM363 173c11 - 2 23 - 4 34 - 5c1 5 1 11 1 16c - 10 1 - 20 2 - 30 4l6 19l - 15 5l - 7 - 20c - 8 2 - 15 4 - 22 7 <nl> + c - 5 2 - 10 5 - 15 7l12 17l - 14 9l - 12 - 18c - 12 7 - 23 15 - 34 25l15 15l - 12 12l - 15 - 15c - 10 10 - 18 21 - 25 33l19 13l - 9 13l - 17 - 12c - 3 5 - 6 11 - 8 16c - 3 7 - 5 14 - 7 21l21 7l - 5 15l - 20 - 6c - 2 10 - 3 20 - 4 31c - 5 0 - 11 0 - 16 - 1c1 - 12 3 - 23 5 - 35l - 26 - 8l5 - 16l25 8 <nl> + c4 - 14 9 - 28 16 - 41l - 22 - 15l9 - 13l21 14c8 - 13 17 - 25 27 - 36l - 19 - 19l11 - 11l19 19c11 - 11 24 - 20 37 - 28l - 14 - 21l13 - 9l15 23c13 - 7 27 - 13 41 - 17l - 8 - 25l15 - 5z " / > <nl> + < glyph glyph - name = " ion - ios - basketball - outline " unicode = " & # xf3df ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM399 192c0 55 - 24 105 - 62 140c - 14 - 34 - 31 - 65 - 52 - 95c15 - 12 31 - 21 49 - 29c21 - 9 43 - 14 65 - 16v0zM325 343c - 32 25 - 73 40 - 117 40v0c2 - 22 6 - 44 15 - 65 <nl> + c10 - 25 26 - 47 45 - 66c2 - 1 2 - 3 4 - 4c20 29 38 60 52 93c0 1 1 1 1 2zM192 382c - 51 - 4 - 96 - 29 - 128 - 65c64 - 28 121 - 69 169 - 119c11 12 21 24 30 37c - 40 37 - 67 89 - 71 147zM233 174c - 15 - 16 - 31 - 30 - 48 - 44c28 - 35 45 - 79 47 - 127c33 4 63 17 88 35 <nl> + c - 22 50 - 51 95 - 87 136zM214 178l8 8l - 10 10c - 46 46 - 99 82 - 158 108c - 18 - 25 - 31 - 55 - 35 - 88c62 - 3 116 - 31 155 - 74c14 11 27 23 40 36zM18 200c0 - 3 - 1 - 5 - 1 - 8c0 - 45 16 - 87 43 - 120c36 16 71 36 102 60l - 7 7c - 19 19 - 41 35 - 66 45c - 22 9 - 46 15 - 71 16zM71 59 <nl> + c35 - 36 83 - 58 137 - 58c3 0 5 1 8 1c - 1 25 - 6 48 - 16 71c - 7 17 - 17 33 - 28 47c - 31 - 24 - 65 - 45 - 101 - 61zM333 48c37 32 61 77 65 128c - 46 3 - 89 21 - 123 48c - 10 - 13 - 20 - 26 - 31 - 38c36 - 41 67 - 87 89 - 138z " / > <nl> + < glyph glyph - name = " ion - ios - basketball " unicode = " & # xf3e0 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM333 48c - 22 51 - 53 97 - 89 138c11 12 21 25 31 38c34 - 27 77 - 45 123 - 48c0 5 1 11 1 16c - 22 2 - 44 7 - 65 16c - 18 8 - 34 17 - 49 29c21 30 38 61 52 95c - 4 4 - 8 8 - 12 11 <nl> + c0 - 1 - 1 - 1 - 1 - 2c - 14 - 33 - 32 - 64 - 52 - 93c - 2 1 - 2 2 - 4 4c - 19 19 - 35 41 - 45 66c - 9 21 - 13 43 - 15 65c - 5 0 - 11 - 1 - 16 - 1c4 - 58 31 - 110 71 - 147c - 9 - 13 - 19 - 25 - 30 - 37c - 48 50 - 105 91 - 169 119c - 4 - 4 - 7 - 9 - 10 - 13c59 - 26 112 - 62 158 - 108l10 - 10l - 8 - 8 <nl> + c - 13 - 13 - 26 - 25 - 40 - 36c - 39 43 - 93 71 - 155 74c - 1 - 5 - 1 - 11 - 1 - 16c25 - 1 49 - 7 71 - 16c25 - 10 47 - 26 66 - 45l7 - 7c - 31 - 24 - 66 - 44 - 102 - 60c4 - 4 7 - 9 11 - 13c36 16 70 37 101 61c11 - 14 21 - 30 28 - 47c10 - 23 15 - 46 16 - 71c5 0 11 0 16 1c - 2 48 - 19 92 - 47 127 <nl> + c17 14 33 28 48 44c36 - 41 65 - 86 87 - 136c4 3 9 6 13 10z " / > <nl> + < glyph glyph - name = " ion - ios - bell - outline " unicode = " & # xf3e1 ; " horiz - adv - x = " 384 " <nl> + d = " M318 222c0 - 114 28 - 126 66 - 158h - 384c38 32 66 44 66 158c0 98 53 130 102 138v2c0 12 11 22 24 22s24 - 10 24 - 22v - 2c49 - 7 102 - 40 102 - 138zM43 80h298c - 25 25 - 40 58 - 40 142c0 46 - 13 80 - 37 101c - 23 19 - 52 23 - 72 23s - 49 - 4 - 72 - 23c - 25 - 21 - 37 - 55 - 37 - 101 <nl> + c0 - 51 - 5 - 85 - 17 - 110c - 6 - 13 - 14 - 23 - 23 - 32zM192 0c - 27 0 - 49 20 - 52 43h104c - 3 - 23 - 25 - 43 - 52 - 43z " / > <nl> + < glyph glyph - name = " ion - ios - bell " unicode = " & # xf3e2 ; " horiz - adv - x = " 384 " <nl> + d = " M318 222c0 - 114 28 - 126 66 - 158h - 384c38 32 66 44 66 158c0 98 53 130 102 138v2c0 12 11 22 24 22s24 - 10 24 - 22v - 2c49 - 7 102 - 40 102 - 138zM192 0c - 27 0 - 49 20 - 52 43h104c - 3 - 23 - 25 - 43 - 52 - 43z " / > <nl> + < glyph glyph - name = " ion - ios - body - outline " unicode = " & # xf3e3 ; " horiz - adv - x = " 384 " <nl> + d = " M192 400c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32zM192 416v0c27 0 48 - 21 48 - 48s - 21 - 48 - 48 - 48s - 48 21 - 48 48s21 48 48 48zM360 304c13 0 24 - 11 24 - 24s - 11 - 24 - 24 - 24h - 100c - 5 0 - 14 - 5 - 18 - 15c - 5 - 12 - 2 - 33 1 - 51l4 - 21v - 1v0l32 - 172 <nl> + c2 - 13 - 6 - 26 - 19 - 28h - 5c - 11 0 - 22 8 - 24 20l - 21 120v0s - 5 31 - 17 31h - 2c - 12 0 - 19 - 31 - 19 - 31v0l - 21 - 120c - 2 - 12 - 11 - 20 - 22 - 20h - 5c - 13 2 - 21 15 - 19 28l32 172v1l4 21c3 18 6 39 1 51c - 4 10 - 12 15 - 18 15h - 100c - 13 0 - 24 11 - 24 24s11 24 24 24h336zM24 272 <nl> + c - 4 0 - 8 4 - 8 8s4 8 8 8h336c4 0 8 - 4 8 - 8s - 4 - 8 - 8 - 8h - 102c - 16 0 - 26 - 15 - 30 - 24c - 5 - 13 - 6 - 32 - 1 - 61v0v0l3 - 19l1 - 3l32 - 172c0 - 3 0 - 5 - 1 - 6s - 2 - 2 - 5 - 3h - 2c - 4 0 - 7 2 - 8 6l - 21 120v0c0 2 - 2 10 - 5 19c - 2 6 - 5 11 - 8 15c - 7 9 - 14 11 - 20 11h - 2 <nl> + c - 5 0 - 13 - 2 - 20 - 11c - 3 - 4 - 6 - 9 - 8 - 15c - 4 - 9 - 6 - 17 - 6 - 18v - 1l - 21 - 120c - 1 - 4 - 3 - 6 - 7 - 6h - 2c - 3 0 - 4 2 - 5 3s - 2 3 - 1 6l32 172v0v1l4 21v0v0c5 29 5 48 0 61c - 4 9 - 14 24 - 32 24z " / > <nl> + < glyph glyph - name = " ion - ios - body " unicode = " & # xf3e4 ; " horiz - adv - x = " 384 " <nl> + d = " M144 368c0 32 16 48 48 48s48 - 16 48 - 48s - 16 - 48 - 48 - 48s - 48 16 - 48 48zM360 304c7 0 12 - 2 17 - 7s7 - 10 7 - 17s - 2 - 12 - 7 - 17s - 10 - 7 - 17 - 7h - 98c - 8 - 2 - 15 - 6 - 18 - 14c - 4 - 9 - 3 - 27 1 - 52l4 - 21v - 1v0l30 - 172c1 - 7 0 - 13 - 4 - 18s - 8 - 9 - 15 - 10s - 13 0 - 18 4 <nl> + s - 9 9 - 10 16l - 21 120v - 1l - 2 9c - 1 5 - 3 11 - 6 16s - 6 8 - 10 8h - 2c - 8 0 - 14 - 11 - 18 - 33v1l - 21 - 120c - 1 - 7 - 5 - 12 - 10 - 16s - 11 - 5 - 18 - 4s - 11 5 - 15 10s - 5 11 - 4 18l30 172v0v1l4 21c4 25 5 43 1 52c - 3 8 - 10 12 - 18 14h - 98c - 7 0 - 12 2 - 17 7s - 7 10 - 7 17s2 12 7 17s10 7 17 7 <nl> + h336z " / > <nl> + < glyph glyph - name = " ion - ios - bolt - outline " unicode = " & # xf3e5 ; " horiz - adv - x = " 226 " <nl> + d = " M131 316l - 100 - 140h65h19l - 3 - 19l - 17 - 89l100 140h - 65h - 19l3 19zM160 384v0l - 30 - 160h96l - 160 - 224l30 160h - 96z " / > <nl> + < glyph glyph - name = " ion - ios - bolt " unicode = " & # xf3e6 ; " horiz - adv - x = " 226 " <nl> + d = " M160 384v0l - 30 - 160h96l - 160 - 224l30 160h - 96z " / > <nl> + < glyph glyph - name = " ion - ios - book - outline " unicode = " & # xf3e7 ; " horiz - adv - x = " 384 " <nl> + d = " M284 384c55 0 100 - 26 100 - 79v - 1v - 4v - 261v - 17h - 6h - 11h - 5c - 17 30 - 44 42 - 78 42c - 40 0 - 74 - 28 - 82 - 64h - 20c - 8 36 - 42 64 - 82 64c - 34 0 - 65 - 16 - 78 - 42h - 5h - 11h - 6v9v264v9v1c0 53 45 79 100 79c41 0 78 - 14 92 - 44c12 30 51 44 92 44zM184 37v254v13v2 <nl> + c - 1 43 - 39 62 - 84 62c - 44 0 - 81 - 19 - 84 - 61v - 1v0v - 262h1c19 26 48 36 83 36s66 - 17 84 - 43zM368 300v14v1c - 3 42 - 40 53 - 84 53c - 46 0 - 84 - 20 - 84 - 64v - 1v - 266c18 26 49 43 84 43s66 - 10 84 - 36v256z " / > <nl> + < glyph glyph - name = " ion - ios - book " unicode = " & # xf3e8 ; " horiz - adv - x = " 384 " <nl> + d = " M100 384c35 0 67 - 10 84 - 31v - 353h - 2c - 8 36 - 42 64 - 82 64c - 34 0 - 65 - 16 - 78 - 42h - 5h - 11h - 6v9v264v9v1c0 53 45 79 100 79zM284 384c55 0 100 - 26 100 - 79v - 1v - 4v - 261v - 17h - 6h - 11h - 5c - 17 30 - 44 42 - 78 42c - 40 0 - 74 - 28 - 82 - 64h - 2v353c17 21 50 31 84 31z " / > <nl> + < glyph glyph - name = " ion - ios - bookmarks - outline " unicode = " & # xf3e9 ; " horiz - adv - x = " 418 " <nl> + d = " M385 384c19 0 33 - 13 33 - 32v - 286c0 - 19 - 14 - 34 - 33 - 34h - 143s - 25 - 4 - 25 - 19v - 13h - 8h - 8v13c0 15 - 11 19 - 25 19h - 143c - 19 0 - 33 15 - 33 34v286c0 19 14 32 33 32h150c10 0 20 - 5 26 - 12v0v0c6 7 16 12 26 12h150zM201 37v309c0 9 - 12 22 - 25 22h - 143 <nl> + c - 9 0 - 16 - 7 - 16 - 16v - 286c0 - 9 7 - 18 16 - 18h144c10 0 19 - 3 24 - 11zM273 368v - 100l23 14l9 6l9 - 6l23 - 14v100h - 64zM401 66v286c0 9 - 7 16 - 16 16h - 32v - 131l - 48 32l - 48 - 32v131h - 15c - 13 0 - 25 - 13 - 25 - 22v - 309c5 9 14 11 24 11h144c9 0 16 9 16 18z " / > <nl> + < glyph glyph - name = " ion - ios - bookmarks " unicode = " & # xf3ea ; " horiz - adv - x = " 418 " <nl> + d = " M296 283l - 23 - 15v116h64v - 116l - 23 15l - 9 6zM385 384c19 0 33 - 13 33 - 32v - 286c0 - 19 - 14 - 34 - 33 - 34h - 143s - 25 - 4 - 25 - 19v - 13h - 8h - 8v13c0 15 - 11 19 - 25 19h - 143c - 19 0 - 33 15 - 33 34v286c0 19 14 32 33 32h150s18 - 8 18 - 15v - 329l8 - 6l8 6v329s10 15 18 15h22v - 146 <nl> + l48 32l48 - 32v146h32z " / > <nl> + < glyph glyph - name = " ion - ios - box - outline " unicode = " & # xf3eb ; " horiz - adv - x = " 320 " <nl> + d = " M192 208h - 1h - 63c - 9 0 - 16 - 7 - 16 - 16s7 - 16 16 - 16h64c9 0 16 7 16 16s - 7 16 - 16 16zM192 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32h - 64c - 18 0 - 32 14 - 32 32s14 32 32 32h64zM320 336v - 80h - 16v - 208h - 288v208h - 16v80h320zM288 64v192h - 256v - 192h256zM304 272v48h - 288 <nl> + v - 48h288z " / > <nl> + < glyph glyph - name = " ion - ios - box " unicode = " & # xf3ec ; " horiz - adv - x = " 320 " <nl> + d = " M16 48v192h288v - 192h - 288zM128 208c - 9 0 - 16 - 7 - 16 - 16s7 - 16 16 - 16h64c9 0 16 7 16 16s - 7 16 - 16 16h - 64zM0 336h320v - 80h - 16h - 288h - 16v80z " / > <nl> + < glyph glyph - name = " ion - ios - briefcase - outline " unicode = " & # xf3ed ; " horiz - adv - x = " 416 " <nl> + d = " M368 320h48v - 320h - 416v320h48v16h32v - 16h48v30v2c0 18 10 32 29 32h99c19 0 32 - 14 32 - 32v - 2v - 30h48v16h32v - 16zM144 320v0h128v0v30c0 10 - 7 18 - 17 18h - 97c - 11 0 - 14 - 8 - 14 - 18v - 30zM400 16v224h - 384v - 224h384zM400 256v48h - 32v - 16h - 32v16h - 256v - 16h - 32v16h - 32v - 48 <nl> + h384z " / > <nl> + < glyph glyph - name = " ion - ios - briefcase " unicode = " & # xf3ee ; " horiz - adv - x = " 416 " <nl> + d = " M48 320v16h32v - 16h - 32zM0 0v240h416v - 240h - 416zM336 320v16h32v - 16h - 32zM368 320h48v - 64h - 416v64h48v - 32h32v32h48v30v2c0 18 10 32 29 32h99c19 0 32 - 14 32 - 32v - 2v - 30h48v - 32h32v32zM272 320v30c0 10 - 7 18 - 17 18h - 97c - 11 0 - 14 - 8 - 14 - 18v - 30v0h128v0z " / > <nl> + < glyph glyph - name = " ion - ios - browsers - outline " unicode = " & # xf3ef ; " horiz - adv - x = " 384 " <nl> + d = " M0 304h304v - 304h - 304v304zM288 16v272h - 272v - 272h272zM384 384v - 304h - 64v16h48v272h - 272v - 48h - 16v64h304z " / > <nl> + < glyph glyph - name = " ion - ios - browsers " unicode = " & # xf3f0 ; " horiz - adv - x = " 384 " <nl> + d = " M0 304h304v - 304h - 304v304zM80 384h304v - 304h - 64v240h - 240v64z " / > <nl> + < glyph glyph - name = " ion - ios - calculator - outline " unicode = " & # xf3f1 ; " horiz - adv - x = " 288 " <nl> + d = " M32 288v64h224v - 64h - 224zM48 336v - 32h192v32h - 192zM256 384c18 0 32 - 14 32 - 32v - 320c0 - 18 - 14 - 32 - 32 - 32h - 224c - 18 0 - 32 14 - 32 32v320c0 18 14 32 32 32h224zM272 32v320c0 9 - 7 16 - 16 16h - 224c - 9 0 - 16 - 7 - 16 - 16v - 320c0 - 9 7 - 16 16 - 16h224c9 0 16 7 16 16z <nl> + M48 208h32h16v - 16h - 64v64h16v - 16v - 32zM48 128h32h16v - 16h - 64v64h16v - 16v - 32zM48 48h32h16v - 16h - 64v64h16v - 16v - 32zM128 208h32h16v - 16h - 64v64h16v - 16v - 32zM208 208h32h16v - 16h - 64v64h16v - 16v - 32zM128 128h32h16v - 16h - 64v64h16v - 16v - 32zM128 48h32h16v - 16h - 64v64h16v - 16v - 32z <nl> + M208 48h32h16v - 16h - 64v144h16v - 96v - 32z " / > <nl> + < glyph glyph - name = " ion - ios - calculator " unicode = " & # xf3f2 ; " horiz - adv - x = " 288 " <nl> + d = " M256 384c18 0 32 - 14 32 - 32v - 320c0 - 18 - 14 - 32 - 32 - 32h - 224c - 18 0 - 32 14 - 32 32v320c0 18 14 32 32 32h224zM248 168h - 48v - 128h48v128zM248 248h - 48v - 48h48v48zM168 88h - 48v - 48h48v48zM168 168h - 48v - 48h48v48zM168 248h - 48v - 48h48v48zM88 88h - 48v - 48h48v48zM88 168 <nl> + h - 48v - 48h48v48zM88 248h - 48v - 48h48v48zM40 296h208v48h - 208v - 48z " / > <nl> + < glyph glyph - name = " ion - ios - calendar - outline " unicode = " & # xf3f3 ; " horiz - adv - x = " 384 " <nl> + d = " M16 336v - 64h352v64zM288 352h96v - 352h - 384v352h96v32h16v - 32h160v32h16v - 32zM368 16v240h - 352v - 240h352zM368 272v64h - 80v - 32h - 16v32h - 160v - 32h - 16v32h - 80v - 64h352z " / > <nl> + < glyph glyph - name = " ion - ios - calendar " unicode = " & # xf3f4 ; " horiz - adv - x = " 384 " <nl> + d = " M0 0v256h384v - 256h - 384zM384 352v - 80h - 384v80h96v - 48h16v48h160v - 48h16v48h96zM96 352v32h16v - 32h - 16zM272 352v32h16v - 32h - 16z " / > <nl> + < glyph glyph - name = " ion - ios - camera - outline " unicode = " & # xf3f5 ; " horiz - adv - x = " 384 " <nl> + d = " M354 288c18 0 30 - 13 30 - 31v - 176c0 - 18 - 12 - 33 - 30 - 33h - 320c - 18 0 - 34 15 - 34 33v176c0 18 16 31 34 31h13v16h34v - 16h13c32 36 43 48 55 48h88c12 0 23 - 12 55 - 48h62zM368 81v176c0 9 - 5 15 - 14 15h - 62h - 7l - 5 3c - 3 4 - 7 8 - 10 11c - 12 13 - 20 24 - 26 30 <nl> + c - 5 5 - 7 4 - 7 4h - 88s - 2 0 - 7 - 4c - 6 - 5 - 14 - 14 - 25 - 27c - 3 - 4 - 7 - 10 - 11 - 14l - 5 - 3h - 7h - 60c - 9 0 - 18 - 7 - 18 - 15v - 176c0 - 9 9 - 17 18 - 17h320c8 0 14 8 14 17zM192 258c47 0 86 - 38 86 - 85s - 39 - 85 - 86 - 85s - 86 38 - 86 85s39 85 86 85zM192 104c38 0 70 31 70 69 <nl> + s - 32 69 - 70 69s - 70 - 31 - 70 - 69s32 - 69 70 - 69zM288 239v17h17v - 17h - 17zM160 173c0 21 11 32 32 32s32 - 11 32 - 32s - 11 - 32 - 32 - 32s - 32 11 - 32 32z " / > <nl> + < glyph glyph - name = " ion - ios - camera " unicode = " & # xf3f6 ; " horiz - adv - x = " 384 " <nl> + d = " M354 288c18 0 30 - 13 30 - 31v - 176c0 - 18 - 12 - 33 - 30 - 33h - 320c - 18 0 - 34 15 - 34 33v176c0 18 16 31 34 31h13v16h34v - 16h13c32 36 43 48 55 48h88c12 0 23 - 12 55 - 48h62zM192 88c47 0 86 38 86 85s - 39 85 - 86 85s - 86 - 38 - 86 - 85s39 - 85 86 - 85zM305 239v17h - 17v - 17h17 <nl> + zM192 242c38 0 70 - 31 70 - 69s - 32 - 69 - 70 - 69s - 70 31 - 70 69s32 69 70 69zM192 141c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32z " / > <nl> + < glyph glyph - name = " ion - ios - cart - outline " unicode = " & # xf3f7 ; " horiz - adv - x = " 384 " <nl> + d = " M96 48c13 0 24 - 11 24 - 24s - 11 - 24 - 24 - 24s - 24 11 - 24 24s11 24 24 24zM96 16c4 0 8 4 8 8s - 4 8 - 8 8s - 8 - 4 - 8 - 8s4 - 8 8 - 8zM320 48c13 0 24 - 11 24 - 24s - 11 - 24 - 24 - 24s - 24 11 - 24 24s11 24 24 24zM320 16c4 0 8 4 8 8s - 4 8 - 8 8s - 8 - 4 - 8 - 8s4 - 8 8 - 8zM384 320 <nl> + l - 16 - 128l - 271 - 48l5 - 30c7 - 34 21 - 34 26 - 34h240v - 16h - 240c - 11 0 - 21 5 - 28 14c - 6 8 - 11 19 - 13 33l - 43 234v0c - 2 8 - 3 12 - 7 16c - 6 5 - 18 7 - 37 7v16c23 0 38 - 4 47 - 11c7 - 6 10 - 14 12 - 21zM355 206l11 99l - 304 31l32 - 176z " / > <nl> + < glyph glyph - name = " ion - ios - cart " unicode = " & # xf3f8 ; " horiz - adv - x = " 384 " <nl> + d = " M96 48c13 0 24 - 11 24 - 24s - 11 - 24 - 24 - 24s - 24 11 - 24 24s11 24 24 24zM320 48c13 0 24 - 11 24 - 24s - 11 - 24 - 24 - 24s - 24 11 - 24 24s11 24 24 24zM384 320l - 16 - 128l - 271 - 48l5 - 30c7 - 34 21 - 34 26 - 34h240v - 16h - 240c - 11 0 - 21 5 - 28 14c - 6 8 - 11 19 - 13 33l - 43 234v0 <nl> + c - 2 8 - 3 12 - 7 16c - 6 5 - 18 7 - 37 7v16c23 0 38 - 4 47 - 11c7 - 6 10 - 14 12 - 21z " / > <nl> + < glyph glyph - name = " ion - ios - chatboxes - outline " unicode = " & # xf3f9 ; " horiz - adv - x = " 416 " <nl> + d = " M16 384v - 192h96v - 16h - 112v224h288v - 112h - 16v96h - 256zM128 272h288v - 224h - 48v - 64h - 13l - 64 64h - 163v224zM400 64v192h - 256v - 192h153l55 - 55v55h48z " / > <nl> + < glyph glyph - name = " ion - ios - chatboxes " unicode = " & # xf3fa ; " horiz - adv - x = " 416 " <nl> + d = " M288 400v - 112h - 176v - 112h - 112v224h288zM128 272h288v - 224h - 48v - 64h - 13l - 64 64h - 163v224z " / > <nl> + < glyph glyph - name = " ion - ios - chatbubble - outline " unicode = " & # xf3fb ; " horiz - adv - x = " 384 " <nl> + d = " M192 336c - 97 0 - 176 - 62 - 176 - 138c0 - 26 10 - 51 27 - 73c0 - 1 0 - 2 1 - 3s2 - 1 2 - 2c4 - 6 6 - 13 6 - 20c0 - 3 1 - 3 - 13 - 47l39 17v0c2 1 10 4 11 4h1v0c5 2 10 3 16 3c5 0 9 - 1 14 - 2l1 - 1h2c19 - 6 41 - 10 70 - 10c48 0 92 15 125 40c32 25 50 58 50 94 <nl> + c0 76 - 79 138 - 176 138zM192 352v0c106 0 192 - 69 192 - 154s - 85 - 150 - 191 - 150c - 27 0 - 52 3 - 75 11h - 2v0c - 3 1 - 6 2 - 10 2s - 9 - 1 - 12 - 2h1h - 1c - 1 0 - 9 - 4 - 10 - 4l - 50 - 22l - 2 - 1h - 3h - 3c - 6 1 - 8 6 - 7 10v0s17 57 17 58c0 4 - 1 8 - 3 11v0v0v0l1 - 1l - 4 4c - 19 24 - 30 53 - 30 84 <nl> + c0 85 86 154 192 154z " / > <nl> + < glyph glyph - name = " ion - ios - chatbubble " unicode = " & # xf3fc ; " horiz - adv - x = " 384 " <nl> + d = " M192 352v0c106 0 192 - 69 192 - 154s - 85 - 150 - 191 - 150c - 27 0 - 52 3 - 75 11h - 2v0c - 3 1 - 6 2 - 10 2s - 9 - 1 - 12 - 2h1h - 1c - 1 0 - 9 - 4 - 10 - 4l - 50 - 22l - 2 - 1h - 3h - 3c - 6 1 - 8 6 - 7 10v0s17 57 17 58c0 4 - 1 8 - 3 11v0v0v0l1 - 1l - 4 4c - 19 24 - 30 53 - 30 84c0 85 86 154 192 154z <nl> + " / > <nl> + < glyph glyph - name = " ion - ios - checkmark - empty " unicode = " & # xf3fd ; " horiz - adv - x = " 207 " <nl> + d = " M74 118c - 2 - 2 - 6 - 4 - 9 - 4s - 7 2 - 9 4l - 56 56l18 18l47 - 47l125 126l17 - 18z " / > <nl> + < glyph glyph - name = " ion - ios - checkmark - outline " unicode = " & # xf3fe ; " horiz - adv - x = " 416 " <nl> + d = " M292 271l18 - 18l - 134 - 135c - 2 - 2 - 6 - 4 - 9 - 4s - 7 2 - 9 4l - 56 56l18 18l47 - 47zM208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 1c105 0 191 86 191 191s - 86 191 - 191 191s - 191 - 86 - 191 - 191s86 - 191 191 - 191z " / > <nl> + < glyph glyph - name = " ion - ios - checkmark " unicode = " & # xf3ff ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM176 118l134 135l - 18 18l - 125 - 126l - 47 47l - 18 - 18l56 - 56c2 - 2 6 - 4 9 - 4s7 2 9 4z " / > <nl> + < glyph glyph - name = " ion - ios - circle - filled " unicode = " & # xf400 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 1c105 0 191 86 191 191s - 86 191 - 191 191s - 191 - 86 - 191 - 191s86 - 191 191 - 191zM208 352c88 0 160 - 72 160 - 160s - 72 - 160 - 160 - 160s - 160 72 - 160 160s72 160 160 160z " / > <nl> + < glyph glyph - name = " ion - ios - circle - outline " unicode = " & # xf401 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 1c105 0 191 86 191 191s - 86 191 - 191 191s - 191 - 86 - 191 - 191s86 - 191 191 - 191z " / > <nl> + < glyph glyph - name = " ion - ios - clock - outline " unicode = " & # xf402 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 1c105 0 191 86 191 191s - 86 191 - 191 191s - 191 - 86 - 191 - 191s86 - 191 191 - 191zM208 192v128h17v - 145h - 113v17h96z " / > <nl> + < glyph glyph - name = " ion - ios - clock " unicode = " & # xf403 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM225 175v145h - 17v - 128h - 96v - 17h113z " / > <nl> + < glyph glyph - name = " ion - ios - close - empty " unicode = " & # xf404 ; " horiz - adv - x = " 192 " <nl> + d = " M180 288l12 - 12l - 84 - 84l84 - 84l - 12 - 12l - 84 84l - 84 - 84l - 12 12l84 84l - 84 84l12 12l84 - 84z " / > <nl> + < glyph glyph - name = " ion - ios - close - outline " unicode = " & # xf405 ; " horiz - adv - x = " 416 " <nl> + d = " M355 339c81 - 81 81 - 213 0 - 294s - 213 - 81 - 294 0s - 81 213 0 294s213 81 294 0zM343 57c74 74 74 196 0 270s - 196 74 - 270 0s - 74 - 196 0 - 270s196 - 74 270 0zM292 288l12 - 12l - 84 - 84l84 - 84l - 12 - 12l - 84 84l - 84 - 84l - 12 12l84 84l - 84 84l12 12l84 - 84z " / > <nl> + < glyph glyph - name = " ion - ios - close " unicode = " & # xf406 ; " horiz - adv - x = " 416 " <nl> + d = " M355 339c81 - 81 81 - 213 0 - 294s - 213 - 81 - 294 0s - 81 213 0 294s213 81 294 0zM304 108l - 84 84l84 84l - 12 12l - 84 - 84l - 84 84l - 12 - 12l84 - 84l - 84 - 84l12 - 12l84 84l84 - 84z " / > <nl> + < glyph glyph - name = " ion - ios - cloud - download - outline " unicode = " & # xf407 ; " <nl> + d = " M161 67l55 - 54v242h16v - 242l55 54l12 - 12l - 75 - 73l - 74 73zM367 284c45 0 81 - 37 81 - 82s - 37 - 82 - 82 - 82v0h - 101v16h97h4c37 0 66 30 66 66s - 29 67 - 66 67h - 15v20c0 55 - 46 97 - 101 97c - 38 0 - 73 - 22 - 90 - 56l - 6 - 14l - 14 7c - 6 3 - 13 5 - 20 5c - 22 0 - 40 - 18 - 44 - 39l - 1 - 9 <nl> + l - 9 - 3c - 30 - 10 - 50 - 36 - 50 - 67c0 - 40 33 - 74 74 - 74h91v - 16h - 91c - 50 0 - 90 40 - 90 89c0 39 26 71 61 83c5 28 29 51 59 51c10 0 18 - 2 26 - 6c19 39 59 65 105 65c64 0 117 - 51 117 - 115c0 - 1 - 1 - 2 - 1 - 3z " / > <nl> + < glyph glyph - name = " ion - ios - cloud - download " unicode = " & # xf408 ; " <nl> + d = " M216 13v107h16v - 107l55 54l12 - 12l - 75 - 73l - 74 73l11 12zM367 284c45 0 81 - 37 81 - 82s - 37 - 82 - 82 - 82h - 134v135h - 16v - 135h - 35h - 21h - 70c - 50 0 - 90 40 - 90 89c0 39 26 71 61 83c5 28 29 51 59 51c10 0 18 - 2 26 - 6c19 39 59 65 105 65c64 0 117 - 51 117 - 115 <nl> + c0 - 1 - 1 - 2 - 1 - 3z " / > <nl> + < glyph glyph - name = " ion - ios - cloud - outline " unicode = " & # xf409 ; " <nl> + d = " M367 215c45 0 81 - 37 81 - 83c0 - 45 - 37 - 84 - 82 - 84h - 276c - 50 0 - 90 42 - 90 92c0 40 26 71 61 83c5 28 29 52 59 52c10 0 18 - 2 26 - 6c19 39 59 67 105 67c64 0 117 - 53 117 - 117c0 - 1 - 1 - 3 - 1 - 4zM366 64c37 0 66 32 66 69s - 29 67 - 66 67h - 15v21c0 56 - 46 99 - 101 99 <nl> + c - 38 0 - 73 - 23 - 90 - 58l - 6 - 14l - 14 7c - 6 3 - 13 5 - 20 5c - 22 0 - 40 - 17 - 44 - 39l - 1 - 9l - 9 - 3c - 30 - 10 - 50 - 37 - 50 - 69c0 - 41 33 - 76 74 - 76h272h4z " / > <nl> + < glyph glyph - name = " ion - ios - cloud - upload - outline " unicode = " & # xf40a ; " <nl> + d = " M161 188l - 11 11l74 75l75 - 75l - 12 - 11l - 55 54v - 242h - 16v242zM367 264c45 0 81 - 39 81 - 85s - 37 - 83 - 82 - 83v0h - 101v16h97h4c37 0 66 30 66 67s - 29 70 - 66 70l - 15 1v20c0 56 - 46 99 - 101 99c - 38 0 - 73 - 23 - 90 - 58l - 6 - 13l - 14 6c - 6 3 - 13 5 - 20 5c - 22 0 - 40 - 17 - 44 - 39 <nl> + l - 1 - 9l - 9 - 3c - 30 - 10 - 50 - 39 - 50 - 71c0 - 41 33 - 75 74 - 75h91v - 16h - 91c - 50 0 - 90 40 - 90 90c0 40 26 74 61 86c5 28 29 52 59 52c10 0 18 - 2 26 - 6c19 39 59 66 105 66c64 0 117 - 52 117 - 116c0 - 1 - 1 - 3 - 1 - 4z " / > <nl> + < glyph glyph - name = " ion - ios - cloud - upload " unicode = " & # xf40b ; " <nl> + d = " M216 0v96h16v - 96h - 16zM367 264c45 0 81 - 39 81 - 85s - 37 - 83 - 82 - 83h - 134v146l55 - 54l12 11l - 75 75l - 74 - 75l11 - 11l55 54v - 146h - 35h - 31h - 60c - 50 0 - 90 40 - 90 90c0 40 26 74 61 86c5 28 29 52 59 52c10 0 18 - 2 26 - 6c19 39 59 66 105 66c64 0 117 - 52 117 - 116 <nl> + c0 - 1 - 1 - 3 - 1 - 4z " / > <nl> + < glyph glyph - name = " ion - ios - cloud " unicode = " & # xf40c ; " <nl> + d = " M367 215c45 0 81 - 37 81 - 83c0 - 45 - 37 - 84 - 82 - 84h - 276c - 50 0 - 90 42 - 90 92c0 40 26 71 61 83c5 28 29 52 59 52c10 0 18 - 2 26 - 6c19 39 59 67 105 67c64 0 117 - 53 117 - 117c0 - 1 - 1 - 3 - 1 - 4z " / > <nl> + < glyph glyph - name = " ion - ios - cloudy - night - outline " unicode = " & # xf40d ; " horiz - adv - x = " 384 " <nl> + d = " M125 224c - 34 0 - 63 - 28 - 63 - 62v - 12s1 - 10 1 - 10c - 5 0 - 12 - 1 - 14 - 1c - 19 - 3 - 33 - 18 - 33 - 37c0 - 10 3 - 19 10 - 26s16 - 11 26 - 11h157c27 0 49 22 49 49s - 22 50 - 49 50c - 2 0 - 4 - 1 - 6 - 1l - 14 - 2l - 3 14c - 3 14 - 11 26 - 22 35s - 25 14 - 39 14zM125 240v0c37 0 68 - 26 76 - 61 <nl> + h8c36 0 65 - 29 65 - 65s - 29 - 66 - 65 - 66h - 157c - 28 0 - 52 24 - 52 53c0 27 21 51 47 53v8c0 43 35 78 78 78zM361 142c8 0 15 2 23 4c - 4 - 7 - 9 - 14 - 14 - 20c - 21 - 24 - 50 - 41 - 84 - 45c4 6 6 12 8 19c19 4 36 13 50 25c - 18 1 - 35 6 - 50 13c - 23 11 - 42 29 - 56 51 <nl> + c - 14 21 - 22 48 - 22 75c0 15 2 30 7 44c - 24 - 12 - 43 - 33 - 53 - 59c - 5 2 - 12 4 - 18 5c14 36 45 65 82 77c8 2 16 4 24 5c - 5 - 6 - 9 - 13 - 12 - 20c - 8 - 16 - 12 - 34 - 12 - 52c0 - 32 12 - 63 35 - 86s54 - 36 86 - 36h6z " / > <nl> + < glyph glyph - name = " ion - ios - cloudy - night " unicode = " & # xf40e ; " horiz - adv - x = " 384 " <nl> + d = " M361 142c8 0 15 2 23 4c - 4 - 7 - 9 - 15 - 14 - 21c - 21 - 24 - 50 - 40 - 84 - 44h - 3c4 10 7 21 7 32c0 22 - 9 43 - 24 58c - 14 15 - 33 23 - 53 24c - 6 16 - 16 29 - 29 40c - 10 8 - 20 13 - 32 17v2c14 36 45 65 82 77c8 2 16 4 24 5c - 5 - 6 - 9 - 13 - 12 - 20c - 8 - 16 - 12 - 34 - 12 - 52 <nl> + c0 - 32 12 - 63 35 - 86s54 - 36 86 - 36h6zM125 239v0c37 0 68 - 26 76 - 61h8c36 0 65 - 29 65 - 65s - 29 - 66 - 65 - 66h - 157c - 28 0 - 52 24 - 52 53c0 27 21 51 47 53v7c0 43 35 79 78 79z " / > <nl> + < glyph glyph - name = " ion - ios - cloudy - outline " unicode = " & # xf40f ; " horiz - adv - x = " 274 " <nl> + d = " M125 272c - 34 0 - 63 - 28 - 63 - 62v - 12s1 - 10 1 - 10c - 6 0 - 12 - 1 - 14 - 1c - 19 - 3 - 33 - 18 - 33 - 37c0 - 10 3 - 19 10 - 26s16 - 11 26 - 11h157c27 0 49 22 49 49s - 22 50 - 49 50c - 2 0 - 4 - 1 - 6 - 1l - 14 - 2l - 3 14c - 3 14 - 11 26 - 22 35s - 25 14 - 39 14zM125 288v0c37 0 68 - 26 76 - 61 <nl> + h8c36 0 65 - 29 65 - 65s - 29 - 66 - 65 - 66h - 157c - 28 0 - 52 24 - 52 53c0 27 21 51 47 53v8c0 43 35 78 78 78z " / > <nl> + < glyph glyph - name = " ion - ios - cloudy " unicode = " & # xf410 ; " horiz - adv - x = " 274 " <nl> + d = " M125 288v0c37 0 68 - 26 76 - 61h8c36 0 65 - 29 65 - 65s - 29 - 66 - 65 - 66h - 157c - 28 0 - 52 24 - 52 53c0 27 21 51 47 53v8c0 43 35 78 78 78z " / > <nl> + < glyph glyph - name = " ion - ios - cog - outline " unicode = " & # xf411 ; " horiz - adv - x = " 384 " <nl> + d = " M384 175l - 33 - 8l - 3 - 14l27 - 20l - 12 - 30l - 34 5l - 8 - 11l17 - 29l - 23 - 23l - 29 17l - 10 - 7l5 - 34l - 29 - 12l - 21 27l - 14 - 3l - 8 - 33h - 32l - 9 33l - 13 3l - 21 - 28l - 29 12l4 34l - 11 8l - 30 - 19l - 23 23l18 31l - 7 11l - 35 - 5l - 12 29l28 22l - 2 12l - 35 9v32l35 9l2 12l - 29 22l12 30l36 - 5 <nl> + l7 10l - 19 32l22 22l32 - 19l11 8l - 4 35l29 13l22 - 29l12 2l9 35h32l9 - 35l12 - 2l22 28l29 - 12l - 5 - 35l11 - 8l30 18l22 - 23l - 17 - 30l7 - 10l35 5l12 - 30l - 28 - 21l3 - 13l33 - 9v - 32zM356 127l - 26 20l6 33l32 8v7l - 32 8l - 6 33l26 19l - 3 7l - 32 - 5l - 19 27l17 28l - 5 6l - 28 - 17l - 28 18 <nl> + l5 34l - 6 2l - 20 - 26l - 32 6l - 8 33h - 7l - 9 - 33l - 32 - 6l - 20 27l - 7 - 3l5 - 34l - 28 - 18l - 9 6l - 21 12l - 5 - 5l18 - 30l - 18 - 27l - 33 5l - 3 - 7l27 - 20l - 6 - 32l - 33 - 8v - 7l33 - 9l6 - 32l - 27 - 20l3 - 6l33 4l18 - 27l - 17 - 29l5 - 6l29 18l28 - 18l - 5 - 33l7 - 3l19 27l33 - 7l8 - 31h8l7 31l33 7 <nl> + l20 - 26l7 3l - 5 32l26 18l28 - 16l5 5l - 16 27l19 28l32 - 4zM192 320c71 0 128 - 57 128 - 128s - 57 - 128 - 128 - 128s - 128 57 - 128 128s57 128 128 128zM80 192c0 - 7 1 - 15 2 - 22l104 28l28 104c - 7 1 - 15 2 - 22 2c - 30 0 - 58 - 12 - 79 - 33s - 33 - 49 - 33 - 79zM192 80c27 0 53 10 73 27 <nl> + l - 75 75l - 104 - 28c6 - 15 15 - 29 27 - 41c21 - 21 49 - 33 79 - 33zM276 118c18 20 28 47 28 74c0 30 - 12 58 - 33 79c - 12 12 - 26 22 - 42 27l - 28 - 105z " / > <nl> + < glyph glyph - name = " ion - ios - cog " unicode = " & # xf412 ; " horiz - adv - x = " 384 " <nl> + d = " M229 298c16 - 5 30 - 15 42 - 27c21 - 21 33 - 49 33 - 79c0 - 27 - 10 - 54 - 28 - 74l - 75 75zM214 302l - 28 - 104l - 104 - 28c - 1 7 - 2 15 - 2 22c0 30 12 58 33 79s49 33 79 33c7 0 15 - 1 22 - 2zM86 154l104 28l75 - 75c - 20 - 17 - 46 - 27 - 73 - 27c - 30 0 - 58 12 - 79 33 <nl> + c - 12 12 - 21 26 - 27 41zM384 175l - 33 - 8l - 3 - 14l27 - 20l - 12 - 30l - 34 5l - 8 - 11l17 - 29l - 23 - 23l - 29 17l - 10 - 7l5 - 34l - 29 - 12l - 21 27l - 14 - 3l - 8 - 33h - 32l - 9 33l - 13 3l - 21 - 28l - 29 12l4 34l - 11 8l - 30 - 19l - 23 23l18 31l - 7 11l - 35 - 5l - 12 29l28 22l - 2 12l - 35 9v32l35 9l2 12 <nl> + l - 29 22l12 30l36 - 5l7 10l - 19 32l22 22l32 - 19l11 8l - 4 35l29 13l22 - 29l12 2l9 35h32l9 - 35l12 - 2l22 28l29 - 12l - 5 - 35l11 - 8l30 18l22 - 23l - 17 - 30l7 - 10l35 5l12 - 30l - 28 - 21l3 - 13l33 - 9v - 32zM192 64c71 0 128 57 128 128s - 57 128 - 128 128s - 128 - 57 - 128 - 128 <nl> + s57 - 128 128 - 128z " / > <nl> + < glyph glyph - name = " ion - ios - color - filter - outline " unicode = " & # xf413 ; " horiz - adv - x = " 384 " <nl> + d = " M302 236c47 - 13 82 - 57 82 - 108c0 - 62 - 50 - 112 - 112 - 112c - 31 0 - 60 13 - 80 34c - 20 - 21 - 49 - 34 - 80 - 34c - 62 0 - 112 50 - 112 112c0 51 35 95 82 108c - 1 7 - 2 13 - 2 20c0 62 50 112 112 112s112 - 50 112 - 112c0 - 7 - 1 - 13 - 2 - 20zM96 256c0 - 6 0 - 12 1 - 17 <nl> + c5 1 10 1 15 1c31 0 60 - 13 80 - 34c20 21 49 34 80 34c5 0 10 0 15 - 1c1 5 1 11 1 17c0 53 - 43 96 - 96 96s - 96 - 43 - 96 - 96zM208 128c0 6 0 12 - 1 17c - 5 - 1 - 10 - 1 - 15 - 1s - 10 0 - 15 1c - 1 - 5 - 1 - 11 - 1 - 17c0 - 20 6 - 38 16 - 53c10 15 16 33 16 53zM192 160c3 0 7 1 10 1 <nl> + c - 3 7 - 6 14 - 10 20c - 4 - 6 - 7 - 13 - 10 - 20c3 0 7 - 1 10 - 1zM166 164c4 11 9 21 16 30c - 18 18 - 43 30 - 70 30c - 3 0 - 7 - 1 - 10 - 1c10 - 29 34 - 51 64 - 59zM202 194c7 - 9 12 - 19 16 - 30c30 8 54 30 64 59c - 3 0 - 7 1 - 10 1c - 27 0 - 52 - 12 - 70 - 30zM112 32c27 0 52 12 70 30 <nl> + c - 14 19 - 22 41 - 22 66c0 7 1 13 2 20c - 36 10 - 64 37 - 76 72c - 40 - 11 - 70 - 48 - 70 - 92c0 - 53 43 - 96 96 - 96zM272 32c53 0 96 43 96 96c0 44 - 30 81 - 70 92c - 12 - 35 - 40 - 62 - 76 - 72c1 - 7 2 - 13 2 - 20c0 - 25 - 8 - 47 - 22 - 66c18 - 18 43 - 30 70 - 30z " / > <nl> + < glyph glyph - name = " ion - ios - color - filter " unicode = " & # xf414 ; " horiz - adv - x = " 384 " <nl> + d = " M302 236c47 - 13 82 - 57 82 - 108c0 - 62 - 50 - 112 - 112 - 112c - 31 0 - 60 13 - 80 34c - 20 - 21 - 49 - 34 - 80 - 34c - 62 0 - 112 50 - 112 112c0 51 35 95 82 108c - 1 7 - 2 13 - 2 20c0 62 50 112 112 112s112 - 50 112 - 112c0 - 7 - 1 - 13 - 2 - 20zM192 53l1 - 2c3 3 6 7 9 11 <nl> + c14 19 22 41 22 66c0 7 - 1 13 - 2 20c36 10 64 37 76 72c2 5 3 10 4 15c - 1 0 - 2 1 - 3 1v1c - 4 1 - 8 1 - 12 2c - 5 1 - 10 1 - 15 1c - 31 0 - 60 - 13 - 80 - 34c - 20 21 - 49 34 - 80 34c - 5 0 - 10 0 - 15 - 1c - 4 - 1 - 8 - 1 - 12 - 2v - 1c - 1 0 - 2 - 1 - 3 - 1c1 - 5 2 - 10 4 - 15c12 - 35 40 - 62 76 - 72 <nl> + c - 1 - 7 - 2 - 13 - 2 - 20c0 - 25 8 - 47 22 - 66c3 - 4 6 - 8 9 - 11zM207 145c1 - 5 1 - 11 1 - 17c0 - 20 - 6 - 38 - 16 - 53c - 10 15 - 16 33 - 16 53c0 6 0 12 1 17c5 - 1 10 - 1 15 - 1s10 0 15 1zM282 223c - 10 - 29 - 34 - 51 - 64 - 59c - 4 11 - 9 21 - 16 30c18 18 43 30 70 30c3 0 7 - 1 10 - 1z <nl> + M202 161c - 3 0 - 7 - 1 - 10 - 1s - 7 1 - 10 1c3 7 6 14 10 20c4 - 6 7 - 13 10 - 20zM112 224c27 0 52 - 12 70 - 30c - 7 - 9 - 12 - 19 - 16 - 30c - 30 8 - 54 30 - 64 59c3 0 7 1 10 1z " / > <nl> + < glyph glyph - name = " ion - ios - color - wand - outline " unicode = " & # xf415 ; " horiz - adv - x = " 384 " <nl> + d = " M128 298l256 - 256l - 34 - 34l - 256 256zM149 232l201 - 201l11 11l - 201 202zM120 344v40h16v - 40h - 16zM120 140v40h16v - 40h - 16zM216 256v16h40v - 16h - 40zM0 256v16h40v - 16h - 40zM47 354l29 - 29l - 12 - 11l - 28 28zM76 198l - 29 - 28l - 11 11l28 28zM220 342l - 28 - 28l - 12 11l29 29z " / > <nl> + < glyph glyph - name = " ion - ios - color - wand " unicode = " & # xf416 ; " horiz - adv - x = " 396 " <nl> + d = " M140 289l256 - 257l - 34 - 34l - 256 257zM124 322v64h32v - 64h - 32zM124 118v64h32v - 64h - 32zM216 238v32h64v - 32h - 64zM246 336l - 45 - 45l - 23 22l45 46zM34 336l23 23l45 - 46l - 23 - 22zM34 169l45 45l23 - 22l - 45 - 46zM0 238v32h64v - 32h - 64z " / > <nl> + < glyph glyph - name = " ion - ios - compose - outline " unicode = " & # xf417 ; " horiz - adv - x = " 384 " <nl> + d = " M304 32v208l16 16v - 240h - 320v304h256l - 16 - 16h - 224v - 272h288zM174 164l171 171l11 - 11l - 180 - 180h - 32v32l180 180l11 - 11l - 171 - 171zM380 368c2 - 3 4 - 6 4 - 10s - 2 - 7 - 4 - 10l - 12 - 12l - 21 21l - 11 11v0l12 12c3 2 6 4 10 4s7 - 2 10 - 4z " / > <nl> + < glyph glyph - name = " ion - ios - compose " unicode = " & # xf418 ; " horiz - adv - x = " 384 " <nl> + d = " M192 128l128 128v - 240h - 320v304h256l - 128 - 128v - 64h64zM324 356l32 - 32l - 180 - 180h - 32v32zM380 368c2 - 3 4 - 6 4 - 10s - 2 - 7 - 4 - 10l - 12 - 12l - 21 21l - 11 11v0l12 12c3 2 6 4 10 4s7 - 2 10 - 4z " / > <nl> + < glyph glyph - name = " ion - ios - contact - outline " unicode = " & # xf419 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 383c - 105 0 - 191 - 86 - 191 - 191c0 - 47 17 - 89 45 - 122c18 8 62 24 90 32c2 1 3 0 3 10c0 11 - 1 18 - 4 24c - 4 8 - 7 20 - 9 31c - 4 5 - 10 15 - 14 33c - 3 16 - 1 22 1 28v2 <nl> + c1 4 0 23 - 3 38c - 2 10 1 34 15 52c9 12 27 26 58 28h18c32 - 2 49 - 16 58 - 28c14 - 18 17 - 42 15 - 52c - 3 - 15 - 4 - 34 - 3 - 38c0 0 1 - 1 1 - 2c2 - 6 3 - 12 0 - 28c - 4 - 18 - 10 - 27 - 14 - 32c - 2 - 11 - 5 - 24 - 9 - 32c - 3 - 7 - 6 - 15 - 6 - 23c0 - 10 0 - 10 2 - 11c27 - 8 73 - 24 93 - 32 <nl> + c28 33 45 76 45 122c0 105 - 86 191 - 191 191z " / > <nl> + < glyph glyph - name = " ion - ios - contact " unicode = " & # xf41a ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 1c59 0 111 27 146 69c - 20 8 - 66 24 - 93 32c - 2 1 - 3 1 - 3 11c0 8 4 16 7 23c4 8 7 21 9 32c4 5 10 14 14 32c3 16 2 22 0 28c0 0 - 1 1 - 1 2c - 1 4 0 23 3 38c2 10 - 1 34 - 15 52 <nl> + c - 9 12 - 26 26 - 58 28h - 18c - 31 - 2 - 49 - 16 - 58 - 28c - 14 - 18 - 17 - 42 - 15 - 52c3 - 15 4 - 34 3 - 38v - 2c - 2 - 6 - 4 - 12 - 1 - 28c4 - 18 10 - 28 14 - 33c2 - 11 5 - 23 9 - 31c3 - 6 4 - 13 4 - 24c0 - 10 - 1 - 9 - 3 - 10c - 28 - 8 - 72 - 24 - 90 - 32c35 - 42 87 - 69 146 - 69z " / > <nl> + < glyph glyph - name = " ion - ios - copy - outline " unicode = " & # xf41b ; " horiz - adv - x = " 288 " <nl> + d = " M192 352v - 64h64v - 16h - 80v80h16zM213 384l75 - 75v - 261h - 48v - 48h - 240v336h48v48h165zM224 16v32h - 176v272h - 32v - 304h208zM272 64v238l - 65 66h - 143v - 304h208z " / > <nl> + < glyph glyph - name = " ion - ios - copy " unicode = " & # xf41c ; " horiz - adv - x = " 288 " <nl> + d = " M32 32h16h192v - 32h - 240v336h32v - 288v - 16zM213 384l75 - 75v - 261h - 48h - 192v288v48h165zM256 272v16h - 64v64h - 16v - 80h80z " / > <nl> + < glyph glyph - name = " ion - ios - crop - strong " unicode = " & # xf41d ; " horiz - adv - x = " 384 " <nl> + d = " M64 336v48h32v - 48h - 32zM96 96h176v - 32h - 208v208h32v - 176zM336 64v32h48v - 32h - 48zM0 320h320v - 320h - 32v288h - 288v32z " / > <nl> + < glyph glyph - name = " ion - ios - crop " unicode = " & # xf41e ; " horiz - adv - x = " 384 " <nl> + d = " M64 336v48h16v - 48h - 16zM80 80h208v - 16h - 224v224h16v - 208zM336 64v16h48v - 16h - 48zM0 320h320v - 320h - 16v304h - 304v16z " / > <nl> + < glyph glyph - name = " ion - ios - download - outline " unicode = " & # xf41f ; " horiz - adv - x = " 320 " <nl> + d = " M192 304h128v - 304h - 320v304h128v - 16h - 112v - 272h288v272h - 112v16zM97 196l55 - 55v243h16v - 243l55 55l11 - 12l - 74 - 74l - 74 74z " / > <nl> + < glyph glyph - name = " ion - ios - download " unicode = " & # xf420 ; " horiz - adv - x = " 320 " <nl> + d = " M168 304h152v - 304h - 320v304h152v - 163l - 55 55l - 11 - 12l74 - 74l74 74l - 11 12l - 55 - 55v163zM152 304v80h16v - 80h - 16z " / > <nl> + < glyph glyph - name = " ion - ios - drag " unicode = " & # xf421 ; " horiz - adv - x = " 352 " <nl> + d = " M0 128v16h352v - 16h - 352zM0 184v16h352v - 16h - 352zM0 240v16h352v - 16h - 352z " / > <nl> + < glyph glyph - name = " ion - ios - email - outline " unicode = " & # xf422 ; " horiz - adv - x = " 384 " <nl> + d = " M0 320h384v - 256h - 384v256zM192 180l163 124h - 326zM16 80h352v214l - 115 - 88l68 - 77l - 2 - 2l - 79 70l - 48 - 37l - 48 37l - 79 - 70l - 2 2l68 77l - 115 88v - 214z " / > <nl> + < glyph glyph - name = " ion - ios - email " unicode = " & # xf423 ; " horiz - adv - x = " 384 " <nl> + d = " M384 64h - 384v242l131 - 100l - 68 - 77l2 - 2l79 70l48 - 37l48 37l79 - 70l2 2l - 68 77l131 100v - 242zM376 320l - 184 - 140l - 184 140h368z " / > <nl> + < glyph glyph - name = " ion - ios - eye - outline " unicode = " & # xf424 ; " horiz - adv - x = " 384 " <nl> + d = " M383 192l1 - 1l - 6 - 6c - 21 - 21 - 47 - 48 - 78 - 69c - 36 - 24 - 72 - 36 - 108 - 36c - 83 0 - 130 49 - 185 105l - 7 7l1 1c39 40 67 64 94 81c32 20 63 30 97 30c83 0 146 - 60 191 - 112zM192 288c - 62 0 - 111 - 36 - 170 - 96c24 - 24 48 - 50 76 - 68c30 - 20 60 - 28 94 - 28 <nl> + c75 0 133 56 171 95c - 26 29 - 50 50 - 74 66c - 32 21 - 64 31 - 97 31zM192 112c - 44 0 - 80 36 - 80 80s36 80 80 80s80 - 36 80 - 80s - 36 - 80 - 80 - 80zM192 256c - 35 0 - 64 - 29 - 64 - 64s29 - 64 64 - 64s64 29 64 64s - 29 64 - 64 64zM224 192h16v0c0 - 26 - 22 - 48 - 48 - 48s - 48 21 - 48 48 <nl> + s22 48 48 48v - 16c - 16 0 - 32 - 13 - 32 - 31s15 - 33 32 - 33s32 14 32 32v0z " / > <nl> + < glyph glyph - name = " ion - ios - eye " unicode = " & # xf425 ; " horiz - adv - x = " 384 " <nl> + d = " M383 192l1 - 1l - 6 - 6c - 21 - 21 - 47 - 48 - 78 - 69c - 36 - 24 - 72 - 36 - 108 - 36c - 83 0 - 130 49 - 185 105l - 7 7l1 1c39 40 67 64 94 81c32 20 63 30 97 30c83 0 146 - 60 191 - 112zM192 112c44 0 80 36 80 80s - 36 80 - 80 80s - 80 - 36 - 80 - 80s36 - 80 80 - 80zM186 221 <nl> + c0 - 19 16 - 35 35 - 35c7 0 14 2 19 6v0c0 - 27 - 22 - 48 - 48 - 48s - 48 21 - 48 48s22 48 48 48c - 4 - 5 - 6 - 12 - 6 - 19z " / > <nl> + < glyph glyph - name = " ion - ios - fastforward - outline " unicode = " & # xf426 ; " <nl> + d = " M16 293v - 202l184 101zM240 292v0v - 78v - 27v - 95l176 100zM224 320v0l224 - 128l - 224 - 128v123l - 224 - 123v256l224 - 123v123z " / > <nl> + < glyph glyph - name = " ion - ios - fastforward " unicode = " & # xf427 ; " <nl> + d = " M224 320v0l224 - 128l - 224 - 128v123l - 224 - 123v256l224 - 123v123z " / > <nl> + < glyph glyph - name = " ion - ios - filing - outline " unicode = " & # xf428 ; " horiz - adv - x = " 352 " <nl> + d = " M288 320l64 - 96v - 160h - 176h - 176v160l64 96h224zM333 224l - 45 68v - 68h45zM80 304v - 80h48c0 - 26 22 - 48 48 - 48s48 22 48 48h48v80h - 192zM64 292l - 45 - 68h45v68zM336 80v128h - 98c - 7 - 28 - 32 - 48 - 62 - 48s - 55 20 - 62 48h - 98v - 128h160h160z " / > <nl> + < glyph glyph - name = " ion - ios - filing " unicode = " & # xf429 ; " horiz - adv - x = " 352 " <nl> + d = " M176 160c30 0 55 20 62 48h114v - 144h - 176h - 176v144h114c7 - 28 32 - 48 62 - 48zM64 224h - 7h - 57l64 96v0v - 80h16v80h192v - 80h16v80v0l64 - 96h - 56h - 8h - 16h - 8h - 40c0 - 26 - 22 - 48 - 48 - 48s - 48 22 - 48 48h - 39h - 9h - 16z " / > <nl> + < glyph glyph - name = " ion - ios - film - outline " unicode = " & # xf42a ; " horiz - adv - x = " 400 " <nl> + d = " M0 360h400v - 336h - 400v336zM72 40v48h - 56v - 48h56zM72 104v48h - 56v - 48h56zM72 168v48h - 56v - 48h56zM72 232v48h - 56v - 48h56zM72 296v48h - 56v - 48h56zM312 40v144h - 224v - 144h224zM312 200v144h - 224v - 144h224zM384 40v48h - 56v - 48h56zM384 104v48h - 56v - 48h56zM384 168v48h - 56v - 48 <nl> + h56zM384 232v48h - 56v - 48h56zM384 296v48h - 56v - 48h56z " / > <nl> + < glyph glyph - name = " ion - ios - film " unicode = " & # xf42b ; " horiz - adv - x = " 400 " <nl> + d = " M0 360h400v - 336h - 400v336zM72 40v48h - 56v - 48h56zM72 104v48h - 56v - 48h56zM72 168v48h - 56v - 48h56zM72 232v48h - 56v - 48h56zM72 296v48h - 56v - 48h56zM312 184v16h - 224v - 16h224zM384 40v48h - 56v - 48h56zM384 104v48h - 56v - 48h56zM384 168v48h - 56v - 48h56zM384 232v48h - 56v - 48h56z <nl> + M384 296v48h - 56v - 48h56z " / > <nl> + < glyph glyph - name = " ion - ios - flag - outline " unicode = " & # xf42c ; " horiz - adv - x = " 256 " <nl> + d = " M240 336c6 1 11 1 16 2v - 16v - 157c - 5 - 1 - 10 - 1 - 16 - 2c - 11 - 1 - 24 - 3 - 39 - 3c - 25 0 - 47 4 - 69 9s - 42 13 - 64 13c - 30 0 - 46 - 5 - 52 - 7v - 143h - 16v142v162v2l3 3c2 1 18 11 65 11c24 0 45 - 4 67 - 9c21 - 4 42 - 11 65 - 11c15 0 29 3 40 4zM240 179v0v141c - 11 - 1 - 25 - 4 - 40 - 4 <nl> + c - 25 0 - 46 6 - 68 11s - 42 9 - 64 9c - 30 0 - 46 - 5 - 52 - 7v - 137c10 3 26 6 52 6c24 0 45 - 8 67 - 13c21 - 4 43 - 9 66 - 9c15 0 28 2 39 3z " / > <nl> + < glyph glyph - name = " ion - ios - flag " unicode = " & # xf42d ; " horiz - adv - x = " 256 " <nl> + d = " M240 336c6 1 11 1 16 2v - 16v - 157c - 5 - 1 - 10 - 1 - 16 - 2c - 11 - 1 - 24 - 3 - 39 - 3c - 25 0 - 47 4 - 69 9s - 42 13 - 64 13c - 30 0 - 46 - 5 - 52 - 7v - 143h - 16v142v162v2l3 3c2 1 18 11 65 11c24 0 45 - 4 67 - 9c21 - 4 42 - 11 65 - 11c15 0 29 3 40 4z " / > <nl> + < glyph glyph - name = " ion - ios - flame - outline " unicode = " & # xf42e ; " horiz - adv - x = " 256 " <nl> + d = " M96 416c87 - 64 170 - 179 159 - 288c - 13 - 134 - 104 - 160 - 127 - 160s - 127 40 - 128 160c - 1 146 122 143 96 288zM128 - 24c0 0 40 36 40 80s - 40 80 - 40 80s - 41 - 36 - 41 - 80s41 - 80 41 - 80zM239 130c5 47 - 10 99 - 41 151c - 22 36 - 50 70 - 83 99c0 - 57 - 24 - 91 - 49 - 123 <nl> + c - 26 - 34 - 50 - 65 - 50 - 129c0 - 25 5 - 48 15 - 68c8 - 17 20 - 32 35 - 45c8 - 7 16 - 12 23 - 16c - 9 16 - 18 35 - 18 57c0 51 44 90 46 92l11 9l11 - 9c2 - 2 45 - 41 45 - 92c0 - 23 - 9 - 44 - 19 - 60c7 4 13 8 20 14c14 12 25 27 34 44c11 21 17 47 20 76z " / > <nl> + < glyph glyph - name = " ion - ios - flame " unicode = " & # xf42f ; " horiz - adv - x = " 256 " <nl> + d = " M96 416c87 - 64 170 - 179 159 - 288c - 13 - 134 - 104 - 160 - 127 - 160s - 127 40 - 128 160c - 1 146 122 143 96 288zM128 - 24c0 0 40 36 40 80s - 40 80 - 40 80s - 41 - 36 - 41 - 80s41 - 80 41 - 80z " / > <nl> + < glyph glyph - name = " ion - ios - flask - outline " unicode = " & # xf430 ; " horiz - adv - x = " 384 " <nl> + d = " M373 78c8 - 16 11 - 32 11 - 46c - 1 - 36 - 27 - 64 - 63 - 64h - 256c - 36 0 - 64 27 - 65 64c0 14 4 30 12 46l116 195v127h - 16v16h16h16v - 16v - 16h48v - 16h - 48v - 32h32v - 16h - 32v - 32h48v - 16h - 48v - 3l - 2 - 4l - 15 - 25h49v - 16h - 58l - 92 - 154c - 13 - 25 - 14 - 43 - 2 - 63c9 - 14 23 - 23 41 - 23h256 <nl> + c17 0 33 8 41 22c5 8 6 17 6 26c0 12 - 2 25 - 9 38l - 116 195l - 3 4v131v16h16h16v - 16h - 16v - 127zM44 73l72 119h153l72 - 119c7 - 11 10 - 24 10 - 33c - 1 - 24 - 16 - 40 - 46 - 40h - 226c - 30 0 - 46 12 - 46 40c0 9 4 22 11 33zM260 176h - 135l - 67 - 111v0v0c - 5 - 8 - 9 - 19 - 9 - 25 <nl> + c0 - 13 5 - 17 6 - 18c4 - 4 13 - 6 24 - 6h226c10 0 18 3 23 7c4 4 7 10 7 18c0 6 - 3 16 - 8 24v0v0z " / > <nl> + < glyph glyph - name = " ion - ios - flask " unicode = " & # xf431 ; " horiz - adv - x = " 384 " <nl> + d = " M327 65v0c5 - 8 8 - 18 8 - 24c0 - 8 - 3 - 14 - 7 - 18c - 5 - 4 - 13 - 7 - 23 - 7h - 226c - 11 0 - 20 2 - 24 6c - 1 1 - 6 5 - 6 18c0 6 4 17 9 25v0v0l67 111h135l67 - 111v0zM373 78c8 - 16 11 - 32 11 - 46c - 1 - 36 - 27 - 64 - 63 - 64h - 256c - 36 0 - 64 27 - 65 64c0 14 4 30 12 46l116 195v127h - 16 <nl> + v16h160v - 16h - 16v - 127zM144 384v - 16h48v16h - 48zM144 336v - 16h32v16h - 32zM144 288v - 16h48v16h - 48zM127 240l - 9 - 16h58v16h - 49zM351 40c0 9 - 3 22 - 10 33l - 72 119h - 154l - 71 - 119c - 7 - 11 - 11 - 24 - 11 - 33c0 - 28 16 - 40 46 - 40h226c30 0 45 16 46 40z " / > <nl> + < glyph glyph - name = " ion - ios - flower - outline " unicode = " & # xf432 ; " <nl> + d = " M363 164c - 29 0 - 65 7 - 93 14c - 1 - 3 - 2 - 6 - 4 - 9c25 - 15 56 - 36 76 - 56c40 - 40 53 - 68 41 - 80c - 3 - 3 - 7 - 4 - 12 - 4c - 15 0 - 38 15 - 68 45c - 20 20 - 41 51 - 56 76c - 3 - 2 - 7 - 3 - 10 - 4c7 - 28 15 - 64 15 - 93c0 - 56 - 12 - 85 - 28 - 85s - 28 29 - 28 85c0 29 8 65 15 93 <nl> + c - 3 1 - 7 2 - 10 4c - 15 - 25 - 36 - 56 - 56 - 76c - 30 - 30 - 53 - 45 - 68 - 45c - 5 0 - 9 1 - 12 4c - 12 12 1 40 41 80c20 20 51 41 76 56c - 2 3 - 3 6 - 4 9c - 28 - 7 - 64 - 14 - 93 - 14c - 56 0 - 85 12 - 85 28s29 28 85 28c29 0 65 - 8 93 - 15c1 3 2 7 4 10c - 25 15 - 56 35 - 76 55 <nl> + c - 40 40 - 53 68 - 41 80c3 3 7 4 12 4c15 0 38 - 14 68 - 44c20 - 20 41 - 51 56 - 76c3 2 7 3 10 4c - 7 28 - 15 64 - 15 93c0 56 12 85 28 85s28 - 29 28 - 85c0 - 29 - 8 - 65 - 15 - 93c3 - 1 7 - 2 10 - 4c15 25 36 56 56 76c30 30 53 44 68 44c5 0 9 - 1 12 - 4c12 - 12 - 1 - 40 - 41 - 80 <nl> + c - 20 - 20 - 51 - 40 - 76 - 55c2 - 3 3 - 7 4 - 10c28 7 64 15 93 15c56 0 85 - 12 85 - 28s - 29 - 28 - 85 - 28zM288 193v - 3c30 - 7 56 - 10 75 - 10c21 0 39 2 52 5c10 3 14 6 16 7c - 2 1 - 6 4 - 16 7c - 13 3 - 31 5 - 52 5c - 19 0 - 45 - 4 - 75 - 11zM314 299c - 14 - 14 - 30 - 35 - 46 - 61l2 - 2 <nl> + c26 16 47 32 61 46c15 15 26 28 33 40c5 9 7 14 7 16c - 4 0 - 22 - 4 - 57 - 39zM178 236l2 2c - 16 26 - 32 47 - 46 61c - 35 35 - 53 39 - 57 39c0 - 2 2 - 7 7 - 16c7 - 12 18 - 25 33 - 40c14 - 14 35 - 30 61 - 46zM85 180c19 0 45 3 75 10v3c - 30 7 - 56 11 - 75 11c - 21 0 - 39 - 2 - 52 - 5 <nl> + c - 10 - 3 - 14 - 6 - 16 - 7c2 - 1 5 - 4 15 - 7c13 - 3 32 - 5 53 - 5zM134 85c14 14 30 35 46 61l - 2 2c - 26 - 16 - 47 - 32 - 61 - 46c - 15 - 15 - 26 - 29 - 33 - 41c - 5 - 9 - 7 - 14 - 7 - 16c4 0 22 5 57 40zM270 148l - 2 - 2c16 - 26 32 - 47 46 - 61c35 - 35 53 - 40 57 - 40c0 2 - 2 7 - 7 16 <nl> + c - 7 12 - 18 26 - 33 41c - 14 14 - 35 30 - 61 46zM217 383c - 3 - 13 - 5 - 31 - 5 - 52c0 - 19 4 - 45 11 - 75h2c7 30 11 56 11 75c0 21 - 2 39 - 5 52c - 3 10 - 6 14 - 7 16c - 1 - 2 - 4 - 6 - 7 - 16zM231 0c3 13 5 32 5 53c0 19 - 4 45 - 11 75h - 2c - 7 - 30 - 11 - 56 - 11 - 75c0 - 21 2 - 40 5 - 53 <nl> + c3 - 10 6 - 13 7 - 15c1 2 4 5 7 15zM224 160c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM313 42c10 - 34 7 - 53 - 5 - 58c - 2 - 1 - 3 - 1 - 5 - 1c - 11 0 - 25 13 - 37 35c5 35 - 2 76 - 2 76s24 - 34 49 - 52zM302 - 1c1 4 2 14 - 3 34c - 5 4 - 10 9 - 15 14 <nl> + c0 - 9 0 - 17 - 1 - 25c10 - 16 16 - 22 19 - 23zM182 365c - 6 - 35 1 - 75 1 - 75s - 27 35 - 48 51c - 10 35 - 7 54 5 59c2 1 3 1 5 1c11 0 24 - 12 37 - 36zM164 337c0 9 0 17 1 25c - 10 16 - 16 21 - 19 22c - 1 - 4 - 2 - 14 3 - 34c5 - 4 10 - 8 15 - 13zM50 149c35 - 4 76 2 76 2s - 34 - 24 - 51 - 48 <nl> + c - 12 - 4 - 26 - 6 - 35 - 6c - 13 0 - 21 4 - 24 11c - 5 11 7 25 34 41zM66 117c4 5 8 10 13 15c - 9 0 - 17 0 - 25 1c - 16 - 10 - 21 - 16 - 22 - 19c1 0 4 - 1 8 - 1c7 0 16 1 26 4zM432 276c5 - 11 - 7 - 26 - 34 - 42c - 35 5 - 76 - 2 - 76 - 2s33 25 51 49c13 4 26 5 35 5c13 0 21 - 3 24 - 10zM394 250 <nl> + c16 10 21 16 22 19c - 1 0 - 4 1 - 8 1c - 7 0 - 16 - 1 - 26 - 4c - 4 - 5 - 8 - 9 - 13 - 14c9 0 17 - 1 25 - 2zM131 39c31 24 53 55 53 55s - 7 - 39 - 3 - 71c - 15 - 26 - 28 - 39 - 39 - 39c - 2 0 - 4 0 - 6 1c - 11 5 - 13 24 - 5 54zM143 1c4 2 12 8 22 26c0 6 - 1 13 - 1 20c - 6 - 6 - 13 - 12 - 19 - 17 <nl> + c - 4 - 18 - 3 - 26 - 2 - 29zM312 398c11 - 5 13 - 22 5 - 54c - 29 - 21 - 53 - 55 - 53 - 55s8 48 3 71c13 25 28 39 39 39c2 0 4 0 6 - 1zM303 353c5 18 3 27 2 30c - 4 - 2 - 12 - 8 - 22 - 26c0 - 6 1 - 14 1 - 21c6 6 13 12 19 17zM71 285c18 - 24 55 - 53 55 - 53s - 40 7 - 70 3c - 28 15 - 43 32 - 38 44 <nl> + c3 7 10 11 22 11c8 0 21 - 1 31 - 5zM33 273c2 - 4 8 - 12 26 - 22c6 0 13 1 20 1c - 6 6 - 12 12 - 17 18c - 8 2 - 16 4 - 22 4c - 4 0 - 6 - 1 - 7 - 1zM392 149c30 - 17 43 - 33 38 - 45c - 3 - 7 - 10 - 10 - 22 - 10c - 8 0 - 19 1 - 31 5c - 20 27 - 55 52 - 55 52s45 - 8 70 - 2zM408 110c4 0 6 1 7 1 <nl> + c - 2 4 - 8 12 - 26 22c - 6 0 - 13 - 1 - 20 - 1c6 - 6 12 - 13 17 - 19c8 - 2 16 - 3 22 - 3z " / > <nl> + < glyph glyph - name = " ion - ios - flower " unicode = " & # xf433 ; " <nl> + d = " M363 220c56 0 85 - 12 85 - 28s - 29 - 28 - 85 - 28c - 29 0 - 65 7 - 93 14c - 1 - 3 - 2 - 6 - 4 - 9c25 - 15 56 - 36 76 - 56c40 - 40 53 - 68 41 - 80s - 40 1 - 80 41c - 20 20 - 41 51 - 56 76c - 3 - 2 - 7 - 3 - 10 - 4c7 - 28 15 - 64 15 - 93c0 - 56 - 12 - 85 - 28 - 85s - 28 29 - 28 85c0 29 8 65 15 93 <nl> + c - 3 1 - 7 2 - 10 4c - 15 - 25 - 36 - 56 - 56 - 76c - 40 - 40 - 68 - 53 - 80 - 41s1 40 41 80c20 20 51 41 76 56c - 2 3 - 3 6 - 4 9c - 28 - 7 - 64 - 14 - 93 - 14c - 56 0 - 85 12 - 85 28s29 28 85 28c29 0 65 - 8 93 - 15c1 3 2 7 4 10c - 25 15 - 56 35 - 76 55c - 40 40 - 53 68 - 41 80s40 0 80 - 40 <nl> + c20 - 20 41 - 51 56 - 76c3 2 6 3 9 4c - 7 28 - 14 64 - 14 93c0 56 12 85 28 85s28 - 29 28 - 85c0 - 29 - 7 - 65 - 14 - 93c3 - 1 6 - 2 9 - 4c15 25 36 56 56 76c40 40 68 52 80 40s - 1 - 40 - 41 - 80c - 20 - 20 - 51 - 40 - 76 - 55c2 - 3 3 - 7 4 - 10c28 7 64 15 93 15zM264 94c0 0 24 - 34 49 - 52 <nl> + c10 - 34 7 - 53 - 5 - 58c - 2 - 1 - 3 - 1 - 5 - 1c - 11 0 - 25 13 - 37 35c5 35 - 2 76 - 2 76zM183 290c0 0 - 27 35 - 48 51c - 10 35 - 7 54 5 59c2 1 3 1 5 1c11 0 24 - 12 37 - 36c - 6 - 35 1 - 75 1 - 75zM126 151c0 0 - 34 - 24 - 51 - 48c - 12 - 4 - 26 - 6 - 35 - 6c - 13 0 - 21 4 - 24 11 <nl> + c - 5 11 7 25 34 41c35 - 4 76 2 76 2zM322 232c0 0 33 25 51 49c13 4 26 5 35 5c13 0 21 - 3 24 - 10c5 - 11 - 7 - 26 - 34 - 42c - 35 5 - 76 - 2 - 76 - 2zM131 39c31 24 53 55 53 55s - 7 - 39 - 3 - 71c - 15 - 26 - 28 - 39 - 39 - 39c - 2 0 - 4 0 - 6 1c - 11 5 - 13 24 - 5 54zM317 344 <nl> + c - 29 - 21 - 53 - 55 - 53 - 55s8 48 3 71c13 25 28 39 39 39c2 0 4 0 6 - 1c11 - 5 13 - 22 5 - 54zM56 235c - 28 15 - 43 32 - 38 44c3 7 10 11 22 11c8 0 21 - 1 31 - 5c18 - 24 55 - 53 55 - 53s - 40 7 - 70 3zM392 149c30 - 17 43 - 33 38 - 45c - 3 - 7 - 10 - 10 - 22 - 10c - 8 0 - 19 1 - 31 5 <nl> + c - 20 27 - 55 52 - 55 52s45 - 8 70 - 2z " / > <nl> + < glyph glyph - name = " ion - ios - folder - outline " unicode = " & # xf434 ; " <nl> + d = " M425 352c13 0 23 - 10 23 - 23v - 304c0 - 14 - 10 - 25 - 23 - 25h - 400c - 13 0 - 25 12 - 25 25v336c0 13 11 23 25 23h112c8 0 12 - 2 17 - 7v0l23 - 23c2 - 2 3 - 2 6 - 2h242zM25 368c - 4 0 - 9 - 3 - 9 - 7v - 74c3 1 5 1 8 1h400c3 0 5 0 8 - 1v42c0 4 - 3 7 - 7 7h - 242c - 7 0 - 12 2 - 17 7 <nl> + l - 23 23c - 2 2 - 3 2 - 6 2h - 112zM432 25v239c0 4 - 4 8 - 8 8h - 400c - 4 0 - 8 - 4 - 8 - 8v - 239c0 - 4 5 - 9 9 - 9h400c4 0 7 5 7 9z " / > <nl> + < glyph glyph - name = " ion - ios - folder " unicode = " & # xf435 ; " <nl> + d = " M440 272c4 0 8 - 4 8 - 8v - 239c0 - 14 - 10 - 25 - 23 - 25h - 400c - 13 0 - 25 12 - 25 25v239c0 4 4 8 8 8h432zM425 352c13 0 23 - 10 23 - 23v - 42c - 3 1 - 5 1 - 8 1h - 432c - 3 0 - 5 0 - 8 - 1v74c0 13 11 23 25 23h112c8 0 12 - 2 17 - 7v0l23 - 23c2 - 2 3 - 2 6 - 2h242z " / > <nl> + < glyph glyph - name = " ion - ios - football - outline " unicode = " & # xf436 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM249 6c3 1 5 1 8 2l24 64l - 20 39v1h - 106l - 20 - 39l25 - 65c2 - 1 5 - 1 7 - 2c12 - 3 25 - 5 38 - 5c14 0 30 2 44 5zM41 284c - 15 - 27 - 23 - 57 - 24 - 89l43 37v0zM142 371 <nl> + c - 36 - 14 - 68 - 38 - 90 - 69l22 - 64l5 - 2l49 - 23l71 60v58zM277 201l - 70 58l - 69 - 58v - 1l18 - 72h104l18 72zM399 195c - 1 32 - 9 63 - 24 90l - 19 - 53v0zM364 302c - 22 31 - 54 56 - 90 69l - 58 - 40v - 58l71 - 60l54 24zM18 175c3 - 34 15 - 66 33 - 92l70 - 1l21 39l - 20 77l - 1 1l - 49 22z <nl> + M295 82l70 1c18 26 30 58 33 92l - 54 46l - 50 - 23l - 20 - 77zM207 345l47 32c - 15 4 - 30 6 - 46 6s - 32 - 2 - 47 - 6zM118 66l - 54 1c20 - 23 46 - 42 75 - 53l - 20 50zM277 14c29 11 55 30 75 53l - 56 - 1l - 2 - 3z " / > <nl> + < glyph glyph - name = " ion - ios - football " unicode = " & # xf437 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM249 6c3 1 5 1 8 2l24 64l - 20 39v1h - 106l - 20 - 39l25 - 65c2 - 1 5 - 1 7 - 2c12 - 3 25 - 5 38 - 5c14 0 30 2 44 5zM142 371c - 36 - 14 - 68 - 38 - 90 - 69l22 - 64l5 - 2l49 - 23l71 60v58z <nl> + M364 302c - 22 31 - 54 56 - 90 69l - 58 - 40v - 58l71 - 60l54 24zM18 175c3 - 34 15 - 66 33 - 92l70 - 1l21 39l - 20 77l - 1 1l - 49 22zM295 82l70 1c18 26 30 58 33 92l - 54 46l - 50 - 23l - 20 - 77z " / > <nl> + < glyph glyph - name = " ion - ios - game - controller - a - outline " unicode = " & # xf438 ; " <nl> + d = " M163 208c3 0 5 - 2 5 - 5v - 22c0 - 3 - 2 - 5 - 5 - 5h - 35v - 35c0 - 3 - 3 - 5 - 6 - 5h - 21c - 3 0 - 5 2 - 5 5v35h - 35c - 3 0 - 5 3 - 5 6v21c0 3 2 5 5 5h35v35c0 3 2 5 5 5h22c3 0 5 - 2 5 - 5v - 35h35zM330 169c11 0 20 - 8 20 - 19s - 9 - 19 - 20 - 19s - 19 8 - 19 19s8 19 19 19zM288 211 <nl> + c11 0 19 - 8 19 - 19s - 8 - 19 - 19 - 19s - 20 8 - 20 19s9 19 20 19zM373 211c11 0 19 - 8 19 - 19s - 8 - 19 - 19 - 19s - 20 8 - 20 19s9 19 20 19zM330 253c11 0 20 - 8 20 - 19s - 9 - 20 - 20 - 20s - 19 9 - 19 20s8 19 19 19zM337 286h - 226c - 26 0 - 49 - 9 - 67 - 26s - 28 - 41 - 28 - 67s10 - 51 28 - 68 <nl> + s41 - 27 67 - 27h226c26 0 49 10 67 27s28 42 28 68s - 10 50 - 28 67s - 41 26 - 67 26zM337 302v0c61 0 111 - 45 111 - 109s - 50 - 111 - 111 - 111h - 226c - 61 0 - 111 47 - 111 111s50 109 111 109h226z " / > <nl> + < glyph glyph - name = " ion - ios - game - controller - a " unicode = " & # xf439 ; " <nl> + d = " M337 302c61 0 111 - 45 111 - 109s - 50 - 111 - 111 - 111h - 226c - 61 0 - 111 47 - 111 111s50 109 111 109h226zM168 181v0v22c0 3 - 2 5 - 5 5h - 35v35c0 3 - 2 5 - 5 5h - 22c - 3 0 - 5 - 2 - 5 - 5v - 35h - 35c - 3 0 - 5 - 2 - 5 - 5v - 21c0 - 3 2 - 6 5 - 6h35v - 35c0 - 3 2 - 5 5 - 5h21c3 0 6 2 6 5v35 <nl> + h35c3 0 5 2 5 5zM288 173c11 0 19 8 19 19s - 8 19 - 19 19s - 20 - 8 - 20 - 19s9 - 19 20 - 19zM330 131c11 0 20 8 20 19s - 9 19 - 20 19s - 19 - 8 - 19 - 19s8 - 19 19 - 19zM330 214c11 0 20 9 20 20s - 9 19 - 20 19s - 19 - 8 - 19 - 19s8 - 20 19 - 20zM373 173c11 0 19 8 19 19s - 8 19 - 19 19 <nl> + s - 20 - 8 - 20 - 19s9 - 19 20 - 19z " / > <nl> + < glyph glyph - name = " ion - ios - game - controller - b - outline " unicode = " & # xf43a ; " <nl> + d = " M276 244c11 0 20 - 9 20 - 20s - 9 - 20 - 20 - 20s - 20 9 - 20 20s9 20 20 20zM320 200c11 0 20 - 9 20 - 20s - 9 - 20 - 20 - 20s - 20 9 - 20 20s9 20 20 20zM103 264c22 0 39 - 18 39 - 40s - 17 - 40 - 39 - 40s - 39 18 - 39 40s17 40 39 40zM103 205c11 0 19 8 19 19s - 8 19 - 19 19 <nl> + s - 19 - 8 - 19 - 19s8 - 19 19 - 19zM320 288c11 0 20 - 9 20 - 20s - 9 - 20 - 20 - 20s - 20 9 - 20 20s9 20 20 20zM364 244c11 0 20 - 9 20 - 20s - 9 - 20 - 20 - 20s - 20 9 - 20 20s9 20 20 20zM434 199c21 - 88 18 - 152 - 7 - 164c - 4 - 2 - 9 - 3 - 13 - 3c - 22 0 - 45 24 - 68 52c - 26 32 - 32 33 - 110 33 <nl> + h - 24c - 78 0 - 84 - 1 - 110 - 33c - 23 - 28 - 46 - 52 - 68 - 52c - 4 0 - 9 1 - 13 3c - 25 12 - 28 76 - 7 164s43 136 88 149c10 3 18 4 26 4c28 0 47 - 15 96 - 15s68 15 96 15c8 0 16 - 1 26 - 4c45 - 13 67 - 61 88 - 149zM420 49c10 5 23 48 - 1 146c - 21 90 - 43 128 - 78 138c - 8 2 - 14 3 - 21 3 <nl> + c - 10 0 - 19 - 2 - 30 - 5c - 16 - 4 - 36 - 10 - 66 - 10s - 50 6 - 66 10c - 11 3 - 20 5 - 30 5c - 7 0 - 13 - 1 - 21 - 3c - 35 - 10 - 57 - 48 - 78 - 138c - 24 - 98 - 11 - 141 - 1 - 146c2 - 1 4 - 1 6 - 1c6 0 14 4 23 12s19 18 32 34s24 28 44 34c17 5 38 5 79 5h24c41 0 62 0 79 - 5c20 - 6 31 - 18 44 - 34 <nl> + s23 - 26 32 - 34s17 - 12 23 - 12c2 0 4 0 6 1z " / > <nl> + < glyph glyph - name = " ion - ios - game - controller - b " unicode = " & # xf43b ; " <nl> + d = " M103 243c11 0 19 - 8 19 - 19s - 8 - 19 - 19 - 19s - 19 8 - 19 19s8 19 19 19zM434 199c21 - 88 18 - 152 - 7 - 164c - 4 - 2 - 9 - 3 - 13 - 3c - 22 0 - 45 24 - 68 52c - 26 32 - 32 33 - 110 33h - 24c - 78 0 - 84 - 1 - 110 - 33c - 23 - 28 - 46 - 52 - 68 - 52c - 4 0 - 9 1 - 13 3c - 25 12 - 28 76 - 7 164 <nl> + s43 136 88 149c10 3 18 4 26 4c28 0 47 - 15 96 - 15s68 15 96 15c8 0 16 - 1 26 - 4c45 - 13 67 - 61 88 - 149zM103 184c22 0 39 18 39 40s - 17 40 - 39 40s - 39 - 18 - 39 - 40s17 - 40 39 - 40zM276 204c11 0 20 9 20 20s - 9 20 - 20 20s - 20 - 9 - 20 - 20s9 - 20 20 - 20zM320 160 <nl> + c11 0 20 9 20 20s - 9 20 - 20 20s - 20 - 9 - 20 - 20s9 - 20 20 - 20zM320 248c11 0 20 9 20 20s - 9 20 - 20 20s - 20 - 9 - 20 - 20s9 - 20 20 - 20zM364 204c11 0 20 9 20 20s - 9 20 - 20 20s - 20 - 9 - 20 - 20s9 - 20 20 - 20z " / > <nl> + < glyph glyph - name = " ion - ios - gear - outline " unicode = " & # xf43c ; " horiz - adv - x = " 384 " <nl> + d = " M193 288c26 0 50 - 10 68 - 28s28 - 42 28 - 68s - 10 - 50 - 28 - 68s - 42 - 28 - 68 - 28s - 50 10 - 68 28s - 28 42 - 28 68s10 50 28 68s42 28 68 28zM193 112c44 0 80 36 80 80s - 36 80 - 80 80s - 80 - 36 - 80 - 80s36 - 80 80 - 80zM360 232c14 0 24 - 11 24 - 25v - 15v - 15 <nl> + c0 - 14 - 10 - 24 - 24 - 24h - 15c - 12 0 - 23 - 11 - 23 - 24c0 - 6 3 - 13 8 - 17l10 - 9c10 - 10 10 - 25 0 - 35l - 22 - 22c - 4 - 4 - 11 - 7 - 18 - 7s - 14 3 - 18 7l - 9 9c - 5 5 - 11 8 - 17 8c - 13 0 - 23 - 11 - 23 - 23v - 15c0 - 14 - 11 - 25 - 25 - 25h - 30c - 14 0 - 25 11 - 25 25v15c0 12 - 10 23 - 23 23 <nl> + c - 6 0 - 13 - 3 - 17 - 8l - 10 - 9c - 4 - 4 - 10 - 7 - 17 - 7s - 14 3 - 18 7l - 22 22c - 10 10 - 10 25 0 35l9 9c5 4 8 11 8 17c0 13 - 11 23 - 23 23h - 15c - 14 0 - 25 11 - 25 25v15v15c0 14 11 25 25 25h15c12 0 23 10 23 23c0 6 - 3 13 - 8 17l - 9 9c - 10 10 - 10 25 0 35l22 22c4 4 11 7 18 7 <nl> + s13 - 3 17 - 7l10 - 10c4 - 5 11 - 7 17 - 7c13 0 23 11 23 23v15c0 14 11 25 25 25h30c14 0 24 - 11 24 - 25v - 15c0 - 12 11 - 23 24 - 23c6 0 13 3 17 8l9 9c4 4 11 7 18 7s14 - 3 18 - 7l22 - 22c10 - 10 10 - 25 0 - 35l - 10 - 9c - 5 - 4 - 8 - 11 - 8 - 17c0 - 13 11 - 23 23 - 23h15zM368 192v15 <nl> + c0 4 - 3 9 - 8 9h - 15c - 10 0 - 20 4 - 27 12s - 12 17 - 12 27c0 11 5 21 13 28l9 9c2 2 3 5 3 7s - 1 4 - 3 6l - 22 22c - 2 1 - 4 2 - 6 2s - 4 0 - 6 - 2l - 10 - 9c - 8 - 8 - 17 - 13 - 28 - 13c - 10 0 - 20 4 - 28 11s - 12 18 - 12 28v15c0 5 - 4 9 - 8 9h - 30c - 4 0 - 9 - 4 - 9 - 9v - 15c0 - 10 - 4 - 21 - 12 - 28 <nl> + s - 17 - 11 - 27 - 11c - 11 0 - 21 4 - 28 12l - 10 10v0v0c - 1 1 - 4 2 - 6 2s - 4 0 - 6 - 2l - 23 - 22c - 2 - 2 - 2 - 5 - 2 - 6s0 - 5 2 - 7l9 - 9c8 - 8 13 - 17 13 - 28c0 - 10 - 4 - 19 - 11 - 27s - 18 - 12 - 28 - 12h - 15c - 5 0 - 9 - 5 - 9 - 9v - 15v - 15c0 - 4 4 - 9 9 - 9h15c10 0 21 - 4 28 - 12s11 - 17 11 - 27 <nl> + c0 - 11 - 4 - 21 - 12 - 29l - 9 - 8c - 3 - 3 - 3 - 10 0 - 13l22 - 22v0v0c1 - 1 4 - 2 6 - 2s4 0 6 2l10 9c7 8 17 13 28 13c10 0 19 - 4 27 - 11s12 - 18 12 - 28v - 15c0 - 5 4 - 9 9 - 9h30c5 0 9 4 9 9v15c0 10 4 21 12 28s17 11 27 11c11 0 21 - 5 29 - 13l9 - 9c2 - 2 4 - 2 6 - 2s4 0 6 2l23 22 <nl> + c3 3 3 10 0 13l - 10 9c - 8 7 - 12 17 - 12 28c0 10 4 20 11 28s18 12 28 12h15c5 0 7 4 7 8v15z " / > <nl> + < glyph glyph - name = " ion - ios - gear " unicode = " & # xf43d ; " horiz - adv - x = " 384 " <nl> + d = " M360 232c14 0 24 - 11 24 - 25v - 15v - 15c0 - 14 - 10 - 25 - 24 - 25h - 15c - 12 0 - 23 - 10 - 23 - 23c0 - 6 3 - 13 8 - 17l10 - 9c10 - 10 10 - 25 0 - 35l - 23 - 22c - 4 - 4 - 10 - 7 - 17 - 7s - 14 3 - 18 7l - 9 9c - 5 5 - 11 8 - 17 8c - 13 0 - 24 - 11 - 24 - 23v - 15c0 - 14 - 10 - 25 - 24 - 25h - 30 <nl> + c - 14 0 - 25 11 - 25 25v15c0 12 - 10 23 - 23 23c - 6 0 - 13 - 2 - 17 - 7l - 10 - 10c - 4 - 4 - 10 - 7 - 17 - 7s - 14 3 - 18 7l - 22 22c - 10 10 - 10 25 0 35l9 9c5 4 8 11 8 17c0 13 - 11 23 - 23 23h - 15c - 14 0 - 25 11 - 25 25v15v15c0 14 11 25 25 25h15c12 0 23 10 23 23c0 6 - 3 13 - 8 17l - 9 9 <nl> + c - 10 10 - 10 25 0 35l22 22c4 4 11 7 18 7s14 - 3 18 - 7l9 - 10c4 - 5 11 - 7 17 - 7c13 0 23 11 23 23v15c0 14 11 25 25 25h30c14 0 25 - 11 25 - 25v - 15c0 - 12 10 - 23 23 - 23c6 0 13 3 17 8l9 9c4 4 11 7 18 7s14 - 3 18 - 7l22 - 22c10 - 10 10 - 25 0 - 35l - 10 - 10 <nl> + c - 5 - 4 - 8 - 10 - 8 - 16c0 - 13 11 - 23 23 - 23h15zM273 192v0c0 44 - 36 80 - 80 80s - 80 - 36 - 80 - 80v0v0c0 - 44 36 - 80 80 - 80s80 36 80 80v0z " / > <nl> + < glyph glyph - name = " ion - ios - glasses - outline " unicode = " & # xf43e ; " <nl> + d = " M433 201v0h15v - 18h - 15c - 2 - 22 - 13 - 43 - 29 - 58c - 17 - 16 - 39 - 25 - 62 - 25c - 51 0 - 92 41 - 92 92v0v0c0 10 - 12 22 - 26 22s - 26 - 12 - 26 - 22v0v0c0 - 51 - 41 - 92 - 92 - 92c - 23 0 - 45 9 - 62 25c - 16 15 - 27 36 - 29 58h - 15v18h15c2 22 13 43 29 59c17 16 39 24 62 24 <nl> + c42 0 78 - 27 89 - 67c7 7 18 12 29 12s22 - 5 29 - 12c11 40 47 67 89 67c23 0 45 - 9 62 - 25c16 - 15 27 - 36 29 - 58zM342 115c42 0 77 35 77 77s - 35 77 - 77 77s - 77 - 35 - 77 - 77s35 - 77 77 - 77zM106 115c42 0 77 35 77 77s - 35 77 - 77 77s - 77 - 35 - 77 - 77s35 - 77 77 - 77z " / > <nl> + < glyph glyph - name = " ion - ios - glasses " unicode = " & # xf43f ; " <nl> + d = " M433 201v0h15v - 18h - 15c - 2 - 22 - 13 - 43 - 29 - 58c - 17 - 16 - 39 - 25 - 62 - 25c - 51 0 - 92 41 - 92 92v0v0c0 10 - 12 22 - 26 22s - 26 - 12 - 26 - 22v0v0c0 - 51 - 41 - 92 - 92 - 92c - 23 0 - 45 9 - 62 25c - 16 15 - 27 36 - 29 58h - 15v18h15c2 22 13 43 29 59c17 16 39 24 62 24 <nl> + c42 0 78 - 27 89 - 67c7 7 18 12 29 12s22 - 5 29 - 12c11 40 47 67 89 67c23 0 45 - 9 62 - 25c16 - 15 27 - 36 29 - 58z " / > <nl> + < glyph glyph - name = " ion - ios - grid - view - outline " unicode = " & # xf440 ; " horiz - adv - x = " 384 " <nl> + d = " M384 256h - 112v - 128h112v - 16h - 112v - 112h - 16v112h - 128v - 112h - 16v112h - 112v16h112v128h - 112v16h112v112h16v - 112h128v112h16v - 112h112v - 16zM256 128v128h - 128v - 128h128z " / > <nl> + < glyph glyph - name = " ion - ios - grid - view " unicode = " & # xf441 ; " horiz - adv - x = " 384 " <nl> + d = " M128 128v128h128v - 128h - 128zM0 384h384v - 384h - 384v384zM352 256v16h - 80v80h - 16v - 80h - 128v80h - 16v - 80h - 80v - 16h80v - 128h - 80v - 16h80v - 80h16v80h128v - 80h16v80h80v16h - 80v128h80z " / > <nl> + < glyph glyph - name = " ion - ios - heart - outline " unicode = " & # xf442 ; " <nl> + d = " M327 368c69 0 121 - 43 121 - 116c0 - 31 - 13 - 71 - 41 - 105s - 45 - 52 - 100 - 88s - 83 - 43 - 83 - 43s - 28 7 - 83 43s - 72 54 - 100 88s - 41 74 - 41 105c0 73 52 116 121 116c39 0 82 - 18 103 - 53c21 35 64 53 103 53zM395 157c12 14 22 31 28 49c6 16 9 31 9 46c0 30 - 10 56 - 29 74 <nl> + c - 9 8 - 20 15 - 33 19c - 13 5 - 28 7 - 43 7c - 38 0 - 73 - 18 - 89 - 45l - 14 - 23l - 14 23c - 16 27 - 51 45 - 89 45c - 15 0 - 30 - 2 - 43 - 7c - 13 - 4 - 24 - 11 - 33 - 19c - 19 - 18 - 29 - 44 - 29 - 74c0 - 15 3 - 30 9 - 46c6 - 18 16 - 35 28 - 49c27 - 32 42 - 49 97 - 85c40 - 27 65 - 36 74 - 39 <nl> + c9 3 34 12 74 39c55 36 70 53 97 85z " / > <nl> + < glyph glyph - name = " ion - ios - heart " unicode = " & # xf443 ; " <nl> + d = " M327 368c69 0 121 - 43 121 - 116c0 - 31 - 13 - 71 - 41 - 105s - 45 - 52 - 100 - 88s - 83 - 43 - 83 - 43s - 28 7 - 83 43s - 72 54 - 100 88s - 41 74 - 41 105c0 73 52 116 121 116c39 0 82 - 18 103 - 53c21 35 64 53 103 53z " / > <nl> + < glyph glyph - name = " ion - ios - help - empty " unicode = " & # xf444 ; " horiz - adv - x = " 128 " <nl> + d = " M68 82c - 9 0 - 17 8 - 17 17s8 17 17 17s17 - 8 17 - 17s - 8 - 17 - 17 - 17zM102 197c - 23 - 22 - 22 - 27 - 23 - 53h - 19c1 28 7 43 30 64c11 10 19 24 19 39c0 24 - 19 39 - 42 39c - 32 0 - 49 - 16 - 48 - 46h - 19c0 42 25 62 68 62c33 0 60 - 20 60 - 54c0 - 22 - 11 - 37 - 26 - 51z " / > <nl> + < glyph glyph - name = " ion - ios - help - outline " unicode = " & # xf445 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 1c105 0 191 86 191 191s - 86 191 - 191 191s - 191 - 86 - 191 - 191s86 - 191 191 - 191zM212 302c33 0 60 - 21 60 - 55c0 - 22 - 11 - 36 - 26 - 50c - 23 - 23 - 22 - 27 - 23 - 53h - 19 <nl> + c1 28 7 43 30 64c11 10 19 23 19 38c0 24 - 19 40 - 42 40c - 32 0 - 49 - 16 - 48 - 46h - 19c0 42 25 62 68 62zM212 116c9 0 17 - 8 17 - 17s - 8 - 17 - 17 - 17s - 17 8 - 17 17s8 17 17 17z " / > <nl> + < glyph glyph - name = " ion - ios - help " unicode = " & # xf446 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM212 82c9 0 17 8 17 17s - 8 17 - 17 17s - 17 - 8 - 17 - 17s8 - 17 17 - 17zM246 197c15 14 26 29 26 51c0 34 - 27 54 - 60 54c - 43 0 - 68 - 20 - 68 - 62h19c - 1 30 16 46 48 46 <nl> + c23 0 42 - 15 42 - 39c0 - 15 - 8 - 29 - 19 - 39c - 23 - 21 - 29 - 36 - 30 - 64h19c1 26 0 31 23 53z " / > <nl> + < glyph glyph - name = " ion - ios - home - outline " unicode = " & # xf447 ; " horiz - adv - x = " 384 " <nl> + d = " M192 336l160 - 128v - 208h - 112v128h - 96v - 128h - 112v208zM336 16v184l - 144 116l - 144 - 116v - 184h80v128h128v - 128h80zM192 384l192 - 154v - 20l - 192 154l - 192 - 154v20l32 26v96h64v - 45zM80 294v42h - 32v - 67z " / > <nl> + < glyph glyph - name = " ion - ios - home " unicode = " & # xf448 ; " horiz - adv - x = " 384 " <nl> + d = " M192 336l160 - 128v - 208h - 112v128h - 96v - 128h - 112v208zM192 384l192 - 154v - 20l - 192 154l - 192 - 154v20l32 26v96h64v - 45z " / > <nl> + < glyph glyph - name = " ion - ios - infinite - outline " unicode = " & # xf449 ; " horiz - adv - x = " 384 " <nl> + d = " M359 249c33 - 31 33 - 82 0 - 113c - 16 - 15 - 36 - 24 - 59 - 24c - 22 0 - 44 9 - 60 24l - 108 102c - 13 12 - 30 18 - 48 18s - 35 - 6 - 48 - 18c - 26 - 25 - 26 - 66 0 - 91c13 - 12 30 - 19 48 - 19s35 7 48 19l36 34l12 - 11l - 36 - 34c - 16 - 15 - 37 - 24 - 60 - 24s - 43 9 - 59 24c - 33 31 - 33 82 0 113 <nl> + c16 15 36 23 59 23c22 0 44 - 8 60 - 23l108 - 102c13 - 12 30 - 19 48 - 19s34 7 47 19c26 25 26 66 0 91c - 13 12 - 29 18 - 47 18s - 35 - 6 - 48 - 18l - 37 - 35l - 11 11l36 35c16 15 37 23 60 23s43 - 8 59 - 23z " / > <nl> + < glyph glyph - name = " ion - ios - infinite " unicode = " & # xf44a ; " horiz - adv - x = " 384 " <nl> + d = " M358 249c17 - 15 26 - 36 26 - 57c0 - 22 - 9 - 42 - 26 - 57s - 39 - 23 - 63 - 23s - 45 8 - 62 23l - 103 93c - 11 10 - 26 15 - 41 15s - 30 - 5 - 41 - 15s - 16 - 22 - 16 - 36s5 - 26 16 - 36s26 - 15 41 - 15s30 5 41 15l30 28l23 - 20l - 32 - 29c - 17 - 15 - 38 - 23 - 62 - 23s - 46 8 - 63 23s - 26 35 - 26 57 <nl> + s9 42 26 57s39 23 63 23s45 - 8 62 - 23l104 - 93c11 - 10 25 - 15 40 - 15s30 5 41 15s17 22 17 36s - 6 26 - 17 36s - 26 15 - 41 15s - 29 - 5 - 40 - 15l - 31 - 28l - 23 20l32 29c17 15 38 23 62 23s46 - 8 63 - 23z " / > <nl> + < glyph glyph - name = " ion - ios - information - empty " unicode = " & # xf44b ; " horiz - adv - x = " 64 " <nl> + d = " M8 276c0 13 7 20 20 20s20 - 7 20 - 20s - 7 - 20 - 20 - 20s - 20 7 - 20 20zM48 104h16v - 8h - 64v8h16v120h - 16v8h48v - 128z " / > <nl> + < glyph glyph - name = " ion - ios - information - outline " unicode = " & # xf44c ; " horiz - adv - x = " 416 " <nl> + d = " M184 276c0 13 7 20 20 20s20 - 7 20 - 20s - 7 - 20 - 20 - 20s - 20 7 - 20 20zM224 104h16v - 8h - 64v8h16v120h - 16v8h48v - 128zM208 400c57 0 106 - 20 147 - 61s61 - 90 61 - 147s - 20 - 106 - 61 - 147s - 90 - 61 - 147 - 61s - 106 20 - 147 61s - 61 90 - 61 147s20 106 61 147s90 61 147 61z <nl> + M208 1c53 0 98 19 135 56s56 82 56 135s - 19 98 - 56 135s - 82 56 - 135 56s - 98 - 19 - 135 - 56s - 56 - 82 - 56 - 135s19 - 98 56 - 135s82 - 56 135 - 56z " / > <nl> + < glyph glyph - name = " ion - ios - information " unicode = " & # xf44d ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM204 296c - 11 0 - 20 - 9 - 20 - 20s9 - 20 20 - 20s20 9 20 20s - 9 20 - 20 20zM240 96v8h - 16v128h - 48v - 8h16v - 120h - 16v - 8h64z " / > <nl> + < glyph glyph - name = " ion - ios - ionic - outline " unicode = " & # xf44e ; " horiz - adv - x = " 416 " <nl> + d = " M378 313c24 - 34 38 - 76 38 - 121c0 - 115 - 92 - 208 - 207 - 208s - 209 93 - 209 208s94 208 209 208c45 0 86 - 14 120 - 38c6 5 13 8 21 8c19 0 35 - 16 35 - 35c0 - 8 - 2 - 16 - 7 - 22zM350 357c - 12 0 - 22 - 10 - 22 - 22s10 - 22 22 - 22s22 10 22 22s - 10 22 - 22 22zM344 56 <nl> + c18 18 31 39 41 62c10 24 15 48 15 74s - 5 51 - 15 75c - 5 13 - 12 25 - 20 36c - 5 - 2 - 10 - 3 - 15 - 3c - 19 0 - 35 16 - 35 35c0 5 2 11 4 15c - 11 8 - 23 15 - 36 20c - 24 10 - 49 14 - 75 14s - 51 - 4 - 75 - 14c - 23 - 10 - 43 - 24 - 61 - 42s - 31 - 38 - 41 - 61c - 10 - 24 - 15 - 49 - 15 - 75 <nl> + s5 - 50 15 - 74c10 - 23 23 - 44 41 - 62s38 - 31 61 - 41c24 - 10 49 - 15 75 - 15s51 5 75 15c23 10 43 23 61 41zM208 288c53 0 96 - 43 96 - 96s - 43 - 96 - 96 - 96s - 96 43 - 96 96s43 96 96 96zM208 112c44 0 80 36 80 80s - 36 80 - 80 80s - 79 - 36 - 79 - 80s35 - 80 79 - 80z " / > <nl> + < glyph glyph - name = " ion - ios - keypad - outline " unicode = " & # xf44f ; " horiz - adv - x = " 384 " <nl> + d = " M331 107c30 0 53 - 24 53 - 54s - 23 - 53 - 53 - 53s - 54 23 - 54 53s24 54 54 54zM331 16c21 0 37 16 37 37s - 16 38 - 37 38s - 38 - 17 - 38 - 38s17 - 37 38 - 37zM192 107c30 0 53 - 24 53 - 54s - 23 - 53 - 53 - 53s - 53 23 - 53 53s23 54 53 54zM192 16c21 0 37 16 37 37s - 16 38 - 37 38 <nl> + s - 37 - 17 - 37 - 38s16 - 37 37 - 37zM53 107c30 0 54 - 24 54 - 54s - 24 - 53 - 54 - 53s - 53 23 - 53 53s23 54 53 54zM53 16c21 0 38 16 38 37s - 17 38 - 38 38s - 37 - 17 - 37 - 38s16 - 37 37 - 37zM331 245c30 0 53 - 23 53 - 53s - 23 - 53 - 53 - 53s - 54 23 - 54 53s24 53 54 53zM331 155 <nl> + c21 0 37 16 37 37s - 16 37 - 37 37s - 38 - 16 - 38 - 37s17 - 37 38 - 37zM192 245c30 0 53 - 23 53 - 53s - 23 - 53 - 53 - 53s - 53 23 - 53 53s23 53 53 53zM192 155c21 0 37 16 37 37s - 16 37 - 37 37s - 37 - 16 - 37 - 37s16 - 37 37 - 37zM53 245c30 0 54 - 23 54 - 53s - 24 - 53 - 54 - 53 <nl> + s - 53 23 - 53 53s23 53 53 53zM53 155c21 0 38 16 38 37s - 17 37 - 38 37s - 37 - 16 - 37 - 37s16 - 37 37 - 37zM331 277c - 30 0 - 54 24 - 54 54s24 53 54 53s53 - 23 53 - 53s - 23 - 54 - 53 - 54zM331 368c - 21 0 - 38 - 16 - 38 - 37s17 - 38 38 - 38s37 17 37 38s - 16 37 - 37 37zM192 384 <nl> + c30 0 53 - 23 53 - 53s - 23 - 54 - 53 - 54s - 53 24 - 53 54s23 53 53 53zM192 293c21 0 37 17 37 38s - 16 37 - 37 37s - 37 - 16 - 37 - 37s16 - 38 37 - 38zM53 384c30 0 54 - 23 54 - 53s - 24 - 54 - 54 - 54s - 53 24 - 53 54s23 53 53 53zM53 293c21 0 38 17 38 38s - 17 37 - 38 37 <nl> + s - 37 - 16 - 37 - 37s16 - 38 37 - 38z " / > <nl> + < glyph glyph - name = " ion - ios - keypad " unicode = " & # xf450 ; " horiz - adv - x = " 384 " <nl> + d = " M331 107c30 0 53 - 24 53 - 54s - 23 - 53 - 53 - 53s - 54 23 - 54 53s24 54 54 54zM192 107c30 0 53 - 24 53 - 54s - 23 - 53 - 53 - 53s - 53 23 - 53 53s23 54 53 54zM53 107c30 0 54 - 24 54 - 54s - 24 - 53 - 54 - 53s - 53 23 - 53 53s23 54 53 54zM331 245c30 0 53 - 23 53 - 53 <nl> + s - 23 - 53 - 53 - 53s - 54 23 - 54 53s24 53 54 53zM192 245c30 0 53 - 23 53 - 53s - 23 - 53 - 53 - 53s - 53 23 - 53 53s23 53 53 53zM53 245c30 0 54 - 23 54 - 53s - 24 - 53 - 54 - 53s - 53 23 - 53 53s23 53 53 53zM331 277c - 30 0 - 54 24 - 54 54s24 53 54 53s53 - 23 53 - 53s - 23 - 54 - 53 - 54z <nl> + M192 384c30 0 53 - 23 53 - 53s - 23 - 54 - 53 - 54s - 53 24 - 53 54s23 53 53 53zM53 384c30 0 54 - 23 54 - 53s - 24 - 54 - 54 - 54s - 53 24 - 53 54s23 53 53 53z " / > <nl> + < glyph glyph - name = " ion - ios - lightbulb - outline " unicode = " & # xf451 ; " horiz - adv - x = " 288 " <nl> + d = " M288 275c0 - 31 - 13 - 59 - 30 - 83v0c - 11 - 15 - 22 - 28 - 32 - 45c - 22 - 38 - 18 - 73 - 18 - 82v - 1h - 128v1c0 7 3 44 - 19 82c - 10 17 - 20 30 - 31 45v0c - 17 24 - 30 52 - 30 83c0 78 66 141 144 141s144 - 63 144 - 141zM239 194l6 8c16 22 27 47 27 73c0 33 - 16 65 - 40 89s - 55 36 - 88 36 <nl> + s - 64 - 12 - 88 - 36s - 40 - 56 - 40 - 89c0 - 26 11 - 51 27 - 73l19 - 26v0c5 - 6 9 - 13 13 - 21c17 - 29 21 - 58 21 - 75h16v112l - 32 64h17l31 - 64v - 112h32v112l31 64h17l - 32 - 64v - 112h16c0 17 4 45 21 75c8 14 16 25 24 36c1 1 1 2 2 3zM112 - 32v16h64v - 16h - 64zM96 0v16h96v - 16h - 96z <nl> + M96 32v16h96v - 16h - 96z " / > <nl> + < glyph glyph - name = " ion - ios - lightbulb " unicode = " & # xf452 ; " horiz - adv - x = " 288 " <nl> + d = " M288 275c0 - 31 - 13 - 59 - 30 - 83v0c - 11 - 15 - 22 - 28 - 32 - 45c - 22 - 38 - 18 - 73 - 18 - 82v - 1h - 32v128l32 64h - 16l - 32 - 64v - 128h - 32v128l - 31 64h - 17l32 - 64v - 128h - 32v1c0 7 3 44 - 19 82c - 10 17 - 20 30 - 31 45v0c - 17 24 - 30 52 - 30 83c0 78 66 141 144 141s144 - 63 144 - 141z <nl> + M112 - 32v16h64v - 16h - 64zM96 0v16h96v - 16h - 96zM96 32v16h96v - 16h - 96z " / > <nl> + < glyph glyph - name = " ion - ios - list - outline " unicode = " & # xf453 ; " horiz - adv - x = " 384 " <nl> + d = " M368 368h - 352v - 352h352v352zM384 384v0v - 384h - 384v384h384zM128 280v16h192v - 16h - 192zM128 184v16h192v - 16h - 192zM128 88v16h192v - 16h - 192zM64 288c0 11 5 16 16 16s16 - 5 16 - 16s - 5 - 16 - 16 - 16s - 16 5 - 16 16zM64 192c0 11 5 16 16 16s16 - 5 16 - 16s - 5 - 16 - 16 - 16 <nl> + s - 16 5 - 16 16zM64 96c0 11 5 16 16 16s16 - 5 16 - 16s - 5 - 16 - 16 - 16s - 16 5 - 16 16z " / > <nl> + < glyph glyph - name = " ion - ios - list " unicode = " & # xf454 ; " horiz - adv - x = " 384 " <nl> + d = " M0 384h384v - 384h - 384v384zM80 80c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16zM80 176c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16zM80 272c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16zM320 88v16h - 192v - 16h192zM320 184v16 <nl> + h - 192v - 16h192zM320 280v16h - 192v - 16h192z " / > <nl> + < glyph glyph - name = " ion - ios - location - outline " unicode = " & # xf455 ; " horiz - adv - x = " 268 " <nl> + d = " M134 416c74 0 134 - 59 134 - 133c0 - 17 - 3 - 34 - 9 - 50l - 1 - 1c0 - 1 - 1 - 3 - 1 - 4l - 1 - 1l - 122 - 259l - 122 260c0 1 - 2 3 - 2 4v0v1v0c - 6 16 - 10 34 - 10 50c0 74 60 133 134 133zM243 239c6 14 9 29 9 44c0 65 - 53 117 - 118 117s - 118 - 52 - 118 - 117c0 - 15 3 - 31 9 - 45 <nl> + c0 - 1 1 - 1 1 - 2l1 - 2l107 - 227l107 227l1 2c0 1 1 1 1 2v1zM134 352c35 0 64 - 29 64 - 64s - 29 - 64 - 64 - 64s - 64 29 - 64 64s29 64 64 64zM134 241c26 0 47 21 47 47s - 21 47 - 47 47s - 47 - 21 - 47 - 47s21 - 47 47 - 47z " / > <nl> + < glyph glyph - name = " ion - ios - location " unicode = " & # xf456 ; " horiz - adv - x = " 268 " <nl> + d = " M134 416c74 0 134 - 59 134 - 133c0 - 17 - 3 - 34 - 9 - 50l - 1 - 1c0 - 1 - 1 - 3 - 1 - 4l - 1 - 1l - 122 - 259l - 122 260c0 1 - 2 3 - 2 4v1v0c - 6 16 - 10 34 - 10 50c0 74 60 133 134 133zM134 241c26 0 47 21 47 47s - 21 47 - 47 47s - 47 - 21 - 47 - 47s21 - 47 47 - 47z " / > <nl> + < glyph glyph - name = " ion - ios - locked - outline " unicode = " & # xf457 ; " horiz - adv - x = " 320 " <nl> + d = " M264 224h56v - 240h - 320v240h56v72c0 57 47 104 104 104s104 - 47 104 - 104v - 72zM72 296v - 72h176v72c0 49 - 39 88 - 88 88s - 88 - 39 - 88 - 88zM304 0v208h - 288v - 208h288zM160 160c18 0 32 - 14 32 - 32c0 - 15 - 10 - 27 - 24 - 31v - 33h - 16v33c - 14 4 - 24 16 - 24 31c0 18 14 32 32 32z <nl> + M160 112c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16z " / > <nl> + < glyph glyph - name = " ion - ios - locked " unicode = " & # xf458 ; " horiz - adv - x = " 320 " <nl> + d = " M264 224h56v - 240h - 320v240h56v72c0 57 47 104 104 104s104 - 47 104 - 104v - 72zM168 97c14 4 24 16 24 31c0 18 - 14 32 - 32 32s - 32 - 14 - 32 - 32c0 - 15 10 - 27 24 - 31v - 33h16v33zM248 224v72c0 49 - 39 88 - 88 88s - 88 - 39 - 88 - 88v - 72h176zM160 144c9 0 16 - 7 16 - 16 <nl> + s - 7 - 16 - 16 - 16s - 16 7 - 16 16s7 16 16 16z " / > <nl> + < glyph glyph - name = " ion - ios - loop - strong " unicode = " & # xf459 ; " horiz - adv - x = " 512 " <nl> + d = " M256 400c115 0 208 - 93 208 - 208c0 - 14 - 1 - 28 - 4 - 42l - 1 - 4l - 24 5l1 4c2 12 4 24 4 37c0 101 - 83 184 - 184 184c - 66 0 - 127 - 36 - 160 - 94l - 2 - 3l - 21 11l2 4c37 65 106 106 181 106zM416 102l2 3l21 - 11l - 2 - 4c - 37 - 65 - 106 - 106 - 181 - 106c - 115 0 - 208 93 - 208 208 <nl> + c0 14 1 28 4 42l1 4l24 - 5l - 1 - 4c - 2 - 12 - 4 - 24 - 4 - 37c0 - 101 83 - 184 184 - 184c66 0 127 36 160 94zM384 192h128l - 64 - 64zM0 192l64 64l64 - 64h - 128z " / > <nl> + < glyph glyph - name = " ion - ios - loop " unicode = " & # xf45a ; " horiz - adv - x = " 489 " <nl> + d = " M478 192l11 - 11l - 52 - 53l - 53 53l10 11l43 - 41zM449 192v0v0c0 - 7 0 - 14 - 1 - 21l - 16 1c1 7 1 14 1 21c - 1 103 - 85 187 - 188 187c - 68 0 - 131 - 37 - 164 - 96l - 14 8c36 64 104 104 178 104c112 0 203 - 91 204 - 202v0v - 2zM409 100l14 - 8c - 36 - 64 - 104 - 104 - 178 - 104 <nl> + c - 111 0 - 202 90 - 204 200v0v3v1v0c0 7 0 14 1 21l16 - 1c - 1 - 7 - 1 - 14 - 1 - 21c0 - 103 85 - 187 188 - 187c68 0 131 37 164 96zM53 256l52 - 53l - 11 - 11l - 41 41l - 42 - 41l - 11 11z " / > <nl> + < glyph glyph - name = " ion - ios - medical - outline " unicode = " & # xf45b ; " horiz - adv - x = " 364 " <nl> + d = " M364 260l - 118 - 68l118 - 68l - 32 - 56l - 118 69v - 137h - 64v137l - 118 - 69l - 32 56l118 68l - 118 68l32 56l118 - 69v137h64v - 137l118 69zM342 118l - 128 74l128 74l - 16 28l - 128 - 74v148h - 32v - 148l - 128 74l - 16 - 28l128 - 74l - 128 - 74l16 - 28l128 74v - 148h32v148l128 - 74z " / > <nl> + < glyph glyph - name = " ion - ios - medical " unicode = " & # xf45c ; " horiz - adv - x = " 364 " <nl> + d = " M364 260l - 118 - 68l118 - 68l - 32 - 56l - 118 69v - 137h - 64v137l - 118 - 69l - 32 56l118 68l - 118 68l32 56l118 - 69v137h64v - 137l118 69z " / > <nl> + < glyph glyph - name = " ion - ios - medkit - outline " unicode = " & # xf45d ; " horiz - adv - x = " 416 " <nl> + d = " M224 240h - 32v - 48v - 16h - 16h - 48v - 32h48h16v - 16v - 48h32v48v16h16h48v32h - 48h - 16v16v48zM240 256v0v - 64h64v - 64h - 64v - 64h - 64v64h - 64v64h64v64h64zM288 320h128v - 320h - 416v320h128v32c0 18 10 32 29 32h99c19 0 32 - 14 32 - 32v - 32zM144 350v - 30h128v30c0 10 - 7 18 - 17 18h - 97 <nl> + c - 11 0 - 14 - 8 - 14 - 18zM400 16v288h - 384v - 288h384z " / > <nl> + < glyph glyph - name = " ion - ios - medkit " unicode = " & # xf45e ; " horiz - adv - x = " 416 " <nl> + d = " M224 176h16h48v - 32h - 48h - 16v - 16v - 48h - 32v48v16h - 16h - 48v32h48h16v16v48h32v - 48v - 16zM288 320h128v - 320h - 416v320h128v32c0 18 10 32 29 32h99c19 0 32 - 14 32 - 32v - 32zM144 350v - 30h128v30c0 10 - 7 18 - 17 18h - 97c - 11 0 - 14 - 8 - 14 - 18zM304 128v64h - 64v64h - 64v - 64h - 64 <nl> + v - 64h64v - 64h64v64h64z " / > <nl> + < glyph glyph - name = " ion - ios - mic - off " unicode = " & # xf45f ; " horiz - adv - x = " 280 " <nl> + d = " M266 - 32l - 258 440l14 8l258 - 440zM128 95c - 44 0 - 79 37 - 79 83v118l113 - 193c - 10 - 5 - 22 - 8 - 34 - 8zM207 178c0 - 10 - 2 - 19 - 5 - 28l - 136 234c14 20 37 32 62 32c44 0 79 - 38 79 - 84v - 154zM256 176c0 - 28 - 9 - 54 - 24 - 75l - 10 17c11 17 17 36 17 58v80h17v - 80zM139 49v0 <nl> + v - 63h69v - 18h - 161v18h73v63c - 67 5 - 120 60 - 120 127v80h19v - 80c0 - 60 50 - 109 110 - 109c17 0 34 4 48 11l9 - 16c - 14 - 7 - 30 - 12 - 47 - 13z " / > <nl> + < glyph glyph - name = " ion - ios - mic - outline " unicode = " & # xf460 ; " horiz - adv - x = " 256 " <nl> + d = " M128 416c44 0 79 - 38 79 - 84v - 154c0 - 46 - 35 - 84 - 79 - 84s - 79 38 - 79 84v154c0 46 35 84 79 84zM191 178v154c0 37 - 28 68 - 63 68s - 63 - 31 - 63 - 68v - 154c0 - 37 28 - 68 63 - 68s63 31 63 68zM239 256h17v - 80c0 - 67 - 51 - 122 - 117 - 127v - 63h69v - 18h - 161v18h73v63 <nl> + c - 67 5 - 120 60 - 120 127v80h19v - 80c0 - 60 50 - 109 110 - 109s110 49 110 109v80z " / > <nl> + < glyph glyph - name = " ion - ios - mic " unicode = " & # xf461 ; " horiz - adv - x = " 256 " <nl> + d = " M128 94c - 44 0 - 79 38 - 79 84v154c0 46 35 84 79 84s79 - 38 79 - 84v - 154c0 - 46 - 35 - 84 - 79 - 84zM239 256h17v - 80c0 - 67 - 51 - 122 - 117 - 127v - 63h69v - 18h - 161v18h73v63c - 67 5 - 120 60 - 120 127v80h19v - 80c0 - 60 50 - 109 110 - 109s110 49 110 109v80z " / > <nl> + < glyph glyph - name = " ion - ios - minus - empty " unicode = " & # xf462 ; " horiz - adv - x = " 256 " <nl> + d = " M256 183h - 256v17h256v - 17z " / > <nl> + < glyph glyph - name = " ion - ios - minus - outline " unicode = " & # xf463 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 1c105 0 191 86 191 191s - 86 191 - 191 191s - 191 - 86 - 191 - 191s86 - 191 191 - 191zM80 183v17h256v - 17h - 256z " / > <nl> + < glyph glyph - name = " ion - ios - minus " unicode = " & # xf464 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM336 183v17h - 256v - 17h256z " / > <nl> + < glyph glyph - name = " ion - ios - monitor - outline " unicode = " & # xf465 ; " horiz - adv - x = " 480 " <nl> + d = " M480 64h - 176v - 16h64v - 16h - 257v16h64v16h - 175v288h480v - 288zM16 336v - 256h448v256h - 448z " / > <nl> + < glyph glyph - name = " ion - ios - monitor " unicode = " & # xf466 ; " horiz - adv - x = " 480 " <nl> + d = " M480 64h - 176v - 16h64v - 16h - 257v16h64v16h - 175v288h480v - 288zM16 336v - 256h448v256h - 448zM32 96v224h416v - 224h - 416z " / > <nl> + < glyph glyph - name = " ion - ios - moon - outline " unicode = " & # xf467 ; " horiz - adv - x = " 216 " <nl> + d = " M195 133c7 0 14 1 21 3c - 4 - 7 - 7 - 12 - 12 - 18c - 21 - 25 - 53 - 41 - 88 - 41c - 64 0 - 116 51 - 116 115c0 52 34 96 81 111c7 2 14 3 22 4c - 4 - 6 - 8 - 12 - 11 - 18c - 7 - 14 - 11 - 30 - 11 - 47c0 - 29 11 - 56 32 - 77s48 - 32 77 - 32h5zM116 93c25 0 48 9 65 24c - 65 5 - 116 59 - 116 125 <nl> + c0 14 2 28 6 40c - 33 - 16 - 55 - 51 - 55 - 90c0 - 55 45 - 99 100 - 99z " / > <nl> + < glyph glyph - name = " ion - ios - moon " unicode = " & # xf468 ; " horiz - adv - x = " 216 " <nl> + d = " M195 133c7 0 14 1 21 3c - 4 - 7 - 7 - 12 - 12 - 18c - 21 - 25 - 53 - 41 - 88 - 41c - 64 0 - 116 51 - 116 115c0 52 34 96 81 111c7 2 14 3 22 4c - 4 - 6 - 8 - 12 - 11 - 18c - 7 - 14 - 11 - 30 - 11 - 47c0 - 29 11 - 56 32 - 77s48 - 32 77 - 32h5z " / > <nl> + < glyph glyph - name = " ion - ios - more - outline " unicode = " & # xf469 ; " horiz - adv - x = " 320 " <nl> + d = " M160 210c - 10 0 - 18 - 8 - 18 - 18s8 - 18 18 - 18s18 8 18 18s - 8 18 - 18 18zM160 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32s - 32 14 - 32 32s14 32 32 32zM32 210c - 10 0 - 18 - 8 - 18 - 18s8 - 18 18 - 18s18 8 18 18s - 8 18 - 18 18zM32 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32 <nl> + s - 32 14 - 32 32s14 32 32 32zM288 210c - 10 0 - 18 - 8 - 18 - 18s8 - 18 18 - 18s18 8 18 18s - 8 18 - 18 18zM288 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32s - 32 14 - 32 32s14 32 32 32z " / > <nl> + < glyph glyph - name = " ion - ios - more " unicode = " & # xf46a ; " horiz - adv - x = " 320 " <nl> + d = " M160 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32s - 32 14 - 32 32s14 32 32 32zM32 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32s - 32 14 - 32 32s14 32 32 32zM288 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32s - 32 14 - 32 32s14 32 32 32z " / > <nl> + < glyph glyph - name = " ion - ios - musical - note " unicode = " & # xf46b ; " horiz - adv - x = " 192 " <nl> + d = " M192 346v - 1v - 65c0 - 3 - 3 - 6 - 6 - 5v0l - 73 13v - 192c0 - 33 1 - 80 - 51 - 82c - 48 - 2 - 62 16 - 62 41c0 19 9 39 51 41c22 1 37 1 45 1v273l90 - 19l2 - 1c2 0 3 - 1 4 - 3v0v - 1v0z " / > <nl> + < glyph glyph - name = " ion - ios - musical - notes " unicode = " & # xf46c ; " horiz - adv - x = " 320 " <nl> + d = " M320 128c0 - 34 4 - 80 - 49 - 82c - 49 - 2 - 62 16 - 62 41c0 20 9 39 52 41c23 1 34 2 43 2v160l - 191 - 32v - 161c0 - 34 3 - 81 - 50 - 83c - 49 - 2 - 63 17 - 63 42c0 20 9 39 52 41c23 1 35 1 44 1v237l224 35v - 242z " / > <nl> + < glyph glyph - name = " ion - ios - navigate - outline " unicode = " & # xf46d ; " horiz - adv - x = " 416 " <nl> + d = " M208 384c - 51 0 - 99 - 21 - 135 - 57s - 57 - 84 - 57 - 135s21 - 99 57 - 135s84 - 57 135 - 57s99 21 135 57s57 84 57 135s - 21 99 - 57 135s - 84 57 - 135 57zM208 400v0c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM304 288l - 96 - 224v128h - 128z " / > <nl> + < glyph glyph - name = " ion - ios - navigate " unicode = " & # xf46e ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 64l96 224l - 224 - 96h128v - 128z " / > <nl> + < glyph glyph - name = " ion - ios - nutrition - outline " unicode = " & # xf46f ; " horiz - adv - x = " 384 " <nl> + d = " M294 214v0c6 - 6 10 - 14 10 - 23c0 - 11 - 5 - 20 - 13 - 26v0s - 51 - 37 - 106 - 77l - 38 31c - 2 2 - 4 3 - 6 3c - 1 0 - 2 0 - 3 - 1v0c - 2 - 2 - 2 - 6 1 - 10l29 - 35l - 115 - 84c - 6 - 4 - 13 - 8 - 21 - 8c - 18 0 - 32 14 - 32 32c0 7 1 13 4 18v0c2 2 17 25 37 57l21 - 17c2 - 2 4 - 2 6 - 2c1 0 3 0 4 1v0 <nl> + c2 2 1 6 - 2 10l - 19 23c27 43 60 96 84 134l36 - 30c2 - 2 4 - 3 6 - 3c1 0 2 1 3 2v0c2 2 2 5 - 1 9l - 33 40c11 18 19 29 19 29v0c6 10 15 16 27 16c9 0 18 - 4 24 - 10v0l78 - 79v0v0zM282 178c4 3 6 8 6 13c0 4 - 2 9 - 5 12l - 5 4v1l - 69 69v0l - 5 5c - 3 3 - 8 5 - 12 5 <nl> + c - 6 0 - 10 - 3 - 13 - 8l - 5 - 8c - 2 - 3 - 5 - 7 - 8 - 12l25 - 30v0l1 - 1c8 - 10 8 - 22 0 - 30l - 1 - 1l - 1 - 1c - 4 - 3 - 8 - 5 - 13 - 5s - 11 2 - 16 6v1h - 1l - 21 18l - 24 - 39l - 44 - 70l12 - 14v0v0c8 - 10 8 - 23 0 - 31v0c - 4 - 4 - 9 - 6 - 15 - 6c - 5 0 - 11 2 - 16 6v0v0l - 7 5c - 3 - 5 - 5 - 9 - 8 - 13 <nl> + c - 12 - 19 - 16 - 26 - 18 - 29c - 1 - 3 - 2 - 6 - 2 - 9c0 - 9 7 - 16 16 - 16c3 0 6 2 11 5l101 74l - 18 22h - 1v0c - 8 10 - 8 23 0 31v0v0v0c4 4 10 6 15 6s11 - 2 16 - 6v0h1l28 - 24c49 36 93 68 96 70zM376 333l8 - 14l - 5 - 3l - 103 - 60l - 17 17l71 123l2 4l14 - 8l - 3 - 4l - 63 - 111l91 53z " / > <nl> + < glyph glyph - name = " ion - ios - nutrition " unicode = " & # xf470 ; " horiz - adv - x = " 384 " <nl> + d = " M295 214v0c6 - 6 9 - 13 9 - 22c0 - 11 - 5 - 20 - 13 - 26v0s - 51 - 38 - 106 - 78l - 38 32c - 4 3 - 8 3 - 10 1v0c - 2 - 2 - 2 - 6 1 - 10l29 - 35l - 114 - 84c - 6 - 4 - 13 - 8 - 21 - 8c - 18 0 - 32 14 - 32 32c0 7 2 13 5 18v0c1 2 16 25 36 57l20 - 17c4 - 3 8 - 3 10 - 1v0c2 2 2 6 - 1 10l - 20 23 <nl> + c27 43 60 96 84 134l36 - 30c4 - 3 8 - 3 10 - 1v0c2 2 2 6 - 1 10l - 33 40c11 18 18 29 18 29v0c6 10 16 16 28 16c9 0 18 - 4 24 - 10v0l78 - 79l1 - 1v0zM384 309l - 103 - 59l - 28 29l70 121l28 - 16l - 50 - 85l67 38z " / > <nl> + < glyph glyph - name = " ion - ios - paper - outline " unicode = " & # xf471 ; " horiz - adv - x = " 384 " <nl> + d = " M48 384h336v - 353c0 - 17 - 14 - 31 - 31 - 31h - 322c - 17 0 - 31 14 - 31 31v305h32v - 16h - 16v - 289c0 - 8 7 - 15 15 - 15h322c8 0 15 7 15 15v337h - 304v - 320h - 16v320v16zM96 320v16h128v - 16h - 128zM96 240v16h240v - 16h - 240zM96 160v16h192v - 16h - 192zM96 80v16h240v - 16h - 240z " / > <nl> + < glyph glyph - name = " ion - ios - paper " unicode = " & # xf472 ; " horiz - adv - x = " 384 " <nl> + d = " M48 384h336v - 353c0 - 17 - 14 - 31 - 31 - 31h - 322c - 17 0 - 31 14 - 31 31v305h32v - 288h16v288v32v16zM96 336v - 16h128v16h - 128zM96 176v - 16h192v16h - 192zM336 80v16h - 240v - 16h240zM336 240v16h - 240v - 16h240z " / > <nl> + < glyph glyph - name = " ion - ios - paperplane - outline " unicode = " & # xf473 ; " horiz - adv - x = " 320 " <nl> + d = " M0 198l320 154l - 146 - 320l - 57 115zM132 152l41 - 83l115 249zM286 320l - 248 - 121l83 - 36z " / > <nl> + < glyph glyph - name = " ion - ios - paperplane " unicode = " & # xf474 ; " horiz - adv - x = " 320 " <nl> + d = " M0 198l320 154l - 214 - 200zM320 352l - 146 - 320l - 52 104z " / > <nl> + < glyph glyph - name = " ion - ios - partlysunny - outline " unicode = " & # xf475 ; " horiz - adv - x = " 384 " <nl> + d = " M144 298v54h16v - 54h - 16zM0 192v16h55v - 16h - 55zM44 299l10 11l32 - 32l - 11 - 11zM223 268l - 11 11l32 32l11 - 11zM56 96l - 10 11l31 31l11 - 11zM129 153c - 4 - 3 - 8 - 7 - 12 - 12c - 23 12 - 39 36 - 39 63c0 39 32 71 71 71c21 0 40 - 10 53 - 25c - 4 - 2 - 9 - 4 - 14 - 8 <nl> + c - 10 11 - 23 17 - 39 17c - 30 0 - 55 - 25 - 55 - 55c0 - 23 15 - 43 35 - 51zM235 208c - 34 0 - 63 - 28 - 63 - 62v - 12s1 - 10 1 - 10c - 5 0 - 12 - 1 - 14 - 1c - 19 - 3 - 33 - 18 - 33 - 37c0 - 10 3 - 19 10 - 26s16 - 11 26 - 11h157c27 0 49 22 49 49s - 22 50 - 49 50c - 2 0 - 4 - 1 - 6 - 1l - 14 - 2l - 3 14 <nl> + c - 3 14 - 11 26 - 22 35s - 25 14 - 39 14zM235 224v0c37 0 68 - 26 76 - 61h8c36 0 65 - 29 65 - 65s - 29 - 66 - 65 - 66h - 157c - 28 0 - 52 24 - 52 53c0 27 21 51 47 53v8c0 43 35 78 78 78z " / > <nl> + < glyph glyph - name = " ion - ios - partlysunny " unicode = " & # xf476 ; " horiz - adv - x = " 384 " <nl> + d = " M144 298v54h16v - 54h - 16zM0 192v16h55v - 16h - 55zM44 299l10 11l32 - 32l - 11 - 11zM223 268l - 11 11l32 32l11 - 11zM56 96l - 10 11l31 31l11 - 11zM235 224v0c37 0 68 - 26 76 - 61h8c36 0 65 - 29 65 - 65s - 29 - 66 - 65 - 66h - 157c - 28 0 - 52 24 - 52 53c0 27 21 51 47 53v8 <nl> + c0 43 35 78 78 78zM201 252l1 - 2v0c - 31 - 5 - 62 - 43 - 62 - 75c0 - 2 1 - 5 1 - 7l - 1 - 1h - 1c - 11 - 6 - 18 - 14 - 22 - 26v1v - 1c - 23 12 - 39 36 - 39 63c0 39 32 71 71 71c21 0 39 - 9 52 - 23z " / > <nl> + < glyph glyph - name = " ion - ios - pause - outline " unicode = " & # xf477 ; " horiz - adv - x = " 256 " <nl> + d = " M63 336h - 47v - 288h47v288zM79 352v0v - 320h - 79v320h79zM240 336h - 47v - 288h47v288zM256 352v0v - 320h - 79v320h79z " / > <nl> + < glyph glyph - name = " ion - ios - pause " unicode = " & # xf478 ; " horiz - adv - x = " 256 " <nl> + d = " M0 32v320h79v - 320h - 79zM177 32v320h79v - 320h - 79z " / > <nl> + < glyph glyph - name = " ion - ios - paw - outline " unicode = " & # xf479 ; " horiz - adv - x = " 384 " <nl> + d = " M380 252c6 - 17 5 - 38 - 3 - 57c - 10 - 25 - 31 - 43 - 51 - 43c - 5 0 - 10 1 - 15 3c - 22 10 - 30 45 - 17 79c10 28 31 46 51 46c5 0 10 - 1 14 - 3c10 - 4 17 - 13 21 - 25zM362 202c6 15 7 31 2 44c - 2 5 - 5 12 - 12 15c - 2 1 - 4 2 - 7 2c - 13 0 - 28 - 15 - 36 - 36c - 9 - 25 - 6 - 50 8 - 56 <nl> + c2 - 1 5 - 1 8 - 1c14 0 29 13 37 32zM90 234c13 - 34 5 - 69 - 17 - 79c - 5 - 2 - 10 - 3 - 15 - 3c - 20 0 - 41 18 - 51 43c - 8 19 - 9 40 - 3 57c4 12 11 21 21 25c4 2 9 3 14 3c20 0 41 - 18 51 - 46zM67 171c14 6 17 31 8 56c - 8 21 - 23 36 - 36 36c - 3 0 - 5 - 1 - 7 - 2c - 7 - 3 - 10 - 10 - 12 - 15 <nl> + c - 5 - 13 - 4 - 29 2 - 44c8 - 19 23 - 32 37 - 32c3 0 6 0 8 1zM134 237c - 28 1 - 52 32 - 56 69c - 2 23 4 45 16 60c8 10 19 17 31 18h6c27 - 1 46 - 29 50 - 67c3 - 24 - 1 - 48 - 13 - 63c - 8 - 9 - 17 - 15 - 28 - 16c - 2 0 - 4 - 1 - 6 - 1zM107 356c - 10 - 12 - 14 - 29 - 12 - 48c3 - 29 21 - 53 40 - 54h3 <nl> + c6 1 12 4 17 10c10 12 12 31 10 51c - 3 29 - 17 52 - 35 53h - 3c - 9 - 1 - 16 - 7 - 20 - 12zM192 208c64 0 128 - 76 128 - 149c0 - 22 - 11 - 40 - 22 - 47c - 13 - 9 - 23 - 12 - 42 - 12c - 23 0 - 29 8 - 40 15c - 8 5 - 14 10 - 24 10s - 16 - 5 - 24 - 10c - 11 - 7 - 17 - 15 - 40 - 15c - 19 0 - 29 3 - 42 12 <nl> + c - 11 7 - 22 25 - 22 47c0 73 64 149 128 149zM290 27c6 4 14 16 14 32c0 30 - 14 64 - 36 91c - 11 13 - 23 24 - 36 31c - 13 8 - 27 11 - 40 11s - 27 - 3 - 40 - 11c - 13 - 7 - 25 - 18 - 36 - 31c - 22 - 27 - 36 - 61 - 36 - 91c0 - 16 8 - 28 14 - 32c11 - 7 18 - 10 34 - 10c14 0 19 4 26 9c2 1 4 3 6 4 <nl> + c9 6 18 12 32 12s23 - 6 32 - 12c2 - 1 4 - 3 6 - 4c7 - 5 12 - 9 26 - 9c16 0 23 3 34 10zM244 238c - 11 1 - 20 7 - 28 16c - 12 15 - 16 39 - 13 63c4 38 23 66 50 67h7c12 - 1 22 - 8 30 - 18c12 - 15 18 - 37 16 - 60c - 4 - 37 - 28 - 67 - 56 - 68h - 6zM219 315c - 2 - 20 0 - 39 10 - 51 <nl> + c5 - 6 11 - 9 17 - 10h3c19 1 38 25 41 54c2 19 - 3 36 - 13 48c - 4 5 - 10 11 - 19 12h - 4c - 18 - 1 - 32 - 24 - 35 - 53z " / > <nl> + < glyph glyph - name = " ion - ios - paw " unicode = " & # xf47a ; " horiz - adv - x = " 384 " <nl> + d = " M380 252c6 - 17 5 - 38 - 3 - 57c - 10 - 25 - 31 - 43 - 51 - 43c - 5 0 - 10 1 - 15 3c - 22 10 - 30 45 - 17 79c10 28 31 46 51 46c5 0 10 - 1 14 - 3c10 - 4 17 - 13 21 - 25zM90 234c13 - 34 5 - 69 - 17 - 79c - 5 - 2 - 10 - 3 - 15 - 3c - 20 0 - 41 18 - 51 43c - 8 19 - 9 40 - 3 57c4 12 11 21 21 25 <nl> + c4 2 9 3 14 3c20 0 41 - 18 51 - 46zM134 237c - 28 1 - 52 32 - 56 69c - 2 23 4 45 16 60c8 10 19 17 31 18h6c27 - 1 46 - 29 50 - 67c3 - 24 - 1 - 48 - 13 - 63c - 8 - 9 - 17 - 15 - 28 - 16c - 2 0 - 4 - 1 - 6 - 1zM192 208c64 0 128 - 76 128 - 149c0 - 22 - 11 - 40 - 22 - 47c - 13 - 9 - 23 - 12 - 42 - 12 <nl> + c - 23 0 - 29 8 - 40 15c - 8 5 - 14 10 - 24 10s - 16 - 5 - 24 - 10c - 11 - 7 - 17 - 15 - 40 - 15c - 19 0 - 29 3 - 42 12c - 11 7 - 22 25 - 22 47c0 73 64 149 128 149zM244 238c - 11 1 - 20 7 - 28 16c - 12 15 - 16 39 - 13 63c4 38 23 66 50 67h7c12 - 1 22 - 8 30 - 18c12 - 15 18 - 37 16 - 60 <nl> + c - 4 - 37 - 28 - 67 - 56 - 68h - 6z " / > <nl> + < glyph glyph - name = " ion - ios - people - outline " unicode = " & # xf47b ; " <nl> + d = " M224 336v0v0zM317 113c11 - 4 - 11 4 0 0c28 - 10 46 - 35 46 - 65h - 28h - 250c0 22 9 42 27 55c15 11 31 12 49 16c7 1 24 5 26 13s1 15 1 23c0 3 0 3 - 2 5c - 4 4 - 6 9 - 8 14c - 2 8 - 3 16 - 4 24c - 9 - 2 - 10 16 - 12 21c - 1 4 - 7 24 3 21c - 3 5 - 4 13 - 5 19c - 2 13 - 2 26 3 39 <nl> + c10 26 37 39 64 38c26 - 1 51 - 16 59 - 42c4 - 12 3 - 26 1 - 39c - 1 - 5 - 2 - 11 - 4 - 15c10 3 4 - 20 3 - 23c - 2 - 5 - 3 - 21 - 12 - 19c - 1 - 10 - 2 - 22 - 7 - 31c - 1 - 2 - 7 - 8 - 7 - 10v - 11c0 - 5 0 - 10 2 - 15s10 - 7 14 - 8c14 - 5 27 - 5 41 - 10zM115 84c - 6 - 6 9 10 0 0c - 6 - 6 - 10 - 12 - 12 - 20h4 <nl> + h238c - 4 15 - 17 27 - 30 33s - 28 4 - 41 9s - 25 9 - 28 25c - 2 11 - 2 22 - 2 33c0 2 7 7 8 9c3 5 4 11 5 17c1 5 0 12 4 15c5 4 7 7 9 13c2 8 3 12 - 1 19c - 3 5 0 8 1 13c3 11 4 24 2 36c - 8 37 - 62 45 - 86 19c - 12 - 13 - 12 - 31 - 9 - 47c1 - 6 6 - 14 3 - 19c - 1 - 3 - 5 - 6 - 4 - 10 <nl> + c2 - 5 2 - 11 4 - 16c2 - 4 4 - 6 7 - 8s3 - 6 3 - 9c1 - 7 2 - 17 6 - 23c3 - 4 8 - 6 8 - 11v - 21c - 1 - 8 - 2 - 18 - 8 - 24c - 7 - 6 - 18 - 10 - 27 - 12c - 11 - 3 - 23 - 3 - 33 - 7c - 8 - 3 - 15 - 8 - 21 - 14zM112 126c - 15 - 7 9 4 0 0c - 9 - 5 - 18 - 11 - 25 - 19c - 1 - 2 - 6 - 11 - 7 - 11h - 25h - 55c0 20 13 34 31 40 <nl> + c6 2 27 4 30 11c2 5 0 11 0 16c - 10 - 1 - 24 1 - 32 7c - 2 2 3 9 4 12l3 12c1 9 1 19 1 28c0 16 - 1 34 8 48c8 13 23 18 38 18c24 0 43 - 13 47 - 37c3 - 16 1 - 32 2 - 48c0 - 8 2 - 16 5 - 24c1 - 2 5 - 7 3 - 9l - 6 - 3c - 5 - 2 - 11 - 3 - 17 - 4c - 1 0 - 8 0 - 9 - 1s0 - 9 0 - 11c0 - 4 1 - 6 5 - 7 <nl> + c6 - 2 19 - 3 23 - 8c2 - 3 1 - 5 - 2 - 5c - 8 - 1 - 15 - 1 - 22 - 5zM71 112c6 10 16 18 26 24c - 9 9 - 5 26 - 4 37c0 2 0 5 2 5h8c6 0 11 1 17 2c - 7 23 0 47 - 5 70c - 3 16 - 15 23 - 31 23c - 17 0 - 27 - 9 - 30 - 25c - 4 - 22 3 - 46 - 4 - 68c9 - 1 17 - 2 26 - 2c1 0 1 - 28 1 - 29 <nl> + c - 1 - 12 - 8 - 18 - 19 - 22c - 12 - 4 - 29 - 3 - 36 - 15h49zM368 96c - 2 8 - 10 14 - 16 19c - 8 6 - 18 13 - 28 15c - 3 1 - 16 - 1 - 13 5c2 4 9 5 13 6s15 2 16 7c0 1 1 14 0 14c - 6 0 - 12 1 - 18 2c - 4 1 - 7 2 - 11 4c - 6 3 - 2 6 0 11c14 32 - 10 88 32 105c15 6 34 5 48 - 3c15 - 9 20 - 27 20 - 44 <nl> + c0 - 20 - 4 - 44 7 - 62c2 - 3 4 - 4 0 - 6c - 2 - 1 - 4 - 1 - 6 - 2l - 12 - 3s - 9 - 1 - 13 - 1c0 - 4 - 2 - 13 1 - 17c6 - 7 21 - 7 29 - 10c18 - 6 31 - 20 31 - 40h - 80zM367 123c4 - 4 - 5 5 0 0s8 - 11 15 - 11h16h28c - 7 12 - 26 11 - 38 16c - 11 4 - 16 12 - 17 24c0 2 - 1 27 1 27c9 0 18 0 26 1 <nl> + c - 7 23 1 47 - 4 70c - 3 15 - 15 23 - 30 23c - 17 0 - 28 - 8 - 31 - 25c - 4 - 23 2 - 46 - 5 - 68c6 - 2 12 - 2 18 - 2s8 1 9 - 5c1 - 11 5 - 28 - 4 - 37c6 - 4 11 - 8 16 - 13z " / > <nl> + < glyph glyph - name = " ion - ios - people " unicode = " & # xf47c ; " <nl> + d = " M317 113c11 - 4 - 11 4 0 0v0zM317 113c28 - 10 46 - 35 46 - 65h - 28h - 250c0 22 9 42 27 55c15 11 31 12 49 16c7 1 24 5 26 13s1 15 1 23c0 3 0 3 - 2 5c - 4 4 - 6 9 - 8 14c - 2 8 - 3 16 - 4 24c - 9 - 2 - 10 16 - 12 21c - 1 4 - 7 24 3 21c - 3 5 - 4 13 - 5 19c - 2 13 - 2 26 3 39 <nl> + c10 26 37 39 64 38c26 - 1 51 - 16 59 - 42c4 - 12 3 - 26 1 - 39c - 1 - 5 - 2 - 11 - 4 - 15c10 3 4 - 20 3 - 23c - 2 - 5 - 3 - 21 - 12 - 19c - 1 - 10 - 2 - 22 - 7 - 31c - 1 - 2 - 7 - 8 - 7 - 10v - 11c0 - 5 0 - 10 2 - 15s10 - 7 14 - 8c14 - 5 27 - 5 41 - 10zM111 126h2h - 1h - 1zM111 126c - 9 - 5 - 17 - 11 - 24 - 19 <nl> + c - 1 - 2 - 6 - 11 - 7 - 11h - 25h - 55c0 20 12 34 30 40c6 2 27 4 30 11c2 5 1 11 1 16c - 10 - 1 - 24 1 - 32 7c - 2 2 3 9 4 12c1 4 2 7 3 11c1 9 1 19 1 28c0 16 - 1 35 8 49c8 13 23 18 38 18c24 0 43 - 13 47 - 37c3 - 16 1 - 32 2 - 48c0 - 8 2 - 16 5 - 24c1 - 2 5 - 7 3 - 9l - 6 - 3 <nl> + c - 5 - 2 - 11 - 3 - 17 - 4c - 1 0 - 8 0 - 9 - 1s0 - 9 0 - 11c0 - 4 1 - 6 5 - 7c6 - 2 19 - 3 23 - 8c2 - 3 1 - 5 - 2 - 5c - 7 - 1 - 14 - 2 - 21 - 5c2 1 2 2 - 1 0c - 8 - 4 - 4 - 2 - 1 0zM417 136c18 - 6 31 - 20 31 - 40h - 80c - 2 8 - 10 14 - 16 19c - 8 6 - 18 13 - 28 15c - 3 1 - 16 - 1 - 13 5c2 4 9 5 13 6 <nl> + s15 2 16 7c0 1 1 14 0 14c - 6 0 - 12 1 - 18 2c - 4 1 - 7 2 - 11 4c - 6 3 - 2 6 0 11c14 32 - 10 88 32 105c15 6 34 5 48 - 3c15 - 9 20 - 27 20 - 44c0 - 20 - 4 - 44 7 - 62c2 - 3 4 - 4 0 - 6c - 2 - 1 - 4 - 1 - 6 - 2l - 12 - 3s - 9 - 1 - 13 - 1c0 - 4 - 2 - 13 1 - 17c6 - 7 21 - 7 29 - 10z " / > <nl> + < glyph glyph - name = " ion - ios - person - outline " unicode = " & # xf47d ; " horiz - adv - x = " 320 " <nl> + d = " M106 246v0v0zM267 84c13 - 5 53 - 20 53 - 52h - 160h - 160c0 32 40 47 53 52s31 6 43 9c7 2 17 5 20 9s1 41 1 41s - 6 10 - 9 18s - 7 32 - 7 32s - 7 0 - 9 12c - 2 13 - 6 17 - 6 27c0 9 5 10 5 10v0s - 4 13 - 5 42c - 1 34 25 68 74 68s75 - 34 74 - 68c - 1 - 29 - 5 - 42 - 5 - 42v0s5 - 1 5 - 10 <nl> + c0 - 10 - 3 - 15 - 6 - 28c - 2 - 12 - 9 - 12 - 9 - 12s - 4 - 23 - 7 - 31s - 9 - 18 - 9 - 18s - 2 - 37 1 - 41s13 - 7 20 - 9c12 - 3 30 - 4 43 - 9zM160 48v0h137c - 2 3 - 4 6 - 8 8c - 7 5 - 16 9 - 27 13c - 7 2 - 17 4 - 26 5c - 6 1 - 10 2 - 15 3c - 3 1 - 21 5 - 29 15c - 4 5 - 6 12 - 6 32c0 10 1 20 1 20v4l2 4 <nl> + c1 2 6 9 8 15c2 5 5 19 6 28c0 0 0 - 1 1 4s8 4 9 8s3 7 5 18s - 5 12 - 5 17c0 4 1 5 1 5v0c0 1 4 14 4 38c0 13 - 5 26 - 14 35c - 11 11 - 25 16 - 44 16c - 18 0 - 34 - 5 - 45 - 16c - 9 - 9 - 13 - 22 - 13 - 35c1 - 24 4 - 37 4 - 38v0s1 - 3 0 - 6c - 1 - 5 - 6 - 5 - 4 - 16s4 - 14 5 - 18s8 - 3 9 - 8 <nl> + s1 - 4 1 - 4c1 - 9 4 - 23 6 - 28c2 - 6 6 - 13 8 - 15l2 - 4v - 4s1 - 10 1 - 20c0 - 20 - 2 - 27 - 6 - 32c - 8 - 10 - 26 - 14 - 29 - 15c - 5 - 1 - 10 - 2 - 16 - 3c - 9 - 1 - 18 - 3 - 25 - 5c - 11 - 4 - 20 - 8 - 27 - 13c - 4 - 2 - 6 - 5 - 8 - 8h137z " / > <nl> + < glyph glyph - name = " ion - ios - person " unicode = " & # xf47e ; " horiz - adv - x = " 320 " <nl> + d = " M267 84c13 - 5 53 - 20 53 - 52h - 160h - 160c0 32 40 47 53 52s31 6 43 9c7 2 17 5 20 9s1 41 1 41s - 6 10 - 9 18s - 7 32 - 7 32s - 7 0 - 9 12c - 2 13 - 6 17 - 6 27c0 9 5 10 5 10v0s - 4 13 - 5 42c - 1 34 25 68 74 68s75 - 34 74 - 68c - 1 - 29 - 5 - 42 - 5 - 42v0s5 - 1 5 - 10 <nl> + c0 - 10 - 3 - 15 - 6 - 28c - 2 - 12 - 9 - 12 - 9 - 12s - 4 - 23 - 7 - 31s - 9 - 18 - 9 - 18s - 2 - 37 1 - 41s13 - 7 20 - 9c12 - 3 30 - 4 43 - 9z " / > <nl> + < glyph glyph - name = " ion - ios - personadd - outline " unicode = " & # xf47f ; " horiz - adv - x = " 320 " <nl> + d = " M320 295v - 14h - 25v - 25h - 14v25h - 25v14h25v25h14v - 25h25zM106 246v0v0zM267 84c13 - 5 53 - 20 53 - 52h - 160h - 160c0 32 40 47 53 52s31 6 43 9c7 2 17 5 20 9s1 41 1 41s - 6 10 - 9 18s - 7 32 - 7 32s - 7 0 - 9 12c - 2 13 - 6 17 - 6 27c0 9 5 10 5 10v0s - 4 13 - 5 42c - 1 34 25 68 74 68 <nl> + s75 - 34 74 - 68c - 1 - 29 - 5 - 42 - 5 - 42v0s5 - 1 5 - 10c0 - 10 - 3 - 15 - 6 - 28c - 2 - 12 - 9 - 12 - 9 - 12s - 4 - 23 - 7 - 31s - 9 - 18 - 9 - 18s - 2 - 37 1 - 41s13 - 7 20 - 9c12 - 3 30 - 4 43 - 9zM160 48v0h137c - 2 3 - 4 6 - 8 8c - 7 5 - 16 9 - 27 13c - 7 2 - 17 4 - 26 5c - 6 1 - 10 2 - 15 3 <nl> + c - 3 1 - 21 5 - 29 15c - 4 5 - 6 12 - 6 32c0 10 1 20 1 20v4l2 4c1 2 6 9 8 15c2 5 5 19 6 28c0 0 0 - 1 1 4s8 4 9 8s3 7 5 18s - 5 12 - 5 17c0 4 1 5 1 5v0c0 1 4 14 4 38c0 13 - 5 26 - 14 35c - 11 11 - 25 16 - 44 16c - 18 0 - 34 - 5 - 45 - 16c - 9 - 9 - 13 - 22 - 13 - 35c1 - 24 4 - 37 4 - 38 <nl> + v0s1 - 3 0 - 6c - 1 - 5 - 6 - 5 - 4 - 16s4 - 14 5 - 18s8 - 3 9 - 8s1 - 4 1 - 4c1 - 9 4 - 23 6 - 28c2 - 6 6 - 13 8 - 15l2 - 4v - 4s1 - 10 1 - 20c0 - 20 - 2 - 27 - 6 - 32c - 8 - 10 - 26 - 14 - 29 - 15c - 5 - 1 - 10 - 2 - 16 - 3c - 9 - 1 - 18 - 3 - 25 - 5c - 11 - 4 - 20 - 8 - 27 - 13c - 4 - 2 - 6 - 5 - 8 - 8h137z " / > <nl> + < glyph glyph - name = " ion - ios - personadd " unicode = " & # xf480 ; " horiz - adv - x = " 320 " <nl> + d = " M320 295v - 14h - 25v - 25h - 14v25h - 25v14h25v25h14v - 25h25zM267 84c13 - 5 53 - 20 53 - 52h - 160h - 160c0 32 40 47 53 52s31 6 43 9c7 2 17 5 20 9s1 41 1 41s - 6 10 - 9 18s - 7 32 - 7 32s - 7 0 - 9 12c - 2 13 - 6 17 - 6 27c0 9 5 10 5 10v0s - 4 13 - 5 42c - 1 34 25 68 74 68 <nl> + s75 - 34 74 - 68c - 1 - 29 - 5 - 42 - 5 - 42v0s5 - 1 5 - 10c0 - 10 - 3 - 15 - 6 - 28c - 2 - 12 - 9 - 12 - 9 - 12s - 4 - 23 - 7 - 31s - 9 - 18 - 9 - 18s - 2 - 37 1 - 41s13 - 7 20 - 9c12 - 3 30 - 4 43 - 9z " / > <nl> + < glyph glyph - name = " ion - ios - photos - outline " unicode = " & # xf481 ; " <nl> + d = " M64 320h384v - 320h - 384v320zM432 16v288h - 352v - 288h352zM0 384h384v - 48h - 16v32h - 352v - 288h32v - 16h - 48v320z " / > <nl> + < glyph glyph - name = " ion - ios - photos " unicode = " & # xf482 ; " <nl> + d = " M64 320h384v - 320h - 384v320zM384 384v - 48h - 336v - 272h - 48v320h384z " / > <nl> + < glyph glyph - name = " ion - ios - pie - outline " unicode = " & # xf483 ; " <nl> + d = " M32 176h208v208c5 0 11 - 1 16 - 1c17 - 1 33 - 4 49 - 9c24 - 8 46 - 21 65 - 36c47 - 38 78 - 96 78 - 162c0 - 115 - 93 - 208 - 208 - 208c - 66 0 - 124 31 - 162 78c - 15 19 - 28 41 - 36 65c - 5 16 - 8 32 - 9 49c0 5 - 1 11 - 1 16zM49 160c2 - 20 6 - 40 14 - 59c7 - 16 15 - 30 26 - 44 <nl> + c5 - 6 10 - 12 15 - 17c12 - 12 24 - 22 38 - 30c7 - 4 15 - 8 23 - 11c24 - 10 49 - 15 75 - 15s51 5 75 15c23 10 43 23 61 41s31 38 41 61c10 24 15 49 15 75s - 5 51 - 15 75c - 3 8 - 8 15 - 12 22c - 8 14 - 17 27 - 29 39c - 5 5 - 11 10 - 17 15c - 14 11 - 28 19 - 44 26c - 19 8 - 39 12 - 59 14v - 191 <nl> + v - 16h - 16h - 191zM0 208c0 115 93 208 208 208c5 0 11 - 1 16 - 1v - 207v - 16h - 16h - 207c0 5 - 1 11 - 1 16zM16 208h192v192c - 26 0 - 51 - 5 - 75 - 15c - 23 - 10 - 43 - 23 - 61 - 41s - 31 - 38 - 41 - 61c - 10 - 24 - 15 - 49 - 15 - 75z " / > <nl> + < glyph glyph - name = " ion - ios - pie " unicode = " & # xf484 ; " <nl> + d = " M32 176h208v208c5 0 11 - 1 16 - 1c17 - 1 33 - 4 49 - 9c24 - 8 46 - 21 65 - 36c47 - 38 78 - 96 78 - 162c0 - 115 - 93 - 208 - 208 - 208c - 66 0 - 124 31 - 162 78c - 15 19 - 28 41 - 36 65c - 5 16 - 8 32 - 9 49c0 5 - 1 11 - 1 16zM0 208c0 115 93 208 208 208c5 0 11 - 1 16 - 1v - 207v - 16h - 16 <nl> + h - 207c0 5 - 1 11 - 1 16z " / > <nl> + < glyph glyph - name = " ion - ios - pint - outline " unicode = " & # xf485 ; " horiz - adv - x = " 224 " <nl> + d = " M224 278c0 - 98 - 32 - 101 - 32 - 181c0 - 40 16 - 71 16 - 99c0 - 27 - 9 - 30 - 32 - 30h - 128c - 23 0 - 32 2 - 32 29c0 28 16 60 16 100c0 80 - 32 83 - 32 181c0 21 1 89 19 125c4 9 13 13 32 13h122c19 0 28 - 4 32 - 13c18 - 36 19 - 104 19 - 125zM34 396c - 8 - 16 - 14 - 43 - 17 - 76h190 <nl> + c - 3 33 - 9 60 - 17 76c - 1 2 - 1 1 - 2 2c - 2 1 - 6 2 - 15 2h - 122c - 9 0 - 13 - 1 - 15 - 2c - 1 - 1 - 1 0 - 2 - 2zM191 - 15c0 1 1 5 1 13c0 11 - 4 23 - 7 37c - 4 18 - 9 39 - 9 62c0 41 8 64 16 86c8 23 16 46 16 95c0 9 - 1 18 - 1 26h - 190c0 - 8 - 1 - 17 - 1 - 26c0 - 49 8 - 72 16 - 95 <nl> + c8 - 22 16 - 45 16 - 86c0 - 23 - 5 - 44 - 9 - 62c - 3 - 14 - 7 - 26 - 7 - 37c0 - 8 1 - 12 1 - 13c2 - 1 7 - 1 15 - 1h128c8 0 13 0 15 1z " / > <nl> + < glyph glyph - name = " ion - ios - pint " unicode = " & # xf486 ; " horiz - adv - x = " 224 " <nl> + d = " M224 278c0 - 98 - 32 - 101 - 32 - 181c0 - 40 16 - 71 16 - 99c0 - 27 - 9 - 30 - 32 - 30h - 128c - 23 0 - 32 2 - 32 29c0 28 16 60 16 100c0 80 - 32 83 - 32 181c0 21 1 89 19 125c4 9 13 13 32 13h122c19 0 28 - 4 32 - 13c18 - 36 19 - 104 19 - 125zM34 396c - 8 - 16 - 14 - 43 - 17 - 76h190 <nl> + c - 3 33 - 9 60 - 17 76c - 1 2 - 1 1 - 2 2c - 2 1 - 6 2 - 15 2h - 122c - 9 0 - 13 - 1 - 15 - 2c - 1 - 1 - 1 0 - 2 - 2z " / > <nl> + < glyph glyph - name = " ion - ios - play - outline " unicode = " & # xf487 ; " horiz - adv - x = " 256 " <nl> + d = " M16 323v - 262l210 131zM0 352v0l256 - 160l - 256 - 160v320z " / > <nl> + < glyph glyph - name = " ion - ios - play " unicode = " & # xf488 ; " horiz - adv - x = " 256 " <nl> + d = " M0 352v0l256 - 160l - 256 - 160v320z " / > <nl> + < glyph glyph - name = " ion - ios - plus - empty " unicode = " & # xf489 ; " horiz - adv - x = " 256 " <nl> + d = " M256 183h - 120v - 119h - 17v119h - 119v17h119v120h17v - 120h120v - 17z " / > <nl> + < glyph glyph - name = " ion - ios - plus - outline " unicode = " & # xf48a ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 1c105 0 191 86 191 191s - 86 191 - 191 191s - 191 - 86 - 191 - 191s86 - 191 191 - 191zM216 320v - 120h120v - 17h - 120v - 119h - 17v119h - 119v17h119v120h17z " / > <nl> + < glyph glyph - name = " ion - ios - plus " unicode = " & # xf48b ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM336 183v17h - 120v120h - 17v - 120h - 119v - 17h119v - 119h17v119h120z " / > <nl> + < glyph glyph - name = " ion - ios - pricetag - outline " unicode = " & # xf48c ; " horiz - adv - x = " 416 " <nl> + d = " M416 416v - 160l - 256 - 288l - 160 160l256 288h160zM400 264v136h - 136l - 240 - 272l136 - 136zM320 288c - 18 0 - 32 14 - 32 32s14 32 32 32s32 - 14 32 - 32s - 14 - 32 - 32 - 32zM320 336c - 9 0 - 16 - 7 - 16 - 16s7 - 16 16 - 16s16 7 16 16s - 7 16 - 16 16z " / > <nl> + < glyph glyph - name = " ion - ios - pricetag " unicode = " & # xf48d ; " horiz - adv - x = " 416 " <nl> + d = " M304 320c0 11 5 16 16 16s16 - 5 16 - 16s - 5 - 16 - 16 - 16s - 16 5 - 16 16zM256 416h160v - 160l - 256 - 288l - 160 160zM320 288c9 0 16 4 22 10s10 13 10 22s - 4 16 - 10 22s - 13 10 - 22 10s - 16 - 4 - 22 - 10s - 10 - 13 - 10 - 22s4 - 16 10 - 22s13 - 10 22 - 10z " / > <nl> + < glyph glyph - name = " ion - ios - pricetags - outline " unicode = " & # xf48e ; " <nl> + d = " M416 384h32v - 144l - 240 - 272l - 25 24l - 23 - 24l - 160 160l256 288h160v - 32zM160 - 9l12 12l11 12l217 248v105v16v16h - 137l - 241 - 272zM432 247v121h - 16v - 112l - 221 - 253l13 - 12zM320 288c - 18 0 - 32 14 - 32 32s14 32 32 32s32 - 14 32 - 32s - 14 - 32 - 32 - 32zM320 336 <nl> + c - 9 0 - 16 - 7 - 16 - 16s7 - 16 16 - 16s16 7 16 16s - 7 16 - 16 16z " / > <nl> + < glyph glyph - name = " ion - ios - pricetags " unicode = " & # xf48f ; " <nl> + d = " M432 384h16v - 144l - 240 - 272l - 13 13l237 266v137zM256 416h160v - 32v - 16v - 112l - 221 - 253l - 12 - 11l - 23 - 24l - 160 160zM320 288c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM304 320c0 11 5 16 16 16s16 - 5 16 - 16s - 5 - 16 - 16 - 16s - 16 5 - 16 16z " / > <nl> + < glyph glyph - name = " ion - ios - printer - outline " unicode = " & # xf490 ; " horiz - adv - x = " 416 " <nl> + d = " M384 336c18 0 32 - 13 32 - 31v - 159c0 - 18 - 14 - 32 - 32 - 32h - 48v - 114h - 256v114h - 48c - 18 0 - 32 14 - 32 32v159c0 18 14 31 32 31h32v48h288v - 48h32zM80 368v - 32h256v32h - 256zM320 16v192h - 224v - 192h224zM400 146v159c0 9 - 7 15 - 16 15v0h - 352c - 9 0 - 16 - 6 - 16 - 15v - 159 <nl> + c0 - 9 7 - 16 16 - 16h48v94h256v - 94h48c9 0 16 7 16 16z " / > <nl> + < glyph glyph - name = " ion - ios - printer " unicode = " & # xf491 ; " horiz - adv - x = " 416 " <nl> + d = " M80 0v224h256v - 224h - 256zM80 - 0v224h256v - 224h - 256zM64 352v32h288v - 32h - 288zM385 336c18 0 31 - 14 31 - 31v - 158c0 - 17 - 13 - 34 - 31 - 34h - 33v126h - 288v - 126h - 31c - 18 0 - 33 17 - 33 34v158c0 17 15 31 33 31h352z " / > <nl> + < glyph glyph - name = " ion - ios - pulse - strong " unicode = " & # xf492 ; " horiz - adv - x = " 480 " <nl> + d = " M432 175c27 0 48 - 20 48 - 47s - 21 - 49 - 48 - 49c - 21 0 - 38 13 - 45 31h - 51c - 7 0 - 13 4 - 15 11l - 16 47l - 50 - 173c - 2 - 7 - 8 - 11 - 15 - 11h - 1c - 7 0 - 14 5 - 15 12l - 51 308l - 45 - 182c - 2 - 7 - 9 - 12 - 16 - 12h - 112v32h99l61 245c2 7 8 13 16 13s15 - 7 16 - 14l52 - 314l45 155 <nl> + c2 7 8 11 15 11v0c7 0 13 - 4 15 - 11l29 - 85h38c6 19 25 33 46 33z " / > <nl> + < glyph glyph - name = " ion - ios - pulse " unicode = " & # xf493 ; " <nl> + d = " M416 160c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32c - 15 0 - 27 10 - 31 23h - 65c - 3 0 - 7 2 - 8 5l - 23 72l - 57 - 198c - 1 - 3 - 4 - 6 - 8 - 6v0c - 4 0 - 7 3 - 8 7l - 58 346l - 54 - 220c - 1 - 4 - 4 - 6 - 8 - 6h - 96v16h90l62 251c1 4 4 6 8 6s7 - 3 8 - 7l58 - 349l54 190c1 3 4 5 8 5s7 - 2 8 - 5l30 - 91 <nl> + h59c3 14 16 25 31 25z " / > <nl> + < glyph glyph - name = " ion - ios - rainy - outline " unicode = " & # xf494 ; " horiz - adv - x = " 288 " <nl> + d = " M220 269c38 0 68 - 33 68 - 71c0 - 29 - 19 - 56 - 45 - 66l - 55 - 80c - 2 - 2 - 5 - 4 - 8 - 4c - 5 0 - 8 3 - 8 8c0 2 1 4 2 6l46 66v0h - 35l - 31 - 44c - 2 - 2 - 4 - 4 - 7 - 4c - 5 0 - 9 3 - 9 8c0 2 1 3 2 5l25 35h - 37l - 53 - 76c - 2 - 2 - 4 - 4 - 7 - 4c - 5 0 - 9 3 - 9 8c0 2 2 4 3 6l46 66h - 36l - 32 - 44 <nl> + c - 2 - 2 - 4 - 4 - 7 - 4c - 5 0 - 8 3 - 8 8c0 2 1 4 2 6l25 34c - 29 2 - 52 27 - 52 56c0 28 22 58 50 60c0 3 - 1 5 - 1 8c0 46 31 84 82 84c45 0 73 - 31 81 - 68c3 0 5 1 8 1zM220 146c28 0 52 24 52 52s - 24 54 - 52 54h - 6l - 15 - 2l - 3 15c - 3 14 - 11 31 - 23 40c - 12 10 - 26 14 - 41 14 <nl> + c - 36 0 - 66 - 31 - 66 - 67v - 12v - 10c - 6 0 - 12 - 2 - 14 - 2c - 20 - 3 - 35 - 23 - 35 - 43c0 - 10 4 - 20 11 - 27s16 - 12 26 - 12h124v0v0h42z " / > <nl> + < glyph glyph - name = " ion - ios - rainy " unicode = " & # xf495 ; " horiz - adv - x = " 288 " <nl> + d = " M220 269c38 0 68 - 33 68 - 71c0 - 29 - 19 - 56 - 45 - 66l - 55 - 80c - 2 - 2 - 5 - 4 - 8 - 4c - 5 0 - 8 3 - 8 8c0 2 1 4 2 6l46 66v0h - 35l - 31 - 44c - 2 - 2 - 4 - 4 - 7 - 4c - 5 0 - 9 3 - 9 8c0 2 1 3 2 5l25 35h - 37l - 53 - 76c - 2 - 2 - 4 - 4 - 7 - 4c - 5 0 - 9 3 - 9 8c0 2 2 4 3 6l46 66h - 36l - 32 - 44 <nl> + c - 2 - 2 - 4 - 4 - 7 - 4c - 5 0 - 8 3 - 8 8c0 2 1 4 2 6l25 34c - 29 2 - 52 27 - 52 56c0 28 22 58 50 60c0 3 - 1 5 - 1 8c0 46 31 84 82 84c45 0 73 - 31 81 - 68c3 0 5 1 8 1z " / > <nl> + < glyph glyph - name = " ion - ios - recording - outline " unicode = " & # xf496 ; " horiz - adv - x = " 480 " <nl> + d = " M370 304c61 0 110 - 50 110 - 112s - 49 - 112 - 110 - 112h - 260c - 61 0 - 110 50 - 110 112s49 112 110 112s110 - 50 110 - 112c0 - 40 - 21 - 75 - 53 - 95h146c - 32 20 - 53 55 - 53 95c0 62 49 112 110 112zM16 192c0 - 53 42 - 95 94 - 95s93 42 93 95s - 41 95 - 93 95s - 94 - 42 - 94 - 95z <nl> + M370 97c52 0 94 42 94 95s - 42 95 - 94 95s - 93 - 42 - 93 - 95s41 - 95 93 - 95zM368 240c - 26 0 - 48 - 22 - 48 - 48s22 - 48 48 - 48s48 22 48 48s - 22 48 - 48 48zM368 256v0c35 0 64 - 29 64 - 64s - 29 - 64 - 64 - 64s - 64 29 - 64 64s29 64 64 64zM112 240c - 26 0 - 48 - 22 - 48 - 48 <nl> + s22 - 48 48 - 48s48 22 48 48s - 22 48 - 48 48zM112 256v0c35 0 64 - 29 64 - 64s - 29 - 64 - 64 - 64s - 64 29 - 64 64s29 64 64 64z " / > <nl> + < glyph glyph - name = " ion - ios - recording " unicode = " & # xf497 ; " horiz - adv - x = " 480 " <nl> + d = " M370 304c61 0 110 - 50 110 - 112s - 49 - 112 - 110 - 112h - 260c - 61 0 - 110 50 - 110 112s49 112 110 112s110 - 50 110 - 112c0 - 40 - 21 - 76 - 53 - 95h146c - 32 19 - 53 55 - 53 95c0 62 49 112 110 112zM112 128c35 0 64 29 64 64s - 29 64 - 64 64s - 64 - 29 - 64 - 64s29 - 64 64 - 64z <nl> + M368 128c35 0 64 29 64 64s - 29 64 - 64 64s - 64 - 29 - 64 - 64s29 - 64 64 - 64zM368 240c26 0 48 - 22 48 - 48s - 22 - 48 - 48 - 48s - 48 22 - 48 48s22 48 48 48zM112 240c26 0 48 - 22 48 - 48s - 22 - 48 - 48 - 48s - 48 22 - 48 48s22 48 48 48z " / > <nl> + < glyph glyph - name = " ion - ios - redo - outline " unicode = " & # xf498 ; " horiz - adv - x = " 384 " <nl> + d = " M0 48v32c0 17 - 3 83 49 136c35 36 80 53 143 56v80l192 - 128l - 192 - 128v80c - 40 - 1 - 63 - 9 - 87 - 20c - 31 - 14 - 55 - 44 - 75 - 77l - 20 - 31h - 10zM208 256c - 201 0 - 192 - 169 - 192 - 169c48 81 101 105 192 105v - 65l148 97l - 148 97v - 65z " / > <nl> + < glyph glyph - name = " ion - ios - redo " unicode = " & # xf499 ; " horiz - adv - x = " 384 " <nl> + d = " M0 48v32c0 17 - 3 83 49 136c35 36 80 53 143 56v80l192 - 128l - 192 - 128v80c - 40 - 1 - 63 - 9 - 87 - 20c - 31 - 14 - 55 - 44 - 75 - 77l - 20 - 31h - 10z " / > <nl> + < glyph glyph - name = " ion - ios - refresh - empty " unicode = " & # xf49a ; " horiz - adv - x = " 256 " <nl> + d = " M128 64c - 71 0 - 128 57 - 128 128s57 128 128 128v44l96 - 64l - 96 - 56v56c - 60 0 - 108 - 48 - 108 - 108s48 - 108 108 - 108s108 48 108 108h20c0 - 71 - 57 - 128 - 128 - 128z " / > <nl> + < glyph glyph - name = " ion - ios - refresh - outline " unicode = " & # xf49b ; " horiz - adv - x = " 416 " <nl> + d = " M316 192v0h20c0 - 71 - 57 - 128 - 128 - 128s - 128 57 - 128 128s57 128 128 128v44l96 - 64l - 96 - 56v56c - 60 0 - 108 - 48 - 108 - 108s48 - 108 108 - 108s108 48 108 108zM208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 1 <nl> + c105 0 191 86 191 191s - 86 191 - 191 191s - 191 - 86 - 191 - 191s86 - 191 191 - 191z " / > <nl> + < glyph glyph - name = " ion - ios - refresh " unicode = " & # xf49c ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM208 64c71 0 128 57 128 128h - 20c0 - 60 - 48 - 108 - 108 - 108s - 108 48 - 108 108s48 108 108 108v - 56l96 56l - 96 64v - 44c - 71 0 - 128 - 57 - 128 - 128s57 - 128 128 - 128z " / > <nl> + < glyph glyph - name = " ion - ios - reload " unicode = " & # xf49d ; " <nl> + d = " M192 384c106 0 192 - 86 192 - 192l55 53l9 - 9l - 70 - 68l - 67 68l9 9l51 - 52c0 98 - 80 178 - 179 178s - 179 - 80 - 179 - 179s80 - 179 179 - 179c79 0 146 50 170 121l12 - 3c - 26 - 76 - 97 - 131 - 182 - 131c - 106 0 - 192 86 - 192 192s86 192 192 192z " / > <nl> + < glyph glyph - name = " ion - ios - reverse - camera - outline " unicode = " & # xf49e ; " horiz - adv - x = " 384 " <nl> + d = " M238 129l2 2l11 - 12l - 2 - 2c - 16 - 14 - 36 - 21 - 57 - 21c - 45 0 - 82 36 - 87 78h - 30l38 50l39 - 50h - 31c5 - 33 35 - 62 71 - 62c17 0 33 6 46 17zM252 249c16 - 14 25 - 37 27 - 57h30l - 38 - 51l - 39 51h31c - 5 35 - 35 64 - 71 64c - 17 0 - 33 - 6 - 46 - 17l - 2 - 2l - 11 12l2 2 <nl> + c16 14 36 21 57 21c22 0 44 - 8 60 - 23zM354 288c18 0 30 - 14 30 - 31v - 176c0 - 17 - 12 - 33 - 30 - 33h - 320c - 18 0 - 34 16 - 34 33v176c0 17 16 31 34 31h13v16h34v - 16h13c32 36 43 48 55 48h88c12 0 23 - 12 55 - 48h62zM368 81v176c0 9 - 5 15 - 14 15h - 62h - 6s - 4 1 - 6 3s - 6 8 - 9 11 <nl> + c - 12 13 - 21 24 - 27 30c - 5 5 - 7 4 - 7 4h - 88s - 1 0 - 6 - 4c - 6 - 5 - 15 - 14 - 26 - 27c - 3 - 4 - 8 - 11 - 11 - 14s - 4 - 3 - 6 - 3h - 6h - 60c - 9 0 - 18 - 7 - 18 - 15v - 176c0 - 9 9 - 17 18 - 17h320c8 0 14 8 14 17z " / > <nl> + < glyph glyph - name = " ion - ios - reverse - camera " unicode = " & # xf49f ; " horiz - adv - x = " 384 " <nl> + d = " M354 288c18 0 30 - 14 30 - 31v - 176c0 - 17 - 12 - 33 - 30 - 33h - 320c - 18 0 - 34 16 - 34 33v176c0 17 16 31 34 31h13v16h34v - 16h13c32 36 43 48 55 48h88c12 0 23 - 12 55 - 48h62zM249 117l2 2l - 11 12l - 2 - 2c - 13 - 11 - 29 - 17 - 46 - 17c - 36 0 - 66 29 - 71 62h31l - 39 50l - 38 - 50h30 <nl> + c5 - 42 42 - 78 87 - 78c21 0 41 7 57 21zM271 141l38 51h - 30c - 2 20 - 11 43 - 27 57c - 16 15 - 38 23 - 60 23c - 21 0 - 41 - 7 - 57 - 21l - 2 - 2l11 - 12l2 2c13 11 29 17 46 17c36 0 66 - 29 71 - 64h - 31z " / > <nl> + < glyph glyph - name = " ion - ios - rewind - outline " unicode = " & # xf4a0 ; " <nl> + d = " M432 293l - 184 - 101l184 - 101v202zM208 292v0l - 176 - 100l176 - 100v95v27v78zM224 320v0v - 123l224 123v - 256l - 224 123v - 123l - 224 128z " / > <nl> + < glyph glyph - name = " ion - ios - rewind " unicode = " & # xf4a1 ; " <nl> + d = " M224 320v0v - 123l224 123v - 256l - 224 123v - 123l - 224 128z " / > <nl> + < glyph glyph - name = " ion - ios - rose - outline " unicode = " & # xf4a2 ; " horiz - adv - x = " 320 " <nl> + d = " M284 295c - 4 - 1 - 9 - 3 - 13 - 4c - 37 - 11 - 71 - 24 - 103 - 39c - 17 - 8 - 24 - 12 - 44 - 24l - 7 - 4c - 31 - 18 - 50 - 33 - 63 - 51c - 15 - 21 - 22 - 45 - 22 - 77c0 - 16 3 - 30 9 - 44c6 - 13 14 - 26 25 - 36c23 - 21 55 - 32 94 - 32s71 11 94 32c11 10 19 23 25 36c6 14 9 28 9 44c0 20 - 5 40 - 11 60 <nl> + c - 11 40 - 23 83 7 139zM320 320v0c - 77 - 96 - 16 - 151 - 16 - 224s - 56 - 128 - 144 - 128s - 144 55 - 144 128s35 109 93 142c25 14 33 19 52 28c30 14 65 28 105 40c17 5 35 10 54 14zM38 325c14 - 28 18 - 57 19 - 83c9 7 20 13 30 20c7 4 14 9 21 13c5 3 10 6 16 9c - 5 4 - 11 7 - 17 11 <nl> + c - 22 13 - 48 23 - 69 30zM0 352v0s66 - 15 115 - 43c15 - 8 28 - 18 37 - 29c - 12 - 6 - 24 - 12 - 36 - 19c - 7 - 4 - 14 - 8 - 20 - 12c - 25 - 16 - 44 - 31 - 57 - 42c5 41 2 98 - 39 145zM249 367c - 8 - 1 - 20 - 2 - 35 - 7c - 25 - 8 - 47 - 20 - 64 - 36c8 - 6 15 - 12 21 - 18c29 12 65 26 95 34 <nl> + c - 5 10 - 12 20 - 17 27zM256 384v0s26 - 32 32 - 55c - 33 - 8 - 84 - 25 - 121 - 42l - 3 3c - 9 11 - 22 22 - 39 32c52 60 131 62 131 62zM85 394c - 6 - 10 - 10 - 20 - 14 - 28c12 - 4 22 - 10 36 - 17c4 5 9 10 14 14c - 13 15 - 27 25 - 36 31zM80 416v0s35 - 16 64 - 56c - 12 - 9 - 23 - 20 - 33 - 31 <nl> + c - 26 13 - 40 21 - 61 27c5 15 15 38 30 60z " / > <nl> + < glyph glyph - name = " ion - ios - rose " unicode = " & # xf4a3 ; " horiz - adv - x = " 320 " <nl> + d = " M320 320v0c - 77 - 96 - 16 - 151 - 16 - 224s - 56 - 128 - 144 - 128s - 144 55 - 144 128s35 109 93 142c25 14 33 19 52 28c30 14 65 28 105 40c17 5 35 10 54 14zM0 352v0s66 - 15 115 - 43c15 - 8 28 - 18 37 - 29c - 12 - 6 - 24 - 12 - 36 - 19c - 7 - 4 - 14 - 8 - 20 - 12 <nl> + c - 25 - 16 - 44 - 31 - 57 - 42c5 41 2 98 - 39 145zM256 384v0s26 - 32 32 - 55c - 33 - 8 - 84 - 25 - 121 - 42l - 3 3c - 9 11 - 22 22 - 39 32c52 60 131 62 131 62zM80 416v0s35 - 16 64 - 56c - 12 - 9 - 23 - 20 - 33 - 31c - 26 13 - 40 21 - 61 27c5 15 15 38 30 60z " / > <nl> + < glyph glyph - name = " ion - ios - search - strong " unicode = " & # xf4a4 ; " horiz - adv - x = " 384 " <nl> + d = " M280 150l - 4 - 7l108 - 109l - 34 - 34l - 108 109l - 7 - 5c - 24 - 15 - 53 - 25 - 83 - 25c - 84 0 - 152 69 - 152 153s68 152 152 152s152 - 68 152 - 152c0 - 30 - 9 - 58 - 24 - 82zM237 317c - 23 23 - 53 35 - 85 35s - 62 - 12 - 85 - 35s - 35 - 53 - 35 - 85s12 - 62 35 - 85s53 - 35 85 - 35s62 12 85 35 <nl> + s36 53 36 85s - 13 62 - 36 85z " / > <nl> + < glyph glyph - name = " ion - ios - search " unicode = " & # xf4a5 ; " horiz - adv - x = " 384 " <nl> + d = " M384 23l - 23 - 23l - 113 113c - 26 - 21 - 60 - 33 - 96 - 33c - 84 0 - 152 68 - 152 152s68 152 152 152s152 - 68 152 - 152c0 - 36 - 12 - 69 - 33 - 95zM56 135c26 - 26 60 - 39 96 - 39s70 14 96 40s40 60 40 96s - 14 70 - 40 96s - 60 40 - 96 40s - 70 - 14 - 96 - 40s - 40 - 60 - 40 - 96 <nl> + s14 - 71 40 - 97z " / > <nl> + < glyph glyph - name = " ion - ios - settings - strong " unicode = " & # xf4a6 ; " <nl> + d = " M0 72h283c6 14 21 24 37 24s31 - 10 37 - 24h91v - 32h - 91c - 6 - 14 - 21 - 24 - 37 - 24s - 31 10 - 37 24h - 283zM0 208h91c6 14 21 24 37 24s31 - 10 37 - 24h283v - 32h - 283c - 6 - 14 - 21 - 24 - 37 - 24s - 31 10 - 37 24h - 91zM0 344h283c6 14 21 24 37 24s31 - 10 37 - 24h91v - 32h - 91 <nl> + c - 6 - 14 - 21 - 24 - 37 - 24s - 31 10 - 37 24h - 283z " / > <nl> + < glyph glyph - name = " ion - ios - settings " unicode = " & # xf4a7 ; " <nl> + d = " M320 344c - 9 0 - 16 - 7 - 16 - 16s7 - 16 16 - 16s16 7 16 16s - 7 16 - 16 16zM320 360v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32s - 32 14 - 32 32s14 32 32 32zM320 72c - 9 0 - 16 - 7 - 16 - 16s7 - 16 16 - 16s16 7 16 16s - 7 16 - 16 16zM320 88v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32 <nl> + s - 32 14 - 32 32s14 32 32 32zM128 208c - 9 0 - 16 - 7 - 16 - 16s7 - 16 16 - 16s16 7 16 16s - 7 16 - 16 16zM128 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32s - 32 14 - 32 32s14 32 32 32zM175 200h273v - 16h - 273c0 3 1 5 1 8s - 1 5 - 1 8zM80 192c0 - 3 1 - 5 1 - 8h - 81v16h81 <nl> + c0 - 3 - 1 - 5 - 1 - 8zM367 64h81v - 16h - 81c0 3 1 5 1 8s - 1 5 - 1 8zM272 56c0 - 3 1 - 5 1 - 8h - 273v16h273c0 - 3 - 1 - 5 - 1 - 8zM367 336h81v - 16h - 81c0 3 1 5 1 8s - 1 5 - 1 8zM273 336c0 - 3 - 1 - 5 - 1 - 8s1 - 5 1 - 8h - 273v16h273z " / > <nl> + < glyph glyph - name = " ion - ios - shuffle - strong " unicode = " & # xf4a8 ; " horiz - adv - x = " 384 " <nl> + d = " M301 296c - 85 0 - 119 - 64 - 152 - 126c - 1 - 3 - 3 - 5 - 4 - 8l - 1 - 1c - 2 - 3 - 2 - 5 - 4 - 8c - 21 - 38 - 43 - 68 - 68 - 83c - 15 - 9 - 34 - 18 - 72 - 18v32c45 0 76 18 112 84c2 3 2 6 4 9h1c1 2 3 4 4 7c34 64 76 144 180 144h15l - 52 43l21 25l99 - 84l - 99 - 82l - 21 24l51 42h - 14zM285 154 <nl> + l99 - 82l - 99 - 84l - 21 25l52 43h - 15c - 78 0 - 122 45 - 153 95l18 33c29 - 51 64 - 96 135 - 96h14l - 51 42zM112 216c - 36 66 - 67 84 - 112 84v32c38 0 57 - 9 72 - 18c25 - 15 47 - 44 67 - 81c - 7 - 11 - 13 - 22 - 19 - 33c - 1 2 - 2 5 - 3 7h - 1c - 2 3 - 2 6 - 4 9z " / > <nl> + < glyph glyph - name = " ion - ios - shuffle " unicode = " & # xf4a9 ; " horiz - adv - x = " 384 " <nl> + d = " M298 241l - 10 12l62 51h - 46c - 93 0 - 129 - 75 - 164 - 139c - 2 - 3 - 3 - 6 - 5 - 9c - 20 - 37 - 41 - 61 - 65 - 75c - 14 - 8 - 33 - 17 - 70 - 17v16c48 0 83 14 121 84c2 3 3 6 5 9c35 65 75 147 178 147h46l - 62 52l10 12l86 - 72zM135 228c0 - 1 1 - 2 1 - 3c - 3 - 5 - 6 - 11 - 9 - 16c0 1 - 1 1 - 1 2 <nl> + c - 2 3 - 3 6 - 5 9c - 38 70 - 73 84 - 121 84v16c37 0 56 - 9 70 - 17c24 - 14 45 - 38 65 - 75zM298 143l86 - 71l - 86 - 72l - 10 12l62 52h - 46c - 76 0 - 118 45 - 149 95c1 2 2 5 3 7c2 3 4 7 6 10c30 - 50 67 - 96 140 - 96h46l - 62 51z " / > <nl> + < glyph glyph - name = " ion - ios - skipbackward - outline " unicode = " & # xf4aa ; " horiz - adv - x = " 320 " <nl> + d = " M0 352h79v - 142l241 142v - 320l - 241 142v - 142h - 79v320zM80 192l7 - 4l217 - 128v264v0l - 217 - 128zM16 336v - 288h47v126v8v28v126h - 47z " / > <nl> + < glyph glyph - name = " ion - ios - skipbackward " unicode = " & # xf4ab ; " horiz - adv - x = " 320 " <nl> + d = " M0 352h79v - 142l241 142v - 320l - 241 142v - 142h - 79v320z " / > <nl> + < glyph glyph - name = " ion - ios - skipforward - outline " unicode = " & # xf4ac ; " horiz - adv - x = " 320 " <nl> + d = " M241 352h79v - 320h - 79v142l - 241 - 142v320l241 - 142v142zM233 188l7 4l - 7 4l - 217 128v0v - 264zM304 48v288h - 47v - 126v - 28v - 8v - 126h47z " / > <nl> + < glyph glyph - name = " ion - ios - skipforward " unicode = " & # xf4ad ; " horiz - adv - x = " 320 " <nl> + d = " M241 352h79v - 320h - 79v142l - 241 - 142v320l241 - 142v142z " / > <nl> + < glyph glyph - name = " ion - ios - snowy " unicode = " & # xf4ae ; " horiz - adv - x = " 256 " <nl> + d = " M252 131c4 - 2 5 - 7 3 - 11s - 7 - 5 - 11 - 3l - 29 17c - 2 - 8 - 2 - 16 0 - 24c1 - 4 - 3 - 9 - 7 - 10s - 8 2 - 9 6c - 2 12 - 3 24 1 36l - 64 36v - 73c11 - 3 22 - 8 31 - 16c3 - 3 4 - 8 1 - 11s - 8 - 4 - 11 - 1c - 6 5 - 13 10 - 21 12v - 33c0 - 4 - 4 - 8 - 8 - 8s - 8 4 - 8 8v33c - 8 - 2 - 15 - 7 - 21 - 12 <nl> + c - 3 - 3 - 8 - 2 - 11 1s - 3 8 0 11c9 8 20 13 32 16v73l - 65 - 36c4 - 12 4 - 23 2 - 35c - 1 - 4 - 5 - 8 - 9 - 7s - 8 6 - 7 10c2 8 2 16 0 24l - 29 - 17c - 4 - 2 - 9 - 1 - 11 3s - 1 9 3 11l29 16c - 6 6 - 13 10 - 21 13c - 4 1 - 6 6 - 5 10c2 4 6 6 10 5c12 - 4 22 - 11 30 - 19l65 36l - 65 37 <nl> + c - 8 - 9 - 18 - 15 - 30 - 19c - 4 - 1 - 9 0 - 10 4s1 10 5 11c8 3 15 6 21 12l - 29 16c - 4 2 - 5 7 - 3 11s7 5 11 3l29 - 16c2 8 2 15 0 23c - 1 4 3 9 7 10s8 - 2 9 - 6c2 - 12 1 - 25 - 2 - 36l65 - 36v73c - 12 3 - 23 8 - 32 16c - 3 3 - 3 8 0 11s8 4 11 1c6 - 5 13 - 10 21 - 12v33c0 4 4 8 8 8 <nl> + s8 - 4 8 - 8v - 33c8 2 15 7 21 12c3 3 8 2 11 - 1s2 - 8 - 1 - 11c - 9 - 8 - 20 - 13 - 31 - 16v - 73l64 36c - 3 11 - 4 24 - 2 36c1 4 6 7 10 6s7 - 6 6 - 10c - 2 - 8 - 1 - 15 1 - 23l29 16c4 2 9 1 11 - 3s1 - 9 - 3 - 11l - 29 - 16c6 - 6 13 - 10 21 - 13c4 - 1 6 - 6 5 - 10s - 6 - 6 - 10 - 5 <nl> + c - 12 4 - 23 10 - 31 19l - 64 - 36l64 - 36c8 8 19 15 31 19c4 1 9 - 1 10 - 5s - 1 - 9 - 5 - 10c - 8 - 3 - 15 - 7 - 21 - 13z " / > <nl> + < glyph glyph - name = " ion - ios - speedometer - outline " unicode = " & # xf4af ; " <nl> + d = " M448 163v0v0c0 - 63 - 27 - 120 - 70 - 160l - 2 - 3l - 37 37l11 11l26 - 25c16 17 28 36 38 57c10 23 17 47 18 72h - 32v16h32c - 1 26 - 6 51 - 16 75c - 9 22 - 22 42 - 38 59l - 28 - 28l - 6 6l - 5 5v0h - 1l28 28c - 18 17 - 38 30 - 61 40s - 48 14 - 73 15v - 37h - 16v37c - 25 - 1 - 50 - 5 - 73 - 15 <nl> + s - 43 - 23 - 61 - 40l27 - 28v0v0l - 5 - 5l - 6 - 6l - 28 28c - 16 - 17 - 29 - 37 - 38 - 59c - 10 - 24 - 15 - 49 - 16 - 75h32v - 16h - 32c1 - 25 8 - 49 18 - 72c9 - 21 22 - 40 38 - 57l25 25l12 - 11l - 37 - 37v1c - 44 40 - 72 97 - 72 161v1v0c0 122 100 221 224 221v0v0h1c124 0 223 - 99 223 - 221zM208 193 <nl> + l110 68l10 - 11l - 82 - 94l - 1 - 1c - 5 - 6 - 13 - 10 - 21 - 10c - 15 0 - 27 11 - 27 26c0 8 4 15 9 20z " / > <nl> + < glyph glyph - name = " ion - ios - speedometer " unicode = " & # xf4b0 ; " <nl> + d = " M224 384c124 0 224 - 99 224 - 221c0 - 64 - 28 - 122 - 72 - 163h - 304c - 44 41 - 72 99 - 72 163c0 122 100 221 224 221zM246 156l82 94l - 10 11l - 110 - 68l - 2 - 2c - 5 - 5 - 9 - 12 - 9 - 20c0 - 15 12 - 26 27 - 26c8 0 16 4 21 10zM372 18c35 35 60 87 60 145v0v1c0 84 - 52 157 - 125 188 <nl> + c - 25 11 - 54 16 - 83 16v0v0v0c - 29 0 - 57 - 5 - 82 - 16c - 72 - 30 - 126 - 104 - 126 - 188v0v - 1c0 - 50 21 - 109 62 - 146l1 - 1l15 15l19 19l - 11 10l - 23 - 23c - 15 16 - 23 31 - 32 50c - 10 21 - 15 43 - 16 67h29v15h - 29c0 23 5 47 15 69c9 20 20 38 35 54l26 - 26l5 5l5 5v0v0l - 25 26 <nl> + c17 16 36 28 57 37c22 9 44 13 68 14v - 35h14v35c24 - 1 46 - 5 68 - 14c21 - 9 40 - 21 57 - 37l - 26 - 26h1v0l5 - 5l5 - 5l26 26c15 - 16 26 - 34 35 - 54c10 - 22 14 - 46 15 - 69h - 29v - 15h29c - 1 - 24 - 6 - 46 - 16 - 67c - 9 - 19 - 17 - 34 - 32 - 50l - 23 24l - 11 - 11l19 - 19l15 - 15z " / > <nl> + < glyph glyph - name = " ion - ios - star - half " unicode = " & # xf4b1 ; " <nl> + d = " M140 143l - 140 98h171l53 159l53 - 159h171l - 140 - 98l54 - 159l - 138 99l - 138 - 99zM224 347v - 244l107 - 76l - 43 122l108 75h - 131z " / > <nl> + < glyph glyph - name = " ion - ios - star - outline " unicode = " & # xf4b2 ; " <nl> + d = " M448 241l - 140 - 98l54 - 159l - 138 99l - 138 - 99l54 159l - 140 98h171l53 159l53 - 159h171zM331 27l - 43 122l108 75h - 131l - 41 123l - 41 - 123h - 131l108 - 75l - 43 - 122l107 76z " / > <nl> + < glyph glyph - name = " ion - ios - star " unicode = " & # xf4b3 ; " <nl> + d = " M448 241l - 140 - 98l54 - 159l - 138 99l - 138 - 99l54 159l - 140 98h171l53 159l53 - 159h171z " / > <nl> + < glyph glyph - name = " ion - ios - stopwatch - outline " unicode = " & # xf4b4 ; " horiz - adv - x = " 384 " <nl> + d = " M334 301c32 - 35 50 - 80 50 - 128c0 - 104 - 86 - 189 - 192 - 189s - 192 85 - 192 189c0 48 18 94 51 129l1 1h - 18l - 8 - 8l - 23 23l41 40l23 - 22l - 9 - 9v - 18c31 30 72 50 116 53h2v38h32v - 38c43 - 4 82 - 21 113 - 49l5 - 5v19l - 9 9l23 22l41 - 40l - 22 - 23l - 9 8h - 18zM192 2 <nl> + c96 0 173 77 173 171s - 77 171 - 173 171c - 95 0 - 173 - 77 - 173 - 171s77 - 171 173 - 171zM200 191c14 - 4 24 - 17 24 - 31c0 - 15 - 10 - 26 - 24 - 30l - 8 - 18v0l - 8 18c - 14 4 - 24 15 - 24 30c0 14 12 27 24 31v129h16v - 129z " / > <nl> + < glyph glyph - name = " ion - ios - stopwatch " unicode = " & # xf4b5 ; " horiz - adv - x = " 384 " <nl> + d = " M334 301c32 - 35 50 - 80 50 - 128c0 - 104 - 86 - 189 - 192 - 189s - 192 85 - 192 189c0 48 18 94 51 129l1 1h - 18l - 8 - 8l - 23 23l41 40l23 - 22l - 9 - 9v - 18c31 30 72 50 116 53h2v38h32v - 38c43 - 4 82 - 21 113 - 49l5 - 5v19l - 9 9l23 22l41 - 40l - 22 - 23l - 9 8h - 18zM200 130 <nl> + c14 4 24 15 24 30c0 14 - 10 27 - 24 31v129h - 16v - 129c - 12 - 4 - 24 - 17 - 24 - 31c0 - 15 10 - 26 24 - 30l8 - 18z " / > <nl> + < glyph glyph - name = " ion - ios - sunny - outline " unicode = " & # xf4b6 ; " horiz - adv - x = " 320 " <nl> + d = " M151 296v56h18v - 56h - 18zM151 32v60h18v - 60h - 18zM264 183v18h56v - 18h - 56zM0 183v18h60v - 18h - 60zM240 130l34 - 34l - 12 - 12l - 33 34zM64 306l34 - 33l - 12 - 12l - 34 34zM229 272l33 34l12 - 12l - 34 - 33zM52 96l34 34l11 - 12l - 33 - 34zM160 116c - 42 0 - 76 34 - 76 76s34 76 76 76 <nl> + s76 - 34 76 - 76s - 34 - 76 - 76 - 76zM160 251c - 32 0 - 59 - 27 - 59 - 59s27 - 59 59 - 59s59 27 59 59s - 27 59 - 59 59z " / > <nl> + < glyph glyph - name = " ion - ios - sunny " unicode = " & # xf4b7 ; " horiz - adv - x = " 320 " <nl> + d = " M151 296v56h18v - 56h - 18zM151 32v60h18v - 60h - 18zM264 183v18h56v - 18h - 56zM0 183v18h60v - 18h - 60zM240 130l34 - 34l - 12 - 12l - 33 34zM64 306l34 - 33l - 12 - 12l - 34 34zM229 272l33 34l12 - 12l - 34 - 33zM52 96l34 34l11 - 12l - 33 - 34zM160 116c - 42 0 - 76 34 - 76 76s34 76 76 76 <nl> + s76 - 34 76 - 76s - 34 - 76 - 76 - 76z " / > <nl> + < glyph glyph - name = " ion - ios - telephone - outline " unicode = " & # xf4b8 ; " horiz - adv - x = " 352 " <nl> + d = " M336 112c16 - 16 26 - 35 0 - 66c - 25 - 30 - 42 - 30 - 64 - 30c - 24 0 - 58 14 - 93 40c - 32 23 - 46 34 - 78 67c - 34 35 - 55 64 - 79 107c - 27 50 - 24 74 - 18 92c4 12 14 24 28 33l1 1c6 4 18 12 32 12c13 0 24 - 6 34 - 18l1 - 1c11 - 14 24 - 31 32 - 47c10 - 21 10 - 38 - 1 - 53 <nl> + c - 9 - 12 - 12 - 19 - 12 - 23s5 - 9 13 - 18l1 - 1c16 - 18 20 - 23 26 - 29c1 - 1 3 - 2 4 - 3l2 - 2c7 - 7 11 - 12 29 - 28l1 - 1c7 - 6 9 - 8 12 - 8c5 0 16 7 29 15c4 3 11 5 17 5c27 0 68 - 29 83 - 44zM324 57c19 22 13 31 1 43c - 13 14 - 50 39 - 72 39c - 3 0 - 6 - 1 - 8 - 2 <nl> + c - 19 - 12 - 28 - 18 - 37 - 18s - 15 6 - 23 13h - 1c - 19 16 - 23 21 - 30 29l - 2 2c - 1 1 - 3 2 - 4 3c - 6 6 - 11 12 - 27 30v1c - 10 11 - 17 18 - 18 28s5 20 16 34c15 20 - 5 48 - 31 79l - 1 1c - 7 8 - 14 12 - 22 12c - 10 0 - 18 - 6 - 23 - 9c - 1 0 - 2 - 1 - 2 - 1c - 11 - 7 - 18 - 16 - 21 - 24 <nl> + c - 5 - 16 - 7 - 35 17 - 79c23 - 42 43 - 70 76 - 104c31 - 32 45 - 42 76 - 64c32 - 23 64 - 38 84 - 38c21 0 32 1 52 25z " / > <nl> + < glyph glyph - name = " ion - ios - telephone " unicode = " & # xf4b9 ; " horiz - adv - x = " 352 " <nl> + d = " M336 112c16 - 16 26 - 35 0 - 66c - 25 - 30 - 42 - 30 - 64 - 30c - 24 0 - 58 14 - 93 40c - 32 23 - 46 34 - 78 67c - 34 35 - 55 64 - 79 107c - 27 50 - 24 74 - 18 92c4 12 14 24 28 33l1 1c6 4 18 12 32 12c13 0 24 - 6 34 - 18l1 - 1c11 - 14 24 - 31 32 - 47c10 - 21 10 - 38 - 1 - 53 <nl> + c - 9 - 12 - 12 - 19 - 12 - 23s5 - 9 13 - 18l1 - 1c16 - 18 20 - 23 26 - 29c1 - 1 3 - 2 4 - 3l2 - 2c7 - 7 11 - 12 29 - 28l1 - 1c7 - 6 9 - 8 12 - 8c5 0 16 7 29 15c4 3 11 5 17 5c27 0 68 - 29 83 - 44z " / > <nl> + < glyph glyph - name = " ion - ios - tennisball - outline " unicode = " & # xf4ba ; " horiz - adv - x = " 416 " <nl> + d = " M416 192v - 8v0c0 - 5 0 - 11 - 1 - 16v0c - 11 - 97 - 90 - 174 - 187 - 183v0h - 4h - 2s - 1 - 1 - 2 - 1h - 3h - 1h - 8c - 115 0 - 208 93 - 208 208s93 208 208 208s208 - 93 208 - 208zM399 192c0 105 - 86 191 - 191 191c - 3 0 - 5 - 1 - 8 - 1c1 - 24 6 - 46 15 - 68c10 - 26 26 - 49 46 - 69s43 - 36 69 - 46 <nl> + c22 - 9 44 - 14 68 - 15c0 3 1 5 1 8zM17 192c0 - 105 86 - 191 191 - 191h4c - 1 22 - 7 45 - 15 66c - 10 26 - 26 48 - 46 68s - 42 36 - 68 46c - 21 8 - 44 14 - 66 15v - 4zM228 2c88 9 158 78 169 166c - 54 3 - 106 25 - 147 66s - 63 93 - 66 147c - 88 - 11 - 157 - 81 - 166 - 169 <nl> + c53 - 3 105 - 25 145 - 65s62 - 92 65 - 145z " / > <nl> + < glyph glyph - name = " ion - ios - tennisball " unicode = " & # xf4bb ; " horiz - adv - x = " 416 " <nl> + d = " M0 196v0v0v0zM212 - 16h1h - 1v0zM208 400c115 0 208 - 93 208 - 208c0 - 8 0 - 16 - 1 - 24v0v0c - 11 - 97 - 90 - 174 - 187 - 183v0v0c - 6 - 1 - 13 - 1 - 20 - 1c - 115 0 - 208 93 - 208 208v4v0v0c0 6 0 11 1 16v0v0c9 97 86 176 183 187v0v0c6 1 11 1 16 1v0v0h8zM83 181 <nl> + c26 - 10 48 - 26 68 - 46s36 - 42 46 - 68c8 - 21 14 - 44 15 - 66c5 0 11 0 16 1c - 3 53 - 25 105 - 65 145s - 92 62 - 145 65c - 1 - 5 - 1 - 11 - 1 - 16c22 - 1 45 - 7 66 - 15zM250 234c41 - 41 93 - 63 147 - 66c1 5 1 11 1 16c - 24 1 - 46 6 - 68 15c - 26 10 - 49 26 - 69 46s - 36 43 - 46 69 <nl> + c - 9 22 - 14 44 - 15 68c - 5 0 - 11 0 - 16 - 1c3 - 54 25 - 106 66 - 147z " / > <nl> + < glyph glyph - name = " ion - ios - thunderstorm - outline " unicode = " & # xf4bc ; " horiz - adv - x = " 274 " <nl> + d = " M193 176l - 88 - 128l29 96h - 52l15 80h72l - 16 - 48h40zM209 275c36 0 65 - 29 65 - 65s - 29 - 66 - 65 - 66h - 8v17h8c27 0 49 22 49 49s - 22 50 - 49 50h - 6l - 14 - 2l - 3 14c - 3 14 - 11 26 - 22 35s - 25 13 - 39 13c - 34 0 - 63 - 27 - 63 - 62v - 12s1 - 9 1 - 9c - 5 0 - 12 - 2 - 14 - 2 <nl> + c - 19 - 3 - 33 - 18 - 33 - 37c0 - 10 3 - 19 10 - 26s16 - 11 26 - 11h11v - 17h - 11c - 28 0 - 52 24 - 52 53c0 27 21 51 47 53v8c0 43 35 78 78 78c37 0 68 - 26 76 - 61h8z " / > <nl> + < glyph glyph - name = " ion - ios - thunderstorm " unicode = " & # xf4bd ; " horiz - adv - x = " 274 " <nl> + d = " M153 176h40l - 22 - 32l - 66 - 96l29 96h - 52l15 80h72zM84 240h107l - 16 - 48h18h30l - 33 - 48h19c36 0 65 30 65 66s - 29 65 - 65 65h - 8c - 8 35 - 39 61 - 76 61c - 43 0 - 78 - 35 - 78 - 78v - 8c - 26 - 2 - 47 - 26 - 47 - 53c0 - 29 24 - 53 52 - 53h14z " / > <nl> + < glyph glyph - name = " ion - ios - time - outline " unicode = " & # xf4be ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM371 45c19 19 35 41 45 66c11 26 16 53 16 81s - 5 55 - 16 81c - 10 25 - 26 47 - 45 66s - 41 35 - 66 45c - 26 11 - 53 16 - 81 16s - 55 - 5 - 81 - 16c - 25 - 10 - 47 - 26 - 66 - 45 <nl> + s - 35 - 41 - 45 - 66c - 11 - 26 - 16 - 53 - 16 - 81s5 - 55 16 - 81c10 - 25 26 - 47 45 - 66s41 - 35 66 - 45c26 - 11 53 - 16 81 - 16s55 5 81 16c25 10 47 26 66 45zM216 368c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM216 16c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM392 192 <nl> + c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM40 192c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM128 344c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM304 40c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM368 280c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8 <nl> + zM64 104c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM64 280c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM368 104c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM304 344c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM128 40c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8 <nl> + s - 8 3 - 8 8zM238 200c4 - 8 2 - 18 - 6 - 22v - 122c0 - 4 - 4 - 8 - 8 - 8s - 8 4 - 8 8v122c - 2 1 - 4 4 - 6 6c - 3 5 - 3 11 0 16l - 37 63c - 2 4 - 1 9 3 11s8 1 10 - 3l38 - 63c5 0 11 - 3 14 - 8z " / > <nl> + < glyph glyph - name = " ion - ios - time " unicode = " & # xf4bf ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM224 376c - 4 0 - 8 - 4 - 8 - 8s4 - 8 8 - 8s8 4 8 8s - 4 8 - 8 8zM48 184c4 0 8 4 8 8s - 4 8 - 8 8s - 8 - 4 - 8 - 8s4 - 8 8 - 8zM76 97c4 2 4 7 2 11s - 6 5 - 10 3s - 5 - 7 - 3 - 11s7 - 5 11 - 3z <nl> + M78 276c2 4 2 9 - 2 11s - 9 1 - 11 - 3s - 1 - 9 3 - 11s8 - 1 10 3zM132 351c - 4 - 2 - 5 - 7 - 3 - 11s7 - 4 11 - 2s5 6 3 10s - 7 5 - 11 3zM143 36c2 4 1 8 - 3 10s - 9 2 - 11 - 2s - 1 - 9 3 - 11s9 - 1 11 3zM224 8c4 0 8 4 8 8s - 4 8 - 8 8s - 8 - 4 - 8 - 8s4 - 8 8 - 8zM232 178c8 4 10 14 6 22 <nl> + c - 3 5 - 9 8 - 14 8l - 38 64c - 2 4 - 7 4 - 11 2s - 4 - 7 - 2 - 11l37 - 63c - 3 - 5 - 3 - 11 0 - 16c2 - 2 4 - 5 6 - 6v - 122c0 - 4 4 - 8 8 - 8s8 4 8 8v122zM316 33c4 2 5 7 3 11s - 7 4 - 11 2s - 5 - 6 - 3 - 10s7 - 5 11 - 3zM319 340c2 4 1 9 - 3 11s - 9 1 - 11 - 3s - 1 - 8 3 - 10s9 - 2 11 2zM383 100 <nl> + c2 4 1 9 - 3 11s - 8 1 - 10 - 3s - 2 - 9 2 - 11s9 - 1 11 3zM380 273c4 2 5 7 3 11s - 7 5 - 11 3s - 4 - 7 - 2 - 11s6 - 5 10 - 3zM400 184c4 0 8 4 8 8s - 4 8 - 8 8s - 8 - 4 - 8 - 8s4 - 8 8 - 8z " / > <nl> + < glyph glyph - name = " ion - ios - timer - outline " unicode = " & # xf4c0 ; " horiz - adv - x = " 416 " <nl> + d = " M189 176l - 1 2s - 89 118 - 86 120s121 - 85 121 - 85c1 - 1 1 - 2 2 - 3c5 - 5 8 - 11 8 - 18c0 - 14 - 11 - 25 - 25 - 25c - 8 0 - 14 3 - 19 9zM208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208c0 57 23 109 61 147l12 - 12c - 35 - 35 - 56 - 82 - 56 - 135 <nl> + c0 - 106 85 - 191 191 - 191s191 85 191 191c0 100 - 77 183 - 175 191v - 95h - 16v112v0v0z " / > <nl> + < glyph glyph - name = " ion - ios - timer " unicode = " & # xf4c1 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208s - 208 93 - 208 208s93 208 208 208zM102 298c - 2 - 2 86 - 120 86 - 120l1 - 1c5 - 6 11 - 10 19 - 10c14 0 25 11 25 25c0 7 - 3 13 - 8 18l - 3 3c0 0 - 117 87 - 120 85zM208 1c106 0 192 85 192 191s - 86 192 - 192 192v - 96h16v78 <nl> + c88 - 9 158 - 84 158 - 174c0 - 96 - 78 - 174 - 174 - 174s - 175 78 - 175 174c0 48 19 92 51 124l - 11 12c - 35 - 35 - 56 - 83 - 56 - 136c0 - 106 85 - 191 191 - 191z " / > <nl> + < glyph glyph - name = " ion - ios - toggle - outline " unicode = " & # xf4c2 ; " <nl> + d = " M96 128c - 26 0 - 48 - 22 - 48 - 48s22 - 48 48 - 48s48 22 48 48s - 22 48 - 48 48zM96 144v0c35 0 64 - 29 64 - 64s - 29 - 64 - 64 - 64s - 64 29 - 64 64s29 64 64 64zM351 160v0h - 255c - 44 0 - 80 - 36 - 80 - 80s36 - 80 80 - 80h256c44 0 80 36 80 80s - 37 80 - 81 80zM352 176v0 <nl> + c53 0 96 - 43 96 - 96s - 43 - 96 - 96 - 96h - 256c - 53 0 - 96 43 - 96 96s43 96 96 96h256zM352 352c - 26 0 - 48 - 22 - 48 - 48s22 - 48 48 - 48s48 22 48 48s - 22 48 - 48 48zM352 368v0c35 0 64 - 29 64 - 64s - 29 - 64 - 64 - 64s - 64 29 - 64 64s29 64 64 64zM97 384v0c - 44 0 - 81 - 36 - 81 - 80 <nl> + s36 - 80 80 - 80h256c44 0 80 36 80 80s - 36 80 - 80 80h - 255zM96 400v0h256c53 0 96 - 43 96 - 96s - 43 - 96 - 96 - 96h - 256c - 53 0 - 96 43 - 96 96s43 96 96 96z " / > <nl> + < glyph glyph - name = " ion - ios - toggle " unicode = " & # xf4c3 ; " <nl> + d = " M96 128c26 0 48 - 22 48 - 48s - 22 - 48 - 48 - 48s - 48 22 - 48 48s22 48 48 48zM352 176c53 0 96 - 43 96 - 96s - 43 - 96 - 96 - 96h - 256c - 53 0 - 96 43 - 96 96s43 96 96 96h256zM96 16c35 0 64 29 64 64s - 29 64 - 64 64s - 64 - 29 - 64 - 64s29 - 64 64 - 64zM352 256c - 26 0 - 48 22 - 48 48 <nl> + s22 48 48 48s48 - 22 48 - 48s - 22 - 48 - 48 - 48zM96 208c - 53 0 - 96 43 - 96 96s43 96 96 96h256c53 0 96 - 43 96 - 96s - 43 - 96 - 96 - 96h - 256zM352 368c - 35 0 - 64 - 29 - 64 - 64s29 - 64 64 - 64s64 29 64 64s - 29 64 - 64 64z " / > <nl> + < glyph glyph - name = " ion - ios - trash - outline " unicode = " & # xf4c4 ; " horiz - adv - x = " 288 " <nl> + d = " M288 335v - 15h - 20l - 24 - 291c0 - 16 - 13 - 29 - 29 - 29h - 141c - 16 0 - 29 13 - 29 29l - 24 291h - 21v15h80v20c0 16 13 29 29 29h70c16 0 29 - 13 29 - 29v - 20h80zM95 355v - 20h98v20c0 8 - 6 14 - 14 14h - 70c - 8 0 - 14 - 6 - 14 - 14zM230 30l23 290h - 217l23 - 290v0v - 1c0 - 8 7 - 14 15 - 14 <nl> + h141c8 0 15 6 15 14v1v0zM137 47v241h14v - 241h - 14zM208 288l - 11 - 241h - 14l10 241h15zM94 288l11 - 241h - 14l - 11 241h14z " / > <nl> + < glyph glyph - name = " ion - ios - trash " unicode = " & # xf4c5 ; " horiz - adv - x = " 288 " <nl> + d = " M208 335h80v - 15h - 20l - 24 - 291c0 - 16 - 13 - 29 - 29 - 29h - 141c - 16 0 - 29 13 - 29 29l - 24 291h - 21v15h80v20c0 16 13 29 29 29h70c16 0 29 - 13 29 - 29v - 20zM95 355v0v - 20h98v20c0 8 - 6 14 - 14 14h - 70c - 8 0 - 14 - 6 - 14 - 14zM91 47h14l - 11 241h - 14zM151 47v241h - 14v - 241h14z <nl> + M197 47l11 241h - 14l - 11 - 241h14z " / > <nl> + < glyph glyph - name = " ion - ios - undo - outline " unicode = " & # xf4c6 ; " horiz - adv - x = " 384 " <nl> + d = " M384 80v - 32h - 10l - 20 31c - 20 33 - 44 63 - 75 77c - 24 11 - 47 19 - 87 20v - 80l - 192 128l192 128v - 80c63 - 3 108 - 21 143 - 56c52 - 53 49 - 119 49 - 136zM368 87c0 0 9 169 - 192 169v65l - 148 - 97l148 - 97v65c91 0 144 - 24 192 - 105z " / > <nl> + < glyph glyph - name = " ion - ios - undo " unicode = " & # xf4c7 ; " horiz - adv - x = " 384 " <nl> + d = " M384 80v - 32h - 10l - 20 31c - 20 33 - 44 63 - 75 77c - 24 11 - 47 19 - 87 20v - 80l - 192 128l192 128v - 80c63 - 3 108 - 21 143 - 56c52 - 53 49 - 119 49 - 136z " / > <nl> + < glyph glyph - name = " ion - ios - unlocked - outline " unicode = " & # xf4c8 ; " horiz - adv - x = " 320 " <nl> + d = " M160 160c18 0 32 - 14 32 - 32c0 - 15 - 10 - 27 - 24 - 31v - 33h - 16v33c - 14 4 - 24 16 - 24 31c0 18 14 32 32 32zM160 112c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16zM72 224h248v - 240h - 320v240h56v72c0 57 47 104 104 104s104 - 47 104 - 104v - 8h - 16v8 <nl> + c0 49 - 39 88 - 88 88s - 88 - 39 - 88 - 88v - 72zM304 0v208h - 288v - 208h288z " / > <nl> + < glyph glyph - name = " ion - ios - unlocked " unicode = " & # xf4c9 ; " horiz - adv - x = " 320 " <nl> + d = " M160 144c9 0 16 - 7 16 - 16s - 7 - 16 - 16 - 16s - 16 7 - 16 16s7 16 16 16zM72 224h248v - 240h - 320v240h56v72c0 57 47 104 104 104s104 - 47 104 - 104v - 8h - 16v8c0 49 - 39 88 - 88 88s - 88 - 39 - 88 - 88v - 72zM168 97c14 4 24 16 24 31c0 18 - 14 32 - 32 32s - 32 - 14 - 32 - 32 <nl> + c0 - 15 10 - 27 24 - 31v - 33h16v33z " / > <nl> + < glyph glyph - name = " ion - ios - upload - outline " unicode = " & # xf4ca ; " horiz - adv - x = " 320 " <nl> + d = " M192 304h128v - 304h - 320v304h128v - 16h - 112v - 272h288v272h - 112v16zM97 330l - 11 12l74 74l74 - 74l - 11 - 12l - 55 55v - 243h - 16v243z " / > <nl> + < glyph glyph - name = " ion - ios - upload " unicode = " & # xf4cb ; " horiz - adv - x = " 320 " <nl> + d = " M168 304h152v - 304h - 320v304h152v - 162h16v162zM168 385v - 81h - 16v81l - 55 - 55l - 11 12l74 74l74 - 74l - 11 - 12z " / > <nl> + < glyph glyph - name = " ion - ios - videocam - outline " unicode = " & # xf4cc ; " horiz - adv - x = " 418 " <nl> + d = " M257 320c19 0 33 - 14 33 - 33v - 188c0 - 19 - 14 - 35 - 33 - 35h - 221c - 19 0 - 36 16 - 36 35v188c0 19 17 33 36 33h221zM273 99v188c0 9 - 8 16 - 17 16h - 221c - 9 0 - 18 - 7 - 18 - 16v - 188c0 - 9 10 - 18 19 - 18h221c9 0 16 9 16 18zM320 235l98 53v - 192l - 98 53v86zM401 258v0l - 64 - 33 <nl> + v - 66l64 - 33v132z " / > <nl> + < glyph glyph - name = " ion - ios - videocam " unicode = " & # xf4cd ; " horiz - adv - x = " 418 " <nl> + d = " M257 320c19 0 33 - 14 33 - 33v - 188c0 - 19 - 14 - 35 - 33 - 35h - 221c - 19 0 - 36 16 - 36 35v188c0 19 17 33 36 33h221zM320 235l98 53v - 192l - 98 53v86z " / > <nl> + < glyph glyph - name = " ion - ios - volume - high " unicode = " & # xf4ce ; " horiz - adv - x = " 320 " <nl> + d = " M278 320c26 - 36 42 - 80 42 - 128s - 16 - 92 - 42 - 128l - 14 10c24 33 39 74 39 118s - 15 85 - 39 118zM224 96l - 14 10c18 24 29 54 29 86s - 11 62 - 29 86l14 10c20 - 27 32 - 60 32 - 96s - 12 - 69 - 32 - 96zM177 128l - 13 10c12 15 18 34 18 54s - 6 39 - 18 54l13 10 <nl> + c14 - 18 22 - 40 22 - 64s - 8 - 46 - 22 - 64zM58 232l70 56v - 192l - 70 56h - 58v80h58z " / > <nl> + < glyph glyph - name = " ion - ios - volume - low " unicode = " & # xf4cf ; " horiz - adv - x = " 128 " <nl> + d = " M58 232l70 56v - 192l - 70 56h - 58v80h58z " / > <nl> + < glyph glyph - name = " ion - ios - wineglass - outline " unicode = " & # xf4d0 ; " horiz - adv - x = " 192 " <nl> + d = " M104 139v - 155h72v - 16h - 80h - 80v16h72v155c0 22 - 20 39 - 40 55c - 8 6 - 16 13 - 22 19c - 27 28 - 26 52 - 26 71v4c0 44 31 125 32 128h64h64c1 - 3 32 - 84 32 - 128v - 4c0 - 19 1 - 43 - 26 - 71c - 6 - 6 - 14 - 13 - 22 - 19c - 20 - 16 - 40 - 33 - 40 - 55zM43 400c - 5 - 16 - 20 - 63 - 25 - 96h156 <nl> + c - 5 33 - 20 80 - 25 96h - 53h - 53zM96 175c3 0 5 0 7 2v0c9 11 20 20 31 29c8 6 15 12 20 18c22 23 22 41 22 60v4h - 160v - 4c0 - 19 0 - 37 22 - 60c5 - 6 12 - 12 20 - 18c11 - 9 22 - 18 31 - 29v0c2 - 2 4 - 2 7 - 2z " / > <nl> + < glyph glyph - name = " ion - ios - wineglass " unicode = " & # xf4d1 ; " horiz - adv - x = " 192 " <nl> + d = " M104 139v - 155h72v - 16h - 80h - 80v16h72v155c0 22 - 20 39 - 40 55c - 8 6 - 16 13 - 22 19c - 27 28 - 26 52 - 26 71v4c0 44 31 125 32 128h64h64c1 - 3 32 - 84 32 - 128v - 4c0 - 19 1 - 43 - 26 - 71c - 6 - 6 - 14 - 13 - 22 - 19c - 20 - 16 - 40 - 33 - 40 - 55zM43 400c - 5 - 16 - 20 - 63 - 25 - 96h156 <nl> + c - 5 33 - 20 80 - 25 96h - 53h - 53z " / > <nl> + < glyph glyph - name = " ion - ios - world - outline " unicode = " & # xf4d2 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208v0v0v0c - 115 0 - 208 93 - 208 208s93 208 208 208v0v0v0zM216 276v - 76h75c - 1 31 - 5 60 - 11 84c - 21 - 5 - 42 - 7 - 64 - 8zM216 292c20 1 41 3 60 8c - 14 46 - 38 76 - 60 82v - 90zM200 382c - 23 - 6 - 45 - 36 - 60 - 82 <nl> + c19 - 5 39 - 7 60 - 8v90zM200 276c - 22 1 - 44 3 - 65 8c - 6 - 24 - 10 - 53 - 11 - 84h76v76zM108 200c1 32 4 62 11 88c - 21 6 - 41 15 - 59 25c - 26 - 31 - 41 - 70 - 43 - 113h91zM108 184h - 91c2 - 43 17 - 82 43 - 113c19 10 38 19 59 25c - 7 26 - 10 56 - 11 88zM124 184c1 - 31 5 - 60 11 - 84 <nl> + c21 5 43 8 65 9v75h - 76zM200 92c - 21 - 1 - 41 - 3 - 60 - 8c15 - 46 37 - 76 60 - 82v90zM216 2c22 6 46 36 60 82c - 19 5 - 40 7 - 60 8v - 90zM216 109c22 - 1 43 - 4 64 - 9c6 24 10 53 11 84h - 75v - 75zM308 184c - 1 - 32 - 5 - 62 - 12 - 88c21 - 6 41 - 15 60 - 25c26 31 41 70 43 113h - 91z <nl> + M308 200v0h91c - 2 43 - 17 82 - 43 113c - 19 - 10 - 38 - 19 - 59 - 25c7 - 26 10 - 56 11 - 88zM344 326c - 25 25 - 56 44 - 91 52c16 - 17 29 - 43 39 - 74c18 6 35 13 52 22zM163 378c - 35 - 8 - 67 - 27 - 91 - 52c16 - 9 34 - 15 52 - 21c10 31 23 56 39 73zM72 58c25 - 25 56 - 44 91 - 52 <nl> + c - 16 17 - 30 43 - 40 74c - 18 - 6 - 35 - 13 - 51 - 22zM253 6c35 8 66 27 91 52c - 17 9 - 34 16 - 52 22c - 10 - 31 - 23 - 57 - 39 - 74z " / > <nl> + < glyph glyph - name = " ion - ios - world " unicode = " & # xf4d3 ; " horiz - adv - x = " 416 " <nl> + d = " M208 400c115 0 208 - 93 208 - 208s - 93 - 208 - 208 - 208v0v0v0c - 115 0 - 208 93 - 208 208s93 208 208 208v0v0v0zM208 1c106 0 191 85 191 191s - 85 191 - 191 191v0v0v0c - 106 0 - 191 - 85 - 191 - 191s86 - 191 191 - 191v0v0v0zM274 276c6 - 22 9 - 48 10 - 76h - 68v68c20 1 39 4 58 8 <nl> + zM216 366c20 - 6 41 - 34 54 - 75c - 17 - 4 - 36 - 6 - 54 - 7v82zM145 291c13 42 35 69 55 75v - 82c - 19 1 - 37 3 - 55 7zM333 315c - 15 - 8 - 31 - 15 - 48 - 20c - 9 29 - 21 52 - 36 67c32 - 8 61 - 24 84 - 47zM299 200c - 1 29 - 4 56 - 10 80c19 6 37 14 54 23c23 - 28 38 - 64 40 - 103h - 84zM132 200 <nl> + c1 28 3 54 9 76c19 - 5 39 - 7 59 - 8v - 68h - 68zM284 184c - 1 - 28 - 4 - 54 - 10 - 76c - 19 5 - 38 7 - 58 8v68h68zM141 108c - 6 22 - 8 48 - 9 76h68v - 68c - 20 - 1 - 40 - 3 - 59 - 8zM200 18c - 20 6 - 42 33 - 55 75c18 4 36 6 55 7v - 82zM249 22c15 15 27 38 36 67c17 - 5 33 - 11 48 - 19 <nl> + c - 23 - 23 - 52 - 40 - 84 - 48zM167 362c - 15 - 15 - 27 - 39 - 36 - 67c - 16 5 - 33 11 - 48 19c22 23 52 40 84 48zM289 104c6 24 9 51 10 80h84c - 2 - 39 - 17 - 75 - 40 - 103c - 17 9 - 35 17 - 54 23zM216 100c18 - 1 37 - 3 54 - 7c - 13 - 42 - 34 - 69 - 54 - 75v82zM127 280c - 6 - 24 - 11 - 51 - 11 - 80 <nl> + h - 83c2 39 17 75 40 103c17 - 9 35 - 17 54 - 23zM116 184c1 - 29 4 - 56 10 - 80c - 19 - 6 - 36 - 14 - 53 - 23c - 23 28 - 38 64 - 40 103h83zM83 70c15 8 32 14 48 19c9 - 28 21 - 52 36 - 67c - 32 8 - 62 25 - 84 48z " / > <nl> + < glyph glyph - name = " ion - ipad " unicode = " & # xf1f9 ; " horiz - adv - x = " 288 " <nl> + d = " M0 375c0 5 4 9 9 9h270c5 0 9 - 4 9 - 9v - 366c0 - 5 - 4 - 9 - 9 - 9h - 270c - 5 0 - 9 4 - 9 9v366zM144 10c8 0 14 6 14 14s - 7 14 - 14 14c - 8 0 - 14 - 6 - 14 - 14s6 - 14 14 - 14zM32 329v - 275c0 - 4 3 - 6 6 - 6h211c3 0 7 2 7 6v275c0 4 - 4 7 - 7 7h - 211c - 3 0 - 6 - 3 - 6 - 7z " / > <nl> + < glyph glyph - name = " ion - iphone " unicode = " & # xf1fa ; " horiz - adv - x = " 192 " <nl> + d = " M168 384c13 0 24 - 11 24 - 24v - 336c0 - 13 - 11 - 24 - 24 - 24h - 144c - 13 0 - 24 11 - 24 24v336c0 13 11 24 24 24h144zM80 348v0c0 - 2 2 - 4 4 - 4h24c2 0 4 2 4 4v0c0 2 - 2 4 - 4 4h - 24c - 2 0 - 4 - 2 - 4 - 4zM68 352c - 2 0 - 4 - 2 - 4 - 4s2 - 4 4 - 4s4 2 4 4s - 2 4 - 4 4zM96 16 <nl> + c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16zM176 64v256h - 160v - 256h160z " / > <nl> + < glyph glyph - name = " ion - ipod " unicode = " & # xf1fb ; " horiz - adv - x = " 224 " <nl> + d = " M112 137c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32s - 32 14 - 32 32s14 32 32 32zM196 384c15 0 28 - 12 28 - 28v - 328c0 - 16 - 13 - 28 - 28 - 28h - 168c - 15 0 - 28 12 - 28 28v328c0 16 13 28 28 28h168zM112 32c40 0 72 32 72 72s - 32 72 - 72 72s - 72 - 32 - 72 - 72s32 - 72 72 - 72z <nl> + M192 221v118c - 1 7 - 6 12 - 12 13h - 136c - 7 - 1 - 12 - 7 - 12 - 15v - 114c0 - 8 6 - 15 14 - 15h131c8 0 14 5 15 13z " / > <nl> + < glyph glyph - name = " ion - jet " unicode = " & # xf295 ; " horiz - adv - x = " 326 " <nl> + d = " M222 80l - 2 - 13l53 - 58l - 18 - 27l - 74 9l - 18 - 55l - 19 55l - 73 - 9l - 18 27l53 58l - 2 13l - 104 - 35l3 53l114 103s26 173 28 192c5 40 18 55 18 55s13 - 15 18 - 55c2 - 19 28 - 192 28 - 192l114 - 103l3 - 53z " / > <nl> + < glyph glyph - name = " ion - key " unicode = " & # xf296 ; " horiz - adv - x = " 192 " <nl> + d = " M144 147c28 - 17 48 - 48 48 - 83c0 - 53 - 43 - 96 - 96 - 96s - 96 43 - 96 96c0 36 19 67 48 84c0 0 7 16 12 41c0 4 11 6 11 12v20c0 5 - 7 9 - 7 11v8v8c0 2 0 4 1 6c0 1 1 1 1 2l2 1l4 4v1c2 2 3 4 3 6c0 1 1 8 1 9c0 3 - 2 6 - 4 8l - 1 1l - 4 4v0l - 1 1v0c - 2 2 - 3 5 - 3 8v7 <nl> + c0 3 2 7 4 9v0l5 5v0c2 2 4 3 4 6v24c0 3 - 2 6 - 4 8v1l - 4 4l - 1 1c - 2 2 - 3 5 - 3 8v18c0 11 0 19 9 23c3 1 14 3 23 3c20 0 30 - 8 32 - 36c0 0 7 - 81 9 - 143s7 - 90 7 - 90zM96 0c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32z " / > <nl> + < glyph glyph - name = " ion - knife " unicode = " & # xf297 ; " horiz - adv - x = " 64 " <nl> + d = " M62 416c2 0 2 - 1 2 - 6v - 412c0 - 15 - 10 - 30 - 24 - 30v0v0c - 14 0 - 24 15 - 24 30c1 19 14 83 16 130v0c1 30 - 32 31 - 32 70c0 134 35 191 54 214c2 2 5 4 8 4z " / > <nl> + < glyph glyph - name = " ion - laptop " unicode = " & # xf1fc ; " horiz - adv - x = " 512 " <nl> + d = " M480 342v - 262h - 448v262c0 6 4 10 10 10h428c6 0 10 - 4 10 - 10zM448 112v208h - 384v - 208h384zM0 59v5h512v - 5c - 70 - 20 - 116 - 27 - 256 - 27s - 186 7 - 256 27z " / > <nl> + < glyph glyph - name = " ion - leaf " unicode = " & # xf1fd ; " horiz - adv - x = " 422 " <nl> + d = " M412 69c18 - 3 10 - 41 - 5 - 39c0 0 - 21 - 1 - 63 12c0 0 - 16 - 19 - 39 - 30c - 26 - 12 - 118 - 33 - 197 38c - 108 97 - 120 354 - 100 333c86 - 90 197 - 47 270 - 106c55 - 44 88 - 127 77 - 192c0 0 5 - 8 57 - 16zM316 65c5 5 10 16 10 24c - 161 52 - 252 160 - 252 160s104 - 143 242 - 184z <nl> + " / > <nl> + < glyph glyph - name = " ion - levels " unicode = " & # xf298 ; " horiz - adv - x = " 350 " <nl> + d = " M46 349c11 - 5 18 - 16 18 - 29s - 7 - 24 - 18 - 29v - 275c0 - 9 - 7 - 16 - 16 - 16s - 16 7 - 16 16v278c - 8 6 - 14 15 - 14 26s6 20 14 26v22c0 9 7 16 16 16s16 - 7 16 - 16v - 19zM142 155c9 - 6 15 - 16 15 - 27s - 6 - 21 - 15 - 27v - 85c0 - 9 - 7 - 16 - 16 - 16s - 16 7 - 16 16v84 <nl> + c - 10 5 - 17 16 - 17 28s7 23 17 28v212c0 9 7 16 16 16s16 - 7 16 - 16v - 213zM238 285c10 - 6 16 - 16 16 - 28s - 6 - 22 - 16 - 28v - 213c0 - 9 - 7 - 16 - 16 - 16s - 16 7 - 16 16v213c - 10 6 - 16 16 - 16 28s6 22 16 28v83c0 9 7 16 16 16s16 - 7 16 - 16v - 83zM350 65c0 - 12 - 6 - 22 - 16 - 28v - 21 <nl> + c0 - 9 - 7 - 16 - 16 - 16s - 16 7 - 16 16v21c - 10 6 - 16 16 - 16 28s6 22 16 28v275c0 9 7 16 16 16s16 - 7 16 - 16v - 275c10 - 6 16 - 16 16 - 28z " / > <nl> + < glyph glyph - name = " ion - lightbulb " unicode = " & # xf299 ; " horiz - adv - x = " 256 " <nl> + d = " M128 416c71 0 128 - 56 128 - 124c0 - 5 0 - 9 - 1 - 14s - 2 - 11 - 3 - 16v - 2c - 17 - 63 - 45 - 71 - 59 - 167v - 1c - 2 - 9 - 10 - 12 - 20 - 12h - 90c - 10 0 - 18 3 - 20 12v1c - 14 96 - 42 104 - 59 167v2c - 1 5 - 2 11 - 3 16s - 1 9 - 1 14c0 68 57 124 128 124zM190 52v - 1c - 2 - 3 - 3 - 4 - 3 - 7s1 - 5 3 - 8 <nl> + v - 1c1 - 2 2 - 3 2 - 5s - 1 - 4 - 2 - 6v - 1c - 2 - 3 - 3 - 4 - 3 - 7s1 - 5 3 - 8v - 1c1 - 2 2 - 4 2 - 6c0 - 5 - 4 - 9 - 10 - 11h - 1c - 6 - 1 - 13 - 2 - 19 - 3h - 2c - 6 - 1 - 11 - 5 - 14 - 9v0c - 4 - 5 - 10 - 10 - 18 - 10s - 15 6 - 19 11v0c - 3 4 - 7 7 - 13 8h - 2c - 6 1 - 13 2 - 19 3h - 1c - 6 2 - 10 6 - 10 11c0 2 1 4 2 6v1 <nl> + c2 2 3 4 3 7s - 1 5 - 3 8v1c - 1 2 - 2 4 - 2 6s1 3 2 5v1c2 3 3 5 3 8s - 1 4 - 3 7v1v0c - 1 2 - 2 4 - 2 6c0 4 - 1 6 7 6h114c8 0 7 - 2 7 - 6c0 - 2 - 1 - 4 - 2 - 6v0z " / > <nl> + < glyph glyph - name = " ion - link " unicode = " & # xf1fe ; " horiz - adv - x = " 384 " <nl> + d = " M192 240v0v0v0zM304 288c44 0 80 - 36 80 - 80v - 32c0 - 44 - 36 - 80 - 80 - 80h - 112c - 33 0 - 60 20 - 73 48c - 4 10 - 7 20 - 7 32v32h48v - 32c0 - 18 14 - 32 32 - 32h112c18 0 32 14 32 32v32c0 18 - 14 32 - 32 32v0h - 16c - 6 31 - 32 48 - 32 48h48zM266 240c4 - 10 6 - 21 6 - 32v - 32v0h - 48 <nl> + v0v32c0 18 - 14 32 - 32 32v0h - 112c - 18 0 - 32 - 14 - 32 - 32v - 32c0 - 18 14 - 32 32 - 32h16c6 - 31 32 - 48 32 - 48h - 48c - 44 0 - 80 36 - 80 80v32c0 44 36 80 80 80h112c33 0 62 - 20 74 - 48z " / > <nl> + < glyph glyph - name = " ion - load - a " unicode = " & # xf29a ; " horiz - adv - x = " 384 " <nl> + d = " M144 352c0 43 21 64 64 64s64 - 21 64 - 64s - 21 - 64 - 64 - 64s - 64 21 - 64 64zM0 192c0 32 16 48 48 48s48 - 16 48 - 48s - 16 - 48 - 48 - 48s - 48 16 - 48 48zM312 304c0 5 3 8 8 8s8 - 3 8 - 8s - 3 - 8 - 8 - 8s - 8 3 - 8 8zM132 340c10 - 10 15 - 22 15 - 36s - 5 - 26 - 15 - 36s - 22 - 15 - 36 - 15 <nl> + s - 26 5 - 36 15s - 15 22 - 15 36s5 26 15 36s22 15 36 15s26 - 5 36 - 15zM352 192c0 11 5 16 16 16s16 - 5 16 - 16s - 5 - 16 - 16 - 16s - 16 5 - 16 16zM297 79c0 16 8 24 24 24s24 - 8 24 - 24s - 8 - 24 - 24 - 24s - 24 8 - 24 24zM176 32c0 21 11 32 32 32s32 - 11 32 - 32s - 11 - 32 - 32 - 32 <nl> + s - 32 11 - 32 32zM56 80c0 27 13 40 40 40s40 - 13 40 - 40s - 13 - 40 - 40 - 40s - 40 13 - 40 40z " / > <nl> + < glyph glyph - name = " ion - load - b " unicode = " & # xf29b ; " <nl> + d = " M256 288c0 - 18 - 14 - 32 - 32 - 32v0c - 18 0 - 32 14 - 32 32v96c0 18 14 32 32 32v0c18 0 32 - 14 32 - 32v - 96zM224 128v0c18 0 32 - 14 32 - 32v - 96c0 - 18 - 14 - 32 - 32 - 32s - 32 14 - 32 32v96c0 18 14 32 32 32zM416 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32h - 96 <nl> + c - 18 0 - 32 14 - 32 32s14 32 32 32h96zM128 224v0c18 0 32 - 14 32 - 32s - 14 - 32 - 32 - 32h - 96c - 18 0 - 32 14 - 32 32s14 32 32 32h96zM314 237c - 12 - 12 - 33 - 12 - 45 0v0c - 12 12 - 12 34 0 46l68 67c12 12 33 12 45 0v0c12 - 12 12 - 33 0 - 45zM179 147v0c12 - 12 12 - 33 0 - 46 <nl> + l - 68 - 67c - 12 - 12 - 33 - 12 - 45 0s - 12 33 0 45l67 68c12 12 34 12 46 0zM382 79v0c12 - 12 12 - 33 0 - 45s - 33 - 12 - 45 0l - 68 68c - 12 12 - 12 33 0 45s33 12 45 0zM179 282v0c12 - 12 12 - 33 0 - 45s - 34 - 12 - 46 0l - 67 68c - 12 12 - 12 33 0 45s33 12 45 0z " / > <nl> + < glyph glyph - name = " ion - load - c " unicode = " & # xf29c ; " <nl> + d = " M448 222c0 - 3 0 - 6 - 1 - 9c - 4 - 8 - 15 - 12 - 23 - 7c - 4 2 - 6 7 - 7 11c - 1 5 - 1 9 - 2 14c - 4 20 - 12 40 - 22 58c - 12 21 - 28 41 - 47 56c - 18 15 - 40 26 - 62 33c - 21 6 - 42 9 - 64 9h - 4c - 3 0 - 6 - 1 - 9 - 1c - 6 0 - 14 - 1 - 20 - 2c - 13 - 2 - 25 - 6 - 37 - 11c - 21 - 8 - 40 - 20 - 57 - 35 <nl> + s - 31 - 33 - 42 - 52c - 12 - 22 - 20 - 45 - 24 - 70c - 2 - 11 - 2 - 23 - 2 - 34c0 - 6 0 - 11 1 - 16c1 - 6 2 - 13 3 - 19c5 - 24 14 - 47 28 - 67c13 - 20 29 - 38 48 - 52c20 - 15 42 - 26 65 - 33c25 - 7 50 - 9 76 - 7c25 2 50 9 73 20c11 5 22 12 32 19s19 15 27 24c4 4 8 9 12 14s7 10 10 15 <nl> + c6 10 12 20 17 31c4 8 8 16 11 25c2 4 3 9 4 13s1 7 2 11c1 - 9 1 - 18 - 1 - 26c - 1 - 5 - 2 - 11 - 4 - 16c - 1 - 5 - 3 - 10 - 5 - 15c - 4 - 10 - 8 - 19 - 13 - 28c - 6 - 11 - 12 - 21 - 20 - 30s - 16 - 18 - 25 - 26c - 18 - 15 - 40 - 27 - 62 - 36c - 23 - 9 - 48 - 14 - 73 - 15s - 51 3 - 75 11c - 23 7 - 45 19 - 65 33 <nl> + c - 19 14 - 36 31 - 50 50c - 7 10 - 13 20 - 18 31s - 9 21 - 13 33c - 6 18 - 9 37 - 10 56c - 1 20 1 39 5 58c5 24 15 47 28 68c12 19 26 35 42 50s35 27 55 36c23 11 48 19 74 21c10 1 19 1 29 1c13 0 26 - 2 38 - 4c24 - 5 47 - 14 68 - 26s41 - 29 57 - 48c15 - 18 27 - 37 36 - 58 <nl> + c4 - 10 7 - 21 10 - 32c2 - 8 5 - 17 6 - 26z " / > <nl> + < glyph glyph - name = " ion - load - d " unicode = " & # xf29d ; " horiz - adv - x = " 384 " <nl> + d = " M368 208c9 0 16 - 7 16 - 16s - 7 - 16 - 16 - 16h - 80c - 9 0 - 16 7 - 16 16s7 16 16 16h80zM112 192c0 - 9 - 7 - 16 - 16 - 16h - 80c - 9 0 - 16 7 - 16 16s7 16 16 16h80c9 0 16 - 7 16 - 16zM192 112c9 0 16 - 7 16 - 16v - 80c0 - 9 - 7 - 16 - 16 - 16s - 16 7 - 16 16v80c0 9 7 16 16 16zM192 384 <nl> + c9 0 16 - 7 16 - 16v - 80c0 - 9 - 7 - 16 - 16 - 16s - 16 7 - 16 16v80c0 9 7 16 16 16zM261 232c - 4 8 - 2 18 6 22l69 40c8 4 18 2 22 - 6s2 - 18 - 6 - 22l - 69 - 40c - 8 - 4 - 18 - 2 - 22 6zM123 152c4 - 8 2 - 18 - 6 - 22l - 69 - 40c - 8 - 4 - 18 - 2 - 22 6s - 2 18 6 22l69 40c8 4 18 2 22 - 6zM254 117 <nl> + l40 - 69c4 - 8 2 - 18 - 6 - 22s - 18 - 2 - 22 6l - 40 69c - 4 8 - 2 18 6 22s18 2 22 - 6zM118 352l40 - 69c4 - 8 2 - 18 - 6 - 22s - 18 - 2 - 22 6l - 40 69c - 4 8 - 2 18 6 22s18 2 22 - 6zM232 261c - 8 4 - 10 14 - 6 22l40 69c4 8 14 10 22 6s10 - 14 6 - 22l - 40 - 69c - 4 - 8 - 14 - 10 - 22 - 6zM152 123 <nl> + c8 - 4 10 - 14 6 - 22l - 40 - 69c - 4 - 8 - 14 - 10 - 22 - 6s - 10 14 - 6 22l40 69c4 8 14 10 22 6zM352 118c8 - 4 10 - 14 6 - 22s - 14 - 10 - 22 - 6l - 69 40c - 8 4 - 10 14 - 6 22s14 10 22 6zM32 266c - 8 4 - 10 14 - 6 22s14 10 22 6l69 - 40c8 - 4 10 - 14 6 - 22s - 14 - 10 - 22 - 6z " / > <nl> + < glyph glyph - name = " ion - location " unicode = " & # xf1ff ; " horiz - adv - x = " 239 " <nl> + d = " M119 384c66 0 120 - 54 120 - 120c0 - 115 - 120 - 264 - 120 - 264s - 119 149 - 119 264c0 66 53 120 119 120zM119 206c31 0 57 25 57 56s - 26 57 - 57 57s - 56 - 26 - 56 - 57s25 - 56 56 - 56z " / > <nl> + < glyph glyph - name = " ion - lock - combination " unicode = " & # xf4d4 ; " horiz - adv - x = " 384 " <nl> + d = " M320 271c39 - 35 64 - 86 64 - 143c0 - 106 - 86 - 192 - 192 - 192s - 192 86 - 192 192c0 57 25 108 64 143v49c0 71 57 128 128 128s128 - 57 128 - 128v - 49zM96 320v - 26c28 16 61 26 96 26s68 - 10 96 - 26v26c0 53 - 43 96 - 96 96s - 96 - 43 - 96 - 96zM192 - 32c88 0 160 72 160 160 <nl> + s - 72 160 - 160 160s - 160 - 72 - 160 - 160s72 - 160 160 - 160zM192 272c80 0 144 - 64 144 - 144s - 64 - 144 - 144 - 144s - 144 64 - 144 144s64 144 144 144zM315 95c2 9 4 18 4 29h - 7v7h8c0 11 - 2 20 - 5 30l - 25 - 7l - 4 12l25 8c - 4 10 - 8 18 - 14 26l - 11 - 8l - 4 6l11 8c - 6 8 - 13 16 - 21 22 <nl> + l - 15 - 21l - 11 8l15 20c - 8 6 - 17 11 - 27 14l - 4 - 13l - 6 2l5 13c - 9 3 - 20 5 - 29 5v - 13v - 6h - 16v6v13c - 11 - 1 - 19 - 2 - 29 - 5l4 - 12l - 6 - 2l - 4 12c - 10 - 3 - 19 - 8 - 27 - 14l15 - 20l - 10 - 8l - 15 21c - 8 - 6 - 16 - 14 - 22 - 22l11 - 8l - 4 - 5l - 10 8c - 6 - 8 - 10 - 17 - 14 - 27l24 - 8l - 5 - 12l - 25 7 <nl> + c - 3 - 10 - 3 - 19 - 3 - 30h6v - 7h - 5c0 - 11 2 - 20 4 - 29l24 7l4 - 12l - 24 - 8c4 - 10 8 - 19 14 - 27l9 7l4 - 5l - 9 - 7c6 - 8 13 - 16 21 - 22l15 21l10 - 8l - 15 - 20c8 - 5 17 - 11 27 - 14l3 11l7 - 2l - 4 - 11c10 - 3 18 - 4 29 - 5v13v6h16v - 6v - 13c9 1 19 2 29 5l - 5 12l6 2l4 - 12c10 3 19 8 27 14 <nl> + l - 15 20l11 8l15 - 21c8 6 15 14 21 22l - 11 7l4 6l10 - 8c6 8 11 17 15 27l - 25 8l4 12zM111 128c0 54 27 81 81 81s81 - 27 81 - 81s - 27 - 81 - 81 - 81s - 81 27 - 81 81z " / > <nl> + < glyph glyph - name = " ion - locked " unicode = " & # xf200 ; " horiz - adv - x = " 384 " <nl> + d = " M22 - 32c - 12 0 - 22 10 - 22 22v212c0 12 10 22 22 22h3h19v31c0 42 17 87 43 115s64 46 105 46v0v0c41 0 79 - 18 105 - 46s43 - 73 43 - 115v - 31h22c12 0 22 - 10 22 - 22v - 212c0 - 12 - 10 - 22 - 22 - 22h - 340zM97 255v - 31h17h155h18v31c0 27 - 10 61 - 28 80v0v1 <nl> + c - 18 19 - 42 29 - 67 29v0v0c - 25 0 - 49 - 10 - 67 - 29v - 1v0c - 18 - 19 - 28 - 53 - 28 - 80z " / > <nl> + < glyph glyph - name = " ion - log - in " unicode = " & # xf29e ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224c - 96 0 - 177 60 - 209 144h34c9 - 20 23 - 40 39 - 56c36 - 36 85 - 56 136 - 56s100 20 136 56s56 85 56 136s - 20 100 - 56 136s - 85 56 - 136 56s - 100 - 20 - 136 - 56c - 16 - 16 - 30 - 36 - 39 - 56h - 34c32 84 113 144 209 144z <nl> + M175 124l52 52h - 227v32h227l - 52 52l22 23l91 - 91l - 91 - 91z " / > <nl> + < glyph glyph - name = " ion - log - out " unicode = " & # xf29f ; " <nl> + d = " M335 124l52 52h - 227v32h227l - 52 52l22 23l91 - 91l - 91 - 91zM359 56c3 3 6 5 8 8h41c - 40 - 58 - 108 - 96 - 184 - 96c - 124 0 - 224 100 - 224 224s100 224 224 224c76 0 144 - 38 184 - 96h - 41c - 2 3 - 5 5 - 8 8c - 36 36 - 84 56 - 135 56s - 100 - 20 - 136 - 56s - 56 - 85 - 56 - 136 <nl> + s20 - 100 56 - 136s85 - 56 136 - 56s99 20 135 56z " / > <nl> + < glyph glyph - name = " ion - loop " unicode = " & # xf201 ; " horiz - adv - x = " 334 " <nl> + d = " M184 148v - 58c49 8 86 50 86 102c0 16 - 4 30 - 10 44c - 3 6 - 5 12 - 9 17l47 43c1 - 1 2 - 3 3 - 4c21 - 28 33 - 62 33 - 100v - 4c - 2 - 72 - 47 - 131 - 111 - 154c - 12 - 4 - 26 - 8 - 39 - 9v - 57l - 76 67l - 26 23l44 39zM0 196c2 72 48 133 113 155c12 4 24 7 37 8v57l76 - 67l26 - 23l - 44 - 39 <nl> + l - 59 - 51l1 58c - 49 - 8 - 86 - 51 - 86 - 102c0 - 16 4 - 31 10 - 45c3 - 6 5 - 11 9 - 16l - 47 - 44c - 1 2 - 2 3 - 3 5c - 20 28 - 33 63 - 33 100v4z " / > <nl> + < glyph glyph - name = " ion - magnet " unicode = " & # xf2a0 ; " horiz - adv - x = " 384 " <nl> + d = " M192 416c115 0 192 - 78 192 - 200c0 - 49 - 3 - 77 - 15 - 128c - 16 - 66 - 39 - 113 - 39 - 113v - 1c - 2 - 3 - 6 - 6 - 10 - 6c - 1 0 - 3 1 - 4 1l - 2 1l - 50 20l - 2 1c - 3 2 - 5 5 - 5 9c0 1 0 3 1 4v1c7 16 27 59 37 101s13 63 13 108c0 71 - 52 122 - 116 122s - 116 - 51 - 116 - 122 <nl> + c0 - 45 3 - 66 13 - 108s30 - 85 37 - 101v - 1c1 - 1 1 - 3 1 - 4c0 - 4 - 2 - 7 - 5 - 9l - 2 - 1l - 50 - 20l - 2 - 1c - 1 0 - 3 - 1 - 4 - 1c - 4 0 - 8 3 - 10 6v1s - 24 47 - 40 113c - 12 51 - 14 79 - 14 128c0 122 77 200 192 200zM109 4c - 9 19 - 27 59 - 36 98l - 42 - 12c13 - 53 30 - 92 35 - 104l43 17v1z <nl> + M317 - 14c5 12 23 51 36 104l - 43 12c - 9 - 39 - 26 - 79 - 35 - 98v - 1z " / > <nl> + < glyph glyph - name = " ion - male " unicode = " & # xf2a1 ; " <nl> + d = " M448 256l - 63 63l - 69 - 69c22 - 30 36 - 66 36 - 106c0 - 97 - 79 - 176 - 176 - 176s - 176 79 - 176 176s79 176 176 176c40 0 76 - 14 106 - 36l69 69l - 63 63h160v - 160zM266 54c24 24 38 56 38 90s - 14 66 - 38 90s - 56 38 - 90 38s - 66 - 14 - 90 - 38s - 38 - 56 - 38 - 90s14 - 66 38 - 90 <nl> + s56 - 38 90 - 38s66 14 90 38z " / > <nl> + < glyph glyph - name = " ion - man " unicode = " & # xf202 ; " horiz - adv - x = " 168 " <nl> + d = " M84 341c - 21 0 - 37 17 - 37 38s16 37 37 37s37 - 16 37 - 37s - 16 - 38 - 37 - 38zM121 333c28 0 47 - 24 47 - 48v - 114c0 - 22 - 32 - 22 - 32 0v105h - 5v - 286c0 - 28 - 41 - 31 - 43 0v165h - 1h - 7v - 165c - 1 - 29 - 43 - 30 - 43 0v286h - 6v - 105c0 - 22 - 31 - 22 - 31 0v114c0 24 19 48 47 48h37h37z <nl> + " / > <nl> + < glyph glyph - name = " ion - map " unicode = " & # xf203 ; " <nl> + d = " M441 311c4 - 3 7 - 8 7 - 14v - 281c0 - 6 - 2 - 11 - 7 - 14c - 2 - 1 - 5 - 2 - 7 - 2c - 3 0 - 6 0 - 8 2l - 97 66l - 97 - 66c - 5 - 3 - 10 - 3 - 15 0l - 97 66l - 97 - 66c - 5 - 3 - 10 - 3 - 15 0s - 8 8 - 8 14v281c0 6 3 11 7 14l105 71c5 3 10 3 15 0l97 - 66l98 66c5 3 10 3 15 0zM103 95v242l - 71 - 50v - 242 <nl> + zM135 95l73 - 49v129l - 4 - 11c - 7 2 - 13 6 - 20 10l8 13c5 - 3 11 - 6 16 - 8v109l - 73 49v - 101c4 - 2 9 - 4 13 - 7l - 10 - 13c - 1 1 - 2 1 - 3 2v - 123zM240 46l73 49v109c0 - 1 - 1 - 1 - 1 - 2l - 6 - 6l - 12 11l6 6c3 3 5 7 8 10l5 - 5v119l - 73 - 49v - 112h7l3 - 15c - 3 0 - 6 - 1 - 9 - 1h - 1v - 114zM416 46 <nl> + v242l - 71 49v - 88c3 1 5 1 8 2l4 - 16c - 4 - 1 - 8 - 1 - 12 - 3v - 137zM97 227c - 3 - 1 - 11 - 5 - 14 - 7l - 11 12c4 3 8 6 12 8c3 2 6 3 9 4l5 - 15c - 2 - 1 1 - 1 - 1 - 2zM265 182c5 3 10 5 15 10l11 - 12c - 6 - 6 - 12 - 10 - 19 - 13zM67 192v - 1l - 15 5v1c2 7 4 13 9 20l13 - 9c - 4 - 5 - 5 - 10 - 7 - 16z <nl> + M166 210c3 - 4 7 - 8 11 - 11l - 11 - 12c - 4 4 - 8 9 - 12 13l - 3 3l12 11c1 - 1 2 - 3 3 - 4zM376 218l - 11 12l10 10l - 10 10l11 12l10 - 11l11 11l11 - 12l - 10 - 10l10 - 10l - 11 - 12l - 11 11z " / > <nl> + < glyph glyph - name = " ion - medkit " unicode = " & # xf2a2 ; " <nl> + d = " M440 304c4 0 8 - 4 8 - 8v - 288c0 - 4 - 4 - 8 - 8 - 8h - 432c - 4 0 - 8 4 - 8 8v288c0 4 4 8 8 8h120v31c1 28 22 49 51 49h45h45c30 0 50 - 21 51 - 49v - 31h120zM160 331v - 27h128v27v1v1c0 10 - 9 19 - 19 19h - 45h - 45c - 10 0 - 19 - 9 - 19 - 19v - 1v - 1zM320 128v64h - 64v64h - 64v - 64h - 64v - 64 <nl> + h64v - 64h64v64h64z " / > <nl> + < glyph glyph - name = " ion - merge " unicode = " & # xf33f ; " horiz - adv - x = " 384 " <nl> + d = " M320 224c35 0 64 - 29 64 - 64s - 29 - 64 - 64 - 64c - 24 0 - 44 13 - 55 32h - 10c - 61 0 - 115 25 - 159 74v - 115c19 - 11 32 - 31 32 - 55c0 - 35 - 29 - 64 - 64 - 64s - 64 29 - 64 64c0 24 13 44 32 55v210c - 19 11 - 32 31 - 32 55c0 35 29 64 64 64s64 - 29 64 - 64c0 - 19 - 8 - 37 - 22 - 49 <nl> + c4 - 9 17 - 35 37 - 58c32 - 35 70 - 53 112 - 53h10c11 19 31 32 55 32zM64 384c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32zM64 0c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM320 128c18 0 32 14 32 32s - 14 32 - 32 32 <nl> + s - 32 - 14 - 32 - 32s14 - 32 32 - 32z " / > <nl> + < glyph glyph - name = " ion - mic - a " unicode = " & # xf204 ; " horiz - adv - x = " 288 " <nl> + d = " M0 210c0 10 9 19 20 19s19 - 9 19 - 19v - 14c0 - 28 12 - 53 31 - 72s45 - 31 74 - 31s55 12 74 31s31 44 31 72v14c0 10 8 19 19 19s20 - 9 20 - 19v - 14c0 - 66 - 46 - 120 - 108 - 136c - 1 0 - 3 - 1 - 4 - 1c - 6 - 2 - 10 - 7 - 12 - 13v - 58c0 - 11 - 9 - 20 - 20 - 20v0c - 11 0 - 20 9 - 20 20v58 <nl> + c - 2 6 - 6 11 - 12 13c - 1 0 - 3 1 - 4 1c - 62 16 - 108 70 - 108 136v14zM67 340c0 42 34 76 77 76s78 - 34 78 - 76v - 144c0 - 42 - 35 - 75 - 78 - 75s - 77 33 - 77 75v144z " / > <nl> + < glyph glyph - name = " ion - mic - b " unicode = " & # xf205 ; " horiz - adv - x = " 160 " <nl> + d = " M80 416c35 0 65 - 23 76 - 59c6 - 18 4 - 45 2 - 55s - 8 - 20 - 14 - 28c - 3 - 4 - 7 - 7 - 11 - 9c - 1 0 - 1 - 1 - 2 - 1c - 3 - 1 - 6 - 2 - 10 - 3c - 12 - 3 - 25 - 5 - 39 - 5v0h - 1h - 1v0c - 14 0 - 29 2 - 41 5c - 4 1 - 7 2 - 10 3c - 1 0 - 1 1 - 2 1c - 4 2 - 8 5 - 11 9c - 6 8 - 12 18 - 14 28s - 4 37 2 55 <nl> + c11 36 41 59 76 59zM119 247c6 0 12 - 5 12 - 12v - 2c - 5 - 67 - 18 - 241 - 19 - 252c0 0 - 3 - 13 - 32 - 13v0c - 29 0 - 32 13 - 32 13c - 1 11 - 13 185 - 18 252v2c0 7 5 12 11 12h1c1 0 1 - 1 2 - 1c2 0 4 - 1 6 - 1c9 - 2 21 - 2 31 - 2s20 0 29 2c2 0 4 1 6 1c1 0 1 1 2 1h1zM90 166v33 <nl> + c0 6 - 4 11 - 10 11s - 10 - 5 - 10 - 11v - 33c0 - 6 4 - 11 10 - 11s10 5 10 11z " / > <nl> + < glyph glyph - name = " ion - mic - c " unicode = " & # xf206 ; " horiz - adv - x = " 256 " <nl> + d = " M201 416c30 0 55 - 23 55 - 52v - 28h - 59v - 37h59v - 43h - 59v - 37h59v - 43h - 59v - 37h59v - 42c0 - 29 - 25 - 52 - 55 - 52h - 30v - 77h - 86v77h - 30c - 30 0 - 55 23 - 55 52v42h152v37h - 152v43h152v37h - 152v43h152v37h - 152v28c0 29 25 52 55 52h146z " / > <nl> + < glyph glyph - name = " ion - minus - circled " unicode = " & # xf207 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM352 176v32h - 256v - 32h256z " / > <nl> + < glyph glyph - name = " ion - minus - round " unicode = " & # xf208 ; " horiz - adv - x = " 384 " <nl> + d = " M353 224c17 0 31 - 14 31 - 32s - 14 - 32 - 31 - 32h - 322c - 17 0 - 31 14 - 31 32s14 32 31 32h322z " / > <nl> + < glyph glyph - name = " ion - minus " unicode = " & # xf209 ; " horiz - adv - x = " 384 " <nl> + d = " M0 160v64h384v - 64h - 384z " / > <nl> + < glyph glyph - name = " ion - model - s " unicode = " & # xf2c1 ; " horiz - adv - x = " 512 " <nl> + d = " M509 57v - 8v0v - 1v - 3v0c0 - 3 - 1 - 5 - 1 - 7c - 1 - 12 - 2 - 18 - 6 - 20c - 3 - 2 - 6 - 2 - 10 - 2h - 43s - 10 1 - 11 16v8c20 1 39 1 52 0c10 0 13 0 16 6c2 3 2 7 3 11zM3 57c1 - 4 1 - 8 3 - 11c3 - 6 6 - 6 16 - 6c13 1 32 1 52 0v - 8c - 1 - 15 - 8 - 16 - 11 - 16h - 43s - 7 0 - 10 2c - 4 2 - 6 8 - 7 20v7 <nl> + v0v3v1v0v8zM512 151c0 - 31 - 2 - 58 - 2 - 68c0 - 4 0 - 11 - 1 - 18c - 1 - 4 - 1 - 8 - 3 - 11c - 3 - 6 - 6 - 6 - 16 - 6c - 13 1 - 32 1 - 52 0c - 13 0 - 27 - 2 - 39 - 2c - 30 - 1 - 21 4 - 34 4s - 63 - 2 - 109 - 2s - 97 2 - 110 2s - 4 - 5 - 34 - 4c - 12 0 - 25 2 - 38 2c - 20 1 - 39 1 - 52 0c - 10 0 - 13 0 - 16 6 <nl> + c - 2 3 - 2 7 - 3 11c - 1 7 - 1 14 - 1 18c0 10 - 2 37 - 2 68s4 61 6 64c1 2 8 9 26 21s17 10 20 18c - 3 1 - 5 3 - 7 3c - 4 0 - 4 - 3 - 12 - 3s - 24 1 - 28 5c - 4 3 - 5 5 - 5 8s2 9 5 13s19 6 27 7s10 0 12 - 1c4 - 2 3 - 22 3 - 22l9 - 1c5 13 12 41 24 62c13 23 26 30 32 32s10 2 48 6s69 5 96 5 <nl> + s58 - 1 96 - 5s42 - 4 48 - 6s19 - 9 32 - 32c12 - 21 19 - 49 24 - 62l9 1s - 1 20 3 22c2 1 4 2 12 1s24 - 3 27 - 7s5 - 10 5 - 13s - 1 - 4 - 5 - 8s - 20 - 5 - 28 - 5s - 8 3 - 12 3c - 2 0 - 4 - 2 - 7 - 3c3 - 8 2 - 6 20 - 18s25 - 19 26 - 21c2 - 3 6 - 33 6 - 64zM86 303c - 5 - 11 - 11 - 33 - 10 - 36 <nl> + s - 1 - 5 15 - 4s117 3 165 3s149 - 2 165 - 3s14 1 15 4s - 5 25 - 10 36s - 17 31 - 26 37c - 2 1 - 17 7 - 54 9c - 34 2 - 72 3 - 90 3s - 56 - 1 - 90 - 3c - 37 - 2 - 52 - 8 - 54 - 9c - 7 - 4 - 21 - 26 - 26 - 37zM123 178c7 2 11 2 11 2s - 17 16 - 48 25s - 49 11 - 66 10c0 0 - 3 - 16 0 - 27s8 - 10 16 - 12 <nl> + s13 - 5 16 - 4s7 4 12 4s29 - 4 38 - 4s14 4 21 6zM358 99c15 2 34 19 21 33c - 18 19 - 15 19 - 55 24c - 35 4 - 61 4 - 68 4s - 33 0 - 68 - 4c - 40 - 5 - 37 - 5 - 55 - 24c - 13 - 14 6 - 31 21 - 33c14 - 2 74 - 3 102 - 3s88 1 102 3zM492 188c3 11 0 27 0 27c - 17 1 - 35 - 1 - 66 - 10s - 48 - 26 - 48 - 26 <nl> + s4 1 11 - 1s12 - 6 21 - 6s33 4 38 4s9 - 3 12 - 4s8 2 16 4s13 1 16 12z " / > <nl> + < glyph glyph - name = " ion - monitor " unicode = " & # xf20a ; " <nl> + d = " M437 384c6 0 11 - 5 11 - 11v - 266c0 - 6 - 5 - 11 - 11 - 11h - 426c - 6 0 - 11 5 - 11 11v266c0 6 5 11 11 11h426zM416 128v224h - 384v - 224h384zM270 0h - 92c - 28 0 - 42 3 - 30 12s30 16 30 23c0 4 1 45 1 45h45h45s1 - 41 1 - 45c0 - 7 18 - 14 30 - 23s - 2 - 12 - 30 - 12z " / > <nl> + < glyph glyph - name = " ion - more " unicode = " & # xf20b ; " horiz - adv - x = " 384 " <nl> + d = " M50 144c - 28 0 - 50 21 - 50 48c0 26 22 48 50 48s50 - 22 50 - 48c0 - 27 - 22 - 48 - 50 - 48zM192 144c - 28 0 - 50 21 - 50 48c0 26 22 48 50 48s50 - 22 50 - 48c0 - 27 - 22 - 48 - 50 - 48zM334 144c - 28 0 - 50 21 - 50 48c0 26 22 48 50 48s50 - 22 50 - 48c0 - 27 - 22 - 48 - 50 - 48z " / > <nl> + < glyph glyph - name = " ion - mouse " unicode = " & # xf340 ; " horiz - adv - x = " 256 " <nl> + d = " M128 416h - 1h5h - 4zM251 255c2 1 2 1 4 1h1v - 176c0 - 37 - 21 - 71 - 53 - 91c - 5 - 3 - 9 - 5 - 14 - 7v - 1v0c - 18 - 9 - 39 - 13 - 61 - 13c - 71 0 - 128 50 - 128 112v176h1c2 0 3 0 5 - 1v0c34 - 13 76 - 23 122 - 23s88 10 122 23h1zM189 - 18c5 2 10 4 14 7c - 5 - 3 - 9 - 5 - 14 - 7v0v - 1v1v0z <nl> + M203 - 11c - 4 - 3 - 9 - 5 - 14 - 7c5 2 9 4 14 7zM132 416c69 - 2 124 - 51 124 - 112v - 23c - 2 - 2 - 4 - 4 - 6 - 5c - 1 - 1 - 3 0 - 4 - 1c - 23 - 10 - 50 - 16 - 82 - 19h - 1h - 2c - 11 0 - 17 0 - 17 10v86c0 9 - 7 16 - 16 16s - 16 - 7 - 16 - 16v - 85c0 - 11 - 6 - 11 - 17 - 11h - 2c - 32 3 - 61 9 - 84 19v0 <nl> + c - 1 0 - 1 1 - 2 1c - 3 1 - 5 3 - 7 5v23c0 61 57 111 127 112h5z " / > <nl> + < glyph glyph - name = " ion - music - note " unicode = " & # xf20c ; " horiz - adv - x = " 384 " <nl> + d = " M362 416c12 0 22 - 9 22 - 21v - 303s - 3 - 43 - 12 - 55v0c - 9 - 15 - 25 - 21 - 43 - 21h - 37c - 28 0 - 52 20 - 52 48s24 48 52 48h60v192l - 208 - 38v - 232c0 - 8 - 3 - 27 - 13 - 41c - 1 - 2 - 2 - 3 - 3 - 5c0 - 1 - 1 - 1 - 2 - 2v0c - 9 - 11 - 23 - 18 - 38 - 18h - 37c - 28 0 - 51 20 - 51 48s23 48 51 48v0h61 <nl> + v286c1 14 13 28 27 32l218 33s3 1 5 1z " / > <nl> + < glyph glyph - name = " ion - navicon - round " unicode = " & # xf20d ; " horiz - adv - x = " 384 " <nl> + d = " M353 224c17 0 31 - 14 31 - 32s - 14 - 32 - 31 - 32h - 322c - 17 0 - 31 14 - 31 32s14 32 31 32h322zM353 352c17 0 31 - 14 31 - 32s - 14 - 32 - 31 - 32h - 322c - 17 0 - 31 14 - 31 32s14 32 31 32h322zM353 96c17 0 31 - 14 31 - 32s - 14 - 32 - 31 - 32h - 322c - 17 0 - 31 14 - 31 32s14 32 31 32 <nl> + h322z " / > <nl> + < glyph glyph - name = " ion - navicon " unicode = " & # xf20e ; " horiz - adv - x = " 320 " <nl> + d = " M0 175v32h320v - 32h - 320zM0 271v32h320v - 32h - 320zM0 79v32h320v - 32h - 320z " / > <nl> + < glyph glyph - name = " ion - navigate " unicode = " & # xf2a3 ; " <nl> + d = " M448 416l - 192 - 448v256h - 256z " / > <nl> + < glyph glyph - name = " ion - network " unicode = " & # xf341 ; " horiz - adv - x = " 384 " <nl> + d = " M384 352c0 - 24 - 13 - 44 - 32 - 55v - 93l - 128 - 64v - 53c19 - 11 32 - 31 32 - 55c0 - 35 - 29 - 64 - 64 - 64s - 64 29 - 64 64c0 24 13 44 32 55v53l - 128 64v93c - 19 11 - 32 31 - 32 55c0 35 29 64 64 64s64 - 29 64 - 64c0 - 24 - 13 - 44 - 32 - 55v - 53l96 - 48l96 48v53c - 19 11 - 32 31 - 32 55 <nl> + c0 35 29 64 64 64s64 - 29 64 - 64zM64 384c - 18 0 - 32 - 14 - 32 - 32s14 - 32 32 - 32s32 14 32 32s - 14 32 - 32 32zM192 0c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM320 320c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32z " / > <nl> + < glyph glyph - name = " ion - no - smoking " unicode = " & # xf2c2 ; " <nl> + d = " M328 144v48h16v - 48h - 16zM80 144v48h90l48 - 48h - 138zM332 388c69 - 38 116 - 112 116 - 196c0 - 124 - 100 - 224 - 224 - 224c - 24 0 - 47 4 - 68 11c - 2 1 - 3 1 - 5 2c - 12 4 - 24 9 - 35 15h - 1c - 69 38 - 115 112 - 115 196c0 124 100 224 224 224c24 0 47 - 4 68 - 11c2 - 1 3 - 1 5 - 2 <nl> + c12 - 4 24 - 9 35 - 15v0zM224 22c37 0 72 12 100 32l - 238 238c - 20 - 28 - 32 - 63 - 32 - 100c0 - 65 36 - 121 90 - 150c6 - 3 13 - 7 19 - 9c2 - 1 3 - 1 5 - 2c9 - 3 19 - 5 29 - 7c9 - 2 18 - 2 27 - 2zM362 93c20 28 32 62 32 99c0 66 - 37 123 - 91 151c - 6 3 - 12 6 - 18 8c - 2 1 - 3 1 - 5 2 <nl> + c - 9 3 - 19 5 - 29 7c - 9 2 - 18 2 - 27 2c - 37 0 - 71 - 12 - 99 - 32zM320 150l - 42 42h42v - 42zM352 144v48h16v - 48h - 16zM328 235c16 - 7 16 - 27 16 - 34v - 1h - 16v1c0 8 - 1 17 - 7 20c - 4 2 - 13 4 - 39 4h - 3c - 13 0 - 24 0 - 33 13c - 5 8 - 5 19 - 2 29c - 4 1 - 8 1 - 12 3c - 17 7 - 26 20 - 26 38 <nl> + c0 33 27 44 39 44v - 16c - 1 0 - 23 - 2 - 23 - 28c0 - 11 5 - 19 16 - 23c9 - 4 18 - 3 18 - 3c3 0 6 - 2 7 - 5s2 - 6 0 - 8c - 5 - 7 - 7 - 18 - 4 - 22c4 - 6 7 - 6 20 - 6h3c24 0 37 - 2 46 - 6zM368 200v0h - 16c0 28 - 4 41 - 7 46c - 6 10 - 14 14 - 25 14h - 30c - 3 0 - 5 2 - 6 4s - 1 6 0 8c0 0 8 18 6 32 <nl> + c - 1 8 - 6 17 - 27 17v16c24 0 40 - 11 43 - 30c2 - 11 0 - 23 - 3 - 31h17c16 0 30 - 8 39 - 22c6 - 10 9 - 28 9 - 54z " / > <nl> + < glyph glyph - name = " ion - nuclear " unicode = " & # xf2a4 ; " <nl> + d = " M176 176c0 32 16 48 48 48s48 - 16 48 - 48s - 16 - 48 - 48 - 48s - 48 16 - 48 48zM176 176c0 32 16 48 48 48s48 - 16 48 - 48s - 16 - 48 - 48 - 48s - 48 16 - 48 48zM448 176c0 - 27 - 5 - 53 - 15 - 78s - 23 - 47 - 40 - 66s - 36 - 35 - 59 - 48l - 79 136c22 12 33 31 33 56h160zM224 240 <nl> + c - 12 0 - 23 - 3 - 33 - 9l - 80 138c35 20 73 31 113 31s78 - 10 113 - 30l - 81 - 139c - 10 6 - 21 9 - 32 9zM160 176c0 - 25 11 - 44 33 - 56l - 79 - 136c - 35 20 - 62 46 - 83 80s - 31 71 - 31 112h160z " / > <nl> + < glyph glyph - name = " ion - outlet " unicode = " & # xf342 ; " <nl> + d = " M338 416c61 0 110 - 51 110 - 113v - 222c0 - 62 - 49 - 113 - 110 - 113h - 228c - 61 0 - 110 51 - 110 113v222c0 62 49 113 110 113h228zM143 197v102c0 11 - 9 21 - 20 21h - 23c - 11 0 - 19 - 9 - 20 - 20v - 2v - 101v - 1c0 - 11 9 - 20 20 - 20h23c11 0 20 9 20 20v1zM265 52v29 <nl> + c0 23 - 18 42 - 41 42s - 41 - 19 - 41 - 42v - 29v0c0 - 11 9 - 20 20 - 20h21h21c11 0 20 7 20 18v2zM368 197v102c0 11 - 9 21 - 20 21h - 24c - 11 0 - 19 - 9 - 20 - 20v - 2v - 101v - 1c0 - 11 9 - 20 20 - 20h24c11 0 20 9 20 20v1z " / > <nl> + < glyph glyph - name = " ion - paintbrush " unicode = " & # xf4d5 ; " <nl> + d = " M118 165c52 0 102 - 41 90 - 102c - 11 - 52 - 54 - 71 - 90 - 77c - 30 - 5 - 100 0 - 118 35c24 9 34 26 34 49c0 49 32 95 84 95zM436 388c13 - 13 17 - 30 5 - 45l - 154 - 175c2 - 9 1 - 17 - 3 - 23l - 50 - 58v0v0c - 2 - 2 - 4 - 2 - 6 0c - 1 1 - 1 2 - 1 3v1c2 53 - 41 87 - 89 90v0h - 2s - 2 0 - 2 1 <nl> + c - 2 2 - 2 4 0 6l59 49c6 4 14 4 23 2l175 154c15 12 32 8 45 - 5zM134 188v0v0v0z " / > <nl> + < glyph glyph - name = " ion - paintbucket " unicode = " & # xf4d6 ; " horiz - adv - x = " 480 " <nl> + d = " M112 384l32 32l275 - 276l - 58 - 12l - 163 - 160l - 198 192l152 152zM309 160l - 110 110l - 110 - 110h220zM419 140c0 0 61 - 66 61 - 99s - 27 - 60 - 61 - 60s - 60 27 - 60 60s60 99 60 99z " / > <nl> + < glyph glyph - name = " ion - paper - airplane " unicode = " & # xf2c3 ; " <nl> + d = " M0 176l448 240l - 112 - 448l - 112 112l - 80 - 112l - 16 160zM319 31l80 323l - 322 - 173l83 - 31l192 154l - 128 - 176z " / > <nl> + < glyph glyph - name = " ion - paperclip " unicode = " & # xf20f ; " horiz - adv - x = " 160 " <nl> + d = " M149 293c6 0 11 - 5 11 - 12v - 195c0 - 28 - 10 - 49 - 24 - 63c - 15 - 15 - 36 - 23 - 56 - 23c - 40 0 - 80 31 - 80 88v234c0 24 11 44 29 54s39 11 57 0s29 - 30 29 - 54l - 1 - 225c0 - 13 - 3 - 24 - 9 - 32s - 16 - 12 - 25 - 12c - 17 0 - 34 15 - 34 44v173c0 6 6 12 12 12s11 - 6 11 - 12v - 173 <nl> + c0 - 14 5 - 21 11 - 21c2 0 5 2 7 4c3 4 5 10 5 17v225c0 15 - 6 28 - 17 34s - 24 6 - 35 0s - 17 - 19 - 17 - 34v - 234c0 - 44 29 - 64 57 - 64s57 19 57 63v195c0 6 6 11 12 11z " / > <nl> + < glyph glyph - name = " ion - pause " unicode = " & # xf210 ; " horiz - adv - x = " 256 " <nl> + d = " M96 12c0 - 7 - 5 - 12 - 12 - 12h - 72c - 7 0 - 12 5 - 12 12v360c0 7 5 12 12 12h72c7 0 12 - 5 12 - 12v - 360zM244 384c7 0 12 - 5 12 - 12v - 360c0 - 7 - 5 - 12 - 12 - 12h - 72c - 7 0 - 12 5 - 12 12v360c0 7 5 12 12 12h72z " / > <nl> + < glyph glyph - name = " ion - person - add " unicode = " & # xf211 ; " <nl> + d = " M397 120h - 42v51h - 51v42h51v51h42v - 51h51v - 42h - 51v - 51zM384 0h - 192h - 192s0 26 2 40c2 11 17 25 81 49c63 23 60 12 60 55c0 28 - 14 11 - 23 64c - 4 21 - 6 7 - 14 40c - 4 17 3 19 2 27s - 2 16 - 4 33c - 2 21 18 76 88 76s90 - 55 88 - 76c - 2 - 17 - 3 - 25 - 4 - 33s6 - 10 2 - 27 <nl> + c - 8 - 33 - 10 - 19 - 14 - 40c - 9 - 53 - 23 - 36 - 23 - 64c0 - 43 - 3 - 32 60 - 55c64 - 24 79 - 38 81 - 49c2 - 14 2 - 40 2 - 40z " / > <nl> + < glyph glyph - name = " ion - person - stalker " unicode = " & # xf212 ; " <nl> + d = " M393 123c42 - 16 52 - 26 53 - 33c2 - 9 2 - 90 2 - 90h - 98c0 18 0 71 - 1 77c - 1 10 - 1 29 - 55 50c - 8 3 - 14 5 - 19 7c18 8 15 15 15 28c0 19 - 9 11 - 15 47c - 2 14 - 4 5 - 9 28c - 3 12 1 12 1 18s - 1 10 - 2 22c - 1 14 11 52 57 52s59 - 38 58 - 52c - 1 - 12 - 2 - 16 - 2 - 22 <nl> + c - 1 - 6 4 - 6 1 - 18c - 5 - 23 - 7 - 14 - 9 - 28c - 6 - 36 - 16 - 28 - 16 - 47c0 - 29 - 2 - 23 39 - 39zM325 0h - 163h - 162s0 65 2 77c2 10 15 22 69 43c54 20 50 17 50 55c0 24 - 12 8 - 20 54c - 3 18 - 5 7 - 11 36c - 3 15 2 16 1 23s - 2 14 - 3 29c - 2 19 15 67 74 67s77 - 49 75 - 67 <nl> + c - 1 - 15 - 2 - 22 - 3 - 29s5 - 8 2 - 23c - 6 - 29 - 9 - 18 - 12 - 36c - 8 - 46 - 20 - 30 - 20 - 54c0 - 32 - 2 - 36 31 - 48c6 - 2 11 - 4 19 - 7c54 - 21 67 - 33 69 - 43c1 - 6 2 - 28 2 - 47v - 30z " / > <nl> + < glyph glyph - name = " ion - person " unicode = " & # xf213 ; " horiz - adv - x = " 384 " <nl> + d = " M384 0h - 192h - 192s0 26 2 40c2 11 17 25 81 49c63 23 60 12 60 55c0 28 - 14 11 - 23 64c - 4 21 - 6 7 - 14 40c - 4 17 3 19 2 27s - 2 16 - 4 33c - 2 21 18 76 88 76s90 - 55 88 - 76c - 2 - 17 - 3 - 25 - 4 - 33s6 - 10 2 - 27c - 8 - 33 - 10 - 19 - 14 - 40c - 9 - 53 - 23 - 36 - 23 - 64 <nl> + c0 - 43 - 3 - 32 60 - 55c64 - 24 79 - 38 81 - 49c2 - 14 2 - 40 2 - 40z " / > <nl> + < glyph glyph - name = " ion - pie - graph " unicode = " & # xf2a5 ; " <nl> + d = " M1 192c0 5 - 1 11 - 1 16c0 115 93 208 208 208c5 0 11 - 1 16 - 1v - 32v - 191h - 191h - 32zM78 46c - 26 32 - 42 71 - 45 114h223v223c43 - 3 82 - 19 114 - 45c47 - 38 78 - 96 78 - 162c0 - 115 - 93 - 208 - 208 - 208c - 66 0 - 124 31 - 162 78z " / > <nl> + < glyph glyph - name = " ion - pin " unicode = " & # xf2a6 ; " horiz - adv - x = " 224 " <nl> + d = " M188 220c20 - 10 36 - 31 36 - 55c0 - 17 - 3 - 21 - 15 - 21h - 81l - 12 - 176h - 8l - 12 176h - 81c - 12 0 - 15 5 - 15 21c0 24 16 45 36 55v0c1 0 3 1 4 2c7 4 12 11 14 19l18 118v5c0 7 - 4 10 - 10 13v0c - 1 0 - 1 1 - 2 1c - 7 3 - 12 9 - 12 17c0 20 6 21 18 21h92c12 0 18 - 1 18 - 21 <nl> + c0 - 8 - 5 - 14 - 12 - 17c - 1 0 - 1 - 1 - 2 - 1v0c - 6 - 3 - 10 - 6 - 10 - 13v - 5l18 - 118c2 - 8 7 - 15 14 - 19c1 - 1 3 - 2 4 - 2v0z " / > <nl> + < glyph glyph - name = " ion - pinpoint " unicode = " & # xf2a7 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM360 56c32 32 51 75 55 120l - 63 8v16l63 8c - 4 45 - 23 88 - 55 120s - 75 51 - 120 55l - 8 - 63h - 16l - 8 63c - 45 - 4 - 88 - 23 - 120 - 55s - 51 - 75 - 55 - 120l63 - 8v - 16l - 63 - 8 <nl> + c4 - 45 23 - 88 55 - 120s75 - 51 120 - 55l8 63h16l8 - 63c45 4 88 23 120 55z " / > <nl> + < glyph glyph - name = " ion - pizza " unicode = " & # xf2a8 ; " horiz - adv - x = " 352 " <nl> + d = " M315 318c10 - 4 12 - 13 9 - 20l - 148 - 330s - 143 320 - 148 331s2 16 9 19c39 18 90 28 139 28s96 - 9 139 - 28zM112 256c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM176 109c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM240 224 <nl> + c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM342 382c6 - 3 10 - 6 10 - 13c0 - 1 0 - 3 - 1 - 5l - 8 - 19c - 3 - 5 - 8 - 9 - 14 - 9c - 1 0 - 3 1 - 6 2c - 41 18 - 95 30 - 147 30s - 102 - 11 - 147 - 30c - 3 - 1 - 4 - 2 - 6 - 2c - 6 0 - 11 4 - 14 9l - 8 19s - 1 2 - 1 5c0 8 6 12 10 14 <nl> + c49 21 107 33 166 33s118 - 13 166 - 34z " / > <nl> + < glyph glyph - name = " ion - plane " unicode = " & # xf214 ; " <nl> + d = " M250 136c0 - 7 1 - 69 - 6 - 102c - 1 - 4 3 - 4 5 - 7l51 - 33c2 - 2 3 - 8 3 - 8l1 - 18l - 68 16l - 12 - 32l - 12 32l - 68 - 16l1 18s0 6 2 8l52 33c2 3 6 3 5 7c - 7 33 - 6 95 - 6 102s - 8 5 - 8 5l - 62 - 13l - 128 - 49c0 23 2 26 9 31l183 131s5 63 5 113c0 24 12 78 27 78s27 - 54 27 - 78 <nl> + c0 - 53 5 - 113 5 - 113l183 - 131c6 - 4 9 - 7 9 - 31l - 128 49l - 62 13s - 8 2 - 8 - 5z " / > <nl> + < glyph glyph - name = " ion - planet " unicode = " & # xf343 ; " horiz - adv - x = " 512 " <nl> + d = " M96 182c39 - 24 85 - 48 134 - 69c44 - 19 87 - 35 126 - 46c - 27 - 22 - 62 - 35 - 100 - 35c - 85 0 - 155 66 - 160 150zM107 251c1 4 3 8 5 11c10 21 26 40 44 55c27 22 62 35 100 35c85 0 155 - 66 160 - 150v - 10c0 - 21 - 4 - 41 - 11 - 59c - 1 - 4 - 3 - 8 - 5 - 11c - 6 1 - 13 3 - 19 5 <nl> + c - 39 11 - 82 26 - 126 45c - 56 24 - 108 52 - 148 79zM430 163c57 - 35 87 - 62 81 - 82c - 4 - 12 - 19 - 17 - 44 - 17c - 50 0 - 136 23 - 231 64c - 141 61 - 246 140 - 235 175c4 12 20 20 44 17c22 - 3 47 - 9 73 - 18c - 8 - 9 - 8 - 12 - 14 - 22c - 23 5 - 44 8 - 59 8h - 6c2 - 2 5 - 6 8 - 9 <nl> + c11 - 11 27 - 24 46 - 37c41 - 29 97 - 59 156 - 85c44 - 19 89 - 35 128 - 46c36 - 10 68 - 15 90 - 15h6c - 2 2 - 5 6 - 8 9c - 10 10 - 24 22 - 41 34c4 11 5 12 6 24z " / > <nl> + < glyph glyph - name = " ion - play " unicode = " & # xf215 ; " horiz - adv - x = " 320 " <nl> + d = " M309 215c7 - 6 11 - 14 11 - 23s - 4 - 17 - 11 - 23l - 278 - 166c - 4 - 2 - 7 - 3 - 11 - 3c - 11 0 - 20 9 - 20 20v0v344v0c0 11 9 20 20 20c4 0 8 - 1 11 - 3z " / > <nl> + < glyph glyph - name = " ion - playstation " unicode = " & # xf30a ; " horiz - adv - x = " 512 " <nl> + d = " M400 245c0 - 11 0 - 22 - 2 - 33c - 2 - 10 - 5 - 20 - 10 - 28c - 4 - 7 - 10 - 13 - 18 - 17c - 7 - 4 - 16 - 6 - 24 - 6c - 13 0 - 31 4 - 42 9v131v2c0 9 - 7 17 - 15 17h - 1c - 9 0 - 16 - 8 - 16 - 17v - 3v - 300l - 80 26v358s28 - 4 75 - 18s67 - 21 84 - 31c8 - 5 15 - 11 21 - 17c7 - 7 13 - 14 17 - 23 <nl> + c8 - 16 10 - 33 11 - 50zM87 90c - 4 - 2 - 8 - 3 - 11 - 6c - 1 - 1 - 3 - 3 - 2 - 5s4 - 4 6 - 5c6 - 2 13 - 3 19 - 3c7 0 15 0 22 2c5 1 9 3 14 5c30 10 41 12 41 12v - 42c - 14 - 2 - 36 - 4 - 50 - 4c - 30 - 1 - 60 4 - 88 13c - 9 3 - 19 6 - 27 12c - 4 3 - 8 8 - 10 13c - 2 4 - 1 9 1 13s5 8 9 11 <nl> + c9 6 18 10 28 14c8 4 17 7 26 10c35 12 111 37 111 37v - 47s - 62 - 20 - 89 - 30zM512 102c0 - 5 - 2 - 9 - 5 - 13c - 6 - 7 - 14 - 11 - 22 - 15s - 17 - 8 - 26 - 11c - 54 - 19 - 171 - 59 - 171 - 59v48s92 30 133 44c6 2 11 4 16 8c2 2 4 3 3 6c - 1 2 - 4 4 - 6 5c - 6 2 - 13 3 - 19 3 <nl> + c - 10 0 - 20 - 2 - 30 - 5c - 29 - 10 - 97 - 32 - 97 - 32v49s45 14 67 16c8 1 23 1 31 1c26 0 54 - 3 79 - 11c5 - 2 8 - 3 14 - 5c9 - 3 18 - 8 25 - 14c4 - 4 8 - 9 8 - 15z " / > <nl> + < glyph glyph - name = " ion - plus - circled " unicode = " & # xf216 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM352 176v32h - 112v112h - 32v - 112h - 112v - 32h112v - 112h32v112h112z " / > <nl> + < glyph glyph - name = " ion - plus - round " unicode = " & # xf217 ; " horiz - adv - x = " 384 " <nl> + d = " M353 224c17 0 31 - 14 31 - 32s - 14 - 32 - 31 - 32h - 129v - 129c0 - 17 - 14 - 31 - 32 - 31s - 32 14 - 32 31v129h - 129c - 17 0 - 31 14 - 31 32s14 32 31 32h129v129c0 17 14 31 32 31s32 - 14 32 - 31v - 129h129z " / > <nl> + < glyph glyph - name = " ion - plus " unicode = " & # xf218 ; " horiz - adv - x = " 384 " <nl> + d = " M384 224v - 64h - 160v - 160h - 64v160h - 160v64h160v160h64v - 160h160z " / > <nl> + < glyph glyph - name = " ion - podium " unicode = " & # xf344 ; " <nl> + d = " M0 0v192h128v - 192h - 128zM160 0v288h128v - 288h - 128zM320 0v128h128v - 128h - 128z " / > <nl> + < glyph glyph - name = " ion - pound " unicode = " & # xf219 ; " <nl> + d = " M93 96h - 93v54h101l13 84h - 99v54h107l22 128h64l - 22 - 128h106l22 128h63l - 22 - 128h93v - 54h - 102l - 12 - 84h99v - 54h - 107l - 22 - 128h - 63l22 128h - 107l - 22 - 128h - 63zM177 234l - 12 - 84h106l12 84h - 106v0z " / > <nl> + < glyph glyph - name = " ion - power " unicode = " & # xf2a9 ; " <nl> + d = " M224 192c - 18 0 - 32 14 - 32 32v160c0 18 14 32 32 32s32 - 14 32 - 32v - 160c0 - 18 - 14 - 32 - 32 - 32zM347 379c61 - 40 101 - 109 101 - 187c0 - 124 - 100 - 224 - 224 - 224s - 224 100 - 224 224c0 78 40 147 101 187v0c5 3 11 5 17 5c18 0 32 - 14 32 - 32c0 - 6 - 2 - 12 - 5 - 17 <nl> + c - 2 - 3 - 4 - 6 - 7 - 8c - 1 - 1 - 3 - 2 - 4 - 3c - 8 - 6 - 16 - 12 - 23 - 19c - 30 - 30 - 47 - 70 - 47 - 113s17 - 83 47 - 113s70 - 47 113 - 47s83 17 113 47s47 70 47 113s - 17 83 - 47 113c - 7 7 - 15 13 - 23 19c - 1 1 - 3 2 - 4 3c - 3 2 - 5 5 - 7 8c - 3 5 - 5 11 - 5 17c0 18 14 32 32 32c6 0 12 - 2 17 - 5 <nl> + v0z " / > <nl> + < glyph glyph - name = " ion - pricetag " unicode = " & # xf2aa ; " <nl> + d = " M439 187c12 - 12 12 - 31 0 - 43l - 165 - 167c - 11 - 11 - 30 - 11 - 42 - 1l - 3 3l - 206 209l - 6 5c - 6 7 - 9 15 - 10 24v0v2v0l - 7 98v4v0c0 12 4 24 13 33l49 49c8 9 20 13 31 13h4l100 - 4v0c12 0 22 - 4 30 - 12v0l2 - 2v0l210 - 211v0v0zM112 256c26 0 48 22 48 48s - 22 48 - 48 48 <nl> + s - 48 - 22 - 48 - 48s22 - 48 48 - 48z " / > <nl> + < glyph glyph - name = " ion - pricetags " unicode = " & # xf2ab ; " <nl> + d = " M440 209c10 - 11 11 - 28 0 - 39l - 29 - 29c11 11 10 28 0 39v0v0l - 190 191v0l - 1 1h - 1c - 8 7 - 16 12 - 27 12v0l - 90 3h - 4c - 9 0 - 19 - 3 - 26 - 10l28 27c8 8 17 12 27 12h4l90 - 4v0c11 0 19 - 4 27 - 11h1l1 - 1v0l190 - 191v0v0zM396 166v0c11 - 11 11 - 29 0 - 40l - 108 - 109v1l - 26 - 27 <nl> + l - 2 - 2l - 13 - 13c - 10 - 10 - 26 - 10 - 37 - 1l - 3 3l - 186 188l - 5 5c - 5 6 - 9 14 - 10 22v0v2v0l - 6 88v3v1c0 11 4 21 12 29l44 45l1 1l1 1c7 6 17 9 26 9h4l90 - 3v0c11 0 19 - 4 27 - 11v0l2 - 1v0l189 - 191v0zM79 308c - 12 - 8 - 21 - 21 - 21 - 37c0 - 24 19 - 43 43 - 43c16 0 29 9 37 21 <nl> + c4 7 7 14 7 22c0 24 - 20 44 - 44 44c - 8 0 - 15 - 3 - 22 - 7z " / > <nl> + < glyph glyph - name = " ion - printer " unicode = " & # xf21a ; " <nl> + d = " M392 320c28 0 56 - 19 56 - 55v - 131c0 - 31 - 28 - 54 - 56 - 54h - 40v - 112h - 8h - 8h - 224h - 11h - 5v112h - 40c - 28 0 - 56 24 - 56 62v123c0 38 28 55 56 55h40v64h256v - 64h40zM336 - 16v176h - 224v - 176h224zM336 320v48h - 224v - 48h224zM384 256v16h - 17v - 16h17zM128 112v16h192v - 16h - 192z <nl> + M128 64v16h192v - 16h - 192zM128 16v16h192v - 16h - 192z " / > <nl> + < glyph glyph - name = " ion - pull - request " unicode = " & # xf345 ; " horiz - adv - x = " 384 " <nl> + d = " M64 384c35 0 64 - 29 64 - 64c0 - 24 - 13 - 44 - 32 - 55v - 178c19 - 11 32 - 31 32 - 55c0 - 35 - 29 - 64 - 64 - 64s - 64 29 - 64 64c0 24 13 44 32 55v178c - 19 11 - 32 31 - 32 55c0 35 29 64 64 64zM64 0c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM64 288 <nl> + c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32zM351 88c20 - 11 33 - 32 33 - 56c0 - 35 - 29 - 64 - 64 - 64s - 64 29 - 64 64c0 23 12 44 31 55v156c0 16 - 4 26 - 11 33c - 10 9 - 26 12 - 52 12v - 64l - 96 96l96 96v - 64c42 1 74 - 8 96 - 29c21 - 19 31 - 46 31 - 80v - 155z <nl> + M320 0c18 0 32 14 32 32s - 14 32 - 32 32s - 32 - 14 - 32 - 32s14 - 32 32 - 32z " / > <nl> + < glyph glyph - name = " ion - qr - scanner " unicode = " & # xf346 ; " horiz - adv - x = " 416 " <nl> + d = " M48 324v - 68h - 48v68c0 33 28 60 61 60h67v - 48h - 68c - 7 0 - 12 - 5 - 12 - 12zM356 384c33 0 60 - 27 60 - 60v - 68h - 48v68c0 7 - 6 12 - 13 12h - 67v48h68zM368 61v67h48v - 67c0 - 33 - 27 - 61 - 60 - 61h - 68v49h68c7 0 12 5 12 12zM60 49h68v - 49h - 67c - 33 0 - 61 28 - 61 61v67h48v - 67 <nl> + c0 - 7 5 - 12 12 - 12z " / > <nl> + < glyph glyph - name = " ion - quote " unicode = " & # xf347 ; " horiz - adv - x = " 384 " <nl> + d = " M128 384c - 41 0 - 73 - 11 - 95 - 33s - 33 - 54 - 33 - 95v - 256h160v256h - 96c0 23 5 39 15 49s26 15 49 15zM352 384c - 41 0 - 73 - 11 - 95 - 33s - 33 - 54 - 33 - 95v - 256h160v256h - 96c0 23 5 39 15 49s26 15 49 15z " / > <nl> + < glyph glyph - name = " ion - radio - waves " unicode = " & # xf2ac ; " <nl> + d = " M160 192c0 43 21 64 64 64s64 - 21 64 - 64s - 21 - 64 - 64 - 64s - 64 21 - 64 64zM112 192c0 - 18 5 - 35 13 - 50s19 - 28 33 - 37l - 23 - 25c - 6 5 - 13 10 - 18 16c - 25 26 - 37 59 - 37 96s12 70 37 96c5 6 12 11 18 16l23 - 25c - 14 - 9 - 25 - 22 - 33 - 37s - 13 - 32 - 13 - 50zM336 192 <nl> + c0 18 - 5 35 - 13 50s - 19 28 - 33 37l23 25c6 - 5 13 - 10 18 - 16c25 - 26 37 - 59 37 - 96s - 12 - 70 - 37 - 96c - 5 - 6 - 12 - 11 - 18 - 16l - 23 25c14 9 25 22 33 37s13 32 13 50zM32 192c0 - 27 6 - 53 17 - 77s27 - 43 47 - 59l - 23 - 24c - 6 5 - 12 10 - 17 16c - 18 19 - 31 41 - 41 65 <nl> + c - 10 25 - 15 51 - 15 79s5 54 15 79c10 24 23 46 41 65c5 6 11 11 17 16l23 - 24c - 10 - 8 - 18 - 17 - 26 - 27s - 14 - 21 - 20 - 32s - 10 - 24 - 13 - 37s - 5 - 26 - 5 - 40zM416 192c0 27 - 6 53 - 17 77s - 27 43 - 47 59l23 24c6 - 5 12 - 10 17 - 16c18 - 19 31 - 41 41 - 65c10 - 25 15 - 51 15 - 79 <nl> + s - 5 - 54 - 15 - 79c - 10 - 24 - 23 - 46 - 41 - 65c - 4 - 5 - 10 - 10 - 17 - 16l - 23 24c20 16 36 35 47 59s17 50 17 77z " / > <nl> + < glyph glyph - name = " ion - record " unicode = " & # xf21b ; " horiz - adv - x = " 416 " <nl> + d = " M208 - 16c - 115 0 - 208 93 - 208 208s93 208 208 208s208 - 93 208 - 208s - 93 - 208 - 208 - 208z " / > <nl> + < glyph glyph - name = " ion - refresh " unicode = " & # xf21c ; " <nl> + d = " M352 96l - 104 112h74c - 7 65 - 64 112 - 130 112c - 71 0 - 128 - 57 - 128 - 128s57 - 128 128 - 128c28 0 53 8 75 24l6 5l43 - 46l - 7 - 6c - 34 - 26 - 74 - 41 - 117 - 41c - 91 0 - 167 64 - 187 149v0c0 1 - 1 2 - 1 3v1v2s - 1 2 - 1 3v1c0 1 - 1 3 - 1 4v0c - 1 6 - 2 13 - 2 19v1v4v5v5v4v1 <nl> + c0 6 1 13 2 19v0c0 1 1 3 1 4v1c0 1 1 1 1 2v3v1c0 1 1 2 1 3v0c20 85 96 149 187 149v0v0c11 0 21 - 1 31 - 3h2h2c57 - 10 106 - 47 133 - 96c13 - 23 21 - 49 23 - 77h65z " / > <nl> + < glyph glyph - name = " ion - reply - all " unicode = " & # xf21d ; " horiz - adv - x = " 416 " <nl> + d = " M257 256c153 0 159 - 208 159 - 208c - 51 93 - 91 102 - 159 102v - 92l - 152 134l152 144v - 80zM0 192l144 136v - 57l - 82 - 79l82 - 68v - 58z " / > <nl> + < glyph glyph - name = " ion - reply " unicode = " & # xf21e ; " horiz - adv - x = " 384 " <nl> + d = " M384 48c - 53 93 - 122 102 - 224 102v - 92l - 160 134l160 144v - 80c187 0 224 - 208 224 - 208z " / > <nl> + < glyph glyph - name = " ion - ribbon - a " unicode = " & # xf348 ; " horiz - adv - x = " 352 " <nl> + d = " M272 416l80 - 96l - 64 - 134c - 24 30 - 59 49 - 99 53zM80 416l83 - 177c - 40 - 4 - 75 - 23 - 99 - 53l - 64 134zM189 416h67l - 53 - 112h - 27h - 27l - 53 112h80h13zM176 224c71 0 128 - 57 128 - 128s - 57 - 128 - 128 - 128s - 128 57 - 128 128s57 128 128 128zM176 0c53 0 96 43 96 96 <nl> + s - 43 96 - 96 96s - 96 - 43 - 96 - 96s43 - 96 96 - 96zM176 184c49 0 88 - 39 88 - 88s - 39 - 88 - 88 - 88s - 88 39 - 88 88s39 88 88 88z " / > <nl> + < glyph glyph - name = " ion - ribbon - b " unicode = " & # xf349 ; " horiz - adv - x = " 384 " <nl> + d = " M192 376c49 0 88 - 39 88 - 88s - 39 - 88 - 88 - 88s - 88 39 - 88 88s39 88 88 88zM192 416c71 0 128 - 57 128 - 128s - 57 - 128 - 128 - 128s - 128 57 - 128 128s57 128 128 128zM192 192c53 0 96 43 96 96s - 43 96 - 96 96s - 96 - 43 - 96 - 96s43 - 96 96 - 96zM83 194c26 - 30 65 - 50 109 - 50 <nl> + c12 0 23 1 34 4l - 34 - 74l - 48 - 106l - 48 80h - 96zM301 194l83 - 146h - 96l - 48 - 80l - 40 88l45 98c22 9 41 23 56 40z " / > <nl> + < glyph glyph - name = " ion - sad - outline " unicode = " & # xf4d7 ; " <nl> + d = " M367 164c3 - 9 - 2 - 17 - 11 - 19c - 3 - 1 - 7 0 - 10 1c - 5 2 - 9 5 - 11 10s - 4 12 - 13 15s - 14 0 - 19 - 3c - 4 - 3 - 10 - 3 - 15 - 1c - 3 1 - 7 3 - 9 6c - 6 8 - 3 17 5 22c15 9 29 13 49 6s29 - 21 34 - 37zM165 195c8 - 5 10 - 14 4 - 22c - 2 - 3 - 6 - 5 - 9 - 6c - 5 - 2 - 11 - 2 - 15 1c - 5 3 - 10 6 - 19 3 <nl> + s - 11 - 10 - 13 - 15s - 6 - 8 - 11 - 10c - 3 - 1 - 7 - 2 - 10 - 1c - 9 2 - 14 10 - 11 19c5 16 14 30 34 37s35 3 50 - 6zM224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM360 56c36 36 56 85 56 136s - 20 100 - 56 136s - 85 56 - 136 56 <nl> + s - 100 - 20 - 136 - 56s - 56 - 85 - 56 - 136s20 - 100 56 - 136s85 - 56 136 - 56s100 20 136 56zM317 89c5 - 7 3 - 17 - 4 - 22c - 3 - 2 - 6 - 3 - 9 - 3c - 5 0 - 10 3 - 13 7c0 0 - 19 25 - 67 25s - 67 - 25 - 67 - 25c - 3 - 4 - 8 - 7 - 13 - 7c - 3 0 - 6 1 - 9 3c - 7 5 - 9 15 - 4 22c1 2 28 39 93 39 <nl> + s92 - 37 93 - 39z " / > <nl> + < glyph glyph - name = " ion - sad " unicode = " & # xf34a ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM113 156c2 5 4 12 13 15s14 0 19 - 3c4 - 3 10 - 3 15 - 1c3 1 7 3 9 6c6 8 4 17 - 4 22c - 15 9 - 30 13 - 50 6s - 29 - 21 - 34 - 37c - 3 - 9 2 - 17 11 - 19c3 - 1 7 0 10 1c5 2 9 5 11 10z <nl> + M313 67c7 5 9 15 4 22c - 1 2 - 28 39 - 93 39s - 92 - 37 - 93 - 39c - 5 - 7 - 3 - 17 4 - 22c3 - 2 6 - 3 9 - 3c5 0 10 3 13 7c0 0 19 25 67 25s67 - 25 67 - 25c3 - 4 8 - 7 13 - 7c3 0 6 1 9 3zM356 145c9 2 14 10 11 19c - 5 16 - 14 30 - 34 37s - 34 3 - 49 - 6c - 8 - 5 - 11 - 14 - 5 - 22 <nl> + c2 - 3 6 - 5 9 - 6c5 - 2 11 - 2 15 1c5 3 10 6 19 3s11 - 10 13 - 15s6 - 8 11 - 10c3 - 1 7 - 2 10 - 1z " / > <nl> + < glyph glyph - name = " ion - scissors " unicode = " & # xf34b ; " horiz - adv - x = " 384 " <nl> + d = " M341 332c - 13 - 33 - 117 - 172 - 117 - 172l - 32 - 32s - 31 - 13 - 50 - 43s - 33 - 71 - 33 - 71v0c - 7 - 26 - 28 - 46 - 53 - 46c - 31 0 - 56 29 - 56 64s25 64 56 64c13 0 25 - 5 34 - 13c2 - 1 3 - 3 4 - 4v0l2 - 2c4 - 4 7 - 2 14 11c8 15 17 35 27 54s38 59 38 59l17 23l144 192 <nl> + c23 - 20 18 - 51 5 - 84zM56 0c15 0 28 14 28 32s - 13 32 - 28 32s - 28 - 14 - 28 - 32s13 - 32 28 - 32zM192 160c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16zM143 183c - 30 41 - 90 125 - 100 149c - 13 33 - 18 64 5 84l134 - 178l - 3 - 4v0v0l - 17 - 23v - 1v0 <nl> + c - 1 - 1 - 10 - 13 - 19 - 27zM328 96c31 0 56 - 29 56 - 64s - 25 - 64 - 56 - 64c - 25 0 - 47 20 - 54 46v0s - 13 41 - 32 71c - 11 17 - 26 28 - 36 35l29 29l1 1h1c1 1 1 2 2 4c3 - 4 5 - 9 7 - 12c10 - 19 20 - 39 28 - 54c7 - 13 10 - 15 14 - 11c1 1 0 1 1 2h1c1 1 2 3 4 4c9 8 21 13 34 13zM328 0 <nl> + c15 0 28 14 28 32s - 13 32 - 28 32s - 28 - 14 - 28 - 32s13 - 32 28 - 32z " / > <nl> + < glyph glyph - name = " ion - search " unicode = " & # xf21f ; " horiz - adv - x = " 384 " <nl> + d = " M381 61c4 - 4 4 - 10 0 - 14l - 43 - 44c - 2 - 2 - 5 - 3 - 8 - 3s - 5 1 - 7 3l - 84 86c - 25 - 15 - 52 - 23 - 80 - 23c - 87 0 - 159 71 - 159 159s72 159 159 159s158 - 71 158 - 159c0 - 27 - 7 - 54 - 21 - 78zM159 322c - 53 0 - 97 - 43 - 97 - 97s44 - 97 97 - 97s96 43 96 97s - 43 97 - 96 97z " / > <nl> + < glyph glyph - name = " ion - settings " unicode = " & # xf2ad ; " horiz - adv - x = " 416 " <nl> + d = " M402 310c10 - 6 15 - 25 14 - 36c - 1 - 17 - 7 - 36 - 25 - 54c - 1 - 1 - 2 - 1 - 3 - 2c - 26 - 25 - 62 - 30 - 94 - 20c - 1 1 - 2 2 - 4 2c - 5 1 - 10 0 - 13 - 4l - 36 - 39c52 - 50 107 - 96 107 - 96c2 - 2 2 - 5 0 - 7l - 50 - 51c - 2 - 2 - 5 - 2 - 7 0c0 0 - 44 55 - 93 107l - 92 - 98c - 14 - 16 - 40 - 15 - 55 0 <nl> + c - 15 16 - 15 42 1 56l97 93l - 12 12c - 2 2 - 3 7 - 1 10l2 5c - 25 26 - 36 33 - 56 32s - 36 - 13 - 48 - 28s - 10 - 52 - 8 - 62s - 7 - 6 - 12 0c - 9 10 - 23 50 - 6 93s42 69 48 75s16 15 24 21s21 - 1 27 5c4 4 5 11 5 16l - 4 4c - 2 2 - 2 5 0 7l31 31c2 2 5 2 7 0l50 - 50c2 - 2 2 - 6 0 - 8l - 31 - 31 <nl> + c - 2 - 2 - 5 - 2 - 7 0l - 8 9c - 7 0 - 15 - 5 - 17 - 10c - 3 - 6 - 6 - 21 - 3 - 33c3 - 11 13 - 20 36 - 43l5 3c4 2 8 1 10 - 1c0 0 1 - 2 13 - 14l38 37c4 3 5 7 4 13c0 2 0 4 - 1 5c - 10 33 - 6 69 19 96l2 2c18 18 36 25 53 26c10 1 30 - 5 35 - 15l - 48 - 48l - 2 - 3l - 1 - 1c - 1 - 1 - 1 - 2 - 1 - 4 <nl> + s0 - 3 1 - 5l2 - 2l2 - 2l41 - 42l3 - 3l1 - 1c1 - 1 2 - 1 4 - 1s3 0 4 1l2 1l2 3z " / > <nl> + < glyph glyph - name = " ion - share " unicode = " & # xf220 ; " horiz - adv - x = " 384 " <nl> + d = " M288 70v59l38 31v - 109c0 - 11 - 8 - 19 - 19 - 19h - 288c - 11 0 - 19 9 - 19 19v218c0 11 8 19 19 19h120c - 29 - 18 - 43 - 38 - 43 - 38h - 58v - 180h250zM256 224c - 84 0 - 116 - 24 - 160 - 96c0 0 5 164 160 164v60l128 - 96l - 128 - 96v64z " / > <nl> + < glyph glyph - name = " ion - shuffle " unicode = " & # xf221 ; " <nl> + d = " M338 267c - 52 0 - 83 - 43 - 120 - 92c - 41 - 55 - 88 - 120 - 171 - 120h - 47v63h47c52 0 84 47 121 96c41 55 87 116 170 116h29v54l81 - 81l - 81 - 84v48h - 29zM121 230c - 21 21 - 42 35 - 74 36c - 34 1 - 47 0 - 47 0v63h47c48 0 83 - 20 113 - 48c - 10 - 12 - 19 - 24 - 28 - 36 <nl> + c - 4 - 5 - 7 - 10 - 11 - 15zM367 118v47l81 - 84l - 81 - 81v54h - 29c - 50 0 - 87 23 - 117 53c12 14 22 28 32 41c2 3 5 6 7 9c22 - 24 46 - 39 78 - 39h29z " / > <nl> + < glyph glyph - name = " ion - skip - backward " unicode = " & # xf222 ; " horiz - adv - x = " 384 " <nl> + d = " M12 352h8c7 0 12 - 5 12 - 12v - 113l187 122c2 2 5 3 8 3c8 0 16 - 7 16 - 17v - 63l118 78c2 2 5 2 8 2c8 0 15 - 7 15 - 17v - 286c0 - 10 - 7 - 17 - 15 - 17c - 3 0 - 5 1 - 8 3l - 118 78v - 64c0 - 10 - 8 - 17 - 16 - 17c - 3 0 - 5 1 - 8 3l - 187 122v - 113c0 - 7 - 5 - 12 - 12 - 12h - 8 <nl> + c - 7 0 - 12 5 - 12 12v296c0 7 5 12 12 12z " / > <nl> + < glyph glyph - name = " ion - skip - forward " unicode = " & # xf223 ; " horiz - adv - x = " 384 " <nl> + d = " M372 352c7 0 12 - 5 12 - 12v - 296c0 - 7 - 5 - 12 - 12 - 12h - 8c - 7 0 - 12 5 - 12 12v113l - 187 - 122c - 3 - 2 - 5 - 3 - 8 - 3c - 8 0 - 15 7 - 15 17v64l - 119 - 78c - 3 - 2 - 5 - 3 - 8 - 3c - 8 0 - 15 7 - 15 17v286c0 10 7 17 15 17c3 0 6 0 8 - 2l119 - 78v63c0 10 7 17 15 17c3 0 6 - 1 8 - 3 <nl> + l187 - 122v113c0 7 5 12 12 12h8z " / > <nl> + < glyph glyph - name = " ion - social - android - outline " unicode = " & # xf224 ; " horiz - adv - x = " 352 " <nl> + d = " M272 240h - 192v - 60v - 89h24h16v - 15v - 52c0 - 4 4 - 8 8 - 8s8 4 8 8v52v15h17h49h15v - 15v - 52c0 - 2 1 - 4 3 - 6h1v0c1 - 1 2 - 2 4 - 2h1v0v0c4 0 7 4 7 8v52v15h17h22v89v60zM288 256v0v - 76v - 90c0 - 7 - 3 - 15 - 10 - 15h - 29v - 51c0 - 13 - 10 - 24 - 23 - 24v0h - 1c - 6 0 - 11 2 - 15 5 <nl> + c - 5 4 - 9 11 - 9 19v51h - 49v - 51c0 - 13 - 11 - 24 - 24 - 24s - 24 11 - 24 24v51h - 28c - 7 0 - 12 8 - 12 15v90v76h224zM328 256c - 4 0 - 8 - 4 - 8 - 8v - 96c0 - 4 4 - 8 8 - 8s8 4 8 8v96c0 4 - 4 8 - 8 8zM328 272v0c13 0 24 - 11 24 - 24v - 96c0 - 13 - 11 - 24 - 24 - 24s - 24 11 - 24 24v96 <nl> + c0 13 11 24 24 24zM24 256c - 4 0 - 8 - 4 - 8 - 8v - 96c0 - 4 4 - 8 8 - 8s8 4 8 8v96c0 4 - 4 8 - 8 8zM24 272v0c13 0 24 - 11 24 - 24v - 96c0 - 13 - 11 - 24 - 24 - 24s - 24 11 - 24 24v96c0 13 11 24 24 24zM175 354c - 14 0 - 27 - 3 - 38 - 6l - 10 - 4c - 28 - 12 - 40 - 37 - 44 - 56h186 <nl> + c - 4 18 - 15 43 - 44 56l - 10 4c - 12 4 - 25 6 - 39 6v0v0h - 1zM105 384v0h1l19 - 23c13 5 30 9 50 9h1c20 0 36 - 4 50 - 9l20 23v0s1 - 1 2 - 1c1 - 1 2 - 3 2 - 3l - 19 - 22c48 - 21 56 - 71 57 - 86h - 224c1 15 9 66 57 87l - 19 22c0 1 1 1 2 2zM127 309c - 7 0 - 14 6 - 14 13s6 14 14 14 <nl> + c7 0 13 - 7 13 - 14s - 5 - 13 - 13 - 13zM225 309c - 7 0 - 13 6 - 13 13s5 14 13 14c7 0 13 - 7 13 - 14s - 6 - 13 - 13 - 13z " / > <nl> + < glyph glyph - name = " ion - social - android " unicode = " & # xf225 ; " horiz - adv - x = " 352 " <nl> + d = " M64 180v76h224v - 76v - 90c0 - 7 - 4 - 14 - 11 - 14h - 28v - 52c0 - 13 - 11 - 24 - 24 - 24v0h - 1c - 6 0 - 10 2 - 14 5c - 5 4 - 9 11 - 9 19v52h - 49v - 52c0 - 13 - 11 - 24 - 24 - 24s - 24 11 - 24 24v52h - 29c - 7 0 - 11 7 - 11 14v90zM328 272c13 0 24 - 11 24 - 24v - 96c0 - 13 - 11 - 24 - 24 - 24 <nl> + s - 24 11 - 24 24v96c0 13 11 24 24 24zM24 272c13 0 24 - 11 24 - 24v - 96c0 - 13 - 11 - 24 - 24 - 24s - 24 11 - 24 24v96c0 13 11 24 24 24zM231 359c48 - 21 56 - 72 57 - 87h - 224c1 15 8 66 56 87l - 18 22c0 1 0 1 1 2s3 1 3 1l19 - 23c14 5 31 9 51 9s36 - 4 50 - 9l20 23c0 1 1 0 2 - 1 <nl> + l2 - 2zM127 309c8 0 13 6 13 13s - 6 14 - 13 14c - 8 0 - 14 - 7 - 14 - 14s7 - 13 14 - 13zM225 309c7 0 14 6 14 13s - 7 14 - 14 14c - 8 0 - 13 - 7 - 13 - 14s6 - 13 13 - 13z " / > <nl> + < glyph glyph - name = " ion - social - angular - outline " unicode = " & # xf4d8 ; " <nl> + d = " M224 384l - 188 - 69l39 - 230l149 - 80l149 80l39 230zM224 416v0l224 - 80l - 46 - 272l - 178 - 96l - 178 96l - 46 272zM312 96l - 27 56h - 122l - 27 - 56h - 40l128 280l128 - 280h - 40zM182 192h84l - 42 89z " / > <nl> + < glyph glyph - name = " ion - social - angular " unicode = " & # xf4d9 ; " <nl> + d = " M182 192l42 89l42 - 89h - 84zM224 416l224 - 80l - 46 - 272l - 178 - 96l - 178 96l - 46 272zM312 96h40l - 128 280l - 128 - 280h40l27 56h122z " / > <nl> + < glyph glyph - name = " ion - social - apple - outline " unicode = " & # xf226 ; " horiz - adv - x = " 320 " <nl> + d = " M238 278c - 15 0 - 26 - 4 - 37 - 8c - 10 - 4 - 21 - 8 - 35 - 8s - 25 4 - 37 8c - 11 4 - 22 8 - 34 8c - 11 0 - 23 - 3 - 34 - 10c - 12 - 7 - 23 - 18 - 31 - 31c - 12 - 18 - 16 - 47 - 13 - 77c3 - 34 16 - 69 35 - 99c13 - 21 30 - 45 50 - 45h1c8 0 13 3 20 6c10 5 23 10 44 10v0c21 0 34 - 5 44 - 10 <nl> + c7 - 3 12 - 6 19 - 6v0c22 0 44 35 52 48c8 12 12 20 17 31c - 12 7 - 22 16 - 30 28c - 10 15 - 17 33 - 18 52c - 1 18 2 37 10 53c6 12 14 22 24 30c - 14 13 - 31 20 - 47 20zM238 294v0c25 0 52 - 14 71 - 39c - 63 - 36 - 53 - 128 11 - 153c - 9 - 20 - 13 - 28 - 24 - 46c - 16 - 25 - 37 - 56 - 65 - 56h - 1 <nl> + c - 24 0 - 31 16 - 63 16v0c - 33 0 - 40 - 16 - 64 - 16h - 1c - 28 0 - 48 28 - 64 53c - 44 69 - 48 150 - 21 193c19 30 50 48 78 48c29 0 47 - 16 71 - 16c23 0 38 16 72 16zM214 364c - 11 - 5 - 21 - 13 - 28 - 22c - 4 - 5 - 9 - 13 - 13 - 23c - 1 - 3 - 2 - 6 - 2 - 9c11 4 21 11 28 21c4 5 12 18 15 33z <nl> + M230 384v0c3 - 23 - 6 - 46 - 18 - 62c - 13 - 17 - 35 - 30 - 56 - 30h - 1c - 4 22 6 44 18 60c14 17 37 31 57 32z " / > <nl> + < glyph glyph - name = " ion - social - apple " unicode = " & # xf227 ; " horiz - adv - x = " 320 " <nl> + d = " M238 294v0c25 0 52 - 14 71 - 39c - 63 - 36 - 53 - 128 11 - 153c - 9 - 20 - 13 - 28 - 24 - 46c - 16 - 25 - 37 - 56 - 65 - 56h - 1c - 24 0 - 31 16 - 63 16v0c - 33 0 - 40 - 16 - 64 - 16h - 1c - 28 0 - 48 28 - 64 53c - 44 69 - 48 150 - 21 193c19 30 50 48 78 48c29 0 47 - 16 71 - 16c23 0 38 16 72 16z <nl> + M230 384v0c3 - 23 - 6 - 46 - 18 - 62c - 13 - 17 - 35 - 30 - 56 - 30h - 1c - 4 22 6 44 18 60c14 17 37 31 57 32z " / > <nl> + < glyph glyph - name = " ion - social - bitcoin - outline " unicode = " & # xf2ae ; " horiz - adv - x = " 320 " <nl> + d = " M184 400h - 8v - 48v - 16h - 16h - 32h - 16v16v48h - 9v - 48v - 16h - 16h - 72v - 16h13c11 0 19 0 25 - 3s10 - 7 13 - 13s3 - 8 3 - 20v - 178c0 - 11 0 - 18 - 3 - 24v - 1c - 1 - 3 - 4 - 10 - 12 - 14h - 1c - 5 - 3 - 8 - 3 - 17 - 3h - 13l - 3 - 16h67h16v - 16v - 48h9v48v16h16h32h16v - 16v - 48h8v49v16h15c23 1 41 5 55 10 <nl> + c16 6 28 15 37 26c8 11 12 29 13 42c1 14 - 1 29 - 4 36s - 8 16 - 21 23c - 7 4 - 14 6 - 21 8l - 46 11l43 19c4 2 7 4 12 9c6 5 9 12 11 16c2 5 4 13 3 22c - 1 17 - 4 29 - 10 37c - 7 9 - 17 16 - 31 21c - 12 5 - 24 7 - 41 8l - 15 1v15v47zM200 416v0v - 63c20 - 1 32 - 4 45 - 9 <nl> + c16 - 6 29 - 15 38 - 27s12 - 28 13 - 45c1 - 10 0 - 20 - 3 - 28s - 8 - 16 - 16 - 23c - 6 - 6 - 11 - 9 - 16 - 11c9 - 2 17 - 6 25 - 10c15 - 8 24 - 18 29 - 30c4 - 10 6 - 30 5 - 44c - 1 - 16 - 6 - 37 - 16 - 51c - 11 - 14 - 26 - 24 - 45 - 31c - 15 - 6 - 33 - 10 - 59 - 11v - 65h - 40v64h - 32v - 64h - 41v64h - 87l8 48h28 <nl> + c9 0 8 1 11 2s4 3 5 6s1 9 1 18v178c0 9 0 10 - 1 12s - 3 4 - 6 6s - 9 2 - 18 2h - 28v48h87v64h41v - 64h32v64h40zM160 298v - 74h - 32v74h32zM160 176v0v - 90h - 32v90h32zM200 294v0c6 - 2 10 - 7 14 - 12c4 - 6 6 - 13 6 - 21s - 2 - 15 - 7 - 21c - 4 - 5 - 7 - 9 - 13 - 12v66zM200 174v0 <nl> + c5 - 1 8 - 1 12 - 3c8 - 3 14 - 7 19 - 13s8 - 15 8 - 24c0 - 11 - 2 - 19 - 10 - 26s - 13 - 11 - 23 - 15c - 2 - 1 - 4 0 - 6 - 1v82z " / > <nl> + < glyph glyph - name = " ion - social - bitcoin " unicode = " & # xf2af ; " horiz - adv - x = " 320 " <nl> + d = " M314 169c4 - 10 7 - 30 6 - 44c - 1 - 16 - 5 - 37 - 16 - 51s - 26 - 24 - 45 - 31c - 15 - 6 - 33 - 10 - 59 - 11v - 64h - 40v64h - 32v - 64h - 41v64h - 87l9 48h26c9 0 9 0 12 1s4 4 5 7s2 8 2 17v173c0 9 - 1 16 - 2 18s - 3 4 - 6 6s - 9 2 - 18 2h - 28v48h87v64h41v - 64h32v64h40v - 64c20 - 1 33 - 4 46 - 9 <nl> + c16 - 6 28 - 15 37 - 27s12 - 28 13 - 45c1 - 10 0 - 20 - 3 - 28c - 2 - 8 - 8 - 16 - 16 - 23c - 6 - 6 - 11 - 9 - 16 - 11c9 - 2 17 - 6 25 - 10c15 - 8 23 - 18 28 - 30zM128 298v - 74h32v74h - 32zM128 86h32v90h - 32v - 90zM200 294v - 66c6 3 9 7 13 12c5 6 7 12 7 20s - 2 15 - 6 21c - 4 5 - 8 11 - 14 13z <nl> + M229 107c8 7 10 15 10 26c0 9 - 3 19 - 8 25s - 12 10 - 20 13c - 4 2 - 6 2 - 11 3v - 82c2 0 5 1 7 2c10 4 14 6 22 13z " / > <nl> + < glyph glyph - name = " ion - social - buffer - outline " unicode = " & # xf228 ; " horiz - adv - x = " 384 " <nl> + d = " M7 284c - 9 4 - 9 11 0 15l169 82c4 2 10 3 16 3s12 - 1 16 - 3l169 - 82c9 - 4 9 - 11 0 - 15l - 169 - 82c - 4 - 2 - 10 - 3 - 16 - 3s - 12 1 - 16 3zM183 366l - 156 - 75l156 - 75c2 - 1 5 - 1 9 - 1s7 0 9 1l156 75l - 156 75c - 2 1 - 5 2 - 9 2s - 7 - 1 - 9 - 2zM377 200c9 - 4 9 - 12 0 - 16l - 169 - 81 <nl> + c - 4 - 2 - 10 - 4 - 16 - 4s - 12 2 - 16 4l - 169 81c - 9 4 - 9 12 0 16c0 0 27 13 33 16c5 3 7 3 13 0s123 - 60 123 - 60c4 - 2 10 - 3 16 - 3s12 1 16 3c0 0 121 59 125 61s5 2 9 0s35 - 17 35 - 17zM201 117l156 75l - 19 9l - 123 - 59c - 6 - 3 - 15 - 5 - 23 - 5s - 17 2 - 23 5l - 123 59l - 19 - 9l156 - 75 <nl> + c2 - 1 5 - 2 9 - 2s7 1 9 2zM377 100c9 - 4 9 - 11 0 - 15l - 169 - 82c - 4 - 2 - 10 - 3 - 16 - 3s - 12 1 - 16 3l - 169 82c - 9 4 - 9 11 0 15c0 0 27 14 33 17c5 3 7 2 13 - 1s123 - 59 123 - 59c4 - 2 10 - 3 16 - 3s12 1 16 3c0 0 121 58 125 60s5 2 9 0s35 - 17 35 - 17zM201 18l156 75l - 19 9 <nl> + l - 123 - 60c - 6 - 3 - 15 - 4 - 23 - 4s - 17 1 - 23 4l - 123 60l - 19 - 9l156 - 75c2 - 1 5 - 2 9 - 2s7 1 9 2z " / > <nl> + < glyph glyph - name = " ion - social - buffer " unicode = " & # xf229 ; " horiz - adv - x = " 384 " <nl> + d = " M7 284c - 9 4 - 9 11 0 15l169 82c4 2 10 3 16 3s12 - 1 16 - 3l169 - 82c9 - 4 9 - 11 0 - 15l - 169 - 82c - 4 - 2 - 10 - 3 - 16 - 3s - 12 1 - 16 3zM377 200c9 - 4 9 - 12 0 - 16l - 169 - 81c - 4 - 2 - 10 - 4 - 16 - 4s - 12 2 - 16 4l - 169 81c - 9 4 - 9 12 0 16c0 0 27 13 33 16c5 3 7 3 13 0 <nl> + s123 - 60 123 - 60c4 - 2 10 - 3 16 - 3s12 1 16 3c0 0 121 59 125 61s5 2 9 0s35 - 17 35 - 17zM377 100c9 - 4 9 - 11 0 - 15l - 169 - 82c - 4 - 2 - 10 - 3 - 16 - 3s - 12 1 - 16 3l - 169 82c - 9 4 - 9 11 0 15c0 0 27 14 33 17c5 3 7 2 13 - 1s123 - 59 123 - 59c4 - 2 10 - 3 16 - 3s12 1 16 3 <nl> + c0 0 121 58 125 60s5 2 9 0s35 - 17 35 - 17z " / > <nl> + < glyph glyph - name = " ion - social - chrome - outline " unicode = " & # xf4da ; " <nl> + d = " M224 416c123 0 224 - 101 224 - 224s - 101 - 224 - 224 - 224s - 224 101 - 224 224s101 224 224 224zM224 371c - 57 0 - 109 - 27 - 141 - 68l54 - 93c8 40 43 72 87 72h155c - 30 54 - 89 89 - 155 89zM291 192c0 37 - 30 67 - 67 67s - 67 - 30 - 67 - 67s30 - 67 67 - 67s67 30 67 67zM45 192 <nl> + c0 - 91 67 - 166 154 - 177l54 93c - 9 - 3 - 19 - 6 - 29 - 6c - 34 0 - 61 18 - 77 45v0l - 78 135c - 16 - 27 - 24 - 58 - 24 - 90zM224 13c99 0 179 80 179 179c0 24 - 4 46 - 13 67h - 108c19 - 17 32 - 40 32 - 67c0 - 17 - 5 - 32 - 13 - 45v0z " / > <nl> + < glyph glyph - name = " ion - social - chrome " unicode = " & # xf4db ; " <nl> + d = " M157 192c0 37 30 67 67 67s67 - 30 67 - 67s - 30 - 67 - 67 - 67s - 67 30 - 67 67zM445 230c2 - 12 3 - 25 3 - 38c0 - 106 - 74 - 195 - 174 - 218c - 10 - 2 - 20 - 4 - 30 - 5c - 7 - 1 - 13 - 1 - 20 - 1c - 8 0 - 17 0 - 25 1v0v0v0v1l102 177c8 13 13 28 13 45c0 27 - 13 50 - 32 67h156 <nl> + c3 - 9 5 - 19 7 - 29v0c - 2 10 - 4 20 - 7 29v0c3 - 9 5 - 19 7 - 29v0zM224 103c10 0 20 2 29 5l - 78 - 135v0c - 42 9 - 79 30 - 108 59c - 42 41 - 67 97 - 67 160c0 31 6 61 18 88c7 16 16 31 26 45v0l103 - 178c16 - 27 43 - 44 77 - 44zM59 343v0v1c24 26 55 47 90 59c23 8 49 13 75 13 <nl> + c73 0 138 - 36 179 - 90h1c10 - 14 18 - 29 25 - 44v0c - 7 15 - 15 30 - 25 44h - 1c10 - 14 19 - 29 26 - 44h - 205c - 44 0 - 79 - 32 - 87 - 72z " / > <nl> + < glyph glyph - name = " ion - social - codepen - outline " unicode = " & # xf4dc ; " <nl> + d = " M356 244c5 - 3 7 - 6 7 - 12v - 81c0 - 6 - 3 - 10 - 8 - 13c - 41 - 27 - 82 - 55 - 123 - 82c - 6 - 4 - 11 - 4 - 17 0c - 41 27 - 81 55 - 122 82c - 5 3 - 8 7 - 8 13v80c0 6 3 11 8 14c41 27 81 54 122 81c6 4 11 4 17 0c41 - 27 83 - 55 124 - 82zM236 296v - 54c0 - 1 1 - 2 2 - 3c16 - 11 31 - 21 47 - 32 <nl> + c1 - 1 3 - 1 4 0l40 26zM212 295c0 0 - 62 - 41 - 93 - 62c14 - 9 27 - 17 40 - 26c1 - 1 3 - 1 4 0c15 10 31 21 46 31c1 1 3 4 3 6v51zM109 211v - 40l30 20zM212 87v53c0 1 - 2 3 - 3 4c - 15 10 - 31 21 - 46 31c - 2 1 - 3 1 - 5 0l - 39 - 26c31 - 21 93 - 62 93 - 62zM227 165l39 26s - 34 23 - 40 27 <nl> + c - 1 1 - 4 0 - 5 - 1c - 5 - 3 - 9 - 6 - 14 - 9c - 8 - 6 - 25 - 17 - 25 - 17l39 - 26c2 - 1 4 - 1 6 0zM236 87l93 62l - 38 26c - 2 2 - 5 2 - 7 0c - 15 - 10 - 30 - 21 - 45 - 31c - 2 - 2 - 3 - 3 - 3 - 6v - 51zM338 171v40l - 30 - 20zM224 384c - 51 0 - 100 - 20 - 136 - 56s - 56 - 85 - 56 - 136s20 - 100 56 - 136 <nl> + s85 - 56 136 - 56s100 20 136 56s56 85 56 136s - 20 100 - 56 136s - 85 56 - 136 56zM224 416v0c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224z " / > <nl> + < glyph glyph - name = " ion - social - codepen " unicode = " & # xf4dd ; " <nl> + d = " M209 144c1 - 1 3 - 3 3 - 4v - 53s - 62 41 - 93 62l39 26c2 1 3 1 5 0c15 - 10 31 - 21 46 - 31zM163 207c - 1 - 1 - 3 - 1 - 4 0c - 13 9 - 26 17 - 40 26c31 21 93 62 93 62v - 51c0 - 2 - 2 - 5 - 3 - 6c - 15 - 10 - 31 - 21 - 46 - 31zM238 239c - 1 1 - 2 2 - 2 3v54l93 - 63l - 40 - 26c - 1 - 1 - 3 - 1 - 4 0 <nl> + c - 16 11 - 31 21 - 47 32zM226 218c6 - 4 40 - 27 40 - 27l - 39 - 26c - 2 - 1 - 4 - 1 - 6 0l - 39 26s17 11 25 17c5 3 9 6 14 9c1 1 4 2 5 1zM109 211l30 - 20l - 30 - 20v40zM224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM363 151v81 <nl> + c0 6 - 2 9 - 7 12c - 41 27 - 83 55 - 124 82c - 6 4 - 11 4 - 17 0c - 41 - 27 - 81 - 54 - 122 - 81c - 5 - 3 - 8 - 8 - 8 - 14v - 80c0 - 6 3 - 10 8 - 13c41 - 27 81 - 55 122 - 82c6 - 4 11 - 4 17 0c41 27 82 55 123 82c5 3 8 7 8 13zM284 175c2 2 5 2 7 0l38 - 26l - 93 - 62v51c0 3 1 4 3 6 <nl> + c15 10 30 21 45 31zM338 171l - 30 20l30 20v - 40z " / > <nl> + < glyph glyph - name = " ion - social - css3 - outline " unicode = " & # xf4de ; " horiz - adv - x = " 384 " <nl> + d = " M291 81l - 99 - 28l - 98 28l - 7 78h48l4 - 40l53 - 15v0v0l54 15l5 64h - 112l - 4 50h121l4 51h - 184l - 4 49h241zM0 416h384l - 35 - 403l - 157 - 45l - 157 45zM319 37l30 347h - 314l30 - 347l127 - 36z " / > <nl> + < glyph glyph - name = " ion - social - css3 " unicode = " & # xf4df ; " horiz - adv - x = " 384 " <nl> + d = " M192 109v0zM0 416h384l - 35 - 403l - 157 - 45l - 157 45zM291 81l22 252h - 241l4 - 49h184l - 4 - 51h - 121l4 - 50h112l - 5 - 64l - 54 - 15v0v0l - 53 15l - 4 40h - 48l7 - 78l98 - 28z " / > <nl> + < glyph glyph - name = " ion - social - designernews - outline " unicode = " & # xf22a ; " <nl> + d = " M259 302v - 53l - 65 103zM0 188zM297 352l151 - 119v - 201h - 248l - 200 156h63c46 0 77 33 77 82c0 20 - 5 37 - 15 51l - 3 3l37 - 29v - 107h41l - 2 98l63 - 98h36v84v80zM432 48v178l - 119 92v1v - 47v - 83v - 17h - 15h - 37h - 9l - 4 8l - 33 50l1 - 42v - 16h - 16h - 41h - 16v16v29c - 3 - 6 - 7 - 12 - 12 - 17 <nl> + c - 8 - 9 - 18 - 16 - 30 - 21s - 24 - 7 - 38 - 7h - 16l159 - 124h226zM59 298h - 1h - 3v - 57h4c8 0 13 2 17 6c5 6 6 15 6 22c0 26 - 12 29 - 23 29zM59 314v0c25 0 39 - 16 39 - 45c0 - 28 - 14 - 44 - 40 - 44h - 19v89h20z " / > <nl> + < glyph glyph - name = " ion - social - designernews " unicode = " & # xf22b ; " <nl> + d = " M258 303l1 - 53l - 64 102zM297 352l151 - 118v - 202h - 248l - 200 157v0h63c46 0 77 33 77 82c0 20 - 5 37 - 15 51l - 3 3l37 - 29v - 107h40l - 2 99l64 - 99h36v83v80zM98 270c0 - 28 - 14 - 44 - 40 - 44h - 19v89h19c26 0 40 - 16 40 - 45z " / > <nl> + < glyph glyph - name = " ion - social - dribbble - outline " unicode = " & # xf22c ; " horiz - adv - x = " 384 " <nl> + d = " M192 384c106 0 192 - 86 192 - 192s - 86 - 192 - 192 - 192s - 192 86 - 192 192s86 192 192 192zM314 296c - 17 - 25 - 47 - 47 - 85 - 64c5 - 10 9 - 20 13 - 31c33 3 75 4 110 2c - 2 35 - 16 68 - 38 93zM192 352c - 14 0 - 26 - 2 - 39 - 5c23 - 23 43 - 53 62 - 87c34 14 62 33 79 55 <nl> + c - 28 23 - 63 37 - 102 37zM120 334c - 41 - 21 - 71 - 58 - 83 - 103h25c44 0 85 6 121 17c - 19 34 - 40 63 - 63 86zM32 200v - 8c0 - 40 15 - 78 40 - 106c24 45 67 83 122 106c4 2 8 3 14 4c - 3 8 - 6 16 - 10 24c - 40 - 13 - 88 - 20 - 138 - 21c - 9 0 - 19 1 - 28 1zM192 32c20 0 39 3 57 10 <nl> + c - 3 25 - 8 53 - 15 79c - 4 17 - 10 33 - 16 49c - 7 - 2 - 13 - 4 - 17 - 6c - 48 - 22 - 86 - 56 - 107 - 98c27 - 21 61 - 34 98 - 34zM278 58c40 26 68 67 73 116c - 30 2 - 68 3 - 99 0c4 - 12 9 - 25 12 - 38c7 - 27 11 - 52 14 - 78z " / > <nl> + < glyph glyph - name = " ion - social - dribbble " unicode = " & # xf22d ; " horiz - adv - x = " 384 " <nl> + d = " M192 384c106 0 192 - 86 192 - 192s - 86 - 192 - 192 - 192s - 192 86 - 192 192s86 192 192 192zM192 32c88 0 160 72 160 160s - 72 160 - 160 160s - 160 - 72 - 160 - 160s72 - 160 160 - 160zM242 201c - 4 11 - 8 21 - 13 31c25 11 47 24 63 39c15 - 19 26 - 42 28 - 67c - 26 0 - 55 - 1 - 78 - 3z <nl> + M271 292c - 15 - 12 - 34 - 23 - 56 - 32c - 12 22 - 24 41 - 38 59c5 1 10 1 15 1c30 0 57 - 11 79 - 28zM142 310c15 - 18 28 - 39 41 - 62c - 34 - 10 - 72 - 16 - 113 - 17c11 36 38 65 72 79zM319 176c - 4 - 33 - 21 - 63 - 46 - 83c - 3 14 - 5 28 - 9 43c - 3 13 - 8 26 - 12 38c21 2 45 3 67 2zM194 192 <nl> + c - 43 - 18 - 79 - 46 - 104 - 78c - 16 22 - 26 49 - 26 78v7c49 1 95 8 134 21c4 - 8 7 - 16 10 - 24c - 6 - 1 - 10 - 2 - 14 - 4zM219 170c6 - 16 11 - 32 15 - 49c4 - 15 7 - 31 10 - 46c - 16 - 7 - 34 - 11 - 52 - 11c - 31 0 - 59 11 - 81 29c22 30 53 54 90 71c4 2 11 4 18 6z " / > <nl> + < glyph glyph - name = " ion - social - dropbox - outline " unicode = " & # xf22e ; " horiz - adv - x = " 384 " <nl> + d = " M113 371l79 - 66l - 114 - 71l - 78 63zM27 295l52 - 42l86 53l - 53 46zM306 235l78 - 63l - 78 - 51v - 39l - 114 - 69l - 114 68v39l - 78 52l78 63l114 - 71l - 79 - 66l - 19 12v - 20l98 - 59l98 59v20l - 19 - 12l - 79 66zM79 217l - 52 - 44l85 - 55l53 44zM219 162l53 - 44l85 56l - 52 43zM384 297 <nl> + l - 78 - 63l - 114 71l79 66zM219 305l86 - 52l52 42l - 85 56z " / > <nl> + < glyph glyph - name = " ion - social - dropbox " unicode = " & # xf22f ; " horiz - adv - x = " 384 " <nl> + d = " M113 371l79 - 66l - 114 - 71l - 78 63zM0 172l78 62l114 - 70l - 79 - 66zM192 164l114 70l78 - 62l - 113 - 74zM384 297l - 78 - 63l - 114 71l79 66zM192 150l80 - 66l34 22v - 25l - 114 - 68l - 114 68v25l34 - 22z " / > <nl> + < glyph glyph - name = " ion - social - euro - outline " unicode = " & # xf4e0 ; " horiz - adv - x = " 320 " <nl> + d = " M214 384c - 53 0 - 91 - 9 - 115 - 27c - 22 - 16 - 33 - 40 - 33 - 74v - 11v - 17h - 16h - 34v - 16h34h16v - 15v - 48v - 17h - 16h - 34v - 16h34h16v - 15v - 27c0 - 34 11 - 58 33 - 74c24 - 18 62 - 27 115 - 27c31 0 59 2 88 8l - 5 35c - 30 - 4 - 55 - 7 - 80 - 7c - 36 0 - 59 6 - 74 19c - 19 16 - 21 40 - 21 60v13v15h16 <nl> + h103l3 16h - 106h - 16v17v48v15h16h118l2 16h - 120h - 16v17v2c0 16 2 39 21 55c16 13 39 19 74 19c24 0 51 - 3 80 - 7l5 35c - 29 6 - 57 8 - 88 8zM214 400v0c35 0 68 - 3 106 - 12l - 9 - 65c - 37 6 - 68 9 - 94 9c - 64 0 - 79 - 22 - 79 - 58v - 3h139l - 8 - 48h - 131v - 48h124l - 7 - 48h - 117v - 12 <nl> + c0 - 44 15 - 63 79 - 63c26 0 57 3 94 9l9 - 65c - 38 - 9 - 71 - 12 - 106 - 12c - 115 0 - 164 41 - 164 117v26h - 50v48h50v48h - 50v48h50v12c0 76 49 117 164 117z " / > <nl> + < glyph glyph - name = " ion - social - euro " unicode = " & # xf4e1 ; " horiz - adv - x = " 320 " <nl> + d = " M138 176h124l - 7 - 48h - 117v - 13c0 - 44 15 - 63 79 - 63c26 0 56 3 93 9l10 - 65c - 38 - 9 - 71 - 12 - 106 - 12c - 115 0 - 164 41 - 164 117v27h - 50v48h50v48h - 50v48h50v11c0 76 49 117 164 117c35 0 68 - 3 106 - 12l - 10 - 65c - 37 6 - 67 9 - 93 9c - 64 0 - 79 - 22 - 79 - 58v - 2h138l - 7 - 48 <nl> + h - 131v - 48z " / > <nl> + < glyph glyph - name = " ion - social - facebook - outline " unicode = " & # xf230 ; " horiz - adv - x = " 192 " <nl> + d = " M128 256h64l - 8 - 64h - 56v - 192h - 83v192h - 45v64h45v43c0 54 23 85 91 85h56v - 64h - 34c - 27 0 - 30 - 9 - 30 - 26v - 38zM170 208l4 32h - 45h - 17v17v37c0 10 1 21 9 30c10 11 25 12 37 12h18v32h - 40c - 28 0 - 49 - 6 - 60 - 18c - 10 - 11 - 15 - 27 - 15 - 51v - 43v - 16h - 15h - 30v - 32h30h15v - 16 <nl> + v - 176h51v176v16h17h41z " / > <nl> + < glyph glyph - name = " ion - social - facebook " unicode = " & # xf231 ; " horiz - adv - x = " 192 " <nl> + d = " M128 256h64l - 8 - 64h - 56v - 192h - 83v192h - 45v64h45v43c0 54 23 85 91 85h56v - 64h - 34c - 27 0 - 30 - 9 - 30 - 26v - 38z " / > <nl> + < glyph glyph - name = " ion - social - foursquare - outline " unicode = " & # xf34c ; " horiz - adv - x = " 320 " <nl> + d = " M302 284c - 12 - 60 - 25 - 131 - 27 - 138zM281 416c35 0 45 - 20 37 - 57c - 3 - 16 - 10 - 44 - 16 - 75l - 27 - 137c - 3 - 13 - 8 - 35 - 39 - 35h - 72c - 3 0 - 3 0 - 6 - 3c - 2 - 2 - 115 - 133 - 115 - 133c - 9 - 10 - 23 - 8 - 28 - 6s - 15 8 - 15 26v380s10 40 43 40h238zM280 352c6 31 6 32 - 24 32h - 195 <nl> + c - 29 0 - 29 - 3 - 29 - 28v - 297c0 - 38 1 - 38 3 - 38s10 8 29 31c0 0 78 89 79 90c2 2 3 2 6 2h62c26 0 28 6 33 31c4 21 36 177 36 177zM302 284c6 31 13 59 16 75zM233 352c5 0 9 - 5 8 - 11l - 8 - 44c - 1 - 4 - 6 - 9 - 11 - 9h - 75c - 8 0 - 8 - 5 - 8 - 13v - 6c0 - 8 0 - 13 8 - 13h64 <nl> + s11 - 6 10 - 12s - 11 - 51 - 12 - 54s - 4 - 9 - 11 - 9h - 62c - 9 0 - 11 - 1 - 17 - 8l - 54 - 63c - 1 - 1 - 1 - 1 - 1 0v231c0 5 5 11 11 11h158z " / > <nl> + < glyph glyph - name = " ion - social - foursquare " unicode = " & # xf34d ; " horiz - adv - x = " 320 " <nl> + d = " M281 416c35 0 45 - 20 37 - 57c - 10 - 49 - 40 - 202 - 43 - 213c - 3 - 13 - 8 - 34 - 39 - 34h - 72c - 3 0 - 3 0 - 6 - 3c - 2 - 2 - 115 - 133 - 115 - 133c - 9 - 10 - 23 - 8 - 28 - 6s - 15 8 - 15 26v380s10 40 43 40h238zM275 146c3 11 33 164 43 213zM267 351c2 9 - 5 16 - 12 16h - 191 <nl> + c - 9 0 - 15 - 8 - 15 - 15v - 296c0 - 1 1 - 1 2 0c0 0 70 84 78 94s11 11 23 11h64c9 0 14 8 15 12s8 43 10 51s - 6 16 - 13 16h - 82c - 10 0 - 18 8 - 18 18v13c0 10 8 17 18 17h96s14 6 15 12z " / > <nl> + < glyph glyph - name = " ion - social - freebsd - devil " unicode = " & # xf2c4 ; " horiz - adv - x = " 512 " <nl> + d = " M503 333c19 - 37 8 - 81 - 20 - 108s - 60 - 33 - 60 - 33c2 - 32 16 - 59 - 41 - 102c - 43 - 32 2 - 90 2 - 90c10 - 14 23 - 19 32 - 32h - 272s15 14 - 7 32c0 0 - 20 17 - 18 29s6 13 9 15s0 7 0 7l - 19 19s - 13 - 13 - 44 - 13c - 38 0 - 65 39 - 65 39h46s - 6 - 8 - 7 - 13c - 1 - 4 1 - 5 1 - 5s11 - 6 22 - 6 <nl> + c17 0 33 12 33 12l - 24 22l - 15 - 4l - 16 37l39 - 10l - 1 - 15l28 - 18s9 9 7 27s - 9 26 - 9 26s - 4 0 - 9 - 4s - 6 - 6 - 6 - 6l - 10 44s43 - 19 50 - 63c3 - 20 - 6 - 35 - 6 - 35l17 - 10s6 5 17 7s23 2 29 - 8s5 - 12 4 - 19s0 - 9 6 - 11s6 - 6 11 - 8s15 - 6 21 - 2s8 11 8 18v16s - 9 8 - 32 20 <nl> + s - 54 22 - 66 40s - 12 44 0 57c9 10 23 25 26 35c4 14 4 42 4 42s - 10 16 - 8 40c2 30 22 84 96 114c0 0 - 40 - 55 - 20 - 80c0 0 37 11 77 9c31 - 2 56 - 12 73 - 28s25 - 23 47 - 17s28 17 28 33c0 19 - 16 51 - 16 51s36 - 7 58 - 51zM195 245c14 4 21 - 11 21 - 11c14 25 30 60 22 64 <nl> + s - 64 - 25 - 66 - 88c0 0 6 31 23 35zM232 230c5 7 34 8 37 - 17c4 - 35 - 24 - 57 - 24 - 57s7 - 2 23 2c17 4 43 29 43 70s - 21 66 - 41 62s - 38 - 60 - 38 - 60z " / > <nl> + < glyph glyph - name = " ion - social - github - outline " unicode = " & # xf232 ; " <nl> + d = " M224 416c124 0 224 - 103 224 - 230c0 - 101 - 64 - 188 - 153 - 218h - 4c - 8 0 - 12 7 - 12 12c0 8 1 31 1 62c0 21 - 8 36 - 16 43c50 6 103 25 103 113c0 25 - 9 46 - 23 62c2 6 10 29 - 2 61h - 5c - 8 0 - 27 - 3 - 57 - 24c - 18 5 - 37 8 - 56 8s - 38 - 3 - 56 - 8c - 30 21 - 49 24 - 57 24h - 5 <nl> + c - 12 - 32 - 4 - 55 - 2 - 61c - 14 - 16 - 23 - 37 - 23 - 62c0 - 88 52 - 107 102 - 113c - 6 - 6 - 12 - 16 - 14 - 31c - 6 - 3 - 16 - 6 - 26 - 6c - 13 0 - 28 5 - 39 25c0 0 - 13 22 - 35 24v0c - 2 0 - 21 0 - 1 - 14c0 0 15 - 8 25 - 34c0 0 10 - 33 53 - 33c7 0 14 0 22 2v - 39c0 - 5 - 3 - 11 - 11 - 11h - 4 <nl> + c - 89 30 - 153 116 - 153 218c0 127 100 230 224 230zM146 - 0c - 15 0 - 28 4 - 38 9c14 - 10 28 - 17 44 - 23v6v8h - 6zM157 73c - 16 4 - 35 10 - 52 24c6 - 6 11 - 11 13 - 16c7 - 12 14 - 17 25 - 17c4 0 9 1 12 2c1 2 1 5 2 7zM347 14c17 13 32 28 45 46c26 37 40 80 40 126 <nl> + c0 29 - 5 58 - 16 84c - 10 25 - 26 48 - 45 68s - 41 34 - 66 45c - 26 11 - 53 17 - 81 17s - 55 - 6 - 81 - 17c - 25 - 11 - 47 - 25 - 66 - 45s - 35 - 42 - 45 - 68c - 11 - 26 - 16 - 55 - 16 - 84c0 - 46 14 - 89 40 - 126c10 - 14 22 - 27 35 - 38c - 7 8 - 11 16 - 13 22c - 7 18 - 15 24 - 17 25h - 2v1 <nl> + c - 5 3 - 20 13 - 15 28c3 9 12 15 25 15h1v0v0c13 - 1 24 - 6 32 - 13c - 21 19 - 37 48 - 37 98c0 24 7 47 21 66c - 3 13 - 6 34 5 62l3 8l7 2c2 0 5 1 10 1c12 0 31 - 3 60 - 22c17 4 35 6 53 6v0v0c18 0 36 - 2 53 - 6c29 19 48 22 60 22c5 0 8 - 1 10 - 1l7 - 2l3 - 7c11 - 27 8 - 50 5 - 63 <nl> + c14 - 19 21 - 41 21 - 66c0 - 92 - 55 - 117 - 92 - 125c3 - 8 5 - 18 5 - 30v - 51v - 6c18 7 35 16 51 28z " / > <nl> + < glyph glyph - name = " ion - social - github " unicode = " & # xf233 ; " <nl> + d = " M224 416c124 0 224 - 103 224 - 230c0 - 101 - 64 - 188 - 153 - 218h - 4c - 8 0 - 12 7 - 12 12c0 8 1 31 1 62c0 21 - 8 36 - 16 43c50 6 103 25 103 113c0 25 - 9 46 - 23 62c2 6 10 29 - 2 61h - 5c - 8 0 - 27 - 3 - 57 - 24c - 18 5 - 37 8 - 56 8s - 38 - 3 - 56 - 8c - 30 21 - 49 24 - 57 24h - 5 <nl> + c - 12 - 32 - 4 - 55 - 2 - 61c - 14 - 16 - 23 - 37 - 23 - 62c0 - 88 52 - 107 102 - 113c - 6 - 6 - 12 - 16 - 14 - 31c - 6 - 3 - 16 - 6 - 26 - 6c - 13 0 - 28 5 - 39 25c0 0 - 13 22 - 35 24v0c - 2 0 - 21 0 - 1 - 14c0 0 15 - 8 25 - 34c0 0 10 - 33 53 - 33c7 0 14 0 22 2v - 39c0 - 5 - 3 - 11 - 11 - 11h - 4 <nl> + c - 89 30 - 153 116 - 153 218c0 127 100 230 224 230z " / > <nl> + < glyph glyph - name = " ion - social - google - outline " unicode = " & # xf34e ; " horiz - adv - x = " 256 " <nl> + d = " M191 366c12 - 10 37 - 30 37 - 68c0 - 37 - 21 - 55 - 43 - 72c - 7 - 7 - 15 - 13 - 15 - 24s8 - 17 14 - 22l18 - 14c23 - 19 43 - 36 43 - 71c0 - 47 - 47 - 95 - 135 - 95c - 74 0 - 110 35 - 110 72c0 18 10 44 40 62c32 19 75 21 98 23c - 7 9 - 16 18 - 16 34c0 9 2 14 5 20c - 6 0 - 11 - 1 - 16 - 1 <nl> + c - 54 0 - 85 40 - 85 79c0 23 11 48 33 67c29 24 63 28 91 28h106l - 33 - 18h - 32zM155 142c - 4 1 - 7 1 - 12 1s - 32 - 1 - 54 - 8c - 11 - 4 - 44 - 16 - 44 - 52s36 - 62 91 - 62c49 0 75 24 75 55c0 26 - 17 39 - 56 66zM170 238c12 12 13 28 13 37c0 36 - 22 92 - 65 92c - 13 0 - 28 - 6 - 36 - 16 <nl> + c - 9 - 11 - 11 - 25 - 11 - 38c0 - 34 20 - 89 64 - 89c13 0 27 6 35 14z " / > <nl> + < glyph glyph - name = " ion - social - google " unicode = " & # xf34f ; " horiz - adv - x = " 288 " <nl> + d = " M210 172c22 - 18 45 - 36 45 - 73c0 - 49 - 48 - 99 - 140 - 99c - 80 0 - 115 39 - 115 77c0 10 3 42 42 65c27 16 61 20 85 22c - 4 7 - 8 16 - 8 27c0 4 0 7 1 10h - 4c - 19 0 - 46 4 - 67 26c - 15 15 - 24 36 - 24 57c0 26 13 53 35 71v0c32 25 70 29 95 29h133l - 60 - 33h - 13 <nl> + c11 - 13 23 - 31 23 - 58c0 - 40 - 25 - 59 - 45 - 74v - 1c - 6 - 6 - 11 - 10 - 11 - 17c0 - 6 4 - 10 10 - 15v0zM85 308c0 - 13 4 - 33 14 - 51c7 - 12 20 - 27 41 - 27c10 0 21 4 28 11c10 10 10 25 10 30c0 18 - 6 38 - 15 54c - 7 13 - 20 27 - 40 27c - 11 0 - 22 - 5 - 29 - 13c - 6 - 7 - 9 - 18 - 9 - 31z <nl> + M206 80c0 20 - 13 31 - 50 56c - 3 0 - 4 1 - 8 1c - 6 0 - 32 - 2 - 51 - 8c - 16 - 6 - 37 - 16 - 37 - 42c0 - 31 32 - 51 80 - 51c41 0 66 17 66 44z " / > <nl> + < glyph glyph - name = " ion - social - googleplus - outline " unicode = " & # xf234 ; " <nl> + d = " M192 366c12 - 10 36 - 30 36 - 68c0 - 37 - 21 - 55 - 43 - 72c - 7 - 7 - 15 - 13 - 15 - 24s8 - 18 14 - 22l18 - 14c23 - 19 43 - 36 43 - 71c0 - 47 - 47 - 95 - 135 - 95c - 74 0 - 110 35 - 110 72c0 18 10 44 40 62c32 19 75 21 98 23c - 7 9 - 16 18 - 16 34c0 9 3 14 5 20c - 6 0 - 11 - 1 - 16 - 1 <nl> + c - 54 0 - 85 40 - 85 79c0 23 10 48 32 67c29 24 64 28 92 28h106l - 33 - 18h - 31zM155 142c - 4 0 - 7 1 - 12 1s - 32 - 1 - 54 - 8c - 11 - 4 - 44 - 16 - 44 - 52s36 - 62 91 - 62c49 0 75 24 75 55c0 26 - 17 39 - 56 66zM170 238c12 12 13 28 13 37c0 36 - 22 92 - 65 92c - 13 0 - 28 - 6 - 36 - 16 <nl> + c - 9 - 11 - 11 - 24 - 11 - 37c0 - 34 20 - 90 64 - 90c13 0 27 6 35 14zM448 306v - 18h - 78v - 81h - 18v81h - 80v18h80v78h18v - 78h78z " / > <nl> + < glyph glyph - name = " ion - social - googleplus " unicode = " & # xf235 ; " <nl> + d = " M210 172c22 - 18 45 - 36 45 - 73c0 - 49 - 47 - 99 - 139 - 99c - 80 0 - 116 39 - 116 77c0 10 3 42 42 65c27 16 61 21 85 23c - 4 7 - 8 15 - 8 26c0 4 0 7 1 10h - 4c - 19 0 - 46 4 - 67 26c - 15 15 - 24 36 - 24 57c0 26 13 53 35 71v0c32 25 69 29 94 29h134l - 60 - 33h - 13 <nl> + c11 - 13 23 - 31 23 - 58c0 - 40 - 25 - 59 - 45 - 74v - 1c - 6 - 6 - 11 - 10 - 11 - 17c0 - 6 4 - 10 10 - 15v0zM85 308c0 - 13 4 - 33 14 - 51c7 - 12 21 - 27 41 - 27c10 0 21 4 28 11c10 10 10 25 10 30c0 18 - 6 37 - 15 53c - 8 13 - 20 28 - 40 28c - 11 0 - 23 - 5 - 29 - 13c - 6 - 7 - 9 - 18 - 9 - 31z <nl> + M206 80c0 20 - 13 31 - 50 56c - 3 0 - 4 1 - 8 1c - 6 0 - 31 - 2 - 50 - 8c - 16 - 6 - 38 - 16 - 38 - 42c0 - 31 32 - 51 80 - 51c41 0 66 17 66 44zM370 306h78v - 34h - 78v - 81h - 34v81h - 80v34h80v78h34v - 78z " / > <nl> + < glyph glyph - name = " ion - social - hackernews - outline " unicode = " & # xf236 ; " horiz - adv - x = " 384 " <nl> + d = " M352 352h - 320v - 320h320v320zM384 384v0v - 384h - 384v384h384zM233 289h45l - 64 - 120v - 72h - 40v72l - 66 120h47l40 - 84z " / > <nl> + < glyph glyph - name = " ion - social - hackernews " unicode = " & # xf237 ; " horiz - adv - x = " 384 " <nl> + d = " M0 384h384v - 384h - 384v384zM214 169l64 120h - 45l - 38 - 84l - 40 84h - 47l66 - 120v - 72h40v72z " / > <nl> + < glyph glyph - name = " ion - social - html5 - outline " unicode = " & # xf4e2 ; " horiz - adv - x = " 384 " <nl> + d = " M0 416h384l - 35 - 403l - 157 - 45l - 157 45zM319 37l30 347h - 314l30 - 347l127 - 36zM84 184l - 13 150h241l - 4 - 50h - 184l4 - 51h176l - 14 - 151l - 98 - 28l - 99 28l - 6 77h48l3 - 39l54 - 15l53 15l6 64h - 167z " / > <nl> + < glyph glyph - name = " ion - social - html5 " unicode = " & # xf4e3 ; " horiz - adv - x = " 384 " <nl> + d = " M0 416h384l - 35 - 403l - 157 - 45l - 157 45zM308 284l4 50h - 241l13 - 150h167l - 6 - 64l - 53 - 15l - 54 15l - 3 39h - 48l6 - 78l99 - 27l98 28l14 151h - 176l - 4 51h184z " / > <nl> + < glyph glyph - name = " ion - social - instagram - outline " unicode = " & # xf350 ; " horiz - adv - x = " 384 " <nl> + d = " M384 336v - 289c0 - 26 - 22 - 47 - 48 - 47h - 288c - 26 0 - 48 21 - 48 47v289c0 26 22 48 48 48h288c26 0 48 - 22 48 - 48zM192 272c - 44 0 - 80 - 36 - 80 - 80s36 - 80 80 - 80s80 36 80 80s - 36 80 - 80 80zM352 288v48c0 9 - 7 16 - 16 16h - 48c - 9 0 - 16 - 7 - 16 - 16v - 48c0 - 9 7 - 16 16 - 16 <nl> + h48c9 0 16 7 16 16zM337 32c9 0 15 7 15 16v176h - 52c3 - 10 4 - 21 4 - 32c0 - 30 - 11 - 58 - 32 - 79s - 50 - 33 - 80 - 33s - 58 12 - 79 33s - 33 49 - 33 79c0 11 2 22 5 32h - 53v - 176c0 - 9 8 - 16 17 - 16h288z " / > <nl> + < glyph glyph - name = " ion - social - instagram " unicode = " & # xf351 ; " horiz - adv - x = " 384 " <nl> + d = " M112 192c0 53 27 80 80 80s80 - 27 80 - 80s - 27 - 80 - 80 - 80s - 80 27 - 80 80zM113 271c - 14 - 14 - 23 - 29 - 28 - 47h - 85v112c0 13 4 25 14 34s22 14 35 14h288c13 0 24 - 5 33 - 14s14 - 21 14 - 34v - 112h - 84c - 5 18 - 14 33 - 28 47c - 22 22 - 49 33 - 80 33s - 57 - 11 - 79 - 33zM352 300 <nl> + v39c0 4 - 2 7 - 4 9s - 5 4 - 9 4h - 38c - 4 0 - 7 - 2 - 9 - 4s - 4 - 5 - 4 - 9v - 39c0 - 4 2 - 7 4 - 9s5 - 3 9 - 3h38c4 0 7 1 9 3s4 5 4 9zM272 113c22 22 32 48 32 79h80v - 144c0 - 13 - 5 - 24 - 14 - 34s - 20 - 14 - 33 - 14h - 288c - 13 0 - 24 4 - 34 14s - 15 21 - 15 34v144h81c0 - 31 10 - 57 32 - 79 <nl> + s48 - 33 79 - 33s58 11 80 33z " / > <nl> + < glyph glyph - name = " ion - social - javascript - outline " unicode = " & # xf4e4 ; " <nl> + d = " M160 344h - 48v - 196c0 - 30 - 6 - 50 - 17 - 64c - 11 - 13 - 26 - 20 - 48 - 20c - 9 0 - 18 1 - 25 2l - 4 - 30c11 - 2 25 - 4 37 - 4c34 0 59 8 76 25c19 18 29 48 29 90v197zM176 360v0v - 213c0 - 97 - 49 - 131 - 121 - 131c - 18 0 - 40 3 - 55 8l8 62c10 - 4 24 - 6 39 - 6c31 0 49 15 49 68v212h80z <nl> + M350 352c - 34 0 - 62 - 9 - 82 - 26c - 19 - 15 - 28 - 36 - 28 - 60c0 - 20 7 - 36 21 - 51c14 - 14 34 - 26 61 - 36c23 - 8 38 - 15 48 - 24c12 - 11 18 - 23 18 - 38c0 - 16 - 7 - 31 - 20 - 40c - 12 - 9 - 28 - 14 - 48 - 14c - 28 0 - 52 8 - 70 15l - 7 - 32c18 - 8 44 - 14 72 - 14c38 0 70 9 90 27 <nl> + c18 16 27 38 27 63c0 21 - 5 36 - 17 50s - 31 27 - 58 37v0v0c - 38 15 - 72 28 - 72 63c0 14 7 27 19 36c11 9 26 13 45 13c24 0 43 - 5 57 - 11l10 32c - 19 6 - 42 10 - 66 10zM350 368v0c38 0 65 - 7 85 - 16l - 19 - 64c - 13 7 - 35 17 - 67 17s - 48 - 16 - 48 - 33c0 - 22 19 - 31 62 - 48 <nl> + c58 - 22 85 - 53 85 - 102c0 - 57 - 42 - 106 - 133 - 106c - 38 0 - 72 10 - 91 21l15 63v0c20 - 11 49 - 21 81 - 21c34 0 52 15 52 38c0 21 - 15 33 - 55 47c - 55 20 - 93 52 - 93 102c0 58 49 102 126 102z " / > <nl> + < glyph glyph - name = " ion - social - javascript " unicode = " & # xf4e5 ; " <nl> + d = " M176 360v0v - 213c0 - 97 - 49 - 131 - 121 - 131c - 18 0 - 40 3 - 55 8l8 62c10 - 4 24 - 6 39 - 6c31 0 49 15 49 68v212h80zM350 368v0c38 0 65 - 7 85 - 16l - 19 - 64c - 13 7 - 35 17 - 67 17s - 48 - 16 - 48 - 33c0 - 22 19 - 31 62 - 48c58 - 22 85 - 53 85 - 102c0 - 57 - 42 - 106 - 133 - 106 <nl> + c - 38 0 - 72 10 - 91 21l15 63v0c20 - 11 49 - 21 81 - 21c34 0 52 15 52 38c0 21 - 15 33 - 55 47c - 55 20 - 93 52 - 93 102c0 58 49 102 126 102z " / > <nl> + < glyph glyph - name = " ion - social - linkedin - outline " unicode = " & # xf238 ; " horiz - adv - x = " 384 " <nl> + d = " M119 64v0h - 55v171h55v - 171zM93 261v0v0c - 18 0 - 29 13 - 29 29c0 17 12 30 30 30s29 - 13 29 - 30c0 - 16 - 12 - 29 - 30 - 29zM257 239c36 0 63 - 24 63 - 75v - 100h - 55v94c0 22 - 8 37 - 28 37c - 15 0 - 24 - 10 - 28 - 20c - 2 - 4 - 2 - 9 - 2 - 14v - 97h - 55v171h55v - 24c8 11 21 28 50 28z <nl> + M353 384c18 0 31 - 13 31 - 30v - 321c0 - 17 - 13 - 33 - 31 - 33h - 320c - 18 0 - 33 16 - 33 33v321c0 17 15 30 33 30h320zM350 32c1 0 2 1 2 2v316c0 1 - 1 2 - 2 2h - 316s - 2 - 1 - 2 - 2v - 315s1 - 3 3 - 3h315z " / > <nl> + < glyph glyph - name = " ion - social - linkedin " unicode = " & # xf239 ; " horiz - adv - x = " 384 " <nl> + d = " M353 384c18 0 31 - 13 31 - 30v - 321c0 - 17 - 13 - 33 - 31 - 33h - 320c - 18 0 - 33 16 - 33 33v321c0 17 15 30 33 30h320zM119 64v171h - 55v - 171h55zM93 261c18 0 30 13 30 29c0 17 - 11 30 - 29 30s - 30 - 13 - 30 - 30c0 - 16 11 - 29 29 - 29v0zM320 64v100c0 51 - 27 75 - 63 75 <nl> + c - 29 0 - 42 - 17 - 50 - 28v24h - 55v - 171h55v97c0 5 0 10 2 14c4 10 13 20 28 20c20 0 28 - 15 28 - 37v - 94h55z " / > <nl> + < glyph glyph - name = " ion - social - markdown " unicode = " & # xf4e6 ; " <nl> + d = " M416 352c18 0 32 - 14 32 - 32v - 256c0 - 18 - 14 - 32 - 32 - 32h - 384c - 18 0 - 32 14 - 32 32v256c0 18 14 32 32 32h384zM252 96v0v192h - 56l - 42 - 68l - 42 68h - 56v - 192h56v96l42 - 54l42 54v - 96h56zM336 96v0l70 96h - 42v96h - 56v - 96h - 42z " / > <nl> + < glyph glyph - name = " ion - social - nodejs " unicode = " & # xf4e7 ; " horiz - adv - x = " 384 " <nl> + d = " M192 - 32c - 6 0 - 12 2 - 17 5l - 53 32c - 8 5 - 4 6 - 1 7c11 4 14 5 25 12c1 1 3 1 4 0l39 - 23c1 - 1 4 - 1 5 0l156 92c1 1 2 2 2 4v187c0 2 0 4 - 2 5l - 156 94c - 1 1 - 3 1 - 4 0l - 155 - 94c - 2 - 1 - 3 - 3 - 3 - 5v - 187c0 - 2 0 - 3 2 - 4l40 - 24c24 - 12 38 1 38 15v183c0 3 2 5 5 5h22 <nl> + c3 0 5 - 2 5 - 5v - 183c0 - 33 - 19 - 52 - 49 - 52c - 9 0 - 17 1 - 37 11l - 41 24c - 10 6 - 17 18 - 17 30v190c0 12 7 24 17 30l158 95c10 6 24 6 34 0l158 - 95c10 - 6 17 - 18 17 - 30v - 190c0 - 12 - 7 - 24 - 17 - 30l - 158 - 94c - 5 - 3 - 11 - 5 - 17 - 5v0zM241 96c - 65 0 - 84 31 - 84 59c0 3 1 5 4 5 <nl> + h21c2 0 5 - 2 5 - 4c3 - 22 16 - 31 54 - 31c33 0 47 11 47 29c0 11 - 3 18 - 55 23c - 43 4 - 71 15 - 71 51c0 33 28 52 73 52c46 0 76 - 14 79 - 51c0 - 1 - 1 - 2 - 2 - 3s - 2 - 2 - 3 - 2h - 20c - 2 0 - 5 2 - 5 4c - 4 17 - 16 23 - 49 23c - 36 0 - 41 - 12 - 41 - 22c0 - 12 5 - 16 54 - 23s72 - 16 72 - 51 <nl> + c0 - 36 - 29 - 59 - 79 - 59v0v0z " / > <nl> + < glyph glyph - name = " ion - social - octocat " unicode = " & # xf4e8 ; " <nl> + d = " M146 161c9 0 16 - 4 22 - 13s10 - 20 10 - 32s - 4 - 22 - 10 - 31s - 14 - 13 - 22 - 13c - 9 0 - 17 4 - 23 13s - 9 19 - 9 31s3 24 9 32c6 9 14 13 23 13zM303 161c9 0 16 - 4 22 - 13s9 - 20 9 - 32s - 3 - 22 - 9 - 31s - 13 - 13 - 22 - 13s - 18 4 - 24 13s - 9 19 - 9 31s3 24 9 32c6 9 15 13 24 13z <nl> + M414 276c24 - 27 34 - 66 34 - 96c0 - 24 - 1 - 46 - 6 - 65c - 6 - 19 - 13 - 35 - 21 - 47c - 9 - 12 - 19 - 23 - 32 - 32s - 24 - 17 - 34 - 21s - 22 - 8 - 36 - 10c - 13 - 2 - 24 - 4 - 31 - 4c0 0 - 28 - 1 - 64 - 1s - 64 1 - 64 1c - 7 0 - 18 2 - 31 4c - 14 2 - 26 6 - 36 10s - 22 12 - 34 21c - 13 9 - 23 20 - 32 32 <nl> + c - 8 12 - 15 28 - 21 47c - 5 19 - 6 41 - 6 65c0 31 10 70 34 96c0 0 - 2 14 0 39s7 48 16 69c30 - 3 67 - 20 112 - 51c15 4 36 6 62 6c28 0 48 - 2 62 - 6c20 14 39 24 58 33c19 8 33 13 41 15s13 3 13 3c9 - 21 14 - 44 16 - 69s0 - 39 0 - 39v0zM348 42c28 13 42 40 42 81 <nl> + c0 24 - 8 43 - 26 59c - 9 9 - 20 13 - 32 15s - 31 1 - 56 - 1s - 40 - 4 - 52 - 4s - 25 2 - 42 3s - 30 3 - 39 3c - 10 0 - 20 1 - 31 - 2s - 21 - 7 - 28 - 14c - 17 - 15 - 25 - 35 - 25 - 59c0 - 41 13 - 68 41 - 81c27 - 13 69 - 18 123 - 18h2c54 0 95 5 123 18z " / > <nl> + < glyph glyph - name = " ion - social - pinterest - outline " unicode = " & # xf2b0 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224s - 224 100 - 224 224s100 224 224 224zM360 56c36 36 56 85 56 136s - 20 100 - 56 136s - 85 56 - 136 56s - 100 - 20 - 136 - 56s - 56 - 85 - 56 - 136s20 - 100 56 - 136c14 - 14 31 - 25 48 - 34c1 6 2 10 3 16c4 18 29 122 29 122 <nl> + s - 8 15 - 8 36c0 33 20 58 44 58c20 0 30 - 16 30 - 34c0 - 20 - 13 - 51 - 20 - 79c - 6 - 24 12 - 43 35 - 43c42 0 71 54 71 119c0 49 - 33 85 - 93 85c - 68 0 - 110 - 50 - 110 - 107c0 - 20 6 - 33 15 - 44c4 - 5 5 - 6 3 - 12c - 1 - 4 - 4 - 14 - 5 - 18c - 2 - 6 - 6 - 8 - 11 - 6c - 31 13 - 46 48 - 46 86 <nl> + c0 64 54 140 160 140c86 0 142 - 63 142 - 129c0 - 88 - 49 - 153 - 121 - 153c - 24 0 - 47 13 - 55 28c0 0 - 12 - 52 - 15 - 62c - 2 - 6 - 4 - 13 - 7 - 19c15 - 4 31 - 6 47 - 6c51 0 100 20 136 56z " / > <nl> + < glyph glyph - name = " ion - social - pinterest " unicode = " & # xf2b1 ; " <nl> + d = " M224 416c124 0 224 - 100 224 - 224s - 100 - 224 - 224 - 224c - 22 0 - 44 3 - 64 9c8 14 18 31 23 48c3 10 16 62 16 62c8 - 15 30 - 28 54 - 28c72 0 121 65 121 153c0 66 - 56 129 - 142 129c - 106 0 - 160 - 76 - 160 - 140c0 - 39 15 - 73 46 - 86c5 - 2 10 0 12 6c1 4 3 14 4 18 <nl> + c2 6 1 7 - 3 12c - 9 11 - 15 24 - 15 44c0 57 42 107 110 107c60 0 94 - 36 94 - 85c0 - 65 - 29 - 119 - 71 - 119c - 24 0 - 42 19 - 36 43c7 28 20 59 20 79c0 18 - 10 34 - 30 34c - 24 0 - 43 - 25 - 43 - 58c0 - 21 7 - 36 7 - 36s - 25 - 104 - 29 - 122c - 4 - 17 - 5 - 35 - 4 - 51 <nl> + c - 79 35 - 134 113 - 134 205c0 124 100 224 224 224z " / > <nl> + < glyph glyph - name = " ion - social - python " unicode = " & # xf4e9 ; " horiz - adv - x = " 384 " <nl> + d = " M129 199c - 29 - 5 - 49 - 30 - 49 - 57v - 43v - 3h - 15c - 29 0 - 54 29 - 62 69c - 2 9 - 3 17 - 3 27v1c0 53 29 95 65 95h127v16h - 96v29c0 26 7 40 46 47c13 2 29 4 45 4s39 - 1 55 - 4c25 - 4 46 - 22 46 - 47v - 57v - 31c0 - 21 - 14 - 38 - 33 - 43c - 4 - 1 - 8 - 2 - 13 - 2h - 104h3c - 4 0 - 8 0 - 12 - 1z <nl> + M140 321c10 0 17 7 17 17s - 7 18 - 17 18s - 18 - 8 - 18 - 18s8 - 17 18 - 17zM380 225c3 - 10 4 - 21 4 - 33c0 - 16 - 3 - 30 - 7 - 43c - 11 - 31 - 33 - 53 - 58 - 53h - 127v - 16h96v - 26c0 - 26 - 23 - 40 - 46 - 47c - 35 - 10 - 68 - 9 - 97 0c - 25 7 - 49 22 - 49 47v54v33c0 21 14 36 33 41c4 1 8 2 13 2 <nl> + h104c3 0 6 1 9 1c27 4 49 28 49 62v38v3h15c28 0 52 - 26 61 - 63zM244 65c - 10 0 - 18 - 7 - 18 - 17s8 - 18 18 - 18s17 8 17 18s - 7 17 - 17 17z " / > <nl> + < glyph glyph - name = " ion - social - reddit - outline " unicode = " & # xf23a ; " horiz - adv - x = " 449 " <nl> + d = " M259 160c0 21 11 31 32 31s32 - 10 32 - 31s - 11 - 32 - 32 - 32s - 32 11 - 32 32zM127 160c0 21 11 31 32 31s32 - 10 32 - 31s - 11 - 32 - 32 - 32s - 32 11 - 32 32zM449 197c0 - 20 - 9 - 36 - 27 - 45c1 - 5 1 - 9 1 - 14c0 - 38 - 19 - 71 - 58 - 98s - 85 - 40 - 140 - 40s - 102 13 - 141 40 <nl> + s - 58 59 - 58 97c0 5 0 10 1 15c - 18 9 - 27 24 - 27 45c0 14 5 25 15 35s21 15 35 15c13 0 24 - 4 33 - 13c36 25 79 39 129 41h7l29 98l86 - 17c8 19 21 28 41 28c12 0 22 - 4 31 - 13s13 - 20 13 - 32s - 4 - 23 - 13 - 32s - 19 - 13 - 31 - 13s - 23 4 - 32 13s - 13 19 - 13 31l - 69 14l - 24 - 77 <nl> + c50 - 2 94 - 16 129 - 41c10 9 21 13 34 13c9 0 16 - 3 24 - 7s14 - 10 18 - 18s7 - 16 7 - 25zM375 366c - 4 0 - 8 - 1 - 11 - 2s - 6 - 4 - 8 - 6s - 5 - 6 - 6 - 9s - 2 - 6 - 2 - 10c0 - 8 3 - 14 8 - 19s12 - 8 19 - 8c5 0 9 1 13 3s8 6 10 10s4 9 4 14c0 8 - 3 14 - 8 19s - 12 8 - 19 8zM18 197 <nl> + c0 - 11 5 - 20 14 - 27c7 19 19 37 37 53c - 6 4 - 12 6 - 19 6c - 3 0 - 7 0 - 10 - 1s - 6 - 3 - 9 - 5s - 5 - 4 - 7 - 7s - 4 - 6 - 5 - 9s - 1 - 6 - 1 - 10zM355 55c34 23 50 51 50 83v9c - 1 6 - 3 12 - 5 18c - 6 16 - 15 30 - 30 43c - 5 4 - 10 9 - 15 12v0c - 36 25 - 79 37 - 130 37s - 95 - 12 - 131 - 37v0 <nl> + c - 5 - 3 - 10 - 8 - 15 - 12c - 15 - 13 - 24 - 27 - 30 - 43c - 2 - 6 - 4 - 12 - 5 - 18v - 9c0 - 32 16 - 60 50 - 83c36 - 25 80 - 37 131 - 37s94 12 130 37zM417 170c9 6 14 16 14 27c0 9 - 3 17 - 9 23s - 13 9 - 22 9c - 7 0 - 14 - 2 - 20 - 6c18 - 16 30 - 34 37 - 53zM289 90l13 - 12 <nl> + c - 20 - 20 - 45 - 30 - 77 - 30s - 58 10 - 78 30l13 12c16 - 16 38 - 24 65 - 24s48 8 64 24z " / > <nl> + < glyph glyph - name = " ion - social - reddit " unicode = " & # xf23b ; " horiz - adv - x = " 449 " <nl> + d = " M449 197c0 - 20 - 11 - 37 - 27 - 45c1 - 5 1 - 9 1 - 14c0 - 76 - 89 - 138 - 199 - 138s - 198 61 - 198 137c0 5 0 10 1 15c - 16 8 - 27 25 - 27 45c0 28 23 50 50 50c13 0 24 - 5 33 - 13c33 23 79 39 129 41h2l31 103l90 - 18c8 14 22 24 39 24v0h1c25 0 44 - 20 44 - 45s - 19 - 45 - 44 - 45h - 1 <nl> + v0c - 23 0 - 42 17 - 44 40l - 67 14l - 22 - 74c49 - 3 93 - 17 125 - 40c9 8 21 13 34 13c27 0 49 - 22 49 - 50zM34 177c5 15 15 29 29 41c - 4 3 - 9 5 - 15 5c - 14 0 - 25 - 11 - 25 - 25c0 - 9 4 - 17 11 - 21zM358 339c0 - 9 7 - 17 16 - 17s17 8 17 17s - 8 17 - 17 17s - 16 - 8 - 16 - 17zM127 160 <nl> + c0 - 18 14 - 32 32 - 32s32 14 32 32s - 14 31 - 32 31s - 32 - 13 - 32 - 31zM224 48c48 0 77 29 78 30l - 13 12s - 25 - 24 - 65 - 24c - 41 0 - 64 24 - 64 24l - 13 - 12c1 - 1 29 - 30 77 - 30zM291 128c18 0 32 14 32 32s - 14 31 - 32 31s - 32 - 13 - 32 - 31s14 - 32 32 - 32zM415 176c7 5 11 13 11 22 <nl> + c0 14 - 11 25 - 25 25c - 6 0 - 11 - 2 - 15 - 5c14 - 12 24 - 27 29 - 42z " / > <nl> + < glyph glyph - name = " ion - social - rss - outline " unicode = " & # xf23c ; " horiz - adv - x = " 384 " <nl> + d = " M56 112c31 0 56 - 25 56 - 56s - 25 - 56 - 56 - 56s - 56 25 - 56 56s25 56 56 56zM56 16c22 0 40 18 40 40s - 18 40 - 40 40s - 40 - 18 - 40 - 40s18 - 40 40 - 40zM0 256c140 0 256 - 116 256 - 256h - 80c0 48 - 14 94 - 48 128s - 80 48 - 128 48v80zM240 16c - 2 26 - 8 52 - 19 77 <nl> + c - 12 28 - 30 54 - 52 76s - 48 40 - 76 52c - 25 10 - 51 16 - 77 18v - 47c50 - 3 92 - 22 123 - 53s50 - 73 53 - 123h48zM0 384c212 0 384 - 172 384 - 384h - 80c0 171 - 133 304 - 304 304v80zM227 228c56 - 56 89 - 131 93 - 212h48c - 8 190 - 162 344 - 352 352v - 48c81 - 4 155 - 36 211 - 92z " / > <nl> + < glyph glyph - name = " ion - social - rss " unicode = " & # xf23d ; " horiz - adv - x = " 384 " <nl> + d = " M56 112c31 0 56 - 25 56 - 56s - 25 - 56 - 56 - 56s - 56 25 - 56 56s25 56 56 56zM0 256c140 0 256 - 116 256 - 256h - 80c0 48 - 14 94 - 48 128s - 80 48 - 128 48v80zM0 384c212 0 384 - 172 384 - 384h - 80c0 171 - 133 304 - 304 304v80z " / > <nl> + < glyph glyph - name = " ion - social - sass " unicode = " & # xf4ea ; " horiz - adv - x = " 512 " <nl> + d = " M512 119v - 8c - 1 - 9 - 7 - 17 - 15 - 22s - 12 - 4 - 13 - 3s1 3 4 5c13 8 17 20 10 33c - 5 10 - 15 16 - 26 20c - 24 8 - 48 7 - 72 0c4 - 12 7 - 23 - 2 - 34c - 10 - 12 - 23 - 19 - 39 - 22c - 7 - 2 - 14 2 - 15 9c - 3 19 17 36 30 47c - 7 11 - 11 24 - 14 37c - 15 - 17 - 31 - 40 - 26 - 61 <nl> + c3 - 14 - 1 - 27 - 14 - 36s - 30 - 14 - 46 - 11c - 4 1 - 6 5 - 5 8c2 14 25 32 35 43c2 2 3 4 1 7c - 6 12 - 10 23 - 14 36c - 13 - 29 - 30 - 80 - 57 - 98c - 9 - 6 - 17 - 4 - 21 5c - 3 8 - 2 20 - 1 29c - 6 - 13 - 11 - 27 - 20 - 38c - 7 - 8 - 24 - 7 - 30 1c - 16 21 - 13 50 - 5 73l - 29 - 15c7 - 16 8 - 32 4 - 49 <nl> + c - 5 - 19 - 17 - 35 - 35 - 46c - 19 - 12 - 64 - 24 - 77 4c - 7 16 - 4 30 6 44c17 24 48 37 74 50c - 32 23 - 80 42 - 96 80c - 15 35 17 68 43 89c59 48 166 95 244 59c15 - 7 36 - 24 31 - 52c - 4 - 24 - 13 - 39 - 28 - 54c - 32 - 32 - 152 - 77 - 176 - 15c - 1 1 - 1 4 1 4c2 - 1 20 - 15 43 - 16 <nl> + c17 - 1 36 3 52 8c33 11 71 33 80 67c4 13 - 2 28 - 15 34c - 49 24 - 116 - 4 - 159 - 26c - 33 - 17 - 84 - 45 - 82 - 87c1 - 37 56 - 60 81 - 82c15 7 42 15 52 27c11 13 26 25 44 26c8 0 14 - 3 16 - 10c2 - 6 1 - 11 0 - 19c5 4 11 4 15 - 1c12 - 14 - 22 - 50 - 10 - 66c14 14 21 42 30 59 <nl> + c4 8 17 51 26 53c7 2 18 4 25 0c2 - 1 3 - 3 2 - 5c - 7 - 19 - 7 - 33 3 - 52c14 20 29 43 34 67c1 2 3 3 5 4c7 2 18 3 25 0c3 - 1 3 - 2 2 - 5c - 7 - 22 - 6 - 38 6 - 58c31 11 69 15 97 - 5c - 3 2 - 7 5 0 0c5 - 4 3 - 2 0 0c12 - 8 19 - 18 21 - 32zM113 94v0c1 7 - 1 13 - 3 20 <nl> + c - 24 - 8 - 66 - 35 - 64 - 62c1 - 10 8 - 13 17 - 12s19 7 27 13c14 11 22 24 23 41zM216 166c1 3 - 2 5 - 5 4c - 29 - 8 - 43 - 57 - 33 - 81c1 - 3 4 - 3 6 - 1c17 16 28 56 32 78zM286 84c8 - 3 27 17 26 27c - 8 - 9 - 18 - 18 - 26 - 27zM367 102c11 6 16 19 12 30c - 8 - 6 - 21 - 19 - 20 - 31 <nl> + c0 - 2 6 0 8 1z " / > <nl> + < glyph glyph - name = " ion - social - skype - outline " unicode = " & # xf23e ; " horiz - adv - x = " 384 " <nl> + d = " M106 352c - 41 0 - 74 - 33 - 74 - 73c0 - 13 4 - 25 10 - 36l6 - 11l - 2 - 12c - 2 - 10 - 3 - 20 - 3 - 30c0 - 40 16 - 77 44 - 105s67 - 44 107 - 44c9 0 19 1 28 3l11 2l9 - 5c11 - 6 24 - 9 36 - 9c41 0 74 33 74 73c0 11 - 3 22 - 8 32l - 5 10l3 11c2 10 3 21 3 32c0 40 - 16 77 - 44 105 <nl> + s - 67 43 - 107 43c - 9 0 - 18 0 - 26 - 2l - 12 - 2l - 10 7c - 12 7 - 26 11 - 40 11zM106 384v0c21 0 40 - 6 56 - 16c10 2 21 2 32 2c101 0 183 - 80 183 - 180c0 - 13 - 1 - 27 - 4 - 39c7 - 14 11 - 29 11 - 46c0 - 58 - 47 - 105 - 106 - 105c - 18 0 - 35 4 - 50 12c - 11 - 2 - 22 - 3 - 34 - 3 <nl> + c - 101 0 - 183 81 - 183 181c0 12 2 24 4 36c - 9 16 - 15 34 - 15 53c0 58 47 105 106 105zM288 104c - 8 - 12 - 21 - 21 - 37 - 28s - 36 - 10 - 58 - 10c - 26 0 - 48 5 - 65 14c - 12 7 - 22 15 - 30 26s - 12 22 - 12 33c0 7 3 12 8 17s11 7 19 7c6 0 12 - 2 16 - 6s7 - 8 10 - 15s7 - 13 11 - 18 <nl> + s8 - 9 15 - 12s16 - 5 27 - 5c15 0 28 4 37 10s13 13 13 22c0 7 - 2 13 - 7 17c - 5 5 - 11 9 - 19 11c - 8 3 - 20 5 - 34 8c - 19 4 - 35 9 - 48 14c - 13 6 - 24 13 - 32 23s - 11 22 - 11 36s4 25 12 36c8 10 20 19 36 25c15 6 34 8 54 8c16 0 30 - 1 42 - 5s23 - 9 31 - 15s14 - 13 18 - 20 <nl> + s5 - 14 5 - 21c0 - 6 - 2 - 12 - 7 - 17s - 11 - 8 - 19 - 8c - 7 0 - 12 2 - 16 5c - 3 3 - 7 7 - 11 14c - 5 8 - 10 15 - 16 20s - 17 8 - 31 8c - 13 0 - 23 - 3 - 31 - 8s - 12 - 11 - 12 - 18c0 - 4 2 - 7 4 - 10c3 - 3 6 - 6 11 - 8s10 - 5 15 - 6s13 - 3 25 - 6c15 - 3 28 - 6 40 - 10s23 - 8 32 - 14s15 - 13 20 - 22 <nl> + s8 - 20 8 - 32c0 - 15 - 5 - 28 - 13 - 40z " / > <nl> + < glyph glyph - name = " ion - social - skype " unicode = " & # xf23f ; " horiz - adv - x = " 384 " <nl> + d = " M373 151c7 - 14 11 - 29 11 - 46c0 - 58 - 47 - 105 - 106 - 105c - 18 0 - 35 4 - 50 12c - 11 - 2 - 22 - 3 - 34 - 3c - 101 0 - 183 81 - 183 181c0 12 2 24 4 36c - 9 16 - 15 34 - 15 53c0 58 47 105 106 105c21 0 41 - 6 57 - 16c10 2 20 2 31 2c101 0 183 - 80 183 - 180c0 - 13 - 1 - 27 - 4 - 39z <nl> + M288 104c9 12 12 25 12 40c0 12 - 2 23 - 7 32s - 12 16 - 21 22s - 19 10 - 31 14s - 26 7 - 41 10c - 12 3 - 20 5 - 25 6s - 10 4 - 15 6s - 7 5 - 10 8c - 2 3 - 4 6 - 4 10c0 7 3 13 11 18s19 7 32 7c14 0 25 - 2 31 - 7s11 - 12 16 - 20c4 - 7 8 - 11 11 - 14c4 - 3 9 - 5 16 - 5c8 0 13 3 18 8s8 11 8 17 <nl> + c0 7 - 2 14 - 6 21s - 10 14 - 18 20s - 18 11 - 30 15s - 27 5 - 43 5c - 20 0 - 38 - 2 - 53 - 8c - 16 - 6 - 28 - 15 - 36 - 25c - 8 - 11 - 12 - 22 - 12 - 36s3 - 26 11 - 36s19 - 17 32 - 23c13 - 5 29 - 10 48 - 14c14 - 3 26 - 5 34 - 8c8 - 2 14 - 6 19 - 11c5 - 4 7 - 10 7 - 17c0 - 9 - 4 - 17 - 13 - 23 <nl> + s - 22 - 9 - 37 - 9c - 11 0 - 20 2 - 27 5s - 11 6 - 15 11s - 8 12 - 11 19s - 6 11 - 10 15s - 10 6 - 16 6c - 8 0 - 14 - 2 - 19 - 7s - 8 - 10 - 8 - 17c0 - 11 4 - 22 12 - 33s18 - 19 30 - 26c17 - 9 39 - 14 65 - 14c22 0 42 3 58 10s29 16 37 28z " / > <nl> + < glyph glyph - name = " ion - social - snapchat - outline " unicode = " & # xf4eb ; " horiz - adv - x = " 480 " <nl> + d = " M240 400v0v0c - 71 0 - 128 - 54 - 118 - 128c2 - 15 3 - 32 4 - 45c0 0 - 2 - 5 - 12 - 5c - 6 0 - 15 2 - 28 7c - 2 1 - 4 1 - 6 1c - 8 0 - 13 - 6 - 14 - 12c0 - 5 4 - 11 8 - 13c14 - 7 47 - 10 47 - 33s - 23 - 47 - 41 - 64s - 64 - 21 - 64 - 21s0 - 21 32 - 29s32 - 5 33 - 13c2 - 15 1 - 22 11 - 22c2 0 4 1 6 1 <nl> + c8 1 20 3 32 3c11 0 23 - 2 34 - 9c23 - 15 41 - 34 76 - 34s53 19 76 34c11 7 24 9 35 9c12 0 23 - 2 31 - 3c2 0 4 - 1 6 - 1c10 0 9 7 11 22c1 8 1 5 33 13s32 29 32 29s - 46 4 - 64 21s - 41 41 - 41 64s33 26 47 33c4 2 9 8 9 13c - 1 6 - 6 12 - 14 12c - 2 0 - 5 0 - 7 - 1 <nl> + c - 13 - 5 - 21 - 6 - 27 - 6c - 10 0 - 13 4 - 13 4c1 13 2 30 4 45c10 74 - 47 128 - 118 128zM240 416v0c41 0 80 - 16 105 - 45c24 - 28 34 - 63 29 - 101c - 1 - 11 - 2 - 22 - 3 - 31c4 1 10 2 18 5c4 1 8 2 12 2c16 0 29 - 12 30 - 27c1 - 13 - 9 - 25 - 18 - 29c - 4 - 2 - 9 - 3 - 14 - 5 <nl> + c - 7 - 2 - 14 - 5 - 19 - 8c - 4 - 3 - 5 - 4 - 5 - 5c0 - 16 20 - 37 36 - 52c11 - 10 39 - 16 54 - 17l15 - 1v - 14c0 - 2 0 - 11 - 6 - 21c - 5 - 8 - 16 - 19 - 38 - 24c - 6 - 1 - 11 - 3 - 15 - 4c - 2 - 1 - 5 - 1 - 7 - 1v - 1c - 1 - 7 - 1 - 13 - 4 - 18c - 2 - 5 - 9 - 12 - 22 - 12c - 2 0 - 6 0 - 9 1c - 2 0 - 3 1 - 5 1 <nl> + c - 7 1 - 15 2 - 23 2c - 10 0 - 19 - 2 - 26 - 6c - 4 - 3 - 9 - 7 - 14 - 10c - 18 - 13 - 38 - 27 - 71 - 27s - 53 14 - 71 27c - 5 3 - 9 7 - 14 10c - 7 4 - 15 6 - 25 6c - 8 0 - 17 - 1 - 24 - 2c - 2 0 - 3 - 1 - 5 - 1c - 3 - 1 - 7 - 1 - 9 - 1c - 13 0 - 20 7 - 22 12c - 3 5 - 3 11 - 4 18v1c - 2 0 - 4 0 - 6 1c - 4 1 - 10 3 - 16 4 <nl> + c - 22 5 - 33 16 - 38 24c - 6 10 - 6 18 - 6 20v15l15 1c16 1 44 7 54 17c29 27 36 43 36 52c0 1 0 2 - 4 5c - 5 3 - 13 6 - 20 8c - 5 2 - 10 3 - 14 5c - 9 4 - 18 16 - 17 29c1 15 14 27 30 27c4 0 8 0 12 - 2c8 - 3 13 - 4 17 - 5c - 1 9 - 2 19 - 3 30c - 5 38 5 74 29 102c25 29 64 45 105 45v0z <nl> + M240 219c - 21 0 - 41 8 - 56 23c - 3 3 - 3 9 0 12s9 3 12 0c12 - 12 27 - 19 44 - 19c16 0 32 7 44 19c3 3 9 3 12 0s3 - 9 0 - 12c - 15 - 15 - 35 - 23 - 56 - 23zM176 296c0 16 5 24 16 24s16 - 8 16 - 24s - 5 - 24 - 16 - 24s - 16 8 - 16 24zM272 296c0 16 5 24 16 24s16 - 8 16 - 24 <nl> + s - 5 - 24 - 16 - 24s - 16 8 - 16 24z " / > <nl> + < glyph glyph - name = " ion - social - snapchat " unicode = " & # xf4ec ; " horiz - adv - x = " 480 " <nl> + d = " M480 88c0 - 2 0 - 11 - 6 - 21c - 5 - 8 - 16 - 19 - 38 - 24c - 6 - 1 - 11 - 3 - 15 - 4c - 2 - 1 - 5 - 1 - 7 - 1v - 1c - 1 - 7 - 1 - 13 - 4 - 18c - 2 - 5 - 9 - 12 - 22 - 12c - 2 0 - 6 0 - 9 1c - 2 0 - 3 1 - 5 1c - 7 1 - 15 2 - 23 2c - 10 0 - 19 - 2 - 26 - 6c - 4 - 3 - 9 - 7 - 14 - 10c - 18 - 13 - 38 - 27 - 71 - 27 <nl> + s - 53 14 - 71 27c - 5 3 - 9 7 - 14 10c - 7 4 - 15 6 - 25 6c - 8 0 - 17 - 1 - 24 - 2c - 2 0 - 3 - 1 - 5 - 1c - 3 - 1 - 7 - 1 - 9 - 1c - 13 0 - 20 7 - 22 12c - 3 5 - 3 11 - 4 18v1c - 2 0 - 4 0 - 6 1c - 4 1 - 10 3 - 16 4c - 22 5 - 33 16 - 38 24c - 6 10 - 6 18 - 6 20v15l15 1c16 1 44 7 54 17c29 27 36 43 36 52 <nl> + c0 1 0 2 - 4 5c - 5 3 - 13 6 - 20 8c - 5 2 - 10 3 - 14 5c - 9 4 - 18 16 - 17 29c1 15 14 27 30 27c4 0 8 0 12 - 2c8 - 3 13 - 4 17 - 5c - 1 9 - 2 19 - 3 30c - 5 38 5 74 29 102c25 29 64 45 105 45v0c41 0 80 - 16 105 - 45c24 - 28 34 - 63 29 - 101c - 1 - 11 - 2 - 22 - 3 - 31c4 1 10 2 18 5 <nl> + c4 1 8 2 12 2c16 0 29 - 12 30 - 27c1 - 13 - 9 - 25 - 18 - 29c - 4 - 2 - 9 - 3 - 14 - 5c - 7 - 2 - 14 - 5 - 19 - 8c - 4 - 3 - 5 - 4 - 5 - 5c0 - 16 20 - 37 36 - 52c11 - 10 39 - 16 54 - 17l15 - 1v - 14zM192 320c - 9 0 - 16 - 11 - 16 - 24s7 - 24 16 - 24s16 11 16 24s - 7 24 - 16 24zM296 242c3 3 3 9 0 12 <nl> + s - 9 3 - 12 0c - 12 - 12 - 28 - 19 - 44 - 19c - 17 0 - 32 7 - 44 19c - 3 3 - 9 3 - 12 0s - 3 - 9 0 - 12c15 - 15 35 - 23 56 - 23s41 8 56 23zM288 272c9 0 16 11 16 24s - 7 24 - 16 24s - 16 - 11 - 16 - 24s7 - 24 16 - 24z " / > <nl> + < glyph glyph - name = " ion - social - tumblr - outline " unicode = " & # xf240 ; " horiz - adv - x = " 256 " <nl> + d = " M193 52c21 0 42 6 63 20v - 65c - 18 - 8 - 34 - 15 - 48 - 18s - 28 - 5 - 45 - 5c - 19 0 - 35 2 - 50 7c - 14 5 - 28 12 - 38 21s - 17 18 - 21 28s - 6 25 - 6 44v140h - 48v58c16 5 30 14 42 24s19 21 26 35s11 37 14 59h62v - 112h96v - 64h - 96v - 101c0 - 24 1 - 40 4 - 47c2 - 7 7 - 12 14 - 16 <nl> + c9 - 6 19 - 8 31 - 8zM240 17v29c - 15 - 6 - 31 - 10 - 47 - 10c - 15 0 - 28 3 - 40 10c - 10 6 - 17 15 - 21 25c - 2 6 - 4 17 - 4 52v117h96v32h - 96v112h - 32c - 2 - 16 - 7 - 36 - 14 - 50c - 8 - 16 - 17 - 29 - 30 - 40c - 11 - 9 - 23 - 17 - 36 - 23v - 31h48v - 156c0 - 21 2 - 32 4 - 38c3 - 8 10 - 15 18 - 22 <nl> + c9 - 8 19 - 14 31 - 18c13 - 4 29 - 6 46 - 6c16 0 28 2 41 5c11 2 23 6 36 12z " / > <nl> + < glyph glyph - name = " ion - social - tumblr " unicode = " & # xf241 ; " horiz - adv - x = " 256 " <nl> + d = " M193 52c21 0 42 6 63 20v - 65c - 18 - 8 - 34 - 15 - 48 - 18s - 28 - 5 - 45 - 5c - 19 0 - 35 2 - 50 7c - 14 5 - 28 12 - 38 21s - 17 18 - 21 28s - 6 25 - 6 44v140h - 48v58c16 5 30 14 42 24s19 21 26 35s11 37 14 59h62v - 112h96v - 64h - 96v - 101c0 - 24 1 - 40 4 - 47c2 - 7 7 - 12 14 - 16 <nl> + c9 - 6 19 - 8 31 - 8z " / > <nl> + < glyph glyph - name = " ion - social - tux " unicode = " & # xf2c5 ; " horiz - adv - x = " 383 " <nl> + d = " M189 347c2 2 - 1 - 1 0 0c2 2 4 4 6 5c - 3 - 2 - 5 - 4 - 7 - 8c0 1 0 2 1 3zM361 52c7 - 4 23 - 11 21 - 22c - 2 - 10 - 17 - 15 - 24 - 19c - 15 - 8 - 28 - 14 - 41 - 25c - 9 - 8 - 17 - 15 - 29 - 17c - 11 - 2 - 25 - 1 - 33 8c - 5 5 - 7 11 - 15 12c - 25 5 - 54 4 - 79 0c - 13 - 2 - 21 - 11 - 32 - 17 <nl> + c - 10 - 5 - 20 - 5 - 30 - 1c - 13 5 - 27 10 - 41 13s - 29 5 - 43 9c - 31 8 - 5 30 - 11 50c - 3 12 - 10 29 8 30c9 1 27 - 1 31 11c2 7 - 2 15 2 22s - 1 17 1 25c4 18 19 32 25 49c5 14 8 25 18 37c9 11 22 22 29 34c10 18 9 35 8 55c - 1 17 - 1 33 - 2 50c0 33 20 60 58 60h14 <nl> + c38 0 63 - 32 64 - 69c0 - 19 - 5 - 38 5 - 67c15 - 27 36 - 48 52 - 73c10 - 16 16 - 31 20 - 49c3 - 14 9 - 31 7 - 45c - 1 - 6 - 2 - 9 - 4 - 11c3 - 1 7 - 2 9 - 5c3 - 4 2 - 11 0 - 26c - 1 - 8 5 - 15 12 - 19zM137 - 3c2 20 - 15 39 - 25 56c - 10 16 - 21 43 - 39 52c - 8 4 - 19 5 - 23 - 5c - 2 - 7 0 - 19 - 2 - 22 <nl> + c - 4 - 9 - 14 - 10 - 23 - 11c - 6 0 - 17 0 - 17 - 8c1 - 10 10 - 20 7 - 30c - 2 - 7 - 8 - 12 - 8 - 19c0 - 14 38 - 15 47 - 17c19 - 4 37 - 14 57 - 16c12 - 1 25 7 26 20zM253 62c - 2 10 2 - 10 0 0s - 5 28 1 35c4 5 10 6 17 5c0 4 1 9 3 12c8 13 29 8 39 0l - 1 2c - 3 4 - 8 9 - 13 10c0 0 4 12 2 34 <nl> + c - 4 40 - 33 62 - 33 62c27 - 30 27 - 58 27 - 72c0 - 6 - 1 - 18 - 4 - 24c - 4 - 1 - 7 - 2 - 11 - 4c - 10 - 5 - 8 2 - 8 10c0 18 - 2 36 - 7 54c - 3 9 - 7 17 - 13 24c - 4 5 - 4 9 - 5 15c - 3 12 - 9 22 - 16 32c - 7 9 - 7 17 - 5 28c1 7 2 14 - 6 17c - 6 2 - 26 5 - 27 14c - 1 6 - 1 16 5 20c16 14 30 - 11 17 - 24 <nl> + c - 3 - 3 7 - 4 8 - 4c4 1 4 7 5 10c1 4 1 9 1 13c0 17 - 18 32 - 34 21c - 6 - 4 - 9 - 11 - 10 - 17c0 - 2 - 1 - 20 0 - 20c - 4 0 - 7 5 - 11 5c - 3 0 - 7 0 - 10 - 1c0 0 2 14 - 2 22c - 4 9 - 18 16 - 24 4s - 3 - 25 0 - 31s4 - 6 4 - 6c2 1 5 4 5 4s - 6 3 - 7 11c - 1 9 3 14 7 15s10 - 2 12 - 8s0 - 13 0 - 13 <nl> + c - 7 - 6 - 30 - 18 - 22 - 28c14 - 18 33 - 15 52 - 9c8 3 18 5 24 12c3 3 11 2 8 - 4c - 2 - 5 - 18 - 7 - 22 - 9c - 9 - 4 - 18 - 8 - 28 - 10c - 6 - 1 - 13 - 5 - 28 9c7 - 6 8 - 16 17 - 20c13 - 6 33 9 44 15c1 1 16 5 14 0c - 1 - 4 - 11 - 7 - 15 - 9c - 11 - 6 - 23 - 21 - 36 - 22c - 8 - 1 - 21 16 - 25 22 <nl> + c - 1 1 - 5 9 - 6 4c - 1 - 8 2 - 14 - 3 - 21c - 6 - 9 - 11 - 18 - 13 - 29c - 1 - 6 0 - 11 - 3 - 16c - 11 - 15 - 17 - 33 - 19 - 51c0 - 4 3 - 43 - 5 - 41c - 18 5 - 17 33 - 14 47c - 3 - 12 - 8 - 30 2 - 44c12 - 15 99 - 55 53 - 80c7 - 14 14 - 25 12 - 41c8 7 2 20 - 1 28c0 0 17 - 12 38 - 10c17 2 32 7 46 16 <nl> + c6 4 11 9 16 14c1 2 4 6 6 7l1 - 11c2 - 17 - 12 - 27 - 10 - 34c4 8 11 14 13 24c3 12 0 24 - 2 36zM155 323v0v - 3c2 0 2 5 1 8c - 1 4 - 3 6 - 4 6h - 2c3 - 2 5 - 6 5 - 11zM210 335c3 - 2 0 0 0 0c3 - 2 5 - 5 5 - 10v - 3c2 0 3 4 2 7s - 3 6 - 5 6h - 2zM347 15c24 11 - 24 - 10 0 0 <nl> + c24 11 35 17 20 26c - 17 10 - 26 13 - 26 29c0 5 4 16 2 22c - 1 4 - 6 5 - 9 5c - 10 - 10 - 17 - 25 - 34 - 25c - 14 0 - 25 11 - 28 24c - 4 2 - 10 1 - 13 - 4c - 6 - 12 1 - 29 3 - 41c2 - 18 - 4 - 35 - 2 - 53c2 - 21 26 - 22 40 - 13c16 10 29 22 47 30z " / > <nl> + < glyph glyph - name = " ion - social - twitch - outline " unicode = " & # xf4ed ; " horiz - adv - x = " 416 " <nl> + d = " M32 416h384v - 272l - 112 - 112h - 80l - 64 - 64h - 64v64h - 96v304zM368 160v208h - 304v - 272h80v - 64l64 64h96zM272 176v129h48v - 129h - 48zM160 176v129h48v - 129h - 48z " / > <nl> + < glyph glyph - name = " ion - social - twitch " unicode = " & # xf4ee ; " horiz - adv - x = " 416 " <nl> + d = " M32 416h384v - 272l - 112 - 112h - 80l - 64 - 64h - 64v64h - 96v304zM208 176v129h - 48v - 129h48zM320 176v129h - 48v - 129h48z " / > <nl> + < glyph glyph - name = " ion - social - twitter - outline " unicode = " & # xf242 ; " horiz - adv - x = " 472 " <nl> + d = " M472 338c - 13 - 20 - 29 - 36 - 48 - 50v - 12c0 - 128 - 98 - 276 - 276 - 276c - 55 0 - 105 16 - 148 44c8 - 1 15 - 2 23 - 2c45 0 87 16 120 42c - 42 1 - 78 29 - 90 67c6 - 1 12 - 2 18 - 2c9 0 18 2 26 4c - 44 9 - 78 48 - 78 95v1c13 - 7 28 - 12 44 - 12c - 26 17 - 43 47 - 43 81c0 18 5 34 13 48 <nl> + c48 - 59 119 - 97 199 - 101c - 2 7 - 2 14 - 2 22c0 54 43 97 97 97c28 0 52 - 12 70 - 31c22 4 43 13 62 24c - 7 - 23 - 23 - 42 - 43 - 54c20 2 39 7 56 15zM414 301c3 2 8 6 11 8c - 2 0 - 11 - 2 - 19 - 1s - 21 5 - 21 5s14 13 18 17l11 11c - 4 - 1 - 10 - 2 - 14 - 3l - 8 - 2l - 6 6 <nl> + c - 15 16 - 37 26 - 59 26c - 45 0 - 81 - 37 - 81 - 81c0 - 6 1 - 12 2 - 18l5 - 21l - 22 1c - 42 2 - 81 13 - 118 32c - 28 14 - 53 34 - 75 56c - 1 - 6 - 2 - 13 - 2 - 19c0 - 27 14 - 53 36 - 68c0 0 33 - 23 46 - 29c - 24 - 2 - 56 0 - 56 0c - 8 0 - 16 1 - 24 3c8 - 28 32 - 50 62 - 56l61 - 10l - 61 - 21 <nl> + c - 7 - 2 - 14 - 3 - 21 - 3c15 - 20 38 - 34 64 - 34l45 - 1l - 35 - 28c - 18 - 14 - 38 - 25 - 60 - 33c - 10 - 3 - 19 - 6 - 29 - 8c27 - 9 55 - 14 84 - 14c40 0 78 8 112 24c31 14 58 34 81 60c22 24 38 53 50 84c11 30 17 62 17 92v12l - 1 8z " / > <nl> + < glyph glyph - name = " ion - social - twitter " unicode = " & # xf243 ; " horiz - adv - x = " 472 " <nl> + d = " M472 338c - 13 - 20 - 29 - 36 - 48 - 50v - 12c0 - 128 - 98 - 276 - 276 - 276c - 55 0 - 105 16 - 148 44c8 - 1 15 - 2 23 - 2c45 0 87 16 120 42c - 42 1 - 78 29 - 90 67c6 - 1 12 - 2 18 - 2c9 0 18 2 26 4c - 44 9 - 78 48 - 78 95v1c13 - 7 28 - 12 44 - 12c - 26 17 - 43 47 - 43 81c0 18 5 34 13 48 <nl> + c48 - 59 119 - 97 199 - 101c - 2 7 - 2 14 - 2 22c0 54 43 97 97 97c28 0 52 - 12 70 - 31c22 4 43 13 62 24c - 7 - 23 - 23 - 42 - 43 - 54c20 2 39 7 56 15z " / > <nl> + < glyph glyph - name = " ion - social - usd - outline " unicode = " & # xf352 ; " horiz - adv - x = " 320 " <nl> + d = " M125 345c11 2 19 3 19 3v - 131l - 22 6c - 15 5 - 27 11 - 36 19c - 12 10 - 19 25 - 19 43c0 13 4 24 11 33c6 8 13 14 22 19c7 4 17 6 25 8zM128 238v92c - 7 - 2 - 15 - 4 - 21 - 7c - 7 - 4 - 12 - 9 - 17 - 15s - 7 - 14 - 7 - 23c0 - 13 4 - 24 13 - 31c8 - 7 20 - 12 32 - 16zM252 151 <nl> + c10 - 10 15 - 24 15 - 42c0 - 9 - 1 - 18 - 5 - 27s - 11 - 17 - 20 - 24c - 8 - 6 - 18 - 11 - 31 - 15c - 6 - 2 - 11 - 3 - 17 - 4s - 18 - 1 - 18 - 1v145l20 - 5c10 - 3 19 - 6 28 - 9c10 - 4 20 - 10 28 - 18zM247 89c3 7 4 13 4 20c0 14 - 3 24 - 10 31s - 15 11 - 23 14s - 16 5 - 26 8v - 107c6 1 10 2 14 3 <nl> + c11 3 20 8 27 13s11 11 14 18zM315 145c3 - 10 5 - 19 5 - 29c0 - 21 - 5 - 38 - 14 - 53s - 20 - 26 - 35 - 35s - 31 - 17 - 50 - 21c - 10 - 2 - 19 - 3 - 29 - 4v - 35h - 64v35c - 9 1 - 19 4 - 28 6c - 20 5 - 36 12 - 51 23s - 26 24 - 35 41c - 8 16 - 13 34 - 14 55h69c0 - 12 2 - 24 7 - 33c5 - 10 12 - 17 21 - 23 <nl> + s20 - 11 31 - 14v120c - 8 2 - 18 4 - 27 6c - 17 4 - 30 9 - 41 16s - 20 15 - 27 23s - 11 17 - 14 26s - 4 18 - 4 28c0 18 4 34 12 48s19 25 33 34s29 16 46 20c7 2 15 3 22 4v33h64v - 33c9 - 1 16 - 4 24 - 6c18 - 5 34 - 12 48 - 22s25 - 22 33 - 37c7 - 13 11 - 28 12 - 46h - 69c - 3 21 - 12 37 - 26 46 <nl> + c - 7 4 - 13 8 - 22 10v - 106c9 - 2 16 - 4 25 - 6c12 - 3 22 - 6 27 - 7c13 - 4 23 - 9 33 - 15c10 - 7 18 - 14 24 - 22s11 - 17 14 - 27zM293 72c7 12 11 27 11 44c0 8 - 1 16 - 4 24s - 7 15 - 12 22s - 12 13 - 20 19c - 8 5 - 18 10 - 29 13c - 5 1 - 13 3 - 24 6h - 1l - 4 1c - 7 2 - 13 4 - 21 6l - 13 3v137 <nl> + s9 - 1 19 - 4s19 - 6 28 - 12c15 - 9 25 - 24 30 - 43h38c - 2 8 - 4 15 - 8 22c - 7 13 - 16 24 - 28 32c - 12 9 - 27 16 - 43 20c - 8 2 - 16 4 - 23 5l - 13 2v31h - 32v - 31l - 14 - 2c - 7 - 1 - 14 - 2 - 20 - 4c - 15 - 4 - 29 - 10 - 41 - 18s - 21 - 16 - 28 - 28c - 7 - 11 - 10 - 24 - 10 - 40c0 - 8 1 - 15 3 - 23 <nl> + c2 - 7 6 - 14 11 - 21s14 - 13 23 - 19c10 - 6 22 - 10 37 - 14v0v0c4 - 1 8 - 2 11 - 3c5 - 1 11 - 3 16 - 4l12 - 3v - 151s - 8 1 - 20 4s - 26 8 - 36 15c - 11 8 - 20 18 - 26 30c - 4 7 - 6 16 - 8 24h - 36c2 - 11 5 - 23 10 - 32c8 - 14 17 - 26 30 - 35c13 - 10 28 - 16 46 - 21c8 - 2 17 - 4 26 - 5l14 - 2v - 33 <nl> + h32v33l15 1c9 1 17 3 26 5c17 4 32 10 45 18s23 19 31 31z " / > <nl> + < glyph glyph - name = " ion - social - usd " unicode = " & # xf353 ; " horiz - adv - x = " 320 " <nl> + d = " M315 145c3 - 10 5 - 19 5 - 29c0 - 21 - 5 - 38 - 14 - 53s - 20 - 26 - 35 - 35s - 31 - 17 - 50 - 21c - 10 - 2 - 19 - 3 - 29 - 4v - 35h - 64v35c - 9 1 - 19 4 - 28 6c - 20 5 - 36 12 - 51 23s - 26 24 - 35 41c - 8 16 - 13 34 - 14 55h69c0 - 12 2 - 24 7 - 33c5 - 10 12 - 17 21 - 23s20 - 11 31 - 14v120 <nl> + c - 8 2 - 18 4 - 27 6c - 17 4 - 30 9 - 41 16s - 20 15 - 27 23s - 11 17 - 14 26s - 4 18 - 4 28c0 18 4 34 12 48s19 25 33 34s29 16 46 20c7 2 15 3 22 4v33h64v - 33c9 - 1 16 - 4 24 - 6c18 - 5 34 - 12 48 - 22s25 - 22 33 - 37c7 - 13 11 - 28 12 - 46h - 69c - 3 21 - 12 37 - 26 46c - 7 4 - 13 8 - 22 10 <nl> + v - 106c9 - 2 16 - 4 25 - 6c12 - 3 22 - 6 27 - 7c13 - 4 23 - 9 33 - 15c10 - 7 18 - 14 24 - 22s11 - 17 14 - 27zM128 238v92c - 7 - 2 - 15 - 4 - 21 - 7c - 7 - 4 - 12 - 9 - 17 - 15s - 7 - 14 - 7 - 23c0 - 13 4 - 24 13 - 31c8 - 7 20 - 12 32 - 16zM247 89c3 7 4 13 4 20c0 14 - 3 24 - 10 31s - 15 11 - 23 14 <nl> + s - 16 5 - 26 8v - 107c6 1 10 2 14 3c11 3 20 8 27 13s11 11 14 18z " / > <nl> + < glyph glyph - name = " ion - social - vimeo - outline " unicode = " & # xf244 ; " <nl> + d = " M445 334c7 - 33 1 - 66 - 13 - 97s - 31 - 59 - 51 - 87c - 26 - 36 - 52 - 71 - 85 - 101c - 19 - 18 - 41 - 35 - 66 - 44c - 10 - 4 - 19 - 5 - 27 - 5c - 17 0 - 31 9 - 44 27c - 14 19 - 22 40 - 28 63c - 12 45 - 25 90 - 38 134c - 4 12 - 9 22 - 15 33c - 3 5 - 8 10 - 12 14c - 2 2 - 5 3 - 8 3s - 6 - 1 - 9 - 3 <nl> + c - 10 - 6 - 28 - 18 - 28 - 18l - 21 27c26 24 82 71 82 71c11 9 33 25 48 27h8c18 0 32 - 7 42 - 22c11 - 17 15 - 37 18 - 57c7 - 41 12 - 82 24 - 122c3 - 10 7 - 20 12 - 29c4 - 7 9 - 10 14 - 10c4 0 7 2 11 5s7 6 10 10c20 24 37 52 48 81c3 9 3 17 3 27c0 13 - 10 25 - 25 26h - 7 <nl> + c - 11 0 - 20 - 2 - 32 - 7c6 24 24 62 54 84c20 14 45 20 67 20c10 0 20 - 2 27 - 4c23 - 8 36 - 23 41 - 46zM418 244c13 30 17 59 11 87c - 4 19 - 13 28 - 30 34c - 6 2 - 14 3 - 22 3c - 21 0 - 42 - 6 - 57 - 17c - 16 - 12 - 29 - 30 - 38 - 48h6h8c23 - 1 39 - 19 40 - 41c0 - 10 0 - 22 - 4 - 34 <nl> + c - 11 - 29 - 29 - 58 - 51 - 85c - 4 - 4 - 7 - 9 - 12 - 13c - 7 - 6 - 15 - 8 - 22 - 8c - 8 0 - 18 3 - 27 18c - 7 11 - 11 22 - 14 32c - 10 31 - 14 64 - 19 95c - 2 10 - 3 19 - 5 29c - 3 17 - 6 36 - 16 51c - 7 10 - 16 15 - 28 15h - 6c - 8 - 1 - 25 - 11 - 40 - 23c - 2 - 2 - 43 - 37 - 70 - 61l2 - 3c5 4 12 7 16 10 <nl> + c6 3 12 5 18 5c7 0 13 - 3 18 - 7c8 - 7 13 - 12 16 - 18c6 - 11 12 - 24 16 - 37c13 - 44 26 - 88 38 - 133c5 - 19 13 - 41 26 - 59s23 - 20 31 - 20c6 0 13 1 21 4c23 8 43 25 61 41c32 29 57 63 83 99v0c21 28 37 55 50 84z " / > <nl> + < glyph glyph - name = " ion - social - vimeo " unicode = " & # xf245 ; " <nl> + d = " M445 334c7 - 33 1 - 66 - 13 - 97s - 31 - 59 - 51 - 87c - 26 - 36 - 52 - 71 - 85 - 101c - 19 - 18 - 41 - 35 - 66 - 44c - 31 - 11 - 52 - 5 - 71 22c - 14 19 - 22 40 - 28 63c - 12 45 - 25 90 - 38 134c - 4 12 - 9 22 - 15 33c - 3 5 - 8 10 - 12 14c - 5 4 - 11 3 - 17 0c - 10 - 6 - 28 - 18 - 28 - 18l - 21 27 <nl> + c26 24 82 71 82 71c11 9 33 25 48 27c21 3 38 - 4 50 - 22c11 - 17 15 - 37 18 - 57c7 - 41 11 - 82 23 - 122c3 - 10 8 - 20 13 - 29c7 - 11 15 - 13 25 - 5c4 3 7 6 10 10c20 24 37 52 48 81c3 9 3 17 3 27c0 13 - 10 25 - 25 26s - 24 - 1 - 39 - 7c6 24 24 62 54 84c29 21 71 24 94 16 <nl> + s36 - 23 41 - 46z " / > <nl> + < glyph glyph - name = " ion - social - whatsapp - outline " unicode = " & # xf4ef ; " <nl> + d = " M178 294c4 - 11 15 - 39 16 - 42s2 - 6 0 - 10s - 3 - 6 - 6 - 9s - 6 - 7 - 9 - 9c - 3 - 3 - 6 - 6 - 3 - 12s14 - 24 30 - 39c21 - 20 38 - 27 44 - 30s9 - 3 12 1s15 16 19 21s8 5 13 3s31 - 17 37 - 20s10 - 5 11 - 7s0 - 13 - 5 - 26s - 28 - 24 - 38 - 25s - 11 - 8 - 67 16s - 90 84 - 93 88s - 22 31 - 21 58 <nl> + s17 41 22 46s11 7 15 7h10s9 0 13 - 11zM228 384c - 50 0 - 97 - 20 - 133 - 55c - 35 - 35 - 55 - 81 - 55 - 131c0 - 34 9 - 67 27 - 96l8 - 13l - 5 - 14l - 19 - 57l61 19l13 4l12 - 6c28 - 15 59 - 23 91 - 23c50 0 97 19 133 54c35 35 55 82 55 132s - 20 96 - 55 131c - 36 35 - 83 55 - 133 55zM228 416 <nl> + v0c121 0 220 - 97 220 - 218s - 99 - 218 - 220 - 218c - 39 0 - 74 10 - 106 27l - 122 - 39l40 117c - 20 33 - 32 72 - 32 113c0 121 99 218 220 218z " / > <nl> + < glyph glyph - name = " ion - social - whatsapp " unicode = " & # xf4f0 ; " <nl> + d = " M228 416c121 0 220 - 97 220 - 218s - 99 - 218 - 220 - 218c - 39 0 - 74 10 - 106 27l - 122 - 39l40 117c - 20 33 - 32 72 - 32 113c0 121 99 218 220 218zM337 115c5 13 6 24 5 26s - 5 4 - 11 7s - 32 18 - 37 20s - 9 2 - 13 - 3s - 16 - 17 - 19 - 21s - 6 - 4 - 12 - 1s - 23 10 - 44 30 <nl> + c - 16 15 - 27 33 - 30 39s0 9 3 12c3 2 6 6 9 9s4 5 6 9s1 7 0 10s - 12 31 - 16 42s - 10 11 - 13 11h - 10s - 10 - 2 - 15 - 7s - 21 - 19 - 22 - 46s18 - 54 21 - 58s37 - 64 93 - 88s57 - 17 67 - 16s33 12 38 25z " / > <nl> + < glyph glyph - name = " ion - social - windows - outline " unicode = " & # xf246 ; " <nl> + d = " M432 167h - 216v - 149l216 - 32v181zM448 183v0v - 215l - 248 36v179h248zM168 167h - 152v - 120l152 - 22v142zM184 183v0v - 177l - 184 27v150h184zM432 398v0l - 216 - 31v - 152h216v183zM448 416v0v - 217h - 248v182zM168 360v0l - 152 - 22v - 123h152v145zM184 378v0v - 179h - 184v153z " / > <nl> + < glyph glyph - name = " ion - social - windows " unicode = " & # xf247 ; " <nl> + d = " M448 183v0v - 215l - 248 36v179h248zM184 183v0v - 177l - 184 27v150h184zM448 416v0v - 217h - 248v182zM184 378v0v - 179h - 184v153z " / > <nl> + < glyph glyph - name = " ion - social - wordpress - outline " unicode = " & # xf248 ; " horiz - adv - x = " 384 " <nl> + d = " M192 384c106 0 192 - 86 192 - 192c0 - 9 - 1 - 18 - 2 - 26c - 12 - 85 - 79 - 153 - 165 - 164c - 8 - 1 - 17 - 2 - 25 - 2c - 106 0 - 192 86 - 192 192s86 192 192 192zM19 192c0 - 68 40 - 127 98 - 155l - 83 225c - 10 - 21 - 15 - 45 - 15 - 70zM214 21c12 2 24 4 35 8c0 1 - 1 2 - 1 3l - 53 145l - 33 - 96 <nl> + v0l - 19 - 55c15 - 5 32 - 7 49 - 7c8 0 15 1 22 2zM216 273l62 - 186l17 58c9 22 13 41 13 56c0 21 - 7 35 - 14 47c - 9 14 - 17 27 - 17 41c0 16 12 30 29 30h2c - 31 28 - 71 45 - 116 45c - 60 0 - 113 - 30 - 144 - 77c4 0 8 - 1 11 - 1c18 0 46 3 46 3c9 1 10 - 14 1 - 15c0 0 - 10 - 1 - 20 - 1 <nl> + l63 - 187l38 113l - 27 74c - 9 0 - 18 1 - 18 1c - 9 0 - 8 16 1 15c0 0 28 - 3 45 - 3c18 0 46 3 46 3c9 1 11 - 14 2 - 15c0 0 - 10 - 1 - 20 - 1zM279 43c45 26 77 71 84 125c1 8 2 16 2 24c0 30 - 8 58 - 22 83c1 - 6 1 - 12 1 - 18c0 - 18 - 3 - 37 - 13 - 62l - 39 - 113z " / > <nl> + < glyph glyph - name = " ion - social - wordpress " unicode = " & # xf249 ; " horiz - adv - x = " 384 " <nl> + d = " M195 177l53 - 146c0 - 1 6 - 13 9 - 19c - 3 - 1 - 5 - 2 - 8 - 3v0c - 10 - 3 - 21 - 6 - 32 - 7c - 8 - 1 - 17 - 2 - 25 - 2c - 17 0 - 34 2 - 50 6v0c - 2 0 - 3 2 - 5 2l25 73v0zM17 268c6 0 7 - 1 15 - 1l93 - 255c - 3 1 - 5 2 - 8 3c - 63 27 - 109 87 - 116 158c - 1 6 - 1 13 - 1 19c0 25 7 53 17 76zM366 273 <nl> + c11 - 24 18 - 52 18 - 81c0 - 9 - 1 - 18 - 2 - 26c - 9 - 65 - 50 - 120 - 107 - 147c - 2 - 1 - 3 - 1 - 5 - 2l22 65l39 113c10 25 13 45 13 62v19v0c - 1 18 - 10 44 - 36 43h - 2c - 17 0 - 29 - 14 - 29 - 30c0 - 14 8 - 27 17 - 41c7 - 12 14 - 26 14 - 47c0 - 15 - 4 - 34 - 13 - 56l - 17 - 58l - 62 186 <nl> + c10 0 20 1 20 1c9 1 7 16 - 2 15c0 0 - 28 - 3 - 46 - 3c - 17 0 - 45 3 - 45 3c - 9 1 - 10 - 15 - 1 - 15c0 0 9 - 1 18 - 1l27 - 74l - 38 - 113l - 63 187c10 0 20 2 20 2c9 1 8 15 - 1 14c0 0 - 28 - 2 - 46 - 2h - 34c5 9 11 17 17 25c35 44 90 72 150 72c24 0 48 - 5 69 - 13c34 - 13 63 - 36 85 - 65 <nl> + c2 - 2 3 - 5 5 - 7c6 - 8 11 - 17 15 - 26z " / > <nl> + < glyph glyph - name = " ion - social - yahoo - outline " unicode = " & # xf24a ; " horiz - adv - x = " 320 " <nl> + d = " M289 380c11 0 21 1 31 4l - 128 - 213v - 171c - 10 4 - 21 4 - 32 4s - 22 0 - 32 - 4v171l - 128 213c10 - 4 21 - 4 32 - 4s22 0 32 4l96 - 160l96 160c10 - 4 22 - 4 33 - 4zM178 180l111 184h - 1c - 7 0 - 15 0 - 24 2l - 90 - 150l - 14 - 23l - 14 23l - 89 150c - 9 - 2 - 17 - 2 - 25 - 2h - 1l111 - 184l2 - 4 <nl> + v - 5v - 151c6 1 11 0 16 0s11 1 16 0v151v5z " / > <nl> + < glyph glyph - name = " ion - social - yahoo " unicode = " & # xf24b ; " horiz - adv - x = " 320 " <nl> + d = " M289 380c11 0 21 1 31 4l - 128 - 213v - 171c - 10 4 - 21 4 - 32 4s - 22 0 - 32 - 4v171l - 128 213c10 - 4 21 - 4 32 - 4s22 0 32 4l96 - 160l96 160c10 - 4 22 - 4 33 - 4z " / > <nl> + < glyph glyph - name = " ion - social - yen - outline " unicode = " & # xf4f1 ; " horiz - adv - x = " 384 " <nl> + d = " M384 416l - 112 - 208h48v - 48h - 73l - 15 - 31v - 17h88v - 48h - 88v - 96h - 80v96h - 88v48h88v17l - 14 31h - 74v48h48l - 112 208h80l112 - 221l112 221h80zM304 192h - 59l13 24l99 184v0h - 43l - 122 - 240l - 122 240h - 43l99 - 184l13 - 24h - 59v - 16h68l20 - 44v - 36h - 88v - 16h88v - 96h48v96h88v16h - 88v37 <nl> + l21 43h67v16z " / > <nl> + < glyph glyph - name = " ion - social - yen " unicode = " & # xf4f2 ; " horiz - adv - x = " 384 " <nl> + d = " M384 416l - 112 - 208h48v - 48h - 73l - 15 - 31v - 17h88v - 48h - 88v - 96h - 80v96h - 88v48h88v17l - 14 31h - 74v48h48l - 112 208h80l112 - 221l112 221h80z " / > <nl> + < glyph glyph - name = " ion - social - youtube - outline " unicode = " & # xf24c ; " horiz - adv - x = " 512 " <nl> + d = " M265 352v0h - 9h - 9c - 65 0 - 118 - 2 - 168 - 4h - 1h - 1c - 23 0 - 42 - 22 - 42 - 49v - 1v - 1c - 2 - 34 - 3 - 70 - 3 - 105v0v0c0 - 35 1 - 70 3 - 104v - 2v - 1c0 - 14 5 - 26 14 - 36c8 - 9 17 - 13 28 - 13h1h1c52 - 2 108 - 4 166 - 4h11v0v0h11c58 0 113 2 166 4h1h1c11 0 20 4 28 13c9 10 14 22 14 36v1 <nl> + v2c2 34 3 68 3 104v0v0c0 36 - 1 71 - 3 105v1v2c0 27 - 19 49 - 42 49h - 1h - 1c - 49 2 - 103 3 - 168 3zM265 384v0c58 0 115 0 170 - 3c41 0 74 - 36 74 - 81c2 - 36 3 - 72 3 - 108s - 1 - 71 - 3 - 107c0 - 45 - 33 - 81 - 74 - 81c - 55 - 3 - 111 - 4 - 168 - 4h - 11h - 11c - 57 0 - 113 1 - 168 4 <nl> + c - 41 0 - 74 36 - 74 81c - 2 36 - 3 71 - 3 107s2 71 4 107c0 45 32 82 73 82c55 2 112 3 170 3h9h9zM207 94v197l145 - 99z " / > <nl> + < glyph glyph - name = " ion - social - youtube " unicode = " & # xf24d ; " horiz - adv - x = " 512 " <nl> + d = " M509 299c2 - 36 3 - 71 3 - 107s - 1 - 71 - 3 - 107c0 - 45 - 33 - 81 - 74 - 81c - 58 - 3 - 118 - 4 - 179 - 4s - 121 1 - 179 4c - 41 0 - 74 36 - 74 81c - 2 36 - 3 71 - 3 107s2 71 4 107c0 45 32 81 73 81c55 3 112 4 170 4h9h9c58 0 115 - 1 170 - 4c41 0 74 - 36 74 - 81zM207 94l145 98l - 145 99 <nl> + v - 197z " / > <nl> + < glyph glyph - name = " ion - soup - can - outline " unicode = " & # xf4f3 ; " horiz - adv - x = " 320 " <nl> + d = " M160 304c - 88 0 - 160 29 - 160 64s72 64 160 64s160 - 29 160 - 64s - 72 - 64 - 160 - 64zM160 415c - 70 0 - 126 - 19 - 126 - 43s56 - 43 126 - 43s126 19 126 43s - 56 43 - 126 43zM161 288c88 0 158 29 159 64c0 - 5 0 - 33 - 8 - 40v - 240c0 - 35 - 64 - 64 - 152 - 64s - 152 29 - 152 64v240 <nl> + c - 8 6 - 8 40 - 8 40c0 - 35 73 - 64 161 - 64zM280 72v80c - 18 - 10 - 43 - 17 - 72 - 21h - 2c - 6 - 20 - 24 - 35 - 46 - 35s - 40 15 - 46 35h - 2c - 29 4 - 54 11 - 72 21v - 80c1 - 2 9 - 10 30 - 18c24 - 9 55 - 14 90 - 14s67 5 91 14c21 8 29 16 29 18zM280 184v91c - 33 - 12 - 75 - 19 - 119 - 19 <nl> + c - 45 0 - 87 7 - 121 19v - 91c18 - 10 43 - 17 73 - 21h3c7 17 24 29 44 29s37 - 12 44 - 29h3c30 4 55 11 73 21zM178 - 16zM160 - 16h1h - 1v0zM312 32l8 - 16c0 - 7 - 3 - 14 - 8 - 20c - 21 - 26 - 81 - 44 - 152 - 44s - 131 18 - 152 44c - 5 6 - 8 13 - 8 20l8 16v16c0 - 35 63 - 64 152 - 64 <nl> + s152 28 152 64v - 16z " / > <nl> + < glyph glyph - name = " ion - soup - can " unicode = " & # xf4f4 ; " horiz - adv - x = " 320 " <nl> + d = " M0 368c0 43 53 64 160 64s160 - 21 160 - 64s - 53 - 64 - 160 - 64s - 160 21 - 160 64zM160 8c - 44 0 - 80 6 - 109 18s - 43 28 - 43 46v128c0 - 9 4 - 19 13 - 27s21 - 15 37 - 21s33 - 10 54 - 13c1 - 12 7 - 23 16 - 31s20 - 12 32 - 12s23 4 32 12s15 19 16 31c31 4 56 12 75 23s29 24 29 38 <nl> + v - 128c0 - 18 - 14 - 34 - 43 - 46s - 65 - 18 - 109 - 18zM160 288c44 0 82 6 113 18s47 28 47 46v - 8c0 - 5 - 1 - 11 - 2 - 18s - 3 - 11 - 6 - 14v - 96c0 - 14 - 10 - 27 - 29 - 38s - 44 - 19 - 76 - 23c - 2 11 - 8 19 - 17 26s - 19 11 - 30 11s - 21 - 4 - 30 - 11s - 15 - 15 - 17 - 26c - 32 4 - 57 12 - 76 23 <nl> + s - 29 24 - 29 38v96c - 5 5 - 8 18 - 8 40c0 - 18 16 - 34 47 - 46s69 - 18 113 - 18zM312 56v - 24l8 - 16c0 - 7 - 3 - 14 - 8 - 20c - 11 - 13 - 30 - 24 - 58 - 32s - 59 - 12 - 94 - 12s - 66 4 - 94 12s - 47 19 - 58 32c - 5 6 - 8 13 - 8 20l8 16v24c0 - 18 14 - 34 43 - 46s65 - 18 109 - 18s80 6 109 18 <nl> + s43 28 43 46z " / > <nl> + < glyph glyph - name = " ion - speakerphone " unicode = " & # xf2b2 ; " <nl> + d = " M39 266c0 - 37 20 - 69 50 - 86c - 1 0 - 2 1 - 3 1s - 4 1 - 5 1v0c - 35 3 - 62 33 - 69 69c - 6 0 - 12 7 - 12 16c0 8 5 15 11 16c6 42 40 75 81 75h8c - 36 - 15 - 61 - 51 - 61 - 92zM433 357c10 - 25 15 - 56 15 - 88s - 5 - 63 - 15 - 88l - 3 - 9c - 6 - 14 - 15 - 26 - 24 - 34c - 10 - 10 - 22 - 19 - 34 - 20h - 3 <nl> + c - 7 0 - 15 2 - 22 5c - 3 2 - 10 5 - 10 5c - 22 10 - 84 28 - 115 29c - 4 - 8 - 10 - 20 - 12 - 30c - 2 - 9 - 6 - 27 - 7 - 61c - 1 - 32 1 - 59 3 - 82c0 - 2 1 - 5 1 - 7c0 - 6 - 2 - 9 - 9 - 9h - 77c - 6 0 - 9 3 - 9 6v7c2 72 25 140 26 145c2 9 5 17 7 30c2 12 - 27 13 - 40 24c - 29 17 - 47 49 - 47 86 <nl> + c0 41 25 77 59 92h42h19c58 3 114 21 163 50c1 1 3 1 4 2v0c8 4 16 6 24 6c13 0 26 - 6 37 - 16c9 - 9 18 - 21 24 - 35c1 - 3 2 - 5 3 - 8zM410 180c9 22 15 54 15 89s - 6 66 - 15 88c - 8 18 - 19 29 - 30 29s - 21 - 11 - 29 - 29c - 9 - 22 - 15 - 53 - 15 - 88s6 - 67 15 - 89c8 - 19 18 - 33 29 - 33 <nl> + s22 15 30 33z " / > <nl> + < glyph glyph - name = " ion - speedometer " unicode = " & # xf2b3 ; " <nl> + d = " M312 192l8 - 8l - 64 - 84v - 4c0 - 18 - 14 - 32 - 32 - 32s - 32 14 - 32 32s14 32 32 32h4zM224 352c124 0 224 - 100 224 - 224c0 - 34 - 8 - 67 - 22 - 96h - 36c15 27 25 57 26 88h - 32v16h32c - 1 29 - 9 56 - 22 81l - 27 - 15l - 8 13l27 16c - 8 12 - 16 23 - 26 33s - 21 18 - 33 26l - 16 - 27l - 14 8 <nl> + l16 27c - 25 13 - 52 21 - 81 22v - 32h - 16v32c - 29 - 1 - 56 - 9 - 81 - 22l16 - 27l - 14 - 8l - 16 27c - 12 - 8 - 23 - 16 - 33 - 26s - 19 - 21 - 26 - 33l28 - 16l - 8 - 13l - 28 15c - 13 - 25 - 21 - 52 - 22 - 81h32v - 16h - 32c1 - 31 11 - 61 26 - 88h - 36c - 14 29 - 22 62 - 22 96c0 124 100 224 224 224z " / > <nl> + < glyph glyph - name = " ion - spoon " unicode = " & # xf2b4 ; " horiz - adv - x = " 128 " <nl> + d = " M128 288c0 64 - 26 128 - 64 128s - 64 - 64 - 64 - 128v0c1 - 25 16 - 54 37 - 64l1 - 1v0c3 - 2 10 - 6 10 - 10c0 0 - 16 - 199 - 16 - 210s4 - 20 10 - 26s14 - 9 22 - 9v0v0c8 0 16 3 22 9s10 13 10 26s - 16 210 - 16 210c0 4 7 8 10 10l1 1c22 10 37 38 37 64z " / > <nl> + < glyph glyph - name = " ion - star " unicode = " & # xf24e ; " <nl> + d = " M448 248l - 139 - 104l55 - 176l - 140 112l - 140 - 112l55 176l - 139 104h172l52 168l53 - 168h171z " / > <nl> + < glyph glyph - name = " ion - stats - bars " unicode = " & # xf2b5 ; " horiz - adv - x = " 352 " <nl> + d = " M96 32v320h64v - 320h - 64zM0 32v96h64v - 96h - 64zM192 32v160h64v - 160h - 64zM288 32v224h64v - 224h - 64z " / > <nl> + < glyph glyph - name = " ion - steam " unicode = " & # xf30b ; " horiz - adv - x = " 512 " <nl> + d = " M480 240c0 - 20 - 16 - 37 - 37 - 37c - 20 0 - 37 16 - 37 37c0 20 16 37 37 37c20 0 37 - 17 37 - 37zM443 309c38 0 69 - 31 69 - 69s - 31 - 70 - 69 - 70l - 67 - 48c - 2 - 26 - 24 - 47 - 51 - 47c - 25 0 - 46 18 - 51 41l - 196 78c - 8 - 5 - 16 - 7 - 26 - 7c - 28 0 - 52 24 - 52 52s24 52 52 52 <nl> + c25 0 45 - 18 50 - 41l196 - 79c8 5 17 8 27 8c2 0 3 - 1 5 - 1l43 62c0 38 32 69 70 69zM443 286c - 26 0 - 47 - 20 - 47 - 46s21 - 47 47 - 47s46 21 46 47s - 20 46 - 46 46zM52 277c - 21 0 - 38 - 17 - 38 - 38s17 - 38 38 - 38c3 0 5 0 8 1l - 16 6v0c - 15 7 - 22 24 - 16 39s24 23 39 17v0l19 - 7 <nl> + c - 6 12 - 19 20 - 34 20zM325 165c - 3 0 - 6 - 1 - 9 - 1l16 - 6c16 - 6 23 - 24 17 - 40s - 23 - 23 - 39 - 17c - 6 3 - 13 6 - 19 8c6 - 12 19 - 20 34 - 20c21 0 38 17 38 38s - 17 38 - 38 38z " / > <nl> + < glyph glyph - name = " ion - stop " unicode = " & # xf24f ; " horiz - adv - x = " 384 " <nl> + d = " M373 384c6 0 11 - 5 11 - 11v - 362c0 - 6 - 5 - 11 - 11 - 11h - 362c - 6 0 - 11 5 - 11 11v362c0 6 5 11 11 11h362z " / > <nl> + < glyph glyph - name = " ion - thermometer " unicode = " & # xf2b6 ; " horiz - adv - x = " 160 " <nl> + d = " M127 112c20 - 14 33 - 38 33 - 64c0 - 44 - 36 - 80 - 80 - 80s - 80 36 - 80 80c0 27 13 51 33 65v257c0 26 21 46 47 46s47 - 20 47 - 46v - 258zM65 370v - 50h30v50c0 8 - 7 14 - 15 14s - 15 - 6 - 15 - 14zM96 160v16h - 16v - 16h16zM96 192v64h - 16v - 64h16z " / > <nl> + < glyph glyph - name = " ion - thumbsdown " unicode = " & # xf250 ; " horiz - adv - x = " 384 " <nl> + d = " M24 195c - 10 5 - 18 17 - 18 29c0 14 8 25 20 30c - 4 5 - 6 12 - 6 19c0 14 8 25 20 30c - 3 5 - 5 11 - 5 17c0 18 11 24 35 30s74 12 126 9c23 - 1 55 - 7 76 - 7v32h112v - 240h - 112v16c - 15 - 1 - 31 - 4 - 40 - 14c - 22 - 23 - 40 - 65 - 40 - 108c0 - 19 1 - 29 - 4 - 34c - 13 - 13 - 44 9 - 52 37 <nl> + c - 9 34 - 1 62 1 87h - 103c - 19 0 - 34 15 - 34 34c0 15 10 29 24 33zM336 352c - 9 0 - 16 - 7 - 16 - 16s7 - 16 16 - 16s16 7 16 16s - 7 16 - 16 16z " / > <nl> + < glyph glyph - name = " ion - thumbsup " unicode = " & # xf251 ; " horiz - adv - x = " 384 " <nl> + d = " M360 189c10 - 5 18 - 17 18 - 29c0 - 14 - 8 - 25 - 20 - 30c4 - 5 6 - 12 6 - 19c0 - 14 - 8 - 25 - 20 - 30c3 - 5 5 - 11 5 - 17c0 - 18 - 11 - 24 - 35 - 30s - 74 - 12 - 126 - 9c - 23 1 - 55 7 - 76 7v - 32h - 112v240h112v - 16c15 1 31 4 40 14c22 23 40 65 40 108c0 19 - 1 29 4 34c13 13 44 - 9 52 - 37 <nl> + c9 - 34 1 - 62 - 1 - 87h103c19 0 34 - 15 34 - 34c0 - 15 - 10 - 29 - 24 - 33zM48 32c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16z " / > <nl> + < glyph glyph - name = " ion - toggle - filled " unicode = " & # xf354 ; " <nl> + d = " M320 240c26 0 48 - 22 48 - 48s - 22 - 48 - 48 - 48s - 48 22 - 48 48s22 48 48 48zM320 320c71 0 128 - 57 128 - 128s - 57 - 128 - 128 - 128h - 192c - 71 0 - 128 57 - 128 128s57 128 128 128h192zM320 112c44 0 80 36 80 80s - 36 80 - 80 80s - 80 - 36 - 80 - 80s36 - 80 80 - 80z " / > <nl> + < glyph glyph - name = " ion - toggle " unicode = " & # xf355 ; " <nl> + d = " M320 288h - 192c - 53 0 - 96 - 43 - 96 - 96s43 - 96 96 - 96h192c53 0 96 43 96 96s - 43 96 - 96 96zM320 320v0c71 0 128 - 57 128 - 128s - 57 - 128 - 128 - 128h - 192c - 71 0 - 128 57 - 128 128s57 128 128 128h192zM128 240c - 26 0 - 48 - 22 - 48 - 48s22 - 48 48 - 48s48 22 48 48 <nl> + s - 22 48 - 48 48zM128 272v0c44 0 80 - 36 80 - 80s - 36 - 80 - 80 - 80s - 80 36 - 80 80s36 80 80 80z " / > <nl> + < glyph glyph - name = " ion - transgender " unicode = " & # xf4f5 ; " horiz - adv - x = " 512 " <nl> + d = " M368 448h144v - 144h - 40v76l - 101 - 100c8 - 17 13 - 36 13 - 56c0 - 63 - 46 - 115 - 104 - 126v - 52h72v - 46h - 72v - 64h - 48v64h - 72v46h72v52c - 59 11 - 104 63 - 104 126c0 20 5 39 13 56l - 22 22l - 36 - 36l - 33 33l36 36l - 46 45v - 76h - 40v144h144v - 40h - 70l43 - 42l36 36l33 - 33l - 36 - 36 <nl> + l17 - 17c23 22 54 36 89 36c27 0 53 - 8 74 - 23c0 0 6 - 5 15 - 13l93 92h - 70v40zM256 144c44 0 80 36 80 80s - 36 80 - 80 80s - 80 - 36 - 80 - 80s36 - 80 80 - 80z " / > <nl> + < glyph glyph - name = " ion - trash - a " unicode = " & # xf252 ; " horiz - adv - x = " 352 " <nl> + d = " M261 320v0h91v - 32h - 9s - 5 - 1 - 8 - 4s - 4 - 9 - 4 - 9l - 19 - 241c - 2 - 29 - 2 - 34 - 36 - 34h - 200c - 34 0 - 34 5 - 36 34l - 19 242s - 1 6 - 4 9s - 8 3 - 8 3h - 9v32h91v29c0 19 14 35 34 35h101c20 0 35 - 16 35 - 35v - 29zM112 349v - 29h128v29c0 10 - 9 15 - 19 15h - 91c - 10 0 - 18 - 5 - 18 - 15z <nl> + M104 64h20l - 10 192h - 21zM187 64v192h - 22v - 192h22zM249 64l10 192h - 20l - 11 - 192h21z " / > <nl> + < glyph glyph - name = " ion - trash - b " unicode = " & # xf253 ; " horiz - adv - x = " 320 " <nl> + d = " M318 315c3 - 12 4 - 11 - 7 - 11h - 302c - 11 0 - 10 - 1 - 7 11c2 9 4 13 4 13c3 9 9 9 19 11l53 7c7 1 7 1 10 7c9 20 10 31 20 31h103c10 0 12 - 11 21 - 31c3 - 6 3 - 6 10 - 7l53 - 6c10 - 2 16 - 2 19 - 11c0 0 2 - 5 4 - 14zM283 272c17 0 18 - 2 17 - 15l - 19 - 242c - 2 - 12 - 2 - 15 - 17 - 15 <nl> + h - 208c - 15 0 - 15 3 - 17 15l - 19 242c - 1 12 0 15 17 15h246z " / > <nl> + < glyph glyph - name = " ion - trophy " unicode = " & # xf356 ; " <nl> + d = " M448 345c0 - 25 2 - 73 - 22 - 122c - 15 - 30 - 36 - 55 - 63 - 75c - 23 - 16 - 49 - 28 - 77 - 35c - 16 - 17 - 32 - 27 - 46 - 31v - 33s0 - 49 99 - 49h13v - 32h - 256v32h13c85 0 97 35 99 46v36c - 14 4 - 30 14 - 46 31c - 28 7 - 55 19 - 77 35c - 27 20 - 48 45 - 63 75c - 17 36 - 21 71 - 22 97v0v11v0v21v0 <nl> + h80c - 2 35 0 64 0 64h143h1h1h142s2 - 29 0 - 64h81v - 7zM51 237c17 - 34 43 - 61 77 - 78c - 22 40 - 33 84 - 42 135c - 1 8 - 2 17 - 3 26h - 51c1 - 23 5 - 53 19 - 83zM397 237c14 30 18 60 19 83h - 51c - 1 - 9 - 3 - 18 - 4 - 26c - 9 - 51 - 20 - 95 - 42 - 135c34 17 61 43 78 78z " / > <nl> + < glyph glyph - name = " ion - tshirt - outline " unicode = " & # xf4f6 ; " <nl> + d = " M146 362l - 104 - 31l11 - 32l39 4l38 5l - 2 - 38l - 14 - 255h220l - 14 255l - 2 38l38 - 5l39 - 4l11 32l - 104 31c - 6 - 8 - 13 - 14 - 21 - 19c - 15 - 10 - 34 - 15 - 57 - 15v0v0c - 34 1 - 59 11 - 78 34zM288 400v0l160 - 48l - 32 - 88l - 64 8l16 - 289h - 288l16 289l - 64 - 8l - 32 88l160 48 <nl> + c14 - 27 31 - 39 64 - 40c33 0 50 13 64 40z " / > <nl> + < glyph glyph - name = " ion - tshirt " unicode = " & # xf4f7 ; " <nl> + d = " M448 352l - 32 - 88l - 64 8l16 - 288h - 288l16 288l - 64 - 8l - 32 88l160 48c14 - 27 31 - 39 64 - 40c33 0 50 13 64 40z " / > <nl> + < glyph glyph - name = " ion - umbrella " unicode = " & # xf2b7 ; " <nl> + d = " M344 160v0v0v0zM104 160v0v0v0zM240 399c116 - 8 208 - 109 208 - 227v - 12c - 4 25 - 26 52 - 52 52c - 29 0 - 52 - 23 - 52 - 52v0c0 29 - 23 52 - 52 52s - 49 - 12 - 52 - 45v - 135c0 - 17 - 6 - 33 - 18 - 45s - 29 - 19 - 46 - 19c - 35 0 - 63 29 - 63 64c0 9 7 16 16 16s16 - 7 16 - 16 <nl> + c0 - 18 14 - 32 31 - 32c18 0 32 14 32 32v134c - 1 24 - 26 46 - 52 46c - 29 0 - 52 - 23 - 52 - 52v0c0 29 - 23 52 - 52 52c - 27 0 - 49 - 26 - 52 - 52v18c0 118 92 213 208 221v1c0 9 7 16 16 16s16 - 7 16 - 16v - 1z " / > <nl> + < glyph glyph - name = " ion - university " unicode = " & # xf357 ; " <nl> + d = " M224 384l224 - 111l - 92 - 60l - 132 - 85l - 160 102v - 198l - 32 16v203l - 32 21zM358 192l10 - 82c - 16 - 12 - 112 - 78 - 144 - 110c - 32 32 - 128 98 - 144 110l9 82l135 - 88z " / > <nl> + < glyph glyph - name = " ion - unlocked " unicode = " & # xf254 ; " horiz - adv - x = " 384 " <nl> + d = " M22 - 32c - 12 0 - 22 10 - 22 22v212c0 12 10 22 22 22h3h19v31c0 42 17 87 43 115s64 46 105 46v0v0c41 0 79 - 18 105 - 46c20 - 21 33 - 51 39 - 82h - 53c - 5 18 - 13 35 - 24 47v0v1c - 18 19 - 42 29 - 67 29v0v0c - 25 0 - 49 - 10 - 67 - 29v - 1v0c - 18 - 19 - 28 - 53 - 28 - 80v - 31h265 <nl> + c12 0 22 - 10 22 - 22v - 212c0 - 12 - 10 - 22 - 22 - 22h - 340z " / > <nl> + < glyph glyph - name = " ion - upload " unicode = " & # xf255 ; " <nl> + d = " M366 215c45 0 82 - 37 82 - 83s - 37 - 84 - 82 - 84h - 110v80h48l - 80 84l - 80 - 84h48v - 80h - 102c - 49 0 - 90 41 - 90 91c0 40 26 74 61 86c5 29 29 51 59 51c10 0 18 - 3 26 - 7c19 40 59 67 105 67c64 0 115 - 53 115 - 118v - 3z " / > <nl> + < glyph glyph - name = " ion - usb " unicode = " & # xf2b8 ; " horiz - adv - x = " 256 " <nl> + d = " M16 228v0v0zM256 320c0 - 11 - 6 - 21 - 14 - 27v0c - 2 - 1 - 3 - 5 - 3 - 7c - 1 - 20 - 3 - 36 - 9 - 50c - 7 - 19 - 20 - 33 - 39 - 46c - 17 - 12 - 29 - 21 - 36 - 34c - 7 - 12 - 11 - 28 - 11 - 53v - 24c0 - 7 2 - 13 10 - 18c4 - 2 7 - 6 10 - 9c8 - 9 14 - 21 14 - 34c0 - 28 - 22 - 50 - 50 - 50s - 50 22 - 50 50v1v0 <nl> + c0 18 10 33 24 42c5 4 9 5 9 18v0c0 14 - 3 17 - 10 27s - 18 17 - 32 26c - 19 13 - 33 27 - 40 46c - 6 15 - 8 31 - 9 39s - 2 9 - 4 11c - 10 6 - 16 16 - 16 28c0 18 14 32 32 32s32 - 14 32 - 32c0 - 10 - 4 - 20 - 12 - 26c - 3 - 2 - 4 - 11 - 4 - 14v0v0c0 - 9 3 - 18 7 - 28c10 - 21 45 - 44 52 - 44 <nl> + s8 5 8 12v196s - 1 2 - 3 4h - 1v1v0c - 9 6 - 15 16 - 15 27c0 18 14 32 32 32s32 - 14 32 - 32c0 - 11 - 5 - 21 - 14 - 27v0c - 2 - 2 - 2 - 3 - 2 - 5v - 140c0 - 10 2 - 12 8 - 11c13 3 48 30 52 43c3 10 6 23 7 41v1c0 2 - 2 4 - 3 6c - 10 6 - 16 16 - 16 28c0 18 14 32 32 32s32 - 14 32 - 32zM32 240 <nl> + c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16zM128 368c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16zM224 304c9 0 16 7 16 16s - 7 16 - 16 16s - 16 - 7 - 16 - 16s7 - 16 16 - 16z " / > <nl> + < glyph glyph - name = " ion - videocamera " unicode = " & # xf256 ; " <nl> + d = " M335 263v - 66l113 35v - 89v - 88l - 113 35v - 65c0 - 5 - 4 - 9 - 9 - 9h - 317c - 5 0 - 9 4 - 9 9v12v55v171c0 5 4 9 9 9h208v38c0 4 - 6 10 - 10 10h - 176v48h178c36 0 65 - 29 65 - 64v - 32h52c5 0 9 - 4 9 - 9zM226 107c20 0 36 16 36 36s - 16 35 - 36 35s - 36 - 15 - 36 - 35c0 - 10 4 - 19 11 - 26 <nl> + h - 68c7 7 11 16 11 26c0 20 - 16 36 - 36 36s - 36 - 16 - 36 - 36s16 - 36 36 - 36h12h95h11z " / > <nl> + < glyph glyph - name = " ion - volume - high " unicode = " & # xf257 ; " <nl> + d = " M199 40l - 95 88h - 104v128h104l95 88v - 304zM255 92l - 20 16c17 24 27 52 27 84s - 10 60 - 27 84l20 16c20 - 28 33 - 63 33 - 100s - 13 - 72 - 33 - 100zM322 46l - 21 16c27 36 43 81 43 130s - 16 94 - 43 130l21 16c30 - 41 48 - 91 48 - 146s - 18 - 105 - 48 - 146zM365 369l20 15 <nl> + c39 - 54 63 - 120 63 - 192s - 24 - 138 - 63 - 192l - 20 15c36 49 58 111 58 177s - 22 128 - 58 177z " / > <nl> + < glyph glyph - name = " ion - volume - low " unicode = " & # xf258 ; " horiz - adv - x = " 288 " <nl> + d = " M199 40l - 95 88h - 104v128h104l95 88v - 304zM255 92l - 20 16c17 24 28 52 28 84s - 11 60 - 28 84l20 16c20 - 28 33 - 63 33 - 100s - 13 - 72 - 33 - 100z " / > <nl> + < glyph glyph - name = " ion - volume - medium " unicode = " & # xf259 ; " horiz - adv - x = " 370 " <nl> + d = " M199 40l - 95 88h - 104v128h104l95 88v - 304zM255 92l - 20 16c17 24 28 52 28 84s - 11 60 - 28 84l20 16c20 - 28 33 - 63 33 - 100s - 13 - 72 - 33 - 100zM322 46l - 21 16c27 36 43 81 43 130s - 16 94 - 43 130l21 16c30 - 41 48 - 91 48 - 146s - 18 - 105 - 48 - 146z " / > <nl> + < glyph glyph - name = " ion - volume - mute " unicode = " & # xf25a ; " <nl> + d = " M224 231l47 51v - 180l - 47 51h - 65v78h65zM332 388c69 - 38 116 - 112 116 - 196c0 - 124 - 100 - 224 - 224 - 224c - 39 0 - 76 10 - 108 27l - 1 1c - 69 38 - 115 112 - 115 196c0 124 100 224 224 224c39 0 75 - 10 107 - 28h1zM362 93c20 28 33 62 33 99c0 66 - 38 123 - 92 151 <nl> + c - 6 3 - 11 6 - 17 8c - 19 7 - 40 11 - 62 11c - 37 0 - 71 - 12 - 99 - 32l73 - 74h - 76l - 36 35c - 20 - 28 - 32 - 62 - 32 - 99c0 - 65 36 - 121 90 - 150c6 - 3 13 - 7 19 - 9c19 - 7 39 - 11 61 - 11c37 0 72 12 100 32l - 20 20v77z " / > <nl> + < glyph glyph - name = " ion - wand " unicode = " & # xf358 ; " <nl> + d = " M192 208l48 48l48 - 48l - 48 - 48zM0 16l176 176l48 - 48l - 176 - 176zM224 352v64h32v - 64h - 32zM398 344l - 45 - 45l - 23 22l46 45zM127 299l - 45 45l22 22l45 - 45zM376 50l - 46 45l23 23l45 - 46zM384 192v32h64v - 32h - 64z " / > <nl> + < glyph glyph - name = " ion - waterdrop " unicode = " & # xf25b ; " horiz - adv - x = " 320 " <nl> + d = " M175 409c40 - 41 145 - 160 145 - 288c0 - 85 - 72 - 153 - 160 - 153c - 56 0 - 106 27 - 134 69c - 6 9 - 11 19 - 15 29c - 7 17 - 11 35 - 11 55v4c1 67 31 131 64 183c20 31 42 57 59 77c9 10 16 18 22 24l1 1v0c4 3 8 6 14 6c5 0 10 - 3 14 - 6v0zM160 24c55 0 100 45 100 100 <nl> + c0 14 - 3 28 - 8 40c - 17 - 65 - 70 - 116 - 136 - 130c13 - 6 28 - 10 44 - 10z " / > <nl> + < glyph glyph - name = " ion - wifi " unicode = " & # xf25c ; " <nl> + d = " M224 352c80 0 156 - 30 214 - 84l10 - 10l - 10 - 9l - 32 - 32l - 10 - 10l - 9 9c - 44 41 - 103 64 - 163 64s - 119 - 23 - 163 - 64l - 9 - 9l - 10 10l - 32 32l - 10 9l10 10c58 54 134 84 214 84v0zM365 192l11 - 10l - 10 - 10l - 33 - 32l - 9 - 9l - 10 8c - 25 22 - 57 35 - 90 35s - 65 - 13 - 90 - 35l - 10 - 8 <nl> + l - 9 9l - 33 32l - 10 10l11 10c37 33 83 52 132 54v0h9v0v0c52 0 102 - 19 141 - 54zM224 32l - 10 10l - 52 52l - 11 10l12 10c17 11 32 20 61 20s47 - 9 62 - 20l11 - 10l - 10 - 10l - 53 - 52z " / > <nl> + < glyph glyph - name = " ion - wineglass " unicode = " & # xf2b9 ; " horiz - adv - x = " 256 " <nl> + d = " M167 153c - 11 - 4 - 24 - 8 - 24 - 32v - 94c0 - 11 4 - 19 12 - 25c3 - 2 7 - 4 15 - 6c32 - 9 48 - 16 50 - 18c2 - 1 4 - 3 4 - 7c0 0 - 14 - 3 - 96 - 3s - 96 3 - 96 3c0 4 2 6 4 7c2 2 18 9 50 18c8 2 11 4 14 6c8 6 11 14 11 25v94c0 24 - 11 28 - 22 32s - 18 6 - 26 11c - 12 7 - 23 16 - 32 26 <nl> + c - 20 23 - 31 52 - 31 87c0 50 4 100 8 114s14 25 31 25h178c17 0 27 - 11 31 - 25s8 - 65 8 - 115c0 - 35 - 11 - 63 - 31 - 86c - 9 - 10 - 20 - 19 - 32 - 26c - 8 - 5 - 15 - 7 - 26 - 11zM128 178c26 0 50 11 67 28l6 6c16 18 22 35 23 65s - 2 83 - 8 107h - 177c - 7 - 35 - 8 - 80 - 7 - 108s7 - 46 23 - 64 <nl> + c2 - 3 4 - 6 7 - 8c17 - 16 41 - 26 66 - 26zM208 277c0 - 10 - 1 - 20 - 4 - 29s - 8 - 18 - 15 - 25l - 5 - 5c - 14 - 14 - 34 - 23 - 56 - 23c - 21 0 - 41 8 - 55 22l - 6 6c - 7 7 - 12 16 - 15 25s - 3 15 - 4 29c - 1 9 0 34 1 53c1 10 2 19 3 22h153c1 - 6 2 - 14 2 - 22c1 - 21 1 - 45 1 - 53zM192 269v0v26 <nl> + c0 4 - 4 8 - 8 8s - 8 - 4 - 8 - 8v - 26c0 - 3 1 - 6 3 - 7c1 - 1 3 - 1 5 - 1c4 0 8 3 8 8zM191 316c1 2 1 4 1 6s - 2 4 - 4 5s - 4 1 - 6 1s - 4 - 1 - 5 - 3s - 1 - 4 - 1 - 6s2 - 4 4 - 5s4 - 1 6 - 1s4 1 5 3z " / > <nl> + < glyph glyph - name = " ion - woman " unicode = " & # xf25d ; " horiz - adv - x = " 192 " <nl> + d = " M30 299c3 12 17 33 42 34h48c24 - 1 38 - 22 42 - 34l29 - 104c6 - 23 - 21 - 32 - 27 - 10l - 26 96h - 9l46 - 169h - 43v - 127c0 - 23 - 31 - 23 - 31 0v127h - 10v - 127c0 - 23 - 32 - 23 - 32 0v127h - 42l45 169h - 7l - 27 - 96c - 7 - 21 - 33 - 13 - 27 10zM133 379c0 - 21 - 17 - 37 - 37 - 37s - 37 16 - 37 37 <nl> + s17 37 37 37s37 - 16 37 - 37z " / > <nl> + < glyph glyph - name = " ion - wrench " unicode = " & # xf2ba ; " <nl> + d = " M430 333c14 - 14 19 - 31 18 - 44s - 6 - 39 - 32 - 65s - 77 - 42 - 113 - 24c - 5 3 - 13 5 - 21 - 3c - 10 - 9 - 202 - 215 - 202 - 215c - 17 - 19 - 48 - 18 - 66 0s - 19 49 0 66c0 0 207 194 215 202s5 16 3 22c - 20 47 2 89 24 112c22 24 51 31 65 32c13 1 31 - 5 44 - 18l - 57 - 56l10 - 56l55 - 10z <nl> + M59 5c6 6 6 17 0 23s - 16 6 - 22 0s - 6 - 17 0 - 23s16 - 6 22 0z " / > <nl> + < glyph glyph - name = " ion - xbox " unicode = " & # xf30c ; " <nl> + d = " M95 200c - 49 - 72 - 50 - 139 - 50 - 143c - 28 38 - 45 84 - 45 135c0 67 30 128 77 169l3 - 1c51 - 18 93 - 68 93 - 68s - 38 - 33 - 78 - 92zM448 192c0 - 51 - 17 - 97 - 45 - 135c0 4 - 1 71 - 50 143c - 40 59 - 78 92 - 78 92s42 50 93 68l3 1c47 - 41 77 - 102 77 - 169zM169 367 <nl> + c - 37 17 - 65 12 - 72 10c36 25 80 39 127 39s91 - 14 127 - 39c - 7 2 - 35 6 - 72 - 10c - 29 - 13 - 55 - 35 - 55 - 35s - 26 22 - 55 35zM327 155c40 - 49 54 - 85 62 - 108l2 - 5c - 41 - 46 - 101 - 74 - 167 - 74s - 126 28 - 167 74l1 5c8 23 23 59 63 108c46 57 103 94 103 94s57 - 37 103 - 94z " / > <nl> + < / font > <nl> + < / defs > < / svg > <nl> new file mode 100644 <nl> index 00000000000 . . 95310663c5e <nl> Binary files / dev / null and b / admin / static / fonts / ionicons . ttf differ <nl> new file mode 100644 <nl> index 00000000000 . . c5ccb2a1025 <nl> Binary files / dev / null and b / admin / static / fonts / ionicons . woff differ <nl> mmm a / admin / static / fonts / stylesheet . css <nl> ppp b / admin / static / fonts / stylesheet . css <nl> <nl> font - weight : 400 ; <nl> font - style : normal ; <nl> } <nl> + <nl> + / * Ionicons * / <nl> + <nl> + @ font - face { <nl> + font - family : " Ionicons " ; <nl> + src : url ( " ionicons . eot ? v = 2 . 0 . 0 " ) ; <nl> + src : url ( " ionicons . eot ? v = 2 . 0 . 0 # iefix " ) format ( " embedded - opentype " ) , <nl> + url ( " ionicons . ttf ? v = 2 . 0 . 0 " ) format ( " truetype " ) , <nl> + url ( " ionicons . woff ? v = 2 . 0 . 0 " ) format ( " woff " ) , <nl> + url ( " ionicons . svg ? v = 2 . 0 . 0 # Ionicons " ) format ( " svg " ) ; <nl> + font - weight : normal ; <nl> + font - style : normal ; <nl> + } <nl> + <nl> + . ion { <nl> + display : inline - block ; <nl> + font - family : " Ionicons " ; <nl> + speak : none ; <nl> + font - style : normal ; <nl> + font - weight : normal ; <nl> + font - variant : normal ; <nl> + text - transform : none ; <nl> + text - rendering : auto ; <nl> + line - height : 1 ; <nl> + - webkit - font - smoothing : antialiased ; <nl> + - moz - osx - font - smoothing : grayscale ; <nl> + } <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 00000000000 . . 70c83e15422 <nl> mmm / dev / null <nl> ppp b / admin / static / handlebars / tables / reconfigure - diff . handlebars <nl> <nl> + < ul class = " assignments_list " > <nl> + { { # if errors } } <nl> + < li class = " invalid " > <nl> + Server changes not shown : Invalid configuration . <nl> + < / li > <nl> + { { else } } <nl> + < li class = " tree - line " > < / li > <nl> + { { # each shards } } <nl> + < li class = " datacenter parent { { change } } " > <nl> + < div class = " datacenter - info parent - info " > <nl> + < p class = " name " > <nl> + < span > Shard { { inc @ index } } < / span > <nl> + < / p > <nl> + < / div > <nl> + < / li > <nl> + { { # each replicas } } <nl> + { { # unless role_change } } <nl> + < li class = " server child { { change } } " > <nl> + { { else } } <nl> + < li class = " server child role - change " > <nl> + { { / unless } } <nl> + < div class = " tree - node " > < / div > <nl> + < div class = " server - info child - info { { change } } " > <nl> + < p class = " name " > < a href = " # / servers / { { id } } " > { { name } } < / a > < / p > <nl> + { { # unless role_change } } <nl> + { { # if role } } <nl> + < p class = " role role - { { role } } " > { { capitalize role } } replica < / p > <nl> + { { else } } <nl> + < p class = " role role - { { old_role } } " > { { capitalize old_role } } replica < / p > <nl> + { { / if } } <nl> + { { else } } <nl> + < p class = " role role - { { role } } " > <nl> + < span class = " change " > <nl> + < span class = " deleted " > <nl> + { { capitalize old_role } } < / span > <nl> + < b > & rarr ; < / b > <nl> + < span class = " added " > { { capitalize role } } replica < / span > <nl> + < / span > <nl> + < / p > <nl> + { { / unless } } <nl> + < / div > <nl> + < / li > <nl> + { { / each } } <nl> + { { / each } } <nl> + { { / if } } <nl> + < / ul > <nl> new file mode 100644 <nl> index 00000000000 . . 2e089a0dd9e <nl> mmm / dev / null <nl> ppp b / admin / static / handlebars / tables / reconfigure - modal . handlebars <nl> <nl> + < div class = " intro " > <nl> + < div class = " infobox " > <nl> + < p > <nl> + Applying changes may cause the table to become temporarily unavailable . <nl> + < / p > <nl> + < / div > <nl> + < form class = " reconfigure - form " > <nl> + < div > <nl> + < input class = " shards inline - edit " <nl> + value = " { { num_shards } } " > < / input > <nl> + < span class = " caption " > shards < / span > <nl> + < div class = " max caption " > <nl> + max : { { num_default_servers } } <nl> + < / div > <nl> + < / div > <nl> + < div > <nl> + < input class = " replicas inline - edit " <nl> + value = " { { num_replicas_per_shard } } " > < / input > <nl> + < span class = " caption " > replicas per shard < / span > <nl> + < div class = " max caption " > <nl> + max : { { num_default_servers } } <nl> + < / div > <nl> + < / div > <nl> + < / form > <nl> + < / div > <nl> + < div class = " expandbox " > <nl> + < div class = " alert error alert - error " > <nl> + < p class = " error zero - shards " > <nl> + Each table must have at least one shard . <nl> + < / p > <nl> + < p class = " error no - shards " > <nl> + The number of shards is not set . <nl> + < / p > <nl> + < p class = " error zero - replicas " > <nl> + Each table must have at least one replica per shard . <nl> + < / p > <nl> + < p class = " error no - replicas " > <nl> + The number of replicas per shard is not set . <nl> + < / p > <nl> + < p class = " error too - many - shards " > <nl> + A table may not have more shards than there are servers . Currently <nl> + you have { { num_default_servers } } servers available for this table . <nl> + < / p > <nl> + < p class = " error not - enough - defaults - shard " > <nl> + While you have enough servers for this many shards , not enough of <nl> + them have the " default " tag . You can manage server tags through <nl> + the table " rethinkdb . server_config " . <nl> + < / p > <nl> + < p class = " error not - enough - defaults - replica " > <nl> + While you have enough servers for this many replicas , not enough <nl> + of them have the " default " tag . You can manage server tags through <nl> + the table " rethinkdb . server_config " . <nl> + < / p > <nl> + < p class = " error too - many - replicas " > <nl> + A table may not have more replicas per shard than there are <nl> + servers . Currently you have { { num_default_servers } } servers <nl> + available for this table . <nl> + < / p > <nl> + < p class = " error server - error " > <nl> + The server returned the following error : <nl> + < div class = " server - msg " > <nl> + { { server_error } } <nl> + < / div > <nl> + < / p > <nl> + < / div > <nl> + < a href = " # " class = " expand - tree " > Where ' s my data going ? < / a > <nl> + < div class = ' reconfigure - diff tree - view ' > < / div > <nl> + < / div > <nl> new file mode 100644 <nl> index 00000000000 . . 41a3f1c1323 <nl> mmm / dev / null <nl> ppp b / admin / static / handlebars / tables / reconfigure . handlebars <nl> <nl> + < h2 class = " title " > Sharding and replication < / h2 > <nl> + < div class = " info " > <nl> + < div > <nl> + < span class = " shards value " > { { num_shards } } < / span > <nl> + < span class = " caption " > { { pluralize_noun " shard " num_shards } } < / span > <nl> + < / div > <nl> + < div > <nl> + < span class = " replicas value " > { { num_replicas_per_shard } } < / span > <nl> + < span class = " caption " > { { pluralize_noun " replica " num_replicas_per_shard } } per shard < / span > <nl> + < / div > <nl> + < button class = " reconfigure btn " > Reconfigure < / button > <nl> + < / div > <nl> + < div class = ' backfill - progress ' > < / div > <nl> mmm a / admin / static / handlebars / tables / replica_status - template . handlebars <nl> ppp b / admin / static / handlebars / tables / replica_status - template . handlebars <nl> <nl> { { / if } } <nl> { { # if processing } } <nl> < p class = " completed " > Started < / p > <nl> - < p > Replicating < / p > <nl> + < p > Table reconfiguring < / p > <nl> { { / if } } <nl> { { # if finished } } <nl> < p class = " completed " > Started < / p > <nl> - < p class = " completed " > Replicated < / p > <nl> + < p class = " completed " > Table reconfigured < / p > <nl> { { / if } } <nl> < / div > <nl> { { # if starting } } <nl> <nl> { { / if } } <nl> < div class = " progress " > < div class = " bar " style = " width : { { # if starting } } 0 { { else } } { { percent_complete } } { { / if } } % " > < / div > < / div > <nl> < / div > <nl> - { { else } } <nl> - < p > < span class = " big " > { { current_value } } / { { max_value } } < / span > { { pluralize_noun " replica " max_value } } available < / p > <nl> { { / if } } <nl> <nl> mmm a / admin / static / handlebars / tables / shard_assignment - template . handlebars <nl> ppp b / admin / static / handlebars / tables / shard_assignment - template . handlebars <nl> <nl> < div class = " tree - node " > < / div > <nl> < div class = " server - info child - info " > <nl> < p class = " name " > < a href = " / # servers / { { data . id } } " > { { data . name } } < / a > < / p > <nl> - < p class = " secondary " > Secondary Replica < / p > <nl> + < p class = " secondary " > Secondary replica < / p > <nl> < / div > <nl> < / li > <nl> <nl> mmm a / admin / static / handlebars / tables / shards_container - template . handlebars <nl> ppp b / admin / static / handlebars / tables / shards_container - template . handlebars <nl> <nl> - < h2 class = " title " > Shard status < / h2 > <nl> - < div class = " shard - status " > < / div > <nl> - < h2 class = " title " > Sharding settings < / h2 > <nl> - < div class = " edit - shards " > < / div > <nl> < h2 class = " title " > Data distribution < / h2 > <nl> < div id = " data_distribution - container " class = " data_distribution - container " > <nl> < div class = " alert displayed_alert loading " > Loading . . . < / div > <nl> mmm a / admin / static / handlebars / tables / table_container - template . handlebars <nl> ppp b / admin / static / handlebars / tables / table_container - template . handlebars <nl> <nl> - <nl> - < div id = " table - view " > <nl> - < div class = " operations " > <nl> - < div class = " dropdown " > <nl> - < button class = " btn dropdown - toggle " data - toggle = " dropdown " > Operations < / button > <nl> - < ul class = " dropdown - menu " > <nl> - < li > < a href = " # " class = " rename " > Rename table < / a > < / li > <nl> - < li > < a href = " # " class = " delete " > Delete table < / a > < / li > <nl> - < / ul > <nl> - < / div > <nl> - < / div > <nl> - < div class = " main_title " > < / div > <nl> - < div id = " user - alert - space " > < / div > <nl> - < div class = " section statistics " > <nl> - < h2 class = " title " > Statistics < / h3 > <nl> - < div class = " content row - fluid " > <nl> - < div class = " span4 profile " > < / div > <nl> - < div class = " span8 performance - graph " > < / div > <nl> - < / div > <nl> + < div id = " table - view " > <nl> + < div class = " operations " > <nl> + < div class = " dropdown " > <nl> + < button class = " btn dropdown - toggle " data - toggle = " dropdown " > Operations < / button > <nl> + < ul class = " dropdown - menu " > <nl> + < li > < a href = " # " class = " rename " > Rename table < / a > < / li > <nl> + < li > < a href = " # " class = " delete " > Delete table < / a > < / li > <nl> + < / ul > <nl> < / div > <nl> - <nl> - < div class = " row " > <nl> - < div class = " span5 " > <nl> - < div class = " section sharding " > < / div > <nl> - < / div > <nl> - < div class = " span7 " > <nl> - < div class = " section replication " > < / div > <nl> - < div class = " section secondary_indexes " > < / div > <nl> - < / div > <nl> + < / div > <nl> + < div class = " main_title " > < / div > <nl> + < div id = " user - alert - space " > < / div > <nl> + < div class = " section statistics " > <nl> + < h2 class = " title " > Statistics < / h3 > <nl> + < div class = " content row - fluid " > <nl> + < div class = " span4 profile " > < / div > <nl> + < div class = " span8 performance - graph " > < / div > <nl> < / div > <nl> - < div class = " section server - assignments tree - view " > < / div > <nl> < / div > <nl> + < div class = " row " > <nl> + < div class = " span5 " > <nl> + < div class = " section sharding " > < / div > <nl> + < / div > <nl> + < div class = " span7 " > <nl> + < div class = " section reconfigure - panel tree - view " > < / div > <nl> + < div class = " section secondary_indexes " > < / div > <nl> + < / div > <nl> + < / div > <nl> + < div class = " section server - assignments tree - view " > < / div > <nl> + < / div > <nl> <nl> <nl> new file mode 100644 <nl> index 00000000000 . . 25ec8c5445a <nl> Binary files / dev / null and b / admin / static / images / server - icon - added . png differ <nl> new file mode 100644 <nl> index 00000000000 . . 4311cad655a <nl> Binary files / dev / null and b / admin / static / images / server - icon - removed . png differ <nl> new file mode 100644 <nl> index 00000000000 . . 0d8ef17af5a <nl> Binary files / dev / null and b / admin / static / images / thinker_watermark . png differ <nl> mmm a / admin / static / js / bootstrap / bootstrap - modal . js <nl> ppp b / admin / static / js / bootstrap / bootstrap - modal . js <nl> <nl> this . $ backdrop = $ ( ' < div class = " modal - backdrop ' + animate + ' " / > ' ) <nl> . appendTo ( document . body ) <nl> <nl> - if ( this . options . backdrop ! = ' static ' ) { <nl> - this . $ backdrop . click ( $ . proxy ( this . hide , this ) ) <nl> - } <nl> - <nl> if ( doAnimate ) this . $ backdrop [ 0 ] . offsetWidth / / force reflow <nl> <nl> this . $ backdrop . addClass ( ' in ' ) <nl> new file mode 100644 <nl> index 00000000000 . . c12b94b358b <nl> mmm / dev / null <nl> ppp b / admin / static / less / _ionicons - font . less <nl> <nl> + / / Ionicons Font Path <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + @ font - face { <nl> + font - family : @ ionicons - font - family ; <nl> + src : url ( " @ { ionicons - ionicons . eot ? v = @ { ionicons - version } " ) ; <nl> + src : url ( " ionicons . eot ? v = @ { ionicons - version } # iefix " ) format ( " embedded - opentype " ) , <nl> + url ( " ionicons . ttf ? v = @ { ionicons - version } " ) format ( " truetype " ) , <nl> + url ( " ionicons . woff ? v = @ { ionicons - version } " ) format ( " woff " ) , <nl> + url ( " ionicons . svg ? v = @ { ionicons - version } # Ionicons " ) format ( " svg " ) ; <nl> + font - weight : normal ; <nl> + font - style : normal ; <nl> + } <nl> + <nl> + . ion { <nl> + display : inline - block ; <nl> + font - family : @ ionicons - font - family ; <nl> + speak : none ; <nl> + font - style : normal ; <nl> + font - weight : normal ; <nl> + font - variant : normal ; <nl> + text - transform : none ; <nl> + text - rendering : auto ; <nl> + line - height : 1 ; <nl> + - webkit - font - smoothing : antialiased ; <nl> + - moz - osx - font - smoothing : grayscale ; <nl> + } <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 00000000000 . . 5e6052e9246 <nl> mmm / dev / null <nl> ppp b / admin / static / less / _ionicons - icons . less <nl> <nl> + / / Ionicons Icons <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + . ionicons , <nl> + . @ { ionicons - prefix } alert : before , <nl> + . @ { ionicons - prefix } alert - circled : before , <nl> + . @ { ionicons - prefix } android - add : before , <nl> + . @ { ionicons - prefix } android - add - circle : before , <nl> + . @ { ionicons - prefix } android - alarm - clock : before , <nl> + . @ { ionicons - prefix } android - alert : before , <nl> + . @ { ionicons - prefix } android - apps : before , <nl> + . @ { ionicons - prefix } android - archive : before , <nl> + . @ { ionicons - prefix } android - arrow - back : before , <nl> + . @ { ionicons - prefix } android - arrow - down : before , <nl> + . @ { ionicons - prefix } android - arrow - dropdown : before , <nl> + . @ { ionicons - prefix } android - arrow - dropdown - circle : before , <nl> + . @ { ionicons - prefix } android - arrow - dropleft : before , <nl> + . @ { ionicons - prefix } android - arrow - dropleft - circle : before , <nl> + . @ { ionicons - prefix } android - arrow - dropright : before , <nl> + . @ { ionicons - prefix } android - arrow - dropright - circle : before , <nl> + . @ { ionicons - prefix } android - arrow - dropup : before , <nl> + . @ { ionicons - prefix } android - arrow - dropup - circle : before , <nl> + . @ { ionicons - prefix } android - arrow - forward : before , <nl> + . @ { ionicons - prefix } android - arrow - up : before , <nl> + . @ { ionicons - prefix } android - attach : before , <nl> + . @ { ionicons - prefix } android - bar : before , <nl> + . @ { ionicons - prefix } android - bicycle : before , <nl> + . @ { ionicons - prefix } android - boat : before , <nl> + . @ { ionicons - prefix } android - bookmark : before , <nl> + . @ { ionicons - prefix } android - bulb : before , <nl> + . @ { ionicons - prefix } android - bus : before , <nl> + . @ { ionicons - prefix } android - calendar : before , <nl> + . @ { ionicons - prefix } android - call : before , <nl> + . @ { ionicons - prefix } android - camera : before , <nl> + . @ { ionicons - prefix } android - cancel : before , <nl> + . @ { ionicons - prefix } android - car : before , <nl> + . @ { ionicons - prefix } android - cart : before , <nl> + . @ { ionicons - prefix } android - chat : before , <nl> + . @ { ionicons - prefix } android - checkbox : before , <nl> + . @ { ionicons - prefix } android - checkbox - blank : before , <nl> + . @ { ionicons - prefix } android - checkbox - outline : before , <nl> + . @ { ionicons - prefix } android - checkbox - outline - blank : before , <nl> + . @ { ionicons - prefix } android - checkmark - circle : before , <nl> + . @ { ionicons - prefix } android - clipboard : before , <nl> + . @ { ionicons - prefix } android - close : before , <nl> + . @ { ionicons - prefix } android - cloud : before , <nl> + . @ { ionicons - prefix } android - cloud - circle : before , <nl> + . @ { ionicons - prefix } android - cloud - done : before , <nl> + . @ { ionicons - prefix } android - cloud - outline : before , <nl> + . @ { ionicons - prefix } android - color - palette : before , <nl> + . @ { ionicons - prefix } android - compass : before , <nl> + . @ { ionicons - prefix } android - contact : before , <nl> + . @ { ionicons - prefix } android - contacts : before , <nl> + . @ { ionicons - prefix } android - contract : before , <nl> + . @ { ionicons - prefix } android - create : before , <nl> + . @ { ionicons - prefix } android - delete : before , <nl> + . @ { ionicons - prefix } android - desktop : before , <nl> + . @ { ionicons - prefix } android - document : before , <nl> + . @ { ionicons - prefix } android - done : before , <nl> + . @ { ionicons - prefix } android - done - all : before , <nl> + . @ { ionicons - prefix } android - download : before , <nl> + . @ { ionicons - prefix } android - drafts : before , <nl> + . @ { ionicons - prefix } android - exit : before , <nl> + . @ { ionicons - prefix } android - expand : before , <nl> + . @ { ionicons - prefix } android - favorite : before , <nl> + . @ { ionicons - prefix } android - favorite - outline : before , <nl> + . @ { ionicons - prefix } android - film : before , <nl> + . @ { ionicons - prefix } android - folder : before , <nl> + . @ { ionicons - prefix } android - folder - open : before , <nl> + . @ { ionicons - prefix } android - funnel : before , <nl> + . @ { ionicons - prefix } android - globe : before , <nl> + . @ { ionicons - prefix } android - hand : before , <nl> + . @ { ionicons - prefix } android - hangout : before , <nl> + . @ { ionicons - prefix } android - happy : before , <nl> + . @ { ionicons - prefix } android - home : before , <nl> + . @ { ionicons - prefix } android - image : before , <nl> + . @ { ionicons - prefix } android - laptop : before , <nl> + . @ { ionicons - prefix } android - list : before , <nl> + . @ { ionicons - prefix } android - locate : before , <nl> + . @ { ionicons - prefix } android - lock : before , <nl> + . @ { ionicons - prefix } android - mail : before , <nl> + . @ { ionicons - prefix } android - map : before , <nl> + . @ { ionicons - prefix } android - menu : before , <nl> + . @ { ionicons - prefix } android - microphone : before , <nl> + . @ { ionicons - prefix } android - microphone - off : before , <nl> + . @ { ionicons - prefix } android - more - horizontal : before , <nl> + . @ { ionicons - prefix } android - more - vertical : before , <nl> + . @ { ionicons - prefix } android - navigate : before , <nl> + . @ { ionicons - prefix } android - notifications : before , <nl> + . @ { ionicons - prefix } android - notifications - none : before , <nl> + . @ { ionicons - prefix } android - notifications - off : before , <nl> + . @ { ionicons - prefix } android - open : before , <nl> + . @ { ionicons - prefix } android - options : before , <nl> + . @ { ionicons - prefix } android - people : before , <nl> + . @ { ionicons - prefix } android - person : before , <nl> + . @ { ionicons - prefix } android - person - add : before , <nl> + . @ { ionicons - prefix } android - phone - landscape : before , <nl> + . @ { ionicons - prefix } android - phone - portrait : before , <nl> + . @ { ionicons - prefix } android - pin : before , <nl> + . @ { ionicons - prefix } android - plane : before , <nl> + . @ { ionicons - prefix } android - playstore : before , <nl> + . @ { ionicons - prefix } android - print : before , <nl> + . @ { ionicons - prefix } android - radio - button - off : before , <nl> + . @ { ionicons - prefix } android - radio - button - on : before , <nl> + . @ { ionicons - prefix } android - refresh : before , <nl> + . @ { ionicons - prefix } android - remove : before , <nl> + . @ { ionicons - prefix } android - remove - circle : before , <nl> + . @ { ionicons - prefix } android - restaurant : before , <nl> + . @ { ionicons - prefix } android - sad : before , <nl> + . @ { ionicons - prefix } android - search : before , <nl> + . @ { ionicons - prefix } android - send : before , <nl> + . @ { ionicons - prefix } android - settings : before , <nl> + . @ { ionicons - prefix } android - share : before , <nl> + . @ { ionicons - prefix } android - share - alt : before , <nl> + . @ { ionicons - prefix } android - star : before , <nl> + . @ { ionicons - prefix } android - star - half : before , <nl> + . @ { ionicons - prefix } android - star - outline : before , <nl> + . @ { ionicons - prefix } android - stopwatch : before , <nl> + . @ { ionicons - prefix } android - subway : before , <nl> + . @ { ionicons - prefix } android - sunny : before , <nl> + . @ { ionicons - prefix } android - sync : before , <nl> + . @ { ionicons - prefix } android - textsms : before , <nl> + . @ { ionicons - prefix } android - time : before , <nl> + . @ { ionicons - prefix } android - train : before , <nl> + . @ { ionicons - prefix } android - unlock : before , <nl> + . @ { ionicons - prefix } android - upload : before , <nl> + . @ { ionicons - prefix } android - volume - down : before , <nl> + . @ { ionicons - prefix } android - volume - mute : before , <nl> + . @ { ionicons - prefix } android - volume - off : before , <nl> + . @ { ionicons - prefix } android - volume - up : before , <nl> + . @ { ionicons - prefix } android - walk : before , <nl> + . @ { ionicons - prefix } android - warning : before , <nl> + . @ { ionicons - prefix } android - watch : before , <nl> + . @ { ionicons - prefix } android - wifi : before , <nl> + . @ { ionicons - prefix } aperture : before , <nl> + . @ { ionicons - prefix } archive : before , <nl> + . @ { ionicons - prefix } arrow - down - a : before , <nl> + . @ { ionicons - prefix } arrow - down - b : before , <nl> + . @ { ionicons - prefix } arrow - down - c : before , <nl> + . @ { ionicons - prefix } arrow - expand : before , <nl> + . @ { ionicons - prefix } arrow - graph - down - left : before , <nl> + . @ { ionicons - prefix } arrow - graph - down - right : before , <nl> + . @ { ionicons - prefix } arrow - graph - up - left : before , <nl> + . @ { ionicons - prefix } arrow - graph - up - right : before , <nl> + . @ { ionicons - prefix } arrow - left - a : before , <nl> + . @ { ionicons - prefix } arrow - left - b : before , <nl> + . @ { ionicons - prefix } arrow - left - c : before , <nl> + . @ { ionicons - prefix } arrow - move : before , <nl> + . @ { ionicons - prefix } arrow - resize : before , <nl> + . @ { ionicons - prefix } arrow - return - left : before , <nl> + . @ { ionicons - prefix } arrow - return - right : before , <nl> + . @ { ionicons - prefix } arrow - right - a : before , <nl> + . @ { ionicons - prefix } arrow - right - b : before , <nl> + . @ { ionicons - prefix } arrow - right - c : before , <nl> + . @ { ionicons - prefix } arrow - shrink : before , <nl> + . @ { ionicons - prefix } arrow - swap : before , <nl> + . @ { ionicons - prefix } arrow - up - a : before , <nl> + . @ { ionicons - prefix } arrow - up - b : before , <nl> + . @ { ionicons - prefix } arrow - up - c : before , <nl> + . @ { ionicons - prefix } asterisk : before , <nl> + . @ { ionicons - prefix } at : before , <nl> + . @ { ionicons - prefix } backspace : before , <nl> + . @ { ionicons - prefix } backspace - outline : before , <nl> + . @ { ionicons - prefix } bag : before , <nl> + . @ { ionicons - prefix } battery - charging : before , <nl> + . @ { ionicons - prefix } battery - empty : before , <nl> + . @ { ionicons - prefix } battery - full : before , <nl> + . @ { ionicons - prefix } battery - half : before , <nl> + . @ { ionicons - prefix } battery - low : before , <nl> + . @ { ionicons - prefix } beaker : before , <nl> + . @ { ionicons - prefix } beer : before , <nl> + . @ { ionicons - prefix } bluetooth : before , <nl> + . @ { ionicons - prefix } bonfire : before , <nl> + . @ { ionicons - prefix } bookmark : before , <nl> + . @ { ionicons - prefix } bowtie : before , <nl> + . @ { ionicons - prefix } briefcase : before , <nl> + . @ { ionicons - prefix } bug : before , <nl> + . @ { ionicons - prefix } calculator : before , <nl> + . @ { ionicons - prefix } calendar : before , <nl> + . @ { ionicons - prefix } camera : before , <nl> + . @ { ionicons - prefix } card : before , <nl> + . @ { ionicons - prefix } cash : before , <nl> + . @ { ionicons - prefix } chatbox : before , <nl> + . @ { ionicons - prefix } chatbox - working : before , <nl> + . @ { ionicons - prefix } chatboxes : before , <nl> + . @ { ionicons - prefix } chatbubble : before , <nl> + . @ { ionicons - prefix } chatbubble - working : before , <nl> + . @ { ionicons - prefix } chatbubbles : before , <nl> + . @ { ionicons - prefix } checkmark : before , <nl> + . @ { ionicons - prefix } checkmark - circled : before , <nl> + . @ { ionicons - prefix } checkmark - round : before , <nl> + . @ { ionicons - prefix } chevron - down : before , <nl> + . @ { ionicons - prefix } chevron - left : before , <nl> + . @ { ionicons - prefix } chevron - right : before , <nl> + . @ { ionicons - prefix } chevron - up : before , <nl> + . @ { ionicons - prefix } clipboard : before , <nl> + . @ { ionicons - prefix } clock : before , <nl> + . @ { ionicons - prefix } close : before , <nl> + . @ { ionicons - prefix } close - circled : before , <nl> + . @ { ionicons - prefix } close - round : before , <nl> + . @ { ionicons - prefix } closed - captioning : before , <nl> + . @ { ionicons - prefix } cloud : before , <nl> + . @ { ionicons - prefix } code : before , <nl> + . @ { ionicons - prefix } code - download : before , <nl> + . @ { ionicons - prefix } code - working : before , <nl> + . @ { ionicons - prefix } coffee : before , <nl> + . @ { ionicons - prefix } compass : before , <nl> + . @ { ionicons - prefix } compose : before , <nl> + . @ { ionicons - prefix } connection - bars : before , <nl> + . @ { ionicons - prefix } contrast : before , <nl> + . @ { ionicons - prefix } crop : before , <nl> + . @ { ionicons - prefix } cube : before , <nl> + . @ { ionicons - prefix } disc : before , <nl> + . @ { ionicons - prefix } document : before , <nl> + . @ { ionicons - prefix } document - text : before , <nl> + . @ { ionicons - prefix } drag : before , <nl> + . @ { ionicons - prefix } earth : before , <nl> + . @ { ionicons - prefix } easel : before , <nl> + . @ { ionicons - prefix } edit : before , <nl> + . @ { ionicons - prefix } egg : before , <nl> + . @ { ionicons - prefix } eject : before , <nl> + . @ { ionicons - prefix } email : before , <nl> + . @ { ionicons - prefix } email - unread : before , <nl> + . @ { ionicons - prefix } erlenmeyer - flask : before , <nl> + . @ { ionicons - prefix } erlenmeyer - flask - bubbles : before , <nl> + . @ { ionicons - prefix } eye : before , <nl> + . @ { ionicons - prefix } eye - disabled : before , <nl> + . @ { ionicons - prefix } female : before , <nl> + . @ { ionicons - prefix } filing : before , <nl> + . @ { ionicons - prefix } film - marker : before , <nl> + . @ { ionicons - prefix } fireball : before , <nl> + . @ { ionicons - prefix } flag : before , <nl> + . @ { ionicons - prefix } flame : before , <nl> + . @ { ionicons - prefix } flash : before , <nl> + . @ { ionicons - prefix } flash - off : before , <nl> + . @ { ionicons - prefix } folder : before , <nl> + . @ { ionicons - prefix } fork : before , <nl> + . @ { ionicons - prefix } fork - repo : before , <nl> + . @ { ionicons - prefix } forward : before , <nl> + . @ { ionicons - prefix } funnel : before , <nl> + . @ { ionicons - prefix } gear - a : before , <nl> + . @ { ionicons - prefix } gear - b : before , <nl> + . @ { ionicons - prefix } grid : before , <nl> + . @ { ionicons - prefix } hammer : before , <nl> + . @ { ionicons - prefix } happy : before , <nl> + . @ { ionicons - prefix } happy - outline : before , <nl> + . @ { ionicons - prefix } headphone : before , <nl> + . @ { ionicons - prefix } heart : before , <nl> + . @ { ionicons - prefix } heart - broken : before , <nl> + . @ { ionicons - prefix } help : before , <nl> + . @ { ionicons - prefix } help - buoy : before , <nl> + . @ { ionicons - prefix } help - circled : before , <nl> + . @ { ionicons - prefix } home : before , <nl> + . @ { ionicons - prefix } icecream : before , <nl> + . @ { ionicons - prefix } image : before , <nl> + . @ { ionicons - prefix } images : before , <nl> + . @ { ionicons - prefix } information : before , <nl> + . @ { ionicons - prefix } information - circled : before , <nl> + . @ { ionicons - prefix } ionic : before , <nl> + . @ { ionicons - prefix } ios - alarm : before , <nl> + . @ { ionicons - prefix } ios - alarm - outline : before , <nl> + . @ { ionicons - prefix } ios - albums : before , <nl> + . @ { ionicons - prefix } ios - albums - outline : before , <nl> + . @ { ionicons - prefix } ios - americanfootball : before , <nl> + . @ { ionicons - prefix } ios - americanfootball - outline : before , <nl> + . @ { ionicons - prefix } ios - analytics : before , <nl> + . @ { ionicons - prefix } ios - analytics - outline : before , <nl> + . @ { ionicons - prefix } ios - arrow - back : before , <nl> + . @ { ionicons - prefix } ios - arrow - down : before , <nl> + . @ { ionicons - prefix } ios - arrow - forward : before , <nl> + . @ { ionicons - prefix } ios - arrow - left : before , <nl> + . @ { ionicons - prefix } ios - arrow - right : before , <nl> + . @ { ionicons - prefix } ios - arrow - thin - down : before , <nl> + . @ { ionicons - prefix } ios - arrow - thin - left : before , <nl> + . @ { ionicons - prefix } ios - arrow - thin - right : before , <nl> + . @ { ionicons - prefix } ios - arrow - thin - up : before , <nl> + . @ { ionicons - prefix } ios - arrow - up : before , <nl> + . @ { ionicons - prefix } ios - at : before , <nl> + . @ { ionicons - prefix } ios - at - outline : before , <nl> + . @ { ionicons - prefix } ios - barcode : before , <nl> + . @ { ionicons - prefix } ios - barcode - outline : before , <nl> + . @ { ionicons - prefix } ios - baseball : before , <nl> + . @ { ionicons - prefix } ios - baseball - outline : before , <nl> + . @ { ionicons - prefix } ios - basketball : before , <nl> + . @ { ionicons - prefix } ios - basketball - outline : before , <nl> + . @ { ionicons - prefix } ios - bell : before , <nl> + . @ { ionicons - prefix } ios - bell - outline : before , <nl> + . @ { ionicons - prefix } ios - body : before , <nl> + . @ { ionicons - prefix } ios - body - outline : before , <nl> + . @ { ionicons - prefix } ios - bolt : before , <nl> + . @ { ionicons - prefix } ios - bolt - outline : before , <nl> + . @ { ionicons - prefix } ios - book : before , <nl> + . @ { ionicons - prefix } ios - book - outline : before , <nl> + . @ { ionicons - prefix } ios - bookmarks : before , <nl> + . @ { ionicons - prefix } ios - bookmarks - outline : before , <nl> + . @ { ionicons - prefix } ios - box : before , <nl> + . @ { ionicons - prefix } ios - box - outline : before , <nl> + . @ { ionicons - prefix } ios - briefcase : before , <nl> + . @ { ionicons - prefix } ios - briefcase - outline : before , <nl> + . @ { ionicons - prefix } ios - browsers : before , <nl> + . @ { ionicons - prefix } ios - browsers - outline : before , <nl> + . @ { ionicons - prefix } ios - calculator : before , <nl> + . @ { ionicons - prefix } ios - calculator - outline : before , <nl> + . @ { ionicons - prefix } ios - calendar : before , <nl> + . @ { ionicons - prefix } ios - calendar - outline : before , <nl> + . @ { ionicons - prefix } ios - camera : before , <nl> + . @ { ionicons - prefix } ios - camera - outline : before , <nl> + . @ { ionicons - prefix } ios - cart : before , <nl> + . @ { ionicons - prefix } ios - cart - outline : before , <nl> + . @ { ionicons - prefix } ios - chatboxes : before , <nl> + . @ { ionicons - prefix } ios - chatboxes - outline : before , <nl> + . @ { ionicons - prefix } ios - chatbubble : before , <nl> + . @ { ionicons - prefix } ios - chatbubble - outline : before , <nl> + . @ { ionicons - prefix } ios - checkmark : before , <nl> + . @ { ionicons - prefix } ios - checkmark - empty : before , <nl> + . @ { ionicons - prefix } ios - checkmark - outline : before , <nl> + . @ { ionicons - prefix } ios - circle - filled : before , <nl> + . @ { ionicons - prefix } ios - circle - outline : before , <nl> + . @ { ionicons - prefix } ios - clock : before , <nl> + . @ { ionicons - prefix } ios - clock - outline : before , <nl> + . @ { ionicons - prefix } ios - close : before , <nl> + . @ { ionicons - prefix } ios - close - empty : before , <nl> + . @ { ionicons - prefix } ios - close - outline : before , <nl> + . @ { ionicons - prefix } ios - cloud : before , <nl> + . @ { ionicons - prefix } ios - cloud - download : before , <nl> + . @ { ionicons - prefix } ios - cloud - download - outline : before , <nl> + . @ { ionicons - prefix } ios - cloud - outline : before , <nl> + . @ { ionicons - prefix } ios - cloud - upload : before , <nl> + . @ { ionicons - prefix } ios - cloud - upload - outline : before , <nl> + . @ { ionicons - prefix } ios - cloudy : before , <nl> + . @ { ionicons - prefix } ios - cloudy - night : before , <nl> + . @ { ionicons - prefix } ios - cloudy - night - outline : before , <nl> + . @ { ionicons - prefix } ios - cloudy - outline : before , <nl> + . @ { ionicons - prefix } ios - cog : before , <nl> + . @ { ionicons - prefix } ios - cog - outline : before , <nl> + . @ { ionicons - prefix } ios - color - filter : before , <nl> + . @ { ionicons - prefix } ios - color - filter - outline : before , <nl> + . @ { ionicons - prefix } ios - color - wand : before , <nl> + . @ { ionicons - prefix } ios - color - wand - outline : before , <nl> + . @ { ionicons - prefix } ios - compose : before , <nl> + . @ { ionicons - prefix } ios - compose - outline : before , <nl> + . @ { ionicons - prefix } ios - contact : before , <nl> + . @ { ionicons - prefix } ios - contact - outline : before , <nl> + . @ { ionicons - prefix } ios - copy : before , <nl> + . @ { ionicons - prefix } ios - copy - outline : before , <nl> + . @ { ionicons - prefix } ios - crop : before , <nl> + . @ { ionicons - prefix } ios - crop - strong : before , <nl> + . @ { ionicons - prefix } ios - download : before , <nl> + . @ { ionicons - prefix } ios - download - outline : before , <nl> + . @ { ionicons - prefix } ios - drag : before , <nl> + . @ { ionicons - prefix } ios - email : before , <nl> + . @ { ionicons - prefix } ios - email - outline : before , <nl> + . @ { ionicons - prefix } ios - eye : before , <nl> + . @ { ionicons - prefix } ios - eye - outline : before , <nl> + . @ { ionicons - prefix } ios - fastforward : before , <nl> + . @ { ionicons - prefix } ios - fastforward - outline : before , <nl> + . @ { ionicons - prefix } ios - filing : before , <nl> + . @ { ionicons - prefix } ios - filing - outline : before , <nl> + . @ { ionicons - prefix } ios - film : before , <nl> + . @ { ionicons - prefix } ios - film - outline : before , <nl> + . @ { ionicons - prefix } ios - flag : before , <nl> + . @ { ionicons - prefix } ios - flag - outline : before , <nl> + . @ { ionicons - prefix } ios - flame : before , <nl> + . @ { ionicons - prefix } ios - flame - outline : before , <nl> + . @ { ionicons - prefix } ios - flask : before , <nl> + . @ { ionicons - prefix } ios - flask - outline : before , <nl> + . @ { ionicons - prefix } ios - flower : before , <nl> + . @ { ionicons - prefix } ios - flower - outline : before , <nl> + . @ { ionicons - prefix } ios - folder : before , <nl> + . @ { ionicons - prefix } ios - folder - outline : before , <nl> + . @ { ionicons - prefix } ios - football : before , <nl> + . @ { ionicons - prefix } ios - football - outline : before , <nl> + . @ { ionicons - prefix } ios - game - controller - a : before , <nl> + . @ { ionicons - prefix } ios - game - controller - a - outline : before , <nl> + . @ { ionicons - prefix } ios - game - controller - b : before , <nl> + . @ { ionicons - prefix } ios - game - controller - b - outline : before , <nl> + . @ { ionicons - prefix } ios - gear : before , <nl> + . @ { ionicons - prefix } ios - gear - outline : before , <nl> + . @ { ionicons - prefix } ios - glasses : before , <nl> + . @ { ionicons - prefix } ios - glasses - outline : before , <nl> + . @ { ionicons - prefix } ios - grid - view : before , <nl> + . @ { ionicons - prefix } ios - grid - view - outline : before , <nl> + . @ { ionicons - prefix } ios - heart : before , <nl> + . @ { ionicons - prefix } ios - heart - outline : before , <nl> + . @ { ionicons - prefix } ios - help : before , <nl> + . @ { ionicons - prefix } ios - help - empty : before , <nl> + . @ { ionicons - prefix } ios - help - outline : before , <nl> + . @ { ionicons - prefix } ios - home : before , <nl> + . @ { ionicons - prefix } ios - home - outline : before , <nl> + . @ { ionicons - prefix } ios - infinite : before , <nl> + . @ { ionicons - prefix } ios - infinite - outline : before , <nl> + . @ { ionicons - prefix } ios - information : before , <nl> + . @ { ionicons - prefix } ios - information - empty : before , <nl> + . @ { ionicons - prefix } ios - information - outline : before , <nl> + . @ { ionicons - prefix } ios - ionic - outline : before , <nl> + . @ { ionicons - prefix } ios - keypad : before , <nl> + . @ { ionicons - prefix } ios - keypad - outline : before , <nl> + . @ { ionicons - prefix } ios - lightbulb : before , <nl> + . @ { ionicons - prefix } ios - lightbulb - outline : before , <nl> + . @ { ionicons - prefix } ios - list : before , <nl> + . @ { ionicons - prefix } ios - list - outline : before , <nl> + . @ { ionicons - prefix } ios - location : before , <nl> + . @ { ionicons - prefix } ios - location - outline : before , <nl> + . @ { ionicons - prefix } ios - locked : before , <nl> + . @ { ionicons - prefix } ios - locked - outline : before , <nl> + . @ { ionicons - prefix } ios - loop : before , <nl> + . @ { ionicons - prefix } ios - loop - strong : before , <nl> + . @ { ionicons - prefix } ios - medical : before , <nl> + . @ { ionicons - prefix } ios - medical - outline : before , <nl> + . @ { ionicons - prefix } ios - medkit : before , <nl> + . @ { ionicons - prefix } ios - medkit - outline : before , <nl> + . @ { ionicons - prefix } ios - mic : before , <nl> + . @ { ionicons - prefix } ios - mic - off : before , <nl> + . @ { ionicons - prefix } ios - mic - outline : before , <nl> + . @ { ionicons - prefix } ios - minus : before , <nl> + . @ { ionicons - prefix } ios - minus - empty : before , <nl> + . @ { ionicons - prefix } ios - minus - outline : before , <nl> + . @ { ionicons - prefix } ios - monitor : before , <nl> + . @ { ionicons - prefix } ios - monitor - outline : before , <nl> + . @ { ionicons - prefix } ios - moon : before , <nl> + . @ { ionicons - prefix } ios - moon - outline : before , <nl> + . @ { ionicons - prefix } ios - more : before , <nl> + . @ { ionicons - prefix } ios - more - outline : before , <nl> + . @ { ionicons - prefix } ios - musical - note : before , <nl> + . @ { ionicons - prefix } ios - musical - notes : before , <nl> + . @ { ionicons - prefix } ios - navigate : before , <nl> + . @ { ionicons - prefix } ios - navigate - outline : before , <nl> + . @ { ionicons - prefix } ios - nutrition : before , <nl> + . @ { ionicons - prefix } ios - nutrition - outline : before , <nl> + . @ { ionicons - prefix } ios - paper : before , <nl> + . @ { ionicons - prefix } ios - paper - outline : before , <nl> + . @ { ionicons - prefix } ios - paperplane : before , <nl> + . @ { ionicons - prefix } ios - paperplane - outline : before , <nl> + . @ { ionicons - prefix } ios - partlysunny : before , <nl> + . @ { ionicons - prefix } ios - partlysunny - outline : before , <nl> + . @ { ionicons - prefix } ios - pause : before , <nl> + . @ { ionicons - prefix } ios - pause - outline : before , <nl> + . @ { ionicons - prefix } ios - paw : before , <nl> + . @ { ionicons - prefix } ios - paw - outline : before , <nl> + . @ { ionicons - prefix } ios - people : before , <nl> + . @ { ionicons - prefix } ios - people - outline : before , <nl> + . @ { ionicons - prefix } ios - person : before , <nl> + . @ { ionicons - prefix } ios - person - outline : before , <nl> + . @ { ionicons - prefix } ios - personadd : before , <nl> + . @ { ionicons - prefix } ios - personadd - outline : before , <nl> + . @ { ionicons - prefix } ios - photos : before , <nl> + . @ { ionicons - prefix } ios - photos - outline : before , <nl> + . @ { ionicons - prefix } ios - pie : before , <nl> + . @ { ionicons - prefix } ios - pie - outline : before , <nl> + . @ { ionicons - prefix } ios - pint : before , <nl> + . @ { ionicons - prefix } ios - pint - outline : before , <nl> + . @ { ionicons - prefix } ios - play : before , <nl> + . @ { ionicons - prefix } ios - play - outline : before , <nl> + . @ { ionicons - prefix } ios - plus : before , <nl> + . @ { ionicons - prefix } ios - plus - empty : before , <nl> + . @ { ionicons - prefix } ios - plus - outline : before , <nl> + . @ { ionicons - prefix } ios - pricetag : before , <nl> + . @ { ionicons - prefix } ios - pricetag - outline : before , <nl> + . @ { ionicons - prefix } ios - pricetags : before , <nl> + . @ { ionicons - prefix } ios - pricetags - outline : before , <nl> + . @ { ionicons - prefix } ios - printer : before , <nl> + . @ { ionicons - prefix } ios - printer - outline : before , <nl> + . @ { ionicons - prefix } ios - pulse : before , <nl> + . @ { ionicons - prefix } ios - pulse - strong : before , <nl> + . @ { ionicons - prefix } ios - rainy : before , <nl> + . @ { ionicons - prefix } ios - rainy - outline : before , <nl> + . @ { ionicons - prefix } ios - recording : before , <nl> + . @ { ionicons - prefix } ios - recording - outline : before , <nl> + . @ { ionicons - prefix } ios - redo : before , <nl> + . @ { ionicons - prefix } ios - redo - outline : before , <nl> + . @ { ionicons - prefix } ios - refresh : before , <nl> + . @ { ionicons - prefix } ios - refresh - empty : before , <nl> + . @ { ionicons - prefix } ios - refresh - outline : before , <nl> + . @ { ionicons - prefix } ios - reload : before , <nl> + . @ { ionicons - prefix } ios - reverse - camera : before , <nl> + . @ { ionicons - prefix } ios - reverse - camera - outline : before , <nl> + . @ { ionicons - prefix } ios - rewind : before , <nl> + . @ { ionicons - prefix } ios - rewind - outline : before , <nl> + . @ { ionicons - prefix } ios - rose : before , <nl> + . @ { ionicons - prefix } ios - rose - outline : before , <nl> + . @ { ionicons - prefix } ios - search : before , <nl> + . @ { ionicons - prefix } ios - search - strong : before , <nl> + . @ { ionicons - prefix } ios - settings : before , <nl> + . @ { ionicons - prefix } ios - settings - strong : before , <nl> + . @ { ionicons - prefix } ios - shuffle : before , <nl> + . @ { ionicons - prefix } ios - shuffle - strong : before , <nl> + . @ { ionicons - prefix } ios - skipbackward : before , <nl> + . @ { ionicons - prefix } ios - skipbackward - outline : before , <nl> + . @ { ionicons - prefix } ios - skipforward : before , <nl> + . @ { ionicons - prefix } ios - skipforward - outline : before , <nl> + . @ { ionicons - prefix } ios - snowy : before , <nl> + . @ { ionicons - prefix } ios - speedometer : before , <nl> + . @ { ionicons - prefix } ios - speedometer - outline : before , <nl> + . @ { ionicons - prefix } ios - star : before , <nl> + . @ { ionicons - prefix } ios - star - half : before , <nl> + . @ { ionicons - prefix } ios - star - outline : before , <nl> + . @ { ionicons - prefix } ios - stopwatch : before , <nl> + . @ { ionicons - prefix } ios - stopwatch - outline : before , <nl> + . @ { ionicons - prefix } ios - sunny : before , <nl> + . @ { ionicons - prefix } ios - sunny - outline : before , <nl> + . @ { ionicons - prefix } ios - telephone : before , <nl> + . @ { ionicons - prefix } ios - telephone - outline : before , <nl> + . @ { ionicons - prefix } ios - tennisball : before , <nl> + . @ { ionicons - prefix } ios - tennisball - outline : before , <nl> + . @ { ionicons - prefix } ios - thunderstorm : before , <nl> + . @ { ionicons - prefix } ios - thunderstorm - outline : before , <nl> + . @ { ionicons - prefix } ios - time : before , <nl> + . @ { ionicons - prefix } ios - time - outline : before , <nl> + . @ { ionicons - prefix } ios - timer : before , <nl> + . @ { ionicons - prefix } ios - timer - outline : before , <nl> + . @ { ionicons - prefix } ios - toggle : before , <nl> + . @ { ionicons - prefix } ios - toggle - outline : before , <nl> + . @ { ionicons - prefix } ios - trash : before , <nl> + . @ { ionicons - prefix } ios - trash - outline : before , <nl> + . @ { ionicons - prefix } ios - undo : before , <nl> + . @ { ionicons - prefix } ios - undo - outline : before , <nl> + . @ { ionicons - prefix } ios - unlocked : before , <nl> + . @ { ionicons - prefix } ios - unlocked - outline : before , <nl> + . @ { ionicons - prefix } ios - upload : before , <nl> + . @ { ionicons - prefix } ios - upload - outline : before , <nl> + . @ { ionicons - prefix } ios - videocam : before , <nl> + . @ { ionicons - prefix } ios - videocam - outline : before , <nl> + . @ { ionicons - prefix } ios - volume - high : before , <nl> + . @ { ionicons - prefix } ios - volume - low : before , <nl> + . @ { ionicons - prefix } ios - wineglass : before , <nl> + . @ { ionicons - prefix } ios - wineglass - outline : before , <nl> + . @ { ionicons - prefix } ios - world : before , <nl> + . @ { ionicons - prefix } ios - world - outline : before , <nl> + . @ { ionicons - prefix } ipad : before , <nl> + . @ { ionicons - prefix } iphone : before , <nl> + . @ { ionicons - prefix } ipod : before , <nl> + . @ { ionicons - prefix } jet : before , <nl> + . @ { ionicons - prefix } key : before , <nl> + . @ { ionicons - prefix } knife : before , <nl> + . @ { ionicons - prefix } laptop : before , <nl> + . @ { ionicons - prefix } leaf : before , <nl> + . @ { ionicons - prefix } levels : before , <nl> + . @ { ionicons - prefix } lightbulb : before , <nl> + . @ { ionicons - prefix } link : before , <nl> + . @ { ionicons - prefix } load - a : before , <nl> + . @ { ionicons - prefix } load - b : before , <nl> + . @ { ionicons - prefix } load - c : before , <nl> + . @ { ionicons - prefix } load - d : before , <nl> + . @ { ionicons - prefix } location : before , <nl> + . @ { ionicons - prefix } lock - combination : before , <nl> + . @ { ionicons - prefix } locked : before , <nl> + . @ { ionicons - prefix } log - in : before , <nl> + . @ { ionicons - prefix } log - out : before , <nl> + . @ { ionicons - prefix } loop : before , <nl> + . @ { ionicons - prefix } magnet : before , <nl> + . @ { ionicons - prefix } male : before , <nl> + . @ { ionicons - prefix } man : before , <nl> + . @ { ionicons - prefix } map : before , <nl> + . @ { ionicons - prefix } medkit : before , <nl> + . @ { ionicons - prefix } merge : before , <nl> + . @ { ionicons - prefix } mic - a : before , <nl> + . @ { ionicons - prefix } mic - b : before , <nl> + . @ { ionicons - prefix } mic - c : before , <nl> + . @ { ionicons - prefix } minus : before , <nl> + . @ { ionicons - prefix } minus - circled : before , <nl> + . @ { ionicons - prefix } minus - round : before , <nl> + . @ { ionicons - prefix } model - s : before , <nl> + . @ { ionicons - prefix } monitor : before , <nl> + . @ { ionicons - prefix } more : before , <nl> + . @ { ionicons - prefix } mouse : before , <nl> + . @ { ionicons - prefix } music - note : before , <nl> + . @ { ionicons - prefix } navicon : before , <nl> + . @ { ionicons - prefix } navicon - round : before , <nl> + . @ { ionicons - prefix } navigate : before , <nl> + . @ { ionicons - prefix } network : before , <nl> + . @ { ionicons - prefix } no - smoking : before , <nl> + . @ { ionicons - prefix } nuclear : before , <nl> + . @ { ionicons - prefix } outlet : before , <nl> + . @ { ionicons - prefix } paintbrush : before , <nl> + . @ { ionicons - prefix } paintbucket : before , <nl> + . @ { ionicons - prefix } paper - airplane : before , <nl> + . @ { ionicons - prefix } paperclip : before , <nl> + . @ { ionicons - prefix } pause : before , <nl> + . @ { ionicons - prefix } person : before , <nl> + . @ { ionicons - prefix } person - add : before , <nl> + . @ { ionicons - prefix } person - stalker : before , <nl> + . @ { ionicons - prefix } pie - graph : before , <nl> + . @ { ionicons - prefix } pin : before , <nl> + . @ { ionicons - prefix } pinpoint : before , <nl> + . @ { ionicons - prefix } pizza : before , <nl> + . @ { ionicons - prefix } plane : before , <nl> + . @ { ionicons - prefix } planet : before , <nl> + . @ { ionicons - prefix } play : before , <nl> + . @ { ionicons - prefix } playstation : before , <nl> + . @ { ionicons - prefix } plus : before , <nl> + . @ { ionicons - prefix } plus - circled : before , <nl> + . @ { ionicons - prefix } plus - round : before , <nl> + . @ { ionicons - prefix } podium : before , <nl> + . @ { ionicons - prefix } pound : before , <nl> + . @ { ionicons - prefix } power : before , <nl> + . @ { ionicons - prefix } pricetag : before , <nl> + . @ { ionicons - prefix } pricetags : before , <nl> + . @ { ionicons - prefix } printer : before , <nl> + . @ { ionicons - prefix } pull - request : before , <nl> + . @ { ionicons - prefix } qr - scanner : before , <nl> + . @ { ionicons - prefix } quote : before , <nl> + . @ { ionicons - prefix } radio - waves : before , <nl> + . @ { ionicons - prefix } record : before , <nl> + . @ { ionicons - prefix } refresh : before , <nl> + . @ { ionicons - prefix } reply : before , <nl> + . @ { ionicons - prefix } reply - all : before , <nl> + . @ { ionicons - prefix } ribbon - a : before , <nl> + . @ { ionicons - prefix } ribbon - b : before , <nl> + . @ { ionicons - prefix } sad : before , <nl> + . @ { ionicons - prefix } sad - outline : before , <nl> + . @ { ionicons - prefix } scissors : before , <nl> + . @ { ionicons - prefix } search : before , <nl> + . @ { ionicons - prefix } settings : before , <nl> + . @ { ionicons - prefix } share : before , <nl> + . @ { ionicons - prefix } shuffle : before , <nl> + . @ { ionicons - prefix } skip - backward : before , <nl> + . @ { ionicons - prefix } skip - forward : before , <nl> + . @ { ionicons - prefix } social - android : before , <nl> + . @ { ionicons - prefix } social - android - outline : before , <nl> + . @ { ionicons - prefix } social - angular : before , <nl> + . @ { ionicons - prefix } social - angular - outline : before , <nl> + . @ { ionicons - prefix } social - apple : before , <nl> + . @ { ionicons - prefix } social - apple - outline : before , <nl> + . @ { ionicons - prefix } social - bitcoin : before , <nl> + . @ { ionicons - prefix } social - bitcoin - outline : before , <nl> + . @ { ionicons - prefix } social - buffer : before , <nl> + . @ { ionicons - prefix } social - buffer - outline : before , <nl> + . @ { ionicons - prefix } social - chrome : before , <nl> + . @ { ionicons - prefix } social - chrome - outline : before , <nl> + . @ { ionicons - prefix } social - codepen : before , <nl> + . @ { ionicons - prefix } social - codepen - outline : before , <nl> + . @ { ionicons - prefix } social - css3 : before , <nl> + . @ { ionicons - prefix } social - css3 - outline : before , <nl> + . @ { ionicons - prefix } social - designernews : before , <nl> + . @ { ionicons - prefix } social - designernews - outline : before , <nl> + . @ { ionicons - prefix } social - dribbble : before , <nl> + . @ { ionicons - prefix } social - dribbble - outline : before , <nl> + . @ { ionicons - prefix } social - dropbox : before , <nl> + . @ { ionicons - prefix } social - dropbox - outline : before , <nl> + . @ { ionicons - prefix } social - euro : before , <nl> + . @ { ionicons - prefix } social - euro - outline : before , <nl> + . @ { ionicons - prefix } social - facebook : before , <nl> + . @ { ionicons - prefix } social - facebook - outline : before , <nl> + . @ { ionicons - prefix } social - foursquare : before , <nl> + . @ { ionicons - prefix } social - foursquare - outline : before , <nl> + . @ { ionicons - prefix } social - freebsd - devil : before , <nl> + . @ { ionicons - prefix } social - github : before , <nl> + . @ { ionicons - prefix } social - github - outline : before , <nl> + . @ { ionicons - prefix } social - google : before , <nl> + . @ { ionicons - prefix } social - google - outline : before , <nl> + . @ { ionicons - prefix } social - googleplus : before , <nl> + . @ { ionicons - prefix } social - googleplus - outline : before , <nl> + . @ { ionicons - prefix } social - hackernews : before , <nl> + . @ { ionicons - prefix } social - hackernews - outline : before , <nl> + . @ { ionicons - prefix } social - html5 : before , <nl> + . @ { ionicons - prefix } social - html5 - outline : before , <nl> + . @ { ionicons - prefix } social - instagram : before , <nl> + . @ { ionicons - prefix } social - instagram - outline : before , <nl> + . @ { ionicons - prefix } social - javascript : before , <nl> + . @ { ionicons - prefix } social - javascript - outline : before , <nl> + . @ { ionicons - prefix } social - linkedin : before , <nl> + . @ { ionicons - prefix } social - linkedin - outline : before , <nl> + . @ { ionicons - prefix } social - markdown : before , <nl> + . @ { ionicons - prefix } social - nodejs : before , <nl> + . @ { ionicons - prefix } social - octocat : before , <nl> + . @ { ionicons - prefix } social - pinterest : before , <nl> + . @ { ionicons - prefix } social - pinterest - outline : before , <nl> + . @ { ionicons - prefix } social - python : before , <nl> + . @ { ionicons - prefix } social - reddit : before , <nl> + . @ { ionicons - prefix } social - reddit - outline : before , <nl> + . @ { ionicons - prefix } social - rss : before , <nl> + . @ { ionicons - prefix } social - rss - outline : before , <nl> + . @ { ionicons - prefix } social - sass : before , <nl> + . @ { ionicons - prefix } social - skype : before , <nl> + . @ { ionicons - prefix } social - skype - outline : before , <nl> + . @ { ionicons - prefix } social - snapchat : before , <nl> + . @ { ionicons - prefix } social - snapchat - outline : before , <nl> + . @ { ionicons - prefix } social - tumblr : before , <nl> + . @ { ionicons - prefix } social - tumblr - outline : before , <nl> + . @ { ionicons - prefix } social - tux : before , <nl> + . @ { ionicons - prefix } social - twitch : before , <nl> + . @ { ionicons - prefix } social - twitch - outline : before , <nl> + . @ { ionicons - prefix } social - twitter : before , <nl> + . @ { ionicons - prefix } social - twitter - outline : before , <nl> + . @ { ionicons - prefix } social - usd : before , <nl> + . @ { ionicons - prefix } social - usd - outline : before , <nl> + . @ { ionicons - prefix } social - vimeo : before , <nl> + . @ { ionicons - prefix } social - vimeo - outline : before , <nl> + . @ { ionicons - prefix } social - whatsapp : before , <nl> + . @ { ionicons - prefix } social - whatsapp - outline : before , <nl> + . @ { ionicons - prefix } social - windows : before , <nl> + . @ { ionicons - prefix } social - windows - outline : before , <nl> + . @ { ionicons - prefix } social - wordpress : before , <nl> + . @ { ionicons - prefix } social - wordpress - outline : before , <nl> + . @ { ionicons - prefix } social - yahoo : before , <nl> + . @ { ionicons - prefix } social - yahoo - outline : before , <nl> + . @ { ionicons - prefix } social - yen : before , <nl> + . @ { ionicons - prefix } social - yen - outline : before , <nl> + . @ { ionicons - prefix } social - youtube : before , <nl> + . @ { ionicons - prefix } social - youtube - outline : before , <nl> + . @ { ionicons - prefix } soup - can : before , <nl> + . @ { ionicons - prefix } soup - can - outline : before , <nl> + . @ { ionicons - prefix } speakerphone : before , <nl> + . @ { ionicons - prefix } speedometer : before , <nl> + . @ { ionicons - prefix } spoon : before , <nl> + . @ { ionicons - prefix } star : before , <nl> + . @ { ionicons - prefix } stats - bars : before , <nl> + . @ { ionicons - prefix } steam : before , <nl> + . @ { ionicons - prefix } stop : before , <nl> + . @ { ionicons - prefix } thermometer : before , <nl> + . @ { ionicons - prefix } thumbsdown : before , <nl> + . @ { ionicons - prefix } thumbsup : before , <nl> + . @ { ionicons - prefix } toggle : before , <nl> + . @ { ionicons - prefix } toggle - filled : before , <nl> + . @ { ionicons - prefix } transgender : before , <nl> + . @ { ionicons - prefix } trash - a : before , <nl> + . @ { ionicons - prefix } trash - b : before , <nl> + . @ { ionicons - prefix } trophy : before , <nl> + . @ { ionicons - prefix } tshirt : before , <nl> + . @ { ionicons - prefix } tshirt - outline : before , <nl> + . @ { ionicons - prefix } umbrella : before , <nl> + . @ { ionicons - prefix } university : before , <nl> + . @ { ionicons - prefix } unlocked : before , <nl> + . @ { ionicons - prefix } upload : before , <nl> + . @ { ionicons - prefix } usb : before , <nl> + . @ { ionicons - prefix } videocamera : before , <nl> + . @ { ionicons - prefix } volume - high : before , <nl> + . @ { ionicons - prefix } volume - low : before , <nl> + . @ { ionicons - prefix } volume - medium : before , <nl> + . @ { ionicons - prefix } volume - mute : before , <nl> + . @ { ionicons - prefix } wand : before , <nl> + . @ { ionicons - prefix } waterdrop : before , <nl> + . @ { ionicons - prefix } wifi : before , <nl> + . @ { ionicons - prefix } wineglass : before , <nl> + . @ { ionicons - prefix } woman : before , <nl> + . @ { ionicons - prefix } wrench : before , <nl> + . @ { ionicons - prefix } xbox : before <nl> + { <nl> + & : extend ( . ion ) ; <nl> + } <nl> + . @ { ionicons - prefix } alert : before { content : @ ionicon - var - alert ; } <nl> + . @ { ionicons - prefix } alert - circled : before { content : @ ionicon - var - alert - circled ; } <nl> + . @ { ionicons - prefix } android - add : before { content : @ ionicon - var - android - add ; } <nl> + . @ { ionicons - prefix } android - add - circle : before { content : @ ionicon - var - android - add - circle ; } <nl> + . @ { ionicons - prefix } android - alarm - clock : before { content : @ ionicon - var - android - alarm - clock ; } <nl> + . @ { ionicons - prefix } android - alert : before { content : @ ionicon - var - android - alert ; } <nl> + . @ { ionicons - prefix } android - apps : before { content : @ ionicon - var - android - apps ; } <nl> + . @ { ionicons - prefix } android - archive : before { content : @ ionicon - var - android - archive ; } <nl> + . @ { ionicons - prefix } android - arrow - back : before { content : @ ionicon - var - android - arrow - back ; } <nl> + . @ { ionicons - prefix } android - arrow - down : before { content : @ ionicon - var - android - arrow - down ; } <nl> + . @ { ionicons - prefix } android - arrow - dropdown : before { content : @ ionicon - var - android - arrow - dropdown ; } <nl> + . @ { ionicons - prefix } android - arrow - dropdown - circle : before { content : @ ionicon - var - android - arrow - dropdown - circle ; } <nl> + . @ { ionicons - prefix } android - arrow - dropleft : before { content : @ ionicon - var - android - arrow - dropleft ; } <nl> + . @ { ionicons - prefix } android - arrow - dropleft - circle : before { content : @ ionicon - var - android - arrow - dropleft - circle ; } <nl> + . @ { ionicons - prefix } android - arrow - dropright : before { content : @ ionicon - var - android - arrow - dropright ; } <nl> + . @ { ionicons - prefix } android - arrow - dropright - circle : before { content : @ ionicon - var - android - arrow - dropright - circle ; } <nl> + . @ { ionicons - prefix } android - arrow - dropup : before { content : @ ionicon - var - android - arrow - dropup ; } <nl> + . @ { ionicons - prefix } android - arrow - dropup - circle : before { content : @ ionicon - var - android - arrow - dropup - circle ; } <nl> + . @ { ionicons - prefix } android - arrow - forward : before { content : @ ionicon - var - android - arrow - forward ; } <nl> + . @ { ionicons - prefix } android - arrow - up : before { content : @ ionicon - var - android - arrow - up ; } <nl> + . @ { ionicons - prefix } android - attach : before { content : @ ionicon - var - android - attach ; } <nl> + . @ { ionicons - prefix } android - bar : before { content : @ ionicon - var - android - bar ; } <nl> + . @ { ionicons - prefix } android - bicycle : before { content : @ ionicon - var - android - bicycle ; } <nl> + . @ { ionicons - prefix } android - boat : before { content : @ ionicon - var - android - boat ; } <nl> + . @ { ionicons - prefix } android - bookmark : before { content : @ ionicon - var - android - bookmark ; } <nl> + . @ { ionicons - prefix } android - bulb : before { content : @ ionicon - var - android - bulb ; } <nl> + . @ { ionicons - prefix } android - bus : before { content : @ ionicon - var - android - bus ; } <nl> + . @ { ionicons - prefix } android - calendar : before { content : @ ionicon - var - android - calendar ; } <nl> + . @ { ionicons - prefix } android - call : before { content : @ ionicon - var - android - call ; } <nl> + . @ { ionicons - prefix } android - camera : before { content : @ ionicon - var - android - camera ; } <nl> + . @ { ionicons - prefix } android - cancel : before { content : @ ionicon - var - android - cancel ; } <nl> + . @ { ionicons - prefix } android - car : before { content : @ ionicon - var - android - car ; } <nl> + . @ { ionicons - prefix } android - cart : before { content : @ ionicon - var - android - cart ; } <nl> + . @ { ionicons - prefix } android - chat : before { content : @ ionicon - var - android - chat ; } <nl> + . @ { ionicons - prefix } android - checkbox : before { content : @ ionicon - var - android - checkbox ; } <nl> + . @ { ionicons - prefix } android - checkbox - blank : before { content : @ ionicon - var - android - checkbox - blank ; } <nl> + . @ { ionicons - prefix } android - checkbox - outline : before { content : @ ionicon - var - android - checkbox - outline ; } <nl> + . @ { ionicons - prefix } android - checkbox - outline - blank : before { content : @ ionicon - var - android - checkbox - outline - blank ; } <nl> + . @ { ionicons - prefix } android - checkmark - circle : before { content : @ ionicon - var - android - checkmark - circle ; } <nl> + . @ { ionicons - prefix } android - clipboard : before { content : @ ionicon - var - android - clipboard ; } <nl> + . @ { ionicons - prefix } android - close : before { content : @ ionicon - var - android - close ; } <nl> + . @ { ionicons - prefix } android - cloud : before { content : @ ionicon - var - android - cloud ; } <nl> + . @ { ionicons - prefix } android - cloud - circle : before { content : @ ionicon - var - android - cloud - circle ; } <nl> + . @ { ionicons - prefix } android - cloud - done : before { content : @ ionicon - var - android - cloud - done ; } <nl> + . @ { ionicons - prefix } android - cloud - outline : before { content : @ ionicon - var - android - cloud - outline ; } <nl> + . @ { ionicons - prefix } android - color - palette : before { content : @ ionicon - var - android - color - palette ; } <nl> + . @ { ionicons - prefix } android - compass : before { content : @ ionicon - var - android - compass ; } <nl> + . @ { ionicons - prefix } android - contact : before { content : @ ionicon - var - android - contact ; } <nl> + . @ { ionicons - prefix } android - contacts : before { content : @ ionicon - var - android - contacts ; } <nl> + . @ { ionicons - prefix } android - contract : before { content : @ ionicon - var - android - contract ; } <nl> + . @ { ionicons - prefix } android - create : before { content : @ ionicon - var - android - create ; } <nl> + . @ { ionicons - prefix } android - delete : before { content : @ ionicon - var - android - delete ; } <nl> + . @ { ionicons - prefix } android - desktop : before { content : @ ionicon - var - android - desktop ; } <nl> + . @ { ionicons - prefix } android - document : before { content : @ ionicon - var - android - document ; } <nl> + . @ { ionicons - prefix } android - done : before { content : @ ionicon - var - android - done ; } <nl> + . @ { ionicons - prefix } android - done - all : before { content : @ ionicon - var - android - done - all ; } <nl> + . @ { ionicons - prefix } android - download : before { content : @ ionicon - var - android - download ; } <nl> + . @ { ionicons - prefix } android - drafts : before { content : @ ionicon - var - android - drafts ; } <nl> + . @ { ionicons - prefix } android - exit : before { content : @ ionicon - var - android - exit ; } <nl> + . @ { ionicons - prefix } android - expand : before { content : @ ionicon - var - android - expand ; } <nl> + . @ { ionicons - prefix } android - favorite : before { content : @ ionicon - var - android - favorite ; } <nl> + . @ { ionicons - prefix } android - favorite - outline : before { content : @ ionicon - var - android - favorite - outline ; } <nl> + . @ { ionicons - prefix } android - film : before { content : @ ionicon - var - android - film ; } <nl> + . @ { ionicons - prefix } android - folder : before { content : @ ionicon - var - android - folder ; } <nl> + . @ { ionicons - prefix } android - folder - open : before { content : @ ionicon - var - android - folder - open ; } <nl> + . @ { ionicons - prefix } android - funnel : before { content : @ ionicon - var - android - funnel ; } <nl> + . @ { ionicons - prefix } android - globe : before { content : @ ionicon - var - android - globe ; } <nl> + . @ { ionicons - prefix } android - hand : before { content : @ ionicon - var - android - hand ; } <nl> + . @ { ionicons - prefix } android - hangout : before { content : @ ionicon - var - android - hangout ; } <nl> + . @ { ionicons - prefix } android - happy : before { content : @ ionicon - var - android - happy ; } <nl> + . @ { ionicons - prefix } android - home : before { content : @ ionicon - var - android - home ; } <nl> + . @ { ionicons - prefix } android - image : before { content : @ ionicon - var - android - image ; } <nl> + . @ { ionicons - prefix } android - laptop : before { content : @ ionicon - var - android - laptop ; } <nl> + . @ { ionicons - prefix } android - list : before { content : @ ionicon - var - android - list ; } <nl> + . @ { ionicons - prefix } android - locate : before { content : @ ionicon - var - android - locate ; } <nl> + . @ { ionicons - prefix } android - lock : before { content : @ ionicon - var - android - lock ; } <nl> + . @ { ionicons - prefix } android - mail : before { content : @ ionicon - var - android - mail ; } <nl> + . @ { ionicons - prefix } android - map : before { content : @ ionicon - var - android - map ; } <nl> + . @ { ionicons - prefix } android - menu : before { content : @ ionicon - var - android - menu ; } <nl> + . @ { ionicons - prefix } android - microphone : before { content : @ ionicon - var - android - microphone ; } <nl> + . @ { ionicons - prefix } android - microphone - off : before { content : @ ionicon - var - android - microphone - off ; } <nl> + . @ { ionicons - prefix } android - more - horizontal : before { content : @ ionicon - var - android - more - horizontal ; } <nl> + . @ { ionicons - prefix } android - more - vertical : before { content : @ ionicon - var - android - more - vertical ; } <nl> + . @ { ionicons - prefix } android - navigate : before { content : @ ionicon - var - android - navigate ; } <nl> + . @ { ionicons - prefix } android - notifications : before { content : @ ionicon - var - android - notifications ; } <nl> + . @ { ionicons - prefix } android - notifications - none : before { content : @ ionicon - var - android - notifications - none ; } <nl> + . @ { ionicons - prefix } android - notifications - off : before { content : @ ionicon - var - android - notifications - off ; } <nl> + . @ { ionicons - prefix } android - open : before { content : @ ionicon - var - android - open ; } <nl> + . @ { ionicons - prefix } android - options : before { content : @ ionicon - var - android - options ; } <nl> + . @ { ionicons - prefix } android - people : before { content : @ ionicon - var - android - people ; } <nl> + . @ { ionicons - prefix } android - person : before { content : @ ionicon - var - android - person ; } <nl> + . @ { ionicons - prefix } android - person - add : before { content : @ ionicon - var - android - person - add ; } <nl> + . @ { ionicons - prefix } android - phone - landscape : before { content : @ ionicon - var - android - phone - landscape ; } <nl> + . @ { ionicons - prefix } android - phone - portrait : before { content : @ ionicon - var - android - phone - portrait ; } <nl> + . @ { ionicons - prefix } android - pin : before { content : @ ionicon - var - android - pin ; } <nl> + . @ { ionicons - prefix } android - plane : before { content : @ ionicon - var - android - plane ; } <nl> + . @ { ionicons - prefix } android - playstore : before { content : @ ionicon - var - android - playstore ; } <nl> + . @ { ionicons - prefix } android - print : before { content : @ ionicon - var - android - print ; } <nl> + . @ { ionicons - prefix } android - radio - button - off : before { content : @ ionicon - var - android - radio - button - off ; } <nl> + . @ { ionicons - prefix } android - radio - button - on : before { content : @ ionicon - var - android - radio - button - on ; } <nl> + . @ { ionicons - prefix } android - refresh : before { content : @ ionicon - var - android - refresh ; } <nl> + . @ { ionicons - prefix } android - remove : before { content : @ ionicon - var - android - remove ; } <nl> + . @ { ionicons - prefix } android - remove - circle : before { content : @ ionicon - var - android - remove - circle ; } <nl> + . @ { ionicons - prefix } android - restaurant : before { content : @ ionicon - var - android - restaurant ; } <nl> + . @ { ionicons - prefix } android - sad : before { content : @ ionicon - var - android - sad ; } <nl> + . @ { ionicons - prefix } android - search : before { content : @ ionicon - var - android - search ; } <nl> + . @ { ionicons - prefix } android - send : before { content : @ ionicon - var - android - send ; } <nl> + . @ { ionicons - prefix } android - settings : before { content : @ ionicon - var - android - settings ; } <nl> + . @ { ionicons - prefix } android - share : before { content : @ ionicon - var - android - share ; } <nl> + . @ { ionicons - prefix } android - share - alt : before { content : @ ionicon - var - android - share - alt ; } <nl> + . @ { ionicons - prefix } android - star : before { content : @ ionicon - var - android - star ; } <nl> + . @ { ionicons - prefix } android - star - half : before { content : @ ionicon - var - android - star - half ; } <nl> + . @ { ionicons - prefix } android - star - outline : before { content : @ ionicon - var - android - star - outline ; } <nl> + . @ { ionicons - prefix } android - stopwatch : before { content : @ ionicon - var - android - stopwatch ; } <nl> + . @ { ionicons - prefix } android - subway : before { content : @ ionicon - var - android - subway ; } <nl> + . @ { ionicons - prefix } android - sunny : before { content : @ ionicon - var - android - sunny ; } <nl> + . @ { ionicons - prefix } android - sync : before { content : @ ionicon - var - android - sync ; } <nl> + . @ { ionicons - prefix } android - textsms : before { content : @ ionicon - var - android - textsms ; } <nl> + . @ { ionicons - prefix } android - time : before { content : @ ionicon - var - android - time ; } <nl> + . @ { ionicons - prefix } android - train : before { content : @ ionicon - var - android - train ; } <nl> + . @ { ionicons - prefix } android - unlock : before { content : @ ionicon - var - android - unlock ; } <nl> + . @ { ionicons - prefix } android - upload : before { content : @ ionicon - var - android - upload ; } <nl> + . @ { ionicons - prefix } android - volume - down : before { content : @ ionicon - var - android - volume - down ; } <nl> + . @ { ionicons - prefix } android - volume - mute : before { content : @ ionicon - var - android - volume - mute ; } <nl> + . @ { ionicons - prefix } android - volume - off : before { content : @ ionicon - var - android - volume - off ; } <nl> + . @ { ionicons - prefix } android - volume - up : before { content : @ ionicon - var - android - volume - up ; } <nl> + . @ { ionicons - prefix } android - walk : before { content : @ ionicon - var - android - walk ; } <nl> + . @ { ionicons - prefix } android - warning : before { content : @ ionicon - var - android - warning ; } <nl> + . @ { ionicons - prefix } android - watch : before { content : @ ionicon - var - android - watch ; } <nl> + . @ { ionicons - prefix } android - wifi : before { content : @ ionicon - var - android - wifi ; } <nl> + . @ { ionicons - prefix } aperture : before { content : @ ionicon - var - aperture ; } <nl> + . @ { ionicons - prefix } archive : before { content : @ ionicon - var - archive ; } <nl> + . @ { ionicons - prefix } arrow - down - a : before { content : @ ionicon - var - arrow - down - a ; } <nl> + . @ { ionicons - prefix } arrow - down - b : before { content : @ ionicon - var - arrow - down - b ; } <nl> + . @ { ionicons - prefix } arrow - down - c : before { content : @ ionicon - var - arrow - down - c ; } <nl> + . @ { ionicons - prefix } arrow - expand : before { content : @ ionicon - var - arrow - expand ; } <nl> + . @ { ionicons - prefix } arrow - graph - down - left : before { content : @ ionicon - var - arrow - graph - down - left ; } <nl> + . @ { ionicons - prefix } arrow - graph - down - right : before { content : @ ionicon - var - arrow - graph - down - right ; } <nl> + . @ { ionicons - prefix } arrow - graph - up - left : before { content : @ ionicon - var - arrow - graph - up - left ; } <nl> + . @ { ionicons - prefix } arrow - graph - up - right : before { content : @ ionicon - var - arrow - graph - up - right ; } <nl> + . @ { ionicons - prefix } arrow - left - a : before { content : @ ionicon - var - arrow - left - a ; } <nl> + . @ { ionicons - prefix } arrow - left - b : before { content : @ ionicon - var - arrow - left - b ; } <nl> + . @ { ionicons - prefix } arrow - left - c : before { content : @ ionicon - var - arrow - left - c ; } <nl> + . @ { ionicons - prefix } arrow - move : before { content : @ ionicon - var - arrow - move ; } <nl> + . @ { ionicons - prefix } arrow - resize : before { content : @ ionicon - var - arrow - resize ; } <nl> + . @ { ionicons - prefix } arrow - return - left : before { content : @ ionicon - var - arrow - return - left ; } <nl> + . @ { ionicons - prefix } arrow - return - right : before { content : @ ionicon - var - arrow - return - right ; } <nl> + . @ { ionicons - prefix } arrow - right - a : before { content : @ ionicon - var - arrow - right - a ; } <nl> + . @ { ionicons - prefix } arrow - right - b : before { content : @ ionicon - var - arrow - right - b ; } <nl> + . @ { ionicons - prefix } arrow - right - c : before { content : @ ionicon - var - arrow - right - c ; } <nl> + . @ { ionicons - prefix } arrow - shrink : before { content : @ ionicon - var - arrow - shrink ; } <nl> + . @ { ionicons - prefix } arrow - swap : before { content : @ ionicon - var - arrow - swap ; } <nl> + . @ { ionicons - prefix } arrow - up - a : before { content : @ ionicon - var - arrow - up - a ; } <nl> + . @ { ionicons - prefix } arrow - up - b : before { content : @ ionicon - var - arrow - up - b ; } <nl> + . @ { ionicons - prefix } arrow - up - c : before { content : @ ionicon - var - arrow - up - c ; } <nl> + . @ { ionicons - prefix } asterisk : before { content : @ ionicon - var - asterisk ; } <nl> + . @ { ionicons - prefix } at : before { content : @ ionicon - var - at ; } <nl> + . @ { ionicons - prefix } backspace : before { content : @ ionicon - var - backspace ; } <nl> + . @ { ionicons - prefix } backspace - outline : before { content : @ ionicon - var - backspace - outline ; } <nl> + . @ { ionicons - prefix } bag : before { content : @ ionicon - var - bag ; } <nl> + . @ { ionicons - prefix } battery - charging : before { content : @ ionicon - var - battery - charging ; } <nl> + . @ { ionicons - prefix } battery - empty : before { content : @ ionicon - var - battery - empty ; } <nl> + . @ { ionicons - prefix } battery - full : before { content : @ ionicon - var - battery - full ; } <nl> + . @ { ionicons - prefix } battery - half : before { content : @ ionicon - var - battery - half ; } <nl> + . @ { ionicons - prefix } battery - low : before { content : @ ionicon - var - battery - low ; } <nl> + . @ { ionicons - prefix } beaker : before { content : @ ionicon - var - beaker ; } <nl> + . @ { ionicons - prefix } beer : before { content : @ ionicon - var - beer ; } <nl> + . @ { ionicons - prefix } bluetooth : before { content : @ ionicon - var - bluetooth ; } <nl> + . @ { ionicons - prefix } bonfire : before { content : @ ionicon - var - bonfire ; } <nl> + . @ { ionicons - prefix } bookmark : before { content : @ ionicon - var - bookmark ; } <nl> + . @ { ionicons - prefix } bowtie : before { content : @ ionicon - var - bowtie ; } <nl> + . @ { ionicons - prefix } briefcase : before { content : @ ionicon - var - briefcase ; } <nl> + . @ { ionicons - prefix } bug : before { content : @ ionicon - var - bug ; } <nl> + . @ { ionicons - prefix } calculator : before { content : @ ionicon - var - calculator ; } <nl> + . @ { ionicons - prefix } calendar : before { content : @ ionicon - var - calendar ; } <nl> + . @ { ionicons - prefix } camera : before { content : @ ionicon - var - camera ; } <nl> + . @ { ionicons - prefix } card : before { content : @ ionicon - var - card ; } <nl> + . @ { ionicons - prefix } cash : before { content : @ ionicon - var - cash ; } <nl> + . @ { ionicons - prefix } chatbox : before { content : @ ionicon - var - chatbox ; } <nl> + . @ { ionicons - prefix } chatbox - working : before { content : @ ionicon - var - chatbox - working ; } <nl> + . @ { ionicons - prefix } chatboxes : before { content : @ ionicon - var - chatboxes ; } <nl> + . @ { ionicons - prefix } chatbubble : before { content : @ ionicon - var - chatbubble ; } <nl> + . @ { ionicons - prefix } chatbubble - working : before { content : @ ionicon - var - chatbubble - working ; } <nl> + . @ { ionicons - prefix } chatbubbles : before { content : @ ionicon - var - chatbubbles ; } <nl> + . @ { ionicons - prefix } checkmark : before { content : @ ionicon - var - checkmark ; } <nl> + . @ { ionicons - prefix } checkmark - circled : before { content : @ ionicon - var - checkmark - circled ; } <nl> + . @ { ionicons - prefix } checkmark - round : before { content : @ ionicon - var - checkmark - round ; } <nl> + . @ { ionicons - prefix } chevron - down : before { content : @ ionicon - var - chevron - down ; } <nl> + . @ { ionicons - prefix } chevron - left : before { content : @ ionicon - var - chevron - left ; } <nl> + . @ { ionicons - prefix } chevron - right : before { content : @ ionicon - var - chevron - right ; } <nl> + . @ { ionicons - prefix } chevron - up : before { content : @ ionicon - var - chevron - up ; } <nl> + . @ { ionicons - prefix } clipboard : before { content : @ ionicon - var - clipboard ; } <nl> + . @ { ionicons - prefix } clock : before { content : @ ionicon - var - clock ; } <nl> + . @ { ionicons - prefix } close : before { content : @ ionicon - var - close ; } <nl> + . @ { ionicons - prefix } close - circled : before { content : @ ionicon - var - close - circled ; } <nl> + . @ { ionicons - prefix } close - round : before { content : @ ionicon - var - close - round ; } <nl> + . @ { ionicons - prefix } closed - captioning : before { content : @ ionicon - var - closed - captioning ; } <nl> + . @ { ionicons - prefix } cloud : before { content : @ ionicon - var - cloud ; } <nl> + . @ { ionicons - prefix } code : before { content : @ ionicon - var - code ; } <nl> + . @ { ionicons - prefix } code - download : before { content : @ ionicon - var - code - download ; } <nl> + . @ { ionicons - prefix } code - working : before { content : @ ionicon - var - code - working ; } <nl> + . @ { ionicons - prefix } coffee : before { content : @ ionicon - var - coffee ; } <nl> + . @ { ionicons - prefix } compass : before { content : @ ionicon - var - compass ; } <nl> + . @ { ionicons - prefix } compose : before { content : @ ionicon - var - compose ; } <nl> + . @ { ionicons - prefix } connection - bars : before { content : @ ionicon - var - connection - bars ; } <nl> + . @ { ionicons - prefix } contrast : before { content : @ ionicon - var - contrast ; } <nl> + . @ { ionicons - prefix } crop : before { content : @ ionicon - var - crop ; } <nl> + . @ { ionicons - prefix } cube : before { content : @ ionicon - var - cube ; } <nl> + . @ { ionicons - prefix } disc : before { content : @ ionicon - var - disc ; } <nl> + . @ { ionicons - prefix } document : before { content : @ ionicon - var - document ; } <nl> + . @ { ionicons - prefix } document - text : before { content : @ ionicon - var - document - text ; } <nl> + . @ { ionicons - prefix } drag : before { content : @ ionicon - var - drag ; } <nl> + . @ { ionicons - prefix } earth : before { content : @ ionicon - var - earth ; } <nl> + . @ { ionicons - prefix } easel : before { content : @ ionicon - var - easel ; } <nl> + . @ { ionicons - prefix } edit : before { content : @ ionicon - var - edit ; } <nl> + . @ { ionicons - prefix } egg : before { content : @ ionicon - var - egg ; } <nl> + . @ { ionicons - prefix } eject : before { content : @ ionicon - var - eject ; } <nl> + . @ { ionicons - prefix } email : before { content : @ ionicon - var - email ; } <nl> + . @ { ionicons - prefix } email - unread : before { content : @ ionicon - var - email - unread ; } <nl> + . @ { ionicons - prefix } erlenmeyer - flask : before { content : @ ionicon - var - erlenmeyer - flask ; } <nl> + . @ { ionicons - prefix } erlenmeyer - flask - bubbles : before { content : @ ionicon - var - erlenmeyer - flask - bubbles ; } <nl> + . @ { ionicons - prefix } eye : before { content : @ ionicon - var - eye ; } <nl> + . @ { ionicons - prefix } eye - disabled : before { content : @ ionicon - var - eye - disabled ; } <nl> + . @ { ionicons - prefix } female : before { content : @ ionicon - var - female ; } <nl> + . @ { ionicons - prefix } filing : before { content : @ ionicon - var - filing ; } <nl> + . @ { ionicons - prefix } film - marker : before { content : @ ionicon - var - film - marker ; } <nl> + . @ { ionicons - prefix } fireball : before { content : @ ionicon - var - fireball ; } <nl> + . @ { ionicons - prefix } flag : before { content : @ ionicon - var - flag ; } <nl> + . @ { ionicons - prefix } flame : before { content : @ ionicon - var - flame ; } <nl> + . @ { ionicons - prefix } flash : before { content : @ ionicon - var - flash ; } <nl> + . @ { ionicons - prefix } flash - off : before { content : @ ionicon - var - flash - off ; } <nl> + . @ { ionicons - prefix } folder : before { content : @ ionicon - var - folder ; } <nl> + . @ { ionicons - prefix } fork : before { content : @ ionicon - var - fork ; } <nl> + . @ { ionicons - prefix } fork - repo : before { content : @ ionicon - var - fork - repo ; } <nl> + . @ { ionicons - prefix } forward : before { content : @ ionicon - var - forward ; } <nl> + . @ { ionicons - prefix } funnel : before { content : @ ionicon - var - funnel ; } <nl> + . @ { ionicons - prefix } gear - a : before { content : @ ionicon - var - gear - a ; } <nl> + . @ { ionicons - prefix } gear - b : before { content : @ ionicon - var - gear - b ; } <nl> + . @ { ionicons - prefix } grid : before { content : @ ionicon - var - grid ; } <nl> + . @ { ionicons - prefix } hammer : before { content : @ ionicon - var - hammer ; } <nl> + . @ { ionicons - prefix } happy : before { content : @ ionicon - var - happy ; } <nl> + . @ { ionicons - prefix } happy - outline : before { content : @ ionicon - var - happy - outline ; } <nl> + . @ { ionicons - prefix } headphone : before { content : @ ionicon - var - headphone ; } <nl> + . @ { ionicons - prefix } heart : before { content : @ ionicon - var - heart ; } <nl> + . @ { ionicons - prefix } heart - broken : before { content : @ ionicon - var - heart - broken ; } <nl> + . @ { ionicons - prefix } help : before { content : @ ionicon - var - help ; } <nl> + . @ { ionicons - prefix } help - buoy : before { content : @ ionicon - var - help - buoy ; } <nl> + . @ { ionicons - prefix } help - circled : before { content : @ ionicon - var - help - circled ; } <nl> + . @ { ionicons - prefix } home : before { content : @ ionicon - var - home ; } <nl> + . @ { ionicons - prefix } icecream : before { content : @ ionicon - var - icecream ; } <nl> + . @ { ionicons - prefix } image : before { content : @ ionicon - var - image ; } <nl> + . @ { ionicons - prefix } images : before { content : @ ionicon - var - images ; } <nl> + . @ { ionicons - prefix } information : before { content : @ ionicon - var - information ; } <nl> + . @ { ionicons - prefix } information - circled : before { content : @ ionicon - var - information - circled ; } <nl> + . @ { ionicons - prefix } ionic : before { content : @ ionicon - var - ionic ; } <nl> + . @ { ionicons - prefix } ios - alarm : before { content : @ ionicon - var - ios - alarm ; } <nl> + . @ { ionicons - prefix } ios - alarm - outline : before { content : @ ionicon - var - ios - alarm - outline ; } <nl> + . @ { ionicons - prefix } ios - albums : before { content : @ ionicon - var - ios - albums ; } <nl> + . @ { ionicons - prefix } ios - albums - outline : before { content : @ ionicon - var - ios - albums - outline ; } <nl> + . @ { ionicons - prefix } ios - americanfootball : before { content : @ ionicon - var - ios - americanfootball ; } <nl> + . @ { ionicons - prefix } ios - americanfootball - outline : before { content : @ ionicon - var - ios - americanfootball - outline ; } <nl> + . @ { ionicons - prefix } ios - analytics : before { content : @ ionicon - var - ios - analytics ; } <nl> + . @ { ionicons - prefix } ios - analytics - outline : before { content : @ ionicon - var - ios - analytics - outline ; } <nl> + . @ { ionicons - prefix } ios - arrow - back : before { content : @ ionicon - var - ios - arrow - back ; } <nl> + . @ { ionicons - prefix } ios - arrow - down : before { content : @ ionicon - var - ios - arrow - down ; } <nl> + . @ { ionicons - prefix } ios - arrow - forward : before { content : @ ionicon - var - ios - arrow - forward ; } <nl> + . @ { ionicons - prefix } ios - arrow - left : before { content : @ ionicon - var - ios - arrow - left ; } <nl> + . @ { ionicons - prefix } ios - arrow - right : before { content : @ ionicon - var - ios - arrow - right ; } <nl> + . @ { ionicons - prefix } ios - arrow - thin - down : before { content : @ ionicon - var - ios - arrow - thin - down ; } <nl> + . @ { ionicons - prefix } ios - arrow - thin - left : before { content : @ ionicon - var - ios - arrow - thin - left ; } <nl> + . @ { ionicons - prefix } ios - arrow - thin - right : before { content : @ ionicon - var - ios - arrow - thin - right ; } <nl> + . @ { ionicons - prefix } ios - arrow - thin - up : before { content : @ ionicon - var - ios - arrow - thin - up ; } <nl> + . @ { ionicons - prefix } ios - arrow - up : before { content : @ ionicon - var - ios - arrow - up ; } <nl> + . @ { ionicons - prefix } ios - at : before { content : @ ionicon - var - ios - at ; } <nl> + . @ { ionicons - prefix } ios - at - outline : before { content : @ ionicon - var - ios - at - outline ; } <nl> + . @ { ionicons - prefix } ios - barcode : before { content : @ ionicon - var - ios - barcode ; } <nl> + . @ { ionicons - prefix } ios - barcode - outline : before { content : @ ionicon - var - ios - barcode - outline ; } <nl> + . @ { ionicons - prefix } ios - baseball : before { content : @ ionicon - var - ios - baseball ; } <nl> + . @ { ionicons - prefix } ios - baseball - outline : before { content : @ ionicon - var - ios - baseball - outline ; } <nl> + . @ { ionicons - prefix } ios - basketball : before { content : @ ionicon - var - ios - basketball ; } <nl> + . @ { ionicons - prefix } ios - basketball - outline : before { content : @ ionicon - var - ios - basketball - outline ; } <nl> + . @ { ionicons - prefix } ios - bell : before { content : @ ionicon - var - ios - bell ; } <nl> + . @ { ionicons - prefix } ios - bell - outline : before { content : @ ionicon - var - ios - bell - outline ; } <nl> + . @ { ionicons - prefix } ios - body : before { content : @ ionicon - var - ios - body ; } <nl> + . @ { ionicons - prefix } ios - body - outline : before { content : @ ionicon - var - ios - body - outline ; } <nl> + . @ { ionicons - prefix } ios - bolt : before { content : @ ionicon - var - ios - bolt ; } <nl> + . @ { ionicons - prefix } ios - bolt - outline : before { content : @ ionicon - var - ios - bolt - outline ; } <nl> + . @ { ionicons - prefix } ios - book : before { content : @ ionicon - var - ios - book ; } <nl> + . @ { ionicons - prefix } ios - book - outline : before { content : @ ionicon - var - ios - book - outline ; } <nl> + . @ { ionicons - prefix } ios - bookmarks : before { content : @ ionicon - var - ios - bookmarks ; } <nl> + . @ { ionicons - prefix } ios - bookmarks - outline : before { content : @ ionicon - var - ios - bookmarks - outline ; } <nl> + . @ { ionicons - prefix } ios - box : before { content : @ ionicon - var - ios - box ; } <nl> + . @ { ionicons - prefix } ios - box - outline : before { content : @ ionicon - var - ios - box - outline ; } <nl> + . @ { ionicons - prefix } ios - briefcase : before { content : @ ionicon - var - ios - briefcase ; } <nl> + . @ { ionicons - prefix } ios - briefcase - outline : before { content : @ ionicon - var - ios - briefcase - outline ; } <nl> + . @ { ionicons - prefix } ios - browsers : before { content : @ ionicon - var - ios - browsers ; } <nl> + . @ { ionicons - prefix } ios - browsers - outline : before { content : @ ionicon - var - ios - browsers - outline ; } <nl> + . @ { ionicons - prefix } ios - calculator : before { content : @ ionicon - var - ios - calculator ; } <nl> + . @ { ionicons - prefix } ios - calculator - outline : before { content : @ ionicon - var - ios - calculator - outline ; } <nl> + . @ { ionicons - prefix } ios - calendar : before { content : @ ionicon - var - ios - calendar ; } <nl> + . @ { ionicons - prefix } ios - calendar - outline : before { content : @ ionicon - var - ios - calendar - outline ; } <nl> + . @ { ionicons - prefix } ios - camera : before { content : @ ionicon - var - ios - camera ; } <nl> + . @ { ionicons - prefix } ios - camera - outline : before { content : @ ionicon - var - ios - camera - outline ; } <nl> + . @ { ionicons - prefix } ios - cart : before { content : @ ionicon - var - ios - cart ; } <nl> + . @ { ionicons - prefix } ios - cart - outline : before { content : @ ionicon - var - ios - cart - outline ; } <nl> + . @ { ionicons - prefix } ios - chatboxes : before { content : @ ionicon - var - ios - chatboxes ; } <nl> + . @ { ionicons - prefix } ios - chatboxes - outline : before { content : @ ionicon - var - ios - chatboxes - outline ; } <nl> + . @ { ionicons - prefix } ios - chatbubble : before { content : @ ionicon - var - ios - chatbubble ; } <nl> + . @ { ionicons - prefix } ios - chatbubble - outline : before { content : @ ionicon - var - ios - chatbubble - outline ; } <nl> + . @ { ionicons - prefix } ios - checkmark : before { content : @ ionicon - var - ios - checkmark ; } <nl> + . @ { ionicons - prefix } ios - checkmark - empty : before { content : @ ionicon - var - ios - checkmark - empty ; } <nl> + . @ { ionicons - prefix } ios - checkmark - outline : before { content : @ ionicon - var - ios - checkmark - outline ; } <nl> + . @ { ionicons - prefix } ios - circle - filled : before { content : @ ionicon - var - ios - circle - filled ; } <nl> + . @ { ionicons - prefix } ios - circle - outline : before { content : @ ionicon - var - ios - circle - outline ; } <nl> + . @ { ionicons - prefix } ios - clock : before { content : @ ionicon - var - ios - clock ; } <nl> + . @ { ionicons - prefix } ios - clock - outline : before { content : @ ionicon - var - ios - clock - outline ; } <nl> + . @ { ionicons - prefix } ios - close : before { content : @ ionicon - var - ios - close ; } <nl> + . @ { ionicons - prefix } ios - close - empty : before { content : @ ionicon - var - ios - close - empty ; } <nl> + . @ { ionicons - prefix } ios - close - outline : before { content : @ ionicon - var - ios - close - outline ; } <nl> + . @ { ionicons - prefix } ios - cloud : before { content : @ ionicon - var - ios - cloud ; } <nl> + . @ { ionicons - prefix } ios - cloud - download : before { content : @ ionicon - var - ios - cloud - download ; } <nl> + . @ { ionicons - prefix } ios - cloud - download - outline : before { content : @ ionicon - var - ios - cloud - download - outline ; } <nl> + . @ { ionicons - prefix } ios - cloud - outline : before { content : @ ionicon - var - ios - cloud - outline ; } <nl> + . @ { ionicons - prefix } ios - cloud - upload : before { content : @ ionicon - var - ios - cloud - upload ; } <nl> + . @ { ionicons - prefix } ios - cloud - upload - outline : before { content : @ ionicon - var - ios - cloud - upload - outline ; } <nl> + . @ { ionicons - prefix } ios - cloudy : before { content : @ ionicon - var - ios - cloudy ; } <nl> + . @ { ionicons - prefix } ios - cloudy - night : before { content : @ ionicon - var - ios - cloudy - night ; } <nl> + . @ { ionicons - prefix } ios - cloudy - night - outline : before { content : @ ionicon - var - ios - cloudy - night - outline ; } <nl> + . @ { ionicons - prefix } ios - cloudy - outline : before { content : @ ionicon - var - ios - cloudy - outline ; } <nl> + . @ { ionicons - prefix } ios - cog : before { content : @ ionicon - var - ios - cog ; } <nl> + . @ { ionicons - prefix } ios - cog - outline : before { content : @ ionicon - var - ios - cog - outline ; } <nl> + . @ { ionicons - prefix } ios - color - filter : before { content : @ ionicon - var - ios - color - filter ; } <nl> + . @ { ionicons - prefix } ios - color - filter - outline : before { content : @ ionicon - var - ios - color - filter - outline ; } <nl> + . @ { ionicons - prefix } ios - color - wand : before { content : @ ionicon - var - ios - color - wand ; } <nl> + . @ { ionicons - prefix } ios - color - wand - outline : before { content : @ ionicon - var - ios - color - wand - outline ; } <nl> + . @ { ionicons - prefix } ios - compose : before { content : @ ionicon - var - ios - compose ; } <nl> + . @ { ionicons - prefix } ios - compose - outline : before { content : @ ionicon - var - ios - compose - outline ; } <nl> + . @ { ionicons - prefix } ios - contact : before { content : @ ionicon - var - ios - contact ; } <nl> + . @ { ionicons - prefix } ios - contact - outline : before { content : @ ionicon - var - ios - contact - outline ; } <nl> + . @ { ionicons - prefix } ios - copy : before { content : @ ionicon - var - ios - copy ; } <nl> + . @ { ionicons - prefix } ios - copy - outline : before { content : @ ionicon - var - ios - copy - outline ; } <nl> + . @ { ionicons - prefix } ios - crop : before { content : @ ionicon - var - ios - crop ; } <nl> + . @ { ionicons - prefix } ios - crop - strong : before { content : @ ionicon - var - ios - crop - strong ; } <nl> + . @ { ionicons - prefix } ios - download : before { content : @ ionicon - var - ios - download ; } <nl> + . @ { ionicons - prefix } ios - download - outline : before { content : @ ionicon - var - ios - download - outline ; } <nl> + . @ { ionicons - prefix } ios - drag : before { content : @ ionicon - var - ios - drag ; } <nl> + . @ { ionicons - prefix } ios - email : before { content : @ ionicon - var - ios - email ; } <nl> + . @ { ionicons - prefix } ios - email - outline : before { content : @ ionicon - var - ios - email - outline ; } <nl> + . @ { ionicons - prefix } ios - eye : before { content : @ ionicon - var - ios - eye ; } <nl> + . @ { ionicons - prefix } ios - eye - outline : before { content : @ ionicon - var - ios - eye - outline ; } <nl> + . @ { ionicons - prefix } ios - fastforward : before { content : @ ionicon - var - ios - fastforward ; } <nl> + . @ { ionicons - prefix } ios - fastforward - outline : before { content : @ ionicon - var - ios - fastforward - outline ; } <nl> + . @ { ionicons - prefix } ios - filing : before { content : @ ionicon - var - ios - filing ; } <nl> + . @ { ionicons - prefix } ios - filing - outline : before { content : @ ionicon - var - ios - filing - outline ; } <nl> + . @ { ionicons - prefix } ios - film : before { content : @ ionicon - var - ios - film ; } <nl> + . @ { ionicons - prefix } ios - film - outline : before { content : @ ionicon - var - ios - film - outline ; } <nl> + . @ { ionicons - prefix } ios - flag : before { content : @ ionicon - var - ios - flag ; } <nl> + . @ { ionicons - prefix } ios - flag - outline : before { content : @ ionicon - var - ios - flag - outline ; } <nl> + . @ { ionicons - prefix } ios - flame : before { content : @ ionicon - var - ios - flame ; } <nl> + . @ { ionicons - prefix } ios - flame - outline : before { content : @ ionicon - var - ios - flame - outline ; } <nl> + . @ { ionicons - prefix } ios - flask : before { content : @ ionicon - var - ios - flask ; } <nl> + . @ { ionicons - prefix } ios - flask - outline : before { content : @ ionicon - var - ios - flask - outline ; } <nl> + . @ { ionicons - prefix } ios - flower : before { content : @ ionicon - var - ios - flower ; } <nl> + . @ { ionicons - prefix } ios - flower - outline : before { content : @ ionicon - var - ios - flower - outline ; } <nl> + . @ { ionicons - prefix } ios - folder : before { content : @ ionicon - var - ios - folder ; } <nl> + . @ { ionicons - prefix } ios - folder - outline : before { content : @ ionicon - var - ios - folder - outline ; } <nl> + . @ { ionicons - prefix } ios - football : before { content : @ ionicon - var - ios - football ; } <nl> + . @ { ionicons - prefix } ios - football - outline : before { content : @ ionicon - var - ios - football - outline ; } <nl> + . @ { ionicons - prefix } ios - game - controller - a : before { content : @ ionicon - var - ios - game - controller - a ; } <nl> + . @ { ionicons - prefix } ios - game - controller - a - outline : before { content : @ ionicon - var - ios - game - controller - a - outline ; } <nl> + . @ { ionicons - prefix } ios - game - controller - b : before { content : @ ionicon - var - ios - game - controller - b ; } <nl> + . @ { ionicons - prefix } ios - game - controller - b - outline : before { content : @ ionicon - var - ios - game - controller - b - outline ; } <nl> + . @ { ionicons - prefix } ios - gear : before { content : @ ionicon - var - ios - gear ; } <nl> + . @ { ionicons - prefix } ios - gear - outline : before { content : @ ionicon - var - ios - gear - outline ; } <nl> + . @ { ionicons - prefix } ios - glasses : before { content : @ ionicon - var - ios - glasses ; } <nl> + . @ { ionicons - prefix } ios - glasses - outline : before { content : @ ionicon - var - ios - glasses - outline ; } <nl> + . @ { ionicons - prefix } ios - grid - view : before { content : @ ionicon - var - ios - grid - view ; } <nl> + . @ { ionicons - prefix } ios - grid - view - outline : before { content : @ ionicon - var - ios - grid - view - outline ; } <nl> + . @ { ionicons - prefix } ios - heart : before { content : @ ionicon - var - ios - heart ; } <nl> + . @ { ionicons - prefix } ios - heart - outline : before { content : @ ionicon - var - ios - heart - outline ; } <nl> + . @ { ionicons - prefix } ios - help : before { content : @ ionicon - var - ios - help ; } <nl> + . @ { ionicons - prefix } ios - help - empty : before { content : @ ionicon - var - ios - help - empty ; } <nl> + . @ { ionicons - prefix } ios - help - outline : before { content : @ ionicon - var - ios - help - outline ; } <nl> + . @ { ionicons - prefix } ios - home : before { content : @ ionicon - var - ios - home ; } <nl> + . @ { ionicons - prefix } ios - home - outline : before { content : @ ionicon - var - ios - home - outline ; } <nl> + . @ { ionicons - prefix } ios - infinite : before { content : @ ionicon - var - ios - infinite ; } <nl> + . @ { ionicons - prefix } ios - infinite - outline : before { content : @ ionicon - var - ios - infinite - outline ; } <nl> + . @ { ionicons - prefix } ios - information : before { content : @ ionicon - var - ios - information ; } <nl> + . @ { ionicons - prefix } ios - information - empty : before { content : @ ionicon - var - ios - information - empty ; } <nl> + . @ { ionicons - prefix } ios - information - outline : before { content : @ ionicon - var - ios - information - outline ; } <nl> + . @ { ionicons - prefix } ios - ionic - outline : before { content : @ ionicon - var - ios - ionic - outline ; } <nl> + . @ { ionicons - prefix } ios - keypad : before { content : @ ionicon - var - ios - keypad ; } <nl> + . @ { ionicons - prefix } ios - keypad - outline : before { content : @ ionicon - var - ios - keypad - outline ; } <nl> + . @ { ionicons - prefix } ios - lightbulb : before { content : @ ionicon - var - ios - lightbulb ; } <nl> + . @ { ionicons - prefix } ios - lightbulb - outline : before { content : @ ionicon - var - ios - lightbulb - outline ; } <nl> + . @ { ionicons - prefix } ios - list : before { content : @ ionicon - var - ios - list ; } <nl> + . @ { ionicons - prefix } ios - list - outline : before { content : @ ionicon - var - ios - list - outline ; } <nl> + . @ { ionicons - prefix } ios - location : before { content : @ ionicon - var - ios - location ; } <nl> + . @ { ionicons - prefix } ios - location - outline : before { content : @ ionicon - var - ios - location - outline ; } <nl> + . @ { ionicons - prefix } ios - locked : before { content : @ ionicon - var - ios - locked ; } <nl> + . @ { ionicons - prefix } ios - locked - outline : before { content : @ ionicon - var - ios - locked - outline ; } <nl> + . @ { ionicons - prefix } ios - loop : before { content : @ ionicon - var - ios - loop ; } <nl> + . @ { ionicons - prefix } ios - loop - strong : before { content : @ ionicon - var - ios - loop - strong ; } <nl> + . @ { ionicons - prefix } ios - medical : before { content : @ ionicon - var - ios - medical ; } <nl> + . @ { ionicons - prefix } ios - medical - outline : before { content : @ ionicon - var - ios - medical - outline ; } <nl> + . @ { ionicons - prefix } ios - medkit : before { content : @ ionicon - var - ios - medkit ; } <nl> + . @ { ionicons - prefix } ios - medkit - outline : before { content : @ ionicon - var - ios - medkit - outline ; } <nl> + . @ { ionicons - prefix } ios - mic : before { content : @ ionicon - var - ios - mic ; } <nl> + . @ { ionicons - prefix } ios - mic - off : before { content : @ ionicon - var - ios - mic - off ; } <nl> + . @ { ionicons - prefix } ios - mic - outline : before { content : @ ionicon - var - ios - mic - outline ; } <nl> + . @ { ionicons - prefix } ios - minus : before { content : @ ionicon - var - ios - minus ; } <nl> + . @ { ionicons - prefix } ios - minus - empty : before { content : @ ionicon - var - ios - minus - empty ; } <nl> + . @ { ionicons - prefix } ios - minus - outline : before { content : @ ionicon - var - ios - minus - outline ; } <nl> + . @ { ionicons - prefix } ios - monitor : before { content : @ ionicon - var - ios - monitor ; } <nl> + . @ { ionicons - prefix } ios - monitor - outline : before { content : @ ionicon - var - ios - monitor - outline ; } <nl> + . @ { ionicons - prefix } ios - moon : before { content : @ ionicon - var - ios - moon ; } <nl> + . @ { ionicons - prefix } ios - moon - outline : before { content : @ ionicon - var - ios - moon - outline ; } <nl> + . @ { ionicons - prefix } ios - more : before { content : @ ionicon - var - ios - more ; } <nl> + . @ { ionicons - prefix } ios - more - outline : before { content : @ ionicon - var - ios - more - outline ; } <nl> + . @ { ionicons - prefix } ios - musical - note : before { content : @ ionicon - var - ios - musical - note ; } <nl> + . @ { ionicons - prefix } ios - musical - notes : before { content : @ ionicon - var - ios - musical - notes ; } <nl> + . @ { ionicons - prefix } ios - navigate : before { content : @ ionicon - var - ios - navigate ; } <nl> + . @ { ionicons - prefix } ios - navigate - outline : before { content : @ ionicon - var - ios - navigate - outline ; } <nl> + . @ { ionicons - prefix } ios - nutrition : before { content : @ ionicon - var - ios - nutrition ; } <nl> + . @ { ionicons - prefix } ios - nutrition - outline : before { content : @ ionicon - var - ios - nutrition - outline ; } <nl> + . @ { ionicons - prefix } ios - paper : before { content : @ ionicon - var - ios - paper ; } <nl> + . @ { ionicons - prefix } ios - paper - outline : before { content : @ ionicon - var - ios - paper - outline ; } <nl> + . @ { ionicons - prefix } ios - paperplane : before { content : @ ionicon - var - ios - paperplane ; } <nl> + . @ { ionicons - prefix } ios - paperplane - outline : before { content : @ ionicon - var - ios - paperplane - outline ; } <nl> + . @ { ionicons - prefix } ios - partlysunny : before { content : @ ionicon - var - ios - partlysunny ; } <nl> + . @ { ionicons - prefix } ios - partlysunny - outline : before { content : @ ionicon - var - ios - partlysunny - outline ; } <nl> + . @ { ionicons - prefix } ios - pause : before { content : @ ionicon - var - ios - pause ; } <nl> + . @ { ionicons - prefix } ios - pause - outline : before { content : @ ionicon - var - ios - pause - outline ; } <nl> + . @ { ionicons - prefix } ios - paw : before { content : @ ionicon - var - ios - paw ; } <nl> + . @ { ionicons - prefix } ios - paw - outline : before { content : @ ionicon - var - ios - paw - outline ; } <nl> + . @ { ionicons - prefix } ios - people : before { content : @ ionicon - var - ios - people ; } <nl> + . @ { ionicons - prefix } ios - people - outline : before { content : @ ionicon - var - ios - people - outline ; } <nl> + . @ { ionicons - prefix } ios - person : before { content : @ ionicon - var - ios - person ; } <nl> + . @ { ionicons - prefix } ios - person - outline : before { content : @ ionicon - var - ios - person - outline ; } <nl> + . @ { ionicons - prefix } ios - personadd : before { content : @ ionicon - var - ios - personadd ; } <nl> + . @ { ionicons - prefix } ios - personadd - outline : before { content : @ ionicon - var - ios - personadd - outline ; } <nl> + . @ { ionicons - prefix } ios - photos : before { content : @ ionicon - var - ios - photos ; } <nl> + . @ { ionicons - prefix } ios - photos - outline : before { content : @ ionicon - var - ios - photos - outline ; } <nl> + . @ { ionicons - prefix } ios - pie : before { content : @ ionicon - var - ios - pie ; } <nl> + . @ { ionicons - prefix } ios - pie - outline : before { content : @ ionicon - var - ios - pie - outline ; } <nl> + . @ { ionicons - prefix } ios - pint : before { content : @ ionicon - var - ios - pint ; } <nl> + . @ { ionicons - prefix } ios - pint - outline : before { content : @ ionicon - var - ios - pint - outline ; } <nl> + . @ { ionicons - prefix } ios - play : before { content : @ ionicon - var - ios - play ; } <nl> + . @ { ionicons - prefix } ios - play - outline : before { content : @ ionicon - var - ios - play - outline ; } <nl> + . @ { ionicons - prefix } ios - plus : before { content : @ ionicon - var - ios - plus ; } <nl> + . @ { ionicons - prefix } ios - plus - empty : before { content : @ ionicon - var - ios - plus - empty ; } <nl> + . @ { ionicons - prefix } ios - plus - outline : before { content : @ ionicon - var - ios - plus - outline ; } <nl> + . @ { ionicons - prefix } ios - pricetag : before { content : @ ionicon - var - ios - pricetag ; } <nl> + . @ { ionicons - prefix } ios - pricetag - outline : before { content : @ ionicon - var - ios - pricetag - outline ; } <nl> + . @ { ionicons - prefix } ios - pricetags : before { content : @ ionicon - var - ios - pricetags ; } <nl> + . @ { ionicons - prefix } ios - pricetags - outline : before { content : @ ionicon - var - ios - pricetags - outline ; } <nl> + . @ { ionicons - prefix } ios - printer : before { content : @ ionicon - var - ios - printer ; } <nl> + . @ { ionicons - prefix } ios - printer - outline : before { content : @ ionicon - var - ios - printer - outline ; } <nl> + . @ { ionicons - prefix } ios - pulse : before { content : @ ionicon - var - ios - pulse ; } <nl> + . @ { ionicons - prefix } ios - pulse - strong : before { content : @ ionicon - var - ios - pulse - strong ; } <nl> + . @ { ionicons - prefix } ios - rainy : before { content : @ ionicon - var - ios - rainy ; } <nl> + . @ { ionicons - prefix } ios - rainy - outline : before { content : @ ionicon - var - ios - rainy - outline ; } <nl> + . @ { ionicons - prefix } ios - recording : before { content : @ ionicon - var - ios - recording ; } <nl> + . @ { ionicons - prefix } ios - recording - outline : before { content : @ ionicon - var - ios - recording - outline ; } <nl> + . @ { ionicons - prefix } ios - redo : before { content : @ ionicon - var - ios - redo ; } <nl> + . @ { ionicons - prefix } ios - redo - outline : before { content : @ ionicon - var - ios - redo - outline ; } <nl> + . @ { ionicons - prefix } ios - refresh : before { content : @ ionicon - var - ios - refresh ; } <nl> + . @ { ionicons - prefix } ios - refresh - empty : before { content : @ ionicon - var - ios - refresh - empty ; } <nl> + . @ { ionicons - prefix } ios - refresh - outline : before { content : @ ionicon - var - ios - refresh - outline ; } <nl> + . @ { ionicons - prefix } ios - reload : before { content : @ ionicon - var - ios - reload ; } <nl> + . @ { ionicons - prefix } ios - reverse - camera : before { content : @ ionicon - var - ios - reverse - camera ; } <nl> + . @ { ionicons - prefix } ios - reverse - camera - outline : before { content : @ ionicon - var - ios - reverse - camera - outline ; } <nl> + . @ { ionicons - prefix } ios - rewind : before { content : @ ionicon - var - ios - rewind ; } <nl> + . @ { ionicons - prefix } ios - rewind - outline : before { content : @ ionicon - var - ios - rewind - outline ; } <nl> + . @ { ionicons - prefix } ios - rose : before { content : @ ionicon - var - ios - rose ; } <nl> + . @ { ionicons - prefix } ios - rose - outline : before { content : @ ionicon - var - ios - rose - outline ; } <nl> + . @ { ionicons - prefix } ios - search : before { content : @ ionicon - var - ios - search ; } <nl> + . @ { ionicons - prefix } ios - search - strong : before { content : @ ionicon - var - ios - search - strong ; } <nl> + . @ { ionicons - prefix } ios - settings : before { content : @ ionicon - var - ios - settings ; } <nl> + . @ { ionicons - prefix } ios - settings - strong : before { content : @ ionicon - var - ios - settings - strong ; } <nl> + . @ { ionicons - prefix } ios - shuffle : before { content : @ ionicon - var - ios - shuffle ; } <nl> + . @ { ionicons - prefix } ios - shuffle - strong : before { content : @ ionicon - var - ios - shuffle - strong ; } <nl> + . @ { ionicons - prefix } ios - skipbackward : before { content : @ ionicon - var - ios - skipbackward ; } <nl> + . @ { ionicons - prefix } ios - skipbackward - outline : before { content : @ ionicon - var - ios - skipbackward - outline ; } <nl> + . @ { ionicons - prefix } ios - skipforward : before { content : @ ionicon - var - ios - skipforward ; } <nl> + . @ { ionicons - prefix } ios - skipforward - outline : before { content : @ ionicon - var - ios - skipforward - outline ; } <nl> + . @ { ionicons - prefix } ios - snowy : before { content : @ ionicon - var - ios - snowy ; } <nl> + . @ { ionicons - prefix } ios - speedometer : before { content : @ ionicon - var - ios - speedometer ; } <nl> + . @ { ionicons - prefix } ios - speedometer - outline : before { content : @ ionicon - var - ios - speedometer - outline ; } <nl> + . @ { ionicons - prefix } ios - star : before { content : @ ionicon - var - ios - star ; } <nl> + . @ { ionicons - prefix } ios - star - half : before { content : @ ionicon - var - ios - star - half ; } <nl> + . @ { ionicons - prefix } ios - star - outline : before { content : @ ionicon - var - ios - star - outline ; } <nl> + . @ { ionicons - prefix } ios - stopwatch : before { content : @ ionicon - var - ios - stopwatch ; } <nl> + . @ { ionicons - prefix } ios - stopwatch - outline : before { content : @ ionicon - var - ios - stopwatch - outline ; } <nl> + . @ { ionicons - prefix } ios - sunny : before { content : @ ionicon - var - ios - sunny ; } <nl> + . @ { ionicons - prefix } ios - sunny - outline : before { content : @ ionicon - var - ios - sunny - outline ; } <nl> + . @ { ionicons - prefix } ios - telephone : before { content : @ ionicon - var - ios - telephone ; } <nl> + . @ { ionicons - prefix } ios - telephone - outline : before { content : @ ionicon - var - ios - telephone - outline ; } <nl> + . @ { ionicons - prefix } ios - tennisball : before { content : @ ionicon - var - ios - tennisball ; } <nl> + . @ { ionicons - prefix } ios - tennisball - outline : before { content : @ ionicon - var - ios - tennisball - outline ; } <nl> + . @ { ionicons - prefix } ios - thunderstorm : before { content : @ ionicon - var - ios - thunderstorm ; } <nl> + . @ { ionicons - prefix } ios - thunderstorm - outline : before { content : @ ionicon - var - ios - thunderstorm - outline ; } <nl> + . @ { ionicons - prefix } ios - time : before { content : @ ionicon - var - ios - time ; } <nl> + . @ { ionicons - prefix } ios - time - outline : before { content : @ ionicon - var - ios - time - outline ; } <nl> + . @ { ionicons - prefix } ios - timer : before { content : @ ionicon - var - ios - timer ; } <nl> + . @ { ionicons - prefix } ios - timer - outline : before { content : @ ionicon - var - ios - timer - outline ; } <nl> + . @ { ionicons - prefix } ios - toggle : before { content : @ ionicon - var - ios - toggle ; } <nl> + . @ { ionicons - prefix } ios - toggle - outline : before { content : @ ionicon - var - ios - toggle - outline ; } <nl> + . @ { ionicons - prefix } ios - trash : before { content : @ ionicon - var - ios - trash ; } <nl> + . @ { ionicons - prefix } ios - trash - outline : before { content : @ ionicon - var - ios - trash - outline ; } <nl> + . @ { ionicons - prefix } ios - undo : before { content : @ ionicon - var - ios - undo ; } <nl> + . @ { ionicons - prefix } ios - undo - outline : before { content : @ ionicon - var - ios - undo - outline ; } <nl> + . @ { ionicons - prefix } ios - unlocked : before { content : @ ionicon - var - ios - unlocked ; } <nl> + . @ { ionicons - prefix } ios - unlocked - outline : before { content : @ ionicon - var - ios - unlocked - outline ; } <nl> + . @ { ionicons - prefix } ios - upload : before { content : @ ionicon - var - ios - upload ; } <nl> + . @ { ionicons - prefix } ios - upload - outline : before { content : @ ionicon - var - ios - upload - outline ; } <nl> + . @ { ionicons - prefix } ios - videocam : before { content : @ ionicon - var - ios - videocam ; } <nl> + . @ { ionicons - prefix } ios - videocam - outline : before { content : @ ionicon - var - ios - videocam - outline ; } <nl> + . @ { ionicons - prefix } ios - volume - high : before { content : @ ionicon - var - ios - volume - high ; } <nl> + . @ { ionicons - prefix } ios - volume - low : before { content : @ ionicon - var - ios - volume - low ; } <nl> + . @ { ionicons - prefix } ios - wineglass : before { content : @ ionicon - var - ios - wineglass ; } <nl> + . @ { ionicons - prefix } ios - wineglass - outline : before { content : @ ionicon - var - ios - wineglass - outline ; } <nl> + . @ { ionicons - prefix } ios - world : before { content : @ ionicon - var - ios - world ; } <nl> + . @ { ionicons - prefix } ios - world - outline : before { content : @ ionicon - var - ios - world - outline ; } <nl> + . @ { ionicons - prefix } ipad : before { content : @ ionicon - var - ipad ; } <nl> + . @ { ionicons - prefix } iphone : before { content : @ ionicon - var - iphone ; } <nl> + . @ { ionicons - prefix } ipod : before { content : @ ionicon - var - ipod ; } <nl> + . @ { ionicons - prefix } jet : before { content : @ ionicon - var - jet ; } <nl> + . @ { ionicons - prefix } key : before { content : @ ionicon - var - key ; } <nl> + . @ { ionicons - prefix } knife : before { content : @ ionicon - var - knife ; } <nl> + . @ { ionicons - prefix } laptop : before { content : @ ionicon - var - laptop ; } <nl> + . @ { ionicons - prefix } leaf : before { content : @ ionicon - var - leaf ; } <nl> + . @ { ionicons - prefix } levels : before { content : @ ionicon - var - levels ; } <nl> + . @ { ionicons - prefix } lightbulb : before { content : @ ionicon - var - lightbulb ; } <nl> + . @ { ionicons - prefix } link : before { content : @ ionicon - var - link ; } <nl> + . @ { ionicons - prefix } load - a : before { content : @ ionicon - var - load - a ; } <nl> + . @ { ionicons - prefix } load - b : before { content : @ ionicon - var - load - b ; } <nl> + . @ { ionicons - prefix } load - c : before { content : @ ionicon - var - load - c ; } <nl> + . @ { ionicons - prefix } load - d : before { content : @ ionicon - var - load - d ; } <nl> + . @ { ionicons - prefix } location : before { content : @ ionicon - var - location ; } <nl> + . @ { ionicons - prefix } lock - combination : before { content : @ ionicon - var - lock - combination ; } <nl> + . @ { ionicons - prefix } locked : before { content : @ ionicon - var - locked ; } <nl> + . @ { ionicons - prefix } log - in : before { content : @ ionicon - var - log - in ; } <nl> + . @ { ionicons - prefix } log - out : before { content : @ ionicon - var - log - out ; } <nl> + . @ { ionicons - prefix } loop : before { content : @ ionicon - var - loop ; } <nl> + . @ { ionicons - prefix } magnet : before { content : @ ionicon - var - magnet ; } <nl> + . @ { ionicons - prefix } male : before { content : @ ionicon - var - male ; } <nl> + . @ { ionicons - prefix } man : before { content : @ ionicon - var - man ; } <nl> + . @ { ionicons - prefix } map : before { content : @ ionicon - var - map ; } <nl> + . @ { ionicons - prefix } medkit : before { content : @ ionicon - var - medkit ; } <nl> + . @ { ionicons - prefix } merge : before { content : @ ionicon - var - merge ; } <nl> + . @ { ionicons - prefix } mic - a : before { content : @ ionicon - var - mic - a ; } <nl> + . @ { ionicons - prefix } mic - b : before { content : @ ionicon - var - mic - b ; } <nl> + . @ { ionicons - prefix } mic - c : before { content : @ ionicon - var - mic - c ; } <nl> + . @ { ionicons - prefix } minus : before { content : @ ionicon - var - minus ; } <nl> + . @ { ionicons - prefix } minus - circled : before { content : @ ionicon - var - minus - circled ; } <nl> + . @ { ionicons - prefix } minus - round : before { content : @ ionicon - var - minus - round ; } <nl> + . @ { ionicons - prefix } model - s : before { content : @ ionicon - var - model - s ; } <nl> + . @ { ionicons - prefix } monitor : before { content : @ ionicon - var - monitor ; } <nl> + . @ { ionicons - prefix } more : before { content : @ ionicon - var - more ; } <nl> + . @ { ionicons - prefix } mouse : before { content : @ ionicon - var - mouse ; } <nl> + . @ { ionicons - prefix } music - note : before { content : @ ionicon - var - music - note ; } <nl> + . @ { ionicons - prefix } navicon : before { content : @ ionicon - var - navicon ; } <nl> + . @ { ionicons - prefix } navicon - round : before { content : @ ionicon - var - navicon - round ; } <nl> + . @ { ionicons - prefix } navigate : before { content : @ ionicon - var - navigate ; } <nl> + . @ { ionicons - prefix } network : before { content : @ ionicon - var - network ; } <nl> + . @ { ionicons - prefix } no - smoking : before { content : @ ionicon - var - no - smoking ; } <nl> + . @ { ionicons - prefix } nuclear : before { content : @ ionicon - var - nuclear ; } <nl> + . @ { ionicons - prefix } outlet : before { content : @ ionicon - var - outlet ; } <nl> + . @ { ionicons - prefix } paintbrush : before { content : @ ionicon - var - paintbrush ; } <nl> + . @ { ionicons - prefix } paintbucket : before { content : @ ionicon - var - paintbucket ; } <nl> + . @ { ionicons - prefix } paper - airplane : before { content : @ ionicon - var - paper - airplane ; } <nl> + . @ { ionicons - prefix } paperclip : before { content : @ ionicon - var - paperclip ; } <nl> + . @ { ionicons - prefix } pause : before { content : @ ionicon - var - pause ; } <nl> + . @ { ionicons - prefix } person : before { content : @ ionicon - var - person ; } <nl> + . @ { ionicons - prefix } person - add : before { content : @ ionicon - var - person - add ; } <nl> + . @ { ionicons - prefix } person - stalker : before { content : @ ionicon - var - person - stalker ; } <nl> + . @ { ionicons - prefix } pie - graph : before { content : @ ionicon - var - pie - graph ; } <nl> + . @ { ionicons - prefix } pin : before { content : @ ionicon - var - pin ; } <nl> + . @ { ionicons - prefix } pinpoint : before { content : @ ionicon - var - pinpoint ; } <nl> + . @ { ionicons - prefix } pizza : before { content : @ ionicon - var - pizza ; } <nl> + . @ { ionicons - prefix } plane : before { content : @ ionicon - var - plane ; } <nl> + . @ { ionicons - prefix } planet : before { content : @ ionicon - var - planet ; } <nl> + . @ { ionicons - prefix } play : before { content : @ ionicon - var - play ; } <nl> + . @ { ionicons - prefix } playstation : before { content : @ ionicon - var - playstation ; } <nl> + . @ { ionicons - prefix } plus : before { content : @ ionicon - var - plus ; } <nl> + . @ { ionicons - prefix } plus - circled : before { content : @ ionicon - var - plus - circled ; } <nl> + . @ { ionicons - prefix } plus - round : before { content : @ ionicon - var - plus - round ; } <nl> + . @ { ionicons - prefix } podium : before { content : @ ionicon - var - podium ; } <nl> + . @ { ionicons - prefix } pound : before { content : @ ionicon - var - pound ; } <nl> + . @ { ionicons - prefix } power : before { content : @ ionicon - var - power ; } <nl> + . @ { ionicons - prefix } pricetag : before { content : @ ionicon - var - pricetag ; } <nl> + . @ { ionicons - prefix } pricetags : before { content : @ ionicon - var - pricetags ; } <nl> + . @ { ionicons - prefix } printer : before { content : @ ionicon - var - printer ; } <nl> + . @ { ionicons - prefix } pull - request : before { content : @ ionicon - var - pull - request ; } <nl> + . @ { ionicons - prefix } qr - scanner : before { content : @ ionicon - var - qr - scanner ; } <nl> + . @ { ionicons - prefix } quote : before { content : @ ionicon - var - quote ; } <nl> + . @ { ionicons - prefix } radio - waves : before { content : @ ionicon - var - radio - waves ; } <nl> + . @ { ionicons - prefix } record : before { content : @ ionicon - var - record ; } <nl> + . @ { ionicons - prefix } refresh : before { content : @ ionicon - var - refresh ; } <nl> + . @ { ionicons - prefix } reply : before { content : @ ionicon - var - reply ; } <nl> + . @ { ionicons - prefix } reply - all : before { content : @ ionicon - var - reply - all ; } <nl> + . @ { ionicons - prefix } ribbon - a : before { content : @ ionicon - var - ribbon - a ; } <nl> + . @ { ionicons - prefix } ribbon - b : before { content : @ ionicon - var - ribbon - b ; } <nl> + . @ { ionicons - prefix } sad : before { content : @ ionicon - var - sad ; } <nl> + . @ { ionicons - prefix } sad - outline : before { content : @ ionicon - var - sad - outline ; } <nl> + . @ { ionicons - prefix } scissors : before { content : @ ionicon - var - scissors ; } <nl> + . @ { ionicons - prefix } search : before { content : @ ionicon - var - search ; } <nl> + . @ { ionicons - prefix } settings : before { content : @ ionicon - var - settings ; } <nl> + . @ { ionicons - prefix } share : before { content : @ ionicon - var - share ; } <nl> + . @ { ionicons - prefix } shuffle : before { content : @ ionicon - var - shuffle ; } <nl> + . @ { ionicons - prefix } skip - backward : before { content : @ ionicon - var - skip - backward ; } <nl> + . @ { ionicons - prefix } skip - forward : before { content : @ ionicon - var - skip - forward ; } <nl> + . @ { ionicons - prefix } social - android : before { content : @ ionicon - var - social - android ; } <nl> + . @ { ionicons - prefix } social - android - outline : before { content : @ ionicon - var - social - android - outline ; } <nl> + . @ { ionicons - prefix } social - angular : before { content : @ ionicon - var - social - angular ; } <nl> + . @ { ionicons - prefix } social - angular - outline : before { content : @ ionicon - var - social - angular - outline ; } <nl> + . @ { ionicons - prefix } social - apple : before { content : @ ionicon - var - social - apple ; } <nl> + . @ { ionicons - prefix } social - apple - outline : before { content : @ ionicon - var - social - apple - outline ; } <nl> + . @ { ionicons - prefix } social - bitcoin : before { content : @ ionicon - var - social - bitcoin ; } <nl> + . @ { ionicons - prefix } social - bitcoin - outline : before { content : @ ionicon - var - social - bitcoin - outline ; } <nl> + . @ { ionicons - prefix } social - buffer : before { content : @ ionicon - var - social - buffer ; } <nl> + . @ { ionicons - prefix } social - buffer - outline : before { content : @ ionicon - var - social - buffer - outline ; } <nl> + . @ { ionicons - prefix } social - chrome : before { content : @ ionicon - var - social - chrome ; } <nl> + . @ { ionicons - prefix } social - chrome - outline : before { content : @ ionicon - var - social - chrome - outline ; } <nl> + . @ { ionicons - prefix } social - codepen : before { content : @ ionicon - var - social - codepen ; } <nl> + . @ { ionicons - prefix } social - codepen - outline : before { content : @ ionicon - var - social - codepen - outline ; } <nl> + . @ { ionicons - prefix } social - css3 : before { content : @ ionicon - var - social - css3 ; } <nl> + . @ { ionicons - prefix } social - css3 - outline : before { content : @ ionicon - var - social - css3 - outline ; } <nl> + . @ { ionicons - prefix } social - designernews : before { content : @ ionicon - var - social - designernews ; } <nl> + . @ { ionicons - prefix } social - designernews - outline : before { content : @ ionicon - var - social - designernews - outline ; } <nl> + . @ { ionicons - prefix } social - dribbble : before { content : @ ionicon - var - social - dribbble ; } <nl> + . @ { ionicons - prefix } social - dribbble - outline : before { content : @ ionicon - var - social - dribbble - outline ; } <nl> + . @ { ionicons - prefix } social - dropbox : before { content : @ ionicon - var - social - dropbox ; } <nl> + . @ { ionicons - prefix } social - dropbox - outline : before { content : @ ionicon - var - social - dropbox - outline ; } <nl> + . @ { ionicons - prefix } social - euro : before { content : @ ionicon - var - social - euro ; } <nl> + . @ { ionicons - prefix } social - euro - outline : before { content : @ ionicon - var - social - euro - outline ; } <nl> + . @ { ionicons - prefix } social - facebook : before { content : @ ionicon - var - social - facebook ; } <nl> + . @ { ionicons - prefix } social - facebook - outline : before { content : @ ionicon - var - social - facebook - outline ; } <nl> + . @ { ionicons - prefix } social - foursquare : before { content : @ ionicon - var - social - foursquare ; } <nl> + . @ { ionicons - prefix } social - foursquare - outline : before { content : @ ionicon - var - social - foursquare - outline ; } <nl> + . @ { ionicons - prefix } social - freebsd - devil : before { content : @ ionicon - var - social - freebsd - devil ; } <nl> + . @ { ionicons - prefix } social - github : before { content : @ ionicon - var - social - github ; } <nl> + . @ { ionicons - prefix } social - github - outline : before { content : @ ionicon - var - social - github - outline ; } <nl> + . @ { ionicons - prefix } social - google : before { content : @ ionicon - var - social - google ; } <nl> + . @ { ionicons - prefix } social - google - outline : before { content : @ ionicon - var - social - google - outline ; } <nl> + . @ { ionicons - prefix } social - googleplus : before { content : @ ionicon - var - social - googleplus ; } <nl> + . @ { ionicons - prefix } social - googleplus - outline : before { content : @ ionicon - var - social - googleplus - outline ; } <nl> + . @ { ionicons - prefix } social - hackernews : before { content : @ ionicon - var - social - hackernews ; } <nl> + . @ { ionicons - prefix } social - hackernews - outline : before { content : @ ionicon - var - social - hackernews - outline ; } <nl> + . @ { ionicons - prefix } social - html5 : before { content : @ ionicon - var - social - html5 ; } <nl> + . @ { ionicons - prefix } social - html5 - outline : before { content : @ ionicon - var - social - html5 - outline ; } <nl> + . @ { ionicons - prefix } social - instagram : before { content : @ ionicon - var - social - instagram ; } <nl> + . @ { ionicons - prefix } social - instagram - outline : before { content : @ ionicon - var - social - instagram - outline ; } <nl> + . @ { ionicons - prefix } social - javascript : before { content : @ ionicon - var - social - javascript ; } <nl> + . @ { ionicons - prefix } social - javascript - outline : before { content : @ ionicon - var - social - javascript - outline ; } <nl> + . @ { ionicons - prefix } social - linkedin : before { content : @ ionicon - var - social - linkedin ; } <nl> + . @ { ionicons - prefix } social - linkedin - outline : before { content : @ ionicon - var - social - linkedin - outline ; } <nl> + . @ { ionicons - prefix } social - markdown : before { content : @ ionicon - var - social - markdown ; } <nl> + . @ { ionicons - prefix } social - nodejs : before { content : @ ionicon - var - social - nodejs ; } <nl> + . @ { ionicons - prefix } social - octocat : before { content : @ ionicon - var - social - octocat ; } <nl> + . @ { ionicons - prefix } social - pinterest : before { content : @ ionicon - var - social - pinterest ; } <nl> + . @ { ionicons - prefix } social - pinterest - outline : before { content : @ ionicon - var - social - pinterest - outline ; } <nl> + . @ { ionicons - prefix } social - python : before { content : @ ionicon - var - social - python ; } <nl> + . @ { ionicons - prefix } social - reddit : before { content : @ ionicon - var - social - reddit ; } <nl> + . @ { ionicons - prefix } social - reddit - outline : before { content : @ ionicon - var - social - reddit - outline ; } <nl> + . @ { ionicons - prefix } social - rss : before { content : @ ionicon - var - social - rss ; } <nl> + . @ { ionicons - prefix } social - rss - outline : before { content : @ ionicon - var - social - rss - outline ; } <nl> + . @ { ionicons - prefix } social - sass : before { content : @ ionicon - var - social - sass ; } <nl> + . @ { ionicons - prefix } social - skype : before { content : @ ionicon - var - social - skype ; } <nl> + . @ { ionicons - prefix } social - skype - outline : before { content : @ ionicon - var - social - skype - outline ; } <nl> + . @ { ionicons - prefix } social - snapchat : before { content : @ ionicon - var - social - snapchat ; } <nl> + . @ { ionicons - prefix } social - snapchat - outline : before { content : @ ionicon - var - social - snapchat - outline ; } <nl> + . @ { ionicons - prefix } social - tumblr : before { content : @ ionicon - var - social - tumblr ; } <nl> + . @ { ionicons - prefix } social - tumblr - outline : before { content : @ ionicon - var - social - tumblr - outline ; } <nl> + . @ { ionicons - prefix } social - tux : before { content : @ ionicon - var - social - tux ; } <nl> + . @ { ionicons - prefix } social - twitch : before { content : @ ionicon - var - social - twitch ; } <nl> + . @ { ionicons - prefix } social - twitch - outline : before { content : @ ionicon - var - social - twitch - outline ; } <nl> + . @ { ionicons - prefix } social - twitter : before { content : @ ionicon - var - social - twitter ; } <nl> + . @ { ionicons - prefix } social - twitter - outline : before { content : @ ionicon - var - social - twitter - outline ; } <nl> + . @ { ionicons - prefix } social - usd : before { content : @ ionicon - var - social - usd ; } <nl> + . @ { ionicons - prefix } social - usd - outline : before { content : @ ionicon - var - social - usd - outline ; } <nl> + . @ { ionicons - prefix } social - vimeo : before { content : @ ionicon - var - social - vimeo ; } <nl> + . @ { ionicons - prefix } social - vimeo - outline : before { content : @ ionicon - var - social - vimeo - outline ; } <nl> + . @ { ionicons - prefix } social - whatsapp : before { content : @ ionicon - var - social - whatsapp ; } <nl> + . @ { ionicons - prefix } social - whatsapp - outline : before { content : @ ionicon - var - social - whatsapp - outline ; } <nl> + . @ { ionicons - prefix } social - windows : before { content : @ ionicon - var - social - windows ; } <nl> + . @ { ionicons - prefix } social - windows - outline : before { content : @ ionicon - var - social - windows - outline ; } <nl> + . @ { ionicons - prefix } social - wordpress : before { content : @ ionicon - var - social - wordpress ; } <nl> + . @ { ionicons - prefix } social - wordpress - outline : before { content : @ ionicon - var - social - wordpress - outline ; } <nl> + . @ { ionicons - prefix } social - yahoo : before { content : @ ionicon - var - social - yahoo ; } <nl> + . @ { ionicons - prefix } social - yahoo - outline : before { content : @ ionicon - var - social - yahoo - outline ; } <nl> + . @ { ionicons - prefix } social - yen : before { content : @ ionicon - var - social - yen ; } <nl> + . @ { ionicons - prefix } social - yen - outline : before { content : @ ionicon - var - social - yen - outline ; } <nl> + . @ { ionicons - prefix } social - youtube : before { content : @ ionicon - var - social - youtube ; } <nl> + . @ { ionicons - prefix } social - youtube - outline : before { content : @ ionicon - var - social - youtube - outline ; } <nl> + . @ { ionicons - prefix } soup - can : before { content : @ ionicon - var - soup - can ; } <nl> + . @ { ionicons - prefix } soup - can - outline : before { content : @ ionicon - var - soup - can - outline ; } <nl> + . @ { ionicons - prefix } speakerphone : before { content : @ ionicon - var - speakerphone ; } <nl> + . @ { ionicons - prefix } speedometer : before { content : @ ionicon - var - speedometer ; } <nl> + . @ { ionicons - prefix } spoon : before { content : @ ionicon - var - spoon ; } <nl> + . @ { ionicons - prefix } star : before { content : @ ionicon - var - star ; } <nl> + . @ { ionicons - prefix } stats - bars : before { content : @ ionicon - var - stats - bars ; } <nl> + . @ { ionicons - prefix } steam : before { content : @ ionicon - var - steam ; } <nl> + . @ { ionicons - prefix } stop : before { content : @ ionicon - var - stop ; } <nl> + . @ { ionicons - prefix } thermometer : before { content : @ ionicon - var - thermometer ; } <nl> + . @ { ionicons - prefix } thumbsdown : before { content : @ ionicon - var - thumbsdown ; } <nl> + . @ { ionicons - prefix } thumbsup : before { content : @ ionicon - var - thumbsup ; } <nl> + . @ { ionicons - prefix } toggle : before { content : @ ionicon - var - toggle ; } <nl> + . @ { ionicons - prefix } toggle - filled : before { content : @ ionicon - var - toggle - filled ; } <nl> + . @ { ionicons - prefix } transgender : before { content : @ ionicon - var - transgender ; } <nl> + . @ { ionicons - prefix } trash - a : before { content : @ ionicon - var - trash - a ; } <nl> + . @ { ionicons - prefix } trash - b : before { content : @ ionicon - var - trash - b ; } <nl> + . @ { ionicons - prefix } trophy : before { content : @ ionicon - var - trophy ; } <nl> + . @ { ionicons - prefix } tshirt : before { content : @ ionicon - var - tshirt ; } <nl> + . @ { ionicons - prefix } tshirt - outline : before { content : @ ionicon - var - tshirt - outline ; } <nl> + . @ { ionicons - prefix } umbrella : before { content : @ ionicon - var - umbrella ; } <nl> + . @ { ionicons - prefix } university : before { content : @ ionicon - var - university ; } <nl> + . @ { ionicons - prefix } unlocked : before { content : @ ionicon - var - unlocked ; } <nl> + . @ { ionicons - prefix } upload : before { content : @ ionicon - var - upload ; } <nl> + . @ { ionicons - prefix } usb : before { content : @ ionicon - var - usb ; } <nl> + . @ { ionicons - prefix } videocamera : before { content : @ ionicon - var - videocamera ; } <nl> + . @ { ionicons - prefix } volume - high : before { content : @ ionicon - var - volume - high ; } <nl> + . @ { ionicons - prefix } volume - low : before { content : @ ionicon - var - volume - low ; } <nl> + . @ { ionicons - prefix } volume - medium : before { content : @ ionicon - var - volume - medium ; } <nl> + . @ { ionicons - prefix } volume - mute : before { content : @ ionicon - var - volume - mute ; } <nl> + . @ { ionicons - prefix } wand : before { content : @ ionicon - var - wand ; } <nl> + . @ { ionicons - prefix } waterdrop : before { content : @ ionicon - var - waterdrop ; } <nl> + . @ { ionicons - prefix } wifi : before { content : @ ionicon - var - wifi ; } <nl> + . @ { ionicons - prefix } wineglass : before { content : @ ionicon - var - wineglass ; } <nl> + . @ { ionicons - prefix } woman : before { content : @ ionicon - var - woman ; } <nl> + . @ { ionicons - prefix } wrench : before { content : @ ionicon - var - wrench ; } <nl> + . @ { ionicons - prefix } xbox : before { content : @ ionicon - var - xbox ; } <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 00000000000 . . bcf1852b6a0 <nl> mmm / dev / null <nl> ppp b / admin / static / less / _ionicons - variables . less <nl> <nl> + / * ! <nl> + Ionicons , v2 . 0 . 0 <nl> + Created by Ben Sperry for the Ionic Framework , http : / / ionicons . com / <nl> + https : / / twitter . com / benjsperry https : / / twitter . com / ionicframework <nl> + MIT License : https : / / github . com / driftyco / ionicons <nl> + * / <nl> + / / Ionicons Variables <nl> + / / mmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + @ ionicons - font - path : " " ; <nl> + @ ionicons - font - family : " Ionicons " ; <nl> + @ ionicons - version : " 2 . 0 . 0 " ; <nl> + @ ionicons - prefix : ion - ; <nl> + <nl> + @ ionicon - var - alert : " \ f101 " ; <nl> + @ ionicon - var - alert - circled : " \ f100 " ; <nl> + @ ionicon - var - android - add : " \ f2c7 " ; <nl> + @ ionicon - var - android - add - circle : " \ f359 " ; <nl> + @ ionicon - var - android - alarm - clock : " \ f35a " ; <nl> + @ ionicon - var - android - alert : " \ f35b " ; <nl> + @ ionicon - var - android - apps : " \ f35c " ; <nl> + @ ionicon - var - android - archive : " \ f2c9 " ; <nl> + @ ionicon - var - android - arrow - back : " \ f2ca " ; <nl> + @ ionicon - var - android - arrow - down : " \ f35d " ; <nl> + @ ionicon - var - android - arrow - dropdown : " \ f35f " ; <nl> + @ ionicon - var - android - arrow - dropdown - circle : " \ f35e " ; <nl> + @ ionicon - var - android - arrow - dropleft : " \ f361 " ; <nl> + @ ionicon - var - android - arrow - dropleft - circle : " \ f360 " ; <nl> + @ ionicon - var - android - arrow - dropright : " \ f363 " ; <nl> + @ ionicon - var - android - arrow - dropright - circle : " \ f362 " ; <nl> + @ ionicon - var - android - arrow - dropup : " \ f365 " ; <nl> + @ ionicon - var - android - arrow - dropup - circle : " \ f364 " ; <nl> + @ ionicon - var - android - arrow - forward : " \ f30f " ; <nl> + @ ionicon - var - android - arrow - up : " \ f366 " ; <nl> + @ ionicon - var - android - attach : " \ f367 " ; <nl> + @ ionicon - var - android - bar : " \ f368 " ; <nl> + @ ionicon - var - android - bicycle : " \ f369 " ; <nl> + @ ionicon - var - android - boat : " \ f36a " ; <nl> + @ ionicon - var - android - bookmark : " \ f36b " ; <nl> + @ ionicon - var - android - bulb : " \ f36c " ; <nl> + @ ionicon - var - android - bus : " \ f36d " ; <nl> + @ ionicon - var - android - calendar : " \ f2d1 " ; <nl> + @ ionicon - var - android - call : " \ f2d2 " ; <nl> + @ ionicon - var - android - camera : " \ f2d3 " ; <nl> + @ ionicon - var - android - cancel : " \ f36e " ; <nl> + @ ionicon - var - android - car : " \ f36f " ; <nl> + @ ionicon - var - android - cart : " \ f370 " ; <nl> + @ ionicon - var - android - chat : " \ f2d4 " ; <nl> + @ ionicon - var - android - checkbox : " \ f374 " ; <nl> + @ ionicon - var - android - checkbox - blank : " \ f371 " ; <nl> + @ ionicon - var - android - checkbox - outline : " \ f373 " ; <nl> + @ ionicon - var - android - checkbox - outline - blank : " \ f372 " ; <nl> + @ ionicon - var - android - checkmark - circle : " \ f375 " ; <nl> + @ ionicon - var - android - clipboard : " \ f376 " ; <nl> + @ ionicon - var - android - close : " \ f2d7 " ; <nl> + @ ionicon - var - android - cloud : " \ f37a " ; <nl> + @ ionicon - var - android - cloud - circle : " \ f377 " ; <nl> + @ ionicon - var - android - cloud - done : " \ f378 " ; <nl> + @ ionicon - var - android - cloud - outline : " \ f379 " ; <nl> + @ ionicon - var - android - color - palette : " \ f37b " ; <nl> + @ ionicon - var - android - compass : " \ f37c " ; <nl> + @ ionicon - var - android - contact : " \ f2d8 " ; <nl> + @ ionicon - var - android - contacts : " \ f2d9 " ; <nl> + @ ionicon - var - android - contract : " \ f37d " ; <nl> + @ ionicon - var - android - create : " \ f37e " ; <nl> + @ ionicon - var - android - delete : " \ f37f " ; <nl> + @ ionicon - var - android - desktop : " \ f380 " ; <nl> + @ ionicon - var - android - document : " \ f381 " ; <nl> + @ ionicon - var - android - done : " \ f383 " ; <nl> + @ ionicon - var - android - done - all : " \ f382 " ; <nl> + @ ionicon - var - android - download : " \ f2dd " ; <nl> + @ ionicon - var - android - drafts : " \ f384 " ; <nl> + @ ionicon - var - android - exit : " \ f385 " ; <nl> + @ ionicon - var - android - expand : " \ f386 " ; <nl> + @ ionicon - var - android - favorite : " \ f388 " ; <nl> + @ ionicon - var - android - favorite - outline : " \ f387 " ; <nl> + @ ionicon - var - android - film : " \ f389 " ; <nl> + @ ionicon - var - android - folder : " \ f2e0 " ; <nl> + @ ionicon - var - android - folder - open : " \ f38a " ; <nl> + @ ionicon - var - android - funnel : " \ f38b " ; <nl> + @ ionicon - var - android - globe : " \ f38c " ; <nl> + @ ionicon - var - android - hand : " \ f2e3 " ; <nl> + @ ionicon - var - android - hangout : " \ f38d " ; <nl> + @ ionicon - var - android - happy : " \ f38e " ; <nl> + @ ionicon - var - android - home : " \ f38f " ; <nl> + @ ionicon - var - android - image : " \ f2e4 " ; <nl> + @ ionicon - var - android - laptop : " \ f390 " ; <nl> + @ ionicon - var - android - list : " \ f391 " ; <nl> + @ ionicon - var - android - locate : " \ f2e9 " ; <nl> + @ ionicon - var - android - lock : " \ f392 " ; <nl> + @ ionicon - var - android - mail : " \ f2eb " ; <nl> + @ ionicon - var - android - map : " \ f393 " ; <nl> + @ ionicon - var - android - menu : " \ f394 " ; <nl> + @ ionicon - var - android - microphone : " \ f2ec " ; <nl> + @ ionicon - var - android - microphone - off : " \ f395 " ; <nl> + @ ionicon - var - android - more - horizontal : " \ f396 " ; <nl> + @ ionicon - var - android - more - vertical : " \ f397 " ; <nl> + @ ionicon - var - android - navigate : " \ f398 " ; <nl> + @ ionicon - var - android - notifications : " \ f39b " ; <nl> + @ ionicon - var - android - notifications - none : " \ f399 " ; <nl> + @ ionicon - var - android - notifications - off : " \ f39a " ; <nl> + @ ionicon - var - android - open : " \ f39c " ; <nl> + @ ionicon - var - android - options : " \ f39d " ; <nl> + @ ionicon - var - android - people : " \ f39e " ; <nl> + @ ionicon - var - android - person : " \ f3a0 " ; <nl> + @ ionicon - var - android - person - add : " \ f39f " ; <nl> + @ ionicon - var - android - phone - landscape : " \ f3a1 " ; <nl> + @ ionicon - var - android - phone - portrait : " \ f3a2 " ; <nl> + @ ionicon - var - android - pin : " \ f3a3 " ; <nl> + @ ionicon - var - android - plane : " \ f3a4 " ; <nl> + @ ionicon - var - android - playstore : " \ f2f0 " ; <nl> + @ ionicon - var - android - print : " \ f3a5 " ; <nl> + @ ionicon - var - android - radio - button - off : " \ f3a6 " ; <nl> + @ ionicon - var - android - radio - button - on : " \ f3a7 " ; <nl> + @ ionicon - var - android - refresh : " \ f3a8 " ; <nl> + @ ionicon - var - android - remove : " \ f2f4 " ; <nl> + @ ionicon - var - android - remove - circle : " \ f3a9 " ; <nl> + @ ionicon - var - android - restaurant : " \ f3aa " ; <nl> + @ ionicon - var - android - sad : " \ f3ab " ; <nl> + @ ionicon - var - android - search : " \ f2f5 " ; <nl> + @ ionicon - var - android - send : " \ f2f6 " ; <nl> + @ ionicon - var - android - settings : " \ f2f7 " ; <nl> + @ ionicon - var - android - share : " \ f2f8 " ; <nl> + @ ionicon - var - android - share - alt : " \ f3ac " ; <nl> + @ ionicon - var - android - star : " \ f2fc " ; <nl> + @ ionicon - var - android - star - half : " \ f3ad " ; <nl> + @ ionicon - var - android - star - outline : " \ f3ae " ; <nl> + @ ionicon - var - android - stopwatch : " \ f2fd " ; <nl> + @ ionicon - var - android - subway : " \ f3af " ; <nl> + @ ionicon - var - android - sunny : " \ f3b0 " ; <nl> + @ ionicon - var - android - sync : " \ f3b1 " ; <nl> + @ ionicon - var - android - textsms : " \ f3b2 " ; <nl> + @ ionicon - var - android - time : " \ f3b3 " ; <nl> + @ ionicon - var - android - train : " \ f3b4 " ; <nl> + @ ionicon - var - android - unlock : " \ f3b5 " ; <nl> + @ ionicon - var - android - upload : " \ f3b6 " ; <nl> + @ ionicon - var - android - volume - down : " \ f3b7 " ; <nl> + @ ionicon - var - android - volume - mute : " \ f3b8 " ; <nl> + @ ionicon - var - android - volume - off : " \ f3b9 " ; <nl> + @ ionicon - var - android - volume - up : " \ f3ba " ; <nl> + @ ionicon - var - android - walk : " \ f3bb " ; <nl> + @ ionicon - var - android - warning : " \ f3bc " ; <nl> + @ ionicon - var - android - watch : " \ f3bd " ; <nl> + @ ionicon - var - android - wifi : " \ f305 " ; <nl> + @ ionicon - var - aperture : " \ f313 " ; <nl> + @ ionicon - var - archive : " \ f102 " ; <nl> + @ ionicon - var - arrow - down - a : " \ f103 " ; <nl> + @ ionicon - var - arrow - down - b : " \ f104 " ; <nl> + @ ionicon - var - arrow - down - c : " \ f105 " ; <nl> + @ ionicon - var - arrow - expand : " \ f25e " ; <nl> + @ ionicon - var - arrow - graph - down - left : " \ f25f " ; <nl> + @ ionicon - var - arrow - graph - down - right : " \ f260 " ; <nl> + @ ionicon - var - arrow - graph - up - left : " \ f261 " ; <nl> + @ ionicon - var - arrow - graph - up - right : " \ f262 " ; <nl> + @ ionicon - var - arrow - left - a : " \ f106 " ; <nl> + @ ionicon - var - arrow - left - b : " \ f107 " ; <nl> + @ ionicon - var - arrow - left - c : " \ f108 " ; <nl> + @ ionicon - var - arrow - move : " \ f263 " ; <nl> + @ ionicon - var - arrow - resize : " \ f264 " ; <nl> + @ ionicon - var - arrow - return - left : " \ f265 " ; <nl> + @ ionicon - var - arrow - return - right : " \ f266 " ; <nl> + @ ionicon - var - arrow - right - a : " \ f109 " ; <nl> + @ ionicon - var - arrow - right - b : " \ f10a " ; <nl> + @ ionicon - var - arrow - right - c : " \ f10b " ; <nl> + @ ionicon - var - arrow - shrink : " \ f267 " ; <nl> + @ ionicon - var - arrow - swap : " \ f268 " ; <nl> + @ ionicon - var - arrow - up - a : " \ f10c " ; <nl> + @ ionicon - var - arrow - up - b : " \ f10d " ; <nl> + @ ionicon - var - arrow - up - c : " \ f10e " ; <nl> + @ ionicon - var - asterisk : " \ f314 " ; <nl> + @ ionicon - var - at : " \ f10f " ; <nl> + @ ionicon - var - backspace : " \ f3bf " ; <nl> + @ ionicon - var - backspace - outline : " \ f3be " ; <nl> + @ ionicon - var - bag : " \ f110 " ; <nl> + @ ionicon - var - battery - charging : " \ f111 " ; <nl> + @ ionicon - var - battery - empty : " \ f112 " ; <nl> + @ ionicon - var - battery - full : " \ f113 " ; <nl> + @ ionicon - var - battery - half : " \ f114 " ; <nl> + @ ionicon - var - battery - low : " \ f115 " ; <nl> + @ ionicon - var - beaker : " \ f269 " ; <nl> + @ ionicon - var - beer : " \ f26a " ; <nl> + @ ionicon - var - bluetooth : " \ f116 " ; <nl> + @ ionicon - var - bonfire : " \ f315 " ; <nl> + @ ionicon - var - bookmark : " \ f26b " ; <nl> + @ ionicon - var - bowtie : " \ f3c0 " ; <nl> + @ ionicon - var - briefcase : " \ f26c " ; <nl> + @ ionicon - var - bug : " \ f2be " ; <nl> + @ ionicon - var - calculator : " \ f26d " ; <nl> + @ ionicon - var - calendar : " \ f117 " ; <nl> + @ ionicon - var - camera : " \ f118 " ; <nl> + @ ionicon - var - card : " \ f119 " ; <nl> + @ ionicon - var - cash : " \ f316 " ; <nl> + @ ionicon - var - chatbox : " \ f11b " ; <nl> + @ ionicon - var - chatbox - working : " \ f11a " ; <nl> + @ ionicon - var - chatboxes : " \ f11c " ; <nl> + @ ionicon - var - chatbubble : " \ f11e " ; <nl> + @ ionicon - var - chatbubble - working : " \ f11d " ; <nl> + @ ionicon - var - chatbubbles : " \ f11f " ; <nl> + @ ionicon - var - checkmark : " \ f122 " ; <nl> + @ ionicon - var - checkmark - circled : " \ f120 " ; <nl> + @ ionicon - var - checkmark - round : " \ f121 " ; <nl> + @ ionicon - var - chevron - down : " \ f123 " ; <nl> + @ ionicon - var - chevron - left : " \ f124 " ; <nl> + @ ionicon - var - chevron - right : " \ f125 " ; <nl> + @ ionicon - var - chevron - up : " \ f126 " ; <nl> + @ ionicon - var - clipboard : " \ f127 " ; <nl> + @ ionicon - var - clock : " \ f26e " ; <nl> + @ ionicon - var - close : " \ f12a " ; <nl> + @ ionicon - var - close - circled : " \ f128 " ; <nl> + @ ionicon - var - close - round : " \ f129 " ; <nl> + @ ionicon - var - closed - captioning : " \ f317 " ; <nl> + @ ionicon - var - cloud : " \ f12b " ; <nl> + @ ionicon - var - code : " \ f271 " ; <nl> + @ ionicon - var - code - download : " \ f26f " ; <nl> + @ ionicon - var - code - working : " \ f270 " ; <nl> + @ ionicon - var - coffee : " \ f272 " ; <nl> + @ ionicon - var - compass : " \ f273 " ; <nl> + @ ionicon - var - compose : " \ f12c " ; <nl> + @ ionicon - var - connection - bars : " \ f274 " ; <nl> + @ ionicon - var - contrast : " \ f275 " ; <nl> + @ ionicon - var - crop : " \ f3c1 " ; <nl> + @ ionicon - var - cube : " \ f318 " ; <nl> + @ ionicon - var - disc : " \ f12d " ; <nl> + @ ionicon - var - document : " \ f12f " ; <nl> + @ ionicon - var - document - text : " \ f12e " ; <nl> + @ ionicon - var - drag : " \ f130 " ; <nl> + @ ionicon - var - earth : " \ f276 " ; <nl> + @ ionicon - var - easel : " \ f3c2 " ; <nl> + @ ionicon - var - edit : " \ f2bf " ; <nl> + @ ionicon - var - egg : " \ f277 " ; <nl> + @ ionicon - var - eject : " \ f131 " ; <nl> + @ ionicon - var - email : " \ f132 " ; <nl> + @ ionicon - var - email - unread : " \ f3c3 " ; <nl> + @ ionicon - var - erlenmeyer - flask : " \ f3c5 " ; <nl> + @ ionicon - var - erlenmeyer - flask - bubbles : " \ f3c4 " ; <nl> + @ ionicon - var - eye : " \ f133 " ; <nl> + @ ionicon - var - eye - disabled : " \ f306 " ; <nl> + @ ionicon - var - female : " \ f278 " ; <nl> + @ ionicon - var - filing : " \ f134 " ; <nl> + @ ionicon - var - film - marker : " \ f135 " ; <nl> + @ ionicon - var - fireball : " \ f319 " ; <nl> + @ ionicon - var - flag : " \ f279 " ; <nl> + @ ionicon - var - flame : " \ f31a " ; <nl> + @ ionicon - var - flash : " \ f137 " ; <nl> + @ ionicon - var - flash - off : " \ f136 " ; <nl> + @ ionicon - var - folder : " \ f139 " ; <nl> + @ ionicon - var - fork : " \ f27a " ; <nl> + @ ionicon - var - fork - repo : " \ f2c0 " ; <nl> + @ ionicon - var - forward : " \ f13a " ; <nl> + @ ionicon - var - funnel : " \ f31b " ; <nl> + @ ionicon - var - gear - a : " \ f13d " ; <nl> + @ ionicon - var - gear - b : " \ f13e " ; <nl> + @ ionicon - var - grid : " \ f13f " ; <nl> + @ ionicon - var - hammer : " \ f27b " ; <nl> + @ ionicon - var - happy : " \ f31c " ; <nl> + @ ionicon - var - happy - outline : " \ f3c6 " ; <nl> + @ ionicon - var - headphone : " \ f140 " ; <nl> + @ ionicon - var - heart : " \ f141 " ; <nl> + @ ionicon - var - heart - broken : " \ f31d " ; <nl> + @ ionicon - var - help : " \ f143 " ; <nl> + @ ionicon - var - help - buoy : " \ f27c " ; <nl> + @ ionicon - var - help - circled : " \ f142 " ; <nl> + @ ionicon - var - home : " \ f144 " ; <nl> + @ ionicon - var - icecream : " \ f27d " ; <nl> + @ ionicon - var - image : " \ f147 " ; <nl> + @ ionicon - var - images : " \ f148 " ; <nl> + @ ionicon - var - information : " \ f14a " ; <nl> + @ ionicon - var - information - circled : " \ f149 " ; <nl> + @ ionicon - var - ionic : " \ f14b " ; <nl> + @ ionicon - var - ios - alarm : " \ f3c8 " ; <nl> + @ ionicon - var - ios - alarm - outline : " \ f3c7 " ; <nl> + @ ionicon - var - ios - albums : " \ f3ca " ; <nl> + @ ionicon - var - ios - albums - outline : " \ f3c9 " ; <nl> + @ ionicon - var - ios - americanfootball : " \ f3cc " ; <nl> + @ ionicon - var - ios - americanfootball - outline : " \ f3cb " ; <nl> + @ ionicon - var - ios - analytics : " \ f3ce " ; <nl> + @ ionicon - var - ios - analytics - outline : " \ f3cd " ; <nl> + @ ionicon - var - ios - arrow - back : " \ f3cf " ; <nl> + @ ionicon - var - ios - arrow - down : " \ f3d0 " ; <nl> + @ ionicon - var - ios - arrow - forward : " \ f3d1 " ; <nl> + @ ionicon - var - ios - arrow - left : " \ f3d2 " ; <nl> + @ ionicon - var - ios - arrow - right : " \ f3d3 " ; <nl> + @ ionicon - var - ios - arrow - thin - down : " \ f3d4 " ; <nl> + @ ionicon - var - ios - arrow - thin - left : " \ f3d5 " ; <nl> + @ ionicon - var - ios - arrow - thin - right : " \ f3d6 " ; <nl> + @ ionicon - var - ios - arrow - thin - up : " \ f3d7 " ; <nl> + @ ionicon - var - ios - arrow - up : " \ f3d8 " ; <nl> + @ ionicon - var - ios - at : " \ f3da " ; <nl> + @ ionicon - var - ios - at - outline : " \ f3d9 " ; <nl> + @ ionicon - var - ios - barcode : " \ f3dc " ; <nl> + @ ionicon - var - ios - barcode - outline : " \ f3db " ; <nl> + @ ionicon - var - ios - baseball : " \ f3de " ; <nl> + @ ionicon - var - ios - baseball - outline : " \ f3dd " ; <nl> + @ ionicon - var - ios - basketball : " \ f3e0 " ; <nl> + @ ionicon - var - ios - basketball - outline : " \ f3df " ; <nl> + @ ionicon - var - ios - bell : " \ f3e2 " ; <nl> + @ ionicon - var - ios - bell - outline : " \ f3e1 " ; <nl> + @ ionicon - var - ios - body : " \ f3e4 " ; <nl> + @ ionicon - var - ios - body - outline : " \ f3e3 " ; <nl> + @ ionicon - var - ios - bolt : " \ f3e6 " ; <nl> + @ ionicon - var - ios - bolt - outline : " \ f3e5 " ; <nl> + @ ionicon - var - ios - book : " \ f3e8 " ; <nl> + @ ionicon - var - ios - book - outline : " \ f3e7 " ; <nl> + @ ionicon - var - ios - bookmarks : " \ f3ea " ; <nl> + @ ionicon - var - ios - bookmarks - outline : " \ f3e9 " ; <nl> + @ ionicon - var - ios - box : " \ f3ec " ; <nl> + @ ionicon - var - ios - box - outline : " \ f3eb " ; <nl> + @ ionicon - var - ios - briefcase : " \ f3ee " ; <nl> + @ ionicon - var - ios - briefcase - outline : " \ f3ed " ; <nl> + @ ionicon - var - ios - browsers : " \ f3f0 " ; <nl> + @ ionicon - var - ios - browsers - outline : " \ f3ef " ; <nl> + @ ionicon - var - ios - calculator : " \ f3f2 " ; <nl> + @ ionicon - var - ios - calculator - outline : " \ f3f1 " ; <nl> + @ ionicon - var - ios - calendar : " \ f3f4 " ; <nl> + @ ionicon - var - ios - calendar - outline : " \ f3f3 " ; <nl> + @ ionicon - var - ios - camera : " \ f3f6 " ; <nl> + @ ionicon - var - ios - camera - outline : " \ f3f5 " ; <nl> + @ ionicon - var - ios - cart : " \ f3f8 " ; <nl> + @ ionicon - var - ios - cart - outline : " \ f3f7 " ; <nl> + @ ionicon - var - ios - chatboxes : " \ f3fa " ; <nl> + @ ionicon - var - ios - chatboxes - outline : " \ f3f9 " ; <nl> + @ ionicon - var - ios - chatbubble : " \ f3fc " ; <nl> + @ ionicon - var - ios - chatbubble - outline : " \ f3fb " ; <nl> + @ ionicon - var - ios - checkmark : " \ f3ff " ; <nl> + @ ionicon - var - ios - checkmark - empty : " \ f3fd " ; <nl> + @ ionicon - var - ios - checkmark - outline : " \ f3fe " ; <nl> + @ ionicon - var - ios - circle - filled : " \ f400 " ; <nl> + @ ionicon - var - ios - circle - outline : " \ f401 " ; <nl> + @ ionicon - var - ios - clock : " \ f403 " ; <nl> + @ ionicon - var - ios - clock - outline : " \ f402 " ; <nl> + @ ionicon - var - ios - close : " \ f406 " ; <nl> + @ ionicon - var - ios - close - empty : " \ f404 " ; <nl> + @ ionicon - var - ios - close - outline : " \ f405 " ; <nl> + @ ionicon - var - ios - cloud : " \ f40c " ; <nl> + @ ionicon - var - ios - cloud - download : " \ f408 " ; <nl> + @ ionicon - var - ios - cloud - download - outline : " \ f407 " ; <nl> + @ ionicon - var - ios - cloud - outline : " \ f409 " ; <nl> + @ ionicon - var - ios - cloud - upload : " \ f40b " ; <nl> + @ ionicon - var - ios - cloud - upload - outline : " \ f40a " ; <nl> + @ ionicon - var - ios - cloudy : " \ f410 " ; <nl> + @ ionicon - var - ios - cloudy - night : " \ f40e " ; <nl> + @ ionicon - var - ios - cloudy - night - outline : " \ f40d " ; <nl> + @ ionicon - var - ios - cloudy - outline : " \ f40f " ; <nl> + @ ionicon - var - ios - cog : " \ f412 " ; <nl> + @ ionicon - var - ios - cog - outline : " \ f411 " ; <nl> + @ ionicon - var - ios - color - filter : " \ f414 " ; <nl> + @ ionicon - var - ios - color - filter - outline : " \ f413 " ; <nl> + @ ionicon - var - ios - color - wand : " \ f416 " ; <nl> + @ ionicon - var - ios - color - wand - outline : " \ f415 " ; <nl> + @ ionicon - var - ios - compose : " \ f418 " ; <nl> + @ ionicon - var - ios - compose - outline : " \ f417 " ; <nl> + @ ionicon - var - ios - contact : " \ f41a " ; <nl> + @ ionicon - var - ios - contact - outline : " \ f419 " ; <nl> + @ ionicon - var - ios - copy : " \ f41c " ; <nl> + @ ionicon - var - ios - copy - outline : " \ f41b " ; <nl> + @ ionicon - var - ios - crop : " \ f41e " ; <nl> + @ ionicon - var - ios - crop - strong : " \ f41d " ; <nl> + @ ionicon - var - ios - download : " \ f420 " ; <nl> + @ ionicon - var - ios - download - outline : " \ f41f " ; <nl> + @ ionicon - var - ios - drag : " \ f421 " ; <nl> + @ ionicon - var - ios - email : " \ f423 " ; <nl> + @ ionicon - var - ios - email - outline : " \ f422 " ; <nl> + @ ionicon - var - ios - eye : " \ f425 " ; <nl> + @ ionicon - var - ios - eye - outline : " \ f424 " ; <nl> + @ ionicon - var - ios - fastforward : " \ f427 " ; <nl> + @ ionicon - var - ios - fastforward - outline : " \ f426 " ; <nl> + @ ionicon - var - ios - filing : " \ f429 " ; <nl> + @ ionicon - var - ios - filing - outline : " \ f428 " ; <nl> + @ ionicon - var - ios - film : " \ f42b " ; <nl> + @ ionicon - var - ios - film - outline : " \ f42a " ; <nl> + @ ionicon - var - ios - flag : " \ f42d " ; <nl> + @ ionicon - var - ios - flag - outline : " \ f42c " ; <nl> + @ ionicon - var - ios - flame : " \ f42f " ; <nl> + @ ionicon - var - ios - flame - outline : " \ f42e " ; <nl> + @ ionicon - var - ios - flask : " \ f431 " ; <nl> + @ ionicon - var - ios - flask - outline : " \ f430 " ; <nl> + @ ionicon - var - ios - flower : " \ f433 " ; <nl> + @ ionicon - var - ios - flower - outline : " \ f432 " ; <nl> + @ ionicon - var - ios - folder : " \ f435 " ; <nl> + @ ionicon - var - ios - folder - outline : " \ f434 " ; <nl> + @ ionicon - var - ios - football : " \ f437 " ; <nl> + @ ionicon - var - ios - football - outline : " \ f436 " ; <nl> + @ ionicon - var - ios - game - controller - a : " \ f439 " ; <nl> + @ ionicon - var - ios - game - controller - a - outline : " \ f438 " ; <nl> + @ ionicon - var - ios - game - controller - b : " \ f43b " ; <nl> + @ ionicon - var - ios - game - controller - b - outline : " \ f43a " ; <nl> + @ ionicon - var - ios - gear : " \ f43d " ; <nl> + @ ionicon - var - ios - gear - outline : " \ f43c " ; <nl> + @ ionicon - var - ios - glasses : " \ f43f " ; <nl> + @ ionicon - var - ios - glasses - outline : " \ f43e " ; <nl> + @ ionicon - var - ios - grid - view : " \ f441 " ; <nl> + @ ionicon - var - ios - grid - view - outline : " \ f440 " ; <nl> + @ ionicon - var - ios - heart : " \ f443 " ; <nl> + @ ionicon - var - ios - heart - outline : " \ f442 " ; <nl> + @ ionicon - var - ios - help : " \ f446 " ; <nl> + @ ionicon - var - ios - help - empty : " \ f444 " ; <nl> + @ ionicon - var - ios - help - outline : " \ f445 " ; <nl> + @ ionicon - var - ios - home : " \ f448 " ; <nl> + @ ionicon - var - ios - home - outline : " \ f447 " ; <nl> + @ ionicon - var - ios - infinite : " \ f44a " ; <nl> + @ ionicon - var - ios - infinite - outline : " \ f449 " ; <nl> + @ ionicon - var - ios - information : " \ f44d " ; <nl> + @ ionicon - var - ios - information - empty : " \ f44b " ; <nl> + @ ionicon - var - ios - information - outline : " \ f44c " ; <nl> + @ ionicon - var - ios - ionic - outline : " \ f44e " ; <nl> + @ ionicon - var - ios - keypad : " \ f450 " ; <nl> + @ ionicon - var - ios - keypad - outline : " \ f44f " ; <nl> + @ ionicon - var - ios - lightbulb : " \ f452 " ; <nl> + @ ionicon - var - ios - lightbulb - outline : " \ f451 " ; <nl> + @ ionicon - var - ios - list : " \ f454 " ; <nl> + @ ionicon - var - ios - list - outline : " \ f453 " ; <nl> + @ ionicon - var - ios - location : " \ f456 " ; <nl> + @ ionicon - var - ios - location - outline : " \ f455 " ; <nl> + @ ionicon - var - ios - locked : " \ f458 " ; <nl> + @ ionicon - var - ios - locked - outline : " \ f457 " ; <nl> + @ ionicon - var - ios - loop : " \ f45a " ; <nl> + @ ionicon - var - ios - loop - strong : " \ f459 " ; <nl> + @ ionicon - var - ios - medical : " \ f45c " ; <nl> + @ ionicon - var - ios - medical - outline : " \ f45b " ; <nl> + @ ionicon - var - ios - medkit : " \ f45e " ; <nl> + @ ionicon - var - ios - medkit - outline : " \ f45d " ; <nl> + @ ionicon - var - ios - mic : " \ f461 " ; <nl> + @ ionicon - var - ios - mic - off : " \ f45f " ; <nl> + @ ionicon - var - ios - mic - outline : " \ f460 " ; <nl> + @ ionicon - var - ios - minus : " \ f464 " ; <nl> + @ ionicon - var - ios - minus - empty : " \ f462 " ; <nl> + @ ionicon - var - ios - minus - outline : " \ f463 " ; <nl> + @ ionicon - var - ios - monitor : " \ f466 " ; <nl> + @ ionicon - var - ios - monitor - outline : " \ f465 " ; <nl> + @ ionicon - var - ios - moon : " \ f468 " ; <nl> + @ ionicon - var - ios - moon - outline : " \ f467 " ; <nl> + @ ionicon - var - ios - more : " \ f46a " ; <nl> + @ ionicon - var - ios - more - outline : " \ f469 " ; <nl> + @ ionicon - var - ios - musical - note : " \ f46b " ; <nl> + @ ionicon - var - ios - musical - notes : " \ f46c " ; <nl> + @ ionicon - var - ios - navigate : " \ f46e " ; <nl> + @ ionicon - var - ios - navigate - outline : " \ f46d " ; <nl> + @ ionicon - var - ios - nutrition : " \ f470 " ; <nl> + @ ionicon - var - ios - nutrition - outline : " \ f46f " ; <nl> + @ ionicon - var - ios - paper : " \ f472 " ; <nl> + @ ionicon - var - ios - paper - outline : " \ f471 " ; <nl> + @ ionicon - var - ios - paperplane : " \ f474 " ; <nl> + @ ionicon - var - ios - paperplane - outline : " \ f473 " ; <nl> + @ ionicon - var - ios - partlysunny : " \ f476 " ; <nl> + @ ionicon - var - ios - partlysunny - outline : " \ f475 " ; <nl> + @ ionicon - var - ios - pause : " \ f478 " ; <nl> + @ ionicon - var - ios - pause - outline : " \ f477 " ; <nl> + @ ionicon - var - ios - paw : " \ f47a " ; <nl> + @ ionicon - var - ios - paw - outline : " \ f479 " ; <nl> + @ ionicon - var - ios - people : " \ f47c " ; <nl> + @ ionicon - var - ios - people - outline : " \ f47b " ; <nl> + @ ionicon - var - ios - person : " \ f47e " ; <nl> + @ ionicon - var - ios - person - outline : " \ f47d " ; <nl> + @ ionicon - var - ios - personadd : " \ f480 " ; <nl> + @ ionicon - var - ios - personadd - outline : " \ f47f " ; <nl> + @ ionicon - var - ios - photos : " \ f482 " ; <nl> + @ ionicon - var - ios - photos - outline : " \ f481 " ; <nl> + @ ionicon - var - ios - pie : " \ f484 " ; <nl> + @ ionicon - var - ios - pie - outline : " \ f483 " ; <nl> + @ ionicon - var - ios - pint : " \ f486 " ; <nl> + @ ionicon - var - ios - pint - outline : " \ f485 " ; <nl> + @ ionicon - var - ios - play : " \ f488 " ; <nl> + @ ionicon - var - ios - play - outline : " \ f487 " ; <nl> + @ ionicon - var - ios - plus : " \ f48b " ; <nl> + @ ionicon - var - ios - plus - empty : " \ f489 " ; <nl> + @ ionicon - var - ios - plus - outline : " \ f48a " ; <nl> + @ ionicon - var - ios - pricetag : " \ f48d " ; <nl> + @ ionicon - var - ios - pricetag - outline : " \ f48c " ; <nl> + @ ionicon - var - ios - pricetags : " \ f48f " ; <nl> + @ ionicon - var - ios - pricetags - outline : " \ f48e " ; <nl> + @ ionicon - var - ios - printer : " \ f491 " ; <nl> + @ ionicon - var - ios - printer - outline : " \ f490 " ; <nl> + @ ionicon - var - ios - pulse : " \ f493 " ; <nl> + @ ionicon - var - ios - pulse - strong : " \ f492 " ; <nl> + @ ionicon - var - ios - rainy : " \ f495 " ; <nl> + @ ionicon - var - ios - rainy - outline : " \ f494 " ; <nl> + @ ionicon - var - ios - recording : " \ f497 " ; <nl> + @ ionicon - var - ios - recording - outline : " \ f496 " ; <nl> + @ ionicon - var - ios - redo : " \ f499 " ; <nl> + @ ionicon - var - ios - redo - outline : " \ f498 " ; <nl> + @ ionicon - var - ios - refresh : " \ f49c " ; <nl> + @ ionicon - var - ios - refresh - empty : " \ f49a " ; <nl> + @ ionicon - var - ios - refresh - outline : " \ f49b " ; <nl> + @ ionicon - var - ios - reload : " \ f49d " ; <nl> + @ ionicon - var - ios - reverse - camera : " \ f49f " ; <nl> + @ ionicon - var - ios - reverse - camera - outline : " \ f49e " ; <nl> + @ ionicon - var - ios - rewind : " \ f4a1 " ; <nl> + @ ionicon - var - ios - rewind - outline : " \ f4a0 " ; <nl> + @ ionicon - var - ios - rose : " \ f4a3 " ; <nl> + @ ionicon - var - ios - rose - outline : " \ f4a2 " ; <nl> + @ ionicon - var - ios - search : " \ f4a5 " ; <nl> + @ ionicon - var - ios - search - strong : " \ f4a4 " ; <nl> + @ ionicon - var - ios - settings : " \ f4a7 " ; <nl> + @ ionicon - var - ios - settings - strong : " \ f4a6 " ; <nl> + @ ionicon - var - ios - shuffle : " \ f4a9 " ; <nl> + @ ionicon - var - ios - shuffle - strong : " \ f4a8 " ; <nl> + @ ionicon - var - ios - skipbackward : " \ f4ab " ; <nl> + @ ionicon - var - ios - skipbackward - outline : " \ f4aa " ; <nl> + @ ionicon - var - ios - skipforward : " \ f4ad " ; <nl> + @ ionicon - var - ios - skipforward - outline : " \ f4ac " ; <nl> + @ ionicon - var - ios - snowy : " \ f4ae " ; <nl> + @ ionicon - var - ios - speedometer : " \ f4b0 " ; <nl> + @ ionicon - var - ios - speedometer - outline : " \ f4af " ; <nl> + @ ionicon - var - ios - star : " \ f4b3 " ; <nl> + @ ionicon - var - ios - star - half : " \ f4b1 " ; <nl> + @ ionicon - var - ios - star - outline : " \ f4b2 " ; <nl> + @ ionicon - var - ios - stopwatch : " \ f4b5 " ; <nl> + @ ionicon - var - ios - stopwatch - outline : " \ f4b4 " ; <nl> + @ ionicon - var - ios - sunny : " \ f4b7 " ; <nl> + @ ionicon - var - ios - sunny - outline : " \ f4b6 " ; <nl> + @ ionicon - var - ios - telephone : " \ f4b9 " ; <nl> + @ ionicon - var - ios - telephone - outline : " \ f4b8 " ; <nl> + @ ionicon - var - ios - tennisball : " \ f4bb " ; <nl> + @ ionicon - var - ios - tennisball - outline : " \ f4ba " ; <nl> + @ ionicon - var - ios - thunderstorm : " \ f4bd " ; <nl> + @ ionicon - var - ios - thunderstorm - outline : " \ f4bc " ; <nl> + @ ionicon - var - ios - time : " \ f4bf " ; <nl> + @ ionicon - var - ios - time - outline : " \ f4be " ; <nl> + @ ionicon - var - ios - timer : " \ f4c1 " ; <nl> + @ ionicon - var - ios - timer - outline : " \ f4c0 " ; <nl> + @ ionicon - var - ios - toggle : " \ f4c3 " ; <nl> + @ ionicon - var - ios - toggle - outline : " \ f4c2 " ; <nl> + @ ionicon - var - ios - trash : " \ f4c5 " ; <nl> + @ ionicon - var - ios - trash - outline : " \ f4c4 " ; <nl> + @ ionicon - var - ios - undo : " \ f4c7 " ; <nl> + @ ionicon - var - ios - undo - outline : " \ f4c6 " ; <nl> + @ ionicon - var - ios - unlocked : " \ f4c9 " ; <nl> + @ ionicon - var - ios - unlocked - outline : " \ f4c8 " ; <nl> + @ ionicon - var - ios - upload : " \ f4cb " ; <nl> + @ ionicon - var - ios - upload - outline : " \ f4ca " ; <nl> + @ ionicon - var - ios - videocam : " \ f4cd " ; <nl> + @ ionicon - var - ios - videocam - outline : " \ f4cc " ; <nl> + @ ionicon - var - ios - volume - high : " \ f4ce " ; <nl> + @ ionicon - var - ios - volume - low : " \ f4cf " ; <nl> + @ ionicon - var - ios - wineglass : " \ f4d1 " ; <nl> + @ ionicon - var - ios - wineglass - outline : " \ f4d0 " ; <nl> + @ ionicon - var - ios - world : " \ f4d3 " ; <nl> + @ ionicon - var - ios - world - outline : " \ f4d2 " ; <nl> + @ ionicon - var - ipad : " \ f1f9 " ; <nl> + @ ionicon - var - iphone : " \ f1fa " ; <nl> + @ ionicon - var - ipod : " \ f1fb " ; <nl> + @ ionicon - var - jet : " \ f295 " ; <nl> + @ ionicon - var - key : " \ f296 " ; <nl> + @ ionicon - var - knife : " \ f297 " ; <nl> + @ ionicon - var - laptop : " \ f1fc " ; <nl> + @ ionicon - var - leaf : " \ f1fd " ; <nl> + @ ionicon - var - levels : " \ f298 " ; <nl> + @ ionicon - var - lightbulb : " \ f299 " ; <nl> + @ ionicon - var - link : " \ f1fe " ; <nl> + @ ionicon - var - load - a : " \ f29a " ; <nl> + @ ionicon - var - load - b : " \ f29b " ; <nl> + @ ionicon - var - load - c : " \ f29c " ; <nl> + @ ionicon - var - load - d : " \ f29d " ; <nl> + @ ionicon - var - location : " \ f1ff " ; <nl> + @ ionicon - var - lock - combination : " \ f4d4 " ; <nl> + @ ionicon - var - locked : " \ f200 " ; <nl> + @ ionicon - var - log - in : " \ f29e " ; <nl> + @ ionicon - var - log - out : " \ f29f " ; <nl> + @ ionicon - var - loop : " \ f201 " ; <nl> + @ ionicon - var - magnet : " \ f2a0 " ; <nl> + @ ionicon - var - male : " \ f2a1 " ; <nl> + @ ionicon - var - man : " \ f202 " ; <nl> + @ ionicon - var - map : " \ f203 " ; <nl> + @ ionicon - var - medkit : " \ f2a2 " ; <nl> + @ ionicon - var - merge : " \ f33f " ; <nl> + @ ionicon - var - mic - a : " \ f204 " ; <nl> + @ ionicon - var - mic - b : " \ f205 " ; <nl> + @ ionicon - var - mic - c : " \ f206 " ; <nl> + @ ionicon - var - minus : " \ f209 " ; <nl> + @ ionicon - var - minus - circled : " \ f207 " ; <nl> + @ ionicon - var - minus - round : " \ f208 " ; <nl> + @ ionicon - var - model - s : " \ f2c1 " ; <nl> + @ ionicon - var - monitor : " \ f20a " ; <nl> + @ ionicon - var - more : " \ f20b " ; <nl> + @ ionicon - var - mouse : " \ f340 " ; <nl> + @ ionicon - var - music - note : " \ f20c " ; <nl> + @ ionicon - var - navicon : " \ f20e " ; <nl> + @ ionicon - var - navicon - round : " \ f20d " ; <nl> + @ ionicon - var - navigate : " \ f2a3 " ; <nl> + @ ionicon - var - network : " \ f341 " ; <nl> + @ ionicon - var - no - smoking : " \ f2c2 " ; <nl> + @ ionicon - var - nuclear : " \ f2a4 " ; <nl> + @ ionicon - var - outlet : " \ f342 " ; <nl> + @ ionicon - var - paintbrush : " \ f4d5 " ; <nl> + @ ionicon - var - paintbucket : " \ f4d6 " ; <nl> + @ ionicon - var - paper - airplane : " \ f2c3 " ; <nl> + @ ionicon - var - paperclip : " \ f20f " ; <nl> + @ ionicon - var - pause : " \ f210 " ; <nl> + @ ionicon - var - person : " \ f213 " ; <nl> + @ ionicon - var - person - add : " \ f211 " ; <nl> + @ ionicon - var - person - stalker : " \ f212 " ; <nl> + @ ionicon - var - pie - graph : " \ f2a5 " ; <nl> + @ ionicon - var - pin : " \ f2a6 " ; <nl> + @ ionicon - var - pinpoint : " \ f2a7 " ; <nl> + @ ionicon - var - pizza : " \ f2a8 " ; <nl> + @ ionicon - var - plane : " \ f214 " ; <nl> + @ ionicon - var - planet : " \ f343 " ; <nl> + @ ionicon - var - play : " \ f215 " ; <nl> + @ ionicon - var - playstation : " \ f30a " ; <nl> + @ ionicon - var - plus : " \ f218 " ; <nl> + @ ionicon - var - plus - circled : " \ f216 " ; <nl> + @ ionicon - var - plus - round : " \ f217 " ; <nl> + @ ionicon - var - podium : " \ f344 " ; <nl> + @ ionicon - var - pound : " \ f219 " ; <nl> + @ ionicon - var - power : " \ f2a9 " ; <nl> + @ ionicon - var - pricetag : " \ f2aa " ; <nl> + @ ionicon - var - pricetags : " \ f2ab " ; <nl> + @ ionicon - var - printer : " \ f21a " ; <nl> + @ ionicon - var - pull - request : " \ f345 " ; <nl> + @ ionicon - var - qr - scanner : " \ f346 " ; <nl> + @ ionicon - var - quote : " \ f347 " ; <nl> + @ ionicon - var - radio - waves : " \ f2ac " ; <nl> + @ ionicon - var - record : " \ f21b " ; <nl> + @ ionicon - var - refresh : " \ f21c " ; <nl> + @ ionicon - var - reply : " \ f21e " ; <nl> + @ ionicon - var - reply - all : " \ f21d " ; <nl> + @ ionicon - var - ribbon - a : " \ f348 " ; <nl> + @ ionicon - var - ribbon - b : " \ f349 " ; <nl> + @ ionicon - var - sad : " \ f34a " ; <nl> + @ ionicon - var - sad - outline : " \ f4d7 " ; <nl> + @ ionicon - var - scissors : " \ f34b " ; <nl> + @ ionicon - var - search : " \ f21f " ; <nl> + @ ionicon - var - settings : " \ f2ad " ; <nl> + @ ionicon - var - share : " \ f220 " ; <nl> + @ ionicon - var - shuffle : " \ f221 " ; <nl> + @ ionicon - var - skip - backward : " \ f222 " ; <nl> + @ ionicon - var - skip - forward : " \ f223 " ; <nl> + @ ionicon - var - social - android : " \ f225 " ; <nl> + @ ionicon - var - social - android - outline : " \ f224 " ; <nl> + @ ionicon - var - social - angular : " \ f4d9 " ; <nl> + @ ionicon - var - social - angular - outline : " \ f4d8 " ; <nl> + @ ionicon - var - social - apple : " \ f227 " ; <nl> + @ ionicon - var - social - apple - outline : " \ f226 " ; <nl> + @ ionicon - var - social - bitcoin : " \ f2af " ; <nl> + @ ionicon - var - social - bitcoin - outline : " \ f2ae " ; <nl> + @ ionicon - var - social - buffer : " \ f229 " ; <nl> + @ ionicon - var - social - buffer - outline : " \ f228 " ; <nl> + @ ionicon - var - social - chrome : " \ f4db " ; <nl> + @ ionicon - var - social - chrome - outline : " \ f4da " ; <nl> + @ ionicon - var - social - codepen : " \ f4dd " ; <nl> + @ ionicon - var - social - codepen - outline : " \ f4dc " ; <nl> + @ ionicon - var - social - css3 : " \ f4df " ; <nl> + @ ionicon - var - social - css3 - outline : " \ f4de " ; <nl> + @ ionicon - var - social - designernews : " \ f22b " ; <nl> + @ ionicon - var - social - designernews - outline : " \ f22a " ; <nl> + @ ionicon - var - social - dribbble : " \ f22d " ; <nl> + @ ionicon - var - social - dribbble - outline : " \ f22c " ; <nl> + @ ionicon - var - social - dropbox : " \ f22f " ; <nl> + @ ionicon - var - social - dropbox - outline : " \ f22e " ; <nl> + @ ionicon - var - social - euro : " \ f4e1 " ; <nl> + @ ionicon - var - social - euro - outline : " \ f4e0 " ; <nl> + @ ionicon - var - social - facebook : " \ f231 " ; <nl> + @ ionicon - var - social - facebook - outline : " \ f230 " ; <nl> + @ ionicon - var - social - foursquare : " \ f34d " ; <nl> + @ ionicon - var - social - foursquare - outline : " \ f34c " ; <nl> + @ ionicon - var - social - freebsd - devil : " \ f2c4 " ; <nl> + @ ionicon - var - social - github : " \ f233 " ; <nl> + @ ionicon - var - social - github - outline : " \ f232 " ; <nl> + @ ionicon - var - social - google : " \ f34f " ; <nl> + @ ionicon - var - social - google - outline : " \ f34e " ; <nl> + @ ionicon - var - social - googleplus : " \ f235 " ; <nl> + @ ionicon - var - social - googleplus - outline : " \ f234 " ; <nl> + @ ionicon - var - social - hackernews : " \ f237 " ; <nl> + @ ionicon - var - social - hackernews - outline : " \ f236 " ; <nl> + @ ionicon - var - social - html5 : " \ f4e3 " ; <nl> + @ ionicon - var - social - html5 - outline : " \ f4e2 " ; <nl> + @ ionicon - var - social - instagram : " \ f351 " ; <nl> + @ ionicon - var - social - instagram - outline : " \ f350 " ; <nl> + @ ionicon - var - social - javascript : " \ f4e5 " ; <nl> + @ ionicon - var - social - javascript - outline : " \ f4e4 " ; <nl> + @ ionicon - var - social - linkedin : " \ f239 " ; <nl> + @ ionicon - var - social - linkedin - outline : " \ f238 " ; <nl> + @ ionicon - var - social - markdown : " \ f4e6 " ; <nl> + @ ionicon - var - social - nodejs : " \ f4e7 " ; <nl> + @ ionicon - var - social - octocat : " \ f4e8 " ; <nl> + @ ionicon - var - social - pinterest : " \ f2b1 " ; <nl> + @ ionicon - var - social - pinterest - outline : " \ f2b0 " ; <nl> + @ ionicon - var - social - python : " \ f4e9 " ; <nl> + @ ionicon - var - social - reddit : " \ f23b " ; <nl> + @ ionicon - var - social - reddit - outline : " \ f23a " ; <nl> + @ ionicon - var - social - rss : " \ f23d " ; <nl> + @ ionicon - var - social - rss - outline : " \ f23c " ; <nl> + @ ionicon - var - social - sass : " \ f4ea " ; <nl> + @ ionicon - var - social - skype : " \ f23f " ; <nl> + @ ionicon - var - social - skype - outline : " \ f23e " ; <nl> + @ ionicon - var - social - snapchat : " \ f4ec " ; <nl> + @ ionicon - var - social - snapchat - outline : " \ f4eb " ; <nl> + @ ionicon - var - social - tumblr : " \ f241 " ; <nl> + @ ionicon - var - social - tumblr - outline : " \ f240 " ; <nl> + @ ionicon - var - social - tux : " \ f2c5 " ; <nl> + @ ionicon - var - social - twitch : " \ f4ee " ; <nl> + @ ionicon - var - social - twitch - outline : " \ f4ed " ; <nl> + @ ionicon - var - social - twitter : " \ f243 " ; <nl> + @ ionicon - var - social - twitter - outline : " \ f242 " ; <nl> + @ ionicon - var - social - usd : " \ f353 " ; <nl> + @ ionicon - var - social - usd - outline : " \ f352 " ; <nl> + @ ionicon - var - social - vimeo : " \ f245 " ; <nl> + @ ionicon - var - social - vimeo - outline : " \ f244 " ; <nl> + @ ionicon - var - social - whatsapp : " \ f4f0 " ; <nl> + @ ionicon - var - social - whatsapp - outline : " \ f4ef " ; <nl> + @ ionicon - var - social - windows : " \ f247 " ; <nl> + @ ionicon - var - social - windows - outline : " \ f246 " ; <nl> + @ ionicon - var - social - wordpress : " \ f249 " ; <nl> + @ ionicon - var - social - wordpress - outline : " \ f248 " ; <nl> + @ ionicon - var - social - yahoo : " \ f24b " ; <nl> + @ ionicon - var - social - yahoo - outline : " \ f24a " ; <nl> + @ ionicon - var - social - yen : " \ f4f2 " ; <nl> + @ ionicon - var - social - yen - outline : " \ f4f1 " ; <nl> + @ ionicon - var - social - youtube : " \ f24d " ; <nl> + @ ionicon - var - social - youtube - outline : " \ f24c " ; <nl> + @ ionicon - var - soup - can : " \ f4f4 " ; <nl> + @ ionicon - var - soup - can - outline : " \ f4f3 " ; <nl> + @ ionicon - var - speakerphone : " \ f2b2 " ; <nl> + @ ionicon - var - speedometer : " \ f2b3 " ; <nl> + @ ionicon - var - spoon : " \ f2b4 " ; <nl> + @ ionicon - var - star : " \ f24e " ; <nl> + @ ionicon - var - stats - bars : " \ f2b5 " ; <nl> + @ ionicon - var - steam : " \ f30b " ; <nl> + @ ionicon - var - stop : " \ f24f " ; <nl> + @ ionicon - var - thermometer : " \ f2b6 " ; <nl> + @ ionicon - var - thumbsdown : " \ f250 " ; <nl> + @ ionicon - var - thumbsup : " \ f251 " ; <nl> + @ ionicon - var - toggle : " \ f355 " ; <nl> + @ ionicon - var - toggle - filled : " \ f354 " ; <nl> + @ ionicon - var - transgender : " \ f4f5 " ; <nl> + @ ionicon - var - trash - a : " \ f252 " ; <nl> + @ ionicon - var - trash - b : " \ f253 " ; <nl> + @ ionicon - var - trophy : " \ f356 " ; <nl> + @ ionicon - var - tshirt : " \ f4f7 " ; <nl> + @ ionicon - var - tshirt - outline : " \ f4f6 " ; <nl> + @ ionicon - var - umbrella : " \ f2b7 " ; <nl> + @ ionicon - var - university : " \ f357 " ; <nl> + @ ionicon - var - unlocked : " \ f254 " ; <nl> + @ ionicon - var - upload : " \ f255 " ; <nl> + @ ionicon - var - usb : " \ f2b8 " ; <nl> + @ ionicon - var - videocamera : " \ f256 " ; <nl> + @ ionicon - var - volume - high : " \ f257 " ; <nl> + @ ionicon - var - volume - low : " \ f258 " ; <nl> + @ ionicon - var - volume - medium : " \ f259 " ; <nl> + @ ionicon - var - volume - mute : " \ f25a " ; <nl> + @ ionicon - var - wand : " \ f358 " ; <nl> + @ ionicon - var - waterdrop : " \ f25b " ; <nl> + @ ionicon - var - wifi : " \ f25c " ; <nl> + @ ionicon - var - wineglass : " \ f2b9 " ; <nl> + @ ionicon - var - woman : " \ f25d " ; <nl> + @ ionicon - var - wrench : " \ f2ba " ; <nl> + @ ionicon - var - xbox : " \ f30c " ; <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 00000000000 . . c83071de168 <nl> mmm / dev / null <nl> ppp b / admin / static / less / flexbox - mixins . less <nl> <nl> + . flex ( ) { <nl> + display : - webkit - box ; <nl> + display : - moz - box ; <nl> + display : - webkit - flex ; <nl> + display : - ms - flexbox ; <nl> + display : flex ; <nl> + } <nl> + <nl> + . flex - justify ( @ justifyStyle ) { <nl> + <nl> + . ms - flex - justify ( @ justifyStyle ) ; <nl> + - webkit - justify - content : @ justifyStyle ; <nl> + justify - content : @ justifyStyle ; <nl> + } <nl> + <nl> + . flex - direction ( @ direction ) { <nl> + - ms - flex - direction : @ direction ; <nl> + - webkit - flex - direction : @ direction ; <nl> + flex - direction : @ direction ; <nl> + } <nl> + <nl> + . flex - align - items ( @ alignStyle ) { <nl> + - ms - flex - align : @ alignStyle ; <nl> + - webkit - align - items : @ alignStyle ; <nl> + align - items : @ alignStyle ; <nl> + } <nl> + <nl> + . flex - align - self ( @ selfAlignStyle ) { <nl> + . ms - flex - align - self ( @ selfAlignStyle ) ; <nl> + - webkit - align - self : @ selfAlignStyle ; <nl> + align - self : @ selfAlignStyle ; <nl> + } <nl> + <nl> + . flex - order ( @ order ) { <nl> + - ms - flex - order : @ order ; <nl> + - webkit - order : @ order ; <nl> + order : @ order ; <nl> + } <nl> + <nl> + . flex - wrap ( @ wrap ) { <nl> + - ms - flex - wrap : @ wrap ; <nl> + - webkit - flex - wrap : @ wrap ; <nl> + flex - wrap : @ wrap ; <nl> + } <nl> + <nl> + . flex - grow ( @ grow : 0 ) { <nl> + - webkit - flex - grow : @ grow ; <nl> + - moz - flex - grow : @ grow ; <nl> + - ms - flex - grow : @ grow ; <nl> + flex - grow : @ grow ; <nl> + } <nl> + <nl> + . flex - shrink ( @ shrink : 1 ) { <nl> + - webkit - flex - shrink : @ shrink ; <nl> + - moz - flex - shrink : @ shrink ; <nl> + - ms - flex - shrink : @ shrink ; <nl> + flex - shrink : @ shrink ; <nl> + } <nl> + <nl> + <nl> + / * These are the conditional mixins for the different syntax for IE10 Flexbox * / <nl> + . ms - flex - justify ( @ msJustify ) when ( @ msJustify = space - between ) { <nl> + - ms - flex - pack : justify ; <nl> + } <nl> + <nl> + . ms - flex - justify ( @ msJustify ) when ( @ msJustify = space - around ) { <nl> + - ms - flex - pack : distribute ; <nl> + } <nl> + <nl> + . ms - flex - justify ( @ msJustify ) when ( @ msJustify = flex - end ) { <nl> + - ms - flex - pack : end ; <nl> + } <nl> + <nl> + . ms - flex - justify ( @ msJustify ) when ( @ msJustify = flex - start ) { <nl> + - ms - flex - pack : start ; <nl> + } <nl> + <nl> + . ms - flex - justify ( @ msJustify ) when ( @ msJustify = center ) { <nl> + - ms - flex - pack : center ; <nl> + } <nl> + <nl> + . ms - flex - align - self ( @ msSelfAlign ) when ( @ msSelfAlign = flex - end ) { <nl> + - ms - flex - item - align : end ; <nl> + } <nl> + <nl> + . ms - flex - align - self ( @ msSelfAlign ) when ( @ msSelfAlign = flex - start ) { <nl> + - ms - flex - item - align : start ; <nl> + } <nl> + <nl> + . ms - flex - align - self ( @ msSelfAlign ) when ( @ msSelfAlign = auto ) , ( @ msSelfAlign = center ) , ( @ msSelfAlign = baseline ) , ( @ msSelfAlign = stretch ) { <nl> + - ms - flex - item - align : @ msSelfAlign ; <nl> + } <nl> \ No newline at end of file <nl> new file mode 100644 <nl> index 00000000000 . . 163b80e7752 <nl> mmm / dev / null <nl> ppp b / admin / static / less / ionicons . less <nl> <nl> + @ import " _ionicons - variables " ; <nl> + @ import " _ionicons - font " ; <nl> + @ import " _ionicons - icons " ; <nl> mmm a / admin / static / less / styles . less <nl> ppp b / admin / static / less / styles . less <nl> <nl> @ sans : ' Open Sans ' , sans - serif ; <nl> @ serif : ' Copse ' , serif ; <nl> @ monospace : monospace ; <nl> + @ ionicons : ' Ionicons ' ; <nl> <nl> / / Visualizations ( graphs , etc . ) <nl> @ import " vis . less " ; <nl> <nl> - / * <nl> + / / Flexbox ms prefixes <nl> + @ import " flexbox - mixins . less " ; <nl> + <nl> + / / Ionicon mixins <nl> + @ import " ionicons . less " ; <nl> + <nl> + / * <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> Sticky footer and 100 % height <nl> - Uses Adham Dannaway ' s sticky footer approach ( adhamdannaway . com ) <nl> html , body { <nl> font - family : @ monospace ; <nl> } <nl> } <nl> + . new - box ( @ icon , @ border , @ background , @ icon - color ) { <nl> + @ icon - size : 18px ; <nl> + border : 1px solid @ border ; <nl> + text - align : left ; <nl> + background - color : @ background ; <nl> + font - family : @ sans ; <nl> + border - radius : 3px ; <nl> + color : lighten ( black , 30 % ) ; <nl> + position : relative ; <nl> + padding : 0px ; <nl> + <nl> + p { <nl> + margin : 10px 10px 10px @ icon - size + 15 ! important ; <nl> + } <nl> + <nl> + & : : before { <nl> + content : @ icon ; <nl> + font - family : @ ionicons ; <nl> + font - size : @ icon - size ; <nl> + color : @ icon - color ; <nl> + position : absolute ; <nl> + top : 10px ; <nl> + left : 10px ; <nl> + height : 100 % ; <nl> + } <nl> + } <nl> + . new - infobox { <nl> + / / @ border - color : rgb ( 201 , 217 , 225 ) ; <nl> + @ border - color : # C9D9E1 ; <nl> + @ icon - color : darken ( saturate ( # 9FCADF , 10 % ) , 10 % ) ; <nl> + @ background - color : lighten ( @ icon - color , 30 % ) ; <nl> + . new - box ( @ ionicon - var - information - circled , <nl> + @ border - color , <nl> + @ background - color , <nl> + @ icon - color ) ; <nl> + } <nl> + <nl> + . new - errorbox { <nl> + @ icon - color : darken ( saturate ( # F1D5D5 , 10 % ) , 20 % ) ; <nl> + @ border - color : # D8C8C8 ; <nl> + @ background - color : # F2E4E4 ; <nl> + . new - box ( @ ionicon - var - alert - circled , <nl> + @ border - color , <nl> + @ background - color , <nl> + @ icon - color ) ; <nl> + } <nl> + <nl> # main_view { <nl> height : 100 % ; <nl> } <nl> body : before { <nl> z - index : 201 ; <nl> left : 50 % ; <nl> top : - 10px ; <nl> - width : 0 ; <nl> - height : 0 ; <nl> + width : 0 ; <nl> + height : 0 ; <nl> margin : 1px 0px 0px 185px ; <nl> border - left : 10px solid transparent ; <nl> - border - right : 10px solid transparent ; <nl> - border - bottom : 10px solid # F6F0E3 ; <nl> + border - right : 10px solid transparent ; <nl> + border - bottom : 10px solid # F6F0E3 ; <nl> } <nl> . options_background { <nl> width : 100 % ; <nl> button . btn { <nl> } <nl> # main - container { <nl> padding - top : 30px ; <nl> - <nl> + <nl> . cluster_with_margin { <nl> padding : 0px 20px ; <nl> } <nl> <nl> . section { <nl> - padding : 20px 25px ; <nl> + padding : 20px 25px ; <nl> margin - bottom : 25px ; <nl> <nl> / / csshat <nl> TODO : retire this <nl> } <nl> } <nl> <nl> - p . copyright { <nl> + p . copyright { <nl> float : right ; <nl> margin : 0 ; <nl> } <nl> TODO : retire this <nl> # navbar { <nl> font - family : @ sans ; <nl> @ text_shadow : 0 - 1px 0 rgba ( 0 , 0 , 0 , 0 . 4 ) ; <nl> - <nl> + <nl> / * left nav ( logo , links , etc . ) * / <nl> ul . nav - left { <nl> margin : 0 ; <nl> TODO : retire this <nl> } <nl> <nl> h4 { <nl> - font - family : @ serif ; <nl> + font - family : @ serif ; <nl> font - size : 18px ; <nl> line - height : 24px ; <nl> margin : 0 ; <nl> TODO : retire this <nl> position : relative ; <nl> background - color : # dd504e ; <nl> <nl> - @ border : 1px solid # b54a48 ; <nl> + @ border : 1px solid # b54a48 ; <nl> border - top : @ border ; <nl> border - bottom : @ border ; <nl> <nl> TODO : retire this <nl> & . no - issues { <nl> background - color : # 4E9258 ; <nl> border - color : # 41834a ; <nl> - & : before { <nl> + & : before { <nl> background - color : # 4E9258 ; <nl> border - color : # 41834a ; <nl> } <nl> TODO : retire this <nl> <nl> / / Hack required for the css arrow - - we need to hide the bottom half of the arrow , so fill it in with a gradient overlay <nl> . gradient - overlay { <nl> - / * transform z - index hack * / <nl> + / * transform z - index hack * / <nl> . transform ( ~ " rotate ( 0deg ) " ) ; <nl> <nl> background - color : # dd504e ; / / layer fill content <nl> TODO : retire this <nl> background - color : # fcfcfc ; <nl> border - bottom : 1px solid # ccc ; <nl> # issue - alerts . alert { <nl> - display : block ; <nl> + display : block ; <nl> <nl> background : 15px center no - repeat url ( ' images / resolve_issue - resolved_icon . png ' ) ; <nl> padding - left : 40px ; <nl> TODO : retire this <nl> } <nl> } <nl> <nl> - / * <nl> + / * <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> - Overwrite modal <nl> + Overwrite modal <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> * / <nl> . overwrite_modal { <nl> TODO : retire this <nl> margin : 50px 0px 0px - 470px ; <nl> } <nl> <nl> - / * <nl> + / * <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> Modal styles <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> TODO : retire this <nl> margin - right : auto ; <nl> overflow : auto ; <nl> border - collapse : collapse ; <nl> - display : flex ; <nl> + . flex ( ) ; <nl> . panel { <nl> border : thin solid # dfdfdf ; <nl> - flex - grow : 1 ; <nl> + . flex - grow ( 1 ) ; <nl> @ bad : # e85250 ; <nl> @ good : # 3ba51a ; <nl> vertical - align : top ; <nl> & > div : first - child { <nl> padding : 20px ; <nl> - display : flex ; <nl> - justify - content : center ; <nl> + . flex ( ) ; <nl> + . flex - justify ( center ) ; <nl> } <nl> h3 { <nl> margin - top : 0 ; <nl> TODO : retire this <nl> color : # 4c4c4c ; <nl> padding - left : 21px ; <nl> } <nl> - <nl> + <nl> . no - problems - detected h3 { background : 0 3px no - repeat url ( ' images / green - light . png ' ) ; } <nl> . problems - detected h3 { background : 0 3px no - repeat url ( ' images / red - light . png ' ) ; } <nl> <nl> TODO : retire this <nl> z - index : 201 ; <nl> top : 60px ; <nl> left : - 11px ; <nl> - width : 0 ; <nl> - height : 0 ; <nl> + width : 0 ; <nl> + height : 0 ; <nl> border - top : 10px solid transparent ; <nl> - border - bottom : 10px solid transparent ; <nl> - border - right : 10px solid # bbb ; <nl> + border - bottom : 10px solid transparent ; <nl> + border - right : 10px solid # bbb ; <nl> } <nl> . arrow_left_overlay { <nl> position : absolute ; <nl> z - index : 202 ; <nl> top : 60px ; <nl> left : - 10px ; / / TODO <nl> - width : 0 ; <nl> - height : 0 ; <nl> + width : 0 ; <nl> + height : 0 ; <nl> border - top : 10px solid transparent ; <nl> - border - bottom : 10px solid transparent ; <nl> - border - right : 10px solid # fff ; <nl> + border - bottom : 10px solid transparent ; <nl> + border - right : 10px solid # fff ; <nl> } <nl> . arrow_right { <nl> position : absolute ; <nl> z - index : 201 ; <nl> top : 60px ; <nl> left : 471px ; <nl> - width : 0 ; <nl> - height : 0 ; <nl> + width : 0 ; <nl> + height : 0 ; <nl> border - top : 10px solid transparent ; <nl> - border - bottom : 10px solid transparent ; <nl> - border - left : 10px solid # bbb ; <nl> + border - bottom : 10px solid transparent ; <nl> + border - left : 10px solid # bbb ; <nl> } <nl> . arrow_right_overlay { <nl> position : absolute ; <nl> z - index : 202 ; <nl> top : 60px ; <nl> left : 470px ; <nl> - width : 0 ; <nl> - height : 0 ; <nl> + width : 0 ; <nl> + height : 0 ; <nl> border - top : 10px solid transparent ; <nl> - border - bottom : 10px solid transparent ; <nl> - border - left : 10px solid # fff ; <nl> + border - bottom : 10px solid transparent ; <nl> + border - left : 10px solid # fff ; <nl> } <nl> <nl> h4 { <nl> TODO : retire this <nl> } <nl> } <nl> # log - view { <nl> - h2 . title { <nl> + h2 . title { <nl> border - bottom : thin solid # f0f0f0 ; <nl> padding - bottom : 22px ; <nl> margin - bottom : 0 ; <nl> TODO : retire this <nl> border : thin solid # cfcfcf ; <nl> . border - radius ( 3px ) ; <nl> margin - top : 12px ; <nl> - <nl> + <nl> . box - shadow ( ~ " 0 1px 0 rgba ( 255 , 255 , 255 , 0 . 02 ) , 0 1px 3px rgba ( 0 , 0 , 0 , 0 . 08 ) " ) ; <nl> <nl> . checkbox - container { <nl> TODO : retire this <nl> } <nl> } <nl> <nl> - . server - details { <nl> + . server - details { <nl> position : relative ; <nl> margin - left : 45px ; <nl> <nl> TODO : retire this <nl> background : # fff ; <nl> . border - radius ( 4px 4px 0px 0px ) ; <nl> <nl> - . element - type , h3 . name { <nl> + . element - type , h3 . name { <nl> display : inline - block ; <nl> vertical - align : middle ; <nl> } <nl> TODO : retire this <nl> border : thin solid # cfcfcf ; <nl> . border - radius ( 3px ) ; <nl> margin - top : 12px ; <nl> - <nl> + <nl> . box - shadow ( ~ " 0 1px 0 rgba ( 255 , 255 , 255 , 0 . 02 ) , 0 1px 3px rgba ( 0 , 0 , 0 , 0 . 08 ) " ) ; <nl> <nl> . checkbox - container { <nl> TODO : retire this <nl> } <nl> <nl> . element - details { <nl> - display : flex ; <nl> - flex - direction : row ; <nl> - justify - content : space - between ; <nl> - align - items : stretch ; <nl> + . flex ( ) ; <nl> + . flex - direction ( row ) ; <nl> + . flex - justify ( space - between ) ; <nl> + . flex - align - items ( stretch ) ; <nl> height : 100 % ; <nl> <nl> @ border_padding : 20px ; <nl> TODO : retire this <nl> @ offset : 8px ; <nl> padding : 0 @ offset * 2 ; <nl> border - left : thin solid # e4e4e4 ; <nl> - display : flex ; <nl> - align - items : center ; <nl> + . flex ( ) ; <nl> + . flex - align - items ( center ) ; <nl> height : 100 % ; <nl> } <nl> / / mixin for icons <nl> TODO : retire this <nl> font - weight : bold ; <nl> overflow : hidden ; <nl> text - overflow : ellipsis ; <nl> - flex - grow : 2 ; <nl> + . flex - grow ( 2 ) ; <nl> } <nl> . quick_info { <nl> . with - icon ( ' images / graph - icon . png ' ) ; <nl> TODO : retire this <nl> . border - radius ( 4px 4px 0px 0px ) ; <nl> <nl> . summary { <nl> - . element - type , h3 . name { <nl> + . element - type , h3 . name { <nl> display : inline - block ; <nl> vertical - align : middle ; <nl> } <nl> TODO : retire this <nl> border : thin solid # cfcfcf ; <nl> . border - radius ( 3px ) ; <nl> margin - top : 12px ; <nl> - <nl> + <nl> . box - shadow ( ~ " 0 1px 0 rgba ( 255 , 255 , 255 , 0 . 02 ) , 0 1px 3px rgba ( 0 , 0 , 0 , 0 . 08 ) " ) ; <nl> <nl> . checkbox - container { <nl> TODO : retire this <nl> } <nl> } <nl> <nl> - . element - details { <nl> + . element - details { <nl> position : relative ; <nl> margin - left : 45px ; <nl> <nl> TODO : retire this <nl> border - top : 0 ; <nl> } <nl> p { <nl> - margin : 0 ; <nl> + margin : 0 ; <nl> font - family : @ sans ; <nl> } <nl> . message { font - size : 14px ; } <nl> TODO : retire this <nl> <nl> / * <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> - Data explorer <nl> + Data explorer <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> * / <nl> / * Prevent the user from selecting something when he ' s resizing a div * / <nl> TODO : retire this <nl> z - index : 201 ; <nl> top : 10px ; <nl> left : 0px ; <nl> - width : 0 ; <nl> - height : 0 ; <nl> + width : 0 ; <nl> + height : 0 ; <nl> border - left : 10px solid transparent ; <nl> - border - right : 10px solid transparent ; <nl> - border - bottom : 10px solid # bbb ; <nl> + border - right : 10px solid transparent ; <nl> + border - bottom : 10px solid # bbb ; <nl> } <nl> . suggestion_description_arrow_overlay { <nl> display : none ; <nl> TODO : retire this <nl> z - index : 202 ; <nl> top : 11px ; <nl> left : 0px ; / / TODO <nl> - width : 0 ; <nl> - height : 0 ; <nl> + width : 0 ; <nl> + height : 0 ; <nl> border - left : 10px solid transparent ; <nl> - border - right : 10px solid transparent ; <nl> - border - bottom : 10px solid # fff ; <nl> + border - right : 10px solid transparent ; <nl> + border - bottom : 10px solid # fff ; <nl> } <nl> . suggestion_full_container { <nl> position : absolute ; <nl> TODO : retire this <nl> . arrow_dataexplorer { <nl> display : none ; <nl> float : right ; <nl> - width : 0 ; <nl> - height : 0 ; <nl> + width : 0 ; <nl> + height : 0 ; <nl> border - left : 6px solid transparent ; <nl> border - right : 6px solid transparent ; <nl> border - bottom : 6px solid # aaa ; <nl> TODO : retire this <nl> list - style : none ; <nl> padding : 0px ; <nl> width : 100 % ; <nl> - display : flex ; <nl> - flex - direction : column ; <nl> + . flex ( ) ; <nl> + . flex - direction ( column ) ; <nl> overflow : hidden ; <nl> . query_history { <nl> margin : 0px ; <nl> TODO : retire this <nl> overflow : auto ; <nl> / / word - break : break - word ; <nl> margin : 10px ; <nl> - display : flex ; <nl> + . flex ( ) ; <nl> flex - direction : row ; <nl> - justify - content : space - between ; <nl> + . flex - justify ( space - between ) ; <nl> . right_container { <nl> width : 100 % ; <nl> - display : flex ; <nl> - justify - content : flex - end ; <nl> - align - items : flex - end ; <nl> + . flex ( ) ; <nl> + . flex - justify ( flex - end ) ; <nl> + . flex - align - items ( flex - end ) ; <nl> . btn { <nl> padding : 2px 10px ; <nl> margin : 10px ; <nl> TODO : retire this <nl> margin : 0px ; <nl> padding : 11px 4px ; <nl> margin : 0px 0px 0px 26px ; <nl> - color : # aaa ; <nl> + color : # aaa ; <nl> & . displayed { <nl> display : block ; <nl> } <nl> TODO : retire this <nl> / / Same as button . btn : hover <nl> . box - shadow ( inset 0 0 1px 1px # fff ) ; <nl> . background - image ( linear - gradient ( rgba ( 255 , 255 , 255 , 0 . 96 ) , rgba ( 255 , 255 , 255 , 0 . 96 ) ) , linear - gradient ( bottom , rgba ( 51 , 51 , 51 , . 23 ) 0 % , rgba ( 255 , 255 , 255 , . 23 ) 100 % ) ) ; <nl> - <nl> + <nl> } <nl> & . zeroclipboard - is - active { <nl> / / Same as button . btn : active <nl> TODO : retire this <nl> cursor : text ; <nl> . jt_arrow , . jta_arrow { <nl> cursor : default ; <nl> - } <nl> + } <nl> } <nl> } <nl> } <nl> TODO : retire this <nl> Element views <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> * / <nl> - # database - view , # table - view , # datacenter - view , # server - view { <nl> + # database - view , # table - view , # datacenter - view , # server - view , . reconfigure - modal { <nl> h1 . title { <nl> font - family : @ serif ; <nl> color : # 4d535c ; <nl> TODO : retire this <nl> float : right ; <nl> margin - left : 10px ; <nl> } <nl> - . section h2 . title { <nl> + . section h2 . title { <nl> border - bottom : thin solid # f0f0f0 ; <nl> - padding - bottom : 22px ; <nl> - margin - bottom : 0 ; <nl> + padding - bottom : 15px ; <nl> + margin - bottom : 2px ; <nl> } <nl> . section . statistics { <nl> - > h2 . title { <nl> + > h2 . title { <nl> border - bottom : thin solid # f0f0f0 ; <nl> padding - bottom : 20px ; <nl> margin - bottom : 0 ; <nl> TODO : retire this <nl> height : @ element_height ; <nl> position : relative ; <nl> list - style - type : none ; <nl> - p { <nl> - color : # a7a7a7 ; <nl> + p { <nl> + color : # 5c ; <nl> position : absolute ; <nl> text - overflow : ellipsis ; <nl> overflow : hidden ; <nl> TODO : retire this <nl> top : ( @ element_height / 2 ) - ( @ square_bullet_width / 2 ) + 1 ; <nl> bottom : ( @ element_height / 2 ) - 1 ; <nl> width : @ square_bullet_width ; <nl> - background - image : url ( ' images / list - square - bullet . png ' ) , url ( ' images / list - vert - dash . png ' ) ; <nl> + background - image : url ( ' images / list - square - bullet . png ' ) , url ( ' images / list - vert - dash . png ' ) ; <nl> background - position : left top , ( ( @ square_bullet_width / 2 ) - 1 ) center ; <nl> - background - repeat : no - repeat , repeat - y ; <nl> + background - repeat : no - repeat , repeat - y ; <nl> } <nl> <nl> . tree - view { <nl> TODO : retire this <nl> top : ( @ element_height / 2 ) - ( @ square_bullet_width / 2 ) + 1 ; <nl> bottom : ( @ element_height / 2 ) - 1 ; <nl> width : @ square_bullet_width ; <nl> - background - image : url ( ' images / list - square - bullet . png ' ) , url ( ' images / list - vert - dash . png ' ) ; <nl> + background - image : url ( ' images / list - square - bullet . png ' ) , url ( ' images / list - vert - dash . png ' ) ; <nl> background - position : left top , ( ( @ square_bullet_width / 2 ) - 1 ) center ; <nl> - background - repeat : no - repeat , repeat - y ; <nl> + background - repeat : no - repeat , repeat - y ; <nl> } <nl> / / parent element details <nl> . parent - info { <nl> margin - left : @ square_bullet_width + 12px ; <nl> - p { <nl> + p { <nl> text - overflow : ellipsis ; <nl> overflow : hidden ; <nl> line - height : @ element_height ; <nl> TODO : retire this <nl> top : 0 ; <nl> bottom : 0 ; <nl> <nl> - background - image : url ( ' images / list - square - bullet . png ' ) , url ( ' images / list - horiz - dash . png ' ) ; <nl> + background - image : url ( ' images / list - square - bullet . png ' ) , url ( ' images / list - horiz - dash . png ' ) ; <nl> background - position : right center , ( ( @ square_bullet_width / 2 ) - 1 ) center ; <nl> background - repeat : no - repeat , repeat - x ; <nl> } <nl> TODO : retire this <nl> border - bottom : @ border ; <nl> height : @ element_height ; <nl> position : relative ; <nl> - p { <nl> - color : # a7a7a7 ; <nl> + p { <nl> + color : # 5c6169 ; <nl> position : absolute ; <nl> text - overflow : ellipsis ; <nl> overflow : hidden ; <nl> TODO : retire this <nl> } <nl> } <nl> <nl> - # table - view { <nl> - . section . tree - view . server - assignments { <nl> + # table - view , . reconfigure - modal { <nl> + . section . tree - view . server - assignments , . tree - view { <nl> @ element_height : 40px ; <nl> li . server . server - info { <nl> background : left center no - repeat url ( ' images / server - icon . png ' ) ; <nl> + & . added { <nl> + background : left center no - repeat url ( ' images / server - icon - added . png ' ) ; <nl> + } <nl> + & . deleted { <nl> + background : left center no - repeat url ( ' images / server - icon - removed . png ' ) ; <nl> + } <nl> padding - left : 30px ; <nl> . name { <nl> width : 300px ; <nl> height : @ element_height ; <nl> } <nl> - . primary { <nl> - right : 150px ; <nl> - width : 145px ; <nl> + . primary , . secondary { <nl> + width : 250px ; <nl> + right : 0px ; <nl> + text - align : left ; <nl> padding - left : 30px ; <nl> + } <nl> + . primary { <nl> background : left center no - repeat url ( ' images / layers - icon . png ' ) ; <nl> } <nl> . secondary { <nl> - right : 150px ; <nl> - width : 145px ; <nl> - padding - left : 30px ; <nl> background : left center no - repeat url ( ' images / grid - icon . png ' ) ; <nl> } <nl> } <nl> . num - keys { <nl> + position : relative ; <nl> float : right ; <nl> - margin - right : 183px ; <nl> - padding - left : 35px ; <nl> + right : 160px ; <nl> + width : 150px ; <nl> + padding - left : 30px ; <nl> background : left center no - repeat url ( ' images / bars - icon_server - assignments . png ' ) ; <nl> } <nl> } <nl> . section . replication { <nl> h2 . title { <nl> border - bottom : none ; <nl> - padding - bottom : 10px ; <nl> + padding - bottom : 5px ; <nl> } <nl> . nav - tabs { padding - left : 0 ; } <nl> p , a { font - family : @ sans ; } <nl> TODO : retire this <nl> margin - top : 6px ; <nl> float : right ; <nl> margin - left : 15px ; <nl> - } <nl> + } <nl> } <nl> } <nl> . hide - mdc { display : none ; } <nl> TODO : retire this <nl> . btn { <nl> float : right ; <nl> margin - left : 15px ; <nl> - } <nl> + } <nl> p { <nl> margin : 0 ; <nl> & . caption { <nl> TODO : retire this <nl> } <nl> . datacenter_list_container { <nl> padding : 0px ; <nl> - @ default : # efefef ; <nl> + @ default : # efefef ; <nl> @ active : # 23a5df ; <nl> @ universe : # f7ae41 ; <nl> @ height : 40px ; <nl> TODO : retire this <nl> } <nl> } <nl> . border - radius ( 3px ) ; <nl> - <nl> + <nl> & . active { <nl> background - color : @ active ; <nl> border - color : @ active ; <nl> - a { <nl> + a { <nl> @ color : # fff ; <nl> color : @ color ; <nl> & : hover { color : @ color ; } <nl> TODO : retire this <nl> top : 0 ; <nl> } <nl> } <nl> - <nl> + <nl> <nl> & . universe { <nl> background : @ universe url ( ' images / globe - icon_white . png ' ) 8px center no - repeat ; <nl> TODO : retire this <nl> & : hover { color : @ color ; } <nl> padding - left : 24px ; <nl> } <nl> - <nl> + <nl> & . active : after { <nl> border - left - color : @ universe ; <nl> } <nl> - <nl> + <nl> } <nl> } <nl> } <nl> TODO : retire this <nl> } <nl> } <nl> . section . sharding { <nl> - h2 . title { <nl> - border - bottom : none ; <nl> - padding - bottom : 10px ; <nl> - } <nl> . edit - shards { <nl> @ icon_width : 40px ; <nl> margin : 20px 0 ; <nl> TODO : retire this <nl> } <nl> background : left 9px no - repeat url ( ' images / bars - icon . png ' ) ; <nl> } <nl> - input . num - shards { <nl> + input . num - shards { <nl> margin : - 5px 6px 3px 0px ; <nl> width : 30px ; <nl> padding : 3px 4px ; <nl> TODO : retire this <nl> } <nl> } <nl> . shard - graph { <nl> + <nl> line { stroke : # dcdcdc ; } <nl> . rect { fill : # 9ad7f2 ; } <nl> text { fill : # a3a3a3 ; } <nl> . shard - diagram { <nl> display : none ; <nl> + width : 100 % ; <nl> + height : 100 % ; <nl> + padding : 15px 4px 4px 4px ; <nl> } <nl> } <nl> } <nl> TODO : retire this <nl> margin : 10px 0px 0px 0px ; <nl> padding : 0px ; <nl> . square_li { <nl> - background - image : url ( ' images / list - square - bullet . png ' ) ; <nl> + background - image : url ( ' images / list - square - bullet . png ' ) ; <nl> background - position : left center ; <nl> background - repeat : no - repeat ; <nl> padding : 5px 0px 5px 20px ; <nl> TODO : retire this <nl> . transition ( ~ " left 0 . 15s ease - out " ) ; <nl> background - color : # F7AE41 ; <nl> } <nl> - & . switch - green { <nl> + & . switch - green { <nl> background - color : # 65bd63 ; <nl> . gradient ( ~ " linear - gradient ( top , # 9dd993 , # 65bd63 ) " ) ; <nl> } <nl> TODO : retire this <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> * / <nl> <nl> - . replica - status , . shard - status { <nl> + . backfill - progress { <nl> p { <nl> margin : 0 ; <nl> line - height : 48px ; <nl> TODO : retire this <nl> border - bottom : 1px solid # efefef ; <nl> margin - bottom : 20px ; <nl> } <nl> - . replica - status , . shard - status , . secondary_indexes { <nl> + . secondary_indexes { <nl> font - family : @ sans ; <nl> font - size : 15px ; <nl> color : # 72BDDF ; <nl> TODO : retire this <nl> font - size : 24px ; <nl> color : # 5C6169 ; <nl> } <nl> - <nl> - . progress - status { <nl> - p { <nl> - color : # a9a9a9 ; <nl> - line - height : normal ; <nl> - } <nl> - . progress { <nl> - height : 12px ; <nl> - . border - radius ( 12px ) ; <nl> - width : 65 % ; <nl> - . bar { <nl> - width : 100 % ; <nl> - background - color : # f7ad41 ; <nl> - . gradient ( ~ " linear - gradient ( bottom , rgba ( 247 , 175 , 67 , 1 ) , rgba ( 249 , 190 , 103 , 1 ) ) " ) ; / / gradient overlay <nl> - . box - shadow ( ~ " 0 2px 1px rgba ( 0 , 0 , 0 , . 04 ) , inset 0 - 1px 2px rgba ( 0 , 0 , 0 , . 05 ) " ) ; / / drop shadow and inner shadow <nl> - } <nl> + } <nl> + . progress - status { <nl> + padding : 10px 0 ; <nl> + p { <nl> + color : # a9a9a9 ; <nl> + line - height : normal ; <nl> + } <nl> + . progress { <nl> + height : 12px ; <nl> + . border - radius ( 12px ) ; <nl> + width : 65 % ; <nl> + . bar { <nl> + width : 100 % ; <nl> + background - color : # f7ad41 ; <nl> + . gradient ( ~ " linear - gradient ( bottom , rgba ( 247 , 175 , 67 , 1 ) , rgba ( 249 , 190 , 103 , 1 ) ) " ) ; / / gradient overlay <nl> + . box - shadow ( ~ " 0 2px 1px rgba ( 0 , 0 , 0 , . 04 ) , inset 0 - 1px 2px rgba ( 0 , 0 , 0 , . 05 ) " ) ; / / drop shadow and inner shadow <nl> } <nl> - . stages { <nl> - width : 30 % ; <nl> - float : right ; <nl> - p { <nl> - text - align : right ; <nl> + } <nl> + . stages { <nl> + width : 30 % ; <nl> + float : right ; <nl> + p { <nl> + text - align : right ; <nl> + font - size : 13px ; <nl> + margin : - 3px 0px 15px 0px ; <nl> + & . completed : before { <nl> + content : ' \ 2714 ' ; <nl> + display : block ; <nl> + float : left ; <nl> font - size : 13px ; <nl> - margin : - 3px 0px 15px 0px ; <nl> - & . completed : before { <nl> - content : ' \ 2714 ' ; <nl> - display : block ; <nl> - float : left ; <nl> - font - size : 13px ; <nl> - color : # 4E9258 ; <nl> - padding - left : 10px ; <nl> - } <nl> + color : # 4E9258 ; <nl> + padding - left : 10px ; <nl> } <nl> } <nl> } <nl> TODO : retire this <nl> } <nl> } <nl> <nl> + . reconfigure - panel { <nl> + font - family : @ sans ; <nl> + . info { <nl> + . flex ( ) ; <nl> + . flex - align - items ( center ) ; <nl> + . flex - justify ( space - between ) ; <nl> + div { <nl> + vertical - align : middle ; <nl> + } <nl> + } <nl> + button { <nl> + height : 75 % ; <nl> + margin : 0px 5px ; <nl> + } <nl> + span . value { <nl> + padding : 0px 6px 0px 6px ; <nl> + color : # f7ae41 ; <nl> + font - size : 24px ; <nl> + line - height : 48px ; <nl> + } <nl> + span . caption { <nl> + color : # a9a9a9 ; <nl> + font - size : 16px ; <nl> + } <nl> + <nl> + } <nl> + <nl> + / / override bootstrap <nl> + # modal - dialog { <nl> + position : fixed ; <nl> + top : 0px ; <nl> + left : 0px ; <nl> + width : 100 % ; <nl> + height : 100 % ; <nl> + display : none ; <nl> + z - index : 1050 ; <nl> + & . visible { <nl> + . flex ( ) ; <nl> + } <nl> + . flex - justify ( center ) ; <nl> + . flex - align - items ( center ) ; <nl> + . modal { <nl> + position : static ; <nl> + margin : 0px ; <nl> + top : auto ; <nl> + left : auto ; <nl> + <nl> + } <nl> + } <nl> + <nl> + . reconfigure - modal { <nl> + @ ease - in - circ : cubic - bezier ( 0 . 6 , 0 . 04 , 0 . 98 , 0 . 335 ) ; <nl> + @ header - height : 53px ; <nl> + @ intro - height : 183px ; <nl> + @ footer - height : 30px ; <nl> + @ expand - link - height : 23px ; <nl> + @ diff - height : 300px ; <nl> + @ expanded - height : 582px ; <nl> + @ transition - speed : 0 . 2s ; <nl> + . modal - body . expandbox { <nl> + min - height : 0px ; <nl> + max - height : @ diff - height ; <nl> + transition : min - height @ transition - speed @ ease - in - circ ; <nl> + & . expanded { <nl> + @ media ( min - height : @ expanded - height ) { <nl> + min - height : @ diff - height + @ expand - link - height ; <nl> + } <nl> + @ media ( max - height : @ expanded - height ) { <nl> + min - height : @ diff - height / 2 + @ expand - link - height ; <nl> + } <nl> + } <nl> + } <nl> + . reconfigure - diff { <nl> + @ border - color : # d8d8d8 ; <nl> + @ background - color : # fbfbfb ; <nl> + padding : 0px 6px ; <nl> + background : top right no - repeat url ( ' images / thinker_watermark . png ' ) ; <nl> + border : 1px solid # fff ; <nl> + border - radius : 3px ; <nl> + background - color : @ background - color ; <nl> + height : 0 ; <nl> + transition : <nl> + border - color @ transition - speed , <nl> + height @ transition - speed @ ease - in - circ ; <nl> + & : first - child { <nl> + / / We can ' t put the padding in the box , otherwise it will <nl> + / / have a height when collapsed . So we put a top margin on <nl> + / / the first child instead . Changing the padding on <nl> + / / expansion causes too many slow layout changes , and the <nl> + / / animation smoothness suffers . <nl> + margin - top : 6px ; <nl> + } <nl> + & : last - child { <nl> + / / similar reasoning to : first - child above <nl> + margin - bottom : 6px ; <nl> + } <nl> + & . expanded { <nl> + border - color : @ border - color ; <nl> + @ media ( min - height : @ expanded - height ) { <nl> + height : @ diff - height - 12px ; <nl> + } <nl> + @ media ( max - height : @ expanded - height ) { <nl> + height : @ diff - height / 2 - 12px ; <nl> + } <nl> + } <nl> + } <nl> + . flex ( ) ; <nl> + . flex - direction ( column ) ; <nl> + . flex - justify ( space - between ) ; <nl> + . alert_modal { <nl> + display : none ; <nl> + } <nl> + . alert . error { <nl> + . new - errorbox ; <nl> + display : none ; <nl> + & . shown { <nl> + display : block ; <nl> + } <nl> + p { <nl> + display : none ; <nl> + & . shown { <nl> + display : block ; <nl> + } <nl> + } <nl> + } <nl> + . modal - body { <nl> + max - height : 100 % ; <nl> + overflow - y : hidden ; <nl> + padding - bottom : 0px ; <nl> + } <nl> + . modal - footer { <nl> + display : block ; <nl> + & : after { <nl> + content : none ; <nl> + display : none ; <nl> + clear : none ; <nl> + } <nl> + } <nl> + . intro { <nl> + . flex ( ) ; <nl> + . flex - direction ( column ) ; <nl> + . flex - align - items ( stretch ) ; <nl> + . infobox { <nl> + . new - infobox ; <nl> + margin - top : 10px ; <nl> + } <nl> + . reconfigure - form { <nl> + . flex ( ) ; <nl> + . flex - align - items ( flex - start ) ; <nl> + . flex - justify ( space - around ) ; <nl> + margin : 10px 0px ; <nl> + span . caption { <nl> + color : # 555 ; <nl> + font - size : 14px ; <nl> + } <nl> + . inline - edit { <nl> + margin : 4px 6px 3px 0px ; <nl> + width : 30px ; <nl> + padding : 3px 4px ; <nl> + height : 28px ; <nl> + font - size : 20px ; <nl> + font - family : @ sans ; <nl> + } <nl> + . max . caption { <nl> + padding : 0px 1px ; <nl> + color : # a9a9a9 ; <nl> + font - size : 10px ; <nl> + } <nl> + } <nl> + } <nl> + a . expand - tree { <nl> + & : hover { <nl> + text - decoration : none ; <nl> + } <nl> + padding - bottom : 5px ; <nl> + display : block ; <nl> + text - align : left ; <nl> + & : : before { <nl> + content : url ( ' images / arrow_right . png ' ) ; <nl> + padding : 0 10px 0 0 ; <nl> + } <nl> + & . expanded : : before { <nl> + content : url ( ' images / arrow_down . png ' ) ; <nl> + padding : 0 10px 0 0 ; <nl> + } <nl> + } <nl> + . reconfigure - diff { <nl> + overflow - y : auto ; <nl> + margin - bottom : 10px ; <nl> + @ li - height : 25px ; <nl> + p { <nl> + font - size : 12px ! important ; <nl> + line - height : @ li - height ! important ; <nl> + } <nl> + li . parent . parent - info p . name { <nl> + width : 100 % ; <nl> + } <nl> + li . parent . deleted { <nl> + text - decoration : line - through ; <nl> + } <nl> + li . invalid { <nl> + width : 100 % ; <nl> + border - radius : 3px ; <nl> + margin - top : 5px ; <nl> + padding : 10px ; <nl> + background - image : none ; <nl> + } <nl> + <nl> + . tree - line { <nl> + top : 12px ; <nl> + } <nl> + & . tree - view li { <nl> + p . role { <nl> + position : static ; <nl> + width : 55 % ; <nl> + float : right ; <nl> + padding - left : 20px ; <nl> + background - size : 14px 14px ; <nl> + } <nl> + . role - secondary { <nl> + font - weight : normal ; <nl> + background : left center no - repeat url ( ' images / grid - icon . png ' ) ; <nl> + } <nl> + . role - primary { <nl> + font - weight : bold ; <nl> + background : left center no - repeat url ( ' images / layers - icon . png ' ) ; <nl> + } <nl> + } <nl> + div . server - info . child - info { <nl> + height : @ li - height ; <nl> + margin - left : 30px ; <nl> + padding - left : 25px ; <nl> + background - size : 20px 15px ! important ; <nl> + } <nl> + li { <nl> + & . deleted { <nl> + background - color : rgba ( 255 , 0 , 0 , 0 . 05 ) ; <nl> + . role { <nl> + text - decoration : line - through ; <nl> + } <nl> + } <nl> + & . added { <nl> + background - color : rgba ( 0 , 255 , 0 , 0 . 10 ) ; <nl> + } <nl> + & . role - change { <nl> + background - color : rgba ( 255 , 255 , 0 , 0 . 10 ) ; <nl> + } <nl> + } <nl> + . change { <nl> + . deleted { <nl> + text - decoration : line - through ; <nl> + } <nl> + . added { <nl> + background - color : transparent ; <nl> + color : # f7ae41 ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> mmm a / mk / webui . mk <nl> ppp b / mk / webui . mk <nl> COFFEE_SOURCES : = $ ( patsubst % , $ ( COFFEE_SOURCE_DIR ) / % , \ <nl> body . coffee \ <nl> ui_components / modals . coffee ui_components / progressbar . coffee \ <nl> tables / database . coffee \ <nl> - tables / index . coffee tables / replicas . coffee tables / shards . coffee tables / shard_assignments . coffee tables / table . coffee \ <nl> + tables / index . coffee tables / shards . coffee tables / shard_assignments . coffee tables / table . coffee \ <nl> servers / index . coffee servers / server . coffee \ <nl> dashboard . coffee \ <nl> dataexplorer . coffee \ <nl> $ ( WEB_ASSETS_OBJ_DIR ) / % . js : $ ( COFFEE_SOURCE_DIR ) / % . coffee $ ( COFFEE_BIN_DEP ) | $ ( <nl> mkdir - p $ ( @ D ) <nl> $ ( COFFEE ) - - bare - - print - - stdio < $ < > $ @ <nl> <nl> - $ ( WEB_ASSETS_BUILD_DIR ) / cluster . css : $ ( LESS_MAIN ) $ ( LESSC_BIN_DEP ) | $ ( WEB_ASSETS_BUILD_DIR ) / . <nl> + $ ( WEB_ASSETS_BUILD_DIR ) / cluster . css : $ ( LESS_MAIN ) $ ( LESS_SOURCES ) $ ( LESSC_BIN_DEP ) | $ ( WEB_ASSETS_BUILD_DIR ) / . <nl> $ P LESSC $ @ <nl> $ ( LESSC ) $ ( LESS_MAIN ) > $ @ <nl> <nl> | Added reconfigure panel | rethinkdb/rethinkdb | e426ecb35a03acb4ca010d80e98611ba7243cbb8 | 2015-01-06T02:38:08Z |
new file mode 100644 <nl> index 000000000000 . . 962f26607094 <nl> mmm / dev / null <nl> ppp b / jstests / sharding / database_versioning_cache_entry_without_version_updated_with_version . js <nl> <nl> + / / This ensures that if a shard had cached a database entry without a version in a 4 . 0 cluster while <nl> + / / in FCV 3 . 6 , then upgrading the cluster to 4 . 2 binaries will cause the next request that has a <nl> + / / database version attached to cause the shard to refresh and pick up the version and write it to <nl> + / / its on - disk cache so that the version can also be picked up by secondaries . <nl> + ( function ( ) { <nl> + <nl> + const st = new ShardingTest ( { shards : 1 } ) ; <nl> + <nl> + assert . commandWorked ( st . s . getDB ( " test " ) . getCollection ( " foo " ) . insert ( { x : 1 } ) ) ; <nl> + <nl> + / / The database is created with a version . <nl> + const versionOnConfig = <nl> + st . s . getDB ( " config " ) . getCollection ( " databases " ) . findOne ( { _id : " test " } ) . version ; <nl> + assert . neq ( null , versionOnConfig ) ; <nl> + <nl> + / / Before the shard refreshes , it does not have a cache entry for the database . <nl> + assert . eq ( null , <nl> + st . shard0 . getDB ( " config " ) . getCollection ( " cache . databases " ) . findOne ( { _id : " test " } ) ) ; <nl> + <nl> + / / After the shard refreshes , it has a cache entry for the database with version matching the <nl> + / / version on the config server . <nl> + assert . commandWorked ( st . shard0 . adminCommand ( { _flushDatabaseCacheUpdates : " test " } ) ) ; <nl> + const versionOnShard = <nl> + st . shard0 . getDB ( " config " ) . getCollection ( " cache . databases " ) . findOne ( { _id : " test " } ) . version ; <nl> + assert . docEq ( versionOnConfig , versionOnShard ) ; <nl> + <nl> + jsTest . log ( " Remove the database version from the shard ' s cache entry " ) ; <nl> + assert . commandWorked ( <nl> + st . shard0 . getDB ( " config " ) . getCollection ( " cache . databases " ) . update ( { _id : " test " } , { <nl> + $ unset : { version : " " } <nl> + } ) ) ; <nl> + assert . eq ( <nl> + null , <nl> + st . shard0 . getDB ( " config " ) . getCollection ( " cache . databases " ) . findOne ( { _id : " test " } ) . version ) ; <nl> + <nl> + / / After the shard refreshes , it should have updated the cache entry with a version , even though <nl> + / / it already had an entry cached . <nl> + assert . commandWorked ( st . shard0 . adminCommand ( { _flushDatabaseCacheUpdates : " test " } ) ) ; <nl> + const versionOnShard2 = <nl> + st . shard0 . getDB ( " config " ) . getCollection ( " cache . databases " ) . findOne ( { _id : " test " } ) . version ; <nl> + assert . docEq ( versionOnConfig , versionOnShard2 ) ; <nl> + <nl> + st . stop ( ) ; <nl> + <nl> + } ) ( ) ; <nl> | SERVER - 35670 Add test that if a shard already has a cache entry for a database without a version , refreshing causes the entry to be updated with the version | mongodb/mongo | 464eec7984973d3e1d0cb0f63a2f353f3c870dfe | 2018-06-20T18:58:40Z |
mmm a / swoole_server . cc <nl> ppp b / swoole_server . cc <nl> static zend_object * swoole_server_task_create_object ( zend_class_entry * ce ) <nl> return object ; <nl> } <nl> <nl> + static inline zend_bool is_enable_coroutine ( swServer * serv ) <nl> + { <nl> + if ( swIsTaskWorker ( ) ) <nl> + { <nl> + return serv - > task_enable_coroutine ; <nl> + } <nl> + else <nl> + { <nl> + return serv - > enable_coroutine ; <nl> + } <nl> + } <nl> + <nl> void swoole_server_init ( int module_number ) <nl> { <nl> SW_INIT_CLASS_ENTRY ( swoole_server , " Swoole \ \ Server " , " swoole_server " , NULL , swoole_server_methods ) ; <nl> static void php_swoole_onPipeMessage ( swServer * serv , swEventData * req ) <nl> ZVAL_LONG ( & args [ 1 ] , ( zend_long ) req - > info . from_id ) ; <nl> args [ 2 ] = * zdata ; <nl> <nl> - zend_bool enable_coroutine = false ; <nl> - if ( swIsTaskWorker ( ) & & serv - > task_enable_coroutine ) <nl> - { <nl> - enable_coroutine = true ; <nl> - } <nl> - else <nl> - { <nl> - enable_coroutine = serv - > enable_coroutine ; <nl> - } <nl> - <nl> - if ( UNEXPECTED ( ! zend : : function : : call ( fci_cache , 3 , args , NULL , enable_coroutine ) ) ) <nl> + if ( UNEXPECTED ( ! zend : : function : : call ( fci_cache , 3 , args , NULL , is_enable_coroutine ( serv ) ) ) ) <nl> { <nl> swoole_php_error ( E_WARNING , " % s - > onPipeMessage handler error " , ZSTR_VAL ( swoole_server_ce - > name ) ) ; <nl> } <nl> static void php_swoole_onWorkerStart ( swServer * serv , int worker_id ) <nl> zend_update_property_bool ( swoole_server_ce , zserv , ZEND_STRL ( " taskworker " ) , worker_id > = serv - > worker_num ) ; <nl> zend_update_property_long ( swoole_server_ce , zserv , ZEND_STRL ( " worker_pid " ) , getpid ( ) ) ; <nl> <nl> - if ( swIsTaskWorker ( ) & & ! serv - > task_enable_coroutine ) <nl> + if ( is_enable_coroutine ( serv ) ) <nl> { <nl> - SwooleG . enable_coroutine = 0 ; <nl> - PHPCoroutine : : disable_hook ( ) ; <nl> + if ( PHPCoroutine : : enable_preemptive_scheduler ) <nl> + { <nl> + PHPCoroutine : : create_scheduler_thread ( ) ; <nl> + } <nl> } <nl> - if ( PHPCoroutine : : enable_preemptive_scheduler ) <nl> + else <nl> { <nl> - PHPCoroutine : : create_scheduler_thread ( ) ; <nl> + SwooleG . enable_coroutine = 0 ; <nl> + PHPCoroutine : : disable_hook ( ) ; <nl> } <nl> + <nl> if ( fci_cache ) <nl> { <nl> zval args [ 2 ] ; <nl> args [ 0 ] = * zserv ; <nl> ZVAL_LONG ( & args [ 1 ] , worker_id ) ; <nl> - if ( UNEXPECTED ( ! zend : : function : : call ( fci_cache , 2 , args , NULL , SwooleG . enable_coroutine & & worker_id < serv - > worker_num ) ) ) <nl> + if ( UNEXPECTED ( ! zend : : function : : call ( fci_cache , 2 , args , NULL , is_enable_coroutine ( serv ) ) ) ) <nl> { <nl> swoole_php_error ( E_WARNING , " % s - > onWorkerStart handler error " , ZSTR_VAL ( swoole_server_ce - > name ) ) ; <nl> } <nl> mmm a / tests / swoole_server / sendMessage_02 . phpt <nl> ppp b / tests / swoole_server / sendMessage_02 . phpt <nl> $ pm - > childFunc = function ( ) use ( $ pm ) <nl> } ) ; <nl> <nl> $ serv - > addProcess ( $ process ) ; <nl> - $ serv - > on ( " workerStart " , function ( $ serv ) use ( $ pm ) <nl> - { <nl> - $ pm - > wakeup ( ) ; <nl> + $ serv - > on ( " workerStart " , function ( $ serv , $ wid ) use ( $ pm ) { <nl> + if ( $ wid = = 0 ) { <nl> + $ pm - > wakeup ( ) ; <nl> + } <nl> } ) ; <nl> $ serv - > on ( ' connect ' , function ( swoole_server $ serv , $ fd ) use ( $ process ) { <nl> $ process - > write ( json_encode ( [ " fd " = > $ fd ] ) ) ; <nl> $ pm - > childFunc = function ( ) use ( $ pm ) <nl> <nl> } ) ; <nl> <nl> - $ serv - > on ( ' finish ' , function ( swoole_server $ serv , $ fd , $ rid , $ data ) <nl> - { <nl> - <nl> - } ) ; <nl> - <nl> $ serv - > start ( ) ; <nl> } ; <nl> <nl> | fix tests | swoole/swoole-src | 353e6ee4fb65d96bb5546b9bbb1158e4d6c8ca34 | 2019-05-21T10:08:33Z |
mmm a / . appveyor . yml <nl> ppp b / . appveyor . yml <nl> test_script : <nl> ( Get - Content " plot_example . py " ) . replace ( ' graph . render ( view = True ) ' , ' graph . render ( view = False ) ' ) | Set - Content " plot_example . py " <nl> - ps : > - <nl> foreach ( $ file in @ ( Get - ChildItem * . py ) ) { <nl> + @ ( " import sys , warnings " , " warnings . showwarning = lambda message , category , filename , lineno , file = None , line = None : sys . stdout . write ( warnings . formatwarning ( message , category , filename , lineno , line ) ) " ) + ( Get - Content $ file ) | Set - Content $ file <nl> python $ file <nl> - if ( $ LastExitCode - ne 0 ) { $ host . SetShouldExit ( $ LastExitCode ) } <nl> + if ( ! $ ? ) { $ host . SetShouldExit ( - 1 ) } <nl> } # run all examples <nl> - cd % APPVEYOR_BUILD_FOLDER % \ examples \ python - guide \ notebooks <nl> - conda install - y - n test - env ipywidgets notebook <nl> mmm a / . ci / test_windows . ps1 <nl> ppp b / . ci / test_windows . ps1 <nl> <nl> function Check - Output { <nl> - param ( [ int ] $ ExitCode ) <nl> - if ( $ ExitCode - ne 0 ) { <nl> - $ host . SetShouldExit ( $ ExitCode ) <nl> + param ( [ bool ] $ success ) <nl> + if ( ! $ success ) { <nl> + $ host . SetShouldExit ( - 1 ) <nl> Exit - 1 <nl> } <nl> } <nl> <nl> if ( $ env : TASK - eq " regular " ) { <nl> mkdir $ env : BUILD_SOURCESDIRECTORY / build ; cd $ env : BUILD_SOURCESDIRECTORY / build <nl> - cmake - DCMAKE_GENERATOR_PLATFORM = x64 . . ; cmake - - build . - - target ALL_BUILD - - config Release ; Check - Output $ LastExitCode <nl> + cmake - DCMAKE_GENERATOR_PLATFORM = x64 . . ; cmake - - build . - - target ALL_BUILD - - config Release ; Check - Output $ ? <nl> cd $ env : BUILD_SOURCESDIRECTORY / python - package <nl> - python setup . py install - - precompile ; Check - Output $ LastExitCode <nl> + python setup . py install - - precompile ; Check - Output $ ? <nl> cp $ env : BUILD_SOURCESDIRECTORY / Release / lib_lightgbm . dll $ env : BUILD_ARTIFACTSTAGINGDIRECTORY <nl> cp $ env : BUILD_SOURCESDIRECTORY / Release / lightgbm . exe $ env : BUILD_ARTIFACTSTAGINGDIRECTORY <nl> } <nl> elseif ( $ env : TASK - eq " sdist " ) { <nl> cd $ env : BUILD_SOURCESDIRECTORY / python - package <nl> - python setup . py sdist - - formats gztar ; Check - Output $ LastExitCode <nl> - cd dist ; pip install @ ( Get - ChildItem * . gz ) - v ; Check - Output $ LastExitCode <nl> + python setup . py sdist - - formats gztar ; Check - Output $ ? <nl> + cd dist ; pip install @ ( Get - ChildItem * . gz ) - v ; Check - Output $ ? <nl> } <nl> elseif ( $ env : TASK - eq " bdist " ) { <nl> cd $ env : BUILD_SOURCESDIRECTORY / python - package <nl> - python setup . py bdist_wheel - - plat - name = win - amd64 - - universal ; Check - Output $ LastExitCode <nl> - cd dist ; pip install @ ( Get - ChildItem * . whl ) ; Check - Output $ LastExitCode <nl> + python setup . py bdist_wheel - - plat - name = win - amd64 - - universal ; Check - Output $ ? <nl> + cd dist ; pip install @ ( Get - ChildItem * . whl ) ; Check - Output $ ? <nl> cp @ ( Get - ChildItem * . whl ) $ env : BUILD_ARTIFACTSTAGINGDIRECTORY <nl> } <nl> <nl> $ tests = $ env : BUILD_SOURCESDIRECTORY + $ ( If ( $ env : TASK - eq " sdist " ) { " / tests / python_package_test " } Else { " / tests " } ) # cannot test C API with " sdist " task <nl> - pytest $ tests ; Check - Output $ LastExitCode <nl> + pytest $ tests ; Check - Output $ ? <nl> <nl> if ( $ env : TASK - eq " regular " ) { <nl> cd $ env : BUILD_SOURCESDIRECTORY / examples / python - guide <nl> @ ( " import matplotlib " , " matplotlib . use ( ' Agg ' ) " ) + ( Get - Content " plot_example . py " ) | Set - Content " plot_example . py " <nl> ( Get - Content " plot_example . py " ) . replace ( ' graph . render ( view = True ) ' , ' graph . render ( view = False ) ' ) | Set - Content " plot_example . py " <nl> foreach ( $ file in @ ( Get - ChildItem * . py ) ) { <nl> - python $ file ; Check - Output $ LastExitCode <nl> + @ ( " import sys , warnings " , " warnings . showwarning = lambda message , category , filename , lineno , file = None , line = None : sys . stdout . write ( warnings . formatwarning ( message , category , filename , lineno , line ) ) " ) + ( Get - Content $ file ) | Set - Content $ file <nl> + python $ file ; Check - Output $ ? <nl> } # run all examples <nl> cd $ env : BUILD_SOURCESDIRECTORY / examples / python - guide / notebooks <nl> conda install - y - n $ env : CONDA_ENV ipywidgets notebook <nl> - jupyter nbconvert - - ExecutePreprocessor . timeout = 180 - - to notebook - - execute - - inplace * . ipynb ; Check - Output $ LastExitCode # run all notebooks <nl> + jupyter nbconvert - - ExecutePreprocessor . timeout = 180 - - to notebook - - execute - - inplace * . ipynb ; Check - Output $ ? # run all notebooks <nl> } <nl> | [ ci ] refined command status check ( ) | microsoft/LightGBM | 6f548ada45f33bc054accaacd350034dd029b9d7 | 2019-02-02T06:38:19Z |
new file mode 100644 <nl> index 0000000000 . . 3db009e385 <nl> mmm / dev / null <nl> ppp b / code / cryptography / vigenere_cipher / Vigenere . java <nl> <nl> + / * * <nl> + * Modified code from : https : / / rosettacode . org / wiki / Vigen % C3 % A8re_cipher # Java <nl> + * <nl> + * / <nl> + <nl> + import java . util . Scanner ; <nl> + <nl> + public class Vigenere { <nl> + public static void main ( String [ ] args ) { <nl> + System . out . println ( " Enter key : " ) ; <nl> + Scanner scanner = new Scanner ( System . in ) ; <nl> + String key = scanner . nextLine ( ) ; <nl> + <nl> + System . out . println ( " Enter text to encrypt : " ) ; <nl> + String text = scanner . nextLine ( ) ; <nl> + <nl> + String enc = encrypt ( text , key ) ; <nl> + System . out . println ( enc ) ; <nl> + / / System . out . println ( decrypt ( enc , key ) ) ; <nl> + } <nl> + <nl> + static String encrypt ( String text , final String key ) { <nl> + String res = " " ; <nl> + for ( int i = 0 , j = 0 ; i < text . length ( ) ; i + + ) { <nl> + char c = text . charAt ( i ) ; <nl> + if ( Character . isUpperCase ( c ) ) { <nl> + res + = ( char ) ( ( c + key . charAt ( j ) - 2 * ' A ' ) % 26 + ' A ' ) ; <nl> + j = + + j % key . length ( ) ; <nl> + } <nl> + if ( Character . isLowerCase ( c ) ) { <nl> + res + = ( char ) ( ( c + Character . toLowerCase ( key . charAt ( j ) ) - 2 * ' a ' ) % 26 + ' a ' ) ; <nl> + j = + + j % key . length ( ) ; <nl> + } <nl> + } <nl> + return res ; <nl> + } <nl> + <nl> + / / static String decrypt ( String text , final String key ) { <nl> + / / String res = " " ; <nl> + / / text = text . toUpperCase ( ) ; <nl> + / / for ( int i = 0 , j = 0 ; i < text . length ( ) ; i + + ) { <nl> + / / char c = text . charAt ( i ) ; <nl> + / / if ( c < ' A ' | | c > ' Z ' ) continue ; <nl> + / / res + = ( char ) ( ( c - key . charAt ( j ) + 26 ) % 26 + ' A ' ) ; <nl> + / / j = + + j % key . length ( ) ; <nl> + / / } <nl> + / / return res ; <nl> + / / } <nl> + } <nl> \ No newline at end of file <nl> | vigenere cipher in java | OpenGenus/cosmos | 668ab7393e731a2950172506d39f10d7ef9dbf36 | 2017-10-11T17:08:13Z |
mmm a / src / mongo / db / storage / wiredtiger / wiredtiger_oplog_manager . cpp <nl> ppp b / src / mongo / db / storage / wiredtiger / wiredtiger_oplog_manager . cpp <nl> void WiredTigerOplogManager : : waitForAllEarlierOplogWritesToBeVisible ( <nl> currentLatestVisibleTimestamp = newLatestVisibleTimestamp ; <nl> RecordId latestVisible = RecordId ( currentLatestVisibleTimestamp ) ; <nl> if ( latestVisible < waitingFor ) { <nl> - LOG ( 2 ) < < " Operation is waiting for " < < waitingFor < < " ; latestVisible is " <nl> - < < Timestamp ( currentLatestVisibleTimestamp ) ; <nl> + LOG ( 2 ) < < " Operation is waiting for " < < Timestamp ( waitingFor . repr ( ) ) <nl> + < < " ; latestVisible is " < < Timestamp ( currentLatestVisibleTimestamp ) ; <nl> } <nl> return latestVisible > = waitingFor ; <nl> } ) ; <nl> mmm a / src / mongo / dbtests / repltests . cpp <nl> ppp b / src / mongo / dbtests / repltests . cpp <nl> <nl> # include " mongo / db / repl / replication_coordinator_mock . h " <nl> # include " mongo / db / s / op_observer_sharding_impl . h " <nl> # include " mongo / dbtests / dbtests . h " <nl> + # include " mongo / logger / logger . h " <nl> # include " mongo / transport / transport_layer_asio . h " <nl> # include " mongo / util / log . h " <nl> <nl> using namespace mongo : : repl ; <nl> <nl> namespace ReplTests { <nl> <nl> + using mongo : : logger : : globalLogDomain ; <nl> + using mongo : : logger : : LogComponent ; <nl> + using mongo : : logger : : LogSeverity ; <nl> using std : : endl ; <nl> using std : : string ; <nl> using std : : stringstream ; <nl> class Base { <nl> } <nl> } <nl> } <nl> - void printAll ( const char * ns ) { <nl> - Lock : : GlobalWrite lk ( & _opCtx ) ; <nl> - OldClientContext ctx ( & _opCtx , ns ) ; <nl> - NamespaceString nss ( ns ) ; <nl> - <nl> - Database * db = ctx . db ( ) ; <nl> - Collection * coll = CollectionCatalog : : get ( & _opCtx ) . lookupCollectionByNamespace ( nss ) ; <nl> - if ( ! coll ) { <nl> - WriteUnitOfWork wunit ( & _opCtx ) ; <nl> - coll = db - > createCollection ( & _opCtx , nss ) ; <nl> - wunit . commit ( ) ; <nl> - } <nl> - <nl> - auto cursor = coll - > getCursor ( & _opCtx ) ; <nl> - : : mongo : : log ( ) < < " all for " < < ns < < endl ; <nl> - while ( auto record = cursor - > next ( ) ) { <nl> - : : mongo : : log ( ) < < record - > data . releaseToBson ( ) < < endl ; <nl> - } <nl> - } <nl> / / These deletes don ' t get logged . <nl> void deleteAll ( const char * ns ) const { <nl> : : mongo : : writeConflictRetry ( & _opCtx , " deleteAll " , ns , [ & ] { <nl> class ReplayArrayFieldNotAppended : public Base { <nl> <nl> class DeleteOpIsIdBased : public Base { <nl> public : <nl> + DeleteOpIsIdBased ( ) : _oldSeverity ( globalLogDomain ( ) - > getMinimumLogSeverity ( ) ) { <nl> + / / TODO ( SERVER - 43399 ) : This is temporary to help diagnose a rare failure . <nl> + globalLogDomain ( ) - > setMinimumLoggedSeverity ( LogComponent : : kDefault , LogSeverity : : Debug ( 2 ) ) ; <nl> + } <nl> + <nl> + ~ DeleteOpIsIdBased ( ) { <nl> + globalLogDomain ( ) - > setMinimumLoggedSeverity ( LogComponent : : kDefault , _oldSeverity ) ; <nl> + } <nl> + <nl> void run ( ) { <nl> / / Replication is not supported by mobile SE . <nl> if ( mongo : : storageGlobalParams . engine = = " mobile " ) { <nl> return ; <nl> } <nl> + <nl> + / / These inserts don ' t write oplog entries . <nl> insert ( BSON ( " _id " < < 0 < < " a " < < 10 ) ) ; <nl> insert ( BSON ( " _id " < < 1 < < " a " < < 11 ) ) ; <nl> insert ( BSON ( " _id " < < 3 < < " a " < < 10 ) ) ; <nl> class DeleteOpIsIdBased : public Base { <nl> insert ( BSON ( " _id " < < 0 < < " a " < < 11 ) ) ; <nl> insert ( BSON ( " _id " < < 2 < < " a " < < 10 ) ) ; <nl> insert ( BSON ( " _id " < < 3 < < " a " < < 10 ) ) ; <nl> - <nl> + / / Now the collection has _ids 0 , 1 , 2 , 3 . Apply the delete oplog entries for _id 0 and 3 . <nl> applyAllOperations ( ) ; <nl> + / / _id 1 and 2 remain . <nl> ASSERT_EQUALS ( 2U , _client . count ( nss ( ) , BSONObj ( ) ) ) ; <nl> ASSERT ( ! one ( BSON ( " _id " < < 1 ) ) . isEmpty ( ) ) ; <nl> ASSERT ( ! one ( BSON ( " _id " < < 2 ) ) . isEmpty ( ) ) ; <nl> } <nl> + <nl> + private : <nl> + LogSeverity _oldSeverity ; <nl> } ; <nl> <nl> class All : public OldStyleSuiteSpecification { <nl> | SERVER - 43399 Log more in DeleteOpIsIdBased test | mongodb/mongo | 8b32d754d7e12a11e8d4a8479312f9169147e22e | 2019-10-16T20:49:39Z |
mmm a / tests / Resources / fonts / futura - 48 . png . REMOVED . git - id <nl> ppp b / tests / Resources / fonts / futura - 48 . png . REMOVED . git - id <nl> @ @ - 1 + 1 @ @ <nl> - 6a89fbfbe3c98e2d72c84e4d76873375eca87802 <nl> \ No newline at end of file <nl> + 796a33e41fb8a78b122fdf0d8a626510629bbb80 <nl> \ No newline at end of file <nl> | issue : Added some resources for tests project . | cocos2d/cocos2d-x | ef8ec1a941c08f53b9ea43f85ad86e1abf1d5bb5 | 2012-06-12T06:32:57Z |
new file mode 100644 <nl> index 00000000000 . . 0e62130f123 <nl> mmm / dev / null <nl> ppp b / dbms / include / DB / DataStreams / BlocksListBlockInputStream . h <nl> <nl> + # pragma once <nl> + <nl> + # include < DB / DataStreams / IProfilingBlockInputStream . h > <nl> + <nl> + <nl> + namespace DB <nl> + { <nl> + <nl> + / * * Поток блоков , из которого можно прочитать следующий блок из явно предоставленного списка . <nl> + * Также смотрите OneBlockInputStream . <nl> + * / <nl> + class BlocksListBlockInputStream : public IProfilingBlockInputStream <nl> + { <nl> + public : <nl> + / / / Захватывает владение списком блоков . <nl> + BlocksListBlockInputStream ( BlocksList & & list_ ) <nl> + : list ( std : : move ( list_ ) ) , it ( list . begin ( ) ) , end ( list . end ( ) ) { } <nl> + <nl> + / / / Использует лежащий где - то ещё список блоков . <nl> + BlocksListBlockInputStream ( BlocksList : : iterator & begin_ , BlocksList : : iterator & end_ ) <nl> + : it ( begin_ ) , end ( end_ ) { } <nl> + <nl> + String getName ( ) const override { return " BlocksList " ; } <nl> + <nl> + String getID ( ) const override <nl> + { <nl> + std : : stringstream res ; <nl> + res < < this ; <nl> + return res . str ( ) ; <nl> + } <nl> + <nl> + protected : <nl> + Block readImpl ( ) override <nl> + { <nl> + if ( it = = end ) <nl> + return Block ( ) ; <nl> + <nl> + Block res = * it ; <nl> + + + it ; <nl> + return res ; <nl> + } <nl> + <nl> + private : <nl> + BlocksList list ; <nl> + BlocksList : : iterator it ; <nl> + const BlocksList : : iterator end ; <nl> + } ; <nl> + <nl> + } <nl> | dbms : addition to prev . revision [ # METR - 17000 ] . | ClickHouse/ClickHouse | eef5fcc4665fe3a14ad0d2bc77426c7dd28be973 | 2015-12-01T14:11:31Z |
mmm a / include / swift / Reflection / ReflectionContext . h <nl> ppp b / include / swift / Reflection / ReflectionContext . h <nl> class ReflectionContext <nl> <nl> llvm : : Optional < std : : string > iterateConformances ( <nl> std : : function < void ( StoredPointer Type , StoredPointer Proto ) > Call ) { <nl> - std : : string ConformancesName = " __ZL12Conformances " ; <nl> - auto ConformancesAddr = getReader ( ) . getSymbolAddress ( ConformancesName ) ; <nl> + std : : string ConformancesPointerName = <nl> + " __swift_debug_protocolConformanceStatePointer " ; <nl> + auto ConformancesAddrAddr = <nl> + getReader ( ) . getSymbolAddress ( ConformancesPointerName ) ; <nl> + if ( ! ConformancesAddrAddr ) <nl> + return " unable to look up debug variable " + ConformancesPointerName ; <nl> + <nl> + auto ConformancesAddr = <nl> + getReader ( ) . readPointer ( ConformancesAddrAddr , sizeof ( StoredPointer ) ) ; <nl> if ( ! ConformancesAddr ) <nl> - return " unable to look up conformances cache symbol " + ConformancesName ; <nl> + return " unable to read value of " + ConformancesPointerName ; <nl> <nl> - auto Root = getReader ( ) . readPointer ( ConformancesAddr , sizeof ( StoredPointer ) ) ; <nl> + auto Root = getReader ( ) . readPointer ( ConformancesAddr - > getResolvedAddress ( ) , <nl> + sizeof ( StoredPointer ) ) ; <nl> iterateConformanceTree ( Root - > getResolvedAddress ( ) . getAddressData ( ) , Call ) ; <nl> return llvm : : None ; <nl> } <nl> mmm a / include / swift / Runtime / Debug . h <nl> ppp b / include / swift / Runtime / Debug . h <nl> bool _swift_debug_metadataAllocationIterationEnabled ; <nl> SWIFT_RUNTIME_STDLIB_SPI <nl> const void * const _swift_debug_allocationPoolPointer ; <nl> <nl> + SWIFT_RUNTIME_STDLIB_SPI <nl> + const void * const _swift_debug_protocolConformanceStatePointer ; <nl> + <nl> SWIFT_RUNTIME_ATTRIBUTE_ALWAYS_INLINE <nl> inline static int swift_asprintf ( char * * strp , const char * fmt , . . . ) { <nl> va_list args ; <nl> mmm a / stdlib / public / runtime / ProtocolConformance . cpp <nl> ppp b / stdlib / public / runtime / ProtocolConformance . cpp <nl> void ConformanceState : : verify ( ) const { <nl> <nl> static Lazy < ConformanceState > Conformances ; <nl> <nl> + const void * const swift : : _swift_debug_protocolConformanceStatePointer = <nl> + & Conformances ; <nl> + <nl> static void <nl> _registerProtocolConformances ( ConformanceState & C , <nl> const ProtocolConformanceRecord * begin , <nl> | [ Runtime ] Expose the protocol conformance state as a _swift_debug variable . | apple/swift | ad0991989174171ae8dc949215caecd8b7bd8c69 | 2020-05-29T15:31:03Z |
mmm a / site / source / docs / tools_reference / emcc . rst <nl> ppp b / site / source / docs / tools_reference / emcc . rst <nl> Options that are modified or new in * emcc * are listed below : <nl> <nl> . . note : : This is the recommended setting for a release build , offering slower compilation time in return for the smallest and fastest output . <nl> <nl> + . . _emcc - O3 : <nl> + <nl> + ` ` - O3 ` ` <nl> + Like ` ` - O2 ` ` , but with additional JavaScript optimizations that can take a significant amount of compilation time . <nl> + <nl> . . _emcc - Os : <nl> <nl> ` ` - Os ` ` <nl> - Like ` ` - O2 ` ` , but with extra optimizations that reduce code size at the expense of performance . This applies only for bitcode optimization ( ` ` - O2 ` ` is used for JavaScript optimizations ) . <nl> + Like ` ` - O3 ` ` , but with extra optimizations that reduce code size at the expense of performance . This can effect both bitcode generation and JavaScript . <nl> <nl> . . _emcc - Oz : <nl> <nl> ` ` - Oz ` ` <nl> - Like ` ` - Os ` ` , but reduces code size even further . This applies only for bitcode optimization ( ` ` - O2 ` ` is used for JavaScript optimizations ) . <nl> - <nl> - . . _emcc - O3 : <nl> - <nl> - ` ` - O3 ` ` <nl> - Like ` ` - O2 ` ` , but with additional JavaScript optimizations that can take a significant amount of compilation time and / or are relatively new . <nl> - <nl> - . . note : : This differs from ` ` - O2 ` ` only during the bitcode to JavaScript ( final link and JavaScript generation ) stage . It is JavaScript - specific , so you can run ` ` - Os ` ` on your source files for example , and ` ` - O3 ` ` during JavaScript generation if you want . <nl> + Like ` ` - Os ` ` , but reduces code size even further . This can effect both bitcode generation and JavaScript . <nl> <nl> . . note : : For more tips on optimizing your code , see : ref : ` Optimizing - Code ` . <nl> <nl> | update emcc opt docs | emscripten-core/emscripten | b5154c67184dd8a96ea088134e20377f42c8f3ac | 2016-02-09T02:47:00Z |
mmm a / cocos / editor - support / cocostudio / ActionTimeline / CCNodeReader . cpp <nl> ppp b / cocos / editor - support / cocostudio / ActionTimeline / CCNodeReader . cpp <nl> Node * NodeReader : : loadNode ( const rapidjson : : Value & json ) <nl> Node * node = nullptr ; <nl> std : : string nodeType = DICTOOL - > getStringValue_json ( json , CLASSNAME ) ; <nl> <nl> - NodeCreateFunc func = _funcs . at ( nodeType ) ; <nl> + NodeCreateFunc func = _funcs [ nodeType ] ; <nl> if ( func ! = nullptr ) <nl> { <nl> const rapidjson : : Value & options = DICTOOL - > getSubDictionary_json ( json , OPTIONS ) ; <nl> | Fix NodeReader will crash when encountered unknown NodeType | cocos2d/cocos2d-x | 21330860a92403eed0fdfd21385df82cdce4ab36 | 2014-06-21T00:24:34Z |
mmm a / cocos / base / CCDirector . cpp <nl> ppp b / cocos / base / CCDirector . cpp <nl> void Director : : restartDirector ( ) <nl> { <nl> reset ( ) ; <nl> <nl> + / / RenderState need to be reinitialized <nl> + RenderState : : initialize ( ) ; <nl> + <nl> / / Texture cache need to be reinitialized <nl> initTextureCache ( ) ; <nl> <nl> | fix redmine issue RestartGameTest only used in native will crash | cocos2d/cocos2d-x | 90f9bf37cdb0f89005206af37e1efbf3a871bb8a | 2015-06-23T06:41:41Z |
mmm a / jstests / sharding / aggregation_currentop . js <nl> ppp b / jstests / sharding / aggregation_currentop . js <nl> function runIdleSessionsTests ( conn , adminDB , txnDB , useLocalOps ) { <nl> assert . commandWorked ( sessionDB . runCommand ( { <nl> insert : " test " , <nl> documents : [ { _id : ` txn - insert - $ { conn } - $ { userNames [ i ] } - $ { i } ` } ] , <nl> - readConcern : { level : " snapshot " } , <nl> txnNumber : NumberLong ( i ) , <nl> startTransaction : true , <nl> autocommit : false <nl> | SERVER - 43384 Use non - snapshot read concern for sharded transaction in aggregation_currentop . js | mongodb/mongo | f66d468830246d4a448c9e87e698691e0abc026b | 2019-09-23T18:04:24Z |
mmm a / tensorflow / go / lib . go <nl> ppp b / tensorflow / go / lib . go <nl> package tensorflow <nl> <nl> / / # cgo LDFLAGS : - ltensorflow <nl> / / # cgo CFLAGS : - I $ { SRCDIR } / . . / . . / <nl> + / / <nl> + / / / / TODO ( ashankar ) : Remove this after TensorFlow 1 . 1 has been released . <nl> + / / / / Till then , the TensorFlow C API binary releases do not contain <nl> + / / / / the TF_DeletePRunHandle symbol . We work around that by <nl> + / / / / implementing the equivalent in session . cpp <nl> + / / extern void tfDeletePRunHandle ( const char * ) ; <nl> import " C " <nl> + <nl> + func deletePRunHandle ( h * C . char ) { <nl> + C . tfDeletePRunHandle ( h ) <nl> + } <nl> new file mode 100644 <nl> index 0000000000000 . . 9f6fd1f341a9c <nl> mmm / dev / null <nl> ppp b / tensorflow / go / session . cpp <nl> <nl> + / / Copyright 2017 The TensorFlow Authors . All Rights Reserved . <nl> + / / <nl> + / / Licensed under the Apache License , Version 2 . 0 ( the " License " ) ; <nl> + / / you may not use this file except in compliance with the License . <nl> + / / You may obtain a copy of the License at <nl> + / / <nl> + / / http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + / / <nl> + / / Unless required by applicable law or agreed to in writing , software <nl> + / / distributed under the License is distributed on an " AS IS " BASIS , <nl> + / / WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + / / See the License for the specific language governing permissions and <nl> + / / limitations under the License . <nl> + <nl> + / / TODO ( ashankar ) : Remove this file when TensorFlow 1 . 1 is released . <nl> + / / See lib . go for details . <nl> + <nl> + extern " C " { <nl> + extern void tfDeletePRunHandle ( const char * h ) ; <nl> + } <nl> + <nl> + void tfDeletePRunHandle ( const char * h ) { <nl> + delete [ ] h ; <nl> + } <nl> mmm a / tensorflow / go / session . go <nl> ppp b / tensorflow / go / session . go <nl> func NewSession ( graph * Graph , options * SessionOptions ) ( * Session , error ) { <nl> return s , nil <nl> } <nl> <nl> - / / Run the graph with the associated session starting with the supplied inputs . <nl> - / / inputs and outputs may be set to nil . Runs , but does not return Tensors <nl> - / / for operations specified in targets . <nl> + / / Run the graph with the associated session starting with the supplied feeds <nl> + / / to compute the value of the requested fetches . Runs , but does not return <nl> + / / Tensors for operations specified in targets . <nl> / / <nl> - / / On success , returns the Tensor outputs in the same order as supplied in <nl> - / / the outputs argument . If outputs is set to nil , the returned Tensor outputs <nl> + / / On success , returns the fetched Tensors in the same order as supplied in <nl> + / / the fetches argument . If fetches is set to nil , the returned Tensor fetches <nl> / / is empty . <nl> - func ( s * Session ) Run ( inputs map [ Output ] * Tensor , outputs [ ] Output , targets [ ] * Operation ) ( [ ] * Tensor , error ) { <nl> + func ( s * Session ) Run ( feeds map [ Output ] * Tensor , fetches [ ] Output , targets [ ] * Operation ) ( [ ] * Tensor , error ) { <nl> s . mu . Lock ( ) <nl> if s . c = = nil { <nl> s . mu . Unlock ( ) <nl> func ( s * Session ) Run ( inputs map [ Output ] * Tensor , outputs [ ] Output , targets [ ] * Op <nl> s . mu . Unlock ( ) <nl> defer s . wg . Done ( ) <nl> <nl> - var inputPorts [ ] C . TF_Output <nl> - var inputValues [ ] * C . TF_Tensor <nl> - if inputs ! = nil { <nl> - for port , tensor : = range inputs { <nl> - inputPorts = append ( inputPorts , port . c ( ) ) <nl> - inputValues = append ( inputValues , tensor . c ) <nl> - } <nl> + c : = newCRunArgs ( feeds , fetches , targets ) <nl> + status : = newStatus ( ) <nl> + C . TF_SessionRun ( s . c , nil , <nl> + ptrOutput ( c . feeds ) , ptrTensor ( c . feedTensors ) , C . int ( len ( feeds ) ) , <nl> + ptrOutput ( c . fetches ) , ptrTensor ( c . fetchTensors ) , C . int ( len ( fetches ) ) , <nl> + ptrOperation ( c . targets ) , C . int ( len ( targets ) ) , <nl> + nil , status . c ) <nl> + if err : = status . Err ( ) ; err ! = nil { <nl> + return nil , err <nl> } <nl> + return c . toGo ( ) , nil <nl> + } <nl> <nl> - var outputPorts [ ] C . TF_Output <nl> - for _ , port : = range outputs { <nl> - outputPorts = append ( outputPorts , port . c ( ) ) <nl> - } <nl> - outputValues : = make ( [ ] * C . TF_Tensor , len ( outputs ) ) <nl> - var cTargets [ ] * C . TF_Operation <nl> - for _ , target : = range targets { <nl> - cTargets = append ( cTargets , target . c ) <nl> + / / PartialRun enables incremental evaluation of graphs . <nl> + / / <nl> + / / PartialRun allows the caller to pause the evaluation of a graph , run <nl> + / / arbitrary code that depends on the intermediate computation of the graph , <nl> + / / and then resume graph execution . The results of the arbitrary code can be <nl> + / / fed into the graph when resuming execution . In contrast , Session . Run <nl> + / / executes the graph to compute the requested fetches using the provided feeds <nl> + / / and discards all intermediate state ( e . g . , value of intermediate tensors ) <nl> + / / when it returns . <nl> + / / <nl> + / / For example , consider a graph for unsupervised training of a neural network <nl> + / / model . PartialRun can be used to pause execution after the forward pass of <nl> + / / the network , let the caller actuate the output ( e . g . , play a game , actuate a <nl> + / / robot etc . ) , determine the error / loss and then feed this calculated loss <nl> + / / when resuming the backward pass of the graph . <nl> + type PartialRun struct { <nl> + session * Session <nl> + handle * C . char <nl> + } <nl> + <nl> + / / Run resumes execution of the graph to compute the requested fetches and <nl> + / / targets with the provided feeds . <nl> + func ( pr * PartialRun ) Run ( feeds map [ Output ] * Tensor , fetches [ ] Output , targets [ ] * Operation ) ( [ ] * Tensor , error ) { <nl> + var ( <nl> + c = newCRunArgs ( feeds , fetches , targets ) <nl> + status = newStatus ( ) <nl> + s = pr . session <nl> + ) <nl> + s . mu . Lock ( ) <nl> + if s . c = = nil { <nl> + s . mu . Unlock ( ) <nl> + return nil , errors . New ( " session is closed " ) <nl> } <nl> + s . wg . Add ( 1 ) <nl> + s . mu . Unlock ( ) <nl> + defer s . wg . Done ( ) <nl> <nl> - status : = newStatus ( ) <nl> - var inputPortsPtr * C . TF_Output <nl> - var inputValuesPtr * * C . TF_Tensor <nl> - if len ( inputPorts ) > 0 { <nl> - inputPortsPtr = & inputPorts [ 0 ] <nl> - inputValuesPtr = & inputValues [ 0 ] <nl> + C . TF_SessionPRun ( s . c , pr . handle , <nl> + ptrOutput ( c . feeds ) , ptrTensor ( c . feedTensors ) , C . int ( len ( feeds ) ) , <nl> + ptrOutput ( c . fetches ) , ptrTensor ( c . fetchTensors ) , C . int ( len ( fetches ) ) , <nl> + ptrOperation ( c . targets ) , C . int ( len ( targets ) ) , <nl> + status . c ) <nl> + if err : = status . Err ( ) ; err ! = nil { <nl> + return nil , err <nl> } <nl> + return c . toGo ( ) , nil <nl> + } <nl> + <nl> + / / NewPartialRun sets up the graph for incremental evaluation . <nl> + / / <nl> + / / All values of feeds , fetches and targets that may be provided to Run calls <nl> + / / on the returned PartialRun need to be provided to NewPartialRun . <nl> + / / <nl> + / / See documentation for the PartialRun type . <nl> + func ( s * Session ) NewPartialRun ( feeds , fetches [ ] Output , targets [ ] * Operation ) ( * PartialRun , error ) { <nl> + var ( <nl> + cfeeds = make ( [ ] C . TF_Output , len ( feeds ) ) <nl> + cfetches = make ( [ ] C . TF_Output , len ( fetches ) ) <nl> + ctargets = make ( [ ] * C . TF_Operation , len ( targets ) ) <nl> <nl> - var outputPortsPtr * C . TF_Output <nl> - var outputValuesPtr * * C . TF_Tensor <nl> - if len ( outputPorts ) > 0 { <nl> - outputPortsPtr = & outputPorts [ 0 ] <nl> - outputValuesPtr = & outputValues [ 0 ] <nl> + pcfeeds * C . TF_Output <nl> + pcfetches * C . TF_Output <nl> + pctargets * * C . TF_Operation <nl> + <nl> + status = newStatus ( ) <nl> + ) <nl> + if len ( feeds ) > 0 { <nl> + pcfeeds = & cfeeds [ 0 ] <nl> + for i , o : = range feeds { <nl> + cfeeds [ i ] = o . c ( ) <nl> + } <nl> + } <nl> + if len ( fetches ) > 0 { <nl> + pcfetches = & cfetches [ 0 ] <nl> + for i , o : = range fetches { <nl> + cfetches [ i ] = o . c ( ) <nl> + } <nl> + } <nl> + if len ( targets ) > 0 { <nl> + pctargets = & ctargets [ 0 ] <nl> + for i , o : = range targets { <nl> + ctargets [ i ] = o . c <nl> + } <nl> } <nl> <nl> - var cTargetsPtr * * C . TF_Operation <nl> - if len ( cTargets ) > 0 { <nl> - cTargetsPtr = & cTargets [ 0 ] <nl> + s . mu . Lock ( ) <nl> + if s . c = = nil { <nl> + s . mu . Unlock ( ) <nl> + return nil , errors . New ( " session is closed " ) <nl> } <nl> + s . wg . Add ( 1 ) <nl> + s . mu . Unlock ( ) <nl> + defer s . wg . Done ( ) <nl> <nl> - C . TF_SessionRun ( s . c , nil , inputPortsPtr , inputValuesPtr , C . int ( len ( inputPorts ) ) , outputPortsPtr , outputValuesPtr , C . int ( len ( outputPorts ) ) , cTargetsPtr , C . int ( len ( cTargets ) ) , nil , status . c ) <nl> + pr : = & PartialRun { session : s } <nl> + C . TF_SessionPRunSetup ( s . c , <nl> + pcfeeds , C . int ( len ( feeds ) ) , <nl> + pcfetches , C . int ( len ( fetches ) ) , <nl> + pctargets , C . int ( len ( targets ) ) , <nl> + & pr . handle , status . c ) <nl> if err : = status . Err ( ) ; err ! = nil { <nl> return nil , err <nl> } <nl> - <nl> - tensors : = make ( [ ] * Tensor , len ( outputValues ) ) <nl> - for i , val : = range outputValues { <nl> - tensors [ i ] = newTensorFromC ( val ) <nl> - } <nl> - <nl> - return tensors , nil <nl> + runtime . SetFinalizer ( pr , func ( pr * PartialRun ) { <nl> + deletePRunHandle ( pr . handle ) <nl> + } ) <nl> + return pr , nil <nl> } <nl> <nl> / / Close a session . This contacts any other processes associated with this <nl> func ( o * SessionOptions ) c ( ) * C . TF_SessionOptions { <nl> C . free ( unsafe . Pointer ( t ) ) <nl> return opt <nl> } <nl> + <nl> + / / cRunArgs translates the arguments to Session . Run and PartialRun . Run into <nl> + / / values suitable for C library calls . <nl> + type cRunArgs struct { <nl> + feeds [ ] C . TF_Output <nl> + feedTensors [ ] * C . TF_Tensor <nl> + fetches [ ] C . TF_Output <nl> + fetchTensors [ ] * C . TF_Tensor <nl> + targets [ ] * C . TF_Operation <nl> + } <nl> + <nl> + func newCRunArgs ( feeds map [ Output ] * Tensor , fetches [ ] Output , targets [ ] * Operation ) * cRunArgs { <nl> + c : = & cRunArgs { <nl> + fetches : make ( [ ] C . TF_Output , len ( fetches ) ) , <nl> + fetchTensors : make ( [ ] * C . TF_Tensor , len ( fetches ) ) , <nl> + targets : make ( [ ] * C . TF_Operation , len ( targets ) ) , <nl> + } <nl> + for o , t : = range feeds { <nl> + c . feeds = append ( c . feeds , o . c ( ) ) <nl> + c . feedTensors = append ( c . feedTensors , t . c ) <nl> + } <nl> + for i , o : = range fetches { <nl> + c . fetches [ i ] = o . c ( ) <nl> + } <nl> + for i , t : = range targets { <nl> + c . targets [ i ] = t . c <nl> + } <nl> + return c <nl> + } <nl> + <nl> + func ( c * cRunArgs ) toGo ( ) [ ] * Tensor { <nl> + ret : = make ( [ ] * Tensor , len ( c . fetchTensors ) ) <nl> + for i , ct : = range c . fetchTensors { <nl> + ret [ i ] = newTensorFromC ( ct ) <nl> + } <nl> + return ret <nl> + } <nl> + <nl> + func ptrOutput ( l [ ] C . TF_Output ) * C . TF_Output { <nl> + if len ( l ) = = 0 { <nl> + return nil <nl> + } <nl> + return & l [ 0 ] <nl> + } <nl> + <nl> + func ptrTensor ( l [ ] * C . TF_Tensor ) * * C . TF_Tensor { <nl> + if len ( l ) = = 0 { <nl> + return nil <nl> + } <nl> + return & l [ 0 ] <nl> + } <nl> + <nl> + func ptrOperation ( l [ ] * C . TF_Operation ) * * C . TF_Operation { <nl> + if len ( l ) = = 0 { <nl> + return nil <nl> + } <nl> + return & l [ 0 ] <nl> + } <nl> mmm a / tensorflow / go / session_test . go <nl> ppp b / tensorflow / go / session_test . go <nl> func TestConcurrency ( t * testing . T ) { <nl> t . Errorf ( " Close ( ) 2 : % v " , err ) <nl> } <nl> } <nl> + <nl> + func ExamplePartialRun ( ) { <nl> + var ( <nl> + / / Create a graph : a + 2 + 3 + b . <nl> + / / <nl> + / / Skipping error handling for brevity of this example . <nl> + / / The ' op ' package can be used to make graph construction code <nl> + / / with error handling more succinct . <nl> + g = NewGraph ( ) <nl> + a , _ = Placeholder ( g , " a " , Int32 ) <nl> + b , _ = Placeholder ( g , " b " , Int32 ) <nl> + two , _ = Const ( g , " Two " , int32 ( 2 ) ) <nl> + three , _ = Const ( g , " Three " , int32 ( 3 ) ) <nl> + <nl> + plus2 , _ = Add ( g , " plus2 " , a , two ) / / a + 2 <nl> + plus3 , _ = Add ( g , " plus3 " , plus2 , three ) / / ( a + 2 ) + 3 <nl> + plusB , _ = Add ( g , " plusB " , plus3 , b ) / / ( ( a + 2 ) + 3 ) + b <nl> + <nl> + ) <nl> + sess , err : = NewSession ( g , nil ) <nl> + if err ! = nil { <nl> + panic ( err ) <nl> + } <nl> + defer sess . Close ( ) <nl> + <nl> + / / All the feeds , fetches and targets for subsequent PartialRun . Run <nl> + / / calls must be provided at setup . <nl> + pr , err : = sess . NewPartialRun ( <nl> + [ ] Output { a , b } , <nl> + [ ] Output { plus2 , plusB } , <nl> + [ ] * Operation { plus3 . Op } , <nl> + ) <nl> + if err ! = nil { <nl> + panic ( err ) <nl> + } <nl> + <nl> + / / Feed ' a = 1 ' , fetch ' plus2 ' , and compute ( but do not fetch ) ' plus3 ' . <nl> + / / Imagine this to be the forward pass of unsupervised neural network <nl> + / / training of a robot . <nl> + val , _ : = NewTensor ( int32 ( 1 ) ) <nl> + fetches , err : = pr . Run ( <nl> + map [ Output ] * Tensor { a : val } , <nl> + [ ] Output { plus2 } , <nl> + nil ) <nl> + if err ! = nil { <nl> + panic ( err ) <nl> + } <nl> + v1 : = fetches [ 0 ] . Value ( ) . ( int32 ) <nl> + <nl> + / / Now , feed ' b = 4 ' , fetch ' plusB = a + 2 + 3 + b ' <nl> + / / Imagine this to be the result of actuating the robot to determine <nl> + / / the error produced by the current state of the neural network . <nl> + val , _ = NewTensor ( int32 ( 4 ) ) <nl> + fetches , err = pr . Run ( <nl> + map [ Output ] * Tensor { b : val } , <nl> + [ ] Output { plusB } , <nl> + nil ) <nl> + if err ! = nil { <nl> + panic ( err ) <nl> + } <nl> + v2 : = fetches [ 0 ] . Value ( ) . ( int32 ) <nl> + <nl> + fmt . Println ( v1 , v2 ) <nl> + / / Output : 3 10 <nl> + } <nl> mmm a / tensorflow / go / util_test . go <nl> ppp b / tensorflow / go / util_test . go <nl> func Const ( g * Graph , name string , value interface { } ) ( Output , error ) { <nl> <nl> func Neg ( g * Graph , name string , port Output ) ( Output , error ) { <nl> op , err : = g . AddOperation ( OpSpec { <nl> - Type : " Neg " , <nl> - Name : name , <nl> + Type : " Neg " , <nl> + Name : name , <nl> Input : [ ] Input { port } , <nl> } ) <nl> return op . Output ( 0 ) , err <nl> } <nl> + <nl> + func Add ( g * Graph , name string , x , y Output ) ( Output , error ) { <nl> + op , err : = g . AddOperation ( OpSpec { <nl> + Type : " Add " , <nl> + Name : name , <nl> + Input : [ ] Input { x , y } , <nl> + } ) <nl> + return op . Output ( 0 ) , err <nl> + } <nl> | Go : Add PartialRun support . | tensorflow/tensorflow | c35e3b523ae5ee4d557b624e24f1be0ee71edb66 | 2017-02-17T00:47:36Z |
mmm a / validation - test / Sema / type_checker_perf / slow / rdar17170728 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar17170728 . swift <nl> let j : Int ? <nl> let k : Int ? = 2 <nl> <nl> let _ = [ i , j , k ] . reduce ( 0 as Int ? ) { <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> $ 0 ! = nil & & $ 1 ! = nil ? $ 0 ! + $ 1 ! : ( $ 0 ! = nil ? $ 0 ! : ( $ 1 ! = nil ? $ 1 ! : nil ) ) <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar18800950 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar18800950 . swift <nl> func rdar18800950 ( v : Float ) - > Double { <nl> let c2 = 2 . 0 <nl> let r = v / c1 <nl> let _ = ( c2 * 2 * ( 3 * ( 1 - c1 / v ) - 4 ) * r + 5 ) * ( c2 * 2 * ( 3 * ( 1 - c1 / v ) - 4 ) * r + 5 ) <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar19368383 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar19368383 . swift <nl> <nl> / / Missing force of optional result of dictionary lookup . <nl> func rdar19368383 ( d : [ String : String ] ) - > [ String ] { <nl> var r = [ String ] ( ) <nl> - r + = [ / / expected - error { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + r + = [ / / expected - error { { reasonable time } } <nl> " 1 " + d [ " 2 " ] + " 3 " , <nl> " 1 " + d [ " 2 " ] + " 3 " , <nl> " 1 " + d [ " 2 " ] + " 3 " , <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar19612086 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar19612086 . swift <nl> struct rdar19612086 { <nl> return " \ ( i ) " + Stringly ( format : " % . 2f " , x ) + <nl> " \ ( i + 1 ) " + Stringly ( format : " % . 2f " , x ) + <nl> " \ ( i + 2 ) " + Stringly ( format : " % . 2f " , x ) <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar19737632 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar19737632 . swift <nl> let a = " a " <nl> let b = " b " <nl> let c = 42 <nl> _ = " a = " + a + " ; b = " + b + " ; c = " + c <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar19836070 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar19836070 . swift <nl> <nl> / / REQUIRES : tools - release , no_asserts <nl> <nl> let _ : ( Character ) - > Bool = { c in <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> ( " a " < = c & & c < = " z " ) | | ( " A " < = c & & c < = " Z " ) | | c = = " _ " <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar20859567 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar20859567 . swift <nl> struct Stringly { <nl> } <nl> <nl> [ Int ] ( 0 . . < 1 ) . map { <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> print ( Stringly ( format : " % d : " , $ 0 * 2 * 42 ) + [ " a " , " b " , " c " , " d " , " e " , " f " , " g " ] [ $ 0 * 2 ] + " , " + " , " + " , " ) <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar22079400 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar22079400 . swift <nl> <nl> let _ = ( 0 . . . 1 ) . lazy . flatMap { <nl> a in ( 1 . . . 2 ) . lazy . map { b in ( a , b ) } <nl> } . filter { <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> 1 < $ 0 & & $ 0 < $ 1 & & $ 0 + $ 1 < 3 <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar22770433 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar22770433 . swift <nl> <nl> <nl> func test ( n : Int ) - > Int { <nl> return n = = 0 ? 0 : ( 0 . . < n ) . reduce ( 0 ) { <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> ( $ 0 > 0 & & $ 1 % 2 = = 0 ) ? ( ( $ 0 + $ 1 ) / ( $ 1 - $ 0 ) ) : $ 0 <nl> } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar22877285 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar22877285 . swift <nl> <nl> let j = 1 <nl> <nl> _ = " a " + j + " b " + j + " c " + j <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar22949523 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar22949523 . swift <nl> <nl> / / REQUIRES : tools - release , no_asserts <nl> <nl> _ = [ 0 , 1 , 2 , 3 ] . lazy . map { String ( $ 0 ) + " hi " } . sorted ( by : { $ 0 > $ 1 } ) <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar23224583 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar23224583 . swift <nl> <nl> / / Mixed UInt32 and Double <nl> let x : UInt32 = 1 <nl> let _ = x > ( 33 + 55 + 6 + 55 + 6 + 55 + 6 + 55 + 6 + 27 . 5 ) <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar23429943 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar23429943 . swift <nl> <nl> / / REQUIRES : tools - release , no_asserts <nl> <nl> let _ = [ 0 ] . reduce ( [ Int ] ( ) ) { <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> return $ 0 . count = = 0 & & $ 1 = = 0 ? [ ] : $ 0 + [ $ 1 ] <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar23682605 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar23682605 . swift <nl> func memoize < T : Hashable , U > ( body : @ escaping ( ( T ) - > U , T ) - > U ) - > ( T ) - > U { <nl> } <nl> <nl> let fibonacci = memoize { <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> fibonacci , n in <nl> n < 2 ? Double ( n ) : fibonacci ( n - 1 ) + fibonacci ( n - 2 ) <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar23861629 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar23861629 . swift <nl> struct S { var s : String ? } <nl> <nl> func rdar23861629 ( _ a : [ S ] ) { <nl> _ = a . reduce ( " " ) { <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> ( $ 0 = = " " ) ? ( $ 1 . s ? ? " " ) : $ 0 + " , " + ( $ 1 . s ? ? " " ) <nl> } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar26564101 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar26564101 . swift <nl> <nl> <nl> func rdar26564101 ( a : [ Double ] , m : Double ) - > Double { <nl> return Double ( Array ( 0 . . . a . count - 1 ) . reduce ( 0 ) { $ 0 + $ 1 - m } ) <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar30631148 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar30631148 . swift <nl> func fun ( _ x : Double ) - > Double { fatalError ( ) } <nl> <nl> func test ( l : Double , s : Float ) { <nl> _ = fun ( ( l / 2 . 0 ) * ( l / 2 . 0 ) * ( l / 2 . 0 ) / ( 1 . 0 + s * s ) ) <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar31439825 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar31439825 . swift <nl> <nl> let a = 1 <nl> <nl> _ = - a + - a - - a + - a - - a <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar31742586 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar31742586 . swift <nl> <nl> <nl> func rdar31742586 ( ) - > Double { <nl> return - ( 1 + 2 ) + - ( 3 + 4 ) + 5 <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar32034560 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar32034560 . swift <nl> struct S { <nl> | ( ( self . A [ 0 ] [ Int ( x > > 24 ) & 0xFF ] & + self . A [ 1 ] [ Int ( x > > 16 ) & 0xFF ] ) ^ self . A [ 2 ] [ Int ( x > > 8 ) & 0xFF ] ) & + self . A [ 3 ] [ Int ( x & 0xFF ) ] <nl> | ( ( self . A [ 0 ] [ Int ( x > > 24 ) & 0xFF ] & + self . A [ 1 ] [ Int ( x > > 16 ) & 0xFF ] ) ^ self . A [ 2 ] [ Int ( x > > 8 ) & 0xFF ] ) & + self . A [ 3 ] [ Int ( x & 0xFF ) ] <nl> | ( ( self . A [ 0 ] [ Int ( x > > 24 ) & 0xFF ] & + self . A [ 1 ] [ Int ( x > > 16 ) & 0xFF ] ) ^ self . A [ 2 ] [ Int ( x > > 8 ) & 0xFF ] ) & + self . A [ 3 ] [ Int ( x & 0xFF ) ] <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar32998180 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar32998180 . swift <nl> <nl> <nl> func rdar32998180 ( value : UInt16 ) - > UInt16 { <nl> var result = ( ( ( value > > 1 ) ^ ( value > > 1 ) ^ ( value > > 1 ) ^ ( value > > 1 ) ) & 1 ) < < 1 <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> return result <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar33476240 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar33476240 . swift <nl> <nl> / / Mixed Int / Double slow to emit diagnostics <nl> func rdar33476240 ( col : Int , row : Int , maxCol : Int , maxRow : Int ) { <nl> let _ = ( - ( maxCol - 1 ) + ( col * 2 ) ) * 0 . 1 * 0 . 2 * 0 . 3 <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar33688063 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar33688063 . swift <nl> <nl> / / REQUIRES : tools - release , no_asserts <nl> <nl> let _ = 1 | UInt32 ( 0 ) < < 0 | UInt32 ( 1 ) < < 1 | UInt32 ( 2 ) < < 2 <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar33935430 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar33935430 . swift <nl> <nl> / / Mixed Int / Float arithmetic <nl> func rdar33935430 ( a : Int , b : Int , c : Float , d : Float , n : Int ) { <nl> let _ = ( ( a * c ) + ( ( b * d - a * c ) / ( b - a ) ) * ( n - a ) ) / n <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> } <nl> mmm a / validation - test / Sema / type_checker_perf / slow / rdar35213699 . swift <nl> ppp b / validation - test / Sema / type_checker_perf / slow / rdar35213699 . swift <nl> <nl> <nl> func test ( ) { <nl> let x : UInt = 1 * 2 + 3 * 4 + 5 * 6 + 7 * 8 + 9 * 10 + 11 * 12 + 13 * 14 <nl> - / / expected - error @ - 1 { { expression was too complex to be solved in reasonable time ; consider breaking up the expression into distinct sub - expressions } } <nl> + / / expected - error @ - 1 { { reasonable time } } <nl> } <nl> <nl> | Merge remote - tracking branch ' origin / master ' into master - llvm - swift5 - transition | apple/swift | 7412bf881334ec58f3d1773a7e49f3d9dd431aef | 2018-02-09T23:18:46Z |
mmm a / cocos / ui / UILayout . cpp <nl> ppp b / cocos / ui / UILayout . cpp <nl> int Layout : : whichChildToGetFocus ( FocusDirection dir ) <nl> <nl> Widget * Layout : : findFocusEnabledChildWidgetByIndex ( int index ) <nl> { <nl> - ssize_t size = _children . size ( ) ; <nl> - int count = 0 ; <nl> - int oldIndex = index ; <nl> - Widget * pWidget = nullptr ; <nl> - while ( index < size ) { <nl> - Widget * firstChild = dynamic_cast < Widget * > ( _children . at ( index ) ) ; <nl> - if ( firstChild & & firstChild - > isFocusEnabled ( ) ) { <nl> - pWidget = firstChild ; <nl> - break ; <nl> - } <nl> - count + + ; <nl> - index + + ; <nl> - } <nl> + <nl> + Widget * pWidget = this - > getNextWidgetByIndex ( index ) ; <nl> <nl> - if ( nullptr = = pWidget ) { <nl> - int begin = 0 ; <nl> - while ( begin < oldIndex ) { <nl> - Widget * firstChild = dynamic_cast < Widget * > ( _children . at ( begin ) ) ; <nl> - if ( firstChild & & firstChild - > isFocusEnabled ( ) ) { <nl> - pWidget = firstChild ; <nl> - break ; <nl> - } <nl> - count + + ; <nl> - begin + + ; <nl> - } <nl> + if ( pWidget & & pWidget - > isFocusEnabled ( ) ) { <nl> + return pWidget ; <nl> } <nl> - <nl> - <nl> - return pWidget ; <nl> + return nullptr ; <nl> } <nl> <nl> Widget * Layout : : passFocusToChild ( cocos2d : : ui : : FocusDirection dir , cocos2d : : ui : : Widget * current ) <nl> bool Layout : : checkFocusEnabledChild ( ) <nl> return ret ; <nl> } <nl> <nl> + Widget * Layout : : getNextWidgetByIndex ( int index ) <nl> + { <nl> + ssize_t size = _children . size ( ) ; <nl> + int count = 0 ; <nl> + int oldIndex = index ; <nl> + Widget * pWidget = nullptr ; <nl> + while ( index < size ) { <nl> + Widget * firstChild = dynamic_cast < Widget * > ( _children . at ( index ) ) ; <nl> + if ( firstChild ) { <nl> + pWidget = firstChild ; <nl> + break ; <nl> + } <nl> + count + + ; <nl> + index + + ; <nl> + } <nl> + <nl> + if ( nullptr = = pWidget ) { <nl> + int begin = 0 ; <nl> + while ( begin < oldIndex ) { <nl> + Widget * firstChild = dynamic_cast < Widget * > ( _children . at ( begin ) ) ; <nl> + if ( firstChild ) { <nl> + pWidget = firstChild ; <nl> + break ; <nl> + } <nl> + count + + ; <nl> + begin + + ; <nl> + } <nl> + } <nl> + <nl> + <nl> + return pWidget ; <nl> + } <nl> + <nl> Widget * Layout : : getPreviousFocusedWidget ( FocusDirection dir , Widget * current ) <nl> { <nl> Widget * nextWidget = nullptr ; <nl> mmm a / cocos / ui / UILayout . h <nl> ppp b / cocos / ui / UILayout . h <nl> class Layout : public Widget <nl> * / <nl> Widget * getPreviousFocusedWidget ( FocusDirection dir , Widget * current ) ; <nl> <nl> + / * * <nl> + * find the nth elment in the _children array . Only the Widget descendant object will be returned <nl> + * @ param index The index of a element in the _children array <nl> + * / <nl> + Widget * getNextWidgetByIndex ( int index ) ; <nl> / * * <nl> * whether it is the last element according to all their parents <nl> * / <nl> | issue . refactor UILayout to search widget by index | cocos2d/cocos2d-x | 503be876759d72c94dffb3147bfa65bdb39d8a9c | 2014-05-05T03:37:39Z |
mmm a / src / openalpr / support / timing . cpp <nl> ppp b / src / openalpr / support / timing . cpp <nl> namespace alpr <nl> microseconds = ( double ) t . QuadPart / frequencyToMicroseconds ; <nl> t . QuadPart = microseconds ; <nl> tv - > tv_sec = t . QuadPart / 1000000 ; <nl> - tv - > tv_nsec = t . QuadPart % 1000000 ; <nl> + tv - > tv_nsec = ( t . QuadPart % 1000000 ) * 1000 ; <nl> return ( 0 ) ; <nl> } <nl> <nl> void getTimeMonotonic ( timespec * time ) <nl> + <nl> { <nl> clock_gettime ( 0 , time ) ; <nl> } <nl> namespace alpr <nl> double diffclock ( timespec time1 , timespec time2 ) <nl> { <nl> timespec delta = diff ( time1 , time2 ) ; <nl> - double milliseconds = ( delta . tv_sec * 1000 ) + ( ( ( double ) delta . tv_nsec ) / 10000 . 0 ) ; <nl> + double milliseconds = ( delta . tv_sec * 1000 ) + ( ( ( double ) delta . tv_nsec ) / 1000000 . 0 ) ; <nl> <nl> return milliseconds ; <nl> } <nl> namespace alpr <nl> if ( ( end . tv_nsec - start . tv_nsec ) < 0 ) <nl> { <nl> temp . tv_sec = end . tv_sec - start . tv_sec - 1 ; <nl> - temp . tv_nsec = 1000000 + end . tv_nsec - start . tv_nsec ; <nl> + temp . tv_nsec = 1000000000 + end . tv_nsec - start . tv_nsec ; <nl> } <nl> else <nl> { <nl> | Corrections to Windows timing | openalpr/openalpr | 6af30517283d523ac450645a14077eca24b29dcd | 2016-01-01T17:30:42Z |
mmm a / docs / proposals / valref . rst <nl> ppp b / docs / proposals / valref . rst <nl> Objective - C Interoperability <nl> Clonable Objective - C classes <nl> mmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> <nl> - In Cocoa , a notion similar to clonability is captured in the ` ` NSCopying ` ` and <nl> + In Cocoa , a notion similar to cloneability is captured in the ` ` NSCopying ` ` and <nl> ` ` NSMutableCopying ` ` protocols , and a notion similar to ` ` val ` ` instance <nl> variables is captured by the behavior of ` ` ( copy ) ` ` properties . However , there <nl> are some behavioral and semantic differences that need to be taken into account . <nl> mmm a / include / swift / SIL / SILModule . h <nl> ppp b / include / swift / SIL / SILModule . h <nl> class SILModule { <nl> / / / This is lazily initialized the first time we attempt to <nl> / / / deserialize . Previously this was created when the SILModule was <nl> / / / constructed . In certain cases this was before all Modules had been loaded <nl> - / / / causeing us to not <nl> + / / / causing us to not <nl> std : : unique_ptr < SerializedSILLoader > SILLoader ; <nl> <nl> / / / True if this SILModule really contains the whole module , i . e . <nl> mmm a / lib / Parse / ParseSIL . cpp <nl> ppp b / lib / Parse / ParseSIL . cpp <nl> bool getApplySubstitutionsFromParsed ( <nl> return false ; <nl> } <nl> <nl> - / / FIXME : we work around canoicalization of PolymorphicFunctionType <nl> + / / FIXME : we work around canonicalization of PolymorphicFunctionType <nl> / / by generating GenericSignature and transforming the input , output <nl> / / types . <nl> static GenericSignature * canonicalPolymorphicFunctionType ( <nl> mmm a / lib / Parse / Parser . cpp <nl> ppp b / lib / Parse / Parser . cpp <nl> SourceLoc Parser : : consumeStartingCharacterOfCurrentToken ( ) { <nl> return consumeToken ( ) ; <nl> } <nl> <nl> - / / . . . or a multi - charater token with the first caracter being the one that <nl> + / / . . . or a multi - character token with the first character being the one that <nl> / / we want to consume as a separate token . <nl> restoreParserPosition ( getParserPositionAfterFirstCharacter ( Tok ) ) ; <nl> return PreviousLoc ; <nl> mmm a / lib / SILOptimizer / PassManager / Passes . cpp <nl> ppp b / lib / SILOptimizer / PassManager / Passes . cpp <nl> void AddSimplifyCFGSILCombine ( SILPassManager & PM ) { <nl> <nl> / / / Perform semantic annotation / loop base optimizations . <nl> void AddHighLevelLoopOptPasses ( SILPassManager & PM ) { <nl> - / / Perform classsic SSA optimizations for cleanup . <nl> + / / Perform classic SSA optimizations for cleanup . <nl> PM . addLowerAggregateInstrs ( ) ; <nl> PM . addSILCombine ( ) ; <nl> PM . addSROA ( ) ; <nl> void AddSSAPasses ( SILPassManager & PM , OptimizationLevelKind OpLevel ) { <nl> PM . addSROA ( ) ; <nl> PM . addMem2Reg ( ) ; <nl> <nl> - / / Perform classsic SSA optimizations . <nl> + / / Perform classic SSA optimizations . <nl> PM . addGlobalOpt ( ) ; <nl> PM . addLetPropertiesOpt ( ) ; <nl> PM . addPerformanceConstantPropagation ( ) ; <nl> mmm a / lib / SILOptimizer / SILCombiner / SILCombinerBuiltinVisitors . cpp <nl> ppp b / lib / SILOptimizer / SILCombiner / SILCombinerBuiltinVisitors . cpp <nl> using namespace swift : : PatternMatch ; <nl> <nl> SILInstruction * SILCombiner : : optimizeBuiltinCompareEq ( BuiltinInst * BI , <nl> bool NegateResult ) { <nl> - / / Canonicalize boolean comparisions . <nl> + / / Canonicalize boolean comparisons . <nl> if ( auto OpTy = BI - > getArguments ( ) [ 0 ] . getType ( ) . getAs < BuiltinIntegerType > ( ) ) <nl> if ( OpTy - > isFixedWidth ( 1 ) ) <nl> / / cmp_eq % X , - 1 - > xor ( cmp_eq % X , 0 ) , - 1 <nl> mmm a / lib / SILOptimizer / Transforms / RedundantOverflowCheckRemoval . cpp <nl> ppp b / lib / SILOptimizer / Transforms / RedundantOverflowCheckRemoval . cpp <nl> class RedundantOverflowCheckRemovalPass : public SILFunctionTransform { <nl> isKnownAbsLess ( B , R ) ) <nl> return true ; <nl> <nl> - / / And commutitively , swapping A and B . <nl> + / / And commutatively , swapping A and B . <nl> if ( isKnownAbsLess ( B , L ) & & <nl> knownRelation ( A , R , ValueRelation : : EQ ) ) <nl> return true ; <nl> mmm a / lib / SILOptimizer / Utils / SILSSAUpdater . cpp <nl> ppp b / lib / SILOptimizer / Utils / SILSSAUpdater . cpp <nl> static OperandValueArrayRef getEdgeValuesForTerminator ( TermInst * TI , <nl> return IsTrueEdge ? CondBrInst - > getTrueArgs ( ) : CondBrInst - > getFalseArgs ( ) ; <nl> } <nl> <nl> - / / We need a predecessor who is capabable of holding outgoing branch <nl> + / / We need a predecessor who is capable of holding outgoing branch <nl> / / arguments . <nl> llvm_unreachable ( " Unrecognized terminator leading to phi block " ) ; <nl> } <nl> mmm a / lib / Sema / CSSimplify . cpp <nl> ppp b / lib / Sema / CSSimplify . cpp <nl> ConstraintSystem : : simplifyRestrictedConstraint ( ConversionRestrictionKind restric <nl> / / We don ' t want to allow this after user - defined conversions : <nl> / / - it gets really complex for users to understand why there ' s <nl> / / a dereference in their code <nl> - / / - it would allow nil to be coerceable to a non - optional type <nl> + / / - it would allow nil to be coercible to a non - optional type <nl> / / Fortunately , user - defined conversions only allow subtype <nl> / / conversions on their results . <nl> case ConversionRestrictionKind : : ForceUnchecked : { <nl> | Merge pull request from practicalswift / fix - typos - 5 | apple/swift | d94fa0a515a6f0dd6d0d2bb46d7af0822869e1b9 | 2015-12-14T00:55:20Z |
mmm a / BUILD . gn <nl> ppp b / BUILD . gn <nl> config ( " toolchain " ) { <nl> } <nl> if ( v8_target_arch = = " s390 " ) { <nl> defines + = [ " V8_TARGET_ARCH_S390 " ] <nl> - } <nl> + } <nl> if ( v8_target_arch = = " s390x " ) { <nl> defines + = [ <nl> " V8_TARGET_ARCH_S390 " , <nl> config ( " toolchain " ) { <nl> if ( v8_target_arch = = " x64 " ) { <nl> defines + = [ " V8_TARGET_ARCH_X64 " ] <nl> } <nl> - <nl> + <nl> if ( is_win ) { <nl> defines + = [ " WIN32 " ] <nl> # TODO ( jochen ) : Support v8_enable_prof . <nl> mmm a / build / isolate . gypi <nl> ppp b / build / isolate . gypi <nl> <nl> ' - - config - variable ' , ' component = < ( component ) ' , <nl> ' - - config - variable ' , ' target_arch = < ( target_arch ) ' , <nl> ' - - config - variable ' , ' use_custom_libcxx = < ( use_custom_libcxx ) ' , <nl> + ' - - config - variable ' , ' v8_separate_ignition_snapshot = < ( v8_separate_ignition_snapshot ) ' , <nl> ' - - config - variable ' , ' v8_use_external_startup_data = < ( v8_use_external_startup_data ) ' , <nl> ' - - config - variable ' , ' v8_use_snapshot = < ( v8_use_snapshot ) ' , <nl> ] , <nl> mmm a / build / standalone . gypi <nl> ppp b / build / standalone . gypi <nl> <nl> # their own default value . <nl> ' v8_use_external_startup_data % ' : 1 , <nl> <nl> + # Use a separate ignition snapshot file in standalone builds . <nl> + ' v8_separate_ignition_snapshot ' : 1 , <nl> + <nl> # Relative path to icu . gyp from this file . <nl> ' icu_gyp_path ' : ' . . / third_party / icu / icu . gyp ' , <nl> <nl> mmm a / build / toolchain . gypi <nl> ppp b / build / toolchain . gypi <nl> <nl> # The setting is ignored if want_separate_host_toolset is 0 . <nl> ' v8_toolset_for_d8 % ' : ' target ' , <nl> <nl> + # Control usage of a separate ignition snapshot file . <nl> + ' v8_separate_ignition_snapshot % ' : 0 , <nl> + <nl> ' host_os % ' : ' < ( OS ) ' , <nl> ' werror % ' : ' - Werror ' , <nl> # For a shared library build , results in " libv8 - < ( soname_version ) . so " . <nl> mmm a / src / base . isolate <nl> ppp b / src / base . isolate <nl> <nl> ] , <nl> } , <nl> } ] , <nl> + [ ' v8_use_snapshot = = " true " and v8_use_external_startup_data = = 1 and v8_separate_ignition_snapshot = = 1 ' , { <nl> + ' variables ' : { <nl> + ' files ' : [ <nl> + ' < ( PRODUCT_DIR ) / snapshot_blob_ignition . bin ' , <nl> + ] , <nl> + } , <nl> + } ] , <nl> [ ' OS = = " linux " and component = = " shared_library " and target_arch = = " ia32 " ' , { <nl> ' variables ' : { <nl> ' files ' : [ <nl> mmm a / src / interpreter / interpreter . cc <nl> ppp b / src / interpreter / interpreter . cc <nl> Interpreter : : Interpreter ( Isolate * isolate ) : isolate_ ( isolate ) { <nl> } <nl> <nl> void Interpreter : : Initialize ( ) { <nl> + DCHECK ( FLAG_ignition ) ; <nl> if ( IsDispatchTableInitialized ( ) ) return ; <nl> Zone zone ; <nl> HandleScope scope ( isolate_ ) ; <nl> mmm a / src / isolate . cc <nl> ppp b / src / isolate . cc <nl> bool Isolate : : Init ( Deserializer * des ) { <nl> des - > Deserialize ( this ) ; <nl> } <nl> stub_cache_ - > Initialize ( ) ; <nl> - interpreter_ - > Initialize ( ) ; <nl> + <nl> + if ( FLAG_ignition ) { <nl> + interpreter_ - > Initialize ( ) ; <nl> + } <nl> <nl> / / Finish initialization of ThreadLocal after deserialization is done . <nl> clear_pending_exception ( ) ; <nl> mmm a / src / startup - data - util . cc <nl> ppp b / src / startup - data - util . cc <nl> <nl> <nl> # include " src / base / logging . h " <nl> # include " src / base / platform / platform . h " <nl> + # include " src / flags . h " <nl> # include " src / utils . h " <nl> <nl> <nl> void InitializeExternalStartupData ( const char * directory_path ) { <nl> char * natives ; <nl> char * snapshot ; <nl> LoadFromFiles ( RelativePath ( & natives , directory_path , " natives_blob . bin " ) , <nl> - RelativePath ( & snapshot , directory_path , " snapshot_blob . bin " ) ) ; <nl> + RelativePath ( & snapshot , directory_path , <nl> + FLAG_ignition ? " snapshot_blob_ignition . bin " <nl> + : " snapshot_blob . bin " ) ) ; <nl> free ( natives ) ; <nl> free ( snapshot ) ; <nl> # endif / / V8_USE_EXTERNAL_STARTUP_DATA <nl> mmm a / test / cctest / compiler / test - run - bytecode - graph - builder . cc <nl> ppp b / test / cctest / compiler / test - run - bytecode - graph - builder . cc <nl> class BytecodeGraphTester { <nl> SNPrintF ( ignition_filter , " - - ignition - filter = % s " , filter ) ; <nl> FlagList : : SetFlagsFromString ( ignition_filter . start ( ) , <nl> ignition_filter . length ( ) ) ; <nl> + / / Ensure handler table is generated . <nl> + isolate - > interpreter ( ) - > Initialize ( ) ; <nl> } <nl> virtual ~ BytecodeGraphTester ( ) { } <nl> <nl> mmm a / test / cctest / interpreter / interpreter - tester . cc <nl> ppp b / test / cctest / interpreter / interpreter - tester . cc <nl> InterpreterTester : : InterpreterTester ( <nl> SNPrintF ( ignition_filter , " - - ignition - filter = % s " , filter ) ; <nl> FlagList : : SetFlagsFromString ( ignition_filter . start ( ) , <nl> ignition_filter . length ( ) ) ; <nl> + / / Ensure handler table is generated . <nl> + isolate - > interpreter ( ) - > Initialize ( ) ; <nl> } <nl> <nl> InterpreterTester : : InterpreterTester ( <nl> mmm a / test / cctest / interpreter / test - bytecode - generator . cc <nl> ppp b / test / cctest / interpreter / test - bytecode - generator . cc <nl> class InitializedIgnitionHandleScope : public InitializedHandleScope { <nl> i : : FLAG_ignition = true ; <nl> i : : FLAG_always_opt = false ; <nl> i : : FLAG_allow_natives_syntax = true ; <nl> + CcTest : : i_isolate ( ) - > interpreter ( ) - > Initialize ( ) ; <nl> } <nl> } ; <nl> <nl> mmm a / tools / gyp / v8 . gyp <nl> ppp b / tools / gyp / v8 . gyp <nl> <nl> } ] , <nl> [ ' v8_use_snapshot = = " true " and v8_use_external_startup_data = = 1 and want_separate_host_toolset = = 0 ' , { <nl> ' dependencies ' : [ ' v8_base ' , ' v8_external_snapshot ' ] , <nl> - ' inputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob . bin ' , ] , <nl> + ' inputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob . bin ' ] , <nl> + ' conditions ' : [ <nl> + [ ' v8_separate_ignition_snapshot = = 1 ' , { <nl> + ' inputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob_ignition . bin ' ] , <nl> + } ] , <nl> + ] <nl> } ] , <nl> [ ' v8_use_snapshot = = " true " and v8_use_external_startup_data = = 1 and want_separate_host_toolset = = 1 ' , { <nl> ' dependencies ' : [ ' v8_base ' , ' v8_external_snapshot ' ] , <nl> ' target_conditions ' : [ <nl> [ ' _toolset = = " host " ' , { <nl> - ' inputs ' : [ <nl> - ' < ( PRODUCT_DIR ) / snapshot_blob_host . bin ' , <nl> - ] , <nl> + ' inputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob_host . bin ' ] , <nl> } , { <nl> - ' inputs ' : [ <nl> - ' < ( PRODUCT_DIR ) / snapshot_blob . bin ' , <nl> + ' inputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob . bin ' ] , <nl> + } ] , <nl> + ] , <nl> + ' conditions ' : [ <nl> + [ ' v8_separate_ignition_snapshot = = 1 ' , { <nl> + ' target_conditions ' : [ <nl> + [ ' _toolset = = " host " ' , { <nl> + ' inputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob_ignition_host . bin ' ] , <nl> + } , { <nl> + ' inputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob_ignition . bin ' ] , <nl> + } ] , <nl> ] , <nl> } ] , <nl> ] , <nl> <nl> ] , <nl> } , <nl> } ] , <nl> + # Extra snapshot blob for ignition . <nl> + [ ' v8_separate_ignition_snapshot = = 1 ' , { <nl> + # This is concatenated to the other actions list of <nl> + # v8_external_snapshot . <nl> + ' actions ' : [ <nl> + { <nl> + ' action_name ' : ' run_mksnapshot ( ignition ) ' , <nl> + ' inputs ' : [ ' < ( mksnapshot_exec ) ' ] , <nl> + ' variables ' : { <nl> + # TODO : Extract common mksnapshot_flags to a separate <nl> + # variable . <nl> + ' mksnapshot_flags_ignition ' : [ <nl> + ' - - ignition ' , <nl> + ' - - log - snapshot - positions ' , <nl> + ' - - logfile ' , ' < ( INTERMEDIATE_DIR ) / snapshot_ignition . log ' , <nl> + ] , <nl> + ' conditions ' : [ <nl> + [ ' v8_random_seed ! = 0 ' , { <nl> + ' mksnapshot_flags_ignition ' : [ ' - - random - seed ' , ' < ( v8_random_seed ) ' ] , <nl> + } ] , <nl> + [ ' v8_vector_stores ! = 0 ' , { <nl> + ' mksnapshot_flags_ignition ' : [ ' - - vector - stores ' ] , <nl> + } ] , <nl> + ] , <nl> + } , <nl> + ' conditions ' : [ <nl> + [ ' want_separate_host_toolset = = 1 ' , { <nl> + ' target_conditions ' : [ <nl> + [ ' _toolset = = " host " ' , { <nl> + ' outputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob_ignition_host . bin ' ] , <nl> + ' action ' : [ <nl> + ' < ( mksnapshot_exec ) ' , <nl> + ' < @ ( mksnapshot_flags_ignition ) ' , <nl> + ' - - startup_blob ' , ' < ( PRODUCT_DIR ) / snapshot_blob_ignition_host . bin ' , <nl> + ' < ( embed_script ) ' , <nl> + ' < ( warmup_script ) ' , <nl> + ] , <nl> + } , { <nl> + ' outputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob_ignition . bin ' ] , <nl> + ' action ' : [ <nl> + ' < ( mksnapshot_exec ) ' , <nl> + ' < @ ( mksnapshot_flags_ignition ) ' , <nl> + ' - - startup_blob ' , ' < ( PRODUCT_DIR ) / snapshot_blob_ignition . bin ' , <nl> + ' < ( embed_script ) ' , <nl> + ' < ( warmup_script ) ' , <nl> + ] , <nl> + } ] , <nl> + ] , <nl> + } , { <nl> + ' outputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob_ignition . bin ' ] , <nl> + ' action ' : [ <nl> + ' < ( mksnapshot_exec ) ' , <nl> + ' < @ ( mksnapshot_flags_ignition ) ' , <nl> + ' - - startup_blob ' , ' < ( PRODUCT_DIR ) / snapshot_blob_ignition . bin ' , <nl> + ' < ( embed_script ) ' , <nl> + ' < ( warmup_script ) ' , <nl> + ] , <nl> + } ] , <nl> + ] , <nl> + } , <nl> + ] , <nl> + } ] , <nl> ] , <nl> ' dependencies ' : [ <nl> ' v8_base ' , <nl> <nl> ' actions ' : [ <nl> { <nl> ' action_name ' : ' run_mksnapshot ( external ) ' , <nl> - ' inputs ' : [ <nl> - ' < ( mksnapshot_exec ) ' , <nl> - ] , <nl> + ' inputs ' : [ ' < ( mksnapshot_exec ) ' ] , <nl> ' variables ' : { <nl> ' mksnapshot_flags ' : [ <nl> ' - - log - snapshot - positions ' , <nl> <nl> [ ' want_separate_host_toolset = = 1 ' , { <nl> ' target_conditions ' : [ <nl> [ ' _toolset = = " host " ' , { <nl> - ' outputs ' : [ <nl> - ' < ( PRODUCT_DIR ) / snapshot_blob_host . bin ' , <nl> - ] , <nl> + ' outputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob_host . bin ' ] , <nl> ' action ' : [ <nl> ' < ( mksnapshot_exec ) ' , <nl> ' < @ ( mksnapshot_flags ) ' , <nl> <nl> ' < ( warmup_script ) ' , <nl> ] , <nl> } , { <nl> - ' outputs ' : [ <nl> - ' < ( PRODUCT_DIR ) / snapshot_blob . bin ' , <nl> - ] , <nl> + ' outputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob . bin ' ] , <nl> ' action ' : [ <nl> ' < ( mksnapshot_exec ) ' , <nl> ' < @ ( mksnapshot_flags ) ' , <nl> <nl> } ] , <nl> ] , <nl> } , { <nl> - ' outputs ' : [ <nl> - ' < ( PRODUCT_DIR ) / snapshot_blob . bin ' , <nl> - ] , <nl> + ' outputs ' : [ ' < ( PRODUCT_DIR ) / snapshot_blob . bin ' ] , <nl> ' action ' : [ <nl> ' < ( mksnapshot_exec ) ' , <nl> ' < @ ( mksnapshot_flags ) ' , <nl> | Revert of [ Interpreter ] Remove separate Ignition snapshot . ( patchset id : 20001 of https : / / codereview . chromium . org / 1833643002 / ) | v8/v8 | bdf953b5cca0860bb11b8699f94770414ca19266 | 2016-03-24T17:13:10Z |
mmm a / src / unity / python / turicreate / __init__ . py <nl> ppp b / src / unity / python / turicreate / __init__ . py <nl> def __getattr__ ( self , name ) : <nl> # rewrite the import <nl> extensions = _sys . modules [ " turicreate . extensions " ] <nl> <nl> - try : <nl> - import mxnet as _mx <nl> - if _mx . __version__ ! = ' 0 . 11 . 0 ' : <nl> - print ( ' WARNING : Currently only mxnet version 0 . 11 . 0 is officially supported . ' ) <nl> - print ( ' You are using version ' , _mx . __version__ , ' which may result in breaking behavior , ' ) <nl> - print ( ' especially during saving and loading models . To fix this , please run : ' ) <nl> - print ( ) <nl> - print ( ' pip uninstall - y mxnet & & pip install mxnet = = 0 . 11 . 0 ' ) <nl> - print ( ) <nl> - except ( ImportError , OSError ) : <nl> - pass <nl> + <nl> + def _mxnet_check ( ) : <nl> + try : <nl> + import mxnet as _mx <nl> + version_tuple = tuple ( int ( x ) for x in _mx . __version__ . split ( ' . ' ) if x . isdigit ( ) ) <nl> + lowest_version = ( 0 , 11 , 0 ) <nl> + not_yet_supported_version = ( 1 , 0 , 0 ) <nl> + recommended_version_str = ' 0 . 12 . 1 ' <nl> + if not ( lowest_version < = version_tuple < not_yet_supported_version ) : <nl> + print ( ' WARNING : You are using MXNet ' , _mx . __version__ , ' which may result in breaking behavior . ' ) <nl> + print ( ' To fix this , please install the currently recommended version : ' ) <nl> + print ( ) <nl> + print ( ' pip uninstall - y mxnet & & pip install mxnet = = % s ' % recommended_version_str ) <nl> + print ( ) <nl> + print ( " If you want to use a CUDA GPU , then change ' mxnet ' to ' mxnet - cu90 ' ( adjust ' cu90 ' depending on your CUDA version ) : " ) <nl> + print ( ) <nl> + except ( ImportError , OSError ) : <nl> + pass <nl> + <nl> + _mxnet_check ( ) <nl> <nl> from . visualization import show <nl> <nl> mmm a / src / unity / python / turicreate / toolkits / _mxnet_utils . py <nl> ppp b / src / unity / python / turicreate / toolkits / _mxnet_utils . py <nl> def get_mxnet_context ( max_devices = None ) : <nl> # extra attention to this message <nl> print ( ) <nl> print ( ' ERROR : Incomplete installation for leveraging GPUs for computations . ' ) <nl> - print ( ' Please make sure you have CUDA 8 . 0 installed and run the following line in ' ) <nl> + print ( ' Please make sure you have CUDA installed and run the following line in ' ) <nl> print ( ' your terminal and try again : ' ) <nl> print ( ) <nl> - print ( ' pip uninstall - y mxnet & & pip install mxnet_cu80 = = { } ' . format ( _mx . __version__ ) ) <nl> + print ( ' pip uninstall - y mxnet & & pip install mxnet - cu90 = = { } ' . format ( _mx . __version__ ) ) <nl> print ( ) <nl> + print ( " Adjust ' cu90 ' depending on your CUDA version ( ' cu75 ' and ' cu80 ' are also available ) . " ) <nl> print ( ' You can also disable GPU usage altogether by invoking turicreate . config . set_num_gpus ( 0 ) ' ) <nl> _sys . exit ( 1 ) <nl> return ctx <nl> | Updated both mxnet version checks | apple/turicreate | 7f379e2c74b94429dd578581ef3aee353d7b9e84 | 2018-01-05T21:20:16Z |
mmm a / tests / js / server / aql / aql - optimizer - edge - index . js <nl> ppp b / tests / js / server / aql / aql - optimizer - edge - index . js <nl> function optimizerEdgeIndexTestSuite ( ) { <nl> var results = AQL_EXECUTE ( query [ 0 ] ) ; <nl> assertEqual ( query [ 1 ] , results . json . length , query [ 0 ] ) ; <nl> assertEqual ( 0 , results . stats . scannedFull ) ; <nl> - assertEqual ( query [ 1 ] , results . stats . scannedIndex ) ; <nl> } ) ; <nl> } , <nl> <nl> | Remove nondeterministic edge index test ( ) | arangodb/arangodb | 692ff001ca66029aa634fd94ad336904c4de6881 | 2018-10-12T13:19:05Z |
mmm a / test / ClangImporter / inlinable_bitfields . swift <nl> ppp b / test / ClangImporter / inlinable_bitfields . swift <nl> public func g ( _ m : MM ) - > UInt32 { <nl> <nl> / / Just make sure this is a definition and not a declaration . . . <nl> <nl> - / / CHECK : define internal i32 @ " $ ModRM $ rm $ getter " ( [ [ INT ] ] % . coerce ) <nl> + / / CHECK : define internal i32 @ " $ ModRM $ rm $ getter " <nl> | Fix inlinable_bitfields test for 32 - bit | apple/swift | 34e73fd8757efced838a654c3df263459629f6b7 | 2018-12-05T18:27:32Z |
deleted file mode 100644 <nl> index e829d6e7db78 . . 000000000000 <nl> mmm a / test / Interpreter / SDK / CGImportAsMember . swift <nl> ppp / dev / null <nl> <nl> - / / RUN : % target - run - simple - swift | % FileCheck % s <nl> - / / REQUIRES : executable_test <nl> - / / REQUIRES : OS = macosx <nl> - <nl> - import Foundation <nl> - import CoreGraphics <nl> - <nl> - class Colors { <nl> - static var black = CGColor . black <nl> - static var white = CGColor . white <nl> - static var clear = CGColor . clear <nl> - <nl> - class func printColors ( ) { <nl> - print ( " Colors " ) / / CHECK : Colors <nl> - print ( black ) / / CHECK : Generic Gray Profile <nl> - print ( white ) / / CHECK : Generic Gray Profile <nl> - print ( clear ) / / CHECK : Generic Gray Profile <nl> - } <nl> - } <nl> - <nl> - / / TODO : ColorSpaces with their empty - argument - label pattern , when issue is <nl> - / / fixed . <nl> - <nl> - class Events { <nl> - static var mouseDefault = CGEventMouseSubtype . defaultType <nl> - static var mouseTabletPoint = CGEventMouseSubtype . tabletPoint <nl> - <nl> - static var tapDefault = CGEventTapOptions . defaultTap <nl> - static var tapListenOnly = CGEventTapOptions . listenOnly <nl> - <nl> - static var privateID = CGEventSourceStateID . privateState <nl> - static var combinedSessionID = CGEventSourceStateID . combinedSessionState <nl> - <nl> - class func printEvents ( ) { <nl> - print ( " Events " ) / / CHECK - LABEL : Events <nl> - print ( mouseDefault . rawValue ) / / CHECK : 0 <nl> - print ( mouseTabletPoint . rawValue ) / / CHECK : 1 <nl> - print ( tapDefault . rawValue ) / / CHECK : 0 <nl> - print ( tapListenOnly . rawValue ) / / CHECK : 1 <nl> - print ( privateID . rawValue ) / / CHECK : - 1 <nl> - print ( combinedSessionID . rawValue ) / / CHECK : 0 <nl> - } <nl> - } <nl> - <nl> - Colors . printColors ( ) <nl> - Events . printEvents ( ) <nl> deleted file mode 100644 <nl> index 6ad5a176b92b . . 000000000000 <nl> mmm a / test / Interpreter / SDK / CoreGraphics_CGFloat . swift <nl> ppp / dev / null <nl> <nl> - / / RUN : % target - run - simple - swift <nl> - / / REQUIRES : executable_test <nl> - <nl> - / / REQUIRES : objc_interop <nl> - / / REQUIRES : rdar30317033 <nl> - <nl> - import CoreGraphics <nl> - import Foundation <nl> - import StdlibUnittest <nl> - <nl> - var CGFloatTestSuite = TestSuite ( " CGFloat " ) <nl> - <nl> - CGFloatTestSuite . test ( " literals " ) { <nl> - var flt : CGFloat = 4 . 125 <nl> - expectEqual ( 4 . 125 , flt ) <nl> - <nl> - flt = 42 <nl> - expectEqual ( 42 , flt ) <nl> - } <nl> - <nl> - CGFloatTestSuite . test ( " init " ) { <nl> - expectEqual ( 0 . 0 , CGFloat ( ) ) <nl> - expectEqual ( 4 . 125 , CGFloat ( Float ( 4 . 125 ) ) ) <nl> - expectEqual ( 4 . 125 , CGFloat ( Double ( 4 . 125 ) ) ) <nl> - expectEqual ( 4 . 125 , CGFloat ( CGFloat ( Double ( 4 . 125 ) ) ) ) <nl> - <nl> - expectEqual ( 42 , CGFloat ( Int ( 42 ) ) ) <nl> - expectEqual ( 42 , CGFloat ( Int8 ( 42 ) ) ) <nl> - expectEqual ( 42 , CGFloat ( Int16 ( 42 ) ) ) <nl> - expectEqual ( 42 , CGFloat ( Int32 ( 42 ) ) ) <nl> - expectEqual ( 42 , CGFloat ( Int64 ( 42 ) ) ) <nl> - expectEqual ( 42 , CGFloat ( UInt ( 42 ) ) ) <nl> - expectEqual ( 42 , CGFloat ( UInt8 ( 42 ) ) ) <nl> - expectEqual ( 42 , CGFloat ( UInt16 ( 42 ) ) ) <nl> - expectEqual ( 42 , CGFloat ( UInt32 ( 42 ) ) ) <nl> - expectEqual ( 42 , CGFloat ( UInt64 ( 42 ) ) ) <nl> - } <nl> - <nl> - CGFloatTestSuite . test ( " initOtherTypesFromCGFloat " ) { <nl> - let flt : CGFloat = 4 . 125 <nl> - <nl> - expectEqual ( 4 . 125 , Float ( flt ) ) <nl> - expectEqual ( 4 . 125 , Double ( flt ) ) <nl> - <nl> - expectEqual ( 4 , Int ( flt ) ) <nl> - expectEqual ( 4 , Int8 ( flt ) ) <nl> - expectEqual ( 4 , Int16 ( flt ) ) <nl> - expectEqual ( 4 , Int32 ( flt ) ) <nl> - expectEqual ( 4 , Int64 ( flt ) ) <nl> - expectEqual ( 4 , UInt ( flt ) ) <nl> - expectEqual ( 4 , UInt8 ( flt ) ) <nl> - expectEqual ( 4 , UInt16 ( flt ) ) <nl> - expectEqual ( 4 , UInt32 ( flt ) ) <nl> - expectEqual ( 4 , UInt64 ( flt ) ) <nl> - } <nl> - <nl> - CGFloatTestSuite . test ( " comparisons " ) { <nl> - let instances : [ CGFloat ] = [ 2 . 71 , 3 . 14 ] <nl> - <nl> - checkHashable ( instances , equalityOracle : { $ 0 = = $ 1 } ) <nl> - <nl> - checkComparable ( instances , oracle : { $ 0 < = > $ 1 } ) <nl> - } <nl> - <nl> - CGFloatTestSuite . test ( " arithmetic " ) { <nl> - let x : CGFloat = 0 . 25 <nl> - let y : CGFloat = 4 <nl> - let z : CGFloat = 0 . 5 <nl> - <nl> - expectEqual ( 4 . 25 , x + y ) <nl> - <nl> - expectEqual ( - 3 . 75 , x - y ) <nl> - <nl> - expectEqual ( 1 . 0 , x * y ) <nl> - <nl> - expectEqual ( 0 . 0625 , x / y ) <nl> - } <nl> - <nl> - CGFloatTestSuite . test ( " striding " ) { <nl> - do { <nl> - var result = [ CGFloat ] ( ) <nl> - for f in stride ( from : ( 1 . 0 as CGFloat ) , to : 2 . 0 , by : 0 . 5 ) { <nl> - result . append ( f ) <nl> - } <nl> - expectEqual ( [ 1 . 0 , 1 . 5 ] , result ) <nl> - } <nl> - <nl> - do { <nl> - var result = [ CGFloat ] ( ) <nl> - for f in stride ( from : ( 1 . 0 as CGFloat ) , through : 2 . 0 , by : 0 . 5 ) { <nl> - result . append ( f ) <nl> - } <nl> - expectEqual ( [ 1 . 0 , 1 . 5 , 2 . 0 ] , result ) <nl> - } <nl> - } <nl> - <nl> - CGFloatTestSuite . test ( " bridging " ) { <nl> - / / Bridging to NSNumber . <nl> - do { <nl> - let flt : CGFloat = 4 . 125 <nl> - <nl> - / / CGFloat - > NSNumber conversion . <nl> - let nsnum : NSNumber = flt as NSNumber <nl> - expectEqual ( " 4 . 125 " , " \ ( nsnum ) " ) <nl> - <nl> - / / NSNumber - > CGFloat <nl> - let bridgedBack : CGFloat = nsnum as ! CGFloat <nl> - expectEqual ( flt , bridgedBack ) <nl> - } <nl> - <nl> - / / Array bridging . <nl> - do { <nl> - let originalArray : [ CGFloat ] = [ 4 . 125 , 10 . 625 ] <nl> - <nl> - / / Array - > NSArray <nl> - let nsarr : NSArray = originalArray as NSArray <nl> - expectEqual ( 2 , nsarr . count ) <nl> - expectEqual ( " 4 . 125 " , " \ ( nsarr [ 0 ] ) " ) <nl> - expectEqual ( " 10 . 625 " , " \ ( nsarr [ 1 ] ) " ) <nl> - <nl> - / / NSArray - > Array <nl> - expectEqualSequence ( originalArray , nsarr as ! [ CGFloat ] ) <nl> - } <nl> - } <nl> - <nl> - CGFloatTestSuite . test ( " varargs " ) { <nl> - let v : CVarArg = CGFloat ( 0 ) <nl> - expectEqual ( <nl> - " 0 . 023230 " , NSString ( format : " % . 6f " , CGFloat ( 0 . 02323 ) as CVarArg ) ) <nl> - expectEqual ( <nl> - " 0 . 123450 " , NSString ( format : " % . 6f " , CGFloat ( 0 . 12345 ) as CVarArg ) ) <nl> - expectEqual ( <nl> - " 1 . 234560 " , NSString ( format : " % . 6f " , CGFloat ( 1 . 23456 ) as CVarArg ) ) <nl> - } <nl> - <nl> - runAllTests ( ) <nl> - <nl> deleted file mode 100644 <nl> index ff449fdf2978 . . 000000000000 <nl> mmm a / test / stdlib / CoreGraphics . swift <nl> ppp / dev / null <nl> <nl> - / / RUN : % target - run - simple - swift <nl> - / / REQUIRES : executable_test <nl> - / / REQUIRES : objc_interop <nl> - <nl> - <nl> - import CoreGraphics <nl> - import StdlibUnittest <nl> - <nl> - let CoreGraphicsTests = TestSuite ( " CoreGraphics " ) <nl> - <nl> - CoreGraphicsTests . test ( " CGColor / _ExpressibleByColorLiteral " ) { <nl> - let color : CGColor = # colorLiteral ( <nl> - red : 0 . 5 , green : 0 . 5 , blue : 0 . 5 , alpha : 1 . 0 ) <nl> - / / we primarilly care that the code above does not crash <nl> - expectEqual ( [ 0 . 5 , 0 . 5 , 0 . 5 , 1 . 0 ] , color . components ? ? [ ] ) <nl> - } <nl> - <nl> - runAllTests ( ) <nl> mmm a / validation - test / stdlib / CoreGraphics - execute . swift <nl> ppp b / validation - test / stdlib / CoreGraphics - execute . swift <nl> <nl> / / RUN : % target - run - simple - swift <nl> / / REQUIRES : executable_test <nl> / / REQUIRES : objc_interop <nl> - / / REQUIRES : OS = macosx <nl> <nl> import CoreGraphics <nl> + import Foundation <nl> import StdlibUnittest <nl> <nl> let CoreGraphicsTests = TestSuite ( " CoreGraphics " ) <nl> CoreGraphicsTests . test ( " CGAffineTransform / Equatable " ) { <nl> / / CGColor <nl> / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> <nl> + func makeCGColor ( <nl> + red : CGFloat , green : CGFloat , blue : CGFloat , alpha : CGFloat <nl> + ) - > CGColor { <nl> + return CGColor ( <nl> + colorSpace : CGColorSpaceCreateDeviceRGB ( ) , <nl> + components : [ red , green , blue , alpha ] ) ! <nl> + } <nl> + <nl> CoreGraphicsTests . test ( " CGColor / Equatable " ) { <nl> checkEquatable ( [ <nl> - CGColor ( red : 1 , green : 0 , blue : 0 , alpha : 1 ) , <nl> - CGColor ( red : 1 , green : 0 , blue : 0 , alpha : 0 ) , <nl> - CGColor ( red : 0 , green : 1 , blue : 0 , alpha : 1 ) , <nl> - CGColor ( red : 0 , green : 1 , blue : 0 , alpha : 0 ) , <nl> - CGColor ( red : 0 , green : 0 , blue : 1 , alpha : 1 ) , <nl> - CGColor ( red : 0 , green : 0 , blue : 1 , alpha : 0 ) , <nl> + makeCGColor ( red : 1 , green : 0 , blue : 0 , alpha : 1 ) , <nl> + makeCGColor ( red : 1 , green : 0 , blue : 0 , alpha : 0 ) , <nl> + makeCGColor ( red : 0 , green : 1 , blue : 0 , alpha : 1 ) , <nl> + makeCGColor ( red : 0 , green : 1 , blue : 0 , alpha : 0 ) , <nl> + makeCGColor ( red : 0 , green : 0 , blue : 1 , alpha : 1 ) , <nl> + makeCGColor ( red : 0 , green : 0 , blue : 1 , alpha : 0 ) , <nl> ] as [ CGColor ] , <nl> oracle : { $ 0 = = $ 1 } ) <nl> } <nl> <nl> CoreGraphicsTests . test ( " CGColor . components " ) { <nl> - let red = CGColor ( red : 1 , green : 0 , blue : 0 , alpha : 1 ) <nl> - let components = red . components ! <nl> - expectEqual ( components . count , 4 ) <nl> - expectEqual ( components [ 0 ] , 1 ) <nl> - expectEqual ( components [ 1 ] , 0 ) <nl> - expectEqual ( components [ 2 ] , 0 ) <nl> - expectEqual ( components [ 3 ] , 1 ) <nl> - } <nl> - <nl> - CoreGraphicsTests . test ( " CGColor / ExpressibleByColorLiteral " ) { <nl> - let colorLit : CGColor = # colorLiteral ( red : 0 . 25 , green : 0 . 5 , blue : 0 . 75 , <nl> - alpha : 1 . 0 ) <nl> - let components = colorLit . components ! <nl> - expectEqual ( components . count , 4 ) <nl> - expectEqual ( components [ 0 ] , 0 . 25 ) <nl> - expectEqual ( components [ 1 ] , 0 . 50 ) <nl> - expectEqual ( components [ 2 ] , 0 . 75 ) <nl> - expectEqual ( components [ 3 ] , 1 . 0 ) <nl> + let red = makeCGColor ( red : 1 , green : 0 , blue : 0 , alpha : 1 ) <nl> + expectEqual ( [ 1 , 0 , 0 , 1 ] , red . components ) <nl> + } <nl> + <nl> + CoreGraphicsTests . test ( " CGColor / _ExpressibleByColorLiteral " ) { <nl> + let color : CGColor = # colorLiteral ( <nl> + red : 0 . 5 , green : 0 . 5 , blue : 0 . 5 , alpha : 1 . 0 ) <nl> + expectEqual ( [ 0 . 5 , 0 . 5 , 0 . 5 , 1 . 0 ] , color . components ) <nl> + } <nl> + <nl> + CoreGraphicsTests . test ( " CGColor / description " ) { <nl> + expectTrue ( String ( describing : makeCGColor ( red : 1 , green : 0 , blue : 0 , alpha : 1 ) ) . contains ( " 1 0 0 1 " ) ) <nl> + # if os ( macOS ) <nl> + expectTrue ( String ( describing : CGColor . black ) . contains ( " Generic Gray Profile " ) ) <nl> + expectTrue ( String ( describing : CGColor . white ) . contains ( " Generic Gray Profile " ) ) <nl> + expectTrue ( String ( describing : CGColor . clear ) . contains ( " Generic Gray Profile " ) ) <nl> + # endif <nl> + } <nl> + <nl> + / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> + / / CGEventMouseSubtype <nl> + / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> + <nl> + # if os ( macOS ) <nl> + CoreGraphicsTests . test ( " CGEventMouseSubtype . rawValue " ) { <nl> + expectEqual ( CGEventMouseSubtype . defaultType . rawValue , 0 ) <nl> + expectEqual ( CGEventMouseSubtype . tabletPoint . rawValue , 1 ) <nl> + } <nl> + # endif <nl> + <nl> + / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> + / / CGEventSourceStateID <nl> + / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> + <nl> + # if os ( macOS ) <nl> + CoreGraphicsTests . test ( " CGEventSourceStateID . rawValue " ) { <nl> + expectEqual ( CGEventSourceStateID . privateState . rawValue , - 1 ) <nl> + expectEqual ( CGEventSourceStateID . combinedSessionState . rawValue , 0 ) <nl> + } <nl> + # endif <nl> + <nl> + / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> + / / CGEventTapOptions <nl> + / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> + <nl> + # if os ( macOS ) <nl> + CoreGraphicsTests . test ( " CGEventTapOptions . rawValue " ) { <nl> + expectEqual ( CGEventTapOptions . defaultTap . rawValue , 0 ) <nl> + expectEqual ( CGEventTapOptions . listenOnly . rawValue , 1 ) <nl> + } <nl> + # endif <nl> + <nl> + / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> + / / CGFloat <nl> + / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> + <nl> + CoreGraphicsTests . test ( " CGFloat / literals " ) { <nl> + var flt : CGFloat = 4 . 125 <nl> + expectEqual ( 4 . 125 , flt ) <nl> + <nl> + flt = 42 <nl> + expectEqual ( 42 , flt ) <nl> + } <nl> + <nl> + CoreGraphicsTests . test ( " CGFloat / init " ) { <nl> + expectEqual ( 0 . 0 , CGFloat ( ) ) <nl> + expectEqual ( 4 . 125 , CGFloat ( Float ( 4 . 125 ) ) ) <nl> + expectEqual ( 4 . 125 , CGFloat ( Double ( 4 . 125 ) ) ) <nl> + expectEqual ( 4 . 125 , CGFloat ( CGFloat ( Double ( 4 . 125 ) ) ) ) <nl> + <nl> + expectEqual ( 42 , CGFloat ( Int ( 42 ) ) ) <nl> + expectEqual ( 42 , CGFloat ( Int8 ( 42 ) ) ) <nl> + expectEqual ( 42 , CGFloat ( Int16 ( 42 ) ) ) <nl> + expectEqual ( 42 , CGFloat ( Int32 ( 42 ) ) ) <nl> + expectEqual ( 42 , CGFloat ( Int64 ( 42 ) ) ) <nl> + expectEqual ( 42 , CGFloat ( UInt ( 42 ) ) ) <nl> + expectEqual ( 42 , CGFloat ( UInt8 ( 42 ) ) ) <nl> + expectEqual ( 42 , CGFloat ( UInt16 ( 42 ) ) ) <nl> + expectEqual ( 42 , CGFloat ( UInt32 ( 42 ) ) ) <nl> + expectEqual ( 42 , CGFloat ( UInt64 ( 42 ) ) ) <nl> + } <nl> + <nl> + CoreGraphicsTests . test ( " CGFloat / initOtherTypesFromCGFloat " ) { <nl> + let flt : CGFloat = 4 . 125 <nl> + <nl> + expectEqual ( 4 . 125 , Float ( flt ) ) <nl> + expectEqual ( 4 . 125 , Double ( flt ) ) <nl> + <nl> + expectEqual ( 4 , Int ( flt ) ) <nl> + expectEqual ( 4 , Int8 ( flt ) ) <nl> + expectEqual ( 4 , Int16 ( flt ) ) <nl> + expectEqual ( 4 , Int32 ( flt ) ) <nl> + expectEqual ( 4 , Int64 ( flt ) ) <nl> + expectEqual ( 4 , UInt ( flt ) ) <nl> + expectEqual ( 4 , UInt8 ( flt ) ) <nl> + expectEqual ( 4 , UInt16 ( flt ) ) <nl> + expectEqual ( 4 , UInt32 ( flt ) ) <nl> + expectEqual ( 4 , UInt64 ( flt ) ) <nl> + } <nl> + <nl> + CoreGraphicsTests . test ( " CGFloat / comparisons " ) { <nl> + let instances : [ CGFloat ] = [ 2 . 71 , 3 . 14 ] <nl> + <nl> + checkHashable ( instances , equalityOracle : { $ 0 = = $ 1 } ) <nl> + <nl> + checkComparable ( instances , oracle : { $ 0 < = > $ 1 } ) <nl> + } <nl> + <nl> + CoreGraphicsTests . test ( " CGFloat / arithmetic " ) { <nl> + let x : CGFloat = 0 . 25 <nl> + let y : CGFloat = 4 <nl> + <nl> + expectEqual ( 4 . 25 , x + y ) <nl> + expectEqual ( - 3 . 75 , x - y ) <nl> + expectEqual ( 1 . 0 , x * y ) <nl> + expectEqual ( 0 . 0625 , x / y ) <nl> + } <nl> + <nl> + CoreGraphicsTests . test ( " CGFloat / striding " ) { <nl> + do { <nl> + var result = [ CGFloat ] ( ) <nl> + for f in stride ( from : ( 1 . 0 as CGFloat ) , to : 2 . 0 , by : 0 . 5 ) { <nl> + result . append ( f ) <nl> + } <nl> + expectEqual ( [ 1 . 0 , 1 . 5 ] , result ) <nl> + } <nl> + <nl> + do { <nl> + var result = [ CGFloat ] ( ) <nl> + for f in stride ( from : ( 1 . 0 as CGFloat ) , through : 2 . 0 , by : 0 . 5 ) { <nl> + result . append ( f ) <nl> + } <nl> + expectEqual ( [ 1 . 0 , 1 . 5 , 2 . 0 ] , result ) <nl> + } <nl> + } <nl> + <nl> + CoreGraphicsTests . test ( " CGFloat / bridging " ) { <nl> + / / Bridging to NSNumber . <nl> + do { <nl> + let flt : CGFloat = 4 . 125 <nl> + <nl> + / / CGFloat - > NSNumber conversion . <nl> + let nsnum : NSNumber = flt as NSNumber <nl> + expectEqual ( " 4 . 125 " , " \ ( nsnum ) " ) <nl> + <nl> + / / NSNumber - > CGFloat <nl> + let bridgedBack : CGFloat = nsnum as ! CGFloat <nl> + expectEqual ( flt , bridgedBack ) <nl> + } <nl> + <nl> + / / Array bridging . <nl> + do { <nl> + let originalArray : [ CGFloat ] = [ 4 . 125 , 10 . 625 ] <nl> + <nl> + / / Array - > NSArray <nl> + let nsarr : NSArray = originalArray as NSArray <nl> + expectEqual ( 2 , nsarr . count ) <nl> + expectEqual ( " 4 . 125 " , " \ ( nsarr [ 0 ] ) " ) <nl> + expectEqual ( " 10 . 625 " , " \ ( nsarr [ 1 ] ) " ) <nl> + <nl> + / / NSArray - > Array <nl> + expectEqualSequence ( originalArray , nsarr as ! [ CGFloat ] ) <nl> + } <nl> + } <nl> + <nl> + CoreGraphicsTests . test ( " CGFloat / varargs " ) { <nl> + expectEqual ( <nl> + " 0 . 023230 " , NSString ( format : " % . 6f " , CGFloat ( 0 . 02323 ) as CVarArg ) ) <nl> + expectEqual ( <nl> + " 0 . 123450 " , NSString ( format : " % . 6f " , CGFloat ( 0 . 12345 ) as CVarArg ) ) <nl> + expectEqual ( <nl> + " 1 . 234560 " , NSString ( format : " % . 6f " , CGFloat ( 1 . 23456 ) as CVarArg ) ) <nl> } <nl> <nl> / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> CoreGraphicsTests . test ( " CGPoint / Equatable " ) { <nl> CGPoint ( x : 1 , y : 0 ) , <nl> CGPoint ( x : 0 , y : 1 ) , <nl> <nl> - CGPoint ( x : 1 . nextUp , y : 1 . nextUp ) , <nl> - CGPoint ( x : 1 . nextUp , y : 0 ) , <nl> - CGPoint ( x : 0 , y : 1 . nextUp ) , <nl> + CGPoint ( x : CGFloat ( 1 ) . nextUp , y : CGFloat ( 1 ) . nextUp ) , <nl> + CGPoint ( x : CGFloat ( 1 ) . nextUp , y : 0 ) , <nl> + CGPoint ( x : 0 , y : CGFloat ( 1 ) . nextUp ) , <nl> <nl> CGPoint ( x : CGFloat . greatestFiniteMagnitude , y : 0 ) , <nl> ] as [ CGPoint ] , <nl> CoreGraphicsTests . test ( " CGSize / Equatable " ) { <nl> CGSize ( width : 1 , height : 0 ) , <nl> CGSize ( width : 0 , height : 1 ) , <nl> <nl> - CGSize ( width : 1 . nextUp , height : 1 . nextUp ) , <nl> - CGSize ( width : 1 . nextUp , height : 0 ) , <nl> - CGSize ( width : 0 , height : 1 . nextUp ) , <nl> + CGSize ( width : CGFloat ( 1 ) . nextUp , height : CGFloat ( 1 ) . nextUp ) , <nl> + CGSize ( width : CGFloat ( 1 ) . nextUp , height : 0 ) , <nl> + CGSize ( width : 0 , height : CGFloat ( 1 ) . nextUp ) , <nl> <nl> CGSize ( width : CGFloat . greatestFiniteMagnitude , height : 0 ) , <nl> ] as [ CGSize ] , <nl> CoreGraphicsTests . test ( " CGRect . divided ( ) " ) { <nl> } <nl> <nl> CoreGraphicsTests . test ( " CGRect . standardized " ) { <nl> - var unstandard = CGRect ( x : 10 , y : 20 , width : - 30 , height : - 50 ) <nl> - var standard = unstandard . standardized <nl> + let unstandard = CGRect ( x : 10 , y : 20 , width : - 30 , height : - 50 ) <nl> + let standard = unstandard . standardized <nl> <nl> expectEqual ( CGPoint ( x : 10 , y : 20 ) , unstandard . origin ) <nl> expectEqual ( CGPoint ( x : - 20 , y : - 30 ) , standard . origin ) <nl> CoreGraphicsTests . test ( " CGRect . intersection ( _ : ) " ) { <nl> let bigRect = CGRect ( x : 1 , y : 2 , width : 101 , height : 102 ) <nl> let distantRect = CGRect ( x : 1000 , y : 2000 , width : 1 , height : 1 ) <nl> <nl> - var rect = CGRect ( x : 11 . 25 , y : 22 . 25 , width : 33 . 25 , height : 44 . 25 ) <nl> + let rect = CGRect ( x : 11 . 25 , y : 22 . 25 , width : 33 . 25 , height : 44 . 25 ) <nl> <nl> expectTrue ( rect . intersects ( smallRect ) ) <nl> expectEqual ( <nl> CoreGraphicsTests . test ( " CGVector / Equatable " ) { <nl> CGVector ( dx : 1 , dy : 0 ) , <nl> CGVector ( dx : 0 , dy : 1 ) , <nl> <nl> - CGVector ( dx : 1 . nextUp , dy : 1 . nextUp ) , <nl> - CGVector ( dx : 1 . nextUp , dy : 0 ) , <nl> - CGVector ( dx : 0 , dy : 1 . nextUp ) , <nl> + CGVector ( dx : CGFloat ( 1 ) . nextUp , dy : CGFloat ( 1 ) . nextUp ) , <nl> + CGVector ( dx : CGFloat ( 1 ) . nextUp , dy : 0 ) , <nl> + CGVector ( dx : 0 , dy : CGFloat ( 1 ) . nextUp ) , <nl> <nl> CGVector ( dx : CGFloat . greatestFiniteMagnitude , dy : 0 ) , <nl> ] as [ CGVector ] , <nl> | Merge remote - tracking branch ' origin / master ' into master - next | apple/swift | 7b73602e9c350e3dfaf1bf794ba62196ee05e6fa | 2020-05-19T06:59:12Z |
mmm a / core / error_macros . h <nl> ppp b / core / error_macros . h <nl> void _err_print_index_error ( const char * p_function , const char * p_file , int p_li <nl> * <nl> * The current function returns ` m_retval ` . <nl> * / <nl> - # define ERR_FAIL_V ( m_retval ) \ <nl> - if ( 1 ) { \ <nl> - _err_print_error ( FUNCTION_STR , __FILE__ , __LINE__ , " Method / Function Failed , returning : " __STR ( m_value ) ) ; \ <nl> - return m_retval ; \ <nl> - } else \ <nl> + # define ERR_FAIL_V ( m_retval ) \ <nl> + if ( 1 ) { \ <nl> + _err_print_error ( FUNCTION_STR , __FILE__ , __LINE__ , " Method / Function Failed , returning : " __STR ( m_retval ) ) ; \ <nl> + return m_retval ; \ <nl> + } else \ <nl> ( ( void ) 0 ) <nl> <nl> / * * <nl> void _err_print_index_error ( const char * p_function , const char * p_file , int p_li <nl> * <nl> * Prints ` m_msg ` , and the current function returns ` m_retval ` . <nl> * / <nl> - # define ERR_FAIL_V_MSG ( m_retval , m_msg ) \ <nl> - if ( 1 ) { \ <nl> - _err_print_error ( FUNCTION_STR , __FILE__ , __LINE__ , " Method / Function Failed , returning : " __STR ( m_value ) , DEBUG_STR ( m_msg ) ) ; \ <nl> - return m_retval ; \ <nl> - } else \ <nl> + # define ERR_FAIL_V_MSG ( m_retval , m_msg ) \ <nl> + if ( 1 ) { \ <nl> + _err_print_error ( FUNCTION_STR , __FILE__ , __LINE__ , " Method / Function Failed , returning : " __STR ( m_retval ) , DEBUG_STR ( m_msg ) ) ; \ <nl> + return m_retval ; \ <nl> + } else \ <nl> ( ( void ) 0 ) <nl> <nl> / * * <nl> | Merge pull request from ThakeeNathees / error_macros . h - typo - fix | godotengine/godot | c7ab0de23a8e275e74392ab5c76171f03eb5436a | 2020-03-04T11:54:13Z |
mmm a / tensorflow / python / autograph / operators / control_flow . py <nl> ppp b / tensorflow / python / autograph / operators / control_flow . py <nl> def for_stmt ( iter_ , extra_test , body , get_state , set_state , symbol_names , opts ) : <nl> " " " <nl> if tensor_util . is_tensor ( iter_ ) : <nl> if tensors . is_range_tensor ( iter_ ) : <nl> - _tf_range_for_stmt ( iter_ , extra_test , body , get_state , set_state , <nl> - symbol_names , opts ) <nl> - elif isinstance ( iter_ , ragged_tensor . RaggedTensor ) : <nl> - _tf_ragged_for_stmt ( iter_ , extra_test , body , get_state , set_state , <nl> - symbol_names , opts ) <nl> + _tf_range_for_stmt ( <nl> + iter_ , extra_test , body , get_state , set_state , symbol_names , opts ) <nl> else : <nl> _known_len_tf_for_stmt ( <nl> iter_ , extra_test , body , get_state , set_state , symbol_names , opts ) <nl> mmm a / tensorflow / python / data / kernel_tests / memory_cleanup_test . py <nl> ppp b / tensorflow / python / data / kernel_tests / memory_cleanup_test . py <nl> def run ( ) : <nl> <nl> gc . collect ( ) <nl> tensors = [ <nl> - o for o in gc . get_objects ( ) if isinstance ( o , tensor_like . TensorLike ) <nl> + o for o in gc . get_objects ( ) if isinstance ( o , tensor_like . _TensorLike ) <nl> ] <nl> self . assertEmpty ( tensors , " % d Tensors are still alive . " % len ( tensors ) ) <nl> <nl> mmm a / tensorflow / python / framework / indexed_slices . py <nl> ppp b / tensorflow / python / framework / indexed_slices . py <nl> <nl> " tensor_util " , globals ( ) , <nl> " tensorflow . python . framework . tensor_util " ) <nl> <nl> + # pylint : disable = protected - access <nl> + _TensorLike = tensor_like . _TensorLike <nl> + # pylint : enable = protected - access <nl> + <nl> <nl> @ tf_export ( " IndexedSlices " ) <nl> - class IndexedSlices ( tensor_like . TensorLike , composite_tensor . CompositeTensor ) : <nl> + class IndexedSlices ( _TensorLike , composite_tensor . CompositeTensor ) : <nl> " " " A sparse representation of a set of tensor slices at given indices . <nl> <nl> This class is a simple wrapper for a pair of ` Tensor ` objects : <nl> def internal_convert_to_tensor_or_indexed_slices ( value , <nl> " " " <nl> if isinstance ( value , ops . EagerTensor ) and not context . executing_eagerly ( ) : <nl> return ops . convert_to_tensor ( value , dtype = dtype , name = name , as_ref = as_ref ) <nl> - elif isinstance ( value , tensor_like . TensorLike ) : <nl> + elif isinstance ( value , _TensorLike ) : <nl> if dtype and not dtypes . as_dtype ( dtype ) . is_compatible_with ( value . dtype ) : <nl> raise ValueError ( <nl> " Tensor conversion requested dtype % s for Tensor with dtype % s : % r " % <nl> mmm a / tensorflow / python / framework / ops . py <nl> ppp b / tensorflow / python / framework / ops . py <nl> <nl> <nl> <nl> # pylint : disable = protected - access <nl> + _TensorLike = tensor_like . _TensorLike <nl> _DTYPES_INTERN_TABLE = dtypes . _INTERN_TABLE <nl> # pylint : enable = protected - access <nl> <nl> def disable_tensor_equality ( ) : <nl> <nl> <nl> @ tf_export ( " Tensor " ) <nl> - class Tensor ( tensor_like . TensorLike ) : <nl> + class Tensor ( _TensorLike ) : <nl> " " " A tensor is a multidimensional array of elements represented by a <nl> <nl> ` tf . Tensor ` object . All elements are of a single known data type . <nl> def _assert_same_graph ( original_item , item ) : <nl> Raises : <nl> ValueError : if graphs do not match . <nl> " " " <nl> - original_graph = getattr ( original_item , " graph " , None ) <nl> - graph = getattr ( item , " graph " , None ) <nl> - if original_graph and graph and original_graph is not graph : <nl> - raise ValueError ( <nl> - " % s must be from the same graph as % s ( graphs are % s and % s ) . " % <nl> - ( item , original_item , graph , original_graph ) ) <nl> + if original_item . graph is not item . graph : <nl> + raise ValueError ( " % s must be from the same graph as % s . " % <nl> + ( item , original_item ) ) <nl> <nl> <nl> def _get_graph_from_inputs ( op_input_list , graph = None ) : <nl> def _get_graph_from_inputs ( op_input_list , graph = None ) : <nl> # TODO ( josh11b ) : Note that we exclude subclasses of Tensor . Need to clean this <nl> # up . <nl> graph_element = None <nl> - if ( isinstance ( op_input , ( Operation , tensor_like . TensorLike ) ) and <nl> + if ( isinstance ( op_input , ( Operation , _TensorLike ) ) and <nl> ( ( not isinstance ( op_input , Tensor ) ) or type ( op_input ) = = Tensor ) ) : # pylint : disable = unidiomatic - typecheck <nl> graph_element = op_input <nl> - elif isinstance ( op_input , Tensor ) : <nl> + else : <nl> graph_element = _as_graph_element ( op_input ) <nl> <nl> if graph_element is not None : <nl> if not graph : <nl> original_graph_element = graph_element <nl> - graph = getattr ( graph_element , " graph " , None ) <nl> + graph = graph_element . graph <nl> elif original_graph_element is not None : <nl> _assert_same_graph ( original_graph_element , graph_element ) <nl> elif graph_element . graph is not graph : <nl> mmm a / tensorflow / python / framework / sparse_tensor . py <nl> ppp b / tensorflow / python / framework / sparse_tensor . py <nl> <nl> from tensorflow . python . util . tf_export import tf_export <nl> <nl> # pylint : disable = protected - access <nl> + _TensorLike = tensor_like . _TensorLike <nl> _eval_using_default_session = ops . _eval_using_default_session <nl> _override_helper = ops . _override_helper <nl> # pylint : enable = protected - access <nl> <nl> <nl> @ tf_export ( " sparse . SparseTensor " , " SparseTensor " ) <nl> - class SparseTensor ( tensor_like . TensorLike , composite_tensor . CompositeTensor ) : <nl> + class SparseTensor ( _TensorLike , composite_tensor . CompositeTensor ) : <nl> " " " Represents a sparse tensor . <nl> <nl> TensorFlow represents a sparse tensor as three separate dense tensors : <nl> mmm a / tensorflow / python / framework / tensor_like . py <nl> ppp b / tensorflow / python / framework / tensor_like . py <nl> <nl> from __future__ import print_function <nl> <nl> <nl> - class TensorLike ( object ) : <nl> - " " " TF - specific types TF operations are expected to natively support . <nl> - <nl> - Do not check this with isinstance directly ; prefer instead using <nl> - ` tf . is_tensor ` to check whether converting to a tensor is necessary . <nl> - " " " <nl> + # NOTE ( ebrevdo ) : Do not subclass this . If you do , I will break you on purpose . <nl> + class _TensorLike ( object ) : <nl> + " " " Internal cls for grouping Tensor , SparseTensor , . . . , for is_instance . " " " <nl> pass <nl> mmm a / tensorflow / python / framework / tensor_util . py <nl> ppp b / tensorflow / python / framework / tensor_util . py <nl> def constant_value_as_shape ( tensor ) : # pylint : disable = invalid - name <nl> <nl> @ tf_export ( " is_tensor " ) <nl> def is_tensor ( x ) : # pylint : disable = invalid - name <nl> - " " " Checks whether ` x ` is a TF - native type that can be passed to many TF ops . <nl> + " " " Checks whether ` x ` is a tensor or " tensor - like " . <nl> <nl> - Use is_tensor to differentiate types that can ingested by TensorFlow ops <nl> - without any conversion ( e . g . , ` tf . Tensor ` , ` tf . SparseTensor ` , and <nl> - ` tf . RaggedTensor ` ) from types that need to be converted into tensors before <nl> - they are ingested ( e . g . , numpy ` ndarray ` and Python scalars ) . <nl> + If ` is_tensor ( x ) ` returns ` True ` , it is safe to assume that ` x ` is a tensor or <nl> + can be converted to a tensor using ` ops . convert_to_tensor ( x ) ` . <nl> <nl> - For example , in the following code block : <nl> + Usage example : <nl> <nl> - ` ` ` python <nl> - if not tf . is_tensor ( t ) : <nl> - t = tf . convert_to_tensor ( t ) <nl> - return t . dtype <nl> - ` ` ` <nl> - <nl> - we check to make sure that ` t ` is a tensor ( and convert it if not ) before <nl> - accessing its ` shape ` and ` dtype ` . <nl> + > > > tf . is_tensor ( tf . constant ( [ [ 1 , 2 , 3 ] , [ 4 , 5 , 6 ] , [ 7 , 8 , 9 ] ] ) ) <nl> + True <nl> + > > > tf . is_tensor ( " Hello World " ) <nl> + False <nl> <nl> Args : <nl> x : A python object to check . <nl> def is_tensor ( x ) : # pylint : disable = invalid - name <nl> Returns : <nl> ` True ` if ` x ` is a tensor or " tensor - like " , ` False ` if not . <nl> " " " <nl> - return ( isinstance ( x , ( tensor_like . TensorLike , core . Tensor ) ) or <nl> + # TODO ( mdan ) : Remove these . Only keep core . Tensor . <nl> + return ( isinstance ( x , ( tensor_like . _TensorLike , core . Tensor ) ) or # pylint : disable = protected - access <nl> ops . is_dense_tensor_like ( x ) or <nl> getattr ( x , " is_tensor_like " , False ) ) <nl> <nl> mmm a / tensorflow / python / keras / engine / training_utils . py <nl> ppp b / tensorflow / python / keras / engine / training_utils . py <nl> <nl> from tensorflow . python . ops import gen_array_ops <nl> from tensorflow . python . ops import math_ops <nl> from tensorflow . python . ops . losses import util as tf_losses_utils <nl> - from tensorflow . python . ops . ragged import ragged_tensor <nl> from tensorflow . python . platform import tf_logging as logging <nl> from tensorflow . python . util import nest <nl> from tensorflow . python . util import tf_inspect <nl> def has_symbolic_tensors ( ls ) : <nl> <nl> <nl> def has_tensors ( ls ) : <nl> - " " " Returns true if ` ls ` contains tensors . " " " <nl> - # Note : at some point in time ragged tensors didn ' t count as tensors , so this <nl> - # returned false for ragged tensors . Making this return true fails some tests <nl> - # which would then require a steps_per_epoch argument . <nl> if isinstance ( ls , ( list , tuple ) ) : <nl> - return any ( <nl> - tensor_util . is_tensor ( v ) and <nl> - not isinstance ( v , ragged_tensor . RaggedTensor ) for v in ls ) <nl> + return any ( tensor_util . is_tensor ( v ) for v in ls ) <nl> if isinstance ( ls , dict ) : <nl> - return any ( <nl> - tensor_util . is_tensor ( v ) and <nl> - not isinstance ( v , ragged_tensor . RaggedTensor ) <nl> - for _ , v in six . iteritems ( ls ) ) <nl> - return tensor_util . is_tensor ( ls ) and not isinstance ( <nl> - ls , ragged_tensor . RaggedTensor ) <nl> + return any ( tensor_util . is_tensor ( v ) for _ , v in six . iteritems ( ls ) ) <nl> + return tensor_util . is_tensor ( ls ) <nl> <nl> <nl> def get_metric_name ( metric , weighted = False ) : <nl> mmm a / tensorflow / python / ops / ragged / ragged_tensor . py <nl> ppp b / tensorflow / python / ops / ragged / ragged_tensor . py <nl> <nl> from tensorflow . python . framework import dtypes <nl> from tensorflow . python . framework import ops <nl> from tensorflow . python . framework import sparse_tensor <nl> - from tensorflow . python . framework import tensor_like <nl> from tensorflow . python . framework import tensor_shape <nl> from tensorflow . python . framework import tensor_spec <nl> from tensorflow . python . framework import type_spec <nl> <nl> <nl> <nl> @ tf_export ( " RaggedTensor " ) <nl> - class RaggedTensor ( composite_tensor . CompositeTensor , tensor_like . TensorLike ) : <nl> + class RaggedTensor ( composite_tensor . CompositeTensor ) : <nl> " " " Represents a ragged tensor . <nl> <nl> A ` RaggedTensor ` is a tensor with one or more * ragged dimensions * , which are <nl> mmm a / tensorflow / tools / api / golden / v1 / tensorflow . - indexed - slices . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v1 / tensorflow . - indexed - slices . pbtxt <nl> <nl> path : " tensorflow . IndexedSlices " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . framework . indexed_slices . IndexedSlices \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> + is_instance : " < class \ ' tensorflow . python . framework . tensor_like . _TensorLike \ ' > " <nl> is_instance : " < class \ ' tensorflow . python . framework . composite_tensor . CompositeTensor \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> mmm a / tensorflow / tools / api / golden / v1 / tensorflow . - ragged - tensor . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v1 / tensorflow . - ragged - tensor . pbtxt <nl> path : " tensorflow . RaggedTensor " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . ops . ragged . ragged_tensor . RaggedTensor \ ' > " <nl> is_instance : " < class \ ' tensorflow . python . framework . composite_tensor . CompositeTensor \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> name : " dtype " <nl> mmm a / tensorflow / tools / api / golden / v1 / tensorflow . - sparse - tensor . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v1 / tensorflow . - sparse - tensor . pbtxt <nl> <nl> path : " tensorflow . SparseTensor " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . framework . sparse_tensor . SparseTensor \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> + is_instance : " < class \ ' tensorflow . python . framework . tensor_like . _TensorLike \ ' > " <nl> is_instance : " < class \ ' tensorflow . python . framework . composite_tensor . CompositeTensor \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> mmm a / tensorflow / tools / api / golden / v1 / tensorflow . - tensor . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v1 / tensorflow . - tensor . pbtxt <nl> <nl> path : " tensorflow . Tensor " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . framework . ops . Tensor \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> + is_instance : " < class \ ' tensorflow . python . framework . tensor_like . _TensorLike \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> name : " OVERLOADABLE_OPERATORS " <nl> mmm a / tensorflow / tools / api / golden / v1 / tensorflow . sparse . - sparse - tensor . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v1 / tensorflow . sparse . - sparse - tensor . pbtxt <nl> <nl> path : " tensorflow . sparse . SparseTensor " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . framework . sparse_tensor . SparseTensor \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> + is_instance : " < class \ ' tensorflow . python . framework . tensor_like . _TensorLike \ ' > " <nl> is_instance : " < class \ ' tensorflow . python . framework . composite_tensor . CompositeTensor \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> mmm a / tensorflow / tools / api / golden / v2 / tensorflow . - indexed - slices . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v2 / tensorflow . - indexed - slices . pbtxt <nl> <nl> path : " tensorflow . IndexedSlices " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . framework . indexed_slices . IndexedSlices \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> + is_instance : " < class \ ' tensorflow . python . framework . tensor_like . _TensorLike \ ' > " <nl> is_instance : " < class \ ' tensorflow . python . framework . composite_tensor . CompositeTensor \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> mmm a / tensorflow / tools / api / golden / v2 / tensorflow . - ragged - tensor . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v2 / tensorflow . - ragged - tensor . pbtxt <nl> path : " tensorflow . RaggedTensor " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . ops . ragged . ragged_tensor . RaggedTensor \ ' > " <nl> is_instance : " < class \ ' tensorflow . python . framework . composite_tensor . CompositeTensor \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> name : " dtype " <nl> mmm a / tensorflow / tools / api / golden / v2 / tensorflow . - sparse - tensor . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v2 / tensorflow . - sparse - tensor . pbtxt <nl> <nl> path : " tensorflow . SparseTensor " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . framework . sparse_tensor . SparseTensor \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> + is_instance : " < class \ ' tensorflow . python . framework . tensor_like . _TensorLike \ ' > " <nl> is_instance : " < class \ ' tensorflow . python . framework . composite_tensor . CompositeTensor \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> mmm a / tensorflow / tools / api / golden / v2 / tensorflow . - tensor . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v2 / tensorflow . - tensor . pbtxt <nl> <nl> path : " tensorflow . Tensor " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . framework . ops . Tensor \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> + is_instance : " < class \ ' tensorflow . python . framework . tensor_like . _TensorLike \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> name : " OVERLOADABLE_OPERATORS " <nl> mmm a / tensorflow / tools / api / golden / v2 / tensorflow . sparse . - sparse - tensor . pbtxt <nl> ppp b / tensorflow / tools / api / golden / v2 / tensorflow . sparse . - sparse - tensor . pbtxt <nl> <nl> path : " tensorflow . sparse . SparseTensor " <nl> tf_class { <nl> is_instance : " < class \ ' tensorflow . python . framework . sparse_tensor . SparseTensor \ ' > " <nl> - is_instance : " < class \ ' tensorflow . python . framework . tensor_like . TensorLike \ ' > " <nl> + is_instance : " < class \ ' tensorflow . python . framework . tensor_like . _TensorLike \ ' > " <nl> is_instance : " < class \ ' tensorflow . python . framework . composite_tensor . CompositeTensor \ ' > " <nl> is_instance : " < type \ ' object \ ' > " <nl> member { <nl> | Clarifies meaning of is_tensor in the documentation . | tensorflow/tensorflow | d38475eb2e3b37437f5002407e0bafe2ffea1d6d | 2020-03-27T17:31:26Z |
mmm a / doc / base / classes . xml <nl> ppp b / doc / base / classes . xml <nl> This method controls whether the position between two cached points is interpola <nl> Return the tile index of the referenced cell . <nl> < / description > <nl> < / method > <nl> + < method name = " get_cellv " qualifiers = " const " > <nl> + < return type = " int " > <nl> + < / return > <nl> + < argument index = " 0 " name = " pos " type = " Vector2 " > <nl> + < / argument > <nl> + < description > <nl> + Return the tile index of the cell referenced by a Vector2 . <nl> + < / description > <nl> + < / method > <nl> < method name = " is_cell_x_flipped " qualifiers = " const " > <nl> < return type = " bool " > <nl> < / return > <nl> mmm a / scene / 2d / tile_map . cpp <nl> ppp b / scene / 2d / tile_map . cpp <nl> void TileMap : : set_cell ( int p_x , int p_y , int p_tile , bool p_flip_x , bool p_flip_y , bo <nl> <nl> } <nl> <nl> + int TileMap : : get_cellv ( const Vector2 & p_pos ) const { <nl> + return get_cell ( p_pos . x , p_pos . y ) ; <nl> + } <nl> + <nl> int TileMap : : get_cell ( int p_x , int p_y ) const { <nl> <nl> PosKey pk ( p_x , p_y ) ; <nl> void TileMap : : _bind_methods ( ) { <nl> ObjectTypeDB : : bind_method ( _MD ( " set_cell " , " x " , " y " , " tile " , " flip_x " , " flip_y " , " transpose " ) , & TileMap : : set_cell , DEFVAL ( false ) , DEFVAL ( false ) , DEFVAL ( false ) ) ; <nl> ObjectTypeDB : : bind_method ( _MD ( " set_cellv " , " pos " , " tile " , " flip_x " , " flip_y " , " transpose " ) , & TileMap : : set_cellv , DEFVAL ( false ) , DEFVAL ( false ) , DEFVAL ( false ) ) ; <nl> ObjectTypeDB : : bind_method ( _MD ( " get_cell " , " x " , " y " ) , & TileMap : : get_cell ) ; <nl> + ObjectTypeDB : : bind_method ( _MD ( " get_cellv " , " pos " ) , & TileMap : : get_cellv ) ; <nl> ObjectTypeDB : : bind_method ( _MD ( " is_cell_x_flipped " , " x " , " y " ) , & TileMap : : is_cell_x_flipped ) ; <nl> ObjectTypeDB : : bind_method ( _MD ( " is_cell_y_flipped " , " x " , " y " ) , & TileMap : : is_cell_y_flipped ) ; <nl> <nl> mmm a / scene / 2d / tile_map . h <nl> ppp b / scene / 2d / tile_map . h <nl> class TileMap : public Node2D { <nl> bool is_cell_transposed ( int p_x , int p_y ) const ; <nl> <nl> void set_cellv ( const Vector2 & p_pos , int p_tile , bool p_flip_x = false , bool p_flip_y = false , bool p_transpose = false ) ; <nl> + int get_cellv ( const Vector2 & p_pos ) const ; <nl> <nl> Rect2 get_item_rect ( ) const ; <nl> <nl> | Merge pull request from 29jm / patch - 1 | godotengine/godot | 4a39202c8d162d1e8b7d389fdcb75b51323d2d7d | 2016-02-06T23:33:43Z |
mmm a / fdbserver / Restore . actor . cpp <nl> ppp b / fdbserver / Restore . actor . cpp <nl> ACTOR Future < Void > masterCore ( Reference < RestoreData > rd , RestoreInterface ri , Da <nl> <nl> ACTOR static Future < Version > processRestoreRequest ( RestoreInterface interf , Reference < RestoreData > rd , Database cx , RestoreRequest request ) ; <nl> ACTOR static Future < Void > finishRestore ( Reference < RestoreData > rd , Database cx , Standalone < VectorRef < RestoreRequest > > restoreRequests ) ; <nl> + ACTOR static Future < Void > _clearDB ( Reference < ReadYourWritesTransaction > tr ) ; <nl> <nl> bool concatenateBackupMutationForLogFile ( Reference < RestoreData > rd , Standalone < StringRef > val_input , Standalone < StringRef > key_input ) ; <nl> void concatenateBackupMutation ( Standalone < StringRef > val_input , Standalone < StringRef > key_input ) ; <nl> struct RestoreData : NonCopyable , public ReferenceCounted < RestoreData > { <nl> / / Must use StandAlone to save mutations , otherwise , the mutationref memory will be corrupted <nl> std : : map < Standalone < StringRef > , Standalone < StringRef > > mutationMap ; / / Key is the unique identifier for a batch of mutation logs at the same version <nl> std : : map < Standalone < StringRef > , uint32_t > mutationPartMap ; / / Record the most recent <nl> + Reference < IBackupContainer > bc ; / / Backup container is used to read backup files <nl> <nl> / / For master applier to hold the lower bound of key ranges for each appliers <nl> std : : vector < Standalone < KeyRef > > keyRangeLowerBounds ; <nl> ACTOR Future < Void > setWorkerInterface ( RestoreSimpleRequest req , Reference < Restor <nl> } <nl> ASSERT ( agents . size ( ) > = min_num_workers ) ; / / ASSUMPTION : We must have at least 1 loader and 1 applier <nl> <nl> - TraceEvent ( " FastRestore " ) . detail ( " CollectWorkerInterface_NumWorkers " , rd - > workers_interface . size ( ) ) ; <nl> + TraceEvent ( " FastRestore " ) . detail ( " CollectWorkerInterfaceNumWorkers " , rd - > workers_interface . size ( ) ) ; <nl> <nl> return Void ( ) ; <nl> } <nl> ACTOR Future < Standalone < VectorRef < RestoreRequest > > > collectRestoreRequests ( Datab <nl> return restoreRequests ; <nl> } <nl> <nl> + void initBackupContainer ( Reference < RestoreData > rd , Key url ) { <nl> + printf ( " initBackupContainer , url : % s \ n " , url . toString ( ) . c_str ( ) ) ; <nl> + rd - > bc = IBackupContainer : : openContainer ( url . toString ( ) ) ; <nl> + / / state BackupDescription desc = wait ( rd - > bc - > describeBackup ( ) ) ; <nl> + / / return Void ( ) ; <nl> + } <nl> + <nl> / / NOTE : This function can now get the backup file descriptors <nl> ACTOR static Future < Void > collectBackupFiles ( Reference < RestoreData > rd , Database cx , RestoreRequest request ) { <nl> state Key tagName = request . tagName ; <nl> ACTOR static Future < Void > collectBackupFiles ( Reference < RestoreData > rd , Database <nl> <nl> ASSERT ( lockDB = = true ) ; <nl> <nl> - state Reference < IBackupContainer > bc = IBackupContainer : : openContainer ( url . toString ( ) ) ; <nl> + initBackupContainer ( rd , url ) ; <nl> + <nl> + state Reference < IBackupContainer > bc = rd - > bc ; <nl> state BackupDescription desc = wait ( bc - > describeBackup ( ) ) ; <nl> <nl> wait ( desc . resolveVersionTimes ( cx ) ) ; <nl> ACTOR static Future < Void > _lockDB ( Database cx , UID uid , bool lockDB ) { <nl> return Void ( ) ; <nl> } <nl> <nl> + ACTOR static Future < Void > _clearDB ( Reference < ReadYourWritesTransaction > tr ) { <nl> + loop { <nl> + try { <nl> + tr - > reset ( ) ; <nl> + tr - > setOption ( FDBTransactionOptions : : ACCESS_SYSTEM_KEYS ) ; <nl> + tr - > setOption ( FDBTransactionOptions : : LOCK_AWARE ) ; <nl> + tr - > clear ( normalKeys ) ; <nl> + tr - > commit ( ) ; <nl> + break ; <nl> + } catch ( Error & e ) { <nl> + printf ( " Retry at clean up DB before restore . error code : % d message : % s . Retry . . . \ n " , e . code ( ) , e . what ( ) ) ; <nl> + if ( e . code ( ) ! = error_code_restore_duplicate_tag ) { <nl> + wait ( tr - > onError ( e ) ) ; <nl> + } <nl> + } <nl> + } <nl> + <nl> + return Void ( ) ; <nl> + } <nl> + <nl> ACTOR Future < Void > initializeVersionBatch ( Reference < RestoreData > rd , int batchIndex ) { <nl> state std : : vector < UID > workerIDs = getWorkerIDs ( rd ) ; <nl> state int index = 0 ; <nl> ACTOR static Future < Version > processRestoreRequest ( RestoreInterface interf , Refe <nl> <nl> / / lock DB for restore <nl> wait ( _lockDB ( cx , randomUid , lockDB ) ) ; <nl> - <nl> - loop { <nl> - try { <nl> - tr - > reset ( ) ; <nl> - tr - > setOption ( FDBTransactionOptions : : ACCESS_SYSTEM_KEYS ) ; <nl> - tr - > setOption ( FDBTransactionOptions : : LOCK_AWARE ) ; <nl> - tr - > clear ( normalKeys ) ; <nl> - tr - > commit ( ) ; <nl> - break ; <nl> - } catch ( Error & e ) { <nl> - printf ( " [ ERROR ] At clean up DB before restore . error code : % d message : % s . Retry . . . \ n " , e . code ( ) , e . what ( ) ) ; <nl> - if ( e . code ( ) ! = error_code_restore_duplicate_tag ) { <nl> - wait ( tr - > onError ( e ) ) ; <nl> - } <nl> - } <nl> - } <nl> + wait ( _clearDB ( tr ) ) ; <nl> <nl> / / Step : Collect all backup files <nl> - loop { <nl> - try { <nl> - tr - > reset ( ) ; <nl> - tr - > setOption ( FDBTransactionOptions : : ACCESS_SYSTEM_KEYS ) ; <nl> - tr - > setOption ( FDBTransactionOptions : : LOCK_AWARE ) ; <nl> - <nl> - printf ( " = = = = = = = = = = = Restore request start ! = = = = = = = = = = = \ n " ) ; <nl> - state double startTime = now ( ) ; <nl> - wait ( collectBackupFiles ( rd , cx , request ) ) ; <nl> - printf ( " [ Perf ] Node : % s collectBackupFiles takes % . 2f seconds \ n " , rd - > describeNode ( ) . c_str ( ) , now ( ) - startTime ) ; <nl> - constructFilesWithVersionRange ( rd ) ; <nl> - <nl> - <nl> - / / Sort the backup files based on end version . <nl> - sort ( rd - > allFiles . begin ( ) , rd - > allFiles . end ( ) ) ; <nl> - printAllBackupFilesInfo ( rd ) ; <nl> - <nl> - buildForbiddenVersionRange ( rd ) ; <nl> - printForbiddenVersionRange ( rd ) ; <nl> - if ( isForbiddenVersionRangeOverlapped ( rd ) ) { <nl> - printf ( " [ ERROR ] forbidden version ranges are overlapped ! Check out the forbidden version range above \ n " ) ; <nl> - ASSERT ( 0 ) ; <nl> - } <nl> - <nl> - break ; <nl> - } catch ( Error & e ) { <nl> - printf ( " [ ERROR ] At collect all backup files . error code : % d message : % s . Retry . . . \ n " , e . code ( ) , e . what ( ) ) ; <nl> - if ( e . code ( ) ! = error_code_restore_duplicate_tag ) { <nl> - wait ( tr - > onError ( e ) ) ; <nl> - } <nl> - } <nl> + printf ( " = = = = = = = = = = = Restore request start ! = = = = = = = = = = = \ n " ) ; <nl> + state double startTime = now ( ) ; <nl> + wait ( collectBackupFiles ( rd , cx , request ) ) ; <nl> + printf ( " [ Perf ] Node : % s collectBackupFiles takes % . 2f seconds \ n " , rd - > describeNode ( ) . c_str ( ) , now ( ) - startTime ) ; <nl> + constructFilesWithVersionRange ( rd ) ; <nl> + <nl> + / / Sort the backup files based on end version . <nl> + sort ( rd - > allFiles . begin ( ) , rd - > allFiles . end ( ) ) ; <nl> + printAllBackupFilesInfo ( rd ) ; <nl> + <nl> + buildForbiddenVersionRange ( rd ) ; <nl> + printForbiddenVersionRange ( rd ) ; <nl> + if ( isForbiddenVersionRangeOverlapped ( rd ) ) { <nl> + fprintf ( stderr , " [ ERROR ] forbidden version ranges are overlapped ! Check out the forbidden version range above \ n " ) ; <nl> } <nl> <nl> loop { <nl> | FastRestore : Remove unneeded try catch for collectFiles | apple/foundationdb | eeaf7c681399707c6eefa1f6f17de1e3969f0e98 | 2019-04-17T23:08:36Z |
mmm a / infra / testing / builders . pyl <nl> ppp b / infra / testing / builders . pyl <nl> <nl> ] , <nl> } , <nl> ' V8 Linux - arm64 - sim - debug ' : { <nl> + # TODO ( machenbach ) : Remove longer timeout when this builder scales better . <nl> + ' swarming_task_attrs ' : { <nl> + ' hard_timeout ' : 3600 , <nl> + } , <nl> ' tests ' : [ <nl> { ' name ' : ' mjsunit_sp_frame_access ' } , <nl> { ' name ' : ' mozilla ' , ' shards ' : 2 } , <nl> | [ test ] Bump total timeout for slow builder | v8/v8 | 80acb7451b19a4e6ff29d90e876ec610484b716a | 2018-12-10T17:00:35Z |
mmm a / src / core / CMakeLists . txt <nl> ppp b / src / core / CMakeLists . txt <nl> add_library ( core STATIC <nl> hle / service / bcat / bcat . h <nl> hle / service / bcat / module . cpp <nl> hle / service / bcat / module . h <nl> + hle / service / es / es . cpp <nl> + hle / service / es / es . h <nl> hle / service / fatal / fatal . cpp <nl> hle / service / fatal / fatal . h <nl> hle / service / fatal / fatal_p . cpp <nl> new file mode 100644 <nl> index 00000000000 . . d40f18565d7 <nl> mmm / dev / null <nl> ppp b / src / core / hle / service / es / es . cpp <nl> <nl> + / / Copyright 2018 yuzu emulator team <nl> + / / Licensed under GPLv2 or any later version <nl> + / / Refer to the license . txt file included . <nl> + <nl> + # include " core / hle / service / service . h " <nl> + <nl> + namespace Service : : ES { <nl> + <nl> + class ETicket final : public ServiceFramework < ETicket > { <nl> + public : <nl> + explicit ETicket ( ) : ServiceFramework { " es " } { <nl> + static const FunctionInfo functions [ ] = { <nl> + { 1 , nullptr , " ImportTicket " } , <nl> + { 2 , nullptr , " ImportTicketCertificateSet " } , <nl> + { 3 , nullptr , " DeleteTicket " } , <nl> + { 4 , nullptr , " DeletePersonalizedTicket " } , <nl> + { 5 , nullptr , " DeleteAllCommonTicket " } , <nl> + { 6 , nullptr , " DeleteAllPersonalizedTicket " } , <nl> + { 7 , nullptr , " DeleteAllPersonalizedTicketEx " } , <nl> + { 8 , nullptr , " GetTitleKey " } , <nl> + { 9 , nullptr , " CountCommonTicket " } , <nl> + { 10 , nullptr , " CountPersonalizedTicket " } , <nl> + { 11 , nullptr , " ListCommonTicket " } , <nl> + { 12 , nullptr , " ListPersonalizedTicket " } , <nl> + { 13 , nullptr , " ListMissingPersonalizedTicket " } , <nl> + { 14 , nullptr , " GetCommonTicketSize " } , <nl> + { 15 , nullptr , " GetPersonalizedTicketSize " } , <nl> + { 16 , nullptr , " GetCommonTicketData " } , <nl> + { 17 , nullptr , " GetPersonalizedTicketData " } , <nl> + { 18 , nullptr , " OwnTicket " } , <nl> + { 19 , nullptr , " GetTicketInfo " } , <nl> + { 20 , nullptr , " ListLightTicketInfo " } , <nl> + { 21 , nullptr , " SignData " } , <nl> + { 22 , nullptr , " GetCommonTicketAndCertificateSize " } , <nl> + { 23 , nullptr , " GetCommonTicketAndCertificateData " } , <nl> + { 24 , nullptr , " ImportPrepurchaseRecord " } , <nl> + { 25 , nullptr , " DeletePrepurchaseRecord " } , <nl> + { 26 , nullptr , " DeleteAllPrepurchaseRecord " } , <nl> + { 27 , nullptr , " CountPrepurchaseRecord " } , <nl> + { 28 , nullptr , " ListPrepurchaseRecord " } , <nl> + { 29 , nullptr , " ListPrepurchaseRecordInfo " } , <nl> + { 30 , nullptr , " Unknown1 " } , <nl> + { 31 , nullptr , " Unknown2 " } , <nl> + { 32 , nullptr , " Unknown3 " } , <nl> + { 33 , nullptr , " Unknown4 " } , <nl> + { 34 , nullptr , " Unknown5 " } , <nl> + { 35 , nullptr , " Unknown6 " } , <nl> + } ; <nl> + RegisterHandlers ( functions ) ; <nl> + } <nl> + } ; <nl> + <nl> + void InstallInterfaces ( SM : : ServiceManager & service_manager ) { <nl> + std : : make_shared < ETicket > ( ) - > InstallAsService ( service_manager ) ; <nl> + } <nl> + <nl> + } / / namespace Service : : ES <nl> new file mode 100644 <nl> index 00000000000 . . afe70465baa <nl> mmm / dev / null <nl> ppp b / src / core / hle / service / es / es . h <nl> <nl> + / / Copyright 2018 yuzu emulator team <nl> + / / Licensed under GPLv2 or any later version <nl> + / / Refer to the license . txt file included . <nl> + <nl> + # pragma once <nl> + <nl> + namespace Service : : SM { <nl> + class ServiceManager ; <nl> + } <nl> + <nl> + namespace Service : : ES { <nl> + <nl> + / / / Registers all ES services with the specified service manager . <nl> + void InstallInterfaces ( SM : : ServiceManager & service_manager ) ; <nl> + <nl> + } / / namespace Service : : ES <nl> mmm a / src / core / hle / service / service . cpp <nl> ppp b / src / core / hle / service / service . cpp <nl> <nl> # include " core / hle / service / apm / apm . h " <nl> # include " core / hle / service / audio / audio . h " <nl> # include " core / hle / service / bcat / bcat . h " <nl> + # include " core / hle / service / es / es . h " <nl> # include " core / hle / service / fatal / fatal . h " <nl> # include " core / hle / service / filesystem / filesystem . h " <nl> # include " core / hle / service / friend / friend . h " <nl> void Init ( std : : shared_ptr < SM : : ServiceManager > & sm ) { <nl> APM : : InstallInterfaces ( * sm ) ; <nl> BCAT : : InstallInterfaces ( * sm ) ; <nl> Audio : : InstallInterfaces ( * sm ) ; <nl> + ES : : InstallInterfaces ( * sm ) ; <nl> Fatal : : InstallInterfaces ( * sm ) ; <nl> FileSystem : : InstallInterfaces ( * sm ) ; <nl> Friend : : InstallInterfaces ( * sm ) ; <nl> | service : Add the es service | yuzu-emu/yuzu | 417571297661ed13f1426d6ec7ffc748f4eea0f0 | 2018-07-25T19:36:55Z |
mmm a / tensorflow / contrib / eager / python / examples / BUILD <nl> ppp b / tensorflow / contrib / eager / python / examples / BUILD <nl> py_library ( <nl> " / / tensorflow / contrib / eager / python / examples / revnet : config " , <nl> " / / tensorflow / contrib / eager / python / examples / rnn_colorbot " , <nl> " / / tensorflow / contrib / eager / python / examples / rnn_ptb " , <nl> + " / / tensorflow / contrib / eager / python / examples / sagan " , <nl> + " / / tensorflow / contrib / eager / python / examples / sagan : config " , <nl> " / / tensorflow / contrib / eager / python / examples / spinn : data " , <nl> ] , <nl> ) <nl> new file mode 100644 <nl> index 0000000000000 . . b470a41d815ce <nl> mmm / dev / null <nl> ppp b / tensorflow / contrib / eager / python / examples / sagan / BUILD <nl> <nl> + licenses ( [ " notice " ] ) # Apache 2 . 0 <nl> + <nl> + package ( default_visibility = [ " / / tensorflow : internal " ] ) <nl> + <nl> + load ( " / / tensorflow : tensorflow . bzl " , " cuda_py_test " ) <nl> + <nl> + # Model <nl> + py_library ( <nl> + name = " config " , <nl> + srcs = [ " config . py " ] , <nl> + srcs_version = " PY2AND3 " , <nl> + deps = [ <nl> + " / / tensorflow : tensorflow_py " , <nl> + ] , <nl> + ) <nl> + <nl> + py_library ( <nl> + name = " ops " , <nl> + srcs = [ " ops . py " ] , <nl> + srcs_version = " PY2AND3 " , <nl> + deps = [ <nl> + " / / tensorflow : tensorflow_py " , <nl> + ] , <nl> + ) <nl> + <nl> + py_library ( <nl> + name = " sagan " , <nl> + srcs = [ " sagan . py " ] , <nl> + srcs_version = " PY2AND3 " , <nl> + deps = [ <nl> + " : ops " , <nl> + " / / tensorflow : tensorflow_py " , <nl> + ] , <nl> + ) <nl> + <nl> + # Tests <nl> + cuda_py_test ( <nl> + name = " ops_test " , <nl> + size = " small " , <nl> + srcs = [ " ops_test . py " ] , <nl> + additional_deps = [ <nl> + " : ops " , <nl> + " / / tensorflow : tensorflow_py " , <nl> + ] , <nl> + ) <nl> + <nl> + cuda_py_test ( <nl> + name = " sagan_test " , <nl> + size = " large " , <nl> + srcs = [ " sagan_test . py " ] , <nl> + additional_deps = [ <nl> + " : config " , <nl> + " : sagan " , <nl> + " / / tensorflow : tensorflow_py " , <nl> + ] , <nl> + tags = [ <nl> + " optonly " , <nl> + ] , <nl> + ) <nl> new file mode 100644 <nl> index 0000000000000 . . 1967bbd867447 <nl> mmm / dev / null <nl> ppp b / tensorflow / contrib / eager / python / examples / sagan / config . py <nl> <nl> + # Copyright 2018 The TensorFlow Authors . All Rights Reserved . <nl> + # <nl> + # Licensed under the Apache License , Version 2 . 0 ( the " License " ) ; <nl> + # you may not use this file except in compliance with the License . <nl> + # You may obtain a copy of the License at <nl> + # <nl> + # http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + # <nl> + # Unless required by applicable law or agreed to in writing , software <nl> + # distributed under the License is distributed on an " AS IS " BASIS , <nl> + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + # See the License for the specific language governing permissions and <nl> + # limitations under the License . <nl> + # = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + " " " Self - attention generative adversarial with eager execution . <nl> + <nl> + Configuration in format of tf . contrib . training . HParams . <nl> + Supports default 128x128 ImageNet . <nl> + <nl> + Reference [ Self - Attention Generative Adversarial <nl> + Networks ] ( https : / / arxiv . org / pdf / 1805 . 08318 . pdf ) <nl> + <nl> + " " " <nl> + <nl> + from __future__ import absolute_import <nl> + from __future__ import division <nl> + from __future__ import print_function <nl> + <nl> + import tensorflow as tf <nl> + tfe = tf . contrib . eager <nl> + <nl> + <nl> + def get_hparams_imagenet ( ) : <nl> + " " " Configurations to train SAGAN on 128x128 ImageNet dataset . " " " <nl> + config = tf . contrib . training . HParams ( ) <nl> + if tf . test . is_gpu_available ( ) : <nl> + config . add_hparam ( " image_shape " , ( 3 , 128 , 128 ) ) <nl> + config . add_hparam ( " data_format " , " channels_first " ) <nl> + config . add_hparam ( " g_init_shape " , ( 512 , 4 , 4 ) ) <nl> + else : <nl> + config . add_hparam ( " image_shape " , ( 128 , 128 , 3 ) ) <nl> + config . add_hparam ( " data_format " , " channels_first " ) <nl> + config . add_hparam ( " g_init_shape " , ( 4 , 4 , 512 ) ) <nl> + <nl> + config . add_hparam ( " latent_dim " , 128 ) <nl> + config . add_hparam ( " update_g_once_every " , 1 ) <nl> + config . add_hparam ( " batch_size " , 64 ) <nl> + config . add_hparam ( " d_init_filters " , 32 ) <nl> + config . add_hparam ( " num_upsamples " , 5 ) <nl> + # ( 512 , 4 , 4 ) - > ( 3 , 128 , 128 ) <nl> + return config <nl> + <nl> + <nl> + def get_hparams_mock ( ) : <nl> + " " " Configurations of smaller networks for testing . " " " <nl> + config = tf . contrib . training . HParams ( ) <nl> + if tf . test . is_gpu_available ( ) : <nl> + config . add_hparam ( " image_shape " , ( 3 , 16 , 16 ) ) <nl> + config . add_hparam ( " data_format " , " channels_first " ) <nl> + config . add_hparam ( " g_init_shape " , ( 32 , 2 , 2 ) ) <nl> + else : <nl> + config . add_hparam ( " image_shape " , ( 16 , 16 , 3 ) ) <nl> + config . add_hparam ( " data_format " , " channels_last " ) <nl> + config . add_hparam ( " g_init_shape " , ( 2 , 2 , 32 ) ) <nl> + <nl> + config . add_hparam ( " latent_dim " , 16 ) <nl> + config . add_hparam ( " update_g_once_every " , 1 ) <nl> + config . add_hparam ( " batch_size " , 2 ) <nl> + config . add_hparam ( " d_init_filters " , 4 ) <nl> + config . add_hparam ( " num_upsamples " , 3 ) <nl> + # ( 32 , 2 , 2 ) - > ( 3 , 16 , 16 ) <nl> + return config <nl> new file mode 100644 <nl> index 0000000000000 . . 9a03cab1d12fc <nl> mmm / dev / null <nl> ppp b / tensorflow / contrib / eager / python / examples / sagan / ops . py <nl> <nl> + # Copyright 2018 The TensorFlow Authors . All Rights Reserved . <nl> + # <nl> + # Licensed under the Apache License , Version 2 . 0 ( the " License " ) ; <nl> + # you may not use this file except in compliance with the License . <nl> + # You may obtain a copy of the License at <nl> + # <nl> + # http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + # <nl> + # Unless required by applicable law or agreed to in writing , software <nl> + # distributed under the License is distributed on an " AS IS " BASIS , <nl> + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + # See the License for the specific language governing permissions and <nl> + # limitations under the License . <nl> + # = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + " " " Self - attention generative adversarial with eager execution . <nl> + <nl> + Auxiliary operations . <nl> + <nl> + Reference [ Self - Attention Generative Adversarial <nl> + Networks ] ( https : / / arxiv . org / pdf / 1805 . 08318 . pdf ) <nl> + " " " <nl> + from __future__ import absolute_import <nl> + from __future__ import division <nl> + from __future__ import print_function <nl> + <nl> + import tensorflow as tf <nl> + <nl> + <nl> + def flatten_hw ( x , data_format = " channels_first " ) : <nl> + " " " Flatten the input tensor across height and width dimensions . " " " <nl> + if data_format = = " channels_last " : <nl> + x = tf . transpose ( x , perm = [ 0 , 3 , 1 , 2 ] ) # Convert to ` channels_first ` <nl> + <nl> + old_shape = tf . shape ( x ) <nl> + new_shape = [ old_shape [ 0 ] , old_shape [ 2 ] * old_shape [ 3 ] , old_shape [ 1 ] ] <nl> + <nl> + return tf . reshape ( x , new_shape ) <nl> + <nl> + <nl> + def broaden_hw ( x , h , w , c , data_format = " channels_first " ) : <nl> + " " " Broaden dimension so that output has height and width . " " " <nl> + if data_format = = " channels_first " : <nl> + shape = [ - 1 , c , h , w ] <nl> + else : <nl> + shape = [ - 1 , h , w , c ] <nl> + <nl> + return tf . reshape ( x , shape ) <nl> + <nl> + <nl> + class BroadenHW ( tf . keras . layers . Layer ) : <nl> + " " " Wrapper class so that ` broaden_hw ` can be used in ` tf . keras . Sequential ` . " " " <nl> + <nl> + def __init__ ( self , h , w , c , data_format = " channels_first " ) : <nl> + super ( BroadenHW , self ) . __init__ ( ) <nl> + self . h = h <nl> + self . w = w <nl> + self . c = c <nl> + self . data_format = data_format <nl> + <nl> + def call ( self , x ) : <nl> + return broaden_hw ( <nl> + x , h = self . h , w = self . w , c = self . c , data_format = self . data_format ) <nl> + <nl> + def compute_output_shape ( self , input_shape ) : <nl> + input_shape = tf . TensorShape ( input_shape ) . as_list ( ) <nl> + if self . data_format = = " channels_first " : <nl> + output_shape = ( input_shape [ 0 ] , self . c , self . h , self . w ) <nl> + else : <nl> + output_shape = ( input_shape [ 0 ] , self . h , self . w , self . c ) <nl> + <nl> + return tf . TensorShape ( output_shape ) <nl> new file mode 100644 <nl> index 0000000000000 . . 3454985904215 <nl> mmm / dev / null <nl> ppp b / tensorflow / contrib / eager / python / examples / sagan / ops_test . py <nl> <nl> + # Copyright 2018 The TensorFlow Authors . All Rights Reserved . <nl> + # <nl> + # Licensed under the Apache License , Version 2 . 0 ( the " License " ) ; <nl> + # you may not use this file except in compliance with the License . <nl> + # You may obtain a copy of the License at <nl> + # <nl> + # http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + # <nl> + # Unless required by applicable law or agreed to in writing , software <nl> + # distributed under the License is distributed on an " AS IS " BASIS , <nl> + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + # See the License for the specific language governing permissions and <nl> + # limitations under the License . <nl> + # = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + " " " Tests for auxiliary operations . " " " <nl> + <nl> + from __future__ import absolute_import <nl> + from __future__ import division <nl> + from __future__ import print_function <nl> + <nl> + import tensorflow as tf <nl> + from tensorflow . contrib . eager . python . examples . sagan import ops <nl> + <nl> + <nl> + class OpsTest ( tf . test . TestCase ) : <nl> + <nl> + def test_flatten_hw ( self ) : <nl> + " " " Test ` flatten_hw ` function with mock object . " " " <nl> + <nl> + batch_size = 1 <nl> + # Default NCHW format <nl> + if tf . test . is_gpu_available ( ) : <nl> + x = tf . random_normal ( shape = ( batch_size , 3 , 4 , 4 ) ) <nl> + y = ops . flatten_hw ( x , data_format = " channels_first " ) <nl> + self . assertEqual ( y . shape , ( batch_size , 4 * 4 , 3 ) ) <nl> + <nl> + # NHWC format <nl> + x = tf . random_normal ( shape = ( batch_size , 4 , 4 , 3 ) ) <nl> + y = ops . flatten_hw ( x , data_format = " channels_last " ) <nl> + self . assertEqual ( y . shape , ( batch_size , 4 * 4 , 3 ) ) <nl> + <nl> + def test_broaden_hw ( self ) : <nl> + " " " Test ` broaden_hw ` function with mock object . " " " <nl> + <nl> + batch_size = 1 <nl> + # NHWC format <nl> + x = tf . random_normal ( shape = [ batch_size , 4 * 4 * 16 ] ) <nl> + y = ops . broaden_hw ( x , h = 4 , w = 4 , c = 16 , data_format = " channels_last " ) <nl> + self . assertEqual ( y . shape , ( batch_size , 4 , 4 , 16 ) ) <nl> + <nl> + # Default NCHW format <nl> + if tf . test . is_gpu_available ( ) : <nl> + y = ops . broaden_hw ( x , h = 4 , w = 4 , c = 16 , data_format = " channels_first " ) <nl> + self . assertEqual ( y . shape , ( batch_size , 16 , 4 , 4 ) ) <nl> + <nl> + <nl> + if __name__ = = " __main__ " : <nl> + tf . enable_eager_execution ( ) <nl> + tf . test . main ( ) <nl> new file mode 100644 <nl> index 0000000000000 . . 561be36c911d7 <nl> mmm / dev / null <nl> ppp b / tensorflow / contrib / eager / python / examples / sagan / sagan . py <nl> <nl> + # Copyright 2018 The TensorFlow Authors . All Rights Reserved . <nl> + # <nl> + # Licensed under the Apache License , Version 2 . 0 ( the " License " ) ; <nl> + # you may not use this file except in compliance with the License . <nl> + # You may obtain a copy of the License at <nl> + # <nl> + # http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + # <nl> + # Unless required by applicable law or agreed to in writing , software <nl> + # distributed under the License is distributed on an " AS IS " BASIS , <nl> + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + # See the License for the specific language governing permissions and <nl> + # limitations under the License . <nl> + # = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + " " " Self - attention generative adversarial with eager execution . <nl> + <nl> + Code for main model . <nl> + <nl> + Reference [ Self - Attention Generative Adversarial <nl> + Networks ] ( https : / / arxiv . org / pdf / 1805 . 08318 . pdf ) <nl> + " " " <nl> + <nl> + from __future__ import absolute_import <nl> + from __future__ import division <nl> + from __future__ import print_function <nl> + <nl> + import numpy as np <nl> + import tensorflow as tf <nl> + from tensorflow . contrib . eager . python . examples . sagan import ops <nl> + tfe = tf . contrib . eager <nl> + <nl> + <nl> + class SelfAttentionModule ( tf . keras . Model ) : <nl> + " " " Self - attention module composed of convolutional layers . " " " <nl> + <nl> + def __init__ ( self , <nl> + attention_features , <nl> + original_features , <nl> + data_format = " channels_first " ) : <nl> + " " " Initialize the module . <nl> + <nl> + Args : <nl> + attention_features : Number of filters for the attention computation . <nl> + original_features : Number of filters of the original Tensor . <nl> + data_format : Either ' channels_first ' or ' channels_last ' <nl> + " " " <nl> + super ( SelfAttentionModule , self ) . __init__ ( ) <nl> + self . data_format = data_format <nl> + # Matrix multiplication implemented as 2D Convolution <nl> + self . f = tf . keras . layers . Conv2D ( <nl> + filters = attention_features , <nl> + kernel_size = 1 , <nl> + strides = ( 1 , 1 ) , <nl> + data_format = data_format ) <nl> + self . g = tf . keras . layers . Conv2D ( <nl> + filters = attention_features , <nl> + kernel_size = 1 , <nl> + strides = ( 1 , 1 ) , <nl> + data_format = data_format ) <nl> + self . h = tf . keras . layers . Conv2D ( <nl> + filters = original_features , <nl> + kernel_size = 1 , <nl> + strides = ( 1 , 1 ) , <nl> + data_format = data_format ) <nl> + self . scale = tfe . Variable ( 0 . , trainable = True ) <nl> + <nl> + def call ( self , x ) : <nl> + f = self . f ( x ) <nl> + g = self . g ( x ) <nl> + h = self . h ( x ) <nl> + <nl> + f_flatten = ops . flatten_hw ( f , data_format = self . data_format ) <nl> + g_flatten = ops . flatten_hw ( g , data_format = self . data_format ) <nl> + h_flatten = ops . flatten_hw ( h , data_format = self . data_format ) <nl> + <nl> + s = tf . matmul ( g_flatten , f_flatten , transpose_b = True ) <nl> + b = tf . nn . softmax ( s , axis = - 1 ) <nl> + o = tf . matmul ( b , h_flatten ) <nl> + y = self . scale * tf . reshape ( o , tf . shape ( x ) ) + x <nl> + <nl> + return y <nl> + <nl> + def compute_output_shape ( self , input_shape ) : <nl> + return input_shape <nl> + <nl> + <nl> + class SAGAN ( tf . contrib . checkpoint . Checkpointable ) : <nl> + " " " Self - attention generative adversarial network . " " " <nl> + <nl> + def __init__ ( self , config ) : <nl> + " " " Initialize the model . <nl> + <nl> + Args : <nl> + config : tf . contrib . training . HParams object ; specifies hyperparameters <nl> + " " " <nl> + super ( SAGAN , self ) . __init__ ( ) <nl> + self . config = config <nl> + self . generator = self . _construct_generator ( ) <nl> + self . discriminator = self . _construct_discriminator ( ) <nl> + <nl> + def _construct_generator ( self ) : <nl> + " " " Construct generator . " " " <nl> + # TODO ( lxuechen ) : Add spectral normalization for WGAN <nl> + axis = 1 if self . config . data_format = = " channels_first " else 3 <nl> + <nl> + generator = tf . keras . Sequential ( ) <nl> + generator . add ( <nl> + tf . keras . layers . InputLayer ( input_shape = ( self . config . latent_dim , ) ) ) <nl> + generator . add ( <nl> + tf . keras . layers . Dense ( <nl> + units = np . prod ( self . config . g_init_shape ) , activation = tf . nn . relu ) ) <nl> + <nl> + if self . config . data_format = = " channels_first " : <nl> + c , h , w = self . config . g_init_shape <nl> + else : <nl> + h , w , c = self . config . g_init_shape <nl> + <nl> + # Reshape to NHWC / NCHW <nl> + generator . add ( <nl> + ops . BroadenHW ( h = h , w = w , c = c , data_format = self . config . data_format ) ) <nl> + <nl> + filters_list = [ c / / 2 * * p for p in range ( 1 , self . config . num_upsamples + 1 ) ] <nl> + filters_list [ - 1 ] = 3 # Standard RGB images <nl> + <nl> + for filters in filters_list [ : len ( filters_list ) / / 2 ] : <nl> + generator . add ( <nl> + tf . keras . layers . Conv2DTranspose ( <nl> + filters = filters , <nl> + kernel_size = 4 , <nl> + strides = ( 2 , 2 ) , <nl> + use_bias = False , <nl> + padding = " SAME " , <nl> + data_format = self . config . data_format ) ) <nl> + generator . add ( tf . keras . layers . BatchNormalization ( axis = axis ) ) <nl> + generator . add ( tf . keras . layers . Activation ( " relu " ) ) <nl> + <nl> + # pylint : disable = undefined - loop - variable <nl> + generator . add ( <nl> + SelfAttentionModule ( <nl> + original_features = filters , <nl> + attention_features = filters / / 8 , <nl> + data_format = self . config . data_format ) ) <nl> + # pylint : enable = undefined - loop - variable <nl> + <nl> + for filters in filters_list [ len ( filters_list ) / / 2 : ] : <nl> + generator . add ( <nl> + tf . keras . layers . Conv2DTranspose ( <nl> + filters = filters , <nl> + kernel_size = 4 , <nl> + strides = ( 2 , 2 ) , <nl> + use_bias = False , <nl> + padding = " SAME " , <nl> + data_format = self . config . data_format ) ) <nl> + if filters = = 3 : <nl> + # Assume Image rescaled to [ - 1 , 1 ] <nl> + generator . add ( tf . keras . layers . Activation ( " tanh " ) ) <nl> + else : <nl> + generator . add ( tf . keras . layers . BatchNormalization ( axis = axis ) ) <nl> + generator . add ( tf . keras . layers . Activation ( " relu " ) ) <nl> + <nl> + return generator <nl> + <nl> + def _construct_discriminator ( self ) : <nl> + " " " Construct discriminator . " " " <nl> + # TODO ( lxuechen ) : Add spectral normalization for WGAN <nl> + discriminator = tf . keras . Sequential ( ) <nl> + discriminator . add ( <nl> + tf . keras . layers . InputLayer ( input_shape = self . config . image_shape ) ) <nl> + <nl> + filters_list = [ <nl> + self . config . d_init_filters * 2 * * p <nl> + for p in range ( self . config . num_upsamples ) <nl> + ] <nl> + <nl> + for filters in filters_list [ : ( len ( filters_list ) + 1 ) / / 2 ] : <nl> + discriminator . add ( <nl> + tf . keras . layers . Conv2D ( <nl> + filters = filters , <nl> + kernel_size = 4 , <nl> + strides = ( 2 , 2 ) , <nl> + padding = " SAME " , <nl> + data_format = self . config . data_format ) ) <nl> + discriminator . add ( tf . keras . layers . LeakyReLU ( alpha = . 1 ) ) <nl> + <nl> + # pylint : disable = undefined - loop - variable <nl> + discriminator . add ( <nl> + SelfAttentionModule ( <nl> + original_features = filters , <nl> + attention_features = filters / / 8 , <nl> + data_format = self . config . data_format ) ) <nl> + # pylint : enable = undefined - loop - variable <nl> + <nl> + for filters in filters_list [ ( len ( filters_list ) + 1 ) / / 2 : ] : <nl> + discriminator . add ( <nl> + tf . keras . layers . Conv2D ( <nl> + filters = filters , <nl> + kernel_size = 4 , <nl> + strides = ( 2 , 2 ) , <nl> + padding = " SAME " , <nl> + data_format = self . config . data_format ) ) <nl> + discriminator . add ( tf . keras . layers . LeakyReLU ( alpha = . 1 ) ) <nl> + <nl> + discriminator . add ( tf . keras . layers . Flatten ( ) ) <nl> + discriminator . add ( tf . keras . layers . Dense ( units = 1 ) ) <nl> + <nl> + return discriminator <nl> + <nl> + def compute_loss_and_grads ( self , real_images , noise , training = True ) : <nl> + " " " Compute loss and gradients for both generator and discriminator . " " " <nl> + # TODO ( lxuechen ) : Add gradient penalty for discriminator <nl> + with tf . GradientTape ( ) as g_tape , tf . GradientTape ( ) as d_tape : <nl> + real_logits = self . discriminator ( real_images , training = training ) <nl> + <nl> + fake_images = self . generator . call ( noise , training = training ) <nl> + fake_logits = self . discriminator . call ( fake_images ) <nl> + <nl> + g_loss = self . compute_g_loss ( fake_logits ) <nl> + d_loss = self . compute_d_loss ( fake_logits , real_logits ) <nl> + <nl> + g_grads = g_tape . gradient ( g_loss , self . generator . trainable_variables ) <nl> + d_grads = d_tape . gradient ( d_loss , self . discriminator . trainable_variables ) <nl> + <nl> + return g_loss , d_loss , g_grads , d_grads <nl> + <nl> + def compute_g_loss ( self , fake_logits ) : <nl> + return - tf . reduce_mean ( fake_logits ) # Hinge loss <nl> + <nl> + def compute_d_loss ( self , fake_logits , real_logits ) : <nl> + # Hinge loss <nl> + real_loss = tf . reduce_mean ( tf . nn . relu ( 1 . - real_logits ) ) <nl> + fake_loss = tf . reduce_mean ( tf . nn . relu ( 1 . + fake_logits ) ) <nl> + return real_loss + fake_loss <nl> new file mode 100644 <nl> index 0000000000000 . . 1834594510811 <nl> mmm / dev / null <nl> ppp b / tensorflow / contrib / eager / python / examples / sagan / sagan_test . py <nl> <nl> + # Copyright 2018 The TensorFlow Authors . All Rights Reserved . <nl> + # <nl> + # Licensed under the Apache License , Version 2 . 0 ( the " License " ) ; <nl> + # you may not use this file except in compliance with the License . <nl> + # You may obtain a copy of the License at <nl> + # <nl> + # http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + # <nl> + # Unless required by applicable law or agreed to in writing , software <nl> + # distributed under the License is distributed on an " AS IS " BASIS , <nl> + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + # See the License for the specific language governing permissions and <nl> + # limitations under the License . <nl> + # = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> + " " " Tests for self - attention generative adversarial network . " " " <nl> + <nl> + from __future__ import absolute_import <nl> + from __future__ import division <nl> + from __future__ import print_function <nl> + <nl> + import tensorflow as tf <nl> + from tensorflow . contrib . eager . python . examples . sagan import config as config_ <nl> + from tensorflow . contrib . eager . python . examples . sagan import sagan <nl> + tfe = tf . contrib . eager <nl> + <nl> + <nl> + class SAGANTest ( tf . test . TestCase ) : <nl> + <nl> + def setUp ( self ) : <nl> + super ( SAGANTest , self ) . setUp ( ) <nl> + config = config_ . get_hparams_mock ( ) <nl> + self . noise_shape = ( config . batch_size , config . latent_dim ) <nl> + self . logits_shape = ( config . batch_size , 1 ) <nl> + self . images_shape = ( config . batch_size , ) + config . image_shape <nl> + <nl> + self . model = sagan . SAGAN ( config = config ) <nl> + self . noise = tf . random_normal ( shape = self . noise_shape ) <nl> + self . real_images = tf . random_normal ( shape = self . images_shape ) <nl> + self . config = config <nl> + <nl> + def tearDown ( self ) : <nl> + del self . model <nl> + del self . noise <nl> + del self . real_images <nl> + super ( SAGANTest , self ) . tearDown ( ) <nl> + <nl> + def test_generator_call ( self ) : <nl> + " " " Test ` generator . __call__ ` function . " " " <nl> + fake_images = self . model . generator ( self . noise , training = False ) <nl> + self . assertEqual ( fake_images . shape , self . images_shape ) <nl> + <nl> + def test_generator_call_defun ( self ) : <nl> + " " " Test ` generator . __call__ ` function with defun . " " " <nl> + call_ = tfe . defun ( self . model . generator . __call__ ) <nl> + fake_images = call_ ( self . noise , training = False ) <nl> + self . assertEqual ( fake_images . shape , self . images_shape ) <nl> + <nl> + def test_discriminator_call ( self ) : <nl> + " " " Test ` discriminator . __call__ ` function . " " " <nl> + real_logits = self . model . discriminator ( self . real_images ) <nl> + self . assertEqual ( real_logits . shape , self . logits_shape ) <nl> + <nl> + def test_discriminator_call_defun ( self ) : <nl> + " " " Test ` discriminator . __call__ ` function with defun . " " " <nl> + call_ = tfe . defun ( self . model . discriminator . __call__ ) <nl> + real_logits = call_ ( self . real_images ) <nl> + self . assertEqual ( real_logits . shape , self . logits_shape ) <nl> + <nl> + def test_compute_loss_and_grads ( self ) : <nl> + " " " Test ` compute_loss_and_grads ` function . " " " <nl> + g_loss , d_loss , g_grads , d_grads = self . model . compute_loss_and_grads ( <nl> + self . real_images , self . noise , training = False ) <nl> + self . assertEqual ( g_loss . shape , ( ) ) <nl> + self . assertEqual ( d_loss . shape , ( ) ) <nl> + self . assertTrue ( isinstance ( g_grads , list ) ) <nl> + self . assertTrue ( isinstance ( d_grads , list ) ) <nl> + g_vars = self . model . generator . trainable_variables <nl> + d_vars = self . model . discriminator . trainable_variables <nl> + <nl> + self . assertEqual ( len ( g_grads ) , len ( g_vars ) ) <nl> + self . assertEqual ( len ( d_grads ) , len ( d_vars ) ) <nl> + <nl> + def test_compute_loss_and_grads_defun ( self ) : <nl> + " " " Test ` compute_loss_and_grads ` function with defun . " " " <nl> + compute_loss_and_grads = tfe . defun ( self . model . compute_loss_and_grads ) <nl> + g_loss , d_loss , g_grads , d_grads = compute_loss_and_grads ( <nl> + self . real_images , self . noise , training = False ) <nl> + self . assertEqual ( g_loss . shape , ( ) ) <nl> + self . assertEqual ( d_loss . shape , ( ) ) <nl> + self . assertTrue ( isinstance ( g_grads , list ) ) <nl> + self . assertTrue ( isinstance ( d_grads , list ) ) <nl> + g_vars = self . model . generator . trainable_variables <nl> + d_vars = self . model . discriminator . trainable_variables <nl> + <nl> + self . assertEqual ( len ( g_grads ) , len ( g_vars ) ) <nl> + self . assertEqual ( len ( d_grads ) , len ( d_vars ) ) <nl> + <nl> + <nl> + if __name__ = = " __main__ " : <nl> + tf . enable_eager_execution ( ) <nl> + tf . test . main ( ) <nl> | Add self - attention GAN example with TensorFlow eager execution . | tensorflow/tensorflow | f786d43494eafe5d4192e7c9f43385a2d1335595 | 2018-06-21T01:49:20Z |
mmm a / . travis . yml <nl> ppp b / . travis . yml <nl> before_install : <nl> - | <nl> mkdir ext & & cd ext <nl> if [ " $ TRAVIS_OS_NAME " = = " osx " ] ; then <nl> + DEPS = " git automake libtool boost openssl llvm @ 4 gmp wget cmake gettext " <nl> brew update <nl> - brew install boost openssl llvm @ 4 gmp gettext ninja mongodb mongo - c - driver - - with - clang <nl> - brew link gettext llvm @ 4 - - force <nl> + brew install - - force $ DEPS <nl> + brew unlink $ DEPS & & brew link - - force $ DEPS <nl> brew services start mongodb <nl> WASM_BRANCH = macos <nl> export CC = / usr / local / opt / llvm @ 4 / bin / clang <nl> | Possible fix for mac build | EOSIO/eos | 75a7ba68d436239b8a71ef42828a44ab2ba7c22a | 2017-11-16T01:57:15Z |
mmm a / drivers / javascript / ast . coffee <nl> ppp b / drivers / javascript / ast . coffee <nl> rethinkdb . exprJSON = varar 1 , 2 , ( val , nestingDepth = 20 ) - > <nl> # Is this JS value representable as JSON ? <nl> isJSON = ( val , nestingDepth = 20 ) - > <nl> if nestingDepth < = 0 <nl> - throw new RqlDriverError " Nesting depth limit exceeded " <nl> + throw new err . RqlDriverError " Nesting depth limit exceeded " <nl> <nl> if ( val instanceof TermBase ) <nl> false <nl> | Add missing " err . " in the js driver | rethinkdb/rethinkdb | 4f410bd223e9e55ee840f9201c9521c86eec19b7 | 2013-08-27T19:11:55Z |
mmm a / cmake / templates / OpenCVConfig . cmake . in <nl> ppp b / cmake / templates / OpenCVConfig . cmake . in <nl> <nl> # In your CMakeLists . txt , add these lines : <nl> # <nl> # find_package ( OpenCV REQUIRED ) <nl> - # include_directories ( $ { OpenCV_INCLUDE_DIRS } ) <nl> + # include_directories ( $ { OpenCV_INCLUDE_DIRS } ) # Not needed for CMake > = 2 . 8 . 11 <nl> # target_link_libraries ( MY_TARGET_NAME $ { OpenCV_LIBS } ) <nl> # <nl> # Or you can search for specific OpenCV modules : <nl> if ( OpenCV2_INCLUDE_DIRS ) <nl> endif ( ) <nl> endif ( ) <nl> <nl> + if ( NOT CMAKE_VERSION VERSION_LESS " 2 . 8 . 11 " ) <nl> + # Target property INTERFACE_INCLUDE_DIRECTORIES available since 2 . 8 . 11 : <nl> + # * http : / / www . cmake . org / cmake / help / v2 . 8 . 11 / cmake . html # prop_tgt : INTERFACE_INCLUDE_DIRECTORIES <nl> + foreach ( __component $ { OpenCV_LIB_COMPONENTS } ) <nl> + if ( TARGET $ { __component } ) <nl> + set_target_properties ( <nl> + $ { __component } <nl> + PROPERTIES <nl> + INTERFACE_INCLUDE_DIRECTORIES " $ { OpenCV_INCLUDE_DIRS } " <nl> + ) <nl> + endif ( ) <nl> + endforeach ( ) <nl> + endif ( ) <nl> + <nl> # = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> # Check OpenCV availability <nl> # = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> | Add OpenCV_INCLUDE_DIRS to INTERFACE_INCLUDE_DIRECTORIES target property | opencv/opencv | f30bf39bd4c9695baf73ed6245b6994cc1cf5e96 | 2015-06-17T14:03:21Z |
mmm a / tensorflow / python / kernel_tests / decode_csv_op_test . py <nl> ppp b / tensorflow / python / kernel_tests / decode_csv_op_test . py <nl> def testWrongFieldStringError ( self ) : <nl> args , <nl> expected_err_re = " Unquoted fields cannot have quotes / CRLFs inside " ) <nl> <nl> + def testWrongDefaults ( self ) : <nl> + args = { <nl> + " records " : [ " , 1 " , " 0 . 2 , 2 " , " 3 . 0adf , 3 " ] , <nl> + " record_defaults " : [ [ 1 . 0 ] ] <nl> + } <nl> + <nl> + self . _test ( args , <nl> + expected_err_re = " Expect 1 fields but have 2 in record 0 " ) <nl> + <nl> <nl> if __name__ = = " __main__ " : <nl> tf . test . main ( ) <nl> | Add tests for wrong defaults . | tensorflow/tensorflow | 8d8a0c672aa6deb0ceddcf9dbfe52d854bbe8c21 | 2016-03-09T01:15:54Z |
mmm a / Marlin / SanityCheck . h <nl> ppp b / Marlin / SanityCheck . h <nl> <nl> # error " You are using an old Configuration_adv . h file , update it before building Marlin . " <nl> # endif <nl> <nl> + / * * <nl> + * Warnings for old configurations <nl> + * / <nl> + # if WATCH_TEMP_PERIOD > 500 <nl> + # error " WATCH_TEMP_PERIOD now uses seconds instead of milliseconds . " <nl> + # elif DISABLED ( THERMAL_PROTECTION_HOTENDS ) & & ( defined ( WATCH_TEMP_PERIOD ) | | defined ( THERMAL_PROTECTION_PERIOD ) ) <nl> + # error " Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS . " <nl> + # elif DISABLED ( THERMAL_PROTECTION_BED ) & & defined ( THERMAL_PROTECTION_BED_PERIOD ) <nl> + # error " Thermal Runaway Protection for the bed is now enabled with THERMAL_PROTECTION_BED . " <nl> + # elif ENABLED ( COREXZ ) & & ENABLED ( Z_LATE_ENABLE ) <nl> + # error " Z_LATE_ENABLE can ' t be used with COREXZ . " <nl> + # elif defined ( X_HOME_RETRACT_MM ) <nl> + # error " [ XYZ ] _HOME_RETRACT_MM settings have been renamed [ XYZ ] _HOME_BUMP_MM . " <nl> + # elif defined ( BEEPER ) <nl> + # error " BEEPER is now BEEPER_PIN . Please update your pins definitions . " <nl> + # elif defined ( SDCARDDETECT ) <nl> + # error " SDCARDDETECT is now SD_DETECT_PIN . Please update your pins definitions . " <nl> + # elif defined ( SDCARDDETECTINVERTED ) <nl> + # error " SDCARDDETECTINVERTED is now SD_DETECT_INVERTED . Please update your configuration . " <nl> + # elif defined ( BTENABLED ) <nl> + # error " BTENABLED is now BLUETOOTH . Please update your configuration . " <nl> + # elif defined ( CUSTOM_MENDEL_NAME ) <nl> + # error " CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME . Please update your configuration . " <nl> + # elif defined ( HAS_AUTOMATIC_VERSIONING ) <nl> + # error " HAS_AUTOMATIC_VERSIONING is now USE_AUTOMATIC_VERSIONING . Please update your configuration . " <nl> + # elif defined ( ENABLE_AUTO_BED_LEVELING ) <nl> + # error " ENABLE_AUTO_BED_LEVELING is now AUTO_BED_LEVELING_FEATURE . Please update your configuration . " <nl> + # elif defined ( SDSLOW ) <nl> + # error " SDSLOW deprecated . Set SPI_SPEED to SPI_HALF_SPEED instead . " <nl> + # elif defined ( SDEXTRASLOW ) <nl> + # error " SDEXTRASLOW deprecated . Set SPI_SPEED to SPI_QUARTER_SPEED instead . " <nl> + # elif defined ( FILAMENT_SENSOR ) <nl> + # error " FILAMENT_SENSOR is deprecated . Use FILAMENT_WIDTH_SENSOR instead . " <nl> + # elif defined ( DISABLE_MAX_ENDSTOPS ) | | defined ( DISABLE_MIN_ENDSTOPS ) <nl> + # error " DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated . Use individual USE_ * _PLUG options instead . " <nl> + # elif ENABLED ( Z_DUAL_ENDSTOPS ) & & ! defined ( Z2_USE_ENDSTOP ) <nl> + # error " Z_DUAL_ENDSTOPS settings are simplified . Just set Z2_USE_ENDSTOP to the endstop you want to repurpose for Z2 " <nl> + # elif defined ( LANGUAGE_INCLUDE ) <nl> + # error " LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE . Please update your configuration . " <nl> + # elif defined ( EXTRUDER_OFFSET_X ) | | defined ( EXTRUDER_OFFSET_Y ) <nl> + # error " EXTRUDER_OFFSET_ [ XY ] is deprecated . Use HOTEND_OFFSET_ [ XY ] instead . " <nl> + # elif defined ( PID_PARAMS_PER_EXTRUDER ) <nl> + # error " PID_PARAMS_PER_EXTRUDER is deprecated . Use PID_PARAMS_PER_HOTEND instead . " <nl> + # elif defined ( EXTRUDER_WATTS ) | | defined ( BED_WATTS ) <nl> + # error " EXTRUDER_WATTS and BED_WATTS are deprecated . Remove them from your configuration . " <nl> + # elif defined ( SERVO_ENDSTOP_ANGLES ) <nl> + # error " SERVO_ENDSTOP_ANGLES is deprecated . Use Z_SERVO_ANGLES instead . " <nl> + # elif defined ( X_ENDSTOP_SERVO_NR ) | | defined ( Y_ENDSTOP_SERVO_NR ) <nl> + # error " X_ENDSTOP_SERVO_NR and Y_ENDSTOP_SERVO_NR are deprecated and should be removed . " <nl> + # elif defined ( XY_TRAVEL_SPEED ) <nl> + # error " XY_TRAVEL_SPEED is deprecated . Use XY_PROBE_SPEED instead . " <nl> + # elif defined ( PROBE_SERVO_DEACTIVATION_DELAY ) <nl> + # error " PROBE_SERVO_DEACTIVATION_DELAY is deprecated . Use DEACTIVATE_SERVOS_AFTER_MOVE instead . " <nl> + # elif defined ( SERVO_DEACTIVATION_DELAY ) <nl> + # error " SERVO_DEACTIVATION_DELAY is deprecated . Use SERVO_DELAY instead . " <nl> + # elif ENABLED ( FILAMENTCHANGEENABLE ) <nl> + # error " FILAMENTCHANGEENABLE is now FILAMENT_CHANGE_FEATURE . Please update your configuration . " <nl> + # elif defined ( PLA_PREHEAT_HOTEND_TEMP ) <nl> + # error " PLA_PREHEAT_HOTEND_TEMP is now PREHEAT_1_TEMP_HOTEND . Please update your configuration . " <nl> + # elif defined ( PLA_PREHEAT_HPB_TEMP ) <nl> + # error " PLA_PREHEAT_HPB_TEMP is now PREHEAT_1_TEMP_BED . Please update your configuration . " <nl> + # elif defined ( PLA_PREHEAT_FAN_SPEED ) <nl> + # error " PLA_PREHEAT_FAN_SPEED is now PREHEAT_1_FAN_SPEED . Please update your configuration . " <nl> + # elif defined ( ABS_PREHEAT_HOTEND_TEMP ) <nl> + # error " ABS_PREHEAT_HOTEND_TEMP is now PREHEAT_2_TEMP_HOTEND . Please update your configuration . " <nl> + # elif defined ( ABS_PREHEAT_HPB_TEMP ) <nl> + # error " ABS_PREHEAT_HPB_TEMP is now PREHEAT_2_TEMP_BED . Please update your configuration . " <nl> + # elif defined ( ABS_PREHEAT_FAN_SPEED ) <nl> + # error " ABS_PREHEAT_FAN_SPEED is now PREHEAT_2_FAN_SPEED . Please update your configuration . " <nl> + # elif defined ( ENDSTOPS_ONLY_FOR_HOMING ) <nl> + # error " ENDSTOPS_ONLY_FOR_HOMING is deprecated . Use ( disable ) ENDSTOPS_ALWAYS_ON_DEFAULT instead . " <nl> + # elif defined ( HOMING_FEEDRATE ) <nl> + # error " HOMING_FEEDRATE is deprecated . Set individual rates with HOMING_FEEDRATE_ ( XY | Z | E ) instead . " <nl> + # elif defined ( MANUAL_HOME_POSITIONS ) <nl> + # error " MANUAL_HOME_POSITIONS is deprecated . Set MANUAL_ [ XYZ ] _HOME_POS as - needed instead . " <nl> + # elif defined ( PID_ADD_EXTRUSION_RATE ) <nl> + # error " PID_ADD_EXTRUSION_RATE is now PID_EXTRUSION_SCALING and is DISABLED by default . Are you sure you want to use this option ? Please update your configuration . " <nl> + # elif defined ( Z_RAISE_BEFORE_HOMING ) <nl> + # error " Z_RAISE_BEFORE_HOMING is now Z_HOMING_HEIGHT . Please update your configuration . " <nl> + # elif defined ( MIN_Z_HEIGHT_FOR_HOMING ) <nl> + # error " MIN_Z_HEIGHT_FOR_HOMING is now Z_HOMING_HEIGHT . Please update your configuration . " <nl> + # elif defined ( Z_RAISE_BEFORE_PROBING ) | | defined ( Z_RAISE_AFTER_PROBING ) <nl> + # error " Z_RAISE_ ( BEFORE | AFTER ) _PROBING are deprecated . Use Z_PROBE_DEPLOY_HEIGHT instead . " <nl> + # elif defined ( Z_RAISE_PROBE_DEPLOY_STOW ) | | defined ( Z_RAISE_BETWEEN_PROBINGS ) <nl> + # error " Z_RAISE_PROBE_DEPLOY_STOW and Z_RAISE_BETWEEN_PROBINGS are now Z_PROBE_DEPLOY_HEIGHT and Z_PROBE_TRAVEL_HEIGHT Please update your configuration . " <nl> + # endif <nl> + <nl> / * * <nl> * Marlin release , version and default string <nl> * / <nl> <nl> # if ENABLED ( EMERGENCY_PARSER ) & & ENABLED ( USBCON ) <nl> # error " EMERGENCY_PARSER does not work on boards with AT90USB processors ( USBCON ) . " <nl> # endif <nl> - <nl> - / * * <nl> - * Warnings for old configurations <nl> - * / <nl> - # if WATCH_TEMP_PERIOD > 500 <nl> - # error " WATCH_TEMP_PERIOD now uses seconds instead of milliseconds . " <nl> - # elif DISABLED ( THERMAL_PROTECTION_HOTENDS ) & & ( defined ( WATCH_TEMP_PERIOD ) | | defined ( THERMAL_PROTECTION_PERIOD ) ) <nl> - # error " Thermal Runaway Protection for hotends is now enabled with THERMAL_PROTECTION_HOTENDS . " <nl> - # elif DISABLED ( THERMAL_PROTECTION_BED ) & & defined ( THERMAL_PROTECTION_BED_PERIOD ) <nl> - # error " Thermal Runaway Protection for the bed is now enabled with THERMAL_PROTECTION_BED . " <nl> - # elif ENABLED ( COREXZ ) & & ENABLED ( Z_LATE_ENABLE ) <nl> - # error " Z_LATE_ENABLE can ' t be used with COREXZ . " <nl> - # elif defined ( X_HOME_RETRACT_MM ) <nl> - # error " [ XYZ ] _HOME_RETRACT_MM settings have been renamed [ XYZ ] _HOME_BUMP_MM . " <nl> - # elif defined ( BEEPER ) <nl> - # error " BEEPER is now BEEPER_PIN . Please update your pins definitions . " <nl> - # elif defined ( SDCARDDETECT ) <nl> - # error " SDCARDDETECT is now SD_DETECT_PIN . Please update your pins definitions . " <nl> - # elif defined ( SDCARDDETECTINVERTED ) <nl> - # error " SDCARDDETECTINVERTED is now SD_DETECT_INVERTED . Please update your configuration . " <nl> - # elif defined ( BTENABLED ) <nl> - # error " BTENABLED is now BLUETOOTH . Please update your configuration . " <nl> - # elif defined ( CUSTOM_MENDEL_NAME ) <nl> - # error " CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME . Please update your configuration . " <nl> - # elif defined ( HAS_AUTOMATIC_VERSIONING ) <nl> - # error " HAS_AUTOMATIC_VERSIONING is now USE_AUTOMATIC_VERSIONING . Please update your configuration . " <nl> - # elif defined ( ENABLE_AUTO_BED_LEVELING ) <nl> - # error " ENABLE_AUTO_BED_LEVELING is now AUTO_BED_LEVELING_FEATURE . Please update your configuration . " <nl> - # elif defined ( SDSLOW ) <nl> - # error " SDSLOW deprecated . Set SPI_SPEED to SPI_HALF_SPEED instead . " <nl> - # elif defined ( SDEXTRASLOW ) <nl> - # error " SDEXTRASLOW deprecated . Set SPI_SPEED to SPI_QUARTER_SPEED instead . " <nl> - # elif defined ( FILAMENT_SENSOR ) <nl> - # error " FILAMENT_SENSOR is deprecated . Use FILAMENT_WIDTH_SENSOR instead . " <nl> - # elif defined ( DISABLE_MAX_ENDSTOPS ) | | defined ( DISABLE_MIN_ENDSTOPS ) <nl> - # error " DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated . Use individual USE_ * _PLUG options instead . " <nl> - # elif ENABLED ( Z_DUAL_ENDSTOPS ) & & ! defined ( Z2_USE_ENDSTOP ) <nl> - # error " Z_DUAL_ENDSTOPS settings are simplified . Just set Z2_USE_ENDSTOP to the endstop you want to repurpose for Z2 " <nl> - # elif defined ( LANGUAGE_INCLUDE ) <nl> - # error " LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE . Please update your configuration . " <nl> - # elif defined ( EXTRUDER_OFFSET_X ) | | defined ( EXTRUDER_OFFSET_Y ) <nl> - # error " EXTRUDER_OFFSET_ [ XY ] is deprecated . Use HOTEND_OFFSET_ [ XY ] instead . " <nl> - # elif defined ( PID_PARAMS_PER_EXTRUDER ) <nl> - # error " PID_PARAMS_PER_EXTRUDER is deprecated . Use PID_PARAMS_PER_HOTEND instead . " <nl> - # elif defined ( EXTRUDER_WATTS ) | | defined ( BED_WATTS ) <nl> - # error " EXTRUDER_WATTS and BED_WATTS are deprecated . Remove them from your configuration . " <nl> - # elif defined ( SERVO_ENDSTOP_ANGLES ) <nl> - # error " SERVO_ENDSTOP_ANGLES is deprecated . Use Z_SERVO_ANGLES instead . " <nl> - # elif defined ( X_ENDSTOP_SERVO_NR ) | | defined ( Y_ENDSTOP_SERVO_NR ) <nl> - # error " X_ENDSTOP_SERVO_NR and Y_ENDSTOP_SERVO_NR are deprecated and should be removed . " <nl> - # elif defined ( XY_TRAVEL_SPEED ) <nl> - # error " XY_TRAVEL_SPEED is deprecated . Use XY_PROBE_SPEED instead . " <nl> - # elif defined ( PROBE_SERVO_DEACTIVATION_DELAY ) <nl> - # error " PROBE_SERVO_DEACTIVATION_DELAY is deprecated . Use DEACTIVATE_SERVOS_AFTER_MOVE instead . " <nl> - # elif defined ( SERVO_DEACTIVATION_DELAY ) <nl> - # error " SERVO_DEACTIVATION_DELAY is deprecated . Use SERVO_DELAY instead . " <nl> - # elif ENABLED ( FILAMENTCHANGEENABLE ) <nl> - # error " FILAMENTCHANGEENABLE is now FILAMENT_CHANGE_FEATURE . Please update your configuration . " <nl> - # elif defined ( PLA_PREHEAT_HOTEND_TEMP ) <nl> - # error " PLA_PREHEAT_HOTEND_TEMP is now PREHEAT_1_TEMP_HOTEND . Please update your configuration . " <nl> - # elif defined ( PLA_PREHEAT_HPB_TEMP ) <nl> - # error " PLA_PREHEAT_HPB_TEMP is now PREHEAT_1_TEMP_BED . Please update your configuration . " <nl> - # elif defined ( PLA_PREHEAT_FAN_SPEED ) <nl> - # error " PLA_PREHEAT_FAN_SPEED is now PREHEAT_1_FAN_SPEED . Please update your configuration . " <nl> - # elif defined ( ABS_PREHEAT_HOTEND_TEMP ) <nl> - # error " ABS_PREHEAT_HOTEND_TEMP is now PREHEAT_2_TEMP_HOTEND . Please update your configuration . " <nl> - # elif defined ( ABS_PREHEAT_HPB_TEMP ) <nl> - # error " ABS_PREHEAT_HPB_TEMP is now PREHEAT_2_TEMP_BED . Please update your configuration . " <nl> - # elif defined ( ABS_PREHEAT_FAN_SPEED ) <nl> - # error " ABS_PREHEAT_FAN_SPEED is now PREHEAT_2_FAN_SPEED . Please update your configuration . " <nl> - # elif defined ( ENDSTOPS_ONLY_FOR_HOMING ) <nl> - # error " ENDSTOPS_ONLY_FOR_HOMING is deprecated . Use ( disable ) ENDSTOPS_ALWAYS_ON_DEFAULT instead . " <nl> - # elif defined ( HOMING_FEEDRATE ) <nl> - # error " HOMING_FEEDRATE is deprecated . Set individual rates with HOMING_FEEDRATE_ ( XY | Z | E ) instead . " <nl> - # elif defined ( MANUAL_HOME_POSITIONS ) <nl> - # error " MANUAL_HOME_POSITIONS is deprecated . Set MANUAL_ [ XYZ ] _HOME_POS as - needed instead . " <nl> - # elif defined ( PID_ADD_EXTRUSION_RATE ) <nl> - # error " PID_ADD_EXTRUSION_RATE is now PID_EXTRUSION_SCALING and is DISABLED by default . Are you sure you want to use this option ? Please update your configuration . " <nl> - # elif defined ( Z_RAISE_BEFORE_HOMING ) <nl> - # error " Z_RAISE_BEFORE_HOMING is now Z_HOMING_HEIGHT . Please update your configuration . " <nl> - # elif defined ( MIN_Z_HEIGHT_FOR_HOMING ) <nl> - # error " MIN_Z_HEIGHT_FOR_HOMING is now Z_HOMING_HEIGHT . Please update your configuration . " <nl> - # elif defined ( Z_RAISE_BEFORE_PROBING ) | | defined ( Z_RAISE_AFTER_PROBING ) <nl> - # error " Z_RAISE_ ( BEFORE | AFTER ) _PROBING are deprecated . Use Z_PROBE_DEPLOY_HEIGHT instead . " <nl> - # elif defined ( Z_RAISE_PROBE_DEPLOY_STOW ) | | defined ( Z_RAISE_BETWEEN_PROBINGS ) <nl> - # error " Z_RAISE_PROBE_DEPLOY_STOW and Z_RAISE_BETWEEN_PROBINGS are now Z_PROBE_DEPLOY_HEIGHT and Z_PROBE_TRAVEL_HEIGHT Please update your configuration . " <nl> - # endif <nl> | Move tests for old symbols to the top of sanity check | MarlinFirmware/Marlin | d7b882e430ae3177c55f5843aac1764b56c86a5b | 2016-08-05T04:03:55Z |
mmm a / folly / AtomicHashArray . h <nl> ppp b / folly / AtomicHashArray . h <nl> class AtomicHashArray : boost : : noncopyable { <nl> uint32_t entryCountThreadCacheSize ; <nl> size_t capacity ; / / if positive , overrides maxLoadFactor <nl> <nl> - public : <nl> / / Cannot have constexpr ctor because some compilers rightly complain . <nl> Config ( ) : emptyKey ( ( KeyT ) - 1 ) , <nl> lockedKey ( ( KeyT ) - 2 ) , <nl> mmm a / folly / FBString . h <nl> ppp b / folly / FBString . h <nl> enum class AcquireMallocatedString { } ; <nl> <nl> template < class Char > <nl> class fbstring_core_model { <nl> - public : <nl> + public : <nl> fbstring_core_model ( ) ; <nl> fbstring_core_model ( const fbstring_core_model & ) ; <nl> ~ fbstring_core_model ( ) ; <nl> class fbstring_core_model { <nl> / / the string without reallocation . For reference - counted strings , <nl> / / it should fork the data even if minCapacity < size ( ) . <nl> void reserve ( size_t minCapacity ) ; <nl> - private : <nl> + private : <nl> / / Do not implement <nl> fbstring_core_model & operator = ( const fbstring_core_model & ) ; <nl> } ; <nl> class fbstring_core_model { <nl> * to extract capacity / category . <nl> * / <nl> template < class Char > class fbstring_core { <nl> - protected : <nl> + protected : <nl> / / It ' s MSVC , so we just have to guess . . . and allow an override <nl> # ifdef _MSC_VER <nl> # ifdef FOLLY_ENDIAN_BE <nl> template < class Char > class fbstring_core { <nl> static constexpr auto kIsLittleEndian = <nl> __BYTE_ORDER__ = = __ORDER_LITTLE_ENDIAN__ ; <nl> # endif <nl> - public : <nl> + public : <nl> fbstring_core ( ) noexcept { reset ( ) ; } <nl> <nl> fbstring_core ( const fbstring_core & rhs ) { <nl> template < class Char > class fbstring_core { <nl> return category ( ) = = Category : : isLarge & & RefCounted : : refs ( ml_ . data_ ) > 1 ; <nl> } <nl> <nl> - private : <nl> + private : <nl> / / Disabled <nl> fbstring_core & operator = ( const fbstring_core & rhs ) ; <nl> <nl> inline void fbstring_core < Char > : : shrinkLarge ( const size_t delta ) { <nl> * / <nl> template < class Char > <nl> class dummy_fbstring_core { <nl> - public : <nl> + public : <nl> dummy_fbstring_core ( ) { <nl> } <nl> dummy_fbstring_core ( const dummy_fbstring_core & another ) <nl> class dummy_fbstring_core { <nl> backend_ . reserve ( minCapacity ) ; <nl> } <nl> <nl> - private : <nl> + private : <nl> std : : basic_string < Char > backend_ ; <nl> } ; <nl> # endif / / ! _LIBSTDCXX_FBSTRING <nl> class basic_fbstring { <nl> static constexpr size_type npos = size_type ( - 1 ) ; <nl> typedef std : : true_type IsRelocatable ; <nl> <nl> - private : <nl> + private : <nl> static void procrustes ( size_type & n , size_type nmax ) { <nl> if ( n > nmax ) { <nl> n = nmax ; <nl> class basic_fbstring { <nl> <nl> static size_type traitsLength ( const value_type * s ) ; <nl> <nl> - public : <nl> + public : <nl> / / C + + 11 21 . 4 . 2 construct / copy / destroy <nl> <nl> / / Note : while the following two constructors can be ( and previously were ) <nl> class basic_fbstring { <nl> } <nl> # endif <nl> <nl> - private : <nl> - iterator <nl> - insertImplDiscr ( const_iterator i , size_type n , value_type c , std : : true_type ) ; <nl> - <nl> - template < class InputIter > <nl> - iterator <nl> - insertImplDiscr ( const_iterator i , InputIter b , InputIter e , std : : false_type ) ; <nl> - <nl> - template < class FwdIterator > <nl> - iterator insertImpl ( <nl> - const_iterator i , <nl> - FwdIterator s1 , <nl> - FwdIterator s2 , <nl> - std : : forward_iterator_tag ) ; <nl> - <nl> - template < class InputIterator > <nl> - iterator insertImpl ( <nl> - const_iterator i , <nl> - InputIterator b , <nl> - InputIterator e , <nl> - std : : input_iterator_tag ) ; <nl> - <nl> - public : <nl> + private : <nl> + iterator <nl> + insertImplDiscr ( const_iterator i , size_type n , value_type c , std : : true_type ) ; <nl> + <nl> + template < class InputIter > <nl> + iterator <nl> + insertImplDiscr ( const_iterator i , InputIter b , InputIter e , std : : false_type ) ; <nl> + <nl> + template < class FwdIterator > <nl> + iterator insertImpl ( <nl> + const_iterator i , <nl> + FwdIterator s1 , <nl> + FwdIterator s2 , <nl> + std : : forward_iterator_tag ) ; <nl> + <nl> + template < class InputIterator > <nl> + iterator insertImpl ( <nl> + const_iterator i , <nl> + InputIterator b , <nl> + InputIterator e , <nl> + std : : input_iterator_tag ) ; <nl> + <nl> + public : <nl> template < class ItOrLength , class ItOrChar > <nl> iterator insert ( const_iterator p , ItOrLength first_or_n , ItOrChar last_or_c ) { <nl> using Sel = std : : integral_constant < <nl> class basic_fbstring { <nl> return replace ( i1 , i2 , s , traitsLength ( s ) ) ; <nl> } <nl> <nl> - private : <nl> - basic_fbstring & replaceImplDiscr ( <nl> - iterator i1 , <nl> - iterator i2 , <nl> - const value_type * s , <nl> - size_type n , <nl> - std : : integral_constant < int , 2 > ) ; <nl> - <nl> - basic_fbstring & replaceImplDiscr ( <nl> - iterator i1 , <nl> - iterator i2 , <nl> - size_type n2 , <nl> - value_type c , <nl> - std : : integral_constant < int , 1 > ) ; <nl> - <nl> - template < class InputIter > <nl> - basic_fbstring & replaceImplDiscr ( <nl> - iterator i1 , <nl> - iterator i2 , <nl> - InputIter b , <nl> - InputIter e , <nl> - std : : integral_constant < int , 0 > ) ; <nl> - <nl> - private : <nl> - template < class FwdIterator > <nl> - bool replaceAliased ( iterator / * i1 * / , <nl> - iterator / * i2 * / , <nl> - FwdIterator / * s1 * / , <nl> - FwdIterator / * s2 * / , <nl> - std : : false_type ) { <nl> + private : <nl> + basic_fbstring & replaceImplDiscr ( <nl> + iterator i1 , <nl> + iterator i2 , <nl> + const value_type * s , <nl> + size_type n , <nl> + std : : integral_constant < int , 2 > ) ; <nl> + <nl> + basic_fbstring & replaceImplDiscr ( <nl> + iterator i1 , <nl> + iterator i2 , <nl> + size_type n2 , <nl> + value_type c , <nl> + std : : integral_constant < int , 1 > ) ; <nl> + <nl> + template < class InputIter > <nl> + basic_fbstring & replaceImplDiscr ( <nl> + iterator i1 , <nl> + iterator i2 , <nl> + InputIter b , <nl> + InputIter e , <nl> + std : : integral_constant < int , 0 > ) ; <nl> + <nl> + private : <nl> + template < class FwdIterator > <nl> + bool replaceAliased ( <nl> + iterator / * i1 * / , <nl> + iterator / * i2 * / , <nl> + FwdIterator / * s1 * / , <nl> + FwdIterator / * s2 * / , <nl> + std : : false_type ) { <nl> return false ; <nl> } <nl> <nl> class basic_fbstring { <nl> return r ! = 0 ? r : n1 > n2 ? 1 : n1 < n2 ? - 1 : 0 ; <nl> } <nl> <nl> - private : <nl> + private : <nl> / / Data <nl> Storage store_ ; <nl> } ; <nl> mmm a / folly / FBVector . h <nl> ppp b / folly / FBVector . h <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / implementation <nl> - private : <nl> - <nl> + private : <nl> typedef std : : allocator_traits < Allocator > A ; <nl> <nl> struct Impl : public Allocator { <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / types and constants <nl> - public : <nl> - <nl> + public : <nl> typedef T value_type ; <nl> typedef value_type & reference ; <nl> typedef const value_type & const_reference ; <nl> class fbvector { <nl> typedef std : : reverse_iterator < iterator > reverse_iterator ; <nl> typedef std : : reverse_iterator < const_iterator > const_reverse_iterator ; <nl> <nl> - private : <nl> - <nl> + private : <nl> typedef std : : integral_constant < bool , <nl> IsTriviallyCopyable < T > : : value & & <nl> sizeof ( T ) < = 16 / / don ' t force large structures to be passed by value <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / allocator helpers <nl> - private : <nl> - <nl> + private : <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / allocate <nl> <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / algorithmic helpers <nl> - private : <nl> - <nl> + private : <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / destroy_range <nl> <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / relocation helpers <nl> - private : <nl> - <nl> + private : <nl> / / Relocation is divided into three parts : <nl> / / <nl> / / 1 : relocate_move <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / construct / copy / destroy <nl> - public : <nl> - <nl> + public : <nl> fbvector ( ) = default ; <nl> <nl> explicit fbvector ( const Allocator & a ) : impl_ ( a ) { } <nl> class fbvector { <nl> return impl_ ; <nl> } <nl> <nl> - private : <nl> - <nl> + private : <nl> / / contract dispatch for iterator types fbvector ( It first , It last ) <nl> template < class ForwardIterator > <nl> fbvector ( ForwardIterator first , ForwardIterator last , <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / iterators <nl> - public : <nl> - <nl> + public : <nl> iterator begin ( ) noexcept { <nl> return impl_ . b_ ; <nl> } <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / capacity <nl> - public : <nl> - <nl> + public : <nl> size_type size ( ) const noexcept { <nl> return size_type ( impl_ . e_ - impl_ . b_ ) ; <nl> } <nl> class fbvector { <nl> } <nl> } <nl> <nl> - private : <nl> - <nl> + private : <nl> bool reserve_in_place ( size_type n ) { <nl> if ( ! usingStdAllocator : : value | | ! usingJEMalloc ( ) ) return false ; <nl> <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / element access <nl> - public : <nl> - <nl> + public : <nl> reference operator [ ] ( size_type n ) { <nl> assert ( n < size ( ) ) ; <nl> return impl_ . b_ [ n ] ; <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / data access <nl> - public : <nl> - <nl> + public : <nl> T * data ( ) noexcept { <nl> return impl_ . b_ ; <nl> } <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / modifiers ( common ) <nl> - public : <nl> - <nl> + public : <nl> template < class . . . Args > <nl> void emplace_back ( Args & & . . . args ) { <nl> if ( impl_ . e_ ! = impl_ . z_ ) { <nl> class fbvector { <nl> M_destroy_range_e ( impl_ . b_ ) ; <nl> } <nl> <nl> - private : <nl> - <nl> + private : <nl> / / std : : vector implements a similar function with a different growth <nl> / / strategy : empty ( ) ? 1 : capacity ( ) * 2 . <nl> / / <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / modifiers ( erase ) <nl> - public : <nl> - <nl> + public : <nl> iterator erase ( const_iterator position ) { <nl> return erase ( position , position + 1 ) ; <nl> } <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / modifiers ( insert ) <nl> - private : / / we have the private section first because it defines some macros <nl> - <nl> + private : / / we have the private section first because it defines some macros <nl> bool isValid ( const_iterator it ) { <nl> return cbegin ( ) < = it & & it < = cend ( ) ; <nl> } <nl> class fbvector { <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / insert dispatch for iterator types <nl> - private : <nl> - <nl> + private : <nl> template < class FIt > <nl> iterator insert ( const_iterator cpos , FIt first , FIt last , <nl> std : : forward_iterator_tag ) { <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / lexicographical functions <nl> - public : <nl> - <nl> + public : <nl> bool operator = = ( const fbvector & other ) const { <nl> return size ( ) = = other . size ( ) & & std : : equal ( begin ( ) , end ( ) , other . begin ( ) ) ; <nl> } <nl> class fbvector { <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <nl> / / friends <nl> - private : <nl> - <nl> + private : <nl> template < class _T , class _A > <nl> friend _T * relinquish ( fbvector < _T , _A > & ) ; <nl> <nl> mmm a / folly / Foreach . h <nl> ppp b / folly / Foreach . h <nl> class HasLess { <nl> struct BiggerThanChar { char unused [ 2 ] ; } ; <nl> template < typename C , typename D > static char test ( decltype ( C ( ) < D ( ) ) * ) ; <nl> template < typename , typename > static BiggerThanChar test ( . . . ) ; <nl> - public : <nl> + <nl> + public : <nl> enum { value = sizeof ( test < T , U > ( 0 ) ) = = 1 } ; <nl> } ; <nl> <nl> mmm a / folly / Hash . h <nl> ppp b / folly / Hash . h <nl> namespace std { <nl> / / items in the pair . <nl> template < typename T1 , typename T2 > <nl> struct hash < std : : pair < T1 , T2 > > { <nl> - public : <nl> + public : <nl> size_t operator ( ) ( const std : : pair < T1 , T2 > & x ) const { <nl> return folly : : hash : : hash_combine ( x . first , x . second ) ; <nl> } <nl> mmm a / folly / Lazy . h <nl> ppp b / folly / Lazy . h <nl> struct Lazy { <nl> return * value_ ; <nl> } <nl> <nl> - private : <nl> + private : <nl> Optional < result_type > value_ ; <nl> Func func_ ; <nl> } ; <nl> mmm a / folly / Memory . h <nl> ppp b / folly / Memory . h <nl> class allocator_delete <nl> { <nl> typedef typename std : : remove_reference < Allocator > : : type allocator_type ; <nl> <nl> - public : <nl> + public : <nl> typedef typename Allocator : : pointer pointer ; <nl> <nl> allocator_delete ( ) = default ; <nl> class is_simple_allocator { <nl> typedef typename std : : remove_reference < T > : : type value_type ; <nl> typedef value_type * pointer ; <nl> <nl> - public : <nl> + public : <nl> constexpr static bool value = ! has_destroy < allocator , void ( pointer ) > : : value <nl> & & ! has_destroy < allocator , void ( void * ) > : : value ; <nl> } ; <nl> template < class T > struct IsArenaAllocator : std : : false_type { } ; <nl> * / <nl> template < typename T > <nl> class enable_shared_from_this : public std : : enable_shared_from_this < T > { <nl> - public : <nl> + public : <nl> constexpr enable_shared_from_this ( ) noexcept = default ; <nl> <nl> std : : weak_ptr < T > weak_from_this ( ) noexcept { <nl> class enable_shared_from_this : public std : : enable_shared_from_this < T > { <nl> return weak_from_this_ < T > ( this ) ; <nl> } <nl> <nl> - private : <nl> + private : <nl> / / Uses SFINAE to detect and call <nl> / / std : : enable_shared_from_this < T > : : weak_from_this ( ) if available . Falls <nl> / / back to std : : enable_shared_from_this < T > : : shared_from_this ( ) otherwise . <nl> mmm a / folly / PackedSyncPtr . h <nl> ppp b / folly / PackedSyncPtr . h <nl> class PackedSyncPtr { <nl> / / still properly result in a compile error . <nl> typedef typename std : : add_lvalue_reference < T > : : type reference ; <nl> <nl> - public : <nl> + public : <nl> / * <nl> * If you default construct one of these , you must call this init ( ) <nl> * function before using it . <nl> mmm a / folly / ProducerConsumerQueue . h <nl> ppp b / folly / ProducerConsumerQueue . h <nl> struct ProducerConsumerQueue { <nl> return ret ; <nl> } <nl> <nl> - private : <nl> - char pad0_ [ CacheLocality : : kFalseSharingRange ] ; <nl> - const uint32_t size_ ; <nl> - T * const records_ ; <nl> + private : <nl> + char pad0_ [ CacheLocality : : kFalseSharingRange ] ; <nl> + const uint32_t size_ ; <nl> + T * const records_ ; <nl> <nl> - FOLLY_ALIGN_TO_AVOID_FALSE_SHARING std : : atomic < unsigned int > readIndex_ ; <nl> - FOLLY_ALIGN_TO_AVOID_FALSE_SHARING std : : atomic < unsigned int > writeIndex_ ; <nl> + FOLLY_ALIGN_TO_AVOID_FALSE_SHARING std : : atomic < unsigned int > readIndex_ ; <nl> + FOLLY_ALIGN_TO_AVOID_FALSE_SHARING std : : atomic < unsigned int > writeIndex_ ; <nl> <nl> - char pad1_ [ CacheLocality : : kFalseSharingRange - sizeof ( writeIndex_ ) ] ; <nl> + char pad1_ [ CacheLocality : : kFalseSharingRange - sizeof ( writeIndex_ ) ] ; <nl> } ; <nl> <nl> } <nl> mmm a / folly / Range . h <nl> ppp b / folly / Range . h <nl> struct IsCharPointer < const char * > { <nl> * / <nl> template < class Iter > <nl> class Range : private boost : : totally_ordered < Range < Iter > > { <nl> - public : <nl> + public : <nl> typedef std : : size_t size_type ; <nl> typedef Iter iterator ; <nl> typedef Iter const_iterator ; <nl> class Range : private boost : : totally_ordered < Range < Iter > > { <nl> constexpr Range ( const Range & ) = default ; <nl> constexpr Range ( Range & & ) = default ; <nl> <nl> - public : <nl> + public : <nl> / / Works for all iterators <nl> constexpr Range ( Iter start , Iter end ) : b_ ( start ) , e_ ( end ) { <nl> } <nl> class Range : private boost : : totally_ordered < Range < Iter > > { <nl> - > decltype ( process ( std : : declval < Range > ( ) , std : : forward < Args > ( args ) . . . ) ) <nl> { return process ( split_step ( delimiter ) , std : : forward < Args > ( args ) . . . ) ; } <nl> <nl> - private : <nl> + private : <nl> Iter b_ , e_ ; <nl> } ; <nl> <nl> mmm a / folly / detail / Sleeper . h <nl> ppp b / folly / detail / Sleeper . h <nl> namespace detail { <nl> <nl> uint32_t spinCount ; <nl> <nl> - public : <nl> + public : <nl> Sleeper ( ) : spinCount ( 0 ) { } <nl> <nl> void wait ( ) { <nl> mmm a / folly / dynamic - inl . h <nl> ppp b / folly / dynamic - inl . h <nl> struct dynamic : : ObjectMaker { <nl> return std : : move ( * this ) ; <nl> } <nl> <nl> - private : <nl> + private : <nl> dynamic val_ ; <nl> } ; <nl> <nl> mmm a / folly / dynamic . h <nl> ppp b / folly / dynamic . h <nl> struct dynamic : private boost : : operators < dynamic > { <nl> * Object value iterators dereference as the values in the object . <nl> * Object item iterators dereference as pairs of ( key , value ) . <nl> * / <nl> - private : <nl> + private : <nl> typedef std : : vector < dynamic > Array ; <nl> - public : <nl> + <nl> + public : <nl> typedef Array : : iterator iterator ; <nl> typedef Array : : const_iterator const_iterator ; <nl> typedef dynamic value_type ; <nl> struct dynamic : private boost : : operators < dynamic > { <nl> * d [ " key " ] = 12 ; <nl> * d [ " something_else " ] = dynamic : : array ( 1 , 2 , 3 , nullptr ) ; <nl> * / <nl> - private : <nl> + private : <nl> struct EmptyArrayTag { } ; <nl> struct ObjectMaker ; <nl> <nl> - public : <nl> + public : <nl> static void array ( EmptyArrayTag ) ; <nl> template < class . . . Args > <nl> static dynamic array ( Args & & . . . args ) ; <nl> struct dynamic : private boost : : operators < dynamic > { <nl> iterator begin ( ) ; <nl> iterator end ( ) ; <nl> <nl> - private : <nl> + private : <nl> / * <nl> * Helper object returned by keys ( ) , values ( ) , and items ( ) . <nl> * / <nl> template < class T > struct IterableProxy ; <nl> <nl> - public : <nl> + public : <nl> / * <nl> * You can iterate over the keys , values , or items ( std : : pair of key and <nl> * value ) in an object . Calling these on non - objects will throw a TypeError . <nl> struct dynamic : private boost : : operators < dynamic > { <nl> * / <nl> std : : size_t hash ( ) const ; <nl> <nl> - private : <nl> + private : <nl> friend struct TypeError ; <nl> struct ObjectImpl ; <nl> template < class T > struct TypeInfo ; <nl> struct dynamic : private boost : : operators < dynamic > { <nl> void print ( std : : ostream & ) const ; <nl> void print_as_pseudo_json ( std : : ostream & ) const ; / / see json . cpp <nl> <nl> - private : <nl> + private : <nl> Type type_ ; <nl> union Data { <nl> explicit Data ( ) : nul ( nullptr ) { } <nl> mmm a / folly / experimental / DynamicParser - inl . h <nl> ppp b / folly / experimental / DynamicParser - inl . h <nl> namespace folly { <nl> / / DynamicParser . h . <nl> namespace detail { <nl> class IdentifyCallable { <nl> - public : <nl> + public : <nl> enum class Kind { Function , MemberFunction } ; <nl> template < typename Fn > <nl> constexpr static Kind getKind ( ) { return test < Fn > ( nullptr ) ; } <nl> - private : <nl> + <nl> + private : <nl> template < typename Fn > <nl> using IsMemFn = typename boost : : function_types : : template is_member_pointer < <nl> decltype ( & Fn : : operator ( ) ) <nl> mmm a / folly / experimental / DynamicParser . h <nl> ppp b / folly / experimental / DynamicParser . h <nl> struct DynamicParserParseError : public std : : runtime_error { <nl> * { " nested " : { " key1 " : { " key_errors " : { " key3 " : " err " } , " value " : 7 } } } <nl> * / <nl> const folly : : dynamic & error ( ) const { return error_ ; } <nl> - private : <nl> + <nl> + private : <nl> folly : : dynamic error_ ; <nl> } ; <nl> <nl> struct DynamicParserLogicError : public std : : logic_error { <nl> } ; <nl> <nl> class DynamicParser { <nl> - public : <nl> + public : <nl> enum class OnError { <nl> / / After parsing , releaseErrors ( ) reports all parse errors . <nl> / / Throws DynamicParserLogicError on programmer errors . <nl> class DynamicParser { <nl> return * this ; <nl> } <nl> <nl> - private : <nl> + private : <nl> / * * <nl> * If ` fn ` throws an exception , wrapError ( ) catches it and inserts an <nl> * enriched description into stack_ . errors_ . If lookup_key is non - null , <nl> class DynamicParser { <nl> explicit Pop ( ParserStack * sp ) <nl> : key_ ( sp - > key_ ) , value_ ( sp - > value_ ) , stackPtr_ ( sp ) { } <nl> void operator ( ) ( ) noexcept ; / / ScopeGuard requires noexcept <nl> - private : <nl> + private : <nl> const folly : : dynamic * key_ ; <nl> const folly : : dynamic * value_ ; <nl> ParserStack * stackPtr_ ; <nl> mmm a / folly / experimental / LockFreeRingBuffer . h <nl> ppp b / folly / experimental / LockFreeRingBuffer . h <nl> class RingBufferSlot ; <nl> <nl> template < typename T , template < typename > class Atom = std : : atomic > <nl> class LockFreeRingBuffer : boost : : noncopyable { <nl> + static_assert ( <nl> + std : : is_nothrow_default_constructible < T > : : value , <nl> + " Element type must be nothrow default constructible " ) ; <nl> <nl> - static_assert ( std : : is_nothrow_default_constructible < T > : : value , <nl> - " Element type must be nothrow default constructible " ) ; <nl> + static_assert ( <nl> + FOLLY_IS_TRIVIALLY_COPYABLE ( T ) , <nl> + " Element type must be trivially copyable " ) ; <nl> <nl> - static_assert ( FOLLY_IS_TRIVIALLY_COPYABLE ( T ) , <nl> - " Element type must be trivially copyable " ) ; <nl> - <nl> - public : <nl> + public : <nl> / / / Opaque pointer to a past or future write . <nl> / / / Can be moved relative to its current location but not in absolute terms . <nl> struct Cursor { <nl> class LockFreeRingBuffer : boost : : noncopyable { <nl> return prevTicket ! = ticket ; <nl> } <nl> <nl> - protected : / / for test visibility reasons <nl> + protected : / / for test visibility reasons <nl> uint64_t ticket ; <nl> friend class LockFreeRingBuffer ; <nl> } ; <nl> class LockFreeRingBuffer : boost : : noncopyable { <nl> ~ LockFreeRingBuffer ( ) { <nl> } <nl> <nl> - private : <nl> + private : <nl> const uint32_t capacity_ ; <nl> <nl> const std : : unique_ptr < detail : : RingBufferSlot < T , Atom > [ ] > slots_ ; <nl> class LockFreeRingBuffer : boost : : noncopyable { <nl> namespace detail { <nl> template < typename T , template < typename > class Atom > <nl> class RingBufferSlot { <nl> - public : <nl> + public : <nl> explicit RingBufferSlot ( ) noexcept <nl> : sequencer_ ( ) <nl> , data ( ) <nl> class RingBufferSlot { <nl> return sequencer_ . isTurn ( ( turn + 1 ) * 2 ) ; <nl> } <nl> <nl> - <nl> - private : <nl> + private : <nl> TurnSequencer < Atom > sequencer_ ; <nl> T data ; <nl> } ; / / RingBufferSlot <nl> mmm a / folly / experimental / StringKeyedMap . h <nl> ppp b / folly / experimental / StringKeyedMap . h <nl> template < class Value , <nl> class Alloc = std : : allocator < std : : pair < const StringPiece , Value > > > <nl> class StringKeyedMap <nl> : private std : : map < StringPiece , Value , Compare , Alloc > { <nl> - private : <nl> + private : <nl> using Base = std : : map < StringPiece , Value , Compare , Alloc > ; <nl> <nl> - public : <nl> + public : <nl> typedef typename Base : : key_type key_type ; <nl> typedef typename Base : : mapped_type mapped_type ; <nl> typedef typename Base : : value_type value_type ; <nl> mmm a / folly / experimental / StringKeyedSet . h <nl> ppp b / folly / experimental / StringKeyedSet . h <nl> template < class Compare = std : : less < StringPiece > , <nl> class Alloc = std : : allocator < StringPiece > > <nl> class StringKeyedSetBase <nl> : private std : : set < StringPiece , Compare , Alloc > { <nl> - private : <nl> + private : <nl> using Base = std : : set < StringPiece , Compare , Alloc > ; <nl> <nl> - public : <nl> + public : <nl> typedef typename Base : : key_type key_type ; <nl> typedef typename Base : : value_type value_type ; <nl> typedef typename Base : : key_compare key_compare ; <nl> mmm a / folly / experimental / StringKeyedUnorderedMap . h <nl> ppp b / folly / experimental / StringKeyedUnorderedMap . h <nl> class StringKeyedUnorderedMap <nl> private : <nl> using Base = std : : unordered_map < StringPiece , Value , Hash , Eq , Alloc > ; <nl> <nl> - public : <nl> + public : <nl> typedef typename Base : : key_type key_type ; <nl> typedef typename Base : : mapped_type mapped_type ; <nl> typedef typename Base : : value_type value_type ; <nl> mmm a / folly / experimental / StringKeyedUnorderedSet . h <nl> ppp b / folly / experimental / StringKeyedUnorderedSet . h <nl> class BasicStringKeyedUnorderedSet <nl> : private std : : unordered_set < StringPiece , Hasher , Eq , Alloc > { <nl> using Base = std : : unordered_set < StringPiece , Hasher , Eq , Alloc > ; <nl> <nl> - public : <nl> + public : <nl> typedef typename Base : : key_type key_type ; <nl> typedef typename Base : : value_type value_type ; <nl> typedef typename Base : : hasher hasher ; <nl> mmm a / folly / experimental / TestUtil . h <nl> ppp b / folly / experimental / TestUtil . h <nl> class TemporaryDirectory { <nl> * upon destruction , also changing back to the original working directory . <nl> * / <nl> class ChangeToTempDir { <nl> - public : <nl> + public : <nl> ChangeToTempDir ( ) ; <nl> ~ ChangeToTempDir ( ) ; <nl> <nl> class ChangeToTempDir { <nl> <nl> const fs : : path & path ( ) const { return dir_ . path ( ) ; } <nl> <nl> - private : <nl> + private : <nl> fs : : path initialPath_ ; <nl> TemporaryDirectory dir_ ; <nl> } ; <nl> inline std : : string glogErrOrWarnPattern ( ) { return " . * ( ^ | \ n ) [ EW ] [ 0 - 9 ] . * " ; } <nl> * Great for testing logging ( see also glog * Pattern ( ) ) . <nl> * / <nl> class CaptureFD { <nl> - private : <nl> + private : <nl> struct NoOpChunkCob { void operator ( ) ( StringPiece ) { } } ; <nl> - public : <nl> + <nl> + public : <nl> using ChunkCob = std : : function < void ( folly : : StringPiece ) > ; <nl> <nl> / * * <nl> class CaptureFD { <nl> * / <nl> std : : string readIncremental ( ) ; <nl> <nl> - private : <nl> + private : <nl> ChunkCob chunkCob_ ; <nl> TemporaryFile file_ ; <nl> <nl> mmm a / folly / experimental / test / StringKeyedTest . cpp <nl> ppp b / folly / experimental / test / StringKeyedTest . cpp <nl> struct MemoryLeakCheckerAllocator { <nl> return alloc_ = = other . alloc_ ; <nl> } <nl> <nl> - private : <nl> + private : <nl> Alloc alloc_ ; <nl> } ; <nl> <nl> mmm a / folly / futures / SharedPromise . h <nl> ppp b / folly / futures / SharedPromise . h <nl> namespace folly { <nl> * / <nl> template < class T > <nl> class SharedPromise { <nl> - public : <nl> + public : <nl> SharedPromise ( ) = default ; <nl> ~ SharedPromise ( ) = default ; <nl> <nl> class SharedPromise { <nl> <nl> bool isFulfilled ( ) ; <nl> <nl> - private : <nl> + private : <nl> std : : mutex mutex_ ; <nl> size_t size_ { 0 } ; <nl> bool hasValue_ { false } ; <nl> mmm a / folly / futures / detail / FSM . h <nl> ppp b / folly / futures / detail / FSM . h <nl> namespace detail { <nl> / / / For best results , use an " enum class " for Enum . <nl> template < class Enum > <nl> class FSM { <nl> - private : <nl> + private : <nl> / / I am not templatizing this because folly : : MicroSpinLock needs to be <nl> / / zero - initialized ( or call init ) which isn ' t generic enough for something <nl> / / that behaves like std : : mutex . : ( <nl> class FSM { <nl> / / An optimization would be to use a static conditional on the Enum type . <nl> std : : atomic < Enum > state_ ; <nl> <nl> - public : <nl> + public : <nl> explicit FSM ( Enum startState ) : state_ ( startState ) { } <nl> <nl> Enum getState ( ) const noexcept { <nl> mmm a / folly / futures / test / ThenCompileTest . h <nl> ppp b / folly / futures / test / ThenCompileTest . h <nl> aStdFunction ( typename std : : enable_if < isFuture < Ret > : : value , bool > : : type = true ) { <nl> } <nl> <nl> class SomeClass { <nl> - public : <nl> + public : <nl> template < class Ret , class . . . Params > <nl> static <nl> typename std : : enable_if < ! isFuture < Ret > : : value , Ret > : : type <nl> mmm a / folly / gen / Base . h <nl> ppp b / folly / gen / Base . h <nl> namespace folly { <nl> namespace gen { <nl> <nl> class Less { <nl> - public : <nl> + public : <nl> template < class First , class Second > <nl> auto operator ( ) ( const First & first , const Second & second ) const - > <nl> decltype ( first < second ) { <nl> class Less { <nl> } ; <nl> <nl> class Greater { <nl> - public : <nl> + public : <nl> template < class First , class Second > <nl> auto operator ( ) ( const First & first , const Second & second ) const - > <nl> decltype ( first > second ) { <nl> class Greater { <nl> <nl> template < int n > <nl> class Get { <nl> - public : <nl> + public : <nl> template < class Value > <nl> auto operator ( ) ( Value & & value ) const - > <nl> decltype ( std : : get < n > ( std : : forward < Value > ( value ) ) ) { <nl> class Field { <nl> } ; <nl> <nl> class Move { <nl> - public : <nl> + public : <nl> template < class Value > <nl> auto operator ( ) ( Value & & value ) const - > <nl> decltype ( std : : move ( std : : forward < Value > ( value ) ) ) { <nl> mmm a / folly / gen / Combine - inl . h <nl> ppp b / folly / gen / Combine - inl . h <nl> class Interleave : public Operator < Interleave < Container > > { <nl> <nl> static_assert ( std : : is_same < const Value & , ConstRefType > : : value , <nl> " Only matching types may be interleaved " ) ; <nl> - public : <nl> + <nl> + public : <nl> explicit Generator ( Source source , <nl> const std : : shared_ptr < const Container > container ) <nl> : source_ ( std : : move ( source ) ) , <nl> class Zip : public Operator < Zip < Container > > { <nl> Generator < Value1 , Source , Value2 , Result > > { <nl> Source source_ ; <nl> const std : : shared_ptr < const Container > container_ ; <nl> - public : <nl> + <nl> + public : <nl> explicit Generator ( Source source , <nl> const std : : shared_ptr < const Container > container ) <nl> : source_ ( std : : move ( source ) ) , <nl> mmm a / folly / gen / Core - inl . h <nl> ppp b / folly / gen / Core - inl . h <nl> class IsCompatibleSignature < Candidate , ExpectedReturn ( ArgTypes . . . ) > { <nl> static constexpr bool testArgs ( . . . ) { <nl> return false ; <nl> } <nl> - public : <nl> + <nl> + public : <nl> static constexpr bool value = testArgs < Candidate > ( nullptr ) ; <nl> } ; <nl> <nl> class Chain : public GenImpl < Value , <nl> Chain < Value , First , Second > > { <nl> First first_ ; <nl> Second second_ ; <nl> - public : <nl> + <nl> + public : <nl> explicit Chain ( First first , Second second ) <nl> : first_ ( std : : move ( first ) ) <nl> , second_ ( std : : move ( second ) ) { } <nl> mmm a / folly / gen / ParallelMap - inl . h <nl> ppp b / folly / gen / ParallelMap - inl . h <nl> class PMap : public Operator < PMap < Predicate > > { <nl> } <nl> } ; <nl> <nl> - public : <nl> + public : <nl> Generator ( Source source , const Predicate & pred , size_t nThreads ) <nl> : source_ ( std : : move ( source ) ) , <nl> pred_ ( pred ) , <nl> mmm a / folly / io / async / AsyncServerSocket . h <nl> ppp b / folly / io / async / AsyncServerSocket . h <nl> class AsyncServerSocket : public DelayedDestruction <nl> * / <nl> class RemoteAcceptor <nl> : private NotificationQueue < QueueMessage > : : Consumer { <nl> - public : <nl> + public : <nl> explicit RemoteAcceptor ( AcceptCallback * callback , <nl> ConnectionEventCallback * connectionEventCallback ) <nl> : callback_ ( callback ) , <nl> class AsyncServerSocket : public DelayedDestruction <nl> return & queue_ ; <nl> } <nl> <nl> - private : <nl> + private : <nl> AcceptCallback * callback_ ; <nl> ConnectionEventCallback * connectionEventCallback_ ; <nl> <nl> mmm a / folly / io / async / AsyncTimeout . h <nl> ppp b / folly / io / async / AsyncTimeout . h <nl> struct async_timeout_wrapper : <nl> callback_ ( ) ; <nl> } <nl> <nl> - private : <nl> + private : <nl> TCallback callback_ ; <nl> } ; <nl> <nl> mmm a / folly / io / async / test / AsyncSSLSocketTest . h <nl> ppp b / folly / io / async / test / AsyncSSLSocketTest . h <nl> class SendMsgDataCallback : public SendMsgFlagsCallback { <nl> <nl> class WriteCallbackBase : <nl> public AsyncTransportWrapper : : WriteCallback { <nl> - public : <nl> + public : <nl> explicit WriteCallbackBase ( SendMsgParamsCallbackBase * mcb = nullptr ) <nl> : state ( STATE_WAITING ) <nl> , bytesWritten ( 0 ) <nl> public AsyncTransportWrapper : : WriteCallback { <nl> <nl> class ExpectWriteErrorCallback : <nl> public WriteCallbackBase { <nl> - public : <nl> + public : <nl> explicit ExpectWriteErrorCallback ( SendMsgParamsCallbackBase * mcb = nullptr ) <nl> : WriteCallbackBase ( mcb ) { } <nl> <nl> enum SOF_TIMESTAMPING { <nl> } ; <nl> <nl> class WriteCheckTimestampCallback : <nl> - public WriteCallbackBase { <nl> - public : <nl> + public WriteCallbackBase { <nl> + public : <nl> explicit WriteCheckTimestampCallback ( SendMsgParamsCallbackBase * mcb = nullptr ) <nl> : WriteCallbackBase ( mcb ) { } <nl> <nl> public AsyncTransportWrapper : : ReadCallback { <nl> } ; <nl> <nl> class ReadCallback : public ReadCallbackBase { <nl> - public : <nl> + public : <nl> explicit ReadCallback ( WriteCallbackBase * wcb ) <nl> : ReadCallbackBase ( wcb ) <nl> , buffers ( ) { } <nl> class ReadCallback : public ReadCallbackBase { <nl> } <nl> <nl> class Buffer { <nl> - public : <nl> + public : <nl> Buffer ( ) : buffer ( nullptr ) , length ( 0 ) { } <nl> Buffer ( char * buf , size_t len ) : buffer ( buf ) , length ( len ) { } <nl> <nl> class ReadCallback : public ReadCallbackBase { <nl> } ; <nl> <nl> class ReadErrorCallback : public ReadCallbackBase { <nl> - public : <nl> + public : <nl> explicit ReadErrorCallback ( WriteCallbackBase * wcb ) <nl> : ReadCallbackBase ( wcb ) { } <nl> <nl> class ReadEOFCallback : public ReadCallbackBase { <nl> } ; <nl> <nl> class WriteErrorCallback : public ReadCallback { <nl> - public : <nl> + public : <nl> explicit WriteErrorCallback ( WriteCallbackBase * wcb ) <nl> : ReadCallback ( wcb ) { } <nl> <nl> class WriteErrorCallback : public ReadCallback { <nl> } ; <nl> <nl> class EmptyReadCallback : public ReadCallback { <nl> - public : <nl> + public : <nl> explicit EmptyReadCallback ( ) <nl> : ReadCallback ( nullptr ) { } <nl> <nl> class EmptyReadCallback : public ReadCallback { <nl> <nl> class HandshakeCallback : <nl> public AsyncSSLSocket : : HandshakeCB { <nl> - public : <nl> + public : <nl> enum ExpectType { <nl> EXPECT_SUCCESS , <nl> EXPECT_ERROR <nl> public AsyncSSLSocket : : HandshakeCB { <nl> } ; <nl> <nl> class SSLServerAcceptCallback : public SSLServerAcceptCallbackBase { <nl> - public : <nl> + public : <nl> uint32_t timeout_ ; <nl> <nl> explicit SSLServerAcceptCallback ( HandshakeCallback * hcb , <nl> class SSLServerAcceptCallback : public SSLServerAcceptCallbackBase { <nl> } ; <nl> <nl> class SSLServerAcceptCallbackDelay : public SSLServerAcceptCallback { <nl> - public : <nl> + public : <nl> explicit SSLServerAcceptCallbackDelay ( HandshakeCallback * hcb ) : <nl> SSLServerAcceptCallback ( hcb ) { } <nl> <nl> class SSLServerAcceptCallbackDelay : public SSLServerAcceptCallback { <nl> } ; <nl> <nl> class SSLServerAsyncCacheAcceptCallback : public SSLServerAcceptCallback { <nl> - public : <nl> + public : <nl> explicit SSLServerAsyncCacheAcceptCallback ( HandshakeCallback * hcb , <nl> uint32_t timeout = 0 ) : <nl> SSLServerAcceptCallback ( hcb , timeout ) { } <nl> class SSLServerAsyncCacheAcceptCallback : public SSLServerAcceptCallback { <nl> <nl> <nl> class HandshakeErrorCallback : public SSLServerAcceptCallbackBase { <nl> - public : <nl> + public : <nl> explicit HandshakeErrorCallback ( HandshakeCallback * hcb ) : <nl> SSLServerAcceptCallbackBase ( hcb ) { } <nl> <nl> class HandshakeErrorCallback : public SSLServerAcceptCallbackBase { <nl> } ; <nl> <nl> class HandshakeTimeoutCallback : public SSLServerAcceptCallbackBase { <nl> - public : <nl> + public : <nl> explicit HandshakeTimeoutCallback ( HandshakeCallback * hcb ) : <nl> SSLServerAcceptCallbackBase ( hcb ) { } <nl> <nl> mmm a / folly / io / async / test / EventBaseTest . cpp <nl> ppp b / folly / io / async / test / EventBaseTest . cpp <nl> TEST ( EventBaseTest , RunBeforeLoopWait ) { <nl> } <nl> <nl> class PipeHandler : public EventHandler { <nl> - public : <nl> + public : <nl> PipeHandler ( EventBase * eventBase , int fd ) <nl> : EventHandler ( eventBase , fd ) { } <nl> <nl> mmm a / folly / io / async / test / EventHandlerTest . cpp <nl> ppp b / folly / io / async / test / EventHandlerTest . cpp <nl> void runInThreadsAndWait ( vector < function < void ( ) > > cbs ) { <nl> } <nl> <nl> class EventHandlerMock : public EventHandler { <nl> - public : <nl> + public : <nl> EventHandlerMock ( EventBase * eb , int fd ) : EventHandler ( eb , fd ) { } <nl> / / gmock can ' t mock noexcept methods , so we need an intermediary <nl> MOCK_METHOD1 ( _handlerReady , void ( uint16_t ) ) ; <nl> class EventHandlerMock : public EventHandler { <nl> } ; <nl> <nl> class EventHandlerTest : public Test { <nl> - public : <nl> + public : <nl> int efd = 0 ; <nl> <nl> void SetUp ( ) override { <nl> mmm a / folly / io / async / test / MockAsyncServerSocket . h <nl> ppp b / folly / io / async / test / MockAsyncServerSocket . h <nl> namespace folly { <nl> namespace test { <nl> <nl> class MockAsyncServerSocket : public AsyncServerSocket { <nl> - public : <nl> + public : <nl> typedef std : : unique_ptr < MockAsyncServerSocket , Destructor > UniquePtr ; <nl> <nl> / / We explicitly do not mock destroy ( ) , since the base class implementation <nl> mmm a / folly / json . cpp <nl> ppp b / folly / json . cpp <nl> struct Printer { <nl> } <nl> } <nl> <nl> - private : <nl> + private : <nl> void printKV ( const std : : pair < const dynamic , dynamic > & p ) const { <nl> if ( ! opts_ . allow_non_string_keys & & ! p . first . isString ( ) ) { <nl> throw std : : runtime_error ( " folly : : toJson : JSON object key was not a " <nl> struct Printer { <nl> out_ + = ' ] ' ; <nl> } <nl> <nl> - private : <nl> + private : <nl> void outdent ( ) const { <nl> if ( indentLevel_ ) { <nl> - - * indentLevel_ ; <nl> struct Printer { <nl> out_ + = indentLevel_ ? " : " : " : " ; <nl> } <nl> <nl> - private : <nl> - std : : string & out_ ; <nl> - unsigned * const indentLevel_ ; <nl> - serialization_opts const & opts_ ; <nl> + private : <nl> + std : : string & out_ ; <nl> + unsigned * const indentLevel_ ; <nl> + serialization_opts const & opts_ ; <nl> } ; <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> struct Input { <nl> current_ = range_ . empty ( ) ? EOF : range_ . front ( ) ; <nl> } <nl> <nl> - private : <nl> + private : <nl> StringPiece range_ ; <nl> json : : serialization_opts const & opts_ ; <nl> unsigned lineNum_ ; <nl> mmm a / folly / small_vector . h <nl> ppp b / folly / small_vector . h <nl> namespace detail { <nl> <nl> IntegralSizePolicy ( ) : size_ ( 0 ) { } <nl> <nl> - protected : <nl> + protected : <nl> static constexpr std : : size_t policyMaxSize ( ) { <nl> return SizeType ( ~ kExternMask ) ; <nl> } <nl> namespace detail { <nl> std : : swap ( size_ , o . size_ ) ; <nl> } <nl> <nl> - protected : <nl> + protected : <nl> static bool const kShouldUseHeap = ShouldUseHeap ; <nl> <nl> - private : <nl> + private : <nl> static SizeType const kExternMask = <nl> kShouldUseHeap ? SizeType ( 1 ) < < ( sizeof ( SizeType ) * 8 - 1 ) <nl> : 0 ; <nl> class small_vector <nl> return ( * this ) [ i ] ; <nl> } <nl> <nl> - private : <nl> - <nl> + private : <nl> static iterator unconst ( const_iterator it ) { <nl> return const_cast < iterator > ( it ) ; <nl> } <nl> class small_vector <nl> } <nl> } <nl> <nl> - private : <nl> + private : <nl> struct HeapPtrWithCapacity { <nl> void * heap_ ; <nl> InternalSizeType capacity_ ; <nl> mmm a / folly / sorted_vector_types . h <nl> ppp b / folly / sorted_vector_types . h <nl> class sorted_vector_set <nl> detail : : growth_policy_wrapper < GrowthPolicy > & <nl> get_growth_policy ( ) { return * this ; } <nl> <nl> - public : <nl> + public : <nl> typedef T value_type ; <nl> typedef T key_type ; <nl> typedef Compare key_compare ; <nl> class sorted_vector_set <nl> return m_ . cont_ < other . m_ . cont_ ; <nl> } <nl> <nl> - private : <nl> + private : <nl> / * <nl> * This structure derives from the comparison object in order to <nl> * make use of the empty base class optimization if our comparison <nl> class sorted_vector_map <nl> detail : : growth_policy_wrapper < GrowthPolicy > & <nl> get_growth_policy ( ) { return * this ; } <nl> <nl> - public : <nl> + public : <nl> typedef Key key_type ; <nl> typedef Value mapped_type ; <nl> typedef std : : pair < key_type , mapped_type > value_type ; <nl> class sorted_vector_map <nl> return Compare : : operator ( ) ( a . first , b . first ) ; <nl> } <nl> <nl> - protected : <nl> + protected : <nl> friend class sorted_vector_map ; <nl> explicit value_compare ( const Compare & c ) : Compare ( c ) { } <nl> } ; <nl> class sorted_vector_map <nl> return m_ . cont_ < other . m_ . cont_ ; <nl> } <nl> <nl> - private : <nl> + private : <nl> / / This is to get the empty base optimization ; see the comment in <nl> / / sorted_vector_set . <nl> struct EBO : value_compare { <nl> mmm a / folly / test / ApplyTupleTest . cpp <nl> ppp b / folly / test / ApplyTupleTest . cpp <nl> struct GuardObj : GuardObjBase { <nl> GuardObj ( const GuardObj & ) = delete ; <nl> GuardObj & operator = ( const GuardObj & ) = delete ; <nl> <nl> - private : <nl> + private : <nl> F f_ ; <nl> Tuple args_ ; <nl> } ; <nl> mmm a / folly / test / ArenaSmartPtrTest . cpp <nl> ppp b / folly / test / ArenaSmartPtrTest . cpp <nl> struct global_counter { <nl> <nl> unsigned count ( ) const { return count_ ; } <nl> <nl> - private : <nl> + private : <nl> unsigned count_ ; <nl> } ; <nl> <nl> struct Foo { <nl> counter_ . decrease ( ) ; <nl> } <nl> <nl> - private : <nl> + private : <nl> global_counter & counter_ ; <nl> } ; <nl> <nl> mmm a / folly / test / AtomicHashMapTest . cpp <nl> ppp b / folly / test / AtomicHashMapTest . cpp <nl> TEST ( Ahm , iterator ) { <nl> } <nl> <nl> class Counters { <nl> - private : <nl> + private : <nl> / / Note : Unfortunately can ' t currently put a std : : atomic < int64_t > in <nl> / / the value in ahm since it doesn ' t support types that are both non - copy <nl> / / and non - move constructible yet . <nl> AtomicHashMap < int64_t , int64_t > ahm ; <nl> <nl> - public : <nl> + public : <nl> explicit Counters ( size_t numCounters ) : ahm ( numCounters ) { } <nl> <nl> void increment ( int64_t obj_id ) { <nl> mmm a / folly / test / ContainerTraitsTest . cpp <nl> ppp b / folly / test / ContainerTraitsTest . cpp <nl> struct Node { <nl> <nl> template < class T > <nl> class VectorWrapper { <nl> - public : <nl> + public : <nl> using value_type = T ; <nl> vector < T > & underlying ; <nl> explicit VectorWrapper ( vector < T > & v ) : underlying ( v ) { } <nl> mmm a / folly / test / OptionalTest . cpp <nl> ppp b / folly / test / OptionalTest . cpp <nl> TEST ( Optional , Simple ) { <nl> } <nl> <nl> class MoveTester { <nl> - public : <nl> + public : <nl> / * implicit * / MoveTester ( const char * s ) : s_ ( s ) { } <nl> MoveTester ( const MoveTester & ) = default ; <nl> MoveTester ( MoveTester & & other ) noexcept { <nl> class MoveTester { <nl> other . s_ = " " ; <nl> return * this ; <nl> } <nl> - private : <nl> + <nl> + private : <nl> friend bool operator = = ( const MoveTester & o1 , const MoveTester & o2 ) ; <nl> std : : string s_ ; <nl> } ; <nl> mmm a / folly / test / ScopeGuardTest . cpp <nl> ppp b / folly / test / ScopeGuardTest . cpp <nl> TEST ( ScopeGuard , TEST_SCOPE_EXIT ) { <nl> } <nl> <nl> class Foo { <nl> - public : <nl> + public : <nl> Foo ( ) { } <nl> ~ Foo ( ) { <nl> try { <nl> mmm a / folly / test / stl_tests / StlVectorTest . cpp <nl> ppp b / folly / test / stl_tests / StlVectorTest . cpp <nl> struct Data : DataTracker < ( f & IS_RELOCATABLE ) ! = 0 > , <nl> Data & operator = ( const Data & ) = default ; <nl> Data & operator = ( Data & & ) = default ; <nl> <nl> - private : <nl> + private : <nl> int operator & ( ) const ; <nl> } ; <nl> <nl> class DataState { <nl> typedef typename Vector : : size_type size_type ; <nl> size_type size_ ; <nl> int * data_ ; <nl> - public : <nl> + <nl> + public : <nl> / * implicit * / DataState ( const Vector & v ) { <nl> size_ = v . size ( ) ; <nl> if ( size_ ! = 0 ) { <nl> class Transformer : public boost : : iterator_adaptor < <nl> friend class boost : : iterator_core_access ; <nl> shared_ptr < set < It > > dereferenced ; <nl> <nl> - public : <nl> + public : <nl> explicit Transformer ( const It & it ) <nl> : Transformer : : iterator_adaptor_ ( it ) <nl> , dereferenced ( new set < It > ( ) ) { } <nl> | Consistent indentation for class visibility labels | facebook/folly | 83b9f93f4f5b536792b36de0e6d601e2a3b894bc | 2017-07-30T03:28:11Z |
mmm a / CHANGELOG . md <nl> ppp b / CHANGELOG . md <nl> <nl> + # ClickHouse release 1 . 1 . 54381 , 2018 - 05 - 14 <nl> + <nl> + # # Bug fixes : <nl> + * Fixed a nodes leak in ZooKeeper when ClickHouse loses connection to ZooKeeper server . <nl> + <nl> # ClickHouse release 1 . 1 . 54380 , 2018 - 04 - 21 <nl> <nl> # # New features : <nl> mmm a / CHANGELOG_RU . md <nl> ppp b / CHANGELOG_RU . md <nl> <nl> + # ClickHouse release 1 . 1 . 54381 , 2018 - 05 - 14 <nl> + <nl> + # # Исправление ошибок : <nl> + * Исправлена ошибка , приводящая к " утеканию " метаданных в ZooKeeper при потере соединения с сервером ZooKeeper . <nl> + <nl> # ClickHouse release 1 . 1 . 54380 , 2018 - 04 - 21 <nl> <nl> # # Новые возможности : <nl> mmm a / ci / README . md <nl> ppp b / ci / README . md <nl> <nl> - # # # Build and test ClickHouse on various plaforms <nl> + # # Build and test ClickHouse on various plaforms <nl> <nl> Quick and dirty scripts . <nl> <nl> Another example , check build on ARM 64 : <nl> . / run - with - docker . sh multiarch / ubuntu - core : arm64 - bionic jobs / quick - build / run . sh <nl> ` ` ` <nl> <nl> - Look at ` default_config ` and ` jobs / quick - build / config ` <nl> + Another example , check build on FreeBSD : <nl> + ` ` ` <nl> + . / prepare - vagrant - image - freebsd . sh <nl> + . / run - with - vagrant . sh freebsd jobs / quick - build / run . sh <nl> + ` ` ` <nl> + <nl> + Look at ` default_config ` and ` jobs / quick - build / run . sh ` <nl> <nl> Various possible options . We are not going to automate testing all of them . <nl> <nl> - # # # # # CPU architectures : <nl> + # # # # CPU architectures : <nl> - x86_64 ; <nl> - AArch64 . <nl> <nl> x86_64 is the main CPU architecture . We also have minimal support for AArch64 . <nl> <nl> - # # # # # Operating systems : <nl> + # # # # Operating systems : <nl> - Linux ; <nl> - FreeBSD . <nl> <nl> We also target Mac OS X , but it ' s more difficult to test . <nl> Linux is the main . FreeBSD is also supported as production OS . <nl> Mac OS is intended only for development and have minimal support : client should work , server should just start . <nl> <nl> - # # # # # Linux distributions : <nl> + # # # # Linux distributions : <nl> For build : <nl> - Ubuntu Bionic ; <nl> - Ubuntu Trusty . <nl> For run : <nl> <nl> We should support almost any Linux to run ClickHouse . That ' s why we test also on old distributions . <nl> <nl> - # # # # # How to obtain sources : <nl> + # # # # How to obtain sources : <nl> - use sources from local working copy ; <nl> - clone sources from github ; <nl> - download source tarball . <nl> <nl> - # # # # # Compilers : <nl> + # # # # Compilers : <nl> - gcc - 7 ; <nl> - gcc - 8 ; <nl> - clang - 6 ; <nl> - clang - svn . <nl> <nl> - # # # # # Compiler installation : <nl> + # # # # Compiler installation : <nl> - from OS packages ; <nl> - build from sources . <nl> <nl> - # # # # # C + + standard library implementation : <nl> + # # # # C + + standard library implementation : <nl> - libc + + ; <nl> - libstdc + + with C + + 11 ABI ; <nl> - libstdc + + with old ABI . <nl> <nl> When building with clang , libc + + is used . When building with gcc , we choose libstdc + + with C + + 11 ABI . <nl> <nl> - # # # # # Linkers : <nl> + # # # # Linkers : <nl> - ldd ; <nl> - gold ; <nl> <nl> When building with clang on x86_64 , ldd is used . Otherwise we use gold . <nl> <nl> - # # # # # Build types : <nl> + # # # # Build types : <nl> - RelWithDebInfo ; <nl> - Debug ; <nl> - ASan ; <nl> - TSan . <nl> <nl> - # # # # # Build types , extra : <nl> + # # # # Build types , extra : <nl> - - g0 for quick build ; <nl> - enable test coverage ; <nl> - debug tcmalloc . <nl> <nl> - # # # # # What to build : <nl> + # # # # What to build : <nl> - only ` clickhouse ` target ; <nl> - all targets ; <nl> - debian packages ; <nl> <nl> We also have intent to build RPM and simple tgz packages . <nl> <nl> - # # # # # Where to get third - party libraries : <nl> + # # # # Where to get third - party libraries : <nl> - from contrib directory ( submodules ) ; <nl> - from OS packages . <nl> <nl> The only production option is to use libraries from contrib directory . <nl> Using libraries from OS packages is discouraged , but we also support this option . <nl> <nl> - # # # # # Linkage types : <nl> + # # # # Linkage types : <nl> - static ; <nl> - shared ; <nl> <nl> Static linking is the only option for production usage . <nl> We also have support for shared linking , but it is indended only for developers . <nl> <nl> - # # # # # Make tools : <nl> + # # # # Make tools : <nl> - make ; <nl> - ninja . <nl> <nl> - # # # # # Installation options : <nl> + # # # # Installation options : <nl> - run built ` clickhouse ` binary directly ; <nl> - install from packages . <nl> <nl> - # # # # # How to obtain packages : <nl> + # # # # How to obtain packages : <nl> - build them ; <nl> - download from repository . <nl> <nl> - # # # # # Sanity checks : <nl> + # # # # Sanity checks : <nl> - check that clickhouse binary has no dependencies on unexpected shared libraries ; <nl> - check that source code have no style violations . <nl> <nl> - # # # # # Tests : <nl> + # # # # Tests : <nl> - Functional tests ; <nl> - Integration tests ; <nl> - Unit tests ; <nl> We also have support for shared linking , but it is indended only for developers . <nl> - Tests for external dictionaries ( should be moved to integration tests ) ; <nl> - Jepsen like tests for quorum inserts ( not yet available in opensource ) . <nl> <nl> - # # # # # Tests extra : <nl> + # # # # Tests extra : <nl> - Run functional tests with Valgrind . <nl> <nl> - # # # # # Static analyzers : <nl> + # # # # Static analyzers : <nl> - CppCheck ; <nl> - clang - tidy ; <nl> - Coverity . <nl> mmm a / ci / build - clang - from - sources . sh <nl> ppp b / ci / build - clang - from - sources . sh <nl> set - e - x <nl> source default - config <nl> <nl> # TODO Non debian systems <nl> - $ SUDO apt - get install - y subversion <nl> - apt - cache search cmake3 | grep - P ' ^ cmake3 ' & & $ SUDO apt - get - y install cmake3 | | $ SUDO apt - get - y install cmake <nl> + . / install - os - packages . sh svn <nl> + . / install - os - packages . sh cmake <nl> <nl> mkdir " $ { WORKSPACE } / llvm " <nl> <nl> mmm a / ci / build - gcc - from - sources . sh <nl> ppp b / ci / build - gcc - from - sources . sh <nl> set - e - x <nl> <nl> source default - config <nl> <nl> - $ SUDO apt - get install - y curl <nl> + . / install - os - packages . sh curl <nl> <nl> if [ [ " $ { GCC_SOURCES_VERSION } " = = " latest " ] ] ; then <nl> GCC_SOURCES_VERSION = $ ( curl - sSL https : / / ftpmirror . gnu . org / gcc / | grep - oE ' gcc - [ 0 - 9 ] + ( \ . [ 0 - 9 ] + ) + ' | sort - Vr | head - n1 ) <nl> mmm a / ci / check - syntax . sh <nl> ppp b / ci / check - syntax . sh <nl> set - e - x <nl> <nl> source default - config <nl> <nl> - $ SUDO apt - get install - y jq <nl> + . / install - os - packages . sh jq <nl> <nl> [ [ - d " $ { WORKSPACE } / sources " ] ] | | die " Run get - sources . sh first " <nl> <nl> mmm a / ci / default - config <nl> ppp b / ci / default - config <nl> SCRIPTPATH = $ ( pwd ) <nl> WORKSPACE = $ { SCRIPTPATH } / workspace <nl> PROJECT_ROOT = $ ( cd $ SCRIPTPATH / . . & & pwd ) <nl> <nl> - # All scripts take no arguments . All arguments must be in config . <nl> + # Almost all scripts take no arguments . Arguments should be in config . <nl> <nl> # get - sources <nl> SOURCES_METHOD = local # clone , local , tarball <nl> DOCKER_UBUNTU_TAG_ARCH = arm64 # How the architecture is named in Docker <nl> DOCKER_UBUNTU_QEMU_VER = v2 . 9 . 1 <nl> DOCKER_UBUNTU_REPO = multiarch / ubuntu - core <nl> <nl> - THREADS = $ ( grep - c ^ processor / proc / cpuinfo | | nproc | | sysctl - a | grep - F ' hw . ncpu ' ) <nl> + THREADS = $ ( grep - c ^ processor / proc / cpuinfo | | nproc | | sysctl - a | grep - F ' hw . ncpu ' | grep - oE ' [ 0 - 9 ] + ' ) <nl> <nl> # All scripts should return 0 in case of success , 1 in case of permanent error , <nl> # 2 in case of temporary error , any other code in case of permanent error . <nl> function die { <nl> <nl> [ [ $ EUID - ne 0 ] ] & & SUDO = sudo <nl> <nl> - command - v apt - get & & $ SUDO apt - get update <nl> + . / install - os - packages . sh prepare <nl> <nl> # Configuration parameters may be overriden with CONFIG environment variable pointing to config file . <nl> [ [ - n " $ CONFIG " ] ] & & source $ CONFIG <nl> mmm a / ci / get - sources . sh <nl> ppp b / ci / get - sources . sh <nl> set - e - x <nl> source default - config <nl> <nl> if [ [ " $ SOURCES_METHOD " = = " clone " ] ] ; then <nl> - $ SUDO apt - get install - y git <nl> + . / install - os - packages . sh git <nl> SOURCES_DIR = " $ { WORKSPACE } / sources " <nl> mkdir - p " $ { SOURCES_DIR } " <nl> git clone - - recursive - - branch " $ SOURCES_BRANCH " " $ SOURCES_CLONE_URL " " $ { SOURCES_DIR } " <nl> pushd " $ { SOURCES_DIR } " <nl> - git checkout " $ SOURCES_COMMIT " <nl> + git checkout - - recurse - submodules " $ SOURCES_COMMIT " <nl> popd <nl> elif [ [ " $ SOURCES_METHOD " = = " local " ] ] ; then <nl> ln - f - s " $ { PROJECT_ROOT } " " $ { WORKSPACE } / sources " <nl> mmm a / ci / install - compiler - from - packages . sh <nl> ppp b / ci / install - compiler - from - packages . sh <nl> set - e - x <nl> <nl> source default - config <nl> <nl> - # TODO Non debian systems <nl> # TODO Install from PPA on older Ubuntu <nl> <nl> - if [ - f ' / etc / lsb - release ' ] ; then <nl> - source / etc / lsb - release <nl> - if [ [ " $ DISTRIB_ID " = = " Ubuntu " ] ] ; then <nl> - if [ [ " $ COMPILER " = = " gcc " ] ] ; then <nl> - $ SUDO apt - get - y install gcc - $ { COMPILER_PACKAGE_VERSION } g + + - $ { COMPILER_PACKAGE_VERSION } <nl> - export CC = gcc - $ { COMPILER_PACKAGE_VERSION } <nl> - export CXX = g + + - $ { COMPILER_PACKAGE_VERSION } <nl> - elif [ [ " $ COMPILER " = = " clang " ] ] ; then <nl> - [ [ $ ( uname - m ) = = " x86_64 " ] ] & & LLD = " lld - $ { COMPILER_PACKAGE_VERSION } " <nl> - $ SUDO apt - get - y install clang - $ { COMPILER_PACKAGE_VERSION } " $ LLD " libc + + - dev libc + + abi - dev <nl> - export CC = clang - $ { COMPILER_PACKAGE_VERSION } <nl> - export CXX = clang + + - $ { COMPILER_PACKAGE_VERSION } <nl> - else <nl> - die " Unknown compiler specified " <nl> - fi <nl> - else <nl> - die " Unknown Linux variant " <nl> + . / install - os - packages . sh $ { COMPILER } - $ { COMPILER_PACKAGE_VERSION } <nl> + <nl> + if [ [ " $ COMPILER " = = " gcc " ] ] ; then <nl> + if command - v gcc - $ { COMPILER_PACKAGE_VERSION } ; then export CC = gcc - $ { COMPILER_PACKAGE_VERSION } CXX = g + + - $ { COMPILER_PACKAGE_VERSION } ; <nl> + elif command - v gcc $ { COMPILER_PACKAGE_VERSION } ; then export CC = gcc $ { COMPILER_PACKAGE_VERSION } CXX = g + + $ { COMPILER_PACKAGE_VERSION } ; <nl> + elif command - v gcc ; then export CC = gcc CXX = g + + ; <nl> + fi <nl> + elif [ [ " $ COMPILER " = = " clang " ] ] ; then <nl> + if command - v clang - $ { COMPILER_PACKAGE_VERSION } ; then export CC = clang - $ { COMPILER_PACKAGE_VERSION } CXX = clang + + - $ { COMPILER_PACKAGE_VERSION } ; <nl> + elif command - v clang $ { COMPILER_PACKAGE_VERSION } ; then export CC = clang $ { COMPILER_PACKAGE_VERSION } CXX = clang + + $ { COMPILER_PACKAGE_VERSION } ; <nl> + elif command - v clang ; then export CC = clang CXX = clang + + ; <nl> fi <nl> else <nl> - die " Unknown OS " <nl> + die " Unknown compiler specified " <nl> fi <nl> mmm a / ci / install - libraries . sh <nl> ppp b / ci / install - libraries . sh <nl> set - e - x <nl> <nl> source default - config <nl> <nl> - # TODO Non - debian systems <nl> - <nl> - $ SUDO apt - get - y install libssl - dev libicu - dev libreadline - dev libmysqlclient - dev unixodbc - dev <nl> + . / install - os - packages . sh libssl - dev <nl> + . / install - os - packages . sh libicu - dev <nl> + . / install - os - packages . sh libreadline - dev <nl> + . / install - os - packages . sh libmariadbclient - dev <nl> + . / install - os - packages . sh libunixodbc - dev <nl> <nl> if [ [ " $ ENABLE_EMBEDDED_COMPILER " = = 1 & & " $ USE_LLVM_LIBRARIES_FROM_SYSTEM " = = 1 ] ] ; then <nl> - $ SUDO apt - get - y install liblld - 5 . 0 - dev libclang - 5 . 0 - dev <nl> + . / install - os - packages . sh llvm - libs - 5 . 0 <nl> fi <nl> new file mode 100755 <nl> index 00000000000 . . e3e7e88044a <nl> mmm / dev / null <nl> ppp b / ci / install - os - packages . sh <nl> <nl> + # ! / usr / bin / env bash <nl> + set - e - x <nl> + <nl> + # Dispatches package installation on various OS and distributives <nl> + <nl> + WHAT = $ 1 <nl> + <nl> + [ [ $ EUID - ne 0 ] ] & & SUDO = sudo <nl> + <nl> + command - v apt - get & & PACKAGE_MANAGER = apt <nl> + command - v yum & & PACKAGE_MANAGER = yum <nl> + command - v pkg & & PACKAGE_MANAGER = pkg <nl> + <nl> + <nl> + case $ PACKAGE_MANAGER in <nl> + apt ) <nl> + case $ WHAT in <nl> + prepare ) <nl> + $ SUDO apt - get update <nl> + ; ; <nl> + svn ) <nl> + $ SUDO apt - get install - y subversion <nl> + ; ; <nl> + gcc * ) <nl> + $ SUDO apt - get install - y $ WHAT $ { WHAT / cc / + + } <nl> + ; ; <nl> + clang * ) <nl> + $ SUDO apt - get install - y $ WHAT libc + + - dev libc + + abi - dev <nl> + [ [ $ ( uname - m ) = = " x86_64 " ] ] & & $ SUDO apt - get install - y $ { WHAT / clang / lld } | | true <nl> + ; ; <nl> + git ) <nl> + $ SUDO apt - get install - y git <nl> + ; ; <nl> + cmake ) <nl> + $ SUDO apt - get install - y cmake3 | | $ SUDO apt - get install - y cmake <nl> + ; ; <nl> + curl ) <nl> + $ SUDO apt - get install - y curl <nl> + ; ; <nl> + jq ) <nl> + $ SUDO apt - get install - y jq <nl> + ; ; <nl> + libssl - dev ) <nl> + $ SUDO apt - get install - y libssl - dev <nl> + ; ; <nl> + libicu - dev ) <nl> + $ SUDO apt - get install - y libicu - dev <nl> + ; ; <nl> + libreadline - dev ) <nl> + $ SUDO apt - get install - y libreadline - dev <nl> + ; ; <nl> + libunixodbc - dev ) <nl> + $ SUDO apt - get install - y unixodbc - dev <nl> + ; ; <nl> + libmariadbclient - dev ) <nl> + $ SUDO apt - get install - y libmariadbclient - dev <nl> + ; ; <nl> + llvm - libs * ) <nl> + $ SUDO apt - get install - y $ { WHAT / llvm - libs / liblld } - dev $ { WHAT / llvm - libs / libclang } - dev <nl> + ; ; <nl> + qemu - user - static ) <nl> + $ SUDO apt - get install - y qemu - user - static <nl> + ; ; <nl> + vagrant - virtualbox ) <nl> + $ SUDO apt - get install - y vagrant virtualbox <nl> + ; ; <nl> + * ) <nl> + echo " Unknown package " ; exit 1 ; <nl> + ; ; <nl> + esac <nl> + ; ; <nl> + pkg ) <nl> + case $ WHAT in <nl> + prepare ) <nl> + ; ; <nl> + svn ) <nl> + $ SUDO pkg install - y subversion <nl> + ; ; <nl> + gcc * ) <nl> + $ SUDO pkg install - y $ { WHAT / - / } <nl> + ; ; <nl> + clang * ) <nl> + $ SUDO pkg install - y clang - devel <nl> + ; ; <nl> + git ) <nl> + $ SUDO pkg install - y git <nl> + ; ; <nl> + cmake ) <nl> + $ SUDO pkg install - y cmake <nl> + ; ; <nl> + curl ) <nl> + $ SUDO pkg install - y curl <nl> + ; ; <nl> + jq ) <nl> + $ SUDO pkg install - y jq <nl> + ; ; <nl> + libssl - dev ) <nl> + $ SUDO pkg install - y openssl <nl> + ; ; <nl> + libicu - dev ) <nl> + $ SUDO pkg install - y icu <nl> + ; ; <nl> + libreadline - dev ) <nl> + $ SUDO pkg install - y readline <nl> + ; ; <nl> + libunixodbc - dev ) <nl> + $ SUDO pkg install - y unixODBC libltdl <nl> + ; ; <nl> + libmariadbclient - dev ) <nl> + $ SUDO pkg install - y mariadb102 - client <nl> + ; ; <nl> + * ) <nl> + echo " Unknown package " ; exit 1 ; <nl> + ; ; <nl> + esac <nl> + ; ; <nl> + * ) <nl> + echo " Unknown distributive " ; exit 1 ; <nl> + ; ; <nl> + esac <nl> new file mode 100644 <nl> index 00000000000 . . 803acae0f93 <nl> mmm / dev / null <nl> ppp b / ci / jobs / quick - build / README . md <nl> <nl> + # # Build with debug mode and without many libraries <nl> + <nl> + This job is intended as first check that build is not broken on wide variety of platforms . <nl> + <nl> + Results of this build are not intended for production usage . <nl> deleted file mode 100644 <nl> index c45d9690c7a . . 00000000000 <nl> mmm a / ci / jobs / quick - build / config <nl> ppp / dev / null <nl> <nl> - SOURCES_METHOD = local <nl> - COMPILER = clang <nl> - COMPILER_INSTALL_METHOD = packages <nl> - COMPILER_PACKAGE_VERSION = 6 . 0 <nl> - USE_LLVM_LIBRARIES_FROM_SYSTEM = 0 <nl> - BUILD_METHOD = normal <nl> - BUILD_TARGETS = clickhouse <nl> - BUILD_TYPE = Debug <nl> - ENABLE_EMBEDDED_COMPILER = 0 <nl> - CMAKE_FLAGS = " - D CMAKE_C_FLAGS_ADD = - g0 - D CMAKE_CXX_FLAGS_ADD = - g0 - D ENABLE_TCMALLOC = 0 - D ENABLE_CAPNP = 0 - D ENABLE_RDKAFKA = 0 - D ENABLE_UNWIND = 0 - D ENABLE_ICU = 0 " <nl> - <nl> - # TODO it doesn ' t build with - D ENABLE_NETSSL = 0 - D ENABLE_MONGODB = 0 - D ENABLE_MYSQL = 0 - D ENABLE_DATA_ODBC = 0 <nl> mmm a / ci / jobs / quick - build / run . sh <nl> ppp b / ci / jobs / quick - build / run . sh <nl> set - e - x <nl> # or : <nl> # . / run - with - docker . sh ubuntu : bionic jobs / quick - build / run . sh <nl> <nl> - CONFIG = " $ ( dirname $ 0 ) " / config <nl> cd " $ ( dirname $ 0 ) " / . . / . . <nl> <nl> . default - config <nl> <nl> + SOURCES_METHOD = local <nl> + COMPILER = clang <nl> + COMPILER_INSTALL_METHOD = packages <nl> + COMPILER_PACKAGE_VERSION = 6 . 0 <nl> + USE_LLVM_LIBRARIES_FROM_SYSTEM = 0 <nl> + BUILD_METHOD = normal <nl> + BUILD_TARGETS = clickhouse <nl> + BUILD_TYPE = Debug <nl> + ENABLE_EMBEDDED_COMPILER = 0 <nl> + <nl> + CMAKE_FLAGS = " - D CMAKE_C_FLAGS_ADD = - g0 - D CMAKE_CXX_FLAGS_ADD = - g0 - D ENABLE_TCMALLOC = 0 - D ENABLE_CAPNP = 0 - D ENABLE_RDKAFKA = 0 - D ENABLE_UNWIND = 0 - D ENABLE_ICU = 0 - D ENABLE_POCO_MONGODB = 0 - D ENABLE_POCO_NETSSL = 0 - D ENABLE_POCO_ODBC = 0 - D ENABLE_MYSQL = 0 " <nl> + <nl> + [ [ $ ( uname ) = = " FreeBSD " ] ] & & COMPILER_PACKAGE_VERSION = devel & & export COMPILER_PATH = / usr / local / bin <nl> + <nl> . get - sources . sh <nl> . prepare - toolchain . sh <nl> . install - libraries . sh <nl> mmm a / ci / prepare - docker - image - ubuntu . sh <nl> ppp b / ci / prepare - docker - image - ubuntu . sh <nl> source default - config <nl> . / check - docker . sh <nl> <nl> # http : / / fl47l1n3 . net / 2015 / 12 / 24 / binfmt / <nl> - $ SUDO apt - get - y install qemu - user - static <nl> + . / install - os - packages . sh qemu - user - static <nl> <nl> pushd docker - multiarch <nl> <nl> mmm a / ci / prepare - toolchain . sh <nl> ppp b / ci / prepare - toolchain . sh <nl> set - e - x <nl> <nl> source default - config <nl> <nl> - # TODO Non debian systems <nl> - apt - cache search cmake3 | grep - P ' ^ cmake3 ' & & $ SUDO apt - get - y install cmake3 | | $ SUDO apt - get - y install cmake <nl> + . / install - os - packages . sh cmake <nl> <nl> if [ [ " $ COMPILER_INSTALL_METHOD " = = " packages " ] ] ; then <nl> - . install - compiler - from - packages . sh ; <nl> + . install - compiler - from - packages . sh <nl> elif [ [ " $ COMPILER_INSTALL_METHOD " = = " sources " ] ] ; then <nl> . install - compiler - from - sources . sh <nl> else <nl> mmm a / ci / prepare - vagrant - image - freebsd . sh <nl> ppp b / ci / prepare - vagrant - image - freebsd . sh <nl> set - e - x <nl> <nl> source default - config <nl> <nl> - $ SUDO apt - get - y install vagrant virtualbox <nl> + . / install - os - packages . sh vagrant - virtualbox <nl> <nl> pushd " vagrant - freebsd " <nl> vagrant up <nl> vagrant ssh - config > vagrant - ssh <nl> ssh - F vagrant - ssh default ' uname - a ' <nl> - scp - F vagrant - ssh - r . . / . . / ci default : ~ <nl> popd <nl> mmm a / ci / run - with - docker . sh <nl> ppp b / ci / run - with - docker . sh <nl> <nl> # ! / usr / bin / env bash <nl> set - e - x <nl> <nl> + mkdir - p / var / cache / ccache <nl> + DOCKER_ENV + = " - - mount = type = bind , source = / var / cache / ccache , destination = / ccache - e CCACHE_DIR = / ccache " <nl> + <nl> PROJECT_ROOT = " $ ( cd " $ ( dirname " $ 0 " ) / . . " ; pwd - P ) " <nl> [ [ - n " $ CONFIG " ] ] & & DOCKER_ENV = " - - env = CONFIG " <nl> docker run - t - - network = host - - mount = type = bind , source = $ { PROJECT_ROOT } , destination = / ClickHouse - - workdir = / ClickHouse / ci $ DOCKER_ENV " $ 1 " " $ 2 " <nl> new file mode 100755 <nl> index 00000000000 . . 620d38071eb <nl> mmm / dev / null <nl> ppp b / ci / run - with - vagrant . sh <nl> <nl> + # ! / usr / bin / env bash <nl> + set - e - x <nl> + <nl> + [ [ - r " vagrant - $ { 1 } / vagrant - ssh " ] ] | | die " Run prepare - vagrant - image - . . . first . " <nl> + <nl> + pushd vagrant - $ 1 <nl> + <nl> + shopt - s extglob <nl> + <nl> + vagrant ssh - c " mkdir - p ClickHouse " <nl> + scp - q - F vagrant - ssh - r . . / . . / ! ( * build * ) default : ~ / ClickHouse <nl> + vagrant ssh - c " cd ClickHouse / ci ; $ 2 " <nl> + <nl> + popd <nl> mmm a / cmake / find_execinfo . cmake <nl> ppp b / cmake / find_execinfo . cmake <nl> <nl> if ( ARCH_FREEBSD ) <nl> find_library ( EXECINFO_LIBRARY execinfo ) <nl> + find_library ( ELF_LIBRARY elf ) <nl> message ( STATUS " Using execinfo : $ { EXECINFO_LIBRARY } " ) <nl> + message ( STATUS " Using elf : $ { ELF_LIBRARY } " ) <nl> else ( ) <nl> set ( EXECINFO_LIBRARY " " ) <nl> + set ( ELF_LIBRARY " " ) <nl> endif ( ) <nl> mmm a / cmake / find_llvm . cmake <nl> ppp b / cmake / find_llvm . cmake <nl> <nl> option ( ENABLE_EMBEDDED_COMPILER " Set to TRUE to enable support for ' compile ' option for query execution " 1 ) <nl> - option ( USE_INTERNAL_LLVM_LIBRARY " Use bundled or system LLVM library . Default : system library for quicker developer builds . " 0 ) <nl> + option ( USE_INTERNAL_LLVM_LIBRARY " Use bundled or system LLVM library . Default : system library for quicker developer builds . " $ { APPLE } ) <nl> <nl> if ( ENABLE_EMBEDDED_COMPILER ) <nl> if ( USE_INTERNAL_LLVM_LIBRARY AND NOT EXISTS " $ { ClickHouse_SOURCE_DIR } / contrib / llvm / llvm / CMakeLists . txt " ) <nl> mmm a / cmake / find_poco . cmake <nl> ppp b / cmake / find_poco . cmake <nl> if ( NOT EXISTS " $ { ClickHouse_SOURCE_DIR } / contrib / poco / CMakeLists . txt " ) <nl> set ( MISSING_INTERNAL_POCO_LIBRARY 1 ) <nl> endif ( ) <nl> <nl> + set ( POCO_COMPONENTS Net XML SQL Data ) <nl> + if ( NOT DEFINED ENABLE_POCO_NETSSL OR ENABLE_POCO_NETSSL ) <nl> + list ( APPEND POCO_COMPONENTS Crypto NetSSL ) <nl> + endif ( ) <nl> + if ( NOT DEFINED ENABLE_POCO_MONGODB OR ENABLE_POCO_MONGODB ) <nl> + list ( APPEND POCO_COMPONENTS MongoDB ) <nl> + endif ( ) <nl> + # TODO : after new poco release with SQL library rename ENABLE_POCO_ODBC - > ENABLE_POCO_SQLODBC <nl> + if ( NOT DEFINED ENABLE_POCO_ODBC OR ENABLE_POCO_ODBC ) <nl> + list ( APPEND POCO_COMPONENTS DataODBC ) <nl> + # list ( APPEND POCO_COMPONENTS SQLODBC ) # future <nl> + endif ( ) <nl> + <nl> if ( NOT USE_INTERNAL_POCO_LIBRARY ) <nl> - find_package ( Poco COMPONENTS Net NetSSL XML SQL Data Crypto DataODBC MongoDB ) <nl> + find_package ( Poco COMPONENTS $ { POCO_COMPONENTS } ) <nl> endif ( ) <nl> <nl> if ( Poco_INCLUDE_DIRS AND Poco_Foundation_LIBRARY ) <nl> elseif ( NOT MISSING_INTERNAL_POCO_LIBRARY ) <nl> " $ { ClickHouse_SOURCE_DIR } / contrib / poco / Util / include / " <nl> ) <nl> <nl> - if ( NOT DEFINED POCO_ENABLE_MONGODB OR POCO_ENABLE_MONGODB ) <nl> - set ( Poco_MongoDB_FOUND 1 ) <nl> + if ( NOT DEFINED ENABLE_POCO_MONGODB OR ENABLE_POCO_MONGODB ) <nl> + set ( USE_POCO_MONGODB 1 ) <nl> set ( Poco_MongoDB_LIBRARY PocoMongoDB ) <nl> set ( Poco_MongoDB_INCLUDE_DIRS " $ { ClickHouse_SOURCE_DIR } / contrib / poco / MongoDB / include / " ) <nl> endif ( ) <nl> <nl> - <nl> if ( EXISTS " $ { ClickHouse_SOURCE_DIR } / contrib / poco / SQL / ODBC / include / " ) <nl> set ( Poco_SQL_FOUND 1 ) <nl> set ( Poco_SQL_LIBRARY PocoSQL ) <nl> elseif ( NOT MISSING_INTERNAL_POCO_LIBRARY ) <nl> " $ { ClickHouse_SOURCE_DIR } / contrib / poco / SQL / include " <nl> " $ { ClickHouse_SOURCE_DIR } / contrib / poco / Data / include " <nl> ) <nl> - if ( ODBC_FOUND ) <nl> - set ( Poco_SQLODBC_FOUND 1 ) <nl> + if ( ( NOT DEFINED ENABLE_POCO_ODBC OR ENABLE_POCO_ODBC ) AND ODBC_FOUND ) <nl> + set ( USE_POCO_SQLODBC 1 ) <nl> set ( Poco_SQLODBC_INCLUDE_DIRS <nl> " $ { ClickHouse_SOURCE_DIR } / contrib / poco / SQL / ODBC / include / " <nl> " $ { ClickHouse_SOURCE_DIR } / contrib / poco / Data / ODBC / include / " <nl> elseif ( NOT MISSING_INTERNAL_POCO_LIBRARY ) <nl> set ( Poco_Data_FOUND 1 ) <nl> set ( Poco_Data_INCLUDE_DIRS " $ { ClickHouse_SOURCE_DIR } / contrib / poco / Data / include " ) <nl> set ( Poco_Data_LIBRARY PocoData ) <nl> - if ( ODBC_FOUND ) <nl> - set ( Poco_DataODBC_FOUND 1 ) <nl> + if ( ( NOT DEFINED ENABLE_POCO_ODBC OR ENABLE_POCO_ODBC ) AND ODBC_FOUND ) <nl> + set ( USE_POCO_DATAODBC 1 ) <nl> set ( Poco_DataODBC_INCLUDE_DIRS <nl> " $ { ClickHouse_SOURCE_DIR } / contrib / poco / Data / ODBC / include / " <nl> $ { ODBC_INCLUDE_DIRECTORIES } <nl> elseif ( NOT MISSING_INTERNAL_POCO_LIBRARY ) <nl> endif ( ) <nl> <nl> # TODO ! fix internal ssl <nl> - if ( OPENSSL_FOUND AND NOT USE_INTERNAL_SSL_LIBRARY ) <nl> - set ( Poco_NetSSL_FOUND 1 ) <nl> + if ( OPENSSL_FOUND AND NOT USE_INTERNAL_SSL_LIBRARY AND ( NOT DEFINED ENABLE_POCO_NETSSL OR ENABLE_POCO_NETSSL ) ) <nl> + set ( USE_POCO_NETSSL 1 ) <nl> set ( Poco_NetSSL_LIBRARY PocoNetSSL ) <nl> set ( Poco_Crypto_LIBRARY PocoCrypto ) <nl> endif ( ) <nl> elseif ( NOT MISSING_INTERNAL_POCO_LIBRARY ) <nl> set ( Poco_XML_LIBRARY PocoXML ) <nl> endif ( ) <nl> <nl> - message ( STATUS " Using Poco : $ { Poco_INCLUDE_DIRS } : $ { Poco_Foundation_LIBRARY } , $ { Poco_Util_LIBRARY } , $ { Poco_Net_LIBRARY } , $ { Poco_NetSSL_LIBRARY } , $ { Poco_XML_LIBRARY } , $ { Poco_Data_LIBRARY } , $ { Poco_DataODBC_LIBRARY } , $ { Poco_MongoDB_LIBRARY } ; MongoDB = $ { Poco_MongoDB_FOUND } , DataODBC = $ { Poco_DataODBC_FOUND } , NetSSL = $ { Poco_NetSSL_FOUND } " ) <nl> + message ( STATUS " Using Poco : $ { Poco_INCLUDE_DIRS } : $ { Poco_Foundation_LIBRARY } , $ { Poco_Util_LIBRARY } , $ { Poco_Net_LIBRARY } , $ { Poco_NetSSL_LIBRARY } , $ { Poco_XML_LIBRARY } , $ { Poco_Data_LIBRARY } , $ { Poco_DataODBC_LIBRARY } , $ { Poco_MongoDB_LIBRARY } ; MongoDB = $ { USE_POCO_MONGODB } , DataODBC = $ { Poco_DataODBC_FOUND } , NetSSL = $ { USE_POCO_NETSSL } " ) <nl> <nl> # How to make sutable poco : <nl> # use branch : <nl> mmm a / contrib / CMakeLists . txt <nl> ppp b / contrib / CMakeLists . txt <nl> if ( USE_INTERNAL_POCO_LIBRARY ) <nl> set ( _save $ { ENABLE_TESTS } ) <nl> set ( ENABLE_TESTS 0 ) <nl> set ( CMAKE_DISABLE_FIND_PACKAGE_ZLIB 1 ) <nl> - if ( USE_INTERNAL_SSL_LIBRARY ) <nl> + if ( USE_INTERNAL_SSL_LIBRARY OR ( DEFINED ENABLE_POCO_NETSSL AND NOT ENABLE_POCO_NETSSL ) ) <nl> set ( DISABLE_INTERNAL_OPENSSL 1 CACHE INTERNAL " " ) <nl> set ( ENABLE_NETSSL 0 CACHE INTERNAL " " ) # TODO ! <nl> set ( ENABLE_CRYPTO 0 CACHE INTERNAL " " ) # TODO ! <nl> if ( USE_INTERNAL_POCO_LIBRARY ) <nl> set ( ENABLE_TESTS $ { _save } ) <nl> set ( CMAKE_CXX_FLAGS $ { save_CMAKE_CXX_FLAGS } ) <nl> set ( CMAKE_C_FLAGS $ { save_CMAKE_C_FLAGS } ) <nl> - if ( OPENSSL_FOUND AND TARGET Crypto ) <nl> + <nl> + if ( OPENSSL_FOUND AND TARGET Crypto AND ( NOT DEFINED ENABLE_POCO_NETSSL OR ENABLE_POCO_NETSSL ) ) <nl> # Bug in poco https : / / github . com / pocoproject / poco / pull / 2100 found on macos <nl> target_include_directories ( Crypto PUBLIC $ { OPENSSL_INCLUDE_DIR } ) <nl> endif ( ) <nl> mmm a / contrib / llvm <nl> ppp b / contrib / llvm <nl> @ @ - 1 + 1 @ @ <nl> - Subproject commit 6b3975cf38d5c9436e1311b7e54ad93ef1a9aa9c <nl> + Subproject commit 163def217817c90fb982a6daf384744d8472b92b <nl> mmm a / contrib / poco <nl> ppp b / contrib / poco <nl> @ @ - 1 + 1 @ @ <nl> - Subproject commit 2d5a158303adf9d47b980cdcfdb26cee1460704e <nl> + Subproject commit 3a2d0a833a22ef5e1164a9ada54e3253cb038904 <nl> mmm a / dbms / CMakeLists . txt <nl> ppp b / dbms / CMakeLists . txt <nl> if ( USE_EMBEDDED_COMPILER ) <nl> if ( TERMCAP_LIBRARY ) <nl> list ( APPEND REQUIRED_LLVM_LIBRARIES $ { TERMCAP_LIBRARY } ) <nl> endif ( ) <nl> - if ( LTDL_LIBRARY ) <nl> - list ( APPEND REQUIRED_LLVM_LIBRARIES $ { LTDL_LIBRARY } ) <nl> - endif ( ) <nl> + list ( APPEND REQUIRED_LLVM_LIBRARIES $ { CMAKE_DL_LIBS } ) <nl> <nl> target_link_libraries ( dbms $ { REQUIRED_LLVM_LIBRARIES } ) <nl> target_include_directories ( dbms BEFORE PUBLIC $ { LLVM_INCLUDE_DIRS } ) <nl> target_link_libraries ( clickhouse_common_io <nl> $ { Poco_Data_LIBRARY } <nl> $ { ZLIB_LIBRARIES } <nl> $ { EXECINFO_LIBRARY } <nl> + $ { ELF_LIBRARY } <nl> $ { Boost_SYSTEM_LIBRARY } <nl> $ { CMAKE_DL_LIBS } <nl> ) <nl> if ( NOT USE_INTERNAL_BOOST_LIBRARY ) <nl> target_include_directories ( clickhouse_common_io BEFORE PUBLIC $ { Boost_INCLUDE_DIRS } ) <nl> endif ( ) <nl> <nl> - if ( Poco_SQLODBC_FOUND ) <nl> + if ( USE_POCO_SQLODBC ) <nl> target_link_libraries ( clickhouse_common_io $ { Poco_SQL_LIBRARY } ) <nl> target_link_libraries ( dbms $ { Poco_SQLODBC_LIBRARY } $ { Poco_SQL_LIBRARY } ) <nl> if ( NOT USE_INTERNAL_POCO_LIBRARY ) <nl> if ( Poco_Data_FOUND AND NOT USE_INTERNAL_POCO_LIBRARY ) <nl> target_include_directories ( dbms PRIVATE $ { Poco_Data_INCLUDE_DIRS } ) <nl> endif ( ) <nl> <nl> - if ( Poco_DataODBC_FOUND ) <nl> + if ( USE_POCO_DATAODBC ) <nl> target_link_libraries ( clickhouse_common_io $ { Poco_Data_LIBRARY } ) <nl> target_link_libraries ( dbms $ { Poco_DataODBC_LIBRARY } ) <nl> if ( NOT USE_INTERNAL_POCO_LIBRARY ) <nl> if ( Poco_DataODBC_FOUND ) <nl> endif ( ) <nl> endif ( ) <nl> <nl> - <nl> - if ( Poco_MongoDB_FOUND ) <nl> + if ( USE_POCO_MONGODB ) <nl> target_link_libraries ( dbms $ { Poco_MongoDB_LIBRARY } ) <nl> endif ( ) <nl> <nl> - if ( Poco_NetSSL_FOUND ) <nl> + if ( USE_POCO_NETSSL ) <nl> target_link_libraries ( clickhouse_common_io $ { Poco_NetSSL_LIBRARY } ) <nl> endif ( ) <nl> <nl> mmm a / dbms / src / Client / Connection . cpp <nl> ppp b / dbms / src / Client / Connection . cpp <nl> <nl> # include < Interpreters / ClientInfo . h > <nl> <nl> # include < Common / config . h > <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> # include < Poco / Net / SecureStreamSocket . h > <nl> # endif <nl> <nl> void Connection : : connect ( ) <nl> <nl> if ( static_cast < bool > ( secure ) ) <nl> { <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> socket = std : : make_unique < Poco : : Net : : SecureStreamSocket > ( ) ; <nl> # else <nl> throw Exception { " tcp_secure protocol is disabled because poco library was built without NetSSL support . " , ErrorCodes : : SUPPORT_IS_DISABLED } ; <nl> mmm a / dbms / src / Common / Config / ConfigProcessor . cpp <nl> ppp b / dbms / src / Common / Config / ConfigProcessor . cpp <nl> ConfigProcessor : : Files ConfigProcessor : : getConfigMergeFiles ( const std : : string & <nl> Files files ; <nl> <nl> Poco : : Path merge_dir_path ( config_path ) ; <nl> - merge_dir_path . setExtension ( " d " ) ; <nl> + std : : set < std : : string > merge_dirs ; <nl> <nl> - std : : vector < std : : string > merge_dirs ; <nl> - merge_dirs . push_back ( merge_dir_path . toString ( ) ) ; <nl> - if ( merge_dir_path . getBaseName ( ) ! = " conf " ) <nl> - { <nl> - merge_dir_path . setBaseName ( " conf " ) ; <nl> - merge_dirs . push_back ( merge_dir_path . toString ( ) ) ; <nl> - } <nl> + / / / Add path_to_config / config_name . d dir <nl> + merge_dir_path . setExtension ( " d " ) ; <nl> + merge_dirs . insert ( merge_dir_path . toString ( ) ) ; <nl> + / / / Add path_to_config / conf . d dir <nl> + merge_dir_path . setBaseName ( " conf " ) ; <nl> + merge_dirs . insert ( merge_dir_path . toString ( ) ) ; <nl> + / / / Add path_to_config / config . d dir <nl> + merge_dir_path . setBaseName ( " config " ) ; <nl> + merge_dirs . insert ( merge_dir_path . toString ( ) ) ; <nl> <nl> for ( const std : : string & merge_dir_name : merge_dirs ) <nl> { <nl> mmm a / dbms / src / Common / config . h . in <nl> ppp b / dbms / src / Common / config . h . in <nl> <nl> # cmakedefine01 USE_CAPNP <nl> # cmakedefine01 USE_EMBEDDED_COMPILER <nl> # cmakedefine01 LLVM_HAS_RTTI <nl> - # cmakedefine01 Poco_SQLODBC_FOUND <nl> - # cmakedefine01 Poco_DataODBC_FOUND <nl> - # cmakedefine01 Poco_MongoDB_FOUND <nl> - # cmakedefine01 Poco_NetSSL_FOUND <nl> + # cmakedefine01 USE_POCO_SQLODBC <nl> + # cmakedefine01 USE_POCO_DATAODBC <nl> + # cmakedefine01 USE_POCO_MONGODB <nl> + # cmakedefine01 USE_POCO_NETSSL <nl> mmm a / dbms / src / Common / config_build . cpp . in <nl> ppp b / dbms / src / Common / config_build . cpp . in <nl> const char * auto_config_build [ ] <nl> " USE_VECTORCLASS " , " @ USE_VECTORCLASS @ " , <nl> " USE_RDKAFKA " , " @ USE_RDKAFKA @ " , <nl> " USE_CAPNP " , " @ USE_CAPNP @ " , <nl> - " USE_Poco_SQLODBC " , " @ Poco_SQLODBC_FOUND @ " , <nl> - " USE_Poco_DataODBC " , " @ Poco_DataODBC_FOUND @ " , <nl> - " USE_Poco_MongoDB " , " @ Poco_MongoDB_FOUND @ " , <nl> - " USE_Poco_NetSSL " , " @ Poco_NetSSL_FOUND @ " , <nl> + " USE_POCO_SQLODBC " , " @ USE_POCO_SQLODBC @ " , <nl> + " USE_POCO_DATAODBC " , " @ USE_POCO_DATAODBC @ " , <nl> + " USE_POCO_MONGODB " , " @ USE_POCO_MONGODB @ " , <nl> + " USE_POCO_NETSSL " , " @ USE_POCO_NETSSL @ " , <nl> <nl> nullptr , nullptr <nl> } ; <nl> mmm a / dbms / src / Dictionaries / DictionarySourceFactory . cpp <nl> ppp b / dbms / src / Dictionaries / DictionarySourceFactory . cpp <nl> <nl> # include < mutex > <nl> <nl> # include < Common / config . h > <nl> - # if Poco_MongoDB_FOUND <nl> + # if USE_POCO_MONGODB <nl> # include < Dictionaries / MongoDBDictionarySource . h > <nl> # endif <nl> - # if Poco_SQLODBC_FOUND | | Poco_DataODBC_FOUND <nl> + # if USE_POCO_SQLODBC | | USE_POCO_DATAODBC <nl> # pragma GCC diagnostic push <nl> # pragma GCC diagnostic ignored " - Wunused - parameter " <nl> # include < Poco / Data / ODBC / Connector . h > <nl> Block createSampleBlock ( const DictionaryStructure & dict_struct ) <nl> DictionarySourceFactory : : DictionarySourceFactory ( ) <nl> : log ( & Poco : : Logger : : get ( " DictionarySourceFactory " ) ) <nl> { <nl> - # if Poco_SQLODBC_FOUND | | Poco_DataODBC_FOUND <nl> + # if USE_POCO_SQLODBC | | USE_POCO_DATAODBC <nl> Poco : : Data : : ODBC : : Connector : : registerConnector ( ) ; <nl> # endif <nl> } <nl> DictionarySourcePtr DictionarySourceFactory : : create ( <nl> } <nl> else if ( " mongodb " = = source_type ) <nl> { <nl> - # if Poco_MongoDB_FOUND <nl> + # if USE_POCO_MONGODB <nl> return std : : make_unique < MongoDBDictionarySource > ( dict_struct , config , config_prefix + " . mongodb " , sample_block ) ; <nl> # else <nl> throw Exception { " Dictionary source of type ` mongodb ` is disabled because poco library was built without mongodb support . " , <nl> DictionarySourcePtr DictionarySourceFactory : : create ( <nl> } <nl> else if ( " odbc " = = source_type ) <nl> { <nl> - # if Poco_SQLODBC_FOUND | | Poco_DataODBC_FOUND <nl> + # if USE_POCO_SQLODBC | | USE_POCO_DATAODBC <nl> return std : : make_unique < ODBCDictionarySource > ( dict_struct , config , config_prefix + " . odbc " , sample_block , context ) ; <nl> # else <nl> throw Exception { " Dictionary source of type ` odbc ` is disabled because poco library was built without ODBC support . " , <nl> DictionarySourcePtr DictionarySourceFactory : : create ( <nl> if ( dict_struct . has_expressions ) <nl> throw Exception { " Dictionary source of type ` http ` does not support attribute expressions " , ErrorCodes : : LOGICAL_ERROR } ; <nl> <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> / / Used for https queries <nl> std : : call_once ( ssl_init_once , SSLInit ) ; <nl> # endif <nl> mmm a / dbms / src / Dictionaries / MongoDBBlockInputStream . cpp <nl> ppp b / dbms / src / Dictionaries / MongoDBBlockInputStream . cpp <nl> <nl> # include < Common / config . h > <nl> - # if Poco_MongoDB_FOUND <nl> + # if USE_POCO_MONGODB <nl> <nl> # include < vector > <nl> # include < string > <nl> mmm a / dbms / src / Dictionaries / MongoDBDictionarySource . cpp <nl> ppp b / dbms / src / Dictionaries / MongoDBDictionarySource . cpp <nl> <nl> # include < Common / config . h > <nl> - # if Poco_MongoDB_FOUND <nl> + # if USE_POCO_MONGODB <nl> # include < Poco / Util / AbstractConfiguration . h > <nl> <nl> # pragma GCC diagnostic push <nl> mmm a / dbms / src / Dictionaries / MySQLBlockInputStream . h <nl> ppp b / dbms / src / Dictionaries / MySQLBlockInputStream . h <nl> class MySQLBlockInputStream final : public IProfilingBlockInputStream <nl> <nl> String getName ( ) const override { return " MySQL " ; } <nl> <nl> - Block getHeader ( ) const override { return description . sample_block ; } ; <nl> + Block getHeader ( ) const override { return description . sample_block ; } <nl> <nl> private : <nl> Block readImpl ( ) override ; <nl> mmm a / dbms / src / Functions / FunctionsMiscellaneous . cpp <nl> ppp b / dbms / src / Functions / FunctionsMiscellaneous . cpp <nl> class FunctionIn : public IFunction <nl> tuple = typeid_cast < const ColumnTuple * > ( materialized_tuple . get ( ) ) ; <nl> } <nl> <nl> - if ( tuple ) <nl> + if ( tuple & & type_tuple - > getElements ( ) . size ( ) ! = 1 ) <nl> { <nl> const Columns & tuple_columns = tuple - > getColumns ( ) ; <nl> const DataTypes & tuple_types = type_tuple - > getElements ( ) ; <nl> mmm a / dbms / src / IO / HTTPCommon . cpp <nl> ppp b / dbms / src / IO / HTTPCommon . cpp <nl> <nl> # include < IO / HTTPCommon . h > <nl> <nl> # include < Common / config . h > <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> # include < Poco / Net / AcceptCertificateHandler . h > <nl> # include < Poco / Net / Context . h > <nl> # include < Poco / Net / InvalidCertificateHandler . h > <nl> std : : once_flag ssl_init_once ; <nl> void SSLInit ( ) <nl> { <nl> / / http : / / stackoverflow . com / questions / 18315472 / https - request - in - c - using - poco <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> Poco : : Net : : initializeSSL ( ) ; <nl> # endif <nl> } <nl> mmm a / dbms / src / IO / ReadWriteBufferFromHTTP . cpp <nl> ppp b / dbms / src / IO / ReadWriteBufferFromHTTP . cpp <nl> <nl> # include < Poco / Version . h > <nl> # include < common / logger_useful . h > <nl> <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> # include < Poco / Net / HTTPSClientSession . h > <nl> # endif <nl> <nl> ReadWriteBufferFromHTTP : : ReadWriteBufferFromHTTP ( const Poco : : URI & uri , <nl> session <nl> { <nl> std : : unique_ptr < Poco : : Net : : HTTPClientSession > ( <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> is_ssl ? new Poco : : Net : : HTTPSClientSession : <nl> # endif <nl> new Poco : : Net : : HTTPClientSession ) <nl> mmm a / dbms / src / Interpreters / DNSCacheUpdater . h <nl> ppp b / dbms / src / Interpreters / DNSCacheUpdater . h <nl> <nl> # pragma once <nl> + <nl> # include < memory > <nl> + # include < ctime > <nl> + # include < cstddef > <nl> <nl> <nl> namespace DB <nl> mmm a / dbms / src / Interpreters / ExpressionAnalyzer . cpp <nl> ppp b / dbms / src / Interpreters / ExpressionAnalyzer . cpp <nl> <nl> # include < Interpreters / convertFieldToType . h > <nl> # include < Interpreters / Set . h > <nl> # include < Interpreters / Join . h > <nl> + # include < Interpreters / ProjectionManipulation . h > <nl> + # include < Interpreters / evaluateConstantExpression . h > <nl> <nl> # include < AggregateFunctions / AggregateFunctionFactory . h > <nl> # include < AggregateFunctions / parseAggregateFunctionParameters . h > <nl> <nl> # include < DataTypes / DataTypeFactory . h > <nl> # include < DataTypes / DataTypeFunction . h > <nl> # include < Functions / FunctionsMiscellaneous . h > <nl> - # include " ProjectionManipulation . h " <nl> + # include < DataTypes / DataTypeTuple . h > <nl> <nl> <nl> namespace DB <nl> void ExpressionAnalyzer : : makeExplicitSet ( const ASTFunction * node , const Block & <nl> if ( args . children . size ( ) ! = 2 ) <nl> throw Exception ( " Wrong number of arguments passed to function in " , ErrorCodes : : NUMBER_OF_ARGUMENTS_DOESNT_MATCH ) ; <nl> <nl> - const ASTPtr & arg = args . children . at ( 1 ) ; <nl> - <nl> - DataTypes set_element_types ; <nl> const ASTPtr & left_arg = args . children . at ( 0 ) ; <nl> + const ASTPtr & right_arg = args . children . at ( 1 ) ; <nl> <nl> - const ASTFunction * left_arg_tuple = typeid_cast < const ASTFunction * > ( left_arg . get ( ) ) ; <nl> - <nl> - / * * NOTE If tuple in left hand side specified non - explicitly <nl> - * Example : identity ( ( a , b ) ) IN ( ( 1 , 2 ) , ( 3 , 4 ) ) <nl> - * instead of ( a , b ) ) IN ( ( 1 , 2 ) , ( 3 , 4 ) ) <nl> - * then set creation doesn ' t work correctly . <nl> - * / <nl> - if ( left_arg_tuple & & left_arg_tuple - > name = = " tuple " ) <nl> - { <nl> - for ( const auto & arg : left_arg_tuple - > arguments - > children ) <nl> - set_element_types . push_back ( sample_block . getByName ( arg - > getColumnName ( ) ) . type ) ; <nl> - } <nl> - else <nl> - { <nl> - DataTypePtr left_type = sample_block . getByName ( left_arg - > getColumnName ( ) ) . type ; <nl> - set_element_types . push_back ( left_type ) ; <nl> - } <nl> - <nl> - / / / The case ` x in ( 1 , 2 ) ` distinguishes from the case ` x in 1 ` ( also ` x in ( 1 ) ` ) . <nl> - bool single_value = false ; <nl> - ASTPtr elements_ast = arg ; <nl> - <nl> - if ( ASTFunction * set_func = typeid_cast < ASTFunction * > ( arg . get ( ) ) ) <nl> + auto getTupleTypeFromAst = [ this ] ( const ASTPtr & node ) - > DataTypePtr <nl> { <nl> - if ( set_func - > name = = " tuple " ) <nl> + auto ast_function = typeid_cast < const ASTFunction * > ( node . get ( ) ) ; <nl> + if ( ast_function & & ast_function - > name = = " tuple " & & ! ast_function - > arguments - > children . empty ( ) ) <nl> { <nl> - if ( set_func - > arguments - > children . empty ( ) ) <nl> - { <nl> - / / / Empty set . <nl> - elements_ast = set_func - > arguments ; <nl> - } <nl> - else <nl> - { <nl> - / / / Distinguish the case ` ( x , y ) in ( ( 1 , 2 ) , ( 3 , 4 ) ) ` from the case ` ( x , y ) in ( 1 , 2 ) ` . <nl> - ASTFunction * any_element = typeid_cast < ASTFunction * > ( set_func - > arguments - > children . at ( 0 ) . get ( ) ) ; <nl> - if ( set_element_types . size ( ) > = 2 & & ( ! any_element | | any_element - > name ! = " tuple " ) ) <nl> - single_value = true ; <nl> - else <nl> - elements_ast = set_func - > arguments ; <nl> - } <nl> + / / / Won ' t parse all values of outer tuple . <nl> + auto element = ast_function - > arguments - > children . at ( 0 ) ; <nl> + std : : pair < Field , DataTypePtr > value_raw = evaluateConstantExpression ( element , context ) ; <nl> + return std : : make_shared < DataTypeTuple > ( DataTypes ( { value_raw . second } ) ) ; <nl> } <nl> - else <nl> - { <nl> - if ( set_element_types . size ( ) > = 2 ) <nl> - throw Exception ( " Incorrect type of 2nd argument for function " + node - > name <nl> - + " . Must be subquery or set of " + toString ( set_element_types . size ( ) ) + " - element tuples . " , <nl> - ErrorCodes : : ILLEGAL_TYPE_OF_ARGUMENT ) ; <nl> <nl> - single_value = true ; <nl> - } <nl> - } <nl> - else if ( typeid_cast < ASTLiteral * > ( arg . get ( ) ) ) <nl> - { <nl> - single_value = true ; <nl> - } <nl> - else <nl> + return evaluateConstantExpression ( node , context ) . second ; <nl> + } ; <nl> + <nl> + const DataTypePtr & left_arg_type = sample_block . getByName ( left_arg - > getColumnName ( ) ) . type ; <nl> + const DataTypePtr & right_arg_type = getTupleTypeFromAst ( right_arg ) ; <nl> + <nl> + std : : function < size_t ( const DataTypePtr & ) > getTupleDepth ; <nl> + getTupleDepth = [ & getTupleDepth ] ( const DataTypePtr & type ) - > size_t <nl> { <nl> - throw Exception ( " Incorrect type of 2nd argument for function " + node - > name + " . Must be subquery or set of values . " , <nl> - ErrorCodes : : ILLEGAL_TYPE_OF_ARGUMENT ) ; <nl> - } <nl> + if ( auto tuple_type = typeid_cast < const DataTypeTuple * > ( type . get ( ) ) ) <nl> + return 1 + ( tuple_type - > getElements ( ) . empty ( ) ? 0 : getTupleDepth ( tuple_type - > getElements ( ) . at ( 0 ) ) ) ; <nl> + <nl> + return 0 ; <nl> + } ; <nl> + <nl> + size_t left_tuple_depth = getTupleDepth ( left_arg_type ) ; <nl> + size_t right_tuple_depth = getTupleDepth ( right_arg_type ) ; <nl> <nl> - if ( single_value ) <nl> + DataTypes set_element_types = { left_arg_type } ; <nl> + auto left_tuple_type = typeid_cast < const DataTypeTuple * > ( left_arg_type . get ( ) ) ; <nl> + if ( left_tuple_type & & left_tuple_type - > getElements ( ) . size ( ) ! = 1 ) <nl> + set_element_types = left_tuple_type - > getElements ( ) ; <nl> + <nl> + ASTPtr elements_ast = nullptr ; <nl> + <nl> + / / / 1 in 1 ; ( 1 , 2 ) in ( 1 , 2 ) ; identity ( tuple ( tuple ( tuple ( 1 ) ) ) ) in tuple ( tuple ( tuple ( 1 ) ) ) ; etc . <nl> + if ( left_tuple_depth = = right_tuple_depth ) <nl> { <nl> ASTPtr exp_list = std : : make_shared < ASTExpressionList > ( ) ; <nl> - exp_list - > children . push_back ( elements_ast ) ; <nl> + exp_list - > children . push_back ( right_arg ) ; <nl> elements_ast = exp_list ; <nl> } <nl> + / / / 1 in ( 1 , 2 ) ; ( 1 , 2 ) in ( ( 1 , 2 ) , ( 3 , 4 ) ) ; etc . <nl> + else if ( left_tuple_depth + 1 = = right_tuple_depth ) <nl> + { <nl> + ASTFunction * set_func = typeid_cast < ASTFunction * > ( right_arg . get ( ) ) ; <nl> + <nl> + if ( ! set_func | | set_func - > name ! = " tuple " ) <nl> + throw Exception ( " Incorrect type of 2nd argument for function " + node - > name <nl> + + " . Must be subquery or set of elements with type " + left_arg_type - > getName ( ) + " . " , <nl> + ErrorCodes : : ILLEGAL_TYPE_OF_ARGUMENT ) ; <nl> + <nl> + elements_ast = set_func - > arguments ; <nl> + } <nl> + else <nl> + throw Exception ( " Invalid types for IN function : " <nl> + + left_arg_type - > getName ( ) + " and " + right_arg_type - > getName ( ) + " . " , <nl> + ErrorCodes : : ILLEGAL_TYPE_OF_ARGUMENT ) ; <nl> <nl> SetPtr set = std : : make_shared < Set > ( SizeLimits ( settings . max_rows_in_set , settings . max_bytes_in_set , settings . set_overflow_mode ) ) ; <nl> set - > createFromAST ( set_element_types , elements_ast , context , create_ordered_set ) ; <nl> - prepared_sets [ arg . get ( ) ] = std : : move ( set ) ; <nl> + prepared_sets [ right_arg . get ( ) ] = std : : move ( set ) ; <nl> } <nl> <nl> <nl> void ExpressionAnalyzer : : getActionsImpl ( const ASTPtr & ast , bool no_subqueries , <nl> / / / If the function has an argument - lambda expression , you need to determine its type before the recursive call . <nl> bool has_lambda_arguments = false ; <nl> <nl> - for ( auto & child : node - > arguments - > children ) <nl> + for ( size_t arg = 0 ; arg < node - > arguments - > children . size ( ) ; + + arg ) <nl> { <nl> + auto & child = node - > arguments - > children [ arg ] ; <nl> + <nl> ASTFunction * lambda = typeid_cast < ASTFunction * > ( child . get ( ) ) ; <nl> if ( lambda & & lambda - > name = = " lambda " ) <nl> { <nl> void ExpressionAnalyzer : : getActionsImpl ( const ASTPtr & ast , bool no_subqueries , <nl> / / / Select the name in the next cycle . <nl> argument_names . emplace_back ( ) ; <nl> } <nl> - else if ( prepared_sets . count ( child . get ( ) ) ) <nl> + else if ( prepared_sets . count ( child . get ( ) ) & & functionIsInOrGlobalInOperator ( node - > name ) & & arg = = 1 ) <nl> { <nl> ColumnWithTypeAndName column ; <nl> column . type = std : : make_shared < DataTypeSet > ( ) ; <nl> void ExpressionAnalyzer : : getActionsImpl ( const ASTPtr & ast , bool no_subqueries , <nl> <nl> Names captured ; <nl> Names required = lambda_actions - > getRequiredColumns ( ) ; <nl> - for ( size_t j = 0 ; j < required . size ( ) ; + + j ) <nl> - if ( findColumn ( required [ j ] , lambda_arguments ) = = lambda_arguments . end ( ) ) <nl> - captured . push_back ( required [ j ] ) ; <nl> + for ( const auto & required_arg : required ) <nl> + if ( findColumn ( required_arg , lambda_arguments ) = = lambda_arguments . end ( ) ) <nl> + captured . push_back ( required_arg ) ; <nl> <nl> / / / We can not name ` getColumnName ( ) ` , <nl> / / / because it does not uniquely define the expression ( the types of arguments can be different ) . <nl> void ExpressionAnalyzer : : getActionsImpl ( const ASTPtr & ast , bool no_subqueries , <nl> <nl> if ( only_consts ) <nl> { <nl> - for ( size_t i = 0 ; i < argument_names . size ( ) ; + + i ) <nl> + for ( const auto & argument_name : argument_names ) <nl> { <nl> - if ( ! actions_stack . getSampleBlock ( ) . has ( argument_names [ i ] ) ) <nl> + if ( ! actions_stack . getSampleBlock ( ) . has ( argument_name ) ) <nl> { <nl> arguments_present = false ; <nl> break ; <nl> mmm a / dbms / src / Interpreters / Set . cpp <nl> ppp b / dbms / src / Interpreters / Set . cpp <nl> void Set : : createFromAST ( const DataTypes & types , ASTPtr node , const Context & co <nl> <nl> MutableColumns columns = header . cloneEmptyColumns ( ) ; <nl> <nl> + DataTypePtr tuple_type ; <nl> Row tuple_values ; <nl> ASTExpressionList & list = typeid_cast < ASTExpressionList & > ( * node ) ; <nl> for ( auto & elem : list . children ) <nl> void Set : : createFromAST ( const DataTypes & types , ASTPtr node , const Context & co <nl> } <nl> else if ( ASTFunction * func = typeid_cast < ASTFunction * > ( elem . get ( ) ) ) <nl> { <nl> + Field function_result ; <nl> + const TupleBackend * tuple = nullptr ; <nl> if ( func - > name ! = " tuple " ) <nl> - throw Exception ( " Incorrect element of set . Must be tuple . " , ErrorCodes : : INCORRECT_ELEMENT_OF_SET ) ; <nl> + { <nl> + if ( ! tuple_type ) <nl> + tuple_type = std : : make_shared < DataTypeTuple > ( types ) ; <nl> + <nl> + function_result = extractValueFromNode ( elem , * tuple_type , context ) ; <nl> + if ( function_result . getType ( ) ! = Field : : Types : : Tuple ) <nl> + throw Exception ( " Invalid type of set . Expected tuple , got " + String ( function_result . getTypeName ( ) ) , <nl> + ErrorCodes : : INCORRECT_ELEMENT_OF_SET ) ; <nl> + <nl> + tuple = & function_result . get < Tuple > ( ) . t ; <nl> + } <nl> <nl> - size_t tuple_size = func - > arguments - > children . size ( ) ; <nl> + size_t tuple_size = tuple ? tuple - > size ( ) : func - > arguments - > children . size ( ) ; <nl> if ( tuple_size ! = num_columns ) <nl> throw Exception ( " Incorrect size of tuple in set : " + toString ( tuple_size ) + " instead of " + toString ( num_columns ) , <nl> ErrorCodes : : INCORRECT_ELEMENT_OF_SET ) ; <nl> void Set : : createFromAST ( const DataTypes & types , ASTPtr node , const Context & co <nl> size_t i = 0 ; <nl> for ( ; i < tuple_size ; + + i ) <nl> { <nl> - Field value = extractValueFromNode ( func - > arguments - > children [ i ] , * types [ i ] , context ) ; <nl> + Field value = tuple ? ( * tuple ) [ i ] <nl> + : extractValueFromNode ( func - > arguments - > children [ i ] , * types [ i ] , context ) ; <nl> <nl> / / / If at least one of the elements of the tuple has an impossible ( outside the range of the type ) value , then the entire tuple too . <nl> if ( value . isNull ( ) ) <nl> mmm a / dbms / src / Interpreters / Settings . h <nl> ppp b / dbms / src / Interpreters / Settings . h <nl> struct Settings <nl> \ <nl> M ( SettingBool , merge_tree_uniform_read_distribution , true , " Distribute read from MergeTree over threads evenly , ensuring stable average execution time of each thread within one read operation . " ) \ <nl> \ <nl> + M ( SettingUInt64 , mysql_max_rows_to_insert , 65536 , " The maximum number of rows in MySQL batch insertion of the MySQL storage engine " ) \ <nl> + \ <nl> M ( SettingUInt64 , optimize_min_equality_disjunction_chain_length , 3 , " The minimum length of the expression ` expr = x1 OR . . . expr = xN ` for optimization " ) \ <nl> \ <nl> M ( SettingUInt64 , min_bytes_to_use_direct_io , 0 , " The minimum number of bytes for input / output operations is bypassing the page cache . 0 - disabled . " ) \ <nl> mmm a / dbms / src / Server / Compiler - 5 . 0 . 0 / CMakeLists . txt <nl> ppp b / dbms / src / Server / Compiler - 5 . 0 . 0 / CMakeLists . txt <nl> llvm_map_components_to_libnames ( REQUIRED_LLVM_LIBRARIES all ) <nl> if ( TERMCAP_LIBRARY ) <nl> list ( APPEND REQUIRED_LLVM_LIBRARIES $ { TERMCAP_LIBRARY } ) <nl> endif ( ) <nl> - if ( LTDL_LIBRARY ) <nl> - list ( APPEND REQUIRED_LLVM_LIBRARIES $ { LTDL_LIBRARY } ) <nl> - endif ( ) <nl> + list ( APPEND REQUIRED_LLVM_LIBRARIES $ { CMAKE_DL_LIBS } ) <nl> + <nl> <nl> message ( STATUS " Using LLVM $ { LLVM_VERSION } : $ { LLVM_INCLUDE_DIRS } : $ { REQUIRED_LLVM_LIBRARIES } " ) <nl> <nl> mmm a / dbms / src / Server / Compiler - 6 . 0 . 0 / CMakeLists . txt <nl> ppp b / dbms / src / Server / Compiler - 6 . 0 . 0 / CMakeLists . txt <nl> llvm_map_components_to_libnames ( REQUIRED_LLVM_LIBRARIES all ) <nl> if ( TERMCAP_LIBRARY ) <nl> list ( APPEND REQUIRED_LLVM_LIBRARIES $ { TERMCAP_LIBRARY } ) <nl> endif ( ) <nl> - if ( LTDL_LIBRARY ) <nl> - list ( APPEND REQUIRED_LLVM_LIBRARIES $ { LTDL_LIBRARY } ) <nl> - endif ( ) <nl> + list ( APPEND REQUIRED_LLVM_LIBRARIES $ { CMAKE_DL_LIBS } ) <nl> <nl> message ( STATUS " Using LLVM $ { LLVM_VERSION } : $ { LLVM_INCLUDE_DIRS } : $ { REQUIRED_LLVM_LIBRARIES } " ) <nl> <nl> mmm a / dbms / src / Server / Compiler - 7 . 0 . 0 / CMakeLists . txt <nl> ppp b / dbms / src / Server / Compiler - 7 . 0 . 0 / CMakeLists . txt <nl> llvm_map_components_to_libnames ( REQUIRED_LLVM_LIBRARIES all ) <nl> if ( TERMCAP_LIBRARY ) <nl> list ( APPEND REQUIRED_LLVM_LIBRARIES $ { TERMCAP_LIBRARY } ) <nl> endif ( ) <nl> - if ( LTDL_LIBRARY ) <nl> - list ( APPEND REQUIRED_LLVM_LIBRARIES $ { LTDL_LIBRARY } ) <nl> - endif ( ) <nl> + list ( APPEND REQUIRED_LLVM_LIBRARIES $ { CMAKE_DL_LIBS } ) <nl> + <nl> <nl> message ( STATUS " Using LLVM $ { LLVM_VERSION } : $ { LLVM_INCLUDE_DIRS } : $ { REQUIRED_LLVM_LIBRARIES } " ) <nl> <nl> mmm a / dbms / src / Server / Server . cpp <nl> ppp b / dbms / src / Server / Server . cpp <nl> <nl> # include < Interpreters / DDLWorker . h > <nl> # include < Interpreters / ProcessList . h > <nl> # include < Interpreters / loadMetadata . h > <nl> + # include < Interpreters / DNSCacheUpdater . h > <nl> # include < Storages / StorageReplicatedMergeTree . h > <nl> # include < Storages / System / attachSystemTables . h > <nl> # include < AggregateFunctions / registerAggregateFunctions . h > <nl> <nl> # include " StatusFile . h " <nl> # include " TCPHandlerFactory . h " <nl> <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> # include < Poco / Net / Context . h > <nl> # include < Poco / Net / SecureServerSocket . h > <nl> - # include < Interpreters / DNSCacheUpdater . h > <nl> - <nl> - <nl> # endif <nl> <nl> namespace CurrentMetrics <nl> int Server : : main ( const std : : vector < std : : string > & / * args * / ) <nl> / / / HTTPS <nl> if ( config ( ) . has ( " https_port " ) ) <nl> { <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> std : : call_once ( ssl_init_once , SSLInit ) ; <nl> <nl> Poco : : Net : : SecureServerSocket socket ; <nl> int Server : : main ( const std : : vector < std : : string > & / * args * / ) <nl> / / / TCP with SSL <nl> if ( config ( ) . has ( " tcp_port_secure " ) ) <nl> { <nl> - # if Poco_NetSSL_FOUND <nl> + # if USE_POCO_NETSSL <nl> Poco : : Net : : SecureServerSocket socket ; <nl> auto address = socket_bind_listen ( socket , listen_host , config ( ) . getInt ( " tcp_port_secure " ) , / * secure = * / true ) ; <nl> socket . setReceiveTimeout ( settings . receive_timeout ) ; <nl> mmm a / dbms / src / Storages / StorageMySQL . cpp <nl> ppp b / dbms / src / Storages / StorageMySQL . cpp <nl> <nl> # include < Storages / StorageMySQL . h > <nl> <nl> # if USE_MYSQL <nl> + <nl> # include < Storages / StorageFactory . h > <nl> # include < Storages / transformQueryForExternalDatabase . h > <nl> # include < Dictionaries / MySQLBlockInputStream . h > <nl> # include < Interpreters / evaluateConstantExpression . h > <nl> + # include < Interpreters / Settings . h > <nl> + # include < Interpreters / Context . h > <nl> + # include < DataStreams / IBlockOutputStream . h > <nl> + # include < DataStreams / BlockOutputStreamFromRowOutputStream . h > <nl> + # include < DataStreams / ValuesRowOutputStream . h > <nl> + # include < DataStreams / FormatFactory . h > <nl> # include < Common / parseAddress . h > <nl> + # include < IO / Operators . h > <nl> + # include < IO / WriteHelpers . h > <nl> # include < Parsers / ASTLiteral . h > <nl> + # include < mysqlxx / Transaction . h > <nl> <nl> <nl> namespace DB <nl> namespace DB <nl> namespace ErrorCodes <nl> { <nl> extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH ; <nl> + extern const int BAD_ARGUMENTS ; <nl> } <nl> <nl> <nl> - StorageMySQL : : StorageMySQL ( <nl> - const std : : string & name , <nl> + StorageMySQL : : StorageMySQL ( const std : : string & name , <nl> mysqlxx : : Pool & & pool , <nl> const std : : string & remote_database_name , <nl> const std : : string & remote_table_name , <nl> - const ColumnsDescription & columns_ ) <nl> + const bool replace_query , <nl> + const std : : string & on_duplicate_clause , <nl> + const ColumnsDescription & columns_ , <nl> + const Context & context ) <nl> : IStorage { columns_ } <nl> , name ( name ) <nl> , remote_database_name ( remote_database_name ) <nl> , remote_table_name ( remote_table_name ) <nl> + , replace_query { replace_query } <nl> + , on_duplicate_clause { on_duplicate_clause } <nl> , pool ( std : : move ( pool ) ) <nl> + , context ( context ) <nl> { <nl> } <nl> <nl> BlockInputStreams StorageMySQL : : read ( <nl> } <nl> <nl> <nl> + class StorageMySQLBlockOutputStream : public IBlockOutputStream <nl> + { <nl> + public : <nl> + explicit StorageMySQLBlockOutputStream ( const StorageMySQL & storage , <nl> + const std : : string & remote_database_name , <nl> + const std : : string & remote_table_name , <nl> + const mysqlxx : : PoolWithFailover : : Entry & entry , <nl> + const size_t & mysql_max_rows_to_insert ) <nl> + : storage { storage } <nl> + , remote_database_name { remote_database_name } <nl> + , remote_table_name { remote_table_name } <nl> + , entry { entry } <nl> + , max_batch_rows { mysql_max_rows_to_insert } <nl> + { <nl> + } <nl> + <nl> + Block getHeader ( ) const override { return storage . getSampleBlock ( ) ; } <nl> + <nl> + void write ( const Block & block ) override <nl> + { <nl> + auto blocks = splitBlocks ( block , max_batch_rows ) ; <nl> + mysqlxx : : Transaction trans ( entry ) ; <nl> + try <nl> + { <nl> + for ( const Block & batch_data : blocks ) <nl> + { <nl> + writeBlockData ( batch_data ) ; <nl> + } <nl> + trans . commit ( ) ; <nl> + } <nl> + catch ( . . . ) <nl> + { <nl> + trans . rollback ( ) ; <nl> + throw ; <nl> + } <nl> + } <nl> + <nl> + void writeBlockData ( const Block & block ) <nl> + { <nl> + WriteBufferFromOwnString sqlbuf ; <nl> + sqlbuf < < ( storage . replace_query ? " REPLACE " : " INSERT " ) < < " INTO " ; <nl> + sqlbuf < < backQuoteIfNeed ( remote_database_name ) < < " . " < < backQuoteIfNeed ( remote_table_name ) ; <nl> + sqlbuf < < " ( " < < dumpNamesWithBackQuote ( block ) < < " ) VALUES " ; <nl> + <nl> + auto writer = FormatFactory ( ) . getOutput ( " Values " , sqlbuf , storage . getSampleBlock ( ) , storage . context ) ; <nl> + writer - > write ( block ) ; <nl> + <nl> + if ( ! storage . on_duplicate_clause . empty ( ) ) <nl> + sqlbuf < < " ON DUPLICATE KEY " < < storage . on_duplicate_clause ; <nl> + <nl> + sqlbuf < < " ; " ; <nl> + <nl> + auto query = this - > entry - > query ( sqlbuf . str ( ) ) ; <nl> + query . execute ( ) ; <nl> + } <nl> + <nl> + Blocks splitBlocks ( const Block & block , const size_t & max_rows ) const <nl> + { <nl> + / / / Avoid Excessive copy when block is small enough <nl> + if ( block . rows ( ) < = max_rows ) <nl> + return Blocks { std : : move ( block ) } ; <nl> + <nl> + const size_t splited_block_size = ceil ( block . rows ( ) * 1 . 0 / max_rows ) ; <nl> + Blocks splitted_blocks ( splited_block_size ) ; <nl> + <nl> + for ( size_t idx = 0 ; idx < splited_block_size ; + + idx ) <nl> + splitted_blocks [ idx ] = block . cloneEmpty ( ) ; <nl> + <nl> + const size_t columns = block . columns ( ) ; <nl> + const size_t rows = block . rows ( ) ; <nl> + size_t offsets = 0 ; <nl> + size_t limits = max_batch_rows ; <nl> + for ( size_t idx = 0 ; idx < splited_block_size ; + + idx ) <nl> + { <nl> + / / / For last batch , limits should be the remain size <nl> + if ( idx = = splited_block_size - 1 ) limits = rows - offsets ; <nl> + for ( size_t col_idx = 0 ; col_idx < columns ; + + col_idx ) <nl> + { <nl> + splitted_blocks [ idx ] . getByPosition ( col_idx ) . column = block . getByPosition ( col_idx ) . column - > cut ( offsets , limits ) ; <nl> + } <nl> + offsets + = max_batch_rows ; <nl> + } <nl> + <nl> + return splitted_blocks ; <nl> + } <nl> + <nl> + std : : string dumpNamesWithBackQuote ( const Block & block ) const <nl> + { <nl> + WriteBufferFromOwnString out ; <nl> + for ( auto it = block . begin ( ) ; it ! = block . end ( ) ; + + it ) <nl> + { <nl> + if ( it ! = block . begin ( ) ) <nl> + out < < " , " ; <nl> + out < < backQuoteIfNeed ( it - > name ) ; <nl> + } <nl> + return out . str ( ) ; <nl> + } <nl> + <nl> + <nl> + private : <nl> + const StorageMySQL & storage ; <nl> + std : : string remote_database_name ; <nl> + std : : string remote_table_name ; <nl> + mysqlxx : : PoolWithFailover : : Entry entry ; <nl> + size_t max_batch_rows ; <nl> + } ; <nl> + <nl> + <nl> + BlockOutputStreamPtr StorageMySQL : : write ( <nl> + const ASTPtr & / * query * / , const Settings & settings ) <nl> + { <nl> + return std : : make_shared < StorageMySQLBlockOutputStream > ( * this , remote_database_name , remote_table_name , pool . Get ( ) , settings . mysql_max_rows_to_insert ) ; <nl> + } <nl> + <nl> void registerStorageMySQL ( StorageFactory & factory ) <nl> { <nl> factory . registerStorage ( " MySQL " , [ ] ( const StorageFactory : : Arguments & args ) <nl> { <nl> ASTs & engine_args = args . engine_args ; <nl> <nl> - if ( engine_args . size ( ) ! = 5 ) <nl> + if ( engine_args . size ( ) < 5 | | engine_args . size ( ) > 7 ) <nl> throw Exception ( <nl> - " Storage MySQL requires exactly 5 parameters : MySQL ( ' host : port ' , database , table , ' user ' , ' password ' ) . " , <nl> + " Storage MySQL requires 5 - 7 parameters : MySQL ( ' host : port ' , database , table , ' user ' , ' password ' [ , replace_query , ' on_duplicate_clause ' ] ) . " , <nl> ErrorCodes : : NUMBER_OF_ARGUMENTS_DOESNT_MATCH ) ; <nl> <nl> - for ( size_t i = 0 ; i < 5 ; + + i ) <nl> + for ( size_t i = 0 ; i < engine_args . size ( ) ; + + i ) <nl> engine_args [ i ] = evaluateConstantExpressionOrIdentifierAsLiteral ( engine_args [ i ] , args . local_context ) ; <nl> <nl> / / / 3306 is the default MySQL port . <nl> void registerStorageMySQL ( StorageFactory & factory ) <nl> <nl> mysqlxx : : Pool pool ( remote_database , parsed_host_port . first , username , password , parsed_host_port . second ) ; <nl> <nl> + bool replace_query = false ; <nl> + std : : string on_duplicate_clause ; <nl> + if ( engine_args . size ( ) > = 6 ) <nl> + replace_query = static_cast < const ASTLiteral & > ( * engine_args [ 5 ] ) . value . safeGet < UInt64 > ( ) > 0 ; <nl> + if ( engine_args . size ( ) = = 7 ) <nl> + on_duplicate_clause = static_cast < const ASTLiteral & > ( * engine_args [ 6 ] ) . value . safeGet < String > ( ) ; <nl> + <nl> + if ( replace_query & & ! on_duplicate_clause . empty ( ) ) <nl> + throw Exception ( <nl> + " Only one of ' replace_query ' and ' on_duplicate_clause ' can be specified , or none of them " , <nl> + ErrorCodes : : BAD_ARGUMENTS ) ; <nl> + <nl> return StorageMySQL : : create ( <nl> args . table_name , <nl> std : : move ( pool ) , <nl> remote_database , <nl> remote_table , <nl> - args . columns ) ; <nl> + replace_query , <nl> + on_duplicate_clause , <nl> + args . columns , <nl> + args . context ) ; <nl> } ) ; <nl> } <nl> <nl> mmm a / dbms / src / Storages / StorageMySQL . h <nl> ppp b / dbms / src / Storages / StorageMySQL . h <nl> class StorageMySQL : public ext : : shared_ptr_helper < StorageMySQL > , public IStorag <nl> mysqlxx : : Pool & & pool , <nl> const std : : string & remote_database_name , <nl> const std : : string & remote_table_name , <nl> - const ColumnsDescription & columns ) ; <nl> + const bool replace_query , <nl> + const std : : string & on_duplicate_clause , <nl> + const ColumnsDescription & columns , <nl> + const Context & context ) ; <nl> <nl> std : : string getName ( ) const override { return " MySQL " ; } <nl> std : : string getTableName ( ) const override { return name ; } <nl> class StorageMySQL : public ext : : shared_ptr_helper < StorageMySQL > , public IStorag <nl> size_t max_block_size , <nl> unsigned num_streams ) override ; <nl> <nl> + BlockOutputStreamPtr write ( const ASTPtr & query , const Settings & settings ) override ; <nl> + <nl> private : <nl> + friend class StorageMySQLBlockOutputStream ; <nl> std : : string name ; <nl> <nl> std : : string remote_database_name ; <nl> std : : string remote_table_name ; <nl> + bool replace_query ; <nl> + std : : string on_duplicate_clause ; <nl> <nl> <nl> mysqlxx : : Pool pool ; <nl> + const Context & context ; <nl> } ; <nl> <nl> } <nl> mmm a / dbms / src / Storages / registerStorages . cpp <nl> ppp b / dbms / src / Storages / registerStorages . cpp <nl> void registerStorageJoin ( StorageFactory & factory ) ; <nl> void registerStorageView ( StorageFactory & factory ) ; <nl> void registerStorageMaterializedView ( StorageFactory & factory ) ; <nl> <nl> - # if Poco_SQLODBC_FOUND | | Poco_DataODBC_FOUND <nl> + # if USE_POCO_SQLODBC | | USE_POCO_DATAODBC <nl> void registerStorageODBC ( StorageFactory & factory ) ; <nl> # endif <nl> <nl> void registerStorages ( ) <nl> registerStorageView ( factory ) ; <nl> registerStorageMaterializedView ( factory ) ; <nl> <nl> - # if Poco_SQLODBC_FOUND | | Poco_DataODBC_FOUND <nl> + # if USE_POCO_SQLODBC | | USE_POCO_DATAODBC <nl> registerStorageODBC ( factory ) ; <nl> # endif <nl> <nl> mmm a / dbms / src / TableFunctions / CMakeLists . txt <nl> ppp b / dbms / src / TableFunctions / CMakeLists . txt <nl> list ( REMOVE_ITEM clickhouse_table_functions_headers ITableFunction . h TableFuncti <nl> add_library ( clickhouse_table_functions $ { clickhouse_table_functions_sources } ) <nl> target_link_libraries ( clickhouse_table_functions clickhouse_storages_system dbms $ { Poco_Foundation_LIBRARY } ) <nl> <nl> - if ( Poco_SQLODBC_FOUND ) <nl> + if ( USE_POCO_SQLODBC ) <nl> target_link_libraries ( clickhouse_table_functions $ { Poco_SQLODBC_LIBRARY } ) <nl> target_include_directories ( clickhouse_table_functions PRIVATE $ { ODBC_INCLUDE_DIRECTORIES } $ { Poco_SQLODBC_INCLUDE_DIRS } ) <nl> endif ( ) <nl> <nl> - if ( Poco_DataODBC_FOUND ) <nl> + if ( USE_POCO_DATAODBC ) <nl> target_link_libraries ( clickhouse_table_functions $ { Poco_DataODBC_LIBRARY } ) <nl> target_include_directories ( clickhouse_table_functions PRIVATE $ { ODBC_INCLUDE_DIRECTORIES } $ { Poco_DataODBC_INCLUDE_DIRS } ) <nl> endif ( ) <nl> mmm a / dbms / src / TableFunctions / TableFunctionMySQL . cpp <nl> ppp b / dbms / src / TableFunctions / TableFunctionMySQL . cpp <nl> namespace DB <nl> <nl> namespace ErrorCodes <nl> { <nl> - extern const int LOGICAL_ERROR ; <nl> extern const int NUMBER_OF_ARGUMENTS_DOESNT_MATCH ; <nl> + extern const int BAD_ARGUMENTS ; <nl> } <nl> <nl> <nl> StoragePtr TableFunctionMySQL : : executeImpl ( const ASTPtr & ast_function , const Co <nl> <nl> ASTs & args = typeid_cast < ASTExpressionList & > ( * args_func . arguments ) . children ; <nl> <nl> - if ( args . size ( ) ! = 5 ) <nl> - throw Exception ( " Table function ' mysql ' requires exactly 5 arguments : host : port , database name , table name , username and password " , <nl> + if ( args . size ( ) < 5 | | args . size ( ) > 7 ) <nl> + throw Exception ( " Table function ' mysql ' requires 5 - 7 parameters : MySQL ( ' host : port ' , database , table , ' user ' , ' password ' [ , replace_query , ' on_duplicate_clause ' ] ) . " , <nl> ErrorCodes : : NUMBER_OF_ARGUMENTS_DOESNT_MATCH ) ; <nl> <nl> - for ( size_t i = 0 ; i < 5 ; + + i ) <nl> + for ( size_t i = 0 ; i < args . size ( ) ; + + i ) <nl> args [ i ] = evaluateConstantExpressionOrIdentifierAsLiteral ( args [ i ] , context ) ; <nl> <nl> std : : string host_port = static_cast < const ASTLiteral & > ( * args [ 0 ] ) . value . safeGet < String > ( ) ; <nl> StoragePtr TableFunctionMySQL : : executeImpl ( const ASTPtr & ast_function , const Co <nl> std : : string user_name = static_cast < const ASTLiteral & > ( * args [ 3 ] ) . value . safeGet < String > ( ) ; <nl> std : : string password = static_cast < const ASTLiteral & > ( * args [ 4 ] ) . value . safeGet < String > ( ) ; <nl> <nl> + bool replace_query = false ; <nl> + std : : string on_duplicate_clause ; <nl> + if ( args . size ( ) > = 6 ) <nl> + replace_query = static_cast < const ASTLiteral & > ( * args [ 5 ] ) . value . safeGet < UInt64 > ( ) > 0 ; <nl> + if ( args . size ( ) = = 7 ) <nl> + on_duplicate_clause = static_cast < const ASTLiteral & > ( * args [ 6 ] ) . value . safeGet < String > ( ) ; <nl> + <nl> + if ( replace_query & & ! on_duplicate_clause . empty ( ) ) <nl> + throw Exception ( <nl> + " Only one of ' replace_query ' and ' on_duplicate_clause ' can be specified , or none of them " , <nl> + ErrorCodes : : BAD_ARGUMENTS ) ; <nl> + <nl> / / / 3306 is the default MySQL port number <nl> auto parsed_host_port = parseAddress ( host_port , 3306 ) ; <nl> <nl> StoragePtr TableFunctionMySQL : : executeImpl ( const ASTPtr & ast_function , const Co <nl> std : : move ( pool ) , <nl> database_name , <nl> table_name , <nl> - ColumnsDescription { columns } ) ; <nl> + replace_query , <nl> + on_duplicate_clause , <nl> + ColumnsDescription { columns } , <nl> + context ) ; <nl> <nl> res - > startup ( ) ; <nl> return res ; <nl> mmm a / dbms / src / TableFunctions / TableFunctionODBC . cpp <nl> ppp b / dbms / src / TableFunctions / TableFunctionODBC . cpp <nl> <nl> # include < TableFunctions / TableFunctionODBC . h > <nl> <nl> - # if Poco_SQLODBC_FOUND | | Poco_DataODBC_FOUND <nl> + # if USE_POCO_SQLODBC | | USE_POCO_DATAODBC <nl> # include < type_traits > <nl> # include < ext / scope_guard . h > <nl> <nl> mmm a / dbms / src / TableFunctions / TableFunctionODBC . h <nl> ppp b / dbms / src / TableFunctions / TableFunctionODBC . h <nl> <nl> # pragma once <nl> <nl> # include < Common / config . h > <nl> - # if Poco_SQLODBC_FOUND | | Poco_DataODBC_FOUND <nl> + # if USE_POCO_SQLODBC | | USE_POCO_DATAODBC <nl> <nl> # include < TableFunctions / ITableFunction . h > <nl> <nl> mmm a / dbms / src / TableFunctions / registerTableFunctions . cpp <nl> ppp b / dbms / src / TableFunctions / registerTableFunctions . cpp <nl> void registerTableFunctionNumbers ( TableFunctionFactory & factory ) ; <nl> void registerTableFunctionCatBoostPool ( TableFunctionFactory & factory ) ; <nl> void registerTableFunctionFile ( TableFunctionFactory & factory ) ; <nl> <nl> - # if Poco_SQLODBC_FOUND | | Poco_DataODBC_FOUND <nl> + # if USE_POCO_SQLODBC | | USE_POCO_DATAODBC <nl> void registerTableFunctionODBC ( TableFunctionFactory & factory ) ; <nl> # endif <nl> <nl> void registerTableFunctions ( ) <nl> registerTableFunctionCatBoostPool ( factory ) ; <nl> registerTableFunctionFile ( factory ) ; <nl> <nl> - # if Poco_SQLODBC_FOUND | | Poco_DataODBC_FOUND <nl> + # if USE_POCO_SQLODBC | | USE_POCO_DATAODBC <nl> registerTableFunctionODBC ( factory ) ; <nl> # endif <nl> <nl> mmm a / dbms / tests / integration / README . md <nl> ppp b / dbms / tests / integration / README . md <nl> Don ' t use Docker from your system repository . <nl> <nl> * [ pip ] ( https : / / pypi . python . org / pypi / pip ) . To install : ` sudo apt - get install python - pip ` <nl> * [ py . test ] ( https : / / docs . pytest . org / ) testing framework . To install : ` sudo - H pip install pytest ` <nl> - * [ docker - compose ] ( https : / / docs . docker . com / compose / ) and additional python libraries . To install : ` sudo - H pip install docker - compose docker dicttoxml kazoo ` <nl> + * [ docker - compose ] ( https : / / docs . docker . com / compose / ) and additional python libraries . To install : ` sudo - H pip install docker - compose docker dicttoxml kazoo PyMySQL ` <nl> <nl> If you want to run the tests under a non - privileged user , you must add this user to ` docker ` group : ` sudo usermod - aG docker $ USER ` and re - login . <nl> ( You must close all your sessions ( for example , restart your computer ) ) <nl> mmm a / dbms / tests / integration / helpers / cluster . py <nl> ppp b / dbms / tests / integration / helpers / cluster . py <nl> def __init__ ( self , base_path , name = None , base_configs_dir = None , server_bin_path = <nl> <nl> self . base_cmd = [ ' docker - compose ' , ' - - project - directory ' , self . base_dir , ' - - project - name ' , self . project_name ] <nl> self . base_zookeeper_cmd = None <nl> + self . base_mysql_cmd = [ ] <nl> self . pre_zookeeper_commands = [ ] <nl> self . instances = { } <nl> self . with_zookeeper = False <nl> - <nl> + self . with_mysql = False <nl> + <nl> self . docker_client = None <nl> self . is_up = False <nl> <nl> <nl> - def add_instance ( self , name , config_dir = None , main_configs = [ ] , user_configs = [ ] , macroses = { } , with_zookeeper = False , <nl> + def add_instance ( self , name , config_dir = None , main_configs = [ ] , user_configs = [ ] , macroses = { } , with_zookeeper = False , with_mysql = False , <nl> clickhouse_path_dir = None , hostname = None ) : <nl> " " " Add an instance to the cluster . <nl> <nl> def add_instance ( self , name , config_dir = None , main_configs = [ ] , user_configs = [ ] , <nl> <nl> instance = ClickHouseInstance ( <nl> self , self . base_dir , name , config_dir , main_configs , user_configs , macroses , with_zookeeper , <nl> - self . zookeeper_config_path , self . base_configs_dir , self . server_bin_path , clickhouse_path_dir , hostname = hostname ) <nl> + self . zookeeper_config_path , with_mysql , self . base_configs_dir , self . server_bin_path , clickhouse_path_dir , hostname = hostname ) <nl> <nl> self . instances [ name ] = instance <nl> self . base_cmd . extend ( [ ' - - file ' , instance . docker_compose_path ] ) <nl> def add_instance ( self , name , config_dir = None , main_configs = [ ] , user_configs = [ ] , <nl> self . base_cmd . extend ( [ ' - - file ' , p . join ( HELPERS_DIR , ' docker_compose_zookeeper . yml ' ) ] ) <nl> self . base_zookeeper_cmd = [ ' docker - compose ' , ' - - project - directory ' , self . base_dir , ' - - project - name ' , <nl> self . project_name , ' - - file ' , p . join ( HELPERS_DIR , ' docker_compose_zookeeper . yml ' ) ] <nl> + <nl> + if with_mysql and not self . with_mysql : <nl> + self . with_mysql = True <nl> + self . base_cmd . extend ( [ ' - - file ' , p . join ( HELPERS_DIR , ' docker_compose_mysql . yml ' ) ] ) <nl> + self . base_mysql_cmd = [ ' docker - compose ' , ' - - project - directory ' , self . base_dir , ' - - project - name ' , <nl> + self . project_name , ' - - file ' , p . join ( HELPERS_DIR , ' docker_compose_mysql . yml ' ) ] <nl> <nl> return instance <nl> <nl> def start ( self , destroy_dirs = True ) : <nl> for command in self . pre_zookeeper_commands : <nl> self . run_kazoo_commands_with_retries ( command , repeats = 5 ) <nl> <nl> + if self . with_mysql and self . base_mysql_cmd : <nl> + subprocess . check_call ( self . base_mysql_cmd + [ ' up ' , ' - d ' , ' - - no - recreate ' ] ) <nl> + <nl> # Uncomment for debugging <nl> # print ' ' . join ( self . base_cmd + [ ' up ' , ' - - no - recreate ' ] ) <nl> <nl> def start ( self , destroy_dirs = True ) : <nl> <nl> instance . client = Client ( instance . ip_address , command = self . client_bin_path ) <nl> <nl> + <nl> self . is_up = True <nl> <nl> <nl> def add_zookeeper_startup_command ( self , command ) : <nl> class ClickHouseInstance : <nl> def __init__ ( <nl> self , cluster , base_path , name , custom_config_dir , custom_main_configs , custom_user_configs , macroses , <nl> - with_zookeeper , zookeeper_config_path , base_configs_dir , server_bin_path , clickhouse_path_dir , hostname = None ) : <nl> + with_zookeeper , zookeeper_config_path , with_mysql , base_configs_dir , server_bin_path , clickhouse_path_dir , hostname = None ) : <nl> <nl> self . name = name <nl> self . base_cmd = cluster . base_cmd [ : ] <nl> def __init__ ( <nl> self . base_configs_dir = base_configs_dir <nl> self . server_bin_path = server_bin_path <nl> <nl> + self . with_mysql = with_mysql <nl> + <nl> self . path = p . join ( self . cluster . instances_dir , name ) <nl> self . docker_compose_path = p . join ( self . path , ' docker_compose . yml ' ) <nl> <nl> def wait_for_start ( self , deadline = None , timeout = None ) : <nl> <nl> while True : <nl> status = self . get_docker_handle ( ) . status <nl> - <nl> if status = = ' exited ' : <nl> raise Exception ( " Instance ` { } ' failed to start . Container status : { } " . format ( self . name , status ) ) <nl> <nl> def create_dir ( self , destroy_dir = True ) : <nl> logs_dir = p . abspath ( p . join ( self . path , ' logs ' ) ) <nl> os . mkdir ( logs_dir ) <nl> <nl> - depends_on = ' [ ] ' <nl> + depends_on = [ ] <nl> + <nl> + if self . with_mysql : <nl> + depends_on . append ( " mysql1 " ) <nl> + <nl> if self . with_zookeeper : <nl> - depends_on = ' [ " zoo1 " , " zoo2 " , " zoo3 " ] ' <nl> + depends_on . append ( " zoo1 " ) <nl> + depends_on . append ( " zoo2 " ) <nl> + depends_on . append ( " zoo3 " ) <nl> <nl> with open ( self . docker_compose_path , ' w ' ) as docker_compose : <nl> docker_compose . write ( DOCKER_COMPOSE_TEMPLATE . format ( <nl> def create_dir ( self , destroy_dir = True ) : <nl> config_d_dir = config_d_dir , <nl> db_dir = db_dir , <nl> logs_dir = logs_dir , <nl> - depends_on = depends_on ) ) <nl> + depends_on = str ( depends_on ) ) ) <nl> <nl> <nl> def destroy_dir ( self ) : <nl> new file mode 100644 <nl> index 00000000000 . . 6106b588f76 <nl> mmm / dev / null <nl> ppp b / dbms / tests / integration / helpers / docker_compose_mysql . yml <nl> <nl> + version : ' 2 ' <nl> + services : <nl> + mysql1 : <nl> + image : mysql : 5 . 7 <nl> + restart : always <nl> + environment : <nl> + MYSQL_ROOT_PASSWORD : clickhouse <nl> + ports : <nl> + - 3308 : 3306 <nl> new file mode 100644 <nl> index 00000000000 . . 1248d295c09 <nl> mmm / dev / null <nl> ppp b / dbms / tests / integration / test_cluster_copier / configs / config - copier . xml <nl> <nl> + < yandex > <nl> + < logger > <nl> + < level > trace < / level > <nl> + < log > / var / log / clickhouse - server / copier / log . log < / log > <nl> + < errorlog > / var / log / clickhouse - server / copier / log . err . log < / errorlog > <nl> + < size > 1000M < / size > <nl> + < count > 10 < / count > <nl> + < stderr > / var / log / clickhouse - server / copier / stderr < / stderr > <nl> + < stdout > / var / log / clickhouse - server / copier / stdout < / stdout > <nl> + < / logger > <nl> + < / yandex > <nl> \ No newline at end of file <nl> mmm a / dbms / tests / integration / test_cluster_copier / test . py <nl> ppp b / dbms / tests / integration / test_cluster_copier / test . py <nl> def execute_task ( task , cmd_options ) : <nl> copiers_exec_ids = [ ] <nl> <nl> cmd = [ ' / usr / bin / clickhouse ' , ' copier ' , <nl> - ' - - config ' , ' / etc / clickhouse - server / config - preprocessed . xml ' , <nl> + ' - - config ' , ' / etc / clickhouse - server / config - copier . xml ' , <nl> ' - - task - path ' , zk_task_path , <nl> ' - - base - dir ' , ' / var / log / clickhouse - server / copier ' ] <nl> cmd + = cmd_options <nl> new file mode 100644 <nl> index 00000000000 . . e69de29bb2d <nl> new file mode 100644 <nl> index 00000000000 . . de8e5865f12 <nl> mmm / dev / null <nl> ppp b / dbms / tests / integration / test_storage_mysql / configs / remote_servers . xml <nl> <nl> + < yandex > <nl> + < remote_servers > <nl> + < test_cluster > <nl> + < shard > <nl> + < replica > <nl> + < host > node1 < / host > <nl> + < port > 9000 < / port > <nl> + < / replica > <nl> + < / shard > <nl> + < / test_cluster > <nl> + < / remote_servers > <nl> + < / yandex > <nl> new file mode 100644 <nl> index 00000000000 . . 97aca105c74 <nl> mmm / dev / null <nl> ppp b / dbms / tests / integration / test_storage_mysql / test . py <nl> <nl> + from contextlib import contextmanager <nl> + <nl> + import pytest <nl> + <nl> + # # sudo - H pip install PyMySQL <nl> + import pymysql . cursors <nl> + <nl> + from helpers . cluster import ClickHouseCluster <nl> + <nl> + cluster = ClickHouseCluster ( __file__ ) <nl> + <nl> + node1 = cluster . add_instance ( ' node1 ' , main_configs = [ ' configs / remote_servers . xml ' ] , with_mysql = True ) <nl> + create_table_sql_template = " " " <nl> + CREATE TABLE ` clickhouse ` . ` { } ` ( <nl> + ` id ` int ( 11 ) NOT NULL , <nl> + ` name ` varchar ( 50 ) NOT NULL , <nl> + ` age ` int NOT NULL default 0 , <nl> + ` money ` int NOT NULL default 0 , <nl> + PRIMARY KEY ( ` id ` ) ) ENGINE = InnoDB ; <nl> + " " " <nl> + <nl> + @ pytest . fixture ( scope = " module " ) <nl> + def started_cluster ( ) : <nl> + try : <nl> + cluster . start ( ) <nl> + <nl> + conn = get_mysql_conn ( ) <nl> + # # create mysql db and table <nl> + create_mysql_db ( conn , ' clickhouse ' ) <nl> + yield cluster <nl> + <nl> + finally : <nl> + cluster . shutdown ( ) <nl> + <nl> + <nl> + def test_insert_select ( started_cluster ) : <nl> + table_name = ' test_insert_select ' <nl> + conn = get_mysql_conn ( ) <nl> + create_mysql_table ( conn , table_name ) <nl> + <nl> + node1 . query ( ' ' ' <nl> + CREATE TABLE { } ( id UInt32 , name String , age UInt32 , money UInt32 ) ENGINE = MySQL ( ' mysql1 : 3306 ' , ' clickhouse ' , ' { } ' , ' root ' , ' clickhouse ' ) ; <nl> + ' ' ' . format ( table_name , table_name ) ) <nl> + node1 . query ( " INSERT INTO { } ( id , name , money ) select number , concat ( ' name_ ' , toString ( number ) ) , 3 from numbers ( 10000 ) " . format ( table_name ) ) <nl> + assert node1 . query ( " SELECT count ( ) FROM { } " . format ( table_name ) ) . rstrip ( ) = = ' 10000 ' <nl> + assert node1 . query ( " SELECT sum ( money ) FROM { } " . format ( table_name ) ) . rstrip ( ) = = ' 30000 ' <nl> + conn . close ( ) <nl> + <nl> + <nl> + def test_replace_select ( started_cluster ) : <nl> + table_name = ' test_replace_select ' <nl> + conn = get_mysql_conn ( ) <nl> + create_mysql_table ( conn , table_name ) <nl> + <nl> + node1 . query ( ' ' ' <nl> + CREATE TABLE { } ( id UInt32 , name String , age UInt32 , money UInt32 ) ENGINE = MySQL ( ' mysql1 : 3306 ' , ' clickhouse ' , ' { } ' , ' root ' , ' clickhouse ' , 1 ) ; <nl> + ' ' ' . format ( table_name , table_name ) ) <nl> + node1 . query ( " INSERT INTO { } ( id , name , money ) select number , concat ( ' name_ ' , toString ( number ) ) , 3 from numbers ( 10000 ) " . format ( table_name ) ) <nl> + node1 . query ( " INSERT INTO { } ( id , name , money ) select number , concat ( ' name_ ' , toString ( number ) ) , 3 from numbers ( 10000 ) " . format ( table_name ) ) <nl> + assert node1 . query ( " SELECT count ( ) FROM { } " . format ( table_name ) ) . rstrip ( ) = = ' 10000 ' <nl> + assert node1 . query ( " SELECT sum ( money ) FROM { } " . format ( table_name ) ) . rstrip ( ) = = ' 30000 ' <nl> + conn . close ( ) <nl> + <nl> + <nl> + def test_insert_on_duplicate_select ( started_cluster ) : <nl> + table_name = ' test_insert_on_duplicate_select ' <nl> + conn = get_mysql_conn ( ) <nl> + create_mysql_table ( conn , table_name ) <nl> + <nl> + node1 . query ( ' ' ' <nl> + CREATE TABLE { } ( id UInt32 , name String , age UInt32 , money UInt32 ) ENGINE = MySQL ( ' mysql1 : 3306 ' , ' clickhouse ' , ' { } ' , ' root ' , ' clickhouse ' , 0 , ' update money = money + values ( money ) ' ) ; <nl> + ' ' ' . format ( table_name , table_name ) ) <nl> + node1 . query ( " INSERT INTO { } ( id , name , money ) select number , concat ( ' name_ ' , toString ( number ) ) , 3 from numbers ( 10000 ) " . format ( table_name ) ) <nl> + node1 . query ( " INSERT INTO { } ( id , name , money ) select number , concat ( ' name_ ' , toString ( number ) ) , 3 from numbers ( 10000 ) " . format ( table_name ) ) <nl> + assert node1 . query ( " SELECT count ( ) FROM { } " . format ( table_name ) ) . rstrip ( ) = = ' 10000 ' <nl> + assert node1 . query ( " SELECT sum ( money ) FROM { } " . format ( table_name ) ) . rstrip ( ) = = ' 60000 ' <nl> + conn . close ( ) <nl> + <nl> + <nl> + def get_mysql_conn ( ) : <nl> + conn = pymysql . connect ( user = ' root ' , password = ' clickhouse ' , host = ' 127 . 0 . 0 . 1 ' , port = 3308 ) <nl> + return conn <nl> + <nl> + def create_mysql_db ( conn , name ) : <nl> + with conn . cursor ( ) as cursor : <nl> + cursor . execute ( <nl> + " CREATE DATABASE { } DEFAULT CHARACTER SET ' utf8 ' " . format ( name ) ) <nl> + <nl> + def create_mysql_table ( conn , tableName ) : <nl> + with conn . cursor ( ) as cursor : <nl> + cursor . execute ( create_table_sql_template . format ( tableName ) ) <nl> + <nl> + <nl> + if __name__ = = ' __main__ ' : <nl> + with contextmanager ( started_cluster ) ( ) as cluster : <nl> + for name , instance in cluster . instances . items ( ) : <nl> + print name , instance . ip_address <nl> + raw_input ( " Cluster created , press any key to destroy . . . " ) <nl> new file mode 100644 <nl> index 00000000000 . . 3e4db78953a <nl> mmm / dev / null <nl> ppp b / dbms / tests / queries / 0_stateless / 00626_in_syntax . reference <nl> <nl> + 1 <nl> + 1 <nl> + 1 <nl> + 1 <nl> + 1 <nl> + 1 <nl> + - <nl> + 1 <nl> + 1 <nl> + 1 <nl> + 1 <nl> + 1 <nl> + 1 <nl> + 1 <nl> + - <nl> + 0 <nl> + 0 <nl> + 1 <nl> + 0 <nl> + 1 <nl> + 1 <nl> + - <nl> + 0 <nl> + 1 <nl> + 1 <nl> + 1 <nl> + 0 <nl> + 1 <nl> + 0 <nl> + 1 <nl> + 1 <nl> + 0 <nl> + - <nl> + 1 <nl> + 1 <nl> + 1 <nl> + - <nl> + ( 1 , 2 ) ( ( 1 , 2 ) , ( 3 , 4 ) ) 1 1 <nl> new file mode 100644 <nl> index 00000000000 . . e4777f7fe61 <nl> mmm / dev / null <nl> ppp b / dbms / tests / queries / 0_stateless / 00626_in_syntax . sql <nl> <nl> + select ( 1 , 2 ) in tuple ( ( 1 , 2 ) ) ; <nl> + select ( 1 , 2 ) in ( ( 1 , 2 ) , ( 3 , 4 ) ) ; <nl> + select ( ( 1 , 2 ) , ( 3 , 4 ) ) in ( ( 1 , 2 ) , ( 3 , 4 ) ) ; <nl> + select ( ( 1 , 2 ) , ( 3 , 4 ) ) in ( ( ( 1 , 2 ) , ( 3 , 4 ) ) ) ; <nl> + select ( ( 1 , 2 ) , ( 3 , 4 ) ) in tuple ( ( ( 1 , 2 ) , ( 3 , 4 ) ) ) ; <nl> + select ( ( 1 , 2 ) , ( 3 , 4 ) ) in ( ( ( 1 , 2 ) , ( 3 , 4 ) ) , ( ( 5 , 6 ) , ( 7 , 8 ) ) ) ; <nl> + <nl> + select ' - ' ; <nl> + select 1 in 1 ; <nl> + select 1 in tuple ( 1 ) ; <nl> + select tuple ( 1 ) in tuple ( 1 ) ; <nl> + select tuple ( 1 ) in tuple ( tuple ( 1 ) ) ; <nl> + select tuple ( tuple ( 1 ) ) in tuple ( tuple ( 1 ) ) ; <nl> + select tuple ( tuple ( 1 ) ) in tuple ( tuple ( tuple ( 1 ) ) ) ; <nl> + select tuple ( tuple ( tuple ( 1 ) ) ) in tuple ( tuple ( tuple ( 1 ) ) ) ; <nl> + <nl> + select ' - ' ; <nl> + select 1 in Null ; <nl> + select 1 in tuple ( Null ) ; <nl> + select 1 in tuple ( Null , 1 ) ; <nl> + select tuple ( 1 ) in tuple ( tuple ( Null ) ) ; <nl> + select tuple ( 1 ) in tuple ( tuple ( Null ) , tuple ( 1 ) ) ; <nl> + select tuple ( tuple ( Null ) , tuple ( 1 ) ) in tuple ( tuple ( Null ) , tuple ( 1 ) ) ; <nl> + <nl> + select ' - ' ; <nl> + select 1 in ( 1 + 1 , 1 - 1 ) ; <nl> + select 1 in ( 0 + 1 , 1 , toInt8 ( sin ( 5 ) ) ) ; <nl> + select ( 0 + 1 , 1 , toInt8 ( sin ( 5 ) ) ) in ( 0 + 1 , 1 , toInt8 ( sin ( 5 ) ) ) ; <nl> + select identity ( tuple ( 1 ) ) in ( tuple ( 1 ) , tuple ( 2 ) ) ; <nl> + select identity ( tuple ( 1 ) ) in ( tuple ( 0 ) , tuple ( 2 ) ) ; <nl> + select identity ( tuple ( 1 ) ) in ( identity ( tuple ( 1 ) ) , tuple ( 2 ) ) ; <nl> + select identity ( tuple ( 1 ) ) in ( identity ( tuple ( 0 ) ) , tuple ( 2 ) ) ; <nl> + select identity ( tuple ( 1 ) ) in ( identity ( tuple ( 1 ) ) , identity ( tuple ( 2 ) ) ) ; <nl> + select identity ( tuple ( 1 ) ) in ( identity ( tuple ( 1 ) ) , identity ( identity ( tuple ( 2 ) ) ) ) ; <nl> + select identity ( tuple ( 1 ) ) in ( identity ( tuple ( 0 ) ) , identity ( identity ( tuple ( 2 ) ) ) ) ; <nl> + <nl> + select ' - ' ; <nl> + select identity ( ( 1 , 2 ) ) in ( 1 , 2 ) ; <nl> + select identity ( ( 1 , 2 ) ) in ( ( 1 , 2 ) , ( 3 , 4 ) ) ; <nl> + select identity ( ( 1 , 2 ) ) in ( ( 1 , 2 ) , identity ( ( 3 , 4 ) ) ) ; <nl> + <nl> + select ' - ' ; <nl> + select ( 1 , 2 ) as x , ( ( 1 , 2 ) , ( 3 , 4 ) ) as y , 1 in x , x in y ; <nl> + <nl> mmm a / debian / pbuilder - hooks / A00ccache <nl> ppp b / debian / pbuilder - hooks / A00ccache <nl> if [ - n " $ CCACHE_DIR " ] ; then <nl> chmod - R a + rwx $ CCACHE_DIR | | true <nl> fi <nl> <nl> + df - h <nl> ccache - - show - stats <nl> ccache - M $ { CCACHE_SIZE : = 32G } <nl> mmm a / docs / en / operations / server_settings / settings . md <nl> ppp b / docs / en / operations / server_settings / settings . md <nl> The uncompressed cache is advantageous for very short queries in individual case <nl> < uncompressed_cache_size > 8589934592 < / uncompressed_cache_size > <nl> ` ` ` <nl> <nl> + # # user_files_path <nl> + <nl> + A catalog with user files . Used in a [ file ( ) ] ( . . / . . / table_functions / file . md # table_functions - file ) table function . <nl> + <nl> + * * Example * * <nl> + <nl> + ` ` ` xml <nl> + < user_files_path > / var / lib / clickhouse / user_files / < / user_files_path > <nl> + ` ` ` <nl> + <nl> < a name = " server_settings - users_config " > < / a > <nl> <nl> # # users_config <nl> mmm a / docs / en / table_engines / mysql . md <nl> ppp b / docs / en / table_engines / mysql . md <nl> <nl> <nl> The MySQL engine allows you to perform SELECT queries on data that is stored on a remote MySQL server . <nl> <nl> - The engine takes 4 parameters : the server address ( host and port ) ; the name of the database ; the name of the table ; the user ' s name ; the user ' s password . Example : <nl> + The engine takes 5 - 7 parameters : the server address ( host and port ) ; the name of the database ; the name of the table ; the user ' s name ; the user ' s password ; whether to use replace query ; the on duplcate clause . Example : <nl> <nl> ` ` ` text <nl> - MySQL ( ' host : port ' , ' database ' , ' table ' , ' user ' , ' password ' ) ; <nl> + MySQL ( ' host : port ' , ' database ' , ' table ' , ' user ' , ' password ' [ , replace_query , ' on_duplicate_clause ' ] ) ; <nl> ` ` ` <nl> <nl> At this time , simple WHERE clauses such as ` ` ` = , ! = , > , > = , < , < = ` ` ` are executed on the MySQL server . <nl> <nl> The rest of the conditions and the LIMIT sampling constraint are executed in ClickHouse only after the query to MySQL finishes . <nl> <nl> + If ` replace_query ` is specified to 1 , then ` INSERT INTO ` query to this table would be transformed to ` REPLACE INTO ` . <nl> + If ` on_duplicate_clause ` is specified , eg ` update impression = values ( impression ) + impression ` , it would add ` on_duplicate_clause ` to the end of the MySQL insert sql . <nl> + Notice that only one of ' replace_query ' and ' on_duplicate_clause ' can be specified , or none of them . <nl> new file mode 100644 <nl> index 00000000000 . . 2760f7e56c2 <nl> mmm / dev / null <nl> ppp b / docs / en / table_functions / file . md <nl> <nl> + < a name = " table_functions - file " > < / a > <nl> + <nl> + # file <nl> + <nl> + ` file ( path , format , structure ) ` - returns a table created from a path file with a format type , with columns specified in structure . <nl> + <nl> + path - a relative path to a file from [ user_files_path ] ( . . / operations / server_settings / settings . md # user_files_path ) . <nl> + <nl> + format - file [ format ] ( . . / formats / index . md ) . <nl> + <nl> + structure - table structure in ' UserID UInt64 , URL String ' format . Determines column names and types . <nl> + <nl> + * * Example * * <nl> + <nl> + ` ` ` sql <nl> + - - getting the first 10 lines of a table that contains 3 columns of UInt32 type from a CSV file <nl> + SELECT * FROM file ( ' test . csv ' , ' CSV ' , ' column1 UInt32 , column2 UInt32 , column3 UInt32 ' ) LIMIT 10 <nl> + ` ` ` <nl> mmm a / docs / mkdocs_en . yml <nl> ppp b / docs / mkdocs_en . yml <nl> pages : <nl> <nl> - ' Table functions ' : <nl> - ' Introduction ' : ' table_functions / index . md ' <nl> - - ' remote ' : ' table_functions / remote . md ' <nl> + - ' file ' : ' table_functions / file . md ' <nl> - ' merge ' : ' table_functions / merge . md ' <nl> - ' numbers ' : ' table_functions / numbers . md ' <nl> + - ' remote ' : ' table_functions / remote . md ' <nl> <nl> - ' Formats ' : <nl> - ' Introduction ' : ' formats / index . md ' <nl> mmm a / docs / mkdocs_ru . yml <nl> ppp b / docs / mkdocs_ru . yml <nl> pages : <nl> <nl> - ' Табличные функции ' : <nl> - ' Введение ' : ' table_functions / index . md ' <nl> - - ' remote ' : ' table_functions / remote . md ' <nl> + - ' file ' : ' table_functions / file . md ' <nl> - ' merge ' : ' table_functions / merge . md ' <nl> - ' numbers ' : ' table_functions / numbers . md ' <nl> + - ' remote ' : ' table_functions / remote . md ' <nl> <nl> - ' Форматы ' : <nl> - ' Введение ' : ' formats / index . md ' <nl> mmm a / docs / ru / operations / server_settings / settings . md <nl> ppp b / docs / ru / operations / server_settings / settings . md <nl> ClickHouse проверит условия ` min_part_size ` и ` min_part_size_rat <nl> < uncompressed_cache_size > 8589934592 < / uncompressed_cache_size > <nl> ` ` ` <nl> <nl> + # # user_files_path <nl> + <nl> + Каталог с пользовательскими файлами . Используется в табличной функции [ file ( ) ] ( . . / . . / table_functions / file . md # table_functions - file ) . <nl> + <nl> + * * Пример * * <nl> + <nl> + ` ` ` xml <nl> + < user_files_path > / var / lib / clickhouse / user_files / < / user_files_path > <nl> + ` ` ` <nl> + <nl> < a name = " server_settings - users_config " > < / a > <nl> <nl> # # users_config <nl> new file mode 100644 <nl> index 00000000000 . . 88bb201eb9b <nl> mmm / dev / null <nl> ppp b / docs / ru / table_functions / file . md <nl> <nl> + < a name = " table_functions - file " > < / a > <nl> + <nl> + # file <nl> + <nl> + ` file ( path , format , structure ) ` - возвращает таблицу со столбцами , указанными в structure , созданную из файла path типа format . <nl> + <nl> + path - относительный путь до файла от [ user_files_path ] ( . . / operations / server_settings / settings . md # user_files_path ) . <nl> + <nl> + format - [ формат ] ( . . / formats / index . md ) файла . <nl> + <nl> + structure - структура таблицы в форме ' UserID UInt64 , URL String ' . Определяет имена и типы столбцов . <nl> + <nl> + * * Пример * * <nl> + <nl> + ` ` ` sql <nl> + - - получение первых 10 строк таблицы , состоящей из трёх колонок типа UInt32 из CSV файла <nl> + SELECT * FROM file ( ' test . csv ' , ' CSV ' , ' column1 UInt32 , column2 UInt32 , column3 UInt32 ' ) LIMIT 10 <nl> + ` ` ` <nl> mmm a / libs / libdaemon / CMakeLists . txt <nl> ppp b / libs / libdaemon / CMakeLists . txt <nl> endif ( ) <nl> target_include_directories ( daemon PUBLIC include ) <nl> target_include_directories ( daemon PRIVATE $ { ClickHouse_SOURCE_DIR } / libs / libpocoext / include ) <nl> <nl> - target_link_libraries ( daemon clickhouse_common_io clickhouse_common_config $ { EXECINFO_LIBRARY } ) <nl> + target_link_libraries ( daemon clickhouse_common_io clickhouse_common_config $ { EXECINFO_LIBRARY } $ { ELF_LIBRARY } ) <nl> mmm a / libs / libdaemon / src / BaseDaemon . cpp <nl> ppp b / libs / libdaemon / src / BaseDaemon . cpp <nl> void BaseDaemon : : buildLoggers ( Poco : : Util : : AbstractConfiguration & config ) <nl> return ; <nl> config_logger = current_logger ; <nl> <nl> - bool is_daemon = config . getBool ( " application . runAsDaemon " , true ) ; <nl> + bool is_daemon = config . getBool ( " application . runAsDaemon " , false ) ; <nl> <nl> / / Split log and error log . <nl> Poco : : AutoPtr < SplitterChannel > split = new SplitterChannel ; <nl> void BaseDaemon : : initialize ( Application & self ) <nl> config ( ) . add ( map_config , PRIO_APPLICATION - 100 ) ; <nl> } <nl> <nl> - bool is_daemon = config ( ) . getBool ( " application . runAsDaemon " , true ) ; <nl> + bool is_daemon = config ( ) . getBool ( " application . runAsDaemon " , false ) ; <nl> <nl> if ( is_daemon ) <nl> { <nl> void BaseDaemon : : initialize ( Application & self ) <nl> if ( ! log_path . empty ( ) ) <nl> log_path = Poco : : Path ( log_path ) . setFileName ( " " ) . toString ( ) ; <nl> <nl> - if ( is_daemon ) <nl> + / * * Redirect stdout , stderr to separate files in the log directory ( or in the specified file ) . <nl> + * Some libraries write to stderr in case of errors in debug mode , <nl> + * and this output makes sense even if the program is run in daemon mode . <nl> + * We have to do it before buildLoggers , for errors on logger initialization will be written to these files . <nl> + * If logger . stderr is specified then stderr will be forcibly redirected to that file . <nl> + * / <nl> + if ( ( ! log_path . empty ( ) & & is_daemon ) | | config ( ) . has ( " logger . stderr " ) ) <nl> { <nl> - / * * Redirect stdout , stderr to separate files in the log directory . <nl> - * Some libraries write to stderr in case of errors in debug mode , <nl> - * and this output makes sense even if the program is run in daemon mode . <nl> - * We have to do it before buildLoggers , for errors on logger initialization will be written to these files . <nl> - * / <nl> - if ( ! log_path . empty ( ) ) <nl> - { <nl> - std : : string stdout_path = log_path + " / stdout " ; <nl> - if ( ! freopen ( stdout_path . c_str ( ) , " a + " , stdout ) ) <nl> - throw Poco : : OpenFileException ( " Cannot attach stdout to " + stdout_path ) ; <nl> - <nl> - std : : string stderr_path = log_path + " / stderr " ; <nl> - if ( ! freopen ( stderr_path . c_str ( ) , " a + " , stderr ) ) <nl> - throw Poco : : OpenFileException ( " Cannot attach stderr to " + stderr_path ) ; <nl> - } <nl> + std : : string stderr_path = config ( ) . getString ( " logger . stderr " , log_path + " / stderr " ) ; <nl> + if ( ! freopen ( stderr_path . c_str ( ) , " a + " , stderr ) ) <nl> + throw Poco : : OpenFileException ( " Cannot attach stderr to " + stderr_path ) ; <nl> + } <nl> <nl> - / / / Create pid file . <nl> - if ( is_daemon & & config ( ) . has ( " pid " ) ) <nl> - pid . seed ( config ( ) . getString ( " pid " ) ) ; <nl> + if ( ( ! log_path . empty ( ) & & is_daemon ) | | config ( ) . has ( " logger . stdout " ) ) <nl> + { <nl> + std : : string stdout_path = config ( ) . getString ( " logger . stdout " , log_path + " / stdout " ) ; <nl> + if ( ! freopen ( stdout_path . c_str ( ) , " a + " , stdout ) ) <nl> + throw Poco : : OpenFileException ( " Cannot attach stdout to " + stdout_path ) ; <nl> } <nl> <nl> + / / / Create pid file . <nl> + if ( is_daemon & & config ( ) . has ( " pid " ) ) <nl> + pid . seed ( config ( ) . getString ( " pid " ) ) ; <nl> + <nl> / / / Change path for logging . <nl> if ( ! log_path . empty ( ) ) <nl> { <nl> | Merge remote - tracking branch ' origin / master ' into CLICKHOUSE - 2910 | ClickHouse/ClickHouse | abc73eb6ba99ae4aa185a1eeeb043d92476deaca | 2018-05-15T18:35:52Z |
mmm a / programs / cleos / httpc . cpp <nl> ppp b / programs / cleos / httpc . cpp <nl> namespace eosio { namespace client { namespace http { <nl> <nl> fc : : variant do_http_call ( const connection_param & cp , <nl> const fc : : variant & postdata , <nl> - bool verbose ) { <nl> + bool print_request ) { <nl> std : : string postjson ; <nl> if ( ! postdata . is_null ( ) ) <nl> postjson = fc : : json : : to_string ( postdata ) ; <nl> namespace eosio { namespace client { namespace http { <nl> for ( itr = cp . headers . begin ( ) ; itr ! = cp . headers . end ( ) ; itr + + ) { <nl> request_stream < < * itr < < " \ r \ n " ; <nl> } <nl> - request_stream < < " \ r \ n " ; <nl> - request_stream < < postjson ; <nl> <nl> - if ( verbose ) { <nl> + if ( print_request ) { <nl> string s ( request . size ( ) , ' \ 0 ' ) ; <nl> buffer_copy ( boost : : asio : : buffer ( s ) , request . data ( ) ) ; <nl> std : : cerr < < " REQUEST : " < < std : : endl <nl> < < " mmmmmmmmmmmmmmmmmmmmm " < < std : : endl <nl> - < < s < < std : : endl <nl> + < < s < < std : : endl ; <nl> + } <nl> + <nl> + request_stream < < " \ r \ n " ; <nl> + request_stream < < postjson ; <nl> + <nl> + if ( print_request ) { <nl> + std : : cerr < < fc : : json : : to_pretty_string ( postdata ) < < std : : endl <nl> < < " mmmmmmmmmmmmmmmmmmmmm " < < std : : endl ; <nl> } <nl> <nl> mmm a / programs / cleos / httpc . hpp <nl> ppp b / programs / cleos / httpc . hpp <nl> namespace eosio { namespace client { namespace http { <nl> parsed_url parse_url ( const string & server_url ) ; <nl> <nl> fc : : variant do_http_call ( const connection_param & cp , <nl> - const fc : : variant & postdata = fc : : variant ( ) , bool verbose = false ) ; <nl> + const fc : : variant & postdata = fc : : variant ( ) , <nl> + bool print_request = false ) ; <nl> <nl> const string chain_func_base = " / v1 / chain " ; <nl> const string get_info_func = chain_func_base + " / get_info " ; <nl> mmm a / programs / cleos / main . cpp <nl> ppp b / programs / cleos / main . cpp <nl> vector < chain : : permission_level > get_account_permissions ( const vector < string > & pe <nl> return accountPermissions ; <nl> } <nl> <nl> - static bool verbose = true ; <nl> - <nl> template < typename T > <nl> fc : : variant call ( const std : : string & url , <nl> const std : : string & path , <nl> | cleos - - print - request fixes after review | EOSIO/eos | 801c0b195e5005fa215f0f2e8f6e890675b21131 | 2018-06-05T20:02:57Z |
mmm a / libraries / chain / include / eosio / chain / resource_limits . hpp <nl> ppp b / libraries / chain / include / eosio / chain / resource_limits . hpp <nl> namespace eosio { namespace chain { namespace resource_limits { <nl> <nl> int64_t get_account_cpu_limit ( const account_name & name ) const ; <nl> int64_t get_account_net_limit ( const account_name & name ) const ; <nl> + int64_t get_account_ram_usage ( const account_name & name ) const ; <nl> <nl> private : <nl> chainbase : : database & _db ; <nl> mmm a / libraries / chain / resource_limits . cpp <nl> ppp b / libraries / chain / resource_limits . cpp <nl> void resource_limits_manager : : add_pending_account_ram_usage ( const account_name <nl> } <nl> } <nl> <nl> + int64_t resource_limits_manager : : get_account_ram_usage ( const account_name & name ) const { <nl> + return _db . get < resource_usage_object , by_owner > ( name ) . ram_usage ; <nl> + } <nl> + <nl> <nl> void resource_limits_manager : : set_account_limits ( const account_name & account , int64_t ram_bytes , int64_t net_weight , int64_t cpu_weight ) { <nl> const auto & usage = _db . get < resource_usage_object , by_owner > ( account ) ; <nl> mmm a / plugins / chain_plugin / chain_plugin . cpp <nl> ppp b / plugins / chain_plugin / chain_plugin . cpp <nl> <nl> # include < eosio / chain / config . hpp > <nl> # include < eosio / chain / types . hpp > <nl> # include < eosio / chain / wasm_interface . hpp > <nl> + # include < eosio / chain / resource_limits . hpp > <nl> <nl> # include < eosio / chain / eosio_contract . hpp > <nl> <nl> read_only : : get_account_results read_only : : get_account ( const get_account_params & <nl> result . account_name = params . account_name ; <nl> <nl> const auto & d = db . db ( ) ; <nl> + const auto & rm = db . get_resource_limits_manager ( ) ; <nl> + rm . get_account_limits ( result . account_name , result . ram_quota , result . net_weight , result . cpu_weight ) ; <nl> + result . net_limit = rm . get_account_net_limit ( result . account_name ) ; <nl> + result . cpu_limit = rm . get_account_cpu_limit ( result . account_name ) ; <nl> + result . ram_usage = rm . get_account_ram_usage ( result . account_name ) ; <nl> <nl> const auto & permissions = d . get_index < permission_index , by_owner > ( ) ; <nl> auto perm = permissions . lower_bound ( boost : : make_tuple ( params . account_name ) ) ; <nl> mmm a / plugins / chain_plugin / include / eosio / chain_plugin / chain_plugin . hpp <nl> ppp b / plugins / chain_plugin / include / eosio / chain_plugin / chain_plugin . hpp <nl> class read_only { <nl> <nl> struct get_account_results { <nl> name account_name ; <nl> + int64_t ram_quota = 0 ; <nl> + int64_t net_weight = 0 ; <nl> + int64_t cpu_weight = 0 ; <nl> + <nl> + int64_t net_limit = 0 ; <nl> + int64_t cpu_limit = 0 ; <nl> + int64_t ram_usage = 0 ; <nl> + <nl> vector < permission > permissions ; <nl> } ; <nl> <nl> FC_REFLECT ( eosio : : chain_apis : : read_only : : get_currency_balance_params , ( code ) ( ac <nl> FC_REFLECT ( eosio : : chain_apis : : read_only : : get_currency_stats_params , ( code ) ( symbol ) ) ; <nl> FC_REFLECT ( eosio : : chain_apis : : read_only : : get_currency_stats_result , ( supply ) ( max_supply ) ( issuer ) ) ; <nl> <nl> - FC_REFLECT ( eosio : : chain_apis : : read_only : : get_account_results , ( account_name ) ( permissions ) ) <nl> + FC_REFLECT ( eosio : : chain_apis : : read_only : : get_account_results , ( account_name ) ( ram_quota ) ( net_weight ) ( cpu_weight ) ( net_limit ) ( cpu_limit ) ( ram_usage ) ( permissions ) ) <nl> FC_REFLECT ( eosio : : chain_apis : : read_only : : get_code_results , ( account_name ) ( code_hash ) ( wast ) ( abi ) ) <nl> FC_REFLECT ( eosio : : chain_apis : : read_only : : get_account_params , ( account_name ) ) <nl> FC_REFLECT ( eosio : : chain_apis : : read_only : : get_code_params , ( account_name ) ) <nl> | add resource limits to get account rpc call | EOSIO/eos | b0a13afb9ea88c08c0b87bd1c28c4899d33475af | 2018-04-29T15:15:15Z |
mmm a / modules / dlscript / dl_script . cpp <nl> ppp b / modules / dlscript / dl_script . cpp <nl> Error DLScript : : reload ( bool p_keep_state ) { <nl> bool DLScript : : has_method ( const StringName & p_method ) const { <nl> if ( ! script_data ) <nl> return false ; <nl> - return script_data - > methods . has ( p_method ) ; <nl> + DLScriptData * data = script_data ; <nl> + <nl> + while ( data ) { <nl> + if ( data - > methods . has ( p_method ) ) <nl> + return true ; <nl> + <nl> + data = data - > base_data ; <nl> + } <nl> + <nl> + return false ; <nl> } <nl> <nl> MethodInfo DLScript : : get_method_info ( const StringName & p_method ) const { <nl> if ( ! script_data ) <nl> return MethodInfo ( ) ; <nl> + DLScriptData * data = script_data ; <nl> + <nl> + while ( data ) { <nl> + if ( data - > methods . has ( p_method ) ) <nl> + return data - > methods [ p_method ] . info ; <nl> + <nl> + data = data - > base_data ; <nl> + } <nl> + <nl> ERR_FAIL_COND_V ( ! script_data - > methods . has ( p_method ) , MethodInfo ( ) ) ; <nl> - return script_data - > methods [ p_method ] . info ; <nl> + return MethodInfo ( ) ; <nl> } <nl> <nl> void DLScript : : get_script_method_list ( List < MethodInfo > * p_list ) const { <nl> if ( ! script_data ) return ; <nl> - for ( Map < StringName , DLScriptData : : Method > : : Element * E = script_data - > methods . front ( ) ; E ; E = E - > next ( ) ) { <nl> - p_list - > push_back ( E - > get ( ) . info ) ; <nl> + <nl> + Set < MethodInfo > methods ; <nl> + DLScriptData * data = script_data ; <nl> + <nl> + while ( data ) { <nl> + for ( Map < StringName , DLScriptData : : Method > : : Element * E = data - > methods . front ( ) ; E ; E = E - > next ( ) ) { <nl> + methods . insert ( E - > get ( ) . info ) ; <nl> + } <nl> + data = data - > base_data ; <nl> + } <nl> + <nl> + for ( Set < MethodInfo > : : Element * E = methods . front ( ) ; E ; E = E - > next ( ) ) { <nl> + p_list - > push_back ( E - > get ( ) ) ; <nl> } <nl> } <nl> <nl> void DLScript : : get_script_property_list ( List < PropertyInfo > * p_list ) const { <nl> if ( ! script_data ) return ; <nl> - for ( Map < StringName , DLScriptData : : Property > : : Element * E = script_data - > properties . front ( ) ; E ; E = E - > next ( ) ) { <nl> - p_list - > push_back ( E - > get ( ) . info ) ; <nl> + <nl> + Set < PropertyInfo > properties ; <nl> + DLScriptData * data = script_data ; <nl> + <nl> + while ( data ) { <nl> + for ( Map < StringName , DLScriptData : : Property > : : Element * E = data - > properties . front ( ) ; E ; E = E - > next ( ) ) { <nl> + properties . insert ( E - > get ( ) . info ) ; <nl> + } <nl> + data = data - > base_data ; <nl> + } <nl> + <nl> + for ( Set < PropertyInfo > : : Element * E = properties . front ( ) ; E ; E = E - > next ( ) ) { <nl> + p_list - > push_back ( E - > get ( ) ) ; <nl> } <nl> } <nl> <nl> bool DLScript : : get_property_default_value ( const StringName & p_property , Variant & r_value ) const { <nl> if ( ! script_data ) return false ; <nl> - if ( script_data - > properties . has ( p_property ) ) { <nl> - r_value = script_data - > properties [ p_property ] . default_value ; <nl> - return true ; <nl> + <nl> + DLScriptData * data = script_data ; <nl> + <nl> + while ( data ) { <nl> + if ( data - > properties . has ( p_property ) ) { <nl> + r_value = data - > properties [ p_property ] . default_value ; <nl> + return true ; <nl> + } <nl> + <nl> + data = data - > base_data ; <nl> } <nl> + <nl> return false ; <nl> } <nl> <nl> ScriptLanguage * DLScript : : get_language ( ) const { <nl> bool DLScript : : has_script_signal ( const StringName & p_signal ) const { <nl> if ( ! script_data ) <nl> return false ; <nl> - return script_data - > signals_ . has ( p_signal ) ; <nl> + <nl> + DLScriptData * data = script_data ; <nl> + <nl> + while ( data ) { <nl> + if ( data - > signals_ . has ( p_signal ) ) { <nl> + return true ; <nl> + } <nl> + <nl> + data = data - > base_data ; <nl> + } <nl> + <nl> + return false ; <nl> } <nl> <nl> void DLScript : : get_script_signal_list ( List < MethodInfo > * r_signals ) const { <nl> if ( ! script_data ) <nl> return ; <nl> - for ( Map < StringName , DLScriptData : : Signal > : : Element * S = script_data - > signals_ . front ( ) ; S ; S = S - > next ( ) ) { <nl> - r_signals - > push_back ( S - > get ( ) . signal ) ; <nl> + <nl> + Set < MethodInfo > signals_ ; <nl> + DLScriptData * data = script_data ; <nl> + <nl> + while ( data ) { <nl> + <nl> + for ( Map < StringName , DLScriptData : : Signal > : : Element * S = data - > signals_ . front ( ) ; S ; S = S - > next ( ) ) { <nl> + signals_ . insert ( S - > get ( ) . signal ) ; <nl> + } <nl> + <nl> + data = data - > base_data ; <nl> + } <nl> + <nl> + for ( Set < MethodInfo > : : Element * E = signals_ . front ( ) ; E ; E = E - > next ( ) ) { <nl> + r_signals - > push_back ( E - > get ( ) ) ; <nl> } <nl> } <nl> <nl> | [ DLScript ] inheritance fixes | godotengine/godot | 12514cfebccff235f44f3bdbfc99441953202636 | 2017-04-06T01:39:06Z |
mmm a / modules / drivers / velodyne / dag / velodyne128 . dag <nl> ppp b / modules / drivers / velodyne / dag / velodyne128 . dag <nl> module_config { <nl> class_name : " CompensatorComponent " <nl> config { <nl> name : " velodyne_compensator " <nl> - config_file_path : " / apollo / modules / drivers / velodyne / conf / velodyne128_compensator . pb . txt " <nl> + config_file_path : " / apollo / modules / drivers / velodyne / conf / velodyne128_fusion_compensator . pb . txt " <nl> readers { channel : " / apollo / sensor / lidar128 / PointCloud2 " } <nl> } <nl> } <nl> | Update velodyne128 . dag | ApolloAuto/apollo | 5439fb631ef894b3fa0799df12b10ed3e96acd9a | 2019-06-12T00:24:25Z |
mmm a / src / diagnostics / perf - jit . h <nl> ppp b / src / diagnostics / perf - jit . h <nl> class PerfJitLogger : public CodeEventLogger { <nl> static const uint32_t kElfMachIA32 = 3 ; <nl> static const uint32_t kElfMachX64 = 62 ; <nl> static const uint32_t kElfMachARM = 40 ; <nl> - static const uint32_t kElfMachMIPS = 10 ; <nl> + static const uint32_t kElfMachMIPS = 8 ; <nl> + static const uint32_t kElfMachMIPS64 = 8 ; <nl> static const uint32_t kElfMachARM64 = 183 ; <nl> static const uint32_t kElfMachS390x = 22 ; <nl> static const uint32_t kElfMachPPC64 = 21 ; <nl> class PerfJitLogger : public CodeEventLogger { <nl> return kElfMachARM ; <nl> # elif V8_TARGET_ARCH_MIPS <nl> return kElfMachMIPS ; <nl> + # elif V8_TARGET_ARCH_MIPS64 <nl> + return kElfMachMIPS64 ; <nl> # elif V8_TARGET_ARCH_ARM64 <nl> return kElfMachARM64 ; <nl> # elif V8_TARGET_ARCH_S390X <nl> | [ MIPS64 ] Add missing elf_machine field . | v8/v8 | 6b842b41f6ee6bb68e28130e0a07340102e3c15c | 2020-02-06T09:59:04Z |
mmm a / include / swift / SIL / SILInstruction . h <nl> ppp b / include / swift / SIL / SILInstruction . h <nl> class SILInstruction : public ValueBase , public llvm : : ilist_node < SILInstruction > { <nl> : ValueBase ( Kind , TypeList ) , ParentBB ( 0 ) , DebugScope ( DS ) , Loc ( Loc ) { } <nl> <nl> public : <nl> + / / / Instructions should be allocated using a dedicated instruction allocation <nl> + / / / function from the ContextTy . <nl> + template < typename ContextTy > <nl> + void * operator new ( size_t Bytes , const ContextTy & C , <nl> + size_t Alignment = alignof ( ValueBase ) ) { <nl> + return C . allocateInst ( Bytes , Alignment ) ; <nl> + } <nl> <nl> enum class MemoryBehavior { <nl> None , <nl> mmm a / include / swift / SIL / SILModule . h <nl> ppp b / include / swift / SIL / SILModule . h <nl> class SILModule { <nl> bool PrintASTDecls = true ) const ; <nl> <nl> / / / Allocate memory using the module ' s internal allocator . <nl> - void * allocate ( unsigned Size , unsigned Align ) const { <nl> - if ( getASTContext ( ) . LangOpts . UseMalloc ) <nl> - return AlignedAlloc ( Size , Align ) ; <nl> + void * allocate ( unsigned Size , unsigned Align ) const ; <nl> + <nl> + / / / Allocate memory for an instruction using the module ' s internal allocator . <nl> + void * allocateInst ( unsigned Size , unsigned Align ) const ; <nl> + <nl> <nl> - return BPA . Allocate ( Size , Align ) ; <nl> - } <nl> <nl> / / / \ brief Looks up the llvm intrinsic ID and type for the builtin function . <nl> / / / <nl> mmm a / lib / SIL / SILInstruction . cpp <nl> ppp b / lib / SIL / SILInstruction . cpp <nl> void SILInstruction : : replaceAllUsesWithUndef ( ) { <nl> } <nl> } <nl> <nl> + namespace swift { <nl> + void deallocate ( void * Ptr ) { <nl> + AlignedFree ( Ptr ) ; <nl> + } <nl> + } <nl> + <nl> namespace { <nl> class InstructionDestroyer : public SILVisitor < InstructionDestroyer > { <nl> public : <nl> - # define VALUE ( CLASS , PARENT ) void visit # # CLASS ( CLASS * I ) { I - > ~ CLASS ( ) ; } <nl> + # define VALUE ( CLASS , PARENT ) void visit # # CLASS ( CLASS * I ) { \ <nl> + I - > ~ CLASS ( ) ; \ <nl> + deallocate ( I ) ; \ <nl> + } <nl> # include " swift / SIL / SILNodes . def " <nl> } ; <nl> } / / end anonymous namespace <nl> mmm a / lib / SIL / SILInstructions . cpp <nl> ppp b / lib / SIL / SILInstructions . cpp <nl> AllocExistentialBoxInst : : create ( SILLocation Loc , <nl> ArrayRef < ProtocolConformance * > Conformances , <nl> SILFunction * F ) { <nl> SILModule & Mod = F - > getModule ( ) ; <nl> - void * Buffer = Mod . allocate ( sizeof ( AllocExistentialBoxInst ) , <nl> - alignof ( AllocExistentialBoxInst ) ) ; <nl> + void * Buffer = Mod . allocateInst ( sizeof ( AllocExistentialBoxInst ) , <nl> + alignof ( AllocExistentialBoxInst ) ) ; <nl> for ( ProtocolConformance * C : Conformances ) <nl> declareWitnessTable ( Mod , C ) ; <nl> return : : new ( Buffer ) AllocExistentialBoxInst ( Loc , <nl> BuiltinInst * BuiltinInst : : create ( SILLocation Loc , Identifier Name , <nl> ArrayRef < Substitution > Substitutions , <nl> ArrayRef < SILValue > Args , <nl> SILFunction & F ) { <nl> - void * Buffer = F . getModule ( ) . allocate ( <nl> + void * Buffer = F . getModule ( ) . allocateInst ( <nl> sizeof ( BuiltinInst ) <nl> + decltype ( Operands ) : : getExtraSize ( Args . size ( ) ) <nl> + sizeof ( Substitution ) * Substitutions . size ( ) , <nl> bool swift : : doesApplyCalleeHaveSemantics ( SILValue callee , StringRef semantics ) { <nl> } <nl> <nl> void * swift : : allocateApplyInst ( SILFunction & F , size_t size , size_t alignment ) { <nl> - return F . getModule ( ) . allocate ( size , alignment ) ; <nl> + return F . getModule ( ) . allocateInst ( size , alignment ) ; <nl> } <nl> <nl> PartialApplyInst : : PartialApplyInst ( SILLocation Loc , SILValue Callee , <nl> static unsigned getWordsForBitWidth ( unsigned bits ) { <nl> <nl> template < typename INST > <nl> static void * allocateLiteralInstWithTextSize ( SILFunction & F , unsigned length ) { <nl> - return F . getModule ( ) . allocate ( sizeof ( INST ) + length , alignof ( INST ) ) ; <nl> + return F . getModule ( ) . allocateInst ( sizeof ( INST ) + length , alignof ( INST ) ) ; <nl> } <nl> <nl> template < typename INST > <nl> static void * allocateLiteralInstWithBitSize ( SILFunction & F , unsigned bits ) { <nl> unsigned words = getWordsForBitWidth ( bits ) ; <nl> - return F . getModule ( ) . allocate ( sizeof ( INST ) + sizeof ( llvm : : integerPart ) * words , <nl> - alignof ( INST ) ) ; <nl> + return F . getModule ( ) . allocateInst ( <nl> + sizeof ( INST ) + sizeof ( llvm : : integerPart ) * words , alignof ( INST ) ) ; <nl> } <nl> <nl> IntegerLiteralInst : : IntegerLiteralInst ( SILLocation Loc , SILType Ty , <nl> AssignInst : : AssignInst ( SILLocation Loc , SILValue Src , SILValue Dest ) <nl> MarkFunctionEscapeInst * <nl> MarkFunctionEscapeInst : : create ( SILLocation Loc , <nl> ArrayRef < SILValue > Elements , SILFunction & F ) { <nl> - void * Buffer = F . getModule ( ) . allocate ( sizeof ( MarkFunctionEscapeInst ) + <nl> + void * Buffer = F . getModule ( ) . allocateInst ( sizeof ( MarkFunctionEscapeInst ) + <nl> decltype ( Operands ) : : getExtraSize ( Elements . size ( ) ) , <nl> alignof ( MarkFunctionEscapeInst ) ) ; <nl> return : : new ( Buffer ) MarkFunctionEscapeInst ( Loc , Elements ) ; <nl> UnconditionalCheckedCastAddrInst ( SILLocation loc , <nl> <nl> StructInst * StructInst : : create ( SILLocation Loc , SILType Ty , <nl> ArrayRef < SILValue > Elements , SILFunction & F ) { <nl> - void * Buffer = F . getModule ( ) . allocate ( sizeof ( StructInst ) + <nl> + void * Buffer = F . getModule ( ) . allocateInst ( sizeof ( StructInst ) + <nl> decltype ( Operands ) : : getExtraSize ( Elements . size ( ) ) , <nl> alignof ( StructInst ) ) ; <nl> return : : new ( Buffer ) StructInst ( Loc , Ty , Elements ) ; <nl> StructInst : : StructInst ( SILLocation Loc , SILType Ty , ArrayRef < SILValue > Elems ) <nl> <nl> TupleInst * TupleInst : : create ( SILLocation Loc , SILType Ty , <nl> ArrayRef < SILValue > Elements , SILFunction & F ) { <nl> - void * Buffer = F . getModule ( ) . allocate ( sizeof ( TupleInst ) + <nl> + void * Buffer = F . getModule ( ) . allocateInst ( sizeof ( TupleInst ) + <nl> decltype ( Operands ) : : getExtraSize ( Elements . size ( ) ) , <nl> alignof ( TupleInst ) ) ; <nl> return : : new ( Buffer ) TupleInst ( Loc , Ty , Elements ) ; <nl> BranchInst * BranchInst : : create ( SILLocation Loc , <nl> BranchInst * BranchInst : : create ( SILLocation Loc , <nl> SILBasicBlock * DestBB , ArrayRef < SILValue > Args , <nl> SILFunction & F ) { <nl> - void * Buffer = F . getModule ( ) . allocate ( sizeof ( BranchInst ) + <nl> + void * Buffer = F . getModule ( ) . allocateInst ( sizeof ( BranchInst ) + <nl> decltype ( Operands ) : : getExtraSize ( Args . size ( ) ) , <nl> alignof ( BranchInst ) ) ; <nl> return : : new ( Buffer ) BranchInst ( Loc , DestBB , Args ) ; <nl> CondBranchInst * CondBranchInst : : create ( SILLocation Loc , SILValue Condition , <nl> Args . append ( TrueArgs . begin ( ) , TrueArgs . end ( ) ) ; <nl> Args . append ( FalseArgs . begin ( ) , FalseArgs . end ( ) ) ; <nl> <nl> - void * Buffer = F . getModule ( ) . allocate ( sizeof ( CondBranchInst ) + <nl> + void * Buffer = F . getModule ( ) . allocateInst ( sizeof ( CondBranchInst ) + <nl> decltype ( Operands ) : : getExtraSize ( Args . size ( ) ) , <nl> alignof ( CondBranchInst ) ) ; <nl> return : : new ( Buffer ) CondBranchInst ( Loc , Condition , TrueBB , FalseBB , Args , <nl> SwitchValueInst * SwitchValueInst : : create ( <nl> size_t bufSize = sizeof ( SwitchValueInst ) + <nl> decltype ( Operands ) : : getExtraSize ( Cases . size ( ) ) + <nl> sizeof ( SILSuccessor ) * numSuccessors ; <nl> - void * buf = F . getModule ( ) . allocate ( bufSize , alignof ( SwitchValueInst ) ) ; <nl> + void * buf = F . getModule ( ) . allocateInst ( bufSize , alignof ( SwitchValueInst ) ) ; <nl> return : : new ( buf ) SwitchValueInst ( Loc , Operand , DefaultBB , Cases , BBs ) ; <nl> } <nl> <nl> SelectValueInst : : create ( SILLocation Loc , SILValue Operand , SILType Type , <nl> <nl> size_t bufSize = sizeof ( SelectValueInst ) + decltype ( Operands ) : : getExtraSize ( <nl> CaseValuesAndResults . size ( ) ) ; <nl> - void * buf = F . getModule ( ) . allocate ( bufSize , alignof ( SelectValueInst ) ) ; <nl> + void * buf = F . getModule ( ) . allocateInst ( bufSize , alignof ( SelectValueInst ) ) ; <nl> return : : new ( buf ) <nl> SelectValueInst ( Loc , Operand , Type , DefaultResult , CaseValuesAndResults ) ; <nl> } <nl> SelectEnumInstBase : : createSelectEnum ( SILLocation Loc , SILValue Operand , <nl> / / and ` CaseBBs . size ( ) + ( DefaultBB ? 1 : 0 ) ` values . <nl> unsigned numCases = CaseValues . size ( ) ; <nl> <nl> - void * buf = F . getModule ( ) . allocate ( <nl> + void * buf = F . getModule ( ) . allocateInst ( <nl> sizeof ( SELECT_ENUM_INST ) + sizeof ( EnumElementDecl * ) * numCases <nl> + TailAllocatedOperandList < 1 > : : getExtraSize ( numCases + ( bool ) DefaultValue ) , <nl> alignof ( SELECT_ENUM_INST ) ) ; <nl> SwitchEnumInstBase : : createSwitchEnum ( SILLocation Loc , SILValue Operand , <nl> unsigned numCases = CaseBBs . size ( ) ; <nl> unsigned numSuccessors = numCases + ( DefaultBB ? 1 : 0 ) ; <nl> <nl> - void * buf = F . getModule ( ) . allocate ( sizeof ( SWITCH_ENUM_INST ) <nl> + void * buf = F . getModule ( ) . allocateInst ( sizeof ( SWITCH_ENUM_INST ) <nl> + sizeof ( EnumElementDecl * ) * numCases <nl> + sizeof ( SILSuccessor ) * numSuccessors , <nl> alignof ( SWITCH_ENUM_INST ) ) ; <nl> DynamicMethodBranchInst * DynamicMethodBranchInst : : create ( <nl> SILBasicBlock * HasMethodBB , <nl> SILBasicBlock * NoMethodBB , <nl> SILFunction & F ) { <nl> - void * Buffer = F . getModule ( ) . allocate ( sizeof ( DynamicMethodBranchInst ) , <nl> - alignof ( DynamicMethodBranchInst ) ) ; <nl> + void * Buffer = F . getModule ( ) . allocateInst ( sizeof ( DynamicMethodBranchInst ) , <nl> + alignof ( DynamicMethodBranchInst ) ) ; <nl> return : : new ( Buffer ) DynamicMethodBranchInst ( Loc , Operand , Member , <nl> HasMethodBB , NoMethodBB ) ; <nl> } <nl> WitnessMethodInst : : create ( SILLocation Loc , CanType LookupType , <nl> SILValue OpenedExistential , bool Volatile ) { <nl> SILModule & Mod = F - > getModule ( ) ; <nl> void * Buffer = <nl> - Mod . allocate ( sizeof ( WitnessMethodInst ) , alignof ( WitnessMethodInst ) ) ; <nl> + Mod . allocateInst ( sizeof ( WitnessMethodInst ) , alignof ( WitnessMethodInst ) ) ; <nl> <nl> declareWitnessTable ( Mod , Conformance ) ; <nl> return : : new ( Buffer ) WitnessMethodInst ( Loc , LookupType , Conformance , Member , <nl> InitExistentialAddrInst : : create ( SILLocation Loc , SILValue Existential , <nl> ArrayRef < ProtocolConformance * > Conformances , <nl> SILFunction * F ) { <nl> SILModule & Mod = F - > getModule ( ) ; <nl> - void * Buffer = Mod . allocate ( sizeof ( InitExistentialAddrInst ) , <nl> - alignof ( InitExistentialAddrInst ) ) ; <nl> + void * Buffer = Mod . allocateInst ( sizeof ( InitExistentialAddrInst ) , <nl> + alignof ( InitExistentialAddrInst ) ) ; <nl> for ( ProtocolConformance * C : Conformances ) <nl> declareWitnessTable ( Mod , C ) ; <nl> return : : new ( Buffer ) InitExistentialAddrInst ( Loc , Existential , <nl> InitExistentialRefInst : : create ( SILLocation Loc , SILType ExistentialType , <nl> ArrayRef < ProtocolConformance * > Conformances , <nl> SILFunction * F ) { <nl> SILModule & Mod = F - > getModule ( ) ; <nl> - void * Buffer = Mod . allocate ( sizeof ( InitExistentialRefInst ) , <nl> - alignof ( InitExistentialRefInst ) ) ; <nl> + void * Buffer = Mod . allocateInst ( sizeof ( InitExistentialRefInst ) , <nl> + alignof ( InitExistentialRefInst ) ) ; <nl> for ( ProtocolConformance * C : Conformances ) { <nl> if ( ! C ) <nl> continue ; <nl> InitExistentialMetatypeInst : : create ( SILLocation loc , <nl> unsigned size = sizeof ( InitExistentialMetatypeInst ) ; <nl> size + = conformances . size ( ) * sizeof ( ProtocolConformance * ) ; <nl> <nl> - void * buffer = M . allocate ( size , alignof ( InitExistentialMetatypeInst ) ) ; <nl> + void * buffer = M . allocateInst ( size , alignof ( InitExistentialMetatypeInst ) ) ; <nl> for ( ProtocolConformance * conformance : conformances ) <nl> if ( ! M . lookUpWitnessTable ( conformance , false ) . first ) <nl> declareWitnessTable ( M , conformance ) ; <nl> mmm a / lib / SIL / SILModule . cpp <nl> ppp b / lib / SIL / SILModule . cpp <nl> SILModule : : ~ SILModule ( ) { <nl> delete ( SILTypeListUniquingType * ) TypeListUniquing ; <nl> } <nl> <nl> + void * SILModule : : allocate ( unsigned Size , unsigned Align ) const { <nl> + if ( getASTContext ( ) . LangOpts . UseMalloc ) <nl> + return AlignedAlloc ( Size , Align ) ; <nl> + <nl> + return BPA . Allocate ( Size , Align ) ; <nl> + } <nl> + <nl> + void * SILModule : : allocateInst ( unsigned Size , unsigned Align ) const { <nl> + if ( true | | getASTContext ( ) . LangOpts . UseMalloc ) <nl> + return AlignedAlloc ( Size , Align ) ; <nl> + <nl> + return BPA . Allocate ( Size , Align ) ; <nl> + } <nl> + <nl> SILWitnessTable * <nl> SILModule : : createWitnessTableDeclaration ( ProtocolConformance * C , <nl> SILLinkage linkage ) { <nl> | Reduce memory footprint of the Swift compiler | apple/swift | d58f9486b18e40e9bc2a6b823db9e8f7d673d8f7 | 2015-11-18T01:26:35Z |
mmm a / tests / test_other . py <nl> ppp b / tests / test_other . py <nl> def ok ( args , filename = ' hello_world . cpp ' , expected = ' hello , world ! ' ) : <nl> ok ( required_flags , filename = ' hello_world_main_loop . cpp ' ) <nl> # - O1 is ok as we don ' t run wasm - opt there ( but no higher , see below ) <nl> ok ( required_flags + [ ' - O1 ' ] ) <nl> + # Exception support shouldn ' t require changes after linking <nl> + ok ( required_flags + [ ' - fexceptions ' ] ) <nl> <nl> # other builds fail with a standard message + extra details <nl> def fail ( args , details ) : <nl> | Ensure EH does not change code after linking ( ) | emscripten-core/emscripten | beac72fcf34e7384f51afca50d8c2151713a61ff | 2020-10-11T23:43:24Z |
mmm a / include / grpc / impl / codegen / grpc_types . h <nl> ppp b / include / grpc / impl / codegen / grpc_types . h <nl> typedef struct { <nl> # define GRPC_ARG_SECONDARY_USER_AGENT_STRING " grpc . secondary_user_agent " <nl> / * * The maximum time between subsequent connection attempts , in ms * / <nl> # define GRPC_ARG_MAX_RECONNECT_BACKOFF_MS " grpc . max_reconnect_backoff_ms " <nl> + / * * The time between the first and second connection attempts , in ms * / <nl> + # define GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS \ <nl> + " grpc . initial_reconnect_backoff_ms " <nl> / * The caller of the secure_channel_create functions may override the target <nl> name used for SSL host name checking using this channel argument which is of <nl> type \ a GRPC_ARG_STRING . This * should * be used for testing only . <nl> mmm a / src / core / ext / client_config / subchannel . c <nl> ppp b / src / core / ext / client_config / subchannel . c <nl> grpc_subchannel * grpc_subchannel_create ( grpc_exec_ctx * exec_ctx , <nl> grpc_closure_init ( & c - > connected , subchannel_connected , c ) ; <nl> grpc_connectivity_state_init ( & c - > state_tracker , GRPC_CHANNEL_IDLE , <nl> " subchannel " ) ; <nl> - gpr_backoff_init ( & c - > backoff_state , <nl> - GRPC_SUBCHANNEL_RECONNECT_BACKOFF_MULTIPLIER , <nl> - GRPC_SUBCHANNEL_RECONNECT_JITTER , <nl> - GRPC_SUBCHANNEL_INITIAL_CONNECT_BACKOFF_SECONDS * 1000 , <nl> - GRPC_SUBCHANNEL_RECONNECT_MAX_BACKOFF_SECONDS * 1000 ) ; <nl> + int initial_backoff_ms = <nl> + GRPC_SUBCHANNEL_INITIAL_CONNECT_BACKOFF_SECONDS * 1000 ; <nl> + int max_backoff_ms = GRPC_SUBCHANNEL_RECONNECT_MAX_BACKOFF_SECONDS * 1000 ; <nl> + bool fixed_reconnect_backoff = false ; <nl> if ( c - > args ) { <nl> for ( size_t i = 0 ; i < c - > args - > num_args ; i + + ) { <nl> if ( 0 = = strcmp ( c - > args - > args [ i ] . key , <nl> " grpc . testing . fixed_reconnect_backoff " ) ) { <nl> GPR_ASSERT ( c - > args - > args [ i ] . type = = GRPC_ARG_INTEGER ) ; <nl> - gpr_backoff_init ( & c - > backoff_state , 1 . 0 , 0 . 0 , <nl> - c - > args - > args [ i ] . value . integer , <nl> - c - > args - > args [ i ] . value . integer ) ; <nl> - } <nl> - if ( 0 = = <nl> - strcmp ( c - > args - > args [ i ] . key , GRPC_ARG_MAX_RECONNECT_BACKOFF_MS ) ) { <nl> - const grpc_integer_options options = { - 1 , 0 , INT_MAX } ; <nl> - const int value = <nl> - grpc_channel_arg_get_integer ( & c - > args - > args [ i ] , options ) ; <nl> - if ( value > = 0 ) { <nl> - gpr_backoff_init ( <nl> - & c - > backoff_state , GRPC_SUBCHANNEL_RECONNECT_BACKOFF_MULTIPLIER , <nl> - GRPC_SUBCHANNEL_RECONNECT_JITTER , <nl> - GPR_MIN ( value , <nl> - GRPC_SUBCHANNEL_INITIAL_CONNECT_BACKOFF_SECONDS * 1000 ) , <nl> - value ) ; <nl> - } <nl> + fixed_reconnect_backoff = true ; <nl> + initial_backoff_ms = max_backoff_ms = grpc_channel_arg_get_integer ( <nl> + & c - > args - > args [ i ] , <nl> + ( grpc_integer_options ) { initial_backoff_ms , 100 , INT_MAX } ) ; <nl> + } else if ( 0 = = strcmp ( c - > args - > args [ i ] . key , <nl> + GRPC_ARG_MAX_RECONNECT_BACKOFF_MS ) ) { <nl> + fixed_reconnect_backoff = false ; <nl> + max_backoff_ms = grpc_channel_arg_get_integer ( <nl> + & c - > args - > args [ i ] , <nl> + ( grpc_integer_options ) { max_backoff_ms , 100 , INT_MAX } ) ; <nl> + } else if ( 0 = = strcmp ( c - > args - > args [ i ] . key , <nl> + GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS ) ) { <nl> + fixed_reconnect_backoff = false ; <nl> + initial_backoff_ms = grpc_channel_arg_get_integer ( <nl> + & c - > args - > args [ i ] , <nl> + ( grpc_integer_options ) { initial_backoff_ms , 100 , INT_MAX } ) ; <nl> } <nl> } <nl> } <nl> + gpr_backoff_init ( <nl> + & c - > backoff_state , <nl> + fixed_reconnect_backoff ? 1 . 0 <nl> + : GRPC_SUBCHANNEL_RECONNECT_BACKOFF_MULTIPLIER , <nl> + fixed_reconnect_backoff ? 0 . 0 : GRPC_SUBCHANNEL_RECONNECT_JITTER , <nl> + initial_backoff_ms , max_backoff_ms ) ; <nl> gpr_mu_init ( & c - > mu ) ; <nl> <nl> return grpc_subchannel_index_register ( exec_ctx , key , c ) ; <nl> mmm a / src / objective - c / GRPCClient / private / GRPCHost . m <nl> ppp b / src / objective - c / GRPCClient / private / GRPCHost . m <nl> - ( NSDictionary * ) channelArgs { <nl> if ( _responseSizeLimitOverride ) { <nl> args [ @ GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH ] = _responseSizeLimitOverride ; <nl> } <nl> + / / Use 10000ms initial backoff time for correct behavior on bad / slow networks <nl> + args [ @ GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS ] = @ 10000 ; <nl> return args ; <nl> } <nl> <nl> | Merge pull request from ctiller / adjustable_window | grpc/grpc | be43240564891aaa34bbd911332994fe8d197c0b | 2016-09-29T22:24:02Z |
mmm a / TMessagesProj / build . gradle <nl> ppp b / TMessagesProj / build . gradle <nl> android { <nl> } <nl> } <nl> <nl> - defaultConfig . versionCode = 1826 <nl> + defaultConfig . versionCode = 1827 <nl> <nl> applicationVariants . all { variant - > <nl> variant . outputs . all { output - > <nl> mmm a / TMessagesProj / jni / rlottie / src / lottie / lottieitem . cpp <nl> ppp b / TMessagesProj / jni / rlottie / src / lottie / lottieitem . cpp <nl> bool LOTLayerItem : : resolveKeyPath ( LOTKeyPath & keyPath , uint depth , <nl> } <nl> <nl> if ( ! keyPath . skip ( name ( ) ) ) { <nl> - if ( keyPath . fullyResolvesTo ( name ( ) , depth ) & & <nl> - transformProp ( value . property ( ) ) ) { <nl> - / / @ TODO handle propery update . <nl> + if ( keyPath . fullyResolvesTo ( name ( ) , depth ) & & transformProp ( value . property ( ) ) ) { <nl> + mDirtyFlag = DirtyFlagBit : : All ; <nl> } <nl> } <nl> return true ; <nl> bool LOTShapeLayerItem : : resolveKeyPath ( LOTKeyPath & keyPath , uint depth , <nl> if ( LOTLayerItem : : resolveKeyPath ( keyPath , depth , value ) ) { <nl> if ( keyPath . propagate ( name ( ) , depth ) ) { <nl> uint newDepth = keyPath . nextDepth ( name ( ) , depth ) ; <nl> - mRoot - > resolveKeyPath ( keyPath , newDepth , value ) ; <nl> + if ( mRoot - > resolveKeyPath ( keyPath , newDepth , value ) ) { <nl> + mDirtyFlag = DirtyFlagBit : : All ; <nl> + } <nl> } <nl> return true ; <nl> } <nl> bool LOTCompLayerItem : : resolveKeyPath ( LOTKeyPath & keyPath , uint depth , <nl> if ( keyPath . propagate ( name ( ) , depth ) ) { <nl> uint newDepth = keyPath . nextDepth ( name ( ) , depth ) ; <nl> for ( const auto & layer : mLayers ) { <nl> - layer - > resolveKeyPath ( keyPath , newDepth , value ) ; <nl> + if ( layer - > resolveKeyPath ( keyPath , newDepth , value ) ) { <nl> + mDirtyFlag = DirtyFlagBit : : All ; <nl> + } <nl> } <nl> } <nl> return true ; <nl> mmm a / TMessagesProj / jni / tgnet / ConnectionSocket . cpp <nl> ppp b / TMessagesProj / jni / tgnet / ConnectionSocket . cpp <nl> int32_t ConnectionSocket : : checkSocketError ( int32_t * error ) { <nl> <nl> void ConnectionSocket : : closeSocket ( int32_t reason , int32_t error ) { <nl> lastEventTime = ConnectionsManager : : getInstance ( instanceNum ) . getCurrentTimeMonotonicMillis ( ) ; <nl> - ConnectionsManager : : getInstance ( instanceNum ) . detachConnection ( this ) ; <nl> + if ( reason ! = 2 ) { <nl> + ConnectionsManager : : getInstance ( instanceNum ) . detachConnection ( this ) ; <nl> + } <nl> if ( socketFd > = 0 ) { <nl> epoll_ctl ( ConnectionsManager : : getInstance ( instanceNum ) . epolFd , EPOLL_CTL_DEL , socketFd , nullptr ) ; <nl> if ( close ( socketFd ) ! = 0 ) { <nl> time_t ConnectionSocket : : getTimeout ( ) { <nl> return timeout ; <nl> } <nl> <nl> - void ConnectionSocket : : checkTimeout ( int64_t now ) { <nl> + bool ConnectionSocket : : checkTimeout ( int64_t now ) { <nl> if ( timeout ! = 0 & & ( now - lastEventTime ) > ( int64_t ) timeout * 1000 ) { <nl> if ( ! onConnectedSent | | hasPendingRequests ( ) ) { <nl> closeSocket ( 2 , 0 ) ; <nl> + return true ; <nl> } else { <nl> lastEventTime = ConnectionsManager : : getInstance ( instanceNum ) . getCurrentTimeMonotonicMillis ( ) ; <nl> if ( LOGS_ENABLED ) DEBUG_D ( " connection ( % p ) reset last event time , no requests " , this ) ; <nl> } <nl> } <nl> + return false ; <nl> } <nl> <nl> bool ConnectionSocket : : hasTlsHashMismatch ( ) { <nl> mmm a / TMessagesProj / jni / tgnet / ConnectionSocket . h <nl> ppp b / TMessagesProj / jni / tgnet / ConnectionSocket . h <nl> class ConnectionSocket { <nl> protected : <nl> int32_t instanceNum ; <nl> void onEvent ( uint32_t events ) ; <nl> - void checkTimeout ( int64_t now ) ; <nl> + bool checkTimeout ( int64_t now ) ; <nl> void resetLastEventTime ( ) ; <nl> bool hasTlsHashMismatch ( ) ; <nl> virtual void onReceivedData ( NativeByteBuffer * buffer ) = 0 ; <nl> mmm a / TMessagesProj / jni / tgnet / ConnectionsManager . cpp <nl> ppp b / TMessagesProj / jni / tgnet / ConnectionsManager . cpp <nl> void ConnectionsManager : : select ( ) { <nl> EventObject * eventObject = ( EventObject * ) epollEvents [ a ] . data . ptr ; <nl> eventObject - > onEvent ( epollEvents [ a ] . events ) ; <nl> } <nl> - size_t count = activeConnections . size ( ) ; <nl> - for ( uint32_t a = 0 ; a < count ; a + + ) { <nl> - activeConnections [ a ] - > checkTimeout ( now ) ; <nl> + for ( std : : vector < ConnectionSocket * > : : iterator iter = activeConnections . begin ( ) ; iter ! = activeConnections . end ( ) ; ) { <nl> + if ( ( * iter ) - > checkTimeout ( now ) ) { <nl> + iter = activeConnections . erase ( iter ) ; <nl> + } else { <nl> + iter + + ; <nl> + } <nl> } <nl> <nl> Datacenter * datacenter = getDatacenterWithId ( currentDatacenterId ) ; <nl> void ConnectionsManager : : processRequestQueue ( uint32_t connectionTypes , uint32_t <nl> uint32_t retryMax = 10 ; <nl> if ( ! ( request - > requestFlags & RequestFlagForceDownload ) ) { <nl> if ( request - > failedByFloodWait ) { <nl> - retryMax = 1 ; <nl> + retryMax = 2 ; <nl> } else { <nl> retryMax = 6 ; <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / messenger / BuildVars . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / messenger / BuildVars . java <nl> <nl> public static boolean USE_CLOUD_STRINGS = true ; <nl> public static boolean CHECK_UPDATES = true ; <nl> public static boolean TON_WALLET_STANDALONE = false ; <nl> - public static int BUILD_VERSION = 1826 ; <nl> + public static int BUILD_VERSION = 1827 ; <nl> public static String BUILD_VERSION_STRING = " 5 . 13 . 0 " ; <nl> public static int APP_ID = 4 ; <nl> public static String APP_HASH = " 014b35b6184100b085b0d0572f9b5103 " ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / messenger / MediaController . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / messenger / MediaController . java <nl> public boolean pauseMessage ( MessageObject messageObject ) { <nl> return true ; <nl> } <nl> <nl> - public boolean resumeAudio ( MessageObject messageObject ) { <nl> + private boolean resumeAudio ( MessageObject messageObject ) { <nl> if ( audioPlayer = = null & & videoPlayer = = null | | messageObject = = null | | playingMessageObject = = null | | ! isSamePlayingMessage ( messageObject ) ) { <nl> return false ; <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / messenger / MessageObject . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / messenger / MessageObject . java <nl> public void calculate ( ) { <nl> isOut = messageObject . isOutOwner ( ) ; <nl> needShare = ! isOut & & ( <nl> messageObject . messageOwner . fwd_from ! = null & & messageObject . messageOwner . fwd_from . saved_from_peer ! = null | | <nl> - messageObject . messageOwner . from_id > 0 & & ( messageObject . messageOwner . to_id . channel_id ! = 0 | | messageObject . messageOwner . to_id . chat_id ! = 0 | | <nl> - messageObject . messageOwner . media instanceof TLRPC . TL_messageMediaGame | | messageObject . messageOwner . media instanceof TLRPC . TL_messageMediaInvoice ) <nl> + messageObject . messageOwner . from_id > 0 & & ( messageObject . messageOwner . to_id . channel_id ! = 0 | | messageObject . messageOwner . to_id . chat_id ! = 0 | | <nl> + messageObject . messageOwner . media instanceof TLRPC . TL_messageMediaGame | | messageObject . messageOwner . media instanceof TLRPC . TL_messageMediaInvoice ) <nl> ) ; <nl> } <nl> TLRPC . PhotoSize photoSize = FileLoader . getClosestPhotoSizeWithSize ( messageObject . photoThumbs , AndroidUtilities . getPhotoSize ( ) ) ; <nl> public boolean hasReactions ( ) { <nl> } <nl> <nl> public static void updatePollResults ( TLRPC . TL_messageMediaPoll media , TLRPC . TL_pollResults results ) { <nl> + if ( media = = null | | results = = null ) { <nl> + return ; <nl> + } <nl> if ( ( results . flags & 2 ) ! = 0 ) { <nl> byte [ ] chosen = null ; <nl> if ( results . min & & media . results . results ! = null ) { <nl> public static void addUrlsByPattern ( boolean isOut , CharSequence charSequence , bo <nl> matcher = instagramUrlPattern . matcher ( charSequence ) ; <nl> } else { <nl> if ( urlPattern = = null ) { <nl> - urlPattern = Pattern . compile ( " ( ^ | \ \ s ) / [ a - zA - Z @ \ \ d_ ] { 1 , 255 } | ( ^ | \ \ s | \ \ ( ) @ [ a - zA - Z \ \ d_ ] { 1 , 32 } | ( ^ | \ \ s | \ \ ( ) # [ \ \ w . ] + | ( ^ | \ \ s ) \ \ $ [ A - Z ] { 3 , 8 } ( [ , . ] | $ ) " ) ; <nl> + urlPattern = Pattern . compile ( " ( ^ | \ \ s ) / [ a - zA - Z @ \ \ d_ ] { 1 , 255 } | ( ^ | \ \ s | \ \ ( ) @ [ a - zA - Z \ \ d_ ] { 1 , 32 } | ( ^ | \ \ s | \ \ ( ) # [ ^ 0 - 9 ] [ \ \ w . ] + | ( ^ | \ \ s ) \ \ $ [ A - Z ] { 3 , 8 } ( [ , . ] | $ ) " ) ; <nl> } <nl> matcher = urlPattern . matcher ( charSequence ) ; <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / messenger / NotificationCenter . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / messenger / NotificationCenter . java <nl> <nl> public static final int audioRouteChanged = totalEvents + + ; <nl> <nl> public static final int didStartedCall = totalEvents + + ; <nl> - public static final int didEndedCall = totalEvents + + ; <nl> + public static final int didEndCall = totalEvents + + ; <nl> public static final int closeInCallActivity = totalEvents + + ; <nl> <nl> public static final int appDidLogout = totalEvents + + ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / messenger / SendMessagesHelper . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / messenger / SendMessagesHelper . java <nl> public void start ( ) { <nl> if ( locationQueryCancelRunnable ! = null ) { <nl> AndroidUtilities . cancelRunOnUIThread ( locationQueryCancelRunnable ) ; <nl> } <nl> - locationQueryCancelRunnable = new Runnable ( ) { <nl> - @ Override <nl> - public void run ( ) { <nl> - if ( locationQueryCancelRunnable ! = this ) { <nl> - return ; <nl> - } <nl> - if ( delegate ! = null ) { <nl> - if ( lastKnownLocation ! = null ) { <nl> - delegate . onLocationAcquired ( lastKnownLocation ) ; <nl> - } else { <nl> - delegate . onUnableLocationAcquire ( ) ; <nl> - } <nl> + locationQueryCancelRunnable = ( ) - > { <nl> + if ( locationQueryCancelRunnable ! = this ) { <nl> + return ; <nl> + } <nl> + if ( delegate ! = null ) { <nl> + if ( lastKnownLocation ! = null ) { <nl> + delegate . onLocationAcquired ( lastKnownLocation ) ; <nl> + } else { <nl> + delegate . onUnableLocationAcquire ( ) ; <nl> } <nl> - cleanup ( ) ; <nl> } <nl> + cleanup ( ) ; <nl> } ; <nl> AndroidUtilities . runOnUIThread ( locationQueryCancelRunnable , 5000 ) ; <nl> } <nl> public int sendMessage ( ArrayList < MessageObject > messages , final long peer , boole <nl> sentCount + + ; <nl> <nl> if ( scheduleDate ! = 0 & & ! currentSchedule ) { <nl> - ArrayList < Integer > messageIds = new ArrayList < > ( ) ; <nl> - messageIds . add ( oldId ) ; <nl> - getMessagesController ( ) . deleteMessages ( messageIds , null , null , newMsgObj1 . dialog_id , newMsgObj1 . to_id . channel_id , false , true ) ; <nl> - getMessagesStorage ( ) . getStorageQueue ( ) . postRunnable ( ( ) - > { <nl> - getMessagesStorage ( ) . putMessages ( sentMessages , true , false , false , 0 , false ) ; <nl> - AndroidUtilities . runOnUIThread ( ( ) - > { <nl> - ArrayList < MessageObject > messageObjects = new ArrayList < > ( ) ; <nl> - messageObjects . add ( new MessageObject ( msgObj . currentAccount , msgObj . messageOwner , true ) ) ; <nl> - getMessagesController ( ) . updateInterfaceWithMessages ( newMsgObj1 . dialog_id , messageObjects , false ) ; <nl> - getMediaDataController ( ) . increasePeerRaiting ( newMsgObj1 . dialog_id ) ; <nl> - processSentMessage ( oldId ) ; <nl> - removeFromSendingMessages ( oldId , scheduleDate ! = 0 ) ; <nl> + AndroidUtilities . runOnUIThread ( ( ) - > { <nl> + ArrayList < Integer > messageIds = new ArrayList < > ( ) ; <nl> + messageIds . add ( oldId ) ; <nl> + getMessagesController ( ) . deleteMessages ( messageIds , null , null , newMsgObj1 . dialog_id , newMsgObj1 . to_id . channel_id , false , true ) ; <nl> + getMessagesStorage ( ) . getStorageQueue ( ) . postRunnable ( ( ) - > { <nl> + getMessagesStorage ( ) . putMessages ( sentMessages , true , false , false , 0 , false ) ; <nl> + AndroidUtilities . runOnUIThread ( ( ) - > { <nl> + ArrayList < MessageObject > messageObjects = new ArrayList < > ( ) ; <nl> + messageObjects . add ( new MessageObject ( msgObj . currentAccount , msgObj . messageOwner , true ) ) ; <nl> + getMessagesController ( ) . updateInterfaceWithMessages ( newMsgObj1 . dialog_id , messageObjects , false ) ; <nl> + getMediaDataController ( ) . increasePeerRaiting ( newMsgObj1 . dialog_id ) ; <nl> + processSentMessage ( oldId ) ; <nl> + removeFromSendingMessages ( oldId , scheduleDate ! = 0 ) ; <nl> + } ) ; <nl> } ) ; <nl> } ) ; <nl> } else { <nl> public int sendVote ( final MessageObject messageObject , final TLRPC . TL_pollAnswer <nl> getMessagesController ( ) . processUpdates ( ( TLRPC . Updates ) response , false ) ; <nl> voteSendTime . put ( messageObject . getPollId ( ) , SystemClock . uptimeMillis ( ) ) ; <nl> } <nl> - AndroidUtilities . runOnUIThread ( new Runnable ( ) { <nl> - @ Override <nl> - public void run ( ) { <nl> - waitingForVote . remove ( key ) ; <nl> - if ( finishRunnable ! = null ) { <nl> - finishRunnable . run ( ) ; <nl> - } <nl> + AndroidUtilities . runOnUIThread ( ( ) - > { <nl> + waitingForVote . remove ( key ) ; <nl> + if ( finishRunnable ! = null ) { <nl> + finishRunnable . run ( ) ; <nl> } <nl> } ) ; <nl> } ) ; <nl> protected void performSendMessageRequestMulti ( final TLRPC . TL_messages_sendMultiM <nl> for ( int a = 0 , size = msgObjs . size ( ) ; a < size ; a + + ) { <nl> putToSendingMessages ( msgObjs . get ( a ) . messageOwner , scheduled ) ; <nl> } <nl> - getConnectionsManager ( ) . sendRequest ( req , ( response , error ) - > AndroidUtilities . runOnUIThread ( ( ) - > { <nl> + getConnectionsManager ( ) . sendRequest ( req , ( response , error ) - > { <nl> if ( error ! = null & & FileRefController . isFileRefError ( error . text ) ) { <nl> if ( parentObjects ! = null ) { <nl> ArrayList < Object > arrayList = new ArrayList < > ( parentObjects ) ; <nl> getFileRefController ( ) . requestReference ( arrayList , req , msgObjs , originalPaths , arrayList , delayedMessage , scheduled ) ; <nl> return ; <nl> } else if ( delayedMessage ! = null ) { <nl> - AndroidUtilities . runOnUIThread ( new Runnable ( ) { <nl> - @ Override <nl> - public void run ( ) { <nl> - for ( int a = 0 , size = req . multi_media . size ( ) ; a < size ; a + + ) { <nl> - if ( delayedMessage . parentObjects . get ( a ) = = null ) { <nl> - continue ; <nl> - } <nl> - removeFromSendingMessages ( msgObjs . get ( a ) . getId ( ) , scheduled ) ; <nl> - TLRPC . TL_inputSingleMedia request = req . multi_media . get ( a ) ; <nl> - if ( request . media instanceof TLRPC . TL_inputMediaPhoto ) { <nl> - request . media = delayedMessage . inputMedias . get ( a ) ; <nl> - } else if ( request . media instanceof TLRPC . TL_inputMediaDocument ) { <nl> - request . media = delayedMessage . inputMedias . get ( a ) ; <nl> - } <nl> - delayedMessage . videoEditedInfo = delayedMessage . videoEditedInfos . get ( a ) ; <nl> - delayedMessage . httpLocation = delayedMessage . httpLocations . get ( a ) ; <nl> - delayedMessage . photoSize = delayedMessage . locations . get ( a ) ; <nl> - delayedMessage . performMediaUpload = true ; <nl> - performSendDelayedMessage ( delayedMessage , a ) ; <nl> + AndroidUtilities . runOnUIThread ( ( ) - > { <nl> + for ( int a = 0 , size = req . multi_media . size ( ) ; a < size ; a + + ) { <nl> + if ( delayedMessage . parentObjects . get ( a ) = = null ) { <nl> + continue ; <nl> + } <nl> + removeFromSendingMessages ( msgObjs . get ( a ) . getId ( ) , scheduled ) ; <nl> + TLRPC . TL_inputSingleMedia request = req . multi_media . get ( a ) ; <nl> + if ( request . media instanceof TLRPC . TL_inputMediaPhoto ) { <nl> + request . media = delayedMessage . inputMedias . get ( a ) ; <nl> + } else if ( request . media instanceof TLRPC . TL_inputMediaDocument ) { <nl> + request . media = delayedMessage . inputMedias . get ( a ) ; <nl> } <nl> + delayedMessage . videoEditedInfo = delayedMessage . videoEditedInfos . get ( a ) ; <nl> + delayedMessage . httpLocation = delayedMessage . httpLocations . get ( a ) ; <nl> + delayedMessage . photoSize = delayedMessage . locations . get ( a ) ; <nl> + delayedMessage . performMediaUpload = true ; <nl> + performSendDelayedMessage ( delayedMessage , a ) ; <nl> } <nl> } ) ; <nl> return ; <nl> } <nl> } <nl> - boolean isSentError = false ; <nl> - if ( error = = null ) { <nl> - SparseArray < TLRPC . Message > newMessages = new SparseArray < > ( ) ; <nl> - LongSparseArray < Integer > newIds = new LongSparseArray < > ( ) ; <nl> - final TLRPC . Updates updates = ( TLRPC . Updates ) response ; <nl> - ArrayList < TLRPC . Update > updatesArr = ( ( TLRPC . Updates ) response ) . updates ; <nl> - for ( int a = 0 ; a < updatesArr . size ( ) ; a + + ) { <nl> - TLRPC . Update update = updatesArr . get ( a ) ; <nl> - if ( update instanceof TLRPC . TL_updateMessageID ) { <nl> - TLRPC . TL_updateMessageID updateMessageID = ( TLRPC . TL_updateMessageID ) update ; <nl> - newIds . put ( updateMessageID . random_id , updateMessageID . id ) ; <nl> - updatesArr . remove ( a ) ; <nl> - a - - ; <nl> - } else if ( update instanceof TLRPC . TL_updateNewMessage ) { <nl> - final TLRPC . TL_updateNewMessage newMessage = ( TLRPC . TL_updateNewMessage ) update ; <nl> - newMessages . put ( newMessage . message . id , newMessage . message ) ; <nl> - Utilities . stageQueue . postRunnable ( ( ) - > getMessagesController ( ) . processNewDifferenceParams ( - 1 , newMessage . pts , - 1 , newMessage . pts_count ) ) ; <nl> - updatesArr . remove ( a ) ; <nl> - a - - ; <nl> - } else if ( update instanceof TLRPC . TL_updateNewChannelMessage ) { <nl> - final TLRPC . TL_updateNewChannelMessage newMessage = ( TLRPC . TL_updateNewChannelMessage ) update ; <nl> - newMessages . put ( newMessage . message . id , newMessage . message ) ; <nl> - Utilities . stageQueue . postRunnable ( ( ) - > getMessagesController ( ) . processNewChannelDifferenceParams ( newMessage . pts , newMessage . pts_count , newMessage . message . to_id . channel_id ) ) ; <nl> - updatesArr . remove ( a ) ; <nl> - a - - ; <nl> - } else if ( update instanceof TLRPC . TL_updateNewScheduledMessage ) { <nl> - final TLRPC . TL_updateNewScheduledMessage newMessage = ( TLRPC . TL_updateNewScheduledMessage ) update ; <nl> - newMessages . put ( newMessage . message . id , newMessage . message ) ; <nl> - updatesArr . remove ( a ) ; <nl> - a - - ; <nl> - } <nl> - } <nl> - <nl> - for ( int i = 0 ; i < msgObjs . size ( ) ; i + + ) { <nl> - final MessageObject msgObj = msgObjs . get ( i ) ; <nl> - final String originalPath = originalPaths . get ( i ) ; <nl> - final TLRPC . Message newMsgObj = msgObj . messageOwner ; <nl> - final int oldId = newMsgObj . id ; <nl> - final ArrayList < TLRPC . Message > sentMessages = new ArrayList < > ( ) ; <nl> - final String attachPath = newMsgObj . attachPath ; <nl> - final long grouped_id ; <nl> - final int existFlags ; <nl> + AndroidUtilities . runOnUIThread ( ( ) - > { <nl> + boolean isSentError = false ; <nl> + if ( error = = null ) { <nl> + SparseArray < TLRPC . Message > newMessages = new SparseArray < > ( ) ; <nl> + LongSparseArray < Integer > newIds = new LongSparseArray < > ( ) ; <nl> + final TLRPC . Updates updates = ( TLRPC . Updates ) response ; <nl> + ArrayList < TLRPC . Update > updatesArr = ( ( TLRPC . Updates ) response ) . updates ; <nl> + for ( int a = 0 ; a < updatesArr . size ( ) ; a + + ) { <nl> + TLRPC . Update update = updatesArr . get ( a ) ; <nl> + if ( update instanceof TLRPC . TL_updateMessageID ) { <nl> + TLRPC . TL_updateMessageID updateMessageID = ( TLRPC . TL_updateMessageID ) update ; <nl> + newIds . put ( updateMessageID . random_id , updateMessageID . id ) ; <nl> + updatesArr . remove ( a ) ; <nl> + a - - ; <nl> + } else if ( update instanceof TLRPC . TL_updateNewMessage ) { <nl> + final TLRPC . TL_updateNewMessage newMessage = ( TLRPC . TL_updateNewMessage ) update ; <nl> + newMessages . put ( newMessage . message . id , newMessage . message ) ; <nl> + Utilities . stageQueue . postRunnable ( ( ) - > getMessagesController ( ) . processNewDifferenceParams ( - 1 , newMessage . pts , - 1 , newMessage . pts_count ) ) ; <nl> + updatesArr . remove ( a ) ; <nl> + a - - ; <nl> + } else if ( update instanceof TLRPC . TL_updateNewChannelMessage ) { <nl> + final TLRPC . TL_updateNewChannelMessage newMessage = ( TLRPC . TL_updateNewChannelMessage ) update ; <nl> + newMessages . put ( newMessage . message . id , newMessage . message ) ; <nl> + Utilities . stageQueue . postRunnable ( ( ) - > getMessagesController ( ) . processNewChannelDifferenceParams ( newMessage . pts , newMessage . pts_count , newMessage . message . to_id . channel_id ) ) ; <nl> + updatesArr . remove ( a ) ; <nl> + a - - ; <nl> + } else if ( update instanceof TLRPC . TL_updateNewScheduledMessage ) { <nl> + final TLRPC . TL_updateNewScheduledMessage newMessage = ( TLRPC . TL_updateNewScheduledMessage ) update ; <nl> + newMessages . put ( newMessage . message . id , newMessage . message ) ; <nl> + updatesArr . remove ( a ) ; <nl> + a - - ; <nl> + } <nl> + } <nl> + <nl> + for ( int i = 0 ; i < msgObjs . size ( ) ; i + + ) { <nl> + final MessageObject msgObj = msgObjs . get ( i ) ; <nl> + final String originalPath = originalPaths . get ( i ) ; <nl> + final TLRPC . Message newMsgObj = msgObj . messageOwner ; <nl> + final int oldId = newMsgObj . id ; <nl> + final ArrayList < TLRPC . Message > sentMessages = new ArrayList < > ( ) ; <nl> + final String attachPath = newMsgObj . attachPath ; <nl> + final long grouped_id ; <nl> + final int existFlags ; <nl> <nl> - Integer id = newIds . get ( newMsgObj . random_id ) ; <nl> - if ( id ! = null ) { <nl> - TLRPC . Message message = newMessages . get ( id ) ; <nl> - if ( message ! = null ) { <nl> - sentMessages . add ( message ) ; <nl> - updateMediaPaths ( msgObj , message , message . id , originalPath , false ) ; <nl> - existFlags = msgObj . getMediaExistanceFlags ( ) ; <nl> - newMsgObj . id = message . id ; <nl> - if ( ( newMsgObj . flags & TLRPC . MESSAGE_FLAG_MEGAGROUP ) ! = 0 ) { <nl> - message . flags | = TLRPC . MESSAGE_FLAG_MEGAGROUP ; <nl> - } <nl> - grouped_id = message . grouped_id ; <nl> + Integer id = newIds . get ( newMsgObj . random_id ) ; <nl> + if ( id ! = null ) { <nl> + TLRPC . Message message = newMessages . get ( id ) ; <nl> + if ( message ! = null ) { <nl> + sentMessages . add ( message ) ; <nl> + updateMediaPaths ( msgObj , message , message . id , originalPath , false ) ; <nl> + existFlags = msgObj . getMediaExistanceFlags ( ) ; <nl> + newMsgObj . id = message . id ; <nl> + if ( ( newMsgObj . flags & TLRPC . MESSAGE_FLAG_MEGAGROUP ) ! = 0 ) { <nl> + message . flags | = TLRPC . MESSAGE_FLAG_MEGAGROUP ; <nl> + } <nl> + grouped_id = message . grouped_id ; <nl> <nl> - if ( ! scheduled ) { <nl> - Integer value = getMessagesController ( ) . dialogs_read_outbox_max . get ( message . dialog_id ) ; <nl> - if ( value = = null ) { <nl> - value = getMessagesStorage ( ) . getDialogReadMax ( message . out , message . dialog_id ) ; <nl> - getMessagesController ( ) . dialogs_read_outbox_max . put ( message . dialog_id , value ) ; <nl> + if ( ! scheduled ) { <nl> + Integer value = getMessagesController ( ) . dialogs_read_outbox_max . get ( message . dialog_id ) ; <nl> + if ( value = = null ) { <nl> + value = getMessagesStorage ( ) . getDialogReadMax ( message . out , message . dialog_id ) ; <nl> + getMessagesController ( ) . dialogs_read_outbox_max . put ( message . dialog_id , value ) ; <nl> + } <nl> + message . unread = value < message . id ; <nl> } <nl> - message . unread = value < message . id ; <nl> + } else { <nl> + isSentError = true ; <nl> + break ; <nl> } <nl> } else { <nl> isSentError = true ; <nl> break ; <nl> } <nl> - } else { <nl> - isSentError = true ; <nl> - break ; <nl> - } <nl> <nl> - if ( ! isSentError ) { <nl> - getStatsController ( ) . incrementSentItemsCount ( ApplicationLoader . getCurrentNetworkType ( ) , StatsController . TYPE_MESSAGES , 1 ) ; <nl> - newMsgObj . send_state = MessageObject . MESSAGE_SEND_STATE_SENT ; <nl> - getNotificationCenter ( ) . postNotificationName ( NotificationCenter . messageReceivedByServer , oldId , newMsgObj . id , newMsgObj , newMsgObj . dialog_id , grouped_id , existFlags , scheduled ) ; <nl> - getMessagesStorage ( ) . getStorageQueue ( ) . postRunnable ( ( ) - > { <nl> - getMessagesStorage ( ) . updateMessageStateAndId ( newMsgObj . random_id , oldId , newMsgObj . id , 0 , false , newMsgObj . to_id . channel_id , scheduled ? 1 : 0 ) ; <nl> - getMessagesStorage ( ) . putMessages ( sentMessages , true , false , false , 0 , scheduled ) ; <nl> - AndroidUtilities . runOnUIThread ( ( ) - > { <nl> - getMediaDataController ( ) . increasePeerRaiting ( newMsgObj . dialog_id ) ; <nl> - getNotificationCenter ( ) . postNotificationName ( NotificationCenter . messageReceivedByServer , oldId , newMsgObj . id , newMsgObj , newMsgObj . dialog_id , grouped_id , existFlags , scheduled ) ; <nl> - processSentMessage ( oldId ) ; <nl> - removeFromSendingMessages ( oldId , scheduled ) ; <nl> + if ( ! isSentError ) { <nl> + getStatsController ( ) . incrementSentItemsCount ( ApplicationLoader . getCurrentNetworkType ( ) , StatsController . TYPE_MESSAGES , 1 ) ; <nl> + newMsgObj . send_state = MessageObject . MESSAGE_SEND_STATE_SENT ; <nl> + getNotificationCenter ( ) . postNotificationName ( NotificationCenter . messageReceivedByServer , oldId , newMsgObj . id , newMsgObj , newMsgObj . dialog_id , grouped_id , existFlags , scheduled ) ; <nl> + getMessagesStorage ( ) . getStorageQueue ( ) . postRunnable ( ( ) - > { <nl> + getMessagesStorage ( ) . updateMessageStateAndId ( newMsgObj . random_id , oldId , newMsgObj . id , 0 , false , newMsgObj . to_id . channel_id , scheduled ? 1 : 0 ) ; <nl> + getMessagesStorage ( ) . putMessages ( sentMessages , true , false , false , 0 , scheduled ) ; <nl> + AndroidUtilities . runOnUIThread ( ( ) - > { <nl> + getMediaDataController ( ) . increasePeerRaiting ( newMsgObj . dialog_id ) ; <nl> + getNotificationCenter ( ) . postNotificationName ( NotificationCenter . messageReceivedByServer , oldId , newMsgObj . id , newMsgObj , newMsgObj . dialog_id , grouped_id , existFlags , scheduled ) ; <nl> + processSentMessage ( oldId ) ; <nl> + removeFromSendingMessages ( oldId , scheduled ) ; <nl> + } ) ; <nl> } ) ; <nl> - } ) ; <nl> + } <nl> } <nl> + Utilities . stageQueue . postRunnable ( ( ) - > getMessagesController ( ) . processUpdates ( updates , false ) ) ; <nl> + } else { <nl> + AlertsCreator . processError ( currentAccount , error , null , req ) ; <nl> + isSentError = true ; <nl> } <nl> - Utilities . stageQueue . postRunnable ( ( ) - > getMessagesController ( ) . processUpdates ( updates , false ) ) ; <nl> - } else { <nl> - AlertsCreator . processError ( currentAccount , error , null , req ) ; <nl> - isSentError = true ; <nl> - } <nl> - if ( isSentError ) { <nl> - for ( int i = 0 ; i < msgObjs . size ( ) ; i + + ) { <nl> - TLRPC . Message newMsgObj = msgObjs . get ( i ) . messageOwner ; <nl> - getMessagesStorage ( ) . markMessageAsSendError ( newMsgObj , scheduled ) ; <nl> - newMsgObj . send_state = MessageObject . MESSAGE_SEND_STATE_SEND_ERROR ; <nl> - getNotificationCenter ( ) . postNotificationName ( NotificationCenter . messageSendError , newMsgObj . id ) ; <nl> - processSentMessage ( newMsgObj . id ) ; <nl> - removeFromSendingMessages ( newMsgObj . id , scheduled ) ; <nl> + if ( isSentError ) { <nl> + for ( int i = 0 ; i < msgObjs . size ( ) ; i + + ) { <nl> + TLRPC . Message newMsgObj = msgObjs . get ( i ) . messageOwner ; <nl> + getMessagesStorage ( ) . markMessageAsSendError ( newMsgObj , scheduled ) ; <nl> + newMsgObj . send_state = MessageObject . MESSAGE_SEND_STATE_SEND_ERROR ; <nl> + getNotificationCenter ( ) . postNotificationName ( NotificationCenter . messageSendError , newMsgObj . id ) ; <nl> + processSentMessage ( newMsgObj . id ) ; <nl> + removeFromSendingMessages ( newMsgObj . id , scheduled ) ; <nl> + } <nl> } <nl> - } <nl> - } ) , null , ConnectionsManager . RequestFlagCanCompress | ConnectionsManager . RequestFlagInvokeAfter ) ; <nl> + } ) ; <nl> + } , null , ConnectionsManager . RequestFlagCanCompress | ConnectionsManager . RequestFlagInvokeAfter ) ; <nl> } <nl> <nl> private void performSendMessageRequest ( final TLObject req , final MessageObject msgObj , final String originalPath , DelayedMessage delayedMessage , Object parentObject , boolean scheduled ) { <nl> protected void performSendMessageRequest ( final TLObject req , final MessageObject <nl> getFileRefController ( ) . requestReference ( parentObject , req , msgObj , originalPath , parentMessage , check , delayedMessage , scheduled ) ; <nl> return ; <nl> } else if ( delayedMessage ! = null ) { <nl> - AndroidUtilities . runOnUIThread ( new Runnable ( ) { <nl> - @ Override <nl> - public void run ( ) { <nl> - removeFromSendingMessages ( newMsgObj . id , scheduled ) ; <nl> - if ( req instanceof TLRPC . TL_messages_sendMedia ) { <nl> - TLRPC . TL_messages_sendMedia request = ( TLRPC . TL_messages_sendMedia ) req ; <nl> - if ( request . media instanceof TLRPC . TL_inputMediaPhoto ) { <nl> - request . media = delayedMessage . inputUploadMedia ; <nl> - } else if ( request . media instanceof TLRPC . TL_inputMediaDocument ) { <nl> - request . media = delayedMessage . inputUploadMedia ; <nl> - } <nl> - } else if ( req instanceof TLRPC . TL_messages_editMessage ) { <nl> - TLRPC . TL_messages_editMessage request = ( TLRPC . TL_messages_editMessage ) req ; <nl> - if ( request . media instanceof TLRPC . TL_inputMediaPhoto ) { <nl> - request . media = delayedMessage . inputUploadMedia ; <nl> - } else if ( request . media instanceof TLRPC . TL_inputMediaDocument ) { <nl> - request . media = delayedMessage . inputUploadMedia ; <nl> - } <nl> + AndroidUtilities . runOnUIThread ( ( ) - > { <nl> + removeFromSendingMessages ( newMsgObj . id , scheduled ) ; <nl> + if ( req instanceof TLRPC . TL_messages_sendMedia ) { <nl> + TLRPC . TL_messages_sendMedia request = ( TLRPC . TL_messages_sendMedia ) req ; <nl> + if ( request . media instanceof TLRPC . TL_inputMediaPhoto ) { <nl> + request . media = delayedMessage . inputUploadMedia ; <nl> + } else if ( request . media instanceof TLRPC . TL_inputMediaDocument ) { <nl> + request . media = delayedMessage . inputUploadMedia ; <nl> + } <nl> + } else if ( req instanceof TLRPC . TL_messages_editMessage ) { <nl> + TLRPC . TL_messages_editMessage request = ( TLRPC . TL_messages_editMessage ) req ; <nl> + if ( request . media instanceof TLRPC . TL_inputMediaPhoto ) { <nl> + request . media = delayedMessage . inputUploadMedia ; <nl> + } else if ( request . media instanceof TLRPC . TL_inputMediaDocument ) { <nl> + request . media = delayedMessage . inputUploadMedia ; <nl> } <nl> - delayedMessage . performMediaUpload = true ; <nl> - performSendDelayedMessage ( delayedMessage ) ; <nl> } <nl> + delayedMessage . performMediaUpload = true ; <nl> + performSendDelayedMessage ( delayedMessage ) ; <nl> } ) ; <nl> return ; <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / messenger / voip / VoIPBaseService . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / messenger / voip / VoIPBaseService . java <nl> public void onDestroy ( ) { <nl> AndroidUtilities . runOnUIThread ( new Runnable ( ) { <nl> @ Override <nl> public void run ( ) { <nl> - NotificationCenter . getGlobalInstance ( ) . postNotificationName ( NotificationCenter . didEndedCall ) ; <nl> + NotificationCenter . getGlobalInstance ( ) . postNotificationName ( NotificationCenter . didEndCall ) ; <nl> } <nl> } ) ; <nl> if ( controller ! = null & & controllerStarted ) { <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / ActionBar / AlertDialog . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / ActionBar / AlertDialog . java <nl> <nl> private Rect backgroundPaddings ; <nl> <nl> private Runnable dismissRunnable = this : : dismiss ; <nl> - private Runnable showRunnable = this : : show ; <nl> + private Runnable showRunnable = ( ) - > { <nl> + if ( isShowing ( ) ) { <nl> + return ; <nl> + } <nl> + show ( ) ; <nl> + } ; <nl> <nl> private ArrayList < AlertDialogCell > itemViews = new ArrayList < > ( ) ; <nl> <nl> protected int getThemeColor ( String key ) { <nl> } <nl> <nl> public void showDelayed ( long delay ) { <nl> + AndroidUtilities . cancelRunOnUIThread ( showRunnable ) ; <nl> AndroidUtilities . runOnUIThread ( showRunnable , delay ) ; <nl> } <nl> <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / ActionBar / Theme . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / ActionBar / Theme . java <nl> private boolean isDefaultMyMessages ( ) { <nl> } <nl> ThemeAccent defaultAccent = themeAccentsMap . get ( DEFALT_THEME_ACCENT_ID ) ; <nl> ThemeAccent accent = themeAccentsMap . get ( currentAccentId ) ; <nl> + if ( defaultAccent = = null | | accent = = null ) { <nl> + return false ; <nl> + } <nl> return defaultAccent . myMessagesAccentColor = = accent . myMessagesAccentColor & & defaultAccent . myMessagesGradientAccentColor = = accent . myMessagesGradientAccentColor ; <nl> } <nl> <nl> public static void applyCommonTheme ( ) { <nl> <nl> setDrawableColorByKey ( avatar_savedDrawable , key_avatar_text ) ; <nl> <nl> - dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow1 . * * " , getColor ( key_avatar_backgroundArchived ) ) ; <nl> - dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow2 . * * " , getColor ( key_avatar_backgroundArchived ) ) ; <nl> - dialogs_archiveAvatarDrawable . setLayerColor ( " Box2 . * * " , getColor ( key_avatar_text ) ) ; <nl> - dialogs_archiveAvatarDrawable . setLayerColor ( " Box1 . * * " , getColor ( key_avatar_text ) ) ; <nl> + dialogs_archiveAvatarDrawable . beginApplyLayerColors ( ) ; <nl> + dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow1 . * * " , getNonAnimatedColor ( key_avatar_backgroundArchived ) ) ; <nl> + dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow2 . * * " , getNonAnimatedColor ( key_avatar_backgroundArchived ) ) ; <nl> + dialogs_archiveAvatarDrawable . setLayerColor ( " Box2 . * * " , getNonAnimatedColor ( key_avatar_text ) ) ; <nl> + dialogs_archiveAvatarDrawable . setLayerColor ( " Box1 . * * " , getNonAnimatedColor ( key_avatar_text ) ) ; <nl> + dialogs_archiveAvatarDrawable . commitApplyLayerColors ( ) ; <nl> dialogs_archiveAvatarDrawableRecolored = false ; <nl> dialogs_archiveAvatarDrawable . setAllowDecodeSingleFrame ( true ) ; <nl> - <nl> - dialogs_pinArchiveDrawable . setLayerColor ( " Arrow . * * " , getColor ( key_chats_archiveIcon ) ) ; <nl> - dialogs_pinArchiveDrawable . setLayerColor ( " Line . * * " , getColor ( key_chats_archiveIcon ) ) ; <nl> - <nl> - dialogs_unpinArchiveDrawable . setLayerColor ( " Arrow . * * " , getColor ( key_chats_archiveIcon ) ) ; <nl> - dialogs_unpinArchiveDrawable . setLayerColor ( " Line . * * " , getColor ( key_chats_archiveIcon ) ) ; <nl> - <nl> - dialogs_archiveDrawable . setLayerColor ( " Arrow . * * " , getColor ( key_chats_archiveBackground ) ) ; <nl> - dialogs_archiveDrawable . setLayerColor ( " Box2 . * * " , getColor ( key_chats_archiveIcon ) ) ; <nl> - dialogs_archiveDrawable . setLayerColor ( " Box1 . * * " , getColor ( key_chats_archiveIcon ) ) ; <nl> + <nl> + dialogs_pinArchiveDrawable . beginApplyLayerColors ( ) ; <nl> + dialogs_pinArchiveDrawable . setLayerColor ( " Arrow . * * " , getNonAnimatedColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_pinArchiveDrawable . setLayerColor ( " Line . * * " , getNonAnimatedColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_pinArchiveDrawable . commitApplyLayerColors ( ) ; <nl> + <nl> + dialogs_unpinArchiveDrawable . beginApplyLayerColors ( ) ; <nl> + dialogs_unpinArchiveDrawable . setLayerColor ( " Arrow . * * " , getNonAnimatedColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_unpinArchiveDrawable . setLayerColor ( " Line . * * " , getNonAnimatedColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_unpinArchiveDrawable . commitApplyLayerColors ( ) ; <nl> + <nl> + dialogs_archiveDrawable . beginApplyLayerColors ( ) ; <nl> + dialogs_archiveDrawable . setLayerColor ( " Arrow . * * " , getNonAnimatedColor ( key_chats_archiveBackground ) ) ; <nl> + dialogs_archiveDrawable . setLayerColor ( " Box2 . * * " , getNonAnimatedColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_archiveDrawable . setLayerColor ( " Box1 . * * " , getNonAnimatedColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_archiveDrawable . commitApplyLayerColors ( ) ; <nl> dialogs_archiveDrawableRecolored = false ; <nl> <nl> - dialogs_unarchiveDrawable . setLayerColor ( " Arrow1 . * * " , getColor ( key_chats_archiveIcon ) ) ; <nl> - dialogs_unarchiveDrawable . setLayerColor ( " Arrow2 . * * " , getColor ( key_chats_archivePinBackground ) ) ; <nl> - dialogs_unarchiveDrawable . setLayerColor ( " Box2 . * * " , getColor ( key_chats_archiveIcon ) ) ; <nl> - dialogs_unarchiveDrawable . setLayerColor ( " Box1 . * * " , getColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_unarchiveDrawable . beginApplyLayerColors ( ) ; <nl> + dialogs_unarchiveDrawable . setLayerColor ( " Arrow1 . * * " , getNonAnimatedColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_unarchiveDrawable . setLayerColor ( " Arrow2 . * * " , getNonAnimatedColor ( key_chats_archivePinBackground ) ) ; <nl> + dialogs_unarchiveDrawable . setLayerColor ( " Box2 . * * " , getNonAnimatedColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_unarchiveDrawable . setLayerColor ( " Box1 . * * " , getNonAnimatedColor ( key_chats_archiveIcon ) ) ; <nl> + dialogs_unarchiveDrawable . commitApplyLayerColors ( ) ; <nl> } <nl> <nl> public static void createDialogsResources ( Context context ) { <nl> public static int getDefaultAccentColor ( String key ) { <nl> return 0 ; <nl> } <nl> <nl> + public static int getNonAnimatedColor ( String key ) { <nl> + return getColor ( key , null , true ) ; <nl> + } <nl> + <nl> public static int getColor ( String key ) { <nl> return getColor ( key , null , false ) ; <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Adapters / SearchAdapterHelper . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Adapters / SearchAdapterHelper . java <nl> public void addHashtagsFromMessage ( CharSequence message ) { <nl> return ; <nl> } <nl> boolean changed = false ; <nl> - Pattern pattern = Pattern . compile ( " ( ^ | \ \ s ) # [ \ \ w @ . ] + " ) ; <nl> + Pattern pattern = Pattern . compile ( " ( ^ | \ \ s ) # [ ^ 0 - 9 ] [ \ \ w @ . ] + " ) ; <nl> Matcher matcher = pattern . matcher ( message ) ; <nl> while ( matcher . find ( ) ) { <nl> int start = matcher . start ( ) ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / ArticleViewer . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / ArticleViewer . java <nl> private void prepareForMoving ( MotionEvent ev ) { <nl> listView [ 1 ] . setAlpha ( 1 . 0f ) ; <nl> listView [ 1 ] . setTranslationX ( 0 . 0f ) ; <nl> listView [ 0 ] . setBackgroundColor ( backgroundPaint . getColor ( ) ) ; <nl> - updateInterfaceForCurrentPage ( true , 0 ) ; <nl> + updateInterfaceForCurrentPage ( true , - 1 ) ; <nl> } else { <nl> movingPage = false ; <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Cells / ChatMessageCell . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Cells / ChatMessageCell . java <nl> private void drawContent ( Canvas canvas ) { <nl> needNewVisiblePart = false ; <nl> } <nl> forceNotDrawTime = currentMessagesGroup ! = null ; <nl> + photoImage . setPressed ( ( isHighlightedAnimated | | isHighlighted ) & & currentPosition ! = null ? 2 : 0 ) ; <nl> photoImage . setVisible ( ! PhotoViewer . isShowingImage ( currentMessageObject ) & & ! SecretMediaViewer . getInstance ( ) . isShowingImage ( currentMessageObject ) , false ) ; <nl> if ( ! photoImage . getVisible ( ) ) { <nl> mediaWasInvisible = true ; <nl> private int getMaxNameWidth ( ) { <nl> } <nl> <nl> public void updateButtonState ( boolean ifSame , boolean animated , boolean fromSet ) { <nl> + if ( currentMessageObject = = null ) { <nl> + return ; <nl> + } <nl> if ( animated & & ( PhotoViewer . isShowingImage ( currentMessageObject ) | | ! attachedToWindow ) ) { <nl> animated = false ; <nl> } <nl> protected void onDraw ( Canvas canvas ) { <nl> Drawable drawable = a = = 0 ? currentBackgroundDrawable : currentBackgroundSelectedDrawable ; <nl> if ( drawable instanceof Theme . MessageDrawable ) { <nl> Theme . MessageDrawable messageDrawable = ( Theme . MessageDrawable ) drawable ; <nl> - if ( parentHeight = = 0 ) { <nl> - parentHeight = AndroidUtilities . displaySize . y ; <nl> + int h = parentHeight ; <nl> + if ( h = = 0 ) { <nl> + h = AndroidUtilities . displaySize . y ; <nl> if ( getParent ( ) instanceof View ) { <nl> View view = ( View ) getParent ( ) ; <nl> - parentHeight = view . getMeasuredHeight ( ) ; <nl> + h = view . getMeasuredHeight ( ) ; <nl> } <nl> } <nl> - messageDrawable . setTop ( getTop ( ) , parentHeight ) ; <nl> + messageDrawable . setTop ( getTop ( ) , h ) ; <nl> } <nl> } <nl> if ( isHighlightedAnimated ) { <nl> private void sendAccessibilityEventForVirtualView ( int viewId , int eventType ) { <nl> AccessibilityEvent event = AccessibilityEvent . obtain ( eventType ) ; <nl> event . setPackageName ( getContext ( ) . getPackageName ( ) ) ; <nl> event . setSource ( ChatMessageCell . this , viewId ) ; <nl> - getParent ( ) . requestSendAccessibilityEvent ( ChatMessageCell . this , event ) ; <nl> + if ( getParent ( ) ! = null ) { <nl> + getParent ( ) . requestSendAccessibilityEvent ( ChatMessageCell . this , event ) ; <nl> + } <nl> } <nl> } <nl> <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Cells / DialogCell . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Cells / DialogCell . java <nl> protected void onDraw ( Canvas canvas ) { <nl> Theme . dialogs_pinnedPaint . setColor ( backgroundColor ) ; <nl> canvas . drawRect ( tx - AndroidUtilities . dp ( 8 ) , 0 , getMeasuredWidth ( ) , getMeasuredHeight ( ) , Theme . dialogs_pinnedPaint ) ; <nl> if ( currentRevealProgress = = 0 & & Theme . dialogs_archiveDrawableRecolored ) { <nl> - Theme . dialogs_archiveDrawable . setLayerColor ( " Arrow . * * " , Theme . getColor ( Theme . key_chats_archiveBackground ) ) ; <nl> + Theme . dialogs_archiveDrawable . setLayerColor ( " Arrow . * * " , Theme . getNonAnimatedColor ( Theme . key_chats_archiveBackground ) ) ; <nl> Theme . dialogs_archiveDrawableRecolored = false ; <nl> } <nl> } <nl> protected void onDraw ( Canvas canvas ) { <nl> canvas . restore ( ) ; <nl> <nl> if ( ! Theme . dialogs_archiveDrawableRecolored ) { <nl> - Theme . dialogs_archiveDrawable . setLayerColor ( " Arrow . * * " , Theme . getColor ( Theme . key_chats_archivePinBackground ) ) ; <nl> + Theme . dialogs_archiveDrawable . setLayerColor ( " Arrow . * * " , Theme . getNonAnimatedColor ( Theme . key_chats_archivePinBackground ) ) ; <nl> Theme . dialogs_archiveDrawableRecolored = true ; <nl> } <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Cells / TextSelectionHelper . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Cells / TextSelectionHelper . java <nl> private void copyText ( ) { <nl> return ; <nl> } <nl> CharSequence str = getTextForCopy ( ) ; <nl> - <nl> + if ( str = = null ) { <nl> + return ; <nl> + } <nl> android . content . ClipboardManager clipboard = ( android . content . ClipboardManager ) ApplicationLoader . applicationContext . getSystemService ( Context . CLIPBOARD_SERVICE ) ; <nl> android . content . ClipData clip = android . content . ClipData . newPlainText ( " label " , str ) ; <nl> clipboard . setPrimaryClip ( clip ) ; <nl> private void copyText ( ) { <nl> } <nl> <nl> protected CharSequence getTextForCopy ( ) { <nl> - return getText ( selectedView , false ) . subSequence ( selectionStart , selectionEnd ) ; <nl> + CharSequence text = getText ( selectedView , false ) ; <nl> + if ( text ! = null ) { <nl> + return text . subSequence ( selectionStart , selectionEnd ) ; <nl> + } <nl> + return null ; <nl> } <nl> <nl> protected int [ ] offsetToCord ( int offset ) { <nl> public void draw ( MessageObject messageObject , MessageObject . TextLayoutBlock bloc <nl> } <nl> <nl> MessageObject selectedMessageObject = selectedView . getMessageObject ( ) ; <nl> - if ( selectedMessageObject = = null ) { <nl> + if ( selectedMessageObject = = null | | selectedMessageObject . textLayoutBlocks = = null ) { <nl> return ; <nl> } <nl> <nl> if ( messageObject . getId ( ) = = selectedCellId ) { <nl> int selectionStart = this . selectionStart ; <nl> int selectionEnd = this . selectionEnd ; <nl> - if ( selectedView . getMessageObject ( ) . textLayoutBlocks . size ( ) > 1 ) { <nl> + if ( selectedMessageObject . textLayoutBlocks . size ( ) > 1 ) { <nl> if ( selectionStart < block . charactersOffset ) { <nl> selectionStart = block . charactersOffset ; <nl> } <nl> protected CharSequence getTextForCopy ( ) { <nl> int n = startViewPosition = = endViewPosition ? endViewChildPosition : childCountByPosition . get ( i ) - 1 ; <nl> for ( int k = startViewChildPosition ; k < = n ; k + + ) { <nl> CharSequence text = textByPosition . get ( i + ( k < < 16 ) ) ; <nl> + if ( text = = null ) { <nl> + continue ; <nl> + } <nl> if ( startViewPosition = = endViewPosition & & k = = endViewChildPosition & & k = = startViewChildPosition ) { <nl> int e = endViewOffset ; <nl> int s = startViewOffset ; <nl> + if ( e < s ) { <nl> + int tmp = s ; <nl> + s = e ; <nl> + e = tmp ; <nl> + } <nl> if ( s < text . length ( ) ) { <nl> if ( e > text . length ( ) ) e = text . length ( ) ; <nl> stringBuilder . append ( text . subSequence ( s , e ) ) ; <nl> protected CharSequence getTextForCopy ( ) { <nl> } else if ( i = = endViewPosition ) { <nl> for ( int k = 0 ; k < = endViewChildPosition ; k + + ) { <nl> CharSequence text = textByPosition . get ( i + ( k < < 16 ) ) ; <nl> + if ( text = = null ) { <nl> + continue ; <nl> + } <nl> if ( startViewPosition = = endViewPosition & & k = = endViewChildPosition & & k = = startViewChildPosition ) { <nl> int e = endViewOffset ; <nl> int s = startViewOffset ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Cells / ThemesHorizontalListCell . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Cells / ThemesHorizontalListCell . java <nl> public void setTheme ( Theme . ThemeInfo theme , boolean last , boolean first ) { <nl> themeInfo = theme ; <nl> isFirst = first ; <nl> isLast = last ; <nl> + accentId = theme . currentAccentId ; <nl> FrameLayout . LayoutParams layoutParams = ( FrameLayout . LayoutParams ) button . getLayoutParams ( ) ; <nl> layoutParams . leftMargin = AndroidUtilities . dp ( isFirst ? 22 + 27 : 27 ) ; <nl> button . setLayoutParams ( layoutParams ) ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / ChatActivity . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / ChatActivity . java <nl> protected void dispatchDraw ( Canvas canvas ) { <nl> MessageBackgroundDrawable backgroundDrawable = cell . getBackgroundDrawable ( ) ; <nl> if ( ( backgroundDrawable . isAnimationInProgress ( ) | | cell . isDrawingSelectionBackground ( ) ) & & ( position = = null | | ( position . flags & MessageObject . POSITION_FLAG_RIGHT ) ! = 0 ) ) { <nl> if ( cell . isHighlighted ( ) | | cell . isHighlightedAnimated ( ) ) { <nl> - int color = Theme . getColor ( Theme . key_chat_selectedBackground ) ; <nl> - int alpha = Color . alpha ( color ) ; <nl> - canvas . save ( ) ; <nl> - canvas . translate ( 0 , cell . getTranslationY ( ) ) ; <nl> - Theme . chat_replyLinePaint . setColor ( Theme . getColor ( Theme . key_chat_selectedBackground ) ) ; <nl> - Theme . chat_replyLinePaint . setAlpha ( ( int ) ( alpha * cell . getHightlightAlpha ( ) ) ) ; <nl> - canvas . drawRect ( 0 , cell . getTop ( ) , getMeasuredWidth ( ) , cell . getBottom ( ) , Theme . chat_replyLinePaint ) ; <nl> - canvas . restore ( ) ; <nl> + if ( position = = null ) { <nl> + int color = Theme . getColor ( Theme . key_chat_selectedBackground ) ; <nl> + int alpha = Color . alpha ( color ) ; <nl> + canvas . save ( ) ; <nl> + canvas . translate ( 0 , cell . getTranslationY ( ) ) ; <nl> + Theme . chat_replyLinePaint . setColor ( Theme . getColor ( Theme . key_chat_selectedBackground ) ) ; <nl> + Theme . chat_replyLinePaint . setAlpha ( ( int ) ( alpha * cell . getHightlightAlpha ( ) ) ) ; <nl> + canvas . drawRect ( 0 , cell . getTop ( ) , getMeasuredWidth ( ) , cell . getBottom ( ) , Theme . chat_replyLinePaint ) ; <nl> + canvas . restore ( ) ; <nl> + } <nl> } else { <nl> backgroundDrawable . setColor ( Theme . getColor ( Theme . key_chat_selectedBackground ) ) ; <nl> int y = ( int ) cell . getY ( ) ; <nl> private void jumpToDate ( int date ) { <nl> } <nl> chatScrollHelper . setScrollDirection ( scrollDirection ) ; <nl> <nl> - if ( progressDialog = = null ) { <nl> - progressDialog = new AlertDialog ( getParentActivity ( ) , 3 ) ; <nl> + if ( progressDialog ! = null ) { <nl> + progressDialog . dismiss ( ) ; <nl> } <nl> + progressDialog = new AlertDialog ( getParentActivity ( ) , 3 ) ; <nl> progressDialog . setOnCancelListener ( dialog - > postponedScrollIsCanceled = true ) ; <nl> progressDialog . showDelayed ( 400 ) ; <nl> <nl> public void showFieldPanel ( boolean show , MessageObject messageObjectToReply , Mes <nl> if ( forwardingMessages ! = null ) { <nl> ArrayList < MessageObject > messagesToForward = forwardingMessages ; <nl> forwardingMessages = null ; <nl> - forwardMessages ( messagesToForward , false , notify , scheduleDate ! = 0 & & scheduleDate ! = 0x7ffffffe ? scheduleDate + 1 : 0 ) ; <nl> + forwardMessages ( messagesToForward , false , notify , scheduleDate ! = 0 & & scheduleDate ! = 0x7ffffffe ? scheduleDate + 1 : scheduleDate ) ; <nl> } <nl> chatActivityEnterView . setForceShowSendButton ( false , false ) ; <nl> chatActivityEnterView . hideTopView ( animated ) ; <nl> private void scrollToLastMessage ( boolean pagedown ) { <nl> } <nl> } else { <nl> if ( pagedown ) { <nl> - if ( progressDialog = = null ) { <nl> - progressDialog = new AlertDialog ( getParentActivity ( ) , 3 ) ; <nl> + if ( progressDialog ! = null ) { <nl> + progressDialog . dismiss ( ) ; <nl> } <nl> + progressDialog = new AlertDialog ( getParentActivity ( ) , 3 ) ; <nl> progressDialog . setOnCancelListener ( dialog - > postponedScrollIsCanceled = true ) ; <nl> progressDialog . showDelayed ( 400 ) ; <nl> <nl> private void removeSelectedMessageHighlight ( ) { <nl> <nl> private AlertDialog progressDialog ; <nl> <nl> - public void <nl> - scrollToMessageId ( int id , int fromMessageId , boolean select , int loadIndex , boolean forceScroll ) { <nl> + public void scrollToMessageId ( int id , int fromMessageId , boolean select , int loadIndex , boolean forceScroll ) { <nl> if ( chatListView . animationRunning | | getParentActivity ( ) = = null ) { <nl> return ; <nl> } <nl> private void removeSelectedMessageHighlight ( ) { <nl> MessageObject primary = groupedMessages . findPrimaryMessageObject ( ) ; <nl> if ( primary ! = null ) { <nl> object = primary ; <nl> - id = object . getId ( ) ; <nl> } <nl> } <nl> <nl> private void removeSelectedMessageHighlight ( ) { <nl> <nl> if ( found ) { <nl> int yOffset = getScrollOffsetForMessage ( object ) ; <nl> - chatListView . smoothScrollBy ( 0 , view . getTop ( ) - chatListView . getPaddingTop ( ) - yOffset ) ; <nl> + int scrollY = view . getTop ( ) - chatListView . getPaddingTop ( ) - yOffset ; <nl> + int maxScrollOffset = chatListView . computeVerticalScrollRange ( ) - chatListView . computeVerticalScrollOffset ( ) - chatListView . computeVerticalScrollExtent ( ) ; <nl> + if ( maxScrollOffset < 0 ) maxScrollOffset = 0 ; <nl> + if ( scrollY > maxScrollOffset ) { <nl> + scrollY = maxScrollOffset ; <nl> + } <nl> + if ( scrollY ! = 0 ) { <nl> + chatListView . smoothScrollBy ( 0 , scrollY ) ; <nl> + } <nl> break ; <nl> } <nl> } <nl> private void removeSelectedMessageHighlight ( ) { <nl> if ( h < maxH ) { <nl> int yOffset = getScrollOffsetForMessage ( object ) ; <nl> if ( view ! = null ) { <nl> + int scrollY ; <nl> if ( scrollDirection = = RecyclerAnimationScrollHelper . SCROLL_DIRECTION_UP ) { <nl> - chatListView . smoothScrollBy ( 0 , view . getTop ( ) - chatListView . getPaddingTop ( ) - h - yOffset ) ; <nl> + scrollY = view . getTop ( ) - chatListView . getPaddingTop ( ) - h - yOffset ; <nl> } else { <nl> MessageObject messageObject = messages . get ( position - chatAdapter . messagesStartRow ) ; <nl> int scrollToHeight = dummyMessageCell . computeHeight ( messageObject , groupedMessagesMap . get ( messageObject . getGroupId ( ) ) ) ; <nl> int t = chatListView . getMeasuredHeight ( ) - scrollToHeight ; <nl> - chatListView . smoothScrollBy ( 0 , - ( chatListView . getMeasuredHeight ( ) - view . getBottom ( ) ) + t + h - yOffset ) ; <nl> + scrollY = - ( chatListView . getMeasuredHeight ( ) - view . getBottom ( ) ) + t + h - yOffset ; <nl> + } <nl> + int maxScrollOffset = chatListView . computeVerticalScrollRange ( ) - chatListView . computeVerticalScrollOffset ( ) - chatListView . computeVerticalScrollExtent ( ) ; <nl> + if ( maxScrollOffset < 0 ) maxScrollOffset = 0 ; <nl> + if ( scrollY > maxScrollOffset ) { <nl> + scrollY = maxScrollOffset ; <nl> + } <nl> + if ( scrollY ! = 0 ) { <nl> + chatListView . smoothScrollBy ( 0 , scrollY ) ; <nl> } <nl> } else { <nl> chatListView . smoothScrollToPosition ( position ) ; <nl> private void removeSelectedMessageHighlight ( ) { <nl> } <nl> <nl> if ( query ) { <nl> - if ( progressDialog = = null ) { <nl> - progressDialog = new AlertDialog ( getParentActivity ( ) , 3 ) ; <nl> + if ( progressDialog ! = null ) { <nl> + progressDialog . dismiss ( ) ; <nl> } <nl> + progressDialog = new AlertDialog ( getParentActivity ( ) , 3 ) ; <nl> progressDialog . setOnCancelListener ( dialog - > postponedScrollIsCanceled = true ) ; <nl> progressDialog . showDelayed ( 400 ) ; <nl> <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Components / AvatarDrawable . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Components / AvatarDrawable . java <nl> public void draw ( Canvas canvas ) { <nl> canvas . drawCircle ( size / 2 . 0f , size / 2 . 0f , size / 2 . 0f * archivedAvatarProgress , Theme . avatar_backgroundPaint ) ; <nl> if ( Theme . dialogs_archiveAvatarDrawableRecolored ) { <nl> Theme . dialogs_archiveAvatarDrawable . beginApplyLayerColors ( ) ; <nl> - Theme . dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow1 . * * " , Theme . getColor ( Theme . key_avatar_backgroundArchived ) ) ; <nl> - Theme . dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow2 . * * " , Theme . getColor ( Theme . key_avatar_backgroundArchived ) ) ; <nl> + Theme . dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow1 . * * " , Theme . getNonAnimatedColor ( Theme . key_avatar_backgroundArchived ) ) ; <nl> + Theme . dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow2 . * * " , Theme . getNonAnimatedColor ( Theme . key_avatar_backgroundArchived ) ) ; <nl> Theme . dialogs_archiveAvatarDrawable . commitApplyLayerColors ( ) ; <nl> Theme . dialogs_archiveAvatarDrawableRecolored = false ; <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Components / ChatActivityEnterView . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Components / ChatActivityEnterView . java <nl> public void onAnimationCancel ( Animator animation ) { <nl> } ) ; <nl> runningAnimation2 . start ( ) ; <nl> updateFieldRight ( 0 ) ; <nl> + if ( delegate ! = null & & getVisibility ( ) = = VISIBLE ) { <nl> + delegate . onAttachButtonHidden ( ) ; <nl> + } <nl> } <nl> <nl> runningAnimationType = 5 ; <nl> public void onAnimationCancel ( Animator animation ) { <nl> } <nl> if ( attachLayout ! = null ) { <nl> attachLayout . setVisibility ( GONE ) ; <nl> + if ( delegate ! = null & & getVisibility ( ) = = VISIBLE ) { <nl> + delegate . onAttachButtonHidden ( ) ; <nl> + } <nl> updateFieldRight ( 0 ) ; <nl> } <nl> scheduleButtonHidden = false ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Components / ChatAttachAlert . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Components / ChatAttachAlert . java <nl> public void loadGalleryPhotos ( ) { <nl> } <nl> <nl> public void init ( ) { <nl> + if ( baseFragment = = null ) { <nl> + return ; <nl> + } <nl> if ( baseFragment instanceof ChatActivity ) { <nl> galleryAlbumEntry = MediaController . allMediaAlbumEntry ; <nl> TLRPC . Chat chat = ( ( ChatActivity ) baseFragment ) . getCurrentChat ( ) ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Components / EmojiView . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Components / EmojiView . java <nl> public void getOutline ( View view , Outline outline ) { <nl> protected void onMeasure ( int widthSpec , int heightSpec ) { <nl> ignoreLayout = true ; <nl> int width = MeasureSpec . getSize ( widthSpec ) ; <nl> - emojiLayoutManager . setSpanCount ( width / AndroidUtilities . dp ( AndroidUtilities . isTablet ( ) ? 60 : 45 ) ) ; <nl> + emojiLayoutManager . setSpanCount ( Math . max ( 1 , width / AndroidUtilities . dp ( AndroidUtilities . isTablet ( ) ? 60 : 45 ) ) ) ; <nl> ignoreLayout = false ; <nl> super . onMeasure ( widthSpec , heightSpec ) ; <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Components / FragmentContextView . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Components / FragmentContextView . java <nl> protected void onDetachedFromWindow ( ) { <nl> } <nl> NotificationCenter . getGlobalInstance ( ) . removeObserver ( this , NotificationCenter . messagePlayingSpeedChanged ) ; <nl> NotificationCenter . getGlobalInstance ( ) . removeObserver ( this , NotificationCenter . didStartedCall ) ; <nl> - NotificationCenter . getGlobalInstance ( ) . removeObserver ( this , NotificationCenter . didEndedCall ) ; <nl> + NotificationCenter . getGlobalInstance ( ) . removeObserver ( this , NotificationCenter . didEndCall ) ; <nl> } <nl> } <nl> <nl> protected void onAttachedToWindow ( ) { <nl> } <nl> NotificationCenter . getGlobalInstance ( ) . addObserver ( this , NotificationCenter . messagePlayingSpeedChanged ) ; <nl> NotificationCenter . getGlobalInstance ( ) . addObserver ( this , NotificationCenter . didStartedCall ) ; <nl> - NotificationCenter . getGlobalInstance ( ) . addObserver ( this , NotificationCenter . didEndedCall ) ; <nl> + NotificationCenter . getGlobalInstance ( ) . addObserver ( this , NotificationCenter . didEndCall ) ; <nl> if ( additionalContextView ! = null ) { <nl> additionalContextView . checkVisibility ( ) ; <nl> } <nl> public void didReceivedNotification ( int id , int account , Object . . . args ) { <nl> checkLocationString ( ) ; <nl> } <nl> } <nl> - } else if ( id = = NotificationCenter . messagePlayingDidStart | | id = = NotificationCenter . messagePlayingPlayStateChanged | | id = = NotificationCenter . messagePlayingDidReset | | id = = NotificationCenter . didEndedCall ) { <nl> + } else if ( id = = NotificationCenter . messagePlayingDidStart | | id = = NotificationCenter . messagePlayingPlayStateChanged | | id = = NotificationCenter . messagePlayingDidReset | | id = = NotificationCenter . didEndCall ) { <nl> checkPlayer ( false ) ; <nl> } else if ( id = = NotificationCenter . didStartedCall ) { <nl> checkCall ( false ) ; <nl> } else if ( id = = NotificationCenter . messagePlayingSpeedChanged ) { <nl> updatePlaybackButton ( ) ; <nl> - } else { <nl> - checkPlayer ( false ) ; <nl> } <nl> } <nl> <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Components / PhotoPaintView . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Components / PhotoPaintView . java <nl> <nl> import android . view . View ; <nl> import android . view . ViewGroup ; <nl> import android . view . WindowManager ; <nl> - import android . view . inputmethod . InputMethodManager ; <nl> import android . widget . FrameLayout ; <nl> import android . widget . ImageView ; <nl> import android . widget . LinearLayout ; <nl> <nl> import com . google . android . gms . vision . face . FaceDetector ; <nl> <nl> import org . telegram . messenger . AndroidUtilities ; <nl> - import org . telegram . messenger . ApplicationLoader ; <nl> import org . telegram . messenger . Bitmaps ; <nl> import org . telegram . messenger . BuildVars ; <nl> import org . telegram . messenger . DispatchQueue ; <nl> private void editSelectedTextEntity ( ) { <nl> <nl> setTextDimVisibility ( true , textPaintView ) ; <nl> textPaintView . beginEditing ( ) ; <nl> - <nl> - InputMethodManager inputMethodManager = ( InputMethodManager ) ApplicationLoader . applicationContext . getSystemService ( Activity . INPUT_METHOD_SERVICE ) ; <nl> - inputMethodManager . toggleSoftInputFromWindow ( textPaintView . getFocusedView ( ) . getWindowToken ( ) , InputMethodManager . SHOW_FORCED , 0 ) ; <nl> + View view = textPaintView . getFocusedView ( ) ; <nl> + view . requestFocus ( ) ; <nl> + AndroidUtilities . showKeyboard ( view ) ; <nl> } <nl> <nl> public void closeTextEnter ( boolean apply ) { <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Components / PullForegroundDrawable . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Components / PullForegroundDrawable . java <nl> public void draw ( Canvas canvas , boolean header ) { <nl> Theme . dialogs_archiveAvatarDrawable . setProgress ( 0f ) ; <nl> if ( ! Theme . dialogs_archiveAvatarDrawableRecolored ) { <nl> Theme . dialogs_archiveAvatarDrawable . beginApplyLayerColors ( ) ; <nl> - Theme . dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow1 . * * " , Theme . getColor ( avatarBackgroundColorKey ) ) ; <nl> - Theme . dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow2 . * * " , Theme . getColor ( avatarBackgroundColorKey ) ) ; <nl> + Theme . dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow1 . * * " , Theme . getNonAnimatedColor ( avatarBackgroundColorKey ) ) ; <nl> + Theme . dialogs_archiveAvatarDrawable . setLayerColor ( " Arrow2 . * * " , Theme . getNonAnimatedColor ( avatarBackgroundColorKey ) ) ; <nl> Theme . dialogs_archiveAvatarDrawable . commitApplyLayerColors ( ) ; <nl> Theme . dialogs_archiveAvatarDrawableRecolored = true ; <nl> } <nl> public void onAnimationEnd ( Animator animation ) { <nl> <nl> private void setOutProgress ( float value ) { <nl> outProgress = value ; <nl> - int color = ColorUtils . blendARGB ( Theme . getColor ( avatarBackgroundColorKey ) , Theme . getColor ( backgroundActiveColorKey ) , 1f - outProgress ) ; <nl> + int color = ColorUtils . blendARGB ( Theme . getNonAnimatedColor ( avatarBackgroundColorKey ) , Theme . getNonAnimatedColor ( backgroundActiveColorKey ) , 1f - outProgress ) ; <nl> paintBackgroundAccent . setColor ( color ) ; <nl> if ( changeAvatarColor & & isDraw ( ) ) { <nl> Theme . dialogs_archiveAvatarDrawable . beginApplyLayerColors ( ) ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / Components / StickersAlert . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / Components / StickersAlert . java <nl> private void hidePreview ( ) { <nl> @ Override <nl> public void onAnimationEnd ( Animator animation ) { <nl> stickerPreviewLayout . setVisibility ( View . GONE ) ; <nl> + stickerImageView . setImageDrawable ( null ) ; <nl> } <nl> } ) ; <nl> animatorSet . start ( ) ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / DialogsActivity . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / DialogsActivity . java <nl> private void onDialogAnimationFinished ( ) { <nl> dialogInsertFinished = 0 ; <nl> dialogChangeFinished = 0 ; <nl> AndroidUtilities . runOnUIThread ( ( ) - > { <nl> - if ( folderId ! = 0 & & frozenDialogsList . isEmpty ( ) ) { <nl> + if ( folderId ! = 0 & & ( frozenDialogsList = = null | | frozenDialogsList . isEmpty ( ) ) ) { <nl> listView . setEmptyView ( null ) ; <nl> progressView . setVisibility ( View . INVISIBLE ) ; <nl> finishFragment ( ) ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / LaunchActivity . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / LaunchActivity . java <nl> private void runLinkRequest ( final int intentAccount , <nl> } <nl> } ) ; <nl> try { <nl> - progressDialog . showDelayed ( 3 ) ; <nl> + progressDialog . showDelayed ( 300 ) ; <nl> } catch ( Exception ignore ) { <nl> <nl> } <nl> public void onAnimationEnd ( Animator animation ) { <nl> openThemeAccentPreview ( loadingTheme , loadingThemeWallpaper , loadingThemeInfo ) ; <nl> onThemeLoadFinish ( ) ; <nl> } else { <nl> + Theme . ThemeInfo info = loadingThemeInfo ; <nl> Utilities . globalQueue . postRunnable ( ( ) - > { <nl> - loadingThemeInfo . createBackground ( file , loadingThemeInfo . pathToWallpaper ) ; <nl> + info . createBackground ( file , info . pathToWallpaper ) ; <nl> AndroidUtilities . runOnUIThread ( ( ) - > { <nl> + if ( loadingTheme = = null ) { <nl> + return ; <nl> + } <nl> File locFile = new File ( ApplicationLoader . getFilesDirFixed ( ) , " remote " + loadingTheme . id + " . attheme " ) ; <nl> Theme . ThemeInfo finalThemeInfo = Theme . applyThemeFile ( locFile , loadingTheme . title , loadingTheme , true ) ; <nl> if ( finalThemeInfo ! = null ) { <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / PaymentFormActivity . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / PaymentFormActivity . java <nl> private void shakeView ( View view ) { <nl> private void setDonePressed ( boolean value ) { <nl> donePressed = value ; <nl> swipeBackEnabled = ! value ; <nl> - actionBar . getBackButton ( ) . setEnabled ( ! donePressed ) ; <nl> + if ( actionBar ! = null ) { <nl> + actionBar . getBackButton ( ) . setEnabled ( ! donePressed ) ; <nl> + } <nl> if ( detailSettingsCell [ 0 ] ! = null ) { <nl> detailSettingsCell [ 0 ] . setEnabled ( ! donePressed ) ; <nl> } <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / PhotoViewer . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / PhotoViewer . java <nl> private void onSharePressed ( ) { <nl> <nl> private void setScaleToFill ( ) { <nl> float bitmapWidth = centerImage . getBitmapWidth ( ) ; <nl> - float containerWidth = getContainerViewWidth ( ) ; <nl> float bitmapHeight = centerImage . getBitmapHeight ( ) ; <nl> + if ( bitmapWidth = = 0 | | bitmapHeight = = 0 ) { <nl> + return ; <nl> + } <nl> + float containerWidth = getContainerViewWidth ( ) ; <nl> float containerHeight = getContainerViewHeight ( ) ; <nl> float scaleFit = Math . min ( containerHeight / bitmapHeight , containerWidth / bitmapWidth ) ; <nl> float width = ( int ) ( bitmapWidth * scaleFit ) ; <nl> protected void onDraw ( Canvas canvas ) { <nl> animatingImageView . setTranslationX ( animatingImageView . getTranslationX ( ) - getLeftInset ( ) ) ; <nl> animationValues [ 0 ] [ 2 ] = animatingImageView . getTranslationX ( ) ; <nl> } <nl> - windowView . requestLayout ( ) ; <nl> + if ( windowView ! = null ) { <nl> + windowView . requestLayout ( ) ; <nl> + } <nl> } <nl> containerView . setPadding ( insets . getSystemWindowInsetLeft ( ) , 0 , insets . getSystemWindowInsetRight ( ) , 0 ) ; <nl> return insets . consumeSystemWindowInsets ( ) ; <nl> public boolean onTouchEvent ( MotionEvent event ) { <nl> pickerViewSendButton . setBackgroundDrawable ( drawable ) ; <nl> pickerViewSendButton . setColorFilter ( new PorterDuffColorFilter ( 0xffffffff , PorterDuff . Mode . MULTIPLY ) ) ; <nl> pickerViewSendButton . setImageResource ( R . drawable . attach_send ) ; <nl> + pickerViewSendButton . setColorFilter ( new PorterDuffColorFilter ( Theme . getColor ( Theme . key_dialogFloatingIcon ) , PorterDuff . Mode . MULTIPLY ) ) ; <nl> containerView . addView ( pickerViewSendButton , LayoutHelper . createFrame ( 56 , 56 , Gravity . RIGHT | Gravity . BOTTOM , 0 , 0 , 14 , 14 ) ) ; <nl> pickerViewSendButton . setContentDescription ( LocaleController . getString ( " Send " , R . string . Send ) ) ; <nl> pickerViewSendButton . setOnClickListener ( v - > { <nl> public void updateColors ( ) { <nl> Drawable drawable = pickerViewSendButton . getBackground ( ) ; <nl> Theme . setSelectorDrawableColor ( drawable , color , false ) ; <nl> Theme . setSelectorDrawableColor ( drawable , Theme . getColor ( Build . VERSION . SDK_INT > = 21 ? Theme . key_dialogFloatingButtonPressed : Theme . key_dialogFloatingButton ) , true ) ; <nl> + pickerViewSendButton . setColorFilter ( new PorterDuffColorFilter ( Theme . getColor ( Theme . key_dialogFloatingIcon ) , PorterDuff . Mode . MULTIPLY ) ) ; <nl> } <nl> if ( checkImageView ! = null ) { <nl> checkImageView . setColor ( Theme . getColor ( Theme . key_dialogFloatingButton ) , 0xffffffff ) ; <nl> mmm a / TMessagesProj / src / main / java / org / telegram / ui / TooManyCommunitiesActivity . java <nl> ppp b / TMessagesProj / src / main / java / org / telegram / ui / TooManyCommunitiesActivity . java <nl> public void onAnimationEnd ( Animator animation ) { <nl> } ) . start ( ) ; <nl> <nl> RecyclerListView list = searchViewContainer . getVisibility ( ) = = View . VISIBLE ? searchListView : listView ; <nl> - / / ValueAnimator listPaddingAnimator = ValueAnimator . ofFloat ( listView . getPaddingBottom ( ) , 0 ) ; <nl> list . hideSelector ( false ) ; <nl> - / / listPaddingAnimator . addUpdateListener ( animation - > { <nl> - / / float v = ( float ) animation . getAnimatedValue ( ) ; <nl> - / / <nl> - / / } ) ; <nl> + <nl> int last = ( ( LinearLayoutManager ) list . getLayoutManager ( ) ) . findLastVisibleItemPosition ( ) ; <nl> if ( last = = list . getAdapter ( ) . getItemCount ( ) - 1 | | ( last = = list . getAdapter ( ) . getItemCount ( ) - 2 & & list = = listView ) ) { <nl> RecyclerView . ViewHolder holder = list . findViewHolderForAdapterPosition ( last ) ; <nl> | Update to 5 . 13 . 1 ( 1827 ) | DrKLO/Telegram | dd07a925ee3f25307808b263f775266c4cf6444d | 2020-01-05T11:50:11Z |
mmm a / build / deps / github_hashes / facebook / fbthrift - rev . txt <nl> ppp b / build / deps / github_hashes / facebook / fbthrift - rev . txt <nl> @ @ - 1 + 1 @ @ <nl> - Subproject commit 0ec88728a684d7f6eb92fcbe97e43d7b41bcec98 <nl> + Subproject commit d6e09c5d9e6cae06f6bcd1f1e9f7b43d7626eac3 <nl> mmm a / build / deps / github_hashes / facebook / folly - rev . txt <nl> ppp b / build / deps / github_hashes / facebook / folly - rev . txt <nl> @ @ - 1 + 1 @ @ <nl> - Subproject commit 53742745082fc554559998ec73659eb4351ea4a1 <nl> + Subproject commit 20ddb17b239764108b54f0c5443aaf8cc0cb788b <nl> mmm a / build / deps / github_hashes / facebook / wangle - rev . txt <nl> ppp b / build / deps / github_hashes / facebook / wangle - rev . txt <nl> @ @ - 1 + 1 @ @ <nl> - Subproject commit b7abe7c891c1516841e571811d5d280628e661a3 <nl> + Subproject commit 5d504d690eafb864b9dc1430fe7d3ac17b106bd9 <nl> | Updating submodules | facebook/watchman | 1ae8cecdf193633e10974f6c2d99c4460fb7aefc | 2019-04-02T02:08:59Z |
mmm a / buildscripts / resmokeconfig / suites / multiversion . yml <nl> ppp b / buildscripts / resmokeconfig / suites / multiversion . yml <nl> selector : <nl> - jstests / multiVersion / transitioning_to_and_from_WT . js <nl> # TODO : SERVER - 21578 <nl> - jstests / multiVersion / balancer_multiVersion_detect . js <nl> + # TODO : SERVER - 28104 <nl> + - jstests / multiVersion / minor_version_tags_new_old_new . js <nl> <nl> # Multiversion tests start their own mongod ' s . <nl> executor : <nl> mmm a / buildscripts / resmokeconfig / suites / multiversion_auth . yml <nl> ppp b / buildscripts / resmokeconfig / suites / multiversion_auth . yml <nl> selector : <nl> - jstests / multiVersion / transitioning_to_and_from_WT . js <nl> # TODO : SERVER - 21578 <nl> - jstests / multiVersion / balancer_multiVersion_detect . js <nl> + # TODO : SERVER - 28104 <nl> + - jstests / multiVersion / minor_version_tags_new_old_new . js <nl> <nl> # Multiversion tests start their own mongod ' s . <nl> executor : <nl> mmm a / buildscripts / resmokeconfig / suites / sharded_collections_jscore_passthrough . yml <nl> ppp b / buildscripts / resmokeconfig / suites / sharded_collections_jscore_passthrough . yml <nl> selector : <nl> - jstests / core / ns_length . js <nl> - jstests / core / views / * . js # Views tests aren ' t expected to work when collections are implicitly sharded . <nl> - jstests / core / killop_drop_collection . js # Uses fsyncLock . <nl> + # TODO : SERVER - 28107 <nl> + - jstests / core / batch_write_command_delete . js <nl> + - jstests / core / batch_write_command_insert . js <nl> + - jstests / core / batch_write_command_update . js <nl> <nl> executor : <nl> js_test : <nl> mmm a / buildscripts / resmokeconfig / suites / sharding_jscore_passthrough . yml <nl> ppp b / buildscripts / resmokeconfig / suites / sharding_jscore_passthrough . yml <nl> selector : <nl> # TODO : SERVER - 27269 : mongos can ' t establish cursor if view has $ collStats and views another view . <nl> - jstests / core / views / views_coll_stats . js <nl> - jstests / core / killop_drop_collection . js # Uses fsyncLock . <nl> + # TODO : SERVER - 28107 <nl> + - jstests / core / batch_write_command_delete . js <nl> + - jstests / core / batch_write_command_insert . js <nl> + - jstests / core / batch_write_command_update . js <nl> + <nl> <nl> executor : <nl> js_test : <nl> mmm a / jstests / core / batch_write_command_delete . js <nl> ppp b / jstests / core / batch_write_command_delete . js <nl> result = coll . runCommand ( request ) ; <nl> assert ( resultOK ( result ) , tojson ( result ) ) ; <nl> assert . eq ( 0 , coll . count ( ) ) ; <nl> <nl> - for ( var field in result ) { <nl> - assert . eq ( ' ok ' , field , ' unexpected field found in result : ' + field ) ; <nl> - } <nl> + var fields = [ ' ok ' , ' operationTime ' ] ; <nl> + assert . hasFields ( result , fields , ' fields in result do not match : ' + tojson ( fields ) ) ; <nl> <nl> / / <nl> / / Single document remove , w : 1 write concern specified , ordered : true <nl> result = coll . runCommand ( request ) ; <nl> assert . commandWorked ( result ) ; <nl> assert . eq ( 0 , coll . count ( ) ) ; <nl> <nl> - for ( var field in result ) { <nl> - assert . eq ( ' ok ' , field , ' unexpected field found in result : ' + field ) ; <nl> - } <nl> + assert . hasFields ( result , fields , ' fields in result do not match : ' + tojson ( fields ) ) ; <nl> <nl> / / <nl> / / Cause remove error using ordered : true and w : 0 <nl> result = coll . runCommand ( request ) ; <nl> assert . commandWorked ( result ) ; <nl> assert . eq ( 1 , coll . count ( ) ) ; <nl> <nl> - for ( var field in result ) { <nl> - assert . eq ( ' ok ' , field , ' unexpected field found in result : ' + field ) ; <nl> - } <nl> + assert . hasFields ( result , fields , ' fields in result do not match : ' + tojson ( fields ) ) ; <nl> <nl> / / <nl> / / When limit is not 0 and 1 <nl> mmm a / jstests / core / batch_write_command_insert . js <nl> ppp b / jstests / core / batch_write_command_insert . js <nl> result = coll . runCommand ( request ) ; <nl> assert ( resultOK ( result ) , tojson ( result ) ) ; <nl> assert . eq ( coll . count ( ) , 1 ) ; <nl> <nl> - for ( var field in result ) { <nl> - assert . eq ( ' ok ' , field , ' unexpected field found in result : ' + field ) ; <nl> - } <nl> + var fields = [ ' ok ' , ' operationTime ' ] ; <nl> + assert . hasFields ( result , fields , ' fields in result do not match : ' + tojson ( fields ) ) ; <nl> <nl> / / <nl> / / Single document insert , w : 1 write concern specified , ordered : true <nl> mmm a / jstests / core / batch_write_command_update . js <nl> ppp b / jstests / core / batch_write_command_update . js <nl> result = coll . runCommand ( request ) ; <nl> assert ( resultOK ( result ) , tojson ( result ) ) ; <nl> assert . eq ( 1 , coll . count ( { } ) ) ; <nl> <nl> - for ( var field in result ) { <nl> - assert . eq ( ' ok ' , field , ' unexpected field found in result : ' + field ) ; <nl> - } <nl> + var fields = [ ' ok ' , ' operationTime ' ] ; <nl> + assert . hasFields ( result , fields , ' fields in result do not match : ' + tojson ( fields ) ) ; <nl> <nl> / / <nl> / / Two document upsert , write concern 0 specified , ordered = true <nl> result = coll . runCommand ( request ) ; <nl> assert ( resultOK ( result ) , tojson ( result ) ) ; <nl> assert . eq ( 2 , coll . count ( ) ) ; <nl> <nl> - for ( var field in result ) { <nl> - assert . eq ( ' ok ' , field , ' unexpected field found in result : ' + field ) ; <nl> - } <nl> + assert . hasFields ( result , fields , ' fields in result do not match : ' + tojson ( fields ) ) ; <nl> <nl> / / <nl> / / Single document update <nl> result = coll . runCommand ( request ) ; <nl> assert ( result . ok , tojson ( result ) ) ; <nl> assert . eq ( 1 , coll . count ( ) ) ; <nl> <nl> - for ( var field in result ) { <nl> - assert . eq ( ' ok ' , field , ' unexpected field found in result : ' + field ) ; <nl> - } <nl> + assert . hasFields ( result , fields , ' fields in result do not match : ' + tojson ( fields ) ) ; <nl> <nl> / / <nl> / / Upsert fail due to duplicate key index , w : 1 , ordered : true <nl> mmm a / jstests / core / list_databases . js <nl> ppp b / jstests / core / list_databases . js <nl> <nl> <nl> function verifyNameOnly ( listDatabasesOut ) { <nl> for ( let field in listDatabasesOut ) { <nl> - assert ( [ ' databases ' , ' nameOnly ' , ' ok ' ] . some ( ( f ) = > f = = field ) , <nl> + assert ( [ ' databases ' , ' nameOnly ' , ' ok ' , ' operationTime ' ] . some ( ( f ) = > f = = field ) , <nl> ' unexpected field ' + field ) ; <nl> } <nl> listDatabasesOut . databases . forEach ( ( database ) = > { <nl> mmm a / jstests / core / startup_log . js <nl> ppp b / jstests / core / startup_log . js <nl> <nl> - load ( ' jstests / aggregation / extras / utils . js ' ) ; <nl> - <nl> - ( function ( ) { <nl> - ' use strict ' ; <nl> - <nl> - / / Check that smallArray is entirely contained by largeArray <nl> - / / returns false if a member of smallArray is not in largeArray <nl> - function arrayIsSubset ( smallArray , largeArray ) { <nl> - for ( var i = 0 ; i < smallArray . length ; i + + ) { <nl> - if ( ! Array . contains ( largeArray , smallArray [ i ] ) ) { <nl> - print ( " Could not find " + smallArray [ i ] + " in largeArray " ) ; <nl> - return false ; <nl> - } <nl> - } <nl> - <nl> - return true ; <nl> - } <nl> - <nl> - / / Test startup_log <nl> - var stats = db . getSisterDB ( " local " ) . startup_log . stats ( ) ; <nl> - assert ( stats . capped ) ; <nl> - <nl> - var latestStartUpLog = <nl> - db . getSisterDB ( " local " ) . startup_log . find ( ) . sort ( { $ natural : - 1 } ) . limit ( 1 ) . next ( ) ; <nl> - var serverStatus = db . _adminCommand ( " serverStatus " ) ; <nl> - var cmdLine = db . _adminCommand ( " getCmdLineOpts " ) . parsed ; <nl> - <nl> - / / Test that the startup log has the expected keys <nl> - var verbose = false ; <nl> - var expectedKeys = <nl> - [ " _id " , " hostname " , " startTime " , " startTimeLocal " , " cmdLine " , " pid " , " buildinfo " ] ; <nl> - var keys = Object . keySet ( latestStartUpLog ) ; <nl> - assert ( arrayEq ( expectedKeys , keys , verbose ) , ' startup_log keys failed ' ) ; <nl> - <nl> - / / Tests _id implicitly - should be comprised of host - timestamp <nl> - / / Setup expected startTime and startTimeLocal from the supplied timestamp <nl> - var _id = latestStartUpLog . _id . split ( ' - ' ) ; / / _id should consist of host - timestamp <nl> - var _idUptime = _id . pop ( ) ; <nl> - var _idHost = _id . join ( ' - ' ) ; <nl> - var uptimeSinceEpochRounded = Math . floor ( _idUptime / 1000 ) * 1000 ; <nl> - var startTime = new Date ( uptimeSinceEpochRounded ) ; / / Expected startTime <nl> - <nl> - assert . eq ( _idHost , latestStartUpLog . hostname , " Hostname doesn ' t match one from _id " ) ; <nl> - assert . eq ( serverStatus . host . split ( ' : ' ) [ 0 ] , <nl> - latestStartUpLog . hostname , <nl> - " Hostname doesn ' t match one in server status " ) ; <nl> - assert . closeWithinMS ( startTime , <nl> - latestStartUpLog . startTime , <nl> - " StartTime doesn ' t match one from _id " , <nl> - 2000 ) ; / / Expect less than 2 sec delta <nl> - assert . eq ( cmdLine , latestStartUpLog . cmdLine , " cmdLine doesn ' t match that from getCmdLineOpts " ) ; <nl> - assert . eq ( serverStatus . pid , latestStartUpLog . pid , " pid doesn ' t match that from serverStatus " ) ; <nl> - <nl> - / / Test buildinfo <nl> - var buildinfo = db . runCommand ( " buildinfo " ) ; <nl> - delete buildinfo . ok ; / / Delete extra meta info not in startup_log <nl> - var isMaster = db . _adminCommand ( " ismaster " ) ; <nl> - <nl> - / / Test buildinfo has the expected keys <nl> - var expectedKeys = [ <nl> - " version " , <nl> - " gitVersion " , <nl> - " allocator " , <nl> - " versionArray " , <nl> - " javascriptEngine " , <nl> - " openssl " , <nl> - " buildEnvironment " , <nl> - " debug " , <nl> - " maxBsonObjectSize " , <nl> - " bits " , <nl> - " modules " <nl> - ] ; <nl> - <nl> - var keys = Object . keySet ( latestStartUpLog . buildinfo ) ; <nl> - / / Disabled to check <nl> - assert ( arrayIsSubset ( expectedKeys , keys ) , <nl> - " buildinfo keys failed ! \ n expected : \ t " + expectedKeys + " \ n actual : \ t " + keys ) ; <nl> - assert . eq ( buildinfo , <nl> - latestStartUpLog . buildinfo , <nl> - " buildinfo doesn ' t match that from buildinfo command " ) ; <nl> - <nl> - / / Test version and version Array <nl> - var version = latestStartUpLog . buildinfo . version . split ( ' - ' ) [ 0 ] ; <nl> - var versionArray = latestStartUpLog . buildinfo . versionArray ; <nl> - var versionArrayCleaned = versionArray . slice ( 0 , 3 ) ; <nl> - if ( versionArray [ 3 ] = = - 100 ) { <nl> - versionArrayCleaned [ 2 ] - = 1 ; <nl> - } <nl> - <nl> - assert . eq ( serverStatus . version , <nl> - latestStartUpLog . buildinfo . version , <nl> - " Mongo version doesn ' t match that from ServerStatus " ) ; <nl> - assert . eq ( <nl> - version , versionArrayCleaned . join ( ' . ' ) , " version doesn ' t match that from the versionArray " ) ; <nl> - var jsEngine = latestStartUpLog . buildinfo . javascriptEngine ; <nl> - assert ( ( jsEngine = = " none " ) | | jsEngine . startsWith ( " mozjs " ) ) ; <nl> - assert . eq ( isMaster . maxBsonObjectSize , <nl> - latestStartUpLog . buildinfo . maxBsonObjectSize , <nl> - " maxBsonObjectSize doesn ' t match one from ismaster " ) ; <nl> - <nl> - } ) ( ) ; <nl> + load ( ' jstests / aggregation / extras / utils . js ' ) ; <nl> + <nl> + ( function ( ) { <nl> + ' use strict ' ; <nl> + <nl> + / / Check that smallArray is entirely contained by largeArray <nl> + / / returns false if a member of smallArray is not in largeArray <nl> + function arrayIsSubset ( smallArray , largeArray ) { <nl> + for ( var i = 0 ; i < smallArray . length ; i + + ) { <nl> + if ( ! Array . contains ( largeArray , smallArray [ i ] ) ) { <nl> + print ( " Could not find " + smallArray [ i ] + " in largeArray " ) ; <nl> + return false ; <nl> + } <nl> + } <nl> + <nl> + return true ; <nl> + } <nl> + <nl> + / / Test startup_log <nl> + var stats = db . getSisterDB ( " local " ) . startup_log . stats ( ) ; <nl> + assert ( stats . capped ) ; <nl> + <nl> + var latestStartUpLog = <nl> + db . getSisterDB ( " local " ) . startup_log . find ( ) . sort ( { $ natural : - 1 } ) . limit ( 1 ) . next ( ) ; <nl> + var serverStatus = db . _adminCommand ( " serverStatus " ) ; <nl> + var cmdLine = db . _adminCommand ( " getCmdLineOpts " ) . parsed ; <nl> + <nl> + / / Test that the startup log has the expected keys <nl> + var verbose = false ; <nl> + var expectedKeys = <nl> + [ " _id " , " hostname " , " startTime " , " startTimeLocal " , " cmdLine " , " pid " , " buildinfo " ] ; <nl> + var keys = Object . keySet ( latestStartUpLog ) ; <nl> + assert ( arrayEq ( expectedKeys , keys , verbose ) , ' startup_log keys failed ' ) ; <nl> + <nl> + / / Tests _id implicitly - should be comprised of host - timestamp <nl> + / / Setup expected startTime and startTimeLocal from the supplied timestamp <nl> + var _id = latestStartUpLog . _id . split ( ' - ' ) ; / / _id should consist of host - timestamp <nl> + var _idUptime = _id . pop ( ) ; <nl> + var _idHost = _id . join ( ' - ' ) ; <nl> + var uptimeSinceEpochRounded = Math . floor ( _idUptime / 1000 ) * 1000 ; <nl> + var startTime = new Date ( uptimeSinceEpochRounded ) ; / / Expected startTime <nl> + <nl> + assert . eq ( _idHost , latestStartUpLog . hostname , " Hostname doesn ' t match one from _id " ) ; <nl> + assert . eq ( serverStatus . host . split ( ' : ' ) [ 0 ] , <nl> + latestStartUpLog . hostname , <nl> + " Hostname doesn ' t match one in server status " ) ; <nl> + assert . closeWithinMS ( startTime , <nl> + latestStartUpLog . startTime , <nl> + " StartTime doesn ' t match one from _id " , <nl> + 2000 ) ; / / Expect less than 2 sec delta <nl> + assert . eq ( cmdLine , latestStartUpLog . cmdLine , " cmdLine doesn ' t match that from getCmdLineOpts " ) ; <nl> + assert . eq ( serverStatus . pid , latestStartUpLog . pid , " pid doesn ' t match that from serverStatus " ) ; <nl> + <nl> + / / Test buildinfo <nl> + var buildinfo = db . runCommand ( " buildinfo " ) ; <nl> + delete buildinfo . ok ; / / Delete extra meta info not in startup_log <nl> + delete buildinfo . operationTime ; / / Delete extra meta info not in startup_log <nl> + var isMaster = db . _adminCommand ( " ismaster " ) ; <nl> + <nl> + / / Test buildinfo has the expected keys <nl> + var expectedKeys = [ <nl> + " version " , <nl> + " gitVersion " , <nl> + " allocator " , <nl> + " versionArray " , <nl> + " javascriptEngine " , <nl> + " openssl " , <nl> + " buildEnvironment " , <nl> + " debug " , <nl> + " maxBsonObjectSize " , <nl> + " bits " , <nl> + " modules " <nl> + ] ; <nl> + <nl> + var keys = Object . keySet ( latestStartUpLog . buildinfo ) ; <nl> + / / Disabled to check <nl> + assert ( arrayIsSubset ( expectedKeys , keys ) , <nl> + " buildinfo keys failed ! \ n expected : \ t " + expectedKeys + " \ n actual : \ t " + keys ) ; <nl> + assert . eq ( buildinfo , <nl> + latestStartUpLog . buildinfo , <nl> + " buildinfo doesn ' t match that from buildinfo command " ) ; <nl> + <nl> + / / Test version and version Array <nl> + var version = latestStartUpLog . buildinfo . version . split ( ' - ' ) [ 0 ] ; <nl> + var versionArray = latestStartUpLog . buildinfo . versionArray ; <nl> + var versionArrayCleaned = versionArray . slice ( 0 , 3 ) ; <nl> + if ( versionArray [ 3 ] = = - 100 ) { <nl> + versionArrayCleaned [ 2 ] - = 1 ; <nl> + } <nl> + <nl> + assert . eq ( serverStatus . version , <nl> + latestStartUpLog . buildinfo . version , <nl> + " Mongo version doesn ' t match that from ServerStatus " ) ; <nl> + assert . eq ( <nl> + version , versionArrayCleaned . join ( ' . ' ) , " version doesn ' t match that from the versionArray " ) ; <nl> + var jsEngine = latestStartUpLog . buildinfo . javascriptEngine ; <nl> + assert ( ( jsEngine = = " none " ) | | jsEngine . startsWith ( " mozjs " ) ) ; <nl> + assert . eq ( isMaster . maxBsonObjectSize , <nl> + latestStartUpLog . buildinfo . maxBsonObjectSize , <nl> + " maxBsonObjectSize doesn ' t match one from ismaster " ) ; <nl> + <nl> + } ) ( ) ; <nl> mmm a / jstests / core / views / views_all_commands . js <nl> ppp b / jstests / core / views / views_all_commands . js <nl> <nl> cursorsUnknown : [ ] , <nl> ok : 1 <nl> } ; <nl> + delete res . operationTime ; <nl> assert . eq ( expectedRes , res , " unexpected result for : " + tojson ( killCursorsCmd ) ) ; <nl> } <nl> } , <nl> mmm a / src / mongo / db / commands . cpp <nl> ppp b / src / mongo / db / commands . cpp <nl> <nl> # include < vector > <nl> <nl> # include " mongo / bson / mutable / document . h " <nl> + # include " mongo / bson / timestamp . h " <nl> # include " mongo / db / audit . h " <nl> # include " mongo / db / auth / action_set . h " <nl> # include " mongo / db / auth / action_type . h " <nl> void Command : : appendCommandWCStatus ( BSONObjBuilder & result , <nl> } <nl> } <nl> <nl> + void Command : : appendOperationTime ( BSONObjBuilder & result , LogicalTime operationTime ) { <nl> + result . append ( " operationTime " , operationTime . asTimestamp ( ) ) ; <nl> + } <nl> + <nl> Status Command : : checkAuthForOperation ( OperationContext * txn , <nl> const std : : string & dbname , <nl> const BSONObj & cmdObj ) { <nl> void _generateErrorResponse ( OperationContext * txn , <nl> replyBuilder - > setMetadata ( metadata ) ; <nl> } <nl> <nl> + void _generateErrorResponse ( OperationContext * txn , <nl> + rpc : : ReplyBuilderInterface * replyBuilder , <nl> + const DBException & exception , <nl> + const BSONObj & metadata , <nl> + LogicalTime operationTime ) { <nl> + Command : : registerError ( txn , exception ) ; <nl> + <nl> + / / We could have thrown an exception after setting fields in the builder , <nl> + / / so we need to reset it to a clean state just to be sure . <nl> + replyBuilder - > reset ( ) ; <nl> + <nl> + / / We need to include some extra information for SendStaleConfig . <nl> + if ( exception . getCode ( ) = = ErrorCodes : : SendStaleConfig ) { <nl> + const SendStaleConfigException & scex = <nl> + static_cast < const SendStaleConfigException & > ( exception ) ; <nl> + replyBuilder - > setCommandReply ( scex . toStatus ( ) , <nl> + BSON ( " ns " < < scex . getns ( ) < < " vReceived " <nl> + < < BSONArray ( scex . getVersionReceived ( ) . toBSON ( ) ) <nl> + < < " vWanted " <nl> + < < BSONArray ( scex . getVersionWanted ( ) . toBSON ( ) ) <nl> + < < " operationTime " <nl> + < < operationTime . asTimestamp ( ) ) ) ; <nl> + } else { <nl> + replyBuilder - > setCommandReply ( exception . toStatus ( ) , <nl> + BSON ( " operationTime " < < operationTime . asTimestamp ( ) ) ) ; <nl> + } <nl> + <nl> + replyBuilder - > setMetadata ( metadata ) ; <nl> + } <nl> + <nl> } / / namespace <nl> <nl> + void Command : : generateErrorResponse ( OperationContext * txn , <nl> + rpc : : ReplyBuilderInterface * replyBuilder , <nl> + const DBException & exception , <nl> + const rpc : : RequestInterface & request , <nl> + Command * command , <nl> + const BSONObj & metadata , <nl> + LogicalTime operationTime ) { <nl> + LOG ( 1 ) < < " assertion while executing command ' " < < request . getCommandName ( ) < < " ' " <nl> + < < " on database ' " < < request . getDatabase ( ) < < " ' " <nl> + < < " with arguments ' " < < command - > getRedactedCopyForLogging ( request . getCommandArgs ( ) ) <nl> + < < " ' metadata ' " < < request . getMetadata ( ) < < " ' and operationTime ' " <nl> + < < operationTime . toString ( ) < < " ' : " < < exception . toString ( ) ; <nl> + <nl> + _generateErrorResponse ( txn , replyBuilder , exception , metadata , operationTime ) ; <nl> + } <nl> + <nl> void Command : : generateErrorResponse ( OperationContext * txn , <nl> rpc : : ReplyBuilderInterface * replyBuilder , <nl> const DBException & exception , <nl> mmm a / src / mongo / db / commands . h <nl> ppp b / src / mongo / db / commands . h <nl> <nl> <nl> # pragma once <nl> <nl> + # include < boost / optional . hpp > <nl> # include < string > <nl> # include < vector > <nl> <nl> <nl> # include " mongo / db / client . h " <nl> # include " mongo / db / commands / server_status_metric . h " <nl> # include " mongo / db / jsobj . h " <nl> + # include " mongo / db / logical_time . h " <nl> # include " mongo / db / query / explain . h " <nl> # include " mongo / db / write_concern . h " <nl> # include " mongo / rpc / reply_builder_interface . h " <nl> class Command { <nl> / / @ return s . isOK ( ) <nl> static bool appendCommandStatus ( BSONObjBuilder & result , const Status & status ) ; <nl> <nl> + / * * <nl> + * Appends " operationTime " field to the command result object as a Timestamp type . <nl> + * / <nl> + static void appendOperationTime ( BSONObjBuilder & result , LogicalTime operationTime ) ; <nl> + <nl> / * * <nl> * Helper for setting a writeConcernError field in the command result object if <nl> * a writeConcern error occurs . <nl> class Command { <nl> Command * command , <nl> const BSONObj & metadata ) ; <nl> <nl> + / * * <nl> + * Generates a command error response . This overload of generateErrorResponse is intended <nl> + * to also add an operationTime . <nl> + * / <nl> + static void generateErrorResponse ( OperationContext * txn , <nl> + rpc : : ReplyBuilderInterface * replyBuilder , <nl> + const DBException & exception , <nl> + const rpc : : RequestInterface & request , <nl> + Command * command , <nl> + const BSONObj & metadata , <nl> + LogicalTime operationTime ) ; <nl> / * * <nl> * Generates a command error response . This overload of generateErrorResponse is intended <nl> * to be called if the command is successfully parsed , but there is an error before we have <nl> mmm a / src / mongo / db / commands / dbcommands . cpp <nl> ppp b / src / mongo / db / commands / dbcommands . cpp <nl> <nl> # include " mongo / platform / basic . h " <nl> <nl> # include < array > <nl> - # include < boost / optional . hpp > <nl> # include < time . h > <nl> <nl> # include " mongo / base / disallow_copying . h " <nl> <nl> # include " mongo / db / json . h " <nl> # include " mongo / db / keypattern . h " <nl> # include " mongo / db / lasterror . h " <nl> + # include " mongo / db / logical_clock . h " <nl> # include " mongo / db / matcher / extensions_callback_disallow_extensions . h " <nl> # include " mongo / db / namespace_string . h " <nl> # include " mongo / db / op_observer . h " <nl> MONGO_INITIALIZER ( InitializeRegisterErrorHandler ) ( InitializerContext * const ) { <nl> Command : : registerRegisterError ( registerErrorImpl ) ; <nl> return Status : : OK ( ) ; <nl> } <nl> + / * * <nl> + * For replica set members it returns the last known op time from txn . Otherwise will return <nl> + * uninitialized logical time . <nl> + * / <nl> + LogicalTime _getClientOperationTime ( OperationContext * txn ) { <nl> + repl : : ReplicationCoordinator * replCoord = <nl> + repl : : ReplicationCoordinator : : get ( txn - > getClient ( ) - > getServiceContext ( ) ) ; <nl> + const bool isReplSet = <nl> + replCoord - > getReplicationMode ( ) = = repl : : ReplicationCoordinator : : modeReplSet ; <nl> + LogicalTime operationTime ; <nl> + if ( isReplSet ) { <nl> + operationTime = LogicalTime ( <nl> + repl : : ReplClientInfo : : forClient ( txn - > getClient ( ) ) . getLastOp ( ) . getTimestamp ( ) ) ; <nl> + } <nl> + return operationTime ; <nl> + } <nl> } / / namespace <nl> <nl> <nl> bool Command : : run ( OperationContext * txn , <nl> <nl> std : : string errmsg ; <nl> bool result ; <nl> + auto startOperationTime = _getClientOperationTime ( txn ) ; <nl> if ( ! supportsWriteConcern ( cmd ) ) { <nl> if ( commandSpecifiesWriteConcern ( cmd ) ) { <nl> auto result = appendCommandStatus ( <nl> bool Command : : run ( OperationContext * txn , <nl> } <nl> <nl> appendCommandStatus ( inPlaceReplyBob , result , errmsg ) ; <nl> + <nl> + auto finishOperationTime = _getClientOperationTime ( txn ) ; <nl> + auto operationTime = finishOperationTime ; <nl> + invariant ( finishOperationTime > = startOperationTime ) ; <nl> + <nl> + / / this command did not write , so return current clusterTime . <nl> + if ( finishOperationTime = = startOperationTime ) { <nl> + / / TODO : SERVER - 27786 to return the clusterTime of the read . <nl> + operationTime = LogicalClock : : get ( txn ) - > getClusterTime ( ) . getTime ( ) ; <nl> + } <nl> + <nl> + appendOperationTime ( inPlaceReplyBob , operationTime ) ; <nl> + <nl> inPlaceReplyBob . doneFast ( ) ; <nl> <nl> BSONObjBuilder metadataBob ; <nl> void mongo : : execCommandDatabase ( OperationContext * txn , <nl> BSONObjBuilder metadataBob ; <nl> appendOpTimeMetadata ( txn , request , & metadataBob ) ; <nl> <nl> - Command : : generateErrorResponse ( txn , replyBuilder , e , request , command , metadataBob . done ( ) ) ; <nl> + auto operationTime = _getClientOperationTime ( txn ) ; <nl> + Command : : generateErrorResponse ( <nl> + txn , replyBuilder , e , request , command , metadataBob . done ( ) , operationTime ) ; <nl> } <nl> } <nl> mmm a / src / mongo / db / commands_test . cpp <nl> ppp b / src / mongo / db / commands_test . cpp <nl> TEST ( Commands , appendCommandStatusNoOverwrite ) { <nl> <nl> ASSERT_BSONOBJ_EQ ( actualResult . obj ( ) , expectedResult . obj ( ) ) ; <nl> } <nl> + <nl> + TEST ( Commands , appendOperationTime ) { <nl> + BSONObjBuilder actualResult ; <nl> + LogicalTime testTime ( Timestamp ( 1 ) ) ; <nl> + Command : : appendOperationTime ( actualResult , testTime ) ; <nl> + <nl> + BSONObjBuilder expectedResult ; <nl> + expectedResult . append ( " operationTime " , Timestamp ( 1 ) ) ; <nl> + <nl> + ASSERT_BSONOBJ_EQ ( actualResult . obj ( ) , expectedResult . obj ( ) ) ; <nl> + } <nl> } / / namespace mongo <nl> mmm a / src / mongo / db / logical_clock . h <nl> ppp b / src / mongo / db / logical_clock . h <nl> class LogicalClock { <nl> / * * <nl> * Creates an instance of LogicalClock . The TimeProofService must already be fully initialized . <nl> * The validateProof indicates if the advanceClusterTime validates newTime . It should do so <nl> - * only when LogicalClock installed on mongos and the auth is off . <nl> + * only when LogicalClock installed on mongos and the auth is on . When the auth is off we <nl> + * assume that the DBA uses other ways to validate authenticity of user messages . <nl> * / <nl> LogicalClock ( ServiceContext * , std : : unique_ptr < TimeProofService > , bool validateProof ) ; <nl> <nl> mmm a / src / mongo / db / repl / repl_set_request_votes_args . cpp <nl> ppp b / src / mongo / db / repl / repl_set_request_votes_args . cpp <nl> const std : : string kReasonFieldName = " reason " ; <nl> const std : : string kSetNameFieldName = " setName " ; <nl> const std : : string kTermFieldName = " term " ; <nl> const std : : string kVoteGrantedFieldName = " voteGranted " ; <nl> + const std : : string kOperationTime = " operationTime " ; <nl> <nl> const std : : string kLegalArgsFieldNames [ ] = { <nl> kCandidateIndexFieldName , <nl> const std : : string kLegalArgsFieldNames [ ] = { <nl> kLastDurableOpTimeFieldName , <nl> kSetNameFieldName , <nl> kTermFieldName , <nl> + kOperationTime , <nl> } ; <nl> <nl> const std : : string kLegalResponseFieldNames [ ] = { <nl> - kOkFieldName , kReasonFieldName , kTermFieldName , kVoteGrantedFieldName , <nl> + kOkFieldName , kReasonFieldName , kTermFieldName , kVoteGrantedFieldName , kOperationTime , <nl> } ; <nl> <nl> } / / namespace <nl> mmm a / src / mongo / db / service_context_d_test_fixture . cpp <nl> ppp b / src / mongo / db / service_context_d_test_fixture . cpp <nl> <nl> # include " mongo / db / concurrency / write_conflict_exception . h " <nl> # include " mongo / db / curop . h " <nl> # include " mongo / db / db_raii . h " <nl> + # include " mongo / db / logical_clock . h " <nl> # include " mongo / db / op_observer_noop . h " <nl> # include " mongo / db / operation_context . h " <nl> # include " mongo / db / service_context . h " <nl> # include " mongo / db / service_context_d . h " <nl> # include " mongo / db / storage / storage_options . h " <nl> + # include " mongo / db / time_proof_service . h " <nl> # include " mongo / stdx / memory . h " <nl> # include " mongo / unittest / temp_dir . h " <nl> # include " mongo / util / scopeguard . h " <nl> namespace mongo { <nl> void ServiceContextMongoDTest : : setUp ( ) { <nl> Client : : initThread ( getThreadName ( ) . c_str ( ) ) ; <nl> ServiceContext * serviceContext = getServiceContext ( ) ; <nl> + <nl> + auto timeProofService = stdx : : make_unique < TimeProofService > ( ) ; <nl> + auto logicalClock = <nl> + stdx : : make_unique < LogicalClock > ( serviceContext , std : : move ( timeProofService ) , false ) ; <nl> + LogicalClock : : set ( serviceContext , std : : move ( logicalClock ) ) ; <nl> + <nl> if ( ! serviceContext - > getGlobalStorageEngine ( ) ) { <nl> / / When using the " ephemeralForTest " storage engine , it is fine for the temporary directory <nl> / / to go away after the global storage engine is initialized . <nl> mmm a / src / mongo / s / sharding_mongod_test_fixture . cpp <nl> ppp b / src / mongo / s / sharding_mongod_test_fixture . cpp <nl> <nl> # include " mongo / db / client . h " <nl> # include " mongo / db / commands . h " <nl> # include " mongo / db / db_raii . h " <nl> - # include " mongo / db / logical_clock . h " <nl> # include " mongo / db / namespace_string . h " <nl> # include " mongo / db / op_observer_impl . h " <nl> # include " mongo / db / query / cursor_response . h " <nl> <nl> # include " mongo / db / repl / replication_coordinator . h " <nl> # include " mongo / db / repl / replication_coordinator_mock . h " <nl> # include " mongo / db / service_context_noop . h " <nl> - # include " mongo / db / time_proof_service . h " <nl> # include " mongo / executor / network_interface_mock . h " <nl> # include " mongo / executor / task_executor_pool . h " <nl> # include " mongo / executor / thread_pool_task_executor_test_fixture . h " <nl> void ShardingMongodTestFixture : : setUp ( ) { <nl> <nl> / / Set up this node as part of a replica set . <nl> <nl> - auto timeProofService = stdx : : make_unique < TimeProofService > ( ) ; <nl> - auto logicalClock = <nl> - stdx : : make_unique < LogicalClock > ( service , std : : move ( timeProofService ) , false ) ; <nl> - LogicalClock : : set ( service , std : : move ( logicalClock ) ) ; <nl> - <nl> repl : : ReplSettings replSettings ; <nl> replSettings . setReplSetString ( ConnectionString : : forReplicaSet ( _setName , _servers ) . toString ( ) ) ; <nl> auto replCoordPtr = makeReplicationCoordinator ( replSettings ) ; <nl> mmm a / src / mongo / shell / assert . js <nl> ppp b / src / mongo / shell / assert . js <nl> assert . neq = function ( a , b , msg ) { <nl> doassert ( " [ " + a + " ] ! = [ " + b + " ] are equal : " + msg ) ; <nl> } ; <nl> <nl> + assert . hasFields = function ( o , arr , msg ) { <nl> + var count = 0 ; <nl> + if ( ! Array . isArray ( arr ) ) { <nl> + throw new Error ( " The second argument to assert . hasFields must be an array . " ) ; <nl> + } <nl> + <nl> + for ( var field in result ) { <nl> + if ( arr . includes ( field ) ) { <nl> + count + = 1 ; <nl> + } <nl> + } <nl> + <nl> + if ( count ! = arr . length ) { <nl> + doassert ( " None of values from " + tojson ( arr ) + " was in " + tojson ( o ) + " : " + msg ) ; <nl> + } <nl> + } ; <nl> + <nl> assert . contains = function ( o , arr , msg ) { <nl> var wasIn = false ; <nl> if ( ! Array . isArray ( arr ) ) { <nl> | SERVER - 27773 add operationTime field to the command response | mongodb/mongo | 6fe8c420da0c1071bfb8abfd7e936059d4977472 | 2017-02-28T22:10:02Z |
mmm a / docker / scripts / dev_start . sh <nl> ppp b / docker / scripts / dev_start . sh <nl> function main ( ) { <nl> <nl> set - x <nl> <nl> - LIB_GNU = / usr / lib / $ { ARCH } - linux - gnu <nl> - LIB_GNU_VOLUME = " " <nl> - if [ - d " $ { LIB_GNU } " ] ; then <nl> - LIB_GNU_VOLUME = " - v $ { LIB_GNU } : / usr / lib / $ { ARCH } - linux - $ USER " <nl> - fi <nl> - <nl> $ { DOCKER_RUN } - it \ <nl> - d \ <nl> - - privileged \ <nl> function main ( ) { <nl> - - shm - size 2G \ <nl> - - pid = host \ <nl> - v / dev / null : / dev / raw1394 \ <nl> - $ { LIB_GNU_VOLUME } \ <nl> $ IMG \ <nl> / bin / bash <nl> if [ $ ? - ne 0 ] ; then <nl> mmm a / scripts / apollo_base . sh <nl> ppp b / scripts / apollo_base . sh <nl> function check_in_docker ( ) { <nl> function set_lib_path ( ) { <nl> export LD_LIBRARY_PATH = / usr / lib : / usr / lib / x86_64 - linux - gnu <nl> <nl> - LIB_USER = / usr / lib / $ ( uname - m ) - linux - $ USER <nl> - <nl> - if [ - d " $ { LIB_USER } " ] ; then <nl> - export LD_LIBRARY_PATH = $ { LD_LIBRARY_PATH } : $ { LIB_USER } <nl> - fi <nl> - <nl> if [ " $ RELEASE_DOCKER " = = 1 ] ; then <nl> local CYBER_SETUP = " / apollo / cyber / setup . bash " <nl> if [ - e " $ { CYBER_SETUP } " ] ; then <nl> | Revert " Docker : fix getting openGL version failed when using cyber_visualizer ( ) " | ApolloAuto/apollo | 686c099bb2c0dc470bf3019f6517bc2954b1b88e | 2019-12-11T19:47:57Z |
mmm a / tensorflow / python / BUILD <nl> ppp b / tensorflow / python / BUILD <nl> tf_py_test ( <nl> name = " resource_loader_test " , <nl> size = " small " , <nl> srcs = [ " platform / resource_loader_test . py " ] , <nl> + data = [ <nl> + " platform / resource_loader . py " , <nl> + ] , <nl> python_version = " PY3 " , <nl> + tags = [ <nl> + " no_pip " , <nl> + " no_windows " , <nl> + ] , <nl> deps = [ <nl> " : platform " , <nl> " : platform_test " , <nl> mmm a / tensorflow / python / platform / resource_loader_test . py <nl> ppp b / tensorflow / python / platform / resource_loader_test . py <nl> <nl> from tensorflow . python . platform import resource_loader <nl> <nl> <nl> - class DefaultResourceLoaderTest ( googletest . TestCase ) : <nl> + class ResourceLoaderTest ( googletest . TestCase ) : <nl> <nl> def test_exception ( self ) : <nl> with self . assertRaises ( IOError ) : <nl> resource_loader . load_resource ( " / fake / file / path / dne " ) <nl> <nl> + def test_exists ( self ) : <nl> + contents = resource_loader . load_resource ( <nl> + " python / platform / resource_loader . py " ) <nl> + self . assertIn ( b " tensorflow " , contents ) <nl> + <nl> + <nl> if __name__ = = " __main__ " : <nl> googletest . main ( ) <nl> | Write an actual test for resource_loader_test | tensorflow/tensorflow | 52a820c507afc87e6f6a30a021f9c612f9989df9 | 2020-02-07T23:44:13Z |
mmm a / include / swift / AST / Decl . h <nl> ppp b / include / swift / AST / Decl . h <nl> class PatternBindingEntry { <nl> } ; <nl> llvm : : PointerIntPair < Pattern * , 3 , OptionSet < Flags > > PatternAndFlags ; <nl> <nl> - struct ExprAndEqualLoc { <nl> - / / When the initializer is removed we don ' t actually clear the pointer <nl> + struct InitializerAndEqualLoc { <nl> + / / When the initializer is removed we don ' t actually clear the pointers <nl> / / because we might need to get initializer ' s source range . Since the <nl> / / initializer is ASTContext - allocated it is safe . <nl> - Expr * Node ; <nl> + <nl> + / / / Exactly the expr the programmer wrote <nl> + Expr * origInit ; <nl> + / / / Might be transformed , e . g . for a property wrapper <nl> + Expr * initAfterSynthesis ; <nl> / / / The location of the equal ' = ' token . <nl> SourceLoc EqualLoc ; <nl> } ; <nl> <nl> union { <nl> / / / The initializer expression and its ' = ' token loc . <nl> - ExprAndEqualLoc InitExpr ; <nl> + InitializerAndEqualLoc InitExpr ; <nl> <nl> / / / The text of the initializer expression if deserialized from a module . <nl> StringRef InitStringRepresentation ; <nl> class PatternBindingEntry { <nl> public : <nl> PatternBindingEntry ( Pattern * P , SourceLoc EqualLoc , Expr * E , <nl> DeclContext * InitContext ) <nl> - : PatternAndFlags ( P , { } ) , InitExpr ( { E , EqualLoc } ) , <nl> + : PatternAndFlags ( P , { } ) , InitExpr ( { E , E , EqualLoc } ) , <nl> InitContextAndIsText ( { InitContext , false } ) { <nl> } <nl> <nl> class PatternBindingEntry { <nl> if ( PatternAndFlags . getInt ( ) . contains ( Flags : : Removed ) | | <nl> InitContextAndIsText . getInt ( ) ) <nl> return nullptr ; <nl> - return InitExpr . Node ; <nl> + return InitExpr . initAfterSynthesis ; <nl> } <nl> / / / Retrieve the initializer if it should be executed to initialize this <nl> / / / particular pattern binding . <nl> class PatternBindingEntry { <nl> InitExpr . EqualLoc = equalLoc ; <nl> } <nl> <nl> - / / / Retrieve the initializer as it was written in the source . <nl> - Expr * getInitAsWritten ( ) const { <nl> - return InitContextAndIsText . getInt ( ) ? nullptr : InitExpr . Node ; <nl> - } <nl> + / / / Retrieve the initializer after the = , if any , as it was written in the <nl> + / / / source . <nl> + Expr * getOrigInit ( ) const ; <nl> + <nl> + / / / Set the initializer after the = as it was written in the source . <nl> + void setOrigInit ( Expr * ) ; <nl> <nl> bool isInitializerChecked ( ) const { <nl> return PatternAndFlags . getInt ( ) . contains ( Flags : : Checked ) ; <nl> class PatternBindingEntry { <nl> InitContextAndIsText . setPointer ( dc ) ; <nl> } <nl> <nl> - / / / Retrieve the source range covered by this pattern binding . <nl> + SourceLoc getStartLoc ( ) const ; <nl> + <nl> + / / / Retrieve the end location covered by this pattern binding entry . <nl> + / / / <nl> + / / / \ param omitAccessors Whether the computation should omit the accessors <nl> + / / / from the source range . <nl> + SourceLoc getEndLoc ( bool omitAccessors = false ) const ; <nl> + <nl> + / / / Retrieve the source range covered by this pattern binding entry . <nl> / / / <nl> / / / \ param omitAccessors Whether the computation should omit the accessors <nl> / / / from the source range . <nl> class PatternBindingEntry { <nl> <nl> const CaptureInfo & getCaptureInfo ( ) const { return Captures ; } <nl> void setCaptureInfo ( const CaptureInfo & captures ) { Captures = captures ; } <nl> + <nl> + private : <nl> + SourceLoc getLastAccessorEndLoc ( ) const ; <nl> } ; <nl> <nl> / / / This decl contains a pattern and optional initializer for a set <nl> mmm a / include / swift / AST / PropertyWrappers . h <nl> ppp b / include / swift / AST / PropertyWrappers . h <nl> void simple_display ( <nl> <nl> / / / Given the initializer for the given property with an attached property <nl> / / / wrapper , dig out the original initialization expression . <nl> + / / / Cannot just dig out the getOrigInit ( ) value because this function checks <nl> + / / / types , etc . Erroneous code won ' t return a result from here . <nl> Expr * findOriginalPropertyWrapperInitialValue ( VarDecl * var , Expr * init ) ; <nl> <nl> } / / end namespace swift <nl> mmm a / lib / AST / ASTDumper . cpp <nl> ppp b / lib / AST / ASTDumper . cpp <nl> namespace { <nl> for ( auto entry : PBD - > getPatternList ( ) ) { <nl> OS < < ' \ n ' ; <nl> printRec ( entry . getPattern ( ) ) ; <nl> + if ( entry . getOrigInit ( ) ) { <nl> + OS < < ' \ n ' ; <nl> + OS . indent ( Indent + 2 ) ; <nl> + OS < < " Original init : \ n " ; <nl> + printRec ( entry . getOrigInit ( ) ) ; <nl> + } <nl> if ( entry . getInit ( ) ) { <nl> OS < < ' \ n ' ; <nl> + OS . indent ( Indent + 2 ) ; <nl> + OS < < " Processed init : \ n " ; <nl> printRec ( entry . getInit ( ) ) ; <nl> } <nl> } <nl> mmm a / lib / AST / ASTScopeCreation . cpp <nl> ppp b / lib / AST / ASTScopeCreation . cpp <nl> ASTScopeImpl * PatternEntryDeclScope : : expandAScopeThatCreatesANewInsertionPoint ( <nl> / / initializer ( because of InterpolatedLiteralStrings and EditorPlaceHolders ) , <nl> / / so compute it ourselves . <nl> SourceLoc initializerEnd ; <nl> - if ( patternEntry . getInitAsWritten ( ) & & <nl> - patternEntry . getInitAsWritten ( ) - > getSourceRange ( ) . isValid ( ) ) { <nl> + if ( patternEntry . getOrigInit ( ) & & <nl> + patternEntry . getOrigInit ( ) - > getSourceRange ( ) . isValid ( ) ) { <nl> auto * initializer = <nl> scopeCreator . createSubtree < PatternEntryInitializerScope > ( <nl> this , decl , patternEntryIndex , vis ) ; <nl> ASTScopeImpl * <nl> PatternEntryInitializerScope : : expandAScopeThatCreatesANewInsertionPoint ( <nl> ScopeCreator & scopeCreator ) { <nl> / / Create a child for the initializer expression . <nl> - ASTVisitorForScopeCreation ( ) . visitExpr ( getPatternEntry ( ) . getInitAsWritten ( ) , <nl> - this , scopeCreator ) ; <nl> + ASTVisitorForScopeCreation ( ) . visitExpr ( getPatternEntry ( ) . getOrigInit ( ) , this , <nl> + scopeCreator ) ; <nl> return this ; <nl> } <nl> <nl> mmm a / lib / AST / ASTScopeSourceRange . cpp <nl> ppp b / lib / AST / ASTScopeSourceRange . cpp <nl> SourceRange PatternEntryDeclScope : : getChildlessSourceRange ( ) const { <nl> } <nl> <nl> SourceRange PatternEntryInitializerScope : : getChildlessSourceRange ( ) const { <nl> - return getPatternEntry ( ) . getInitAsWritten ( ) - > getSourceRange ( ) ; <nl> + return getPatternEntry ( ) . getOrigInit ( ) - > getSourceRange ( ) ; <nl> } <nl> <nl> SourceRange PatternEntryUseScope : : getChildlessSourceRange ( ) const { <nl> mmm a / lib / AST / Decl . cpp <nl> ppp b / lib / AST / Decl . cpp <nl> PatternBindingDecl * PatternBindingDecl : : createImplicit ( <nl> ASTContext & Ctx , StaticSpellingKind StaticSpelling , Pattern * Pat , Expr * E , <nl> DeclContext * Parent , SourceLoc VarLoc ) { <nl> auto * Result = create ( Ctx , / * StaticLoc * / SourceLoc ( ) , StaticSpelling , VarLoc , <nl> - Pat , / * EqualLoc * / SourceLoc ( ) , E , Parent ) ; <nl> + Pat , / * EqualLoc * / SourceLoc ( ) , nullptr , Parent ) ; <nl> Result - > setImplicit ( ) ; <nl> + Result - > setInit ( 0 , E ) ; <nl> return Result ; <nl> } <nl> <nl> unsigned PatternBindingDecl : : getPatternEntryIndexForVarDecl ( const VarDecl * VD ) c <nl> return ~ 0U ; <nl> } <nl> <nl> + Expr * PatternBindingEntry : : getOrigInit ( ) const { <nl> + return InitContextAndIsText . getInt ( ) ? nullptr : InitExpr . origInit ; <nl> + } <nl> + <nl> SourceRange PatternBindingEntry : : getOrigInitRange ( ) const { <nl> - auto Init = getInitAsWritten ( ) ; <nl> - return Init ? Init - > getSourceRange ( ) : SourceRange ( ) ; <nl> + if ( auto * i = getOrigInit ( ) ) <nl> + return i - > getSourceRange ( ) ; <nl> + return SourceRange ( ) ; <nl> + } <nl> + <nl> + void PatternBindingEntry : : setOrigInit ( Expr * E ) { <nl> + InitExpr . origInit = E ; <nl> + InitContextAndIsText . setInt ( false ) ; <nl> } <nl> <nl> bool PatternBindingEntry : : isInitialized ( ) const { <nl> void PatternBindingEntry : : setInit ( Expr * E ) { <nl> } else { <nl> PatternAndFlags . setInt ( F | Flags : : Removed ) ; <nl> } <nl> - InitExpr . Node = E ; <nl> + InitExpr . initAfterSynthesis = E ; <nl> InitContextAndIsText . setInt ( false ) ; <nl> } <nl> <nl> VarDecl * PatternBindingEntry : : getAnchoringVarDecl ( ) const { <nl> return variables [ 0 ] ; <nl> } <nl> <nl> - SourceRange PatternBindingEntry : : getSourceRange ( bool omitAccessors ) const { <nl> - / / Patterns end at the initializer , if present . <nl> - SourceLoc endLoc = getOrigInitRange ( ) . End ; <nl> + SourceLoc PatternBindingEntry : : getLastAccessorEndLoc ( ) const { <nl> + SourceLoc lastAccessorEnd ; <nl> + getPattern ( ) - > forEachVariable ( [ & ] ( VarDecl * var ) { <nl> + auto accessorsEndLoc = var - > getBracesRange ( ) . End ; <nl> + if ( accessorsEndLoc . isValid ( ) ) <nl> + lastAccessorEnd = accessorsEndLoc ; <nl> + } ) ; <nl> + return lastAccessorEnd ; <nl> + } <nl> + <nl> + SourceLoc PatternBindingEntry : : getStartLoc ( ) const { <nl> + return getPattern ( ) - > getStartLoc ( ) ; <nl> + } <nl> <nl> - / / If we ' re not banned from handling accessors , they follow the initializer . <nl> + SourceLoc PatternBindingEntry : : getEndLoc ( bool omitAccessors ) const { <nl> + / / Accessors are last <nl> if ( ! omitAccessors ) { <nl> - getPattern ( ) - > forEachVariable ( [ & ] ( VarDecl * var ) { <nl> - auto accessorsEndLoc = var - > getBracesRange ( ) . End ; <nl> - if ( accessorsEndLoc . isValid ( ) ) <nl> - endLoc = accessorsEndLoc ; <nl> - } ) ; <nl> + const auto lastAccessorEnd = getLastAccessorEndLoc ( ) ; <nl> + if ( lastAccessorEnd . isValid ( ) ) <nl> + return lastAccessorEnd ; <nl> } <nl> + const auto initEnd = getOrigInitRange ( ) . End ; <nl> + if ( initEnd . isValid ( ) ) <nl> + return initEnd ; <nl> <nl> - / / If we didn ' t find an end yet , check the pattern . <nl> - if ( endLoc . isInvalid ( ) ) <nl> - endLoc = getPattern ( ) - > getEndLoc ( ) ; <nl> - <nl> - SourceLoc startLoc = getPattern ( ) - > getStartLoc ( ) ; <nl> - if ( startLoc . isValid ( ) ! = endLoc . isValid ( ) ) return SourceRange ( ) ; <nl> + return getPattern ( ) - > getEndLoc ( ) ; <nl> + } <nl> <nl> + SourceRange PatternBindingEntry : : getSourceRange ( bool omitAccessors ) const { <nl> + const SourceLoc startLoc = getStartLoc ( ) ; <nl> + if ( startLoc . isInvalid ( ) ) <nl> + return SourceRange ( ) ; <nl> + const SourceLoc endLoc = getEndLoc ( omitAccessors ) ; <nl> + if ( endLoc . isInvalid ( ) ) <nl> + return SourceRange ( ) ; <nl> return SourceRange ( startLoc , endLoc ) ; <nl> } <nl> <nl> void ParamDecl : : setDefaultArgumentInitContext ( Initializer * initContext ) { <nl> DefaultValueAndFlags . getPointer ( ) - > InitContext = initContext ; <nl> } <nl> <nl> + / / / Return nullptr if there is no property wrapper <nl> Expr * swift : : findOriginalPropertyWrapperInitialValue ( VarDecl * var , <nl> Expr * init ) { <nl> auto * PBD = var - > getParentPatternBinding ( ) ; <nl> Expr * swift : : findOriginalPropertyWrapperInitialValue ( VarDecl * var , <nl> <nl> ASTContext & ctx = var - > getASTContext ( ) ; <nl> auto dc = var - > getInnermostDeclContext ( ) ; <nl> - auto innermostAttr = var - > getAttachedPropertyWrappers ( ) . back ( ) ; <nl> + const auto wrapperAttrs = var - > getAttachedPropertyWrappers ( ) ; <nl> + if ( wrapperAttrs . empty ( ) ) <nl> + return nullptr ; <nl> + auto innermostAttr = wrapperAttrs . back ( ) ; <nl> auto innermostNominal = evaluateOrDefault ( <nl> ctx . evaluator , CustomAttrNominalRequest { innermostAttr , dc } , nullptr ) ; <nl> if ( ! innermostNominal ) <nl> mmm a / lib / Parse / ParseDecl . cpp <nl> ppp b / lib / Parse / ParseDecl . cpp <nl> Parser : : parseDeclVar ( ParseDeclOptions Flags , <nl> PBDEntries . back ( ) . setEqualLoc ( EqualLoc ) ; <nl> <nl> ParserResult < Expr > init = parseExpr ( diag : : expected_init_value ) ; <nl> - <nl> + PBDEntries . back ( ) . setOrigInit ( init . getPtrOrNull ( ) ) ; <nl> + <nl> / / If this Pattern binding was not supposed to have an initializer , but it <nl> / / did , diagnose this and remove it . <nl> if ( Flags & PD_DisallowInit & & init . isNonNull ( ) ) { <nl> | Fix PatternBindingEntry : : getSourceRange | apple/swift | 1011998a97523328cbcec33d47b893819aad560c | 2019-08-01T23:59:40Z |
mmm a / docker / server / entrypoint . sh <nl> ppp b / docker / server / entrypoint . sh <nl> for dir in " $ DATA_DIR " \ <nl> " $ USER_PATH " \ <nl> " $ FORMAT_SCHEMA_PATH " <nl> do <nl> + # check if variable not empty <nl> + [ - z " $ dir " ] & & continue <nl> # ensure directories exist <nl> if ! mkdir - p " $ dir " ; then <nl> echo " Couldn ' t create necessary directory : $ dir " <nl> | Issue , add check for empty variable | ClickHouse/ClickHouse | 87abf1f38e3d8991b8c9658d8a78023c912d5db0 | 2019-04-10T12:29:04Z |
mmm a / Documentation / Books / Manual / DataModeling / Collections / DatabaseMethods . md <nl> ppp b / Documentation / Books / Manual / DataModeling / Collections / DatabaseMethods . md <nl> to the [ naming conventions ] ( . . / NamingConventions / README . md ) . <nl> dramatically when using joins in AQL at the costs of reduced write <nl> performance on these collections . <nl> <nl> - - * distributeShardsLike * distribute the shards of this collection <nl> + - * distributeShardsLike * : distribute the shards of this collection <nl> cloning the shard distribution of another . If this value is set , <nl> it will copy the attributes * replicationFactor * , * numberOfShards * and <nl> * shardingStrategy * from the other collection . <nl> to the [ naming conventions ] ( . . / NamingConventions / README . md ) . <nl> In single - server mode , the * shardingStrategy * attribute is meaningless <nl> and will be ignored . <nl> <nl> + - * smartJoinAttribute : in an * Enterprise Edition * cluster , this attribute <nl> + determines an attribute of the collection that must contain the shard key value <nl> + of the referred - to smart join collection . Additionally , the sharding key <nl> + for a document in this collection must contain the value of this attribute , <nl> + followed by a colon , followed by the actual primary key of the document . <nl> + <nl> + This feature can only be used in the * Enterprise Edition * and requires the <nl> + * distributeShardsLike * attribute of the collection to be set to the name <nl> + of another collection . It also requires the * shardKeys * attribute of the <nl> + collection to be set to a single shard key attribute , with an additional ' : ' <nl> + at the end . <nl> + A further restriction is that whenever documents are stored or updated in the <nl> + collection , the value stored in the * smartJoinAttribute * must be a string . <nl> + <nl> ` db . _create ( collection - name , properties , type ) ` <nl> <nl> Specifies the optional * type * of the collection , it can either be * document * <nl> mmm a / Documentation / Books / Manual / SUMMARY . md <nl> ppp b / Documentation / Books / Manual / SUMMARY . md <nl> <nl> * [ Auth and OAuth2 ] ( Foxx / Migrating2x / Auth . md ) <nl> * [ Foxx Queries ] ( Foxx / Migrating2x / Queries . md ) <nl> * [ Satellite Collections ] ( Satellites . md ) <nl> + * [ Smart Joins ] ( SmartJoins . md ) <nl> <nl> # # OPERATIONS <nl> <nl> mmm a / Documentation / Books / Manual / Satellites . md <nl> ppp b / Documentation / Books / Manual / Satellites . md <nl> This feature is only available in the <nl> [ * * Enterprise Edition * * ] ( https : / / www . arangodb . com / why - arangodb / arangodb - enterprise / ) <nl> { % endhint % } <nl> <nl> - When doing Joins in an ArangoDB cluster data has to exchanged between different servers . <nl> + When doing joins in an ArangoDB cluster data has to be exchanged between different servers . <nl> <nl> Joins will be executed on a coordinator . It will prepare an execution plan <nl> - and execute it . When executing the coordinator will contact all shards of the <nl> + and execute it . When executing , the coordinator will contact all shards of the <nl> starting point of the join and ask for their data . The database servers carrying <nl> out this operation will load all their local data and then ask the cluster for <nl> the other part of the join . This again will be distributed to all involved shards <nl> Satellite collections are collections that are intended to address this issue . <nl> They will facilitate the synchronous replication and replicate all its data <nl> to all database servers that are part of the cluster . <nl> <nl> - This enables the database servers to execute that part of any Join locally . <nl> + This enables the database servers to execute that part of any join locally . <nl> <nl> This greatly improves performance for such joins at the costs of increased <nl> storage requirements and poorer write performance on this data . <nl> new file mode 100644 <nl> index 00000000000 . . e33462f0a20 <nl> mmm / dev / null <nl> ppp b / Documentation / Books / Manual / SmartJoins . md <nl> <nl> + Smart Joins <nl> + = = = = = = = = = = = <nl> + <nl> + { % hint ' info ' % } <nl> + This feature is only available in the <nl> + [ * * Enterprise Edition * * ] ( https : / / www . arangodb . com / why - arangodb / arangodb - enterprise / ) <nl> + { % endhint % } <nl> + <nl> + When doing joins in an ArangoDB cluster data has to be exchanged between different servers . <nl> + <nl> + Joins between collections in a cluster normally require roundtrips between the shards of <nl> + the different collections for fetching the data . Requests are routed through an extra <nl> + coordinator hop . <nl> + <nl> + For example , with two collections * collection1 * and * collection2 * with 4 shards each , <nl> + the coordinator will initially contact the 4 shards of * collection1 * . In order to perform <nl> + the join , the DBServer nodes which manage the actual data of * collection1 * need to pull <nl> + the data from the other collection , * collection2 * . This causes extra roundtrips via the <nl> + coordinator , which will then pull the data for * collection2 * from the responsible shards : <nl> + <nl> + arangosh > db . _explain ( " FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = doc2 . _key RETURN doc1 " ) ; <nl> + <nl> + Query String : <nl> + FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = doc2 . _key RETURN doc1 <nl> + <nl> + Execution plan : <nl> + Id NodeType Site Est . Comment <nl> + 1 SingletonNode DBS 1 * ROOT <nl> + 3 EnumerateCollectionNode DBS 0 - FOR doc2 IN collection2 / * full collection scan , 4 shard ( s ) * / <nl> + 14 RemoteNode COOR 0 - REMOTE <nl> + 15 GatherNode COOR 0 - GATHER <nl> + 8 ScatterNode COOR 0 - SCATTER <nl> + 9 RemoteNode DBS 0 - REMOTE <nl> + 7 IndexNode DBS 0 - FOR doc1 IN collection1 / * primary index scan , 4 shard ( s ) * / <nl> + 10 RemoteNode COOR 0 - REMOTE <nl> + 11 GatherNode COOR 0 - GATHER <nl> + 6 ReturnNode COOR 0 - RETURN doc1 <nl> + <nl> + This is the general query execution , and it makes sense if there is no further <nl> + information available about how the data is actually distributed to the individual <nl> + shards . It works in case * collection1 * and * collection2 * have a different amount <nl> + of shards , or use different shard keys or strategies . However , it comes with the <nl> + additional cost of having to do 4 x 4 requests to perform the join . <nl> + <nl> + Using distributeShardsLike <nl> + mmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + In the specific case that the two collections have the same number of shards and <nl> + the same shards , the data of the two collections can be co - located on the same <nl> + server for the same shard key values . In this case the extra hop via the coordinator <nl> + is not be necessary . <nl> + <nl> + The query optimizer will remove the extra hop for the join in case it can prove <nl> + that data for the two collections is co - located . There are the following requirements <nl> + for this : <nl> + <nl> + * using the cluster version of the ArangoDB * Enterprise Edition * <nl> + * using two collections with identical sharding . This requires the second collection <nl> + to be created with its * distributeShardsLike * attribute pointing to the first <nl> + collection <nl> + * using a single shard key per collection <nl> + <nl> + Here is an example setup for this , using arangosh : <nl> + <nl> + arangosh > db . _create ( " collection1 " , { numberOfShards : 4 , shardKeys : [ " _key " ] } ) ; <nl> + arangosh > db . _create ( " collection2 " , { numberOfShards : 4 , shardKeys : [ " _key " ] , distributeShardsLike : " collection1 " } ) ; <nl> + arangosh > for ( i = 0 ; i < 100 ; + + i ) { <nl> + db . collection1 . insert ( { _key : " test " + i } ) ; <nl> + db . collection2 . insert ( { _key : " test " + i } ) ; <nl> + } <nl> + <nl> + With the two collections in place like this , an AQL query that uses a FILTER condition <nl> + that refers from the shard key of the one collection to the shard key of the other collection <nl> + and compares the two shard key values by equality is eligible for the " smart - join " <nl> + optimization of the query optimizer : <nl> + <nl> + arangosh > db . _explain ( " FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = doc2 . _key RETURN doc1 " ) ; <nl> + <nl> + Query String : <nl> + FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = doc2 . _key RETURN doc1 <nl> + <nl> + Execution plan : <nl> + Id NodeType Site Est . Comment <nl> + 1 SingletonNode DBS 1 * ROOT <nl> + 3 EnumerateCollectionNode DBS 0 - FOR doc2 IN collection2 / * full collection scan , 4 shard ( s ) * / <nl> + 7 IndexNode DBS 0 - FOR doc1 IN collection1 / * primary index scan , 4 shard ( s ) * / <nl> + 10 RemoteNode COOR 0 - REMOTE <nl> + 11 GatherNode COOR 0 - GATHER <nl> + 6 ReturnNode COOR 0 - RETURN doc1 <nl> + <nl> + As can be seen above , the extra hop via the coordinator is gone here , which will mean <nl> + less cluster - internal traffic and a faster response time . <nl> + <nl> + <nl> + Smart joins will also work if the shard key of the second collection is not * _key * , <nl> + and even for non - unique shard key values , e . g . : <nl> + <nl> + arangosh > db . _create ( " collection1 " , { numberOfShards : 4 , shardKeys : [ " _key " ] } ) ; <nl> + arangosh > db . _create ( " collection2 " , { numberOfShards : 4 , shardKeys : [ " parent " ] , distributeShardsLike : " collection1 " } ) ; <nl> + arangosh > db . collection2 . ensureIndex ( { type : " hash " , fields : [ " parent " ] } ) ; <nl> + arangosh > for ( i = 0 ; i < 100 ; + + i ) { <nl> + db . collection1 . insert ( { _key : " test " + i } ) ; <nl> + for ( j = 0 ; j < 10 ; + + j ) { <nl> + db . collection2 . insert ( { parent : " test " + i } ) ; <nl> + } <nl> + } <nl> + <nl> + arangosh > db . _explain ( " FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = doc2 . parent RETURN doc1 " ) ; <nl> + <nl> + Query String : <nl> + FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = doc2 . parent RETURN doc1 <nl> + <nl> + Execution plan : <nl> + Id NodeType Site Est . Comment <nl> + 1 SingletonNode DBS 1 * ROOT <nl> + 3 EnumerateCollectionNode DBS 2000 - FOR doc2 IN collection2 / * full collection scan , 4 shard ( s ) * / <nl> + 7 IndexNode DBS 2000 - FOR doc1 IN collection1 / * primary index scan , 4 shard ( s ) * / <nl> + 10 RemoteNode COOR 2000 - REMOTE <nl> + 11 GatherNode COOR 2000 - GATHER <nl> + 6 ReturnNode COOR 2000 - RETURN doc1 <nl> + <nl> + <nl> + Using smartJoinAttribute <nl> + mmmmmmmmmmmmmmmmmmmmmmmm <nl> + <nl> + In case the join on the second collection must be performed on a non - shard key <nl> + attribute , there is the option to specify a * smartJoinAttribute * for the collection . <nl> + Note that for this case , setting * distributeShardsLike * is still required here , and that that <nl> + only a single * shardKeys * attribute can be used . <nl> + The single attribute name specified in the * shardKeys * attribute for the collection must end <nl> + with a colon character then . <nl> + <nl> + This * smartJoinAttribute * must be populated for all documents in the collection , <nl> + and must always contain a string value . The value of the * _key * attribute for each <nl> + document must consist of the value of the * smartJoinAttribute * , a colon character <nl> + and then some other user - defined key component . <nl> + <nl> + The setup thus becomes : <nl> + <nl> + arangosh > db . _create ( " collection1 " , { numberOfShards : 4 , shardKeys : [ " _key " ] } ) ; <nl> + arangosh > db . _create ( " collection2 " , { numberOfShards : 4 , shardKeys : [ " _key : " ] , smartJoinAttribute : " parent " , distributeShardsLike : " collection1 " } ) ; <nl> + arangosh > db . collection2 . ensureIndex ( { type : " hash " , fields : [ " parent " ] } ) ; <nl> + arangosh > for ( i = 0 ; i < 100 ; + + i ) { <nl> + db . collection1 . insert ( { _key : " test " + i } ) ; <nl> + db . collection2 . insert ( { _key : " test " + i + " : " + " ownKey " + i , parent : " test " + i } ) ; <nl> + } <nl> + <nl> + Failure to populate the * smartGraphAttribute * with a string or not at all will lead <nl> + to a document being rejected on insert , update or replace . Similarly , failure to <nl> + prefix a document ' s * _key * attribute value with the value of the * smartGraphAttribute * <nl> + will also lead to the document being rejected : <nl> + <nl> + arangosh > db . collection2 . insert ( { parent : 123 } ) ; <nl> + JavaScript exception in file ' . / js / client / modules / @ arangodb / arangosh . js ' at 99 , 7 : ArangoError 4008 : smart join attribute not given or invalid <nl> + <nl> + arangosh > db . collection2 . insert ( { _key : " 123 : test1 " , parent : " 124 " } ) ; <nl> + JavaScript exception in file ' . / js / client / modules / @ arangodb / arangosh . js ' at 99 , 7 : ArangoError 4007 : shard key value must be prefixed with the value of the smart join attribute <nl> + <nl> + The join can now be performed via the collection ' s * smartJoinAttribute * : <nl> + <nl> + arangosh > db . _explain ( " FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = doc2 . parent RETURN doc1 " ) <nl> + <nl> + Query String : <nl> + FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = doc2 . parent RETURN doc1 <nl> + <nl> + Execution plan : <nl> + Id NodeType Site Est . Comment <nl> + 1 SingletonNode DBS 1 * ROOT <nl> + 3 EnumerateCollectionNode DBS 101 - FOR doc2 IN collection2 / * full collection scan , 4 shard ( s ) * / <nl> + 7 IndexNode DBS 101 - FOR doc1 IN collection1 / * primary index scan , 4 shard ( s ) * / <nl> + 10 RemoteNode COOR 101 - REMOTE <nl> + 11 GatherNode COOR 101 - GATHER <nl> + 6 ReturnNode COOR 101 - RETURN doc1 <nl> + <nl> + <nl> + Restricting smart joins to a single shard <nl> + mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + <nl> + If a FILTER condition is used on one of the shard keys , the optimizer will also try <nl> + to restrict the queries to just the required shards : <nl> + <nl> + arangosh > db . _explain ( " FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = ' test ' & & doc1 . _key = = doc2 . value RETURN doc1 " ) ; <nl> + <nl> + Query String : <nl> + FOR doc1 IN collection1 FOR doc2 IN collection2 FILTER doc1 . _key = = ' test ' & & doc1 . _key = = doc2 . value <nl> + RETURN doc1 <nl> + <nl> + Execution plan : <nl> + Id NodeType Site Est . Comment <nl> + 1 SingletonNode DBS 1 * ROOT <nl> + 8 IndexNode DBS 1 - FOR doc1 IN collection1 / * primary index scan , shard : s2010246 * / <nl> + 7 IndexNode DBS 1 - FOR doc2 IN collection2 / * primary index scan , scan only , shard : s2010253 * / <nl> + 12 RemoteNode COOR 1 - REMOTE <nl> + 13 GatherNode COOR 1 - GATHER <nl> + 6 ReturnNode COOR 1 - RETURN doc1 <nl> mmm a / Documentation / DocuBlocks / Rest / Collections / post_api_collection . md <nl> ppp b / Documentation / DocuBlocks / Rest / Collections / post_api_collection . md <nl> collections ( requires the * Enterprise Edition * of ArangoDB ) . <nl> Manually overriding the sharding strategy does not yet provide a <nl> benefit , but it may later in case other sharding strategies are added . <nl> <nl> + @ RESTBODYPARAM { smartJoinAttribute , string , optional , string } <nl> + In an * Enterprise Edition * cluster , this attribute determines an attribute <nl> + of the collection that must contain the shard key value of the referred - to <nl> + smart join collection . Additionally , the shard key for a document in this <nl> + collection must contain the value of this attribute , followed by a colon , <nl> + followed by the actual primary key of the document . <nl> + <nl> + This feature can only be used in the * Enterprise Edition * and requires the <nl> + * distributeShardsLike * attribute of the collection to be set to the name <nl> + of another collection . It also requires the * shardKeys * attribute of the <nl> + collection to be set to a single shard key attribute , with an additional ' : ' <nl> + at the end . <nl> + A further restriction is that whenever documents are stored or updated in the <nl> + collection , the value stored in the * smartJoinAttribute * must be a string . <nl> + <nl> @ RESTQUERYPARAMETERS <nl> <nl> @ RESTQUERYPARAM { waitForSyncReplication , integer , optional } <nl> mmm a / arangod / Aql / Collection . cpp <nl> ppp b / arangod / Aql / Collection . cpp <nl> void Collection : : setExclusiveAccess ( ) { <nl> / / / @ brief get the collection id <nl> TRI_voc_cid_t Collection : : id ( ) const { return getCollection ( ) - > id ( ) ; } <nl> <nl> + / / / @ brief collection type <nl> + TRI_col_type_e Collection : : type ( ) const { return getCollection ( ) - > type ( ) ; } <nl> + <nl> / / / @ brief count the number of documents in the collection <nl> size_t Collection : : count ( transaction : : Methods * trx ) const { <nl> / / estimate for the number of documents in the collection . may be outdated . . . <nl> bool Collection : : isSmart ( ) const { return getCollection ( ) - > isSmart ( ) ; } <nl> <nl> / / / @ brief check if collection is a satellite collection <nl> bool Collection : : isSatellite ( ) const { return getCollection ( ) - > isSatellite ( ) ; } <nl> + <nl> + / / / @ brief return the name of the smart join attribute ( empty string <nl> + / / / if no smart join attribute is present ) <nl> + std : : string const & Collection : : smartJoinAttribute ( ) const { return getCollection ( ) - > smartJoinAttribute ( ) ; } <nl> mmm a / arangod / Aql / Collection . h <nl> ppp b / arangod / Aql / Collection . h <nl> struct Collection { <nl> / / non - sharding case : simply return the name <nl> return _name ; <nl> } <nl> + <nl> + / / / @ brief collection type <nl> + TRI_col_type_e type ( ) const ; <nl> <nl> / / / @ brief count the number of documents in the collection <nl> size_t count ( transaction : : Methods * trx ) const ; <nl> struct Collection { <nl> / / / @ brief check if collection is a satellite collection <nl> bool isSatellite ( ) const ; <nl> <nl> + / / / @ brief return the name of the smart join attribute ( empty string <nl> + / / / if no smart join attribute is present ) <nl> + std : : string const & smartJoinAttribute ( ) const ; <nl> + <nl> private : <nl> arangodb : : LogicalCollection * _collection ; <nl> <nl> mmm a / arangod / Aql / CollectionAccessingNode . cpp <nl> ppp b / arangod / Aql / CollectionAccessingNode . cpp <nl> <nl> # include " VocBase / LogicalCollection . h " <nl> # include " VocBase / vocbase . h " <nl> <nl> + # include < velocypack / Iterator . h > <nl> # include < velocypack / velocypack - aliases . h > <nl> <nl> using namespace arangodb ; <nl> using namespace arangodb : : aql ; <nl> <nl> CollectionAccessingNode : : CollectionAccessingNode ( aql : : Collection const * collection ) <nl> - : _collection ( collection ) { <nl> + : _collection ( collection ) , <nl> + _prototypeCollection ( nullptr ) , <nl> + _prototypeOutVariable ( nullptr ) { <nl> TRI_ASSERT ( _collection ! = nullptr ) ; <nl> } <nl> <nl> CollectionAccessingNode : : CollectionAccessingNode ( ExecutionPlan * plan , <nl> arangodb : : velocypack : : Slice slice ) <nl> : _collection ( plan - > getAst ( ) - > query ( ) - > collections ( ) - > get ( <nl> - slice . get ( " collection " ) . copyString ( ) ) ) { <nl> + slice . get ( " collection " ) . copyString ( ) ) ) , <nl> + _prototypeCollection ( nullptr ) , <nl> + _prototypeOutVariable ( nullptr ) { <nl> + <nl> + if ( slice . get ( " prototype " ) . isString ( ) ) { <nl> + _prototypeCollection = plan - > getAst ( ) - > query ( ) - > collections ( ) - > get ( slice . get ( " prototype " ) . copyString ( ) ) ; <nl> + } <nl> + <nl> TRI_ASSERT ( _collection ! = nullptr ) ; <nl> <nl> if ( _collection = = nullptr ) { <nl> void CollectionAccessingNode : : collection ( aql : : Collection const * collection ) { <nl> void CollectionAccessingNode : : toVelocyPack ( arangodb : : velocypack : : Builder & builder ) const { <nl> builder . add ( " database " , VPackValue ( _collection - > vocbase ( ) - > name ( ) ) ) ; <nl> builder . add ( " collection " , VPackValue ( _collection - > name ( ) ) ) ; <nl> + if ( _prototypeCollection ! = nullptr ) { <nl> + builder . add ( " prototype " , VPackValue ( _prototypeCollection - > name ( ) ) ) ; <nl> + } <nl> builder . add ( " satellite " , VPackValue ( _collection - > isSatellite ( ) ) ) ; <nl> - <nl> + <nl> if ( ServerState : : instance ( ) - > isCoordinator ( ) ) { <nl> builder . add ( StaticStrings : : NumberOfShards , VPackValue ( _collection - > numberOfShards ( ) ) ) ; <nl> } <nl> mmm a / arangod / Aql / CollectionAccessingNode . h <nl> ppp b / arangod / Aql / CollectionAccessingNode . h <nl> namespace arangodb { <nl> namespace aql { <nl> struct Collection ; <nl> class ExecutionPlan ; <nl> + struct Variable ; <nl> <nl> class CollectionAccessingNode { <nl> public : <nl> class CollectionAccessingNode { <nl> * / <nl> std : : string const & restrictedShard ( ) const { return _restrictedTo ; } <nl> <nl> + / / / @ brief set the prototype collection when using distributeShardsLike <nl> + void setPrototype ( arangodb : : aql : : Collection const * prototypeCollection , <nl> + arangodb : : aql : : Variable const * prototypeOutVariable ) { <nl> + _prototypeCollection = prototypeCollection ; <nl> + _prototypeOutVariable = prototypeOutVariable ; <nl> + } <nl> + <nl> + aql : : Collection const * prototypeCollection ( ) const { return _prototypeCollection ; } <nl> + aql : : Variable const * prototypeOutVariable ( ) const { return _prototypeOutVariable ; } <nl> + <nl> protected : <nl> aql : : Collection const * _collection ; <nl> <nl> / / / @ brief A shard this node is restricted to , may be empty <nl> std : : string _restrictedTo ; <nl> + <nl> + / / / @ brief prototype collection when using distributeShardsLike <nl> + aql : : Collection const * _prototypeCollection ; <nl> + aql : : Variable const * _prototypeOutVariable ; <nl> } ; <nl> <nl> } / / namespace aql <nl> mmm a / arangod / Aql / EngineInfoContainerDBServer . cpp <nl> ppp b / arangod / Aql / EngineInfoContainerDBServer . cpp <nl> void EngineInfoContainerDBServer : : EngineInfo : : serializeSnippet ( <nl> viewNode - > shards ( ) = shards ; <nl> } else <nl> # endif <nl> - if ( ExecutionNode : : REMOTE = = nodeType ) { <nl> + if ( ExecutionNode : : REMOTE = = nodeType ) { <nl> auto rem = ExecutionNode : : castTo < RemoteNode * > ( clone ) ; <nl> / / update the remote node with the information about the query <nl> rem - > server ( " server : " + arangodb : : ServerState : : instance ( ) - > getId ( ) ) ; <nl> void EngineInfoContainerDBServer : : EngineInfo : : serializeSnippet ( <nl> <nl> plan . root ( previous ) ; <nl> plan . setVarUsageComputed ( ) ; <nl> - / / Always Verbose <nl> + / / Always verbose <nl> const unsigned flags = ExecutionNode : : SERIALIZE_DETAILS ; <nl> plan . root ( ) - > toVelocyPack ( infoBuilder , flags , / * keepTopLevelOpen * / false ) ; <nl> } <nl> void EngineInfoContainerDBServer : : EngineInfo : : serializeSnippet ( <nl> / / this clone does the translation collection = > shardId implicitly <nl> / / at the relevant parts of the query . <nl> <nl> + std : : unordered_set < aql : : Collection * > cleanup ; <nl> + cleanup . emplace ( collection - > collection ) ; <nl> collection - > collection - > setCurrentShard ( id ) ; <nl> <nl> ExecutionPlan plan ( query . ast ( ) ) ; <nl> void EngineInfoContainerDBServer : : EngineInfo : : serializeSnippet ( <nl> / / we need to count nodes by type ourselves , as we will set the <nl> / / " varUsageComputed " flag below ( which will handle the counting ) <nl> plan . increaseCounter ( nodeType ) ; <nl> + <nl> + if ( nodeType = = ExecutionNode : : INDEX | | nodeType = = ExecutionNode : : ENUMERATE_COLLECTION ) { <nl> + auto x = dynamic_cast < CollectionAccessingNode * > ( clone ) ; <nl> + auto const * prototype = x - > prototypeCollection ( ) ; <nl> + if ( prototype ! = nullptr ) { <nl> + auto s1 = prototype - > shardIds ( ) ; <nl> + auto s2 = x - > collection ( ) - > shardIds ( ) ; <nl> + if ( s1 - > size ( ) = = s2 - > size ( ) ) { <nl> + for ( size_t i = 0 ; i < s1 - > size ( ) ; + + i ) { <nl> + if ( ( * s1 ) [ i ] = = id ) { <nl> + / / inject shard id into collection <nl> + auto collection = const_cast < arangodb : : aql : : Collection * > ( x - > collection ( ) ) ; <nl> + collection - > setCurrentShard ( ( * s2 ) [ i ] ) ; <nl> + cleanup . emplace ( collection ) ; <nl> + break ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + } <nl> <nl> if ( ExecutionNode : : REMOTE = = nodeType ) { <nl> auto rem = ExecutionNode : : castTo < RemoteNode * > ( clone ) ; <nl> void EngineInfoContainerDBServer : : EngineInfo : : serializeSnippet ( <nl> plan . setVarUsageComputed ( ) ; <nl> const unsigned flags = ExecutionNode : : SERIALIZE_DETAILS ; <nl> plan . root ( ) - > toVelocyPack ( infoBuilder , flags , / * keepTopLevelOpen * / false ) ; <nl> - collection - > collection - > resetCurrentShard ( ) ; <nl> + <nl> + / / remove shard id hack for all participating collections <nl> + for ( auto & it : cleanup ) { <nl> + it - > resetCurrentShard ( ) ; <nl> + } <nl> } <nl> <nl> void EngineInfoContainerDBServer : : CollectionInfo : : mergeShards ( <nl> void EngineInfoContainerDBServer : : addNode ( ExecutionNode * node ) { <nl> TRI_ASSERT ( ! _engineStack . empty ( ) ) ; <nl> _engineStack . top ( ) - > addNode ( node ) ; <nl> switch ( node - > getType ( ) ) { <nl> - case ExecutionNode : : ENUMERATE_COLLECTION : { <nl> - auto * scatter = findFirstScatter ( * node ) ; <nl> - auto const & colNode = * ExecutionNode : : castTo < EnumerateCollectionNode const * > ( node ) ; <nl> - auto const * col = colNode . collection ( ) ; <nl> - <nl> - std : : unordered_set < std : : string > restrictedShard ; <nl> - if ( colNode . isRestricted ( ) ) { <nl> - restrictedShard . emplace ( colNode . restrictedShard ( ) ) ; <nl> - } <nl> - <nl> - handleCollection ( col , AccessMode : : Type : : READ , scatter , restrictedShard ) ; <nl> - updateCollection ( col ) ; <nl> - break ; <nl> - } <nl> + case ExecutionNode : : ENUMERATE_COLLECTION : <nl> case ExecutionNode : : INDEX : { <nl> auto * scatter = findFirstScatter ( * node ) ; <nl> - auto const & idxNode = * ExecutionNode : : castTo < IndexNode const * > ( node ) ; <nl> - auto const * col = idxNode . collection ( ) ; <nl> - <nl> + auto const * colNode = dynamic_cast < CollectionAccessingNode const * > ( node ) ; <nl> + if ( colNode = = nullptr ) { <nl> + THROW_ARANGO_EXCEPTION_MESSAGE ( TRI_ERROR_INTERNAL , " unable to cast node to CollectionAccessingNode " ) ; <nl> + } <nl> std : : unordered_set < std : : string > restrictedShard ; <nl> - if ( idxNode . isRestricted ( ) ) { <nl> - restrictedShard . emplace ( idxNode . restrictedShard ( ) ) ; <nl> + if ( colNode - > isRestricted ( ) ) { <nl> + restrictedShard . emplace ( colNode - > restrictedShard ( ) ) ; <nl> } <nl> <nl> + auto const * col = colNode - > collection ( ) ; <nl> handleCollection ( col , AccessMode : : Type : : READ , scatter , restrictedShard ) ; <nl> updateCollection ( col ) ; <nl> break ; <nl> void EngineInfoContainerDBServer : : closeSnippet ( QueryId coordinatorEngineId ) { <nl> if ( it = = _collectionInfos . end ( ) ) { <nl> THROW_ARANGO_EXCEPTION_MESSAGE ( <nl> TRI_ERROR_INTERNAL , <nl> - " Created a DBServer QuerySnippet without a Collection . This should " <nl> - " not happen . Please report this query to ArangoDB " ) ; <nl> + " created a DBServer QuerySnippet without a collection . This should " <nl> + " not happen " ) ; <nl> } <nl> it - > second . engines . emplace_back ( std : : move ( e ) ) ; <nl> } <nl> mmm a / arangod / Aql / ExecutionEngine . cpp <nl> ppp b / arangod / Aql / ExecutionEngine . cpp <nl> Result ExecutionEngine : : createBlocks ( std : : vector < ExecutionNode * > const & nodes , <nl> if ( nodeType = = ExecutionNode : : GATHER ) { <nl> / / we found a gather node <nl> if ( remoteNode = = nullptr ) { <nl> - return { TRI_ERROR_INTERNAL , " expecting a remoteNode " } ; <nl> + return { TRI_ERROR_INTERNAL , " expecting a RemoteNode " } ; <nl> } <nl> <nl> / / now we ' ll create a remote node for each shard and add it to the <nl> Result ExecutionEngine : : createBlocks ( std : : vector < ExecutionNode * > const & nodes , <nl> TRI_ASSERT ( serversForRemote ! = queryIds . end ( ) ) ; <nl> if ( serversForRemote = = queryIds . end ( ) ) { <nl> return { TRI_ERROR_INTERNAL , <nl> - " Did not find a DBServer to contact for RemoteNode . " } ; <nl> + " Did not find a DBServer to contact for RemoteNode " } ; <nl> } <nl> <nl> / / use " server : " instead of " shard : " to send query fragments to <nl> mmm a / arangod / Aql / ExecutionNode . cpp <nl> ppp b / arangod / Aql / ExecutionNode . cpp <nl> ExecutionNode * EnumerateCollectionNode : : clone ( ExecutionPlan * plan , bool withDepe <nl> outVariable , _random , _hint ) ; <nl> <nl> c - > projections ( _projections ) ; <nl> + c - > _prototypeCollection = _prototypeCollection ; <nl> + c - > _prototypeOutVariable = _prototypeOutVariable ; <nl> <nl> return cloneHelper ( std : : move ( c ) , withDependencies , withProperties ) ; <nl> } <nl> mmm a / arangod / Aql / ExecutionNode . h <nl> ppp b / arangod / Aql / ExecutionNode . h <nl> class ExecutionNode { <nl> } <nl> } <nl> <nl> + / / / @ brief get the singleton node of the node <nl> + ExecutionNode const * getSingleton ( ) const { <nl> + auto node = this ; <nl> + do { <nl> + node = node - > getFirstDependency ( ) ; <nl> + } while ( node ! = nullptr & & node - > getType ( ) ! = SINGLETON ) ; <nl> + <nl> + return node ; <nl> + } <nl> + <nl> / / / @ brief get the node and its dependencies as a vector <nl> void getDependencyChain ( std : : vector < ExecutionNode * > & result , bool includeSelf ) { <nl> auto current = this ; <nl> mmm a / arangod / Aql / IndexNode . cpp <nl> ppp b / arangod / Aql / IndexNode . cpp <nl> ExecutionNode * IndexNode : : clone ( ExecutionPlan * plan , bool withDependencies , <nl> c - > projections ( _projections ) ; <nl> c - > needsGatherNodeSort ( _needsGatherNodeSort ) ; <nl> c - > initIndexCoversProjections ( ) ; <nl> + c - > _prototypeCollection = _prototypeCollection ; <nl> + c - > _prototypeOutVariable = _prototypeOutVariable ; <nl> <nl> return cloneHelper ( std : : move ( c ) , withDependencies , withProperties ) ; <nl> } <nl> mmm a / arangod / Aql / OptimizerRule . h <nl> ppp b / arangod / Aql / OptimizerRule . h <nl> struct OptimizerRule { <nl> <nl> / / make operations on sharded collections use distribute <nl> distributeInClusterRule , <nl> - <nl> - / / try to find candidates for shard - local joins in the cluster <nl> - optimizeClusterJoinsRule , <nl> + <nl> + # ifdef USE_ENTERPRISE <nl> + smartJoinsRule , <nl> + # endif <nl> <nl> / / make operations on sharded collections use scatter / gather / remote <nl> scatterInClusterRule , <nl> mmm a / arangod / Aql / OptimizerRules . cpp <nl> ppp b / arangod / Aql / OptimizerRules . cpp <nl> std : : vector < arangodb : : aql : : ExecutionNode : : NodeType > const patchUpdateRemoveState <nl> arangodb : : aql : : ExecutionNode : : UPDATE , arangodb : : aql : : ExecutionNode : : REPLACE , <nl> arangodb : : aql : : ExecutionNode : : REMOVE } ; <nl> <nl> - int indexOf ( std : : vector < std : : string > const & haystack , std : : string const & needle ) { <nl> - for ( size_t i = 0 ; i < haystack . size ( ) ; + + i ) { <nl> - if ( haystack [ i ] = = needle ) { <nl> - return static_cast < int > ( i ) ; <nl> - } <nl> - } <nl> - return - 1 ; <nl> - } <nl> - <nl> / / / @ brief find the single shard id for the node to restrict an operation to <nl> / / / this will check the conditions of an IndexNode or a data - modification node <nl> / / / ( excluding UPSERT ) and check if all shard keys are used in it . If all <nl> void arangodb : : aql : : removeCollectVariablesRule ( Optimizer * opt , <nl> <nl> class PropagateConstantAttributesHelper { <nl> public : <nl> - PropagateConstantAttributesHelper ( ) : _constants ( ) , _modified ( false ) { } <nl> + explicit PropagateConstantAttributesHelper ( ExecutionPlan * plan ) <nl> + : _plan ( plan ) , _modified ( false ) { } <nl> <nl> bool modified ( ) const { return _modified ; } <nl> <nl> / / / @ brief inspects a plan and propages constant values in expressions <nl> - void propagateConstants ( ExecutionPlan * plan ) { <nl> + void propagateConstants ( ) { <nl> SmallVector < ExecutionNode * > : : allocator_type : : arena_type a ; <nl> SmallVector < ExecutionNode * > nodes { a } ; <nl> - plan - > findNodesOfType ( nodes , EN : : FILTER , true ) ; <nl> + _plan - > findNodesOfType ( nodes , EN : : FILTER , true ) ; <nl> <nl> for ( auto const & node : nodes ) { <nl> auto fn = ExecutionNode : : castTo < FilterNode const * > ( node ) ; <nl> - auto setter = plan - > getVarSetBy ( fn - > inVariable ( ) - > id ) ; <nl> + auto setter = _plan - > getVarSetBy ( fn - > inVariable ( ) - > id ) ; <nl> if ( setter ! = nullptr & & setter - > getType ( ) = = EN : : CALCULATION ) { <nl> auto cn = ExecutionNode : : castTo < CalculationNode * > ( setter ) ; <nl> auto expression = cn - > expression ( ) ; <nl> class PropagateConstantAttributesHelper { <nl> if ( ! _constants . empty ( ) ) { <nl> for ( auto const & node : nodes ) { <nl> auto fn = ExecutionNode : : castTo < FilterNode const * > ( node ) ; <nl> - auto setter = plan - > getVarSetBy ( fn - > inVariable ( ) - > id ) ; <nl> + auto setter = _plan - > getVarSetBy ( fn - > inVariable ( ) - > id ) ; <nl> if ( setter ! = nullptr & & setter - > getType ( ) = = EN : : CALCULATION ) { <nl> auto cn = ExecutionNode : : castTo < CalculationNode * > ( setter ) ; <nl> auto expression = cn - > expression ( ) ; <nl> class PropagateConstantAttributesHelper { <nl> void insertConstantAttribute ( AstNode * parentNode , size_t accessIndex ) { <nl> Variable const * variable = nullptr ; <nl> std : : string name ; <nl> + <nl> + AstNode * member = parentNode - > getMember ( accessIndex ) ; <nl> <nl> - if ( ! getAttribute ( parentNode - > getMember ( accessIndex ) , variable , name ) ) { <nl> + if ( ! getAttribute ( member , variable , name ) ) { <nl> return ; <nl> } <nl> <nl> auto constantValue = getConstant ( variable , name ) ; <nl> <nl> if ( constantValue ! = nullptr ) { <nl> + / / first check if we would optimize away a join condition that uses a smartJoinAttribute . . . <nl> + / / we must not do that , because that would otherwise disable smart join functionality <nl> + if ( arangodb : : ServerState : : instance ( ) - > isCoordinator ( ) & & <nl> + parentNode - > type = = NODE_TYPE_OPERATOR_BINARY_EQ ) { <nl> + AstNode const * current = parentNode - > getMember ( accessIndex = = 0 ? 1 : 0 ) ; <nl> + if ( current - > type = = NODE_TYPE_ATTRIBUTE_ACCESS ) { <nl> + AstNode const * nameAttribute = current ; <nl> + current = current - > getMember ( 0 ) ; <nl> + if ( current - > type = = NODE_TYPE_REFERENCE ) { <nl> + auto setter = _plan - > getVarSetBy ( static_cast < Variable const * > ( current - > getData ( ) ) - > id ) ; <nl> + if ( setter ! = nullptr & & <nl> + ( setter - > getType ( ) = = EN : : ENUMERATE_COLLECTION | | setter - > getType ( ) = = EN : : INDEX ) ) { <nl> + auto collection = : : getCollection ( setter ) ; <nl> + if ( collection ! = nullptr ) { <nl> + auto logical = collection - > getCollection ( ) ; <nl> + if ( logical - > hasSmartJoinAttribute ( ) & & <nl> + logical - > smartJoinAttribute ( ) = = nameAttribute - > getString ( ) ) { <nl> + / / don ' t remove a smart join attribute access ! <nl> + return ; <nl> + } else { <nl> + std : : vector < std : : string > const & shardKeys = logical - > shardKeys ( ) ; <nl> + if ( std : : find ( shardKeys . begin ( ) , shardKeys . end ( ) , nameAttribute - > getString ( ) ) ! = shardKeys . end ( ) ) { <nl> + / / don ' t remove equality lookups on shard keys , as this may prevent <nl> + / / the restrict - to - single - shard rule from being applied later ! <nl> + return ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + } <nl> + } <nl> + } <nl> + <nl> parentNode - > changeMember ( accessIndex , const_cast < AstNode * > ( constantValue ) ) ; <nl> _modified = true ; <nl> } <nl> } <nl> <nl> + ExecutionPlan * _plan ; <nl> std : : unordered_map < Variable const * , std : : unordered_map < std : : string , AstNode const * > > _constants ; <nl> - <nl> bool _modified ; <nl> } ; <nl> <nl> class PropagateConstantAttributesHelper { <nl> void arangodb : : aql : : propagateConstantAttributesRule ( Optimizer * opt , <nl> std : : unique_ptr < ExecutionPlan > plan , <nl> OptimizerRule const * rule ) { <nl> - PropagateConstantAttributesHelper helper ; <nl> - helper . propagateConstants ( plan . get ( ) ) ; <nl> + PropagateConstantAttributesHelper helper ( plan . get ( ) ) ; <nl> + helper . propagateConstants ( ) ; <nl> <nl> opt - > addPlan ( std : : move ( plan ) , rule , helper . modified ( ) ) ; <nl> } <nl> void arangodb : : aql : : optimizeClusterSingleShardRule ( Optimizer * opt , <nl> <nl> if ( ! nodes . empty ( ) & & ! hasIncompatibleNodes ) { <nl> / / turn off all other cluster optimization rules now as they are superfluous <nl> - opt - > disableRule ( OptimizerRule : : optimizeClusterJoinsRule ) ; <nl> + / / opt - > disableRule ( OptimizerRule : : optimizeClusterJoinsRule ) ; <nl> opt - > disableRule ( OptimizerRule : : distributeInClusterRule ) ; <nl> opt - > disableRule ( OptimizerRule : : scatterInClusterRule ) ; <nl> opt - > disableRule ( OptimizerRule : : distributeFilternCalcToClusterRule ) ; <nl> void arangodb : : aql : : optimizeClusterSingleShardRule ( Optimizer * opt , <nl> opt - > addPlan ( std : : move ( plan ) , rule , wasModified ) ; <nl> } <nl> <nl> - void arangodb : : aql : : optimizeClusterJoinsRule ( Optimizer * opt , <nl> - std : : unique_ptr < ExecutionPlan > plan , <nl> - OptimizerRule const * rule ) { <nl> - TRI_ASSERT ( arangodb : : ServerState : : instance ( ) - > isCoordinator ( ) ) ; <nl> - bool wasModified = false ; <nl> - <nl> - SmallVector < ExecutionNode * > : : allocator_type : : arena_type s ; <nl> - SmallVector < ExecutionNode * > nodes { s } ; <nl> - std : : vector < ExecutionNode : : NodeType > const types = { ExecutionNode : : ENUMERATE_COLLECTION , <nl> - ExecutionNode : : INDEX } ; <nl> - plan - > findNodesOfType ( nodes , types , true ) ; <nl> - <nl> - for ( auto & n : nodes ) { <nl> - ExecutionNode * current = n - > getFirstDependency ( ) ; <nl> - while ( current ! = nullptr ) { <nl> - if ( current - > getType ( ) = = ExecutionNode : : ENUMERATE_COLLECTION | | <nl> - current - > getType ( ) = = ExecutionNode : : INDEX ) { <nl> - Collection const * c1 = : : getCollection ( n ) ; <nl> - Collection const * c2 = : : getCollection ( current ) ; <nl> - <nl> - bool qualifies = false ; <nl> - <nl> - / / check how many ( different ) responsible servers we have for this <nl> - / / collection <nl> - std : : unordered_set < std : : string > responsibleServers ; <nl> - size_t n1 = c1 - > responsibleServers ( responsibleServers ) ; <nl> - size_t n2 = c2 - > responsibleServers ( responsibleServers ) ; <nl> - <nl> - if ( responsibleServers . size ( ) = = 1 & & c1 - > numberOfShards ( ) = = 1 & & <nl> - c2 - > numberOfShards ( ) = = 1 ) { <nl> - / / a single responsible server . so we can use a shard - local access <nl> - qualifies = true ; <nl> - } else if ( ( c1 - > isSatellite ( ) & & ( c2 - > numberOfShards ( ) = = 1 | | n2 = = 1 ) ) | | <nl> - ( c2 - > isSatellite ( ) & & ( c1 - > numberOfShards ( ) = = 1 | | n1 = = 1 ) ) ) { <nl> - / / a satellite collection and another collection with a single shard <nl> - / / or single responsible server <nl> - qualifies = true ; <nl> - } <nl> - <nl> - if ( ! qualifies & & n - > getType ( ) = = EN : : INDEX ) { <nl> - Variable const * indexVariable = : : getOutVariable ( n ) ; <nl> - Variable const * otherVariable = : : getOutVariable ( current ) ; <nl> - <nl> - std : : string dist1 = c1 - > distributeShardsLike ( ) ; <nl> - std : : string dist2 = c2 - > distributeShardsLike ( ) ; <nl> - <nl> - / / convert cluster collection names into proper collection names <nl> - if ( ! dist1 . empty ( ) ) { <nl> - auto trx = plan - > getAst ( ) - > query ( ) - > trx ( ) ; <nl> - dist1 = trx - > resolver ( ) - > getCollectionNameCluster ( <nl> - static_cast < TRI_voc_cid_t > ( basics : : StringUtils : : uint64 ( dist1 ) ) ) ; <nl> - } <nl> - if ( ! dist2 . empty ( ) ) { <nl> - auto trx = plan - > getAst ( ) - > query ( ) - > trx ( ) ; <nl> - dist2 = trx - > resolver ( ) - > getCollectionNameCluster ( <nl> - static_cast < TRI_voc_cid_t > ( basics : : StringUtils : : uint64 ( dist2 ) ) ) ; <nl> - } <nl> - <nl> - if ( dist1 = = c2 - > name ( ) | | dist2 = = c1 - > name ( ) | | <nl> - ( ! dist1 . empty ( ) & & dist1 = = dist2 ) ) { <nl> - / / collections have the same " distributeShardsLike " values <nl> - / / so their shards are distributed to the same servers for the <nl> - / / same shardKey values <nl> - / / now check if the number of shardKeys match <nl> - auto keys1 = c1 - > shardKeys ( ) ; <nl> - auto keys2 = c2 - > shardKeys ( ) ; <nl> - <nl> - if ( keys1 . size ( ) = = keys2 . size ( ) ) { <nl> - / / same number of shard keys . . . now check if the shard keys are <nl> - / / all used and whether we only have equality joins <nl> - Condition const * condition = <nl> - ExecutionNode : : castTo < IndexNode const * > ( n ) - > condition ( ) ; <nl> - <nl> - if ( condition ! = nullptr ) { <nl> - AstNode const * root = condition - > root ( ) ; <nl> - <nl> - if ( root ! = nullptr & & root - > type = = NODE_TYPE_OPERATOR_NARY_OR ) { <nl> - size_t found = 0 ; <nl> - size_t numAnds = root - > numMembers ( ) ; <nl> - <nl> - for ( size_t i = 0 ; i < numAnds ; + + i ) { <nl> - AstNode const * andNode = root - > getMember ( i ) ; <nl> - <nl> - if ( andNode = = nullptr ) { <nl> - continue ; <nl> - } <nl> - <nl> - TRI_ASSERT ( andNode - > type = = NODE_TYPE_OPERATOR_NARY_AND ) ; <nl> - <nl> - std : : unordered_set < int > shardKeysFound ; <nl> - size_t numConds = andNode - > numMembers ( ) ; <nl> - <nl> - if ( numConds < keys1 . size ( ) ) { <nl> - / / too few join conditions , so we will definitely not <nl> - / / cover all shardKeys <nl> - break ; <nl> - } <nl> - <nl> - for ( size_t j = 0 ; j < numConds ; + + j ) { <nl> - AstNode const * condNode = andNode - > getMember ( j ) ; <nl> - <nl> - if ( condNode = = nullptr | | condNode - > type ! = NODE_TYPE_OPERATOR_BINARY_EQ ) { <nl> - / / something other than an equality join . we do not <nl> - / / support this <nl> - continue ; <nl> - } <nl> - <nl> - / / equality comparison <nl> - / / now check if this comparison has the pattern <nl> - / / < variable from collection1 > . < attribute from <nl> - / / collection1 > = = <nl> - / / < variable from collection2 > . < attribute from <nl> - / / collection2 > <nl> - <nl> - auto const * lhs = condNode - > getMember ( 0 ) ; <nl> - auto const * rhs = condNode - > getMember ( 1 ) ; <nl> - <nl> - if ( lhs - > type ! = NODE_TYPE_ATTRIBUTE_ACCESS | | <nl> - rhs - > type ! = NODE_TYPE_ATTRIBUTE_ACCESS ) { <nl> - / / something else <nl> - continue ; <nl> - } <nl> - <nl> - AstNode const * lhsData = lhs - > getMember ( 0 ) ; <nl> - AstNode const * rhsData = rhs - > getMember ( 0 ) ; <nl> - <nl> - if ( lhsData - > type ! = NODE_TYPE_REFERENCE | | <nl> - rhsData - > type ! = NODE_TYPE_REFERENCE ) { <nl> - / / something else <nl> - continue ; <nl> - } <nl> - <nl> - Variable const * lhsVar = <nl> - static_cast < Variable const * > ( lhsData - > getData ( ) ) ; <nl> - Variable const * rhsVar = <nl> - static_cast < Variable const * > ( rhsData - > getData ( ) ) ; <nl> - <nl> - std : : string leftString = lhs - > getString ( ) ; <nl> - std : : string rightString = rhs - > getString ( ) ; <nl> - <nl> - int pos = - 1 ; <nl> - if ( lhsVar = = indexVariable & & rhsVar = = otherVariable & & <nl> - indexOf ( keys1 , leftString ) = = indexOf ( keys2 , rightString ) ) { <nl> - pos = indexOf ( keys1 , leftString ) ; <nl> - / / indexedCollection . shardKeyAttribute = = <nl> - / / otherCollection . shardKeyAttribute <nl> - } else if ( lhsVar = = otherVariable & & rhsVar = = indexVariable & & <nl> - indexOf ( keys2 , leftString ) = = indexOf ( keys1 , rightString ) ) { <nl> - / / otherCollection . shardKeyAttribute = = <nl> - / / indexedCollection . shardKeyAttribute <nl> - pos = indexOf ( keys2 , leftString ) ; <nl> - } <nl> - <nl> - / / we found a shardKeys match <nl> - if ( pos ! = - 1 ) { <nl> - shardKeysFound . emplace ( pos ) ; <nl> - } <nl> - } <nl> - <nl> - / / conditions match <nl> - if ( shardKeysFound . size ( ) > = keys1 . size ( ) ) { <nl> - / / all shard keys covered <nl> - + + found ; <nl> - } else { <nl> - / / not all shard keys covered <nl> - break ; <nl> - } <nl> - } <nl> - <nl> - qualifies = ( found > 0 & & found = = numAnds ) ; <nl> - } <nl> - } <nl> - } <nl> - } <nl> - } <nl> - / / everything else does not qualify <nl> - <nl> - if ( qualifies ) { <nl> - wasModified = true ; <nl> - <nl> - plan - > excludeFromScatterGather ( current ) ; <nl> - break ; / / done for this pair <nl> - } <nl> - <nl> - } else if ( current - > getType ( ) ! = ExecutionNode : : FILTER & & <nl> - current - > getType ( ) ! = ExecutionNode : : CALCULATION & & <nl> - current - > getType ( ) ! = ExecutionNode : : LIMIT ) { <nl> - / / we allow just these nodes in between and ignore them <nl> - / / we need to stop for all other types of nodes <nl> - break ; <nl> - } <nl> - <nl> - current = current - > getFirstDependency ( ) ; <nl> - } <nl> - } <nl> - <nl> - opt - > addPlan ( std : : move ( plan ) , rule , wasModified ) ; <nl> - } <nl> - <nl> / / / @ brief scatter operations in cluster <nl> / / / this rule inserts scatter , gather and remote nodes so operations on sharded <nl> / / / collections actually work <nl> void arangodb : : aql : : restrictToSingleShardRule ( Optimizer * opt , <nl> <nl> arangodb : : HashSet < ExecutionNode * > toUnlink ; <nl> std : : map < Collection const * , std : : unordered_set < std : : string > > modificationRestrictions ; <nl> + <nl> + / / forward a shard key restriction from one collection to the other if the two collections <nl> + / / are used in a smart join ( and use distributeShardsLike on each other ) <nl> + auto forwardRestrictionToPrototype = [ & plan ] ( ExecutionNode const * current , std : : string const & shardId ) { <nl> + auto collectionNode = dynamic_cast < CollectionAccessingNode const * > ( current ) ; <nl> + auto prototypeOutVariable = collectionNode - > prototypeOutVariable ( ) ; <nl> + <nl> + if ( prototypeOutVariable = = nullptr ) { <nl> + return ; <nl> + } <nl> + <nl> + auto setter = plan - > getVarSetBy ( prototypeOutVariable - > id ) ; <nl> + if ( setter = = nullptr | | <nl> + ( setter - > getType ( ) ! = EN : : INDEX & & setter - > getType ( ) ! = EN : : ENUMERATE_COLLECTION ) ) { <nl> + return ; <nl> + } <nl> + <nl> + auto s1 = : : getCollection ( current ) - > shardIds ( ) ; <nl> + auto s2 = : : getCollection ( setter ) - > shardIds ( ) ; <nl> + <nl> + if ( s1 - > size ( ) ! = s2 - > size ( ) ) { <nl> + / / different number of shard ids . . . should not happen if we have a prototype <nl> + return ; <nl> + } <nl> + <nl> + / / find matching shard key <nl> + for ( size_t i = 0 ; i < s1 - > size ( ) ; + + i ) { <nl> + if ( ( * s1 ) [ i ] = = shardId ) { <nl> + : : restrictToShard ( setter , ( * s2 ) [ i ] ) ; <nl> + break ; <nl> + } <nl> + } <nl> + } ; <nl> <nl> for ( auto & node : nodes ) { <nl> TRI_ASSERT ( node - > getType ( ) = = ExecutionNode : : REMOTE ) ; <nl> void arangodb : : aql : : restrictToSingleShardRule ( Optimizer * opt , <nl> if ( finder . isSafeForOptimization ( collectionVariable ) & & ! shardId . empty ( ) ) { <nl> wasModified = true ; <nl> : : restrictToShard ( current , shardId ) ; <nl> + forwardRestrictionToPrototype ( current , shardId ) ; <nl> } else if ( finder . isSafeForOptimization ( collection ) ) { <nl> auto & shards = modificationRestrictions [ collection ] ; <nl> if ( shards . size ( ) = = 1 ) { <nl> wasModified = true ; <nl> shardId = * shards . begin ( ) ; <nl> : : restrictToShard ( current , shardId ) ; <nl> + forwardRestrictionToPrototype ( current , shardId ) ; <nl> } <nl> } <nl> } else if ( currentType = = ExecutionNode : : UPSERT | | currentType = = ExecutionNode : : REMOTE | | <nl> mmm a / arangod / Aql / OptimizerRules . h <nl> ppp b / arangod / Aql / OptimizerRules . h <nl> void substituteClusterSingleDocumentOperations ( Optimizer * opt , <nl> void optimizeClusterSingleShardRule ( Optimizer * , std : : unique_ptr < ExecutionPlan > , <nl> OptimizerRule const * ) ; <nl> <nl> - / / / @ brief try to find candidates for shard - local joins in the cluster <nl> - void optimizeClusterJoinsRule ( Optimizer * , std : : unique_ptr < ExecutionPlan > , <nl> - OptimizerRule const * ) ; <nl> - <nl> / / / @ brief scatter operations in cluster - send all incoming rows to all remote <nl> / / / clients <nl> void scatterInClusterRule ( Optimizer * , std : : unique_ptr < ExecutionPlan > , OptimizerRule const * ) ; <nl> ExecutionNode * distributeInClusterRuleSmartEdgeCollection ( ExecutionPlan * , Subque <nl> / / / @ brief remove scatter / gather and remote nodes for satellite collections <nl> void removeSatelliteJoinsRule ( Optimizer * , std : : unique_ptr < ExecutionPlan > , <nl> OptimizerRule const * ) ; <nl> + <nl> + void smartJoinsRule ( Optimizer * , std : : unique_ptr < ExecutionPlan > , <nl> + OptimizerRule const * ) ; <nl> # endif <nl> <nl> / / / @ brief try to restrict fragments to a single shard if possible <nl> mmm a / arangod / Aql / OptimizerRulesFeature . cpp <nl> ppp b / arangod / Aql / OptimizerRulesFeature . cpp <nl> void OptimizerRulesFeature : : addRules ( ) { <nl> # if 0 <nl> registerRule ( " optimize - cluster - single - shard " , optimizeClusterSingleShardRule , <nl> OptimizerRule : : optimizeClusterSingleShardRule , DoesNotCreateAdditionalPlans , CanBeDisabled ) ; <nl> - <nl> - registerRule ( " optimize - cluster - joins " , optimizeClusterJoinsRule , <nl> - OptimizerRule : : optimizeClusterJoinsRule , DoesNotCreateAdditionalPlans , CanBeDisabled ) ; <nl> # endif <nl> <nl> / / distribute operations in cluster <nl> void OptimizerRulesFeature : : addRules ( ) { <nl> registerRule ( " remove - satellite - joins " , removeSatelliteJoinsRule , <nl> OptimizerRule : : removeSatelliteJoinsRule , <nl> DoesNotCreateAdditionalPlans , CanBeDisabled ) ; <nl> + <nl> + registerRule ( " smart - joins " , smartJoinsRule , <nl> + OptimizerRule : : smartJoinsRule , <nl> + DoesNotCreateAdditionalPlans , CanBeDisabled ) ; <nl> # endif <nl> <nl> # ifdef USE_IRESEARCH <nl> mmm a / arangod / Cluster / ClusterMethods . cpp <nl> ppp b / arangod / Cluster / ClusterMethods . cpp <nl> static int distributeBabyOnShards ( <nl> shardID = shards - > at ( 0 ) ; <nl> userSpecifiedKey = true ; <nl> } else { <nl> + <nl> + int r = transaction : : Methods : : validateSmartJoinAttribute ( * ( collinfo . get ( ) ) , value ) ; <nl> + <nl> + if ( r ! = TRI_ERROR_NO_ERROR ) { <nl> + return r ; <nl> + } <nl> + <nl> / / Sort out the _key attribute : <nl> / / The user is allowed to specify _key , provided that _key is the one <nl> / / and only sharding attribute , because in this case we can delegate <nl> bool shardKeysChanged ( LogicalCollection const & collection , VPackSlice const & old <nl> return true ; <nl> } <nl> } <nl> - <nl> + <nl> return false ; <nl> } <nl> <nl> + bool smartJoinAttributeChanged ( LogicalCollection const & collection , <nl> + VPackSlice const & oldValue , <nl> + VPackSlice const & newValue , bool isPatch ) { <nl> + if ( ! collection . hasSmartJoinAttribute ( ) ) { <nl> + return false ; <nl> + } <nl> + if ( ! oldValue . isObject ( ) | | ! newValue . isObject ( ) ) { <nl> + / / expecting two objects . everything else is an error <nl> + return true ; <nl> + } <nl> + <nl> + std : : string const & s = collection . smartJoinAttribute ( ) ; <nl> + <nl> + VPackSlice n = newValue . get ( s ) ; <nl> + if ( ! n . isString ( ) ) { <nl> + if ( isPatch & & n . isNone ( ) ) { <nl> + / / attribute not set in patch document . this means no update <nl> + return false ; <nl> + } <nl> + <nl> + / / no string value . . . invalid ! <nl> + return true ; <nl> + } <nl> + <nl> + VPackSlice o = oldValue . get ( s ) ; <nl> + TRI_ASSERT ( o . isString ( ) ) ; <nl> + <nl> + return ( arangodb : : basics : : VelocyPackHelper : : compare ( n , o , false ) ! = 0 ) ; <nl> + } <nl> + <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief returns revision for a sharded collection <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / arangod / Cluster / ClusterMethods . h <nl> ppp b / arangod / Cluster / ClusterMethods . h <nl> std : : unordered_map < std : : string , std : : string > getForwardableRequestHeaders ( Genera <nl> bool shardKeysChanged ( LogicalCollection const & collection , VPackSlice const & oldValue , <nl> VPackSlice const & newValue , bool isPatch ) ; <nl> <nl> + / / / @ brief check if the value of the smartJoinAttribute has changed <nl> + bool smartJoinAttributeChanged ( LogicalCollection const & collection , <nl> + VPackSlice const & oldValue , <nl> + VPackSlice const & newValue , bool isPatch ) ; <nl> + <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / / @ brief returns revision for a sharded collection <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / arangod / Cluster / DBServerAgencySync . cpp <nl> ppp b / arangod / Cluster / DBServerAgencySync . cpp <nl> DBServerAgencySyncResult DBServerAgencySync : : execute ( ) { <nl> LOG_TOPIC ( INFO , Logger : : MAINTENANCE ) <nl> < < " Error reporting to agency : _statusCode : " < < r . errorCode ( ) <nl> < < " message : " < < r . errorMessage ( ) <nl> - < < " . This can be ignored , since it will be retried automaticlly . " ; <nl> + < < " . This can be ignored , since it will be retried automatically . " ; <nl> } else { <nl> LOG_TOPIC ( DEBUG , Logger : : MAINTENANCE ) <nl> < < " Invalidating current in ClusterInfo " ; <nl> mmm a / arangod / MMFiles / MMFilesCollection . cpp <nl> ppp b / arangod / MMFiles / MMFilesCollection . cpp <nl> Result MMFilesCollection : : update ( arangodb : : transaction : : Methods * trx , <nl> <nl> if ( _isDBServer ) { <nl> / / Need to check that no sharding keys have changed : <nl> - if ( arangodb : : shardKeysChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , false ) ) { <nl> + if ( arangodb : : shardKeysChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , true ) ) { <nl> return Result ( TRI_ERROR_CLUSTER_MUST_NOT_CHANGE_SHARDING_ATTRIBUTES ) ; <nl> } <nl> + if ( arangodb : : smartJoinAttributeChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , true ) ) { <nl> + return Result ( TRI_ERROR_CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE ) ; <nl> + } <nl> } <nl> } else { <nl> revisionId = TRI_ExtractRevisionId ( VPackSlice ( <nl> Result MMFilesCollection : : replace ( transaction : : Methods * trx , VPackSlice const ne <nl> if ( arangodb : : shardKeysChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , false ) ) { <nl> return Result ( TRI_ERROR_CLUSTER_MUST_NOT_CHANGE_SHARDING_ATTRIBUTES ) ; <nl> } <nl> + if ( arangodb : : smartJoinAttributeChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , false ) ) { <nl> + return Result ( TRI_ERROR_CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE ) ; <nl> + } <nl> } <nl> } <nl> <nl> mmm a / arangod / RestHandler / RestCollectionHandler . cpp <nl> ppp b / arangod / RestHandler / RestCollectionHandler . cpp <nl> void RestCollectionHandler : : handleCommandPost ( ) { <nl> " indexBuckets " , " keyOptions " , StaticStrings : : WaitForSyncString , <nl> " cacheEnabled " , StaticStrings : : ShardKeys , StaticStrings : : NumberOfShards , <nl> StaticStrings : : DistributeShardsLike , " avoidServers " , StaticStrings : : IsSmart , <nl> - " shardingStrategy " , StaticStrings : : GraphSmartGraphAttribute , <nl> - StaticStrings : : ReplicationFactor , " servers " } ) ; <nl> + " shardingStrategy " , StaticStrings : : GraphSmartGraphAttribute , <nl> + StaticStrings : : SmartJoinAttribute , StaticStrings : : ReplicationFactor , <nl> + " servers " } ) ; <nl> VPackSlice const parameters = filtered . slice ( ) ; <nl> <nl> / / now we can create the collection <nl> mmm a / arangod / RestServer / QueryRegistryFeature . cpp <nl> ppp b / arangod / RestServer / QueryRegistryFeature . cpp <nl> QueryRegistryFeature : : QueryRegistryFeature ( application_features : : ApplicationServ <nl> _trackSlowQueries ( true ) , <nl> _trackBindVars ( true ) , <nl> _failOnWarning ( false ) , <nl> + _smartJoins ( true ) , <nl> _queryMemoryLimit ( 0 ) , <nl> _maxQueryPlans ( 128 ) , <nl> _slowQueryThreshold ( 10 . 0 ) , <nl> void QueryRegistryFeature : : collectOptions ( std : : shared_ptr < ProgramOptions > option <nl> " single - server instances or 600 for cluster instances " , <nl> new DoubleParameter ( & _queryRegistryTTL ) , <nl> arangodb : : options : : makeFlags ( arangodb : : options : : Flags : : Hidden ) ) ; <nl> + <nl> + options - > addOption ( " - - query . smart - joins " , <nl> + " enable smart joins query optimization " , <nl> + new BooleanParameter ( & _smartJoins ) , <nl> + arangodb : : options : : makeFlags ( arangodb : : options : : Flags : : Hidden , arangodb : : options : : Flags : : Enterprise ) ) <nl> + . setIntroducedIn ( 30405 ) . setIntroducedIn ( 30500 ) ; <nl> } <nl> <nl> void QueryRegistryFeature : : validateOptions ( std : : shared_ptr < ProgramOptions > options ) { <nl> mmm a / arangod / RestServer / QueryRegistryFeature . h <nl> ppp b / arangod / RestServer / QueryRegistryFeature . h <nl> class QueryRegistryFeature final : public application_features : : ApplicationFeatu <nl> return _slowStreamingQueryThreshold ; <nl> } <nl> bool failOnWarning ( ) const { return _failOnWarning ; } <nl> + bool smartJoins ( ) const { return _smartJoins ; } <nl> uint64_t queryMemoryLimit ( ) const { return _queryMemoryLimit ; } <nl> uint64_t maxQueryPlans ( ) const { return _maxQueryPlans ; } <nl> <nl> class QueryRegistryFeature final : public application_features : : ApplicationFeatu <nl> bool _trackSlowQueries ; <nl> bool _trackBindVars ; <nl> bool _failOnWarning ; <nl> + bool _smartJoins ; <nl> uint64_t _queryMemoryLimit ; <nl> uint64_t _maxQueryPlans ; <nl> double _slowQueryThreshold ; <nl> mmm a / arangod / RocksDBEngine / RocksDBCollection . cpp <nl> ppp b / arangod / RocksDBEngine / RocksDBCollection . cpp <nl> Result RocksDBCollection : : update ( arangodb : : transaction : : Methods * trx , <nl> <nl> if ( _isDBServer ) { <nl> / / Need to check that no sharding keys have changed : <nl> - if ( arangodb : : shardKeysChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , false ) ) { <nl> + if ( arangodb : : shardKeysChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , true ) ) { <nl> return res . reset ( TRI_ERROR_CLUSTER_MUST_NOT_CHANGE_SHARDING_ATTRIBUTES ) ; <nl> } <nl> + if ( arangodb : : smartJoinAttributeChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , true ) ) { <nl> + return Result ( TRI_ERROR_CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE ) ; <nl> + } <nl> } <nl> <nl> VPackSlice const newDoc ( builder - > slice ( ) ) ; <nl> Result RocksDBCollection : : replace ( transaction : : Methods * trx , <nl> if ( arangodb : : shardKeysChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , false ) ) { <nl> return res . reset ( TRI_ERROR_CLUSTER_MUST_NOT_CHANGE_SHARDING_ATTRIBUTES ) ; <nl> } <nl> + if ( arangodb : : smartJoinAttributeChanged ( _logicalCollection , oldDoc , builder - > slice ( ) , false ) ) { <nl> + return Result ( TRI_ERROR_CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE ) ; <nl> + } <nl> } <nl> <nl> VPackSlice const newDoc ( builder - > slice ( ) ) ; <nl> mmm a / arangod / Transaction / Methods . cpp <nl> ppp b / arangod / Transaction / Methods . cpp <nl> OperationResult transaction : : Methods : : insertLocal ( std : : string const & collectionN <nl> return Result ( TRI_ERROR_ARANGO_DOCUMENT_TYPE_INVALID ) ; <nl> } <nl> <nl> + int r = validateSmartJoinAttribute ( * collection , value ) ; <nl> + <nl> + if ( r ! = TRI_ERROR_NO_ERROR ) { <nl> + return Result ( r ) ; <nl> + } <nl> + <nl> TRI_voc_tick_t resultMarkerTick = 0 ; <nl> TRI_voc_rid_t revisionId = 0 ; <nl> documentResult . clear ( ) ; <nl> Result Methods : : replicateOperations ( LogicalCollection const & collection , <nl> <nl> return res ; <nl> } <nl> + <nl> + # ifndef USE_ENTERPRISE <nl> + / * static * / int Methods : : validateSmartJoinAttribute ( LogicalCollection const & , <nl> + arangodb : : velocypack : : Slice ) { <nl> + return TRI_ERROR_NO_ERROR ; <nl> + } <nl> + # endif <nl> mmm a / arangod / Transaction / Methods . h <nl> ppp b / arangod / Transaction / Methods . h <nl> class Methods { <nl> } <nl> # endif <nl> <nl> + static int validateSmartJoinAttribute ( LogicalCollection const & collinfo , <nl> + arangodb : : velocypack : : Slice value ) ; <nl> + <nl> private : <nl> / / / @ brief build a VPack object with _id , _key and _rev and possibly <nl> / / / oldRef ( if given ) , the result is added to the builder in the <nl> mmm a / arangod / VocBase / LogicalCollection . cpp <nl> ppp b / arangod / VocBase / LogicalCollection . cpp <nl> LogicalCollection : : LogicalCollection ( TRI_vocbase_t & vocbase , VPackSlice const & i <nl> _isSmart ( Helper : : readBooleanValue ( info , StaticStrings : : IsSmart , false ) ) , <nl> _waitForSync ( Helper : : readBooleanValue ( info , StaticStrings : : WaitForSyncString , false ) ) , <nl> _allowUserKeys ( Helper : : readBooleanValue ( info , " allowUserKeys " , true ) ) , <nl> - _keyOptions ( nullptr ) , <nl> - _keyGenerator ( ) , <nl> - _physical ( EngineSelectorFeature : : ENGINE - > createPhysicalCollection ( * this , info ) ) , <nl> - _sharding ( ) { <nl> + # ifdef USE_ENTERPRISE <nl> + _smartJoinAttribute ( : : readStringValue ( info , StaticStrings : : SmartJoinAttribute , " " ) ) , <nl> + # endif <nl> + _physical ( EngineSelectorFeature : : ENGINE - > createPhysicalCollection ( * this , info ) ) { <nl> TRI_ASSERT ( info . isObject ( ) ) ; <nl> <nl> if ( ! TRI_vocbase_t : : IsAllowedName ( info ) ) { <nl> LogicalCollection : : LogicalCollection ( TRI_vocbase_t & vocbase , VPackSlice const & i <nl> <nl> _sharding = std : : make_unique < ShardingInfo > ( info , this ) ; <nl> <nl> + # ifdef USE_ENTERPRISE <nl> + if ( ServerState : : instance ( ) - > isCoordinator ( ) ) { <nl> + if ( ! info . get ( StaticStrings : : SmartJoinAttribute ) . isNone ( ) & & <nl> + ! hasSmartJoinAttribute ( ) ) { <nl> + THROW_ARANGO_EXCEPTION_MESSAGE ( TRI_ERROR_INVALID_SMART_JOIN_ATTRIBUTE , <nl> + " smartJoinAttribute must contain a string attribute name " ) ; <nl> + } <nl> + <nl> + if ( hasSmartJoinAttribute ( ) ) { <nl> + auto const & sk = _sharding - > shardKeys ( ) ; <nl> + TRI_ASSERT ( ! sk . empty ( ) ) ; <nl> + <nl> + if ( sk . size ( ) ! = 1 ) { <nl> + THROW_ARANGO_EXCEPTION_MESSAGE ( TRI_ERROR_INVALID_SMART_JOIN_ATTRIBUTE , <nl> + " smartJoinAttribute can only be used for collections with a single shardKey value " ) ; <nl> + } <nl> + TRI_ASSERT ( ! sk . front ( ) . empty ( ) ) ; <nl> + if ( sk . front ( ) . back ( ) ! = ' : ' ) { <nl> + THROW_ARANGO_EXCEPTION_MESSAGE ( TRI_ERROR_INVALID_SMART_JOIN_ATTRIBUTE , <nl> + std : : string ( " smartJoinAttribute can only be used for shardKeys ending on ' : ' , got ' " ) + sk . front ( ) + " ' " ) ; <nl> + } <nl> + <nl> + if ( _isSmart ) { <nl> + if ( _type = = TRI_COL_TYPE_EDGE ) { <nl> + THROW_ARANGO_EXCEPTION_MESSAGE ( TRI_ERROR_INVALID_SMART_JOIN_ATTRIBUTE , <nl> + " cannot use smartJoinAttribute on a smart edge collection " ) ; <nl> + } else if ( _type = = TRI_COL_TYPE_DOCUMENT ) { <nl> + VPackSlice sga = info . get ( StaticStrings : : GraphSmartGraphAttribute ) ; <nl> + if ( sga . isString ( ) & & sga . copyString ( ) ! = info . get ( StaticStrings : : SmartJoinAttribute ) . copyString ( ) ) { <nl> + THROW_ARANGO_EXCEPTION_MESSAGE ( TRI_ERROR_INVALID_SMART_JOIN_ATTRIBUTE , <nl> + " smartJoinAttribute must be equal to smartGraphAttribute " ) ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + } <nl> + # else <nl> + / / whatever we got passed in , in a non - enterprise build , we just ignore <nl> + / / any specification for the smartJoinAttribute <nl> + _smartJoinAttribute . clear ( ) ; <nl> + # endif <nl> + <nl> if ( ServerState : : instance ( ) - > isDBServer ( ) | | <nl> ! ServerState : : instance ( ) - > isRunningInCluster ( ) ) { <nl> _followers . reset ( new FollowerInfo ( this ) ) ; <nl> TRI_voc_rid_t LogicalCollection : : revision ( transaction : : Methods * trx ) const { <nl> return _physical - > revision ( trx ) ; <nl> } <nl> <nl> - bool LogicalCollection : : waitForSync ( ) const { return _waitForSync ; } <nl> - <nl> - bool LogicalCollection : : isSmart ( ) const { return _isSmart ; } <nl> - <nl> std : : unique_ptr < FollowerInfo > const & LogicalCollection : : followers ( ) const { <nl> return _followers ; <nl> } <nl> arangodb : : Result LogicalCollection : : appendVelocyPack ( arangodb : : velocypack : : Build <nl> / / Cluster Specific <nl> result . add ( StaticStrings : : IsSmart , VPackValue ( _isSmart ) ) ; <nl> <nl> + if ( hasSmartJoinAttribute ( ) ) { <nl> + result . add ( StaticStrings : : SmartJoinAttribute , VPackValue ( _smartJoinAttribute ) ) ; <nl> + } <nl> + <nl> if ( ! forPersistence ) { <nl> / / with ' forPersistence ' added by LogicalDataSource : : toVelocyPack <nl> / / FIXME TODO is this needed in ! forPersistence ? ? ? <nl> mmm a / arangod / VocBase / LogicalCollection . h <nl> ppp b / arangod / VocBase / LogicalCollection . h <nl> class LogicalCollection : public LogicalDataSource { <nl> <nl> / / SECTION : Properties <nl> TRI_voc_rid_t revision ( transaction : : Methods * ) const ; <nl> - bool waitForSync ( ) const ; <nl> - bool isSmart ( ) const ; <nl> + bool waitForSync ( ) const { return _waitForSync ; } <nl> + void waitForSync ( bool value ) { _waitForSync = value ; } <nl> + bool isSmart ( ) const { return _isSmart ; } <nl> / / / @ brief is this a cluster - wide Plan ( ClusterInfo ) collection <nl> bool isAStub ( ) const { return _isAStub ; } <nl> <nl> - void waitForSync ( bool value ) { _waitForSync = value ; } <nl> + bool hasSmartJoinAttribute ( ) const { return ! smartJoinAttribute ( ) . empty ( ) ; } <nl> + <nl> + / / / @ brief return the name of the smart join attribute ( empty string <nl> + / / / if no smart join attribute is present ) <nl> + std : : string const & smartJoinAttribute ( ) const { return _smartJoinAttribute ; } <nl> <nl> / / SECTION : sharding <nl> ShardingInfo * shardingInfo ( ) const ; <nl> class LogicalCollection : public LogicalDataSource { <nl> <nl> bool const _allowUserKeys ; <nl> <nl> + std : : string _smartJoinAttribute ; <nl> + <nl> / / SECTION : Key Options <nl> <nl> - / / @ brief options for key creation , TODO Really VPack ? <nl> + / / @ brief options for key creation <nl> std : : shared_ptr < velocypack : : Buffer < uint8_t > const > _keyOptions ; <nl> std : : unique_ptr < KeyGenerator > _keyGenerator ; <nl> <nl> mmm a / arangod / VocBase / Methods / Upgrade . cpp <nl> ppp b / arangod / VocBase / Methods / Upgrade . cpp <nl> UpgradeResult methods : : Upgrade : : runTasks ( TRI_vocbase_t & vocbase , VersionResult & <nl> LOG_TOPIC ( ERR , Logger : : STARTUP ) < < msg < < " Aborting procedure . " ; <nl> return UpgradeResult ( TRI_ERROR_INTERNAL , msg , vinfo . status ) ; <nl> } <nl> - } catch ( basics : : Exception const & e ) { <nl> + } catch ( arangodb : : basics : : Exception const & e ) { <nl> LOG_TOPIC ( ERR , Logger : : STARTUP ) <nl> - < < " Executing " < < t . name < < " ( " < < t . description < < " ) failed with " <nl> - < < e . message ( ) < < " . Aborting procedure . " ; <nl> + < < " Executing " < < t . name < < " ( " < < t . description < < " ) failed with error : " <nl> + < < e . what ( ) < < " . Aborting procedure . " ; <nl> return UpgradeResult ( e . code ( ) , e . what ( ) , vinfo . status ) ; <nl> + } catch ( std : : exception const & e ) { <nl> + LOG_TOPIC ( ERR , Logger : : STARTUP ) <nl> + < < " Executing " < < t . name < < " ( " < < t . description < < " ) failed with error : " <nl> + < < e . what ( ) < < " . Aborting procedure . " ; <nl> + return UpgradeResult ( TRI_ERROR_FAILED , e . what ( ) , vinfo . status ) ; <nl> } <nl> <nl> / / remember we already executed this one <nl> mmm a / js / apps / system / _admin / aardvark / APP / frontend / js / collections / arangoCollections . js <nl> ppp b / js / apps / system / _admin / aardvark / APP / frontend / js / collections / arangoCollections . js <nl> <nl> data . shardKeys = object . shardBy ; <nl> } <nl> <nl> + if ( object . smartJoinAttribute & & <nl> + object . smartJoinAttribute ! = = ' ' ) { <nl> + data . smartJoinAttribute = object . smartJoinAttribute ; <nl> + } <nl> + <nl> if ( object . replicationFactor ) { <nl> data . replicationFactor = object . replicationFactor ; <nl> var pattern = new RegExp ( / ^ [ 0 - 9 ] + $ / ) ; <nl> mmm a / js / apps / system / _admin / aardvark / APP / frontend / js / templates / modalCollectionInfo . ejs <nl> ppp b / js / apps / system / _admin / aardvark / APP / frontend / js / templates / modalCollectionInfo . ejs <nl> <nl> < / tr > <nl> < % } % > <nl> <nl> + < % if ( figuresData . smartJoinAttribute ) { % > <nl> + < tr > <nl> + < th class = " collectionInfoTh2 " > Smart join attribute : < / th > <nl> + < th class = " collectionInfoTh " > <nl> + < div class = " modal - text " > < % = figuresData . smartJoinAttribute % > < / div > <nl> + < / th > <nl> + < th class = " collectionInfoTh " > <nl> + < / th > <nl> + < / tr > <nl> + < % } % > <nl> + <nl> < % if ( figuresData . replicationFactor ) { % > <nl> < tr > <nl> < th class = " collectionInfoTh2 " > Replication factor : < / th > <nl> mmm a / js / apps / system / _admin / aardvark / APP / frontend / js / views / collectionsView . js <nl> ppp b / js / apps / system / _admin / aardvark / APP / frontend / js / views / collectionsView . js <nl> <nl> var collSync = $ ( ' # new - collection - sync ' ) . val ( ) ; <nl> var shards = 1 ; <nl> var shardBy = [ ] ; <nl> + var smartJoinAttribute = ' ' ; <nl> <nl> if ( replicationFactor = = = ' ' ) { <nl> replicationFactor = 1 ; <nl> <nl> } <nl> <nl> if ( isCoordinator ) { <nl> + if ( $ ( ' # smart - join - attribute ' ) . val ( ) ! = = ' ' ) { <nl> + smartJoinAttribute = $ ( ' # smart - join - attribute ' ) . val ( ) . trim ( ) ; <nl> + } <nl> + <nl> shards = $ ( ' # new - collection - shards ' ) . val ( ) ; <nl> <nl> if ( shards = = = ' ' ) { <nl> <nl> if ( self . engine . name ! = = ' rocksdb ' ) { <nl> tmpObj . journalSize = collSize ; <nl> } <nl> + if ( smartJoinAttribute ! = = ' ' ) { <nl> + tmpObj . smartJoinAttribute = smartJoinAttribute ; <nl> + } <nl> this . collection . newCollection ( tmpObj , callback ) ; <nl> window . modalView . hide ( ) ; <nl> arangoHelper . arangoNotification ( ' Collection ' , ' Collection " ' + collName + ' " will be created . ' ) ; <nl> <nl> [ { value : false , label : ' No ' } , { value : true , label : ' Yes ' } ] <nl> ) <nl> ) ; <nl> + advancedTableContent . push ( <nl> + window . modalView . createTextEntry ( <nl> + ' smart - join - attribute ' , <nl> + ' Smart join attribute ' , <nl> + ' ' , <nl> + ' String attribute name . Can be left empty if smart joins are not used . ' , <nl> + ' ' , <nl> + false , <nl> + [ <nl> + ] <nl> + ) <nl> + ) ; <nl> } <nl> advancedTableContent . push ( <nl> window . modalView . createTextEntry ( <nl> mmm a / js / client / modules / @ arangodb / arango - collection . js <nl> ppp b / js / client / modules / @ arangodb / arango - collection . js <nl> ArangoCollection . prototype . properties = function ( properties ) { <nl> ' waitForSync ' : true , <nl> ' shardKeys ' : false , <nl> ' smartGraphAttribute ' : false , <nl> + ' smartJoinAttribute ' : false , <nl> ' numberOfShards ' : false , <nl> ' keyOptions ' : false , <nl> ' indexBuckets ' : true , <nl> mmm a / js / client / modules / @ arangodb / arango - database . js <nl> ppp b / js / client / modules / @ arangodb / arango - database . js <nl> ArangoDatabase . prototype . _create = function ( name , properties , type , options ) { <nl> [ ' waitForSync ' , ' journalSize ' , ' isSystem ' , ' isVolatile ' , <nl> ' doCompact ' , ' keyOptions ' , ' shardKeys ' , ' numberOfShards ' , <nl> ' distributeShardsLike ' , ' indexBuckets ' , ' id ' , ' isSmart ' , <nl> - ' replicationFactor ' , ' shardingStrategy ' , ' smartGraphAttribute ' , <nl> - ' avoidServers ' , ' cacheEnabled ' ] . forEach ( function ( p ) { <nl> + ' replicationFactor ' , ' shardingStrategy ' , ' smartGraphAttribute ' , <nl> + ' smartJoinAttribute ' , ' avoidServers ' , ' cacheEnabled ' ] . forEach ( function ( p ) { <nl> if ( properties . hasOwnProperty ( p ) ) { <nl> body [ p ] = properties [ p ] ; <nl> } <nl> mmm a / js / common / bootstrap / errors . js <nl> ppp b / js / common / bootstrap / errors . js <nl> <nl> " ERROR_KEY_MUST_BE_PREFIXED_WITH_SMART_GRAPH_ATTRIBUTE " : { " code " : 4003 , " message " : " in smart vertex collections _key must be prefixed with the value of the smart graph attribute " } , <nl> " ERROR_ILLEGAL_SMART_GRAPH_ATTRIBUTE " : { " code " : 4004 , " message " : " attribute cannot be used as smart graph attribute " } , <nl> " ERROR_SMART_GRAPH_ATTRIBUTE_MISMATCH " : { " code " : 4005 , " message " : " smart graph attribute mismatch " } , <nl> + " ERROR_INVALID_SMART_JOIN_ATTRIBUTE " : { " code " : 4006 , " message " : " invalid smart join attribute declaration " } , <nl> + " ERROR_KEY_MUST_BE_PREFIXED_WITH_SMART_JOIN_ATTRIBUTE " : { " code " : 4007 , " message " : " shard key value must be prefixed with the value of the smart join attribute " } , <nl> + " ERROR_NO_SMART_JOIN_ATTRIBUTE " : { " code " : 4008 , " message " : " smart join attribute not given or invalid " } , <nl> + " ERROR_CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE " : { " code " : 4009 , " message " : " must not change the value of the smartJoinAttribute " } , <nl> " ERROR_CLUSTER_REPAIRS_FAILED " : { " code " : 5000 , " message " : " error during cluster repairs " } , <nl> " ERROR_CLUSTER_REPAIRS_NOT_ENOUGH_HEALTHY " : { " code " : 5001 , " message " : " not enough ( healthy ) db servers " } , <nl> " ERROR_CLUSTER_REPAIRS_REPLICATION_FACTOR_VIOLATED " : { " code " : 5002 , " message " : " replication factor violated during cluster repairs " } , <nl> mmm a / js / common / modules / @ arangodb / aql / explainer . js <nl> ppp b / js / common / modules / @ arangodb / aql / explainer . js <nl> function processQuery ( query , explain , planIndex ) { <nl> case ' RemoteNode ' : <nl> return keyword ( ' REMOTE ' ) ; <nl> case ' DistributeNode ' : <nl> - return keyword ( ' DISTRIBUTE ' ) ; <nl> + return keyword ( ' DISTRIBUTE ' ) + ' ' + annotation ( ' / * create keys : ' + node . createKeys + ' , variable : ' ) + variableName ( node . variable ) + ' ' + annotation ( ' * / ' ) ; <nl> case ' ScatterNode ' : <nl> return keyword ( ' SCATTER ' ) ; <nl> case ' GatherNode ' : <nl> mmm a / lib / Basics / StaticStrings . cpp <nl> ppp b / lib / Basics / StaticStrings . cpp <nl> std : : string const StaticStrings : : IsSmart ( " isSmart " ) ; <nl> std : : string const StaticStrings : : NumberOfShards ( " numberOfShards " ) ; <nl> std : : string const StaticStrings : : ReplicationFactor ( " replicationFactor " ) ; <nl> std : : string const StaticStrings : : ShardKeys ( " shardKeys " ) ; <nl> + std : : string const StaticStrings : : SmartJoinAttribute ( " smartJoinAttribute " ) ; <nl> <nl> / / graph attribute names <nl> std : : string const StaticStrings : : GraphCollection ( " _graphs " ) ; <nl> mmm a / lib / Basics / StaticStrings . h <nl> ppp b / lib / Basics / StaticStrings . h <nl> class StaticStrings { <nl> static std : : string const DistributeShardsLike ; <nl> static std : : string const ReplicationFactor ; <nl> static std : : string const ShardKeys ; <nl> + static std : : string const SmartJoinAttribute ; <nl> <nl> / / graph attribute names <nl> static std : : string const GraphCollection ; <nl> mmm a / lib / Basics / errors . dat <nl> ppp b / lib / Basics / errors . dat <nl> ERROR_CANNOT_DROP_SMART_COLLECTION , 4002 , " cannot drop this smart collection " , " Thi <nl> ERROR_KEY_MUST_BE_PREFIXED_WITH_SMART_GRAPH_ATTRIBUTE , 4003 , " in smart vertex collections _key must be prefixed with the value of the smart graph attribute " , " In a smart vertex collection _key must be prefixed with the value of the smart graph attribute . " <nl> ERROR_ILLEGAL_SMART_GRAPH_ATTRIBUTE , 4004 , " attribute cannot be used as smart graph attribute " , " The given smartGraph attribute is illegal and connot be used for sharding . All system attributes are forbidden . " <nl> ERROR_SMART_GRAPH_ATTRIBUTE_MISMATCH , 4005 , " smart graph attribute mismatch " , " The smart graph attribute of the given collection does not match the smart graph attribute of the graph . " <nl> + ERROR_INVALID_SMART_JOIN_ATTRIBUTE , 4006 , " invalid smart join attribute declaration " , " Will be raised when the smartJoinAttribute declaration is invalid . " <nl> + ERROR_KEY_MUST_BE_PREFIXED_WITH_SMART_JOIN_ATTRIBUTE , 4007 , " shard key value must be prefixed with the value of the smart join attribute " , " when using smartJoinAttribute for a collection , the shard key value must be prefixed with the value of the smart join attribute . " <nl> + ERROR_NO_SMART_JOIN_ATTRIBUTE , 4008 , " smart join attribute not given or invalid " , " The given document does not have the required smart join attribute set or it has an invalid value . " <nl> + ERROR_CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE , 4009 , " must not change the value of the smartJoinAttribute " , " Will be raised if there is an attempt to update the value of the smartJoinAttribute . " <nl> <nl> # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> # # Cluster repair errors <nl> mmm a / lib / Basics / voc - errors . cpp <nl> ppp b / lib / Basics / voc - errors . cpp <nl> void TRI_InitializeErrorMessages ( ) { <nl> REG_ERROR ( ERROR_KEY_MUST_BE_PREFIXED_WITH_SMART_GRAPH_ATTRIBUTE , " in smart vertex collections _key must be prefixed with the value of the smart graph attribute " ) ; <nl> REG_ERROR ( ERROR_ILLEGAL_SMART_GRAPH_ATTRIBUTE , " attribute cannot be used as smart graph attribute " ) ; <nl> REG_ERROR ( ERROR_SMART_GRAPH_ATTRIBUTE_MISMATCH , " smart graph attribute mismatch " ) ; <nl> + REG_ERROR ( ERROR_INVALID_SMART_JOIN_ATTRIBUTE , " invalid smart join attribute declaration " ) ; <nl> + REG_ERROR ( ERROR_KEY_MUST_BE_PREFIXED_WITH_SMART_JOIN_ATTRIBUTE , " shard key value must be prefixed with the value of the smart join attribute " ) ; <nl> + REG_ERROR ( ERROR_NO_SMART_JOIN_ATTRIBUTE , " smart join attribute not given or invalid " ) ; <nl> + REG_ERROR ( ERROR_CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE , " must not change the value of the smartJoinAttribute " ) ; <nl> REG_ERROR ( ERROR_CLUSTER_REPAIRS_FAILED , " error during cluster repairs " ) ; <nl> REG_ERROR ( ERROR_CLUSTER_REPAIRS_NOT_ENOUGH_HEALTHY , " not enough ( healthy ) db servers " ) ; <nl> REG_ERROR ( ERROR_CLUSTER_REPAIRS_REPLICATION_FACTOR_VIOLATED , " replication factor violated during cluster repairs " ) ; <nl> mmm a / lib / Basics / voc - errors . h <nl> ppp b / lib / Basics / voc - errors . h <nl> constexpr int TRI_ERROR_ILLEGAL_SMART_GRAPH_ATTRIBUTE <nl> / / / graph attribute of the graph . <nl> constexpr int TRI_ERROR_SMART_GRAPH_ATTRIBUTE_MISMATCH = 4005 ; <nl> <nl> + / / / 4006 : ERROR_INVALID_SMART_JOIN_ATTRIBUTE <nl> + / / / " invalid smart join attribute declaration " <nl> + / / / Will be raised when the smartJoinAttribute declaration is invalid . <nl> + constexpr int TRI_ERROR_INVALID_SMART_JOIN_ATTRIBUTE = 4006 ; <nl> + <nl> + / / / 4007 : ERROR_KEY_MUST_BE_PREFIXED_WITH_SMART_JOIN_ATTRIBUTE <nl> + / / / " shard key value must be prefixed with the value of the smart join attribute " <nl> + / / / when using smartJoinAttribute for a collection , the shard key value must be <nl> + / / / prefixed with the value of the smart join attribute . <nl> + constexpr int TRI_ERROR_KEY_MUST_BE_PREFIXED_WITH_SMART_JOIN_ATTRIBUTE = 4007 ; <nl> + <nl> + / / / 4008 : ERROR_NO_SMART_JOIN_ATTRIBUTE <nl> + / / / " smart join attribute not given or invalid " <nl> + / / / The given document does not have the required smart join attribute set or <nl> + / / / it has an invalid value . <nl> + constexpr int TRI_ERROR_NO_SMART_JOIN_ATTRIBUTE = 4008 ; <nl> + <nl> + / / / 4009 : ERROR_CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE <nl> + / / / " must not change the value of the smartJoinAttribute " <nl> + / / / Will be raised if there is an attempt to update the value of the <nl> + / / / smartJoinAttribute . <nl> + constexpr int TRI_ERROR_CLUSTER_MUST_NOT_CHANGE_SMART_JOIN_ATTRIBUTE = 4009 ; <nl> + <nl> / / / 5000 : ERROR_CLUSTER_REPAIRS_FAILED <nl> / / / " error during cluster repairs " <nl> / / / General error during cluster repairs <nl> | Feature / ncc1701 ( ) | arangodb/arangodb | 59ad583796a1ed7d981b9503556c12c74f81ecf3 | 2019-03-21T14:05:36Z |
mmm a / skflow / estimators / base . py <nl> ppp b / skflow / estimators / base . py <nl> <nl> except ImportError : <nl> from sklearn . utils . validation import NotFittedError # pylint : disable = ungrouped - imports <nl> <nl> - from skflow . trainer import TensorFlowTrainer <nl> + from skflow . trainer import TensorFlowTrainer , RestoredTrainer <nl> from skflow . io . data_feeder import setup_train_data_feeder <nl> from skflow . io . data_feeder import setup_predict_data_feeder <nl> <nl> def _setup_training ( self ) : <nl> self . _model_predictions , self . _model_loss = self . model_fn ( <nl> self . _inp , self . _out ) <nl> <nl> + # Create summary to monitor loss <nl> + tf . scalar_summary ( " loss " , self . _model_loss ) <nl> + <nl> + # Set up a single operator to merge all the summaries <nl> + self . _summaries = tf . merge_all_summaries ( ) <nl> + <nl> # Create trainer and augment graph with gradients and optimizer . <nl> # Additionally creates initialization ops . <nl> self . _trainer = TensorFlowTrainer ( self . _model_loss , <nl> def _setup_training ( self ) : <nl> <nl> def _setup_summary_writer ( self , logdir ) : <nl> " " " Sets up the summary writer to prepare for later optional visualization . " " " <nl> - with self . _graph . as_default ( ) : <nl> - # Create summary to monitor loss <nl> - tf . scalar_summary ( " loss " , self . _model_loss ) <nl> - # Set up a single operator to merge all the summaries <nl> - self . _summaries = tf . merge_all_summaries ( ) <nl> - # Set up summary writer to the specified log directory <nl> self . _summary_writer = tf . train . SummaryWriter ( <nl> os . path . join ( logdir , datetime . datetime . now ( ) . strftime ( ' % Y - % m - % d_ % H - % M - % S ' ) ) , <nl> graph_def = self . _session . graph_def ) <nl> def fit ( self , X , y , logdir = None ) : <nl> self . _trainer . initialize ( self . _session ) <nl> self . _initialized = True <nl> # Sets up summary writer for later optional visualization <nl> - if logdir : <nl> - self . _setup_summary_writer ( logdir ) <nl> - else : <nl> - self . _summary_writer = None <nl> - self . _summaries = None <nl> + <nl> + if ( logdir and ( not hasattr ( self , " _summary_writer " ) or <nl> + ( hasattr ( self , " _summary_writer " ) and self . _summary_writer is None ) ) ) : <nl> + self . _setup_summary_writer ( logdir ) <nl> + else : <nl> + self . _summary_writer = None <nl> <nl> # Train model for given number of steps . <nl> self . _trainer . train ( self . _session , <nl> def _predict ( self , X ) : <nl> } ) ) <nl> return np . concatenate ( preds , axis = 0 ) <nl> <nl> - def predict ( self , X ) : <nl> + def predict ( self , X , axis = 1 ) : <nl> " " " Predict class or regression for X . <nl> <nl> For a classification model , the predicted class for each sample in X is <nl> def predict ( self , X ) : <nl> pred = self . _predict ( X ) <nl> if self . n_classes < 2 : <nl> return pred <nl> - return pred . argmax ( axis = 1 ) <nl> + return pred . argmax ( axis = axis ) <nl> <nl> def predict_proba ( self , X ) : <nl> " " " Predict class probability of the input samples X . <nl> def save ( self , path ) : <nl> all_params = self . get_params ( ) <nl> params = { } <nl> for key , value in all_params . items ( ) : <nl> - if not callable ( value ) : <nl> + if not callable ( value ) and value is not None : <nl> params [ key ] = value <nl> params [ ' class_name ' ] = type ( self ) . __name__ <nl> fmodel . write ( json . dumps ( params ) ) <nl> def _restore ( self , path ) : <nl> text_format . Merge ( fgraph . read ( ) , graph_def ) <nl> ( self . _inp , self . _out , <nl> self . _model_predictions , self . _model_loss ) = tf . import_graph_def ( <nl> - graph_def , return_elements = endpoints ) <nl> + graph_def , name = ' ' , return_elements = endpoints ) <nl> saver_filename = os . path . join ( path , ' saver . pbtxt ' ) <nl> if not os . path . exists ( saver_filename ) : <nl> raise ValueError ( " Restore folder doesn ' t contain saver defintion . " ) <nl> def _restore ( self , path ) : <nl> from tensorflow . python . training import saver_pb2 <nl> saver_def = saver_pb2 . SaverDef ( ) <nl> text_format . Merge ( fsaver . read ( ) , saver_def ) <nl> - # ? ? ? For some reason the saver def doesn ' t have import / prefix . <nl> - saver_def . filename_tensor_name = ' import / ' + saver_def . filename_tensor_name <nl> - saver_def . restore_op_name = ' import / ' + saver_def . restore_op_name <nl> self . _saver = tf . train . Saver ( saver_def = saver_def ) <nl> + <nl> + # Restore trainer <nl> + self . _global_step = self . _graph . get_tensor_by_name ( ' global_step : 0 ' ) <nl> + trainer_op = self . _graph . get_operation_by_name ( ' train ' ) <nl> + self . _trainer = RestoredTrainer ( <nl> + self . _model_loss , self . _global_step , trainer_op ) <nl> + <nl> + # Restore summaries . <nl> + self . _summaries = self . _graph . get_operation_by_name ( ' MergeSummary / MergeSummary ' ) <nl> + <nl> + # Restore session . <nl> self . _session = tf . Session ( self . tf_master , <nl> config = tf . ConfigProto ( <nl> log_device_placement = self . verbose > 1 , <nl> inter_op_parallelism_threads = self . num_cores , <nl> intra_op_parallelism_threads = self . num_cores ) ) <nl> - self . _graph . get_operation_by_name ( ' import / save / restore_all ' ) <nl> checkpoint_path = tf . train . latest_checkpoint ( path ) <nl> if checkpoint_path is None : <nl> raise ValueError ( " Missing checkpoint files in the % s . Please " <nl> mmm a / skflow / trainer . py <nl> ppp b / skflow / trainer . py <nl> def train ( self , sess , feed_dict_fn , steps , <nl> <nl> losses . append ( loss ) <nl> print_loss_buffer . append ( loss ) <nl> - if summaries and summary_writer : <nl> + if summaries and summary_writer and summ is not None : <nl> summary_writer . add_summary ( summ , global_step ) <nl> if verbose > 0 : <nl> if step % print_steps = = 0 : <nl> _print_report ( print_loss_buffer , global_step ) <nl> print_loss_buffer = [ ] <nl> return losses <nl> + <nl> + <nl> + class RestoredTrainer ( TensorFlowTrainer ) : <nl> + <nl> + def __init__ ( self , loss , global_step , trainer ) : <nl> + self . global_step = global_step <nl> + self . loss = loss <nl> + self . trainer = trainer <nl> + <nl> | Modified trainer and base estimator to be able to train models after restoring . Additionally added axis on which to argmax into predict | tensorflow/tensorflow | 178befcd889f9829025b10108d4063cf4b9699b6 | 2016-01-03T08:47:08Z |
mmm a / platform / android / build . gradle . template <nl> ppp b / platform / android / build . gradle . template <nl> apply plugin : ' com . android . application ' <nl> <nl> allprojects { <nl> repositories { <nl> + jcenter ( ) <nl> mavenCentral ( ) <nl> $ $ GRADLE_REPOSITORY_URLS $ $ <nl> } <nl> | Merge pull request from RameshRavone / patch - 1 | godotengine/godot | fbebd32b5f47b0f8c357bbda3f657c58cdf3e3da | 2017-03-27T06:50:47Z |
mmm a / include / coroutine . h <nl> ppp b / include / coroutine . h <nl> struct CoroutineG <nl> onResume = nullptr ; <nl> onClose = nullptr ; <nl> } <nl> + <nl> + inline size_t count ( ) <nl> + { <nl> + return coroutines . size ( ) ; <nl> + } <nl> } ; <nl> } <nl> <nl> mmm a / src / coroutine / socket . cc <nl> ppp b / src / coroutine / socket . cc <nl> bool Socket : : connect ( const struct sockaddr * addr , socklen_t addrlen ) <nl> errMsg = strerror ( errCode ) ; <nl> return false ; <nl> } <nl> + / / Connection is closed <nl> + if ( _closed ) <nl> + { <nl> + errCode = ECONNABORTED ; <nl> + errMsg = strerror ( errCode ) ; <nl> + return false ; <nl> + } <nl> socklen_t len = sizeof ( errCode ) ; <nl> if ( getsockopt ( socket - > fd , SOL_SOCKET , SO_ERROR , & errCode , & len ) < 0 | | errCode ! = 0 ) <nl> { <nl> bool Socket : : close ( ) <nl> { <nl> return false ; <nl> } <nl> - if ( ! shutdown ( ) ) <nl> + if ( socket - > active & & ! shutdown ( ) ) <nl> { <nl> return false ; <nl> } <nl> + _closed = true ; <nl> + socket - > active = 0 ; <nl> + socket - > closed = 1 ; <nl> if ( read_co ) <nl> { <nl> swReactor_remove_read_event ( reactor , get_fd ( ) ) ; <nl> bool Socket : : close ( ) <nl> swReactor_remove_read_event ( reactor , get_fd ( ) ) ; <nl> resume ( SOCKET_LOCK_WRITE ) ; <nl> } <nl> - _closed = true ; <nl> - socket - > closed = 1 ; <nl> return true ; <nl> } <nl> <nl> mmm a / src / network / reactor_process . c <nl> ppp b / src / network / reactor_process . c <nl> static int swReactorProcess_onPipeRead ( swReactor * reactor , swEvent * event ) <nl> static int swReactorProcess_loop ( swProcessPool * pool , swWorker * worker ) <nl> { <nl> swServer * serv = pool - > ptr ; <nl> - swReactor * reactor = & ( serv - > reactor_threads [ 0 ] . reactor ) ; <nl> <nl> SwooleG . process_type = SW_PROCESS_WORKER ; <nl> SwooleG . pid = getpid ( ) ; <nl> static int swReactorProcess_loop ( swProcessPool * pool , swWorker * worker ) <nl> } <nl> <nl> / / create reactor <nl> - if ( swReactor_create ( reactor , SW_REACTOR_MAXEVENTS ) < 0 ) <nl> + swReactor * reactor ; <nl> + if ( ! SwooleG . main_reactor ) <nl> { <nl> - return SW_ERR ; <nl> + reactor = & ( serv - > reactor_threads [ 0 ] . reactor ) ; <nl> + if ( swReactor_create ( reactor , SW_REACTOR_MAXEVENTS ) < 0 ) <nl> + { <nl> + return SW_ERR ; <nl> + } <nl> + } <nl> + else <nl> + { <nl> + reactor = SwooleG . main_reactor ; <nl> } <nl> <nl> swListenPort * ls ; <nl> mmm a / swoole_coroutine . cc <nl> ppp b / swoole_coroutine . cc <nl> static void php_coro_create ( void * arg ) <nl> zval _zobject , * zobject = nullptr ; <nl> zval _retval , * retval = & _retval ; <nl> <nl> - if ( + + COROG . coro_num > COROG . peak_coro_num ) <nl> + if ( swCoroG . count ( ) > COROG . peak_coro_num ) <nl> { <nl> - COROG . peak_coro_num = COROG . coro_num ; <nl> + COROG . peak_coro_num = swCoroG . count ( ) ; <nl> } <nl> <nl> if ( fci_cache - > object ) <nl> static void php_coro_create ( void * arg ) <nl> <nl> swTraceLog ( <nl> SW_TRACE_COROUTINE , " Create coro id : % ld , origin cid : % ld , coro total count : % " PRIu64 " , heap size : % zu " , <nl> - coroutine_get_cid ( task - > co ) , coroutine_get_cid ( task - > origin_task - > co ) , COROG . coro_num , zend_memory_usage ( 0 ) <nl> + coroutine_get_cid ( task - > co ) , coroutine_get_cid ( task - > origin_task - > co ) , swCoroG . count ( ) , zend_memory_usage ( 0 ) <nl> ) ; <nl> <nl> if ( SwooleG . hooks [ SW_GLOBAL_HOOK_ON_CORO_START ] ) <nl> long sw_coro_create ( zend_fcall_info_cache * fci_cache , int argc , zval * argv ) <nl> / / sw_enable_coroutine_hook ( SW_HOOK_ALL ) ; / / TODO : enable it in version 4 . 3 . 0 <nl> COROG . active = 1 ; <nl> } <nl> - if ( unlikely ( COROG . coro_num > = COROG . max_coro_num ) ) <nl> + if ( unlikely ( swCoroG . count ( ) > = COROG . max_coro_num ) ) <nl> { <nl> - swoole_php_fatal_error ( E_WARNING , " exceed max number of coroutine % " PRIu64 " . " , COROG . coro_num ) ; <nl> + swoole_php_fatal_error ( E_WARNING , " exceed max number of coroutine % " PRIu64 " . " , swCoroG . count ( ) ) ; <nl> return CORO_LIMIT ; <nl> } <nl> if ( unlikely ( ! fci_cache | | ! fci_cache - > function_handler ) ) <nl> void sw_coro_close ( ) <nl> <nl> php_coro_close ( task ) ; <nl> php_vm_stack_destroy ( task - > vm_stack ) ; <nl> - COROG . coro_num - - ; <nl> <nl> swTraceLog ( <nl> SW_TRACE_COROUTINE , " coro close cid = % ld and resume to % ld , % " PRIu64 " remained . usage size : % zu . malloc size : % zu " , <nl> - cid , origin_cid , COROG . coro_num , zend_memory_usage ( 0 ) , zend_memory_usage ( 1 ) <nl> + cid , origin_cid , swCoroG . count ( ) , zend_memory_usage ( 0 ) , zend_memory_usage ( 1 ) <nl> ) ; <nl> } <nl> <nl> mmm a / swoole_coroutine . h <nl> ppp b / swoole_coroutine . h <nl> struct php_args <nl> struct coro_global <nl> { <nl> zend_bool active ; <nl> - uint64_t coro_num ; <nl> uint64_t max_coro_num ; <nl> uint64_t peak_coro_num ; <nl> uint32_t stack_size ; <nl> mmm a / swoole_coroutine_util . cc <nl> ppp b / swoole_coroutine_util . cc <nl> static int coro_exit_handler ( zend_execute_data * execute_data ) <nl> { <nl> flags | = SW_EXIT_IN_SERVER ; <nl> } <nl> - if ( flags = = SW_EXIT_IN_COROUTINE & & COROG . coro_num = = 1 ) <nl> + if ( flags = = SW_EXIT_IN_COROUTINE & & swCoroG . count ( ) = = 1 ) <nl> { <nl> php_swoole_event_exit ( ) ; <nl> } <nl> static PHP_METHOD ( swoole_coroutine_util , stats ) <nl> { <nl> array_init ( return_value ) ; <nl> add_assoc_long_ex ( return_value , ZEND_STRL ( " stack_size " ) , COROG . stack_size ) ; <nl> - add_assoc_long_ex ( return_value , ZEND_STRL ( " coroutine_num " ) , COROG . coro_num ) ; <nl> + add_assoc_long_ex ( return_value , ZEND_STRL ( " coroutine_num " ) , swCoroG . count ( ) ) ; <nl> add_assoc_long_ex ( return_value , ZEND_STRL ( " coroutine_peak_num " ) , COROG . peak_coro_num ) ; <nl> } <nl> <nl> static PHP_METHOD ( swoole_coroutine_util , getCid ) <nl> <nl> int php_coroutine_reactor_can_exit ( swReactor * reactor ) <nl> { <nl> - return COROG . coro_num = = 0 ; <nl> + return swCoroG . count ( ) = = 0 ; <nl> } <nl> <nl> static PHP_METHOD ( swoole_coroutine_util , sleep ) <nl> PHP_METHOD ( swoole_coroutine_iterator , key ) <nl> <nl> static PHP_METHOD ( swoole_coroutine_iterator , count ) <nl> { <nl> - RETURN_LONG ( COROG . coro_num ) ; <nl> + RETURN_LONG ( swCoroG . count ( ) ) ; <nl> } <nl> <nl> static PHP_METHOD ( swoole_coroutine_iterator , __destruct ) <nl> mmm a / swoole_server . cc <nl> ppp b / swoole_server . cc <nl> PHP_METHOD ( swoole_server , stats ) <nl> } <nl> <nl> # ifdef SW_COROUTINE <nl> - add_assoc_long_ex ( return_value , ZEND_STRL ( " coroutine_num " ) , COROG . coro_num ) ; <nl> + add_assoc_long_ex ( return_value , ZEND_STRL ( " coroutine_num " ) , swCoroG . count ( ) ) ; <nl> # endif <nl> } <nl> <nl> mmm a / tests / include / functions . php <nl> ppp b / tests / include / functions . php <nl> function getFreePort ( int $ index = 0 ) <nl> return $ this - > freePorts [ $ index ] ; <nl> } <nl> <nl> - function initRandomData ( $ size , $ len = 32 ) : void <nl> + / * * <nl> + * @ param $ size <nl> + * @ param int $ len <nl> + * / <nl> + function initRandomData ( $ size , $ len = 32 ) <nl> { <nl> for ( $ n = $ size ; $ n - - ; ) { <nl> $ this - > randomData [ ] = get_safe_random ( $ len ) ; <nl> } <nl> } <nl> <nl> - function getRandomData ( $ index = null ) : string <nl> + / * * <nl> + * @ param null $ index <nl> + * @ return mixed <nl> + * / <nl> + function getRandomData ( $ index = null ) <nl> { <nl> if ( ! empty ( $ this - > randomData ) ) { <nl> return $ index = = = null ? array_shift ( $ this - > randomData ) : $ this - > randomData [ $ index ] ; <nl> | Merge remote - tracking branch ' origin / master ' | swoole/swoole-src | 99dbee3db7a266251c50ebf32c5fcda0ec226ea0 | 2018-12-10T02:34:21Z |
mmm a / Code / CryEngine / CrySystem / ExtensionSystem / CryFactoryRegistryImpl . cpp <nl> ppp b / Code / CryEngine / CrySystem / ExtensionSystem / CryFactoryRegistryImpl . cpp <nl> bool CCryFactoryRegistryImpl : : GetInsertionPos ( ICryFactory * pFactory , FactoriesBy <nl> FactoryByCID searchByCID ( pFactory ) ; <nl> FactoriesByCIDIt itForCID = std : : lower_bound ( m_byCID . begin ( ) , m_byCID . end ( ) , searchByCID ) ; <nl> if ( itForCID ! = m_byCID . end ( ) & & ! ( searchByCID < * itForCID ) ) <nl> - FatalError : : Report ( ( * itForCName ) . m_ptr , pFactory ) ; <nl> + FatalError : : Report ( ( * itForCID ) . m_ptr , pFactory ) ; <nl> <nl> itPosForCName = itForCName ; <nl> itPosForCID = itForCID ; <nl> | ! T ( CrySystem ) Fixed a debug message ( Approved by sebastien ) | CRYTEK/CRYENGINE | 1b6091b3dc056e80f95e679153738ceab0820a0a | 2017-05-31T12:24:57Z |
mmm a / lib / ParseSIL / ParseSIL . cpp <nl> ppp b / lib / ParseSIL / ParseSIL . cpp <nl> bool SILParserTUState : : parseSILWitnessTable ( Parser & P ) { <nl> EntryKeyword . str ( ) = = " conditional_conformance " ) { <nl> if ( P . parseToken ( tok : : l_paren , diag : : expected_sil_witness_lparen ) ) <nl> return true ; <nl> - CanType assoc = parseAssociatedTypePath ( P , WitnessState , proto ) ; <nl> - if ( ! assoc ) <nl> + CanType assocOrSubject ; <nl> + if ( EntryKeyword . str ( ) = = " associated_type_protocol " ) { <nl> + assocOrSubject = parseAssociatedTypePath ( P , WitnessState , proto ) ; <nl> + } else { <nl> + / / Parse AST type . <nl> + ParserResult < TypeRepr > TyR = P . parseType ( ) ; <nl> + if ( TyR . isNull ( ) ) <nl> + return true ; <nl> + TypeLoc Ty = TyR . get ( ) ; <nl> + if ( swift : : performTypeLocChecking ( P . Context , Ty , <nl> + / * isSILMode = * / false , <nl> + / * isSILType = * / false , <nl> + witnessEnv , <nl> + & P . SF ) ) <nl> + return true ; <nl> + <nl> + assocOrSubject = Ty . getType ( ) - > getCanonicalType ( ) ; <nl> + } <nl> + if ( ! assocOrSubject ) <nl> return true ; <nl> if ( P . parseToken ( tok : : colon , diag : : expected_sil_witness_colon ) ) <nl> return true ; <nl> bool SILParserTUState : : parseSILWitnessTable ( Parser & P ) { <nl> <nl> if ( EntryKeyword . str ( ) = = " associated_type_protocol " ) <nl> witnessEntries . push_back ( <nl> - SILWitnessTable : : AssociatedTypeProtocolWitness { assoc , proto , <nl> + SILWitnessTable : : AssociatedTypeProtocolWitness { assocOrSubject , <nl> + proto , <nl> conformance } ) ; <nl> else <nl> conditionalConformances . push_back ( <nl> - SILWitnessTable : : ConditionalConformance { assoc , conformance } ) ; <nl> + SILWitnessTable : : ConditionalConformance { assocOrSubject , <nl> + conformance } ) ; <nl> <nl> continue ; <nl> } <nl> mmm a / test / SIL / Parser / witness_tables . sil <nl> ppp b / test / SIL / Parser / witness_tables . sil <nl> sil_witness_table DeadMethodClass : Proto module witness_tables { <nl> method # Proto . abc ! 1 : nil <nl> } <nl> <nl> + protocol P { <nl> + } <nl> + <nl> + struct ConditionalStruct < T > { <nl> + init ( ) <nl> + } <nl> + <nl> + extension ConditionalStruct : P where T : P { <nl> + } <nl> + <nl> + / / CHECK - LABEL : sil_witness_table hidden < T where T : P > ConditionalStruct < T > : P module witness_tables { <nl> + / / CHECK - NEXT : conditional_conformance ( T : P ) : dependent <nl> + / / CHECL - NEXT : } <nl> + sil_witness_table hidden < T where T : P > ConditionalStruct < T > : P module t4 { <nl> + conditional_conformance ( T : P ) : dependent <nl> + } <nl> + <nl> + sil_default_witness_table hidden P { <nl> + } <nl> \ No newline at end of file <nl> | [ SIL Parser ] Fix parsing of witness tables with conditional conformances . | apple/swift | 05036ead31ede784460aa365958a9f65ba31472b | 2017-11-17T18:59:47Z |
mmm a / tensorflow / contrib / session_bundle / BUILD <nl> ppp b / tensorflow / contrib / session_bundle / BUILD <nl> cc_library ( <nl> visibility = [ " / / visibility : public " ] , <nl> deps = [ <nl> " : signature " , <nl> + " / / tensorflow / core / util / tensor_bundle : tensor_bundle " , <nl> ] + if_not_mobile ( [ <nl> " : manifest_proto_cc " , <nl> " / / tensorflow / core : core_cpu " , <nl> cc_library ( <nl> visibility = [ " / / visibility : public " ] , <nl> deps = [ <nl> " : signature_lite " , <nl> + " / / tensorflow / core / util / tensor_bundle : tensor_bundle " , <nl> ] + if_not_mobile ( [ <nl> " : manifest_proto_cc " , <nl> " / / tensorflow / core : core_cpu " , <nl> mmm a / tensorflow / contrib / session_bundle / example / BUILD <nl> ppp b / tensorflow / contrib / session_bundle / example / BUILD <nl> genrule ( <nl> outs = [ <nl> " half_plus_two / 00000123 / export . meta " , <nl> " half_plus_two / 00000123 / export - 00000 - of - 00001 " , <nl> + " half_plus_two_ckpt_v2 / 00000123 / export . meta " , <nl> + " half_plus_two_ckpt_v2 / 00000123 / export . index " , <nl> + " half_plus_two_ckpt_v2 / 00000123 / export . data - 00000 - of - 00001 " , <nl> ] , <nl> cmd = <nl> " rm - rf / tmp / half_plus_two ; " + <nl> " $ ( PYTHON_BIN_PATH ) $ ( locations : export_half_plus_two ) ; " + <nl> - " cp - r / tmp / half_plus_two / * $ ( @ D ) / half_plus_two " , <nl> + " cp - r / tmp / half_plus_two / * $ ( @ D ) / half_plus_two ; " + <nl> + " rm - rf / tmp / half_plus_two_v2 ; " + <nl> + " $ ( PYTHON_BIN_PATH ) $ ( locations : export_half_plus_two ) - - use_checkpoint_v2 = true ; " + <nl> + " cp - r / tmp / half_plus_two_ckpt_v2 / * $ ( @ D ) / half_plus_two_ckpt_v2 " , <nl> tools = [ <nl> " : export_half_plus_two " , <nl> ] , <nl> mmm a / tensorflow / contrib / session_bundle / example / export_half_plus_two . py <nl> ppp b / tensorflow / contrib / session_bundle / example / export_half_plus_two . py <nl> <nl> import tensorflow as tf <nl> from tensorflow . contrib . session_bundle import exporter <nl> <nl> + tf . flags . DEFINE_bool ( " use_checkpoint_v2 " , False , <nl> + " If true , write v2 checkpoint files . " ) <nl> + <nl> + FLAGS = tf . flags . FLAGS <nl> + <nl> <nl> def Export ( ) : <nl> export_path = " / tmp / half_plus_two " <nl> + if FLAGS . use_checkpoint_v2 : <nl> + export_path = " / tmp / half_plus_two_ckpt_v2 " <nl> with tf . Session ( ) as sess : <nl> # Make model parameters a & b variables instead of constants to <nl> # exercise the variable reloading mechanisms . <nl> def Export ( ) : <nl> y = tf . add ( tf . mul ( a , x ) , b , name = " y " ) <nl> <nl> # Setup a standard Saver for our variables . <nl> - save = tf . train . Saver ( { " a " : a , " b " : b } , sharded = True ) <nl> + save = tf . train . Saver ( <nl> + { <nl> + " a " : a , <nl> + " b " : b <nl> + } , <nl> + sharded = True , <nl> + write_version = tf . train . SaverDef . V2 if FLAGS . use_checkpoint_v2 else <nl> + tf . train . SaverDef . V1 ) <nl> <nl> # asset_path contains the base directory of assets used in training ( e . g . <nl> # vocabulary files ) . <nl> def Export ( ) : <nl> # Ops reading asset files should reference the asset_path tensor <nl> # which stores the original asset path at training time and the <nl> # overridden assets directory at restore time . <nl> - asset_path = tf . Variable ( original_asset_path , <nl> - name = " asset_path " , <nl> - trainable = False , <nl> - collections = [ ] ) <nl> + asset_path = tf . Variable ( <nl> + original_asset_path , name = " asset_path " , trainable = False , collections = [ ] ) <nl> assign_asset_path = asset_path . assign ( original_asset_path ) <nl> <nl> # Use a fixed global step number . <nl> def Export ( ) : <nl> # ( whichever is created first ) during serving . <nl> output_tensor = tf . identity ( y ) ) <nl> named_graph_signature = { <nl> - " inputs " : exporter . generic_signature ( { " x " : x } ) , <nl> - " outputs " : exporter . generic_signature ( { " y " : y } ) <nl> + " inputs " : exporter . generic_signature ( { <nl> + " x " : x <nl> + } ) , <nl> + " outputs " : exporter . generic_signature ( { <nl> + " y " : y <nl> + } ) <nl> } <nl> <nl> # Create two filename assets and corresponding tensors . <nl> def Export ( ) : <nl> # hashes ( e . g . sha1 ) for consistency . <nl> original_filename1 = tf . constant ( " hello1 . txt " ) <nl> tf . add_to_collection ( tf . GraphKeys . ASSET_FILEPATHS , original_filename1 ) <nl> - filename1 = tf . Variable ( original_filename1 , <nl> - name = " filename1 " , <nl> - trainable = False , <nl> - collections = [ ] ) <nl> + filename1 = tf . Variable ( <nl> + original_filename1 , name = " filename1 " , trainable = False , collections = [ ] ) <nl> assign_filename1 = filename1 . assign ( original_filename1 ) <nl> original_filename2 = tf . constant ( " hello2 . txt " ) <nl> tf . add_to_collection ( tf . GraphKeys . ASSET_FILEPATHS , original_filename2 ) <nl> - filename2 = tf . Variable ( original_filename2 , <nl> - name = " filename2 " , <nl> - trainable = False , <nl> - collections = [ ] ) <nl> + filename2 = tf . Variable ( <nl> + original_filename2 , name = " filename2 " , trainable = False , collections = [ ] ) <nl> assign_filename2 = filename2 . assign ( original_filename2 ) <nl> <nl> # Init op contains a group of all variables that we assign . <nl> mmm a / tensorflow / contrib / session_bundle / session_bundle . cc <nl> ppp b / tensorflow / contrib / session_bundle / session_bundle . cc <nl> limitations under the License . <nl> # include " tensorflow / core / protobuf / meta_graph . pb . h " <nl> # include " tensorflow / core / protobuf / saver . pb . h " <nl> # include " tensorflow / core / public / session_options . h " <nl> + # include " tensorflow / core / util / tensor_bundle / tensor_bundle . h " <nl> <nl> namespace tensorflow { <nl> namespace serving { <nl> void AddAssetsTensorsToInputs ( const StringPiece export_dir , <nl> / / This method is to support models exported by both types of saver object . <nl> / / The change is backward - compatible , therefore no changes are needed for <nl> / / existing model exports . <nl> + / / Checkpoint v2 support : Models exported in the checkpoint v2 format will have <nl> + / / an export . index file . When the exported model uses checkpoint v2 the returned <nl> + / / variables filename should not have a file type suffix . The variable is <nl> + / / distributed among the export . index and export . data - ? ? ? ? ? - of - ? ? ? ? ? files . <nl> string GetVariablesFilename ( const StringPiece export_dir ) { <nl> const char kVariablesFilename [ ] = " export " ; <nl> + const string kVariablesIndexFilename = MetaFilename ( " export " ) ; / / V2 ckpts <nl> const char kVariablesFilenamePattern [ ] = " export - \ ? \ ? \ ? \ ? \ ? - of - \ ? \ ? \ ? \ ? \ ? " ; <nl> if ( Env : : Default ( ) - > FileExists ( <nl> - io : : JoinPath ( export_dir , kVariablesFilename ) ) ) { <nl> + io : : JoinPath ( export_dir , kVariablesFilename ) ) | | <nl> + Env : : Default ( ) - > FileExists ( <nl> + io : : JoinPath ( export_dir , kVariablesIndexFilename ) ) ) { <nl> return io : : JoinPath ( export_dir , kVariablesFilename ) ; <nl> } else { <nl> return io : : JoinPath ( export_dir , kVariablesFilenamePattern ) ; <nl> mmm a / tensorflow / contrib / session_bundle / session_bundle_test . cc <nl> ppp b / tensorflow / contrib / session_bundle / session_bundle_test . cc <nl> namespace { <nl> <nl> / / Constants for the export path and file - names . <nl> const char kExportPath [ ] = " session_bundle / example / half_plus_two / 00000123 " ; <nl> + const char kExportCheckpointV2Path [ ] = <nl> + " session_bundle / example / half_plus_two_ckpt_v2 / 00000123 " ; <nl> const char kMetaGraphDefFilename [ ] = " export . meta " ; <nl> const char kVariablesFilename [ ] = " export - 00000 - of - 00001 " ; <nl> <nl> TEST ( LoadSessionBundleFromPath , BadExportPath ) { <nl> EXPECT_TRUE ( msg . find ( " Not found " ) ! = std : : string : : npos ) < < msg ; <nl> } <nl> <nl> + TEST ( CheckpointV2Test , LoadSessionBundleFromPath ) { <nl> + const string export_path = test_util : : TestSrcDirPath ( kExportCheckpointV2Path ) ; <nl> + BasicTest ( export_path ) ; <nl> + } <nl> + <nl> + TEST ( CheckpointV2Test , IsPossibleExportDirectory ) { <nl> + const string export_path = test_util : : TestSrcDirPath ( kExportCheckpointV2Path ) ; <nl> + EXPECT_TRUE ( IsPossibleExportDirectory ( export_path ) ) ; <nl> + } <nl> + <nl> class SessionBundleTest : public : : testing : : Test { <nl> protected : <nl> / / Copy the half_plus_two graph and apply the twiddler to rewrite the <nl> | Add support to read checkpoint v2 exported models from session_bundle . | tensorflow/tensorflow | 1fe7f2c3cfdb4963c65ee2d6b7cecbe310ff361c | 2016-10-06T19:48:01Z |
mmm a / xbmc / network / osx / ZeroconfBrowserOSX . cpp <nl> ppp b / xbmc / network / osx / ZeroconfBrowserOSX . cpp <nl> namespace <nl> CStdString CFStringToCStdString ( const CFStringRef cfstr ) <nl> { <nl> / / first try the short path <nl> - const char * p_tmp = CFStringGetCStringPtr ( cfstr , kCFStringEncodingUTF8 ) ; <nl> - if ( p_tmp ) <nl> + const char * p_tmp = CFStringGetCStringPtr ( cfstr , kCFStringEncodingUTF8 ) ; <nl> + if ( p_tmp ) <nl> return CStdString ( p_tmp ) ; <nl> <nl> / / i ' m not sure if CFStringGetMaximumSizeForEncoding <nl> / / includes space for the termination character or not ? <nl> / / so i add 1 here to make sure . . <nl> CFIndex buf_len = 1 + CFStringGetMaximumSizeForEncoding ( <nl> - CFStringGetLength ( cfstr ) , <nl> - kCFStringEncodingUTF8 ) ; <nl> + CFStringGetLength ( cfstr ) , kCFStringEncodingUTF8 ) ; <nl> + <nl> char * buffer = new char [ buf_len ] ; <nl> - assert ( buffer ) ; <nl> - Boolean bool2 = CFStringGetCString ( cfstr , buffer , buf_len , kCFStringEncodingUTF8 ) ; <nl> - assert ( bool2 ) ; <nl> + CFStringGetCString ( cfstr , buffer , buf_len , kCFStringEncodingUTF8 ) ; <nl> CStdString myString ( buffer ) ; <nl> delete [ ] buffer ; <nl> + <nl> return myString ; <nl> } <nl> <nl> namespace <nl> CFDataRef data = NULL ; <nl> <nl> data = CFNetServiceGetTXTData ( serviceRef ) ; <nl> - if ( data ! = NULL ) <nl> + if ( data ! = NULL ) <nl> { <nl> - CFDictionaryRef dict = NULL ; <nl> - dict = CFNetServiceCreateDictionaryWithTXTData ( kCFAllocatorDefault , data ) ; <nl> - <nl> - if ( dict ! = NULL ) <nl> + CFDictionaryRef dict = CFNetServiceCreateDictionaryWithTXTData ( kCFAllocatorDefault , data ) ; <nl> + if ( dict ! = NULL ) <nl> { <nl> CFIndex numValues = 0 ; <nl> numValues = CFDictionaryGetCount ( dict ) ; <nl> - if ( numValues > 0 ) <nl> + if ( numValues > 0 ) <nl> { <nl> CFStringRef keys [ numValues ] ; <nl> CFDataRef values [ numValues ] ; <nl> namespace <nl> <nl> / / helper to get ( first ) IP and port from a resolved service <nl> / / returns true on success , false on if none was found <nl> - bool CopyFirstIPv4Address ( CFNetServiceRef serviceRef , CStdString & fr_address , int & fr_port ) <nl> + bool CopyFirstIPv4Address ( CFNetServiceRef serviceRef , CStdString & fr_address , int & fr_port ) <nl> { <nl> CFIndex idx ; <nl> struct sockaddr_in address ; <nl> void CZeroconfBrowserOSX : : BrowserCallback ( CFNetServiceBrowserRef browser , CFOpti <nl> CZeroconfBrowserOSX * p_this = reinterpret_cast < CZeroconfBrowserOSX * > ( info ) ; <nl> / / store the service <nl> ZeroconfService s ( <nl> - CFStringToCStdString ( CFNetServiceGetName ( service ) ) , <nl> - CFStringToCStdString ( CFNetServiceGetType ( service ) ) , <nl> - CFStringToCStdString ( CFNetServiceGetDomain ( service ) ) <nl> - ) ; <nl> + CFStringToCStdString ( CFNetServiceGetName ( service ) ) , <nl> + CFStringToCStdString ( CFNetServiceGetType ( service ) ) , <nl> + CFStringToCStdString ( CFNetServiceGetDomain ( service ) ) ) ; <nl> if ( flags & kCFNetServiceFlagRemove ) <nl> { <nl> CLog : : Log ( LOGDEBUG , " CZeroconfBrowserOSX : : BrowserCallback service named : % s , type : % s , domain : % s disappeared " , <nl> - s . GetName ( ) . c_str ( ) , s . GetType ( ) . c_str ( ) , s . GetDomain ( ) . c_str ( ) ) ; <nl> + s . GetName ( ) . c_str ( ) , s . GetType ( ) . c_str ( ) , s . GetDomain ( ) . c_str ( ) ) ; <nl> p_this - > removeDiscoveredService ( browser , flags , s ) ; <nl> - } else <nl> + } <nl> + else <nl> { <nl> CLog : : Log ( LOGDEBUG , " CZeroconfBrowserOSX : : BrowserCallback found service named : % s , type : % s , domain : % s " , <nl> - s . GetName ( ) . c_str ( ) , s . GetType ( ) . c_str ( ) , s . GetDomain ( ) . c_str ( ) ) ; <nl> + s . GetName ( ) . c_str ( ) , s . GetType ( ) . c_str ( ) , s . GetDomain ( ) . c_str ( ) ) ; <nl> p_this - > addDiscoveredService ( browser , flags , s ) ; <nl> } <nl> - if ( ! ( flags & kCFNetServiceFlagMoreComing ) ) <nl> + if ( ! ( flags & kCFNetServiceFlagMoreComing ) ) <nl> { <nl> CGUIMessage message ( GUI_MSG_NOTIFY_ALL , 0 , 0 , GUI_MSG_UPDATE_PATH ) ; <nl> message . SetStringParam ( " zeroconf : / / " ) ; <nl> void CZeroconfBrowserOSX : : BrowserCallback ( CFNetServiceBrowserRef browser , CFOpti <nl> <nl> / / / adds the service to list of found services <nl> void CZeroconfBrowserOSX : : <nl> - addDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , CZeroconfBrowser : : ZeroconfService const & fcr_service ) <nl> + addDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , CZeroconfBrowser : : ZeroconfService const & fcr_service ) <nl> { <nl> CSingleLock lock ( m_data_guard ) ; <nl> tDiscoveredServicesMap : : iterator browserIt = m_discovered_services . find ( browser ) ; <nl> - if ( browserIt = = m_discovered_services . end ( ) ) <nl> + if ( browserIt = = m_discovered_services . end ( ) ) <nl> { <nl> / / first service by this browser <nl> browserIt = m_discovered_services . insert ( make_pair ( browser , std : : vector < std : : pair < ZeroconfService , unsigned int > > ( ) ) ) . first ; <nl> addDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , CZeroc <nl> std : : vector < std : : pair < ZeroconfService , unsigned int > > : : iterator serviceIt = services . begin ( ) ; <nl> for ( ; serviceIt ! = services . end ( ) ; + + serviceIt ) <nl> { <nl> - if ( serviceIt - > first = = fcr_service ) <nl> + if ( serviceIt - > first = = fcr_service ) <nl> break ; <nl> } <nl> - if ( serviceIt = = services . end ( ) ) <nl> + if ( serviceIt = = services . end ( ) ) <nl> services . push_back ( std : : make_pair ( fcr_service , 1 ) ) ; <nl> else <nl> + + serviceIt - > second ; <nl> } <nl> <nl> void CZeroconfBrowserOSX : : <nl> - removeDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , CZeroconfBrowser : : ZeroconfService const & fcr_service ) <nl> + removeDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , CZeroconfBrowser : : ZeroconfService const & fcr_service ) <nl> { <nl> CSingleLock lock ( m_data_guard ) ; <nl> tDiscoveredServicesMap : : iterator browserIt = m_discovered_services . find ( browser ) ; <nl> removeDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , CZe <nl> std : : vector < std : : pair < ZeroconfService , unsigned int > > & services = browserIt - > second ; <nl> std : : vector < std : : pair < ZeroconfService , unsigned int > > : : iterator serviceIt = services . begin ( ) ; <nl> for ( ; serviceIt ! = services . end ( ) ; + + serviceIt ) <nl> - if ( serviceIt - > first = = fcr_service ) <nl> + if ( serviceIt - > first = = fcr_service ) <nl> break ; <nl> - if ( serviceIt ! = services . end ( ) ) <nl> + if ( serviceIt ! = services . end ( ) ) <nl> { <nl> / / decrease refCount <nl> - - serviceIt - > second ; <nl> - if ( ! serviceIt - > second ) <nl> + if ( ! serviceIt - > second ) <nl> { <nl> / / eventually remove the service <nl> services . erase ( serviceIt ) ; <nl> } <nl> - } else <nl> + } <nl> + else <nl> { <nl> / / looks like we missed the announce , no problem though . . <nl> } <nl> bool CZeroconfBrowserOSX : : doAddServiceType ( const CStdString & fcr_service_type ) <nl> { <nl> CFNetServiceClientContext clientContext = { 0 , this , NULL , NULL , NULL } ; <nl> CFStringRef domain = CFSTR ( " " ) ; <nl> - CFNetServiceBrowserRef p_browser = CFNetServiceBrowserCreate ( kCFAllocatorDefault , CZeroconfBrowserOSX : : BrowserCallback , & clientContext ) ; <nl> + CFNetServiceBrowserRef p_browser = CFNetServiceBrowserCreate ( kCFAllocatorDefault , <nl> + CZeroconfBrowserOSX : : BrowserCallback , & clientContext ) ; <nl> assert ( p_browser ! = NULL ) ; <nl> <nl> / / schedule the browser <nl> CFNetServiceBrowserScheduleWithRunLoop ( p_browser , m_runloop , kCFRunLoopCommonModes ) ; <nl> CFStreamError error ; <nl> - CFStringRef type = CFStringCreateWithCString ( NULL , <nl> - fcr_service_type . c_str ( ) , <nl> - kCFStringEncodingUTF8 <nl> - ) ; <nl> + CFStringRef type = CFStringCreateWithCString ( NULL , fcr_service_type . c_str ( ) , kCFStringEncodingUTF8 ) ; <nl> + <nl> assert ( type ! = NULL ) ; <nl> Boolean result = CFNetServiceBrowserSearchForServices ( p_browser , domain , type , & error ) ; <nl> CFRelease ( type ) ; <nl> bool CZeroconfBrowserOSX : : doAddServiceType ( const CStdString & fcr_service_type ) <nl> p_browser = NULL ; <nl> CLog : : Log ( LOGERROR , " CFNetServiceBrowserSearchForServices returned " <nl> " ( domain = % d , error = % " PRId64 " ) " , ( int ) error . domain , ( int64_t ) error . error ) ; <nl> - } else <nl> + } <nl> + else <nl> { <nl> / / store the browser <nl> CSingleLock lock ( m_data_guard ) ; <nl> m_service_browsers . insert ( std : : make_pair ( fcr_service_type , p_browser ) ) ; <nl> } <nl> + <nl> return result ; <nl> } <nl> <nl> - bool CZeroconfBrowserOSX : : doRemoveServiceType ( const CStdString & fcr_service_type ) <nl> + bool CZeroconfBrowserOSX : : doRemoveServiceType ( const CStdString & fcr_service_type ) <nl> { <nl> / / search for this browser and remove it from the map <nl> CFNetServiceBrowserRef browser = 0 ; <nl> { <nl> CSingleLock lock ( m_data_guard ) ; <nl> tBrowserMap : : iterator it = m_service_browsers . find ( fcr_service_type ) ; <nl> - if ( it = = m_service_browsers . end ( ) ) <nl> - { <nl> + if ( it = = m_service_browsers . end ( ) ) <nl> return false ; <nl> - } <nl> + <nl> browser = it - > second ; <nl> m_service_browsers . erase ( it ) ; <nl> } <nl> bool CZeroconfBrowserOSX : : doRemoveServiceType ( const CStdString & fcr_service_type <nl> { <nl> CSingleLock lock ( m_data_guard ) ; <nl> tDiscoveredServicesMap : : iterator it = m_discovered_services . find ( browser ) ; <nl> - if ( it ! = m_discovered_services . end ( ) ) <nl> + if ( it ! = m_discovered_services . end ( ) ) <nl> m_discovered_services . erase ( it ) ; <nl> } <nl> CFRelease ( browser ) ; <nl> + <nl> return true ; <nl> } <nl> <nl> std : : vector < CZeroconfBrowser : : ZeroconfService > CZeroconfBrowserOSX : : doGetFoundSe <nl> ret . push_back ( services [ i ] . first ) ; <nl> } <nl> } <nl> + <nl> return ret ; <nl> } <nl> <nl> - bool CZeroconfBrowserOSX : : doResolveService ( CZeroconfBrowser : : ZeroconfService & fr_service , double f_timeout ) <nl> + bool CZeroconfBrowserOSX : : doResolveService ( CZeroconfBrowser : : ZeroconfService & fr_service , double f_timeout ) <nl> { <nl> bool ret = false ; <nl> - CFStringRef type = CFStringCreateWithCString ( NULL , <nl> - fr_service . GetType ( ) . c_str ( ) , <nl> - kCFStringEncodingUTF8 <nl> - ) ; <nl> - CFStringRef name = CFStringCreateWithCString ( NULL , <nl> - fr_service . GetName ( ) . c_str ( ) , <nl> - kCFStringEncodingUTF8 <nl> - ) ; <nl> - CFStringRef domain = CFStringCreateWithCString ( NULL , <nl> - fr_service . GetDomain ( ) . c_str ( ) , <nl> - kCFStringEncodingUTF8 <nl> - ) ; <nl> + CFStringRef type = CFStringCreateWithCString ( NULL , fr_service . GetType ( ) . c_str ( ) , kCFStringEncodingUTF8 ) ; <nl> + <nl> + CFStringRef name = CFStringCreateWithCString ( NULL , fr_service . GetName ( ) . c_str ( ) , kCFStringEncodingUTF8 ) ; <nl> + <nl> + CFStringRef domain = CFStringCreateWithCString ( NULL , fr_service . GetDomain ( ) . c_str ( ) , kCFStringEncodingUTF8 ) ; <nl> + <nl> CFNetServiceRef service = CFNetServiceCreate ( NULL , domain , type , name , 0 ) ; <nl> - if ( CFNetServiceResolveWithTimeout ( service , f_timeout , NULL ) ) <nl> + if ( CFNetServiceResolveWithTimeout ( service , f_timeout , NULL ) ) <nl> { <nl> CStdString ip ; int port ; <nl> ret = CopyFirstIPv4Address ( service , ip , port ) ; <nl> bool CZeroconfBrowserOSX : : doResolveService ( CZeroconfBrowser : : ZeroconfService & fr <nl> CFRelease ( name ) ; <nl> CFRelease ( domain ) ; <nl> CFRelease ( service ) ; <nl> + <nl> return ret ; <nl> } <nl> mmm a / xbmc / network / osx / ZeroconfBrowserOSX . h <nl> ppp b / xbmc / network / osx / ZeroconfBrowserOSX . h <nl> class CZeroconfBrowserOSX : public CZeroconfBrowser <nl> private : <nl> / / / implementation if CZeroconfBrowser interface <nl> / / / @ { <nl> - virtual bool doAddServiceType ( const CStdString & fcr_service_type ) ; <nl> - virtual bool doRemoveServiceType ( const CStdString & fcr_service_type ) ; <nl> + virtual bool doAddServiceType ( const CStdString & fcr_service_type ) ; <nl> + virtual bool doRemoveServiceType ( const CStdString & fcr_service_type ) ; <nl> <nl> virtual std : : vector < CZeroconfBrowser : : ZeroconfService > doGetFoundServices ( ) ; <nl> - virtual bool doResolveService ( CZeroconfBrowser : : ZeroconfService & fr_service , double f_timeout ) ; <nl> + virtual bool doResolveService ( CZeroconfBrowser : : ZeroconfService & fr_service , double f_timeout ) ; <nl> / / / @ } <nl> <nl> / / / browser callback <nl> static void BrowserCallback ( CFNetServiceBrowserRef browser , CFOptionFlags flags , CFTypeRef domainOrService , CFStreamError * error , void * info ) ; <nl> / / / resolve callback <nl> - static void ResolveCallback ( CFNetServiceRef theService , CFStreamError * error , void * info ) ; <nl> + static void ResolveCallback ( CFNetServiceRef theService , CFStreamError * error , void * info ) ; <nl> <nl> / / / adds the service to list of found services <nl> - void addDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , ZeroconfService const & fcr_service ) ; <nl> + void addDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , ZeroconfService const & fcr_service ) ; <nl> / / / removes the service from list of found services <nl> - void removeDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , ZeroconfService const & fcr_service ) ; <nl> + void removeDiscoveredService ( CFNetServiceBrowserRef browser , CFOptionFlags flags , ZeroconfService const & fcr_service ) ; <nl> <nl> / / CF runloop ref ; we ' re using main - threads runloop <nl> CFRunLoopRef m_runloop ; <nl> | [ osx / ios ] kill useless assert and code style cleanup | xbmc/xbmc | 0a6a00740970f39bc988b5c431dc89af4177bd56 | 2012-05-27T03:37:15Z |
mmm a / lib / Sema / TypeCheckAttr . cpp <nl> ppp b / lib / Sema / TypeCheckAttr . cpp <nl> TypeChecker : : diagnosticIfDeclCannotBePotentiallyUnavailable ( const Decl * D ) { <nl> return None ; <nl> } <nl> <nl> + static bool shouldBlockImplicitDynamic ( Decl * D ) { <nl> + if ( D - > getAttrs ( ) . hasAttribute < NonObjCAttr > ( ) | | <nl> + D - > getAttrs ( ) . hasAttribute < SILGenNameAttr > ( ) | | <nl> + D - > getAttrs ( ) . hasAttribute < TransparentAttr > ( ) | | <nl> + D - > getAttrs ( ) . hasAttribute < InlinableAttr > ( ) ) <nl> + return true ; <nl> + return false ; <nl> + } <nl> void TypeChecker : : addImplicitDynamicAttribute ( Decl * D ) { <nl> if ( ! D - > getModuleContext ( ) - > isImplicitDynamicEnabled ( ) ) <nl> return ; <nl> void TypeChecker : : addImplicitDynamicAttribute ( Decl * D ) { <nl> isa < AccessorDecl > ( D ) ) <nl> return ; <nl> <nl> - if ( D - > getAttrs ( ) . hasAttribute < NonObjCAttr > ( ) | | <nl> - D - > getAttrs ( ) . hasAttribute < TransparentAttr > ( ) | | <nl> - D - > getAttrs ( ) . hasAttribute < InlinableAttr > ( ) ) <nl> - return ; <nl> + / / Don ' t add dynamic if decl is inlinable or tranparent . <nl> + if ( shouldBlockImplicitDynamic ( D ) ) <nl> + return ; <nl> <nl> if ( auto * FD = dyn_cast < FuncDecl > ( D ) ) { <nl> / / Don ' t add dynamic to defer bodies . <nl> void TypeChecker : : addImplicitDynamicAttribute ( Decl * D ) { <nl> return ; <nl> } <nl> <nl> + / / Don ' t add dynamic if accessor is inlinable or tranparent . <nl> + if ( auto * asd = dyn_cast < AbstractStorageDecl > ( D ) ) { <nl> + for ( auto * accessor : asd - > getAllAccessors ( ) ) { <nl> + if ( ! accessor - > isImplicit ( ) & & shouldBlockImplicitDynamic ( accessor ) ) <nl> + return ; <nl> + } <nl> + } <nl> + <nl> if ( auto * VD = dyn_cast < VarDecl > ( D ) ) { <nl> / / Don ' t turn stored into computed properties . This could conflict with <nl> / / exclusivity checking . <nl> mmm a / test / ParseableInterface / ModuleCache / prebuilt - module - cache - forwarding . swift <nl> ppp b / test / ParseableInterface / ModuleCache / prebuilt - module - cache - forwarding . swift <nl> <nl> / / RUN : % { python } % S / Inputs / check - is - forwarding - module . py % t / MCP / Lib - * . swiftmodule <nl> <nl> / / Now invalidate a dependency of the prebuilt module , and make sure the forwarding file is replaced with a real module . <nl> - / / RUN : touch % t / Lib . swiftinterface <nl> + / / RUN : % { python } % S / Inputs / make - old . py % t / Lib . swiftinterface <nl> / / RUN : not % target - swift - frontend - typecheck - parse - stdlib - module - cache - path % t / MCP - sdk % S / Inputs - I % S / Inputs / prebuilt - module - cache / - prebuilt - module - cache - path % t / prebuilt - cache % s 2 > & 1 | % FileCheck - check - prefix = FROM - INTERFACE % s <nl> <nl> / / Delete the cached module we just created , and create the forwarding module again <nl> new file mode 100644 <nl> index 000000000000 . . d929f9a2e73b <nl> mmm / dev / null <nl> ppp b / test / attr / implicit_dynamic . swift <nl> <nl> + / / RUN : % target - swift - frontend - swift - version 5 - enable - implicit - dynamic - I % t - emit - silgen % s | % FileCheck % s <nl> + <nl> + / / Make sure that these functions are not implicitly marked dynamic . <nl> + <nl> + public struct NotImplicitDynamic { <nl> + @ inlinable <nl> + public var x : Int { <nl> + / / CHECK : sil [ serialized ] [ ossa ] @ $ s16implicit_dynamic18NotImplicitDynamicV1xSivg <nl> + / / CHECK : sil [ serialized ] [ ossa ] @ $ s16implicit_dynamic18NotImplicitDynamicV1xSivs <nl> + get { <nl> + return 1 <nl> + } <nl> + set { <nl> + } <nl> + } <nl> + <nl> + @ inlinable <nl> + public var y : Int { <nl> + / / CHECK : sil [ serialized ] [ ossa ] @ $ s16implicit_dynamic18NotImplicitDynamicV1ySivg <nl> + return 1 <nl> + } <nl> + <nl> + public var z : Int { <nl> + / / CHECK : sil [ serialized ] [ ossa ] @ $ s16implicit_dynamic18NotImplicitDynamicV1zSivg <nl> + / / CHECK : sil [ ossa ] @ $ s16implicit_dynamic18NotImplicitDynamicV1zSivs <nl> + @ inlinable <nl> + get { <nl> + return 1 <nl> + } <nl> + set { <nl> + } <nl> + } <nl> + <nl> + @ _transparent <nl> + public var x2 : Int { <nl> + / / CHECK : sil [ transparent ] [ serialized ] [ ossa ] @ $ s16implicit_dynamic18NotImplicitDynamicV2x2Sivg <nl> + / / CHECK : sil [ transparent ] [ serialized ] [ ossa ] @ $ s16implicit_dynamic18NotImplicitDynamicV2x2Sivs <nl> + get { <nl> + return 1 <nl> + } <nl> + set { <nl> + } <nl> + } <nl> + <nl> + public subscript ( ) - > Int { <nl> + / / CHECK : sil [ transparent ] [ serialized ] [ ossa ] @ $ s16implicit_dynamic18NotImplicitDynamicVSiycig <nl> + @ _transparent <nl> + get { <nl> + return 1 <nl> + } <nl> + } <nl> + } <nl> + <nl> + / / CHECK : sil [ ossa ] @ foobar <nl> + @ _silgen_name ( " foobar " ) <nl> + public func noImplicitDynamicFunc ( ) { <nl> + } <nl> | Merge remote - tracking branch ' origin / master ' into master - next | apple/swift | dbbf4b96db74aa65d2109dc3df2830c3bd36cee0 | 2019-05-23T17:09:10Z |
mmm a / hphp / runtime / vm / jit / x64 - util . h <nl> ppp b / hphp / runtime / vm / jit / x64 - util . h <nl> translator_not_reached ( X64Assembler & a ) { <nl> } <nl> } <nl> <nl> - static inline void <nl> - translator_debug_break ( X64Assembler & a ) { <nl> - if ( debug ) { <nl> - a . int3 ( ) ; <nl> - } <nl> - } <nl> - <nl> / * <nl> * TLS access : XXX we currently only support static - style TLS directly <nl> * linked off of FS . <nl> | remove one more dead method | facebook/hhvm | 4ed3495700b94e566cea24bd1fa44dd4d98056e8 | 2013-06-21T18:26:05Z |
mmm a / src / video_core / renderer_opengl / renderer_opengl . cpp <nl> ppp b / src / video_core / renderer_opengl / renderer_opengl . cpp <nl> void RendererOpenGL : : InitOpenGLObjects ( ) { <nl> LoadColorToActiveGLTexture ( 0 , 0 , 0 , 0 , screen_info . texture ) ; <nl> } <nl> <nl> + void RendererOpenGL : : AddTelemetryFields ( ) { <nl> + const char * const gl_version { reinterpret_cast < char const * > ( glGetString ( GL_VERSION ) ) } ; <nl> + const char * const gpu_vendor { reinterpret_cast < char const * > ( glGetString ( GL_VENDOR ) ) } ; <nl> + const char * const gpu_model { reinterpret_cast < char const * > ( glGetString ( GL_RENDERER ) ) } ; <nl> + <nl> + LOG_INFO ( Render_OpenGL , " GL_VERSION : { } " , gl_version ) ; <nl> + LOG_INFO ( Render_OpenGL , " GL_VENDOR : { } " , gpu_vendor ) ; <nl> + LOG_INFO ( Render_OpenGL , " GL_RENDERER : { } " , gpu_model ) ; <nl> + <nl> + auto & telemetry_session = system . TelemetrySession ( ) ; <nl> + telemetry_session . AddField ( Telemetry : : FieldType : : UserSystem , " GPU_Vendor " , gpu_vendor ) ; <nl> + telemetry_session . AddField ( Telemetry : : FieldType : : UserSystem , " GPU_Model " , gpu_model ) ; <nl> + telemetry_session . AddField ( Telemetry : : FieldType : : UserSystem , " GPU_OpenGL_Version " , gl_version ) ; <nl> + } <nl> + <nl> void RendererOpenGL : : CreateRasterizer ( ) { <nl> if ( rasterizer ) { <nl> return ; <nl> bool RendererOpenGL : : Init ( ) { <nl> glDebugMessageCallback ( DebugHandler , nullptr ) ; <nl> } <nl> <nl> - const char * gl_version { reinterpret_cast < char const * > ( glGetString ( GL_VERSION ) ) } ; <nl> - const char * gpu_vendor { reinterpret_cast < char const * > ( glGetString ( GL_VENDOR ) ) } ; <nl> - const char * gpu_model { reinterpret_cast < char const * > ( glGetString ( GL_RENDERER ) ) } ; <nl> - <nl> - LOG_INFO ( Render_OpenGL , " GL_VERSION : { } " , gl_version ) ; <nl> - LOG_INFO ( Render_OpenGL , " GL_VENDOR : { } " , gpu_vendor ) ; <nl> - LOG_INFO ( Render_OpenGL , " GL_RENDERER : { } " , gpu_model ) ; <nl> - <nl> - Core : : Telemetry ( ) . AddField ( Telemetry : : FieldType : : UserSystem , " GPU_Vendor " , gpu_vendor ) ; <nl> - Core : : Telemetry ( ) . AddField ( Telemetry : : FieldType : : UserSystem , " GPU_Model " , gpu_model ) ; <nl> - Core : : Telemetry ( ) . AddField ( Telemetry : : FieldType : : UserSystem , " GPU_OpenGL_Version " , gl_version ) ; <nl> + AddTelemetryFields ( ) ; <nl> <nl> if ( ! GLAD_GL_VERSION_4_3 ) { <nl> return false ; <nl> mmm a / src / video_core / renderer_opengl / renderer_opengl . h <nl> ppp b / src / video_core / renderer_opengl / renderer_opengl . h <nl> class RendererOpenGL : public VideoCore : : RendererBase { <nl> <nl> private : <nl> void InitOpenGLObjects ( ) ; <nl> + void AddTelemetryFields ( ) ; <nl> void CreateRasterizer ( ) ; <nl> <nl> void ConfigureFramebufferTexture ( TextureInfo & texture , <nl> | video_core / renderer_opengl : Replace direct usage of global system object accessors | yuzu-emu/yuzu | 90febaf717341bf592ba1b062b531d0e189d50e9 | 2019-03-04T15:24:09Z |
mmm a / npm / package . json <nl> ppp b / npm / package . json <nl> <nl> { <nl> " name " : " electron - prebuilt " , <nl> - " version " : " 0 . 29 . 1 " , <nl> + " version " : " 0 . 29 . 2 " , <nl> " description " : " Install electron ( formerly called atom - shell ) prebuilts using npm " , <nl> " repository " : { <nl> " type " : " git " , <nl> | Update to Electron v0 . 29 . 2 | electron/electron | bd94d8028db352e7183a564318c94c4fe6b32577 | 2015-07-07T10:06:55Z |
mmm a / src / mongo / db / query / index_bounds_builder . cpp <nl> ppp b / src / mongo / db / query / index_bounds_builder . cpp <nl> string IndexBoundsBuilder : : simpleRegex ( const char * regex , <nl> ss < < c ; / / character should match itself <nl> } <nl> } <nl> - } else if ( ( c > = ' A ' & & c < = ' Z ' ) | | ( c > = ' a ' & & c < = ' z ' ) | | ( c > = ' 0 ' & & c < = ' 0 ' ) | | <nl> + } else if ( ( c > = ' A ' & & c < = ' Z ' ) | | ( c > = ' a ' & & c < = ' z ' ) | | ( c > = ' 0 ' & & c < = ' 9 ' ) | | <nl> ( c = = ' \ 0 ' ) ) { <nl> / / don ' t know what to do with these <nl> r = ss ; <nl> | SERVER - 29002 : Fixed typo in IndexBoundsBuilder : : simpleRegex | mongodb/mongo | 6d36b9c90db9fea2c92f90ea7d9775a72b8fa339 | 2017-06-01T17:37:08Z |
new file mode 100644 <nl> index 0000000000 . . 307dcfa2b9 <nl> Binary files / dev / null and b / tools / ci / linux - base_1 . 0_all . deb differ <nl> new file mode 100644 <nl> index 0000000000 . . 8b40d431e4 <nl> Binary files / dev / null and b / tools / ci / linux - firmware_1 . 0_all . deb differ <nl> new file mode 100644 <nl> index 0000000000 . . d7a823a57f <nl> Binary files / dev / null and b / tools / ci / linux - generic_1 . 0_all . deb differ <nl> new file mode 100644 <nl> index 0000000000 . . 79fccdf2c4 <nl> mmm / dev / null <nl> ppp b / tools / ci / osquery - ubuntu18 . 04 - toolchain . dockerfile <nl> <nl> + FROM ubuntu : 18 . 04 <nl> + COPY * . deb . / <nl> + RUN apt update - q - y & & apt upgrade - q - y & & apt install - q - y - - no - install - recommends \ <nl> + git \ <nl> + make \ <nl> + ccache \ <nl> + python \ <nl> + python3 \ <nl> + sudo \ <nl> + wget \ <nl> + ca - certificates \ <nl> + tar \ <nl> + icu - devtools \ <nl> + flex \ <nl> + bison \ <nl> + xz - utils \ <nl> + python - setuptools \ <nl> + python - pexpect \ <nl> + python - psutil \ <nl> + python - pip \ <nl> + python - six \ <nl> + & & dpkg - i linux - base_1 . 0_all . deb linux - firmware_1 . 0_all . deb linux - generic_1 . 0_all . deb \ <nl> + & & apt clean & & rm - rf / var / lib / apt / lists / * \ <nl> + & & sudo pip install timeout_decorator <nl> + RUN cd ~ & & wget https : / / github . com / Kitware / CMake / releases / download / v3 . 14 . 6 / cmake - 3 . 14 . 6 - Linux - x86_64 . tar . gz \ <nl> + & & sudo tar xvf cmake - 3 . 14 . 6 - Linux - x86_64 . tar . gz - C / usr / local - - strip 1 & & rm cmake - 3 . 14 . 6 - Linux - x86_64 . tar . gz \ <nl> + & & wget https : / / github . com / osquery / osquery - toolchain / releases / download / 1 . 0 . 0 / osquery - toolchain - 1 . 0 . 0 . tar . xz \ <nl> + & & sudo tar xvf osquery - toolchain - 1 . 0 . 0 . tar . xz - C / usr / local & & rm osquery - toolchain - 1 . 0 . 0 . tar . xz <nl> | Provide CI Dockerfile and some fake packages ( ) | osquery/osquery | fdd22721484a566f530232f366bfb225e6a98a6a | 2019-10-07T14:26:43Z |
mmm a / tensorflow / g3doc / api_docs / python / contrib . distributions . bijector . md <nl> ppp b / tensorflow / g3doc / api_docs / python / contrib . distributions . bijector . md <nl> Subclass Requirements : <nl> <nl> - If the ` Bijector ` ' s use is limited to ` TransformedDistribution ` ( or friends <nl> like ` QuantizedDistribution ` ) then depending on your use , you may not need <nl> - to implement all of ` _forward ` and ` _inverese ` functions . For example : <nl> - - If you only require ` sample ` , it is sufficient to only implement <nl> - ` _forward ` . <nl> - - If you only need probablity functions ( e . g . , ` prob ` , ` cdf ` , ` survival ` ) , <nl> - it is sufficient to only implement ` _inverse ` ( and related ) . <nl> - - If you only call a probability function on the output of a call to <nl> - ` sample ` , then ` _inverse ` can be implemented as a cache lookup . <nl> + to implement all of ` _forward ` and ` _inverese ` functions . Examples : <nl> + 1 . Sampling ( e . g . , ` sample ` ) only requires ` _forward ` . <nl> + 2 . Probablity functions ( e . g . , ` prob ` , ` cdf ` , ` survival ` ) only require <nl> + ` _inverse ` ( and related ) . <nl> + 3 . Only calling probability functions on the output of ` sample ` means <nl> + ` _inverse ` can be implemented as a cache lookup . <nl> + <nl> See ` Example Use ` [ above ] which shows how these functions are used to <nl> transform a distribution . ( Note : ` _forward ` could theoretically be <nl> implemented as a cache lookup but this would require controlling the <nl> Subclass Requirements : <nl> functions to avoid computing the ` inverse_log_det_jacobian ` or the <nl> ` inverse ` , respectively . <nl> <nl> + Tips for implementing ` _inverse ` and ` _inverse_log_det_jacobian ` : <nl> + <nl> + - As case 3 [ above ] indicates , under some circumstances the inverse function <nl> + can be implemented as a cache lookup . <nl> + <nl> + - The inverse ` log o det o Jacobian ` can be implemented as the negative of the <nl> + forward ` log o det o Jacobian ` . This is useful if the ` inverse ` is <nl> + implemented as a cache or the inverse Jacobian is computationally more <nl> + expensive . The following demonstrates the suggested implementation . <nl> + <nl> + ` ` ` python <nl> + def _inverse_and_log_det_jacobian ( self , y ) : <nl> + x = # . . . implement inverse , possibly via cache . <nl> + return x , - self . _forward_log_det_jac ( x ) # Note negation . <nl> + ` ` ` <nl> <nl> - Tips for implementing ` inverse_log_det_jacobian ` : <nl> + By overriding the ` _inverse_and_log_det_jacobian ` function we have access to <nl> + the inverse in one call . <nl> <nl> - - In rare cases it may be easier to compute the Jacobian of the forward <nl> - transformation rather than the inverse . The two are equivalent up to sign . <nl> + The correctness of this approach can be seen from the following claim . <nl> <nl> - Claim : <nl> <nl> Tips for implementing ` inverse_log_det_jacobian ` : <nl> <nl> - Proof : <nl> <nl> - From the nonzero , differentiability of ` g ` , the [ inverse function <nl> - theorem ] ( https : / / en . wikipedia . org / wiki / Inverse_function_theorem ) implies <nl> - ` g ^ { - 1 } ` is differentiable in the image of ` g ` . <nl> - Observe that ` y = g ( x ) = g ( g ^ { - 1 } ( y ) ) ` . <nl> - From the chain rule we have ` I = g ' ( g ^ { - 1 } ( y ) ) * g ^ { - 1 } ' ( y ) . ` <nl> - Since ` g ` is a bijection and ` g ` , ` g ^ { - 1 } ` are differentiable , g { - 1 } ' is <nl> - non - singular therefore : ` inv [ g ' ( g ^ { - 1 } ( y ) ) ] = g ^ { - 1 } ' ( y ) ` . <nl> + From the bijective , nonzero differentiability of ` g ` , the <nl> + [ inverse function theorem ] ( <nl> + https : / / en . wikipedia . org / wiki / Inverse_function_theorem ) <nl> + implies ` g ^ { - 1 } ` is differentiable in the image of ` g ` . <nl> + Applying the chain rule to ` y = g ( x ) = g ( g ^ { - 1 } ( y ) ) ` yields <nl> + ` I = g ' ( g ^ { - 1 } ( y ) ) * g ^ { - 1 } ' ( y ) ` . <nl> + The same theorem also implies ` g { - 1 } ' ` is non - singular therefore : <nl> + ` inv [ g ' ( g ^ { - 1 } ( y ) ) ] = g ^ { - 1 } ' ( y ) ` . <nl> The claim follows from [ properties of determinant ] ( <nl> https : / / en . wikipedia . org / wiki / Determinant # Multiplicativity_and_matrix_groups ) . <nl> <nl> - - It is generally preferable to implement the Jacobian of the inverse . Doing <nl> - so should have better numerical stability and is likely to share operations <nl> - with the ` inverse ` implementation . <nl> + - If possible , prefer a direct implementation of the inverse Jacobian . This <nl> + should have superior numerical stability and will often share subgraphs with <nl> + the ` _inverse ` implementation . <nl> - - - <nl> <nl> # # # # ` tf . contrib . distributions . bijector . Bijector . __init__ ( batch_ndims = None , event_ndims = None , parameters = None , is_constant_jacobian = False , validate_args = False , dtype = None , name = None ) ` { # Bijector . __init__ } <nl> mmm a / tensorflow / g3doc / api_docs / python / contrib . distributions . md <nl> ppp b / tensorflow / g3doc / api_docs / python / contrib . distributions . md <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Implements ` ( log o p o g ^ { - 1 } ) ( y ) + ( log o det o J o g ^ { - 1 } ) ( y ) ` , <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Implements ` p ( g ^ { - 1 } ( y ) ) det | J ( g ^ { - 1 } ( y ) ) | ` , where ` g ^ { - 1 } ` is the <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Samples from the base distribution and then passes through <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> mmm a / tensorflow / g3doc / api_docs / python / functions_and_classes / shard1 / tf . contrib . distributions . TransformedDistribution . md <nl> ppp b / tensorflow / g3doc / api_docs / python / functions_and_classes / shard1 / tf . contrib . distributions . TransformedDistribution . md <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Implements ` ( log o p o g ^ { - 1 } ) ( y ) + ( log o det o J o g ^ { - 1 } ) ( y ) ` , <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Implements ` p ( g ^ { - 1 } ( y ) ) det | J ( g ^ { - 1 } ( y ) ) | ` , where ` g ^ { - 1 } ` is the <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Samples from the base distribution and then passes through <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> + * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> <nl> # # # # # Args : <nl> <nl> mmm a / tensorflow / g3doc / api_docs / python / functions_and_classes / shard2 / tf . contrib . distributions . bijector . Bijector . md <nl> ppp b / tensorflow / g3doc / api_docs / python / functions_and_classes / shard2 / tf . contrib . distributions . bijector . Bijector . md <nl> Subclass Requirements : <nl> <nl> - If the ` Bijector ` ' s use is limited to ` TransformedDistribution ` ( or friends <nl> like ` QuantizedDistribution ` ) then depending on your use , you may not need <nl> - to implement all of ` _forward ` and ` _inverese ` functions . For example : <nl> - - If you only require ` sample ` , it is sufficient to only implement <nl> - ` _forward ` . <nl> - - If you only need probablity functions ( e . g . , ` prob ` , ` cdf ` , ` survival ` ) , <nl> - it is sufficient to only implement ` _inverse ` ( and related ) . <nl> - - If you only call a probability function on the output of a call to <nl> - ` sample ` , then ` _inverse ` can be implemented as a cache lookup . <nl> + to implement all of ` _forward ` and ` _inverese ` functions . Examples : <nl> + 1 . Sampling ( e . g . , ` sample ` ) only requires ` _forward ` . <nl> + 2 . Probablity functions ( e . g . , ` prob ` , ` cdf ` , ` survival ` ) only require <nl> + ` _inverse ` ( and related ) . <nl> + 3 . Only calling probability functions on the output of ` sample ` means <nl> + ` _inverse ` can be implemented as a cache lookup . <nl> + <nl> See ` Example Use ` [ above ] which shows how these functions are used to <nl> transform a distribution . ( Note : ` _forward ` could theoretically be <nl> implemented as a cache lookup but this would require controlling the <nl> Subclass Requirements : <nl> functions to avoid computing the ` inverse_log_det_jacobian ` or the <nl> ` inverse ` , respectively . <nl> <nl> + Tips for implementing ` _inverse ` and ` _inverse_log_det_jacobian ` : <nl> + <nl> + - As case 3 [ above ] indicates , under some circumstances the inverse function <nl> + can be implemented as a cache lookup . <nl> + <nl> + - The inverse ` log o det o Jacobian ` can be implemented as the negative of the <nl> + forward ` log o det o Jacobian ` . This is useful if the ` inverse ` is <nl> + implemented as a cache or the inverse Jacobian is computationally more <nl> + expensive . The following demonstrates the suggested implementation . <nl> + <nl> + ` ` ` python <nl> + def _inverse_and_log_det_jacobian ( self , y ) : <nl> + x = # . . . implement inverse , possibly via cache . <nl> + return x , - self . _forward_log_det_jac ( x ) # Note negation . <nl> + ` ` ` <nl> <nl> - Tips for implementing ` inverse_log_det_jacobian ` : <nl> + By overriding the ` _inverse_and_log_det_jacobian ` function we have access to <nl> + the inverse in one call . <nl> <nl> - - In rare cases it may be easier to compute the Jacobian of the forward <nl> - transformation rather than the inverse . The two are equivalent up to sign . <nl> + The correctness of this approach can be seen from the following claim . <nl> <nl> - Claim : <nl> <nl> Tips for implementing ` inverse_log_det_jacobian ` : <nl> <nl> - Proof : <nl> <nl> - From the nonzero , differentiability of ` g ` , the [ inverse function <nl> - theorem ] ( https : / / en . wikipedia . org / wiki / Inverse_function_theorem ) implies <nl> - ` g ^ { - 1 } ` is differentiable in the image of ` g ` . <nl> - Observe that ` y = g ( x ) = g ( g ^ { - 1 } ( y ) ) ` . <nl> - From the chain rule we have ` I = g ' ( g ^ { - 1 } ( y ) ) * g ^ { - 1 } ' ( y ) . ` <nl> - Since ` g ` is a bijection and ` g ` , ` g ^ { - 1 } ` are differentiable , g { - 1 } ' is <nl> - non - singular therefore : ` inv [ g ' ( g ^ { - 1 } ( y ) ) ] = g ^ { - 1 } ' ( y ) ` . <nl> + From the bijective , nonzero differentiability of ` g ` , the <nl> + [ inverse function theorem ] ( <nl> + https : / / en . wikipedia . org / wiki / Inverse_function_theorem ) <nl> + implies ` g ^ { - 1 } ` is differentiable in the image of ` g ` . <nl> + Applying the chain rule to ` y = g ( x ) = g ( g ^ { - 1 } ( y ) ) ` yields <nl> + ` I = g ' ( g ^ { - 1 } ( y ) ) * g ^ { - 1 } ' ( y ) ` . <nl> + The same theorem also implies ` g { - 1 } ' ` is non - singular therefore : <nl> + ` inv [ g ' ( g ^ { - 1 } ( y ) ) ] = g ^ { - 1 } ' ( y ) ` . <nl> The claim follows from [ properties of determinant ] ( <nl> https : / / en . wikipedia . org / wiki / Determinant # Multiplicativity_and_matrix_groups ) . <nl> <nl> - - It is generally preferable to implement the Jacobian of the inverse . Doing <nl> - so should have better numerical stability and is likely to share operations <nl> - with the ` inverse ` implementation . <nl> + - If possible , prefer a direct implementation of the inverse Jacobian . This <nl> + should have superior numerical stability and will often share subgraphs with <nl> + the ` _inverse ` implementation . <nl> - - - <nl> <nl> # # # # ` tf . contrib . distributions . bijector . Bijector . __init__ ( batch_ndims = None , event_ndims = None , parameters = None , is_constant_jacobian = False , validate_args = False , dtype = None , name = None ) ` { # Bijector . __init__ } <nl> | Update generated Python Op docs . | tensorflow/tensorflow | 253c5bb9f33cf33822011c65ab28f17ed8dedb27 | 2016-10-18T22:31:49Z |
mmm a / include / connection . h <nl> ppp b / include / connection . h <nl> static sw_inline ssize_t swConnection_peek ( swConnection * conn , void * __buf , size <nl> retval = SSL_peek ( conn - > ssl , __buf , __n ) ; <nl> } <nl> else <nl> + # endif <nl> { <nl> retval = recv ( conn - > fd , __buf , __n , __flags | MSG_PEEK ) ; <nl> } <nl> - # else <nl> - retval = recv ( conn - > fd , __buf , __n , __flags ) ; <nl> - # endif <nl> <nl> if ( retval < 0 & & errno = = EINTR ) <nl> { <nl> mmm a / include / socket . h <nl> ppp b / include / socket . h <nl> class Socket <nl> bool connect ( const struct sockaddr * addr , socklen_t addrlen ) ; <nl> bool shutdown ( int how = SHUT_RDWR ) ; <nl> bool close ( ) ; <nl> - bool is_connect ( ) ; <nl> + bool check_liveness ( ) ; <nl> ssize_t peek ( void * __buf , size_t __n ) ; <nl> ssize_t recv ( void * __buf , size_t __n ) ; <nl> ssize_t read ( void * __buf , size_t __n ) ; <nl> mmm a / src / coroutine / socket . cc <nl> ppp b / src / coroutine / socket . cc <nl> static int socket_event_callback ( swReactor * reactor , swEvent * event ) <nl> return SW_OK ; <nl> } <nl> <nl> - bool Socket : : is_connect ( ) <nl> + bool Socket : : check_liveness ( ) <nl> { <nl> if ( ! socket | | ! socket - > active | | socket - > closed | | _closed ) <nl> { <nl> bool Socket : : is_connect ( ) <nl> { <nl> static char buf ; <nl> errno = 0 ; <nl> - int ret = : : recv ( socket - > fd , & buf , sizeof ( buf ) , MSG_PEEK ) ; <nl> + int ret = swConnection_peek ( socket , & buf , sizeof ( buf ) , 0 ) ; <nl> if ( ret = = 0 | | ( ret > 0 & & swConnection_error ( errno ) ! = SW_WAIT ) ) { <nl> return false ; <nl> } <nl> mmm a / swoole_redis_coro . cc <nl> ppp b / swoole_redis_coro . cc <nl> static bool swoole_redis_coro_connect ( swRedisClient * redis ) <nl> static sw_inline bool swoole_redis_coro_keep_alive ( swRedisClient * redis ) <nl> { <nl> Socket * socket ; <nl> - if ( ! redis - > context | | ! ( socket = swoole_redis_coro_get_socket ( redis - > context ) ) | | ! socket - > is_connect ( ) ) <nl> + if ( ! redis - > context | | ! ( socket = swoole_redis_coro_get_socket ( redis - > context ) ) | | ! socket - > check_liveness ( ) ) <nl> { <nl> swoole_redis_coro_close ( redis ) ; <nl> return swoole_redis_coro_connect ( redis ) ; <nl> | Fix swConnection_peek , rename is_connect to Socket : : check_liveness . | swoole/swoole-src | d2b3b9950ed480e6a2219a353e6adc267d5c9b97 | 2018-12-14T08:01:41Z |
mmm a / Makefile <nl> ppp b / Makefile <nl> xds_bootstrap_test : $ ( BINDIR ) / $ ( CONFIG ) / xds_bootstrap_test <nl> xds_end2end_test : $ ( BINDIR ) / $ ( CONFIG ) / xds_end2end_test <nl> xds_interop_client : $ ( BINDIR ) / $ ( CONFIG ) / xds_interop_client <nl> xds_interop_server : $ ( BINDIR ) / $ ( CONFIG ) / xds_interop_server <nl> - boringssl_ssl_test : $ ( BINDIR ) / $ ( CONFIG ) / boringssl_ssl_test <nl> - boringssl_crypto_test : $ ( BINDIR ) / $ ( CONFIG ) / boringssl_crypto_test <nl> alts_credentials_fuzzer_one_entry : $ ( BINDIR ) / $ ( CONFIG ) / alts_credentials_fuzzer_one_entry <nl> client_fuzzer_one_entry : $ ( BINDIR ) / $ ( CONFIG ) / client_fuzzer_one_entry <nl> hpack_parser_fuzzer_test_one_entry : $ ( BINDIR ) / $ ( CONFIG ) / hpack_parser_fuzzer_test_one_entry <nl> plugins : $ ( PROTOC_PLUGINS ) <nl> <nl> privatelibs : privatelibs_c privatelibs_cxx <nl> <nl> - privatelibs_c : $ ( LIBDIR ) / $ ( CONFIG ) / libend2end_nosec_tests . a $ ( LIBDIR ) / $ ( CONFIG ) / libend2end_tests . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc_test_util_unsecure . a $ ( LIBDIR ) / $ ( CONFIG ) / libz . a $ ( LIBDIR ) / $ ( CONFIG ) / libares . a <nl> + privatelibs_c : $ ( LIBDIR ) / $ ( CONFIG ) / libend2end_nosec_tests . a $ ( LIBDIR ) / $ ( CONFIG ) / libend2end_tests . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc_test_util_unsecure . a $ ( LIBDIR ) / $ ( CONFIG ) / libares . a <nl> pc_c : $ ( LIBDIR ) / $ ( CONFIG ) / pkgconfig / grpc . pc $ ( LIBDIR ) / $ ( CONFIG ) / pkgconfig / gpr . pc <nl> <nl> pc_c_unsecure : $ ( LIBDIR ) / $ ( CONFIG ) / pkgconfig / grpc_unsecure . pc $ ( LIBDIR ) / $ ( CONFIG ) / pkgconfig / gpr . pc <nl> pc_cxx : $ ( LIBDIR ) / $ ( CONFIG ) / pkgconfig / grpc + + . pc <nl> pc_cxx_unsecure : $ ( LIBDIR ) / $ ( CONFIG ) / pkgconfig / grpc + + _unsecure . pc <nl> <nl> ifeq ( $ ( EMBED_OPENSSL ) , true ) <nl> - privatelibs_cxx : $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc + + _test . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc + + _test_config . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc + + _test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libbenchmark . a <nl> + privatelibs_cxx : $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc + + _test . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc + + _test_config . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc + + _test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libbenchmark . a <nl> else <nl> privatelibs_cxx : $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc + + _test . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc + + _test_config . a $ ( LIBDIR ) / $ ( CONFIG ) / libgrpc + + _test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libbenchmark . a <nl> endif <nl> buildtests_cxx : privatelibs_cxx \ <nl> $ ( BINDIR ) / $ ( CONFIG ) / xds_end2end_test \ <nl> $ ( BINDIR ) / $ ( CONFIG ) / xds_interop_client \ <nl> $ ( BINDIR ) / $ ( CONFIG ) / xds_interop_server \ <nl> - $ ( BINDIR ) / $ ( CONFIG ) / boringssl_ssl_test \ <nl> - $ ( BINDIR ) / $ ( CONFIG ) / boringssl_crypto_test \ <nl> $ ( BINDIR ) / $ ( CONFIG ) / alts_credentials_fuzzer_one_entry \ <nl> $ ( BINDIR ) / $ ( CONFIG ) / client_fuzzer_one_entry \ <nl> $ ( BINDIR ) / $ ( CONFIG ) / hpack_parser_fuzzer_test_one_entry \ <nl> $ ( OBJDIR ) / $ ( CONFIG ) / src / cpp / server / channelz / channelz_service . o : $ ( GENDIR ) / src / pr <nl> $ ( OBJDIR ) / $ ( CONFIG ) / src / cpp / server / channelz / channelz_service_plugin . o : $ ( GENDIR ) / src / proto / grpc / channelz / channelz . pb . cc $ ( GENDIR ) / src / proto / grpc / channelz / channelz . grpc . pb . cc <nl> <nl> <nl> - LIBBORINGSSL_SRC = \ <nl> - third_party / boringssl - with - bazel / err_data . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_bitstr . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_bool . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_d2i_fp . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_dup . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_enum . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_gentm . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_i2d_fp . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_int . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_mbstr . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_object . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_octet . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_print . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_strnid . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_time . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_type . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_utctm . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / a_utf8 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / asn1_lib . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / asn1_par . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / asn_pack . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / f_enum . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / f_int . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / f_string . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / tasn_dec . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / tasn_enc . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / tasn_fre . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / tasn_new . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / tasn_typ . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / tasn_utl . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / time_support . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / base64 / base64 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / bio . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / bio_mem . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / connect . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / fd . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / file . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / hexdump . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / pair . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / printf . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / socket . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / socket_helper . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bn_extra / bn_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bn_extra / convert . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / buf / buf . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bytestring / asn1_compat . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bytestring / ber . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bytestring / cbb . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bytestring / cbs . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / bytestring / unicode . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / chacha / chacha . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / cipher_extra . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / derive_key . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / e_aesccm . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / e_aesctrhmac . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / e_aesgcmsiv . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / e_chacha20poly1305 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / e_null . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / e_rc2 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / e_rc4 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / e_tls . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / tls_cbc . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cmac / cmac . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / conf / conf . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cpu - aarch64 - fuchsia . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cpu - aarch64 - linux . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cpu - arm - linux . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cpu - arm . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cpu - intel . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / cpu - ppc64le . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / crypto . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / curve25519 / curve25519 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / curve25519 / spake25519 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / dh / check . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / dh / dh . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / dh / dh_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / dh / params . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / digest_extra / digest_extra . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / dsa / dsa . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / dsa / dsa_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / ec_extra / ec_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / ec_extra / ec_derive . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / ec_extra / hash_to_curve . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / ecdh_extra / ecdh_extra . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / ecdsa_extra / ecdsa_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / engine / engine . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / err / err . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / digestsign . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / evp . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / evp_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / evp_ctx . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / p_dsa_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / p_ec . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / p_ec_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / p_ed25519 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / p_ed25519_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / p_rsa . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / p_rsa_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / p_x25519 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / p_x25519_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / pbkdf . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / print . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / scrypt . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / sign . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / ex_data . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / bcm . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / fips_shared_support . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / is_fips . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / hkdf / hkdf . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / hrss / hrss . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / lhash / lhash . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / mem . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / obj / obj . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / obj / obj_xref . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pem / pem_all . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pem / pem_info . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pem / pem_lib . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pem / pem_oth . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pem / pem_pk8 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pem / pem_pkey . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pem / pem_x509 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pem / pem_xaux . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pkcs7 / pkcs7 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pkcs7 / pkcs7_x509 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pkcs8 / p5_pbev2 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pkcs8 / pkcs8 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pkcs8 / pkcs8_x509 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / poly1305 / poly1305 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / poly1305 / poly1305_arm . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / poly1305 / poly1305_vec . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / pool / pool . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / rand_extra / deterministic . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / rand_extra / forkunsafe . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / rand_extra / fuchsia . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / rand_extra / rand_extra . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / rand_extra / windows . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / rc4 / rc4 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / refcount_c11 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / refcount_lock . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / rsa_extra / rsa_asn1 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / rsa_extra / rsa_print . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / siphash / siphash . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / stack / stack . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / thread . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / thread_none . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / thread_pthread . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / thread_win . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / trust_token / pmbtoken . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / trust_token / trust_token . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / a_digest . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / a_sign . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / a_strex . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / a_verify . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / algorithm . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / asn1_gen . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / by_dir . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / by_file . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / i2d_pr . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / rsa_pss . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / t_crl . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / t_req . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / t_x509 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / t_x509a . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_att . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_cmp . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_d2 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_def . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_ext . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_lu . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_obj . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_r2x . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_req . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_set . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_trs . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_txt . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_v3 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_vfy . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_vpm . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509cset . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509name . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509rset . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509spki . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_algor . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_all . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_attrib . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_crl . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_exten . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_info . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_name . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_pkey . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_pubkey . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_req . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_sig . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_spki . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_val . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_x509 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x_x509a . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / pcy_cache . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / pcy_data . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / pcy_lib . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / pcy_map . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / pcy_node . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / pcy_tree . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_akey . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_akeya . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_alt . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_bcons . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_bitst . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_conf . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_cpols . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_crld . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_enum . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_extku . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_genn . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_ia5 . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_info . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_int . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_lib . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_ncons . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_ocsp . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_pci . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_pcia . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_pcons . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_pku . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_pmaps . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_prn . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_purp . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_skey . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_sxnet . c \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3_utl . c \ <nl> - third_party / boringssl - with - bazel / src / ssl / bio_ssl . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / d1_both . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / d1_lib . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / d1_pkt . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / d1_srtp . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / dtls_method . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / dtls_record . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / handoff . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / handshake . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / handshake_client . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / handshake_server . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / s3_both . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / s3_lib . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / s3_pkt . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_aead_ctx . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_asn1 . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_buffer . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_cert . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_cipher . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_file . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_key_share . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_lib . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_privkey . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_session . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_stat . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_transcript . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_versions . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_x509 . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / t1_enc . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / t1_lib . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / tls13_both . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / tls13_client . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / tls13_enc . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / tls13_server . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / tls_method . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / tls_record . cc \ <nl> - <nl> - PUBLIC_HEADERS_C + = \ <nl> - <nl> - LIBBORINGSSL_OBJS = $ ( addprefix $ ( OBJDIR ) / $ ( CONFIG ) / , $ ( addsuffix . o , $ ( basename $ ( LIBBORINGSSL_SRC ) ) ) ) <nl> - <nl> - $ ( LIBBORINGSSL_OBJS ) : CPPFLAGS + = - Ithird_party / boringssl - with - bazel / src / include - fvisibility = hidden - DOPENSSL_NO_ASM - D_GNU_SOURCE - DWIN32_LEAN_AND_MEAN - D_HAS_EXCEPTIONS = 0 - DNOMINMAX <nl> - $ ( LIBBORINGSSL_OBJS ) : CXXFLAGS + = - fno - exceptions <nl> - $ ( LIBBORINGSSL_OBJS ) : CFLAGS + = - g <nl> - <nl> - $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a : $ ( ZLIB_DEP ) $ ( CARES_DEP ) $ ( ADDRESS_SORTING_DEP ) $ ( UPB_DEP ) $ ( GRPC_ABSEIL_DEP ) $ ( LIBBORINGSSL_OBJS ) <nl> - $ ( E ) " [ AR ] Creating $ @ " <nl> - $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) rm - f $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - $ ( Q ) $ ( AR ) $ ( AROPTS ) $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a $ ( LIBBORINGSSL_OBJS ) <nl> - ifeq ( $ ( SYSTEM ) , Darwin ) <nl> - $ ( Q ) ranlib - no_warning_for_no_symbols $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - endif <nl> - <nl> - <nl> - <nl> - <nl> - ifneq ( $ ( NO_DEPS ) , true ) <nl> - - include $ ( LIBBORINGSSL_OBJS : . o = . dep ) <nl> - endif <nl> - <nl> - <nl> - LIBBORINGSSL_TEST_UTIL_SRC = \ <nl> - third_party / boringssl - with - bazel / src / crypto / test / file_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / test / malloc . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / test / test_util . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / test / wycheproof_util . cc \ <nl> - <nl> - PUBLIC_HEADERS_CXX + = \ <nl> - <nl> - LIBBORINGSSL_TEST_UTIL_OBJS = $ ( addprefix $ ( OBJDIR ) / $ ( CONFIG ) / , $ ( addsuffix . o , $ ( basename $ ( LIBBORINGSSL_TEST_UTIL_SRC ) ) ) ) <nl> - <nl> - $ ( LIBBORINGSSL_TEST_UTIL_OBJS ) : CPPFLAGS + = - Ithird_party / boringssl - with - bazel / src / include - fvisibility = hidden - DOPENSSL_NO_ASM - D_GNU_SOURCE - DWIN32_LEAN_AND_MEAN - D_HAS_EXCEPTIONS = 0 - DNOMINMAX <nl> - $ ( LIBBORINGSSL_TEST_UTIL_OBJS ) : CXXFLAGS + = - fno - exceptions <nl> - $ ( LIBBORINGSSL_TEST_UTIL_OBJS ) : CFLAGS + = - g <nl> - <nl> - ifeq ( $ ( NO_PROTOBUF ) , true ) <nl> - <nl> - # You can ' t build a C + + library if you don ' t have protobuf - a bit overreached , but still okay . <nl> - <nl> - $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a : protobuf_dep_error <nl> - <nl> - <nl> - else <nl> - <nl> - $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a : $ ( ZLIB_DEP ) $ ( CARES_DEP ) $ ( ADDRESS_SORTING_DEP ) $ ( UPB_DEP ) $ ( GRPC_ABSEIL_DEP ) $ ( PROTOBUF_DEP ) $ ( LIBBORINGSSL_TEST_UTIL_OBJS ) <nl> - $ ( E ) " [ AR ] Creating $ @ " <nl> - $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) rm - f $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a <nl> - $ ( Q ) $ ( AR ) $ ( AROPTS ) $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBBORINGSSL_TEST_UTIL_OBJS ) <nl> - ifeq ( $ ( SYSTEM ) , Darwin ) <nl> - $ ( Q ) ranlib - no_warning_for_no_symbols $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a <nl> - endif <nl> - <nl> - <nl> - <nl> - <nl> - endif <nl> - <nl> - ifneq ( $ ( NO_DEPS ) , true ) <nl> - - include $ ( LIBBORINGSSL_TEST_UTIL_OBJS : . o = . dep ) <nl> - endif <nl> - <nl> - <nl> LIBBENCHMARK_SRC = \ <nl> - third_party / benchmark / src / benchmark . cc \ <nl> - third_party / benchmark / src / benchmark_api_internal . cc \ <nl> - third_party / benchmark / src / benchmark_main . cc \ <nl> - third_party / benchmark / src / benchmark_name . cc \ <nl> - third_party / benchmark / src / benchmark_register . cc \ <nl> - third_party / benchmark / src / benchmark_runner . cc \ <nl> - third_party / benchmark / src / colorprint . cc \ <nl> - third_party / benchmark / src / commandlineflags . cc \ <nl> - third_party / benchmark / src / complexity . cc \ <nl> - third_party / benchmark / src / console_reporter . cc \ <nl> - third_party / benchmark / src / counter . cc \ <nl> - third_party / benchmark / src / csv_reporter . cc \ <nl> - third_party / benchmark / src / json_reporter . cc \ <nl> - third_party / benchmark / src / reporter . cc \ <nl> - third_party / benchmark / src / sleep . cc \ <nl> - third_party / benchmark / src / statistics . cc \ <nl> - third_party / benchmark / src / string_util . cc \ <nl> - third_party / benchmark / src / sysinfo . cc \ <nl> - third_party / benchmark / src / timers . cc \ <nl> <nl> PUBLIC_HEADERS_CXX + = \ <nl> <nl> ifneq ( $ ( NO_DEPS ) , true ) <nl> endif <nl> <nl> <nl> - LIBZ_SRC = \ <nl> - third_party / zlib / adler32 . c \ <nl> - third_party / zlib / compress . c \ <nl> - third_party / zlib / crc32 . c \ <nl> - third_party / zlib / deflate . c \ <nl> - third_party / zlib / gzclose . c \ <nl> - third_party / zlib / gzlib . c \ <nl> - third_party / zlib / gzread . c \ <nl> - third_party / zlib / gzwrite . c \ <nl> - third_party / zlib / infback . c \ <nl> - third_party / zlib / inffast . c \ <nl> - third_party / zlib / inflate . c \ <nl> - third_party / zlib / inftrees . c \ <nl> - third_party / zlib / trees . c \ <nl> - third_party / zlib / uncompr . c \ <nl> - third_party / zlib / zutil . c \ <nl> - <nl> - PUBLIC_HEADERS_C + = \ <nl> - <nl> - LIBZ_OBJS = $ ( addprefix $ ( OBJDIR ) / $ ( CONFIG ) / , $ ( addsuffix . o , $ ( basename $ ( LIBZ_SRC ) ) ) ) <nl> - <nl> - $ ( LIBZ_OBJS ) : CFLAGS + = - fvisibility = hidden <nl> - <nl> - $ ( LIBDIR ) / $ ( CONFIG ) / libz . a : $ ( LIBZ_OBJS ) <nl> - $ ( E ) " [ AR ] Creating $ @ " <nl> - $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) rm - f $ ( LIBDIR ) / $ ( CONFIG ) / libz . a <nl> - $ ( Q ) $ ( AR ) $ ( AROPTS ) $ ( LIBDIR ) / $ ( CONFIG ) / libz . a $ ( LIBZ_OBJS ) <nl> - ifeq ( $ ( SYSTEM ) , Darwin ) <nl> - $ ( Q ) ranlib - no_warning_for_no_symbols $ ( LIBDIR ) / $ ( CONFIG ) / libz . a <nl> - endif <nl> - <nl> - <nl> - <nl> - <nl> - ifneq ( $ ( NO_DEPS ) , true ) <nl> - - include $ ( LIBZ_OBJS : . o = . dep ) <nl> - endif <nl> - <nl> - <nl> LIBARES_SRC = \ <nl> third_party / cares / cares / ares__close_sockets . c \ <nl> third_party / cares / cares / ares__get_hostent . c \ <nl> endif <nl> $ ( OBJDIR ) / $ ( CONFIG ) / test / cpp / interop / xds_interop_server . o : $ ( GENDIR ) / src / proto / grpc / testing / empty . pb . cc $ ( GENDIR ) / src / proto / grpc / testing / empty . grpc . pb . cc $ ( GENDIR ) / src / proto / grpc / testing / messages . pb . cc $ ( GENDIR ) / src / proto / grpc / testing / messages . grpc . pb . cc $ ( GENDIR ) / src / proto / grpc / testing / test . pb . cc $ ( GENDIR ) / src / proto / grpc / testing / test . grpc . pb . cc <nl> <nl> <nl> - BORINGSSL_SSL_TEST_SRC = \ <nl> - third_party / boringssl - with - bazel / src / crypto / test / abi_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / test / gtest_main . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / span_test . cc \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_c_test . c \ <nl> - third_party / boringssl - with - bazel / src / ssl / ssl_test . cc \ <nl> - <nl> - BORINGSSL_SSL_TEST_OBJS = $ ( addprefix $ ( OBJDIR ) / $ ( CONFIG ) / , $ ( addsuffix . o , $ ( basename $ ( BORINGSSL_SSL_TEST_SRC ) ) ) ) <nl> - <nl> - # boringssl needs an override to ensure that it does not include <nl> - # system openssl headers regardless of other configuration <nl> - # we do so here with a target specific variable assignment <nl> - $ ( BORINGSSL_SSL_TEST_OBJS ) : CFLAGS : = - Ithird_party / boringssl - with - bazel / src / include $ ( CFLAGS ) - Wno - sign - conversion - Wno - conversion - Wno - unused - value $ ( NO_W_EXTRA_SEMI ) <nl> - $ ( BORINGSSL_SSL_TEST_OBJS ) : CXXFLAGS : = - Ithird_party / boringssl - with - bazel / src / include $ ( CXXFLAGS ) <nl> - $ ( BORINGSSL_SSL_TEST_OBJS ) : CPPFLAGS + = - DOPENSSL_NO_ASM - D_GNU_SOURCE <nl> - <nl> - <nl> - ifeq ( $ ( NO_PROTOBUF ) , true ) <nl> - <nl> - # You can ' t build the protoc plugins or protobuf - enabled targets if you don ' t have protobuf 3 . 5 . 0 + . <nl> - <nl> - $ ( BINDIR ) / $ ( CONFIG ) / boringssl_ssl_test : protobuf_dep_error <nl> - <nl> - else <nl> - <nl> - $ ( BINDIR ) / $ ( CONFIG ) / boringssl_ssl_test : $ ( PROTOBUF_DEP ) $ ( BORINGSSL_SSL_TEST_OBJS ) $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - $ ( E ) " [ LD ] Linking $ @ " <nl> - $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( BORINGSSL_SSL_TEST_OBJS ) $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a $ ( LDLIBSXX ) $ ( LDLIBS_PROTOBUF ) $ ( LDLIBS ) $ ( GTEST_LIB ) - o $ ( BINDIR ) / $ ( CONFIG ) / boringssl_ssl_test <nl> - <nl> - endif <nl> - <nl> - $ ( BORINGSSL_SSL_TEST_OBJS ) : CPPFLAGS + = - Ithird_party / boringssl - with - bazel / src / include - fvisibility = hidden - DOPENSSL_NO_ASM - D_GNU_SOURCE - DWIN32_LEAN_AND_MEAN - D_HAS_EXCEPTIONS = 0 - DNOMINMAX <nl> - $ ( BORINGSSL_SSL_TEST_OBJS ) : CXXFLAGS + = - fno - exceptions <nl> - $ ( BORINGSSL_SSL_TEST_OBJS ) : CFLAGS + = - g <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / test / abi_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / test / gtest_main . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / ssl / span_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / ssl / ssl_c_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / ssl / ssl_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - deps_boringssl_ssl_test : $ ( BORINGSSL_SSL_TEST_OBJS : . o = . dep ) <nl> - <nl> - ifneq ( $ ( NO_DEPS ) , true ) <nl> - - include $ ( BORINGSSL_SSL_TEST_OBJS : . o = . dep ) <nl> - endif <nl> - <nl> - <nl> - BORINGSSL_CRYPTO_TEST_SRC = \ <nl> - third_party / boringssl - with - bazel / crypto_test_data . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / abi_self_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / asn1 / asn1_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / base64 / base64_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / bio / bio_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / buf / buf_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / bytestring / bytestring_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / chacha / chacha_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / aead_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / cipher_extra / cipher_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / cmac / cmac_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / compiler_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / constant_time_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / cpu - arm - linux_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / curve25519 / ed25519_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / curve25519 / spake25519_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / curve25519 / x25519_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / dh / dh_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / digest_extra / digest_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / dsa / dsa_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / ecdh_extra / ecdh_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / err / err_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / evp_extra_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / evp_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / pbkdf_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / evp / scrypt_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / aes / aes_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / bn / bn_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / ec / ec_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / ec / p256 - x86_64_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / ecdsa / ecdsa_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / md5 / md5_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / modes / gcm_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / rand / ctrdrbg_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / rand / fork_detect_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / fipsmodule / sha / sha_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / hkdf / hkdf_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / hmac_extra / hmac_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / hrss / hrss_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / impl_dispatch_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / lhash / lhash_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / obj / obj_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / pem / pem_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / pkcs7 / pkcs7_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / pkcs8 / pkcs12_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / pkcs8 / pkcs8_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / poly1305 / poly1305_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / pool / pool_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / rand_extra / rand_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / refcount_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / rsa_extra / rsa_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / self_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / siphash / siphash_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / stack / stack_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / test / abi_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / test / file_test_gtest . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / test / gtest_main . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / thread_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / trust_token / trust_token_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509 / x509_time_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / tab_test . cc \ <nl> - third_party / boringssl - with - bazel / src / crypto / x509v3 / v3name_test . cc \ <nl> - <nl> - BORINGSSL_CRYPTO_TEST_OBJS = $ ( addprefix $ ( OBJDIR ) / $ ( CONFIG ) / , $ ( addsuffix . o , $ ( basename $ ( BORINGSSL_CRYPTO_TEST_SRC ) ) ) ) <nl> - <nl> - # boringssl needs an override to ensure that it does not include <nl> - # system openssl headers regardless of other configuration <nl> - # we do so here with a target specific variable assignment <nl> - $ ( BORINGSSL_CRYPTO_TEST_OBJS ) : CFLAGS : = - Ithird_party / boringssl - with - bazel / src / include $ ( CFLAGS ) - Wno - sign - conversion - Wno - conversion - Wno - unused - value $ ( NO_W_EXTRA_SEMI ) <nl> - $ ( BORINGSSL_CRYPTO_TEST_OBJS ) : CXXFLAGS : = - Ithird_party / boringssl - with - bazel / src / include $ ( CXXFLAGS ) <nl> - $ ( BORINGSSL_CRYPTO_TEST_OBJS ) : CPPFLAGS + = - DOPENSSL_NO_ASM - D_GNU_SOURCE <nl> - <nl> - <nl> - ifeq ( $ ( NO_PROTOBUF ) , true ) <nl> - <nl> - # You can ' t build the protoc plugins or protobuf - enabled targets if you don ' t have protobuf 3 . 5 . 0 + . <nl> - <nl> - $ ( BINDIR ) / $ ( CONFIG ) / boringssl_crypto_test : protobuf_dep_error <nl> - <nl> - else <nl> - <nl> - $ ( BINDIR ) / $ ( CONFIG ) / boringssl_crypto_test : $ ( PROTOBUF_DEP ) $ ( BORINGSSL_CRYPTO_TEST_OBJS ) $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - $ ( E ) " [ LD ] Linking $ @ " <nl> - $ ( Q ) mkdir - p ` dirname $ @ ` <nl> - $ ( Q ) $ ( LDXX ) $ ( LDFLAGS ) $ ( BORINGSSL_CRYPTO_TEST_OBJS ) $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a $ ( LDLIBSXX ) $ ( LDLIBS_PROTOBUF ) $ ( LDLIBS ) $ ( GTEST_LIB ) - o $ ( BINDIR ) / $ ( CONFIG ) / boringssl_crypto_test <nl> - <nl> - endif <nl> - <nl> - $ ( BORINGSSL_CRYPTO_TEST_OBJS ) : CPPFLAGS + = - Ithird_party / boringssl - with - bazel / src / include - fvisibility = hidden - DOPENSSL_NO_ASM - D_GNU_SOURCE - DWIN32_LEAN_AND_MEAN - D_HAS_EXCEPTIONS = 0 - DNOMINMAX <nl> - $ ( BORINGSSL_CRYPTO_TEST_OBJS ) : CXXFLAGS + = - fno - exceptions <nl> - $ ( BORINGSSL_CRYPTO_TEST_OBJS ) : CFLAGS + = - g <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / crypto_test_data . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / abi_self_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / asn1 / asn1_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / base64 / base64_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / bio / bio_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / buf / buf_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / bytestring / bytestring_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / chacha / chacha_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / cipher_extra / aead_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / cipher_extra / cipher_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / cmac / cmac_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / compiler_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / constant_time_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / cpu - arm - linux_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / curve25519 / ed25519_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / curve25519 / spake25519_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / curve25519 / x25519_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / dh / dh_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / digest_extra / digest_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / dsa / dsa_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / ecdh_extra / ecdh_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / err / err_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / evp / evp_extra_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / evp / evp_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / evp / pbkdf_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / evp / scrypt_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / aes / aes_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / bn / bn_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / ec / ec_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / ec / p256 - x86_64_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / ecdsa / ecdsa_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / md5 / md5_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / modes / gcm_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / rand / ctrdrbg_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / rand / fork_detect_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / fipsmodule / sha / sha_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / hkdf / hkdf_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / hmac_extra / hmac_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / hrss / hrss_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / impl_dispatch_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / lhash / lhash_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / obj / obj_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / pem / pem_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / pkcs7 / pkcs7_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / pkcs8 / pkcs12_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / pkcs8 / pkcs8_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / poly1305 / poly1305_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / pool / pool_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / rand_extra / rand_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / refcount_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / rsa_extra / rsa_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / self_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / siphash / siphash_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / stack / stack_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / test / abi_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / test / file_test_gtest . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / test / gtest_main . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / thread_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / trust_token / trust_token_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / x509 / x509_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / x509 / x509_time_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / x509v3 / tab_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - $ ( OBJDIR ) / $ ( CONFIG ) / third_party / boringssl - with - bazel / src / crypto / x509v3 / v3name_test . o : $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl_test_util . a $ ( LIBDIR ) / $ ( CONFIG ) / libboringssl . a <nl> - <nl> - deps_boringssl_crypto_test : $ ( BORINGSSL_CRYPTO_TEST_OBJS : . o = . dep ) <nl> - <nl> - ifneq ( $ ( NO_DEPS ) , true ) <nl> - - include $ ( BORINGSSL_CRYPTO_TEST_OBJS : . o = . dep ) <nl> - endif <nl> - <nl> - <nl> ALTS_CREDENTIALS_FUZZER_ONE_ENTRY_SRC = \ <nl> test / core / security / alts_credentials_fuzzer . cc \ <nl> test / core / util / one_corpus_entry_fuzzer . cc \ <nl> mmm a / gRPC - C + + . podspec <nl> ppp b / gRPC - C + + . podspec <nl> Pod : : Spec . new do | s | <nl> ' include / grpcpp / generic / generic_stub_impl . h ' , <nl> ' include / grpcpp / grpcpp . h ' , <nl> ' include / grpcpp / health_check_service_interface . h ' , <nl> - ' include / grpcpp / health_check_service_interface_impl . h ' , <nl> ' include / grpcpp / impl / call . h ' , <nl> ' include / grpcpp / impl / channel_argument_option . h ' , <nl> ' include / grpcpp / impl / client_unary_call . h ' , <nl> | Remove health_check_service_interface_impl from build files . | grpc/grpc | 8f2361fcdaf66e5ca5ebe0676a00c275b723e18e | 2020-06-23T19:03:40Z |
mmm a / Core / CMakeLists . txt <nl> ppp b / Core / CMakeLists . txt <nl> add_library ( core <nl> MMKVLog_Android . cpp <nl> CodedInputData . h <nl> CodedInputData . cpp <nl> + CodedInputData_OSX . cpp <nl> CodedOutputData . h <nl> CodedOutputData . cpp <nl> + CodedOutputData_OSX . cpp <nl> PBUtility . h <nl> PBUtility . cpp <nl> MiniPBCoder . h <nl> MiniPBCoder . cpp <nl> + MiniPBCoder_OSX . cpp <nl> MMBuffer . h <nl> MMBuffer . cpp <nl> InterProcessLock . h <nl> InterProcessLock . cpp <nl> + InterProcessLock_Win32 . cpp <nl> MemoryFile . h <nl> MemoryFile . cpp <nl> MemoryFile_Android . cpp <nl> MemoryFile_Win32 . cpp <nl> + MemoryFile_OSX . cpp <nl> ThreadLock . h <nl> ThreadLock . cpp <nl> + ThreadLock_Win32 . cpp <nl> MMKVMetaInfo . hpp <nl> aes / AESCrypt . h <nl> aes / AESCrypt . cpp <nl> add_library ( core <nl> crc32 / zlib / crc32 . h <nl> crc32 / zlib / crc32 . cpp <nl> MMKVPredef . h <nl> - ThreadLock_Win32 . cpp InterProcessLock_Win32 . cpp <nl> ) <nl> <nl> target_include_directories ( core PUBLIC $ { CMAKE_CURRENT_SOURCE_DIR } ) <nl> mmm a / Core / CodedInputData . cpp <nl> ppp b / Core / CodedInputData . cpp <nl> bool CodedInputData : : readBool ( ) { <nl> return this - > readRawVarint32 ( ) ! = 0 ; <nl> } <nl> <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + <nl> string CodedInputData : : readString ( ) { <nl> int32_t size = this - > readRawVarint32 ( ) ; <nl> if ( size < = ( m_size - m_position ) & & size > 0 ) { <nl> string CodedInputData : : readString ( ) { <nl> } <nl> } <nl> <nl> + # endif <nl> + <nl> MMBuffer CodedInputData : : readData ( ) { <nl> int32_t size = this - > readRawVarint32 ( ) ; <nl> if ( size < 0 ) { <nl> int8_t CodedInputData : : readRawByte ( ) { <nl> } <nl> <nl> # ifdef MMKV_IOS_OR_MAC <nl> - NSString * CodedInputData : : readNSString ( ) { <nl> - int32_t size = this - > readRawVarint32 ( ) ; <nl> - if ( size < = ( m_size - m_position ) & & size > 0 ) { <nl> - NSString * result = <nl> - [ [ [ NSString alloc ] initWithBytes : ( m_ptr + m_position ) length : size encoding : NSUTF8StringEncoding ] <nl> - autorelease ] ; <nl> - m_position + = size ; <nl> - return result ; <nl> - } else if ( size = = 0 ) { <nl> - return @ " " ; <nl> - } else if ( size < 0 ) { <nl> - throw length_error ( " InvalidProtocolBuffer negativeSize " ) ; <nl> - } else { <nl> - throw out_of_range ( " InvalidProtocolBuffer truncatedMessage " ) ; <nl> - } <nl> - return nil ; <nl> - } <nl> - <nl> - NSData * CodedInputData : : readNSData ( ) { <nl> - int32_t size = this - > readRawVarint32 ( ) ; <nl> - if ( size < = m_size - m_position & & size > 0 ) { <nl> - NSData * result = [ NSData dataWithBytes : ( m_ptr + m_position ) length : size ] ; <nl> - m_position + = size ; <nl> - return result ; <nl> - } else if ( size < 0 ) { <nl> - throw length_error ( " InvalidProtocolBuffer negativeSize " ) ; <nl> - return nil ; <nl> - } <nl> - return nil ; <nl> - } <nl> # endif / / MMKV_IOS_OR_MAC <nl> <nl> } / / namespace mmkv <nl> mmm a / Core / CodedInputData . h <nl> ppp b / Core / CodedInputData . h <nl> class CodedInputData { <nl> <nl> int32_t readFixed32 ( ) ; <nl> <nl> - std : : string readString ( ) ; <nl> - <nl> MMBuffer readData ( ) ; <nl> <nl> - # ifdef MMKV_IOS_OR_MAC <nl> - NSString * readNSString ( ) ; <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + std : : string readString ( ) ; <nl> + # else <nl> + NSString * readString ( ) ; <nl> NSData * readNSData ( ) ; <nl> # endif <nl> } ; <nl> new file mode 100644 <nl> index 0000000 . . 64ed11d <nl> mmm / dev / null <nl> ppp b / Core / CodedInputData_OSX . cpp <nl> <nl> + / * <nl> + * Tencent is pleased to support the open source community by making <nl> + * MMKV available . <nl> + * <nl> + * Copyright ( C ) 2019 THL A29 Limited , a Tencent company . <nl> + * All rights reserved . <nl> + * <nl> + * Licensed under the BSD 3 - Clause License ( the " License " ) ; you may not use <nl> + * this file except in compliance with the License . You may obtain a copy of <nl> + * the License at <nl> + * <nl> + * https : / / opensource . org / licenses / BSD - 3 - Clause <nl> + * <nl> + * Unless required by applicable law or agreed to in writing , software <nl> + * distributed under the License is distributed on an " AS IS " BASIS , <nl> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + * See the License for the specific language governing permissions and <nl> + * limitations under the License . <nl> + * / <nl> + <nl> + # include " CodedInputData . h " <nl> + <nl> + # ifdef MMKV_IOS_OR_MAC <nl> + <nl> + # include " PBUtility . h " <nl> + # include < cassert > <nl> + # include < stdexcept > <nl> + <nl> + # if __has_feature ( objc_arc ) <nl> + # error This file must be compiled with MRC . Use - fno - objc - arc flag . <nl> + # endif <nl> + <nl> + using namespace std ; <nl> + <nl> + namespace mmkv { <nl> + <nl> + NSString * CodedInputData : : readString ( ) { <nl> + int32_t size = this - > readRawVarint32 ( ) ; <nl> + if ( size < = ( m_size - m_position ) & & size > 0 ) { <nl> + NSString * result = <nl> + [ [ [ NSString alloc ] initWithBytes : ( m_ptr + m_position ) length : size encoding : NSUTF8StringEncoding ] <nl> + autorelease ] ; <nl> + m_position + = size ; <nl> + return result ; <nl> + } else if ( size = = 0 ) { <nl> + return @ " " ; <nl> + } else if ( size < 0 ) { <nl> + throw length_error ( " InvalidProtocolBuffer negativeSize " ) ; <nl> + } else { <nl> + throw out_of_range ( " InvalidProtocolBuffer truncatedMessage " ) ; <nl> + } <nl> + return nil ; <nl> + } <nl> + <nl> + NSData * CodedInputData : : readNSData ( ) { <nl> + int32_t size = this - > readRawVarint32 ( ) ; <nl> + if ( size < = m_size - m_position & & size > 0 ) { <nl> + NSData * result = [ NSData dataWithBytes : ( m_ptr + m_position ) length : size ] ; <nl> + m_position + = size ; <nl> + return result ; <nl> + } else if ( size < 0 ) { <nl> + throw length_error ( " InvalidProtocolBuffer negativeSize " ) ; <nl> + return nil ; <nl> + } <nl> + return nil ; <nl> + } <nl> + <nl> + } / / namespace mmkv <nl> + <nl> + # endif / / MMKV_IOS_OR_MAC <nl> mmm a / Core / CodedOutputData . cpp <nl> ppp b / Core / CodedOutputData . cpp <nl> void CodedOutputData : : writeBool ( bool value ) { <nl> this - > writeRawByte ( static_cast < uint8_t > ( value ? 1 : 0 ) ) ; <nl> } <nl> <nl> + void CodedOutputData : : writeData ( const MMBuffer & value ) { <nl> + this - > writeRawVarint32 ( ( int32_t ) value . length ( ) ) ; <nl> + this - > writeRawData ( value ) ; <nl> + } <nl> + <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + <nl> void CodedOutputData : : writeString ( const string & value ) { <nl> size_t numberOfBytes = value . size ( ) ; <nl> if ( m_position + numberOfBytes > m_size ) { <nl> void CodedOutputData : : writeString ( const string & value ) { <nl> m_position + = numberOfBytes ; <nl> } <nl> <nl> - void CodedOutputData : : writeData ( const MMBuffer & value ) { <nl> - this - > writeRawVarint32 ( ( int32_t ) value . length ( ) ) ; <nl> - this - > writeRawData ( value ) ; <nl> - } <nl> - <nl> - # ifdef MMKV_IOS_OR_MAC <nl> - void CodedOutputData : : writeString ( __unsafe_unretained NSString * value ) { <nl> - NSUInteger numberOfBytes = [ value lengthOfBytesUsingEncoding : NSUTF8StringEncoding ] ; <nl> - this - > writeRawVarint32 ( ( int32_t ) numberOfBytes ) ; <nl> - [ value getBytes : m_ptr + m_position <nl> - maxLength : numberOfBytes <nl> - usedLength : 0 <nl> - encoding : NSUTF8StringEncoding <nl> - options : 0 <nl> - range : NSMakeRange ( 0 , value . length ) <nl> - remainingRange : nullptr ] ; <nl> - m_position + = numberOfBytes ; <nl> - } <nl> - # endif <nl> + # endif / / MMKV_IOS_OR_MAC <nl> <nl> size_t CodedOutputData : : spaceLeft ( ) { <nl> return int32_t ( m_size - m_position ) ; <nl> mmm a / Core / CodedOutputData . h <nl> ppp b / Core / CodedOutputData . h <nl> class CodedOutputData { <nl> <nl> void writeBool ( bool value ) ; <nl> <nl> - void writeString ( const std : : string & value ) ; <nl> - <nl> void writeData ( const MMBuffer & value ) ; <nl> <nl> - # ifdef MMKV_IOS_OR_MAC <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + void writeString ( const std : : string & value ) ; <nl> + # else <nl> void writeString ( __unsafe_unretained NSString * value ) ; <nl> # endif <nl> } ; <nl> new file mode 100644 <nl> index 0000000 . . 0b140e9 <nl> mmm / dev / null <nl> ppp b / Core / CodedOutputData_OSX . cpp <nl> <nl> + / * <nl> + * Tencent is pleased to support the open source community by making <nl> + * MMKV available . <nl> + * <nl> + * Copyright ( C ) 2019 THL A29 Limited , a Tencent company . <nl> + * All rights reserved . <nl> + * <nl> + * Licensed under the BSD 3 - Clause License ( the " License " ) ; you may not use <nl> + * this file except in compliance with the License . You may obtain a copy of <nl> + * the License at <nl> + * <nl> + * https : / / opensource . org / licenses / BSD - 3 - Clause <nl> + * <nl> + * Unless required by applicable law or agreed to in writing , software <nl> + * distributed under the License is distributed on an " AS IS " BASIS , <nl> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + * See the License for the specific language governing permissions and <nl> + * limitations under the License . <nl> + * / <nl> + <nl> + # include " CodedOutputData . h " <nl> + <nl> + # ifdef MMKV_IOS_OR_MAC <nl> + <nl> + # include " PBUtility . h " <nl> + # include < cassert > <nl> + # include < cstring > <nl> + # include < stdexcept > <nl> + <nl> + # if __has_feature ( objc_arc ) <nl> + # error This file must be compiled with MRC . Use - fno - objc - arc flag . <nl> + # endif <nl> + <nl> + using namespace std ; <nl> + <nl> + namespace mmkv { <nl> + <nl> + void CodedOutputData : : writeString ( __unsafe_unretained NSString * value ) { <nl> + NSUInteger numberOfBytes = [ value lengthOfBytesUsingEncoding : NSUTF8StringEncoding ] ; <nl> + this - > writeRawVarint32 ( ( int32_t ) numberOfBytes ) ; <nl> + [ value getBytes : m_ptr + m_position <nl> + maxLength : numberOfBytes <nl> + usedLength : 0 <nl> + encoding : NSUTF8StringEncoding <nl> + options : 0 <nl> + range : NSMakeRange ( 0 , value . length ) <nl> + remainingRange : nullptr ] ; <nl> + m_position + = numberOfBytes ; <nl> + } <nl> + <nl> + } / / namespace mmkv <nl> + <nl> + # endif / / MMKV_IOS_OR_MAC <nl> mmm a / Core / Core . xcodeproj / project . pbxproj <nl> ppp b / Core / Core . xcodeproj / project . pbxproj <nl> <nl> CB95642A23AB2FCF00ACCD39 / * MemoryFile . h in CopyFiles * / = { isa = PBXBuildFile ; fileRef = CB95640E23AB2E9100ACCD39 / * MemoryFile . h * / ; } ; <nl> CB95642B23AB2FDC00ACCD39 / * MMKVMetaInfo . hpp in CopyFiles * / = { isa = PBXBuildFile ; fileRef = CB9563EC23AB2E9100ACCD39 / * MMKVMetaInfo . hpp * / ; } ; <nl> CBD723BF23B5C22800D3CDAF / * MMKV_OSX . cpp in Sources * / = { isa = PBXBuildFile ; fileRef = CBD723BE23B5C22800D3CDAF / * MMKV_OSX . cpp * / ; settings = { COMPILER_FLAGS = " - fno - objc - arc " ; } ; } ; <nl> + CBD723F323B5E59800D3CDAF / * MemoryFile_OSX . cpp in Sources * / = { isa = PBXBuildFile ; fileRef = CBD723F223B5E59800D3CDAF / * MemoryFile_OSX . cpp * / ; } ; <nl> + CBD723F523B5E76200D3CDAF / * MiniPBCoder_OSX . cpp in Sources * / = { isa = PBXBuildFile ; fileRef = CBD723F423B5E76200D3CDAF / * MiniPBCoder_OSX . cpp * / ; settings = { COMPILER_FLAGS = " - fno - objc - arc " ; } ; } ; <nl> + CBD723F723B5FD9E00D3CDAF / * CodedInputData_OSX . cpp in Sources * / = { isa = PBXBuildFile ; fileRef = CBD723F623B5FD9E00D3CDAF / * CodedInputData_OSX . cpp * / ; settings = { COMPILER_FLAGS = " - fno - objc - arc " ; } ; } ; <nl> + CBD723F923B5FDBF00D3CDAF / * CodedOutputData_OSX . cpp in Sources * / = { isa = PBXBuildFile ; fileRef = CBD723F823B5FDBF00D3CDAF / * CodedOutputData_OSX . cpp * / ; settings = { COMPILER_FLAGS = " - fno - objc - arc " ; } ; } ; <nl> / * End PBXBuildFile section * / <nl> <nl> / * Begin PBXCopyFilesBuildPhase section * / <nl> <nl> CB95641123AB2E9100ACCD39 / * MMKVLog . cpp * / = { isa = PBXFileReference ; explicitFileType = sourcecode . cpp . objcpp ; fileEncoding = 4 ; path = MMKVLog . cpp ; sourceTree = " < group > " ; } ; <nl> CB95641223AB2E9100ACCD39 / * PBUtility . cpp * / = { isa = PBXFileReference ; explicitFileType = sourcecode . cpp . objcpp ; fileEncoding = 4 ; path = PBUtility . cpp ; sourceTree = " < group > " ; } ; <nl> CBD723BE23B5C22800D3CDAF / * MMKV_OSX . cpp * / = { isa = PBXFileReference ; explicitFileType = sourcecode . cpp . objcpp ; path = MMKV_OSX . cpp ; sourceTree = " < group > " ; } ; <nl> + CBD723F223B5E59800D3CDAF / * MemoryFile_OSX . cpp * / = { isa = PBXFileReference ; explicitFileType = sourcecode . cpp . objcpp . preprocessed ; path = MemoryFile_OSX . cpp ; sourceTree = " < group > " ; } ; <nl> + CBD723F423B5E76200D3CDAF / * MiniPBCoder_OSX . cpp * / = { isa = PBXFileReference ; explicitFileType = sourcecode . cpp . objcpp . preprocessed ; path = MiniPBCoder_OSX . cpp ; sourceTree = " < group > " ; } ; <nl> + CBD723F623B5FD9E00D3CDAF / * CodedInputData_OSX . cpp * / = { isa = PBXFileReference ; explicitFileType = sourcecode . cpp . objcpp . preprocessed ; path = CodedInputData_OSX . cpp ; sourceTree = " < group > " ; } ; <nl> + CBD723F823B5FDBF00D3CDAF / * CodedOutputData_OSX . cpp * / = { isa = PBXFileReference ; explicitFileType = sourcecode . cpp . objcpp . preprocessed ; path = CodedOutputData_OSX . cpp ; sourceTree = " < group > " ; } ; <nl> CBF3450323B4BABA00168AC7 / * libz . tbd * / = { isa = PBXFileReference ; lastKnownFileType = " sourcecode . text - based - dylib - definition " ; name = libz . tbd ; path = Platforms / MacOSX . platform / Developer / SDKs / MacOSX10 . 15 . sdk / usr / lib / libz . tbd ; sourceTree = DEVELOPER_DIR ; } ; <nl> / * End PBXFileReference section * / <nl> <nl> <nl> children = ( <nl> CB9563FC23AB2E9100ACCD39 / * aes * / , <nl> CB9563E523AB2E9100ACCD39 / * crc32 * / , <nl> + CBD723F623B5FD9E00D3CDAF / * CodedInputData_OSX . cpp * / , <nl> CB9563F923AB2E9100ACCD39 / * CodedInputData . cpp * / , <nl> CB9563E423AB2E9100ACCD39 / * CodedInputData . h * / , <nl> + CBD723F823B5FDBF00D3CDAF / * CodedOutputData_OSX . cpp * / , <nl> CB9563EF23AB2E9100ACCD39 / * CodedOutputData . cpp * / , <nl> CB95640C23AB2E9100ACCD39 / * CodedOutputData . h * / , <nl> CB95641023AB2E9100ACCD39 / * InterProcessLock . cpp * / , <nl> CB9563FB23AB2E9100ACCD39 / * InterProcessLock . h * / , <nl> + CBD723F223B5E59800D3CDAF / * MemoryFile_OSX . cpp * / , <nl> CB9563F023AB2E9100ACCD39 / * MemoryFile . cpp * / , <nl> CB95640E23AB2E9100ACCD39 / * MemoryFile . h * / , <nl> + CBD723F423B5E76200D3CDAF / * MiniPBCoder_OSX . cpp * / , <nl> CB9563F523AB2E9100ACCD39 / * MiniPBCoder . cpp * / , <nl> CB9563F123AB2E9100ACCD39 / * MiniPBCoder . h * / , <nl> CB9563F823AB2E9100ACCD39 / * MMBuffer . cpp * / , <nl> <nl> buildActionMask = 2147483647 ; <nl> files = ( <nl> CB95641823AB2E9100ACCD39 / * ThreadLock . cpp in Sources * / , <nl> + CBD723F323B5E59800D3CDAF / * MemoryFile_OSX . cpp in Sources * / , <nl> CB95641623AB2E9100ACCD39 / * MMKV . cpp in Sources * / , <nl> + CBD723F523B5E76200D3CDAF / * MiniPBCoder_OSX . cpp in Sources * / , <nl> CB95642023AB2E9100ACCD39 / * AESCrypt . cpp in Sources * / , <nl> CB95641D23AB2E9100ACCD39 / * openssl_aes_cfb . cpp in Sources * / , <nl> CB95641B23AB2E9100ACCD39 / * openssl_cfb128 . cpp in Sources * / , <nl> <nl> CB95641F23AB2E9100ACCD39 / * openssl_md5_dgst . cpp in Sources * / , <nl> CB95641523AB2E9100ACCD39 / * MemoryFile . cpp in Sources * / , <nl> CB95641A23AB2E9100ACCD39 / * CodedInputData . cpp in Sources * / , <nl> + CBD723F923B5FDBF00D3CDAF / * CodedOutputData_OSX . cpp in Sources * / , <nl> CB95642223AB2E9100ACCD39 / * MMKVLog . cpp in Sources * / , <nl> CB95642323AB2E9100ACCD39 / * PBUtility . cpp in Sources * / , <nl> CB95641723AB2E9100ACCD39 / * MiniPBCoder . cpp in Sources * / , <nl> CB95641E23AB2E9100ACCD39 / * openssl_md5_one . cpp in Sources * / , <nl> CB95641C23AB2E9100ACCD39 / * openssl_aes_core . cpp in Sources * / , <nl> CB95641923AB2E9100ACCD39 / * MMBuffer . cpp in Sources * / , <nl> + CBD723F723B5FD9E00D3CDAF / * CodedInputData_OSX . cpp in Sources * / , <nl> CBD723BF23B5C22800D3CDAF / * MMKV_OSX . cpp in Sources * / , <nl> CB95642123AB2E9100ACCD39 / * InterProcessLock . cpp in Sources * / , <nl> ) ; <nl> mmm a / Core / MMKV . cpp <nl> ppp b / Core / MMKV . cpp <nl> bool MMKV : : reKey ( const string & cryptKey ) { <nl> return false ; <nl> } <nl> <nl> + / / TODO : this looks like wrong after iv changes <nl> void MMKV : : checkReSetCryptKey ( const string * cryptKey ) { <nl> SCOPEDLOCK ( m_lock ) ; <nl> <nl> if ( m_crypter ) { <nl> - if ( cryptKey ) { <nl> + if ( cryptKey & & cryptKey - > length ( ) > 0 ) { <nl> string oldKey = this - > cryptKey ( ) ; <nl> if ( oldKey ! = * cryptKey ) { <nl> MMKVInfo ( " setting new aes key " ) ; <nl> void MMKV : : checkReSetCryptKey ( const string * cryptKey ) { <nl> checkLoadData ( ) ; <nl> } <nl> } else { <nl> - if ( cryptKey ) { <nl> + if ( cryptKey & & cryptKey - > length ( ) > 0 ) { <nl> MMKVInfo ( " setting new aes key " ) ; <nl> auto ptr = cryptKey - > data ( ) ; <nl> m_crypter = new AESCrypt ( ptr , cryptKey - > length ( ) ) ; <nl> void MMKV : : updateCRCDigest ( const uint8_t * ptr , size_t length ) { <nl> <nl> / / set & get <nl> <nl> - bool MMKV : : set ( const char * value , MMKV_KEY_TYPE key ) { <nl> - if ( ! value ) { <nl> - removeValueForKey ( key ) ; <nl> - return true ; <nl> - } <nl> - return set ( string ( value ) , key ) ; <nl> - } <nl> - <nl> - bool MMKV : : set ( const string & value , MMKV_KEY_TYPE key ) { <nl> - if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> - return false ; <nl> - } <nl> - auto data = MiniPBCoder : : encodeDataWithObject ( value ) ; <nl> - return setDataForKey ( std : : move ( data ) , key ) ; <nl> - } <nl> - <nl> - bool MMKV : : set ( const MMBuffer & value , MMKV_KEY_TYPE key ) { <nl> - if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> - return false ; <nl> - } <nl> - auto data = MiniPBCoder : : encodeDataWithObject ( value ) ; <nl> - return setDataForKey ( std : : move ( data ) , key ) ; <nl> - } <nl> - <nl> bool MMKV : : set ( bool value , MMKV_KEY_TYPE key ) { <nl> if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> return false ; <nl> bool MMKV : : set ( double value , MMKV_KEY_TYPE key ) { <nl> return setDataForKey ( std : : move ( data ) , key ) ; <nl> } <nl> <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + <nl> + bool MMKV : : set ( const char * value , MMKV_KEY_TYPE key ) { <nl> + if ( ! value ) { <nl> + removeValueForKey ( key ) ; <nl> + return true ; <nl> + } <nl> + return set ( string ( value ) , key ) ; <nl> + } <nl> + <nl> + bool MMKV : : set ( const string & value , MMKV_KEY_TYPE key ) { <nl> + if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> + return false ; <nl> + } <nl> + auto data = MiniPBCoder : : encodeDataWithObject ( value ) ; <nl> + return setDataForKey ( std : : move ( data ) , key ) ; <nl> + } <nl> + <nl> + bool MMKV : : set ( const MMBuffer & value , MMKV_KEY_TYPE key ) { <nl> + if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> + return false ; <nl> + } <nl> + auto data = MiniPBCoder : : encodeDataWithObject ( value ) ; <nl> + return setDataForKey ( std : : move ( data ) , key ) ; <nl> + } <nl> + <nl> bool MMKV : : set ( const vector < string > & v , MMKV_KEY_TYPE key ) { <nl> if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> return false ; <nl> MMBuffer MMKV : : getBytes ( MMKV_KEY_TYPE key ) { <nl> return MMBuffer ( 0 ) ; <nl> } <nl> <nl> + bool MMKV : : getVector ( MMKV_KEY_TYPE key , vector < string > & result ) { <nl> + if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> + return false ; <nl> + } <nl> + SCOPEDLOCK ( m_lock ) ; <nl> + auto & data = getDataForKey ( key ) ; <nl> + if ( data . length ( ) > 0 ) { <nl> + try { <nl> + result = MiniPBCoder : : decodeSet ( data ) ; <nl> + return true ; <nl> + } catch ( std : : exception & exception ) { <nl> + MMKVError ( " % s " , exception . what ( ) ) ; <nl> + } <nl> + } <nl> + return false ; <nl> + } <nl> + <nl> + # endif / / MMKV_IOS_OR_MAC <nl> + <nl> bool MMKV : : getBool ( MMKV_KEY_TYPE key , bool defaultValue ) { <nl> if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> return defaultValue ; <nl> double MMKV : : getDouble ( MMKV_KEY_TYPE key , double defaultValue ) { <nl> return defaultValue ; <nl> } <nl> <nl> - bool MMKV : : getVector ( MMKV_KEY_TYPE key , vector < string > & result ) { <nl> - if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> - return false ; <nl> - } <nl> - SCOPEDLOCK ( m_lock ) ; <nl> - auto & data = getDataForKey ( key ) ; <nl> - if ( data . length ( ) > 0 ) { <nl> - try { <nl> - result = MiniPBCoder : : decodeSet ( data ) ; <nl> - return true ; <nl> - } catch ( std : : exception & exception ) { <nl> - MMKVError ( " % s " , exception . what ( ) ) ; <nl> - } <nl> - } <nl> - return false ; <nl> - } <nl> - <nl> size_t MMKV : : getValueSize ( MMKV_KEY_TYPE key , bool actualSize ) { <nl> if ( MMKV_IS_KEY_EMPTY ( key ) ) { <nl> return 0 ; <nl> mmm a / Core / MMKV . h <nl> ppp b / Core / MMKV . h <nl> class MMKV { <nl> <nl> bool set ( double value , MMKV_KEY_TYPE key ) ; <nl> <nl> + / / avoid unexpected type conversion ( pointer to bool , etc ) <nl> + template < typename T > <nl> + bool set ( T value , MMKV_KEY_TYPE key ) = delete ; <nl> + <nl> + # ifdef MMKV_IOS_OR_MAC <nl> + bool set ( NSObject < NSCoding > * __unsafe_unretained obj , MMKV_KEY_TYPE key ) ; <nl> + <nl> + NSObject * getObject ( MMKV_KEY_TYPE key , Class cls ) ; <nl> + # else <nl> bool set ( const char * value , MMKV_KEY_TYPE key ) ; <nl> <nl> bool set ( const std : : string & value , MMKV_KEY_TYPE key ) ; <nl> class MMKV { <nl> <nl> bool set ( const std : : vector < std : : string > & vector , MMKV_KEY_TYPE key ) ; <nl> <nl> - / / avoid unexpected type conversion ( pointer to bool , etc ) <nl> - template < typename T > <nl> - bool set ( T value , MMKV_KEY_TYPE key ) = delete ; <nl> + bool getString ( MMKV_KEY_TYPE key , std : : string & result ) ; <nl> <nl> - # ifdef MMKV_IOS_OR_MAC <nl> - bool set ( NSObject < NSCoding > * __unsafe_unretained obj , MMKV_KEY_TYPE key ) ; <nl> + mmkv : : MMBuffer getBytes ( MMKV_KEY_TYPE key ) ; <nl> <nl> - NSObject * getObject ( MMKV_KEY_TYPE key , Class cls ) ; <nl> + bool getVector ( MMKV_KEY_TYPE key , std : : vector < std : : string > & result ) ; <nl> # endif <nl> <nl> bool getBool ( MMKV_KEY_TYPE key , bool defaultValue = false ) ; <nl> class MMKV { <nl> <nl> double getDouble ( MMKV_KEY_TYPE key , double defaultValue = 0 ) ; <nl> <nl> - bool getString ( MMKV_KEY_TYPE key , std : : string & result ) ; <nl> - <nl> - mmkv : : MMBuffer getBytes ( MMKV_KEY_TYPE key ) ; <nl> - <nl> - bool getVector ( MMKV_KEY_TYPE key , std : : vector < std : : string > & result ) ; <nl> - <nl> size_t getValueSize ( MMKV_KEY_TYPE key , bool acutalSize ) ; <nl> <nl> int32_t writeValueToBuffer ( MMKV_KEY_TYPE key , void * ptr , int32_t size ) ; <nl> mmm a / Core / MemoryFile . cpp <nl> ppp b / Core / MemoryFile . cpp <nl> int getPageSize ( ) { <nl> return getpagesize ( ) ; <nl> } <nl> <nl> - # ifdef MMKV_IOS <nl> - void tryResetFileProtection ( const string & path ) { <nl> - @ autoreleasepool { <nl> - NSString * nsPath = [ NSString stringWithUTF8String : path . c_str ( ) ] ; <nl> - NSDictionary * attr = [ [ NSFileManager defaultManager ] attributesOfItemAtPath : nsPath error : nullptr ] ; <nl> - NSString * protection = [ attr valueForKey : NSFileProtectionKey ] ; <nl> - MMKVInfo ( " protection on [ % @ ] is % @ " , nsPath , protection ) ; <nl> - if ( [ protection isEqualToString : NSFileProtectionCompleteUntilFirstUserAuthentication ] = = NO ) { <nl> - NSMutableDictionary * newAttr = [ NSMutableDictionary dictionaryWithDictionary : attr ] ; <nl> - [ newAttr setObject : NSFileProtectionCompleteUntilFirstUserAuthentication forKey : NSFileProtectionKey ] ; <nl> - NSError * err = nil ; <nl> - [ [ NSFileManager defaultManager ] setAttributes : newAttr ofItemAtPath : nsPath error : & err ] ; <nl> - if ( err ! = nil ) { <nl> - MMKVError ( " fail to set attribute % @ on [ % @ ] : % @ " , NSFileProtectionCompleteUntilFirstUserAuthentication , <nl> - nsPath , err ) ; <nl> - } <nl> - } <nl> - } <nl> - } <nl> - # endif <nl> - <nl> } / / namespace mmkv <nl> <nl> # endif / / MMKV_WIN32 <nl> new file mode 100644 <nl> index 0000000 . . 3235dc7 <nl> mmm / dev / null <nl> ppp b / Core / MemoryFile_OSX . cpp <nl> <nl> + / * <nl> + * Tencent is pleased to support the open source community by making <nl> + * MMKV available . <nl> + * <nl> + * Copyright ( C ) 2019 THL A29 Limited , a Tencent company . <nl> + * All rights reserved . <nl> + * <nl> + * Licensed under the BSD 3 - Clause License ( the " License " ) ; you may not use <nl> + * this file except in compliance with the License . You may obtain a copy of <nl> + * the License at <nl> + * <nl> + * https : / / opensource . org / licenses / BSD - 3 - Clause <nl> + * <nl> + * Unless required by applicable law or agreed to in writing , software <nl> + * distributed under the License is distributed on an " AS IS " BASIS , <nl> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + * See the License for the specific language governing permissions and <nl> + * limitations under the License . <nl> + * / <nl> + <nl> + # include " MemoryFile . h " <nl> + <nl> + # ifdef MMKV_IOS <nl> + <nl> + # include " MMKVLog . h " <nl> + <nl> + using namespace std ; <nl> + <nl> + namespace mmkv { <nl> + <nl> + void tryResetFileProtection ( const string & path ) { <nl> + @ autoreleasepool { <nl> + NSString * nsPath = [ NSString stringWithUTF8String : path . c_str ( ) ] ; <nl> + NSDictionary * attr = [ [ NSFileManager defaultManager ] attributesOfItemAtPath : nsPath error : nullptr ] ; <nl> + NSString * protection = [ attr valueForKey : NSFileProtectionKey ] ; <nl> + MMKVInfo ( " protection on [ % @ ] is % @ " , nsPath , protection ) ; <nl> + if ( [ protection isEqualToString : NSFileProtectionCompleteUntilFirstUserAuthentication ] = = NO ) { <nl> + NSMutableDictionary * newAttr = [ NSMutableDictionary dictionaryWithDictionary : attr ] ; <nl> + [ newAttr setObject : NSFileProtectionCompleteUntilFirstUserAuthentication forKey : NSFileProtectionKey ] ; <nl> + NSError * err = nil ; <nl> + [ [ NSFileManager defaultManager ] setAttributes : newAttr ofItemAtPath : nsPath error : & err ] ; <nl> + if ( err ! = nil ) { <nl> + MMKVError ( " fail to set attribute % @ on [ % @ ] : % @ " , NSFileProtectionCompleteUntilFirstUserAuthentication , <nl> + nsPath , err ) ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + <nl> + } / / namespace mmkv <nl> + <nl> + # endif / / MMKV_IOS <nl> mmm a / Core / MiniPBCoder . cpp <nl> ppp b / Core / MiniPBCoder . cpp <nl> void MiniPBCoder : : writeRootObject ( ) { <nl> for ( size_t index = 0 , total = m_encodeItems - > size ( ) ; index < total ; index + + ) { <nl> PBEncodeItem * encodeItem = & ( * m_encodeItems ) [ index ] ; <nl> switch ( encodeItem - > type ) { <nl> - case PBEncodeItemType_String : { <nl> - m_outputData - > writeString ( * ( encodeItem - > value . strValue ) ) ; <nl> - break ; <nl> - } <nl> case PBEncodeItemType_Data : { <nl> m_outputData - > writeData ( * ( encodeItem - > value . bufferValue ) ) ; <nl> break ; <nl> void MiniPBCoder : : writeRootObject ( ) { <nl> m_outputData - > writeRawVarint32 ( encodeItem - > valueSize ) ; <nl> break ; <nl> } <nl> - # ifdef MMKV_IOS_OR_MAC <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + case PBEncodeItemType_String : { <nl> + m_outputData - > writeString ( * ( encodeItem - > value . strValue ) ) ; <nl> + break ; <nl> + } <nl> + # else <nl> case PBEncodeItemType_NSString : { <nl> m_outputData - > writeRawVarint32 ( encodeItem - > valueSize ) ; <nl> if ( encodeItem - > valueSize > 0 & & encodeItem - > value . tmpObjectValue ! = nullptr ) { <nl> void MiniPBCoder : : writeRootObject ( ) { <nl> } <nl> } <nl> <nl> - size_t MiniPBCoder : : prepareObjectForEncode ( const string & str ) { <nl> - m_encodeItems - > push_back ( PBEncodeItem ( ) ) ; <nl> - PBEncodeItem * encodeItem = & ( m_encodeItems - > back ( ) ) ; <nl> - size_t index = m_encodeItems - > size ( ) - 1 ; <nl> - { <nl> - encodeItem - > type = PBEncodeItemType_String ; <nl> - encodeItem - > value . strValue = & str ; <nl> - encodeItem - > valueSize = static_cast < int32_t > ( str . size ( ) ) ; <nl> - } <nl> - encodeItem - > compiledSize = pbRawVarint32Size ( encodeItem - > valueSize ) + encodeItem - > valueSize ; <nl> - <nl> - return index ; <nl> - } <nl> - <nl> size_t MiniPBCoder : : prepareObjectForEncode ( const MMBuffer & buffer ) { <nl> m_encodeItems - > push_back ( PBEncodeItem ( ) ) ; <nl> PBEncodeItem * encodeItem = & ( m_encodeItems - > back ( ) ) ; <nl> size_t MiniPBCoder : : prepareObjectForEncode ( const MMBuffer & buffer ) { <nl> return index ; <nl> } <nl> <nl> - size_t MiniPBCoder : : prepareObjectForEncode ( const vector < string > & v ) { <nl> - m_encodeItems - > push_back ( PBEncodeItem ( ) ) ; <nl> - PBEncodeItem * encodeItem = & ( m_encodeItems - > back ( ) ) ; <nl> - size_t index = m_encodeItems - > size ( ) - 1 ; <nl> - { <nl> - encodeItem - > type = PBEncodeItemType_Container ; <nl> - encodeItem - > value . strValue = nullptr ; <nl> - <nl> - for ( const auto & str : v ) { <nl> - size_t itemIndex = prepareObjectForEncode ( str ) ; <nl> - if ( itemIndex < m_encodeItems - > size ( ) ) { <nl> - ( * m_encodeItems ) [ index ] . valueSize + = ( * m_encodeItems ) [ itemIndex ] . compiledSize ; <nl> - } <nl> - } <nl> - <nl> - encodeItem = & ( * m_encodeItems ) [ index ] ; <nl> - } <nl> - encodeItem - > compiledSize = pbRawVarint32Size ( encodeItem - > valueSize ) + encodeItem - > valueSize ; <nl> - <nl> - return index ; <nl> - } <nl> - <nl> size_t MiniPBCoder : : prepareObjectForEncode ( const MMKVMap & map ) { <nl> m_encodeItems - > push_back ( PBEncodeItem ( ) ) ; <nl> PBEncodeItem * encodeItem = & ( m_encodeItems - > back ( ) ) ; <nl> size_t index = m_encodeItems - > size ( ) - 1 ; <nl> { <nl> encodeItem - > type = PBEncodeItemType_Container ; <nl> - encodeItem - > value . strValue = nullptr ; <nl> + encodeItem - > value . bufferValue = nullptr ; <nl> <nl> for ( const auto & itr : map ) { <nl> const auto & key = itr . first ; <nl> size_t MiniPBCoder : : prepareObjectForEncode ( const MMKVMap & map ) { <nl> return index ; <nl> } <nl> <nl> - # ifdef MMKV_IOS_OR_MAC <nl> + MMBuffer MiniPBCoder : : getEncodeData ( const MMKVMap & map ) { <nl> + m_encodeItems = new vector < PBEncodeItem > ( ) ; <nl> + size_t index = prepareObjectForEncode ( map ) ; <nl> + PBEncodeItem * oItem = ( index < m_encodeItems - > size ( ) ) ? & ( * m_encodeItems ) [ index ] : nullptr ; <nl> + if ( oItem & & oItem - > compiledSize > 0 ) { <nl> + m_outputBuffer = new MMBuffer ( oItem - > compiledSize ) ; <nl> + m_outputData = new CodedOutputData ( m_outputBuffer - > getPtr ( ) , m_outputBuffer - > length ( ) ) ; <nl> <nl> - size_t MiniPBCoder : : prepareObjectForEncode ( __unsafe_unretained NSObject * obj ) { <nl> - if ( ! obj ) { <nl> - return m_encodeItems - > size ( ) ; <nl> + writeRootObject ( ) ; <nl> } <nl> + <nl> + return std : : move ( * m_outputBuffer ) ; <nl> + } <nl> + <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + <nl> + size_t MiniPBCoder : : prepareObjectForEncode ( const string & str ) { <nl> m_encodeItems - > push_back ( PBEncodeItem ( ) ) ; <nl> PBEncodeItem * encodeItem = & ( m_encodeItems - > back ( ) ) ; <nl> size_t index = m_encodeItems - > size ( ) - 1 ; <nl> - <nl> - if ( [ obj isKindOfClass : [ NSString class ] ] ) { <nl> - NSString * str = ( NSString * ) obj ; <nl> - encodeItem - > type = PBEncodeItemType_NSString ; <nl> - NSData * buffer = [ [ str dataUsingEncoding : NSUTF8StringEncoding ] retain ] ; <nl> - encodeItem - > value . tmpObjectValue = ( __bridge void * ) buffer ; <nl> - encodeItem - > valueSize = static_cast < int32_t > ( buffer . length ) ; <nl> - } else if ( [ obj isKindOfClass : [ NSDate class ] ] ) { <nl> - NSDate * oDate = ( NSDate * ) obj ; <nl> - encodeItem - > type = PBEncodeItemType_NSDate ; <nl> - encodeItem - > value . objectValue = ( __bridge void * ) oDate ; <nl> - encodeItem - > valueSize = pbDoubleSize ( oDate . timeIntervalSince1970 ) ; <nl> - encodeItem - > compiledSize = encodeItem - > valueSize ; <nl> - return index ; / / double has fixed compilesize <nl> - } else if ( [ obj isKindOfClass : [ NSData class ] ] ) { <nl> - NSData * oData = ( NSData * ) obj ; <nl> - encodeItem - > type = PBEncodeItemType_NSData ; <nl> - encodeItem - > value . objectValue = ( __bridge void * ) oData ; <nl> - encodeItem - > valueSize = static_cast < int32_t > ( oData . length ) ; <nl> - } else { <nl> - m_encodeItems - > pop_back ( ) ; <nl> - MMKVError ( " % @ not recognized " , NSStringFromClass ( obj . class ) ) ; <nl> - return m_encodeItems - > size ( ) ; <nl> + { <nl> + encodeItem - > type = PBEncodeItemType_String ; <nl> + encodeItem - > value . strValue = & str ; <nl> + encodeItem - > valueSize = static_cast < int32_t > ( str . size ( ) ) ; <nl> } <nl> encodeItem - > compiledSize = pbRawVarint32Size ( encodeItem - > valueSize ) + encodeItem - > valueSize ; <nl> <nl> return index ; <nl> } <nl> <nl> - MMBuffer MiniPBCoder : : getEncodeData ( __unsafe_unretained NSObject * obj ) { <nl> - m_encodeItems = new vector < PBEncodeItem > ( ) ; <nl> - size_t index = prepareObjectForEncode ( obj ) ; <nl> - PBEncodeItem * oItem = ( index < m_encodeItems - > size ( ) ) ? & ( * m_encodeItems ) [ index ] : nullptr ; <nl> - if ( oItem & & oItem - > compiledSize > 0 ) { <nl> - m_outputBuffer = new MMBuffer ( oItem - > compiledSize ) ; <nl> - m_outputData = new CodedOutputData ( m_outputBuffer - > getPtr ( ) , m_outputBuffer - > length ( ) ) ; <nl> + size_t MiniPBCoder : : prepareObjectForEncode ( const vector < string > & v ) { <nl> + m_encodeItems - > push_back ( PBEncodeItem ( ) ) ; <nl> + PBEncodeItem * encodeItem = & ( m_encodeItems - > back ( ) ) ; <nl> + size_t index = m_encodeItems - > size ( ) - 1 ; <nl> + { <nl> + encodeItem - > type = PBEncodeItemType_Container ; <nl> + encodeItem - > value . bufferValue = nullptr ; <nl> <nl> - writeRootObject ( ) ; <nl> + for ( const auto & str : v ) { <nl> + size_t itemIndex = prepareObjectForEncode ( str ) ; <nl> + if ( itemIndex < m_encodeItems - > size ( ) ) { <nl> + ( * m_encodeItems ) [ index ] . valueSize + = ( * m_encodeItems ) [ itemIndex ] . compiledSize ; <nl> + } <nl> + } <nl> + <nl> + encodeItem = & ( * m_encodeItems ) [ index ] ; <nl> } <nl> + encodeItem - > compiledSize = pbRawVarint32Size ( encodeItem - > valueSize ) + encodeItem - > valueSize ; <nl> <nl> - return move ( * m_outputBuffer ) ; <nl> + return index ; <nl> } <nl> <nl> - # endif / / MMKV_IOS_OR_MAC <nl> - <nl> MMBuffer MiniPBCoder : : getEncodeData ( const string & str ) { <nl> m_encodeItems = new vector < PBEncodeItem > ( ) ; <nl> size_t index = prepareObjectForEncode ( str ) ; <nl> MMBuffer MiniPBCoder : : getEncodeData ( const vector < string > & v ) { <nl> return move ( * m_outputBuffer ) ; <nl> } <nl> <nl> - MMBuffer MiniPBCoder : : getEncodeData ( const MMKVMap & map ) { <nl> - m_encodeItems = new vector < PBEncodeItem > ( ) ; <nl> - size_t index = prepareObjectForEncode ( map ) ; <nl> - PBEncodeItem * oItem = ( index < m_encodeItems - > size ( ) ) ? & ( * m_encodeItems ) [ index ] : nullptr ; <nl> - if ( oItem & & oItem - > compiledSize > 0 ) { <nl> - m_outputBuffer = new MMBuffer ( oItem - > compiledSize ) ; <nl> - m_outputData = new CodedOutputData ( m_outputBuffer - > getPtr ( ) , m_outputBuffer - > length ( ) ) ; <nl> - <nl> - writeRootObject ( ) ; <nl> - } <nl> - <nl> - return std : : move ( * m_outputBuffer ) ; <nl> - } <nl> - <nl> - / / decode <nl> - <nl> string MiniPBCoder : : decodeOneString ( ) { <nl> return m_inputData - > readString ( ) ; <nl> } <nl> void MiniPBCoder : : decodeOneMap ( MMKVMap & dic , size_t size , bool greedy ) { <nl> unused ( length ) ; <nl> } <nl> while ( ! m_inputData - > isAtEnd ( ) ) { <nl> - # ifdef MMKV_IOS_OR_MAC <nl> - const auto & key = m_inputData - > readNSString ( ) ; <nl> - if ( key . length > 0 ) { <nl> - auto value = m_inputData - > readData ( ) ; <nl> - if ( value . length ( ) > 0 ) { <nl> - dictionary [ key ] = move ( value ) ; <nl> - [ key retain ] ; <nl> - } else { <nl> - auto itr = dictionary . find ( key ) ; <nl> - if ( itr ! = dictionary . end ( ) ) { <nl> - dictionary . erase ( itr ) ; <nl> - [ itr - > first release ] ; <nl> - } <nl> - } <nl> - } <nl> - # else <nl> const auto & key = m_inputData - > readString ( ) ; <nl> if ( key . length ( ) > 0 ) { <nl> auto value = m_inputData - > readData ( ) ; <nl> void MiniPBCoder : : decodeOneMap ( MMKVMap & dic , size_t size , bool greedy ) { <nl> dictionary . erase ( key ) ; <nl> } <nl> } <nl> - # endif <nl> } <nl> } ; <nl> <nl> void MiniPBCoder : : decodeOneMap ( MMKVMap & dic , size_t size , bool greedy ) { <nl> MMKVMap tmpDic ; <nl> block ( tmpDic ) ; <nl> dic . swap ( tmpDic ) ; <nl> - # ifdef MMKV_IOS_OR_MAC <nl> - for ( auto & pair : tmpDic ) { <nl> - [ pair . first release ] ; <nl> - } <nl> - # endif <nl> } catch ( std : : exception & exception ) { <nl> MMKVError ( " % s " , exception . what ( ) ) ; <nl> } <nl> MMBuffer MiniPBCoder : : decodeBytes ( const MMBuffer & oData ) { <nl> return oCoder . decodeOneBytes ( ) ; <nl> } <nl> <nl> - void MiniPBCoder : : decodeMap ( MMKVMap & dic , const MMBuffer & oData , size_t size ) { <nl> - MiniPBCoder oCoder ( & oData ) ; <nl> - oCoder . decodeOneMap ( dic , size , false ) ; <nl> - } <nl> - <nl> - void MiniPBCoder : : greedyDecodeMap ( MMKVMap & dic , const MMBuffer & oData , size_t size ) { <nl> - MiniPBCoder oCoder ( & oData ) ; <nl> - oCoder . decodeOneMap ( dic , size , true ) ; <nl> - } <nl> - <nl> vector < string > MiniPBCoder : : decodeSet ( const MMBuffer & oData ) { <nl> MiniPBCoder oCoder ( & oData ) ; <nl> return oCoder . decodeOneSet ( ) ; <nl> } <nl> <nl> - # ifdef MMKV_IOS_OR_MAC <nl> - <nl> - NSObject * MiniPBCoder : : decodeObject ( const MMBuffer & oData , Class cls ) { <nl> - if ( ! cls | | oData . length ( ) = = 0 ) { <nl> - return nil ; <nl> - } <nl> - CodedInputData input ( oData . getPtr ( ) , static_cast < int32_t > ( oData . length ( ) ) ) ; <nl> - if ( cls = = [ NSString class ] ) { <nl> - return input . readNSString ( ) ; <nl> - } else if ( cls = = [ NSMutableString class ] ) { <nl> - return [ NSMutableString stringWithString : input . readNSString ( ) ] ; <nl> - } else if ( cls = = [ NSData class ] ) { <nl> - return input . readNSData ( ) ; <nl> - } else if ( cls = = [ NSMutableData class ] ) { <nl> - return [ NSMutableData dataWithData : input . readNSData ( ) ] ; <nl> - } else if ( cls = = [ NSDate class ] ) { <nl> - return [ NSDate dateWithTimeIntervalSince1970 : input . readDouble ( ) ] ; <nl> - } else { <nl> - MMKVError ( " % @ not recognized " , NSStringFromClass ( cls ) ) ; <nl> - } <nl> - <nl> - return nil ; <nl> - } <nl> - <nl> - bool MiniPBCoder : : isCompatibleObject ( NSObject * obj ) { <nl> - if ( [ obj isKindOfClass : [ NSString class ] ] ) { <nl> - return true ; <nl> - } <nl> - if ( [ obj isKindOfClass : [ NSData class ] ] ) { <nl> - return true ; <nl> - } <nl> - if ( [ obj isKindOfClass : [ NSDate class ] ] ) { <nl> - return true ; <nl> - } <nl> + # endif / / MMKV_IOS_OR_MAC <nl> <nl> - return false ; <nl> + void MiniPBCoder : : decodeMap ( MMKVMap & dic , const MMBuffer & oData , size_t size ) { <nl> + MiniPBCoder oCoder ( & oData ) ; <nl> + oCoder . decodeOneMap ( dic , size , false ) ; <nl> } <nl> <nl> - bool MiniPBCoder : : isCompatibleClass ( Class cls ) { <nl> - if ( cls = = [ NSString class ] ) { <nl> - return true ; <nl> - } <nl> - if ( cls = = [ NSMutableString class ] ) { <nl> - return true ; <nl> - } <nl> - if ( cls = = [ NSData class ] ) { <nl> - return true ; <nl> - } <nl> - if ( cls = = [ NSMutableData class ] ) { <nl> - return true ; <nl> - } <nl> - if ( cls = = [ NSDate class ] ) { <nl> - return true ; <nl> - } <nl> - <nl> - return false ; <nl> + void MiniPBCoder : : greedyDecodeMap ( MMKVMap & dic , const MMBuffer & oData , size_t size ) { <nl> + MiniPBCoder oCoder ( & oData ) ; <nl> + oCoder . decodeOneMap ( dic , size , true ) ; <nl> } <nl> <nl> - # endif / / MMKV_IOS_OR_MAC <nl> - <nl> } / / namespace mmkv <nl> mmm a / Core / MiniPBCoder . h <nl> ppp b / Core / MiniPBCoder . h <nl> class MiniPBCoder { <nl> ~ MiniPBCoder ( ) ; <nl> <nl> void writeRootObject ( ) ; <nl> - size_t prepareObjectForEncode ( const std : : string & str ) ; <nl> + <nl> + size_t prepareObjectForEncode ( const MMKVMap & map ) ; <nl> size_t prepareObjectForEncode ( const MMBuffer & buffer ) ; <nl> + <nl> + MMBuffer getEncodeData ( const MMKVMap & map ) ; <nl> + <nl> + void decodeOneMap ( MMKVMap & dic , size_t size , bool greedy ) ; <nl> + <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + size_t prepareObjectForEncode ( const std : : string & str ) ; <nl> size_t prepareObjectForEncode ( const std : : vector < std : : string > & vector ) ; <nl> - size_t prepareObjectForEncode ( const MMKVMap & map ) ; <nl> <nl> MMBuffer getEncodeData ( const std : : string & str ) ; <nl> MMBuffer getEncodeData ( const MMBuffer & buffer ) ; <nl> MMBuffer getEncodeData ( const std : : vector < std : : string > & vector ) ; <nl> - MMBuffer getEncodeData ( const MMKVMap & map ) ; <nl> <nl> std : : string decodeOneString ( ) ; <nl> MMBuffer decodeOneBytes ( ) ; <nl> std : : vector < std : : string > decodeOneSet ( ) ; <nl> - void decodeOneMap ( MMKVMap & dic , size_t size , bool greedy ) ; <nl> - <nl> - # ifdef MMKV_IOS_OR_MAC <nl> + # else <nl> / / NSString , NSData , NSDate <nl> size_t prepareObjectForEncode ( __unsafe_unretained NSObject * obj ) ; <nl> MMBuffer getEncodeData ( __unsafe_unretained NSObject * obj ) ; <nl> class MiniPBCoder { <nl> } <nl> } <nl> <nl> - static std : : string decodeString ( const MMBuffer & oData ) ; <nl> - <nl> - static MMBuffer decodeBytes ( const MMBuffer & oData ) ; <nl> - <nl> - static std : : vector < std : : string > decodeSet ( const MMBuffer & oData ) ; <nl> - <nl> / / return empty result if there ' s any error <nl> static void decodeMap ( MMKVMap & dic , const MMBuffer & oData , size_t size = 0 ) ; <nl> <nl> / / decode as much data as possible before any error happens <nl> static void greedyDecodeMap ( MMKVMap & dic , const MMBuffer & oData , size_t size = 0 ) ; <nl> <nl> - # ifdef MMKV_IOS_OR_MAC <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + static std : : string decodeString ( const MMBuffer & oData ) ; <nl> + <nl> + static MMBuffer decodeBytes ( const MMBuffer & oData ) ; <nl> + <nl> + static std : : vector < std : : string > decodeSet ( const MMBuffer & oData ) ; <nl> + # else <nl> / / NSString , NSData , NSDate <nl> static NSObject * decodeObject ( const MMBuffer & oData , Class cls ) ; <nl> <nl> new file mode 100644 <nl> index 0000000 . . f181448 <nl> mmm / dev / null <nl> ppp b / Core / MiniPBCoder_OSX . cpp <nl> <nl> + / * <nl> + * Tencent is pleased to support the open source community by making <nl> + * MMKV available . <nl> + * <nl> + * Copyright ( C ) 2019 THL A29 Limited , a Tencent company . <nl> + * All rights reserved . <nl> + * <nl> + * Licensed under the BSD 3 - Clause License ( the " License " ) ; you may not use <nl> + * this file except in compliance with the License . You may obtain a copy of <nl> + * the License at <nl> + * <nl> + * https : / / opensource . org / licenses / BSD - 3 - Clause <nl> + * <nl> + * Unless required by applicable law or agreed to in writing , software <nl> + * distributed under the License is distributed on an " AS IS " BASIS , <nl> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND , either express or implied . <nl> + * See the License for the specific language governing permissions and <nl> + * limitations under the License . <nl> + * / <nl> + <nl> + # include " MiniPBCoder . h " <nl> + <nl> + # ifdef MMKV_IOS_OR_MAC <nl> + <nl> + # include " CodedInputData . h " <nl> + # include " CodedOutputData . h " <nl> + # include " MMBuffer . h " <nl> + # include " PBEncodeItem . hpp " <nl> + # include " PBUtility . h " <nl> + # include < string > <nl> + # include < vector > <nl> + <nl> + # if __has_feature ( objc_arc ) <nl> + # error This file must be compiled with MRC . Use - fno - objc - arc flag . <nl> + # endif <nl> + <nl> + using namespace std ; <nl> + <nl> + namespace mmkv { <nl> + <nl> + size_t MiniPBCoder : : prepareObjectForEncode ( __unsafe_unretained NSObject * obj ) { <nl> + if ( ! obj ) { <nl> + return m_encodeItems - > size ( ) ; <nl> + } <nl> + m_encodeItems - > push_back ( PBEncodeItem ( ) ) ; <nl> + PBEncodeItem * encodeItem = & ( m_encodeItems - > back ( ) ) ; <nl> + size_t index = m_encodeItems - > size ( ) - 1 ; <nl> + <nl> + if ( [ obj isKindOfClass : [ NSString class ] ] ) { <nl> + NSString * str = ( NSString * ) obj ; <nl> + encodeItem - > type = PBEncodeItemType_NSString ; <nl> + NSData * buffer = [ [ str dataUsingEncoding : NSUTF8StringEncoding ] retain ] ; <nl> + encodeItem - > value . tmpObjectValue = ( __bridge void * ) buffer ; <nl> + encodeItem - > valueSize = static_cast < int32_t > ( buffer . length ) ; <nl> + } else if ( [ obj isKindOfClass : [ NSDate class ] ] ) { <nl> + NSDate * oDate = ( NSDate * ) obj ; <nl> + encodeItem - > type = PBEncodeItemType_NSDate ; <nl> + encodeItem - > value . objectValue = ( __bridge void * ) oDate ; <nl> + encodeItem - > valueSize = pbDoubleSize ( oDate . timeIntervalSince1970 ) ; <nl> + encodeItem - > compiledSize = encodeItem - > valueSize ; <nl> + return index ; / / double has fixed compilesize <nl> + } else if ( [ obj isKindOfClass : [ NSData class ] ] ) { <nl> + NSData * oData = ( NSData * ) obj ; <nl> + encodeItem - > type = PBEncodeItemType_NSData ; <nl> + encodeItem - > value . objectValue = ( __bridge void * ) oData ; <nl> + encodeItem - > valueSize = static_cast < int32_t > ( oData . length ) ; <nl> + } else { <nl> + m_encodeItems - > pop_back ( ) ; <nl> + MMKVError ( " % @ not recognized " , NSStringFromClass ( obj . class ) ) ; <nl> + return m_encodeItems - > size ( ) ; <nl> + } <nl> + encodeItem - > compiledSize = pbRawVarint32Size ( encodeItem - > valueSize ) + encodeItem - > valueSize ; <nl> + <nl> + return index ; <nl> + } <nl> + <nl> + void MiniPBCoder : : decodeOneMap ( MMKVMap & dic , size_t size , bool greedy ) { <nl> + auto block = [ size , this ] ( MMKVMap & dictionary ) { <nl> + if ( size = = 0 ) { <nl> + auto length = m_inputData - > readInt32 ( ) ; <nl> + unused ( length ) ; <nl> + } <nl> + while ( ! m_inputData - > isAtEnd ( ) ) { <nl> + const auto & key = m_inputData - > readString ( ) ; <nl> + if ( key . length > 0 ) { <nl> + auto value = m_inputData - > readData ( ) ; <nl> + if ( value . length ( ) > 0 ) { <nl> + dictionary [ key ] = move ( value ) ; <nl> + [ key retain ] ; <nl> + } else { <nl> + auto itr = dictionary . find ( key ) ; <nl> + if ( itr ! = dictionary . end ( ) ) { <nl> + dictionary . erase ( itr ) ; <nl> + [ itr - > first release ] ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + } ; <nl> + <nl> + if ( greedy ) { <nl> + try { <nl> + block ( dic ) ; <nl> + } catch ( std : : exception & exception ) { <nl> + MMKVError ( " % s " , exception . what ( ) ) ; <nl> + } <nl> + } else { <nl> + try { <nl> + MMKVMap tmpDic ; <nl> + block ( tmpDic ) ; <nl> + dic . swap ( tmpDic ) ; <nl> + for ( auto & pair : tmpDic ) { <nl> + [ pair . first release ] ; <nl> + } <nl> + } catch ( std : : exception & exception ) { <nl> + MMKVError ( " % s " , exception . what ( ) ) ; <nl> + } <nl> + } <nl> + } <nl> + <nl> + MMBuffer MiniPBCoder : : getEncodeData ( __unsafe_unretained NSObject * obj ) { <nl> + m_encodeItems = new vector < PBEncodeItem > ( ) ; <nl> + size_t index = prepareObjectForEncode ( obj ) ; <nl> + PBEncodeItem * oItem = ( index < m_encodeItems - > size ( ) ) ? & ( * m_encodeItems ) [ index ] : nullptr ; <nl> + if ( oItem & & oItem - > compiledSize > 0 ) { <nl> + m_outputBuffer = new MMBuffer ( oItem - > compiledSize ) ; <nl> + m_outputData = new CodedOutputData ( m_outputBuffer - > getPtr ( ) , m_outputBuffer - > length ( ) ) ; <nl> + <nl> + writeRootObject ( ) ; <nl> + } <nl> + <nl> + return move ( * m_outputBuffer ) ; <nl> + } <nl> + <nl> + NSObject * MiniPBCoder : : decodeObject ( const MMBuffer & oData , Class cls ) { <nl> + if ( ! cls | | oData . length ( ) = = 0 ) { <nl> + return nil ; <nl> + } <nl> + CodedInputData input ( oData . getPtr ( ) , static_cast < int32_t > ( oData . length ( ) ) ) ; <nl> + if ( cls = = [ NSString class ] ) { <nl> + return input . readString ( ) ; <nl> + } else if ( cls = = [ NSMutableString class ] ) { <nl> + return [ NSMutableString stringWithString : input . readString ( ) ] ; <nl> + } else if ( cls = = [ NSData class ] ) { <nl> + return input . readNSData ( ) ; <nl> + } else if ( cls = = [ NSMutableData class ] ) { <nl> + return [ NSMutableData dataWithData : input . readNSData ( ) ] ; <nl> + } else if ( cls = = [ NSDate class ] ) { <nl> + return [ NSDate dateWithTimeIntervalSince1970 : input . readDouble ( ) ] ; <nl> + } else { <nl> + MMKVError ( " % @ not recognized " , NSStringFromClass ( cls ) ) ; <nl> + } <nl> + <nl> + return nil ; <nl> + } <nl> + <nl> + bool MiniPBCoder : : isCompatibleObject ( NSObject * obj ) { <nl> + if ( [ obj isKindOfClass : [ NSString class ] ] ) { <nl> + return true ; <nl> + } <nl> + if ( [ obj isKindOfClass : [ NSData class ] ] ) { <nl> + return true ; <nl> + } <nl> + if ( [ obj isKindOfClass : [ NSDate class ] ] ) { <nl> + return true ; <nl> + } <nl> + <nl> + return false ; <nl> + } <nl> + <nl> + bool MiniPBCoder : : isCompatibleClass ( Class cls ) { <nl> + if ( cls = = [ NSString class ] ) { <nl> + return true ; <nl> + } <nl> + if ( cls = = [ NSMutableString class ] ) { <nl> + return true ; <nl> + } <nl> + if ( cls = = [ NSData class ] ) { <nl> + return true ; <nl> + } <nl> + if ( cls = = [ NSMutableData class ] ) { <nl> + return true ; <nl> + } <nl> + if ( cls = = [ NSDate class ] ) { <nl> + return true ; <nl> + } <nl> + <nl> + return false ; <nl> + } <nl> + <nl> + } / / namespace mmkv <nl> + <nl> + # endif / / MMKV_IOS_OR_MAC <nl> mmm a / Core / PBEncodeItem . hpp <nl> ppp b / Core / PBEncodeItem . hpp <nl> namespace mmkv { <nl> <nl> enum PBEncodeItemType { <nl> PBEncodeItemType_None , <nl> - PBEncodeItemType_String , <nl> PBEncodeItemType_Data , <nl> PBEncodeItemType_Container , <nl> - # ifdef MMKV_IOS_OR_MAC <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + PBEncodeItemType_String , <nl> + # else <nl> PBEncodeItemType_NSString , <nl> PBEncodeItemType_NSData , <nl> PBEncodeItemType_NSDate , <nl> struct PBEncodeItem { <nl> uint32_t compiledSize ; <nl> uint32_t valueSize ; <nl> union { <nl> - const std : : string * strValue ; <nl> const MMBuffer * bufferValue ; <nl> - # ifdef MMKV_IOS_OR_MAC <nl> + # ifndef MMKV_IOS_OR_MAC <nl> + const std : : string * strValue ; <nl> + # else <nl> void * objectValue ; <nl> void * tmpObjectValue ; / / this object should release on dealloc <nl> # endif <nl> mmm a / iOS / MMKV / MMKV / MMKV . h <nl> ppp b / iOS / MMKV / MMKV / MMKV . h <nl> NS_ASSUME_NONNULL_BEGIN <nl> / / / @ param relativePath custom path of the file , ` NSDocumentDirectory / mmkv ` by default <nl> + ( nullable instancetype ) mmkvWithID : ( NSString * ) mmapID cryptKey : ( nullable NSData * ) cryptKey relativePath : ( nullable NSString * ) relativePath NS_SWIFT_NAME ( init ( mmapID : cryptKey : relativePath : ) ) ; <nl> <nl> + / / call this on applicationWillTerminate , it is fine if you don ' t call <nl> + + ( void ) onExit ; <nl> + <nl> + ( NSString * ) mmkvBasePath ; <nl> <nl> / / if you want to change the base path , do it BEFORE getting any MMKV instance <nl> NS_ASSUME_NONNULL_BEGIN <nl> - ( BOOL ) reKey : ( nullable NSData * ) newKey NS_SWIFT_NAME ( reset ( cryptKey : ) ) ; <nl> - ( nullable NSData * ) cryptKey ; <nl> <nl> + / / just reset cryptKey ( will not encrypt or decrypt anything ) <nl> + / / usually you should call this method after other process reKey ( ) the inter - process mmkv <nl> + - ( void ) checkReSetCryptKey : ( nullable NSData * ) cryptKey NS_SWIFT_NAME ( checkReSet ( cryptKey : ) ) ; <nl> + <nl> - ( BOOL ) setObject : ( nullable NSObject < NSCoding > * ) object forKey : ( NSString * ) key NS_SWIFT_NAME ( set ( _ : forKey : ) ) ; <nl> <nl> - ( BOOL ) setBool : ( BOOL ) value forKey : ( NSString * ) key NS_SWIFT_NAME ( set ( _ : forKey : ) ) ; <nl> NS_ASSUME_NONNULL_BEGIN <nl> / / Note : might be a little bigger than value ' s length <nl> - ( size_t ) getValueSizeForKey : ( NSString * ) key NS_SWIFT_NAME ( valueSize ( forKey : ) ) ; <nl> <nl> + / / return size written into buffer <nl> + / / return - 1 on any error <nl> + - ( int32_t ) writeValueForKey : ( NSString * ) key toBuffer : ( NSMutableData * ) buffer NS_SWIFT_NAME ( writeValue ( forKey : buffer : ) ) ; <nl> + <nl> - ( BOOL ) containsKey : ( NSString * ) key NS_SWIFT_NAME ( contains ( key : ) ) ; <nl> <nl> - ( size_t ) count ; <nl> NS_ASSUME_NONNULL_BEGIN <nl> - ( void ) sync ; <nl> - ( void ) async ; <nl> <nl> + / / check if content changed by other process <nl> + - ( void ) checkContentChanged ; <nl> + <nl> / / for CrashProtected Only ! ! <nl> + ( BOOL ) isFileValid : ( NSString * ) mmapID NS_SWIFT_NAME ( isFileValid ( for : ) ) ; <nl> + ( BOOL ) isFileValid : ( NSString * ) mmapID relativePath : ( nullable NSString * ) path NS_SWIFT_NAME ( isFileValid ( for : relativePath : ) ) ; <nl> mmm a / iOS / MMKV / MMKV / libMMKV . mm <nl> ppp b / iOS / MMKV / MMKV / libMMKV . mm <nl> - ( BOOL ) reKey : ( NSData * ) newKey { <nl> return m_mmkv - > reKey ( key ) ; <nl> } <nl> <nl> + - ( void ) checkReSetCryptKey : ( nullable NSData * ) cryptKey { <nl> + string key ; <nl> + if ( cryptKey . length > 0 ) { <nl> + key = string ( ( char * ) cryptKey . bytes , cryptKey . length ) ; <nl> + } <nl> + m_mmkv - > checkReSetCryptKey ( & key ) ; <nl> + } <nl> + <nl> # pragma mark - set & get <nl> <nl> - ( BOOL ) setObject : ( nullable NSObject < NSCoding > * ) object forKey : ( NSString * ) key { <nl> - ( size_t ) getValueSizeForKey : ( NSString * ) key NS_SWIFT_NAME ( valueSize ( forKey : ) ) { <nl> return m_mmkv - > getValueSize ( key , false ) ; <nl> } <nl> <nl> + - ( int32_t ) writeValueForKey : ( NSString * ) key toBuffer : ( NSMutableData * ) buffer { <nl> + return m_mmkv - > writeValueToBuffer ( key , buffer . mutableBytes , static_cast < int32_t > ( buffer . length ) ) ; <nl> + } <nl> + <nl> # pragma mark - enumerate <nl> <nl> - ( BOOL ) containsKey : ( NSString * ) key { <nl> - ( void ) async { <nl> m_mmkv - > sync ( MMKV_ASYNC ) ; <nl> } <nl> <nl> + - ( void ) checkContentChanged { <nl> + m_mmkv - > checkContentChanged ( ) ; <nl> + } <nl> + <nl> + + ( void ) onExit { <nl> + SCOPEDLOCK ( g_lock ) ; <nl> + <nl> + [ g_instanceDic removeAllObjects ] ; <nl> + <nl> + mmkv : : MMKV : : onExit ( ) ; <nl> + } <nl> + <nl> + ( NSString * ) mmkvBasePath { <nl> if ( g_basePath . length > 0 ) { <nl> return g_basePath ; <nl> | split Apple stuff in seperate file | Tencent/MMKV | 953b720e37a05c583dc7909e03430303cade36b2 | 2019-12-27T09:08:00Z |
mmm a / tests / test_async . cpp <nl> ppp b / tests / test_async . cpp <nl> TEST_CASE ( " to_file " , " [ async ] " ) <nl> <nl> REQUIRE ( count_lines ( filename ) = = messages ) ; <nl> auto contents = file_contents ( filename ) ; <nl> - REQUIRE ( ends_with ( contents , std : : string ( " Hello message # 1023 " ) + SPDLOG_EOL ) ) ; <nl> + REQUIRE ( ends_with ( contents , std : : string ( " Hello message # 1023 \ n " ) ) ) ; <nl> } <nl> <nl> TEST_CASE ( " to_file multi - workers " , " [ async ] " ) <nl> mmm a / tests / tests . sln <nl> ppp b / tests / tests . sln <nl> Project ( " { 2150E333 - 8FDC - 42A3 - 9474 - 1A3956D46DE8 } " ) = " details " , " details " , " { C8A2 <nl> . . \ include \ spdlog \ details \ mpmc_bounded_q . h = . . \ include \ spdlog \ details \ mpmc_bounded_q . h <nl> . . \ include \ spdlog \ details \ null_mutex . h = . . \ include \ spdlog \ details \ null_mutex . h <nl> . . \ include \ spdlog \ details \ os . h = . . \ include \ spdlog \ details \ os . h <nl> - . . \ include \ spdlog \ details \ pattern_formatter_impl . h = . . \ include \ spdlog \ details \ pattern_formatter_impl . h <nl> + . . \ include \ spdlog \ details \ pattern_formatter . h = . . \ include \ spdlog \ details \ pattern_formatter . h <nl> . . \ include \ spdlog \ details \ registry . h = . . \ include \ spdlog \ details \ registry . h <nl> . . \ include \ spdlog \ details \ spdlog_impl . h = . . \ include \ spdlog \ details \ spdlog_impl . h <nl> . . \ include \ spdlog \ details \ thread_pool . h = . . \ include \ spdlog \ details \ thread_pool . h <nl> mmm a / tests / tests . vcxproj <nl> ppp b / tests / tests . vcxproj <nl> <nl> < / ItemDefinitionGroup > <nl> < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> < ClCompile > <nl> - < WarningLevel > Level4 < / WarningLevel > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> < Optimization > MaxSpeed < / Optimization > <nl> < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> | Fixed tests under windows | gabime/spdlog | 2dfea6bee33c1f7f987ff251f1d60dd74fcb0040 | 2018-07-20T21:13:37Z |
mmm a / Marlin / src / feature / touch / xpt2046 . cpp <nl> ppp b / Marlin / src / feature / touch / xpt2046 . cpp <nl> uint16_t XPT2046 : : getInTouch ( const XPTCoordinate coordinate ) { <nl> return ( data [ 1 ] + data [ 2 ] ) > > 1 ; <nl> } <nl> <nl> + bool XPT2046 : : getTouchPoint ( uint16_t & x , uint16_t & y ) { <nl> + if ( isTouched ( ) ) { <nl> + x = getInTouch ( XPT2046_X ) ; <nl> + y = getInTouch ( XPT2046_Y ) ; <nl> + } <nl> + return isTouched ( ) ; <nl> + } <nl> + <nl> # endif / / TOUCH_BUTTONS <nl> mmm a / Marlin / src / feature / touch / xpt2046 . h <nl> ppp b / Marlin / src / feature / touch / xpt2046 . h <nl> class XPT2046 { <nl> public : <nl> static void init ( void ) ; <nl> static uint8_t read_buttons ( ) ; <nl> - private : <nl> + bool getTouchPoint ( uint16_t & x , uint16_t & y ) ; <nl> static bool isTouched ( ) ; <nl> + inline void waitForRelease ( void ) { while ( isTouched ( ) ) { / * nada * / } } <nl> + inline void waitForTouch ( uint16_t & x , uint16_t & y ) { while ( ! getTouchPoint ( x , y ) ) { / * nada * / } } <nl> + private : <nl> static uint16_t getInTouch ( const XPTCoordinate coordinate ) ; <nl> } ; <nl> <nl> | Add XPT2046 calibration functions ( ) | MarlinFirmware/Marlin | 85f0556118a71208fc0f2290ac60dc3657c8638c | 2019-09-04T22:32:20Z |
mmm a / Code / CryEngine / Cry3DEngine / 3dEngine . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / 3dEngine . cpp <nl> void C3DEngine : : AsyncOctreeUpdate ( IRenderNode * pEnt , uint32 nFrameID , bool bUnRe <nl> } <nl> } <nl> <nl> - / / update clip volume : use vis area if we have one , otherwise check if we ' re in the same volume as before . check other volumes as last resort only <nl> - if ( SRenderNodeTempData * pTempData = pEnt - > m_pTempData . load ( ) ) <nl> - { <nl> - Vec3 vEntCenter = GetEntityRegisterPoint ( pEnt ) ; <nl> - <nl> - if ( IVisArea * pVisArea = pEnt - > GetEntityVisArea ( ) ) <nl> - pTempData - > userData . m_pClipVolume = pVisArea ; <nl> - else if ( GetClipVolumeManager ( ) - > IsClipVolumeRequired ( pEnt ) ) <nl> - GetClipVolumeManager ( ) - > UpdateEntityClipVolume ( vEntCenter , pEnt ) ; <nl> - } <nl> - <nl> / / register decals , to clean up longer not renders decals and their render meshes <nl> if ( eERType = = eERType_Decal ) <nl> { <nl> mmm a / Code / CryEngine / Cry3DEngine / Material . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / Material . cpp <nl> void CMatInfo : : Release ( ) <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> <nl> - bool CMatInfo : : IsValid ( ) <nl> + bool CMatInfo : : IsValid ( ) const <nl> { <nl> return ! m_bDeletePending & & ! m_bDeleted ; <nl> } <nl> void CMatInfo : : SetName ( const char * sName ) <nl> } <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> - bool CMatInfo : : IsDefault ( ) <nl> + bool CMatInfo : : IsDefault ( ) const <nl> { <nl> return this = = GetMatMan ( ) - > GetDefaultMaterial ( ) ; <nl> } <nl> mmm a / Code / CryEngine / Cry3DEngine / Material . h <nl> ppp b / Code / CryEngine / Cry3DEngine / Material . h <nl> class CMatInfo : public IMaterial , public stl : : intrusive_linked_list_node < CMatIn <nl> ~ CMatInfo ( ) ; <nl> <nl> void ShutDown ( ) ; <nl> - bool IsValid ( ) ; <nl> + virtual bool IsValid ( ) const ; <nl> <nl> virtual void AddRef ( ) ; <nl> virtual void Release ( ) ; <nl> class CMatInfo : public IMaterial , public stl : : intrusive_linked_list_node < CMatIn <nl> virtual int GetFlags ( ) const { return m_Flags ; } ; <nl> <nl> / / Returns true if this is the default material . <nl> - virtual bool IsDefault ( ) ; <nl> + virtual bool IsDefault ( ) const ; <nl> <nl> - virtual int GetSurfaceTypeId ( ) { return m_nSurfaceTypeId ; } ; <nl> + virtual int GetSurfaceTypeId ( ) const { return m_nSurfaceTypeId ; } ; <nl> <nl> virtual void SetSurfaceType ( const char * sSurfaceTypeName ) ; <nl> virtual ISurfaceType * GetSurfaceType ( ) ; <nl> mmm a / Code / CryEngine / Cry3DEngine / MergedMeshRenderNode . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / MergedMeshRenderNode . cpp <nl> void CMergedMeshRenderNode : : OverrideLodRatio ( float value ) <nl> <nl> } <nl> <nl> - bool CMergedMeshRenderNode : : UpdateStreamableComponents ( <nl> - float fImportance <nl> - , float fEntDistance <nl> - , bool bFullUpdate ) <nl> + void CMergedMeshRenderNode : : UpdateStreamingPriority ( const SUpdateStreamingPriorityContext & context ) <nl> { <nl> CObjManager * pObjManager = GetObjManager ( ) ; <nl> IF ( m_usedMaterials . size ( ) = = 0u , 0 ) <nl> bool CMergedMeshRenderNode : : UpdateStreamableComponents ( <nl> { <nl> pObjManager - > PrecacheStatObjMaterial ( <nl> m_usedMaterials [ i ] . first <nl> - , fEntDistance <nl> + , context . distance <nl> , m_usedMaterials [ i ] . second <nl> - , bFullUpdate , false ) ; <nl> + , context . bFullUpdate , false ) ; <nl> } <nl> - return true ; <nl> } <nl> <nl> bool CMergedMeshRenderNode : : SyncAllJobs ( ) <nl> mmm a / Code / CryEngine / Cry3DEngine / MergedMeshRenderNode . h <nl> ppp b / Code / CryEngine / Cry3DEngine / MergedMeshRenderNode . h <nl> class CMergedMeshRenderNode <nl> bool StreamedIn ( ) const { return m_State = = STREAMED_IN ; } <nl> <nl> / / Update streamable components <nl> - bool UpdateStreamableComponents ( float fImportance , float fEntDistance , bool bFullUpdate ) ; <nl> + void UpdateStreamingPriority ( const SUpdateStreamingPriorityContext & streamingContext ) ; <nl> <nl> Vec3 GetSamplePos ( size_t , size_t ) const ; <nl> AABB GetSampleAABB ( size_t , size_t ) const ; <nl> mmm a / Code / CryEngine / Cry3DEngine / ObjManDrawEntity . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / ObjManDrawEntity . cpp <nl> <nl> # include " DecalManager . h " <nl> # include " ObjectsTree . h " <nl> # include " Brush . h " <nl> + # include " ClipVolumeManager . h " <nl> <nl> void CObjManager : : RenderDecalAndRoad ( IRenderNode * pEnt , PodArray < SRenderLight * > * pAffectingLights , <nl> const Vec3 & vAmbColor , const AABB & objBox , <nl> void CObjManager : : RenderObject ( IRenderNode * pEnt , PodArray < SRenderLight * > * pAffe <nl> <nl> DrawParams . m_pVisArea = pVisArea ; <nl> <nl> + / / Update clip volume <nl> + Vec3 vEntCenter = Get3DEngine ( ) - > GetEntityRegisterPoint ( pEnt ) ; <nl> + if ( pVisArea ) <nl> + pTempData - > userData . m_pClipVolume = pVisArea ; <nl> + else if ( Get3DEngine ( ) - > GetClipVolumeManager ( ) - > IsClipVolumeRequired ( pEnt ) ) <nl> + Get3DEngine ( ) - > GetClipVolumeManager ( ) - > UpdateEntityClipVolume ( vEntCenter , pEnt ) ; <nl> + <nl> DrawParams . nClipVolumeStencilRef = 0 ; <nl> if ( pTempData - > userData . m_pClipVolume ) <nl> DrawParams . nClipVolumeStencilRef = pTempData - > userData . m_pClipVolume - > GetStencilRef ( ) ; <nl> mmm a / Code / CryEngine / Cry3DEngine / ObjManStreaming . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / ObjManStreaming . cpp <nl> void CObjManager : : PrecacheStatObjMaterial ( IMaterial * pMaterial , const float fEnt <nl> void CObjManager : : PrecacheStatObj ( CStatObj * pStatObj , int nLod , const Matrix34A & statObjMatrix , IMaterial * pMaterial , float fImportance , float fEntDistance , bool bFullUpdate , bool bHighPriority ) <nl> { <nl> if ( ! pStatObj ) <nl> - { <nl> return ; <nl> - } <nl> <nl> const int minLod = pStatObj - > GetMinUsableLod ( ) ; <nl> const int maxLod = ( int ) pStatObj - > m_nMaxUsableLod ; <nl> void CObjManager : : UpdateRenderNodeStreamingPriority ( IRenderNode * pObj , float fEn <nl> break ; <nl> } <nl> <nl> - float fInvObjScale = 1 . 0f / fObjScale ; <nl> int nLod = CObjManager : : GetObjectLOD ( pObj , fEntDistanceReal ) ; <nl> IMaterial * pRenderNodeMat = pObj - > GetMaterialOverride ( ) ; <nl> <nl> void CObjManager : : UpdateRenderNodeStreamingPriority ( IRenderNode * pObj , float fEn <nl> { <nl> float fDistanceToCam = sqrt_tpl ( Distance : : Point_AABBSq ( passInfo . GetCamera ( ) . GetPosition ( ) , objBox ) ) * passInfo . GetZoomFactor ( ) ; <nl> <nl> - if ( pObj - > GetRenderNodeType ( ) = = eERType_Vegetation & & ( ( CVegetation * ) pObj ) - > m_pInstancingInfo ) <nl> + if ( nodeType = = eERType_Vegetation & & ( ( CVegetation * ) pObj ) - > m_pInstancingInfo ) <nl> { <nl> / / for instance groups compute distance to the center of bbox <nl> AABB objBoxS = AABB ( objBox . GetCenter ( ) - Vec3 ( . 1f , . 1f , . 1f ) , objBox . GetCenter ( ) + Vec3 ( . 1f , . 1f , . 1f ) ) ; <nl> void CObjManager : : UpdateRenderNodeStreamingPriority ( IRenderNode * pObj , float fEn <nl> } <nl> } <nl> <nl> - if ( nodeType = = eERType_Brush | | nodeType = = eERType_Vegetation ) <nl> - { <nl> - Matrix34A brushMatrix ; <nl> - IStatObj * pStatObj = pObj - > GetEntityStatObj ( 0 , & brushMatrix ) ; <nl> - if ( pStatObj ) <nl> - { <nl> - IMaterial * pStatObjMat = pStatObj - > GetMaterial ( ) ; <nl> - PrecacheStatObj ( static_cast < CStatObj * > ( pStatObj ) , nLod , brushMatrix , pRenderNodeMat ? pRenderNodeMat : pStatObjMat , fImportance , fEntDistanceReal * fInvObjScale , bFullUpdate , bHighPriority ) ; <nl> - } <nl> - return ; <nl> - } <nl> - else if ( nodeType = = eERType_ParticleEmitter ) <nl> - { <nl> - IParticleEmitter * pEmitter = ( IParticleEmitter * ) pObj ; <nl> - Matrix34A tm34A ; <nl> - tm34A . SetIdentity ( ) ; <nl> - tm34A . SetTranslation ( pEmitter - > GetPos ( ) ) ; <nl> - pEmitter - > UpdateStreamableComponents ( fImportance , tm34A , pObj , fEntDistance , bFullUpdate , nLod ) ; <nl> - return ; <nl> - } <nl> - else if ( nodeType = = eERType_MergedMesh ) <nl> - { <nl> - CMergedMeshRenderNode * pMMRM = static_cast < CMergedMeshRenderNode * > ( pObj ) ; <nl> - pMMRM - > UpdateStreamableComponents ( fImportance , fEntDistance , bFullUpdate ) ; <nl> - return ; <nl> - } <nl> - else if ( nodeType = = eERType_Character ) <nl> - { <nl> - pObj - > UpdateStreamingPriority ( ctx ) ; <nl> - return ; <nl> - } <nl> - else if ( nodeType = = eERType_GeomCache ) <nl> - { <nl> - pObj - > UpdateStreamingPriority ( ctx ) ; <nl> - return ; <nl> - } <nl> - <nl> Matrix34A matParent ; <nl> - CStatObj * pStatObj = ( CStatObj * ) pObj - > GetEntityStatObj ( 0 , & matParent , false ) ; <nl> - if ( pStatObj ) <nl> + if ( CStatObj * pStatObj = ( CStatObj * ) pObj - > GetEntityStatObj ( 0 , & matParent , false ) ) <nl> { <nl> - IMaterial * pStatObjMat = pStatObj - > GetMaterial ( ) ; <nl> - PrecacheStatObj ( pStatObj , nLod , matParent , pRenderNodeMat ? pRenderNodeMat : pStatObjMat , fImportance , fEntDistanceReal * fInvObjScale , bFullUpdate , bHighPriority ) ; <nl> + PrecacheStatObj ( pStatObj , nLod , matParent , pRenderNodeMat ? pRenderNodeMat : pStatObj - > GetMaterial ( ) , fImportance , fEntDistanceReal / fObjScale , bFullUpdate , bHighPriority ) ; <nl> } <nl> else if ( pRenderNodeMat ) <nl> { <nl> - / / If not any of the known render nodes try to pre - cache only the override material <nl> - pRenderNodeMat - > PrecacheMaterial ( fEntDistance * fInvObjScale , pObj - > GetRenderMesh ( nLod ) , bFullUpdate , bHighPriority ) ; <nl> + pRenderNodeMat - > PrecacheMaterial ( fEntDistance / fObjScale , pObj - > GetRenderMesh ( nLod ) , bFullUpdate , bHighPriority ) ; <nl> } <nl> + <nl> + / / Additional precaching for RenderNode types . <nl> + pObj - > UpdateStreamingPriority ( ctx ) ; <nl> } <nl> mmm a / Code / CryEngine / Cry3DEngine / ParticleEmitter . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / ParticleEmitter . cpp <nl> void CParticleEmitter : : GetMemoryUsage ( ICrySizer * pSizer ) const <nl> m_PhysEnviron . GetMemoryUsage ( pSizer ) ; <nl> } <nl> <nl> - bool CParticleEmitter : : UpdateStreamableComponents ( float fImportance , const Matrix34A & objMatrix , IRenderNode * pRenderNode , float fEntDistance , bool bFullUpdate , int nLod ) <nl> + void CParticleEmitter : : UpdateStreamingPriority ( const SUpdateStreamingPriorityContext & context ) <nl> { <nl> FUNCTION_PROFILER_3DENGINE ; <nl> <nl> - IRenderer * pRenderer = GetRenderer ( ) ; <nl> for ( const auto & c : m_Containers ) <nl> { <nl> ResourceParticleParams const & params = c . GetParams ( ) ; <nl> - if ( params . pStatObj ) <nl> + const float normalizedDist = context . distance * crymath : : rcp_safe ( params . fSize . GetMaxValue ( ) ) ; <nl> + if ( CMatInfo * pMatInfo = static_cast < CMatInfo * > ( params . pMaterial . get ( ) ) ) <nl> { <nl> - CStatObj * pStatObj = static_cast < CStatObj * > ( params . pStatObj . get ( ) ) ; <nl> - IMaterial * pMaterial = pStatObj - > GetMaterial ( ) ; <nl> - m_pObjManager - > PrecacheStatObj ( pStatObj , nLod , objMatrix , pMaterial , fImportance , fEntDistance , bFullUpdate , false ) ; <nl> + const float adjustedDist = normalizedDist <nl> + * min ( params . ShaderData . m_tileSize [ 0 ] , params . ShaderData . m_tileSize [ 1 ] ) ; <nl> + pMatInfo - > PrecacheMaterial ( adjustedDist , nullptr , context . bFullUpdate , params . bDrawNear ) ; <nl> } <nl> <nl> - if ( CMatInfo * pMatInfo = ( CMatInfo * ) ( IMaterial * ) params . pMaterial ) <nl> - pMatInfo - > PrecacheMaterial ( fEntDistance , NULL , bFullUpdate ) ; <nl> + if ( CStatObj * pStatObj = static_cast < CStatObj * > ( params . pStatObj . get ( ) ) ) <nl> + { <nl> + m_pObjManager - > PrecacheStatObj ( pStatObj , context . lod , Matrix34A ( m_Loc ) , pStatObj - > GetMaterial ( ) , <nl> + context . importance , normalizedDist , context . bFullUpdate , params . bDrawNear ) ; <nl> + } <nl> } <nl> - <nl> - return true ; <nl> } <nl> <nl> EntityId CParticleEmitter : : GetAttachedEntityId ( ) <nl> mmm a / Code / CryEngine / Cry3DEngine / ParticleEmitter . h <nl> ppp b / Code / CryEngine / Cry3DEngine / ParticleEmitter . h <nl> class CParticleEmitter : public IParticleEmitter , public CParticleSource <nl> } <nl> ILINE float GetViewDistRatioFloat ( ) const { return m_fViewDistRatio ; } <nl> virtual float GetMaxViewDist ( ) ; <nl> + virtual void UpdateStreamingPriority ( const SUpdateStreamingPriorityContext & context ) ; <nl> <nl> virtual void SetMatrix ( Matrix34 const & mat ) { if ( mat . IsValid ( ) ) SetLocation ( QuatTS ( mat ) ) ; } <nl> <nl> class CParticleEmitter : public IParticleEmitter , public CParticleSource <nl> virtual void SetEntity ( IEntity * pEntity , int nSlot ) ; <nl> virtual void InvalidateCachedEntityData ( ) final ; <nl> virtual void OffsetPosition ( const Vec3 & delta ) ; <nl> - virtual bool UpdateStreamableComponents ( float fImportance , const Matrix34A & objMatrix , IRenderNode * pRenderNode , float fEntDistance , bool bFullUpdate , int nLod ) ; <nl> virtual EntityId GetAttachedEntityId ( ) ; <nl> virtual int GetAttachedEntitySlot ( ) <nl> { return m_nEntitySlot ; } <nl> mmm a / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleComponent . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleComponent . cpp <nl> IMaterial * CParticleComponent : : MakeMaterial ( ) <nl> { <nl> const char * shaderName = UsesGPU ( ) ? " Particles . ParticlesGpu " : " Particles " ; <nl> const string & diffuseMap = m_componentParams . m_diffuseMap ; <nl> - const uint32 textureLoadFlags = FT_DONT_STREAM ; <nl> + static uint32 textureLoadFlags = 0 ; / / FT_DONT_STREAM ; <nl> ITexture * pTexture = gEnv - > pRenderer - > EF_GetTextureByName ( diffuseMap . c_str ( ) , textureLoadFlags ) ; <nl> if ( ! pTexture ) <nl> { <nl> IMaterial * CParticleComponent : : MakeMaterial ( ) <nl> float defaultOpacity = 1 . 0f ; <nl> pMaterial - > SetGetMaterialParamVec3 ( " diffuse " , white , false ) ; <nl> pMaterial - > SetGetMaterialParamFloat ( " opacity " , defaultOpacity , false ) ; <nl> - pMaterial - > RequestTexturesLoading ( 0 . 0f ) ; <nl> <nl> return m_componentParams . m_pMaterial = pMaterial ; <nl> } <nl> mmm a / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleEmitter . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleEmitter . cpp <nl> void CParticleEmitter : : SetTarget ( const ParticleTarget & target ) <nl> m_target = target ; <nl> } <nl> <nl> - bool CParticleEmitter : : UpdateStreamableComponents ( float fImportance , const Matrix34A & objMatrix , IRenderNode * pRenderNode , float fEntDistance , bool bFullUpdate , int nLod ) <nl> + void CParticleEmitter : : UpdateStreamingPriority ( const SUpdateStreamingPriorityContext & context ) <nl> { <nl> FUNCTION_PROFILER_3DENGINE ; <nl> <nl> bool CParticleEmitter : : UpdateStreamableComponents ( float fImportance , const Matri <nl> { <nl> const auto * pComponent = pRuntime - > GetComponent ( ) ; <nl> const SComponentParams & params = pComponent - > GetComponentParams ( ) ; <nl> + const float normalizedDist = context . distance * rcp_safe ( params . m_maxParticleSize ) ; <nl> + const bool bHighPriority = ! ! ( params . m_renderObjectFlags & FOB_NEAREST ) ; <nl> <nl> - IMaterial * pMaterial = params . m_pMaterial ; <nl> - CMatInfo * pMatInfo = reinterpret_cast < CMatInfo * > ( pMaterial ) ; <nl> - if ( pMatInfo ) <nl> - pMatInfo - > PrecacheMaterial ( fEntDistance , nullptr , bFullUpdate ) ; <nl> - <nl> - IMeshObj * pMesh = params . m_pMesh ; <nl> - if ( pMesh ) <nl> + if ( CMatInfo * pMatInfo = static_cast < CMatInfo * > ( params . m_pMaterial . get ( ) ) ) <nl> { <nl> - CStatObj * pStatObj = static_cast < CStatObj * > ( pMesh ) ; <nl> - IMaterial * pMaterial = pStatObj - > GetMaterial ( ) ; <nl> - m_pObjManager - > PrecacheStatObj ( pStatObj , nLod , objMatrix , pMaterial , fImportance , fEntDistance , bFullUpdate , false ) ; <nl> + const float adjustedDist = normalizedDist <nl> + * min ( params . m_shaderData . m_tileSize [ 0 ] , params . m_shaderData . m_tileSize [ 1 ] ) ; <nl> + pMatInfo - > PrecacheMaterial ( adjustedDist , nullptr , context . bFullUpdate , bHighPriority ) ; <nl> } <nl> - } <nl> <nl> - return true ; <nl> + if ( CStatObj * pStatObj = static_cast < CStatObj * > ( params . m_pMesh . get ( ) ) ) <nl> + m_pObjManager - > PrecacheStatObj ( pStatObj , context . lod , Matrix34A ( m_location ) , <nl> + pStatObj - > GetMaterial ( ) , context . importance , normalizedDist , context . bFullUpdate , bHighPriority ) ; <nl> + } <nl> } <nl> <nl> void CParticleEmitter : : GetSpawnParams ( SpawnParams & spawnParams ) const <nl> void CParticleEmitter : : ResetRenderObjects ( ) <nl> <nl> const uint numROs = m_pEffect - > GetNumRenderObjectIds ( ) ; <nl> for ( uint threadId = 0 ; threadId < RT_COMMAND_BUF_COUNT ; + + threadId ) <nl> - m_pRenderObjects [ threadId ] . resize ( numROs , nullptr ) ; <nl> + m_pRenderObjects [ threadId ] . resize ( numROs , { nullptr , nullptr } ) ; <nl> <nl> for ( auto & pRuntime : m_componentRuntimes ) <nl> { <nl> CRenderObject * CParticleEmitter : : GetRenderObject ( uint threadId , uint renderObjec <nl> CRY_PFX2_ASSERT ( threadId < RT_COMMAND_BUF_COUNT ) ; <nl> if ( m_pRenderObjects [ threadId ] . empty ( ) ) <nl> return nullptr ; <nl> - return m_pRenderObjects [ threadId ] [ renderObjectIdx ] ; <nl> + return m_pRenderObjects [ threadId ] [ renderObjectIdx ] . first ; <nl> } <nl> <nl> - void CParticleEmitter : : SetRenderObject ( CRenderObject * pRenderObject , uint threadId , uint renderObjectIdx ) <nl> + void CParticleEmitter : : SetRenderObject ( CRenderObject * pRenderObject , _smart_ptr < IMaterial > & & material , uint threadId , uint renderObjectIdx ) <nl> { <nl> CRY_PFX2_ASSERT ( threadId < RT_COMMAND_BUF_COUNT ) ; <nl> - m_pRenderObjects [ threadId ] [ renderObjectIdx ] = pRenderObject ; <nl> + m_pRenderObjects [ threadId ] [ renderObjectIdx ] = std : : make_pair ( pRenderObject , std : : move ( material ) ) ; <nl> } <nl> <nl> void CParticleEmitter : : UpdateTargetFromEntity ( IEntity * pEntity ) <nl> mmm a / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleEmitter . h <nl> ppp b / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleEmitter . h <nl> namespace pfx2 <nl> <nl> class CParticleEmitter : public IParticleEmitter , public Cry3DEngineBase <nl> { <nl> + public : <nl> + using SRenderObjectMaterialPair = std : : pair < CRenderObject * , _smart_ptr < IMaterial > > ; <nl> + <nl> public : <nl> CParticleEmitter ( CParticleEffect * pEffect , uint emitterId ) ; <nl> ~ CParticleEmitter ( ) ; <nl> class CParticleEmitter : public IParticleEmitter , public Cry3DEngineBase <nl> virtual void ReleaseNode ( bool bImmediate ) override ; <nl> virtual void SetOwnerEntity ( IEntity * pEntity ) override { SetEntity ( pEntity , m_entitySlot ) ; } <nl> virtual IEntity * GetOwnerEntity ( ) const override { return m_entityOwner ; } <nl> + virtual void UpdateStreamingPriority ( const SUpdateStreamingPriorityContext & streamingContext ) override ; <nl> / / ~ IRenderNode <nl> <nl> / / pfx2 IParticleEmitter <nl> class CParticleEmitter : public IParticleEmitter , public Cry3DEngineBase <nl> virtual void SetEntity ( IEntity * pEntity , int nSlot ) override ; <nl> virtual void InvalidateCachedEntityData ( ) override ; <nl> virtual void SetTarget ( const ParticleTarget & target ) override ; <nl> - virtual bool UpdateStreamableComponents ( float fImportance , const Matrix34A & objMatrix , IRenderNode * pRenderNode , float fEntDistance , bool bFullUpdate , int nLod ) override ; <nl> / / ~ pfx2 IParticleEmitter <nl> <nl> / / pfx1 IParticleEmitter <nl> class CParticleEmitter : public IParticleEmitter , public Cry3DEngineBase <nl> float GetViewDistRatio ( ) const { return m_viewDistRatio ; } <nl> float GetTimeScale ( ) const { return Cry3DEngineBase : : GetCVars ( ) - > e_ParticlesDebug & AlphaBit ( ' z ' ) ? 0 . 0f : m_spawnParams . fTimeScale ; } <nl> CRenderObject * GetRenderObject ( uint threadId , uint renderObjectIdx ) ; <nl> - void SetRenderObject ( CRenderObject * pRenderObject , uint threadId , uint renderObjectIdx ) ; <nl> + void SetRenderObject ( CRenderObject * pRenderObject , _smart_ptr < IMaterial > & & material , uint threadId , uint renderObjectIdx ) ; <nl> float GetDeltaTime ( ) const { return m_deltaTime ; } <nl> float GetTime ( ) const { return m_time ; } <nl> float GetAge ( ) const { return m_time - m_timeCreated ; } <nl> class CParticleEmitter : public IParticleEmitter , public Cry3DEngineBase <nl> void ResetRenderObjects ( ) ; <nl> <nl> private : <nl> - _smart_ptr < CParticleEffect > m_pEffect ; <nl> - _smart_ptr < CParticleEffect > m_pEffectOriginal ; <nl> - std : : vector < CRenderObject * > m_pRenderObjects [ RT_COMMAND_BUF_COUNT ] ; <nl> - SVisEnviron m_visEnviron ; <nl> - SPhysEnviron m_physEnviron ; <nl> - SpawnParams m_spawnParams ; <nl> - CAttributeInstance m_attributeInstance ; <nl> - TParticleFeatures m_emitterFeatures ; <nl> - AABB m_realBounds ; <nl> - AABB m_bounds ; <nl> - CParticleContainer m_parentContainer ; <nl> - TRuntimes m_componentRuntimes ; <nl> - TRuntimes m_componentRuntimesFor ; <nl> - QuatTS m_location ; <nl> - IEntity * m_entityOwner ; <nl> - int m_entitySlot ; <nl> - ParticleTarget m_target ; <nl> - GeomRef m_emitterGeometry ; <nl> - int m_emitterGeometrySlot ; <nl> - ColorF m_profilerColor ; <nl> - float m_viewDistRatio ; <nl> - float m_time ; <nl> - float m_deltaTime ; <nl> - float m_primeTime ; <nl> - float m_timeCreated ; <nl> - float m_timeLastRendered ; <nl> - int m_emitterEditVersion ; <nl> - int m_effectEditVersion ; <nl> - uint m_initialSeed ; <nl> - uint m_currentSeed ; <nl> - uint m_emitterId ; <nl> - bool m_registered ; <nl> - bool m_reRegister ; <nl> - bool m_active ; <nl> - bool m_alive ; <nl> + _smart_ptr < CParticleEffect > m_pEffect ; <nl> + _smart_ptr < CParticleEffect > m_pEffectOriginal ; <nl> + std : : vector < SRenderObjectMaterialPair > m_pRenderObjects [ RT_COMMAND_BUF_COUNT ] ; <nl> + SVisEnviron m_visEnviron ; <nl> + SPhysEnviron m_physEnviron ; <nl> + SpawnParams m_spawnParams ; <nl> + CAttributeInstance m_attributeInstance ; <nl> + TParticleFeatures m_emitterFeatures ; <nl> + AABB m_realBounds ; <nl> + AABB m_bounds ; <nl> + CParticleContainer m_parentContainer ; <nl> + TRuntimes m_componentRuntimes ; <nl> + TRuntimes m_componentRuntimesFor ; <nl> + QuatTS m_location ; <nl> + IEntity * m_entityOwner ; <nl> + int m_entitySlot ; <nl> + ParticleTarget m_target ; <nl> + GeomRef m_emitterGeometry ; <nl> + int m_emitterGeometrySlot ; <nl> + ColorF m_profilerColor ; <nl> + float m_viewDistRatio ; <nl> + float m_time ; <nl> + float m_deltaTime ; <nl> + float m_primeTime ; <nl> + float m_timeCreated ; <nl> + float m_timeLastRendered ; <nl> + int m_emitterEditVersion ; <nl> + int m_effectEditVersion ; <nl> + uint m_initialSeed ; <nl> + uint m_currentSeed ; <nl> + uint m_emitterId ; <nl> + bool m_registered ; <nl> + bool m_reRegister ; <nl> + bool m_active ; <nl> + bool m_alive ; <nl> } ; <nl> <nl> typedef TSmartArray < CParticleEmitter > TParticleEmitters ; <nl> mmm a / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleJobManager . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleJobManager . cpp <nl> void CParticleJobManager : : ScheduleComputeVertices ( CParticleComponentRuntime * pCo <nl> job . nCustomTexId = renderContext . m_renderParams . nTextureID ; <nl> } <nl> <nl> - # pragma optimize ( " " , off ) <nl> - <nl> void CParticleJobManager : : ScheduleUpdates ( ) <nl> { <nl> if ( m_emitterRefs . empty ( ) ) <nl> return ; <nl> <nl> - CRY_PFX2_PROFILE_DETAIL ; <nl> - <nl> CRY_PFX2_ASSERT ( ! m_updateState . IsRunning ( ) ) ; <nl> if ( ! Cry3DEngineBase : : GetCVars ( ) - > e_ParticlesThread ) <nl> { <nl> void CParticleJobManager : : ScheduleUpdates ( ) <nl> } <nl> <nl> m_updateState . SetRunning ( ) ; <nl> + TScheduleUpdatesJob job ; <nl> + job . SetClassInstance ( this ) ; <nl> + job . Run ( ) ; <nl> + } <nl> + <nl> + void CParticleJobManager : : Job_ScheduleUpdates ( ) <nl> + { <nl> + CRY_PFX2_PROFILE_DETAIL ; <nl> <nl> / / Split emitter list into jobs <nl> const uint maxJobs = gEnv - > pJobManager - > GetNumWorkerThreads ( ) * MaxJobsPerThread ; <nl> const uint numJobs = min ( m_emitterRefs . size ( ) , maxJobs ) ; <nl> <nl> m_updateState . SetRunning ( numJobs ) ; <nl> - uint e = 0 ; <nl> <nl> + uint e = 0 ; <nl> for ( uint j = 0 ; j < numJobs ; + + j ) <nl> { <nl> uint e2 = ( j + 1 ) * m_emitterRefs . size ( ) / numJobs ; <nl> mmm a / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleJobManager . h <nl> ppp b / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleJobManager . h <nl> class CParticleJobManager <nl> void DeferredRender ( ) ; <nl> <nl> / / job entry points <nl> - void Job_ScheduleUpdates ( TVarArray < CParticleEmitter * > emitters ) ; <nl> + void Job_ScheduleUpdates ( ) ; <nl> void Job_UpdateEmitters ( TVarArray < CParticleEmitter * > emitters ) ; <nl> / / ~ job entry points <nl> <nl> mmm a / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleRender . cpp <nl> ppp b / Code / CryEngine / Cry3DEngine / ParticleSystem / ParticleRender . cpp <nl> void CParticleRenderBase : : Render ( CParticleEmitter * pEmitter , CParticleComponentR <nl> <nl> void CParticleRenderBase : : PrepareRenderObject ( CParticleEmitter * pEmitter , CParticleComponent * pComponent , uint renderObjectId , uint threadId , uint64 objFlags ) <nl> { <nl> - CRenderObject * pRenderObject = gEnv - > pRenderer - > EF_GetObject ( ) ; <nl> - pEmitter - > SetRenderObject ( pRenderObject , threadId , renderObjectId ) ; <nl> - <nl> const SComponentParams & params = pComponent - > GetComponentParams ( ) ; <nl> - const SParticleShaderData & rData = params . m_shaderData ; <nl> + <nl> + CRenderObject * pRenderObject = gEnv - > pRenderer - > EF_GetObject ( ) ; <nl> + auto particleMaterial = params . m_pMaterial ; <nl> <nl> pRenderObject - > m_II . m_Matrix . SetIdentity ( ) ; <nl> pRenderObject - > m_fAlpha = 1 . 0f ; <nl> - pRenderObject - > m_pCurrMaterial = params . m_pMaterial ; <nl> + pRenderObject - > m_pCurrMaterial = particleMaterial ; <nl> pRenderObject - > m_pRenderNode = pEmitter ; <nl> pRenderObject - > m_RState = params . m_renderStateFlags ; <nl> pRenderObject - > m_fSort = 0 ; <nl> void CParticleRenderBase : : PrepareRenderObject ( CParticleEmitter * pEmitter , CParti <nl> <nl> SRenderObjData * pObjData = pRenderObject - > GetObjData ( ) ; <nl> pObjData - > m_pParticleShaderData = & params . m_shaderData ; <nl> + <nl> + pEmitter - > SetRenderObject ( pRenderObject , std : : move ( particleMaterial ) , threadId , renderObjectId ) ; <nl> } <nl> <nl> void CParticleRenderBase : : ResetRenderObject ( CParticleEmitter * pEmitter , CParticleComponent * pComponent , uint renderObjectId , uint threadId ) <nl> void CParticleRenderBase : : ResetRenderObject ( CParticleEmitter * pEmitter , CParticl <nl> if ( pRenderObject - > m_pRE ! = nullptr ) <nl> pRenderObject - > m_pRE - > Release ( ) ; <nl> gEnv - > pRenderer - > EF_FreeObject ( pRenderObject ) ; <nl> - pEmitter - > SetRenderObject ( nullptr , threadId , renderObjectId ) ; <nl> + pEmitter - > SetRenderObject ( nullptr , nullptr , threadId , renderObjectId ) ; <nl> } <nl> <nl> void CParticleRenderBase : : AddRenderObject ( CParticleEmitter * pEmitter , CParticleComponentRuntime * pComponentRuntime , CParticleComponent * pComponent , const SRenderContext & renderContext , uint renderObjectId , uint threadId , uint64 objFlags ) <nl> mmm a / Code / CryEngine / CryCommon / Cry3DEngine / IMaterial . h <nl> ppp b / Code / CryEngine / CryCommon / Cry3DEngine / IMaterial . h <nl> struct IMaterial <nl> virtual ~ IMaterial ( ) { } ; <nl> <nl> / / Reference counting . <nl> + virtual bool IsValid ( ) const = 0 ; <nl> virtual void AddRef ( ) = 0 ; <nl> virtual void Release ( ) = 0 ; <nl> virtual int GetNumRefs ( ) = 0 ; <nl> struct IMaterial <nl> virtual int GetFlags ( ) const = 0 ; <nl> <nl> / / ! Returns true if this is the default material . <nl> - virtual bool IsDefault ( ) = 0 ; <nl> + virtual bool IsDefault ( ) const = 0 ; <nl> <nl> - virtual int GetSurfaceTypeId ( ) = 0 ; <nl> + virtual int GetSurfaceTypeId ( ) const = 0 ; <nl> <nl> / / ! Assign a different surface type to this material . <nl> virtual void SetSurfaceType ( const char * sSurfaceTypeName ) = 0 ; <nl> mmm a / Code / CryEngine / CryCommon / CryParticleSystem / IParticles . h <nl> ppp b / Code / CryEngine / CryCommon / CryParticleSystem / IParticles . h <nl> struct IParticleEmitter : public IRenderNode , public CMultiThreadRefCount <nl> EmitParticle ( & data ) ; <nl> } <nl> <nl> - virtual bool UpdateStreamableComponents ( float fImportance , const Matrix34A & objMatrix , IRenderNode * pRenderNode , float fEntDistance , bool bFullUpdate , int nLod ) = 0 ; <nl> - <nl> / / ! Get the Entity ID that this particle emitter is attached to . <nl> virtual unsigned int GetAttachedEntityId ( ) = 0 ; <nl> <nl> mmm a / Code / CryEngine / RenderDll / Common / RenderView . cpp <nl> ppp b / Code / CryEngine / RenderDll / Common / RenderView . cpp <nl> RenderLightIndex CRenderView : : AddLight ( eDeferredLightType lightType , const SRend <nl> SRenderLight * pLight = & m_lights [ lightType ] . back ( ) ; <nl> <nl> pLight - > m_Id = nLightId ; <nl> - pLight - > AcquireResources ( ) ; <nl> } <nl> <nl> return nLightId ; <nl> SRenderLight * CRenderView : : AddLightAtIndex ( eDeferredLightType lightType , const S <nl> } <nl> <nl> pLight - > m_Id = nLightId ; <nl> - pLight - > AcquireResources ( ) ; <nl> <nl> return pLight ; <nl> } <nl> mmm a / Code / CryEngine / RenderDll / Common / Renderer . cpp <nl> ppp b / Code / CryEngine / RenderDll / Common / Renderer . cpp <nl> void S3DEngineCommon : : UpdateRainInfo ( const SRenderingPassInfo & passInfo ) <nl> { <nl> gEnv - > p3DEngine - > GetRainParams ( m_RainInfo ) ; <nl> <nl> - bool bProcessedAll = true ; <nl> - const uint32 numGPUs = gRenDev - > GetActiveGPUCount ( ) ; <nl> - for ( uint32 i = 0 ; i < numGPUs ; + + i ) <nl> - bProcessedAll & = m_RainOccluders . m_bProcessed [ i ] ; <nl> - const bool bUpdateOcc = bProcessedAll ; <nl> - if ( bUpdateOcc ) <nl> - m_RainOccluders . Release ( ) ; <nl> - <nl> const Vec3 vCamPos = passInfo . GetCamera ( ) . GetPosition ( ) ; <nl> const float fUnderWaterAtten = clamp_tpl ( vCamPos . z - m_OceanInfo . m_fWaterLevel + 1 . f , 0 . f , 1 . f ) ; <nl> m_RainInfo . fCurrentAmount * = fUnderWaterAtten ; <nl> <nl> - / / # define RAIN_DEBUG <nl> - # ifndef RAIN_DEBUG <nl> - if ( m_RainInfo . fCurrentAmount < 0 . 05f ) <nl> - return ; <nl> - # endif <nl> - <nl> # ifdef RAIN_DEBUG <nl> m_RainInfo . fAmount = 1 . f ; <nl> m_RainInfo . fCurrentAmount = 1 . f ; <nl> void S3DEngineCommon : : UpdateSnowInfo ( const SRenderingPassInfo & passInfo ) <nl> gEnv - > p3DEngine - > GetSnowSurfaceParams ( m_SnowInfo . m_vWorldPos , m_SnowInfo . m_fRadius , m_SnowInfo . m_fSnowAmount , m_SnowInfo . m_fFrostAmount , m_SnowInfo . m_fSurfaceFreezing ) ; <nl> gEnv - > p3DEngine - > GetSnowFallParams ( m_SnowInfo . m_nSnowFlakeCount , m_SnowInfo . m_fSnowFlakeSize , m_SnowInfo . m_fSnowFallBrightness , m_SnowInfo . m_fSnowFallGravityScale , m_SnowInfo . m_fSnowFallWindScale , m_SnowInfo . m_fSnowFallTurbulence , m_SnowInfo . m_fSnowFallTurbulenceFreq ) ; <nl> <nl> - / / # define RAIN_DEBUG <nl> - # ifndef RAIN_DEBUG <nl> - if ( m_SnowInfo . m_fSnowAmount < 0 . 05f & & m_SnowInfo . m_fFrostAmount < 0 . 05f ) <nl> - return ; <nl> - # endif <nl> - <nl> UpdateRainOccInfo ( passInfo ) ; <nl> } <nl> <nl> void S3DEngineCommon : : UpdateRainOccInfo ( const SRenderingPassInfo & passInfo ) <nl> { <nl> - bool bSnowEnabled = ( m_SnowInfo . m_fSnowAmount > 0 . 05f | | m_SnowInfo . m_fFrostAmount > 0 . 05f ) & & m_SnowInfo . m_fRadius > 0 . 05f ; <nl> + static constexpr auto amountThreshold = 0 . 05f ; <nl> + static constexpr auto rainBBHalfSize = 18 . 0f ; <nl> + <nl> + const bool bSnowEnabled = ( m_SnowInfo . m_fSnowAmount > amountThreshold | | m_SnowInfo . m_fFrostAmount > amountThreshold ) & & m_SnowInfo . m_fRadius > amountThreshold ; <nl> + const bool bRainEnabled = m_RainInfo . fCurrentAmount > amountThreshold ; <nl> + const bool rainOrSnowEnabled = bSnowEnabled | | bRainEnabled ; <nl> + <nl> + const float fViewerArea = bSnowEnabled ? 128 . f : 32 . f ; / / Snow requires further view distance , otherwise obvious " unoccluded " snow regions become visible . <nl> + const unsigned int nMaxOccluders = 512 * ( bSnowEnabled ? 3 : 2 ) ; <nl> + <nl> + / / Choose world position and radius . <nl> + / / Snow takes priority since occlusion has a much stronger impact on it . <nl> + Vec3 vWorldPos = bSnowEnabled ? m_SnowInfo . m_vWorldPos : m_RainInfo . vWorldPos ; <nl> + float fRadius = bSnowEnabled ? m_SnowInfo . m_fRadius : m_RainInfo . fRadius ; <nl> + float fOccArea = fViewerArea ; <nl> + static bool oldRainOrSnowEnabled = false ; <nl> <nl> - bool bProcessedAll = true ; <nl> + / / Bail early if rain / snow is not enabled <nl> + # ifndef RAIN_DEBUG <nl> + if ( ! rainOrSnowEnabled ) <nl> + { <nl> + oldRainOrSnowEnabled = false ; <nl> + return ; <nl> + } <nl> + # endif <nl> + <nl> + bool bProcessedAll = true ; <nl> const uint32 numGPUs = gRenDev - > GetActiveGPUCount ( ) ; <nl> for ( uint32 i = 0 ; i < numGPUs ; + + i ) <nl> bProcessedAll & = m_RainOccluders . m_bProcessed [ i ] ; <nl> - const bool bUpdateOcc = bProcessedAll ; / / there is no field called bForecedUpdate in RainOccluders - m_RainOccluders . bForceUpdate | | bProcessedAll ; <nl> + <nl> + const Vec3 vCamPos = passInfo . GetCamera ( ) . GetPosition ( ) ; <nl> + bool bDisableOcclusion = m_RainInfo . bDisableOcclusion ; <nl> + <nl> + / / Rain volume BB <nl> + AABB bbRainVol ( fRadius ) ; <nl> + bbRainVol . Move ( vWorldPos ) ; <nl> + <nl> + / / Visible area BB ( Expanded to BB diagonal length to allow rotation ) <nl> + AABB bbViewer ( fViewerArea ) ; <nl> + bbViewer . Move ( vCamPos ) ; <nl> + <nl> + / / Area around viewer / rain source BB <nl> + AABB bbArea ( bbViewer ) ; <nl> + bbArea . ClipToBox ( bbRainVol ) ; <nl> + <nl> + / / Snap BB to grid <nl> + Vec3 vSnapped = bbArea . min / rainBBHalfSize ; <nl> + bbArea . min . Set ( floor_tpl ( vSnapped . x ) , floor_tpl ( vSnapped . y ) , floor_tpl ( vSnapped . z ) ) ; <nl> + bbArea . min * = rainBBHalfSize ; <nl> + vSnapped = bbArea . max / rainBBHalfSize ; <nl> + bbArea . max . Set ( ceil_tpl ( vSnapped . x ) , ceil_tpl ( vSnapped . y ) , ceil_tpl ( vSnapped . z ) ) ; <nl> + bbArea . max * = rainBBHalfSize ; <nl> + <nl> + static bool bOldDisableOcclusion = true ; / / set to true to allow update at first run <nl> + static float fOccTreshold = CRenderer : : CV_r_rainOccluderSizeTreshold ; <nl> + static float fOldRadius = . 0f ; <nl> + const AABB & oldAreaBounds = m_RainInfo . areaAABB ; <nl> + <nl> + / / Update occluders if properties changed <nl> + bool bUpdateOcc = bProcessedAll ; / / there is no field called bForecedUpdate in RainOccluders - m_RainOccluders . bForceUpdate | | bProcessedAll ; <nl> + bUpdateOcc & = ! oldAreaBounds . min . IsEquivalent ( bbArea . min ) <nl> + | | ! oldAreaBounds . max . IsEquivalent ( bbArea . max ) <nl> + | | fOldRadius ! = fRadius / / m_RainInfo . fRadius <nl> + | | bOldDisableOcclusion ! = bDisableOcclusion <nl> + | | fOccTreshold ! = CRenderer : : CV_r_rainOccluderSizeTreshold <nl> + | | ! oldRainOrSnowEnabled ; <nl> + oldRainOrSnowEnabled = true ; <nl> + <nl> if ( bUpdateOcc ) <nl> m_RainOccluders . Release ( ) ; <nl> <nl> - const Vec3 vCamPos = passInfo . GetCamera ( ) . GetPosition ( ) ; <nl> - bool bDisableOcclusion = m_RainInfo . bDisableOcclusion ; <nl> - static bool bOldDisableOcclusion = true ; / / set to true to allow update at first run <nl> + / / Set to new values , will be needed for other rain passes <nl> + m_RainInfo . areaAABB = bbArea ; <nl> <nl> if ( CRenderer : : CV_r_rain = = 2 & & ! bDisableOcclusion ) <nl> { <nl> N3DEngineCommon : : ArrOccluders & arrOccluders = m_RainOccluders . m_arrOccluders ; <nl> - static const unsigned int nMAX_OCCLUDERS = bSnowEnabled ? 768 : 512 ; <nl> - static const float rainBBHalfSize = 18 . f ; <nl> <nl> if ( bUpdateOcc ) <nl> { <nl> - <nl> - / / Choose world position and radius . <nl> - / / Snow takes priority since occlusion has a much stronger impact on it . <nl> - Vec3 vWorldPos = bSnowEnabled ? m_SnowInfo . m_vWorldPos : m_RainInfo . vWorldPos ; <nl> - float fRadius = bSnowEnabled ? m_SnowInfo . m_fRadius : m_RainInfo . fRadius ; <nl> - float fViewerArea = bSnowEnabled ? 128 . f : 32 . f ; / / Snow requires further view distance , otherwise obvious " unoccluded " snow regions become visible . <nl> - float fOccArea = fViewerArea ; <nl> - <nl> - / / Rain volume BB <nl> - AABB bbRainVol ( fRadius ) ; <nl> - bbRainVol . Move ( vWorldPos ) ; <nl> - <nl> - / / Visible area BB ( Expanded to BB diagonal length to allow rotation ) <nl> - AABB bbViewer ( fViewerArea ) ; <nl> - bbViewer . Move ( vCamPos ) ; <nl> - <nl> - / / Area around viewer / rain source BB <nl> - AABB bbArea ( bbViewer ) ; <nl> - bbArea . ClipToBox ( bbRainVol ) ; <nl> - <nl> - / / Snap BB to grid <nl> - Vec3 vSnapped = bbArea . min / rainBBHalfSize ; <nl> - bbArea . min . Set ( floor_tpl ( vSnapped . x ) , floor_tpl ( vSnapped . y ) , floor_tpl ( vSnapped . z ) ) ; <nl> - bbArea . min * = rainBBHalfSize ; <nl> - vSnapped = bbArea . max / rainBBHalfSize ; <nl> - bbArea . max . Set ( ceil_tpl ( vSnapped . x ) , ceil_tpl ( vSnapped . y ) , ceil_tpl ( vSnapped . z ) ) ; <nl> - bbArea . max * = rainBBHalfSize ; <nl> - <nl> - / / If occlusion map info dirty <nl> - static float fOccTreshold = CRenderer : : CV_r_rainOccluderSizeTreshold ; <nl> - static float fOldRadius = fRadius ; <nl> - const AABB & oldAreaBounds = m_RainInfo . areaAABB ; <nl> - if ( ! oldAreaBounds . min . IsEquivalent ( bbArea . min ) <nl> - | | ! oldAreaBounds . max . IsEquivalent ( bbArea . max ) <nl> - | | fOldRadius ! = fRadius / / m_RainInfo . fRadius <nl> - | | bOldDisableOcclusion ! = bDisableOcclusion <nl> - | | fOccTreshold ! = CRenderer : : CV_r_rainOccluderSizeTreshold ) <nl> + / / Get occluders inside area <nl> + unsigned int nOccluders ( 0 ) ; <nl> + <nl> + EERType eFilterType = eERType_Brush ; <nl> + nOccluders = gEnv - > p3DEngine - > GetObjectsByTypeInBox ( eFilterType , bbArea ) ; <nl> + std : : vector < IRenderNode * > occluders ( nOccluders , NULL ) ; <nl> + if ( nOccluders ) <nl> + gEnv - > p3DEngine - > GetObjectsByTypeInBox ( eFilterType , bbArea , & occluders . front ( ) ) ; <nl> + fOccTreshold = CRenderer : : CV_r_rainOccluderSizeTreshold ; <nl> + fOldRadius = fRadius ; <nl> + <nl> + AABB geomBB ( AABB : : RESET ) ; <nl> + const size_t occluderLimit = min ( nOccluders , nMaxOccluders ) ; <nl> + arrOccluders . resize ( occluderLimit ) ; <nl> + / / Filter occluders and get bounding box <nl> + for ( std : : vector < IRenderNode * > : : const_iterator it = occluders . begin ( ) ; <nl> + it ! = occluders . end ( ) & & m_RainOccluders . m_nNumOccluders < occluderLimit ; <nl> + + + it ) <nl> { <nl> - / / Get occluders inside area <nl> - unsigned int nOccluders ( 0 ) ; <nl> - <nl> - EERType eFilterType = eERType_Brush ; <nl> - nOccluders = gEnv - > p3DEngine - > GetObjectsByTypeInBox ( eFilterType , bbArea ) ; <nl> - std : : vector < IRenderNode * > occluders ( nOccluders , NULL ) ; <nl> - if ( nOccluders ) <nl> - gEnv - > p3DEngine - > GetObjectsByTypeInBox ( eFilterType , bbArea , & occluders . front ( ) ) ; <nl> - <nl> - / / Set to new values , will be needed for other rain passes <nl> - m_RainInfo . areaAABB = bbArea ; <nl> - fOccTreshold = CRenderer : : CV_r_rainOccluderSizeTreshold ; <nl> - fOldRadius = fRadius ; <nl> - <nl> - AABB geomBB ( AABB : : RESET ) ; <nl> - const size_t occluderLimit = min ( nOccluders , nMAX_OCCLUDERS ) ; <nl> - arrOccluders . resize ( occluderLimit ) ; <nl> - / / Filter occluders and get bounding box <nl> - for ( std : : vector < IRenderNode * > : : const_iterator it = occluders . begin ( ) ; <nl> - it ! = occluders . end ( ) & & m_RainOccluders . m_nNumOccluders < occluderLimit ; <nl> - + + it ) <nl> + IRenderNode * pRndNode = * it ; <nl> + if ( pRndNode ) <nl> { <nl> - IRenderNode * pRndNode = * it ; <nl> - if ( pRndNode ) <nl> - { <nl> - const AABB & aabb = pRndNode - > GetBBox ( ) ; <nl> - const Vec3 vDiag = aabb . max - aabb . min ; <nl> - const float fSqrFlatRadius = Vec2 ( vDiag . x , vDiag . y ) . GetLength2 ( ) ; <nl> - auto nRndNodeFlags = pRndNode - > GetRndFlags ( ) ; <nl> - / / TODO : rainoccluder should be the only flag tested <nl> - / / ( ie . enabled ONLY for small subset of geometry assets - means going through all assets affected by rain ) <nl> - if ( ( fSqrFlatRadius < CRenderer : : CV_r_rainOccluderSizeTreshold ) <nl> - | | ! ( nRndNodeFlags & ERF_RAIN_OCCLUDER ) <nl> - | | ( nRndNodeFlags & ( ERF_COLLISION_PROXY | ERF_RAYCAST_PROXY | ERF_HIDDEN | ERF_PICKABLE ) ) ) <nl> - continue ; <nl> + const AABB & aabb = pRndNode - > GetBBox ( ) ; <nl> + const Vec3 vDiag = aabb . max - aabb . min ; <nl> + const float fSqrFlatRadius = Vec2 ( vDiag . x , vDiag . y ) . GetLength2 ( ) ; <nl> + auto nRndNodeFlags = pRndNode - > GetRndFlags ( ) ; <nl> + / / TODO : rainoccluder should be the only flag tested <nl> + / / ( ie . enabled ONLY for small subset of geometry assets - means going through all assets affected by rain ) <nl> + if ( ( fSqrFlatRadius < CRenderer : : CV_r_rainOccluderSizeTreshold ) <nl> + | | ! ( nRndNodeFlags & ERF_RAIN_OCCLUDER ) <nl> + | | ( nRndNodeFlags & ( ERF_COLLISION_PROXY | ERF_RAYCAST_PROXY | ERF_HIDDEN | ERF_PICKABLE ) ) ) <nl> + continue ; <nl> <nl> - N3DEngineCommon : : SRainOccluder rainOccluder ; <nl> - IStatObj * pObj = pRndNode - > GetEntityStatObj ( 0 , & rainOccluder . m_WorldMat ) ; <nl> - if ( pObj ) <nl> + N3DEngineCommon : : SRainOccluder rainOccluder ; <nl> + IStatObj * pObj = pRndNode - > GetEntityStatObj ( 0 , & rainOccluder . m_WorldMat ) ; <nl> + if ( pObj ) <nl> + { <nl> + const size_t nPrevIdx = m_RainOccluders . m_nNumOccluders ; <nl> + if ( pObj - > GetFlags ( ) & STATIC_OBJECT_COMPOUND ) <nl> { <nl> - const size_t nPrevIdx = m_RainOccluders . m_nNumOccluders ; <nl> - if ( pObj - > GetFlags ( ) & STATIC_OBJECT_COMPOUND ) <nl> + const Matrix34A matParentTM = rainOccluder . m_WorldMat ; <nl> + int nSubCount = pObj - > GetSubObjectCount ( ) ; <nl> + for ( int nSubId = 0 ; nSubId < nSubCount & & m_RainOccluders . m_nNumOccluders < occluderLimit ; nSubId + + ) <nl> { <nl> - const Matrix34A matParentTM = rainOccluder . m_WorldMat ; <nl> - int nSubCount = pObj - > GetSubObjectCount ( ) ; <nl> - for ( int nSubId = 0 ; nSubId < nSubCount & & m_RainOccluders . m_nNumOccluders < occluderLimit ; nSubId + + ) <nl> + IStatObj : : SSubObject * pSubObj = pObj - > GetSubObject ( nSubId ) ; <nl> + if ( pSubObj - > bIdentityMatrix ) <nl> + rainOccluder . m_WorldMat = matParentTM ; <nl> + else <nl> + rainOccluder . m_WorldMat = matParentTM * pSubObj - > localTM ; <nl> + <nl> + IStatObj * pSubStatObj = pSubObj - > pStatObj ; <nl> + if ( pSubStatObj & & pSubStatObj - > GetRenderMesh ( ) ) <nl> { <nl> - IStatObj : : SSubObject * pSubObj = pObj - > GetSubObject ( nSubId ) ; <nl> - if ( pSubObj - > bIdentityMatrix ) <nl> - rainOccluder . m_WorldMat = matParentTM ; <nl> - else <nl> - rainOccluder . m_WorldMat = matParentTM * pSubObj - > localTM ; <nl> - <nl> - IStatObj * pSubStatObj = pSubObj - > pStatObj ; <nl> - if ( pSubStatObj & & pSubStatObj - > GetRenderMesh ( ) ) <nl> - { <nl> - rainOccluder . m_RndMesh = pSubStatObj - > GetRenderMesh ( ) ; <nl> - arrOccluders [ m_RainOccluders . m_nNumOccluders + + ] = rainOccluder ; <nl> - } <nl> + rainOccluder . m_RndMesh = pSubStatObj - > GetRenderMesh ( ) ; <nl> + arrOccluders [ m_RainOccluders . m_nNumOccluders + + ] = rainOccluder ; <nl> } <nl> } <nl> - else if ( pObj - > GetRenderMesh ( ) ) <nl> - { <nl> - rainOccluder . m_RndMesh = pObj - > GetRenderMesh ( ) ; <nl> - arrOccluders [ m_RainOccluders . m_nNumOccluders + + ] = rainOccluder ; <nl> - } <nl> - <nl> - if ( m_RainOccluders . m_nNumOccluders > nPrevIdx ) <nl> - geomBB . Add ( pRndNode - > GetBBox ( ) ) ; <nl> } <nl> + else if ( pObj - > GetRenderMesh ( ) ) <nl> + { <nl> + rainOccluder . m_RndMesh = pObj - > GetRenderMesh ( ) ; <nl> + arrOccluders [ m_RainOccluders . m_nNumOccluders + + ] = rainOccluder ; <nl> + } <nl> + <nl> + if ( m_RainOccluders . m_nNumOccluders > nPrevIdx ) <nl> + geomBB . Add ( pRndNode - > GetBBox ( ) ) ; <nl> } <nl> } <nl> - const bool bProcess = m_RainOccluders . m_nNumOccluders = = 0 ; <nl> - for ( uint32 i = 0 ; i < numGPUs ; + + i ) <nl> - m_RainOccluders . m_bProcessed [ i ] = bProcess ; <nl> - m_RainInfo . bApplyOcclusion = m_RainOccluders . m_nNumOccluders > 0 ; <nl> - <nl> - geomBB . ClipToBox ( bbArea ) ; <nl> - / / Clip to ocean level <nl> - geomBB . min . z = max ( geomBB . min . z , gEnv - > p3DEngine - > GetWaterLevel ( ) ) - 0 . 5f ; <nl> - <nl> - float fWaterOffset = m_OceanInfo . m_fWaterLevel - geomBB . min . z ; <nl> - fWaterOffset = ( float ) __fsel ( fWaterOffset , fWaterOffset , 0 . 0f ) ; <nl> - <nl> - geomBB . min . z + = fWaterOffset - 0 . 5f ; <nl> - geomBB . max . z + = fWaterOffset ; <nl> - <nl> - Vec3 vSnappedCenter = bbArea . GetCenter ( ) / rainBBHalfSize ; <nl> - vSnappedCenter . Set ( floor_tpl ( vSnappedCenter . x ) , floor_tpl ( vSnappedCenter . y ) , floor_tpl ( vSnappedCenter . z ) ) ; <nl> - vSnappedCenter * = rainBBHalfSize ; <nl> - <nl> - AABB occBB ( fOccArea ) ; <nl> - occBB . Move ( vSnappedCenter ) ; <nl> - occBB . min . z = max ( occBB . min . z , geomBB . min . z ) ; <nl> - occBB . max . z = min ( occBB . max . z , geomBB . max . z ) ; <nl> - <nl> - / / Generate rotation matrix part - way from identity <nl> - / / - Typical shadow filtering issues at grazing angles <nl> - Quat qOcc = m_RainInfo . qRainRotation ; <nl> - qOcc . SetSlerp ( qOcc , Quat : : CreateIdentity ( ) , 0 . 75f ) ; <nl> - Matrix44 matRot ( Matrix33 ( qOcc . GetInverted ( ) ) ) ; <nl> - <nl> - / / Get occlusion transformation matrix <nl> - Matrix44 & matOccTrans = m_RainInfo . matOccTrans ; <nl> - Matrix44 matScale ; <nl> - matOccTrans . SetIdentity ( ) ; <nl> - matOccTrans . SetTranslation ( - occBB . min ) ; <nl> - matScale . SetIdentity ( ) ; <nl> - const Vec3 vScale ( occBB . max - occBB . min ) ; <nl> - matScale . m00 = 1 . f / vScale . x ; <nl> - matScale . m11 = 1 . f / vScale . y ; <nl> - matScale . m22 = 1 . f / vScale . z ; <nl> - matOccTrans = matRot * matScale * matOccTrans ; <nl> } <nl> + const bool bProcess = m_RainOccluders . m_nNumOccluders = = 0 ; <nl> + for ( uint32 i = 0 ; i < numGPUs ; + + i ) <nl> + m_RainOccluders . m_bProcessed [ i ] = bProcess ; <nl> + m_RainInfo . bApplyOcclusion = m_RainOccluders . m_nNumOccluders > 0 ; <nl> + <nl> + geomBB . ClipToBox ( bbArea ) ; <nl> + / / Clip to ocean level <nl> + geomBB . min . z = max ( geomBB . min . z , gEnv - > p3DEngine - > GetWaterLevel ( ) ) - 0 . 5f ; <nl> + <nl> + float fWaterOffset = m_OceanInfo . m_fWaterLevel - geomBB . min . z ; <nl> + fWaterOffset = ( float ) __fsel ( fWaterOffset , fWaterOffset , 0 . 0f ) ; <nl> + <nl> + geomBB . min . z + = fWaterOffset - 0 . 5f ; <nl> + geomBB . max . z + = fWaterOffset ; <nl> + <nl> + Vec3 vSnappedCenter = bbArea . GetCenter ( ) / rainBBHalfSize ; <nl> + vSnappedCenter . Set ( floor_tpl ( vSnappedCenter . x ) , floor_tpl ( vSnappedCenter . y ) , floor_tpl ( vSnappedCenter . z ) ) ; <nl> + vSnappedCenter * = rainBBHalfSize ; <nl> + <nl> + AABB occBB ( fOccArea ) ; <nl> + occBB . Move ( vSnappedCenter ) ; <nl> + occBB . min . z = max ( occBB . min . z , geomBB . min . z ) ; <nl> + occBB . max . z = min ( occBB . max . z , geomBB . max . z ) ; <nl> + <nl> + / / Generate rotation matrix part - way from identity <nl> + / / - Typical shadow filtering issues at grazing angles <nl> + Quat qOcc = m_RainInfo . qRainRotation ; <nl> + qOcc . SetSlerp ( qOcc , Quat : : CreateIdentity ( ) , 0 . 75f ) ; <nl> + Matrix44 matRot ( Matrix33 ( qOcc . GetInverted ( ) ) ) ; <nl> + <nl> + / / Get occlusion transformation matrix <nl> + Matrix44 & matOccTrans = m_RainInfo . matOccTrans ; <nl> + Matrix44 matScale ; <nl> + matOccTrans . SetIdentity ( ) ; <nl> + matOccTrans . SetTranslation ( - occBB . min ) ; <nl> + matScale . SetIdentity ( ) ; <nl> + const Vec3 vScale ( occBB . max - occBB . min ) ; <nl> + matScale . m00 = 1 . f / vScale . x ; <nl> + matScale . m11 = 1 . f / vScale . y ; <nl> + matScale . m22 = 1 . f / vScale . z ; <nl> + matOccTrans = matRot * matScale * matOccTrans ; <nl> } <nl> <nl> # if CRY_PLATFORM_WINDOWS & & ! defined ( _RELEASE ) <nl> - if ( m_RainOccluders . m_nNumOccluders > = nMAX_OCCLUDERS ) <nl> + if ( m_RainOccluders . m_nNumOccluders > = nMaxOccluders ) <nl> { <nl> CryWarning ( VALIDATOR_MODULE_3DENGINE , VALIDATOR_WARNING , <nl> - " Reached max rain occluder limit ( Max : % i ) , some objects may have been discarded ! " , nMAX_OCCLUDERS ) ; <nl> + " Reached max rain occluder limit ( Max : % i ) , some objects may have been discarded ! " , nMaxOccluders ) ; <nl> } <nl> # endif <nl> <nl> mmm a / Code / CryEngine / RenderDll / Common / RendererCVars . cpp <nl> ppp b / Code / CryEngine / RenderDll / Common / RendererCVars . cpp <nl> static void OnChange_CV_r_HDRRendering ( ICVar * pCVar ) <nl> <nl> / / MSAA requires HDR mode on <nl> / / search for # LABEL_MSAA_HDR <nl> - if ( ! pCVar - > GetIVal ( ) ) <nl> - { <nl> - / / HDR was switched off <nl> - ICVar * pMSAA = gEnv - > pConsole - > GetCVar ( " r_MSAA " ) ; <nl> - <nl> - if ( pMSAA - > GetIVal ( ) ) <nl> - pMSAA - > Set ( 0 ) ; / / switch off MSAA <nl> - } <nl> + / / cvar r_MSAA is no longer available <nl> } <nl> <nl> static void OnChange_CV_r_ShadersAllowCompiliation ( ICVar * pCVar ) <nl> const CCVarUpdateRecorder : : SUpdateRecord * CCVarUpdateRecorder : : GetCVar ( const cha <nl> } <nl> <nl> return nullptr ; <nl> - } <nl> \ No newline at end of file <nl> + } <nl> mmm a / Code / CryEngine / RenderDll / Common / RendererResources . cpp <nl> ppp b / Code / CryEngine / RenderDll / Common / RendererResources . cpp <nl> bool CRendererResources : : CreatePostFXMaps ( int resourceWidth , int resourceHeight ) <nl> SPostEffectsUtils : : GetOrCreateRenderTarget ( " $ RainSSOcclusion0 " , s_ptexRainSSOcclusion [ 0 ] , width_r8 , height_r8 , Clr_Unknown , 1 , false , eTF_R8G8B8A8 ) ; <nl> SPostEffectsUtils : : GetOrCreateRenderTarget ( " $ RainSSOcclusion1 " , s_ptexRainSSOcclusion [ 1 ] , width_r8 , height_r8 , Clr_Unknown , 1 , false , eTF_R8G8B8A8 ) ; <nl> <nl> - SPostEffectsUtils : : GetOrCreateRenderTarget ( " $ RainOcclusion " , s_ptexRainOcclusion , RAIN_OCC_MAP_SIZE , RAIN_OCC_MAP_SIZE , Clr_Unknown , false , false , eTF_R8G8B8A8 , - 1 , FT_DONT_RELEASE ) ; <nl> - <nl> - SPostEffectsUtils : : GetOrCreateRenderTarget ( " $ WaterVolumeDDN " , s_ptexWaterVolumeDDN , 64 , 64 , Clr_Unknown , 1 , true , eTF_R16G16B16A16F , TO_WATERVOLUMEMAP ) ; <nl> - / / s_ptexWaterVolumeDDN - > DisableMgpuSync ( ) ; <nl> - <nl> if ( CRenderer : : CV_r_watervolumecaustics & & CRenderer : : CV_r_watercaustics & & CRenderer : : CV_r_watercausticsdeferred ) <nl> { <nl> const int nCausticRes = clamp_tpl ( CRenderer : : CV_r_watervolumecausticsresolution , 256 , 4096 ) ; <nl> bool CRendererResources : : CreatePostFXMaps ( int resourceWidth , int resourceHeight ) <nl> SPostEffectsUtils : : GetOrCreateRenderTarget ( " $ FlaresGather " , s_ptexFlaresGather , CFlareSoftOcclusionQuery : : s_nGatherTextureWidth , CFlareSoftOcclusionQuery : : s_nGatherTextureHeight , Clr_Unknown , 1 , 0 , eTF_R8G8B8A8 , - 1 , FT_DONT_RELEASE ) ; <nl> } <nl> <nl> + / * <nl> + * The following textures do not need to be recreated on resize <nl> + * / <nl> + <nl> + if ( ! CTexture : : IsTextureExist ( s_ptexRainOcclusion ) ) <nl> + SPostEffectsUtils : : GetOrCreateRenderTarget ( " $ RainOcclusion " , s_ptexRainOcclusion , RAIN_OCC_MAP_SIZE , RAIN_OCC_MAP_SIZE , Clr_Unknown , false , false , eTF_R8G8B8A8 , - 1 , FT_DONT_RELEASE ) ; <nl> + <nl> + if ( ! CTexture : : IsTextureExist ( s_ptexWaterVolumeDDN ) ) <nl> + { <nl> + SPostEffectsUtils : : GetOrCreateRenderTarget ( " $ WaterVolumeDDN " , s_ptexWaterVolumeDDN , 64 , 64 , Clr_Unknown , 1 , true , eTF_R16G16B16A16F , TO_WATERVOLUMEMAP ) ; <nl> + / / s_ptexWaterVolumeDDN - > DisableMgpuSync ( ) ; <nl> + } <nl> + <nl> + <nl> return 1 ; <nl> } <nl> <nl> mmm a / Code / CryEngine / RenderDll / Common / Shaders / CShader . h <nl> ppp b / Code / CryEngine / RenderDll / Common / Shaders / CShader . h <nl> class CShaderMan : <nl> static CShader * s_ShaderStereo ; <nl> static CShader * s_ShaderClouds ; <nl> static CShader * s_ShaderMobileComposition ; <nl> + static CShader * s_ShaderGpuParticles ; <nl> <nl> const SInputShaderResources * m_pCurInputResources ; <nl> SShaderGen * m_pGlobalExt ; <nl> mmm a / Code / CryEngine / RenderDll / Common / Shaders / ShaderCore . cpp <nl> ppp b / Code / CryEngine / RenderDll / Common / Shaders / ShaderCore . cpp <nl> CShader * CShaderMan : : s_shPostEffectsRenderModes ; <nl> CShader * CShaderMan : : s_shPostAA ; <nl> CShader * CShaderMan : : s_ShaderCommon ; <nl> CShader * CShaderMan : : s_ShaderOcclTest ; <nl> - CShader * CShaderMan : : s_ShaderDXTCompress = NULL ; <nl> - CShader * CShaderMan : : s_ShaderStereo = NULL ; <nl> - CShader * CShaderMan : : s_ShaderClouds = NULL ; <nl> + CShader * CShaderMan : : s_ShaderDXTCompress = nullptr ; <nl> + CShader * CShaderMan : : s_ShaderStereo = nullptr ; <nl> + CShader * CShaderMan : : s_ShaderClouds = nullptr ; <nl> + CShader * CShaderMan : : s_ShaderGpuParticles = nullptr ; <nl> CShader * CShaderMan : : s_ShaderMobileComposition = nullptr ; <nl> CCryNameTSCRC CShaderMan : : s_cNameHEAD ; <nl> <nl> void CShaderMan : : mfReleaseSystemShaders ( ) <nl> SAFE_RELEASE_FORCE ( s_ShaderDXTCompress ) ; <nl> SAFE_RELEASE_FORCE ( s_ShaderStereo ) ; <nl> SAFE_RELEASE_FORCE ( s_ShaderClouds ) ; <nl> + SAFE_RELEASE_FORCE ( s_ShaderGpuParticles ) ; <nl> SAFE_RELEASE_FORCE ( s_ShaderMobileComposition ) ; <nl> m_bLoadedSystem = false ; <nl> <nl> void CShaderMan : : mfLoadDefaultSystemShaders ( ) <nl> mfRefreshSystemShader ( " ShadowBlur " , CShaderMan : : s_ShaderShadowBlur ) ; <nl> mfRefreshSystemShader ( " Sunshafts " , CShaderMan : : s_shPostSunShafts ) ; <nl> mfRefreshSystemShader ( " Clouds " , CShaderMan : : s_ShaderClouds ) ; <nl> + mfRefreshSystemShader ( " GpuParticles " , CShaderMan : : s_ShaderGpuParticles ) ; <nl> } <nl> <nl> } <nl> mmm a / Code / CryEngine / RenderDll / XRenderD3D9 / D3DRenderThread . cpp <nl> ppp b / Code / CryEngine / RenderDll / XRenderD3D9 / D3DRenderThread . cpp <nl> void CD3D9Renderer : : RT_CreateRenderResources ( ) <nl> void CD3D9Renderer : : RT_PrecacheDefaultShaders ( ) <nl> { <nl> SShaderCombination cmb ; <nl> - m_cEF . s_ShaderStereo - > mfPrecache ( cmb , true , NULL ) ; <nl> + <nl> + m_cEF . s_ShaderStereo - > mfPrecache ( cmb , true , nullptr ) ; <nl> + <nl> + # if defined ( FEATURE_SVO_GI ) <nl> + m_cEF . s_ShaderSVOGI - > mfPrecache ( cmb , true , nullptr ) ; <nl> + # endif <nl> + m_cEF . s_ShaderCommon - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderDebug - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderDeferredCaustics - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderDeferredRain - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderDeferredSnow - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_shDeferredShading - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_shPostDepthOfField - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderDXTCompress - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderTreeSprites - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderLensOptics - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderSoftOcclusionQuery - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_shPostMotionBlur - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderOcclTest - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_shPostEffectsGame - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_shPostEffectsRenderModes - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_shPostAA - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderShadowBlur - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_shPostSunShafts - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderClouds - > mfPrecache ( cmb , true , nullptr ) ; <nl> + m_cEF . s_ShaderGpuParticles - > mfPrecache ( cmb , true , nullptr ) ; <nl> <nl> # if RENDERER_SUPPORT_SCALEFORM <nl> SF_PrecacheShaders ( ) ; <nl> mmm a / Code / CryEngine / RenderDll / XRenderD3D9 / D3DShaders . cpp <nl> ppp b / Code / CryEngine / RenderDll / XRenderD3D9 / D3DShaders . cpp <nl> void CRenderer : : RefreshSystemShaders ( ) <nl> gRenDev - > m_cEF . mfRefreshSystemShader ( " Stereo " , CShaderMan : : s_ShaderStereo ) ; <nl> gRenDev - > m_cEF . mfRefreshSystemShader ( " Sunshafts " , CShaderMan : : s_shPostSunShafts ) ; <nl> gRenDev - > m_cEF . mfRefreshSystemShader ( " Clouds " , CShaderMan : : s_ShaderClouds ) ; <nl> + gRenDev - > m_cEF . mfRefreshSystemShader ( " GpuParticles " , CShaderMan : : s_ShaderGpuParticles ) ; <nl> gRenDev - > m_cEF . mfRefreshSystemShader ( " Stars " , CShaderMan : : s_ShaderStars ) ; <nl> gRenDev - > m_cEF . mfRefreshSystemShader ( " MobileComposition " , CShaderMan : : s_ShaderMobileComposition ) ; <nl> } <nl> mmm a / Code / CryEngine / RenderDll / XRenderD3D9 / Gpu / Particles / GpuParticleComponentRuntime . cpp <nl> ppp b / Code / CryEngine / RenderDll / XRenderD3D9 / Gpu / Particles / GpuParticleComponentRuntime . cpp <nl> void CParticleComponentRuntime : : EvolveParticles ( CDeviceCommandListRef RESTRICT_R <nl> <nl> void CParticleComponentRuntime : : InitializePasses ( ) <nl> { <nl> - m_pShader . reset ( ) ; <nl> - CShader * pShader = gcpRendD3D . m_cEF . mfForName ( " GpuParticles " , 0 , 0 , 0 ) ; <nl> - m_pShader . Assign_NoAddRef ( pShader ) ; <nl> - <nl> / / set up compute passes that dont have varying material flags <nl> - m_passCalcBounds . SetTechnique ( m_pShader , CCryNameTSCRC ( " CalculateBounds " ) , 0 ) ; <nl> - m_passSwapToEnd . SetTechnique ( m_pShader , CCryNameTSCRC ( " SwapToEnd " ) , 0 ) ; <nl> - m_passFillKillList . SetTechnique ( m_pShader , CCryNameTSCRC ( " FillKillList " ) , 0 ) ; <nl> - m_passPrepareSort . SetTechnique ( m_pShader , CCryNameTSCRC ( " PrepareSort " ) , 0 ) ; <nl> - m_passReorderParticles . SetTechnique ( m_pShader , CCryNameTSCRC ( " ReorderParticles " ) , 0 ) ; <nl> + m_passCalcBounds . SetTechnique ( CShaderMan : : s_ShaderGpuParticles , CCryNameTSCRC ( " CalculateBounds " ) , 0 ) ; <nl> + m_passSwapToEnd . SetTechnique ( CShaderMan : : s_ShaderGpuParticles , CCryNameTSCRC ( " SwapToEnd " ) , 0 ) ; <nl> + m_passFillKillList . SetTechnique ( CShaderMan : : s_ShaderGpuParticles , CCryNameTSCRC ( " FillKillList " ) , 0 ) ; <nl> + m_passPrepareSort . SetTechnique ( CShaderMan : : s_ShaderGpuParticles , CCryNameTSCRC ( " PrepareSort " ) , 0 ) ; <nl> + m_passReorderParticles . SetTechnique ( CShaderMan : : s_ShaderGpuParticles , CCryNameTSCRC ( " ReorderParticles " ) , 0 ) ; <nl> } <nl> <nl> void CParticleComponentRuntime : : Initialize ( ) <nl> mmm a / Code / CryEngine / RenderDll / XRenderD3D9 / Gpu / Particles / GpuParticleComponentRuntime . h <nl> ppp b / Code / CryEngine / RenderDll / XRenderD3D9 / Gpu / Particles / GpuParticleComponentRuntime . h <nl> class CParticleComponentRuntime : public IParticleComponentRuntime <nl> std : : unique_ptr < gpu_physics : : CParticleFluidSimulation > m_pFluidSimulation ; <nl> std : : unique_ptr < gpu : : CMergeSort > m_pMergeSort ; <nl> <nl> - _smart_ptr < CShader > m_pShader ; <nl> _smart_ptr < CShader > m_pInitShader ; <nl> _smart_ptr < CShader > m_pUpdateShader ; <nl> <nl> mmm a / Code / CryEngine / RenderDll / XRenderD3D9 / GraphicsPipeline / ColorGrading . cpp <nl> ppp b / Code / CryEngine / RenderDll / XRenderD3D9 / GraphicsPipeline / ColorGrading . cpp <nl> void CColorGradingStage : : PreparePrimitives ( CColorGradingController & controller , <nl> <nl> m_pChartToUse = GetStaticColorChart ( ) ; <nl> if ( m_pChartToUse ! = nullptr ) <nl> - return ; <nl> + return ; <nl> <nl> / / init passes <nl> m_mergePass . BeginAddingPrimitives ( ) ; <nl> mmm a / Code / CryEngine / RenderDll / XRenderD3D9 / GraphicsPipeline / Rain . cpp <nl> ppp b / Code / CryEngine / RenderDll / XRenderD3D9 / GraphicsPipeline / Rain . cpp <nl> void CRainStage : : Destroy ( ) <nl> void CRainStage : : Update ( ) <nl> { <nl> CD3D9Renderer * const RESTRICT_POINTER rd = gcpRendD3D ; <nl> - const CRenderView * pRenderView = RenderView ( ) ; <nl> + const auto shouldApplyOcclusion = rd - > m_bDeferredRainOcclusionEnabled ; <nl> <nl> - if ( ! rd - > m_bDeferredRainOcclusionEnabled & & CTexture : : IsTextureExist ( CRendererResources : : s_ptexRainOcclusion ) ) <nl> - { <nl> + / / Create / release the occlusion texture on demand <nl> + if ( ! shouldApplyOcclusion & & CTexture : : IsTextureExist ( CRendererResources : : s_ptexRainOcclusion ) ) <nl> CRendererResources : : s_ptexRainOcclusion - > ReleaseDeviceTexture ( false ) ; <nl> - } <nl> - <nl> - if ( rd - > m_bDeferredRainOcclusionEnabled & & ! CTexture : : IsTextureExist ( CRendererResources : : s_ptexRainOcclusion ) ) <nl> - { <nl> + else if ( shouldApplyOcclusion & & ! CTexture : : IsTextureExist ( CRendererResources : : s_ptexRainOcclusion ) ) <nl> CRendererResources : : s_ptexRainOcclusion - > Create2DTexture ( RAIN_OCC_MAP_SIZE , RAIN_OCC_MAP_SIZE , 1 , FT_DONT_RELEASE | FT_DONT_STREAM | FT_USAGE_RENDERTARGET , nullptr , eTF_R8G8B8A8 ) ; <nl> - } <nl> <nl> - if ( pRenderView - > GetCurrentEye ( ) ! = CCamera : : eEye_Right ) <nl> + if ( RenderView ( ) - > GetCurrentEye ( ) ! = CCamera : : eEye_Right ) <nl> { <nl> / / TODO : improve this dependency and make it double - buffer . <nl> / / copy rain info to member variable every frame . <nl> void CRainStage : : ExecuteDeferredRainGBuffer ( ) <nl> CD3D9Renderer * const RESTRICT_POINTER rd = gcpRendD3D ; <nl> <nl> if ( ! rd - > m_bDeferredRainEnabled ) <nl> - { <nl> return ; <nl> - } <nl> <nl> PROFILE_LABEL_SCOPE ( " DEFERRED_RAIN_GBUFFER " ) ; <nl> <nl> void CRainStage : : ExecuteDeferredRainGBuffer ( ) <nl> <nl> const auto & viewInfo = GetCurrentViewInfo ( ) ; <nl> <nl> - SRainParams & rainVolParams = m_RainVolParams ; <nl> + const auto & rainVolParams = m_RainVolParams ; <nl> + const auto shouldApplyOcclusion = rd - > m_bDeferredRainOcclusionEnabled ; <nl> <nl> CTexture * pDepthStencilTex = RenderView ( ) - > GetDepthTarget ( ) ; <nl> - CTexture * pOcclusionTex = ( rainVolParams . bApplyOcclusion ) ? CRendererResources : : s_ptexRainOcclusion : CRendererResources : : s_ptexBlack ; <nl> + CTexture * pOcclusionTex = shouldApplyOcclusion ? CRendererResources : : s_ptexRainOcclusion : CRendererResources : : s_ptexBlack ; <nl> <nl> uint64 rtMask = 0 ; <nl> - if ( rainVolParams . bApplyOcclusion ) <nl> - { <nl> + if ( shouldApplyOcclusion ) <nl> rtMask | = g_HWSR_MaskBit [ HWSR_SAMPLE0 ] ; / / Occlusion <nl> - } <nl> if ( rainVolParams . fSplashesAmount > 0 . 001f & & rainVolParams . fRainDropsAmount > 0 . 001f ) <nl> - { <nl> rtMask | = g_HWSR_MaskBit [ HWSR_SAMPLE1 ] ; / / Splashes <nl> - } <nl> <nl> auto & pass = m_passDeferredRainGBuffer ; <nl> <nl> - if ( pass . InputChanged ( ( rtMask & 0xFFFFFFFF ) , ( ( rtMask > > 32 ) & 0xFFFFFFFF ) , pDepthStencilTex - > GetID ( ) ) ) <nl> + if ( pass . InputChanged ( ( rtMask & 0xFFFFFFFF ) , ( ( rtMask > > 32 ) & 0xFFFFFFFF ) , pDepthStencilTex - > GetID ( ) , pOcclusionTex - > GetID ( ) ) ) <nl> { <nl> static CCryNameTSCRC techName ( " DeferredRainGBuffer " ) ; <nl> pass . SetPrimitiveFlags ( CRenderPrimitive : : eFlags_ReflectShaderConstants_PS ) ; <nl> void CRainStage : : ExecuteDeferredRainGBuffer ( ) <nl> vRainColorMultipliers . w = - 10 . 0f / vRainColorMultipliers . w ; <nl> pass . SetConstant ( colorMulParamName , vRainColorMultipliers ) ; <nl> <nl> - if ( rainVolParams . bApplyOcclusion ) <nl> + if ( shouldApplyOcclusion ) <nl> { <nl> / / Occlusion buffer matrix <nl> static CCryNameR occTransMatParamName ( " g_RainOcc_TransMat " ) ; <nl> void CRainStage : : ExecuteDeferredRainGBuffer ( ) <nl> <nl> void CRainStage : : Execute ( ) <nl> { <nl> + CD3D9Renderer * const RESTRICT_POINTER rd = gcpRendD3D ; <nl> + <nl> if ( ( CRenderer : : CV_r_rain < 1 ) | | ! CRenderer : : CV_r_PostProcess | | ! CRendererResources : : s_ptexBackBuffer | | ! CRendererResources : : s_ptexSceneTarget ) <nl> - { <nl> return ; <nl> - } <nl> <nl> - CD3D9Renderer * const RESTRICT_POINTER rd = gcpRendD3D ; <nl> - SRainParams & rainVolParams = m_RainVolParams ; <nl> + const auto & rainVolParams = m_RainVolParams ; <nl> + const auto shouldApplyOcclusion = rd - > m_bDeferredRainOcclusionEnabled ; <nl> <nl> / / this emulates FX_DeferredRainOcclusion ( ) ' s return value condition . <nl> - if ( rd - > m_bDeferredRainOcclusionEnabled ) <nl> + if ( shouldApplyOcclusion ) <nl> { <nl> - if ( rainVolParams . areaAABB . IsReset ( ) ) <nl> - { <nl> + if ( rainVolParams . areaAABB . IsReset ( ) | | <nl> + ! CTexture : : IsTextureExist ( CRendererResources : : s_ptexRainOcclusion ) ) <nl> return ; <nl> - } <nl> - <nl> - if ( ! CTexture : : IsTextureExist ( CRendererResources : : s_ptexRainOcclusion ) ) <nl> - { <nl> - return ; <nl> - } <nl> <nl> if ( ! ( CTexture : : IsTextureExist ( CRendererResources : : s_ptexRainSSOcclusion [ 0 ] ) & & CTexture : : IsTextureExist ( CRendererResources : : s_ptexRainSSOcclusion [ 1 ] ) ) ) <nl> { <nl> void CRainStage : : Execute ( ) <nl> } <nl> <nl> const bool bActive = rd - > m_bDeferredRainEnabled & & rainVolParams . fRainDropsAmount > 0 . 01f ; <nl> - <nl> if ( ! bActive ) <nl> - { <nl> return ; <nl> - } <nl> <nl> PROFILE_LABEL_SCOPE ( " RAIN " ) ; <nl> <nl> / / Generate screen - space rain occlusion <nl> - if ( rainVolParams . bApplyOcclusion ) <nl> + if ( shouldApplyOcclusion ) <nl> { <nl> PROFILE_LABEL_SCOPE ( " RAIN_DISTANT_OCCLUSION " ) ; <nl> <nl> void CRainStage : : Execute ( ) <nl> <nl> auto & pass = m_passRainOcclusionAccumulation ; <nl> <nl> - if ( pass . InputChanged ( ) ) <nl> + CTexture * pOcclusionTex = CRendererResources : : s_ptexRainOcclusion ; <nl> + <nl> + if ( pass . InputChanged ( pOcclusionTex - > GetID ( ) ) ) <nl> { <nl> static CCryNameTSCRC pSceneRainOccAccTechName ( " SceneRainOccAccumulate " ) ; <nl> pass . SetPrimitiveFlags ( CRenderPrimitive : : eFlags_ReflectShaderConstants_VS ) ; <nl> void CRainStage : : Execute ( ) <nl> pass . SetRequirePerViewConstantBuffer ( true ) ; <nl> pass . SetRequireWorldPos ( true ) ; <nl> <nl> - pass . SetTexture ( 0 , CRendererResources : : s_ptexLinearDepth ) ; <nl> - pass . SetTexture ( 1 , CRendererResources : : s_ptexRainOcclusion ) ; <nl> + pass . SetTexture ( 0 , CRendererResources : : s_ptexLinearDepthScaled [ 2 ] ) ; <nl> + pass . SetTexture ( 1 , pOcclusionTex ) ; <nl> pass . SetTexture ( 2 , m_pHighFreqNoiseTex ) ; <nl> <nl> pass . SetSampler ( 0 , EDefaultSamplerStates : : PointClamp ) ; <nl> void CRainStage : : Execute ( ) <nl> const float fSizeMult = max ( CRenderer : : CV_r_rainDistMultiplier , 1e - 3f ) * 0 . 5f ; <nl> <nl> uint64 rtMask = 0 ; <nl> - rtMask | = rainVolParams . bApplyOcclusion ? g_HWSR_MaskBit [ HWSR_SAMPLE0 ] : 0 ; <nl> + rtMask | = shouldApplyOcclusion ? g_HWSR_MaskBit [ HWSR_SAMPLE0 ] : 0 ; <nl> <nl> auto pPerViewCB = rd - > GetGraphicsPipeline ( ) . GetMainViewConstantBuffer ( ) ; <nl> <nl> void CRainStage : : Execute ( ) <nl> prim . SetTexture ( 2 , m_pRainfallNormalTex ) ; <nl> prim . SetTexture ( 3 , CRendererResources : : s_ptexHDRFinalBloom ) ; <nl> <nl> - auto * pSSOcclusionTex = rainVolParams . bApplyOcclusion ? CRendererResources : : s_ptexRainSSOcclusion [ 0 ] : CRendererResources : : s_ptexBlack ; <nl> + auto * pSSOcclusionTex = shouldApplyOcclusion ? CRendererResources : : s_ptexRainSSOcclusion [ 0 ] : CRendererResources : : s_ptexBlack ; <nl> prim . SetTexture ( 4 , pSSOcclusionTex ) ; <nl> <nl> / / Bind average luminance <nl> void CRainStage : : ExecuteRainOcclusion ( ) <nl> CD3D9Renderer * const RESTRICT_POINTER rd = gcpRendD3D ; <nl> <nl> if ( ! rd - > m_bDeferredRainOcclusionEnabled ) <nl> - { <nl> return ; <nl> - } <nl> <nl> / / TODO : m_RainInfo needs to be unique for each view - port if the engine supports multi view - port rendering . <nl> SRainParams & rainVolParams = rd - > m_p3DEngineCommon . m_RainInfo ; <nl> const auto gpuId = rd - > RT_GetCurrGpuID ( ) ; <nl> <nl> - if ( rainVolParams . areaAABB . IsReset ( ) ) <nl> - { <nl> + if ( rainVolParams . areaAABB . IsReset ( ) | | <nl> + rd - > m_p3DEngineCommon . m_RainOccluders . m_bProcessed [ gpuId ] ) <nl> return ; <nl> - } <nl> <nl> - if ( rd - > m_p3DEngineCommon . m_RainOccluders . m_bProcessed [ gpuId ] ) <nl> - { <nl> + const auto & arrOccluders = rd - > m_p3DEngineCommon . m_RainOccluders . m_arrCurrOccluders [ gRenDev - > GetRenderThreadID ( ) ] ; <nl> + if ( arrOccluders . empty ( ) ) <nl> return ; <nl> - } <nl> <nl> - const auto & arrOccluders = rd - > m_p3DEngineCommon . m_RainOccluders . m_arrCurrOccluders [ gRenDev - > GetRenderThreadID ( ) ] ; <nl> - if ( ! arrOccluders . empty ( ) ) <nl> - { <nl> - ExecuteRainOcclusionGen ( ) ; <nl> + ExecuteRainOcclusionGen ( ) ; <nl> <nl> - rd - > m_p3DEngineCommon . m_RainOccluders . m_bProcessed [ gpuId ] = true ; <nl> + rd - > m_p3DEngineCommon . m_RainOccluders . m_bProcessed [ gpuId ] = true ; <nl> <nl> - / / store occlusion transformation matrix when occlusion map is updated . <nl> - / / TODO : make this variable class member variable after porting all rain features to new graphics pipeline . <nl> - rainVolParams . matOccTransRender = rainVolParams . matOccTrans ; <nl> - m_RainVolParams . matOccTransRender = m_RainVolParams . matOccTrans ; <nl> - } <nl> + / / store occlusion transformation matrix when occlusion map is updated . <nl> + / / TODO : make this variable class member variable after porting all rain features to new graphics pipeline . <nl> + rainVolParams . matOccTransRender = rainVolParams . matOccTrans ; <nl> + m_RainVolParams . matOccTransRender = m_RainVolParams . matOccTrans ; <nl> } <nl> <nl> void CRainStage : : ExecuteRainOcclusionGen ( ) <nl> mmm a / Code / CryEngine / RenderDll / XRenderD3D9 / GraphicsPipeline / Rain . h <nl> ppp b / Code / CryEngine / RenderDll / XRenderD3D9 / GraphicsPipeline / Rain . h <nl> class CRainStage : public CGraphicsPipelineStage <nl> void Init ( ) final ; <nl> void Update ( ) final ; <nl> void Destroy ( ) ; <nl> - void Prepare ( ) ; <nl> <nl> void ExecuteRainOcclusion ( ) ; <nl> void ExecuteDeferredRainGBuffer ( ) ; <nl> class CRainStage : public CGraphicsPipelineStage <nl> buffer_handle_t m_rainVertexBuffer = ~ 0u ; <nl> <nl> SRainParams m_RainVolParams ; <nl> - <nl> } ; <nl> mmm a / Engine / Shaders / HWScripts / CryFX / PostEffectsGame . cfx <nl> ppp b / Engine / Shaders / HWScripts / CryFX / PostEffectsGame . cfx <nl> pixout SceneRainOccAccumulatePS ( vtxOutRainOcc IN ) <nl> { <nl> pixout OUT = ( pixout ) 0 ; <nl> <nl> - const float fDepth = CV_NearFarClipDist . y * roDepthTex . Load ( int3 ( IN . HPosition . xy , 0 ) ) . x ; <nl> + const float fDepth = CV_NearFarClipDist . y * roDepthTex . Load ( int3 ( IN . HPosition . xy , 0 ) ) . y ; <nl> const half fNoise = roNoiseTex . SampleLevel ( roTrilinearWrapSampler , IN . baseTC . zw , 0 . 0f ) . x ; <nl> <nl> const int nNumSamples = 40 ; <nl> | ! I 1639338 ! B ( CE - 14709 ) Fix resource leak on shutdown : SRenderLight : : AcquireResources is already being called by assignment / copy constructor when adding to list list | CRYTEK/CRYENGINE | 293b3b9da50b4fd14821e41e5977e1ffdc50db0c | 2018-01-18T18:15:34Z |
mmm a / lib / Sema / TypeCheckProtocol . cpp <nl> ppp b / lib / Sema / TypeCheckProtocol . cpp <nl> void ConformanceChecker : : recordTypeWitness ( AssociatedTypeDecl * assocType , <nl> TypeLoc : : withoutLoc ( type ) , <nl> / * genericparams * / nullptr , <nl> DC ) ; <nl> + aliasDecl - > setGenericEnvironment ( DC - > getGenericEnvironmentOfContext ( ) ) ; <nl> aliasDecl - > computeType ( ) ; <nl> <nl> aliasDecl - > getAliasType ( ) - > setRecursiveProperties ( <nl> | [ Type checker ] Record generic environment of inferred type witnesses . | apple/swift | 2bb29350b2f66abb935bfd5dec4832c3fc31cff4 | 2016-12-07T16:10:10Z |
new file mode 100644 <nl> index 0000000000 . . 88c8130cd5 <nl> Binary files / dev / null and b / src / searchengine / nova / engines / torrentz . png differ <nl> new file mode 100644 <nl> index 0000000000 . . 42e67e9c5a <nl> mmm / dev / null <nl> ppp b / src / searchengine / nova / engines / torrentz . py <nl> <nl> + # VERSION : 2 . 11 <nl> + # AUTHORS : Diego de las Heras ( diegodelasheras @ gmail . com ) <nl> + <nl> + # Redistribution and use in source and binary forms , with or without <nl> + # modification , are permitted provided that the following conditions are met : <nl> + # <nl> + # * Redistributions of source code must retain the above copyright notice , <nl> + # this list of conditions and the following disclaimer . <nl> + # * Redistributions in binary form must reproduce the above copyright <nl> + # notice , this list of conditions and the following disclaimer in the <nl> + # documentation and / or other materials provided with the distribution . <nl> + # * Neither the name of the author nor the names of its contributors may be <nl> + # used to endorse or promote products derived from this software without <nl> + # specific prior written permission . <nl> + # <nl> + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS " AS IS " <nl> + # AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE <nl> + # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE <nl> + # ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE <nl> + # LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR <nl> + # CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF <nl> + # SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS <nl> + # INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN <nl> + # CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE ) <nl> + # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE <nl> + # POSSIBILITY OF SUCH DAMAGE . <nl> + <nl> + from novaprinter import prettyPrinter <nl> + from helpers import retrieve_url , download_file <nl> + from HTMLParser import HTMLParser <nl> + from urllib import urlencode <nl> + <nl> + class torrentz ( object ) : <nl> + # mandatory properties <nl> + url = ' https : / / torrentz . eu ' <nl> + name = ' Torrentz ' <nl> + supported_categories = { ' all ' : ' ' } <nl> + <nl> + trackers_list = [ ' udp : / / open . demonii . com : 1337 / announce ' , <nl> + ' udp : / / tracker . openbittorrent . com : 80 / announce ' , <nl> + ' udp : / / tracker . publicbt . com : 80 / announce ' , <nl> + ' udp : / / tracker . istole . it : 80 / announce ' ] <nl> + <nl> + class MyHtmlParser ( HTMLParser ) : <nl> + def __init__ ( self , results , url , trackers ) : <nl> + HTMLParser . __init__ ( self ) <nl> + self . results = results <nl> + self . url = url <nl> + self . trackers = trackers <nl> + self . td_counter = None <nl> + self . current_item = None <nl> + <nl> + def handle_starttag ( self , tag , attrs ) : <nl> + if tag = = ' a ' : <nl> + params = dict ( attrs ) <nl> + if ' href ' in params : <nl> + self . current_item = { } <nl> + self . td_counter = 0 <nl> + self . current_item [ ' link ' ] = ' magnet : ? xt = urn : btih : ' + \ <nl> + params [ ' href ' ] . strip ( ' / ' ) + self . trackers <nl> + self . current_item [ ' desc_link ' ] = self . url + params [ ' href ' ] . strip ( ) <nl> + elif tag = = ' span ' : <nl> + if isinstance ( self . td_counter , int ) : <nl> + self . td_counter + = 1 <nl> + if self . td_counter > 6 : # safety <nl> + self . td_counter = None <nl> + <nl> + def handle_data ( self , data ) : <nl> + if self . td_counter = = 0 : <nl> + if ' name ' not in self . current_item : <nl> + self . current_item [ ' name ' ] = ' ' <nl> + self . current_item [ ' name ' ] + = data <nl> + elif self . td_counter = = 4 : <nl> + if ' size ' not in self . current_item : <nl> + self . current_item [ ' size ' ] = data . strip ( ) <nl> + elif self . td_counter = = 5 : <nl> + if ' seeds ' not in self . current_item : <nl> + self . current_item [ ' seeds ' ] = data . strip ( ) . replace ( ' , ' , ' ' ) <nl> + elif self . td_counter = = 6 : <nl> + if ' leech ' not in self . current_item : <nl> + self . current_item [ ' leech ' ] = data . strip ( ) . replace ( ' , ' , ' ' ) <nl> + <nl> + # display item <nl> + self . td_counter = None <nl> + self . current_item [ ' engine_url ' ] = self . url <nl> + if self . current_item [ ' name ' ] . find ( ' \ xc2 ' ) : <nl> + self . current_item [ ' name ' ] = self . current_item [ ' name ' ] . split ( ' \ xc2 ' ) [ 0 ] <nl> + self . current_item [ ' link ' ] + = ' & ' + urlencode ( { ' dn ' : self . current_item [ ' name ' ] } ) <nl> + if not self . current_item [ ' seeds ' ] . isdigit ( ) : <nl> + self . current_item [ ' seeds ' ] = 0 <nl> + if not self . current_item [ ' leech ' ] . isdigit ( ) : <nl> + self . current_item [ ' leech ' ] = 0 <nl> + prettyPrinter ( self . current_item ) <nl> + self . results . append ( ' a ' ) <nl> + <nl> + def download_torrent ( self , info ) : <nl> + print ( download_file ( info ) ) <nl> + <nl> + def search ( self , what , cat = ' all ' ) : <nl> + # initialize trackers for magnet links <nl> + trackers = ' & ' + ' & ' . join ( urlencode ( { ' tr ' : tracker } ) for tracker in self . trackers_list ) <nl> + <nl> + i = 0 <nl> + while i < 6 : <nl> + results_list = [ ] <nl> + # " what " is already urlencoded <nl> + html = retrieve_url ( self . url + ' / search ? f = % s & p = % d ' % ( what , i ) ) <nl> + parser = self . MyHtmlParser ( results_list , self . url , trackers ) <nl> + parser . feed ( html ) <nl> + parser . close ( ) <nl> + if len ( results_list ) < 1 : <nl> + break <nl> + i + = 1 <nl> mmm a / src / searchengine / nova / engines / versions . txt <nl> ppp b / src / searchengine / nova / engines / versions . txt <nl> extratorrent : 1 . 2 <nl> kickasstorrents : 1 . 26 <nl> btdigg : 1 . 23 <nl> legittorrents : 1 . 02 <nl> + torrentz : 2 . 11 <nl> new file mode 100644 <nl> index 0000000000 . . 88c8130cd5 <nl> Binary files / dev / null and b / src / searchengine / nova3 / engines / torrentz . png differ <nl> new file mode 100644 <nl> index 0000000000 . . 67f1465742 <nl> mmm / dev / null <nl> ppp b / src / searchengine / nova3 / engines / torrentz . py <nl> <nl> + # VERSION : 2 . 11 <nl> + # AUTHORS : Diego de las Heras ( diegodelasheras @ gmail . com ) <nl> + <nl> + # Redistribution and use in source and binary forms , with or without <nl> + # modification , are permitted provided that the following conditions are met : <nl> + # <nl> + # * Redistributions of source code must retain the above copyright notice , <nl> + # this list of conditions and the following disclaimer . <nl> + # * Redistributions in binary form must reproduce the above copyright <nl> + # notice , this list of conditions and the following disclaimer in the <nl> + # documentation and / or other materials provided with the distribution . <nl> + # * Neither the name of the author nor the names of its contributors may be <nl> + # used to endorse or promote products derived from this software without <nl> + # specific prior written permission . <nl> + # <nl> + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS " AS IS " <nl> + # AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT LIMITED TO , THE <nl> + # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE <nl> + # ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE <nl> + # LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR <nl> + # CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT LIMITED TO , PROCUREMENT OF <nl> + # SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , DATA , OR PROFITS ; OR BUSINESS <nl> + # INTERRUPTION ) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY , WHETHER IN <nl> + # CONTRACT , STRICT LIABILITY , OR TORT ( INCLUDING NEGLIGENCE OR OTHERWISE ) <nl> + # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE , EVEN IF ADVISED OF THE <nl> + # POSSIBILITY OF SUCH DAMAGE . <nl> + <nl> + from novaprinter import prettyPrinter <nl> + from helpers import retrieve_url , download_file <nl> + from html . parser import HTMLParser <nl> + from urllib . parse import urlencode <nl> + <nl> + class torrentz ( object ) : <nl> + # mandatory properties <nl> + url = ' https : / / torrentz . eu ' <nl> + name = ' Torrentz ' <nl> + supported_categories = { ' all ' : ' ' } <nl> + <nl> + trackers_list = [ ' udp : / / open . demonii . com : 1337 / announce ' , <nl> + ' udp : / / tracker . openbittorrent . com : 80 / announce ' , <nl> + ' udp : / / tracker . publicbt . com : 80 / announce ' , <nl> + ' udp : / / tracker . istole . it : 80 / announce ' ] <nl> + <nl> + class MyHtmlParser ( HTMLParser ) : <nl> + def __init__ ( self , results , url , trackers ) : <nl> + HTMLParser . __init__ ( self ) <nl> + self . results = results <nl> + self . url = url <nl> + self . trackers = trackers <nl> + self . td_counter = None <nl> + self . current_item = None <nl> + <nl> + def handle_starttag ( self , tag , attrs ) : <nl> + if tag = = ' a ' : <nl> + params = dict ( attrs ) <nl> + if ' href ' in params : <nl> + self . current_item = { } <nl> + self . td_counter = 0 <nl> + self . current_item [ ' link ' ] = ' magnet : ? xt = urn : btih : ' + \ <nl> + params [ ' href ' ] . strip ( ' / ' ) + self . trackers <nl> + self . current_item [ ' desc_link ' ] = self . url + params [ ' href ' ] . strip ( ) <nl> + elif tag = = ' span ' : <nl> + if isinstance ( self . td_counter , int ) : <nl> + self . td_counter + = 1 <nl> + if self . td_counter > 6 : # safety <nl> + self . td_counter = None <nl> + <nl> + def handle_data ( self , data ) : <nl> + if self . td_counter = = 0 : <nl> + if ' name ' not in self . current_item : <nl> + self . current_item [ ' name ' ] = ' ' <nl> + self . current_item [ ' name ' ] + = data <nl> + elif self . td_counter = = 4 : <nl> + if ' size ' not in self . current_item : <nl> + self . current_item [ ' size ' ] = data . strip ( ) <nl> + elif self . td_counter = = 5 : <nl> + if ' seeds ' not in self . current_item : <nl> + self . current_item [ ' seeds ' ] = data . strip ( ) . replace ( ' , ' , ' ' ) <nl> + elif self . td_counter = = 6 : <nl> + if ' leech ' not in self . current_item : <nl> + self . current_item [ ' leech ' ] = data . strip ( ) . replace ( ' , ' , ' ' ) <nl> + <nl> + # display item <nl> + self . td_counter = None <nl> + self . current_item [ ' engine_url ' ] = self . url <nl> + if self . current_item [ ' name ' ] . find ( ' » ' ) : <nl> + self . current_item [ ' name ' ] = self . current_item [ ' name ' ] . split ( ' » ' ) [ 0 ] <nl> + self . current_item [ ' link ' ] + = ' & ' + urlencode ( { ' dn ' : self . current_item [ ' name ' ] } ) <nl> + if not self . current_item [ ' seeds ' ] . isdigit ( ) : <nl> + self . current_item [ ' seeds ' ] = 0 <nl> + if not self . current_item [ ' leech ' ] . isdigit ( ) : <nl> + self . current_item [ ' leech ' ] = 0 <nl> + prettyPrinter ( self . current_item ) <nl> + self . results . append ( ' a ' ) <nl> + <nl> + def download_torrent ( self , info ) : <nl> + print ( download_file ( info ) ) <nl> + <nl> + def search ( self , what , cat = ' all ' ) : <nl> + # initialize trackers for magnet links <nl> + trackers = ' & ' + ' & ' . join ( urlencode ( { ' tr ' : tracker } ) for tracker in self . trackers_list ) <nl> + <nl> + i = 0 <nl> + while i < 6 : <nl> + results_list = [ ] <nl> + # " what " is already urlencoded <nl> + html = retrieve_url ( self . url + ' / search ? f = % s & p = % d ' % ( what , i ) ) <nl> + parser = self . MyHtmlParser ( results_list , self . url , trackers ) <nl> + parser . feed ( html ) <nl> + parser . close ( ) <nl> + if len ( results_list ) < 1 : <nl> + break <nl> + i + = 1 <nl> mmm a / src / searchengine / nova3 / engines / versions . txt <nl> ppp b / src / searchengine / nova3 / engines / versions . txt <nl> extratorrent : 1 . 2 <nl> kickasstorrents : 1 . 26 <nl> btdigg : 1 . 23 <nl> legittorrents : 1 . 03 <nl> + torrentz : 2 . 11 <nl> mmm a / src / searchengine / search . qrc <nl> ppp b / src / searchengine / search . qrc <nl> <nl> < file > nova / engines / piratebay . py < / file > <nl> < file > nova / engines / torrentreactor . png < / file > <nl> < file > nova / engines / torrentreactor . py < / file > <nl> + < file > nova / engines / torrentz . png < / file > <nl> + < file > nova / engines / torrentz . py < / file > <nl> < file > nova3 / helpers . py < / file > <nl> < file > nova3 / nova2 . py < / file > <nl> < file > nova3 / nova2dl . py < / file > <nl> <nl> < file > nova3 / engines / piratebay . py < / file > <nl> < file > nova3 / engines / torrentreactor . png < / file > <nl> < file > nova3 / engines / torrentreactor . py < / file > <nl> + < file > nova3 / engines / torrentz . png < / file > <nl> + < file > nova3 / engines / torrentz . py < / file > <nl> < / qresource > <nl> < / RCC > <nl> | New feature : Torrentz search engine | qbittorrent/qBittorrent | fa6f4c6948980f6872447449484093c9b5b241aa | 2015-02-24T18:56:34Z |
mmm a / arangod / VocBase / SingleServerTraversalPath . cpp <nl> ppp b / arangod / VocBase / SingleServerTraversalPath . cpp <nl> void SingleServerTraversalPath : : lastEdgeToVelocyPack ( arangodb : : Transaction * trx , <nl> result . add ( VPackSlice ( cached - > second - > data ( ) ) ) ; <nl> } <nl> <nl> - void SingleServerTraversalPath : : lastVertexToVelocyPack ( Transaction * trx , VPackBuilder & result ) { <nl> + void SingleServerTraversalPath : : lastVertexToVelocyPack ( arangodb : : Transaction * trx , VPackBuilder & result ) { <nl> std : : shared_ptr < VPackBuffer < uint8_t > > vertex = <nl> _traverser - > fetchVertexData ( _path . vertices . back ( ) ) ; <nl> result . add ( VPackSlice ( vertex - > data ( ) ) ) ; <nl> | make it compile on Visual Studio | arangodb/arangodb | 6a9a45de2f0567adb0936c8ec9507e28262de205 | 2016-06-13T11:21:30Z |
mmm a / binaries / benchmark_helper . cc <nl> ppp b / binaries / benchmark_helper . cc <nl> void fillInputBlob ( <nl> / / int total_size = tensor_proto - > float_data_size ( ) ; <nl> caffe2 : : TensorCPU * tensor = <nl> new caffe2 : : TensorCPU ( dims , caffe2 : : DeviceType : : CPU ) ; <nl> - serializer . Deserialize ( * tensor_proto , tensor ) ; <nl> + serializer . DeserializeToTensor ( * tensor_proto , tensor ) ; <nl> blob - > Reset ( tensor ) ; <nl> } <nl> / / todo : for other types <nl> mmm a / caffe2 / core / blob_serialization . cc <nl> ppp b / caffe2 / core / blob_serialization . cc <nl> void DeserializeBlob ( const BlobProto & blob_proto , Blob * result ) { <nl> } <nl> } <nl> <nl> + / / = = = Local helper functions = = = <nl> + / / Get dimensions from Tensor proto <nl> + static std : : vector < int64_t > DimsFromTensorProto ( const TensorProto & proto ) { <nl> + std : : vector < int64_t > dims ; <nl> + for ( const int64_t d : proto . dims ( ) ) { <nl> + dims . push_back ( d ) ; <nl> + } <nl> + return dims ; <nl> + } <nl> + <nl> + / / Get number of elements from Tensor proto <nl> + static int64_t NumelFromTensorProto ( const TensorProto & tensor_proto ) { <nl> + int64_t numel = 1 ; <nl> + for ( const int64_t d : tensor_proto . dims ( ) ) { <nl> + numel * = d ; <nl> + } <nl> + return numel ; <nl> + } <nl> + <nl> + / / Get data type from Tensor proto <nl> + static TypeMeta GetDataType ( const TensorProto & tensor_proto ) { <nl> + TypeMeta dtype ; <nl> + if ( tensor_proto . data_type ( ) ! = TensorProto_DataType_UNDEFINED ) { <nl> + dtype = DataTypeToTypeMeta ( tensor_proto . data_type ( ) ) ; <nl> + } else { <nl> + Blob temp_blob ; <nl> + DeserializeBlob ( tensor_proto . string_data ( 0 ) , & temp_blob ) ; <nl> + dtype = temp_blob . meta ( ) ; <nl> + } <nl> + return dtype ; <nl> + } <nl> + <nl> + / / Get TensorOptions from Tensor proto <nl> + / / Assumes TensorProto is not empty <nl> + static at : : TensorOptions TensorOptionsFromProto ( <nl> + const TensorProto & tensor_proto ) { <nl> + return at : : dtype ( GetDataType ( tensor_proto ) ) <nl> + . device ( OptionToDevice ( tensor_proto . device_detail ( ) ) ) ; <nl> + } <nl> + <nl> + static std : : unique_ptr < BaseContext > ContextFromProto ( <nl> + const TensorProto & tensor_proto ) { <nl> + auto device = OptionToDevice ( tensor_proto . device_detail ( ) ) ; <nl> + return CreateContext ( device ) ; <nl> + } <nl> + <nl> + / / = = = Local helper functions = = = <nl> + <nl> + Tensor EmptyTensorFromProto ( const TensorProto & tensor_proto ) { <nl> + auto context = ContextFromProto ( tensor_proto ) ; <nl> + context - > SwitchToDevice ( 0 ) ; <nl> + if ( NumelFromTensorProto ( tensor_proto ) = = 0 & & <nl> + tensor_proto . data_type ( ) = = TensorProto_DataType_UNDEFINED ) { <nl> + / / TODO : remove when serialization of dtype uninitialized tensor is removed <nl> + return caffe2 : : empty ( <nl> + { 0 } , <nl> + at : : dtype < float > ( ) . device ( <nl> + OptionToDevice ( tensor_proto . device_detail ( ) ) ) ) ; <nl> + } else { <nl> + return caffe2 : : empty ( <nl> + DimsFromTensorProto ( tensor_proto ) , <nl> + TensorOptionsFromProto ( tensor_proto ) ) ; <nl> + } <nl> + } <nl> + <nl> void TensorDeserializer : : Deserialize ( const BlobProto & blob_proto , Blob * blob ) { <nl> auto tensor_proto = blob_proto . tensor ( ) ; <nl> - Deserialize ( <nl> - tensor_proto , <nl> - BlobGetMutableTensor ( <nl> - blob , <nl> - static_cast < DeviceType > ( tensor_proto . device_detail ( ) . device_type ( ) ) ) ) ; <nl> + auto context = ContextFromProto ( tensor_proto ) ; <nl> + context - > SwitchToDevice ( 0 ) ; <nl> + if ( NumelFromTensorProto ( tensor_proto ) = = 0 & & <nl> + tensor_proto . data_type ( ) = = TensorProto_DataType_UNDEFINED ) { <nl> + / / TODO : remove after empty Tensor serialization is forbidden <nl> + VLOG ( 1 ) < < " Deseriralizing an empty Tensor . " ; <nl> + BlobGetMutableTensor ( <nl> + blob , <nl> + { 0 } , <nl> + at : : dtype < float > ( ) . device ( <nl> + OptionToDevice ( tensor_proto . device_detail ( ) ) ) ) ; <nl> + } else { <nl> + DeserializeToTensor ( <nl> + tensor_proto , <nl> + BlobGetMutableTensor ( <nl> + blob , <nl> + DimsFromTensorProto ( tensor_proto ) , <nl> + TensorOptionsFromProto ( tensor_proto ) ) ) ; <nl> + } <nl> } <nl> <nl> - void TensorDeserializer : : Deserialize ( const TensorProto & proto , Tensor * tensor ) { <nl> + void TensorDeserializer : : DeserializeToTensor ( <nl> + const TensorProto & tensor_proto , <nl> + Tensor * tensor ) { <nl> + CAFFE_ENFORCE ( <nl> + tensor - > storage_initialized ( ) & & tensor - > dtype_initialized ( ) , <nl> + " Tensor must be initialized before passed into Deserialize function . " ) ; <nl> / / We create a local context for deserializing . Since Caffe2 contexts are <nl> / / usually lightweight , this should not involve too much overhead . <nl> - auto uniq_ptr = CreateContext ( OptionToDevice ( proto . device_detail ( ) ) ) ; <nl> + auto uniq_ptr = ContextFromProto ( tensor_proto ) ; <nl> + / / since CopyFromProtoAsIs accepts BaseContext * <nl> auto context = uniq_ptr . get ( ) ; <nl> context - > SwitchToDevice ( 0 ) ; <nl> - vector < int64_t > dims ; <nl> - for ( const int64_t d : proto . dims ( ) ) { <nl> - dims . push_back ( d ) ; <nl> - } <nl> - tensor - > Resize ( dims ) ; <nl> <nl> int64_t chunkBegin = 0 ; <nl> auto chunkEnd = tensor - > numel ( ) ; <nl> - if ( proto . has_segment ( ) ) { <nl> - chunkBegin = proto . segment ( ) . begin ( ) ; <nl> - chunkEnd = proto . segment ( ) . end ( ) ; <nl> + if ( tensor_proto . has_segment ( ) ) { <nl> + chunkBegin = tensor_proto . segment ( ) . begin ( ) ; <nl> + chunkEnd = tensor_proto . segment ( ) . end ( ) ; <nl> } <nl> CAFFE_ENFORCE ( <nl> 0 < = chunkBegin & & chunkBegin < = chunkEnd & & chunkEnd < = tensor - > numel ( ) , <nl> void TensorDeserializer : : Deserialize ( const TensorProto & proto , Tensor * tensor ) { <nl> tensor - > numel ( ) ) ; <nl> auto chunkSize = chunkEnd - chunkBegin ; <nl> <nl> - switch ( proto . data_type ( ) ) { <nl> + switch ( tensor_proto . data_type ( ) ) { <nl> case TensorProto_DataType_FLOAT : <nl> detail : : CopyFromProtoAsIs ( <nl> chunkSize , <nl> - proto . float_data ( ) , <nl> + tensor_proto . float_data ( ) , <nl> tensor - > template mutable_data < float > ( ) + chunkBegin , <nl> context ) ; <nl> break ; <nl> case TensorProto_DataType_INT32 : <nl> detail : : CopyFromProtoAsIs ( <nl> chunkSize , <nl> - proto . int32_data ( ) , <nl> + tensor_proto . int32_data ( ) , <nl> tensor - > template mutable_data < int > ( ) + chunkBegin , <nl> context ) ; <nl> break ; <nl> void TensorDeserializer : : Deserialize ( const TensorProto & proto , Tensor * tensor ) { <nl> / / Since BYTE stores the data in a string field instead of a repreated <nl> / / field we will have it special cased . <nl> CAFFE_ENFORCE_EQ ( <nl> - chunkSize , proto . byte_data ( ) . size ( ) , " Incorrect proto field size . " ) ; <nl> + chunkSize , <nl> + tensor_proto . byte_data ( ) . size ( ) , <nl> + " Incorrect proto field size . " ) ; <nl> context - > template CopyToCPU < uint8_t > ( <nl> chunkSize , <nl> - reinterpret_cast < const uint8_t * > ( proto . byte_data ( ) . data ( ) ) , <nl> + reinterpret_cast < const uint8_t * > ( tensor_proto . byte_data ( ) . data ( ) ) , <nl> tensor - > template mutable_data < uint8_t > ( ) + chunkBegin ) ; <nl> break ; <nl> case TensorProto_DataType_STRING : <nl> void TensorDeserializer : : Deserialize ( const TensorProto & proto , Tensor * tensor ) { <nl> { <nl> string * content = tensor - > template mutable_data < string > ( ) ; <nl> for ( int i = 0 ; i < chunkSize ; + + i ) { <nl> - content [ i + chunkBegin ] = proto . string_data ( i ) ; <nl> + content [ i + chunkBegin ] = tensor_proto . string_data ( i ) ; <nl> } <nl> } <nl> break ; <nl> case TensorProto_DataType_BOOL : <nl> detail : : CopyFromProtoWithCast ( <nl> chunkSize , <nl> - proto . int32_data ( ) , <nl> + tensor_proto . int32_data ( ) , <nl> tensor - > template mutable_data < bool > ( ) + chunkBegin , <nl> context ) ; <nl> break ; <nl> case TensorProto_DataType_UINT8 : <nl> detail : : CopyFromProtoWithCast ( <nl> chunkSize , <nl> - proto . int32_data ( ) , <nl> + tensor_proto . int32_data ( ) , <nl> tensor - > template mutable_data < uint8_t > ( ) + chunkBegin , <nl> context ) ; <nl> break ; <nl> case TensorProto_DataType_INT8 : <nl> detail : : CopyFromProtoWithCast ( <nl> chunkSize , <nl> - proto . int32_data ( ) , <nl> + tensor_proto . int32_data ( ) , <nl> tensor - > template mutable_data < int8_t > ( ) + chunkBegin , <nl> context ) ; <nl> break ; <nl> case TensorProto_DataType_UINT16 : <nl> detail : : CopyFromProtoWithCast ( <nl> chunkSize , <nl> - proto . int32_data ( ) , <nl> + tensor_proto . int32_data ( ) , <nl> tensor - > template mutable_data < uint16_t > ( ) + chunkBegin , <nl> context ) ; <nl> break ; <nl> case TensorProto_DataType_INT16 : <nl> detail : : CopyFromProtoWithCast ( <nl> chunkSize , <nl> - proto . int32_data ( ) , <nl> + tensor_proto . int32_data ( ) , <nl> tensor - > template mutable_data < int16_t > ( ) + chunkBegin , <nl> context ) ; <nl> break ; <nl> case TensorProto_DataType_INT64 : <nl> detail : : CopyFromProtoAsIs ( <nl> chunkSize , <nl> - proto . int64_data ( ) , <nl> + tensor_proto . int64_data ( ) , <nl> tensor - > template mutable_data < int64_t > ( ) + chunkBegin , <nl> context ) ; <nl> break ; <nl> case TensorProto_DataType_FLOAT16 : <nl> - if ( proto . has_byte_data ( ) ) { <nl> + if ( tensor_proto . has_byte_data ( ) ) { <nl> const int kValue = 1 ; <nl> CAFFE_ENFORCE_EQ ( <nl> reinterpret_cast < const char * > ( & kValue ) [ 0 ] , <nl> void TensorDeserializer : : Deserialize ( const TensorProto & proto , Tensor * tensor ) { <nl> " is not written yet . " ) ; <nl> CAFFE_ENFORCE_EQ ( <nl> 2 * chunkSize , <nl> - proto . byte_data ( ) . size ( ) , <nl> + tensor_proto . byte_data ( ) . size ( ) , <nl> " Incorrect proto field size . " ) ; <nl> context - > template CopyToCPU < at : : Half > ( <nl> chunkSize , <nl> - reinterpret_cast < const at : : Half * > ( proto . byte_data ( ) . data ( ) ) , <nl> + reinterpret_cast < const at : : Half * > ( tensor_proto . byte_data ( ) . data ( ) ) , <nl> tensor - > template mutable_data < at : : Half > ( ) + chunkBegin ) ; <nl> } else { <nl> / / Backward compatibility with models which used int32_data field <nl> detail : : CopyFromProtoWithCast ( <nl> chunkSize , <nl> - proto . int32_data ( ) , <nl> + tensor_proto . int32_data ( ) , <nl> reinterpret_cast < uint16_t * > ( <nl> tensor - > template mutable_data < at : : Half > ( ) ) + <nl> chunkBegin , <nl> void TensorDeserializer : : Deserialize ( const TensorProto & proto , Tensor * tensor ) { <nl> case TensorProto_DataType_DOUBLE : <nl> detail : : CopyFromProtoAsIs ( <nl> chunkSize , <nl> - proto . double_data ( ) , <nl> + tensor_proto . double_data ( ) , <nl> tensor - > template mutable_data < double > ( ) + chunkBegin , <nl> context ) ; <nl> break ; <nl> void TensorDeserializer : : Deserialize ( const TensorProto & proto , Tensor * tensor ) { <nl> Blob temp_blob ; <nl> void * raw_ptr = nullptr ; <nl> for ( int i = 0 ; i < chunkSize ; + + i ) { <nl> - DeserializeBlob ( proto . string_data ( i ) , & temp_blob ) ; <nl> + DeserializeBlob ( tensor_proto . string_data ( i ) , & temp_blob ) ; <nl> if ( i = = 0 ) { <nl> raw_ptr = tensor - > raw_mutable_data ( temp_blob . meta ( ) ) ; <nl> } <nl> void TensorDeserializer : : Deserialize ( const TensorProto & proto , Tensor * tensor ) { <nl> context - > FinishDeviceComputation ( ) ; <nl> } <nl> <nl> + Tensor TensorDeserializer : : Deserialize ( const TensorProto & tensor_proto ) { <nl> + auto tensor = EmptyTensorFromProto ( tensor_proto ) ; <nl> + DeserializeToTensor ( tensor_proto , & tensor ) ; <nl> + return tensor ; <nl> + } <nl> + <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> / / Serialization Helpers <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / caffe2 / core / blob_serialization . h <nl> ppp b / caffe2 / core / blob_serialization . h <nl> CAFFE2_API string SerializeBlob ( const Blob & blob , const string & name ) ; <nl> CAFFE2_API void DeserializeBlob ( const string & content , Blob * result ) ; <nl> CAFFE2_API void DeserializeBlob ( const BlobProto & proto , Blob * result ) ; <nl> <nl> + / * <nl> + * Get an empty Tensor from the TensorProto given the meta data in proto ( data <nl> + * type and size of the Tensor ) without actually filling in the data . <nl> + * <nl> + * We need this function because we want to construct a fully initialized Tensor <nl> + * in the beginning instead of keeping partially initialized Tensor around the <nl> + * process . Consider the case when we have a Tensor that is split into multiple <nl> + * protos during serialization , in deserialization , we have to fill the Tensor <nl> + * in multiple calls to Deserialize , therefore we need to create a new Tensor <nl> + * with the correct size and data type before the call to Deserialize , because <nl> + * otherwise we will have to check whether the function call is the first call <nl> + * to initialize the underlying Tensor , which makes the function stateful and <nl> + * complicated . <nl> + * <nl> + * The legacy code get away with this problem by passing in a partially <nl> + * initialized Tensor and use Resize and mutable_data to set the correct size , <nl> + * data type and allocate memory for the Tensor , so the state is encoded in <nl> + * these function calls . e . g . mutable_data will allocate memory on the first <nl> + * call and it will return a pointer to the allocated memory on later calls . <nl> + * / <nl> + CAFFE2_API Tensor EmptyTensorFromProto ( const TensorProto & proto ) ; <nl> + <nl> / * * <nl> * @ brief TensorSerializer is the serializer for Tensors . <nl> * <nl> class CAFFE2_API TensorSerializer : public BlobSerializerBase { <nl> class CAFFE2_API TensorDeserializer : public BlobDeserializerBase { <nl> public : <nl> void Deserialize ( const BlobProto & proto , Blob * blob ) override ; <nl> - void Deserialize ( const TensorProto & proto , Tensor * tensor ) ; <nl> + <nl> + / * There are cases when a Tensor is split into multiple protos and <nl> + * we have to call Deserialize multiple times to get the complete deserialized <nl> + * Tensor , each call will fill part of the Tensor given the segment begin and <nl> + * end information in proto , therefore we have to pass in the Tensor pointer <nl> + * rather than create a new Tensor everytime . <nl> + * <nl> + * Precondition : Tensor must be initialized <nl> + * / <nl> + void DeserializeToTensor ( const TensorProto & proto , Tensor * tensor ) ; <nl> + <nl> + / * Deserialize the proto and return a new Tensor <nl> + * This is a utility function that combines EmptyTensorFromProto and <nl> + * Deserialize ( const TensorProto & , Tensor * ) ; <nl> + * / <nl> + Tensor Deserialize ( const TensorProto & proto ) ; <nl> } ; <nl> <nl> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / <nl> mmm a / caffe2 / core / blob_test . cc <nl> ppp b / caffe2 / core / blob_test . cc <nl> TEST ( TensorSerialization , MistakenlySerializingDtypeUninitializedTensor ) { <nl> LOG ( INFO ) < < " serialized proto : " < < b . DebugString ( ) ; <nl> <nl> Blob new_blob ; <nl> + / / Deserializing an empty Tensor gives a { 0 } - dim , float CPU Tensor <nl> DeserializeBlob ( output , & new_blob ) ; <nl> const Tensor & new_tensor = new_blob . Get < Tensor > ( ) ; <nl> LOG ( INFO ) < < " tensor " < < new_tensor . DebugString ( ) ; <nl> - EXPECT_FALSE ( new_tensor . dtype_initialized ( ) ) ; <nl> + EXPECT_TRUE ( new_tensor . dtype_initialized ( ) ) ; <nl> + LOG ( INFO ) < < " dtype : " < < new_tensor . dtype ( ) ; <nl> EXPECT_EQ ( 0 , new_tensor . numel ( ) ) ; <nl> EXPECT_EQ ( 1 , new_tensor . dim ( ) ) ; <nl> } <nl> mmm a / caffe2 / operators / map_ops . h <nl> ppp b / caffe2 / operators / map_ops . h <nl> class MapDeserializer : public BlobDeserializerBase { <nl> tensor_protos . ParseFromString ( proto . content ( ) ) , <nl> " Fail to parse TensorProtos " ) ; <nl> TensorDeserializer deser ; <nl> - Tensor key_tensor ( CPU ) , value_tensor ( CPU ) ; <nl> - deser . Deserialize ( tensor_protos . protos ( 0 ) , & key_tensor ) ; <nl> - deser . Deserialize ( tensor_protos . protos ( 1 ) , & value_tensor ) ; <nl> + Tensor key_tensor = deser . Deserialize ( tensor_protos . protos ( 0 ) ) ; <nl> + Tensor value_tensor = deser . Deserialize ( tensor_protos . protos ( 1 ) ) ; <nl> auto * key_data = key_tensor . data < KEY_T > ( ) ; <nl> auto * value_data = value_tensor . data < VALUE_T > ( ) ; <nl> <nl> mmm a / caffe2 / operators / tensor_protos_db_input . h <nl> ppp b / caffe2 / operators / tensor_protos_db_input . h <nl> bool TensorProtosDBInput < Context > : : Prefetch ( ) { <nl> if ( protos . protos ( i ) . has_device_detail ( ) ) { <nl> protos . mutable_protos ( i ) - > clear_device_detail ( ) ; <nl> } <nl> - deserializer . Deserialize ( <nl> - protos . protos ( i ) , BlobGetMutableTensor ( & prefetched_blobs_ [ i ] , CPU ) ) ; <nl> + BlobSetTensor ( <nl> + & prefetched_blobs_ [ i ] , deserializer . Deserialize ( protos . protos ( i ) ) ) ; <nl> + / / deserializer . Deserialize ( <nl> + / / protos . protos ( i ) , BlobGetMutableTensor ( & prefetched_blobs_ [ i ] , <nl> + / / CPU ) ) ; <nl> } <nl> } else { <nl> - vector < Tensor > temp_tensors ; <nl> - for ( int i = 0 ; i < OutputSize ( ) ; + + i ) { <nl> - temp_tensors . emplace_back ( CPU ) ; <nl> - } <nl> for ( int item_id = 0 ; item_id < batch_size_ ; + + item_id ) { <nl> reader . Read ( & key_ , & value_ ) ; <nl> TensorProtos protos ; <nl> CAFFE_ENFORCE ( protos . ParseFromString ( value_ ) ) ; <nl> CAFFE_ENFORCE ( protos . protos_size ( ) = = OutputSize ( ) ) ; <nl> - if ( ! shape_inferred_ ) { <nl> - / / First , set the shape of all the blobs . <nl> - for ( int i = 0 ; i < protos . protos_size ( ) ; + + i ) { <nl> - vector < int > dims ( <nl> - protos . protos ( i ) . dims ( ) . begin ( ) , protos . protos ( i ) . dims ( ) . end ( ) ) ; <nl> - dims . insert ( dims . begin ( ) , batch_size_ ) ; <nl> - BlobGetMutableTensor ( & prefetched_blobs_ [ i ] , CPU ) - > Resize ( dims ) ; <nl> - } <nl> - } <nl> + / / Note : shape_inferred_ is ignored , we ' ll always get dimensions from <nl> + / / proto <nl> for ( int i = 0 ; i < protos . protos_size ( ) ; + + i ) { <nl> - TensorCPU * dst = BlobGetMutableTensor ( & prefetched_blobs_ [ i ] , CPU ) ; <nl> - TensorCPU & src = temp_tensors [ i ] ; <nl> + vector < int64_t > dims ( <nl> + protos . protos ( i ) . dims ( ) . begin ( ) , protos . protos ( i ) . dims ( ) . end ( ) ) ; <nl> + dims . insert ( dims . begin ( ) , batch_size_ ) ; <nl> if ( protos . protos ( i ) . has_device_detail ( ) ) { <nl> protos . mutable_protos ( i ) - > clear_device_detail ( ) ; <nl> } <nl> - deserializer . Deserialize ( protos . protos ( i ) , & src ) ; <nl> + Tensor src = deserializer . Deserialize ( protos . protos ( i ) ) ; <nl> + Tensor * dst = BlobGetMutableTensor ( <nl> + & prefetched_blobs_ [ i ] , dims , at : : dtype ( src . dtype ( ) ) . device ( CPU ) ) ; <nl> DCHECK_EQ ( src . numel ( ) * batch_size_ , dst - > numel ( ) ) ; <nl> this - > context_ . CopyItemsSameDevice ( <nl> src . dtype ( ) , <nl> | Remove partially initialized Tensor in Deserialization ( ) | pytorch/pytorch | 9b272c08cfcb0453d1e883871cd5fa0d0ed534a1 | 2018-12-11T01:17:29Z |
mmm a / tensorflow / contrib / README . md <nl> ppp b / tensorflow / contrib / README . md <nl> Any code in this directory is not officially supported , and may change or be <nl> removed at any time without notice . <nl> <nl> The contrib directory contains project directories , each of which has designated <nl> - owners . <nl> + owners . It is meant to contain features and contributions that eventually should <nl> + get merged into core TensorFlow , but whose interfaces may still change , or which <nl> + require some testing to see whether they can find broader acceptance . We are <nl> + trying to keep dupliction within contrib to a minimum , so you may be asked to <nl> + refactor code in contrib to use some feature inside core or in another project <nl> + in contrib rather than reimplementing the feature . <nl> <nl> When adding a project , please stick to the following directory structure : <nl> - Create a project directory in contrib / , and mirror the portions of the <nl> - TensorFlow tree that your project requires underneath contrib / my_project / . <nl> + Create a project directory in ` contrib / ` , and mirror the portions of the <nl> + TensorFlow tree that your project requires underneath ` contrib / my_project / ` . <nl> + <nl> + For example , let ' s say you create foo ops in two files : ` foo_ops . py ` and <nl> + ` foo_ops_test . py ` . If you were to merge those files directly into TensorFlow , <nl> + they would live in ` tensorflow / python / ops / foo_ops . py ` and <nl> + ` tensorflow / python / kernel_tests / foo_ops_test . py ` . In ` contrib / ` , they are part <nl> + of project ` foo ` , and their full paths are ` contrib / foo / python / ops / foo_ops . py ` <nl> + and ` contrib / foo / python / kernel_tests / foo_ops_test . py ` . <nl> | More explicit directory structure instructions | tensorflow/tensorflow | 5e879d6f29769b270c1d790a400be4d0fedf3a3f | 2016-02-09T08:32:55Z |
mmm a / Telegram / SourceFiles / application . cpp <nl> ppp b / Telegram / SourceFiles / application . cpp <nl> void AppClass : : killDownloadSessions ( ) { <nl> } <nl> } <nl> <nl> - void AppClass : : photoUpdated ( const FullMsgId & msgId , const MTPInputFile & file ) { <nl> + void AppClass : : photoUpdated ( const FullMsgId & msgId , bool silent , const MTPInputFile & file ) { <nl> if ( ! App : : self ( ) ) return ; <nl> <nl> QMap < FullMsgId , PeerId > : : iterator i = photoUpdates . find ( msgId ) ; <nl> void AppClass : : uploadProfilePhoto ( const QImage & tosend , const PeerId & peerId ) { <nl> <nl> ReadyLocalMedia ready ( PreparePhoto , file , filename , filesize , data , id , id , qsl ( " jpg " ) , peerId , photo , photoThumbs , MTP_documentEmpty ( MTP_long ( 0 ) ) , jpeg , false , false , 0 ) ; <nl> <nl> - connect ( App : : uploader ( ) , SIGNAL ( photoReady ( const FullMsgId & , const MTPInputFile & ) ) , App : : app ( ) , SLOT ( photoUpdated ( const FullMsgId & , const MTPInputFile & ) ) , Qt : : UniqueConnection ) ; <nl> + connect ( App : : uploader ( ) , SIGNAL ( photoReady ( const FullMsgId & , bool , const MTPInputFile & ) ) , App : : app ( ) , SLOT ( photoUpdated ( const FullMsgId & , bool , const MTPInputFile & ) ) , Qt : : UniqueConnection ) ; <nl> <nl> FullMsgId newId ( peerToChannel ( peerId ) , clientMsgId ( ) ) ; <nl> App : : app ( ) - > regPhotoUpdate ( peerId , newId ) ; <nl> mmm a / Telegram / SourceFiles / application . h <nl> ppp b / Telegram / SourceFiles / application . h <nl> public slots : <nl> <nl> void doMtpUnpause ( ) ; <nl> <nl> - void photoUpdated ( const FullMsgId & msgId , const MTPInputFile & file ) ; <nl> + void photoUpdated ( const FullMsgId & msgId , bool silent , const MTPInputFile & file ) ; <nl> <nl> void onSwitchDebugMode ( ) ; <nl> void onSwitchTestMode ( ) ; <nl> mmm a / Telegram / SourceFiles / mediaview . cpp <nl> ppp b / Telegram / SourceFiles / mediaview . cpp <nl> void MediaView : : updateDropdown ( ) { <nl> _btnSaveAs - > setVisible ( true ) ; <nl> _btnCopy - > setVisible ( ( _doc & & fileShown ( ) ) | | ( _photo & & _photo - > loaded ( ) ) ) ; <nl> _btnForward - > setVisible ( _canForward ) ; <nl> - _btnDelete - > setVisible ( _canDelete | | ( _photo & & App : : self ( ) & & App : : self ( ) - > photoId = = _photo - > id ) | | ( _photo & & _photo - > peer & & _photo - > peer - > photoId = = _photo - > id & & ( _photo - > peer - > isChat ( ) | | ( _photo - > peer - > isChannel ( ) & & _photo - > peer - > asChannel ( ) - > amCreator ( ) ) ) ) ) ; <nl> + _btnDelete - > setVisible ( _canDelete | | ( _photo & & App : : self ( ) & & _user = = App : : self ( ) ) | | ( _photo & & _photo - > peer & & _photo - > peer - > photoId = = _photo - > id & & ( _photo - > peer - > isChat ( ) | | ( _photo - > peer - > isChannel ( ) & & _photo - > peer - > asChannel ( ) - > amCreator ( ) ) ) ) ) ; <nl> _btnViewAll - > setVisible ( ( _overview ! = OverviewCount ) & & _history ) ; <nl> _btnViewAll - > setText ( lang ( _doc ? lng_mediaview_files_all : lng_mediaview_photos_all ) ) ; <nl> _dropdown . updateButtons ( ) ; <nl> void MediaView : : onDelete ( ) { <nl> if ( ! _msgid ) { <nl> if ( App : : self ( ) & & _photo & & App : : self ( ) - > photoId = = _photo - > id ) { <nl> App : : app ( ) - > peerClearPhoto ( App : : self ( ) - > id ) ; <nl> + } else if ( _user & & _user = = App : : self ( ) ) { <nl> + for ( int32 i = 0 , l = _user - > photos . size ( ) ; i ! = l ; + + i ) { <nl> + if ( _user - > photos . at ( i ) = = _photo ) { <nl> + _user - > photos . removeAt ( i ) ; <nl> + MTP : : send ( MTPphotos_DeletePhotos ( MTP_vector < MTPInputPhoto > ( 1 , MTP_inputPhoto ( MTP_long ( _photo - > id ) , MTP_long ( _photo - > access ) ) ) ) , rpcDone ( & MediaView : : deletePhotosDone ) , rpcFail ( & MediaView : : deletePhotosFail ) ) ; <nl> + if ( _user - > photos . isEmpty ( ) ) { <nl> + hide ( ) ; <nl> + } else if ( i + 1 < l ) { <nl> + showPhoto ( _user - > photos . at ( i ) , _user ) ; <nl> + } else { <nl> + showPhoto ( _user - > photos . at ( i - 1 ) , _user ) ; <nl> + } <nl> + break ; <nl> + } <nl> + } <nl> } else if ( _photo - > peer & & _photo - > peer - > photoId = = _photo - > id ) { <nl> App : : app ( ) - > peerClearPhoto ( _photo - > peer - > id ) ; <nl> } <nl> void MediaView : : userPhotosLoaded ( UserData * u , const MTPphotos_Photos & photos , mt <nl> if ( App : : wnd ( ) ) App : : wnd ( ) - > mediaOverviewUpdated ( u , OverviewCount ) ; <nl> } <nl> <nl> + void MediaView : : deletePhotosDone ( const MTPVector < MTPlong > & result ) { <nl> + } <nl> + <nl> + bool MediaView : : deletePhotosFail ( const RPCError & error ) { <nl> + if ( mtpIsFlood ( error ) ) return false ; <nl> + <nl> + return true ; <nl> + } <nl> + <nl> void MediaView : : updateHeader ( ) { <nl> int32 index = _index , count = 0 , addcount = ( _migrated & & _overview ! = OverviewCount ) ? _migrated - > overviewCount ( _overview ) : 0 ; <nl> if ( _history ) { <nl> mmm a / Telegram / SourceFiles / mediaview . h <nl> ppp b / Telegram / SourceFiles / mediaview . h <nl> public slots : <nl> void loadBack ( ) ; <nl> <nl> void userPhotosLoaded ( UserData * u , const MTPphotos_Photos & photos , mtpRequestId req ) ; <nl> - void filesLoaded ( History * h , const MTPmessages_Messages & msgs , mtpRequestId req ) ; <nl> + <nl> + void deletePhotosDone ( const MTPVector < MTPlong > & result ) ; <nl> + bool deletePhotosFail ( const RPCError & error ) ; <nl> <nl> void updateHeader ( ) ; <nl> void snapXY ( ) ; <nl> mmm a / Telegram / SourceFiles / mtproto / mtpConnection . cpp <nl> ppp b / Telegram / SourceFiles / mtproto / mtpConnection . cpp <nl> void MTProtoConnectionPrivate : : socketStart ( bool afterConfig ) { <nl> _pingId = _pingMsgId = _pingIdToSend = _pingSendAt = 0 ; <nl> _pingSender . stop ( ) ; <nl> <nl> - if ( ! noIPv4 ) DEBUG_LOG ( ( " MTP Info : creating IPv4 connection to % 1 : % 2 ( tcp ) and % 1 : % 2 ( http ) . . " ) . arg ( ip [ IPv4address ] [ TcpProtocol ] . c_str ( ) ) . arg ( port [ IPv4address ] [ TcpProtocol ] ) . arg ( ip [ IPv4address ] [ HttpProtocol ] . c_str ( ) ) . arg ( port [ IPv4address ] [ HttpProtocol ] ) ) ; <nl> - if ( ! noIPv6 ) DEBUG_LOG ( ( " MTP Info : creating IPv6 connection to [ % 1 ] : % 2 ( tcp ) and [ % 1 ] : % 2 ( http ) . . " ) . arg ( ip [ IPv6address ] [ TcpProtocol ] . c_str ( ) ) . arg ( port [ IPv6address ] [ TcpProtocol ] ) . arg ( ip [ IPv4address ] [ HttpProtocol ] . c_str ( ) ) . arg ( port [ IPv4address ] [ HttpProtocol ] ) ) ; <nl> + if ( ! noIPv4 ) DEBUG_LOG ( ( " MTP Info : creating IPv4 connection to % 1 : % 2 ( tcp ) and % 3 : % 4 ( http ) . . " ) . arg ( ip [ IPv4address ] [ TcpProtocol ] . c_str ( ) ) . arg ( port [ IPv4address ] [ TcpProtocol ] ) . arg ( ip [ IPv4address ] [ HttpProtocol ] . c_str ( ) ) . arg ( port [ IPv4address ] [ HttpProtocol ] ) ) ; <nl> + if ( ! noIPv6 ) DEBUG_LOG ( ( " MTP Info : creating IPv6 connection to [ % 1 ] : % 2 ( tcp ) and [ % 3 ] : % 4 ( http ) . . " ) . arg ( ip [ IPv6address ] [ TcpProtocol ] . c_str ( ) ) . arg ( port [ IPv6address ] [ TcpProtocol ] ) . arg ( ip [ IPv4address ] [ HttpProtocol ] . c_str ( ) ) . arg ( port [ IPv4address ] [ HttpProtocol ] ) ) ; <nl> <nl> _waitForConnectedTimer . start ( _waitForConnected ) ; <nl> if ( _conn4 ) { <nl> | added any profile photo delete , fixed profile photo upload | telegramdesktop/tdesktop | 1bd986d2cb71cdf3edba1872d8b61b76ee0aa6ff | 2016-02-26T09:29:07Z |
mmm a / Telegram / SourceFiles / export / export_api_wrap . cpp <nl> ppp b / Telegram / SourceFiles / export / export_api_wrap . cpp <nl> void ApiWrap : : requestMessagesSlice ( ) { <nl> Expects ( _dialogsProcess - > single ! = nullptr ) ; <nl> <nl> const auto process = _dialogsProcess - > single . get ( ) ; <nl> - mainRequest ( MTPmessages_GetHistory ( <nl> - process - > info . input , <nl> - MTP_int ( process - > offsetId ) , <nl> - MTP_int ( 0 ) , / / offset_date <nl> - MTP_int ( - kMessagesSliceLimit ) , <nl> - MTP_int ( kMessagesSliceLimit ) , <nl> - MTP_int ( 0 ) , / / max_id <nl> - MTP_int ( 0 ) , / / min_id <nl> - MTP_int ( 0 ) / / hash <nl> - ) ) . done ( [ = ] ( const MTPmessages_Messages & result ) mutable { <nl> + auto handleResult = [ = ] ( const MTPmessages_Messages & result ) mutable { <nl> Expects ( _dialogsProcess ! = nullptr ) ; <nl> Expects ( _dialogsProcess - > single ! = nullptr ) ; <nl> <nl> void ApiWrap : : requestMessagesSlice ( ) { <nl> data . vchats , <nl> process - > info . relativePath ) ) ; <nl> } ) ; <nl> - } ) . send ( ) ; <nl> + } ; <nl> + if ( onlyMyMessages ( ) ) { <nl> + mainRequest ( MTPmessages_Search ( <nl> + MTP_flags ( MTPmessages_Search : : Flag : : f_from_id ) , <nl> + process - > info . input , <nl> + MTP_string ( " " ) , / / query <nl> + _user , <nl> + MTP_inputMessagesFilterEmpty ( ) , <nl> + MTP_int ( 0 ) , / / min_date <nl> + MTP_int ( 0 ) , / / max_date <nl> + MTP_int ( process - > offsetId ) , <nl> + MTP_int ( - kMessagesSliceLimit ) , <nl> + MTP_int ( kMessagesSliceLimit ) , <nl> + MTP_int ( 0 ) , / / max_id <nl> + MTP_int ( 0 ) , / / min_id <nl> + MTP_int ( 0 ) / / hash <nl> + ) ) . done ( std : : move ( handleResult ) ) . send ( ) ; <nl> + } else { <nl> + mainRequest ( MTPmessages_GetHistory ( <nl> + process - > info . input , <nl> + MTP_int ( process - > offsetId ) , <nl> + MTP_int ( 0 ) , / / offset_date <nl> + MTP_int ( - kMessagesSliceLimit ) , <nl> + MTP_int ( kMessagesSliceLimit ) , <nl> + MTP_int ( 0 ) , / / max_id <nl> + MTP_int ( 0 ) , / / min_id <nl> + MTP_int ( 0 ) / / hash <nl> + ) ) . done ( std : : move ( handleResult ) ) . send ( ) ; <nl> + } <nl> + } <nl> + <nl> + bool ApiWrap : : onlyMyMessages ( ) const { <nl> + Expects ( _dialogsProcess ! = nullptr ) ; <nl> + Expects ( _dialogsProcess - > single ! = nullptr ) ; <nl> + <nl> + const auto process = _dialogsProcess - > single . get ( ) ; <nl> + using Type = Data : : DialogInfo : : Type ; <nl> + const auto setting = [ & ] { <nl> + switch ( process - > info . type ) { <nl> + case Type : : Personal : return Settings : : Type : : PersonalChats ; <nl> + case Type : : Bot : return Settings : : Type : : BotChats ; <nl> + case Type : : PrivateGroup : return Settings : : Type : : PrivateGroups ; <nl> + case Type : : PrivateChannel : return Settings : : Type : : PrivateChannels ; <nl> + case Type : : PublicGroup : return Settings : : Type : : PublicGroups ; <nl> + case Type : : PublicChannel : return Settings : : Type : : PublicChannels ; <nl> + } <nl> + Unexpected ( " Type in ApiWrap : : onlyMyMessages . " ) ; <nl> + } ( ) ; <nl> + return ( _settings - > fullChats & setting ) ! = setting ; <nl> } <nl> <nl> void ApiWrap : : loadMessagesFiles ( Data : : MessagesSlice & & slice ) { <nl> mmm a / Telegram / SourceFiles / export / export_api_wrap . h <nl> ppp b / Telegram / SourceFiles / export / export_api_wrap . h <nl> class ApiWrap { <nl> <nl> void requestNextDialog ( ) ; <nl> void requestMessagesSlice ( ) ; <nl> + bool onlyMyMessages ( ) const ; <nl> void loadMessagesFiles ( Data : : MessagesSlice & & slice ) ; <nl> void loadNextMessageFile ( ) ; <nl> <nl> | Request only my messages by settings bits . | telegramdesktop/tdesktop | 07ff7c6cb026bb0502458d8b16ebc5e3dde5a5bf | 2018-06-17T12:47:07Z |
mmm a / packaging / ami / build - ami . sh <nl> ppp b / packaging / ami / build - ami . sh <nl> defaults ( ) { <nl> ssh_key_name = <nl> <nl> # See http : / / cloud - images . ubuntu . com / locator / ec2 / for a list of official Ubuntu AMI <nl> - base_ami = ami - 8caa1ce4 # Ubuntu Trusty 14 . 04 amd64 ebs 20140927 <nl> + base_ami = ami - cf35f3a4 # Ubuntu Trusty 14 . 04 amd64 hvm : ebs 20150629 <nl> } <nl> <nl> parseopts ( ) { <nl> main ( ) { <nl> key = $ ( find_usable_key ) <nl> echo " Using key $ key " <nl> local instance_id instance_address <nl> - launch_instance_ephemeral " $ base_ami " " $ ssh_only_group " t1 . micro " $ key " instance_id instance_address <nl> + launch_instance_ephemeral " $ base_ami " " $ ssh_only_group " m3 . medium " $ key " instance_id instance_address <nl> <nl> scp_to " $ instance_address " " $ setup_files " " / tmp / build - ami " <nl> run " $ instance_address " ' cd / tmp / build - ami & & sudo bash setup . sh ' <nl> | Updated build - ami script for HVM AMIs | rethinkdb/rethinkdb | 1cfcc4f4c18a33d585ccce797c1c24fb5f4f569d | 2015-07-20T22:08:02Z |
new file mode 100644 <nl> index 00000000000 . . 5bacac7ffea <nl> mmm / dev / null <nl> ppp b / dbms / tests / queries / 0_stateless / 00910_decimal_group_array_crash_3783 . reference <nl> <nl> + [ 1 . 00 ] <nl> + [ 1 . 00000 ] <nl> + [ 1 . 0000000000 ] <nl> + [ 499500 . 00 ] <nl> + [ 499500 . 00000 ] <nl> + [ 499500 . 0000000000 ] <nl> + 1545081300 [ ( ' ed87e57c - 9331 - 462a - 80b4 - 9f0c005e88c8 ' , 0 . 4400 ) ] <nl> + 4341757 5657967 2018 - 11 - 01 16 : 47 : 46 txt 321 . 380000000000 315 . 080000000000 0 . 000000000000 2018 - 11 - 02 00 : 00 : 00 <nl> + 4360430 5681495 2018 - 11 - 02 09 : 00 : 07 txt 274 . 350000000000 268 . 970000000000 0 . 000000000000 2018 - 11 - 02 00 : 00 : 00 <nl> new file mode 100644 <nl> index 00000000000 . . f18d6b89594 <nl> mmm / dev / null <nl> ppp b / dbms / tests / queries / 0_stateless / 00910_decimal_group_array_crash_3783 . sql <nl> <nl> + USE test ; <nl> + <nl> + select groupArray ( s ) from ( select sum ( n ) s from ( select toDecimal32 ( 1 , 2 ) as n ) ) ; <nl> + select groupArray ( s ) from ( select sum ( n ) s from ( select toDecimal64 ( 1 , 5 ) as n ) ) ; <nl> + select groupArray ( s ) from ( select sum ( n ) s from ( select toDecimal128 ( 1 , 10 ) as n ) ) ; <nl> + <nl> + select groupArray ( s ) from ( select sum ( n ) s from ( select toDecimal32 ( number , 2 ) as n from numbers ( 1000 ) ) ) ; <nl> + select groupArray ( s ) from ( select sum ( n ) s from ( select toDecimal64 ( number , 5 ) as n from numbers ( 1000 ) ) ) ; <nl> + select groupArray ( s ) from ( select sum ( n ) s from ( select toDecimal128 ( number , 10 ) as n from numbers ( 1000 ) ) ) ; <nl> + <nl> + DROP TABLE IF EXISTS sensor_value ; <nl> + CREATE TABLE sensor_value ( <nl> + received_at DateTime , <nl> + device_id UUID , <nl> + sensor_id UUID , <nl> + value Nullable ( Decimal ( 18 , 4 ) ) , <nl> + low_warning Nullable ( Decimal ( 18 , 4 ) ) , <nl> + low_critical Nullable ( Decimal ( 18 , 4 ) ) , <nl> + high_warning Nullable ( Decimal ( 18 , 4 ) ) , <nl> + high_critical Nullable ( Decimal ( 18 , 4 ) ) <nl> + ) ENGINE = MergeTree <nl> + PARTITION BY toDate ( received_at ) <nl> + ORDER BY ( device_id , sensor_id ) ; <nl> + <nl> + INSERT INTO sensor_value ( received_at , device_id , sensor_id , value , low_warning , low_critical , high_warning , high_critical ) VALUES ( ' 2018 - 12 - 18 00 : 16 : 07 ' , ' a4d92414 - 09aa - 4dbd - 80b2 - 124ddaacf333 ' , ' ed87e57c - 9331 - 462a - 80b4 - 9f0c005e88c8 ' , ' 0 . 4400 ' , ' - 10000000 . 0000 ' , ' - 10000000 . 0000 ' , ' 10000000 . 0000 ' , ' 10000000 . 0000 ' ) ; <nl> + <nl> + SELECT ` time ` , groupArray ( ( sensor_id , volume ) ) AS groupArr FROM ( <nl> + SELECT ( intDiv ( toUInt32 ( received_at ) , 900 ) * 900 ) AS ` time ` , sensor_id , avg ( value ) AS volume <nl> + FROM sensor_value <nl> + WHERE received_at BETWEEN ' 2018 - 12 - 12 00 : 00 : 00 ' AND ' 2018 - 12 - 30 00 : 00 : 00 ' <nl> + GROUP BY ` time ` , sensor_id <nl> + ORDER BY ` time ` <nl> + ) GROUP BY ` time ` ; <nl> + <nl> + DROP TABLE sensor_value ; <nl> + <nl> + select s . a , s . b , max ( s . dt1 ) dt1 , s . c , s . d , s . f , s . i , max ( s . dt2 ) dt2 from ( <nl> + select toUInt64 ( 4360430 ) a <nl> + , toUInt64 ( 5681495 ) b <nl> + , toDateTime ( ' 2018 - 11 - 01 10 : 44 : 58 ' ) dt1 <nl> + , ' txt ' c <nl> + , toDecimal128 ( ' 274 . 350000000000 ' , 12 ) d <nl> + , toDecimal128 ( 268 . 970000000000 , 12 ) f <nl> + , toDecimal128 ( 0 . 000000000000 , 12 ) i <nl> + , toDateTime ( ' 2018 - 11 - 02 00 : 00 : 00 ' ) dt2 <nl> + union all <nl> + select toUInt64 ( 4341757 ) a <nl> + , toUInt64 ( 5657967 ) b <nl> + , toDateTime ( ' 2018 - 11 - 01 16 : 47 : 46 ' ) dt1 <nl> + , ' txt ' c <nl> + , toDecimal128 ( ' 321 . 380000000000 ' , 12 ) d <nl> + , toDecimal128 ( 315 . 080000000000 , 12 ) f <nl> + , toDecimal128 ( 0 . 000000000000 , 12 ) i <nl> + , toDateTime ( ' 2018 - 11 - 02 00 : 00 : 00 ' ) dt2 <nl> + union all <nl> + select toUInt64 ( 4360430 ) a <nl> + , toUInt64 ( 5681495 ) b <nl> + , toDateTime ( ' 2018 - 11 - 02 09 : 00 : 07 ' ) dt1 <nl> + , ' txt ' c <nl> + , toDecimal128 ( ' 274 . 350000000000 ' , 12 ) d <nl> + , toDecimal128 ( 268 . 970000000000 , 12 ) f <nl> + , toDecimal128 ( 0 . 000000000000 , 12 ) i <nl> + , toDateTime ( ' 2018 - 11 - 02 00 : 00 : 00 ' ) dt2 <nl> + ) s group by s . a , s . b , s . c , s . d , s . f , s . i ; <nl> | test for issue - 3783 ( deciaml groupArray crash ) | ClickHouse/ClickHouse | c2b0c07bd6ed91646084091d681aa9c1b483b74b | 2019-02-26T14:12:19Z |
mmm a / benchmark / cmake / modules / AddSwiftBenchmarkSuite . cmake <nl> ppp b / benchmark / cmake / modules / AddSwiftBenchmarkSuite . cmake <nl> function ( swift_benchmark_compile ) <nl> COMMAND " $ { swift - bin - dir } / Benchmark_Driver " " run " <nl> " - o " " O " " - - output - dir " " $ { CMAKE_CURRENT_BINARY_DIR } / logs " <nl> " - - swift - repo " " $ { SWIFT_SOURCE_DIR } " <nl> - " - - iterations " " $ { SWIFT_BENCHMARK_NUM_O_ITERATIONS } " <nl> + " - - independent - samples " " $ { SWIFT_BENCHMARK_NUM_O_ITERATIONS } " <nl> COMMAND " $ { swift - bin - dir } / Benchmark_Driver " " run " <nl> " - o " " Onone " " - - output - dir " " $ { CMAKE_CURRENT_BINARY_DIR } / logs " <nl> " - - swift - repo " " $ { SWIFT_SOURCE_DIR } " <nl> - " - - iterations " " $ { SWIFT_BENCHMARK_NUM_ONONE_ITERATIONS } " <nl> + " - - independent - samples " " $ { SWIFT_BENCHMARK_NUM_ONONE_ITERATIONS } " <nl> COMMAND " $ { swift - bin - dir } / Benchmark_Driver " " compare " <nl> " - - log - dir " " $ { CMAKE_CURRENT_BINARY_DIR } / logs " <nl> " - - swift - repo " " $ { SWIFT_SOURCE_DIR } " <nl> mmm a / benchmark / scripts / Benchmark_Driver <nl> ppp b / benchmark / scripts / Benchmark_Driver <nl> class BenchmarkDriver ( object ) : <nl> benchmarks . intersection ( set ( self . all_tests ) ) . union ( indexed_names ) ) ) <nl> <nl> def run ( self , test , num_samples = None , num_iters = None , <nl> - verbose = None , measure_memory = False ) : <nl> + verbose = None , measure_memory = False , quantile = None ) : <nl> " " " Execute benchmark and gather results . " " " <nl> - num_samples = num_samples or 1 <nl> + num_samples = num_samples or 0 <nl> num_iters = num_iters or 0 # automatically determine N to run for 1s <nl> <nl> cmd = self . _cmd_run ( <nl> - test , num_samples , num_iters , verbose , measure_memory ) <nl> + test , num_samples , num_iters , verbose , measure_memory , quantile ) <nl> output = self . _invoke ( cmd ) <nl> result = self . parser . results_from_string ( output ) . items ( ) [ 0 ] [ 1 ] <nl> return result <nl> <nl> - def _cmd_run ( self , test , num_samples , num_iters , verbose , measure_memory ) : <nl> + def _cmd_run ( self , test , num_samples , num_iters , verbose , measure_memory , <nl> + quantile ) : <nl> cmd = [ self . test_harness , test ] <nl> - if num_samples > 1 : <nl> + if num_samples > 0 : <nl> cmd . append ( ' - - num - samples = { 0 } ' . format ( num_samples ) ) <nl> if num_iters > 0 : <nl> cmd . append ( ' - - num - iters = { 0 } ' . format ( num_iters ) ) <nl> class BenchmarkDriver ( object ) : <nl> cmd . append ( ' - - verbose ' ) <nl> if measure_memory : <nl> cmd . append ( ' - - memory ' ) <nl> + if quantile : <nl> + cmd . append ( ' - - quantile = { 0 } ' . format ( quantile ) ) <nl> + cmd . append ( ' - - delta ' ) <nl> return cmd <nl> <nl> def run_independent_samples ( self , test ) : <nl> class BenchmarkDriver ( object ) : <nl> return a <nl> <nl> return reduce ( merge_results , <nl> - [ self . run ( test , measure_memory = True ) <nl> - for _ in range ( self . args . iterations ) ] ) <nl> + [ self . run ( test , measure_memory = True , <nl> + num_iters = 1 , quantile = 20 ) <nl> + for _ in range ( self . args . independent_samples ) ] ) <nl> <nl> def log_results ( self , output , log_file = None ) : <nl> " " " Log output to ` log_file ` . <nl> class BenchmarkDriver ( object ) : <nl> with open ( log_file , ' w ' ) as f : <nl> f . write ( output ) <nl> <nl> - RESULT = ' { : > 3 } { : < 25 } { : > 7 } { : > 7 } { : > 7 } { : > 8 } { : > 6 } { : > 10 } { : > 10 } ' <nl> + RESULT = ' { : > 3 } { : < 25 } { : > 7 } { : > 7 } { : > 6 } { : > 10 } { : > 6 } { : > 7 } { : > 10 } ' <nl> <nl> def run_and_log ( self , csv_console = True ) : <nl> " " " Run benchmarks and continuously log results to the console . <nl> class BenchmarkDriver ( object ) : <nl> def console_log ( values ) : <nl> print ( format ( values ) ) <nl> <nl> - console_log ( [ ' # ' , ' TEST ' , ' SAMPLES ' , ' MIN ( μs ) ' , ' MAX ( μs ) ' , # header <nl> - ' MEAN ( μs ) ' , ' SD ( μs ) ' , ' MEDIAN ( μs ) ' , ' MAX_RSS ( B ) ' ] ) <nl> - <nl> def result_values ( r ) : <nl> - return map ( str , [ r . test_num , r . name , r . num_samples , r . min , r . max , <nl> - int ( r . mean ) , int ( r . sd ) , r . median , r . max_rss ] ) <nl> - <nl> - results = [ ] <nl> + return map ( str , [ r . test_num , r . name , r . num_samples , r . min , <nl> + r . samples . q1 , r . median , r . samples . q3 , r . max , <nl> + r . max_rss ] ) <nl> + <nl> + header = [ ' # ' , ' TEST ' , ' SAMPLES ' , ' MIN ( μs ) ' , ' Q1 ( μs ) ' , ' MEDIAN ( μs ) ' , <nl> + ' Q3 ( μs ) ' , ' MAX ( μs ) ' , ' MAX_RSS ( B ) ' ] <nl> + console_log ( header ) <nl> + results = [ header ] <nl> for test in self . tests : <nl> result = result_values ( self . run_independent_samples ( test ) ) <nl> console_log ( result ) <nl> class BenchmarkDoctor ( object ) : <nl> self . _name_matches_capital_words_convention , <nl> self . _name_is_at_most_40_chars_long , <nl> self . _no_setup_overhead , <nl> + self . _reasonable_setup_time , <nl> self . _optimized_runtime_in_range , <nl> self . _constant_memory_use <nl> ] <nl> class BenchmarkDoctor ( object ) : <nl> for correction in [ ( setup / i ) for i in [ 1 , 2 ] ] <nl> ] for result in i_series ] ) <nl> <nl> - if 2500 < runtime : <nl> - log = ( BenchmarkDoctor . log_runtime . warning if runtime < 500000 else <nl> + threshold = 1000 <nl> + if threshold < runtime : <nl> + log = ( BenchmarkDoctor . log_runtime . warning if runtime < 10000 else <nl> BenchmarkDoctor . log_runtime . error ) <nl> caveat = ' ' if setup = = 0 else ' ( excluding the setup overhead ) ' <nl> log ( " ' % s ' execution took at least % d μs % s . " , name , runtime , caveat ) <nl> - factor = int ( pow ( 2 , math . ceil ( math . log ( runtime / 2500 . 0 , 2 ) ) ) ) <nl> + <nl> + def factor ( base ) : # suitable divisior that ' s integer power of base <nl> + return int ( pow ( base , math . ceil ( <nl> + math . log ( runtime / float ( threshold ) , base ) ) ) ) <nl> + <nl> BenchmarkDoctor . log_runtime . info ( <nl> - " Decrease the workload of ' % s ' by a factor of % d , " <nl> - " to be less than 2500 μs . " , name , factor ) <nl> + " Decrease the workload of ' % s ' by a factor of % d ( % d ) , to be " <nl> + " less than % d μs . " , name , factor ( 2 ) , factor ( 10 ) , threshold ) <nl> <nl> @ staticmethod <nl> def _setup_overhead ( measurements ) : <nl> class BenchmarkDoctor ( object ) : <nl> ' Move initialization of benchmark data to the ` setUpFunction ` ' <nl> ' registered in ` BenchmarkInfo ` . ' ) <nl> <nl> + @ staticmethod <nl> + def _reasonable_setup_time ( measurements ) : <nl> + setup = min ( [ result . setup <nl> + for result in BenchmarkDoctor . _select ( measurements ) ] ) <nl> + if 200000 < setup : # 200 ms <nl> + BenchmarkDoctor . log_runtime . error ( <nl> + " ' % s ' setup took at least % d μs . " , <nl> + measurements [ ' name ' ] , setup ) <nl> + BenchmarkDoctor . log_runtime . info ( <nl> + ' The ` setUpFunction ` should take no more than 200 ms . ' ) <nl> + <nl> @ staticmethod <nl> def _constant_memory_use ( measurements ) : <nl> select = BenchmarkDoctor . _select <nl> def parse_args ( args ) : <nl> help = ' Run benchmarks and output results to stdout ' , <nl> parents = [ shared_benchmarks_parser ] ) <nl> run_parser . add_argument ( <nl> - ' - i ' , ' - - iterations ' , <nl> + ' - i ' , ' - - independent - samples ' , <nl> help = ' number of times to run each test ( default : 1 ) ' , <nl> type = positive_int , default = 1 ) <nl> run_parser . add_argument ( <nl> mmm a / benchmark / scripts / compare_perf_tests . py <nl> ppp b / benchmark / scripts / compare_perf_tests . py <nl> def __repr__ ( self ) : <nl> return ' s ( { 0 . i ! r } , { 0 . num_iters ! r } , { 0 . runtime ! r } ) ' . format ( self ) <nl> <nl> <nl> + class Yield ( namedtuple ( ' Yield ' , ' before_sample after ' ) ) : <nl> + u " " " Meta - measurement of when the Benchmark_X voluntarily yielded process . <nl> + <nl> + ` before_sample ` : index of measurement taken just after returning from yield <nl> + ` after ` : time elapsed since the previous yield in microseconds ( μs ) <nl> + " " " <nl> + <nl> + <nl> class PerformanceTestSamples ( object ) : <nl> " " " Collection of runtime samples from the benchmark execution . <nl> <nl> def __init__ ( self , name , samples = None ) : <nl> self . add ( sample ) <nl> <nl> def __str__ ( self ) : <nl> - " " " Text summary of benchmark statisctics . " " " <nl> + " " " Text summary of benchmark statistics . " " " <nl> return ( <nl> ' { 0 . name ! s } n = { 0 . count ! r } ' <nl> ' Min = { 0 . min ! r } Q1 = { 0 . q1 ! r } M = { 0 . median ! r } Q3 = { 0 . q3 ! r } ' <nl> class PerformanceTestResult ( object ) : <nl> Reported by the test driver ( Benchmark_O , Benchmark_Onone , Benchmark_Osize <nl> or Benchmark_Driver ) . <nl> <nl> - It depends on the log format emitted by the test driver in the form : <nl> - # , TEST , SAMPLES , MIN ( μs ) , MAX ( μs ) , MEAN ( μs ) , SD ( μs ) , MEDIAN ( μs ) , MAX_RSS ( B ) <nl> - <nl> - The last column , MAX_RSS , is emitted only for runs instrumented by the <nl> - Benchmark_Driver to measure rough memory use during the execution of the <nl> - benchmark . <nl> + It suppors 2 log formats emitted by the test driver . Legacy format with <nl> + statistics for normal distribution ( MEAN , SD ) : <nl> + # , TEST , SAMPLES , MIN ( μs ) , MAX ( μs ) , MEAN ( μs ) , SD ( μs ) , MEDIAN ( μs ) , MAX_RSS ( B ) <nl> + And new quantiles format with variable number of columns : <nl> + # , TEST , SAMPLES , MIN ( μs ) , MEDIAN ( μs ) , MAX ( μs ) <nl> + # , TEST , SAMPLES , MIN ( μs ) , Q1 ( μs ) , Q2 ( μs ) , Q3 ( μs ) , MAX ( μs ) , MAX_RSS ( B ) <nl> + The number of columns between MIN and MAX depends on the test driver ' s <nl> + ` - - quantile ` parameter . In both cases , the last column , MAX_RSS is optional . <nl> " " " <nl> <nl> - def __init__ ( self , csv_row ) : <nl> - " " " Initialize from a row with 8 or 9 columns with benchmark summary . <nl> + def __init__ ( self , csv_row , quantiles = False , memory = False , delta = False ) : <nl> + " " " Initialize from a row of multiple columns with benchmark summary . <nl> <nl> The row is an iterable , such as a row provided by the CSV parser . <nl> " " " <nl> - self . test_num = csv_row [ 0 ] # Ordinal number of the test <nl> - self . name = csv_row [ 1 ] # Name of the performance test <nl> - self . num_samples = ( # Number of measurement samples taken <nl> - int ( csv_row [ 2 ] ) ) <nl> - self . min = int ( csv_row [ 3 ] ) # Minimum runtime ( μs ) <nl> - self . max = int ( csv_row [ 4 ] ) # Maximum runtime ( μs ) <nl> - self . mean = float ( csv_row [ 5 ] ) # Mean ( average ) runtime ( μs ) <nl> - self . sd = float ( csv_row [ 6 ] ) # Standard Deviation ( μs ) <nl> - self . median = int ( csv_row [ 7 ] ) # Median runtime ( μs ) <nl> - self . max_rss = ( # Maximum Resident Set Size ( B ) <nl> - int ( csv_row [ 8 ] ) if len ( csv_row ) > 8 else None ) <nl> - self . samples = None <nl> + self . test_num = csv_row [ 0 ] # Ordinal number of the test <nl> + self . name = csv_row [ 1 ] # Name of the performance test <nl> + self . num_samples = int ( csv_row [ 2 ] ) # Number of measurements taken <nl> + <nl> + if quantiles : # Variable number of columns representing quantiles <nl> + runtimes = csv_row [ 3 : - 1 ] if memory else csv_row [ 3 : ] <nl> + if delta : <nl> + runtimes = [ int ( x ) if x else 0 for x in runtimes ] <nl> + runtimes = reduce ( lambda l , x : l . append ( l [ - 1 ] + x ) or # runnin <nl> + l if l else [ x ] , runtimes , None ) # total <nl> + num_values = len ( runtimes ) <nl> + if self . num_samples < num_values : # remove repeated samples <nl> + quantile = num_values - 1 <nl> + qs = [ float ( i ) / float ( quantile ) for i in range ( 0 , num_values ) ] <nl> + indices = [ max ( 0 , int ( ceil ( self . num_samples * float ( q ) ) ) - 1 ) <nl> + for q in qs ] <nl> + runtimes = [ runtimes [ indices . index ( i ) ] <nl> + for i in range ( 0 , self . num_samples ) ] <nl> + <nl> + self . samples = PerformanceTestSamples ( <nl> + self . name , <nl> + [ Sample ( None , None , int ( runtime ) ) for runtime in runtimes ] ) <nl> + self . samples . exclude_outliers ( top_only = True ) <nl> + sams = self . samples <nl> + self . min , self . max , self . median , self . mean , self . sd = \ <nl> + sams . min , sams . max , sams . median , sams . mean , sams . sd <nl> + self . max_rss = ( # Maximum Resident Set Size ( B ) <nl> + int ( csv_row [ - 1 ] ) if memory else None ) <nl> + else : # Legacy format with statistics for normal distribution . <nl> + self . min = int ( csv_row [ 3 ] ) # Minimum runtime ( μs ) <nl> + self . max = int ( csv_row [ 4 ] ) # Maximum runtime ( μs ) <nl> + self . mean = float ( csv_row [ 5 ] ) # Mean ( average ) runtime ( μs ) <nl> + self . sd = float ( csv_row [ 6 ] ) # Standard Deviation ( μs ) <nl> + self . median = int ( csv_row [ 7 ] ) # Median runtime ( μs ) <nl> + self . max_rss = ( # Maximum Resident Set Size ( B ) <nl> + int ( csv_row [ 8 ] ) if len ( csv_row ) > 8 else None ) <nl> + self . samples = None <nl> + self . yields = None <nl> + self . setup = None <nl> <nl> def __repr__ ( self ) : <nl> " " " Short summary for debugging purposes . " " " <nl> def merge ( self , r ) : <nl> The use case here is comparing test results parsed from concatenated <nl> log files from multiple runs of benchmark driver . <nl> " " " <nl> + # Statistics <nl> if self . samples and r . samples : <nl> map ( self . samples . add , r . samples . samples ) <nl> sams = self . samples <nl> def merge ( self , r ) : <nl> ( self . mean * self . num_samples ) + ( r . mean * r . num_samples ) <nl> ) / float ( self . num_samples + r . num_samples ) <nl> self . num_samples + = r . num_samples <nl> - self . max_rss = min ( self . max_rss , r . max_rss ) <nl> - self . median , self . sd = 0 , 0 <nl> + self . median , self . sd = None , None <nl> + <nl> + # Metadata <nl> + def minimum ( a , b ) : # work around None being less than everything <nl> + return ( min ( filter ( lambda x : x is not None , [ a , b ] ) ) if any ( [ a , b ] ) <nl> + else None ) <nl> + self . max_rss = minimum ( self . max_rss , r . max_rss ) <nl> + self . setup = minimum ( self . setup , r . setup ) <nl> <nl> <nl> class ResultComparison ( object ) : <nl> class LogParser ( object ) : <nl> def __init__ ( self ) : <nl> " " " Create instance of ` LogParser ` . " " " <nl> self . results = [ ] <nl> + self . quantiles , self . delta , self . memory = False , False , False <nl> self . _reset ( ) <nl> <nl> def _reset ( self ) : <nl> " " " Reset parser to the default state for reading a new result . " " " <nl> - self . samples , self . num_iters = [ ] , 1 <nl> - self . max_rss , self . mem_pages = None , None <nl> + self . samples , self . yields , self . num_iters = [ ] , [ ] , 1 <nl> + self . setup , self . max_rss , self . mem_pages = None , None , None <nl> self . voluntary_cs , self . involuntary_cs = None , None <nl> <nl> # Parse lines like this <nl> # # , TEST , SAMPLES , MIN ( μs ) , MAX ( μs ) , MEAN ( μs ) , SD ( μs ) , MEDIAN ( μs ) <nl> - results_re = re . compile ( r ' ( * \ d + [ , \ t ] * [ \ w . ] + [ , \ t ] * ' + <nl> - r ' [ , \ t ] * ' . join ( [ r ' [ \ d . ] + ' ] * 6 ) + <nl> - r ' [ , \ t ] * [ \ d . ] * ) ' ) # optional MAX_RSS ( B ) <nl> + results_re = re . compile ( <nl> + r ' ( * \ d + [ , \ t ] + [ \ w . ] + [ , \ t ] + ' + # # , TEST <nl> + r ' [ , \ t ] + ' . join ( [ r ' \ d + ' ] * 2 ) + # at least 2 . . . <nl> + r ' ( ? : [ , \ t ] + \ d * ) * ) ' ) # . . . or more numeric columns <nl> <nl> def _append_result ( self , result ) : <nl> - columns = result . split ( ' , ' ) <nl> - if len ( columns ) < 8 : <nl> - columns = result . split ( ) <nl> - r = PerformanceTestResult ( columns ) <nl> - if self . max_rss : <nl> - r . max_rss = self . max_rss <nl> - r . mem_pages = self . mem_pages <nl> - r . voluntary_cs = self . voluntary_cs <nl> - r . involuntary_cs = self . involuntary_cs <nl> + columns = result . split ( ' , ' ) if ' , ' in result else result . split ( ) <nl> + r = PerformanceTestResult ( <nl> + columns , quantiles = self . quantiles , memory = self . memory , <nl> + delta = self . delta ) <nl> + r . setup = self . setup <nl> + r . max_rss = r . max_rss or self . max_rss <nl> + r . mem_pages = self . mem_pages <nl> + r . voluntary_cs = self . voluntary_cs <nl> + r . involuntary_cs = self . involuntary_cs <nl> if self . samples : <nl> r . samples = PerformanceTestSamples ( r . name , self . samples ) <nl> r . samples . exclude_outliers ( ) <nl> self . results . append ( r ) <nl> + r . yields = self . yields or None <nl> self . _reset ( ) <nl> <nl> def _store_memory_stats ( self , max_rss , mem_pages ) : <nl> self . max_rss = int ( max_rss ) <nl> self . mem_pages = int ( mem_pages ) <nl> <nl> + def _configure_format ( self , header ) : <nl> + self . quantiles = ' MEAN ' not in header <nl> + self . memory = ' MAX_RSS ' in header <nl> + self . delta = ' 𝚫 ' in header <nl> + <nl> # Regular expression and action to take when it matches the parsed line <nl> state_actions = { <nl> results_re : _append_result , <nl> def _store_memory_stats ( self , max_rss , mem_pages ) : <nl> self . samples . append ( <nl> Sample ( int ( i ) , int ( self . num_iters ) , int ( runtime ) ) ) ) , <nl> <nl> + re . compile ( r ' \ s + SetUp ( \ d + ) ' ) : <nl> + ( lambda self , setup : setattr ( self , ' setup ' , int ( setup ) ) ) , <nl> + <nl> + re . compile ( r ' \ s + Yielding after ~ ( \ d + ) μs ' ) : <nl> + ( lambda self , since_last_yield : <nl> + self . yields . append ( <nl> + Yield ( len ( self . samples ) , int ( since_last_yield ) ) ) ) , <nl> + <nl> + re . compile ( r ' ( * # [ , \ t ] + TEST [ , \ t ] + SAMPLES [ , \ t ] + MIN . * ) ' ) : <nl> + _configure_format , <nl> + <nl> # Environmental statistics : memory usage and context switches <nl> re . compile ( r ' \ s + MAX_RSS \ d + - \ d + = ( \ d + ) \ ( ( \ d + ) pages \ ) ' ) : <nl> _store_memory_stats , <nl> mmm a / benchmark / scripts / test_Benchmark_Driver . py <nl> ppp b / benchmark / scripts / test_Benchmark_Driver . py <nl> def test_optimization_argument ( self ) : <nl> " ( choose from ' O ' , ' Onone ' , ' Osize ' ) " ] , <nl> err . getvalue ( ) ) <nl> <nl> - def test_iterations ( self ) : <nl> - self . assertEquals ( parse_args ( [ ' run ' ] ) . iterations , 1 ) <nl> - self . assertEquals ( parse_args ( [ ' run ' , ' - i ' , ' 3 ' ] ) . iterations , 3 ) <nl> + def test_independent_samples ( self ) : <nl> + self . assertEquals ( parse_args ( [ ' run ' ] ) . independent_samples , 1 ) <nl> + self . assertEquals ( parse_args ( [ ' run ' , ' - i ' , ' 3 ' ] ) . independent_samples , <nl> + 3 ) <nl> with captured_output ( ) as ( out , err ) : <nl> self . assertRaises ( SystemExit , <nl> parse_args , [ ' run ' , ' - i ' , ' - 3 ' ] ) <nl> self . assert_contains ( <nl> - [ ' error : ' , <nl> - " argument - i / - - iterations : invalid positive_int value : ' - 3 ' " ] , <nl> + [ ' error : ' , " argument - i / - - independent - samples : " + <nl> + " invalid positive_int value : ' - 3 ' " ] , <nl> err . getvalue ( ) ) <nl> <nl> def test_output_dir ( self ) : <nl> def test_measure_memory ( self ) : <nl> self . subprocess_mock . assert_called_with ( <nl> ( ' / benchmarks / Benchmark_O ' , ' b ' , ' - - memory ' ) ) <nl> <nl> + def test_report_quantiles ( self ) : <nl> + " " " Use delta compression for quantile reports . " " " <nl> + self . driver . run ( ' b ' , quantile = 4 ) <nl> + self . subprocess_mock . assert_called_with ( <nl> + ( ' / benchmarks / Benchmark_O ' , ' b ' , ' - - quantile = 4 ' , ' - - delta ' ) ) <nl> + <nl> def test_run_benchmark_independent_samples ( self ) : <nl> - self . driver . args . iterations = 3 <nl> + " " " Extract up to 20 measurements from an independent run . " " " <nl> + self . driver . args . independent_samples = 3 <nl> r = self . driver . run_independent_samples ( ' b1 ' ) <nl> self . assertEquals ( self . subprocess_mock . calls . count ( <nl> - ( ' / benchmarks / Benchmark_O ' , ' b1 ' , ' - - memory ' ) ) , 3 ) <nl> + ( ' / benchmarks / Benchmark_O ' , ' b1 ' , ' - - num - iters = 1 ' , ' - - memory ' , <nl> + ' - - quantile = 20 ' , ' - - delta ' ) ) , 3 ) <nl> self . assertEquals ( r . num_samples , 3 ) # results are merged <nl> <nl> def test_run_and_log ( self ) : <nl> def mock_run ( test ) : <nl> self . assertEquals ( test , ' b1 ' ) <nl> return PerformanceTestResult ( <nl> - ' 3 , b1 , 1 , 123 , 123 , 123 , 0 , 123 , 888 ' . split ( ' , ' ) ) <nl> + ' 3 , b1 , 5 , 101 , 1 , 1 , 1 , 1 , 888 ' . split ( ' , ' ) , <nl> + quantiles = True , delta = True , memory = True ) <nl> driver = BenchmarkDriver ( tests = [ ' b1 ' ] , args = Stub ( output_dir = None ) ) <nl> driver . run_independent_samples = mock_run # patching <nl> <nl> with captured_output ( ) as ( out , _ ) : <nl> log = driver . run_and_log ( ) <nl> <nl> - csv_log = ' 3 , b1 , 1 , 123 , 123 , 123 , 0 , 123 , 888 \ n ' <nl> + header = ' # , TEST , SAMPLES , MIN ( μs ) , Q1 ( μs ) , MEDIAN ( μs ) , Q3 ( μs ) , MAX ( μs ) , ' + \ <nl> + ' MAX_RSS ( B ) \ n ' <nl> + csv_log = ' 3 , b1 , 5 , 101 , 102 , 103 , 104 , 105 , 888 \ n ' <nl> self . assertEquals ( log , None ) <nl> self . assertEquals ( <nl> out . getvalue ( ) , <nl> - ' # , TEST , SAMPLES , MIN ( μs ) , MAX ( μs ) , MEAN ( μs ) , SD ( μs ) , MEDIAN ( μs ) , ' + <nl> - ' MAX_RSS ( B ) \ n ' + <nl> + header + <nl> csv_log + <nl> ' \ n ' + <nl> ' Total performance tests executed : 1 \ n ' ) <nl> def mock_run ( test ) : <nl> with captured_output ( ) as ( out , _ ) : <nl> log = driver . run_and_log ( csv_console = False ) <nl> <nl> - self . assertEquals ( log , csv_log ) <nl> + self . assertEquals ( log , header + csv_log ) <nl> self . assertEquals ( <nl> out . getvalue ( ) , <nl> - ' # TEST SAMPLES MIN ( μs ) MAX ( μs ) ' + <nl> - ' MEAN ( μs ) SD ( μs ) MEDIAN ( μs ) MAX_RSS ( B ) \ n ' + <nl> - ' 3 b1 1 123 123 ' + <nl> - ' 123 0 123 888 \ n ' + <nl> + ' # TEST SAMPLES MIN ( μs ) Q1 ( μs ) ' + <nl> + ' MEDIAN ( μs ) Q3 ( μs ) MAX ( μs ) MAX_RSS ( B ) \ n ' + <nl> + ' 3 b1 5 101 102 ' + <nl> + ' 103 104 105 888 \ n ' + <nl> ' \ n ' + <nl> ' Total performance tests executed : 1 \ n ' ) <nl> <nl> def test_no_prefix_for_base_logging ( self ) : <nl> self . assertEquals ( f . format ( lr ) , ' INFO Hi ! ' ) <nl> <nl> <nl> - def _PTR ( min = 700 , mem_pages = 1000 ) : <nl> + def _PTR ( min = 700 , mem_pages = 1000 , setup = None ) : <nl> " " " Create PerformanceTestResult Stub . " " " <nl> - return Stub ( min = min , mem_pages = mem_pages ) <nl> + return Stub ( min = min , mem_pages = mem_pages , setup = setup ) <nl> <nl> <nl> def _run ( test , num_samples = None , num_iters = None , verbose = None , <nl> def test_benchmark_name_is_at_most_40_chars_long ( self ) : <nl> self . logs [ ' info ' ] ) <nl> <nl> def test_benchmark_runtime_range ( self ) : <nl> - " " " Optimized benchmark should run in less then 2500 μs . <nl> - <nl> - With runtimes less than 2500 μs there is better than 1 : 4 chance of <nl> - being interrupted in the middle of measurement due to elapsed 10 ms <nl> - quantum used by macos scheduler . <nl> - <nl> - Warn about longer runtime . Runtimes over half a second are an error . <nl> + " " " Optimized benchmark should run in less then 1000 μs . <nl> + <nl> + Even on calm machine , benchmark with runtime of 2500 μs has 1 : 4 chance <nl> + of being interrupted in the middle of measurement due to elapsed 10 ms <nl> + quantum used by macos scheduler . Linux scheduler ' s quantum is 6ms . <nl> + Driver yielding the process before the 10ms quantum elapses helped <nl> + a lot , but benchmarks with runtimes under 1ms usually exhibit a strong <nl> + mode which is best for accurate performance charaterization . <nl> + To minimize the number of involuntary context switches that corrupt our <nl> + measurements , we should strive to stay in the microbenchmark range . <nl> + <nl> + Warn about longer runtime . Runtimes over 10ms are an error . <nl> " " " <nl> def measurements ( name , runtime ) : <nl> return { ' name ' : name , <nl> def measurements ( name , runtime ) : <nl> with captured_output ( ) as ( out , _ ) : <nl> doctor = BenchmarkDoctor ( self . args , BenchmarkDriverMock ( [ ] ) ) <nl> doctor . analyze ( measurements ( ' Cheetah ' , 200 ) ) <nl> - doctor . analyze ( measurements ( ' Hare ' , 2501 ) ) <nl> + doctor . analyze ( measurements ( ' Hare ' , 1001 ) ) <nl> doctor . analyze ( measurements ( ' Tortoise ' , 500000 ) ) <nl> doctor . analyze ( { ' name ' : ' OverheadTurtle ' , <nl> ' OverheadTurtle O i1a ' : _PTR ( min = 800000 ) , <nl> def measurements ( name , runtime ) : <nl> <nl> self . assertIn ( ' runtime : ' , output ) <nl> self . assertNotIn ( ' Cheetah ' , output ) <nl> - self . assert_contains ( [ " ' Hare ' execution took at least 2501 μs . " ] , <nl> + self . assert_contains ( [ " ' Hare ' execution took at least 1001 μs . " ] , <nl> self . logs [ ' warning ' ] ) <nl> self . assert_contains ( <nl> - [ " Decrease the workload of ' Hare ' by a factor of 2 , " <nl> - " to be less than 2500 μs . " ] , self . logs [ ' info ' ] ) <nl> + [ " Decrease the workload of ' Hare ' by a factor of 2 ( 10 ) , " <nl> + " to be less than 1000 μs . " ] , self . logs [ ' info ' ] ) <nl> self . assert_contains ( <nl> [ " ' Tortoise ' execution took at least 500000 μs . " ] , <nl> self . logs [ ' error ' ] ) <nl> self . assert_contains ( <nl> - [ " Decrease the workload of ' Tortoise ' by a factor of 256 , " <nl> - " to be less than 2500 μs . " ] , self . logs [ ' info ' ] ) <nl> + [ " Decrease the workload of ' Tortoise ' by a factor of 512 ( 1000 ) , " <nl> + " to be less than 1000 μs . " ] , self . logs [ ' info ' ] ) <nl> self . assert_contains ( <nl> [ " ' OverheadTurtle ' execution took at least 600000 μs " <nl> " ( excluding the setup overhead ) . " ] , <nl> def test_benchmark_has_no_significant_setup_overhead ( self ) : <nl> [ " Move initialization of benchmark data to the ` setUpFunction ` " <nl> " registered in ` BenchmarkInfo ` . " ] , self . logs [ ' info ' ] ) <nl> <nl> + def test_benchmark_setup_takes_reasonable_time ( self ) : <nl> + " " " Setup < 200 ms ( 20 % extra on top of the typical 1 s measurement ) " " " <nl> + with captured_output ( ) as ( out , _ ) : <nl> + doctor = BenchmarkDoctor ( self . args , BenchmarkDriverMock ( [ ] ) ) <nl> + doctor . analyze ( { <nl> + ' name ' : ' NormalSetup ' , <nl> + ' NormalSetup O i1a ' : _PTR ( setup = 199999 ) , <nl> + ' NormalSetup O i2a ' : _PTR ( setup = 200001 ) } ) <nl> + doctor . analyze ( { <nl> + ' name ' : ' LongSetup ' , <nl> + ' LongSetup O i1a ' : _PTR ( setup = 200001 ) , <nl> + ' LongSetup O i2a ' : _PTR ( setup = 200002 ) } ) <nl> + output = out . getvalue ( ) <nl> + <nl> + self . assertIn ( ' runtime : ' , output ) <nl> + self . assertNotIn ( ' NormalSetup ' , output ) <nl> + self . assert_contains ( <nl> + [ " ' LongSetup ' setup took at least 200001 μs . " ] , <nl> + self . logs [ ' error ' ] ) <nl> + self . assert_contains ( <nl> + [ " The ` setUpFunction ` should take no more than 200 ms . " ] , <nl> + self . logs [ ' info ' ] ) <nl> + <nl> def test_benchmark_has_constant_memory_use ( self ) : <nl> " " " Benchmark ' s memory footprint must not vary with num - iters . " " " <nl> with captured_output ( ) as ( out , _ ) : <nl> mmm a / benchmark / scripts / test_compare_perf_tests . py <nl> ppp b / benchmark / scripts / test_compare_perf_tests . py <nl> def test_init ( self ) : <nl> r = PerformanceTestResult ( log_line . split ( ' , ' ) ) <nl> self . assertEquals ( r . max_rss , 10510336 ) <nl> <nl> + def test_init_quantiles ( self ) : <nl> + # # , TEST , SAMPLES , MIN ( μs ) , MEDIAN ( μs ) , MAX ( μs ) <nl> + log = ' 1 , Ackermann , 3 , 54383 , 54512 , 54601 ' <nl> + r = PerformanceTestResult ( log . split ( ' , ' ) , quantiles = True ) <nl> + self . assertEquals ( r . test_num , ' 1 ' ) <nl> + self . assertEquals ( r . name , ' Ackermann ' ) <nl> + self . assertEquals ( ( r . num_samples , r . min , r . median , r . max ) , <nl> + ( 3 , 54383 , 54512 , 54601 ) ) <nl> + self . assertAlmostEquals ( r . mean , 54498 . 67 , places = 2 ) <nl> + self . assertAlmostEquals ( r . sd , 109 . 61 , places = 2 ) <nl> + self . assertEquals ( r . samples . count , 3 ) <nl> + self . assertEquals ( r . samples . num_samples , 3 ) <nl> + self . assertEquals ( [ s . runtime for s in r . samples . all_samples ] , <nl> + [ 54383 , 54512 , 54601 ] ) <nl> + <nl> + # # , TEST , SAMPLES , MIN ( μs ) , MEDIAN ( μs ) , MAX ( μs ) , MAX_RSS ( B ) <nl> + log = ' 1 , Ackermann , 3 , 54529 , 54760 , 55807 , 266240 ' <nl> + r = PerformanceTestResult ( log . split ( ' , ' ) , quantiles = True , memory = True ) <nl> + self . assertEquals ( ( r . samples . count , r . max_rss ) , ( 3 , 266240 ) ) <nl> + # # , TEST , SAMPLES , MIN ( μs ) , Q1 ( μs ) , Q2 ( μs ) , Q3 ( μs ) , MAX ( μs ) <nl> + log = ' 1 , Ackermann , 5 , 54570 , 54593 , 54644 , 57212 , 58304 ' <nl> + r = PerformanceTestResult ( log . split ( ' , ' ) , quantiles = True , memory = False ) <nl> + self . assertEquals ( ( r . num_samples , r . min , r . median , r . max ) , <nl> + ( 5 , 54570 , 54644 , 58304 ) ) <nl> + self . assertEquals ( ( r . samples . q1 , r . samples . q3 ) , ( 54593 , 57212 ) ) <nl> + self . assertEquals ( r . samples . count , 5 ) <nl> + # # , TEST , SAMPLES , MIN ( μs ) , Q1 ( μs ) , Q2 ( μs ) , Q3 ( μs ) , MAX ( μs ) , MAX_RSS ( B ) <nl> + log = ' 1 , Ackermann , 5 , 54686 , 54731 , 54774 , 55030 , 63466 , 270336 ' <nl> + r = PerformanceTestResult ( log . split ( ' , ' ) , quantiles = True , memory = True ) <nl> + self . assertEquals ( r . samples . num_samples , 5 ) <nl> + self . assertEquals ( r . samples . count , 4 ) # outlier was excluded <nl> + self . assertEquals ( r . max_rss , 270336 ) <nl> + <nl> + def test_init_delta_quantiles ( self ) : <nl> + # # , TEST , SAMPLES , MIN ( μs ) , 𝚫MEDIAN , 𝚫MAX <nl> + # 2 - quantile from 2 samples in repeated min , when delta encoded , <nl> + # the difference is 0 , which is ommited - - only separator remains <nl> + log = ' 202 , DropWhileArray , 2 , 265 , , 22 ' <nl> + r = PerformanceTestResult ( log . split ( ' , ' ) , quantiles = True , delta = True ) <nl> + self . assertEquals ( ( r . num_samples , r . min , r . median , r . max ) , <nl> + ( 2 , 265 , 265 , 287 ) ) <nl> + self . assertEquals ( r . samples . count , 2 ) <nl> + self . assertEquals ( r . samples . num_samples , 2 ) <nl> + <nl> + def test_init_oversampled_quantiles ( self ) : <nl> + " " " When num_samples is < quantile + 1 , some of the measurements are <nl> + repeated in the report summary . Samples should contain only true <nl> + values , discarding the repetated artifacts from quantile estimation . <nl> + <nl> + The test string is slightly massaged output of the following R script : <nl> + subsample < - function ( x , q ) { <nl> + quantile ( 1 : x , probs = ( ( 0 : ( q - 1 ) ) / ( q - 1 ) ) , type = 1 ) } <nl> + tbl < - function ( s ) t ( sapply ( 1 : s , function ( x ) { <nl> + qs < - subsample ( x , s ) ; c ( qs [ 1 ] , diff ( qs ) ) } ) ) <nl> + sapply ( c ( 3 , 5 , 11 , 21 ) , tbl ) <nl> + " " " <nl> + def validatePTR ( deq ) : # construct from delta encoded quantiles string <nl> + deq = deq . split ( ' , ' ) <nl> + num_samples = deq . count ( ' 1 ' ) <nl> + r = PerformanceTestResult ( [ ' 0 ' , ' B ' , str ( num_samples ) ] + deq , <nl> + quantiles = True , delta = True ) <nl> + self . assertEquals ( r . samples . num_samples , num_samples ) <nl> + self . assertEquals ( [ s . runtime for s in r . samples . all_samples ] , <nl> + range ( 1 , num_samples + 1 ) ) <nl> + <nl> + delta_encoded_quantiles = " " " <nl> + 1 , , <nl> + 1 , , 1 <nl> + 1 , , , , <nl> + 1 , , , 1 , <nl> + 1 , , 1 , 1 , <nl> + 1 , , 1 , 1 , 1 <nl> + 1 , , , , , , , , , , <nl> + 1 , , , , , , 1 , , , , <nl> + 1 , , , , 1 , , , 1 , , , <nl> + 1 , , , 1 , , , 1 , , 1 , , <nl> + 1 , , , 1 , , 1 , , 1 , , 1 , <nl> + 1 , , 1 , , 1 , , 1 , 1 , , 1 , <nl> + 1 , , 1 , 1 , , 1 , 1 , , 1 , 1 , <nl> + 1 , , 1 , 1 , 1 , , 1 , 1 , 1 , 1 , <nl> + 1 , , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , <nl> + 1 , , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 <nl> + 1 , , , , , , , , , , , , , , , , , , , , <nl> + 1 , , , , , , , , , , , 1 , , , , , , , , , <nl> + 1 , , , , , , , 1 , , , , , , , 1 , , , , , , <nl> + 1 , , , , , , 1 , , , , , 1 , , , , , 1 , , , , <nl> + 1 , , , , , 1 , , , , 1 , , , , 1 , , , , 1 , , , <nl> + 1 , , , , 1 , , , 1 , , , , 1 , , , 1 , , , 1 , , , <nl> + 1 , , , 1 , , , 1 , , , 1 , , , 1 , , , 1 , , , 1 , , <nl> + 1 , , , 1 , , , 1 , , 1 , , , 1 , , 1 , , , 1 , , 1 , , <nl> + 1 , , , 1 , , 1 , , 1 , , 1 , , , 1 , , 1 , , 1 , , 1 , , <nl> + 1 , , , 1 , , 1 , , 1 , , 1 , , 1 , , 1 , , 1 , , 1 , , 1 , <nl> + 1 , , 1 , , 1 , , 1 , , 1 , , 1 , 1 , , 1 , , 1 , , 1 , , 1 , <nl> + 1 , , 1 , , 1 , , 1 , 1 , , 1 , , 1 , 1 , , 1 , , 1 , 1 , , 1 , <nl> + 1 , , 1 , , 1 , 1 , , 1 , 1 , , 1 , 1 , , 1 , 1 , , 1 , 1 , , 1 , <nl> + 1 , , 1 , 1 , , 1 , 1 , , 1 , 1 , , 1 , 1 , 1 , , 1 , 1 , , 1 , 1 , <nl> + 1 , , 1 , 1 , , 1 , 1 , 1 , , 1 , 1 , 1 , , 1 , 1 , 1 , , 1 , 1 , 1 , <nl> + 1 , , 1 , 1 , 1 , , 1 , 1 , 1 , 1 , , 1 , 1 , 1 , 1 , , 1 , 1 , 1 , 1 , <nl> + 1 , , 1 , 1 , 1 , 1 , 1 , , 1 , 1 , 1 , 1 , 1 , 1 , , 1 , 1 , 1 , 1 , 1 , <nl> + 1 , , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , <nl> + 1 , , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , <nl> + 1 , , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 " " " <nl> + map ( validatePTR , delta_encoded_quantiles . split ( ' \ n ' ) [ 1 : ] ) <nl> + <nl> def test_repr ( self ) : <nl> log_line = ' 1 , AngryPhonebook , 20 , 10664 , 12933 , 11035 , 576 , 10884 ' <nl> r = PerformanceTestResult ( log_line . split ( ' , ' ) ) <nl> def test_repr ( self ) : <nl> ) <nl> <nl> def test_merge ( self ) : <nl> - tests = " " " 1 , AngryPhonebook , 1 , 12045 , 12045 , 12045 , 0 , 12045 , 10510336 <nl> + tests = " " " <nl> + 1 , AngryPhonebook , 1 , 12045 , 12045 , 12045 , 0 , 12045 <nl> 1 , AngryPhonebook , 1 , 12325 , 12325 , 12325 , 0 , 12325 , 10510336 <nl> 1 , AngryPhonebook , 1 , 11616 , 11616 , 11616 , 0 , 11616 , 10502144 <nl> - 1 , AngryPhonebook , 1 , 12270 , 12270 , 12270 , 0 , 12270 , 10498048 " " " . split ( ' \ n ' ) <nl> + 1 , AngryPhonebook , 1 , 12270 , 12270 , 12270 , 0 , 12270 , 10498048 " " " . split ( ' \ n ' ) [ 1 : ] <nl> results = map ( PerformanceTestResult , <nl> [ line . split ( ' , ' ) for line in tests ] ) <nl> + results [ 2 ] . setup = 9 <nl> + results [ 3 ] . setup = 7 <nl> <nl> def as_tuple ( r ) : <nl> return ( r . num_samples , r . min , r . max , round ( r . mean , 2 ) , <nl> - r . sd , r . median , r . max_rss ) <nl> + r . sd , r . median , r . max_rss , r . setup ) <nl> <nl> r = results [ 0 ] <nl> self . assertEquals ( as_tuple ( r ) , <nl> - ( 1 , 12045 , 12045 , 12045 , 0 , 12045 , 10510336 ) ) <nl> + ( 1 , 12045 , 12045 , 12045 , 0 , 12045 , None , None ) ) <nl> r . merge ( results [ 1 ] ) <nl> - self . assertEquals ( as_tuple ( r ) , # drops SD and median <nl> - ( 2 , 12045 , 12325 , 12185 , 0 , 0 , 10510336 ) ) <nl> + self . assertEquals ( as_tuple ( r ) , # drops SD and median , + max_rss <nl> + ( 2 , 12045 , 12325 , 12185 , None , None , 10510336 , None ) ) <nl> r . merge ( results [ 2 ] ) <nl> - self . assertEquals ( as_tuple ( r ) , # picks smaller of the MAX_RSS <nl> - ( 3 , 11616 , 12325 , 11995 . 33 , 0 , 0 , 10502144 ) ) <nl> + self . assertEquals ( as_tuple ( r ) , # picks smaller of the MAX_RSS , + setup <nl> + ( 3 , 11616 , 12325 , 11995 . 33 , None , None , 10502144 , 9 ) ) <nl> r . merge ( results [ 3 ] ) <nl> - self . assertEquals ( as_tuple ( r ) , <nl> - ( 4 , 11616 , 12325 , 12064 , 0 , 0 , 10498048 ) ) <nl> + self . assertEquals ( as_tuple ( r ) , # picks smaller of the setup values <nl> + ( 4 , 11616 , 12325 , 12064 , None , None , 10498048 , 7 ) ) <nl> <nl> <nl> class TestResultComparison ( unittest . TestCase ) : <nl> def assert_report_contains ( self , texts , report ) : <nl> <nl> class TestLogParser ( unittest . TestCase ) : <nl> def test_parse_results_csv ( self ) : <nl> - " " " Ignores header row , empty lines and Totals row . " " " <nl> + " " " Ignores uknown lines , extracts data from supported formats . " " " <nl> log = " " " # , TEST , SAMPLES , MIN ( us ) , MAX ( us ) , MEAN ( us ) , SD ( us ) , MEDIAN ( us ) <nl> 34 , BitCount , 20 , 3 , 4 , 4 , 0 , 4 <nl> <nl> def test_parse_results_formatted_text ( self ) : <nl> self . assertEquals ( r . name , ' Array2D ' ) <nl> self . assertEquals ( r . max_rss , 20915200 ) <nl> <nl> + def test_parse_quantiles ( self ) : <nl> + " " " Gathers samples from reported quantiles . Handles optional memory . " " " <nl> + r = LogParser . results_from_string ( <nl> + " " " # , TEST , SAMPLES , MIN ( μs ) , MEDIAN ( μs ) , MAX ( μs ) <nl> + 1 , Ackermann , 3 , 54383 , 54512 , 54601 " " " ) [ ' Ackermann ' ] <nl> + self . assertEquals ( [ s . runtime for s in r . samples . all_samples ] , <nl> + [ 54383 , 54512 , 54601 ] ) <nl> + r = LogParser . results_from_string ( <nl> + " " " # , TEST , SAMPLES , MIN ( μs ) , MEDIAN ( μs ) , MAX ( μs ) , MAX_RSS ( B ) <nl> + 1 , Ackermann , 3 , 54529 , 54760 , 55807 , 266240 " " " ) [ ' Ackermann ' ] <nl> + self . assertEquals ( [ s . runtime for s in r . samples . all_samples ] , <nl> + [ 54529 , 54760 , 55807 ] ) <nl> + self . assertEquals ( r . max_rss , 266240 ) <nl> + <nl> + def test_parse_delta_quantiles ( self ) : <nl> + r = LogParser . results_from_string ( # 2 - quantile aka . median <nl> + ' # , TEST , SAMPLES , MIN ( μs ) , 𝚫MEDIAN , 𝚫MAX \ n0 , B , 1 , 101 , , ' ) [ ' B ' ] <nl> + self . assertEquals ( <nl> + ( r . num_samples , r . min , r . median , r . max , r . samples . count ) , <nl> + ( 1 , 101 , 101 , 101 , 1 ) ) <nl> + r = LogParser . results_from_string ( <nl> + ' # , TEST , SAMPLES , MIN ( μs ) , 𝚫MEDIAN , 𝚫MAX \ n0 , B , 2 , 101 , , 1 ' ) [ ' B ' ] <nl> + self . assertEquals ( <nl> + ( r . num_samples , r . min , r . median , r . max , r . samples . count ) , <nl> + ( 2 , 101 , 101 , 102 , 2 ) ) <nl> + r = LogParser . results_from_string ( # 20 - quantiles aka . ventiles <nl> + ' # , TEST , SAMPLES , MIN ( μs ) , 𝚫V1 , 𝚫V2 , 𝚫V3 , 𝚫V4 , 𝚫V5 , 𝚫V6 , 𝚫V7 , 𝚫V8 , ' + <nl> + ' 𝚫V9 , 𝚫VA , 𝚫VB , 𝚫VC , 𝚫VD , 𝚫VE , 𝚫VF , 𝚫VG , 𝚫VH , 𝚫VI , 𝚫VJ , 𝚫MAX \ n ' + <nl> + ' 202 , DropWhileArray , 200 , 214 , , , , , , , , , , , , 1 , , , , , , 2 , 16 , 464 ' <nl> + ) [ ' DropWhileArray ' ] <nl> + self . assertEquals ( <nl> + ( r . num_samples , r . min , r . max , r . samples . count ) , <nl> + # last 3 ventiles were outliers and were excluded from the sample <nl> + ( 200 , 214 , 215 , 18 ) ) <nl> + <nl> def test_parse_results_verbose ( self ) : <nl> " " " Parse multiple performance test results with 2 sample formats : <nl> single line for N = 1 ; two lines for N > 1 . <nl> def test_parse_results_verbose ( self ) : <nl> Sample 2 , 11467 <nl> 1 , AngryPhonebook , 3 , 11467 , 13898 , 12392 , 1315 , 11812 <nl> Running Array2D for 3 samples . <nl> + SetUp 14444 <nl> Sample 0 , 369900 <nl> + Yielding after ~ 369918 μs <nl> Sample 1 , 381039 <nl> + Yielding after ~ 381039 μs <nl> Sample 2 , 371043 <nl> 3 , Array2D , 3 , 369900 , 381039 , 373994 , 6127 , 371043 <nl> <nl> def test_parse_results_verbose ( self ) : <nl> self . assertEquals ( r . num_samples , r . samples . num_samples ) <nl> self . assertEquals ( results [ 0 ] . samples . all_samples , <nl> [ ( 0 , 78 , 11812 ) , ( 1 , 90 , 13898 ) , ( 2 , 90 , 11467 ) ] ) <nl> + self . assertEquals ( r . yields , None ) <nl> <nl> r = results [ 1 ] <nl> self . assertEquals ( <nl> ( r . name , r . min , r . max , int ( r . mean ) , int ( r . sd ) , r . median ) , <nl> ( ' Array2D ' , 369900 , 381039 , 373994 , 6127 , 371043 ) <nl> ) <nl> + self . assertEquals ( r . setup , 14444 ) <nl> self . assertEquals ( r . num_samples , r . samples . num_samples ) <nl> self . assertEquals ( results [ 1 ] . samples . all_samples , <nl> [ ( 0 , 1 , 369900 ) , ( 1 , 1 , 381039 ) , ( 2 , 1 , 371043 ) ] ) <nl> + yielded = r . yields [ 0 ] <nl> + self . assertEquals ( yielded . before_sample , 1 ) <nl> + self . assertEquals ( yielded . after , 369918 ) <nl> + self . assertEquals ( r . yields , [ ( 1 , 369918 ) , ( 2 , 381039 ) ] ) <nl> <nl> def test_parse_environment_verbose ( self ) : <nl> " " " Parse stats about environment in verbose mode . " " " <nl> mmm a / benchmark / utils / DriverUtils . swift <nl> ppp b / benchmark / utils / DriverUtils . swift <nl> struct TestConfig { <nl> let numIters : Int ? <nl> <nl> / / / The number of samples we should take of each test . <nl> - let numSamples : Int <nl> + let numSamples : Int ? <nl> <nl> / / / Quantiles to report in results . <nl> let quantile : Int ? <nl> struct TestConfig { <nl> / / Configure the command line argument parser <nl> let p = ArgumentParser ( into : PartialTestConfig ( ) ) <nl> p . addArgument ( " - - num - samples " , \ . numSamples , <nl> - help : " number of samples to take per benchmark ; default : 1 " , <nl> + help : " number of samples to take per benchmark ; \ n " + <nl> + " default : 1 or auto - scaled to measure for \ n " + <nl> + " ` sample - time ` if num - iters is also specified \ n " , <nl> parser : { UInt ( $ 0 ) } ) <nl> p . addArgument ( " - - num - iters " , \ . numIters , <nl> help : " number of iterations averaged in the sample ; \ n " + <nl> struct TestConfig { <nl> delim = c . delim ? ? " , " <nl> sampleTime = c . sampleTime ? ? 1 . 0 <nl> numIters = c . numIters . map { Int ( $ 0 ) } <nl> - numSamples = Int ( c . numSamples ? ? 1 ) <nl> + numSamples = c . numSamples . map { Int ( $ 0 ) } <nl> quantile = c . quantile . map { Int ( $ 0 ) } <nl> delta = c . delta ? ? false <nl> verbose = c . verbose ? ? false <nl> struct TestConfig { <nl> let testList = tests . map ( { $ 0 . 1 . name } ) . joined ( separator : " , " ) <nl> print ( " " " <nl> mmm CONFIG mmm <nl> - NumSamples : \ ( numSamples ) <nl> + NumSamples : \ ( numSamples ? ? 0 ) <nl> Verbose : \ ( verbose ) <nl> LogMemory : \ ( logMemory ) <nl> SampleTime : \ ( sampleTime ) <nl> final class TestRunner { <nl> logVerbose ( " Skipping unsupported benchmark \ ( test . name ) ! " ) <nl> return nil <nl> } <nl> - logVerbose ( " Running \ ( test . name ) for \ ( c . numSamples ) samples . " ) <nl> + logVerbose ( " Running \ ( test . name ) " ) <nl> <nl> var samples : [ Int ] = [ ] <nl> - samples . reserveCapacity ( c . numSamples ) <nl> <nl> func addSample ( _ time : Int ) { <nl> logVerbose ( " Sample \ ( samples . count ) , \ ( time ) " ) <nl> final class TestRunner { <nl> } <nl> <nl> resetMeasurements ( ) <nl> - test . setUpFunction ? ( ) <nl> + if let setUp = test . setUpFunction { <nl> + setUp ( ) <nl> + stopMeasurement ( ) <nl> + logVerbose ( " SetUp \ ( lastSampleTime . microseconds ) " ) <nl> + resetMeasurements ( ) <nl> + } <nl> <nl> / / Determine number of iterations for testFn to run for desired time . <nl> func iterationsPerSampleTime ( ) - > ( numIters : Int , oneIter : Int ) { <nl> final class TestRunner { <nl> } <nl> } <nl> <nl> + / / Determine the scale of measurements . Re - use the calibration result if <nl> + / / it is just one measurement . <nl> + func calibrateMeasurements ( ) - > Int { <nl> + let ( numIters , oneIter ) = iterationsPerSampleTime ( ) <nl> + if numIters = = 1 { addSample ( oneIter ) } <nl> + else { resetMeasurements ( ) } / / for accurate yielding reports <nl> + return numIters <nl> + } <nl> + <nl> let numIters = min ( / / Cap to prevent overflow on 32 - bit systems when scaled <nl> Int . max / 10_000 , / / by the inner loop multiplier inside the ` testFn ` . <nl> - c . numIters ? ? { <nl> - let ( numIters , oneIter ) = iterationsPerSampleTime ( ) <nl> - if numIters = = 1 { addSample ( oneIter ) } <nl> - else { resetMeasurements ( ) } / / for accurate yielding reports <nl> - return numIters <nl> - } ( ) ) <nl> + c . numIters ? ? calibrateMeasurements ( ) ) <nl> + <nl> + let numSamples = c . numSamples ? ? min ( 2000 , / / Cap the number of samples <nl> + c . numIters = = nil ? 1 : calibrateMeasurements ( ) ) <nl> <nl> + samples . reserveCapacity ( numSamples ) <nl> + logVerbose ( " Collecting \ ( numSamples ) samples . " ) <nl> logVerbose ( " Measuring with scale \ ( numIters ) . " ) <nl> - for _ in samples . count . . < c . numSamples { <nl> + for _ in samples . count . . < numSamples { <nl> addSample ( measure ( test . name , fn : testFn , numIters : numIters ) ) <nl> } <nl> <nl> mmm a / test / benchmark / Benchmark_O . test . md <nl> ppp b / test / benchmark / Benchmark_O . test . md <nl> RUN : - - check - prefix LOGHEADER \ <nl> RUN : - - check - prefix LOGBENCH <nl> LOGHEADER - LABEL : # , TEST , SAMPLES , MIN ( μs ) , MAX ( μs ) , MEAN ( μs ) , SD ( μs ) , MEDIAN ( μs ) <nl> LOGBENCH : { { [ 0 - 9 ] + } } , <nl> - NUMITERS1 : AngryPhonebook , 1 <nl> + NUMITERS1 : AngryPhonebook , { { [ 0 - 9 ] + } } <nl> NUMITERS1 - NOT : 0 , 0 , 0 , 0 , 0 <nl> LOGBENCH - SAME : , { { [ 0 - 9 ] + } } , { { [ 0 - 9 ] + } } , { { [ 0 - 9 ] + } } , { { [ 0 - 9 ] + } } , { { [ 0 - 9 ] + } } <nl> ` ` ` ` <nl> CONFIG : NumSamples : 2 <nl> CONFIG : Tests Filter : [ " 1 " , " Ackermann " , " 1 " , " AngryPhonebook " ] <nl> CONFIG : Tests to run : Ackermann , AngryPhonebook <nl> LOGFORMAT : # , TEST , SAMPLES , MIN ( μs ) , 𝚫MEDIAN , 𝚫MAX , MAX_RSS ( B ) <nl> - LOGVERBOSE - LABEL : Running Ackermann for 2 samples . <nl> + LOGVERBOSE - LABEL : Running Ackermann <nl> + LOGVERBOSE : Collecting 2 samples . <nl> LOGVERBOSE : Measuring with scale { { [ 0 - 9 ] + } } . <nl> LOGVERBOSE : Sample 0 , { { [ 0 - 9 ] + } } <nl> LOGVERBOSE : Sample 1 , { { [ 0 - 9 ] + } } <nl> MEASUREENV : VCS { { [ 0 - 9 ] + } } - { { [ 0 - 9 ] + } } = { { [ 0 - 9 ] + } } <nl> RUNJUSTONCE - LABEL : 1 , Ackermann <nl> RUNJUSTONCE - NOT : 1 , Ackermann <nl> LOGFORMAT : , { { [ 0 - 9 ] + } } , { { [ 0 - 9 ] + } } , , { { [ 0 - 9 ] + } } , { { [ 0 - 9 ] + } } <nl> - LOGVERBOSE - LABEL : Running AngryPhonebook for 2 samples . <nl> + LOGVERBOSE - LABEL : Running AngryPhonebook <nl> + LOGVERBOSE : Collecting 2 samples . <nl> ` ` ` ` <nl> <nl> Verify the specified delimiter is used when logging to console . The non - verbose <nl> | Merge pull request from palimondo / fluctuation - of - the - pupil | apple/swift | cd920b69f445c0e12d47fcdc321c36a4a5044b34 | 2018-10-29T22:02:07Z |
mmm a / src / core / lib / debug / trace . h <nl> ppp b / src / core / lib / debug / trace . h <nl> void grpc_tracer_enable_flag ( grpc_core : : TraceFlag * flag ) ; <nl> class TraceFlag { <nl> public : <nl> TraceFlag ( bool default_enabled , const char * name ) ; <nl> - ~ TraceFlag ( ) { } <nl> + / / TraceFlag needs to be trivially destructible since it is used as global <nl> + / / variable . <nl> + ~ TraceFlag ( ) = default ; <nl> <nl> const char * name ( ) const { return name_ ; } <nl> <nl> | Make TraceFlag trivially destructible | grpc/grpc | 5c1ff6cb4a9826b2aad773e3397ea608db543798 | 2018-12-05T23:09:12Z |
mmm a / src / hydrogen . cc <nl> ppp b / src / hydrogen . cc <nl> static bool ComputeLoadStoreField ( Handle < Map > type , <nl> Handle < String > name , <nl> LookupResult * lookup , <nl> bool is_store ) { <nl> + if ( type - > has_named_interceptor ( ) ) { <nl> + lookup - > InterceptorResult ( NULL ) ; <nl> + return false ; <nl> + } <nl> / / If we directly find a field , the access can be inlined . <nl> type - > LookupDescriptor ( NULL , * name , lookup ) ; <nl> if ( lookup - > IsField ( ) ) return true ; <nl> | Check interceptor before optimizing load / store | v8/v8 | 11c2557452a54113ff287d93127b8c5f671836ca | 2013-01-07T12:14:36Z |
mmm a / DataReader / HTKMLFReader / utterancesourcemulti . h <nl> ppp b / DataReader / HTKMLFReader / utterancesourcemulti . h <nl> class minibatchutterancesourcemulti : public minibatchsource <nl> const size_t windowend = positionchunkwindows [ epos - 1 ] . windowend ( ) ; <nl> for ( size_t k = 0 ; k < windowbegin ; k + + ) <nl> releaserandomizedchunk ( k ) ; <nl> - for ( size_t k = windowend ; k < randomizedchunks . size ( ) ; k + + ) <nl> + for ( size_t k = windowend ; k < randomizedchunks [ 0 ] . size ( ) ; k + + ) <nl> releaserandomizedchunk ( k ) ; <nl> for ( size_t pos = spos ; pos < epos ; pos + + ) <nl> readfromdisk | = requirerandomizedchunk ( randomizedutterancerefs [ pos ] . chunkindex , windowbegin , windowend ) ; / / ( window range passed in for checking only ) <nl> | fixed bug in utterancesourcemulti . h that arose when no labels provided | microsoft/CNTK | ff038f1bb59b85ede101fe2c1a6b3c1aa229f7be | 2014-10-27T17:29:55Z |
mmm a / googlemock / include / gmock / gmock - function - mocker . h <nl> ppp b / googlemock / include / gmock / gmock - function - mocker . h <nl> using identity_t = T ; <nl> # define GMOCK_INTERNAL_MOCK_METHOD_ARG_3 ( _Ret , _MethodName , _Args ) \ <nl> GMOCK_INTERNAL_MOCK_METHOD_ARG_4 ( _Ret , _MethodName , _Args , ( ) ) <nl> <nl> - # define GMOCK_INTERNAL_MOCK_METHOD_ARG_4 ( _Ret , _MethodName , _Args , _Spec ) \ <nl> - GMOCK_INTERNAL_ASSERT_PARENTHESIS ( _Args ) ; \ <nl> - GMOCK_INTERNAL_ASSERT_PARENTHESIS ( _Spec ) ; \ <nl> - GMOCK_INTERNAL_ASSERT_VALID_SIGNATURE ( \ <nl> - GMOCK_PP_NARG0 _Args , GMOCK_INTERNAL_SIGNATURE ( _Ret , _Args ) ) ; \ <nl> - GMOCK_INTERNAL_ASSERT_VALID_SPEC ( _Spec ) \ <nl> - GMOCK_INTERNAL_MOCK_METHOD_IMPL ( \ <nl> - GMOCK_PP_NARG0 _Args , _MethodName , GMOCK_INTERNAL_HAS_CONST ( _Spec ) , \ <nl> - GMOCK_INTERNAL_HAS_OVERRIDE ( _Spec ) , GMOCK_INTERNAL_HAS_FINAL ( _Spec ) , \ <nl> - GMOCK_INTERNAL_HAS_NOEXCEPT ( _Spec ) , GMOCK_INTERNAL_GET_CALLTYPE ( _Spec ) , \ <nl> + # define GMOCK_INTERNAL_MOCK_METHOD_ARG_4 ( _Ret , _MethodName , _Args , _Spec ) \ <nl> + GMOCK_INTERNAL_ASSERT_PARENTHESIS ( _Args ) ; \ <nl> + GMOCK_INTERNAL_ASSERT_PARENTHESIS ( _Spec ) ; \ <nl> + GMOCK_INTERNAL_ASSERT_VALID_SIGNATURE ( \ <nl> + GMOCK_PP_NARG0 _Args , GMOCK_INTERNAL_SIGNATURE ( _Ret , _Args ) ) ; \ <nl> + GMOCK_INTERNAL_ASSERT_VALID_SPEC ( _Spec ) \ <nl> + GMOCK_INTERNAL_MOCK_METHOD_IMPL ( \ <nl> + GMOCK_PP_NARG0 _Args , _MethodName , GMOCK_INTERNAL_HAS_CONST ( _Spec ) , \ <nl> + GMOCK_INTERNAL_HAS_OVERRIDE ( _Spec ) , GMOCK_INTERNAL_HAS_FINAL ( _Spec ) , \ <nl> + GMOCK_INTERNAL_GET_NOEXCEPT_SPEC ( _Spec ) , \ <nl> + GMOCK_INTERNAL_GET_CALLTYPE ( _Spec ) , \ <nl> ( GMOCK_INTERNAL_SIGNATURE ( _Ret , _Args ) ) ) <nl> <nl> # define GMOCK_INTERNAL_MOCK_METHOD_ARG_5 ( . . . ) \ <nl> using identity_t = T ; <nl> GMOCK_PP_FOR_EACH ( GMOCK_INTERNAL_ASSERT_VALID_SPEC_ELEMENT , ~ , _Spec ) <nl> <nl> # define GMOCK_INTERNAL_MOCK_METHOD_IMPL ( _N , _MethodName , _Constness , \ <nl> - _Override , _Final , _Noexcept , \ <nl> + _Override , _Final , _NoexceptSpec , \ <nl> _CallType , _Signature ) \ <nl> typename : : testing : : internal : : Function < GMOCK_PP_REMOVE_PARENS ( \ <nl> _Signature ) > : : Result \ <nl> GMOCK_INTERNAL_EXPAND ( _CallType ) \ <nl> _MethodName ( GMOCK_PP_REPEAT ( GMOCK_INTERNAL_PARAMETER , _Signature , _N ) ) \ <nl> - GMOCK_PP_IF ( _Constness , const , ) GMOCK_PP_IF ( _Noexcept , noexcept , ) \ <nl> - GMOCK_PP_IF ( _Override , override , ) \ <nl> - GMOCK_PP_IF ( _Final , final , ) { \ <nl> + GMOCK_PP_IF ( _Constness , const , ) _NoexceptSpec \ <nl> + GMOCK_PP_IF ( _Override , override , ) GMOCK_PP_IF ( _Final , final , ) { \ <nl> GMOCK_MOCKER_ ( _N , _Constness , _MethodName ) \ <nl> . SetOwnerAndName ( this , # _MethodName ) ; \ <nl> return GMOCK_MOCKER_ ( _N , _Constness , _MethodName ) \ <nl> using identity_t = T ; <nl> : : testing : : MockSpec < GMOCK_PP_REMOVE_PARENS ( _Signature ) > gmock_ # # _MethodName ( \ <nl> const : : testing : : internal : : WithoutMatchers & , \ <nl> GMOCK_PP_IF ( _Constness , const , ) : : testing : : internal : : Function < \ <nl> - GMOCK_PP_REMOVE_PARENS ( _Signature ) > * ) \ <nl> - const GMOCK_PP_IF ( _Noexcept , noexcept , ) { \ <nl> + GMOCK_PP_REMOVE_PARENS ( _Signature ) > * ) const _NoexceptSpec { \ <nl> return GMOCK_PP_CAT ( : : testing : : internal : : AdjustConstness_ , \ <nl> GMOCK_PP_IF ( _Constness , const , ) ) ( this ) \ <nl> - > gmock_ # # _MethodName ( GMOCK_PP_REPEAT ( \ <nl> using identity_t = T ; <nl> # define GMOCK_INTERNAL_HAS_FINAL ( _Tuple ) \ <nl> GMOCK_PP_HAS_COMMA ( GMOCK_PP_FOR_EACH ( GMOCK_INTERNAL_DETECT_FINAL , ~ , _Tuple ) ) <nl> <nl> - # define GMOCK_INTERNAL_HAS_NOEXCEPT ( _Tuple ) \ <nl> - GMOCK_PP_HAS_COMMA ( \ <nl> - GMOCK_PP_FOR_EACH ( GMOCK_INTERNAL_DETECT_NOEXCEPT , ~ , _Tuple ) ) <nl> + # define GMOCK_INTERNAL_GET_NOEXCEPT_SPEC ( _Tuple ) \ <nl> + GMOCK_PP_FOR_EACH ( GMOCK_INTERNAL_NOEXCEPT_SPEC_IF_NOEXCEPT , ~ , _Tuple ) <nl> + <nl> + # define GMOCK_INTERNAL_NOEXCEPT_SPEC_IF_NOEXCEPT ( _i , _ , _elem ) \ <nl> + GMOCK_PP_IF ( \ <nl> + GMOCK_PP_HAS_COMMA ( GMOCK_INTERNAL_DETECT_NOEXCEPT ( _i , _ , _elem ) ) , \ <nl> + _elem , ) <nl> <nl> # define GMOCK_INTERNAL_GET_CALLTYPE ( _Tuple ) \ <nl> GMOCK_PP_FOR_EACH ( GMOCK_INTERNAL_GET_CALLTYPE_IMPL , ~ , _Tuple ) <nl> using identity_t = T ; <nl> <nl> # define GMOCK_INTERNAL_DETECT_FINAL_I_final , <nl> <nl> - / / TODO ( iserna ) : Maybe noexcept should accept an argument here as well . <nl> # define GMOCK_INTERNAL_DETECT_NOEXCEPT ( _i , _ , _elem ) \ <nl> GMOCK_PP_CAT ( GMOCK_INTERNAL_DETECT_NOEXCEPT_I_ , _elem ) <nl> <nl> mmm a / googlemock / test / gmock - function - mocker_test . cc <nl> ppp b / googlemock / test / gmock - function - mocker_test . cc <nl> <nl> <nl> # include < map > <nl> # include < string > <nl> + # include < type_traits > <nl> + <nl> # include " gmock / gmock . h " <nl> # include " gtest / gtest . h " <nl> <nl> TEST ( MockMethodMockFunctionTest , MockMethodSizeOverhead ) { <nl> EXPECT_EQ ( sizeof ( MockMethodSizes0 ) , sizeof ( MockMethodSizes4 ) ) ; <nl> } <nl> <nl> + void hasTwoParams ( int , int ) ; <nl> + void MaybeThrows ( ) ; <nl> + void DoesntThrow ( ) noexcept ; <nl> + struct MockMethodNoexceptSpecifier { <nl> + MOCK_METHOD ( void , func1 , ( ) , ( noexcept ) ) ; <nl> + MOCK_METHOD ( void , func2 , ( ) , ( noexcept ( true ) ) ) ; <nl> + MOCK_METHOD ( void , func3 , ( ) , ( noexcept ( false ) ) ) ; <nl> + MOCK_METHOD ( void , func4 , ( ) , ( noexcept ( noexcept ( MaybeThrows ( ) ) ) ) ) ; <nl> + MOCK_METHOD ( void , func5 , ( ) , ( noexcept ( noexcept ( DoesntThrow ( ) ) ) ) ) ; <nl> + MOCK_METHOD ( void , func6 , ( ) , ( noexcept ( noexcept ( DoesntThrow ( ) ) ) , const ) ) ; <nl> + MOCK_METHOD ( void , func7 , ( ) , ( const , noexcept ( noexcept ( DoesntThrow ( ) ) ) ) ) ; <nl> + / / Put commas in the noexcept expression <nl> + MOCK_METHOD ( void , func8 , ( ) , ( noexcept ( noexcept ( hasTwoParams ( 1 , 2 ) ) ) , const ) ) ; <nl> + } ; <nl> + <nl> + TEST ( MockMethodMockFunctionTest , NoexceptSpecifierPreserved ) { <nl> + EXPECT_TRUE ( noexcept ( std : : declval < MockMethodNoexceptSpecifier > ( ) . func1 ( ) ) ) ; <nl> + EXPECT_TRUE ( noexcept ( std : : declval < MockMethodNoexceptSpecifier > ( ) . func2 ( ) ) ) ; <nl> + EXPECT_FALSE ( noexcept ( std : : declval < MockMethodNoexceptSpecifier > ( ) . func3 ( ) ) ) ; <nl> + EXPECT_FALSE ( noexcept ( std : : declval < MockMethodNoexceptSpecifier > ( ) . func4 ( ) ) ) ; <nl> + EXPECT_TRUE ( noexcept ( std : : declval < MockMethodNoexceptSpecifier > ( ) . func5 ( ) ) ) ; <nl> + EXPECT_TRUE ( noexcept ( std : : declval < MockMethodNoexceptSpecifier > ( ) . func6 ( ) ) ) ; <nl> + EXPECT_TRUE ( noexcept ( std : : declval < MockMethodNoexceptSpecifier > ( ) . func7 ( ) ) ) ; <nl> + EXPECT_EQ ( noexcept ( std : : declval < MockMethodNoexceptSpecifier > ( ) . func8 ( ) ) , <nl> + noexcept ( hasTwoParams ( 1 , 2 ) ) ) ; <nl> + } <nl> + <nl> } / / namespace gmock_function_mocker_test <nl> } / / namespace testing <nl> | Merge pull request from thejcannon : noexcept_spec | google/googletest | 057ee5063d00a67fd0a83029e8cf26ea9bc1bb69 | 2019-11-01T20:02:05Z |
mmm a / src / python / grpcio_tests / tests / reflection / _reflection_servicer_test . py <nl> ppp b / src / python / grpcio_tests / tests / reflection / _reflection_servicer_test . py <nl> class ReflectionServicerTest ( unittest . TestCase ) : <nl> <nl> # TODO ( https : / / github . com / grpc / grpc / issues / 17844 ) <nl> # Bazel + Python 3 will result in creating two different instance of <nl> - # DESCRIPTOR for each message . So , the equal comparision between protobuf <nl> + # DESCRIPTOR for each message . So , the equal comparison between protobuf <nl> # returned by stub and manually crafted protobuf will always fail . <nl> def _assert_sequence_of_proto_equal ( self , x , y ) : <nl> self . assertSequenceEqual ( <nl> | Fix a common typo | grpc/grpc | 8fb2f4abea2b16a9c813a7ab4d87c9fb5dd42ce8 | 2019-01-29T18:04:43Z |
mmm a / xbmc / cores / RetroPlayer / buffers / BaseRenderBufferPool . cpp <nl> ppp b / xbmc / cores / RetroPlayer / buffers / BaseRenderBufferPool . cpp <nl> IRenderBuffer * CBaseRenderBufferPool : : GetBuffer ( size_t size ) <nl> <nl> / / Changing sizes is not implemented <nl> if ( m_frameSize ! = size ) <nl> + { <nl> + CLog : : Log ( LOGDEBUG , " RetroPlayer [ RENDER ] : buffer pool frame size change - - not implemented " ) ; <nl> return nullptr ; <nl> + } <nl> <nl> IRenderBuffer * renderBuffer = nullptr ; <nl> <nl> void CBaseRenderBufferPool : : Return ( IRenderBuffer * buffer ) <nl> buffer - > SetLoaded ( false ) ; <nl> buffer - > SetRendered ( false ) ; <nl> <nl> - m_free . emplace_back ( buffer ) ; <nl> + std : : unique_ptr < IRenderBuffer > bufferPtr ( buffer ) ; <nl> + <nl> + / / Only reclaim buffers of the same size <nl> + if ( buffer - > GetFrameSize ( ) = = m_frameSize ) <nl> + m_free . emplace_back ( std : : move ( bufferPtr ) ) ; <nl> } <nl> <nl> void CBaseRenderBufferPool : : Prime ( size_t bufferSize ) <nl> void CBaseRenderBufferPool : : Flush ( ) <nl> CSingleLock lock ( m_bufferMutex ) ; <nl> <nl> m_free . clear ( ) ; <nl> + m_frameSize = 0 ; <nl> + m_bConfigured = false ; <nl> } <nl> mmm a / xbmc / cores / RetroPlayer / rendering / RPRenderManager . cpp <nl> ppp b / xbmc / cores / RetroPlayer / rendering / RPRenderManager . cpp <nl> using namespace RETRO ; <nl> CRPRenderManager : : CRPRenderManager ( CRPProcessInfo & processInfo ) : <nl> m_processInfo ( processInfo ) , <nl> m_renderContext ( processInfo . GetRenderContext ( ) ) , <nl> - m_speed ( 1 . 0 ) , <nl> m_renderSettings ( new CGUIGameSettings ( processInfo ) ) , <nl> m_renderControlFactory ( new CGUIRenderTargetFactory ( this ) ) <nl> { <nl> bool CRPRenderManager : : Configure ( AVPixelFormat format , unsigned int nominalWidth <nl> <nl> CSingleLock lock ( m_stateMutex ) ; <nl> <nl> - m_state = RENDER_STATE : : CONFIGURING ; <nl> + if ( m_state = = RENDER_STATE : : UNCONFIGURED ) <nl> + m_state = RENDER_STATE : : CONFIGURING ; <nl> + else <nl> + { <nl> + Flush ( ) ; <nl> + m_state = RENDER_STATE : : RECONFIGURING ; <nl> + } <nl> <nl> return true ; <nl> } <nl> <nl> void CRPRenderManager : : AddFrame ( const uint8_t * data , size_t size , unsigned int width , unsigned int height , unsigned int orientationDegCCW ) <nl> { <nl> + if ( m_bFlush | | m_state ! = RENDER_STATE : : CONFIGURED ) <nl> + return ; <nl> + <nl> / / Validate parameters <nl> if ( data = = nullptr | | size = = 0 | | width = = 0 | | height = = 0 ) <nl> return ; <nl> <nl> - / / ! @ todo Allow dimension changes <nl> if ( width ! = m_width | | height ! = m_height ) <nl> + { <nl> + / / Reconfigure <nl> + Configure ( m_format , width , height , m_maxWidth , m_maxHeight ) ; <nl> return ; <nl> + } <nl> <nl> / / Copy frame to buffers with visible renderers <nl> std : : vector < IRenderBuffer * > renderBuffers ; <nl> void CRPRenderManager : : AddFrame ( const uint8_t * data , size_t size , unsigned int w <nl> CopyFrame ( renderBuffer , m_format , data , size , width , height ) ; <nl> renderBuffers . emplace_back ( renderBuffer ) ; <nl> } <nl> + else <nl> + CLog : : Log ( LOGDEBUG , " RetroPlayer [ RENDER ] : Unable to get render buffer for frame " ) ; <nl> } <nl> <nl> { <nl> void CRPRenderManager : : AddFrame ( const uint8_t * data , size_t size , unsigned int w <nl> <nl> if ( ! m_bHasCachedFrame ) <nl> { <nl> + / / In this case , cachedFrame is definitely empty ( see invariant for <nl> + / / m_bHasCachedFrame ) . Otherwise , cachedFrame may be empty if the frame is being <nl> + / / copied in the rendering thread . In that case , we would want to leave cached frame <nl> + / / empty to avoid caching another frame . <nl> + <nl> cachedFrame . resize ( size ) ; <nl> m_bHasCachedFrame = true ; <nl> } <nl> void CRPRenderManager : : SetSpeed ( double speed ) <nl> <nl> void CRPRenderManager : : FrameMove ( ) <nl> { <nl> - UpdateResolution ( ) ; <nl> + CheckFlush ( ) ; <nl> <nl> bool bIsConfigured = false ; <nl> <nl> void CRPRenderManager : : FrameMove ( ) <nl> if ( m_state = = RENDER_STATE : : CONFIGURING ) <nl> { <nl> MESSAGING : : CApplicationMessenger : : GetInstance ( ) . PostMsg ( TMSG_SWITCHTOFULLSCREEN ) ; <nl> + <nl> m_state = RENDER_STATE : : CONFIGURED ; <nl> <nl> CLog : : Log ( LOGINFO , " RetroPlayer [ RENDER ] : Renderer configured on first frame " ) ; <nl> } <nl> + else if ( m_state = = RENDER_STATE : : RECONFIGURING ) <nl> + { <nl> + CLog : : Log ( LOGDEBUG , " RetroPlayer [ RENDER ] : Reconfiguring % u renderer ( s ) " , m_renderers . size ( ) ) ; <nl> + <nl> + / / Reconfigure any existing renderers <nl> + for ( auto & renderer : m_renderers ) <nl> + renderer - > Configure ( m_format , m_width , m_height ) ; <nl> + <nl> + m_state = RENDER_STATE : : CONFIGURED ; <nl> + } <nl> <nl> if ( m_state = = RENDER_STATE : : CONFIGURED ) <nl> bIsConfigured = true ; <nl> void CRPRenderManager : : FrameMove ( ) <nl> } <nl> } <nl> <nl> + void CRPRenderManager : : CheckFlush ( ) <nl> + { <nl> + if ( m_bFlush ) <nl> + { <nl> + { <nl> + CSingleLock lock ( m_bufferMutex ) ; <nl> + for ( auto renderBuffer : m_renderBuffers ) <nl> + renderBuffer - > Release ( ) ; <nl> + m_renderBuffers . clear ( ) ; <nl> + <nl> + m_cachedFrame . clear ( ) ; <nl> + <nl> + m_bHasCachedFrame = false ; <nl> + } <nl> + <nl> + for ( const auto & renderer : m_renderers ) <nl> + renderer - > Flush ( ) ; <nl> + <nl> + m_processInfo . GetBufferManager ( ) . FlushPools ( ) ; <nl> + <nl> + <nl> + m_bFlush = false ; <nl> + } <nl> + } <nl> + <nl> void CRPRenderManager : : Flush ( ) <nl> { <nl> - m_processInfo . GetBufferManager ( ) . FlushPools ( ) ; <nl> + m_bFlush = true ; <nl> } <nl> <nl> void CRPRenderManager : : TriggerUpdateResolution ( ) <nl> std : : shared_ptr < CRPBaseRenderer > CRPRenderManager : : GetRenderer ( IRenderBufferPool <nl> std : : shared_ptr < CRPBaseRenderer > renderer ; <nl> <nl> if ( ! bufferPool - > IsCompatible ( renderSettings . VideoSettings ( ) ) ) <nl> + { <nl> + CLog : : Log ( LOGERROR , " RetroPlayer [ RENDER ] : buffer pool is not compatible with renderer " ) ; <nl> return renderer ; <nl> + } <nl> <nl> / / Get compatible renderer for this buffer pool <nl> for ( const auto & it : m_renderers ) <nl> bool CRPRenderManager : : HasRenderBuffer ( IRenderBufferPool * bufferPool ) <nl> <nl> IRenderBuffer * CRPRenderManager : : GetRenderBuffer ( IRenderBufferPool * bufferPool ) <nl> { <nl> + if ( m_bFlush | | m_state ! = RENDER_STATE : : CONFIGURED ) <nl> + return nullptr ; <nl> + <nl> IRenderBuffer * renderBuffer = nullptr ; <nl> <nl> CSingleLock lock ( m_bufferMutex ) ; <nl> IRenderBuffer * CRPRenderManager : : GetRenderBuffer ( IRenderBufferPool * bufferPool ) <nl> <nl> void CRPRenderManager : : CreateRenderBuffer ( IRenderBufferPool * bufferPool ) <nl> { <nl> + if ( m_bFlush | | m_state ! = RENDER_STATE : : CONFIGURED ) <nl> + return ; <nl> + <nl> CSingleLock lock ( m_bufferMutex ) ; <nl> <nl> if ( ! HasRenderBuffer ( bufferPool ) & & m_bHasCachedFrame ) <nl> { <nl> - std : : vector < uint8_t > cachedFrame = std : : move ( m_cachedFrame ) ; <nl> - if ( ! cachedFrame . empty ( ) ) <nl> - { <nl> - CLog : : Log ( LOGERROR , " RetroPlayer [ RENDER ] : Creating render buffer for renderer " ) ; <nl> + IRenderBuffer * renderBuffer = CreateFromCache ( m_cachedFrame , bufferPool , m_bufferMutex ) ; <nl> + if ( renderBuffer ! = nullptr ) <nl> + m_renderBuffers . emplace_back ( renderBuffer ) ; <nl> + } <nl> + } <nl> <nl> - IRenderBuffer * renderBuffer = bufferPool - > GetBuffer ( cachedFrame . size ( ) ) ; <nl> - if ( renderBuffer ! = nullptr ) <nl> - { <nl> - { <nl> - CSingleExit exit ( m_bufferMutex ) ; <nl> - CopyFrame ( renderBuffer , m_format , cachedFrame . data ( ) , cachedFrame . size ( ) , m_width , m_height ) ; <nl> - } <nl> - m_renderBuffers . emplace_back ( renderBuffer ) ; <nl> - } <nl> - m_cachedFrame = std : : move ( cachedFrame ) ; <nl> - } <nl> - else <nl> + IRenderBuffer * CRPRenderManager : : CreateFromCache ( std : : vector < uint8_t > & cachedFrame , IRenderBufferPool * bufferPool , CCriticalSection & mutex ) <nl> + { <nl> + / / Take ownership of cached frame <nl> + std : : vector < uint8_t > ownedFrame = std : : move ( cachedFrame ) ; <nl> + <nl> + if ( ! ownedFrame . empty ( ) ) <nl> + { <nl> + CLog : : Log ( LOGERROR , " RetroPlayer [ RENDER ] : Creating render buffer for renderer " ) ; <nl> + <nl> + IRenderBuffer * renderBuffer = bufferPool - > GetBuffer ( ownedFrame . size ( ) ) ; <nl> + if ( renderBuffer ! = nullptr ) <nl> { <nl> - CLog : : Log ( LOGERROR , " RetroPlayer [ RENDER ] : Failed to create render buffer , no cached frame " ) ; <nl> + CSingleExit exit ( mutex ) ; <nl> + CopyFrame ( renderBuffer , m_format , ownedFrame . data ( ) , ownedFrame . size ( ) , m_width , m_height ) ; <nl> } <nl> + <nl> + / / Return ownership of cached frame <nl> + cachedFrame = std : : move ( ownedFrame ) ; <nl> + <nl> + return renderBuffer ; <nl> } <nl> + else <nl> + { <nl> + CLog : : Log ( LOGERROR , " RetroPlayer [ RENDER ] : Failed to create render buffer , no cached frame " ) ; <nl> + } <nl> + <nl> + return nullptr ; <nl> } <nl> <nl> void CRPRenderManager : : UpdateResolution ( ) <nl> mmm a / xbmc / cores / RetroPlayer / rendering / RPRenderManager . h <nl> ppp b / xbmc / cores / RetroPlayer / rendering / RPRenderManager . h <nl> namespace RETRO <nl> * <nl> * Special behavior is needed when the game is paused . As no new frames are <nl> * delivered , a newly created renderer will stay black . For this scenario , <nl> - * when we detect a pause event , the frame is premptively cached so that a <nl> + * when we detect a pause event , the frame is preemptively cached so that a <nl> * newly created renderer will have something to display . <nl> * / <nl> class CRPRenderManager : public IRenderManager , <nl> namespace RETRO <nl> * / <nl> void CreateRenderBuffer ( IRenderBufferPool * bufferPool ) ; <nl> <nl> + / * ! <nl> + * \ brief Create a render buffer and copy the cached data into it <nl> + * <nl> + * The cached frame is accessed by both the game and rendering threads , <nl> + * and therefore requires synchronization . <nl> + * <nl> + * However , assuming the memory copy is expensive , we must avoid holding <nl> + * the mutex during the copy . <nl> + * <nl> + * To allow for this , the function is permitted to invalidate its <nl> + * cachedFrame parameter , as long as it is restored upon exit . While the <nl> + * mutex is exited inside this function , cachedFrame is guaranteed to be <nl> + * empty . <nl> + * <nl> + * \ param cachedFrame The cached frame <nl> + * \ param bufferPool The buffer pool used to create the render buffer <nl> + * \ param mutex The locked mutex , to be unlocked during memory copy <nl> + * <nl> + * \ return The render buffer if one was created from the cached frame , <nl> + * otherwise nullptr <nl> + * / <nl> + IRenderBuffer * CreateFromCache ( std : : vector < uint8_t > & cachedFrame , IRenderBufferPool * bufferPool , CCriticalSection & mutex ) ; <nl> + <nl> void UpdateResolution ( ) ; <nl> <nl> / * ! <nl> namespace RETRO <nl> <nl> CRenderVideoSettings GetEffectiveSettings ( const IGUIRenderSettings * settings ) const ; <nl> <nl> + void CheckFlush ( ) ; <nl> + <nl> / / Construction parameters <nl> CRPProcessInfo & m_processInfo ; <nl> CRenderContext & m_renderContext ; <nl> <nl> + / / Subsystems <nl> + std : : shared_ptr < IGUIRenderSettings > m_renderSettings ; <nl> + std : : shared_ptr < CGUIRenderTargetFactory > m_renderControlFactory ; <nl> + <nl> / / Stream properties <nl> AVPixelFormat m_format = AV_PIX_FMT_NONE ; <nl> unsigned int m_maxWidth = 0 ; <nl> namespace RETRO <nl> unsigned int m_width = 0 ; / / ! @ todo Remove me when dimension changing is implemented <nl> unsigned int m_height = 0 ; / / ! @ todo Remove me when dimension changing is implemented <nl> <nl> - / / Render properties <nl> + / / Render resources <nl> + std : : set < std : : shared_ptr < CRPBaseRenderer > > m_renderers ; <nl> + std : : vector < IRenderBuffer * > m_renderBuffers ; <nl> + std : : map < AVPixelFormat , SwsContext * > m_scalers ; <nl> + std : : vector < uint8_t > m_cachedFrame ; <nl> + <nl> + / / State parameters <nl> enum class RENDER_STATE <nl> { <nl> UNCONFIGURED , <nl> CONFIGURING , <nl> + RECONFIGURING , <nl> CONFIGURED , <nl> } ; <nl> RENDER_STATE m_state = RENDER_STATE : : UNCONFIGURED ; <nl> - std : : atomic < double > m_speed ; <nl> - std : : shared_ptr < IGUIRenderSettings > m_renderSettings ; <nl> - std : : set < std : : shared_ptr < CRPBaseRenderer > > m_renderers ; <nl> - std : : shared_ptr < CGUIRenderTargetFactory > m_renderControlFactory ; <nl> - std : : vector < IRenderBuffer * > m_renderBuffers ; <nl> - std : : vector < uint8_t > m_cachedFrame ; <nl> - std : : map < AVPixelFormat , SwsContext * > m_scalers ; <nl> - bool m_bHasCachedFrame = false ; <nl> + bool m_bHasCachedFrame = false ; / / Invariant : m_cachedFrame is empty if false <nl> + std : : set < std : : string > m_failedShaderPresets ; <nl> bool m_bTriggerUpdateResolution = false ; <nl> + std : : atomic < bool > m_bFlush = { false } ; <nl> + <nl> + / / Playback parameters <nl> + std : : atomic < double > m_speed = { 1 . 0 } ; <nl> + <nl> + / / Synchronization parameters <nl> CCriticalSection m_stateMutex ; <nl> CCriticalSection m_bufferMutex ; <nl> } ; <nl> | Merge pull request from GTechAlpha / pr_rp_vid_res_chg | xbmc/xbmc | eb5f45b24c4d8c84cf928c38f8fec6537f158c52 | 2018-06-17T22:18:24Z |
mmm a / examples / server / ip_dispatch . php <nl> ppp b / examples / server / ip_dispatch . php <nl> <nl> / / ' daemonize ' = > true , <nl> / / ' log_file ' = > ' / tmp / swoole . log ' <nl> ) ) ; <nl> - $ serv - > on ( ' timer ' , function ( $ serv , $ interval ) { <nl> - echo " onTimer : $ interval \ n " ; <nl> - } ) ; <nl> - <nl> - $ serv - > on ( ' start ' , function ( $ serv ) { <nl> - / / $ serv - > addtimer ( 1000 ) ; <nl> - } ) ; <nl> <nl> $ serv - > on ( ' workerStart ' , function ( $ serv , $ worker_id ) { <nl> echo " { $ worker_id } start " . PHP_EOL ; <nl> $ serv - > workerid = $ worker_id ; <nl> - / / if ( $ worker_id = = 0 ) $ serv - > addtimer ( 1000 ) ; <nl> } ) ; <nl> <nl> $ serv - > on ( ' connect ' , function ( $ serv , $ fd , $ from_id ) { <nl> <nl> unset ( $ serv - > fdlist [ $ fd ] ) ; <nl> } ) ; <nl> <nl> - $ serv - > start ( ) ; <nl> \ No newline at end of file <nl> + $ serv - > start ( ) ; <nl> mmm a / include / Server . h <nl> ppp b / include / Server . h <nl> static sw_inline swWorker * swServer_get_worker ( swServer * serv , uint16_t worker_i <nl> <nl> return NULL ; <nl> } <nl> + <nl> static sw_inline int swServer_worker_schedule ( swServer * serv , int fd , swEventData * data ) <nl> { <nl> - uint16_t target_worker_id = 0 ; <nl> + uint32_t key ; <nl> <nl> / / polling mode <nl> if ( serv - > dispatch_mode = = SW_DISPATCH_ROUND ) <nl> { <nl> - target_worker_id = sw_atomic_fetch_add ( & serv - > worker_round_id , 1 ) % serv - > worker_num ; <nl> + key = sw_atomic_fetch_add ( & serv - > worker_round_id , 1 ) ; <nl> } <nl> / / Using the FD touch access to hash <nl> else if ( serv - > dispatch_mode = = SW_DISPATCH_FDMOD ) <nl> { <nl> - target_worker_id = fd % serv - > worker_num ; <nl> + key = fd ; <nl> } <nl> / / Using the IP touch access to hash <nl> else if ( serv - > dispatch_mode = = SW_DISPATCH_IPMOD ) <nl> static sw_inline int swServer_worker_schedule ( swServer * serv , int fd , swEventDat <nl> / / UDP <nl> if ( conn = = NULL ) <nl> { <nl> - target_worker_id = fd % serv - > worker_num ; <nl> + key = fd ; <nl> } <nl> / / IPv4 <nl> else if ( conn - > socket_type = = SW_SOCK_TCP ) <nl> { <nl> - target_worker_id = conn - > info . addr . inet_v4 . sin_addr . s_addr % serv - > worker_num ; <nl> + key = conn - > info . addr . inet_v4 . sin_addr . s_addr ; <nl> } <nl> / / IPv6 <nl> else <nl> { <nl> # ifdef HAVE_KQUEUE <nl> - uint32_t ipv6_last_int = * ( ( ( uint32_t * ) & conn - > info . addr . inet_v6 . sin6_addr ) + 3 ) ; <nl> - target_worker_id = ipv6_last_int % serv - > worker_num ; <nl> + key = * ( ( ( uint32_t * ) & conn - > info . addr . inet_v6 . sin6_addr ) + 3 ) ; <nl> # else <nl> - target_worker_id = conn - > info . addr . inet_v6 . sin6_addr . s6_addr32 [ 3 ] % serv - > worker_num ; <nl> + key = conn - > info . addr . inet_v6 . sin6_addr . s6_addr32 [ 3 ] ; <nl> # endif <nl> } <nl> } <nl> static sw_inline int swServer_worker_schedule ( swServer * serv , int fd , swEventDat <nl> swConnection * conn = swServer_connection_get ( serv , fd ) ; <nl> if ( conn = = NULL ) <nl> { <nl> - target_worker_id = fd % serv - > worker_num ; <nl> - } <nl> - else if ( conn - > uid ) <nl> - { <nl> - target_worker_id = conn - > uid % serv - > worker_num ; <nl> + key = fd ; <nl> } <nl> else <nl> { <nl> - target_worker_id = fd % serv - > worker_num ; <nl> + key = conn - > uid ; <nl> } <nl> } <nl> / / schedule by dispatch function <nl> static sw_inline int swServer_worker_schedule ( swServer * serv , int fd , swEventDat <nl> int i ; <nl> for ( i = 0 ; i < serv - > worker_num + 1 ; i + + ) <nl> { <nl> - target_worker_id = sw_atomic_fetch_add ( & serv - > worker_round_id , 1 ) % serv - > worker_num ; <nl> - if ( serv - > workers [ target_worker_id ] . status = = SW_WORKER_IDLE ) <nl> + key = sw_atomic_fetch_add ( & serv - > worker_round_id , 1 ) % serv - > worker_num ; <nl> + if ( serv - > workers [ key ] . status = = SW_WORKER_IDLE ) <nl> { <nl> break ; <nl> } <nl> } <nl> - / / swWarn ( " schedule = % d | round = % d \ n " , target_worker_id , * round ) ; <nl> + swTraceLog ( SW_TRACE_SERVER , " schedule = % d , round = % d \ n " , key , serv - > worker_round_id ) ; <nl> + return key ; <nl> } <nl> - return target_worker_id ; <nl> + return key % serv - > worker_num ; <nl> } <nl> <nl> void swServer_worker_onStart ( swServer * serv ) ; <nl> | update worker schedule function . | swoole/swoole-src | 2fc5889e48138683908c2084e5801ed71745b558 | 2017-04-21T03:50:47Z |
Subsets and Splits