repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/http_server.c | null | null | null | null | null | null | C | 2026-05-04T19:17:27.332107 | #pragma comment (lib, "libuv.lib")
#pragma comment (lib, "ws2_32.lib")
#pragma comment(lib, "psapi.lib")
#pragma comment(lib, "Iphlpapi.lib")
#ifdef PLATFORM_POSIX
#include <signal.h>
#endif // PLATFORM_POSIX
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <haywire.h>
#incl... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/http_response_cache.c | null | null | null | null | null | null | C | 2026-05-04T19:17:27.338182 | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <haywire.h>
#include "uv.h"
#include "haywire.h"
#include "hw_string.h"
#include "khash.h"
#include "http_response_cache.h"
#include "http_server.h"
#define CRLF "\r\n"
KHASH_MAP_INIT_STR(string_hashmap, hw_string*)
static uv_timer_... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/http_response.h | null | null | null | null | null | null | C | 2026-05-04T19:17:27.339279 | #pragma once
#include "haywire.h"
#include "http_connection.h"
typedef struct
{
hw_string name;
hw_string value;
} http_header;
#define MAX_HEADERS 64
typedef struct
{
http_connection* connection;
http_request* request;
unsigned short http_major;
unsigned short http_minor;
hw_string status... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/http_response_cache.h | null | null | null | null | null | null | C | 2026-05-04T19:17:27.414797 | #pragma once
#include "uv.h"
#include "haywire.h"
void initialize_http_request_cache();
hw_string* get_cached_request(const char* http_status);
void http_request_cache_configure_listener(uv_loop_t* loop, uv_async_t* handle);
|
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/http_server.h | null | null | null | null | null | null | C | 2026-05-04T19:17:27.416316 | #pragma once
#include "uv.h"
#include "haywire.h"
#include "http_connection.h"
#include "http_parser.h"
#include "http_response.h"
typedef struct
{
http_request_callback callback;
void* user_data;
} hw_route_entry;
union stream_handle
{
uv_pipe_t pipe;
uv_tcp_t tcp;
};
extern void* routes;
extern uv_... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/hw_string.c | null | null | null | null | null | null | C | 2026-05-04T19:17:27.544662 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "haywire.h"
hw_string* create_string(const char* value)
{
int length = strlen(value);
hw_string* str = malloc(sizeof(hw_string));
str->value = malloc(length);
memcpy(str->value, value, length);
str->length = length;
return str;... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/hw_string.h | null | null | null | null | null | null | C | 2026-05-04T19:17:27.769563 | #pragma once
hw_string* create_string(const char* value);
int hw_strcmp(hw_string* a, hw_string* b);
hw_string* hw_strdup(hw_string* tocopy);
void append_string(hw_string* destination, hw_string* source);
char* dupstr(const char *s);
void string_from_int(hw_string* str, int val, int base);
int hw_strcmp(hw_string* a, ... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/khash.h | null | null | null | null | null | null | C | 2026-05-04T19:17:28.176918 | /* The MIT License
Copyright (c) 2008, 2009, 2011 by Attractive Chaos <attractor@live.co.uk>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitati... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/picohttpparser.c | null | null | null | null | null | null | C | 2026-05-04T19:17:28.193208 | /*
* Copyright (c) 2009-2014 Kazuho Oku, Tokuhiro Matsuno, Daisuke Murase,
* Shigeo Mitsunari
*
* The software is licensed under either the MIT License (below) or the Perl
* license.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and a... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/route_compare_method.c | null | null | null | null | null | null | C | 2026-05-04T19:17:28.221150 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <haywire.h>
#include "hw_string.h"
#include "route_compare_method.h"
typedef struct hw_route_token_st {
hw_string string;
int start;
} hw_route_token;
void hw_route_next_token(hw_string* url, int start, hw_route_token* result) {
while (st... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/server_stats.c | null | null | null | null | null | null | C | 2026-05-04T19:17:28.477688 | #include <stdio.h>
#include "server_stats.h"
#include "haywire.h"
int stat_connections_created_total;
int stat_connections_destroyed_total;
int stat_requests_created_total;
int stat_requests_destroyed_total;
#define CRLF "\r\n"
static const char stats_response[] =
"HTTP/1.1 200 OK" CRLF
"Server: Haywire/master" ... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/server_stats.h | null | null | null | null | null | null | C | 2026-05-04T19:17:28.935543 | #pragma once
#include "haywire.h"
#ifdef DEBUG
#define INCREMENT_STAT(stat) stat++
#else
#define INCREMENT_STAT(stat)
#endif /* DEBUG */
extern int stat_connections_created_total;
extern int stat_connections_destroyed_total;
extern int stat_requests_created_total;
extern int stat_requests_destroyed_total;
void get_... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/picohttpparser.h | null | null | null | null | null | null | C | 2026-05-04T19:17:29.053503 | /*
* Copyright (c) 2009-2014 Kazuho Oku, Tokuhiro Matsuno, Daisuke Murase,
* Shigeo Mitsunari
*
* The software is licensed under either the MIT License (below) or the Perl
* license.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and a... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/samples/hello_world/opt.c | null | null | null | null | null | null | C | 2026-05-04T19:17:29.292146 | #include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "opt.h"
static void opt_flag_add(struct opt_config *conf, struct opt_flag *flag);
static void opt_flag_free(struct opt_flag *flag);
static void opt_flag_print_usage(struct opt_flag *flag);
struct opt_config *
opt_config_init()
{
struct opt_con... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/samples/hello_world/parse.c | null | null | null | null | null | null | C | 2026-05-04T19:17:29.298162 | #include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "opt.h"
static void expect_next_arg(struct opt_config *conf, int argc, char **argv,
int cur, char *flag_name, char *msg);
struct opt_args *
opt_config_parse(struct opt_config *conf, int argc, char **ar... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/samples/hello_world/opt.h | null | null | null | null | null | null | C | 2026-05-04T19:17:29.298630 | #ifndef __LIBOPT_OPT_H__
#define __LIBOPT_OPT_H__
#include <stdbool.h>
#include <stdint.h>
/* The design of this package is greatly inspired by Go's standard library
* package 'flag'. It doesn't support complex argument parsing, but it's simple
* to use. */
struct opt_config {
/* Array of all flags specified b... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/samples/techempower_benchmark/program.c | null | null | null | null | null | null | C | 2026-05-04T19:17:29.395893 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "haywire.h"
#define CRLF "\r\n"
void response_complete(void* user_data)
{
}
void get_plaintext(http_request* request, hw_http_response* response, void* user_data)
{
hw_string status_code;
hw_string content_type_name;
hw_string content_ty... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/connection_dispatcher.h | null | null | null | null | null | null | C | 2026-05-04T19:17:30.881872 | #pragma once
#include <stdbool.h>
#include "uv.h"
#include "connection_consumer.h"
struct ipc_peer_ctx
{
handle_storage_t peer_handle;
uv_write_t write_req;
};
void start_connection_dispatching(uv_handle_type type, unsigned int num_servers, struct server_ctx* servers, char* listen_address, int listen_port, bo... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/configuration/ini.c | null | null | null | null | null | null | C | 2026-05-04T19:17:31.313884 | /* inih -- simple .INI file parser
inih is released under the New BSD license (see LICENSE.txt). Go to the project
home page for more info:
http://code.google.com/p/inih/
https://github.com/armon/hlld/tree/master/deps/inih
*/
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include "ini.h"
#defi... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/haywire/http_parser.c | null | null | null | null | null | null | C | 2026-05-04T19:17:31.578306 | /* Based on src/http/ngx_http_parse.c from NGINX copyright Igor Sysoev
*
* Additional changes are licensed under the same terms as NGINX and
* copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softwar... |
haywire/haywire | https://github.com/haywire/haywire | null | null | null | null | 1,123 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/samples/hello_world/program.c | null | null | null | null | null | null | C | 2026-05-04T19:17:34.261829 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <haywire.h>
#include "opt.h"
#include "haywire.h"
#define CRLF "\r\n"
void response_complete(void* user_data)
{
}
void get_ping(http_request* request, hw_http_response* response, void* user_data)
{
hw_string status_code;
hw_string content_ty... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/BinderCDemo/binder.h | null | null | null | null | null | null | C | 2026-05-04T19:17:37.093036 | /* Copyright 2008 The Android Open Source Project
*/
#ifndef _BINDER_H_
#define _BINDER_H_
#include <linux/android/binder.h>
#include <sys/ioctl.h>
struct binder_state;
struct binder_io
{
char *data; /* pointer to read/write from */
binder_size_t *offs; /* array of offsets */
size_t data_a... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/AIDLCppDemo/com/yuandaima/BpHello.h | null | null | null | null | null | null | C | 2026-05-04T19:17:37.096730 | #ifndef AIDL_GENERATED_COM_YUANDAIMA_BP_HELLO_H_
#define AIDL_GENERATED_COM_YUANDAIMA_BP_HELLO_H_
#include <binder/IBinder.h>
#include <binder/IInterface.h>
#include <utils/Errors.h>
#include <com/yuandaima/IHello.h>
namespace com {
namespace yuandaima {
class BpHello : public ::android::BpInterface<IHello> {
publi... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/BinderCDemo/binder.c | null | null | null | null | null | null | C | 2026-05-04T19:17:37.099113 | /* Copyright 2008 The Android Open Source Project
*/
#define LOG_TAG "MyBinder"
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
#include <log/log.h>
#include "binder.h"
#define MAX_BIO_SIZE (1 << 30)
#d... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/BinderCDemo/binder_client.c | null | null | null | null | null | null | C | 2026-05-04T19:17:37.102071 | #include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <linux/types.h>
#include <stdbool.h>
#include <string.h>
#include "binder.h"
#define HELLO_SVR_CMD_SAYHELLO 1
#define HELLO_SVR_CMD_SAYHELLO_TO 2
int g_handle = 0;
struct binder_state *g_bs;
void sayhello(void)
{
unsigned iodata[512/4];
... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/AIDLCppDemo/com/yuandaima/IHello.h | null | null | null | null | null | null | C | 2026-05-04T19:17:37.105256 | #ifndef AIDL_GENERATED_COM_YUANDAIMA_I_HELLO_H_
#define AIDL_GENERATED_COM_YUANDAIMA_I_HELLO_H_
#include <binder/IBinder.h>
#include <binder/IInterface.h>
#include <binder/Status.h>
#include <cstdint>
#include <utils/StrongPointer.h>
namespace com {
namespace yuandaima {
class IHello : public ::android::IInterface ... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 1.基础篇/JNI 编程上手指南/src/StaticRegister/HelloJNI.c | null | null | null | null | null | null | C | 2026-05-04T19:17:37.286043 | #include "HelloJNI.h"
#include <stdio.h>
#include <jni.h>
JNIEXPORT jstring JNICALL Java_HelloJNI_sayHello(JNIEnv *env, jobject obj)
{
return (*env)->NewStringUTF(env,"Hello from JNI !");
} |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 1.基础篇/JNI 编程上手指南/src/DynamicRegister/NativeTest.c | null | null | null | null | null | null | C | 2026-05-04T19:17:37.403318 | #include <jni.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
//1 实现 java 层本地方法
JNIEXPORT void JNICALL
c_init1(JNIEnv *env, jobject thiz) {
printf("c_init1\n");
}
JNIEXPORT void JNICALL
c_init2(JNIEnv *env, jobject thiz, jint age) {
printf("c_init2\n");
}
JNIEXPORT jboolean JNICALL
c_init3(JNI... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/BinderCppDemo/IHelloService.h | null | null | null | null | null | null | C | 2026-05-04T19:17:38.024271 | #ifndef IHELLOSERVICE_H
#define IHELLOSERVICE_H
#include <utils/Errors.h> // for status_t
#include <utils/KeyedVector.h>
#include <utils/RefBase.h>
#include <utils/String8.h>
#include <binder/IInterface.h>
#include <binder/Parcel.h>
#define HELLO_SVR_CMD_SAYHELLO 1
#define HELLO_SVR_CMD_SAYHELLO_TO 2
namespace... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 4.Hal与硬件服务/src/HelloDriver/hello_drv.c | null | null | null | null | null | null | C | 2026-05-04T19:17:38.026707 | #include <linux/module.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/mutex.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <linux/device.h>
#include <li... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/hello_drv/hello_drv.c | null | null | null | null | null | null | C | 2026-05-04T19:17:38.027331 | #include <linux/module.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/mutex.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <linux/device.h>
#include <li... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 4.Hal与硬件服务/src/HelloDriver/hello_drv_test.c | null | null | null | null | null | null | C | 2026-05-04T19:17:38.027969 | #include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
/*
* ./hello_drv_test -w abc
* ./hello_drv_test -r
*/
int main(int argc, char **argv)
{
int fd;
char buf[1024];
int len;
/* 1. 判断参数 */
if (argc < 2)
{
printf("Usage: %s -w <string>\n"... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 4.Hal与硬件服务/src/HelloHidl_Passthrough/jelly/hardware/interfaces/hello_hidl/1.0/default/Hello.h | null | null | null | null | null | null | C | 2026-05-04T19:17:38.228607 | // FIXME: your file license if you have one
#pragma once
#include <jelly/hardware/hello_hidl/1.0/IHello.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
namespace jelly {
namespace hardware {
namespace hello_hidl {
namespace V1_0 {
namespace implementation {
using ::android::hardware::hidl_array;
using ::... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/BinderCDemo/binder_server.c | null | null | null | null | null | null | C | 2026-05-04T19:17:38.244983 | #include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <linux/types.h>
#include<stdbool.h>
#include <string.h>
#include "binder.h"
#define LOG_TAG "BinderServer"
#include <log/log.h>
#define HELLO_SVR_CMD_SAYHELLO 1
#define HELLO_SVR_CMD_SAYHELLO_TO 2
void sayhello(void)
{
static int cnt = 0;
//... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 4.Hal与硬件服务/src/HelloHidl_Bindered/jelly/hardware/interfaces/hello_hidl/1.0/default/Hello.h | null | null | null | null | null | null | C | 2026-05-04T19:17:38.252417 | // FIXME: your file license if you have one
#pragma once
#include <jelly/hardware/hello_hidl/1.0/IHello.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
namespace jelly {
namespace hardware {
namespace hello_hidl {
namespace V1_0 {
namespace implementation {
using ::android::hardware::hidl_array;
using ::... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/hello_drv_test/hello_drv_test.c | null | null | null | null | null | null | C | 2026-05-04T19:17:38.290244 | #include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
/*
* ./hello_drv_test -w abc
* ./hello_drv_test -r
*/
int main(int argc, char **argv)
{
int fd;
char buf[1024];
int len;
/* 1. 判断参数 */
if (argc < 2)
{
printf("Usage: %s -w <string>\n"... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 4.Hal与硬件服务/src/HelloModule/hello_module.c | null | null | null | null | null | null | C | 2026-05-04T19:17:38.711787 | #include <linux/module.h>
#include <linux/init.h>
static int __init hello_init(void)
{
printk("Hello World!\n");
return 0;
}
static void __exit hello_exit(void)
{
printk("hello exit\n");
}
module_init(hello_init);
module_exit(hello_exit); |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/AIDLCppDemo/com/yuandaima/BnHello.h | null | null | null | null | null | null | C | 2026-05-04T19:17:39.735937 | #ifndef AIDL_GENERATED_COM_YUANDAIMA_BN_HELLO_H_
#define AIDL_GENERATED_COM_YUANDAIMA_BN_HELLO_H_
#include <binder/IInterface.h>
#include <com/yuandaima/IHello.h>
namespace com {
namespace yuandaima {
class BnHello : public ::android::BnInterface<IHello> {
public:
::android::status_t onTransact(uint32_t _aidl_cod... |
yuandaimaahao/AndroidFrameworkTutorial | https://github.com/yuandaimaahao/AndroidFrameworkTutorial | null | null | null | null | 1,111 | null | null | apache-2.0 | null | null | null | null | null | null | null | 3.学穿Binder篇/源码/datastructuretest/data_structure_test.c | null | null | null | null | null | null | C | 2026-05-04T19:17:47.979874 | #include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/slab.h>
//定义链表节点
struct list_node_student {
char *name;
int age;
int score;
struct list_head list;
};
//定义红黑树节点类型
struct my_tree_node {
int data;
struct rb_node node;
};
//内核中没有提供现成的插入,查找函数,需要使用者自己实现
in... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/YangGpuEncoderFactory.h | null | null | null | null | null | null | C | 2026-05-04T19:17:50.866529 | //
// Copyright (c) 2019-2022 yanggaofeng
//
#ifndef YANGGPUENCODERFACTORY_H
#define YANGGPUENCODERFACTORY_H
#include <yangencoder/YangVideoEncoder.h>
#include <yangutil/yangavinfotype.h>
class YangGpuEncoderFactory
{
public:
YangGpuEncoderFactory();
~YangGpuEncoderFactory();
YangVideoEncod... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/NvCodec/NvEncoder/NvEncoderD3D11.h | null | null | null | null | null | null | C | 2026-05-04T19:17:50.901153 | /*
* Copyright 2017-2018 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and related... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/YangEncoderGpu.h | null | null | null | null | null | null | C | 2026-05-04T19:17:50.905203 | //
// Copyright (c) 2019-2022 yanggaofeng
//
#ifndef SRC_YANGENCODER_YANGENCODERGPU_H_
#define SRC_YANGENCODER_YANGENCODERGPU_H_
#include <yangencoder/YangVideoEncoder.h>
#include <yangutil/buffer/YangVideoBuffer.h>
#include <yangutil/buffer/YangVideoEncoderBuffer.h>
#include <yangutil/sys/YangIni.h>
#include... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/bits/linux_defs.h | null | null | null | null | null | null | C | 2026-05-04T19:17:50.907596 | // Copyright (c) 2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publ... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/NvCodec/encoder_info.h | null | null | null | null | null | null | C | 2026-05-04T19:17:50.908907 | #ifndef _ENCODER_INFO_H
#define _ENCODER_INFO_H
#include <yangutil/yangavinfo.h>
#include <cstdint>
#include <string>
#include <vector>
#include <dxgi.h>
#include <d3d11.h>
struct nvenc_config
{
uint32_t width;
uint32_t height;
uint32_t framerate;
uint32_t bitrate;
uint32_t gop;
std::string code... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/QsvEncoder.h | null | null | null | null | null | null | C | 2026-05-04T19:17:50.913566 | #ifndef QSV_ENCODER_H
#define QSV_ENCODER_H
#include "mfxvideo++.h"
#include <cstdint>
#include <string>
#include <vector>
#include <memory>
struct QsvParams
{
std::string codec;
uint32_t width;
uint32_t height;
uint32_t bitrate_kbps;
uint32_t framerate;
uint32_t gop;
};
class QsvEncoder
{... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/bits/windows_defs.h | null | null | null | null | null | null | C | 2026-05-04T19:17:50.953840 | // Copyright (c) 2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publ... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/common_directx9.h | null | null | null | null | null | null | C | 2026-05-04T19:17:51.636098 | // Copyright (c) 2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publ... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/common_utils.h | null | null | null | null | null | null | C | 2026-05-04T19:17:51.636785 | // Copyright (c) 2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, pub... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxastructures.h | null | null | null | null | null | null | C | 2026-05-04T19:17:51.638639 | /*******************************************************************************
Copyright (C) 2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code m... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxcamera.h | null | null | null | null | null | null | C | 2026-05-04T19:17:51.782254 | /******************************************************************************* *\
Copyright (C) 2014-2018 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxbrc.h | null | null | null | null | null | null | C | 2026-05-04T19:17:51.783285 | /******************************************************************************* *\
Copyright (C) 2016-2018 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxaudio++.h | null | null | null | null | null | null | C | 2026-05-04T19:17:51.794962 | /*******************************************************************************
Copyright (C) 2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code m... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/NvCodec/NvEncoder/NvEncoder.h | null | null | null | null | null | null | C | 2026-05-04T19:17:52.220308 | /*
* Copyright 2017-2018 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and related... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxenc.h | null | null | null | null | null | null | C | 2026-05-04T19:17:52.577130 | /******************************************************************************* *\
Copyright (C) 2014-2018 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxaudio.h | null | null | null | null | null | null | C | 2026-05-04T19:17:52.582479 | /*******************************************************************************
Copyright (C) 2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code m... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxcommon.h | null | null | null | null | null | null | C | 2026-05-04T19:17:52.645391 | /*******************************************************************************
Copyright (C) 2013-2019 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source c... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxjpeg.h | null | null | null | null | null | null | C | 2026-05-04T19:17:52.718472 | /******************************************************************************* *\
Copyright (C) 2010-2018 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxla.h | null | null | null | null | null | null | C | 2026-05-04T19:17:52.756771 | /******************************************************************************* *\
Copyright (C) 2014 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source cod... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxmvc.h | null | null | null | null | null | null | C | 2026-05-04T19:17:52.762898 | /******************************************************************************* *\
Copyright (C) 2010-2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxpak.h | null | null | null | null | null | null | C | 2026-05-04T19:17:52.880760 | /******************************************************************************* *\
Copyright (C) 2014-2017 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxplugin.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.181614 | /******************************************************************************* *\
Copyright (C) 2007-2018 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxdefs.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.278297 | /* ****************************************************************************** *\
Copyright (C) 2007-2019 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sour... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxsession.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.294260 | /*******************************************************************************
Copyright (C) 2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code m... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxstructures.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.341838 | /******************************************************************************* *\
Copyright (C) 2007-2019 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxvideo.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.388214 | /* ****************************************************************************** *\
Copyright (C) 2007-2017 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sour... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxvideo++.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.389395 | /* ****************************************************************************** *\
Copyright (C) 2007-2018 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sour... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxvp8.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.495849 | /******************************************************************************* *\
Copyright (C) 2007-2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxvp9.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.769621 | /******************************************************************************* *\
Copyright (C) 2007-2018 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sourc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_critical_section.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.890595 | // Copyright (c) 2012-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxvstructures.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.923381 | /*******************************************************************************
Copyright (C) 2013 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code m... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_dispatcher.h | null | null | null | null | null | null | C | 2026-05-04T19:17:53.985831 | // Copyright (c) 2012-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_dispatcher_defs.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.003496 | // Copyright (c) 2013-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_dispatcher_log.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.007239 | // Copyright (c) 2012-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/include/mfxplugin++.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.041857 | /* ****************************************************************************** *\
Copyright (C) 2007-2016 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of sour... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_dxva2_device.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.103275 | // Copyright (c) 2012-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_exposed_functions_list.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.439537 | // Copyright (c) 2012-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_library_iterator.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.517680 | // Copyright (c) 2012-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_load_plugin.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.574545 | // Copyright (c) 2013-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_load_dll.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.575895 | // Copyright (c) 2012-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_plugin_hive.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.637004 | // Copyright (c) 2013-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_vector.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.651490 | // Copyright (c) 2013-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfx_win_reg_key.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.743776 | // Copyright (c) 2012-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/src/mfxaudio_exposed_functions_list.h | null | null | null | null | null | null | C | 2026-05-04T19:17:54.744252 | // Copyright (c) 2013-2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/YangH264EncoderGpu.h | null | null | null | null | null | null | C | 2026-05-04T19:17:55.060479 | //
// Copyright (c) 2019-2022 yanggaofeng
//
#include "NvCodec/nvenc.h"
#include "QsvCodec/QsvEncoder.h"
#include <yangutil/yangavinfotype.h>
#include <string>
class YangH264EncoderGpu
{
public:
YangH264EncoderGpu& operator=(const YangH264EncoderGpu&) = delete;
YangH264EncoderGpu(const YangH264Enc... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | demo/metaplayer8/mainwindow.h | null | null | null | null | null | null | C | 2026-05-04T19:17:55.168094 | //
// Copyright (c) 2019-2023 yanggaofeng
//
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QVBoxLayout>
#include <QMainWindow>
#include <string>
#include "video/yangrecordthread.h"
#include "yangplayer/YangPlayerHandle.h"
#include "yangstream/YangStreamType.h"
#include "yangplayer/YangPlayWidget.h"
#include "ya... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | demo/metaplayer8/video/yangrecordthread.h | null | null | null | null | null | null | C | 2026-05-04T19:17:55.179995 | //
// Copyright (c) 2019-2026 yanggaofeng
//
#ifndef YANGTHREAD1_H
#define YANGTHREAD1_H
#include <QThread>
#include <QVector>
#include <yangutil/buffer/YangVideoBuffer.h>
#include <yangplayer/YangYuvPlayWidget.h>
#include <yangplayer/YangPlayWidget.h>
#include <yangstream/YangSynBuffer.h>
class YangRecordThread : p... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | demo/metaplayer8/yangplayer/YangPlayWidget.h | null | null | null | null | null | null | C | 2026-05-04T19:17:55.210604 | //
// Copyright (c) 2019-2026 yanggaofeng
//
#ifndef YangPlayWidget_H
#define YangPlayWidget_H
#if !defined(__APPLE__)
#include <QOpenGLWidget>
#include <QOpenGLShaderProgram>
#include <QOpenGLFunctions>
#include <QOpenGLTexture>
class YangPlayWidget : public QOpenGLWidget, protected QOpenGLFunctions... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/QsvCodec/common_directx11.h | null | null | null | null | null | null | C | 2026-05-04T19:17:56.059873 | // Copyright (c) 2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publ... |
metartc/metaRTC | https://github.com/metartc/metaRTC | null | null | null | null | 1,108 | null | null | apache-2.0 | null | null | null | null | null | null | null | codec/yangwincodec8/codec/NvCodec/nvenc.h | null | null | null | null | null | null | C | 2026-05-04T19:17:56.221121 | // PHZ
// 2020-2-13
#ifndef _NVIDIA_ENCODER_H
#define _NVIDIA_ENCODER_H
#include "encoder_info.h"
// Video-Codec-SDK Version: 8.2
#include "NvEncoder/NvEncoderD3D11.h"
extern struct nvenc_info nvenc_info;
#endif
|
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/openxr/openxr_platform.h | null | null | null | null | null | null | C | 2026-05-04T19:17:59.078086 | #ifndef OPENXR_PLATFORM_H_
#define OPENXR_PLATFORM_H_ 1
/*
** Copyright 2017-2026 The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0 OR MIT
*/
/*
** This header is generated from the Khronos OpenXR XML API Registry.
**
*/
#include "openxr.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef XR_USE_PLATF... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/common/extra_algorithms.h | null | null | null | null | null | null | C | 2026-05-04T19:17:59.141824 | // Copyright (c) 2017-2026 The Khronos Group Inc.
// Copyright (c) 2017-2019 Valve Corporation
// Copyright (c) 2017-2019 LunarG, Inc.
// Copyright (c) 2019 Collabora, Ltd.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
//
// Initial Author: Rylie Pavlik <rylie.pavlik@collabora.com>
//
/*!
* @file
*
* Additional ... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/openxr/openxr_reflection_structs.h | null | null | null | null | null | null | C | 2026-05-04T19:17:59.162893 | #ifndef OPENXR_REFLECTION_STRUCTS_H_
#define OPENXR_REFLECTION_STRUCTS_H_ 1
/*
** Copyright (c) 2017-2026 The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0 OR MIT
*/
/*
** This header is generated from the Khronos OpenXR XML API Registry.
**
*/
#include "openxr.h"
/*
This file contains expansion macr... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/common/stdfs_conditions.h | null | null | null | null | null | null | C | 2026-05-04T19:17:59.228032 | // Copyright (c) 2017-2026 The Khronos Group Inc.
// Copyright (c) 2017 Valve Corporation
// Copyright (c) 2017 LunarG, Inc.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
#ifndef _STDFS_CONDITIONS_H
#define _STDFS_CONDITIONS_H
// If the C++ macro is set to the version containing C++17, it must support
// the final... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/common/unique_asset.h | null | null | null | null | null | null | C | 2026-05-04T19:17:59.716517 | // Copyright (c) 2017-2026 The Khronos Group Inc.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
#pragma once
#ifdef XR_USE_PLATFORM_ANDROID
#include <memory>
#include <android/asset_manager.h>
namespace deleters {
struct AAssetDeleter {
void operator()(AAsset* asset) const noexcept {
if (asset != null... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/openxr/openxr_loader_negotiation.h | null | null | null | null | null | null | C | 2026-05-04T19:17:59.928310 | #ifndef OPENXR_LOADER_NEGOTIATION_H_
#define OPENXR_LOADER_NEGOTIATION_H_ 1
/*
** Copyright 2017-2026 The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0 OR MIT
*/
/*
** This header is generated from the Khronos OpenXR XML API Registry.
**
*/
#include "openxr.h"
#ifdef __cplusplus
extern "C" {
#endif
... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/openxr/openxr_reflection_parent_structs.h | null | null | null | null | null | null | C | 2026-05-04T19:18:00.853903 | #ifndef OPENXR_REFLECTION_PARENT_STRUCTS_H_
#define OPENXR_REFLECTION_PARENT_STRUCTS_H_ 1
/*
** Copyright (c) 2017-2026 The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0 OR MIT
*/
/*
** This header is generated from the Khronos OpenXR XML API Registry.
**
*/
#include "openxr.h"
/*
This file contains ... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/external/android-jni-wrappers/wrap/ObjectWrapperBase.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.090328 | // Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
// Author: Rylie Pavlik <rylie.pavlik@collabora.com>
#pragma once
#include <assert.h>
#include <jni.h>
#include <jnipp.h>
namespace wrap {
/*!
* Base class for types wrapping Java types.
*
* Derived types are encouraged to have a nested `... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | include/openxr/openxr_platform_defines.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.091279 | /*
** Copyright (c) 2017-2026 The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0 OR MIT
*/
#ifndef OPENXR_PLATFORM_DEFINES_H_
#define OPENXR_PLATFORM_DEFINES_H_ 1
#ifdef __cplusplus
extern "C" {
#endif
/* Platform-specific calling convention macros.
*
* Platforms should define these so that OpenXR cl... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/common/object_info.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.092769 | // Copyright (c) 2017-2026 The Khronos Group Inc.
// Copyright (c) 2017-2019 Valve Corporation
// Copyright (c) 2017-2019 LunarG, Inc.
// Copyright (c) 2019 Collabora, Ltd.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
//
// Initial Authors: Mark Young <marky@lunarg.com>, Rylie Pavlik <rylie.pavlik@collabora.com
//
... |
KhronosGroup/OpenXR-SDK | https://github.com/KhronosGroup/OpenXR-SDK | null | null | null | null | 1,102 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/common/android_logging.h | null | null | null | null | null | null | C | 2026-05-04T19:18:01.187850 | // Copyright (c) 2018-2026 The Khronos Group Inc.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT
//
// Utility macros for Android logging.
#pragma once
#ifdef XR_USE_PLATFORM_ANDROID
#include <android/log.h>
#if !defined(LOG_TAG)
#error "LOG_TAG must be defined before including android_logging.h"
#endif
#define A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.