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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6e63c85004eed7fe2666110d294f392b17f9fcd1 | 740 | c | C | code/f_campTreeLogNode.c | tollesonpdx/Last_Minute_Camping_With_C | 29942c8ce6840d42b6f1cad1ea97ecfd9826a083 | [
"MIT"
] | null | null | null | code/f_campTreeLogNode.c | tollesonpdx/Last_Minute_Camping_With_C | 29942c8ce6840d42b6f1cad1ea97ecfd9826a083 | [
"MIT"
] | null | null | null | code/f_campTreeLogNode.c | tollesonpdx/Last_Minute_Camping_With_C | 29942c8ce6840d42b6f1cad1ea97ecfd9826a083 | [
"MIT"
] | null | null | null | // Chad Tolleson Copyright (c) 2019
// New Beginnings - Capstone Project
// filename: f_campTreeLogNode.c
#include "headers.h"
int campTreeLogNode(struct campground* node)
{
FILE* f1 = fopen("capstoneResultsLog.txt","a+");
fprintf(f1,"\n\n");
for (int i = 0; i < 65; i++)
{ fprintf(f1,"="); }
... | 28.461538 | 59 | 0.555405 |
f5b38ee5e35cb39b9fb8c88b744013a4dbe996e5 | 157 | h | C | include/start_menu.h | thechurchofcage/Complete-Fire-Red-Upgrade | e8bab9a1aab9d34c019940dab2015bac89ab8918 | [
"WTFPL"
] | null | null | null | include/start_menu.h | thechurchofcage/Complete-Fire-Red-Upgrade | e8bab9a1aab9d34c019940dab2015bac89ab8918 | [
"WTFPL"
] | null | null | null | include/start_menu.h | thechurchofcage/Complete-Fire-Red-Upgrade | e8bab9a1aab9d34c019940dab2015bac89ab8918 | [
"WTFPL"
] | null | null | null | #ifndef GUARD_START_MENU_H
#define GUARD_START_MENU_H
#include "global.h"
void AppendToList(u8* list, u8* pos, u8 newEntry);
#endif // GUARD_START_MENU_H
| 17.444444 | 50 | 0.77707 |
673bcc64fefaadfd796d581db8bacd19aae2c8e5 | 25,323 | h | C | Inc/fat.h | Emeryth/stm32gbcart-fw | 31d491ae4a700c9fd97c6a6a29b2ad72ae3f5e63 | [
"MIT"
] | 31 | 2020-01-22T22:55:56.000Z | 2022-03-31T23:02:05.000Z | Inc/fat.h | Emeryth/stm32gbcart-fw | 31d491ae4a700c9fd97c6a6a29b2ad72ae3f5e63 | [
"MIT"
] | 1 | 2020-05-14T18:58:32.000Z | 2020-05-15T06:32:29.000Z | Inc/fat.h | Emeryth/stm32gbcart-fw | 31d491ae4a700c9fd97c6a6a29b2ad72ae3f5e63 | [
"MIT"
] | 3 | 2020-01-27T10:02:13.000Z | 2021-04-28T08:50:06.000Z | unsigned char fat_bin[] = {
0xeb, 0x3c, 0x90, 0x6d, 0x6b, 0x66, 0x73, 0x2e, 0x66, 0x61, 0x74, 0x00,
0x02, 0x04, 0x01, 0x00, 0x02, 0x00, 0x02, 0x30, 0x09, 0xf8, 0x02, 0x00,
0x20, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x80, 0x00, 0x29, 0xbf, 0xe5, 0x2c, 0x5f, 0x4e, 0x4f, 0x20, 0x4e, 0x... | 73.187861 | 73 | 0.648778 |
efb297782b690af736a76706487ae36164219e94 | 6,469 | h | C | macOS/10.13/Contacts.framework/CNSaveRequest.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 30 | 2016-10-09T20:13:00.000Z | 2022-01-24T04:14:57.000Z | macOS/10.13/Contacts.framework/CNSaveRequest.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | null | null | null | macOS/10.13/Contacts.framework/CNSaveRequest.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 7 | 2017-08-29T14:41:25.000Z | 2022-01-19T17:14:54.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/Contacts.framework/Versions/A/Contacts
*/
@interface CNSaveRequest : NSObject <CNObjectValidation, NSSecureCoding> {
NSMutableDictionary * _addedAccountContainersByIdentifier;
NSMutableArray * _addedAccounts;
NSMutableDictionary * _addedC... | 46.207143 | 99 | 0.803215 |
3cc309bef3a11c7b41b2873505b75c23387c5a2f | 4,580 | h | C | lib/tensors1d.h | dcseal/finess | 766e583ae9e84480640c7c3b3c157bf40ab87fe4 | [
"BSD-3-Clause"
] | null | null | null | lib/tensors1d.h | dcseal/finess | 766e583ae9e84480640c7c3b3c157bf40ab87fe4 | [
"BSD-3-Clause"
] | null | null | null | lib/tensors1d.h | dcseal/finess | 766e583ae9e84480640c7c3b3c157bf40ab87fe4 | [
"BSD-3-Clause"
] | null | null | null | #ifndef tensors1d_h
#define tensors1d_h
#ifndef NDIMS
#include <dimdefs.h> // for NDIMS (number of spatial dimensions)
#endif
#if (!defined(NDIMS) || !(NDIMS>=0))
#error "NDIMS must be defined"
#endif
// What's the difference between DEEP and DIMS copy? (-DS)
namespace CopyMode
{
enum Enum
{
DEEP = 1,... | 25.027322 | 83 | 0.5631 |
a7318c5526736ec836a730dd8c28b7ba1fd4fda4 | 203 | h | C | launcher/include/cmd.h | supnaobed/octop-os | 30a1874b0a437ea5c070e7269c5cf9e743c7141e | [
"Unlicense",
"MIT"
] | null | null | null | launcher/include/cmd.h | supnaobed/octop-os | 30a1874b0a437ea5c070e7269c5cf9e743c7141e | [
"Unlicense",
"MIT"
] | null | null | null | launcher/include/cmd.h | supnaobed/octop-os | 30a1874b0a437ea5c070e7269c5cf9e743c7141e | [
"Unlicense",
"MIT"
] | null | null | null | #ifndef CMD
#define CMD
#define CMDSTOP 0
#define CMDSTART 1
#define CMDPAUSE 2
#define CMDRESUME 3
typedef struct Cmd
{
char * package_id;
int command;
} Cmd;
int readcmd(Cmd * cmd);
#endif | 11.277778 | 23 | 0.699507 |
4ce9a2df98b06857af2302770458ab7c1e757160 | 1,852 | h | C | VelkozSoftRenderer/hittable_list.h | KaoriZh/VelkozSoftRenderer | 3a23a8d9ccd98c68786e17d9e59aeee9f55f76cf | [
"MIT"
] | null | null | null | VelkozSoftRenderer/hittable_list.h | KaoriZh/VelkozSoftRenderer | 3a23a8d9ccd98c68786e17d9e59aeee9f55f76cf | [
"MIT"
] | null | null | null | VelkozSoftRenderer/hittable_list.h | KaoriZh/VelkozSoftRenderer | 3a23a8d9ccd98c68786e17d9e59aeee9f55f76cf | [
"MIT"
] | null | null | null | #pragma once
#include"hittable.h"
#include"aabb.h"
#include<vector>
#include<memory>
using std::shared_ptr;
using std::make_shared;
class hittable_list : public hittable {
public:
hittable_list(){}
hittable_list(shared_ptr<hittable> obj) {
add(obj);
}
void clear() {
objects.clear();
}
void add(shared_ptr<... | 24.368421 | 92 | 0.710583 |
1ee27b2e7aeff6eec388946469a22469af0c2fa2 | 306 | h | C | ports/raspberrypi/boards/adafruit_qt2040_trinkey/mpconfigboard.h | Neradoc/circuitpython | 932131b4ff4b95066a872b5b299a84e80b7c45d3 | [
"MIT",
"BSD-3-Clause",
"MIT-0",
"Unlicense"
] | 3,010 | 2017-01-07T23:43:33.000Z | 2022-03-31T06:02:59.000Z | ports/raspberrypi/boards/adafruit_qt2040_trinkey/mpconfigboard.h | Neradoc/circuitpython | 932131b4ff4b95066a872b5b299a84e80b7c45d3 | [
"MIT",
"BSD-3-Clause",
"MIT-0",
"Unlicense"
] | 4,478 | 2017-01-06T01:35:02.000Z | 2022-03-31T23:03:27.000Z | ports/raspberrypi/boards/adafruit_qt2040_trinkey/mpconfigboard.h | Neradoc/circuitpython | 932131b4ff4b95066a872b5b299a84e80b7c45d3 | [
"MIT",
"BSD-3-Clause",
"MIT-0",
"Unlicense"
] | 1,149 | 2017-01-09T00:35:23.000Z | 2022-03-31T21:24:29.000Z | #define MICROPY_HW_BOARD_NAME "Adafruit QT2040 Trinkey"
#define MICROPY_HW_MCU_NAME "rp2040"
#define MICROPY_HW_NEOPIXEL (&pin_GPIO27)
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO17)
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO16)
#define DEFAULT_UART_BUS_RX (&pin_GPIO17)
#define DEFAULT_UART_BUS_TX (&pin_GPIO16)
| 27.818182 | 55 | 0.830065 |
bc785e48f086cbb9c59831dcf2eafe2a8b7b94b6 | 1,579 | h | C | L04-Railroad/Student_Code/stack.h | tlyon3/CS235 | 2bdb8eaf66c9adbfe7ec59c0535852fd1cc30eda | [
"MIT"
] | 1 | 2018-03-04T02:58:55.000Z | 2018-03-04T02:58:55.000Z | L04-Railroad/Student_Code/stack.h | tlyon3/CS235 | 2bdb8eaf66c9adbfe7ec59c0535852fd1cc30eda | [
"MIT"
] | 1 | 2015-02-09T21:29:12.000Z | 2015-02-09T21:32:06.000Z | L04-Railroad/Student_Code/stack.h | tlyon3/CS235 | 2bdb8eaf66c9adbfe7ec59c0535852fd1cc30eda | [
"MIT"
] | 4 | 2019-05-20T02:57:47.000Z | 2021-02-11T15:41:15.000Z | #pragma once
#include <cstddef>
#include <iostream>
template <typename ItemType>
class Stack
{
private:
struct Node
{
ItemType item;
Node* next;
Node* prev;
};
//int count;
Node* tail;
Node* head;
public:
ItemType top()
{
if(size()>0)
{
return tail->item;
}
else return -1;
}
void print()
{... | 12.531746 | 37 | 0.514883 |
29b18e623e3d2d2a577918a078b5b55f89c1ce35 | 40,791 | h | C | dumpi/common/iodefs.h | sstsimulator/sst-dumpi | 3b0a38c5abbaed54c2f5bfa436db3ce4f025835b | [
"BSD-3-Clause"
] | 9 | 2016-11-10T23:58:57.000Z | 2020-12-30T02:16:52.000Z | dumpi/common/iodefs.h | sstsimulator/sst-dumpi | 3b0a38c5abbaed54c2f5bfa436db3ce4f025835b | [
"BSD-3-Clause"
] | 14 | 2016-11-29T15:58:29.000Z | 2021-08-31T23:38:57.000Z | dumpi/common/iodefs.h | sstsimulator/sst-dumpi | 3b0a38c5abbaed54c2f5bfa436db3ce4f025835b | [
"BSD-3-Clause"
] | 18 | 2016-07-11T18:55:50.000Z | 2021-11-01T07:15:30.000Z | /**
Copyright 2009-2021 National Technology and Engineering Solutions of Sandia,
LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government
retains certain rights in this software.
Sandia National Laboratories is a multimission laboratory managed and operated
by National Technology and Engineering ... | 38.482075 | 87 | 0.605624 |
094fb5da16a2e79379bc5e0a9eb10f0746867b7f | 1,877 | h | C | usr/libexec/itunesstored/KeyValueStore.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | 2 | 2021-04-15T10:50:21.000Z | 2021-08-19T19:00:09.000Z | usr/sbin/usr/libexec/itunesstored/KeyValueStore.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | usr/sbin/usr/libexec/itunesstored/KeyValueStore.h | lechium/tvOS144Headers | e22dcf52662ae03002e3a6d57273f54e74013cb0 | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
@class SSKeyValueStore;
@protocol OS_dispatch_queue;
@interface KeyValueStore : NSObject
{
NSObject<OS_dispatch_que... | 48.128205 | 120 | 0.769845 |
71375c9ffe6c6a9c1833d53ce557357415fb4736 | 619 | h | C | Example/Pods/Target Support Files/MGCategoryKit/MGCategoryKit-umbrella.h | shisanshu101/MGSPecs | caae3d79176ee4b51473d5706023dcd5ad55291c | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/MGCategoryKit/MGCategoryKit-umbrella.h | shisanshu101/MGSPecs | caae3d79176ee4b51473d5706023dcd5ad55291c | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/MGCategoryKit/MGCategoryKit-umbrella.h | shisanshu101/MGSPecs | caae3d79176ee4b51473d5706023dcd5ad55291c | [
"MIT"
] | null | null | null | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "Class.h"
#import "GlobalNotificationConstant.h"
#import "GlobalThirdConfiguration.h"
#import "MacroDefinition.h"
#im... | 22.925926 | 67 | 0.807754 |
05d85e55dfacb0764d4f9397380831321b39462c | 583 | h | C | Login System/Server/logs/include/logs.h | IsaakGomes/Login-System-in-C | 89a7e59c77141c8205b16bc1ab3a01b9f0019f8d | [
"MIT"
] | null | null | null | Login System/Server/logs/include/logs.h | IsaakGomes/Login-System-in-C | 89a7e59c77141c8205b16bc1ab3a01b9f0019f8d | [
"MIT"
] | null | null | null | Login System/Server/logs/include/logs.h | IsaakGomes/Login-System-in-C | 89a7e59c77141c8205b16bc1ab3a01b9f0019f8d | [
"MIT"
] | null | null | null | #ifndef LOGS_H
#define LOGS_H
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#define LOG_SRV "logs/server_logs.txt"
#define LOG_SRV_C "logs/connection_logs.txt"
#define LOG_DB "logs/database_connection_logs.txt"
#define LOG_ALL "logs/all_logs.txt"
extern void ... | 30.684211 | 132 | 0.763293 |
799fb765ee4164427d8006f1cfc2143bc2fe74dd | 34 | c | C | tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/readdir.c | 7perl/akaros | 19eb5f42223afd2be2968fef4dd50b940045ac90 | [
"LPL-1.02"
] | 1 | 2022-01-10T23:42:13.000Z | 2022-01-10T23:42:13.000Z | tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/readdir.c | 7perl/akaros | 19eb5f42223afd2be2968fef4dd50b940045ac90 | [
"LPL-1.02"
] | null | null | null | tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/readdir.c | 7perl/akaros | 19eb5f42223afd2be2968fef4dd50b940045ac90 | [
"LPL-1.02"
] | null | null | null | #include <sysdeps/unix/readdir.c>
| 17 | 33 | 0.764706 |
79a7dbdb5975f67e7e24bd0d0168b7f56db642eb | 1,801 | h | C | Driver/kernelmode/stdafx.h | egssy0/FancyCheats | 1521c850857e7da7bd3e7db2301393aeeef68394 | [
"Apache-2.0"
] | 1 | 2021-07-01T16:23:44.000Z | 2021-07-01T16:23:44.000Z | Driver/kernelmode/stdafx.h | zanzo420/FancyCheats | 1521c850857e7da7bd3e7db2301393aeeef68394 | [
"Apache-2.0"
] | null | null | null | Driver/kernelmode/stdafx.h | zanzo420/FancyCheats | 1521c850857e7da7bd3e7db2301393aeeef68394 | [
"Apache-2.0"
] | 1 | 2021-06-19T18:39:00.000Z | 2021-06-19T18:39:00.000Z | #pragma once
#include <ntifs.h>
#include <ntddk.h>
#include <ntdddisk.h>
#include <scsi.h>
#include <intrin.h>
#include "structs.h"
typedef struct info_t {
int pid = 0;
DWORD_PTR address;
void* value;
SIZE_T size;
void* data;
}info, *p_info;
#define ctl_write CTL_CODE(FILE_DEVICE_UNKNOWN, 0x03... | 47.394737 | 242 | 0.80955 |
199a2efb28e401a71d86bd78d64a6a705e57575e | 370 | c | C | armstrong.c | avronr/cbasic | fe07ba3ae2e8e78a3557f12ef8068fb9f7c0d997 | [
"MIT"
] | null | null | null | armstrong.c | avronr/cbasic | fe07ba3ae2e8e78a3557f12ef8068fb9f7c0d997 | [
"MIT"
] | null | null | null | armstrong.c | avronr/cbasic | fe07ba3ae2e8e78a3557f12ef8068fb9f7c0d997 | [
"MIT"
] | null | null | null | #include<stdio.h>
int main()
{
int d, arm=0, num, original, i;
printf("Enter number:\n");
scanf("%d", &num);
original=num;
while (num!=0) {
d=(num%10);
arm+=(d*d*d);
num=num/10;
}
if (arm==original) {
printf("%d is an armstrong number\n", original );
}
else {
printf("%d is not an a... | 17.619048 | 57 | 0.551351 |
95a96820af2db93cfaced0a577d26e5420ef290a | 630 | h | C | AWAREFramework/Frameworks/StudentLifeAudio.framework/Headers/StudentLifeAudio.h | nuKs/AWAREFramework-iOS | 7e0e012cad6cffb7468511ed29c8e58d27c879a2 | [
"Apache-2.0"
] | null | null | null | AWAREFramework/Frameworks/StudentLifeAudio.framework/Headers/StudentLifeAudio.h | nuKs/AWAREFramework-iOS | 7e0e012cad6cffb7468511ed29c8e58d27c879a2 | [
"Apache-2.0"
] | null | null | null | AWAREFramework/Frameworks/StudentLifeAudio.framework/Headers/StudentLifeAudio.h | nuKs/AWAREFramework-iOS | 7e0e012cad6cffb7468511ed29c8e58d27c879a2 | [
"Apache-2.0"
] | null | null | null | //
// StudentLifeAudio.h
// StudentLifeAudio
//
// Created by Yuuki Nishiyama on 2018/05/23.
// Copyright © 2018 Yuuki Nishiyama. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for StudentLifeAudio.
FOUNDATION_EXPORT double StudentLifeAudioVersionNumber;
//! Project version string for... | 30 | 141 | 0.788889 |
253183528973723d47dbf4c0e3defa93c02b968a | 1,580 | h | C | ext/digest/renaming.h | eval-apply/Gauche | 446507510afbecf80f522af972010bcfeb2ea0a8 | [
"BSD-3-Clause"
] | 569 | 2015-01-14T07:51:32.000Z | 2022-03-28T02:47:37.000Z | ext/digest/renaming.h | eval-apply/Gauche | 446507510afbecf80f522af972010bcfeb2ea0a8 | [
"BSD-3-Clause"
] | 612 | 2015-01-26T02:17:56.000Z | 2022-03-26T10:02:28.000Z | ext/digest/renaming.h | eval-apply/Gauche | 446507510afbecf80f522af972010bcfeb2ea0a8 | [
"BSD-3-Clause"
] | 104 | 2015-01-14T09:18:01.000Z | 2022-03-05T02:51:48.000Z | /*
* Rename symbols to avoid conflicts
*
* The symbols will be a part of Gauche library when compiled as static,
* and it may conflict with other libraries. (Compiling as a dynamic
* library, which is the default settings, won't cause a problem, since
* these digest modules will be dlopen()-ed.)
*/
#define MD5... | 33.617021 | 72 | 0.772152 |
f9ac19c71b1721a5cc0ad01927f14945b05a448b | 200 | c | C | regression/goto-analyzer/sensitivity-test-constants-array-loop/main.c | tobireinhard/cbmc | fc165c119985adf8db9a13493f272a2def4e79fa | [
"BSD-4-Clause"
] | 412 | 2016-04-02T01:14:27.000Z | 2022-03-27T09:24:09.000Z | regression/goto-analyzer/sensitivity-test-constants-array-loop/main.c | tobireinhard/cbmc | fc165c119985adf8db9a13493f272a2def4e79fa | [
"BSD-4-Clause"
] | 4,671 | 2016-02-25T13:52:16.000Z | 2022-03-31T22:14:46.000Z | regression/goto-analyzer/sensitivity-test-constants-array-loop/main.c | tobireinhard/cbmc | fc165c119985adf8db9a13493f272a2def4e79fa | [
"BSD-4-Clause"
] | 266 | 2016-02-23T12:48:00.000Z | 2022-03-22T18:15:51.000Z | static int array[2];
void main(void)
{
int i;
for(i = 0; i < 1; i++)
array[i] = 5;
__CPROVER_assert(array[0] == 5, "array[0] == 5");
__CPROVER_assert(array[1] == 5, "array[1] == 5");
}
| 15.384615 | 51 | 0.53 |
c786110972ded7751d3bcdf2123c910df082be10 | 332 | h | C | iOSSystemCamera/Source/GHTopBarView.h | Liaoworking/iOSSystemCamera | a651b7ca7292e32372d17ce67b4c83ab32876951 | [
"MIT"
] | 4 | 2018-02-06T01:00:32.000Z | 2020-04-28T08:19:32.000Z | iOSSystemCamera/Source/GHTopBarView.h | Liaoworking/iOSSystemCamera | a651b7ca7292e32372d17ce67b4c83ab32876951 | [
"MIT"
] | null | null | null | iOSSystemCamera/Source/GHTopBarView.h | Liaoworking/iOSSystemCamera | a651b7ca7292e32372d17ce67b4c83ab32876951 | [
"MIT"
] | null | null | null | //
// topBarView.h
// iOSSystemCamera
//
// Created by Guanghui Liao on 2/2/18.
// Copyright © 2018 liaoworking. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void (^btnClickEventBlock)(BOOL isSelec);// 0 未选中 1 已选中
@interface GHTopBarView : UIView
@property (nonatomic, copy) btnClickEventBlock filterBtn... | 23.714286 | 64 | 0.728916 |
c7c327cb375fdc33fe8e3c25c8f6d8ea09075442 | 525 | h | C | Prototype/lib/Sources/NumericOptimization/HelperMacros.h | OHUSAR/OHUSAR.github.io | 2151eb00ad07511da847525bcc16ed744d3b251c | [
"MIT"
] | null | null | null | Prototype/lib/Sources/NumericOptimization/HelperMacros.h | OHUSAR/OHUSAR.github.io | 2151eb00ad07511da847525bcc16ed744d3b251c | [
"MIT"
] | null | null | null | Prototype/lib/Sources/NumericOptimization/HelperMacros.h | OHUSAR/OHUSAR.github.io | 2151eb00ad07511da847525bcc16ed744d3b251c | [
"MIT"
] | null | null | null | #pragma once
namespace NumericOptimization {
namespace Math {
#define INCLUDE_STD_MATH_FUNCTIONS \
using ::cos; \
using ::sin; \
using ::tan; \
using ::acos; \
using ::asin; \
using ::atan; \
using ::atan2; \
using ::cosh; \
using ::sinh; \
using ::tanh; \
using ::acosh; \
using ::asinh... | 16.935484 | 38 | 0.550476 |
0fc50fd5cfc244532b767a2165d52b4f1f318a97 | 3,351 | c | C | src/fs/fs.c | guts-lang/guts | 66de2fca6669e1c7451a053148bc821f5406aed6 | [
"MIT"
] | null | null | null | src/fs/fs.c | guts-lang/guts | 66de2fca6669e1c7451a053148bc821f5406aed6 | [
"MIT"
] | 3 | 2018-06-14T23:41:26.000Z | 2018-06-20T13:28:31.000Z | src/fs/fs.c | guts-lang/guts | 66de2fca6669e1c7451a053148bc821f5406aed6 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2016-2017 Abel Lucas <www.github.com/uael>
*
* 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 ri... | 23.598592 | 80 | 0.638019 |
57e2da316b9b6b3f84a1c8853d63d839d97c7335 | 6,158 | h | C | src/pronet/pro_rtp/rtp_packet.h | libpronet/libpronet | 78f52fbe002767915553bdf58fb10453e63bf502 | [
"Apache-2.0"
] | 35 | 2018-10-29T06:31:09.000Z | 2022-03-21T08:13:39.000Z | src/pronet/pro_rtp/rtp_packet.h | libpronet/libpronet | 78f52fbe002767915553bdf58fb10453e63bf502 | [
"Apache-2.0"
] | null | null | null | src/pronet/pro_rtp/rtp_packet.h | libpronet/libpronet | 78f52fbe002767915553bdf58fb10453e63bf502 | [
"Apache-2.0"
] | 11 | 2018-11-03T04:45:29.000Z | 2021-11-23T06:09:20.000Z | /*
* Copyright (C) 2018-2019 Eric Tung <libpronet@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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 23.59387 | 77 | 0.625041 |
b95f6054528c8180ee291103cd4abc54b25bceec | 247 | h | C | dbg/seriallog.h | kevinfrei/kbfw | 7fb714003dde5c16654cee4337f07975911b732a | [
"Unlicense"
] | null | null | null | dbg/seriallog.h | kevinfrei/kbfw | 7fb714003dde5c16654cee4337f07975911b732a | [
"Unlicense"
] | null | null | null | dbg/seriallog.h | kevinfrei/kbfw | 7fb714003dde5c16654cee4337f07975911b732a | [
"Unlicense"
] | null | null | null | #pragma once
#include "debuglog.h"
class SerialLog : public DebugLog {
public:
SerialLog() : DebugLog() {}
void init() override;
void logln(const char* str = 0) override;
void log(const char*) override;
void log(uint32_t) override;
}; | 20.583333 | 43 | 0.688259 |
5f5109044316f78cbdd1c160d02705644b0cab52 | 3,255 | h | C | examples/shared_boxes/atomic_integer.h | swils/verifast | b0bdb6b5bb49cb6a6ae5457e703ee3eea9f3463e | [
"MIT"
] | 272 | 2016-01-28T16:01:28.000Z | 2022-03-10T11:53:19.000Z | examples/shared_boxes/atomic_integer.h | swils/verifast | b0bdb6b5bb49cb6a6ae5457e703ee3eea9f3463e | [
"MIT"
] | 207 | 2016-01-28T16:03:17.000Z | 2022-03-11T14:38:58.000Z | examples/shared_boxes/atomic_integer.h | DriesVuylsteke/verifast | 79e814ad7236a7aa99424a03799d27b73b71c4ce | [
"MIT"
] | 59 | 2016-04-03T17:52:17.000Z | 2022-01-28T11:35:57.000Z | #ifndef ATOMIC_INTEGER_H
#define ATOMIC_INTEGER_H
//@ predicate atomic_integer(int* i, real level, predicate(int) I);
/*@
lemma void create_atomic_integer(int* i, real upper_bound, predicate(int) I);
requires integer(i, ?value) &*& I(value);
ensures atomic_integer(i, ?new_level, I) &*& new_level < upper_bound;
@*... | 45.84507 | 150 | 0.729032 |
7e53a405588da9c17dc048e86eb8a5d5cabff0d8 | 1,440 | c | C | C_prac/C_prac/ch9.c | cutz-j/C_programming | 2f547a1f6de902220bee8c445c154ba3e30b45b0 | [
"MIT"
] | null | null | null | C_prac/C_prac/ch9.c | cutz-j/C_programming | 2f547a1f6de902220bee8c445c154ba3e30b45b0 | [
"MIT"
] | null | null | null | C_prac/C_prac/ch9.c | cutz-j/C_programming | 2f547a1f6de902220bee8c445c154ba3e30b45b0 | [
"MIT"
] | null | null | null | #include <stdio.h>
int AddToTotal(int num)
{
static int total;
total += num;
return total;
}
int sub3(void)
{
printf("%d", factorial(15));
return 0;
}
int q9_9_1(void)
{
int num1, num2, num3;
int getMax(num1, num2, num3);
int getMin(num1, num2, num3);
scanf_s("%d %d %d", &num1, &num2, &num3);
getMax(num1... | 13.714286 | 45 | 0.577778 |
702f1f275eef9d30d903a5915efbeec3f1683e35 | 1,308 | c | C | piscine/C00/ex06/ft_print_comb2.c | cheremushkin/school21 | aa151406acc0a5fdbcf62c3f27cd5f628e68dd51 | [
"Apache-2.0"
] | null | null | null | piscine/C00/ex06/ft_print_comb2.c | cheremushkin/school21 | aa151406acc0a5fdbcf62c3f27cd5f628e68dd51 | [
"Apache-2.0"
] | null | null | null | piscine/C00/ex06/ft_print_comb2.c | cheremushkin/school21 | aa151406acc0a5fdbcf62c3f27cd5f628e68dd51 | [
"Apache-2.0"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_comb2.c :+: :+: :+: ... | 29.066667 | 80 | 0.23318 |
f285fc23f6b6ad1ff2215f31766d9d642b6ae42d | 9,175 | c | C | loader/impl_platform.c | atkurtul/vk-rs | e6ba04fe3d5987bada288fad3f5a08d732f74cf1 | [
"MIT"
] | 2 | 2020-07-25T19:54:47.000Z | 2020-07-26T23:56:53.000Z | loader/impl_platform.c | atkurtul/vk-rs | e6ba04fe3d5987bada288fad3f5a08d732f74cf1 | [
"MIT"
] | null | null | null | loader/impl_platform.c | atkurtul/vk-rs | e6ba04fe3d5987bada288fad3f5a08d732f74cf1 | [
"MIT"
] | null | null | null | #include "loader.h"
#include "vulkan/vulkan_android.h"
extern VkInstance instance;
extern VkDevice device;
extern VkPhysicalDevice physicalDevice;
VkResult CreateAndroidSurfaceKHR(
const VkAndroidSurfaceCreateInfoKHR* pCreateInfo,
VkSurfaceKHR* pSurface) ... | 51.544944 | 196 | 0.723597 |
d167a1a8ac1ed17e8a613977f7e3c33534891ce2 | 630 | h | C | aws-cpp-sdk-appstream/include/aws/appstream/model/Permission.h | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-appstream/include/aws/appstream/model/Permission.h | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-appstream/include/aws/appstream/model/Permission.h | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/appstream/AppStream_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AppStream
{
namespace Model
{
enum class Permission
{
NOT_... | 19.6875 | 75 | 0.749206 |
2f1b70bba68fa9e06c28e0d70bf661f8c4d10bd5 | 1,802 | h | C | datastruct/chapter3/list.h | shankusu2017/data_structures_algorithm | 70381e2df0ab4ce585ce472537180610244d3bb5 | [
"MIT"
] | null | null | null | datastruct/chapter3/list.h | shankusu2017/data_structures_algorithm | 70381e2df0ab4ce585ce472537180610244d3bb5 | [
"MIT"
] | null | null | null | datastruct/chapter3/list.h | shankusu2017/data_structures_algorithm | 70381e2df0ab4ce585ce472537180610244d3bb5 | [
"MIT"
] | null | null | null | #ifndef _LIST_H_20180809_2055
#define _LIST_H_20180809_2055
#include "typedef.h"
#include "define.h"
struct Node;
typedef struct Node *PtrToNode;
typedef PtrToNode List;
typedef PtrToNode Position;
//传递给调用者当做handler类型来用,避免调用者申明一种新的数据类型
typedef List HdlLst;
//创建一个链表
List CreateList(void);
//删除链表L
void DeleteList(Li... | 16.53211 | 52 | 0.760266 |
280d21c329a82fdd84f2a9d11b57f9c6611fa0ff | 121,540 | w | C | dynamics/src/main/abl/ry/obj/rysdfobjmv.w | gquerret/OpenEdge_Retired_Products | 1358f3d450b65e6b4cfa2236555c54df942a613a | [
"Apache-2.0"
] | 1 | 2021-12-13T12:43:13.000Z | 2021-12-13T12:43:13.000Z | dynamics/src/main/abl/ry/obj/rysdfobjmv.w | gquerret/OpenEdge_Retired_Products | 1358f3d450b65e6b4cfa2236555c54df942a613a | [
"Apache-2.0"
] | null | null | null | dynamics/src/main/abl/ry/obj/rysdfobjmv.w | gquerret/OpenEdge_Retired_Products | 1358f3d450b65e6b4cfa2236555c54df942a613a | [
"Apache-2.0"
] | 2 | 2021-05-12T06:38:07.000Z | 2022-01-20T10:04:46.000Z | &ANALYZE-SUSPEND _VERSION-NUMBER AB_v10r12 GUI ADM2
&ANALYZE-RESUME
/* Connected Databases
icfdb PROGRESS
*/
&Scoped-define WINDOW-NAME CURRENT-WINDOW
&ANALYZE-SUSPEND _UIB-CODE-BLOCK _XFTR "Update-Object-Version" vTableWin _INLINE
/* Actions: ? ? ? ? af/sup/afverxftrp.p */
/* This has to go above... | 44.650992 | 1,388 | 0.603958 |
94f2230cf251bc3c6bad99ec914e6dc1bd8c46b9 | 2,061 | c | C | src/worlds/quests/save_quest.c | Mikatech/my_rpg | 89d4d8ee362aeb247ad328cada032b01cb83f782 | [
"MIT"
] | 7 | 2021-07-05T20:19:50.000Z | 2021-10-15T12:29:49.000Z | src/worlds/quests/save_quest.c | Davphla/my_rpg | 89d4d8ee362aeb247ad328cada032b01cb83f782 | [
"MIT"
] | null | null | null | src/worlds/quests/save_quest.c | Davphla/my_rpg | 89d4d8ee362aeb247ad328cada032b01cb83f782 | [
"MIT"
] | 1 | 2021-07-05T20:46:04.000Z | 2021-07-05T20:46:04.000Z | /*
** EPITECH PROJECT, 2021
** B-MUL-200-LYN-2-1-myrpg-david.gozlan
** File description:
** save_quest
*/
#include "rpg.h"
#include "../world.h"
static void fill_content(pars_data_t *obj, char *data_name, int value)
{
obj->data_name = my_strdup(data_name);
obj->type = kint;
obj->values.kint = value;
o... | 25.444444 | 70 | 0.60359 |
9e0aac4d5fd4457ff7c2b52ee70c74352016bdb1 | 912 | c | C | dataset/Lab-4/2828/271443_correct.c | jyi/ITSP | 0553f683f99403efb5ef440af826c1d229a52376 | [
"MIT"
] | 18 | 2017-06-14T07:55:45.000Z | 2022-03-24T09:32:43.000Z | dataset/Lab-4/2828/271443_correct.c | jyi/ITSP | 0553f683f99403efb5ef440af826c1d229a52376 | [
"MIT"
] | 2 | 2017-07-25T13:44:39.000Z | 2018-03-16T06:43:40.000Z | dataset/Lab-4/2828/271443_correct.c | jyi/ITSP | 0553f683f99403efb5ef440af826c1d229a52376 | [
"MIT"
] | 5 | 2017-07-29T19:09:37.000Z | 2021-04-10T16:39:48.000Z | /*numPass=7, numTotal=7
Verdict:ACCEPTED, Visibility:1, Input:"H", ExpOutput:"Capital Letter", Output:"Capital Letter"
Verdict:ACCEPTED, Visibility:1, Input:"6", ExpOutput:"Digit", Output:"Digit"
Verdict:ACCEPTED, Visibility:1, Input:"l", ExpOutput:"Small Letter", Output:"Small Letter"
Verdict:ACCEPTED, Visibility:1, I... | 36.48 | 94 | 0.642544 |
b10eca24265922bce3ecca721f32c29d7596ae2a | 315 | c | C | tests/slicing/sources/dynalloc5.c | mchalupa/libdg | a0808569e12af1d82f61ecc5d8cdd3a4b58e8ee0 | [
"MIT"
] | 316 | 2016-02-19T19:08:02.000Z | 2022-03-29T02:05:59.000Z | tests/slicing/sources/dynalloc5.c | mchalupa/libdg | a0808569e12af1d82f61ecc5d8cdd3a4b58e8ee0 | [
"MIT"
] | 366 | 2015-04-17T15:34:44.000Z | 2022-03-31T16:38:13.000Z | tests/slicing/sources/dynalloc5.c | mchalupa/libdg | a0808569e12af1d82f61ecc5d8cdd3a4b58e8ee0 | [
"MIT"
] | 116 | 2016-02-03T15:42:12.000Z | 2022-03-02T19:58:58.000Z | #include <stdlib.h>
struct item {
int a;
};
/* use function pointer */
void *(*memalloc)(unsigned long size) = malloc;
struct item *alloc() {
struct item *i = memalloc(sizeof *i);
i->a = 13;
return i;
}
int main(void) {
struct item *i = alloc();
test_assert(i->a == 13);
return 0;
}
| 15 | 47 | 0.574603 |
367823d3442154ae58c12dd60ad79473db7c362d | 2,576 | h | C | modules/http2/h2_h2.h | cgiluadev/httpd | b132631f1905d4a1dd065859a98e1f583e50e258 | [
"Apache-2.0"
] | 2 | 2015-06-27T23:56:37.000Z | 2018-05-29T05:07:15.000Z | modules/http2/h2_h2.h | cgiluadev/httpd | b132631f1905d4a1dd065859a98e1f583e50e258 | [
"Apache-2.0"
] | null | null | null | modules/http2/h2_h2.h | cgiluadev/httpd | b132631f1905d4a1dd065859a98e1f583e50e258 | [
"Apache-2.0"
] | 2 | 2020-11-04T06:33:12.000Z | 2020-11-06T11:00:44.000Z | /* 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 may not... | 32.2 | 77 | 0.743012 |
36aa1f19cd7f8e7e6264d79ad410383edea44d59 | 1,423 | h | C | Frameworks/UIKit.framework/_UIRotatingAlertController.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | Frameworks/UIKit.framework/_UIRotatingAlertController.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | Frameworks/UIKit.framework/_UIRotatingAlertController.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/Frameworks/UIKit.framework/UIKit
*/
@interface _UIRotatingAlertController : UIAlertController {
unsigned long long _arrowDirections;
bool _isRotating;
<UIPopoverPresentationControllerDelegate> * _popoverPresentationControllerDelegateWhileRotating;... | 39.527778 | 162 | 0.797611 |
3c22a40969c307e448593094855590013c9d6546 | 8,714 | h | C | OsiInterface/GameDefinitions/Surface.h | wuergrob/ositools | 4161bd129e691496dcd2aa1e9b8bdd889a61168f | [
"MIT"
] | null | null | null | OsiInterface/GameDefinitions/Surface.h | wuergrob/ositools | 4161bd129e691496dcd2aa1e9b8bdd889a61168f | [
"MIT"
] | null | null | null | OsiInterface/GameDefinitions/Surface.h | wuergrob/ositools | 4161bd129e691496dcd2aa1e9b8bdd889a61168f | [
"MIT"
] | null | null | null | #pragma once
#include "BaseTypes.h"
#include "Enumerations.h"
#include "EntitySystem.h"
namespace dse
{
namespace eoc
{
struct AiGrid;
}
#pragma pack(push, 1)
namespace esv
{
struct Surface;
struct SurfaceAction;
struct SurfaceManager;
struct Level;
struct SurfaceCell
... | 32.036765 | 116 | 0.575281 |
2c8ff57732d46d5f49803a4bcd0dae8906bc698a | 2,365 | h | C | folly/experimental/symbolizer/LineReader.h | facebookxx/folly | 2da5b6427c302c34e72c4f0aedaa1d9ed892f6fe | [
"Apache-2.0"
] | 19,046 | 2015-01-01T17:01:10.000Z | 2022-03-31T23:01:43.000Z | folly/experimental/symbolizer/LineReader.h | facebookxx/folly | 2da5b6427c302c34e72c4f0aedaa1d9ed892f6fe | [
"Apache-2.0"
] | 1,493 | 2015-01-11T15:47:13.000Z | 2022-03-28T18:13:58.000Z | folly/experimental/symbolizer/LineReader.h | facebookxx/folly | 2da5b6427c302c34e72c4f0aedaa1d9ed892f6fe | [
"Apache-2.0"
] | 4,818 | 2015-01-01T12:28:16.000Z | 2022-03-31T16:22:10.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 26.277778 | 75 | 0.668076 |
19047a53cc35f9d5f2b5e23a8839feda30edcd37 | 727 | h | C | System/Library/PrivateFrameworks/VectorKit.framework/VKLabelExternalIconElement.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 11 | 2019-11-06T04:48:48.000Z | 2022-02-09T17:48:15.000Z | System/Library/PrivateFrameworks/VectorKit.framework/VKLabelExternalIconElement.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 1 | 2020-04-16T01:41:56.000Z | 2020-04-16T04:32:00.000Z | System/Library/PrivateFrameworks/VectorKit.framework/VKLabelExternalIconElement.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 3 | 2019-12-22T20:17:53.000Z | 2021-01-25T09:47:49.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:46:39 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/VectorKit.framework/VectorKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... | 30.291667 | 81 | 0.78542 |
300bf018bde89b63a612410b866dadd86732708b | 25,007 | c | C | sdk-6.5.20/libs/sdklt/bcmpkt/chip/bcm56990_b0/bcm56990_b0_pkt_lbhdr.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmpkt/chip/bcm56990_b0/bcm56990_b0_pkt_lbhdr.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmpkt/chip/bcm56990_b0/bcm56990_b0_pkt_lbhdr.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*******************************************************************************
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated from the registers file.
* Edits to this file will be lost when it is regenerated.
* Tool: INTERNAL/regs/xgs/generate-pmd.pl
*
* This license is set out in https://raw.githubu... | 35.622507 | 134 | 0.687368 |
cf94e4172403ac1e334dee23b87e9d27bd020e83 | 453 | h | C | Entitas/ESMatcher.h | arne-schroppe/entitas | 416407d6e88280ac6cedeefcbdd68b9ac7c15ee3 | [
"MIT"
] | 1 | 2019-08-06T06:49:16.000Z | 2019-08-06T06:49:16.000Z | Entitas/ESMatcher.h | arne-schroppe/entitas | 416407d6e88280ac6cedeefcbdd68b9ac7c15ee3 | [
"MIT"
] | null | null | null | Entitas/ESMatcher.h | arne-schroppe/entitas | 416407d6e88280ac6cedeefcbdd68b9ac7c15ee3 | [
"MIT"
] | null | null | null | #import <Foundation/Foundation.h>
@interface ESMatcher : NSObject <NSCopying>
+ (ESMatcher *)allOf:(Class)firstClass, ... NS_REQUIRES_NIL_TERMINATION;
+ (ESMatcher *)allOfSet:(NSSet *)componentTypes;
+ (ESMatcher *)anyOf:(Class)firstClass, ... NS_REQUIRES_NIL_TERMINATION;
+ (ESMatcher *)anyOfSet:(NSSet *)componentT... | 26.647059 | 72 | 0.748344 |
c5fccccf78c04d0b0bca1e9fee1f5b1d5fbe404d | 5,126 | h | C | LiteOS/components/fs/include/los_vfs.h | lambda666/liteos_in_raspberry_ubuntu20 | ca716a3d22796dc20f1bafaf548167752546e02f | [
"Apache-2.0"
] | null | null | null | LiteOS/components/fs/include/los_vfs.h | lambda666/liteos_in_raspberry_ubuntu20 | ca716a3d22796dc20f1bafaf548167752546e02f | [
"Apache-2.0"
] | null | null | null | LiteOS/components/fs/include/los_vfs.h | lambda666/liteos_in_raspberry_ubuntu20 | ca716a3d22796dc20f1bafaf548167752546e02f | [
"Apache-2.0"
] | null | null | null | /* ----------------------------------------------------------------------------
* Copyright (c) Huawei Technologies Co., Ltd. 2013-2021. All rights reserved.
* Description: Virtual Fs HeadFile
* Author: Huawei LiteOS Team
* Create: 2013-01-01
* Redistribution and use in source and binary forms, with or without mod... | 32.858974 | 101 | 0.687281 |
d0baf614c8babe061948e833ae4ae66eac9aaedc | 2,220 | h | C | mp/src/game/shared/hl2mp/weapon_slam.h | WorldGamers/Mobile-Forces-Source | fd188305e2690e193e17dba4cc6bcafa46dc34e3 | [
"CC-BY-4.0"
] | 3 | 2016-06-23T16:09:35.000Z | 2017-02-22T21:57:56.000Z | mp/src/game/shared/hl2mp/weapon_slam.h | WorldGamers/Mobile-Forces-Source | fd188305e2690e193e17dba4cc6bcafa46dc34e3 | [
"CC-BY-4.0"
] | null | null | null | mp/src/game/shared/hl2mp/weapon_slam.h | WorldGamers/Mobile-Forces-Source | fd188305e2690e193e17dba4cc6bcafa46dc34e3 | [
"CC-BY-4.0"
] | 1 | 2020-03-09T08:27:02.000Z | 2020-03-09T08:27:02.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: SLAM
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================... | 24.395604 | 81 | 0.648198 |
a92f3b38178a608b025b2a8c1fb0aa459d224fed | 3,159 | h | C | Sample/ClientSource/cocos2dx/kazmath/include/kazmath/vec2.h | wenhulove333/ScutServer | 338a50ff577c0e2ef2276a2883a8bfe28517c79b | [
"MIT"
] | 2 | 2017-05-27T13:32:28.000Z | 2019-05-28T15:11:33.000Z | Sample/ClientSource/cocos2dx/kazmath/include/kazmath/vec2.h | wenhulove333/ScutServer | 338a50ff577c0e2ef2276a2883a8bfe28517c79b | [
"MIT"
] | null | null | null | Sample/ClientSource/cocos2dx/kazmath/include/kazmath/vec2.h | wenhulove333/ScutServer | 338a50ff577c0e2ef2276a2883a8bfe28517c79b | [
"MIT"
] | 4 | 2016-08-27T05:26:16.000Z | 2019-12-27T07:07:09.000Z | /*
Copyright (c) 2008, Luke Benstead.
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 notice,
this list of conditions a... | 47.149254 | 181 | 0.754353 |
2eb0bf1c7e6093084f6b3586f5a113d167bf58dd | 730 | h | C | src/installer/osx/Downloader.h | badlee/TideSDK | fe6f6c93c6cab3395121696f48d3b55d43e1eddd | [
"Apache-2.0"
] | 1 | 2021-09-18T10:10:39.000Z | 2021-09-18T10:10:39.000Z | src/installer/osx/Downloader.h | hexmode/TideSDK | 2c0276de08d7b760b53416bbd8038d79b8474fc5 | [
"Apache-2.0"
] | 1 | 2022-02-08T08:45:29.000Z | 2022-02-08T08:45:29.000Z | src/installer/osx/Downloader.h | hexmode/TideSDK | 2c0276de08d7b760b53416bbd8038d79b8474fc5 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2012 - 2014 TideSDK contributors
* http://www.tidesdk.org
* Includes modified sources under the Apache 2 License
* Copyright (c) 2008 - 2012 Appcelerator Inc
* Refer to LICENSE for details of distribution and use.
**/
#import <Cocoa/Cocoa.h>
@interface Downloader : NSObject {
NSString* s... | 24.333333 | 62 | 0.758904 |
03287c12c85b8fbd613cc768cf7d940a9c36277d | 1,313 | c | C | user/c/src/test.c | rcore-os/aCore | a3fb0a47162d4d68347f144ec6552431d26e2ded | [
"MIT"
] | 30 | 2020-10-15T15:59:53.000Z | 2022-01-14T20:51:14.000Z | user/c/src/test.c | rcore-os/aCore | a3fb0a47162d4d68347f144ec6552431d26e2ded | [
"MIT"
] | null | null | null | user/c/src/test.c | rcore-os/aCore | a3fb0a47162d4d68347f144ec6552431d26e2ded | [
"MIT"
] | 3 | 2020-10-17T07:14:47.000Z | 2021-04-12T12:06:20.000Z | #include <asynccall.h>
#include <barrier.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
int main(int argc, char* argv[])
{
puts("Hello, World!");
char str[] = "PID: 0";
str[5] = getpid() + 48;
puts(str);
sched_yield();
for (int i = 0; i < argc; i++) {
puts(argv[i]);
... | 29.177778 | 85 | 0.594059 |
eada71ed809580b67fde467963be2e06a95ccfd7 | 2,337 | h | C | kernel/generic/include/typedefs.h | narke/Einherjar.tmp | 8c2c6385e1280907fa081a767572c4ccd6c32a82 | [
"BSD-3-Clause"
] | 3 | 2016-04-17T18:24:31.000Z | 2021-06-05T16:59:40.000Z | kernel/generic/include/typedefs.h | narke/Einherjar.tmp | 8c2c6385e1280907fa081a767572c4ccd6c32a82 | [
"BSD-3-Clause"
] | null | null | null | kernel/generic/include/typedefs.h | narke/Einherjar.tmp | 8c2c6385e1280907fa081a767572c4ccd6c32a82 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2001-2004 Jakub Jermar
* 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
* notice, this list of c... | 27.821429 | 76 | 0.748823 |
1430e7ed8ab4c2d52edb04310c53e8cb9c468e85 | 4,600 | h | C | src/PatternLife.h | fblumenberg/LedMatrix | b6f35070008b5561f7d4d62f6eda5064641823a1 | [
"MIT"
] | 1 | 2019-02-24T19:57:58.000Z | 2019-02-24T19:57:58.000Z | src/PatternLife.h | fblumenberg/LedMatrix | b6f35070008b5561f7d4d62f6eda5064641823a1 | [
"MIT"
] | null | null | null | src/PatternLife.h | fblumenberg/LedMatrix | b6f35070008b5561f7d4d62f6eda5064641823a1 | [
"MIT"
] | null | null | null | /*
* Aurora: https://github.com/pixelmatix/aurora
* Copyright (c) 2014 Jason Coon
*
* Portions of this code are adapted from Andrew: http://pastebin.com/f22bfe94d
* which, in turn, was "Adapted from the Life example on the Processing.org site"
*
* Made much more colorful by J.B. Langston: https://github.com/jbla... | 35.658915 | 125 | 0.553043 |
6ce17393c9b3a927ca8be306641a0cac3d58c0b5 | 23,644 | h | C | jre_emul/android/platform/external/icu/data/_com_ibm_icu_impl_data_icudt58b_zone_ur_IN_res.h | life-beam/j2objc | 471504a735b48d5d4ace51afa1542cc4790a921a | [
"Apache-2.0"
] | 1 | 2022-01-19T14:48:54.000Z | 2022-01-19T14:48:54.000Z | jre_emul/android/platform/external/icu/data/_com_ibm_icu_impl_data_icudt58b_zone_ur_IN_res.h | FD-/j2objc | 316bb5a9e9986fa05106fd267da93b8ae60ca212 | [
"Apache-2.0"
] | null | null | null | jre_emul/android/platform/external/icu/data/_com_ibm_icu_impl_data_icudt58b_zone_ur_IN_res.h | FD-/j2objc | 316bb5a9e9986fa05106fd267da93b8ae60ca212 | [
"Apache-2.0"
] | 1 | 2019-05-06T00:18:50.000Z | 2019-05-06T00:18:50.000Z | //
// Generated by gen_resource_source.py
//
#ifndef _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_UR_IN_RES_H
#define _COM_IBM_ICU_IMPL_DATA_ICUDT58B_ZONE_UR_IN_RES_H
static jbyte _com_ibm_icu_impl_data_icudt58b_zone_ur_IN_res[] = {
0x00, 0x20, 0xDA, 0x27, 0x00, 0x14, 0x00, 0x00, 0x01, 0x00,
0x02, 0x00, 0x52, 0x65, 0x73,... | 60.470588 | 65 | 0.647818 |
aa027402e286c101b2aa9efbdac8930c6ff18055 | 3,133 | h | C | StatisticsModule.h | VeronikaDmytryk/UserAuthentificationController | 3471e933c8b2b2fc394e4f4143405442ed5bb23f | [
"MIT"
] | 1 | 2019-12-15T07:32:12.000Z | 2019-12-15T07:32:12.000Z | StatisticsModule.h | VeronikaDmytryk/UserAuthentificationController | 3471e933c8b2b2fc394e4f4143405442ed5bb23f | [
"MIT"
] | null | null | null | StatisticsModule.h | VeronikaDmytryk/UserAuthentificationController | 3471e933c8b2b2fc394e4f4143405442ed5bb23f | [
"MIT"
] | null | null | null | /*
Author: Veronika Dmytryk
Date: Fall 2019
Description: A definition of StatisticsModule class for Autentication Controller
*/
#ifndef STATISTICS_H
#define STATISTICS_H
#include <iostream>
#include <list>
using namespace std;
// a struct defined user statistic object
struct userStatistics{
... | 32.978947 | 126 | 0.603894 |
6f77c57db9a15c912ccc06400cde80d175d15704 | 3,657 | h | C | apps/digit_recognition/firmware/src/config/sam_e51_igat/gfx/legato/generated/screen/le_gen_screen_CkrScrn1.h | Microchip-MPLAB-Harmony/tflite-micro-apps | af7664f319c43a8dc9949430757d93d8ab597abb | [
"BSD-3-Clause-Attribution"
] | null | null | null | apps/digit_recognition/firmware/src/config/sam_e51_igat/gfx/legato/generated/screen/le_gen_screen_CkrScrn1.h | Microchip-MPLAB-Harmony/tflite-micro-apps | af7664f319c43a8dc9949430757d93d8ab597abb | [
"BSD-3-Clause-Attribution"
] | null | null | null | apps/digit_recognition/firmware/src/config/sam_e51_igat/gfx/legato/generated/screen/le_gen_screen_CkrScrn1.h | Microchip-MPLAB-Harmony/tflite-micro-apps | af7664f319c43a8dc9949430757d93d8ab597abb | [
"BSD-3-Clause-Attribution"
] | 1 | 2022-01-25T08:45:11.000Z | 2022-01-25T08:45:11.000Z | #ifndef LE_GEN_SCREEN_CKRSCRN1_H
#define LE_GEN_SCREEN_CKRSCRN1_H
#include "gfx/legato/legato.h"
#include "gfx/legato/generated/le_gen_scheme.h"
#include "gfx/legato/generated/le_gen_assets.h"
// DOM-IGNORE-BEGIN
#ifdef __cplusplus // Provide C++ Compatibility
extern "C" {
#endif
// DOM-IGNORE-END
// screen member... | 40.186813 | 93 | 0.853979 |
6f9c0af5e3417d59101c2e0ea53be997a887085d | 3,977 | h | C | usr.sbin/ppp/prompt.h | TrustedBSD/sebsd | fd5de6f587183087cf930779701d5713e8ca64cc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 4 | 2017-04-06T21:39:15.000Z | 2019-10-09T17:34:14.000Z | usr.sbin/ppp/prompt.h | TrustedBSD/sebsd | fd5de6f587183087cf930779701d5713e8ca64cc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | usr.sbin/ppp/prompt.h | TrustedBSD/sebsd | fd5de6f587183087cf930779701d5713e8ca64cc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-01-04T06:36:39.000Z | 2020-01-04T06:36:39.000Z | /*-
* Copyright (c) 1998 Brian Somers <brian@Awfulhak.org>
* 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
* notice... | 41 | 77 | 0.719638 |
a58d56f639e7c02643c7306ce7fcba96bd92d793 | 844 | h | C | gstd/src/Table.h | georgephilipp/cppgstd_legacy | e130860da7700aae42b915bc36a7efa4cae06d56 | [
"MIT"
] | null | null | null | gstd/src/Table.h | georgephilipp/cppgstd_legacy | e130860da7700aae42b915bc36a7efa4cae06d56 | [
"MIT"
] | null | null | null | gstd/src/Table.h | georgephilipp/cppgstd_legacy | e130860da7700aae42b915bc36a7efa4cae06d56 | [
"MIT"
] | null | null | null | /*
* File: Table.h
* Author: gschoenh
*
* Created on December 6, 2013, 1:37 PM
*/
#include "stdafx.h"
#ifndef TABLE_H
#define TABLE_H
#include"standard.h"
namespace msii810161816
{
namespace gstd
{
template<typename datatypename>
class Table
{
public:
T... | 18.347826 | 60 | 0.441943 |
024b3f6a65d817779544fb352d1f25d63ec37ad5 | 1,568 | h | C | SDKs/CryCode/3.8.1/CryEngine/CryAction/MaterialEffects/MFXFlowGraphEffect.h | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.8.1/CryEngine/CryAction/MaterialEffects/MFXFlowGraphEffect.h | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.8.1/CryEngine/CryAction/MaterialEffects/MFXFlowGraphEffect.h | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | ////////////////////////////////////////////////////////////////////////////
//
// Crytek Engine Source File.
// Copyright (C), Crytek Studios, 2006.
// -------------------------------------------------------------------------
// File name: MFXFlowGraphEffect.h
// Version: v1.00
// Created: 29/11/2006 by... | 28 | 121 | 0.614158 |
e2e1848bb1ecaa6cf79f14db6d5a8c6e24ed4cf9 | 8,251 | h | C | Player.h | ahadrauf/magician_wars | a9b43ce520fc528b470aec10437f79dbd951547b | [
"MIT"
] | null | null | null | Player.h | ahadrauf/magician_wars | a9b43ce520fc528b470aec10437f79dbd951547b | [
"MIT"
] | null | null | null | Player.h | ahadrauf/magician_wars | a9b43ce520fc528b470aec10437f79dbd951547b | [
"MIT"
] | null | null | null | #pragma once
#include "Person.h"
#include "Enemy.h"
#include "List.h"
#include "Item.h"
#include "Skill.h"
#include <iomanip>
class Player : public Person
{
public:
Player(string n, int l = 1, int h = 50, int m = 30, int aP = 12, int dP = 8, int mA = 12, int mD = 7, int e = 0, int mo = 500)
: Person(n, l, h, m, aP,... | 25.232416 | 140 | 0.575203 |
53be0475979c54ded161e3746ef269bc5c4e25de | 474 | h | C | DamageAnalysisApp.h | Htresnal/DamageAnalysisTool | b6330c1c53243e6dc9b3f318ec87e1f3408763e5 | [
"MIT"
] | null | null | null | DamageAnalysisApp.h | Htresnal/DamageAnalysisTool | b6330c1c53243e6dc9b3f318ec87e1f3408763e5 | [
"MIT"
] | null | null | null | DamageAnalysisApp.h | Htresnal/DamageAnalysisTool | b6330c1c53243e6dc9b3f318ec87e1f3408763e5 | [
"MIT"
] | null | null | null | /***************************************************************
* Name: DamageAnalysisApp.h
* Purpose: Defines Application Class
* Author: ()
* Created: 2016-02-05
* Copyright: ()
* License:
**************************************************************/
#ifndef DAMAGEANALYSISAPP_H
#define DAMAGE... | 21.545455 | 64 | 0.489451 |
8506748ae035f5df791ae75d534ab1c221b84db5 | 14,713 | h | C | release/src-rt-6.x.4708/router/mysql/storage/innodb_plugin/include/fsp0fsp.h | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src-rt-6.x.4708/router/mysql/storage/innodb_plugin/include/fsp0fsp.h | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src-rt-6.x.4708/router/mysql/storage/innodb_plugin/include/fsp0fsp.h | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /*****************************************************************************
Copyright (c) 1995, 2012, Oracle and/or its affiliates. All Rights Reserved.
This program 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
Founda... | 39.980978 | 79 | 0.608781 |
8f61dd603d13e87a501a74dd3bb9bebfd037f319 | 584 | h | C | Libraries/gtkmm/lib/x86/pangomm/include/pangommconfig.h | utilForever/Wings | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | [
"MIT"
] | 3 | 2017-01-19T09:30:50.000Z | 2017-03-20T10:47:20.000Z | Libraries/gtkmm/lib/x86/pangomm/include/pangommconfig.h | utilForever/Wings | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | [
"MIT"
] | null | null | null | Libraries/gtkmm/lib/x86/pangomm/include/pangommconfig.h | utilForever/Wings | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | [
"MIT"
] | 2 | 2017-01-19T09:32:19.000Z | 2021-03-15T16:00:43.000Z | /* pango/pangommconfig.h. Generated from pangommconfig.h.in by configure. */
/* This file is part of pangomm. */
#ifndef PANGOMM_PANGOMMCONFIG_H_INCLUDED
#define PANGOMM_PANGOMMCONFIG_H_INCLUDED
#include <glibmmconfig.h>
/* Define to omit deprecated API from the library. */
/* #undef PANGOMM_DISABLE_DEPRECATED */
... | 27.809524 | 78 | 0.77226 |
e9df8931c3b2e250980f7dce2f38684355835d46 | 190 | c | C | librt/libc/src/unistd.c | kl4w3i/ppci | f3be0d4ebc1ac57907fd9c21e886ab70b2805c21 | [
"BSD-2-Clause"
] | 161 | 2020-05-31T03:29:42.000Z | 2022-03-07T08:36:19.000Z | librt/libc/src/unistd.c | pfalcon/ppci | ea72967c8984757b4665a2fb0db095f32687eabf | [
"BSD-2-Clause"
] | 74 | 2020-05-26T18:05:48.000Z | 2021-02-13T21:55:39.000Z | librt/libc/src/unistd.c | pfalcon/ppci | ea72967c8984757b4665a2fb0db095f32687eabf | [
"BSD-2-Clause"
] | 19 | 2020-05-27T19:22:11.000Z | 2022-02-17T18:53:52.000Z | #include "stdlib.h"
#include "unistd.h"
ssize_t read(int fd, void *buf, size_t count){
return (size_t) syscall(0, fd, buf, count);
}
int close(int fd){
return syscall(3, fd, 0, 0);
}
| 17.272727 | 46 | 0.647368 |
e9e392b6db08976f17faf6f51c3f41b66863aab2 | 35,915 | c | C | libred/src/parser.c | davidgm94/redflag | c9a19d3c3ed7696bb2a5c8f35424e1f996947e2d | [
"MIT"
] | 1 | 2021-04-03T11:52:43.000Z | 2021-04-03T11:52:43.000Z | libred/src/parser.c | davidgm94/redflag | c9a19d3c3ed7696bb2a5c8f35424e1f996947e2d | [
"MIT"
] | null | null | null | libred/src/parser.c | davidgm94/redflag | c9a19d3c3ed7696bb2a5c8f35424e1f996947e2d | [
"MIT"
] | null | null | null | #include "compiler_types.h"
#include "parser.h"
#include "lexer.h"
#include "os.h"
#include <stdarg.h>
#include <stdio.h>
GEN_BUFFER_FUNCTIONS(node, nb, ASTNodeBuffer, ASTNode*)
static inline ASTNode*parse_expression(ParseContext*pc);
static inline ASTNode*parse_primary_expr(ParseContext*pc);
static inline ASTNode*pa... | 27.044428 | 292 | 0.653265 |
5f94128f684d3ec8e90513ed1489b07f5929481d | 312 | h | C | src/ui_game_menu.h | moverest/bagh-chal | 6a59d30e7344ab2d80457826d792ce7d9db4c313 | [
"MIT"
] | 2 | 2021-06-01T20:17:37.000Z | 2021-08-24T01:21:58.000Z | src/ui_game_menu.h | moverest/bagh-chal | 6a59d30e7344ab2d80457826d792ce7d9db4c313 | [
"MIT"
] | null | null | null | src/ui_game_menu.h | moverest/bagh-chal | 6a59d30e7344ab2d80457826d792ce7d9db4c313 | [
"MIT"
] | 2 | 2017-06-11T19:35:31.000Z | 2020-01-05T03:55:07.000Z | #ifndef __UI_GAME_MENU_H__
#define __UI_GAME_MENU_H__
#include "ai.h"
#include "graphics.h"
bool ui_game_menu(void *graphics_context,
graphics_callbacks_t graphics,
ai_callbacks_t **tiger_ai,
ai_callbacks_t **goat_ai);
#endif
| 22.285714 | 57 | 0.596154 |
5821403ff2944f1ca0bda903d404cb7fbcd7128e | 9,531 | c | C | src/usb/usb_conf.c | andriy-bilynskyy/STM32-AES-Bootloader | 910c67b9333e10d817a516adf62fc273936b8bad | [
"MIT"
] | 12 | 2020-09-24T11:20:57.000Z | 2021-11-08T21:10:48.000Z | src/usb/usb_conf.c | andriy-bilynskyy/STM32-AES-Bootloader | 910c67b9333e10d817a516adf62fc273936b8bad | [
"MIT"
] | 1 | 2020-08-23T16:46:50.000Z | 2020-11-23T09:57:30.000Z | src/usb/usb_conf.c | andriy-bilynskyy/STM32-AES-Bootloader | 910c67b9333e10d817a516adf62fc273936b8bad | [
"MIT"
] | 4 | 2020-07-24T09:01:01.000Z | 2021-06-15T14:56:08.000Z | /*
********************************************************************************
**
** (C) 2020 Andrii Bilynskyi <andriy.bilynskyy@gmail.com>
**
** This code is licensed under the MIT.
**
********************************************************************************
*/
#include "usb_lib.h"
/*****... | 31.045603 | 81 | 0.61599 |
166edd69b049f0296d372c02731233cd2e10fce5 | 12,918 | h | C | src/constitutive/TACSMaterialProperties.h | tchin-divergent/tacs | 34743b370da4ab6ea16d24de7c574c3fec9d333a | [
"Apache-2.0"
] | null | null | null | src/constitutive/TACSMaterialProperties.h | tchin-divergent/tacs | 34743b370da4ab6ea16d24de7c574c3fec9d333a | [
"Apache-2.0"
] | null | null | null | src/constitutive/TACSMaterialProperties.h | tchin-divergent/tacs | 34743b370da4ab6ea16d24de7c574c3fec9d333a | [
"Apache-2.0"
] | null | null | null | /*
This file is part of TACS: The Toolkit for the Analysis of Composite
Structures, a parallel finite-element code for structural and
multidisciplinary design optimization.
Copyright (C) 2010 University of Toronto
Copyright (C) 2012 University of Michigan
Copyright (C) 2014 Georgia Tech Research Corporatio... | 41.140127 | 79 | 0.604041 |
55c4462db927335f0688b08715d1830ddab09edf | 11,992 | c | C | tests/functional/log_test.c | vmware/splinterdb | 020dc748564df601add444c9276228adb4e9b00f | [
"Apache-2.0"
] | 10 | 2022-03-19T16:12:43.000Z | 2022-03-31T02:04:54.000Z | tests/functional/log_test.c | vmware/splinterdb | 020dc748564df601add444c9276228adb4e9b00f | [
"Apache-2.0"
] | 32 | 2022-03-18T23:08:13.000Z | 2022-03-31T01:33:03.000Z | tests/functional/log_test.c | vmware/splinterdb | 020dc748564df601add444c9276228adb4e9b00f | [
"Apache-2.0"
] | 2 | 2022-03-20T01:43:00.000Z | 2022-03-25T07:57:14.000Z | // Copyright 2018-2021 VMware, Inc.
// SPDX-License-Identifier: Apache-2.0
/*
* log_test.c --
*
* This file contains tests for Alex's log
*/
#include "platform.h"
#include "log.h"
#include "shard_log.h"
#include "io.h"
#include "allocator.h"
#include "rc_allocator.h"
#include "cache.h"
#include "clockcache.h"... | 31.557895 | 80 | 0.512759 |
b1f3bf671174d75a4323b4f0e39545bacdd08c92 | 355 | c | C | test/mem_safety/use_after_free/use_after_free-043.c | spurious/safecode-mirror | 238e1a381674528f642e1ee6be1e1b7df465672e | [
"NCSA"
] | 5 | 2015-07-23T09:47:12.000Z | 2019-11-28T01:34:01.000Z | test/mem_safety/use_after_free/use_after_free-043.c | spurious/safecode-mirror | 238e1a381674528f642e1ee6be1e1b7df465672e | [
"NCSA"
] | null | null | null | test/mem_safety/use_after_free/use_after_free-043.c | spurious/safecode-mirror | 238e1a381674528f642e1ee6be1e1b7df465672e | [
"NCSA"
] | 3 | 2015-10-28T18:21:02.000Z | 2019-05-06T18:35:41.000Z | /* Use of a function pointer embedded in a free'd union. */
#include <stdio.h>
#include <stdlib.h>
typedef int (*pfptr)(const char *, ...);
union test
{
pfptr func;
int value;
};
int main()
{
union test *t;
t = malloc(sizeof(union test) * 10);
t[0].value = 1000;
t[8].func = printf;
free(t);
t[8].fu... | 14.2 | 59 | 0.597183 |
1dc0cacc83f8fd5aeb7deb587545bbd4e41b32c2 | 555 | c | C | ch09/alarm2.c | kakts/c-unix-programming | 61d4b9f6e0dff031bde40c3fa8109b3fe524e6bb | [
"MIT"
] | null | null | null | ch09/alarm2.c | kakts/c-unix-programming | 61d4b9f6e0dff031bde40c3fa8109b3fe524e6bb | [
"MIT"
] | null | null | null | ch09/alarm2.c | kakts/c-unix-programming | 61d4b9f6e0dff031bde40c3fa8109b3fe524e6bb | [
"MIT"
] | null | null | null | /**
* @file alarm2.c
*
* 演習問題9.3
* alarm signalを使って3秒後にhelloを出力して終了する
*/
#include <stdio.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
void loop (void) {
int i;
for (i = 0; i < 0xFFFFFF; i++) {
// 時間稼ぎ用のループ
}
}
/**
* シグナルハンドラ関数
* SIGALRMを受け取った時に実行数する
*/
void handler(int ... | 14.605263 | 37 | 0.54955 |
ceb4f963c49875a5d6827cccbe225f713d3e006c | 277 | h | C | project2D/newGame.h | DylanGuidry95/TowerOfDameon | f08f133fa4d6cd4459760cee563b6b3082253687 | [
"MIT"
] | null | null | null | project2D/newGame.h | DylanGuidry95/TowerOfDameon | f08f133fa4d6cd4459760cee563b6b3082253687 | [
"MIT"
] | null | null | null | project2D/newGame.h | DylanGuidry95/TowerOfDameon | f08f133fa4d6cd4459760cee563b6b3082253687 | [
"MIT"
] | null | null | null | #pragma once
#include <imgui.h>
#include "Hero.h"
class newGameClass
{
private:
int count = 0;
public:
newGameClass();
void draw(aie::Renderer2D* renderer, int timer, aie::Font* font);
void drawText(aie::Renderer2D* renderer, aie::Font* font);
Hero StartGame(int&);
}; | 16.294118 | 66 | 0.700361 |
076a5338d318a4458a671475e7d7c5f5f99e8c37 | 571 | c | C | pp010.c | Chauhan5devanshi/cke | 98ba75759c9fcfc720a52fb179ed17fe4adaea91 | [
"Apache-2.0"
] | null | null | null | pp010.c | Chauhan5devanshi/cke | 98ba75759c9fcfc720a52fb179ed17fe4adaea91 | [
"Apache-2.0"
] | null | null | null | pp010.c | Chauhan5devanshi/cke | 98ba75759c9fcfc720a52fb179ed17fe4adaea91 | [
"Apache-2.0"
] | null | null | null | /*pp010: Create a header file as pp010.h having a function iseven() which takes a number as input and returns 1
if the number is even else returns 0. Write a program pp010.c, include the header file into it. Create the main function to input a number and check it to be even or odd.*/
#include"stdio.h"
#include"pp0... | 38.066667 | 173 | 0.690018 |
a321155becce6e5e98e9a202dc9e70121576c441 | 767 | h | C | src/blogc/content-parser.h | rafaelmartins/blogc | 826db80e884cfd6a716e68db7a7dd01acd4f0936 | [
"BSD-3-Clause"
] | 204 | 2015-07-24T20:52:53.000Z | 2022-03-19T13:32:36.000Z | src/blogc/content-parser.h | rafaelmartins/blogc | 826db80e884cfd6a716e68db7a7dd01acd4f0936 | [
"BSD-3-Clause"
] | 14 | 2015-10-27T14:15:15.000Z | 2020-12-19T22:00:31.000Z | src/blogc/content-parser.h | rafaelmartins/blogc | 826db80e884cfd6a716e68db7a7dd01acd4f0936 | [
"BSD-3-Clause"
] | 22 | 2015-10-04T11:50:31.000Z | 2021-12-25T10:37:50.000Z | /*
* blogc: A blog compiler.
* Copyright (C) 2014-2020 Rafael G. Martins <rafael@rafaelmartins.eng.br>
*
* This program can be distributed under the terms of the BSD License.
* See the file LICENSE.
*/
#ifndef _CONTENT_PARSER_H
#define _CONTENT_PARSER_H
#include <stddef.h>
#include <stdbool.h>
#include "../comm... | 29.5 | 74 | 0.750978 |
ed22793ec1e3e798316a6e7714325e995e0fac19 | 6,793 | h | C | EB_GUIDE_GTF/model_extensions/GaussianBlur/src/GaussianBlur.h | pethipet/eb-guide-examples | 1c14fdb6eebdd8b164d99b519161160ecc5a29cf | [
"MIT"
] | null | null | null | EB_GUIDE_GTF/model_extensions/GaussianBlur/src/GaussianBlur.h | pethipet/eb-guide-examples | 1c14fdb6eebdd8b164d99b519161160ecc5a29cf | [
"MIT"
] | null | null | null | EB_GUIDE_GTF/model_extensions/GaussianBlur/src/GaussianBlur.h | pethipet/eb-guide-examples | 1c14fdb6eebdd8b164d99b519161160ecc5a29cf | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Elektrobit Automotive GmbH
// Alle Rechte vorbehalten. All Rights Reserved.
//
// Information contained herein is subject to change without notice.
// Elektrobit retains ownership and all other rights in the software and e... | 35.565445 | 134 | 0.663477 |
4be4ad9030e38a2ea9fe2afb40e6bc3408c4ea7b | 1,365 | h | C | clang-tidy/modernize/DeprecatedHeadersCheck.h | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | null | null | null | clang-tidy/modernize/DeprecatedHeadersCheck.h | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | 2 | 2019-01-24T00:38:27.000Z | 2019-02-28T00:23:56.000Z | clang-tidy/modernize/DeprecatedHeadersCheck.h | Szelethus/clang-tools-extra | 4bff9e7bc96ac495d7b6b2e8cc6c6f629e824022 | [
"Apache-2.0"
] | null | null | null | //===--- DeprecatedHeadersCheck.h - clang-tidy-------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 29.042553 | 83 | 0.671795 |
d461c9094a1ae7f27962320eaf1bf980d514531e | 5,052 | c | C | HW07/main.c | ruibinjiang/ECE-264-Solutions | a93fcd370bc2bc932fd751864d3b722997d92ac1 | [
"Apache-2.0"
] | null | null | null | HW07/main.c | ruibinjiang/ECE-264-Solutions | a93fcd370bc2bc932fd751864d3b722997d92ac1 | [
"Apache-2.0"
] | null | null | null | HW07/main.c | ruibinjiang/ECE-264-Solutions | a93fcd370bc2bc932fd751864d3b722997d92ac1 | [
"Apache-2.0"
] | null | null | null | //You must modify specific portions of this file
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#ifdef TEST_MERGE
/* The merge(arr, l, m, r) is key process that assumes that arr[l..m] and
arr[m+1..r] are sorted and merges the two sorted sub-arrays into one.*/
void merge(int arr[], int l... | 27.308108 | 119 | 0.604909 |
d46f8faa8ceee751b885678a6579bc782c80f62d | 233 | h | C | qsnake/game/brick.h | SeanChao/Snake-Infinity | 90b257c79aedfd0983a68fc9546fce48d33d3a09 | [
"MIT"
] | null | null | null | qsnake/game/brick.h | SeanChao/Snake-Infinity | 90b257c79aedfd0983a68fc9546fce48d33d3a09 | [
"MIT"
] | null | null | null | qsnake/game/brick.h | SeanChao/Snake-Infinity | 90b257c79aedfd0983a68fc9546fce48d33d3a09 | [
"MIT"
] | null | null | null | #include "point.h"
#include <vector>
class Brick {
private:
std::vector<Point> brick_point;
public:
Brick(int cell_number);
~Brick();
bool inBrick(const Point &p) const;
std::vector<Point>* getBrick();
}; | 16.642857 | 39 | 0.630901 |
54d1d3a4e76f884326dd020d006bfd48b03a8fe1 | 5,627 | c | C | src/kernel/memory.c | macminix/MacMinix | 12262051184fb2fe10ad0a2156546454e38a3e57 | [
"BSD-3-Clause"
] | 30 | 2015-02-17T23:26:16.000Z | 2022-02-22T19:40:04.000Z | src/kernel/memory.c | macminix/MacMinix | 12262051184fb2fe10ad0a2156546454e38a3e57 | [
"BSD-3-Clause"
] | null | null | null | src/kernel/memory.c | macminix/MacMinix | 12262051184fb2fe10ad0a2156546454e38a3e57 | [
"BSD-3-Clause"
] | 7 | 2016-07-02T20:33:49.000Z | 2022-02-23T14:03:58.000Z | /* This file contains the drivers for the following special files:
* /dev/null - null device (data sink)
* /dev/mem - absolute memory
* /dev/kmem - kernel virtual memory
* /dev/ram - RAM disk
* /dev/port - i/o ports ((CHIP == INTEL) only)
*
* The driver supports the following operations (us... | 32.906433 | 80 | 0.550382 |
8830cc971fd8b07fa0756fb5504019111376167f | 1,943 | h | C | src/include/OpenGLMeshRender/mesh_traits.h | gig2/OpenGLMeshRender | be37ec36c859ee426b214038037cefd88b8fa7e2 | [
"BSD-3-Clause"
] | null | null | null | src/include/OpenGLMeshRender/mesh_traits.h | gig2/OpenGLMeshRender | be37ec36c859ee426b214038037cefd88b8fa7e2 | [
"BSD-3-Clause"
] | null | null | null | src/include/OpenGLMeshRender/mesh_traits.h | gig2/OpenGLMeshRender | be37ec36c859ee426b214038037cefd88b8fa7e2 | [
"BSD-3-Clause"
] | null | null | null | #include "void_t.h"
#include <type_traits>
// This is what we will use intensivly with
// everything related to enable_if mechanism
// see https://www.fluentcpp.com/2018/05/15/make-sfinae-pretty-1-what-value-sfinae-brings-to-code/
// and the second part
// https://www.fluentcpp.com/2018/05/18/make-sfinae-pretty-2-hid... | 26.616438 | 100 | 0.743181 |
f87ce2cfd2cc33232801e82a2df36376f23a6071 | 484 | c | C | test.c | hcnn/stopping_converge | 648a852ac1e518d9310ae6764e3feec2823c35c6 | [
"MIT"
] | null | null | null | test.c | hcnn/stopping_converge | 648a852ac1e518d9310ae6764e3feec2823c35c6 | [
"MIT"
] | null | null | null | test.c | hcnn/stopping_converge | 648a852ac1e518d9310ae6764e3feec2823c35c6 | [
"MIT"
] | null | null | null | #include <stdio.h> // printf
#include "stopping_converge.h"
int main()
{
double lambda = 10;
double f0 = 10.0;
double f1 = 10.1;
bool res;
res = stopping_converge(f1, f0, lambda);
printf("%s\n", res ? "true -> stop" : "false -> proceed");
res = stopping_converge(f1, f0, 1.0);
pri... | 24.2 | 62 | 0.555785 |
f77d5b36d7ccc4d46d75012ab472e2f1162077e9 | 23,788 | h | C | libical/libical-1.0/src/libical/autogenex/icalderivedproperty.h | imx6uldev/depedency_tools | 0748392a4e97ded2a770b6fbcab281dd3fda2db7 | [
"MIT"
] | null | null | null | libical/libical-1.0/src/libical/autogenex/icalderivedproperty.h | imx6uldev/depedency_tools | 0748392a4e97ded2a770b6fbcab281dd3fda2db7 | [
"MIT"
] | null | null | null | libical/libical-1.0/src/libical/autogenex/icalderivedproperty.h | imx6uldev/depedency_tools | 0748392a4e97ded2a770b6fbcab281dd3fda2db7 | [
"MIT"
] | null | null | null | /* -*- Mode: C -*-
======================================================================
FILE: icalderivedproperties.{c,h}
CREATOR: eric 09 May 1999
$Id: icalderivedproperty.h,v 1.5 2002-09-01 19:12:31 gray-john Exp $
(C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
This program is fr... | 48.946502 | 160 | 0.805574 |
fb468b9934ade7dedb707e8ce111123123ff1a05 | 705 | h | C | IncrementalSearchMode.h | tgustafsson/myeditor | c2add8e01664cf58301058af017a9249cfd8832a | [
"Apache-2.0"
] | null | null | null | IncrementalSearchMode.h | tgustafsson/myeditor | c2add8e01664cf58301058af017a9249cfd8832a | [
"Apache-2.0"
] | null | null | null | IncrementalSearchMode.h | tgustafsson/myeditor | c2add8e01664cf58301058af017a9249cfd8832a | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Mode.h"
#include <string>
class IncrementalSearchMode : public Mode
{
private:
std::wstring m_search;
public:
IncrementalSearchMode(const KeyCords& keys, std::shared_ptr<Control> control, KeyCord::insert_func insert);
virtual std::vector<std::shared_ptr<AttributedString>> sy... | 39.166667 | 228 | 0.764539 |
97847a0a05cda594b00eee72668b3b3cbfcca573 | 1,195 | h | C | include/media/AudioResamplerPublic.h | rubis-lab/NANS_framework_av | fc0e7dfab044f96b33c641d7ddf60d5a8f1ac46e | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | include/media/AudioResamplerPublic.h | rubis-lab/NANS_framework_av | fc0e7dfab044f96b33c641d7ddf60d5a8f1ac46e | [
"Apache-2.0"
] | 1 | 2020-02-05T22:19:24.000Z | 2020-02-05T22:19:24.000Z | include/media/AudioResamplerPublic.h | rubis-lab/NANS_framework_av | fc0e7dfab044f96b33c641d7ddf60d5a8f1ac46e | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | /*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 39.833333 | 75 | 0.774059 |
202b53973050c5fe6e2b5adeeb3b1065b7bdee92 | 986 | c | C | UCF/Engineering-Computation/Assignment-1/question5.c | tsimmons15/school-work | 09d040c129ebf4c7721acfa62398f85b00732286 | [
"Unlicense"
] | null | null | null | UCF/Engineering-Computation/Assignment-1/question5.c | tsimmons15/school-work | 09d040c129ebf4c7721acfa62398f85b00732286 | [
"Unlicense"
] | null | null | null | UCF/Engineering-Computation/Assignment-1/question5.c | tsimmons15/school-work | 09d040c129ebf4c7721acfa62398f85b00732286 | [
"Unlicense"
] | null | null | null | #include <stdio.h>
#define SIZE 10
#define MAX 10
#define MIN 1
void fillArray(int *arr);
void displayArray(int *arr);
void processArray(int *arr);
int main()
{
int arr[SIZE] = {0};
fillArray(arr);
printf("Array data\n");
displayArray(arr);
processArray(arr);
printf("After processing\n");
... | 16.163934 | 63 | 0.497972 |
ee57e1ff03715285619c2815de684da61f6cfe66 | 115 | c | C | test/transform/inline/inline_64.tfm.c | vladem/tsar | 3771068d47a8a258ee4a74ad5fc9c246f8aba7cb | [
"Apache-2.0"
] | null | null | null | test/transform/inline/inline_64.tfm.c | vladem/tsar | 3771068d47a8a258ee4a74ad5fc9c246f8aba7cb | [
"Apache-2.0"
] | 11 | 2021-01-28T21:06:08.000Z | 2021-02-24T09:49:35.000Z | tests/transform/inline/inline_64/sample/main.c | zoocide/tsar-test-template | b3047eaa2ad8e4d6c0ab2a86f61a596736dbd762 | [
"Apache-2.0"
] | null | null | null | int foo(int a) { return a--; }
int main() {
int x = 50;
while (foo(x) > 0) {
x -= 1;
}
return 0;
}
| 8.846154 | 30 | 0.426087 |
e38423eba3d9dfbbb5acecc0330197242938ae93 | 19,406 | h | C | ddradseq.h | popgendad/ddradseq | d181de8caf8ead55538f96177e5bf8ca033923f7 | [
"MIT"
] | null | null | null | ddradseq.h | popgendad/ddradseq | d181de8caf8ead55538f96177e5bf8ca033923f7 | [
"MIT"
] | null | null | null | ddradseq.h | popgendad/ddradseq | d181de8caf8ead55538f96177e5bf8ca033923f7 | [
"MIT"
] | null | null | null | /** @file ddradseq.h
* @brief Header for the ddradseq program
* @author Daniel Garrigan Lummei Analytics LLC
* @date November 2016
*
* Contact: dgarriga@lummei.net
* Copyright: MIT license
*/
#ifndef DDRADSEQ_H
#define DDRADEQ_H
#if defined __GNUC__ && !defined __GNUC_STDC_INLINE__ && !defined __GNUC_GNU_... | 33.574394 | 136 | 0.643615 |
dc6dd3570e00ed04a05df72e4d58436718509b1f | 4,249 | h | C | u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3/drivers/ram/k3-j721e/lpddr4_structs_if.h | rlourette/TI_SDK_u-boot-2019.01 | 3000a07c021e84d717e6792a74efcf895a7d7188 | [
"MIT"
] | 1 | 2021-11-21T19:56:29.000Z | 2021-11-21T19:56:29.000Z | u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3/drivers/ram/k3-j721e/lpddr4_structs_if.h | rlourette/TI_SDK_u-boot-2019.01 | 3000a07c021e84d717e6792a74efcf895a7d7188 | [
"MIT"
] | null | null | null | u-boot-2019.01+gitAUTOINC+333c3e72d3-g333c3e72d3/drivers/ram/k3-j721e/lpddr4_structs_if.h | rlourette/TI_SDK_u-boot-2019.01 | 3000a07c021e84d717e6792a74efcf895a7d7188 | [
"MIT"
] | null | null | null | /* SPDX-License-Identifier: BSD-3-Clause */
/**********************************************************************
* Copyright (C) 2012-2019 Cadence Design Systems, Inc.
**********************************************************************
* WARNING: This file is auto-generated using api-generator utility.
* ... | 34.827869 | 95 | 0.672629 |
40d07f02674c786cb3890b082dd746ace56f5f90 | 17,595 | h | C | FreeBSD/sys/arm64/include/armreg.h | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | FreeBSD/sys/arm64/include/armreg.h | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | FreeBSD/sys/arm64/include/armreg.h | TigerBSD/TigerBSD | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 18 | 2018-11-24T10:35:29.000Z | 2021-04-22T07:22:10.000Z | /*-
* Copyright (c) 2013, 2014 Andrew Turner
* Copyright (c) 2015 The FreeBSD Foundation
* All rights reserved.
*
* This software was developed by Andrew Turner under
* sponsorship from the FreeBSD Foundation.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted ... | 42.706311 | 78 | 0.775675 |
7b6858698cc237855a4923bd0d6d7a71fcdb3b7d | 6,491 | h | C | src/GrainViewer/utils/jsonutils.h | eliemichel/GrainViewer | 91d4922b3185ada90508f0944f2691ba8eba45e3 | [
"MIT"
] | 8 | 2020-12-14T13:14:22.000Z | 2021-12-11T20:04:54.000Z | src/GrainViewer/utils/jsonutils.h | eliemichel/GrainViewer | 91d4922b3185ada90508f0944f2691ba8eba45e3 | [
"MIT"
] | null | null | null | src/GrainViewer/utils/jsonutils.h | eliemichel/GrainViewer | 91d4922b3185ada90508f0944f2691ba8eba45e3 | [
"MIT"
] | 2 | 2020-12-16T10:02:15.000Z | 2021-03-16T16:06:19.000Z | /**
* This file is part of GrainViewer, the reference implementation of:
*
* Michel, Élie and Boubekeur, Tamy (2020).
* Real Time Multiscale Rendering of Dense Dynamic Stackings,
* Computer Graphics Forum (Proc. Pacific Graphics 2020), 39: 169-179.
* https://doi.org/10.1111/cgf.14135
*
* Copyright (c) 2... | 34.897849 | 130 | 0.677708 |
7bea341e769143ed4a65eb537f6f880deea439fe | 220 | h | C | SmartDeviceLink/public/SDLSubscribeWayPointsResponse.h | codelynx/sdl_ios | 90317e17d408426547b4afed91620bc695a3279c | [
"BSD-3-Clause"
] | 171 | 2015-01-13T14:17:29.000Z | 2022-03-18T19:55:24.000Z | SmartDeviceLink/public/SDLSubscribeWayPointsResponse.h | codelynx/sdl_ios | 90317e17d408426547b4afed91620bc695a3279c | [
"BSD-3-Clause"
] | 1,524 | 2015-01-16T14:31:10.000Z | 2022-03-30T14:37:02.000Z | SmartDeviceLink/public/SDLSubscribeWayPointsResponse.h | codelynx/sdl_ios | 90317e17d408426547b4afed91620bc695a3279c | [
"BSD-3-Clause"
] | 129 | 2015-01-15T19:27:18.000Z | 2021-11-26T01:49:12.000Z | // SDLSubscribeWaypointsResponse.h
//
#import "SDLRPCResponse.h"
NS_ASSUME_NONNULL_BEGIN
/**
Response to SubscribeWayPoints
*/
@interface SDLSubscribeWayPointsResponse : SDLRPCResponse
@end
NS_ASSUME_NONNULL_END
| 13.75 | 57 | 0.809091 |
f46cccd6d81ca7957110c40c6641836a53039cde | 538 | c | C | Light OJ/oj 1006.c | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 6 | 2018-10-15T18:45:05.000Z | 2022-03-29T04:30:10.000Z | Light OJ/oj 1006.c | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | null | null | null | Light OJ/oj 1006.c | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 4 | 2018-01-07T06:20:07.000Z | 2019-08-21T15:45:59.000Z | #include <stdio.h>
int a, b, c, d, e, f;
int fn( int n ) {
if( n == 0 ) return a;
if( n == 1 ) return b;
if( n == 2 ) return c;
if( n == 3 ) return d;
if( n == 4 ) return e;
if( n == 5 ) return f;
return( fn(n-1) + fn(n-2) + fn(n-3) + fn(n-4) + fn(n-5) + fn(n-6) );
}
int main() {
int n,... | 24.454545 | 72 | 0.421933 |
71a55c95483574f59b656ea7f2d32265cda3aa35 | 2,402 | h | C | Contrib/at67/cpu.h | tbraun-de/gigatron-rom | a7cf71f4bce8e980a2f8ae409cc6c727c7b1e339 | [
"BSD-2-Clause"
] | null | null | null | Contrib/at67/cpu.h | tbraun-de/gigatron-rom | a7cf71f4bce8e980a2f8ae409cc6c727c7b1e339 | [
"BSD-2-Clause"
] | null | null | null | Contrib/at67/cpu.h | tbraun-de/gigatron-rom | a7cf71f4bce8e980a2f8ae409cc6c727c7b1e339 | [
"BSD-2-Clause"
] | null | null | null | #ifndef CPU_H
#define CPU_H
#include <stdint.h>
#include <inttypes.h>
#include <string>
#define MAJOR_VERSION "0.7"
#define MINOR_VERSION "10"
#define VERSION_STR "gtemuSDL v" MAJOR_VERSION "." MINOR_VERSION
#define ROM_INST 0
#define ROM_DATA 1
#define ROM_TITLE_ADDRESS 0xFEB1
#define MAX_TITLE_CHARS 25
#defi... | 24.510204 | 140 | 0.710241 |
ad22bb79e947d16949b248ffca4d9144697ca735 | 265 | h | C | PublicInformationServicePlatform/OtherProjects/Controller/PISPDemoViewController.h | DukeLenny/ProjectModel | 431557ea159abe5e266e359066c4a25c01b2699f | [
"MIT"
] | null | null | null | PublicInformationServicePlatform/OtherProjects/Controller/PISPDemoViewController.h | DukeLenny/ProjectModel | 431557ea159abe5e266e359066c4a25c01b2699f | [
"MIT"
] | null | null | null | PublicInformationServicePlatform/OtherProjects/Controller/PISPDemoViewController.h | DukeLenny/ProjectModel | 431557ea159abe5e266e359066c4a25c01b2699f | [
"MIT"
] | null | null | null | //
// PISPDemoViewController.h
// PublicInformationServicePlatform
//
// Created by LiDinggui on 2018/4/2.
// Copyright © 2018年 DAQSoft. All rights reserved.
//
#import "LDGBaseViewController.h"
@interface PISPDemoViewController : LDGBaseViewController
@end
| 18.928571 | 57 | 0.762264 |
5d98d995007a89e879d01cb99ed06ce7aa77f43e | 630 | h | C | DataClicker/DataClicker/Game.h | GundarsRebuks/DataClicker | e7c8f4275554a0384f85b419dec76a347338f9d3 | [
"MIT"
] | null | null | null | DataClicker/DataClicker/Game.h | GundarsRebuks/DataClicker | e7c8f4275554a0384f85b419dec76a347338f9d3 | [
"MIT"
] | null | null | null | DataClicker/DataClicker/Game.h | GundarsRebuks/DataClicker | e7c8f4275554a0384f85b419dec76a347338f9d3 | [
"MIT"
] | null | null | null | #pragma once
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include "Menu.h"
#include "Player.h"
class Game {
private:
// Variables
// Window
sf::RenderWindow* window;
sf::VideoMode videoMode;
sf::Event event;
// Functions
void initVar();
void initWin();
void initObj()... | 14.318182 | 31 | 0.587302 |
42664637d050771270b96543c8a6ddc1ce455ecb | 700 | c | C | src/main.c | nathan-vl/Minesweeper | 211aa0651d64202ea514d544aab2f072ffa6a9d5 | [
"MIT"
] | null | null | null | src/main.c | nathan-vl/Minesweeper | 211aa0651d64202ea514d544aab2f072ffa6a9d5 | [
"MIT"
] | null | null | null | src/main.c | nathan-vl/Minesweeper | 211aa0651d64202ea514d544aab2f072ffa6a9d5 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
#include "minesweeper_game.h"
#include "terminal_frontend.h"
int main(int argc, const char *argv[])
{
if (argc > 1)
{
for (int i = 1; i < argc; ++i)
{
const char *arg = argv[i];
if (strcmp(arg, "--help") == 0)
{
... | 20 | 79 | 0.465714 |
0976f8a7ee9dc94efa7083775d2a991d60083d5e | 5,615 | h | C | cppSRTWrapper/SRTNet.h | Unit-X/srt_tango_2 | 9443457f807ad151c9b543f892c969404e74e3a7 | [
"MIT"
] | 1 | 2020-06-16T11:45:26.000Z | 2020-06-16T11:45:26.000Z | cppSRTWrapper/SRTNet.h | Unit-X/srt_tango_2 | 9443457f807ad151c9b543f892c969404e74e3a7 | [
"MIT"
] | null | null | null | cppSRTWrapper/SRTNet.h | Unit-X/srt_tango_2 | 9443457f807ad151c9b543f892c969404e74e3a7 | [
"MIT"
] | null | null | null | //
// Created by Anders Cedronius on 2019-04-21.
//
#ifndef CPPSRTWRAPPER_SRTNET_H
#define CPPSRTWRAPPER_SRTNET_H
#include <iostream>
#include <functional>
#include <atomic>
#include <thread>
#include <vector>
#include <utility>
#include <cstdlib>
#include <map>
#include <mutex>
#include <any>
#include "../srt/srtcor... | 29.397906 | 117 | 0.655387 |
5d7225e3588335d298b70e909b5f3cce02d2bf24 | 2,218 | h | C | sdk-6.5.20/include/bcm_int/dnx/port/imb/imb_feu_phy.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/bcm_int/dnx/port/imb/imb_feu_phy.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/include/bcm_int/dnx/port/imb/imb_feu_phy.h | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null |
/*
*
*
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*
*
* DO NOT EDIT THIS FILE!
*/
#ifndef BCM_DNX_SUPPORT
#error "This file is for... | 23.849462 | 134 | 0.725879 |
711cb1b0f99467cf784eb956af5b19d93b48b0a1 | 1,123 | c | C | hv/test/kvm-unit-tests/lib/powerpc/hcall.c | wtliang110/lk_hv | fbbbb280114c44bf321b8f02301a84e3c469d8a2 | [
"MIT"
] | 4 | 2022-02-24T06:16:42.000Z | 2022-02-24T23:49:29.000Z | hv/test/kvm-unit-tests/lib/powerpc/hcall.c | wtliang110/lk_hv | fbbbb280114c44bf321b8f02301a84e3c469d8a2 | [
"MIT"
] | null | null | null | hv/test/kvm-unit-tests/lib/powerpc/hcall.c | wtliang110/lk_hv | fbbbb280114c44bf321b8f02301a84e3c469d8a2 | [
"MIT"
] | null | null | null | /*
* Hypercall helpers
*
* broken_sc1 probing/patching inspired by SLOF, see
* SLOF:lib/libhvcall/brokensc1.c
*
* Copyright (C) 2016, Red Hat Inc, Andrew Jones <drjones@redhat.com>
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
#include <asm/hcall.h>
#include <libcflat.h>
#include "... | 23.395833 | 69 | 0.62244 |
5e827fc77d37523fb72c7ef12d9a054ef487faf8 | 447 | h | C | include/network/packetsend.h | benmandrew/c-networking | 19cc83050b83ed2eeada5437022779c2c0d06e46 | [
"MIT"
] | 1 | 2021-12-08T22:48:45.000Z | 2021-12-08T22:48:45.000Z | include/network/packetsend.h | benmandrew/c-networking | 19cc83050b83ed2eeada5437022779c2c0d06e46 | [
"MIT"
] | null | null | null | include/network/packetsend.h | benmandrew/c-networking | 19cc83050b83ed2eeada5437022779c2c0d06e46 | [
"MIT"
] | null | null | null |
#ifndef PACKETSEND_H
#define PACKETSEND_H
#include <arpa/inet.h>
#include <net/route.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "process/core_node.h"
#include "process/fileio.h"
#include "process/logging.h"
int get_open_socket(int port);
int get_socket(void);
int receive(int sockfd, vo... | 17.192308 | 71 | 0.742729 |
4afa2a74cf3d7cb85238e15a092cc3bd94c783df | 2,182 | h | C | TOF/TOFbase/AliTOFTDCHit.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | TOF/TOFbase/AliTOFTDCHit.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | TOF/TOFbase/AliTOFTDCHit.h | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | #ifndef ALITOFTDCHIT_H
#define ALITOFTDCHIT_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/*
author: Roberto Preghenella (R+), preghenella@bo.infn.it
*/
/////////////////////////////////////////////////////... | 38.964286 | 78 | 0.610907 |
393044ed566c0f29e522b2418dbae99bdfc0984c | 278 | h | C | Example/FGPhotoBrowser/FGAppDelegate.h | wangfaguo/FGPhotoBrowser | b1de78765ae55cb13f5180c5cf746453df4ec4b7 | [
"MIT"
] | null | null | null | Example/FGPhotoBrowser/FGAppDelegate.h | wangfaguo/FGPhotoBrowser | b1de78765ae55cb13f5180c5cf746453df4ec4b7 | [
"MIT"
] | null | null | null | Example/FGPhotoBrowser/FGAppDelegate.h | wangfaguo/FGPhotoBrowser | b1de78765ae55cb13f5180c5cf746453df4ec4b7 | [
"MIT"
] | null | null | null | //
// FGAppDelegate.h
// FGPhotoBrowser
//
// Created by wangfaguo on 06/03/2016.
// Copyright (c) 2016 wangfaguo. All rights reserved.
//
@import UIKit;
@interface FGAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 17.375 | 62 | 0.723022 |
2217fdd05728acf5d3a4b6854771b222c596d43f | 104 | h | C | 3. Cooperative Autonomy/Programa/Configuration.h | diegoalejogm/Mobile-Robotics-Projects | 9b3535766ab785021c693627d3b61d3fb064e1e3 | [
"MIT"
] | 2 | 2019-01-28T16:12:52.000Z | 2019-04-18T03:04:58.000Z | 3. Cooperative Autonomy/Programa/Configuration.h | diegoalejogm/RoboticsProject | 9b3535766ab785021c693627d3b61d3fb064e1e3 | [
"MIT"
] | null | null | null | 3. Cooperative Autonomy/Programa/Configuration.h | diegoalejogm/RoboticsProject | 9b3535766ab785021c693627d3b61d3fb064e1e3 | [
"MIT"
] | 1 | 2018-05-20T15:51:13.000Z | 2018-05-20T15:51:13.000Z | #pragma once
#include"IntegerPoint2D.h"
struct Configuration {
IntegerPoint2D position;
int angle;
}; | 14.857143 | 26 | 0.778846 |
585766b854c8a7716fdd1b9fe5c6e12a83cc8d96 | 228 | c | C | template 01/main.c | sandeepyadav1478/C-Cplus-lab-2015 | 00239570f3e9ad95557b250f60255176bd616ee0 | [
"BSD-3-Clause"
] | null | null | null | template 01/main.c | sandeepyadav1478/C-Cplus-lab-2015 | 00239570f3e9ad95557b250f60255176bd616ee0 | [
"BSD-3-Clause"
] | null | null | null | template 01/main.c | sandeepyadav1478/C-Cplus-lab-2015 | 00239570f3e9ad95557b250f60255176bd616ee0 | [
"BSD-3-Clause"
] | null | null | null | #include<iostream.h>
using namespacestd;
template <classtype1,classtype2>
void myfunc(type1 x,type2 y)
{
cout<<x<<''<<y<<'\n';
}
int main()
{
myfunc(10,"I Like C++");
myfunc(98.6,19L);
return 0;
}
| 15.2 | 33 | 0.570175 |
c9e59cee5c563d8a4fea78361c58f021b50fb527 | 147 | h | C | kernel/include/string.h | nurh/treehouse | 4b3304213f78c1e8d8eda577bba623f5c44361f4 | [
"MIT"
] | null | null | null | kernel/include/string.h | nurh/treehouse | 4b3304213f78c1e8d8eda577bba623f5c44361f4 | [
"MIT"
] | null | null | null | kernel/include/string.h | nurh/treehouse | 4b3304213f78c1e8d8eda577bba623f5c44361f4 | [
"MIT"
] | null | null | null | void *memset(void *s, int c, size_t n);
void *memcpy(void *dest, const void *src, size_t n);
void *memmove(void *dest, const void *src, size_t n);
| 36.75 | 53 | 0.687075 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.