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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
492b43c42a3cc5ef4ec40bf0f36aaceed919ef4a | 21 | h | C | data-test/samvu/Sample1_exe_project/MyClass.h | ducanhnguyen/cft4cpp-for-dummy | d7599f95e688943f52f6a9a0b729f16011997eb8 | [
"Apache-2.0"
] | null | null | null | data-test/samvu/Sample1_exe_project/MyClass.h | ducanhnguyen/cft4cpp-for-dummy | d7599f95e688943f52f6a9a0b729f16011997eb8 | [
"Apache-2.0"
] | null | null | null | data-test/samvu/Sample1_exe_project/MyClass.h | ducanhnguyen/cft4cpp-for-dummy | d7599f95e688943f52f6a9a0b729f16011997eb8 | [
"Apache-2.0"
] | null | null | null |
namespace org {
}
| 3.5 | 15 | 0.571429 |
3c9b635d50472c997c144d32d526365d132b272c | 486 | h | C | dovecot-2.2.33.2/src/lib-storage/mailbox-attribute-internal.h | NicoleRobin/dovecot | f971413537673e781c00808bc039fde5749fcc95 | [
"MIT"
] | null | null | null | dovecot-2.2.33.2/src/lib-storage/mailbox-attribute-internal.h | NicoleRobin/dovecot | f971413537673e781c00808bc039fde5749fcc95 | [
"MIT"
] | null | null | null | dovecot-2.2.33.2/src/lib-storage/mailbox-attribute-internal.h | NicoleRobin/dovecot | f971413537673e781c00808bc039fde5749fcc95 | [
"MIT"
] | null | null | null | #ifndef MAILBOX_ATTRIBUTE_INTERNAL_H
#define MAILBOX_ATTRIBUTE_INTERNAL_H
/* RFC 5464, Section 3.2.1.2: Mailbox entries */
#define MAILBOX_ATTRIBUTE_COMMENT "comment"
/* RFC 6154, Section 4: IMAP METADATA Entry for Special-Use Attributes */
#define MAILBOX_ATTRIBUTE_SPECIALUSE "specialuse"
/* RFC 5464, Section 3.2.1.1... | 32.4 | 73 | 0.808642 |
7170e18a82223ae2e26188986bd5730f8df901dd | 4,410 | h | C | include/retdec/serdes/std.h | LaudateCorpus1/retdec | 4a5d9ef75cc050b27f926fab49881cc771688109 | [
"Zlib",
"Apache-2.0",
"MIT"
] | 4,816 | 2017-12-12T18:07:09.000Z | 2019-04-17T02:01:04.000Z | include/retdec/serdes/std.h | fr0gger/retdec | 8c3f7bfba95d9e0934a5a9f3ff4f8aa6232343c9 | [
"Zlib",
"Apache-2.0",
"MIT"
] | 514 | 2017-12-12T18:22:52.000Z | 2019-04-16T16:07:11.000Z | include/retdec/serdes/std.h | fr0gger/retdec | 8c3f7bfba95d9e0934a5a9f3ff4f8aa6232343c9 | [
"Zlib",
"Apache-2.0",
"MIT"
] | 579 | 2017-12-12T18:38:02.000Z | 2019-04-11T13:32:53.000Z | /**
* @file include/retdec/serdes/address.h
* @brief C++ standard types (de)serialization.
* @copyright (c) 2019 Avast Software, licensed under the MIT license
*/
#ifndef RETDEC_SERDES_STD_H
#define RETDEC_SERDES_STD_H
#include <map>
#include <type_traits>
#include <rapidjson/document.h>
#include <rapidjson/enco... | 21.407767 | 80 | 0.674603 |
71776c4e688719a1aff4c367b60c46e3e10ee978 | 979 | h | C | NNet/Commands/AttachSigGen2SelCmd.h | pk1954/solutions | 02cd67fc1e6299e9fe56ce04dce2515d6f30df92 | [
"MIT"
] | null | null | null | NNet/Commands/AttachSigGen2SelCmd.h | pk1954/solutions | 02cd67fc1e6299e9fe56ce04dce2515d6f30df92 | [
"MIT"
] | null | null | null | NNet/Commands/AttachSigGen2SelCmd.h | pk1954/solutions | 02cd67fc1e6299e9fe56ce04dce2515d6f30df92 | [
"MIT"
] | null | null | null | // AttachSigGen2SelCmd.h
//
// Commands
#pragma once
#include <vector>
#include "NobId.h"
#include "InputLine.h"
#include "InputConnector.h"
#include "SignalGenerator.h"
#include "NNetCommand.h"
using std::vector;
class AttachSigGen2SelCmd : public NNetCommand
{
public:
AttachSigGen2SelCmd()
: m_pSigGenNew(m_pN... | 17.175439 | 68 | 0.66905 |
73d209d36f040d05256db3d87417a93fb9accc9b | 4,976 | c | C | dovecot-2.2.33.2/src/pop3/pop3-settings.c | NicoleRobin/dovecot | f971413537673e781c00808bc039fde5749fcc95 | [
"MIT"
] | null | null | null | dovecot-2.2.33.2/src/pop3/pop3-settings.c | NicoleRobin/dovecot | f971413537673e781c00808bc039fde5749fcc95 | [
"MIT"
] | null | null | null | dovecot-2.2.33.2/src/pop3/pop3-settings.c | NicoleRobin/dovecot | f971413537673e781c00808bc039fde5749fcc95 | [
"MIT"
] | null | null | null | /* Copyright (c) 2005-2017 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "buffer.h"
#include "settings-parser.h"
#include "service-settings.h"
#include "mail-storage-settings.h"
#include "pop3-settings.h"
#include <stddef.h>
#include <unistd.h>
static bool pop3_settings_verify(void *_se... | 27.191257 | 81 | 0.720257 |
09416aa35bd5a2389d4f7934a18fcafc211abcee | 162 | h | C | include/bmp/playerbmp2.h | ant512/EarthShakerDS | c23920bb96652570616059ee4b807e82617c2385 | [
"MIT"
] | null | null | null | include/bmp/playerbmp2.h | ant512/EarthShakerDS | c23920bb96652570616059ee4b807e82617c2385 | [
"MIT"
] | null | null | null | include/bmp/playerbmp2.h | ant512/EarthShakerDS | c23920bb96652570616059ee4b807e82617c2385 | [
"MIT"
] | null | null | null | #ifndef _PLAYERBMP2_H_
#define _PLAYERBMP2_H_
#include "bitmapwrapper.h"
class PlayerBmp2 : public WoopsiGfx::BitmapWrapper {
public:
PlayerBmp2();
};
#endif
| 13.5 | 52 | 0.771605 |
8e20cf3861f4c839b917df35daba3ddfb52922f4 | 1,260 | h | C | Cipher.h | fire2fox433/GPP-Final | 2f893ee492c8b7eb5db3c0734496e34fdc09f553 | [
"CC-BY-3.0"
] | null | null | null | Cipher.h | fire2fox433/GPP-Final | 2f893ee492c8b7eb5db3c0734496e34fdc09f553 | [
"CC-BY-3.0"
] | null | null | null | Cipher.h | fire2fox433/GPP-Final | 2f893ee492c8b7eb5db3c0734496e34fdc09f553 | [
"CC-BY-3.0"
] | null | null | null | // Programming 2D Games
// Copyright (c) 2011 by:
// Charles Kelly
// Chapter 6 spacewar.h v1.0
#ifndef _CIPHER_H // Prevent multiple definitions if this
#define _CIPHER_H // file is included in more than one place
#define WIN32_LEAN_AND_MEAN
#include "game.h"
#include "textureManager.h"
#in... | 21.355932 | 79 | 0.586508 |
820b70e09d694083a9374ed55edf43c145865e3f | 297 | h | C | test/ClassName.h | SHSongs/- | aea921ebf88f28b43b7b570f85968c319cd1bf88 | [
"MIT"
] | 1 | 2021-05-22T07:54:16.000Z | 2021-05-22T07:54:16.000Z | test/ClassName.h | SHSongs/your-target-score | aea921ebf88f28b43b7b570f85968c319cd1bf88 | [
"MIT"
] | null | null | null | test/ClassName.h | SHSongs/your-target-score | aea921ebf88f28b43b7b570f85968c319cd1bf88 | [
"MIT"
] | null | null | null | //
// Created by SHSongs on 2021-02-19.
//
#ifndef UNTITLED2_CLASSNAME_H
#define UNTITLED2_CLASSNAME_H
class ClassName {
public:
int age;
int getAge() const {
return age;
}
void setAge(int age) {
ClassName::age = age;
}
};
#endif //UNTITLED2_CLASSNAME_H
| 12.375 | 36 | 0.626263 |
bfde30e937e0a5be972a9d701373db476beaf35e | 4,150 | c | C | retro/cores/gba/src/util/vfs/vfs-file.c | MatPoliquin/retro | c70c174a9818d1e97bc36e61abb4694d28fc68e1 | [
"MIT-0",
"MIT"
] | 2,706 | 2018-04-05T18:28:50.000Z | 2022-03-29T16:56:59.000Z | retro/cores/gba/src/util/vfs/vfs-file.c | MatPoliquin/retro | c70c174a9818d1e97bc36e61abb4694d28fc68e1 | [
"MIT-0",
"MIT"
] | 242 | 2018-04-05T22:30:42.000Z | 2022-03-19T01:55:11.000Z | retro/cores/gba/src/util/vfs/vfs-file.c | MatPoliquin/retro | c70c174a9818d1e97bc36e61abb4694d28fc68e1 | [
"MIT-0",
"MIT"
] | 464 | 2018-04-05T19:10:34.000Z | 2022-03-28T13:33:32.000Z | /* Copyright (c) 2013-2015 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <mgba-util/vfs.h>
#include <mgba-util/memory.h>
#include <err... | 26.433121 | 76 | 0.677108 |
44132c4715dfc79e884de4d659a7c787fad2a1de | 332 | h | C | include/spider.h | drcfts/ProxyServer | fa7aadfc36adbc546e91d5c97750e90fa5b3b9cb | [
"MIT"
] | null | null | null | include/spider.h | drcfts/ProxyServer | fa7aadfc36adbc546e91d5c97750e90fa5b3b9cb | [
"MIT"
] | null | null | null | include/spider.h | drcfts/ProxyServer | fa7aadfc36adbc546e91d5c97750e90fa5b3b9cb | [
"MIT"
] | null | null | null | #ifndef HTTP_SPIDER
#define HTTP_SPIDER
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#define SPIDER_MSG_SIZE 500
#define DEBUG_SPIDER 0
char *spider_get_response(char *request);
char *spider_get_data(char *url);
char *spider_separate_url_path(char *url, size_t *url_size, size_t *path_siz... | 17.473684 | 79 | 0.771084 |
68bc820affb8249be993315eaf7a0d0fab223b62 | 28,168 | c | C | wireshark-2.0.13/epan/dissectors/packet-zebra.c | mahrukhfida/mi | 7187765aa225e71983969ef5285771ac77c8309a | [
"Apache-2.0"
] | null | null | null | wireshark-2.0.13/epan/dissectors/packet-zebra.c | mahrukhfida/mi | 7187765aa225e71983969ef5285771ac77c8309a | [
"Apache-2.0"
] | null | null | null | wireshark-2.0.13/epan/dissectors/packet-zebra.c | mahrukhfida/mi | 7187765aa225e71983969ef5285771ac77c8309a | [
"Apache-2.0"
] | null | null | null | /* packet-zebra.c
* Routines for zebra packet disassembly
*
* Jochen Friedrich <jochen@scram.de>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the ... | 31.472626 | 89 | 0.671862 |
9c2e1da599e7bfd7d125b2d4fcc658d0aed91c5a | 518 | c | C | lab5/src/task.c | kinpa200296/OSaE_labs | e4acd6492590476dd4a2c67764b8484bc2111e74 | [
"MIT"
] | null | null | null | lab5/src/task.c | kinpa200296/OSaE_labs | e4acd6492590476dd4a2c67764b8484bc2111e74 | [
"MIT"
] | null | null | null | lab5/src/task.c | kinpa200296/OSaE_labs | e4acd6492590476dd4a2c67764b8484bc2111e74 | [
"MIT"
] | null | null | null | #include "server.h"
#include "client.h"
int main(int argc, char **argv)
{
int delay = 1000;
if (argc > 1)
{
int tmp = 0;
if (sscanf(argv[1], "%d", &tmp))
{
delay = tmp;
}
}
int res = launch_server(delay);
if (res == 1)
{
int tmp = launch_... | 16.709677 | 48 | 0.432432 |
9c9311e75f3d0fc282f712c58ce035f1f46df4c4 | 307 | h | C | qqtw/qqheaders7.2/FAViewLinkActivityDelegate-Protocol.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 5 | 2018-02-20T14:24:17.000Z | 2020-08-06T09:31:21.000Z | qqtw/qqheaders7.2/FAViewLinkActivityDelegate-Protocol.h | onezens/QQTweak | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | 1 | 2020-06-10T07:49:16.000Z | 2020-06-12T02:08:35.000Z | qqtw/qqheaders7.2/FAViewLinkActivityDelegate-Protocol.h | onezens/SmartQQ | 04b9efd1d93eba8ef8fec5cf9a20276637765777 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class FAViewLinkActivity;
@protocol FAViewLinkActivityDelegate <NSObject>
- (void)FAViewLinkActivityDidAction:(FAViewLinkActivity *)arg1;
@end
| 20.466667 | 83 | 0.71987 |
80cfa3b31a4adf8da1b816e299e6dab80a47668e | 1,148 | h | C | Descending Europa/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Hashtable_SyncHashtable860554494.h | screwylightbulb/europa | 3dcc98369c8066cb2310143329535206751c8846 | [
"MIT"
] | 11 | 2016-07-22T19:58:09.000Z | 2021-09-21T12:51:40.000Z | Descending Europa/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Hashtable_SyncHashtable860554494.h | screwylightbulb/europa | 3dcc98369c8066cb2310143329535206751c8846 | [
"MIT"
] | 1 | 2018-05-07T14:32:13.000Z | 2018-05-08T09:15:30.000Z | iOS/Classes/Native/mscorlib_System_Collections_Hashtable_SyncHashtable860554494.h | mopsicus/unity-share-plugin-ios-android | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Collections.Hashtable
struct Hashtable_t1407064410;
#include "mscorlib_System_Collections_Hashtable1407064410.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma cla... | 25.511111 | 127 | 0.79878 |
d5b7ef1f8952393d024d1fccdc93844fbd271f6d | 15,265 | c | C | 3party/gtk+-3.12.1/gtk/gtkstackswitcher.c | kongaraju/antkorp | 3453d543d659e3420d5bc4b536016bb1d097d7ec | [
"CC-BY-3.0",
"Apache-2.0"
] | 1 | 2016-01-02T14:39:07.000Z | 2016-01-02T14:39:07.000Z | 3party/gtk+-3.12.1/gtk/gtkstackswitcher.c | kongaraju/antkorp | 3453d543d659e3420d5bc4b536016bb1d097d7ec | [
"CC-BY-3.0",
"Apache-2.0"
] | 4 | 2019-12-20T06:13:24.000Z | 2021-07-03T16:28:18.000Z | 3party/gtk+-3.12.1/gtk/gtkstackswitcher.c | kongaraju/antkorp | 3453d543d659e3420d5bc4b536016bb1d097d7ec | [
"CC-BY-3.0",
"Apache-2.0"
] | 2 | 2015-09-17T16:40:10.000Z | 2016-11-17T15:56:42.000Z | /*
* Copyright (c) 2013 Red Hat, Inc.
*
* This program 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 version 2 of the License, or (at your
* option) any later version.
*
* This program ... | 28.910985 | 108 | 0.687127 |
5797080d6e10d2e3854ba9411ed26e318788cbad | 528 | h | C | src/qt/macos_appnap.h | UFO-ETL/ufo | e85dde0c8b12c1bf3357003afb77ea85b1476d6b | [
"MIT"
] | null | null | null | src/qt/macos_appnap.h | UFO-ETL/ufo | e85dde0c8b12c1bf3357003afb77ea85b1476d6b | [
"MIT"
] | null | null | null | src/qt/macos_appnap.h | UFO-ETL/ufo | e85dde0c8b12c1bf3357003afb77ea85b1476d6b | [
"MIT"
] | null | null | null | // Copyright (c) 2011-2018 The UFO Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef UFO_QT_MACOS_APPNAP_H
#define UFO_QT_MACOS_APPNAP_H
#include <memory>
class CAppNapInhiufoor final
{
public:
explic... | 21.12 | 70 | 0.75 |
3ba784a776691574433f533885dddbdfc76b631b | 542 | h | C | StripeStore/_CartLineItem.h | CIGIHub/stripestoreapp | 89e0adf18d1303347585d7ddead07f73956e7304 | [
"MIT"
] | null | null | null | StripeStore/_CartLineItem.h | CIGIHub/stripestoreapp | 89e0adf18d1303347585d7ddead07f73956e7304 | [
"MIT"
] | null | null | null | StripeStore/_CartLineItem.h | CIGIHub/stripestoreapp | 89e0adf18d1303347585d7ddead07f73956e7304 | [
"MIT"
] | null | null | null | //
// CartLineItem.h
// StripeStore
//
// Created by Caroline Simpson on 2013-07-10.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class Order, Product;
@interface _CartLineItem : NSManagedObject
@property (nonatomic, retain) NSDecimalNumber * itemPrice;
@property (nonatomic, retain) NSNumb... | 23.565217 | 58 | 0.749077 |
22e85851f098dd3458dce0234192577b2c046ae1 | 12,061 | h | C | algorithms/src/LocalizationAndMapping/registration_localization/fast_gicp/thirdparty/nvbio/nvbio/basic/cuda/work_queue_multipass_inl.h | mfkiwl/GAAS | 29ab17d3e8a4ba18edef3a57c36d8db6329fac73 | [
"BSD-3-Clause"
] | 2,111 | 2019-01-29T07:01:32.000Z | 2022-03-29T06:48:14.000Z | algorithms/src/LocalizationAndMapping/registration_localization/fast_gicp/thirdparty/nvbio/nvbio/basic/cuda/work_queue_multipass_inl.h | mfkiwl/GAAS | 29ab17d3e8a4ba18edef3a57c36d8db6329fac73 | [
"BSD-3-Clause"
] | 131 | 2019-02-18T10:56:18.000Z | 2021-09-27T12:07:00.000Z | algorithms/src/LocalizationAndMapping/registration_localization/fast_gicp/thirdparty/nvbio/nvbio/basic/cuda/work_queue_multipass_inl.h | mfkiwl/GAAS | 29ab17d3e8a4ba18edef3a57c36d8db6329fac73 | [
"BSD-3-Clause"
] | 421 | 2019-02-12T07:59:18.000Z | 2022-03-27T05:22:01.000Z | /*
* nvbio
* Copyright (c) 2011-2014, NVIDIA CORPORATION. All rights reserved.
*
* 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,... | 39.544262 | 169 | 0.619269 |
d7f5643b1974d2a69c07fcff31a5aeee30f51243 | 1,472 | h | C | Misc/UnusedCode/widgets/rojue_RDraggableNumber.h | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Misc/UnusedCode/widgets/rojue_RDraggableNumber.h | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Misc/UnusedCode/widgets/rojue_RDraggableNumber.h | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | #ifndef rojue_RDraggableNumber_h
#define rojue_RDraggableNumber_h
#include "rojue_RSlider.h"
namespace rojue
{
class RDraggableNumber : public RSlider
{
public:
//---------------------------------------------------------------------------------------------
// construction/destruction:
/** Constr... | 25.824561 | 102 | 0.556386 |
4a11c6afcb024d2fafe5ff39f76571e85e0cc866 | 329 | h | C | Engine/src/event_MappedObserver.h | realn/exptor3D | 85bafa0a4c59eb15102756046805e4f9b23245c2 | [
"MIT"
] | null | null | null | Engine/src/event_MappedObserver.h | realn/exptor3D | 85bafa0a4c59eb15102756046805e4f9b23245c2 | [
"MIT"
] | null | null | null | Engine/src/event_MappedObserver.h | realn/exptor3D | 85bafa0a4c59eb15102756046805e4f9b23245c2 | [
"MIT"
] | null | null | null | #pragma once
#include "event_Observer.h"
#include "event_Mapper.h"
namespace event {
class MappedObserver
: public IObserver {
public:
~MappedObserver() override = default;
virtual void processEvent(const Event& event) override {
mapper.executeEvent(event);
}
protected:
Mapper mapper... | 16.45 | 60 | 0.683891 |
78703de5be301c3f2f3b542f814d1420289948ed | 2,009 | h | C | third-party/rkh/source/sm/test/inc/smTest.h | sporaio/spora-firmware | fe61a7964ff91bf0807653607e7f18284676fcc6 | [
"BSD-2-Clause"
] | 3 | 2018-10-08T09:58:27.000Z | 2020-08-13T13:28:28.000Z | third-party/rkh/source/sma/test/sma/inc/smTest.h | sporaio/spora-firmware | fe61a7964ff91bf0807653607e7f18284676fcc6 | [
"BSD-2-Clause"
] | null | null | null | third-party/rkh/source/sma/test/sma/inc/smTest.h | sporaio/spora-firmware | fe61a7964ff91bf0807653607e7f18284676fcc6 | [
"BSD-2-Clause"
] | null | null | null | /**
* \file smTest.h
* \ingroup Test
*
* \brief State machine to facilitate the test of production code.
*/
/* -------------------------- Development history -------------------------- */
/*
* 2016.03.17 LeFr v1.0.00 Initial version
*/
/* -------------------------------- Authors ----------... | 27.148649 | 79 | 0.375311 |
78f9ef065d4fedf2c9ecad98344ec68089feb7f1 | 1,346 | h | C | src/cpp/NgxBuf.h | Nov11/nginx_with_cpp | 7a8524f4685753cd7e315c181aa587b3f74fc3c9 | [
"BSD-2-Clause"
] | 1 | 2019-01-25T07:01:03.000Z | 2019-01-25T07:01:03.000Z | src/cpp/NgxBuf.h | Nov11/nginx_with_cpp | 7a8524f4685753cd7e315c181aa587b3f74fc3c9 | [
"BSD-2-Clause"
] | null | null | null | src/cpp/NgxBuf.h | Nov11/nginx_with_cpp | 7a8524f4685753cd7e315c181aa587b3f74fc3c9 | [
"BSD-2-Clause"
] | null | null | null | //
// Created by c6s on 18-1-29.
//
#ifndef NGINX_WITH_CPP_NGXBUF_H
#define NGINX_WITH_CPP_NGXBUF_H
#include <Nginx.h>
#include <ngx_string.h>
#include "NgxPool.h"
class NgxBuf : public NgxWrapper<ngx_buf_t> {
public:
NgxBuf(const NgxPool &p, std::size_t n) : NgxWrapper(p.buffer(n)) {}
NgxBuf(ngx_buf_t* p):NgxWra... | 22.813559 | 83 | 0.625557 |
cd21d057b6f9e0e236b3425ff9504c3b024cfb63 | 313 | c | C | libc/pthread/pthread_spin_trylock.c | MSathieu/OS | 7b91d9ebf2acbfeee09dd8736089c449b0a5746e | [
"Unlicense"
] | 1 | 2021-03-13T10:22:42.000Z | 2021-03-13T10:22:42.000Z | libc/pthread/pthread_spin_trylock.c | MSathieu/OS | 7b91d9ebf2acbfeee09dd8736089c449b0a5746e | [
"Unlicense"
] | null | null | null | libc/pthread/pthread_spin_trylock.c | MSathieu/OS | 7b91d9ebf2acbfeee09dd8736089c449b0a5746e | [
"Unlicense"
] | null | null | null | #include <errno.h>
#include <pthread.h>
int pthread_spin_trylock(pthread_spinlock_t* spinlock) {
bool expected = 0;
if (__atomic_compare_exchange_n(spinlock, &expected, 1, 0, __ATOMIC_SEQ_CST, __ATOMIC_RELAXED)) {
__atomic_thread_fence(__ATOMIC_SEQ_CST);
return 0;
} else {
return EBUSY;
}
}
| 24.076923 | 99 | 0.728435 |
2f1dd5ec1225611e56db27337123f8a388d1b305 | 377 | h | C | include/ozo/asio.h | IlyaSidorov/ozo | cdc667b700c7ae6dcf723ef6f939a8495f40fb7e | [
"PostgreSQL"
] | null | null | null | include/ozo/asio.h | IlyaSidorov/ozo | cdc667b700c7ae6dcf723ef6f939a8495f40fb7e | [
"PostgreSQL"
] | null | null | null | include/ozo/asio.h | IlyaSidorov/ozo | cdc667b700c7ae6dcf723ef6f939a8495f40fb7e | [
"PostgreSQL"
] | null | null | null | #pragma once
#include <boost/asio/io_service.hpp>
namespace ozo {
namespace asio = boost::asio;
using asio::async_completion;
using io_context = asio::io_service;
template <typename Executor>
struct asio_strand { using type = typename Executor::strand; };
template <typename Executor>
using strand = typename asio_s... | 20.944444 | 66 | 0.761273 |
137843249ecc9602402d125bd66fb047cfea3c02 | 11,401 | c | C | Benchmarks_with_Safety_Bugs/C/recutils-1.8/src/src/rec-crypt.c | kupl/starlab-benchmarks | 1efc9efffad1b797f6a795da7e032041e230d900 | [
"MIT"
] | null | null | null | Benchmarks_with_Safety_Bugs/C/recutils-1.8/src/src/rec-crypt.c | kupl/starlab-benchmarks | 1efc9efffad1b797f6a795da7e032041e230d900 | [
"MIT"
] | null | null | null | Benchmarks_with_Safety_Bugs/C/recutils-1.8/src/src/rec-crypt.c | kupl/starlab-benchmarks | 1efc9efffad1b797f6a795da7e032041e230d900 | [
"MIT"
] | 2 | 2020-11-26T13:27:14.000Z | 2022-03-20T02:12:55.000Z | /* -*- mode: C -*-
*
* File: rec-crypt.c
* Date: Fri Aug 26 19:50:51 2011
*
* GNU recutils - Encryption routines
*
*/
/* Copyright (C) 2011-2019 Jose E. Marchesi */
/* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 29.923885 | 80 | 0.59565 |
7a5bbb79caa8d9af7dfeccdb2f3541d9f0c1f425 | 2,816 | h | C | ADLINK_Agent/AdlinkAgent.h | IST-EVA-Support/EVA-OTA-Sample | ef5d5a9b8a6fb9def326be435d3d9bf4878c762c | [
"MIT"
] | null | null | null | ADLINK_Agent/AdlinkAgent.h | IST-EVA-Support/EVA-OTA-Sample | ef5d5a9b8a6fb9def326be435d3d9bf4878c762c | [
"MIT"
] | null | null | null | ADLINK_Agent/AdlinkAgent.h | IST-EVA-Support/EVA-OTA-Sample | ef5d5a9b8a6fb9def326be435d3d9bf4878c762c | [
"MIT"
] | null | null | null | #ifdef _WIN32
#define da_state "da.state"
#define project_token ""
#define upgrade_result ""
#elif __linux__
#define da_state "/data/carota/da.state"
#define project_token "/data/carota/pro.info"
#define upgrade_result "/data/carota/upgrade.result"
#endif
#define CODE_STRING "code"
#define MESSAGE_STR... | 39.661972 | 190 | 0.730469 |
286b19866bfe27c0cf2d0d518ad1dfccfa7a9190 | 5,909 | h | C | Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDefaultLinkExpirationDaysPolicy.h | zhaoze1991/dropbox-sdk-obj-c | fde24d2f1efd76a8859d4b65d388c6eeccd37fe0 | [
"MIT"
] | 199 | 2016-08-24T01:48:43.000Z | 2022-03-26T12:43:12.000Z | Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDefaultLinkExpirationDaysPolicy.h | zhaoze1991/dropbox-sdk-obj-c | fde24d2f1efd76a8859d4b65d388c6eeccd37fe0 | [
"MIT"
] | 263 | 2016-08-28T16:56:00.000Z | 2022-03-26T09:24:40.000Z | Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGDefaultLinkExpirationDaysPolicy.h | zhaoze1991/dropbox-sdk-obj-c | fde24d2f1efd76a8859d4b65d388c6eeccd37fe0 | [
"MIT"
] | 125 | 2016-08-31T17:49:54.000Z | 2022-03-22T02:38:37.000Z | ///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBTEAMLOGDefaultLinkExpirationDaysPolicy;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `DefaultLinkExpirati... | 24.518672 | 106 | 0.723811 |
4df72a6a90acc2ceac6822121d7f4d881bae2986 | 13,225 | h | C | Libraries/MagLib/MagLib.h | surgtechlab/MagLib | 491937caec71c44ec58feec587109f27b50dfece | [
"MIT"
] | 2 | 2020-02-18T09:12:09.000Z | 2020-12-02T10:12:29.000Z | Libraries/MagLib/MagLib.h | surgtechlab/MagLib | 491937caec71c44ec58feec587109f27b50dfece | [
"MIT"
] | 1 | 2018-10-19T09:45:10.000Z | 2018-10-19T09:45:10.000Z | Libraries/MagLib/MagLib.h | surgtechlab/MagLib | 491937caec71c44ec58feec587109f27b50dfece | [
"MIT"
] | null | null | null | /*Copyright 2018 University of Leeds, Pete Culmer, Max Houghton, Chris Adams
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, ... | 33.737245 | 463 | 0.677807 |
06377bc59eee2be657b21711ff8d5a3b04f8e6af | 16,357 | c | C | src/render.c | dseguin/asteroids | eb6a946dcbd8e9a07f389558bd3e1dcf85983913 | [
"MIT"
] | null | null | null | src/render.c | dseguin/asteroids | eb6a946dcbd8e9a07f389558bd3e1dcf85983913 | [
"MIT"
] | null | null | null | src/render.c | dseguin/asteroids | eb6a946dcbd8e9a07f389558bd3e1dcf85983913 | [
"MIT"
] | null | null | null | /*****************************************************************************
* Simple Asteroids
* Version 1
*
* Simple 'Asteroids' clone written in C using SDL2 and OpenGL 1.5
*
* https://dseguin.github.io/asteroids/
* Copyright (c) 2017 David Seguin <davidseguin@live.ca>
*
* Permission is hereby granted, fr... | 39.414458 | 79 | 0.458458 |
94a14e958e948e180a31b1bccaeb5df0babb9bf2 | 1,857 | h | C | core/win32/wsocket.h | plonk/peercast-0.1218 | 30fc2401dc798336429a979fe7aaca8883e63ed9 | [
"PSF-2.0",
"Apache-2.0",
"OpenSSL",
"MIT"
] | 28 | 2017-04-30T13:56:13.000Z | 2022-03-20T06:54:37.000Z | core/win32/wsocket.h | plonk/peercast-0.1218 | 30fc2401dc798336429a979fe7aaca8883e63ed9 | [
"PSF-2.0",
"Apache-2.0",
"OpenSSL",
"MIT"
] | 72 | 2017-04-25T03:42:58.000Z | 2021-12-04T06:35:28.000Z | core/win32/wsocket.h | plonk/peercast-0.1218 | 30fc2401dc798336429a979fe7aaca8883e63ed9 | [
"PSF-2.0",
"Apache-2.0",
"OpenSSL",
"MIT"
] | 12 | 2017-04-16T06:25:24.000Z | 2021-07-07T13:28:27.000Z | // ------------------------------------------------
// File : wsocket.h
// Date: 4-apr-2002
// Author: giles
// Desc:
// see .cpp for details
//
// (c) 2002 peercast.org
// ------------------------------------------------
// This program is free software; you can redistribute it and/or modify
// it under the terms... | 27.308824 | 71 | 0.589661 |
9e178b7a3ae813fa1dac757f635edbc1d22880f1 | 1,972 | h | C | src/qt/intro.h | thelazier/dash | 22a24ab5b7b42d06a78d8fd092c3351bdf5aafdd | [
"MIT"
] | null | null | null | src/qt/intro.h | thelazier/dash | 22a24ab5b7b42d06a78d8fd092c3351bdf5aafdd | [
"MIT"
] | null | null | null | src/qt/intro.h | thelazier/dash | 22a24ab5b7b42d06a78d8fd092c3351bdf5aafdd | [
"MIT"
] | null | null | null | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_INTRO_H
#define BITCOIN_QT_INTRO_H
#include <QDialog>
#include <QMutex>
#include <QThread>
static const ... | 24.65 | 96 | 0.71501 |
7f2e2e467e385a9c953562ca63b12934bfea4bdd | 4,185 | h | C | hi_scripting/scripting/api/CubeApi.h | lunacyaudio/HISE | c0a4fd96dd43cb8f64586d9b4b5240852cd5957c | [
"Intel"
] | null | null | null | hi_scripting/scripting/api/CubeApi.h | lunacyaudio/HISE | c0a4fd96dd43cb8f64586d9b4b5240852cd5957c | [
"Intel"
] | null | null | null | hi_scripting/scripting/api/CubeApi.h | lunacyaudio/HISE | c0a4fd96dd43cb8f64586d9b4b5240852cd5957c | [
"Intel"
] | null | null | null | #ifndef HI_SCRIPTING_API_CUBE_API
#define HI_SCRIPTING_API_CUBE_API
namespace cube {
using namespace hise;
struct Orb {
float x = 0.0f;
float y = 0.0f;
float z = 0.0f;
float rippleAmount = 1.0f;
float wiggleAmount = 1.0f;
// Normalized time within the orbit, between 0 and 1.
float orbitT... | 29.680851 | 85 | 0.671207 |
7fc2f5251da2995f43ef0b508c0467dea3a08439 | 5,049 | h | C | libs/image/include/image/ImageSampler.h | molysgaard/filament | 81b7b1ac6f430071bfb453261831dc3ed8afe241 | [
"Apache-2.0"
] | null | null | null | libs/image/include/image/ImageSampler.h | molysgaard/filament | 81b7b1ac6f430071bfb453261831dc3ed8afe241 | [
"Apache-2.0"
] | null | null | null | libs/image/include/image/ImageSampler.h | molysgaard/filament | 81b7b1ac6f430071bfb453261831dc3ed8afe241 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 37.4 | 99 | 0.692414 |
3d1f9026fca4b9d261152623c1a743dfbabeadbb | 26,605 | c | C | components/fatfs/src/vfs_fat.c | openvehicles/esp-idf | 1ff5e24b1b722a225e904b0d1b505d8a7c6b10be | [
"Apache-2.0"
] | 6 | 2018-01-07T15:23:15.000Z | 2020-08-03T05:42:03.000Z | components/fatfs/src/vfs_fat.c | Dimitrie78/esp-idf | dc1ca69e5fef47a34c0f103366fa27b762bba14d | [
"Apache-2.0"
] | null | null | null | components/fatfs/src/vfs_fat.c | Dimitrie78/esp-idf | dc1ca69e5fef47a34c0f103366fa27b762bba14d | [
"Apache-2.0"
] | 6 | 2018-07-28T16:14:42.000Z | 2020-02-13T10:14:44.000Z | // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | 30.096154 | 134 | 0.608532 |
962aeb47fb17e859dcd93146e4626ea8fc5a0e4d | 35,280 | h | C | core/include/mmcore/thecam/math/quaternion.h | tobiasrau/megamol | ce7b0b5337a9c52822f5f88a61cec1cc7ddbe39e | [
"BSD-3-Clause"
] | 2 | 2020-10-16T10:15:37.000Z | 2021-01-21T13:06:00.000Z | core/include/mmcore/thecam/math/quaternion.h | tobiasrau/megamol | ce7b0b5337a9c52822f5f88a61cec1cc7ddbe39e | [
"BSD-3-Clause"
] | null | null | null | core/include/mmcore/thecam/math/quaternion.h | tobiasrau/megamol | ce7b0b5337a9c52822f5f88a61cec1cc7ddbe39e | [
"BSD-3-Clause"
] | 1 | 2021-01-28T01:19:54.000Z | 2021-01-28T01:19:54.000Z | /*
* thecam/math/quaternion.h
*
* Copyright (C) 2016 - 2017 TheLib Team (http://www.thelib.org/license)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source cod... | 32.818605 | 120 | 0.654875 |
aaf57783121efb168a5cddc5b13e85723714e68c | 4,797 | c | C | motomini_dynamics_publisher/src/MotoMINI_Model/ex_bb0efd4b.c | ntl-ros-pkg/motoman_path_planning | c9fbe19748a4290182997c2b5baa6a08375745e0 | [
"Apache-2.0"
] | null | null | null | motomini_dynamics_publisher/src/MotoMINI_Model/ex_bb0efd4b.c | ntl-ros-pkg/motoman_path_planning | c9fbe19748a4290182997c2b5baa6a08375745e0 | [
"Apache-2.0"
] | null | null | null | motomini_dynamics_publisher/src/MotoMINI_Model/ex_bb0efd4b.c | ntl-ros-pkg/motoman_path_planning | c9fbe19748a4290182997c2b5baa6a08375745e0 | [
"Apache-2.0"
] | null | null | null | #include "pm_std.h"
#include "lang_std.h"
#include "external_std.h"
#include "pm_std.h"
static size_t ex_L5fur6LFRji_Faer_7yzJ1(const real_T x,const real_T*
ex_kqTQ1epcuYM_DyDj2jQ1y1,const size_t n){size_t ex_SmSSPSQfR1qEYWsVj5ELF0;if(
x<ex_kqTQ1epcuYM_DyDj2jQ1y1[0]){ex_SmSSPSQfR1qEYWsVj5ELF0=0;}else if(x>
ex_kq... | 67.56338 | 79 | 0.846779 |
30871f4929e146428cd4bfc27fbe9d32109f0d29 | 3,909 | h | C | RGBWLed.h | Susensio/RGBWLed | dbf45385037ac727f19c727da1c3306f5c5bf6bf | [
"MIT"
] | 4 | 2019-09-05T01:01:26.000Z | 2021-08-17T11:54:10.000Z | RGBWLed.h | Susensio/RGBWLed | dbf45385037ac727f19c727da1c3306f5c5bf6bf | [
"MIT"
] | null | null | null | RGBWLed.h | Susensio/RGBWLed | dbf45385037ac727f19c727da1c3306f5c5bf6bf | [
"MIT"
] | null | null | null | /*********************************
* RGBWLed library for RGB+W leds
* Implements HSI colour space
*
* Created by Saul Nogueras Ona
* February 28, 2015
********************************/
#ifndef RGBWLed_h
#define RGBWLed_h
#include "Arduino.h"
/**
* Helper class for RGBW-colours.
*/
typedef struct {
byte r;... | 27.528169 | 102 | 0.60834 |
ca28cbf09125454cfd394a281fdb1f5e22ed7355 | 17,782 | c | C | bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ald_nor_lcd.c | rockonedege/rt-thread | 4fe6c709d0bfe719bed6c927f0144ba373bbda5a | [
"Apache-2.0"
] | 7,482 | 2015-01-01T09:23:08.000Z | 2022-03-31T19:34:05.000Z | bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ald_nor_lcd.c | ArdaFu/rt-thread | eebb2561ec166e0016187c7b7998ada4f8212b3a | [
"Apache-2.0"
] | 2,543 | 2015-01-09T02:01:34.000Z | 2022-03-31T23:10:14.000Z | bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ald_nor_lcd.c | ArdaFu/rt-thread | eebb2561ec166e0016187c7b7998ada4f8212b3a | [
"Apache-2.0"
] | 4,645 | 2015-01-06T07:05:31.000Z | 2022-03-31T18:21:50.000Z | /**
*********************************************************************************
*
* @file ald_nor_lcd.c
* @brief EBI_NOR_LCD module driver.
*
* @version V1.0
* @date 25 Dec 2019
* @author AE Team
* @note
*
* Copyright (C) Shanghai Eastsoft Microelectronics Co. Ltd. All rights reserv... | 29.198686 | 120 | 0.730008 |
aa5c305c2b6b36112fbeb005262d55b034bc1b9e | 325 | h | C | example/svg_Mac/MacViewController.h | ap4y/UIBezierPath-SVG | 411041a8d806a6e844fb97dffc47d9751424c20a | [
"MIT"
] | 107 | 2015-01-15T10:37:08.000Z | 2022-03-18T01:45:36.000Z | example/svg_Mac/MacViewController.h | ap4y/UIBezierPath-SVG | 411041a8d806a6e844fb97dffc47d9751424c20a | [
"MIT"
] | null | null | null | example/svg_Mac/MacViewController.h | ap4y/UIBezierPath-SVG | 411041a8d806a6e844fb97dffc47d9751424c20a | [
"MIT"
] | 16 | 2015-03-19T05:14:39.000Z | 2022-01-20T08:24:07.000Z | //
// MacViewController.h
// svg_test
//
// Created by Michael Redig on 9/29/14.
//
//
#import <Foundation/Foundation.h>
#import "SKUBezierPath+SVG.h"
#import "NSBezierPath+CGPath.h"
@interface MacViewController : NSObject
@property (weak) IBOutlet NSWindow *window;
@property (weak) IBOutlet NSView *windowView;
... | 17.105263 | 45 | 0.726154 |
45f64e7f2e03660e59460f84fab31aa93c9c3d2f | 16,452 | h | C | jni-build/jni/include/external/eigen_archive/Eigen/src/SparseCore/SparseMatrixBase.h | rcelebi/android-elfali | 4ea14a58a18356ef9e16aba2e7dae84c02afba12 | [
"Apache-2.0"
] | 680 | 2016-12-03T14:38:28.000Z | 2022-02-16T04:06:45.000Z | jni-build/jni/include/external/eigen_archive/Eigen/src/SparseCore/SparseMatrixBase.h | rcelebi/android-elfali | 4ea14a58a18356ef9e16aba2e7dae84c02afba12 | [
"Apache-2.0"
] | 38 | 2016-11-17T08:43:51.000Z | 2019-11-12T12:27:04.000Z | jni-build/jni/include/external/eigen_archive/Eigen/src/SparseCore/SparseMatrixBase.h | rcelebi/android-elfali | 4ea14a58a18356ef9e16aba2e7dae84c02afba12 | [
"Apache-2.0"
] | 250 | 2016-12-05T10:37:17.000Z | 2022-03-18T21:26:55.000Z | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You c... | 42.84375 | 137 | 0.675845 |
437c09666682824cdd89e9cbee6cb1228e0998c9 | 2,380 | h | C | include/Task/XLinkTask/XLinkProbeDataPointTask.h | AllenKwok/XLinkSDK | e70ee365d0adc561022efb0d1194e2812bf41360 | [
"Apache-2.0"
] | null | null | null | include/Task/XLinkTask/XLinkProbeDataPointTask.h | AllenKwok/XLinkSDK | e70ee365d0adc561022efb0d1194e2812bf41360 | [
"Apache-2.0"
] | 1 | 2019-08-15T04:00:59.000Z | 2019-08-15T04:00:59.000Z | include/Task/XLinkTask/XLinkProbeDataPointTask.h | AllenKwok/XLinkSDK | e70ee365d0adc561022efb0d1194e2812bf41360 | [
"Apache-2.0"
] | null | null | null | //
// XLinkProbeDataPointTask.h
// XLinkSDK
//
// Created by AllenKwok on 2017/12/27.
// Copyright © 2017年 www.xlink.cn. All rights reserved.
//
#import "XLinkSendPolicyTask.h"
#import "XDevice.h"
NS_ASSUME_NONNULL_BEGIN
@class XLinkDataPoint;
@class XLinkGetDataPointTask;
typedef void (^XLinkProbeDataPointTask... | 31.315789 | 228 | 0.707143 |
b76f85a9495ef185d0e0d163c08f905409e9b713 | 1,496 | h | C | src/resolver.h | neeilan/neeilang | 1c7776bfd7d895f3f203adde5c2606096f12cc46 | [
"MIT"
] | 50 | 2019-10-15T23:14:06.000Z | 2022-02-03T20:59:50.000Z | src/resolver.h | neeilan/neeilang | 1c7776bfd7d895f3f203adde5c2606096f12cc46 | [
"MIT"
] | null | null | null | src/resolver.h | neeilan/neeilang | 1c7776bfd7d895f3f203adde5c2606096f12cc46 | [
"MIT"
] | 4 | 2020-01-22T20:14:00.000Z | 2020-03-25T08:36:14.000Z | #ifndef _NL_RESOLVER_H_
#define _NL_RESOLVER_H_
#include <map>
#include <string>
#include <vector>
#include "scope-manager.h"
#include "token.h"
#include "visitable.h"
#include "visitor.h"
// Describes what kind of function (if any) we're resolving
// names in.
enum FunctionType {
NOT_IN_FN,
METHOD,
FUNCTION,
... | 24.129032 | 69 | 0.726604 |
2c55b0a31b19c49f2dc22317c5da375ef9c548aa | 1,196 | h | C | porting/liteos_a/kernel/include/bits/stat.h | openharmony-gitee-mirror/third_party_musl | 8cb5b45210bfb0f583bcf8b50de8299843b5e075 | [
"MIT"
] | null | null | null | porting/liteos_a/kernel/include/bits/stat.h | openharmony-gitee-mirror/third_party_musl | 8cb5b45210bfb0f583bcf8b50de8299843b5e075 | [
"MIT"
] | null | null | null | porting/liteos_a/kernel/include/bits/stat.h | openharmony-gitee-mirror/third_party_musl | 8cb5b45210bfb0f583bcf8b50de8299843b5e075 | [
"MIT"
] | 1 | 2021-09-13T11:14:33.000Z | 2021-09-13T11:14:33.000Z | /* copied from kernel definition, but with padding replaced
* by the corresponding correctly-sized userspace types. */
struct stat {
dev_t st_dev;
int __st_dev_padding;
long __st_ino_truncated;
mode_t st_mode;
nlink_t st_nlink;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
int __st_rdev_padding;
off_t st_size;... | 21.357143 | 59 | 0.788462 |
4e02e73f0db7090891d408abc63676b276aec50c | 8,997 | h | C | waterbox/ares64/ares/ares/n64/vulkan/parallel-rdp/parallel-rdp/shaders/interpolation.h | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 335 | 2021-10-16T14:56:14.000Z | 2022-03-31T15:50:11.000Z | waterbox/ares64/ares/ares/n64/vulkan/parallel-rdp/parallel-rdp/shaders/interpolation.h | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | waterbox/ares64/ares/ares/n64/vulkan/parallel-rdp/parallel-rdp/shaders/interpolation.h | Fortranm/BizHawk | 8cb0ffb6f8964cc339bbe1784838918fb0aa7e27 | [
"MIT"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | /* Copyright (c) 2020 Themaister
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
*... | 35.282353 | 123 | 0.679226 |
ec8bd7e7c9d242d38cfd3c0b968a82248c1983cd | 1,457 | h | C | pfl/utils/lnrtd/lnrtd.h | zhihui-slash2/slash2-next | d174a735f9860d2d9e31c47548bda67257400804 | [
"0BSD"
] | null | null | null | pfl/utils/lnrtd/lnrtd.h | zhihui-slash2/slash2-next | d174a735f9860d2d9e31c47548bda67257400804 | [
"0BSD"
] | null | null | null | pfl/utils/lnrtd/lnrtd.h | zhihui-slash2/slash2-next | d174a735f9860d2d9e31c47548bda67257400804 | [
"0BSD"
] | null | null | null | /* $Id$ */
/*
* %ISC_START_LICENSE%
* ---------------------------------------------------------------------
* Copyright 2015, Google, Inc.
* Copyright (c) 2011-2015, Pittsburgh Supercomputing Center (PSC).
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose... | 27.490566 | 72 | 0.673988 |
0c0f8ec950410460fbb34739474bf054d50dbfba | 968 | h | C | HackCPU/opcodes.h | Doridian/HackCPU | 026c599f3a99c6f9ee0596b798d6c17f34d71894 | [
"BSD-3-Clause"
] | 2 | 2018-09-20T10:09:43.000Z | 2018-09-20T10:54:26.000Z | HackCPU/opcodes.h | Doridian/HackCPU | 026c599f3a99c6f9ee0596b798d6c17f34d71894 | [
"BSD-3-Clause"
] | null | null | null | HackCPU/opcodes.h | Doridian/HackCPU | 026c599f3a99c6f9ee0596b798d6c17f34d71894 | [
"BSD-3-Clause"
] | null | null | null |
#ifndef OPCODES_H_INCLUDED
#define OPCODES_H_INCLUDED
enum INSTRUCTION {
I_MOV = 0,
I_MOV8,
I_MOV16,
I_PUSH,
I_POP,
I_ADD,
I_SUB,
I_MUL,
I_DIV,
I_MOD,
I_SHL,
I_LSHR,
I_ASHR,
I_MULU,
I_DIVU,
I_XOR,
I_OR,
I_AND,
I_NOT,
I_NOR,
I_NAND,
I_CMP,
I_CMPS,
I_CMPF,
I_JMP,
... | 10.637363 | 29 | 0.621901 |
bd5435a9e5aa95aae4cee906cd94d4b7eac1d5ee | 1,237 | c | C | modules/charge_only_mode/venus2_assets/bin2c.c | namagi/android_device_motorola_qcom-common | 2114ad2edd693c4873e8a2897ea84864395a4c43 | [
"FTL"
] | 2 | 2015-02-16T19:40:17.000Z | 2015-02-17T15:42:35.000Z | modules/charge_only_mode/venus2_assets/bin2c.c | namagi/android_device_motorola_qcom-common | 2114ad2edd693c4873e8a2897ea84864395a4c43 | [
"FTL"
] | null | null | null | modules/charge_only_mode/venus2_assets/bin2c.c | namagi/android_device_motorola_qcom-common | 2114ad2edd693c4873e8a2897ea84864395a4c43 | [
"FTL"
] | 11 | 2017-01-14T22:29:16.000Z | 2019-02-12T22:17:20.000Z | /*
* Unloved program to convert a binary on stdin to a C include on stdout
*
* Jan 1999 Matt Mackall <mpm@selenic.com>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*/
#include <stdio.h>
int main(int argc, ... | 21.327586 | 89 | 0.495554 |
2600b5fb89baa9e8a52f03dc28a0aa618dd115c5 | 29,268 | c | C | rook0.c | rooklang/rook | 87cb6448980c8925328bf777ade828cb709601d7 | [
"MIT"
] | 2 | 2019-08-02T01:04:53.000Z | 2019-08-02T18:07:43.000Z | rook0.c | rooklang/rook | 87cb6448980c8925328bf777ade828cb709601d7 | [
"MIT"
] | null | null | null | rook0.c | rooklang/rook | 87cb6448980c8925328bf777ade828cb709601d7 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <ctype.h>
#include <getopt.h>
static int QUIET = 0;
static int DEBUG = 0;
static int ARGC = 0;
static char **ARGV = NULL;
struct value;
static struct value *ROOK_TRU... | 20.890792 | 106 | 0.597137 |
d3b4ef6b7834bf985ae9df08f093ff28feafc836 | 722 | h | C | go/internal/ble-driver/BleInterface_darwin.h | mrezaz/berty | 9b56e81e009fcfb7ba44223dbd569700e01b9704 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 3 | 2022-02-07T13:47:33.000Z | 2022-02-09T15:26:21.000Z | go/internal/ble-driver/BleInterface_darwin.h | mrezaz/berty | 9b56e81e009fcfb7ba44223dbd569700e01b9704 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 204 | 2020-11-18T13:51:09.000Z | 2022-03-31T04:06:07.000Z | go/internal/ble-driver/BleInterface_darwin.h | mrezaz/berty | 9b56e81e009fcfb7ba44223dbd569700e01b9704 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2021-09-21T22:18:42.000Z | 2021-09-21T22:18:42.000Z | //
// BleInterface.h
// ble
//
// Created by sacha on 26/09/2018.
// Copyright © 2018 sacha. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>
#import <os/log.h>
#import <signal.h>
#ifndef BleInterface_h
#define BleInterface_h
@class BleManager;
extern os_log_t OS_... | 24.066667 | 68 | 0.770083 |
03a3bbff1fffb90204872ef40c835f721ec00d2b | 6,431 | h | C | thirdparty/cgal/CGAL-5.1/include/CGAL/Surface_mesh_parameterization/parameterize.h | MelvinG24/dust3d | c4936fd900a9a48220ebb811dfeaea0effbae3ee | [
"MIT"
] | 2,392 | 2016-12-17T14:14:12.000Z | 2022-03-30T19:40:40.000Z | thirdparty/cgal/CGAL-5.1/include/CGAL/Surface_mesh_parameterization/parameterize.h | MelvinG24/dust3d | c4936fd900a9a48220ebb811dfeaea0effbae3ee | [
"MIT"
] | 106 | 2018-04-19T17:47:31.000Z | 2022-03-01T19:44:11.000Z | thirdparty/cgal/CGAL-5.1/include/CGAL/Surface_mesh_parameterization/parameterize.h | MelvinG24/dust3d | c4936fd900a9a48220ebb811dfeaea0effbae3ee | [
"MIT"
] | 184 | 2017-11-15T09:55:37.000Z | 2022-02-21T16:30:46.000Z | // Copyright (c) 2005 INRIA (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/parameterize.h $
// $Id: parameterize.h 254d60f 2019-10-19T15:23:19+02:00 Sébastien L... | 38.975758 | 137 | 0.71995 |
03a615da7edb2e481749f222dbd81718ff1def57 | 306 | h | C | Layout_Demo/Layout_Demo/ETLayoutable.h | gracenamucuo/Study | 0be9f7bede1c7f3594b9544a20dd571429f723bd | [
"MIT"
] | 2 | 2018-04-15T07:44:21.000Z | 2020-06-22T08:19:14.000Z | Layout_Demo/Layout_Demo/ETLayoutable.h | gracenamucuo/Study | 0be9f7bede1c7f3594b9544a20dd571429f723bd | [
"MIT"
] | null | null | null | Layout_Demo/Layout_Demo/ETLayoutable.h | gracenamucuo/Study | 0be9f7bede1c7f3594b9544a20dd571429f723bd | [
"MIT"
] | null | null | null | //
// ETLayoutable.h
// Layout_Demo
//
// Created by 戴运鹏 on 2018/6/24.
// Copyright © 2018年 戴运鹏. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Masonry.h"
typedef void(^LayoutMaker)(MASConstraintMaker *maker);
@protocol ETLayoutable <NSObject>
- (LayoutMaker)layoutMaker;
@end
| 16.105263 | 54 | 0.712418 |
268dfefc34813eff59d4dbc5fde2ba475b185893 | 720 | h | C | Eleven/Common/Category/UIBarButtonItem+Item.h | tanglei11/meitu_copy | 9a8b93f4bb9a7e0e9dfb8b40743b99e32100b0d7 | [
"MIT"
] | 3 | 2019-12-14T05:59:43.000Z | 2021-09-30T03:25:10.000Z | Eleven/Common/Category/UIBarButtonItem+Item.h | tanglei11/meitu_copy | 9a8b93f4bb9a7e0e9dfb8b40743b99e32100b0d7 | [
"MIT"
] | null | null | null | Eleven/Common/Category/UIBarButtonItem+Item.h | tanglei11/meitu_copy | 9a8b93f4bb9a7e0e9dfb8b40743b99e32100b0d7 | [
"MIT"
] | null | null | null |
//
// UIBarButtonItem+KHBarButtonItem.h
// 新浪微博
//
// Created by apple on 15/9/22.
// Copyright (c) 2015年 apple. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIBarButtonItem (Item)
+ (UIBarButtonItem *)itemWithTarget:(id)target Action:(SEL)action imageNormal:(UIImage *)imageNormal imageHighed:(UIIm... | 40 | 136 | 0.761111 |
c19ba2b40b1677e11577ff0081c6931a9ffc61db | 1,305 | h | C | Game.h | hane1818/The-Practice-of-Programming_GamePvZ | 41e8aeb550ee5d913cd049a7a8382b3c8d43811e | [
"MIT"
] | 1 | 2019-04-25T06:33:57.000Z | 2019-04-25T06:33:57.000Z | Game.h | hane1818/The-Practice-of-Programming_GamePvZ | 41e8aeb550ee5d913cd049a7a8382b3c8d43811e | [
"MIT"
] | 2 | 2016-01-08T08:00:43.000Z | 2016-01-08T08:03:26.000Z | Game.h | hane1818/The-Practice-of-Programming_GamePvZ | 41e8aeb550ee5d913cd049a7a8382b3c8d43811e | [
"MIT"
] | 1 | 2020-12-24T11:05:39.000Z | 2020-12-24T11:05:39.000Z | #ifndef GAME__
#define GAME__
#include <iostream>
#include <vector>
#include "Player.h"
#include "Zombie.h"
#include "Map.h"
class Game
{
friend std::ostream & operator << (std::ostream & os, const Game & game);
public:
Game(int lands, int zombies);
~Game();
void doPlayer() const;
void doZombie(in... | 27.765957 | 77 | 0.685824 |
9cccc4d55057f82022af3f12e495b883e103a491 | 7,548 | h | C | chromeos/network/managed_network_configuration_handler_impl.h | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2015-08-13T21:04:58.000Z | 2015-08-13T21:04:58.000Z | chromeos/network/managed_network_configuration_handler_impl.h | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chromeos/network/managed_network_configuration_handler_impl.h | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T06:34:36.000Z | 2020-11-04T06:34:36.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
#define CHROMEOS_NETWORK_MANAGED_NETWORK_CONFIGURATION_HANDLER_IMPL_H_
#include <m... | 39.108808 | 77 | 0.779942 |
96924de0cb3596e7be1b9fbc555b924d6f1c5002 | 207 | c | C | test/generated/wait.c | michael105/minilib | c5b87d98606aa968a760d4b4146ea503492b8178 | [
"MIT"
] | 29 | 2019-03-20T22:34:44.000Z | 2021-09-15T03:23:03.000Z | test/generated/wait.c | michael105/minilib | c5b87d98606aa968a760d4b4146ea503492b8178 | [
"MIT"
] | 4 | 2019-03-20T08:27:07.000Z | 2020-08-17T00:21:30.000Z | test/generated/wait.c | michael105/minilib | c5b87d98606aa968a760d4b4146ea503492b8178 | [
"MIT"
] | null | null | null | #if 0
mini_wait
mini_buf 128
globals_on_stack
mini_start
shrinkelf
INCLUDESRC
LDSCRIPT default
OPTFLAG -Os
return
#endif
int main(){
volatile int ret=42;
volatile int * a1=0;
wait(a1);
return(ret);
}
| 11.5 | 22 | 0.748792 |
53266b2994fafb21eb45f5fe56c1142eabafd36a | 5,050 | c | C | examples/dynamic_services/main.c | RaresMihai11/Probe | 6ad2fd7c8e9205c2b58cd36687d479a49aa10a66 | [
"MIT"
] | 1 | 2019-05-03T16:49:32.000Z | 2019-05-03T16:49:32.000Z | examples/dynamic_services/main.c | RaresMihai11/Probe | 6ad2fd7c8e9205c2b58cd36687d479a49aa10a66 | [
"MIT"
] | null | null | null | examples/dynamic_services/main.c | RaresMihai11/Probe | 6ad2fd7c8e9205c2b58cd36687d479a49aa10a66 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
#include <espressif/esp_wifi.h>
#include <espressif/esp_sta.h>
#include <espressif/esp_common.h>
#include <esp/uart.h>
#include <esp8266.h>
#include <FreeRTOS.h>
#include <task.h>
#include <homekit/homekit.h>
#include <homekit/characteristics.h>
#include "wifi.h"
#define MAX_S... | 27.005348 | 107 | 0.666535 |
49e9c6d1db6191d68df73da8dfb2407e84e7c309 | 2,902 | h | C | include/keycodes.h | adi-g15/simplecpp | bbb3a4df3b19d52939cd79ba9587235841fb7267 | [
"CC0-1.0"
] | 3 | 2021-05-08T07:42:59.000Z | 2022-03-28T15:04:02.000Z | include/keycodes.h | adi-g15/simplecpp | bbb3a4df3b19d52939cd79ba9587235841fb7267 | [
"CC0-1.0"
] | null | null | null | include/keycodes.h | adi-g15/simplecpp | bbb3a4df3b19d52939cd79ba9587235841fb7267 | [
"CC0-1.0"
] | null | null | null | #define KeyCode_ESC 9
#define KeyCode_F1 67
#define KeyCode_F2 68
#define KeyCode_F3 69
#define KeyCode_F4 70
#define KeyCode_F5 71
#define KeyCode_F6 72
#define KeyCode_F7 73
#define KeyCode_F8 74
#define KeyCode_F9 75
#define KeyCode_F10 76
#define KeyCode_F11 95
#define KeyCode_F12 96
#define KeyCode_ACUTE 49
#defin... | 24.803419 | 49 | 0.828739 |
4998e74125a243d74d47c8a16d33081e8cbbebf5 | 3,314 | c | C | bin/varnishd/cache/cache_vrt_priv.c | adeelshahid/Varnish-Cache | 969674dcb3b4d430a38b7f1b1e41199b25cc8491 | [
"BSD-2-Clause"
] | null | null | null | bin/varnishd/cache/cache_vrt_priv.c | adeelshahid/Varnish-Cache | 969674dcb3b4d430a38b7f1b1e41199b25cc8491 | [
"BSD-2-Clause"
] | null | null | null | bin/varnishd/cache/cache_vrt_priv.c | adeelshahid/Varnish-Cache | 969674dcb3b4d430a38b7f1b1e41199b25cc8491 | [
"BSD-2-Clause"
] | null | null | null | /*-
* Copyright (c) 2006 Verdens Gang AS
* Copyright (c) 2006-2014 Varnish Software AS
* All rights reserved.
*
* Author: Poul-Henning Kamp <phk@phk.freebsd.dk>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:... | 27.848739 | 77 | 0.689499 |
5b611538cca42a0bfdc1e4373d1fe16c57ff4dbe | 711 | h | C | OGMM/BuildConfig.h | Moneyl/OGMM | 52a4bcc051fab160c55f0cc7228bd99de3ff5c47 | [
"MIT"
] | null | null | null | OGMM/BuildConfig.h | Moneyl/OGMM | 52a4bcc051fab160c55f0cc7228bd99de3ff5c47 | [
"MIT"
] | null | null | null | OGMM/BuildConfig.h | Moneyl/OGMM | 52a4bcc051fab160c55f0cc7228bd99de3ff5c47 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
namespace BuildConfig
{
//Path to the asset folder. Varies depending on build type. See src/CMakeLists.txt.
static const std::string AssetFolderPath = ASSET_FOLDER_PATH;
static const std::string MainFontPath = AssetFolderPath + "fonts/NotoSansDisplay-Medium.ttf";
//static... | 50.785714 | 98 | 0.746835 |
5bb46f9c91e15b60088d82c8a990a990bcafd6c4 | 984 | h | C | idp/tstring.h | artar94/inno-download-plugin | d87573996fc05ae9b36aeeb0d7dd59104a601a78 | [
"Zlib"
] | 1 | 2020-03-17T21:56:25.000Z | 2020-03-17T21:56:25.000Z | idp/tstring.h | artar94/inno-download-plugin | d87573996fc05ae9b36aeeb0d7dd59104a601a78 | [
"Zlib"
] | 1 | 2022-02-03T16:12:36.000Z | 2022-02-03T16:12:36.000Z | idp/tstring.h | artar94/inno-download-plugin | d87573996fc05ae9b36aeeb0d7dd59104a601a78 | [
"Zlib"
] | 8 | 2019-06-30T07:50:07.000Z | 2022-02-02T23:19:48.000Z | #pragma once
#include <string>
#include <sstream>
#include <set>
#include <tchar.h>
using namespace std;
typedef basic_string<_TCHAR> tstring;
typedef basic_stringstream<_TCHAR> tstringstream;
string toansi(tstring s);
tstring tocurenc(string s);
tstring tstrlower(const _TCHAR *s);
tstring tstrprint... | 32.8 | 123 | 0.751016 |
9da7ceced76821d9a2a7f7f6dc5e8ddef3cb6631 | 1,378 | c | C | chapter2/programs/byte-representation.c | rjseymour66/computersystems3e | 76fa72b3081fcee7da057703ba3e04cb0bc979d2 | [
"Multics"
] | null | null | null | chapter2/programs/byte-representation.c | rjseymour66/computersystems3e | 76fa72b3081fcee7da057703ba3e04cb0bc979d2 | [
"Multics"
] | null | null | null | chapter2/programs/byte-representation.c | rjseymour66/computersystems3e | 76fa72b3081fcee7da057703ba3e04cb0bc979d2 | [
"Multics"
] | null | null | null | #include <stdio.h>
typedef unsigned char *byte_pointer;
/* This is a pointer to an unsigned char.
typedef is a way to give a name to a data type.
Like declaring a variable, but uses the type name instead of a var name.*/
void test_show_bytes(int val);
void show_bytes(byte_pointer start, size_t len);
void show_int(i... | 26.5 | 119 | 0.623367 |
173873b0059987b85bd50ee2e1de5dbb0c46978e | 11,142 | c | C | net/oic/src/security/oc_acl.c | francois-berder/mynewt-core | d78860e3add3b8c4851503d83af2dcffd4b804b8 | [
"Apache-2.0"
] | 1 | 2018-06-19T23:56:53.000Z | 2018-06-19T23:56:53.000Z | net/oic/src/security/oc_acl.c | francois-berder/mynewt-core | d78860e3add3b8c4851503d83af2dcffd4b804b8 | [
"Apache-2.0"
] | null | null | null | net/oic/src/security/oc_acl.c | francois-berder/mynewt-core | d78860e3add3b8c4851503d83af2dcffd4b804b8 | [
"Apache-2.0"
] | null | null | null | /*
// Copyright (c) 2016 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 26.978208 | 80 | 0.577455 |
c09fc30f22875c0d9e8ca5054c35956647ad1e72 | 4,785 | c | C | liba/test/math.c | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,442 | 2017-08-28T19:39:45.000Z | 2022-03-30T00:56:14.000Z | liba/test/math.c | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,321 | 2017-08-28T23:03:10.000Z | 2022-03-31T19:32:17.000Z | liba/test/math.c | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 421 | 2017-08-28T22:02:39.000Z | 2022-03-28T20:52:21.000Z | // This file tests that each math fuction links.
#include <math.h>
int test_fpclassifyf(float x) { return fpclassify(x); }
int test_signbitf(float x) { return signbit(x); }
int test_finitef(float x) { return finite(x); }
int test_isfinitef(float x) { return isfinite(x); }
int test_isnormalf(float x) { return isnormal(... | 48.826531 | 79 | 0.70721 |
8d8fe820b767667f311cc970e27ea63367a9a52f | 463 | h | C | ofdEditor/model/Doc/DocBasicTypes.h | mcoder2014/ofdEditor | c241f69447992cacb29d4ddae17fa4d7abd76b21 | [
"MIT"
] | 30 | 2018-09-27T09:26:57.000Z | 2022-03-31T01:45:20.000Z | ofdEditor/model/Doc/DocBasicTypes.h | mcoder2014/ofdEditor | c241f69447992cacb29d4ddae17fa4d7abd76b21 | [
"MIT"
] | 1 | 2019-09-06T04:54:16.000Z | 2019-09-06T04:54:16.000Z | ofdEditor/model/Doc/DocBasicTypes.h | mcoder2014/ofdEditor | c241f69447992cacb29d4ddae17fa4d7abd76b21 | [
"MIT"
] | 15 | 2018-04-23T02:49:20.000Z | 2021-09-27T03:06:55.000Z | #ifndef DOCBASICTYPES_H
#define DOCBASICTYPES_H
#include "model_global.h"
/**
* @Author Chaoqun
* @brief 功能同 ST_Box
* @date 2017/04/30
*/
class MODELSHARED_EXPORT DocBox
{
public:
double x;
double y;
double width;
double height;
void set(double x, double y,double width, double height)
... | 14.46875 | 60 | 0.602592 |
a5c90a0b57d8cc0610d0026ae8bc9361daf57958 | 3,157 | h | C | lib/slice.h | tamiel/iaxclient | 81118fb53dad108fd775c656b5f0572d83e9d052 | [
"Unlicense"
] | 3 | 2015-05-26T02:19:18.000Z | 2018-05-08T12:04:06.000Z | lib/slice.h | mike-plivo/iaxclient | 81118fb53dad108fd775c656b5f0572d83e9d052 | [
"Unlicense"
] | null | null | null | lib/slice.h | mike-plivo/iaxclient | 81118fb53dad108fd775c656b5f0572d83e9d052 | [
"Unlicense"
] | 2 | 2016-11-27T17:34:02.000Z | 2018-05-08T12:04:15.000Z | /*
* iaxclient: a portable telephony toolkit
*
* Copyright (C) 2007, Wimba, Inc.
*
* Mihai Balea <mihai at hates dot ms>
*
* This program is free software, distributed under the terms of
* the GNU Lesser (Library) General Public License
*
* A codec independent frame slicer/assembler library
*/
/*
* This AP... | 28.7 | 97 | 0.720621 |
85e4b0503c6fcc01d98372a49103ef1bc13f147f | 10,132 | c | C | src/dns/server.c | stsaz/fencedns | 5168d2acffb43cad225cc06dc1b7ad83a4c69c3e | [
"BSD-2-Clause"
] | null | null | null | src/dns/server.c | stsaz/fencedns | 5168d2acffb43cad225cc06dc1b7ad83a4c69c3e | [
"BSD-2-Clause"
] | null | null | null | src/dns/server.c | stsaz/fencedns | 5168d2acffb43cad225cc06dc1b7ad83a4c69c3e | [
"BSD-2-Clause"
] | null | null | null | /** fencedns: DNS server
2020, Simon Zolin */
#include <fencedns.h>
#include <dns/dnsmod.h>
#include <FF/net/url.h>
#include <FFOS/signal.h>
#include <FFOS/timer.h>
#include <ffbase/vector.h>
#include <ffbase/map.h>
struct dns_conf {
ffsockaddr bind;
ffbyte block_aaaa;
ffuint block_ttl;
ffuint block_mode; // enum... | 21.330526 | 87 | 0.672819 |
12888a0cdc63d9ae3c3318b7ec0df75bd61f2637 | 105 | h | C | core/rpc.h | dxtr/bitc | 5e093d23b19c11f479d1b3492e4b7e26e1ae828a | [
"MIT"
] | 76 | 2015-02-03T14:23:42.000Z | 2021-07-11T06:07:33.000Z | core/rpc.h | mooncoindev/moonterm | 0fbbba868c4adfb9e1342a725449889c9101f978 | [
"MIT"
] | 8 | 2015-04-06T18:52:30.000Z | 2020-03-19T20:30:27.000Z | core/rpc.h | mooncoindev/moonterm | 0fbbba868c4adfb9e1342a725449889c9101f978 | [
"MIT"
] | 20 | 2015-01-09T13:05:46.000Z | 2021-04-04T17:23:31.000Z | #ifndef __RPC_H__
#define __RPC_H__
int rpc_init(void);
void rpc_exit(void);
#endif /* __RPC_H__ */
| 10.5 | 22 | 0.714286 |
4216139ba166cb8d727487513c3b5d17e4161e8a | 801 | c | C | uart.c | dsprenkels/liftlighter | ffeacc9d8aaeae9622322ca67a5be6638c5e3b5e | [
"MIT"
] | null | null | null | uart.c | dsprenkels/liftlighter | ffeacc9d8aaeae9622322ca67a5be6638c5e3b5e | [
"MIT"
] | null | null | null | uart.c | dsprenkels/liftlighter | ffeacc9d8aaeae9622322ca67a5be6638c5e3b5e | [
"MIT"
] | null | null | null | #include "uart.h"
#include <avr/io.h>
#include <unistd.h>
void UART_init()
{
// Set double speed mode
UCSRA |= (1 << U2X);
// Set baud rate to 9600
UBRRH = 0;
UBRRL = 12;
// Enable transmissions
UCSRB = 1 << TXEN;
// Set frame format
UCSRC = (1<<URSEL)|(1<<USBS)|(3<<UCSZ0);
}
void UART_transmit(uint8_t da... | 16.6875 | 51 | 0.596754 |
eb31bb23bd84de40ea7eb82bcb16064bb177a4f0 | 2,118 | h | C | src/75322/cont_mode_lib/src/trig_data.h | melexis/mlx75322-spi-driver | 5ffbf0f981643827c7a0beebf50cc93d15e55ccd | [
"Apache-2.0"
] | null | null | null | src/75322/cont_mode_lib/src/trig_data.h | melexis/mlx75322-spi-driver | 5ffbf0f981643827c7a0beebf50cc93d15e55ccd | [
"Apache-2.0"
] | 1 | 2020-02-21T13:24:02.000Z | 2020-02-21T13:24:02.000Z | src/75322/cont_mode_lib/src/trig_data.h | melexis/mlx75322-spi-driver | 5ffbf0f981643827c7a0beebf50cc93d15e55ccd | [
"Apache-2.0"
] | null | null | null | /**
* @file
* @brief SPI driver for MLX75322 Continuous mode support
* @internal
*
* @copyright (C) 2019 Melexis N.V.
*
* Melexis N.V. is supplying this code for use with Melexis N.V. processor based microcontrollers only.
*
* THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATU... | 31.147059 | 118 | 0.746931 |
3a94902a017074f938a775fc22b5569d97d67ee5 | 14,434 | h | C | src/masternodes/poolpairs.h | asyrafnorafandi/ain | ab0b60686c39b45d2241dd807cbd6ce22c096188 | [
"MIT"
] | null | null | null | src/masternodes/poolpairs.h | asyrafnorafandi/ain | ab0b60686c39b45d2241dd807cbd6ce22c096188 | [
"MIT"
] | null | null | null | src/masternodes/poolpairs.h | asyrafnorafandi/ain | ab0b60686c39b45d2241dd807cbd6ce22c096188 | [
"MIT"
] | null | null | null | // Copyright (c) 2020 The DeFi Foundation
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DEFI_MASTERNODES_POOLPAIRS_H
#define DEFI_MASTERNODES_POOLPAIRS_H
#include <flushablestorage.h>
#include <amount.h>
#include <ar... | 37.105398 | 263 | 0.628447 |
55626478508e1632909c4254f92a508a6c957ab0 | 24,880 | c | C | src/event.c | pilotniq/VoxiUtil | 569d069448a8374ca732034aa4f17f723b406003 | [
"Apache-2.0"
] | 1 | 2020-01-09T21:15:16.000Z | 2020-01-09T21:15:16.000Z | src/event.c | pilotniq/VoxiUtil | 569d069448a8374ca732034aa4f17f723b406003 | [
"Apache-2.0"
] | null | null | null | src/event.c | pilotniq/VoxiUtil | 569d069448a8374ca732034aa4f17f723b406003 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 1999-2002 Voxi AB. All rights reserved.
This software is the proprietary information of Voxi AB, Stockholm, Sweden.
Use of this software is subject to license terms.
*/
/*
Voxi's Event Manager
*/
#ifdef _WIN32_WCE
#include <windows.h>
/* all of a sudden we needed time_t to be defined in tim... | 27.250821 | 109 | 0.654502 |
d9f47e8063370bde7a07fecb0d50dc6dac6c6b3d | 14,156 | c | C | SpongeBob/Data/Maps/CHAPTER01_LEVEL0209.c | KrazeeTobi/SBSPSS-AGB | b6c1faba6f80c1a321218b2554e3ff28d199ff11 | [
"Unlicense"
] | 1 | 2021-03-22T22:10:15.000Z | 2021-03-22T22:10:15.000Z | SpongeBob/Data/Maps/CHAPTER01_LEVEL0209.c | KrazeeTobi/SBSPSS-AGB | b6c1faba6f80c1a321218b2554e3ff28d199ff11 | [
"Unlicense"
] | null | null | null | SpongeBob/Data/Maps/CHAPTER01_LEVEL0209.c | KrazeeTobi/SBSPSS-AGB | b6c1faba6f80c1a321218b2554e3ff28d199ff11 | [
"Unlicense"
] | null | null | null | /******************************************/
/*** Level Data for CHAPTER01_LEVEL0209 ***/
/******************************************/
#include "agbtypes.h"
/******************************************************************************/
u16 CHAPTER01_LEVEL0209_MID_WIDTH=32;
u16 CHAPTER01_LEVEL0209_MID_HEIGHT=22;
u1... | 152.215054 | 224 | 0.827352 |
3d2f3e8942afe4817d6e2e3b0a8797e48e5f0056 | 503 | h | C | lemon/config.h | zlthinker/RMBP | e3b9689af8b2a412639c8216049a0d82fe6e73db | [
"MIT"
] | 29 | 2018-07-09T11:21:08.000Z | 2021-09-20T19:47:23.000Z | lemon/config.h | sundw2014/rmbp | 9a3456b640299215ea855df279ff9b715eaf213a | [
"MIT"
] | null | null | null | lemon/config.h | sundw2014/rmbp | 9a3456b640299215ea855df279ff9b715eaf213a | [
"MIT"
] | 7 | 2018-10-20T00:47:40.000Z | 2020-11-26T07:31:40.000Z | #define LEMON_VERSION "1.3.1"
#define LEMON_HAVE_LONG_LONG 1
/* #undef LEMON_HAVE_LP */
/* #undef LEMON_HAVE_MIP */
/* #undef LEMON_HAVE_GLPK */
/* #undef LEMON_HAVE_CPLEX */
/* #undef LEMON_HAVE_SOPLEX */
/* #undef LEMON_HAVE_CLP */
/* #undef LEMON_HAVE_CBC */
#define _LEMON_CPLEX 1
#define _LEMON_CLP 2
#define _LEM... | 21.869565 | 36 | 0.741551 |
5c0ce00b3c145bb4c34be01fe530324583c2a250 | 322 | h | C | include/ImageSimilaritySorter.h | foobar999/Medienretrieval | e4db216129dd1da5452f0411e3132fc5710707c4 | [
"BSD-2-Clause"
] | null | null | null | include/ImageSimilaritySorter.h | foobar999/Medienretrieval | e4db216129dd1da5452f0411e3132fc5710707c4 | [
"BSD-2-Clause"
] | null | null | null | include/ImageSimilaritySorter.h | foobar999/Medienretrieval | e4db216129dd1da5452f0411e3132fc5710707c4 | [
"BSD-2-Clause"
] | null | null | null | #ifndef IMAGESIMILARITYSORTER_H
#define IMAGESIMILARITYSORTER_H
#include <vector>
#include "ImageDistance.h"
#include "utils.h"
class ImageSimilaritySorter {
public:
std::vector<int> sort_by_distance(int query_id, const std::vector<ImageData> &histograms, ImageDistance &dist);
};
#endif // IMAGESIMILARITYSORTER_... | 23 | 115 | 0.78882 |
e1d58b85eda3817d42014241240572366e6232e3 | 2,980 | h | C | Real-Time Corruptor/BizHawk_RTC/libmupen64plus/mupen64plus-video-rice/src/GraphicsContext.h | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 1,414 | 2015-06-28T09:57:51.000Z | 2021-10-14T03:51:10.000Z | Real-Time Corruptor/BizHawk_RTC/libmupen64plus/mupen64plus-video-rice/src/GraphicsContext.h | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 2,369 | 2015-06-25T01:45:44.000Z | 2021-10-16T08:44:18.000Z | Real-Time Corruptor/BizHawk_RTC/libmupen64plus/mupen64plus-video-rice/src/GraphicsContext.h | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 430 | 2015-06-29T04:28:58.000Z | 2021-10-05T18:24:17.000Z | /*
Copyright (C) 2003 Rice1964
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 hope that it... | 28.932039 | 87 | 0.709396 |
ed4d7be967853726d9973a2e00a75c33a8bff778 | 530 | h | C | controller/openflow_messages/of_message_features_request.h | zteo-phd-software/ironstack | 649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0 | [
"BSD-3-Clause"
] | null | null | null | controller/openflow_messages/of_message_features_request.h | zteo-phd-software/ironstack | 649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0 | [
"BSD-3-Clause"
] | null | null | null | controller/openflow_messages/of_message_features_request.h | zteo-phd-software/ironstack | 649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "of_message.h"
#include "../../common/mac_address.h"
// requests the switch to send its available features
// author: Z. Teo (zteo@cs.cornell.edu)
using namespace std;
class of_message_features_request : public of_message {
public:
of_message_features_request();
virtual ~of_message_features... | 22.083333 | 55 | 0.756604 |
358d0ca375af7cebde3083baaf62201f239cf274 | 425 | c | C | lib/libc/wasi/libc-bottom-half/sources/__wasilibc_tell.c | lukekras/zig | 6f303c01f3e06fe8203563065ea32537f6eff456 | [
"MIT"
] | 12,718 | 2018-05-25T02:00:44.000Z | 2022-03-31T23:03:51.000Z | lib/libc/wasi/libc-bottom-half/sources/__wasilibc_tell.c | lukekras/zig | 6f303c01f3e06fe8203563065ea32537f6eff456 | [
"MIT"
] | 8,483 | 2018-05-23T16:22:39.000Z | 2022-03-31T22:18:16.000Z | lib/libc/wasi/libc-bottom-half/sources/__wasilibc_tell.c | lukekras/zig | 6f303c01f3e06fe8203563065ea32537f6eff456 | [
"MIT"
] | 1,400 | 2018-05-24T22:35:25.000Z | 2022-03-31T21:32:48.000Z | #include <wasi/api.h>
#include <errno.h>
off_t __wasilibc_tell(int fildes) {
__wasi_filesize_t offset;
__wasi_errno_t error = __wasi_fd_tell(fildes, &offset);
if (error != 0) {
// lseek returns ESPIPE on when called on a pipe, socket, or fifo,
// which on WASI would translate into ENOTCAPAB... | 28.333333 | 74 | 0.642353 |
81c0d0f0e278696b388ec1f58c9a3831fdb357ba | 5,485 | h | C | src/base64.h | cryptowerk/cealr | 659fe8b3a8e58ac1fed85efbbc1bdd24cb183b5e | [
"Apache-2.0"
] | 3 | 2018-07-17T08:51:15.000Z | 2018-11-21T12:55:04.000Z | src/base64.h | cryptowerk/cealr | 659fe8b3a8e58ac1fed85efbbc1bdd24cb183b5e | [
"Apache-2.0"
] | null | null | null | src/base64.h | cryptowerk/cealr | 659fe8b3a8e58ac1fed85efbbc1bdd24cb183b5e | [
"Apache-2.0"
] | 2 | 2018-07-30T22:05:40.000Z | 2019-09-05T04:24:39.000Z | /*
* _____ _____ _____ ___ ______
*| __| __|/ _ \| | | _ | Command line tool for sealing files with Cryptowerk API
*| |__| __| _ | |__|
*|_____|_____|__| |__|______|__|\__\ https://github.com/cryptowerk/cealr
*
* The original algorithms were copied from
* Copyright (c) 2016 tomykaira
... | 34.936306 | 148 | 0.577211 |
81edf3b5462ab6282919596a5d8ac8cde749a960 | 305 | h | C | OdessaMacGUIApp/Source/InterfaceHelpers/DesignLanguage.h | noahsw/highlight-hunter | f981f6efc3bf391117e4fec7365e63755f7b7135 | [
"Apache-2.0"
] | 8 | 2015-05-26T23:27:19.000Z | 2019-01-21T10:08:30.000Z | OdessaMacGUIApp/Source/InterfaceHelpers/DesignLanguage.h | noahsw/highlight-hunter | f981f6efc3bf391117e4fec7365e63755f7b7135 | [
"Apache-2.0"
] | 2 | 2016-02-09T00:37:25.000Z | 2016-05-14T17:50:51.000Z | OdessaMacGUIApp/Source/InterfaceHelpers/DesignLanguage.h | noahsw/highlight-hunter | f981f6efc3bf391117e4fec7365e63755f7b7135 | [
"Apache-2.0"
] | 3 | 2018-07-31T08:13:09.000Z | 2020-02-01T19:50:53.000Z | //
// DesignLanguage.h
// OdessaMacGUIApp
//
// Created by Noah Spitzer-Williams on 9/4/12.
// Copyright (c) 2012 Authentically Digital LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface DesignLanguage : NSObject
+ (NSColor*) lightGrayColor;
+ (NSColor*) midGrayColor;
@end
| 17.941176 | 70 | 0.718033 |
dccf5746d25ad6460d62cb0b11359a2954aa74d5 | 213 | h | C | KeHai/Controllers/Home/ScheduleViewController.h | chengaojian/KH2016 | 1cc61d2d0726c0acae6896969338fb36bf5ebd9c | [
"Apache-2.0"
] | null | null | null | KeHai/Controllers/Home/ScheduleViewController.h | chengaojian/KH2016 | 1cc61d2d0726c0acae6896969338fb36bf5ebd9c | [
"Apache-2.0"
] | null | null | null | KeHai/Controllers/Home/ScheduleViewController.h | chengaojian/KH2016 | 1cc61d2d0726c0acae6896969338fb36bf5ebd9c | [
"Apache-2.0"
] | null | null | null | //
// ScheduleViewController.h
// KeHai
//
// Created by 三海 on 16/10/22.
// Copyright © 2016年 陈高健. All rights reserved.
//
#import "ViewController.h"
@interface ScheduleViewController : ViewController
@end
| 15.214286 | 50 | 0.704225 |
b0fa30aaa990213a0f6d4362855fba4de8985439 | 9,625 | h | C | u-boot/arch/arm/include/asm/arch-gxl/i2c.h | rgomulin/aml_s905_uboot | 550de48829e852678f6cef98e94e1a97c040c1fc | [
"MIT"
] | 35 | 2019-04-26T04:00:10.000Z | 2022-03-30T11:37:06.000Z | u-boot/arch/arm/include/asm/arch-gxl/i2c.h | rgomulin/aml_s905_uboot | 550de48829e852678f6cef98e94e1a97c040c1fc | [
"MIT"
] | 3 | 2019-02-23T14:19:12.000Z | 2020-11-23T17:42:50.000Z | u-boot/arch/arm/include/asm/arch-gxl/i2c.h | rgomulin/aml_s905_uboot | 550de48829e852678f6cef98e94e1a97c040c1fc | [
"MIT"
] | 11 | 2020-01-07T05:39:10.000Z | 2021-12-26T07:27:21.000Z |
/*
* arch/arm/include/asm/arch-gxb/i2c.h
*
* Copyright (C) 2015 Amlogic, Inc. All rights reserved.
*
* 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
... | 38.810484 | 78 | 0.752312 |
8e5a4f2372cc23c91768346ffaa4a0659f853002 | 745 | h | C | ui/events/gesture_detection/gesture_provider_config_helper.h | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/events/gesture_detection/gesture_provider_config_helper.h | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/events/gesture_detection/gesture_provider_config_helper.h | sunjc53yy/chromium | 049b380040949089c2a6e447b0cd0ac3c4ece38e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 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 UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_CONFIG_HELPER_H_
#define UI_EVENTS_GESTURE_DETECTION_GESTURE_PROVIDER_CONFIG_HELPER_H_
#include "ui/... | 37.25 | 80 | 0.845638 |
8e845da8e83110bf0908510a39e076fbe4d0abb3 | 31,239 | c | C | source/programs/Xserver/hw/darwin/darwin.c | binaryblob01/zfree86 | e80ea992d87501b8e3e2d7c07a414591c2e11c70 | [
"Xnet",
"X11"
] | 1 | 2021-09-08T21:13:25.000Z | 2021-09-08T21:13:25.000Z | source/programs/Xserver/hw/darwin/darwin.c | binaryblob01/zfree86 | e80ea992d87501b8e3e2d7c07a414591c2e11c70 | [
"Xnet",
"X11"
] | null | null | null | source/programs/Xserver/hw/darwin/darwin.c | binaryblob01/zfree86 | e80ea992d87501b8e3e2d7c07a414591c2e11c70 | [
"Xnet",
"X11"
] | 1 | 2021-01-22T00:19:47.000Z | 2021-01-22T00:19:47.000Z | /**************************************************************
*
* Shared code for the Darwin X Server
* running with Quartz or IOKit display mode
*
**************************************************************/
/*
* Copyright (c) 2001-2004 Torrey T. Lyons. All Rights Reserved.
*
* Permission is hereby grante... | 29.415254 | 91 | 0.596722 |
c25eec9d24f0813a5a694489cfd41e86ca164e21 | 611 | h | C | src/lua5/imlua_image.h | sonoro1234/mirror-im | bd34a8cdaac62eac99f5fa1de7510bbe18aaf7af | [
"MIT"
] | null | null | null | src/lua5/imlua_image.h | sonoro1234/mirror-im | bd34a8cdaac62eac99f5fa1de7510bbe18aaf7af | [
"MIT"
] | null | null | null | src/lua5/imlua_image.h | sonoro1234/mirror-im | bd34a8cdaac62eac99f5fa1de7510bbe18aaf7af | [
"MIT"
] | null | null | null | /** \file
* \brief IM Lua 5 Binding
*
* See Copyright Notice in im_lib.h
*/
#ifndef __IMLUA_IMAGE_H
#define __IMLUA_IMAGE_H
#if defined(__cplusplus)
extern "C" {
#endif
typedef struct _imluaImageChannel {
imImage *image;
int channel;
} imluaImageChannel;
typedef struct _imluaImageLine {
imImage *image;
... | 16.078947 | 66 | 0.743044 |
b0772d2af32fdd585f0e73dd248d68485bcf24fd | 946 | h | C | src/mt.h | faemiyah/faemiyah-demoscene_2009-08_4k-graphics_solitary_confinement | a489b95c49f95bf9fa821eac7b1a613ce765abaa | [
"BSD-3-Clause"
] | null | null | null | src/mt.h | faemiyah/faemiyah-demoscene_2009-08_4k-graphics_solitary_confinement | a489b95c49f95bf9fa821eac7b1a613ce765abaa | [
"BSD-3-Clause"
] | null | null | null | src/mt.h | faemiyah/faemiyah-demoscene_2009-08_4k-graphics_solitary_confinement | a489b95c49f95bf9fa821eac7b1a613ce765abaa | [
"BSD-3-Clause"
] | null | null | null | #ifndef _MERSEINNE_TWISTER
#define _MERSEINNE_TWISTER
/* initializes mt[N] with a seed */
void init_genrand(unsigned long s);
/* initialize by an array with array-length */
/* init_key is the array for initializing keys */
/* key_length is its length */
void init_by_array(unsigned long init_key[], int key_le... | 30.516129 | 66 | 0.719873 |
b85c6eb0ce05e2c04e600c90c2d5b15d8d003ce2 | 3,203 | h | C | CalendarLib/MGCEventsRowView.h | Android-iOS-App/Calendar | 63a5002f35f2f6ee24cb780b5fa1ed8d6b225ce5 | [
"MIT"
] | null | null | null | CalendarLib/MGCEventsRowView.h | Android-iOS-App/Calendar | 63a5002f35f2f6ee24cb780b5fa1ed8d6b225ce5 | [
"MIT"
] | null | null | null | CalendarLib/MGCEventsRowView.h | Android-iOS-App/Calendar | 63a5002f35f2f6ee24cb780b5fa1ed8d6b225ce5 | [
"MIT"
] | null | null | null | //
// MGCEventsRowView.h
// Graphical Calendars Library for iOS
//
// Distributed under the MIT License
// Get the latest version from here:
//
// https://github.com/SymonhayMoroz/Calendar
//
// Copyright (c) 2014-2015 iOS Developer.
//
// Permission is hereby granted, free of charge, to any person obtaining a co... | 42.706667 | 131 | 0.791446 |
f880f211c666d47a90a247a79d82e8f3b3f558ef | 1,812 | c | C | src/PMSMCurrentRef.c | lflaherty/evcontrol-lib | df2e6fdb492840ddc184fbe92b15eefb981a1582 | [
"Apache-2.0"
] | null | null | null | src/PMSMCurrentRef.c | lflaherty/evcontrol-lib | df2e6fdb492840ddc184fbe92b15eefb981a1582 | [
"Apache-2.0"
] | null | null | null | src/PMSMCurrentRef.c | lflaherty/evcontrol-lib | df2e6fdb492840ddc184fbe92b15eefb981a1582 | [
"Apache-2.0"
] | null | null | null | /**
* PMSMCurrentRef.c
*
* Created on: Nov 22 2021
* Author: Liam Flaherty
*/
#include "PMSMCurrentRef.h"
#include <math.h>
#include "constants.h"
#include "sat.h"
void PMSMCurrentRefInit(PMSMCurrentRef_T* currentRef)
{
currentRef->tqRef = 0.0f;
currentRef->wMech = 0.0f;
currentRef->wElec = ... | 32.945455 | 118 | 0.64128 |
0a23feef524213216f4efc2b60b5618c9dd7a840 | 4,572 | c | C | xdd-7.0.0.rc-ramses3/src/bx/bx_worker_queue.c | eunsungc/gt6-RAMSES_8_5 | 529b50245375855cffc7ab3feec45bee6dc48d2a | [
"Apache-2.0"
] | 1 | 2016-09-27T01:35:12.000Z | 2016-09-27T01:35:12.000Z | xdd-7.0.0.rc-ramses3/src/bx/bx_worker_queue.c | eunsungc/gt6-RAMSES_8_5 | 529b50245375855cffc7ab3feec45bee6dc48d2a | [
"Apache-2.0"
] | 10 | 2015-08-26T20:52:57.000Z | 2017-03-04T11:09:37.000Z | xdd-7.0.0.rc-ramses3/src/bx/bx_worker_queue.c | eunsungc/gt6-RAMSES_8_5 | 529b50245375855cffc7ab3feec45bee6dc48d2a | [
"Apache-2.0"
] | null | null | null | /*
* XDD - a data movement and benchmarking toolkit
*
* Copyright (C) 1992-2013 I/O Performance, Inc.
* Copyright (C) 2009-2013 UT-Battelle, LLC
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License version 2, as published by the Free Software
... | 30.891892 | 197 | 0.703193 |
20a79f5b1096451c4664458ebc77dfddec569c5d | 6,158 | h | C | LCMogoWeiboDemo/LCMogoWeiboDemo/BaseClass/CustomUI/LCBaseUI.h | InnerMongoliaZorro/MoGoWeiBo | f4d2de5e78825adaf8f7d300cbb222e0d0ff7302 | [
"Apache-2.0"
] | 3 | 2016-08-05T04:53:53.000Z | 2017-06-25T07:48:01.000Z | LCMogoWeiboDemo/LCMogoWeiboDemo/BaseClass/CustomUI/LCBaseUI.h | InnerMongoliaZorro/MoGoWeiBo | f4d2de5e78825adaf8f7d300cbb222e0d0ff7302 | [
"Apache-2.0"
] | null | null | null | LCMogoWeiboDemo/LCMogoWeiboDemo/BaseClass/CustomUI/LCBaseUI.h | InnerMongoliaZorro/MoGoWeiBo | f4d2de5e78825adaf8f7d300cbb222e0d0ff7302 | [
"Apache-2.0"
] | null | null | null | //
// LCBaseUI.h
// LCMogoWeiboDemo
//
// Created by 李策 on 16/4/24.
// Copyright © 2016年 李策. All rights reserved.
//
#ifndef LCBaseUI_h
#define LCBaseUI_h
#import "LCAlertView.h"
#import "LCView.h"
#import "LCLabel.h"
#import "LCButton.h"
#import "LCTableView.h"
#import "LCTableViewCell.h"
#import "LCPlaceholderTe... | 30.79 | 193 | 0.773303 |
7c3a3535f8709ad27fac071354b670ff85b8c2b0 | 1,481 | h | C | Battleships/Source/Core/Shader/FProgramableShader.h | RodrigoHolztrattner/Battleships | cf3e9c8a4a40f52aee41a7b9baaac5a406365a06 | [
"MIT"
] | null | null | null | Battleships/Source/Core/Shader/FProgramableShader.h | RodrigoHolztrattner/Battleships | cf3e9c8a4a40f52aee41a7b9baaac5a406365a06 | [
"MIT"
] | null | null | null | Battleships/Source/Core/Shader/FProgramableShader.h | RodrigoHolztrattner/Battleships | cf3e9c8a4a40f52aee41a7b9baaac5a406365a06 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Filename: FProgramableShader.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _FProgramableShader_H_
#define _FProgramableShader_H_
/////////////
// LINKING //
/////////////
//////////////
// ... | 21.779412 | 80 | 0.519919 |
09fab79c3be3c4a3b8a9bec8fa587c00838cf288 | 6,389 | h | C | llvm_propeller_node_chain.h | sfc-gh-zyang/autofdo | 73b2bdf5154d67918fdab8748a98049c82e05b1f | [
"Apache-2.0"
] | 344 | 2015-01-07T02:10:34.000Z | 2022-03-28T07:04:44.000Z | llvm_propeller_node_chain.h | sfc-gh-zyang/autofdo | 73b2bdf5154d67918fdab8748a98049c82e05b1f | [
"Apache-2.0"
] | 90 | 2015-04-21T11:14:03.000Z | 2022-03-28T22:36:20.000Z | llvm_propeller_node_chain.h | sfc-gh-zyang/autofdo | 73b2bdf5154d67918fdab8748a98049c82e05b1f | [
"Apache-2.0"
] | 90 | 2015-03-16T06:09:29.000Z | 2022-03-28T21:54:28.000Z | #ifndef AUTOFDO_LLVM_PROPELLER_NODE_CHAIN_H_
#define AUTOFDO_LLVM_PROPELLER_NODE_CHAIN_H_
#include <algorithm>
#include <iterator>
#include <list>
#include <map>
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "llvm_propeller_cfg.h"
#include "third_party/abseil/absl/cont... | 33.276042 | 80 | 0.696823 |
e59e1dccc29b54c2f3733e3244c2fcaf52d04ddc | 7,795 | h | C | src/GraphStream.h | Joey5460/ms-skim | f411e9cc854b60d7c9e6fae55a20e61473e7ee59 | [
"MIT"
] | 27 | 2016-04-13T22:26:26.000Z | 2022-03-14T03:08:11.000Z | src/GraphStream.h | Joey5460/ms-skim | f411e9cc854b60d7c9e6fae55a20e61473e7ee59 | [
"MIT"
] | 3 | 2017-04-28T09:10:15.000Z | 2021-04-08T03:45:20.000Z | src/GraphStream.h | Joey5460/ms-skim | f411e9cc854b60d7c9e6fae55a20e61473e7ee59 | [
"MIT"
] | 13 | 2016-06-03T13:04:15.000Z | 2020-11-05T22:49:02.000Z | /*
Algorithm for Influence Estimation and Maximization
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
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 re... | 28.87037 | 461 | 0.697242 |
bcdf1475e93cd7c051205cdb3e720f480a2c424d | 542 | h | C | PrivateFrameworks/GameCenterFoundation/GKTournamentEventListener-Protocol.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/GameCenterFoundation/GKTournamentEventListener-Protocol.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/GameCenterFoundation/GKTournamentEventListener-Protocol.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.
//
@class GKInvite, GKPlayer, GKTournament, GKTurnBasedMatch;
@protocol GKTournamentEventListener
@optional
- (void)localPlayerDidAcceptInviteTo:(GKTurnBasedMatch *)arg1 applicationD... | 31.882353 | 100 | 0.773063 |
7b569d6b94f36f9542784fc68617451d0e46acf2 | 2,167 | h | C | lua_script_instance.h | SamKDN/luascript | 133d661fd7ea390d7465faa2762f213c23ca5a21 | [
"Apache-2.0"
] | null | null | null | lua_script_instance.h | SamKDN/luascript | 133d661fd7ea390d7465faa2762f213c23ca5a21 | [
"Apache-2.0"
] | null | null | null | lua_script_instance.h | SamKDN/luascript | 133d661fd7ea390d7465faa2762f213c23ca5a21 | [
"Apache-2.0"
] | 1 | 2020-01-19T22:06:29.000Z | 2020-01-19T22:06:29.000Z | /*
* This file is part of LuaScript
* https://github.com/perbone/luascrip/
*
* Copyright 2017-2020 Paulo Perbone
*
* 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.apac... | 34.396825 | 119 | 0.777573 |
72de6d46c624983e5fcb12abe2292da15597b301 | 582 | h | C | pdp11_ram.h | rkhapov/pdp11 | 3e3f671d9d8e428c7191ed302f73099f15e15369 | [
"MIT"
] | null | null | null | pdp11_ram.h | rkhapov/pdp11 | 3e3f671d9d8e428c7191ed302f73099f15e15369 | [
"MIT"
] | null | null | null | pdp11_ram.h | rkhapov/pdp11 | 3e3f671d9d8e428c7191ed302f73099f15e15369 | [
"MIT"
] | null | null | null | #ifndef RAM_H
#define RAM_H
//classic PDP-11 ram
//dump is addeded to the abstract Ram
#include <iostream>
#include "abstr_cc_memory.h"
#include "pdp11_types.h"
namespace pdp11
{
class Ram: public abstr_cc::Ram<ubyte>
{
public:
Ram(std::size_t size):
abstr_cc::Ram<ubyte>(size)
... | 19.4 | 83 | 0.623711 |
8e379c2471a13fde564bdef3f549b4c1c4f512fa | 1,503 | h | C | src/host/time_bound_logger.h | caleteeter/CCF | d291a67fc1cccdbd19428a22dc0c876216039bd0 | [
"Apache-2.0"
] | null | null | null | src/host/time_bound_logger.h | caleteeter/CCF | d291a67fc1cccdbd19428a22dc0c876216039bd0 | [
"Apache-2.0"
] | 23 | 2021-11-08T07:23:47.000Z | 2022-01-17T18:49:33.000Z | src/host/time_bound_logger.h | caleteeter/CCF | d291a67fc1cccdbd19428a22dc0c876216039bd0 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#pragma once
#include "ds/logger.h"
#include <chrono>
#include <fmt/format.h>
#include <string>
namespace asynchost
{
struct TimeBoundLogger
{
using TClock = std::chrono::steady_clock;
static std::strin... | 25.474576 | 80 | 0.618097 |
fd63d9c2cfe6866f919da940b997ca12b8ade283 | 111,994 | c | C | libndarray/src/npy_ufunc_object.c | teoliphant/numpy-refactor | cf4ed821bac2d9545d4f3753755aa338ca58f353 | [
"BSD-3-Clause"
] | 3 | 2015-08-28T21:14:11.000Z | 2022-01-21T17:02:37.000Z | libndarray/src/npy_ufunc_object.c | teoliphant/numpy-refactor | cf4ed821bac2d9545d4f3753755aa338ca58f353 | [
"BSD-3-Clause"
] | null | null | null | libndarray/src/npy_ufunc_object.c | teoliphant/numpy-refactor | cf4ed821bac2d9545d4f3753755aa338ca58f353 | [
"BSD-3-Clause"
] | 2 | 2015-03-27T14:34:10.000Z | 2018-12-20T22:47:38.000Z | /*
* Python Universal Functions Object -- CPython-independent portion
*
*/
#include <stdlib.h>
#include <string.h>
#include <memory.h>
#include "npy_config.h"
#include "npy_common.h"
#include "npy_dict.h"
#include "npy_api.h"
#include "npy_arrayobject.h"
#include "npy_iterators.h"
#include "npy_ufunc_object.h"
#inc... | 32.613279 | 89 | 0.485446 |
76ca35df95e719d7591e5c7ea8aa0e3399a208ca | 2,069 | c | C | dist/linux/genometools/src/gth/dp_options_est.c | thmourikis/erv_annotator | 448b2dfc2972f9bf4e743df36fe0232813590fec | [
"MIT"
] | null | null | null | dist/linux/genometools/src/gth/dp_options_est.c | thmourikis/erv_annotator | 448b2dfc2972f9bf4e743df36fe0232813590fec | [
"MIT"
] | 1 | 2018-09-30T00:45:55.000Z | 2018-09-30T00:45:55.000Z | dist/linux/genometools/src/gth/dp_options_est.c | thmourikis/erv_annotator | 448b2dfc2972f9bf4e743df36fe0232813590fec | [
"MIT"
] | null | null | null | /*
Copyright (c) 2003-2009 Gordon Gremme <gremme@zbh.uni-hamburg.de>
Copyright (c) 2003-2008 Center for Bioinformatics, University of Hamburg
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this ... | 40.568627 | 80 | 0.809087 |
d3427e9104a50ebadc81b103cb09155b72605c2d | 1,357 | h | C | onnxruntime/core/providers/cpu/controlflow/utils.h | wintersteiger/onnxruntime | 071a0c2522dd2af2b1936d608ef7182be6cfa883 | [
"MIT"
] | 2 | 2019-11-18T14:04:42.000Z | 2019-12-04T12:49:01.000Z | onnxruntime/core/providers/cpu/controlflow/utils.h | wintersteiger/onnxruntime | 071a0c2522dd2af2b1936d608ef7182be6cfa883 | [
"MIT"
] | null | null | null | onnxruntime/core/providers/cpu/controlflow/utils.h | wintersteiger/onnxruntime | 071a0c2522dd2af2b1936d608ef7182be6cfa883 | [
"MIT"
] | 4 | 2021-06-05T19:52:22.000Z | 2021-11-30T13:58:13.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <string>
#include <vector>
#include "core/common/common.h"
#include "core/framework/feeds_fetches_manager.h"
namespace onnxruntime {
namespace controlflow {
namespace detail {
// helper to execute ... | 31.55814 | 119 | 0.753132 |
ee73de301890a486a23b975a85b4528adddd13cd | 478 | h | C | SmallPetsHealthcare/B_HX711.h | mihotoyama/doingio-small-pets-healthcare | 94f88e8ce10265a022cbc2c75554b9819f335cc6 | [
"Apache-2.0"
] | 6 | 2020-09-26T02:31:46.000Z | 2022-03-17T07:20:08.000Z | SmallPetsHealthcare/B_HX711.h | mihotoyama/doingio-small-pets-healthcare | 94f88e8ce10265a022cbc2c75554b9819f335cc6 | [
"Apache-2.0"
] | 1 | 2020-10-06T07:20:34.000Z | 2020-10-06T07:20:34.000Z | SmallPetsHealthcare/B_HX711.h | mihotoyama/doingio-small-pets-healthcare | 94f88e8ce10265a022cbc2c75554b9819f335cc6 | [
"Apache-2.0"
] | 3 | 2020-10-02T16:04:24.000Z | 2021-12-11T00:16:53.000Z | #include "Arduino.h"
#ifndef __B_HX711_H
#define __B_HX711_H
class B_HX711 {
private:
void Init();
void Reset();
long Read();
long Averaging(char NUM);
int DOUT_PIN;
int SLK_PIN;
float OUT_VOL = 0.001f;
float LOAD = 1000.0f;
float CALIB = 1.18;//1kg
public:
voi... | 17.071429 | 87 | 0.627615 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.