You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Help us understand the problem. What is going on with this article? これは、C/C++ 言語のプログラマがこれだけ読めば Lua スクリプトを問題なく書けるようになることを目的にしたドキュメントです。 Lua から C 言語の呼び出し、 C 言語から Lua の呼び出しについては次を参照してください。 C/C++ 言語プログラマのための Lua 入門リファレンス ( C インタフェース編 ) http://qiita.com/dwarfJP/items/ae116b404be0b09255ff C/C++ 言語プログラマのための Lua 入門リファレンス ( ポインタ編 ) http://qiita.com/dwarfJP/items/0c92cedb819b578ac06c このドキュメントは Lua 5.2, 5.3
When using ETL we might come across points like data duplication at the time of crash and restart. In this process we might loose data/may not load records to the system. ETL has flaws when trying to process a heavy set of data using ETL’s engine and database engine (might worse) the performance of the process. Loading - one good aspect to think of ETL’s are they are multi processors which can loa
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
wfstack.c ���CLV #define _GNU_SOURCE 1 #include <sched.h> // sched_setaffinity #include <stdint.h> #include <stdio.h> #include <limits.h> #include <stdlib.h> #include <stdint.h> #include <pthread.h> #include <assert.h> #include <sys/time.h> #include <urcu-qsbr.h> #define mb() asm volatile("" : : : "memory") #define mf() asm volatile("mfence" : : : "memory") //#define usleep(n) #define CACHELINE 64
2.1 プログラムリスト 昔,流行ったインベーダーゲーム(もどき)のプログラムをリスト1に示 す.遊び方は,言うまでもないであろう.このプログラムでは,マウスとキーボードイベ ントを使っている. このプログラムは最適化を全く行っていないので,動作は遅い.もし,諸君が中間試験以 降,作成するプログラムの参考にするならば,最適化を図った方が良いだろう. 1 #include <stdio.h> 2 #include <GL/glut.h> 3 #include <math.h> 4 #include <stdlib.h> 5 #include <time.h> 6 7 #define H_WIN 400 // ウィンドウの幅 8 #define W_WIN 300 // ウィンドウの高さ 9 10 #define W2_HODAI 10 // 砲台の横幅の半分 11 #define H_HOD
'fmt ' チャンク構造体 #define FormatID 'fmt ' /* chunkID for Format Chunk. NOTE: There is a space at the end of this ID. */ typedef struct { ID chunkID; long chunkSize; short wFormatTag; unsigned short wChannels; unsigned long dwSamplesPerSec; unsigned long dwAvgBytesPerSec; unsigned short wBlockAlign; unsigned short wBitsPerSample; /* Note: there may be additional fields here, depending upon wFormatTa
local lapis = require "lapis" local app = lapis.Application() app:match("/", function(self) return "Hello world!" end) return app lapis = require "lapis" class extends lapis.Application "/": => "Hello world!" How does it work? With OpenResty, Lua is run directly inside of the Nginx worker using LuaJIT, giving you the smallest barrier between the webserver and your code. Have a look at Web Framewor
#include <stdio.h> #define NINZU 6 /* 学生数 */ int main(void) { int i; int goukei = 0; /* 合計点 */ double heikin; /* 平均点 */ int ten[NINZU] = { 86, 67, 46, 96, 54, 72 }; /* 点数 */ for (i = 0; i < NINZU; i++) { goukei += ten[i]; } heikin = (double) goukei / NINZU; printf("学生数 = %d\n", NINZU); printf("合計 = %d\n", goukei); printf("平均 = %f\n", heikin); return 0; } 【#define のメリット】 単に定数の「6」を用いるよりも、「NINZU」とマクロ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く