<commit_before>// Title:  sleep
// Name:   sleep.c
// Author: Matayoshi
// Date:   2010/06/20
// Ver:    1.0.0

#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

int main(int argc, char* argv[]) {
	// `FbN
	if(argc < 2) {
		fprintf(stdout, "Usage: %s msec\n", argv[0]);
		exit(1);
	} else {
		char buf[16];
		int wait = 0;

		// 񂩂琔lɕϊ
		sscanf(argv[1], "%15c", buf);
		if(sscanf(buf, "%d", &wait) != 1) {
			fprintf(stdout, "Usage: %s msec\n", argv[0]);
			exit(1);
		}

		// Ŏw肳ꂽ msec  sleep(wait)
		Sleep(wait);
	}<commit_msg>Change character encoding.(Shift_JIS -> UTF-8)<commit_after>﻿// Title:  sleep
// Name:   sleep.c
// Author: Matayoshi
// Date:   2010/06/20
// Ver:    1.0.0

#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

int main(int argc, char* argv[]) {
	// 引数チェック
	if(argc < 2) {
		fprintf(stdout, "Usage: %s msec\n", argv[0]);
		exit(1);
	} else {
		char buf[16];
		int wait = 0;

		// 文字列から数値に変換
		sscanf(argv[1], "%15c", buf);
		if(sscanf(buf, "%d", &wait) != 1) {
			fprintf(stdout, "Usage: %s msec\n", argv[0]);
			exit(1);
		}

		// 引数で指定された msec だけ sleep(wait)
		Sleep(wait);
	}
{'fraction_non_alphanumeric': 0.21955555555555556, 'fraction_numerical': 0.041777777777777775, 'mean_word_length': 2.9097222222222223, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5652021', 'n_tokens_mistral': 588, 'n_tokens_neox': 528, 'n_words': 114}