JNI Object | Use across JNI calls? | Use on different thread? | Notes |
---|---|---|---|
JavaVM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Dumps capture group locations and names/numbers | |
Example: | |
> regexinfo 'Jenny: 555-867-5309' '(?<name>\w+):\s+(?<phone>(?:(?<area>\d{3})-)?(\d{3}-\d{4}))' | |
[Jenny]: [[555]-[867-5309]] | |
| || | | |
| || 1 | |
| |area | |
| phone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Test | |
open System.Runtime.InteropServices | |
// F# implementation of http://pinvoke.net/default.aspx/mpr.WNetAddConnection2 | |
module NativeMethods = | |
type ResourceScope = | |
| Connected = 0x1u | |
| GlobalNet = 0x2u |
OlderNewer