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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b0219fea4a2dbc6965d773176c68dfe25e5ebb5b | 878 | h | C | Mara2Dtest/src/Vector2.h | Toivotak/Mara2Dexe | faf2792f7b6e92f6a5dea836c5f4bfa076590c1b | [
"MIT"
] | null | null | null | Mara2Dtest/src/Vector2.h | Toivotak/Mara2Dexe | faf2792f7b6e92f6a5dea836c5f4bfa076590c1b | [
"MIT"
] | null | null | null | Mara2Dtest/src/Vector2.h | Toivotak/Mara2Dexe | faf2792f7b6e92f6a5dea836c5f4bfa076590c1b | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
/* 2d vector class with operators for easier manipulatios */
namespace Mara {
struct Vector2 {
int x;
int y;
float xpos;
float ypos;
Vector2();
Vector2(int x, int y);
Vector2(float x, float y);
Vector2& Add(const Vector2& vec);
Vector2& Subtract(const Vector2& ve... | 24.388889 | 76 | 0.693622 | [
"vector"
] |
b02574be9c9c11010885ec765e74154c923d1f89 | 4,826 | h | C | include/Environment.h | shieldai/AdaptiveShielding | d281b5541139a3e9e6de003392790bb2298075c6 | [
"MIT"
] | null | null | null | include/Environment.h | shieldai/AdaptiveShielding | d281b5541139a3e9e6de003392790bb2298075c6 | [
"MIT"
] | null | null | null | include/Environment.h | shieldai/AdaptiveShielding | d281b5541139a3e9e6de003392790bb2298075c6 | [
"MIT"
] | null | null | null | #ifndef INCLUDE_ENVIRONMENT_H_
#define INCLUDE_ENVIRONMENT_H_
#include <vector>
#include <string>
#include <cassert>
#include "Util.h"
/** @class Environment
* Keeps track of the simulations environment and adapts properties on observations.
*/
class Environment {
private:
std::vector<std::string> labels;
std:... | 29.607362 | 97 | 0.691256 | [
"object",
"vector"
] |
e5cb0e1eb05f31af0ca57d7d1e3a52adcc9eef63 | 3,329 | h | C | lib/time_evolution.h | gwpark-git/dynamics_of_networks_and_colloids | 0b0a3687533379ec75171ae6b906aeff5bedfbba | [
"MIT"
] | null | null | null | lib/time_evolution.h | gwpark-git/dynamics_of_networks_and_colloids | 0b0a3687533379ec75171ae6b906aeff5bedfbba | [
"MIT"
] | null | null | null | lib/time_evolution.h | gwpark-git/dynamics_of_networks_and_colloids | 0b0a3687533379ec75171ae6b906aeff5bedfbba | [
"MIT"
] | null | null | null |
#ifndef TIME_EVOLUTION_H
#define TIME_EVOLUTION_H
#include "geometry.h"
#include "potential.h"
#include "fstream"
#include "association.h"
#include <mkl.h>
namespace INTEGRATOR
{
namespace EULER
{
double
cal_repulsion_force_R_boost
(POTENTIAL_SET& POTs, MATRIX& given_vec, MKL_LONG index_particle,... | 33.626263 | 324 | 0.753379 | [
"geometry",
"model"
] |
e5d4d900d2664363a8530c16673f67c255895e79 | 12,026 | h | C | src/include/container/bplustree/tree.h | rickard1117/PidanDB | 6955f6913cb404a0f09a5e44c07f36b0729c0a78 | [
"MIT"
] | 7 | 2020-08-01T04:09:15.000Z | 2021-08-08T17:26:19.000Z | src/include/container/bplustree/tree.h | rickard1117/PidanDB | 6955f6913cb404a0f09a5e44c07f36b0729c0a78 | [
"MIT"
] | null | null | null | src/include/container/bplustree/tree.h | rickard1117/PidanDB | 6955f6913cb404a0f09a5e44c07f36b0729c0a78 | [
"MIT"
] | 2 | 2020-09-16T02:29:52.000Z | 2020-09-28T10:51:38.000Z | #pragma once
#include <atomic>
#include <fstream>
#include <functional>
#include <thread>
#include "common/macros.h"
#include "common/type.h"
#include "container/bplustree/node.h"
namespace pidan {
// 一个垃圾节点,等待被GC的回收
struct GarbageNode {
Node *node{nullptr};
GarbageNode *next{nullptr};
};
// 一个EpochNode存储了一个Ep... | 27.394077 | 118 | 0.594296 | [
"shape"
] |
e5dd6df55ffb717a0117951edc50c0aa7c12399a | 15,279 | h | C | lib/include/vkHelper.h | tomix1024/glTF-IBL-Sampler | 7326e694d5abc8b55e27a27375cfbd11bf91d6d3 | [
"Apache-2.0"
] | 57 | 2019-10-02T16:13:00.000Z | 2022-02-26T17:46:37.000Z | lib/include/vkHelper.h | tomix1024/glTF-IBL-Sampler | 7326e694d5abc8b55e27a27375cfbd11bf91d6d3 | [
"Apache-2.0"
] | 16 | 2019-09-27T10:43:20.000Z | 2021-10-17T21:04:51.000Z | lib/include/vkHelper.h | tomix1024/glTF-IBL-Sampler | 7326e694d5abc8b55e27a27375cfbd11bf91d6d3 | [
"Apache-2.0"
] | 7 | 2020-02-23T21:03:53.000Z | 2022-01-01T07:41:04.000Z | #pragma once
#include <vulkan/vulkan.h>
#include <vector>
namespace IBLLib
{
class vkHelper
{
friend class DescriptorSetInfo;
public:
vkHelper();
~vkHelper();
VkResult initialize(uint32_t _phyDeviceIndex = 0u, uint32_t _descriptorPoolSizeFactor = 1u, bool _debugOutput = true);
void shutdown();
VkRe... | 46.582317 | 393 | 0.813993 | [
"vector"
] |
e5ddb8a64d7b42b0df5466ac7c64c3bd580515ba | 3,261 | h | C | AI/Common/Game/Region.h | martinkro/gamedevelop-ai | 78815089b96dff11e50a0ffb1880320acd22b109 | [
"MIT"
] | null | null | null | AI/Common/Game/Region.h | martinkro/gamedevelop-ai | 78815089b96dff11e50a0ffb1880320acd22b109 | [
"MIT"
] | null | null | null | AI/Common/Game/Region.h | martinkro/gamedevelop-ai | 78815089b96dff11e50a0ffb1880320acd22b109 | [
"MIT"
] | null | null | null | #ifndef REGION_H
#define REGION_H
//------------------------------------------------------------------------
//
// Name: Region.h
//
// Desc: Defines a rectangular region. A region has an identifying
// number, and four corners.
//
// Author: Mat Buckland (fup@ai-junkie.com)
//
//------------... | 24.518797 | 75 | 0.558418 | [
"render",
"vector"
] |
e5f3fa0791fdc911c1f1b227220457346f667af5 | 7,063 | h | C | src/parser/VVC/pic_parameter_set_rbsp.h | bitmovin/vvDecPlayer | 08bfe881b61be9e300737a253936f25099281bea | [
"MIT"
] | 5 | 2021-11-11T03:17:49.000Z | 2022-03-29T16:00:21.000Z | src/parser/VVC/pic_parameter_set_rbsp.h | bitmovin/vvDecPlayer | 08bfe881b61be9e300737a253936f25099281bea | [
"MIT"
] | 2 | 2022-01-26T22:37:54.000Z | 2022-03-17T12:27:18.000Z | src/parser/VVC/pic_parameter_set_rbsp.h | bitmovin/vvDecPlayer | 08bfe881b61be9e300737a253936f25099281bea | [
"MIT"
] | 5 | 2022-02-26T08:54:19.000Z | 2022-03-05T02:39:02.000Z | /* MIT License
Copyright (c) 2021 Christian Feldmann <christian.feldmann@gmx.de>
<christian.feldmann@bitmovin.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Sof... | 43.067073 | 78 | 0.699844 | [
"vector"
] |
f902d6b812d9242786adc1385ab818922f6c39b7 | 13,439 | h | C | DX11_ECSEngine/Components.h | SButtan93-dev/DX11Starter_ECSEngine | 4031431f5c617155e82c8c901fc22a3046488dac | [
"MIT"
] | 2 | 2021-02-28T15:36:22.000Z | 2021-05-21T13:48:35.000Z | DX11_ECSEngine/Components.h | SButtan93-dev/DX11Starter_ECSEngine | 4031431f5c617155e82c8c901fc22a3046488dac | [
"MIT"
] | 1 | 2021-03-15T04:08:32.000Z | 2021-03-15T04:08:32.000Z | DX11_ECSEngine/Components.h | SButtan93-dev/DX11Starter_ECSEngine | 4031431f5c617155e82c8c901fc22a3046488dac | [
"MIT"
] | null | null | null | #pragma once
#include <Windows.h>
#include <d3d11.h>
#include <string>
#include <map>
#include <unordered_map>
#include <vector>
#include <string>
#include <d3dcompiler.h>
#include <DirectXMath.h>
#include "assimp/Importer.hpp"
#include "Assimp/assimp/scene.h"
#include "Assimp/assimp/postprocess.h"
#pragm... | 30.132287 | 98 | 0.529727 | [
"mesh",
"vector",
"transform"
] |
f918ed894a86b3c670fa54159aca4992b8268173 | 4,212 | h | C | src/pillowtalk.h | jubos/pillowtalk | 75ea5f071495fb181d55ff7833db3dbd7ab5a676 | [
"MIT"
] | 10 | 2015-04-04T15:07:46.000Z | 2020-05-27T02:35:21.000Z | src/pillowtalk.h | AutomationIntegrated/pillowtalk | 75ea5f071495fb181d55ff7833db3dbd7ab5a676 | [
"MIT"
] | null | null | null | src/pillowtalk.h | AutomationIntegrated/pillowtalk | 75ea5f071495fb181d55ff7833db3dbd7ab5a676 | [
"MIT"
] | 5 | 2015-12-16T18:26:19.000Z | 2021-12-06T03:31:47.000Z | //
// Copyright (c) 2009, Curtis Spencer. All rights reserved.
//
#ifndef __PILLOWTALK__H_
#define __PILLOWTALK__H_
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {PT_MAP,PT_ARRAY,PT_NULL, PT_BOOLEAN, PT_INTEGER, PT_DOUBLE, PT_STRING, PT_KEY_VALUE} pt_type_t;
typedef struct {
pt_type_t type;
} pt_node_t;
typ... | 25.682927 | 109 | 0.728395 | [
"object"
] |
f9204ca9243b389fd91a041d5d44aac197b45888 | 10,055 | h | C | task-movement/Koala/container/joinsets.h | miloszc/task-movement | 26b40595b590b0fcc3c226fbe8576faa3b5c1244 | [
"MIT"
] | null | null | null | task-movement/Koala/container/joinsets.h | miloszc/task-movement | 26b40595b590b0fcc3c226fbe8576faa3b5c1244 | [
"MIT"
] | 19 | 2019-02-15T09:04:22.000Z | 2020-06-23T21:42:29.000Z | task-movement/Koala/container/joinsets.h | miloszc/task-movement | 26b40595b590b0fcc3c226fbe8576faa3b5c1244 | [
"MIT"
] | 1 | 2019-05-04T16:12:25.000Z | 2019-05-04T16:12:25.000Z | #ifndef KOALA_JOINABLE_SETS_H
#define KOALA_JOINABLE_SETS_H
/** \file joinsets.h
* \brief Joinable sets (optional).
*/
#include <cassert>
#include <map>
#include "../container/assoctab.h"
#include "../container/localarray.h"
#include "../container/set.h"
namespace Koala
{
/** \brief Auxiliary structure for jo... | 39.586614 | 165 | 0.659274 | [
"object",
"vector"
] |
f929af539a26f11babb62907f7d07637e85c26fb | 18,016 | c | C | sdk-6.5.20/src/examples/xgs/maverick2/mpls/vpws_frr.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/examples/xgs/maverick2/mpls/vpws_frr.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/examples/xgs/maverick2/mpls/vpws_frr.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenSDK/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
/*
* Feature : VPWS with failover
*
* Usage : BCM.0> cint vpws_frr.c
*
* config : mpls_config.bcm
*
* ... | 37.533333 | 210 | 0.673956 | [
"object"
] |
f92d853394cc3273ce9fdd2c0486f5693e62feab | 4,046 | h | C | JustinGXEngine/Object.h | jdsilv17/Custom-Engine | 823f021aa2efceb80aa426f3f3eae9da2769ccef | [
"MIT"
] | null | null | null | JustinGXEngine/Object.h | jdsilv17/Custom-Engine | 823f021aa2efceb80aa426f3f3eae9da2769ccef | [
"MIT"
] | null | null | null | JustinGXEngine/Object.h | jdsilv17/Custom-Engine | 823f021aa2efceb80aa426f3f3eae9da2769ccef | [
"MIT"
] | null | null | null | #pragma once
#include <DirectXMath.h>
class Object
{
public:
Object();
Object(const DirectX::XMMATRIX& _world);
Object(const DirectX::XMFLOAT4X4& _world);
Object(const Object& that);
Object& operator=(const Object& that);
const DirectX::XMMATRIX& GetWorldMatrix() const;
const DirectX::XMFLOAT4X4& GetWorldFlo... | 32.894309 | 113 | 0.757291 | [
"object",
"transform"
] |
f93cd07f418e324507085dad2d5cd54219891121 | 28,984 | c | C | archive/MimeTeX/gfuntype.c | sytelus/Eq2Img | d2ab44893dc05fbda7f79995c6eec466914e3487 | [
"Net-SNMP",
"Xnet",
"X11"
] | 1 | 2019-04-12T12:30:22.000Z | 2019-04-12T12:30:22.000Z | archive/MimeTeX/gfuntype.c | sytelus/Eq2Img | d2ab44893dc05fbda7f79995c6eec466914e3487 | [
"Net-SNMP",
"Xnet",
"X11"
] | null | null | null | archive/MimeTeX/gfuntype.c | sytelus/Eq2Img | d2ab44893dc05fbda7f79995c6eec466914e3487 | [
"Net-SNMP",
"Xnet",
"X11"
] | null | null | null | /****************************************************************************
*
* Copyright (c) 2002, John Forkosh Associates, Inc. All rights reserved.
* --------------------------------------------------------------------------
* This file is part of mimeTeX, which is free software. You may redistribute
* and/o... | 52.412297 | 78 | 0.484474 | [
"vector",
"3d"
] |
f94ecfef7dfad8b4ebd1c5ce05e50ead2585b078 | 4,678 | h | C | lib/src/includes/signed_video_common.h | AxisCommunications/signed-video-framework | 39ce18aad51b0c05e7f8ef806d497673dc0aec7c | [
"MIT"
] | 13 | 2021-12-10T13:30:10.000Z | 2022-03-13T14:26:14.000Z | lib/src/includes/signed_video_common.h | AxisCommunications/signed-video-framework | 39ce18aad51b0c05e7f8ef806d497673dc0aec7c | [
"MIT"
] | 7 | 2021-12-10T15:36:51.000Z | 2022-02-09T10:17:04.000Z | lib/src/includes/signed_video_common.h | AxisCommunications/signed-video-framework | 39ce18aad51b0c05e7f8ef806d497673dc0aec7c | [
"MIT"
] | null | null | null | /**
* MIT License
*
* Copyright (c) 2021 Axis Communications AB
*
* 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, c... | 38.03252 | 100 | 0.744763 | [
"object"
] |
f9506c6c8037539a1372239b74f8f3d99321ffaa | 2,626 | h | C | include/ipfs_curl/ipfs.h | jmjatlanta/ipfs_curl | b934f59a12b0cb475b38c07e635f7ee27aecadde | [
"MIT"
] | 2 | 2017-11-18T02:28:12.000Z | 2018-10-29T17:53:56.000Z | include/ipfs_curl/ipfs.h | jmjatlanta/ipfs_curl | b934f59a12b0cb475b38c07e635f7ee27aecadde | [
"MIT"
] | null | null | null | include/ipfs_curl/ipfs.h | jmjatlanta/ipfs_curl | b934f59a12b0cb475b38c07e635f7ee27aecadde | [
"MIT"
] | null | null | null | /*
* IPFS.h
*
* Created on: Oct 20, 2016
* Author: JohnJones
*/
#pragma once
#include <string>
#include <sstream>
#include "curl_easy.h"
#include "rapidjson/Document.h"
namespace ipfs_curl {
class IPFS {
public:
IPFS();
IPFS(std::string ip, int port, int apiPort)
: gatewayIP(ip), gatewayPort(port), gat... | 29.177778 | 95 | 0.65575 | [
"object"
] |
f955110e78bcd152bec9a1fa962965964162a442 | 2,106 | h | C | ZAPD/Declaration.h | Dragorn421/ZAPD | e02e151c91d006279c4cb75636fead5d1663c7d3 | [
"MIT"
] | null | null | null | ZAPD/Declaration.h | Dragorn421/ZAPD | e02e151c91d006279c4cb75636fead5d1663c7d3 | [
"MIT"
] | 9 | 2020-12-29T00:20:37.000Z | 2020-12-29T01:57:42.000Z | ZAPD/Declaration.h | Dragorn421/ZAPD | e02e151c91d006279c4cb75636fead5d1663c7d3 | [
"MIT"
] | 1 | 2021-01-02T03:19:49.000Z | 2021-01-02T03:19:49.000Z | #pragma once
#include <string>
#include <vector>
enum class DeclarationAlignment
{
None,
Align4,
Align8,
Align16
};
enum class DeclarationPadding
{
None,
Pad4,
Pad8,
Pad16
};
class Declaration
{
public:
DeclarationAlignment alignment;
DeclarationPadding padding;
size_t size;
std::string preText = "";
s... | 32.4 | 97 | 0.722222 | [
"vector"
] |
f95b4f8d2257bde1a03c23195e318d0b4c2be7e4 | 2,308 | h | C | idhook.h | gamehacked/Viking-Wpt | 0f204f2700e0c37e58b7f2efee5ace0a3ac892b2 | [
"MIT"
] | 2 | 2019-07-08T07:22:58.000Z | 2021-09-17T03:52:10.000Z | idhook.h | gamehacked/Viking-Wpt | 0f204f2700e0c37e58b7f2efee5ace0a3ac892b2 | [
"MIT"
] | null | null | null | idhook.h | gamehacked/Viking-Wpt | 0f204f2700e0c37e58b7f2efee5ace0a3ac892b2 | [
"MIT"
] | 2 | 2018-03-11T15:17:11.000Z | 2021-09-17T03:52:13.000Z | /////
///// CBOBY V2 [Revision by ETK]
/////
///// By [boy_scout][boyscout_etk@hotmail.com]
/////
///// [2011][www.etalking.com.ar]
/////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma once
... | 24.553191 | 167 | 0.561958 | [
"vector"
] |
c3c1f2258256430e8280c1fd1d436d12bf9a780a | 7,382 | h | C | sources/ippcp/pcpsms4_l9cn.h | ntyukaev/ipp-crypto | 19b408cfd21a59f994b64dd47b18eb0c2f94e4e0 | [
"Apache-2.0"
] | 30 | 2017-07-26T20:03:19.000Z | 2021-10-14T23:38:54.000Z | sources/ippcp/pcpsms4_l9cn.h | ntyukaev/ipp-crypto | 19b408cfd21a59f994b64dd47b18eb0c2f94e4e0 | [
"Apache-2.0"
] | 9 | 2018-09-25T18:32:42.000Z | 2022-02-18T12:23:40.000Z | sources/ippcp/pcpsms4_l9cn.h | ntyukaev/ipp-crypto | 19b408cfd21a59f994b64dd47b18eb0c2f94e4e0 | [
"Apache-2.0"
] | 14 | 2017-08-31T19:53:23.000Z | 2021-02-27T01:08:14.000Z | /*******************************************************************************
* Copyright 2019-2020 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.apa... | 39.688172 | 122 | 0.663912 | [
"transform"
] |
c3c3606135ba68902420e9ed34f7a1d792695ef6 | 5,359 | c | C | src/graphics.c | kovleventer/BorderGenerator | 44ea65ea77133d8a000e381a3f9eb80f8fa8039f | [
"MIT"
] | 2 | 2017-12-04T12:44:26.000Z | 2017-12-04T19:10:47.000Z | src/graphics.c | kovleventer/BorderGenerator | 44ea65ea77133d8a000e381a3f9eb80f8fa8039f | [
"MIT"
] | null | null | null | src/graphics.c | kovleventer/BorderGenerator | 44ea65ea77133d8a000e381a3f9eb80f8fa8039f | [
"MIT"
] | null | null | null | #include "graphics.h"
#include "functions.h"
void render(SDL_Surface* main, SDL_Surface* map, SDL_Surface* borders, List* capitals, bool isGenerated) {
// Heightmap
SDL_BlitSurface(map, NULL, main, NULL);
// Borders
if (isGenerated) {
SDL_BlitSurface(borders, NULL, main, NULL);
}
// Capitals
for (List* i... | 30.106742 | 106 | 0.668968 | [
"render"
] |
c3cc529f91ec15b73a0a95f88b534225b0c0192e | 1,284 | h | C | tests/folds_test_case.h | juruen/cavalieri | c3451579193fc8f081b6228ae295b463a0fd23bd | [
"MIT"
] | 54 | 2015-01-14T21:11:56.000Z | 2021-06-27T13:29:40.000Z | tests/folds_test_case.h | juruen/cavalieri | c3451579193fc8f081b6228ae295b463a0fd23bd | [
"MIT"
] | null | null | null | tests/folds_test_case.h | juruen/cavalieri | c3451579193fc8f081b6228ae295b463a0fd23bd | [
"MIT"
] | 10 | 2015-07-15T05:09:34.000Z | 2019-01-10T07:32:02.000Z | #ifndef FOLDS_TEST_CASE
#define FOLDS_TEST_CASE
#include <folds/folds.h>
TEST(sum_test_case, test)
{
std::vector<Event> v;
std::vector<Event> events(5);
for (auto & e: events) {
e.set_metric_d(1);
}
ASSERT_EQ(5, sum(events).metric_d());
}
TEST(product_test_case, test)
{
std::vector<Event> v;
std... | 16.253165 | 47 | 0.622274 | [
"vector"
] |
c3d04c1599b81c6e50d1859f5851b8ab9f55ffcb | 1,382 | h | C | NE/HyperNEAT/NEAT/include/NEAT_GPUANN.h | LMBernardo/HyperNEAT | 8ebee6fda17dcf20dd0c6c081dc8681557c1faad | [
"BSD-3-Clause"
] | 85 | 2015-02-08T20:36:17.000Z | 2021-11-14T20:38:31.000Z | NE/HyperNEAT/NEAT/include/NEAT_GPUANN.h | LMBernardo/HyperNEAT | 8ebee6fda17dcf20dd0c6c081dc8681557c1faad | [
"BSD-3-Clause"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | NE/HyperNEAT/NEAT/include/NEAT_GPUANN.h | LMBernardo/HyperNEAT | 8ebee6fda17dcf20dd0c6c081dc8681557c1faad | [
"BSD-3-Clause"
] | 27 | 2015-01-28T16:33:30.000Z | 2021-08-12T05:04:39.000Z | #ifndef GPUANN_H_INCLUDED
#define GPUANN_H_INCLUDED
#include "NEAT_Network.h"
#include "NEAT_NetworkNode.h"
#include "NEAT_NetworkLink.h"
#include "NEAT_NetworkIndexedLink.h"
#include "NEAT_FastLayeredNetwork.h"
namespace NEAT
{
/**
* The GPUANN class is designed to be faster at the cost
* of being ... | 25.127273 | 74 | 0.631693 | [
"vector"
] |
c3f741748ce719b49478effcc591ad9a29f85795 | 1,707 | h | C | include/drivers/ioapic.h | 13824125580/zephyr-rr | 531cd1b8d0663172dc6b4dd7cdfe91c26304706c | [
"Apache-2.0"
] | 9 | 2016-10-07T15:31:17.000Z | 2019-02-21T05:32:59.000Z | include/drivers/ioapic.h | 13824125580/zephyr-rr | 531cd1b8d0663172dc6b4dd7cdfe91c26304706c | [
"Apache-2.0"
] | 2 | 2016-08-30T01:28:57.000Z | 2017-09-27T01:50:28.000Z | include/drivers/ioapic.h | 13824125580/zephyr-rr | 531cd1b8d0663172dc6b4dd7cdfe91c26304706c | [
"Apache-2.0"
] | 5 | 2016-06-11T07:44:20.000Z | 2021-06-12T17:41:37.000Z | /* ioapic.h - public IOAPIC APIs */
/*
* Copyright (c) 2012-2015 Wind River Systems, Inc.
*
* 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/LICENS... | 27.532258 | 76 | 0.783245 | [
"vector"
] |
c3fa0b5d3c5d228ee9e31953c6cbc2f296cef0e1 | 18,746 | h | C | rx621_sample/vect.h | radioshack16/rx621_sample | 993734723d7114cc622f360981f99ed60675b32f | [
"MIT"
] | 1 | 2017-06-12T13:00:22.000Z | 2017-06-12T13:00:22.000Z | rx621_sample/vect.h | radioshack16/rx621_sample | 993734723d7114cc622f360981f99ed60675b32f | [
"MIT"
] | null | null | null | rx621_sample/vect.h | radioshack16/rx621_sample | 993734723d7114cc622f360981f99ed60675b32f | [
"MIT"
] | null | null | null | /***********************************************************************/
/* */
/* FILE :vect.h */
/* DATE :Sat, May 07, 2016 */
/* DESCRIPTION :Definit... | 22.722424 | 147 | 0.731249 | [
"vector"
] |
7f0c0501ceff273a66a2e713477bc48d4bccb9ca | 3,445 | h | C | LambdaEngine/Include/Rendering/ParticleRenderer.h | IbexOmega/CrazyCanvas | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 18 | 2020-09-04T08:00:54.000Z | 2021-08-29T23:04:45.000Z | LambdaEngine/Include/Rendering/ParticleRenderer.h | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 32 | 2020-09-12T19:24:50.000Z | 2020-12-11T14:29:44.000Z | LambdaEngine/Include/Rendering/ParticleRenderer.h | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 2 | 2020-12-15T15:36:13.000Z | 2021-03-27T14:27:02.000Z | #pragma once
#include "RenderGraphTypes.h"
#include "CustomRenderer.h"
#include "Rendering/Core/API/DescriptorCache.h"
namespace LambdaEngine
{
struct DescriptorBindingData
{
const Buffer* pBuffers = nullptr;
uint64 Offset = 0;
uint64 SizeInByte = 0;
};
class ParticleRenderer : public CustomRenderer
{... | 35.885417 | 288 | 0.771263 | [
"render"
] |
7f0cc7e1275a00dfa224d3447c25f30ab0a900e7 | 11,272 | h | C | gui/source/gui_attributes_editor.h | awarnke/crystal-facet-uml | 89da1452379c53aef473b4dc28501a6b068d66a9 | [
"Apache-2.0"
] | 1 | 2021-06-06T05:57:21.000Z | 2021-06-06T05:57:21.000Z | gui/source/gui_attributes_editor.h | awarnke/crystal-facet-uml | 89da1452379c53aef473b4dc28501a6b068d66a9 | [
"Apache-2.0"
] | 1 | 2021-08-30T17:42:27.000Z | 2021-08-30T17:42:27.000Z | gui/source/gui_attributes_editor.h | awarnke/crystal-facet-uml | 89da1452379c53aef473b4dc28501a6b068d66a9 | [
"Apache-2.0"
] | null | null | null | /* File: gui_attributes_editor.h; Copyright and License: see below */
#ifndef GUI_ATTRIBUTES_EDITOR_H
#define GUI_ATTRIBUTES_EDITOR_H
/* public file for the doxygen documentation: */
/*! \file
* \brief Provides data to editing widgets and reacts on user events
*/
#include "gui_simple_message_to_user.h"
#include "... | 40.84058 | 152 | 0.732523 | [
"object",
"model"
] |
7f0d01bd66d0f3b1ba69259fa97bfa13847cfbe0 | 1,574 | h | C | MultiDeviceInferencePipeline/inference/conf/ExecutionSettings.h | semberecki/AGX | c5979185543ab54e25908a8ee42744126e2acddf | [
"Apache-2.0"
] | 1 | 2021-04-16T10:20:08.000Z | 2021-04-16T10:20:08.000Z | MultiDeviceInferencePipeline/inference/conf/ExecutionSettings.h | semberecki/AGX | c5979185543ab54e25908a8ee42744126e2acddf | [
"Apache-2.0"
] | null | null | null | MultiDeviceInferencePipeline/inference/conf/ExecutionSettings.h | semberecki/AGX | c5979185543ab54e25908a8ee42744126e2acddf | [
"Apache-2.0"
] | null | null | null | /***************************************************************************************************
* Copyright (c) 2018-2019 NVIDIA Corporation. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | 33.489362 | 101 | 0.651842 | [
"vector"
] |
7f0d31799efb55dbee6f3eab56560893fad80a07 | 10,922 | h | C | zircon/system/ulib/fbl/include/fbl/wavl_tree_best_node_observer.h | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | zircon/system/ulib/fbl/include/fbl/wavl_tree_best_node_observer.h | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 1 | 2022-03-01T01:12:04.000Z | 2022-03-01T01:17:26.000Z | zircon/system/ulib/fbl/include/fbl/wavl_tree_best_node_observer.h | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2021 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#ifndef FBL_WAVL_TREE_BEST_NODE_OBSERVER_H_
#define FBL_WAVL_TREE_BEST_NODE_OBSERVER_H_
#include <zircon/assert.h>
#include <fbl/... | 42.498054 | 99 | 0.681102 | [
"object"
] |
7f1331d4d243be6d11050fd2067318406742a9b5 | 1,201 | h | C | Engine/Source/Editor/Layers/Public/LayersModule.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Editor/Layers/Public/LayersModule.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Editor/Layers/Public/LayersModule.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleInterface.h"
/**
* The module holding all of the UI related peices for Layers
*/
class FLayersModule : public IModuleInterface
{
public:
/**
* Called right after the module DLL has been loaded and the module object has be... | 26.688889 | 113 | 0.752706 | [
"object"
] |
7f19383c6918ecbdae5adfffcc49d87cdba9635e | 1,731 | h | C | ARCo UI/ARCo UI/Navigator/URL Patterns/ARCURLNavigatorPattern.h | 7studios/RestRocket | 4b8eee466d74386d85dea4784b13a712683d518f | [
"Apache-2.0"
] | null | null | null | ARCo UI/ARCo UI/Navigator/URL Patterns/ARCURLNavigatorPattern.h | 7studios/RestRocket | 4b8eee466d74386d85dea4784b13a712683d518f | [
"Apache-2.0"
] | null | null | null | ARCo UI/ARCo UI/Navigator/URL Patterns/ARCURLNavigatorPattern.h | 7studios/RestRocket | 4b8eee466d74386d85dea4784b13a712683d518f | [
"Apache-2.0"
] | null | null | null | //
// ARCURLNavigatorPattern.h
// ARCo Example
//
// Created by GREGORY GENTLING on 9/10/11.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ARCPatternTEXT.h"
#import "ARCURLPattern.h"
@interface ARCURLNavigatorPattern : ARCURLPattern {
Class ... | 32.660377 | 78 | 0.670133 | [
"object"
] |
7f1c1e4859e72d35712cd28e1d29a5c8ce9824bd | 15,137 | h | C | src/gausskernel/storage/mot/fdw_adapter/mot_internal.h | Yanci0/openGauss-server | b2ff10be1367c77f2fda396d6c12ffa3c25874c7 | [
"MulanPSL-1.0"
] | 360 | 2020-06-30T14:47:34.000Z | 2022-03-31T15:21:53.000Z | src/gausskernel/storage/mot/fdw_adapter/mot_internal.h | Yanci0/openGauss-server | b2ff10be1367c77f2fda396d6c12ffa3c25874c7 | [
"MulanPSL-1.0"
] | 4 | 2020-06-30T15:09:16.000Z | 2020-07-14T06:20:03.000Z | src/gausskernel/storage/mot/fdw_adapter/mot_internal.h | futurewei-cloud/chogori-opengauss | f43410e1643c887819e718d9baceb9e853ad9574 | [
"MulanPSL-1.0"
] | 133 | 2020-06-30T14:47:36.000Z | 2022-03-25T15:29:00.000Z | /*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ... | 38.128463 | 120 | 0.60732 | [
"object"
] |
b20d4873fc043da14af5e63f562393b1392e3ddc | 241 | h | C | stdafx.h | Const-me/SimdPrecisionTest | 7b009df3061e78781e9860dbf48a8cb20d7ec609 | [
"MIT"
] | null | null | null | stdafx.h | Const-me/SimdPrecisionTest | 7b009df3061e78781e9860dbf48a8cb20d7ec609 | [
"MIT"
] | null | null | null | stdafx.h | Const-me/SimdPrecisionTest | 7b009df3061e78781e9860dbf48a8cb20d7ec609 | [
"MIT"
] | null | null | null | #pragma once
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h>
#include <stdio.h>
#include <array>
#include <vector>
#include <algorithm>
#include <atltypes.h>
#include <atlstr.h>
#include <atlpath.h>
#include <atlfile.h> | 15.0625 | 27 | 0.738589 | [
"vector"
] |
b225bd3650c24c9b10a3cd7899fcf3558985ab29 | 841 | c | C | d/avatars/cyric/test1.c | gesslar/shadowgate | 97ce5d33a2275bb75c0cf6556602564b7870bc77 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/avatars/cyric/test1.c | gesslar/shadowgate | 97ce5d33a2275bb75c0cf6556602564b7870bc77 | [
"MIT"
] | null | null | null | d/avatars/cyric/test1.c | gesslar/shadowgate | 97ce5d33a2275bb75c0cf6556602564b7870bc77 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>
inherit WEAPON;
void create(){
::create();
set_name("testweap");
set_id(({ "test" }));
set_short("test");
set_long(
@AVATAR
ok1
AVATAR
);
set_weight(1);
set_value(100);
set_type("slashing");
set_prof_type("small blades");
set_size(1);
set_wc(1,6);
set_large_wc(1,8);
set_property("enchan... | 18.282609 | 57 | 0.657551 | [
"object"
] |
b227ad367a629b89a157f52181419767592a6870 | 3,528 | c | C | src/z80asm/strlist.c | andydansby/z88dk-mk2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | 1 | 2020-09-15T08:35:49.000Z | 2020-09-15T08:35:49.000Z | src/z80asm/strlist.c | andydansby/z88dk-MK2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | null | null | null | src/z80asm/strlist.c | andydansby/z88dk-MK2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | null | null | null | /*
ZZZZZZZZZZZZZZZZZZZZ 8888888888888 00000000000
ZZZZZZZZZZZZZZZZZZZZ 88888888888888888 0000000000000
ZZZZZ 888 888 0000 0000
ZZZZZ 88888888888888888 0000 0000
ZZZZZ 8888888888888 0000 0000 ... | 33.6 | 114 | 0.518991 | [
"object"
] |
b22b210308c6d53061c4b827f479cb46f36aff70 | 1,200 | h | C | Libraries/StdUtils/StdClassFactory.h | NeuroRoboticTech/AnimatLabPublicSource | c5b23f8898513582afb7891eb994a7bd40a89f08 | [
"BSD-3-Clause"
] | 8 | 2015-01-09T21:59:50.000Z | 2021-04-14T14:08:47.000Z | Libraries/StdUtils/StdClassFactory.h | NeuroRoboticTech/AnimatLabPublicSource | c5b23f8898513582afb7891eb994a7bd40a89f08 | [
"BSD-3-Clause"
] | null | null | null | Libraries/StdUtils/StdClassFactory.h | NeuroRoboticTech/AnimatLabPublicSource | c5b23f8898513582afb7891eb994a7bd40a89f08 | [
"BSD-3-Clause"
] | 2 | 2018-12-21T02:58:30.000Z | 2020-08-12T11:44:39.000Z | /**
\file StdClassFactory.h
\brief Declares the standard class factory class.
**/
#pragma once
namespace StdUtils
{
/**
\brief Standard class factory.
\details This is a standard interface used for all class factories. To make your library able able to be loaded
you need to derive a class from this ... | 25.531915 | 120 | 0.724167 | [
"object"
] |
b22ca55703aebbd962b50f84683f5191f6583757 | 412 | c | C | test/libccc/monad/object.c | LexouDuck/libft | af06b5b8f0ac51e1a461cbe58a7be6410c4348d5 | [
"MIT"
] | 6 | 2021-02-09T08:50:35.000Z | 2021-09-15T14:29:31.000Z | test/libccc/monad/object.c | LexouDuck/libccc | 73a923a484ceb1fa6eaa863a151614d1327b4af8 | [
"MIT"
] | 16 | 2021-03-13T23:13:35.000Z | 2022-03-29T08:42:14.000Z | test/libccc/monad/object.c | LexouDuck/libccc | 73a923a484ceb1fa6eaa863a151614d1327b4af8 | [
"MIT"
] | 2 | 2020-06-09T03:10:56.000Z | 2020-11-04T12:40:04.000Z |
#include "libccc/monad/object.h"
#include "test.h"
/*
** ************************************************************************** *|
** Test Suite Function *|
** ************************************************************************** *|
*/
int testsuite... | 18.727273 | 80 | 0.313107 | [
"object"
] |
b235c3de31222ea880c1f64f3280269756c0ce75 | 1,356 | h | C | pandatool/src/lwoegg/cLwoPoints.h | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | 3 | 2020-01-02T08:43:36.000Z | 2020-07-05T08:59:02.000Z | pandatool/src/lwoegg/cLwoPoints.h | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | pandatool/src/lwoegg/cLwoPoints.h | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | 1 | 2020-03-11T17:38:45.000Z | 2020-03-11T17:38:45.000Z | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file cLwoPoints.h
* @author... | 22.983051 | 78 | 0.724189 | [
"3d"
] |
b236546f12bbf04d71b084f6b3ef003197894921 | 3,201 | h | C | JSPatchX/JPObjcIndex/ObjcParser/objcParser.h | bang590/JSPatchX | e097558b4f1b3a32cb8720225f4d919af19e18b9 | [
"MIT"
] | 829 | 2016-04-18T05:56:16.000Z | 2021-12-24T07:00:47.000Z | JSPatchX/JPObjcIndex/ObjcParser/objcParser.h | bang590/JSPatchX | e097558b4f1b3a32cb8720225f4d919af19e18b9 | [
"MIT"
] | 6 | 2016-09-29T08:04:28.000Z | 2017-02-08T08:49:57.000Z | JSPatchX/JPObjcIndex/ObjcParser/objcParser.h | bang590/JSPatchX | e097558b4f1b3a32cb8720225f4d919af19e18b9 | [
"MIT"
] | 100 | 2016-04-18T06:55:14.000Z | 2020-04-16T09:10:09.000Z | //
// objcParser.h
// JSPatchX
//
// Created by louis on 4/16/16.
// Copyright (c) 2016年 louis. All rights reserved.
//
#ifndef __objcParser__
#define __objcParser__
#include <stdio.h>
#include <string>
#include <vector>
#include "objcLex.h"
using namespace std;
class FileSymbol;
//toplevel symbol
class Import... | 20.00625 | 68 | 0.595751 | [
"vector"
] |
b23fbf24554cd4c426c5796c4c9aa10c530534ba | 785 | h | C | Sources/ECS/Component.h | friendshipismagic/dash-engine | 1eec827665e6396e6cd1f41c839769a92583b820 | [
"Beerware"
] | null | null | null | Sources/ECS/Component.h | friendshipismagic/dash-engine | 1eec827665e6396e6cd1f41c839769a92583b820 | [
"Beerware"
] | null | null | null | Sources/ECS/Component.h | friendshipismagic/dash-engine | 1eec827665e6396e6cd1f41c839769a92583b820 | [
"Beerware"
] | null | null | null | /*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <clement@decoodt.eu> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can b... | 28.035714 | 79 | 0.556688 | [
"vector"
] |
b25209fa88c42ffeeacdae81034594ecb2697fe9 | 837 | h | C | SatteliteSimulator/Entry/CmdList.h | avlo2000/DronMovementManager | 23f73a0824165e26f18717a917aeacc63853dc8f | [
"MIT"
] | 2 | 2019-06-24T14:09:14.000Z | 2019-06-24T14:09:16.000Z | SatteliteSimulator/Entry/CmdList.h | avlo2000/DronMovementManager | 23f73a0824165e26f18717a917aeacc63853dc8f | [
"MIT"
] | null | null | null | SatteliteSimulator/Entry/CmdList.h | avlo2000/DronMovementManager | 23f73a0824165e26f18717a917aeacc63853dc8f | [
"MIT"
] | 1 | 2019-02-09T13:23:28.000Z | 2019-02-09T13:23:28.000Z | #pragma once
#include<string>
#include <string>
namespace simulator {
struct CmdList
{
public:
const std::string help = "help";
const std::string exit = "exit";
#pragma region Satellite commands
const std::string createDefault = "add";//name of satellite as param
const std::string loadSat = "add -load";/... | 29.892857 | 106 | 0.72282 | [
"vector",
"3d"
] |
b260afdae11d3d73405ddef0360d7c55c39421c9 | 5,855 | h | C | aws-cpp-sdk-kafkaconnect/include/aws/kafkaconnect/model/AutoScaling.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-kafkaconnect/include/aws/kafkaconnect/model/AutoScaling.h | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-kafkaconnect/include/aws/kafkaconnect/model/AutoScaling.h | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
#include <aws/kafkaconnect/model/ScaleInPolicy.h>
#include <aws/kafkaconnect/model/ScaleOutPolicy.h>
#include <utility>
namespace Aws
{... | 30.815789 | 133 | 0.676857 | [
"model"
] |
b270aa791835b7a4a0f7665aaccb90900601b6cb | 7,944 | h | C | Source/Controls/ListControlPackage/GuiListControlItemArrangers.h | vczh2/GacUI | ce100ec13357bbf03ed3d2040c48d6b2b2fefd2f | [
"RSA-MD"
] | 2 | 2018-10-17T16:00:01.000Z | 2018-11-20T07:53:20.000Z | Source/Controls/ListControlPackage/GuiListControlItemArrangers.h | vczh2/GacUI | ce100ec13357bbf03ed3d2040c48d6b2b2fefd2f | [
"RSA-MD"
] | null | null | null | Source/Controls/ListControlPackage/GuiListControlItemArrangers.h | vczh2/GacUI | ce100ec13357bbf03ed3d2040c48d6b2b2fefd2f | [
"RSA-MD"
] | null | null | null | /***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI::Control System
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_CONTROLS_GUILISTCONTROLITEMARRANGERS
#define VCZH_PRESENTATION_CO... | 47.285714 | 266 | 0.674471 | [
"object"
] |
b272f743c14c7fd101438d69008ca43787d30436 | 5,236 | h | C | dev/Gems/CryLegacy/Code/Source/CryAISystem/Navigation/MNM/OffGridLinks.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Gems/CryLegacy/Code/Source/CryAISystem/Navigation/MNM/OffGridLinks.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Gems/CryLegacy/Code/Source/CryAISystem/Navigation/MNM/OffGridLinks.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 34.906667 | 189 | 0.607143 | [
"mesh"
] |
b2730b8bfc9c02230b56464d42c081df918848e4 | 82,114 | c | C | src/cmd/doc.c | embedthis/ejscript | ccf3be9022c584bd12ce412b9902645fb49b95cc | [
"Apache-2.0",
"Zlib",
"BSD-2-Clause",
"MIT"
] | 32 | 2015-07-11T15:09:33.000Z | 2022-02-08T09:33:25.000Z | src/cmd/doc.c | embedthis/ejscript | ccf3be9022c584bd12ce412b9902645fb49b95cc | [
"Apache-2.0",
"Zlib",
"BSD-2-Clause",
"MIT"
] | 14 | 2015-06-16T18:07:10.000Z | 2020-11-27T01:43:54.000Z | src/cmd/doc.c | embedthis/ejscript | ccf3be9022c584bd12ce412b9902645fb49b95cc | [
"Apache-2.0",
"Zlib",
"BSD-2-Clause",
"MIT"
] | 10 | 2016-07-18T06:00:06.000Z | 2021-02-08T14:06:26.000Z | /**
doc.c - Documentation generator
Copyright (c) All Rights Reserved. See details at the end of the file.
*/
/*
Supported documentation keywords and format.
The element "one liner" is the first sentance. Rest of description can continue from here and can include embedded html.
@param argName D... | 31.618791 | 134 | 0.50643 | [
"object"
] |
b278eff15cd13875c67cde16c2de85c8cf4d7f22 | 2,021 | h | C | includes/object.h | heinthanth/meon | 72a7b54abb0b37c8e98f059cd43c8cc19ea89519 | [
"MIT"
] | 1 | 2021-02-14T09:36:03.000Z | 2021-02-14T09:36:03.000Z | includes/object.h | heinthanth/meon-craftinginterpreters | 72a7b54abb0b37c8e98f059cd43c8cc19ea89519 | [
"MIT"
] | null | null | null | includes/object.h | heinthanth/meon-craftinginterpreters | 72a7b54abb0b37c8e98f059cd43c8cc19ea89519 | [
"MIT"
] | null | null | null | #ifndef meon_object_h
#define meon_object_h
#include "common.h"
#include "chunk.h"
#include "value.h"
#define OBJ_TYPE(value) (AS_OBJ(value)->t)
#define IS_STRING(value) check_object_t(value, OBJECT_STRING)
#define IS_CLOSURE(value) check_object_t(value, OBJECT_CLOSURE)
#define IS_FUNCTION(value) check_object_t(valu... | 21.731183 | 68 | 0.73528 | [
"object"
] |
b27dfdfc40a1191c7ee3b139d759e7f97c082456 | 16,909 | c | C | src/examples/bind_groups.c | samdauwe/webgpu-native-examples | 9ac5dd17d37cfeed8b2de39b2668108d6ecbee69 | [
"Apache-2.0"
] | 33 | 2021-05-09T03:45:28.000Z | 2022-03-31T06:35:32.000Z | src/examples/bind_groups.c | samdauwe/webgpu-native-examples | 9ac5dd17d37cfeed8b2de39b2668108d6ecbee69 | [
"Apache-2.0"
] | 2 | 2021-12-12T20:04:35.000Z | 2022-01-07T16:26:12.000Z | src/examples/bind_groups.c | samdauwe/webgpu-native-examples | 9ac5dd17d37cfeed8b2de39b2668108d6ecbee69 | [
"Apache-2.0"
] | 1 | 2021-11-06T07:24:03.000Z | 2021-11-06T07:24:03.000Z | #include "example_base.h"
#include "examples.h"
#include <string.h>
#include "../webgpu/gltf_model.h"
#include "../webgpu/imgui_overlay.h"
#include "../webgpu/texture.h"
/* -------------------------------------------------------------------------- *
* WebGPU Example - Using Bind Groups
*
* Bind groups are used to... | 32.330784 | 97 | 0.679283 | [
"render",
"object",
"model"
] |
b292722ae918e6ad529b0432d237522923aa096b | 1,828 | h | C | open/Inspur/code/resnet/schedule/src/schedule/gpu_schedule_node.h | EldritchJS/inference_results_v0.5 | 5552490e184d9fc342d871fcc410ac423ea49053 | [
"Apache-2.0"
] | null | null | null | open/Inspur/code/resnet/schedule/src/schedule/gpu_schedule_node.h | EldritchJS/inference_results_v0.5 | 5552490e184d9fc342d871fcc410ac423ea49053 | [
"Apache-2.0"
] | null | null | null | open/Inspur/code/resnet/schedule/src/schedule/gpu_schedule_node.h | EldritchJS/inference_results_v0.5 | 5552490e184d9fc342d871fcc410ac423ea49053 | [
"Apache-2.0"
] | 1 | 2019-12-05T18:53:17.000Z | 2019-12-05T18:53:17.000Z | #pragma once
#include "../common/macro.h"
#include "../config/node.h"
#include "../config/parser.h"
#include "inner_thread.h"
#include "data_set.h"
#include "blocking_queue.h"
#include "schedule.h"
using namespace std;
namespace schedule {
class GpuScheduleParam {
CREATE_SIMPLE_ATTR_SET_GET(m_thread_num, size_t)... | 25.388889 | 87 | 0.741247 | [
"vector"
] |
b2977a9c5f8c1ffb6e9d79ea6c2d1f364d686ef9 | 1,957 | c | C | src/minigames/worms/update.c | OutbackMan/tetris | 617b54770aa239ee92dfb8f4f71df2ce7f8d4449 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | src/minigames/worms/update.c | OutbackMan/tetris | 617b54770aa239ee92dfb8f4f71df2ce7f8d4449 | [
"CC-BY-4.0",
"MIT"
] | 4 | 2018-05-14T05:31:19.000Z | 2018-05-14T06:11:46.000Z | src/minigames/worms/update.c | OutbackMan/tetris | 617b54770aa239ee92dfb8f4f71df2ce7f8d4449 | [
"CC-BY-4.0",
"MIT"
] | null | null | null |
GAME_HOT
GAME_INTERNAL void game_update(G_Game* game, float delta_time)
{
system_physics(game, delta_time);
for (all_physics_objects) {
obj->ay += 2.0f; // gravity
obj->vx += obj->ax * delta_time;
obj->vy += obj->ay * delta_time;
float potential_x = obj->px + obj->vx * delta_time;
float potential_y = o... | 30.107692 | 160 | 0.67859 | [
"vector"
] |
c32de713afc88786396f8a6bb5913c6bce21641c | 2,214 | h | C | S0006E-Graphics/lab-env-master/projects/GPLabb1/code/vector3D.h | miraz12/Projects | ae24a4caa347f74f7ccc36014e8f7b0f801d47db | [
"MIT"
] | null | null | null | S0006E-Graphics/lab-env-master/projects/GPLabb1/code/vector3D.h | miraz12/Projects | ae24a4caa347f74f7ccc36014e8f7b0f801d47db | [
"MIT"
] | null | null | null | S0006E-Graphics/lab-env-master/projects/GPLabb1/code/vector3D.h | miraz12/Projects | ae24a4caa347f74f7ccc36014e8f7b0f801d47db | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include <iostream>
#include <cmath>
class vector3D
{
public:
float* Varray;
int SIZE;
vector3D(void)
{
this->Varray = new float[3];
SIZE = 3;
}
vector3D::~vector3D(void)
{
}
//�verlagrar brackets f�r att kunna skriva a[x] = 1;
float& operator[](int n)
{
return this->Varray[n];
}
//Till�t... | 14.376623 | 81 | 0.595303 | [
"vector"
] |
c3321fb569c4820f22d854a5271b908c8779bfd3 | 2,203 | h | C | DarkSpace/TraitOrbit.h | SnipeDragon/darkspace | b6a1fa0a29d3559b158156e7b96935bd0a832ee3 | [
"MIT"
] | 1 | 2016-05-22T21:28:29.000Z | 2016-05-22T21:28:29.000Z | DarkSpace/TraitOrbit.h | SnipeDragon/darkspace | b6a1fa0a29d3559b158156e7b96935bd0a832ee3 | [
"MIT"
] | null | null | null | DarkSpace/TraitOrbit.h | SnipeDragon/darkspace | b6a1fa0a29d3559b158156e7b96935bd0a832ee3 | [
"MIT"
] | null | null | null | /*
TraitOrbit.h
This trait allows the noun to orbit other nouns
(c)2004 Palestar Inc, Richard Lyle
*/
#ifndef TRAITORBIT_H
#define TRAITORBIT_H
#include "World/Trait.h"
#include "World/TraitMovement.h"
#include "NounGame.h"
#include "GameDll.h"
//------------------------------------------------------------------... | 22.479592 | 81 | 0.621425 | [
"object"
] |
c332fa398aeb8ff52e9e2abc0850c2faadfa2260 | 2,261 | h | C | q1/mac937_hw16_stack.h | mike10004/cs-bridge-2020-hw16 | bc8ff6f7cf7b63c74dbe963c540fe1b11c4288dc | [
"MIT"
] | null | null | null | q1/mac937_hw16_stack.h | mike10004/cs-bridge-2020-hw16 | bc8ff6f7cf7b63c74dbe963c540fe1b11c4288dc | [
"MIT"
] | null | null | null | q1/mac937_hw16_stack.h | mike10004/cs-bridge-2020-hw16 | bc8ff6f7cf7b63c74dbe963c540fe1b11c4288dc | [
"MIT"
] | null | null | null | #ifndef HW16_MAC937_HW16_STACK_H
#define HW16_MAC937_HW16_STACK_H
#include <cassert>
#include <vector>
#include <iostream>
template<class T>
struct StackNode {
public:
StackNode(const T& content, StackNode<T>* under) : content(content), under(under) {}
T content;
StackNode<T>* under;
};
template<class T>... | 20.00885 | 88 | 0.612119 | [
"vector"
] |
c333f9e96a5e4eecb43cbb6ea43c4a916ec45ef0 | 7,415 | h | C | gui/QvisSaveWindow.h | ahota/visit_ospray | d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9 | [
"BSD-3-Clause"
] | null | null | null | gui/QvisSaveWindow.h | ahota/visit_ospray | d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9 | [
"BSD-3-Clause"
] | null | null | null | gui/QvisSaveWindow.h | ahota/visit_ospray | d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9 | [
"BSD-3-Clause"
] | null | null | null | /*****************************************************************************
*
* Copyright (c) 2000 - 2014, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... | 37.449495 | 79 | 0.667701 | [
"geometry"
] |
c33dd440a23602052fc1ca380e0a96703296877b | 1,261 | h | C | homeworks/ConsLawWithSource/templates/consformevl.h | kryo4096/NPDECODES | 3498c0e4abec6ba21447849ba2ddc9286c068ea1 | [
"MIT"
] | 15 | 2019-04-29T11:28:56.000Z | 2022-03-22T05:10:58.000Z | homeworks/ConsLawWithSource/templates/consformevl.h | kryo4096/NPDECODES | 3498c0e4abec6ba21447849ba2ddc9286c068ea1 | [
"MIT"
] | 12 | 2020-02-29T15:05:58.000Z | 2022-02-21T13:51:07.000Z | homeworks/ConsLawWithSource/templates/consformevl.h | kryo4096/NPDECODES | 3498c0e4abec6ba21447849ba2ddc9286c068ea1 | [
"MIT"
] | 26 | 2020-01-09T15:59:23.000Z | 2022-03-24T16:27:33.000Z | // Demonstration code for course Numerical Methods for Partial Differential
// Equations Author: R. Hiptmair, SAM, ETH Zurich Date: May 2020
#ifndef CONSFORMEVL_H_
#define CONSFORMEVL_H_
#include <Eigen/Dense>
namespace ConsFV {
using namespace Eigen;
// \ref{cpp:fluxdiff} in lecture notes
// arguments: (Finite) ... | 31.525 | 78 | 0.648692 | [
"vector"
] |
c340f13beda4ccf55bb5fec374b5c40dde619f7a | 1,240 | c | C | src/enemy_chase.c | HHP267/Game2D | d9ac052d91c35c0371a3baa8ef48865b7d3faaa5 | [
"MIT"
] | null | null | null | src/enemy_chase.c | HHP267/Game2D | d9ac052d91c35c0371a3baa8ef48865b7d3faaa5 | [
"MIT"
] | null | null | null | src/enemy_chase.c | HHP267/Game2D | d9ac052d91c35c0371a3baa8ef48865b7d3faaa5 | [
"MIT"
] | null | null | null | #include "simple_logger.h"
#include <SDL.h>
#include "entity.h"
#include "player.h"
#include "enemy_chase.h"
#include "shape.h"
typedef struct{
int speed;
float accel;
float health, maxHealth;
}ChaserStats;
static ChaserStats data = { 3, 2.4, 0, 100 };
Entity *chaserSpawn(Vector2D position)
{
En... | 17.971014 | 78 | 0.590323 | [
"shape"
] |
c34cf9f6355069eb0f7e0f3a795247b4a9773f4e | 1,823 | h | C | es-app/src/GameCollection.h | alextinti83/RetroStation | 367249bdd2349db081001a8b8ea9111dc8a46f90 | [
"Apache-2.0",
"MIT"
] | 1 | 2017-06-26T14:27:12.000Z | 2017-06-26T14:27:12.000Z | es-app/src/GameCollection.h | alextinti83/RetroStation | 367249bdd2349db081001a8b8ea9111dc8a46f90 | [
"Apache-2.0",
"MIT"
] | 21 | 2017-05-14T19:36:37.000Z | 2017-06-09T17:52:21.000Z | es-app/src/GameCollection.h | talex-tnt/RetroStation | 367249bdd2349db081001a8b8ea9111dc8a46f90 | [
"Apache-2.0",
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <map>
#include <assert.h>
#include "boost/filesystem/path.hpp"
class FileData;
class GameCollection
{
public:
class Game
{
public:
public:
Game() : m_filedata(nullptr) { }
Game(const FileData& fd) : m_filedata(&fd) { }
const FileData& GetFiledata() const { assert(m_... | 24.635135 | 81 | 0.735052 | [
"vector"
] |
c3548d85e91c041d192915f1757f3714f3fa10d2 | 892 | h | C | Development/HeadMovement/Core/include/Stopwatch.h | sheldonrobinson/face-gesture-api | 3c92f6033d667445067643399a73478f9449ebe2 | [
"BSD-3-Clause"
] | null | null | null | Development/HeadMovement/Core/include/Stopwatch.h | sheldonrobinson/face-gesture-api | 3c92f6033d667445067643399a73478f9449ebe2 | [
"BSD-3-Clause"
] | null | null | null | Development/HeadMovement/Core/include/Stopwatch.h | sheldonrobinson/face-gesture-api | 3c92f6033d667445067643399a73478f9449ebe2 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
//! Class for time measurement.
extern "C++" class __declspec(dllexport) Stopwatch
{
public:
//! Constructor
Stopwatch(void);
//! Destructor
~Stopwatch(void);
//! Reset timer.
void Reset(void);
//! Calculate frame per second from time delay.
double GetFPS(void) const;
//! R... | 27.030303 | 141 | 0.726457 | [
"object"
] |
c360aa1c49a9e4d5b11953ec8f9040330d260198 | 20,739 | c | C | src/nicaea_2.5/Cosmo/src/sn1a.c | danielgruen/ccv | 722db5bab850bccba3c7c003e0416cefa6d94c62 | [
"MIT"
] | 2 | 2017-08-11T20:38:17.000Z | 2021-01-08T03:19:03.000Z | src/nicaea_2.5/Cosmo/src/sn1a.c | danielgruen/ccv | 722db5bab850bccba3c7c003e0416cefa6d94c62 | [
"MIT"
] | null | null | null | src/nicaea_2.5/Cosmo/src/sn1a.c | danielgruen/ccv | 722db5bab850bccba3c7c003e0416cefa6d94c62 | [
"MIT"
] | null | null | null | /* ============================================================ *
* sn1a.c *
* Pierre Astier, Martin Kilbinger 2006-2009 *
* ============================================================ */
#include "sn1a.h"
cosmo_SN *init_parameters_SN(double OMEGAM, double OMEGADE, double W0_DE, double W1_DE,
do... | 29.669528 | 98 | 0.562274 | [
"model"
] |
c365bb2b08d156a096e63946bb48a57be5a2371d | 1,339 | h | C | sourceCode/communication/tubes/commTube.h | mdecourse/CoppeliaSimLib | 934e65b4b6ea5a07d08919ae35c50fd3ae960ef2 | [
"RSA-MD"
] | null | null | null | sourceCode/communication/tubes/commTube.h | mdecourse/CoppeliaSimLib | 934e65b4b6ea5a07d08919ae35c50fd3ae960ef2 | [
"RSA-MD"
] | null | null | null | sourceCode/communication/tubes/commTube.h | mdecourse/CoppeliaSimLib | 934e65b4b6ea5a07d08919ae35c50fd3ae960ef2 | [
"RSA-MD"
] | null | null | null | #pragma once
#include <string>
#include <vector>
class CCommTube
{
public:
CCommTube(int header,const char* identifier,int firstPartner,bool killAtSimulationEnd,int readBufferSize);
~CCommTube();
bool isConnected();
void connectPartner(int secondPartner,bool killAtSimulationEnd,int readBufferSize);
... | 36.189189 | 131 | 0.735624 | [
"object",
"vector"
] |
c36836c3a4c53b777150df5dea4f6ecc79a99603 | 9,800 | h | C | src/avt/Pipeline/Sources/avtOriginatingSource.h | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 226 | 2018-12-29T01:13:49.000Z | 2022-03-30T19:16:31.000Z | src/avt/Pipeline/Sources/avtOriginatingSource.h | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 5,100 | 2019-01-14T18:19:25.000Z | 2022-03-31T23:08:36.000Z | src/avt/Pipeline/Sources/avtOriginatingSource.h | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 84 | 2019-01-24T17:41:50.000Z | 2022-03-10T10:01:46.000Z | // Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
// Project developers. See the top-level LICENSE file for dates and other
// details. No copyright assignment is required to contribute to VisIt.
// ************************************************************************* //
// ... | 43.75 | 91 | 0.512245 | [
"object",
"vector"
] |
c36f1e84760c8c5c67fd92e2120b535047ee30bf | 927 | h | C | parser/parser.h | stormprograms/Storm | 63a8184ac264a19cfd5135e91d58e8add2b67d4c | [
"MIT"
] | 2 | 2020-03-05T13:48:19.000Z | 2020-05-14T04:44:57.000Z | parser/parser.h | stormprograms/Storm | 63a8184ac264a19cfd5135e91d58e8add2b67d4c | [
"MIT"
] | 6 | 2020-03-03T16:41:48.000Z | 2020-04-25T18:14:55.000Z | parser/parser.h | stormprograms/Storm | 63a8184ac264a19cfd5135e91d58e8add2b67d4c | [
"MIT"
] | null | null | null | #pragma once
#include "svalues.h"
#include "functions.h"
#include "storm_calls.h"
inline struct parser_t {
std::string outfile;
std::vector<std::string> splicedProgram;
/*
* ".data" in nasm, initialized with data indicator for full program
*
* structured like this in bytecode
*
* data
* [0] type "valu... | 22.609756 | 99 | 0.691478 | [
"vector"
] |
c376e0f0f6e3102cb8a3fd3b36e72f6069a45eb9 | 1,008 | c | C | mooc42-dongfei-algo/class6/unique_path2.c | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 2 | 2019-03-20T17:05:59.000Z | 2019-10-15T07:56:45.000Z | mooc42-dongfei-algo/class6/unique_path2.c | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | 6 | 2019-12-04T06:08:32.000Z | 2021-05-10T20:22:47.000Z | mooc42-dongfei-algo/class6/unique_path2.c | mcuallen/CodeLrn2019 | adc727d92904c5c5d445a2621813dfa99474206d | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
int uniquePathsWithObstacles(vector<vector<int> > &obstacleGrid) {
if(obstacleGrid.empty() || obstacleGrid[0].empty()) {
return 0;
}
int m = obstacleGrid.size();
int n = obstacleGrid[0].size();
int dp[m][n];
//下面初始dp的时候需要根据obsta... | 25.846154 | 80 | 0.380952 | [
"vector"
] |
c37856cbba7717eef729b927f9e1ea96ee6b41a0 | 3,333 | h | C | vox.render/ui/widgets/panel_transformable.h | ArcheGraphics/Arche-cpp | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | 8 | 2022-02-15T12:54:57.000Z | 2022-03-30T16:35:58.000Z | vox.render/ui/widgets/panel_transformable.h | yangfengzzz/DigitalArche | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | null | null | null | vox.render/ui/widgets/panel_transformable.h | yangfengzzz/DigitalArche | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | null | null | null | // Copyright (c) 2022 Feng Yang
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#ifndef panel_transformable_hpp
#define panel_transformable_hpp
#include <vector>
#include <memory>... | 27.097561 | 100 | 0.678968 | [
"vector"
] |
c37d0a7c9ccbedd20aa97b75a9e5b45dff92fc1c | 1,786 | h | C | www/public/example/trip-vehicle.h | jamjpan/libezrs | 0c5e92f2ab3bc9acf9c8e62d76f77b8122ded850 | [
"MIT"
] | 27 | 2018-03-28T07:53:58.000Z | 2021-05-23T11:55:42.000Z | www/public/example/trip-vehicle.h | jamjpan/libezrs | 0c5e92f2ab3bc9acf9c8e62d76f77b8122ded850 | [
"MIT"
] | 25 | 2018-04-03T13:33:50.000Z | 2019-09-30T05:40:01.000Z | www/public/example/trip-vehicle.h | jamjpan/libezrs | 0c5e92f2ab3bc9acf9c8e62d76f77b8122ded850 | [
"MIT"
] | 8 | 2019-07-31T07:45:55.000Z | 2021-04-19T12:56:53.000Z | #include <unordered_map>
#include <vector>
#include <omp.h>
#include <algorithm> /* std::find, std::nth_element */
#include <chrono>
#include <ctime>
#include <exception>
#include <iostream> /* std::endl */
#include <vector>
#include "glpk/glpk.h"
#include "libcargo.h"
using namespace cargo;
const int BATCH = 30;
c... | 26.656716 | 75 | 0.643337 | [
"vector"
] |
c37e22a0bf6ff53300fb55e5f91385685d533ab2 | 491 | h | C | MAKCategories/NSObject/NSObject+MAKObjectCaching.h | mr-casual/MAKCategories | 483cbd13d759ebc08e7174d984236d61b95d6688 | [
"MIT"
] | null | null | null | MAKCategories/NSObject/NSObject+MAKObjectCaching.h | mr-casual/MAKCategories | 483cbd13d759ebc08e7174d984236d61b95d6688 | [
"MIT"
] | null | null | null | MAKCategories/NSObject/NSObject+MAKObjectCaching.h | mr-casual/MAKCategories | 483cbd13d759ebc08e7174d984236d61b95d6688 | [
"MIT"
] | null | null | null | //
// NSObject+MAKObjectCaching.h
// MAKToolKit
//
// Created by Martin Kloepfel on 15.06.15.
// Copyright (c) 2015 Martin Kloepfel. All rights reserved.
//
#import <Foundation/Foundation.h>
/** This category is used for caching an object on an other object. //TODO: write better comment^^
*/
@interface NSObject... | 21.347826 | 98 | 0.723014 | [
"object"
] |
c380a12607f1f77153fc997bac1bd42ab380afcc | 3,454 | h | C | External/astrometry.net/astrometry/include/mathutil.h | simonct/CoreAstro | eafd0aea314c427da616e1707a49aaeaf5ea6991 | [
"OML"
] | 3 | 2015-08-29T06:56:58.000Z | 2016-11-15T10:35:59.000Z | External/astrometry.net/astrometry/include/mathutil.h | simonct/CoreAstro | eafd0aea314c427da616e1707a49aaeaf5ea6991 | [
"OML"
] | null | null | null | External/astrometry.net/astrometry/include/mathutil.h | simonct/CoreAstro | eafd0aea314c427da616e1707a49aaeaf5ea6991 | [
"OML"
] | null | null | null | /*
This file is part of the Astrometry.net suite.
Copyright 2006, 2007 Dustin Lang, Keir Mierle and Sam Roweis.
The Astrometry.net suite 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, version 2.
The... | 30.566372 | 81 | 0.733353 | [
"transform"
] |
c381a9b74c5dba569f060c9186d0c24573a883d3 | 7,666 | h | C | tensorrt-laboratory/core/include/tensorrt/laboratory/core/pool.h | ryanleary/tensorrt-laboratory | 1bb2151bfdffbb2e72b1a096e41b67602789c445 | [
"BSD-3-Clause"
] | 4 | 2020-01-16T13:50:28.000Z | 2021-12-08T09:35:13.000Z | tensorrt-laboratory/core/include/tensorrt/laboratory/core/pool.h | ryanleary/tensorrt-laboratory | 1bb2151bfdffbb2e72b1a096e41b67602789c445 | [
"BSD-3-Clause"
] | 5 | 2020-03-24T17:57:33.000Z | 2022-03-12T00:07:08.000Z | tensorrt-laboratory/core/include/tensorrt/laboratory/core/pool.h | ryanleary/tensorrt-laboratory | 1bb2151bfdffbb2e72b1a096e41b67602789c445 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | 33.475983 | 99 | 0.653405 | [
"object"
] |
c384bc1c8468370d4f95d0af9c3d8c7cb65e0bf8 | 832 | h | C | include/il2cpp/System/Action_ValueTuple_Int32Enum__int__.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | 1 | 2022-01-15T20:20:27.000Z | 2022-01-15T20:20:27.000Z | include/il2cpp/System/Action_ValueTuple_Int32Enum__int__.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | include/il2cpp/System/Action_ValueTuple_Int32Enum__int__.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp.h"
void System_Action_ValueTuple_Int32Enum__int_____ctor (System_Action_ValueTuple_Int32Enum__int___o* __this, Il2CppObject* object, intptr_t method, const MethodInfo* method_info);
void System_Action_ValueTuple_Int32Enum__int____Invoke (System_Action_ValueTuple_Int32Enum__int___o* __thi... | 92.444444 | 260 | 0.893029 | [
"object"
] |
c38b983cd361926e0e99ec4499f1319a7c3da365 | 2,886 | h | C | d3d/dgal_wrap.h | cmpute/d3d | dbe43e5608653c5b743423541a80e388e13be771 | [
"MIT"
] | 27 | 2020-04-16T22:24:47.000Z | 2022-01-12T08:23:43.000Z | d3d/dgal_wrap.h | cmpute/d3d | dbe43e5608653c5b743423541a80e388e13be771 | [
"MIT"
] | 2 | 2020-08-11T07:03:35.000Z | 2021-02-05T06:43:26.000Z | d3d/dgal_wrap.h | cmpute/d3d | dbe43e5608653c5b743423541a80e388e13be771 | [
"MIT"
] | 6 | 2020-04-16T21:49:50.000Z | 2022-01-26T15:38:47.000Z | #pragma once
#include <dgal/geometry.hpp>
#include "d3d/common.h"
bool box3dr_contains(float x, float y, float z, float lx, float ly, float lz, float rz, float xq, float yq, float zq)
{
dgal::Quad2<float> box = dgal::poly2_from_xywhr(x, y, lx, ly, rz);
dgal::AABox2<float> aabox = dgal::aabox2_from_poly2(box);... | 31.369565 | 117 | 0.578309 | [
"geometry"
] |
c39b8148a464c372e3b6348195fd726d93efe37c | 1,716 | h | C | Lib/OakModel/ContainerDefBuilderData.h | vilaversoftware/OakModelView | c24d30b711fe0f2fdc336f2623dd9bc555867a9d | [
"Apache-2.0"
] | null | null | null | Lib/OakModel/ContainerDefBuilderData.h | vilaversoftware/OakModelView | c24d30b711fe0f2fdc336f2623dd9bc555867a9d | [
"Apache-2.0"
] | null | null | null | Lib/OakModel/ContainerDefBuilderData.h | vilaversoftware/OakModelView | c24d30b711fe0f2fdc336f2623dd9bc555867a9d | [
"Apache-2.0"
] | null | null | null | /*
* OakModelView (http://oakmodelview.com/)
* Author: Mikkel Nøhr Løvgreen (mikkel@oakmodelview.com)
* ------------------------------------------------------------------------
* Licensed to Vilaversoftware IVS who licenses this file to you under the
* Apache License, Version 2.0 (the "License"); you may not use t... | 31.2 | 85 | 0.643939 | [
"vector",
"model"
] |
c3a48120089cb5d4f327da716740af230b2fd505 | 355 | h | C | component/gui/example/ui_menu.h | eboxmaker/eboxFramework-rtt | 9718678422f56faec1cf21a6a8fd3f72441bea33 | [
"MIT"
] | 115 | 2018-08-12T08:41:17.000Z | 2022-03-08T07:43:48.000Z | component/gui/example/ui_menu.h | eboxmaker/eboxFramework-rtt | 9718678422f56faec1cf21a6a8fd3f72441bea33 | [
"MIT"
] | 4 | 2018-08-13T10:14:55.000Z | 2019-07-03T06:54:10.000Z | component/gui/example/ui_menu.h | eboxmaker/eboxFramework-rtt | 9718678422f56faec1cf21a6a8fd3f72441bea33 | [
"MIT"
] | 59 | 2018-09-02T21:54:25.000Z | 2022-01-13T02:28:28.000Z | #ifndef __UI_MENU_H
#define __UI_MENU_H
#include "gui_page.h"
class MenuPage:public GuiPage
{
public:
MenuPage(String name):GuiPage(name){};
virtual ~MenuPage(){};
virtual void create();
virtual void show();
virtual void loop();
virtual void event(Object *sender,GuiMessage *msg);
};
e... | 14.2 | 55 | 0.678873 | [
"object"
] |
c3a5d47fed9f6ee880eaad2333473ba7f3f509f7 | 2,347 | h | C | dev/Gems/TextureAtlas/Code/Source/TextureAtlasImpl.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 8 | 2019-10-07T16:33:47.000Z | 2020-12-07T03:59:58.000Z | dev/Gems/TextureAtlas/Code/Source/TextureAtlasImpl.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Gems/TextureAtlas/Code/Source/TextureAtlasImpl.h | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 34.514706 | 90 | 0.685982 | [
"object"
] |
0f1ec6c6d7da62b57880c548fa4d9c506928d856 | 534 | h | C | YouLocal/API/PersistencyManager.h | mvelikov/notifications-ios-app-example | 0c83b300f5104e6cbe0dcbeafdfa45df77bee6ea | [
"MIT"
] | null | null | null | YouLocal/API/PersistencyManager.h | mvelikov/notifications-ios-app-example | 0c83b300f5104e6cbe0dcbeafdfa45df77bee6ea | [
"MIT"
] | null | null | null | YouLocal/API/PersistencyManager.h | mvelikov/notifications-ios-app-example | 0c83b300f5104e6cbe0dcbeafdfa45df77bee6ea | [
"MIT"
] | null | null | null | //
// PersistencyManager.h
// Mapa.bg
//
// Created by Mihail Velikov on 1/7/15.
// Copyright (c) 2015 Mapa.bg. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Collection.h"
@interface PersistencyManager : NSObject
- (NSArray *) objects;
- (void) setObjectsFromArray: (NSArray*) array;
- (void) ... | 19.777778 | 62 | 0.679775 | [
"object"
] |
0f2e982e611da2c298ce4e45206f5c6b7b211e55 | 9,039 | h | C | Code/Widgets/vtkMimxCreateElementSetWidgetFEMesh.h | Piyusha23/IAFEMesh | e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f | [
"BSD-4-Clause-UC"
] | null | null | null | Code/Widgets/vtkMimxCreateElementSetWidgetFEMesh.h | Piyusha23/IAFEMesh | e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f | [
"BSD-4-Clause-UC"
] | null | null | null | Code/Widgets/vtkMimxCreateElementSetWidgetFEMesh.h | Piyusha23/IAFEMesh | e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f | [
"BSD-4-Clause-UC"
] | null | null | null | /*=========================================================================
Program: MIMX Meshing Toolkit
Module: $RCSfile: vtkMimxCreateElementSetWidgetFEMesh.h,v $
Language: C++
Date: $Date: 2013/01/29 22:07:08 $
Version: $Revision: 1.2 $
Musculoskeletal Imaging, Modelling and Experimentation (MIMX)
... | 36.011952 | 102 | 0.782277 | [
"mesh",
"object",
"3d"
] |
0f30dbdea5009d99f6f932858944f10814bff706 | 1,921 | h | C | src/attributes/PaletteColourTechniqueWrapper.h | b8raoult/magics | eb2c86ec6e392e89c90044128dc671f22283d6ad | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-12-07T23:10:50.000Z | 2022-02-19T03:01:49.000Z | src/attributes/PaletteColourTechniqueWrapper.h | b8raoult/magics | eb2c86ec6e392e89c90044128dc671f22283d6ad | [
"ECL-2.0",
"Apache-2.0"
] | 59 | 2019-01-04T15:43:30.000Z | 2022-03-31T09:48:15.000Z | src/attributes/PaletteColourTechniqueWrapper.h | b8raoult/magics | eb2c86ec6e392e89c90044128dc671f22283d6ad | [
"ECL-2.0",
"Apache-2.0"
] | 13 | 2019-01-07T14:36:33.000Z | 2021-09-06T14:48:36.000Z |
/******************************* LICENSE *******************************
* (C) Copyright 1996-2016 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the p... | 20.655914 | 81 | 0.698594 | [
"object"
] |
0f4abbf238558df9ab4ca1fc47f5b237ac6f54dd | 2,063 | h | C | src/nodes/mec/MECPlatform/MECServices/LocationService/resources/LocationResource.h | talal00/Simu5G | ffbdda3e4cd873b49d7022912fe25e39d1a503e8 | [
"Intel"
] | 58 | 2021-04-15T09:20:26.000Z | 2022-03-31T08:52:23.000Z | src/nodes/mec/MECPlatform/MECServices/LocationService/resources/LocationResource.h | talal00/Simu5G | ffbdda3e4cd873b49d7022912fe25e39d1a503e8 | [
"Intel"
] | 34 | 2021-05-14T15:05:36.000Z | 2022-03-31T20:51:33.000Z | src/nodes/mec/MECPlatform/MECServices/LocationService/resources/LocationResource.h | talal00/Simu5G | ffbdda3e4cd873b49d7022912fe25e39d1a503e8 | [
"Intel"
] | 30 | 2021-04-16T05:46:13.000Z | 2022-03-28T15:26:29.000Z | //
// Simu5G
//
// Authors: Giovanni Nardini, Giovanni Stea, Antonio Virdis (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are par... | 30.791045 | 110 | 0.748425 | [
"geometry",
"object",
"vector"
] |
0f6ebed165e099d99935a889c269c001ade11615 | 8,459 | h | C | Libraries/gtkmm/include/gtkmm/gtkmm/cellrendererprogress.h | utilForever/Wings | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | [
"MIT"
] | 3 | 2017-01-19T09:30:50.000Z | 2017-03-20T10:47:20.000Z | Libraries/gtkmm/include/gtkmm/gtkmm/cellrendererprogress.h | utilForever/Wings | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | [
"MIT"
] | null | null | null | Libraries/gtkmm/include/gtkmm/gtkmm/cellrendererprogress.h | utilForever/Wings | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | [
"MIT"
] | 2 | 2017-01-19T09:32:19.000Z | 2021-03-15T16:00:43.000Z | // -*- c++ -*-
// Generated by gmmproc 2.44.0 -- DO NOT MODIFY!
#ifndef _GTKMM_CELLRENDERERPROGRESS_H
#define _GTKMM_CELLRENDERERPROGRESS_H
#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>
/* Copyright (C) 2004 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* mo... | 35.84322 | 124 | 0.746187 | [
"object"
] |
6683b62a28132addac2227adae92547514a313dd | 1,787 | h | C | mainwindow.h | C10H16N5O12P3/installer | f1bc53b3699309b54f5f2675aa5ef7c5678126fa | [
"MIT"
] | null | null | null | mainwindow.h | C10H16N5O12P3/installer | f1bc53b3699309b54f5f2675aa5ef7c5678126fa | [
"MIT"
] | null | null | null | mainwindow.h | C10H16N5O12P3/installer | f1bc53b3699309b54f5f2675aa5ef7c5678126fa | [
"MIT"
] | null | null | null | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>
#include <QtCore/QJsonDocument>
#include <QtCore/QJsonArray>
#include <QtCore/QJsonObject>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWi... | 22.910256 | 86 | 0.731393 | [
"vector"
] |
668d9df555c3c3ec7dd384a75ebe418ccbda187e | 9,637 | h | C | Voltron/Source/QuestionsDEntrevue/LeetCode/LeetCodeQuestions.h | ernestyalumni/HrdwCCppCUDA | 17ed937dea06431a4d5ca103f993ea69a6918734 | [
"MIT"
] | 1 | 2018-02-09T19:44:51.000Z | 2018-02-09T19:44:51.000Z | Voltron/Source/QuestionsDEntrevue/LeetCode/LeetCodeQuestions.h | ernestyalumni/HrdwCCppCUDA | 17ed937dea06431a4d5ca103f993ea69a6918734 | [
"MIT"
] | null | null | null | Voltron/Source/QuestionsDEntrevue/LeetCode/LeetCodeQuestions.h | ernestyalumni/HrdwCCppCUDA | 17ed937dea06431a4d5ca103f993ea69a6918734 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
/// \file LeetCodeQuestions.h
/// \author Ernest Yeung
/// \brief
///
/// \ref https://leetcode.com/explore/learn/card/data-structure-tree/134/traverse-a-tree/992/
/// \ref LeetCode, Binary Trees
//----------------------------------------... | 37.065385 | 93 | 0.544568 | [
"vector"
] |
6693741273da3460bf5b612f739ad14f24c2679d | 945 | h | C | include/game/world/cursor_handler.h | codeka/ravaged-planets | ab20247b3829414e71b58c9a6e926bddf41f1da5 | [
"Apache-2.0"
] | null | null | null | include/game/world/cursor_handler.h | codeka/ravaged-planets | ab20247b3829414e71b58c9a6e926bddf41f1da5 | [
"Apache-2.0"
] | null | null | null | include/game/world/cursor_handler.h | codeka/ravaged-planets | ab20247b3829414e71b58c9a6e926bddf41f1da5 | [
"Apache-2.0"
] | 3 | 2017-07-17T22:24:17.000Z | 2019-10-15T18:37:15.000Z | #pragma once
namespace ent {
class entity;
class entity_manager;
}
namespace game {
class terrain;
/**
* This class "handles" the cursor. That is, it remembers which entity (if any) is currently under the cursor as well
* what happens when you click the mouse button.
*/
class cursor_handler {
priva... | 24.230769 | 118 | 0.702646 | [
"vector"
] |
66b97a597857807b0cfb936938f79ee220353f16 | 90,536 | h | C | VSBellNew/include/prim-string.h | haskellstudio/belle_old | a5ce86954b61dbacde1d1bf24472d95246be45e5 | [
"BSD-2-Clause"
] | null | null | null | VSBellNew/include/prim-string.h | haskellstudio/belle_old | a5ce86954b61dbacde1d1bf24472d95246be45e5 | [
"BSD-2-Clause"
] | null | null | null | VSBellNew/include/prim-string.h | haskellstudio/belle_old | a5ce86954b61dbacde1d1bf24472d95246be45e5 | [
"BSD-2-Clause"
] | null | null | null | /*
==============================================================================
Copyright 2007-2013, 2017 William Andrew Burnson
Copyright 2013-2016 Robert Taub
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
... | 31.165577 | 80 | 0.568724 | [
"object",
"vector"
] |
66bcd4864c729f684fb3bcd84a110e76275f2266 | 3,677 | h | C | exegesis/x86/cleanup_instruction_set_operand_info.h | the-eager-ghosts/EXEgesis | ca6ab91c0e1f617881a34c8e794ea37466229590 | [
"Apache-2.0"
] | 201 | 2017-05-12T05:04:55.000Z | 2022-03-14T15:49:37.000Z | exegesis/x86/cleanup_instruction_set_operand_info.h | the-eager-ghosts/EXEgesis | ca6ab91c0e1f617881a34c8e794ea37466229590 | [
"Apache-2.0"
] | 7 | 2017-05-22T11:52:06.000Z | 2022-02-26T16:30:46.000Z | exegesis/x86/cleanup_instruction_set_operand_info.h | the-eager-ghosts/EXEgesis | ca6ab91c0e1f617881a34c8e794ea37466229590 | [
"Apache-2.0"
] | 35 | 2017-05-16T04:00:06.000Z | 2022-02-27T03:37:16.000Z | // Copyright 2016 Google Inc.
//
// 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 in w... | 47.141026 | 80 | 0.802013 | [
"transform"
] |
66c6258ed33a192d0cf2622ce59110fefc377463 | 4,505 | h | C | pepnovo/src/DatFile.h | compomics/jwrapper-pepnovo | 1bd21a4910d7515dfab7747711917176a6b5ce99 | [
"Apache-2.0"
] | null | null | null | pepnovo/src/DatFile.h | compomics/jwrapper-pepnovo | 1bd21a4910d7515dfab7747711917176a6b5ce99 | [
"Apache-2.0"
] | null | null | null | pepnovo/src/DatFile.h | compomics/jwrapper-pepnovo | 1bd21a4910d7515dfab7747711917176a6b5ce99 | [
"Apache-2.0"
] | null | null | null | #ifndef __DATFILE_H__
#define __DATFILE_H__
#include "PeakList.h"
class SingleSpectrumHeader; // fwd dclr
struct Peak;
const size_t DAT_HEADER_SIZE = sizeof(clusterIdx_t) + sizeof(longInt8_t) + 2*sizeof(mass_t);
const size_t DAT_BUFFER_SIZE = 1179648;
// offset to the position of the sqs field in the h... | 31.284722 | 103 | 0.707436 | [
"vector"
] |
66ca4f0bae0411ad74606dcbfa3fc125d78d0ea3 | 5,387 | h | C | Embarcadero/OpenGL/MD2 ray picking/Classes/QR_3D/QR_Effects/QR_MSAA_OpenGL_Effect.h | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | 1 | 2022-03-22T14:41:15.000Z | 2022-03-22T14:41:15.000Z | Embarcadero/OpenGL/MD2 ray picking/Classes/QR_3D/QR_Effects/QR_MSAA_OpenGL_Effect.h | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | null | null | null | Embarcadero/OpenGL/MD2 ray picking/Classes/QR_3D/QR_Effects/QR_MSAA_OpenGL_Effect.h | Jeanmilost/Demos | 2b71f6edc85948540660d290183530fd846262ad | [
"MIT"
] | null | null | null | /****************************************************************************
* ==> QR_MSAA_OpenGL_Effect -----------------------------------------------*
****************************************************************************
* Description : Post-processing multi sampled anti aliasing effect for *
* ... | 36.89726 | 79 | 0.517728 | [
"render",
"object"
] |
66d8f6c9d52fa7cecc054fe23d6dd16de50f0287 | 15,396 | h | C | c++/src/capnproto/message.h | sbinet/capnproto | 9ebc30203b50178eaf6ee094454d53576fc0ff17 | [
"BSD-2-Clause"
] | null | null | null | c++/src/capnproto/message.h | sbinet/capnproto | 9ebc30203b50178eaf6ee094454d53576fc0ff17 | [
"BSD-2-Clause"
] | null | null | null | c++/src/capnproto/message.h | sbinet/capnproto | 9ebc30203b50178eaf6ee094454d53576fc0ff17 | [
"BSD-2-Clause"
] | 1 | 2018-03-23T17:54:48.000Z | 2018-03-23T17:54:48.000Z | // Copyright (c) 2013, Kenton Varda <temporal@gmail.com>
// 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
//... | 47.813665 | 100 | 0.75039 | [
"object"
] |
66dbc1efa531b09ec62bc59cb344a4e175b486cb | 4,808 | h | C | C/ellipsoids.h | yketa/Umea-universitet---Spring-2017---code | eff7b22727a2e78705b360ed5c47e551bff59f09 | [
"MIT"
] | null | null | null | C/ellipsoids.h | yketa/Umea-universitet---Spring-2017---code | eff7b22727a2e78705b360ed5c47e551bff59f09 | [
"MIT"
] | null | null | null | C/ellipsoids.h | yketa/Umea-universitet---Spring-2017---code | eff7b22727a2e78705b360ed5c47e551bff59f09 | [
"MIT"
] | null | null | null | #ifndef ELLIPSOIDS_H
#define ELLIPSOIDS_H
#include "param.h"
#include "maths.h"
/*STRUCTURES*/
typedef struct Overlap{
/*DESCRIBES THE INTERACTIONS BETWEEN PARTICLES*/
/*defined per couple of particles*/
/*Communication between functions*/
int overlapping; /*boolean ; 1 = overlapping / 0 = not overlapping*/
/*V... | 40.403361 | 106 | 0.745424 | [
"vector"
] |
66de257675aa2c2a2e27030e021bd6185076baee | 1,536 | h | C | inc/object_container.h | emiflake/RTv1 | 76f8f799d7e89c69b3c6c90cd77288fd32e2b56b | [
"MIT"
] | null | null | null | inc/object_container.h | emiflake/RTv1 | 76f8f799d7e89c69b3c6c90cd77288fd32e2b56b | [
"MIT"
] | 2 | 2019-09-23T17:00:16.000Z | 2019-09-23T17:00:22.000Z | inc/object_container.h | emiflake/RTv1 | 76f8f799d7e89c69b3c6c90cd77288fd32e2b56b | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* :::::::: */
/* object_container.h :+: :+: ... | 36.571429 | 80 | 0.400391 | [
"object"
] |
66f6d13dc2771607c9f68d5df3d8a93bf5874269 | 6,930 | h | C | syzygy/reorder/basic_block_optimizer.h | nzeh/syzygy | 3573e3d458dbb4285753c28a7cb42ced739f9f55 | [
"Apache-2.0"
] | 343 | 2015-01-07T05:58:44.000Z | 2022-03-15T14:55:21.000Z | syzygy/reorder/basic_block_optimizer.h | nzeh/syzygy-nzeh | 3757e53f850644721284073de318e218224dd411 | [
"Apache-2.0"
] | 61 | 2015-03-19T18:20:21.000Z | 2019-10-23T12:58:23.000Z | syzygy/reorder/basic_block_optimizer.h | nzeh/syzygy-nzeh | 3757e53f850644721284073de318e218224dd411 | [
"Apache-2.0"
] | 66 | 2015-01-20T15:35:05.000Z | 2021-11-25T16:49:41.000Z | // Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 42 | 80 | 0.717749 | [
"vector"
] |
66fb074aa6d07da70a8b283a29055809910e5e05 | 15,495 | h | C | libdai/include/dai/dfactor.h | akxlr/tbp | bde86b6156c9fd70cd26001621db397100355003 | [
"MIT"
] | 11 | 2018-01-31T16:14:28.000Z | 2021-06-22T03:45:11.000Z | libdai/include/dai/dfactor.h | akxlr/tbp | bde86b6156c9fd70cd26001621db397100355003 | [
"MIT"
] | 1 | 2019-05-25T08:20:58.000Z | 2020-02-17T10:58:55.000Z | libdai/include/dai/dfactor.h | akxlr/tbp | bde86b6156c9fd70cd26001621db397100355003 | [
"MIT"
] | 3 | 2018-12-13T11:49:22.000Z | 2021-12-31T03:19:26.000Z |
/// \file
/// \brief Defines DFactor class which represents decomposed factors in probability distributions.
#ifndef __defined_libdai_dfactor_h
#define __defined_libdai_dfactor_h
#include <iostream>
#include <functional>
#include <cmath>
#include <dai/prob.h>
#include <dai/varset.h>
#include <dai/index.h>
#include ... | 37.427536 | 159 | 0.5909 | [
"object",
"vector"
] |
0f04cd8d7ed1446c5f8a7775f682d75db0ede0d5 | 2,759 | h | C | src/Grid/Grid.h | AlexIII/GRAFEN | 9643b13350dbbce5355a02715270f1e481aacf94 | [
"MIT"
] | 1 | 2019-09-09T03:44:40.000Z | 2019-09-09T03:44:40.000Z | src/Grid/Grid.h | AlexIII/GRAFEN | 9643b13350dbbce5355a02715270f1e481aacf94 | [
"MIT"
] | null | null | null | src/Grid/Grid.h | AlexIII/GRAFEN | 9643b13350dbbce5355a02715270f1e481aacf94 | [
"MIT"
] | 1 | 2019-09-14T20:30:21.000Z | 2019-09-14T20:30:21.000Z | #pragma once
#include <stdint.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <functional>
#include <math.h>
#define __int32 int
class Grid
{
private:
__int32 ReadInt32(std::ifstream* fs);
double ReadDouble(std::ifstream* fs);
void WriteInt32(std::ofstream* fs, __int32 valu... | 22.25 | 80 | 0.625951 | [
"vector"
] |
0f096fb34384a9b470eefc06f96aa29deeb3e374 | 593 | c | C | d/magic/obj/timemass.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/magic/obj/timemass.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/magic/obj/timemass.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>;
inherit OBJECT;
object spell;
void create(){
::create();
set_name("silvery haze");
set_id( ({"haze","silvery haze","time hop haze"}) );
set_short("%^BOLD%^A %^RESET%^s%^BOLD%^i%^RESET%^l%^BOLD%^v"
"%^RESET%^e%^BOLD%^r%^RESET%^y %^BOLD%^haze%^RESET%^");
set_long("A strange %^RESE... | 25.782609 | 74 | 0.608769 | [
"object",
"shape"
] |
5865a2f62335a533b87dd0301d179f25a02fe598 | 805 | h | C | CsPlugin/Source/CsCore/Public/Animation/AnimNotifies/CsAnimNotify_PlaySound.h | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | 2 | 2019-03-17T10:43:53.000Z | 2021-04-20T21:24:19.000Z | CsPlugin/Source/CsCore/Public/Animation/AnimNotifies/CsAnimNotify_PlaySound.h | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | CsPlugin/Source/CsCore/Public/Animation/AnimNotifies/CsAnimNotify_PlaySound.h | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Animation/AnimNotifies/AnimNotify.h"
// Types
#include "Managers/Sound/CsTypes_Sound.h"
#include "CsAnimNotify_PlaySound.generated.h"
class UAnimSequenceBase;
class USkeletalMeshComponent;
UCLASS(const, hidecategories=Object, collaps... | 28.75 | 96 | 0.81118 | [
"object"
] |
586b6f18cdc7f35f1f7bc235ac1a6d74fc10804a | 1,325 | h | C | Source/GlyphVR/Glyph.h | FlippRipp/GlyphVR | 3c52816e0513f50407f2f3c2fb600fb94142eb63 | [
"MIT"
] | null | null | null | Source/GlyphVR/Glyph.h | FlippRipp/GlyphVR | 3c52816e0513f50407f2f3c2fb600fb94142eb63 | [
"MIT"
] | null | null | null | Source/GlyphVR/Glyph.h | FlippRipp/GlyphVR | 3c52816e0513f50407f2f3c2fb600fb94142eb63 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Glyph.generated.h"
UENUM(Blueprintable)
enum class GlyphEnum : uint8
{
SpellCircle UMETA(DisplayName = "SpellCircle"), //0
//Element glyphs
Air UMETA(Dis... | 23.660714 | 78 | 0.691321 | [
"shape"
] |
586ef37073c0928cafd0c90bb2bb76be48373d0f | 5,538 | h | C | moveit_core/collision_detection/include/moveit/collision_detection/grid_based_world.h | dyouakim/moveit | fc103e75a7bc6c09b6b7c32aaa12f84283e09bba | [
"BSD-3-Clause"
] | null | null | null | moveit_core/collision_detection/include/moveit/collision_detection/grid_based_world.h | dyouakim/moveit | fc103e75a7bc6c09b6b7c32aaa12f84283e09bba | [
"BSD-3-Clause"
] | null | null | null | moveit_core/collision_detection/include/moveit/collision_detection/grid_based_world.h | dyouakim/moveit | fc103e75a7bc6c09b6b7c32aaa12f84283e09bba | [
"BSD-3-Clause"
] | 1 | 2019-12-14T13:01:03.000Z | 2019-12-14T13:01:03.000Z | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, Andrew Dornbush
// 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. Redistribut... | 39 | 134 | 0.711087 | [
"object",
"shape",
"vector"
] |
586f944ab388b1a278233f48fe6c7e3ef6f16db2 | 2,926 | h | C | ModelingProject1/SourceCode/Game Core/GameSound.h | OscarRPR/samurai-reborn | 9354e18942c220f687bf1b54649e19541b19157b | [
"MIT"
] | 1 | 2015-10-11T01:26:08.000Z | 2015-10-11T01:26:08.000Z | ModelingProject1/SourceCode/Game Core/GameSound.h | OscarRPR/samurai-reborn | 9354e18942c220f687bf1b54649e19541b19157b | [
"MIT"
] | null | null | null | ModelingProject1/SourceCode/Game Core/GameSound.h | OscarRPR/samurai-reborn | 9354e18942c220f687bf1b54649e19541b19157b | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <vector>
#include <fmod.hpp>
#include <fmod_errors.h>
#include <PlayerSpriteStates.h>
#include <File.h>
/* **ID's**
SoundID:
0 = characterSound
1 = Menu/LevelSound
StateID:
0 = attackSound
1 = groundhitSound
2 = runningSound
3 = Still Attack Sound
**Fi... | 25.008547 | 72 | 0.689337 | [
"vector"
] |
587ebba43be49c1308cd6e4d7e0d2b7a25a03025 | 4,370 | h | C | src/bittorrent/service.h | i96751414/torrest-cpp | 1a975c598c316a9801d5b1b9d83908ba05084fc3 | [
"MIT"
] | null | null | null | src/bittorrent/service.h | i96751414/torrest-cpp | 1a975c598c316a9801d5b1b9d83908ba05084fc3 | [
"MIT"
] | null | null | null | src/bittorrent/service.h | i96751414/torrest-cpp | 1a975c598c316a9801d5b1b9d83908ba05084fc3 | [
"MIT"
] | 1 | 2021-12-06T05:52:29.000Z | 2021-12-06T05:52:29.000Z | #ifndef TORREST_SERVICE_H
#define TORREST_SERVICE_H
#include <regex>
#include <mutex>
#include <vector>
#include <atomic>
#include <condition_variable>
#include <memory>
#include "spdlog/spdlog.h"
#include "libtorrent/settings_pack.hpp"
#include "libtorrent/session.hpp"
#include "settings/settings.h"
#include "torre... | 31.438849 | 104 | 0.659039 | [
"vector"
] |
588d44f1c5354f1439cfc7d39054b653982bf283 | 6,924 | h | C | src/ai/server/Server.h | sagpant/simpleai | db3acd891f46f67ae70c271bf88a46e6e6b28b0f | [
"Zlib"
] | 173 | 2015-01-01T23:01:47.000Z | 2022-03-05T23:12:24.000Z | src/ai/server/Server.h | mgerhardy/simpleai | db3acd891f46f67ae70c271bf88a46e6e6b28b0f | [
"Zlib"
] | 31 | 2015-01-24T08:07:50.000Z | 2019-10-08T19:12:30.000Z | src/ai/server/Server.h | mgerhardy/simpleai | db3acd891f46f67ae70c271bf88a46e6e6b28b0f | [
"Zlib"
] | 14 | 2015-08-23T21:25:32.000Z | 2022-03-02T05:33:38.000Z | /**
* @file
*/
#pragma once
#include "common/Thread.h"
#include "tree/TreeNode.h"
#include <unordered_set>
#include "Network.h"
#include "zone/Zone.h"
#include "AIRegistry.h"
#include "AIStateMessage.h"
#include "AINamesMessage.h"
#include "AIStubTypes.h"
#include "AICharacterDetailsMessage.h"
#include "AICharacterS... | 31.616438 | 148 | 0.736568 | [
"vector"
] |
58976f0177bc1a55f79d98dddd68349b18389ffa | 3,163 | h | C | src/devices/sound/ym2154.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/devices/sound/ym2154.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/devices/sound/ym2154.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Aaron Giles
#ifndef MAME_SOUND_YM2154_H
#define MAME_SOUND_YM2154_H
#pragma once
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
DECLARE_DEVICE_T... | 31.63 | 151 | 0.654126 | [
"vector"
] |
5897b1c7942d6d3bd5887bc4e479b382818ce2b0 | 468 | h | C | Pdf/pdfix_sdk_example_cpp-master/include/pdfixsdksamples/ParsePageContent.h | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | 1 | 2021-08-23T05:56:09.000Z | 2021-08-23T05:56:09.000Z | Pdf/pdfix_sdk_example_cpp-master/include/pdfixsdksamples/ParsePageContent.h | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | null | null | null | Pdf/pdfix_sdk_example_cpp-master/include/pdfixsdksamples/ParsePageContent.h | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | null | null | null | #pragma once
#include <string>
#include <iostream>
#include "Pdfix.h"
using namespace PDFixSDK;
namespace ParsePageContent {
// ProcessObject gets the value of the object.
void ProcessPageObject(PdsPageObject* obj, std::ostream& ss, std::string indent);
// Iterates all documents bookmars.
void Run(
const std::w... | 23.4 | 81 | 0.673077 | [
"object"
] |
5898e103e769382a00701c491ec76e4d1fc38909 | 1,146 | h | C | codes/include/engine/threadloop.h | liangpengcheng/tng | 01c6517f734d5db01f7d59bf95b225f6d1642b6e | [
"BSD-3-Clause"
] | 3 | 2016-04-16T06:24:20.000Z | 2018-09-29T13:36:51.000Z | codes/include/engine/threadloop.h | liangpengcheng/tng | 01c6517f734d5db01f7d59bf95b225f6d1642b6e | [
"BSD-3-Clause"
] | null | null | null | codes/include/engine/threadloop.h | liangpengcheng/tng | 01c6517f734d5db01f7d59bf95b225f6d1642b6e | [
"BSD-3-Clause"
] | 3 | 2016-04-29T11:46:08.000Z | 2019-09-16T03:27:30.000Z | #pragma once
#include "core/os.h"
#include "engine/engine_macros.h"
#include "core/refobject.h"
#include "uv/include/uv.h"
#include "core/threadfun.h"
#include <unordered_map>
namespace tng
{
/**
Loop
One Loop is one thread
*/
class Service;
class ENGINE_API Loop:public RefCountedObject
{
public:
typedef s... | 20.464286 | 67 | 0.680628 | [
"vector"
] |
589db89f3ce36c555b2420229a1f795ce82d6b2e | 12,366 | c | C | vlc_linux/vlc-3.0.16/src/modules/modules.c | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/src/modules/modules.c | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/src/modules/modules.c | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | /*****************************************************************************
* modules.c : Builtin and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001-2011 VLC authors and VideoLAN
* $Id: 3ad50fb39153f3257304f1bad35c172e4b6526a... | 26.088608 | 86 | 0.599062 | [
"object"
] |
58bb65f9c3409f8328ee6ed7aad1f3f7e601561c | 3,162 | h | C | cued-rnnlm.v1.1.evaloncpu/rnnlm.h | JJorgeDSIC/CUED-RNNLM-Toolkit-Adapted | 109937a2dc275403108271f1ff1735104eeee47a | [
"BSD-3-Clause"
] | 1 | 2021-11-27T10:31:01.000Z | 2021-11-27T10:31:01.000Z | cued-rnnlm.v1.1.evaloncpu/rnnlm.h | JJorgeDSIC/CUED-RNNLM-Toolkit-Adapted | 109937a2dc275403108271f1ff1735104eeee47a | [
"BSD-3-Clause"
] | null | null | null | cued-rnnlm.v1.1.evaloncpu/rnnlm.h | JJorgeDSIC/CUED-RNNLM-Toolkit-Adapted | 109937a2dc275403108271f1ff1735104eeee47a | [
"BSD-3-Clause"
] | null | null | null | #include "head.h"
#include "layer.h"
#include "cudamatrix.h"
#include "fileops.h"
#include "DataType.h"
#include <omp.h>
#include <random>
#include <algorithm>
typedef mt19937_64 rng_type;
class RNNLM
{
protected:
string inmodelfile, outmodelfile, trainfile, validfile,
testfile, inputwlist, outputwlist... | 34.369565 | 158 | 0.697343 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.