setActiveItem(1); }, hideDonateForm: function () { this.getDonatePanel().getLayout().setActiveItem(0); }, submitDonateForm: function () { var form = this.getDonatePanel().down('form'); form.isValid(); } }); The init() method is invoked only once on instantiation of the ...
you are creating a closure, and when the event gets invoked it will fetch x from its outer scope, maintained by the closure, but it already executed, and since it ran immediately in the loop, this time x is equal to the i at the time the function was ran (to creat...
Microsoft IR utilizes Azure Data Explorer (ADX) and Kusto Query Language (KQL) to query all these log sources at scale to understand the story of the compromise. However, there is no requirement to use a specific platform for your investigation, if you have Micr...
Like in C, using the static modifier at local scope indicates that the variable contains data that is to persist between invocations of the declaring function.The extern modifier can be used on a global variable to indicate that it can be modified from outside of the shader via the API. ...
Internally, the “pipeline” function initializes a “bounded” channel (to keep the code simple we set the buffer to 10, but we can expand the function to set this value as needed). This channel is used to write into it asynchronously the output of the projection function. Then, this ...
The CbtHookInvoked method translates the code argument from an integer type to a member of the more specific CbtHookAction enum type. I built the enum by looking at the range of possible values defined in Win32 for the code argument of the WH_CBT hook filter function. ...
Top-level await is not supported outside of modules, so you might have to make an async IIFE (Immediately Invoked Function Expression) to start an async context if not using a module. You can read more about async and await on MDN. Here is an example that elaborates the delay function ...
This is a stand-alone console application that will be invoked as a system chron process. Data access All of the applications, classes, and services in our system need data. They need access to be able to read from the database, insert new data, and delete or update the existing data....
The comm1 experience is targeted to all employees at the organization and provides information targeted to everyone.Since the CM workers belong to more than one experience, the Contoso 123 experience should be ordered to come before the experience set to the Everyone audience. By ordering the ...
and these are passed through when the linker is invoked. However, sometimes you want to invoke the linker directly. If you want to do this, you need to determine why you did this on UNIX, whether it is still necessary when building on Windows and, if so, whether you need to modify th...