Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1812)

Unified Diff: experimental/visual_studio_plugin/src/loop/loop.cc

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/visual_studio_plugin/src/loop/loop.cc
diff --git a/experimental/visual_studio_plugin/src/loop/loop.cc b/experimental/visual_studio_plugin/src/loop/loop.cc
deleted file mode 100644
index 1b79b461202753fc31278559cfbf76c1f894b076..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/loop/loop.cc
+++ /dev/null
@@ -1,53 +0,0 @@
-#include <stdio.h>
-#include <time.h>
-#include <string>
-#include <sys/time.h>
-#include <sys/nacl_syscalls.h>
-int g_GlobalData = 0;
-void print_line(int count) {
- printf("Running");
- int i = 0;
- for (i = 0; i < count % 5; ++i) {
- printf(".");
- }
- for (; i < 5; ++i) {
- printf(" ");
- }
- printf("\r");
- fflush(stdout);
-}
-
-void print_loop() {
- int count = 0;
- timespec t = {1,0};
-
- while (1) {
- print_line(count);
- ++count;
- nanosleep(&t,0);
- }
-}
-
-void foo() {
- print_loop();
-}
-
-// We define |print_char_type| so that unit tests can validate
-// getting the value of a 1-byte character using functions such as
-// SymbolValueToString.
-void print_char_type() {
- char c = 'I';
- printf("c=%c\n", c);
- fflush(stdout);
-}
-
-int main(int argc, const char *argv[]){
- int x = 0;
- int y = 9;
- std::string test_string;
- printf("Hello World\n\n x: %d y: %d", x, y);
- g_GlobalData++;
- foo();
- print_char_type();
- return 0;
-}
« no previous file with comments | « experimental/visual_studio_plugin/src/elf_reader/elf_structs.h ('k') | experimental/visual_studio_plugin/src/loop/loop.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698