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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
056cc602fd8c8387492a560cd9f8823eb177aeb4 | 8,036 | h | C | DreamDaq/VMElib/myV792AC.h | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 3 | 2021-07-22T12:17:48.000Z | 2021-07-27T07:22:54.000Z | DreamDaq/VMElib/myV792AC.h | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 38 | 2021-07-14T15:41:04.000Z | 2022-03-29T14:18:20.000Z | DreamDaq/VMElib/myV792AC.h | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 7 | 2021-07-21T12:00:33.000Z | 2021-11-13T10:45:30.000Z | #ifndef _MY_V792AC_H_
#define _MY_V792AC_H_
/*****************************************
myV792AC.h
---------
Definition of the CAEN V792AC Charge ADC.
This class is a class derived from the class vme.
Version 2014 25.11.2014 roberto.ferrari@pv.infn.it
*****************************************/
#include <... | 56.591549 | 162 | 0.638626 |
e5ea1f88622a201244cbdbf9ec1b625d3aac48b3 | 865 | h | C | nightsky/evDist.h | thurizas/nightSky | 6924ef45c93b45bf0c47e0db2eef667d8255fb38 | [
"Apache-2.0"
] | null | null | null | nightsky/evDist.h | thurizas/nightSky | 6924ef45c93b45bf0c47e0db2eef667d8255fb38 | [
"Apache-2.0"
] | null | null | null | nightsky/evDist.h | thurizas/nightSky | 6924ef45c93b45bf0c47e0db2eef667d8255fb38 | [
"Apache-2.0"
] | null | null | null | /*
* we use a generalized extreme value distribution with parameters mu=12.9183, sigma = 2.37793, xi = -1.0
* we use the method described at https://stackoverflow.com/questions/28744065/generalized-extreme-value-distribution-in-c-gev
* to generate the random variables. (C++ methods only provide for two parameter... | 27.03125 | 127 | 0.620809 |
f904d4d82c3ef761e4d871cc416358cc0ce952ed | 896 | c | C | core/int.c | sux2mfgj/bitvisor-armv8 | 9a7637c43a06d455b4bbca53587bb541fbb7d0ab | [
"0BSD",
"Unlicense",
"Intel",
"OpenSSL",
"BSD-3-Clause"
] | 4 | 2021-08-09T16:10:24.000Z | 2022-02-07T09:42:15.000Z | core/int.c | sux2mfgj/bitvisor-armv8 | 9a7637c43a06d455b4bbca53587bb541fbb7d0ab | [
"0BSD",
"Unlicense",
"Intel",
"OpenSSL",
"BSD-3-Clause"
] | 5 | 2021-06-02T15:11:43.000Z | 2021-08-22T15:30:32.000Z | core/int.c | sux2mfgj/bitvisor-armv8 | 9a7637c43a06d455b4bbca53587bb541fbb7d0ab | [
"0BSD",
"Unlicense",
"Intel",
"OpenSSL",
"BSD-3-Clause"
] | null | null | null |
#include "int.h"
#include "asm.h"
#include "initfunc.h"
#include "panic.h"
#include "printf.h"
extern void irq_vector (void);
struct irqc *girqc;
void
int_register_irqc (struct irqc *irqc)
{
if (girqc) {
printf ("global irq controller is overwrided: %s -> %s",
girqc->name, irqc->name);
}
// TODO check han... | 17.230769 | 75 | 0.690848 |
0f4d5c6aecd0293b977c1c030c8744a8e245836b | 535 | h | C | URLEmbeddedView/URLEmbeddedView.h | stevengharris/URLEmbeddedView | 822ba4ff52ef25b10aecef5377de8fea04b71b31 | [
"MIT"
] | 280 | 2016-03-11T22:45:52.000Z | 2016-08-16T12:14:51.000Z | URLEmbeddedView/URLEmbeddedView.h | stevengharris/URLEmbeddedView | 822ba4ff52ef25b10aecef5377de8fea04b71b31 | [
"MIT"
] | 5 | 2016-03-17T04:33:44.000Z | 2016-08-03T14:05:09.000Z | URLEmbeddedView/URLEmbeddedView.h | stevengharris/URLEmbeddedView | 822ba4ff52ef25b10aecef5377de8fea04b71b31 | [
"MIT"
] | 23 | 2016-03-30T04:38:46.000Z | 2016-08-16T13:00:37.000Z | //
// URLEmbeddedView.h
// URLEmbeddedView
//
// Created by 鈴木大貴 on 2017/08/15.
// Copyright © 2017年 marty-suzuki. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for URLEmbeddedView.
FOUNDATION_EXPORT double URLEmbeddedViewVersionNumber;
//! Project version string for URLEmbeddedView.... | 26.75 | 140 | 0.77757 |
c94737ad86fa91104a65497a36daa006da013176 | 4,801 | c | C | type-safely-firmware/platforms/STM32F4/src/usb_device.c | castvoid/type-safely | 2c85aab2582783ea4a2d71ba28a7e8f27c24a4e9 | [
"Apache-2.0"
] | null | null | null | type-safely-firmware/platforms/STM32F4/src/usb_device.c | castvoid/type-safely | 2c85aab2582783ea4a2d71ba28a7e8f27c24a4e9 | [
"Apache-2.0"
] | null | null | null | type-safely-firmware/platforms/STM32F4/src/usb_device.c | castvoid/type-safely | 2c85aab2582783ea4a2d71ba28a7e8f27c24a4e9 | [
"Apache-2.0"
] | null | null | null | #include <stdlib.h>
#include <libopencm3/cm3/cortex.h>
#include <libopencm3/cm3/nvic.h>
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/usb/dwc/otg_fs.h>
#include <libopencm3/usb/usbd.h>
#include <libopencm3/usb/hid.h>
#include <string.h>
#include <assert.h>
#include "usb_devi... | 32.659864 | 200 | 0.756926 |
0f94b2864921a016af20cf28e84d5df71f14f5f7 | 273 | h | C | kernel/inc/fb.h | fossabot/Melvix | c06e41d185cafe163112d36c2db40ff85e465396 | [
"MIT"
] | 86 | 2019-06-30T15:43:55.000Z | 2022-03-29T15:48:01.000Z | kernel/inc/fb.h | fossabot/Melvix | c06e41d185cafe163112d36c2db40ff85e465396 | [
"MIT"
] | 7 | 2019-10-28T12:56:37.000Z | 2021-05-04T21:11:35.000Z | kernel/inc/fb.h | fossabot/Melvix | c06e41d185cafe163112d36c2db40ff85e465396 | [
"MIT"
] | 9 | 2019-10-28T12:44:07.000Z | 2021-07-02T16:52:16.000Z | // MIT License, Copyright (c) 2021 Marvin Borner
#ifndef FB_H
#define FB_H
#include <def.h>
#include <mm.h>
#include <sys.h>
u32 fb_map_buffer(struct page_dir *dir, struct fb_generic *generic);
void fb_protect(struct fb_generic *generic);
void fb_install(void);
#endif
| 18.2 | 68 | 0.747253 |
57e8b1ef7a82a2b64c987268286a277ed5e230df | 1,754 | h | C | RecoTBCalo/EcalTBAnalysisCoreTools/interface/TBPositionCalc.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoTBCalo/EcalTBAnalysisCoreTools/interface/TBPositionCalc.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoTBCalo/EcalTBAnalysisCoreTools/interface/TBPositionCalc.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef TBPositionCalc_h
#define TBPositionCalc_h
#include "CLHEP/Vector/ThreeVector.h"
#include "CLHEP/Vector/Rotation.h"
#include "Rtypes.h"
#include <fstream>
#include <vector>
#include <cmath>
#include <map>
#include "DataFormats/EcalRecHit/interface/EcalRecHit.h"
#include "DataFormats/EcalRecHit/interface/EcalR... | 30.77193 | 82 | 0.72691 |
84afe8748a3f29dabd8fdc6a7333302e44a05f00 | 787 | c | C | RUSH02/lib/my/my_strcapitalize.c | TheGlitch1/Piscine | a29d2239bf10ed32e384f37ac9395bdebfb874b7 | [
"MIT"
] | 1 | 2021-02-16T19:07:44.000Z | 2021-02-16T19:07:44.000Z | RUSH02/lib/my/my_strcapitalize.c | TheGlitch1/Piscine | a29d2239bf10ed32e384f37ac9395bdebfb874b7 | [
"MIT"
] | null | null | null | RUSH02/lib/my/my_strcapitalize.c | TheGlitch1/Piscine | a29d2239bf10ed32e384f37ac9395bdebfb874b7 | [
"MIT"
] | 3 | 2020-09-28T21:13:54.000Z | 2021-10-07T06:49:57.000Z | /*
** EPITECH PROJECT, 2017
** CPool_Day06_2017
** File description:
** task09
*/
void lowercase_char(char *str, int i)
{
int j = i;
while (str[j] >= '0' && str[j] <= '9')
j++;
while ((str[j] >= 'A' && str[j] <= 'Z') ||
(str[j] >= 'a' && str[j] <= 'z')) {
if (str[j] >= 'A' && str[j] <= 'Z')
str[j] +... | 18.302326 | 67 | 0.442186 |
b937c257b9c08473f0cad1d26e6fabb8a7695394 | 496 | h | C | NYLockSudoku.h | Akries/NYLockGesture | 911af67aea8204c5a9bb66de03b947e8c65fd256 | [
"MIT"
] | 2 | 2017-07-10T06:29:53.000Z | 2018-06-27T09:49:18.000Z | NYLockSudoku.h | Akries/NYLockGesture | 911af67aea8204c5a9bb66de03b947e8c65fd256 | [
"MIT"
] | null | null | null | NYLockSudoku.h | Akries/NYLockGesture | 911af67aea8204c5a9bb66de03b947e8c65fd256 | [
"MIT"
] | null | null | null | //
// NYLockIndicator.h
// XXDNew
//
// Created by Akries on 2016/11/17.
// Copyright © 2016年 Ak. All rights reserved.
//
#import <UIKit/UIKit.h>
@class NYLockSudoku;
@protocol NYLockSudokuDelegate <NSObject>
- (void)Sudoku:(NYLockSudoku *)Sudoku passcodeDidCreate:(NSString *)passcode;
@end
@interface NYLockS... | 17.714286 | 77 | 0.729839 |
3b2ac48a7f399509bcb18b0d26bb2efa1ba2977d | 421 | c | C | Episode2/encode_shellcode/encode_shellcode_before.c | invictus1306/ARM-episodes | febbcaff173f86738d20db0d771215360b1deabe | [
"Apache-2.0"
] | 80 | 2017-07-18T00:39:33.000Z | 2021-08-02T12:08:37.000Z | Episode2/encode_shellcode/encode_shellcode_before.c | invictus1306/ARM-episodes | febbcaff173f86738d20db0d771215360b1deabe | [
"Apache-2.0"
] | null | null | null | Episode2/encode_shellcode/encode_shellcode_before.c | invictus1306/ARM-episodes | febbcaff173f86738d20db0d771215360b1deabe | [
"Apache-2.0"
] | 21 | 2017-09-22T07:16:02.000Z | 2021-07-27T17:39:09.000Z | #include <stdio.h>
#include <string.h>
char *msg = "\x0f\x00\xa0\xe1\x20\x00\x80\xe2\x02\x20\x42\xe0\x05\x00\x2d\xe9\x0d\x10\xa0\xe1\x0b\x70\xa0\xe3\x00\x00\x00\xef\x00\x00\xa0\xe3\x01\x70\xa0\xe3\x00\x00\x00\xef\x2f\x62\x69\x6e\x2f\x73\x68\x00";
void message(){
char msg_buf[120]={0};
strcpy(msg_buf, msg)... | 17.541667 | 207 | 0.64133 |
3bc86d1b7c245e314d42dcb5465c244593ba6685 | 120 | h | C | tests/cluecode/data/ics/kernel-headers-original-linux-mtd/nftl.h | s4-2/scancode-toolkit | 8931b42e2630b94d0cabc834dfb3c16f01f82321 | [
"Apache-2.0",
"CC-BY-4.0"
] | 1,511 | 2015-07-01T15:29:03.000Z | 2022-03-30T13:40:05.000Z | tests/cluecode/data/ics/kernel-headers-original-linux-mtd/nftl.h | s4-2/scancode-toolkit | 8931b42e2630b94d0cabc834dfb3c16f01f82321 | [
"Apache-2.0",
"CC-BY-4.0"
] | 2,695 | 2015-07-01T16:01:35.000Z | 2022-03-31T19:17:44.000Z | tests/cluecode/data/ics/kernel-headers-original-linux-mtd/nftl.h | s4-2/scancode-toolkit | 8931b42e2630b94d0cabc834dfb3c16f01f82321 | [
"Apache-2.0",
"CC-BY-4.0"
] | 540 | 2015-07-01T15:08:19.000Z | 2022-03-31T12:13:11.000Z | /*
* $Id: nftl.h,v 1.16 2004/06/30 14:49:00 dbrown Exp $
*
* (C) 1999-2003 David Woodhouse <dwmw2@infradead.org>
*/
| 20 | 54 | 0.616667 |
02d7c13c62889ba2fd920fb6de4e4bc9f2c721e2 | 1,458 | h | C | GraphGenerator/Testfiles/include.h | krystalsavv/Architecture-Mining | da47474f90bfb928ee65967610cb5ebb22057bb1 | [
"MIT"
] | 2 | 2021-03-31T19:14:51.000Z | 2021-07-16T12:27:09.000Z | GraphGenerator/Testfiles/include.h | krystalsavv/Architecture-Mining | da47474f90bfb928ee65967610cb5ebb22057bb1 | [
"MIT"
] | null | null | null | GraphGenerator/Testfiles/include.h | krystalsavv/Architecture-Mining | da47474f90bfb928ee65967610cb5ebb22057bb1 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#define ID_T int64_t
enum class ClassType {
Undefined = -1,
Structure,
Method,
Definition
};
class Symbol {
protected:
ID_T id = -1;
std::string name;
std::string nameSpace = "";
ClassType classType = ClassType::Undefined;
public:
Symbol() = default;
Symbol(ClassType cl... | 20.535211 | 186 | 0.707819 |
f3429a888f8e2d56ba7b13988df7555e8751ecf6 | 1,510 | h | C | src/trace/GLLib/Texture/TextureManager.h | attila-sim/attila-sim | a64b57240b4e10dc4df7f21eff0232b28df09532 | [
"BSD-3-Clause"
] | 23 | 2016-01-14T04:47:13.000Z | 2022-01-13T14:02:08.000Z | src/trace/GLLib/Texture/TextureManager.h | attila-sim/attila-sim | a64b57240b4e10dc4df7f21eff0232b28df09532 | [
"BSD-3-Clause"
] | 2 | 2018-03-25T14:39:20.000Z | 2022-03-18T05:11:21.000Z | src/trace/GLLib/Texture/TextureManager.h | attila-sim/attila-sim | a64b57240b4e10dc4df7f21eff0232b28df09532 | [
"BSD-3-Clause"
] | 17 | 2016-02-13T05:35:35.000Z | 2022-03-24T16:05:40.000Z | /**************************************************************************
*
* Copyright (c) 2002 - 2011 by Computer Architecture Department,
* Universitat Politecnica de Catalunya.
* All rights reserved.
*
* The contents of this file may not be disclosed to third parties,
* copied or duplicated in any form, in... | 22.537313 | 82 | 0.655629 |
b3a183d500e14334f809b6226a1c9f6544a601bc | 829 | h | C | Utils/Logger.h | michalzaw/vbcpp | 911896898d2cbf6a223e3552801c5207e0c2aef2 | [
"MIT"
] | 9 | 2020-06-09T20:43:35.000Z | 2022-02-23T17:45:44.000Z | Utils/Logger.h | michalzaw/vbcpp-fork | 8b972e8debf825173c001f99fe43f92e9b548384 | [
"MIT"
] | null | null | null | Utils/Logger.h | michalzaw/vbcpp-fork | 8b972e8debf825173c001f99fe43f92e9b548384 | [
"MIT"
] | 1 | 2021-01-04T14:01:12.000Z | 2021-01-04T14:01:12.000Z | #ifndef LOGGER_H_INCLUDED
#define LOGGER_H_INCLUDED
class Logger
{
private:
static constexpr char* LEVEL_INFO = "[INFO]: ";
static constexpr char* LEVEL_WARNING = "[WARNING]: ";
static constexpr char* LEVEL_ERROR = "[ERROR]: ";
static void logMessage(const std::string& level, cons... | 22.405405 | 84 | 0.575392 |
7e18503f60f26aef8a329dbcd315ce5f66d83f93 | 1,458 | h | C | Projects/solver_MoPhysics/orcustommanager_Physics_manager.h | Neill3d/MoPlugs | 84efea03e045f820f3dc132c1a60a779fc5e34fc | [
"BSD-3-Clause"
] | 23 | 2017-10-20T07:01:18.000Z | 2022-02-25T08:46:07.000Z | Projects/solver_MoPhysics/orcustommanager_Physics_manager.h | droidoid/MoPlugs | fce52e6469408e32e94af8ac8a303840bc956e53 | [
"BSD-3-Clause"
] | 1 | 2019-11-08T04:03:38.000Z | 2019-11-10T10:16:00.000Z | Projects/solver_MoPhysics/orcustommanager_Physics_manager.h | droidoid/MoPlugs | fce52e6469408e32e94af8ac8a303840bc956e53 | [
"BSD-3-Clause"
] | 5 | 2017-12-03T20:43:27.000Z | 2020-01-22T16:54:13.000Z | #ifndef __ORCUSTOMMANAGER_PHYSICS_MANAGER_H__
#define __ORCUSTOMMANAGER_PHYSICS_MANAGER_H__
//////////////////////////////////////////////////////////////////////////////////////////////////
//
// file: orcustommanager_Physics_manager.h
//
// Author Sergey Solokhin (Neill3d)
//
// GitHub page - https://github.com/Neil... | 29.755102 | 113 | 0.645405 |
7e9e760aac5145052408024a03fe61183cecf2e7 | 7,357 | h | C | Xface/XFace/include/XEngine/DeformableGeometry.h | thuhcsi/Crystal.TTVS | 9e6c86566bfacf4fc571ad7b1308bcb7382bb213 | [
"Apache-2.0"
] | 75 | 2020-08-18T03:27:13.000Z | 2022-01-05T13:17:50.000Z | Xface/XFace/include/XEngine/DeformableGeometry.h | thuhcsi/Crystal.TTVS | 9e6c86566bfacf4fc571ad7b1308bcb7382bb213 | [
"Apache-2.0"
] | 1 | 2020-11-11T09:31:06.000Z | 2020-11-19T14:44:41.000Z | Xface/XFace/include/XEngine/DeformableGeometry.h | thuhcsi/Crystal.TTVS | 9e6c86566bfacf4fc571ad7b1308bcb7382bb213 | [
"Apache-2.0"
] | 10 | 2020-08-18T04:35:29.000Z | 2021-09-09T01:41:23.000Z | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
* Software distr... | 47.772727 | 113 | 0.769063 |
7da4715008bee02d23bb015b9c9ec6d858dd3455 | 1,261 | h | C | Ornament.h | mhotwagner/ornament | e258f832d85cde8616fc7999d9f5c550bdb0636d | [
"MIT"
] | null | null | null | Ornament.h | mhotwagner/ornament | e258f832d85cde8616fc7999d9f5c550bdb0636d | [
"MIT"
] | null | null | null | Ornament.h | mhotwagner/ornament | e258f832d85cde8616fc7999d9f5c550bdb0636d | [
"MIT"
] | null | null | null | /*
Ornament.h - IoT LED Ornament
Michael Hotwagner
mhotwagner@gmail.com
Released into the public domain.
*/
#ifndef Ornament_h
#define Ornament_h
#include "Arduino.h"
#include <Adafruit_NeoPixel.h>
class Ornament{
public:
Ornament(int data_pin);
Ornament(int data_pin, bool auto_init);
void... | 19.703125 | 53 | 0.604282 |
7dfd1e6fc57e0d496c4d943e0ddcbe09f205d80a | 519 | h | C | include/SpringBoard/SBStartupTransitionFactory.h | ItHertzSoGood/DragonBuild | 1aaf6133ab386ba3a5165a4b29c080ca8d814b52 | [
"MIT"
] | 3 | 2020-06-20T02:53:25.000Z | 2020-11-07T08:39:13.000Z | include/SpringBoard/SBStartupTransitionFactory.h | ItHertzSoGood/DragonBuild | 1aaf6133ab386ba3a5165a4b29c080ca8d814b52 | [
"MIT"
] | null | null | null | include/SpringBoard/SBStartupTransitionFactory.h | ItHertzSoGood/DragonBuild | 1aaf6133ab386ba3a5165a4b29c080ca8d814b52 | [
"MIT"
] | 1 | 2020-07-26T02:16:06.000Z | 2020-07-26T02:16:06.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 22 2020 01:47:48).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
@class SBInitialRestartState;
@interface SBStartupTransitionFactory : NSObject
{
SBInitialRestartState *_initialRestartState;
}
// - (void).cxx_... | 22.565217 | 90 | 0.741811 |
2a331c69c8362f9f93eb89bf64258404c6beb831 | 36,023 | c | C | src/battery/tests/test_dev_battery.c | webOS-ports/nyx-modules | 555f6f2820faaecf498b865642fc87db1a1b6a29 | [
"Apache-2.0"
] | 2 | 2018-03-22T18:57:18.000Z | 2019-05-06T05:22:40.000Z | src/battery/tests/test_dev_battery.c | webOS-ports/nyx-modules | 555f6f2820faaecf498b865642fc87db1a1b6a29 | [
"Apache-2.0"
] | 1 | 2018-08-28T01:41:40.000Z | 2018-08-28T01:41:40.000Z | src/battery/tests/test_dev_battery.c | webOS-ports/nyx-modules | 555f6f2820faaecf498b865642fc87db1a1b6a29 | [
"Apache-2.0"
] | 5 | 2015-02-10T11:24:02.000Z | 2021-12-27T23:17:25.000Z | // Copyright (c) 2014-2018 LG Electronics, Inc.
//
// 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... | 36.534483 | 132 | 0.770008 |
2a8313cb178017751ebb1c176eb8f70c362821c4 | 8,519 | h | C | AUUKits/AUUKits/AUUKits/Kits/UIView+AUUPlot.h | JyHu/AUUKit | 6dbb818faaa20432ee8f7634fd5fa4d3f395e115 | [
"MIT"
] | 6 | 2015-08-14T10:40:39.000Z | 2019-07-25T02:23:44.000Z | AUUKits/AUUKits/AUUKits/Kits/UIView+AUUPlot.h | JyHu/AUUKit | 6dbb818faaa20432ee8f7634fd5fa4d3f395e115 | [
"MIT"
] | null | null | null | AUUKits/AUUKits/AUUKits/Kits/UIView+AUUPlot.h | JyHu/AUUKit | 6dbb818faaa20432ee8f7634fd5fa4d3f395e115 | [
"MIT"
] | 1 | 2019-07-25T02:23:45.000Z | 2019-07-25T02:23:45.000Z | //
// UIView+AUUPlot.h
// AUUKits
//
// Created by 胡金友 on 11/16/15.
// Copyright © 2015 Joyous Hu. All rights reserved.
//
#import <UIKit/UIKit.h>
struct AUULocation {
CGFloat x; // 0 ~ 1
CGFloat y; // 0 ~ 1
};
typedef struct AUULocation AUULocation;
AUULocation AUULocationMake(CGFloat x, CGFloat y);
... | 24.270655 | 65 | 0.585984 |
cc28192751032713a238b3f0165f6fb2afc121f9 | 2,772 | h | C | _Foundation/Macros/_colordef.h | zhangkn/ToolUtility | 003ea194efad61a74fe9797f7c2663e44f573fca | [
"MIT"
] | null | null | null | _Foundation/Macros/_colordef.h | zhangkn/ToolUtility | 003ea194efad61a74fe9797f7c2663e44f573fca | [
"MIT"
] | null | null | null | _Foundation/Macros/_colordef.h | zhangkn/ToolUtility | 003ea194efad61a74fe9797f7c2663e44f573fca | [
"MIT"
] | null | null | null |
#define color_with_rgba_value( value, a ) \
[UIColor \
colorWithRed:((float)((value & 0xFF0000) >> 16))/255.0 \
green:((float)((value & 0xFF00) >> 8))/255.0 \
blue:((float)(value & 0xFF))/255.0 \
alpha:a]
#define color_with_hex( value ) color_with_rgba_value( value, ... | 57.75 | 112 | 0.579726 |
4a1e4499c1f7360e9ab97051bc9ad86a085a3692 | 2,116 | c | C | custom/package/boot/uboot-turris-omnia/files/sendbeacon.c | amq/omnia-kiss | 31c1c9b5f6a27c9fd58d9b21242ccbdc38efa741 | [
"MIT"
] | 1 | 2017-01-11T11:44:28.000Z | 2017-01-11T11:44:28.000Z | custom/package/boot/uboot-turris-omnia/files/sendbeacon.c | amq/omnia-kiss | 31c1c9b5f6a27c9fd58d9b21242ccbdc38efa741 | [
"MIT"
] | null | null | null | custom/package/boot/uboot-turris-omnia/files/sendbeacon.c | amq/omnia-kiss | 31c1c9b5f6a27c9fd58d9b21242ccbdc38efa741 | [
"MIT"
] | null | null | null | /*
This program sends "beacon" to stop boot of Marvell Armada 385
so it waits for kwboot to load up U-Boot.
Copyright (C) 2016 CZ.NIC
Procedure:
1) Connect the serial line to the router
2) Run the program.
3) Power up the router within 5 sec.
4) Wait for the program to finish and run kwboot ... to loa... | 21.591837 | 77 | 0.649811 |
2e2bade5ae070fafa4bbaf04da13c237b41ae206 | 6,443 | h | C | core/hashgrid.h | NTForked/sandbox | f73d2902bfce3972b889c71f076c724063c180dd | [
"MIT"
] | 105 | 2015-01-02T13:44:07.000Z | 2022-02-07T14:08:45.000Z | core/hashgrid.h | NTForked/sandbox | f73d2902bfce3972b889c71f076c724063c180dd | [
"MIT"
] | 1 | 2016-05-08T10:28:10.000Z | 2016-05-09T02:05:10.000Z | core/hashgrid.h | NTForked/sandbox | f73d2902bfce3972b889c71f076c724063c180dd | [
"MIT"
] | 23 | 2015-02-12T03:38:10.000Z | 2022-02-07T14:09:13.000Z | #pragma once
#include "maths.h"
// fixed size grid with wrapping, supports point queries only
template <typename T, int NumBuckets>
class HashGrid
{
public:
HashGrid(float cellSize=1.0f) : m_cellSize(cellSize)
, m_rcpCellSize(1.0f / cellSize)
{
memset(m_data, 0, sizeof(m_data));
}
~HashGrid()
{
C... | 18.514368 | 113 | 0.589477 |
937eb90efc80df8b417d3a321e2e8252ed1fe810 | 930 | h | C | src/BoundaryCond/ABCFunctorsTM/EzLeftUpdater.h | VlederDiger/FDTD_Solver_TM | e6a3665197c98afee3c4a5f2a9adfc4329eaf792 | [
"MIT"
] | null | null | null | src/BoundaryCond/ABCFunctorsTM/EzLeftUpdater.h | VlederDiger/FDTD_Solver_TM | e6a3665197c98afee3c4a5f2a9adfc4329eaf792 | [
"MIT"
] | null | null | null | src/BoundaryCond/ABCFunctorsTM/EzLeftUpdater.h | VlederDiger/FDTD_Solver_TM | e6a3665197c98afee3c4a5f2a9adfc4329eaf792 | [
"MIT"
] | 1 | 2019-09-27T11:48:13.000Z | 2019-09-27T11:48:13.000Z | /*
* EzLeftUpdater.h
*
* Created on: 23 янв. 2016 г.
* Author: aleksandr
*/
#ifndef EZLEFTUPDATER_H_
#define EZLEFTUPDATER_H_
#include <thrust/device_vector.h>
#include <thrust/functional.h>
typedef thrust::device_ptr<float> d_ptr;
class EzLeftUpdater {
public:
__host__ __device__
EzLeftUpdater(d_ptr _... | 19.787234 | 72 | 0.675269 |
4f1a1aa032454780e050a6bb1084d01794447112 | 936 | h | C | include/Gray/Gray/Simulation.h | dfreese/Gray | fa941c0767a021b3344a374d0ef584f4c758447b | [
"MIT"
] | 1 | 2018-08-26T05:07:57.000Z | 2018-08-26T05:07:57.000Z | include/Gray/Gray/Simulation.h | dfreese/Gray | fa941c0767a021b3344a374d0ef584f4c758447b | [
"MIT"
] | null | null | null | include/Gray/Gray/Simulation.h | dfreese/Gray | fa941c0767a021b3344a374d0ef584f4c758447b | [
"MIT"
] | null | null | null | #ifndef SIMULATION_H_
#define SIMULATION_H_
#include <vector>
#include "Gray/Daq/DaqModel.h"
#include "Gray/Gray/SimulationStats.h"
#include "Gray/Output/Output.h"
#include "Gray/Sources/SourceList.h"
class Config;
class SceneDescription;
class Simulation {
public:
Simulation(
const Config& config,
... | 22.829268 | 50 | 0.680556 |
1a23d1a70ed337a1f9b431287307ae83dc699e2b | 4,548 | h | C | tensorflow/compiler/plugin/poplar/driver/prng_seed_state.h | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 74 | 2020-07-06T17:11:39.000Z | 2022-01-28T06:31:28.000Z | tensorflow/compiler/plugin/poplar/driver/prng_seed_state.h | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 9 | 2020-10-13T23:25:29.000Z | 2022-02-10T06:54:48.000Z | tensorflow/compiler/plugin/poplar/driver/prng_seed_state.h | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 12 | 2020-07-08T07:27:17.000Z | 2021-12-27T08:54:27.000Z | /* Copyright 2021 The TensorFlow Authors. 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 42.90566 | 80 | 0.710202 |
94dab40e3007f8460cde65fd8cf1b480eab008f6 | 2,449 | c | C | parallel-add-list.c | ndreitzler/Parallel_Add_Using_MPI | dc2a8aebdfd16bb111d9557f796f48307a99ae97 | [
"MIT"
] | null | null | null | parallel-add-list.c | ndreitzler/Parallel_Add_Using_MPI | dc2a8aebdfd16bb111d9557f796f48307a99ae97 | [
"MIT"
] | null | null | null | parallel-add-list.c | ndreitzler/Parallel_Add_Using_MPI | dc2a8aebdfd16bb111d9557f796f48307a99ae97 | [
"MIT"
] | null | null | null | /* Name: Nick Dreitzler
Username: ndreitz
CUID: C15564443
Class: ECE 4730
Professor: Walt Ligon
Semester: Fall2020
Filename: parallel-add-list.c
Purpose: To sum a list of integers from a .dat file using mpi
Input: -i <input file>
Output: Size of list
Sum of list
... | 26.619565 | 105 | 0.597387 |
9e69cfb7f1342a86c4e22617d36cefbf6289de80 | 4,455 | h | C | release/src-rt-6.x.4708/linux/linux-2.6.36/arch/cris/include/asm/bitops.h | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 21 | 2021-01-22T06:47:38.000Z | 2022-03-20T14:24:29.000Z | release/src-rt-6.x.4708/linux/linux-2.6.36/arch/cris/include/asm/bitops.h | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 1 | 2018-08-21T03:43:09.000Z | 2018-08-21T03:43:09.000Z | release/src-rt-6.x.4708/linux/linux-2.6.36/arch/cris/include/asm/bitops.h | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 12 | 2021-01-22T14:59:28.000Z | 2022-02-22T04:03:31.000Z | /* asm/bitops.h for Linux/CRIS
*
* TODO: asm versions if speed is needed
*
* All bit operations return 0 if the bit was cleared before the
* operation and != 0 if it was not.
*
* bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1).
*/
#ifndef _CRIS_BITOPS_H
#define _CRIS_BITOPS_H
/* Currently this is unsu... | 26.517857 | 78 | 0.706397 |
7f673b7312b8e4494fa21a2fed5c970ca6a33928 | 253 | h | C | ext/ht/php_ht.h | miaojuanfeng/new-php-syntax | 38edb7689fbd4cb3913b50b0a2ec2593d914c6fa | [
"PHP-3.01"
] | 1 | 2017-06-24T00:46:44.000Z | 2017-06-24T00:46:44.000Z | ext/ht/php_ht.h | miaojuanfeng/new-php-syntax | 38edb7689fbd4cb3913b50b0a2ec2593d914c6fa | [
"PHP-3.01"
] | null | null | null | ext/ht/php_ht.h | miaojuanfeng/new-php-syntax | 38edb7689fbd4cb3913b50b0a2ec2593d914c6fa | [
"PHP-3.01"
] | null | null | null | #ifndef PHP_HT_H
#define PHP_HT_H
#define PHP_HT_EXTNAME "ht"
#define PHP_HT_EXTVER "1.0"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php.h"
extern zend_module_entry ht_module_entry;
#define phpext_ht_ptr &ht_module_entry
#endif
| 21.083333 | 42 | 0.774704 |
9ab60ec9ff2045da71e3cc6e5c1472bfcd6ed38c | 7,077 | h | C | src/image/videofile.h | aalto-cbir/PicSOM | b8d8d1db070c0134034f9ae90233e2e8d0504c26 | [
"Apache-2.0"
] | 6 | 2015-11-11T10:57:45.000Z | 2019-06-10T19:02:55.000Z | src/image/videofile.h | aalto-cbir/PicSOM | b8d8d1db070c0134034f9ae90233e2e8d0504c26 | [
"Apache-2.0"
] | 1 | 2018-03-22T12:58:48.000Z | 2018-03-22T12:58:48.000Z | src/image/videofile.h | aalto-cbir/PicSOM | b8d8d1db070c0134034f9ae90233e2e8d0504c26 | [
"Apache-2.0"
] | null | null | null | // -*- C++ -*- $Id: videofile.h,v 1.31 2020/03/30 19:40:42 jormal Exp $
//
// Copyright 1998-2018 PicSOM Development Group <picsom@ics.aalto.fi>
// Aalto University School of Science
// PO Box 15400, FI-00076 Aalto, FINLAND
//
/*!\file videofile.h
\brief Declarations and definitions of class picsom::videofile.
... | 23.668896 | 82 | 0.596157 |
3c106d27b6b94b92012fbef202cbcc09bd16b44e | 6,073 | h | C | src/openms/include/OpenMS/DATASTRUCTURES/SuffixArray.h | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/include/OpenMS/DATASTRUCTURES/SuffixArray.h | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/include/OpenMS/DATASTRUCTURES/SuffixArray.h | mrurik/OpenMS | 3bf48247423dc28a7df7b12b72fbc7751965c321 | [
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 34.310734 | 157 | 0.66277 |
d2e58c771b0ac5cc2ec8b518f4cd85f3d94ea8f3 | 462 | h | C | Headers/ETGeometryTypes.h | etoile/EtoileUI | 5c0abe5094742d6e86b0f4305a333fed928fdf35 | [
"BSD-3-Clause"
] | 9 | 2015-09-23T02:45:22.000Z | 2022-02-05T07:39:40.000Z | Headers/ETGeometryTypes.h | etoile/EtoileUI | 5c0abe5094742d6e86b0f4305a333fed928fdf35 | [
"BSD-3-Clause"
] | null | null | null | Headers/ETGeometryTypes.h | etoile/EtoileUI | 5c0abe5094742d6e86b0f4305a333fed928fdf35 | [
"BSD-3-Clause"
] | 6 | 2015-01-01T14:02:34.000Z | 2021-11-13T03:01:17.000Z | /**
Copyright (C) 2016 Quentin Mathe
Author: Quentin Mathe <qmathe@club-internet.fr>
Date: December 2016
License: Modified BSD (see COPYING)
*/
#import <Foundation/Foundation.h>
/** The insets to apply a rect for each edge.
Positive values grow the rect, while negative ones shrink it (this is the
inverse ... | 21 | 74 | 0.71645 |
04dd892350f42fdfe74d94e5ed6ea57548a8d86d | 4,306 | h | C | tms_ss/tms_ss_pot/include/config.h | robotpilot/ros_tms | 3d6b6579e89aa9cb216cd3cb6157fabc553c18f1 | [
"BSD-3-Clause"
] | 54 | 2015-01-06T06:58:28.000Z | 2021-05-02T07:49:37.000Z | tms_ss/tms_ss_pot/include/config.h | robotpilot/ros_tms | 3d6b6579e89aa9cb216cd3cb6157fabc553c18f1 | [
"BSD-3-Clause"
] | 114 | 2015-01-07T06:42:21.000Z | 2022-02-12T05:54:04.000Z | tms_ss/tms_ss_pot/include/config.h | robotpilot/ros_tms | 3d6b6579e89aa9cb216cd3cb6157fabc553c18f1 | [
"BSD-3-Clause"
] | 24 | 2015-03-27T08:35:59.000Z | 2020-06-08T13:05:31.000Z | #pragma once
#include <fstream>
#include <yaml-cpp/yaml.h>
#include <iostream>
#include <cstdlib>
class Config
{
public:
static Config* is()
{
static Config* instance = new Config;
return instance;
}
Config()
{
// set default value
n_of_particles = 100;
update = 100;
... | 29.292517 | 90 | 0.524617 |
4377d494d2f7cc5246bc6b6ec4cd91d18571cd27 | 269 | h | C | Example/CWPageKit/CWAppDelegate.h | YMS1230/CWPageKit | fbc02e7f87b57ae710c55790c74aa0ef9b7b88e8 | [
"MIT"
] | null | null | null | Example/CWPageKit/CWAppDelegate.h | YMS1230/CWPageKit | fbc02e7f87b57ae710c55790c74aa0ef9b7b88e8 | [
"MIT"
] | null | null | null | Example/CWPageKit/CWAppDelegate.h | YMS1230/CWPageKit | fbc02e7f87b57ae710c55790c74aa0ef9b7b88e8 | [
"MIT"
] | null | null | null | //
// CWAppDelegate.h
// CWPageKit
//
// Created by YMS1230 on 05/13/2021.
// Copyright (c) 2021 YMS1230. All rights reserved.
//
@import UIKit;
@interface CWAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 16.8125 | 62 | 0.713755 |
3166f2405d89d6c29269a2475538c7c48f7e2086 | 3,776 | h | C | iPhoneOS14.2.sdk/System/Library/Frameworks/NaturalLanguage.framework/Headers/NLTokenizer.h | Zi0P4tch0/sdks | 96951a2b5a0c0a58963a8f9c37bc44ec9991153b | [
"MIT"
] | 416 | 2016-08-20T03:40:59.000Z | 2022-03-30T14:27:47.000Z | iPhoneOS14.4.sdk/System/Library/Frameworks/NaturalLanguage.framework/Headers/NLTokenizer.h | haoict/sdks | 40a7cee1dc15ae097d867ae0c5133709fa103040 | [
"MIT"
] | 41 | 2016-08-22T14:41:42.000Z | 2022-02-25T11:38:16.000Z | iPhoneOS14.4.sdk/System/Library/Frameworks/NaturalLanguage.framework/Headers/NLTokenizer.h | haoict/sdks | 40a7cee1dc15ae097d867ae0c5133709fa103040 | [
"MIT"
] | 173 | 2016-08-28T15:09:18.000Z | 2022-03-23T15:42:52.000Z | /* NLTokenizer.h
Copyright (c) 2017-2020, Apple Inc. All rights reserved.
*/
#import <Foundation/Foundation.h>
#import <NaturalLanguage/NLLanguage.h>
NS_ASSUME_NONNULL_BEGIN
/* NLTokenizer is a class used to automatically segment natural-language text. An instance of this class is created with a specific un... | 60.903226 | 440 | 0.764566 |
c821af3c6fe68f35087d83aee0192949dccfaf0c | 1,785 | h | C | src/libxpeccy/memory.h | rdacomp/Xpeccy | 4ede1e3caf39ee123f3b50cd3d22eb7b7b906208 | [
"MIT"
] | null | null | null | src/libxpeccy/memory.h | rdacomp/Xpeccy | 4ede1e3caf39ee123f3b50cd3d22eb7b7b906208 | [
"MIT"
] | null | null | null | src/libxpeccy/memory.h | rdacomp/Xpeccy | 4ede1e3caf39ee123f3b50cd3d22eb7b7b906208 | [
"MIT"
] | null | null | null | #ifndef X_MEMORY_H
#define X_MEMORY_H
#ifdef __cplusplus
extern "C" {
#endif
#define MEM_SMALL_PAGES 0
// mempage type
enum {
MEM_RAM = 1,
MEM_ROM,
MEM_SLOT,
MEM_EXT,
MEM_IO
};
// memory size
#define MEM_256 (1<<8)
#define MEM_512 (1<<9)
#define MEM_1K (1<<10)
#define MEM_2K (1<<11)
#define MEM_4K (1<<12)
#def... | 19.615385 | 102 | 0.691877 |
232108db7689d6426dcf7f3c9a3606ee7873a010 | 57 | h | C | tests/include/type_definitions.h | ECLScheduling/LoadBalancer-Framework | 7ed38d1f31f8415012d1fec3d77796a44b9affe3 | [
"Apache-2.0"
] | 2 | 2019-04-30T11:07:01.000Z | 2019-05-16T12:33:44.000Z | tests/include/type_definitions.h | ECLScheduling/LoadBalancer-Framework | 7ed38d1f31f8415012d1fec3d77796a44b9affe3 | [
"Apache-2.0"
] | 1 | 2021-07-09T20:48:37.000Z | 2021-07-20T14:16:18.000Z | tests/include/type_definitions.h | ECLScheduling/LoadBalancer-Framework | 7ed38d1f31f8415012d1fec3d77796a44b9affe3 | [
"Apache-2.0"
] | 1 | 2017-05-26T16:26:25.000Z | 2017-05-26T16:26:25.000Z | #pragma once
using Id = unsigned;
using Load = unsigned; | 14.25 | 22 | 0.736842 |
d93a028e837d48b3c44e6470a5a4344979ca87bf | 3,150 | h | C | usr/libexec/nanomediaremotelinkagent/NMRLinkAgentServer.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | usr/libexec/nanomediaremotelinkagent/NMRLinkAgentServer.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | usr/libexec/nanomediaremotelinkagent/NMRLinkAgentServer.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
#import "MPAVRoutingControllerDelegate-Protocol.h"
#import "NMRIDSMessageCenterDelegate-Protocol.h"
#import "NMRLinkAgen... | 51.639344 | 139 | 0.800635 |
6422d4e5a1d5f73c3a609cf89ea82f6bd9a2a5ea | 8,081 | c | C | util/int/do_fpar.c | wyan/ack | cf1b02d26cdfaff4417011c49d112b8dfc877df2 | [
"BSD-3-Clause"
] | 282 | 2015-07-01T10:17:17.000Z | 2022-03-31T02:14:30.000Z | util/int/do_fpar.c | wyan/ack | cf1b02d26cdfaff4417011c49d112b8dfc877df2 | [
"BSD-3-Clause"
] | 176 | 2016-06-07T06:46:55.000Z | 2022-03-19T21:40:17.000Z | util/int/do_fpar.c | wyan/ack | cf1b02d26cdfaff4417011c49d112b8dfc877df2 | [
"BSD-3-Clause"
] | 58 | 2015-12-02T16:29:18.000Z | 2022-01-26T17:54:35.000Z | /** @file
* Sources of the "FLOATING POINT ARITHMETIC" group instructions
*/
/* $Id$ */
#include "em_abs.h"
#include "nofloat.h"
#include "global.h"
#include "log.h"
#include "mem.h"
#include "trap.h"
#include "text.h"
#include "fra.h"
#include "io.h"
#include "warn.h"
#include "switch.h"
#ifndef NOFLOAT
extern ... | 18.037946 | 98 | 0.546715 |
6c9131cc3d7f9b9d80dab61d77148b5fd00e6413 | 1,430 | h | C | src/kakuro/KakuroField.h | semiexp/penciloid | 3277602e4176638acb596c9713ea16dde575f72a | [
"MIT"
] | 1 | 2015-01-04T15:57:46.000Z | 2015-01-04T15:57:46.000Z | src/kakuro/KakuroField.h | semiexp/penciloid | 3277602e4176638acb596c9713ea16dde575f72a | [
"MIT"
] | null | null | null | src/kakuro/KakuroField.h | semiexp/penciloid | 3277602e4176638acb596c9713ea16dde575f72a | [
"MIT"
] | null | null | null | #pragma once
#include "../common/SolverConstant.h"
namespace Penciloid
{
class KakuroProblem;
class KakuroField
{
public:
KakuroField();
~KakuroField();
void Init(int height_t, int width_t);
void Init(KakuroProblem &prob);
inline int GetStatus() const { return field_status; }
int CheckAll()... | 25.087719 | 116 | 0.694406 |
caab575f44565272b15a7fc7b88093c43b288d73 | 8,238 | h | C | src/MPProblem/MPTask.h | parasol-ppl/PPL | 04de04b23e0368e576d2136fee8729de44a3eda5 | [
"BSD-3-Clause"
] | null | null | null | src/MPProblem/MPTask.h | parasol-ppl/PPL | 04de04b23e0368e576d2136fee8729de44a3eda5 | [
"BSD-3-Clause"
] | null | null | null | src/MPProblem/MPTask.h | parasol-ppl/PPL | 04de04b23e0368e576d2136fee8729de44a3eda5 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PMPL_MP_TASK_TYPE_H_
#define PMPL_MP_TASK_TYPE_H_
#include "nonstd/status.h"
#include "Utilities/MPUtils.h"
#include <memory>
#include <string>
#include <vector>
class Boundary;
class Cfg;
class Constraint;
class MPProblem;
class Robot;
class XMLNode;
//////////////////////////////////////////////////////... | 35.356223 | 80 | 0.671765 |
9b3b21e339cbb187b8e46ed0bc9fb9cc4f109233 | 35,516 | c | C | system/apps/test17_official/source/Ctrl.c | tomwei7/LA104 | fdf04061f37693d37e2812ed6074348e65d7e5f9 | [
"MIT"
] | 336 | 2018-11-23T23:54:15.000Z | 2022-03-21T03:47:05.000Z | system/apps/test17_official/source/Ctrl.c | 203Null/LA104 | b8ae9413d01ea24eafb9fdb420c97511287cbd99 | [
"MIT"
] | 56 | 2019-02-01T05:01:07.000Z | 2022-03-26T16:00:24.000Z | system/apps/test17_official/source/Ctrl.c | 203Null/LA104 | b8ae9413d01ea24eafb9fdb420c97511287cbd99 | [
"MIT"
] | 52 | 2019-02-06T17:05:04.000Z | 2022-03-04T12:30:53.000Z | /**********************(C) COPYRIGHT 2017 e-Design Co.,Ltd.*********************
* FileName : Ctrl.c
* Description :
* Author :
* History :
*******************************************************************************/
#include "MyDefine.h"
u16 ZC_Cnt = 0;
u16 L_EmptyCnt = 0;
u16 R_EmptyC... | 33.760456 | 129 | 0.409308 |
f031e3a2c7cf209fbf82188cade39567502d846e | 13,670 | h | C | kernel_dvfs/linux-linaro-tracking-gem5/drivers/staging/ced1401/usb1401.h | lokeshjindal15/pd-gem5_transformer | f8eb40dc65a5d7e15c8aa0756b1b48dd104bd54f | [
"BSD-3-Clause"
] | 55 | 2019-12-20T03:25:14.000Z | 2022-01-16T07:19:47.000Z | kernel_dvfs/linux-linaro-tracking-gem5/drivers/staging/ced1401/usb1401.h | lokeshjindal15/pd-gem5_transformer | f8eb40dc65a5d7e15c8aa0756b1b48dd104bd54f | [
"BSD-3-Clause"
] | 2 | 2020-11-02T08:01:00.000Z | 2022-03-27T02:59:18.000Z | kernel_dvfs/linux-linaro-tracking-gem5/drivers/staging/ced1401/usb1401.h | lokeshjindal15/pd-gem5_transformer | f8eb40dc65a5d7e15c8aa0756b1b48dd104bd54f | [
"BSD-3-Clause"
] | 11 | 2020-08-06T03:59:45.000Z | 2022-02-25T02:31:59.000Z | /* usb1401.h
Header file for the CED 1401 USB device driver for Linux
Copyright (C) 2010 Cambridge Electronic Design Ltd
Author Greg P Smith (greg@ced.co.uk)
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... | 55.34413 | 107 | 0.665472 |
29bf3fe8630e6f51f2777563b18486951d4639b6 | 102 | h | C | snapgear_linux/user/dhcpcd/ip_nettel.h | impedimentToProgress/UCI-BlueChip | 53e5d48b79079eaf60d42f7cb65bb795743d19fc | [
"MIT"
] | null | null | null | snapgear_linux/user/dhcpcd/ip_nettel.h | impedimentToProgress/UCI-BlueChip | 53e5d48b79079eaf60d42f7cb65bb795743d19fc | [
"MIT"
] | null | null | null | snapgear_linux/user/dhcpcd/ip_nettel.h | impedimentToProgress/UCI-BlueChip | 53e5d48b79079eaf60d42f7cb65bb795743d19fc | [
"MIT"
] | 3 | 2016-06-13T13:20:56.000Z | 2019-12-05T02:31:23.000Z | /*
* ip_nettel.h
*/
#ifdef CONFIG_NETtel
int ipfwadm_rules(char *ifname, u_int32_t yiaddr);
#endif
| 12.75 | 50 | 0.72549 |
1882f114da3eb4c594c8ede7f432d935cf448506 | 29,834 | c | C | qcom-caf/audio/hal/voice_extn/voice_extn.c | nekodev17/device_10or_E | 04b9328c6a19480f473806333ecb7f1a039db4ca | [
"FTL"
] | 8 | 2020-10-12T19:12:50.000Z | 2021-11-12T17:01:21.000Z | qcom-caf/audio/hal/voice_extn/voice_extn.c | Havoc-Devices/android_device_xiaomi_land | 7057c3e11912850c646eb89ce20d1a128ece6eff | [
"Apache-2.0"
] | null | null | null | qcom-caf/audio/hal/voice_extn/voice_extn.c | Havoc-Devices/android_device_xiaomi_land | 7057c3e11912850c646eb89ce20d1a128ece6eff | [
"Apache-2.0"
] | 36 | 2019-02-11T06:56:01.000Z | 2021-11-11T07:11:48.000Z | /*
* Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
* Not a contribution.
*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 31.97642 | 97 | 0.628209 |
f4bb742974194a11afc834544dea9c2e9c0a930d | 182 | h | C | isis/src/base/apps/spiceserver/spiceserver.h | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 134 | 2018-01-18T00:16:24.000Z | 2022-03-24T03:53:33.000Z | isis/src/base/apps/spiceserver/spiceserver.h | kdl222/ISIS3 | aab0e63088046690e6c031881825596c1c2cc380 | [
"CC0-1.0"
] | 3,825 | 2017-12-11T21:27:34.000Z | 2022-03-31T21:45:20.000Z | isis/src/base/apps/spiceserver/spiceserver.h | jlaura/isis3 | 2c40e08caed09968ea01d5a767a676172ad20080 | [
"CC0-1.0"
] | 164 | 2017-11-30T21:15:44.000Z | 2022-03-23T10:22:29.000Z | #ifndef spiceserver_h
#define spiceserver_h
#include "Pvl.h"
#include "UserInterface.h"
namespace Isis{
extern void spiceserver(UserInterface &ui, Pvl *log = nullptr);
}
#endif
| 15.166667 | 65 | 0.752747 |
632231320467374a37e7c56d4a2f5ea6967e4f73 | 887 | h | C | Training/MNIST/MNIST.h | naru-jpn/MPSTrainingChallenge | 668b3e174f9524196b24c46095827680bae621c5 | [
"MIT"
] | 3 | 2019-01-22T15:40:48.000Z | 2020-05-23T05:48:08.000Z | Training/MNIST/MNIST.h | naru-jpn/MPSTrainingChallenge | 668b3e174f9524196b24c46095827680bae621c5 | [
"MIT"
] | null | null | null | Training/MNIST/MNIST.h | naru-jpn/MPSTrainingChallenge | 668b3e174f9524196b24c46095827680bae621c5 | [
"MIT"
] | null | null | null | //
// MNIST.h
// Training
//
// Created by Naruki Chigira on 2018/12/10.
// Copyright © 2018 Naruki Chigira. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MNISTSample.h"
static const size_t MNIST_SAMPLES_TRAINING = 60000;
static const size_t MNIST_IMAGE_WIDTH = 28;
static const size_t MNIST_I... | 25.342857 | 81 | 0.777903 |
eb937bfe37be5f0b9c24ed934c0a3d13045a75b6 | 5,501 | h | C | sample/os/atk2-sc1-mc_1.4.2/arch/v850_gcc/prc_insn.h | tmori/athrill | bb271ab47e0df0ac60ea52bbf1e285fea6ec452f | [
"OLDAP-2.6"
] | 44 | 2018-03-14T02:13:09.000Z | 2022-01-23T20:14:48.000Z | sample/os/atk2-sc1-mc_1.4.2/arch/v850_gcc/prc_insn.h | tmori/athrill | bb271ab47e0df0ac60ea52bbf1e285fea6ec452f | [
"OLDAP-2.6"
] | 26 | 2018-10-25T23:48:26.000Z | 2020-06-09T07:48:19.000Z | sample/os/atk2-sc1-mc_1.4.2/arch/v850_gcc/prc_insn.h | tmori/athrill | bb271ab47e0df0ac60ea52bbf1e285fea6ec452f | [
"OLDAP-2.6"
] | 11 | 2018-03-14T02:06:49.000Z | 2020-12-04T15:31:28.000Z | /*
* TOPPERS ATK2
* Toyohashi Open Platform for Embedded Real-Time Systems
* Automotive Kernel Version 2
*
* Copyright (C) 2012-2015 by Center for Embedded Computing Systems
* Graduate School of Information Science, Nagoya Univ., JAPAN
* Copyright (C) 2012-2014 by FUJISOFT INCORPORATED,... | 20.837121 | 89 | 0.636612 |
17a6bfd4ba127d5956605085f17e4cf811d9cd2d | 1,142 | h | C | engine/Engine/src/game/parameter/Parameter.h | Kartikeyapan598/Ghurund | bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea | [
"MIT"
] | null | null | null | engine/Engine/src/game/parameter/Parameter.h | Kartikeyapan598/Ghurund | bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea | [
"MIT"
] | null | null | null | engine/Engine/src/game/parameter/Parameter.h | Kartikeyapan598/Ghurund | bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea | [
"MIT"
] | null | null | null | #pragma once
#include "ParameterId.h"
#include "core/Pointer.h"
#include "core/string/String.h"
namespace Ghurund {
using namespace Ghurund::Core;
class Parameter: public Pointer {
protected:
const AString constantName;
const ParameterType& type;
bool empty = true;
static... | 25.377778 | 115 | 0.626095 |
9da5dfc0c6938e96c75efa0721ed14e04346dd10 | 3,430 | h | C | be/src/exec/pipeline/scan/connector_scan_operator.h | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | 1 | 2022-03-08T09:13:32.000Z | 2022-03-08T09:13:32.000Z | be/src/exec/pipeline/scan/connector_scan_operator.h | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | null | null | null | be/src/exec/pipeline/scan/connector_scan_operator.h | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | null | null | null | // This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
#pragma once
#include "connector/connector.h"
#include "exec/pipeline/pipeline_builder.h"
#include "exec/pipeline/scan/scan_operator.h"
#include "exec/workgroup/work_group_fwd.h"
namespace starrocks {
class ScanNode;
... | 36.489362 | 109 | 0.725364 |
4fc36cf86d4d2d65cb58ef5442cf0a7ab1598599 | 3,512 | h | C | maniaplanet_telemetry.h | Schmalzahar/TMTelemetry | 60f34db21d5aba085ea510b114851fd648d9a901 | [
"Unlicense"
] | 19 | 2018-07-23T20:30:04.000Z | 2021-12-12T09:15:21.000Z | maniaplanet_telemetry.h | Schmalzahar/TMTelemetry | 60f34db21d5aba085ea510b114851fd648d9a901 | [
"Unlicense"
] | 1 | 2020-04-27T18:58:35.000Z | 2020-04-30T21:10:58.000Z | maniaplanet_telemetry.h | Schmalzahar/TMTelemetry | 60f34db21d5aba085ea510b114851fd648d9a901 | [
"Unlicense"
] | 3 | 2020-04-08T18:15:29.000Z | 2020-12-29T14:36:48.000Z | #ifndef _MANIAPLANET_TELEMETRY_H
#define _MANIAPLANET_TELEMETRY_H
#pragma once
namespace NManiaPlanet {
enum {
ECurVersion = 2,
};
typedef unsigned int Nat32;
typedef unsigned int Bool;
struct Vec3 {
float x,y,z;
};
struct Quat {
float w,x,y,z;
};
struct STelemetry {
struct SHeader {
char ... | 30.017094 | 129 | 0.538155 |
4fe5a84e766ba4dd63a796ee25cf5ff3a70c2f03 | 607 | h | C | Exercise5/1/dynamicdoublearray.h | jtrillos/LabBasicGraphicsSol | 5487e568a332d8ee37ad064da0dd5ceddf35f5eb | [
"Apache-2.0"
] | 2 | 2018-01-15T13:39:56.000Z | 2018-04-25T14:27:31.000Z | Exercise6/3/dynamicdoublearray.h | jtrillos/LabBasicGraphicsSol | 5487e568a332d8ee37ad064da0dd5ceddf35f5eb | [
"Apache-2.0"
] | null | null | null | Exercise6/3/dynamicdoublearray.h | jtrillos/LabBasicGraphicsSol | 5487e568a332d8ee37ad064da0dd5ceddf35f5eb | [
"Apache-2.0"
] | null | null | null |
#ifndef DYNAMICDOUBLEARRAY_H
#define DYNAMICDOUBLEARRAY_H
#include <stdio.h>
class DynamicDoubleArray {
public:
DynamicDoubleArray();
~DynamicDoubleArray();
int get_size(); // get the number of elements stored inside the array
double& at(int idx); // access the element positioned at idx
... | 27.590909 | 74 | 0.69028 |
3e4e2bedf5c37886e97e30b7fd6e924f9d5ca389 | 443 | c | C | Tugas [4]/Infix To Posfix/Modular/push.c | robbypambudi/Struktur-Data | a1e22ce9ecd17a6b9b4f8a85d67ff608183758b9 | [
"MIT"
] | 2 | 2022-02-22T15:38:51.000Z | 2022-03-27T11:55:25.000Z | Tugas [4]/Infix To Posfix/Modular/push.c | robbypambudi/Struktur-Data | a1e22ce9ecd17a6b9b4f8a85d67ff608183758b9 | [
"MIT"
] | null | null | null | Tugas [4]/Infix To Posfix/Modular/push.c | robbypambudi/Struktur-Data | a1e22ce9ecd17a6b9b4f8a85d67ff608183758b9 | [
"MIT"
] | 1 | 2022-03-27T11:57:23.000Z | 2022-03-27T11:57:23.000Z | #include "header.h"
void push(List *list, char data)
{ // Fungsi untuk menambahkan elemen pada list
SLinkedList *newNode = (SLinkedList *)malloc(sizeof(SLinkedList)); // Membuat node baru
newNode->data = data;
newNode->next = list->top;
... | 44.3 | 115 | 0.573363 |
eb3f3bce590ce3178e8501a8ff6fa846cf85f3b4 | 1,002 | h | C | Sandbox/Eudora/DelSigDg.h | dusong7/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 10 | 2018-05-23T10:43:48.000Z | 2021-12-02T17:59:48.000Z | Windows/Sandbox/Eudora/DelSigDg.h | officialrafsan/EUDORA | bf43221f5663ec2338aaf90710a89d1490b92ed2 | [
"MIT"
] | 1 | 2019-03-19T03:56:36.000Z | 2021-05-26T18:36:03.000Z | Windows/Sandbox/Eudora/DelSigDg.h | officialrafsan/EUDORA | bf43221f5663ec2338aaf90710a89d1490b92ed2 | [
"MIT"
] | 11 | 2018-05-23T10:43:53.000Z | 2021-12-27T15:42:58.000Z | // DelSigDg.h : header file
//
#ifndef DELSIGDG_H
#define DELSIGDG_H
/////////////////////////////////////////////////////////////////////////////
// CDeleteDialog dialog
class CDeleteDialog : public CDialog
{
BOOL m_bDeleteStationery;
// access functions
CListBox& SignatureLB(){ return * ( ( CListBox* ) GetDlgIte... | 21.319149 | 88 | 0.674651 |
8f4e9aa60f70f0b1bf5a4c6c033e51532b4f6e35 | 3,822 | h | C | include/Platform/Graphics/Vulkan/LogicalDevice.h | MisterVento3/SteelEngine | 403511b53b6575eb869b4ccfbda18514f0838e8d | [
"MIT"
] | 3 | 2017-05-10T10:58:17.000Z | 2018-10-30T09:50:26.000Z | include/Platform/Graphics/Vulkan/LogicalDevice.h | mVento3/SteelEngine | 403511b53b6575eb869b4ccfbda18514f0838e8d | [
"MIT"
] | 3 | 2017-05-09T21:17:09.000Z | 2020-02-24T14:46:22.000Z | include/Platform/Graphics/Vulkan/LogicalDevice.h | mVento3/SteelEngine | 403511b53b6575eb869b4ccfbda18514f0838e8d | [
"MIT"
] | null | null | null | #pragma once
#include "Platform/Graphics/Vulkan/PhysicalDevice.h"
#include "vector"
namespace SteelEngine { namespace Platform { namespace Vulkan {
class Surface;
class LogicalDevice
{
private:
VkDevice m_LogicalDevice;
public:
LogicalDevice();
~LogicalDevice();
//... | 53.830986 | 140 | 0.766614 |
acddf64880622a69e96939c4ec10f94746173ada | 4,958 | h | C | qemu-2.10.0-rc3/qemu/include/hw/virtio/vhost.h | ictyangye/secure-vhost | 089cf0f17fcff64210e1b094fb0d3ee264c1c3c0 | [
"Intel"
] | 1 | 2021-12-21T07:12:16.000Z | 2021-12-21T07:12:16.000Z | qemu-2.10.0-rc3/qemu/include/hw/virtio/vhost.h | Drag0nf1y/secure-vhost | 089cf0f17fcff64210e1b094fb0d3ee264c1c3c0 | [
"Intel"
] | null | null | null | qemu-2.10.0-rc3/qemu/include/hw/virtio/vhost.h | Drag0nf1y/secure-vhost | 089cf0f17fcff64210e1b094fb0d3ee264c1c3c0 | [
"Intel"
] | 1 | 2021-12-21T07:12:14.000Z | 2021-12-21T07:12:14.000Z | #ifndef VHOST_H
#define VHOST_H
#include "hw/hw.h"
#include "hw/virtio/vhost-backend.h"
#include "hw/virtio/virtio.h"
#include "exec/memory.h"
#include "rte_eal.h"
#include "rte_mempool.h"
#include "rte_mbuf.h"
#include "spdk/stdinc.h"
#include "spdk/ioat.h"
#include "spdk/env.h"
#include "spdk/queue.h"
#include "s... | 25.556701 | 77 | 0.730738 |
ac41ab9e0cef39ae90c5aedd4ebf621c7f982d38 | 18,668 | h | C | hi_snex/snex_components/snex_JitPlayground.h | lunacyaudio/HISE | c0a4fd96dd43cb8f64586d9b4b5240852cd5957c | [
"Intel"
] | null | null | null | hi_snex/snex_components/snex_JitPlayground.h | lunacyaudio/HISE | c0a4fd96dd43cb8f64586d9b4b5240852cd5957c | [
"Intel"
] | null | null | null | hi_snex/snex_components/snex_JitPlayground.h | lunacyaudio/HISE | c0a4fd96dd43cb8f64586d9b4b5240852cd5957c | [
"Intel"
] | null | null | null | /* ===========================================================================
*
* This file is part of HISE.
* Copyright 2016 Christoph Hart
*
* HISE 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,... | 23.902689 | 116 | 0.681808 |
7590d41218238738676bdf1bb72d4bd76e085a57 | 72,332 | c | C | lib/node_modules/@stdlib/ndarray/base/unary/src/d_d.c | mhmdaminraeisi/stdlib | 776f925d702132007f6f3ea02574999bb482a81d | [
"Apache-2.0"
] | 3,428 | 2016-07-14T13:48:46.000Z | 2022-03-31T22:32:13.000Z | lib/node_modules/@stdlib/ndarray/base/unary/src/d_d.c | mhmdaminraeisi/stdlib | 776f925d702132007f6f3ea02574999bb482a81d | [
"Apache-2.0"
] | 435 | 2016-04-07T18:12:45.000Z | 2022-03-22T15:43:17.000Z | lib/node_modules/@stdlib/ndarray/base/unary/src/d_d.c | sthagen/stdlib | 042b6215818db0e2a784e72c7e054167dcefcd2a | [
"BSL-1.0"
] | 188 | 2016-11-29T22:58:11.000Z | 2022-03-17T06:46:43.000Z | /**
* @license Apache-2.0
*
* Copyright (c) 2021 The Stdlib Authors.
*
* 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 a... | 33.752683 | 278 | 0.643726 |
8a639c1f6912865e4dfbb48b2a1fc3023b3e4d91 | 503 | h | C | src/chroma/headers/Ray.h | bensteinert/chromarenderer | d29b1b080e7f7e4e8650eaa74f03752a07afdab8 | [
"MIT"
] | null | null | null | src/chroma/headers/Ray.h | bensteinert/chromarenderer | d29b1b080e7f7e4e8650eaa74f03752a07afdab8 | [
"MIT"
] | null | null | null | src/chroma/headers/Ray.h | bensteinert/chromarenderer | d29b1b080e7f7e4e8650eaa74f03752a07afdab8 | [
"MIT"
] | 1 | 2018-03-06T03:31:08.000Z | 2018-03-06T03:31:08.000Z | #ifndef RAY_H
#define RAY_H
#include "Vector3.h"
class Ray {
public:
Vector3 origin, direction, invDirection; //36
Vector3 spectrum; //12
float tMin, tMax; // interval // 8
float lambda; // 4
char sign[3]; ... | 20.958333 | 113 | 0.530815 |
ce2c957b55edd90394c66723ca1115cb45b2eb04 | 1,158 | h | C | client/Classes/Model/Armours/Armour.h | plankes-projects/BaseWar | 693f7d02fa324b917b28be58d33bb77a18d77f26 | [
"Apache-2.0"
] | 60 | 2015-01-03T07:31:14.000Z | 2021-12-17T02:39:17.000Z | client/Classes/Model/Armours/Armour.h | plankes-projects/BaseWar | 693f7d02fa324b917b28be58d33bb77a18d77f26 | [
"Apache-2.0"
] | 1 | 2018-08-17T09:59:30.000Z | 2018-08-17T09:59:30.000Z | client/Classes/Model/Armours/Armour.h | plankes-projects/BaseWar | 693f7d02fa324b917b28be58d33bb77a18d77f26 | [
"Apache-2.0"
] | 27 | 2015-01-22T06:55:10.000Z | 2021-12-17T02:39:23.000Z | /*
* Armour.h
*
* Created on: May 20, 2013
* Author: planke
*/
#ifndef ARMOUR_H_
#define ARMOUR_H_
#include "../DamageType.h"
#include <string>
#include <vector>
class Unit;
class Armour {
public:
Armour();
virtual ~Armour();
virtual float realDamage(float damage, DamageType damageType);
virtual float... | 21.054545 | 63 | 0.744387 |
07ec931cd2b5471d547fb25188a64098844d0ea3 | 3,196 | c | C | Examples/TIM/Synchro_ExtTrigger/Main.c | IOsetting/StdPeriphLib_CH32F1 | 6b171f9d34f7b011ecb2158d415961668d7b3124 | [
"Apache-2.0"
] | 1 | 2022-01-25T10:24:51.000Z | 2022-01-25T10:24:51.000Z | Examples/TIM/Synchro_ExtTrigger/Main.c | IOsetting/StdPeriphLib_CH32F1 | 6b171f9d34f7b011ecb2158d415961668d7b3124 | [
"Apache-2.0"
] | null | null | null | Examples/TIM/Synchro_ExtTrigger/Main.c | IOsetting/StdPeriphLib_CH32F1 | 6b171f9d34f7b011ecb2158d415961668d7b3124 | [
"Apache-2.0"
] | null | null | null | /********************************** (C) COPYRIGHT *******************************
* File Name : main.c
* Author : WCH
* Version : V1.0.0
* Date : 2019/10/15
* Description : Main program body.
***************************************************************************... | 31.029126 | 81 | 0.634856 |
d48e29101040e2d5fcb6f355731cfd6e4a6e0c69 | 1,743 | h | C | PrivateFrameworks/HomeKitDaemon/AWDHomeKitMessageLocation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/HomeKitDaemon/AWDHomeKitMessageLocation.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/HomeKitDaemon/AWDHomeKitMessageLocation.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 "PBCodable.h"
#import "NSCopying.h"
@interface AWDHomeKitMessageLocation : PBCodable <NSCopying>
{
double _accuracy;
double _latitude;
double _longitude;
u... | 32.886792 | 117 | 0.748709 |
c248c4dbebb32d7b759a93e0a80567e35650655d | 392 | h | C | fmt/fcntl.h | yasulab/hackbench-on-xv6 | 9b822399d75ae7cd47a3b34292fb017993ad61a8 | [
"MIT-0"
] | 3 | 2015-12-06T17:17:04.000Z | 2020-02-03T10:08:09.000Z | fmt/fcntl.h | yasulab/hackbench-on-xv6 | 9b822399d75ae7cd47a3b34292fb017993ad61a8 | [
"MIT-0"
] | null | null | null | fmt/fcntl.h | yasulab/hackbench-on-xv6 | 9b822399d75ae7cd47a3b34292fb017993ad61a8 | [
"MIT-0"
] | 1 | 2022-03-08T22:16:41.000Z | 2022-03-08T22:16:41.000Z | 3000 #define O_RDONLY 0x000
3001 #define O_WRONLY 0x001
3002 #define O_RDWR 0x002
3003 #define O_CREATE 0x200
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
... | 7.686275 | 28 | 0.69898 |
c279fe0b44ba06192377683680d404c82958592d | 949 | h | C | pubg/PrivateHeaders/XGJcePropertyInfo.h | cara-ksa-so4/PUBC | 1065b983d7bb1c4ad2104c2c4943487c7f17fa44 | [
"MIT"
] | 14 | 2019-07-23T20:33:14.000Z | 2022-03-09T23:29:36.000Z | fc/PrivateHeaders/XGJcePropertyInfo.h | lechium/FControl | 1203a3d6345b5ce9c738d238e0e7075e27c4d21c | [
"MIT"
] | 5 | 2019-07-22T03:59:20.000Z | 2020-03-02T14:50:48.000Z | fc/PrivateHeaders/XGJcePropertyInfo.h | lechium/FControl | 1203a3d6345b5ce9c738d238e0e7075e27c4d21c | [
"MIT"
] | 8 | 2019-07-23T20:35:34.000Z | 2022-03-03T05:51:30.000Z | //
// 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, XGJcePair;
@interface XGJcePropertyInfo : NSObject
{
_Bool flag; // 8 = 0x8
long long tag; // 16 = 0x10
NSString *name; // 24 = 0... | 28.757576 | 83 | 0.687039 |
61f3788416b48ec36c2d42f5fc2506bbf9fd76d0 | 913 | c | C | src/misc/skabus-dyntee-client.c | skarnet/skabus | dbae52217fb6a65a42d9c36f3ace9a78795105ee | [
"0BSD"
] | 14 | 2017-11-21T19:38:13.000Z | 2021-09-02T14:59:19.000Z | src/misc/skabus-dyntee-client.c | skarnet/skabus | dbae52217fb6a65a42d9c36f3ace9a78795105ee | [
"0BSD"
] | null | null | null | src/misc/skabus-dyntee-client.c | skarnet/skabus | dbae52217fb6a65a42d9c36f3ace9a78795105ee | [
"0BSD"
] | 2 | 2021-05-14T19:04:10.000Z | 2021-05-14T19:04:31.000Z | /* ISC license. */
#include <skalibs/sgetopt.h>
#include <skalibs/strerr2.h>
#include <skalibs/djbunix.h>
#include <skalibs/socket.h>
#include <skalibs/exec.h>
#define USAGE "skabus-dyntee-client path prog..."
#define dieusage() strerr_dieusage(100, USAGE)
int main (int argc, char const *const *argv)
{
int fd ;
... | 24.026316 | 80 | 0.598028 |
d33afa8638205028e6d264b063cc6157ae5fd03c | 1,094 | h | C | editor/VandaEngine1/AddTrigger.h | ehsankamrani/vandaengine | 854430e41db6df1f4fcad9c19718fd8dfcc2c3cb | [
"MIT"
] | 12 | 2021-06-22T11:28:12.000Z | 2022-03-21T00:56:33.000Z | editor/VandaEngine1/AddTrigger.h | ehsankamrani/vandaengine | 854430e41db6df1f4fcad9c19718fd8dfcc2c3cb | [
"MIT"
] | null | null | null | editor/VandaEngine1/AddTrigger.h | ehsankamrani/vandaengine | 854430e41db6df1f4fcad9c19718fd8dfcc2c3cb | [
"MIT"
] | 1 | 2018-10-05T08:17:29.000Z | 2018-10-05T08:17:29.000Z | //Copyright (C) 2022 Ehsan Kamrani
//This file is licensed and distributed under MIT license
#pragma once
#include "afxwin.h"
#include "defines.h"
#include "afxcmn.h"
// CAddTrigger dialog
class CTrigger;
class CAddTrigger : public CDialog
{
DECLARE_DYNAMIC(CAddTrigger)
public:
CAddTrigger(CWnd* pParent = NULL)... | 22.326531 | 71 | 0.781536 |
874de3a91682449afedf1fbab6cdd2c16f28d800 | 418 | h | C | include/nucleus/text/char_traits.h | fizixx/nucleus | a095aa9768c3e330a1ed17bebfd0d72e33033aaa | [
"MIT"
] | 1 | 2018-01-03T17:55:18.000Z | 2018-01-03T17:55:18.000Z | include/nucleus/text/char_traits.h | tiaanl/nucleus | a095aa9768c3e330a1ed17bebfd0d72e33033aaa | [
"MIT"
] | 1 | 2015-06-26T20:27:45.000Z | 2015-06-29T07:27:42.000Z | include/nucleus/text/char_traits.h | tiaanl/nucleus | a095aa9768c3e330a1ed17bebfd0d72e33033aaa | [
"MIT"
] | 1 | 2015-06-26T18:31:05.000Z | 2015-06-26T18:31:05.000Z | #pragma once
#include "nucleus/types.h"
namespace nu {
template <typename CharType>
struct CharTraits;
template <>
struct CharTraits<Char> {
// Calculate the length of a zero terminated string.
static constexpr auto calculateZeroTerminatedLength(const char* text) noexcept -> StringLength {
StringLength resu... | 19 | 98 | 0.69378 |
0c71638451d5ed6403ac2e62b73d0facd2dcf682 | 295 | h | C | lib/z_utils.h | d-i-s/PIRO | 2297a041d09e28dfcbe36fede9f6db4dd26152a6 | [
"BSD-3-Clause"
] | 8 | 2021-04-12T05:15:48.000Z | 2022-02-28T11:19:46.000Z | lib/z_utils.h | d-i-s/PIRO | 2297a041d09e28dfcbe36fede9f6db4dd26152a6 | [
"BSD-3-Clause"
] | 2 | 2020-12-27T20:16:36.000Z | 2021-01-16T19:00:14.000Z | lib/z_utils.h | d-i-s/PIRO | 2297a041d09e28dfcbe36fede9f6db4dd26152a6 | [
"BSD-3-Clause"
] | 1 | 2020-12-27T19:37:41.000Z | 2020-12-27T19:37:41.000Z | #ifndef __ZUTILS__
#define __ZUTILS__
//#include "m_pd.h"
#include "z_fft.h"
t_float delay_retriever(t_atom *delay, t_uint fft_size, t_float sample_rate);
t_symbol *filter_retriever(t_atom *specifier);
t_float phase_retriever(t_atom a);
t_atom phase_parser(t_atom a);
#endif /* __ZUTILS__ */
| 22.692308 | 77 | 0.779661 |
bcc598252eee3774df179f63c1857b4e8f66ec83 | 649 | h | C | Plugins/BossPlugin/Source/BossPlugin/Public/DamageableComponent.h | frostblooded/UE4BossProject | 3f80ce23822a870a00553c256ee39377ac1b07ba | [
"MIT"
] | 1 | 2020-02-26T15:16:21.000Z | 2020-02-26T15:16:21.000Z | Plugins/BossPlugin/Source/BossPlugin/Public/DamageableComponent.h | frostblooded/UE4BossProject | 3f80ce23822a870a00553c256ee39377ac1b07ba | [
"MIT"
] | null | null | null | Plugins/BossPlugin/Source/BossPlugin/Public/DamageableComponent.h | frostblooded/UE4BossProject | 3f80ce23822a870a00553c256ee39377ac1b07ba | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "DamageableComponent.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class BOSSPLUGIN_API UDamageableComponent : public ... | 19.666667 | 78 | 0.784284 |
c672d47bffacf9acbd19a51657981e0433a49a04 | 1,055 | h | C | scene.h | ionaic/rendering-architecture | 924fc02a3bdc07f668918b062cd7c67f61793846 | [
"MIT"
] | null | null | null | scene.h | ionaic/rendering-architecture | 924fc02a3bdc07f668918b062cd7c67f61793846 | [
"MIT"
] | null | null | null | scene.h | ionaic/rendering-architecture | 924fc02a3bdc07f668918b062cd7c67f61793846 | [
"MIT"
] | null | null | null | #pragma once
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/quaternion.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <vector>
#include <iterator>
#include "mesh.h"
#include "shader.h"
class Mesh;
class Transform {
public:
glm::vec4 position;
... | 19.181818 | 50 | 0.578199 |
86ba87922c4af51512acce27e557e8b94d30e259 | 982 | h | C | QlTesting/Solver2.h | alokswaincontact/quantlib-examples | 8e62d56b154be4b4163eab64b3dae42e5901bac5 | [
"MIT"
] | null | null | null | QlTesting/Solver2.h | alokswaincontact/quantlib-examples | 8e62d56b154be4b4163eab64b3dae42e5901bac5 | [
"MIT"
] | null | null | null | QlTesting/Solver2.h | alokswaincontact/quantlib-examples | 8e62d56b154be4b4163eab64b3dae42e5901bac5 | [
"MIT"
] | null | null | null |
// Author: Dimitri Reiswich
#include <boost/math/distributions.hpp>
Real blackScholesPrice(const Real& spot,
const Real& strike,
const Rate& rd,
const Rate& rf,
const Volatility& vol,
const Time& tau,
const Integer& phi){
boost::math::normal_distribution<> d(... | 25.179487 | 69 | 0.613035 |
99ec1fd4558041b3d75833134967087fa0cfb4c7 | 109,190 | c | C | platform/micrium_os/drivers/net/source/net_drv_ether_gem.c | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/micrium_os/drivers/net/source/net_drv_ether_gem.c | GoldSora/sdk_support | 5f92c311a302e2ba06040ec37f8ac4eba91b3d5d | [
"Zlib"
] | 7 | 2020-08-25T02:41:16.000Z | 2022-03-21T19:55:46.000Z | platform/micrium_os/drivers/net/source/net_drv_ether_gem.c | GoldSora/sdk_support | 5f92c311a302e2ba06040ec37f8ac4eba91b3d5d | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | /***************************************************************************//**
* @file
* @brief Network Device Driver - Cadence Gigabit Ethernet Mac (Gem)
*******************************************************************************
* # License
* <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b>
... | 56.138817 | 130 | 0.511897 |
392c98085984190d6df6d08eb593757a395a19a5 | 2,466 | c | C | util/TextCopy.c | SirWumpus/libsnert | 087968a94df77bf0685749b678258e7987b889c6 | [
"BSD-2-Clause"
] | null | null | null | util/TextCopy.c | SirWumpus/libsnert | 087968a94df77bf0685749b678258e7987b889c6 | [
"BSD-2-Clause"
] | null | null | null | util/TextCopy.c | SirWumpus/libsnert | 087968a94df77bf0685749b678258e7987b889c6 | [
"BSD-2-Clause"
] | null | null | null | /*
* TextCopy.c
*
* Copyright 2001, 2010 by Anthony Howe. All rights reserved.
*/
#include <com/snert/lib/version.h>
#include <com/snert/lib/util/Text.h>
/***********************************************************************
***
***********************************************************************/
#ifdef ... | 20.898305 | 73 | 0.596107 |
fbd9e93187920ca55868df5bc0d70e031e32654d | 1,904 | h | C | JsenKitDemo/JsenKit/JsenKitClasses/JsenTabBarController/JsenTabBarController.h | ZhenLingJiang/JsenKit | a12d2801b5c01a6dffceee4d2c1c1edaafcb222b | [
"MIT"
] | 8 | 2016-11-30T07:00:31.000Z | 2020-06-16T06:53:37.000Z | JsenKitDemo/JsenKit/JsenKitClasses/JsenTabBarController/JsenTabBarController.h | ZhenLingJiang/JsenKit | a12d2801b5c01a6dffceee4d2c1c1edaafcb222b | [
"MIT"
] | null | null | null | JsenKitDemo/JsenKit/JsenKitClasses/JsenTabBarController/JsenTabBarController.h | ZhenLingJiang/JsenKit | a12d2801b5c01a6dffceee4d2c1c1edaafcb222b | [
"MIT"
] | 3 | 2018-04-16T07:33:22.000Z | 2018-12-03T07:04:53.000Z | //
// JsenTabBarController.h
// JsenKit
//
// Created by WangXuesen on 2016/11/18.
// Copyright © 2016年 WangXuesen. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "JsenTabBar.h"
@protocol JsenTabBarControllerDelegate <NSObject>
@optional
/**
if item is center one and attribute type is xxxBulgeType and w... | 28.41791 | 142 | 0.778887 |
2559b6aad443b318d9bcdfbf84d3abb061ce3d49 | 1,542 | c | C | Code/PingPong.c | Steven6798/Ping-Pong-Benchmark | d06cfffffa902f23625b400ee4ff413ba7341178 | [
"MIT"
] | null | null | null | Code/PingPong.c | Steven6798/Ping-Pong-Benchmark | d06cfffffa902f23625b400ee4ff413ba7341178 | [
"MIT"
] | null | null | null | Code/PingPong.c | Steven6798/Ping-Pong-Benchmark | d06cfffffa902f23625b400ee4ff413ba7341178 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "mpi.h"
int main(int argc, char *argv[]) {
int data, source, destination, np;
int count = 1;
double start, end, counter;
FILE *fp;
MPI_Status status;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &np);
MPI_Comm_rank(MPI_COMM_WORLD, &source);
// modify ... | 29.653846 | 96 | 0.676394 |
5ede236cf18bff4b7cebf3bb2b370b8efaab414e | 10,901 | c | C | assignment4/src/bmm.c | kv13/Parallel-And-Distributed-Systems | d3f91cf8ffc41a7beae0d3dc3017960efc5b8b3c | [
"MIT"
] | null | null | null | assignment4/src/bmm.c | kv13/Parallel-And-Distributed-Systems | d3f91cf8ffc41a7beae0d3dc3017960efc5b8b3c | [
"MIT"
] | null | null | null | assignment4/src/bmm.c | kv13/Parallel-And-Distributed-Systems | d3f91cf8ffc41a7beae0d3dc3017960efc5b8b3c | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <time.h>
#include "../inc/utils.h"
#include "../inc/blocking.h"
#include "../inc/bmm.h"
void coo_init(coo_format *C, blocked_csr *A, blocked_csc *B){
C->cur_nz = 0;
C->N = A->N;
C->M = B->M;
// suppose that the C matri... | 36.827703 | 147 | 0.493349 |
9fd8bfa15d541a75dbbd73c206bd8e403c7d5ceb | 4,511 | h | C | DESIRE-Engine/src/Engine/UI/UI.h | nyaki-HUN/DESIRE | dd579bffa77bc6999266c8011bc389bb96dee01d | [
"BSD-2-Clause"
] | 1 | 2020-10-04T18:50:01.000Z | 2020-10-04T18:50:01.000Z | DESIRE-Engine/src/Engine/UI/UI.h | nyaki-HUN/DESIRE | dd579bffa77bc6999266c8011bc389bb96dee01d | [
"BSD-2-Clause"
] | null | null | null | DESIRE-Engine/src/Engine/UI/UI.h | nyaki-HUN/DESIRE | dd579bffa77bc6999266c8011bc389bb96dee01d | [
"BSD-2-Clause"
] | 1 | 2018-09-18T08:03:33.000Z | 2018-09-18T08:03:33.000Z | #pragma once
class Color;
class OSWindow;
class Renderable;
class String;
class Texture;
class Vector2;
class Vector3;
#include "Engine/Core/String/DynamicString.h"
class UI
{
public:
enum EFlags
{
Flags_None = 0,
NewFrameFlags_HasMainMenuBar = 1 << 0,
NewFrameFlags_HasStatusBar = 1 << 1,
WindowFla... | 33.169118 | 158 | 0.750166 |
c940337f5f8ff4966fd22b46362f57b9b601092a | 215 | h | C | csgo-crow/CrowAntiCheat/AntiCheatLoader/AntiCheatLoader/TCPserver.h | im6705/csgo_full | 6c50221c5b6441ebf689e3a1cb4978510fab0b27 | [
"Apache-2.0"
] | null | null | null | csgo-crow/CrowAntiCheat/AntiCheatLoader/AntiCheatLoader/TCPserver.h | im6705/csgo_full | 6c50221c5b6441ebf689e3a1cb4978510fab0b27 | [
"Apache-2.0"
] | null | null | null | csgo-crow/CrowAntiCheat/AntiCheatLoader/AntiCheatLoader/TCPserver.h | im6705/csgo_full | 6c50221c5b6441ebf689e3a1cb4978510fab0b27 | [
"Apache-2.0"
] | null | null | null | #pragma once
class TCPSERVER {
public:
std::string Password = XorString("TheSuperDucker_By_Ha4k1r");
std::string Check_number;
bool InitGlobalVars();
void SentPack(std::string pack);
bool CreateTCPserver();
}; | 21.5 | 62 | 0.75814 |
ba17c4c04e0729f1949a72c2d18e3b35b995d064 | 208 | h | C | include/emu_inc_rp.h | Masha/hashcat | 178003d692ab72abfd9588fdce9e4f569d2b1aa7 | [
"MIT"
] | 13,663 | 2015-12-04T16:08:29.000Z | 2022-03-31T23:43:17.000Z | include/emu_inc_rp.h | Masha/hashcat | 178003d692ab72abfd9588fdce9e4f569d2b1aa7 | [
"MIT"
] | 2,014 | 2015-12-04T16:45:36.000Z | 2022-03-31T21:02:58.000Z | include/emu_inc_rp.h | Masha/hashcat | 178003d692ab72abfd9588fdce9e4f569d2b1aa7 | [
"MIT"
] | 2,555 | 2015-12-04T16:09:31.000Z | 2022-03-31T11:34:38.000Z | /**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef _EMU_INC_RP_H
#define _EMU_INC_RP_H
#include "emu_general.h"
#include "inc_vendor.h"
#include "inc_rp.h"
#endif // _EMU_INC_RP_H
| 13.866667 | 37 | 0.673077 |
beab17360acd21a067c74248cb2820fe9f5db9ab | 1,582 | h | C | tests/headers/macros/macro_conditionals.h | e-c-d/pyclibrary | a7e3bf158d4b518512764aaf82789123f6c6c071 | [
"MIT"
] | 42 | 2015-05-24T21:09:20.000Z | 2022-02-28T14:05:03.000Z | tests/headers/macros/macro_conditionals.h | e-c-d/pyclibrary | a7e3bf158d4b518512764aaf82789123f6c6c071 | [
"MIT"
] | 56 | 2015-03-17T22:53:13.000Z | 2021-11-27T11:26:42.000Z | tests/headers/macros/macro_conditionals.h | e-c-d/pyclibrary | a7e3bf158d4b518512764aaf82789123f6c6c071 | [
"MIT"
] | 25 | 2015-01-16T21:15:30.000Z | 2022-01-12T17:32:08.000Z | /* This file is used to test the processing of conditional macros. */
#define MACRO
// Test if defined
#if defined MACRO
#define DEFINE_IF
int DECLARE_IF;
#endif
#if defined UNDEFINED
#define NO_DEFINE_IF
int NO_DECLARE_IF;
#endif
// Test ifdef
#ifdef MACRO
#define DEFINE_IFDEF
int DECLARE_IFDEF;
#e... | 15.359223 | 69 | 0.738938 |
b906306c741562e54cbf02bd05c012767c8aa729 | 2,144 | h | C | code/include/Compress/LzreCoder.h | TheodorusWare/Archivarius | c7bc89a2faaadc37bb65c24fc2e978c915edd582 | [
"Apache-2.0"
] | null | null | null | code/include/Compress/LzreCoder.h | TheodorusWare/Archivarius | c7bc89a2faaadc37bb65c24fc2e978c915edd582 | [
"Apache-2.0"
] | null | null | null | code/include/Compress/LzreCoder.h | TheodorusWare/Archivarius | c7bc89a2faaadc37bb65c24fc2e978c915edd582 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2018-2020 Theodorus Software
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,... | 26.469136 | 72 | 0.71222 |
7e8a12d88ef98661eb849dc5b5420f294c9b2bb9 | 525 | h | C | src/simpla/geometry/gPolygon.h | simpla-fusion/SimPla | 2e45429e1c185cb9fa1fe6b984ae3c61aa666a39 | [
"BSD-3-Clause"
] | 10 | 2015-04-23T03:32:38.000Z | 2019-05-29T02:28:49.000Z | src/simpla/geometry/gPolygon.h | simpla-fusion/SimPla | 2e45429e1c185cb9fa1fe6b984ae3c61aa666a39 | [
"BSD-3-Clause"
] | 1 | 2016-12-08T06:56:27.000Z | 2016-12-08T06:56:27.000Z | src/simpla/geometry/gPolygon.h | simpla-fusion/SimPla | 2e45429e1c185cb9fa1fe6b984ae3c61aa666a39 | [
"BSD-3-Clause"
] | 6 | 2015-05-08T11:43:53.000Z | 2020-06-26T05:47:56.000Z | /**
* @file polygon.h
* @author salmon
* @date 2015-11-17.
*/
#ifndef SIMPLA_GPOLYGON_H
#define SIMPLA_GPOLYGON_H
#include <simpla/SIMPLA_config.h>
#include <vector>
#include "gBoundedCurve.h"
namespace simpla {
namespace geometry {
struct gPolygon2D : public gBoundedCurve2D {
SP_GEO_ENTITY_HEAD(gBoundedCurve2D, ... | 21 | 62 | 0.75619 |
47cc77784ad601337a7a284b8c830a63660d1f6d | 386 | h | C | contrib/libs/libc_compat/include/windows/sys/uio.h | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | contrib/libs/libc_compat/include/windows/sys/uio.h | birichie/catboost | de75c6af12cf490700e76c22072fbdc15b35d679 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | contrib/libs/libc_compat/include/windows/sys/uio.h | birichie/catboost | de75c6af12cf490700e76c22072fbdc15b35d679 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | #pragma once
#include <stddef.h>
#include <BaseTsd.h>
#include <WinSock2.h>
#ifdef __cplusplus
extern "C" {
#endif
#define IOV_MAX INT_MAX
typedef SSIZE_T ssize_t;
struct iovec {
char* iov_base;
size_t iov_len;
};
ssize_t readv(SOCKET sock, struct iovec const* iov, int nvecs);
ssize_t writev(SOCKET sock, ... | 14.846154 | 64 | 0.725389 |
feaa460b6585538139f784c92eb47df1cd0b88ee | 805 | h | C | c/include/prime.h | kittttttan/pe | 6f87e4527793198c393700fedbdd52274fec5b44 | [
"MIT"
] | null | null | null | c/include/prime.h | kittttttan/pe | 6f87e4527793198c393700fedbdd52274fec5b44 | [
"MIT"
] | null | null | null | c/include/prime.h | kittttttan/pe | 6f87e4527793198c393700fedbdd52274fec5b44 | [
"MIT"
] | 1 | 2016-09-01T22:47:28.000Z | 2016-09-01T22:47:28.000Z | #pragma once
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
/*!
@brief get prime number list with sieve algorhythm
@param[out] p Array for the list
@param[in] l Length of the list
@return
*/
size_t sieve(uint32_t *p, size_t l);
/*!
@brief get prime number list below limit
@para... | 20.641026 | 67 | 0.658385 |
63132a89d8e0fe1c06dff25c5ca4ec59e77451b7 | 1,468 | h | C | LoveBird/LoveBird/Data/Dao/PublishDao.h | lifei321/LoveBird | ac935e23afda84aa781cc6ca0495f81077fd0e3c | [
"MIT"
] | null | null | null | LoveBird/LoveBird/Data/Dao/PublishDao.h | lifei321/LoveBird | ac935e23afda84aa781cc6ca0495f81077fd0e3c | [
"MIT"
] | null | null | null | LoveBird/LoveBird/Data/Dao/PublishDao.h | lifei321/LoveBird | ac935e23afda84aa781cc6ca0495f81077fd0e3c | [
"MIT"
] | null | null | null | //
// PublishDao.h
// LoveBird
//
// Created by cheli shan on 2018/5/7.
// Copyright © 2018年 shancheli. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AppHttpManager.h"
#import "PublishEditModel.h"
@interface PublishDao : NSObject
// 上传图片
+ (void)upLoad:(UIImage *)image successBlock:(LFReque... | 29.36 | 123 | 0.711853 |
d7ed3d102f3b219168076abfaf2b318221a2e161 | 609 | h | C | ios/coachlib/coachlib/Common/Questionnaire/Generic/QFreeFormQuestion.h | VAHacker/familycoach-catalyze | c94e53d7d666d708963ded1f5454adbbc6127d2a | [
"MIT"
] | null | null | null | ios/coachlib/coachlib/Common/Questionnaire/Generic/QFreeFormQuestion.h | VAHacker/familycoach-catalyze | c94e53d7d666d708963ded1f5454adbbc6127d2a | [
"MIT"
] | null | null | null | ios/coachlib/coachlib/Common/Questionnaire/Generic/QFreeFormQuestion.h | VAHacker/familycoach-catalyze | c94e53d7d666d708963ded1f5454adbbc6127d2a | [
"MIT"
] | null | null | null | /*
* QChoiceQuestion.h
* iStressLess
*
*
*/
#ifndef QFREEFORMQUESTION_H
#define QFREEFORMQUESTION_H
#include "QTextContainer.h"
class QFreeFormQuestion : public QTextContainer {
int maxSize;
int lines;
char *placeholder;
public:
QFreeFormQuestion();
virtual ~QFreeFormQuestion();
virtual ... | 17.911765 | 94 | 0.748768 |
acf60c2b13e0e750df84dfa07f97e536239f2198 | 3,079 | h | C | engine/scene/components/include/aeon/scene/components/sprite_animation_settings.h | aeon-engine/aeon-engine | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | [
"MIT"
] | 12 | 2017-02-25T17:14:15.000Z | 2021-08-02T13:39:18.000Z | engine/scene/components/include/aeon/scene/components/sprite_animation_settings.h | aeon-engine/aeon-engine | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | [
"MIT"
] | 31 | 2017-02-23T06:59:44.000Z | 2017-05-21T11:49:10.000Z | engine/scene/components/include/aeon/scene/components/sprite_animation_settings.h | aeon-engine/aeon-engine | 9efcf83985110c36ebf0964bd4f76b261f2f6717 | [
"MIT"
] | 5 | 2017-05-02T05:34:53.000Z | 2020-05-19T06:57:50.000Z | /*
* Copyright (c) 2012-2018 Robin Degen
*
* 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,... | 32.410526 | 103 | 0.751218 |
a4e9a6fdedfbf16eb38a2fce4bb4e000c8960749 | 1,178 | c | C | philo_bonus/srcs/memory.c | mathias-mrsn/philosophers | 5f938eb709c7dc7b6addb205139b54a59d34abba | [
"MIT"
] | 1 | 2022-03-24T13:17:30.000Z | 2022-03-24T13:17:30.000Z | philo_bonus/srcs/memory.c | mathias-mrsn/philosophers | 5f938eb709c7dc7b6addb205139b54a59d34abba | [
"MIT"
] | null | null | null | philo_bonus/srcs/memory.c | mathias-mrsn/philosophers | 5f938eb709c7dc7b6addb205139b54a59d34abba | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* memory.c :+: :+: :+: ... | 42.071429 | 80 | 0.241935 |
7888294ebe567956e7212e67cdfe28058612901a | 622 | h | C | Maldives/Framework/CustomFrameWork/JWTools/LocationCity/Tool/DBUtil.h | JWOrganization/JWMD | 8dd407f74c6b06acef16c92894a6c65a5d348234 | [
"Apache-2.0"
] | null | null | null | Maldives/Framework/CustomFrameWork/JWTools/LocationCity/Tool/DBUtil.h | JWOrganization/JWMD | 8dd407f74c6b06acef16c92894a6c65a5d348234 | [
"Apache-2.0"
] | null | null | null | Maldives/Framework/CustomFrameWork/JWTools/LocationCity/Tool/DBUtil.h | JWOrganization/JWMD | 8dd407f74c6b06acef16c92894a6c65a5d348234 | [
"Apache-2.0"
] | null | null | null | //
// DBUtil.h
// AreaSelect
//
// Created by xhw on 16/3/16.
// Copyright © 2016年 xhw. All rights reserved.
//
#import <Foundation/Foundation.h>
@class AreaModel;
@interface DBUtil : NSObject
/**
* 获取所有城市,并按照字母分组插入到字典中
* {
* “A”:[{city1},{city2}...],
* “B”:[{city1},{city2}...],
* }
*
* @re... | 13.822222 | 52 | 0.59164 |
626699fccbad14b22c341c48e00637988a6fa6ca | 378 | h | C | FDTD/Arguments.h | plisdku/trogdor6 | d77eb137dd0c03635c0016801ada54117697e521 | [
"MIT"
] | null | null | null | FDTD/Arguments.h | plisdku/trogdor6 | d77eb137dd0c03635c0016801ada54117697e521 | [
"MIT"
] | null | null | null | FDTD/Arguments.h | plisdku/trogdor6 | d77eb137dd0c03635c0016801ada54117697e521 | [
"MIT"
] | null | null | null | /*
* Arguments.h
* Trogdor6
*
* Created by Paul Hansen on 8/11/10.
* Copyright 2010 Stanford University. All rights reserved.
*
* This file is covered by the MIT license. See LICENSE.txt.
*/
#ifndef _ARGUMENTS_
#define _ARGUMENTS_
#include <boost/program_options.hpp>
boost::program_options::variables_m... | 18.9 | 62 | 0.724868 |
93d4ec583976bcbc006b35024cc8be6303868a66 | 4,169 | h | C | stack.h | wrestle/uds | 622b176910bcfb38a5c88ae0b91c289f8ec6ba9a | [
"MIT"
] | 2 | 2020-04-25T00:25:34.000Z | 2021-10-30T14:46:38.000Z | stack.h | wrestle/uds | 622b176910bcfb38a5c88ae0b91c289f8ec6ba9a | [
"MIT"
] | null | null | null | stack.h | wrestle/uds | 622b176910bcfb38a5c88ae0b91c289f8ec6ba9a | [
"MIT"
] | null | null | null | #ifndef STACK_H
#define STACK_H
#include "list.h"
/*
* That is a stack data structure
* list_head list_head->prev
* stack_end stack_top
* | |
* V V
* [S1]<==>[S2]<==>[S3]<==>[S4]<...>[Sn]
* ^ ... | 29.153846 | 80 | 0.64212 |
1a9916ab29090f79417dce8df00be5548e267d89 | 169 | c | C | test_programs/profile/test_gprof_new.c | sodero/clib2-1 | f1f328909735c88ec2e1d4059d1b941ba859ba91 | [
"Unlicense",
"BSD-3-Clause"
] | null | null | null | test_programs/profile/test_gprof_new.c | sodero/clib2-1 | f1f328909735c88ec2e1d4059d1b941ba859ba91 | [
"Unlicense",
"BSD-3-Clause"
] | null | null | null | test_programs/profile/test_gprof_new.c | sodero/clib2-1 | f1f328909735c88ec2e1d4059d1b941ba859ba91 | [
"Unlicense",
"BSD-3-Clause"
] | null | null | null | //test_gprof_new.c
#include<stdio.h>
void new_func1(void)
{
printf("\n Inside new_func1()\n");
int i = 0;
for(;i<0xffffffee;i++);
return;
} | 14.083333 | 39 | 0.556213 |
4f08e7678166bfb24953e97c92498ef843ba45c4 | 3,524 | c | C | Projet/Network/server.c | TREGS4/Tek | 7f82f876d80d9b616d201b14cff25346f105e80c | [
"MIT"
] | null | null | null | Projet/Network/server.c | TREGS4/Tek | 7f82f876d80d9b616d201b14cff25346f105e80c | [
"MIT"
] | null | null | null | Projet/Network/server.c | TREGS4/Tek | 7f82f876d80d9b616d201b14cff25346f105e80c | [
"MIT"
] | null | null | null | #include "server.h"
void *read_thread(void *arg)
{
struct connection *client = arg;
unsigned long long sizeData = 0;
int type = 0;
BYTE headerBuff[HEADER_SIZE];
BYTE *dataBuff;
int problem = 0;
int ended = 0;
size_t nbCharToRead = HEADER_SIZE;
size_t offset = 0;
int r;
//peut y avoir un souci si la taille ... | 21.487805 | 112 | 0.665153 |
d1a22b62e677e3095ec5918c7ac4948b2ee2539a | 3,192 | h | C | src/l1_transport/packet.h | dapaulid/libremo | 3aa1da6ed13586e842906f21c2eb4c82fec716fe | [
"MIT"
] | 1 | 2021-02-03T08:25:37.000Z | 2021-02-03T08:25:37.000Z | src/l1_transport/packet.h | dapaulid/libremo | 3aa1da6ed13586e842906f21c2eb4c82fec716fe | [
"MIT"
] | null | null | null | src/l1_transport/packet.h | dapaulid/libremo | 3aa1da6ed13586e842906f21c2eb4c82fec716fe | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
/**
* @license
* Copyright (c) Daniel Pauli <dapaulid@gmail.com>
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
//-------------------------------------... | 30.692308 | 92 | 0.547619 |
7fc214ba6f67d01350695cb8b96b2dba7bd431bd | 1,410 | h | C | include/AMQPSerialize/createtopic.h | danielgavrila/AMQPSerialize | 1a9b2dd7b32978fa9f35edaacdfbe48aafc5f858 | [
"Apache-2.0"
] | 1 | 2018-11-18T11:30:39.000Z | 2018-11-18T11:30:39.000Z | include/AMQPSerialize/createtopic.h | danielgavrila/AMQPSerialize | 1a9b2dd7b32978fa9f35edaacdfbe48aafc5f858 | [
"Apache-2.0"
] | null | null | null | include/AMQPSerialize/createtopic.h | danielgavrila/AMQPSerialize | 1a9b2dd7b32978fa9f35edaacdfbe48aafc5f858 | [
"Apache-2.0"
] | null | null | null | #ifndef CREATETOPIC_H
#define CREATETOPIC_H
#include <qpid/messaging/Address.h>
#include <qpid/messaging/Connection.h>
#include <qpid/messaging/Message.h>
#include <qpid/messaging/Receiver.h>
#include <qpid/messaging/Sender.h>
#include <qpid/messaging/Session.h>
#include "receiverconfig.h"
namespace serializeAMQP{
usi... | 32.045455 | 120 | 0.7 |
fa43ce407d022d9e141ce63d4a472bf113f048bc | 307 | c | C | ports/www/mod_qos/dragonfly/patch-mod_qos.c | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2015-02-06T17:06:37.000Z | 2022-03-08T19:53:28.000Z | ports/www/mod_qos/dragonfly/patch-mod_qos.c | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 236 | 2015-06-29T19:51:17.000Z | 2021-12-16T22:46:38.000Z | ports/www/mod_qos/dragonfly/patch-mod_qos.c | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 52 | 2015-02-06T17:05:36.000Z | 2021-10-21T12:13:06.000Z | --- mod_qos.c.orig 2020-05-21 15:28:45 UTC
+++ mod_qos.c
@@ -1019,7 +1019,11 @@ typedef struct {
apr_time_t request_time;
unsigned int in_addr;
unsigned int conn;
+#ifdef APR_HAS_THREADS
+ pthread_t tid;
+#else
unsigned int tid;
+#endif
unsigned int unique_id_counter;
} qos_unique_id_t;
| 20.466667 | 42 | 0.697068 |
d2623b420438d22e7ac0ff51c0d3b2d15929e229 | 1,912 | c | C | slprj/accel/Comment_1_1/rtGetInf.c | xiaochen1111/The-fault-diagnosis-of-IBC-for-major-revise | e800089a94b7230a8fc11bbca9ed21aeebc6b625 | [
"MIT"
] | null | null | null | slprj/accel/Comment_1_1/rtGetInf.c | xiaochen1111/The-fault-diagnosis-of-IBC-for-major-revise | e800089a94b7230a8fc11bbca9ed21aeebc6b625 | [
"MIT"
] | null | null | null | slprj/accel/Comment_1_1/rtGetInf.c | xiaochen1111/The-fault-diagnosis-of-IBC-for-major-revise | e800089a94b7230a8fc11bbca9ed21aeebc6b625 | [
"MIT"
] | null | null | null | #include "__cf_Comment_1_1.h"
#include "rtGetInf.h"
#define NumBitsPerChar 8U
real_T rtGetInf ( void ) { size_t bitsPerReal = sizeof ( real_T ) * (
NumBitsPerChar ) ; real_T inf = 0.0 ; if ( bitsPerReal == 32U ) { inf =
rtGetInfF ( ) ; } else { uint16_T one = 1U ; enum { LittleEndian , BigEndian
} machByteOrder = ( * ... | 65.931034 | 77 | 0.676255 |
cfca34d2642bba97e712b33977e899f2dfd93d05 | 45,673 | c | C | src/cc/libbpf.c | swiftomkar/bcc | 070e6c8bc0a76341eeab50a000c0ea8342c78fab | [
"Apache-2.0"
] | 1 | 2020-11-22T02:10:32.000Z | 2020-11-22T02:10:32.000Z | src/cc/libbpf.c | swiftomkar/bcc | 070e6c8bc0a76341eeab50a000c0ea8342c78fab | [
"Apache-2.0"
] | 1 | 2020-12-17T10:43:39.000Z | 2020-12-17T10:43:39.000Z | src/cc/libbpf.c | swiftomkar/bcc | 070e6c8bc0a76341eeab50a000c0ea8342c78fab | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2015 PLUMgrid, Inc.
*
* 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 ... | 30.591427 | 99 | 0.632496 |
a7b75bdce7d55917db689843dac8a9f2530ec446 | 177 | h | C | include/errno.h | xdavidwu/os | 26b7bb0c31e6b77950f5fdc5923a077921775222 | [
"MIT"
] | null | null | null | include/errno.h | xdavidwu/os | 26b7bb0c31e6b77950f5fdc5923a077921775222 | [
"MIT"
] | null | null | null | include/errno.h | xdavidwu/os | 26b7bb0c31e6b77950f5fdc5923a077921775222 | [
"MIT"
] | null | null | null | #ifndef ERRNO_H
#define ERRNO_H
enum {
SUCCESS = 0,
EWOULDBLOCK,
ENOSPC,
ENOMEM,
ENOENT,
ENOTDIR,
ENODEV,
ENOTSUP,
EINVAL,
EROFS,
EBADF,
EMFILE,
ENXIO,
};
#endif
| 8.428571 | 15 | 0.672316 |
67bc5c4e178185fe78d380bedfed0f5895f783ac | 4,640 | h | C | platform/emscripten/Rtt_EmscriptenContext.h | joehinkle11/corona | 530320beaa518a2b82fa8beb2a92f3be6b56a00e | [
"MIT"
] | 1,968 | 2018-12-30T21:14:22.000Z | 2022-03-31T23:48:16.000Z | platform/emscripten/Rtt_EmscriptenContext.h | joehinkle11/corona | 530320beaa518a2b82fa8beb2a92f3be6b56a00e | [
"MIT"
] | 303 | 2019-01-02T19:36:43.000Z | 2022-03-31T23:52:45.000Z | platform/emscripten/Rtt_EmscriptenContext.h | joehinkle11/corona | 530320beaa518a2b82fa8beb2a92f3be6b56a00e | [
"MIT"
] | 254 | 2019-01-02T19:05:52.000Z | 2022-03-30T06:32:28.000Z | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: support@coronalabs.com
//
/////////////////... | 26.666667 | 112 | 0.675647 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.