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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
697c6519134907b48bedf96cffe5eb2325ff72a4 | 163 | h | C | cpp/bmt.h | gsioteam/native_main_thread | df9b4c08776c89e3fb1f81cf5994ff2b47f8926a | [
"MIT"
] | null | null | null | cpp/bmt.h | gsioteam/native_main_thread | df9b4c08776c89e3fb1f81cf5994ff2b47f8926a | [
"MIT"
] | null | null | null | cpp/bmt.h | gsioteam/native_main_thread | df9b4c08776c89e3fb1f81cf5994ff2b47f8926a | [
"MIT"
] | null | null | null | //
// Created by gen on 11/21/21.
//
#ifndef ANDROID_BMT_H
#define ANDROID_BMT_H
void bmt_sendEvent(const char *name, const char *data);
#endif //ANDROID_BMT_H
| 14.818182 | 55 | 0.730061 |
52df9972facd4727de0c99f38ffdada3df7f70a7 | 658 | h | C | SmartLight/firmware/lib/i2c.h | TeamScheire/bicycleLight | 604fe0ca518052c466c15d44a1d961a16489436b | [
"Apache-2.0"
] | 7 | 2018-11-20T09:42:30.000Z | 2019-06-18T13:58:40.000Z | firmware/lib/i2c.h | TeamScheire/theBenZ | b486a96421d4a9b6ffb7c0df660de31c5c6aeb8a | [
"Apache-2.0"
] | 8 | 2020-05-19T05:11:11.000Z | 2020-10-12T13:14:25.000Z | firmware/lib/i2c.h | maartenweyn/teamscheire_tatjana | 35e8b6b57a0d7acfbf2c45c4800659d94ee6bd7c | [
"Apache-2.0"
] | null | null | null | #ifndef I2C_H__
#define I2C_H__
#include <stdint.h>
#include <stdbool.h>
#include <nrf_twi_mngr.h>
#define TWI_INSTANCE_ID 0
#define MAX_PENDING_TRANSACTIONS 5
#define TWI_TIMEOUT 30000
extern const nrf_twi_mngr_t* twi_mngr;
void i2c_init (void);
void i2c_deinit(void);
#define MAX_MULTI_DEVICE_NUM 5
uint... | 23.5 | 88 | 0.791793 |
fb54a58962ec24e3abba03ef8356a24111f9e335 | 3,690 | c | C | ompi/mpi/fortran/mpif-h/file_write_at_all_begin_f.c | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2015-12-16T08:16:23.000Z | 2015-12-16T08:16:23.000Z | ompi/mpi/fortran/mpif-h/file_write_at_all_begin_f.c | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | ompi/mpi/fortran/mpif-h/file_write_at_all_begin_f.c | urids/XSCALAMPI | 38624f682211d55c047183637fed8dbcc09f6d74 | [
"BSD-3-Clause-Open-MPI"
] | 3 | 2015-11-29T06:00:56.000Z | 2021-03-29T07:03:29.000Z | /*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Resea... | 44.457831 | 126 | 0.674255 |
dd5392b954ef8e931dbdffbe1e464026abffbee2 | 264 | h | C | src/camera.h | BrendanParmer/RayTracing | 4a0753f87de0a2748eefc57c1b9712dec9f915b5 | [
"MIT"
] | null | null | null | src/camera.h | BrendanParmer/RayTracing | 4a0753f87de0a2748eefc57c1b9712dec9f915b5 | [
"MIT"
] | null | null | null | src/camera.h | BrendanParmer/RayTracing | 4a0753f87de0a2748eefc57c1b9712dec9f915b5 | [
"MIT"
] | null | null | null | #pragma once
#include "vec3.h"
#include "ray.h"
class camera
{
public:
camera();
ray get_ray(double u, double v) const;
private:
point3 origin;
point3 lower_left_corner;
vec3 horizontal;
vec3 vertical;
}; | 15.529412 | 46 | 0.579545 |
5427656c4872c0abc3b88a359c2418476b15645d | 1,620 | h | C | includes/CrossNetSystem/System/Reflection/Missing.h | KonajuGames/CrossNetSystem | 23c516d79b16224745b05ba1044fd9786f3a5a14 | [
"MS-PL"
] | 2 | 2019-10-23T09:14:29.000Z | 2021-02-02T15:01:35.000Z | includes/CrossNetSystem/System/Reflection/Missing.h | KonajuGames/CrossNetSystem | 23c516d79b16224745b05ba1044fd9786f3a5a14 | [
"MS-PL"
] | null | null | null | includes/CrossNetSystem/System/Reflection/Missing.h | KonajuGames/CrossNetSystem | 23c516d79b16224745b05ba1044fd9786f3a5a14 | [
"MS-PL"
] | null | null | null | /*
* CrossNetSystem
* .NET API Copyrighted by Microsoft
*/
#ifndef __SYSTEM_REFLECTION_MISSING_H__
#define __SYSTEM_REFLECTION_MISSING_H__
#ifndef CN_NO_SYSTEM_REFLECTION_MISSING
#include "CrossNetRuntime/System/Object.h"
#include "CrossNetSystem/System/Runtime/Serialization/ISerializable.h"
namespace System
{
... | 28.928571 | 212 | 0.633951 |
5a250a789f369ff3c0f18c92ca8933852a403632 | 1,768 | h | C | iOSOpenDev/frameworks/HomeSharing.framework/Headers/HSResponse.h | bzxy/cydia | f8c838cdbd86e49dddf15792e7aa56e2af80548d | [
"MIT"
] | 678 | 2017-11-17T08:33:19.000Z | 2022-03-26T10:40:20.000Z | iOSOpenDev/frameworks/HomeSharing.framework/Headers/HSResponse.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 22 | 2019-04-16T05:51:53.000Z | 2021-11-08T06:18:45.000Z | iOSOpenDev/frameworks/HomeSharing.framework/Headers/HSResponse.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/HomeSharing.framework/HomeSharing
*/
#import <HomeSharing/XXUnknownSuperclass.h>
#import <HomeSharing/HomeSharing-Structs.h>
@class NSData, NSError, NSDictionary;
@interface HSResponse : XXUnknownSuperclass {
@priv... | 47.783784 | 121 | 0.758484 |
7c3307fe77ec0d999e6ec30ec12629dbf8965203 | 3,246 | h | C | src/dpdk/drivers/raw/ifpga/base/ifpga_hw.h | ajitkhaparde/trex-core | 1834ebd49112af0731a819056612dde832f7a94e | [
"Apache-2.0"
] | 956 | 2015-06-24T15:04:55.000Z | 2022-03-30T06:25:04.000Z | src/dpdk/drivers/raw/ifpga/base/ifpga_hw.h | hjat2005/trex-core | 400f03c86c844a0096dff3f6b13e58a808aaefff | [
"Apache-2.0"
] | 782 | 2015-09-20T15:19:00.000Z | 2022-03-31T23:52:05.000Z | src/dpdk/drivers/raw/ifpga/base/ifpga_hw.h | hjat2005/trex-core | 400f03c86c844a0096dff3f6b13e58a808aaefff | [
"Apache-2.0"
] | 429 | 2015-06-27T19:34:21.000Z | 2022-03-23T11:02:51.000Z | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2010-2018 Intel Corporation
*/
#ifndef _IFPGA_HW_H_
#define _IFPGA_HW_H_
#include "ifpga_defines.h"
#include "opae_ifpga_hw_api.h"
#include "opae_eth_group.h"
/** List of private feateues */
TAILQ_HEAD(ifpga_feature_list, ifpga_feature);
enum ifpga_feature_s... | 21.355263 | 69 | 0.756315 |
4056db92a52523a25e2c87946498cd753e6ecbdc | 711 | h | C | WPObserver/Classes/WPObserver.h | wuyanghu/WPObserver | c85d858db0f0f0b375ea69912ffec98ab77da5a1 | [
"MIT"
] | 6 | 2021-02-18T10:57:39.000Z | 2021-06-10T13:45:43.000Z | WPObserver/Classes/WPObserver.h | wuyanghu/WPObserver | c85d858db0f0f0b375ea69912ffec98ab77da5a1 | [
"MIT"
] | null | null | null | WPObserver/Classes/WPObserver.h | wuyanghu/WPObserver | c85d858db0f0f0b375ea69912ffec98ab77da5a1 | [
"MIT"
] | null | null | null | //
// WPObserver.h
// WPObserver
//
// Created by wupeng on 2021/11/12.
//
#import <Foundation/Foundation.h>
#import "WPProxy.h"
NS_ASSUME_NONNULL_BEGIN
typedef void(^WPObserverBlock)(id target);
@interface WPObserver : NSObject
//默认主队列
- (void)addObserver:(id)observer;
- (void)addObserver:(id)observer delegate... | 20.911765 | 78 | 0.780591 |
c6d25689dd0530560b82ab8b47299e738ec7ed09 | 1,232 | c | C | libutil/proc.c | cemkeylan/sm | 02d6cfce82d5491da7933ec1e752c559093af7c4 | [
"MIT"
] | 2 | 2020-10-22T14:04:52.000Z | 2020-10-25T12:43:07.000Z | libutil/proc.c | cemkeylan/sm | 02d6cfce82d5491da7933ec1e752c559093af7c4 | [
"MIT"
] | null | null | null | libutil/proc.c | cemkeylan/sm | 02d6cfce82d5491da7933ec1e752c559093af7c4 | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <errno.h>
#include "../util.h"
pid_t
getsvpid(service *sv)
{
pid_t pid;
if (access(sv->pidfile, R_OK) == -1)
return -1;
FILE *pidfile;
pidfile = fopen(sv->pidfile, "r");
if (pidfile == NULL)
return -1;
fscanf(pidfile, "%d", &pid);
fclos... | 14.494118 | 59 | 0.618506 |
3cae4b0d34ea1220b8e00c401e8b116032963151 | 299 | h | C | CoreUI.framework/CUINamedMultisizeImageSet.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | CoreUI.framework/CUINamedMultisizeImageSet.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | CoreUI.framework/CUINamedMultisizeImageSet.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/CoreUI.framework/CoreUI
*/
@interface CUINamedMultisizeImageSet : CUINamedLookup
- (id)debugDescription;
- (id)initWithName:(id)arg1 usingRenditionKey:(id)arg2 fromTheme:(unsigned long long)arg3;
- (id)sizeIndexes;
@end
| 24.916667 | 90 | 0.785953 |
14d15ed462603b3a05d3697db1e0411bcd278bdb | 5,376 | h | C | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zgraph.h | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zgraph.h | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2016-12-03T05:33:13.000Z | 2016-12-03T05:33:13.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zgraph.h | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | #ifndef ZGRAPH_H
#define ZGRAPH_H
#include "tz_graph.h"
#include <set>
#include <vector>
#include <string>
#include <map>
#include "zprogressreporter.h"
//! ZGraph class
/*!
*This is a class of hosting a graph which is defined as (V, E), where V is the
*set of vertices and E is the set of edges. There are four ty... | 28.294737 | 82 | 0.714844 |
42f2271762f1e8bdc5ebd6d859f155846f627819 | 1,464 | h | C | projects/client/audio/aura_processing/source/aura/processing/utility.h | silentorb/mythic-cpp | 97319d158800d77e1a944c47c13523662bc07e08 | [
"MIT"
] | null | null | null | projects/client/audio/aura_processing/source/aura/processing/utility.h | silentorb/mythic-cpp | 97319d158800d77e1a944c47c13523662bc07e08 | [
"MIT"
] | null | null | null | projects/client/audio/aura_processing/source/aura/processing/utility.h | silentorb/mythic-cpp | 97319d158800d77e1a944c47c13523662bc07e08 | [
"MIT"
] | null | null | null | #pragma once
#include <cmath>
namespace aura {
namespace processing {
// float to_dB(float value);
// float to_dB(float value) {
//// return std::pow(value, 2);
//// const auto base = 10;
// return (std::pow(10, value) - 1) / (10 - 1);
//// return 20 * log10(value);'
//// ... | 26.618182 | 109 | 0.585383 |
a415de4aa28701c4fb3614aa8ac6b253b42a1f31 | 3,012 | h | C | workspace/unionfind/unionfind/unionfind.h | nvdungx/algo1 | 87e2916bf9e8649ce56a3766843ff44e05faf557 | [
"MIT"
] | null | null | null | workspace/unionfind/unionfind/unionfind.h | nvdungx/algo1 | 87e2916bf9e8649ce56a3766843ff44e05faf557 | [
"MIT"
] | null | null | null | workspace/unionfind/unionfind/unionfind.h | nvdungx/algo1 | 87e2916bf9e8649ce56a3766843ff44e05faf557 | [
"MIT"
] | null | null | null | // unionfind.h : Include file for standard system include files,
// or project specific include files.
#pragma once
#include <vector>
#include <iostream>
// TODO: Reference additional headers your program requires here.
class QuickFindUF
{
public:
QuickFindUF(int N)
{
count = N;
id.reserve(N);
... | 19.063291 | 144 | 0.51162 |
f8feb5ca70939f4d35cbad468a763b4007de394e | 3,437 | h | C | bsp/Atmel/system/system.h | Hotboards/CodeBank8 | ddadc3249ec03fd0859326ef89577f97288c5694 | [
"Beerware"
] | 2 | 2018-11-09T23:09:13.000Z | 2021-05-13T19:58:15.000Z | bsp/Atmel/system/system.h | Hotboards/CodeBank8 | ddadc3249ec03fd0859326ef89577f97288c5694 | [
"Beerware"
] | null | null | null | bsp/Atmel/system/system.h | Hotboards/CodeBank8 | ddadc3249ec03fd0859326ef89577f97288c5694 | [
"Beerware"
] | 1 | 2021-05-13T19:59:11.000Z | 2021-05-13T19:59:11.000Z | /*--------------------------------------------------------------------------------------------------
"THE BEER-WARE LICENSE" (Revision 42):
<phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day, and you think
this stuff is worth it... | 46.445946 | 101 | 0.35176 |
56f8da2de1b630d94a5baa26c7824cb09da4b688 | 3,824 | c | C | experiment_log/permutant_index_v1/indexing/indexing.c | KukyNekoi/fpga_index_accelerator | 0026e0deb31c556cc3770ed2be64eae93257949f | [
"MIT"
] | 1 | 2018-07-12T09:43:05.000Z | 2018-07-12T09:43:05.000Z | experiment_log/permutant_index_v1/indexing/indexing.c | honorpeter/fpga_index_accelerator | c09d222d3ad55d6bb354dee8aff97a4f519df89d | [
"MIT"
] | null | null | null | experiment_log/permutant_index_v1/indexing/indexing.c | honorpeter/fpga_index_accelerator | c09d222d3ad55d6bb354dee8aff97a4f519df89d | [
"MIT"
] | 1 | 2019-04-09T02:38:27.000Z | 2019-04-09T02:38:27.000Z | #ifndef INDEXING_C_
#define INDEXING_C_
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "../constants.h"
#include "indexing.h"
#include "../dataset/dataset.h"
#include "../permutant/permutant.h"
#include "../vector/vector.h"
size_t comp (const void * elem1, const void * elem2) {
size_t f = *((s... | 31.866667 | 94 | 0.623169 |
51ac446aeef63266850273280db4d4ab86a09787 | 985 | h | C | Project 2 - Collision Detection/screensaver/cilktool.h | simonaertssen/MIT-6.172-Performance-Engineering-of-Software-Systems | 4e17186f9ecb8e40440565da8a619e33494bba22 | [
"MIT"
] | null | null | null | Project 2 - Collision Detection/screensaver/cilktool.h | simonaertssen/MIT-6.172-Performance-Engineering-of-Software-Systems | 4e17186f9ecb8e40440565da8a619e33494bba22 | [
"MIT"
] | null | null | null | Project 2 - Collision Detection/screensaver/cilktool.h | simonaertssen/MIT-6.172-Performance-Engineering-of-Software-Systems | 4e17186f9ecb8e40440565da8a619e33494bba22 | [
"MIT"
] | 1 | 2021-12-06T07:28:39.000Z | 2021-12-06T07:28:39.000Z | #ifndef INCLUDED_CILKTOOL_DOT_H
#define INCLUDED_CILKTOOL_DOT_H
#include <inttypes.h>
typedef struct __cilkrts_stack_frame __cilkrts_stack_frame;
#ifdef __cplusplus
#define EXTERN_C extern "C" {
#define EXTERN_C_END }
#else
#define EXTERN_C
#define EXTERN_C_END
#endif
EXTERN_C
void cv_start();
void cv_stop();
void pr... | 28.970588 | 91 | 0.819289 |
863889c7fc3b7e18f5db33299ba2ff962c9b3a78 | 2,694 | h | C | SpeechproSpeechKit/SpeechproSpeechKit/Common/VoiceCapture/OPCSAudioQueueRecorder.h | elegion/stc-speechkit-ios | a90cc89efd81b82cdbdaedfffad726db3e584ef8 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2022-03-16T19:40:55.000Z | 2022-03-16T19:40:55.000Z | SpeechproSpeechKit/SpeechproSpeechKit/Common/VoiceCapture/OPCSAudioQueueRecorder.h | elegion/stc-speechkit-ios | a90cc89efd81b82cdbdaedfffad726db3e584ef8 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | SpeechproSpeechKit/SpeechproSpeechKit/Common/VoiceCapture/OPCSAudioQueueRecorder.h | elegion/stc-speechkit-ios | a90cc89efd81b82cdbdaedfffad726db3e584ef8 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | //
// OPCSAudioQueueRecorder.h
// OnePassCaptureStandard
//
// Created by Soloshcheva Aleksandra on 06.09.16.
// Copyright © 2016 Speech Technology Center. All rights reserved.
//
#ifndef OPCSAudioQueueRecorder_h
#define OPCSAudioQueueRecorder_h
#include <AudioToolbox/AudioToolbox.h>
#include <stdio.h>
/**
* T... | 29.604396 | 137 | 0.745731 |
798c79dbdca637f9b891f096ef6407d63275025d | 251 | h | C | DVAVKit/DVAVKit/Utils/GLKit/Application/DVGLColorLayer.h | HEROhuqinchao/DVAVKit_forOC | 5d7a2d80b6561c3949938a0b86d87558ec010abc | [
"Apache-2.0"
] | 18 | 2020-04-10T10:20:55.000Z | 2021-09-09T08:17:40.000Z | DVAVKit/DVAVKit/Utils/GLKit/Application/DVGLColorLayer.h | willbetheone/DVAVKit | 1a49398bdb9d6d32b4e7e85232edfa54ba523d76 | [
"MIT"
] | 2 | 2020-04-11T07:39:17.000Z | 2020-11-20T01:02:47.000Z | DVAVKit/DVAVKit/Utils/GLKit/Application/DVGLColorLayer.h | willbetheone/DVAVKit | 1a49398bdb9d6d32b4e7e85232edfa54ba523d76 | [
"MIT"
] | 8 | 2020-04-17T09:41:49.000Z | 2021-08-03T02:49:15.000Z | //
// DVGLColorLayer.h
// DVGLKit
//
// Created by DV on 2019/1/15.
// Copyright © 2019 DVKit. All rights reserved.
//
#import "DVGLRenderLayer.h"
NS_ASSUME_NONNULL_BEGIN
@interface DVGLColorLayer : DVGLRenderLayer
@end
NS_ASSUME_NONNULL_END
| 13.944444 | 48 | 0.733068 |
b2a12e747398f80b7eff6fce99adae435e5f8986 | 1,495 | c | C | simulation/others/gen_randqc.c | yeehui1988/QCM | 95ae18b7737ae325916c95926192fae2f01e16b8 | [
"BSD-3-Clause"
] | 4 | 2019-05-27T06:37:36.000Z | 2021-11-17T11:17:57.000Z | simulation/others/gen_randqc.c | yeehui1988/QCM | 95ae18b7737ae325916c95926192fae2f01e16b8 | [
"BSD-3-Clause"
] | null | null | null | simulation/others/gen_randqc.c | yeehui1988/QCM | 95ae18b7737ae325916c95926192fae2f01e16b8 | [
"BSD-3-Clause"
] | 3 | 2019-05-27T06:37:23.000Z | 2022-02-18T17:11:14.000Z | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
unsigned int getrandom(unsigned int n)
{
unsigned int r = (RAND_MAX*rand() + rand()) % n;
r = (r + n) % n;
return r;
}
int main ()//(int argc, char **argv)
{
unsigned int n = 4; // number of qubits
unsigned int T = 10; // number of gates
double m = 0.0f... | 18.924051 | 98 | 0.548495 |
2542b0dff56cf096675d40dc58e9141894785d7e | 2,072 | h | C | Classes/MacTrek/Gui/SettingsController.h | netrek/netrek-client-mactrek | 28c343588bba6dc220d8da967b9c271d33c6cbfd | [
"ClArtistic"
] | null | null | null | Classes/MacTrek/Gui/SettingsController.h | netrek/netrek-client-mactrek | 28c343588bba6dc220d8da967b9c271d33c6cbfd | [
"ClArtistic"
] | null | null | null | Classes/MacTrek/Gui/SettingsController.h | netrek/netrek-client-mactrek | 28c343588bba6dc220d8da967b9c271d33c6cbfd | [
"ClArtistic"
] | null | null | null | //
// SettingsController.h
// MacTrek
//
// Created by Aqua on 26/05/2006.
// Copyright 2006 Luky Soft. See Licence.txt for licence details.
//
#import <Cocoa/Cocoa.h>
#import "KeyMapTableDataSource.h"
#import "MTMouseMap.h"
#import "Luky.h"
#import "BaseClass.h"
#import "MTDistressKeyMap.h"
#import "MenuControlle... | 29.183099 | 66 | 0.696911 |
668c83ef6ec361243ddb90838598c4368ab9d7dd | 546 | h | C | arithmetic_fault.h | rbur004/MacVAX | 4edc3b84939895c8b6811811a7403ce556a5b0ce | [
"BSD-4-Clause-UC"
] | 3 | 2015-03-10T06:19:49.000Z | 2020-07-24T23:23:36.000Z | arithmetic_fault.h | rbur004/MacVAX | 4edc3b84939895c8b6811811a7403ce556a5b0ce | [
"BSD-4-Clause-UC"
] | null | null | null | arithmetic_fault.h | rbur004/MacVAX | 4edc3b84939895c8b6811811a7403ce556a5b0ce | [
"BSD-4-Clause-UC"
] | null | null | null | #ifndef ARITHMETIC_H
#define ARITHMETIC_H
/*TRAPS*/
#define INTEGER_OVERFLOW_TRAP 1 /*and IV in PSW must be set*/
#define INTEGER_DIVIDE_BY_ZERO_TRAP 2
#define FLOATING_OVERFLOW_TRAP 3
#define DECIMAL_DIVIDE_BY_ZERO_TRAP 4
#define FLOATING_UNDERFLOW_TRAP 5 /*and FU in PSW set*/
#define DECIMAL_OVERFLOW_TRAP 6 /... | 546 | 546 | 0.815018 |
585c764cc8d8579e0536aa4f5c4759618f0e95ed | 1,071 | c | C | openearthsdk/src/main/cpp/util/image.c | Darlun1024/OpenEarth | f30f5fd2d4bb91e00d323f8c8a1d17169a3e8fbb | [
"Unlicense"
] | 5 | 2017-12-05T01:32:19.000Z | 2019-12-15T17:42:47.000Z | openearthsdk/src/main/cpp/util/image.c | Darlun1024/OpenEarth | f30f5fd2d4bb91e00d323f8c8a1d17169a3e8fbb | [
"Unlicense"
] | 1 | 2017-12-08T06:48:41.000Z | 2017-12-08T06:48:41.000Z | openearthsdk/src/main/cpp/util/image.c | Darlun1024/OpenEarth | f30f5fd2d4bb91e00d323f8c8a1d17169a3e8fbb | [
"Unlicense"
] | 4 | 2017-12-05T01:34:09.000Z | 2019-12-15T17:42:53.000Z |
#include <assert.h>
#include <malloc.h>
#include "png_reader.h"
#include "jpeg_reader.h"
#ifndef INCLUDE_IMAGE
#include "image.h"
#define INCLUDE_IMAGE
#endif
void release_raw_image_data(const RawImageData *data){
assert(data != NULL);
free((void*)data->data);
}
RawImageData get_raw_image_data(const void* i... | 25.5 | 86 | 0.580766 |
c9916cf391b2830f22cc094e8771af57505489b0 | 321 | h | C | communication/usb_communication.h | josebly/motor-tmp | 20432ddf5ad0b21c328c1548ab261935150facd4 | [
"BSD-3-Clause"
] | null | null | null | communication/usb_communication.h | josebly/motor-tmp | 20432ddf5ad0b21c328c1548ab261935150facd4 | [
"BSD-3-Clause"
] | null | null | null | communication/usb_communication.h | josebly/motor-tmp | 20432ddf5ad0b21c328c1548ab261935150facd4 | [
"BSD-3-Clause"
] | 1 | 2020-02-27T16:24:44.000Z | 2020-02-27T16:24:44.000Z | #ifndef USB_COMMUNICATION_H
#define USB_COMMUNICATION_H
#include "communication.h"
class USB;
class USBCommunication : public Communication {
public:
virtual void init();
virtual int receive_data(ReceiveData * const data);
virtual void send_data(const SendData &data);
private:
USB * usb_;
};
#endif... | 18.882353 | 55 | 0.741433 |
ba1c887c5bce98b11c1ccec97c052e7a70fda0eb | 170 | h | C | MotorSpecTest/app.h | CountrySideEngineer/Ev3MotorSpecCheck | 6fdba0d7236c8b7ef03f9ebe2b82cf6d0d7f44a3 | [
"MIT"
] | null | null | null | MotorSpecTest/app.h | CountrySideEngineer/Ev3MotorSpecCheck | 6fdba0d7236c8b7ef03f9ebe2b82cf6d0d7f44a3 | [
"MIT"
] | null | null | null | MotorSpecTest/app.h | CountrySideEngineer/Ev3MotorSpecCheck | 6fdba0d7236c8b7ef03f9ebe2b82cf6d0d7f44a3 | [
"MIT"
] | null | null | null | #pragma once
#include "ev3api.h"
extern void main_task(intptr_t exinf);
extern void cyc_task_100msec(intptr_t unused);
extern void cyc_task_1sec(intptr_t unused);
| 24.285714 | 47 | 0.782353 |
c9e56e4737677a2e9ed75bbe1cef24e7c8244f15 | 9,497 | h | C | world/terrain_2d_world.h | Relintai/terraman_2d | 60a7e84a5dc2fc252b0c582dd8f877685d28d74a | [
"MIT"
] | null | null | null | world/terrain_2d_world.h | Relintai/terraman_2d | 60a7e84a5dc2fc252b0c582dd8f877685d28d74a | [
"MIT"
] | null | null | null | world/terrain_2d_world.h | Relintai/terraman_2d | 60a7e84a5dc2fc252b0c582dd8f877685d28d74a | [
"MIT"
] | null | null | null | /*
Copyright (c) 2019-2022 Péter Magyar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | 30.053797 | 137 | 0.794988 |
b90f72c74f2a831807fd34e59653b51c9e9e7df5 | 516 | h | C | src/common/common/macros.h | caseymcc/open-builder | 644356e2704ad9f3b9cb3d197504cae9a0cfadc5 | [
"MIT"
] | null | null | null | src/common/common/macros.h | caseymcc/open-builder | 644356e2704ad9f3b9cb3d197504cae9a0cfadc5 | [
"MIT"
] | null | null | null | src/common/common/macros.h | caseymcc/open-builder | 644356e2704ad9f3b9cb3d197504cae9a0cfadc5 | [
"MIT"
] | null | null | null | #pragma once
#define NON_COPYABLE(Class) \
Class& operator=(const Class& obj) = delete; \
Class(const Class& obj) = delete;
#define NON_MOVEABLE(Class) ... | 46.909091 | 90 | 0.408915 |
7ecd1895cd6c0071302afee4e80f7fa236986048 | 1,531 | c | C | sort_merge.c | blackyau/Learn_C | 60996bb2243ae489c7f9e90da0ea0a77d3c819d5 | [
"Unlicense"
] | null | null | null | sort_merge.c | blackyau/Learn_C | 60996bb2243ae489c7f9e90da0ea0a77d3c819d5 | [
"Unlicense"
] | null | null | null | sort_merge.c | blackyau/Learn_C | 60996bb2243ae489c7f9e90da0ea0a77d3c819d5 | [
"Unlicense"
] | null | null | null | // 归并排序
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void sort_merge(int list[], int n); // 初始化入口
void sort_merge_c(int a[], int p, int r); // 递归调用函数
void merge(int arr[], int p, int q, int r); // 合并函数
void main() {
int list[6] = { 1, 5, 6, 2, 3, 4 };
for (int i = 0; i < 6; i++) printf("%d ", list[i]);
... | 22.514706 | 67 | 0.570216 |
7e64b031da185104f84d7ef9a3a726d92a48f30e | 3,367 | c | C | 2_Simple Kernel Module/HW2_2.c | an36/Linux-Char-Dev-Driver | 3aadc75d8d9ff67f277a82f1b9d8b26617cd200a | [
"MIT"
] | null | null | null | 2_Simple Kernel Module/HW2_2.c | an36/Linux-Char-Dev-Driver | 3aadc75d8d9ff67f277a82f1b9d8b26617cd200a | [
"MIT"
] | null | null | null | 2_Simple Kernel Module/HW2_2.c | an36/Linux-Char-Dev-Driver | 3aadc75d8d9ff67f277a82f1b9d8b26617cd200a | [
"MIT"
] | null | null | null | /*
* Abdullah Almarzouq (an36@pdx.edu)
* 4/22/2020
*
* HW2_2: kernel module with 1 parameter called exam
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kdev_t.h>
#include <linux/fs.h>
#include <linux/cdev.h>
#include <linux/slab.h>
#include <linux/uaccess.h>
#define DEVCNT 5
#define DEVNAM... | 19.923077 | 71 | 0.668845 |
0bdbd292760ebae96f8e922e079e540d3b7a03af | 656 | h | C | PrivateFrameworks/AddressBookCore/ABCNChainedPhotoFuture.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/AddressBookCore/ABCNChainedPhotoFuture.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/AddressBookCore/ABCNChainedPhotoFuture.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CNFuture.h"
@class ABCNChainedFutureQueue;
@interface ABCNChainedPhotoFuture : CNFuture
{
ABCNChainedFutureQueue *_futureQueue;
}
+ (id)chainedFutureWithFutures:(id)... | 21.16129 | 83 | 0.730183 |
6d26472ef7c589e4b56924b25726557090e047be | 3,529 | c | C | CS50x 2021/Week 4/2- PSet 4 Filter (Less)/helpers.c | moqdm/CS50x | 7d9a4b4cbe96516383727dc70a1a274f2beb2d28 | [
"MIT"
] | 7 | 2021-10-05T16:06:09.000Z | 2022-03-14T07:02:33.000Z | CS50x 2021/Week 4/2- PSet 4 Filter (Less)/helpers.c | moqdm/CS50x | 7d9a4b4cbe96516383727dc70a1a274f2beb2d28 | [
"MIT"
] | null | null | null | CS50x 2021/Week 4/2- PSet 4 Filter (Less)/helpers.c | moqdm/CS50x | 7d9a4b4cbe96516383727dc70a1a274f2beb2d28 | [
"MIT"
] | 7 | 2021-10-10T12:35:32.000Z | 2021-12-30T16:03:51.000Z | #include "helpers.h"
#include <math.h>
// Convert image to grayscale
void grayscale(int height, int width, RGBTRIPLE image[height][width])
{
for (int i = 0; i < height; i++)
{
for (int j = 0; j < width; j++)
{
//Get RGBTriple values
float blue = image[i][j].rgbtBlue;
... | 31.508929 | 89 | 0.452819 |
75c2096c3f4c4cf51fd5bff7329dff446fdc3d73 | 449 | h | C | opt/opt.h | qixiuai/BCGHeart | b1127fa4420b658308acd883bc11945b7fcac4df | [
"MIT"
] | null | null | null | opt/opt.h | qixiuai/BCGHeart | b1127fa4420b658308acd883bc11945b7fcac4df | [
"MIT"
] | null | null | null | opt/opt.h | qixiuai/BCGHeart | b1127fa4420b658308acd883bc11945b7fcac4df | [
"MIT"
] | null | null | null |
#ifndef OPT_OPT_H_
#define OPT_OPT_H_
/** max f(w, n) with n fixed w;
* max g(W) with to w fixed n;
* g(W) = linear(W) ||W|| = 1;
*/
class Optimizer {
Optimizer(Function func, Function grad_func, Constraint constraint);
void Run();
};
class Variable {
};
class Function {
};
class Problem {
Probl... | 9.977778 | 70 | 0.632517 |
924e2673e73d95bf2e4e0169b70ef909297af0a6 | 1,504 | h | C | Stealth/src/WorldRenderer.h | Pharap/StealthGame | ccc68d2e96bb1769bcceefdff7cb0f551ad143de | [
"Apache-2.0"
] | null | null | null | Stealth/src/WorldRenderer.h | Pharap/StealthGame | ccc68d2e96bb1769bcceefdff7cb0f551ad143de | [
"Apache-2.0"
] | null | null | null | Stealth/src/WorldRenderer.h | Pharap/StealthGame | ccc68d2e96bb1769bcceefdff7cb0f551ad143de | [
"Apache-2.0"
] | 1 | 2019-10-07T23:37:08.000Z | 2019-10-07T23:37:08.000Z | #pragma once
//
// Copyright (C) 2019 Pharap (@Pharap)
//
// 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 b... | 28.923077 | 76 | 0.678856 |
ffa9b6b49e23863becefae06bea8146fe7463404 | 2,529 | h | C | src/cuckoofilter.h | shuiying1037/E2CF | 426c1af6cc4fa415a71ef998c2a42b7d2d512883 | [
"Apache-2.0"
] | 3 | 2020-11-26T01:53:18.000Z | 2021-11-24T10:02:37.000Z | src/cuckoofilter.h | shuiying1037/E2CF | 426c1af6cc4fa415a71ef998c2a42b7d2d512883 | [
"Apache-2.0"
] | null | null | null | src/cuckoofilter.h | shuiying1037/E2CF | 426c1af6cc4fa415a71ef998c2a42b7d2d512883 | [
"Apache-2.0"
] | 2 | 2020-11-26T01:53:21.000Z | 2020-12-29T09:03:22.000Z | #ifndef CUCKOOFILTER_H_
#define CUCKOOFILTER_H_
#include<string.h>
#include<stdlib.h>
#include"hashfunction.h"
#include"bithack.h"
#include"stdint.h"
#define MaxNumKicks 40
using namespace std;
typedef struct {
size_t index;
uint32_t fingerprint;
} Victim;
typedef struct{
char* bit_array;
} ... | 29.068966 | 124 | 0.761566 |
4dcd82f5e4fc12f03739f807e115cd4b5ffe82c6 | 782 | c | C | libevent/two.c | AoEiuV020/linux | 644c25e39e6d647b70114c49434d8e01ef031328 | [
"MIT"
] | null | null | null | libevent/two.c | AoEiuV020/linux | 644c25e39e6d647b70114c49434d8e01ef031328 | [
"MIT"
] | null | null | null | libevent/two.c | AoEiuV020/linux | 644c25e39e6d647b70114c49434d8e01ef031328 | [
"MIT"
] | null | null | null | /*****************************************************
^> File Name: two.c
^> Author: AoEiuV020
^> Mail: 490674483@qq.com
^> Created Time: 2015/12/02 - 16:00:06
****************************************************/
#include <stdio.h>
#include <event.h>
#include <unistd.h>
void foo(int sock,short event,void *arg)
{
... | 17.772727 | 54 | 0.548593 |
321b513b0526138e9ce89cdc552e07a12e57a773 | 2,795 | h | C | Engine/Source/Runtime/Core/YumeTimer.h | rodrigobmg/YumeEngine | 67c525c84616a5167b5bae45f36641e90227c281 | [
"MIT"
] | 129 | 2016-05-05T23:34:44.000Z | 2022-03-07T20:17:18.000Z | Engine/Source/Runtime/Core/YumeTimer.h | rodrigobmg/YumeEngine | 67c525c84616a5167b5bae45f36641e90227c281 | [
"MIT"
] | 1 | 2017-05-07T16:09:41.000Z | 2017-05-08T15:35:50.000Z | Engine/Source/Runtime/Core/YumeTimer.h | rodrigobmg/YumeEngine | 67c525c84616a5167b5bae45f36641e90227c281 | [
"MIT"
] | 20 | 2016-02-24T20:40:08.000Z | 2022-02-04T23:48:18.000Z | //----------------------------------------------------------------------------
//Yume Engine
//Copyright (C) 2015 arkenthera
//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 Foundation; either version 2 of ... | 24.517544 | 78 | 0.611807 |
9a819f4700869cd3b71ba4afef0c4283b00a056c | 9,642 | h | C | src/v8binder/CTypeJS.h | log245/XScript | 28edca1454ad5c601164227766177957ddc6edff | [
"MIT"
] | 1 | 2020-03-09T01:58:04.000Z | 2020-03-09T01:58:04.000Z | src/v8binder/CTypeJS.h | log245/XScript | 28edca1454ad5c601164227766177957ddc6edff | [
"MIT"
] | null | null | null | src/v8binder/CTypeJS.h | log245/XScript | 28edca1454ad5c601164227766177957ddc6edff | [
"MIT"
] | null | null | null | /**@file CTypeJS.h
* @brief Data interface between V8&c++
* @author Daphnis Kau
* @date 2019-06-24
* @version V1.0
*/
#ifndef __TYPE_JS_H__
#define __TYPE_JS_H__
#include "common/Memory.h"
#include "core/CTypeBase.h"
#include "V8Context.h"
#include "CScriptJS.h"
namespace XS
{
#define MAX_UNKNOW_ARRAYBUFFER... | 34.934783 | 83 | 0.648309 |
9ad3fa9d31202dd4d3fd9101a4543dce23041b81 | 8,253 | c | C | dependencies/otp/r15b03-1/erts/emulator/hipe/hipe_x86_stack.c | mosaic-cloud/mosaic-distribution-dependencies | 87b9fa3dcf24751abcc52c00849b85f4d7e77b16 | [
"Apache-2.0"
] | null | null | null | dependencies/otp/r15b03-1/erts/emulator/hipe/hipe_x86_stack.c | mosaic-cloud/mosaic-distribution-dependencies | 87b9fa3dcf24751abcc52c00849b85f4d7e77b16 | [
"Apache-2.0"
] | null | null | null | dependencies/otp/r15b03-1/erts/emulator/hipe/hipe_x86_stack.c | mosaic-cloud/mosaic-distribution-dependencies | 87b9fa3dcf24751abcc52c00849b85f4d7e77b16 | [
"Apache-2.0"
] | null | null | null | /*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2001-2011. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
* compliance with the License. You should have received a copy of the
* Erlang Public Licens... | 27.787879 | 81 | 0.612626 |
82a2ecbeed0f52ef27154ee18c00b339ba8f01de | 1,195 | h | C | build/lib/DateTimeTools/__data/libdatetime/DayNo.h | pshustov/DateTimeTools | e542fd3f0e3c5290faad09b7cf8a2751132d4dd3 | [
"MIT"
] | null | null | null | build/lib/DateTimeTools/__data/libdatetime/DayNo.h | pshustov/DateTimeTools | e542fd3f0e3c5290faad09b7cf8a2751132d4dd3 | [
"MIT"
] | null | null | null | build/lib/DateTimeTools/__data/libdatetime/DayNo.h | pshustov/DateTimeTools | e542fd3f0e3c5290faad09b7cf8a2751132d4dd3 | [
"MIT"
] | null | null | null | #ifndef __DAYNO_H__
#define __DAYNO_H__
#include <stdio.h>
#include <stdlib.h>
#include "LeapYear.h"
#include "DateSplit.h"
#endif
using namespace std;
/***********************************************************************
* NAME : void DayNo(n,Date,Year,DayNo)
*
* DESCRIPTION : Work out the day numbers for... | 25.978261 | 72 | 0.481172 |
d621135008158e064b908d9cb12c98c396cd7db3 | 1,524 | c | C | glibc/sysdeps/mips/fpu/fraiseexcpt.c | chyidl/mirror-glibc | 3b17633afc85a9fb8cba0edc365d19403158c5a0 | [
"BSD-3-Clause"
] | null | null | null | glibc/sysdeps/mips/fpu/fraiseexcpt.c | chyidl/mirror-glibc | 3b17633afc85a9fb8cba0edc365d19403158c5a0 | [
"BSD-3-Clause"
] | null | null | null | glibc/sysdeps/mips/fpu/fraiseexcpt.c | chyidl/mirror-glibc | 3b17633afc85a9fb8cba0edc365d19403158c5a0 | [
"BSD-3-Clause"
] | null | null | null | /* Raise given exceptions.
Copyright (C) 2000-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2000.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... | 31.102041 | 72 | 0.725722 |
d2a9d24412435e7451f16a3a32f3b09eca693588 | 1,051 | c | C | d/islands/tonerra/monastary/backup/m3.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/islands/tonerra/monastary/backup/m3.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/islands/tonerra/monastary/backup/m3.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z |
#include <std.h>
#include "/d/islands/tonerra/monastary/short.h"
inherit ROOM;
void create(){
object ob;
:: create();
set_light(2);
set_indoors(1);
set_short("
%^BOLD%^%^WHITE%^An old oriental monastary.
");
set_long(
@SEETH
%^BOLD%^%^CYAN%^This appears to be the main chamber of the monastary. The room is lighted ... | 26.948718 | 440 | 0.721218 |
cf8c9c57fb39e12fe6765b970cb2b4eca8b0ed57 | 22,423 | c | C | q3osc/ccrmamod/liblo/src/testlo.c | martinez-zea/localconflict | 9b47c92b93315efe6a0a485a645d080f3ecf7e9a | [
"MIT"
] | 1 | 2015-05-02T11:29:58.000Z | 2015-05-02T11:29:58.000Z | q3osc/ccrmamod/liblo/src/testlo.c | martinez-zea/localconflict | 9b47c92b93315efe6a0a485a645d080f3ecf7e9a | [
"MIT"
] | null | null | null | q3osc/ccrmamod/liblo/src/testlo.c | martinez-zea/localconflict | 9b47c92b93315efe6a0a485a645d080f3ecf7e9a | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2004 Steve Harris
*
* 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 Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is... | 28.098997 | 103 | 0.628105 |
6830cf963a8c5b426994ccb5a1b90af0fbac2c90 | 2,430 | h | C | third_party/blink/renderer/bindings/core/v8/active_script_wrappable.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 110 | 2020-10-27T02:15:35.000Z | 2022-03-30T10:24:52.000Z | third_party/blink/renderer/bindings/core/v8/active_script_wrappable.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | third_party/blink/renderer/bindings/core/v8/active_script_wrappable.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 37 | 2020-11-13T15:44:23.000Z | 2022-03-25T09:08: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 THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_ACTIVE_SCRIPT_WRAPPABLE_H_
#define THIRD_PARTY_BLINK_RENDERER_BINDINGS_CORE_V8_ACTIVE_SCRIPT_WRAPPABLE... | 38.571429 | 86 | 0.796296 |
d0a5a7c2eafe6104b47771737bf3b6e2639124d5 | 426 | h | C | LvLEngine/LvLEngine/LvLAudio/LvL2DSound.h | Aura003/DontOpen | 5a85a60f9b3b854dc16a4b22c7aebb0055a56944 | [
"MIT"
] | null | null | null | LvLEngine/LvLEngine/LvLAudio/LvL2DSound.h | Aura003/DontOpen | 5a85a60f9b3b854dc16a4b22c7aebb0055a56944 | [
"MIT"
] | null | null | null | LvLEngine/LvLEngine/LvLAudio/LvL2DSound.h | Aura003/DontOpen | 5a85a60f9b3b854dc16a4b22c7aebb0055a56944 | [
"MIT"
] | null | null | null | #pragma once
#include"iLvLSound.h"
class LvL2DSound : public iLvLSound
{
LvL_DECLARE_REFCOUNTTED();
public:
// Inherited via iLvLSound
LvL2DSound(Mix_Music* music, const char* name);
virtual const char* GetName() override;
virtual eLvLResourceType GetType() override;
virtual void* GetHandle() override;
virtual... | 20.285714 | 48 | 0.751174 |
a98b4ce86f0b417b217a88e49bba151d96932820 | 6,799 | h | C | third_party/WebKit/Source/core/html/HTMLImageElement.h | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | third_party/WebKit/Source/core/html/HTMLImageElement.h | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/html/HTMLImageElement.h | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2004, 2008, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the ... | 37.357143 | 149 | 0.760994 |
ca1843e9a85e33acabad4a669ba4b3d26eb9a003 | 3,586 | h | C | aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/ListQueuesResult.h | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/ListQueuesResult.h | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/ListQueuesResult.h | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 28.015625 | 113 | 0.674847 |
a9cf2bcf5defcd5dff66e9d360f2f99c113edd22 | 30,200 | c | C | src/ptree.c | tulip-control/gr1c | 4c73161e7857410b86536f4be9d2a55c581e2e9c | [
"BSD-3-Clause"
] | 11 | 2016-10-11T22:39:27.000Z | 2022-03-26T15:28:20.000Z | src/ptree.c | tulip-control/gr1c | 4c73161e7857410b86536f4be9d2a55c581e2e9c | [
"BSD-3-Clause"
] | 13 | 2016-07-29T04:39:22.000Z | 2021-09-21T08:03:50.000Z | src/ptree.c | tulip-control/gr1c | 4c73161e7857410b86536f4be9d2a55c581e2e9c | [
"BSD-3-Clause"
] | 2 | 2017-03-22T08:12:11.000Z | 2017-08-12T03:27:14.000Z | /* ptree.c -- Definitions for signatures appearing in ptree.h.
*
*
* SCL; 2012-2015
*/
#define _POSIX_C_SOURCE 200809L
#define _ISOC99_SOURCE
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "common.h"
#include "ptree.h"
ptree_t *init_ptree( int type, char... | 26.514486 | 81 | 0.497351 |
a9ee64c2414981812fb6a185b88fac25fe384065 | 1,513 | c | C | ext/rb_rdma/pd.c | hiroyuki-sato/rb_rdma | 09705906e58620e79db0c5e4a1962c2eb201863d | [
"MIT"
] | null | null | null | ext/rb_rdma/pd.c | hiroyuki-sato/rb_rdma | 09705906e58620e79db0c5e4a1962c2eb201863d | [
"MIT"
] | 8 | 2016-05-13T00:07:00.000Z | 2016-07-12T13:07:08.000Z | ext/rb_rdma/pd.c | hiroyuki-sato/rb_rdma | 09705906e58620e79db0c5e4a1962c2eb201863d | [
"MIT"
] | null | null | null | #include "rb_rdma.h"
#include "context.h"
#include "pd.h"
VALUE cPD;
static size_t
memsize_rdma_pd(const void *p){
return sizeof(struct rb_rdma_data_pd *);
};
static void
free_rdma_pd(void *ptr){
struct rb_rdma_data_pd *data_pd = ptr;
if( data_pd->pd )
ibv_dealloc_pd(data_pd->pd);
xfree(data_pd);
};
st... | 18.228916 | 61 | 0.694646 |
aa8a1c4e83ed1247630268c8fe1c9e407bef8c0f | 509 | c | C | 1051.c | thiagozanini/URI | c32afe25390ce0a3fea9a060e8fbdc4b3ec4e631 | [
"MIT"
] | null | null | null | 1051.c | thiagozanini/URI | c32afe25390ce0a3fea9a060e8fbdc4b3ec4e631 | [
"MIT"
] | null | null | null | 1051.c | thiagozanini/URI | c32afe25390ce0a3fea9a060e8fbdc4b3ec4e631 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
int main(){
double A;
float X;
scanf("%lf", &A);
if (A<=2000) {
printf("Isento\n");
}else{
if (A>2000 && A<=3000) {
X=((A-2000)*0.08);}
else if(... | 19.576923 | 39 | 0.438114 |
a64069c4b15ee370bbf87a243d4b9184fa8b6166 | 1,598 | h | C | usr/lib/libcoreroutine.dylib/RTStoredLocationOfInterestEnumerationOptions.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | usr/lib/libcoreroutine.dylib/RTStoredLocationOfInterestEnumerationOptions.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | usr/lib/libcoreroutine.dylib/RTStoredLocationOfInterestEnumerationOptions.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:52:36 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /usr/lib/libcoreroutine.dylib
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
#import <libcorero... | 42.052632 | 172 | 0.757822 |
2eccd851cec9a5fa377d975506a4c88e8edebe0d | 2,824 | c | C | lib/src/profile_curves.c | EwoutH/colorist | 8e8b586aceac9f54fecb648e94f6e4ad19593c76 | [
"BSL-1.0"
] | null | null | null | lib/src/profile_curves.c | EwoutH/colorist | 8e8b586aceac9f54fecb648e94f6e4ad19593c76 | [
"BSL-1.0"
] | null | null | null | lib/src/profile_curves.c | EwoutH/colorist | 8e8b586aceac9f54fecb648e94f6e4ad19593c76 | [
"BSL-1.0"
] | null | null | null | // ---------------------------------------------------------------------------
// Copyright Joe Drago 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.t... | 40.342857 | 168 | 0.61721 |
03efaae9a8b43372d2c01fec4a5b3748e1ee9e3c | 4,117 | h | C | src/viewer/scriptcontrol.h | Romop5/noob-engine | 346376b6243a270b31fe704fb532f92908ccc12f | [
"MIT"
] | 2 | 2018-02-19T21:46:16.000Z | 2019-05-26T17:30:12.000Z | src/viewer/scriptcontrol.h | Romop5/noob-engine | 346376b6243a270b31fe704fb532f92908ccc12f | [
"MIT"
] | null | null | null | src/viewer/scriptcontrol.h | Romop5/noob-engine | 346376b6243a270b31fe704fb532f92908ccc12f | [
"MIT"
] | null | null | null | /**
* @file ./viewer/scriptcontrol.h
* @brief Multithreaded script loading
* @copyright The MIT license
*/
#include <engine/engine.h>
#include <thread>
#include <mutex>
#include <vector>
class ScriptControl
{
std::thread slave;
std::mutex jobMutex;
std::vector<std::string> inputScripts;
std::vect... | 29.618705 | 99 | 0.477046 |
644d67df1d13141a451e7cb2d42af628644311bf | 9,643 | h | C | Inc/NamedInlineComponent.h | Remag/ReversedLibrary | c2e929586b1fccdf0f090bc68df2ec62389ceada | [
"MIT"
] | null | null | null | Inc/NamedInlineComponent.h | Remag/ReversedLibrary | c2e929586b1fccdf0f090bc68df2ec62389ceada | [
"MIT"
] | null | null | null | Inc/NamedInlineComponent.h | Remag/ReversedLibrary | c2e929586b1fccdf0f090bc68df2ec62389ceada | [
"MIT"
] | null | null | null | #pragma once
#include <Redefs.h>
#include <BaseString.h>
#include <ComponentUtils.h>
#include <Pair.h>
#include <Map.h>
namespace Relib {
//////////////////////////////////////////////////////////////////////////
// A weakly typed component.
class CNamedInlineComponent {
public:
// Constructors have ... | 45.2723 | 189 | 0.755263 |
8c4a5bed00852d959afa181b21d190908a4f82e7 | 1,830 | c | C | toolbox/gsw_specvol.c | efiring/GSW-C | 092f1e32e7c4f2efd861fc0ca6a5c2c2150b6caf | [
"BSD-3-Clause"
] | null | null | null | toolbox/gsw_specvol.c | efiring/GSW-C | 092f1e32e7c4f2efd861fc0ca6a5c2c2150b6caf | [
"BSD-3-Clause"
] | null | null | null | toolbox/gsw_specvol.c | efiring/GSW-C | 092f1e32e7c4f2efd861fc0ca6a5c2c2150b6caf | [
"BSD-3-Clause"
] | 1 | 2017-07-23T12:53:08.000Z | 2017-07-23T12:53:08.000Z | /*
!==========================================================================
function gsw_specvol(sa,ct,p)
!==========================================================================
!
! Calculates specific volume from Absolute Salinity, Conservative
! Temperature and pressure, using the computationally-efficient
!... | 40.666667 | 76 | 0.492896 |
147fcd3a36c6bbf0723095306f58e487136439cb | 246 | h | C | include/x86/idt.h | m-rinaldi/emuk86 | c5224ad212ec73ddc6d5b9bfb845fb487b2de085 | [
"MIT"
] | null | null | null | include/x86/idt.h | m-rinaldi/emuk86 | c5224ad212ec73ddc6d5b9bfb845fb487b2de085 | [
"MIT"
] | null | null | null | include/x86/idt.h | m-rinaldi/emuk86 | c5224ad212ec73ddc6d5b9bfb845fb487b2de085 | [
"MIT"
] | null | null | null | #pragma once
int idt_init(void);
int idt_set_trap_gate(unsigned int index, void (*isr)(void));
int idt_set_intr_gate(unsigned int index, void (*isr)(void));
int idt_set_task_gate(unsigned int index, void (*isr)(void));
void idt_display(void);
| 24.6 | 61 | 0.752033 |
f0318a9e156e1811272a5c2286041928178e5b64 | 6,084 | h | C | parser/parser_sha_mct_helper.h | banvikas/acvpparser | 802bf0c63ee6e380cef9f9c43c586e9cdab84e7c | [
"BSD-3-Clause"
] | 18 | 2018-12-03T19:08:47.000Z | 2022-01-30T16:20:53.000Z | parser/parser_sha_mct_helper.h | banvikas/acvpparser | 802bf0c63ee6e380cef9f9c43c586e9cdab84e7c | [
"BSD-3-Clause"
] | 47 | 2018-12-14T21:00:04.000Z | 2022-03-17T21:42:07.000Z | parser/parser_sha_mct_helper.h | banvikas/acvpparser | 802bf0c63ee6e380cef9f9c43c586e9cdab84e7c | [
"BSD-3-Clause"
] | 15 | 2020-04-28T12:21:45.000Z | 2022-03-17T21:42:20.000Z | /*
* Copyright (C) 2020 - 2021, Stephan Mueller <smueller@chronox.de>
*
* License: see LICENSE file in root directory
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, A... | 26.684211 | 72 | 0.696252 |
004c503c7dd2b56edff5397095d2dd1a9a8fd6a5 | 1,629 | h | C | src/binaryServer/HaSubscription.h | peramic/OPC-UA.Server | ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97 | [
"Apache-2.0"
] | null | null | null | src/binaryServer/HaSubscription.h | peramic/OPC-UA.Server | ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97 | [
"Apache-2.0"
] | null | null | null | src/binaryServer/HaSubscription.h | peramic/OPC-UA.Server | ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97 | [
"Apache-2.0"
] | null | null | null | #ifndef BINARYSERVER_HASUBSCRIPTION_H
#define BINARYSERVER_HASUBSCRIPTION_H
#include "Event.h"
#include "EventField.h"
#include "HaSession.h"
#include <uasession.h> // UaSession
#include <uanodeid.h> // UaNodeId
#include <vector>
class HaSubscriptionPrivate;
class HaSubscription {
public:
class HaSubscriptionCa... | 32.58 | 99 | 0.718232 |
534af40bf8b917c444fdc2cb8939f594446faf54 | 3,882 | h | C | morpho5/builtin/builtin.h | ConduitDan/morpho | 9df2d652d9bc269ce0f8cdeb4d55cec51d95c2f9 | [
"MIT"
] | 10 | 2021-09-18T14:44:14.000Z | 2022-03-26T11:41:50.000Z | morpho5/builtin/builtin.h | ConduitDan/morpho | 9df2d652d9bc269ce0f8cdeb4d55cec51d95c2f9 | [
"MIT"
] | 79 | 2021-10-05T17:33:19.000Z | 2022-03-31T16:06:10.000Z | morpho5/builtin/builtin.h | ConduitDan/morpho | 9df2d652d9bc269ce0f8cdeb4d55cec51d95c2f9 | [
"MIT"
] | 2 | 2021-10-05T16:56:16.000Z | 2021-10-31T19:55:27.000Z | /** @file builtin.h
* @author T J Atherton
*
* @brief Morpho built in functions and classes
*/
#ifndef builtin_h
#define builtin_h
#include "object.h"
#ifndef MORPHO_CORE
#include "morpho.h"
#endif
/* ---------------------------
* Built in functions
* --------------------------- */
/** Flags that describe p... | 32.621849 | 139 | 0.676971 |
18007269a0d0a66206e345d5a855370323921f31 | 695 | c | C | Src/count_larger.c | OferMon/Recursion-and-Backtracking | 8afeedc70804f07c27402fecf1c5b42447dce684 | [
"Apache-2.0"
] | null | null | null | Src/count_larger.c | OferMon/Recursion-and-Backtracking | 8afeedc70804f07c27402fecf1c5b42447dce684 | [
"Apache-2.0"
] | null | null | null | Src/count_larger.c | OferMon/Recursion-and-Backtracking | 8afeedc70804f07c27402fecf1c5b42447dce684 | [
"Apache-2.0"
] | null | null | null | #define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
/* The function gets a digit and a number, and checks several digits in a large mixer from the received number */
unsigned count_larger(unsigned n, unsigned x);
// check functions
void main() {
unsigned int num, digit;
printf("Enter an integer number\n");
... | 23.166667 | 114 | 0.648921 |
4b5150553c6aab0aa42d6b52bd7f833f93ef536b | 20,229 | h | C | Source/Core/Numeric/Quaternion.h | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 42 | 2015-07-24T23:05:07.000Z | 2022-03-16T01:31:04.000Z | Source/Core/Numeric/Quaternion.h | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 4 | 2015-03-17T05:42:49.000Z | 2020-08-09T15:21:45.000Z | Source/Core/Numeric/Quaternion.h | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 29 | 2015-01-03T05:56:32.000Z | 2021-10-05T15:28:33.000Z | /****************************************************************************/
/**
* @file Quaternion.h
* @author Naohisa Sakamoto
*/
/****************************************************************************/
#ifndef KVS__QUATERNION_H_INCLUDE
#define KVS__QUATERNION_H_INCLUDE
#include <iostream>
#include <i... | 29.924556 | 173 | 0.454793 |
189f6afa0b0ddb7e049ca7f4444c6521cba13442 | 1,471 | h | C | user.h | Subangkar/xv6-Socket-API-Local-Loopback-Implementation | 496f273d68cac3f9b8dcf69d114c961843a3c305 | [
"MIT-0"
] | 1 | 2020-04-09T05:30:30.000Z | 2020-04-09T05:30:30.000Z | user.h | Subangkar/xv6-Socket-API-Local-Loopback-Implementation | 496f273d68cac3f9b8dcf69d114c961843a3c305 | [
"MIT-0"
] | null | null | null | user.h | Subangkar/xv6-Socket-API-Local-Loopback-Implementation | 496f273d68cac3f9b8dcf69d114c961843a3c305 | [
"MIT-0"
] | null | null | null | struct stat;
struct rtcdate;
// system calls
int fork(void);
int exit(void) __attribute__((noreturn));
int wait(void);
int pipe(int*);
int write(int, const void*, int);
int read(int, void*, int);
int close(int);
int kill(int);
int exec(char*, char**);
int open(const char*, int);
int mknod(const char*, short, short);
i... | 25.807018 | 93 | 0.693406 |
bbbe54abdd627775c15dd74dba9947d49d58d3f3 | 3,788 | h | C | libsqlite3-sys/sqlite3/wasm32-unknown-unknown-libc-stub/libc_stub.h | jnetterf/rusqlite | 79e4dfeed4e820c9fc0623dc746505ce8d431146 | [
"MIT"
] | null | null | null | libsqlite3-sys/sqlite3/wasm32-unknown-unknown-libc-stub/libc_stub.h | jnetterf/rusqlite | 79e4dfeed4e820c9fc0623dc746505ce8d431146 | [
"MIT"
] | null | null | null | libsqlite3-sys/sqlite3/wasm32-unknown-unknown-libc-stub/libc_stub.h | jnetterf/rusqlite | 79e4dfeed4e820c9fc0623dc746505ce8d431146 | [
"MIT"
] | null | null | null | /**
* This is a subset of libc required to build sqlite.
* All implementations taken from musl.
*
* Copyright © 2005-2020 Rich Felker, et al.
* Modifications copyright © 2020 Joshua Netterfield.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated do... | 37.88 | 125 | 0.774815 |
f4fc4dba13d75c4844c8753456127710f4ec3b23 | 1,557 | h | C | chromeos/network/network_cert_migrator.h | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-11-28T10:46:52.000Z | 2019-11-28T10:46:52.000Z | chromeos/network/network_cert_migrator.h | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chromeos/network/network_cert_migrator.h | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.000Z | // Copyright 2013 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 CHROMEOS_NETWORK_NETWORK_CERT_MIGRATOR_H_
#define CHROMEOS_NETWORK_NETWORK_CERT_MIGRATOR_H_
#include "base/basictypes.h"
#include "base/memory/we... | 30.529412 | 79 | 0.775209 |
6364917bb6c311d9cd7b1a2608fdeab0cebc266b | 3,668 | h | C | CodeaTemplate/Codify/PhysicsManager.h | tesch1/Codea-Runtime | 35d1905fd229cf86a7779d617f446437e2e468ae | [
"Apache-2.0"
] | 57 | 2015-01-08T10:11:18.000Z | 2022-02-26T19:16:46.000Z | CodeaTemplate/Codify/PhysicsManager.h | tesch1/Codea-Runtime | 35d1905fd229cf86a7779d617f446437e2e468ae | [
"Apache-2.0"
] | null | null | null | CodeaTemplate/Codify/PhysicsManager.h | tesch1/Codea-Runtime | 35d1905fd229cf86a7779d617f446437e2e468ae | [
"Apache-2.0"
] | 10 | 2015-01-08T06:29:38.000Z | 2021-08-07T08:41:01.000Z | //
// PhysicsManager.h
// Codea
//
// Created by JtM on 30/10/11.
//
// Copyright 2012 Two Lives Left Pty. Ltd.
//
// 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://... | 27.17037 | 159 | 0.732279 |
4982c388dd06cccbdd15f6f131fdcfc1367dd5a8 | 1,046 | h | C | Engine/Src/SFEngine/Graphics/Vulkan/SFVulkanTexture.h | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | 1 | 2020-06-20T07:35:25.000Z | 2020-06-20T07:35:25.000Z | Engine/Src/SFEngine/Graphics/Vulkan/SFVulkanTexture.h | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | Engine/Src/SFEngine/Graphics/Vulkan/SFVulkanTexture.h | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// CopyRight (c) 2016 Kyungkun Ko
//
// Author : KyungKun Ko
//
// Description : Vulkan texture
//
////////////////////////////////////////////////////////////////////////////////
#pragma once
#if HAVE_VULKAN
#inc... | 18.678571 | 81 | 0.525813 |
6f3e138094ba9eecf3c3d49b56527a4117ba014f | 80 | h | C | shared/ios/Pods/Headers/Private/yoga/instrumentation.h | yan0908/client | 2debd54aa01e01f91cb5ef81104b1932a5cd681f | [
"BSD-3-Clause"
] | 401 | 2019-09-05T04:20:57.000Z | 2022-01-18T02:52:40.000Z | shared/ios/Pods/Headers/Private/yoga/instrumentation.h | joergpanke/client | e310b28b4e58987ffb1228650d35e07b9a379669 | [
"BSD-3-Clause"
] | 94 | 2019-10-04T19:34:42.000Z | 2021-08-03T13:23:17.000Z | shared/ios/Pods/Headers/Private/yoga/instrumentation.h | joergpanke/client | e310b28b4e58987ffb1228650d35e07b9a379669 | [
"BSD-3-Clause"
] | 71 | 2016-10-19T09:57:21.000Z | 2022-01-24T21:37:40.000Z | ../../../../../node_modules/react-native/ReactCommon/yoga/yoga/instrumentation.h | 80 | 80 | 0.725 |
6f93ece947b59bc9d9c7a78395b7fa18abba1664 | 612 | h | C | Source/FSD/Public/UsableAggregator.h | Dr-Turtle/DRG_ModPresetManager | abd7ff98a820969504491a1fe68cf2f9302410dc | [
"MIT"
] | 8 | 2021-07-10T20:06:05.000Z | 2022-03-04T19:03:50.000Z | Source/FSD/Public/UsableAggregator.h | Dr-Turtle/DRG_ModPresetManager | abd7ff98a820969504491a1fe68cf2f9302410dc | [
"MIT"
] | 9 | 2022-01-13T20:49:44.000Z | 2022-03-27T22:56:48.000Z | Source/FSD/Public/UsableAggregator.h | Dr-Turtle/DRG_ModPresetManager | abd7ff98a820969504491a1fe68cf2f9302410dc | [
"MIT"
] | 2 | 2021-07-10T20:05:42.000Z | 2022-03-14T17:05:35.000Z | #pragma once
#include "CoreMinimal.h"
#include "ItemAggregator.h"
#include "UsableAggregator.generated.h"
UDELEGATE(BlueprintCallable) DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FUsableAggregatorOnVisibilityChanged, bool, IsVisible);
UCLASS()
class UUsableAggregator : public UItemAggregator {
GENERATED_BODY()
pu... | 23.538462 | 128 | 0.784314 |
6fdc7ea86ce657b65126c93787791e13fd8acae4 | 6,760 | h | C | src/IOREG.h | benghaem/avremu | 0741984c40c6918141e844018992e1eeb5945a34 | [
"MIT"
] | 1 | 2017-08-15T18:13:15.000Z | 2017-08-15T18:13:15.000Z | src/IOREG.h | benghaem/avremu | 0741984c40c6918141e844018992e1eeb5945a34 | [
"MIT"
] | 5 | 2016-07-14T07:02:05.000Z | 2016-08-25T05:21:05.000Z | src/IOREG.h | benghaem/avremu | 0741984c40c6918141e844018992e1eeb5945a34 | [
"MIT"
] | null | null | null | /* ATtiny 25 / 45 / 85 IO Register Names
* generated from: http://www.atmel.com/Images/Atmel-2586-AVR-8-bit-Microcontroller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf
*
* Named registers also have named values for their bits
* Named bits are shown below as REGISTERNAME_BITNAME
*/
#ifndef IOREG_H
#define IOREG_H
#d... | 24.671533 | 124 | 0.690237 |
a585219f2f58e62610b77fa5bfd19dddb2aade22 | 4,706 | h | C | util/third_party/emwin/inc/GUI_FontIntern.h | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | util/third_party/emwin/inc/GUI_FontIntern.h | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | util/third_party/emwin/inc/GUI_FontIntern.h | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | /***************************************************************************//**
* # License
*
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/... | 46.137255 | 80 | 0.646621 |
a5a7401ee35c22ab372791fffbc47c01a72681a7 | 717 | h | C | include/pin.h | felixonmars/canokey-core | 5ed06b835452743356321fba21d07c9a352e5c53 | [
"Apache-2.0"
] | 135 | 2019-10-24T06:58:33.000Z | 2022-03-25T16:54:01.000Z | include/pin.h | felixonmars/canokey-core | 5ed06b835452743356321fba21d07c9a352e5c53 | [
"Apache-2.0"
] | 10 | 2020-05-21T10:29:49.000Z | 2022-01-22T02:40:14.000Z | include/pin.h | felixonmars/canokey-core | 5ed06b835452743356321fba21d07c9a352e5c53 | [
"Apache-2.0"
] | 22 | 2019-12-09T10:39:46.000Z | 2022-03-19T08:25:52.000Z | /* SPDX-License-Identifier: Apache-2.0 */
#ifndef CANOKEY_CORE_SRC_PIN_H
#define CANOKEY_CORE_SRC_PIN_H
#include <stdint.h>
typedef struct {
uint8_t min_length;
uint8_t max_length;
uint8_t is_validated;
char path[];
} pin_t;
#define PIN_IO_FAIL -1
#define PIN_AUTH_FAIL -2
#define PIN_LENGTH_INVALID -3
#defin... | 25.607143 | 75 | 0.753138 |
9d55c5e485530599a1d88d2b2728fb9f984d9f6c | 2,184 | h | C | Testing-Libraries/GHUnitIOS.framework/Versions/A/Headers/GHTestUtils.h | ubahnverleih/apps-ios-commons | 8573fbae5afd4dfd879968879ab5485f3b34b68a | [
"BSD-2-Clause"
] | 366 | 2015-01-01T19:07:57.000Z | 2022-03-15T06:13:12.000Z | Testing-Libraries/GHUnitIOS.framework/Versions/A/Headers/GHTestUtils.h | ubahnverleih/apps-ios-commons | 8573fbae5afd4dfd879968879ab5485f3b34b68a | [
"BSD-2-Clause"
] | 33 | 2015-03-17T22:35:21.000Z | 2020-06-17T20:56:51.000Z | FPPopoverTests/GHUnitIOS.framework/Versions/A/Headers/GHTestUtils.h | isabella232/FPPopover | f6185b9c51d7df6400100c7b02a72dc0107ae440 | [
"MIT"
] | 65 | 2015-01-08T05:43:56.000Z | 2021-01-26T07:10:50.000Z | //
// GHTestUtils.h
// GHUnitIOS
//
// Created by John Boiles on 10/22/12.
// Copyright 2012. All rights reserved.
//
// 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
// res... | 42 | 101 | 0.763736 |
8b3e61d35a7d3dda5476e0582c1baeea0228eceb | 402 | h | C | src/DataStreams/NullBlockOutputStream.h | lizhichao/ClickHouse | 3f5dc37095ccca18de490fab162d6e3cb99756aa | [
"Apache-2.0"
] | 18 | 2021-05-29T01:12:33.000Z | 2021-11-18T12:34:48.000Z | src/DataStreams/NullBlockOutputStream.h | lizhichao/ClickHouse | 3f5dc37095ccca18de490fab162d6e3cb99756aa | [
"Apache-2.0"
] | 16 | 2021-06-07T21:32:30.000Z | 2022-03-31T21:08:29.000Z | src/DataStreams/NullBlockOutputStream.h | lizhichao/ClickHouse | 3f5dc37095ccca18de490fab162d6e3cb99756aa | [
"Apache-2.0"
] | 22 | 2019-06-14T10:31:51.000Z | 2020-10-12T14:57:44.000Z | #pragma once
#include <DataStreams/IBlockOutputStream.h>
namespace DB
{
/** Does nothing. Used for debugging and benchmarks.
*/
class NullBlockOutputStream : public IBlockOutputStream
{
public:
NullBlockOutputStream(const Block & header_) : header(header_) {}
Block getHeader() const override { return head... | 17.478261 | 69 | 0.718905 |
5b0e1c4cda5719f97d47af301eebd6f9a12424d8 | 1,597 | c | C | src/ringbuf.c | brenns10/libstephen | 8c5caa27998fdfdb8591b1999b5d1ce1119a6c40 | [
"BSD-3-Clause"
] | 24 | 2015-11-07T09:34:38.000Z | 2021-11-04T17:58:25.000Z | src/ringbuf.c | brenns10/libstephen | 8c5caa27998fdfdb8591b1999b5d1ce1119a6c40 | [
"BSD-3-Clause"
] | 20 | 2015-07-30T20:41:04.000Z | 2016-06-13T03:27:57.000Z | src/ringbuf.c | brenns10/libstephen | 8c5caa27998fdfdb8591b1999b5d1ce1119a6c40 | [
"BSD-3-Clause"
] | 3 | 2018-04-02T11:07:57.000Z | 2020-12-06T03:28:28.000Z | #include "libstephen/rb.h"
#include <stdlib.h>
#include <string.h>
void rb_init(smb_rb *rb, int dsize, int init)
{
rb->dsize = dsize;
rb->nalloc = init;
rb->start = 0;
rb->count = 0;
rb->data = calloc(dsize, init);
}
void rb_destroy(smb_rb *rb)
{
free(rb->data);
}
void rb_grow(smb_rb *rb)
{
int oldall... | 21.581081 | 59 | 0.585473 |
3f8cde78679d93a06bc3698502952280b80dbbea | 99 | h | C | Core Data Editor/Core Data Editor/CDENSNullToNilTransformer.h | pkh/Core-Data-Editor | 9aca149089bad67fbaf5547ce299e968abddc400 | [
"BSD-3-Clause"
] | 1,025 | 2015-01-01T11:53:49.000Z | 2022-03-17T12:41:10.000Z | Core Data Editor/Core Data Editor/CDENSNullToNilTransformer.h | altimac/Core-Data-Editor | a713160b9e40709baf5717211b0778e390790ea3 | [
"BSD-3-Clause"
] | 24 | 2015-02-14T11:51:30.000Z | 2021-06-18T10:14:05.000Z | Core Data Editor/Core Data Editor/CDENSNullToNilTransformer.h | altimac/Core-Data-Editor | a713160b9e40709baf5717211b0778e390790ea3 | [
"BSD-3-Clause"
] | 141 | 2015-01-06T06:43:58.000Z | 2022-01-19T07:31:48.000Z | #import <Foundation/Foundation.h>
@interface CDENSNullToNilTransformer : NSValueTransformer
@end
| 16.5 | 57 | 0.828283 |
8b883caeb6c01a8ac2888b3f761c127d33cb2ba0 | 86,629 | h | C | base/ntos/mm/amd64/miamd.h | 987432340/wrk-v1.2 | 423d4c22b892bcc97778385bc0a646ed7a3cfbde | [
"Intel"
] | 1 | 2022-03-12T13:57:18.000Z | 2022-03-12T13:57:18.000Z | base/ntos/mm/amd64/miamd.h | 987432340/wrk-v1.2 | 423d4c22b892bcc97778385bc0a646ed7a3cfbde | [
"Intel"
] | null | null | null | base/ntos/mm/amd64/miamd.h | 987432340/wrk-v1.2 | 423d4c22b892bcc97778385bc0a646ed7a3cfbde | [
"Intel"
] | 1 | 2021-11-25T08:18:04.000Z | 2021-11-25T08:18:04.000Z | /*++
Copyright (c) Microsoft Corporation. All rights reserved.
You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
If you do not agree to the terms, do not use the code.
Module Name:
miamd.h
Abstract:
This mod... | 25.790116 | 133 | 0.57393 |
8bd1362963371eb5343de3d3ddf50111e05c9fac | 489 | h | C | Asteroids/pax16/gfx/cga/mode_6/mode_6.h | ifknot/Asteroids | 26ec3b72997a3077218d320b580460447c5575e2 | [
"MIT"
] | null | null | null | Asteroids/pax16/gfx/cga/mode_6/mode_6.h | ifknot/Asteroids | 26ec3b72997a3077218d320b580460447c5575e2 | [
"MIT"
] | null | null | null | Asteroids/pax16/gfx/cga/mode_6/mode_6.h | ifknot/Asteroids | 26ec3b72997a3077218d320b580460447c5575e2 | [
"MIT"
] | null | null | null | /*****************************************************************//**
* \file mode_6.h
* \brief
*
* \author ifkno
* \date September 2021
*********************************************************************/
//#pragma once
#ifndef MODE_6_H
#define MODE_6_H
#include "mode_6_line_asm.h"
#include "mode_6_l... | 20.375 | 71 | 0.513292 |
e9ae5068b149448efb9136e76ca0ee16e0ce07cf | 3,169 | h | C | MatrixSDK/Crypto/KeySharing/Data/MXOutgoingRoomKeyRequest.h | VenkatAdk7/Matrix_iOS_SDK_Test | 6310852d806ead3ceb07ef6378d17ea77c478bb5 | [
"Apache-2.0"
] | 7 | 2020-05-13T15:50:11.000Z | 2021-03-13T04:59:56.000Z | MatrixSDK/Crypto/KeySharing/Data/MXOutgoingRoomKeyRequest.h | VenkatAdk7/Matrix_iOS_SDK_Test | 6310852d806ead3ceb07ef6378d17ea77c478bb5 | [
"Apache-2.0"
] | null | null | null | MatrixSDK/Crypto/KeySharing/Data/MXOutgoingRoomKeyRequest.h | VenkatAdk7/Matrix_iOS_SDK_Test | 6310852d806ead3ceb07ef6378d17ea77c478bb5 | [
"Apache-2.0"
] | 1 | 2020-07-05T23:06:35.000Z | 2020-07-05T23:06:35.000Z | /*
Copyright 2017 OpenMarket Ltd
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 applicable law or agreed to in writing, softwar... | 33.357895 | 80 | 0.591985 |
eb564d2605f683b82b94e6bbd1a0352e72a4750a | 1,277 | h | C | Arkanoid/DLL/GameStructs.h | rmcsilva/ArkanoidSO2 | e296cb4297922278a87c5421fa9b0f7c1b340683 | [
"Apache-2.0"
] | 3 | 2019-11-19T10:03:55.000Z | 2022-01-12T22:17:59.000Z | Arkanoid/DLL/GameStructs.h | rmcsilva/ArkanoidSO2 | e296cb4297922278a87c5421fa9b0f7c1b340683 | [
"Apache-2.0"
] | null | null | null | Arkanoid/DLL/GameStructs.h | rmcsilva/ArkanoidSO2 | e296cb4297922278a87c5421fa9b0f7c1b340683 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "stdafx.h"
#include "resourceConstants.h"
#include "gameConstants.h"
//Game Status
#define GAME_LOBBY 0
#define GAME_ACTIVE 1
#define GAME_OVER 2
//Bonus status
#define BONUS_INACTIVE 0
#define BONUS_IN_PLAY 1
#define BONUS_CAUGHT 2
typedef struct Position {
int x;
int y;
}... | 16.802632 | 31 | 0.711825 |
6a519d685d89766cb7b9e7757c3da0badf4a760e | 6,369 | h | C | gporca/libgpopt/include/gpopt/base/COptCtxt.h | Tanmoy248/gpdb | 67fa1568b3ef2dc1c7757e3e94705de2f92e124b | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | gporca/libgpopt/include/gpopt/base/COptCtxt.h | Tanmoy248/gpdb | 67fa1568b3ef2dc1c7757e3e94705de2f92e124b | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | gporca/libgpopt/include/gpopt/base/COptCtxt.h | Tanmoy248/gpdb | 67fa1568b3ef2dc1c7757e3e94705de2f92e124b | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2022-03-22T18:45:41.000Z | 2022-03-22T18:45:41.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2009 Greenplum, Inc.
//
// @filename:
// COptCtxt.h
//
// @doc:
// Optimizer context object; contains all global objects pertaining to
// one optimization
//-------------------------------------------... | 22.114583 | 113 | 0.653478 |
5595a22921b882fabaad71924148814882455655 | 233 | h | C | Example/HyperWindowSwitch/HomeFirstViewController.h | phpremedy/HyperWindowSwitch | a852b06fd5384f6d7e5ed07ddeb1281d90ab1fc1 | [
"MIT"
] | 4 | 2016-12-08T15:19:56.000Z | 2022-01-15T00:41:39.000Z | Example/HyperWindowSwitch/HomeFirstViewController.h | phpremedy/HyperWindowSwitch | a852b06fd5384f6d7e5ed07ddeb1281d90ab1fc1 | [
"MIT"
] | null | null | null | Example/HyperWindowSwitch/HomeFirstViewController.h | phpremedy/HyperWindowSwitch | a852b06fd5384f6d7e5ed07ddeb1281d90ab1fc1 | [
"MIT"
] | 3 | 2016-12-08T15:19:57.000Z | 2022-01-15T00:41:41.000Z | //
// ExampleViewController.h
// HyperWindowSwitch
//
// Created by H.Vakilian on 11/03/2016.
// Copyright (c) 2016 H.Vakilian. All rights reserved.
//
@import UIKit;
@interface HomeFirstViewController : UIViewController
@end
| 16.642857 | 55 | 0.725322 |
ce75bb913cf9c3519167f672b7caeb1786bed0ae | 2,345 | h | C | core/sql/parser/HvTypes.h | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 148 | 2015-06-18T21:26:04.000Z | 2017-12-25T01:47:01.000Z | core/sql/parser/HvTypes.h | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 1,352 | 2015-06-20T03:05:01.000Z | 2017-12-25T14:13:18.000Z | core/sql/parser/HvTypes.h | CoderSong2015/Apache-Trafodion | 889631aae9cdcd38fca92418d633f2dedc0be619 | [
"Apache-2.0"
] | 166 | 2015-06-19T18:52:10.000Z | 2017-12-27T06:19:32.000Z | /* -*-C++-*-
******************************************************************************
*
* File: HvTypes.h
* Description: HostVar argument types for Parser
* Language: C++
*
// @@@ START COPYRIGHT @@@
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agree... | 27.916667 | 78 | 0.641365 |
077a3df23e88bcf9c925ddebc86d5a05e1105be4 | 4,332 | c | C | stm32/i2c.c | VilocNV/basicmac | 981b73abf2dfc6b9570a0ec4075cac736191cdd6 | [
"BSD-3-Clause"
] | 80 | 2019-04-30T23:21:12.000Z | 2021-08-30T11:01:34.000Z | stm32/i2c.c | VilocNV/basicmac | 981b73abf2dfc6b9570a0ec4075cac736191cdd6 | [
"BSD-3-Clause"
] | 19 | 2019-05-09T13:24:13.000Z | 2021-07-21T21:50:30.000Z | stm32/i2c.c | mkuyper/basicmac | 2d2f247a2853a5eeb31b4044978eb5bf198947e3 | [
"BSD-3-Clause"
] | 42 | 2019-04-30T17:45:30.000Z | 2021-09-23T01:08:28.000Z | // Copyright (C) 2016-2019 Semtech (International) AG. All rights reserved.
//
// This file is subject to the terms and conditions defined in file 'LICENSE',
// which is part of this source code package.
#include "peripherals.h"
#ifdef BRD_I2C
#if BRD_I2C == 1
#define I2Cx I2C1
#define I2Cx_enable() do { RCC->APB1E... | 26.740741 | 122 | 0.661127 |
35bed63a2e124a37125de796f07a991e7735a185 | 1,426 | c | C | usaco/milk2.c | KuleshVandan/IOI-PRAC | 9f35e8f738bd8dd1e8116173e67ab27902e26756 | [
"MIT"
] | 1 | 2021-06-19T18:49:44.000Z | 2021-06-19T18:49:44.000Z | usaco/milk2.c | KuleshVandan/IOI-PRAC | 9f35e8f738bd8dd1e8116173e67ab27902e26756 | [
"MIT"
] | null | null | null | usaco/milk2.c | KuleshVandan/IOI-PRAC | 9f35e8f738bd8dd1e8116173e67ab27902e26756 | [
"MIT"
] | 1 | 2017-03-27T14:08:34.000Z | 2017-03-27T14:08:34.000Z | /*
ID: argh
PROG: milk2
LANG: C
*/
#include <stdio.h>
#include <stdlib.h>
#define MAXLEN 5000
void quick_sort(int A[][2], int N);
int main(void)
{
FILE *fin = fopen("milk2.in", "r");
FILE *fout = fopen("milk2.out", "w");
int N;
fscanf(fin, "%d", &N);
int timings[MAXLEN][2]; // [k][0] is start, [k][1] is ... | 16.97619 | 85 | 0.535063 |
ef6c687afd470c9b1a256ad790f697810d2082ea | 262 | h | C | PanoDemo/Models/Cropping.h | DJI-Mobile-SDK/iOS-PanoDemo | 8bb2bc1d7ef40318944c474791f889a7d7192e0e | [
"MIT"
] | 25 | 2016-08-11T02:21:49.000Z | 2020-12-13T19:38:27.000Z | PanoDemo/Models/Cropping.h | DJI-Mobile-SDK/iOS-PanoDemo | 8bb2bc1d7ef40318944c474791f889a7d7192e0e | [
"MIT"
] | 4 | 2017-06-15T10:04:48.000Z | 2021-05-25T07:54:16.000Z | PanoDemo/Models/Cropping.h | DJI-Mobile-SDK/iOS-PanoDemo | 8bb2bc1d7ef40318944c474791f889a7d7192e0e | [
"MIT"
] | 5 | 2016-09-05T17:29:02.000Z | 2019-04-26T16:57:35.000Z | //
// Cropping.h
// PanoDemo
//
// Created by DJI on 15/7/31.
// Copyright (c) 2015年 DJI. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Cropping : NSObject
+ (bool) cropWithMat: (const cv::Mat &)src andResult:(cv::Mat &)dest;
@end
| 16.375 | 69 | 0.656489 |
35a1face317f9640a5c930e18c29c3d8323b21eb | 703 | c | C | solutions/c/2.c | pwaring/project-euler | b03091e0dbc29f40a6380e9f281fd9ec3a9dacc6 | [
"MIT"
] | null | null | null | solutions/c/2.c | pwaring/project-euler | b03091e0dbc29f40a6380e9f281fd9ec3a9dacc6 | [
"MIT"
] | null | null | null | solutions/c/2.c | pwaring/project-euler | b03091e0dbc29f40a6380e9f281fd9ec3a9dacc6 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#define MAX_SEQUENCE 4000000
int main(void)
{
// Fibonnaci sequence actually starts 1, 2 but pretending it is 1, 1, 2 allows
// us to use the same logic for every step instead of treating the first one
// as a special case
uint32_t sequence[] = {1, ... | 21.96875 | 80 | 0.634424 |
72497e3d844ad314b3619c1c42fc5d4f4156113a | 1,320 | c | C | sdk-6.5.20/libs/sdklt/bcmbd/chip/bcm56990_a0/bcm56990_a0_bd_otp.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmbd/chip/bcm56990_a0/bcm56990_a0_bd_otp.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmbd/chip/bcm56990_a0/bcm56990_a0_bd_otp.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*! \file bcm56990_a0_bd_otp.c
*
* Device-specific functions for accessing OTP parameters
*/
/*
* 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.
*/
#include <bcmdrd/bcm... | 33 | 134 | 0.742424 |
471fcac6ff55dffba2724c5ec3a9c8de68536043 | 701 | h | C | fs/btrfs/xattr.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 11 | 2022-02-05T12:12:43.000Z | 2022-03-08T08:09:08.000Z | fs/btrfs/xattr.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 3 | 2021-03-09T04:02:52.000Z | 2021-05-15T14:08:02.000Z | fs/btrfs/xattr.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 1 | 2020-11-06T07:32:55.000Z | 2020-11-06T07:32:55.000Z | /* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2007 Red Hat. All rights reserved.
*/
#ifndef BTRFS_XATTR_H
#define BTRFS_XATTR_H
#include <linux/xattr.h>
extern const struct xattr_handler *btrfs_xattr_handlers[];
int btrfs_getxattr(struct inode *inode, const char *name,
void *buffer, size_t size);
i... | 28.04 | 74 | 0.731812 |
54bfd89009a64a3237d276c8c4af72ab26d5f72c | 4,137 | h | C | LIB_GO_UTILS/GoGameTree.h | gabrielmsantos/go_tools | 514c852b49c75f206b4a940f7d46ee0162e146ab | [
"MIT"
] | null | null | null | LIB_GO_UTILS/GoGameTree.h | gabrielmsantos/go_tools | 514c852b49c75f206b4a940f7d46ee0162e146ab | [
"MIT"
] | null | null | null | LIB_GO_UTILS/GoGameTree.h | gabrielmsantos/go_tools | 514c852b49c75f206b4a940f7d46ee0162e146ab | [
"MIT"
] | null | null | null | #ifndef GOGAMETREE_H
#define GOGAMETREE_H
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/random_access_index.hpp>
#include <boost/multi_index/identity.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
using boost::multi_index_container;
using namespace... | 23.64 | 97 | 0.66715 |
b0f0b3e0956acec3f3cad0f84487138d98470fdc | 9,504 | c | C | MyApps/ThinkPwn/ThinkPwn.c | fpmurphy/ThinkPwn | 89bddd918745b198e4ff967f43fbcb4a88bd25cb | [
"BSD-2-Clause"
] | 5 | 2017-04-26T16:14:19.000Z | 2018-04-23T15:53:48.000Z | MyApps/ThinkPwn/ThinkPwn.c | fpmurphy/ThinkPwn | 89bddd918745b198e4ff967f43fbcb4a88bd25cb | [
"BSD-2-Clause"
] | null | null | null | MyApps/ThinkPwn/ThinkPwn.c | fpmurphy/ThinkPwn | 89bddd918745b198e4ff967f43fbcb4a88bd25cb | [
"BSD-2-Clause"
] | null | null | null | //
// Copyright (c) 2016 Finnbarr P. Murphy. All rights reserved.
//
// Check SMM Write Access (Based on ThinkPwn code from Dmytro Oleksiuk)
//
// License: BSD License
//
#include <Uefi.h>
#include <FrameworkSmm.h>
#include <Uefi/UefiSpec.h>
#include <Guid/GlobalVariable.h>
#include <Guid/SmmCommunicate.h>
#i... | 28.035398 | 108 | 0.565867 |
b04f79fbb4f3abd6260e8cc35a745cdf44543aff | 657 | h | C | Bin/GLFunctions/Misc/OES_draw_buffers_indexed_Include.h | vinjn/glintercept | f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f | [
"MIT"
] | 468 | 2015-04-13T19:03:57.000Z | 2022-03-23T00:11:24.000Z | Bin/GLFunctions/Misc/OES_draw_buffers_indexed_Include.h | vinjn/glintercept | f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f | [
"MIT"
] | 12 | 2015-05-25T11:15:21.000Z | 2020-10-26T02:46:50.000Z | Bin/GLFunctions/Misc/OES_draw_buffers_indexed_Include.h | vinjn/glintercept | f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f | [
"MIT"
] | 67 | 2015-04-22T13:22:48.000Z | 2022-03-05T01:11:02.000Z | #define GLI_INCLUDE_GL_OES_DRAW_BUFFERS_INDEXED
void glEnableiOES(GLenum[Main] target, GLuint index);
void glDisableiOES(GLenum[Main] target, GLuint index);
void glBlendEquationiOES(GLuint buf, GLenum[Main] mode);
void glBlendEquationSeparateiOES(GLuint buf, GLenum[Main] modeRGB, GLenum[Main] modeAlpha);
void glBlendF... | 59.727273 | 129 | 0.811263 |
b8471e06f5e8f274840b6eab2f6f800b3454f5d5 | 252 | h | C | src/I2C.h | coryking/MotionController | 56445b4faea2f044e256cf2414021cadb62b5d67 | [
"BSD-2-Clause"
] | 2 | 2018-07-22T12:07:09.000Z | 2021-07-15T15:46:06.000Z | src/I2C.h | coryking/MotionController | 56445b4faea2f044e256cf2414021cadb62b5d67 | [
"BSD-2-Clause"
] | null | null | null | src/I2C.h | coryking/MotionController | 56445b4faea2f044e256cf2414021cadb62b5d67 | [
"BSD-2-Clause"
] | null | null | null | //
// Created by Cory King on 5/26/17.
//
#ifndef MOTIONCONTROLLER_I2C_H
#define MOTIONCONTROLLER_I2C_H
#include <Arduino.h>
#include <Wire.h>
#include "Pins.h"
void setupI2C() {
Wire.begin(SDA_PIN, SCL_PIN);
}
#endif //MOTIONCONTROLLER_I2C_H
| 14 | 35 | 0.718254 |
e6fb70bbeee3422dddf8b3786550888973575d32 | 462 | h | C | FlameCrowdfunding/FlameCrowdfunding/Classes/UI/Public/View/FCPublicCell.h | JimmyOu/CrowFunding | eab7c7dfe02e93c709258d943b1a2bb53f6e23cf | [
"Apache-2.0"
] | null | null | null | FlameCrowdfunding/FlameCrowdfunding/Classes/UI/Public/View/FCPublicCell.h | JimmyOu/CrowFunding | eab7c7dfe02e93c709258d943b1a2bb53f6e23cf | [
"Apache-2.0"
] | null | null | null | FlameCrowdfunding/FlameCrowdfunding/Classes/UI/Public/View/FCPublicCell.h | JimmyOu/CrowFunding | eab7c7dfe02e93c709258d943b1a2bb53f6e23cf | [
"Apache-2.0"
] | null | null | null | //
// FCPublicCell.h
// FlameCrowdfunding
//
// Created by JimmyOu on 16/5/22.
// Copyright © 2016年 JimmyOu. All rights reserved.
//
#import <UIKit/UIKit.h>
@class FCFundingItem;
//@class FCPublicCellLayout;
@interface FCPublicCell : UITableViewCell
@property (nonatomic, strong) FCFundingItem *fundingItem;
@proper... | 27.176471 | 71 | 0.735931 |
e63c39c94f88e86ac53179fa4d8d6790b5617ad0 | 297 | h | C | LookNovel/classes/base/controller/LNNavigationViewController.h | wangyingbo/readNovel | 37fbbc557123c7dffdddc683cb6f7bc20be7d696 | [
"MIT"
] | 178 | 2019-05-28T03:21:58.000Z | 2022-03-28T02:39:14.000Z | LookNovel/classes/base/controller/LNNavigationViewController.h | Subery/readNovel | 0afda0f4ce24c80248b96d2013f4d337af403342 | [
"MIT"
] | 7 | 2019-05-30T05:54:23.000Z | 2021-07-30T09:29:51.000Z | LookNovel/classes/base/controller/LNNavigationViewController.h | Subery/readNovel | 0afda0f4ce24c80248b96d2013f4d337af403342 | [
"MIT"
] | 61 | 2019-05-28T03:24:24.000Z | 2022-03-18T03:33:30.000Z | //
// LNNavigationViewController.h
// LookNovel
//
// Created by wangchengshan on 2019/5/10.
// Copyright © 2019 wcs Co.,ltd. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface LNNavigationViewController : UINavigationController
@end
NS_ASSUME_NONNULL_END
| 16.5 | 62 | 0.760943 |
525f3f19d0f066fb05eb11b0adf17cd98c343091 | 464 | h | C | onlineC/Classes/Model/UserChat/OCSUserChatModel.h | Zydhjx/onlineC | 2d8cbcabbaba7ee60b046fab84efac2c7fa002a1 | [
"MIT"
] | null | null | null | onlineC/Classes/Model/UserChat/OCSUserChatModel.h | Zydhjx/onlineC | 2d8cbcabbaba7ee60b046fab84efac2c7fa002a1 | [
"MIT"
] | null | null | null | onlineC/Classes/Model/UserChat/OCSUserChatModel.h | Zydhjx/onlineC | 2d8cbcabbaba7ee60b046fab84efac2c7fa002a1 | [
"MIT"
] | null | null | null | //
// OCSUserChatModel.h
// onlineC
//
// Created by zyd on 2018/7/16.
//
#import "OCSModel.h"
@interface OCSUserChatModel : OCSModel
@property (copy, nonatomic) NSString *chatDetailId;
// 用户输入类型
@property (copy, nonatomic) NSString *contentType;
// 用于关联类和contentType的方法
+ (void)setValue:(id)value forKey:(NSStri... | 19.333333 | 63 | 0.741379 |
509dd688663c1e693451b20793f7aac1b516929b | 740 | c | C | c-lib/tests/basic-types.c | archshift/C-Tycat | d91471642cabee153617602e492eaf68d78c08a3 | [
"MIT"
] | 3 | 2020-03-03T08:23:37.000Z | 2021-01-25T23:05:14.000Z | c-lib/tests/basic-types.c | archshift/C-Tycat | d91471642cabee153617602e492eaf68d78c08a3 | [
"MIT"
] | null | null | null | c-lib/tests/basic-types.c | archshift/C-Tycat | d91471642cabee153617602e492eaf68d78c08a3 | [
"MIT"
] | 1 | 2020-03-07T02:34:22.000Z | 2020-03-07T02:34:22.000Z | /*
Tycat a basic types.
Copyright (C) 2018, Guillaume Gonnet
This project is under the MIT License
*/
#include <stdio.h>
#include <string.h>
#include <ctycat.h>
struct Container {
const char *string;
char c;
_Bool boolean;
int integer;
char **array;
char fixed_str[20];
};
int main()
{
... | 15.416667 | 66 | 0.581081 |
f732a520cd2742615fe5cd08257d9950cb3f79d8 | 5,620 | h | C | rpmio/argv.h | devzero2000/RPM5 | e74e9f9f745047f5dde783820367ec9c018baee9 | [
"Apache-2.0"
] | 2 | 2015-10-27T10:14:57.000Z | 2019-01-14T07:48:54.000Z | rpmio/argv.h | avokhmin/RPM5 | c0048ec5c5804e819c406b9d4912d55338cc3566 | [
"Apache-2.0"
] | null | null | null | rpmio/argv.h | avokhmin/RPM5 | c0048ec5c5804e819c406b9d4912d55338cc3566 | [
"Apache-2.0"
] | 4 | 2017-05-12T05:33:17.000Z | 2019-03-17T22:29:33.000Z | #ifndef _H_ARGV_
#define _H_ARGV_
/** \ingroup rpmio
* \file rpmio/argv.h
*/
typedef const char * ARGstr_t;
typedef ARGstr_t * ARGV_t;
typedef unsigned int * ARGint_t;
struct ARGI_s {
unsigned nvals;
ARGint_t vals;
};
typedef struct ARGI_s * ARGI_t;
#ifdef __cplusplus
extern "C" {
#endif
/**
* Print ar... | 23.032787 | 94 | 0.651423 |
5428af3a351ea02ddba620b41ce3876fa11ed352 | 1,324 | c | C | src_corewar/op_aff.c | ZackChOfficial/corewar | f1f3c5a9cea873d84a69d3d1da09e50c649a7e24 | [
"MIT"
] | null | null | null | src_corewar/op_aff.c | ZackChOfficial/corewar | f1f3c5a9cea873d84a69d3d1da09e50c649a7e24 | [
"MIT"
] | null | null | null | src_corewar/op_aff.c | ZackChOfficial/corewar | f1f3c5a9cea873d84a69d3d1da09e50c649a7e24 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* aff.c :+: :+: :+: ... | 42.709677 | 80 | 0.273414 |
2d8f4a49a7d87d1dd3a09262631525547843ca1c | 12,591 | h | C | impl/src/tooling/icpp/interpreter/op_eval.h | brakmic/BosqueLanguage | 649c7698cebe82366c957847144515909e68aa1a | [
"MIT"
] | null | null | null | impl/src/tooling/icpp/interpreter/op_eval.h | brakmic/BosqueLanguage | 649c7698cebe82366c957847144515909e68aa1a | [
"MIT"
] | null | null | null | impl/src/tooling/icpp/interpreter/op_eval.h | brakmic/BosqueLanguage | 649c7698cebe82366c957847144515909e68aa1a | [
"MIT"
] | 1 | 2021-03-15T16:07:51.000Z | 2021-03-15T16:07:51.000Z | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | 37.251479 | 231 | 0.704471 |
6701a88d2ac26039a7cc68acc8821231d9d4a174 | 2,026 | h | C | skein.h | electrorys/genpwd | 2bc8883b871fa412f0a947fbb29cefde8f2849c3 | [
"MIT"
] | null | null | null | skein.h | electrorys/genpwd | 2bc8883b871fa412f0a947fbb29cefde8f2849c3 | [
"MIT"
] | null | null | null | skein.h | electrorys/genpwd | 2bc8883b871fa412f0a947fbb29cefde8f2849c3 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2021 Andrey Rys
*
* 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... | 36.836364 | 81 | 0.769497 |
91352317f229bb9cfc5984069787862a3097674b | 1,813 | c | C | tests/adaptor-demo/main.c | raghaven447/gaeguli | fad00b9e4377c28620fc1a62e9aa16f24d3ee8bd | [
"Apache-2.0"
] | 26 | 2019-09-24T09:06:11.000Z | 2022-01-11T00:18:42.000Z | tests/adaptor-demo/main.c | raghaven447/gaeguli | fad00b9e4377c28620fc1a62e9aa16f24d3ee8bd | [
"Apache-2.0"
] | 23 | 2019-09-19T13:22:26.000Z | 2021-11-29T09:59:27.000Z | tests/adaptor-demo/main.c | raghaven447/gaeguli | fad00b9e4377c28620fc1a62e9aa16f24d3ee8bd | [
"Apache-2.0"
] | 9 | 2019-09-16T12:27:40.000Z | 2021-05-19T19:19:50.000Z | /**
* Copyright 2020 SK Telecom Co., Ltd.
* Author: Jakub Adam <jakub.adam@collabora.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/license... | 25.9 | 76 | 0.705461 |
918b5135e9e35727422ffc042ebd6a836738adf8 | 235 | h | C | blinky/blinky/asf-3.21.0/thirdparty/lwip/lwip-port-1.4.1/hd/if/include/arch/perf.h | femtoio/femtousb-blink-example | 5e166bdee500f67142d0ee83a1a169bab57fe142 | [
"MIT"
] | null | null | null | blinky/blinky/asf-3.21.0/thirdparty/lwip/lwip-port-1.4.1/hd/if/include/arch/perf.h | femtoio/femtousb-blink-example | 5e166bdee500f67142d0ee83a1a169bab57fe142 | [
"MIT"
] | null | null | null | blinky/blinky/asf-3.21.0/thirdparty/lwip/lwip-port-1.4.1/hd/if/include/arch/perf.h | femtoio/femtousb-blink-example | 5e166bdee500f67142d0ee83a1a169bab57fe142 | [
"MIT"
] | null | null | null | #ifndef __PERF_H__
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
#define __PERF_H__
#define PERF_START /* null definition */
#define PERF_STOP(x) /* null definition */
#endif
| 21.363636 | 90 | 0.685106 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.