hexsha stringlengths 40 40 | size int64 22 2.4M | ext stringclasses 5
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 260 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 260 | max_issues_repo_name stringlengths 5 109 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 1 67k ⌀ | 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 260 | max_forks_repo_name stringlengths 5 109 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 22 2.4M | avg_line_length float64 5 169k | max_line_length int64 5 786k | alphanum_fraction float64 0.06 0.95 | matches listlengths 1 11 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
468a87ea5be096f236c2d431ed9fe681337e902d | 493 | h | C | OXGame/Interface/UIMessageBox.h | kreuwont/OXGame | 6de134161f2bb67c09c99f52b2ec966c31aed4fd | [
"MIT"
] | null | null | null | OXGame/Interface/UIMessageBox.h | kreuwont/OXGame | 6de134161f2bb67c09c99f52b2ec966c31aed4fd | [
"MIT"
] | null | null | null | OXGame/Interface/UIMessageBox.h | kreuwont/OXGame | 6de134161f2bb67c09c99f52b2ec966c31aed4fd | [
"MIT"
] | null | null | null | #ifndef _UI_MESSAGE_BOX_H_
#define _UI_MESSAGE_BOX_H_
class UIBase;
class UIMessageBox : public UIBase
{
public:
UIMessageBox(int realX, int realY, int realWidth, int realHeigth, UIBase* pParent);
~UIMessageBox();
void Render();
void setText(std::string text) { m_uiText.setText(text); }
std::string getText() c... | 18.961538 | 84 | 0.744422 | [
"render"
] |
468c498628979206f7c86ff6c3d6dfda473535a2 | 23,510 | c | C | subsys/net/lib/lwm2m/lwm2m_rw_json.c | MartinFletzer/zephyr | 2a175b6abdd47c85345029b19c358a3dd8c611aa | [
"Apache-2.0"
] | 1 | 2022-03-21T12:50:43.000Z | 2022-03-21T12:50:43.000Z | subsys/net/lib/lwm2m/lwm2m_rw_json.c | thulithwilfred/zephyr | 0e4d7055e70b752c1dbc5bc3de8f0399dac76fe9 | [
"Apache-2.0"
] | 3 | 2021-10-14T04:32:03.000Z | 2021-11-12T09:02:16.000Z | subsys/net/lib/lwm2m/lwm2m_rw_json.c | thulithwilfred/zephyr | 0e4d7055e70b752c1dbc5bc3de8f0399dac76fe9 | [
"Apache-2.0"
] | 1 | 2022-02-20T21:00:33.000Z | 2022-02-20T21:00:33.000Z | /*
* Copyright (c) 2017 Linaro Limited
* Copyright (c) 2018-2019 Foundries.io
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* Copyright (c) 2016, Eistec AB.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... | 23.369781 | 99 | 0.704551 | [
"object"
] |
46a080e07ceae271b6a868f1f544348bf87c5d35 | 2,380 | h | C | suif/include/transform/lptrans.h | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | 5 | 2020-04-11T21:30:19.000Z | 2021-12-04T16:16:09.000Z | suif/include/transform/lptrans.h | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | suif/include/transform/lptrans.h | paulhjkelly/taskgraph-metaprogramming | 54c4e2806a97bec555a90784ab4cf0880660bf89 | [
"BSD-3-Clause"
] | null | null | null | /* file "lptrans.h" */
/* Copyright (c) 1994 Stanford University
All rights reserved.
This software is provided under the terms described in
the "suif_copyright.h" include file. */
#include <suif_copyright.h>
/* Unimodular loop transformations and tiling */
#ifndef LPTRANS_H
#define LPTRANS_H
#prag... | 22.45283 | 79 | 0.659664 | [
"transform"
] |
f219eb010a75f377e07b0e5a60f70c4f77556af1 | 876 | h | C | NewLLDebugTool/Components/Other/Function/LLBugReportSettingModel.h | didiaodanding/TestPods | f894a1633933f4ccf0ead56e78a296117037c82e | [
"MIT"
] | 1 | 2020-05-28T03:28:06.000Z | 2020-05-28T03:28:06.000Z | NewLLDebugTool/Components/Other/Function/LLBugReportSettingModel.h | didiaodanding/TestPods | f894a1633933f4ccf0ead56e78a296117037c82e | [
"MIT"
] | null | null | null | NewLLDebugTool/Components/Other/Function/LLBugReportSettingModel.h | didiaodanding/TestPods | f894a1633933f4ccf0ead56e78a296117037c82e | [
"MIT"
] | null | null | null | //
// LLBugReportSettingModel.h
// LLDebugToolDemo
//
// Created by apple on 2019/8/3.
// Copyright © 2019 li. All rights reserved.
//
#import "LLStorageModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface LLBugReportSettingModel : LLStorageModel
/**
* workspace_id
*/
@property (copy , nonatomic , nonnull) NSString *... | 17.52 | 73 | 0.703196 | [
"model"
] |
f241cf4357c53e9178fdf8514d65ed0feebecc70 | 1,775 | h | C | PlanetSystem.h | simeonradivoev/PlanetarySystem | 08fbb9c86f6a591590a60be3d14e2c2c1aa09212 | [
"MIT"
] | 12 | 2015-07-07T21:53:14.000Z | 2022-01-04T01:49:18.000Z | PlanetSystem.h | simeonradivoev/PlanetarySystem | 08fbb9c86f6a591590a60be3d14e2c2c1aa09212 | [
"MIT"
] | null | null | null | PlanetSystem.h | simeonradivoev/PlanetarySystem | 08fbb9c86f6a591590a60be3d14e2c2c1aa09212 | [
"MIT"
] | 5 | 2016-08-03T22:49:27.000Z | 2021-08-30T12:33:11.000Z | #pragma once
#ifndef PLANET_SYSTEM_H
#define PLANET_SYSTEM_H
#include "Scene.h"
#include "texture2D.h"
#include "gui.h"
#include <list>
#include <glm\glm.hpp>
#include <glm\gtx\quaternion.hpp>
#include <queue>
#define GRID_CELLS_COUNT 256
#define ORBIT_PREDITION_STEPS 512
#define ORBIT_PREDITION_STEP_... | 27.734375 | 67 | 0.753803 | [
"transform"
] |
f2451d8191b9d926bebb29f455d6cc36c06b2122 | 5,270 | h | C | filedistribution/src/vespa/filedistribution/model/zkfacade.h | bowlofstew/vespa | 5212c7a5568769eadb5c5d99b6a503a70c82af48 | [
"Apache-2.0"
] | null | null | null | filedistribution/src/vespa/filedistribution/model/zkfacade.h | bowlofstew/vespa | 5212c7a5568769eadb5c5d99b6a503a70c82af48 | [
"Apache-2.0"
] | 1 | 2021-01-21T01:37:37.000Z | 2021-01-21T01:37:37.000Z | filedistribution/src/vespa/filedistribution/model/zkfacade.h | bowlofstew/vespa | 5212c7a5568769eadb5c5d99b6a503a70c82af48 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <string>
#include <vector>
#include <map>
#include <mutex>
#include <vespa/filedistribution/common/buffer.h>
#include <vespa/filedistribution/common/exception.h>
#include <vespa... | 35.608108 | 139 | 0.714801 | [
"vector"
] |
f245811580f6145222defda7ed4b26c4f4c444e6 | 9,679 | h | C | ds/security/base/lsa/server/lsads.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/base/lsa/server/lsads.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/base/lsa/server/lsads.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
lsads.h
Abstract:
Private macros/definitions/prototypes for implementing portions of the LSA store
in the DS and in the registry, simultaneously
Author:
Mac McLain (MacM) Jan 17, 1997
Environment:
... | 22.047836 | 93 | 0.673107 | [
"object"
] |
f245b591170bdcf21bd7e23e927c435d6e0a638e | 404 | h | C | Textures/include/GameApp.h | JeffreyMJohnson/Graphics | fed524574c11281a2f0afe21ac6cc9d521930951 | [
"MIT"
] | null | null | null | Textures/include/GameApp.h | JeffreyMJohnson/Graphics | fed524574c11281a2f0afe21ac6cc9d521930951 | [
"MIT"
] | null | null | null | Textures/include/GameApp.h | JeffreyMJohnson/Graphics | fed524574c11281a2f0afe21ac6cc9d521930951 | [
"MIT"
] | null | null | null | #pragma once
#include <gl_core_4_4.h>
#include <GLFW\glfw3.h>
#include <aie\Gizmos.h>
#include <glm\glm.hpp>
#include <glm\ext.hpp>
#include <glm\gtx\transform.hpp>
#include "Timer.h"
#include "Camera.h"
class GameApp
{
public:
virtual bool StartUp() = 0;
virtual void ShutDown() = 0;
virtual bool Update() = 0;
vi... | 17.565217 | 32 | 0.685644 | [
"transform"
] |
f2466fa900e6c54bbc658b1753c6fa5430313743 | 25,942 | h | C | PiDashboardBackend/src/manager/db_manager.h | disaster0203/PiDashboard | 31570be97893663af2695621c9a558a101637d20 | [
"MIT"
] | null | null | null | PiDashboardBackend/src/manager/db_manager.h | disaster0203/PiDashboard | 31570be97893663af2695621c9a558a101637d20 | [
"MIT"
] | null | null | null | PiDashboardBackend/src/manager/db_manager.h | disaster0203/PiDashboard | 31570be97893663af2695621c9a558a101637d20 | [
"MIT"
] | null | null | null | #pragma once
#include "../dto/sensor_dto.h"
#include "../dto/extremas_dto.h"
#include "../dto/query_object.h"
#include "../utils/time_converter.h"
#include <limits>
#include <map>
#include <mysql/mysql.h>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include <iostream>
#include <memory>... | 51.987976 | 280 | 0.698481 | [
"object",
"vector"
] |
f2637572730e03cd3cbb25f91c4ee83c02a9431b | 553 | h | C | OpenCVGraph/src/GraphEngine.h | WhiteMoll/OpenCVGraph | 6d5008250a880335e1a5a96fd556b50fed34bb19 | [
"MIT"
] | null | null | null | OpenCVGraph/src/GraphEngine.h | WhiteMoll/OpenCVGraph | 6d5008250a880335e1a5a96fd556b50fed34bb19 | [
"MIT"
] | 12 | 2016-07-10T21:29:34.000Z | 2016-07-31T17:09:24.000Z | OpenCVGraph/src/GraphEngine.h | WhiteMoll/OpenCVGraph | 6d5008250a880335e1a5a96fd556b50fed34bb19 | [
"MIT"
] | null | null | null | #ifndef _GRAPHENGINE_H_
#define _GRAPHENGINE_H_
#include <memory>
#include <vector>
#include "Node.h"
class GraphView;
class GraphEngine
{
private:
std::vector<std::shared_ptr<Node>> m_nodes;
GraphView* m_graphView;
bool OneShotRecursive(Node* node);
public:
GraphEngine(GraphView* parent);
~GraphEngine();
void ... | 19.75 | 72 | 0.746835 | [
"vector"
] |
f27ab17f3fb12dceff7e89998f266dd012d42f8a | 5,050 | c | C | interfaces/dia/plug-ins/python/python.c | krattai/monoflow | d777b8f345c5f2910114af7a186dc3bb6fe14aaf | [
"BSD-2-Clause"
] | 1 | 2021-05-04T16:35:42.000Z | 2021-05-04T16:35:42.000Z | interfaces/dia/plug-ins/python/python.c | krattai/monoflow | d777b8f345c5f2910114af7a186dc3bb6fe14aaf | [
"BSD-2-Clause"
] | null | null | null | interfaces/dia/plug-ins/python/python.c | krattai/monoflow | d777b8f345c5f2910114af7a186dc3bb6fe14aaf | [
"BSD-2-Clause"
] | 1 | 2021-05-04T16:35:35.000Z | 2021-05-04T16:35:35.000Z | /* Python plug-in for dia
* Copyright (C) 1999 James Henstridge
* Copyright (C) 2000 Hans Breuer
*
* 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
* ... | 28.693182 | 91 | 0.680198 | [
"object"
] |
f27e62e54dac3b3f3c50dd70bf5b75a9daa29b27 | 373 | h | C | HW10/src/shape.h | hsuan81/2020SPRING_OOP_NTUT | 670c24add9de18ff193adbb6c9358c550e767a56 | [
"MIT"
] | null | null | null | HW10/src/shape.h | hsuan81/2020SPRING_OOP_NTUT | 670c24add9de18ff193adbb6c9358c550e767a56 | [
"MIT"
] | null | null | null | HW10/src/shape.h | hsuan81/2020SPRING_OOP_NTUT | 670c24add9de18ff193adbb6c9358c550e767a56 | [
"MIT"
] | null | null | null | #ifndef SHAPE_H
#define SHAPE_H
class Shape{
protected:
Shape(std::string name){
_name = name;
}
public:
virtual double perimeter() const = 0;
virtual double area() const = 0;
virtual std::string toString() const = 0;
virtual ~Shape(){}
std::string name() const{
return _na... | 15.541667 | 45 | 0.605898 | [
"shape"
] |
f27f3af44c59c83789e83c9046e4b08b3c79bc0b | 469 | h | C | engine/modules/spline/editor/spline_control_point_editor.h | Texas-C/echo | 486acc57c9149363206a2367c865a2ccbac69975 | [
"MIT"
] | 675 | 2019-02-07T01:23:19.000Z | 2022-03-28T05:45:10.000Z | engine/modules/spline/editor/spline_control_point_editor.h | Texas-C/echo | 486acc57c9149363206a2367c865a2ccbac69975 | [
"MIT"
] | 843 | 2019-01-25T01:06:46.000Z | 2022-03-16T11:15:53.000Z | engine/modules/spline/editor/spline_control_point_editor.h | blab-liuliang/Echo | ba75816e449d2f20a375ed44b0f706a6b7bc21a1 | [
"MIT"
] | 83 | 2019-02-20T06:18:46.000Z | 2022-03-20T09:36:09.000Z | #pragma once
#include "../spline.h"
namespace Echo
{
#ifdef ECHO_EDITOR_MODE
class SplineControlPointEditor : public ObjectEditor
{
public:
SplineControlPointEditor(Object* object);
virtual ~SplineControlPointEditor();
// get thumbnail
virtual ImagePtr getThumbnail() const override;
// on editor select... | 17.37037 | 53 | 0.750533 | [
"object"
] |
f27f92eb2af216d60ab2a8fdb94cdcc6052b980a | 41,279 | c | C | raylib-image.c | joseph-montanez/raylib-php | 897df5e1ccc2a2ea854c518ab1001802250c4a7b | [
"Zlib"
] | 125 | 2018-12-08T05:47:51.000Z | 2022-03-29T08:55:27.000Z | raylib-image.c | robbierayas/raylib-php | 897df5e1ccc2a2ea854c518ab1001802250c4a7b | [
"Zlib"
] | 18 | 2020-03-31T00:00:54.000Z | 2022-03-15T05:13:37.000Z | raylib-image.c | robbierayas/raylib-php | 897df5e1ccc2a2ea854c518ab1001802250c4a7b | [
"Zlib"
] | 9 | 2020-04-04T21:13:59.000Z | 2021-12-18T14:09:33.000Z | /* If defined, the following flags inhibit definition of the indicated items.*/
#define NOGDICAPMASKS // CC_*, LC_*, PC_*, CP_*, TC_*, RC_
#define NOVIRTUALKEYCODES // VK_*
#define NOWINMESSAGES // WM_*, EM_*, LB_*, CB_*
#define NOWINSTYLES // WS_*, CS_*, ES_*, LBS_*, SBS_*, CBS_*
#define NOSYSMETRICS ... | 32.683294 | 203 | 0.707842 | [
"object"
] |
f287c6b7ede6b1420e2241ed58f836e13337525f | 6,656 | h | C | FDTD/operations/JMPML.h | plisdku/trogdor6 | d77eb137dd0c03635c0016801ada54117697e521 | [
"MIT"
] | null | null | null | FDTD/operations/JMPML.h | plisdku/trogdor6 | d77eb137dd0c03635c0016801ada54117697e521 | [
"MIT"
] | null | null | null | FDTD/operations/JMPML.h | plisdku/trogdor6 | d77eb137dd0c03635c0016801ada54117697e521 | [
"MIT"
] | null | null | null | /*
* UpdateJPML.h
* Trogdor6
*
* Created by Paul Hansen on 6/28/10.
* Copyright 2010 Stanford University. All rights reserved.
*
* This file is covered by the MIT license. See LICENSE.txt.
*/
#ifndef _UPDATEJPML_
#define _UPDATEJPML_
#include "../PhysicalConstants.h"
#include "../FieldEnum.h"
#include "... | 31.102804 | 91 | 0.526593 | [
"vector"
] |
f2a9b3ae191944d4c3def711b9daa59eb86df658 | 1,843 | c | C | d/shadow/room/deep_echos/mon/rogue.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/shadow/room/deep_echos/mon/rogue.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/shadow/room/deep_echos/mon/rogue.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | // rogue stuck in cave in
// has key for door in room 44
#include <std.h>
inherit "/std/monster";
create() {
object metal;
int x;
::create();
set_name("rogue");
set_id(({"dwarf","rogue dwarf","rogue"}));
set_gender("male");
set_race("dwarf");
set_short("dirty sneaky dwarf");
set_long("This stout dwar... | 25.957746 | 54 | 0.62344 | [
"object"
] |
f2acab25aad8577d487c3aad6240a748d1442c0e | 1,312 | c | C | lib/wizards/moonstar/test/malys.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/moonstar/test/malys.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/moonstar/test/malys.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null |
inherit "obj/monster";
#define OWNER "Moonstar"
reset(arg) {
object armour;
::reset(arg);
if(arg) { return; }
set_level(100);
set_name("malystryx");
set_alias("dragon");
set_short("Malystryx, the huge red dragon is following "+OWNER);
set_long("Malystryx, the huge red dragon is followi... | 23.854545 | 82 | 0.645579 | [
"object"
] |
f2ad541f5d86699cb65eb7c9b43c0af3ea660c9c | 8,014 | c | C | release/src-rt-6.x.4708/cfe/cfe/vendor/cfe_vendor_xreq.c | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src-rt-6.x.4708/cfe/cfe/vendor/cfe_vendor_xreq.c | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src-rt-6.x.4708/cfe/cfe/vendor/cfe_vendor_xreq.c | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /* *********************************************************************
* Broadcom Common Firmware Environment (CFE)
*
* IOCB dispatcher File: cfe_vendor_xreq.c
*
* This routine is the main API dispatch for CFE. User API
* calls, via the ROM entry point, get dispatched to routin... | 35.93722 | 103 | 0.604692 | [
"vector"
] |
f135efffa9a231ca54f4fd49ab0ea7bb18861ccf | 643 | h | C | DBCommunication/dbcommunicator.h | chaunnt/Qt-UI-Kits | d2832be43aa3910b7b1ba1c0aa21dc84230287cf | [
"MIT"
] | null | null | null | DBCommunication/dbcommunicator.h | chaunnt/Qt-UI-Kits | d2832be43aa3910b7b1ba1c0aa21dc84230287cf | [
"MIT"
] | null | null | null | DBCommunication/dbcommunicator.h | chaunnt/Qt-UI-Kits | d2832be43aa3910b7b1ba1c0aa21dc84230287cf | [
"MIT"
] | null | null | null | #ifndef DBCOMMUNICATOR_H
#define DBCOMMUNICATOR_H
#include <QObject>
#include <QDebug>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlRecord>
#include <QSqlError>
#include <QSqlResult>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include "globaldefine.h"
#include "Model/simpled... | 17.861111 | 55 | 0.752722 | [
"model"
] |
f136a06d629e1d583db75cf72e8a11e2d6290d56 | 2,284 | h | C | src/client_main/engine/entities/entity.h | snowmeltarcade/projectfarm | 6a35330f63bff06465c4ee1a0fbc5277c0d22982 | [
"MIT"
] | null | null | null | src/client_main/engine/entities/entity.h | snowmeltarcade/projectfarm | 6a35330f63bff06465c4ee1a0fbc5277c0d22982 | [
"MIT"
] | 7 | 2021-05-30T21:52:39.000Z | 2021-06-25T22:35:28.000Z | src/client_main/engine/entities/entity.h | snowmeltarcade/projectfarm | 6a35330f63bff06465c4ee1a0fbc5277c0d22982 | [
"MIT"
] | null | null | null | #ifndef PROJECTFARM_ENTITY_H
#define PROJECTFARM_ENTITY_H
#include <cstdint>
#include <vector>
#include "entities/entity_types.h"
#include "graphics/renderable.h"
#include "time/consume_timer.h"
namespace projectfarm::engine::entities
{
class Entity : public graphics::Renderable,
public shared... | 25.377778 | 83 | 0.605517 | [
"vector"
] |
f147b5e957f6126d237728d6dd6756f6813b9dec | 674 | h | C | OpenGL ES_Test/OpenGL ES Test/SceneModel.h | iOScontiue/OpenGL-ES-SkyboxEffect | dfc1352dd09665919577de1df87d5b16ddfc6354 | [
"MIT"
] | null | null | null | OpenGL ES_Test/OpenGL ES Test/SceneModel.h | iOScontiue/OpenGL-ES-SkyboxEffect | dfc1352dd09665919577de1df87d5b16ddfc6354 | [
"MIT"
] | null | null | null | OpenGL ES_Test/OpenGL ES Test/SceneModel.h | iOScontiue/OpenGL-ES-SkyboxEffect | dfc1352dd09665919577de1df87d5b16ddfc6354 | [
"MIT"
] | null | null | null | //
// SceneModel.h
// 01-Car
//
// Created by CC老师 on 2018/1/24.
// Copyright © 2018年 CC老师. All rights reserved.
//
#import <GLKit/GLKit.h>
@class AGLKVertexAttribArrayBuffer;
@class SceneMesh;
//现场包围盒
typedef struct
{
GLKVector3 min;
GLKVector3 max;
}SceneAxisAllignedBoundingBox;
@interface SceneModel :... | 18.722222 | 94 | 0.750742 | [
"mesh"
] |
f14b90a62f781c3ca5fc9fb31b842d1a5115d119 | 3,673 | h | C | RailUnitTests/TestUtils.h | CathalT/Rail | 4c5623c9c69eca67e46beb554bdfc71d44627f73 | [
"MIT"
] | null | null | null | RailUnitTests/TestUtils.h | CathalT/Rail | 4c5623c9c69eca67e46beb554bdfc71d44627f73 | [
"MIT"
] | 21 | 2018-03-08T12:17:34.000Z | 2018-07-18T21:11:33.000Z | RailUnitTests/TestUtils.h | CathalT/Rail | 4c5623c9c69eca67e46beb554bdfc71d44627f73 | [
"MIT"
] | null | null | null | #pragma once
namespace TestUtils
{
constexpr char TEST_PASSWORD[] = "test123";
constexpr char TEST_ADDRESS_ONE[] = "xrb_1oocugiybqxypp7f9qpt4d48dxbqtczhg68z5db17xr3sbosdq7bq8zufm9m";
constexpr char TEST_SEED_ONE[] = "FBE0A52D1A5A4FF9E2F0B5F716BE07FAEF5E21797FD60A2E3858001A3FCD54A3";
constexpr char TES... | 87.452381 | 143 | 0.653961 | [
"vector"
] |
f1545c6ccf6972f7a76881d887d59d1a8260e037 | 4,510 | h | C | source/Common.h | sormo/simpleSDL | 79a830a013f911c4670c86ccf68bd068a887670d | [
"MIT"
] | null | null | null | source/Common.h | sormo/simpleSDL | 79a830a013f911c4670c86ccf68bd068a887670d | [
"MIT"
] | null | null | null | source/Common.h | sormo/simpleSDL | 79a830a013f911c4670c86ccf68bd068a887670d | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <string>
#include "glm/glm.hpp"
#if defined(ANDROID)
// Just rerouting printf to logcat on android (not a complete logging solution).
#include <android/log.h>
#define printf(...) __android_log_print(ANDROID_LOG_INFO, "SIMPLE_EXAMPLE", __VA_ARGS__)
#else
#include <cstdio>
#endif
... | 35.511811 | 125 | 0.635033 | [
"vector"
] |
f15b7f27bdf6c8650a9358b08643b047302351a0 | 581 | h | C | include/ScreenOverlays/EnemyDefeatedScreenOverlay.h | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 279 | 2015-05-06T19:04:07.000Z | 2022-03-21T21:33:38.000Z | include/ScreenOverlays/EnemyDefeatedScreenOverlay.h | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 222 | 2016-10-26T15:56:25.000Z | 2021-10-03T15:30:18.000Z | include/ScreenOverlays/EnemyDefeatedScreenOverlay.h | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 49 | 2015-10-01T21:23:03.000Z | 2022-03-19T20:11:31.000Z | #pragma once
#include "ScreenOverlays/TextureScreenOverlay.h"
#include "GUI/BitmapText.h"
#include "GUI/InventorySlot.h"
class EnemyDefeatedScreenOverlay final : public TextureScreenOverlay {
public:
EnemyDefeatedScreenOverlay(const sf::Time& activeTime, const sf::Time& fadeTime = sf::Time::Zero);
~EnemyDefeatedScr... | 27.666667 | 99 | 0.767642 | [
"render",
"vector"
] |
f165358e345d3a26ee841b8206cfc99ec8148ef0 | 9,706 | c | C | extern/gtk/demos/gtk-demo/gskshaderpaintable.c | PableteProgramming/download | 013e35bb5c085e5dfdb57a3a0a39cdf2fd3064b8 | [
"MIT"
] | null | null | null | extern/gtk/demos/gtk-demo/gskshaderpaintable.c | PableteProgramming/download | 013e35bb5c085e5dfdb57a3a0a39cdf2fd3064b8 | [
"MIT"
] | null | null | null | extern/gtk/demos/gtk-demo/gskshaderpaintable.c | PableteProgramming/download | 013e35bb5c085e5dfdb57a3a0a39cdf2fd3064b8 | [
"MIT"
] | null | null | null | /*
* Copyright © 2020 Red Hat, Inc
*
* This library 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.1 of the License, or (at your option) any later version.
*
* This library i... | 28.973134 | 123 | 0.68638 | [
"object"
] |
f165f7b57e30072fcc40f0675b051503ce38fb75 | 24,944 | h | C | src/traveller.h | Wjc1999/Data_structure_touring_simulator | a794518e33311563fc58df9f7f6c65e17ced5a2a | [
"MIT"
] | null | null | null | src/traveller.h | Wjc1999/Data_structure_touring_simulator | a794518e33311563fc58df9f7f6c65e17ced5a2a | [
"MIT"
] | 1 | 2019-03-30T10:50:48.000Z | 2019-03-30T10:50:48.000Z | src/traveller.h | L-Jay1999/Data_structure_touring_simulator | 0553338bc1c42732c3a8251f02d3c2ca6b159487 | [
"MIT"
] | null | null | null | #ifndef SRC_TRAVELLER
#define SRC_TRAVELLER
#include <vector>
#include <iostream>
#include <string>
#include <algorithm>
#include <cstdint>
#include <random>
#include <fstream>
#include <sstream>
#include <memory>
#include <initializer_list>
#include "user_type.h"
#include "path.h"
//#include "io.h"
#include "time_fo... | 30.162031 | 182 | 0.606679 | [
"vector"
] |
f18fa11241933a5e22c90bdcb0545b1e66a1f382 | 10,302 | c | C | wireshark-2.0.13/ui/traffic_table_ui.c | mahrukhfida/mi | 7187765aa225e71983969ef5285771ac77c8309a | [
"Apache-2.0"
] | null | null | null | wireshark-2.0.13/ui/traffic_table_ui.c | mahrukhfida/mi | 7187765aa225e71983969ef5285771ac77c8309a | [
"Apache-2.0"
] | null | null | null | wireshark-2.0.13/ui/traffic_table_ui.c | mahrukhfida/mi | 7187765aa225e71983969ef5285771ac77c8309a | [
"Apache-2.0"
] | null | null | null | /* traffic_table_ui.c
* Copied from gtk/conversations_table.c 2003 Ronnie Sahlberg
* Helper routines common to all conversations taps.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/... | 33.232258 | 176 | 0.610949 | [
"geometry"
] |
f195791d126a88b5c4e9eddabdb9fa8ab30062f6 | 3,376 | h | C | apps/AMR/heat.h | lightsighter/LegionOrigins | 0180bb3a8ee6efd0d2efdb743f75d3fba86f18f7 | [
"Apache-2.0"
] | 2 | 2021-11-10T06:29:39.000Z | 2021-11-14T20:56:13.000Z | apps/AMR/heat.h | lightsighter/LegionOrigins | 0180bb3a8ee6efd0d2efdb743f75d3fba86f18f7 | [
"Apache-2.0"
] | null | null | null | apps/AMR/heat.h | lightsighter/LegionOrigins | 0180bb3a8ee6efd0d2efdb743f75d3fba86f18f7 | [
"Apache-2.0"
] | null | null | null |
#ifndef __HEAT_SIM__
#define __HEAT_SIM__
#include "legion.h"
#define SIMULATION_DIM 2 // Number of dimensions in the simulation
#define POW2(dim) ((dim==1) ? 2 : (dim==2) ? 4 : 8)
#define COARSENING 16
using namespace RegionRuntime::HighLevel;
enum {
REGION_MAIN,
INIT_TASK,
INTERP_BOUNDARY,
CALC_... | 23.123288 | 91 | 0.723045 | [
"vector"
] |
f1a15efc1ca872c087a1f806ea131aeaecf5d116 | 42,477 | h | C | target_acquisition/mov/ImageParamsConfig.h | DeepBlue14/usar_system | a1b3d78a65f064be897f75dfc5f4dad4214f9d74 | [
"MIT"
] | null | null | null | target_acquisition/mov/ImageParamsConfig.h | DeepBlue14/usar_system | a1b3d78a65f064be897f75dfc5f4dad4214f9d74 | [
"MIT"
] | null | null | null | target_acquisition/mov/ImageParamsConfig.h | DeepBlue14/usar_system | a1b3d78a65f064be897f75dfc5f4dad4214f9d74 | [
"MIT"
] | null | null | null | //#line 2 "/opt/ros/indigo/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template"
// *********************************************************
//
// File autogenerated for the target_aquisition package
// by the dynamic_reconfigure package.
// Please do not edit.
//
// **********************************... | 58.588966 | 258 | 0.738305 | [
"shape",
"vector"
] |
f1bdcf0a305d3950d96711547706dfd31c63fbf4 | 240 | h | C | src/main/cpp/RLBotInterface/chip/cpp/inc/misc/convert.h | dvptl68/RLBot | e3cc4d2d7f04ec846b219e274e9633623859179b | [
"MIT"
] | 1 | 2020-01-21T15:38:18.000Z | 2020-01-21T15:38:18.000Z | src/main/cpp/RLBotInterface/chip/cpp/inc/misc/convert.h | dvptl68/RLBot | e3cc4d2d7f04ec846b219e274e9633623859179b | [
"MIT"
] | null | null | null | src/main/cpp/RLBotInterface/chip/cpp/inc/misc/convert.h | dvptl68/RLBot | e3cc4d2d7f04ec846b219e274e9633623859179b | [
"MIT"
] | null | null | null | #pragma once
#include "linear_algebra/math.h"
#ifdef GENERATE_PYTHON_BINDINGS
#include <pybind11/pybind11.h>
namespace convert {
vec3 vector3_to_vec3(pybind11::object vector3);
mat3 rotator_to_mat3(pybind11::object rotator);
}
#endif
| 20 | 49 | 0.791667 | [
"object"
] |
f1c230c1b094fbad0480eda24d933c499b1f8521 | 2,988 | c | C | 0500_Firmware/PongBoy.X/src/app/menu_ctrl.c | SamyFrancelet/PongBoy | 6d7ad913570d4de93b89088eaab1cd7b8ce86f85 | [
"MIT"
] | null | null | null | 0500_Firmware/PongBoy.X/src/app/menu_ctrl.c | SamyFrancelet/PongBoy | 6d7ad913570d4de93b89088eaab1cd7b8ce86f85 | [
"MIT"
] | null | null | null | 0500_Firmware/PongBoy.X/src/app/menu_ctrl.c | SamyFrancelet/PongBoy | 6d7ad913570d4de93b89088eaab1cd7b8ce86f85 | [
"MIT"
] | null | null | null | #include "menu_ctrl.h"
#include "pong_ctrl.h"
#include "../pongboy/pongboy.h"
#include "../display/display.h"
extern const FONT_INFO arialNarrow_12ptFontInfo;
/**
* Initialise the Menu controller
*
* @param me - Menu controller object
*
* @author Samy Francelet
*/
void Menu_init(Menu* me) {
me->state = Me... | 27.666667 | 70 | 0.580991 | [
"object"
] |
0188ca0f452dbbc1ac43689332decd7e0446483e | 1,262 | h | C | scisim/ConstrainedMaps/FrictionMaps/LinearMDPOperatorQL.h | Lyestria/scisim | e2c2abc8d38ea9b07717841782c5c723fce37ce5 | [
"Apache-2.0"
] | null | null | null | scisim/ConstrainedMaps/FrictionMaps/LinearMDPOperatorQL.h | Lyestria/scisim | e2c2abc8d38ea9b07717841782c5c723fce37ce5 | [
"Apache-2.0"
] | null | null | null | scisim/ConstrainedMaps/FrictionMaps/LinearMDPOperatorQL.h | Lyestria/scisim | e2c2abc8d38ea9b07717841782c5c723fce37ce5 | [
"Apache-2.0"
] | null | null | null | // LinearMDPOperatorQL.h
//
// Breannan Smith
// Last updated: 09/21/2015
#ifndef LINEAR_MDP_OPERATOR_QL
#define LINEAR_MDP_OPERATOR_QL
#include "FrictionOperator.h"
// TODO: Move to unsigned when possible
class LinearMDPOperatorQL final : public FrictionOperator
{
public:
LinearMDPOperatorQL( const int disk_sam... | 28.681818 | 246 | 0.770206 | [
"vector"
] |
018c2d87b37ce34c03e13ebeb3bbca5d6648acf8 | 4,163 | h | C | cmc/private/cmc/I3MetropolisHastings.h | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 1 | 2020-12-24T22:00:01.000Z | 2020-12-24T22:00:01.000Z | cmc/private/cmc/I3MetropolisHastings.h | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | null | null | null | cmc/private/cmc/I3MetropolisHastings.h | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 3 | 2020-07-17T09:20:29.000Z | 2021-03-30T16:44:18.000Z | /**
* A metropolis hasting sampler for bremsstrahlung and pair production cross sections
*
* copyright (C) 2007
* the icecube collaboration
*
* $Id: I3MetropolisHastings.h 143040 2016-03-11 17:35:25Z nega $
*
* @version $Revision: 143040 $
* @date $LastChangedDate: 2016-03-11 10:35:25 -0700 (Fri, 11 Mar 2016... | 23.653409 | 90 | 0.661302 | [
"shape"
] |
01969d801d8fbb9622e080a60cbd638abe80df83 | 12,097 | c | C | src/ast.c | keyehzy/calc | 954dc4e37aeff712ef89dd9d1a1f8dc99c5bbfbc | [
"MIT"
] | null | null | null | src/ast.c | keyehzy/calc | 954dc4e37aeff712ef89dd9d1a1f8dc99c5bbfbc | [
"MIT"
] | null | null | null | src/ast.c | keyehzy/calc | 954dc4e37aeff712ef89dd9d1a1f8dc99c5bbfbc | [
"MIT"
] | null | null | null | #include "calc/vector.h"
#include <calc/assert.h>
#include <calc/ast.h>
#include <calc/token.h>
#include <stdlib.h>
static AST *new_empty_ast();
static AST *new_ast(ast_kind, codeloc, operation);
static AST *parse_primary_expr(lexer *);
static AST *parse_rest_expr(lexer *, AST *, operation, int);
static void combi... | 29.577017 | 80 | 0.499297 | [
"vector"
] |
019ab49bb65315523fdf0371f4e212cdf45b0640 | 624 | h | C | Example/Pods/Headers/Public/BKMVVMKit/BKVMReusableViewModel.h | isingle/BKMVVMKit | f34a9630d840be525506d8ede5eaf7ed89a88b73 | [
"MIT"
] | 13 | 2019-11-27T07:59:21.000Z | 2021-06-29T08:09:07.000Z | Example/Pods/Headers/Public/BKMVVMKit/BKVMReusableViewModel.h | isingle/BKMVVMKit | f34a9630d840be525506d8ede5eaf7ed89a88b73 | [
"MIT"
] | 1 | 2020-05-29T06:06:29.000Z | 2020-05-29T06:06:29.000Z | Example/Pods/Headers/Public/BKMVVMKit/BKVMReusableViewModel.h | isingle/BKMVVMKit | f34a9630d840be525506d8ede5eaf7ed89a88b73 | [
"MIT"
] | null | null | null | //
// BKVMReusableViewModel.h
// Pods
//
// Created by lic on 2019/9/4.
//
#import "BKVMBaseViewModel.h"
#import "BKVMViewProtocol.h"
NS_ASSUME_NONNULL_BEGIN
@interface BKVMReusableViewModel : BKVMBaseViewModel
//子类实现注册 reuse cell
@property (nonatomic, copy) NSString *identifier;
@property (nonatomic, strong) Cla... | 24 | 119 | 0.782051 | [
"model"
] |
019ad669dfcaad9ffbddbf4261542e1ef0be0f59 | 5,502 | h | C | TDEngine2/include/core/memory/CBaseAllocator.h | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-15T01:14:15.000Z | 2019-07-15T01:14:15.000Z | TDEngine2/include/core/memory/CBaseAllocator.h | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 76 | 2018-10-27T16:59:36.000Z | 2022-03-30T17:40:39.000Z | TDEngine2/include/core/memory/CBaseAllocator.h | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-29T02:02:08.000Z | 2019-07-29T02:02:08.000Z | /*!
\file CBaseAllocator.h
\date 31.10.2018
\authors Kasimov Ildar
*/
#pragma once
#include "../CBaseObject.h"
#include "IAllocator.h"
namespace TDEngine2
{
/*!
class CBaseAllocator
\brief The class implements a common functionality of all memory allocators that are
used in the engine
The allocator'... | 26.075829 | 113 | 0.726645 | [
"object"
] |
01a3a938dd85086f36290abc957c467109467739 | 2,287 | h | C | src/console.h | hmoraldo/randomediaGameJs | aa2c31e287f554423082660a51151643b8ed628c | [
"Zlib"
] | 2 | 2021-07-03T15:14:09.000Z | 2022-03-25T08:59:46.000Z | src/console.h | hmoraldo/randomediaGameJs | aa2c31e287f554423082660a51151643b8ed628c | [
"Zlib"
] | null | null | null | src/console.h | hmoraldo/randomediaGameJs | aa2c31e287f554423082660a51151643b8ed628c | [
"Zlib"
] | 1 | 2018-08-16T13:31:21.000Z | 2018-08-16T13:31:21.000Z | /*
Copyright (c) 2003 - 2014 Horacio Hernan Moraldo
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held liable
for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including c... | 29.701299 | 83 | 0.738085 | [
"object"
] |
01aa881707c97acf5fd07ae2cdda5d252e16c2fc | 3,280 | h | C | include/network/CNetBase.h | lirizhong/easygo | cd3a3656d94da0f915c67e871b85d40c9bc4aac0 | [
"Apache-2.0"
] | 1 | 2018-07-21T15:51:55.000Z | 2018-07-21T15:51:55.000Z | include/network/CNetBase.h | lirizhong/easygo | cd3a3656d94da0f915c67e871b85d40c9bc4aac0 | [
"Apache-2.0"
] | null | null | null | include/network/CNetBase.h | lirizhong/easygo | cd3a3656d94da0f915c67e871b85d40c9bc4aac0 | [
"Apache-2.0"
] | null | null | null | #ifndef EASYGO_NETWORK_CNETBASE_H
#define EASYGO_NETWORK_CNETBASE_H
#include <map>
#include <vector>
#include <set>
#include <atomic>
#include <mutex>
#include <queue>
#include <condition_variable>
#include "../include/network/NetType.h"
#include "../include/base/CCounter.h"
#include "../include/thread/CThread.h"
#incl... | 25.826772 | 86 | 0.733537 | [
"vector"
] |
01adc6d40f5fefa8f5fe86007286ec3d0fd62fae | 2,631 | h | C | src/gk_internal.h | amineas/libGK | 400cb6d16486848c121cfb1e8b99f5375de1c019 | [
"MIT"
] | 1 | 2017-12-15T14:05:59.000Z | 2017-12-15T14:05:59.000Z | src/gk_internal.h | amineas/libGK | 400cb6d16486848c121cfb1e8b99f5375de1c019 | [
"MIT"
] | null | null | null | src/gk_internal.h | amineas/libGK | 400cb6d16486848c121cfb1e8b99f5375de1c019 | [
"MIT"
] | null | null | null | /* Copyright (c) 2012 Toni Georgiev
*
* 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,... | 27.123711 | 80 | 0.789054 | [
"transform"
] |
01b4c73f2063d9d55c92ef354bffddba11b75c09 | 31,442 | c | C | deconv_moffat_dcv/dcv_1D_sub.c | jlprieur/deconv | 027324b50a152f201c4c2485648617cac9a53260 | [
"MIT"
] | null | null | null | deconv_moffat_dcv/dcv_1D_sub.c | jlprieur/deconv | 027324b50a152f201c4c2485648617cac9a53260 | [
"MIT"
] | null | null | null | deconv_moffat_dcv/dcv_1D_sub.c | jlprieur/deconv | 027324b50a152f201c4c2485648617cac9a53260 | [
"MIT"
] | null | null | null | /******************************************************************
* Module used by dcv_deconv_1D.f90
*
* spdiv => Direct spectral division
* wiene => Wiener filter
* tikho => Tikhonov regularisation
* maxen => Maximum Entropy method
*
* JLP
* Version 23/03/2001
**************************************************... | 28.635701 | 83 | 0.479931 | [
"vector"
] |
01bddcec0906fcdc8d064635b080a237956057a3 | 6,309 | h | C | include/iris/sensor-api/iris/drivers/serial/SerialDriver.h | LESA-RPI/irma_ground_truth | 94037de5c7877544738d3569f11f900ba919227e | [
"BSL-1.0"
] | 1 | 2018-06-18T18:08:38.000Z | 2018-06-18T18:08:38.000Z | include/iris/sensor-api/iris/drivers/serial/SerialDriver.h | duffym4/tof_control | 418714fb29900ce7fdd4ba0bed9105b0c3d623a7 | [
"BSL-1.0"
] | null | null | null | include/iris/sensor-api/iris/drivers/serial/SerialDriver.h | duffym4/tof_control | 418714fb29900ce7fdd4ba0bed9105b0c3d623a7 | [
"BSL-1.0"
] | 2 | 2018-11-21T17:15:24.000Z | 2019-09-29T02:46:30.000Z | // ***************************************************************************
// * _ _ ____ _ ____ ___ *
// * (_)_ __(_)___ / ___| ___ _ __ ___ ___ _ __ / \ | _ \_ _| *
// * | | '__| / __| \___ \ / _ \ '_ \/ __|/ _ \| '__| / _ \ | |_) | | *
... | 25.337349 | 90 | 0.549215 | [
"object"
] |
01c18c73a821425567b9cfa26be95b653c83be06 | 1,171 | h | C | boxtarget.h | navinsoni/Contra_2D_Game_in_CPP_with_Design_Patterns | f7953b36c7d4ecb0d92c66ac24e8169df9e3e0ad | [
"MIT"
] | 2 | 2018-04-07T11:36:05.000Z | 2020-10-17T14:33:36.000Z | boxtarget.h | navinsoni/Contra_2D_Game_in_CPP_with_Design_Patterns | f7953b36c7d4ecb0d92c66ac24e8169df9e3e0ad | [
"MIT"
] | null | null | null | boxtarget.h | navinsoni/Contra_2D_Game_in_CPP_with_Design_Patterns | f7953b36c7d4ecb0d92c66ac24e8169df9e3e0ad | [
"MIT"
] | null | null | null | #ifndef BOXTARGET__H
#define BOXTARGET__H
#include <string>
#include <iostream>
#include "multiframesprite.h"
#include "frame.h"
#include "framefactory.h"
#include "bullets.h"
#include "bullet.h"
using std::string;
class BoxTarget : public MultiFrameSprite {
public:
BoxTarget(const string& n,const string& no);
... | 22.960784 | 46 | 0.690863 | [
"vector"
] |
01c3c4aa590b1feb80c3ef5b7f7b6f6a09e09e23 | 2,957 | c | C | C-Codes/FrictionLaws/Lib_NewmarkTS.c | Nicolucas/C-Scripts | 2608df5c2e635ad16f422877ff440af69f98f960 | [
"MIT"
] | 1 | 2020-02-25T08:05:13.000Z | 2020-02-25T08:05:13.000Z | C-Codes/FrictionLaws/Lib_NewmarkTS.c | Nicolucas/C-Scripts | 2608df5c2e635ad16f422877ff440af69f98f960 | [
"MIT"
] | null | null | null | C-Codes/FrictionLaws/Lib_NewmarkTS.c | Nicolucas/C-Scripts | 2608df5c2e635ad16f422877ff440af69f98f960 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <math.h>
#include "Lib_SetOfFrictionLaws.h"
#include "Lib_NewmarkTS.h"
/**PartialUpScalar
* Partial update for half timestep of a Scalar variable
*/
void PartialUpScalar(double ScalarIn, double *ScalarHalf, double TimeStep, double ScalarDot)
{
ScalarHalf[0] = ScalarIn + 0.5*TimeStep*Sc... | 29.57 | 126 | 0.668583 | [
"vector"
] |
01c5bf025b779e3a17c81cb74b601b432278dad9 | 1,804 | h | C | Portal Seekers Game Client/Network/TCPServerConnection.h | pedroalmeida-dev/Student-Projects | 476db403ec72a0dcde2e7061062f35ecf94a42ed | [
"MIT"
] | null | null | null | Portal Seekers Game Client/Network/TCPServerConnection.h | pedroalmeida-dev/Student-Projects | 476db403ec72a0dcde2e7061062f35ecf94a42ed | [
"MIT"
] | null | null | null | Portal Seekers Game Client/Network/TCPServerConnection.h | pedroalmeida-dev/Student-Projects | 476db403ec72a0dcde2e7061062f35ecf94a42ed | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#pragma comment(lib, "Ws2_32.lib")
#include<stdio.h>
#include <string>
#include <vector>
#include <winsock2.h>
#include <Ws2tcpip.h>
#define DEFAULT_BUFLEN 512
/**
* Responsible to create the connection with the server
* U... | 26.529412 | 95 | 0.752772 | [
"vector"
] |
01ccff2376b14cb172cb7eee4984b57c01449a1f | 470 | h | C | atom/VectorStorage.h | pixelsquare/pacman | c679db752a68ef316c46946953dd9cea9524eb38 | [
"MIT"
] | null | null | null | atom/VectorStorage.h | pixelsquare/pacman | c679db752a68ef316c46946953dd9cea9524eb38 | [
"MIT"
] | null | null | null | atom/VectorStorage.h | pixelsquare/pacman | c679db752a68ef316c46946953dd9cea9524eb38 | [
"MIT"
] | null | null | null | #ifndef __ATOM_ENGINE_VECTOR_STORAGE_LIBRARY_H__
#define __ATOM_ENGINE_VECTOR_STORAGE_LIBRARY_H__
#include <vector>
#include "BasicPrimitives.h"
using namespace BasicPrimitivesLib::Library;
namespace VectorStorageLib {
namespace Library {
class VectorStorage {
public:
VectorStorage();
~VectorStorage();
... | 19.583333 | 48 | 0.770213 | [
"vector"
] |
cc08008ac05bb070dbe48133aa19d0d2a78af176 | 948 | h | C | KRender/Internal/Manager/KDynamicConstantBufferManager.h | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 13 | 2019-10-19T17:41:19.000Z | 2021-11-04T18:50:03.000Z | KRender/Internal/Manager/KDynamicConstantBufferManager.h | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 3 | 2019-12-09T06:22:43.000Z | 2020-05-28T09:33:44.000Z | KRender/Internal/Manager/KDynamicConstantBufferManager.h | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | null | null | null | #pragma once
#include "Interface/IKRenderDevice.h"
#include "Interface/IKBuffer.h"
#include <mutex>
class KDynamicConstantBufferManager
{
protected:
struct ConstantBlock
{
IKUniformBufferPtr buffer;
size_t useSize;
ConstantBlock()
{
buffer = nullptr;
useSize = 0;
}
};
struct FrameConstantBlock
{... | 18.96 | 92 | 0.753165 | [
"vector"
] |
cc4a57f79478b83d3a1cc805090706f028ea04f6 | 395 | h | C | Motorola/iDEN/Inc/EnumDevices.h | erithion/old_junk | b2dcaa23320824f8b2c17571f27826869ccd0d4b | [
"MIT"
] | 1 | 2021-06-26T17:08:24.000Z | 2021-06-26T17:08:24.000Z | Motorola/iDEN/Inc/EnumDevices.h | erithion/old_junk | b2dcaa23320824f8b2c17571f27826869ccd0d4b | [
"MIT"
] | null | null | null | Motorola/iDEN/Inc/EnumDevices.h | erithion/old_junk | b2dcaa23320824f8b2c17571f27826869ccd0d4b | [
"MIT"
] | null | null | null |
#include <vector>
#include <string>
namespace Port
{
enum DeviceType
{
TypeSerial,
TypeUsb
};
struct ConnectionInfo
{
DeviceType type_;
std::string name_;
std::string path_;
};
typedef std::vector<ConnectionInfo> ConnectionI... | 17.173913 | 63 | 0.577215 | [
"vector"
] |
cc55b8c814a4bb0fa26cb75385446eff827748ef | 3,111 | h | C | include/MeadowsECS/World.h | Konijnendijk/Meadows-ECS | 5ee2619481086edaabcfa235e2455686cb854901 | [
"BSL-1.0",
"MIT"
] | 1 | 2017-11-22T11:39:25.000Z | 2017-11-22T11:39:25.000Z | include/MeadowsECS/World.h | Konijnendijk/Meadows-ECS | 5ee2619481086edaabcfa235e2455686cb854901 | [
"BSL-1.0",
"MIT"
] | null | null | null | include/MeadowsECS/World.h | Konijnendijk/Meadows-ECS | 5ee2619481086edaabcfa235e2455686cb854901 | [
"BSL-1.0",
"MIT"
] | null | null | null |
#ifndef MEADOWSGAMEOSG_WORLD_H
#define MEADOWSGAMEOSG_WORLD_H
#include <vector>
#include <list>
#include <type_traits>
#include "Entity.h"
#include "System.h"
namespace Meadows {
class World {
std::list<Entity*> entities;
std::vector<Entity*> entitiesToAdd;
std::vector<Entity*> entities... | 29.913462 | 118 | 0.566056 | [
"object",
"vector"
] |
cc6156a94f486df7f88834222ad371d6d9e880bf | 1,795 | h | C | shaka/src/mapping/generic_converter.h | jgongo/shaka-player-embedded | e04f97b971c684ef18a370697584d5239fb711bd | [
"Apache-2.0",
"BSD-3-Clause"
] | 185 | 2018-11-06T06:04:44.000Z | 2022-03-02T22:20:39.000Z | shaka/src/mapping/generic_converter.h | jgongo/shaka-player-embedded | e04f97b971c684ef18a370697584d5239fb711bd | [
"Apache-2.0",
"BSD-3-Clause"
] | 211 | 2018-11-15T22:52:49.000Z | 2022-03-02T18:46:20.000Z | shaka/src/mapping/generic_converter.h | jgongo/shaka-player-embedded | e04f97b971c684ef18a370697584d5239fb711bd | [
"Apache-2.0",
"BSD-3-Clause"
] | 52 | 2018-12-12T11:00:46.000Z | 2022-02-23T17:35:02.000Z | // Copyright 2016 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 35.196078 | 77 | 0.747632 | [
"object"
] |
acee77943308621af057169242d8c649c94fad97 | 10,694 | c | C | baclib/object/schedule.c | temcocontrols/Three-PhasePower-Meter | 518d49d4a0e5c472d9f380a1b19a2cf0571c0f36 | [
"MIT"
] | 8 | 2018-02-28T11:30:31.000Z | 2021-11-19T14:46:01.000Z | baclib/object/schedule.c | temcocontrols/Three-PhasePower-Meter | 518d49d4a0e5c472d9f380a1b19a2cf0571c0f36 | [
"MIT"
] | null | null | null | baclib/object/schedule.c | temcocontrols/Three-PhasePower-Meter | 518d49d4a0e5c472d9f380a1b19a2cf0571c0f36 | [
"MIT"
] | 4 | 2018-04-19T16:08:51.000Z | 2021-05-21T09:25:56.000Z |
/* Schedule Objects customize -- writen by chesea*/
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include "bacnet.h"
#include "bacdef.h"
#include "bacdcode.h"
#include "bacenum.h"
#include "schedule.h"
#if BAC_SCHEDULE
/*
reliable have following property
-present_value
-description
-list_of_object... | 32.504559 | 140 | 0.618291 | [
"object"
] |
4a0b8fedda640a1837794e62628c6cf88be63be5 | 1,881 | h | C | include/brutils/TcpSocket/TcpSocket.h | brakulla/brutils | 086a9458ceeaa9d6ea007862533e11a97c6fcc7a | [
"MIT"
] | 7 | 2019-04-12T10:15:55.000Z | 2022-01-20T14:57:17.000Z | include/brutils/TcpSocket/TcpSocket.h | brakulla/brutils | 086a9458ceeaa9d6ea007862533e11a97c6fcc7a | [
"MIT"
] | 1 | 2021-06-02T13:45:32.000Z | 2021-06-03T08:10:46.000Z | include/brutils/TcpSocket/TcpSocket.h | brakulla/brutils | 086a9458ceeaa9d6ea007862533e11a97c6fcc7a | [
"MIT"
] | null | null | null |
#ifndef TCPSOCKET_TCPSOCKET_TCPSOCKET_H_
#define TCPSOCKET_TCPSOCKET_TCPSOCKET_H_
#include <string>
#include <mutex>
#include "brutils/br_object.h"
namespace brutils {
enum class ConnectionStatus
{
NOT_CONNECTED,
CONNECTED
};
enum TcpError_e
{
TCP_ERROR_NO_ERROR = 0,
TCP_ERROR_SYS_ERROR,
TCP_ERROR_NOT_... | 21.62069 | 97 | 0.74269 | [
"vector"
] |
4a1096775946d38f4be79c1d1218688fd9a3a19b | 1,406 | h | C | src/lib/Simplex.h | PearCoding/NumericSim | 66cf98f574a2f615817c9b5456975be69662acf6 | [
"MIT"
] | null | null | null | src/lib/Simplex.h | PearCoding/NumericSim | 66cf98f574a2f615817c9b5456975be69662acf6 | [
"MIT"
] | null | null | null | src/lib/Simplex.h | PearCoding/NumericSim | 66cf98f574a2f615817c9b5456975be69662acf6 | [
"MIT"
] | null | null | null | #pragma once
#include "Types.h"
#include "Vector.h"
#include "matrix/MatrixOperations.h"
#include "Normal.h"
NS_BEGIN_NAMESPACE
template<typename T, Dimension K>
class Simplex
{
public:
static constexpr Dimension Order = K;
static constexpr Dimension VertexCount = K+1;
typedef FixedVector<T,K> vertex_t;
typede... | 19.802817 | 64 | 0.748933 | [
"vector"
] |
4a11a8def28b6646285dc4638c70b4216751343c | 3,091 | h | C | hprose/http/Header.h | adsfgfh4654/hprose-cpp1x | d37b3737bbf1836d68b32241c78f711051b1984c | [
"MIT"
] | 42 | 2016-10-10T02:36:54.000Z | 2022-02-05T13:47:45.000Z | hprose/http/Header.h | adsfgfh4654/hprose-cpp1x | d37b3737bbf1836d68b32241c78f711051b1984c | [
"MIT"
] | 5 | 2017-05-14T01:31:13.000Z | 2018-03-22T01:02:33.000Z | hprose/http/Header.h | adsfgfh4654/hprose-cpp1x | d37b3737bbf1836d68b32241c78f711051b1984c | [
"MIT"
] | 20 | 2016-10-20T01:51:39.000Z | 2022-02-05T13:48:16.000Z | /**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... | 30.60396 | 111 | 0.377871 | [
"vector",
"transform"
] |
4a215761926b0cc053be9edabcfde3a992d4fdec | 1,573 | h | C | include/o3d/engine/primitive/isosphere.h | dream-overflow/o3d | 087ab870cc0fd9091974bb826e25c23903a1dde0 | [
"FSFAP"
] | 2 | 2019-06-22T23:29:44.000Z | 2019-07-07T18:34:04.000Z | include/o3d/engine/primitive/isosphere.h | dream-overflow/o3d | 087ab870cc0fd9091974bb826e25c23903a1dde0 | [
"FSFAP"
] | null | null | null | include/o3d/engine/primitive/isosphere.h | dream-overflow/o3d | 087ab870cc0fd9091974bb826e25c23903a1dde0 | [
"FSFAP"
] | null | null | null | /**
* @file isosphere.h
* @brief Definition of an iso-sphere primitive.
* @author Emmanuel RUFFIO (emmanuel.ruffio@gmail.com)
* @date 2008-11-10
* @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved.
* @details
*/
#ifndef _O3D_ISOSPHERE_H
#define _O3D_ISOSPHERE_H
#include "primitive.h"
nam... | 22.15493 | 89 | 0.6637 | [
"geometry"
] |
4a2f31109c81b077293c42ecc16036f035b0a06b | 1,499 | h | C | HElib-api/flt2int_encode.h | bristolcrypto/HEAT | 3d96abb74c29e94b26010d17759875578e5c9f50 | [
"BSD-2-Clause"
] | 25 | 2017-02-21T20:57:45.000Z | 2021-06-30T05:56:34.000Z | HElib-api/flt2int_encode.h | bristolcrypto/HEAT | 3d96abb74c29e94b26010d17759875578e5c9f50 | [
"BSD-2-Clause"
] | 2 | 2017-03-21T09:21:30.000Z | 2017-09-05T11:35:59.000Z | HElib-api/flt2int_encode.h | bristolcrypto/HEAT | 3d96abb74c29e94b26010d17759875578e5c9f50 | [
"BSD-2-Clause"
] | 8 | 2016-08-27T20:35:43.000Z | 2021-09-23T17:51:44.000Z | #ifndef FIXEDPOINT_FLT2INT_ENCODE_H_
#define FIXEDPOINT_FLT2INT_ENCODE_H_
#include <NTL/ZZX.h>
#include <NTL/RR.h>
#include <NTL/mat_ZZ.h>
#include <NTL/LLL.h>
#include "FHE.h"
#include "timing.h"
#include <vector>
#include <cassert>
#include <cstdio>
#include <cmath>
#include <ctime>
#define _USE_MATH_DEFINES
/*If ... | 26.767857 | 132 | 0.66511 | [
"vector"
] |
4a351facd3bebc46a26ba49404759027c9a1b640 | 1,286 | h | C | RPG-Code/Code/Source/Modules/Scenes/Gameloop/Configuration.h | Dani-24/RPG | b5621dd0134ca10d88eb861409a210999d804b9b | [
"MIT"
] | 1 | 2022-03-13T12:57:59.000Z | 2022-03-13T12:57:59.000Z | RPG-Code/Code/Source/Modules/Scenes/Gameloop/Configuration.h | Dani-24/Project-RPG | 775ccaf652f7680a70cf5668cf6efa272ee7e3f9 | [
"MIT"
] | null | null | null | RPG-Code/Code/Source/Modules/Scenes/Gameloop/Configuration.h | Dani-24/Project-RPG | 775ccaf652f7680a70cf5668cf6efa272ee7e3f9 | [
"MIT"
] | null | null | null | #ifndef __CONFIGURATION_H__
#define __CONFIGURATION_H__
#include "Module.h"
#include "Animation.h"
#include "GuiButton.h"
#include "App.h"
#include "SDL/include/SDL_rect.h"
struct SDL_Texture;
class Configuration : public Module
{
public:
Configuration(App* application, bool start_enabled = true);
// Destruct... | 18.637681 | 60 | 0.741058 | [
"render"
] |
4a482eea3e7c48d0cd45c9351be986d21b2d481e | 12,085 | c | C | benchmarks/nemo/nemolite2d/manual_versions/psykal_c_opencl/opencl_utils.c | stfc/PSycloneBench | f3c65c904eb286b4e3f63c43273a80d25e92cbe4 | [
"BSD-3-Clause"
] | 5 | 2018-03-30T23:33:23.000Z | 2022-03-21T13:32:01.000Z | benchmarks/nemo/nemolite2d/manual_versions/psykal_c_opencl/opencl_utils.c | stfc/PSycloneBench | f3c65c904eb286b4e3f63c43273a80d25e92cbe4 | [
"BSD-3-Clause"
] | 76 | 2018-01-31T14:16:03.000Z | 2022-03-25T13:56:17.000Z | benchmarks/nemo/nemolite2d/manual_versions/psykal_c_opencl/opencl_utils.c | stfc/PSycloneBench | f3c65c904eb286b4e3f63c43273a80d25e92cbe4 | [
"BSD-3-Clause"
] | 2 | 2019-08-01T10:23:02.000Z | 2021-09-28T13:23:01.000Z | #include "opencl_utils.h"
/** Maximum number of OpenCL devices we will query */
#define MAX_DEVICES 4
#define MAX_SOURCE_SIZE (0x100000)
#define VERBOSE 0
/** Query the available OpenCL devices and choose one */
void init_device(
int platform_selection,
cl_device_id *device,
char *version_str,
cl... | 33.569444 | 83 | 0.700869 | [
"object"
] |
4a5738876240fa000f999cf5646071ec203168e2 | 2,499 | h | C | compiler/enco/core/src/CppGen/Subnet.h | periannath/ONE | 61e0bdf2bcd0bc146faef42b85d469440e162886 | [
"Apache-2.0"
] | 255 | 2020-05-22T07:45:29.000Z | 2022-03-29T23:58:22.000Z | compiler/enco/core/src/CppGen/Subnet.h | periannath/ONE | 61e0bdf2bcd0bc146faef42b85d469440e162886 | [
"Apache-2.0"
] | 5,102 | 2020-05-22T07:48:33.000Z | 2022-03-31T23:43:39.000Z | compiler/enco/core/src/CppGen/Subnet.h | periannath/ONE | 61e0bdf2bcd0bc146faef42b85d469440e162886 | [
"Apache-2.0"
] | 120 | 2020-05-22T07:51:08.000Z | 2022-02-16T19:08:05.000Z | /*
* Copyright (c) 2018 Samsung Electronics Co., Ltd. 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... | 27.163043 | 96 | 0.72589 | [
"model"
] |
4a70fd2c6bd2987079b57e7afa0e988c8ae2525f | 4,757 | h | C | src/saf.h | ccanel/saf | 5bc296e352419ae3688eb51dded72154f732127e | [
"Apache-2.0"
] | 28 | 2018-09-06T19:18:27.000Z | 2022-02-10T05:56:08.000Z | src/saf.h | ccanel/saf | 5bc296e352419ae3688eb51dded72154f732127e | [
"Apache-2.0"
] | 13 | 2018-09-13T13:41:53.000Z | 2021-05-12T01:18:36.000Z | src/saf.h | ccanel/saf | 5bc296e352419ae3688eb51dded72154f732127e | [
"Apache-2.0"
] | 14 | 2018-09-06T14:33:37.000Z | 2021-05-22T20:07:45.000Z | // Copyright 2018 The SAF 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 appli... | 31.091503 | 75 | 0.789783 | [
"model"
] |
7d2b4b0364e7e8954eed5a9980147518728dd836 | 700 | h | C | SPHSimulation/src/Transform.h | bikush/simple-sph-simulation | 1ee208630181550180358f22f468fbf4f32149f5 | [
"Apache-2.0"
] | 5 | 2017-12-12T08:05:58.000Z | 2021-08-05T21:23:12.000Z | SPHSimulation/src/Transform.h | bikush/simple-sph-simulation | 1ee208630181550180358f22f468fbf4f32149f5 | [
"Apache-2.0"
] | null | null | null | SPHSimulation/src/Transform.h | bikush/simple-sph-simulation | 1ee208630181550180358f22f468fbf4f32149f5 | [
"Apache-2.0"
] | 2 | 2017-04-18T08:02:38.000Z | 2018-06-07T09:45:37.000Z | #pragma once
#include "GlmVec.h"
#include <glm\mat4x4.hpp>
class Transform
{
public:
Transform();
Transform( const glm::vec3& position, const glm::vec3& scale, const glm::vec3& axisAngles );
void setPosition(const glm::vec3& newPosition);
void setScale(const glm::vec3& newScale);
void setScale(const float newSc... | 22.580645 | 93 | 0.734286 | [
"transform"
] |
7d2b60269e4aafd22e54946be77bf99920d7a08f | 9,301 | h | C | BeatDetektor.h | cjcliffe/CubicFX | 780f4e93ea261f878aa0e917a9f3e5ef4313759e | [
"MIT"
] | 1 | 2021-06-20T07:31:12.000Z | 2021-06-20T07:31:12.000Z | BeatDetektor.h | cjcliffe/CubicFX | 780f4e93ea261f878aa0e917a9f3e5ef4313759e | [
"MIT"
] | null | null | null | BeatDetektor.h | cjcliffe/CubicFX | 780f4e93ea261f878aa0e917a9f3e5ef4313759e | [
"MIT"
] | 2 | 2019-03-25T19:25:29.000Z | 2021-04-07T01:21:30.000Z | #pragma once
/*
* BeatDetektor.h
*
* BeatDetektor - CubicFX Visualizer Beat Detection & Analysis Algorithm
*
* Created by Charles J. Cliffe on 09-11-30.
* Copyright 2009 Charles J. Cliffe. All rights reserved.
*
* BeatDetektor is free software: you can redistribute it and/or modify
* it under the terms ... | 29.248428 | 157 | 0.757875 | [
"vector"
] |
7d2cf31a72b2c681c7f3a289fbbb0a370be78734 | 7,889 | h | C | Engine/Camera/Public/Camera/Camera.h | heretique/Atlas | 0981e7941b570ecfda1febf71b4669338ab81921 | [
"MIT"
] | 6 | 2016-11-09T08:40:10.000Z | 2021-10-06T09:47:05.000Z | Engine/Camera/Public/Camera/Camera.h | heretique/Atlas | 0981e7941b570ecfda1febf71b4669338ab81921 | [
"MIT"
] | null | null | null | Engine/Camera/Public/Camera/Camera.h | heretique/Atlas | 0981e7941b570ecfda1febf71b4669338ab81921 | [
"MIT"
] | 3 | 2016-11-09T08:38:59.000Z | 2021-12-24T16:03:59.000Z | #pragma once
#include "Hq/Math/MathTypes.h"
namespace atlas
{
/**
* The type of camera.
*/
enum class CameraType
{
ePerspective = 1,
eOrthographic = 2
};
/**
* Defines a camera which acts as a view of a scene to be rendered.
*/
class Camera
{
public:
Camera();
/**
* Destructor.
*/
... | 29.110701 | 120 | 0.626695 | [
"transform"
] |
7d38fe03b0aded13eeda18fc21325cf6e1e03943 | 3,041 | h | C | source/Irrlicht/CD3D9Texture.h | flaithbheartaigh/mirrlicht | ccc16e8f5465fb72e81ae986e56ef2e4c3e7654b | [
"IJG"
] | null | null | null | source/Irrlicht/CD3D9Texture.h | flaithbheartaigh/mirrlicht | ccc16e8f5465fb72e81ae986e56ef2e4c3e7654b | [
"IJG"
] | null | null | null | source/Irrlicht/CD3D9Texture.h | flaithbheartaigh/mirrlicht | ccc16e8f5465fb72e81ae986e56ef2e4c3e7654b | [
"IJG"
] | null | null | null | // Copyright (C) 2002-2007 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_DIRECTX9_TEXTURE_H_INCLUDED__
#define __C_DIRECTX9_TEXTURE_H_INCLUDED__
#include "IrrCompileConfig.h"
#ifdef _IRR_COMPILE_WITH_D... | 24.328 | 85 | 0.720816 | [
"render"
] |
7d3cec6f6470fda70a3a1513fbb3e0073757f513 | 2,824 | h | C | thirdparty/sfs2x/Util/CryptoInitializer.h | godot-addons/godot-sfs2x | a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1 | [
"MIT"
] | 2 | 2020-05-14T07:48:32.000Z | 2021-02-03T14:58:11.000Z | thirdparty/sfs2x/Util/CryptoInitializer.h | godot-addons/godot-sfs2x | a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1 | [
"MIT"
] | 1 | 2020-05-28T16:39:20.000Z | 2020-05-28T16:39:20.000Z | thirdparty/sfs2x/Util/CryptoInitializer.h | godot-addons/godot-sfs2x | a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1 | [
"MIT"
] | 2 | 2018-07-07T20:15:00.000Z | 2018-10-26T05:18:30.000Z | // ===================================================================
//
// Description
// Helper class for crypting
//
// Revision history
// Date Description
// 01-May-2015 First version
//
// ===================================================================
#ifndef __CryptoInitializer__
#define __CryptoIn... | 32.090909 | 198 | 0.453258 | [
"object"
] |
7d405521a52e36ad136b1c1dd47f12c40b285b1a | 800 | h | C | taichi/backends/cc/cc_program.h | inkydragon/taichi | b5f80c2771b578c2a32b9a024a351aafc8ca7a0b | [
"MIT"
] | null | null | null | taichi/backends/cc/cc_program.h | inkydragon/taichi | b5f80c2771b578c2a32b9a024a351aafc8ca7a0b | [
"MIT"
] | null | null | null | taichi/backends/cc/cc_program.h | inkydragon/taichi | b5f80c2771b578c2a32b9a024a351aafc8ca7a0b | [
"MIT"
] | null | null | null | #pragma once
#include "taichi/lang_util.h"
#include <vector>
#include <memory>
TI_NAMESPACE_BEGIN
class DynamicLoader;
TI_NAMESPACE_END
TLANG_NAMESPACE_BEGIN
namespace cccp {
class CCKernel;
class CCLayout;
class CCRuntime;
using CCFuncEntryType = void();
class CCProgram {
// Launch C compiler to compile gener... | 19.047619 | 69 | 0.75125 | [
"vector"
] |
7d423d4add1596eaf249ccdf3db9d71772543748 | 3,531 | h | C | common/inc/qcc/SecureAllocator.h | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 33 | 2018-01-12T00:37:43.000Z | 2022-03-24T02:31:36.000Z | common/inc/qcc/SecureAllocator.h | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 1 | 2020-01-05T05:51:27.000Z | 2020-01-05T05:51:27.000Z | common/inc/qcc/SecureAllocator.h | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 30 | 2017-12-13T23:24:00.000Z | 2022-01-25T02:11:19.000Z | /**
* @file
*
* Custom allocator for STL container that will securely delete
* contents on memory deletion.
*/
/******************************************************************************
* Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source
* Project (AJOSP) Contributors and others.
... | 33.628571 | 116 | 0.657887 | [
"vector"
] |
7d49597c127ab09d2b4f8b4ee2b9dcd00b1b22ad | 1,272 | h | C | tests/libs/adios/src/core/transforms/plugindetect/detect_plugin_write_hook_reg.h | utdsimmons/ohpc | 70dc728926a835ba049ddd3f4627ef08db7c95a0 | [
"Apache-2.0"
] | 692 | 2015-11-12T13:56:43.000Z | 2022-03-30T03:45:59.000Z | tests/libs/adios/src/core/transforms/plugindetect/detect_plugin_write_hook_reg.h | utdsimmons/ohpc | 70dc728926a835ba049ddd3f4627ef08db7c95a0 | [
"Apache-2.0"
] | 1,096 | 2015-11-12T09:08:22.000Z | 2022-03-31T21:48:41.000Z | tests/libs/adios/src/core/transforms/plugindetect/detect_plugin_write_hook_reg.h | utdsimmons/ohpc | 70dc728926a835ba049ddd3f4627ef08db7c95a0 | [
"Apache-2.0"
] | 224 | 2015-11-12T21:17:03.000Z | 2022-03-30T00:57:48.000Z | /*
* detect_plugin_write_hooks.h
*
* Using the plugin registry, (src/transforms/transform_plugins.h), builds the
* table of transform plugin write-side hooks. This should be included
* inside a C file, as it defines a global table with memory.
*
* Created on: Apr 1, 2013
* Author: David A. Boyuka II
*/
... | 38.545455 | 139 | 0.798742 | [
"transform"
] |
7d73333b16c525dd5c0a769b9062acde10df0452 | 3,392 | c | C | src/common/modobject.c | kalyanam-FMTGA/ray-original | f4f57896015c1c29ca571069b007c409d74824e0 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/common/modobject.c | kalyanam-FMTGA/ray-original | f4f57896015c1c29ca571069b007c409d74824e0 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/common/modobject.c | kalyanam-FMTGA/ray-original | f4f57896015c1c29ca571069b007c409d74824e0 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #ifndef lint
static const char RCSid[] = "$Id: modobject.c,v 2.13 2013/03/09 18:53:05 greg Exp $";
#endif
/*
* Routines for tracking object modifiers
*
* External symbols declared in object.h
*/
#include "copyright.h"
#include "standard.h"
#include "object.h"
#include "otypes.h"
static struct ohtab {
in... | 18.236559 | 85 | 0.592276 | [
"object"
] |
7d812e8025bd07310ea37ad1e9598135a738ca65 | 5,731 | c | C | src/box/sql/attach.c | GreeD3X/tarantool | b51f698762844a591a49596c52222cfd179bfdf8 | [
"BSD-2-Clause"
] | null | null | null | src/box/sql/attach.c | GreeD3X/tarantool | b51f698762844a591a49596c52222cfd179bfdf8 | [
"BSD-2-Clause"
] | null | null | null | src/box/sql/attach.c | GreeD3X/tarantool | b51f698762844a591a49596c52222cfd179bfdf8 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2010-2017, Tarantool AUTHORS, please see AUTHORS file.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this lis... | 28.093137 | 76 | 0.683476 | [
"object"
] |
7d85e3312505c570bec486b957f3a408e28ef3b5 | 28,708 | h | C | zdnn/zdnn_private.h | n-marion/zDNN | 5966eddb57292e1d794c07ec7f2b9a126e7d4022 | [
"Apache-2.0"
] | 10 | 2021-09-11T11:28:23.000Z | 2022-03-26T03:18:22.000Z | site/zDNN/zdnn/zdnn_private.h | IBM/ai-on-z-101 | f2271134b04a66627f324fd536de2a0cf5a7975b | [
"Apache-2.0"
] | 1 | 2022-03-03T19:16:03.000Z | 2022-03-03T19:16:03.000Z | site/zDNN/zdnn/zdnn_private.h | IBM/ai-on-z-101 | f2271134b04a66627f324fd536de2a0cf5a7975b | [
"Apache-2.0"
] | 3 | 2021-10-01T15:35:38.000Z | 2022-02-04T22:38:09.000Z | // SPDX-License-Identifier: Apache-2.0
/*
* Copyright IBM Corp. 2021
*
* 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 req... | 37.923382 | 80 | 0.614289 | [
"vector"
] |
043e1e9e3467ead535ffdcd5ff6c3315bf68eb37 | 1,998 | h | C | functions.h | materialsnexus/grain3d | a24fe509f885bd0d968d62db47365409c1c958c5 | [
"Apache-2.0"
] | 1 | 2022-01-11T19:34:15.000Z | 2022-01-11T19:34:15.000Z | functions.h | materialsnexus/grain3d | a24fe509f885bd0d968d62db47365409c1c958c5 | [
"Apache-2.0"
] | null | null | null | functions.h | materialsnexus/grain3d | a24fe509f885bd0d968d62db47365409c1c958c5 | [
"Apache-2.0"
] | null | null | null | #ifndef FUNCTIONS_H__
#define FUNCTIONS_H__
double det (CNode*, CNode*, CNode*, CNode*); // determinant of a matrix
double pdet (CNode*, CNode*, CNode*, CNode*); // determinant of a matrix
double length(CNode*, CNode*);
void calc_and_print_stats();
int count_bodies();
int count_vertices();
int count_f... | 26.289474 | 75 | 0.715215 | [
"vector"
] |
044150c047922b19e64b5537d5e39710a859f6d6 | 7,547 | h | C | GRIT/GRIT/include/mesh_operations/grit_vertex_split_operation.h | H2020-MSCA-ITN-rainbow/GRIT | 1bdfb0735515e9d462214f66b88a71aabf836d76 | [
"MIT"
] | 4 | 2018-05-28T19:59:05.000Z | 2021-04-23T19:57:26.000Z | GRIT/GRIT/include/mesh_operations/grit_vertex_split_operation.h | H2020-MSCA-ITN-rainbow/GRIT | 1bdfb0735515e9d462214f66b88a71aabf836d76 | [
"MIT"
] | 18 | 2018-05-06T21:08:19.000Z | 2018-06-11T17:59:00.000Z | GRIT/GRIT/include/mesh_operations/grit_vertex_split_operation.h | misztal/GRIT | 6850fec967c9de7c6c501f5067d021ef5288b88e | [
"MIT"
] | null | null | null | #ifndef GRIT_VERTEX_SPLIT_OPERATION_H
#define GRIT_VERTEX_SPLIT_OPERATION_H
#include <grit_interface_mesh_operation.h>
#include <grit_simplex_set.h>
#include <utilities/grit_extract_simplices.h>
namespace grit
{
namespace details
{
template< typename types>
class VertexSplitOperation
: public Interf... | 31.577406 | 129 | 0.480853 | [
"mesh",
"object",
"vector"
] |
044bbafa36d527d588d114e521a91d30a1597e22 | 6,439 | h | C | src/ip4.h | cyrex562/Net-Loom | df436c5b084722fb747283863fa8fbb8056e5c35 | [
"MIT"
] | null | null | null | src/ip4.h | cyrex562/Net-Loom | df436c5b084722fb747283863fa8fbb8056e5c35 | [
"MIT"
] | null | null | null | src/ip4.h | cyrex562/Net-Loom | df436c5b084722fb747283863fa8fbb8056e5c35 | [
"MIT"
] | null | null | null | #pragma once
#include <network_interface.h>
#include <packet_buffer.h>
#include <ip4_addr.h>
#include <lwip_status.h>
/** This is the packed version of Ip4Addr,
used in network headers that are itself packed */ // struct Ip4AddrPacked {
// uint32_t addr;
// } ;
// typedef struct Ip4AddrPacked Ip4AddrPT;
/* Si... | 27.635193 | 101 | 0.594036 | [
"vector"
] |
0451cefdc7ac971c53ec41957470f92707a8e59d | 10,514 | h | C | muparser3/muParser.h | beltoforion/math-parser-benchmark-project | dcdb8cf290d580c564c9e57d21c6c4454e702363 | [
"Apache-2.0",
"Zlib",
"MIT"
] | 1 | 2021-03-07T13:17:37.000Z | 2021-03-07T13:17:37.000Z | muparser3/muParser.h | beltoforion/math-parser-benchmark-project | dcdb8cf290d580c564c9e57d21c6c4454e702363 | [
"Apache-2.0",
"Zlib",
"MIT"
] | null | null | null | muparser3/muParser.h | beltoforion/math-parser-benchmark-project | dcdb8cf290d580c564c9e57d21c6c4454e702363 | [
"Apache-2.0",
"Zlib",
"MIT"
] | null | null | null | #ifndef MU_PARSER_H
#define MU_PARSER_H
//--- Standard includes ---------------------------------------------------------------------------
#include <vector>
#include <algorithm>
#include <numeric>
//--- Parser includes -----------------------------------------------------------------------------
#include "muParserBa... | 41.231373 | 120 | 0.565437 | [
"object",
"vector"
] |
04547d9ae5bf15005a29d684eeebb7c3561d13f5 | 1,696 | h | C | teaching/acm-computing-seminar/resources/langs/cpp/src/inheritance/operator-star/vectors.h | notmatthancock/notmatthancock.github.io | abcd91cc7c2653c5243fe96ba2fd681ec03930bb | [
"MIT"
] | null | null | null | teaching/acm-computing-seminar/resources/langs/cpp/src/inheritance/operator-star/vectors.h | notmatthancock/notmatthancock.github.io | abcd91cc7c2653c5243fe96ba2fd681ec03930bb | [
"MIT"
] | null | null | null | teaching/acm-computing-seminar/resources/langs/cpp/src/inheritance/operator-star/vectors.h | notmatthancock/notmatthancock.github.io | abcd91cc7c2653c5243fe96ba2fd681ec03930bb | [
"MIT"
] | null | null | null | #ifndef VECTORS_H
#define VECTORS_H
#include "matrix.h"
namespace vec {
// Row vector class inherits from the matrix class.
template<class T>
class rowvec : public mtx::matrix<T> {
public:
// Constructor.
rowvec(int n) : mtx::matrix<T>(1, n) {}
// A length function makes more ... | 29.754386 | 80 | 0.553066 | [
"vector"
] |
045b2f969ce4d8f7df4b9736ec1eafaf4444faa0 | 1,365 | h | C | include/codes/strider/LayerSuperposition.h | yonch/wireless | 5e5a081fcf3cd49d901f25db6c4c1fabbfc921d5 | [
"MIT"
] | 29 | 2015-03-11T04:54:01.000Z | 2021-09-20T06:07:59.000Z | include/codes/strider/LayerSuperposition.h | darksidelemm/wireless | 5e5a081fcf3cd49d901f25db6c4c1fabbfc921d5 | [
"MIT"
] | null | null | null | include/codes/strider/LayerSuperposition.h | darksidelemm/wireless | 5e5a081fcf3cd49d901f25db6c4c1fabbfc921d5 | [
"MIT"
] | 16 | 2015-01-28T18:58:33.000Z | 2021-08-29T02:00:24.000Z | /*
* Copyright (c) 2012 Jonathan Perry
* This code is released under the MIT license (see LICENSE file).
*/
#pragma once
#include <vector>
#include <boost/numeric/ublas/matrix.hpp>
#include "../../CodeBench.h"
/**
* \ingroup strider
* \brief Composes linear combinations of layers using a given matrix, to produc... | 22.75 | 89 | 0.691575 | [
"vector"
] |
0474194a2a8fb5fc4b2c87ed3243583ea7f3cecb | 6,406 | c | C | library/src/main/cpp/nbis/commonnbis/src/lib/clapck/slartg.c | ThalesGroup/WSQForAndroid | 411c76306eeee7e85dc9bc79b70bf379a8cd5529 | [
"BSD-2-Clause"
] | 6 | 2020-04-15T02:59:01.000Z | 2021-12-23T16:25:29.000Z | library/src/main/cpp/nbis/commonnbis/src/lib/clapck/slartg.c | ThalesGroup/WSQForAndroid | 411c76306eeee7e85dc9bc79b70bf379a8cd5529 | [
"BSD-2-Clause"
] | null | null | null | library/src/main/cpp/nbis/commonnbis/src/lib/clapck/slartg.c | ThalesGroup/WSQForAndroid | 411c76306eeee7e85dc9bc79b70bf379a8cd5529 | [
"BSD-2-Clause"
] | 6 | 2020-04-29T04:47:04.000Z | 2022-02-11T04:48:49.000Z | /*******************************************************************************
License:
This software and/or related materials was developed at the National Institute
of Standards and Technology (NIST) by employees of the Federal Government
in the course of their official duties. Pursuant to title 17 Section 105
of... | 30.798077 | 80 | 0.588667 | [
"vector"
] |
04747c2b92b3a3f4bd3f5b6d4c4c4d56c7b8541b | 1,034 | h | C | modules/task_3/lukashuk_d_monte_carlo/monte_carlo.h | Gurgen-Arm/pp_2021_autumn | ad549e49d765612c4544f34b04c9eb9432ac0dc7 | [
"BSD-3-Clause"
] | null | null | null | modules/task_3/lukashuk_d_monte_carlo/monte_carlo.h | Gurgen-Arm/pp_2021_autumn | ad549e49d765612c4544f34b04c9eb9432ac0dc7 | [
"BSD-3-Clause"
] | null | null | null | modules/task_3/lukashuk_d_monte_carlo/monte_carlo.h | Gurgen-Arm/pp_2021_autumn | ad549e49d765612c4544f34b04c9eb9432ac0dc7 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 Lukashuk Diana
#ifndef MODULES_TASK_3_LUKASHUK_D_MONTE_CARLO_MONTE_CARLO_H_
#define MODULES_TASK_3_LUKASHUK_D_MONTE_CARLO_MONTE_CARLO_H_
#include <mpi.h>
#include <cmath>
#include <ctime>
#include <random>
#include <vector>
#include <iostream>
#include <functional>
#define function std::function<doub... | 39.769231 | 80 | 0.679884 | [
"vector"
] |
0b96d78b75987721cca021357c2df88b8ff33d49 | 3,577 | h | C | libwasmint/interpreter/ByteCode.h | lukewagner/wasmint | 2138579f5fed8b76221b9e580eeb2038239464da | [
"Apache-2.0"
] | 90 | 2015-10-29T20:23:29.000Z | 2021-12-21T11:35:18.000Z | libwasmint/interpreter/ByteCode.h | lukewagner/wasmint | 2138579f5fed8b76221b9e580eeb2038239464da | [
"Apache-2.0"
] | 13 | 2015-10-30T07:33:23.000Z | 2019-01-03T13:19:19.000Z | libwasmint/interpreter/ByteCode.h | lukewagner/wasmint | 2138579f5fed8b76221b9e580eeb2038239464da | [
"Apache-2.0"
] | 15 | 2015-10-30T01:14:27.000Z | 2021-09-06T05:33:34.000Z | /*
* Copyright 2015 WebAssembly Community Group
*
* 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 l... | 31.9375 | 157 | 0.561923 | [
"vector"
] |
0b993734471b65b033751fdddcc4a9d2346e1d97 | 3,409 | h | C | Sources/system/SessionSink.h | facebookarchive/ie-toolbar | cfcc1a8ffd6d6c7d8b1e12c8317ff728d2173cac | [
"Apache-2.0"
] | 4 | 2016-05-12T23:53:32.000Z | 2021-10-31T15:18:19.000Z | Sources/system/SessionSink.h | facebookarchive/ie-toolbar | cfcc1a8ffd6d6c7d8b1e12c8317ff728d2173cac | [
"Apache-2.0"
] | null | null | null | Sources/system/SessionSink.h | facebookarchive/ie-toolbar | cfcc1a8ffd6d6c7d8b1e12c8317ff728d2173cac | [
"Apache-2.0"
] | 3 | 2015-01-10T18:23:22.000Z | 2021-10-31T15:18:10.000Z | /**
* Facebook Internet Explorer Toolbar Software License
* Copyright (c) 2009 Facebook, Inc.
*
* Permission is hereby granted, free of charge, to any person or organization
* obtaining a copy of the software and accompanying documentation covered by
* this license (which, together with any graphical images included ... | 35.884211 | 82 | 0.758287 | [
"object"
] |
0b9e6d374fd6b0f7993b8b00f8712fdbeece7975 | 7,832 | h | C | cc3235sf/ti_sdk/simplelink_cc32xx_sdk_4_10_00_07/source/ti/display/DisplayUart2.h | lagerdata/unit-test_templates | 783b34fc1552c68afa28187a7b5343a384798bd8 | [
"MIT"
] | null | null | null | cc3235sf/ti_sdk/simplelink_cc32xx_sdk_4_10_00_07/source/ti/display/DisplayUart2.h | lagerdata/unit-test_templates | 783b34fc1552c68afa28187a7b5343a384798bd8 | [
"MIT"
] | null | null | null | cc3235sf/ti_sdk/simplelink_cc32xx_sdk_4_10_00_07/source/ti/display/DisplayUart2.h | lagerdata/unit-test_templates | 783b34fc1552c68afa28187a7b5343a384798bd8 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020, Texas Instruments Incorporated
* 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... | 37.653846 | 89 | 0.699183 | [
"object"
] |
0baf864f6cc003fc241012e18ae77ab39d674386 | 15,512 | h | C | src/fastertransformer/th_op/t5/T5DecoderOp.h | hieuhoang/FasterTransformer | 440695ccac874574b1d2e1121788e8fa674b4381 | [
"Apache-2.0"
] | null | null | null | src/fastertransformer/th_op/t5/T5DecoderOp.h | hieuhoang/FasterTransformer | 440695ccac874574b1d2e1121788e8fa674b4381 | [
"Apache-2.0"
] | null | null | null | src/fastertransformer/th_op/t5/T5DecoderOp.h | hieuhoang/FasterTransformer | 440695ccac874574b1d2e1121788e8fa674b4381 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019-2021, NVIDIA CORPORATION. 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 ... | 46.166667 | 120 | 0.537197 | [
"vector"
] |
0bb1515d764b746d90f2feff487abd20a9e64bb9 | 1,093 | h | C | merge-intervals.h | kiddliu/midnight-leetcode | 1c5638102111ff7509b1bc125ba66741ba6b149e | [
"MIT"
] | null | null | null | merge-intervals.h | kiddliu/midnight-leetcode | 1c5638102111ff7509b1bc125ba66741ba6b149e | [
"MIT"
] | null | null | null | merge-intervals.h | kiddliu/midnight-leetcode | 1c5638102111ff7509b1bc125ba66741ba6b149e | [
"MIT"
] | null | null | null | #ifndef MERGE_INTERVALS_H_
#define MERGE_INTERVALS_H_
#include <algorithm>
#include <deque>
#include <vector>
namespace solution {
std::vector<std::vector<int>> merge(std::vector<std::vector<int>>& intervals) {
// why Pochmann's mind is so neat?
// Runtime: 12 ms, faster than 98.58% of C++ online submissions for... | 28.025641 | 91 | 0.610247 | [
"vector"
] |
0bbd8de266bd851ab71b6d96a533b98e1838614b | 11,014 | h | C | components/nvml.h | alex-courtis/slstatus | b2c6bed08626a370d00036ae845f5e8d15bcda11 | [
"0BSD"
] | null | null | null | components/nvml.h | alex-courtis/slstatus | b2c6bed08626a370d00036ae845f5e8d15bcda11 | [
"0BSD"
] | null | null | null | components/nvml.h | alex-courtis/slstatus | b2c6bed08626a370d00036ae845f5e8d15bcda11 | [
"0BSD"
] | null | null | null | /**
* For /usr/lib/libnvidia-ml.so
*
* Took used bits out of nvml.h from http://developer.download.nvidia.com/compute/cuda/7.5/Prod/gdk/gdk_linux_amd64_352_79_release.run
*/
typedef struct nvmlDevice_st* nvmlDevice_t;
/**
* Return values for NVML API calls.
*/
typedef enum nvmlReturn_enum
{
NVML_SUCCESS = 0... | 50.990741 | 134 | 0.687943 | [
"object"
] |
0bcc5879e192d28c57eb14d5e2e28fdf51fec8ab | 1,341 | h | C | three/core/geometry_group.h | Graphics-Physics-Libraries/three-cpp-works-imported | 9df305135187c5db9247a44537290e181350e26c | [
"MIT"
] | 4 | 2016-08-09T21:56:43.000Z | 2020-10-16T16:39:53.000Z | three/core/geometry_group.h | Graphics-Physics-Libraries/three-cpp-works-imported | 9df305135187c5db9247a44537290e181350e26c | [
"MIT"
] | 1 | 2017-03-25T08:41:05.000Z | 2017-03-25T08:41:05.000Z | three/core/geometry_group.h | Graphics-Physics-Libraries/three-cpp-works-imported | 9df305135187c5db9247a44537290e181350e26c | [
"MIT"
] | 1 | 2019-09-07T06:45:35.000Z | 2019-09-07T06:45:35.000Z | #ifndef THREE_GEOMETRY_GROUP_H
#define THREE_GEOMETRY_GROUP_H
#include <three/common.h>
#include <three/core/geometry_buffer.h>
#include <three/utils/memory.h>
#include <vector>
namespace three {
class GeometryGroup : public GeometryBuffer {
public:
typedef std::shared_ptr<GeometryGroup> Ptr;
static Ptr cre... | 23.526316 | 100 | 0.726324 | [
"vector"
] |
0bde9ca4834196635ee935f4fee34bf79768cc26 | 7,209 | h | C | fboss/agent/state/QcmConfig.h | nathanawmk/fboss | 9f36dbaaae47202f9131598560c65715334a9a83 | [
"BSD-3-Clause"
] | 834 | 2015-03-10T18:12:28.000Z | 2022-03-31T20:16:17.000Z | fboss/agent/state/QcmConfig.h | nathanawmk/fboss | 9f36dbaaae47202f9131598560c65715334a9a83 | [
"BSD-3-Clause"
] | 82 | 2015-04-07T08:48:29.000Z | 2022-03-11T21:56:58.000Z | fboss/agent/state/QcmConfig.h | nathanawmk/fboss | 9f36dbaaae47202f9131598560c65715334a9a83 | [
"BSD-3-Clause"
] | 296 | 2015-03-11T03:45:37.000Z | 2022-03-14T22:54:22.000Z | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pra... | 31.480349 | 79 | 0.732834 | [
"vector"
] |
0bf7f50df1e43dda7f21ca545903ccb3196633dc | 9,099 | c | C | Plugins/MaxQ/Source/ThirdParty/CSpice_Library/cspice/src/cspice/hrmesp_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/hrmesp_c.c | gamergenic/Spaceflight-Toolkit-For-Unreal-Engine-5 | 11d81127dd296595bca30cb1565ff3b813210230 | [
"MIT"
] | null | null | null | Plugins/MaxQ/Source/ThirdParty/CSpice_Library/cspice/src/cspice/hrmesp_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 hrmesp_c ( Hermite polynomial interpolation, equal spacing )
-Abstract
Evaluate, at a specified point, a Hermite interpolating polynomial
for a specified set of equally spaced abscissa values and
corresponding pairs of function and function derivative values.
-Disclaimer
THIS SOFTWARE AND... | 28.083333 | 71 | 0.590724 | [
"solid"
] |
0bfb7b8b5d1f7277616f78ec20ef013044a1375d | 648 | h | C | practicas/esfera.h | OswaldoHernandezEscobar/Proyecto__CGIH01 | 9d3c7a725d9afb90866e0ef12cb874baae7acc3c | [
"CC0-1.0"
] | null | null | null | practicas/esfera.h | OswaldoHernandezEscobar/Proyecto__CGIH01 | 9d3c7a725d9afb90866e0ef12cb874baae7acc3c | [
"CC0-1.0"
] | null | null | null | practicas/esfera.h | OswaldoHernandezEscobar/Proyecto__CGIH01 | 9d3c7a725d9afb90866e0ef12cb874baae7acc3c | [
"CC0-1.0"
] | null | null | null | #pragma once
#ifndef ESFERA_H_
#define ESFERA_H_
#include <glew.h>
#include <glfw3.h>
#include <stb_image.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <shader_m.h>
#include <iostream>
#define M_PI 3.14159265358979323846264338327950288
#define MERIDIANOS ... | 18.514286 | 84 | 0.722222 | [
"render"
] |
0bfda0712e2453bccbc6f8db3d459507c7f2bdff | 2,766 | h | C | src/common/Honey/Math/NumAnalysis/MinimizeN.h | Qarterd/Honeycomb | 9b7066529444cdd85d3e3467b02b72eea651853d | [
"CC0-1.0"
] | 33 | 2015-05-08T00:11:01.000Z | 2022-03-04T08:25:06.000Z | src/common/Honey/Math/NumAnalysis/MinimizeN.h | Qarterd/Honeycomb | 9b7066529444cdd85d3e3467b02b72eea651853d | [
"CC0-1.0"
] | null | null | null | src/common/Honey/Math/NumAnalysis/MinimizeN.h | Qarterd/Honeycomb | 9b7066529444cdd85d3e3467b02b72eea651853d | [
"CC0-1.0"
] | 6 | 2015-08-08T13:47:14.000Z | 2021-04-06T02:29:41.000Z | // Honeycomb, Copyright (C) 2015 NewGamePlus Inc. Distributed under the Boost Software License v1.0.
#pragma once
#include "Honey/Math/NumAnalysis/Minimize.h"
#include "Honey/Math/Alge/Vec/Vec4.h"
namespace honey
{
/// Find a local minimum of an n-dimensional function using "Powell's conjugate gradient des... | 37.378378 | 125 | 0.643529 | [
"vector"
] |
0bfe900441130e0dcb3cd58634798895c6b2290f | 579 | h | C | React3D/Core/src/Material.h | ankitpriyarup/React3D | a5874f3e600bef27c9ed7a346ed2ca0440dee5a5 | [
"MIT"
] | null | null | null | React3D/Core/src/Material.h | ankitpriyarup/React3D | a5874f3e600bef27c9ed7a346ed2ca0440dee5a5 | [
"MIT"
] | null | null | null | React3D/Core/src/Material.h | ankitpriyarup/React3D | a5874f3e600bef27c9ed7a346ed2ca0440dee5a5 | [
"MIT"
] | 1 | 2022-03-22T11:41:13.000Z | 2022-03-22T11:41:13.000Z | #pragma once
#include <iostream>
#include <fstream>
#include <regex>
#include <iterator>
#include <string.h>
#include <map>
#include "Texture.h"
#include "Uniform.h"
class Material
{
private:
std::string srcShader;
public:
std::vector<Texture*> textures;
std::unordered_map<std::string, Uniform*> defaultUniforms;
... | 21.444444 | 59 | 0.744387 | [
"vector"
] |
04055cd49790e0fd084683bfec57a4cc346d775e | 12,411 | c | C | engine/code/bspc/aas_areamerging.c | arbaazkhan2/act_unreal | 4f10e647bdb5dad36bec6a57d25a504d051e4817 | [
"CC-BY-4.0"
] | 7,407 | 2016-12-06T08:40:58.000Z | 2022-03-31T12:19:09.000Z | engine/code/bspc/aas_areamerging.c | arbaazkhan2/act_unreal | 4f10e647bdb5dad36bec6a57d25a504d051e4817 | [
"CC-BY-4.0"
] | 227 | 2016-12-06T22:05:33.000Z | 2022-03-29T09:47:06.000Z | engine/code/bspc/aas_areamerging.c | arbaazkhan2/act_unreal | 4f10e647bdb5dad36bec6a57d25a504d051e4817 | [
"CC-BY-4.0"
] | 1,594 | 2016-12-06T08:44:13.000Z | 2022-03-31T12:19:12.000Z | /*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
publish... | 31.741688 | 124 | 0.633309 | [
"model",
"solid"
] |
040a5e18a47e4705145ef535693d78a33487a338 | 432 | h | C | src/component/TextureCube.h | baislsl/CG-project | 66a56c337d9b8163e61e3e7d827004e573f3a321 | [
"MIT"
] | 1 | 2021-01-12T02:56:10.000Z | 2021-01-12T02:56:10.000Z | src/component/TextureCube.h | baislsl/CG-project | 66a56c337d9b8163e61e3e7d827004e573f3a321 | [
"MIT"
] | null | null | null | src/component/TextureCube.h | baislsl/CG-project | 66a56c337d9b8163e61e3e7d827004e573f3a321 | [
"MIT"
] | null | null | null | #ifndef CGPROJECT_TEXTURECUBE_H
#define CGPROJECT_TEXTURECUBE_H
#include "BaseShape.h"
class TextureCube : public BaseShape
{
public:
TextureCube(GLint top, GLuint bottom, GLuint left, GLuint right, GLuint front, GLuint back);
void render(const Shader &shader, const Camera &camera) override;
virtual ~TextureCub... | 19.636364 | 93 | 0.768519 | [
"render"
] |
041183707f46330672e4a0dce1479631482929a6 | 2,162 | h | C | include/pr/common/observe.h | psryland/rylogic_code | f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b | [
"CNRI-Python"
] | 2 | 2020-11-11T16:19:04.000Z | 2021-01-19T01:53:29.000Z | include/pr/common/observe.h | psryland/rylogic_code | f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b | [
"CNRI-Python"
] | 1 | 2020-07-27T09:00:21.000Z | 2020-07-27T10:58:10.000Z | include/pr/common/observe.h | psryland/rylogic_code | f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b | [
"CNRI-Python"
] | 1 | 2021-04-04T01:39:55.000Z | 2021-04-04T01:39:55.000Z | //***********************************************************************************************
//
//***********************************************************************************************
// Usage:
// 1) Inherit Observee / Observer
// 2) Register the Observer with the Observee by passing an SObserver st... | 29.616438 | 129 | 0.617484 | [
"vector"
] |
0415b7b6b84dedbbbfd7cf874c9874f5ad799127 | 351 | h | C | src/Tracker/trackers/custom_none.h | grzegorzmatczak/PostProcessingModules | bc815541453453f58fc40bd9c00bfc03be1fa3b5 | [
"MIT"
] | null | null | null | src/Tracker/trackers/custom_none.h | grzegorzmatczak/PostProcessingModules | bc815541453453f58fc40bd9c00bfc03be1fa3b5 | [
"MIT"
] | null | null | null | src/Tracker/trackers/custom_none.h | grzegorzmatczak/PostProcessingModules | bc815541453453f58fc40bd9c00bfc03be1fa3b5 | [
"MIT"
] | null | null | null | #ifndef TRACKERS_CUSTOM_NONE_H
#define TRACKERS_CUSTOM_NONE_H
#include "basetracker.h"
class QJsonObject;
namespace Trackers {
class None : public BaseTracker {
public:
None();
void process(std::vector<_postData> &_data);
void endProcess(std::vector<_postData> &_data);
private:
};
} // namespace Trackers
#e... | 16.714286 | 49 | 0.757835 | [
"vector"
] |
0420a63278d68b2a6eafa9a0595ad84cb23c73e4 | 992 | h | C | source/agent/addons/audioRanker/AudioRankerWrapper.h | andreasunterhuber/owt-server | 128b83714361c0b543ec44fc841c9094f4267633 | [
"Apache-2.0"
] | 890 | 2019-03-08T08:04:10.000Z | 2022-03-30T03:07:44.000Z | source/agent/addons/audioRanker/AudioRankerWrapper.h | vgemv/owt-server | fa6070af33feeeb79a962de08307ac5092991cbf | [
"Apache-2.0"
] | 583 | 2019-03-11T10:27:42.000Z | 2022-03-29T01:41:28.000Z | source/agent/addons/audioRanker/AudioRankerWrapper.h | vgemv/owt-server | fa6070af33feeeb79a962de08307ac5092991cbf | [
"Apache-2.0"
] | 385 | 2019-03-08T07:50:13.000Z | 2022-03-29T06:36:28.000Z | // Copyright (C) <2019> Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
#ifndef AUDIORANKERWRAPPER_H
#define AUDIORANKERWRAPPER_H
#include <AudioRanker.h>
#include <nan.h>
/*
* Wrapper class of owt_base::AudioRanker
*/
class AudioRanker : public Nan::ObjectWrap,
public owt_base::Au... | 19.076923 | 75 | 0.688508 | [
"vector"
] |
04278d7ce9f709080512e865af7fbc53aa657517 | 1,059 | h | C | Telegram-2.8/Telegraph/Telegraph/TGModernGalleryController.h | DZamataev/TelegramAppKit | 479db564f5c202e8af848dac39ec7f6fdd928dff | [
"MIT"
] | null | null | null | Telegram-2.8/Telegraph/Telegraph/TGModernGalleryController.h | DZamataev/TelegramAppKit | 479db564f5c202e8af848dac39ec7f6fdd928dff | [
"MIT"
] | null | null | null | Telegram-2.8/Telegraph/Telegraph/TGModernGalleryController.h | DZamataev/TelegramAppKit | 479db564f5c202e8af848dac39ec7f6fdd928dff | [
"MIT"
] | null | null | null | /*
* This is the source code of Telegram for iOS v. 1.1
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Peter Iakovlev, 2013.
*/
#import "TGOverlayController.h"
@class TGModernGalleryModel;
@protocol TGModernGalleryItem;... | 33.09375 | 109 | 0.777148 | [
"model"
] |
042dcca65793f880a950b5f38b14255d9189e4de | 1,694 | h | C | Code/Framework/AzCore/AzCore/std/math.h | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Code/Framework/AzCore/AzCore/std/math.h | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Code/Framework/AzCore/AzCore/std/math.h | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <cmath>
namespace AZStd
{
using std::abs;
using std... | 21.443038 | 101 | 0.504723 | [
"3d"
] |
47fc7c75fc3288cc37d3f24fe5d35a2dadba3e5e | 14,977 | h | C | include/disir/context/convenience.h | mariuslundblad/disir-c | ae831250cfbf033a755c91e62e8af7d82135d0d8 | [
"Apache-2.0"
] | 4 | 2017-06-19T09:59:50.000Z | 2019-03-20T18:49:11.000Z | include/disir/context/convenience.h | mariuslundblad/disir-c | ae831250cfbf033a755c91e62e8af7d82135d0d8 | [
"Apache-2.0"
] | 18 | 2017-06-25T22:19:00.000Z | 2019-11-28T13:16:26.000Z | include/disir/context/convenience.h | mariuslundblad/disir-c | ae831250cfbf033a755c91e62e8af7d82135d0d8 | [
"Apache-2.0"
] | 2 | 2017-10-31T11:19:55.000Z | 2019-11-28T12:13:13.000Z | #ifndef _LIBDISIR_CONTEXT_CONVENIENCE_H
#define _LIBDISIR_CONTEXT_CONVENIENCE_H
#ifdef __cplusplus
extern "C"{
#endif // __cplusplus
#include <disir/disir.h>
//!
//! This file contains the high level context convenience functions.
//! These are all implemented on top of the low level API endpoints.
//!
//! \brief A... | 45.111446 | 97 | 0.727449 | [
"object"
] |
47ff533cf8ebd54c3a71d7a591ed03a6f88dee65 | 6,878 | h | C | src/PixelBuffer.h | adamelliot/LightString | cca027cd788954543491702b41a0e1dc43ea72bf | [
"MIT"
] | 3 | 2015-10-21T20:41:32.000Z | 2017-03-27T19:23:33.000Z | src/PixelBuffer.h | adamelliot/LightString | cca027cd788954543491702b41a0e1dc43ea72bf | [
"MIT"
] | 1 | 2017-06-30T23:35:34.000Z | 2017-06-30T23:35:34.000Z | src/PixelBuffer.h | adamelliot/LightString | cca027cd788954543491702b41a0e1dc43ea72bf | [
"MIT"
] | null | null | null | #pragma once
#include <string.h>
#include <math.h>
#include <algorithm>
#include <typeindex>
#include "utils.h"
#include "types.h"
#include "geometry.h"
#include "colortypes.h"
#ifndef ARDUINO
using namespace std;
#endif
namespace LightString {
template <template <typename> class T, typename FORMAT = uint8_t>
clas... | 26.05303 | 118 | 0.682611 | [
"geometry"
] |
9a0aea9c1d1a7057b276ef5266279c8851ce0c38 | 2,446 | h | C | include/zapriltag_ros/zapriltag.h | ZhouYixuanRobtic/zapriltag_ros | 85b584320a1cc839fe88381314f7cbe0ed425522 | [
"MIT"
] | 1 | 2020-08-06T06:32:01.000Z | 2020-08-06T06:32:01.000Z | include/zapriltag_ros/zapriltag.h | ZhouYixuanRobtic/zapriltag_ros | 85b584320a1cc839fe88381314f7cbe0ed425522 | [
"MIT"
] | null | null | null | include/zapriltag_ros/zapriltag.h | ZhouYixuanRobtic/zapriltag_ros | 85b584320a1cc839fe88381314f7cbe0ed425522 | [
"MIT"
] | null | null | null | //
// Created by xcy on 2020/8/5.
//
#ifndef ZAPRILTAG_H
#define ZAPRILTAG_H
#include <cstdint>
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <string>
#include <cmath>
#include <ctime>
#include <utility>
#include "Eige... | 22.859813 | 91 | 0.725675 | [
"geometry",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.