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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a39d654818f69acdc766541c1da78a138240fac7 | 1,451 | h | C | GreedyGenesLib/GreedyGenesLib/GreedySDK.h | NarekAt/GreedyPlus | 04c34edb09f087a9cfc3286b74e0aa17c3951882 | [
"MIT"
] | null | null | null | GreedyGenesLib/GreedyGenesLib/GreedySDK.h | NarekAt/GreedyPlus | 04c34edb09f087a9cfc3286b74e0aa17c3951882 | [
"MIT"
] | 1 | 2018-04-02T13:42:03.000Z | 2018-04-05T11:28:41.000Z | GreedyGenesLib/GreedyGenesLib/GreedySDK.h | NarekAt/GreedyPlus | 04c34edb09f087a9cfc3286b74e0aa17c3951882 | [
"MIT"
] | 1 | 2019-04-17T05:12:03.000Z | 2019-04-17T05:12:03.000Z | #pragma once
#include "Matroid.h"
#include "Types.h"
#include <memory>
#include <vector>
#include <set>
struct ClusterMatroidParams
{
// types
struct ElementType
{
std::pair<long, long> elem;
long weight;
bool operator<(const ElementType& rhs) const
{
... | 18.844156 | 57 | 0.620951 | [
"vector"
] |
a39fe0851b80af4fb0148fddb6dba951eac7eac7 | 4,217 | c | C | botgui/vx/gtk/vx_zoo.c | gaomeitao/balance-gyrodometry-robot | f7039adc78fbf89442c1881f9d9d2c2b28bf4c76 | [
"MIT"
] | 1 | 2022-03-27T19:09:46.000Z | 2022-03-27T19:09:46.000Z | src/vx/gtk/vx_zoo.c | tsnowak/rob550-botlab | e8ce317fa3e0c089e30894fbb472669831eb0828 | [
"MIT"
] | null | null | null | src/vx/gtk/vx_zoo.c | tsnowak/rob550-botlab | e8ce317fa3e0c089e30894fbb472669831eb0828 | [
"MIT"
] | 2 | 2019-06-29T04:21:35.000Z | 2020-12-31T01:33:24.000Z | #include <gtk/gtk.h>
#include <math.h>
#include "vx/vxo_drawables.h"
#include "vx/gtk/vx_gtk_display_source.h"
// core api
#include "vx/vx_global.h"
#include "vx/vx_layer.h"
#include "vx/vx_world.h"
#include "vx/vx_colors.h"
typedef struct
{
vx_object_t * obj;
char * name;
} obj_data_t;
typedef struct
{
... | 32.19084 | 112 | 0.612995 | [
"object"
] |
a3a8dff51385e3e4626c61eb3111aae1bf0104da | 1,589 | c | C | dot_prod/dot_prod.c | drreynolds/Math6370-codes | 5fbc413204c64dabf9a262f308314da3d372f98e | [
"CC0-1.0"
] | 1 | 2021-09-05T01:11:31.000Z | 2021-09-05T01:11:31.000Z | dot_prod/dot_prod.c | drreynolds/Math6370-codes | 5fbc413204c64dabf9a262f308314da3d372f98e | [
"CC0-1.0"
] | null | null | null | dot_prod/dot_prod.c | drreynolds/Math6370-codes | 5fbc413204c64dabf9a262f308314da3d372f98e | [
"CC0-1.0"
] | null | null | null | /* Daniel R. Reynolds
SMU Mathematics
Math 4370/6370
7 February 2015 */
/* Inclusions */
#include <stdlib.h>
#include <stdio.h>
#include "get_time.h"
/* Example routine to compute the dot-product of two vectors. */
int main(int argc, char* argv[]) {
/* declarations */
int i, n;
double *a, *b, sum, a... | 23.028986 | 70 | 0.57898 | [
"vector"
] |
a3b72e6c911f95de813f19436eecdca29a8e9929 | 4,910 | h | C | include/klee/Internal/ADT/TreeStream.h | efeslab/ER | cadf554c16c0a1fb11398cb332f677f9b7685e4b | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-08-25T09:29:39.000Z | 2021-08-25T09:29:39.000Z | include/klee/Internal/ADT/TreeStream.h | efeslab/ER | cadf554c16c0a1fb11398cb332f677f9b7685e4b | [
"MIT",
"BSD-3-Clause"
] | null | null | null | include/klee/Internal/ADT/TreeStream.h | efeslab/ER | cadf554c16c0a1fb11398cb332f677f9b7685e4b | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-08-25T09:29:46.000Z | 2021-08-25T09:29:46.000Z | //===-- TreeStream.h --------------------------------------------*- C++ -*-===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... | 27.277778 | 85 | 0.50835 | [
"vector"
] |
a3be9fb44e84530cba6a3025cc35662fae58014e | 1,224 | c | C | chargenxor.c | joriszwart/chargenxor | 331cf81cf6722ebacf37700253f055bd763b5b8f | [
"MIT"
] | null | null | null | chargenxor.c | joriszwart/chargenxor | 331cf81cf6722ebacf37700253f055bd763b5b8f | [
"MIT"
] | null | null | null | chargenxor.c | joriszwart/chargenxor | 331cf81cf6722ebacf37700253f055bd763b5b8f | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
FILE *chargen, *customfont, *output;
unsigned int offset = 0;
unsigned char in1, in2, out;
if(argc < 3) {
printf("chargenxor v1.0 - xor a custom CBM font with the default chargen font for better compression\n\n");
printf("Usage: chargen... | 24.48 | 125 | 0.634804 | [
"transform"
] |
a3c000d6996bc09c67cdec429f6bbb00c58b46e5 | 5,540 | c | C | os/services/lwm2m/lwm2m-queue-mode-object.c | ismaelamezcua-ucol/contiki-ng | 54476e56b3b5ee793fda839f196262fa1f7585d4 | [
"BSD-3-Clause"
] | 948 | 2017-10-27T13:08:28.000Z | 2022-03-29T15:03:07.000Z | os/services/lwm2m/lwm2m-queue-mode-object.c | ismaelamezcua-ucol/contiki-ng | 54476e56b3b5ee793fda839f196262fa1f7585d4 | [
"BSD-3-Clause"
] | 1,161 | 2017-10-27T12:38:00.000Z | 2022-03-31T06:45:44.000Z | os/services/lwm2m/lwm2m-queue-mode-object.c | ismaelamezcua-ucol/contiki-ng | 54476e56b3b5ee793fda839f196262fa1f7585d4 | [
"BSD-3-Clause"
] | 664 | 2017-10-27T12:37:19.000Z | 2022-03-23T20:29:38.000Z | /*
* Copyright (c) 2017, RISE SICS AB.
* All rights reserved.
*
* 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 list of condi... | 36.447368 | 91 | 0.693682 | [
"object"
] |
a3cfdd8b3a1bfa25346b7e35754b8a9635bd72a1 | 2,663 | h | C | GamePlay/GameFieldFractions.h | TaylorClark/PrimeTime | 3c62f6c53e0494146a95be1412273de3cf05bcd2 | [
"MIT"
] | null | null | null | GamePlay/GameFieldFractions.h | TaylorClark/PrimeTime | 3c62f6c53e0494146a95be1412273de3cf05bcd2 | [
"MIT"
] | null | null | null | GamePlay/GameFieldFractions.h | TaylorClark/PrimeTime | 3c62f6c53e0494146a95be1412273de3cf05bcd2 | [
"MIT"
] | null | null | null | //=================================================================================================
/*!
\file GameFieldFractions.h
Game Play Library
Fractions Game Field Header
\author Taylor Clark
\date December 24, 2009
This header contains the definition for the fractions mode game field object.
*/
//========... | 25.122642 | 99 | 0.642133 | [
"object"
] |
a3f4a53563cd0d5e7b3fc8f3738e931c9484c14c | 1,933 | h | C | geometry/mesh/tri_mesh.h | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | 1 | 2017-08-11T19:12:24.000Z | 2017-08-11T19:12:24.000Z | geometry/mesh/tri_mesh.h | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | 11 | 2018-07-07T20:09:44.000Z | 2020-02-16T22:45:09.000Z | geometry/mesh/tri_mesh.h | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | null | null | null | //------------------------------------------------------------
// snakeoil (c) Alexis Constantin Link
// Distributed under the MIT license
//------------------------------------------------------------
#ifndef _SNAKEOIL_GEOMETRY_MESH_TRI_MESH_H_
#define _SNAKEOIL_GEOMETRY_MESH_TRI_MESH_H_
#include "imesh.h"
#include ... | 27.225352 | 76 | 0.612002 | [
"mesh"
] |
4327a51da9dc29401bc884024a490e33681c418b | 4,078 | c | C | src/RingDecomposerLib/RDLapsp.c | jargonzombies/RingDecomposerLib | 7b1629781cfb7fda29716d1af14a6110bb553892 | [
"BSD-3-Clause"
] | 10 | 2016-10-26T10:24:53.000Z | 2022-02-18T09:31:14.000Z | src/RingDecomposerLib/RDLapsp.c | jargonzombies/RingDecomposerLib | 7b1629781cfb7fda29716d1af14a6110bb553892 | [
"BSD-3-Clause"
] | 4 | 2016-10-27T01:46:40.000Z | 2020-03-25T14:41:07.000Z | src/RingDecomposerLib/RDLapsp.c | jargonzombies/RingDecomposerLib | 7b1629781cfb7fda29716d1af14a6110bb553892 | [
"BSD-3-Clause"
] | 9 | 2017-01-12T09:23:55.000Z | 2021-04-09T09:01:49.000Z | /*
* This file is part of the RingDecomposerLib, licensed
* under BSD New license (see LICENSE in the root directory).
* Copyright (c) 2016
* University of Hamburg, ZBH - Center for Bioinformatics
* Niek Andresen, Florian Flachsenberg, Matthias Rarey
*
* Please cite:
*
* Kolodzik, A.; Urbaczek, S.; Rarey, M.... | 27.741497 | 72 | 0.548553 | [
"model"
] |
432f4ad0dc0c0668d356f348640b015e71d3299a | 2,184 | h | C | aos/events/event_scheduler.h | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | null | null | null | aos/events/event_scheduler.h | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | null | null | null | aos/events/event_scheduler.h | Ewpratten/frc_971_mirror | 3a8a0c4359f284d29547962c2b4c43d290d8065c | [
"BSD-2-Clause"
] | null | null | null | #ifndef AOS_EVENTS_EVENT_SCHEDULER_H_
#define AOS_EVENTS_EVENT_SCHEDULER_H_
#include <algorithm>
#include <map>
#include <memory>
#include <unordered_set>
#include <utility>
#include <vector>
#include "aos/events/event_loop.h"
#include "aos/time/time.h"
#include "glog/logging.h"
namespace aos {
class EventScheduler... | 28.363636 | 77 | 0.711996 | [
"vector"
] |
4336e4dd665c6f26c5342d41e9f5fcbc940f309e | 7,001 | h | C | ios/versioned-react-native/ABI9_0_0/React/Base/ABI9_0_0RCTUtils.h | L8RMedia/exponent | c9f3012826f0fe797b30a07e52505cfb16cdee54 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ios/versioned-react-native/ABI9_0_0/React/Base/ABI9_0_0RCTUtils.h | L8RMedia/exponent | c9f3012826f0fe797b30a07e52505cfb16cdee54 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ios/versioned-react-native/ABI9_0_0/React/Base/ABI9_0_0RCTUtils.h | L8RMedia/exponent | c9f3012826f0fe797b30a07e52505cfb16cdee54 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2015-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.
*/
#import <t... | 50.007143 | 174 | 0.800171 | [
"object",
"3d"
] |
434288187639dd3602392be7080a929f5d4ebfaf | 2,183 | c | C | School C++/other/lpc/uids.c | holtsoftware/potential-octo-wallhack | 8e2165f0371522f42cb117ba83f8aea5c2a1b582 | [
"Apache-2.0"
] | null | null | null | School C++/other/lpc/uids.c | holtsoftware/potential-octo-wallhack | 8e2165f0371522f42cb117ba83f8aea5c2a1b582 | [
"Apache-2.0"
] | null | null | null | School C++/other/lpc/uids.c | holtsoftware/potential-octo-wallhack | 8e2165f0371522f42cb117ba83f8aea5c2a1b582 | [
"Apache-2.0"
] | null | null | null | #ifdef LATTICE
#include "/lpc_incl.h"
#include "/eoperators.h"
#else
#include "../lpc_incl.h"
#include "../eoperators.h"
#endif
static struct object *ob;
static struct svalue *argp;
#ifdef F_EXPORT_UID
void
f_export_uid PROT((void))
{
if (current_object->euid == NULL)
error("Illegal to export uid 0\n");
... | 19.845455 | 56 | 0.557032 | [
"object"
] |
4359d3bf9f67cf02e74cfc310190979cc470c280 | 11,702 | h | C | src/Cpl/Dm/Mp/Array_.h | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | src/Cpl/Dm/Mp/Array_.h | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | src/Cpl/Dm/Mp/Array_.h | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | #ifndef Cpl_Dm_Mp_Array_h_
#define Cpl_Dm_Mp_Array_h_
/*-----------------------------------------------------------------------------
* This file is part of the Colony.Core Project. The Colony.Core Project is an
* open source project with a BSD type of licensing agreement. See the license
* agreement (license.txt) in... | 36.798742 | 189 | 0.606905 | [
"object",
"model"
] |
abebdfcf1e891252727168275f7d6aeefee287fb | 2,942 | h | C | src/util/methods.h | gitter-badger/PeriDEM | 57c6db80ded86dba12bc8a9d731da439ce3d3947 | [
"BSL-1.0"
] | 22 | 2021-03-07T18:07:35.000Z | 2022-01-13T23:12:18.000Z | src/util/methods.h | gitter-badger/PeriDEM | 57c6db80ded86dba12bc8a9d731da439ce3d3947 | [
"BSL-1.0"
] | 6 | 2021-04-09T18:33:53.000Z | 2022-01-02T09:31:03.000Z | src/util/methods.h | gitter-badger/PeriDEM | 57c6db80ded86dba12bc8a9d731da439ce3d3947 | [
"BSL-1.0"
] | 5 | 2021-04-08T21:42:44.000Z | 2021-06-06T12:11:39.000Z | /*
* ----------------------------------
* Copyright (c) 2021 Prashant K. Jha
* ----------------------------------
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef UTIL_METHODS_H
#define UTIL_METHOD... | 26.745455 | 79 | 0.684228 | [
"vector"
] |
abf42771adcf8fbb7044a44e56db24ffd53eb2fe | 1,447 | h | C | FastPIMPL/FastPIMPL.h | talshadow/Toolbox | fdb042ba5897475993617f59a316eb9f15ac72cb | [
"MIT"
] | null | null | null | FastPIMPL/FastPIMPL.h | talshadow/Toolbox | fdb042ba5897475993617f59a316eb9f15ac72cb | [
"MIT"
] | null | null | null | FastPIMPL/FastPIMPL.h | talshadow/Toolbox | fdb042ba5897475993617f59a316eb9f15ac72cb | [
"MIT"
] | null | null | null | #pragma once
#include <type_traits>
#include <utility>
template <typename IMPL, std::size_t OBJECT_SIZE, std::size_t OBJECT_ALIGN>
class FastPIMPL {
private:
template <std::size_t object_size, std::size_t object_align> void validate() {
static_assert(object_size == OBJECT_SIZE, "Wrong object size");
static_... | 30.145833 | 80 | 0.656531 | [
"object"
] |
abf78f4bf3c0de558448440a6af5a08bfd6054b8 | 471 | h | C | Plot/Map/MapModifyLayer.h | MJYCo-Ltd/Map | 48ccc120a3c2cd3080fb046da72c7588b1faebc0 | [
"MIT"
] | 7 | 2021-11-25T02:12:09.000Z | 2022-03-20T12:48:18.000Z | Plot/Map/MapModifyLayer.h | MJYCo-Ltd/Map | 48ccc120a3c2cd3080fb046da72c7588b1faebc0 | [
"MIT"
] | 1 | 2022-03-25T20:47:21.000Z | 2022-03-29T02:02:44.000Z | Plot/Map/MapModifyLayer.h | MJYCo-Ltd/Map | 48ccc120a3c2cd3080fb046da72c7588b1faebc0 | [
"MIT"
] | 2 | 2021-12-07T06:22:47.000Z | 2021-12-30T05:54:04.000Z | #ifndef CMAPMODIFYLAYER_H
#define CMAPMODIFYLAYER_H
#include <osg/OperationThread>
#include <osgEarth/MapNode>
/**
* @brief 地图图层变化
*/
class CMapModifyLayer : public osg::Operation
{
public:
CMapModifyLayer(osgEarth::MapNode*,osgEarth::Layer*,bool);
void operator()(osg::Object*);
private:
osg::ref_ptr<os... | 21.409091 | 62 | 0.681529 | [
"object"
] |
abf845f49df56ccf2e6be83e06e19c78560ef564 | 3,371 | h | C | inc/form_obj.h | shanebarnes/bottlerocket | d9d4db9c74be015a6c09ad6ec1b3e30417394afd | [
"MIT"
] | null | null | null | inc/form_obj.h | shanebarnes/bottlerocket | d9d4db9c74be015a6c09ad6ec1b3e30417394afd | [
"MIT"
] | null | null | null | inc/form_obj.h | shanebarnes/bottlerocket | d9d4db9c74be015a6c09ad6ec1b3e30417394afd | [
"MIT"
] | null | null | null | /**
* @file form_obj.h
* @brief Presentation layer format interface.
* @author Shane Barnes
* @date 16 Apr 2016
* @copyright Copyright 2016 Shane Barnes. All rights reserved.
* This project is released under the MIT license.
*/
#ifndef _FORM_OBJ_H_
#define _FORM_OBJ_H_
#include "soc... | 27.859504 | 80 | 0.610501 | [
"object"
] |
abfd6b5db8ccd3f38600beeb01b80c53d56c7023 | 15,373 | h | C | thpp/TensorBase-inl.h | famunir/thpp | f8b844e96513a2f9432d498dc23b29271dfb85c4 | [
"BSD-3-Clause"
] | 171 | 2015-01-14T17:27:12.000Z | 2018-09-04T01:36:18.000Z | thpp/TensorBase-inl.h | famunir/thpp | f8b844e96513a2f9432d498dc23b29271dfb85c4 | [
"BSD-3-Clause"
] | 58 | 2015-03-08T16:20:07.000Z | 2018-08-30T12:42:17.000Z | thpp/TensorBase-inl.h | famunir/thpp | f8b844e96513a2f9432d498dc23b29271dfb85c4 | [
"BSD-3-Clause"
] | 106 | 2015-01-14T01:09:37.000Z | 2018-08-30T12:06:53.000Z | /**
* Copyright 2015 Facebook
* @author Tudor Bosman (tudorb@fb.com)
*/
#ifndef THPP_TENSORBASE_H_
#error This file may only be included from thpp/TensorBase.h
#endif
#include <cmath>
#include <type_traits>
#ifndef NO_FOLLY
#include <folly/Conv.h>
#include <folly/Likely.h>
#else
#define UNLIKELY(x) (x)
#endif
nam... | 28.207339 | 80 | 0.64262 | [
"vector"
] |
28004ecfd75b8e61791aaa368748a2ee33a4f8a5 | 8,555 | h | C | nitan/quest11/tlbb/kurong.h | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | 1 | 2019-03-27T07:25:16.000Z | 2019-03-27T07:25:16.000Z | nitan/quest11/tlbb/kurong.h | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | nitan/quest11/tlbb/kurong.h | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | int ask_xingyue(object who)
{
object me,ob;
mapping myfam;
me=this_player();
myfam = me->query("family");
if (!myfam || myfam["family_name"] != "天龍寺") {
command("knock "+(string)me->query("id"));
command("say 你非我派弟子,也敢來濫竽充數!\n");
return 1;
}
if (me->query_skill("buddhism", 1) < 180){
command("pat "+(st... | 26.082317 | 91 | 0.630742 | [
"object"
] |
28020a4f8fd33e84db75080727904986f4d3c70a | 27,554 | h | C | mqtt_sn.h | aignacio/mqtt_contiki_yasir_demo | daa24d9a78cf3fab148d88ed5247fd4f9c0dbe24 | [
"Apache-2.0"
] | null | null | null | mqtt_sn.h | aignacio/mqtt_contiki_yasir_demo | daa24d9a78cf3fab148d88ed5247fd4f9c0dbe24 | [
"Apache-2.0"
] | null | null | null | mqtt_sn.h | aignacio/mqtt_contiki_yasir_demo | daa24d9a78cf3fab148d88ed5247fd4f9c0dbe24 | [
"Apache-2.0"
] | null | null | null | /**
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may n... | 31.240363 | 190 | 0.713944 | [
"vector"
] |
2804517d7e7ee3fe283499bd9edb806ca3e20c92 | 2,018 | h | C | src/utils.h | vejnar/chromap | f0ff121845f727b2142f04983211233f27302d13 | [
"MIT"
] | null | null | null | src/utils.h | vejnar/chromap | f0ff121845f727b2142f04983211233f27302d13 | [
"MIT"
] | null | null | null | src/utils.h | vejnar/chromap | f0ff121845f727b2142f04983211233f27302d13 | [
"MIT"
] | null | null | null | #ifndef UTILS_H_
#define UTILS_H_
#include <sys/resource.h>
#include <sys/time.h>
#include <tuple>
#include "candidate.h"
#include "khash.h"
namespace chromap {
struct uint128_t {
uint64_t first;
uint64_t second;
};
struct BarcodeWithQual {
uint32_t corrected_base_index1;
char correct_base1;
uint32_t cor... | 22.674157 | 70 | 0.701685 | [
"vector"
] |
2817e5ea6b4882b01953d72c74a12313f54470e4 | 4,300 | h | C | EverydayExpressions/EvexCharacterClass.h | Ahroozle/Everyday-Expressions | 8e80365b355bbaeaa3a7cc1e3707fa0c530b3d32 | [
"MIT"
] | null | null | null | EverydayExpressions/EvexCharacterClass.h | Ahroozle/Everyday-Expressions | 8e80365b355bbaeaa3a7cc1e3707fa0c530b3d32 | [
"MIT"
] | null | null | null | EverydayExpressions/EvexCharacterClass.h | Ahroozle/Everyday-Expressions | 8e80365b355bbaeaa3a7cc1e3707fa0c530b3d32 | [
"MIT"
] | null | null | null | #pragma once
#include "EvexRangeIterator.h"
#include <vector>
namespace Evex
{
template<typename T>
struct RegexCharacterClassSymbol
{
using IterType = RegexRangeIterator<T>;
bool Ligature = false;
std::vector<T> Characters;
RegexCharacterClassSymbol(const T& c) : Characters({ c, c }) {}
RegexCharact... | 28.666667 | 127 | 0.667209 | [
"vector"
] |
283007ece575ea8f093f0ee24171aeacf5e838fa | 9,894 | h | C | kratos/includes/io.h | jiaqiwang969/Kratos-test | ed082abc163e7b627f110a1ae1da465f52f48348 | [
"BSD-4-Clause"
] | null | null | null | kratos/includes/io.h | jiaqiwang969/Kratos-test | ed082abc163e7b627f110a1ae1da465f52f48348 | [
"BSD-4-Clause"
] | null | null | null | kratos/includes/io.h | jiaqiwang969/Kratos-test | ed082abc163e7b627f110a1ae1da465f52f48348 | [
"BSD-4-Clause"
] | null | null | null | /*
==============================================================================
Kratos
A General Purpose Software for Multi-Physics Finite Element Analysis
Version 1.0 (Released on march 05, 2007).
Copyright 2007
Pooyan Dadvand, Riccardo Rossi
pooyan@cimne.upc.edu
rrossi@cimne.upc.edu
CIMNE (International Center for... | 26.454545 | 149 | 0.593895 | [
"mesh",
"object",
"vector"
] |
283d06d7c09d70ccdc63bc019c2d9f336b8d68ab | 1,183 | c | C | tests/test_gir.c | mikedlowis-prototypes/gir | 05bd899c50a474519ad06c1890fb5ea914a7c31e | [
"BSD-2-Clause"
] | null | null | null | tests/test_gir.c | mikedlowis-prototypes/gir | 05bd899c50a474519ad06c1890fb5ea914a7c31e | [
"BSD-2-Clause"
] | null | null | null | tests/test_gir.c | mikedlowis-prototypes/gir | 05bd899c50a474519ad06c1890fb5ea914a7c31e | [
"BSD-2-Clause"
] | null | null | null | #include "atf.h"
#include "gir.h"
#include "gir_internals.h"
TEST_SUITE(GirTests) {
/* Verify core object behavior
*************************************************************************/
TEST(Constructing a raw object) {
Obj* obj = obj_new(NULL, 0, 0);
CHECK(obj != NULL);
CHECK(... | 29.575 | 79 | 0.494505 | [
"object"
] |
2841b52180eda3680e1a5b0e6e1fbb6a60be61aa | 6,883 | h | C | YXWListBinder/Classes/YXWListBinder.h | xiaowinner/YXWListBinder | b997ab8d88f792f774a84ee7b9f2c37744c7cb86 | [
"MIT"
] | 9 | 2018-02-23T09:59:11.000Z | 2020-11-16T11:30:15.000Z | YXWListBinder/Classes/YXWListBinder.h | xiaowinner/YXWListBinder | b997ab8d88f792f774a84ee7b9f2c37744c7cb86 | [
"MIT"
] | 1 | 2020-09-21T02:48:00.000Z | 2020-09-21T02:48:00.000Z | YXWListBinder/Classes/YXWListBinder.h | xiaowinner/YXWListBinder | b997ab8d88f792f774a84ee7b9f2c37744c7cb86 | [
"MIT"
] | null | null | null | //
// YXWListBinder.h
// YXWListBinder
//
// Created by 原晓文 on 2018/2/22.
// Copyright © 2018年 xiaowinner. All rights reserved.
//
#import <ReactiveCocoa/ReactiveCocoa.h>
#import "YXWListBinderViewModelProtocol.h"
#import "YXWListBinderWidgetProtocol.h"
#import "YXWListBinderGeneralType.h"
NS_ASSUME_NONNULL_BEGIN... | 29.540773 | 157 | 0.745605 | [
"model"
] |
2843f3d0374f4a17ea0b7d3b9809fe6fb5f9d4f0 | 233 | h | C | common/eigen_utils.h | DavidDePauw1/dairlib | 3c75c8f587927b12a58f2e88dda61cc0e7dc82a3 | [
"BSD-3-Clause"
] | 32 | 2019-04-15T03:10:26.000Z | 2022-03-28T17:27:03.000Z | common/eigen_utils.h | DavidDePauw1/dairlib | 3c75c8f587927b12a58f2e88dda61cc0e7dc82a3 | [
"BSD-3-Clause"
] | 157 | 2019-02-21T03:13:57.000Z | 2022-03-09T19:13:59.000Z | common/eigen_utils.h | DavidDePauw1/dairlib | 3c75c8f587927b12a58f2e88dda61cc0e7dc82a3 | [
"BSD-3-Clause"
] | 22 | 2019-03-02T22:31:42.000Z | 2022-03-10T21:28:50.000Z | #include <vector>
#include <Eigen/Dense>
/// CopyVectorXdToStdVector returns an std::vector<double> which is converted
/// from an Eigen::VectorXd.
std::vector<double> CopyVectorXdToStdVector(
const Eigen::VectorXd& eigen_vec);
| 29.125 | 77 | 0.759657 | [
"vector"
] |
284b492fd5f956ad4174c5b63135d493be751a25 | 897 | h | C | Phase 1 , 2/NFAConvert.h | MohamedBakrAli/Compiler | d36d8d3acb52f0023198346dbf312b5618c60d9e | [
"MIT"
] | 1 | 2019-08-12T17:08:06.000Z | 2019-08-12T17:08:06.000Z | Phase 1 , 2/NFAConvert.h | MohamedBakrAli/Java-Compiler | d36d8d3acb52f0023198346dbf312b5618c60d9e | [
"MIT"
] | null | null | null | Phase 1 , 2/NFAConvert.h | MohamedBakrAli/Java-Compiler | d36d8d3acb52f0023198346dbf312b5618c60d9e | [
"MIT"
] | 1 | 2018-09-10T12:55:38.000Z | 2018-09-10T12:55:38.000Z | #ifndef NFACONVERT_H
#define NFACONVERT_H
#include <vector>
#include <bitset>
#include <iostream>
#include "Node.h"
#include "NfaGraph.h"
#include "constants.h"
#include "DFAstate.h"
class NFAConvert
{
public:
NFAConvert(vector<Node *> input_nfa, int start);
virtual ~NFAConvert();
... | 26.382353 | 100 | 0.656633 | [
"vector"
] |
285a871da954d7a725be0a78760ab03166ffaa68 | 703 | h | C | includes/mem.h | heinthanth/meon | 72a7b54abb0b37c8e98f059cd43c8cc19ea89519 | [
"MIT"
] | 1 | 2021-02-14T09:36:03.000Z | 2021-02-14T09:36:03.000Z | includes/mem.h | heinthanth/meon-craftinginterpreters | 72a7b54abb0b37c8e98f059cd43c8cc19ea89519 | [
"MIT"
] | null | null | null | includes/mem.h | heinthanth/meon-craftinginterpreters | 72a7b54abb0b37c8e98f059cd43c8cc19ea89519 | [
"MIT"
] | null | null | null | #ifndef meon_mem_h
#define meon_mem_h
#include "common.h"
#include "object.h"
#include "compiler.h"
#define GROW_ARRAY_SIZE(maxSize) ((maxSize) < 8 ? 8 : (maxSize)*2)
#define GROW_ARRAY(t, pointer, oldSize, newSize) \
(t *)reallocate(pointer, sizeof(t) * (oldSize), sizeof(t) * (newSize))
#define FREE_ARRAY(t, poi... | 30.565217 | 74 | 0.70697 | [
"object"
] |
286d926135450af06a484463b4a2f193dba8c366 | 4,514 | c | C | AI.c | coyorkdow/gomoku_AI | a5eac9cf3d5849b1bdaefc3dacd74711cdd89fa9 | [
"MIT"
] | null | null | null | AI.c | coyorkdow/gomoku_AI | a5eac9cf3d5849b1bdaefc3dacd74711cdd89fa9 | [
"MIT"
] | null | null | null | AI.c | coyorkdow/gomoku_AI | a5eac9cf3d5849b1bdaefc3dacd74711cdd89fa9 | [
"MIT"
] | null | null | null | #include "AI.h"
#include <stdio.h>
void init_AI() {
for (int i = 0; i < 15; i++)
for (int j = 0; j < 15; j++) board[i][j] = BLANK;
dir_vec[0].x = 0, dir_vec[0].y = -1;
dir_vec[1].x = 0, dir_vec[1].y = 1;
dir_vec[2].x = -1, dir_vec[2].y = 0;
dir_vec[3].x = 1, dir_vec[3].y = 0;
dir_vec[4].x = -1, dir... | 25.077778 | 79 | 0.531236 | [
"shape"
] |
930b9f147d529f6fdb25602e4f25c5f7a008d73a | 14,992 | h | C | source/SimultaneousRegistrationSegmentation/Potentials/Classifier-Segmentation-Unary.h | tschuls/ETH-SegReg-DLL | 34bd10464dc5e8b3c7bf3371ca1e190d692385b7 | [
"BSD-2-Clause-FreeBSD"
] | 15 | 2015-04-15T06:49:06.000Z | 2021-09-01T09:09:50.000Z | source/SimultaneousRegistrationSegmentation/Potentials/Classifier-Segmentation-Unary.h | tschuls/ETH-SegReg-DLL | 34bd10464dc5e8b3c7bf3371ca1e190d692385b7 | [
"BSD-2-Clause-FreeBSD"
] | 14 | 2015-03-09T19:09:47.000Z | 2015-09-04T15:31:12.000Z | source/SimultaneousRegistrationSegmentation/Potentials/Classifier-Segmentation-Unary.h | tschuls/ETH-SegReg-DLL | 34bd10464dc5e8b3c7bf3371ca1e190d692385b7 | [
"BSD-2-Clause-FreeBSD"
] | 10 | 2015-04-08T09:17:44.000Z | 2017-08-12T17:30:15.000Z | /**
* @file Classifier-Segmentation-Unary.h
* @author Tobias Gass <tobiasgass@gmail.com>
* @date Thu Mar 5 15:52:07 2015
*
* @brief Classifier interfaces and some general classes to penalize different segmentation labels of neighboring nodes.
*
*
*/
#pragma once
#include "Log.h"
#include <vector>
#in... | 34.385321 | 241 | 0.701441 | [
"object",
"vector"
] |
930c2f3e556a0fbc52e1e807cfb79f720aa6ae61 | 1,970 | h | C | src/sparrow/renderer/spw_pipeline.h | wangyongcong/pixpad | 0e10fd6a67ae4c1dafdd80d350c642528027b69c | [
"MIT"
] | 1 | 2018-05-17T00:52:06.000Z | 2018-05-17T00:52:06.000Z | src/sparrow/renderer/spw_pipeline.h | wangyongcong/pixpad | 0e10fd6a67ae4c1dafdd80d350c642528027b69c | [
"MIT"
] | null | null | null | src/sparrow/renderer/spw_pipeline.h | wangyongcong/pixpad | 0e10fd6a67ae4c1dafdd80d350c642528027b69c | [
"MIT"
] | null | null | null | #pragma once
#include <ImathMatrix.h>
#include <ImathBox.h>
#include <ImathColorAlgo.h>
#include "ImathVec.h"
#include "mesh.h"
#include "vertex_layout.h"
#include "spw_config.h"
#include "spw_render_target.h"
#include "material.h"
#include "disruptor.h"
#include "tile.h"
namespace wyc
{
enum POLYGON_WINDING
{
CLO... | 30.78125 | 140 | 0.759898 | [
"mesh",
"render",
"vector"
] |
93148e53aabcf4b7ec97f1ba89f5934b59516ba7 | 48,357 | c | C | internal/ccall/jit-value.c | goccy/go-jit | ff78d45cf6afba0368028308135daec5edd22bbc | [
"MIT"
] | 44 | 2020-05-13T16:09:23.000Z | 2022-03-20T23:58:55.000Z | internal/ccall/jit-value.c | goccy/go-jit | ff78d45cf6afba0368028308135daec5edd22bbc | [
"MIT"
] | 1 | 2021-01-11T06:20:11.000Z | 2021-01-11T06:20:11.000Z | internal/ccall/jit-value.c | goccy/go-jit | ff78d45cf6afba0368028308135daec5edd22bbc | [
"MIT"
] | 6 | 2020-05-13T16:56:40.000Z | 2022-02-15T06:16:07.000Z | /*
* jit-value.c - Functions for manipulating temporary values.
*
* Copyright (C) 2004 Southern Storm Software, Pty Ltd.
*
* This file is part of the libjit library.
*
* The libjit library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* a... | 22.713481 | 154 | 0.685754 | [
"object"
] |
932637b75b2064a788dba0a89818beb84259bcc4 | 14,634 | c | C | wm8960.c | AidenDawn/esp-wm8960 | 81da79b7b2f54cd3e2fa736cb25a6b9b08034c80 | [
"Apache-2.0"
] | null | null | null | wm8960.c | AidenDawn/esp-wm8960 | 81da79b7b2f54cd3e2fa736cb25a6b9b08034c80 | [
"Apache-2.0"
] | 1 | 2021-03-24T09:56:32.000Z | 2021-03-24T09:56:32.000Z | wm8960.c | AidenDawn/esp-wm8960 | 81da79b7b2f54cd3e2fa736cb25a6b9b08034c80 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "nvs.h"
#include "nvs_flash.h"
#include "esp_log.h"
#include "driver/i2c.h"
#include "i2c_bus.h"
#include "wm8960.h"
/* R25 - Power 1 */
#define WM8960_VMID_MASK 0x180
#define WM8960_VREF 0x40
/... | 33.641379 | 121 | 0.652658 | [
"3d"
] |
9334ec6eb12cbddaa27c3f8b4550dda440fbcee1 | 11,914 | h | C | tools/experimental/pbessymbolicbisim/symbolic_bisim.h | tneele/mCRL2 | 8f2d730d650ffec15130d6419f69c50f81e5125c | [
"BSL-1.0"
] | null | null | null | tools/experimental/pbessymbolicbisim/symbolic_bisim.h | tneele/mCRL2 | 8f2d730d650ffec15130d6419f69c50f81e5125c | [
"BSL-1.0"
] | null | null | null | tools/experimental/pbessymbolicbisim/symbolic_bisim.h | tneele/mCRL2 | 8f2d730d650ffec15130d6419f69c50f81e5125c | [
"BSL-1.0"
] | null | null | null | // Author(s): Thomas Neele
// Copyright: see the accompanying file COPYING or copy at
// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
/// \file symbo... | 33.94302 | 198 | 0.640339 | [
"vector"
] |
93373ba9980b45646c7759896d230371a83f57e3 | 32,502 | c | C | lib/varcore.c | rhae/varcore | ecad174ee2812547e9b0fce225d61c3367ed5605 | [
"BSD-3-Clause"
] | null | null | null | lib/varcore.c | rhae/varcore | ecad174ee2812547e9b0fce225d61c3367ed5605 | [
"BSD-3-Clause"
] | 2 | 2020-11-03T07:32:40.000Z | 2020-12-21T14:48:15.000Z | lib/varcore.c | rhae/varcore | ecad174ee2812547e9b0fce225d61c3367ed5605 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020, Ruediger Haertel
* All rights reserved.
*
* 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,
* t... | 22.808421 | 97 | 0.539474 | [
"vector",
"3d"
] |
9349ea9913407953b9e5af14c0d34e23f11a166a | 28,388 | h | C | src/bson.h | bigmaliang/libmongo-client | 8d6351e4f92606e03fdff07e5f7359542c085c42 | [
"Apache-2.0"
] | 3 | 2015-04-06T18:42:06.000Z | 2016-01-03T04:46:15.000Z | src/bson.h | bigmaliang/libmongo-client | 8d6351e4f92606e03fdff07e5f7359542c085c42 | [
"Apache-2.0"
] | 5 | 2015-06-20T15:19:13.000Z | 2017-06-08T13:38:20.000Z | src/bson.h | bigmaliang/libmongo-client | 8d6351e4f92606e03fdff07e5f7359542c085c42 | [
"Apache-2.0"
] | 6 | 2015-01-28T13:23:07.000Z | 2020-11-09T17:38:11.000Z | /* bson.h - libmongo-client's BSON implementation
* Copyright 2011, 2012 Gergely Nagy <algernon@balabit.hu>
*
* 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.or... | 33.124854 | 79 | 0.691525 | [
"object"
] |
935014bdd55ae1e824f6a63a2a007b70fddc5502 | 9,198 | h | C | third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2018-07-04T00:29:09.000Z | 2020-07-05T09:24:59.000Z | third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
*
* 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 list of conditions a... | 41.809091 | 80 | 0.706132 | [
"geometry"
] |
93587bd1f5d66ebe28954232310d7144f50eea4a | 729 | h | C | project2D/Asteroids.h | CEbbinghaus/Asteroids | 8bcac70c25602ef3fcf5edd699a0b630b2f8d40a | [
"MIT"
] | null | null | null | project2D/Asteroids.h | CEbbinghaus/Asteroids | 8bcac70c25602ef3fcf5edd699a0b630b2f8d40a | [
"MIT"
] | null | null | null | project2D/Asteroids.h | CEbbinghaus/Asteroids | 8bcac70c25602ef3fcf5edd699a0b630b2f8d40a | [
"MIT"
] | null | null | null | #pragma once
#include "Includes.h"
#include "Asteroid.h"
#include "Player.h"
#include "Bullet.h"
#include "Timer.h"
#include "Square.h"
#include "Circle.h"
#include "Line.h"
enum class Object{
player,
asteroid,
bullet,
count
};
class Asteroids : public Level {
public:
static Asteroids* instance;
Timer timeout... | 15.1875 | 34 | 0.711934 | [
"object"
] |
9369d0da1f8480ac199cfccb73b67e73778fd6bd | 837 | h | C | source/AVoid_Turtle/empty_template/GenericDefinitions.h | whywhyy/AVoid_Turtle | 073cc45e37c15d54401f8b71096592c0403c583b | [
"MIT"
] | null | null | null | source/AVoid_Turtle/empty_template/GenericDefinitions.h | whywhyy/AVoid_Turtle | 073cc45e37c15d54401f8b71096592c0403c583b | [
"MIT"
] | null | null | null | source/AVoid_Turtle/empty_template/GenericDefinitions.h | whywhyy/AVoid_Turtle | 073cc45e37c15d54401f8b71096592c0403c583b | [
"MIT"
] | null | null | null | #pragma once
#include "DataStructure/Vector2D.h"
#include "DataStructure/Vector3D.h"
typedef float T;
typedef double D;
typedef Vector2D<T> TV2;
typedef Vector2D<D> DV2;
typedef Vector2D<int> TV2_INT;
typedef Vector3D<T> TV3;
typedef Vector3D<D> DV3;
typedef Vector3D<int> TV3_INT;
typedef Vector3D<T> TV;
typedef V... | 36.391304 | 170 | 0.761051 | [
"vector"
] |
936d8450ab2d386b567b23c37945c0af6a4d1071 | 24,296 | h | C | ToolKit/Calendar/XTPCalendarControlView.h | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 2 | 2018-03-30T06:40:08.000Z | 2022-02-23T12:40:13.000Z | ToolKit/Calendar/XTPCalendarControlView.h | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | null | null | null | ToolKit/Calendar/XTPCalendarControlView.h | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 1 | 2020-08-11T05:48:02.000Z | 2020-08-11T05:48:02.000Z | // XTPCalendarControlView.h: interface for the CXTPCalendarControlView class.
//
// This file is a part of the XTREME CALENDAR MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER... | 37.726708 | 121 | 0.604832 | [
"object"
] |
938bd5a57ecbc318557d244a229d97608b4ac650 | 1,394 | h | C | src/renderer/prenderer.h | lihw/paper3d | a06d056b2ad894a8065b7a996eb7f6ceefec1511 | [
"MIT"
] | 34 | 2015-01-29T12:27:25.000Z | 2022-03-09T08:07:11.000Z | src/renderer/prenderer.h | lihw/paper3d | a06d056b2ad894a8065b7a996eb7f6ceefec1511 | [
"MIT"
] | 1 | 2015-02-04T07:26:50.000Z | 2015-02-04T07:36:55.000Z | src/renderer/prenderer.h | lihw/paper3d | a06d056b2ad894a8065b7a996eb7f6ceefec1511 | [
"MIT"
] | 12 | 2015-03-24T22:16:53.000Z | 2018-07-22T02:09:49.000Z | // prenderer.h
// Classic forward rendering. In this renderer, we only support
// shadow casted by one directional light. The renderer first
// execute a shadow map generation pass if exists, which follows
// an forward render pass and finally executes a list of post
// processing passes.
//
// Copyright 2012 - 2014 Fu... | 23.627119 | 64 | 0.716643 | [
"render"
] |
9391c4d3281d7cad29f3d4d8c05a047b39c48f1a | 29,149 | h | C | cabinets/VOX_AC30_Bright_Channel_NT2_Room.h | plfiorini/GuitarAmp | 5339737260e19b9ac32ef554b81d42f23ead3b53 | [
"Zlib"
] | 1 | 2021-08-12T20:04:23.000Z | 2021-08-12T20:04:23.000Z | cabinets/VOX_AC30_Bright_Channel_NT2_Room.h | plfiorini/GuitarAmp | 5339737260e19b9ac32ef554b81d42f23ead3b53 | [
"Zlib"
] | null | null | null | cabinets/VOX_AC30_Bright_Channel_NT2_Room.h | plfiorini/GuitarAmp | 5339737260e19b9ac32ef554b81d42f23ead3b53 | [
"Zlib"
] | null | null | null | /// Impulse response header, generated by ir_wav2h.py
/// Input file: Room.wav
#ifndef IR_VOX_AC30_BRIGHT_CHANNEL_NT2_ROOM_H
#define IR_VOX_AC30_BRIGHT_CHANNEL_NT2_ROOM_H
#include <vector>
namespace VOX_AC30_Bright_Channel_NT2_Room {
static const char* name = "Room";
static const char* vendor = "VOX AC30 Bright Cha... | 106.772894 | 123 | 0.778792 | [
"vector"
] |
1a9a823032c6bea21f68069d8abfb2424f91c523 | 1,576 | h | C | indexer/capture.h | near-feign/pcapdb | f85cbb7bfe8479832dc557368bb8b021945e6601 | [
"BSD-2-Clause"
] | 244 | 2017-01-02T23:07:07.000Z | 2022-03-17T06:13:59.000Z | indexer/capture.h | near-feign/pcapdb | f85cbb7bfe8479832dc557368bb8b021945e6601 | [
"BSD-2-Clause"
] | 31 | 2016-11-10T15:46:48.000Z | 2020-09-29T03:37:58.000Z | indexer/capture.h | near-feign/pcapdb | f85cbb7bfe8479832dc557368bb8b021945e6601 | [
"BSD-2-Clause"
] | 54 | 2017-01-05T07:16:51.000Z | 2021-04-24T05:05:19.000Z | #ifndef __CORNET_CAPTURE_H__
#define __CORNET_CAPTURE_H__
#include "pcapdb.h"
#include "event.h"
#include <pfring.h>
#include <pcap/pcap.h>
struct capture_state {
struct system_state * sys_state;
// The name used to open this interface. This includes it's queue.
char interface[BASE_DIR_LEN+1];
// The ... | 31.52 | 97 | 0.691624 | [
"object"
] |
1a9af249bd4276dfa594ccf46f549f2c97d0f304 | 2,833 | h | C | libraries/dph/dph-prim-interface/interface/DPH_Header.h | AntonXue/ghc-8.2.2-base-dumper | 02cb9dd92a5e209ec775ed940f73a7f8eb3508a1 | [
"BSD-3-Clause"
] | null | null | null | libraries/dph/dph-prim-interface/interface/DPH_Header.h | AntonXue/ghc-8.2.2-base-dumper | 02cb9dd92a5e209ec775ed940f73a7f8eb3508a1 | [
"BSD-3-Clause"
] | null | null | null | libraries/dph/dph-prim-interface/interface/DPH_Header.h | AntonXue/ghc-8.2.2-base-dumper | 02cb9dd92a5e209ec775ed940f73a7f8eb3508a1 | [
"BSD-3-Clause"
] | null | null | null | {-# LANGUAGE MagicHash #-}
#include "fusion-phases.h"
module Data.Array.Parallel.Unlifted (
-- * Types
Elt, Array,
-- * Constructors
empty,
generate,
replicate, replicate_s, replicate_rs,
repeat,
indexed,
(+:+),
append_s, append_vs,
indices_s,
enumFromTo,
enumFromThenTo,
enumFromStepLen... | 16.47093 | 65 | 0.679139 | [
"vector"
] |
1aa27be852f654f7ad2cc3cbc66372ff8fca3ee2 | 2,934 | c | C | func/nab/src/memutil.c | auto-ndp/faasm-cpp | 68ec74135575a9b5cce6afb000b2e1d0e42bbb08 | [
"Apache-2.0"
] | null | null | null | func/nab/src/memutil.c | auto-ndp/faasm-cpp | 68ec74135575a9b5cce6afb000b2e1d0e42bbb08 | [
"Apache-2.0"
] | null | null | null | func/nab/src/memutil.c | auto-ndp/faasm-cpp | 68ec74135575a9b5cce6afb000b2e1d0e42bbb08 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "nab.h"
void nrerror( char msg[] )
/*
char msg[];
*/
{
fprintf( stderr, "FATAL: %s\n", msg );
exit( 1 );
}
REAL_T *vector( size_t nl, size_t nh )
{
REAL_T *v;
#if 0
fprintf( nabout,"vector: nl = %lld nh = %lld\n", nl, nh);
fflush(nabout);
if (nh < nl) {
fpr... | 17.890244 | 85 | 0.528971 | [
"vector"
] |
1aa7604beb674122ebf54f6c6472b7cec068735e | 21,500 | h | C | ublas/math_traits.h | fraclipe/UnderSeaModelingLibrary | 52ef9dd03c7cbe548749e4527190afe7668ff4e7 | [
"BSD-2-Clause"
] | 1 | 2021-02-07T14:48:22.000Z | 2021-02-07T14:48:22.000Z | ublas/math_traits.h | Wolframy-NUDT/UnderSeaModelingLibrary | 43365639b435841e1bf2297cf1ac575b8cf91932 | [
"BSD-2-Clause"
] | null | null | null | ublas/math_traits.h | Wolframy-NUDT/UnderSeaModelingLibrary | 43365639b435841e1bf2297cf1ac575b8cf91932 | [
"BSD-2-Clause"
] | null | null | null | /**
* @file math_traits.h
* Traits implementation of new math algorithms for scientific applications.
*/
#pragma once
#include<cmath>
#include<complex>
#include<boost/numeric/ublas/vector.hpp>
#include<boost/numeric/ublas/matrix.hpp>
#include<boost/numeric/ublas/io.hpp>
#include <usml/usml_config.h>
# define TWO_... | 26.641884 | 77 | 0.58307 | [
"vector"
] |
1aa9f03ae8d84ac8384e9d01e289bbbabe8d9760 | 4,250 | c | C | vol1/c-examples/ExampleLearnXOR.c | Sun-Joong/aifh | 1b6363d26f54b77348020ce88ced0670568ed736 | [
"Apache-2.0"
] | 777 | 2015-01-17T22:48:26.000Z | 2022-03-31T01:10:07.000Z | vol1/c-examples/ExampleLearnXOR.c | Sun-Joong/aifh | 1b6363d26f54b77348020ce88ced0670568ed736 | [
"Apache-2.0"
] | 17 | 2015-01-02T14:41:24.000Z | 2017-09-02T02:57:09.000Z | vol1/c-examples/ExampleLearnXOR.c | Sun-Joong/aifh | 1b6363d26f54b77348020ce88ced0670568ed736 | [
"Apache-2.0"
] | 445 | 2015-01-26T17:01:49.000Z | 2022-03-24T07:16:58.000Z | /*
* Artificial Intelligence for Humans
* Volume 1: Fundamental Algorithms
* C/C++ Version
* http://www.aifh.org
* http://www.jeffheaton.com
*
* Code repository:
* https://github.com/jeffheaton/aifh
* Copyright 2013 by Jeff Heaton
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ma... | 31.25 | 119 | 0.72 | [
"model"
] |
1ab915801cb65c1325d341fea86f4d241609a9bd | 3,291 | h | C | include/ScriptReader.h | SCOTT-HAMILTON/RobotsWar | dd8b639d51e81c607ee45d95c78e04f3cd0736d3 | [
"MIT"
] | 1 | 2018-04-26T11:45:39.000Z | 2018-04-26T11:45:39.000Z | include/ScriptReader.h | SCOTT-HAMILTON/RobotsWar | dd8b639d51e81c607ee45d95c78e04f3cd0736d3 | [
"MIT"
] | null | null | null | include/ScriptReader.h | SCOTT-HAMILTON/RobotsWar | dd8b639d51e81c607ee45d95c78e04f3cd0736d3 | [
"MIT"
] | null | null | null | #ifndef SCRIPTREADER_H
#define SCRIPTREADER_H
#include <vector>
#include <SFML/Graphics.hpp>
#include <iostream>
#include <fstream>
#include <memory>
#include <map>
#include <variant>
#include <vector>
#include <array>
#include <algorithm>
#include "Blocks/ScriptBlock.h"
#include "Blocks/MainBlock.h"
... | 37.827586 | 122 | 0.731996 | [
"vector"
] |
1ada4a0db09768efd87bb0c7166c6ed81be4d5ac | 1,891 | h | C | Selfhydro-Sensors/Selfhydro-Sensors/src/waterLevelSensor.h | bchalk101/SelfHydro | a4c0897877fdc10f9b612af1bc4753857d877bfa | [
"Apache-2.0"
] | 1 | 2020-10-10T06:02:47.000Z | 2020-10-10T06:02:47.000Z | Selfhydro-Sensors/Selfhydro-Sensors/src/waterLevelSensor.h | selfhydro/selfhydro | a4c0897877fdc10f9b612af1bc4753857d877bfa | [
"Apache-2.0"
] | null | null | null | Selfhydro-Sensors/Selfhydro-Sensors/src/waterLevelSensor.h | selfhydro/selfhydro | a4c0897877fdc10f9b612af1bc4753857d877bfa | [
"Apache-2.0"
] | null | null | null | #include <Arduino.h>
#include <Wire.h>
#include <SparkFun_VL6180X.h>
#define VL6180X_ADDRESS 0x29
class WaterLevelSensor
{
public:
WaterLevelSensor() {};
void Setup() {
sensor.getIdentification(&identification);
printIdentification(&identification);
... | 30.5 | 69 | 0.535167 | [
"model"
] |
1ae9c3cc879db6ec7993252ecef9e956ef7497b2 | 306 | h | C | item_creator.h | rcolomina/LaCasaEncantada | a73304105530140b92eacedc59de4e995422cbff | [
"MIT"
] | 2 | 2015-11-27T20:12:47.000Z | 2016-01-05T16:27:02.000Z | item_creator.h | rcolomina/TheCharmedHouse | a73304105530140b92eacedc59de4e995422cbff | [
"MIT"
] | 6 | 2016-06-06T18:05:03.000Z | 2017-07-31T08:53:02.000Z | item_creator.h | rcolomina/TheCharmedHouse | a73304105530140b92eacedc59de4e995422cbff | [
"MIT"
] | null | null | null | #ifndef _item_creator_
#define _item_creator_
#include <vector>
#include <tinyxml.h>
#include "abstract_creator.h"
#include "objeto.h"
class ItemGameCreator : public AbstractGameCreator{
public:
ItemGameCreator(const string xmlItemSpecs);
Entidad* createById(string itemId);
};
#endif
| 18 | 51 | 0.748366 | [
"vector"
] |
ffa0d63eb1db5a3faf1b470691fa91535c99cda3 | 4,624 | h | C | RenTogether Src Files/RenTogether.h | Xynorimas/ICT1009-CPP-RenTogether | 7ad811d9f4db7a4e8c066c3d1fd685f54e07eebb | [
"MIT"
] | null | null | null | RenTogether Src Files/RenTogether.h | Xynorimas/ICT1009-CPP-RenTogether | 7ad811d9f4db7a4e8c066c3d1fd685f54e07eebb | [
"MIT"
] | null | null | null | RenTogether Src Files/RenTogether.h | Xynorimas/ICT1009-CPP-RenTogether | 7ad811d9f4db7a4e8c066c3d1fd685f54e07eebb | [
"MIT"
] | null | null | null | #ifndef RenTogether_H
#define RenTogether_H
#include <QObject>
// Forward declaration
class Customer;
class Vehicle;
class Rental
{
private:
int rentalID;
int CustomerID;
int VehicleID;
QString StartDate;
QString EndDate;
int RentDuration;
double Price;
public:
Rental(int, int, int, ... | 24.994595 | 130 | 0.687067 | [
"object",
"model"
] |
ffae5c9cc2ba61f58d70dc4a0a0e8a74630a8b6a | 14,370 | h | C | projects/project11/include/BTree.h | jaasonw/data_structures | aba43dc071eec932717141defe3bc30abc9e237e | [
"MIT"
] | null | null | null | projects/project11/include/BTree.h | jaasonw/data_structures | aba43dc071eec932717141defe3bc30abc9e237e | [
"MIT"
] | null | null | null | projects/project11/include/BTree.h | jaasonw/data_structures | aba43dc071eec932717141defe3bc30abc9e237e | [
"MIT"
] | null | null | null | #pragma once
#include "array/Array.h"
#include "array/array_util.h"
#include <cassert>
#include <exception>
#include <iostream>
#include <string>
template <typename T>
class BTree {
private:
static const int MINIMUM = 1;
static const int MAXIMUM = 2 * MINIMUM;
// number of data elements
... | 31.375546 | 93 | 0.572443 | [
"object"
] |
ffb8519bdf70a5452c559e52cc41161cccf693a1 | 1,446 | h | C | src/TritonRoute/src/dr/FlexDR_graphics.h | agorararmard/OpenROAD | efae571392875c1e45c59e358b94d89b9b0735f8 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/TritonRoute/src/dr/FlexDR_graphics.h | agorararmard/OpenROAD | efae571392875c1e45c59e358b94d89b9b0735f8 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/TritonRoute/src/dr/FlexDR_graphics.h | agorararmard/OpenROAD | efae571392875c1e45c59e358b94d89b9b0735f8 | [
"BSD-3-Clause-Clear"
] | 1 | 2022-01-31T10:05:39.000Z | 2022-01-31T10:05:39.000Z | #pragma once
#include <memory>
#include "gui/gui.h"
#include "frBaseTypes.h"
namespace odb {
class dbDatabase;
}
namespace fr {
class frPoint;
class FlexGridGraph;
class FlexWavefrontGrid;
class FlexDRWorker;
class drNet;
class frDesign;
// This class draws debugging graphics on the layout
class FlexDRGraphics ... | 22.952381 | 83 | 0.710235 | [
"vector"
] |
fff2ccb2a788ad627b067f0456aec21f479360b8 | 4,543 | h | C | src/oems/dx11.h | ref2401/oems | 00a295d01280211c3298ddacda0e0937471917ab | [
"MIT"
] | 3 | 2019-12-10T05:53:40.000Z | 2021-09-13T17:54:30.000Z | src/oems/dx11.h | ref2401/oems | 00a295d01280211c3298ddacda0e0937471917ab | [
"MIT"
] | 1 | 2017-10-23T12:12:22.000Z | 2017-10-23T12:12:22.000Z | src/oems/dx11.h | ref2401/oems | 00a295d01280211c3298ddacda0e0937471917ab | [
"MIT"
] | null | null | null | #pragma once
#include <type_traits>
#include <oems/common.h>
#include <d3d11.h>
#include <d3dcommon.h>
#include <d3dcompiler.h>
#include <dxgi.h>
#include <windows.h>
#define THROW_IF_DX_ERROR(hr) oems::throw_if_dx_error(hr, nullptr, __FILE__, __LINE__);
#define THROW_IF_DX_DEVICE_ERROR(hr, p_device) o... | 20.83945 | 106 | 0.684129 | [
"object"
] |
2b10b55b069870eef73c0ad5eaa704295eb2011b | 22,283 | c | C | src/vos/tests/vts_aggregate.c | sydneyvanda/daos | 39a3e41825063df1e395356065c72e0cfcd4ae0c | [
"Apache-2.0"
] | null | null | null | src/vos/tests/vts_aggregate.c | sydneyvanda/daos | 39a3e41825063df1e395356065c72e0cfcd4ae0c | [
"Apache-2.0"
] | null | null | null | src/vos/tests/vts_aggregate.c | sydneyvanda/daos | 39a3e41825063df1e395356065c72e0cfcd4ae0c | [
"Apache-2.0"
] | null | null | null | /**
* (C) Copyright 2019 Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 25.350398 | 80 | 0.688731 | [
"object"
] |
2b140852fab376d2ec89a434678d0aacf62bdd41 | 3,385 | h | C | include/Grid.h | ziacko/Temporal-AA | 66a0f4346e7c7ce0af3d7c485bc0895550e63b30 | [
"MIT"
] | 28 | 2020-12-18T17:53:24.000Z | 2022-02-28T15:11:48.000Z | include/Grid.h | ziacko/Temporal-AA | 66a0f4346e7c7ce0af3d7c485bc0895550e63b30 | [
"MIT"
] | 1 | 2022-03-01T14:38:40.000Z | 2022-03-01T14:38:40.000Z | include/Grid.h | ziacko/Temporal-AA | 66a0f4346e7c7ce0af3d7c485bc0895550e63b30 | [
"MIT"
] | 1 | 2021-06-24T20:57:38.000Z | 2021-06-24T20:57:38.000Z | #pragma once
#include "VertexAttribute.h"
class grid
{
public:
unsigned int vertexArrayHandle;
unsigned int vertexBufferHandle;
unsigned int indexBufferHandle;
glm::ivec2 dimensions;
std::vector<vertexAttribute_t> vertices;
std::vector<unsigned int> indices;
bool tiled;
grid(glm::ivec2 dimensions, bool til... | 32.548077 | 143 | 0.706647 | [
"vector"
] |
2b21bd811a66ab5822d03529a01bd534de3ab97b | 7,073 | h | C | navigation/TangentPreintegration.h | shaolinbit/minisam_lib | e2e904d1b6753976de1dee102f0b53e778c0f880 | [
"BSD-3-Clause"
] | 104 | 2019-06-23T14:45:20.000Z | 2022-03-20T12:45:29.000Z | navigation/TangentPreintegration.h | shaolinbit/minisam_lib | e2e904d1b6753976de1dee102f0b53e778c0f880 | [
"BSD-3-Clause"
] | 2 | 2019-06-28T08:23:23.000Z | 2019-07-17T02:37:08.000Z | navigation/TangentPreintegration.h | shaolinbit/minisam_lib | e2e904d1b6753976de1dee102f0b53e778c0f880 | [
"BSD-3-Clause"
] | 28 | 2019-06-23T14:45:19.000Z | 2022-03-20T12:45:24.000Z | #ifndef TANGENTPREINTEGRATION_H
#define TANGENTPREINTEGRATION_H
/**
* @file TangentPreintegration.h
**/
#pragma once
#include "../navigation/PreintegrationParams.h"
#include "../navigation/ImuBias.h"
#include "../navigation/NavState.h"
#include "../mat/Matrix.h"
#include "../mat/MatCal.h"
namespace minisam
{
... | 33.206573 | 112 | 0.625901 | [
"vector"
] |
2b25622b98a77dd3e8a5ecd957045e57ba49bf65 | 8,294 | h | C | thirdlibs/paintlib/inc/plpicdec.h | rustamserg/PLAINX | 59b85f97918b9fe2091460ac6429fc1766e245c7 | [
"MIT"
] | null | null | null | thirdlibs/paintlib/inc/plpicdec.h | rustamserg/PLAINX | 59b85f97918b9fe2091460ac6429fc1766e245c7 | [
"MIT"
] | null | null | null | thirdlibs/paintlib/inc/plpicdec.h | rustamserg/PLAINX | 59b85f97918b9fe2091460ac6429fc1766e245c7 | [
"MIT"
] | null | null | null | /*
/--------------------------------------------------------------------
|
| $Id: plpicdec.h,v 1.5 2002/03/06 22:46:54 uzadow Exp $
|
| Copyright (c) 1996-2002 Ulrich von Zadow
|
\--------------------------------------------------------------------
*/
#ifndef INCL_PLPICDEC
#define INCL_PLPICDEC
#ifndef INCL... | 29 | 88 | 0.627442 | [
"object"
] |
2b37246521b35e8282429200b202f49356a701e1 | 5,746 | h | C | libs/mve/libs/sfm/ba_dense_vector.h | 3000huyang/mvs-texturing-windows | cb4f4142e746402c7c8eb87793e5f6de9158068c | [
"BSD-3-Clause"
] | 1 | 2020-09-11T09:14:29.000Z | 2020-09-11T09:14:29.000Z | libs/sfm/ba_dense_vector.h | MasterShockwave/mve | 7a96751db098bb6f5c0b4075921b0e8e43a69bb6 | [
"BSD-3-Clause"
] | null | null | null | libs/sfm/ba_dense_vector.h | MasterShockwave/mve | 7a96751db098bb6f5c0b4075921b0e8e43a69bb6 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2015, Simon Fuhrmann, Fabian Langguth
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#ifndef SFM_BA_DENSE_VECTO... | 21.047619 | 70 | 0.639749 | [
"vector"
] |
2b5782f3fb855981a574e162d069bbdaeedb067e | 17,232 | h | C | ecclesia/lib/cache/rcu_snapshot.h | gaohannk/ecclesia-machine-management | c197fd5e44f274501073d4d3fa04259342c7ad07 | [
"Apache-2.0"
] | null | null | null | ecclesia/lib/cache/rcu_snapshot.h | gaohannk/ecclesia-machine-management | c197fd5e44f274501073d4d3fa04259342c7ad07 | [
"Apache-2.0"
] | null | null | null | ecclesia/lib/cache/rcu_snapshot.h | gaohannk/ecclesia-machine-management | c197fd5e44f274501073d4d3fa04259342c7ad07 | [
"Apache-2.0"
] | null | null | null | /*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 42.865672 | 80 | 0.719127 | [
"object",
"vector"
] |
2b5ea17708ed2ceb4571afabdc36744990f01b4a | 522 | h | C | d2mapapi/pathfinder.h | dulingzhi/D2RMH | f3c079fb72234bfba84c9c5251f1c82fc8e5cdb2 | [
"MIT"
] | 125 | 2021-10-31T05:55:12.000Z | 2022-03-30T09:15:29.000Z | d2mapapi/pathfinder.h | dulingzhi/D2RMH | f3c079fb72234bfba84c9c5251f1c82fc8e5cdb2 | [
"MIT"
] | 93 | 2021-10-31T11:19:37.000Z | 2022-03-31T13:25:54.000Z | d2mapapi/pathfinder.h | dulingzhi/D2RMH | f3c079fb72234bfba84c9c5251f1c82fc8e5cdb2 | [
"MIT"
] | 57 | 2021-10-30T08:45:05.000Z | 2022-03-30T04:11:21.000Z | /*
* Copyright (c) 2021 Soar Qin<soarchin@gmail.com>
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*/
#pragma once
#include <vector>
#include <utility>
#include <cstdint>
namespace d2mapapi {
std::vector<std... | 24.857143 | 118 | 0.657088 | [
"vector"
] |
d87d9d5d42e883d5f9d050095284d77da9c75768 | 870 | h | C | src/z-wave/products/AeotecZW100ZWaveMessage.h | BeeeOn/gateway-frc | b5bcebd6dc068394906e35d989ed48dc65e9ebaf | [
"BSD-3-Clause"
] | null | null | null | src/z-wave/products/AeotecZW100ZWaveMessage.h | BeeeOn/gateway-frc | b5bcebd6dc068394906e35d989ed48dc65e9ebaf | [
"BSD-3-Clause"
] | null | null | null | src/z-wave/products/AeotecZW100ZWaveMessage.h | BeeeOn/gateway-frc | b5bcebd6dc068394906e35d989ed48dc65e9ebaf | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <map>
#include "z-wave/ZWaveMessage.h"
namespace BeeeOn {
#define AEOTEC_ZW100 0x0064
#define DEVICE_ID_AEOTEC_ZW100 27
class AeotecZW100ZWaveMessage : public ZWaveMessage {
public:
AeotecZW100ZWaveMessage();
SensorData extractValues(
const std::vector<ZWaveSensorValue> &... | 20.714286 | 61 | 0.758621 | [
"vector"
] |
d881b410f7cb79021473a476b2a63f138dfdfec4 | 4,288 | h | C | SyncTicker.h | BirdAPI/SyncTicker | 522a9ecf930570943d5749104d8584f01a688a20 | [
"MIT"
] | null | null | null | SyncTicker.h | BirdAPI/SyncTicker | 522a9ecf930570943d5749104d8584f01a688a20 | [
"MIT"
] | null | null | null | SyncTicker.h | BirdAPI/SyncTicker | 522a9ecf930570943d5749104d8584f01a688a20 | [
"MIT"
] | null | null | null | /* SyncTicker library code is placed under the MIT license
* Copyright (c) 2018 Stefan Staub
*
* 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 l... | 27.487179 | 123 | 0.70056 | [
"object"
] |
d893e6d29abb21d71a969f9cf009bd131ae3a463 | 2,231 | h | C | include/JsonRpcClient.h | t-sagara/geonlp-software | bcb57f55d4790b8f332f44dcb78b5a3cca2f1a63 | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-09-15T07:47:41.000Z | 2019-09-15T07:47:41.000Z | include/JsonRpcClient.h | t-sagara/geonlp-software | bcb57f55d4790b8f332f44dcb78b5a3cca2f1a63 | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-09-13T08:27:35.000Z | 2019-09-14T00:43:07.000Z | include/JsonRpcClient.h | t-sagara/geonlp-software | bcb57f55d4790b8f332f44dcb78b5a3cca2f1a63 | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 1 | 2018-10-03T10:56:23.000Z | 2018-10-03T10:56:23.000Z | ///
/// @file JsonRpcClient.h
/// @brief 分布情報管理サーバ通信用 JSON RPC クライアントの定義
/// @author 株式会社情報試作室
///
/// Copyright (c)2014, NII
///
#ifndef _GEONLP_JSONRPC_CLIENT_H
#define _GEONLP_JSONRPC_CLIENT_H
#include <vector>
#include <iostream>
#include <istream>
#include <ostream>
#include <string>
#include <boost/asio.hp... | 27.54321 | 115 | 0.718512 | [
"vector"
] |
d8b94639a4f06872b9de1b2031ec26504d2cfb8b | 7,200 | h | C | Src/Basler/Samples/DotNet/ToFCameraWrapper/ToFCameraWrapper.h | jjuiddong/KinectDepthCamera | 11989a4a47728619b10e7c1012a12b94157670c4 | [
"MIT"
] | 1 | 2019-03-17T14:03:14.000Z | 2019-03-17T14:03:14.000Z | Src/Basler/Samples/DotNet/ToFCameraWrapper/ToFCameraWrapper.h | jjuiddong/KinectDepthCamera | 11989a4a47728619b10e7c1012a12b94157670c4 | [
"MIT"
] | null | null | null | Src/Basler/Samples/DotNet/ToFCameraWrapper/ToFCameraWrapper.h | jjuiddong/KinectDepthCamera | 11989a4a47728619b10e7c1012a12b94157670c4 | [
"MIT"
] | null | null | null | #pragma once
#include <msclr\marshal.h>
#include "Native.h"
namespace ToFCameraWrapper {
public enum class PixelFormats
{
Mono8=PFNC_Mono8,
Mono16=PFNC_Mono16,
RGB8=PFNC_RGB8,
Coord3D_ABC32f=PFNC_Coord3D_ABC32f,
Coord3D_C16=PFNC_Coord3D_C16,
Confidence16=PFNC_... | 31.858407 | 139 | 0.602083 | [
"object"
] |
d8bbb8d11df656c182bd68f3291d114b9ea2b80f | 12,285 | c | C | apps/sensorsunleashed/cmp_helpers.c | SensorsUnleashed/Link | c0d98520ceeca3b1453b4e7493c7922b2827df83 | [
"BSD-3-Clause"
] | null | null | null | apps/sensorsunleashed/cmp_helpers.c | SensorsUnleashed/Link | c0d98520ceeca3b1453b4e7493c7922b2827df83 | [
"BSD-3-Clause"
] | null | null | null | apps/sensorsunleashed/cmp_helpers.c | SensorsUnleashed/Link | c0d98520ceeca3b1453b4e7493c7922b2827df83 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2018, Ole Nissen.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistri... | 26.823144 | 105 | 0.670085 | [
"object"
] |
d8d131e14e31ecb129cfddafc62ee5a1e580f92c | 643 | c | C | tcpServer/master_mesh_http.c | istiaqMahbub/espIrKit | 999491ea734a7433bf7cdf49375200f11c297f30 | [
"Unlicense"
] | null | null | null | tcpServer/master_mesh_http.c | istiaqMahbub/espIrKit | 999491ea734a7433bf7cdf49375200f11c297f30 | [
"Unlicense"
] | null | null | null | tcpServer/master_mesh_http.c | istiaqMahbub/espIrKit | 999491ea734a7433bf7cdf49375200f11c297f30 | [
"Unlicense"
] | null | null | null | /******************************************************************************
* Copyright 2015-2016 Espressif Systems
*
* FileName: mesh_http.c
*
* Description: mesh demo for HTTP protocol parser
*
* Modification history:
* 2016/03/15, v1.1 create this file.
***********************************************... | 29.227273 | 80 | 0.527216 | [
"mesh"
] |
d8df66de68c7ef2fb98a123edbdc67685a288ea2 | 786 | h | C | topic_models/dbtm.h | delimited0/NyphilExperiments | f1077656a8b3da95b85ef1c52c330a7c14f5ac43 | [
"CC0-1.0"
] | null | null | null | topic_models/dbtm.h | delimited0/NyphilExperiments | f1077656a8b3da95b85ef1c52c330a7c14f5ac43 | [
"CC0-1.0"
] | null | null | null | topic_models/dbtm.h | delimited0/NyphilExperiments | f1077656a8b3da95b85ef1c52c330a7c14f5ac43 | [
"CC0-1.0"
] | null | null | null | #ifndef DBTM_H
#define DBTM_H
#include "biterm.h"
class Dbtm : public Btm {
private:
int K;
int V;
int B;
double eta;
arma::cube word_topic_count;
arma::mat topic_count_wd;
arma::mat topic_count_bt;
arma::mat alpha;
public:
Dbtm(int V, int K, double eta, std::vector<Biterm> bs, NumericVector t) {... | 21.243243 | 75 | 0.589059 | [
"vector"
] |
d8ea6655c1c204ab9b6db0f8c1e2402a72d07ddf | 4,807 | h | C | src/OpenRTMPlugin/RTSystem.h | future731/choreonoid | e65164dae8725c1ea7ba2aec51d7c7c9738a2fca | [
"MIT"
] | 1 | 2019-08-23T05:48:47.000Z | 2019-08-23T05:48:47.000Z | src/OpenRTMPlugin/RTSystem.h | future731/choreonoid | e65164dae8725c1ea7ba2aec51d7c7c9738a2fca | [
"MIT"
] | 2 | 2018-09-05T05:01:23.000Z | 2019-08-19T21:03:15.000Z | src/OpenRTMPlugin/RTSystem.h | future731/choreonoid | e65164dae8725c1ea7ba2aec51d7c7c9738a2fca | [
"MIT"
] | 3 | 2019-12-21T17:54:10.000Z | 2019-12-27T13:03:29.000Z | #ifndef CNOID_OPENRTM_PLUGIN_RT_SYSTEM_H
#define CNOID_OPENRTM_PLUGIN_RT_SYSTEM_H
#include "RTSCommonUtil.h"
#include "RTCWrapper.h"
#include <cnoid/Referenced>
#include <QPoint>
namespace cnoid {
class Item;
class RTSystem
{
public:
virtual RTSComp* addRTSComp(const NamingContextHelper::ObjectInfo& info, const... | 27.786127 | 175 | 0.695652 | [
"vector"
] |
d8f72c9a1526d15d4454d46eaeb9474254a50583 | 319 | h | C | src/Subject.h | MCRewind/Spim-Engine | 6ea611bf84f38d95bb5be47c37a030f4c801bd13 | [
"MIT"
] | null | null | null | src/Subject.h | MCRewind/Spim-Engine | 6ea611bf84f38d95bb5be47c37a030f4c801bd13 | [
"MIT"
] | null | null | null | src/Subject.h | MCRewind/Spim-Engine | 6ea611bf84f38d95bb5be47c37a030f4c801bd13 | [
"MIT"
] | null | null | null | #ifndef __SUBJECT_H_
#define __SUBJECT_H_
#include <vector>
#include "Observer.h"
class Subject
{
public:
Subject();
void addObserver(Observer* observer);
void removeObserver(Observer* observer);
void notify(GameActor &object, int event);
private:
std::vector<Observer*> observers;
int numObservers;
};
#endif | 15.95 | 43 | 0.755486 | [
"object",
"vector"
] |
d8fcb2e35cc5eac87ac2f27fa024d7512d76bcc1 | 643 | h | C | src/RenderSystem/HeightMapFactory.h | matherno/MathernoGL | 9e1dba3fae38feda9e8ca259246dff500491d7af | [
"BSD-3-Clause"
] | 1 | 2019-10-11T12:21:51.000Z | 2019-10-11T12:21:51.000Z | src/RenderSystem/HeightMapFactory.h | matherno/MathernoGL | 9e1dba3fae38feda9e8ca259246dff500491d7af | [
"BSD-3-Clause"
] | null | null | null | src/RenderSystem/HeightMapFactory.h | matherno/MathernoGL | 9e1dba3fae38feda9e8ca259246dff500491d7af | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <vector>
#include <Types.h>
struct HeightMap
{
std::vector<float> heights;
uint width;
float getHeight(uint col, uint row) const { return heights.at(col + row * width); }
};
class HeightMapFactory
{
public:
static void createFlatMap(HeightMap* heightMap, uint width, float height ... | 29.227273 | 122 | 0.751166 | [
"vector"
] |
d8ff714b9c691e53ad51aced6e7dd8bd11711389 | 1,449 | h | C | CK3toEU4/Source/EU4World/Ideas/NationalIdeas.h | gawquon/CK3toEU4 | 5a84c720e4241adcfd4980691fd4c0a868473a93 | [
"MIT"
] | 1 | 2022-02-18T15:42:43.000Z | 2022-02-18T15:42:43.000Z | CK3toEU4/Source/EU4World/Ideas/NationalIdeas.h | klorpa/CK3toEU4 | 7e46f29714c03fc5033aa9e23c29222b034ac08a | [
"MIT"
] | 15 | 2022-03-10T15:47:50.000Z | 2022-03-25T22:15:25.000Z | CK3toEU4/Source/EU4World/Ideas/NationalIdeas.h | klorpa/CK3toEU4 | 7e46f29714c03fc5033aa9e23c29222b034ac08a | [
"MIT"
] | null | null | null | #ifndef EU4_NATIONAL_IDEAS_H
#define EU4_NATIONAL_IDEAS_H
#include "../../CK3World/Cultures/Culture.h"
#include "../../Mappers/DynamicIdeasMapper/DynamicIdeasMapper.h"
#include <string>
#include <vector>
namespace EU4
{
class NationalIdeas
{
public:
NationalIdeas() = default;
NationalIdeas(std::shared_ptr<CK3::Cul... | 40.25 | 113 | 0.750173 | [
"vector"
] |
2b003883aef3364eaf2862df28e32a5c21b35ea2 | 426 | h | C | source/geometry-ball/Ritter.h | brettonw/Two | 5cd121c94388f4465157c770bde7ec369f1f5f97 | [
"MIT"
] | null | null | null | source/geometry-ball/Ritter.h | brettonw/Two | 5cd121c94388f4465157c770bde7ec369f1f5f97 | [
"MIT"
] | null | null | null | source/geometry-ball/Ritter.h | brettonw/Two | 5cd121c94388f4465157c770bde7ec369f1f5f97 | [
"MIT"
] | null | null | null | #pragma once
#include "BoundingBall.h"
template<typename Scalar, uint dimension>
class Ritter {
public:
typedef Tuple<Scalar, dimension> Point;
typedef Tuple<Scalar, dimension> Vector;
typedef BoundingBall<Scalar, dimension> Ball;
private:
public:
static Ball fromPoints ... | 20.285714 | 71 | 0.622066 | [
"vector"
] |
2b029dc1408c19adda17eaba849277b98c86c31f | 3,387 | h | C | lolCompiler/ASTNode.h | NeutralNoise/lol_script | 632b6a56c9caa3d44e93e2006cedec5d6730e3e2 | [
"MIT"
] | null | null | null | lolCompiler/ASTNode.h | NeutralNoise/lol_script | 632b6a56c9caa3d44e93e2006cedec5d6730e3e2 | [
"MIT"
] | null | null | null | lolCompiler/ASTNode.h | NeutralNoise/lol_script | 632b6a56c9caa3d44e93e2006cedec5d6730e3e2 | [
"MIT"
] | null | null | null | #ifndef AST_NODE_H
#define AST_NODE_H
#include <vector>
#include "Token.h"
#define PRINT_NODES
#ifdef PRINT_NODES
#include <iostream>
#endif //PRINT_NODES
enum ASTNodeType {
AST_Program,
AST_Variable_Declaration,
AST_Variable_Declarator,
AST_Function_Declaration,
AST_Block_Statement,
AST_Return_Statement,
A... | 18.816667 | 88 | 0.645114 | [
"object",
"vector"
] |
4f2259b5df791f9875d0664d47c2eea251e8e474 | 24,580 | c | C | GraphBLAS/Source/GB_AxB_saxpy3.c | Philand/SuiteSparse | 9d753dceed56710d0a6a402bf2e636002fb7e55c | [
"Apache-2.0"
] | 3 | 2019-09-25T15:43:03.000Z | 2021-12-30T05:00:27.000Z | GraphBLAS/Source/GB_AxB_saxpy3.c | Philand/SuiteSparse | 9d753dceed56710d0a6a402bf2e636002fb7e55c | [
"Apache-2.0"
] | 5 | 2019-09-26T09:04:29.000Z | 2021-03-23T22:47:34.000Z | GraphBLAS/Source/GB_AxB_saxpy3.c | Philand/SuiteSparse | 9d753dceed56710d0a6a402bf2e636002fb7e55c | [
"Apache-2.0"
] | 2 | 2020-02-19T20:23:01.000Z | 2020-03-31T21:38:05.000Z | //------------------------------------------------------------------------------
// GB_AxB_saxpy3: compute C=A*B, C<M>=A*B, or C<!M>=A*B in parallel
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
// SPDX-L... | 38.286604 | 80 | 0.49882 | [
"vector"
] |
4f2a730cdb7ff8d5f9ca808b754ba2541aa03106 | 1,563 | h | C | libcross2d/include/cross2d/platforms/3ds/ctr_renderer.h | minkcv/pinballnx | 2a911c144c97278abcff00c237766380908031de | [
"MIT"
] | 6 | 2019-07-01T03:21:02.000Z | 2021-09-13T17:15:01.000Z | libcross2d/include/cross2d/platforms/3ds/ctr_renderer.h | minkcv/pinballnx | 2a911c144c97278abcff00c237766380908031de | [
"MIT"
] | 3 | 2019-07-01T03:53:56.000Z | 2020-06-17T09:14:27.000Z | libcross2d/include/cross2d/platforms/3ds/ctr_renderer.h | minkcv/pinballnx | 2a911c144c97278abcff00c237766380908031de | [
"MIT"
] | 1 | 2019-07-23T12:28:30.000Z | 2019-07-23T12:28:30.000Z | //
// Created by cpasjuste on 21/11/16.
//
#ifndef C2D_CTR_RENDERER_H_
#define C2D_CTR_RENDERER_H_
#include "cross2d/skeleton/renderer.h"
#include "citro3d.h"
namespace c2d {
class CTRRenderer : public Renderer {
public:
explicit CTRRenderer(const Vector2f &size = Vector2f(0, 0));
~CTRRen... | 21.121622 | 99 | 0.580294 | [
"transform"
] |
4f30f66177fd329cc06a45e58eb463d712a2c7f7 | 631 | h | C | src/sysex/getaudioportparm.h | dehnhardt/mioconfig | 6d1ac1d85379eaf168d2c2fce81b09f020500605 | [
"MIT"
] | 16 | 2018-07-16T14:13:10.000Z | 2021-02-07T06:43:57.000Z | src/sysex/getaudioportparm.h | dehnhardt/iconnconfig | 6d1ac1d85379eaf168d2c2fce81b09f020500605 | [
"MIT"
] | 16 | 2017-09-06T19:38:15.000Z | 2021-01-04T17:54:02.000Z | src/sysex/getaudioportparm.h | dehnhardt/mioconfig | 6d1ac1d85379eaf168d2c2fce81b09f020500605 | [
"MIT"
] | 10 | 2018-03-03T14:50:03.000Z | 2020-09-30T18:08:55.000Z | #ifndef GETAUDIOPORTPARM_H
#define GETAUDIOPORTPARM_H
#include "../device.h"
#include "portsysexmessage.h"
class GetAudioPortParm : public PortSysExMessage {
public:
GetAudioPortParm(Device *device);
~GetAudioPortParm() override;
void createAnswer(Command m_Command, std::vector<unsigned char> *message,
De... | 28.681818 | 74 | 0.759113 | [
"vector"
] |
4f31bd24bcc30c61a297dacc1e1e9965c56733f1 | 2,633 | h | C | qt-creator-opensource-src-4.6.1/src/plugins/resourceeditor/qrceditor/qrceditor.h | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/src/plugins/resourceeditor/qrceditor/qrceditor.h | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/src/plugins/resourceeditor/qrceditor/qrceditor.h | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 28.934066 | 77 | 0.692366 | [
"model"
] |
4f494ff5689a92a84ba836766ac2f59b1084aad9 | 3,685 | h | C | Euclid/Config.h | kallikak/Euclidean | dc28b18cdfbda2005846eacb621afcb4df7c766f | [
"MIT"
] | 5 | 2020-10-08T15:22:13.000Z | 2021-09-28T05:40:19.000Z | Euclid/Config.h | kallikak/Euclidean | dc28b18cdfbda2005846eacb621afcb4df7c766f | [
"MIT"
] | null | null | null | Euclid/Config.h | kallikak/Euclidean | dc28b18cdfbda2005846eacb621afcb4df7c766f | [
"MIT"
] | 1 | 2021-02-05T14:59:49.000Z | 2021-02-05T14:59:49.000Z | #pragma once
#define PROTOTYPE 0
#define DEBUG_SERIAL 0
#define DBG(v) {Serial.print(#v " = ");Serial.println(v);}
#define DBG2(s,v) {Serial.print(#s " = ");Serial.println(v);}
#define DBG3(s,v) {Serial.print(#s ", " #v " = ");Serial.println(v);}
#define DBGLINE {Serial.println("----------------");}
#include <Audio... | 18.80102 | 75 | 0.70692 | [
"shape"
] |
62fd1d6fa8e8220ed84c3be92f2d9cf84843bf6f | 7,844 | h | C | src/mongo/db/auth/auth_name.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/auth/auth_name.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/auth/auth_name.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... | 29.488722 | 95 | 0.610275 | [
"object"
] |
62ff8d2863a1dc95a81c15585c746f6dae4744ec | 3,059 | h | C | include/sse/sse-block-parser-unsigned.h | WojciechMula/parsing-int-series | f0a45c8b1251018e52dac9ebf1d98e8dfb705755 | [
"BSD-2-Clause"
] | 19 | 2018-04-20T06:51:42.000Z | 2022-02-24T02:12:00.000Z | include/sse/sse-block-parser-unsigned.h | WojciechMula/parsing-int-series | f0a45c8b1251018e52dac9ebf1d98e8dfb705755 | [
"BSD-2-Clause"
] | 2 | 2018-04-20T09:53:37.000Z | 2018-04-27T19:01:16.000Z | include/sse/sse-block-parser-unsigned.h | WojciechMula/parsing-int-series | f0a45c8b1251018e52dac9ebf1d98e8dfb705755 | [
"BSD-2-Clause"
] | 3 | 2019-02-25T19:26:51.000Z | 2020-11-04T00:50:42.000Z | #pragma once
#include <vector>
#include <cassert>
#include "scalar/scalar-parse-unsigned.h"
#include "sse-utils.h"
#include "sse-convert.h"
#include "sse-parser-common.h"
#include "sse-parser-statistics.h"
#include "block_info.h"
namespace sse {
template <typename MATCHER, typename INSERTER>
void parser_blo... | 39.727273 | 123 | 0.576332 | [
"vector"
] |
1a0363147721bcb4d2f54571b5ace415dc289965 | 9,214 | c | C | cubebox/2d.c | star-tek-mb/CubeBox | 0f78310bf92734e0ce22c0dcc1b4287a0ff7afba | [
"MIT"
] | null | null | null | cubebox/2d.c | star-tek-mb/CubeBox | 0f78310bf92734e0ce22c0dcc1b4287a0ff7afba | [
"MIT"
] | null | null | null | cubebox/2d.c | star-tek-mb/CubeBox | 0f78310bf92734e0ce22c0dcc1b4287a0ff7afba | [
"MIT"
] | 1 | 2020-11-14T04:52:40.000Z | 2020-11-14T04:52:40.000Z | #include "2d.h"
#include "engine.h"
#include "utils.h"
#include "stb_image.h"
#include "linmath.h"
#include "stretchy_buffer.h"
#include <stdbool.h>
cbTexture cbLoadTexture(const char *path) {
cbTexture texture;
unsigned char *data = stbi_load(path, &texture.width, &texture.height, &texture.channels, 0);
... | 32.10453 | 117 | 0.609724 | [
"render",
"transform"
] |
1a117e3e1b8638fead9bfaa0816c775fce6725ac | 3,508 | h | C | IntermediateCode.h | migu4917/Simple-C0-Compiler | 3d454402f6f1152de60be972f844f69ef95bdc8e | [
"MIT"
] | 2 | 2020-09-15T11:18:58.000Z | 2020-09-21T01:57:12.000Z | IntermediateCode.h | migu4917/Simple-C0-Compiler | 3d454402f6f1152de60be972f844f69ef95bdc8e | [
"MIT"
] | null | null | null | IntermediateCode.h | migu4917/Simple-C0-Compiler | 3d454402f6f1152de60be972f844f69ef95bdc8e | [
"MIT"
] | 2 | 2020-09-21T01:57:17.000Z | 2020-09-27T16:38:01.000Z | #pragma once
#ifndef IntermediateCode_H
#define IntermediateCode_H
#include <cstdio>
#include <vector>
#include <string>
#include <map>
#include "SymbolTable.h"
#define INLINE_PARA_CNT_LIMIT (4)
using std::string;
using std::vector;
using std::map;
const string func_RetVar = "#Ret_Var_v0";
enum... | 24.531469 | 97 | 0.598632 | [
"vector"
] |
1a4613a70b6adeaf0cd22e63359ffd3f4128c630 | 3,441 | h | C | src/dataLoggers/DataPocoLogger.h | Opticalp/instrumentall | f952c1cd54f375dc4cb258fec5af34d14c2b8044 | [
"MIT"
] | 1 | 2020-05-19T02:06:55.000Z | 2020-05-19T02:06:55.000Z | src/dataLoggers/DataPocoLogger.h | Opticalp/instrumentall | f952c1cd54f375dc4cb258fec5af34d14c2b8044 | [
"MIT"
] | 16 | 2015-11-18T13:25:30.000Z | 2018-05-17T19:25:46.000Z | src/dataLoggers/DataPocoLogger.h | Opticalp/instrumentall | f952c1cd54f375dc4cb258fec5af34d14c2b8044 | [
"MIT"
] | null | null | null | /**
* @file src/dataLoggers/DataPocoLogger.h
* @date Mar 2016
* @author PhRG - opticalp.fr
*/
/*
Copyright (c) 2016 Ph. Renaud-Goud / Opticalp
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 Softw... | 24.755396 | 78 | 0.675676 | [
"vector"
] |
1a48e5d6af6319925f6f699db84c9f9a747a1493 | 14,978 | h | C | cpp/memilio/utils/parameter_distributions.h | lelange/memilio | e90aa96a3494899c54cd6326a31687d37f5505c8 | [
"Apache-2.0"
] | 9 | 2021-08-24T11:01:41.000Z | 2022-03-16T12:45:39.000Z | cpp/memilio/utils/parameter_distributions.h | lelange/memilio | e90aa96a3494899c54cd6326a31687d37f5505c8 | [
"Apache-2.0"
] | 197 | 2021-08-16T15:38:44.000Z | 2022-03-31T14:37:24.000Z | cpp/memilio/utils/parameter_distributions.h | lelange/memilio | e90aa96a3494899c54cd6326a31687d37f5505c8 | [
"Apache-2.0"
] | 3 | 2021-09-28T08:29:02.000Z | 2022-03-16T12:45:42.000Z | /*
* Copyright (C) 2020-2021 German Aerospace Center (DLR-SC)
*
* Authors: Martin J. Kuehn, Daniel Abele
*
* Contact: Martin J. Kuehn <Martin.Kuehn@DLR.de>
*
* 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 t... | 31.665962 | 121 | 0.645881 | [
"vector"
] |
1a67d6d9680a92458728b5a38fcd521921ff5657 | 2,504 | h | C | include/rtssp/scene.h | jkstpierre/RealTimeSolarSystemProject | d782e156d1c26585c490e832f10d4b042c335c9a | [
"MIT"
] | null | null | null | include/rtssp/scene.h | jkstpierre/RealTimeSolarSystemProject | d782e156d1c26585c490e832f10d4b042c335c9a | [
"MIT"
] | null | null | null | include/rtssp/scene.h | jkstpierre/RealTimeSolarSystemProject | d782e156d1c26585c490e832f10d4b042c335c9a | [
"MIT"
] | null | null | null | /**
* @file scene.h
* @author Joseph St. Pierre
* @brief
* @version 0.1
* @date 2019-11-21
*
* @copyright Copyright (c) 2019
*
*/
#ifndef _RTSSP_SCENE_H_
#define _RTSSP_SCENE_H_
// INCLUDES //
#include "rtssp/graphics.h"
#include "rtssp/math.h"
// DEFINITIONS //
#define DEFAULT_CAMERA_FOV 45.0f
... | 21.220339 | 118 | 0.697684 | [
"mesh",
"object"
] |
1a728d03e7ef522c090df2a29db66d4ec60dff71 | 50,924 | c | C | MHD/FEniCS/ShiftCurlCurl/CppGradient/TRILINOS/ml_simple_max.c | wathen/PhD | 35524f40028541a4d611d8c78574e4cf9ddc3278 | [
"MIT"
] | 3 | 2020-10-25T13:30:20.000Z | 2021-08-10T21:27:30.000Z | MHD/FEniCS/ShiftCurlCurl/CppGradient/TRILINOS/ml_simple_max.c | wathen/PhD | 35524f40028541a4d611d8c78574e4cf9ddc3278 | [
"MIT"
] | null | null | null | MHD/FEniCS/ShiftCurlCurl/CppGradient/TRILINOS/ml_simple_max.c | wathen/PhD | 35524f40028541a4d611d8c78574e4cf9ddc3278 | [
"MIT"
] | 3 | 2019-10-28T16:12:13.000Z | 2020-01-13T13:59:44.000Z | /* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
/******************... | 38.462236 | 97 | 0.554375 | [
"vector",
"transform"
] |
1a7a115c2bed9d1ce36d5934ce3e6c407c1d48f8 | 4,122 | h | C | DataFormats/TrackReco/interface/DeDxHitInfo.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DataFormats/TrackReco/interface/DeDxHitInfo.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DataFormats/TrackReco/interface/DeDxHitInfo.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef DeDxHitInfo_H
#define DeDxHitInfo_H
#include <vector>
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/SiStripDetId/interface/SiStripDetId.h"
#include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
#include "DataFormats/SiPixelCluster/interface/SiPixelCluster.h"
#include "DataForma... | 34.35 | 113 | 0.639981 | [
"vector"
] |
1a82873a86389ef963ca169af2742c671811f156 | 7,344 | h | C | src/uvmsc/conf/uvm_object_string_pool.h | stoitchog/uvm-systemc-1.0-beta2 | 67a445dc5f587d2fd16c5b5ee913d086b2242583 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2021-11-04T14:37:00.000Z | 2022-03-14T12:57:50.000Z | src/uvmsc/conf/uvm_object_string_pool.h | stoitchog/uvm-systemc-1.0-beta2 | 67a445dc5f587d2fd16c5b5ee913d086b2242583 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/uvmsc/conf/uvm_object_string_pool.h | stoitchog/uvm-systemc-1.0-beta2 | 67a445dc5f587d2fd16c5b5ee913d086b2242583 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-02-22T05:46:04.000Z | 2021-02-22T05:46:04.000Z | //-----------------------------------------------------------------------------
// Copyright 2007-2011 Mentor Graphics Corporation
// Copyright 2007-2010 Cadence Design Systems, Inc.
// Copyright 2010 Synopsys, Inc.
// Copyright 2014-2015 NXP B.V.
// All Rights Reserved Worldwide
//
// Licensed under the A... | 30.728033 | 81 | 0.535812 | [
"object"
] |
1a83bc3861ec6e3eef49564d31ef1c800401286b | 41,356 | h | C | include/engine/M22Engine.h | Slynchy/Snow-Sakura-CPP | 547af21a199d0ff1bf03fcb0dce60808d2cbc817 | [
"MIT"
] | 3 | 2016-04-20T15:01:37.000Z | 2021-06-30T11:57:26.000Z | include/engine/M22Engine.h | Slynchy/Snow-Sakura-CPP | 547af21a199d0ff1bf03fcb0dce60808d2cbc817 | [
"MIT"
] | null | null | null | include/engine/M22Engine.h | Slynchy/Snow-Sakura-CPP | 547af21a199d0ff1bf03fcb0dce60808d2cbc817 | [
"MIT"
] | 1 | 2022-01-15T01:38:10.000Z | 2022-01-15T01:38:10.000Z | /// \file M22Engine.h
/// \author Sam Lynch
/// \brief Header file for entire M22 engine
/// \version 0.8.0
/// \date July 2016
/// \details The header file for declaring the engine and its functions/variables.
#ifndef M22ENGINE_H
#define M22ENGINE_H
#define MAJOR 0
#define MINOR 8
#define PATCH 0
#define SP... | 35.930495 | 282 | 0.665587 | [
"render",
"object",
"vector",
"solid"
] |
1a86e163aef35fa54b5e7df97318092526ddfad5 | 3,957 | h | C | chrome/plugin/src/PluginAuto/Win/PluginWindowlessWin.h | Faham/bric-n-brac | c886e0855869a794700eb385171bbf5bfd595aed | [
"Apache-2.0"
] | 4 | 2017-05-08T08:23:19.000Z | 2019-03-29T04:41:47.000Z | chrome/plugin/src/PluginAuto/Win/PluginWindowlessWin.h | Faham/bric-n-brac | c886e0855869a794700eb385171bbf5bfd595aed | [
"Apache-2.0"
] | null | null | null | chrome/plugin/src/PluginAuto/Win/PluginWindowlessWin.h | Faham/bric-n-brac | c886e0855869a794700eb385171bbf5bfd595aed | [
"Apache-2.0"
] | null | null | null | #ifndef H_PLUGINWINDOWLESSWIN
#define H_PLUGINWINDOWLESSWIN
/**********************************************************\
Original Author: Anson MacKeracher (amackera)
Created: Aug 5, 2010
License: Dual license model; choose one of two:
New BSD License
http://www.opensource.org/licenses... | 40.793814 | 112 | 0.553955 | [
"model"
] |
4dda9630a7d0c3ea7433b34aea7b3eb7798e1207 | 360 | h | C | lectures/containers/code/examples.h | ahurta92/ams562-notes | e66baa1e50654e125902651f388d45cb32c81f00 | [
"MIT"
] | 1 | 2021-09-01T19:09:54.000Z | 2021-09-01T19:09:54.000Z | lectures/containers/code/examples.h | ahurta92/ams562-notes | e66baa1e50654e125902651f388d45cb32c81f00 | [
"MIT"
] | null | null | null | lectures/containers/code/examples.h | ahurta92/ams562-notes | e66baa1e50654e125902651f388d45cb32c81f00 | [
"MIT"
] | 1 | 2021-11-30T19:26:02.000Z | 2021-11-30T19:26:02.000Z | //
// Created by adrian on 11/4/21.
//
#ifndef LECTURE_EXAMPLES_H
#define LECTURE_EXAMPLES_H
#include "Complex.h"
#include <fstream>
#include <iostream>
#include <vector>
using namespace std;
// overload << for complex number printing
ostream& operator<<(ostream&os,const complex& c);
struct Entry{
string name;
int... | 17.142857 | 49 | 0.738889 | [
"vector"
] |
4ddfd2846fb044fa962d8a69997072d4b36875e4 | 1,339 | h | C | controllers/swarm.h | muma378/sar_colias | 9be03dd5ade38ea68298671d3615e04ea227a0d2 | [
"MIT"
] | 3 | 2017-08-16T10:01:45.000Z | 2017-12-05T15:09:11.000Z | controllers/swarm.h | muma378/sar_colias | 9be03dd5ade38ea68298671d3615e04ea227a0d2 | [
"MIT"
] | null | null | null | controllers/swarm.h | muma378/sar_colias | 9be03dd5ade38ea68298671d3615e04ea227a0d2 | [
"MIT"
] | null | null | null | /*
* swarm.h - the class to control whole procedure
* Auhtor: Yang Xiao
* Date: 18 September 2015
*/
#ifndef __SAR_COLIAS_SWARM__
#define __SAR_COLIAS_SWARM__
#include "config.h"
#include "robot.h"
class Swarm
{
public:
Swarm(PlayerClient* client);
~Swarm();
void Test();
void DetectSignals();
// puts robots c... | 25.75 | 81 | 0.757282 | [
"vector"
] |
4de9c653576743088566515487ffa29d658de4cb | 1,908 | h | C | modules/Render/RenderOpenGL/src/Platform/GLPlatform.h | akb825/DeepSea | fff790d0a472cf2f9f89de653e0b4470ce605d24 | [
"Apache-2.0"
] | 5 | 2018-11-17T23:13:22.000Z | 2021-09-30T13:37:04.000Z | modules/Render/RenderOpenGL/src/Platform/GLPlatform.h | akb825/DeepSea | fff790d0a472cf2f9f89de653e0b4470ce605d24 | [
"Apache-2.0"
] | null | null | null | modules/Render/RenderOpenGL/src/Platform/GLPlatform.h | akb825/DeepSea | fff790d0a472cf2f9f89de653e0b4470ce605d24 | [
"Apache-2.0"
] | 2 | 2019-09-23T12:23:35.000Z | 2020-04-07T05:31:06.000Z | /*
* Copyright 2017-2019 Aaron Barany
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 43.363636 | 100 | 0.779874 | [
"render"
] |
4dec9e72f632e92aa66277f2c30ddd710f61601c | 3,531 | h | C | src/pack/include/Annotation.h | YassineFendi/PointCloudAnnotationWithRviz | 6f12429a30aa881b4a373610cdd8711037adff8a | [
"MIT"
] | 4 | 2018-10-18T11:20:35.000Z | 2019-10-15T08:33:18.000Z | src/pack/include/Annotation.h | YassineFendi/PointCloudAnnotationWithRviz | 6f12429a30aa881b4a373610cdd8711037adff8a | [
"MIT"
] | null | null | null | src/pack/include/Annotation.h | YassineFendi/PointCloudAnnotationWithRviz | 6f12429a30aa881b4a373610cdd8711037adff8a | [
"MIT"
] | 2 | 2018-11-02T14:57:24.000Z | 2019-04-12T01:36:16.000Z | #include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <std_msgs/UInt32.h>
#include <std_msgs/String.h>
#include <std_msgs/UInt64MultiArray.h>
#include <std_msgs/Bool.h>
#include <std_msgs/Empty.h>
#include <std_msgs/Int32.h>
#include <std_msgs/Float32.h>
// STL
#include <cstring>
#include <stdint.h>
#incl... | 25.963235 | 99 | 0.815633 | [
"vector"
] |
4dfbccc0e19ca6d1737c23fbf1999c137ae7766c | 148 | h | C | MoravaEngine/src/LearnOpenGL/SphereJoey.h | imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine | b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b | [
"Apache-2.0"
] | 168 | 2020-07-18T04:20:27.000Z | 2022-03-31T23:39:38.000Z | MoravaEngine/src/LearnOpenGL/SphereJoey.h | imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine | b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b | [
"Apache-2.0"
] | 5 | 2020-11-23T12:33:06.000Z | 2022-01-05T15:15:30.000Z | MoravaEngine/src/LearnOpenGL/SphereJoey.h | dtrajko/MoravaEngine | dab8a9e84bde6bdb5e979596c29cabccb566b9d4 | [
"Apache-2.0"
] | 8 | 2020-09-07T03:04:18.000Z | 2022-03-25T13:47:16.000Z | #pragma once
#include "Mesh/Mesh.h"
class SphereJoey : public Mesh
{
public:
SphereJoey();
virtual void Render() override;
~SphereJoey();
};
| 10.571429 | 32 | 0.689189 | [
"mesh",
"render"
] |
4dfe4fbfe120de018aea08cb5602940f92009375 | 402 | h | C | SpeedTestUAPCpp/MainPage.xaml.h | GitTorre/InetSpeedWinRTUWP | addf96a352f4b68664a0a3c9fc6f8767ee5a7ce0 | [
"MIT"
] | 10 | 2015-08-21T11:40:10.000Z | 2021-04-02T04:24:15.000Z | SpeedTestUAPCpp/MainPage.xaml.h | GitTorre/InetSpeedWinRTUWP | addf96a352f4b68664a0a3c9fc6f8767ee5a7ce0 | [
"MIT"
] | null | null | null | SpeedTestUAPCpp/MainPage.xaml.h | GitTorre/InetSpeedWinRTUWP | addf96a352f4b68664a0a3c9fc6f8767ee5a7ce0 | [
"MIT"
] | 1 | 2017-05-17T12:55:45.000Z | 2017-05-17T12:55:45.000Z | //
// MainPage.xaml.h
// Declaration of the MainPage class.
//
#pragma once
#include "MainPage.g.h"
#include "ppl.h"
using namespace InetSpeedUAP;
using namespace Concurrency;
namespace SpeedTestUAPCpp
{
public ref class MainPage sealed
{
public:
MainPage();
private:
void SpeedButton_Click(Platform::Object^... | 16.75 | 90 | 0.736318 | [
"object"
] |
153d5f3c11db486d83904d175491f4526956162a | 662 | h | C | Source/Parser/ReflectionOptions.h | AustinBrunkhorst/CPP-Reflection | bce182718ec359b932b4e1b27d01ff408ca268e7 | [
"MIT"
] | 540 | 2015-09-18T09:44:57.000Z | 2022-03-25T07:23:09.000Z | Source/Parser/ReflectionOptions.h | yangzhengxing/CPP-Reflection | 43ec755b7a5c62e3252c174815c2e44727e11e72 | [
"MIT"
] | 16 | 2015-09-23T06:37:43.000Z | 2020-04-10T15:40:08.000Z | Source/Parser/ReflectionOptions.h | yangzhengxing/CPP-Reflection | 43ec755b7a5c62e3252c174815c2e44727e11e72 | [
"MIT"
] | 88 | 2015-09-21T15:12:32.000Z | 2021-11-30T14:07:34.000Z | /* ----------------------------------------------------------------------------
** Copyright (c) 2016 Austin Brunkhorst, All Rights Reserved.
**
** ReflectionOptions.h
** --------------------------------------------------------------------------*/
#pragma once
struct ReflectionOptions
{
bool forceRebuild;
boo... | 23.642857 | 79 | 0.548338 | [
"vector"
] |
d177add3eb360c5bd4cf2c9fe2371d13dc45b68e | 6,949 | c | C | fr2002.c | ttcdt/fr2002 | 1c981427dfe3cf4522187b5043bceda94df21348 | [
"Unlicense"
] | 1 | 2022-02-16T20:34:07.000Z | 2022-02-16T20:34:07.000Z | fr2002.c | ttcdt/fr2002 | 1c981427dfe3cf4522187b5043bceda94df21348 | [
"Unlicense"
] | null | null | null | fr2002.c | ttcdt/fr2002 | 1c981427dfe3cf4522187b5043bceda94df21348 | [
"Unlicense"
] | null | null | null | /*
Freaks 2002
Angel Ortega <angel@triptico.com>
This software is released into the public domain.
NO WARRANTY. See file LICENSE for details.
*/
#include "config.h"
#ifdef __WIN32__
#include <windows.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "filp.h"
#include ... | 20.930723 | 77 | 0.489279 | [
"render"
] |
d1912776d7f6afd53cfcb1372246818cadadd4b2 | 2,377 | h | C | Project/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Array_InternalEnumerator_1_gen3952039153MethodDeclarations.h | Yuunagi-Yu/NumberDisk | f1cf414dbfe8d0094d3ef11b37839f6caf58ae9f | [
"MIT"
] | null | null | null | Project/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Array_InternalEnumerator_1_gen3952039153MethodDeclarations.h | Yuunagi-Yu/NumberDisk | f1cf414dbfe8d0094d3ef11b37839f6caf58ae9f | [
"MIT"
] | null | null | null | Project/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Array_InternalEnumerator_1_gen3952039153MethodDeclarations.h | Yuunagi-Yu/NumberDisk | f1cf414dbfe8d0094d3ef11b37839f6caf58ae9f | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <assert.h>
#include <exception>
#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Array_InternalEnumerator_1_gen3548201557MethodDeclarations.h"
// System.Void S... | 76.677419 | 277 | 0.841817 | [
"object"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.