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
pub struct Foo; | |
fn main() { | |
recheck(); | |
let f = Foo; | |
let x = f.quux::<{ | |
impl Foo { | |
pub fn quux<const N: usize>(&self) -> usize { | |
N |
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 <signal.h> | |
#include <stdio.h> | |
#include <malloc.h> | |
#include <setjmp.h> | |
#include <stdbool.h> | |
static jmp_buf omg; | |
struct list { | |
char dummy[16384]; |
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
server { | |
listen 80; | |
listen [::]:80; | |
server_name www.riking.org; # change this lol | |
return 301 https://$server_name$request_uri; | |
} | |
server { | |
listen 443 ssl spdy; | |
listen [::]:443 ssl spdy; |
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 main | |
var namesMap = map[string]string{"Hello": "World","foo":"bar"} | |
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
// u8 xer_so_ov; // format: (SO << 1) | OV | |
diff --git a/Source/Core/Core/PowerPC/PowerPC.h b/Source/Core/Core/PowerPC/PowerPC.h | |
index 69eb0da..071582d 100644 | |
--- a/Source/Core/Core/PowerPC/PowerPC.h | |
+++ b/Source/Core/Core/PowerPC/PowerPC.h | |
@@ -306,6 +306,20 @@ inline int GetXER_SO() | |
inline void SetXER_SO(int value) | |
{ |
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
public void generateSurface(World world, Random rand, int chunkX, int chunkZ) | |
{ | |
for(int a= 0; a < 32; a++) | |
{ | |
int randPosX = chunkX + rand.nextInt(16); | |
int randPosY = rand.nextInt(64); | |
int randPosZ = chunkZ + rand.nextInt(16); | |
(new WorldGenMinable(mod_Ores.Emerald.blockID, 8)).generate(world, rand, randPosX, randPosY, randPosZ); | |
} |