hexsha stringlengths 40 40 | size int64 5 2.72M | ext stringclasses 5
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 976 | max_stars_repo_name stringlengths 5 113 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:01:43 2022-03-31 23:59:48 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 00:06:24 2022-03-31 23:59:53 ⌀ | max_issues_repo_path stringlengths 3 976 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 976 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:19 2022-03-31 23:59:49 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 12:00:57 2022-03-31 23:59:49 ⌀ | content stringlengths 5 2.72M | avg_line_length float64 1.38 573k | max_line_length int64 2 1.01M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
281186489d1bd90f49e66dd6fd3bb73d6c3c1706 | 2,581 | h | C | Spektrum.h | devangel77b/Spektrum | 2565d07fe8883036111bc6ada75db79bac393417 | [
"Apache-2.0"
] | null | null | null | Spektrum.h | devangel77b/Spektrum | 2565d07fe8883036111bc6ada75db79bac393417 | [
"Apache-2.0"
] | 2 | 2018-11-15T16:08:50.000Z | 2018-11-15T20:34:09.000Z | Spektrum.h | devangel77b/Spektrum | 2565d07fe8883036111bc6ada75db79bac393417 | [
"Apache-2.0"
] | null | null | null | /*
Spektrum.h
Spektrum serial receiver mbed library
Dennis Evangelista, 2018
*/
#ifndef SPEKTRUM_H
#define SPEKTRUM_H
#define SPEKTRUM_VERSION "1.0.1"
#include "mbed.h"
#include "rtos.h"
// bind modes
#define SPEKTRUM_INT_DSMX_22MS 7
#define SPEKTRUM_EXT_DSMX_22MS 8
#define SPEKTRUM_INT_DSMX_11MS 9
#define SPE... | 22.443478 | 74 | 0.752422 |
28121cca06659136658ddd31aa1e97b16758ba22 | 11,072 | h | C | dcerpc/ncklib/cnassm.h | kbore/pbis-open | a05eb9309269b6402b4d6659bc45961986ea5eab | [
"Apache-2.0"
] | 372 | 2016-10-28T10:50:35.000Z | 2022-03-18T19:54:37.000Z | dcerpc/ncklib/cnassm.h | kbore/pbis-open | a05eb9309269b6402b4d6659bc45961986ea5eab | [
"Apache-2.0"
] | 317 | 2016-11-02T17:41:48.000Z | 2021-11-08T20:28:19.000Z | dcerpc/ncklib/cnassm.h | kenferrara/pbis-open | 690c325d947b2bf6fb3032f9d660e41b94aea4be | [
"Apache-2.0"
] | 107 | 2016-11-03T19:25:16.000Z | 2022-03-20T21:15:22.000Z | /*
*
* (c) Copyright 1989 OPEN SOFTWARE FOUNDATION, INC.
* (c) Copyright 1989 HEWLETT-PACKARD COMPANY
* (c) Copyright 1989 DIGITAL EQUIPMENT CORPORATION
* To anyone who acknowledges that this file is provided "AS IS"
* without any express or implied warranty:
* permission to use, copy, modify, a... | 35.261146 | 109 | 0.593569 |
2817dd6434b3226f99b2ad63fb01156a773e622b | 2,262 | h | C | drawingWorkshop/pitchDrawing/src/aubio/include/aubio/pitchyinfft.h | ofZach/VAW_workshop | 0a0adab37bfd9f5cfbdb3f5eaf4cb255e8997f4d | [
"MIT"
] | 19 | 2015-02-06T16:23:23.000Z | 2021-06-23T07:56:36.000Z | clientApp/src/aubio/include/aubio/pitchyinfft.h | HellicarAndLewis/DiaghilevMask | 73fdf6c1ac2ab5e7c7f6764d49d1f9cb6e87093e | [
"MIT"
] | 1 | 2017-02-11T17:28:03.000Z | 2017-02-11T17:28:03.000Z | clientApp/src/aubio/include/aubio/pitchyinfft.h | HellicarAndLewis/DiaghilevMask | 73fdf6c1ac2ab5e7c7f6764d49d1f9cb6e87093e | [
"MIT"
] | 5 | 2015-11-25T06:33:09.000Z | 2019-03-16T11:19:06.000Z | /*
Copyright (C) 2003 Paul Brossier
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 distribu... | 32.314286 | 85 | 0.76481 |
28183530366217ff4677b4def0e003faa1699f8d | 292 | h | C | LearningRoad/LearningRoad/Custom/HLTabbarViewController/HLTabbarController.h | zhanghuilin37/HLLearningRoad | 170d3b0707c0038550ca29dc7ca997ff5f36822e | [
"MIT"
] | null | null | null | LearningRoad/LearningRoad/Custom/HLTabbarViewController/HLTabbarController.h | zhanghuilin37/HLLearningRoad | 170d3b0707c0038550ca29dc7ca997ff5f36822e | [
"MIT"
] | null | null | null | LearningRoad/LearningRoad/Custom/HLTabbarViewController/HLTabbarController.h | zhanghuilin37/HLLearningRoad | 170d3b0707c0038550ca29dc7ca997ff5f36822e | [
"MIT"
] | 1 | 2018-08-10T08:35:20.000Z | 2018-08-10T08:35:20.000Z | //
// HLTabbarController.h
// HLTabbarDemo
//
// Created by Zhl on 2017/3/3.
// Copyright © 2017年 LearningRoad. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "HLTabbar.h"
@interface HLTabbarController : UITabBarController
@property (nonatomic,strong) HLTabbar *hlTabBar;
@end
| 19.466667 | 56 | 0.729452 |
2818a20561d5760ea91d5f0b24e8c111d1d49994 | 11,149 | c | C | gg-utils.c | hkjn/greygoo | 89b1fb3af7a5ad3df21c289de61b76d21c77bd82 | [
"Apache-2.0"
] | 7 | 2015-10-22T23:48:26.000Z | 2022-03-15T05:00:51.000Z | gg-utils.c | hkjn/greygoo | 89b1fb3af7a5ad3df21c289de61b76d21c77bd82 | [
"Apache-2.0"
] | null | null | null | gg-utils.c | hkjn/greygoo | 89b1fb3af7a5ad3df21c289de61b76d21c77bd82 | [
"Apache-2.0"
] | 1 | 2016-09-07T18:40:57.000Z | 2016-09-07T18:40:57.000Z | /* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 24.396061 | 78 | 0.650731 |
281d5ec7b614dbcf5cf1c7ab360cf505eeec5e20 | 1,343 | h | C | src/common/media/image.h | Tatrabbit/trance | 9f0a9c21a079da2e376857138591593a9cff5a21 | [
"WTFPL"
] | 37 | 2015-02-19T02:36:26.000Z | 2021-10-05T22:06:17.000Z | src/common/media/image.h | Tatrabbit/trance | 9f0a9c21a079da2e376857138591593a9cff5a21 | [
"WTFPL"
] | 21 | 2015-07-14T13:07:14.000Z | 2019-10-17T15:30:32.000Z | src/common/media/image.h | Tatrabbit/trance | 9f0a9c21a079da2e376857138591593a9cff5a21 | [
"WTFPL"
] | 20 | 2016-08-18T11:11:47.000Z | 2022-03-05T20:58:00.000Z | #ifndef TRANCE_SRC_COMMON_MEDIA_IMAGE_H
#define TRANCE_SRC_COMMON_MEDIA_IMAGE_H
#include <memory>
#include <mutex>
#include <vector>
namespace sf
{
class Image;
}
struct vpx_image;
// In-memory image with load-on-request OpenGL texture which is ref-counted
// and automatically unloaded once no longer used.
class Im... | 23.561404 | 75 | 0.741623 |
281de038520736b26f3061fcce88c170e4036097 | 4,875 | h | C | code/include/atk_audio.h | Gentil-N/arcade-toolkit | 6a6a6d11d01e501cd09a53be0ca575068521976c | [
"MIT"
] | null | null | null | code/include/atk_audio.h | Gentil-N/arcade-toolkit | 6a6a6d11d01e501cd09a53be0ca575068521976c | [
"MIT"
] | null | null | null | code/include/atk_audio.h | Gentil-N/arcade-toolkit | 6a6a6d11d01e501cd09a53be0ca575068521976c | [
"MIT"
] | null | null | null | #ifndef __AUDIO_H__
#define __AUDIO_H__
#ifndef __ATK_H__
#include "atk_core.h"
#endif //__ATK_H__
#ifdef __cplusplus
extern "C"
{
#endif //__cplusplus
ATK_API bool adiInit();
ATK_API void adiEnd();
typedef enum AdiAttenuationType
{
ADI_ATT_TYPE_LINEAR = 0xD003,
... | 27.698864 | 118 | 0.577436 |
281e23ceb8fab6cabbde1b17c6c2962f8045a6db | 433 | h | C | ProgrammableCalculator/Expressions/AssignmentExpression.h | gmenchetti/Object_Oriented_Class_Projects | fee02e4247b1ef8a44e8d5b0cc6febbd18611e8d | [
"MIT"
] | 3 | 2019-11-19T20:47:31.000Z | 2019-12-05T04:25:28.000Z | ProgrammableCalculator/Expressions/AssignmentExpression.h | gmenchetti/Object_Oriented_Class_Projects | fee02e4247b1ef8a44e8d5b0cc6febbd18611e8d | [
"MIT"
] | null | null | null | ProgrammableCalculator/Expressions/AssignmentExpression.h | gmenchetti/Object_Oriented_Class_Projects | fee02e4247b1ef8a44e8d5b0cc6febbd18611e8d | [
"MIT"
] | null | null | null | //
// Created by Guglielmo Menchetti on 27/11/2018.
//
#ifndef HW5_ASSIGNMENTEXPRESSION_H
#define HW5_ASSIGNMENTEXPRESSION_H
#include "Expression.h"
class AssignmentExpression : Expression {
public:
AssignmentExpression(RegisterCounter& rc, std::string& rec, double val);
void execute();
std::string getI... | 18.041667 | 76 | 0.743649 |
2820577352b98feac8ad17afbc0bf1dac4cbb6d5 | 1,170 | c | C | lib/sndkit/dsp/sparse.c | PaulBatchelor/mnolth | 4b9f315f0062212ef96b41153e089dea61c6d16d | [
"MIT"
] | 2 | 2022-01-11T07:00:40.000Z | 2022-01-11T07:00:43.000Z | lib/sndkit/dsp/sparse.c | PaulBatchelor/mnolth | 4b9f315f0062212ef96b41153e089dea61c6d16d | [
"MIT"
] | null | null | null | lib/sndkit/dsp/sparse.c | PaulBatchelor/mnolth | 4b9f315f0062212ef96b41153e089dea61c6d16d | [
"MIT"
] | null | null | null | #line 45 "sparse.org"
#define SK_SPARSE_PRIV
#include "sparse.h"
#line 152 "sparse.org"
static SKFLT randval(sk_sparse *sp);
#line 45 "sparse.org"
#line 75 "sparse.org"
void sk_sparse_init(sk_sparse *sp, int sr, unsigned long seed)
{
sp->sr = sr;
#line 97 "sparse.org"
sk_sparse_freq(sp, 30); /* arbitrary positive v... | 20.892857 | 62 | 0.647009 |
282335fbd69235c5f44dc6ac92b2e8898481836d | 7,559 | h | C | cpp/apps/OrbitalWar/SpaceCraft.h | Aki78/FlightAI | 9c5480f2392c9c89b9fee4902db0c4cde5323a6c | [
"MIT"
] | 1 | 2019-02-15T08:31:59.000Z | 2019-02-15T08:31:59.000Z | cpp/apps/OrbitalWar/SpaceCraft.h | Aki78/FlightAI | 9c5480f2392c9c89b9fee4902db0c4cde5323a6c | [
"MIT"
] | null | null | null | cpp/apps/OrbitalWar/SpaceCraft.h | Aki78/FlightAI | 9c5480f2392c9c89b9fee4902db0c4cde5323a6c | [
"MIT"
] | null | null | null |
#ifndef SpaceCraft_h
#define SpaceCraft_h
#include <vector>
#include "Vec2.h"
#include "Vec3.h"
#include "Mat3.h"
#include "quaternion.h"
#include "geom3D.h"
namespace SpaceCrafting{
const int NAME_LEN = 16;
class BodyPose{ public:
Vec3d pos;
Mat3d rot;
//Quat4d rot;
};
/*
//class BBox : public ... | 23.258462 | 168 | 0.60127 |
282839e8c9918e05c2294fa81f926ceffaa34b65 | 1,350 | h | C | src/Lethe/Core/Sys/Assert.h | killvxk/lethe | c1a9bb45063f5148dc6cf681ce907dcbb468f5e6 | [
"BSL-1.0"
] | 9 | 2020-03-08T14:54:49.000Z | 2021-12-22T22:52:04.000Z | src/Lethe/Core/Sys/Assert.h | kmar/lethe | 78259f56e7eb887dcd470bd7d988df0b153bca43 | [
"BSL-1.0"
] | null | null | null | src/Lethe/Core/Sys/Assert.h | kmar/lethe | 78259f56e7eb887dcd470bd7d988df0b153bca43 | [
"BSL-1.0"
] | 3 | 2020-03-09T08:24:40.000Z | 2020-03-09T14:04:23.000Z | #pragma once
#include "../Common.h"
#include "Likely.h"
#if LETHE_DEBUG
# include <cassert>
#endif
// compile-time assert
#define LETHE_COMPILE_ASSERT(cond) do { struct CompileTimeAssert { char arr[(cond) ? 1 : -1]; } tmp_; tmp_.arr[0]=0;(void)tmp_; } while(false)
// runtime assert (even in release)
#define LETHE_R... | 25.961538 | 142 | 0.724444 |
2829a039a0547f9eb5742b0df77e382d03bfb95d | 217 | h | C | Afterburner/Afterburner/ViewController.h | lele0108/afterburner | 2baf84b955c28af4c76a4da5d336a927a718e5f0 | [
"MIT"
] | null | null | null | Afterburner/Afterburner/ViewController.h | lele0108/afterburner | 2baf84b955c28af4c76a4da5d336a927a718e5f0 | [
"MIT"
] | null | null | null | Afterburner/Afterburner/ViewController.h | lele0108/afterburner | 2baf84b955c28af4c76a4da5d336a927a718e5f0 | [
"MIT"
] | null | null | null | //
// ViewController.h
// Afterburner
//
// Created by Jimmy Liu on 12/29/14.
// Copyright (c) 2014 jimmyliu. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 13.5625 | 53 | 0.686636 |
282a730ee7e42700c9e0828239530088ec62715d | 1,910 | h | C | libpandabase/utils/type_helpers.h | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-09T03:17:23.000Z | 2021-09-09T03:17:23.000Z | libpandabase/utils/type_helpers.h | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | null | null | null | libpandabase/utils/type_helpers.h | openharmony-gitee-mirror/ark_runtime_core | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:21:57.000Z | 2021-09-13T11:21:57.000Z | /*
* Copyright (c) 2021 Huawei Device Co., 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 applicable law or a... | 26.901408 | 75 | 0.71623 |
282c6aec8194d75fb46e65cc2aeea287deb6c1f1 | 207 | h | C | GDDataDrivenView/Classes/Service/GDDLocalRpc.h | isabella232/GDDataDrivenView | 778a146519c77c7d013c687084c7ee81a242107f | [
"MIT"
] | 12 | 2016-07-10T02:06:36.000Z | 2021-02-04T09:41:50.000Z | GDDataDrivenView/Classes/Service/GDDLocalRpc.h | isabella232/GDDataDrivenView | 778a146519c77c7d013c687084c7ee81a242107f | [
"MIT"
] | 1 | 2018-01-16T09:47:38.000Z | 2018-01-16T10:51:49.000Z | GDDataDrivenView/Classes/Service/GDDLocalRpc.h | isabella232/GDDataDrivenView | 778a146519c77c7d013c687084c7ee81a242107f | [
"MIT"
] | 6 | 2016-09-03T03:03:39.000Z | 2022-03-26T08:59:28.000Z | #import "GDDRpc.h"
@interface GDDLocalRpc<__covariant ObjectType> : NSObject <GDDRpc>
- (GDDLocalRpc<ObjectType> *(^)(ObjectType result))result;
- (GDDLocalRpc<ObjectType> *(^)(NSError *error))error;
@end | 25.875 | 66 | 0.7343 |
282f7d8470f04b89dbb4e170f11ffa8cf3aff0b9 | 408 | h | C | PhysicsEngine/include/Colliders/SphereColliderComponent.h | maxbrundev/OpenGL-Modern-ECS-GameEngine | 9924bacb35e20cd76b68ae79c6cf40a1b34ec4c0 | [
"MIT"
] | 2 | 2020-09-28T18:54:50.000Z | 2020-11-21T19:20:54.000Z | PhysicsEngine/include/Colliders/SphereColliderComponent.h | maxbrundev/OpenGL-Modern-ECS-GameEngine | 9924bacb35e20cd76b68ae79c6cf40a1b34ec4c0 | [
"MIT"
] | null | null | null | PhysicsEngine/include/Colliders/SphereColliderComponent.h | maxbrundev/OpenGL-Modern-ECS-GameEngine | 9924bacb35e20cd76b68ae79c6cf40a1b34ec4c0 | [
"MIT"
] | 2 | 2019-04-07T19:11:00.000Z | 2019-12-03T13:05:07.000Z | #pragma once
#include "Colliders/ACollider.h"
namespace Physics
{
namespace Collision
{
class PHYSICS_API SphereColliderComponent : public ACollider, public ECS::Component<SphereColliderComponent>
{
public:
SphereColliderComponent(COMPONENT_INIT_PARAMS, float p_radius, const Core::Transform& p_t... | 21.473684 | 111 | 0.732843 |
282fbf79bf5bef9ea91e1669f1b0f8dcd8093231 | 1,391 | h | C | Tool/kvscheck/SupportChecker.h | GoTamura/KVS | 121ede0b9b81da56e9ea698a45ccfd71ff64ed41 | [
"BSD-3-Clause"
] | null | null | null | Tool/kvscheck/SupportChecker.h | GoTamura/KVS | 121ede0b9b81da56e9ea698a45ccfd71ff64ed41 | [
"BSD-3-Clause"
] | null | null | null | Tool/kvscheck/SupportChecker.h | GoTamura/KVS | 121ede0b9b81da56e9ea698a45ccfd71ff64ed41 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************/
/**
* @file SupportChecker.h
*/
/*----------------------------------------------------------------------------
*
* Copyright (c) Visualization Laboratory, Kyoto University.
* All rights reserved.
* See http://www.viz.media.kyoto-u.... | 28.387755 | 89 | 0.51977 |
28344a2f9b23ea9a409e0953c6beb6d86221af17 | 1,295 | h | C | include/Engine/Render/Mesh/Mesh.h | SamCZ/NovaEngine | 7f667988467ab611018f650295825b63c97e8d43 | [
"MIT"
] | 2 | 2021-04-18T06:40:19.000Z | 2021-06-29T23:35:31.000Z | include/Engine/Render/Mesh/Mesh.h | SamCZ/NovaEngine | 7f667988467ab611018f650295825b63c97e8d43 | [
"MIT"
] | null | null | null | include/Engine/Render/Mesh/Mesh.h | SamCZ/NovaEngine | 7f667988467ab611018f650295825b63c97e8d43 | [
"MIT"
] | null | null | null | #ifndef MESH_H
#define MESH_H
#include <map>
#include "Engine/Render/Mesh/VertexBuffer.h"
namespace NovaEngine {
class BoundingBox;
class BIHTree;
enum class Mode : GLenum {
Triangles = GL_TRIANGLES,
Quads = GL_QUADS,
TriangleTrip = GL_TRIANGLE_STRIP,
TriangleFan = GL_TRIANGLE_FAN,
Lines = GL_LINES,
P... | 20.887097 | 70 | 0.73668 |
2837436d105c39b0090f9b1e74d39d1d0a4c006d | 168 | h | C | error.h | zhangboyang/fdu_xk_oldsystem | 2e57b865398d67420ed87fb182eabf43ca61a2c9 | [
"MIT"
] | null | null | null | error.h | zhangboyang/fdu_xk_oldsystem | 2e57b865398d67420ed87fb182eabf43ca61a2c9 | [
"MIT"
] | null | null | null | error.h | zhangboyang/fdu_xk_oldsystem | 2e57b865398d67420ed87fb182eabf43ca61a2c9 | [
"MIT"
] | null | null | null | #ifndef XK_ERROR_H
#define XK_ERROR_H
#include "xk.h"
#define XK_ERROR_MAXLINE 4096
void err_sys(const char *fmt, ...);
void err_quit(const char *fmt, ...);
#endif
| 14 | 36 | 0.714286 |
2839fcb06d0af977ca711d9f2b26c6e4754d801f | 796 | h | C | Spirmark/SpirmarkApp.h | codingoat/Spirmark | f613441063410a8fd89ae718785285a5cea32c00 | [
"MIT"
] | 1 | 2022-03-17T20:50:46.000Z | 2022-03-17T20:50:46.000Z | Spirmark/SpirmarkApp.h | codingoat/Spirmark | f613441063410a8fd89ae718785285a5cea32c00 | [
"MIT"
] | null | null | null | Spirmark/SpirmarkApp.h | codingoat/Spirmark | f613441063410a8fd89ae718785285a5cea32c00 | [
"MIT"
] | 1 | 2021-09-14T09:22:27.000Z | 2021-09-14T09:22:27.000Z | #pragma once
// Helpers
#include <ProgramObject.h>
#include <Bencher.h>
#include <ShaderToySource.h>
#include <SpirverAstAnalyzer.h>
#include <BenchmarkedShaderResult.h>
// Spirmark components
#include <SpirmarkCore.h>
#include <SpirmarkUI.h>
#include <imgui/imgui.h>
#include <filesystem>
namespace ... | 18.090909 | 40 | 0.714824 |
283adc045acaa0b8d1d751940d42e0c6627276c7 | 718 | h | C | digitalCurrency/Controllers/我的/model/AboutUSModel.h | CoderWeiLee/digitalCurrenc | 7feaac2306d756f264efa9d67231df13b3bd0125 | [
"Apache-2.0"
] | null | null | null | digitalCurrency/Controllers/我的/model/AboutUSModel.h | CoderWeiLee/digitalCurrenc | 7feaac2306d756f264efa9d67231df13b3bd0125 | [
"Apache-2.0"
] | null | null | null | digitalCurrency/Controllers/我的/model/AboutUSModel.h | CoderWeiLee/digitalCurrenc | 7feaac2306d756f264efa9d67231df13b3bd0125 | [
"Apache-2.0"
] | null | null | null | //
// AboutUSModel.h
// digitalCurrency
//
// Created by iDog on 2019/3/21.
// Copyright © 2019年 ABC. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface AboutUSModel : NSObject
@property(nonatomic,copy)NSString *ID;
@property(nonatomic,copy)NSString *name;
@property(nonatomic,copy... | 28.72 | 53 | 0.754875 |
283e74840da30cadc118ffe06704be9ed58ef0bd | 752 | h | C | TYModuleServices/Classes/BusinessServiceProtocol/TYTimerProtocol.h | TuyaInc/TYModuleServices | 42bc0c59c81d3bfc50ce148d88d7f238794ef0ef | [
"MIT"
] | null | null | null | TYModuleServices/Classes/BusinessServiceProtocol/TYTimerProtocol.h | TuyaInc/TYModuleServices | 42bc0c59c81d3bfc50ce148d88d7f238794ef0ef | [
"MIT"
] | null | null | null | TYModuleServices/Classes/BusinessServiceProtocol/TYTimerProtocol.h | TuyaInc/TYModuleServices | 42bc0c59c81d3bfc50ce148d88d7f238794ef0ef | [
"MIT"
] | null | null | null | //
// TYTimerProtocol.h
// TYTimerModule
//
// Created by 黄凯 on 2018/7/23.
//
#ifndef TYTimerProtocol_h
#define TYTimerProtocol_h
// 设备预约时间变化
#define KNotificationLinkageTimeUpdate @"KNotificationLinkageTimeUpdate"
@protocol TYTimerProtocol <NSObject>
/**
老版定时入口,Wi-Fi 定时
需要参数为:
{
"gwid" : "xxx",
"... | 15.666667 | 76 | 0.635638 |
28439eae7fe5ea72a6935641011af57a8fb4c599 | 235 | h | C | LazyThemeDemo/LazyThemeDemo/DiscoveryViewController.h | Rannie/LazyTheme | 2cad1bd53a7cabf42c9b8f5cfb2d7db283604ee8 | [
"MIT"
] | 2 | 2016-10-03T08:35:11.000Z | 2019-06-27T17:11:02.000Z | LazyThemeDemo/LazyThemeDemo/DiscoveryViewController.h | Rannie/LazyTheme | 2cad1bd53a7cabf42c9b8f5cfb2d7db283604ee8 | [
"MIT"
] | null | null | null | LazyThemeDemo/LazyThemeDemo/DiscoveryViewController.h | Rannie/LazyTheme | 2cad1bd53a7cabf42c9b8f5cfb2d7db283604ee8 | [
"MIT"
] | null | null | null | //
// DiscoveryViewController.h
// LazyThemeDemo
//
// Created by QiXin on 2016/10/21.
// Copyright © 2016年 rannie. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DiscoveryViewController : UITableViewController
@end
| 16.785714 | 58 | 0.72766 |
284befbfec3967146dd07252092af26ea015b4da | 610 | h | C | EnterPriseIn/EnterPriseIn/ViewController/MainPage/Subviews/BusinessListCell.h | flysss1219/ENAutoHome | fc857bb445a52ee92f925988f3fc81d06a505b33 | [
"Apache-2.0"
] | null | null | null | EnterPriseIn/EnterPriseIn/ViewController/MainPage/Subviews/BusinessListCell.h | flysss1219/ENAutoHome | fc857bb445a52ee92f925988f3fc81d06a505b33 | [
"Apache-2.0"
] | null | null | null | EnterPriseIn/EnterPriseIn/ViewController/MainPage/Subviews/BusinessListCell.h | flysss1219/ENAutoHome | fc857bb445a52ee92f925988f3fc81d06a505b33 | [
"Apache-2.0"
] | null | null | null | //
// BusinessListCell.h
// EnterPriseIn
//
// Created by iOSDev on 2018/6/22.
// Copyright © 2018年 com.shun. All rights reserved.
//
#import <UIKit/UIKit.h>
@class EnterpriseInfoModel;
@interface BusinessListCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, no... | 19.677419 | 65 | 0.755738 |
284d1f3619198338c41fcf1ef66d109dad614a29 | 779 | h | C | test/dump/swdbgbk_src/chap27/D4D/FastTracer.h | oudream/ccxx | 7746ef93b48bf44157048a43c4878152fe6a4d2b | [
"MIT"
] | 39 | 2015-12-09T09:28:46.000Z | 2021-11-16T12:57:25.000Z | test/dump/swdbgbk_src/chap27/D4D/FastTracer.h | oudream/ccxx | 7746ef93b48bf44157048a43c4878152fe6a4d2b | [
"MIT"
] | 1 | 2020-10-17T02:23:42.000Z | 2020-10-17T02:23:42.000Z | test/dump/swdbgbk_src/chap27/D4D/FastTracer.h | oudream/ccxx | 7746ef93b48bf44157048a43c4878152fe6a4d2b | [
"MIT"
] | 8 | 2018-05-29T12:48:13.000Z | 2022-02-27T01:45:57.000Z | // FastTracer.h: interface for the CFastTracer class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FASTTRACER_H__FB7E24E8_447A_41CE_A3C2_C918096834E2__INCLUDED_)
#define AFX_FASTTRACER_H__FB7E24E8_447A_41CE_A3C2_C918096834E2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#en... | 27.821429 | 85 | 0.739409 |
284dffa4823c2dd81a00ec1b585f7771adf67a31 | 2,474 | c | C | pocketsphinx/visualdsp/pocketsphinx_continuous/bf561sphinx_heaptab.c | ejuacel/pocketsphinx.js | 6826d08122063d261478ac39a5c7ef9a88f23106 | [
"Unlicense",
"MIT-CMU",
"MIT"
] | 1 | 2016-05-26T03:32:42.000Z | 2016-05-26T03:32:42.000Z | pocketsphinx/visualdsp/pocketsphinx_continuous/bf561sphinx_heaptab.c | ejuacel/pocketsphinx.js | 6826d08122063d261478ac39a5c7ef9a88f23106 | [
"Unlicense",
"MIT-CMU",
"MIT"
] | null | null | null | pocketsphinx/visualdsp/pocketsphinx_continuous/bf561sphinx_heaptab.c | ejuacel/pocketsphinx.js | 6826d08122063d261478ac39a5c7ef9a88f23106 | [
"Unlicense",
"MIT-CMU",
"MIT"
] | null | null | null | /* MANAGED-BY-SYSTEM-BUILDER */
/*
** User heap source file generated on Feb 22, 2008 at 17:31:53.
**
** Copyright (C) 2000-2006 Analog Devices Inc., All Rights Reserved.
**
** This file is generated automatically based upon the options selected
** in the LDF Wizard. Changes to the L... | 34.361111 | 123 | 0.50768 |
284e1106328b8a821f7e00f72a0e0a4aa93f70a2 | 295 | h | C | Fonts/NSString+RegEx.h | ffried/system-fonts | a13e1ebc7d10285598b1b18ce18b47ed5cfd5fbd | [
"Apache-2.0"
] | null | null | null | Fonts/NSString+RegEx.h | ffried/system-fonts | a13e1ebc7d10285598b1b18ce18b47ed5cfd5fbd | [
"Apache-2.0"
] | null | null | null | Fonts/NSString+RegEx.h | ffried/system-fonts | a13e1ebc7d10285598b1b18ce18b47ed5cfd5fbd | [
"Apache-2.0"
] | null | null | null | //
// NSString+RegEx.h
// Fonts
//
// Created by Florian Friedrich on 08.04.14.
// Copyright (c) 2014 Florian Friedrich. All rights reserved.
//
@import Foundation;
@interface NSString (RegEx)
- (BOOL)matchesPattern:(NSString *)pattern;
- (BOOL)containsPattern:(NSString *)pattern;
@end
| 17.352941 | 62 | 0.701695 |
284f11a8af85d4edb39522e0366200791a69b024 | 5,342 | c | C | engines/native_x86.c | enferex/asrepl | d0945a11c3f826f1f1e34bd93c681481fec1af5a | [
"BSD-3-Clause"
] | 59 | 2017-02-20T00:57:23.000Z | 2021-11-30T20:32:03.000Z | engines/native_x86.c | enferex/asrepl | d0945a11c3f826f1f1e34bd93c681481fec1af5a | [
"BSD-3-Clause"
] | 4 | 2017-02-20T05:43:24.000Z | 2017-04-10T04:18:27.000Z | engines/native_x86.c | enferex/asrepl | d0945a11c3f826f1f1e34bd93c681481fec1af5a | [
"BSD-3-Clause"
] | 3 | 2017-02-20T04:30:43.000Z | 2020-07-13T00:45:08.000Z | #include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/user.h>
#include <sys/wait.h>
#include <sys/ptrace.h>
#include <errno.h>
#include "../asrepl.h"
#include "common.h"
static void get_registers(pid_t pid, struct user_... | 30.180791 | 79 | 0.59678 |
284f382f95704c74bdc0e88cd3ac665bd090b8d9 | 125,029 | c | C | source/blender/blenkernel/intern/particle_system.c | wycivil08/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 30 | 2015-01-29T14:06:05.000Z | 2022-01-10T07:47:29.000Z | source/blender/blenkernel/intern/particle_system.c | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 1 | 2017-02-20T20:57:48.000Z | 2018-12-19T23:44:38.000Z | source/blender/blenkernel/intern/particle_system.c | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 15 | 2015-04-23T02:38:36.000Z | 2021-03-01T20:09:39.000Z | /*
* $Id: particle_system.c 41020 2011-10-15 01:42:26Z jhk $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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, ... | 27.945686 | 219 | 0.652553 |
28500a05d1902c9111712029248a79422dd9b2cf | 1,839 | h | C | of_v0.11.2_vs2017/apps/CLC-LC/src/ParticleSystem/ForceField.h | lexvandersluijs/clc_laser | 25fbc8f9a2654d8a4ef253b5ab4c711d8d8876b9 | [
"MIT"
] | 1 | 2021-11-06T22:07:36.000Z | 2021-11-06T22:07:36.000Z | Easter2014/src/ParticleSystem/ForceField.h | lexvandersluijs/clc | 0ff940b32c24642f9b443748b95964bf6263ed44 | [
"MIT"
] | null | null | null | Easter2014/src/ParticleSystem/ForceField.h | lexvandersluijs/clc | 0ff940b32c24642f9b443748b95964bf6263ed44 | [
"MIT"
] | null | null | null | namespace ParticleSystem
{
static const float EPSILON = 0.0001f;
class ForceField
{
protected:
public:
// function that computes the new position and speed of a particle based on its current state
// for a forcefield, the current position is the most important
ForceField()
{
}
virtual ofVec2f ComputeForce(P... | 19.357895 | 94 | 0.690049 |
285318b764bdc65f67e8ed1755fddb7a8993f9fb | 892 | h | C | csvfix/inc/csved_check.h | moissinac/csvfix | 06cd5638e3a3bb0049fb7138c72211aef972c8d4 | [
"MIT"
] | 4 | 2022-01-25T15:54:29.000Z | 2022-03-18T21:32:16.000Z | csvfix/inc/csved_check.h | moissinac/csvfix | 06cd5638e3a3bb0049fb7138c72211aef972c8d4 | [
"MIT"
] | 1 | 2020-11-23T20:19:38.000Z | 2021-04-10T15:05:39.000Z | csvfix/inc/csved_check.h | moissinac/csvfix | 06cd5638e3a3bb0049fb7138c72211aef972c8d4 | [
"MIT"
] | 5 | 2021-12-14T05:42:52.000Z | 2022-03-11T04:23:47.000Z | //---------------------------------------------------------------------------
// csved_check.h
//
// check CSV records actually are CSV
//
// Copyright (C) 2011 Neil Butterworth
//---------------------------------------------------------------------------
#ifndef INC_CSVED_CHECK_H
#define INC_CSVED_CHECK_H
... | 20.744186 | 78 | 0.421525 |
285342ad68353b646766672557e8bbe72c74276e | 367 | h | C | EZLayout/UIView+EZLayout_Private.h | jhurray/EZLayout | b3524be5532a535d0f96930eef006e9bde91ca67 | [
"MIT"
] | 314 | 2015-06-26T04:03:25.000Z | 2021-06-03T18:56:01.000Z | EZLayout/UIView+EZLayout_Private.h | jhurray/EZLayout | b3524be5532a535d0f96930eef006e9bde91ca67 | [
"MIT"
] | 2 | 2015-08-17T18:05:07.000Z | 2016-01-01T09:42:18.000Z | EZLayout/UIView+EZLayout_Private.h | jhurray/EZLayout | b3524be5532a535d0f96930eef006e9bde91ca67 | [
"MIT"
] | 18 | 2015-06-26T04:03:27.000Z | 2020-12-26T05:37:09.000Z | //
// UIView+EZLayout_Private.h
// EZLayoutExample
//
// Created by Jeff Hurray on 5/24/15.
// Copyright (c) 2015 Jeff Hurray. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (EZLayout_Private)
- (void) calculateSizeAndAlignmentValuesInContainerRect:(CGRect) containerRect;
- (void) calculateVie... | 21.588235 | 79 | 0.752044 |
28543bd9fad0665f3e41022026f9f810af8cd70c | 420 | h | C | C++/RemoveException.h | Pavlo-Andrianatos/Basic-Linear-Data-Structures | fef230284624fa79c1709f087ab9798917cb73d1 | [
"MIT"
] | null | null | null | C++/RemoveException.h | Pavlo-Andrianatos/Basic-Linear-Data-Structures | fef230284624fa79c1709f087ab9798917cb73d1 | [
"MIT"
] | null | null | null | C++/RemoveException.h | Pavlo-Andrianatos/Basic-Linear-Data-Structures | fef230284624fa79c1709f087ab9798917cb73d1 | [
"MIT"
] | null | null | null | #ifndef REMOVEEXCEPT
#define REMOVEEXCEPT
#include <iostream>
using namespace std;
/*
A simple class that you can use to indicate errors
in removing from structures. In Java, this class
will have to conform to the Throwable interface.
*/
class RemoveException
{
public:
RemoveException(string s)
{
message =... | 13.548387 | 50 | 0.709524 |
2855c4ca47f8d092f594e097fa304b733c647286 | 430 | h | C | HappyTravelShow/HappyTravelShow/Classes/Scenes/ViewController/HomepageVC/ScrollVC.h | AmazingLW/HappyTravelShow | 6001a6116e9fc2e8c7c64f2a838fbb4b62a750f5 | [
"MIT"
] | 1 | 2015-10-15T09:29:04.000Z | 2015-10-15T09:29:04.000Z | HappyTravelShow/HappyTravelShow/Classes/Scenes/ViewController/HomepageVC/ScrollVC.h | AmazingLW/HappyTravelShow | 6001a6116e9fc2e8c7c64f2a838fbb4b62a750f5 | [
"MIT"
] | null | null | null | HappyTravelShow/HappyTravelShow/Classes/Scenes/ViewController/HomepageVC/ScrollVC.h | AmazingLW/HappyTravelShow | 6001a6116e9fc2e8c7c64f2a838fbb4b62a750f5 | [
"MIT"
] | null | null | null | //
// ScrollVC.h
// HappyTravelShow
//
// Created by lanou3g on 15/10/15.
// Copyright (c) 2015年 com.liuwei. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "FinderMainModel.h"
@interface ScrollVC : UIViewController
//绑定的model,用于传值
@property(nonatomic,strong) FinderMainModel *model;
//字符串用于传值(标题)
@proper... | 20.47619 | 57 | 0.734884 |
285c1517ab575b794a3858140692de7b0adb90b8 | 2,912 | h | C | content/common/page_messages.h | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/common/page_messages.h | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/common/page_messages.h | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 CONTENT_COMMON_PAGE_MESSAGES_H_
#define CONTENT_COMMON_PAGE_MESSAGES_H_
#include "content/public/common/common_param_traits.h"
#include "content/... | 41.6 | 80 | 0.762019 |
285da75768593ea3a20783823009fa5ff4b37df2 | 83 | h | C | include/varargs.h | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | 3 | 2021-05-04T17:09:06.000Z | 2021-10-04T07:19:26.000Z | include/varargs.h | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | include/varargs.h | TheSledgeHammer/2.11BSD | fe61f0b9aaa273783cd027c7b5ec77e95ead2153 | [
"BSD-3-Clause"
] | null | null | null | /* varargs.h 4.1 83/05/03 */
#include <sys/cdefs.h>
#include <machine/stdarg.h>
| 11.857143 | 28 | 0.638554 |
285eee647580f5badfee409d41272d80e73b7d85 | 287 | c | C | src/keys.c | jimjag/x6502 | 0adfe0e879070547465404bb275aebdf1c7e9924 | [
"BSD-4-Clause"
] | 13 | 2020-01-14T05:50:23.000Z | 2022-01-16T00:40:08.000Z | src/keys.c | jimjag/x6502 | 0adfe0e879070547465404bb275aebdf1c7e9924 | [
"BSD-4-Clause"
] | null | null | null | src/keys.c | jimjag/x6502 | 0adfe0e879070547465404bb275aebdf1c7e9924 | [
"BSD-4-Clause"
] | 4 | 2020-01-14T23:46:23.000Z | 2022-01-19T09:00:50.000Z | #include "keys.h"
#include <stdlib.h>
#include <stdio.h>
keys * new_keys() {
keys *k = malloc(sizeof(keys));
k->key_up = false;
k->key_down = false;
k->key_left = false;
k->key_right = false;
k->key_enter = false;
return k;
}
void destroy_keys(keys* k) {
free(k);
}
| 13.666667 | 33 | 0.609756 |
285f25f0afb93d2b075f90e42f4e351f3c13b582 | 313 | h | C | Rand.h | dontpanic5/rpge-4ume | e7048ef52e4b92d83547daa8d392165bb7cab15e | [
"MIT"
] | null | null | null | Rand.h | dontpanic5/rpge-4ume | e7048ef52e4b92d83547daa8d392165bb7cab15e | [
"MIT"
] | null | null | null | Rand.h | dontpanic5/rpge-4ume | e7048ef52e4b92d83547daa8d392165bb7cab15e | [
"MIT"
] | null | null | null | #pragma once
#include <random>
template<typename T>
class Rand {
public:
Rand(T high, T low) :dist(low, high)
{
std::random_device r;
re.seed(r());
};
T operator()() { return dist(re); };
void seed(T s) { re.seed(s); }
private:
std::default_random_engine re;
std::uniform_int_distribution<T> dist;
}; | 17.388889 | 39 | 0.658147 |
286035861e7101b2f1fc983ab72bf3fa2533c58d | 9,479 | h | C | linux-apps/lucene-r2p2/inc/lucene++/NumericUtils.h | gsol10/r2p2 | 6305d2eb31a6ee87c7f873d0caa03b7a7df042b9 | [
"MIT"
] | 2 | 2015-09-23T13:25:57.000Z | 2015-11-06T11:13:12.000Z | linux-apps/lucene-r2p2/inc/lucene++/NumericUtils.h | gsol10/r2p2 | 6305d2eb31a6ee87c7f873d0caa03b7a7df042b9 | [
"MIT"
] | 1 | 2015-10-28T16:51:44.000Z | 2015-11-06T11:13:03.000Z | linux-apps/lucene-r2p2/inc/lucene++/NumericUtils.h | gsol10/r2p2 | 6305d2eb31a6ee87c7f873d0caa03b7a7df042b9 | [
"MIT"
] | 3 | 2015-10-12T15:26:56.000Z | 2020-01-24T11:40:06.000Z | /////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
// Distributable under the terms of either the Apache License (Version 2.0)
// or the GNU Lesser General Public License.
////////////////////////////////////////////////////////////... | 52.955307 | 135 | 0.726764 |
2865afa5ebcc0ce8accc0bb32455a2c92af9ed29 | 27 | h | C | libs/cg_nui/surfel_container.h | IXDdev/IXD_engine | 497c1fee90e486c19debc5347b740b56b1fef416 | [
"BSD-3-Clause"
] | 11 | 2017-09-30T12:21:55.000Z | 2021-04-29T21:31:57.000Z | libs/cg_nui/surfel_container.h | IXDdev/IXD_engine | 497c1fee90e486c19debc5347b740b56b1fef416 | [
"BSD-3-Clause"
] | 2 | 2017-07-11T11:20:08.000Z | 2018-03-27T12:09:02.000Z | libs/cg_nui/surfel_container.h | IXDdev/IXD_engine | 497c1fee90e486c19debc5347b740b56b1fef416 | [
"BSD-3-Clause"
] | 24 | 2018-03-27T11:46:16.000Z | 2021-05-01T20:28:34.000Z | #pragma
// TODO: implement | 9 | 18 | 0.703704 |
286ec909b6a97a38f5e5b90cd488b31affad5e65 | 258 | h | C | libraries/ByPass-Xbee/XbeeCommunication.h | Sytten/ByPASS | c5b009d6ef9c986a7607332a7777af81b3752ab4 | [
"MIT"
] | 5 | 2017-12-11T16:11:55.000Z | 2021-02-10T14:20:28.000Z | libraries/ByPass-Xbee/XbeeCommunication.h | Sytten/ByPASS | c5b009d6ef9c986a7607332a7777af81b3752ab4 | [
"MIT"
] | null | null | null | libraries/ByPass-Xbee/XbeeCommunication.h | Sytten/ByPASS | c5b009d6ef9c986a7607332a7777af81b3752ab4 | [
"MIT"
] | null | null | null | #pragma once
#include "XbeeMessage.h"
#include "rtos.h"
extern Mail<XbeeMessage, 3> sending_mailbox;
extern Mail<XbeeMessage, 3> receiving_mailbox;
// Bidirectionnal async communication for a many-to-one configuration
void xbee_communication_run(); | 28.666667 | 70 | 0.77907 |
286fa1f91b059e7084af32289fa989a2d386c0d5 | 745 | c | C | lista2/ex34.c | Joel-Graf/Listas_de_exercicios_C_UFU | f030b0c9f78997cc3c372e76e935452ffd3df838 | [
"MIT"
] | null | null | null | lista2/ex34.c | Joel-Graf/Listas_de_exercicios_C_UFU | f030b0c9f78997cc3c372e76e935452ffd3df838 | [
"MIT"
] | null | null | null | lista2/ex34.c | Joel-Graf/Listas_de_exercicios_C_UFU | f030b0c9f78997cc3c372e76e935452ffd3df838 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(int argc, char const *argv[]) {
float grade;
int absences, conceptPosition;
char concept[] = {'A', 'B', 'C', 'D', 'E'};
printf("Insert student grade: ");
scanf("%f", &grade);
if (grade < 0 || grade > 10) {
printf("Invalid grade");
return 1;
}
if (grade >= 9) {
... | 21.285714 | 62 | 0.579866 |
28717745e9dd0cd0b3d58d7f2cb9f6b84ff6d1dc | 259 | h | C | Tests/test_material_models.h | COFS-UWA/MPM3D | 1a0c5dc4e92dff3855367846002336ca5a18d124 | [
"MIT"
] | null | null | null | Tests/test_material_models.h | COFS-UWA/MPM3D | 1a0c5dc4e92dff3855367846002336ca5a18d124 | [
"MIT"
] | 2 | 2020-10-19T02:03:11.000Z | 2021-03-19T16:34:39.000Z | Tests/test_material_models.h | COFS-UWA/MPM3D | 1a0c5dc4e92dff3855367846002336ca5a18d124 | [
"MIT"
] | 1 | 2020-04-28T00:33:14.000Z | 2020-04-28T00:33:14.000Z | #ifndef __Test_Material_Models_h__
#define __Test_Material_Models_h__
void test_mat_model_utils();
void test_model_container();
void test_mcc_get_Su();
void test_mcc_compression();
void test_undrained_mcc();
void test_von_mises();
void test_tresca();
#endif | 21.583333 | 34 | 0.830116 |
2871c1d9e0c7d2058b4693270c3f1ac05f48df67 | 414 | h | C | colorwhelldialog.h | emako/colorcap | b1fcbc9de42c9c0cfcfad9545f046371bc0ee8cd | [
"MIT"
] | null | null | null | colorwhelldialog.h | emako/colorcap | b1fcbc9de42c9c0cfcfad9545f046371bc0ee8cd | [
"MIT"
] | null | null | null | colorwhelldialog.h | emako/colorcap | b1fcbc9de42c9c0cfcfad9545f046371bc0ee8cd | [
"MIT"
] | null | null | null | #ifndef COLORWHELLDIALOG_H
#define COLORWHELLDIALOG_H
#include "colorwheel.h"
#include <QDialog>
namespace Ui {
class ColorWhellDialog;
}
class ColorWhellDialog : public QDialog
{
Q_OBJECT
public:
explicit ColorWhellDialog(QWidget *parent = nullptr);
~ColorWhellDialog();
ColorWheel ... | 16.56 | 58 | 0.702899 |
2871dac5f1f0c4a079c605fb6b744ff9b320e72d | 1,312 | h | C | src/Shape/NuiDevicePointCloud.h | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | 3 | 2016-07-14T13:04:35.000Z | 2017-04-01T09:58:27.000Z | src/Shape/NuiDevicePointCloud.h | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | null | null | null | src/Shape/NuiDevicePointCloud.h | hustztz/NatureUserInterfaceStudio | 3cdac6b6ee850c5c8470fa5f1554c7447be0d8af | [
"MIT"
] | 1 | 2021-11-21T15:33:35.000Z | 2021-11-21T15:33:35.000Z | #pragma once
#include "stdafx.h"
#include "NuiImageBuffer.h"
#include <vector>
struct NuiDevicePoint
{
Point4D fVertex;
BGRQUAD fBGRA;
bool fIsValid;
BYTE fBodyIndex;
float fNormal_x;
float fNormal_y;
float fNormal_z;
float fColorSpaceU;
float fColorSpaceV;
};
class NuiDevicePointCloud
{
public:
Nu... | 26.24 | 102 | 0.74314 |
2873d462c6ceec3d8f665671186c3b9ae80a52ca | 1,524 | h | C | Scripts/Template/Headers/java/beans/IntrospectionException.h | mbeloded/J2ObjC-FrameworkMb | 35dc7171cb7d08edf6824ed3c9f34311c8be3347 | [
"MIT"
] | null | null | null | Scripts/Template/Headers/java/beans/IntrospectionException.h | mbeloded/J2ObjC-FrameworkMb | 35dc7171cb7d08edf6824ed3c9f34311c8be3347 | [
"MIT"
] | null | null | null | Scripts/Template/Headers/java/beans/IntrospectionException.h | mbeloded/J2ObjC-FrameworkMb | 35dc7171cb7d08edf6824ed3c9f34311c8be3347 | [
"MIT"
] | null | null | null | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: apache_harmony/classlib/modules/beans/src/main/java/java/beans/IntrospectionException.java
//
#include "../../J2ObjC_header.h"
#pragma push_macro("JavaBeansIntrospectionException_INCLUDE_ALL")
#ifdef JavaBeansIntrospectionException_RESTRICT
#define ... | 32.425532 | 148 | 0.858924 |
2873e82f541c04bc779c39d10657a428978334a4 | 1,947 | h | C | module/mpc-be/SRC/src/AudioTools/Mixer.h | 1aq/PBox | 67ced599ee36ceaff097c6584f8100cf96006dfe | [
"MIT"
] | null | null | null | module/mpc-be/SRC/src/AudioTools/Mixer.h | 1aq/PBox | 67ced599ee36ceaff097c6584f8100cf96006dfe | [
"MIT"
] | null | null | null | module/mpc-be/SRC/src/AudioTools/Mixer.h | 1aq/PBox | 67ced599ee36ceaff097c6584f8100cf96006dfe | [
"MIT"
] | null | null | null | /*
* (C) 2014-2020 see Authors.txt
*
* This file is part of MPC-BE.
*
* MPC-BE 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 3 of the License, or
* (at your option) any later version.
... | 29.059701 | 104 | 0.721109 |
287a74295c666ae0614c717c64b11084ceecc7d8 | 356 | h | C | code/components/esp32-camera-master/sensors/private_include/nt99141.h | burjakremen/AI-on-the-edge-device | b7e836df90b623ad9ed0b17c2a20e9c07646e6d7 | [
"MIT"
] | 2,040 | 2020-08-13T06:11:55.000Z | 2022-03-28T23:08:34.000Z | code/components/esp32-camera-master/sensors/private_include/nt99141.h | burjakremen/AI-on-the-edge-device | b7e836df90b623ad9ed0b17c2a20e9c07646e6d7 | [
"MIT"
] | 631 | 2020-08-13T06:20:47.000Z | 2022-03-31T17:34:13.000Z | code/components/esp32-camera-master/sensors/private_include/nt99141.h | burjakremen/AI-on-the-edge-device | b7e836df90b623ad9ed0b17c2a20e9c07646e6d7 | [
"MIT"
] | 298 | 2020-07-29T19:59:10.000Z | 2022-03-31T10:38:20.000Z | /*
* This file is part of the OpenMV project.
* Copyright (c) 2013/2014 Ibrahim Abdelkader <i.abdalkader@gmail.com>
* This work is licensed under the MIT license, see the file LICENSE for details.
*
* NT99141 driver.
*
*/
#ifndef __NT99141_H__
#define __NT99141_H__
#include "sensor.h"
int NT99141_init(sensor_t... | 20.941176 | 81 | 0.733146 |
287ba6a38567c793270f975ecabdffca1f02e5b5 | 3,413 | h | C | _studio/mfx_lib/encode_hw/hevc/agnostic/g9/hevcehw_g9_alloc.h | ndomnina/MediaSDK | 32d2f64ca34d675c49025fcc941e59e40431e17a | [
"MIT"
] | 1 | 2020-09-08T15:30:11.000Z | 2020-09-08T15:30:11.000Z | _studio/mfx_lib/encode_hw/hevc/agnostic/g9/hevcehw_g9_alloc.h | ndomnina/MediaSDK | 32d2f64ca34d675c49025fcc941e59e40431e17a | [
"MIT"
] | null | null | null | _studio/mfx_lib/encode_hw/hevc/agnostic/g9/hevcehw_g9_alloc.h | ndomnina/MediaSDK | 32d2f64ca34d675c49025fcc941e59e40431e17a | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Intel Corporation
//
// 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... | 26.253846 | 81 | 0.705538 |
288073ae64bee465055904a66f0cde73daa0de73 | 1,706 | h | C | src/arch/microblaze/kernel/context.h | nikitavlaev/embox | 7ab7a5b649d8a408ecbdaafee8318b1c3dc9cf62 | [
"BSD-2-Clause"
] | 809 | 2015-04-12T00:57:55.000Z | 2022-03-18T13:39:59.000Z | src/arch/microblaze/kernel/context.h | nikitavlaev/embox | 7ab7a5b649d8a408ecbdaafee8318b1c3dc9cf62 | [
"BSD-2-Clause"
] | 819 | 2015-04-14T17:54:29.000Z | 2022-03-26T08:52:12.000Z | src/arch/microblaze/kernel/context.h | nikitavlaev/embox | 7ab7a5b649d8a408ecbdaafee8318b1c3dc9cf62 | [
"BSD-2-Clause"
] | 274 | 2015-04-15T16:11:52.000Z | 2022-03-25T10:24:43.000Z | /**
* @file
* @brief
*
* @date 13.04.10
* @author Eldar Abusalimov
*/
#ifndef ARCH_MICROBLAZE_CONTEXT_H_
#define ARCH_MICROBLAZE_CONTEXT_H_
#ifndef __ASSEMBLER__
#include <stdint.h>
struct context {
/* 0x00 */ uint32_t r1; /* stack pointer */
/* 0x04 */ uint32_t r2;
/* r3-r12 are volatile register (caller... | 21.061728 | 49 | 0.639508 |
28808b35085b19128f79c54368cb85bf9e42379e | 27,424 | c | C | source/util_api/tls/components/TlsCryptoProvider/tls_cpo_public.c | lgirdk/ccsp-common-library | 8d912984e96f960df6dadb4b0e6bc76c76376776 | [
"Apache-2.0"
] | 4 | 2018-02-26T05:41:14.000Z | 2019-12-20T07:31:39.000Z | source/util_api/tls/components/TlsCryptoProvider/tls_cpo_public.c | rdkcmf/rdkb-CcspCommonLibrary | 3eba76685bbf5eb6656f45eb4b57fdb5c269c2a1 | [
"Apache-2.0"
] | null | null | null | source/util_api/tls/components/TlsCryptoProvider/tls_cpo_public.c | rdkcmf/rdkb-CcspCommonLibrary | 3eba76685bbf5eb6656f45eb4b57fdb5c269c2a1 | [
"Apache-2.0"
] | 3 | 2017-07-30T15:35:16.000Z | 2020-08-18T20:44:08.000Z | /*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2015 RDK Management
*
* 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 ... | 30.369878 | 106 | 0.475058 |
2880ffd79bec698ab1f5d12b205dddaa98201938 | 296 | h | C | project2D/ShapeJoint.h | Master-Mas/2D-Physics-Exmaple | a4ee3401daeb9150b8d2c8953bf6b0e70cacf93a | [
"MIT"
] | null | null | null | project2D/ShapeJoint.h | Master-Mas/2D-Physics-Exmaple | a4ee3401daeb9150b8d2c8953bf6b0e70cacf93a | [
"MIT"
] | null | null | null | project2D/ShapeJoint.h | Master-Mas/2D-Physics-Exmaple | a4ee3401daeb9150b8d2c8953bf6b0e70cacf93a | [
"MIT"
] | null | null | null | #pragma once
#include "GameObject.h"
class ShapeJoint :
public GameObject
{
public:
ShapeJoint(RigidBody2D* join1, RigidBody2D* join2, float springConstant, float damping);
~ShapeJoint();
void update(float deltaTime) override;
void draw(aie::Renderer2D& renderer) override;
private:
};
| 17.411765 | 89 | 0.756757 |
2881331cc07340a867c0ee82a3c8d464e993ca5d | 953 | h | C | System/Library/PrivateFrameworks/AppStoreDaemon.framework/Support/appstored/AIMDownloadEvent.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 11 | 2019-11-06T04:48:48.000Z | 2022-02-09T17:48:15.000Z | System/Library/PrivateFrameworks/AppStoreDaemon.framework/Support/appstored/AIMDownloadEvent.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 1 | 2020-04-16T01:41:56.000Z | 2020-04-16T04:32:00.000Z | System/Library/PrivateFrameworks/AppStoreDaemon.framework/Support/appstored/AIMDownloadEvent.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 3 | 2019-12-22T20:17:53.000Z | 2021-01-25T09:47:49.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:38:55 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/AppStoreDaemon.framework/Support/appstored
* classdump-dyld is licensed under GPLv3, Copyright © 2013-... | 31.766667 | 92 | 0.76915 |
2881ae1ca01a58ec0c109dc1790867920d9c0987 | 372 | h | C | Schneider.iPad/Schneider/iControl/IControlViewController.h | iStig/iMeasure | 0960b74ffe5190ae5decc35dadb3bc6428b03c3e | [
"MIT"
] | null | null | null | Schneider.iPad/Schneider/iControl/IControlViewController.h | iStig/iMeasure | 0960b74ffe5190ae5decc35dadb3bc6428b03c3e | [
"MIT"
] | null | null | null | Schneider.iPad/Schneider/iControl/IControlViewController.h | iStig/iMeasure | 0960b74ffe5190ae5decc35dadb3bc6428b03c3e | [
"MIT"
] | null | null | null | //
// IControlViewController.h
// Schneider
//
// Created by GongXuehan on 13-4-15.
// Copyright (c) 2013年 xhgong. All rights reserved.
//
#import "SystemStructViewController.h"
#import "SwitchView.h"
#import "ControlSpecialStruct.h"
@interface IControlViewController : BaseViewController <SwitchViewDelegate, UITe... | 23.25 | 125 | 0.776882 |
93037a53b8c79eb470d983344278d07d7d4424a1 | 601 | h | C | MasterSimulatorUI/src/MSIMSceneManager.h | ghorwin/MasterSim | 281b71e228435ca8fa02319bf2ce86b66b8b2b45 | [
"BSD-3-Clause"
] | 5 | 2021-11-17T07:12:54.000Z | 2022-03-16T15:06:39.000Z | MasterSimulatorUI/src/MSIMSceneManager.h | ghorwin/MasterSim | 281b71e228435ca8fa02319bf2ce86b66b8b2b45 | [
"BSD-3-Clause"
] | 25 | 2021-09-09T07:39:13.000Z | 2022-01-23T13:00:19.000Z | MasterSimulatorUI/src/MSIMSceneManager.h | ghorwin/MasterSim | 281b71e228435ca8fa02319bf2ce86b66b8b2b45 | [
"BSD-3-Clause"
] | null | null | null | #ifndef MSIM_SCENEMANAGER_H
#define MSIM_SCENEMANAGER_H
#include <BM_SceneManager.h>
namespace BLOCKMOD {
class BlockItem;
class Block;
}
class MSIMSceneManager : public BLOCKMOD::SceneManager {
public:
explicit MSIMSceneManager(QObject *parent = nullptr);
protected:
/*! Create a graphics item based on the dat... | 23.115385 | 79 | 0.77371 |
930651b5d879e8ce1133d3146717b6b31d997b90 | 235 | h | C | ObjectTrackDemo/UIImage+Orientation.h | WhiteTeeth/ios11-ObjectTrackDemo | cb6f676d85aab5e353de9a91a3ee93f340adb9d3 | [
"MIT"
] | 31 | 2017-07-25T07:05:36.000Z | 2021-07-28T01:39:07.000Z | ObjectTrackDemo/UIImage+Orientation.h | WhiteTeeth/ios11-ObjectTrackDemo | cb6f676d85aab5e353de9a91a3ee93f340adb9d3 | [
"MIT"
] | 4 | 2018-03-01T08:54:13.000Z | 2019-05-13T14:35:34.000Z | ObjectTrackDemo/UIImage+Orientation.h | WhiteTeeth/ios11-ObjectTrackDemo | cb6f676d85aab5e353de9a91a3ee93f340adb9d3 | [
"MIT"
] | 8 | 2017-07-28T03:08:44.000Z | 2019-11-20T01:02:19.000Z | //
// UIImage+Orientation.h
// ObjectTrackDemo
//
// Created by baiya on 2017/6/22.
// Copyright © 2017年 Maxcw. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (Orientation)
- (UIImage *)fixOrientation;
@end
| 14.6875 | 49 | 0.685106 |
930c2e15bf08079a09dd89c36911efe5dad68131 | 598 | c | C | doc/tpdb_trs/C/SV-COMP_Termination_Category/UrbanMine-ESOP2014-Fig3_true-termination.c | ComputationWithBoundedResources/ara-inference | 970fcf905d89c3a769615cd81cc77e1903469dd5 | [
"MIT"
] | 1 | 2018-09-03T09:26:13.000Z | 2018-09-03T09:26:13.000Z | doc/tpdb_trs/C/SV-COMP_Termination_Category/UrbanMine-ESOP2014-Fig3_true-termination.c | ComputationWithBoundedResources/ara-inference | 970fcf905d89c3a769615cd81cc77e1903469dd5 | [
"MIT"
] | null | null | null | doc/tpdb_trs/C/SV-COMP_Termination_Category/UrbanMine-ESOP2014-Fig3_true-termination.c | ComputationWithBoundedResources/ara-inference | 970fcf905d89c3a769615cd81cc77e1903469dd5 | [
"MIT"
] | null | null | null | /*
* Program from Fig.3 of
* 2014ESOP - Urban,Miné - An Abstract Domain to Infer Ordinal-Valued Ranking Functions
*
* Date: 2014
* Author: Caterina Urban
*/
extern int __VERIFIER_nondet_int(void);
int main() {
int x = __VERIFIER_nondet_int();
int y = __VERIFIER_nondet_int();
while (x != 0 && y > 0) {
if... | 19.290323 | 87 | 0.553512 |
931047b8dac3f1fb5d14af1b12a4277ab5703d97 | 2,186 | h | C | src/shared/game/gta3/CAEBankLoader.h | gtaisbetterthanfn/modloader | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | [
"MIT"
] | 186 | 2015-01-18T05:46:11.000Z | 2022-03-22T10:03:44.000Z | src/shared/game/gta3/CAEBankLoader.h | AlisonMDL/modloader | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | [
"MIT"
] | 82 | 2015-01-14T01:02:04.000Z | 2022-03-20T23:55:59.000Z | src/shared/game/gta3/CAEBankLoader.h | AlisonMDL/modloader | 18f85c2766d4e052a452c7b1d8f5860a6daac24b | [
"MIT"
] | 34 | 2015-01-07T11:17:00.000Z | 2022-02-28T00:16:20.000Z | #pragma once
#pragma pack(push, 1)
struct CAEBankLookupItem
{
char m_iPak;
char _pad[3];
unsigned int m_dwOffset;
unsigned int m_dwSize;
};
#pragma pack(pop)
#pragma pack(push, 1)
struct CAEBankSlotItem
{
unsigned int m_dwOffset;
unsigned int m_dwLoopOffset;
unsigned short m_usSampleRate;
short m_usSo... | 23.010526 | 96 | 0.727813 |
9311f7613e15bb90cfe6bae1ef633fe909d7246b | 8,358 | h | C | src/Value.h | Beidah/Iliad | 2e86bbb160b471f3b8d9981c649990149eb47b5e | [
"Apache-2.0"
] | 2 | 2018-07-23T13:50:58.000Z | 2018-08-02T18:25:33.000Z | src/Value.h | Beidah/Iliad | 2e86bbb160b471f3b8d9981c649990149eb47b5e | [
"Apache-2.0"
] | null | null | null | src/Value.h | Beidah/Iliad | 2e86bbb160b471f3b8d9981c649990149eb47b5e | [
"Apache-2.0"
] | null | null | null | //! \file Value.h
//! \brief Details the data representation used by the program.
#pragma once
#include "ValueType.h"
//! Basical value representation
/*!
Values are stored in an std::vector of unsigned chars of the binary of the value.
This class stores the bytes, size and an enum of the type of data that is r... | 30.955556 | 118 | 0.676478 |
9317b967dda5d2dcc162d00a6efcac40994f56e2 | 28,980 | h | C | src/environments/gym-uds/gym-uds.grpc.pb.h | rval735/BiSUNA | 0475db39d10b61fa929a61a66a32686961a211ca | [
"Apache-1.1"
] | 6 | 2019-05-07T01:14:59.000Z | 2021-03-25T10:34:22.000Z | src/environments/gym-uds/gym-uds.grpc.pb.h | rval735/BiSUNA | 0475db39d10b61fa929a61a66a32686961a211ca | [
"Apache-1.1"
] | null | null | null | src/environments/gym-uds/gym-uds.grpc.pb.h | rval735/BiSUNA | 0475db39d10b61fa929a61a66a32686961a211ca | [
"Apache-1.1"
] | null | null | null | // Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: gym-uds.proto
#ifndef GRPC_gym_2duds_2eproto__INCLUDED
#define GRPC_gym_2duds_2eproto__INCLUDED
#include "gym-uds.pb.h"
#include <functional>
#include <grpcpp/impl/codegen/async_generic_service.h>
#include <grpcpp/impl... | 55.095057 | 262 | 0.703899 |
9318eda6b253660e97d7223bfbfa12fd5bcff6bb | 23,082 | h | C | ns3/ns-3.26/src/network/model/net-device.h | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 7 | 2017-08-11T06:06:47.000Z | 2022-02-27T07:34:33.000Z | ns3/ns-3.26/src/network/model/net-device.h | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 3 | 2017-08-11T03:04:59.000Z | 2017-09-11T14:01:14.000Z | ns3/ns-3.26/src/network/model/net-device.h | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 3 | 2017-08-08T13:36:30.000Z | 2018-07-04T09:49:41.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2005,2006 INRIA
*
* This program 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 Foundation;
*
* This program is distri... | 34.094535 | 118 | 0.703145 |
9319dad50ca506daea9382461570e42570455ecb | 421 | h | C | src/Sensors/LowLevel/SensorDHT11.h | mmakaay/arduino-doughboy | e48e44f287a56c3716527f86946c16a8db1d8d52 | [
"MIT"
] | 1 | 2020-07-06T19:45:49.000Z | 2020-07-06T19:45:49.000Z | src/Sensors/LowLevel/SensorDHT11.h | mmakaay/arduino-doughboy | e48e44f287a56c3716527f86946c16a8db1d8d52 | [
"MIT"
] | null | null | null | src/Sensors/LowLevel/SensorDHT11.h | mmakaay/arduino-doughboy | e48e44f287a56c3716527f86946c16a8db1d8d52 | [
"MIT"
] | null | null | null | #ifndef DOUGH_SENSOR_DHT11_H
#define DOUGH_SENSOR_DHT11_H
#include <DHT.h>
#include "config.h"
namespace Dough
{
// This class provides access to the DHT11 sensor in the device.
class SensorDHT11
{
public:
static SensorDHT11 *Instance();
void begin();
float readTemperature();
... | 17.541667 | 68 | 0.627078 |
931c2582d046e7b3d2867230f9e130a45980c123 | 303 | h | C | DBBuilder-Demo-Mac/DBBuilder Demo-Mac/AppDelegate.h | dennisbirch/DBBuilder | f4b8e0963b502abf4bfaee4515b4dc1aa7fa617f | [
"MIT"
] | null | null | null | DBBuilder-Demo-Mac/DBBuilder Demo-Mac/AppDelegate.h | dennisbirch/DBBuilder | f4b8e0963b502abf4bfaee4515b4dc1aa7fa617f | [
"MIT"
] | null | null | null | DBBuilder-Demo-Mac/DBBuilder Demo-Mac/AppDelegate.h | dennisbirch/DBBuilder | f4b8e0963b502abf4bfaee4515b4dc1aa7fa617f | [
"MIT"
] | null | null | null | //
// AppDelegate.h
// DBBuilder Demo-Mac
//
// Created by Dennis Birch on 11/21/14.
// Copyright (c) 2014 Dennis Birch. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject <NSApplicationDelegate>
@property (nonatomic, copy, readonly) NSString *databasePath;
@end
| 17.823529 | 61 | 0.712871 |
931c76fc0dc346745af7e66fff7b4c32f8bdfdf0 | 311 | c | C | 14/review_6.c | codelegant/c-primer-plus | a23d2716d26c22d797e3eae1855be08b13a80c46 | [
"MIT"
] | 2 | 2020-10-23T08:45:47.000Z | 2020-10-23T09:14:24.000Z | 14/review_6.c | codelegant/c-primer-plus | a23d2716d26c22d797e3eae1855be08b13a80c46 | [
"MIT"
] | null | null | null | 14/review_6.c | codelegant/c-primer-plus | a23d2716d26c22d797e3eae1855be08b13a80c46 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
typedef struct lens{
float foclen;
float fstop;
char brand[30];
} LENS;
int main(void) {
LENS lens[10] = { [2]={ 500, 2.0, "Remarkatar" } };
lens[1]=(LENS){400, 1.8, "Canon"};
strcpy(lens[0].brand , "Nikon");
printf("%.2f\n", lens[1].foclen);
return 0;
}
| 19.4375 | 53 | 0.59164 |
93200dfa59e728793f02b44b0ab36f79103bb560 | 878 | h | C | platform/mcu/moc108/mx108/mx378/app/app.h | ghsecuritylab/Alios_SDK | edd416e7d2961db42c2100ac2d6237ee527d1aee | [
"Apache-2.0"
] | 2 | 2021-05-28T08:25:33.000Z | 2021-11-17T02:58:50.000Z | platform/mcu/moc108/mx108/mx378/app/app.h | ghsecuritylab/Alios_SDK | edd416e7d2961db42c2100ac2d6237ee527d1aee | [
"Apache-2.0"
] | null | null | null | platform/mcu/moc108/mx108/mx378/app/app.h | ghsecuritylab/Alios_SDK | edd416e7d2961db42c2100ac2d6237ee527d1aee | [
"Apache-2.0"
] | 5 | 2018-05-23T02:56:10.000Z | 2021-01-02T16:44:09.000Z | #ifndef _APP_H_
#define _APP_H_
#pragma once
#include "rtos_pub.h"
//#define APP_DEBUG
#ifdef APP_DEBUG
#define APP_PRT os_printf
#define APP_WPRT warning_prf
#else
#define APP_PRT os_null_printf
#define APP_WPRT warning_prf
#endif
enum
{
BMSG_NULL_TYPE = 0,
BMSG_RX_TYPE = 1,
BMSG_TX_TYP... | 15.963636 | 50 | 0.714123 |
93210bd45140dd7c9224b7e4c5a3265321dce621 | 331 | c | C | acsl/libraries/libc/test/wchar/io/test_getwchar.c | davidcok/annotationsforall | 16024a9ffecdb72b638e1f942c567f8815183e89 | [
"Apache-2.0"
] | 4 | 2016-06-16T21:03:57.000Z | 2021-02-06T10:20:14.000Z | acsl/libraries/libc/test/wchar/io/test_getwchar.c | davidcok/annotationsforall | 16024a9ffecdb72b638e1f942c567f8815183e89 | [
"Apache-2.0"
] | null | null | null | acsl/libraries/libc/test/wchar/io/test_getwchar.c | davidcok/annotationsforall | 16024a9ffecdb72b638e1f942c567f8815183e89 | [
"Apache-2.0"
] | 1 | 2021-06-09T07:00:34.000Z | 2021-06-09T07:00:34.000Z | #include "../../../stdio_common.h"
#include <wchar.h>
void runSuccess() {
getwchar();
}
void runFailure() {
}
int f;
void testValues() {
f = 2;
wint_t result;
result = getwchar();
//@ assert result == WEOF || (wchar_t)result == result;
//@ assert f == 2;
//@ assert vacuous:... | 14.391304 | 59 | 0.531722 |
9321841bb4fb24981f24c564de2b72fb84e5f68c | 15,865 | h | C | src/game/variables.h | def-/zcatchPlus | 143a2982ca9af8fc76cf11b709b5b46c0d854779 | [
"Zlib"
] | 3 | 2018-12-23T17:11:45.000Z | 2019-08-01T07:29:51.000Z | src/game/variables.h | def-/zcatchPlus | 143a2982ca9af8fc76cf11b709b5b46c0d854779 | [
"Zlib"
] | 13 | 2018-12-23T00:53:17.000Z | 2020-04-08T21:51:23.000Z | src/game/variables.h | def-/zcatchPlus | 143a2982ca9af8fc76cf11b709b5b46c0d854779 | [
"Zlib"
] | 4 | 2019-04-29T11:26:33.000Z | 2021-11-18T16:33:08.000Z | /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#ifndef GAME_VARIABLES_H
#define GAME_VARIABLES_H
#undef GAME_VARIABLES_H // this file will be included several times
// clien... | 103.69281 | 324 | 0.811283 |
9321fd1d9e8c0a27e9998d32eca6c6b7be6f29ff | 482 | h | C | XXBTraceroute/XXBTraceroute/XXBTraceroute/XXBTraceRouteQueue.h | sixTiger/XXBTraceroute | 7e47db86674e43c39ea7297f882ee9c305b6afd0 | [
"MIT"
] | 3 | 2019-05-08T06:31:12.000Z | 2022-03-24T10:57:46.000Z | XXBTraceroute/XXBTraceroute/XXBTraceroute/XXBTraceRouteQueue.h | sixTiger/XXBTraceroute | 7e47db86674e43c39ea7297f882ee9c305b6afd0 | [
"MIT"
] | null | null | null | XXBTraceroute/XXBTraceroute/XXBTraceroute/XXBTraceRouteQueue.h | sixTiger/XXBTraceroute | 7e47db86674e43c39ea7297f882ee9c305b6afd0 | [
"MIT"
] | null | null | null | //
// XXBTraceRouteQueue.h
// XXBTraceroute
//
// Created by xiaobing5 on 2019/4/17.
// Copyright © 2019 xiaobing5. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XXBTracerouteUtil.h"
@interface XXBTraceRouteQueue : NSObject{
dispatch_queue_t _queue;
XXBTracerouteUtil *_traceroute... | 17.214286 | 72 | 0.719917 |
9325df7bae1a39fbfe262bf61fdce9cbbf2c144d | 247 | h | C | Classes/FDSyncedAnimation.h | shenkevin/FlameDragon | 02f86da70f1429410160ce55ebbeb3e9c59631d3 | [
"MIT"
] | 1 | 2022-02-26T04:56:40.000Z | 2022-02-26T04:56:40.000Z | Classes/FDSyncedAnimation.h | shenkevin/FlameDragon | 02f86da70f1429410160ce55ebbeb3e9c59631d3 | [
"MIT"
] | null | null | null | Classes/FDSyncedAnimation.h | shenkevin/FlameDragon | 02f86da70f1429410160ce55ebbeb3e9c59631d3 | [
"MIT"
] | null | null | null | //
// FDSyncedAnimation.h
// FlameDragon
//
// Created by sui toney on 11-11-13.
// Copyright 2011 ms. All rights reserved.
//
#import "cocos2d.h"
#import "FDAnimation.h"
@interface FDSyncedAnimation : FDAnimation {
int totalTick;
}
@end
| 13.722222 | 44 | 0.688259 |
9327911ecf93548328271a2f51a0f6740e93dba5 | 1,311 | h | C | OpenTissue/core/geometry/geometry_is_triangle_obtuse.h | ricortiz/OpenTissue | f8c8ebc5137325b77ba90bed897f6be2795bd6fb | [
"Zlib"
] | 76 | 2018-02-20T11:30:52.000Z | 2022-03-31T12:45:06.000Z | OpenTissue/core/geometry/geometry_is_triangle_obtuse.h | ricortiz/OpenTissue | f8c8ebc5137325b77ba90bed897f6be2795bd6fb | [
"Zlib"
] | 27 | 2018-11-20T14:32:49.000Z | 2021-11-24T15:26:45.000Z | OpenTissue/core/geometry/geometry_is_triangle_obtuse.h | ricortiz/OpenTissue | f8c8ebc5137325b77ba90bed897f6be2795bd6fb | [
"Zlib"
] | 24 | 2018-02-21T01:45:26.000Z | 2022-03-07T07:06:49.000Z | #ifndef OPENTISSUE_CORE_GEOMETRY_GEOMETRY_IS_TRIANGLE_OBTUSE_H
#define OPENTISSUE_CORE_GEOMETRY_GEOMETRY_IS_TRIANGLE_OBTUSE_H
//
// OpenTissue Template Library
// - A generic toolbox for physics-based modeling and simulation.
// Copyright (C) 2008 Department of Computer Science, University of Copenhagen.
//
// OTTL is ... | 31.214286 | 96 | 0.720061 |
9327f294e33c752f881d2057cd761d3bc4e2adcd | 810 | h | C | cases/comparison_trackers/param/post/objects/surfer__us_15o58__surftimeconst_2o5__reorientationtime_0o5/pos/group/choice.h | C0PEP0D/sheld0n | 497d4ee8b6b1815cd5fa1b378d1b947ee259f4bc | [
"MIT"
] | null | null | null | cases/comparison_trackers/param/post/objects/surfer__us_15o58__surftimeconst_2o5__reorientationtime_0o5/pos/group/choice.h | C0PEP0D/sheld0n | 497d4ee8b6b1815cd5fa1b378d1b947ee259f4bc | [
"MIT"
] | null | null | null | cases/comparison_trackers/param/post/objects/surfer__us_15o58__surftimeconst_2o5__reorientationtime_0o5/pos/group/choice.h | C0PEP0D/sheld0n | 497d4ee8b6b1815cd5fa1b378d1b947ee259f4bc | [
"MIT"
] | null | null | null | #ifndef C0P_PARAM_POST_OBJECTS_SURFER__US_15O58__SURFTIMECONST_2O5__REORIENTATIONTIME_0O5_POS_GROUP_CHOICE_H
#define C0P_PARAM_POST_OBJECTS_SURFER__US_15O58__SURFTIMECONST_2O5__REORIENTATIONTIME_0O5_POS_GROUP_CHOICE_H
#pragma once
// THIS FILE SHOULD NOT BE EDITED DIRECTLY BY THE USERS.
// THIS FILE WILL BE AUTOMATICA... | 42.631579 | 183 | 0.867901 |
932b342f8e251492fca9fbb2972791e820a40776 | 760 | h | C | Classes/Util/App/ARUserManager.h | artsy/energy | e3543ff0a87029dbd171af7b0e09c9fa13b5536a | [
"MIT"
] | 231 | 2015-08-06T18:40:19.000Z | 2022-03-27T20:40:03.000Z | Classes/Util/App/ARUserManager.h | artsy/energy | e3543ff0a87029dbd171af7b0e09c9fa13b5536a | [
"MIT"
] | 313 | 2015-08-06T19:04:17.000Z | 2022-01-14T15:42:36.000Z | Classes/Util/App/ARUserManager.h | artsy/energy | e3543ff0a87029dbd171af7b0e09c9fa13b5536a | [
"MIT"
] | 54 | 2015-08-06T19:01:14.000Z | 2022-02-10T12:19:50.000Z | #import <Foundation/Foundation.h>
/// Handles interacting with user state
/// and logging in.
@interface ARUserManager : NSObject
/// User is logged in and token is still valid
- (BOOL)userIsLoggedIn;
/// User has credentials in the defaults
/// but we don't know if they're logged in
- (BOOL)userCredentialsExist;
... | 30.4 | 149 | 0.760526 |
932bf01d302812c763ee776e30ecca904fb9d3a9 | 8,397 | c | C | openjdk11/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/multienv/MA08/ma08t001/ma08t001a.c | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | 2 | 2018-06-19T05:43:32.000Z | 2018-06-23T10:04:56.000Z | openjdk11/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/multienv/MA08/ma08t001/ma08t001a.c | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | null | null | null | openjdk11/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/multienv/MA08/ma08t001/ma08t001a.c | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 31.449438 | 93 | 0.629391 |
932e18ad1effc8e97dc38485cfecd48d073da706 | 1,469 | h | C | PrivateFrameworks/StoreKitUI.framework/SKUIGallerySwooshPageSection.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/StoreKitUI.framework/SKUIGallerySwooshPageSection.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/StoreKitUI.framework/SKUIGallerySwooshPageSection.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/StoreKitUI.framework/StoreKitUI
*/
@interface SKUIGallerySwooshPageSection : SKUIStorePageSection <SKUIArtworkRequestDelegate, SKUIGallerySwooshViewControllerDelegate> {
NSMapTable * _componentArtworkRequests;
SKUIGallerySwooshViewCont... | 41.971429 | 134 | 0.792376 |
932e9f5a5cad3594a3f3fa21509655924e6ebe8f | 8,277 | h | C | include/param.h | sytelus/firmware | 52f31c61c3bb90d17daacebaf908b2850a23a71e | [
"BSD-3-Clause"
] | 1 | 2019-04-12T12:30:16.000Z | 2019-04-12T12:30:16.000Z | include/param.h | sytelus/firmware | 52f31c61c3bb90d17daacebaf908b2850a23a71e | [
"BSD-3-Clause"
] | null | null | null | include/param.h | sytelus/firmware | 52f31c61c3bb90d17daacebaf908b2850a23a71e | [
"BSD-3-Clause"
] | 1 | 2019-10-22T15:30:56.000Z | 2019-10-22T15:30:56.000Z | /*
* Copyright (c) 2017, James Jackson and Daniel Koch, BYU MAGICC Lab
*
* 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 copyrigh... | 26.359873 | 102 | 0.722967 |
932eb60315e2aa874db56ad1c069acb02d7ef419 | 154 | h | C | include/pocas/core/string.h | Zirias/pocas | 987e79acde3779654a8502ac9c1bebd81a823d6a | [
"BSD-2-Clause"
] | null | null | null | include/pocas/core/string.h | Zirias/pocas | 987e79acde3779654a8502ac9c1bebd81a823d6a | [
"BSD-2-Clause"
] | null | null | null | include/pocas/core/string.h | Zirias/pocas | 987e79acde3779654a8502ac9c1bebd81a823d6a | [
"BSD-2-Clause"
] | null | null | null | #ifndef POCAS_CORE_STRING_H
#define POCAS_CORE_STRING_H
#include <pocas/core/decl.h>
DECLEXPORT char *PC_String_copy(const char *self);
#endif
| 17.111111 | 51 | 0.75974 |
932fe44875180ed6b78a1bf4e67c2df92617f826 | 733 | c | C | polynomialSum/main.c | zhongchen43/data-structure-algorithms | 96e1c99c2f052e25d140f90fcb1331b37ed6ee84 | [
"MIT"
] | null | null | null | polynomialSum/main.c | zhongchen43/data-structure-algorithms | 96e1c99c2f052e25d140f90fcb1331b37ed6ee84 | [
"MIT"
] | null | null | null | polynomialSum/main.c | zhongchen43/data-structure-algorithms | 96e1c99c2f052e25d140f90fcb1331b37ed6ee84 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <math.h>
#include <time.h>
#define MAXN 10
//compute f = a0 + a1*x + ...an * (x^n)
// normal impletation
double f(int n, double a[], double x)
{
double p = a[0];
for(int i=1;i<=n;i++)
p += (a[i] * pow(x, i));
return p;
}
// opt
double fOpt(int n, double a[], double x)
{... | 17.046512 | 40 | 0.503411 |
93310d34e54a7742f5a5135b1be5d42665dfc3a8 | 7,769 | c | C | Plugins/MaxQ/Source/ThirdParty/CSpice_Library/cspice/src/cspice/vlcom_c.c | gamergenic/Spaceflight-Toolkit-For-Unreal-Engine-5 | 11d81127dd296595bca30cb1565ff3b813210230 | [
"MIT"
] | 6 | 2022-01-21T19:58:08.000Z | 2022-03-28T12:32:24.000Z | Plugins/MaxQ/Source/ThirdParty/CSpice_Library/cspice/src/cspice/vlcom_c.c | gamergenic/Spaceflight-Toolkit-For-Unreal-Engine-5 | 11d81127dd296595bca30cb1565ff3b813210230 | [
"MIT"
] | null | null | null | Plugins/MaxQ/Source/ThirdParty/CSpice_Library/cspice/src/cspice/vlcom_c.c | gamergenic/Spaceflight-Toolkit-For-Unreal-Engine-5 | 11d81127dd296595bca30cb1565ff3b813210230 | [
"MIT"
] | 4 | 2022-02-12T10:01:40.000Z | 2022-03-28T14:28:52.000Z | /*
-Procedure vlcom_c ( Vector linear combination, 3 dimensions )
-Abstract
Compute a vector linear combination of two double precision,
3-dimensional vectors.
-Disclaimer
THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE
CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S.
GOVERNMENT... | 25.388889 | 73 | 0.564809 |
93326a3e1bf8c744de86a4089b6a4c3c15f81107 | 1,584 | h | C | sdk/include/feos/types.h | fincs/FeOS-v2 | 369bed95e8f472f05a1e6995d30673e158bf812e | [
"MIT"
] | 1 | 2019-01-22T18:52:00.000Z | 2019-01-22T18:52:00.000Z | sdk/include/feos/types.h | fincs/FeOS-v2 | 369bed95e8f472f05a1e6995d30673e158bf812e | [
"MIT"
] | null | null | null | sdk/include/feos/types.h | fincs/FeOS-v2 | 369bed95e8f472f05a1e6995d30673e158bf812e | [
"MIT"
] | null | null | null | #pragma once
// These are supplied by the compiler
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include <stdarg.h>
#include <limits.h>
typedef uint8_t byte_t;
typedef uint16_t hword_t;
typedef uint32_t word_t;
typedef uint64_t dword_t;
typedef int8_t char_t;
typedef int16_t short_t;
typedef int32_t lo... | 25.967213 | 155 | 0.787247 |
9333e3d0da94e01ad3522e5ff9b83258475eb135 | 680 | c | C | io/src/sput/fox_sputnbr.c | fox-tek/libfox | da842455e90e1152d4fd1dd8701c459fb8702657 | [
"MIT"
] | 2 | 2021-06-30T22:37:42.000Z | 2021-11-08T09:35:52.000Z | io/src/sput/fox_sputnbr.c | fox-tek/libfox | da842455e90e1152d4fd1dd8701c459fb8702657 | [
"MIT"
] | null | null | null | io/src/sput/fox_sputnbr.c | fox-tek/libfox | da842455e90e1152d4fd1dd8701c459fb8702657 | [
"MIT"
] | null | null | null | /*
** (not) EPITECH PROJECT, 2021
** Libfox
** File description:
** Write a number to an already allocated string
*/
#include <stdbool.h>
#include <sys/types.h>
#include "fox_define.h"
#include "fox_math.h"
#include "fox_string.h"
__Anonnull ssize_t fox_sputnbr(str_t s, llong_t n)
{
bool isneg = (n < 0);
siz... | 20 | 50 | 0.507353 |
93342c02223d3cd3ee3ee69f7c3ce81439dbba91 | 155 | h | C | ios/RCTTICBridgeView.h | kzyman/react-native-tx-education | 2f95c81ecde7a7752c9faf91fcde4815b97f6e2b | [
"MIT"
] | null | null | null | ios/RCTTICBridgeView.h | kzyman/react-native-tx-education | 2f95c81ecde7a7752c9faf91fcde4815b97f6e2b | [
"MIT"
] | null | null | null | ios/RCTTICBridgeView.h | kzyman/react-native-tx-education | 2f95c81ecde7a7752c9faf91fcde4815b97f6e2b | [
"MIT"
] | null | null | null | #import <Foundation/Foundation.h>
#import <TEduBoard/TEduBoard.h>
#import <React/RCTViewManager.h>
@interface TICBridgeViewManager : RCTViewManager
@end
| 19.375 | 48 | 0.8 |
9334e0f38e9331f669dc8e065bc03296ab3197d3 | 977 | c | C | ft_strclr.c | Maljean/libft | a5e83fd6e869202da44ff6d5f581ae4e11f830ad | [
"MIT"
] | null | null | null | ft_strclr.c | Maljean/libft | a5e83fd6e869202da44ff6d5f581ae4e11f830ad | [
"MIT"
] | null | null | null | ft_strclr.c | Maljean/libft | a5e83fd6e869202da44ff6d5f581ae4e11f830ad | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: ... | 48.85 | 80 | 0.14739 |
9338c23bfdcf65db0540e15d6186649b76e1403d | 15,636 | c | C | src/main.c | ArneDJ/terragen | 6f7bd66526f8e84919273fa9d1ee9879a47379e1 | [
"MIT"
] | null | null | null | src/main.c | ArneDJ/terragen | 6f7bd66526f8e84919273fa9d1ee9879a47379e1 | [
"MIT"
] | null | null | null | src/main.c | ArneDJ/terragen | 6f7bd66526f8e84919273fa9d1ee9879a47379e1 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <time.h>
#include <SDL2/SDL.h>
#include <GL/glew.h>
#include <GL/gl.h>
#include "gmath.h"
#include "camera.h"
#include "mesh.h"
#include "shader.h"
#include "texture.h"
#include "imp.h"
#include "voronoi.h"
#define IIR_GAUSS_BLUR_IMPLEMENTATION
#include "gauss.h"
#define WINDOW_WIDTH 1920
#... | 27.57672 | 138 | 0.682911 |
933b6562065e26ec6b54bff324ee38b250f516a9 | 4,295 | c | C | src/util.c | Sigurdurhelga/blabbr | e050cfc4de10f3aadd3b5a48c1fb8bed365aa0b4 | [
"MIT"
] | 1 | 2018-08-17T05:43:20.000Z | 2018-08-17T05:43:20.000Z | src/util.c | jamesrobb/blabbr | e050cfc4de10f3aadd3b5a48c1fb8bed365aa0b4 | [
"MIT"
] | null | null | null | src/util.c | jamesrobb/blabbr | e050cfc4de10f3aadd3b5a48c1fb8bed365aa0b4 | [
"MIT"
] | null | null | null | // open ssl headers
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/bio.h>
#include <locale.h>
#include "util.h"
void gdateweekday_to_gstring(GDateWeekday day, GString *name) {
switch(day) {
case G_DATE_BAD_WEEKDAY:
g_string_append(name, "Non");
return;
case G_DATE_MONDAY:
g_string_... | 22.025641 | 98 | 0.650524 |
933ba6eee60f4df7ebb7bf5e304f46c7fb31c791 | 2,337 | c | C | csc501-lab3/mon/monboot.c | zyczyh/OS-Course-Project-3 | d929b87fc678762cdcda7e4aaf328c8e4ad2ba04 | [
"MIT"
] | 1 | 2019-01-24T02:34:02.000Z | 2019-01-24T02:34:02.000Z | csc501-lab3/mon/monboot.c | zyczyh/OS-Course-Project-3 | d929b87fc678762cdcda7e4aaf328c8e4ad2ba04 | [
"MIT"
] | null | null | null | csc501-lab3/mon/monboot.c | zyczyh/OS-Course-Project-3 | d929b87fc678762cdcda7e4aaf328c8e4ad2ba04 | [
"MIT"
] | 1 | 2021-02-16T22:28:50.000Z | 2021-02-16T22:28:50.000Z | /*
* boot_xinu.c - Bootstrap Xinu from network
*
* Author: John c. Lin
* Dept. of Computer Science
* Purdue University
* Date: Fri Jun 16 15:42:26 1995
*/
#include <./mon/monnetwork.h>
#include <./mon/monitor.h>
#include <stdio.h>
int mon_boot_state;
struct netif *mon_eth_pni = &mon_nif[0]; /* network int... | 21.638889 | 75 | 0.572101 |
933c4a701e33451785fccc84f275d276184c3445 | 26,793 | c | C | common/m6502/m6502.c | liberodark/potator | 2873c42f28012992c1132fd083787f5b76b99418 | [
"Unlicense"
] | 2 | 2019-10-01T22:35:53.000Z | 2019-11-05T01:08:25.000Z | common/m6502/m6502.c | liberodark/potator | 2873c42f28012992c1132fd083787f5b76b99418 | [
"Unlicense"
] | 2 | 2021-03-12T22:14:20.000Z | 2021-07-09T08:56:50.000Z | common/m6502/m6502.c | liberodark/potator | 2873c42f28012992c1132fd083787f5b76b99418 | [
"Unlicense"
] | 6 | 2021-03-10T16:49:10.000Z | 2021-10-12T00:21:29.000Z | /** M65C02: portable 65C02 emulator **************************/
/** **/
/** M65C02.c **/
/** **/
/** This file contains implementation for 65C02 CPU. Don't **/
... | 48.892336 | 117 | 0.42261 |
933c6e3f91c0e365ac6edde7138ab3836b04abb7 | 637 | h | C | Map.h | Cyclohexanol/QSurvival | 80a47acec618f73c6d1147cc5f8e148193806a3e | [
"MIT"
] | null | null | null | Map.h | Cyclohexanol/QSurvival | 80a47acec618f73c6d1147cc5f8e148193806a3e | [
"MIT"
] | null | null | null | Map.h | Cyclohexanol/QSurvival | 80a47acec618f73c6d1147cc5f8e148193806a3e | [
"MIT"
] | null | null | null | #ifndef __MAP_H__
#define __MAP_H__
#include <vector> // Using vector to be able to resize the array according to the input.
enum Areas // Using enum to pre define the data type.
{
Land=1,
Water=2,
Food=3,
OutOfArea=-1
};
// Creating the class for the Grid/Map.
class Map
{
private:
std::vector<Areas> gri... | 15.925 | 110 | 0.659341 |
9340bfb05759b0acac6c90942e02418ca98c0293 | 1,688 | h | C | BreaksPPU/PPUSim/hv_decoder.h | ogamespec/breaknes | b053afb6924ca661f71a129766e8945f64f6ec7b | [
"CC0-1.0"
] | 2 | 2022-03-10T16:56:33.000Z | 2022-03-20T13:28:20.000Z | BreaksPPU/PPUSim/hv_decoder.h | ogamespec/breaknes | b053afb6924ca661f71a129766e8945f64f6ec7b | [
"CC0-1.0"
] | null | null | null | BreaksPPU/PPUSim/hv_decoder.h | ogamespec/breaknes | b053afb6924ca661f71a129766e8945f64f6ec7b | [
"CC0-1.0"
] | 1 | 2022-03-10T12:06:25.000Z | 2022-03-10T12:06:25.000Z | // H/V Decoder
#pragma once
namespace PPUSim
{
union HDecoderInput
{
struct
{
unsigned H8 : 1; // input 0
unsigned n_H8 : 1;
unsigned H7 : 1;
unsigned n_H7 : 1;
unsigned H6 : 1;
unsigned n_H6 : 1;
unsigned H5 : 1;
unsigned n_H5 : 1;
unsigned H4 : 1;
unsigned n_H4 : 1;
unsigned ... | 19.627907 | 124 | 0.632701 |
9341e55d18611f8adf6c3980f1ab53ca18331b62 | 3,475 | h | C | Classes/data/Building.h | thales-vogso/deer | f3492538881f632b55be657bb9529027897b0e63 | [
"Apache-2.0"
] | null | null | null | Classes/data/Building.h | thales-vogso/deer | f3492538881f632b55be657bb9529027897b0e63 | [
"Apache-2.0"
] | null | null | null | Classes/data/Building.h | thales-vogso/deer | f3492538881f632b55be657bb9529027897b0e63 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
* @desc 建筑物数据
* @date 2015-1-7
* @author 110101
* @file data/Item.h
******************************************************************************/
#ifndef __DATA_BUILDING_H__
#define __DATA_BUILDING_H__
#include "cocos2d.h"
#include "... | 15.04329 | 79 | 0.557986 |
93423f0016c68cef2eaa04d6fcd60c2a25b93aad | 770 | h | C | include/shan/thread/spinlock.h | shanpark/Shan.Lib | a57de39a026788ddf67e5c2dbb4cae2f3ec62396 | [
"BSD-2-Clause"
] | 1 | 2017-05-05T03:05:18.000Z | 2017-05-05T03:05:18.000Z | include/shan/thread/spinlock.h | shanpark/Shan.Lib | a57de39a026788ddf67e5c2dbb4cae2f3ec62396 | [
"BSD-2-Clause"
] | null | null | null | include/shan/thread/spinlock.h | shanpark/Shan.Lib | a57de39a026788ddf67e5c2dbb4cae2f3ec62396 | [
"BSD-2-Clause"
] | null | null | null | //
// spinlock.h
// Shan.Thread
//
// Created by Sung Han Park on 2017. 5. 13..
// Copyright © 2017 Sung Han Park. All rights reserved.
//
#ifndef shan_thread_spinlock_h
#define shan_thread_spinlock_h
#include <shan/object.h>
namespace shan {
namespace thread {
/**
기대되는 평균 waiting 시간이 thread context switching ... | 17.906977 | 66 | 0.697403 |
9343aa935332e9495517af6b096a449f79fc0730 | 2,728 | h | C | cocos2d-x-2.2/samples/Cpp/TestCpp/Classes/PerformanceTest/PerformanceAllocTest.h | centrallydecentralized/ufo | 29e8f9ce4ce92635ed22f8a051c917cfe6e0313d | [
"BSD-3-Clause"
] | 58 | 2015-01-05T04:40:48.000Z | 2021-12-17T06:01:28.000Z | cocos2d-x-2.2/samples/Cpp/TestCpp/Classes/PerformanceTest/PerformanceAllocTest.h | centrallydecentralized/ufo | 29e8f9ce4ce92635ed22f8a051c917cfe6e0313d | [
"BSD-3-Clause"
] | null | null | null | cocos2d-x-2.2/samples/Cpp/TestCpp/Classes/PerformanceTest/PerformanceAllocTest.h | centrallydecentralized/ufo | 29e8f9ce4ce92635ed22f8a051c917cfe6e0313d | [
"BSD-3-Clause"
] | 46 | 2015-01-03T06:20:54.000Z | 2020-04-18T13:32:52.000Z | /*
*
*/
#ifndef __PERFORMANCE_ALLOC_TEST_H__
#define __PERFORMANCE_ALLOC_TEST_H__
#include <string>
#include "PerformanceTest.h"
#include "support/CCProfiling.h"
class AllocBasicLayer : public PerformBasicLayer
{
public:
AllocBasicLayer(bool bControlMenuVisible, int nMaxCases = 0, int nCurCase = 0);
virt... | 22.92437 | 83 | 0.725073 |
9344f96dfa523af0d29261503c822dd556aa257e | 448 | h | C | SemoCore/com.innerfunction.semo/IFConfigurable.h | innerfunction/semo-core-ios | f392fc8fde3e93db1bd69e80e93e7ed93df9278b | [
"Apache-2.0"
] | null | null | null | SemoCore/com.innerfunction.semo/IFConfigurable.h | innerfunction/semo-core-ios | f392fc8fde3e93db1bd69e80e93e7ed93df9278b | [
"Apache-2.0"
] | null | null | null | SemoCore/com.innerfunction.semo/IFConfigurable.h | innerfunction/semo-core-ios | f392fc8fde3e93db1bd69e80e93e7ed93df9278b | [
"Apache-2.0"
] | null | null | null | //
// IFConfigurable.h
// SemoCore
//
// Created by Julian Goacher on 22/04/2015.
// Copyright (c) 2015 InnerFunction. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IFConfiguration.h"
/**
* Protocol for objects which wish to control their own configuration.
*/
@protocol IFConfigurable <NSOb... | 21.333333 | 70 | 0.729911 |
93459237130a2fec577be40ecd1301e5f047fae8 | 2,774 | h | C | PrivateFrameworks/VectorKit.framework/VKSceneConfiguration.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/VectorKit.framework/VKSceneConfiguration.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/VectorKit.framework/VKSceneConfiguration.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/VectorKit.framework/VectorKit
*/
@interface VKSceneConfiguration : NSObject {
unsigned char _cameraMode;
unsigned long long _currentGroupedManeuverCount;
unsigned char _currentIncidentType;
unsigned char _currentManeuverCom... | 40.794118 | 189 | 0.726027 |
9345f9380e1ce25b9754eb703608bbe2d12fd542 | 8,196 | h | C | examples/ios-material-ui/app/iOSStoryBookDemo/Pods/MotionAnimator/src/MDMAnimatableKeyPaths.h | hborawski/native | bef9d410d39aa945b328b588a8f624b94780009c | [
"MIT"
] | 102 | 2020-09-03T09:57:51.000Z | 2022-03-31T10:15:07.000Z | examples/ios-material-ui/app/iOSStoryBookDemo/Pods/MotionAnimator/src/MDMAnimatableKeyPaths.h | hborawski/native | bef9d410d39aa945b328b588a8f624b94780009c | [
"MIT"
] | 68 | 2020-10-30T22:39:36.000Z | 2022-03-25T22:53:45.000Z | iosApp/Pods/MotionAnimator/src/MDMAnimatableKeyPaths.h | archiegq21/DroidconKotlin | 8c3ec05448d586037c924f245f77fcd0150f0476 | [
"Apache-2.0"
] | 47 | 2017-09-17T11:16:49.000Z | 2021-08-09T06:15:40.000Z | /*
Copyright 2017-present The Material Motion Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... | 30.243542 | 96 | 0.804905 |
93489ac229d51c97a70e62005025223f8e92b5c2 | 1,517 | h | C | src/file.h | tamisoft/rtty | 9a7db400093bbc02c0aa27041db3b75cc5c96c5c | [
"MIT"
] | 1 | 2019-10-06T12:41:13.000Z | 2019-10-06T12:41:13.000Z | src/file.h | tamisoft/rtty | 9a7db400093bbc02c0aa27041db3b75cc5c96c5c | [
"MIT"
] | null | null | null | src/file.h | tamisoft/rtty | 9a7db400093bbc02c0aa27041db3b75cc5c96c5c | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com>
*
* 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 right... | 29.173077 | 81 | 0.722479 |
934b8c2870b94dac495078ef2fd4b2328fd9cd99 | 1,045 | h | C | SocketTCP.h | Upd4ting/CLib | 91b6be60678d5c3bb779237492144a225f1f5f33 | [
"MIT"
] | null | null | null | SocketTCP.h | Upd4ting/CLib | 91b6be60678d5c3bb779237492144a225f1f5f33 | [
"MIT"
] | null | null | null | SocketTCP.h | Upd4ting/CLib | 91b6be60678d5c3bb779237492144a225f1f5f33 | [
"MIT"
] | null | null | null | #pragma once
#include "Socket.h"
void* cThreadFunctionA(void *param);
class SocketTCP : public Socket
{
private:
pthread_t thread;
int ssend(void *data, size_t size, int flag = 0);
int rrecv(void *data, size_t size, int flag = 0);
SocketTCP(const SocketTCP& so);
public:
friend void* cThreadFunctionA(void *par... | 24.880952 | 74 | 0.704306 |
934cbab3867c1926b8ae8ad268e8406c4918eff8 | 448 | h | C | Animations/PNG.h | Bestmer/CommonAnimations | 61a3cb137aa07af2547da9ae3676fe825fcb4bb4 | [
"MIT"
] | null | null | null | Animations/PNG.h | Bestmer/CommonAnimations | 61a3cb137aa07af2547da9ae3676fe825fcb4bb4 | [
"MIT"
] | null | null | null | Animations/PNG.h | Bestmer/CommonAnimations | 61a3cb137aa07af2547da9ae3676fe825fcb4bb4 | [
"MIT"
] | null | null | null | //
// PNG.h
// PNGIconsCompressTool
//
// Created by YouXianMing on 2017/11/7.
// Copyright © 2017年 Techcode. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface PNG : NSObject
@property (nonatomic) NSString *fileName;
@property (nonatomic) CGFloat basePt;
@property (... | 18.666667 | 52 | 0.678571 |
934ef535bbd6bf724de1b73e24d5a4ec04dd52c8 | 151 | h | C | project490/src/component399/headers/component399/lib29.h | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:25:24.000Z | 2016-11-23T17:25:27.000Z | project490/src/component399/headers/component399/lib29.h | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 15 | 2016-09-15T03:19:32.000Z | 2016-09-17T09:15:32.000Z | project490/src/component399/headers/component399/lib29.h | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2019-11-09T16:26:55.000Z | 2021-01-13T10:51:09.000Z | #ifndef PROJECT_HEADER_component399_29_H
#define PROJECT_HEADER_component399_29_H
int component399_29();
#endif // PROJECT_HEADER_component399_29_H | 18.875 | 42 | 0.86755 |
935195bed750f976c72863db809398b76ab8ef6a | 294 | c | C | Introduction/Overview/cels2farh.c | abhi1506manu/C-Programming | 38d2e62339c6248a4f907672277f7f4a3d47091a | [
"MIT"
] | 24 | 2017-06-13T21:18:32.000Z | 2022-03-07T08:45:59.000Z | Introduction/Overview/cels2farh.c | abhi1506manu/C-Programming | 38d2e62339c6248a4f907672277f7f4a3d47091a | [
"MIT"
] | 1 | 2020-10-15T15:34:24.000Z | 2020-10-15T15:34:24.000Z | Introduction/Overview/cels2farh.c | abhi1506manu/C-Programming | 38d2e62339c6248a4f907672277f7f4a3d47091a | [
"MIT"
] | 28 | 2017-12-15T03:11:19.000Z | 2022-01-09T09:13:47.000Z | #include <stdio.h>
int main()
{
double celsius = 0.0;
double fahrenheit = 0.0;
printf("Enter the temp in deg celsius: ");
scanf("%lf", &celsius);
fahrenheit = celsius * 9/5 + 32;
printf("%lf deg celsius = %lf deg fahrenheit\n", celsius, fahrenheit);
return 0;
}
| 18.375 | 74 | 0.598639 |
9356f62933d095a890a11ca67061d397f24f778f | 940 | h | C | src/prod/src/data/tstore/Index.h | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/data/tstore/Index.h | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/data/tstore/Index.h | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Data
{... | 26.111111 | 98 | 0.476596 |
935bbbb64fc226dfce32f02d933a8dccc0b681c9 | 642 | c | C | spew.c | kbrafford/spew | 60c72426179facbd126fedbf5a3bb79d093932fc | [
"MIT"
] | null | null | null | spew.c | kbrafford/spew | 60c72426179facbd126fedbf5a3bb79d093932fc | [
"MIT"
] | null | null | null | spew.c | kbrafford/spew | 60c72426179facbd126fedbf5a3bb79d093932fc | [
"MIT"
] | null | null | null | #include <sys/syscall.h>
#include <unistd.h>
extern char _binary__work_resource_bin_start[];
extern char _binary__work_resource_bin_end[];
#define _BATCH_SIZE 1024
int spew_resource(char *ptr, int len)
{
int num_batch_packets = len / _BATCH_SIZE;
int leftover = len % _BATCH_SIZE;
while(num_batch_packets--)
... | 20.709677 | 133 | 0.755452 |