This file contains hidden or 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
| class rw_spin_lock | |
| { | |
| public: | |
| rw_spin_lock() | |
| { | |
| _readers = 0; | |
| } | |
| public: | |
| void acquire_reader() |
This file contains hidden or 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
| # THIS DOCKERFILE TRIES TO COMPILE CURL/OPENSSL FOR ANDROID | |
| # | |
| # 5 july 2015 | |
| # | |
| # More detals could be found here: | |
| # http://vitiy.info/dockerfile-example-to-compile-libcurl-for-android-inside-docker-container/ | |
| FROM ubuntu | |
| MAINTAINER Victor Laskin "victor.laskin@gmail.com" |
This file contains hidden or 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
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |