package main
import (
"fmt"
)
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<?php | |
$connectTimeout = 0.003; | |
$timeout = 0.005; | |
$ip = ''; | |
$port = 0; | |
$key = 'foo'; | |
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); | |
socket_set_option($socket, SOL_SOCKET, SO_SNDTIMEO, array("sec"=>0, "usec"=> $connectTimeout * 1000000)); |
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
#ifndef _NGX_RBTREE_H_INCLUDED_ | |
#define _NGX_RBTREE_H_INCLUDED_ | |
#include <stdint.h> | |
typedef struct swRbtree_node_s swRbtree_node; | |
struct swRbtree_node_s | |
{ | |
uint32_t key; |