hexsha stringlengths 40 40 | size int64 19 11.4M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 270 | max_stars_repo_name stringlengths 5 110 | max_stars_repo_head_hexsha stringlengths 40 40 | 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 270 | max_issues_repo_name stringlengths 5 116 | 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 270 | max_forks_repo_name stringlengths 5 116 | 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 19 11.4M | avg_line_length float64 1.93 229k | max_line_length int64 12 688k | alphanum_fraction float64 0.07 0.99 | matches listlengths 1 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c42f483932d5bc212108ac55d25a064be197c33d | 18,478 | cxx | C++ | build2/cxx/init.cxx | yssource/build2 | 3f32c45ea6e4406ff6a320e24fccddab467af3e4 | [
"MIT"
] | null | null | null | build2/cxx/init.cxx | yssource/build2 | 3f32c45ea6e4406ff6a320e24fccddab467af3e4 | [
"MIT"
] | null | null | null | build2/cxx/init.cxx | yssource/build2 | 3f32c45ea6e4406ff6a320e24fccddab467af3e4 | [
"MIT"
] | null | null | null | // file : build2/cxx/init.cxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#include <build2/cxx/init.hxx>
#include <build2/scope.hxx>
#include <build2/context.hxx>
#include <build2/diagnostics.hxx>
#include <build2/cc/guess.hxx>
#include... | 31.318644 | 79 | 0.464444 | [
"vector"
] |
c430527d889d47fbba015deacc1075fc0eb65d1d | 9,891 | cpp | C++ | server/draw_server.cpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 10 | 2020-01-18T09:28:47.000Z | 2020-04-28T15:37:42.000Z | server/draw_server.cpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 1 | 2020-04-28T15:29:52.000Z | 2020-04-28T15:35:03.000Z | server/draw_server.cpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 2 | 2020-01-20T06:54:26.000Z | 2022-01-11T09:01:42.000Z | #if defined(_WIN32)
#include <winsock2.h>
#else
#include <netinet/in.h>
#endif
#include <iostream>
#include <ctime>
#include "common/log.hpp"
#include "socket/tcp_listener.hpp"
#include "socket/tcp_socket.hpp"
#include "common/packet.hpp"
#include "protocol/protocol_generated.h"
#include "draw_server.hpp"
usi... | 37.608365 | 119 | 0.675159 | [
"vector"
] |
c43f8a128e2ee95187e72958f6d386049a753250 | 7,570 | cpp | C++ | SemperEngine/Source/SemperEngine/Graphics/Renderers/Batcher2D.cpp | SemperParatusGithub/SemperEngine | 5cd8df60bfc2d04f00a781636fbd0e8152b88582 | [
"MIT"
] | 5 | 2020-12-11T13:52:56.000Z | 2021-06-28T16:17:15.000Z | SemperEngine/Source/SemperEngine/Graphics/Renderers/Batcher2D.cpp | SemperParatusGithub/SemperEngine | 5cd8df60bfc2d04f00a781636fbd0e8152b88582 | [
"MIT"
] | null | null | null | SemperEngine/Source/SemperEngine/Graphics/Renderers/Batcher2D.cpp | SemperParatusGithub/SemperEngine | 5cd8df60bfc2d04f00a781636fbd0e8152b88582 | [
"MIT"
] | null | null | null | #include "Precompiled.h"
#include "Batcher2D.h"
#include "Renderer.h" // includes VertexArray.h and Shader.h
#include "SemperEngine/Graphics/Backend/API/Texture.h"
namespace SemperEngine
{
struct QuadVertex
{
Vec4 position;
Vec4 color;
Vec2 texCoords;
float texIndex; // 0 = whiteTexture --> FlatColor
}... | 29.115385 | 129 | 0.70568 | [
"render",
"transform"
] |
c4455c9485426963c5bb1b5465400bf3a32fb2f0 | 3,253 | hpp | C++ | source/sill/glb/loader.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 15 | 2018-02-26T08:20:03.000Z | 2022-03-06T03:25:46.000Z | source/sill/glb/loader.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 32 | 2018-02-26T08:26:38.000Z | 2020-09-12T17:09:38.000Z | source/sill/glb/loader.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | null | null | null | #pragma once
#include <lava/core/render-category.hpp>
namespace lava::glb {
struct Header {
uint8_t magic[4];
uint32_t version;
uint32_t length = 0u;
};
inline std::ostream& operator<<(std::ostream& os, const Header& header);
inline std::istream& operator>>(std::istream& is, H... | 27.567797 | 124 | 0.601599 | [
"mesh",
"render",
"vector",
"transform"
] |
c4488714263de2a1d2023bc8dfb1fbf704449e74 | 7,566 | cpp | C++ | src/native-emitter.cpp | tuananh/sax-parser | d97a52205339e12dab613438258d94be2d2956dd | [
"MIT"
] | 7 | 2020-05-28T09:52:27.000Z | 2021-06-30T18:08:35.000Z | src/native-emitter.cpp | tuananh/sax-parser | d97a52205339e12dab613438258d94be2d2956dd | [
"MIT"
] | 9 | 2020-05-30T15:25:51.000Z | 2021-11-09T09:31:17.000Z | src/native-emitter.cpp | tuananh/sax-parser | d97a52205339e12dab613438258d94be2d2956dd | [
"MIT"
] | 3 | 2020-06-04T07:57:02.000Z | 2021-11-08T22:33:14.000Z | #include "native-emitter.h"
#include <iostream>
#include <string>
#include "sax-parser.h"
using namespace saxparser;
Napi::FunctionReference SaxParser::constructor;
Napi::Object SaxParser::Init(Napi::Env env, Napi::Object exports)
{
Napi::HandleScope scope(env);
Napi::Function func = DefineClass(
... | 32.612069 | 103 | 0.620539 | [
"object"
] |
c44a036bb9b1a34cf5237be918ff2dc494c93cd7 | 6,864 | cpp | C++ | src/renderer/DDGIRenderer.cpp | tippesi/Atlas-Engine | 9d135d79e24de0b826ad119b546b26802ca42207 | [
"BSD-3-Clause"
] | 41 | 2020-07-12T13:53:05.000Z | 2022-03-31T14:36:42.000Z | src/renderer/DDGIRenderer.cpp | tippesi/Atlas-Engine | 9d135d79e24de0b826ad119b546b26802ca42207 | [
"BSD-3-Clause"
] | 4 | 2019-12-19T11:36:45.000Z | 2022-03-18T00:23:51.000Z | src/renderer/DDGIRenderer.cpp | tippesi/Atlas-Engine | 9d135d79e24de0b826ad119b546b26802ca42207 | [
"BSD-3-Clause"
] | 4 | 2020-07-26T04:21:42.000Z | 2022-03-08T16:23:46.000Z | #include "DDGIRenderer.h"
#include "helper/GeometryHelper.h"
namespace Atlas {
namespace Renderer {
DDGIRenderer::DDGIRenderer() {
Helper::GeometryHelper::GenerateRectangleVertexArray(vertexArray);
rayHitBuffer = Buffer::Buffer(AE_SHADER_STORAGE_BUFFER, sizeof(vec4),
AE_BUFFER_DYNAMIC_STORAGE);
r... | 32.377358 | 87 | 0.727418 | [
"render"
] |
c44f5b9dde5033c1e8c3824803afe57d7ef20d52 | 4,348 | cxx | C++ | src/persistency/SliceConfigTreeReader.cxx | TWLord/DUNEPrismTools | bde52eb1331ac10ba81cdf1bf63488707bfe5496 | [
"MIT"
] | null | null | null | src/persistency/SliceConfigTreeReader.cxx | TWLord/DUNEPrismTools | bde52eb1331ac10ba81cdf1bf63488707bfe5496 | [
"MIT"
] | null | null | null | src/persistency/SliceConfigTreeReader.cxx | TWLord/DUNEPrismTools | bde52eb1331ac10ba81cdf1bf63488707bfe5496 | [
"MIT"
] | 3 | 2018-01-09T20:57:33.000Z | 2019-11-24T03:48:28.000Z | #include "SliceConfigTreeReader.hxx"
#include "ROOTUtility.hxx"
SliceConfig::SliceConfig(std::string const &inputFile,
std::string const &inputDir) {
dir = inputDir;
if (dir.size() && (dir.back() != '/')) {
dir += "/";
}
LoadTree(inputFile);
}
std::string SliceConfig::TreeName()... | 27.694268 | 80 | 0.630865 | [
"vector"
] |
c451e20bea5083b29c172d9e8231fd7802bb8545 | 45,955 | cc | C++ | src/backup_volume_test.cc | darkstar62/tribble-backup | 4a50a641684b25a6ff9c2850cad2ede0fa487a00 | [
"BSD-3-Clause"
] | null | null | null | src/backup_volume_test.cc | darkstar62/tribble-backup | 4a50a641684b25a6ff9c2850cad2ede0fa487a00 | [
"BSD-3-Clause"
] | null | null | null | src/backup_volume_test.cc | darkstar62/tribble-backup | 4a50a641684b25a6ff9c2850cad2ede0fa487a00 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2013, All Rights Reserved.
// Author: Cory Maccarrone <darkstar6262@gmail.com>
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "src/backup_volume.h"
#include "src/callback.h"
#include "src/common.h"
#include "src/fileset.h"
#include "src/fake_file.h"
#... | 35.51391 | 80 | 0.741399 | [
"vector"
] |
c45411c7e31dba9c664d7203c7f79f1461a76e89 | 4,112 | cpp | C++ | AI/nn/neuralnet.cpp | jjuiddong/Common | 2518fa05474222f84c474707b4511f190a34f574 | [
"MIT"
] | 2 | 2017-11-24T12:34:14.000Z | 2021-09-10T02:18:34.000Z | AI/nn/neuralnet.cpp | jjuiddong/Common | 2518fa05474222f84c474707b4511f190a34f574 | [
"MIT"
] | null | null | null | AI/nn/neuralnet.cpp | jjuiddong/Common | 2518fa05474222f84c474707b4511f190a34f574 | [
"MIT"
] | 6 | 2017-11-24T12:34:56.000Z | 2022-03-22T10:05:45.000Z |
#include "stdafx.h"
#include "neuralnet.h"
using namespace ai;
//------------------------------------------------------------------------
// sNeuron, sNeuronLayer
const double dBias = 0.f;
sNeuron::sNeuron(uint numInputs0)
: numInputs(numInputs0 + 1)
{
//we need an additional weight for the bias hence the +1
wei... | 25.861635 | 74 | 0.663911 | [
"vector"
] |
c45654f10e589f5bab03c3b4c25273b9409a4927 | 11,103 | cpp | C++ | engine/atf_helpers.cpp | 0mp/kyua | 8713ff0cbf96564ae938b9b853038af5535b6882 | [
"BSD-3-Clause"
] | 106 | 2015-01-20T14:49:12.000Z | 2022-03-09T01:31:51.000Z | engine/atf_helpers.cpp | 0mp/kyua | 8713ff0cbf96564ae938b9b853038af5535b6882 | [
"BSD-3-Clause"
] | 81 | 2015-02-23T23:23:41.000Z | 2021-07-21T13:51:56.000Z | engine/atf_helpers.cpp | 0mp/kyua | 8713ff0cbf96564ae938b9b853038af5535b6882 | [
"BSD-3-Clause"
] | 27 | 2015-09-30T20:33:34.000Z | 2022-02-14T04:00:08.000Z | // Copyright 2010 The Kyua Authors.
// 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 conditio... | 26.754217 | 80 | 0.713321 | [
"vector"
] |
c45ca837fb6e42c5cc98768c705515eb56c0533c | 20,539 | cpp | C++ | external/icu4c/test/intltest/tchcfmt.cpp | gordonjohnpatrick/XobotOS | 888ed3b8cc8d8e0a54b1858bfa5a3572545f4d2f | [
"Apache-2.0"
] | 263 | 2015-01-04T16:39:18.000Z | 2022-01-05T17:52:38.000Z | external/icu4c/test/intltest/tchcfmt.cpp | DooMLoRD/XobotOS | f20db6295e878a2f298c5e3896528e240785805b | [
"Apache-2.0"
] | 3 | 2015-09-06T09:06:39.000Z | 2019-10-15T00:52:49.000Z | source/icu/source/test/intltest/tchcfmt.cpp | racker/omnibus | 7f619cee98d551acaef3aed28c85f1c150d0ed8a | [
"Apache-2.0"
] | 105 | 2015-01-11T11:45:12.000Z | 2022-02-22T07:26:36.000Z |
/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2009, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTIN... | 32.447077 | 149 | 0.54175 | [
"object"
] |
c464395b44725b5bfcad4205dd22491ab75d8464 | 1,194 | cpp | C++ | uri-online-judge/2238/main.cpp | olegon/online-judges | 4ec27c8940ae492ce71aec0cc9ed944b094bce55 | [
"MIT"
] | 12 | 2017-11-30T11:10:45.000Z | 2022-01-26T23:49:19.000Z | uri-online-judge/2238/main.cpp | olegon/online-judges | 4ec27c8940ae492ce71aec0cc9ed944b094bce55 | [
"MIT"
] | null | null | null | uri-online-judge/2238/main.cpp | olegon/online-judges | 4ec27c8940ae492ce71aec0cc9ed944b094bce55 | [
"MIT"
] | 4 | 2017-11-25T03:13:32.000Z | 2019-08-16T08:08:10.000Z | /*
Divisores
https://www.urionlinejudge.com.br/judge/pt/problems/view/2238
*/
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
int main() {
int divisor, naoDivisor,
multiplo, naoMultiplo,
n = -1;
vector<int> divisores;
cin >> divisor >> na... | 23.411765 | 184 | 0.58794 | [
"vector"
] |
c4648a7d666adedaeaedf5acd508617265f8ed98 | 864 | cpp | C++ | acmicpc.net/source/5371.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 7 | 2019-06-26T07:03:32.000Z | 2020-11-21T16:12:51.000Z | acmicpc.net/source/5371.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | null | null | null | acmicpc.net/source/5371.cpp | tdm1223/Algorithm | 994149afffa21a81e38b822afcfc01f677d9e430 | [
"MIT"
] | 9 | 2019-02-28T03:34:54.000Z | 2020-12-18T03:02:40.000Z | // 5371. Annoying Mosquitos
// 2019.05.21
// 시뮬레이션
#include<iostream>
#include<vector>
using namespace std;
// 모기 구조체 (위치,공격여부)
struct mosquito
{
int x;
int y;
bool attack;
};
int main()
{
int t;
cin >> t;
for (int testCase = 1; testCase <= t; testCase++)
{
int cnt = 0;
int n; // 모기 수
cin >> n;
vector<... | 16 | 95 | 0.512731 | [
"vector"
] |
c4664e45fe52730429e695b4ef9146130d7cd62c | 3,162 | cpp | C++ | application/sources/mesh.cpp | JuiceFV/Emscripten_OpenGL | 56b8420ca080b17ac29b7a6b05bc4cdbb2deec1e | [
"MIT"
] | 1 | 2021-04-28T17:08:47.000Z | 2021-04-28T17:08:47.000Z | application/sources/mesh.cpp | JuiceFV/Emscripten_OpenGL | 56b8420ca080b17ac29b7a6b05bc4cdbb2deec1e | [
"MIT"
] | null | null | null | application/sources/mesh.cpp | JuiceFV/Emscripten_OpenGL | 56b8420ca080b17ac29b7a6b05bc4cdbb2deec1e | [
"MIT"
] | null | null | null | #include "mesh.h"
Mesh::Mesh(const std::vector<Vertex> &vertices, const std::vector<unsigned int> &indices,
const std::vector<Texture> &textures)
{
this->vertices = vertices;
this->indices = indices;
this->textures = textures;
// Now that we have all the required data, set the vertex buffer... | 35.931818 | 116 | 0.659393 | [
"mesh",
"render",
"vector"
] |
c466c22dee711d6b627f0465bdc54df10e860add | 1,434 | hpp | C++ | hiro/cocoa/widget/canvas.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | hiro/cocoa/widget/canvas.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | hiro/cocoa/widget/canvas.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | #if defined(Hiro_Canvas)
@interface CocoaCanvas : NSView {
@public
hiro::mCanvas* canvas;
}
-(id) initWith:(hiro::mCanvas&)canvas;
-(void) resetCursorRects;
-(NSDragOperation) draggingEntered:(id<NSDraggingInfo>)sender;
-(BOOL) performDragOperation:(id<NSDraggingInfo>)sender;
-(void) mouseButton:(NSEvent*)event down... | 28.117647 | 62 | 0.730126 | [
"geometry"
] |
c46718799f1106e6104cb0431b3f33c8a23b7100 | 1,352 | cpp | C++ | problemsets/UVA/UVA166.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/UVA166.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/UVA166.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>
#include <string>
#include <algorithm>
#include <sstream>
#include <map>
#include <set>
#include <queue>
#include <numeric>
using namespace ... | 21.806452 | 74 | 0.397929 | [
"3d"
] |
c468d5259df4ffa20cd24ba782a8cd491b43165a | 11,410 | hpp | C++ | src/libefl/vector_functions_reference_impl.hpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 17 | 2019-03-12T14:52:22.000Z | 2021-11-09T01:16:23.000Z | src/libefl/vector_functions_reference_impl.hpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | null | null | null | src/libefl/vector_functions_reference_impl.hpp | s3a-spatialaudio/VISR | 55f6289bc5058d4898106f3520e1a60644ffb3ab | [
"ISC"
] | 2 | 2019-08-11T12:53:07.000Z | 2021-06-22T10:08:08.000Z | /* Copyright Institute of Sound and Vibration Research - All rights reserved */
#ifndef VISR_LIBEFL_VECTOR_FUNCTIONS_REFERENCE_IMPL_HPP_INCLUDED
#define VISR_LIBEFL_VECTOR_FUNCTIONS_REFERENCE_IMPL_HPP_INCLUDED
#include "vector_functions_reference.hpp"
#include "alignment.hpp"
#include <complex>
// avoid annoying w... | 35.107692 | 135 | 0.64163 | [
"object",
"transform"
] |
c4695857a917a4feb7a8cadba6b9d4eec9ddcb2b | 45,274 | cpp | C++ | proj.cpp | jarreed0/bullet-hell | 2cb126fae139328754e662967fbf121d75373ece | [
"MIT"
] | 1 | 2022-02-10T19:58:05.000Z | 2022-02-10T19:58:05.000Z | proj.cpp | jarreed0/bullet-hell | 2cb126fae139328754e662967fbf121d75373ece | [
"MIT"
] | null | null | null | proj.cpp | jarreed0/bullet-hell | 2cb126fae139328754e662967fbf121d75373ece | [
"MIT"
] | null | null | null | //import
#include "include.h"
//def
const char * TITLE = "Day One";
bool running;
int WIDTH = 1800;
int HEIGHT = 900;
int flags = SDL_WINDOW_FULLSCREEN; //not used yet
SDL_Renderer* renderer;
SDL_Texture* screen;
SDL_Window* window;
TTF_Font *font;
SDL_Color font_color;
int font_size;
SDL_DisplayMode DM;
int seed;
#... | 32.315489 | 188 | 0.55343 | [
"render",
"vector"
] |
c4705de532cfa9108e7e188adb119893b12e6cfa | 15,120 | hpp | C++ | include/System/Xml/Schema/XmlSchemaException.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Xml/Schema/XmlSchemaException.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Xml/Schema/XmlSchemaException.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.SystemException
#include "Sy... | 57.490494 | 285 | 0.741997 | [
"object",
"vector"
] |
c4758694355135a624c4dc3731a94fcecc6ec818 | 2,357 | cc | C++ | src/q_151_200/q0153.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-09-28T18:41:03.000Z | 2021-09-28T18:42:57.000Z | src/q_151_200/q0153.cc | vNaonLu/Daily_LeetCode | 30024b561611d390931cef1b22afd6a5060cf586 | [
"MIT"
] | 16 | 2021-09-26T11:44:20.000Z | 2021-11-28T06:44:02.000Z | src/q_151_200/q0153.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 1 | 2021-11-22T09:11:36.000Z | 2021-11-22T09:11:36.000Z | #include <gtest/gtest.h>
#include <iostream>
#include <vector>
using namespace std;
/**
* This file is generated by leetcode_add.py v1.0
*
* 153.
* Find Minimum in Rotated Sorted Array
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* Suppose an array of length ‘n’ sorted ... | 28.059524 | 87 | 0.527365 | [
"vector"
] |
c47914c677f1f77efcd4007428f167320463bb55 | 1,845 | hpp | C++ | include/parse.hpp | goens/TUD_computational_group_theory | 3f4703cae1ac049089db23eafc321e8daca2d99d | [
"MIT"
] | 2 | 2018-09-10T09:31:17.000Z | 2018-10-14T15:19:20.000Z | include/parse.hpp | goens/TUD_computational_group_theory | 3f4703cae1ac049089db23eafc321e8daca2d99d | [
"MIT"
] | 7 | 2020-06-11T07:25:08.000Z | 2020-12-19T09:07:50.000Z | include/parse.hpp | goens/TUD_computational_group_theory | 3f4703cae1ac049089db23eafc321e8daca2d99d | [
"MIT"
] | 2 | 2020-09-10T19:31:57.000Z | 2020-12-09T13:17:50.000Z | #ifndef GUARD_PARSE_H
#define GUARD_PARSE_H
#include <stdexcept>
#include <string>
#include <vector>
#include "perm.hpp"
#include "perm_set.hpp"
#include "string.hpp"
namespace mpsym
{
namespace util
{
inline internal::Perm parse_perm(unsigned degree, std::string const &str)
{
if (str == "()")
return interna... | 19.62766 | 77 | 0.58374 | [
"vector"
] |
c47d349d074dc180b3e0a1e6ebd7d7a751f03d94 | 10,690 | cpp | C++ | Queries/socialQueries.cpp | DnlPinguin/RangeReachSolutions | e8621b53395e2a8b45ecc46a10633aec3e1d6b84 | [
"MIT",
"Unlicense"
] | null | null | null | Queries/socialQueries.cpp | DnlPinguin/RangeReachSolutions | e8621b53395e2a8b45ecc46a10633aec3e1d6b84 | [
"MIT",
"Unlicense"
] | null | null | null | Queries/socialQueries.cpp | DnlPinguin/RangeReachSolutions | e8621b53395e2a8b45ecc46a10633aec3e1d6b84 | [
"MIT",
"Unlicense"
] | null | null | null | #include "socialQueries.h"
#include "helper.h"
bool socialFirstQuery(Graph* socialGraph, LocationMap* spatialGraph, vector<queryParameter>::iterator queryParam, socialFirstResult* statistics)
{
int node = queryParam->queryNode;
box spatialRegion = queryParam->spatialRegion;
spatialMbrRelation LocationNod... | 40.957854 | 180 | 0.557717 | [
"geometry",
"vector"
] |
c482a142e3c572eb1574ed366b2a8e75e9930b44 | 100,058 | cc | C++ | wrappers/8.1.1/vtkImagePlaneWidgetWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 6 | 2016-02-03T12:48:36.000Z | 2020-09-16T15:07:51.000Z | wrappers/8.1.1/vtkImagePlaneWidgetWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 4 | 2016-02-13T01:30:43.000Z | 2020-03-30T16:59:32.000Z | wrappers/8.1.1/vtkImagePlaneWidgetWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | null | null | null | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include <nan.h>
#include "vtkPolyDataSourceWidgetWrap.h"
#include "vtkImagePlaneWidgetWrap.h"
#include "vtkObjectBaseWrap.h"
#include "vtkAlgorithmOutputWrap.h"
#include... | 31.957202 | 119 | 0.72335 | [
"object"
] |
c490270ed6c709c00c5373d11d00971f8366d8f6 | 125,258 | cpp | C++ | Server Lib/Game Server/GAME/game.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 23 | 2021-10-31T00:20:21.000Z | 2022-03-26T07:24:40.000Z | Server Lib/Game Server/GAME/game.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 5 | 2021-10-31T18:44:51.000Z | 2022-03-25T18:04:26.000Z | Server Lib/Game Server/GAME/game.cpp | CCasusensa/SuperSS-Dev | 6c6253b0a56bce5dad150c807a9bbf310e8ff61b | [
"MIT"
] | 18 | 2021-10-20T02:31:56.000Z | 2022-02-01T11:44:36.000Z | // Arquivo game.cpp
// Criado em 12/08/2018 as 14:50 por Acrisio
// Implementação da classe Game
#if defined(_WIN32)
#pragma pack(1)
#endif
#if defined(_WIN32)
#include <WinSock2.h>
#endif
#include "game.hpp"
#include "../../Projeto IOCP/UTIL/exception.h"
#include "../../Projeto IOCP/TYPE/stda_error.h"
#include "../... | 35.942037 | 247 | 0.702765 | [
"object",
"vector"
] |
c490bc21af2f66c87cc81f8da850d3714a1e2e8b | 8,267 | hpp | C++ | src/helpers.hpp | MaBunny/My_IRCbot | 82fc1e27843628b5cae9e5f6e66de456acb140d5 | [
"Apache-2.0"
] | 1 | 2019-04-29T15:01:57.000Z | 2019-04-29T15:01:57.000Z | src/helpers.hpp | OtakuSenpai/My_IRCbot | 82fc1e27843628b5cae9e5f6e66de456acb140d5 | [
"Apache-2.0"
] | 7 | 2016-07-01T06:41:23.000Z | 2016-10-31T13:35:20.000Z | src/helpers.hpp | MaBunny/My_IRCbot | 82fc1e27843628b5cae9e5f6e66de456acb140d5 | [
"Apache-2.0"
] | null | null | null | #ifndef HELPERS_HPP_INCLUDED
#define HELPERS_HPP_INCLUDED
#include <string>
#include <algorithm>
#include "settings_exception.hpp"
class Settings
{
private:
std::string server;
std::string channel;
unsigned int port;
std::string nick;
Settings_Exception *SE;
//Compare two strings
in... | 35.943478 | 316 | 0.548325 | [
"object",
"transform"
] |
c49761cfe2db8df93430ea3f2be9e001e0bc34a9 | 1,825 | hpp | C++ | lib/graph/cycle_detection.hpp | hareku/cpp-algorithm | 455339645d5797f0e6b211694345e1a221fc131c | [
"Apache-2.0"
] | null | null | null | lib/graph/cycle_detection.hpp | hareku/cpp-algorithm | 455339645d5797f0e6b211694345e1a221fc131c | [
"Apache-2.0"
] | null | null | null | lib/graph/cycle_detection.hpp | hareku/cpp-algorithm | 455339645d5797f0e6b211694345e1a221fc131c | [
"Apache-2.0"
] | null | null | null | #ifndef LIB_GRAPH_CYCLE_DETECTION_HPP
#define LIB_GRAPH_CYCLE_DETECTION_HPP 1
#include <bits/stdc++.h>
namespace lib::graph {
struct cycle_detection_graph {
public:
cycle_detection_graph() : _n(0) {}
cycle_detection_graph(int n) : _n(n), g(n) {}
void add_edge(int from, int to) {
assert(0 <= fr... | 23.101266 | 56 | 0.456438 | [
"vector"
] |
c497e3030a2c5bdf83eef0645ab480e5f46d7e6b | 6,813 | cpp | C++ | core/performance_test/peakflops/01_cpp_simple.cpp | suchyta1/Cabana | 126d67ce76645b90042197174fcc4cf494e6a56d | [
"Unlicense"
] | null | null | null | core/performance_test/peakflops/01_cpp_simple.cpp | suchyta1/Cabana | 126d67ce76645b90042197174fcc4cf494e6a56d | [
"Unlicense"
] | null | null | null | core/performance_test/peakflops/01_cpp_simple.cpp | suchyta1/Cabana | 126d67ce76645b90042197174fcc4cf494e6a56d | [
"Unlicense"
] | null | null | null | #include "common.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtest/gtest.h>
/*
For skylake
Model name: Intel(R) Xeon(R) Gold 6152 CPU @ 2.10GHz
gcc version 7.2.0
g++ -O3 -march=native peakflops.cpp -DVECLENTH=16
640000000.000000 flops
6482486 clocks
98.727556 flops/clock
For kn... | 29.493506 | 79 | 0.607368 | [
"model"
] |
7bd4a99acb0b8746284b22d4d6928a373aea9359 | 3,362 | cpp | C++ | proto/pkg_ptr.cpp | stdbio/FastBinaryEncoding | 260bae4b5c61934ef2a99ec1f51c84ea0d9c9e62 | [
"MIT"
] | null | null | null | proto/pkg_ptr.cpp | stdbio/FastBinaryEncoding | 260bae4b5c61934ef2a99ec1f51c84ea0d9c9e62 | [
"MIT"
] | 2 | 2021-12-22T09:56:18.000Z | 2022-01-10T13:35:09.000Z | proto/pkg_ptr.cpp | stdbio/FastBinaryEncoding | 260bae4b5c61934ef2a99ec1f51c84ea0d9c9e62 | [
"MIT"
] | null | null | null | // Automatically generated by the Fast Binary Encoding compiler, do not modify!
// https://github.com/chronoxor/FastBinaryEncoding
// Source: pkg.fbe
// Version: 1.7.0.0
#include "pkg_ptr.h"
namespace pkg {
Info::Info()
: info()
, sex()
, flag()
, extra()
{}
Info::Info(const std::string& arg_info, :... | 21.414013 | 114 | 0.558299 | [
"vector"
] |
7bda4fec74899b86015872d654a3b24d0a386ead | 603 | cpp | C++ | project/OFEC_sc2/instance/problem/continuous/multi_objective/ZDT/ZDT6.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/problem/continuous/multi_objective/ZDT/ZDT6.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/problem/continuous/multi_objective/ZDT/ZDT6.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | #include "ZDT6.h"
namespace OFEC {
ZDT6::ZDT6(param_map & v) : ZDT6(v.at("problem name"), v.at("number of variables")) { //param_numDim = 10 is suggested
}
ZDT6::ZDT6(const std::string & name, size_t size_var) : problem(name, size_var, 2), ZDT(name, size_var) {
}
EvalTag ZDT6::evaluateObjective(Real *x, s... | 27.409091 | 120 | 0.577114 | [
"vector"
] |
7be17d16d0274ed1f2cd03bc17da9e4b6063c144 | 9,167 | cpp | C++ | bxt.cpp | Eddio0141/bxt-frame-bulk-calculator | d900e480fc842020426ad142a611cb644ea4aa7c | [
"MIT"
] | null | null | null | bxt.cpp | Eddio0141/bxt-frame-bulk-calculator | d900e480fc842020426ad142a611cb644ea4aa7c | [
"MIT"
] | null | null | null | bxt.cpp | Eddio0141/bxt-frame-bulk-calculator | d900e480fc842020426ad142a611cb644ea4aa7c | [
"MIT"
] | null | null | null | #include "bxt.h"
namespace bxt {
namespace commands {
namespace headerSection {
// only accept version 1 format
const std::string version{ "version 1" };
const std::string seed{ "seed %m %m" };
const std::string demo{ "demo" };
const std::string frameTime{ "frametime0ms %N" };
const st... | 28.736677 | 145 | 0.628014 | [
"vector"
] |
7bf073b4b1a17271b1765e569e260949f289a5b1 | 6,193 | cpp | C++ | cmds/screencap/screencap.cpp | Keneral/aframeworksbase | e1212ca12f63686efee5c32582b2878c9ae71ead | [
"Unlicense"
] | null | null | null | cmds/screencap/screencap.cpp | Keneral/aframeworksbase | e1212ca12f63686efee5c32582b2878c9ae71ead | [
"Unlicense"
] | null | null | null | cmds/screencap/screencap.cpp | Keneral/aframeworksbase | e1212ca12f63686efee5c32582b2878c9ae71ead | [
"Unlicense"
] | null | null | null | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 30.209756 | 96 | 0.584854 | [
"vector"
] |
7bf186ae2d3b5d5c29e6069a57ab9d620cddd0c7 | 29,196 | cpp | C++ | tests/integration/olp-cpp-sdk-dataservice-write/StreamLayerClientTest.cpp | forslund/here-data-sdk-cpp | 6226950ef2543281e027b2a458fcff0c71e2f0b2 | [
"Apache-2.0"
] | 21 | 2019-07-03T07:26:52.000Z | 2019-09-04T08:35:07.000Z | tests/integration/olp-cpp-sdk-dataservice-write/StreamLayerClientTest.cpp | forslund/here-data-sdk-cpp | 6226950ef2543281e027b2a458fcff0c71e2f0b2 | [
"Apache-2.0"
] | 639 | 2019-09-13T17:14:24.000Z | 2020-05-13T11:49:14.000Z | tests/integration/olp-cpp-sdk-dataservice-write/StreamLayerClientTest.cpp | forslund/here-data-sdk-cpp | 6226950ef2543281e027b2a458fcff0c71e2f0b2 | [
"Apache-2.0"
] | 21 | 2020-05-14T15:32:28.000Z | 2022-03-15T13:52:33.000Z | /*
* Copyright (C) 2019-2020 HERE Europe B.V.
*
* 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... | 37.192357 | 80 | 0.67016 | [
"vector",
"model"
] |
7bff6268fa0847c1896a398df5af33efdf377d6e | 22,309 | cpp | C++ | src/MacMessage.cpp | gocarlos/COSE-C | 30ece3d9adf3ed56b6bcf9ae66558d62a9895560 | [
"BSD-3-Clause"
] | null | null | null | src/MacMessage.cpp | gocarlos/COSE-C | 30ece3d9adf3ed56b6bcf9ae66558d62a9895560 | [
"BSD-3-Clause"
] | null | null | null | src/MacMessage.cpp | gocarlos/COSE-C | 30ece3d9adf3ed56b6bcf9ae66558d62a9895560 | [
"BSD-3-Clause"
] | null | null | null | /** \file MacMessage.c
* Contains implementation of the functions related to HCOSE_MAC handle objects.
*/
#include <stdlib.h>
#ifndef __MBED__
#include <memory.h>
#endif
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include "cose/cose.h"
#include "cose_int.h"
#include "cose/cose_configure.h"
#include ... | 22.857582 | 80 | 0.722309 | [
"object"
] |
d00a76fe2c4b50d871cf4fc9bd71fa6d7b28d416 | 5,412 | cpp | C++ | third_party/geogram/src/lib/geogram/mesh/mesh_halfedges.cpp | ringmesh/RINGMesh | 82a0a0fb0a119492c6747265de6ec24006c4741f | [
"BSD-3-Clause"
] | 74 | 2017-10-26T15:40:23.000Z | 2022-03-22T09:27:39.000Z | third_party/geogram/src/lib/geogram/mesh/mesh_halfedges.cpp | ringmesh/ringmesh | 82a0a0fb0a119492c6747265de6ec24006c4741f | [
"BSD-3-Clause"
] | 45 | 2017-10-26T15:54:01.000Z | 2021-01-27T10:16:34.000Z | third_party/geogram/src/lib/geogram/mesh/mesh_halfedges.cpp | ringmesh/ringmesh | 82a0a0fb0a119492c6747265de6ec24006c4741f | [
"BSD-3-Clause"
] | 17 | 2018-03-27T11:31:24.000Z | 2022-03-06T18:41:52.000Z | /*
* Copyright (c) 2012-2014, Bruno Levy
* 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 c... | 35.372549 | 79 | 0.614375 | [
"mesh"
] |
d00e51e11573d856110bacc972b9117911b57282 | 12,234 | cpp | C++ | source/src/ChebyshevApproximation.cpp | TatianaOvsiannikova/ostap | a005a78b4e2860ac8f4b618e94b4b563b2eddcf1 | [
"BSD-3-Clause"
] | 14 | 2017-03-24T12:38:08.000Z | 2022-02-21T05:00:57.000Z | source/src/ChebyshevApproximation.cpp | TatianaOvsiannikova/ostap | a005a78b4e2860ac8f4b618e94b4b563b2eddcf1 | [
"BSD-3-Clause"
] | 10 | 2019-03-08T18:48:42.000Z | 2022-03-22T11:59:48.000Z | source/src/ChebyshevApproximation.cpp | TatianaOvsiannikova/ostap | a005a78b4e2860ac8f4b618e94b4b563b2eddcf1 | [
"BSD-3-Clause"
] | 11 | 2017-03-23T15:29:58.000Z | 2022-02-21T05:03:57.000Z | // ============================================================================
// Include files
// ============================================================================
// STD&STL
// ============================================================================
#include <algorithm>
// ============================... | 38.11215 | 96 | 0.418506 | [
"object",
"transform"
] |
d0125b98e5bcc0a3b2a5acd638443c9b964edb18 | 53,168 | cpp | C++ | lib/Cloud9/Worker/JobManager.cpp | dslab-epfl/state-merging | abe500674ab3013f266836315e9c4ef18d0fb55c | [
"BSD-3-Clause"
] | null | null | null | lib/Cloud9/Worker/JobManager.cpp | dslab-epfl/state-merging | abe500674ab3013f266836315e9c4ef18d0fb55c | [
"BSD-3-Clause"
] | null | null | null | lib/Cloud9/Worker/JobManager.cpp | dslab-epfl/state-merging | abe500674ab3013f266836315e9c4ef18d0fb55c | [
"BSD-3-Clause"
] | null | null | null | /*
* Cloud9 Parallel Symbolic Execution Engine
*
* Copyright (c) 2011, Dependable Systems Laboratory, EPFL
* 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... | 29.686209 | 117 | 0.660792 | [
"object",
"vector"
] |
d013f775700f21b8d7891bc28b65e61d44e3d9b2 | 386 | cpp | C++ | lang/C++/horners-rule-for-polynomial-evaluation-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 5 | 2021-01-29T20:08:05.000Z | 2022-03-22T06:16:05.000Z | lang/C++/horners-rule-for-polynomial-evaluation-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/C++/horners-rule-for-polynomial-evaluation-1.cpp | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | 1 | 2021-04-13T04:19:31.000Z | 2021-04-13T04:19:31.000Z | #include <iostream>
#include <vector>
using namespace std;
double horner(vector<double> v, double x)
{
double s = 0;
for( vector<double>::const_reverse_iterator i = v.rbegin(); i != v.rend(); i++ )
s = s*x + *i;
return s;
}
int main()
{
double c[] = { -19, 7, -4, 6 };
vector<double> v(c, c + sizeof(c)... | 17.545455 | 82 | 0.582902 | [
"vector"
] |
d017ffcd49ce71a33460a41415ae5e668f284cf0 | 1,032 | hpp | C++ | Library/Source/EnergyManager/Benchmarking/Workloads/Workload.hpp | NB4444/BachelorProjectEnergyManager | d1fd93dcc83af6d6acd36b7efda364ac2aab90eb | [
"MIT"
] | null | null | null | Library/Source/EnergyManager/Benchmarking/Workloads/Workload.hpp | NB4444/BachelorProjectEnergyManager | d1fd93dcc83af6d6acd36b7efda364ac2aab90eb | [
"MIT"
] | null | null | null | Library/Source/EnergyManager/Benchmarking/Workloads/Workload.hpp | NB4444/BachelorProjectEnergyManager | d1fd93dcc83af6d6acd36b7efda364ac2aab90eb | [
"MIT"
] | null | null | null | #pragma once
#include "EnergyManager/Benchmarking/Operations/Operation.hpp"
#include "EnergyManager/Hardware/GPU.hpp"
#include "EnergyManager/Utility/Runnable.hpp"
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>
namespace EnergyManager {
namespace Benchmarking {
namespace W... | 24 | 91 | 0.679264 | [
"vector"
] |
d01ae8a45113b0a823dd2d47e80249e5ca6931a8 | 2,331 | cc | C++ | src/tir/transforms/convert_for_loops_serial.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 4,640 | 2017-08-17T19:22:15.000Z | 2019-11-04T15:29:46.000Z | src/tir/transforms/convert_for_loops_serial.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 3,022 | 2020-11-24T14:02:31.000Z | 2022-03-31T23:55:31.000Z | src/tir/transforms/convert_for_loops_serial.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 1,352 | 2017-08-17T19:30:38.000Z | 2019-11-04T16:09:29.000Z | /*
* 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 ... | 30.671053 | 97 | 0.737452 | [
"transform"
] |
d01ba09371de6eb7829957f33a46fa0c2c1d83b4 | 7,107 | hpp | C++ | include/Dice/einsum/internal/RawSubscript.hpp | lennartaustenfeld/hypertrie | 4a656a806f7fe66db1f5f123e1fcc78037dbc24c | [
"BSD-2-Clause"
] | 11 | 2020-03-02T05:02:20.000Z | 2020-12-20T09:52:58.000Z | include/Dice/einsum/internal/RawSubscript.hpp | lennartaustenfeld/hypertrie | 4a656a806f7fe66db1f5f123e1fcc78037dbc24c | [
"BSD-2-Clause"
] | 49 | 2020-01-29T16:41:04.000Z | 2021-09-03T09:40:25.000Z | include/Dice/einsum/internal/RawSubscript.hpp | lennartaustenfeld/hypertrie | 4a656a806f7fe66db1f5f123e1fcc78037dbc24c | [
"BSD-2-Clause"
] | 4 | 2020-03-24T11:14:31.000Z | 2021-02-02T13:59:38.000Z | #ifndef HYPERTRIE_RAWSUBSCRIPT_HPP
#define HYPERTRIE_RAWSUBSCRIPT_HPP
#include <vector>
#include <tuple>
#include <Dice/hash/DiceHash.hpp>
#include <tsl/hopscotch_set.h>
#include <tsl/hopscotch_map.h>
#include <itertools.hpp>
namespace einsum::internal {
/**
* A Einstein summation subscript label.
*/
using Labe... | 29.736402 | 119 | 0.68735 | [
"vector"
] |
d01dfda416faf05c1c82effce96685429a829ecf | 961 | hpp | C++ | TGEngine/Stdbase.hpp | ThePixly/TGEngine | aff5d5f42c3094dcc37253f4a3f5e09db560a4eb | [
"Apache-2.0"
] | null | null | null | TGEngine/Stdbase.hpp | ThePixly/TGEngine | aff5d5f42c3094dcc37253f4a3f5e09db560a4eb | [
"Apache-2.0"
] | null | null | null | TGEngine/Stdbase.hpp | ThePixly/TGEngine | aff5d5f42c3094dcc37253f4a3f5e09db560a4eb | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <stdio.h>
#include <iostream>
#include <cstddef>
#ifdef _WIN32
#define VK_USE_PLATFORM_WIN32_KHR
#endif
#undef VK_NO_PROTOTYPES
#include <vulkan/vulkan.hpp>
#include <vector>
#include <string>
#include "util/Annotations.hpp"
#include <thread>
#include "io/Properties.hpp"
#include "util/Math.hpp"
... | 18.480769 | 69 | 0.727367 | [
"vector"
] |
d020fc7e091a926d0abb2ac9e55e6ecb8476fad2 | 6,005 | cpp | C++ | tests/test_sql.cpp | Samsung/ckm | a61e9ce01fa45323b381e6456d07117516d2e55d | [
"Apache-2.0"
] | 10 | 2015-06-02T09:16:16.000Z | 2022-03-18T11:30:21.000Z | tests/test_sql.cpp | Samsung/ckm | a61e9ce01fa45323b381e6456d07117516d2e55d | [
"Apache-2.0"
] | null | null | null | tests/test_sql.cpp | Samsung/ckm | a61e9ce01fa45323b381e6456d07117516d2e55d | [
"Apache-2.0"
] | 6 | 2017-01-28T04:21:33.000Z | 2022-02-07T03:25:43.000Z | /*
* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
*
* Contact: Kyungwook Tak <k.tak@samsung.com>
*
* 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
*
* ... | 38.49359 | 92 | 0.676436 | [
"vector"
] |
d027a84861399202650ea2820efc74e7366a4fb1 | 22,721 | cpp | C++ | code/wxWidgets/contrib/src/deprecated/propform.cpp | Bloodknight/NeuTorsion | a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea | [
"MIT"
] | 38 | 2016-02-20T02:46:28.000Z | 2021-11-17T11:39:57.000Z | code/wxWidgets/contrib/src/deprecated/propform.cpp | Dwarf-King/TorsionEditor | e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50 | [
"MIT"
] | 17 | 2016-02-20T02:19:55.000Z | 2021-02-08T15:15:17.000Z | code/wxWidgets/contrib/src/deprecated/propform.cpp | Dwarf-King/TorsionEditor | e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50 | [
"MIT"
] | 46 | 2016-02-20T02:47:33.000Z | 2021-01-31T15:46:05.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: propform.cpp
// Purpose: Property form classes
// Author: Julian Smart
// Modified by:
// Created: 04/01/98
// RCS-ID: $Id: propform.cpp,v 1.4 2004/09/27 19:24:44 ABX Exp $
// Copyright: (c) Julian Smart
//... | 29.739529 | 117 | 0.641521 | [
"object"
] |
d028acc3a96527bea33d21b14b1665b43a1458e1 | 12,764 | cxx | C++ | couchbase/operations/management/eventing_upsert_function.cxx | avsej/couchbase-cxx-client | dd91c5bfe49953184db050db03fa181df257a281 | [
"Apache-2.0"
] | 1 | 2022-02-14T19:46:50.000Z | 2022-02-14T19:46:50.000Z | couchbase/operations/management/eventing_upsert_function.cxx | avsej/couchbase-cxx-client | dd91c5bfe49953184db050db03fa181df257a281 | [
"Apache-2.0"
] | 46 | 2021-09-15T13:49:29.000Z | 2022-02-22T15:12:16.000Z | couchbase/operations/management/eventing_upsert_function.cxx | avsej/couchbase-cxx-client | dd91c5bfe49953184db050db03fa181df257a281 | [
"Apache-2.0"
] | 5 | 2021-09-02T02:17:34.000Z | 2021-12-08T18:43:20.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2021 Couchbase, 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
*
* ht... | 37.321637 | 118 | 0.619477 | [
"vector"
] |
d02d9e39d195a90f9f8864c4706ce850e8666cb9 | 10,817 | hpp | C++ | include/Mono/Security/Cryptography/RSAManaged.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 23 | 2020-08-07T04:09:00.000Z | 2022-03-31T22:10:29.000Z | include/Mono/Security/Cryptography/RSAManaged.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 6 | 2021-09-29T23:47:31.000Z | 2022-03-30T20:49:23.000Z | include/Mono/Security/Cryptography/RSAManaged.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 17 | 2020-08-20T19:36:52.000Z | 2022-03-30T18:28:24.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Securit... | 49.619266 | 232 | 0.714339 | [
"vector"
] |
d0315ff49cdbaab5fa743c09555525e23a9c71c8 | 4,646 | cpp | C++ | tc bef160/PickTeam.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 3 | 2015-05-25T06:24:37.000Z | 2016-09-10T07:58:00.000Z | tc bef160/PickTeam.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | null | null | null | tc bef160/PickTeam.cpp | ibudiselic/contest-problem-solutions | 88082981b4d87da843472e3ca9ed5f4c42b3f0aa | [
"BSD-2-Clause"
] | 5 | 2015-05-25T06:24:40.000Z | 2021-08-19T19:22:29.000Z | #include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
class PickTeam {
public:
vector <string> pickPeople(int teamSize, vector <string> people) {
int n = (int)people.size();
int lim = 1<<n;
vector<string> names;
int a[20][20];
v... | 43.018519 | 339 | 0.511408 | [
"vector"
] |
d0342de68dc4fe2d934fe2597fc873f26cd35db8 | 8,337 | cpp | C++ | earth_enterprise/src/fusion/portableglobe/cutspec_unittest.cpp | ezeeyahoo/earthenterprise | b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9 | [
"Apache-2.0"
] | 2,661 | 2017-03-20T22:12:50.000Z | 2022-03-30T09:43:19.000Z | earth_enterprise/src/fusion/portableglobe/cutspec_unittest.cpp | ezeeyahoo/earthenterprise | b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9 | [
"Apache-2.0"
] | 1,531 | 2017-03-24T17:20:32.000Z | 2022-03-16T18:11:14.000Z | earth_enterprise/src/fusion/portableglobe/cutspec_unittest.cpp | ezeeyahoo/earthenterprise | b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9 | [
"Apache-2.0"
] | 990 | 2017-03-24T11:54:28.000Z | 2022-03-22T11:51:47.000Z | // Copyright 2017 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... | 35.029412 | 78 | 0.737795 | [
"vector"
] |
d03621848269b0a4046a2de9c4d8eb8405fa3b11 | 10,086 | cc | C++ | lite/backends/nnadapter/nnadapter/src/driver/imagination_nna/engine.cc | 714627034/Paddle-Lite | 015ba88a4d639db0b73603e37f83e47be041a4eb | [
"Apache-2.0"
] | 1 | 2022-03-18T19:48:40.000Z | 2022-03-18T19:48:40.000Z | lite/backends/nnadapter/nnadapter/src/driver/imagination_nna/engine.cc | 714627034/Paddle-Lite | 015ba88a4d639db0b73603e37f83e47be041a4eb | [
"Apache-2.0"
] | null | null | null | lite/backends/nnadapter/nnadapter/src/driver/imagination_nna/engine.cc | 714627034/Paddle-Lite | 015ba88a4d639db0b73603e37f83e47be041a4eb | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 39.552941 | 79 | 0.676681 | [
"vector",
"model"
] |
d0388c0cf1e451e48cf1109677ba07de83433bdb | 250 | cpp | C++ | SDLCraft/SDLCraft/Model.cpp | iceklue/SDL | a7ee5fab6870b11603992241146a76adcf36b4a2 | [
"MIT"
] | null | null | null | SDLCraft/SDLCraft/Model.cpp | iceklue/SDL | a7ee5fab6870b11603992241146a76adcf36b4a2 | [
"MIT"
] | null | null | null | SDLCraft/SDLCraft/Model.cpp | iceklue/SDL | a7ee5fab6870b11603992241146a76adcf36b4a2 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Model.h"
Model::Model(int vaoID, int vertexCount)
{
this->vaoID = vaoID;
this->vertexCount = vertexCount;
}
int Model::GetVaoID() const
{
return vaoID;
}
int Model::GetVertexCount() const
{
return vertexCount;
}
| 12.5 | 40 | 0.7 | [
"model"
] |
d03d27921353d39e73591450f27ea29ce0974d5b | 15,853 | cpp | C++ | service/window_manager/src/input_windows_manager.cpp | openharmony-gitee-mirror/multimodalinput_input | 17303b7662d0382f27c972ad7d149bee61a14f23 | [
"Apache-2.0"
] | 1 | 2021-12-03T13:56:40.000Z | 2021-12-03T13:56:40.000Z | service/window_manager/src/input_windows_manager.cpp | openharmony-gitee-mirror/multimodalinput_input | 17303b7662d0382f27c972ad7d149bee61a14f23 | [
"Apache-2.0"
] | null | null | null | service/window_manager/src/input_windows_manager.cpp | openharmony-gitee-mirror/multimodalinput_input | 17303b7662d0382f27c972ad7d149bee61a14f23 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:18:23.000Z | 2021-09-13T11:18:23.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 35.465324 | 119 | 0.630985 | [
"vector"
] |
d03e1fd224facd8dcf86e64f59dca860e8eb70ca | 4,415 | cpp | C++ | src/bustools_capture.cpp | Yenaled/bustools | 6fa0731f7f32c68645f0f60b1c1c89771b1c8061 | [
"BSD-2-Clause"
] | null | null | null | src/bustools_capture.cpp | Yenaled/bustools | 6fa0731f7f32c68645f0f60b1c1c89771b1c8061 | [
"BSD-2-Clause"
] | null | null | null | src/bustools_capture.cpp | Yenaled/bustools | 6fa0731f7f32c68645f0f60b1c1c89771b1c8061 | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
#include <fstream>
#include <algorithm>
#include "Common.hpp"
#include "BUSData.h"
#include "bustools_capture.h"
void bustools_capture(Bustools_opt &opt) {
BUSHeader h;
std::unordered_set<uint64_t> captures;
std::vector<std::vector<int32_t>> ecmap;
std::unordered_map<std::vector<int32_t>... | 26.12426 | 95 | 0.510306 | [
"vector"
] |
d03ea463cb9ad701f02a4644fb98712ce763b1eb | 2,985 | hh | C++ | src/modules/Common/ComputeDescription.hh | cdsc-github/parade-ara-simulator | 00c977200a8e7aa31b03d560886ec80840a3c416 | [
"BSD-3-Clause"
] | 31 | 2015-12-15T19:14:10.000Z | 2021-12-31T17:40:21.000Z | src/modules/Common/ComputeDescription.hh | cdsc-github/parade-ara-simulator | 00c977200a8e7aa31b03d560886ec80840a3c416 | [
"BSD-3-Clause"
] | 5 | 2015-12-04T08:06:47.000Z | 2020-08-09T21:49:46.000Z | src/modules/Common/ComputeDescription.hh | cdsc-github/parade-ara-simulator | 00c977200a8e7aa31b03d560886ec80840a3c416 | [
"BSD-3-Clause"
] | 21 | 2015-11-05T08:25:45.000Z | 2021-06-19T02:24:50.000Z | #ifndef COMPUTE_DESCRIPTION_H
#define COMPUTE_DESCRIPTION_H
#include <vector>
#include <stdint.h>
#include "Packetizer.hh"
#define INVALID_ARG_BASE_ADDR 0x0FFFFFFF
class ComputeDescription
{
public:
uint32_t opcode;
uint32_t spmWindowSize;
uint32_t spmWindowCount;
std::vector<bool> argActive;
std::vector<uint3... | 26.184211 | 148 | 0.629481 | [
"vector"
] |
d03fe2979d79a23b4d90e16aa573e3acc8e7dd98 | 7,708 | cpp | C++ | lib_graphd/test/GraphTest.cpp | spowers/INDDGO-survey | 860f15376f7be074f47280a74b912a8f0baa37bf | [
"BSD-3-Clause"
] | null | null | null | lib_graphd/test/GraphTest.cpp | spowers/INDDGO-survey | 860f15376f7be074f47280a74b912a8f0baa37bf | [
"BSD-3-Clause"
] | null | null | null | lib_graphd/test/GraphTest.cpp | spowers/INDDGO-survey | 860f15376f7be074f47280a74b912a8f0baa37bf | [
"BSD-3-Clause"
] | null | null | null | /*
This file is part of INDDGO.
Copyright (C) 2012, Oak Ridge National Laboratory
This product includes software produced by UT-Battelle, LLC under Contract No.
DE-AC05-00OR22725 with the Department of Energy.
This program is free software; you can redistribute it and/or modify
it under the terms o... | 24.705128 | 81 | 0.633757 | [
"vector"
] |
d04598433813aa30e9ffc315be1a554544ee8017 | 789 | hpp | C++ | DepthPass.hpp | itachoco19/graphics-lib-template-project | a395126c7c1cf4734332c255b8c04be2c8a8d7a2 | [
"MIT"
] | null | null | null | DepthPass.hpp | itachoco19/graphics-lib-template-project | a395126c7c1cf4734332c255b8c04be2c8a8d7a2 | [
"MIT"
] | null | null | null | DepthPass.hpp | itachoco19/graphics-lib-template-project | a395126c7c1cf4734332c255b8c04be2c8a8d7a2 | [
"MIT"
] | 1 | 2020-12-15T15:20:56.000Z | 2020-12-15T15:20:56.000Z | #pragma once
#include "DepthRenderPipeline.hpp"
#include "RenderPipelineWithImGuiComponents.hpp"
class DepthPass
: public RenderPipelineWithImGuiComponents
{
public:
using DepthRenderPipelineList = std::list<std::shared_ptr<DepthRenderPipeline>>;
private:
std::shared_ptr<cg::IDepthStencilBuffer> m_depthStencilBu... | 31.56 | 187 | 0.821293 | [
"render"
] |
d0460f1cc17240ffb6c671bc90698f8d1b4ec0b8 | 6,266 | cpp | C++ | main/src/Objects/CObjectRotationalMass1D.cpp | eapcivil/EXUDYN | 52bddc8c258cda07e51373f68e1198b66c701d03 | [
"BSD-3-Clause-Open-MPI"
] | 1 | 2020-10-06T08:06:25.000Z | 2020-10-06T08:06:25.000Z | main/src/Objects/CObjectRotationalMass1D.cpp | eapcivil/EXUDYN | 52bddc8c258cda07e51373f68e1198b66c701d03 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | main/src/Objects/CObjectRotationalMass1D.cpp | eapcivil/EXUDYN | 52bddc8c258cda07e51373f68e1198b66c701d03 | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | /** ***********************************************************************************************
* @brief CObjectRotationalMass1D implementation
*
* @author Gerstmayr Johannes
* @date 2019-06-15 (generated)
*
* @copyright This file is part of Exudyn. Exudyn is free software: you can redistrib... | 47.469697 | 185 | 0.759815 | [
"object",
"vector",
"3d"
] |
d04fed5d4e44087bebec05ce2a6e36c338f8f32a | 8,016 | cc | C++ | dacbench/envs/rl-plan/fast-downward/src/search/merge_and_shrink/merge_strategy_factory_sccs.cc | ndangtt/LeadingOnesDAC | 953747d8702f179851d7973c65779a1f830e03a1 | [
"Apache-2.0"
] | 1 | 2021-09-09T13:03:02.000Z | 2021-09-09T13:03:02.000Z | dacbench/envs/rl-plan/fast-downward/src/search/merge_and_shrink/merge_strategy_factory_sccs.cc | ndangtt/LeadingOnesDAC | 953747d8702f179851d7973c65779a1f830e03a1 | [
"Apache-2.0"
] | null | null | null | dacbench/envs/rl-plan/fast-downward/src/search/merge_and_shrink/merge_strategy_factory_sccs.cc | ndangtt/LeadingOnesDAC | 953747d8702f179851d7973c65779a1f830e03a1 | [
"Apache-2.0"
] | null | null | null | #include "merge_strategy_factory_sccs.h"
#include "merge_strategy_sccs.h"
#include "merge_selector.h"
#include "merge_tree_factory.h"
#include "transition_system.h"
#include "../task_proxy.h"
#include "../algorithms/sccs.h"
#include "../options/option_parser.h"
#include "../options/options.h"
#include "../options/pl... | 34.551724 | 85 | 0.659306 | [
"vector"
] |
d05089d65651cfb34dc39d798567c9815348eb33 | 26,029 | cc | C++ | sealed_storage/sealed_storage.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | sealed_storage/sealed_storage.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | sealed_storage/sealed_storage.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cstdint>
#include <string>
#include <utility>
#include <base/bind.h>
#include <base/callback_helpers.h>
#include <base/check.h>
#include <ba... | 32.455112 | 80 | 0.687656 | [
"object"
] |
d051d448af726667f5b85cca3ccab5adb777b920 | 18,018 | cpp | C++ | gcpp/classes/oif.cpp | razzlefratz/MotleyTools | 3c69c574351ce6f4b7e687c13278d4b6cbb200f3 | [
"0BSD"
] | 2 | 2015-10-15T19:32:42.000Z | 2021-12-20T15:56:04.000Z | gcpp/classes/oif.cpp | razzlefratz/MotleyTools | 3c69c574351ce6f4b7e687c13278d4b6cbb200f3 | [
"0BSD"
] | null | null | null | gcpp/classes/oif.cpp | razzlefratz/MotleyTools | 3c69c574351ce6f4b7e687c13278d4b6cbb200f3 | [
"0BSD"
] | null | null | null | /*====================================================================*
*
* oif.cpp - oif class definition;
*
* host interface information;
*
*. Motley Tools by Charles Maier
*: Published 1982-2005 by Charles Maier for personal use
*; Licensed under the Internet Software Consortium License
*
*---------... | 26.037572 | 103 | 0.506549 | [
"object"
] |
d067a4da0f7c541e3cd24a5d352186671f0aff69 | 13,352 | cc | C++ | mindspore/lite/src/delegate/tensorrt/op/matmul_tensorrt.cc | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | mindspore/lite/src/delegate/tensorrt/op/matmul_tensorrt.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/delegate/tensorrt/op/matmul_tensorrt.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 43.633987 | 119 | 0.688212 | [
"shape",
"vector",
"3d"
] |
d069e115b7307361d02d5a26775a458e93154f19 | 33,991 | hh | C++ | src/hkl_unmerge.hh | maciejwlodek/blend | 00c892363876692c5370def0e37a106ad5f7b07e | [
"BSD-3-Clause"
] | null | null | null | src/hkl_unmerge.hh | maciejwlodek/blend | 00c892363876692c5370def0e37a106ad5f7b07e | [
"BSD-3-Clause"
] | null | null | null | src/hkl_unmerge.hh | maciejwlodek/blend | 00c892363876692c5370def0e37a106ad5f7b07e | [
"BSD-3-Clause"
] | 1 | 2019-01-24T16:14:56.000Z | 2019-01-24T16:14:56.000Z | // hkl_unmerge.hh
// Phil Evans August 2003-2004 etc
//
// Classes for unmerged hkl lists
// at present just for the items used by Mosflm & Scala
// These data structures are primarily directed at Scala so are
// in its namespace
#ifndef HKL_UNMERGE_HEADER
#define HKL_UNMERGE_HEADER
#include <map>
#include "hkl_dat... | 41.401949 | 115 | 0.667265 | [
"object",
"vector"
] |
d06af3410c4a15190f4e3cb2bc8448a1ae509d6a | 1,354 | cpp | C++ | test/test_GravityForce.cpp | ChrizZhuang/3D_particle_simulator | cc2a0c75dc67ec7e4f89a270bca736d9425dbec0 | [
"MIT"
] | null | null | null | test/test_GravityForce.cpp | ChrizZhuang/3D_particle_simulator | cc2a0c75dc67ec7e4f89a270bca736d9425dbec0 | [
"MIT"
] | null | null | null | test/test_GravityForce.cpp | ChrizZhuang/3D_particle_simulator | cc2a0c75dc67ec7e4f89a270bca736d9425dbec0 | [
"MIT"
] | null | null | null | // File to test GravityForce
#include <iostream>
#include "GravityForce.hpp"
#include "SimpleParticleList.hpp"
#include "LatticeParticleList.hpp"
void test_GravityForce()
{
std::cout << "Testing GravityForce ..." << std::endl;
const int N=27; // Number of particles, 3 in each direction
// Check for SimplePar... | 27.632653 | 72 | 0.61226 | [
"vector"
] |
d06de7190a562c72ba7498022895ab4e727e6faf | 3,453 | cpp | C++ | modules/stereo_camera/src/json_struct/json_detect_boxes.cpp | dzyswy/stereo-client | 2855500187047e535a6834dcad31cf3c6f2b86a3 | [
"MIT"
] | 2 | 2019-10-17T09:11:29.000Z | 2022-01-17T06:19:25.000Z | modules/stereo_camera/src/json_struct/json_detect_boxes.cpp | dzyswy/stereo-client | 2855500187047e535a6834dcad31cf3c6f2b86a3 | [
"MIT"
] | null | null | null | modules/stereo_camera/src/json_struct/json_detect_boxes.cpp | dzyswy/stereo-client | 2855500187047e535a6834dcad31cf3c6f2b86a3 | [
"MIT"
] | null | null | null | #include "json_detect_boxes.h"
#include "json/json.h"
using namespace std;
json_detect_boxes::json_detect_boxes()
{
}
json_detect_boxes::json_detect_boxes(std::vector<struct stereo_detect_box> &value)
{
detect_boxes_ = value;
}
std::vector<struct stereo_detect_box> json_detect_boxes::to_struct()
{
return detec... | 24.316901 | 82 | 0.670432 | [
"vector"
] |
d077b9b00963bedb360d4a6b6660d4cfbefb830c | 682 | cpp | C++ | Samples/MediaPlayerCPP/FloatToDoubleConverter.cpp | tesar-tech/FFmpegInteropX | db3e24878b5a14038162b27636bd28c1c062c94c | [
"Apache-2.0"
] | 102 | 2019-03-03T03:54:30.000Z | 2022-03-12T13:08:29.000Z | Samples/MediaPlayerCPP/FloatToDoubleConverter.cpp | tesar-tech/FFmpegInteropX | db3e24878b5a14038162b27636bd28c1c062c94c | [
"Apache-2.0"
] | 149 | 2019-02-27T19:08:25.000Z | 2022-03-02T21:43:34.000Z | Samples/MediaPlayerCPP/FloatToDoubleConverter.cpp | tesar-tech/FFmpegInteropX | db3e24878b5a14038162b27636bd28c1c062c94c | [
"Apache-2.0"
] | 34 | 2019-03-17T22:32:22.000Z | 2022-01-23T10:48:52.000Z | #include "pch.h"
#include "FloatToDoubleConverter.h"
Platform::Object^ MediaPlayerCPP::FloatToDoubleConverter::Convert(Platform::Object^ value, Windows::UI::Xaml::Interop::TypeName targetType, Platform::Object^ parameter, Platform::String^ language)
{
auto box = static_cast<Platform::IBox<float>^>(value);
return ref... | 45.466667 | 200 | 0.765396 | [
"object"
] |
d07ae49f03cfe4554a617ca009d1760aa4a77c78 | 3,133 | cpp | C++ | DMOPC/dmopc15c2p6.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | DMOPC/dmopc15c2p6.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | DMOPC/dmopc15c2p6.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define gc getchar_unlocked()
#define pc(x) putchar_unlocked(x)
template<typename T> void scan(T &x){x = 0;bool _=0;T c=gc;_=c==45;c=_?gc:c;while(c<48||c>57)c=gc;for(;c<48||c>57;c=gc);for(;c>47&&c<58;c=gc)x=(x<<3)+(x<<1)+(c&15);x=_?-x:x;}
template<typename T> void printn(T n){bool _=0;_=n<0... | 27.008621 | 175 | 0.48037 | [
"vector"
] |
d07b507ef176d3452d06c8177855cbe43cb51d7a | 1,956 | cpp | C++ | codes/ZJU_ICPC/fibtree.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 2 | 2021-03-07T03:34:02.000Z | 2021-03-09T01:22:21.000Z | codes/ZJU_ICPC/fibtree.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 1 | 2021-03-27T15:01:23.000Z | 2021-03-27T15:55:34.000Z | codes/ZJU_ICPC/fibtree.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | 1 | 2021-03-27T05:02:33.000Z | 2021-03-27T05:02:33.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <ctime>
#include <cmath>
#include <cassert>
#include <algorithm>
#include <vector>
#include <string>
#include <utility>
#define max_v 100100
#define int_max 0x3f3f3f3f
#define cont continue
#define pow_2(n) (1 << (n))
//tree
#define u... | 18.807692 | 81 | 0.546524 | [
"vector"
] |
4ee0c4fe0a1934346715b758a464a1618d979977 | 2,636 | cxx | C++ | icetray/private/modules/Keep.cxx | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 1 | 2020-12-24T22:00:01.000Z | 2020-12-24T22:00:01.000Z | icetray/private/modules/Keep.cxx | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | null | null | null | icetray/private/modules/Keep.cxx | hschwane/offline_production | e14a6493782f613b8bbe64217559765d5213dc1e | [
"MIT"
] | 3 | 2020-07-17T09:20:29.000Z | 2021-03-30T16:44:18.000Z | /**
* $Id: Keep.cxx 168867 2018-12-07 20:47:53Z mjl5147 $
*
* Copyright (C) 2007
* Dr. Torsten Schmidt <hightech-consulting@gmx.de>
* and the IceCube Collaboration <http://www.icecube.wisc.edu>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... | 29.954545 | 87 | 0.685129 | [
"vector"
] |
4ee340b351ba490722b96067530210679a549573 | 7,038 | cpp | C++ | ssl/src/v20191205/model/DvAuths.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | ssl/src/v20191205/model/DvAuths.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | ssl/src/v20191205/model/DvAuths.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 27.818182 | 136 | 0.690537 | [
"model"
] |
4ee37411be1a27efef376661e2aae6a2b37a709b | 24,604 | cpp | C++ | cpp/opendnp3tests/src/TestAppLayer.cpp | tarm/dnp3_orig | 87c639b3462c980fba255e85793f6ec663abe981 | [
"Apache-2.0"
] | null | null | null | cpp/opendnp3tests/src/TestAppLayer.cpp | tarm/dnp3_orig | 87c639b3462c980fba255e85793f6ec663abe981 | [
"Apache-2.0"
] | null | null | null | cpp/opendnp3tests/src/TestAppLayer.cpp | tarm/dnp3_orig | 87c639b3462c980fba255e85793f6ec663abe981 | [
"Apache-2.0"
] | 3 | 2016-07-13T18:54:13.000Z | 2021-04-12T13:30:39.000Z | /**
* Licensed to Green Energy Corp (www.greenenergycorp.com) under one or
* more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Green Energy Corp licenses this file to you under the Apache License,
* Version 2.0 (the "Li... | 50.834711 | 6,155 | 0.715453 | [
"3d"
] |
4eed87fe92294242f95205e75421d40b7a010bc8 | 1,225 | cpp | C++ | Scripts/443.cpp | zzz0906/LeetCode | cd0b4a4fd03d0dff585c9ef349984eba1922ece0 | [
"MIT"
] | 17 | 2018-08-23T08:53:56.000Z | 2021-04-17T00:06:13.000Z | Scripts/443.cpp | zzz0906/LeetCode | cd0b4a4fd03d0dff585c9ef349984eba1922ece0 | [
"MIT"
] | null | null | null | Scripts/443.cpp | zzz0906/LeetCode | cd0b4a4fd03d0dff585c9ef349984eba1922ece0 | [
"MIT"
] | null | null | null | class Solution {
public:
int compress(vector<char>& chars) {
if (chars.size() <= 1){
return chars.size();
}
int last = chars[0];
int lastCount = 1;
int index = 0;
for (int i = 1; i < chars.size(); i++){
if (chars[i] == last){
la... | 27.222222 | 56 | 0.337959 | [
"vector"
] |
4ef1852adeb35ce409b42ca4497187ed65e2792d | 15,401 | cpp | C++ | ds/netapi/svcdlls/lls/ccfapi32/utils.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/netapi/svcdlls/lls/ccfapi32/utils.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/netapi/svcdlls/lls/ccfapi32/utils.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1994-95 Microsoft Corporation
Module Name:
utils.cpp
Abstract:
Utiltities.
Author:
Don Ryan (donryan) 04-Jan-1995
Environment:
User Mode - Win32
Revision History:
Jeff Parham (jeffparh) 12-Nov-1995
Copied from LLSMGR, stripped Tv (Tree vi... | 20.728129 | 133 | 0.590676 | [
"object"
] |
4ef8b6f346be196e9778d2ded5f92abca14ae5cd | 30,008 | cpp | C++ | previz.cpp | murtaza64/code_samples | 31503beb36c85aec05d273290b71a8112c46f143 | [
"MTLL"
] | null | null | null | previz.cpp | murtaza64/code_samples | 31503beb36c85aec05d273290b71a8112c46f143 | [
"MTLL"
] | null | null | null | previz.cpp | murtaza64/code_samples | 31503beb36c85aec05d273290b71a8112c46f143 | [
"MTLL"
] | null | null | null | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <iostream>
#include <float.h>
#include "SETTINGS.h"
#include "skeleton.h"
#include "displaySkeleton.h"
#include "motion.h"
using namespace std;
#define PLASTIC 0
#define MIRROR 1
#define GLASS 2
#define SS_GRID_SIZE 0.005
typedef struc... | 31.587368 | 109 | 0.510564 | [
"geometry",
"vector"
] |
4efffc5542f3d9c200c3b1fc39d18539eb23b69d | 2,782 | cc | C++ | components/service/ucloud/linkface/src/model/QueryFaceResult.cc | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | components/service/ucloud/linkface/src/model/QueryFaceResult.cc | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | components/service/ucloud/linkface/src/model/QueryFaceResult.cc | wanguojian/AliOS-Things | 47fce29d4dd39d124f0bfead27998ad7beea8441 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 31.258427 | 105 | 0.761323 | [
"model"
] |
f607878badf9fed14e5ce81a79f3c163045e3174 | 3,181 | hpp | C++ | include/UnityEngine/EventSystems/PhysicsRaycaster_RaycastHitComparer.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/UnityEngine/EventSystems/PhysicsRaycaster_RaycastHitComparer.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/UnityEngine/EventSystems/PhysicsRaycaster_RaycastHitComparer.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: UnityEngine.EventSystems.PhysicsRaycaster
#include "UnityEngine/EventS... | 58.907407 | 157 | 0.749135 | [
"object"
] |
f60958682c725781b0788940a554008b8c2890da | 20,199 | cc | C++ | src/translator.cc | aj7tesh/CTranslate2 | 8e424efdbcf40c89dca7e237a249464a95eeaf74 | [
"MIT"
] | null | null | null | src/translator.cc | aj7tesh/CTranslate2 | 8e424efdbcf40c89dca7e237a249464a95eeaf74 | [
"MIT"
] | null | null | null | src/translator.cc | aj7tesh/CTranslate2 | 8e424efdbcf40c89dca7e237a249464a95eeaf74 | [
"MIT"
] | null | null | null | #include "ctranslate2/translator.h"
#include <algorithm>
#include <numeric>
#include "ctranslate2/decoding.h"
#include "ctranslate2/ops/ops.h"
#include "ctranslate2/profiler.h"
namespace ctranslate2 {
static std::vector<size_t>
tokens_to_ids(const std::vector<std::string>& tokens,
const Vocabula... | 40.157058 | 102 | 0.644982 | [
"vector",
"model"
] |
f60bab54626bd17e155a80f451fe7409b8884349 | 5,877 | cpp | C++ | cpp/depends/igl/headers/igl/min_quad_with_fixed_solve.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | 2 | 2022-03-28T14:10:50.000Z | 2022-03-28T14:10:51.000Z | cpp/depends/igl/headers/igl/min_quad_with_fixed_solve.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | cpp/depends/igl/headers/igl/min_quad_with_fixed_solve.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | 2 | 2022-03-23T10:33:10.000Z | 2022-03-28T14:09:55.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://... | 244.875 | 671 | 0.650502 | [
"geometry"
] |
f61414c5d7839aba1b5f5387a0e8d66cd810f6e3 | 2,186 | cpp | C++ | lib/year2020/src/Day08Puzzle.cpp | MarkRDavison/AdventOfCode | 640ae6de76709367be8dfeb86b9f1f7d21908946 | [
"MIT"
] | null | null | null | lib/year2020/src/Day08Puzzle.cpp | MarkRDavison/AdventOfCode | 640ae6de76709367be8dfeb86b9f1f7d21908946 | [
"MIT"
] | null | null | null | lib/year2020/src/Day08Puzzle.cpp | MarkRDavison/AdventOfCode | 640ae6de76709367be8dfeb86b9f1f7d21908946 | [
"MIT"
] | null | null | null | #include <2020/Day08Puzzle.hpp>
#include <zeno-engine/Utility/StringExtensions.hpp>
#include <2020/HandheldConsole.hpp>
#include <set>
namespace TwentyTwenty {
Day08Puzzle::Day08Puzzle() :
core::PuzzleBase("Handheld Halting", 2020, 8) {
}
void Day08Puzzle::initialise(const core::InitialisationInfo& _initialis... | 35.836066 | 143 | 0.755261 | [
"vector"
] |
f61a9a17237393f94c45cefd6a6de8d40662c432 | 1,330 | hpp | C++ | qcom_msm8916_64_android5.0/sources/twrp/bootable/recovery/fixPermissions.hpp | largeriver/twrp | 767b63ed5e0763538466569984cf7930d9c59921 | [
"MIT"
] | null | null | null | qcom_msm8916_64_android5.0/sources/twrp/bootable/recovery/fixPermissions.hpp | largeriver/twrp | 767b63ed5e0763538466569984cf7930d9c59921 | [
"MIT"
] | null | null | null | qcom_msm8916_64_android5.0/sources/twrp/bootable/recovery/fixPermissions.hpp | largeriver/twrp | 767b63ed5e0763538466569984cf7930d9c59921 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <string.h>
#include <libgen.h>
#include <unistd.h>
#include <sys/stat.h>
#include <dirent.h>
#include <errno.h>
#include "gui/rapidxml.hpp"
#include "twrp-functions.hpp"
using namespace std;
class fixPermissions {
... | 25.09434 | 115 | 0.729323 | [
"vector"
] |
f622d93a1f4006f94b1b67c18c018a8709572ae6 | 9,940 | cc | C++ | code/foundation/threading/linux/linuxthread.cc | Nechrito/nebula | 6c7ef27ab1374d3f751d866500729524f72a0c87 | [
"BSD-2-Clause"
] | null | null | null | code/foundation/threading/linux/linuxthread.cc | Nechrito/nebula | 6c7ef27ab1374d3f751d866500729524f72a0c87 | [
"BSD-2-Clause"
] | null | null | null | code/foundation/threading/linux/linuxthread.cc | Nechrito/nebula | 6c7ef27ab1374d3f751d866500729524f72a0c87 | [
"BSD-2-Clause"
] | null | null | null | //-------------------------------------------------------------------------------
// linuxthread.cc
// (C) 2010 Radon Labs GmbH
// (C) 2013-2018 Individual contributors, see AUTHORS file
//-------------------------------------------------------------------------------
#include "foundation/stdneb.h"
#include "linuxth... | 28.079096 | 89 | 0.583602 | [
"object"
] |
f6326b44fddb1707ca06b1c6f85726000efc2906 | 26,611 | cpp | C++ | Source/AllProjects/CIDBuild/CIDBuild_FileDepend.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | 1 | 2019-05-28T06:33:01.000Z | 2019-05-28T06:33:01.000Z | Source/AllProjects/CIDBuild/CIDBuild_FileDepend.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | null | null | null | Source/AllProjects/CIDBuild/CIDBuild_FileDepend.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | null | null | null | //
// FILE NAME: CIDBuild_Depend.Cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 08/22/1998
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensourc... | 31.869461 | 94 | 0.501973 | [
"object"
] |
f63b37a0774dd0c4a28bbfb4a10d4464090d9967 | 1,473 | hpp | C++ | Crocus/BoxCollider.hpp | ChunChunMorning/CrocusEngine | a93a7f813b60bf6f221abaf6b9d580263e708900 | [
"Unlicense"
] | null | null | null | Crocus/BoxCollider.hpp | ChunChunMorning/CrocusEngine | a93a7f813b60bf6f221abaf6b9d580263e708900 | [
"Unlicense"
] | null | null | null | Crocus/BoxCollider.hpp | ChunChunMorning/CrocusEngine | a93a7f813b60bf6f221abaf6b9d580263e708900 | [
"Unlicense"
] | null | null | null | # pragma once
# include "Assets.hpp"
# include "Collider.hpp"
# include "Transform.hpp"
namespace cre
{
using namespace s3d;
class BoxCollider : public Collider
{
private:
Vec3 m_offset;
Vec3 m_size;
stupid_ptr<Transform> m_transform;
public:
BoxCollider() = default;
explicit BoxCollider(const Ve... | 21.661765 | 105 | 0.718262 | [
"transform"
] |
f63c47d77abf323fe45fa9405bd3782dc54df049 | 10,372 | cpp | C++ | applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_RLE_FACE_SCALAR_FIELD_3D.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_RLE_FACE_SCALAR_FIELD_3D.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_RLE_FACE_SCALAR_FIELD_3D.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | #ifndef COMPILE_WITHOUT_RLE_SUPPORT
//#####################################################################
// Copyright 2005, Eran Guendelman, Geoffrey Irving.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################... | 73.560284 | 208 | 0.643367 | [
"object",
"vector"
] |
f648f857dc88995645d2c36e2f0ed097d52b89cd | 3,375 | cpp | C++ | TerrainGenerator/src/terrain_generator/World.cpp | LucidSigma/vulkan-terrain-generator | 532530331d988dbd2c4e9ae382812d28fabbd5e8 | [
"MIT"
] | 2 | 2020-04-14T01:54:54.000Z | 2020-04-14T08:30:21.000Z | TerrainGenerator/src/terrain_generator/World.cpp | LucidSigma/vulkan-terrain-generator | 532530331d988dbd2c4e9ae382812d28fabbd5e8 | [
"MIT"
] | null | null | null | TerrainGenerator/src/terrain_generator/World.cpp | LucidSigma/vulkan-terrain-generator | 532530331d988dbd2c4e9ae382812d28fabbd5e8 | [
"MIT"
] | null | null | null | #include "World.h"
#include <array>
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#include <glm/gtc/matrix_transform.hpp>
World::World(Renderer& renderer, const Window& window)
: m_renderer(renderer)
{
Initialise(window);
for (int i = -s_RenderDistance; i <= s_RenderDistance; ++i)
{
for (int j... | 30.405405 | 173 | 0.713778 | [
"render"
] |
f64b7678e64ca7589187016dbc4bfe350c8ee1ee | 1,189 | hpp | C++ | include/pcl_utils/camera.hpp | yamaha-bps/ros2_pcl_utils | 513615ac1b6b251a39f29eb7ff03f307747b8aa3 | [
"MIT"
] | 1 | 2021-07-05T14:35:35.000Z | 2021-07-05T14:35:35.000Z | include/pcl_utils/camera.hpp | yamaha-bps/ros2_pcl_utils | 513615ac1b6b251a39f29eb7ff03f307747b8aa3 | [
"MIT"
] | null | null | null | include/pcl_utils/camera.hpp | yamaha-bps/ros2_pcl_utils | 513615ac1b6b251a39f29eb7ff03f307747b8aa3 | [
"MIT"
] | 1 | 2022-03-31T01:35:07.000Z | 2022-03-31T01:35:07.000Z | // Copyright Yamaha 2021
// MIT License
// https://github.com/yamaha-bps/ros2_pcl_utils/blob/master/LICENSE
#ifndef PCL_UTILS__CAMERA_HPP_
#define PCL_UTILS__CAMERA_HPP_
#include <Eigen/Core>
#include <sensor_msgs/msg/camera_info.hpp>
/**
* @brief Camera projection with OpenCV model
*
* https://docs.opencv.org/4.... | 27.651163 | 76 | 0.622372 | [
"model",
"3d"
] |
f64f7d3292f5271d3bfb0190ea1b89416e053bcf | 26,698 | cpp | C++ | src/Utils/ConfigurationUtils.cpp | Gigahawk/cli-visualizer | 52eb54efdac2ebe9ecdb5ababc7518f09421c917 | [
"MIT"
] | 2 | 2020-11-06T02:07:08.000Z | 2021-05-06T00:53:41.000Z | src/Utils/ConfigurationUtils.cpp | Gigahawk/cli-visualizer | 52eb54efdac2ebe9ecdb5ababc7518f09421c917 | [
"MIT"
] | null | null | null | src/Utils/ConfigurationUtils.cpp | Gigahawk/cli-visualizer | 52eb54efdac2ebe9ecdb5ababc7518f09421c917 | [
"MIT"
] | 1 | 2021-01-26T15:17:14.000Z | 2021-01-26T15:17:14.000Z | /*
* ConfigurationUtils.cpp
*
* Created on: Jul 30, 2015
* Author: dpayne
*/
#include <cmath>
#include <fstream>
#include <set>
#include <string>
#include <unordered_map>
#include "Domain/VisException.h"
#include "Utils/ConfigurationUtils.h"
#include "Utils/Logger.h"
#include "Utils/NcursesUtils.h"
#include ... | 35.740295 | 213 | 0.637875 | [
"vector",
"transform"
] |
f653388c8109bdaf4453d3481851668f5ac46940 | 3,181 | cpp | C++ | ABC/110/C.cpp | BaseOutside/AtCoder-Solved | 7b7b6c53332881e550aaa0755f298fcdeae3824a | [
"MIT"
] | null | null | null | ABC/110/C.cpp | BaseOutside/AtCoder-Solved | 7b7b6c53332881e550aaa0755f298fcdeae3824a | [
"MIT"
] | null | null | null | ABC/110/C.cpp | BaseOutside/AtCoder-Solved | 7b7b6c53332881e550aaa0755f298fcdeae3824a | [
"MIT"
] | null | null | null | //include
//------------------------------------------
#include <algorithm>
#include <bitset>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#incl... | 24.469231 | 84 | 0.479723 | [
"vector"
] |
f657cbba74d52ddd8d3d4234cd06c54cbf3c6129 | 3,464 | cpp | C++ | Programs/QuickEd/Classes/UI/Properties/BindingPropertyDelegate.cpp | stinvi/dava.engine | 2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e | [
"BSD-3-Clause"
] | 26 | 2018-09-03T08:48:22.000Z | 2022-02-14T05:14:50.000Z | Programs/QuickEd/Classes/UI/Properties/BindingPropertyDelegate.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | null | null | null | Programs/QuickEd/Classes/UI/Properties/BindingPropertyDelegate.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | 45 | 2018-05-11T06:47:17.000Z | 2022-02-03T11:30:55.000Z |
#include "UI/DataBinding/UIDataBindingComponent.h"
#include "PropertiesModel.h"
#include "Utils/QtDavaConvertion.h"
#include "PropertiesTreeItemDelegate.h"
#include "BindingPropertyDelegate.h"
#include <TArc/Utils/Utils.h>
#include <QLineEdit>
#include <QComboBox>
#include <QHBoxLayout>
BindingPropertyDelegate::Bi... | 34.64 | 159 | 0.691975 | [
"model"
] |
2cec9249d05036d64be8208172cfd2fa886507e4 | 1,364 | hpp | C++ | hexl/eltwise/eltwise-add-mod-internal.hpp | tgonzalez89-intel/hexl | 352e9ed14cb615defa33e4768d156eea3413361a | [
"Apache-2.0"
] | 136 | 2021-03-26T15:24:31.000Z | 2022-03-30T07:50:15.000Z | hexl/eltwise/eltwise-add-mod-internal.hpp | tgonzalez89-intel/hexl | 352e9ed14cb615defa33e4768d156eea3413361a | [
"Apache-2.0"
] | 24 | 2021-04-03T06:10:47.000Z | 2022-03-24T03:34:50.000Z | hexl/eltwise/eltwise-add-mod-internal.hpp | tgonzalez89-intel/hexl | 352e9ed14cb615defa33e4768d156eea3413361a | [
"Apache-2.0"
] | 27 | 2021-04-01T07:50:11.000Z | 2022-03-22T00:54:23.000Z | // Copyright (C) 2020-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
namespace intel {
namespace hexl {
/// @brief Adds two vectors elementwise with modular reduction
/// @param[out] result Stores result
/// @param[in] operand1 Vector of elements to add
/// @param[in] operand2 Vector of e... | 40.117647 | 80 | 0.678152 | [
"vector"
] |
2cf0fa6e377668d52c483e3722faf46394e75ade | 272 | cpp | C++ | Main.cpp | pasaunders/rayTracer | 9c16ebd92d2f6f520a7a9055fe51153bbcaf9021 | [
"MIT"
] | null | null | null | Main.cpp | pasaunders/rayTracer | 9c16ebd92d2f6f520a7a9055fe51153bbcaf9021 | [
"MIT"
] | null | null | null | Main.cpp | pasaunders/rayTracer | 9c16ebd92d2f6f520a7a9055fe51153bbcaf9021 | [
"MIT"
] | null | null | null | #include <vector>
#include "View/write.h"
int main(int argc, char const *argv[])
{
std::vector<unsigned char> rows;
for(size_t i = 0; i < 100; i++)
{
rows.push_back(50);
}
write_png_file("defaultName.png", rows, 10);
return 0;
}
| 17 | 48 | 0.566176 | [
"vector"
] |
2cfbb0a0230503ca4eaf8c9ddd742b5da2229d11 | 5,611 | cpp | C++ | Source/ImGui/Private/ImGuiContextProxy.cpp | CoconutLizard/UnrealImGui | 00a13a6fa935a02f59449d563086f32413255acd | [
"MIT"
] | null | null | null | Source/ImGui/Private/ImGuiContextProxy.cpp | CoconutLizard/UnrealImGui | 00a13a6fa935a02f59449d563086f32413255acd | [
"MIT"
] | 2 | 2021-06-24T09:21:21.000Z | 2021-09-16T13:39:35.000Z | Source/ImGui/Private/ImGuiContextProxy.cpp | CoconutLizard/UnrealImGui | 00a13a6fa935a02f59449d563086f32413255acd | [
"MIT"
] | null | null | null | // Distributed under the MIT License (MIT) (see accompanying LICENSE file)
#include "ImGuiContextProxy.h"
#include "ImGuiPrivatePCH.h"
#include "ImGuiImplementation.h"
#include "ImGuiInteroperability.h"
#include <Runtime/Launch/Resources/Version.h>
static constexpr float DEFAULT_CANVAS_WIDTH = 3840.f;
static cons... | 26.592417 | 115 | 0.735876 | [
"render"
] |
2cfc870bd2bcf51f2dba6347d82664c360f70e93 | 3,267 | cpp | C++ | Server/relatko-ba-graph-52fc092b557e/test/sat/test_factors.cpp | RadoslavSmarzik/graph-editor | 7441f4768269131e5e9636819f1bf27ae9d6013d | [
"MIT"
] | null | null | null | Server/relatko-ba-graph-52fc092b557e/test/sat/test_factors.cpp | RadoslavSmarzik/graph-editor | 7441f4768269131e5e9636819f1bf27ae9d6013d | [
"MIT"
] | null | null | null | Server/relatko-ba-graph-52fc092b557e/test/sat/test_factors.cpp | RadoslavSmarzik/graph-editor | 7441f4768269131e5e9636819f1bf27ae9d6013d | [
"MIT"
] | null | null | null | #include "implementation.h"
#include <io/print_nice.hpp>
#include <graphs.hpp>
#include <sat/solver_cmsat.hpp>
#include <sat/exec_factors.hpp>
#include <cassert>
using namespace ba_graph;
bool cb(std::vector<Edge> &, int *count) {
(*count)++;
return true;
}
int main() {
CMSatSolver solver;
CMAllSa... | 33.336735 | 76 | 0.650444 | [
"vector"
] |
2cff4e631af4495e4e37653d0db5a82fa492f99d | 659 | cpp | C++ | OIandACM/OJ/LeetCode/first/easy-136-只出现一次的数字.cpp | ASC8384/MyCodeSnippets | aa74afa85672601bd25bf625590f26ac909b2042 | [
"CC0-1.0"
] | 8 | 2019-08-09T14:28:13.000Z | 2021-02-23T03:22:15.000Z | OIandACM/OJ/LeetCode/first/easy-136-只出现一次的数字.cpp | ASC8384/MyCodeSnippets | aa74afa85672601bd25bf625590f26ac909b2042 | [
"CC0-1.0"
] | null | null | null | OIandACM/OJ/LeetCode/first/easy-136-只出现一次的数字.cpp | ASC8384/MyCodeSnippets | aa74afa85672601bd25bf625590f26ac909b2042 | [
"CC0-1.0"
] | 4 | 2019-08-16T12:00:41.000Z | 2019-11-29T12:01:17.000Z | /*
* @lc app=leetcode.cn id=136 lang=cpp
*
* [136] 只出现一次的数字
*
* https://leetcode-cn.com/problems/single-number/description/
*
* algorithms
* Easy (66.43%)
* Likes: 1291
* Dislikes: 0
* Total Accepted: 218.4K
* Total Submissions: 317.9K
* Testcase Example: '[2,2,1]'
*
* 给定一个非空整数数组,除了某个元素只出现一次以外,其余每... | 14.021277 | 62 | 0.578149 | [
"vector"
] |
fa06effa5105570933bf2d0eada7e45a35a5a51d | 2,628 | cpp | C++ | test/test_multi_plots.cpp | jleben/datavis | 579eec88816ea45f04baf9890e11445a6bb98425 | [
"MIT"
] | 1 | 2022-03-17T08:05:19.000Z | 2022-03-17T08:05:19.000Z | test/test_multi_plots.cpp | jleben/datavis | 579eec88816ea45f04baf9890e11445a6bb98425 | [
"MIT"
] | 9 | 2018-01-09T03:25:51.000Z | 2018-01-09T03:54:01.000Z | test/test_multi_plots.cpp | jleben/ren | 579eec88816ea45f04baf9890e11445a6bb98425 | [
"MIT"
] | null | null | null | #include "../plot/plot_view.hpp"
#include "../plot/line_plot.hpp"
#include "../plot/heat_map.hpp"
#include "../data/array.hpp"
#include "../data/data_set.hpp"
#include <QApplication>
#include <QDebug>
#include <QWidget>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QCheckBox>
#include <cmath>
using namespa... | 25.514563 | 80 | 0.592085 | [
"vector"
] |
fa090410e9d3f275076e17ce7458a5627f43f275 | 14,574 | cpp | C++ | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/cpp/form1.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 834 | 2017-06-24T10:40:36.000Z | 2022-03-31T19:48:51.000Z | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/cpp/form1.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 7,042 | 2017-06-23T22:34:47.000Z | 2022-03-31T23:05:23.000Z | snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.VisualStyles.VisualStyleElement/cpp/form1.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 1,640 | 2017-06-23T22:31:39.000Z | 2022-03-31T02:45:37.000Z | // This sample can go in the VisualStyleElement class overview or a conceptual
// topic to give the new user a chance to view what each of the defined
// elements looks like. This sample also gives them the ability to preview each
// element at three different sizes.
// <Snippet0>
#using <System.Drawing.dll>
#using <S... | 37.854545 | 79 | 0.538425 | [
"object"
] |
fa0ff9771652f48cb388c271de30aa6b31659969 | 552 | cpp | C++ | cpp/digit_number.cpp | ysoftman/test_code | 4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8 | [
"MIT"
] | 3 | 2017-12-07T04:29:36.000Z | 2022-01-11T10:58:14.000Z | cpp/digit_number.cpp | ysoftman/test_code | 4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8 | [
"MIT"
] | 14 | 2018-07-17T05:16:42.000Z | 2022-03-22T00:43:47.000Z | cpp/digit_number.cpp | ysoftman/test_code | 4c71cc7c6a17d73cc84298e3a44051d3ab9d40f8 | [
"MIT"
] | null | null | null |
// ysoftman
// 자리수 숫자 파싱
#include <stdio.h>
#include <vector>
using namespace std;
void parseDigitNumber(int n)
{
printf("n = %d\n", n);
vector<int> vec;
while (n >= 1)
{
vec.push_back(n % 10);
n /= 10;
}
vector<int>::reverse_iterator iter;
for (iter = vec.rbegin(); iter !... | 16.727273 | 57 | 0.550725 | [
"vector"
] |
fa11de275b15ee0ce9596ead32bd17b6e192a3e1 | 726 | cc | C++ | cpp/cuts/DK_length_plus/create_cut.cc | michieluithetbroek/A-MDVRP | fe7739f3961ddb25db8f64ec20472915d3c95168 | [
"MIT"
] | 23 | 2020-04-09T16:33:23.000Z | 2022-03-21T16:41:11.000Z | cpp/cuts/DK_length_plus/create_cut.cc | michieluithetbroek/A-MDVRP | fe7739f3961ddb25db8f64ec20472915d3c95168 | [
"MIT"
] | 2 | 2020-04-10T11:55:28.000Z | 2020-04-10T12:11:51.000Z | cpp/cuts/DK_length_plus/create_cut.cc | michieluithetbroek/A-MDVRP | fe7739f3961ddb25db8f64ec20472915d3c95168 | [
"MIT"
] | 10 | 2020-05-28T18:59:52.000Z | 2022-03-10T13:32:44.000Z | #include "./DK_length_plus.ih"
/*
*
*/
CutReturn DK_length_plus::create_cut(vector<int> const &seq, size_t n, int l) const
{
CutReturn cut;
cut.rhs = n + 1;
size_t const i = seq[0];
size_t const k = seq[n - 1];
cut.add(2, i, l);
cut.add(1, l, k);
for (size_t h = 1; h < n; ++h)
cut.add(2,... | 18.15 | 83 | 0.49449 | [
"vector"
] |
fa1c46c9d000b1b61325ae2cf999a73173d1c3c7 | 573 | cpp | C++ | Youtube/Unions.cpp | lance-lh/learning-c-plusplus | 90342cc5d26a5adb87aa3e97795d4bbfca7bef52 | [
"MIT"
] | 1 | 2019-03-27T13:00:02.000Z | 2019-03-27T13:00:02.000Z | Youtube/Unions.cpp | lance-lh/learning-c-plusplus | 90342cc5d26a5adb87aa3e97795d4bbfca7bef52 | [
"MIT"
] | null | null | null | Youtube/Unions.cpp | lance-lh/learning-c-plusplus | 90342cc5d26a5adb87aa3e97795d4bbfca7bef52 | [
"MIT"
] | 1 | 2021-01-12T22:01:28.000Z | 2021-01-12T22:01:28.000Z | // union is like class or struct, a union can only have one member
#include<iostream>
struct Vector2
{
float x, y;
};
struct Vector4
{
union
{
struct
{
float x, y, z, w;
};
struct
{
Vector2 a, b;
};
};
};
void PrintVector2(const Vector2& vector)
{
std::cout << vector.x << ", " << vector.y << s... | 14.325 | 66 | 0.589878 | [
"vector"
] |
fa26e5b2dcacfc02b4fceb32e63473f957a6117f | 75,810 | cpp | C++ | TOMB5/game/newinv2.cpp | walkawayy/TOMB5 | cc33d5147ed21c8db123a72f4acdc9241e3ed73c | [
"MIT"
] | null | null | null | TOMB5/game/newinv2.cpp | walkawayy/TOMB5 | cc33d5147ed21c8db123a72f4acdc9241e3ed73c | [
"MIT"
] | null | null | null | TOMB5/game/newinv2.cpp | walkawayy/TOMB5 | cc33d5147ed21c8db123a72f4acdc9241e3ed73c | [
"MIT"
] | null | null | null | #include "../tomb5/pch.h"
#include "newinv2.h"
#include "gameflow.h"
#include "effects.h"
#include "../specific/d3dmatrix.h"
#include "sound.h"
#include "objects.h"
#include "lara1gun.h"
#include "lara2gun.h"
#include "camera.h"
#include "control.h"
#include "xatracks.h"
#include "lara.h"
#include "larafire.h"
#include... | 24.454839 | 219 | 0.700158 | [
"object",
"vector"
] |
fa28084fb9ed36c96d90c9c927cb972eddbaf507 | 1,364 | cpp | C++ | engine/engine/alice/components/TimeOffset.cpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2020-04-14T13:55:16.000Z | 2020-04-14T13:55:16.000Z | engine/engine/alice/components/TimeOffset.cpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 4 | 2020-09-25T22:34:29.000Z | 2022-02-09T23:45:12.000Z | engine/engine/alice/components/TimeOffset.cpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2020-07-02T11:51:17.000Z | 2020-07-02T11:51:17.000Z | /*
Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 31.72093 | 81 | 0.655425 | [
"vector"
] |
fa2d74878adbfb596175c140791355aa7e1ca324 | 52,149 | cpp | C++ | gsoap/VisualStudio2005/wsdl2h/wsdl2h/schema.cpp | JinpengLI/gsoap | 58ba1cfaee90f6f018ef81e9cb63fbd8e1af4566 | [
"Zlib",
"OpenSSL",
"Unlicense"
] | null | null | null | gsoap/VisualStudio2005/wsdl2h/wsdl2h/schema.cpp | JinpengLI/gsoap | 58ba1cfaee90f6f018ef81e9cb63fbd8e1af4566 | [
"Zlib",
"OpenSSL",
"Unlicense"
] | 1 | 2017-07-17T17:30:47.000Z | 2017-07-24T21:20:44.000Z | gsoap/wsdl/schema.cpp | JinpengLI/gsoap | 58ba1cfaee90f6f018ef81e9cb63fbd8e1af4566 | [
"Zlib",
"OpenSSL",
"Unlicense"
] | null | null | null | /*
schema.cpp
XSD binding schema implementation
--------------------------------------------------------------------------------
gSOAP XML Web services tools
Copyright (C) 2001-2008, Robert van Engelen, Genivia Inc. All Rights Reserved.
This software is released under one of the following two licenses:
GPL or Geniv... | 31.856445 | 184 | 0.596502 | [
"vector"
] |
fa37ed310b1fc3a40f6c7604fb2336d77082618e | 8,505 | cpp | C++ | OAuth2CppLib/src/OAuth2AuthServer.cpp | gvaduha/OAuth2CppLib | 385a5daf51fa11ba8a596b699d58cd74575e986b | [
"MIT"
] | 1 | 2015-02-10T03:28:30.000Z | 2015-02-10T03:28:30.000Z | OAuth2CppLib/src/OAuth2AuthServer.cpp | gvaduha/OAuth2CppLib | 385a5daf51fa11ba8a596b699d58cd74575e986b | [
"MIT"
] | null | null | null | OAuth2CppLib/src/OAuth2AuthServer.cpp | gvaduha/OAuth2CppLib | 385a5daf51fa11ba8a596b699d58cd74575e986b | [
"MIT"
] | 1 | 2021-02-09T14:49:28.000Z | 2021-02-09T14:49:28.000Z | #pragma once
#include "Types.h"
#include "Constants.h"
#include "Interfaces.h"
#include "OAuth2AuthServer.h"
#include <algorithm>
#include <sstream>
#include <vector>
#include "Helpers.h"
namespace OAuth2
{
using std::vector;
using std::istringstream;
using std::istream_iterator;
using namespace Helpers;
const str... | 30.703971 | 158 | 0.735215 | [
"vector",
"transform"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.