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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c126a7dde4a8ed10ffccd70729fa47be38f8e31 | 1,753 | h | C | TitaniumRose/src/TitaniumRose/ComponentSystem/GameObject.h | Zinadore/Hazel-D3D12 | 084cf9a473b6c66a2890f107667f687d6c7ed0a0 | [
"Apache-2.0"
] | null | null | null | TitaniumRose/src/TitaniumRose/ComponentSystem/GameObject.h | Zinadore/Hazel-D3D12 | 084cf9a473b6c66a2890f107667f687d6c7ed0a0 | [
"Apache-2.0"
] | null | null | null | TitaniumRose/src/TitaniumRose/ComponentSystem/GameObject.h | Zinadore/Hazel-D3D12 | 084cf9a473b6c66a2890f107667f687d6c7ed0a0 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "TitaniumRose/ComponentSystem/Transform.h"
#include "TitaniumRose/Core/Core.h"
#include "TitaniumRose/ComponentSystem/HMesh.h"
#include "TitaniumRose/ComponentSystem/Component.h"
#include "TitaniumRose/Renderer/Material.h"
#include "TitaniumRose/Renderer/Vertex.h"
#include "Platform/D3D12/D3D12B... | 21.120482 | 80 | 0.710782 |
9c7e2601ef199d694a067f6fb1b0225501b8df09 | 1,778 | h | C | third_party/swiot/swiot_devicefind.h | mingxin891018/ESP8266_RTOS_SDK-2.0.0 | a5a1f740e26ab81ac5e571f00c263e6cf976099e | [
"BSD-3-Clause"
] | null | null | null | third_party/swiot/swiot_devicefind.h | mingxin891018/ESP8266_RTOS_SDK-2.0.0 | a5a1f740e26ab81ac5e571f00c263e6cf976099e | [
"BSD-3-Clause"
] | null | null | null | third_party/swiot/swiot_devicefind.h | mingxin891018/ESP8266_RTOS_SDK-2.0.0 | a5a1f740e26ab81ac5e571f00c263e6cf976099e | [
"BSD-3-Clause"
] | null | null | null | #ifndef __SWIOT_DEVICEFIND_H__
#define __SWIOT_DEVICEFIND_H__
#include "esp_common.h"
#include "espconn.h"
#define MAX_ENTRY_NAME_SIZE 16
#define MAX_ENTRY_VALUE_SIZE 256
#define SWIOT_REQ "swiot_req"
#define SWIOT_REQ_VALUE "1"
#define SWIOT_DEVID "swiot_devid"
#define SWIOT_CO... | 21.682927 | 103 | 0.732846 |
84394c0c31efda166c859be645905c16736d6ea3 | 3,214 | h | C | array.h | t6/libias | 45a6bbb189f00121a6e6374fc543b7d62915aea1 | [
"BSD-2-Clause"
] | 1 | 2021-02-27T16:48:51.000Z | 2021-02-27T16:48:51.000Z | array.h | t6/libias | 45a6bbb189f00121a6e6374fc543b7d62915aea1 | [
"BSD-2-Clause"
] | null | null | null | array.h | t6/libias | 45a6bbb189f00121a6e6374fc543b7d62915aea1 | [
"BSD-2-Clause"
] | null | null | null | /*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2019 Tobias Kortkamp <tobik@FreeBSD.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of so... | 45.914286 | 108 | 0.744244 |
573d78fd06fe2e3f4148f382271b90eba168efb3 | 234 | h | C | Health.h | DonnieDonowitz/ShootingGame | da2f802181ffaf86d7e79ca0b3446699b727120a | [
"MIT"
] | null | null | null | Health.h | DonnieDonowitz/ShootingGame | da2f802181ffaf86d7e79ca0b3446699b727120a | [
"MIT"
] | null | null | null | Health.h | DonnieDonowitz/ShootingGame | da2f802181ffaf86d7e79ca0b3446699b727120a | [
"MIT"
] | null | null | null | #pragma once
#include <QGraphicsTextItem>
class Health : public QGraphicsTextItem
{
Q_OBJECT
public:
Health(QGraphicsItem *parent = 0);
void decrease();
int getHealth();
private:
int health;
};
| 13.764706 | 40 | 0.632479 |
3bf36ce9bce416775135d58e4c2bcb1792f0315b | 11,624 | h | C | starter-stack/Lib/rcsc/player/body_sensor.h | InsperDynamics/Soccer-Simulation-2D | a548d576ca4ab2a8f797810f5e23875c45cef73f | [
"Apache-2.0"
] | null | null | null | starter-stack/Lib/rcsc/player/body_sensor.h | InsperDynamics/Soccer-Simulation-2D | a548d576ca4ab2a8f797810f5e23875c45cef73f | [
"Apache-2.0"
] | null | null | null | starter-stack/Lib/rcsc/player/body_sensor.h | InsperDynamics/Soccer-Simulation-2D | a548d576ca4ab2a8f797810f5e23875c45cef73f | [
"Apache-2.0"
] | null | null | null | // -*-c++-*-
/*!
\file body_sensor.h
\brief sense_body sensor Header File
*/
/*
*Copyright:
Copyright (C) Hidehisa AKIYAMA
This code is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
vers... | 23.578093 | 80 | 0.604439 |
7e86be6f524b25045a9fa6c02664650e93e338a1 | 3,238 | h | C | Motion/Processing/State_Control/c_motion_state_control.h | shooter64738/Talos-PMC | 370d34363e23ec46109f3f0737be60e4e6013832 | [
"MIT"
] | null | null | null | Motion/Processing/State_Control/c_motion_state_control.h | shooter64738/Talos-PMC | 370d34363e23ec46109f3f0737be60e4e6013832 | [
"MIT"
] | null | null | null | Motion/Processing/State_Control/c_motion_state_control.h | shooter64738/Talos-PMC | 370d34363e23ec46109f3f0737be60e4e6013832 | [
"MIT"
] | null | null | null | #ifndef __C_MOTION_CORE_STATE_CONTROLLER_H
#define __C_MOTION_CORE_STATE_CONTROLLER_H
#include <stdint.h>
#include "../../../physical_machine_parameters.h"
#include "../../../_bit_flag_control.h"
#include "../../Core/support_items/s_complete_block_stats.h"
/*
All control flags for motion are in here. If its a flag ... | 20.890323 | 96 | 0.632798 |
cc337b7a9bde820c8fc1be47b645777e5e349550 | 2,110 | c | C | code/sources/orion/uniform.c | Gentil-N/arcade-toolkit | 6a6a6d11d01e501cd09a53be0ca575068521976c | [
"MIT"
] | null | null | null | code/sources/orion/uniform.c | Gentil-N/arcade-toolkit | 6a6a6d11d01e501cd09a53be0ca575068521976c | [
"MIT"
] | null | null | null | code/sources/orion/uniform.c | Gentil-N/arcade-toolkit | 6a6a6d11d01e501cd09a53be0ca575068521976c | [
"MIT"
] | null | null | null | #include "orn_core.h"
OrnUniform *ornCreateUniform(OrnDevice *device, const OrnUniformSettings *settings)
{
OrnUniform *uniform = (OrnUniform *)atk_alloc(sizeof(struct OrnUniform));
atk_api_assert(uniform != NULL);
VkDescriptorSetAllocateInfo descriptor_alloc_info = vkfDescriptorSetAllocateInfo(
... | 51.463415 | 143 | 0.755924 |
046253ad94288df7093c30e617281b5fb82ff329 | 83,318 | c | C | ImperasLib/source/renesas.ovpworld.org/processor/v850/1.0/model/v850MorphUser.c | emanuellucas2/OVPsimProject | 6c9f5bfaaa135fa63d63746bacf5759c6d6c0e9e | [
"TCL"
] | null | null | null | ImperasLib/source/renesas.ovpworld.org/processor/v850/1.0/model/v850MorphUser.c | emanuellucas2/OVPsimProject | 6c9f5bfaaa135fa63d63746bacf5759c6d6c0e9e | [
"TCL"
] | null | null | null | ImperasLib/source/renesas.ovpworld.org/processor/v850/1.0/model/v850MorphUser.c | emanuellucas2/OVPsimProject | 6c9f5bfaaa135fa63d63746bacf5759c6d6c0e9e | [
"TCL"
] | null | null | null | /*
* Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 27.299476 | 137 | 0.649872 |
78ea0091814345ef1b59c9b4a42b00e363dd9305 | 747 | h | C | KROSS/src/Kross/Renderer/Renderer.h | WillianKoessler/KROSS-ENGINE | 0e680b455ffd071565fe8b99343805ad16ca1e91 | [
"Apache-2.0"
] | null | null | null | KROSS/src/Kross/Renderer/Renderer.h | WillianKoessler/KROSS-ENGINE | 0e680b455ffd071565fe8b99343805ad16ca1e91 | [
"Apache-2.0"
] | null | null | null | KROSS/src/Kross/Renderer/Renderer.h | WillianKoessler/KROSS-ENGINE | 0e680b455ffd071565fe8b99343805ad16ca1e91 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Kross/Core/Core.h"
#include "RendererAPI.h"
//#include "Cameras/Camera.h"
//#include "Shaders.h"
#include "RendererCommands.h"
namespace Kross {
class KAPI Renderer {
public:
static constexpr uint8_t TWO_D = 2;
static constexpr uint8_t THREE_D = 3;
static constexpr uint8_t VOXEL = 4;
... | 29.88 | 125 | 0.717537 |
2b9ff2dd0749a11d140afe1607b665417268c684 | 1,318 | h | C | src/sources/FilterCore.public_methods_declarations.h | Acidburn0zzz/oyranos | b87dcf0e7a88e9b2f5f6c2e3314ddbd3af045575 | [
"BSD-3-Clause"
] | 15 | 2015-03-06T07:21:55.000Z | 2021-12-31T02:07:10.000Z | src/sources/FilterCore.public_methods_declarations.h | Acidburn0zzz/oyranos | b87dcf0e7a88e9b2f5f6c2e3314ddbd3af045575 | [
"BSD-3-Clause"
] | 64 | 2015-02-09T11:07:32.000Z | 2022-03-26T13:03:05.000Z | src/sources/FilterCore.public_methods_declarations.h | Acidburn0zzz/oyranos | b87dcf0e7a88e9b2f5f6c2e3314ddbd3af045575 | [
"BSD-3-Clause"
] | 7 | 2015-05-23T23:17:04.000Z | 2021-06-24T13:27:30.000Z | OYAPI const char * OYEXPORT
oyFilterCore_GetCategory (
oyFilterCore_s * filter,
int nontranslated );
OYAPI const char * OYEXPORT
oyFilterCore_GetRegistration (
... | 50.692308 | 75 | 0.444613 |
783baa6aba8bec0280767b77604d55908b8e7a55 | 483 | h | C | manager/PKPassManager.h | wwwins/objc-utils | fa2d5a8941c0c33a5bc8d862f8ac73c699445790 | [
"MIT"
] | 4 | 2015-09-06T08:45:12.000Z | 2016-03-28T06:16:20.000Z | manager/PKPassManager.h | wwwins/objc-utils | fa2d5a8941c0c33a5bc8d862f8ac73c699445790 | [
"MIT"
] | null | null | null | manager/PKPassManager.h | wwwins/objc-utils | fa2d5a8941c0c33a5bc8d862f8ac73c699445790 | [
"MIT"
] | null | null | null | //
// PKPassManager.h
//
// Created by wwwins on 2014/8/7.
// Copyright (c) 2014年 isobar. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "PassKit/PassKit.h"
@interface PKPassManager : NSObject
@property (strong, nonatomic) PKPassLibrary *passLib;
+ (PKPassManager *)sharedManager;
- (void)show... | 21.954545 | 85 | 0.747412 |
4d9bce2a6985ec2c9c419ec1a6dccd8c6f766242 | 1,347 | c | C | First course/2nd semester/C-language start/2nd lab/lab_02_0_3.c | tekcellat/University | 9a0196a45c9cf33ac58018d636c3e4857eba0330 | [
"MIT"
] | null | null | null | First course/2nd semester/C-language start/2nd lab/lab_02_0_3.c | tekcellat/University | 9a0196a45c9cf33ac58018d636c3e4857eba0330 | [
"MIT"
] | null | null | null | First course/2nd semester/C-language start/2nd lab/lab_02_0_3.c | tekcellat/University | 9a0196a45c9cf33ac58018d636c3e4857eba0330 | [
"MIT"
] | 7 | 2020-12-04T07:26:46.000Z | 2022-03-08T17:47:47.000Z | //Вычисляет точное и приближенное значение функции f(x) = e^x с точностью eps
#include <stdio.h>
#include <math.h>
#define SUCCESS 0
#define UNSUCCESS 1
//Возвращает s - значение ряда в точке x с точностью eps
float series_value(float x, float eps)
{
float s = 0;
float last_term = 1; //последни... | 20.723077 | 78 | 0.533036 |
a23075d9d27776b5f3b274f77999e7d8be1665d5 | 207 | h | C | FlowLayout/FlowLayout/ViewController.h | chenchenlove/FlowLayout | e828f0c868288e77ab32d9f03ebf2d7b2f225d8d | [
"MIT"
] | null | null | null | FlowLayout/FlowLayout/ViewController.h | chenchenlove/FlowLayout | e828f0c868288e77ab32d9f03ebf2d7b2f225d8d | [
"MIT"
] | null | null | null | FlowLayout/FlowLayout/ViewController.h | chenchenlove/FlowLayout | e828f0c868288e77ab32d9f03ebf2d7b2f225d8d | [
"MIT"
] | null | null | null | //
// ViewController.h
// FlowLayout
//
// Created by smith on 16/4/27.
// Copyright © 2016年 smith. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 12.9375 | 49 | 0.681159 |
9e43a15428b1c68ba3ced315bd233e8f233dda49 | 2,323 | h | C | remoting/base/scoped_thread_proxy.h | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | remoting/base/scoped_thread_proxy.h | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | remoting/base/scoped_thread_proxy.h | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_BASE_SCOPED_THREAD_PROXY_H_
#define REMOTING_BASE_SCOPED_THREAD_PROXY_H_
#include "base/callback_forward.h"
#include "base/message_l... | 31.391892 | 78 | 0.706845 |
9af3cba02a48e78078ae6f626da02a923c2da366 | 372 | h | C | PrivateFrameworks/CoreCDP.framework/CDPFollowUpController.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/CoreCDP.framework/CDPFollowUpController.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/CoreCDP.framework/CDPFollowUpController.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/CoreCDP.framework/CoreCDP
*/
@interface CDPFollowUpController : NSObject {
CDPDaemonConnection * _daemonConn;
}
- (void).cxx_destruct;
- (bool)clearFollowUpWithContext:(id)arg1 error:(id*)arg2;
- (id)init;
- (void)invalidate;
- (bool)post... | 23.25 | 69 | 0.75 |
fa4f0bfdf27ca47bbf374ea0c0ea818f3463f88f | 664 | h | C | csapex_math/include/csapex_math/serialization/binary_io.h | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 2 | 2016-09-02T15:33:22.000Z | 2019-05-06T22:09:33.000Z | csapex_math/include/csapex_math/serialization/binary_io.h | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 1 | 2021-02-14T19:53:30.000Z | 2021-02-14T19:53:30.000Z | csapex_math/include/csapex_math/serialization/binary_io.h | AdrianZw/csapex_core_plugins | 1b23c90af7e552c3fc37c7dda589d751d2aae97f | [
"BSD-3-Clause"
] | 6 | 2016-10-12T00:55:23.000Z | 2021-02-10T17:49:25.000Z | #ifndef BINARY_IO_H
#define BINARY_IO_H
/// COMPONENT
#include <csapex_math/model/matrix.h>
#include <csapex_math/model/vector.h>
/// PROJECT
#include <csapex/serialization/serialization_buffer.h>
namespace csapex
{
SerializationBuffer& operator<<(SerializationBuffer& data, const math::linear::Vector& vector);
const... | 30.181818 | 101 | 0.784639 |
36981f3b39b0ad7ce982e9c50e24be1e9d07042d | 561 | h | C | Framer Inventory.sketchplugin/Contents/Sketch/RegisterInventory.framework/Versions/A/Headers/RegisterInventory.h | timurnurutdinov/export-states-for-framer | 9dbb6cb172e33c5ace3b0eec6343518893590624 | [
"Apache-2.0"
] | 305 | 2015-09-07T08:40:57.000Z | 2020-10-10T20:28:40.000Z | Framer Inventory.sketchplugin/Contents/Sketch/RegisterInventory.framework/Versions/A/Headers/RegisterInventory.h | timurnurutdinov/export-states-for-framer | 9dbb6cb172e33c5ace3b0eec6343518893590624 | [
"Apache-2.0"
] | 16 | 2015-09-13T19:08:55.000Z | 2018-03-09T16:51:07.000Z | Framer Inventory.sketchplugin/Contents/Sketch/RegisterInventory.framework/Versions/A/Headers/RegisterInventory.h | timurnurutdinov/export-states-for-framer | 9dbb6cb172e33c5ace3b0eec6343518893590624 | [
"Apache-2.0"
] | 12 | 2015-09-07T09:36:30.000Z | 2018-02-14T16:33:35.000Z | //
// RegisterInventory.h
// RegisterInventory
//
// Created by Timur Nurutdinov on 2/18/17.
// Copyright © 2017 Timur Nurutdinov. All rights reserved.
//
#import <Cocoa/Cocoa.h>
//! Project version number for RegisterInventory.
FOUNDATION_EXPORT double RegisterInventoryVersionNumber;
//! Project version string ... | 28.05 | 142 | 0.786096 |
d2513ab13d4b084806b3b88d44ffcb062bf08833 | 424,449 | h | C | proteus/mprans/RANS3PF2D.h | acatwithacomputer/proteus | 80dfad95da6ab4d18a88a035f55c26b03540a864 | [
"MIT"
] | null | null | null | proteus/mprans/RANS3PF2D.h | acatwithacomputer/proteus | 80dfad95da6ab4d18a88a035f55c26b03540a864 | [
"MIT"
] | null | null | null | proteus/mprans/RANS3PF2D.h | acatwithacomputer/proteus | 80dfad95da6ab4d18a88a035f55c26b03540a864 | [
"MIT"
] | null | null | null | #ifndef RANS3PF2D_H
#define RANS3PF2D_H
#include <cmath>
#include <valarray>
#include <iostream>
#include <vector>
#include <set>
#include <cstring>
#include "CompKernel.h"
#include "ModelFactory.h"
#include "SedClosure.h"
#include "equivalent_polynomials.h"
#include "ArgumentsDict.h"
const double DM=0.0;//1-mesh cons... | 58.215471 | 334 | 0.457176 |
2cd61ee2b2735d2569192d944778c4d1ce6c5be9 | 333 | c | C | 78.c | MdMushfikurTalukdar/c-program | 399397744f84f61b7d8f2d1370e23fba9aac84f6 | [
"MIT"
] | null | null | null | 78.c | MdMushfikurTalukdar/c-program | 399397744f84f61b7d8f2d1370e23fba9aac84f6 | [
"MIT"
] | null | null | null | 78.c | MdMushfikurTalukdar/c-program | 399397744f84f61b7d8f2d1370e23fba9aac84f6 | [
"MIT"
] | null | null | null | #include<stdio.h>
int main()
{
int i,numb;
char str[10000];
printf("Enter string 1 : ");
gets(str);
printf("\nEnter number of characters : ");
scanf("%d",&numb);
printf("\nString 2 is : ");
for(i=0; i<numb; i++)
{
printf("%c",str[i]);
}
r... | 13.32 | 47 | 0.45045 |
8285aee522d3f26ee0131db3b37dbddea61e6ea7 | 14,116 | c | C | src/backend/storage/ipc/shmem.c | violet2016/gpdb | 2698c82347738c0b8491efa71d4d767f12f9e2b5 | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2017-11-28T03:13:05.000Z | 2017-11-28T03:13:05.000Z | src/backend/storage/ipc/shmem.c | violet2016/gpdb | 2698c82347738c0b8491efa71d4d767f12f9e2b5 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/backend/storage/ipc/shmem.c | violet2016/gpdb | 2698c82347738c0b8491efa71d4d767f12f9e2b5 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | /*-------------------------------------------------------------------------
*
* shmem.c
* create shared memory and initialize shared memory data structures.
*
* Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* I... | 30.356989 | 98 | 0.700694 |
9647c7e7e75a26f0ce05190dc55ca254a63bafc2 | 297 | h | C | EXIT/EXIT_Init.h | GeorgeAyman2021/BingBong_Game | 682457d5a26f7f90e2cc1e4495801738631dce27 | [
"Apache-2.0"
] | null | null | null | EXIT/EXIT_Init.h | GeorgeAyman2021/BingBong_Game | 682457d5a26f7f90e2cc1e4495801738631dce27 | [
"Apache-2.0"
] | null | null | null | EXIT/EXIT_Init.h | GeorgeAyman2021/BingBong_Game | 682457d5a26f7f90e2cc1e4495801738631dce27 | [
"Apache-2.0"
] | null | null | null | #ifndef _EXIT_INIT_H
#define _EXIT_INIT_H
void EXIT0_VidInit(void);
void GIE_Enable(void);
void GIE_Disable(void);
void EXIT0_Enable(void);
void EXIT0_Disable(void);
void EXIT1_Enable(void);
void EXIT1_Disable(void);
void EXIT2_Enable(void);
void EXIT2_Disable(void);
#endif
| 16.5 | 26 | 0.747475 |
324c965cd182014274c94e810b63671003071840 | 19,841 | c | C | Core/Src/stm32f1xx_it.c | baiyanlali/CS301-EmbeddedSystem-Project1-Questioner | 535452dff0f3e41afb5ba3b7f89d0d8dcd5f1b94 | [
"MIT"
] | null | null | null | Core/Src/stm32f1xx_it.c | baiyanlali/CS301-EmbeddedSystem-Project1-Questioner | 535452dff0f3e41afb5ba3b7f89d0d8dcd5f1b94 | [
"MIT"
] | null | null | null | Core/Src/stm32f1xx_it.c | baiyanlali/CS301-EmbeddedSystem-Project1-Questioner | 535452dff0f3e41afb5ba3b7f89d0d8dcd5f1b94 | [
"MIT"
] | null | null | null | /* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32f1xx_it.c
* @brief Interrupt Service Routines.
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... | 30.76124 | 114 | 0.615695 |
65da67fb1f0818362f284f88e801671bb9103580 | 4,360 | c | C | src/main.c | eratsu/zezeniadumper | c536d93f94a796ebb701bb059ff2aeebfd1de87f | [
"MIT"
] | 2 | 2020-10-06T11:54:15.000Z | 2020-10-12T12:35:29.000Z | src/main.c | eratsu/zezeniadumper | c536d93f94a796ebb701bb059ff2aeebfd1de87f | [
"MIT"
] | null | null | null | src/main.c | eratsu/zezeniadumper | c536d93f94a796ebb701bb059ff2aeebfd1de87f | [
"MIT"
] | 2 | 2020-10-02T15:40:43.000Z | 2020-10-02T17:28:49.000Z | #include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include "d_bitmap_v4.h"
int main()
{
FILE *fp = NULL, // file pointer for the zezena.gfx
*fb = NULL; // file pointer for each bmp created
char name[100]; // buffer to store the filename of each bmp
long offset = 0; // offset in decimal for debuggin... | 29.066667 | 161 | 0.639679 |
d65c5a53b7c410c2bbd843aea4e7087c2487597b | 292 | h | C | lib/libc/arch/mips64/gdtoa/gd_qnan.h | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 2 | 2020-04-15T13:39:01.000Z | 2020-08-28T01:27:00.000Z | lib/libc/arch/mips64/gdtoa/gd_qnan.h | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2018-08-21T03:56:33.000Z | 2018-08-21T03:56:33.000Z | lib/libc/arch/mips64/gdtoa/gd_qnan.h | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2020-08-28T01:25:41.000Z | 2020-08-28T01:25:41.000Z | #define f_QNAN 0x7fbfffff
#define d_QNAN0 0x7ff7ffff
#define d_QNAN1 0xffffffff
#define ld_QNAN0 0x7fff8000
#define ld_QNAN1 0x0
#define ld_QNAN2 0x0
#define ld_QNAN3 0x0
#define ldus_QNAN0 0x7fff
#define ldus_QNAN1 0x8000
#define ldus_QNAN2 0x0
#define ldus_QNAN3 0x0
#define ldus_QNAN4 0x0
| 22.461538 | 27 | 0.835616 |
681aac8eea82a2e679d33574e85368f88502616b | 8,043 | c | C | test/test_logl.c | calebcase/qdm | 2ee95bec6c8be64f69e231c78f2be5fce3509c67 | [
"Apache-2.0"
] | null | null | null | test/test_logl.c | calebcase/qdm | 2ee95bec6c8be64f69e231c78f2be5fce3509c67 | [
"Apache-2.0"
] | 3 | 2020-03-06T18:09:06.000Z | 2020-03-22T20:22:53.000Z | test/test_logl.c | calebcase/qdm | 2ee95bec6c8be64f69e231c78f2be5fce3509c67 | [
"Apache-2.0"
] | null | null | null | #include <munit.h>
#include <qdm.h>
#include "test.h"
static
MunitResult
test_qdm_find_tau(
MUNIT_UNUSED const MunitParameter params[],
MUNIT_UNUSED void* fixture
)
{
int status = 0;
double v = 13.2690000000000001;
size_t spline_df = 3;
double knots_data[] = {
0, 0, 0,
0.151052631578947... | 24.978261 | 136 | 0.66132 |
d05a9158743d253cf35f615fc2dae3b65149db3e | 556 | h | C | KayzrStaff_Shared/KayzrStaff_Shared.h | Mafken/KayzrStaff-IOS | 00ac0a4889ef381d0b8e247d6ce0e73144da16fe | [
"BSD-2-Clause"
] | null | null | null | KayzrStaff_Shared/KayzrStaff_Shared.h | Mafken/KayzrStaff-IOS | 00ac0a4889ef381d0b8e247d6ce0e73144da16fe | [
"BSD-2-Clause"
] | null | null | null | KayzrStaff_Shared/KayzrStaff_Shared.h | Mafken/KayzrStaff-IOS | 00ac0a4889ef381d0b8e247d6ce0e73144da16fe | [
"BSD-2-Clause"
] | 1 | 2018-01-10T21:10:52.000Z | 2018-01-10T21:10:52.000Z | //
// KayzrStaff_Shared.h
// KayzrStaff_Shared
//
// Created by Jens Leirens on 05/12/2017.
// Copyright © 2017 Jens Leirens. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for KayzrStaff_Shared.
FOUNDATION_EXPORT double KayzrStaff_SharedVersionNumber;
//! Project version string for K... | 27.8 | 142 | 0.784173 |
fdb3762b8376bf1f99efac56a05797e2b89c7647 | 737 | h | C | src/util/util_math.h | oashnic/dxvk | 78ef4cfd92cb7f448292aaca83091914ab271257 | [
"Zlib"
] | 1,015 | 2019-02-07T16:57:51.000Z | 2022-03-23T23:45:02.000Z | src/util/util_math.h | oashnic/dxvk | 78ef4cfd92cb7f448292aaca83091914ab271257 | [
"Zlib"
] | 446 | 2019-03-01T19:13:27.000Z | 2022-03-03T01:52:17.000Z | src/util/util_math.h | oashnic/dxvk | 78ef4cfd92cb7f448292aaca83091914ab271257 | [
"Zlib"
] | 74 | 2019-02-13T02:53:39.000Z | 2021-12-28T05:23:50.000Z | #pragma once
#include <cmath>
namespace dxvk {
constexpr size_t CACHE_LINE_SIZE = 64;
template<typename T>
constexpr T clamp(T n, T lo, T hi) {
if (n < lo) return lo;
if (n > hi) return hi;
return n;
}
template<typename T, typename U = T>
constexpr T align(T what, U to) {
return (... | 21.676471 | 65 | 0.609227 |
659dd421023e803efd289dd3e7253cba2e8ade86 | 21,206 | c | C | tools/psp-prxgen.c | erique/pspsdk | e6b7dd27dc044f8b6b05ea0c9494068c29e72e40 | [
"BSD-3-Clause"
] | null | null | null | tools/psp-prxgen.c | erique/pspsdk | e6b7dd27dc044f8b6b05ea0c9494068c29e72e40 | [
"BSD-3-Clause"
] | null | null | null | tools/psp-prxgen.c | erique/pspsdk | e6b7dd27dc044f8b6b05ea0c9494068c29e72e40 | [
"BSD-3-Clause"
] | null | null | null | /*
* PSP Software Development Kit - http://www.pspdev.org
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* psp-prxgen.c - Simple program to build a PRX file (and strip at the same time)
*
* Copyright (c) 2005 J... | 22.511677 | 114 | 0.645478 |
a9fa90f24ba4ed3eb19343aae00e29d862b396a7 | 6,310 | c | C | Versionen/2021_06_15/RMF/rmf_ws/install/rmf_building_map_msgs/include/rmf_building_map_msgs/msg/detail/place__type_support.c | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/RMF/rmf_ws/install/rmf_building_map_msgs/include/rmf_building_map_msgs/msg/detail/place__type_support.c | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | null | null | null | Versionen/2021_06_15/RMF/rmf_ws/install/rmf_building_map_msgs/include/rmf_building_map_msgs/msg/detail/place__type_support.c | flitzmo-hso/flitzmo_agv_control_system | 99e8006920c03afbd93e4c7d38b4efff514c7069 | [
"MIT"
] | 2 | 2021-06-21T07:32:09.000Z | 2021-08-17T03:05:38.000Z | // generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em
// with input from rmf_building_map_msgs:msg/Place.idl
// generated code does not contain a copyright notice
#include <stddef.h>
#include "rmf_building_map_msgs/msg/detail/place__rosidl_typesupport_introspection_c.h"
#include "rmf_bui... | 39.192547 | 136 | 0.752298 |
aa66e0c3fa6ff36a5a69afd7f68cdd6a466744b0 | 1,644 | h | C | src/lib/crypt_ops/compat_openssl.h | 47-studio-org/-.-M3-0N-.- | 2344e854cb46942e573bb342cd76808c5819fd9e | [
"BSD-2-Clause-NetBSD"
] | 2 | 2021-09-08T18:47:51.000Z | 2021-11-16T11:28:46.000Z | src/lib/crypt_ops/compat_openssl.h | 47-studio-org/-.-M3-0N-.- | 2344e854cb46942e573bb342cd76808c5819fd9e | [
"BSD-2-Clause-NetBSD"
] | null | null | null | src/lib/crypt_ops/compat_openssl.h | 47-studio-org/-.-M3-0N-.- | 2344e854cb46942e573bb342cd76808c5819fd9e | [
"BSD-2-Clause-NetBSD"
] | 1 | 2021-03-16T01:53:19.000Z | 2021-03-16T01:53:19.000Z | /* Copyright (c) 2001, Matej Pfajfar.
* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
* Copyright (c) 2007-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#ifndef TOR_COMPAT_OPENSSL_H
#define TOR_COMPAT_OPENSSL_H
#include "orconfi... | 30.444444 | 76 | 0.748175 |
c87b3772f3eb632712966b9a58975e04e26f0f71 | 145 | h | C | cuda/cuda_omp45_coexisting/kernels.h | TApplencourt/FGPU | a6a93229af25589ffdaf98c08c590772c5369216 | [
"BSD-3-Clause"
] | 31 | 2019-03-18T23:55:19.000Z | 2022-01-07T08:37:48.000Z | cuda/cuda_omp45_coexisting/kernels.h | TApplencourt/FGPU | a6a93229af25589ffdaf98c08c590772c5369216 | [
"BSD-3-Clause"
] | 6 | 2019-03-13T20:33:03.000Z | 2021-11-15T17:02:49.000Z | cuda/cuda_omp45_coexisting/kernels.h | LLNL/FGPU | cf1c651771bcf55449614f62eab057f25c44c35b | [
"BSD-3-Clause"
] | 14 | 2019-05-24T17:22:36.000Z | 2022-01-07T08:40:34.000Z | // In saxpy.cuf
extern "C" void testsaxpy_cudafortran();
// In saxpy.cu
void testSaxpy_cudac(void);
// In saxpy.c
void testdaxpy_omp45(void);
| 14.5 | 40 | 0.724138 |
c8f3010760fcd08cb5526753cb1c06f0614c94ee | 1,376 | h | C | psx/octoshock/psx/input/dualshock.h | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 1,414 | 2015-06-28T09:57:51.000Z | 2021-10-14T03:51:10.000Z | psx/octoshock/psx/input/dualshock.h | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 2,369 | 2015-06-25T01:45:44.000Z | 2021-10-16T08:44:18.000Z | psx/octoshock/psx/input/dualshock.h | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 430 | 2015-06-29T04:28:58.000Z | 2021-10-05T18:24:17.000Z | /******************************************************************************/
/* Mednafen Sony PS1 Emulation Module */
/******************************************************************************/
/* dualshock.h:
** Copyright (C) 2012-2016 Mednafen Team
**
** This program ... | 29.276596 | 80 | 0.62718 |
ece1b01fd26b94e181ec126f2a22b60abcd399be | 2,117 | h | C | extensions/common/feature_switch.h | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 4 | 2017-04-05T01:51:34.000Z | 2018-02-15T03:11:54.000Z | extensions/common/feature_switch.h | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | extensions/common/feature_switch.h | cvsuser-chromium/chromium | acb8e8e4a7157005f527905b48dd48ddaa3b863a | [
"BSD-3-Clause"
] | 4 | 2017-04-05T01:52:03.000Z | 2022-02-13T17:58:45.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_COMMON_FEATURE_SWITCH_H_
#define EXTENSIONS_COMMON_FEATURE_SWITCH_H_
#include <string>
#include "base/basictypes.h"
class CommandLin... | 26.4625 | 73 | 0.747756 |
7f4991c4f556cfe4b87427ccfcdaa5ab6807211d | 9,437 | c | C | portable/oWatcom/16BitDOS/common/portcomn.c | Asif198788/FreeRTOS-Kernel | ffb83cbaaedcefecaba3c9f5e6956c92a9140f6f | [
"MIT"
] | null | null | null | portable/oWatcom/16BitDOS/common/portcomn.c | Asif198788/FreeRTOS-Kernel | ffb83cbaaedcefecaba3c9f5e6956c92a9140f6f | [
"MIT"
] | 1 | 2022-01-16T02:06:11.000Z | 2022-01-16T02:06:11.000Z | portable/oWatcom/16BitDOS/common/portcomn.c | Asif198788/FreeRTOS-Kernel | ffb83cbaaedcefecaba3c9f5e6956c92a9140f6f | [
"MIT"
] | null | null | null | <<<<<<< HEAD
/*
* FreeRTOS Kernel <DEVELOPMENT BRANCH>
* Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the... | 32.881533 | 107 | 0.690368 |
fa3b7b1d8c2b28a8f7a74c2551daa97a2e54694b | 5,526 | h | C | hphp/util/multibitset.h | jeffomatic/hhvm | afd1a0c089aff36a31b8990490366606694a2842 | [
"PHP-3.01",
"Zend-2.0"
] | 7 | 2015-08-28T06:20:50.000Z | 2021-11-08T09:48:24.000Z | hphp/util/multibitset.h | alisha/hhvm | 523dc33b444bd5b59695eff2b64056629b0ed523 | [
"PHP-3.01",
"Zend-2.0"
] | 2 | 2020-10-11T22:54:12.000Z | 2021-07-20T22:12:10.000Z | hphp/util/multibitset.h | alisha/hhvm | 523dc33b444bd5b59695eff2b64056629b0ed523 | [
"PHP-3.01",
"Zend-2.0"
] | 3 | 2018-01-23T20:44:59.000Z | 2021-05-06T12:45:31.000Z | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 26.956098 | 79 | 0.529678 |
36af21a84fea318317d7066b369c3082ef6cd666 | 5,287 | c | C | Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15_reordered.c | robgal519/MT_uart1_HAL | 70d2c7fd0c5f3f6752aad9905b25847dc032da90 | [
"MIT"
] | 128 | 2018-10-29T04:11:47.000Z | 2022-03-07T02:19:14.000Z | Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15_reordered.c | robgal519/MT_uart1_HAL | 70d2c7fd0c5f3f6752aad9905b25847dc032da90 | [
"MIT"
] | 68 | 2020-04-29T08:52:39.000Z | 2022-03-25T08:55:25.000Z | Drivers/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15_reordered.c | robgal519/MT_uart1_HAL | 70d2c7fd0c5f3f6752aad9905b25847dc032da90 | [
"MIT"
] | 118 | 2018-10-29T08:43:57.000Z | 2022-01-07T06:49:25.000Z | /*
* Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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
*
* ww... | 38.035971 | 87 | 0.497825 |
3221de469bff8f2d9b0f96733a5d50a120db85ff | 7,281 | h | C | src/public/dispcoll.h | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/public/dispcoll.h | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/public/dispcoll.h | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef DISPCOLL_H
#define DISPCOLL_H
#pragma once
#include "mathlib/vector.h"
class CCoreDispInfo;
//=================... | 29.240964 | 136 | 0.553907 |
9a6983eeb3d9ff7513b518db1ad844dabe84fa8b | 2,662 | h | C | sdl_core/src/thirdPartyLibs/apache-log4cxx-win32-0.10.0/apache-log4cxx-0.10.0/src/main/include/log4cxx/rolling/manualtriggeringpolicy.h | APCVSRepo/android_packet | 5d4237234656b777cd9b0cae4731afea51986582 | [
"BSD-3-Clause"
] | 4 | 2016-09-21T12:36:24.000Z | 2020-10-29T01:45:03.000Z | sdl_core/src/thirdPartyLibs/apache-log4cxx-win32-0.10.0/apache-log4cxx-0.10.0/src/main/include/log4cxx/rolling/manualtriggeringpolicy.h | APCVSRepo/android_packet | 5d4237234656b777cd9b0cae4731afea51986582 | [
"BSD-3-Clause"
] | 7 | 2016-06-01T01:21:44.000Z | 2017-11-03T08:18:23.000Z | sdl_core/src/thirdPartyLibs/apache-log4cxx-win32-0.10.0/apache-log4cxx-0.10.0/src/main/include/log4cxx/rolling/manualtriggeringpolicy.h | APCVSRepo/android_packet | 5d4237234656b777cd9b0cae4731afea51986582 | [
"BSD-3-Clause"
] | 8 | 2017-08-29T10:51:50.000Z | 2021-03-24T10:19:11.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | 36.465753 | 80 | 0.637115 |
3c347e4b47b153bd203ce2c95d241759c36caf6f | 5,861 | c | C | jni/proj4/src/pj_initcache.c | maru2020/RtkGps | 11bd70de57c1548f2b76a7ded06fc92057e21863 | [
"BSD-2-Clause"
] | 162 | 2015-01-11T09:30:42.000Z | 2022-03-31T20:12:33.000Z | jni/proj4/src/pj_initcache.c | maru2020/RtkGps | 11bd70de57c1548f2b76a7ded06fc92057e21863 | [
"BSD-2-Clause"
] | 41 | 2015-02-10T10:23:32.000Z | 2021-11-18T03:14:48.000Z | jni/proj4/src/pj_initcache.c | maru2020/RtkGps | 11bd70de57c1548f2b76a7ded06fc92057e21863 | [
"BSD-2-Clause"
] | 115 | 2015-01-24T21:08:29.000Z | 2022-02-12T08:58:09.000Z | /******************************************************************************
* Project: PROJ.4
* Purpose: init file definition cache.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
******************************************************************************
* Copyright (c) 2009, Frank Warmerdam
*
* P... | 31.681081 | 79 | 0.478246 |
19298b76c22897025f2f83b6ca924cd2d66b2d88 | 540 | h | C | sensors/private_include/sc030iot.h | WangYuxin-esp/esp32-camera | 1ac48e5397ee22a59a18a314c4acf44c23dfe946 | [
"Apache-2.0"
] | null | null | null | sensors/private_include/sc030iot.h | WangYuxin-esp/esp32-camera | 1ac48e5397ee22a59a18a314c4acf44c23dfe946 | [
"Apache-2.0"
] | null | null | null | sensors/private_include/sc030iot.h | WangYuxin-esp/esp32-camera | 1ac48e5397ee22a59a18a314c4acf44c23dfe946 | [
"Apache-2.0"
] | null | null | null | /*
*
* SC030IOT DVP driver.
*
*/
#ifndef __SC030IOT_H__
#define __SC030IOT_H__
#include "sensor.h"
/**
* @brief Detect sensor pid
*
* @param slv_addr SCCB address
* @param id Detection result
* @return
* 0: Can't detect this sensor
* Nonzero: This sensor has been detected
*/
int sc030iot_det... | 16.875 | 51 | 0.672222 |
30714073e340633a75f14c9a45a57c07ead047ba | 3,336 | h | C | cryptoTools/Common/Matrix.h | fboemer/cryptoTools | 16a3aa60a1fd1092766a52ead5d780c52b3e39fb | [
"Unlicense"
] | null | null | null | cryptoTools/Common/Matrix.h | fboemer/cryptoTools | 16a3aa60a1fd1092766a52ead5d780c52b3e39fb | [
"Unlicense"
] | null | null | null | cryptoTools/Common/Matrix.h | fboemer/cryptoTools | 16a3aa60a1fd1092766a52ead5d780c52b3e39fb | [
"Unlicense"
] | null | null | null | #pragma once
#ifdef ENABLE_FULL_GSL
#include <cryptoTools/gsl/multi_span>
#else
#include <cryptoTools/gsl/gls-lite.hpp>
#endif
#include <cryptoTools/Common/Defines.h>
#include <cryptoTools/Common/MatrixView.h>
namespace osuCrypto
{
enum class AllocType
{
Uninitialized,
Zeroed
... | 28.512821 | 111 | 0.481715 |
a959510752c3997fafae60a011c8d8d6b30792e5 | 7,116 | h | C | include/QuotasSQL.h | rdiaz-on/one | 4b7f47c7e218dd9aea1b4eb79db5725450bc5644 | [
"Apache-2.0"
] | null | null | null | include/QuotasSQL.h | rdiaz-on/one | 4b7f47c7e218dd9aea1b4eb79db5725450bc5644 | [
"Apache-2.0"
] | null | null | null | include/QuotasSQL.h | rdiaz-on/one | 4b7f47c7e218dd9aea1b4eb79db5725450bc5644 | [
"Apache-2.0"
] | null | null | null | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2020, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | 27.688716 | 80 | 0.493676 |
6560f50e208e6b5599f74db36623d93267bc2077 | 4,009 | h | C | RecoTracker/MkFit/plugins/convertHits.h | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:24:46.000Z | 2021-11-30T16:24:46.000Z | RecoTracker/MkFit/plugins/convertHits.h | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 4 | 2021-11-29T13:57:56.000Z | 2022-03-29T06:28:36.000Z | RecoTracker/MkFit/plugins/convertHits.h | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2022-02-27T06:12:26.000Z | 2022-02-27T06:12:26.000Z | #ifndef RecoTracker_MkFit_plugins_convertHits_h
#define RecoTracker_MkFit_plugins_convertHits_h
#include "DataFormats/Provenance/interface/ProductID.h"
#include "FWCore/Utilities/interface/Likely.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "DataFormats/TrackerCommon/interface/Tracker... | 38.548077 | 119 | 0.5999 |
6597c0182c34983d6938f2bb74ffc3251e4c1aab | 8,739 | c | C | main/ssd1306_spi.c | neocode-mura/TTGO_Camera_v2 | f6ae3742a3fab3947ca8a2d9d210f01ea403ce60 | [
"Apache-2.0"
] | null | null | null | main/ssd1306_spi.c | neocode-mura/TTGO_Camera_v2 | f6ae3742a3fab3947ca8a2d9d210f01ea403ce60 | [
"Apache-2.0"
] | null | null | null | main/ssd1306_spi.c | neocode-mura/TTGO_Camera_v2 | f6ae3742a3fab3947ca8a2d9d210f01ea403ce60 | [
"Apache-2.0"
] | null | null | null | #include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include <driver/spi_master.h>
#include <driver/gpio.h>
#include "esp_log.h"
#include "ssd1306.h"
#include "font8x8_basic.h"
#define tag "SSD1306"
static const int GPIO_MOSI = 13;
static const int GPIO_SCLK = 14;
static const int SPI_Co... | 34.270588 | 98 | 0.752947 |
30fd74dfe17a2d97f4585d2cdba3a111d6d04d8a | 35,193 | c | C | src/distances.c | monsun69/hwloc-1.11.7 | be35615dc5b148fe18a8e8a3cc2f17263c7e047e | [
"BSD-3-Clause"
] | 3 | 2019-03-23T02:57:15.000Z | 2019-03-23T02:57:22.000Z | src/distances.c | monsun69/hwloc-1.11.7 | be35615dc5b148fe18a8e8a3cc2f17263c7e047e | [
"BSD-3-Clause"
] | null | null | null | src/distances.c | monsun69/hwloc-1.11.7 | be35615dc5b148fe18a8e8a3cc2f17263c7e047e | [
"BSD-3-Clause"
] | 1 | 2020-04-03T09:33:12.000Z | 2020-04-03T09:33:12.000Z | /*
* Copyright © 2010-2017 Inria. All rights reserved.
* Copyright © 2011-2012 Université Bordeaux
* Copyright © 2011 Cisco Systems, Inc. All rights reserved.
* See COPYING in top-level directory.
*/
#include <private/autogen/config.h>
#include <hwloc.h>
#include <private/private.h>
#include <private/debug.h>
#... | 32.465867 | 177 | 0.6451 |
c84eac34a46c3cc0705998451888e654ab1d0781 | 26,663 | h | C | udf.h | Randrianasulu/udfclient-termux | be4a1882f0ddc9392a0a760c8093822d9a3af92c | [
"ClArtistic"
] | 1 | 2021-01-22T13:19:22.000Z | 2021-01-22T13:19:22.000Z | udf.h | kan19810606/udfclient | 3bff552dae05664924b1d5afe1adae12c46d4cad | [
"ClArtistic"
] | null | null | null | udf.h | kan19810606/udfclient | 3bff552dae05664924b1d5afe1adae12c46d4cad | [
"ClArtistic"
] | null | null | null | /* $NetBSD$ */
/*
* File "udf.h" is part of the UDFclient toolkit.
* File $Id: udf.h,v 1.149 2015/08/05 18:26:30 reinoud Exp $ $Name: $
*
* Copyright (c) 2003, 2004, 2005, 2006, 2011
* Reinoud Zandijk <reinoud@netbsd.org>
* All rights reserved.
*
* The UDFclient toolkit is distributed under the Clarified Art... | 42.121643 | 275 | 0.756929 |
83af9f8e51849ef4d73f459fd56bd48c72bfd7e1 | 52,860 | h | C | code/include/playfab/PFCharacter.h | jasonsandlin/PlayFabCoreCSdk | ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19 | [
"Apache-2.0"
] | null | null | null | code/include/playfab/PFCharacter.h | jasonsandlin/PlayFabCoreCSdk | ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19 | [
"Apache-2.0"
] | null | null | null | code/include/playfab/PFCharacter.h | jasonsandlin/PlayFabCoreCSdk | ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if !defined(__cplusplus)
#error C++11 required
#endif
#pragma once
#include <playfab/PFCharacterDataModels.h>
#include <playfab/PFGlobal.h>
#include <playfab/PFTitlePlayer.h>
... | 48.185962 | 139 | 0.76224 |
260f55a5eb690375e64b119512c7e3a1044efaf3 | 951 | h | C | src/devices/ml/drivers/aml-nna/t931-nna-regs.h | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/devices/ml/drivers/aml-nna/t931-nna-regs.h | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/devices/ml/drivers/aml-nna/t931-nna-regs.h | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVICES_ML_DRIVERS_AML_NNA_T931_NNA_REGS_H_
#define SRC_DEVICES_ML_DRIVERS_AML_NNA_T931_NNA_REGS_H_
#include <zircon/types.h>
#include <hwreg... | 27.970588 | 73 | 0.722397 |
644fd58f8ae7db6fca7639e8f16e1034c6f8199b | 15,927 | c | C | reader.c | mQwand/Execore_Language | 364f938249e13d84fe51b525a5778d55ef6793d4 | [
"MIT"
] | null | null | null | reader.c | mQwand/Execore_Language | 364f938249e13d84fe51b525a5778d55ef6793d4 | [
"MIT"
] | null | null | null | reader.c | mQwand/Execore_Language | 364f938249e13d84fe51b525a5778d55ef6793d4 | [
"MIT"
] | null | null | null | //
// Created by Legion on 04.12.2021.
//
#include <ctype.h>
#include <string.h>
#include "id.h"
#include "reader.h"
#include "handle_err.h"
#include "src/utils/macro_utils.h"
#define SET_DEFAULT_VALUES(current_reader, source_lib) \
curren... | 27.086735 | 118 | 0.445407 |
6c99c0c148c3c557ef5e288cfb340edb14d537f0 | 1,381 | c | C | examples/bramtest/jni/BtestRequest.c | cambridgehackers/atomicc-examples | d0280629b94185d806637486b8413dd1a806d82a | [
"MIT"
] | null | null | null | examples/bramtest/jni/BtestRequest.c | cambridgehackers/atomicc-examples | d0280629b94185d806637486b8413dd1a806d82a | [
"MIT"
] | null | null | null | examples/bramtest/jni/BtestRequest.c | cambridgehackers/atomicc-examples | d0280629b94185d806637486b8413dd1a806d82a | [
"MIT"
] | null | null | null | #include "GeneratedTypes.h"
int BtestRequest_read ( struct PortalInternal *p, const uint32_t addr )
{
volatile unsigned int* temp_working_addr_start = p->transport->mapchannelReq(p, CHAN_NUM_BtestRequest_read, 2);
volatile unsigned int* temp_working_addr = temp_working_addr_start;
if (p->transport->busywai... | 43.15625 | 116 | 0.75887 |
96f6579a2106e46b8fef409f5248d9a7f02fae0e | 924 | h | C | VisualStudio_Projekt/PCD2ASC/Processing.h | michaelrenoo/Softwareentwicklungsprojekt_WiSe19-20 | 5c10063178ad6b5091b0c96cdfc9165a07592566 | [
"BSD-4-Clause-UC"
] | null | null | null | VisualStudio_Projekt/PCD2ASC/Processing.h | michaelrenoo/Softwareentwicklungsprojekt_WiSe19-20 | 5c10063178ad6b5091b0c96cdfc9165a07592566 | [
"BSD-4-Clause-UC"
] | null | null | null | VisualStudio_Projekt/PCD2ASC/Processing.h | michaelrenoo/Softwareentwicklungsprojekt_WiSe19-20 | 5c10063178ad6b5091b0c96cdfc9165a07592566 | [
"BSD-4-Clause-UC"
] | null | null | null | #pragma once
#include <pcl/io/ply_io.h>
#include <string>
#include "ReferenceModel.h"
using namespace std;
class Processing
{
public:
pcl::PointCloud<pcl::PointXYZ>::Ptr transformationMatrix(pcl::PointCloud<pcl::PointXYZ>::Ptr);
pcl::PointCloud<pcl::PointXYZ>::Ptr plyReader(string&);
pcl::PointCloud<pcl::PointXYZ... | 28 | 125 | 0.75 |
29dcc40b2aed5162bec38df5ffc1eade20c44416 | 717 | h | C | os.h | zorbathut/glorp | f8fc9981f07d9665583d98c92f3db2ced7cb7103 | [
"BSD-3-Clause"
] | 26 | 2015-04-22T04:22:05.000Z | 2021-11-19T16:28:47.000Z | os.h | zorbathut/glorp | f8fc9981f07d9665583d98c92f3db2ced7cb7103 | [
"BSD-3-Clause"
] | null | null | null | os.h | zorbathut/glorp | f8fc9981f07d9665583d98c92f3db2ced7cb7103 | [
"BSD-3-Clause"
] | 2 | 2017-11-27T21:22:25.000Z | 2020-09-24T00:15:26.000Z |
#include <string>
#include <vector>
using namespace std;
namespace Glorp {
// debug-type stuff
void outputDebug(const string &str);
void crash() __attribute__ ((noreturn));
void spawn(const string &exec, const vector<string> ¶ms);
void stackDump(vector<const void*> *data);
void stackOutput();
int e... | 21.088235 | 63 | 0.702929 |
e45b58f1cccec24bd8230444da289acc3e84be31 | 3,166 | c | C | libcss/src/parse/properties/autogenerated_line_height.c | Unix4ever/libcss | 34258bb325c964500e0ae019471bb68ff664dbf6 | [
"MIT"
] | 1 | 2021-04-21T12:41:32.000Z | 2021-04-21T12:41:32.000Z | src/parse/properties/autogenerated_line_height.c | netsurf-plan9/libcss | d1aa279c1c880d4ab9644906acfdc10a3de37f09 | [
"MIT"
] | null | null | null | src/parse/properties/autogenerated_line_height.c | netsurf-plan9/libcss | d1aa279c1c880d4ab9644906acfdc10a3de37f09 | [
"MIT"
] | 1 | 2021-05-05T02:19:29.000Z | 2021-05-05T02:19:29.000Z | /*
* This file was generated by LibCSS gen_parser
*
* Generated from:
*
* line_height:CSS_PROP_LINE_HEIGHT IDENT:( INHERIT: NORMAL:0,LINE_HEIGHT_NORMAL IDENT:) NUMBER:( false:LINE_HEIGHT_NUMBER RANGE:num<0 NUMBER:) LENGTH_UNIT:( UNIT_PX:LINE_HEIGHT_DIMENSION DISALLOW:unit&UNIT_ANGLE||unit&UNIT_TIME||unit&UNIT_FR... | 28.267857 | 267 | 0.708465 |
a078b2e90f6cbfc42b238e74b33579926e134cf1 | 8,006 | h | C | src/c/printing.h | rupea/LabelFilters | a70b1f90427fe44bd43fee842aad34704d51854c | [
"BSD-3-Clause"
] | 4 | 2019-04-23T01:32:47.000Z | 2019-12-12T07:02:52.000Z | src/c/printing.h | rupea/LabelFilters | a70b1f90427fe44bd43fee842aad34704d51854c | [
"BSD-3-Clause"
] | 1 | 2019-01-21T22:05:09.000Z | 2019-03-06T15:37:35.000Z | src/c/printing.h | rupea/LabelFilters | a70b1f90427fe44bd43fee842aad34704d51854c | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (C) 2017 NEC Laboratories America, Inc. ("NECLA"). All rights reserved.
*
* This source code is licensed under the license found in the LICENSE file in
* the root directory of this source tree. An additional grant of patent rights
* can be found in the PATENTS file in the same directory.
*/
#ifndef _... | 46.277457 | 112 | 0.655883 |
48e589abe962472e040116428c9ca1c16ca38920 | 4,553 | h | C | base/fs/rdr2/csc/record.mgr/ntcsc.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/fs/rdr2/csc/record.mgr/ntcsc.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/fs/rdr2/csc/record.mgr/ntcsc.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1989 Microsoft Corporation
Module Name:
ntcsc.h
Abstract:
The global include file including the csc record manager
Author:
Revision History:
--*/
#ifndef __NTCSC_H__
#define __NTCSC_H__
//#include "ntifs.h"
#include "rx.h"
//if this is included from smbmini... | 24.347594 | 103 | 0.685043 |
12302271872c54ac4b928eb845c8ab3401350d34 | 1,036 | c | C | src/main.c | arcticwx/Notetakr | b010bde5668277b56cb684b7ef7081f887c4d9a5 | [
"MIT"
] | null | null | null | src/main.c | arcticwx/Notetakr | b010bde5668277b56cb684b7ef7081f887c4d9a5 | [
"MIT"
] | null | null | null | src/main.c | arcticwx/Notetakr | b010bde5668277b56cb684b7ef7081f887c4d9a5 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
// For future: GUI with SDL?
void write(char **towrite[20], char **filename[]){
FILE *file;
file = fopen(filename, "w+");
fputs(towrite, file);
fclose(file);
}
void read(char **filename){
FILE *file;
char buff[255];
file = fopen... | 22.521739 | 93 | 0.541506 |
8534de5e4af29abd6fafad1699a3708aa0a584a3 | 3,168 | c | C | lib/io/console.c | CunningLearner/lk | badbeb691a805b3f99520299fe60598a6233481f | [
"MIT"
] | 17 | 2020-02-26T22:01:49.000Z | 2022-03-04T16:48:27.000Z | lib/io/console.c | CunningLearner/lk | badbeb691a805b3f99520299fe60598a6233481f | [
"MIT"
] | null | null | null | lib/io/console.c | CunningLearner/lk | badbeb691a805b3f99520299fe60598a6233481f | [
"MIT"
] | 4 | 2020-02-22T17:14:13.000Z | 2021-03-28T17:55:19.000Z | /*
* Copyright (c) 2008-2015 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <lib/io.h>
#include <lk/err.h>
#include <ctype.h>
#include <lk/debug.h>
#include <assert.h>
#include <lk/... | 25.756098 | 89 | 0.724432 |
6ac0ab443ea079658af7c093d7e6b3f08463655e | 6,249 | h | C | Gems/GameState/Code/Source/GameStateSystemComponent.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Gems/GameState/Code/Source/GameStateSystemComponent.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/GameState/Code/Source/GameStateSystemComponent.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <GameState/GameStateRequestBus.h>
#include <AzCore/Component/Component.h>
#in... | 55.300885 | 158 | 0.457193 |
5c1ba13de65be90240d34ad165175094ff00dbf6 | 19,212 | h | C | Fbx-conv/src/readers/FbxAnimation.h | Jin02/SOCEngine | 7a04d914149783f54aecf2fbbc4e78a7325f0fbd | [
"MIT"
] | 14 | 2015-12-24T03:08:59.000Z | 2021-12-13T13:29:07.000Z | Fbx-conv/src/readers/FbxAnimation.h | Jin02/SOCEngine | 7a04d914149783f54aecf2fbbc4e78a7325f0fbd | [
"MIT"
] | 106 | 2015-08-16T10:32:47.000Z | 2018-10-08T19:01:44.000Z | Fbx-conv/src/readers/FbxAnimation.h | Jin02/SOCEngine | 7a04d914149783f54aecf2fbbc4e78a7325f0fbd | [
"MIT"
] | 2 | 2018-03-02T06:17:08.000Z | 2020-02-11T11:19:41.000Z | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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... | 41.856209 | 210 | 0.666667 |
4be56c9d85d7d420d127058ba04c6fb1400c0df3 | 1,234 | h | C | src/SLAM/VisualOdometry/DeviceSpecific/OpenCL/NuiKinfuOpenCLFeedbackFrame.h | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | 3 | 2016-07-14T13:04:35.000Z | 2017-04-01T09:58:27.000Z | src/SLAM/VisualOdometry/DeviceSpecific/OpenCL/NuiKinfuOpenCLFeedbackFrame.h | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | null | null | null | src/SLAM/VisualOdometry/DeviceSpecific/OpenCL/NuiKinfuOpenCLFeedbackFrame.h | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | 1 | 2021-11-21T15:33:35.000Z | 2021-11-21T15:33:35.000Z | #pragma once
#include "../NuiKinfuFeedbackFrame.h"
#include "OpenCLUtilities/NuiOpenCLUtil.h"
class NuiKinfuOpenCLFeedbackFrame : public NuiKinfuFeedbackFrame
{
public:
NuiKinfuOpenCLFeedbackFrame(UINT nWidth, UINT nHeight);
virtual ~NuiKinfuOpenCLFeedbackFrame();
virtual void UpdateBuffers(NuiKinfuFrame* pFrame,... | 33.351351 | 111 | 0.812804 |
ef667bceda0560677daf732edbc72987c7ff917e | 3,429 | c | C | student-distrib/initpaging.c | JackYupeng/Small-Linux-OS | ca40a9947a9c1db68138c79d94edee95c3368bde | [
"AFL-1.1"
] | null | null | null | student-distrib/initpaging.c | JackYupeng/Small-Linux-OS | ca40a9947a9c1db68138c79d94edee95c3368bde | [
"AFL-1.1"
] | null | null | null | student-distrib/initpaging.c | JackYupeng/Small-Linux-OS | ca40a9947a9c1db68138c79d94edee95c3368bde | [
"AFL-1.1"
] | null | null | null | #include "initpaging.h"
#include "x86_desc.h"
#include "lib.h"
static unsigned long kernel = ker_add;// the kernel address
static uint32_t page_directory[page_size] __attribute__((aligned(size_direc)));
static uint32_t first_page_table[page_size] __attribute__((aligned(size_direc)));
/*
* paging_initialize()
* ... | 22.708609 | 90 | 0.715369 |
d45221b0bc75ec9f4d7160265fb4083297a50e0f | 575 | h | C | include/joy/array/to_tree.h | ldionne/joy | ce24d7a2b2b0524d4645c77588cddc6c1d241368 | [
"MIT"
] | 5 | 2015-11-25T12:56:46.000Z | 2019-06-28T12:08:49.000Z | include/joy/array/to_tree.h | ldionne/joy | ce24d7a2b2b0524d4645c77588cddc6c1d241368 | [
"MIT"
] | null | null | null | include/joy/array/to_tree.h | ldionne/joy | ce24d7a2b2b0524d4645c77588cddc6c1d241368 | [
"MIT"
] | null | null | null | /*!
* This file defines a macro to transform an array into a tree.
*
* @author Louis Dionne
*/
#ifndef JOY_ARRAY_TO_TREE_H
#define JOY_ARRAY_TO_TREE_H
#include <joy/seq/to_tree.h>
#include <chaos/preprocessor/recursion/expr.h>
#include <chaos/preprocessor/array/to_seq.h>
/*!
* Transform an array into a tree.
... | 22.115385 | 63 | 0.744348 |
d47121eb43ef1fdfad9d9bbb13f7805f2fa3f42d | 1,783 | c | C | lib/wizards/tiergon/dungeon/monsters/bclord.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/tiergon/dungeon/monsters/bclord.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/tiergon/dungeon/monsters/bclord.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | inherit "obj/monster";
int number_of_fighters;
object armour,sword;
reset(arg) {
::reset(arg);
number_of_fighters = 0;
if(arg) { return; }
set_level(57);
set_name("commander");
set_short("The Commander of the Black Circle ");
set_long("The commander of the legendary mercenary group is a tru... | 29.716667 | 271 | 0.613012 |
35227f1ee3560d757e8c20bb0b5f72c9b7c73043 | 271 | h | C | Draw.h | Jin02/Mole | faf3ad0059a41c77dedca8b4a6bd004d7077cc9b | [
"MIT"
] | 1 | 2018-02-01T06:53:35.000Z | 2018-02-01T06:53:35.000Z | Draw.h | Jin02/Mole | faf3ad0059a41c77dedca8b4a6bd004d7077cc9b | [
"MIT"
] | null | null | null | Draw.h | Jin02/Mole | faf3ad0059a41c77dedca8b4a6bd004d7077cc9b | [
"MIT"
] | null | null | null | #ifndef __DRAW_H__
#define __DRAW_H__
void String(M_Char * str, M_Int32 x, M_Int32 y);
void FillRect(M_Int32 x, M_Int32 y, M_Int32 w, M_Int32 h);
void DrawImage(M_Int32 x, M_Int32 y, M_Int32 w, M_Int32 h,MC_GrpImage img,M_Int32 ImageX,M_Int32 ImageY);
#endif | 27.1 | 106 | 0.741697 |
98401090aeecd6fbcadb06ad05dbad6eef17ad3f | 49,334 | h | C | modules/danlin_fontawesome/src/Icons.h | benediktsailer/danlin_modules | f688951aecb583a339a3709313bea67423c4366e | [
"MIT"
] | 11 | 2015-08-20T11:26:36.000Z | 2022-02-13T23:17:57.000Z | modules/danlin_fontawesome/src/Icons.h | benediktsailer/danlin_modules | f688951aecb583a339a3709313bea67423c4366e | [
"MIT"
] | 7 | 2015-06-20T21:13:37.000Z | 2020-01-08T01:23:35.000Z | modules/danlin_fontawesome/src/Icons.h | benediktsailer/danlin_modules | f688951aecb583a339a3709313bea67423c4366e | [
"MIT"
] | 8 | 2017-03-01T09:22:09.000Z | 2022-02-13T23:16:58.000Z | // IMPORTANT! This file is auto-generated see extras/AwesomeMaker
#ifndef __FONTAWESOME_ICONS_H__
#define __FONTAWESOME_ICONS_H__
typedef juce::String Icon;
const Icon FontAwesome_Glass = Icon::fromUTF8(u8"\uf000");
const Icon FontAwesome_Music = Icon::fromUTF8(u8"\uf001");
const Icon FontAwesome_Search = Icon::fromU... | 61.977387 | 85 | 0.77624 |
8fdfc994d16ff0839e1f334d453eac6d1079dee6 | 420 | h | C | vendor/projectb/ObjC-NSDictionary/MyClass.h | nikolay-dementiev/ObjC-HelloWorld | 6329fb1b72c0da878cbbe6db02f78e777682477e | [
"MIT"
] | null | null | null | vendor/projectb/ObjC-NSDictionary/MyClass.h | nikolay-dementiev/ObjC-HelloWorld | 6329fb1b72c0da878cbbe6db02f78e777682477e | [
"MIT"
] | null | null | null | vendor/projectb/ObjC-NSDictionary/MyClass.h | nikolay-dementiev/ObjC-HelloWorld | 6329fb1b72c0da878cbbe6db02f78e777682477e | [
"MIT"
] | null | null | null | //
// MyClass.h
// ObjC-NSDictionary
//
// Created by Nikolay Dementiev on 12.09.16.
// Copyright © 2016 mc373. All rights reserved.
//
//#ifndef MyClass_h
//#define MyClass_h
//
//
//#endif /* MyClass_h */
#import <Foundation/Foundation.h>
@interface MyClass : NSObject {
NSString *name;
NSString *adress;
}
... | 16.8 | 48 | 0.685714 |
892b3735f9d8e59a8bf649788b11e2e20d2f44c4 | 488 | h | C | Tetris Game Lab/ADC.h | apahlavan1/Spring-2015-EE-319K-Labs-C-and-Assembly- | fe23deda30d16c1edf4ce12dd0199e7c95bab22e | [
"MIT"
] | 1 | 2016-01-14T05:17:39.000Z | 2016-01-14T05:17:39.000Z | Tetris Game Lab/ADC.h | apahlavan1/Spring-2015-EE-319K-Labs-C-and-Assembly- | fe23deda30d16c1edf4ce12dd0199e7c95bab22e | [
"MIT"
] | null | null | null | Tetris Game Lab/ADC.h | apahlavan1/Spring-2015-EE-319K-Labs-C-and-Assembly- | fe23deda30d16c1edf4ce12dd0199e7c95bab22e | [
"MIT"
] | 1 | 2016-12-03T06:34:59.000Z | 2016-12-03T06:34:59.000Z | // ADC.h
// Runs on LM4F120/TM4C123
// Provide functions that initialize ADC0
// Student names: Aria Pahlavan and Khalid Qarryzada
// Last modification date: change this to the last modification date or look very silly
#include "tm4c123gh6pm.h"
// ADC initialization function
// Input: none
// Output: none
void ADC_I... | 25.684211 | 87 | 0.713115 |
ed7b5561b2c46a73d0f0c37d324c6013c0bc66c3 | 14,859 | c | C | postgresql/src/backend/parser/parse_node.c | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | 2 | 2020-01-06T07:43:30.000Z | 2020-07-11T20:53:53.000Z | postgresql/src/backend/parser/parse_node.c | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | null | null | null | postgresql/src/backend/parser/parse_node.c | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | null | null | null | /*-------------------------------------------------------------------------
*
* parse_node.c
* various routines that make nodes for query plans
*
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION... | 26.8213 | 121 | 0.668215 |
e69eb295116ec9a0f73c7220edc70c7756639bcb | 370 | h | C | LQ_TC26xB_LIBtasking/src/AppSw/Tricore/APP/pa_CommonLib/pa_PID.h | ActivePeter/tc264_tasking_car | 1f5426c5fdaa291c07c8b53f1c2fabfd6c7cf0b9 | [
"MIT"
] | 10 | 2020-08-03T08:59:25.000Z | 2022-03-23T03:03:39.000Z | LQ_TC26xB_LIBtasking/src/AppSw/Tricore/APP/pa_CommonLib/pa_PID.h | ActivePeter/tc264_tasking_car | 1f5426c5fdaa291c07c8b53f1c2fabfd6c7cf0b9 | [
"MIT"
] | 1 | 2020-08-21T04:06:28.000Z | 2020-08-21T04:06:28.000Z | LQ_TC26xB_LIBtasking/src/AppSw/Tricore/APP/pa_CommonLib/pa_PID.h | ActivePeter/tc264_tasking_car | 1f5426c5fdaa291c07c8b53f1c2fabfd6c7cf0b9 | [
"MIT"
] | 3 | 2020-08-21T03:49:50.000Z | 2022-03-18T13:59:07.000Z | #ifndef __pa_PID_H_
#define __pa_PID_H_
#define Max_iSum 1000
class pa_PID
{
public:
pa_PID();
pa_PID(float kp1,float ki1,float kd1);
float calcPid(float err);
void setPid(float kp,float ki,float kd);
void setMax(float max1);
float kp;
float ki;
float kd;
float iSum=0;//积分项
private:... | 16.818182 | 44 | 0.656757 |
902255dcfb1184d37fe3f7b4b3d1bbecdbb41364 | 1,006 | c | C | libft/ft_isspace_bonus.c | iamfantaser/fractol | 94d41855b3d566c58ff95b44deb4432feb452346 | [
"MIT"
] | null | null | null | libft/ft_isspace_bonus.c | iamfantaser/fractol | 94d41855b3d566c58ff95b44deb4432feb452346 | [
"MIT"
] | null | null | null | libft/ft_isspace_bonus.c | iamfantaser/fractol | 94d41855b3d566c58ff95b44deb4432feb452346 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isspace.c :+: :+: :+... | 50.3 | 81 | 0.140159 |
c24e1bcc3447a032c38179d778461065dea85b39 | 217 | h | C | Example/TTMMOO3/TTMMOOViewController.h | tanglimei/TTMMOO3 | 0b6926570527f808f8614a147ee5f983673eec16 | [
"MIT"
] | null | null | null | Example/TTMMOO3/TTMMOOViewController.h | tanglimei/TTMMOO3 | 0b6926570527f808f8614a147ee5f983673eec16 | [
"MIT"
] | null | null | null | Example/TTMMOO3/TTMMOOViewController.h | tanglimei/TTMMOO3 | 0b6926570527f808f8614a147ee5f983673eec16 | [
"MIT"
] | null | null | null | //
// TTMMOOViewController.h
// TTMMOO3
//
// Created by tanglimei on 12/02/2015.
// Copyright (c) 2015 tanglimei. All rights reserved.
//
@import UIKit;
@interface TTMMOOViewController : UIViewController
@end
| 15.5 | 54 | 0.714286 |
b0a4e440951b24fd21b3a4c268e712fef67d8015 | 703 | h | C | source/Core/Log/Policies/Linux/Linux_IdeWritePolicy.h | Scylardor/Monocle2 | ff894b7065c589a1cba8093468ab9fae26db41e0 | [
"BSD-3-Clause"
] | null | null | null | source/Core/Log/Policies/Linux/Linux_IdeWritePolicy.h | Scylardor/Monocle2 | ff894b7065c589a1cba8093468ab9fae26db41e0 | [
"BSD-3-Clause"
] | null | null | null | source/Core/Log/Policies/Linux/Linux_IdeWritePolicy.h | Scylardor/Monocle2 | ff894b7065c589a1cba8093468ab9fae26db41e0 | [
"BSD-3-Clause"
] | null | null | null | #ifndef MOE_LINUX_IDE_WRITE_POLICY_H_
#define MOE_LINUX_IDE_WRITE_POLICY_H_
// LINUX version of IdeWritePolicy
// A write policy supposed to map to an IDE's output window.
// On Linux, IdeWritePolicy basically acts as a wrapper around the error fd (std::cerr).
#ifdef MOE_STD_SUPPORT
#include <string>
#include "Core/P... | 25.107143 | 88 | 0.748222 |
1138aa34cd65455f83e188d7b673a98a42efa266 | 688 | h | C | B_field_3D_model.h | bjbuckman/galprop_bb_ | 076b168f7475b3ba9fb198b6ec2df7be66b1763c | [
"MIT"
] | null | null | null | B_field_3D_model.h | bjbuckman/galprop_bb_ | 076b168f7475b3ba9fb198b6ec2df7be66b1763c | [
"MIT"
] | null | null | null | B_field_3D_model.h | bjbuckman/galprop_bb_ | 076b168f7475b3ba9fb198b6ec2df7be66b1763c | [
"MIT"
] | null | null | null | #include <vector>
#include <string>
void B_field_3D_model
(const std::string &name, const std::vector<double> ¶meters,
double x, double y, double z,
int options,
double &Breg, double &Bregx, double &Bregy, double &Bregz,
double &Bran, double &Branx, double &Brany, double &Branz,
int debug=0);
double Bperp(... | 24.571429 | 103 | 0.728198 |
da3dd9b8c8ebafd2f2a1787932e08cff175bcc9c | 611 | h | C | src/layer.h | jonpas/FERI-SymRec | 2432cdfe253582134593baade274cf47c5f6539e | [
"MIT"
] | null | null | null | src/layer.h | jonpas/FERI-SymRec | 2432cdfe253582134593baade274cf47c5f6539e | [
"MIT"
] | null | null | null | src/layer.h | jonpas/FERI-SymRec | 2432cdfe253582134593baade274cf47c5f6539e | [
"MIT"
] | null | null | null | #pragma once
#include <QList>
using DataRow = QList<double>;
using Data = QList<DataRow>;
class Layer {
public:
Layer(uint inputs, uint neurons, QString activation = "sigmoid", QList<double> weightRandBound = {-0.5, 0.5}, QList<double> biasBounds = {0.0, 0.0});
DataRow activate(DataRow data);
double ap... | 20.366667 | 153 | 0.690671 |
fd670dbe8eb52bbeefa89a56b3ed23eb95e41027 | 1,979 | h | C | include/sys/list.h | alnyan/ygg-kernel-amd64 | 12ef80d2901eb3fd7a17f1aea3eed328c74d6e56 | [
"MIT"
] | 15 | 2019-11-16T04:33:32.000Z | 2022-01-09T23:30:06.000Z | include/sys/list.h | xclinux/ygg-kernel-amd64 | 12ef80d2901eb3fd7a17f1aea3eed328c74d6e56 | [
"MIT"
] | null | null | null | include/sys/list.h | xclinux/ygg-kernel-amd64 | 12ef80d2901eb3fd7a17f1aea3eed328c74d6e56 | [
"MIT"
] | 2 | 2020-10-18T16:58:24.000Z | 2022-01-07T14:26:42.000Z | #pragma once
struct list_head {
struct list_head *prev, *next;
};
#define LIST_HEAD(name) \
struct list_head name = { &name, &name }
#define list_for_each(pos, head) \
for (pos = (head)->next; pos != (head); pos = pos->next)
#define list_for_each_entry(pos, head, member) \
for (pos = list_entry((hea... | 27.486111 | 81 | 0.645781 |
0a319aeb20bee57b58fee08dc2c21af904644d7a | 276 | h | C | proxy/RequestParser.h | kayzhang/HTTP-caching-proxy | 9a5be2e049add5e32c57d75a03f53246dffd40e0 | [
"MIT"
] | null | null | null | proxy/RequestParser.h | kayzhang/HTTP-caching-proxy | 9a5be2e049add5e32c57d75a03f53246dffd40e0 | [
"MIT"
] | null | null | null | proxy/RequestParser.h | kayzhang/HTTP-caching-proxy | 9a5be2e049add5e32c57d75a03f53246dffd40e0 | [
"MIT"
] | null | null | null | #ifndef REQUEST_PARSER_H
#define REQUEST_PARSER_H
#include <cstdio>
#include <string>
#include "Request.h"
class RequestParser
{
public:
// Parser a request string to a Request object
static void parse_request(const char * buf, int buf_len, Request & req);
};
#endif
| 16.235294 | 74 | 0.742754 |
0a4aa6e1475939d987c9e11532b2e2d53afb4348 | 7,120 | c | C | deps/pmdk/src/libpmem/memops_generic.c | kimleeju/xdp_redis | 52eaf9da59e5b9ddb009a7874791cdbe6ce9ba06 | [
"BSD-3-Clause"
] | 60 | 2020-04-28T08:15:07.000Z | 2022-03-08T10:35:15.000Z | deps/pmdk/src/libpmem/memops_generic.c | kimleeju/xdp_redis | 52eaf9da59e5b9ddb009a7874791cdbe6ce9ba06 | [
"BSD-3-Clause"
] | 66 | 2020-09-03T23:40:48.000Z | 2022-03-07T20:34:52.000Z | deps/pmdk/src/libpmem/memops_generic.c | kimleeju/xdp_redis | 52eaf9da59e5b9ddb009a7874791cdbe6ce9ba06 | [
"BSD-3-Clause"
] | 13 | 2019-11-02T06:30:36.000Z | 2022-01-26T01:56:42.000Z | /*
* Copyright 2018, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the f... | 26.176471 | 78 | 0.66573 |
d375c6917b8bd31e7ce8bc4906f8e4729471803a | 609 | h | C | src/views/watchwindow/LColorSelectButton.h | lotusczp/Lobster | ceb5ec720fdbbd5eddba5eeccc2f875a62d4332e | [
"Apache-2.0",
"MIT"
] | 6 | 2021-01-30T00:06:22.000Z | 2022-02-16T08:20:09.000Z | src/views/watchwindow/LColorSelectButton.h | lotusczp/Lobster | ceb5ec720fdbbd5eddba5eeccc2f875a62d4332e | [
"Apache-2.0",
"MIT"
] | null | null | null | src/views/watchwindow/LColorSelectButton.h | lotusczp/Lobster | ceb5ec720fdbbd5eddba5eeccc2f875a62d4332e | [
"Apache-2.0",
"MIT"
] | 1 | 2021-08-11T05:19:11.000Z | 2021-08-11T05:19:11.000Z | #ifndef LCOLORSELECTBUTTON_H
#define LCOLORSELECTBUTTON_H
#include <QWidget>
namespace Ui {
class LColorSelectButton;
}
class LColorSelectButton : public QWidget
{
Q_OBJECT
public:
explicit LColorSelectButton(QWidget *parent = 0);
~LColorSelectButton();
void setColor(const QColor &a_rColor);
co... | 16.459459 | 53 | 0.729064 |
d3230111a9b4657fcb65fcba9b61591a9e7a2959 | 2,609 | h | C | include/socket.h | jvstech/jvs-netlib | 80374521bc67135397e01d38b90ae65fa39adb10 | [
"MIT"
] | null | null | null | include/socket.h | jvstech/jvs-netlib | 80374521bc67135397e01d38b90ae65fa39adb10 | [
"MIT"
] | null | null | null | include/socket.h | jvstech/jvs-netlib | 80374521bc67135397e01d38b90ae65fa39adb10 | [
"MIT"
] | null | null | null | //!
//! @file socket.h
//!
#if !defined(JVS_NETLIB_SOCKET_H_)
#define JVS_NETLIB_SOCKET_H_
#include <cstddef>
#include <cstdint>
#include <memory>
#include <optional>
#include <ostream>
#include <string>
#include <utility>
#include "error.h"
#include "ip_address.h"
#include "ip_end_point.h"
#include "socket_errors.h... | 28.053763 | 99 | 0.738597 |
877610fd2e5021fc8a50f546c7237ff9a7294207 | 1,625 | h | C | butano/hw/3rd_party/libtonc/include/tonc.h | laqieer/butano | 986ec1d235922fbe7acafa7564a911085d3a9c6e | [
"Zlib"
] | 571 | 2020-11-09T10:23:43.000Z | 2022-03-29T05:03:53.000Z | butano/hw/3rd_party/libtonc/include/tonc.h | laqieer/butano | 986ec1d235922fbe7acafa7564a911085d3a9c6e | [
"Zlib"
] | 18 | 2020-11-12T03:17:48.000Z | 2022-02-16T12:25:14.000Z | butano/hw/3rd_party/libtonc/include/tonc.h | laqieer/butano | 986ec1d235922fbe7acafa7564a911085d3a9c6e | [
"Zlib"
] | 23 | 2020-11-12T01:23:02.000Z | 2022-02-06T11:24:15.000Z | //
// Main tonc header
//
//! \file tonc.h
//! \author J Vijn
//! \date 20060508 - 20080825
//
// === NOTES ===
#ifndef TONC_MAIN
#define TONC_MAIN
#ifdef __cplusplus
extern "C" {
#endif
#include "tonc_types.h"
#include "tonc_memmap.h"
#include "tonc_memdef.h"
#include "tonc_bios.h"
#include... | 23.214286 | 69 | 0.650462 |
e1749af5f75b1cf19d7a438a237c16e15c16fefc | 2,478 | h | C | src/lib/entropy/unix_procs/unix_procs.h | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | src/lib/entropy/unix_procs/unix_procs.h | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | src/lib/entropy/unix_procs/unix_procs.h | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | /*
* Unix EntropySource
* (C) 1999-2009,2013 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_ENTROPY_SRC_UNIX_H__
#define BOTAN_ENTROPY_SRC_UNIX_H__
#include <botan/entropy_src.h>
#include <vector>
#include <mutex>
namespace Botan {
/**
* Entropy source for gener... | 26.934783 | 79 | 0.622276 |
91cb22198e3888a3260f2f8615bb397944ae6c30 | 409 | h | C | Categories/NSString+WhiteSpace_Utility.h | mzgaljic/mzgaljic | 9918a92bcfae140fcb52d849423b06624acc502b | [
"MIT"
] | 7 | 2017-05-10T15:46:28.000Z | 2021-04-26T04:25:01.000Z | Categories/NSString+WhiteSpace_Utility.h | mzgaljic/mzgaljic | 9918a92bcfae140fcb52d849423b06624acc502b | [
"MIT"
] | 1 | 2017-08-07T15:44:12.000Z | 2017-08-10T01:48:13.000Z | Categories/NSString+WhiteSpace_Utility.h | mzgaljic/mzgaljic | 9918a92bcfae140fcb52d849423b06624acc502b | [
"MIT"
] | null | null | null | //
// NSString+WhiteSpace_Utility.h
// Free Music Library
//
// Created by Mark Zgaljic on 7/25/14.
// Copyright (c) 2014 Mark Zgaljic. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (WhiteSpace_Utility)
/**Trims 'heading' and 'trailing' whitespace in a string.
Whitespace between... | 22.722222 | 59 | 0.738386 |
4c358ee9536893c5f45a8f5c038c2404a64b50d1 | 1,095 | h | C | include/input.h | mistydemeo/supergameherm | e410b55906ebb8093ead2758c2dffb82dfa88d29 | [
"BSD-3-Clause"
] | null | null | null | include/input.h | mistydemeo/supergameherm | e410b55906ebb8093ead2758c2dffb82dfa88d29 | [
"BSD-3-Clause"
] | null | null | null | include/input.h | mistydemeo/supergameherm | e410b55906ebb8093ead2758c2dffb82dfa88d29 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __INPUT_H_
#define __INPUT_H_
#include "config.h" // macros, uint[XX]_t
#include "typedefs.h" // typedefs
#define RAW_INPUT_P10 0x1
#define RAW_INPUT_P11 0x2
#define RAW_INPUT_P12 0x4
#define RAW_INPUT_P13 0x8
// Columns set
#define RAW_INPUT_P14 0x10
#define RAW_INPUT_P15 0x20
typedef enum
{
INPUT_NONE ... | 23.804348 | 58 | 0.747945 |
483db67c7637555950d0dc6dd1203ec0b8788ec3 | 4,796 | c | C | test/bst_test.c | libgeneprog/libgeneprog | 2a0105403000f2fe2e2f825b64862777d7ee9132 | [
"BSD-3-Clause"
] | 1 | 2020-08-03T02:40:58.000Z | 2020-08-03T02:40:58.000Z | test/bst_test.c | libgeneprog/libgeneprog | 2a0105403000f2fe2e2f825b64862777d7ee9132 | [
"BSD-3-Clause"
] | 7 | 2019-01-18T15:55:32.000Z | 2019-02-08T16:37:38.000Z | test/bst_test.c | libgeneprog/libgeneprog | 2a0105403000f2fe2e2f825b64862777d7ee9132 | [
"BSD-3-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause
#include "bst_test.h"
#include <stdlib.h>
#include "CUnit/CUnit.h"
#include "CUnit/Basic.h"
#include "bst-data.h"
#include "gene.h"
int _init_bst_suite(void) { return 0; }
int _clean_bst_suite(void) { return 0; }
int gp_test_bst_setup_suite(void)
{
CU_pSuite pSuite = NULL;
... | 29.243902 | 70 | 0.741243 |
73cc9db52d8142c2936f9246f339f1787421ffad | 1,547 | h | C | library/src/main/cpp/faceTracker/FaceTrackerWrapper.h | 1463836/android-gpuimage-plus | ad00886e8947e69548814eb457e39985aebea103 | [
"MIT"
] | null | null | null | library/src/main/cpp/faceTracker/FaceTrackerWrapper.h | 1463836/android-gpuimage-plus | ad00886e8947e69548814eb457e39985aebea103 | [
"MIT"
] | null | null | null | library/src/main/cpp/faceTracker/FaceTrackerWrapper.h | 1463836/android-gpuimage-plus | ad00886e8947e69548814eb457e39985aebea103 | [
"MIT"
] | null | null | null | /*
* cgeFaceTrackerWrapper.h
*
* Created on: 2016-2-17
* Author: Wang Yang
* Mail: admin@wysaid.org
*/
#ifndef _cgeFaceTrackerWrapper_h_
#define _cgeFaceTrackerWrapper_h_
#include <jni.h>
#include "FaceTracker.h"
#ifdef __cplusplus
extern "C" {
#endif
JNIEXPORT void JNICALL
Java_org_wysaid_nativePort_C... | 23.089552 | 98 | 0.722689 |
bc07d4cc1bd9e9ea75a722d051c9e198b6d117df | 558 | h | C | src/qt/znumwnodeconfigdialog.h | newcopycoin/newcopycoin | c87619a749fb115674fdd72c9a6a501492bffefe | [
"MIT"
] | null | null | null | src/qt/znumwnodeconfigdialog.h | newcopycoin/newcopycoin | c87619a749fb115674fdd72c9a6a501492bffefe | [
"MIT"
] | null | null | null | src/qt/znumwnodeconfigdialog.h | newcopycoin/newcopycoin | c87619a749fb115674fdd72c9a6a501492bffefe | [
"MIT"
] | null | null | null | #ifndef ZNUMWNODECONFIGDIALOG_H
#define ZNUMWNODECONFIGDIALOG_H
#include <QDialog>
namespace Ui {
class ZnumwNodeConfigDialog;
}
QT_BEGIN_NAMESPACE
class QModelIndex;
QT_END_NAMESPACE
/** Dialog showing transaction details. */
class ZnumwNodeConfigDialog : public QDialog
{
Q_OBJECT
public:
explicit Znu... | 19.928571 | 140 | 0.775986 |
86b8d5ddb82500fda8780d632aa9cd1f0d7211d0 | 1,426 | h | C | 3rd_party/nek5000_parRSB/src/gencon/gencon.h | Nek5000/nekrs | 7a55f459cd9b42129d0d3312dac8dd614cdb50d0 | [
"BSD-3-Clause"
] | 2 | 2021-09-07T03:00:53.000Z | 2021-12-06T18:08:27.000Z | 3rd_party/nek5000_parRSB/src/gencon/gencon.h | yhaomin2007/nekRS | a416c98ed00d48d1bd9722dcca781a1859fc37f4 | [
"BSD-3-Clause"
] | 2 | 2021-06-27T02:07:27.000Z | 2021-08-24T04:47:42.000Z | 3rd_party/nek5000_parRSB/src/gencon/gencon.h | yhaomin2007/nekRS | a416c98ed00d48d1bd9722dcca781a1859fc37f4 | [
"BSD-3-Clause"
] | null | null | null | #ifndef _GENMAP_GENCON_H_
#define _GENMAP_GENCON_H_
#include <genmap.h>
/* Upper bound for number of dimensions */
#define GC_MAX_DIM 3
/* Boundary condition types */
#define GC_PERIODIC "P "
/* Upper bounds for elements */
#define GC_MAX_FACES 6
#define GC_MAX_VERTICES 8
#define GC_MAX_NEIGHBORS 3
/* Upper bound... | 29.102041 | 80 | 0.759467 |
06b9d2f63818987fc8485047e43e6d38f67fd8bc | 3,226 | h | C | HandleUtils/ObjectDirectoryEntry.h | GabberBaby/sandbox-attacksurface-analysis-tools | 2c6010febf92a473ac84f3333bb9c28bbc69bc6a | [
"Apache-2.0"
] | null | null | null | HandleUtils/ObjectDirectoryEntry.h | GabberBaby/sandbox-attacksurface-analysis-tools | 2c6010febf92a473ac84f3333bb9c28bbc69bc6a | [
"Apache-2.0"
] | null | null | null | HandleUtils/ObjectDirectoryEntry.h | GabberBaby/sandbox-attacksurface-analysis-tools | 2c6010febf92a473ac84f3333bb9c28bbc69bc6a | [
"Apache-2.0"
] | 2 | 2021-08-18T05:16:11.000Z | 2021-09-25T04:15:49.000Z | // Copyright 2015 Google Inc. 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... | 23.547445 | 100 | 0.646931 |
e5d4e6411db3cb3335cb5f01d3c0ab0d75931493 | 473 | h | C | UnitTests/dotNetInstallerToolsLibUnitTests/ImageUtilUnitTests.h | baSSiLL/dotnetinstaller | 2a983649553cd322f674fe06685f0c1d47f638b2 | [
"MIT"
] | null | null | null | UnitTests/dotNetInstallerToolsLibUnitTests/ImageUtilUnitTests.h | baSSiLL/dotnetinstaller | 2a983649553cd322f674fe06685f0c1d47f638b2 | [
"MIT"
] | null | null | null | UnitTests/dotNetInstallerToolsLibUnitTests/ImageUtilUnitTests.h | baSSiLL/dotnetinstaller | 2a983649553cd322f674fe06685f0c1d47f638b2 | [
"MIT"
] | 1 | 2020-04-30T10:25:58.000Z | 2020-04-30T10:25:58.000Z | #pragma once
namespace DVLib
{
namespace UnitTests
{
class ImageUtilUnitTests : public CPPUNIT_NS::TestFixture
{
CPPUNIT_TEST_SUITE( ImageUtilUnitTests );
CPPUNIT_TEST(testLoadBitmapFromFile);
CPPUNIT_TEST(testLoadBitmapFromBuffer);
CPPUNIT_TEST(testLoadBitmapFromResource);
CPPUNIT_T... | 22.52381 | 61 | 0.735729 |
66805d33f85740afd653d6be7717bae6f7dfd00e | 6,627 | c | C | sys/src/cmd/dict/robert.c | Plan9-Archive/plan9-2e | ce6d0434246216e848babe4f56919dc28981ad04 | [
"MIT"
] | 1 | 2021-03-23T22:40:43.000Z | 2021-03-23T22:40:43.000Z | sys/src/cmd/dict/robert.c | Plan9-Archive/plan9-2e | ce6d0434246216e848babe4f56919dc28981ad04 | [
"MIT"
] | null | null | null | sys/src/cmd/dict/robert.c | Plan9-Archive/plan9-2e | ce6d0434246216e848babe4f56919dc28981ad04 | [
"MIT"
] | 1 | 2021-12-21T06:19:58.000Z | 2021-12-21T06:19:58.000Z | #include <u.h>
#include <libc.h>
#include <bio.h>
#include "dict.h"
/*
* Robert Électronique.
*/
enum
{
CIT = MULTIE+1, /* citation ptr followed by long int and ascii label */
BROM, /* bold roman */
ITON, /* start italic */
ROM, /* roman */
SYM, /* symbol font? */
HEL, /* helvetica */
BHEL, /* helvetic... | 21.172524 | 72 | 0.470801 |
bac767e55bc6e994580fd382edcd0e9f26d2d8ef | 226 | h | C | MVVM-Demo/DYPlayNews/Common/Tool/UIView+DYY.h | DefaultYuan/MVVMDemo | 2c53e7467ca4428fb12f37b05c26f0ce4b18c4b9 | [
"MIT"
] | 58 | 2017-05-31T16:05:39.000Z | 2018-02-26T06:24:40.000Z | MVVM-Demo/DYPlayNews/Common/Tool/UIView+DYY.h | AntBranch/MVVMDemo | 1fed95c99c8a3e8a295d0caec459c3f789e8fa2e | [
"MIT"
] | 1 | 2017-07-24T07:56:44.000Z | 2017-09-26T13:04:48.000Z | MVVM-Demo/DYPlayNews/Common/Tool/UIView+DYY.h | AntBranch/MVVMDemo | 1fed95c99c8a3e8a295d0caec459c3f789e8fa2e | [
"MIT"
] | 17 | 2017-06-05T01:30:52.000Z | 2017-10-11T09:33:53.000Z | //
// UIView+DYY.h
// DYPlayNews
//
// Created by 袁斌 on 2017/6/4.
// Copyright © 2017年 https://github.com/DefaultYuan . All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (DYY)
+ (NSString *) nibId;
@end
| 15.066667 | 75 | 0.646018 |
c94f2c56f078e4c60ed782d974602371c804a517 | 689 | h | C | train_model/FaceAlignment/globalregression.h | MichaelXin/face-alignment-cpp | 05ad23a51be51450b26ed46f01043f2577d53cdc | [
"MIT"
] | 41 | 2015-06-29T15:02:47.000Z | 2018-09-06T05:54:54.000Z | train_model/FaceAlignment/globalregression.h | MichaelXin/face-alignment-cpp | 05ad23a51be51450b26ed46f01043f2577d53cdc | [
"MIT"
] | 1 | 2015-10-17T18:03:16.000Z | 2015-10-17T18:03:16.000Z | train_model/FaceAlignment/globalregression.h | jwyang/face-alignment-cpp | 05ad23a51be51450b26ed46f01043f2577d53cdc | [
"MIT"
] | 41 | 2015-06-29T15:27:11.000Z | 2019-10-21T09:24:44.000Z | #ifndef GLOBALREGRESSION_H
#define GLOBALREGRESSION_H
#include "base.h"
#include "params.h"
#include "evaluate.h"
#include "utils.h"
#include "liblinear/linear.h"
class cRegression{
public:
cRegression(sTrainData* data, sParams* params);
cv::Mat_<double> GlobalRegression(const cv::Mat_<int>&binaryfeatures,int stage... | 29.956522 | 113 | 0.732946 |
bfc01740ec9fda27943c93d895d4213e2fe81775 | 8,077 | c | C | phSolver/common/sympyr.c | Mopolino8/phasta | 797fc3d8fd047634092d01014b978420e15be66f | [
"BSD-3-Clause"
] | null | null | null | phSolver/common/sympyr.c | Mopolino8/phasta | 797fc3d8fd047634092d01014b978420e15be66f | [
"BSD-3-Clause"
] | null | null | null | phSolver/common/sympyr.c | Mopolino8/phasta | 797fc3d8fd047634092d01014b978420e15be66f | [
"BSD-3-Clause"
] | 1 | 2019-11-03T09:55:20.000Z | 2019-11-03T09:55:20.000Z | #include <stdlib.h>
#include <FCMangle.h>
#define sympyr FortranCInterface_GLOBAL_(sympyr, SYMPYR)
typedef double DARR4[4];
int pyrIntPnt(int,DARR4**,double **);
sympyr(int *n1, double pt[][4], double wt[], int *err)
{
double *lwt;
DARR4 *lpt;
int i,j;
*err = pyrIntPnt(*n1, &lpt, &lwt);
for(i=0; i < *n1; ... | 27.379661 | 87 | 0.588832 |
8464692653baa6fee12037102eceb677590847a0 | 1,121 | h | C | XVim2/XcodeHeader/IDEKit/IDEOpenInProjectViewControllerDataSourceItem.h | haozhiyu1990/XVim2 | 3f37d905d51c22fbd86c36e42d8ee1813829b00c | [
"MIT"
] | 2,453 | 2017-09-07T00:07:49.000Z | 2022-03-29T22:32:10.000Z | XVim2/XcodeHeader/IDEKit/IDEOpenInProjectViewControllerDataSourceItem.h | haozhiyu1990/XVim2 | 3f37d905d51c22fbd86c36e42d8ee1813829b00c | [
"MIT"
] | 373 | 2017-09-20T04:16:11.000Z | 2022-03-26T17:01:37.000Z | XVim2/XcodeHeader/IDEKit/IDEOpenInProjectViewControllerDataSourceItem.h | haozhiyu1990/XVim2 | 3f37d905d51c22fbd86c36e42d8ee1813829b00c | [
"MIT"
] | 260 | 2017-09-16T15:31:41.000Z | 2022-02-07T02:52:29.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
@class NSDate, NSImage, NSString, NSURL;
@interface IDEOpenInProjectViewControllerDataSourceItem : NSObject
{
NSURL *_url;
NSImage *_image;
... | 32.970588 | 132 | 0.749331 |
57b09bcf6e5204082443878b13b71dd7293b89ba | 427 | h | C | MatterVM/include/mtr/ModuleLoader.h | k0dep/MatterVM | 2c4589714238d5321f0aee52ae1e2c5f5adb38ae | [
"MIT"
] | 3 | 2019-01-29T08:13:40.000Z | 2019-06-21T16:22:12.000Z | MatterVM/include/mtr/ModuleLoader.h | k0dep/MatterVM | 2c4589714238d5321f0aee52ae1e2c5f5adb38ae | [
"MIT"
] | null | null | null | MatterVM/include/mtr/ModuleLoader.h | k0dep/MatterVM | 2c4589714238d5321f0aee52ae1e2c5f5adb38ae | [
"MIT"
] | null | null | null | #pragma once
#ifndef _MODULELOADER_H_
#define _MODULELOADER_H_
#include <string>
#include <memory>
#include <map>
#include <vector>
#include <mtr/VModuleBase.h>
namespace mtr
{
class ModuleLoader
{
public:
static std::string path;
static std::shared_ptr<VModuleBase> load_moodule(std::string name);
protect... | 15.814815 | 69 | 0.737705 |
b3ee3349f9a7dfc39d4ec0acb81c517c7e4fcb93 | 1,328 | h | C | PathMap.h | Magtheridon96/Unfinished-RPG | f002a7e19684f31e6158ca78e24bdd514932d72c | [
"MIT"
] | 1 | 2015-09-14T13:19:16.000Z | 2015-09-14T13:19:16.000Z | PathMap.h | Magtheridon96/Unfinished-RPG | f002a7e19684f31e6158ca78e24bdd514932d72c | [
"MIT"
] | null | null | null | PathMap.h | Magtheridon96/Unfinished-RPG | f002a7e19684f31e6158ca78e24bdd514932d72c | [
"MIT"
] | null | null | null | //
// PathMap.h
// Game Engine v0.0.0.0
//
// Created by Magtheridon96 on 7/26/13.
// Copyright (c) 2013 EventHorizon. All rights reserved.
//
#pragma once
#include "SFML/Graphics.hpp"
#include "ResourcePath.h"
#include "ResourceCache.h"
#include "ResourceDirectory.h"
#include <vector>
#include <memory>
#include ... | 21.079365 | 57 | 0.622741 |
7ee0a9a28453e8d647f1ae40347881f8dff578ac | 3,789 | h | C | src/CGnuPlotStyleSunburstPainter.h | colinw7/CQGnuPlot | 8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94 | [
"MIT"
] | null | null | null | src/CGnuPlotStyleSunburstPainter.h | colinw7/CQGnuPlot | 8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94 | [
"MIT"
] | null | null | null | src/CGnuPlotStyleSunburstPainter.h | colinw7/CQGnuPlot | 8001b0a0d40c1fde8e5efe05ebe0c9b0541daa94 | [
"MIT"
] | 1 | 2019-04-01T13:08:45.000Z | 2019-04-01T13:08:45.000Z | #ifndef CGnuPlotStyleSunburstPainter_H
#define CGnuPlotStyleSunburstPainter_H
#include <CSunburst.h>
#include <CGnuPlotRenderer.h>
#include <CGnuPlotPlot.h>
#include <CGnuPlotPieObject.h>
class CGnuPlotStyleSunburstPainter : public CSunburstPainter {
public:
typedef std::pair<CHAlignType,double> HAlignPos;
typed... | 26.496503 | 95 | 0.571127 |
f1c49a844eb51629a166d802b81b49411e547be2 | 2,698 | h | C | ks/include/ks/list_impl.h | acplt/acplt-ks | 9c1acdeeabd93d1627a0fe4c5ac7888144c950fe | [
"Artistic-1.0-cl8",
"Apache-2.0"
] | null | null | null | ks/include/ks/list_impl.h | acplt/acplt-ks | 9c1acdeeabd93d1627a0fe4c5ac7888144c950fe | [
"Artistic-1.0-cl8",
"Apache-2.0"
] | null | null | null | ks/include/ks/list_impl.h | acplt/acplt-ks | 9c1acdeeabd93d1627a0fe4c5ac7888144c950fe | [
"Artistic-1.0-cl8",
"Apache-2.0"
] | null | null | null | /* -*-plt-c++-*- */
#ifndef KS_LIST_IMPL_INCLUDED
#define KS_LIST_IMPL_INCLUDED
/* $Header: /home/david/cvs/acplt/ks/include/ks/list_impl.h,v 1.9 2008-09-22 08:26:09 henning Exp $ */
/*
* Copyright (c) 1996, 1997, 1998, 1999
* Lehrstuhl fuer Prozessleittechnik, RWTH Aachen
* D-52064 Aachen, Germany.
* All rights re... | 28.702128 | 102 | 0.504448 |
041df606ec929b14b10ffdf36822fdfa592d3c82 | 466 | h | C | src/PluginLib/VisualizationConsts.h | gomezalberto/pretus | 63b05419f70ecf8b28ccbb6191eab79637c051ac | [
"MIT"
] | 18 | 2021-11-05T13:04:00.000Z | 2022-01-31T14:14:08.000Z | src/PluginLib/VisualizationConsts.h | gomezalberto/pretus | 63b05419f70ecf8b28ccbb6191eab79637c051ac | [
"MIT"
] | 27 | 2021-09-14T14:04:28.000Z | 2022-02-15T09:58:30.000Z | src/PluginLib/VisualizationConsts.h | gomezalberto/pretus | 63b05419f70ecf8b28ccbb6191eab79637c051ac | [
"MIT"
] | 1 | 2021-12-16T12:51:32.000Z | 2021-12-16T12:51:32.000Z | #pragma once
#include <map>
#include <vector>
#include <string>
class VisualizationConsts
{
public:
static const std::map<int, std::string> &DataTypeStrings();
static const std::vector<int> &StandardLayerOrder();
static const int TargetWindowWidth() { return 1920; }
static const int TargetWindowHei... | 22.190476 | 63 | 0.706009 |
cca497865c9190a2c1ad3fd67d4bae1758333c45 | 909 | h | C | Sequence.h | rablack/LightBox | b184cbf871b19e06bb2fa078ed788390d98baad6 | [
"MIT"
] | null | null | null | Sequence.h | rablack/LightBox | b184cbf871b19e06bb2fa078ed788390d98baad6 | [
"MIT"
] | null | null | null | Sequence.h | rablack/LightBox | b184cbf871b19e06bb2fa078ed788390d98baad6 | [
"MIT"
] | null | null | null | #ifndef SEQUENCE_H
#define SEQUENCE_H
#include <Arduino.h>
#include "Effect.h"
class Sequence {
public:
enum State : uint8_t {
INIT,
STOP,
PLAY,
PAUSE
};
Sequence(void) : effectList(0), currentEffect(0), state(INIT) {
}
virtual ~Sequence(void) {
releaseEffects();
}
virtual void i... | 17.823529 | 65 | 0.685369 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.