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 a = { | |
| hidden: { | |
| hidden: "seven" | |
| } | |
| } | |
| Object.defineProperty(a, "_proto", { | |
| get: function () { return this.hidden; }, | |
| set: function (val) { this.hidden = val; } | |
| }); |
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
| // in Mode | |
| var highlighter = new MarkdownHighlightRules(); | |
| this.$tokenizer = new Tokenizer(highlighter.getRules()); | |
| this.$embeds = highlighter.getEmbeds(); | |
| this.createModeDelegates({ | |
| "js-": JavaScriptMode | |
| }); |
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
| pypy ./pypy/pypy/translator/goal/translate.py --opt=jit --gcrootfinder=shadowstack example5.py | |
| [translation:info] Translating target as defined by example5 | |
| [platform:msg] Setting platform to 'host' cc=None | |
| [platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/gcctest.c -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/gcctest.o | |
| [platform:execute] gcc-4.0 /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/gcctest.o -arch x86_64 -mmacosx-version-min=10.4 -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/gcctest | |
| [platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/platcheck_0.c -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-default-0/platcheck_0.o | |
| [platform:execute] gcc-4.0 /var/folders/ |
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
| cs560:Downloads chris$ pypy ./pypy/pypy/translator/goal/translate.py --opt=jit --gcrootfinder=shadowstack example5.py | |
| [translation:info] Translating target as defined by example5 | |
| [version:WARNING] Errors getting Mercurial information: Not running from a Mercurial repository! | |
| [platform:msg] Setting platform to 'host' cc=None | |
| [platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/gcctest.c -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/gcctest.o | |
| [platform:execute] gcc-4.0 /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/gcctest.o -arch x86_64 -mmacosx-version-min=10.4 -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/gcctest | |
| [platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-5/platcheck_0.c -o /var |
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
| cs560:Downloads chris$ pypy ./pypy/pypy/translator/goal/translate.py --opt=jit example5.py | |
| [translation:info] Translating target as defined by example5 | |
| [version:WARNING] Errors getting Mercurial information: Not running from a Mercurial repository! | |
| [platform:msg] Setting platform to 'host' cc=None | |
| [platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/gcctest.c -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/gcctest.o | |
| [platform:execute] gcc-4.0 /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/gcctest.o -arch x86_64 -mmacosx-version-min=10.4 -o /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/gcctest | |
| [platform:execute] gcc-4.0 -c -arch x86_64 -O3 -fomit-frame-pointer -mmacosx-version-min=10.4 -mdynamic-no-pic /var/folders/C0/C0N0SHjwEOKxr+PGnBbawE+++TI/-Tmp-/usession-unknown-4/platcheck_0.c -o /var/folders/C0/C0N0SHjwEOKxr+P |
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 Channel = (function () { | |
| function Channel(name) { | |
| this.init(name); | |
| } | |
| Channel.prototype = new Object(); | |
| // Initialise | |
| Channel.prototype.init = function (name) { | |
| this.name = name; |
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
| everyone.now.joinChat = function () { | |
| this.now.inChat = true; | |
| var userlist = []; | |
| everyone.now.iterate(function (user) { | |
| if (user.now.inChat) { | |
| userlist.push(userId(user)); | |
| } | |
| }); | |
| this.now.receiveUsers(userlist); | |
| everyone.now.broadcastJoin(this); |
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
| (defprotocol TestProtocol | |
| (test-method [this])) | |
| (deftype MutableLocking | |
| ; Compiles ok | |
| [^{:volatile-mutable true} mut-var] | |
| TestProtocol | |
| (test-method [this] | |
| (locking this | |
| (set! mut-var {:set true}) |
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
| (defn register-classed-indices [classes] | |
| (transaction-handler | |
| (afterCommit [_ data state] nil) | |
| (beforeCommit [_ data] | |
| (let [remnodes (into {} (map (fn [^Node node] [(.getId node) {}]) (.deletedNodes data))) | |
| rnodes (reduce (fn [props ^PropertyEntry removal] (update-in props [(.getId ^Node (.entity removal))] assoc (.key removal) (.previouslyCommitedValue removal))) remnodes (filter #(contains? remnodes (.getId ^Node (.entity ^PropertyEntry %))) (.removedNodeProperties data)))] | |
| (doseq [^PropertyEntry removal (.removedNodeProperties data)] | |
| (let [entity ^Node (.entity removal) | |
| key (.key removal) | |
| entity-id (.getId entity) |
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
| (use 'clojure.test) | |
| (testing "Initialising" | |
| (start "var/test") | |
| (are [x y] (= x y) | |
| (.getClass *neo*) EmbeddedGraphDatabase | |
| (.getClass *lucene* LuceneFullTextIndexService))) | |
| (testing "Homogeneous Nodes" |