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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bf649b63b90b2600c5e72f714b273a2374a750cc | 5,917 | h | C | lib/vm/disruptions/disruption.h | rroessler/nucleus | f1b9b9823b88e109ddfc87acb1beef9ca13bca4c | [
"MIT"
] | null | null | null | lib/vm/disruptions/disruption.h | rroessler/nucleus | f1b9b9823b88e109ddfc87acb1beef9ca13bca4c | [
"MIT"
] | null | null | null | lib/vm/disruptions/disruption.h | rroessler/nucleus | f1b9b9823b88e109ddfc87acb1beef9ca13bca4c | [
"MIT"
] | null | null | null | #ifndef NUC_DISRUPTION_H
#define NUC_DISRUPTION_H
// C Standard Library
#include <stdarg.h>
#include <stdio.h>
// Nucleus Headers
#include "../../common.h"
#include "../../utils/macros.h"
#include "../core/core.h"
#include "../core/flags.h"
#include "../global.h"
#include "immediate.h"
#include "model.h"
/**********... | 34.805882 | 95 | 0.630894 |
c75108b6a91694b380e25ea4a0f3f809b3ec5d11 | 4,001 | h | C | EnableMultiFactorAuthModalBP_classes.h | NotDiscordOfficial/Fortnite_SDK | 58f8da148256f99cb35518003306fffee33c4a21 | [
"MIT"
] | null | null | null | EnableMultiFactorAuthModalBP_classes.h | NotDiscordOfficial/Fortnite_SDK | 58f8da148256f99cb35518003306fffee33c4a21 | [
"MIT"
] | null | null | null | EnableMultiFactorAuthModalBP_classes.h | NotDiscordOfficial/Fortnite_SDK | 58f8da148256f99cb35518003306fffee33c4a21 | [
"MIT"
] | 1 | 2021-07-22T00:31:44.000Z | 2021-07-22T00:31:44.000Z | // WidgetBlueprintGeneratedClass EnableMultiFactorAuthModalBP.EnableMultiFactorAuthModalBP_C
// Size: 0x578 (Inherited: 0x500)
struct UEnableMultiFactorAuthModalBP_C : UEnableMultiFactorModal {
struct FPointerToUberGraphFrame UberGraphFrame; // 0x500(0x08)
struct UWidgetAnimation* Intro_V2; // 0x508(0x08)
struct UWi... | 102.589744 | 250 | 0.835291 |
0fde2a73671afcbba0ddf8dc8baea09bc3cc4df4 | 286 | h | C | PhysicalGameObject.h | Akmulla/SimpleEngine-v0.2 | 25b8f4bbe3c9d9b11eafe094b014ddd3766eca5b | [
"MIT"
] | null | null | null | PhysicalGameObject.h | Akmulla/SimpleEngine-v0.2 | 25b8f4bbe3c9d9b11eafe094b014ddd3766eca5b | [
"MIT"
] | null | null | null | PhysicalGameObject.h | Akmulla/SimpleEngine-v0.2 | 25b8f4bbe3c9d9b11eafe094b014ddd3766eca5b | [
"MIT"
] | null | null | null | #pragma once
#include "GameObject.h"
#include "Rigidbody.h"
class PhysicalGameObject : public GameObject
{
protected:
virtual void OnCollision(CollisionData);
Rigidbody* m_rb;
public:
Rigidbody* GetRigidbody();
void UpdateAABB();
PhysicalGameObject();
~PhysicalGameObject();
}; | 16.823529 | 44 | 0.762238 |
84e9d8a5f191eec3871cb29c57fad263cdebbbac | 1,024 | c | C | ZT/rain.c | xuehuachunsheng/HongxiuTeamCode | 8bec8ca44aae7c6ab7162af2f5a60d1374c6a5f0 | [
"Apache-2.0"
] | 1 | 2021-11-27T06:02:52.000Z | 2021-11-27T06:02:52.000Z | ZT/rain.c | DEAiFISH/HongxiuTeamCode | f18762c4480d3d8e0a70234e052528b2459d5ddf | [
"Apache-2.0"
] | null | null | null | ZT/rain.c | DEAiFISH/HongxiuTeamCode | f18762c4480d3d8e0a70234e052528b2459d5ddf | [
"Apache-2.0"
] | 1 | 2021-11-01T04:40:08.000Z | 2021-11-01T04:40:08.000Z | #include<stdio.h>
#define MONTHS 12
#define YEARS 5
int main(void)
{
const float rain[YEARS][MONTHS]=
{
{4.3,4.3,4.3,3.0,2.0,1.2,0.2,0.2,0.4,2.4,3.5,6.6},
{8.5,8.2,1.2,1.6,2.4,0.0,5.2,0.9,0.3,0.9,1.4,7.3},
{9.1,8.5,6.7,4.3,2.1,0.8,0.2,0.2,1.1,2.3,6.1,8.4},
{7.2,9.9,8.4,3.3,1.2,0.8,0.4,0.0,0.6,1.7... | 26.947368 | 66 | 0.573242 |
576d34226a4cb75696c42b576772ad6dde59a12c | 449 | h | C | src/ecs/Forward.h | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | 578 | 2019-05-04T09:09:42.000Z | 2022-03-27T23:02:21.000Z | src/ecs/Forward.h | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | 14 | 2019-05-11T14:34:56.000Z | 2021-02-02T07:06:46.000Z | src/ecs/Forward.h | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | 42 | 2019-05-11T16:04:19.000Z | 2022-01-24T02:21:43.000Z | #pragma once
#include <infra/Config.h>
#include <infra/Forward.h>
#include <type/Forward.h>
#ifndef TWO_ECS_EXPORT
#define TWO_ECS_EXPORT TWO_IMPORT
#endif
namespace two
{
template <class T> struct ComponentHandle;
template <class T> struct EntityHandle;
class Prototype;
struct Entity;
struct Entt;
class ... | 14.03125 | 43 | 0.750557 |
cb34ff7bd76b831a31a47e4926b3cfd2d4159f3f | 215 | h | C | NewsTwo/News/CycleCVController.h | hetefe/news | 8f97e1367effbf3f4deaa2b6278c513c374143cf | [
"Apache-2.0"
] | null | null | null | NewsTwo/News/CycleCVController.h | hetefe/news | 8f97e1367effbf3f4deaa2b6278c513c374143cf | [
"Apache-2.0"
] | null | null | null | NewsTwo/News/CycleCVController.h | hetefe/news | 8f97e1367effbf3f4deaa2b6278c513c374143cf | [
"Apache-2.0"
] | null | null | null | //
// CycleCVController.h
// News
//
// Created by 赫腾飞 on 15/11/26.
// Copyright © 2015年 hetefe. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CycleCVController : UICollectionViewController
@end
| 15.357143 | 57 | 0.702326 |
3bba05aa3c5f636149f8a84f4f82a222caaa06e3 | 5,976 | h | C | device/peripheral/wifi/rs9113/include/rsi_bt_common_apis.h | ParkerMactavish/embarc_osp | 9e69440a31d6a4268ef166972aa71a7a19156431 | [
"BSD-3-Clause"
] | 55 | 2017-04-16T01:14:45.000Z | 2022-02-18T09:30:45.000Z | device/peripheral/wifi/rs9113/include/rsi_bt_common_apis.h | ParkerMactavish/embarc_osp | 9e69440a31d6a4268ef166972aa71a7a19156431 | [
"BSD-3-Clause"
] | 121 | 2017-06-30T09:43:01.000Z | 2021-11-23T16:26:35.000Z | device/peripheral/wifi/rs9113/include/rsi_bt_common_apis.h | ParkerMactavish/embarc_osp | 9e69440a31d6a4268ef166972aa71a7a19156431 | [
"BSD-3-Clause"
] | 85 | 2017-04-16T01:46:20.000Z | 2021-09-23T09:26:53.000Z | /**
* @file rsi_bt_common_apis.h
* @version 0.1
* @date 01 Oct 2015
*
* Copyright(C) Redpine Signals 2015
* All rights reserved by Redpine Signals.
*
* @section License
* This program should be used on your own responsibility.
* Redpine Signals assumes no responsibility for any losses
* incurr... | 32.835165 | 84 | 0.502343 |
22ede711f3270f22f8e61d0cb01a08346f4d25b8 | 113 | h | C | code/include/mrcuda.h | yangtze1006/PCN_Windows | f89d53ebf5d0e6bcc2971e92b4c4ece4b799b728 | [
"BSD-2-Clause"
] | null | null | null | code/include/mrcuda.h | yangtze1006/PCN_Windows | f89d53ebf5d0e6bcc2971e92b4c4ece4b799b728 | [
"BSD-2-Clause"
] | null | null | null | code/include/mrcuda.h | yangtze1006/PCN_Windows | f89d53ebf5d0e6bcc2971e92b4c4ece4b799b728 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
#pragma comment(lib,"cudart.lib") | 28.25 | 38 | 0.769912 |
7053092c692ac8ff499ebe57bb78471fa054c9da | 4,349 | h | C | Dependencies/Build/mac/share/faust/sam/samFaustDSP.h | SKyzZz/test | 9b03adce666adb85e5ae2d8af5262e0acb4b91e1 | [
"Zlib"
] | 2 | 2020-10-25T09:03:03.000Z | 2021-06-24T13:20:01.000Z | Dependencies/Build/mac/share/faust/sam/samFaustDSP.h | SKyzZz/test | 9b03adce666adb85e5ae2d8af5262e0acb4b91e1 | [
"Zlib"
] | null | null | null | Dependencies/Build/mac/share/faust/sam/samFaustDSP.h | SKyzZz/test | 9b03adce666adb85e5ae2d8af5262e0acb4b91e1 | [
"Zlib"
] | null | null | null | /************************************************************************
SHARC Audio Module Faust Architecture File
Copyright (c) 2018 Analog Devices, Inc. All rights reserved.
---------------------------------------------------------------------
This Architecture section is free software; you can redistribute i... | 40.268519 | 114 | 0.531387 |
467b0c6a1c727ab0d2460e88a7f03ee2c72179e6 | 1,396 | h | C | src/header/AudioEditor.h | vfarjood/Neuro-Load-Reduction | da454fa963984dfa10daf1ab7ccf38f4b30c9247 | [
"MIT"
] | null | null | null | src/header/AudioEditor.h | vfarjood/Neuro-Load-Reduction | da454fa963984dfa10daf1ab7ccf38f4b30c9247 | [
"MIT"
] | null | null | null | src/header/AudioEditor.h | vfarjood/Neuro-Load-Reduction | da454fa963984dfa10daf1ab7ccf38f4b30c9247 | [
"MIT"
] | null | null | null | //***************************************************************************//
// //
// @File Name: AudioEditor.h //
// @Author: Vahid Farjood Chafi //
... | 31.022222 | 117 | 0.419054 |
0be6de59c881f8dd4c5b58409e589d9839f3a0c5 | 1,601 | h | C | PrivateFrameworks/AVConference/VCMediaNegotiatorAudioConfiguration.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/AVConference/VCMediaNegotiatorAudioConfiguration.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/AVConference/VCMediaNegotiatorAudioConfiguration.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 "NSObject.h"
#import "NSCopying.h"
@class NSMutableSet, NSSet;
__attribute__((visibility("hidden")))
@interface VCMediaNegotiatorAudioConfiguration : NSObject <NSCopying>... | 39.04878 | 182 | 0.777014 |
600018070610e6a41dcfbb2411cfbc1d7a6c9a81 | 431 | h | C | util.h | graphitemaster/xcpumemperf | f2f9bb20677c64964c56513edabee151120c46cf | [
"MIT"
] | 3 | 2017-11-15T21:26:14.000Z | 2021-05-07T00:51:42.000Z | util.h | graphitemaster/xcpumemperf | f2f9bb20677c64964c56513edabee151120c46cf | [
"MIT"
] | 1 | 2017-11-16T06:27:19.000Z | 2017-11-16T06:27:19.000Z | util.h | graphitemaster/xcpumemperf | f2f9bb20677c64964c56513edabee151120c46cf | [
"MIT"
] | 5 | 2017-11-16T02:16:01.000Z | 2017-11-16T14:38:09.000Z | #ifndef UTIL_HDR
#define UTIL_HDR
/* High resolution timer wall time in seconds */
double util_gettime(void);
/* Human readable size metric from size */
const char* util_humansize(char* buffer, size_t bufsize, size_t size);
struct cpuinfo
{
struct { int cpu, core; } entries[128];
int physical;
int threads;
int l... | 18.73913 | 70 | 0.742459 |
00c30b7a5bef6b572651785957db2247b5847199 | 1,171 | h | C | glibc/sysdeps/unix/sysv/linux/m68k/mmap_internal.h | chyidl/mirror-glibc | 3b17633afc85a9fb8cba0edc365d19403158c5a0 | [
"BSD-3-Clause"
] | null | null | null | glibc/sysdeps/unix/sysv/linux/m68k/mmap_internal.h | chyidl/mirror-glibc | 3b17633afc85a9fb8cba0edc365d19403158c5a0 | [
"BSD-3-Clause"
] | null | null | null | glibc/sysdeps/unix/sysv/linux/m68k/mmap_internal.h | chyidl/mirror-glibc | 3b17633afc85a9fb8cba0edc365d19403158c5a0 | [
"BSD-3-Clause"
] | null | null | null | /* Common mmap definition for Linux implementation. Linux/m68k version.
Copyright (C) 2017-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as... | 39.033333 | 72 | 0.760034 |
44a7546f3335875b7f5deaf07dd17f94b1f99ace | 2,768 | h | C | config.h | z7059652/FreeRDP | 1c738ec0be5a1b461244b4292c5f50d5fa6fb4de | [
"Apache-2.0"
] | null | null | null | config.h | z7059652/FreeRDP | 1c738ec0be5a1b461244b4292c5f50d5fa6fb4de | [
"Apache-2.0"
] | null | null | null | config.h | z7059652/FreeRDP | 1c738ec0be5a1b461244b4292c5f50d5fa6fb4de | [
"Apache-2.0"
] | null | null | null | #ifndef __CONFIG_H
#define __CONFIG_H
#define FREERDP_DATA_PATH "C:/Program Files/FreeRDP/share/freerdp"
#define FREERDP_KEYMAP_PATH ""
#define FREERDP_PLUGIN_PATH "lib/freerdp"
#define FREERDP_INSTALL_PREFIX "C:/Program Files/FreeRDP"
#define FREERDP_LIBRARY_PATH "lib"
#define FREERDP_ADDIN_PATH "lib/freerdp"
#de... | 25.62963 | 66 | 0.722905 |
93bac339e3988ccc71f64b6d065da1a091957fa0 | 608 | h | C | include/ChessCore/AppleUtil.h | trojanfoe/ChessCore | be1022a37bc12fb6c545d258eaf4b99f57049995 | [
"MIT",
"Unlicense"
] | 3 | 2016-02-02T23:00:22.000Z | 2018-08-03T12:51:34.000Z | include/ChessCore/AppleUtil.h | trojanfoe/ChessCore | be1022a37bc12fb6c545d258eaf4b99f57049995 | [
"MIT",
"Unlicense"
] | 1 | 2015-01-01T12:15:56.000Z | 2015-01-04T19:44:01.000Z | include/ChessCore/AppleUtil.h | trojanfoe/ChessCore | be1022a37bc12fb6c545d258eaf4b99f57049995 | [
"MIT",
"Unlicense"
] | null | null | null | //
// ChessCore (c)2008-2013 Andy Duplain <andy@trojanfoe.com>
//
// AppleUtil.h: Apple-specific utility functions.
//
#pragma once
#include <ChessCore/ChessCore.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* Get the app's temporary directory into the specified buffer.
*
* @param buffer Where to store the tempo... | 21.714286 | 82 | 0.728618 |
7851bea12d0694071b3bc5be7f04cb58002138cc | 1,426 | h | C | Source/Samples/54_P2PMultiplayerExtended/Peer.h | ArnisLielturks/Urho3D-P2P-Multiplayer | f986ca7fdfcbe46a7883cc48db8a23e876330602 | [
"MIT"
] | 2 | 2019-02-19T09:00:13.000Z | 2022-01-11T17:05:23.000Z | Source/Samples/54_P2PMultiplayerExtended/Peer.h | ArnisLielturks/Urho3D-P2P-Multiplayer | f986ca7fdfcbe46a7883cc48db8a23e876330602 | [
"MIT"
] | null | null | null | Source/Samples/54_P2PMultiplayerExtended/Peer.h | ArnisLielturks/Urho3D-P2P-Multiplayer | f986ca7fdfcbe46a7883cc48db8a23e876330602 | [
"MIT"
] | 1 | 2019-11-25T10:33:35.000Z | 2019-11-25T10:33:35.000Z | //
// Created by arnislielturks on 18.6.11.
//
#pragma once
#include <Urho3D/Input/Controls.h>
#include <Urho3D/Scene/LogicComponent.h>
#include <Urho3D/Network/Connection.h>
#include <Urho3D/Core/Context.h>
#include <Urho3D/Scene/Scene.h>
using namespace Urho3D;
// Control bits we define
static const unsigned CTRL... | 21.606061 | 81 | 0.718794 |
2b024bb9faf7a7519073b4672a63e11151060baa | 5,176 | c | C | lib/mdb/mdb.c | UWNetworksLab/arrakis | a6964987bb718e3d84e4fbf44f5d1d1b5e7f64a7 | [
"MIT"
] | 81 | 2015-01-02T23:53:38.000Z | 2021-12-26T23:04:47.000Z | lib/mdb/mdb.c | salivarick/barrelfish | 252246b89117b0a23f6caa48a8b166c7bf12f885 | [
"MIT"
] | 1 | 2016-09-21T06:27:06.000Z | 2016-10-05T07:16:28.000Z | lib/mdb/mdb.c | salivarick/barrelfish | 252246b89117b0a23f6caa48a8b166c7bf12f885 | [
"MIT"
] | 7 | 2015-03-11T14:27:15.000Z | 2017-11-08T23:03:45.000Z | /**
* \file
* \brief
*/
/*
* Copyright (c) 2007, 2008, 2010, 2011, ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Syste... | 27.531915 | 82 | 0.618238 |
ff94e352a1a7cc39fc00d5c321fba7906311ec55 | 723 | h | C | Chaos/src/Chaos.h | dohnala/Chaos | 384a85082860310344b3509c429d4e680fe14e8d | [
"Apache-2.0"
] | null | null | null | Chaos/src/Chaos.h | dohnala/Chaos | 384a85082860310344b3509c429d4e680fe14e8d | [
"Apache-2.0"
] | null | null | null | Chaos/src/Chaos.h | dohnala/Chaos | 384a85082860310344b3509c429d4e680fe14e8d | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Chaos/Core/Base.h"
#include "Chaos/Core/Application.h"
#include "Chaos/Core/Layer.h"
#include "Chaos/Core/Log.h"
#include "Chaos/Core/Assert.h"
#include "Chaos/Core/Timestep.h"
#include "Chaos/Core/Random.h"
#include "Chaos/Core/Input.h"
#include "Chaos/Core/KeyCodes.h"
#include "Chaos/Core/Mous... | 25.821429 | 46 | 0.75657 |
2c985ca868a6e32f72b133475cd8a9bda966d753 | 2,912 | h | C | third_party/chromium/base/trace_event/auto_open_close_event.h | dendisuhubdy/CXTPL | 586b146c6a68b79a310ba20d133a0ca6211f22cc | [
"MIT"
] | 128 | 2019-10-07T14:03:15.000Z | 2022-02-25T10:25:57.000Z | third_party/chromium/base/trace_event/auto_open_close_event.h | dendisuhubdy/CXTPL | 586b146c6a68b79a310ba20d133a0ca6211f22cc | [
"MIT"
] | 65 | 2019-09-20T07:25:22.000Z | 2020-10-14T14:31:52.000Z | third_party/chromium/base/trace_event/auto_open_close_event.h | dendisuhubdy/CXTPL | 586b146c6a68b79a310ba20d133a0ca6211f22cc | [
"MIT"
] | 90 | 2019-10-16T06:13:14.000Z | 2022-03-02T10:29:19.000Z | // Copyright 2016 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 BASE_TRACE_EVENT_AUTO_OPEN_CLOSE_EVENT_H_
#define BASE_TRACE_EVENT_AUTO_OPEN_CLOSE_EVENT_H_
#include "base/macros.h"
#include "base/memory/weak_p... | 35.512195 | 80 | 0.748626 |
d285fe312ea0b236974de0234e1d3755300cbd6d | 203 | h | C | ch_4/p4-5/p4-5.h | bg2d/accelerated_cpp | a558d90090ceadeedd83e4726f6e7497219e9626 | [
"MIT"
] | null | null | null | ch_4/p4-5/p4-5.h | bg2d/accelerated_cpp | a558d90090ceadeedd83e4726f6e7497219e9626 | [
"MIT"
] | null | null | null | ch_4/p4-5/p4-5.h | bg2d/accelerated_cpp | a558d90090ceadeedd83e4726f6e7497219e9626 | [
"MIT"
] | null | null | null | #ifndef GUARD_P4_5_h
#define GUARD_P4_5_h
#include <string>
#include <vector>
struct input_word {
std::string word;
int occ;
};
int get_input(std::istream&, std::vector<input_word>&);
#endif
| 13.533333 | 55 | 0.704433 |
302087fe6b36a3c4993317b61b357af8dcddff27 | 1,860 | h | C | components/service/ucloud/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | components/service/ucloud/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | null | null | null | components/service/ucloud/live/include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 1 | 2021-06-20T06:43:12.000Z | 2021-06-20T06:43:12.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 28.181818 | 91 | 0.745161 |
b9bf53210c7d883656b7b85210ab0ad01f8c8264 | 309 | h | C | base/noncopyable.h | 761417898/WebServer | 8a519c226d2aec5d9fc6d6ca9d18858678cbae92 | [
"MIT"
] | 1 | 2019-03-18T09:57:21.000Z | 2019-03-18T09:57:21.000Z | base/noncopyable.h | 761417898/WebServer | 8a519c226d2aec5d9fc6d6ca9d18858678cbae92 | [
"MIT"
] | null | null | null | base/noncopyable.h | 761417898/WebServer | 8a519c226d2aec5d9fc6d6ca9d18858678cbae92 | [
"MIT"
] | null | null | null | #ifndef BASE_NONCOPYABLE_H
#define BASE_NONCOPYABLE_H
namespace GaoServer {
class noncopyable {
public:
noncopyable(const noncopyable&) = delete;
void operator=(const noncopyable&) = delete;
protected:
noncopyable() = default;
~noncopyable() = default;
};
}
#endif // BASE_NONCOPYABLE_H
| 15.45 | 48 | 0.721683 |
27fae32e235434e060d061ced5fa5e2f7fa895a8 | 519 | h | C | OneBusAway/ui/bookmarks/OBABookmarksViewController.h | ualch9/onebusaway-iphone | de4c8827c8ab221d24c98e0958220ec5c0947116 | [
"Apache-2.0"
] | 166 | 2015-01-30T03:26:42.000Z | 2022-02-09T20:06:24.000Z | OneBusAway/ui/bookmarks/OBABookmarksViewController.h | ualch9/onebusaway-iphone | de4c8827c8ab221d24c98e0958220ec5c0947116 | [
"Apache-2.0"
] | 720 | 2015-01-01T03:06:30.000Z | 2021-08-06T18:44:14.000Z | OneBusAway/ui/bookmarks/OBABookmarksViewController.h | ualch9/onebusaway-iphone | de4c8827c8ab221d24c98e0958220ec5c0947116 | [
"Apache-2.0"
] | 118 | 2015-01-05T16:03:09.000Z | 2022-03-11T05:04:02.000Z | //
// OBABookmarksViewController.h
// org.onebusaway.iphone
//
// Created by Aaron Brethorst on 3/9/16.
// Copyright © 2016 OneBusAway. All rights reserved.
//
@import OBAKit;
@interface OBABookmarksViewController : OBAStaticTableViewController<OBANavigationTargetAware>
@property(nonatomic,strong) OBAApplication ... | 30.529412 | 94 | 0.805395 |
7df3a08aef587525a99f798db366e4822dc2bdb2 | 874 | h | C | RtLibrary/include/Xuzumi/Platform/Console.h | lymuc-studio/Xuzumi | 6377b07ba991d3c4f7cfa92c25fd35cc8a136f81 | [
"MIT"
] | null | null | null | RtLibrary/include/Xuzumi/Platform/Console.h | lymuc-studio/Xuzumi | 6377b07ba991d3c4f7cfa92c25fd35cc8a136f81 | [
"MIT"
] | null | null | null | RtLibrary/include/Xuzumi/Platform/Console.h | lymuc-studio/Xuzumi | 6377b07ba991d3c4f7cfa92c25fd35cc8a136f81 | [
"MIT"
] | null | null | null | #pragma once
#include "Xuzumi/Core/Types.h"
namespace Xuzumi
{
enum class ConsoleColor
{
White,
Black,
Blue,
Red,
Green,
Yello,
DarkWhite,
DarkBlue,
DarkRed,
DarkGreen,
DarkYello,
};
class Console
{
public:
static bool Allocate();
static void Free();
static bool Valid();
static ... | 16.490566 | 59 | 0.708238 |
fe6d79eee104cf75f165b14b0595ee1ece2acc4e | 61 | c | C | 3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/UMFPACK/SourceWrappers/umfpack_dl_get_determinant.o.c | luoyongheng/dtslam | d3c2230d45db14c811eff6fd43e119ac39af1352 | [
"BSD-3-Clause"
] | 370 | 2015-01-30T01:04:37.000Z | 2022-03-26T18:48:39.000Z | 3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/UMFPACK/SourceWrappers/umfpack_dl_get_determinant.o.c | luoyongheng/dtslam | d3c2230d45db14c811eff6fd43e119ac39af1352 | [
"BSD-3-Clause"
] | 85 | 2015-02-03T22:57:35.000Z | 2021-12-17T12:39:55.000Z | 3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/UMFPACK/SourceWrappers/umfpack_dl_get_determinant.o.c | luoyongheng/dtslam | d3c2230d45db14c811eff6fd43e119ac39af1352 | [
"BSD-3-Clause"
] | 234 | 2015-01-14T15:09:09.000Z | 2022-03-26T18:48:41.000Z | #define DLONG
#include <../Source/umfpack_get_determinant.c>
| 20.333333 | 46 | 0.786885 |
7d73a7d466caed3d6d0c4f6c1a204a4ef5a31395 | 196 | c | C | C_Prac/Modoo/func/func_5.c | googoles/C_algorithms | 649b46d004913d3baeb92d4a3003944f3fd5bc7b | [
"MIT"
] | null | null | null | C_Prac/Modoo/func/func_5.c | googoles/C_algorithms | 649b46d004913d3baeb92d4a3003944f3fd5bc7b | [
"MIT"
] | null | null | null | C_Prac/Modoo/func/func_5.c | googoles/C_algorithms | 649b46d004913d3baeb92d4a3003944f3fd5bc7b | [
"MIT"
] | null | null | null | #include <stdio.h>
int factorize(int n)
{
int i;
for(i = 2; i <= n; i++)
{
if (n % i == 0) {
n /= i;
printf("%d X ", i);
i = 1;
}
}
}
int main(){
} | 8.909091 | 27 | 0.336735 |
04634159ab83bba5aaa2a5749897d19ce6eb11f9 | 806 | c | C | Exercises/Listas de Nivelamento/Lista04/aeroporto.c | whoiswelliton/Algorithms_and_Data_Structures | 8aded4a427c68f6c89135fd8c0094dc361bd1538 | [
"MIT"
] | null | null | null | Exercises/Listas de Nivelamento/Lista04/aeroporto.c | whoiswelliton/Algorithms_and_Data_Structures | 8aded4a427c68f6c89135fd8c0094dc361bd1538 | [
"MIT"
] | null | null | null | Exercises/Listas de Nivelamento/Lista04/aeroporto.c | whoiswelliton/Algorithms_and_Data_Structures | 8aded4a427c68f6c89135fd8c0094dc361bd1538 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
int main(){
int a; //numero de aeroportos
int v; //numero de voos
int i;
int x,y;
int teste=1;
while (scanf (" %d %d", &a, &v) && a!=0 && v!=0){
/*vet contém a frequência de aeroportos, assim, o aeroporto
"i" tem uma frequência de vet[i]*/
int vet[a+1];
memset(v... | 19.190476 | 61 | 0.555831 |
a8df1abee2adff9dfcb9b30a4ac044220dfc26f3 | 830 | h | C | ESwap/arithmetic_execution.h | kzoacn/ESwap | 120ef93ff823ec91760e35dd3f37bc4ed931c73e | [
"MIT"
] | null | null | null | ESwap/arithmetic_execution.h | kzoacn/ESwap | 120ef93ff823ec91760e35dd3f37bc4ed931c73e | [
"MIT"
] | null | null | null | ESwap/arithmetic_execution.h | kzoacn/ESwap | 120ef93ff823ec91760e35dd3f37bc4ed931c73e | [
"MIT"
] | null | null | null | #ifndef ARITHMETIC_EXECUTION_H__
#define ARITHMETIC_EXECUTION_H__
#include "emp-tool/emp-tool.h"
namespace emp {
class Number;
class ArithmeticExecution: virtual public CircuitExecution {
public:
static __thread ArithmeticExecution * ari_exec;
static block _;
virtual void add_gate(Number &c,const Number &a,cons... | 37.727273 | 96 | 0.761446 |
a8e608291379eb0e5ec2e278a375e5e1db75e197 | 573 | h | C | BugCoverageSwiftInit/BugCoverageSwiftInit.h | paulz/XcodeBugInTestCoverageForSwiftInit | ce5c4a49be9bf3ac82a018c9ecff3f312ea226b9 | [
"MIT"
] | 1 | 2019-01-12T08:04:17.000Z | 2019-01-12T08:04:17.000Z | BugCoverageSwiftInit/BugCoverageSwiftInit.h | paulz/XcodeBugInTestCoverageForSwiftInit | ce5c4a49be9bf3ac82a018c9ecff3f312ea226b9 | [
"MIT"
] | null | null | null | BugCoverageSwiftInit/BugCoverageSwiftInit.h | paulz/XcodeBugInTestCoverageForSwiftInit | ce5c4a49be9bf3ac82a018c9ecff3f312ea226b9 | [
"MIT"
] | null | null | null | //
// BugCoverageSwiftInit.h
// BugCoverageSwiftInit
//
// Created by Paul Zabelin on 6/1/18.
// Copyright © 2018 Paul Zabelin. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for BugCoverageSwiftInit.
FOUNDATION_EXPORT double BugCoverageSwiftInitVersionNumber;
//! Project version stri... | 28.65 | 145 | 0.790576 |
2898cb52e33177f9df2e969a70ad30fc4badaafd | 1,488 | h | C | include/flamegpu/pop/AgentStateMemory.h | Robadob/FLAMEGPU2_dev | 3e4106078f754ee90957519fa196a863fd257d1c | [
"MIT"
] | null | null | null | include/flamegpu/pop/AgentStateMemory.h | Robadob/FLAMEGPU2_dev | 3e4106078f754ee90957519fa196a863fd257d1c | [
"MIT"
] | null | null | null | include/flamegpu/pop/AgentStateMemory.h | Robadob/FLAMEGPU2_dev | 3e4106078f754ee90957519fa196a863fd257d1c | [
"MIT"
] | null | null | null | /**
* @file AgentStateMemory.h
* @authors Paul
* @date 5 Mar 2014
* @brief
*
* @see
* @warning
*/
#ifndef INCLUDE_FLAMEGPU_POP_AGENTSTATEMEMORY_H_
#define INCLUDE_FLAMEGPU_POP_AGENTSTATEMEMORY_H_
#include <string>
#include <vector>
#include <map>
#include <typeinfo>
// include generic memory vectors
#includ... | 25.655172 | 100 | 0.760081 |
7acefa971450d93532366916c523dcdba8fafec7 | 91,322 | c | C | wireshark-2.0.13/epan/dissectors/packet-quic.c | mahrukhfida/mi | 7187765aa225e71983969ef5285771ac77c8309a | [
"Apache-2.0"
] | null | null | null | wireshark-2.0.13/epan/dissectors/packet-quic.c | mahrukhfida/mi | 7187765aa225e71983969ef5285771ac77c8309a | [
"Apache-2.0"
] | null | null | null | wireshark-2.0.13/epan/dissectors/packet-quic.c | mahrukhfida/mi | 7187765aa225e71983969ef5285771ac77c8309a | [
"Apache-2.0"
] | null | null | null | /* packet-quic.c
* Routines for Quick UDP Internet Connections dissection
* Copyright 2013, Alexis La Goutte <alexis.lagoutte at gmail dot com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute ... | 42.083871 | 218 | 0.602407 |
d88cf74fc58044a154d659a59ca8903423bcf0e8 | 631 | h | C | Core/Inc/oled_font.h | imengyu/ControlSwitch | 785c11c8851e187a6f697600808e0529f85f9afc | [
"MIT"
] | 8 | 2021-01-22T07:43:28.000Z | 2022-03-26T14:02:43.000Z | Core/Inc/oled_font.h | imengyu/ControlSwitch | 785c11c8851e187a6f697600808e0529f85f9afc | [
"MIT"
] | null | null | null | Core/Inc/oled_font.h | imengyu/ControlSwitch | 785c11c8851e187a6f697600808e0529f85f9afc | [
"MIT"
] | null | null | null | /**
******************************************************************************
* @file : oled_font.h
* @brief : LED字符点阵
******************************************************************************
*/
#ifndef __OLED_FONT_H
#define __OLED_FONT_H
#define GB162_F16_COUNT 9 //汉字个数
//汉字... | 23.37037 | 80 | 0.508716 |
1a7cd36fd31afefad4c966bb0730a6b9e19587ed | 495 | h | C | Drawboard/Drawboard/Drawboard.h | www16852/Drawboard_swift | 146282ff970c35c206680a2aeacf7bda29961503 | [
"Apache-2.0"
] | null | null | null | Drawboard/Drawboard/Drawboard.h | www16852/Drawboard_swift | 146282ff970c35c206680a2aeacf7bda29961503 | [
"Apache-2.0"
] | null | null | null | Drawboard/Drawboard/Drawboard.h | www16852/Drawboard_swift | 146282ff970c35c206680a2aeacf7bda29961503 | [
"Apache-2.0"
] | null | null | null | //
// Drawboard.h
// Drawboard
//
// Created by waltoncob on 2016/11/15.
// Copyright © 2016年 waltoncob. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for Drawboard.
FOUNDATION_EXPORT double DrawboardVersionNumber;
//! Project version string for Drawboard.
FOUNDATION_EXPORT const uns... | 24.75 | 134 | 0.761616 |
7fb667ef88886f1bea037ad428f2397278919c26 | 16,844 | c | C | opal/mca/pmix/pmix112/pmix_pmix1.c | ICLDisco/SCON_Prototype | 69841e27f0079b21d1f930655678a6183af3282f | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | opal/mca/pmix/pmix112/pmix_pmix1.c | ICLDisco/SCON_Prototype | 69841e27f0079b21d1f930655678a6183af3282f | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | opal/mca/pmix/pmix112/pmix_pmix1.c | ICLDisco/SCON_Prototype | 69841e27f0079b21d1f930655678a6183af3282f | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
* Copyright (c) 2014-2016 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2014 Mellanox Technologies,... | 30.294964 | 90 | 0.620043 |
cfa5d8df0e8e1ee221424b4657db77b61ba12d83 | 25,678 | c | C | bsp/efm32/Libraries/CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_q31.c | Davidfind/rt-thread | 56f1a8af4f9e8bad0a0fdc5cea7112767267b243 | [
"Apache-2.0"
] | 275 | 2018-06-15T14:34:36.000Z | 2022-03-26T17:09:40.000Z | bsp/efm32/Libraries/CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_q31.c | zlzerg/rt-thread | c0a400ccbee720fc0e9ee904298f09bd07a21382 | [
"Apache-2.0"
] | 5 | 2019-02-28T10:07:03.000Z | 2019-03-11T10:40:20.000Z | bsp/efm32/Libraries/CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_q31.c | zlzerg/rt-thread | c0a400ccbee720fc0e9ee904298f09bd07a21382 | [
"Apache-2.0"
] | 164 | 2018-06-15T14:47:47.000Z | 2022-03-25T09:54:53.000Z | /* ----------------------------------------------------------------------
* Copyright (C) 2010 ARM Limited. All rights reserved.
*
* $Date: 15. February 2012
* $Revision: V1.1.0
*
* Project: CMSIS DSP Library
* Title: arm_cfft_radix4_q31.c
*
* Description: This file has ... | 28.786996 | 142 | 0.466586 |
82d6e5383685bd0623e7a20de51c8ad5491475ed | 8,894 | c | C | sdk-6.5.16/src/soc/esw/tomahawk2/flexport/tomahawk2_mmu_port_resequence.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.16/src/soc/esw/tomahawk2/flexport/tomahawk2_mmu_port_resequence.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.16/src/soc/esw/tomahawk2/flexport/tomahawk2_mmu_port_resequence.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2019 Broadcom Inc. All rights reserved.
*
* $File: tomahawk2_mmu_port_resequence.c
*/
#include <shared/bsl.h>
#include <soc/drv.h>
#include <soc/defs.h>
#inc... | 32.698529 | 133 | 0.626265 |
89d5fc283aed3cd86cc1ea1a8dcb6ef6a71532f2 | 2,372 | h | C | src/isolate/inspector.h | vugluskr86/isolated-vm | 6a204868374dd794e3f2170cc2bff938eaf6db96 | [
"0BSD"
] | null | null | null | src/isolate/inspector.h | vugluskr86/isolated-vm | 6a204868374dd794e3f2170cc2bff938eaf6db96 | [
"0BSD"
] | null | null | null | src/isolate/inspector.h | vugluskr86/isolated-vm | 6a204868374dd794e3f2170cc2bff938eaf6db96 | [
"0BSD"
] | null | null | null | #pragma once
#include <v8.h>
#include "./v8_inspector_wrapper.h"
#include <condition_variable>
#include <memory>
#include <mutex>
#include <unordered_set>
namespace ivm {
class IsolateEnvironment;
class InspectorSession;
/**
* This handles communication to the v8 backend. There is only one of these per isolate, but ... | 33.408451 | 98 | 0.772344 |
683dbd4a22ee9d2fb58c8bbb6589c777c00af61c | 1,210 | h | C | util.h | kzwkt/foot | 94f0b7283a4fba57788c753380afe1fc752351de | [
"MIT"
] | null | null | null | util.h | kzwkt/foot | 94f0b7283a4fba57788c753380afe1fc752351de | [
"MIT"
] | null | null | null | util.h | kzwkt/foot | 94f0b7283a4fba57788c753380afe1fc752351de | [
"MIT"
] | null | null | null | #pragma once
#include <stdint.h>
#include <threads.h>
#define ALEN(v) (sizeof(v) / sizeof((v)[0]))
#define min(x, y) ((x) < (y) ? (x) : (y))
#define max(x, y) ((x) > (y) ? (x) : (y))
static inline const char *
thrd_err_as_string(int thrd_err)
{
switch (thrd_err) {
case thrd_success: return "success";
ca... | 20.166667 | 63 | 0.533058 |
d05281c2eb04cee14573222e03f1b9affbcd22bc | 1,538 | c | C | benchmarks/rdoc/ruby_trunk/ext/openssl/ossl_bio.c | acangiano/ruby-benchmark-suite | 314ae79f97110a6ee1248dcdf2c4ac2ee4778dec | [
"MIT"
] | 19 | 2015-01-23T03:27:08.000Z | 2021-03-19T00:42:42.000Z | benchmarks/rdoc/ruby_trunk/ext/openssl/ossl_bio.c | tmtm/ruby-benchmark-suite | 314ae79f97110a6ee1248dcdf2c4ac2ee4778dec | [
"MIT"
] | null | null | null | benchmarks/rdoc/ruby_trunk/ext/openssl/ossl_bio.c | tmtm/ruby-benchmark-suite | 314ae79f97110a6ee1248dcdf2c4ac2ee4778dec | [
"MIT"
] | 4 | 2015-03-09T03:57:29.000Z | 2019-09-14T03:34:08.000Z | /*
* $Id: ossl_bio.c 25189 2009-10-02 12:04:37Z akr $
* 'OpenSSL for Ruby' team members
* Copyright (C) 2003
* All rights reserved.
*/
/*
* This program is licenced under the same licence as Ruby.
* (See the file 'LICENCE'.)
*/
#include "ossl.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
BIO *
ossl_obj2bi... | 17.678161 | 80 | 0.631339 |
a9bd62057c600c9dbdf82fe8b525500e8210c86f | 150 | h | C | cpp-state-machine-framework/actions/ByDefault.h | tucher/cpp-state-machine-framework | 0919bad5dfb22004a84c1bdc442882b221bcf7f0 | [
"MIT"
] | 37 | 2019-12-28T20:50:20.000Z | 2021-12-27T16:50:47.000Z | cpp-state-machine-framework/actions/ByDefault.h | tucher/cpp-state-machine-framework | 0919bad5dfb22004a84c1bdc442882b221bcf7f0 | [
"MIT"
] | null | null | null | cpp-state-machine-framework/actions/ByDefault.h | tucher/cpp-state-machine-framework | 0919bad5dfb22004a84c1bdc442882b221bcf7f0 | [
"MIT"
] | 7 | 2020-07-28T11:34:32.000Z | 2021-11-17T04:21:59.000Z | #pragma once
template <typename Action>
struct ByDefault
{
template <typename Event>
Action handle(const Event&) const
{
return Action{};
}
};
| 12.5 | 34 | 0.713333 |
b79ed38d610c570f1684151cc36422ad7bef7eb3 | 4,531 | h | C | openbsd/sys/arch/mvmeppc/include/powerpc.h | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 91 | 2015-01-05T15:18:31.000Z | 2022-03-11T16:43:28.000Z | openbsd/sys/arch/mvmeppc/include/powerpc.h | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 1 | 2016-02-25T15:57:55.000Z | 2016-02-25T16:01:02.000Z | openbsd/sys/arch/mvmeppc/include/powerpc.h | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 21 | 2015-02-07T08:23:07.000Z | 2021-12-14T06:01:49.000Z | /* $OpenBSD: powerpc.h,v 1.1 2001/06/26 21:57:47 smurph Exp $ */
/* $NetBSD: powerpc.h,v 1.1 1996/09/30 16:34:30 ws Exp $ */
/*
* Copyright (C) 1996 Wolfgang Solfrank.
* Copyright (C) 1996 TooLs GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, ar... | 34.067669 | 80 | 0.705804 |
a10d1f5c1a367ab55fe7fcfa828f44e77abbef1d | 2,895 | c | C | proj/PN532_PICC_Emulate/main.c | ZeeLivermorium/PN532_TM4C123GXL | acaa025814bec68977b373dba47176413fe811e8 | [
"MIT"
] | 1 | 2017-12-22T16:54:48.000Z | 2017-12-22T16:54:48.000Z | proj/PN532_PICC_Emulate/main.c | ZeeLivermorium/PN532_TM4C123GXL | acaa025814bec68977b373dba47176413fe811e8 | [
"MIT"
] | null | null | null | proj/PN532_PICC_Emulate/main.c | ZeeLivermorium/PN532_TM4C123GXL | acaa025814bec68977b373dba47176413fe811e8 | [
"MIT"
] | null | null | null | /*!
* @file main.c
* @brief emulate PN532 as NDEF tag.
* ----------
* Adapted code from Seeed Studio PN532 driver for Arduino.
* You can find the Seeed Studio PN532 driver here: https://github.com/Seeed-Studio/PN532
* ----------
* NXP PN532 Data Sheet: https://www.nxp.com/docs/en/nxp/data-sheets/PN532_C... | 35.304878 | 118 | 0.641451 |
4e4d8c2b25e4598644297542b393af09a1c58467 | 6,133 | c | C | xpa-2.1.14/xpaset.c | odysseus9672/pysao | 883bf6fc8fa86ae8777d3ae31c8b466fde25c94a | [
"MIT"
] | 3 | 2015-03-20T03:52:34.000Z | 2021-08-18T12:55:22.000Z | xpa-2.1.14/xpaset.c | odysseus9672/pysao | 883bf6fc8fa86ae8777d3ae31c8b466fde25c94a | [
"MIT"
] | 3 | 2019-06-26T18:26:10.000Z | 2021-08-17T03:19:15.000Z | xpa-2.1.14/xpaset.c | odysseus9672/pysao | 883bf6fc8fa86ae8777d3ae31c8b466fde25c94a | [
"MIT"
] | 5 | 2017-05-04T15:57:00.000Z | 2021-05-03T13:26:36.000Z | /*
* Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory
*/
#include <xpap.h>
extern char *optarg;
extern int optind;
#ifdef ANSI_FUNC
void
usage (char *s)
#else
void usage(s)
char *s;
#endif
{
fprintf(stderr, "\n");
fprintf(stderr, "usage:\n");
fprintf(stderr, " <data> | %s [-h] [-i n... | 25.554167 | 141 | 0.585032 |
ec850e42be32f171f8230f8266c694f101bf11f6 | 2,025 | c | C | sdl/window.c | dsoageofheroes/soloscuro | 37ec77aeeebc0edaf687c4df36914416a10ec157 | [
"MIT"
] | 3 | 2021-02-20T00:09:48.000Z | 2022-02-08T23:33:21.000Z | sdl/window.c | dsoageofheroes/soloscuro | 37ec77aeeebc0edaf687c4df36914416a10ec157 | [
"MIT"
] | 1 | 2021-02-20T03:13:45.000Z | 2021-02-20T03:13:45.000Z | sdl/window.c | dsoageofheroes/soloscuro | 37ec77aeeebc0edaf687c4df36914416a10ec157 | [
"MIT"
] | 3 | 2021-02-20T00:02:55.000Z | 2021-03-17T23:42:49.000Z | /* This is a debug program for testing the various available windows. */
#include <SDL2/SDL.h>
#include <stdio.h>
#include "window-manager.h"
#include "add-load-save.h"
#include "game-menu.h"
#include "inventory.h"
#include "interact.h"
#include "narrate.h"
#include "window-main.h"
#include "view-character.h"
#include ... | 27.364865 | 79 | 0.614321 |
ecc17889254af706b4e49b1cb7fdf4275866812e | 455 | h | C | include/ppr/cmd/benchmark/benchmark.h | zieglerdo/ppr | 3ba2d675ee80a723a4e83b0e9249bb546e2a1489 | [
"MIT"
] | 1 | 2020-08-05T08:37:43.000Z | 2020-08-05T08:37:43.000Z | include/ppr/cmd/benchmark/benchmark.h | zieglerdo/ppr | 3ba2d675ee80a723a4e83b0e9249bb546e2a1489 | [
"MIT"
] | null | null | null | include/ppr/cmd/benchmark/benchmark.h | zieglerdo/ppr | 3ba2d675ee80a723a4e83b0e9249bb546e2a1489 | [
"MIT"
] | 1 | 2022-03-31T06:14:04.000Z | 2022-03-31T06:14:04.000Z | #pragma once
#include "ppr/cmd/benchmark/bench_spec.h"
#include "ppr/cmd/benchmark/bounds.h"
#include "ppr/cmd/benchmark/prog_options.h"
#include "ppr/cmd/benchmark/stations.h"
#include "ppr/common/routing_graph.h"
#include "ppr/routing/search_profile.h"
namespace ppr::benchmark {
void run_benchmark(routing_graph co... | 28.4375 | 68 | 0.736264 |
08a6184524db3d10d99de56a65ed2ab9e4036496 | 297 | h | C | src/sha.h | skawamoto0/FFFTP-Classic | 99e2fa670145735e0f81c69202d1f46c6ff6a7bd | [
"BSD-3-Clause"
] | null | null | null | src/sha.h | skawamoto0/FFFTP-Classic | 99e2fa670145735e0f81c69202d1f46c6ff6a7bd | [
"BSD-3-Clause"
] | null | null | null | src/sha.h | skawamoto0/FFFTP-Classic | 99e2fa670145735e0f81c69202d1f46c6ff6a7bd | [
"BSD-3-Clause"
] | null | null | null | #define MSDOS
#define LITTLE_ENDIAN
typedef int int32;
typedef unsigned int uint32;
//typedef unsigned int UINT4;
typedef unsigned short int UINT2;
/*
* just enough declarations for otp_hash to deal.
*/
void sha_memory (char *, uint32, uint32 *);
| 18.5625 | 50 | 0.636364 |
311eb6ad1f97306a201985edd1cbaac730bf7de3 | 1,595 | h | C | AK/Tests/TestHelpers.h | dcimino/serenity | 752d297321c47ff93df4b0d8ccadb39db6ccce3f | [
"BSD-2-Clause"
] | 1 | 2019-07-13T01:30:44.000Z | 2019-07-13T01:30:44.000Z | AK/Tests/TestHelpers.h | urantialife/serenity | 6e671f78a82bc3d9785bd35307cec72a84b6dcda | [
"BSD-2-Clause"
] | null | null | null | AK/Tests/TestHelpers.h | urantialife/serenity | 6e671f78a82bc3d9785bd35307cec72a84b6dcda | [
"BSD-2-Clause"
] | 1 | 2019-11-17T10:42:52.000Z | 2019-11-17T10:42:52.000Z | #pragma once
#include <stdio.h>
#include <AK/AKString.h>
#define LOG_FAIL(cond) \
fprintf(stderr, "\033[31;1mFAIL\033[0m: " #cond "\n")
#define LOG_PASS(cond) \
fprintf(stderr, "\033[32;1mPASS\033[0m: " #cond "\n")
#define LOG_FAIL_EQ(cond, expected_value, actual_value) \
fprintf(stderr, "\033[31;1mFAIL... | 23.115942 | 97 | 0.622571 |
d6e8bd4f4f325b17b357a2074ae8a58d35b547f5 | 477 | c | C | test/testinfo.c | jlowintermute/log | e1e2892270d46140ede74181fc8245ac0ccc863b | [
"0BSD"
] | null | null | null | test/testinfo.c | jlowintermute/log | e1e2892270d46140ede74181fc8245ac0ccc863b | [
"0BSD"
] | null | null | null | test/testinfo.c | jlowintermute/log | e1e2892270d46140ede74181fc8245ac0ccc863b | [
"0BSD"
] | null | null | null | #include <log/log.h>
int
main()
{
LOG_INIT(LOG_INFO);
LOG(LOG_DEBUG, "This is the debug text: %s", "with a substring");
LOG(LOG_INFO, "This is the info text: %s", "with a substring2");
LOG(LOG_NOTICE, "This is the notice text: %s", "with a substring2");
LOG(LOG_WARNING, "This is the warning text: %s", "with... | 31.8 | 72 | 0.662474 |
d900aa67722e570f62f9df9177c19d905295a45d | 2,663 | h | C | AMOS/Libs/Libs_Source/PTPlayLibrary/Sources/LibHeader.h | fatman2021/AMOSProfessional | e4b00e561c4af708d1f1006ec833d5cc9aef91df | [
"MIT"
] | 2 | 2020-01-23T17:33:10.000Z | 2020-11-01T20:19:42.000Z | AMOS/Libs/Libs_Source/PTPlayLibrary/Sources/LibHeader.h | fatman2021/AMOSProfessional | e4b00e561c4af708d1f1006ec833d5cc9aef91df | [
"MIT"
] | null | null | null | AMOS/Libs/Libs_Source/PTPlayLibrary/Sources/LibHeader.h | fatman2021/AMOSProfessional | e4b00e561c4af708d1f1006ec833d5cc9aef91df | [
"MIT"
] | 1 | 2020-08-23T17:06:59.000Z | 2020-08-23T17:06:59.000Z | #ifndef PTPLAY_LIBHEADER_H
#define PTPLAY_LIBHEADER_H
#ifndef DOS_DOS_H
#include <dos/dos.h>
#endif
#ifndef EXEC_LIBRARIES_H
#include <exec/libraries.h>
#endif
#ifndef __DECLGATE_H__
#include "declgate.h"
#endif
#ifndef UTILITY_UTILITY_H
#include <utility/utility.h>
#endif
#ifndef RTF_PPC
#define RTF_PPC 0
#endi... | 30.965116 | 182 | 0.648517 |
d8002cb6de9072e6a0e51637e1477edf7fe41091 | 1,137 | h | C | include/refinement/EpsRefine.h | sav-project/covenant | 19dca6cb80be9094ed16c07bfd55d380ced83f9d | [
"MIT"
] | 7 | 2015-07-22T16:01:01.000Z | 2020-10-06T20:17:32.000Z | include/refinement/EpsRefine.h | sav-project/covenant | 19dca6cb80be9094ed16c07bfd55d380ced83f9d | [
"MIT"
] | 1 | 2015-04-24T13:45:07.000Z | 2015-04-25T18:29:31.000Z | include/refinement/EpsRefine.h | sav-tools/covenant | 19dca6cb80be9094ed16c07bfd55d380ced83f9d | [
"MIT"
] | null | null | null | #ifndef __CFG_EPS_REFINE_H__
#define __CFG_EPS_REFINE_H__
#include <refinement/CondEpsGen.h>
namespace covenant {
using namespace std;
enum GeneralizationMethod { GREEDY, MAX_GEN };
std::istream& operator>>(std::istream& in, GeneralizationMethod& gen)
{
std::string token;
in >> token;
if (token == "gre... | 20.672727 | 70 | 0.66051 |
26d75194ceabce0f3592cd46b166c30bcbaef861 | 7,814 | c | C | 00_graph_bench/src/structures/arrayQueue.c | atmughrabi/OpenGraph | 12e7f8632f86b89ca360ff58a20c5a39009a22e5 | [
"BSD-2-Clause"
] | 6 | 2019-12-15T02:37:57.000Z | 2021-02-02T05:10:01.000Z | 00_graph_bench/src/structures/arrayQueue.c | atmughrabi/OpenGraph | 12e7f8632f86b89ca360ff58a20c5a39009a22e5 | [
"BSD-2-Clause"
] | null | null | null | 00_graph_bench/src/structures/arrayQueue.c | atmughrabi/OpenGraph | 12e7f8632f86b89ca360ff58a20c5a39009a22e5 | [
"BSD-2-Clause"
] | 1 | 2020-12-16T05:52:50.000Z | 2020-12-16T05:52:50.000Z | // -----------------------------------------------------------------------------
//
// "00_AccelGraph"
//
// -----------------------------------------------------------------------------
// Copyright (c) 2014-2019 All rights reserved
// -----------------------------------------------------------------------------
... | 19.732323 | 131 | 0.598797 |
144d5f47c7b8ea7dc4bff40f5e288ed586fc74b5 | 877 | h | C | EchoServer.h | 13015517713/MyMuduo | eb864450e8827a1ed46c642b16e808b7a9d4f50f | [
"MIT"
] | null | null | null | EchoServer.h | 13015517713/MyMuduo | eb864450e8827a1ed46c642b16e808b7a9d4f50f | [
"MIT"
] | 1 | 2020-12-26T15:05:30.000Z | 2020-12-26T15:05:30.000Z | EchoServer.h | 13015517713/MyMuduo | eb864450e8827a1ed46c642b16e808b7a9d4f50f | [
"MIT"
] | null | null | null | #ifndef _ECHO_SERVER_H
#define _ECHO_SERVER_H
#include <muduo/net/EventLoop.h>
#include <muduo/net/InetAddress.h>
#include <muduo/net/TcpServer.h>
#include <iostream>
#include <functional>
using namespace muduo;
using namespace muduo::net;
using namespace std::placeholders;
class EchoServer{
public:
EchoServer(Ev... | 30.241379 | 106 | 0.693273 |
e7a909968114a925548112e7c3d9d44aa7c0602c | 6,486 | c | C | vbox/src/VBox/Devices/PC/BIOS/bios.c | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Devices/PC/BIOS/bios.c | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Devices/PC/BIOS/bios.c | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | /* $Id: bios.c 69501 2017-10-28 16:12:47Z vboxsync $ */
/** @file
* PC BIOS - ???
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify i... | 29.216216 | 93 | 0.63984 |
88e558e177dc4cc00a5e0220abd1022e61e30a27 | 1,878 | c | C | dsalgo/01-linear-lists/p0204.c | zw267/coding-practice | b9d81dac1397d84e5df9f19ea4701ca5f4be7043 | [
"MIT"
] | null | null | null | dsalgo/01-linear-lists/p0204.c | zw267/coding-practice | b9d81dac1397d84e5df9f19ea4701ca5f4be7043 | [
"MIT"
] | null | null | null | dsalgo/01-linear-lists/p0204.c | zw267/coding-practice | b9d81dac1397d84e5df9f19ea4701ca5f4be7043 | [
"MIT"
] | null | null | null | /* P0204: Perid in prefixes/
* */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#define MAX_STR_LEN 1000000
// use a global variable storing in the stack to reduce time complexity.
char str[MAX_STR_LEN];
// r[0] is kept a sentinel
int r[MAX_STR_LEN];
/* notes:
* 1. the longth of ... | 17.716981 | 73 | 0.504792 |
7636e3a5a46a7288187a81cd5e675465243993c4 | 870 | h | C | JKPasswordView/PasswordView.h | tangzhentao/JKPasswordView | fa67c063fe15e8ba7b888d0d5fe57e549fa8e9ed | [
"Apache-2.0"
] | null | null | null | JKPasswordView/PasswordView.h | tangzhentao/JKPasswordView | fa67c063fe15e8ba7b888d0d5fe57e549fa8e9ed | [
"Apache-2.0"
] | null | null | null | JKPasswordView/PasswordView.h | tangzhentao/JKPasswordView | fa67c063fe15e8ba7b888d0d5fe57e549fa8e9ed | [
"Apache-2.0"
] | null | null | null | //
// PasswordView.h
// JKPasswordView
//
// Created by itang on 2020/4/4.
// Copyright © 2020 learn. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class PasswordView;
@protocol PasswordViewDelegate<NSObject>
-(void)passWordDidChange:(PasswordView *)password;
-(void)passWordComplete... | 22.307692 | 75 | 0.774713 |
6feb932cde25f7c814693ece5ea01934c62da4a6 | 300 | h | C | ObjC/AutomaticHeightTagTableViewCell/AppDelegate.h | mihir815/automatic-height-tagcells | ae2a5248aa7eae073390fd783b07627f38602be7 | [
"MIT"
] | 248 | 2016-07-25T21:19:02.000Z | 2021-10-30T23:10:30.000Z | ObjC/AutomaticHeightTagTableViewCell/AppDelegate.h | mihir815/automatic-height-tagcells | ae2a5248aa7eae073390fd783b07627f38602be7 | [
"MIT"
] | 14 | 2016-09-16T09:34:16.000Z | 2019-05-13T08:49:30.000Z | ObjC/AutomaticHeightTagTableViewCell/AppDelegate.h | weijentu/automatic-height-tagcells | d41790980d20fd096a065c230babdca8624554f1 | [
"MIT"
] | 41 | 2016-07-26T21:08:03.000Z | 2020-07-29T13:23:26.000Z | //
// AppDelegate.h
// AutomaticHeightTagTableViewCell
//
// Created by WEI-JEN TU on 2016-07-16.
// Copyright © 2016 Cold Yam. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 16.666667 | 60 | 0.72 |
8b3876f2a30a2702347d8036fa669b0d13aea41e | 8,943 | c | C | omp_kmeans.c | PatrickHarvey/AlgParalelos2017 | d13838859b6a0f722095290ff7d73598a4635cb2 | [
"MIT"
] | null | null | null | omp_kmeans.c | PatrickHarvey/AlgParalelos2017 | d13838859b6a0f722095290ff7d73598a4635cb2 | [
"MIT"
] | null | null | null | omp_kmeans.c | PatrickHarvey/AlgParalelos2017 | d13838859b6a0f722095290ff7d73598a4635cb2 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <omp.h>
#include "kmeans.h"
// distancia euclideana
__inline static
float euclid_dist_2(int numdims, /* num_dimensiones */
float *coord1, /* [num_dimensiones] */
float *coord2) /* [num_dimensiones] */
{
int i;
flo... | 37.894068 | 101 | 0.509337 |
5b16ef34d8f46fac5de94e68321ef18e874a4fa4 | 2,651 | h | C | keyboards/numatreus/config.h | fzf/qmk_toolbox | 10d6b425bd24b45002555022baf16fb11254118b | [
"MIT"
] | null | null | null | keyboards/numatreus/config.h | fzf/qmk_toolbox | 10d6b425bd24b45002555022baf16fb11254118b | [
"MIT"
] | null | null | null | keyboards/numatreus/config.h | fzf/qmk_toolbox | 10d6b425bd24b45002555022baf16fb11254118b | [
"MIT"
] | null | null | null | /*
Copyright 2019 yohei <yohewi@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the ho... | 26.247525 | 83 | 0.751415 |
85ebf9d2499cf573eb6b1caf46cd183c5b9725e4 | 16,090 | h | C | plugins/protein_cuda/src/MoleculeCudaSESRenderer.h | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 49 | 2017-08-23T13:24:24.000Z | 2022-03-16T09:10:58.000Z | plugins/protein_cuda/src/MoleculeCudaSESRenderer.h | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 200 | 2018-07-20T15:18:26.000Z | 2022-03-31T11:01:44.000Z | plugins/protein_cuda/src/MoleculeCudaSESRenderer.h | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 31 | 2017-07-31T16:19:29.000Z | 2022-02-14T23:41:03.000Z | /*
* MoleculeCudaSESRenderer.h
*
* Copyright (C) 2009 by Universitaet Stuttgart (VIS). Alle Rechte vorbehalten.
*/
#ifndef MEGAMOL_MOLRENCUDASES_H_INCLUDED
#define MEGAMOL_MOLRENCUDASES_H_INCLUDED
#if (_MSC_VER > 1000)
#pragma once
#endif /* (_MSC_VER > 1000) */
#include "mmcore/CallerSlot.h"
#include "mmcore/para... | 32.505051 | 116 | 0.662337 |
3fbb3d226c376eddf883b85e1ef45bc165d8fd8a | 311 | h | C | ZBWUIKit/CustomViews/ZBWCustomViews.h | HangZhouShuChengKeJi/ZBWUIKit | 33304b5f7c18d69671372259fe279da6e3cbe0d2 | [
"BSD-2-Clause"
] | null | null | null | ZBWUIKit/CustomViews/ZBWCustomViews.h | HangZhouShuChengKeJi/ZBWUIKit | 33304b5f7c18d69671372259fe279da6e3cbe0d2 | [
"BSD-2-Clause"
] | null | null | null | ZBWUIKit/CustomViews/ZBWCustomViews.h | HangZhouShuChengKeJi/ZBWUIKit | 33304b5f7c18d69671372259fe279da6e3cbe0d2 | [
"BSD-2-Clause"
] | null | null | null | //
// ZBWCustomViews.h
// ZBWUIKit
//
// Created by 朱博文 on 16/12/23.
// Copyright © 2016年 朱博文. All rights reserved.
//
#ifndef ZBWCustomViews_h
#define ZBWCustomViews_h
#import "ZBWSegmentView.h"
#import "ZBWGridView.h"
#import "ZBWGridCell.h"
#import "ZBWGridCellButton.h"
#endif /* ZBWCustomViews_h */
| 17.277778 | 47 | 0.717042 |
87f9451bbdc477eea3e226880e217846f9b1db8d | 16,208 | h | C | include/vlog/edb.h | karmaresearch/glog | c908c527640c6ae8f23c03ccd7dfb17184989e22 | [
"Apache-2.0"
] | 3 | 2021-03-01T07:13:18.000Z | 2021-12-11T08:28:20.000Z | include/vlog/edb.h | karmaresearch/glog | c908c527640c6ae8f23c03ccd7dfb17184989e22 | [
"Apache-2.0"
] | null | null | null | include/vlog/edb.h | karmaresearch/glog | c908c527640c6ae8f23c03ccd7dfb17184989e22 | [
"Apache-2.0"
] | null | null | null | #ifndef EDB_LAYER_H
#define EDB_LAYER_H
#include <vlog/consts.h>
#include <vlog/concepts.h>
#include <vlog/qsqquery.h>
#include <vlog/support.h>
#include <vlog/idxtupletable.h>
#include <vlog/edbtable.h>
#include <vlog/edbiterator.h>
#include <vlog/edbconf.h>
#include <vlog/incremental/removal.h>
#include <kognac/f... | 31.471845 | 84 | 0.593287 |
8facdcc2d1dc15699869e0d8536eb8906259b659 | 394 | h | C | game/ui/base/aliencontainmentscreen.h | trevortomesh/OpenApoc | 53cd163889fbfd21a9c128183427dad4255ac1a3 | [
"MIT"
] | 1 | 2019-11-19T11:41:36.000Z | 2019-11-19T11:41:36.000Z | game/ui/base/aliencontainmentscreen.h | trevortomesh/OpenApoc | 53cd163889fbfd21a9c128183427dad4255ac1a3 | [
"MIT"
] | null | null | null | game/ui/base/aliencontainmentscreen.h | trevortomesh/OpenApoc | 53cd163889fbfd21a9c128183427dad4255ac1a3 | [
"MIT"
] | null | null | null | #pragma once
#include "game/ui/base/transactionscreen.h"
#include "library/sp.h"
namespace OpenApoc
{
class AlienContainmentScreen : public TransactionScreen
{
private:
void closeScreen() override;
void executeOrders() override;
public:
AlienContainmentScreen(sp<GameState> state, bool forceLimits = false);
~... | 19.7 | 71 | 0.766497 |
b1d188d9de782fa0f85c706e802ee45b05c1c8d1 | 748 | h | C | src/AsmvarBaseStat/BamInsert.h | bioinformatics-centre/AsmVar | 5abd91a47feedfbd39b89ec3e2d6d20c02fe5a5e | [
"MIT"
] | 17 | 2015-12-25T10:58:03.000Z | 2021-05-06T01:56:40.000Z | src/AsmvarBaseStat/BamInsert.h | bioinformatics-centre/AsmVar | 5abd91a47feedfbd39b89ec3e2d6d20c02fe5a5e | [
"MIT"
] | 3 | 2017-07-20T22:12:16.000Z | 2021-04-19T14:37:14.000Z | src/AsmvarBaseStat/BamInsert.h | bioinformatics-centre/AsmVar | 5abd91a47feedfbd39b89ec3e2d6d20c02fe5a5e | [
"MIT"
] | 3 | 2018-01-26T02:03:04.000Z | 2020-08-07T08:01:20.000Z | /*
* Author : Shujia Huang & Siyang Liu
* Date : 2013-11-22 14:37:13
*
* Caculate insertsize by different @RG
*
*/
#ifndef BAMINSERT_H
#define BAMINSERT_H
#include <iostream>
#include <fstream>
#include <utility> // std::pair
#include <map>
#include <math.h> /* sqrt */
#include "api/BamMultiReader... | 24.933333 | 157 | 0.68984 |
38bf896ac496e1931a0640b3e5b3644d63a70680 | 9,447 | h | C | ccc/ccc.h | doesthisusername/ccc | 572670290f6136be6a249f0089ee6af21de4eb5a | [
"MIT"
] | null | null | null | ccc/ccc.h | doesthisusername/ccc | 572670290f6136be6a249f0089ee6af21de4eb5a | [
"MIT"
] | null | null | null | ccc/ccc.h | doesthisusername/ccc | 572670290f6136be6a249f0089ee6af21de4eb5a | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include <set>
#include <vector>
#include <cstdio>
#include <memory>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <assert.h>
#include <iostream>
#include <algorithm>
#include <filesystem>
#include <inttypes.h>
// ********************************************************... | 25.125 | 116 | 0.639251 |
751890c885db9c205e9ef6774a28fefb3a90d59a | 282 | h | C | FNLApp/FLFAboutViewController.h | woudini/fnlmobileexperience | 6058e66a98b1e046286c0f94312771dc3fc46827 | [
"MIT"
] | null | null | null | FNLApp/FLFAboutViewController.h | woudini/fnlmobileexperience | 6058e66a98b1e046286c0f94312771dc3fc46827 | [
"MIT"
] | null | null | null | FNLApp/FLFAboutViewController.h | woudini/fnlmobileexperience | 6058e66a98b1e046286c0f94312771dc3fc46827 | [
"MIT"
] | null | null | null | //
// FLFAboutViewController.h
// FNLApp
//
// Created by Woudini on 4/17/15.
// Copyright (c) 2015 Hi Range. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FLFAboutViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextView *textView;
@end
| 18.8 | 58 | 0.723404 |
ced8fea7f041bcc943a32eb79727eadad4a193c0 | 3,340 | h | C | sys/dev/ic/malo.h | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2019-02-16T13:29:23.000Z | 2019-02-16T13:29:23.000Z | sys/dev/ic/malo.h | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2018-08-21T03:56:33.000Z | 2018-08-21T03:56:33.000Z | sys/dev/ic/malo.h | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | null | null | null | /* $OpenBSD: malo.h,v 1.12 2013/12/06 21:03:03 deraadt Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2006 Marcus Glocker <mglocker@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided... | 24.925373 | 75 | 0.74521 |
e074d032d052f2a90273ee77913032ac2abb78d1 | 2,814 | c | C | src/drivers/serial.c | tcr/jiauliyan-os | cf49c76c3e3c2568e6bd66c1c053ace7caba81b6 | [
"MIT"
] | 3 | 2015-02-20T19:05:42.000Z | 2021-01-17T05:54:43.000Z | src/drivers/serial.c | tcr/jiauliyan-os | cf49c76c3e3c2568e6bd66c1c053ace7caba81b6 | [
"MIT"
] | null | null | null | src/drivers/serial.c | tcr/jiauliyan-os | cf49c76c3e3c2568e6bd66c1c053ace7caba81b6 | [
"MIT"
] | null | null | null | /*
* Jiauliyan OS - Released under the MIT License
* Copyright (C) 2011 Paul Booth, Jialiya Huang, Tim Ryan
* https://github.com/timcameronryan/jiauliyan
*
* Based on code from the OSDev wiki
* http://wiki.osdev.org/Serial_ports
*/
#include <system.h>
#include <stream.h>
#include <string.h>
#include <common.h>... | 21.157895 | 96 | 0.691898 |
6d87420b7bc7ab7e995d050829961567bfcd85ab | 985 | c | C | src/des/or_exclusif_2.c | fbonhomm/ft_ssl_md5--ft_ssl_des | 345c6279e54c2482977d6af54e8bc1f93c9c0031 | [
"MIT"
] | null | null | null | src/des/or_exclusif_2.c | fbonhomm/ft_ssl_md5--ft_ssl_des | 345c6279e54c2482977d6af54e8bc1f93c9c0031 | [
"MIT"
] | null | null | null | src/des/or_exclusif_2.c | fbonhomm/ft_ssl_md5--ft_ssl_des | 345c6279e54c2482977d6af54e8bc1f93c9c0031 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* or_exclusif_2.c :+: :+: :+: ... | 51.842105 | 80 | 0.174619 |
d497c9e73b7483c9a1391fe7bd805996ef6e15b9 | 151 | h | C | shmem.h | RyanFisk2/GWU_OS_FINAL | 6511b4a9d847ced79458151bc5035650bf54fbe2 | [
"MIT-0"
] | 1 | 2021-01-05T18:13:01.000Z | 2021-01-05T18:13:01.000Z | shmem.h | RyanFisk2/GWU_OS_FINAL | 6511b4a9d847ced79458151bc5035650bf54fbe2 | [
"MIT-0"
] | null | null | null | shmem.h | RyanFisk2/GWU_OS_FINAL | 6511b4a9d847ced79458151bc5035650bf54fbe2 | [
"MIT-0"
] | null | null | null | #include "types.h"
struct shared_mem{
char name[16];
uint pa;
uint refcount;
uint in_use;
int container_id;
}; | 16.777778 | 25 | 0.543046 |
edaf04adfed91aeaf882b40a6abdb8e51ebeb749 | 4,752 | h | C | EzmaxApi/Model/EZEzsigntemplateformfieldgroupResponseCompound.h | ezmaxinc/eZmax-SDK-objc | 2d36884daef77a08c359216daf38e2d5f8108da9 | [
"MIT"
] | null | null | null | EzmaxApi/Model/EZEzsigntemplateformfieldgroupResponseCompound.h | ezmaxinc/eZmax-SDK-objc | 2d36884daef77a08c359216daf38e2d5f8108da9 | [
"MIT"
] | null | null | null | EzmaxApi/Model/EZEzsigntemplateformfieldgroupResponseCompound.h | ezmaxinc/eZmax-SDK-objc | 2d36884daef77a08c359216daf38e2d5f8108da9 | [
"MIT"
] | null | null | null | #import <Foundation/Foundation.h>
#import "EZObject.h"
/**
* eZmax API Definition (Full)
* This API expose all the functionnalities for the eZmax and eZsign applications.
*
* The version of the OpenAPI document: 1.1.7
* Contact: support-api@ezmax.ca
*
* NOTE: This class is auto generated by OpenAPI Generator (https://... | 48 | 235 | 0.856902 |
72664fefb17c1f3acc6daba25b66e580216a80f4 | 1,432 | h | C | NJKCategory/NJK_Category/Chain/UITextView+NJKChain.h | jiangkuoniu/NJKDemo | 046502f00e65f7f8bc5fe72236bce2c16e5e8496 | [
"MIT"
] | null | null | null | NJKCategory/NJK_Category/Chain/UITextView+NJKChain.h | jiangkuoniu/NJKDemo | 046502f00e65f7f8bc5fe72236bce2c16e5e8496 | [
"MIT"
] | null | null | null | NJKCategory/NJK_Category/Chain/UITextView+NJKChain.h | jiangkuoniu/NJKDemo | 046502f00e65f7f8bc5fe72236bce2c16e5e8496 | [
"MIT"
] | null | null | null | //
// UITextView+NJKChain.h
// NJK-Kit
//
// Created by njk on 2020/8/19.
// Copyright © 2020 NJK. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UITextView (NJKChain)
- (UITextView *(^)(NSString *text))njk_text;
- (UITextView *(^)(UIFont *font))njk_font;
- (UITextView *(^)(U... | 39.777778 | 102 | 0.769553 |
c255815f3c5dc9f990a9a642d555b106998666e6 | 2,352 | h | C | src/Network/TCPServer.h | dmalysiak/Lazarus | 925d92843e311d2cd5afd437766563d0d5ab9052 | [
"Apache-2.0"
] | 1 | 2019-04-29T05:31:32.000Z | 2019-04-29T05:31:32.000Z | src/Network/TCPServer.h | dmalysiak/Lazarus | 925d92843e311d2cd5afd437766563d0d5ab9052 | [
"Apache-2.0"
] | null | null | null | src/Network/TCPServer.h | dmalysiak/Lazarus | 925d92843e311d2cd5afd437766563d0d5ab9052 | [
"Apache-2.0"
] | null | null | null | /*
* TCPServer.h
*
* Created on: 28.02.2013
* Author: Darius Malysiak
*/
#ifndef TCPSERVER_H_
#define TCPSERVER_H_
#include "TCPSocket.h"
#include "../Threading/Thread.h"
#include "TCPServerWorkerThread.h"
#include "CommunicationFacility.h"
#include <sys/epoll.h>
#include <stdio.h>
#include <string>
nam... | 22.4 | 117 | 0.740646 |
b035c68d0af76692b8e9850de06c8cb63f3203cb | 8,270 | h | C | EntitiesMP/EnvironmentParticlesHolder_tables.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 1 | 2022-02-14T15:46:44.000Z | 2022-02-14T15:46:44.000Z | EntitiesMP/EnvironmentParticlesHolder_tables.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | null | null | null | EntitiesMP/EnvironmentParticlesHolder_tables.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 2 | 2022-01-10T22:17:06.000Z | 2022-01-17T09:34:08.000Z | /*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
EP_ENUMBEG(EnvironmentParticlesHolderType)
EP_ENUMVALUE(EPTH_NONE, "None"),
EP_ENUMVALUE(EPTH_GROWTH, "Growth"),
EP_ENUMVALUE(EPTH_RAIN, "Rain"),
EP_ENUMVALUE(EPTH_SNOW, "Snow"),
EP_ENUMEND(EnvironmentParticlesHolderType);
CEntityEvent... | 92.921348 | 186 | 0.813785 |
e6e58ed8084a7168a7f680044db33bfd21fec81d | 670 | h | C | src/grib_nearest_class.h | bbakernoaa/eccodes | 61eb6daac46f6f2b9959b506df5565fb9e763c40 | [
"Apache-2.0"
] | 103 | 2018-12-11T09:10:19.000Z | 2022-03-15T11:30:26.000Z | src/grib_nearest_class.h | bbakernoaa/eccodes | 61eb6daac46f6f2b9959b506df5565fb9e763c40 | [
"Apache-2.0"
] | 45 | 2019-01-02T18:52:32.000Z | 2022-02-11T13:15:03.000Z | src/grib_nearest_class.h | bbakernoaa/eccodes | 61eb6daac46f6f2b9959b506df5565fb9e763c40 | [
"Apache-2.0"
] | 60 | 2018-12-27T00:03:25.000Z | 2022-02-09T13:34:47.000Z | /* This file is automatically generated by ./make_class.pl, do not edit */
extern grib_nearest_class* grib_nearest_class_gen;
extern grib_nearest_class* grib_nearest_class_lambert_azimuthal_equal_area;
extern grib_nearest_class* grib_nearest_class_lambert_conformal;
extern grib_nearest_class* grib_nearest_class_latlon_... | 55.833333 | 75 | 0.895522 |
da486f54a6723158d87c79c4d95010bd6b4dfe15 | 311 | c | C | File/simple_write.c | Becavalier/Linux-Library | b6d391f9b3f546bfc9e6f9404774765fc6b52937 | [
"MIT"
] | 1 | 2016-10-09T01:13:25.000Z | 2016-10-09T01:13:25.000Z | File/simple_write.c | Becavalier/Linux-Library | b6d391f9b3f546bfc9e6f9404774765fc6b52937 | [
"MIT"
] | null | null | null | File/simple_write.c | Becavalier/Linux-Library | b6d391f9b3f546bfc9e6f9404774765fc6b52937 | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <stdlib.h>
int main() {
/**
* fildes: 0(标准输入), 1(标准输出), 2(错误输出)
* prototype: size_t write(int fildes, const void *buf, size_t nbytes);
*/
if (write(1, "Here is some data\n", 18) != 18) {
write(2, "A wirte error has occurred on file descriptor 1\n", 46);
}
exit(0);
} | 19.4375 | 72 | 0.607717 |
92c642decfe7b97c4bbbaa0322d71670e074f3b8 | 2,708 | h | C | include/smp/components/model_checkers/mu_calculus.h | reobaird/srl_global_planner | e2a4b3ea60a0b870aba0ca3e96ea07899c411bd2 | [
"BSD-3-Clause"
] | 120 | 2016-09-01T07:06:43.000Z | 2022-03-08T23:07:50.000Z | include/smp/components/model_checkers/mu_calculus.h | dz306271098/srl_global_planner | e2a4b3ea60a0b870aba0ca3e96ea07899c411bd2 | [
"BSD-3-Clause"
] | 7 | 2015-08-26T05:24:46.000Z | 2021-03-17T06:57:28.000Z | include/smp/components/model_checkers/mu_calculus.h | dz306271098/srl_global_planner | e2a4b3ea60a0b870aba0ca3e96ea07899c411bd2 | [
"BSD-3-Clause"
] | 56 | 2015-08-07T07:54:06.000Z | 2021-11-12T01:14:57.000Z | /*! \file components/model_checkers/mu_calculus.h
\brief The mu-calculus model checker.
This includes an implementation of the mu-calculus model checker.
*/
#ifndef _SMP_MODEL_CHECKER_MU_CALCULUS_H_
#define _SMP_MODEL_CHECKER_MU_CALCULUS_H_
#include <smp/components/model_checkers/base.h>
#include <smp/extern... | 26.038462 | 84 | 0.677991 |
daaa612a2f31a25dff22f37324985c00ee778ef5 | 884 | c | C | Lab04/a2.c | dipsonu10/DSALabClass | 05c6315da3682339ce7062f0d93fc05618bce22f | [
"MIT"
] | null | null | null | Lab04/a2.c | dipsonu10/DSALabClass | 05c6315da3682339ce7062f0d93fc05618bce22f | [
"MIT"
] | 4 | 2021-12-05T10:25:00.000Z | 2021-12-13T09:25:02.000Z | Lab04/a2.c | dipsonu10/DSALabClass | 05c6315da3682339ce7062f0d93fc05618bce22f | [
"MIT"
] | null | null | null | /*WAP to reverse the sequence elements in a double linked list.*/
#include <stdio.h>
#include <stdlib.h>
#include "../Lab04/DLL.h"
void reverse(struct Node **head)
{
struct Node *temp = NULL;
struct Node *curr = *head;
if(!(*head))
return;
if((*head)->next==0){
return;
}
... | 20.090909 | 65 | 0.542986 |
1f21b9aef1ddebde91b8dfdc6569f9d710b114d7 | 1,024 | h | C | homeworks/05/Huffman.h | x-sile/made_2019_algo | 5edb5c0b580ff65d356ae7d9f4a6de4ac06a63de | [
"MIT"
] | null | null | null | homeworks/05/Huffman.h | x-sile/made_2019_algo | 5edb5c0b580ff65d356ae7d9f4a6de4ac06a63de | [
"MIT"
] | null | null | null | homeworks/05/Huffman.h | x-sile/made_2019_algo | 5edb5c0b580ff65d356ae7d9f4a6de4ac06a63de | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
using byte = unsigned char;
class IInputStream {
public:
IInputStream(std::ifstream &stream_) : stream(stream_) {}
bool Read(byte &value) {
if (!stream.eof()) {
stream.get(reinterpret_cast<char &>(value));
// нужно прове... | 20.897959 | 93 | 0.641602 |
97880634e8359a6c820570c80ee9495570b6807c | 14,164 | c | C | lib/file.c | kjmkznr/h2o | c5ca18ae2ea5ce8b8943e5205a84b11531c65684 | [
"MIT"
] | null | null | null | lib/file.c | kjmkznr/h2o | c5ca18ae2ea5ce8b8943e5205a84b11531c65684 | [
"MIT"
] | null | null | null | lib/file.c | kjmkznr/h2o | c5ca18ae2ea5ce8b8943e5205a84b11531c65684 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2014 DeNA Co., Ltd.
*
* 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, publ... | 33.643705 | 159 | 0.643886 |
97bfb6241644c340302af0785e3fbda436d475e8 | 5,866 | h | C | geometry/matrix.h | jsharf/math | f9ecfc4325a2685c2d0d49a8469971dc3146212d | [
"MIT"
] | 1 | 2019-12-02T07:18:50.000Z | 2019-12-02T07:18:50.000Z | geometry/matrix.h | jsharf/plasticity | f9ecfc4325a2685c2d0d49a8469971dc3146212d | [
"MIT"
] | null | null | null | geometry/matrix.h | jsharf/plasticity | f9ecfc4325a2685c2d0d49a8469971dc3146212d | [
"MIT"
] | null | null | null | #ifndef MATRIX_H
#define MATRIX_H
#include <array>
#include <functional>
#include <iostream>
#include <string>
#include <sstream>
#include <tuple>
using std::string;
template <size_t ROWS, size_t COLS, typename T>
class Matrix {
using SimularMatrix = Matrix<ROWS, COLS, T>;
public:
Matrix(std::initializer_list<... | 24.961702 | 80 | 0.488749 |
e1948581926dc923be270dd396e568b085241803 | 1,862 | h | C | src/ac.h | dcjones/quip | 9165bb5ac17a2cf2822e437df573487d7adfa1cc | [
"BSD-3-Clause"
] | 41 | 2015-02-22T21:56:23.000Z | 2021-09-16T13:39:29.000Z | src/ac.h | dcjones/quip | 9165bb5ac17a2cf2822e437df573487d7adfa1cc | [
"BSD-3-Clause"
] | 7 | 2015-03-05T16:29:22.000Z | 2021-05-03T16:08:57.000Z | src/ac.h | dcjones/quip | 9165bb5ac17a2cf2822e437df573487d7adfa1cc | [
"BSD-3-Clause"
] | 7 | 2015-08-07T02:10:31.000Z | 2020-10-28T13:25:59.000Z | /*
* This file is part of quip.
*
* Copyright (c) 2012 by Daniel C. Jones <dcjones@cs.washington.edu>
*
*/
/*
* ac:
* A general purpose arithmetic encoder, following mostly from the
* implementation described in "Introduction to Arithmetic Coding -- Theory and
* Practice" by Amir Said.
*/
#ifndef QUIP_AC
... | 23.275 | 80 | 0.704619 |
4000945d9ba4c18cf328f9b8876968da1d346c92 | 265 | h | C | exampleProjects/IncrementalStore/Incremental Store Demo/ISDUserListViewController.h | icyblazek/encrypted-core-data | 9e2411c9ff3389661a1f53ed5933ab84141a3b62 | [
"Apache-2.0"
] | 1 | 2015-12-10T07:06:54.000Z | 2015-12-10T07:06:54.000Z | exampleProjects/IncrementalStore/Incremental Store Demo/ISDUserListViewController.h | icyblazek/encrypted-core-data | 9e2411c9ff3389661a1f53ed5933ab84141a3b62 | [
"Apache-2.0"
] | null | null | null | exampleProjects/IncrementalStore/Incremental Store Demo/ISDUserListViewController.h | icyblazek/encrypted-core-data | 9e2411c9ff3389661a1f53ed5933ab84141a3b62 | [
"Apache-2.0"
] | null | null | null | //
// ISDUserListViewController.h
// Incremental Store Demo
//
// Created by Caleb Davenport on 7/31/12.
// Copyright (c) 2012 Caleb Davenport. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ISDUserListViewController : UITableViewController
@end
| 18.928571 | 60 | 0.739623 |
98138e913a9c9f09a76d10e06b8ad439557f65f4 | 14,858 | h | C | Engine/Source/Runtime/Engine/Classes/Engine/RendererSettings.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Runtime/Engine/Classes/Engine/RendererSettings.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Runtime/Engine/Classes/Engine/RendererSettings.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Curves/CurveFloat.h"
#include "UserInterfaceSettings.h"
#include "RendererSettings.generated.h"
/**
* Enumerates ways to clear a scene.
*/
UENUM()
namespace EClearSceneOptions
{
enum Type
{
NoClear = 0 UMETA(DisplayName="Do n... | 52.501767 | 321 | 0.792031 |
092c913de4ca63848785aea637e173d0c721ce72 | 68 | c | C | Virtual Memory Implementation/Theme_B_9/GeekOS (os)/src/user/PaxHeader/pipe-p1.c | Pintulalmeena/Projects | 4d5d5e80aa8cbad47b6d5d9c407147429568d277 | [
"MIT"
] | null | null | null | Virtual Memory Implementation/Theme_B_9/GeekOS (os)/src/user/PaxHeader/pipe-p1.c | Pintulalmeena/Projects | 4d5d5e80aa8cbad47b6d5d9c407147429568d277 | [
"MIT"
] | null | null | null | Virtual Memory Implementation/Theme_B_9/GeekOS (os)/src/user/PaxHeader/pipe-p1.c | Pintulalmeena/Projects | 4d5d5e80aa8cbad47b6d5d9c407147429568d277 | [
"MIT"
] | null | null | null | 14 uid=311598
27 mtime=1430738578.290251
27 atime=1430738578.289251
| 17 | 26 | 0.838235 |
51f598fa2df98ef32ad66fdfdd83350b1c44bd36 | 414 | c | C | v3/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr84111.c | zchee/cznic-cc | f7ff0a5ccc28f2d8bf1d681a1cc49c48ea8dd4aa | [
"BSD-3-Clause"
] | null | null | null | v3/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr84111.c | zchee/cznic-cc | f7ff0a5ccc28f2d8bf1d681a1cc49c48ea8dd4aa | [
"BSD-3-Clause"
] | null | null | null | v3/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr84111.c | zchee/cznic-cc | f7ff0a5ccc28f2d8bf1d681a1cc49c48ea8dd4aa | [
"BSD-3-Clause"
] | null | null | null | /* PR tree-optimization/84111 */
void
foo (int x, int y, int z)
{
int a = 0;
int *b = &x;
while (a < 1)
{
int c = y;
*b = x;
lab:
for (a = 0; a < 36; ++a)
{
*b = 0;
if (x != 0)
y = 0;
while (c < 1)
;
}
}
if (z < 33)
... | 12.9375 | 32 | 0.282609 |
4ee6d33a7beab368c3f9d23c22e75dde6145da0d | 1,561 | h | C | Classes/WAPhotosListViewController.h | brewpoo/WebAlbums | 468d609df7b1c199b789b6ee2db04154c39c33ee | [
"Apache-2.0"
] | 1 | 2021-08-30T10:33:21.000Z | 2021-08-30T10:33:21.000Z | Classes/WAPhotosListViewController.h | brewpoo/WebAlbums | 468d609df7b1c199b789b6ee2db04154c39c33ee | [
"Apache-2.0"
] | null | null | null | Classes/WAPhotosListViewController.h | brewpoo/WebAlbums | 468d609df7b1c199b789b6ee2db04154c39c33ee | [
"Apache-2.0"
] | null | null | null | //
// WAPhotosListViewController.h
// WebAlbums
//
// Created by JJL on 7/15/09.
// Copyright 2009 NetGuyzApps. 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 Licens... | 29.45283 | 92 | 0.769379 |
82524b6b0c568ae1c7c2ed16d7d2031721bb9133 | 500 | h | C | common/residualFunction.h | chl9797/EmbeddedDeformation | 50c4b723a91045787d071dddfd9f8c19283c30ef | [
"MIT"
] | 3 | 2018-07-20T02:04:53.000Z | 2020-11-04T02:37:36.000Z | common/residualFunction.h | chl9797/EmbeddedDeformation | 50c4b723a91045787d071dddfd9f8c19283c30ef | [
"MIT"
] | null | null | null | common/residualFunction.h | chl9797/EmbeddedDeformation | 50c4b723a91045787d071dddfd9f8c19283c30ef | [
"MIT"
] | 5 | 2018-05-18T06:53:02.000Z | 2019-11-26T09:37:35.000Z | #ifndef _RESIDUAL_FUNCTION_H
#define _RESIDUAL_FUNCTION_H
#include <Eigen/Sparse>
#include <Eigen/Dense>
#include <memory>
class Param;
class ResidualFunction
{
public:
virtual Eigen::SparseMatrix<double> calcJf(std::shared_ptr<Param> param) = 0;
virtual Eigen::VectorXd calcfx(std::shared_ptr<Param> p... | 23.809524 | 78 | 0.69 |
61cd381dd51de82ce31e904a622aee3ddf3d9cc3 | 14,753 | c | C | ZQMonitor/Classes/Yoosee/P2PCore/des2.c | git-timor/ZQMonitor | deafff4d5d622ac45d9f84b1822181bb7177978f | [
"MIT"
] | 1 | 2017-10-17T07:05:31.000Z | 2017-10-17T07:05:31.000Z | ZQMonitor/Classes/Yoosee/P2PCore/des2.c | git-timor/ZQMonitor | deafff4d5d622ac45d9f84b1822181bb7177978f | [
"MIT"
] | null | null | null | ZQMonitor/Classes/Yoosee/P2PCore/des2.c | git-timor/ZQMonitor | deafff4d5d622ac45d9f84b1822181bb7177978f | [
"MIT"
] | null | null | null |
int des(unsigned char *source,unsigned char * dest,unsigned char * inkey, int flg);
/* ============================================================
des()
Description: DES algorithm,do encript or descript.
============================================================ */
int des(unsigned char *source,unsigned... | 26.774955 | 84 | 0.524503 |
258357d42f5aa13dcf22746b32048c72c8986eef | 3,389 | h | C | mame/src/emu/cpu/mips/mips3fe.h | clobber/MAME-OS-X | ca11d0e946636bda042b6db55c82113e5722fc08 | [
"MIT"
] | 15 | 2015-03-03T23:15:57.000Z | 2021-11-12T07:09:24.000Z | mame/src/emu/cpu/mips/mips3fe.h | clobber/MAME-OS-X | ca11d0e946636bda042b6db55c82113e5722fc08 | [
"MIT"
] | null | null | null | mame/src/emu/cpu/mips/mips3fe.h | clobber/MAME-OS-X | ca11d0e946636bda042b6db55c82113e5722fc08 | [
"MIT"
] | 8 | 2015-07-07T16:40:44.000Z | 2020-08-18T06:57:29.000Z | /***************************************************************************
mips3fe.h
Front-end for MIPS3 recompiler
****************************************************************************
Copyright Aaron Giles
All rights reserved.
Redistribution and use in source and binary fo... | 35.302083 | 98 | 0.59044 |
e8548da1860580c9d98d9ca9d95c5b974acf57b4 | 1,145 | h | C | src/dfm/nodestore/NodeObject.h | dfm-official/dfm | 97f133aa87b17c760b90f2358d6ba10bc7ad9d1f | [
"ISC"
] | null | null | null | src/dfm/nodestore/NodeObject.h | dfm-official/dfm | 97f133aa87b17c760b90f2358d6ba10bc7ad9d1f | [
"ISC"
] | null | null | null | src/dfm/nodestore/NodeObject.h | dfm-official/dfm | 97f133aa87b17c760b90f2358d6ba10bc7ad9d1f | [
"ISC"
] | null | null | null |
#ifndef RIPPLE_NODESTORE_NODEOBJECT_H_INCLUDED
#define RIPPLE_NODESTORE_NODEOBJECT_H_INCLUDED
#include <ripple/basics/Blob.h>
#include <ripple/basics/CountedObject.h>
#include <ripple/protocol/Protocol.h>
namespace ripple {
enum NodeObjectType
: std::uint32_t
{
hotUNKNOWN = 0,
hotLEDGER = 1,
hotA... | 14.679487 | 71 | 0.630568 |
9f983027cc843af3bac1dc7882217a46bd6faa41 | 221 | h | C | lib/NullReferenceException.h | prakashutoledo/pacman-cpp | 0d3e46bd79970d722bc83fd5aeb52a34ad6c27e5 | [
"Apache-2.0"
] | 1 | 2021-04-19T12:10:01.000Z | 2021-04-19T12:10:01.000Z | lib/NullReferenceException.h | prakashutoledo/pacman-cpp | 0d3e46bd79970d722bc83fd5aeb52a34ad6c27e5 | [
"Apache-2.0"
] | null | null | null | lib/NullReferenceException.h | prakashutoledo/pacman-cpp | 0d3e46bd79970d722bc83fd5aeb52a34ad6c27e5 | [
"Apache-2.0"
] | null | null | null | #ifndef NULL_REFERENCE_EXCEPTION_H
#define NULL_REFERENCE_EXCEPTION_H
#include "Exception.h"
class NullReferenceException : public Exception
{
public:
NullReferenceException(string variable, string method);
};
#endif
| 15.785714 | 55 | 0.823529 |
e5e07fa4b71f998cc628e1b1736b006e5d9d58ed | 8,139 | c | C | src/lib/runscript.c | tech-niche-biz/bacula-9.4.4 | 5e74458b612354f6838652dac9ddff94be1bbce6 | [
"BSD-2-Clause"
] | null | null | null | src/lib/runscript.c | tech-niche-biz/bacula-9.4.4 | 5e74458b612354f6838652dac9ddff94be1bbce6 | [
"BSD-2-Clause"
] | null | null | null | src/lib/runscript.c | tech-niche-biz/bacula-9.4.4 | 5e74458b612354f6838652dac9ddff94be1bbce6 | [
"BSD-2-Clause"
] | null | null | null | /*
Bacula(R) - The Network Backup Solution
Copyright (C) 2000-2018 Kern Sibbald
The original author of Bacula is Kern Sibbald, with contributions
from many others, a complete list can be found in the file AUTHORS.
You may use this file and others of this release according to the
license defined in ... | 26.773026 | 100 | 0.593808 |
bf04400e4fb560ca0d447e65f13839c8ebc07dec | 1,663 | h | C | libs/DS4_SDK/include/dzindexlist.h | Red54/reality | 510d4f5fde2f4c5535482f1ea199f914102b8a2a | [
"BSD-3-Clause"
] | null | null | null | libs/DS4_SDK/include/dzindexlist.h | Red54/reality | 510d4f5fde2f4c5535482f1ea199f914102b8a2a | [
"BSD-3-Clause"
] | null | null | null | libs/DS4_SDK/include/dzindexlist.h | Red54/reality | 510d4f5fde2f4c5535482f1ea199f914102b8a2a | [
"BSD-3-Clause"
] | null | null | null | /**********************************************************************
Copyright (C) 2002-2012 DAZ 3D, Inc. All Rights Reserved.
This file is part of the DAZ Studio SDK.
This file may be used only in accordance with the DAZ Studio SDK
license provided with the DAZ Studio SDK.
The contents of this file ... | 24.820896 | 72 | 0.586891 |
bf07b2f45687da20662a3c379eb2c630422e11c1 | 325 | h | C | phSolver/common/phasta.h | yangf4/phasta | a096094f33b98047de0a2e28225c4d74875a88d8 | [
"BSD-3-Clause"
] | 49 | 2015-04-16T13:45:34.000Z | 2022-02-07T01:02:49.000Z | phSolver/common/phasta.h | yangf4/phasta | a096094f33b98047de0a2e28225c4d74875a88d8 | [
"BSD-3-Clause"
] | 21 | 2015-10-06T19:50:43.000Z | 2017-12-17T03:47:51.000Z | phSolver/common/phasta.h | yangf4/phasta | a096094f33b98047de0a2e28225c4d74875a88d8 | [
"BSD-3-Clause"
] | 38 | 2015-04-21T12:13:40.000Z | 2021-11-12T19:38:00.000Z | #ifndef PHASTA_H_
#define PHASTA_H_
#include "Input.h"
struct RStream;
struct GRStream;
int phasta(int argc, char**argv);
int phasta(phSolver::Input& ctrl);
int phasta(phSolver::Input& ctrl, GRStream* in);
int phasta(phSolver::Input& ctrl, RStream* out);
int phasta(phSolver::Input& ctrl, GRStream* in, RStream* out);
#e... | 27.083333 | 62 | 0.747692 |
bf4abfb7554e7e842c2eb632cf4786ec353aae2a | 4,460 | h | C | alljoyn/services/time/cpp/src/common/TimeServiceAlarmUtility.h | octoblu/alljoyn | a74003fa25af1d0790468bf781a4d49347ec05c4 | [
"ISC"
] | 37 | 2015-01-18T21:27:23.000Z | 2018-01-12T00:33:43.000Z | alljoyn/services/time/cpp/src/common/TimeServiceAlarmUtility.h | octoblu/alljoyn | a74003fa25af1d0790468bf781a4d49347ec05c4 | [
"ISC"
] | 14 | 2015-02-24T11:44:01.000Z | 2020-07-20T18:48:44.000Z | alljoyn/services/time/cpp/src/common/TimeServiceAlarmUtility.h | octoblu/alljoyn | a74003fa25af1d0790468bf781a4d49347ec05c4 | [
"ISC"
] | 29 | 2015-01-23T16:40:52.000Z | 2019-10-21T12:22:30.000Z | /******************************************************************************
* Copyright AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and th... | 33.787879 | 88 | 0.715695 |
c7bb1d697825945e7e2aa7cea0e441d8d360d197 | 641 | h | C | TTNews/Classes/Me/MyShoppongTableCell.h | 1370156363/TTNews1 | 8775ec0e4bc878ddfc978c50f95add5504492e03 | [
"Unlicense",
"MIT"
] | null | null | null | TTNews/Classes/Me/MyShoppongTableCell.h | 1370156363/TTNews1 | 8775ec0e4bc878ddfc978c50f95add5504492e03 | [
"Unlicense",
"MIT"
] | null | null | null | TTNews/Classes/Me/MyShoppongTableCell.h | 1370156363/TTNews1 | 8775ec0e4bc878ddfc978c50f95add5504492e03 | [
"Unlicense",
"MIT"
] | null | null | null | //
// MyShoppongTableCell.h
// TTNews
//
// Created by 薛立强 on 2017/11/7.
// Copyright © 2017年 瑞文戴尔. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MyShoppongTableCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *imgShopView;
@property (weak, nonatomic) IBOutlet UILabel *labTitle... | 29.136364 | 68 | 0.762871 |
a7d040afd5027f240d7650a1a122f8d0d02e48b9 | 396 | h | C | SkimaServer/SkimaServer/ContactListener.h | dlakwwkd/CommitAgain | 3fdad38f7951b1a58ae244bd5d68f5a92e97f633 | [
"MIT"
] | 1 | 2015-04-07T06:08:11.000Z | 2015-04-07T06:08:11.000Z | SkimaServer/SkimaServer/ContactListener.h | dlakwwkd/CommitAgain | 3fdad38f7951b1a58ae244bd5d68f5a92e97f633 | [
"MIT"
] | 1 | 2015-01-01T11:14:29.000Z | 2015-01-01T12:19:04.000Z | SkimaServer/SkimaServer/ContactListener.h | dlakwwkd/CommitAgain | 3fdad38f7951b1a58ae244bd5d68f5a92e97f633 | [
"MIT"
] | null | null | null | #pragma once
class ContactListener : public b2ContactListener
{
public:
ContactListener(){}
virtual ~ContactListener(){}
virtual void BeginContact(b2Contact *contact){}
virtual void PreSolve(b2Contact* contact, const b2Manifold* oldManifold){}
virtual void PostSolve(b2Contact* contact, const b2Con... | 28.285714 | 80 | 0.75 |
4420211b4e3ac5ee3d2296d5c3a2fdad16fd7618 | 5,063 | h | C | rs12.h | giulioz/s550util | 966811aad39b1277d8a952db06a725569024b3a7 | [
"BSD-3-Clause-No-Nuclear-License"
] | 1 | 2021-04-24T15:15:20.000Z | 2021-04-24T15:15:20.000Z | rs12.h | giulioz/s550util | 966811aad39b1277d8a952db06a725569024b3a7 | [
"BSD-3-Clause-No-Nuclear-License"
] | null | null | null | rs12.h | giulioz/s550util | 966811aad39b1277d8a952db06a725569024b3a7 | [
"BSD-3-Clause-No-Nuclear-License"
] | null | null | null | #ifndef RS12_H
#define RS12_H
/************************************************************************/
/* NAME */
/* rs12.h */
/* DESCRIPTION ... | 25.831633 | 74 | 0.673909 |
db48c8979ea7a7d9253eb18dc0f3ad0cdf88667f | 655 | c | C | src/chunkops.c | msaw328/msbignum | 67747a9af072608321e637110ec03e5650f1c939 | [
"MIT"
] | null | null | null | src/chunkops.c | msaw328/msbignum | 67747a9af072608321e637110ec03e5650f1c939 | [
"MIT"
] | null | null | null | src/chunkops.c | msaw328/msbignum | 67747a9af072608321e637110ec03e5650f1c939 | [
"MIT"
] | null | null | null | #include "msbignum/types.h"
#include "internal/defaults.h"
#define BITSHIFT (sizeof(bignum_chunk_t) * 8)
bignum_chunksafe_t __bignum_chunk_promote(bignum_chunk_t c) {
return (bignum_chunksafe_t) c;
}
bignum_chunksafe_t __bignum_chunk_promote_withborrow(bignum_chunk_t c, bignum_chunk_t borrow) {
return (((big... | 29.772727 | 95 | 0.777099 |
dba9e57b11386b434a49781e22946af917ded03a | 2,673 | h | C | user.h | Paresh-Kr/System-Calls-Implementation-in-XV6 | 14417432d6e36185e8d41b4196d4a3a8a72e2ce6 | [
"MIT-0"
] | null | null | null | user.h | Paresh-Kr/System-Calls-Implementation-in-XV6 | 14417432d6e36185e8d41b4196d4a3a8a72e2ce6 | [
"MIT-0"
] | null | null | null | user.h | Paresh-Kr/System-Calls-Implementation-in-XV6 | 14417432d6e36185e8d41b4196d4a3a8a72e2ce6 | [
"MIT-0"
] | null | null | null | #include "types.h"
struct stat;
struct rtcdate;
// system calls
int fork(void);
int exit(void) __attribute__((noreturn));
int wait(void);
int pipe(int*);
int write(int, void*, int);
int read(int, void*, int);
int close(int);
int kill(int);
int exec(char*, char**);
int open(char*, int);
int mknod(char*, short, short);... | 17.585526 | 41 | 0.695473 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.