View 01-test.pl
1 2 3 4 5 6 7 8 9 10
#! perl.exe
use strict;
use warnings;
#use open qw{:std :encoding(UTF-8)}; # これは落ちる
use open qw{:encoding(UTF-8)}; # これは落ちなくなった
 
my $i = 1;
 
my $pid = fork;
die "Cannot fork: $!" unless defined $pid;
View gist:628b688663bb33d9fd6e
1 2 3 4 5 6 7 8 9 10
diff --git a/cop.h b/cop.h
index ce0cd54..91ab282 100644
--- a/cop.h
+++ b/cop.h
@@ -1111,6 +1111,8 @@ typedef struct stackinfo PERL_SI;
#define PUSHSTACKi(type) \
STMT_START { \
+ if (!PL_curstackinfo) \
+ Perl_init_stacks(aTHX); \
View gist:72b4db631191c52b5d42
1 2 3 4 5 6 7 8 9 10
diff --git a/cop.h b/cop.h
index ce0cd54..f953991 100644
--- a/cop.h
+++ b/cop.h
@@ -1111,7 +1111,8 @@ typedef struct stackinfo PERL_SI;
#define PUSHSTACKi(type) \
STMT_START { \
- PERL_SI *next = PL_curstackinfo->si_next; \
+ PERL_SI *next = PL_curstackinfo ? \
View strr.asm
1 2 3 4 5 6 7 8 9 10
"".foo t=1 size=224 value=0 args=0x10 locals=0x24
0x0000 00000 (strr.go:7) TEXT "".foo(SB), $36-16
0x0000 00000 (strr.go:7) MOVL TLS, CX
0x0007 00007 (strr.go:7) MOVL (CX)(TLS*2), CX
0x000d 00013 (strr.go:7) CMPL SP, 8(CX)
0x0010 00016 (strr.go:7) JHI 25
0x0012 00018 (strr.go:7) CALL runtime.morestack_noctxt(SB)
0x0017 00023 (strr.go:7) JMP 0
0x0019 00025 (strr.go:7) SUBL $36, SP
0x001c 00028 (strr.go:7) FUNCDATA $0, gclocals·3b541b66231ffea97692b3ca9c5e0ac4(SB)
View foo.cxx
1 2 3 4 5 6 7 8 9 10
#include <iostream>
#include <string>
#include <algorithm>
#include <ujson.hpp>
 
struct book_t {
std::string title;
std::vector<std::string> authors;
int year;
};
View gist:2df4638ba0f82914f35b
1 2 3 4 5 6 7 8 9 10
diff --git a/app.rb b/app.rb
index fcb7113..7c08ac0 100644
--- a/app.rb
+++ b/app.rb
@@ -104,45 +104,47 @@ class Bot < Sinatra::Base
end
def handle_message message
- response =
- case message['text']
View deadlock.go
1 2 3 4 5 6 7 8 9 10
package main
 
import (
"fmt"
"sync"
)
 
var m sync.Mutex
 
func main() {
View gist:2808478511c6e075be14
1
E0407 15:12:04.704056 3948 a_bit_of_everything.pb.gw.go:324] RPC error: rpc error: code = 12 desc = "unknown service gengo.grpc.gateway.examples.ABitOfEverythingService"
View gist:3c7bdd9dcfa717d67c9f
1 2 3 4 5 6
#!/bin/sh
 
while [ $# -ge 1 ] && [ "$1" == "git" ]; do
shift
done
exec /usr/bin/git $*
View gist:c2dacb314f6f9ea0275f
1 2 3 4 5 6 7 8 9 10
diff --git a/v3.1/glfw/glfw/src/x11_window.c b/v3.1/glfw/glfw/src/x11_window.c
index 0380b58..560f730 100644
--- a/v3.1/glfw/glfw/src/x11_window.c
+++ b/v3.1/glfw/glfw/src/x11_window.c
@@ -912,12 +912,6 @@ static void processEvent(XEvent *event)
Status status;
wchar_t buffer[16];
- if (XFilterEvent(event, None))
- {
Something went wrong with that request. Please try again.