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
float test() { | |
unsigned long a = 0xfffffffffffffffful; | |
unsigned __int128 b = ((unsigned __int128)a << 64) | a; | |
return (float)b; | |
} |
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
; Compile with llc -mtriple=<target> -filetype=asm test.ll | |
; Replace target with aarch64-linux-gnu, arm-linux-gnu, i386-linux-gnu, x86_64-linux-gnu, etc | |
; You can also try varying the operation or integer size | |
define i192 @test(i192 %a, i192 %b) nounwind { | |
%1 = udiv i192 %a, %b | |
ret i192 %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
$ RUST_BACKTRACE=1 cargo clippy [17:35:55] | |
Compiling intrusive v0.1.0 (file:///home/amanieu/code/intrusive) | |
src/linked_list.rs:209:1: 214:2 error: internal compiler error: cannot relate bound region: '_#0r <= ReEarlyBound(TypeSpace, 0, 'a) | |
src/linked_list.rs:209 impl<'a, A: Adaptor<Link> + 'a> Clone for Cursor<'a, A> { | |
src/linked_list.rs:210 #[inline] | |
src/linked_list.rs:211 fn clone(&self) -> Cursor<'a, A> { | |
src/linked_list.rs:212 *self | |
src/linked_list.rs:213 } | |
src/linked_list.rs:214 } | |
note: the compiler unexpectedly panicked. this is a bug. |
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/daemon/src/engine/server/sv_init.cpp b/daemon/src/engine/server/sv_init.cpp | |
index e2c4643..047a1fc 100644 | |
--- a/daemon/src/engine/server/sv_init.cpp | |
+++ b/daemon/src/engine/server/sv_init.cpp | |
@@ -459,6 +459,11 @@ void SV_SpawnServer( const char *server ) | |
// clear the whole hunk because we're (re)loading the server | |
Hunk_Clear(); | |
+ FS::PakPath::ClearPaks(); | |
+ FS_LoadBasePak(); |
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
./nacl_loader: file format elf64-x86-64 | |
Program Header: | |
PHDR off 0x0000000000000040 vaddr 0x0000000000000040 paddr 0x0000000000000040 align 2**3 | |
filesz 0x0000000000000230 memsz 0x0000000000000230 flags r-- | |
INTERP off 0x0000000000000270 vaddr 0x0000000000000270 paddr 0x0000000000000270 align 2**0 | |
filesz 0x000000000000001c memsz 0x000000000000001c flags r-- | |
LOAD off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**12 | |
filesz 0x000000000015bf30 memsz 0x000000000015bf30 flags r-x |
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
#include "common/Common.h" | |
namespace CvarX { | |
// CvarSystem stuff | |
struct SystemCvar; | |
class CvarWatcher; | |
void SetValue(Str::StringRef name, Str::StringRef value); | |
void SetValueForce(Str::StringRef name, Str::StringRef value); | |
std::string GetValue(Str::StringRef name); |
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 Cvar { | |
// Cvars can have different flags that trigger specific behavior. | |
enum { | |
NONE = 0, | |
ARCHIVE = BIT(0), // The cvar is saved to the configuration file | |
USERINFO = BIT(1), // The cvar is sent to the server as part of the client state | |
SERVERINFO = BIT(2), // The cvar is sent to the client when doing server status request and in a config string (mostly for mapname) | |
SYSTEMINFO = BIT(3), // The cvar is sent to the client when changed, to synchronize some global game options (for example pmove config) | |
ROM = BIT(6), // The cvar cannot be changed by the user |
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
/* | |
=========================================================================== | |
Daemon GPL Source Code | |
Copyright (C) 2013 Unvanquished Developers | |
This file is part of the Daemon GPL Source Code (Daemon Source Code). | |
Daemon Source Code is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by |
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/src/common/math/Vector.h b/src/common/math/Vector.h | |
index c5fbb7f..f6423ef 100644 | |
--- a/src/common/math/Vector.h | |
+++ b/src/common/math/Vector.h | |
@@ -76,7 +76,9 @@ namespace Math { | |
// Swizzle operations | |
template<size_t x> Type Swizzle() const; | |
- template<size_t x, size_t y, size_t... indices> Vector<sizeof...(indices) + 2, Type> Swizzle() const; | |
+ template<size_t x, size_t y> Vector<2, Type> Swizzle() const; |
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
unsigned char CPU2006_080_log[] = { | |
0x72, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x20, 0x76, 0x36, 0x36, 0x37, | |
0x34, 0x20, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x20, 0x61, 0x74, | |
0x20, 0x54, 0x75, 0x65, 0x20, 0x41, 0x70, 0x72, 0x20, 0x20, 0x37, 0x20, | |
0x30, 0x38, 0x3a, 0x33, 0x30, 0x3a, 0x31, 0x31, 0x20, 0x32, 0x30, 0x31, | |
0x35, 0x20, 0x6f, 0x6e, 0x20, 0x22, 0x61, 0x72, 0x6d, 0x36, 0x34, 0x22, | |
0x0a, 0x72, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x20, 0x69, 0x73, 0x3a, | |
0x20, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x2f, 0x61, 0x6d, 0x61, 0x6e, 0x69, | |
0x65, 0x75, 0x2f, 0x63, 0x70, 0x75, 0x32, 0x30, 0x30, 0x36, 0x2f, 0x62, | |
0x69, 0x6e, 0x2f, 0x72, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x0a, 0x72, |