hexsha stringlengths 40 40 | size int64 5 2.72M | ext stringclasses 5
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 976 | max_stars_repo_name stringlengths 5 113 | max_stars_repo_head_hexsha stringlengths 40 78 | 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:01:43 2022-03-31 23:59:48 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 00:06:24 2022-03-31 23:59:53 ⌀ | max_issues_repo_path stringlengths 3 976 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 78 | 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 976 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 78 | 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:19 2022-03-31 23:59:49 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 12:00:57 2022-03-31 23:59:49 ⌀ | content stringlengths 5 2.72M | avg_line_length float64 1.38 573k | max_line_length int64 2 1.01M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7a2bbdbdcef55e6f79eeb6e8845fe66c42512f70 | 584 | h | C | Kidney John/Models/KJVideo.h | joshlapham/Cartoons-By-John | 827d2a2f9b03b46ef227d0279b8c818674a9b80e | [
"Beerware"
] | 1 | 2015-07-21T05:03:35.000Z | 2015-07-21T05:03:35.000Z | Kidney John/Models/KJVideo.h | joshlapham/Cartoons-By-John | 827d2a2f9b03b46ef227d0279b8c818674a9b80e | [
"Beerware"
] | null | null | null | Kidney John/Models/KJVideo.h | joshlapham/Cartoons-By-John | 827d2a2f9b03b46ef227d0279b8c818674a9b80e | [
"Beerware"
] | null | null | null | //
// KJVideo.h
// Kidney John
//
// Created by jl on 18/12/13.
// Copyright (c) 2013 Josh Lapham. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@interface KJVideo : NSManagedObject
@property (nonatomic, retain) NSString * videoId;
@property (nonatomic, retain) NSString... | 24.333333 | 58 | 0.739726 |
7a2bcca5b901d4507092868c9ad9391cfa879f42 | 10,432 | c | C | src/internal_test.c | iceignatius/libiso8583 | 46a70171e00b4ddb569e940a471ba5a6a7d4bf99 | [
"Zlib"
] | null | null | null | src/internal_test.c | iceignatius/libiso8583 | 46a70171e00b4ddb569e940a471ba5a6a7d4bf99 | [
"Zlib"
] | null | null | null | src/internal_test.c | iceignatius/libiso8583 | 46a70171e00b4ddb569e940a471ba5a6a7d4bf99 | [
"Zlib"
] | null | null | null | #ifdef ISO8583_DEBUGTEST
#include <assert.h>
#include <stdint.h>
#include <string.h>
#include "bitmap.h"
#include "lvar.h"
#include "internal_test.h"
//------------------------------------------------------------------------------
static
void test_bitmap_case1(void)
{
static const uint8_t raw[] = { 0x72,0x34,0x05... | 38.637037 | 160 | 0.541986 |
7a2d23ebbbeb42618b1b1ff93b41440cd27e3cbc | 332 | h | C | Example/FSEditVideo/Classes/VC/View/RBIconButton.h | smallMas/FSEditVideo | f7f6c4385245f02db22509cbca6cc119343e5c0b | [
"MIT"
] | 2 | 2021-01-06T09:51:48.000Z | 2021-01-06T09:53:15.000Z | Example/FSEditVideo/Classes/VC/View/RBIconButton.h | smallMas/FSEditVideo | f7f6c4385245f02db22509cbca6cc119343e5c0b | [
"MIT"
] | null | null | null | Example/FSEditVideo/Classes/VC/View/RBIconButton.h | smallMas/FSEditVideo | f7f6c4385245f02db22509cbca6cc119343e5c0b | [
"MIT"
] | null | null | null | //
// RBIconButton.h
// FSEditVideo_Example
//
// Created by 燕来秋 on 2020/8/28.
// Copyright © 2020 fanshij@163.com. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface RBIconButton : UIControl
- (void)setImage:(UIImage *)image;
- (void)setTitle:(NSString *)title;
@end
NS_ASSUME_... | 15.809524 | 58 | 0.71988 |
7a2d86948982f5b29d27073391ba8b50b534e2d4 | 707 | h | C | CondFormats/DataRecord/interface/L1TMuonOverlapFwVersionRcd.h | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 2 | 2020-10-26T18:40:32.000Z | 2021-04-10T16:33:25.000Z | CondFormats/DataRecord/interface/L1TMuonOverlapFwVersionRcd.h | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 30 | 2015-11-04T11:42:27.000Z | 2021-12-01T07:56:34.000Z | CondFormats/DataRecord/interface/L1TMuonOverlapFwVersionRcd.h | gartung/cmssw | 3072dde3ce94dcd1791d778988198a44cde02162 | [
"Apache-2.0"
] | 8 | 2016-03-25T07:17:43.000Z | 2021-07-08T17:11:21.000Z | #ifndef L1TMTFOverlapFwVersionRcd_L1TMTFOverlapFwVersionRcd_h
#define L1TMTFOverlapFwVersionRcd_L1TMTFOverlapFwVersionRcd_h
// -*- C++ -*-
//
// Package: CondFormats/DataRecord
// Class : L1TMuonOverlapFwVersionRcd
//
/**\class L1TMuonOverlapFwVersionRcd L1TMuonOverlapFwVersionRcd.h CondFormats/DataRecord/inte... | 26.185185 | 127 | 0.782178 |
7a2f001b1f4f5b3e761def25e51cf3b4e4010be9 | 860 | h | C | src/algo/util/TriangleBarycentric.h | aurthconan/fanLens | d05ce02cd748f21b6a5385892972accce54fd58d | [
"MIT"
] | null | null | null | src/algo/util/TriangleBarycentric.h | aurthconan/fanLens | d05ce02cd748f21b6a5385892972accce54fd58d | [
"MIT"
] | null | null | null | src/algo/util/TriangleBarycentric.h | aurthconan/fanLens | d05ce02cd748f21b6a5385892972accce54fd58d | [
"MIT"
] | null | null | null | #ifndef TRIANGLEBARYCENTRIC_H
#define TRIANGLEBARYCENTRIC_H
#include <fanVector.h>
namespace fan {
template<typename T>
inline fanVector<T, 3> ComputeTriangleBarycentricCoord( fanVector<T, 2> p1,
fanVector<T, 2> p2,
... | 30.714286 | 77 | 0.469767 |
7a2f6b877155d3ed077d41be664ef9c9c2271bbb | 293 | h | C | CocoaPodTestPrivateProject/AppDelegate.h | lstemerdink/cocoapodtest | 7f81a4c39ea5b7dc9ebc5b90f5a5fbed5aeb7cbf | [
"MIT"
] | null | null | null | CocoaPodTestPrivateProject/AppDelegate.h | lstemerdink/cocoapodtest | 7f81a4c39ea5b7dc9ebc5b90f5a5fbed5aeb7cbf | [
"MIT"
] | null | null | null | CocoaPodTestPrivateProject/AppDelegate.h | lstemerdink/cocoapodtest | 7f81a4c39ea5b7dc9ebc5b90f5a5fbed5aeb7cbf | [
"MIT"
] | null | null | null | //
// AppDelegate.h
// CocoaPodTest
//
// Created by Leon Stemerdink on 24/02/2017.
// Copyright © 2017 Leon Stemerdink. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 16.277778 | 60 | 0.716724 |
7a34ff2dccb3065b2a8d0ee5024dff90dd3112e8 | 10,031 | h | C | arch/cpu/cc26x0-cc13x0/lib/cc2640r2-sdk/rf_patches/rf_patch_rfe_ble.h | wodishenga/zizuwang | 7f579202c2457d5973eab1219151756ddd39c5ec | [
"BSD-3-Clause"
] | 2 | 2020-05-21T04:02:45.000Z | 2020-12-18T14:46:23.000Z | arch/cpu/cc26x0-cc13x0/lib/cc2640r2-sdk/rf_patches/rf_patch_rfe_ble.h | wodishenga/zizuwang | 7f579202c2457d5973eab1219151756ddd39c5ec | [
"BSD-3-Clause"
] | null | null | null | arch/cpu/cc26x0-cc13x0/lib/cc2640r2-sdk/rf_patches/rf_patch_rfe_ble.h | wodishenga/zizuwang | 7f579202c2457d5973eab1219151756ddd39c5ec | [
"BSD-3-Clause"
] | 3 | 2020-04-29T23:26:45.000Z | 2021-08-17T18:38:15.000Z | /******************************************************************************
* Filename: rf_patch_rfe_ble.h
* Revised: $Date: 2017-08-24 11:43:33 +0200 (to, 24 aug 2017) $
* Revision: $Revision: 17889 $
*
* Description: RF core patch for Bluetooth 4.2 support in CC2640R2F (improved AGC receive... | 17.88057 | 113 | 0.659954 |
7a3556d4945b2fed4f7a0ab4fd79a8e063a29ae1 | 1,636 | h | C | Classes/ContentProvider/Weather/Forecast.h | seagullua/Alarm-x4 | bc4ad1bcf34a7c9ea2ab3fbd2b6cfffe4b7156a8 | [
"MIT"
] | 4 | 2015-08-12T01:50:44.000Z | 2021-02-28T04:58:25.000Z | Classes/ContentProvider/Weather/Forecast.h | seagullua/Alarm-x4 | bc4ad1bcf34a7c9ea2ab3fbd2b6cfffe4b7156a8 | [
"MIT"
] | 1 | 2018-04-06T03:38:06.000Z | 2018-04-06T03:38:06.000Z | Classes/ContentProvider/Weather/Forecast.h | seagullua/Alarm-x4 | bc4ad1bcf34a7c9ea2ab3fbd2b6cfffe4b7156a8 | [
"MIT"
] | 5 | 2015-04-21T05:22:52.000Z | 2018-02-02T18:12:36.000Z | #ifndef FORECAST_H
#define FORECAST_H
#include "City.h"
#include <ctime>
#include <string>
namespace Weather
{
typedef int Temperature;
typedef unsigned int RainProbability;
enum CloudState
{
Sunny = 0, //Сонячно
PartialyCloud = 1, //Хмарно з проясненнями
Cloudy = 2, //Хмарно
HeavyCloudy... | 23.042254 | 57 | 0.674817 |
7a389960265a53e5e81d2655e9a5b5081d3bad25 | 2,916 | h | C | Samba/source/wmi/wmi.h | vnation/wmi-1.3.14 | 170c5af4501087ebf35833386ca1345fafed723b | [
"MIT"
] | null | null | null | Samba/source/wmi/wmi.h | vnation/wmi-1.3.14 | 170c5af4501087ebf35833386ca1345fafed723b | [
"MIT"
] | null | null | null | Samba/source/wmi/wmi.h | vnation/wmi-1.3.14 | 170c5af4501087ebf35833386ca1345fafed723b | [
"MIT"
] | null | null | null | #ifndef WMI_H_
#define WMI_H_
/*
WMI core functions
Copyright (C) Zenoss, Inc. 2008
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 opt... | 42.882353 | 81 | 0.751715 |
7a3ac73090a67263409f8820b5f58b0d3a797027 | 238 | h | C | QRest/QWrapper/QResponse/QCode/QMeasureCreg.h | CptKappa/qiskit-api-cpp | 0c8386d88f33d83a12fdf064e98b8c0b9076d011 | [
"Apache-2.0"
] | null | null | null | QRest/QWrapper/QResponse/QCode/QMeasureCreg.h | CptKappa/qiskit-api-cpp | 0c8386d88f33d83a12fdf064e98b8c0b9076d011 | [
"Apache-2.0"
] | 2 | 2019-02-08T13:33:40.000Z | 2019-04-01T14:49:21.000Z | QRest/QWrapper/QResponse/QCode/QMeasureCreg.h | CptKappa/qiskit-api-cpp | 0c8386d88f33d83a12fdf064e98b8c0b9076d011 | [
"Apache-2.0"
] | 1 | 2018-10-25T16:13:42.000Z | 2018-10-25T16:13:42.000Z | #ifndef QMEASURECREG_H_INCLUDED__
#define QMEASURECREG_H_INCLUDED__
namespace QRest
{
namespace QWrapper
{
class QMeasureCreg
{
public:
QMeasureCreg();
QMeasureCreg(int, int);
int line;
int bit;
};
}
}
#endif | 12.526316 | 33 | 0.689076 |
7a3ae49a53b9557a4ee6a33799129ad8cdb361ac | 239 | h | C | Tip Calculator/SettingsViewController.h | Omarrasheed/Tip-Calculator | b7c7ef93e3d47d50d37d52d065d84829f5b7dbaf | [
"Apache-2.0"
] | null | null | null | Tip Calculator/SettingsViewController.h | Omarrasheed/Tip-Calculator | b7c7ef93e3d47d50d37d52d065d84829f5b7dbaf | [
"Apache-2.0"
] | 1 | 2018-06-27T06:51:05.000Z | 2018-06-27T06:51:05.000Z | Tip Calculator/SettingsViewController.h | Omarrasheed/Tip-Calculator | b7c7ef93e3d47d50d37d52d065d84829f5b7dbaf | [
"Apache-2.0"
] | null | null | null | //
// SettingsViewController.h
// Tip Calculator
//
// Created by Omar Rasheed on 6/26/18.
// Copyright © 2018 Omar Rasheed. All rights reserved.
//
#import "ViewController.h"
@interface SettingsViewController : ViewController
@end
| 17.071429 | 55 | 0.723849 |
7a3c355afe51681f55107962c7ab136570f31909 | 759 | c | C | pyhand/kinematics/pinky_prox_root_y_1.c | jsupancic/libhand-public | da9b92fa5440d06fdd4ba72c2327c50c88a1d469 | [
"CC-BY-3.0"
] | 19 | 2015-11-28T03:49:10.000Z | 2021-04-12T13:19:26.000Z | pyhand/kinematics/pinky_prox_root_y_1.c | jsupancic/libhand-public | da9b92fa5440d06fdd4ba72c2327c50c88a1d469 | [
"CC-BY-3.0"
] | 4 | 2015-12-24T08:53:10.000Z | 2017-11-08T10:58:16.000Z | pyhand/kinematics/pinky_prox_root_y_1.c | jsupancic/libhand-public | da9b92fa5440d06fdd4ba72c2327c50c88a1d469 | [
"CC-BY-3.0"
] | 7 | 2015-12-16T05:27:22.000Z | 2020-08-24T07:59:29.000Z | /******************************************************************************
* Code generated with sympy 0.7.6 *
* *
* See http://www.sympy.org/ for more information. *
... | 42.166667 | 80 | 0.314888 |
7a3d19d11862d2474727df7e9e160a82a175bb73 | 1,021 | h | C | controlboard.h | zerm1234/ShowCase | 2cb83a47ad574bafb99798e369a7abf28a963522 | [
"Apache-2.0"
] | null | null | null | controlboard.h | zerm1234/ShowCase | 2cb83a47ad574bafb99798e369a7abf28a963522 | [
"Apache-2.0"
] | 2 | 2018-08-06T02:51:42.000Z | 2018-08-07T08:17:44.000Z | controlboard.h | zerm1234/ShowCase | 2cb83a47ad574bafb99798e369a7abf28a963522 | [
"Apache-2.0"
] | null | null | null | #ifndef CONTROLBOARD_H
#define CONTROLBOARD_H
#include <QWidget>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include "QtAwesome.h"
#include <QPushButton>
#include <QLabel>
#include <QSpinBox>
#include <QGroupBox>
#include "boundingbox.h"
class ControlBoard : public QWidget
{
Q_OBJECT
public:
explicit Con... | 18.907407 | 73 | 0.730656 |
7a45123079cbef0882313d8d18f5a85cf0fb1aa2 | 90 | h | C | manual/ree/src-compile/connect-to-ree-builder-group-node.h | Tikubonn/ree | 878f97513f89f90d43fa334cb50c46c911457931 | [
"MIT"
] | null | null | null | manual/ree/src-compile/connect-to-ree-builder-group-node.h | Tikubonn/ree | 878f97513f89f90d43fa334cb50c46c911457931 | [
"MIT"
] | null | null | null | manual/ree/src-compile/connect-to-ree-builder-group-node.h | Tikubonn/ree | 878f97513f89f90d43fa334cb50c46c911457931 | [
"MIT"
] | null | null | null | #include <ree.h>
extern int connect_to_ree_builder_group_node (ree_node*, ree_builder*);
| 22.5 | 71 | 0.8 |
7a469b630680087b77f473f4f4890b90c59c3a23 | 1,434 | h | C | libembroidery/emb-polyline.h | Drahflow/Embroidermodder | 5fe2bed6407845e9d183aee40095b3f778a5b559 | [
"Zlib"
] | 3 | 2017-05-18T13:57:43.000Z | 2018-08-13T14:56:33.000Z | libembroidery/emb-polyline.h | Drahflow/Embroidermodder | 5fe2bed6407845e9d183aee40095b3f778a5b559 | [
"Zlib"
] | null | null | null | libembroidery/emb-polyline.h | Drahflow/Embroidermodder | 5fe2bed6407845e9d183aee40095b3f778a5b559 | [
"Zlib"
] | null | null | null | /*! @file emb-polyline.h */
#ifndef EMB_POLYLINE_H
#define EMB_POLYLINE_H
#include "emb-color.h"
#include "emb-point.h"
#include "api-start.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct EmbPolylineObject_
{
EmbPointList* pointList;
/* Properties */
int lineType;
EmbColor... | 31.866667 | 134 | 0.783821 |
7a46ddd8dab61b64a2c6c3fbfdfd28579cbc04fb | 1,098 | c | C | src/drawable/block.c | pebble-hacks/block-world | e7534ad92e28d5f3c567026c231440bb13f49966 | [
"MIT"
] | 16 | 2015-03-06T18:30:06.000Z | 2021-03-08T22:08:06.000Z | src/drawable/block.c | pebble-hacks/block-world | e7534ad92e28d5f3c567026c231440bb13f49966 | [
"MIT"
] | 1 | 2015-08-03T14:58:28.000Z | 2015-08-03T14:58:28.000Z | src/drawable/block.c | pebble-hacks/block-world | e7534ad92e28d5f3c567026c231440bb13f49966 | [
"MIT"
] | 9 | 2015-03-07T03:50:21.000Z | 2021-03-08T22:08:09.000Z | #include "block.h"
Block* block_create(Vec3 vec, GSize size, GColor color) {
Block *this = (Block*)malloc(sizeof(Block));
this->position = vec;
this->size.w = size.w;
this->size.h = size.h;
this->color = color;
return this;
}
void block_destroy(Block *this) {
free(this);
}
void block_render(Block *thi... | 21.96 | 108 | 0.687614 |
7a46e07c28d65cefedd3f1d115dcccb7792f2dfe | 1,227 | h | C | source/scene/nckProcessor.h | nczeroshift/nctoolkit | c9f0be533843d52036ec45200512ac54c1faeb11 | [
"MIT"
] | 2 | 2016-10-16T22:26:01.000Z | 2022-03-29T14:32:15.000Z | source/scene/nckProcessor.h | nczeroshift/nctoolkit | c9f0be533843d52036ec45200512ac54c1faeb11 | [
"MIT"
] | 1 | 2015-12-08T00:27:10.000Z | 2016-10-30T21:59:50.000Z | source/scene/nckProcessor.h | nczeroshift/nctoolkit | c9f0be533843d52036ec45200512ac54c1faeb11 | [
"MIT"
] | 2 | 2016-07-18T21:42:10.000Z | 2019-12-16T01:33:20.000Z |
/**
* NCtoolKit © 2007-2017 Luís F.Loureiro, under zlib software license.
* https://github.com/nczeroshift/nctoolkit
*/
#ifndef NCK_PROCESSOR_H
#define NCK_PROCESSOR_H
#include "nckSceneConfig.h"
#include "nckGeometry.h"
#include "nckTexture.h"
#include "nckMaterial.h"
#include "nckObject.h"
#include "nckCamera.h... | 30.675 | 84 | 0.703341 |
7a489952c36097a029e7f1e7da1687cc5e2e0cc4 | 2,893 | c | C | source_code/CameraBoard/src/debug_gpio.c | mkokshoorn/Camera_Mounted_Bluetooth_Model_Car | b8bbac30aed520a8702ec18a7c80bce0ae9a8ab5 | [
"MIT"
] | 1 | 2019-05-20T09:14:56.000Z | 2019-05-20T09:14:56.000Z | source_code/CameraBoard/src/debug_gpio.c | mkokshoorn/Camera_Mounted_Bluetooth_Model_Car | b8bbac30aed520a8702ec18a7c80bce0ae9a8ab5 | [
"MIT"
] | null | null | null | source_code/CameraBoard/src/debug_gpio.c | mkokshoorn/Camera_Mounted_Bluetooth_Model_Car | b8bbac30aed520a8702ec18a7c80bce0ae9a8ab5 | [
"MIT"
] | 2 | 2021-04-30T13:51:22.000Z | 2021-08-06T09:21:47.000Z | /*
* debug_gpio.c
*
* Created on: May 19, 2013
* Author: mlk28, nbb23
*/
#include "debug_gpio.h"
void debug_gpio_init(void)
{
//Initiate Debug GPIO
GPIO_InitTypeDef GPIO_InitStructure;
//Initiate on Port A
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOA, ENABLE);
GPIO_InitStructure.GPIO_Pin = DEBUG... | 22.960317 | 63 | 0.795022 |
7a4c7dd38c5c4351502fb315a9e1c0b831b03141 | 769 | c | C | 3test.c | ramcn/flappie-x-cpp | 9fc19053aadd1782d0c064e6a2d8ff3d4236eca1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-01-16T17:15:21.000Z | 2020-01-16T17:15:21.000Z | 3test.c | ramcn/flappie-x-cpp | 9fc19053aadd1782d0c064e6a2d8ff3d4236eca1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | 3test.c | ramcn/flappie-x-cpp | 9fc19053aadd1782d0c064e6a2d8ff3d4236eca1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cblas.h>
#define NCols 5
#define Nrows 4
float A[] = { 8, 4, 7, 3, 5, 1, 1, 3, 2, 1, 2, 3, 2, 0, 1, 1 , 2, 3, 4, 1};
float x[] = { -1, 2, -1, 1, 2 };
float y[Nrows];
float alpha = 1.0, beta = 0.0;
char tbuf[1024];
int main() {
int i, j;
//... | 20.236842 | 94 | 0.53186 |
7a4e7e35af2e77a1553044d8b1dd6dbb7953c3f1 | 5,050 | h | C | src/libdbcppp/NetworkImpl.h | jgelinske/dbcppp | ce1b91a7dda0468ac27c6e15c290102bb052d4f8 | [
"MIT"
] | null | null | null | src/libdbcppp/NetworkImpl.h | jgelinske/dbcppp | ce1b91a7dda0468ac27c6e15c290102bb052d4f8 | [
"MIT"
] | null | null | null | src/libdbcppp/NetworkImpl.h | jgelinske/dbcppp | ce1b91a7dda0468ac27c6e15c290102bb052d4f8 | [
"MIT"
] | null | null | null |
#pragma once
#include <robin-map/tsl/robin_map.h>
#include "../../include/dbcppp/Network.h"
#include "BitTimingImpl.h"
#include "ValueTableImpl.h"
#include "MessageImpl.h"
#include "EnvironmentVariableImpl.h"
#include "SignalTypeImpl.h"
#include "AttributeDefinitionImpl.h"
#include "AttributeImpl.h"
namespace dbcppp... | 56.111111 | 138 | 0.700792 |
7a501bb3477032eccafc34a0ec05f6d7dd4a26e2 | 4,495 | c | C | II_semester/oop_1/U1/u1_oop.c | dainiusjocas/labs | 25aa0ae2032681dbaf0afd83f3d80bedddea6407 | [
"Beerware"
] | 1 | 2019-04-16T22:05:42.000Z | 2019-04-16T22:05:42.000Z | II_semester/oop_1/U1/u1_oop.c | dainiusjocas/labs | 25aa0ae2032681dbaf0afd83f3d80bedddea6407 | [
"Beerware"
] | null | null | null | II_semester/oop_1/U1/u1_oop.c | dainiusjocas/labs | 25aa0ae2032681dbaf0afd83f3d80bedddea6407 | [
"Beerware"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "u1_oop.h"
/*
* U1 uzduotis #30:
* Ivedamas surusiuotas masyvas ir ieskomas skaicius. Realizuoti dvejetaine paieska ir
* isvesti i ekrana pradini masyva, ieskoma reiksme ir masyvo indeksa, jei reiksme rasta.
* reiksme masyve negali kartotis.
*
* ... | 29.379085 | 101 | 0.625584 |
7a507d0bf414a3ef7b84c837e8b4ea99077ba990 | 2,656 | c | C | lab_103/3_rtos_application/src/CALC_thread.c | amob2536/embedded-computer-networks | d689fcd32b008198740c1d211f097985a76240c6 | [
"Apache-2.0"
] | null | null | null | lab_103/3_rtos_application/src/CALC_thread.c | amob2536/embedded-computer-networks | d689fcd32b008198740c1d211f097985a76240c6 | [
"Apache-2.0"
] | null | null | null | lab_103/3_rtos_application/src/CALC_thread.c | amob2536/embedded-computer-networks | d689fcd32b008198740c1d211f097985a76240c6 | [
"Apache-2.0"
] | null | null | null | /*
* data_generation_thread.c - adapted
*
* this is a thread that periodically generates some data and puts it in a
* mail queue
*
* author: Dr. Alex Shenfield
* date: 06/09/2018
* purpose: 55-604481 embedded computer networks : lab 103
*/
// include cmsis_os for the rtos api
#include "cmsis_os.h"... | 24.82243 | 85 | 0.694654 |
7a517711f78d8621a794b6aab162e29434cfa521 | 3,935 | c | C | src/class/tf_tensor.c | absalomedia/tensile | 34462288710a0dd009ed2930319ff07bee238c28 | [
"Apache-2.0"
] | 132 | 2016-08-01T05:43:19.000Z | 2022-03-16T04:07:03.000Z | src/class/tf_tensor.c | laogada/tensile | 34462288710a0dd009ed2930319ff07bee238c28 | [
"Apache-2.0"
] | 3 | 2017-02-23T06:58:55.000Z | 2019-02-28T13:57:16.000Z | src/class/tf_tensor.c | laogada/tensile | 34462288710a0dd009ed2930319ff07bee238c28 | [
"Apache-2.0"
] | 15 | 2017-08-18T10:21:04.000Z | 2021-08-30T09:37:59.000Z |
#include "tf_tensor.h"
// predefine
zend_class_entry *ce_TF_Tensor = NULL;
zend_object_handlers oh_TF_Tensor;
// methods
static PHP_METHOD(TensorFlow_Tensor, __construct);
static PHP_METHOD(TensorFlow_Tensor, __destruct);
static PHP_METHOD(TensorFlow_Tensor, getDtype);
// argument info
ZEND_BEGIN_ARG_INFO_EX(arginf... | 30.742188 | 110 | 0.663024 |
7a52eb05707b5e77fff92c9b281a8063e561e01a | 1,981 | c | C | src/verify.c | aws-samples/rainbow-with-gfni | 73855f5fd77085e00eb4b178818584712c172af8 | [
"Apache-2.0"
] | 3 | 2020-04-25T21:14:49.000Z | 2021-10-31T20:47:32.000Z | src/verify.c | aws-samples/rainbow-with-gfni | 73855f5fd77085e00eb4b178818584712c172af8 | [
"Apache-2.0"
] | null | null | null | src/verify.c | aws-samples/rainbow-with-gfni | 73855f5fd77085e00eb4b178818584712c172af8 | [
"Apache-2.0"
] | 2 | 2021-01-05T09:29:49.000Z | 2021-10-31T20:47:20.000Z | /*
* Copyright 2020 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" f... | 29.567164 | 119 | 0.666835 |
7a532c5d093911c588ad4cecba9a85f700da07af | 439 | h | C | FunctionInvocationParser.h | zpooky/cppmeta | 9554d82776d85a546f2c35012ec041860c149fb3 | [
"Apache-2.0"
] | null | null | null | FunctionInvocationParser.h | zpooky/cppmeta | 9554d82776d85a546f2c35012ec041860c149fb3 | [
"Apache-2.0"
] | null | null | null | FunctionInvocationParser.h | zpooky/cppmeta | 9554d82776d85a546f2c35012ec041860c149fb3 | [
"Apache-2.0"
] | null | null | null | #ifndef SP_CPP_META_FUNCTION_INVOCATION_PARSER_H
#define SP_CPP_META_FUNCTION_INVOCATION_PARSER_H
#include "ast.h"
#include "matcher.h"
namespace ast {
template <typename Iterator>
class FunctionInvocationParser
: public match::Base<FunctionInvocationAST, Iterator> {
using StepType = match::Step<Iterator>;
pu... | 19.086957 | 76 | 0.774487 |
7a553df444ee2757839a5a151d69c3fa2bf6950e | 625 | h | C | XMPP/J1-IM/J1-IM/Tool/UserOperation.h | Xcoder1011/OC_StudyDemo | 679610ba6aadb9e53d5ced0fb36b710d2b2cf338 | [
"MIT"
] | 2 | 2016-08-09T07:32:01.000Z | 2017-08-17T08:52:39.000Z | XMPP/J1-IM/J1-IM/Tool/UserOperation.h | Xcoder1011/OC_StudyDemo | 679610ba6aadb9e53d5ced0fb36b710d2b2cf338 | [
"MIT"
] | null | null | null | XMPP/J1-IM/J1-IM/Tool/UserOperation.h | Xcoder1011/OC_StudyDemo | 679610ba6aadb9e53d5ced0fb36b710d2b2cf338 | [
"MIT"
] | 2 | 2017-08-17T08:52:51.000Z | 2020-09-21T01:45:14.000Z | //
// UserOperation.h
// J1-IM
//
// Created by liang on 16/1/23.
// Copyright © 2016年 J1. All rights reserved.
//
#import <Foundation/Foundation.h>
//通过单例来保存用户基本信息
@interface UserOperation : NSObject
SingletonH(user);
@property (nonatomic,copy) NSString *username;
@property (nonatomic,copy) NSString *password;
@p... | 26.041667 | 54 | 0.7504 |
7a55830515aafff58030e49527c223b017f2c1af | 3,919 | h | C | statistics/statistics/distribution_statistics_population.h | petermchale/mutation_accumulation | f4bd9182619bae1b2e8fa95700540ee398c2bdd6 | [
"MIT"
] | 1 | 2018-09-09T10:02:52.000Z | 2018-09-09T10:02:52.000Z | statistics/statistics/distribution_statistics_population.h | petermchale/mutation_accumulation | f4bd9182619bae1b2e8fa95700540ee398c2bdd6 | [
"MIT"
] | null | null | null | statistics/statistics/distribution_statistics_population.h | petermchale/mutation_accumulation | f4bd9182619bae1b2e8fa95700540ee398c2bdd6 | [
"MIT"
] | null | null | null | #ifndef DISTRIBUTION_STATISTICS_POPULATION_H
#define DISTRIBUTION_STATISTICS_POPULATION_H
#include <mutation_accumulation/probability/sample_space.h> // probability::make_uniform_sample_space
#include <mutation_accumulation/configuration/utilities/population.h> // monte_carlo::calculate_population
#include <mutation_a... | 38.048544 | 135 | 0.646083 |
7a55f34d42d82febabcb4f1c07b1b04df8923434 | 449 | h | C | BarderKit/Views/WLVerifyCodeButton.h | joycelee720/BarderKit | aedfcf855819d95b0f423ba7fac85d5c8fefdab6 | [
"MIT"
] | null | null | null | BarderKit/Views/WLVerifyCodeButton.h | joycelee720/BarderKit | aedfcf855819d95b0f423ba7fac85d5c8fefdab6 | [
"MIT"
] | null | null | null | BarderKit/Views/WLVerifyCodeButton.h | joycelee720/BarderKit | aedfcf855819d95b0f423ba7fac85d5c8fefdab6 | [
"MIT"
] | null | null | null | //
// WLVerifyCodeButton.h
// WisdomLaundry
//
// Created by Joyce on 2019/3/15.
// Copyright © 2019 iLaundry. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void(^EndBlock)(void);
typedef void(^ProgressBlock)(NSInteger count);
NS_ASSUME_NONNULL_BEGIN
@interface WLVerifyCodeButton : UIButton
- (void)t... | 19.521739 | 108 | 0.768374 |
7a56b445b3b3223f759ae8f2cbaba3aaf28b2c8e | 1,409 | h | C | sys/walltime.h | mbrugman67/pilsner | 6a6d3dc1d60f7e50949fd26aab6c664df6bfea70 | [
"MIT"
] | null | null | null | sys/walltime.h | mbrugman67/pilsner | 6a6d3dc1d60f7e50949fd26aab6c664df6bfea70 | [
"MIT"
] | null | null | null | sys/walltime.h | mbrugman67/pilsner | 6a6d3dc1d60f7e50949fd26aab6c664df6bfea70 | [
"MIT"
] | null | null | null | /********************************************************
* walltime.h
********************************************************
* handle real-time clock management; setting, reading,
* timezone
*
* NOTE: The assumption here is that the wifi module
* is already set up and running. This just sends
* and receive... | 21.348485 | 95 | 0.580554 |
7a573cf0bce1432800e72ed1924e8a4b2fb180e4 | 776 | c | C | src/net_malloc.c | zhengfangxin/netengine | dc76a8bd2739f18cd1dfd927ddf78a947f0dd4f7 | [
"MIT"
] | 1 | 2017-03-19T13:38:34.000Z | 2017-03-19T13:38:34.000Z | src/net_malloc.c | zhengfangxin/netengine | dc76a8bd2739f18cd1dfd927ddf78a947f0dd4f7 | [
"MIT"
] | null | null | null | src/net_malloc.c | zhengfangxin/netengine | dc76a8bd2739f18cd1dfd927ddf78a947f0dd4f7 | [
"MIT"
] | null | null | null | #include "net_malloc.h"
#include "debug_malloc.h"
static fpmalloc *g_pmalloc = malloc;
static fprealloc *g_prealloc = realloc;
static fpfree *g_pfree = free;
void ng_set_malloc(fpmalloc *pmalloc, fprealloc *prealloc, fpfree *pfree)
{
if (NULL==pmalloc || NULL == prealloc || NULL == pfree) {
printf("set m... | 23.515152 | 74 | 0.664948 |
7a576d4c3a66e068f483cae996646eab28c40369 | 2,215 | h | C | deprecated/include/Graphics/Native/Buffer.h | Arzana/Plutonium | 5a17c93e5072ac291b96347a4df196e1609fabe2 | [
"MIT"
] | 4 | 2019-03-21T16:02:03.000Z | 2020-04-09T08:53:29.000Z | deprecated/include/Graphics/Native/Buffer.h | Arzana/Plutonium | 5a17c93e5072ac291b96347a4df196e1609fabe2 | [
"MIT"
] | 24 | 2018-04-06T08:25:17.000Z | 2020-10-19T11:01:09.000Z | deprecated/include/Graphics/Native/Buffer.h | Arzana/Plutonium | 5a17c93e5072ac291b96347a4df196e1609fabe2 | [
"MIT"
] | null | null | null | #pragma once
#include "BindTargets.h"
#include "BufferUsage.h"
#include "Core\SafeMemory.h"
#include "Graphics\Rendering\Attribute.h"
#include "Graphics\Native\Window.h"
namespace Plutonium
{
/* Defines a GPU side buffer. */
class Buffer
{
public:
/* Initializes a new instance of a GPU buffer. */
Buffer(_In_ W... | 29.144737 | 128 | 0.710158 |
7a594d3138fde794966d9e41d8073f83b25fed2c | 229 | h | C | Example/DDDAdMsgViewSdk/DDDADViewController.h | summerthread/DDDAdMsgViewSdk | 906d9af849b5e3621cccf7765afee802a3f0889d | [
"MIT"
] | null | null | null | Example/DDDAdMsgViewSdk/DDDADViewController.h | summerthread/DDDAdMsgViewSdk | 906d9af849b5e3621cccf7765afee802a3f0889d | [
"MIT"
] | null | null | null | Example/DDDAdMsgViewSdk/DDDADViewController.h | summerthread/DDDAdMsgViewSdk | 906d9af849b5e3621cccf7765afee802a3f0889d | [
"MIT"
] | null | null | null | //
// DDDADViewController.h
// DDDAdMsgViewSdk
//
// Created by summerthread on 09/01/2020.
// Copyright (c) 2020 summerthread. All rights reserved.
//
@import UIKit;
@interface DDDADViewController : UIViewController
@end
| 16.357143 | 57 | 0.729258 |
7a5a5c9d9950983e4794328a349b3e2671701328 | 394 | h | C | v3d_main/neuron_annotator/dev/TeapotActor.h | lens-biophotonics/v3d_external | 44ff3b60a297a96eaa77ca092e0de9af5c990ed3 | [
"MIT"
] | 39 | 2015-05-10T23:23:03.000Z | 2022-01-26T01:31:30.000Z | v3d_main/neuron_annotator/dev/TeapotActor.h | lens-biophotonics/v3d_external | 44ff3b60a297a96eaa77ca092e0de9af5c990ed3 | [
"MIT"
] | 13 | 2016-03-04T05:29:23.000Z | 2021-02-07T01:11:10.000Z | v3d_main/neuron_annotator/dev/TeapotActor.h | lens-biophotonics/v3d_external | 44ff3b60a297a96eaa77ca092e0de9af5c990ed3 | [
"MIT"
] | 44 | 2015-11-11T07:30:59.000Z | 2021-12-26T16:41:21.000Z | /*
* TeapotActor.h
*
* Created on: Nov 15, 2012
* Author: Christopher M. Bruns
*/
#ifndef TEAPOTACTOR_H_
#define TEAPOTACTOR_H_
#include "../render/ActorGL.h"
class TeapotActor : public ActorGL
{
public:
TeapotActor();
virtual ~TeapotActor();
virtual void initGL();
virtual void paintGL();
... | 15.153846 | 36 | 0.670051 |
7a5bc482c8b9307a0c399f7cd127d62497340fca | 9,389 | c | C | dir600b_v2.03/progs.gpl/dnrd-2.10/src/common.c | ghsecuritylab/DIR600B2 | 78510ce13e037c430c84b4cdc7f49939481fe894 | [
"BSD-2-Clause"
] | 1 | 2019-07-21T01:58:19.000Z | 2019-07-21T01:58:19.000Z | dir600b_v2.03/progs.gpl/dnrd-2.10/src/common.c | ghsecuritylab/DIR600B2 | 78510ce13e037c430c84b4cdc7f49939481fe894 | [
"BSD-2-Clause"
] | null | null | null | dir600b_v2.03/progs.gpl/dnrd-2.10/src/common.c | ghsecuritylab/DIR600B2 | 78510ce13e037c430c84b4cdc7f49939481fe894 | [
"BSD-2-Clause"
] | 2 | 2020-03-06T22:45:39.000Z | 2021-12-23T13:58:14.000Z | /* vi: set sw=4 ts=4: */
/*
* common.c - includes global variables and functions.
*
* Copyright (C) 1998 Brad M. Garcia <garsh@home.com>
*
* 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; ... | 21.436073 | 77 | 0.584301 |
7a5c0f49ddefa93322041efa51c9bae959c39114 | 2,811 | h | C | ArClock/image.h | Robinek70/MqClock | f7056a9cb6dd7aefc144ec22be54c8abdea671a5 | [
"CC0-1.0"
] | 1 | 2021-03-13T21:47:50.000Z | 2021-03-13T21:47:50.000Z | ArClock/image.h | Robinek70/MqClock | f7056a9cb6dd7aefc144ec22be54c8abdea671a5 | [
"CC0-1.0"
] | null | null | null | ArClock/image.h | Robinek70/MqClock | f7056a9cb6dd7aefc144ec22be54c8abdea671a5 | [
"CC0-1.0"
] | null | null | null | /*
* MqClock
*
* (c) Robert Pelczarski 2021
*/
#pragma once
#include <stdint.h>
void generate_image()
{
int iIndex = server.arg ("i").toInt();
const auto &iconData = icons[iIndex];
//auto bitmap = reinterpret_cast<uint8_t *> (malloc (14+40 + 3*8*8 + 4));
unsigned char file[14] = {
'B... | 27.831683 | 77 | 0.525436 |
7a5f79259ec41a42637978386070b7a208f4e44c | 554 | h | C | software/SDK/board/ak80x_adv/hal/hal_types.h | tuya/Tuya_IoTOS_Beacon_SDK_AK80x | d77f94259719d4a250eed19c2b3da5e55cf688e3 | [
"MIT"
] | 5 | 2021-08-09T05:59:30.000Z | 2022-01-13T03:08:07.000Z | software/SDK/board/ak80x_adv/hal/hal_types.h | tuya/Tuya_IoTOS_Beacon_SDK_AK80x | d77f94259719d4a250eed19c2b3da5e55cf688e3 | [
"MIT"
] | null | null | null | software/SDK/board/ak80x_adv/hal/hal_types.h | tuya/Tuya_IoTOS_Beacon_SDK_AK80x | d77f94259719d4a250eed19c2b3da5e55cf688e3 | [
"MIT"
] | 5 | 2021-07-06T02:33:23.000Z | 2022-03-21T08:32:01.000Z | /*************************************************************************
> File Name: hal_types.h
> Author:
> Mail:
> Created Time: Wed 03 Jul 2019 22:04:56 CST
************************************************************************/
#ifndef _HAL_TYPES_H
#define _HAL_TYPES_H
/*
* type def
*/
... | 19.785714 | 75 | 0.463899 |
7a61131dbba911ce94240fdafd6a6c09bf333dbe | 31,941 | c | C | sdk-6.5.20/src/examples/sand/cint_ipv6_fap_basic.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/examples/sand/cint_ipv6_fap_basic.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/examples/sand/cint_ipv6_fap_basic.c | 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.
*
* IPv6 Example script
*/
/*
the cint creates four UC IPV6 entries and one MC IPV6 entry.
run:
cint ../sand/ut... | 36.462329 | 187 | 0.650293 |
7a64616f3c5e74f9a6844d0b476a0942e4a4111f | 1,374 | c | C | src/rss.c | ecat/bart | 924f440abf855bae1b28d66c10ed6b37c3ebb2b0 | [
"BSD-3-Clause"
] | 189 | 2015-10-28T15:36:23.000Z | 2022-03-27T10:30:17.000Z | src/rss.c | ecat/bart | 924f440abf855bae1b28d66c10ed6b37c3ebb2b0 | [
"BSD-3-Clause"
] | 158 | 2015-11-17T18:55:08.000Z | 2022-02-15T15:36:44.000Z | src/rss.c | ecat/bart | 924f440abf855bae1b28d66c10ed6b37c3ebb2b0 | [
"BSD-3-Clause"
] | 153 | 2015-10-25T02:30:45.000Z | 2022-03-28T07:03:34.000Z | /* Copyright 2013. The Regents of the University of California.
* All rights reserved. Use of this source code is governed by
* a BSD-style license which can be found in the LICENSE file.
*
* Authors:
* 2012 Martin Uecker <uecker@eecs.berkeley.edu.
*/
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h... | 19.628571 | 94 | 0.688501 |
7a66269748f42776a93b0cd0467840fdb2742e21 | 1,537 | c | C | Estruturas/Queue/queue.c | Daviqalb07/Estruturas-de-Dados | 485b447402eef347d95087a1acee9a772a14043a | [
"MIT"
] | null | null | null | Estruturas/Queue/queue.c | Daviqalb07/Estruturas-de-Dados | 485b447402eef347d95087a1acee9a772a14043a | [
"MIT"
] | null | null | null | Estruturas/Queue/queue.c | Daviqalb07/Estruturas-de-Dados | 485b447402eef347d95087a1acee9a772a14043a | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "queue.h"
Queue constructQueue(){
Queue *fila = (Queue*)malloc(sizeof(Queue));
fila->front = NULL;
fila->back = NULL;
return *fila;
}
bool emptyQueue(Queue fila){
if(fila.front == NULL) return true;
return false;
}
vo... | 19.455696 | 77 | 0.545869 |
7a68962890e9a4700fc5f63404376a76eac18647 | 746 | h | C | sorting_algorithms/countingSort.h | mumtozee/MSTL_custom | dc7834bea73cde716f2da4c2ac6771572f44b9d5 | [
"MIT"
] | 4 | 2020-03-12T16:59:45.000Z | 2020-03-30T17:49:43.000Z | sorting_algorithms/countingSort.h | mumtozee/MSTL_custom | dc7834bea73cde716f2da4c2ac6771572f44b9d5 | [
"MIT"
] | null | null | null | sorting_algorithms/countingSort.h | mumtozee/MSTL_custom | dc7834bea73cde716f2da4c2ac6771572f44b9d5 | [
"MIT"
] | null | null | null | #ifndef COUNTINGSORT_H
#define COUNTINGSORT_H
#include <algorithm>
template <class T> // only integral types
void CountingSort(T* arr, const size_t N) {
T max = *std::max_element(arr, arr + N);
T min = *std::min_element(arr, arr + N);
size_t range = max - min + 1;
T* output = new T[N];
auto* coun... | 21.314286 | 49 | 0.529491 |
7a68a100b65bfe7cc14110f9eef178a8199fe010 | 640 | h | C | Source/PluginGameObject_All/CGameObjectGasPipeCurve.h | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 3 | 2019-04-12T15:22:53.000Z | 2022-01-05T02:59:56.000Z | Source/PluginGameObject_All/CGameObjectGasPipeCurve.h | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | null | null | null | Source/PluginGameObject_All/CGameObjectGasPipeCurve.h | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 2 | 2019-04-10T22:46:21.000Z | 2020-05-27T16:21:37.000Z | #ifndef __CGAMEOBJECTGASPIPECURVE_H__
#define __CGAMEOBJECTGASPIPECURVE_H__
#include "CGameObject.h"
#include "Plugins/IGameObjectFactory.h"
namespace Core
{
namespace Plugin
{
class CGameObjectGasPipeCurve : public CGameObject
{
public:
CGameObjectGasPipeCurve(const char* Name, Vector3& Pos);
~CGameObjectGasP... | 19.393939 | 65 | 0.7875 |
7a696b757d5b3d619a7eb686ff35f45b42b9e495 | 3,122 | c | C | kernel/nvgpu/drivers/gpu/nvgpu/os/posix/rwsem.c | rubedos/l4t_R32.5.1_viper | 6aed0062084d9031546f946e63fc74303555e0a6 | [
"MIT"
] | null | null | null | kernel/nvgpu/drivers/gpu/nvgpu/os/posix/rwsem.c | rubedos/l4t_R32.5.1_viper | 6aed0062084d9031546f946e63fc74303555e0a6 | [
"MIT"
] | null | null | null | kernel/nvgpu/drivers/gpu/nvgpu/os/posix/rwsem.c | rubedos/l4t_R32.5.1_viper | 6aed0062084d9031546f946e63fc74303555e0a6 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2018, NVIDIA CORPORATION. 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 restriction, including without limitation
* the rights to us... | 26.457627 | 77 | 0.714286 |
7a6b9408a14022202e681a428ee342bc8781fb48 | 4,677 | c | C | lang/C/sql-based-authentication.c | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 2 | 2017-06-10T14:21:53.000Z | 2017-06-26T18:52:29.000Z | lang/C/sql-based-authentication.c | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C/sql-based-authentication.c | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <time.h>
#include <mysql.h>
#include <openssl/md5.h>
void end_with_db(void);
MYSQL *mysql = NULL; // global...
bool connect_db(const char *host, const char *user, const char *pwd,
const char *db, unsigned int port)
{
if ( m... | 26.725714 | 79 | 0.639085 |
7a7824fd2c2b5ae07f8c9374ce62dbdf05b4b6f0 | 1,857 | c | C | OPERATORS/LOAD_CSV/src/DEPRECATED/set_up_qtypes.c | subramon/qlu | 2fb8a2b3636dd11e2dfeae2a6477bd130316da47 | [
"MIT"
] | null | null | null | OPERATORS/LOAD_CSV/src/DEPRECATED/set_up_qtypes.c | subramon/qlu | 2fb8a2b3636dd11e2dfeae2a6477bd130316da47 | [
"MIT"
] | 7 | 2020-07-29T16:48:25.000Z | 2020-09-26T23:47:22.000Z | OPERATORS/LOAD_CSV/src/DEPRECATED/set_up_qtypes.c | subramon/qlu | 2fb8a2b3636dd11e2dfeae2a6477bd130316da47 | [
"MIT"
] | 1 | 2015-05-14T22:34:13.000Z | 2015-05-14T22:34:13.000Z | //START_INCLUDES
#include "q_incs.h"
//STOP_INCLUDES
#include "_set_up_qtypes.h"
// set up qtypes -- convert from strings to enum
//START_FUNC_DECL
int set_up_qtypes(
char **fldtypes, // [nC] input
uint32_t nC,
bool *is_load, // [nC]
bool **ptr_is_trim, // [nC]
qtype_type **ptr_qtypes // [nC] ou... | 26.913043 | 62 | 0.554658 |
7a788e31a070e2a9ad20811f0d48e5884045526e | 4,113 | h | C | WSEExternal/include/Common/Serialize/Util/hkRootLevelContainer.h | Swyter/wse | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | [
"WTFPL"
] | null | null | null | WSEExternal/include/Common/Serialize/Util/hkRootLevelContainer.h | Swyter/wse | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | [
"WTFPL"
] | null | null | null | WSEExternal/include/Common/Serialize/Util/hkRootLevelContainer.h | Swyter/wse | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | [
"WTFPL"
] | null | null | null | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets... | 38.801887 | 247 | 0.721128 |
7a79873f8ab8ce39e79019d86ab77f5cd6fc04d6 | 1,914 | h | C | src/raw_socket_interface.h | google/libgep | 7f30a4c5c3a2887b8451994d11747f84cbee7e05 | [
"Apache-2.0"
] | 58 | 2016-02-19T21:02:04.000Z | 2021-12-14T12:07:19.000Z | src/raw_socket_interface.h | google/libgep | 7f30a4c5c3a2887b8451994d11747f84cbee7e05 | [
"Apache-2.0"
] | null | null | null | src/raw_socket_interface.h | google/libgep | 7f30a4c5c3a2887b8451994d11747f84cbee7e05 | [
"Apache-2.0"
] | 25 | 2016-02-19T02:34:38.000Z | 2021-10-13T06:08:23.000Z | // Copyright Google Inc. Apache 2.0.
#ifndef _RAW_SOCKET_INTERFACE_H_
#define _RAW_SOCKET_INTERFACE_H_
#include <stddef.h>
#include <stdint.h> // for int64_t
#include <sys/types.h>
#include <sys/socket.h>
class RawSocketInterface {
public:
virtual ~RawSocketInterface() = default;
virtual int Socket(int domain... | 34.178571 | 80 | 0.672414 |
7a7f2f62cac0dbaf5ed530eda610a93685413510 | 3,054 | h | C | src/mongo/executor/async_request_executor.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/executor/async_request_executor.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/executor/async_request_executor.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2020-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 38.175 | 100 | 0.723969 |
7a7f9a3b4b6914e9e78b514b2730989510f1206d | 941 | h | C | include/Nephilim/Game/BaseScriptInterface.h | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 19 | 2015-12-19T11:15:57.000Z | 2022-03-09T11:22:11.000Z | include/Nephilim/Game/BaseScriptInterface.h | DevilWithin/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 1 | 2017-05-17T09:31:10.000Z | 2017-05-19T17:01:31.000Z | include/Nephilim/Game/BaseScriptInterface.h | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 3 | 2015-12-14T17:40:26.000Z | 2021-02-25T00:42:42.000Z | #ifndef NephilimBaseScriptInterface_h__
#define NephilimBaseScriptInterface_h__
#include <Nephilim/Platform.h>
NEPHILIM_NS_BEGIN
/**
\class BaseScriptInterface
\brief Base class for scripting engines
This class is the base class for different scripting engines.
In order to implement support for a new language i... | 28.515152 | 68 | 0.821467 |
a369e53db059f19f59d91a29e86d3264f2f0d65d | 4,780 | c | C | src/efr32/efr32_i2c_com.c | marticervia/wurctc-framework | 05e0859f5bb27a086d0c9246324b2c00d03f9a88 | [
"MIT"
] | null | null | null | src/efr32/efr32_i2c_com.c | marticervia/wurctc-framework | 05e0859f5bb27a086d0c9246324b2c00d03f9a88 | [
"MIT"
] | null | null | null | src/efr32/efr32_i2c_com.c | marticervia/wurctc-framework | 05e0859f5bb27a086d0c9246324b2c00d03f9a88 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2020 marticervia
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, di... | 29.325153 | 150 | 0.769665 |
a369e7883c984704985bd3e405c51aa9fa5cf599 | 1,480 | h | C | src/common/io/fdWrite.h | pgmasters/pgbackrest | 665da12ae7f519077512e60ce3a5ec6c6a9997fd | [
"MIT"
] | 1,094 | 2016-04-17T19:41:53.000Z | 2022-03-31T01:48:40.000Z | src/common/io/fdWrite.h | pgmasters/pgbackrest | 665da12ae7f519077512e60ce3a5ec6c6a9997fd | [
"MIT"
] | 1,533 | 2016-04-16T20:38:46.000Z | 2022-03-30T06:55:38.000Z | src/common/io/fdWrite.h | pgmasters/pgbackrest | 665da12ae7f519077512e60ce3a5ec6c6a9997fd | [
"MIT"
] | 148 | 2016-04-17T06:11:45.000Z | 2022-03-09T16:27:01.000Z | /***********************************************************************************************************************************
File Descriptor Io Write
Write to a file descriptor using the IoWrite interface.
*********************************************************************************************************... | 44.848485 | 132 | 0.357432 |
a36a2b91b803ef894e5d6b5e791e583fdc5db195 | 2,350 | h | C | scripts/static_relyzer/src/program.h | ma3mool/Approxilyzer | e05a38d0222cd31a59c8fb49ac7078eacfce7494 | [
"Ruby"
] | 4 | 2017-02-25T13:17:35.000Z | 2021-04-27T06:30:24.000Z | scripts/static_relyzer/src/program.h | ma3mool/Approxilyzer | e05a38d0222cd31a59c8fb49ac7078eacfce7494 | [
"Ruby"
] | null | null | null | scripts/static_relyzer/src/program.h | ma3mool/Approxilyzer | e05a38d0222cd31a59c8fb49ac7078eacfce7494 | [
"Ruby"
] | 4 | 2017-03-19T02:13:45.000Z | 2019-12-20T05:37:49.000Z | #ifndef PROGRAM_H
#define PROGRAM_H
#include <string>
#include <vector>
#include <map>
#include "instruction.h"
#include "cfg.h"
#include "bb.h"
#include "config.h"
class instruction_t;
class cfg_t;
class bb_t;
class program_t {
std::vector<instruction_t> program; // a program is a list of instructions
std::map<s... | 28.313253 | 124 | 0.759574 |
a36a629b1c60a1fcd61fab7acbdcc80a62533215 | 598 | c | C | URI/1 - INICIANTE/C/2028 - SequenciaDeSequencia.c | william-james-pj/LogicaProgramacao | 629f746e34da2e829dc7ea2e489ac36bb1b1fb13 | [
"MIT"
] | 1 | 2020-04-14T16:48:16.000Z | 2020-04-14T16:48:16.000Z | URI/1 - INICIANTE/C/2028 - SequenciaDeSequencia.c | william-james-pj/LogicaProgramacao | 629f746e34da2e829dc7ea2e489ac36bb1b1fb13 | [
"MIT"
] | null | null | null | URI/1 - INICIANTE/C/2028 - SequenciaDeSequencia.c | william-james-pj/LogicaProgramacao | 629f746e34da2e829dc7ea2e489ac36bb1b1fb13 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(){
int num, cont = 0, y, z, caso = 0;
while(scanf(" %d", &num) != EOF){
cont = 1;
caso ++;
for(y = 0; y < num+1; y++){
for(z = 0; z < y; z++){
cont++;
}
}
if(cont == 1){
printf("Caso %d: %d numero\n",caso , cont);
}else{
printf("Caso %d: %d numeros\n",caso , ... | 15.333333 | 47 | 0.406355 |
a36b43d33d99ae37dbc499aa7ae66340e521f674 | 4,373 | h | C | istool/source/MyListView.h | KrinkelsTeam/istool | 544cfb9c180cc746e90a9e5cc2e56b60f709ff82 | [
"BSD-3-Clause"
] | 3 | 2021-06-02T05:39:45.000Z | 2021-09-02T03:29:43.000Z | istool/source/MyListView.h | YURSHAT/istool | 544cfb9c180cc746e90a9e5cc2e56b60f709ff82 | [
"BSD-3-Clause"
] | null | null | null | istool/source/MyListView.h | YURSHAT/istool | 544cfb9c180cc746e90a9e5cc2e56b60f709ff82 | [
"BSD-3-Clause"
] | 1 | 2021-09-02T03:29:47.000Z | 2021-09-02T03:29:47.000Z | #pragma once
#include "MyView.h"
typedef struct {
LPCTSTR m_pszParameter;
UINT m_nFormat;
UINT m_nWidth;
DWORD m_dwFlags;
} CListInfo;
enum {
CLI_HIDE = 1, // Default hidden
};
/////////////////////////////////////////////////////////////////////////////
// CMyListView view
class CMyListView : public CWin... | 36.747899 | 99 | 0.72193 |
a36c516680459b090785a0a14902ffa6e9b0de8c | 849 | h | C | Developer/Library/Frameworks/InterfaceBuilderKit/IBTargetRuntime.h | cameroncooke/XcodeHeaders | be955d30b5fc62c4312b354045b4561d164ebd9c | [
"MIT"
] | 1 | 2016-03-30T10:07:37.000Z | 2016-03-30T10:07:37.000Z | Developer/Library/Frameworks/InterfaceBuilderKit/IBTargetRuntime.h | cameroncooke/XcodeHeaders | be955d30b5fc62c4312b354045b4561d164ebd9c | [
"MIT"
] | null | null | null | Developer/Library/Frameworks/InterfaceBuilderKit/IBTargetRuntime.h | cameroncooke/XcodeHeaders | be955d30b5fc62c4312b354045b4561d164ebd9c | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSString;
@interface IBTargetRuntime : NSObject
{
NSString *integratingPluginIdentifier;
}
+ (id)fallbackTargetRuntime;
+ (void)setLastActiveTarge... | 23.583333 | 83 | 0.759717 |
a3713ef18c1be58a770751685d24a114afc0fbd8 | 3,850 | c | C | package/uboot-rockchip/src/board/friendlyarm/nanopi4/hwrev.c | Zokormazo/OpenWrt-NanoPi-R2S-R4S-Builds | 011c5ead5ab3ece50495bab49dc29d6aab89b283 | [
"MIT"
] | 1 | 2021-08-20T18:01:52.000Z | 2021-08-20T18:01:52.000Z | package/uboot-rockchip/src/board/friendlyarm/nanopi4/hwrev.c | Zokormazo/OpenWrt-NanoPi-R2S-R4S-Builds | 011c5ead5ab3ece50495bab49dc29d6aab89b283 | [
"MIT"
] | null | null | null | package/uboot-rockchip/src/board/friendlyarm/nanopi4/hwrev.c | Zokormazo/OpenWrt-NanoPi-R2S-R4S-Builds | 011c5ead5ab3ece50495bab49dc29d6aab89b283 | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2020 FriendlyElec Computer Tech. Co., Ltd.
* (http://www.friendlyarm.com)
*/
#include <common.h>
#include <dm.h>
#include <linux/delay.h>
#include <log.h>
#include <asm/io.h>
#include <asm/gpio.h>
#include <asm/arch-rockchip/gpio.h>
/*
* ID info:
* ID : Vo... | 20.698925 | 59 | 0.585714 |
a3723eb3ee41eb0030f4bfbd81117a3b93a7a8df | 697 | h | C | widgets/secondary/loginwidget.h | leafo/itchio-app-old | 26905e6805641ba200d76a2ec6ac781533459000 | [
"MIT"
] | 5 | 2015-11-05T17:44:51.000Z | 2022-02-17T01:02:04.000Z | widgets/secondary/loginwidget.h | leafo/itchio-app-old | 26905e6805641ba200d76a2ec6ac781533459000 | [
"MIT"
] | null | null | null | widgets/secondary/loginwidget.h | leafo/itchio-app-old | 26905e6805641ba200d76a2ec6ac781533459000 | [
"MIT"
] | null | null | null | #ifndef LOGINWIDGET_H
#define LOGINWIDGET_H
#include <QWidget>
#include "appcontroller.h"
#include "appsettings.h"
namespace Ui
{
class LoginWidget;
}
class LoginWidget : public QWidget
{
Q_OBJECT
public:
explicit LoginWidget(QWidget* const parent, AppController* const controller);
~LoginWidget();
pri... | 18.342105 | 81 | 0.74462 |
a3745cca848131c0e309b630a3624581dc6c65ad | 1,098 | h | C | pos-list-mutators.h | auerlab/vcfio | 5f4a544c3677d67c65a656b940901efad4360705 | [
"BSD-2-Clause"
] | null | null | null | pos-list-mutators.h | auerlab/vcfio | 5f4a544c3677d67c65a656b940901efad4360705 | [
"BSD-2-Clause"
] | 1 | 2020-02-05T17:06:35.000Z | 2020-02-05T21:45:09.000Z | pos-list-mutators.h | auerlab/vcfio | 5f4a544c3677d67c65a656b940901efad4360705 | [
"BSD-2-Clause"
] | null | null | null |
/*
* Generated by /usr/local/bin/auto-gen-get-set
*
* Mutator functions for setting with no sanity checking. Use these to
* set structure members from functions outside the bl_pos_list_t
* class. These macros perform no data validation. Hence, they achieve
* maximum performance where data are guaranteed ... | 49.909091 | 109 | 0.795993 |
a37585594dae5172bd66f21c93cc78e43d90e9da | 1,235 | h | C | SDWebImageKit/SDWebImageKit.h | kmonaghan/CBPExtensionExample | 1fe4b56fae43e4ee1e1aff47172ef167fe76c1e4 | [
"MIT"
] | 6 | 2015-04-03T02:04:35.000Z | 2019-06-11T05:15:50.000Z | SDWebImageKit/SDWebImageKit.h | kmonaghan/CBPExtensionExample | 1fe4b56fae43e4ee1e1aff47172ef167fe76c1e4 | [
"MIT"
] | null | null | null | SDWebImageKit/SDWebImageKit.h | kmonaghan/CBPExtensionExample | 1fe4b56fae43e4ee1e1aff47172ef167fe76c1e4 | [
"MIT"
] | null | null | null | //
// SDWebImageKit.h
// SDWebImageKit
//
// Created by Karl Monaghan on 15/06/2014.
// Copyright (c) 2014 Crayons and Brown Paper. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for SDWebImageKit.
FOUNDATION_EXPORT double SDWebImageKitVersionNumber;
//! Project version string for SDW... | 36.323529 | 138 | 0.809717 |
a37a6d0c8222ec5d3f9639ad7d58c83c8a153fb5 | 2,640 | h | C | pxr/imaging/lib/hd/repr.h | navefx/YuksUSD | 56c2e1def36ee07121f4ecb349c1626472b3c338 | [
"AML"
] | 6 | 2018-08-26T13:27:22.000Z | 2021-08-14T23:57:38.000Z | pxr/imaging/lib/hd/repr.h | navefx/YuksUSD | 56c2e1def36ee07121f4ecb349c1626472b3c338 | [
"AML"
] | 1 | 2021-08-14T23:57:51.000Z | 2021-08-14T23:57:51.000Z | pxr/imaging/lib/hd/repr.h | navefx/YuksUSD | 56c2e1def36ee07121f4ecb349c1626472b3c338 | [
"AML"
] | 4 | 2018-06-14T18:14:59.000Z | 2021-09-13T22:20:50.000Z | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 26.938776 | 78 | 0.694318 |
a37b4cbfd2e95328cd9b06c923fbd1061a0c690f | 346 | c | C | UVA/10014 - Simple calculations.c | knroy/Competitive-Programming | 5c03b1f4d15bdd1d4ba30a39464b42a7ded59e29 | [
"Apache-2.0"
] | null | null | null | UVA/10014 - Simple calculations.c | knroy/Competitive-Programming | 5c03b1f4d15bdd1d4ba30a39464b42a7ded59e29 | [
"Apache-2.0"
] | null | null | null | UVA/10014 - Simple calculations.c | knroy/Competitive-Programming | 5c03b1f4d15bdd1d4ba30a39464b42a7ded59e29 | [
"Apache-2.0"
] | 1 | 2019-08-07T15:26:19.000Z | 2019-08-07T15:26:19.000Z | #include <stdio.h>
int main()
{
int i,j,n,t;
double a,b,c,sum;
scanf("%d",&n);
for(i=1; i<=n; i++)
{
scanf("%d",&t);
for(j=1; j<=t; j++)
{
scanf("%lf %lf %lf", &a,&b,&c);
sum = (a+b)/2 - c;
printf("%.2lf\n", sum);
}
... | 17.3 | 44 | 0.317919 |
a381a0a50939016fccb6ea00bf9f0c24c5168bc7 | 1,133 | h | C | src/common/FPSTimer.h | kainino0x/aquarium | 1ed3ec6df059847267152c6bdbea78cbe4bd06f7 | [
"BSD-3-Clause"
] | null | null | null | src/common/FPSTimer.h | kainino0x/aquarium | 1ed3ec6df059847267152c6bdbea78cbe4bd06f7 | [
"BSD-3-Clause"
] | null | null | null | src/common/FPSTimer.h | kainino0x/aquarium | 1ed3ec6df059847267152c6bdbea78cbe4bd06f7 | [
"BSD-3-Clause"
] | null | null | null | //
// Copyright (c) 2019 The Aquarium Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// FPSTimer.h: Define fps timer.
#pragma once
#ifndef FPS_TIMER
#define FPS_TIMER 1
#include <vector>
constexpr int NUM_F... | 26.97619 | 80 | 0.721977 |
a382269a63e0b084c387a5931dd3b89bde0d2dc6 | 339 | h | C | hero.h | SAE-Geneve/classylabyrinth-FlorianRossignol | 5f3a3925ce7caf28a8214ab83da7e794d898b4bf | [
"MIT"
] | null | null | null | hero.h | SAE-Geneve/classylabyrinth-FlorianRossignol | 5f3a3925ce7caf28a8214ab83da7e794d898b4bf | [
"MIT"
] | null | null | null | hero.h | SAE-Geneve/classylabyrinth-FlorianRossignol | 5f3a3925ce7caf28a8214ab83da7e794d898b4bf | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include "character.h"
class Hero : public Character
{
public:
Hero();
std::string name = "Hero";
void Print();
int GetHealthPoints();
int Getattack();
int Getdefence();
int Getx();
int Gety();
int Get_hero();
protected:
int max_health_points_;
int experience_= 0;
int he... | 14.73913 | 29 | 0.684366 |
a38261845495f8edf3b5deb1f5f2c8fc9682fc5e | 369 | c | C | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/aarch64/noplt_3.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/aarch64/noplt_3.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/aarch64/noplt_3.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | /* { dg-do compile } */
/* { dg-options "-O2 -fpic -fno-plt" } */
/* { dg-skip-if "-mcmodel=large, no support for -fpic" { aarch64-*-* } { "-mcmodel=large" } { "" } } */
int dec (int);
int
cal (int a)
{
return dec (a);
}
void
cal_novalue (int a)
{
dec (a);
}
/* { dg-final { scan-assembler-times "br\t" 2 } } */... | 17.571429 | 104 | 0.523035 |
a383fed303bb5e0fe3f7b79f51df1cd4b64f4433 | 1,446 | h | C | metagen/meta_gincugatlasrender.h | wqking/gincu | dd9d83cc75561d873fc396d009436ba07219ff4d | [
"Apache-2.0"
] | 51 | 2017-02-01T14:50:03.000Z | 2022-01-14T11:19:51.000Z | metagen/meta_gincugatlasrender.h | wqking/gincu | dd9d83cc75561d873fc396d009436ba07219ff4d | [
"Apache-2.0"
] | null | null | null | metagen/meta_gincugatlasrender.h | wqking/gincu | dd9d83cc75561d873fc396d009436ba07219ff4d | [
"Apache-2.0"
] | 9 | 2018-07-20T07:47:39.000Z | 2020-10-31T16:26:08.000Z | // Auto generated file, don't modify.
#ifndef CPGF_META_GINCUGATLASRENDER_H
#define CPGF_META_GINCUGATLASRENDER_H
#include "cpgf/gmetadefine.h"
#include "cpgf/metadata/gmetadataconfig.h"
#include "cpgf/metadata/private/gmetadata_header.h"
#include "cpgf/gmetapolicy.h"
using namespace gincu;
namespace meta_gincu ... | 25.821429 | 150 | 0.735131 |
a386f4e9a6c59a77a6c535b3593bc90dc2d98415 | 2,141 | h | C | src/storm/graphics/cFontManager.h | master312/quantum-kidney | 042e97e9a9998be4fc062eb703c51141ea7bd2e4 | [
"MIT"
] | null | null | null | src/storm/graphics/cFontManager.h | master312/quantum-kidney | 042e97e9a9998be4fc062eb703c51141ea7bd2e4 | [
"MIT"
] | null | null | null | src/storm/graphics/cFontManager.h | master312/quantum-kidney | 042e97e9a9998be4fc062eb703c51141ea7bd2e4 | [
"MIT"
] | null | null | null | //Created by Petar Ostojic
//Fri Feb 20 02:57:05 2015
//This is template class for font manager
#include "../defines.h"
#include "cTextureManager.h"
#include "../fLogs.h"
#include "sFont.h"
#include <map>
#include <SDL2/SDL_ttf.h>
#include <vector>
#ifndef CFONTMANAGER_H
#define CFONTMANAGER_H
/* TODO:
* OPTIMISE GetTe... | 31.028986 | 77 | 0.729566 |
a38c6b4fa5dd3ca0edab20cfe4dae0025f9eda68 | 447 | c | C | examples/others/monkey/lv_example_monkey_1.c | ggvl/lvgl | d56ce08782852ff274141f69271464da87de96bc | [
"MIT"
] | 3,531 | 2017-04-30T23:37:31.000Z | 2020-05-17T20:10:12.000Z | examples/others/monkey/lv_example_monkey_1.c | ggvl/lvgl | d56ce08782852ff274141f69271464da87de96bc | [
"MIT"
] | 1,433 | 2016-12-15T19:16:26.000Z | 2020-05-18T09:03:58.000Z | examples/others/monkey/lv_example_monkey_1.c | ggvl/lvgl | d56ce08782852ff274141f69271464da87de96bc | [
"MIT"
] | 900 | 2016-06-27T08:44:07.000Z | 2020-05-17T15:14:34.000Z | #include "../../lv_examples.h"
#if LV_USE_MONKEY && LV_BUILD_EXAMPLES
void lv_example_monkey_1(void)
{
/*Create pointer monkey test*/
lv_monkey_config_t config;
lv_monkey_config_init(&config);
config.type = LV_INDEV_TYPE_POINTER;
config.period_range.min = 10;
config.period_range.max = 100;
... | 23.526316 | 53 | 0.713647 |
a38c72772ce75f4659c50378c8d16c4098ec2b6c | 776 | h | C | u-boot-2009.08/board/keymile/common/common.h | isabella232/wireless-media-drive | ab09fbd1194c8148131cf0a37425419253a137b0 | [
"Apache-2.0"
] | 10 | 2015-02-28T21:05:37.000Z | 2021-09-16T04:57:27.000Z | uboot/u-boot-2010.06/board/keymile/common/common.h | donginhb/SUDA_3518E | cfad829ecd574ffe5e8c59c96ffad5c1e1bf5fa4 | [
"Apache-2.0"
] | 1 | 2021-02-24T05:16:58.000Z | 2021-02-24T05:16:58.000Z | uboot/u-boot-2010.06/board/keymile/common/common.h | donginhb/SUDA_3518E | cfad829ecd574ffe5e8c59c96ffad5c1e1bf5fa4 | [
"Apache-2.0"
] | 5 | 2018-05-16T16:36:08.000Z | 2020-11-04T05:51:11.000Z | /*
* (C) Copyright 2008
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
*
* 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) a... | 25.032258 | 65 | 0.737113 |
a38d3da7a6680ba16a34595db29fdfd6023f5957 | 213 | h | C | 10-VideoBackground/10-VideoBackground/VideoSplashCV.h | hungnt167/30DaysObjc | ab20e48b91b04ad6c1755f0af5d5fe6d9bacf118 | [
"Apache-2.0"
] | null | null | null | 10-VideoBackground/10-VideoBackground/VideoSplashCV.h | hungnt167/30DaysObjc | ab20e48b91b04ad6c1755f0af5d5fe6d9bacf118 | [
"Apache-2.0"
] | null | null | null | 10-VideoBackground/10-VideoBackground/VideoSplashCV.h | hungnt167/30DaysObjc | ab20e48b91b04ad6c1755f0af5d5fe6d9bacf118 | [
"Apache-2.0"
] | null | null | null | //
// VideoSplashCV.h
// 10-VideoBackground
//
// Created by HungNT on 10/28/16.
// Copyright © 2016 hungnt. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VideoSplashCV : UIViewController
@end
| 15.214286 | 49 | 0.694836 |
a38f3cb2f3c0139cd0dc6b58dbbbc9e86f403704 | 1,670 | h | C | Categories/Foundation/NSString+XTCAdd.h | xtcmoons/XTCCategories | bf1224476690d47848f80576c8a12349ec5f1e7b | [
"MIT"
] | null | null | null | Categories/Foundation/NSString+XTCAdd.h | xtcmoons/XTCCategories | bf1224476690d47848f80576c8a12349ec5f1e7b | [
"MIT"
] | null | null | null | Categories/Foundation/NSString+XTCAdd.h | xtcmoons/XTCCategories | bf1224476690d47848f80576c8a12349ec5f1e7b | [
"MIT"
] | null | null | null | //
// NSString+XTCAdd.h
// XTCCategories
//
// Created by LPPZ-User02 on 2017/4/17.
// Copyright © 2017年 chenming. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSString (XTCAdd)
#pragma mark - Hash
- (nullable NSString *)xtc_md2String;
- (nullable NSString *)xtc_m... | 26.09375 | 89 | 0.75509 |
a38f8a35d4786ada0a15a6b081f575dd82f8fb48 | 17,167 | h | C | Tritom_Framework/C_Histogram.h | davidfreire/Tritom | e5d9deade085f701553da7a0dfaefcea8572e4e9 | [
"MIT"
] | 4 | 2016-02-10T01:14:59.000Z | 2017-05-23T08:07:54.000Z | Tritom_Framework/C_Histogram.h | davidfreire/Tritom | e5d9deade085f701553da7a0dfaefcea8572e4e9 | [
"MIT"
] | null | null | null | Tritom_Framework/C_Histogram.h | davidfreire/Tritom | e5d9deade085f701553da7a0dfaefcea8572e4e9 | [
"MIT"
] | null | null | null | /**
* @file
* @author David Freire-Obregon <dfreire@siani.es>
* @version 1.0
*
* @section LICENSE
*
* This program is Creative Commons License; you can redistribute it and/or
* modify it under the following terms:
*
* Attribution: You must give appropriate credit, provide a link to the license, ... | 28.328383 | 222 | 0.617464 |
a391defb1b01edc651c469176a8ea72c9187e291 | 28,077 | h | C | toolboxes/solvers/sbSolver.h | roopchansinghv/gadgetron | fb6c56b643911152c27834a754a7b6ee2dd912da | [
"MIT"
] | 1 | 2022-02-22T21:06:36.000Z | 2022-02-22T21:06:36.000Z | toolboxes/solvers/sbSolver.h | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null | toolboxes/solvers/sbSolver.h | apd47/gadgetron | 073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2 | [
"MIT"
] | null | null | null | /*
An implementation of the "Generalized Split Bregman Algorithm" - sec. 3.2. of the paper
"The Split Bregman Method for L1-Regularized Problems" by Tom Goldstein and Stanley Osher.
Siam J. Imaging Sciences. Vol. 2, No. 2, pp. 323-343.
*/
#pragma once
#include "linearOperatorSolver.h"
#include "vector_td_util... | 33.30605 | 169 | 0.710582 |
a3928b89cdedbf00ba3aeb6e334ea9c4480872a9 | 1,389 | c | C | array_search/rtems/array_search.c | veyselharun/PBench | 8506c8bc796c4deb8e351cd27bfacde5c87f9624 | [
"MIT"
] | null | null | null | array_search/rtems/array_search.c | veyselharun/PBench | 8506c8bc796c4deb8e351cd27bfacde5c87f9624 | [
"MIT"
] | null | null | null | array_search/rtems/array_search.c | veyselharun/PBench | 8506c8bc796c4deb8e351cd27bfacde5c87f9624 | [
"MIT"
] | null | null | null | #include <rtems.h>
int array[] = {
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
57, 58, 59, 60, 61, 62, 63, 64, 65, ... | 25.254545 | 80 | 0.559395 |
a397897cf90f45d68db4c3ae35d2e3ba06e71fe9 | 186 | c | C | Code/Base/Math/Sqrt.c | mrneo240/suicide-barbie | c8b01f9c04755e7f6d1d261fc4a1600cd6705b96 | [
"MIT"
] | 57 | 2021-01-02T00:18:22.000Z | 2022-03-27T14:40:25.000Z | Code/Base/Math/Sqrt.c | mrneo240/suicide-barbie | c8b01f9c04755e7f6d1d261fc4a1600cd6705b96 | [
"MIT"
] | 1 | 2021-01-05T20:43:02.000Z | 2021-01-11T23:04:41.000Z | Code/Base/Math/Sqrt.c | mrneo240/suicide-barbie | c8b01f9c04755e7f6d1d261fc4a1600cd6705b96 | [
"MIT"
] | 8 | 2021-01-01T22:34:43.000Z | 2022-03-22T01:21:26.000Z |
#include <Base/Math/Math.h>
#include <math.h>
s32 mathISqrt(__reg("d0") s32 x)
{
return (s32) sqrtf((float) x);
}
float mathSqrt(__reg("fp0") float x)
{
return (float) sqrtf(x);
}
| 12.4 | 36 | 0.639785 |
a397b933dfd4b67d1bec0e44162a5baf64136d06 | 3,617 | h | C | WaveletMatrix/succinct_bit_vector.h | y-i/algorithm | 1ec50939b86b014a9b302dd9f25396a997eb8cf8 | [
"Apache-2.0"
] | null | null | null | WaveletMatrix/succinct_bit_vector.h | y-i/algorithm | 1ec50939b86b014a9b302dd9f25396a997eb8cf8 | [
"Apache-2.0"
] | null | null | null | WaveletMatrix/succinct_bit_vector.h | y-i/algorithm | 1ec50939b86b014a9b302dd9f25396a997eb8cf8 | [
"Apache-2.0"
] | null | null | null | #include <algorithm>
#include <cassert>
#include <iostream>
#include <vector>
// 1-indexed
template <typename T = int> class SuccinctBitVector {
// N = 2^32 -> (log N)^2, log(N)/2
// const int chunk_size = 1024, block_size = 16;
const int chunk_size = 64, block_size = 16;
const T n;
std::vector<T>... | 30.652542 | 71 | 0.457009 |
a39868a72a02ad23bae7ab0d37a052999310a245 | 12,504 | h | C | ChiDoc/PAGES/Tutorials/Tutorial_01_DiffusionSim.h | Jrgriss2/chi-tech | db75df761d5f25ca4b79ee19d36f886ef240c2b5 | [
"MIT"
] | 7 | 2019-09-10T12:16:08.000Z | 2021-05-06T16:01:59.000Z | ChiDoc/PAGES/Tutorials/Tutorial_01_DiffusionSim.h | Jrgriss2/chi-tech | db75df761d5f25ca4b79ee19d36f886ef240c2b5 | [
"MIT"
] | 72 | 2019-09-04T15:00:25.000Z | 2021-12-02T20:47:29.000Z | ChiDoc/PAGES/Tutorials/Tutorial_01_DiffusionSim.h | Jrgriss2/chi-tech | db75df761d5f25ca4b79ee19d36f886ef240c2b5 | [
"MIT"
] | 41 | 2019-09-02T15:33:31.000Z | 2022-02-10T13:26:49.000Z | /** \page Tutorial01 Tutorial 1: Basic Diffusion Simulation
Let us tackle the basic diffusion equation as applied to steady state heat
transfer on a 3D orthogonal mesh.\n
\f[
\nabla k \nabla T = q
\f]
The purpose of this tutorial is to understand the basics of the
input paradigm which is completely different f... | 39.444795 | 106 | 0.770793 |
a3986956006c8c24cbee2e621c288375c916f359 | 5,010 | h | C | keops/core/reductions/Min_Reduction.h | yechengxi/keops | 80fe9dfc253861bf61fd9308661e04aea766153f | [
"MIT"
] | 1 | 2020-05-08T08:03:31.000Z | 2020-05-08T08:03:31.000Z | keops/core/reductions/Min_Reduction.h | yechengxi/keops | 80fe9dfc253861bf61fd9308661e04aea766153f | [
"MIT"
] | null | null | null | keops/core/reductions/Min_Reduction.h | yechengxi/keops | 80fe9dfc253861bf61fd9308661e04aea766153f | [
"MIT"
] | 1 | 2020-05-08T08:03:34.000Z | 2020-05-08T08:03:34.000Z | #pragma once
#include <sstream>
#include "core/autodiff/UnaryOp.h"
#include "core/reductions/Reduction.h"
#include "core/reductions/Zero_Reduction.h"
#include "core/pre_headers.h"
#include "core/utils/Infinity.h"
namespace keops {
/////////////////////////////////////////////////////////////////////////
// ... | 33.851351 | 173 | 0.629341 |
a3991c20559b9475401015f00b7d29cb1aadfe82 | 102,964 | c | C | usr/src/lib/cfgadm_plugins/fp/common/cfga_list.c | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/lib/cfgadm_plugins/fp/common/cfga_list.c | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/lib/cfgadm_plugins/fp/common/cfga_list.c | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | 1 | 2020-12-30T00:04:16.000Z | 2020-12-30T00:04:16.000Z | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | 27.508416 | 80 | 0.670895 |
a39b75593b2387937e461bcef27a374a0f864dc9 | 267 | h | C | JSSSplitter.h | KirkSpaziani/JornicaSpriteSheet | 339038631ea0940160566a631ccfce56b953310c | [
"MIT"
] | null | null | null | JSSSplitter.h | KirkSpaziani/JornicaSpriteSheet | 339038631ea0940160566a631ccfce56b953310c | [
"MIT"
] | null | null | null | JSSSplitter.h | KirkSpaziani/JornicaSpriteSheet | 339038631ea0940160566a631ccfce56b953310c | [
"MIT"
] | null | null | null | //
// JSSSplitter.h
// SpriteSheet
//
// Created by Kirk Spaziani on 6/27/20.
// Copyright © 2020 Spazcosoft, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface JSSSplitter : NSObject
@end
NS_ASSUME_NONNULL_END
| 14.833333 | 58 | 0.734082 |
a39be4bf38c7246ea3ef05c731a9ce5cf5e2f10d | 4,953 | c | C | src/dictionary.c | jpaffrath/libclist | ca96007ecdf6aa1f947dd4e28797eee2d09b2700 | [
"MIT"
] | null | null | null | src/dictionary.c | jpaffrath/libclist | ca96007ecdf6aa1f947dd4e28797eee2d09b2700 | [
"MIT"
] | 6 | 2016-11-18T10:46:46.000Z | 2016-11-21T22:04:40.000Z | src/dictionary.c | jpaffrath/libclist | ca96007ecdf6aa1f947dd4e28797eee2d09b2700 | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2016 Julius Paffrath
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... | 23.585714 | 92 | 0.688674 |
a39c5b455abda6994dd365606480bf87f9b5de55 | 4,798 | c | C | matsolve.c | curiousTauseef/matrixlab | 553170f93d445f30d7c29731a34a1db75bb3dde2 | [
"MIT"
] | null | null | null | matsolve.c | curiousTauseef/matrixlab | 553170f93d445f30d7c29731a34a1db75bb3dde2 | [
"MIT"
] | null | null | null | matsolve.c | curiousTauseef/matrixlab | 553170f93d445f30d7c29731a34a1db75bb3dde2 | [
"MIT"
] | 1 | 2019-12-02T17:08:28.000Z | 2019-12-02T17:08:28.000Z | #include "matrix.h"
#include <stdlib.h>
/** \brief Computes LU decomposition of a matrix
*
* \param[in] A Input matrix overwritten by matrices L and U
* \param[in] P Matrix to store permutation matrix P
* \return p Status
*
*/
int mat_lu(MATRIX A, MATRIX P)
{
int i, j, k, n;
int maxi;
mtype c, c1, ... | 23.178744 | 93 | 0.478116 |
a39dbec9e4bf709ff2e936c9483d637df7ef40d7 | 1,594 | h | C | resources/home/dnanexus/root/include/TMinuit2TraceObject.h | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | null | null | null | resources/home/dnanexus/root/include/TMinuit2TraceObject.h | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | null | null | null | resources/home/dnanexus/root/include/TMinuit2TraceObject.h | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | 1 | 2020-05-28T23:01:44.000Z | 2020-05-28T23:01:44.000Z | // @(#)root/minuit2:$Id$
// Author: L. Moneta 2012
/**********************************************************************
* *
* Copyright (c) 2012 LCG ROOT Math team, CERN/PH-SFT *
* ... | 27.482759 | 88 | 0.557089 |
a3a1fbe175af3b8525e462627b8b8b469eb98ec0 | 3,062 | c | C | lect/1606/static_queue/main/static_queue.c | tadey-angelov/bhtc | 047b1873141eb3ba999956c5547d9adca3926fe0 | [
"MIT"
] | null | null | null | lect/1606/static_queue/main/static_queue.c | tadey-angelov/bhtc | 047b1873141eb3ba999956c5547d9adca3926fe0 | [
"MIT"
] | null | null | null | lect/1606/static_queue/main/static_queue.c | tadey-angelov/bhtc | 047b1873141eb3ba999956c5547d9adca3926fe0 | [
"MIT"
] | 1 | 2021-06-18T13:07:07.000Z | 2021-06-18T13:07:07.000Z | #include <stdio.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "esp_system.h"
#include "esp_spi_flash.h"
#define SIZE (16u)
static TaskHandle_t producer_hnd, consumer0_hnd, consumer1_hnd;
static StaticTask_t producer, consumer0, consumer1;
s... | 20.829932 | 70 | 0.676355 |
a3a45ba7adc7844b5a5c4ccae209c69f4ce8ce74 | 740 | h | C | EffectiveOC/EffectiveOC/PhotoBrowser/SCBPhotoView.h | defineifelse/EffectiveOC | 7f292c217fa548ddd54b38cfe5671a1d37ada9d3 | [
"MIT"
] | null | null | null | EffectiveOC/EffectiveOC/PhotoBrowser/SCBPhotoView.h | defineifelse/EffectiveOC | 7f292c217fa548ddd54b38cfe5671a1d37ada9d3 | [
"MIT"
] | null | null | null | EffectiveOC/EffectiveOC/PhotoBrowser/SCBPhotoView.h | defineifelse/EffectiveOC | 7f292c217fa548ddd54b38cfe5671a1d37ada9d3 | [
"MIT"
] | null | null | null | //
// SCBPhotoView.h
// EffectiveOC
//
// Created by Pan on 16/2/25.
// Copyright © 2016年 Pan. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (Util)
- (CGSize)sizeThatFit:(CGSize)size;
- (CGSize)expandImageWithSize:(CGSize)size;
@end
@interface SCBPhotoView : UIView
@property (nonatomic, s... | 22.424242 | 100 | 0.737838 |
a3a5f8617cfb508bdcd5f854def67d6badf004e2 | 520 | c | C | src/fwritef.c | clausecker/memf | f99e6ade1a5120c6b809a6abb6a88fe8554019b8 | [
"BSD-2-Clause"
] | 7 | 2020-11-20T05:37:22.000Z | 2022-02-24T14:25:45.000Z | src/fwritef.c | clausecker/memf | f99e6ade1a5120c6b809a6abb6a88fe8554019b8 | [
"BSD-2-Clause"
] | null | null | null | src/fwritef.c | clausecker/memf | f99e6ade1a5120c6b809a6abb6a88fe8554019b8 | [
"BSD-2-Clause"
] | null | null | null | #include <stddef.h>
#include <stdio.h>
#include "memf.h"
#include "memf-internal.h"
static rwfunc rwfwrite;
/*
* write count bytes from buf to file.
*/
static size_t
rwfwrite(void *file, uint8_t *buf, size_t count)
{
return fwrite(buf, 1, count, (FILE*)file);
}
/*
* Write binary data to a FILE* and marshall it... | 17.931034 | 79 | 0.682692 |
a3a894d799764e0284c7c21be41211f9746fd7c3 | 924 | h | C | Classes/FillColorView.h | astroninfotech/FillColor | f5b4a5899ce0f4e3ec46c4ea6b9e46384037ac1b | [
"MIT"
] | 3 | 2015-08-12T01:40:21.000Z | 2016-06-11T04:05:13.000Z | Classes/FillColorView.h | astroninfotech/FillColor | f5b4a5899ce0f4e3ec46c4ea6b9e46384037ac1b | [
"MIT"
] | null | null | null | Classes/FillColorView.h | astroninfotech/FillColor | f5b4a5899ce0f4e3ec46c4ea6b9e46384037ac1b | [
"MIT"
] | null | null | null | //
// FillColorView.h
// TenderTouch
//
// Created by Astron Infotech on 03/05/2010.
// Copyright Astron Infotech 2011. All rights reserved.
#import <UIKit/UIKit.h>
@interface FillColorView : UIImageView
{
CGPoint lastPoint;
BOOL mouseSwiped;
int mouseMoved;
///RGB components used to fill color
double red... | 21 | 56 | 0.757576 |
a3ab587e02effe1c5399facbafe364fa82f09677 | 439 | h | C | tests/Hardware_tests/Serial_input_source_tests/include/Keypad.h | j0ntan/CCNY-SG-Load | 5d3632c467fc19d005132e56214405b15aba3fe2 | [
"MIT"
] | 1 | 2021-03-04T07:10:27.000Z | 2021-03-04T07:10:27.000Z | tests/Hardware_tests/Serial_input_source_tests/include/Keypad.h | j0ntan/CCNY-SG-Load | 5d3632c467fc19d005132e56214405b15aba3fe2 | [
"MIT"
] | null | null | null | tests/Hardware_tests/Serial_input_source_tests/include/Keypad.h | j0ntan/CCNY-SG-Load | 5d3632c467fc19d005132e56214405b15aba3fe2 | [
"MIT"
] | null | null | null | #ifndef KEYPAD_H
#define KEYPAD_H
class Keypad {
public:
virtual ~Keypad() = default;
virtual bool anyButtonPressed() const = 0;
virtual bool anyButtonHeld() const = 0;
enum class Button {
NUM0,
NUM1,
NUM2,
NUM3,
NUM4,
NUM5,
NUM6,
NUM7,
NUM8,
NUM9,
A,
B,
C... | 12.911765 | 47 | 0.569476 |
a3abb45ff437d2410bda7649d5a439a9fe79822b | 683 | h | C | Ultimaterugby/ViewModels/HomeViewModel.h | lucascorrea/ultimaterugby-challenge | fff20aac04cb67e91d54cc53fbf2101c68af54be | [
"Apache-2.0"
] | null | null | null | Ultimaterugby/ViewModels/HomeViewModel.h | lucascorrea/ultimaterugby-challenge | fff20aac04cb67e91d54cc53fbf2101c68af54be | [
"Apache-2.0"
] | 1 | 2017-10-05T14:38:03.000Z | 2017-10-08T12:58:55.000Z | Ultimaterugby/ViewModels/HomeViewModel.h | lucascorrea/ultimaterugby-challenge | fff20aac04cb67e91d54cc53fbf2101c68af54be | [
"Apache-2.0"
] | null | null | null | //
// HomeViewModel.h
// Ultimaterugby
//
// Created by Lucas Correa on 01/10/2017.
// Copyright © 2017 SiriusCode. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Player.h"
#import "Constants.h"
typedef void (^ReturnValueBlock) (NSString *returnValue);
@interface HomeViewModel : NSObject
#pr... | 21.34375 | 63 | 0.749634 |
a3acc89d81c4f4812ba9c8983484b5dd546e31a7 | 3,305 | h | C | libraries/lsu3shell/lsu3shell_basis.h | nd-nuclear-theory/spncci | 18b30e63ca62bfeea9bfadaf2bad3bfb166ce3e4 | [
"MIT"
] | 1 | 2021-10-17T22:58:31.000Z | 2021-10-17T22:58:31.000Z | libraries/lsu3shell/lsu3shell_basis.h | nd-nuclear-theory/spncci | 18b30e63ca62bfeea9bfadaf2bad3bfb166ce3e4 | [
"MIT"
] | 1 | 2021-02-16T03:16:31.000Z | 2021-02-16T19:46:18.000Z | libraries/lsu3shell/lsu3shell_basis.h | nd-nuclear-theory/spncci | 18b30e63ca62bfeea9bfadaf2bad3bfb166ce3e4 | [
"MIT"
] | 2 | 2019-04-27T17:26:59.000Z | 2021-04-28T17:04:07.000Z | /****************************************************************
lsu3shell_basis.h
Input of lsu3shell basis listing.
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
8/1/16 (aem,mac): Created.
9/7/16 (mac): Split from lsu3shell_interface.
6/26/17 (mac): Add s... | 32.087379 | 115 | 0.607262 |
a3ae591be92ccf9a7d4e0b64ea0cd34939a724d6 | 3,585 | h | C | ns-allinone-2.35/tcp/scoreboard-rh.h | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2020-05-29T13:04:42.000Z | 2020-05-29T13:04:42.000Z | ns-allinone-2.35/tcp/scoreboard-rh.h | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2019-01-20T17:35:23.000Z | 2019-01-22T21:41:38.000Z | ns-allinone-2.35/tcp/scoreboard-rh.h | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2021-09-29T16:06:57.000Z | 2021-09-29T16:06:57.000Z | /* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */
/*
* Copyright (c) @ Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* ... | 43.192771 | 105 | 0.724686 |
a3b6453aa36724d15e9cc4c4d266fe8b990d80b6 | 679 | c | C | src/fileio/fileread_seek.c | mafu9/dxlibp-kai | dc2e503dd49f019245638e6978ee9a5a107f01fb | [
"Unlicense"
] | 1 | 2020-12-01T20:37:47.000Z | 2020-12-01T20:37:47.000Z | src/fileio/fileread_seek.c | mafu9/dxlibp-kai | dc2e503dd49f019245638e6978ee9a5a107f01fb | [
"Unlicense"
] | null | null | null | src/fileio/fileread_seek.c | mafu9/dxlibp-kai | dc2e503dd49f019245638e6978ee9a5a107f01fb | [
"Unlicense"
] | 1 | 2021-04-07T20:31:38.000Z | 2021-04-07T20:31:38.000Z | #include "../fileio.h"
int FileRead_seek(int filehandle,int offset,int origin)
{
int ret = 0;
DXPFILEIOHANDLE *pHnd;
if(!dxpFileioData.init)return -1;
FHANDLE2PTR(pHnd,filehandle);
switch(origin)
{
case SEEK_CUR:
offset += pHnd->pos;
break;
case SEEK_SET:
break;
case SEEK_END:
offset+= pHnd->size;
b... | 19.970588 | 55 | 0.689249 |
a3b678e7e3496ea0870ae2755808940b08fce2f6 | 1,178 | h | C | E6_RenderTarget/E6_RenderTarget/App1.h | giodestone/CMP301-Examples | 408aeafc3a2313866558e9267642baeae24ce51d | [
"MIT"
] | null | null | null | E6_RenderTarget/E6_RenderTarget/App1.h | giodestone/CMP301-Examples | 408aeafc3a2313866558e9267642baeae24ce51d | [
"MIT"
] | null | null | null | E6_RenderTarget/E6_RenderTarget/App1.h | giodestone/CMP301-Examples | 408aeafc3a2313866558e9267642baeae24ce51d | [
"MIT"
] | null | null | null | // Application.h
#ifndef _APP1_H
#define _APP1_H
#include <memory>
// Includes
#include "DXF.h" // include dxframework
#include "LightShader.h"
#include "TextureShader.h"
#include "PositionShader.h"
class App1 : public BaseApplication
{
public:
App1();
~App1();
void init(HINSTANCE hinstance, HWND hwnd, int scree... | 20.666667 | 119 | 0.7691 |
a3b74601336115afe84afdeb1abf501493613274 | 1,472 | h | C | FuelMeDriver/FuelMeDriver/Classes/Managers/PersistenceManager/PersistenceManagerConstants.h | ride-austin/ios-driver | a6f61487fbca2460bb19c78e6d40f03493593e66 | [
"MIT"
] | 3 | 2020-07-25T21:10:30.000Z | 2020-12-03T05:14:17.000Z | FuelMeDriver/FuelMeDriver/Classes/Managers/PersistenceManager/PersistenceManagerConstants.h | ride-austin/ios-driver | a6f61487fbca2460bb19c78e6d40f03493593e66 | [
"MIT"
] | null | null | null | FuelMeDriver/FuelMeDriver/Classes/Managers/PersistenceManager/PersistenceManagerConstants.h | ride-austin/ios-driver | a6f61487fbca2460bb19c78e6d40f03493593e66 | [
"MIT"
] | 7 | 2020-06-16T20:45:07.000Z | 2021-06-06T18:09:27.000Z | //
// PersistenceManagerConstants.h
// RideDriver
//
// Created by Theodore Gonzalez on 11/3/17.
// Copyright © 2017 FuelMe LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
//
// current ride
//
extern NSString *const keyRideRequest;
extern NSString *const kShouldShowStartTripNotification;
//
// E... | 15.827957 | 56 | 0.740489 |
a3ba9b34fa028147fe620031757c9bc917f2809a | 1,814 | c | C | Disk Scheduling/FCFS.c | Candida18/Operating-System | bb2b09b53e81239a8466f92fb5d2c258d4bc073d | [
"Apache-2.0"
] | null | null | null | Disk Scheduling/FCFS.c | Candida18/Operating-System | bb2b09b53e81239a8466f92fb5d2c258d4bc073d | [
"Apache-2.0"
] | null | null | null | Disk Scheduling/FCFS.c | Candida18/Operating-System | bb2b09b53e81239a8466f92fb5d2c258d4bc073d | [
"Apache-2.0"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
#include<math.h>
int main()
{
int queue[20],n,head,i,j,k,seek=0,max,diff;
float avg;
printf("\n------------------------------------------------------------------------------------------------\n");
printf("\n \t\t\t\t\tFCFS Disk Scheduling Algorithm \n");
printf("... | 35.568627 | 116 | 0.327453 |
a3bdf3f69d73583c9a98344a55ecf4e51035433f | 2,940 | c | C | HedgeLib/src/hl_offsets.c | MilesTails-Prower/HedgeLib | b291eb9bb676cd034fbb890ed5615f81723ac2f2 | [
"BSD-2-Clause"
] | null | null | null | HedgeLib/src/hl_offsets.c | MilesTails-Prower/HedgeLib | b291eb9bb676cd034fbb890ed5615f81723ac2f2 | [
"BSD-2-Clause"
] | null | null | null | HedgeLib/src/hl_offsets.c | MilesTails-Prower/HedgeLib | b291eb9bb676cd034fbb890ed5615f81723ac2f2 | [
"BSD-2-Clause"
] | null | null | null | #include "hedgelib/hl_internal.h"
#include "hl_in_assert.h"
#if HL_UPTR_MAX > 0xffffffffu
void* hlOff32Get(const HlU32* offPtr)
{
/* Convert from relative pointer to absolute pointer and return result. */
return (*offPtr) ? (void*)((HlSPtr)offPtr +
(HlSPtr)((HlS32)*offPtr)) : NULL;
}
void hlOff32Set(H... | 25.565217 | 81 | 0.65034 |
a3beb9d39e4c485dd712c2f5385d55920a3b8bb8 | 921 | h | C | hydra.src/hydra/ThreadData.h | ademko/hydra | dd951d209f55ae021bf7507f8fb34c78dbac5c6e | [
"MIT"
] | null | null | null | hydra.src/hydra/ThreadData.h | ademko/hydra | dd951d209f55ae021bf7507f8fb34c78dbac5c6e | [
"MIT"
] | null | null | null | hydra.src/hydra/ThreadData.h | ademko/hydra | dd951d209f55ae021bf7507f8fb34c78dbac5c6e | [
"MIT"
] | null | null | null |
/*
* Copyright (c) 2009 Aleksander B. Demko
* This source code is distributed under the MIT license.
* See the accompanying file LICENSE.MIT.txt for details.
*/
#ifndef __INCLUDED_HYDRA_THREADAREA_H__
#define __INCLUDED_HYDRA_THREADAREA_H__
#include <QMutex>
namespace hydra {
template <class T> class MutexData;... | 19.1875 | 58 | 0.667752 |
a3c0f0e759b6ba90218a27cf33e2382654e7b125 | 3,484 | h | C | WindSDK/WindSDK.framework/Headers/WindNativeAdView.h | Sigmob/iOS-SDK | 4c56cb3b1d29b92d76dbe7019b968d3037cd16b7 | [
"MIT"
] | 2 | 2020-06-10T03:29:17.000Z | 2021-09-24T08:22:59.000Z | WindSDK/WindSDK.framework/Headers/WindNativeAdView.h | Sigmob/iOS-SDK | 4c56cb3b1d29b92d76dbe7019b968d3037cd16b7 | [
"MIT"
] | null | null | null | WindSDK/WindSDK.framework/Headers/WindNativeAdView.h | Sigmob/iOS-SDK | 4c56cb3b1d29b92d76dbe7019b968d3037cd16b7 | [
"MIT"
] | null | null | null | //
// WindNativeView.h
// WindSDK
//
// Created by Codi on 2021/7/27.
// Copyright © 2021 Codi. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <WindSDK/WindSDKDefines.h>
#import <WindSDK/WindNativeViewCustomEvent.h>
@class WindNativeAd;
@class WindDislikeWords;
@protocol WindNativeAdViewDelegate <NSObje... | 18.731183 | 138 | 0.730769 |
a3c33b46404e9d0cc6c35a9de5c5e30dae8e215e | 3,131 | h | C | CemrgApp/Plugins/kcl.cemrgapp.scar/src/internal/YZSegView.h | alonsoJASL/CemrgApp | 69e5e1eb1dff9faab55204482cacea84f0fbd3f4 | [
"BSD-3-Clause"
] | 6 | 2021-04-28T10:08:04.000Z | 2021-09-18T16:53:47.000Z | CemrgApp/Plugins/kcl.cemrgapp.scar/src/internal/YZSegView.h | alonsoJASL/CemrgApp | 69e5e1eb1dff9faab55204482cacea84f0fbd3f4 | [
"BSD-3-Clause"
] | 31 | 2021-05-07T10:24:41.000Z | 2022-02-10T18:30:02.000Z | CemrgApp/Plugins/kcl.cemrgapp.scar/src/internal/YZSegView.h | alonsoJASL/CemrgApp | 69e5e1eb1dff9faab55204482cacea84f0fbd3f4 | [
"BSD-3-Clause"
] | 4 | 2021-06-12T11:57:55.000Z | 2021-11-22T13:22:09.000Z | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt or... | 28.990741 | 129 | 0.673906 |
a3c3925e2323936a81c543a90dad7615fae3a072 | 4,160 | h | C | WASAPICapture/WASAPICapture.h | diego2k/WASAPIMicrophone | c19f0b91b15df19b9d10d6435910d2b149d06d92 | [
"MIT"
] | 2 | 2018-04-06T15:45:36.000Z | 2021-11-25T03:05:25.000Z | WASAPICapture/WASAPICapture.h | diego2k/WASAPIMicrophone | c19f0b91b15df19b9d10d6435910d2b149d06d92 | [
"MIT"
] | null | null | null | WASAPICapture/WASAPICapture.h | diego2k/WASAPIMicrophone | c19f0b91b15df19b9d10d6435910d2b149d06d92 | [
"MIT"
] | null | null | null | //*********************************************************
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
// This code is based on:
// https://github.com/Micr... | 35.555556 | 113 | 0.646875 |
a3c7a1be7382745680a3cab1b6d055b680f8e119 | 808 | h | C | src/bmp.h | yeonzi/badappe_oscilloscope | 9e14e9a2f28ae20ab526c716649afa5b7aae94ef | [
"WTFPL"
] | 9 | 2018-09-25T01:19:55.000Z | 2022-02-27T16:01:46.000Z | src/bmp.h | yeonzi/badappe_oscilloscope | 9e14e9a2f28ae20ab526c716649afa5b7aae94ef | [
"WTFPL"
] | null | null | null | src/bmp.h | yeonzi/badappe_oscilloscope | 9e14e9a2f28ae20ab526c716649afa5b7aae94ef | [
"WTFPL"
] | null | null | null | /******************************************************************************
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2017-2018 Yeonji <yeonji@ieee.org>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license ... | 31.076923 | 79 | 0.563119 |
a3c87ca7d1385e06a17568e5199de49df968e66b | 3,201 | c | C | ioservice/fid_convert.c | papan-singh/cortx-motr-1 | 79351a56dffcb3968db9a6d4fee685a5443ed2f7 | [
"Apache-2.0"
] | 45 | 2020-09-25T09:33:23.000Z | 2022-02-23T02:54:10.000Z | ioservice/fid_convert.c | mbcortx/cortx-motr | 8d45476d627d0f82047e88dff317db64cc142f58 | [
"Apache-2.0"
] | 1,057 | 2020-09-24T15:29:24.000Z | 2022-03-31T20:48:17.000Z | ioservice/fid_convert.c | mbcortx/cortx-motr | 8d45476d627d0f82047e88dff317db64cc142f58 | [
"Apache-2.0"
] | 178 | 2020-09-24T13:38:26.000Z | 2022-03-31T07:50:58.000Z | /* -*- C -*- */
/*
* Copyright (c) 2015-2020 Seagate Technology LLC and/or 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... | 26.89916 | 78 | 0.723524 |