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
trait Action { | |
fn invoke(&self); | |
fn revoke(&self); | |
} | |
struct RemoveAction { | |
dummy: int | |
} | |
impl RemoveAction { |
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
import java.util.*; | |
import java.lang.*; | |
class Log { | |
public static void put(String fmt, Object... args) { | |
String data = String.format(fmt, args); | |
System.out.println(data); | |
} | |
} |
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
(2:658)$ gdb -q --args cargo build | |
Reading symbols from cargo...done. | |
(gdb) r | |
Starting program: /home/antek/bin/cargo/cargo-nightly-i686-unknown-linux-gnu/bin/cargo build | |
warning: Could not load shared library symbols for linux-gate.so.1. | |
Do you need "set solib-search-path" or "set sysroot"? | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/usr/lib/libthread_db.so.1". | |
[New Thread 0xb73ffb40 (LWP 23218)] | |
[New Thread 0xb71feb40 (LWP 23219)] |
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
test |
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
#include "mainwindow.h" | |
#include "ui_mainwindow.h" | |
#include <stdint.h> | |
#include <vector> | |
MainWindow::MainWindow(QWidget *parent) : | |
QMainWindow(parent), | |
ui(new Ui::MainWindow) | |
{ | |
ui->setupUi(this); |
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
#include <cstdio> | |
#include <cstdarg> | |
using namespace std; | |
typedef struct { | |
int a; | |
int b; | |
int c; | |
} themespec_t; |
NewerOlder