hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bf6ecaf802a2e89b001a28645b0e61b0cb413bb2 | 7,611 | c | C | base/ntsetup/opktools/setupmgr/base/targpath.c | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/ntsetup/opktools/setupmgr/base/targpath.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/ntsetup/opktools/setupmgr/base/targpath.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //----------------------------------------------------------------------------
//
// Copyright (c) 1997-1999 Microsoft Corporation
// All rights reserved.
//
// File Name:
// targpath.c
//
// Description:
// This file contains the dialog procedure for the TargetPath page.
//
//--------------------... | 27.576087 | 79 | 0.432663 |
c982b477c3e4019cc795985fe4ad2f96aa19eda9 | 2,071 | h | C | Source/TraceMemo.h | neville1/cpp-namelint | cf584e4c71a59d1cde9b33e12378a59702104a9e | [
"MIT"
] | null | null | null | Source/TraceMemo.h | neville1/cpp-namelint | cf584e4c71a59d1cde9b33e12378a59702104a9e | [
"MIT"
] | null | null | null | Source/TraceMemo.h | neville1/cpp-namelint | cf584e4c71a59d1cde9b33e12378a59702104a9e | [
"MIT"
] | null | null | null | #ifndef __NAMELINT_TRACE_MEMO__H__
#define __NAMELINT_TRACE_MEMO__H__
#include "Config.h"
#include <map>
#include <string>
#include <vector>
using namespace std;
namespace namelint {
class CodePos {
public:
size_t nLine;
size_t nColumn;
};
typedef enum _CheckType {
CT_None = 0,
CT_File,... | 20.303922 | 77 | 0.634476 |
f966ac55d4e8aacf1ab9c2d87d4d2fefb2ccb3bf | 1,933 | h | C | apps/utils/image_io.h | zhoub/oidn | 483a2d96cc3c05ae36c291847a8205658facbb8f | [
"Apache-2.0"
] | 1,206 | 2019-01-29T04:58:53.000Z | 2022-03-27T07:13:01.000Z | apps/utils/image_io.h | zhoub/oidn | 483a2d96cc3c05ae36c291847a8205658facbb8f | [
"Apache-2.0"
] | 129 | 2019-01-29T20:37:27.000Z | 2022-03-25T13:36:50.000Z | apps/utils/image_io.h | zhoub/oidn | 483a2d96cc3c05ae36c291847a8205658facbb8f | [
"Apache-2.0"
] | 123 | 2019-01-29T14:24:34.000Z | 2022-03-28T06:54:57.000Z | // Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <memory>
#include <string>
#include <vector>
#include <array>
#include <tuple>
namespace oidn {
struct ImageBuffer
{
std::vector<float> buffer;
int width;
int height;
int numChannels;
Image... | 28.850746 | 98 | 0.646146 |
ba259d89f7e029b95272ac22299d26532f774dec | 14,349 | c | C | yla_array.c | xiiilamorte/-lipo-sapr-lab | a69a8f0e4634985d2df2dd1fd39017d99791ac0f | [
"MIT"
] | null | null | null | yla_array.c | xiiilamorte/-lipo-sapr-lab | a69a8f0e4634985d2df2dd1fd39017d99791ac0f | [
"MIT"
] | null | null | null | yla_array.c | xiiilamorte/-lipo-sapr-lab | a69a8f0e4634985d2df2dd1fd39017d99791ac0f | [
"MIT"
] | null | null | null | /*
Array operations: concatenation, insert to left, insert to right.
*/
#include "yla_array.h"
/* Subprogram: array_concatenation
(my global alias of the subprogram in comments: concat)
This program needs 2 global variables for keep iterator of 'while' cycle.
Reductions: CX -- counter,
DX -- second array co... | 37.562827 | 171 | 0.683253 |
c9d75492f6477b00b122a536fde26c15100f9b2a | 545 | h | C | net/protocol_rpc.h | sharkstore/demo | 129f143158de9c7a6ee19fa2d3f4342d35b0083d | [
"Apache-2.0"
] | null | null | null | net/protocol_rpc.h | sharkstore/demo | 129f143158de9c7a6ee19fa2d3f4342d35b0083d | [
"Apache-2.0"
] | null | null | null | net/protocol_rpc.h | sharkstore/demo | 129f143158de9c7a6ee19fa2d3f4342d35b0083d | [
"Apache-2.0"
] | null | null | null | _Pragma("once");
namespace fbase {
namespace dataserver {
namespace net {
class ProtocolRPC : public Protocol {
public:
ProtocolRPC();
~ProtocolRPC();
bool Match(const std::array<uint8_t, 4>& preface) override;
void OnDataArrived(const uint8_t* buf, size_t len) override;
private:
// TODO: remove... | 22.708333 | 73 | 0.686239 |
444644785ed313c3858e01826e80a8ffbc62b39c | 1,034 | h | C | src/shared/message.h | outscale-fne/enet-test | 711d8603f42e233ccc22a6308ed46fa97f6571d3 | [
"BSD-3-Clause"
] | null | null | null | src/shared/message.h | outscale-fne/enet-test | 711d8603f42e233ccc22a6308ed46fa97f6571d3 | [
"BSD-3-Clause"
] | null | null | null | src/shared/message.h | outscale-fne/enet-test | 711d8603f42e233ccc22a6308ed46fa97f6571d3 | [
"BSD-3-Clause"
] | 1 | 2021-01-25T09:12:42.000Z | 2021-01-25T09:12:42.000Z | #ifndef MESSAGE_H
#define MESSAGE_H
#include "player.h"
#define MSG_TYPE_PLAYER_STATE 1
#define MSG_TYPE_PLAYER_INPUTS 2
#define MSG_TYPE_PLAYER_ASK_JOIN 3
#define MSG_TYPE_SERVER_ANSWER_TO_JOIN 4
#define MSG_TYPE_PLAYER_LEFT 5
#define MSG_TYPE_PLAYER_JOINED 6
struct player_state {
int slot;
struct player pl... | 22 | 68 | 0.747582 |
67da6bc0acb465eb2d3cf15d65085e6d4dfa1b19 | 5,739 | c | C | target/hell.c | esoteric-programmer/elvm | e41004888cb2054da8821865192664918d1fb7c3 | [
"MIT"
] | null | null | null | target/hell.c | esoteric-programmer/elvm | e41004888cb2054da8821865192664918d1fb7c3 | [
"MIT"
] | null | null | null | target/hell.c | esoteric-programmer/elvm | e41004888cb2054da8821865192664918d1fb7c3 | [
"MIT"
] | null | null | null | #include <target/util.h>
#include <target/hellutil.h>
static int last_section_type = 0;
static void print_labels(LabelList* labels);
static void print_offset(HellImmediate* offset);
static void print_malbolge_command(unsigned char cmd);
static void print_hell_code(HellCodeAtom* code, HellImmediate* offset);
static vo... | 25.281938 | 102 | 0.537376 |
71d8f3ba7d6ba64a0c28ce5e675c0ada28d29cfb | 2,310 | c | C | tools/testing/selftests/bpf/prog_tests/netns_cookie.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | tools/testing/selftests/bpf/prog_tests/netns_cookie.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 1 | 2021-01-27T01:29:47.000Z | 2021-01-27T01:29:47.000Z | tools/testing/selftests/bpf/prog_tests/netns_cookie.c | jainsakshi2395/linux | 7ccb860232bb83fb60cd6bcf5aaf0c008d903acb | [
"Linux-OpenIB"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | // SPDX-License-Identifier: GPL-2.0
#include <test_progs.h>
#include "netns_cookie_prog.skel.h"
#include "network_helpers.h"
#ifndef SO_NETNS_COOKIE
#define SO_NETNS_COOKIE 71
#endif
static int duration;
void test_netns_cookie(void)
{
int server_fd = -1, client_fd = -1, cgroup_fd = -1;
int err, val, ret, map, ver... | 28.518519 | 73 | 0.730303 |
d5a76ffaefc35eee79b7f45a93d25faefa0d2bdb | 231 | c | C | 3-2.c | eeyes-fsd/edo-train | 95cc17a929ff3e65abdf465061196e42996dda63 | [
"MIT"
] | null | null | null | 3-2.c | eeyes-fsd/edo-train | 95cc17a929ff3e65abdf465061196e42996dda63 | [
"MIT"
] | null | null | null | 3-2.c | eeyes-fsd/edo-train | 95cc17a929ff3e65abdf465061196e42996dda63 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main()
{
int num = 10;
printf("num 的地址在 %p\n", &num);
printf("请输入任意整数:");
scanf("%d", &num);
printf("num 的值是 %d\n", num);
printf("num 的地址在 %p\n", &num);
return 0;
} | 16.5 | 35 | 0.47619 |
cb6a48a0724393fee1cf1c3a43ec359315b3bab2 | 101 | c | C | 174.c | hdubey/295-C-Questions | b9086e57c55d0347d0992ee5aa8bae7c61250820 | [
"Unlicense"
] | 1 | 2020-11-10T15:45:45.000Z | 2020-11-10T15:45:45.000Z | 174.c | hdubey/295-C-Questions | b9086e57c55d0347d0992ee5aa8bae7c61250820 | [
"Unlicense"
] | null | null | null | 174.c | hdubey/295-C-Questions | b9086e57c55d0347d0992ee5aa8bae7c61250820 | [
"Unlicense"
] | null | null | null | #include<stdio.h>
main()
{
int a=10,*j;
void *k;
j=&a;
k=&a;
printf("\n%d %d",*j,*k);
} | 11.222222 | 26 | 0.435644 |
02f02c4a6d21b17c92e200acd005e2efa4ed645a | 147 | h | C | project490/src/component410/headers/component410/lib9.h | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:25:24.000Z | 2016-11-23T17:25:27.000Z | project490/src/component410/headers/component410/lib9.h | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 15 | 2016-09-15T03:19:32.000Z | 2016-09-17T09:15:32.000Z | project490/src/component410/headers/component410/lib9.h | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2019-11-09T16:26:55.000Z | 2021-01-13T10:51:09.000Z | #ifndef PROJECT_HEADER_component410_9_H
#define PROJECT_HEADER_component410_9_H
int component410_9();
#endif // PROJECT_HEADER_component410_9_H | 18.375 | 41 | 0.863946 |
27e9eb54b12c2589d71480ead4b411479a11d13a | 343 | h | C | Engine/Code/math_types.h | BarcinoLechiguino/Advanced_Graphics_Programming | cd9e1b55cd2049f87997607845b8f20f6376e78f | [
"MIT"
] | null | null | null | Engine/Code/math_types.h | BarcinoLechiguino/Advanced_Graphics_Programming | cd9e1b55cd2049f87997607845b8f20f6376e78f | [
"MIT"
] | null | null | null | Engine/Code/math_types.h | BarcinoLechiguino/Advanced_Graphics_Programming | cd9e1b55cd2049f87997607845b8f20f6376e78f | [
"MIT"
] | null | null | null | #ifndef __MATH_TYPES_H__
#define __MATH_TYPES_H__
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/type_ptr.hpp>
typedef glm::vec2 vec2;
typedef glm::vec3 vec3;
typedef glm::vec4 vec4;
typedef glm::ivec2 ivec2;
typedef glm::ivec3 ivec3;
typedef glm::ivec4 ivec4;
typedef glm::mat4 mat4;
#end... | 20.176471 | 32 | 0.763848 |
7e7fc4c6cc243cfcb64da44b745191359231cf21 | 1,367 | h | C | Notes.framework/ICSelectorDelayer.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | Notes.framework/ICSelectorDelayer.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | Notes.framework/ICSelectorDelayer.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 1 | 2021-10-08T07:40:53.000Z | 2021-10-08T07:40:53.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/Notes.framework/Notes
*/
@interface ICSelectorDelayer : NSObject {
double _delay;
bool _forceMainThread;
SEL _selector;
id _target;
NSTimer * _timer;
bool _waitToFireUntilRequestsStop;
}
@property double delay;
@p... | 29.717391 | 134 | 0.762985 |
4a3ab3b19d0fe70b3c336f984bef48895ce20905 | 2,272 | c | C | src/vbr.c | nguyen-t/ntfs | 82c28bc03cfb333a43fbed828b38459b43d130c1 | [
"MIT"
] | 2 | 2020-06-26T23:24:10.000Z | 2020-06-27T07:56:28.000Z | src/vbr.c | nguyen-t/ntfs | 82c28bc03cfb333a43fbed828b38459b43d130c1 | [
"MIT"
] | null | null | null | src/vbr.c | nguyen-t/ntfs | 82c28bc03cfb333a43fbed828b38459b43d130c1 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include "vbr.h"
VBR* vbr_read(int fd, off_t offset) {
VBR* vbr;
off_t current;
// Save current file pointer
if((current = lseek(fd, 0, SEEK_CUR)) < 0) {
return NULL;
}
// Read VBR starting at offset ... | 31.123288 | 86 | 0.627201 |
9a06d55728a6a9a7bc04c731cdc66f23c9fe3766 | 1,234 | h | C | iOSOpenDev/frameworks/iPodUI.framework/Headers/IUArrayCellConfiguration.h | bzxy/cydia | f8c838cdbd86e49dddf15792e7aa56e2af80548d | [
"MIT"
] | 678 | 2017-11-17T08:33:19.000Z | 2022-03-26T10:40:20.000Z | iOSOpenDev/frameworks/iPodUI.framework/Headers/IUArrayCellConfiguration.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 22 | 2019-04-16T05:51:53.000Z | 2021-11-08T06:18:45.000Z | iOSOpenDev/frameworks/iPodUI.framework/Headers/IUArrayCellConfiguration.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 170 | 2018-06-10T07:59:20.000Z | 2022-03-22T16:19:33.000Z | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/iPodUI.framework/iPodUI
*/
#import <iPodUI/iPodUI-Structs.h>
#import <iPodUI/IUTableCellConfiguration.h>
@interface IUArrayCellConfiguration : IUTableCellConfiguration {
unsigned _numberOfStrings; // 52 = 0x34
CG... | 37.393939 | 86 | 0.749595 |
a432a6acb692bdf3e62e4232cf13ec5cb46476e4 | 692 | h | C | C++/structural_patterns/facade/DataLibrary.h | ploukareas/Design-Patterns | 8effde38d73ae9058c3028c97ef395644a90d55b | [
"BSD-3-Clause",
"MIT"
] | 10 | 2018-10-26T20:02:43.000Z | 2022-03-21T02:00:46.000Z | C++/structural_patterns/facade/DataLibrary.h | ploukareas/Design-Patterns | 8effde38d73ae9058c3028c97ef395644a90d55b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | C++/structural_patterns/facade/DataLibrary.h | ploukareas/Design-Patterns | 8effde38d73ae9058c3028c97ef395644a90d55b | [
"BSD-3-Clause",
"MIT"
] | 2 | 2021-09-27T09:09:39.000Z | 2021-11-19T18:52:40.000Z | // ˅
// ˄
#ifndef STRUCTURAL_PATTERNS_FACADE_DATALIBRARY_H_
#define STRUCTURAL_PATTERNS_FACADE_DATALIBRARY_H_
// ˅
#include <map>
#include <string>
using namespace std;
// ˄
class DataLibrary
{
// ˅
// ˄
private:
static DataLibrary* instance;
public:
static DataLibrary* getInstance();
private:
DataLi... | 11.16129 | 80 | 0.692197 |
a4476636cf5d2c5be5a46cc796b4ef520ab2af33 | 3,789 | h | C | applications/sofa/gui/qt/SofaVideoRecorderManager.h | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | applications/sofa/gui/qt/SofaVideoRecorderManager.h | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | applications/sofa/gui/qt/SofaVideoRecorderManager.h | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | 31.31405 | 102 | 0.571919 |
a49e6567dd29367b33b775ca404b00ea5fd2047a | 1,604 | h | C | WinHier/resource.h | katahiromz/WinHier | 5b2d870ba22b704c2bcb9e12d595187fe7c00dfa | [
"MIT"
] | 5 | 2019-04-22T14:22:57.000Z | 2020-02-02T11:49:28.000Z | WinHier/resource.h | katahiromz/WinHier | 5b2d870ba22b704c2bcb9e12d595187fe7c00dfa | [
"MIT"
] | 3 | 2019-06-17T01:42:29.000Z | 2019-11-21T09:17:45.000Z | WinHier/resource.h | katahiromz/WinHier | 5b2d870ba22b704c2bcb9e12d595187fe7c00dfa | [
"MIT"
] | 2 | 2019-04-22T14:22:40.000Z | 2019-05-04T00:55:38.000Z | //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ Compatible
// This file was automatically generated by RisohEditor.
// WinHier_res.rc
#define IDC_STATIC -1
#define IDC_TARGET 100
#define IDD_MAIN 100
#define IDD_PROPERTIES ... | 36.454545 | 57 | 0.470698 |
2bfc4151d5b2d475e5b18b3748fca850b4b16b00 | 82 | h | C | Pod/Classes/Projection/MOBProjectionEPSG3758.h | jkdubr/Proj4 | dcdf91821720b90423e7d6774d14948d165fbb12 | [
"MIT"
] | 3 | 2015-01-29T15:53:20.000Z | 2019-03-06T03:36:56.000Z | Pod/Classes/Projection/MOBProjectionEPSG3758.h | jkdubr/Proj4 | dcdf91821720b90423e7d6774d14948d165fbb12 | [
"MIT"
] | 1 | 2016-01-12T13:53:40.000Z | 2016-01-12T13:53:40.000Z | Pod/Classes/Projection/MOBProjectionEPSG3758.h | jkdubr/Proj4 | dcdf91821720b90423e7d6774d14948d165fbb12 | [
"MIT"
] | null | null | null | #import "MOBProjection.h"
@interface MOBProjectionEPSG3758 : MOBProjection
@end
| 13.666667 | 48 | 0.804878 |
d8d9a419abda33e4e42b72389314f180dee8d0f1 | 300 | c | C | Semestre_3/IN301/TD/TD04/exo23/principal.c | uvsq-versailles/Licence_2 | 88e265f3f02f71dd1035a7d2d96645657b2f2cb5 | [
"MIT"
] | null | null | null | Semestre_3/IN301/TD/TD04/exo23/principal.c | uvsq-versailles/Licence_2 | 88e265f3f02f71dd1035a7d2d96645657b2f2cb5 | [
"MIT"
] | null | null | null | Semestre_3/IN301/TD/TD04/exo23/principal.c | uvsq-versailles/Licence_2 | 88e265f3f02f71dd1035a7d2d96645657b2f2cb5 | [
"MIT"
] | 5 | 2020-03-08T12:19:08.000Z | 2021-05-18T13:11:18.000Z | #include <stdlib.h>
#include <stdio.h>
#include "circonference.h"
#include "surface.h"
int main(){
float r;
printf("Ecrire un rayon : ");
scanf("%f",&r);
//printf("\n");
printf("Sa circonference est : %f",circonference(r));
printf("\n");
printf("Sa surface est : %f",surface(r));
exit(0);
}
| 18.75 | 54 | 0.623333 |
4df3261f1607784044f57128def0659d47f0d4f9 | 1,819 | c | C | tools/reveal.c | arachsys/pocketcrypt | 3390d57f0875e057cc76cf8374354673f819f287 | [
"MIT"
] | 5 | 2020-08-06T13:05:12.000Z | 2021-12-31T14:48:08.000Z | tools/reveal.c | arachsys/pocketcrypt | 3390d57f0875e057cc76cf8374354673f819f287 | [
"MIT"
] | 1 | 2020-08-25T11:15:20.000Z | 2020-08-25T14:27:52.000Z | tools/reveal.c | arachsys/pocketcrypt | 3390d57f0875e057cc76cf8374354673f819f287 | [
"MIT"
] | 1 | 2020-08-24T19:02:19.000Z | 2020-08-24T19:02:19.000Z | #include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "duplex.h"
#include "swirl.h"
#include "util.h"
static void process(duplex_t state) {
size_t count, length = 0;
uint8_t *data = NULL;
do {
if ((data = realloc(data, length + chunk)) == NULL)
err(E... | 26.75 | 68 | 0.636064 |
9ef1a7c39086d352614b10d7e12bfd75cb34c8c4 | 3,315 | h | C | EventDisplay/src/dict_classes/EventDisplayGeoVolumeBox.h | michaelmackenzie/Offline | 57bcd11d499af77ed0619deeddace51ed2b0b097 | [
"Apache-2.0"
] | null | null | null | EventDisplay/src/dict_classes/EventDisplayGeoVolumeBox.h | michaelmackenzie/Offline | 57bcd11d499af77ed0619deeddace51ed2b0b097 | [
"Apache-2.0"
] | 26 | 2019-11-08T09:56:55.000Z | 2020-09-09T17:25:33.000Z | EventDisplay/src/dict_classes/EventDisplayGeoVolumeBox.h | ryuwd/Offline | 92957f111425910274df61dbcbd2bad76885f993 | [
"Apache-2.0"
] | null | null | null | //
// Class which displays GeoVolumes with a box (used e.g. by the Cube class). It is inherited from ROOT's TGeoVolume and the ComponentInfo class which stores specific information for this support structure. The class' constructure creates a TGeoBox, which is put into the TGeoVolume. The context menu is overwritten wi... | 42.5 | 387 | 0.755053 |
7f732fdbffb3d3e8c1bd85591445a1bc44a1e12e | 6,159 | c | C | components/connectivity/Modbus/3rdparty/freemodbus-v1.6/demo/ATSAM3S/demo.c | QingChuanWS/tencentos-tiny-with-tflitemicro-and-iot | e036d344b4729e70877f55026bb11841991f6650 | [
"Apache-2.0"
] | 4 | 2021-02-01T07:14:21.000Z | 2021-04-08T08:24:25.000Z | third_party/freemodbus-v1.6/demo/ATSAM3S/demo.c | xiong1979/edf | 481ca105d78749ed4bf371c95786c97fb8f45a33 | [
"Apache-2.0"
] | null | null | null | third_party/freemodbus-v1.6/demo/ATSAM3S/demo.c | xiong1979/edf | 481ca105d78749ed4bf371c95786c97fb8f45a33 | [
"Apache-2.0"
] | 3 | 2021-01-10T09:56:57.000Z | 2022-02-08T19:56:50.000Z | /*
* FreeModbus Libary: Atmel AT91SAM3S Demo Application
* Copyright (C) 2010 Christian Walter <cwalter@embedded-solutions.at>
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of... | 32.760638 | 113 | 0.532392 |
cfb9f92afe519a3d9988e0c87796ea5099bac26f | 2,230 | h | C | verification/bottom_ctrl_5x5/code_ad/AUTODIFF_OPTIONS.h | jm-c/MITgcm | 9f5240b52a9c886dc6564230ed8ea9e09e8fc9eb | [
"MIT"
] | 247 | 2018-02-07T08:33:08.000Z | 2022-03-31T08:55:55.000Z | verification/bottom_ctrl_5x5/code_ad/AUTODIFF_OPTIONS.h | jm-c/MITgcm | 9f5240b52a9c886dc6564230ed8ea9e09e8fc9eb | [
"MIT"
] | 580 | 2018-01-31T21:38:08.000Z | 2022-03-31T22:43:30.000Z | verification/bottom_ctrl_5x5/code_ad/AUTODIFF_OPTIONS.h | jm-c/MITgcm | 9f5240b52a9c886dc6564230ed8ea9e09e8fc9eb | [
"MIT"
] | 209 | 2018-01-31T20:58:49.000Z | 2022-03-30T06:24:43.000Z | CBOP
C !ROUTINE: AUTODIFF_OPTIONS.h
C !INTERFACE:
C #include "AUTODIFF_OPTIONS.h"
C !DESCRIPTION:
C *==================================================================*
C | CPP options file for AutoDiff (autodiff) package:
C | Control which optional features to compile in this package code.
C *========================... | 32.318841 | 79 | 0.694619 |
d6066eab8c29106e11991aeee4ff7beb9876666c | 2,710 | h | C | screen/goScreen.h | Qolzam/robotgo | 3f2bd94d608e642b6032fce9bed7a0dce1deaa4a | [
"Apache-2.0"
] | null | null | null | screen/goScreen.h | Qolzam/robotgo | 3f2bd94d608e642b6032fce9bed7a0dce1deaa4a | [
"Apache-2.0"
] | null | null | null | screen/goScreen.h | Qolzam/robotgo | 3f2bd94d608e642b6032fce9bed7a0dce1deaa4a | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 The go-vgo Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// https://github.com/Qolzam/robotgo/blob/master/LICENSE
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT lic... | 23.982301 | 81 | 0.698893 |
5ca10c30a3203ccd7326c85e85b7746068b0e4fa | 4,720 | h | C | src/protocols/rdp/channels/rdpei.h | Demonslyr/guacamole-server | 7bbab0efddd2d299baa5e1e400c0860f0fe69047 | [
"Apache-2.0"
] | null | null | null | src/protocols/rdp/channels/rdpei.h | Demonslyr/guacamole-server | 7bbab0efddd2d299baa5e1e400c0860f0fe69047 | [
"Apache-2.0"
] | null | null | null | src/protocols/rdp/channels/rdpei.h | Demonslyr/guacamole-server | 7bbab0efddd2d299baa5e1e400c0860f0fe69047 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 30.451613 | 80 | 0.718008 |
5ce1c3f8c768c9cbaf9b7532c16c2cbd0e787374 | 493 | h | C | framework/Source/CLVideokit.h | cleexiang/Videokit | 864e1a35fb57fe25c80a295b0161df606785c8dd | [
"Apache-2.0"
] | 1 | 2017-01-05T15:43:45.000Z | 2017-01-05T15:43:45.000Z | framework/Source/CLVideokit.h | cleexiang/Videokit | 864e1a35fb57fe25c80a295b0161df606785c8dd | [
"Apache-2.0"
] | null | null | null | framework/Source/CLVideokit.h | cleexiang/Videokit | 864e1a35fb57fe25c80a295b0161df606785c8dd | [
"Apache-2.0"
] | null | null | null | //
// CLVideokit.h
// CLVideokit
//
// Created by clee on 16/10/25.
// Copyright © 2016年 lixiang. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for CLVideokit.
FOUNDATION_EXPORT double CLVideokitVersionNumber;
//! Project version string for CLVideokit.
FOUNDATION_EXPORT const unsigne... | 24.65 | 135 | 0.760649 |
cf037b4970de4e9029210761c1f6f3804650f11b | 3,128 | c | C | RobotSensors/RobotSensors_PC/bluecove/bluecove-2.1.0-sources-all/bluecove-bluez/src/main/c/BlueCoveBlueZ.c | erichstuder/random | 233cf7538a04b4144b700fee7e955744efd204ce | [
"MIT"
] | 1 | 2018-12-08T07:42:04.000Z | 2018-12-08T07:42:04.000Z | RobotSensors/RobotSensors_PC/bluecove/bluecove-2.1.0-sources-all/bluecove-bluez/src/main/c/BlueCoveBlueZ.c | erichstuder/random | 233cf7538a04b4144b700fee7e955744efd204ce | [
"MIT"
] | null | null | null | RobotSensors/RobotSensors_PC/bluecove/bluecove-2.1.0-sources-all/bluecove-bluez/src/main/c/BlueCoveBlueZ.c | erichstuder/random | 233cf7538a04b4144b700fee7e955744efd204ce | [
"MIT"
] | null | null | null | /**
* BlueCove BlueZ module - Java library for Bluetooth on Linux
* Copyright (C) 2008 Vlad Skarzhevskyy
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright... | 30.970297 | 94 | 0.695652 |
682aebb0d7d73d598f6f3c62bc4f5a8f3335b591 | 4,146 | c | C | src/theme.c | nielssp/csol-dos | 70cf8fbfe755e1533c6f9419bfd9677aa19d9eb3 | [
"MIT"
] | null | null | null | src/theme.c | nielssp/csol-dos | 70cf8fbfe755e1533c6f9419bfd9677aa19d9eb3 | [
"MIT"
] | null | null | null | src/theme.c | nielssp/csol-dos | 70cf8fbfe755e1533c6f9419bfd9677aa19d9eb3 | [
"MIT"
] | null | null | null | /* csol
* Copyright (c) 2017 Niels Sonnich Poulsen (http://nielssp.dk)
* Licensed under the MIT license.
* See the LICENSE file or http://opensource.org/licenses/MIT for more information.
*/
#define _GNU_SOURCE
#include <stdlib.h>
#include <string.h>
#ifdef POSIX
#include <dirent.h>
#endif
#ifdef MSDOS
#include <d... | 22.410811 | 83 | 0.631452 |
a9fc2e3485c484c2739b3ae40745103000b6b4d7 | 352 | h | C | src/Radar/RadxData.h | FoolishPineapple/vortrac | a682e6080e83f7ae8fa34f33cc68ea0739390d0d | [
"Apache-2.0"
] | null | null | null | src/Radar/RadxData.h | FoolishPineapple/vortrac | a682e6080e83f7ae8fa34f33cc68ea0739390d0d | [
"Apache-2.0"
] | null | null | null | src/Radar/RadxData.h | FoolishPineapple/vortrac | a682e6080e83f7ae8fa34f33cc68ea0739390d0d | [
"Apache-2.0"
] | null | null | null | #ifndef RADXDATA_H
#define RADXDATA_H
#include "Radx/RadxRay.hh"
#include "RadarData.h"
class RadxData : public RadarData
{
public:
RadxData(const QString &radarname, const float &lat, const float &lon,
const QString &filename);
~RadxData();
bool readVolume();
float *getRayData(RadxRay *fileRay, const ... | 16.761905 | 72 | 0.715909 |
30d760ace88cd66823cd34ba138cfe915e1d0ce0 | 290 | h | C | BMFS/stamp.h | JColonnello/Kernel | a7d7d2325934e8190777816ce8d8eb548852be61 | [
"BSD-3-Clause"
] | null | null | null | BMFS/stamp.h | JColonnello/Kernel | a7d7d2325934e8190777816ce8d8eb548852be61 | [
"BSD-3-Clause"
] | null | null | null | BMFS/stamp.h | JColonnello/Kernel | a7d7d2325934e8190777816ce8d8eb548852be61 | [
"BSD-3-Clause"
] | null | null | null | /* ===============================================================
* Baremetal File System - A file system designed for BareMetal OS
* Copyright (C) 2008 - 2018 Return Infinity
* See COPYING for license information.
* ===============================================================
*/
| 41.428571 | 66 | 0.396552 |
e78f559235a640c9552c2c7b580789fbc60463f3 | 309 | h | C | tomviz/modules/ScalarsComboBox.h | sankhesh/tomviz | 7116f4eb75b30534a24462f4ddfb1694fe41c308 | [
"BSD-3-Clause"
] | 284 | 2015-01-05T08:53:20.000Z | 2022-03-31T07:35:16.000Z | tomviz/modules/ScalarsComboBox.h | sankhesh/tomviz | 7116f4eb75b30534a24462f4ddfb1694fe41c308 | [
"BSD-3-Clause"
] | 1,579 | 2015-03-19T15:56:44.000Z | 2022-03-21T11:29:04.000Z | tomviz/modules/ScalarsComboBox.h | sankhesh/tomviz | 7116f4eb75b30534a24462f4ddfb1694fe41c308 | [
"BSD-3-Clause"
] | 74 | 2015-01-29T16:24:32.000Z | 2022-03-07T21:52:29.000Z | #ifndef tomvizScalarsPicker_h
#define tomvizScalarsPicker_h
#include <QComboBox>
namespace tomviz {
class DataSource;
class Module;
class ScalarsComboBox : public QComboBox
{
Q_OBJECT
public:
ScalarsComboBox(QWidget* parent = nullptr);
void setOptions(DataSource* ds, Module* module);
};
}
#endif
| 14.045455 | 50 | 0.770227 |
b75cfbd6b7923401df7fddb51a103747f19827d5 | 9,439 | h | C | double_robot_project/src/scout_robot/agx_sdk-scout_v2/include/wrp_sdk/platforms/tracer/tracer_protocol.h | Xray0302/dual_arm_project | 34fed790f5b00411f4f5125c3197655eebce2db5 | [
"Apache-2.0"
] | null | null | null | double_robot_project/src/scout_robot/agx_sdk-scout_v2/include/wrp_sdk/platforms/tracer/tracer_protocol.h | Xray0302/dual_arm_project | 34fed790f5b00411f4f5125c3197655eebce2db5 | [
"Apache-2.0"
] | null | null | null | double_robot_project/src/scout_robot/agx_sdk-scout_v2/include/wrp_sdk/platforms/tracer/tracer_protocol.h | Xray0302/dual_arm_project | 34fed790f5b00411f4f5125c3197655eebce2db5 | [
"Apache-2.0"
] | null | null | null | /*
* tracer_protocol.h
*
* Created on: Apr 14, 2020 10:34
* Description:
*
* Copyright (c) 2020 Ruixiang Du (rdu)
*/
#ifndef TRACER_PROTOCOL_H
#define TRACER_PROTOCOL_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#define TRACER_CMD_BUF_LEN 32
#define TRACER_STATUS_BUF_LEN ... | 26.074586 | 76 | 0.586185 |
314ccd47cda43f2bbc75ac23890e51bf394fbba6 | 5,437 | c | C | intel.c | pedrovereza/arq-intel | 82df1db402bcbc79f9ce0cfb23f8b727a9118375 | [
"WTFPL"
] | null | null | null | intel.c | pedrovereza/arq-intel | 82df1db402bcbc79f9ce0cfb23f8b727a9118375 | [
"WTFPL"
] | null | null | null | intel.c | pedrovereza/arq-intel | 82df1db402bcbc79f9ce0cfb23f8b727a9118375 | [
"WTFPL"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
unsigned short memory[5000];
unsigned short endCidades = 0;
unsigned short endEngenheiros = 0;
unsigned short memoryIndex = 0;
unsigned short numero_engenheiros = 3;
unsigned short numero_cidades = 0;
unsigned short totalVisitas = 0;
signed short totalRendimento = 0;
char file_... | 21.238281 | 227 | 0.532095 |
c8998190b27cf65377e14041396c1a32e81b0ec8 | 102,705 | h | C | vnext/ReactUWP/Views/cppwinrt/winrt/react.uwp.h | haseeAmarathunga/react-native-windows | b33ea7f0c1977bb089d995c37e41e88d1e770919 | [
"MIT"
] | null | null | null | vnext/ReactUWP/Views/cppwinrt/winrt/react.uwp.h | haseeAmarathunga/react-native-windows | b33ea7f0c1977bb089d995c37e41e88d1e770919 | [
"MIT"
] | null | null | null | vnext/ReactUWP/Views/cppwinrt/winrt/react.uwp.h | haseeAmarathunga/react-native-windows | b33ea7f0c1977bb089d995c37e41e88d1e770919 | [
"MIT"
] | null | null | null | // WARNING: Please don't edit this file. It was generated by C++/WinRT
// v1.0.190111.3
#pragma once
#include "winrt/base.h"
static_assert(
winrt::check_version(CPPWINRT_VERSION, "1.0.190111.3"),
"Mismatched component and base headers.");
#include "winrt/Windows.Foundation.Collections.h"
#include ... | 35.698644 | 81 | 0.645363 |
c8a397fb805199a17293222e7d1580598df10107 | 1,053 | h | C | System/Library/PrivateFrameworks/MusicLibrary.framework/ML3MigrationMisgroupedAlbum.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-03-23T00:01:54.000Z | 2018-08-04T20:16:32.000Z | System/Library/PrivateFrameworks/MusicLibrary.framework/ML3MigrationMisgroupedAlbum.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/MusicLibrary.framework/ML3MigrationMisgroupedAlbum.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-05-14T16:23:26.000Z | 2019-12-21T15:07:59.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:05:00 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... | 35.1 | 146 | 0.761633 |
265bdf5f891b49199ff67e8207ea7729141bde0d | 29,709 | h | C | platform/mcu/msp432p4xx/ti/drivers/I2C.h | ruoranluomu/AliOS-Things | d0f3431bcacac5b61645e9beb231a0a53be8078b | [
"Apache-2.0"
] | 4 | 2019-11-22T04:28:29.000Z | 2021-07-06T10:45:10.000Z | platform/mcu/msp432p4xx/ti/drivers/I2C.h | ruoranluomu/AliOS-Things | d0f3431bcacac5b61645e9beb231a0a53be8078b | [
"Apache-2.0"
] | 1 | 2019-04-02T10:03:10.000Z | 2019-04-02T10:03:10.000Z | platform/mcu/msp432p4xx/ti/drivers/I2C.h | ruoranluomu/AliOS-Things | d0f3431bcacac5b61645e9beb231a0a53be8078b | [
"Apache-2.0"
] | 6 | 2019-08-30T09:43:03.000Z | 2021-04-05T04:20:41.000Z | /*
* Copyright (c) 2015-2018, Texas Instruments Incorporated
* 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 must retain the above copyright... | 38.383721 | 81 | 0.651755 |
64a90eb0c442b9b3efc4017c339be7153cfc6f93 | 14,091 | h | C | caffe2/operators/load_save_op.h | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 60,067 | 2017-01-18T17:21:31.000Z | 2022-03-31T21:37:45.000Z | caffe2/operators/load_save_op.h | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 66,955 | 2017-01-18T17:21:38.000Z | 2022-03-31T23:56:11.000Z | caffe2/operators/load_save_op.h | Hacky-DH/pytorch | 80dc4be615854570aa39a7e36495897d8a040ecc | [
"Intel"
] | 19,210 | 2017-01-18T17:45:04.000Z | 2022-03-31T23:51:56.000Z | #ifndef CAFFE2_OPERATORS_LOAD_SAVE_OP_H_
#define CAFFE2_OPERATORS_LOAD_SAVE_OP_H_
#include <cstdio>
#include <map>
#include <unordered_set>
#include <c10/util/string_view.h>
#include "caffe2/core/blob_serialization.h"
#include "caffe2/core/context.h"
#include "caffe2/core/db.h"
#include "caffe2/core/logging.h"
#inclu... | 33.077465 | 80 | 0.632106 |
3101696854ecaf52f882204c3375ae520f39ecef | 4,496 | h | C | src/motioncore/protocols/beavy/plain.h | Udbhavbisarya23/MOTION2NX | eb26f639d8c1729cebfa85dd3bf41b770cebe92b | [
"MIT"
] | 6 | 2021-11-05T00:39:47.000Z | 2022-02-26T16:42:55.000Z | src/motioncore/protocols/beavy/plain.h | Udbhavbisarya23/MOTION2NX | eb26f639d8c1729cebfa85dd3bf41b770cebe92b | [
"MIT"
] | 7 | 2021-11-07T06:53:00.000Z | 2022-03-23T11:46:40.000Z | src/motioncore/protocols/beavy/plain.h | Udbhavbisarya23/MOTION2NX | eb26f639d8c1729cebfa85dd3bf41b770cebe92b | [
"MIT"
] | 7 | 2021-11-04T12:01:07.000Z | 2022-03-29T12:15:23.000Z | // MIT License
//
// Copyright (c) 2020 Lennart Braun
//
// 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, modif... | 38.42735 | 99 | 0.777358 |
c1414446ef0d33a9838ad03db39009f6de04cadb | 10,651 | h | C | include/EASTL/internal/atomic/atomic_integral.h | jakemason/EASTL | 446c3a344ce00a8ee19dbcee73f9f38777649d36 | [
"BSD-3-Clause"
] | null | null | null | include/EASTL/internal/atomic/atomic_integral.h | jakemason/EASTL | 446c3a344ce00a8ee19dbcee73f9f38777649d36 | [
"BSD-3-Clause"
] | null | null | null | include/EASTL/internal/atomic/atomic_integral.h | jakemason/EASTL | 446c3a344ce00a8ee19dbcee73f9f38777649d36 | [
"BSD-3-Clause"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
/////////////////////////////////////////////////////////////////////////////////
#ifndef EASTL_ATOMIC_INTERNAL_INTEGRAL_H
#define EASTL_ATOMIC_INTERNAL_INTEGRAL_H
#if defined(... | 30.962209 | 108 | 0.638062 |
c14c43a893eb11da65e0ef4fae978d7aabd45301 | 1,319 | h | C | Source/Models/User/LTVUser.h | mamaral/LivecodingTV-Objc | d0e6f3080852fdd18e50a104fcd69287ede703b2 | [
"MIT"
] | null | null | null | Source/Models/User/LTVUser.h | mamaral/LivecodingTV-Objc | d0e6f3080852fdd18e50a104fcd69287ede703b2 | [
"MIT"
] | null | null | null | Source/Models/User/LTVUser.h | mamaral/LivecodingTV-Objc | d0e6f3080852fdd18e50a104fcd69287ede703b2 | [
"MIT"
] | null | null | null | //
// LTVUser.h
// LivecodingTV-ObjC
//
// Created by Mike on 4/23/16.
// Copyright © 2016 Mike Amaral. All rights reserved.
//
#import "LTVObject.h"
@interface LTVUser : LTVObject
@property (nonatomic, strong, readonly) NSString *username;
@property (nonatomic, strong, readonly) NSString *slug;
@property (nonat... | 39.969697 | 98 | 0.764215 |
e7b891d41ea0d2fb4ddf29cdd2ec136af3f6842f | 1,410 | h | C | Dmensio/render/materials/celshader.h | arttu94/DimensioLegacy | ff32e5a6966154a06b52adbe4eb63e436b6abd37 | [
"MIT"
] | null | null | null | Dmensio/render/materials/celshader.h | arttu94/DimensioLegacy | ff32e5a6966154a06b52adbe4eb63e436b6abd37 | [
"MIT"
] | null | null | null | Dmensio/render/materials/celshader.h | arttu94/DimensioLegacy | ff32e5a6966154a06b52adbe4eb63e436b6abd37 | [
"MIT"
] | null | null | null | #ifndef _CELSHADER_H_
#define _CELSHADER_H_
#include <d3d11.h>
#include <d3dcompiler.h>
#include <DirectXMath.h>
#include <fstream>
using namespace std;
using namespace DirectX;
class CelShader
{
private:
struct MatrixBufferType
{
XMMATRIX world;
XMMATRIX view;
XMMATRIX projection;
};
struct LightBufferTy... | 21.363636 | 156 | 0.774468 |
f079d7df5d5845090d5d8ba3d091e8b34cbef8a2 | 492 | h | C | 04-Advanced-Class-Members/homework/05-Lectures/ResourceType.h | KostadinovK/Cpp-Advanced | ae2ef3185baecc887dcd231dec900cf8c7da44c9 | [
"Apache-2.0"
] | 1 | 2019-07-21T13:00:31.000Z | 2019-07-21T13:00:31.000Z | C++/C++ Advanced Nov 2019/05. Class Members/Tasks_Description/Task 5 - Lectures_Description and Code/Skeleton/ResourceType.h | galin-kostadinov/Software-Engineering | 55189648d787b35f1e9cd24cc4449c6beda51c90 | [
"MIT"
] | null | null | null | C++/C++ Advanced Nov 2019/05. Class Members/Tasks_Description/Task 5 - Lectures_Description and Code/Skeleton/ResourceType.h | galin-kostadinov/Software-Engineering | 55189648d787b35f1e9cd24cc4449c6beda51c90 | [
"MIT"
] | null | null | null | #ifndef RESOURCE_TYPE_H
#define RESOURCE_TYPE_H
namespace SoftUni {
enum ResourceType {
PRESENTATION,
DEMO,
VIDEO
};
std::ostream& operator<<(std::ostream& out, enum ResourceType t) {
switch (t)
{
case ResourceType::PRESENTATION:
out << "Presentation";
break;
case ResourceType::DEMO:
out << ... | 14.470588 | 67 | 0.640244 |
bb7cc2a4e1c24031d8dcd0337670d1daeb488b1a | 3,331 | c | C | tpool/test/test.c | stephenfreund/AdaptiveSync | b4c43e47908f6bc9bf0c314c37be449fba6dd890 | [
"MIT"
] | null | null | null | tpool/test/test.c | stephenfreund/AdaptiveSync | b4c43e47908f6bc9bf0c314c37be449fba6dd890 | [
"MIT"
] | null | null | null | tpool/test/test.c | stephenfreund/AdaptiveSync | b4c43e47908f6bc9bf0c314c37be449fba6dd890 | [
"MIT"
] | null | null | null | /* AUTORIGHTS
Copyright (C) 2007 Princeton University
This file is part of Ferret Toolkit.
Ferret Toolkit is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later ver... | 23.457746 | 110 | 0.674572 |
7634e79ff2dfbe52de8dd918a8cc6a526e678fee | 3,811 | h | C | Firmware/STM32/GraphicsDriver/Core/Inc/main.h | benvonhandorf/wifi_led_matrix | bab56db71e85a935d0532ab97903ae2c91b44ed7 | [
"MIT"
] | null | null | null | Firmware/STM32/GraphicsDriver/Core/Inc/main.h | benvonhandorf/wifi_led_matrix | bab56db71e85a935d0532ab97903ae2c91b44ed7 | [
"MIT"
] | null | null | null | Firmware/STM32/GraphicsDriver/Core/Inc/main.h | benvonhandorf/wifi_led_matrix | bab56db71e85a935d0532ab97903ae2c91b44ed7 | [
"MIT"
] | null | null | null | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
*******************************************... | 31.758333 | 81 | 0.598268 |
763c7078223819133144ddc5661851c9a90a86b1 | 1,161 | h | C | PizzaFactory/PizzaFactory/DB/SQLManager.h | chenhuaizhe/PizzaFactory | 704948b459c489b76a9674647e0881dcd167c145 | [
"Apache-2.0"
] | null | null | null | PizzaFactory/PizzaFactory/DB/SQLManager.h | chenhuaizhe/PizzaFactory | 704948b459c489b76a9674647e0881dcd167c145 | [
"Apache-2.0"
] | null | null | null | PizzaFactory/PizzaFactory/DB/SQLManager.h | chenhuaizhe/PizzaFactory | 704948b459c489b76a9674647e0881dcd167c145 | [
"Apache-2.0"
] | null | null | null | //
// SQLManager.h
// PushUps
//
// Created by ChenYuan's Macbook Air on 2020/1/30.
// Copyright © 2020 chenyuan. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <fmdb/FMDB.h>
#import "sqlite3.h"
NS_ASSUME_NONNULL_BEGIN
#define kDB_DIR @"/mydb" //DB_DIR
#define kDataDBName... | 23.22 | 78 | 0.691645 |
0acad6fd12b306848e83c5680e15010d2c0d0e15 | 456 | h | C | src/node/store/wcryptopro.h | microshine/trusted-crypto | 22a6496bd390ebe2ed516a15636d911fae4c6407 | [
"Apache-2.0"
] | null | null | null | src/node/store/wcryptopro.h | microshine/trusted-crypto | 22a6496bd390ebe2ed516a15636d911fae4c6407 | [
"Apache-2.0"
] | null | null | null | src/node/store/wcryptopro.h | microshine/trusted-crypto | 22a6496bd390ebe2ed516a15636d911fae4c6407 | [
"Apache-2.0"
] | 1 | 2020-07-01T16:32:57.000Z | 2020-07-01T16:32:57.000Z | #ifndef WCRYPTOPRO_H_INCLUDED
#define WCRYPTOPRO_H_INCLUDED
#include "../../wrapper/store/provider_cryptopro.h"
#include <nan.h>
#include "../utils/wrap.h"
#include "../helper.h"
#include "../pki/wcert.h"
#include "../pki/wkey.h"
WRAP_CLASS(ProviderCryptopro){
public:
WProviderCryptopro(){};
~WProviderCryptopro()... | 19 | 51 | 0.725877 |
17b29bd5909bfe5a479b42eb833422945a10fffa | 3,004 | c | C | output-bird.c | kristapsdz/rpki-client | 2fe4b93d8a8a0f23d5946a8cabeda6ad37498872 | [
"0BSD"
] | 25 | 2019-06-17T14:12:18.000Z | 2022-01-09T22:19:26.000Z | output-bird.c | kristapsdz/rpki-client | 2fe4b93d8a8a0f23d5946a8cabeda6ad37498872 | [
"0BSD"
] | 17 | 2019-06-19T19:52:25.000Z | 2020-04-05T11:03:26.000Z | output-bird.c | kristapsdz/rpki-client | 2fe4b93d8a8a0f23d5946a8cabeda6ad37498872 | [
"0BSD"
] | 5 | 2019-06-23T15:48:02.000Z | 2020-04-05T01:28:05.000Z | /* $OpenBSD$ */
/*
* Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2020 Robert Scheck <robert@fedoraproject.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this p... | 26.121739 | 75 | 0.640479 |
8d100b3d49af2049f6c7e4b9ac1752b70beba08a | 903 | h | C | VPKReader/TriStateTreeCtrl.h | hufuman/VPKReader | d17af846a8212caa1e739852e266fe8ee6a5c1ea | [
"MIT"
] | 14 | 2015-05-07T15:05:38.000Z | 2020-12-04T07:00:45.000Z | VPKReader/TriStateTreeCtrl.h | hufuman/VPKReader | d17af846a8212caa1e739852e266fe8ee6a5c1ea | [
"MIT"
] | null | null | null | VPKReader/TriStateTreeCtrl.h | hufuman/VPKReader | d17af846a8212caa1e739852e266fe8ee6a5c1ea | [
"MIT"
] | 6 | 2015-05-21T16:03:03.000Z | 2021-05-17T17:17:52.000Z | #pragma once
// CTriStateTreeCtrl
enum TriStateTreeState
{
TSS_None = 0,
TSS_UnChecked = 1,
TSS_Checked = 2,
TSS_Indeterminate = 3,
};
class CTriStateTreeCtrl : public CTreeCtrl
{
DECLARE_DYNAMIC(CTriStateTreeCtrl)
public:
CTriStateTreeCtrl();
virtual ~CTriStateTreeCtr... | 20.522727 | 74 | 0.727575 |
4f72946a60aac609be49eecb1617f029800967bc | 2,857 | h | C | src/qt/governancelist.h | kittywhiskers/dash | f329625b67eb1943a2f0b68a12b3bd25052e41ab | [
"MIT"
] | null | null | null | src/qt/governancelist.h | kittywhiskers/dash | f329625b67eb1943a2f0b68a12b3bd25052e41ab | [
"MIT"
] | null | null | null | src/qt/governancelist.h | kittywhiskers/dash | f329625b67eb1943a2f0b68a12b3bd25052e41ab | [
"MIT"
] | null | null | null | #ifndef BITCOIN_QT_GOVERNANCELIST_H
#define BITCOIN_QT_GOVERNANCELIST_H
#include <governance/object.h>
#include <primitives/transaction.h>
#include <sync.h>
#include <util/system.h>
#include <QAbstractTableModel>
#include <QDateTime>
#include <QMenu>
#include <QSortFilterProxyModel>
#include <QTimer>
#include <QWidge... | 24.418803 | 91 | 0.720686 |
4f9c6e2fba22fd24c1170dbc0566524db8e9c868 | 67,676 | h | C | bsp/microchip/same70/bsp/hri/hri_twihs_e70b.h | cazure/rt-thread | 1bdde743433d331740766c895ff867df6268df20 | [
"Apache-2.0"
] | 1 | 2022-03-02T12:48:01.000Z | 2022-03-02T12:48:01.000Z | bsp/microchip/same70/bsp/hri/hri_twihs_e70b.h | cazure/rt-thread | 1bdde743433d331740766c895ff867df6268df20 | [
"Apache-2.0"
] | 1 | 2018-12-20T00:02:50.000Z | 2018-12-20T00:02:50.000Z | bsp/microchip/same70/bsp/hri/hri_twihs_e70b.h | cazure/rt-thread | 1bdde743433d331740766c895ff867df6268df20 | [
"Apache-2.0"
] | null | null | null | /**
* \file
*
* \brief SAM TWIHS
*
* Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives exclusively with Microchip products.
* It is your respo... | 27.97685 | 114 | 0.766623 |
8b06e6b003ef3c02e9078932998d2b502502ed09 | 21,359 | h | C | catboost/libs/metrics/metric.h | smokarizadeh/catboost | 81848d19d3469d9d5345120bb3c365298a4a9b38 | [
"Apache-2.0"
] | null | null | null | catboost/libs/metrics/metric.h | smokarizadeh/catboost | 81848d19d3469d9d5345120bb3c365298a4a9b38 | [
"Apache-2.0"
] | null | null | null | catboost/libs/metrics/metric.h | smokarizadeh/catboost | 81848d19d3469d9d5345120bb3c365298a4a9b38 | [
"Apache-2.0"
] | 1 | 2018-08-06T14:13:12.000Z | 2018-08-06T14:13:12.000Z | #pragma once
#include "metric_holder.h"
#include "ders_holder.h"
#include <catboost/libs/data/pair.h>
#include <library/threading/local_executor/local_executor.h>
#include <library/containers/2d_array/2d_array.h>
#include <util/generic/hash.h>
#include <catboost/libs/options/loss_description.h>
#include <catboost/l... | 43.324544 | 130 | 0.597125 |
3e4376f611bcf7078a871909ed1da3fc17703f0f | 561 | c | C | packages/PIPS/validation/Transformations/Loop-fusion.sub/loop_fusion07.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/validation/Transformations/Loop-fusion.sub/loop_fusion07.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/validation/Transformations/Loop-fusion.sub/loop_fusion07.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z |
int main() {
double A[1][10000];
{
int lv1, lv2;
for(lv1 = 0; lv1 <= 0; lv1 += 1)
for(lv2 = 0; lv2 <= 9999; lv2 += 1)
A[lv1][lv2] = (double) 1.0;
}
double B[1][10000];
{
int lv1, lv2;
for(lv1 = 0; lv1 <= 0; lv1 += 1)
for(lv2 = 0; lv2 <= 9999; lv2 +... | 20.035714 | 50 | 0.397504 |
e332a7a60660cce405dc09f6bfe7367694531320 | 646 | h | C | sqlite/ext/comdb2/comdb2systblInt.h | bowlofstew/comdb2 | 47fed5ab1c950508855952249985c17cb4ef23c5 | [
"Apache-2.0"
] | null | null | null | sqlite/ext/comdb2/comdb2systblInt.h | bowlofstew/comdb2 | 47fed5ab1c950508855952249985c17cb4ef23c5 | [
"Apache-2.0"
] | null | null | null | sqlite/ext/comdb2/comdb2systblInt.h | bowlofstew/comdb2 | 47fed5ab1c950508855952249985c17cb4ef23c5 | [
"Apache-2.0"
] | null | null | null | #include "sqlite3.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
const sqlite3_module systblTablesModule;
const sqlite3_module systblColumnsModule;
const sqlite3_module systblKeysModule;
const sqlite3_module systblFieldsModule;
const sqlite3_module systblConstraintsModule;
const sqlite3_module systblTbl... | 26.916667 | 50 | 0.803406 |
e2694d7667642799f81a9a79853f474c960d2936 | 780 | c | C | Exam-Problems/Task-44/main.c | kgolov/uni-os-materials | f2dac347ac17fe330fc821d7d37d14d99be67a40 | [
"MIT"
] | null | null | null | Exam-Problems/Task-44/main.c | kgolov/uni-os-materials | f2dac347ac17fe330fc821d7d37d14d99be67a40 | [
"MIT"
] | null | null | null | Exam-Problems/Task-44/main.c | kgolov/uni-os-materials | f2dac347ac17fe330fc821d7d37d14d99be67a40 | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <stdlib.h>
#include <err.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
int main() {
while (1) {
if (write(1, "Enter command> ", 15) <= 0) {
err(1, "Error writing to stdout");
}
char buff[1024];
ssize_t bytes_read = read(0, &buff, sizeof... | 17.727273 | 52 | 0.571795 |
eb1507e165beac11bb88a4a5062ee4c289b90105 | 296 | h | C | src/physics/pmain.h | Kubic-C/spok-engine | a3400c4664c08c049f778681ffa2ccef0180cc96 | [
"Apache-2.0"
] | null | null | null | src/physics/pmain.h | Kubic-C/spok-engine | a3400c4664c08c049f778681ffa2ccef0180cc96 | [
"Apache-2.0"
] | null | null | null | src/physics/pmain.h | Kubic-C/spok-engine | a3400c4664c08c049f778681ffa2ccef0180cc96 | [
"Apache-2.0"
] | null | null | null | /** pmain.h:
* physics main
*
* declerations for (physics_) init, update, term
*/
#ifndef _SPOK_PHYSICS_PMAIN_H_INCLUDED
#define _SPOK_PHYSICS_PMAIN_H_INCLUDED
#include "spok/spok.h"
bool physics_init();
void physics_update();
void physics_term();
#endif // _SPOK_PHYSICS_PMAIN_H_INCLUDED | 18.5 | 49 | 0.766892 |
169bbc9c596c208bf9ae120ce6125d8984e40831 | 2,990 | c | C | pkscheck.c | cjac/pks | e4e8ffe97c252bee8f5e9969c074b4ec6f6529f5 | [
"BSD-4-Clause"
] | 1 | 2021-12-01T13:32:01.000Z | 2021-12-01T13:32:01.000Z | pkscheck.c | cjac/pks | e4e8ffe97c252bee8f5e9969c074b4ec6f6529f5 | [
"BSD-4-Clause"
] | null | null | null | pkscheck.c | cjac/pks | e4e8ffe97c252bee8f5e9969c074b4ec6f6529f5 | [
"BSD-4-Clause"
] | 1 | 2021-12-01T13:32:11.000Z | 2021-12-01T13:32:11.000Z | const char rcsid_dbcheck_c[] = "$Id: pkscheck.c,v 1.3 2003/02/07 01:01:21 rlaager Exp $";
/*
* Copyright (c) 1996, 1997, 1998, 1999, Marc Horowitz. All rights reserved.
* See the LICENSE file in the release for redistribution information.
*/
#include <db.h>
#include <stdio.h>
#include <stdlib.h>
#include <strin... | 25.555556 | 89 | 0.571237 |
d9f5cc11cecac45eb01f6d01e0557a8e75d77cf6 | 5,429 | h | C | kernel/fs/fs.h | mosmeh/yagura | 3dcb539cdb6c7bb7eab5bba522f04058c69f0046 | [
"MIT"
] | null | null | null | kernel/fs/fs.h | mosmeh/yagura | 3dcb539cdb6c7bb7eab5bba522f04058c69f0046 | [
"MIT"
] | null | null | null | kernel/fs/fs.h | mosmeh/yagura | 3dcb539cdb6c7bb7eab5bba522f04058c69f0046 | [
"MIT"
] | null | null | null | #pragma once
#include <common/extra.h>
#include <kernel/api/sys/stat.h>
#include <kernel/api/sys/types.h>
#include <kernel/forward.h>
#include <kernel/lock.h>
#include <stdatomic.h>
#include <stdbool.h>
#include <stddef.h>
#define PATH_SEPARATOR '/'
#define PATH_SEPARATOR_STR "/"
#define ROOT_DIR PATH_SEPARATOR_STR
... | 37.965035 | 80 | 0.688525 |
0d2f910598b0c685fc9de10fc4187abaae3579c9 | 784 | h | C | grayAccumulate/mainwindow.h | xiaozhuo1314/VTK-Qt | 7f04184bf9269bfebf51b8539501b241dd2ba5ca | [
"Apache-2.0"
] | 32 | 2019-01-18T15:30:20.000Z | 2022-03-18T07:38:52.000Z | grayAccumulate/mainwindow.h | xiaozhuo1314/VTK-Qt | 7f04184bf9269bfebf51b8539501b241dd2ba5ca | [
"Apache-2.0"
] | null | null | null | grayAccumulate/mainwindow.h | xiaozhuo1314/VTK-Qt | 7f04184bf9269bfebf51b8539501b241dd2ba5ca | [
"Apache-2.0"
] | 18 | 2019-02-25T09:12:23.000Z | 2022-03-10T09:04:25.000Z | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <vtkActor.h>
#include <vtkBarChartActor.h>
#include <vtkFieldData.h>
#include <vtkImageAccumulate.h>
#include <vtkImageData.h>
#include <vtkIntArray.h>
#include <vtkJPEGReader.h>
#include <vtkLegendBoxActor.h>
#include <vtkProperty2D.h>
#include... | 21.777778 | 38 | 0.778061 |
d4bec38a73568439d1f9fc7fa629f120358da3a2 | 2,378 | c | C | src/menu.c | tobyjaffey/bus-ninja | a62cc7e94df93a7774f7960ea16efede792d8052 | [
"CC0-1.0"
] | 49 | 2015-04-28T16:37:04.000Z | 2022-03-18T01:57:09.000Z | src/menu.c | elasticsheep/bus-ninja | 882079fb03943d58fe8abe864bd00c50a8006c01 | [
"CC0-1.0"
] | 4 | 2018-01-16T11:03:55.000Z | 2019-06-26T20:57:28.000Z | src/menu.c | elasticsheep/bus-ninja | 882079fb03943d58fe8abe864bd00c50a8006c01 | [
"CC0-1.0"
] | 21 | 2015-08-29T12:50:21.000Z | 2021-10-03T17:43:36.000Z | #include "ninja.h"
#include "console.h"
#include "menu.h"
#if 1
/*****************************************************************/
// Define a menu, everything is boilerplate except for the X(SYMBOL, STRING) entries
#undef MENU
#define MENU \
X(MY_MENU_RAT, "rat") \
X(MY_MENU_CAT, "cat") \
X(MY_MENU_DO... | 21.618182 | 84 | 0.550463 |
3346668e7a0f81df75a9fc60522721ad07db68cd | 2,414 | c | C | BatchRunGVKI/amd/automate.c | giuliojiang/LinuxCScripts | 10b1c2f75fc1c1c707988f12e95187efe0b114ec | [
"Apache-2.0"
] | null | null | null | BatchRunGVKI/amd/automate.c | giuliojiang/LinuxCScripts | 10b1c2f75fc1c1c707988f12e95187efe0b114ec | [
"Apache-2.0"
] | null | null | null | BatchRunGVKI/amd/automate.c | giuliojiang/LinuxCScripts | 10b1c2f75fc1c1c707988f12e95187efe0b114ec | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BUFFER_SIZE 1024
#define OPERATION_SUCCESS 0
#define OPERATION_TERMINATED 1
#define OPERATION_ERROR -1
void removeTrailingNewLine(char* s)
{
for (int i = 0; s[i] != '\0'; i++)
{
if (s[i] == '\n')
{
s[i] = '\0';
... | 20.457627 | 63 | 0.551367 |
0d24a0baea2b6d5e5c690bbf0450898952888113 | 748 | c | C | BreakCode/clang/BreakCode.c | Lian0123/TextArt | 26a2378a48fb1e49df067240fcb1dbd50e346a8e | [
"MIT"
] | 2 | 2018-07-29T05:02:53.000Z | 2021-08-16T10:52:59.000Z | BreakCode/js/BreakCode.js | Lian0123/TextArt | 26a2378a48fb1e49df067240fcb1dbd50e346a8e | [
"MIT"
] | null | null | null | BreakCode/js/BreakCode.js | Lian0123/TextArt | 26a2378a48fb1e49df067240fcb1dbd50e346a8e | [
"MIT"
] | null | null | null | /*
* 這是正常的分號: ;
* 這是希臘的分號: ;
* 這是SQL的引號: `
* 這是注音符號四聲: ˋ
* 這是Go語言常用的: :=
* 這是撒瑪利亞字母: ࠺
... | 44 | 54 | 0.145722 |
a68a45205b12de9eda435b5288996c1b47cbad5d | 1,796 | h | C | components/viz/service/display_embedder/in_process_gpu_memory_buffer_manager.h | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | components/viz/service/display_embedder/in_process_gpu_memory_buffer_manager.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | components/viz/service/display_embedder/in_process_gpu_memory_buffer_manager.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_SERVICE_DISPLAY_EMBEDDER_IN_PROCESS_GPU_MEMORY_BUFFER_MANAGER_H_
#define COMPONENTS_VIZ_SERVICE_DISPLAY_EMBEDDER_IN_PROCESS_GPU_MEM... | 35.92 | 90 | 0.775056 |
54e77e267b4ecc5dc0bd37a01c579a10b8896bd2 | 1,369 | c | C | ffmpeg-3.2.5/libavcodec/vp9dsp.c | huyu0415/FFmpeg | 7a3f75791cb3255805bf17126d4074a328f46c8c | [
"Apache-2.0"
] | 3,645 | 2016-08-25T09:31:17.000Z | 2022-03-25T06:28:34.000Z | ffmpeg-3.2.5/libavcodec/vp9dsp.c | huyu0415/FFmpeg | 7a3f75791cb3255805bf17126d4074a328f46c8c | [
"Apache-2.0"
] | 389 | 2016-09-05T07:22:37.000Z | 2022-02-08T10:17:06.000Z | ffmpeg-3.2.5/libavcodec/vp9dsp.c | huyu0415/FFmpeg | 7a3f75791cb3255805bf17126d4074a328f46c8c | [
"Apache-2.0"
] | 764 | 2016-08-26T09:19:00.000Z | 2022-03-22T12:07:16.000Z | /*
* VP9 compatible video decoder
*
* Copyright (C) 2013 Ronald S. Bultje <rsbultje gmail com>
* Copyright (C) 2013 Clément Bœsch <u pkh me>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as pu... | 32.595238 | 79 | 0.702703 |
da9d61c9494beaf365f5953e9113eccffa0f5f41 | 912 | h | C | src/qt/wazzleaddressvalidator.h | MonkeyD-Core/wazzle | c45a8ea2b260accd88dcfa8c4a082c2e5074df25 | [
"MIT"
] | 1 | 2020-05-04T23:21:20.000Z | 2020-05-04T23:21:20.000Z | src/qt/wazzleaddressvalidator.h | MonkeyD-Core/wazzle | c45a8ea2b260accd88dcfa8c4a082c2e5074df25 | [
"MIT"
] | null | null | null | src/qt/wazzleaddressvalidator.h | MonkeyD-Core/wazzle | c45a8ea2b260accd88dcfa8c4a082c2e5074df25 | [
"MIT"
] | null | null | null | // Copyright (c) 2011-2014 The Wazzle Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef WAZZLE_QT_WAZZLEADDRESSVALIDATOR_H
#define WAZZLE_QT_WAZZLEADDRESSVALIDATOR_H
#include <QValidator>
/** Base58 entry... | 25.333333 | 71 | 0.776316 |
fbb40630f6340c8fb2769d238675d0914344f052 | 58,741 | c | C | re2c/benchmarks/submatch_dfa_aot/pregen/re2c/03__uri_simple-stadfa.c | adesutherland/crexx | e8d17152c565e9387ee8c33c653b4910b56f5165 | [
"MIT"
] | 8 | 2020-11-08T15:36:14.000Z | 2022-03-27T13:50:07.000Z | re2c/benchmarks/submatch_dfa_aot/pregen/re2c/03__uri_simple-stadfa.c | adesutherland/crexx | e8d17152c565e9387ee8c33c653b4910b56f5165 | [
"MIT"
] | 98 | 2020-11-12T11:49:41.000Z | 2022-03-27T17:24:13.000Z | re2c/benchmarks/submatch_dfa_aot/pregen/re2c/03__uri_simple-stadfa.c | adesutherland/crexx | e8d17152c565e9387ee8c33c653b4910b56f5165 | [
"MIT"
] | 10 | 2021-03-31T13:50:52.000Z | 2021-12-02T03:34:42.000Z | /* Generated by re2c */
#line 1 "../../../benchmarks/submatch_dfa_aot/src/re2c/03__uri_simple.re"
#include <assert.h>
#include <stdlib.h>
#include "common.h"
#line 15 "../../../benchmarks/submatch_dfa_aot/src/re2c/common.re"
typedef struct taglist_t {
struct taglist_t *pred;
long dist;
} taglist_t;
typedef ... | 12.778116 | 120 | 0.471187 |
135d90f83d221d22414112bc74281c6cc8ee68bc | 5,380 | c | C | kubernetes/model/io_k8s_api_core_v1_binding.c | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | kubernetes/model/io_k8s_api_core_v1_binding.c | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | kubernetes/model/io_k8s_api_core_v1_binding.c | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | #include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "io_k8s_api_core_v1_binding.h"
io_k8s_api_core_v1_binding_t *io_k8s_api_core_v1_binding_create(
char *api_version,
char *kind,
io_k8s_apimachinery_pkg_apis_meta_v1_object_meta_t *metadata,
io_k8s_api_core_v1_object_reference_t *targe... | 32.606061 | 134 | 0.74052 |
a179e19a8d34b1c6aeb96168626fd205617cbc8c | 1,791 | h | C | libfreerdp-core/nego.h | viralkatwad12/FreeRDP-old | 0c1e533b09aabc0c8abb1865dbfb79ebe52a7f58 | [
"Apache-2.0"
] | 7 | 2015-01-27T11:11:05.000Z | 2021-12-08T22:25:16.000Z | libfreerdp-core/nego.h | viralkatwad12/FreeRDP-old | 0c1e533b09aabc0c8abb1865dbfb79ebe52a7f58 | [
"Apache-2.0"
] | 3 | 2015-02-09T10:05:57.000Z | 2021-03-05T09:25:48.000Z | libfreerdp-core/nego.h | viralkatwad12/FreeRDP-old | 0c1e533b09aabc0c8abb1865dbfb79ebe52a7f58 | [
"Apache-2.0"
] | 572 | 2015-01-26T04:44:44.000Z | 2022-03-31T12:18:59.000Z | /*
FreeRDP: A Remote Desktop Protocol client.
RDP Protocol Security Negotiation
Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the ... | 26.338235 | 75 | 0.761586 |
a1cd3000d8277e73a157dffaa6c2e9dab44eba2b | 2,216 | c | C | decreasoner.macosx/software/relsat-dist/gmp-3.1/mpfr/tests/tset_str.c | problem-frames/openpf | 55100bd9cca61a182fc00cd3818bd59a6343ae6e | [
"BSD-3-Clause"
] | 1 | 2019-05-03T20:03:11.000Z | 2019-05-03T20:03:11.000Z | decreasoner.x86/software/relsat-dist/gmp-3.1/mpfr/tests/tset_str.c | problem-frames/openpf | 55100bd9cca61a182fc00cd3818bd59a6343ae6e | [
"BSD-3-Clause"
] | null | null | null | decreasoner.x86/software/relsat-dist/gmp-3.1/mpfr/tests/tset_str.c | problem-frames/openpf | 55100bd9cca61a182fc00cd3818bd59a6343ae6e | [
"BSD-3-Clause"
] | null | null | null | /* Test file for mpfr_set_str.
Copyright (C) 1999 PolKA project, Inria Lorraine and Loria
This file is part of the MPFR Library.
The MPFR Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either v... | 25.181818 | 84 | 0.630866 |
1f5df8c03b120d02e85cca84416b72f1ea6fbf1f | 3,849 | h | C | src/script.h | 2a5A1Ghu1/DigitalNote-2 | f129cdab4b19dcd98945cfe199c49e5f72f91b8c | [
"MIT"
] | 10 | 2019-06-06T04:08:38.000Z | 2022-01-07T13:02:17.000Z | src/script.h | 2a5A1Ghu1/DigitalNote-2 | f129cdab4b19dcd98945cfe199c49e5f72f91b8c | [
"MIT"
] | 21 | 2019-07-19T18:36:34.000Z | 2022-03-06T09:59:51.000Z | src/script.h | 2a5A1Ghu1/DigitalNote-2 | f129cdab4b19dcd98945cfe199c49e5f72f91b8c | [
"MIT"
] | 24 | 2019-04-19T12:24:16.000Z | 2022-01-07T13:02:20.000Z | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef H_BITCOIN_SCRIPT
#define H_BITCOIN_SCRIPT
#include <string>
#include <vec... | 51.32 | 139 | 0.794232 |
dd150ce83fd19e6d102fd3bf7bd680047c2827a6 | 1,289 | c | C | source/main.c | Cruel/DspDump | 873ba4676eae6363908ddde598fc2ebf9bba10ad | [
"MIT"
] | 56 | 2016-04-23T21:46:19.000Z | 2022-02-21T23:04:31.000Z | source/main.c | Cruel/DspDump | 873ba4676eae6363908ddde598fc2ebf9bba10ad | [
"MIT"
] | 2 | 2017-06-24T14:41:41.000Z | 2017-08-13T16:36:09.000Z | source/main.c | Cruel/DspDump | 873ba4676eae6363908ddde598fc2ebf9bba10ad | [
"MIT"
] | 9 | 2016-08-14T11:53:55.000Z | 2018-07-02T19:26:00.000Z | #include <string.h>
#include <stdio.h>
#include <3ds.h>
int main()
{
Handle rsrc;
bool failed = true;
gfxInitDefault();
consoleInit(GFX_TOP, NULL);
printf("\x1b[10;10HFetching DSP component...\x1b[12;10H");
rsrc = envGetHandle("hb:ndsp");
if (!rsrc)
{
printf("\x1b[31;1mFailed\x1b[0m: Need to run using *ha... | 18.414286 | 65 | 0.636928 |
1c01d9bf0c434124fab94c72f2e54cc4725922ac | 10,557 | h | C | libs/PositionBasedDynamics/Demos/Utils/IndexedTetMesh.h | joeedh/game.js | 9271efd2cbbc52ff3ceca7745a0fda114ab613d6 | [
"MIT"
] | null | null | null | libs/PositionBasedDynamics/Demos/Utils/IndexedTetMesh.h | joeedh/game.js | 9271efd2cbbc52ff3ceca7745a0fda114ab613d6 | [
"MIT"
] | null | null | null | libs/PositionBasedDynamics/Demos/Utils/IndexedTetMesh.h | joeedh/game.js | 9271efd2cbbc52ff3ceca7745a0fda114ab613d6 | [
"MIT"
] | null | null | null | #ifndef __INDEXEDTETMESH_H__
#define __INDEXEDTETMESH_H__
#include <vector>
#include <Eigen/Dense>
namespace PBD
{
template <class VertexData>
class IndexedTetMesh
{
public:
struct Edge
{
unsigned int m_vert[2];
};
struct Face
{
// edge indices
unsigned int m_edges[3];
// tet indices
un... | 27.928571 | 152 | 0.662688 |
de34767a29da399e450e8c9f141032a78906bbb5 | 522 | h | C | src/arch/unix/x11/qnxshm.h | swingflip/C64_mini_VICE | 7a6d9d41ae60409a2bb985bb8d6324a7269a0daa | [
"Apache-2.0"
] | 2 | 2018-11-15T19:52:34.000Z | 2022-01-17T19:45:01.000Z | src/arch/unix/x11/qnxshm.h | Classicmods/C64_mini_VICE | 7a6d9d41ae60409a2bb985bb8d6324a7269a0daa | [
"Apache-2.0"
] | null | null | null | src/arch/unix/x11/qnxshm.h | Classicmods/C64_mini_VICE | 7a6d9d41ae60409a2bb985bb8d6324a7269a0daa | [
"Apache-2.0"
] | 3 | 2019-06-30T05:37:04.000Z | 2021-12-04T17:12:35.000Z | /* qnxshm.h
*
* System V Shared Memory Emulation for QNX
*
*/
#ifndef VICE_QNXSHM_H
#define VICE_QNXSHM_H
#include "qnxipc.h"
#ifdef __cplusplus
extern "C"
{
#endif
#define SHM_R 0400
#define SHM_W 0200
struct shmid_ds {
int dummy;
int shm_nattch;
};
extern void *shmat(int shmid, const void *shmaddr, ... | 14.914286 | 63 | 0.716475 |
e3c4989445493b3422b2722809a2ee3e00459430 | 379 | c | C | ITP/Atividades/ITP - Ponteiros 1 - Lista/2.c | danielhenrif/C | 0280e65b9c21d5ae7cb697a8df562373c42c3a3f | [
"MIT"
] | null | null | null | ITP/Atividades/ITP - Ponteiros 1 - Lista/2.c | danielhenrif/C | 0280e65b9c21d5ae7cb697a8df562373c42c3a3f | [
"MIT"
] | null | null | null | ITP/Atividades/ITP - Ponteiros 1 - Lista/2.c | danielhenrif/C | 0280e65b9c21d5ae7cb697a8df562373c42c3a3f | [
"MIT"
] | 1 | 2021-01-23T18:39:46.000Z | 2021-01-23T18:39:46.000Z | #include <stdio.h>
#include <string.h>
void inverte(char *num){
int aux = strlen(num)-1;
char aux2;
for(int i = 0 ; i < (strlen(num)/2 ) ; i++){
aux2 = num[i];
num[i] = num[i+aux];
num[i+aux] = aux2;
aux -= 2;
}
printf("%s",num);
}
int main(){
char numero [100];
sc... | 18.95 | 48 | 0.488127 |
e3d86d90c91a9a1ec10b3835c416a17733ed8b30 | 313 | c | C | book/windrop.c | wkoszek/ncurses_guide | cfaa764f77471657f07b9398a77fc392bd4b356e | [
"BSD-2-Clause"
] | 47 | 2015-08-15T04:07:39.000Z | 2022-02-04T06:22:01.000Z | book/windrop.c | wkoszek/ncurses_guide | cfaa764f77471657f07b9398a77fc392bd4b356e | [
"BSD-2-Clause"
] | null | null | null | book/windrop.c | wkoszek/ncurses_guide | cfaa764f77471657f07b9398a77fc392bd4b356e | [
"BSD-2-Clause"
] | 15 | 2017-07-20T23:11:13.000Z | 2022-02-11T10:54:50.000Z | #include <curses.h>
#define TSIZE 18
int main()
{
WINDOW *b;
int maxy,maxx,y,x;
initscr();
getmaxyx(stdscr,maxy,maxx);
x = (maxx-TSIZE) >> 1;
b = newwin(1,TSIZE,0,x);
waddstr(b,"I'm getting sick!");
for(y=1;y<maxy;y++)
{
mvwin(b,y,x);
wrefresh(b);
getch();
}
endwin();
return 0;
}
| 10.793103 | 32 | 0.5623 |
f669c4824c552a9f8a4400942e7c4a706789dc59 | 4,849 | c | C | solutions/test_csi1/app/src/csi/driver/uart/uart_asyncTransferChar_test.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 9 | 2020-05-12T03:01:55.000Z | 2021-08-12T10:22:31.000Z | solutions/test_csi1/app/src/csi/driver/uart/uart_asyncTransferChar_test.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | null | null | null | solutions/test_csi1/app/src/csi/driver/uart/uart_asyncTransferChar_test.c | 1847123212/YoC-open | f4e20c67256472d863ea6d118e3ecbaa1e879d4a | [
"Apache-2.0"
] | 12 | 2020-04-15T11:37:33.000Z | 2021-09-13T13:19:04.000Z | #include <uart_test.h>
__attribute__((aligned(32))) static const char *character = "a";
volatile static uint8_t receive_block = 0;
static void uart_callback(int32_t idx, usart_event_e event)
{
if (event == USART_EVENT_RECEIVE_COMPLETE) {
receive_block = 0;
}
}
int test_uart_async_send_char(void *ar... | 32.326667 | 88 | 0.705506 |
91cc7b1bb02c306317e4ae072b724f9c39ac8b16 | 730 | h | C | Simulator_Linux/src/util/util.h | Mrxiang/FreeRTOS-W8 | 32aedaee2034f76e38b9267bd507f0d1ceaf4adc | [
"MIT"
] | null | null | null | Simulator_Linux/src/util/util.h | Mrxiang/FreeRTOS-W8 | 32aedaee2034f76e38b9267bd507f0d1ceaf4adc | [
"MIT"
] | null | null | null | Simulator_Linux/src/util/util.h | Mrxiang/FreeRTOS-W8 | 32aedaee2034f76e38b9267bd507f0d1ceaf4adc | [
"MIT"
] | null | null | null | //
// Created by xshx on 2021/9/29.
//
#ifndef FREERTOS_W8_COMMEN_H
#define FREERTOS_W8_COMMEN_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "main.h"
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
uint8_t StrGetUInt8( const uint8_t * i_pSrc );
uint16_t StrGetUInt16( const uint8_t ... | 26.071429 | 64 | 0.752055 |
8c9f93aa82dd172a2e5ae98cb2dae99deedfd003 | 1,194 | h | C | src/core/src/game/player.h | Mahmuttalemdar/TicTacToe.AI | ccd7f51c5bdfdd86996790db287d2f3d1628809b | [
"MIT"
] | 1 | 2021-04-19T12:36:02.000Z | 2021-04-19T12:36:02.000Z | src/core/src/game/player.h | Mahmuttalemdar/TicTacToe.AI | ccd7f51c5bdfdd86996790db287d2f3d1628809b | [
"MIT"
] | null | null | null | src/core/src/game/player.h | Mahmuttalemdar/TicTacToe.AI | ccd7f51c5bdfdd86996790db287d2f3d1628809b | [
"MIT"
] | null | null | null | #ifndef PLAYER_H
#define PLAYER_H
#include <QString>
/**
* @brief The Player class: holds the all player
* data, type and reprensetation
*/
class Player
{
public:
// Player types
enum class Type
{
HUMAN,
AI,
NONE
};
/**
* @brief C-tor
* @param constructs an ob... | 18.369231 | 60 | 0.583752 |
8cd34a5d3b029a0594f8f4640ce59a51540a72d3 | 537 | h | C | source/pkgsrc/databases/mysql80-client/patches/patch-include_tables__contained__in.h | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | 1 | 2021-11-20T22:46:39.000Z | 2021-11-20T22:46:39.000Z | source/pkgsrc/databases/mysql80-client/patches/patch-include_tables__contained__in.h | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | source/pkgsrc/databases/mysql80-client/patches/patch-include_tables__contained__in.h | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | $NetBSD: patch-include_tables__contained__in.h,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
* some systems have ffsll in strings.h
* for systems that don't have ffsll, use the provided version
--- include/tables_contained_in.h.orig 2019-12-09 19:53:17.000000000 +0000
+++ include/tables_contained_in.h
@@ -26,6 +26,16 @@
... | 21.48 | 87 | 0.724395 |
7b6db60df3682d09b18abc0dc16450d8e666a0e3 | 1,081 | c | C | src/termcaps/ft_trmread.c | ncoden/libft-termcaps | db5d6bf65a0edaae6bae68be22e8939fd175b324 | [
"Apache-2.0"
] | 2 | 2020-01-16T16:44:13.000Z | 2020-05-24T07:32:17.000Z | src/termcaps/ft_trmread.c | ncoden/libft-termcaps | db5d6bf65a0edaae6bae68be22e8939fd175b324 | [
"Apache-2.0"
] | null | null | null | src/termcaps/ft_trmread.c | ncoden/libft-termcaps | db5d6bf65a0edaae6bae68be22e8939fd175b324 | [
"Apache-2.0"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_trmread.c :+: :+: :+: ... | 40.037037 | 80 | 0.188714 |
f41d749b9e1e26895c4e74d8d9dd88ae7ae1a283 | 142 | h | C | include/kernel/sysapi.h | jackie8tao/linda | b2379f9341864fcb98baf985caac0dd4f92c3661 | [
"MIT"
] | 3 | 2019-03-31T14:44:20.000Z | 2021-10-12T16:58:26.000Z | include/kernel/sysapi.h | taodf/linda | b2379f9341864fcb98baf985caac0dd4f92c3661 | [
"MIT"
] | null | null | null | include/kernel/sysapi.h | taodf/linda | b2379f9341864fcb98baf985caac0dd4f92c3661 | [
"MIT"
] | null | null | null | /*
* 系统api声明和定义
*
* @author Jackie Tao <jackie8tao@gmail.com>
*/
#ifndef __LINDA_SYSAPI_H
#define __LINDA_SYSAPI_H
int print();
#endif
| 10.923077 | 44 | 0.704225 |
f0d184649451338501fd8caffef28ad153f0782a | 2,952 | h | C | sblist.h | djeysx/microsocks | 3d49850521d5a995982ad21519f773f6c5b8fd5b | [
"MIT"
] | 814 | 2017-06-09T22:51:09.000Z | 2022-03-31T06:28:37.000Z | src/sblist.h | OnceUponALoop/microsocks | 917c44960907d20309f31519a8799e873b34e87c | [
"MIT"
] | 49 | 2017-05-21T08:00:13.000Z | 2022-02-03T19:07:08.000Z | src/sblist.h | OnceUponALoop/microsocks | 917c44960907d20309f31519a8799e873b34e87c | [
"MIT"
] | 205 | 2017-05-06T13:05:49.000Z | 2022-03-13T22:44:58.000Z | #ifndef SBLIST_H
#define SBLIST_H
/* this file is part of libulz, as of commit 8ab361a27743aaf025323ee43b8b8876dc054fdd
modified for direct inclusion in microsocks. */
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
/*
* simple buffer list.
*
* this thing here is basically a generic dynamic array
... | 31.741935 | 94 | 0.741531 |
4ecbb68f350a4b6e2cd3df422f17ca03d2cc55d1 | 495 | h | C | arp_table.h | naoki9911/small-tcpip-stack | f035f3d69738905453f0eb33f9f2f02bb0bb805a | [
"MIT"
] | null | null | null | arp_table.h | naoki9911/small-tcpip-stack | f035f3d69738905453f0eb33f9f2f02bb0bb805a | [
"MIT"
] | null | null | null | arp_table.h | naoki9911/small-tcpip-stack | f035f3d69738905453f0eb33f9f2f02bb0bb805a | [
"MIT"
] | null | null | null | #ifndef _ARP_TABLE_H_
#define _ARP_TABLE_H_
#include <stdint.h>
#include <time.h>
struct arp_entry{
struct arp_list *list;
uint8_t hw[6];
uint8_t ip[4];
time_t update_time;
};
int arp_table_init();
void* arp_table_thread(void *arg);
struct arp_entry* arp_table_add(uint8_t *hw, uint8_t *ip);
int arp_t... | 19.8 | 58 | 0.751515 |
8e343e7fbd569dcf8eba9e654448bddc1cb42989 | 890 | h | C | PrivateFrameworks/CloudKitDaemon.framework/CKDPCommentSummary.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/CloudKitDaemon.framework/CKDPCommentSummary.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/CloudKitDaemon.framework/CKDPCommentSummary.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/CloudKitDaemon.framework/CloudKitDaemon
*/
@interface CKDPCommentSummary : PBCodable <NSCopying> {
CKDPCommentedOnId * _identifier;
CKDPLikeInfo * _likeInfo;
}
@property (nonatomic, readonly) bool hasIdentifier;
@property (nonatomic, ... | 26.969697 | 83 | 0.741573 |
617a3289a05ee97660b697c9469168d669084e82 | 824 | h | C | IPC/dslIPCMessageProcessor.h | TotteKarlsson/dsl | 3807cbe5f90a3cd495979eafa8cf5485367b634c | [
"BSD-2-Clause"
] | null | null | null | IPC/dslIPCMessageProcessor.h | TotteKarlsson/dsl | 3807cbe5f90a3cd495979eafa8cf5485367b634c | [
"BSD-2-Clause"
] | null | null | null | IPC/dslIPCMessageProcessor.h | TotteKarlsson/dsl | 3807cbe5f90a3cd495979eafa8cf5485367b634c | [
"BSD-2-Clause"
] | null | null | null | #ifndef dslIPCMessageProcessorH
#define dslIPCMessageProcessorH
#include <string>
#include "dslThread.h"
#include "dslIPCExporter.h"
//----------------------------------------------------------------
namespace dsl
{
class IPCServer;
class DSL_IPC IPCMessageProcessor : public Thread
{
public:
... | 25.75 | 83 | 0.402913 |
e8aaf39bd925c7d15da41a24feca00f1fb0c42ec | 7,021 | c | C | sdk/sdk/driver/xcpu_master/file.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | 1 | 2021-10-09T08:05:50.000Z | 2021-10-09T08:05:50.000Z | sdk/sdk/driver/xcpu_master/file.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | sdk/sdk/driver/xcpu_master/file.c | doyaGu/C0501Q_HWJL01 | 07a71328bd9038453cbb1cf9c276a3dd1e416d63 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2013 ITE Technology Corp. All Rights Reserved.
*/
/** @file file.c
*
* @version 0.1
*/
#include "itx.h"
#if ITX_BOOT_TYPE == ITX_HOST_BOOT
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "file.h"
#include "xcpu_io.h"
#include "sys_msgq.h"
#include "xcpu_m... | 31.626126 | 100 | 0.470303 |
c3e51f88d0b837c51b0549195aeaaa185f893c3f | 220 | h | C | Example/LZYRuntime/runtimeViewController.h | sjmlzyan/LZYRuntime | 5c1b8540f7c09e20a374a591bdf39c8f46e03b0c | [
"MIT"
] | null | null | null | Example/LZYRuntime/runtimeViewController.h | sjmlzyan/LZYRuntime | 5c1b8540f7c09e20a374a591bdf39c8f46e03b0c | [
"MIT"
] | null | null | null | Example/LZYRuntime/runtimeViewController.h | sjmlzyan/LZYRuntime | 5c1b8540f7c09e20a374a591bdf39c8f46e03b0c | [
"MIT"
] | null | null | null | //
// runtimeViewController.h
// LZYRuntime
//
// Created by sjmlzyan on 09/07/2018.
// Copyright (c) 2018 sjmlzyan. All rights reserved.
//
@import UIKit;
@interface runtimeViewController : UIViewController
@end
| 15.714286 | 53 | 0.718182 |
250d58672b3410f2a97e77271df16dd431bde6e8 | 8,095 | h | C | content/browser/memory/memory_coordinator_impl.h | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | content/browser/memory/memory_coordinator_impl.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | content/browser/memory/memory_coordinator_impl.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_MEMORY_MEMORY_COORDINATOR_IMPL_H_
#define CONTENT_BROWSER_MEMORY_MEMORY_COORDINATOR_IMPL_H_
#include "base/callback.h"
#include "... | 40.475 | 80 | 0.763558 |
bad4e15db5a266a591be0149f3147b6ab5f5c947 | 794 | c | C | blinky/test/blinky/mocks/movement_fake.c | disroop/DisroopEmbeddedHipster | a485af1a307fb5c88a643edc9c09c0ee4d9b0336 | [
"Apache-2.0"
] | 10 | 2021-01-22T10:00:48.000Z | 2022-01-12T14:19:26.000Z | blinky/test/blinky/mocks/movement_fake.c | disroop/DisroopEmbeddedHipster | a485af1a307fb5c88a643edc9c09c0ee4d9b0336 | [
"Apache-2.0"
] | 28 | 2021-05-26T18:58:52.000Z | 2022-01-13T21:29:23.000Z | blinky/test/blinky/mocks/movement_fake.c | disroop/DisroopEmbeddedHipster | a485af1a307fb5c88a643edc9c09c0ee4d9b0336 | [
"Apache-2.0"
] | null | null | null | #include "movement_fake.h"
#include <stdlib.h>
#include "mocks_definitions.h"
typedef struct movement_struct {
bool rotated;
int counter;
} movement_struct;
movement movement_create(void (*gyro_xyz)(float*)) {
UNUSED(gyro_xyz);
movement movement = malloc(sizeof(movement_struct));
movement->rotat... | 24.8125 | 67 | 0.731738 |
451ba1763a6d2ee64039ab5fa829d8080c80d4a3 | 540 | h | C | Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/PlatformIncl_UnixLike.h | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-12T14:13:45.000Z | 2022-03-12T14:13:45.000Z | Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/PlatformIncl_UnixLike.h | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-01-13T04:29:38.000Z | 2022-03-12T01:05:31.000Z | Code/Framework/AzCore/Platform/Common/UnixLike/AzCore/PlatformIncl_UnixLike.h | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <unistd.h>
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
// types li... | 21.6 | 100 | 0.740741 |
bf98e2530ffd91234e770d6b4a0487682ed1e868 | 1,432 | h | C | benchmarks/common/m5ops.h | adityaabhiram3/gem5-SALAM | d9da3ab343bcb89ff42492db59afa2b366265e0f | [
"BSD-3-Clause"
] | null | null | null | benchmarks/common/m5ops.h | adityaabhiram3/gem5-SALAM | d9da3ab343bcb89ff42492db59afa2b366265e0f | [
"BSD-3-Clause"
] | null | null | null | benchmarks/common/m5ops.h | adityaabhiram3/gem5-SALAM | d9da3ab343bcb89ff42492db59afa2b366265e0f | [
"BSD-3-Clause"
] | null | null | null | #include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#define ENABLED 1
#if defined(__arm__)
static void m5_checkpoint(void)
{
__asm__ __volatile__ ("mov r0, #0; mov r1, #0; mov r2, #0; mov r3, #0; .inst 0xEE000110 | (0x43 << 16);");
};
static void m5_dump_stats(void)
{
__asm__ __volatile__ ("mov r0, #0; mov r1... | 27.538462 | 107 | 0.643855 |
c7491c33947b8fe52cd643a147baef3e34156654 | 169 | c | C | cdios-tests/error-for-update.c | sgpthomas/diospyros | 27d4e5e5d4e56a6dc5860d7c7d5eefb27de24a5d | [
"MIT"
] | 27 | 2020-02-16T22:26:34.000Z | 2022-02-17T04:17:19.000Z | cdios-tests/error-for-update.c | sgpthomas/diospyros | 27d4e5e5d4e56a6dc5860d7c7d5eefb27de24a5d | [
"MIT"
] | 77 | 2020-01-21T15:37:35.000Z | 2022-03-11T19:48:43.000Z | cdios-tests/error-for-update.c | sgpthomas/diospyros | 27d4e5e5d4e56a6dc5860d7c7d5eefb27de24a5d | [
"MIT"
] | 1 | 2021-09-27T20:35:15.000Z | 2021-09-27T20:35:15.000Z | #define SIZE 8
void matrix_multiply(int a_in[SIZE], float scalar_in, float b_out[SIZE]) {
for (int i = SIZE; i < 0; i*=2) {
b_out[i] = a_in[i] * scalar_in;
}
}
| 21.125 | 74 | 0.615385 |
ba1071029b7558de345ab8d70b858f8c3be9ff1c | 11,607 | c | C | thecl/gmips.c | ManDude/gooc | 7f6738b89f66908b5f95dc89310b82e678faaaf8 | [
"BSD-2-Clause"
] | 9 | 2020-04-05T15:12:27.000Z | 2021-12-26T11:47:33.000Z | thecl/gmips.c | ManDude/thtk | 7f6738b89f66908b5f95dc89310b82e678faaaf8 | [
"BSD-2-Clause"
] | null | null | null | thecl/gmips.c | ManDude/thtk | 7f6738b89f66908b5f95dc89310b82e678faaaf8 | [
"BSD-2-Clause"
] | 2 | 2020-07-15T15:23:04.000Z | 2020-09-10T01:22:26.000Z | /*
* Redistribution and use in source and binary forms, with
* or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain this list
* of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce t... | 33.546243 | 110 | 0.513483 |
0f73d9f5e593f48d87f617526cc35496c6278be0 | 3,117 | h | C | models/current/mops2.0/src/BGC_DIAGNOSTICS.h | gaia3intc/tmm_msi | 12b39dd9177ee65b4bbe5e369900c63888221c0d | [
"MIT"
] | null | null | null | models/current/mops2.0/src/BGC_DIAGNOSTICS.h | gaia3intc/tmm_msi | 12b39dd9177ee65b4bbe5e369900c63888221c0d | [
"MIT"
] | null | null | null | models/current/mops2.0/src/BGC_DIAGNOSTICS.h | gaia3intc/tmm_msi | 12b39dd9177ee65b4bbe5e369900c63888221c0d | [
"MIT"
] | null | null | null | C$Header: /Users/ikriest/CVS/mops/BGC_DIAGNOSTICS.h,v 1.2 2016/06/03 09:28:59 ikriest Exp $
C$Name: mops-2_0 $
! KM restructured for backwards campatibility with PFT (8/2021)
! MOPS arrays for diagnostics
! f8_out added by T.Tanioka (Nov 2020)
real*8 f1_out(bgc_ktotal), ! primary production
& ... | 35.022472 | 110 | 0.647738 |
67f542c13e14b4516f52edd2eb24536b50d9f930 | 793 | h | C | src/rasterizator_write.h | andryblack/pcb-printer-host | 8e2980eb6584ea832720ab793b2c4454d0fe4e4e | [
"BSL-1.0",
"MIT"
] | 3 | 2020-06-18T07:24:12.000Z | 2020-10-05T18:51:41.000Z | src/rasterizator_write.h | andryblack/pcb-printer-host | 8e2980eb6584ea832720ab793b2c4454d0fe4e4e | [
"BSL-1.0",
"MIT"
] | null | null | null | src/rasterizator_write.h | andryblack/pcb-printer-host | 8e2980eb6584ea832720ab793b2c4454d0fe4e4e | [
"BSL-1.0",
"MIT"
] | 1 | 2020-01-29T10:28:38.000Z | 2020-01-29T10:28:38.000Z | #ifndef _RASTERIZATOR_WRITE_H_INCLUDED_
#define _RASTERIZATOR_WRITE_H_INCLUDED_
#include "rasterizator.h"
#include <png.h>
class RasterizatorWrite : public RefCounter {
private:
png_structp m_write;
png_infop m_info;
static void error_fn(png_structp png_ptr,
png_const_charp error_msg);
static void warning... | 25.580645 | 58 | 0.778058 |
71c5da62ba4709863ee258345158cfea7aa5773b | 4,625 | h | C | sys/sys/cputopo.h | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | sys/sys/cputopo.h | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | sys/sys/cputopo.h | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | /*
* The 3-Clause BSD License:
* Copyright (c) 2020 Martin Kelly
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* ... | 34.774436 | 118 | 0.712649 |
b9b5261c0deca1bd65b534f1e0123e2c22620322 | 7,428 | h | C | tttp_scancodes.h | SolraBizna/libtttp | 34842540093a3606aa08ac8f06808236a69973ea | [
"Zlib"
] | null | null | null | tttp_scancodes.h | SolraBizna/libtttp | 34842540093a3606aa08ac8f06808236a69973ea | [
"Zlib"
] | null | null | null | tttp_scancodes.h | SolraBizna/libtttp | 34842540093a3606aa08ac8f06808236a69973ea | [
"Zlib"
] | null | null | null | #ifndef TTTP_SCANCODES_H
#define TTTP_SCANCODES_H
#if __cplusplus
extern "C" {
#endif
enum tttp_scancode {
KEY_INVALID = 0x000, // "no scancode", for use in APIs only
KEY_BACKSPACE = 0x008,
KEY_TAB = 0x009,
KEY_ENTER = 0x00a,
KEY_ESCAPE = 0x01b,
KEY_SPACE = 0x020,
KEY_EXCLAMATION_MARK = 0x021,
KEY_DOU... | 24.038835 | 66 | 0.716074 |
f33caf797563e7c83ee2549cf496f16a29d93021 | 3,172 | h | C | src/General/GameTypes.h | Shimrra/alo-viewer | 16fb9ab094e6a93db55199d210b43089fb4f25a0 | [
"MIT"
] | 11 | 2017-01-18T08:58:52.000Z | 2021-11-12T16:23:28.000Z | src/General/GameTypes.h | TheSuperPlayer/alo-viewer | 616cb5a330453a50501d730d28c92059b1121651 | [
"MIT"
] | 2 | 2020-06-25T01:35:44.000Z | 2020-06-25T01:38:44.000Z | src/General/GameTypes.h | TheSuperPlayer/alo-viewer | 616cb5a330453a50501d730d28c92059b1121651 | [
"MIT"
] | 6 | 2017-02-06T18:12:09.000Z | 2021-12-24T16:38:34.000Z | #ifndef GAMETYPES_H
#define GAMETYPES_H
#include "General/3DTypes.h"
#include <string>
#include <vector>
namespace Alamo
{
typedef int ShaderDetail;
static const ShaderDetail SHADERDETAIL_FIXEDFUNCTION = 0;
static const ShaderDetail SHADERDETAIL_DX8 = 1;
static const ShaderDetail SHADERDETAIL_DX8ATI ... | 17.920904 | 57 | 0.659836 |
7e950ae6d0fa8119a7b08d319e13e062a36bb5b4 | 180 | h | C | src/problems.h | xcjs/project-euler | 48224ad3592ef7f5e74d5b214285638c8066db1f | [
"MIT"
] | null | null | null | src/problems.h | xcjs/project-euler | 48224ad3592ef7f5e74d5b214285638c8066db1f | [
"MIT"
] | null | null | null | src/problems.h | xcjs/project-euler | 48224ad3592ef7f5e74d5b214285638c8066db1f | [
"MIT"
] | null | null | null | #include "problems/IProblem.cpp"
#include "problems/Problem001.cpp"
#include "problems/Problem002.cpp"
#include "problems/Problem003.cpp"
#include "problems/Problem004.cpp"
| 25.714286 | 35 | 0.766667 |
b465c072970e3ec964c41d9f71599280fc643be6 | 381 | h | C | satlib/inc/AcisEnum.h | humkyung/app.framework | 6a709c0ccc6a78e66ad8638b2db9d560da5ee77a | [
"MIT"
] | null | null | null | satlib/inc/AcisEnum.h | humkyung/app.framework | 6a709c0ccc6a78e66ad8638b2db9d560da5ee77a | [
"MIT"
] | null | null | null | satlib/inc/AcisEnum.h | humkyung/app.framework | 6a709c0ccc6a78e66ad8638b2db9d560da5ee77a | [
"MIT"
] | null | null | null | #pragma once
enum
{
ENM_ACIS_STRAIGHT_CRV = 1,
ENM_ACIS_ELLIPSE_CRV = 2,
ENM_ACIS_INTCURVE_CRV = 3,
ENM_ACIS_PLANE_SURF = 11,
ENM_ACIS_CONE_SURF = 12,
ENM_ACIS_SPHERE_SURF = 13,
ENM_ACIS_TORUS_SURF = 14,
ENM_ACIS_SPLINE_SURF = 15
};
enum AcisSense
{
UNKNOWN = -1,
FORWARD = 0,
REVERSED= 1
... | 14.653846 | 28 | 0.671916 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.