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 <iostream> | |
#include <string> | |
#include <functional> | |
#include <tuple> | |
#include <utility> | |
#include <regex> | |
#include <vector> | |
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 <iostream> | |
#include <string> | |
#include <functional> | |
#include <tuple> | |
#include <utility> | |
#include <regex> | |
#include <vector> | |
using namespace std; |
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
// generator.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <experimental\generator> | |
#include <string> | |
#include <numeric> | |
#include <vector> | |
#include <cstdint> | |
#include <sstream> |
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 <QtWidgets> | |
#include <limits> | |
#include <cstdint> | |
#include <algorithm> | |
#include "DasmView.h" | |
static inline qint64 map_value(qint64 input, qint64 is, qint64 ie, qint64 os, qint64 oe) | |
{ | |
double slope = 1.0 * (oe - os) / (ie - is); |
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
__kernel void teste2(__global __read_only uchar * srcptr, int src_step, int src_offset, | |
__global uchar * dstptr, int dst_step, int dst_offset, int rows, int cols, | |
float focal) | |
{ | |
int du = get_global_id(0); | |
int dv = get_global_id(1); | |
if (du < cols && dv < rows) { | |
du = du - (0.5 * cols) + 1; | |
dv = dv - (0.5 * rows) + 1; |
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 <map> | |
#include <regex> | |
#include <iostream> | |
#include <fstream> | |
using namespace std; | |
int main(int argc, char *argv[]) | |
{ | |
std::ifstream input(argv[1]); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Teste</title> | |
</head> | |
<body> | |
<form method="post"> | |
Nome:<input type="text" name="nome"> | |
Idade:<input type="number" name="idade"> |
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 <boost/asio/spawn.hpp> | |
#include <boost/http/buffered_socket.hpp> | |
#include <boost/http/algorithm/query.hpp> | |
#include <boost/http/file_server.hpp> | |
#include <spdlog/spdlog.h> | |
namespace http_server | |
{ | |
namespace asio = boost::asio; |
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 <boost/asio/spawn.hpp> | |
#include <boost/http/buffered_socket.hpp> | |
#include <boost/http/algorithm/query.hpp> | |
#include <boost/http/file_server.hpp> | |
#include <spdlog/spdlog.h> | |
namespace http_server | |
{ | |
namespace asio = boost::asio; |
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
// ============================================================================ | |
// Simulador de gramáticas LL(1) | |
// Marcos Medeiros, 2015 | |
// ============================================================================ | |
#include <iostream> | |
#include <vector> | |
#include <map> | |
#include <list> | |
#include <string> | |
#include <set> |