Message Handling with Boolean Algebra
locators are conventionally specified with 3 items: word index (in 32-bit words) most significant bit (inclusive!) least significant bit 9IPv4 Header Word Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 the same field spec can be located differently in different messages. 13Field locator options (1) Word Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 - 23 24 - 31 0 0 Version IHL DSCP ECN Total Total Length 1 32 Identification Flags Fragment Offset One convention is to locate fields by word index, msb and lsb. But another is to just use "raw" bit offsets. 1: using flags = 2: field<"flags"0 码力 | 103 页 | 4.37 MB | 5 月前3Hidden Overhead of a Function API
src.value; return *this; } ~INT() {} }; 46Libraries that wrap integers ● Smart pointers similarly wrap raw pointers ● std::chrono ● All other units libraries ● Safe integers ● (either fully or partially), the behavior is as if the argument had been stored to memory at a word-aligned (4-byte) address and then loaded into consecutive registers using a suitable load-multiple0 码力 | 158 页 | 2.46 MB | 5 月前3Conan 2.0 Documentation
customizable by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command default launcher with the env argument of self.run(): ... def build(self): # This will automatically wrap the "foo" command with the correct environment: # source my_env_file.sh && foo # my_env_file.bat && project options definition for MYVAR in conan_meson_native.ini or conan_meson_cross.ini file. The wrap_mode: nofallback is defined by default as a project option, to make sure that dependencies are found0 码力 | 652 页 | 4.00 MB | 1 年前3Conan 2.1 Documentation
customizable by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command default launcher with the env argument of self.run(): ... def build(self): # This will automatically wrap the "foo" command with the correct environment: # source my_env_file.sh && foo # my_env_file.bat && project options definition for MYVAR in conan_meson_native.ini or conan_meson_cross.ini file. The wrap_mode: nofallback is defined by default as a project option, to make sure that dependencies are found0 码力 | 694 页 | 4.13 MB | 1 年前3Conan 1.56 Documentation
is the “password” used to authenticate the Conan client to Artifactory, NOT your Artifatory pass- word. To get your API key, go to “Set Me Up” and enter your account password. Your API key will appear install Conan has multiple methods and attributes which relate to dependencies (all the ones with the word “require” in the name). The command conan install activates all them. Input folders Output folders Warning: SystemPackageTool will disappear in Conan 2.0, there’s already a new implementation of these wrap- pers in conan.tools.system.package_manager that will be the default in Conan 2.0. def SystemPac0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.54 Documentation
is the “password” used to authenticate the Conan client to Artifactory, NOT your Artifatory pass- word. To get your API key, go to “Set Me Up” and enter your account password. Your API key will appear install Conan has multiple methods and attributes which relate to dependencies (all the ones with the word “require” in the name). The command conan install activates all them. Input folders Output folders Warning: SystemPackageTool will disappear in Conan 2.0, there’s already a new implementation of these wrap- pers in conan.tools.system.package_manager that will be the default in Conan 2.0. def SystemPac0 码力 | 953 页 | 7.65 MB | 1 年前3Conan 1.55 Documentation
is the “password” used to authenticate the Conan client to Artifactory, NOT your Artifatory pass- word. To get your API key, go to “Set Me Up” and enter your account password. Your API key will appear install Conan has multiple methods and attributes which relate to dependencies (all the ones with the word “require” in the name). The command conan install activates all them. Input folders Output folders Warning: SystemPackageTool will disappear in Conan 2.0, there’s already a new implementation of these wrap- pers in conan.tools.system.package_manager that will be the default in Conan 2.0. def SystemPac0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 2.3 Documentation
customizable by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command default launcher with the env argument of self.run(): ... def build(self): # This will automatically wrap the "foo" command with the correct environment: # source my_env_file.sh && foo # my_env_file.bat && project options definition for MYVAR in conan_meson_native.ini or conan_meson_cross.ini file. The wrap_mode: nofallback is defined by default as a project option, to make sure that dependencies are found0 码力 | 748 页 | 4.65 MB | 1 年前3Conan 2.5 Documentation
customizable by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command default launcher with the env argument of self.run(): ... def build(self): # This will automatically wrap the "foo" command with the correct environment: # source my_env_file.sh && foo # my_env_file.bat && project options definition for MYVAR in conan_meson_native.ini or conan_meson_cross.ini file. The wrap_mode: nofallback is defined by default as a project option, to make sure that dependencies are found0 码力 | 769 页 | 4.70 MB | 1 年前3Conan 2.2 Documentation
customizable by the user. 2.13.2 Command wrapper A new cmd_wrapper.py extension provides a way to wrap any conanfile.py command (i.e., anything that runs inside self.run() in a recipe), in a new command default launcher with the env argument of self.run(): ... def build(self): # This will automatically wrap the "foo" command with the correct environment: # source my_env_file.sh && foo # my_env_file.bat && project options definition for MYVAR in conan_meson_native.ini or conan_meson_cross.ini file. The wrap_mode: nofallback is defined by default as a project option, to make sure that dependencies are found0 码力 | 718 页 | 4.46 MB | 1 年前3
共 140 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14