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
def main_method(arg1, arg2): | |
d = long_method_1(arg1) | |
d2 = long_method_2(arg2) | |
d_list = defer.gatherResults([d, d2]) | |
d_list.addCallback(compose_results); | |
return d_list | |
def long_method_1(arg): | |
deferred = getPage('blah') | |
return deferred1 |
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
/src | |
/libs | |
/myproject | |
main.go | |
authentication.go | |
/api | |
x.go | |
y.go | |
x.go | |
/otherproject |
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
1.0 + 23.0 - 45.0 - 67.0 + 89.0 | |
1.0 - 23.0 + 45.0 + 67.0 - 89.0 | |
-1.0 * 2.0 + 34.0 + 56.0 - 78.0 - 9.0 | |
1.0 + 23.0 + 4.0 - 5.0 + 67.0 - 89.0 | |
-1.0 + 23.0 - 4.0 + 5.0 + 67.0 - 89.0 | |
1.0 - 23.0 - 4.0 + 5.0 - 67.0 + 89.0 | |
1.0 * 23.0 + 4.0 + 56.0 + 7.0 - 89.0 | |
1.0 + 23.0 + 45.0 - 67.0 + 8.0 - 9.0 | |
-1.0 + 23.0 + 45.0 - 67.0 - 8.0 + 9.0 | |
1.0 - 23.0 - 45.0 + 67.0 - 8.0 + 9.0 |
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
package zmq4 | |
import ( | |
"errors" | |
"fmt" | |
"runtime" | |
"sync" | |
"sync/atomic" | |
) |