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
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/ip.h> | |
#include <arpa/inet.h> |
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
* | |
!.gitignore | |
!alternative.yaml | |
!*.custom.yaml | |
!kaomoji.*.yaml |
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
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/ip.h> | |
#include <arpa/inet.h> |
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
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/ip.h> | |
#include <arpa/inet.h> |
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
diff --git a/unix/zerrors_solaris_amd64.go b/unix/zerrors_solaris_amd64.go | |
index 46e054c..c5cfa8d 100644 | |
--- a/unix/zerrors_solaris_amd64.go | |
+++ b/unix/zerrors_solaris_amd64.go | |
@@ -1,7 +1,7 @@ | |
// mkerrors.sh -m64 | |
// Code generated by the command above; see README.md. DO NOT EDIT. | |
-// +build amd64,solaris | |
+// +build amd64,illumos |
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
/* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE */ | |
/* Version 2, December 2004 */ | |
/* Copyright (C) 2012 Chapaev <[email protected]> */ | |
/* Everyone is permitted to copy and distribute verbatim or modifiedcopies of this license document, and changing it is allowed as longas the name is changed. */ | |
/* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION */ | |
/* 0. You just DO WHAT THE F**K YOU WANT TO. */ | |
#include "heap.h" | |
#include "heap_ifce.h" |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Redis; | |
my @files = (<*.c>,<*.h>,<*.cc>,<*.hh>,<*.cpp>,<*.hpp>); | |
my $redis = Redis->new; |
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
#include "mempool.h" | |
#include <stdlib.h> | |
void | |
mempool_new(struct hmd_mempool *pool) | |
{ | |
struct hmd_mempool_chunk *chunk; | |
chunk = malloc(sizeof(struct hmd_mempool_chunk)); | |
chunk->prev = NULL; |
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
-module(http_parser). | |
-export([run/1,continue/2]). | |
-define(PATH_RESERVED_CHARS,"!*'();:@&=+$,/?%#[]"). | |
is_ctl(C) -> | |
(((0 =< C) and (8 >= C)) | |
or ((11 =< C) and (31 >= C)) | |
or (C == 127)). |
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
-module(chatroom). | |
-export([run/1,worker/2,client_listener/2]). | |
client_listener(Client,Sock) -> | |
case gen_tcp:recv(Sock,0) of | |
{ok,Pack} -> | |
Client ! {sendmsg,Pack}, | |
client_listener(Client,Sock); | |
Other -> | |
Other |
NewerOlder