- 成员变量
QNetworkAccessManager *networkManager
- 信号槽
void serviceRequestFinished(QNetworkReply*)
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"regexp" | |
) | |
func main() { | |
fmt.Println("Hello, playground") | |
str := []byte("[](https://jenkins.com/job/aka/{{BRANCH_NAME}}/buildStatus)"); |
This file contains hidden or 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
// gcc -o drm-gbm drm-gbm.c -ldrm -lgbm -lEGL -lGL -I/usr/include/libdrm | |
// general documentation: man drm | |
#include <xf86drm.h> | |
#include <xf86drmMode.h> | |
#include <gbm.h> | |
#include <EGL/egl.h> | |
#include <GLES2/gl2.h> | |
#include <stdlib.h> |
This file contains hidden or 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
#ifndef EXT_MATH2D_HPP | |
#define EXT_MATH2D_HPP | |
#include <cmath> | |
#include <iostream> | |
namespace ext | |
{ | |
template <typename T> |
This file contains hidden or 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.hpp> | |
#include <boost/system/error_code.hpp> | |
#include <iostream> | |
#include <memory> | |
#include <string> | |
// Import function and types or define alias. | |
using boost::asio::buffer; | |
using boost::asio::null_buffers; | |
using ErrorCode = boost::system::error_code; |
This file contains hidden or 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 <msgpack.hpp> | |
#include <sstream> | |
#include <vector> | |
struct PointF { | |
float x, y; | |
PointF(float x_ = 0.0f, float y_ = 0.0f) : x(x_), y(y_) {} |
This file contains hidden or 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
uniform sampler2D texY; // Y | |
uniform sampler2D texU; // U | |
uniform sampler2D texV; // V | |
varying vec2 vary_tex_cord; | |
vec3 yuv2rgb(in vec3 yuv) | |
{ | |
// YUV offset | |
// const vec3 offset = vec3(-0.0625, -0.5, -0.5); |