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
print('hello world') |
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
diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py | |
index e830454..0d6d817 100755 | |
--- a/tools/gn/bootstrap/bootstrap.py | |
+++ b/tools/gn/bootstrap/bootstrap.py | |
@@ -31,8 +31,9 @@ SRC_ROOT = os.path.dirname(os.path.dirname(GN_ROOT)) | |
is_win = sys.platform.startswith('win') | |
is_linux = sys.platform.startswith('linux') | |
+is_solaris = sys.platform.startswith('sunos') | |
is_mac = sys.platform.startswith('darwin') |
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
# make install clean | |
===> License BSD3CLAUSE accepted by the user | |
===> v8-3.18.5_1 depends on file: /usr/local/sbin/pkg - found | |
=> v8-3.18.5.tar.xz doesn't seem to exist in /usr/ports/distfiles/. | |
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/vanilla/v8-3.18.5.tar.xz | |
v8-3.18.5.tar.xz 100% of 8522 kB 719 kBps 00m11s | |
===> Fetching all distfiles required by v8-3.18.5_1 for building | |
===> Extracting for v8-3.18.5_1 | |
=> SHA256 Checksum OK for v8-3.18.5.tar.xz. | |
===> Patching for v8-3.18.5_1 |
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
# Update to build 112 | |
# First command, pkg update -nv | |
# 2nd command, pkg update --accept | |
# pkg update -nv | |
Password: | |
Packages to remove: 30 | |
Packages to install: 43 | |
Packages to update: 857 | |
Estimated space available: 152.72 GB |
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
// linked with http://blog.fftsys.com/tech/AssertNotSmi-test-x64 | |
static void TestAssertNotSmi(MacroAssembler* masm, Label* exit, int id, int value) { | |
__ movl(rax, Immediate(id)); | |
// __ Move(rcx, (Smi *) value); // be aware of this! | |
__ movl(rcx, Immediate(value)); | |
__ AssertNotSmi(rcx); | |
__ j(equal, exit); | |
} | |
TEST(AssertNotSmi) { |
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
make -C /lib/modules/2.6.32-220.el6.i686/build SUBDIRS=/root/LinuxDriver modules | |
make[1]: Entering directory `/usr/src/kernels/2.6.32-220.el6.i686' | |
CC [M] /root/LinuxDriver/sundance_main.o | |
/root/LinuxDriver/sundance_main.c: In function ‘sundance_probe1’: | |
/root/LinuxDriver/sundance_main.c:712: error: implicit declaration of function ‘SET_MODULE_OWNER’ | |
/root/LinuxDriver/sundance_main.c:735: error: ‘struct net_device’ has no member named ‘priv’ | |
/root/LinuxDriver/sundance_main.c:762: error: ‘struct net_device’ has no member named ‘open’ | |
/root/LinuxDriver/sundance_main.c:763: error: ‘struct net_device’ has no member named ‘hard_start_xmit’ | |
/root/LinuxDriver/sundance_main.c:764: error: ‘struct net_device’ has no member named ‘stop’ | |
/root/LinuxDriver/sundance_main.c:765: error: ‘struct net_device’ has no member named ‘get_stats’ |
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
case kSparcCvtSXu: { | |
Label done; | |
Label success; | |
Label simple; | |
if (instr->OutputCount() > 1) { | |
__ or3(G0, G0, i.OutputRegister(1)); | |
} | |
// NaN | |
__ fcmps(i.InputSingleRegister(0), i.InputSingleRegister(0)); | |
__ fb(f_unordered, true, &done); |
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
foo8() | |
foo8: 9d e3 bf 50 save %sp, -0xb0, %sp | |
foo8+0x4: f0 77 a8 7f stx %i0, [%fp + 0x87f] | |
foo8+0x8: f2 77 a8 87 stx %i1, [%fp + 0x887] | |
foo8+0xc: f4 77 a8 8f stx %i2, [%fp + 0x88f] | |
foo8+0x10: f6 77 a8 97 stx %i3, [%fp + 0x897] | |
foo8+0x14: f8 77 a8 9f stx %i4, [%fp + 0x89f] | |
foo8+0x18: fa 77 a8 a7 stx %i5, [%fp + 0x8a7] | |
foo8+0x1c: c4 5f a8 7f ldx [%fp + 0x87f] |
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
# apt-get update | |
Ign:1 http://ftp.us.debian.org/debian stretch InRelease | |
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease | |
Get:3 http://ftp.us.debian.org/debian stretch-updates InRelease [88.5 kB] | |
Get:4 http://ftp.us.debian.org/debian stretch Release [118 kB] | |
Get:5 http://ftp.us.debian.org/debian stretch Release.gpg [2,373 B] | |
Get:6 http://ftp.us.debian.org/debian stretch/main Sources [6,749 kB] | |
Get:7 http://ftp.us.debian.org/debian stretch/main amd64 Packages [7,095 kB] | |
Get:8 http://ftp.us.debian.org/debian stretch/main Translation-en [5,393 kB] | |
Fetched 19.4 MB in 11s (1,744 kB/s) |
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
# apt-get install vim | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following additional packages will be installed: | |
vim-runtime | |
Suggested packages: | |
ctags vim-doc vim-scripts | |
The following NEW packages will be installed: | |
vim vim-runtime |
OlderNewer