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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7d76e0b556d24bbf3568efbc211ec73a972662fa | 37,987 | h | C | code/include/object/orxObject.h | iar-wain/orx-test | 55c8a4008375da2f28e692666255c4dbb3727edf | [
"Zlib"
] | null | null | null | code/include/object/orxObject.h | iar-wain/orx-test | 55c8a4008375da2f28e692666255c4dbb3727edf | [
"Zlib"
] | null | null | null | code/include/object/orxObject.h | iar-wain/orx-test | 55c8a4008375da2f28e692666255c4dbb3727edf | [
"Zlib"
] | null | null | null | /* Orx - Portable Game Engine
*
* Copyright (c) 2008-2015 Orx-Project
*
* 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 sof... | 39.693835 | 225 | 0.700161 | [
"object",
"vector",
"model"
] |
7d781b8de769c877781334e97bc9f1ac1f702cf4 | 3,389 | c | C | src/driver/common.c | mutant-industries/PrimerOS-test-project | 4ff3391cc260b4d998c85d39b463a15b3e04154b | [
"BSD-3-Clause"
] | null | null | null | src/driver/common.c | mutant-industries/PrimerOS-test-project | 4ff3391cc260b4d998c85d39b463a15b3e04154b | [
"BSD-3-Clause"
] | null | null | null | src/driver/common.c | mutant-industries/PrimerOS-test-project | 4ff3391cc260b4d998c85d39b463a15b3e04154b | [
"BSD-3-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2018-2019 Mutant Industries ltd.
#include <test/driver/common.h>
#include <msp430.h>
#include <stdint.h>
// -------------------------------------------------------------------------------------
__resource Vector_handle_t vector;
// --------------------------... | 35.302083 | 123 | 0.673355 | [
"vector"
] |
0433e35ec20d80d3a41514a4307a3341289c7016 | 777 | h | C | svc_kube_vision_opencvplus/extras/ImageRegionGraph/matching/cbir/bow/ctis/index.h | lucmichalski/kube-vproxy | c7cc0edbcbcd07a48f0fc48b9457eae693b76688 | [
"Apache-2.0"
] | 3 | 2018-06-22T07:55:51.000Z | 2021-06-21T19:18:16.000Z | svc_kube_vision_opencvplus/extras/ImageRegionGraph/matching/cbir/bow/ctis/index.h | lucmichalski/kube-vproxy | c7cc0edbcbcd07a48f0fc48b9457eae693b76688 | [
"Apache-2.0"
] | null | null | null | svc_kube_vision_opencvplus/extras/ImageRegionGraph/matching/cbir/bow/ctis/index.h | lucmichalski/kube-vproxy | c7cc0edbcbcd07a48f0fc48b9457eae693b76688 | [
"Apache-2.0"
] | 1 | 2020-11-04T04:56:50.000Z | 2020-11-04T04:56:50.000Z | #pragma once
#include <vector>
#include <string>
#include "iw/matching/cbir/bow/index.h"
#include "snap/ctis/ccInvertedFile.hpp"
namespace cbir {
class CtisIndex : public Index {
public:
CtisIndex();
virtual ~CtisIndex();
virtual bool Load(const std::string& filename);
virtual bool Save(const std::string& f... | 21 | 126 | 0.72973 | [
"vector"
] |
044203ea5fef5090c3cfc6dcffd33faaeee1277d | 3,412 | h | C | firmware/camera_control.h | iwanders/focus_stacking | 4324a60186ff609641c87da9bdfcbb8d4d422756 | [
"MIT"
] | 4 | 2017-01-02T17:31:11.000Z | 2020-12-04T13:48:28.000Z | firmware/camera_control.h | iwanders/focus_stacking | 4324a60186ff609641c87da9bdfcbb8d4d422756 | [
"MIT"
] | null | null | null | firmware/camera_control.h | iwanders/focus_stacking | 4324a60186ff609641c87da9bdfcbb8d4d422756 | [
"MIT"
] | 1 | 2019-03-14T06:39:29.000Z | 2019-03-14T06:39:29.000Z | /*
The MIT License (MIT)
Copyright (c) 2016 Ivor Wanders
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, mod... | 31.592593 | 80 | 0.719226 | [
"object"
] |
04476415df4f9f853435f86e9f6fde650b7b142a | 9,558 | c | C | pmtksupportCopy/GPstuff-2.0/dist/winCsource/gp2fwds.c | shangliy/ee660 | c1345d61ddcc1122472358d55ac87ffc03441339 | [
"MIT"
] | null | null | null | pmtksupportCopy/GPstuff-2.0/dist/winCsource/gp2fwds.c | shangliy/ee660 | c1345d61ddcc1122472358d55ac87ffc03441339 | [
"MIT"
] | null | null | null | pmtksupportCopy/GPstuff-2.0/dist/winCsource/gp2fwds.c | shangliy/ee660 | c1345d61ddcc1122472358d55ac87ffc03441339 | [
"MIT"
] | null | null | null | /* GP2FWDS Forward propagation through Gaussian Processes
*
* Description
* Y = GP2FWDS(GP, TX, TY, X) takes a gp data structures GP together with a
* matrix X of input vectors, matrix TX of training inputs and vector TY of
* training targets, and forward propagates the inputs through the GPs to
* ge... | 27.308571 | 91 | 0.503243 | [
"vector"
] |
0447b576a9958f88d861201bc7c06ba406a08cfb | 129,751 | c | C | introcore/src/guests/callbacks.c | hugmyndakassi/hvmi | fa49a34ba32b327c462224db1cf58d96a076a224 | [
"Apache-2.0"
] | 677 | 2020-07-30T13:59:36.000Z | 2022-03-24T11:02:00.000Z | introcore/src/guests/callbacks.c | hugmyndakassi/hvmi | fa49a34ba32b327c462224db1cf58d96a076a224 | [
"Apache-2.0"
] | 38 | 2020-08-11T13:59:36.000Z | 2022-02-17T15:03:48.000Z | introcore/src/guests/callbacks.c | fengjixuchui/hvmi | 72488e8432d26547876a052d24ea44c3e18279a7 | [
"Apache-2.0"
] | 55 | 2020-07-30T14:11:03.000Z | 2022-03-09T05:40:44.000Z | /*
* Copyright (c) 2020 Bitdefender
* SPDX-License-Identifier: Apache-2.0
*/
#include "callbacks.h"
#include "decoder.h"
#include "gpacache.h"
#include "hook.h"
#include "hook_cr.h"
#include "hook_dtr.h"
#include "hook_msr.h"
#include "hook_xcr.h"
#include "memtables.h"
#include "ptfilter.h"
#include "rtlpvirtualunw... | 36.061979 | 123 | 0.632889 | [
"vector",
"model"
] |
045b0709da66cd42524dae352778d7ed76211d4a | 673 | h | C | src/database.h | Neuromancer2701/SimpleATM | 0ab908726ee4a3adff85d6e90d31688b7de5ae14 | [
"MIT"
] | null | null | null | src/database.h | Neuromancer2701/SimpleATM | 0ab908726ee4a3adff85d6e90d31688b7de5ae14 | [
"MIT"
] | null | null | null | src/database.h | Neuromancer2701/SimpleATM | 0ab908726ee4a3adff85d6e90d31688b7de5ae14 | [
"MIT"
] | null | null | null | #if !defined (DATABASE_H)
#define DATABASE_H
#include <sqlite3.h>
#include <string>
#include <mutex>
#include <memory>
#include <vector>
#include <map>
using std::mutex;
using std::string;
using std::shared_ptr;
using std::vector;
using std::map;
class database
{
public:
database();
vector<map<string, stri... | 16.02381 | 111 | 0.687964 | [
"vector"
] |
045e5727c91ee78f34a39fa6942cab8913836841 | 8,959 | h | C | Source/Core/Pool.h | Dwarfius/VulkanRTSEngine | b26d49114aea07566ac60ea8ccf9afc3c21d615a | [
"Apache-2.0"
] | 17 | 2017-10-29T15:47:41.000Z | 2022-03-05T16:53:03.000Z | Source/Core/Pool.h | Dwarfius/VulkanRTSEngine | b26d49114aea07566ac60ea8ccf9afc3c21d615a | [
"Apache-2.0"
] | null | null | null | Source/Core/Pool.h | Dwarfius/VulkanRTSEngine | b26d49114aea07566ac60ea8ccf9afc3c21d615a | [
"Apache-2.0"
] | 4 | 2020-08-16T16:05:12.000Z | 2021-09-24T22:30:41.000Z | #pragma once
#ifdef ASSERT_MUTEX
#include "Threading/AssertRWMutex.h"
#endif
#include <variant>
#include "Profiler.h"
// A collection object that has ability to grow like a vector,
// while guarantying pointer stability (via proxy type called Ptr).
// The purpose is to help maintain cache coherence
// Note: can be a... | 25.818444 | 106 | 0.699297 | [
"object",
"vector"
] |
04684fa808dad58ab5c7a515a086d5efd76c3345 | 22,186 | h | C | amf/public/common/AMFMath.h | EwoutH/AMF | ec6e3804c82fba7a597c86b261bc29e5c33da578 | [
"MIT"
] | 128 | 2016-08-17T21:57:05.000Z | 2022-03-30T17:44:36.000Z | amf/public/common/AMFMath.h | EwoutH/AMF | ec6e3804c82fba7a597c86b261bc29e5c33da578 | [
"MIT"
] | 8 | 2016-08-18T18:39:12.000Z | 2021-11-12T19:10:30.000Z | amf/public/common/AMFMath.h | EwoutH/AMF | ec6e3804c82fba7a597c86b261bc29e5c33da578 | [
"MIT"
] | 30 | 2016-08-18T19:36:06.000Z | 2022-03-30T17:28:31.000Z | //
// Notice Regarding Standards. AMD does not provide a license or sublicense to
// any Intellectual Property Rights relating to any standards, including but not
// limited to any audio and/or video codec technologies such as MPEG-2, MPEG-4;
// AVC/H.264; HEVC/H.265; AAC decode/FFMPEG; AAC encode/FFMPEG; VC-1; a... | 35.554487 | 267 | 0.464978 | [
"vector"
] |
046c5c3c49c9b808de9ed9e3e9da4cbbc66905f2 | 10,921 | h | C | media/codec2/sfplugin/CCodecBufferChannel.h | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | media/codec2/sfplugin/CCodecBufferChannel.h | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | media/codec2/sfplugin/CCodecBufferChannel.h | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | 2 | 2021-07-08T07:42:11.000Z | 2021-07-09T21:56:10.000Z | /*
* Copyright 2017, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 30.937677 | 90 | 0.687758 | [
"object",
"vector"
] |
04731379d362a07523dee87e2d15613fc1fba793 | 1,351 | h | C | Bomberman/Bomberman/Source/SceneSelectLevel.h | allenbateman/SuperFantastics_UPC | d374e62634bf4997f743aa178a5947b6ce548216 | [
"MIT"
] | 2 | 2021-02-22T08:50:27.000Z | 2021-08-19T06:10:46.000Z | Bomberman/Bomberman/Source/SceneSelectLevel.h | allenbateman/SuperFantastics_UPC | d374e62634bf4997f743aa178a5947b6ce548216 | [
"MIT"
] | null | null | null | Bomberman/Bomberman/Source/SceneSelectLevel.h | allenbateman/SuperFantastics_UPC | d374e62634bf4997f743aa178a5947b6ce548216 | [
"MIT"
] | 2 | 2021-03-04T21:57:18.000Z | 2021-03-06T22:22:56.000Z | #ifndef __SCENE_SELECT_H__
#define __SCENE_SELECT_H__
#include "Module.h"
#include "Animation.h"
#include "p2Point.h"
struct SDL_Texture;
#define MAX_STAGES 3
class SceneSelectLevel : public Module
{
public:
//Constructor
SceneSelectLevel(bool startEnabled);
//Destructor
~SceneSelectLevel();
// Called when t... | 23.293103 | 71 | 0.751295 | [
"render"
] |
047325592412015b6175a56a28872671e11799c2 | 3,359 | h | C | paf/src/pafcore/Delegate.h | lili2012/idlcpp | 47f47f4f0ceb9312e9cec800976d11b39a94eb68 | [
"MIT"
] | 31 | 2016-04-12T05:38:50.000Z | 2021-07-25T13:33:01.000Z | paf/src/pafcore/Delegate.h | lili2012/idlcpp | 47f47f4f0ceb9312e9cec800976d11b39a94eb68 | [
"MIT"
] | null | null | null | paf/src/pafcore/Delegate.h | lili2012/idlcpp | 47f47f4f0ceb9312e9cec800976d11b39a94eb68 | [
"MIT"
] | 6 | 2016-03-16T02:30:41.000Z | 2021-09-26T03:10:52.000Z | //DO NOT EDIT THIS FILE, it is generated by idlcpp
//http://www.idlcpp.org
#pragma once
#include "./Reference.h"
namespace pafcore{ class ClassType; }
namespace pafcore{ struct Delegate; }
namespace pafcore{ class ClassType; }
#include "Utility.h"
namespace pafcore
{
class Reference;
class InstanceMethod;
cl... | 23.326389 | 94 | 0.746055 | [
"object"
] |
048379be51fc0d78bb8356c12b6802ef45947e15 | 35,587 | c | C | src/widgets/file/elm_file_selector.c | marcelhollerbach/kvasir | 38a0424d5ee3535abc6d1f6f0beb0cf91c0b7fb7 | [
"BSD-2-Clause"
] | 8 | 2015-04-05T09:33:16.000Z | 2016-03-13T16:48:19.000Z | src/widgets/file/elm_file_selector.c | marcelhollerbach/kvasir | 38a0424d5ee3535abc6d1f6f0beb0cf91c0b7fb7 | [
"BSD-2-Clause"
] | 19 | 2015-06-30T16:33:36.000Z | 2016-03-01T16:56:01.000Z | src/widgets/file/elm_file_selector.c | marcelhollerbach/kvasir | 38a0424d5ee3535abc6d1f6f0beb0cf91c0b7fb7 | [
"BSD-2-Clause"
] | 5 | 2015-05-13T13:48:49.000Z | 2015-09-18T13:52:02.000Z | #define INEEDWIDGET
#define ELM_WIDGET_PROTECTED
#include "../elementary_ext_priv.h"
#include <regex.h>
#define PRIV_DATA(o) Elm_File_Selector_Data *pd = efl_data_scope_get(o, ELM_FILE_SELECTOR_CLASS);
#define STEP_SIZE 10
#define ICON_SIZE_INF 0
#define ICON_SIZE_SUP 101
typedef struct
{
struct {
Evas_Object... | 28.132016 | 156 | 0.687386 | [
"object"
] |
0483abb9b0e1ad749c2098d388446458ea851adb | 7,783 | h | C | Accounts/util/iOS-SDK/RestKit/include/RestKit/RKURL.h | xtremelabs/ForcePad | d1f4e733321ead73554b9e56ba82c11b17a31fc4 | [
"BSD-3-Clause"
] | 15 | 2015-04-03T23:23:47.000Z | 2021-02-05T10:24:02.000Z | Accounts/util/iOS-SDK/RestKit/include/RestKit/RKURL.h | IdeaCore/Salesforce-iOS-ForcePad | e517dfd47d465ff5a709547347ac0eda372577d8 | [
"BSD-3-Clause"
] | 2 | 2016-10-12T07:05:47.000Z | 2019-02-05T06:51:57.000Z | Accounts/util/iOS-SDK/RestKit/include/RestKit/RKURL.h | IdeaCore/Salesforce-iOS-ForcePad | e517dfd47d465ff5a709547347ac0eda372577d8 | [
"BSD-3-Clause"
] | 17 | 2015-04-14T14:56:30.000Z | 2021-08-13T10:02:00.000Z | //
// RKURL.h
// RestKit
//
// Created by Jeff Arena on 10/18/10.
// Copyright 2010 Two Toasters
//
// 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/li... | 40.536458 | 160 | 0.764744 | [
"object"
] |
048b7a72faa1b35f86b72da27aa5d273266e0d06 | 685,325 | c | C | lib/c/kronos.c | reejit/Zorobot | d7adb58f47a4c6dc0a324f3a9ecfcfc54c473b73 | [
"Apache-2.0"
] | null | null | null | lib/c/kronos.c | reejit/Zorobot | d7adb58f47a4c6dc0a324f3a9ecfcfc54c473b73 | [
"Apache-2.0"
] | null | null | null | lib/c/kronos.c | reejit/Zorobot | d7adb58f47a4c6dc0a324f3a9ecfcfc54c473b73 | [
"Apache-2.0"
] | 1 | 2021-03-25T16:56:51.000Z | 2021-03-25T16:56:51.000Z | /* Generated by Cython 0.29.21 */
/* BEGIN: Cython Metadata
{
"distutils": {
"name": "kronos",
"sources": [
"kronos.py"
]
},
"module_name": "kronos"
}
END: Cython Metadata */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#ifndef Py_PYTHON_H
#error Python headers need... | 42.699377 | 471 | 0.66888 | [
"object"
] |
0b98b1caf1c9606e7482059a8da80b032870f159 | 546 | h | C | Development/nmos/node_behaviour.h | EwoutH/nmos-cpp | e8cf0e2322bb4ae343f10638abf6035206620fe6 | [
"Apache-2.0"
] | null | null | null | Development/nmos/node_behaviour.h | EwoutH/nmos-cpp | e8cf0e2322bb4ae343f10638abf6035206620fe6 | [
"Apache-2.0"
] | null | null | null | Development/nmos/node_behaviour.h | EwoutH/nmos-cpp | e8cf0e2322bb4ae343f10638abf6035206620fe6 | [
"Apache-2.0"
] | null | null | null | #ifndef NMOS_NODE_BEHAVIOUR_H
#define NMOS_NODE_BEHAVIOUR_H
namespace slog
{
class base_gate;
}
// Node behaviour including both registered operation and peer to peer operation
// See https://github.com/AMWA-TV/nmos-discovery-registration/blob/v1.2/docs/4.1.%20Behaviour%20-%20Registration.md
// and https://github... | 27.3 | 125 | 0.772894 | [
"model"
] |
0b9a2068ad3b28321f15934e4a9a9af2a9efcf11 | 4,253 | h | C | code/src/include/poly.h | lukius/fmtgp | 4809c0b430fa05a2676db5750e502b112941d6d7 | [
"MIT"
] | 6 | 2017-10-12T17:40:40.000Z | 2022-03-23T03:00:43.000Z | code/src/include/poly.h | lukius/fmtgp | 4809c0b430fa05a2676db5750e502b112941d6d7 | [
"MIT"
] | null | null | null | code/src/include/poly.h | lukius/fmtgp | 4809c0b430fa05a2676db5750e502b112941d6d7 | [
"MIT"
] | 2 | 2020-05-15T07:07:43.000Z | 2020-08-29T14:01:30.000Z | #ifndef _POLY_H_
#define _POLY_H_
#include "misc.h"
#include <string>
#include <utility>
#include <vector>
#define deg_coef std::pair<int, K>
// K[X] polynomials. The vector _coef holding the coefficients is such that
// {(n_0, a_{n_0}),(n_1, a_{n_1}),...,(n_k, a_{n_k})} = a_{n_0} x^{n_0} +
// a_{n_1} x^{n_1} + ..... | 27.616883 | 84 | 0.48648 | [
"vector"
] |
0bafbcfabd86866a9e50134c179a535fff1c5018 | 7,780 | h | C | include/HBTK/Generators.h | hjabird/Quad1D | 4f0291bc729ac689df64d0366e8947b12af28684 | [
"MIT"
] | null | null | null | include/HBTK/Generators.h | hjabird/Quad1D | 4f0291bc729ac689df64d0366e8947b12af28684 | [
"MIT"
] | null | null | null | include/HBTK/Generators.h | hjabird/Quad1D | 4f0291bc729ac689df64d0366e8947b12af28684 | [
"MIT"
] | null | null | null | #pragma once
/*////////////////////////////////////////////////////////////////////////////
Generators.h
Generate vectors of values. Has functions like linspace, logspace, meshgrid...
Copyright 2017 HJA Bird
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated ... | 41.382979 | 122 | 0.727121 | [
"object",
"vector"
] |
0bb008feb7d21840688d5432362b9d1fd19f1d5f | 859 | h | C | graphics/mesh/arrayMesh.h | Owl66/Physics3D | 5eb6feac0f29c27aae6fde235601ff184195b903 | [
"MIT"
] | 175 | 2018-11-27T15:29:35.000Z | 2022-03-24T19:33:54.000Z | graphics/mesh/arrayMesh.h | moonlightware/Physics3D | 5eb6feac0f29c27aae6fde235601ff184195b903 | [
"MIT"
] | 5 | 2020-07-14T11:14:10.000Z | 2022-03-15T16:16:07.000Z | graphics/mesh/arrayMesh.h | moonlightware/Physics3D | 5eb6feac0f29c27aae6fde235601ff184195b903 | [
"MIT"
] | 19 | 2020-02-26T13:20:48.000Z | 2022-02-24T05:45:06.000Z | #pragma once
#include "abstractMesh.h"
#include "../buffers/bufferLayout.h"
namespace P3D::Graphics {
class VertexBuffer;
class ArrayMesh : public AbstractMesh {
public:
BufferLayout vertexBufferLayout;
BufferLayout uvBufferLayout;
VertexBuffer* vertexBuffer = nullptr;
VertexBuffer* uvBuffer = nullptr;
cons... | 27.709677 | 123 | 0.786962 | [
"render"
] |
0bb1fbad8ebb699752e4f9dd62657e64714272f2 | 1,650 | h | C | include/ds3d.h | ptitSeb/freespace2 | 500ee249f7033aac9b389436b1737a404277259c | [
"Linux-OpenIB"
] | 1 | 2020-07-14T07:29:18.000Z | 2020-07-14T07:29:18.000Z | include/ds3d.h | ptitSeb/freespace2 | 500ee249f7033aac9b389436b1737a404277259c | [
"Linux-OpenIB"
] | 2 | 2019-01-01T22:35:56.000Z | 2022-03-14T07:34:00.000Z | include/ds3d.h | ptitSeb/freespace2 | 500ee249f7033aac9b389436b1737a404277259c | [
"Linux-OpenIB"
] | 2 | 2021-03-07T11:40:42.000Z | 2021-12-26T21:40:39.000Z | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on
* the source.
*/
/*
* $Logfile: /Freespace2/code/Sound/ds3d.h $
* $Revision: 110 $
* $Date:... | 24.264706 | 84 | 0.672727 | [
"vector",
"3d"
] |
0bb858a963c03f1dc9f657da62da8919541540de | 8,533 | h | C | src/mongo/db/s/resharding/resharding_future_util.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/resharding/resharding_future_util.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/resharding/resharding_future_util.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2021-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 44.212435 | 100 | 0.664596 | [
"vector"
] |
0bd39b57b1337859ebd8600efc84a73139770e76 | 5,528 | c | C | sdk-6.5.20/libs/sdklt/bcmlta/bcmltx/bcm56990_b0/bcm56990_b0_lta_bcmltx_field_demux_tnl_l2_vxlan_decap_ovid_ipv6_emt_outer_src_ipv6u_lowerf_0_xfrm_handler.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlta/bcmltx/bcm56990_b0/bcm56990_b0_lta_bcmltx_field_demux_tnl_l2_vxlan_decap_ovid_ipv6_emt_outer_src_ipv6u_lowerf_0_xfrm_handler.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlta/bcmltx/bcm56990_b0/bcm56990_b0_lta_bcmltx_field_demux_tnl_l2_vxlan_decap_ovid_ipv6_emt_outer_src_ipv6u_lowerf_0_xfrm_handler.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*******************************************************************************
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated by fltg from Logical Table mapping files.
*
* Tool: $SDK/INTERNAL/fltg/bin/fltg
*
* Edits to this file will be lost when it is regenerated.
*
* This license is set out in ht... | 44.943089 | 141 | 0.791787 | [
"transform"
] |
0bd5bc337cfbe5bdef8e1da13c60323306cd3c4d | 1,264 | h | C | src/utils/math.h | Detectoour/winter-linux | df77259e96ed8c9cba01149a9fd076535bfd8262 | [
"MIT"
] | 1 | 2022-02-20T20:13:32.000Z | 2022-02-20T20:13:32.000Z | src/utils/math.h | Detectoour/winter-linux | df77259e96ed8c9cba01149a9fd076535bfd8262 | [
"MIT"
] | null | null | null | src/utils/math.h | Detectoour/winter-linux | df77259e96ed8c9cba01149a9fd076535bfd8262 | [
"MIT"
] | null | null | null | #pragma once
namespace math
{
int random_int(int min, int max);
float random_float(float min, float max);
vec3_t transform(const vec3_t& tr, const matrix3x4_t& matrix);
void transform(const vec3_t& tr, const matrix3x4_t& matrix, vec3_t& out);
float normalize(float yaw);
void angle_vectors(cons... | 33.263158 | 112 | 0.651899 | [
"transform"
] |
0bd6b3f8b8e0f79ae2b0708f7345e10f5c8bb5e0 | 3,601 | h | C | include/rtp++/mprtp/MpRtpFeedbackManager.h | miseri/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | 1 | 2021-07-14T08:15:05.000Z | 2021-07-14T08:15:05.000Z | include/rtp++/mprtp/MpRtpFeedbackManager.h | 7956968/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | null | null | null | include/rtp++/mprtp/MpRtpFeedbackManager.h | 7956968/rtp_plus_plus | 244ddd86f40f15247dd39ae7f9283114c2ef03a2 | [
"BSD-3-Clause"
] | 2 | 2021-07-14T08:15:02.000Z | 2021-07-14T08:56:10.000Z | #pragma once
#include <unordered_map>
#include <vector>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <cpputil/GenericParameters.h>
#include <rtp++/IFeedbackManager.h>
#include <rtp++/RtcpPacketBase.h>
#include <rtp++/RtpSessionParameters.h>
#include <rtp++/rfc4585/RtcpFb.h>
#include <rtp++/rfc4585/Rfc4... | 33.654206 | 125 | 0.749236 | [
"vector"
] |
0bd9c774c74bd2b9c9927b3528af5029b3817454 | 370 | h | C | 09-classes/include/xref.h | Lzeey/accelerated-cpp | a4f44b62824c72e7590bc028235e5a6adfbedc7f | [
"MIT"
] | null | null | null | 09-classes/include/xref.h | Lzeey/accelerated-cpp | a4f44b62824c72e7590bc028235e5a6adfbedc7f | [
"MIT"
] | null | null | null | 09-classes/include/xref.h | Lzeey/accelerated-cpp | a4f44b62824c72e7590bc028235e5a6adfbedc7f | [
"MIT"
] | null | null | null | #ifndef GUARD_XREF_H
#define GUARD_XREF_H
#include <iostream>
#include <vector>
#include <string>
#include <map>
#include "split.h"
namespace xref {
typedef std::map<std::string, std::vector<int> > cross_ref;
void print_xref(const cross_ref&);
cross_ref gen_cross_ref(std::istream&, std::vector<std::string>... | 26.428571 | 108 | 0.724324 | [
"vector"
] |
0be287af7ffe8fa504140485d06d4d1a65f95d5f | 1,569 | h | C | src/async/smtp/MCSMTPAsyncSession.h | zhanleewo/mailcore2 | a6c2d0465b25351689a1b4761f191201275f2b52 | [
"BSD-3-Clause"
] | null | null | null | src/async/smtp/MCSMTPAsyncSession.h | zhanleewo/mailcore2 | a6c2d0465b25351689a1b4761f191201275f2b52 | [
"BSD-3-Clause"
] | null | null | null | src/async/smtp/MCSMTPAsyncSession.h | zhanleewo/mailcore2 | a6c2d0465b25351689a1b4761f191201275f2b52 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __MAILCORE_MCSMTPASYNCSESSION_H
#define __MAILCORE_MCSMTPASYNCSESSION_H
#include <MailCore/MCBaseTypes.h>
#include <MailCore/MCMessageConstants.h>
#ifdef __cplusplus
namespace mailcore {
class MessageBuilder;
class SMTPOperation;
class SMTPSession;
class Address;
class SMTPAsyncSession : public O... | 22.73913 | 70 | 0.742511 | [
"object"
] |
0be5e29d919944d35b77121fac7c7c1b1ba1457e | 3,939 | c | C | usr/src/libexec/ld.so/util.c | sizeofvoid/ifconfigd | bdff4b2cec6d572c1450cb44f32c0bdab1b49e5f | [
"BSD-2-Clause"
] | 2 | 2020-04-15T13:39:01.000Z | 2020-08-28T01:27:00.000Z | usr/src/libexec/ld.so/util.c | sizeofvoid/ifconfigd | bdff4b2cec6d572c1450cb44f32c0bdab1b49e5f | [
"BSD-2-Clause"
] | null | null | null | usr/src/libexec/ld.so/util.c | sizeofvoid/ifconfigd | bdff4b2cec6d572c1450cb44f32c0bdab1b49e5f | [
"BSD-2-Clause"
] | 1 | 2020-08-28T01:25:41.000Z | 2020-08-28T01:25:41.000Z | /* $OpenBSD: util.c,v 1.21 2010/10/30 15:36:32 deraadt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
*
* 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... | 26.795918 | 77 | 0.687738 | [
"object"
] |
0be873a0358dbf95ffa2fda56549ea8b49268ce9 | 8,486 | h | C | kernel/proto.h | ivankelly/minix | 30caa3ccef22a9e9cfeefd4d3e5682ceb48e86d8 | [
"BSD-3-Clause"
] | 1 | 2020-04-01T01:05:25.000Z | 2020-04-01T01:05:25.000Z | kernel/proto.h | ivankelly/minix | 30caa3ccef22a9e9cfeefd4d3e5682ceb48e86d8 | [
"BSD-3-Clause"
] | null | null | null | kernel/proto.h | ivankelly/minix | 30caa3ccef22a9e9cfeefd4d3e5682ceb48e86d8 | [
"BSD-3-Clause"
] | 2 | 2020-04-19T18:22:06.000Z | 2020-09-08T00:51:49.000Z | /* Function prototypes. */
#ifndef PROTO_H
#define PROTO_H
#include <xen/xen.h>
#include <xen/evtchn.h>
/* Struct declarations. */
struct proc;
struct timer;
struct stackframe_s;
struct segdesc_s;
/* clock.c */
_PROTOTYPE(void clock_task, (void));
_PROTOTYPE(void clock_stop, (void));
_PROTOTYPE(clock_t get_uptime, ... | 40.602871 | 93 | 0.732383 | [
"vector"
] |
0bed5c4a7ae6bcc5bd0d4ac2cf95befe673a11ac | 3,106 | h | C | libot/include/ot/path.h | goossens/ObjectTalk | ca1d4f558b5ad2459b376102744d52c6283ec108 | [
"MIT"
] | 6 | 2021-11-12T15:03:53.000Z | 2022-01-28T18:30:33.000Z | libot/include/ot/path.h | goossens/ObjectTalk | ca1d4f558b5ad2459b376102744d52c6283ec108 | [
"MIT"
] | null | null | null | libot/include/ot/path.h | goossens/ObjectTalk | ca1d4f558b5ad2459b376102744d52c6283ec108 | [
"MIT"
] | null | null | null | // ObjectTalk Scripting Language
// Copyright (c) 1993-2022 Johan A. Goossens. All rights reserved.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
//
// Include files
//
#include <filesystem>
#include "system.h"
//
// OtPath... | 31.693878 | 107 | 0.71378 | [
"object"
] |
0bf02a80ce652c215cd947437a6c2837ab221e71 | 1,382 | h | C | apis/rest/services/pkduck_service/code/Joiner/Joiner.h | qcri/data_civilizer_system | 3c732e3e8c65ea9ee4a44569b0d031bc2c17f946 | [
"MIT"
] | 6 | 2019-05-09T04:24:06.000Z | 2021-04-17T16:01:02.000Z | apis/rest/services/pkduck_service/code/Joiner/Joiner.h | qcri/data_civilizer_system | 3c732e3e8c65ea9ee4a44569b0d031bc2c17f946 | [
"MIT"
] | 1 | 2020-10-08T11:19:03.000Z | 2020-10-08T11:19:03.000Z | apis/rest/services/pkduck_service/code/Joiner/Joiner.h | qcri/data_civilizer_system | 3c732e3e8c65ea9ee4a44569b0d031bc2c17f946 | [
"MIT"
] | 3 | 2019-07-09T17:18:44.000Z | 2021-05-26T13:52:16.000Z | //
// Created by Wenbo Tao on 12/27/16.
//
#ifndef XCLEAN_JOINER_H
#define XCLEAN_JOINER_H
#include "../Common.h"
using namespace std;
class Joiner
{
public:
//constructors
Joiner() {}
Joiner(vector<t_rule>, vector<string>);
//join
virtual vector<pair<double, pair<string, string>>> getJoinedStringPairs() = 0;
... | 19.194444 | 79 | 0.750362 | [
"vector"
] |
0bf8864c2f4a03069d54b35d0f3e177307b7ef03 | 2,012 | h | C | include/vdlib/RawNode.h | potato3d/vdlib | 8699a2b215a20cba92a1182ca5968d85fc4db366 | [
"MIT"
] | 6 | 2021-02-13T14:18:23.000Z | 2022-03-07T09:32:22.000Z | include/vdlib/RawNode.h | potato3d/vdlib | 8699a2b215a20cba92a1182ca5968d85fc4db366 | [
"MIT"
] | null | null | null | include/vdlib/RawNode.h | potato3d/vdlib | 8699a2b215a20cba92a1182ca5968d85fc4db366 | [
"MIT"
] | 3 | 2021-03-11T08:48:19.000Z | 2022-03-07T09:32:24.000Z | /**
* Initial node used only during hierarchy construction.
* author: Paulo Ivson <psantos@tecgraf.puc-rio.br>
* date: 4-Mar-2008
*/
#ifndef _VDLIB_RAWNODE_H_
#define _VDLIB_RAWNODE_H_
#include <vdlib/Common.h>
#include <vdlib/Plane.h>
namespace vdlib {
// This stores information only needed during hierarchy const... | 26.826667 | 85 | 0.751491 | [
"geometry",
"vector"
] |
0bfe7d3ef4c3069d8388ca08ec62371fecec5420 | 1,883 | h | C | include/vdtecs/isystem.h | vitodtagliente/vdtecs | b61ae3c64562864d6f5c35c1d9a1860bf3e9efaa | [
"MIT"
] | null | null | null | include/vdtecs/isystem.h | vitodtagliente/vdtecs | b61ae3c64562864d6f5c35c1d9a1860bf3e9efaa | [
"MIT"
] | null | null | null | include/vdtecs/isystem.h | vitodtagliente/vdtecs | b61ae3c64562864d6f5c35c1d9a1860bf3e9efaa | [
"MIT"
] | null | null | null | /// Copyright (c) Vito Domenico Tagliente
#pragma once
#include <vector>
#include "entity.h"
namespace ecs
{
class ISystem
{
public:
class Manager final
{
public:
using iterator = std::vector<ISystem*>::iterator;
using const_iterator = std::vector<ISystem*>::const_iterator;
// register a system
... | 20.692308 | 96 | 0.640467 | [
"vector"
] |
040cb839524c9d7e9d535f1f76cd5fdfbeb7d2ee | 3,983 | h | C | Source/UEImgui/Public/Services/ImguiGlobalContextService.h | 1762757171/UEImgui | 8ee3132f70c6d3db5cd9de8fa4fb6090444129d8 | [
"MIT"
] | null | null | null | Source/UEImgui/Public/Services/ImguiGlobalContextService.h | 1762757171/UEImgui | 8ee3132f70c6d3db5cd9de8fa4fb6090444129d8 | [
"MIT"
] | null | null | null | Source/UEImgui/Public/Services/ImguiGlobalContextService.h | 1762757171/UEImgui | 8ee3132f70c6d3db5cd9de8fa4fb6090444129d8 | [
"MIT"
] | null | null | null | #pragma once
#include "CoreMinimal.h"
#include "imgui.h"
#include "Framework/Application/IInputProcessor.h"
#include "Widgets/SImguiWidget.h"
#include "ImguiGlobalContextService.generated.h"
struct ImGuiWindow;
class UImguiContext;
class UImguiInputAdapter;
class UImguiInputAdapterDeferred;
class SImguiWindow;
struc... | 36.209091 | 155 | 0.821742 | [
"render"
] |
0422b6e59605749e8da1f9f83005caf38c231586 | 842 | h | C | include/quadratures/qproduct.h | chinsp/KiT-RT | d4465d55b2d623b840a9a5696e3aad46d9fb158d | [
"MIT"
] | null | null | null | include/quadratures/qproduct.h | chinsp/KiT-RT | d4465d55b2d623b840a9a5696e3aad46d9fb158d | [
"MIT"
] | null | null | null | include/quadratures/qproduct.h | chinsp/KiT-RT | d4465d55b2d623b840a9a5696e3aad46d9fb158d | [
"MIT"
] | null | null | null | /*! @file: qproduct.h
* @brief Product quadrature implementation. Implementation is done accordingly to Kendall Atkinson 1981, Australian Matematical Society.
* @author: J. Kusch
*/
#ifndef PRODUCTQUADRATURE_H
#define PRODUCTQUADRATURE_H
#include "quadraturebase.h"
class QProduct : public QuadratureBase
{
pri... | 27.16129 | 138 | 0.707838 | [
"vector"
] |
042889e61b2a13659089208315c1b2ce9d3cfbb6 | 2,191 | h | C | sample/NN/modules.h | Riyaaaaa/Metaheuristics-Template-Library | bc3879d6c98c880102419df22fcb131a66735fa9 | [
"MIT"
] | 8 | 2016-04-13T08:30:59.000Z | 2020-11-11T17:05:40.000Z | sample/NN/modules.h | Riyaaaaa/Metaheuristic-Template-Library | bc3879d6c98c880102419df22fcb131a66735fa9 | [
"MIT"
] | 2 | 2016-07-29T01:20:13.000Z | 2016-08-02T02:36:08.000Z | sample/NN/modules.h | Riyaaaaa/Metaheuristic-Template-Library | bc3879d6c98c880102419df22fcb131a66735fa9 | [
"MIT"
] | 2 | 2018-10-20T12:43:49.000Z | 2020-11-11T17:05:41.000Z | #pragma once
#include<iostream>
#include<fstream>
#include<sstream>
#include<vector>
#include<utility>
template<std::size_t InputVectorSize, std::size_t OutputVectorSize>
std::vector< std::pair< std::array<double, InputVectorSize>, std::array<double, OutputVectorSize> > > import_csv(std::string filename) {
std::fstr... | 30.859155 | 184 | 0.687357 | [
"vector"
] |
47f0151f27ef63f52db57ed53458405c699cad3d | 2,683 | h | C | aws-cpp-sdk-cloudcontrol/include/aws/cloudcontrol/model/GetResourceResult.h | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-cloudcontrol/include/aws/cloudcontrol/model/GetResourceResult.h | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-cloudcontrol/include/aws/cloudcontrol/model/GetResourceResult.h | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/cloudcontrol/model/ResourceDescription.h>
#include <utility>
namespac... | 27.659794 | 141 | 0.698472 | [
"model"
] |
9a028d87e6fa25dfcd045f83d4949b425b7ac2a4 | 6,874 | h | C | firehog/lynx/WWW/Library/Implementation/HText.h | KipodAfterFree/KAF-2019-FireHog | 5f6ee3c3c3329459bc9daeabc1a16ff4619508d9 | [
"MIT"
] | null | null | null | firehog/lynx/WWW/Library/Implementation/HText.h | KipodAfterFree/KAF-2019-FireHog | 5f6ee3c3c3329459bc9daeabc1a16ff4619508d9 | [
"MIT"
] | null | null | null | firehog/lynx/WWW/Library/Implementation/HText.h | KipodAfterFree/KAF-2019-FireHog | 5f6ee3c3c3329459bc9daeabc1a16ff4619508d9 | [
"MIT"
] | 1 | 2019-12-26T10:18:16.000Z | 2019-12-26T10:18:16.000Z | /* Rich Hypertext object for libWWW
RICH HYPERTEXT OBJECT
*/
/*
This is the C interface to the Objective-C (or whatever) Style-oriented HyperText
class. It is used when a st... | 25.842105 | 93 | 0.65595 | [
"object"
] |
9a0728d26adc4492a90060b034e8a31c25e7a780 | 1,638 | h | C | cuML/src/knn/knn.h | akshaysubr/cuml | 7fceac26242f0155a5fa5cf1951af29230302e31 | [
"Apache-2.0"
] | 2 | 2020-07-05T23:50:43.000Z | 2020-07-08T08:39:52.000Z | cuML/src/knn/knn.h | robocopnixon/cuml | 2d7c84b866c3dadbbf0dbab20f20031d51766f32 | [
"Apache-2.0"
] | null | null | null | cuML/src/knn/knn.h | robocopnixon/cuml | 2d7c84b866c3dadbbf0dbab20f20031d51766f32 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 23.070423 | 98 | 0.673993 | [
"vector"
] |
9a0c2bc6aa86cfbf92a73c792f332df0d20e386a | 1,826 | h | C | tensorflow_graphics/projects/point_convolutions/custom_ops/tfg_custom_ops/find_neighbors/cc/kernels/elem_wise_min.h | schellmi42/graphics | 2e705622c2a6b0007347d2db154ccdf5a0eb73d4 | [
"Apache-2.0"
] | 3 | 2020-07-10T12:07:02.000Z | 2022-03-21T09:28:55.000Z | custom_ops/tfg_custom_ops/find_neighbors/cc/kernels/elem_wise_min.h | schellmi42/tensorflow_graphics_point_clouds | c8e2dc2963c3eecfb27542449603f81d78494783 | [
"Apache-2.0"
] | null | null | null | custom_ops/tfg_custom_ops/find_neighbors/cc/kernels/elem_wise_min.h | schellmi42/tensorflow_graphics_point_clouds | c8e2dc2963c3eecfb27542449603f81d78494783 | [
"Apache-2.0"
] | 1 | 2021-10-11T08:27:44.000Z | 2021-10-11T08:27:44.000Z | /////////////////////////////////////////////////////////////////////////////
/// Copyright 2020 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.apac... | 38.851064 | 82 | 0.573384 | [
"vector"
] |
9a16248947e84b0d130b8eda5d6eebed32343395 | 1,695 | h | C | LearnOpenGL/LearnOpenGL/src/engine/Graphics.h | babaliaris/LearnOpenGL | 6616fb1a26e30148a3b97d7d0da675d5cd10b826 | [
"MIT"
] | null | null | null | LearnOpenGL/LearnOpenGL/src/engine/Graphics.h | babaliaris/LearnOpenGL | 6616fb1a26e30148a3b97d7d0da675d5cd10b826 | [
"MIT"
] | null | null | null | LearnOpenGL/LearnOpenGL/src/engine/Graphics.h | babaliaris/LearnOpenGL | 6616fb1a26e30148a3b97d7d0da675d5cd10b826 | [
"MIT"
] | null | null | null | #ifndef ENGINE_GRAPHICS_H
#define ENGINE_GRAPHICS_H
#include <glm/glm.hpp>
#include <iostream>
#include <vector>
#include "Mesh.h"
#include "Shader.h"
#include "Core.h"
#include "Texture.h"
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "Application.h"
#include "Window.h"
namespace Engine
{
... | 21.455696 | 99 | 0.642478 | [
"mesh",
"render",
"object",
"vector",
"model"
] |
9a257706718ef6bc2fd1423b1220aa9e6f1ba1af | 893 | h | C | Source/Models/ADFetchedResultsControllerDataSource.h | jkereako/ios-cloud-storage | 1375faf8ce68976df98dea91b7db4ed28e8f6069 | [
"MIT"
] | null | null | null | Source/Models/ADFetchedResultsControllerDataSource.h | jkereako/ios-cloud-storage | 1375faf8ce68976df98dea91b7db4ed28e8f6069 | [
"MIT"
] | null | null | null | Source/Models/ADFetchedResultsControllerDataSource.h | jkereako/ios-cloud-storage | 1375faf8ce68976df98dea91b7db4ed28e8f6069 | [
"MIT"
] | null | null | null | //
// ADFetchedResultsControllerDataSource.h
// CloudStorage
//
// Created by Jeffrey Kereakoglow on 8/5/15.
// Copyright (c) 2015 Alexis Digital. All rights reserved.
//
@import CoreData;
@import UIKit;
@class NSFetchedResultsController, ADServiceTableViewCell;
@protocol ADFetchedResultsControllerDataSourceDele... | 27.90625 | 117 | 0.81075 | [
"object"
] |
9a2794f9cae013bd83a43e9dc6ad9da8425c7289 | 7,912 | h | C | core/debugger/debugger.h | pancakevirus/objeck-lang | 48302f2fcf47b2aaa478caf6acd13f9c65ae96af | [
"Zlib",
"OpenSSL"
] | 73 | 2015-02-26T22:30:47.000Z | 2022-03-06T22:42:02.000Z | core/debugger/debugger.h | pancakevirus/objeck-lang | 48302f2fcf47b2aaa478caf6acd13f9c65ae96af | [
"Zlib",
"OpenSSL"
] | 50 | 2015-03-01T22:13:17.000Z | 2022-03-17T16:24:17.000Z | core/debugger/debugger.h | pancakevirus/objeck-lang | 48302f2fcf47b2aaa478caf6acd13f9c65ae96af | [
"Zlib",
"OpenSSL"
] | 4 | 2015-10-22T20:44:47.000Z | 2022-02-12T03:35:54.000Z | /***************************************************************************
* Runtime debugger
*
* Copyright (c) 2010-2019 Randy Hollines
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*tree.o s... | 28.666667 | 121 | 0.655207 | [
"vector"
] |
9a3074c11435cc76786e6492c192f81aba7aca15 | 865 | h | C | include/sorting_searching/peaks_valleys.h | TusharChugh/algorithms-practice | 15c4ee9e9b9d4c94ff8b9f087d5d4eca16bd40c1 | [
"MIT"
] | 4 | 2018-09-27T01:29:21.000Z | 2020-02-13T11:33:10.000Z | include/sorting_searching/peaks_valleys.h | TusharChugh/algorithms-practice | 15c4ee9e9b9d4c94ff8b9f087d5d4eca16bd40c1 | [
"MIT"
] | 1 | 2018-07-05T17:43:02.000Z | 2018-07-05T17:43:02.000Z | include/sorting_searching/peaks_valleys.h | TusharChugh/algorithms-practice | 15c4ee9e9b9d4c94ff8b9f087d5d4eca16bd40c1 | [
"MIT"
] | 3 | 2018-05-18T17:48:36.000Z | 2019-08-09T17:11:43.000Z | /**
* @brief Peaks and Valleys: In an array of integers, a "peak" is an element which is greater than
* or equal to the adjacent integers and a "valley" is an element which is less than or equal to the
* adjacent integers.
* For example, in the array {5, 8, 6, 2, 3, 4, 6}, {8, 6} are peaks and {S, 2} are valleys. G... | 29.827586 | 100 | 0.645087 | [
"vector"
] |
9a4195b5002322b6bce502fd5dae989cbb585df4 | 5,572 | h | C | Sources/Elastos/Frameworks/Droid/Base/Services/Server/inc/elastos/droid/server/media/CSessionManagerImpl.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Services/Server/inc/elastos/droid/server/media/CSessionManagerImpl.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Services/Server/inc/elastos/droid/server/media/CSessionManagerImpl.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 31.303371 | 80 | 0.643396 | [
"object"
] |
a4262a1d8e825d4e68fd6c3ac471d7ac4296fd72 | 458 | h | C | PGameClient/PAllAttack.h | bear1704/WindowsProgramming_Portfolio | 83f1d763c73d08b82291aa894ef246558fdf0198 | [
"Apache-2.0"
] | null | null | null | PGameClient/PAllAttack.h | bear1704/WindowsProgramming_Portfolio | 83f1d763c73d08b82291aa894ef246558fdf0198 | [
"Apache-2.0"
] | null | null | null | PGameClient/PAllAttack.h | bear1704/WindowsProgramming_Portfolio | 83f1d763c73d08b82291aa894ef246558fdf0198 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "PUserManager.h"
#include "PSkill.h"
#include "PSpriteManager.h"
#include "PNetworkDataStorage.h"
class PAllAttack :
public PSkill
{
private:
std::vector<pPoint> spawn_position_vec_;
FLOAT_RECT barrier_area_;
PSprite goddess_;
pPoint selected_position;
public:
PAllAttack();
~PAllAttack();
... | 17.615385 | 41 | 0.753275 | [
"render",
"vector"
] |
a43452e030cfe4ac1c606ac4d34be0e1c6cb6571 | 3,680 | h | C | EVEANALYSIS/AliEveBeamsInfo.h | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | EVEANALYSIS/AliEveBeamsInfo.h | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | EVEANALYSIS/AliEveBeamsInfo.h | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | // $Id$
// Author: Stefano Carrazza 2010, CERN, stefano.carrazza@cern.ch
/**************************************************************************
* Copyright(c) 1998-2009, ALICE Experiment at CERN, all rights reserved. *
* See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
* full copyright ... | 37.938144 | 88 | 0.649457 | [
"object"
] |
a43bc5fe1c45976d40243b60dced6b784ae10439 | 1,025 | h | C | Item/Item.h | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | Item/Item.h | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | Item/Item.h | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | /*
* This class function is used to generate an Item Object with virtual functions
* set up functions for overloading in derived classes. It is a derived class of Action.
*/
#ifndef ITEM_H
#define ITEM_H
#include "../Character/Character.h"
#include <string>
class Item {
friend class Battle;
public:
enum class... | 27.702703 | 99 | 0.681951 | [
"object"
] |
a455a124bed33f19854ede699a8589bc5c97354d | 4,606 | c | C | test_programs/sequence_iterator_test.c | davetrollope-fsml/sequence_toolkit | 49495f679aad1d7c134cf8a189cca1e8acc9f4bd | [
"MIT"
] | null | null | null | test_programs/sequence_iterator_test.c | davetrollope-fsml/sequence_toolkit | 49495f679aad1d7c134cf8a189cca1e8acc9f4bd | [
"MIT"
] | null | null | null | test_programs/sequence_iterator_test.c | davetrollope-fsml/sequence_toolkit | 49495f679aad1d7c134cf8a189cca1e8acc9f4bd | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "stk_env_api.h"
#include "stk_sequence_api.h"
#include "stk_test.h"
stk_ret count_cb(stk_sequence_t *seq, void *data, stk_uint64 sz, stk_uint64 user_type, void *clientd)
{
int * count_ptr = (int *) clientd;
*count_ptr = *count_ptr + 1;
return STK_SUCCESS;
}
int main(int argc,char *argv[... | 39.706897 | 127 | 0.737733 | [
"object"
] |
a47e75090cb149c7c8b9422bef4a5aca94510c36 | 243 | h | C | Code/Libraries/3D/src/sectorbound.h | dphrygian/zeta | 2b32760558cf2b20c626cf46fcf2a382924988fe | [
"Zlib",
"Unlicense"
] | 6 | 2022-01-22T02:18:07.000Z | 2022-02-14T09:30:53.000Z | Code/Libraries/3D/src/sectorbound.h | dphrygian/zeta | 2b32760558cf2b20c626cf46fcf2a382924988fe | [
"Zlib",
"Unlicense"
] | null | null | null | Code/Libraries/3D/src/sectorbound.h | dphrygian/zeta | 2b32760558cf2b20c626cf46fcf2a382924988fe | [
"Zlib",
"Unlicense"
] | null | null | null | #ifndef SECTORBOUND_H
#define SECTORBOUND_H
class Vector;
class Plane;
class SectorBound
{
public:
SectorBound();
~SectorBound();
bool Contains( const Vector& Location );
uint m_NumPlanes;
Plane* m_Planes;
};
#endif // SECTORBOUND_H
| 12.15 | 41 | 0.740741 | [
"vector"
] |
a48c65909feb491ac5192c345b623dfd6de45b29 | 5,409 | h | C | vcgapps/OGF/basic/attributes/attribute_manager.h | mattjr/structured | 0cb4635af7602f2a243a9b739e5ed757424ab2a7 | [
"Apache-2.0"
] | 14 | 2015-01-11T02:53:04.000Z | 2021-11-25T17:31:22.000Z | vcgapps/OGF/basic/attributes/attribute_manager.h | skair39/structured | 0cb4635af7602f2a243a9b739e5ed757424ab2a7 | [
"Apache-2.0"
] | null | null | null | vcgapps/OGF/basic/attributes/attribute_manager.h | skair39/structured | 0cb4635af7602f2a243a9b739e5ed757424ab2a7 | [
"Apache-2.0"
] | 14 | 2015-07-21T04:47:52.000Z | 2020-03-12T12:31:25.000Z | /*
* OGF/Graphite: Geometry and Graphics Programming Library + Utilities
* Copyright (C) 2000 Bruno Levy
*
* 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 Lice... | 30.38764 | 102 | 0.631355 | [
"geometry",
"vector"
] |
a493210c6eb1a9e219c4e233dc9760273fb9ab9c | 2,542 | h | C | src/gameField.h | HenadziMatuts/snake1 | c5ecb731c25222b7b8e46803f9f26277ad48bc52 | [
"MIT"
] | 8 | 2017-08-31T16:43:10.000Z | 2021-11-14T17:44:05.000Z | src/gameField.h | HenadziMatuts/snake1 | c5ecb731c25222b7b8e46803f9f26277ad48bc52 | [
"MIT"
] | null | null | null | src/gameField.h | HenadziMatuts/snake1 | c5ecb731c25222b7b8e46803f9f26277ad48bc52 | [
"MIT"
] | 1 | 2020-03-19T19:46:56.000Z | 2020-03-19T19:46:56.000Z | #pragma once
#include "snake.h"
#include "food.h"
#include "eventBus.h"
#include <SDL.h>
#include <cstdint>
#include <queue>
enum CellState
{
CELL_STATE_EMPTY = 0,
CELL_STATE_SNAKE,
CELL_STATE_FOOD,
};
struct FieldCell {
/* coordinates */
SDL_Rect m_Rect;
/* state -> color */
CellState m_State;
};
class GameF... | 22.900901 | 100 | 0.763572 | [
"render"
] |
a49ca7d414ba7eeefccb2b4144053170a4a34396 | 7,264 | h | C | src/cdr/controller/MountControl0.h | rconan/mount-ctrl | 74a2edcaf3a1e21be6db09cb6487e3d7e38126c2 | [
"MIT"
] | null | null | null | src/cdr/controller/MountControl0.h | rconan/mount-ctrl | 74a2edcaf3a1e21be6db09cb6487e3d7e38126c2 | [
"MIT"
] | null | null | null | src/cdr/controller/MountControl0.h | rconan/mount-ctrl | 74a2edcaf3a1e21be6db09cb6487e3d7e38126c2 | [
"MIT"
] | 1 | 2022-03-09T18:24:45.000Z | 2022-03-09T18:24:45.000Z | #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
/*
* File: MountControl0.h
*
* Code generated for Simulink model 'MountControl0'.
*
* Model version : 1.596
* Simulink Coder version : 8.14 (R2018a) 06-Feb-2018
* C/C++ source code generated on : Thu Apr 23 20:42:27 2020
*
* Target sele... | 33.16895 | 126 | 0.667539 | [
"object",
"model"
] |
a49ea913e55e61f96263fad12d99b833ac19b235 | 2,057 | c | C | src/heap.c | CarusoX/Data-Structures-C | e95ed9992ca64bd3c3a3c8a3052aaf3e273c1585 | [
"MIT"
] | 4 | 2019-03-02T18:26:32.000Z | 2020-10-30T00:06:12.000Z | src/heap.c | CarusoX/Data-Structures-C | e95ed9992ca64bd3c3a3c8a3052aaf3e273c1585 | [
"MIT"
] | null | null | null | src/heap.c | CarusoX/Data-Structures-C | e95ed9992ca64bd3c3a3c8a3052aaf3e273c1585 | [
"MIT"
] | null | null | null | #include "heap.h"
heap heap_init(int type, int opt) {
heap h = (heap)malloc(sizeof(struct Heap));
h->type = type;
vector v = vector_init(type, 1);
h->v = v;
// Allocate functions
h->insert = heap_insert;
h->erase = heap_erase;
h->top = heap_top;
h->size = heap_size;
h->clear = heap_clear;
h->destroy = he... | 17.285714 | 66 | 0.558094 | [
"vector"
] |
a4a402d293f83adac47a7b04c71507af2a84ee75 | 1,339 | h | C | graphalgorithms/Heap.h | AaronTrip/hog2 | 96616b40f4173959b127011c76f3e649688e1a99 | [
"MIT"
] | 5 | 2020-08-03T09:43:26.000Z | 2022-01-11T08:28:30.000Z | graphalgorithms/Heap.h | AaronTrip/hog2 | 96616b40f4173959b127011c76f3e649688e1a99 | [
"MIT"
] | null | null | null | graphalgorithms/Heap.h | AaronTrip/hog2 | 96616b40f4173959b127011c76f3e649688e1a99 | [
"MIT"
] | 7 | 2017-07-31T13:01:28.000Z | 2021-05-16T10:15:49.000Z | /*
* $Id: Heap.h,v 1.4 2006/11/29 17:40:14 nathanst Exp $
*
* This file is part of HOG.
*
* HOG 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) an... | 24.796296 | 77 | 0.708738 | [
"vector"
] |
a4abe94201877ea911cd3e3903e5fb4561d7f072 | 6,824 | h | C | ghbase.h | mwgit00/CGHMatcher | ae9486c5411163a661d0662ee547be1ccbaf3a4a | [
"MIT"
] | 5 | 2020-10-09T13:23:24.000Z | 2021-06-29T08:30:18.000Z | ghbase.h | mwgit00/CGHMatcher | ae9486c5411163a661d0662ee547be1ccbaf3a4a | [
"MIT"
] | null | null | null | ghbase.h | mwgit00/CGHMatcher | ae9486c5411163a661d0662ee547be1ccbaf3a4a | [
"MIT"
] | 2 | 2019-10-06T17:34:41.000Z | 2020-10-09T13:23:15.000Z | // MIT License
//
// Copyright(c) 2020 Mark Whitney
//
// 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,... | 39.445087 | 106 | 0.561841 | [
"vector",
"transform"
] |
a4adcd24efdb4056aa2f265baa27567c6e8791ff | 13,288 | c | C | source/cosa/package/cli/components/ScliShell/scli_shell_iceif.c | lgirdk/ccsp-common-library | 8d912984e96f960df6dadb4b0e6bc76c76376776 | [
"Apache-2.0"
] | 4 | 2018-02-26T05:41:14.000Z | 2019-12-20T07:31:39.000Z | source/cosa/package/cli/components/ScliShell/scli_shell_iceif.c | rdkcmf/rdkb-CcspCommonLibrary | 3eba76685bbf5eb6656f45eb4b57fdb5c269c2a1 | [
"Apache-2.0"
] | null | null | null | source/cosa/package/cli/components/ScliShell/scli_shell_iceif.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 ... | 29.594655 | 112 | 0.490969 | [
"object"
] |
cc6cc43c4c6346e69dea7697e9a5a0cd6f87634b | 24,177 | c | C | sc_host/util.c | wowk/schost | 78c6be9ed826e845240d396ee74ad28fdf757ae7 | [
"MIT"
] | null | null | null | sc_host/util.c | wowk/schost | 78c6be9ed826e845240d396ee74ad28fdf757ae7 | [
"MIT"
] | null | null | null | sc_host/util.c | wowk/schost | 78c6be9ed826e845240d396ee74ad28fdf757ae7 | [
"MIT"
] | null | null | null | #include "debug.h"
#include <util.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <netinet/ether.h>
#include <host_gecko.h>
#define swap(a, b) do{\
typeof(a) tmp = b;\
b = a;\
a = tmp;\
}while(0)
uint16_... | 69.077143 | 285 | 0.730612 | [
"model"
] |
cc6cc7c52067ef6996eea5717f75d7cab4670e4c | 5,288 | h | C | Engine/src/renderer/renderer.h | anujv99/2DEngine | 5f2f7f681bf4e45de1964ade82198c2da5b9f7c1 | [
"MIT"
] | null | null | null | Engine/src/renderer/renderer.h | anujv99/2DEngine | 5f2f7f681bf4e45de1964ade82198c2da5b9f7c1 | [
"MIT"
] | 1 | 2019-09-28T10:37:53.000Z | 2019-10-02T07:26:35.000Z | Engine/src/renderer/renderer.h | anujv99/2DEngine | 5f2f7f681bf4e45de1964ade82198c2da5b9f7c1 | [
"MIT"
] | 1 | 2019-05-27T03:35:07.000Z | 2019-05-27T03:35:07.000Z | #pragma once
#include "graphics/vertexlayout.h"
#include "graphics/vertexbuffer.h"
#include "graphics/shadermanager.h"
#include "graphics/font.h"
#include "graphics/renderstate.h"
#include "game/label.h"
#include "game/sprite.h"
#include "game/particlesystem.h"
#include "game/drawable.h"
namespace prev {
// batche... | 33.257862 | 161 | 0.755295 | [
"render",
"vector"
] |
cc794190200c2f2abe4939c91d4845a0517551b0 | 1,644 | h | C | CanvasKit/Networking/CKIFolder+Networking.h | wbing520/CanvasKit | 179d11b5fba1999358667b1bf3f4c3ab608bf590 | [
"MIT"
] | 1 | 2016-05-04T21:59:20.000Z | 2016-05-04T21:59:20.000Z | CanvasKit/Networking/CKIFolder+Networking.h | wbing520/CanvasKit | 179d11b5fba1999358667b1bf3f4c3ab608bf590 | [
"MIT"
] | null | null | null | CanvasKit/Networking/CKIFolder+Networking.h | wbing520/CanvasKit | 179d11b5fba1999358667b1bf3f4c3ab608bf590 | [
"MIT"
] | null | null | null | //
// CKIFolder+Networking.h
// CanvasKit
//
// Created by Jason Larsen on 10/14/13.
// Copyright (c) 2013 Instructure. All rights reserved.
//
#import "CKIFolder.h"
@class CKIPagedResponse;
@class CKICourse;
@interface CKIFolder (Networking)
/**
Fetch a folder with a specific ID.
@param folderID the ID of ... | 31.018868 | 138 | 0.752433 | [
"object"
] |
cc7ace29151e49f79622c7e25989f73308520519 | 13,787 | c | C | src/services/durability/code/d_group.c | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 133 | 2017-11-09T02:10:00.000Z | 2022-03-29T09:45:10.000Z | src/services/durability/code/d_group.c | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 131 | 2017-11-07T14:48:43.000Z | 2022-03-13T15:30:47.000Z | src/services/durability/code/d_group.c | brezillon/opensplice | 725ae9d949c83fce1746bd7d8a154b9d0a81fe3e | [
"Apache-2.0"
] | 94 | 2017-11-09T02:26:19.000Z | 2022-02-24T06:38:25.000Z | /*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the ADLINK Software License Agreement Rev 2.7 2nd October
* 2014 (the "License... | 26.61583 | 200 | 0.642344 | [
"object"
] |
cc84a821db0b1af321f67fecff6678471f431b94 | 1,657 | h | C | bd/lfs_sdhcibd.h | recogni/littlefs | 8da0d34e4b76cbb2fc7dbd099bf30a9d319370f0 | [
"BSD-3-Clause"
] | null | null | null | bd/lfs_sdhcibd.h | recogni/littlefs | 8da0d34e4b76cbb2fc7dbd099bf30a9d319370f0 | [
"BSD-3-Clause"
] | null | null | null | bd/lfs_sdhcibd.h | recogni/littlefs | 8da0d34e4b76cbb2fc7dbd099bf30a9d319370f0 | [
"BSD-3-Clause"
] | null | null | null | /*
* SDHCI controller front end
*
* Copyright (c) 2017, Arm Limited. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef LFS_SDHCIBD_H
#define LFS_SDHCIBD_H
#include "lfs.h"
#include "lfs_util.h"
#ifdef __cplusplus
extern "C"
{
#endif
// Block device specific tracing
#ifndef LFS_SDHCIBD_YES... | 23.013889 | 71 | 0.752565 | [
"geometry"
] |
cc8bac28cb7588a4793763244dced5b01365dfaf | 1,472 | h | C | part_2/cpp_solution/order_book.h | jessmorecroft/Exchange | 7b190b22304c6381db22b7722f0ce4518de3df2c | [
"MIT"
] | 3 | 2020-06-24T20:10:25.000Z | 2021-06-09T21:43:06.000Z | part_2/cpp_solution/order_book.h | jessmorecroft/Exchange | 7b190b22304c6381db22b7722f0ce4518de3df2c | [
"MIT"
] | 9 | 2019-06-15T20:01:48.000Z | 2020-06-05T03:40:29.000Z | part_2/cpp_solution/order_book.h | jessmorecroft/Exchange | 7b190b22304c6381db22b7722f0ce4518de3df2c | [
"MIT"
] | 8 | 2017-06-15T02:09:23.000Z | 2021-01-11T10:11:38.000Z | #ifndef ae_order_book_h
#define ae_order_book_h
#include <memory>
#include <vector>
#include <map>
#include <queue>
#include <limits>
#include <cmath>
#include "order.h"
#include "trade_collection.h"
namespace ae
{
inline bool prices_equal(const price_type& one, const price_type& two)
{
return std::fabs(one - two) ... | 22.646154 | 104 | 0.745245 | [
"vector"
] |
cc8e0064802652934500a4505bdfcf9003df9aa6 | 660 | h | C | plugins/Nephilim/FbxPlugin/FbxPlugin.h | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 19 | 2015-12-19T11:15:57.000Z | 2022-03-09T11:22:11.000Z | plugins/Nephilim/FbxPlugin/FbxPlugin.h | DevilWithin/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 1 | 2017-05-17T09:31:10.000Z | 2017-05-19T17:01:31.000Z | plugins/Nephilim/FbxPlugin/FbxPlugin.h | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 3 | 2015-12-14T17:40:26.000Z | 2021-02-25T00:42:42.000Z | #ifndef FbxPlugin_h__
#define FbxPlugin_h__
#include <Nephilim/Foundation/Extension.h>
#include <Nephilim/Extensions/ExtensionImporter.h>
using namespace nx;
#include <fbxsdk.h>
/*
\class NephilimFbxPlugin
\brief Provides all import and export functionality of the FBX SDK to nephilim
*/
class NephilimFbxPlugin : p... | 20.625 | 79 | 0.772727 | [
"mesh"
] |
cc91c623b4b4a1a73ecd16fe6ef06acabf8a2f91 | 162 | h | C | stats.h | Engin-Boot/statisticker-cpp-kelkardish | b417a0b123d33acd7b288acf7a1396bab2f12582 | [
"MIT"
] | null | null | null | stats.h | Engin-Boot/statisticker-cpp-kelkardish | b417a0b123d33acd7b288acf7a1396bab2f12582 | [
"MIT"
] | null | null | null | stats.h | Engin-Boot/statisticker-cpp-kelkardish | b417a0b123d33acd7b288acf7a1396bab2f12582 | [
"MIT"
] | null | null | null | #include <vector>
struct Stats {
double average;
double max;
double min;
};
namespace Statistics {
Stats ComputeStatistics(const std::vector<double>&);
}
| 11.571429 | 53 | 0.716049 | [
"vector"
] |
cca3be92cf13165cb14e83137dbd04f054ce8e1a | 1,216 | h | C | Runner/Source/Spawnable/Component/Model.h | jdfraser/Runner | 9f16b524da26b3fd7395e39858447d3b94c3e103 | [
"MIT"
] | null | null | null | Runner/Source/Spawnable/Component/Model.h | jdfraser/Runner | 9f16b524da26b3fd7395e39858447d3b94c3e103 | [
"MIT"
] | null | null | null | Runner/Source/Spawnable/Component/Model.h | jdfraser/Runner | 9f16b524da26b3fd7395e39858447d3b94c3e103 | [
"MIT"
] | null | null | null | #pragma once
#include "Component.h"
#include "Spawnable/Component/Material.h"
#include "Engine/Transform.h"
#include "Engine/Bounds.h"
class Model : public Component
{
private:
GLuint m_vertexArrayID;
GLuint m_vertexBufferID;
GLuint m_UVBufferID;
Transform m_transform;
glm::mat4 m_worldTransformMatrix;
Bounds ... | 18.707692 | 60 | 0.761513 | [
"vector",
"model",
"transform"
] |
cca7d5886dfd96b798fac853b43fc56c096dc6bc | 2,997 | h | C | src/util/SpatialSelectionOperationsUtil.h | freezing/phtree | ba65b4e49e6b2e7aacf3317e7e2fb39929596894 | [
"Apache-2.0"
] | null | null | null | src/util/SpatialSelectionOperationsUtil.h | freezing/phtree | ba65b4e49e6b2e7aacf3317e7e2fb39929596894 | [
"Apache-2.0"
] | null | null | null | src/util/SpatialSelectionOperationsUtil.h | freezing/phtree | ba65b4e49e6b2e7aacf3317e7e2fb39929596894 | [
"Apache-2.0"
] | null | null | null | /*
* SpatialSelectionOperationsUtil.h
*
* Created on: Apr 7, 2016
* Author: max
*/
#ifndef SRC_UTIL_SPATIALSELECTIONOPERATIONSUTIL_H_
#define SRC_UTIL_SPATIALSELECTIONOPERATIONSUTIL_H_
#include <vector>
template <unsigned int DIM>
class Node;
template <unsigned int DIM, unsigned int WIDTH>
class Entry;
t... | 27.245455 | 101 | 0.685352 | [
"vector"
] |
f2b49b87d8c08f729d1ce77ef36f5914bc46b66e | 16,486 | c | C | geometry-discontinuities.c | visual-accessibility/deva-filter | 0cfe5124a359bcce9910d0a42c7f210844fd8df5 | [
"MIT-0",
"MIT"
] | 2 | 2016-12-15T09:39:27.000Z | 2018-09-04T10:19:47.000Z | geometry-discontinuities.c | visual-accessibility/deva-filter | 0cfe5124a359bcce9910d0a42c7f210844fd8df5 | [
"MIT-0",
"MIT"
] | null | null | null | geometry-discontinuities.c | visual-accessibility/deva-filter | 0cfe5124a359bcce9910d0a42c7f210844fd8df5 | [
"MIT-0",
"MIT"
] | null | null | null | /*
* Find locations of rapid change in geometric structure.
* Two types of discontinuities are found, one corresponding to occlusion
* boundaries and the other corresponding to orientation changes ("creases").
*/
#include <stdlib.h>
#include <math.h>
#include "geometry-discontinuities.h"
#include "devas-utils.h"
#... | 32.906188 | 80 | 0.696409 | [
"geometry",
"object",
"vector"
] |
f2b6725854006c3757184080295fd0ddee313c38 | 2,581 | h | C | util/RefCountedObject.h | gizmomogwai/cpplib | a09bf4d3f2a312774d3d85a5c65468099a1797b0 | [
"MIT"
] | null | null | null | util/RefCountedObject.h | gizmomogwai/cpplib | a09bf4d3f2a312774d3d85a5c65468099a1797b0 | [
"MIT"
] | null | null | null | util/RefCountedObject.h | gizmomogwai/cpplib | a09bf4d3f2a312774d3d85a5c65468099a1797b0 | [
"MIT"
] | null | null | null | #ifndef _RefCountedObject_h_
#define _RefCountedObject_h_
#include <iostream>
#include <lang/Exception.h>
//#include <util/RefManager.h>
#include <lang/Mutex.h>
/** Object dass einen Referencezaehler verwaltet.
*
* Die Objekte sollten nur per releaseReference() "aufgeraeumt" werden,
* wenn noetig wi... | 27.168421 | 106 | 0.607129 | [
"object"
] |
f2b7876a1fd67f57ccfee4ba8e2c0330cdba8e41 | 273 | h | C | protocols/RadioManagedObjectWrapperProtocol.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | protocols/RadioManagedObjectWrapperProtocol.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | protocols/RadioManagedObjectWrapperProtocol.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser.
*/
@protocol RadioManagedObjectWrapperProtocol <NSObject>
@required
- (id)initWithModel:(RadioModel *)arg1 managedObject:(NSManagedObject *)arg2;
- (bool)isDatabaseBacked;
- (NSManagedObject *)managedObject;
- (RadioModel *)model;
@end
| 19.5 | 77 | 0.765568 | [
"model"
] |
f2c0e32ec08ea0b4fcfb4a0a8bc5d02bd3f619b3 | 1,547 | h | C | include/financecalculator/FinCalc.h | mindpowered/finance-calculator-cpp | a90e0e8094118d54854a20052f8a16437e2380bb | [
"MIT"
] | null | null | null | include/financecalculator/FinCalc.h | mindpowered/finance-calculator-cpp | a90e0e8094118d54854a20052f8a16437e2380bb | [
"MIT"
] | null | null | null | include/financecalculator/FinCalc.h | mindpowered/finance-calculator-cpp | a90e0e8094118d54854a20052f8a16437e2380bb | [
"MIT"
] | null | null | null | // Generated by Haxe 4.1.1
#ifndef INCLUDED_financecalculator_FinCalc
#define INCLUDED_financecalculator_FinCalc
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(financecalculator,FinCalc)
namespace financecalculator{
class HXCPP_CLASS_ATTRIBUTES FinCalc_obj : public ::hx::Object
{
public:
typedef ::... | 30.94 | 152 | 0.754363 | [
"object"
] |
f2c1b96bb1ea2f40f85272b5373030ab3928d464 | 3,289 | h | C | Source/Structures.h | BlueLort/Lort-Renderer | f0698af318e7b17a363dd31d5c9ee8870527fe0c | [
"MIT"
] | 3 | 2019-08-23T10:59:40.000Z | 2021-12-25T21:32:41.000Z | Source/Structures.h | BlueLort/Software-Renderer | f0698af318e7b17a363dd31d5c9ee8870527fe0c | [
"MIT"
] | null | null | null | Source/Structures.h | BlueLort/Software-Renderer | f0698af318e7b17a363dd31d5c9ee8870527fe0c | [
"MIT"
] | 1 | 2022-03-29T15:37:49.000Z | 2022-03-29T15:37:49.000Z | #pragma once
#include <fvec.h>
#include <cmath>
#include <iostream>
#define MAX(a,b) (a>b?a:b)
#define MIN(a,b) (a<b?a:b)
#define LERP(a,b,f) ((b - a)*f + a)
//Fixed Point Arithmetic and constants
#define FP_FVAL 1048576.0f //fixed point float value
#define FP_IVAL 1048576 //fixed point integer value
#defin... | 33.222222 | 122 | 0.652478 | [
"transform"
] |
f2c9ae057e1927724dec5a93a0301b2b55df962e | 10,288 | h | C | Code/Review/itkQuadEdgeMeshFrontIterator.h | kiranhs/ITKv4FEM-Kiran | 0e4ab3b61b5fc4c736f04a73dd19e41390f20152 | [
"BSD-3-Clause"
] | 1 | 2018-04-15T13:32:43.000Z | 2018-04-15T13:32:43.000Z | Code/Review/itkQuadEdgeMeshFrontIterator.h | kiranhs/ITKv4FEM-Kiran | 0e4ab3b61b5fc4c736f04a73dd19e41390f20152 | [
"BSD-3-Clause"
] | null | null | null | Code/Review/itkQuadEdgeMeshFrontIterator.h | kiranhs/ITKv4FEM-Kiran | 0e4ab3b61b5fc4c736f04a73dd19e41390f20152 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkQuadEdgeMeshFrontIterator.h
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyr... | 37.410909 | 86 | 0.555307 | [
"mesh",
"object"
] |
f2f02c37ca15eb38e077ea921eac6eecc59a8f5c | 1,307 | h | C | src/ct_common/common/exp_a_constraintcast.h | xxyzzzq/ct_common | d28dd4362e97dff67fe68c512d6160be285bb05d | [
"MIT"
] | 2 | 2019-03-25T04:13:38.000Z | 2021-06-09T05:59:36.000Z | src/ct_common/common/exp_a_constraintcast.h | xxyzzzq/ct_common | d28dd4362e97dff67fe68c512d6160be285bb05d | [
"MIT"
] | null | null | null | src/ct_common/common/exp_a_constraintcast.h | xxyzzzq/ct_common | d28dd4362e97dff67fe68c512d6160be285bb05d | [
"MIT"
] | 1 | 2015-06-15T09:13:22.000Z | 2015-06-15T09:13:22.000Z | // Copyright 2016 ct_common authors. See LICENSE file for details.
#ifndef CT_COMMON_COMMON_EXP_A_CONSTRAINTCAST_H_
#define CT_COMMON_COMMON_EXP_A_CONSTRAINTCAST_H_
#include <memory>
#include <string>
#include <vector>
#include "ct_common/common/constraint.h"
#include "ct_common/common/exp_a_atomic.h"
namespace ct_... | 26.673469 | 66 | 0.754399 | [
"vector"
] |
840db49726ad5fcca95541f82c278b3397a6abe9 | 940 | h | C | trview.app/Routing/IActions.h | chreden/trview | e2a5e3539036f27adfa54fc7fcf4c3537b99a221 | [
"MIT"
] | 20 | 2018-10-17T02:00:03.000Z | 2022-03-24T09:37:20.000Z | trview.app/Routing/IActions.h | chreden/trview | e2a5e3539036f27adfa54fc7fcf4c3537b99a221 | [
"MIT"
] | 396 | 2018-07-22T16:11:47.000Z | 2022-03-29T11:57:03.000Z | trview.app/Routing/IActions.h | chreden/trview | e2a5e3539036f27adfa54fc7fcf4c3537b99a221 | [
"MIT"
] | 8 | 2018-07-25T21:31:06.000Z | 2021-11-01T14:36:26.000Z | #pragma once
#include <vector>
#include <trlevel/LevelVersion.h>
#include "Action.h"
namespace trview
{
/// <summary>
/// Defines all actions that can performed in a route.
/// </summary>
struct IActions
{
virtual ~IActions() = 0;
/// <summary>
/// Get all actions that hav... | 30.322581 | 86 | 0.603191 | [
"vector"
] |
6291b27b9a94b518e18a4573ae0de66965429326 | 30,027 | c | C | old/pplex3.c | 2kranki/libCmn | 4f9db4c9c8e2dff64e1c741dc1c11e9f3b5d07ce | [
"Unlicense"
] | 2 | 2017-03-23T15:23:56.000Z | 2021-03-04T09:54:54.000Z | old/pplex3.c | 2kranki/libCmn | 4f9db4c9c8e2dff64e1c741dc1c11e9f3b5d07ce | [
"Unlicense"
] | null | null | null | old/pplex3.c | 2kranki/libCmn | 4f9db4c9c8e2dff64e1c741dc1c11e9f3b5d07ce | [
"Unlicense"
] | null | null | null | // vi:nu:et:sts=4 ts=4 sw=4
/*
* File: pplex3.c
* Generated 09/17/2015 10:00:30
*
*/
/*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for... | 30.177889 | 88 | 0.410664 | [
"object"
] |
62929f8993d1d4cc25cfb74a1d94ebe37b6a7c12 | 2,962 | h | C | AllJoyn/Platform/BackgroundHost/BackgroundHost.Headed/Views/BooleanValueConverter.h | halitcan/samples | 995f850e0ed6c1cd2bc87c8af39b7a4cf41fe425 | [
"MIT"
] | 1,433 | 2015-04-30T09:26:53.000Z | 2022-03-26T12:44:12.000Z | AllJoyn/Platform/BackgroundHost/BackgroundHost.Headed/Views/BooleanValueConverter.h | LeCampusAzure/ms-iot-samples | c0da021a312a631c8a26771a0d203e0de80fc597 | [
"MIT"
] | 530 | 2015-05-02T09:12:48.000Z | 2018-01-03T17:52:01.000Z | AllJoyn/Platform/BackgroundHost/BackgroundHost.Headed/Views/BooleanValueConverter.h | LeCampusAzure/ms-iot-samples | c0da021a312a631c8a26771a0d203e0de80fc597 | [
"MIT"
] | 1,878 | 2015-04-30T04:18:57.000Z | 2022-03-15T16:51:17.000Z | //
// Copyright (c) 2015, Microsoft Corporation
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AU... | 34.44186 | 108 | 0.680284 | [
"object"
] |
629607a7f1d1e7ddc83d81373a3b64529d1fdc32 | 1,809 | h | C | wbsTools/BioSIM_API_CLI/Wrapper/BioSIM_API_Wrap.h | RNCan/WeatherBasedSimulationFramework | 19df207d11b1dddf414d78e52bece77f31d45df8 | [
"MIT"
] | 6 | 2017-05-26T21:19:41.000Z | 2021-09-03T14:17:29.000Z | wbsTools/BioSIM_API_CLI/Wrapper/BioSIM_API_Wrap.h | RNCan/WeatherBasedSimulationFramework | 19df207d11b1dddf414d78e52bece77f31d45df8 | [
"MIT"
] | 5 | 2016-02-18T12:39:58.000Z | 2016-03-13T12:57:45.000Z | wbsTools/BioSIM_API_CLI/Wrapper/BioSIM_API_Wrap.h | RNCan/WeatherBasedSimulationFramework | 19df207d11b1dddf414d78e52bece77f31d45df8 | [
"MIT"
] | 1 | 2019-06-16T02:49:20.000Z | 2019-06-16T02:49:20.000Z | //BioSIM_API_Wrap.h
#pragma once
#include "ManagedObject.h"
#include "../Core/BioSIM_API.h"
using namespace System;
namespace BioSIM_Wrapper
{
using namespace System::Runtime::InteropServices;
static std::string string_to_stdstring(const String^ string)
{
const char* chars= (const char*)(Marshal::Strin... | 22.060976 | 117 | 0.68712 | [
"model"
] |
62974ef6acb92d5f327b07e1753ead54614c13c3 | 929 | h | C | src/execute/Observer.h | m8mble/clean-test | f30e7b4843fcb1137c376def7acd149436be52cb | [
"BSL-1.0"
] | 4 | 2021-04-13T10:10:57.000Z | 2022-03-07T01:51:14.000Z | src/execute/Observer.h | m8mble/clean-test | f30e7b4843fcb1137c376def7acd149436be52cb | [
"BSL-1.0"
] | null | null | null | src/execute/Observer.h | m8mble/clean-test | f30e7b4843fcb1137c376def7acd149436be52cb | [
"BSL-1.0"
] | null | null | null | // Copyright (c) m8mble 2020.
// SPDX-License-Identifier: BSL-1.0
#pragma once
#include "Observation.h"
#include <utils/Guarded.h>
#include <vector>
namespace clean_test::execute {
class CaseReporter;
/// Thread-safe sink for details about expectation evaluations.
class Observer {
public:
using Observations =... | 23.820513 | 97 | 0.713671 | [
"vector"
] |
62bf0d3453f23fd1300d5fd562f634db3deb2ee0 | 3,124 | h | C | Cgeom/geom_arc.h | victorliu/CAD2D | 102f96e959f7ed8a1cc7b940b1f74d72c985c5d3 | [
"BSD-3-Clause"
] | null | null | null | Cgeom/geom_arc.h | victorliu/CAD2D | 102f96e959f7ed8a1cc7b940b1f74d72c985c5d3 | [
"BSD-3-Clause"
] | null | null | null | Cgeom/geom_arc.h | victorliu/CAD2D | 102f96e959f7ed8a1cc7b940b1f74d72c985c5d3 | [
"BSD-3-Clause"
] | null | null | null | /* A circular arc is parameterized by the start and endpoints */
/* and the bulge factor g. Positive bulges make the arc bulge */
/* to the right when looking at the endpoint from the start. */
/* Computes g when arc is specified by endpoints a and b and
* point c within arc.
*/
double geom_arc_g_from_pt(const doub... | 31.877551 | 77 | 0.707106 | [
"vector"
] |
62bf1249193f676f0a5c3d2178a30d20bdfd458e | 912 | h | C | SymbioticEngine/Maize/Level.h | Ben-Plummer/SymbioticEngine | f7284a033373c058b02f028514eb60f4ac613599 | [
"Apache-2.0"
] | 2 | 2016-10-05T10:04:30.000Z | 2016-10-31T11:58:19.000Z | SymbioticEngine/Maize/Level.h | Ben-Plummer/SymbioticEngine | f7284a033373c058b02f028514eb60f4ac613599 | [
"Apache-2.0"
] | 1 | 2016-10-05T07:59:42.000Z | 2016-10-05T10:03:39.000Z | SymbioticEngine/Maize/Level.h | Ben-Plummer/SymbioticEngine | f7284a033373c058b02f028514eb60f4ac613599 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <SBE/SpriteBatch.h>
#include <string>
#include <vector>
class Level
{
public:
Level(const std::string& levelPath, int tileWidth, int tileHeight);
void draw();
// Getters
unsigned int getWidth() const { return levelData_[0].size(); }
unsigned int getHeight() const { return levelData_.size(... | 32.571429 | 102 | 0.748904 | [
"vector"
] |
62c04a1781893bec502fa4f97fb8ea48ec973dba | 1,060 | h | C | graphics/pbr/pbr/AverageLuminanceProcess.h | PrimatElite/gpu-labs | 91403d17839b5d7708e937fa1e9d255397004986 | [
"MIT"
] | null | null | null | graphics/pbr/pbr/AverageLuminanceProcess.h | PrimatElite/gpu-labs | 91403d17839b5d7708e937fa1e9d255397004986 | [
"MIT"
] | 1 | 2021-03-01T06:22:28.000Z | 2021-03-01T11:13:36.000Z | graphics/shadows/shadows/AverageLuminanceProcess.h | PrimatElite/gpu-labs | 91403d17839b5d7708e937fa1e9d255397004986 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "RenderTexture.h"
class AverageLuminanceProcess
{
public:
AverageLuminanceProcess();
~AverageLuminanceProcess();
HRESULT CreateDeviceDependentResources(ID3D11Device* device);
HRESULT CreateWindowSizeDependentResources(ID3D11Device* device, UINT width, UINT hei... | 31.176471 | 144 | 0.792453 | [
"vector"
] |
62c2dbe34bade2a5da9e14a4d3dbd330977199ff | 23,106 | c | C | packages/torch/TensorGen.c | elq/torch5 | 5965bd6410f8ca7e87c6bc9531aaf46e10ed281e | [
"BSD-3-Clause"
] | 1 | 2016-05-09T05:34:15.000Z | 2016-05-09T05:34:15.000Z | packages/torch/TensorGen.c | elq/torch5 | 5965bd6410f8ca7e87c6bc9531aaf46e10ed281e | [
"BSD-3-Clause"
] | null | null | null | packages/torch/TensorGen.c | elq/torch5 | 5965bd6410f8ca7e87c6bc9531aaf46e10ed281e | [
"BSD-3-Clause"
] | null | null | null | /* Storage type */
#define STORAGE_T_(TYPE) TH##TYPE##Storage
#define STORAGE_T(TYPE) STORAGE_T_(TYPE)
#define STORAGE STORAGE_T(CAP_TYPE)
/* Tensor type */
#define TENSOR_T_(TYPE) TH##TYPE##Tensor
#define TENSOR_T(TYPE) TENSOR_T_(TYPE)
#define TENSOR TENSOR_T(CAP_TYPE)
/* Name in Lua */
#define LUA_TENSOR_NAME__(TYP... | 30.808 | 148 | 0.643339 | [
"vector"
] |
62eadb4fe4f3fd3d4e24a32e78933f171bf0d65e | 27,816 | c | C | source-pc/lm/cosa_extassocdevices_dml.c | lgirdk/ccsp-lm-lite | 134b43e48175c7f7727d6c13ae3063ce4a04647e | [
"Apache-2.0"
] | null | null | null | source-pc/lm/cosa_extassocdevices_dml.c | lgirdk/ccsp-lm-lite | 134b43e48175c7f7727d6c13ae3063ce4a04647e | [
"Apache-2.0"
] | null | null | null | source-pc/lm/cosa_extassocdevices_dml.c | lgirdk/ccsp-lm-lite | 134b43e48175c7f7727d6c13ae3063ce4a04647e | [
"Apache-2.0"
] | 3 | 2017-07-30T15:42:47.000Z | 2020-08-18T20:48:33.000Z | /*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2016 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 ... | 34.554037 | 245 | 0.634671 | [
"object"
] |
62f47b4f9d24d1a912b3af4f06bea4af1228313d | 263 | h | C | EE599HW4/4-1/src/lib/solution.h | YingnanWang-Ray/EE599 | 7e870b78b4f61f783077d88d437937e697d7abf0 | [
"MIT"
] | null | null | null | EE599HW4/4-1/src/lib/solution.h | YingnanWang-Ray/EE599 | 7e870b78b4f61f783077d88d437937e697d7abf0 | [
"MIT"
] | null | null | null | EE599HW4/4-1/src/lib/solution.h | YingnanWang-Ray/EE599 | 7e870b78b4f61f783077d88d437937e697d7abf0 | [
"MIT"
] | null | null | null | #ifndef TEMPLATE_SOLUTION_H
#define TEMPLATE_SOLUTION_H
#include <string>
#include <vector>
class Solution {
public:
std::vector<int> Filter(std::vector<int> input);
std::vector<int> Map(std::vector<int> input);
int Sum(std::vector<int> input);
};
#endif | 18.785714 | 50 | 0.722433 | [
"vector"
] |
a87083c50ef41ae36de2e9e0a0579464a9761f1f | 1,452 | c | C | rwt/mex/midwt.c | edward-reehorst/On_RED | 483ad0c03f82f37061318c9fd9ec617d0f9da962 | [
"Apache-2.0"
] | 15 | 2019-03-27T04:41:58.000Z | 2022-03-24T14:15:33.000Z | rwt/mex/midwt.c | edward-reehorst/On_RED | 483ad0c03f82f37061318c9fd9ec617d0f9da962 | [
"Apache-2.0"
] | null | null | null | rwt/mex/midwt.c | edward-reehorst/On_RED | 483ad0c03f82f37061318c9fd9ec617d0f9da962 | [
"Apache-2.0"
] | 7 | 2019-07-03T07:16:42.000Z | 2021-07-16T11:24:34.000Z | /*! \file midwt.c
\brief MATLAB gateway for the inverse discrete wavelet transform
This file is used to produce a MATLAB MEX binary for the inverse discrete wavelet transform
%y = midwt(x,h,L);
%
% function computes the inverse discrete wavelet transform y for a 1D or 2D
% input signal x.
%
% Input:
% x ... | 33 | 95 | 0.689394 | [
"transform"
] |
a87ed5a0afaea1288f6cb22ed30a6c735700d7e0 | 5,305 | c | C | libutil/util_opt_command_example.c | nikita-dubrovskii/s390-tools | 074de1e14ed785c18f55ecf9762ac3f5de3465b4 | [
"MIT"
] | 43 | 2017-08-21T12:18:57.000Z | 2021-01-21T09:20:59.000Z | libutil/util_opt_command_example.c | nikita-dubrovskii/s390-tools | 074de1e14ed785c18f55ecf9762ac3f5de3465b4 | [
"MIT"
] | 99 | 2017-08-21T20:41:13.000Z | 2021-01-27T16:23:07.000Z | libutil/util_opt_command_example.c | nikita-dubrovskii/s390-tools | 074de1e14ed785c18f55ecf9762ac3f5de3465b4 | [
"MIT"
] | 37 | 2017-08-21T20:37:32.000Z | 2021-02-02T10:10:45.000Z | /*
* util_opt_command_example - Example program for util_opt with commands
*
* Copyright 2017 IBM Corp.
*
* s390-tools is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
//! [code]
#include <errno.h>
#include <stdio.h>
#include <stdlib.h... | 23.896396 | 76 | 0.671819 | [
"vector"
] |
a893b4b53e5ee918a1fdd9c0af700827d9978d1f | 1,896 | h | C | include/Enums/GameObjectState.h | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 279 | 2015-05-06T19:04:07.000Z | 2022-03-21T21:33:38.000Z | include/Enums/GameObjectState.h | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 222 | 2016-10-26T15:56:25.000Z | 2021-10-03T15:30:18.000Z | include/Enums/GameObjectState.h | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 49 | 2015-10-01T21:23:03.000Z | 2022-03-19T20:11:31.000Z | #pragma once
// this enum is used for animations and used by all game objects
enum class GameObjectState {
VOID,
Idle, // used by nearly every game object
Idle_up, // used by map main character
Idle_down, // used by map main character
Idle_left, // used by map main character
Idle_right, // used by map main chara... | 39.5 | 64 | 0.730485 | [
"object"
] |
a899c1486e9c333e848b7b97e7d5e9ec7ca3e615 | 4,937 | h | C | src/mayaToCorona/src/Corona/CoronaTestClasses.h | haggi/OpenMaya | 746e0740f480d9ef8d2173f31b3c99b9b0ea0d24 | [
"MIT"
] | 42 | 2015-01-03T15:07:25.000Z | 2021-12-09T03:56:59.000Z | src/mayaToCorona/src/Corona/CoronaTestClasses.h | haggi/OpenMaya | 746e0740f480d9ef8d2173f31b3c99b9b0ea0d24 | [
"MIT"
] | 66 | 2015-01-02T13:28:44.000Z | 2022-03-16T14:00:57.000Z | src/mayaToCorona/src/Corona/CoronaTestClasses.h | haggi/OpenMaya | 746e0740f480d9ef8d2173f31b3c99b9b0ea0d24 | [
"MIT"
] | 12 | 2015-02-07T05:02:17.000Z | 2020-07-10T17:21:44.000Z | #pragma once
// Single include to include the Corona API.
// The API include folder (where CoronaCore folder is) has to be in the additional include paths of the compiler.
// Because of that we can include without specifying the path to the APi
#include "CoronaCore/api/Api.h"
#include <map>
#include <iostream>
using... | 32.267974 | 177 | 0.727567 | [
"3d"
] |
a8d0117db6882d39fa77572a40f3a3c6dec17680 | 2,018 | h | C | libstorage/include/storage/IObject.h | OlegZhavoronkov/tnk_certification | 9ef3544f3fd27073b78e38bba26af76e79f55a78 | [
"Unlicense"
] | null | null | null | libstorage/include/storage/IObject.h | OlegZhavoronkov/tnk_certification | 9ef3544f3fd27073b78e38bba26af76e79f55a78 | [
"Unlicense"
] | null | null | null | libstorage/include/storage/IObject.h | OlegZhavoronkov/tnk_certification | 9ef3544f3fd27073b78e38bba26af76e79f55a78 | [
"Unlicense"
] | null | null | null | #pragma once
#ifndef STORAGE_IOBJECT_H
#define STORAGE_IOBJECT_H
#include <storage/Ipc.h>
#include <nlohmann/json.hpp>
#include <glog/logging.h>
#include <vector>
namespace tmk::storage {
using json = nlohmann::json;
enum class StorageType { NO_SAVE, SHORT_TERM, LONG_TERM };
constexpr uint64_t IMPOSSIBLE_ID = ... | 23.741176 | 75 | 0.645193 | [
"object",
"vector"
] |
a8db150482a7cf17951b9d8cac038e57acb32f4f | 30,800 | c | C | src/linker/cache.c | VladisM/m2tools | 9b53269938297109ad7210b840348933c9ad4dcf | [
"WTFPL"
] | 1 | 2022-01-08T19:27:42.000Z | 2022-01-08T19:27:42.000Z | src/linker/cache.c | VladisM/m2tools | 9b53269938297109ad7210b840348933c9ad4dcf | [
"WTFPL"
] | 7 | 2021-12-18T23:04:17.000Z | 2022-01-19T22:43:50.000Z | src/linker/cache.c | VladisM/m2tools | 9b53269938297109ad7210b840348933c9ad4dcf | [
"WTFPL"
] | null | null | null | #include "cache.h"
#include "common.h"
#include "ldparser.h"
#include <utillib/core.h>
#include <filelib.h>
#include <platformlib.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
static cache_section_item_t *cache_section_item_new(obj_section_t *section);
static void cache_section_item_destroy(cache_s... | 34.18424 | 174 | 0.628474 | [
"object"
] |
a8e968c8a1357471ca71b2c23511159a39b98672 | 23,832 | c | C | arch/x86_64/vmx.c | twizzler-operating-system/twizzler-public | 1d85e787c3874f1cfaf765951fd1cf5ebb228a58 | [
"BSD-3-Clause"
] | 58 | 2020-07-14T22:54:11.000Z | 2022-03-30T02:15:18.000Z | arch/x86_64/vmx.c | twizzler-operating-system/twizzler-public | 1d85e787c3874f1cfaf765951fd1cf5ebb228a58 | [
"BSD-3-Clause"
] | 2 | 2021-06-27T01:38:27.000Z | 2022-01-14T23:43:47.000Z | arch/x86_64/vmx.c | twizzler-operating-system/twizzler-public | 1d85e787c3874f1cfaf765951fd1cf5ebb228a58 | [
"BSD-3-Clause"
] | 4 | 2020-12-09T13:03:05.000Z | 2021-11-23T08:16:13.000Z | #include <arch/x86_64-msr.h>
#include <arch/x86_64-vmx.h>
#include <memory.h>
#include <object.h>
#include <processor.h>
#include <secctx.h>
static uint32_t revision_id;
struct object_space _bootstrap_object_space;
static _Atomic long vmexits_count = 0;
static bool support_ept_switch_vmfunc = false;
static bool supp... | 31.691489 | 96 | 0.6845 | [
"object"
] |
a8e97bd904e02f199e2866466118d23a0ba3da24 | 505 | h | C | aliyun-api-ecs/2014-05-26/include/ali_ecs_modify_eip_address_attribute_types.h | zcy421593/aliyun-openapi-cpp-sdk | 8af0a59dedf303fa6c6911a61c356237fa6105a1 | [
"Apache-2.0"
] | 1 | 2015-11-28T16:46:56.000Z | 2015-11-28T16:46:56.000Z | aliyun-api-ecs/2014-05-26/include/ali_ecs_modify_eip_address_attribute_types.h | zcy421593/aliyun-openapi-cpp-sdk | 8af0a59dedf303fa6c6911a61c356237fa6105a1 | [
"Apache-2.0"
] | null | null | null | aliyun-api-ecs/2014-05-26/include/ali_ecs_modify_eip_address_attribute_types.h | zcy421593/aliyun-openapi-cpp-sdk | 8af0a59dedf303fa6c6911a61c356237fa6105a1 | [
"Apache-2.0"
] | null | null | null | #ifndef ALI_ECS_MODIFY_EIP_ADDRESS_ATTRIBUTE_TYPESH
#define ALI_ECS_MODIFY_EIP_ADDRESS_ATTRIBUTE_TYPESH
#include <stdio.h>
#include <string>
#include <vector>
namespace aliyun {
struct EcsModifyEipAddressAttributeRequestType {
std::string owner_id;
std::string resource_owner_account;
std::string resource... | 26.578947 | 52 | 0.784158 | [
"vector"
] |
a8ebcd2a6385d8b47f3bc9ba3b52a3817a888ed0 | 1,620 | h | C | Pets_solution/InterestingLearningStuff/src/CompleteModernC++/Deleter.h | kirixx/pets | c64379ab8b3bb14aa8c9fcb111c2abf2c08ff0a3 | [
"Apache-2.0"
] | null | null | null | Pets_solution/InterestingLearningStuff/src/CompleteModernC++/Deleter.h | kirixx/pets | c64379ab8b3bb14aa8c9fcb111c2abf2c08ff0a3 | [
"Apache-2.0"
] | null | null | null | Pets_solution/InterestingLearningStuff/src/CompleteModernC++/Deleter.h | kirixx/pets | c64379ab8b3bb14aa8c9fcb111c2abf2c08ff0a3 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <memory>
#include <iostream>
namespace Deleter
{
struct sDeleterObj
{
void operator()(int* p)
{
free(p);
std::cout << "pointer freed by object deleter\n";
}
};
void functionDeleter(int* p)
{
free(p);
std::cout <<... | 32.4 | 96 | 0.6 | [
"object"
] |
a8ed696e89e7fb680bd40d401958acaeea8e3b82 | 1,528 | h | C | master/geometrize-master/geometrize-master/geometrize/serialization/imagetaskpreferencesdata.h | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | master/geometrize-master/geometrize-master/geometrize/serialization/imagetaskpreferencesdata.h | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | master/geometrize-master/geometrize-master/geometrize/serialization/imagetaskpreferencesdata.h | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | #pragma once
#include <map>
#include <string>
#include "cereal/cereal.hpp"
#include "cereal/types/map.hpp"
#include "cereal/types/vector.hpp"
#include "geometrize/runner/imagerunneroptions.h"
namespace geometrize
{
namespace serialization
{
/**
* @brief The ImageTaskPreferencesData struct represents the preferen... | 28.830189 | 137 | 0.725785 | [
"vector"
] |
a8f0de80ed69641b50cbe80fd7339c65c025a090 | 4,028 | c | C | ntsimulator/ntsim-ng/features/manual_notification/manual_notification.c | o-ran-sc/sim-o1-interface | f5b69d55ddd03b4e504efdd33e2047901d3be807 | [
"Apache-2.0"
] | 1 | 2020-09-18T11:22:31.000Z | 2020-09-18T11:22:31.000Z | ntsimulator/ntsim-ng/features/manual_notification/manual_notification.c | o-ran-sc/sim-o1-interface | f5b69d55ddd03b4e504efdd33e2047901d3be807 | [
"Apache-2.0"
] | null | null | null | ntsimulator/ntsim-ng/features/manual_notification/manual_notification.c | o-ran-sc/sim-o1-interface | f5b69d55ddd03b4e504efdd33e2047901d3be807 | [
"Apache-2.0"
] | 2 | 2021-08-23T07:23:58.000Z | 2021-12-14T10:21:13.000Z | /*************************************************************************
*
* Copyright 2020 highstreet technologies GmbH and others
*
* 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
*
* h... | 32.224 | 228 | 0.656902 | [
"object"
] |
a8f868d4c3fda5b72ecacd8da8c560d69c537f85 | 8,998 | h | C | VTK/Common/vtkVariant.h | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | 1 | 2016-05-09T00:36:44.000Z | 2016-05-09T00:36:44.000Z | VTK/Common/vtkVariant.h | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | null | null | null | VTK/Common/vtkVariant.h | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | 3 | 2015-05-14T21:18:53.000Z | 2022-03-07T02:53:45.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkVariant.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This so... | 27.432927 | 90 | 0.677706 | [
"object"
] |
a4c8166c4ae9a087998333d909df3ea51c8f5f9e | 2,238 | h | C | Libraries/ECLogging/Generic/ECAssertion.h | antoninnoel/boxcar-ios-framework | 8ddbadd4bd911b459fb85970d7856c0629687374 | [
"MIT"
] | null | null | null | Libraries/ECLogging/Generic/ECAssertion.h | antoninnoel/boxcar-ios-framework | 8ddbadd4bd911b459fb85970d7856c0629687374 | [
"MIT"
] | 1 | 2019-11-04T14:07:22.000Z | 2019-11-04T14:07:22.000Z | Libraries/ECLogging/Generic/ECAssertion.h | antoninnoel/boxcar-ios-framework | 8ddbadd4bd911b459fb85970d7856c0629687374 | [
"MIT"
] | 1 | 2019-10-31T13:07:33.000Z | 2019-10-31T13:07:33.000Z | // --------------------------------------------------------------------------
//
// Copyright 2013 Sam Deane, Elegant Chaos. All rights reserved.
// This source code is distributed under the terms of Elegant Chaos's
// liberal license: http://www.elegantchaos.com/license/liberal
// ---------------------------------... | 43.038462 | 177 | 0.72252 | [
"object"
] |
a4cca24410b9939b79450d795d0e989d23dff266 | 6,918 | h | C | aplcore/include/apl/datasource/dynamiclistdatasourceprovider.h | tschaffter/apl-core-library | 3a05342ba0fa2432c320476795c13e8cd990e8ee | [
"Apache-2.0"
] | 28 | 2019-11-05T12:23:01.000Z | 2022-03-22T10:01:53.000Z | aplcore/include/apl/datasource/dynamiclistdatasourceprovider.h | alexa/apl-core-library | b0859273851c4f62290d1f85c42bf22eb087fb35 | [
"Apache-2.0"
] | 7 | 2020-03-28T12:44:08.000Z | 2022-01-23T17:02:27.000Z | aplcore/include/apl/datasource/dynamiclistdatasourceprovider.h | tschaffter/apl-core-library | 3a05342ba0fa2432c320476795c13e8cd990e8ee | [
"Apache-2.0"
] | 15 | 2019-12-25T10:15:52.000Z | 2021-12-30T03:50:00.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" ... | 33.911765 | 128 | 0.704828 | [
"object",
"vector"
] |
a4f1f2389d6b9e8cdd0951fb490b8fb6d650ac49 | 1,312 | h | C | nuevdb/EventDisplayBase/Printable.h | knoepfel/nuevdb | e3600815daa6927f699337ca09b536b9f9897a2d | [
"Apache-2.0"
] | null | null | null | nuevdb/EventDisplayBase/Printable.h | knoepfel/nuevdb | e3600815daa6927f699337ca09b536b9f9897a2d | [
"Apache-2.0"
] | null | null | null | nuevdb/EventDisplayBase/Printable.h | knoepfel/nuevdb | e3600815daa6927f699337ca09b536b9f9897a2d | [
"Apache-2.0"
] | 1 | 2022-01-31T20:49:28.000Z | 2022-01-31T20:49:28.000Z | ////////////////////////////////////////////////////////////////////////
/// \file Printable.h
/// \brief Base class for printable objects
///
/// \version $Id: Printable.h,v 1.2 2011-01-23 16:08:50 p-nusoftart Exp $
/// \author messier@indiana.edu
/////////////////////////////////////////////////////////////////////... | 31.238095 | 78 | 0.566311 | [
"object",
"3d"
] |
a4f2ce1c3e9ae8b09949ad1e8b77d9a4ea1fe23a | 3,509 | h | C | Engine/MachineLearning/MulticlassClassifierOneVsAll.h | techmatt/Provincial | 3e636570d7ef359b823cb0dab3c5f8c3f1cb36b2 | [
"MIT"
] | 27 | 2015-09-03T18:41:03.000Z | 2022-01-17T20:38:54.000Z | Engine/MachineLearning/MulticlassClassifierOneVsAll.h | techmatt/Provincial | 3e636570d7ef359b823cb0dab3c5f8c3f1cb36b2 | [
"MIT"
] | null | null | null | Engine/MachineLearning/MulticlassClassifierOneVsAll.h | techmatt/Provincial | 3e636570d7ef359b823cb0dab3c5f8c3f1cb36b2 | [
"MIT"
] | 8 | 2015-02-23T10:04:30.000Z | 2020-09-04T10:56:22.000Z | template<class LearnerInput>
struct OneVsAllConfiguration
{
OneVsAllConfiguration()
{
Factory = NULL;
}
OneVsAllConfiguration(BinaryClassifierFactory<LearnerInput> *_Factory)
{
Factory = _Factory;
}
BinaryClassifierFactory<LearnerInput> *Factory;
};
template<class LearnerIn... | 31.9 | 184 | 0.637789 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.