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
19a85bc07636f9b3bd5953bc165fe69e082cc5de
151,338
cpp
C++
src/postgres/backend/optimizer/plan/createplan.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
6
2017-04-28T00:38:52.000Z
2018-11-06T07:06:49.000Z
src/postgres/backend/optimizer/plan/createplan.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
57
2016-03-19T22:27:55.000Z
2017-07-08T00:41:51.000Z
src/postgres/backend/optimizer/plan/createplan.cpp
eric-haibin-lin/pelotondb
904d6bbd041a0498ee0e034d4f9f9f27086c3cab
[ "Apache-2.0" ]
4
2016-07-17T20:44:56.000Z
2018-06-27T01:01:36.000Z
/*------------------------------------------------------------------------- * * createplan.c * Routines to create the desired plan for processing a query. * Planning is complete, we just need to convert the selected * Path into a Plan. * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Gro...
29.627643
98
0.690217
[ "transform" ]
19ae83551984be272276d60404e82c9d7f828627
32,084
cpp
C++
plugin/viewfinder.cpp
meego-tablet-ux/meego-app-camera
914b48defe18043da0961f8d9de1956358f61ee4
[ "Apache-2.0" ]
null
null
null
plugin/viewfinder.cpp
meego-tablet-ux/meego-app-camera
914b48defe18043da0961f8d9de1956358f61ee4
[ "Apache-2.0" ]
null
null
null
plugin/viewfinder.cpp
meego-tablet-ux/meego-app-camera
914b48defe18043da0961f8d9de1956358f61ee4
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011 Intel Corporation. * * This program is licensed under the terms and conditions of the * Apache License, version 2.0. The full text of the Apache License is at * http://www.apache.org/licenses/LICENSE-2.0 */ #include <sys/statvfs.h> #include <QTimer> #include <QDateTime> #include <QDir> #inc...
27.469178
166
0.677378
[ "geometry", "object" ]
30a9b75ff067479c45054caacdb425636e5834c1
1,486
cpp
C++
Medium/714 - Best Time to Buy and Sell Stock with Transaction Fee.cpp
WangZixuan/Leetcode
4593e8b48c4ce810567473a825735ffde3f7a0f0
[ "WTFPL" ]
11
2015-08-06T15:43:48.000Z
2022-02-16T01:30:24.000Z
Medium/714 - Best Time to Buy and Sell Stock with Transaction Fee.cpp
WangZixuan/Leetcode
4593e8b48c4ce810567473a825735ffde3f7a0f0
[ "WTFPL" ]
1
2015-08-17T13:33:55.000Z
2015-08-27T03:43:47.000Z
Medium/714 - Best Time to Buy and Sell Stock with Transaction Fee.cpp
WangZixuan/Leetcode
4593e8b48c4ce810567473a825735ffde3f7a0f0
[ "WTFPL" ]
2
2021-09-30T14:39:05.000Z
2021-10-02T11:02:20.000Z
/* Best Time to Buy and Sell Stock with Transaction Fee Your are given an array of integers prices, for which the i-th element is the price of a given stock on day i; and a non-negative integer fee representing a transaction fee. You may complete as many transactions as you like, but you need to pay the transaction...
27.018182
173
0.66891
[ "vector" ]
30ad0ab986d1f788f54adab5bbeeb4d39c5e10b8
6,367
cxx
C++
src/AcdTileDim.cxx
fermi-lat/AcdUtil
0fc8537ebc7c90dec9cb4a72e1ee274b78dd1b09
[ "BSD-3-Clause" ]
null
null
null
src/AcdTileDim.cxx
fermi-lat/AcdUtil
0fc8537ebc7c90dec9cb4a72e1ee274b78dd1b09
[ "BSD-3-Clause" ]
null
null
null
src/AcdTileDim.cxx
fermi-lat/AcdUtil
0fc8537ebc7c90dec9cb4a72e1ee274b78dd1b09
[ "BSD-3-Clause" ]
null
null
null
// File and Version information: // $Header: /nfs/slac/g/glast/ground/cvs/AcdUtil/src/AcdTileDim.cxx,v 1.17.162.1 2009/06/08 17:14:04 echarles Exp $ // // Implementation file of AcdTileDim // // Authors: // // Eric Charles // // #include "AcdUtil/AcdTileDim.h" #include "GlastSvc/GlastDetSvc/IGlastDetSvc.h" #in...
29.892019
117
0.611748
[ "geometry", "vector" ]
30b37ea023b899ecb80705e89249229725de12bc
1,478
cc
C++
onnxruntime/core/providers/nuphar/runtime/compute_ctx.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
6,036
2019-05-07T06:03:57.000Z
2022-03-31T17:59:54.000Z
onnxruntime/core/providers/nuphar/runtime/compute_ctx.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
5,730
2019-05-06T23:04:55.000Z
2022-03-31T23:55:56.000Z
onnxruntime/core/providers/nuphar/runtime/compute_ctx.cc
dennyac/onnxruntime
d5175795d2b7f2db18b0390f394a49238f814668
[ "MIT" ]
1,566
2019-05-07T01:30:07.000Z
2022-03-31T17:06:50.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/providers/nuphar/runtime/compute_ctx.h" namespace onnxruntime { namespace nuphar { KernelComputeCtx::KernelComputeCtx( const nuphar::NupharRuntimeHandle* handle, std::unordered_map<std::string, int6...
33.590909
96
0.773342
[ "vector" ]
30be16f4d89a46587a38c03dbddccd3d51896280
706
hpp
C++
Firstgraphicsproject/Ball.hpp
Style22/Tulika-Brick-Breaker
34a3b35b62e6f688fc78a4c8f8355c280b6971ef
[ "MIT" ]
null
null
null
Firstgraphicsproject/Ball.hpp
Style22/Tulika-Brick-Breaker
34a3b35b62e6f688fc78a4c8f8355c280b6971ef
[ "MIT" ]
null
null
null
Firstgraphicsproject/Ball.hpp
Style22/Tulika-Brick-Breaker
34a3b35b62e6f688fc78a4c8f8355c280b6971ef
[ "MIT" ]
null
null
null
#pragma once #include <SFML/Graphics.hpp> #include "Paddle.hpp" class Ball { public: Ball(); Ball(sf::Texture* texture); std::string lastCollision = "wall"; int* gameState; float speed = 500; float boundryX = 800; //float boundryX = 650; float boundryY = 600; float angle = 0; float maxAngleOfReflection = 0.6...
16.809524
37
0.709632
[ "object" ]
30c1b2fa00a0ce6c0ae8d6f162fed1d142a5dc89
1,937
cpp
C++
src/bvh.cpp
cdyk/toytrace
f542d24d38c9a7414a7a846c88958fe4ba8ca8c5
[ "MIT" ]
null
null
null
src/bvh.cpp
cdyk/toytrace
f542d24d38c9a7414a7a846c88958fe4ba8ca8c5
[ "MIT" ]
null
null
null
src/bvh.cpp
cdyk/toytrace
f542d24d38c9a7414a7a846c88958fe4ba8ca8c5
[ "MIT" ]
null
null
null
#include <algorithm> #include <cassert> #include "bvh.h" namespace { struct sort_item { float key; unsigned index; }; } bvh::bvh(const std::vector<intersectable*>& items, float t0, float t1, unsigned axis) { unsigned N = unsigned(items.size()); if (N == 1) { children[0] = items[0]; bbox...
21.764045
122
0.606608
[ "vector" ]
30c3412ca670561943a45d7b1be1731908625c2b
984
cpp
C++
test/euler_tour.aoj.GRL_5_D.test.cpp
yoshnary/cplib
41611c1cf8fd7118cb31ed533adcf2dc323a400a
[ "MIT" ]
null
null
null
test/euler_tour.aoj.GRL_5_D.test.cpp
yoshnary/cplib
41611c1cf8fd7118cb31ed533adcf2dc323a400a
[ "MIT" ]
2
2020-05-09T10:31:59.000Z
2020-06-18T18:31:52.000Z
test/euler_tour.aoj.GRL_5_D.test.cpp
yoshnary/cplib
41611c1cf8fd7118cb31ed533adcf2dc323a400a
[ "MIT" ]
null
null
null
#define PROBLEM "https://onlinejudge.u-aizu.ac.jp/courses/library/5/GRL/5/GRL_5_D" #include <iostream> #include "../lib/euler_tour.hpp" #include "../lib/segment_tree.hpp" int main() { int n; std::cin >> n; std::vector<std::vector<int>> edg(n); for (int i = 0; i < n; i++) { int k; std::cin >> k; ...
28.114286
82
0.473577
[ "vector" ]
30d288f63f03db46374f0ec142a42117cce30cad
4,450
cc
C++
DreamDaq/dream_to_offline/dream2root.cc
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
3
2021-07-22T12:17:48.000Z
2021-07-27T07:22:54.000Z
DreamDaq/dream_to_offline/dream2root.cc
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
38
2021-07-14T15:41:04.000Z
2022-03-29T14:18:20.000Z
DreamDaq/dream_to_offline/dream2root.cc
ivivarel/DREMTubes
ac768990b4c5e2c23d986284ed10189f31796b38
[ "MIT" ]
7
2021-07-21T12:00:33.000Z
2021-11-13T10:45:30.000Z
#include <cassert> #include <cstring> #include <cstdlib> #include <iostream> #include <unistd.h> #include "TROOT.h" #include "TFile.h" #include "TTree.h" #include "myRawFile.h" #include "DreamRunInfo.h" #include "DreamDaqEvent.h" #include "DreamDaqEventUnpacker.hh" #include "DreamRawEventBrowser.hh" #include "dream...
27.987421
72
0.538202
[ "vector" ]
30dfb60ae07915a582409bdb556155a7a4dfe71c
1,084
cpp
C++
leetcode/sliding_window/fruit_baskets.cpp
codingpotato/algorithm-cpp
793dc9e141000f48ea19c77ef0047923a7667358
[ "MIT" ]
null
null
null
leetcode/sliding_window/fruit_baskets.cpp
codingpotato/algorithm-cpp
793dc9e141000f48ea19c77ef0047923a7667358
[ "MIT" ]
null
null
null
leetcode/sliding_window/fruit_baskets.cpp
codingpotato/algorithm-cpp
793dc9e141000f48ea19c77ef0047923a7667358
[ "MIT" ]
null
null
null
#include <doctest/doctest.h> #include <map> #include <vector> // 904. Fruit Into Baskets class Solution { public: int totalFruit(const std::vector<int>& tree) { std::map<int, int> map; int size = tree.size(); int left = 0; int right = 0; map[tree[0]] = 0; int max = 0; while (right < siz...
23.06383
65
0.5
[ "vector" ]
30e2f08e58adfe2c18d8e172af692c06e5ac70cd
2,153
cpp
C++
dev/test-soundcube/src/testApp.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
52
2015-01-13T05:17:23.000Z
2021-05-09T14:09:39.000Z
dev/test-soundcube/src/testApp.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
7
2015-01-12T10:25:14.000Z
2018-09-18T12:34:15.000Z
dev/test-soundcube/src/testApp.cpp
YCAMInterlab/RAMDanceToolkit
5db15135f4ad6f6a9116610b909df99036f74797
[ "Apache-2.0" ]
31
2015-01-12T06:39:15.000Z
2020-04-06T07:05:08.000Z
#include "testApp.h" #include "SoundCube.h" ramSceneManager SM; SoundCube soundCube; #pragma mark - oF methods //-------------------------------------------------------------- void testApp::setup() { ofSetFrameRate(60); ofSetVerticalSync(true); ofBackground(ramColor::WHITE); /// ram setup // --------------...
17.941667
64
0.385044
[ "vector" ]
30e5f29ff8e176cc1f4e505de90b0913e01ad51e
5,651
cpp
C++
common/tests/TextConversionTests.cpp
clayne/micro-profiler
7b0e01f8ae8a8cdb6600b23d4dd5b7422c464c7b
[ "MIT" ]
194
2015-07-27T09:54:24.000Z
2022-03-21T20:50:22.000Z
common/tests/TextConversionTests.cpp
clayne/micro-profiler
7b0e01f8ae8a8cdb6600b23d4dd5b7422c464c7b
[ "MIT" ]
63
2015-08-19T16:42:33.000Z
2022-02-22T20:30:49.000Z
common/tests/TextConversionTests.cpp
clayne/micro-profiler
7b0e01f8ae8a8cdb6600b23d4dd5b7422c464c7b
[ "MIT" ]
33
2015-08-21T17:48:03.000Z
2022-02-23T03:54:17.000Z
#include <common/formatting.h> #include <ut/assert.h> #include <ut/test.h> using namespace std; namespace micro_profiler { namespace tests { namespace { template <unsigned char base, typename T> string itoa_s(T value, char min_width = 0, char padding = ' ') { string result(4, ' '); itoa<base>...
29.279793
70
0.624314
[ "vector" ]
30eae86a1b25b47c39779dd6a802f11ed9420423
3,279
hh
C++
include/ftk/basic/contour_tree.hh
jiayixu64/ftk
f975db300a4ec87fcda06a625a217283e777fd87
[ "MIT" ]
1
2019-04-18T16:05:08.000Z
2019-04-18T16:05:08.000Z
include/ftk/basic/contour_tree.hh
jiayixu64/ftk
f975db300a4ec87fcda06a625a217283e777fd87
[ "MIT" ]
null
null
null
include/ftk/basic/contour_tree.hh
jiayixu64/ftk
f975db300a4ec87fcda06a625a217283e777fd87
[ "MIT" ]
1
2019-04-17T17:31:23.000Z
2019-04-17T17:31:23.000Z
#ifndef _FTK_CONTOUR_TREE_H #define _FTK_CONTOUR_TREE_H #include <set> #include <map> namespace ftk { template <class IdType> struct contour_tree { void add_node(IdType i) { nodes.insert(i); } bool has_node(IdType i) const { return nodes.find(i) != nodes.end(); } void add_arc(IdType lo, IdType hi) { upper...
27.325
107
0.608722
[ "vector" ]
30f79ab8787991b0ab5f63d92780014f880f7352
5,358
cpp
C++
src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp
puppyofkosh/mongo
ed601dd01169b8c1fad9fb8d388da0523a1b48f5
[ "Apache-2.0" ]
1
2015-11-08T17:16:08.000Z
2015-11-08T17:16:08.000Z
src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp
puppyofkosh/mongo
ed601dd01169b8c1fad9fb8d388da0523a1b48f5
[ "Apache-2.0" ]
null
null
null
src/mongo/db/pipeline/document_source_lookup_change_post_image.cpp
puppyofkosh/mongo
ed601dd01169b8c1fad9fb8d388da0523a1b48f5
[ "Apache-2.0" ]
1
2021-06-18T05:00:06.000Z
2021-06-18T05:00:06.000Z
/** * Copyright (C) 2017 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITH...
43.209677
99
0.654535
[ "object" ]
30fb9d67c4b4509f988482b849de76ec0641f262
56,321
cpp
C++
moos-ivp/ivp/src/lib_mbutil/MBUtils.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
8
2019-05-27T08:46:46.000Z
2022-02-19T10:43:55.000Z
moos-ivp/ivp/src/lib_mbutil/MBUtils.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/lib_mbutil/MBUtils.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
4
2019-04-05T18:34:38.000Z
2021-06-16T01:43:29.000Z
/*****************************************************************/ /* NAME: Michael Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: MBUtils.cpp */ /* DATE: (1996-2005) ...
26.429376
84
0.533407
[ "vector" ]
a50c7832a4f5d1aa6d00dd0236c2d74cf63f5032
7,172
cxx
C++
main/formula/source/ui/dlg/funcpage.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/formula/source/ui/dlg/funcpage.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/formula/source/ui/dlg/funcpage.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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 y...
27.269962
114
0.637758
[ "vector" ]
a5153d0cd58a9b2e30cb2e392a4b15d4293b2881
1,674
cpp
C++
android-31/android/provider/MediaStore_Audio_Albums.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/provider/MediaStore_Audio_Albums.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/provider/MediaStore_Audio_Albums.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../net/Uri.hpp" #include "../../JString.hpp" #include "./MediaStore_Audio_Albums.hpp" namespace android::provider { // Fields JString MediaStore_Audio_Albums::CONTENT_TYPE() { return getStaticObjectField( "android.provider.MediaStore$Audio$Albums", "CONTENT_TYPE", "Ljava/lang/String;" ); } ...
23.577465
83
0.728196
[ "object" ]
a51c4802dd201e2f0acd58971f7653f078b1e883
1,460
cpp
C++
Players/Cocos2d-x_v4/EffekseerRendererLLGI/EffekseerRendererLLGI.ModelLoader.cpp
chao19973/EffekseerForCocos2d-x
f9eff96ec8220e2cfe862e088634d4059f2b781c
[ "MIT" ]
null
null
null
Players/Cocos2d-x_v4/EffekseerRendererLLGI/EffekseerRendererLLGI.ModelLoader.cpp
chao19973/EffekseerForCocos2d-x
f9eff96ec8220e2cfe862e088634d4059f2b781c
[ "MIT" ]
null
null
null
Players/Cocos2d-x_v4/EffekseerRendererLLGI/EffekseerRendererLLGI.ModelLoader.cpp
chao19973/EffekseerForCocos2d-x
f9eff96ec8220e2cfe862e088634d4059f2b781c
[ "MIT" ]
null
null
null
 #include "EffekseerRendererLLGI.ModelLoader.h" #include "EffekseerRendererLLGI.Renderer.h" #include <memory> namespace EffekseerRendererLLGI { ModelLoader::ModelLoader(GraphicsDevice* graphicsDevice, ::Effekseer::FileInterface* fileInterface) : graphicsDevice_(graphicsDevice) , m_fileInterface(fileInterface) { L...
21.15942
99
0.730822
[ "model" ]
a5245a60b722bd713304357d7ae109b5e9145193
24,781
cpp
C++
Peach3D/Platform/Android/Peach3DPlatformAndroid.cpp
singoonhe/peach3d
ac09379b3131cb01f34a59bd995c33fa14b9d563
[ "MIT" ]
null
null
null
Peach3D/Platform/Android/Peach3DPlatformAndroid.cpp
singoonhe/peach3d
ac09379b3131cb01f34a59bd995c33fa14b9d563
[ "MIT" ]
null
null
null
Peach3D/Platform/Android/Peach3DPlatformAndroid.cpp
singoonhe/peach3d
ac09379b3131cb01f34a59bd995c33fa14b9d563
[ "MIT" ]
null
null
null
// // Peach3DPlatformAndroid.cpp // Peach3DLib // // Created by singoon he on 14-9-1. // Copyright (c) 2014 singoon.he. All rights reserved. // #include <android/bitmap.h> #include <sys/stat.h> #include <sys/system_properties.h> #include "Peach3DUtils.h" #include "Peach3DLayoutManager.h" #include "Peach3DEventDisp...
42.433219
265
0.574997
[ "render", "vector", "model" ]
a530efd0c3017106935a9bc39b4c444c671c152c
4,685
cpp
C++
velox/expression/tests/VariadicViewTest.cpp
oerling/velox-1
1ecf03660172fa6068e56f3d44fdf6d3cecf9fe7
[ "Apache-2.0" ]
1
2021-12-27T11:26:40.000Z
2021-12-27T11:26:40.000Z
velox/expression/tests/VariadicViewTest.cpp
dujl/velox
1ecf03660172fa6068e56f3d44fdf6d3cecf9fe7
[ "Apache-2.0" ]
null
null
null
velox/expression/tests/VariadicViewTest.cpp
dujl/velox
1ecf03660172fa6068e56f3d44fdf6d3cecf9fe7
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
31.442953
79
0.636286
[ "vector" ]
a540c1e7ff4edb9f0b369e45e3fe9c412c54b30d
24,726
cpp
C++
src/toolpath/IAGcodeWriter.cpp
MatthiasWM/AllPlatformAppFLTK
24054a8a494803ffae51cef7bdc5afb470c787eb
[ "MIT" ]
12
2018-08-14T00:55:35.000Z
2022-02-08T12:01:39.000Z
src/toolpath/IAGcodeWriter.cpp
MatthiasWM/AllPlatformAppFLTK
24054a8a494803ffae51cef7bdc5afb470c787eb
[ "MIT" ]
34
2018-09-17T08:02:42.000Z
2018-10-17T22:56:23.000Z
src/toolpath/IAGcodeWriter.cpp
MatthiasWM/AllPlatformAppFLTK
24054a8a494803ffae51cef7bdc5afb470c787eb
[ "MIT" ]
9
2018-10-05T09:16:47.000Z
2022-02-28T02:39:33.000Z
// // IAGcodeWriter.cpp // // Copyright (c) 2013-2018 Matthias Melcher. All rights reserved. // #include "IAGcodeWriter.h" #include "Iota.h" #include "printer/IAFDMPrinter.h" #include <FL/gl.h> #include <math.h> #include <stdarg.h> #ifdef __APPLE__ #pragma mark - #endif // =====================================...
29.647482
134
0.611866
[ "vector", "model" ]
a54331dba8eb889e3b06840a425d17d02ec1abab
4,712
cpp
C++
src/TicTacView.cpp
saffarpour/SimpleMVCTicTacToe
92a38596519545e1107ffeb1b8b7f6f8f9d42317
[ "MIT" ]
null
null
null
src/TicTacView.cpp
saffarpour/SimpleMVCTicTacToe
92a38596519545e1107ffeb1b8b7f6f8f9d42317
[ "MIT" ]
null
null
null
src/TicTacView.cpp
saffarpour/SimpleMVCTicTacToe
92a38596519545e1107ffeb1b8b7f6f8f9d42317
[ "MIT" ]
null
null
null
/* File: TicTacView.cpp Copyright (c) 2020-Present Reza Saffarpour Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights t...
29.08642
83
0.593379
[ "model" ]
a54ccbc0064b034364049ee047aca7a3042d0446
10,124
cc
C++
pre_processors/filter_range_image.cc
Gatsby23/StaticMapping
71bb3bedfb116c4ea0ad82ab0cdf146f6a9df024
[ "MIT" ]
264
2019-08-08T08:39:39.000Z
2022-03-27T09:46:42.000Z
pre_processors/filter_range_image.cc
Gatsby23/StaticMapping
71bb3bedfb116c4ea0ad82ab0cdf146f6a9df024
[ "MIT" ]
26
2019-08-26T13:35:05.000Z
2022-03-14T10:16:55.000Z
pre_processors/filter_range_image.cc
Gatsby23/StaticMapping
71bb3bedfb116c4ea0ad82ab0cdf146f6a9df024
[ "MIT" ]
62
2019-08-20T17:14:14.000Z
2022-03-16T12:18:35.000Z
// MIT License // Copyright (c) 2019 Edward Liu // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merg...
32.242038
80
0.631865
[ "vector" ]
a550fadd84573d55292f5b6aa6b671e53f925a4b
2,392
cpp
C++
CIM_Framework/CIMFramework/CPPClasses/Src/CIM_UseOfLog.cpp
rgl/lms
cda6a25e0f39b2a18f10415560ee6a2cfc5fbbcb
[ "Apache-2.0" ]
18
2019-04-17T10:43:35.000Z
2022-03-22T22:30:39.000Z
CIM_Framework/CIMFramework/CPPClasses/Src/CIM_UseOfLog.cpp
rgl/lms
cda6a25e0f39b2a18f10415560ee6a2cfc5fbbcb
[ "Apache-2.0" ]
9
2019-10-03T15:29:51.000Z
2021-12-27T14:03:33.000Z
CIM_Framework/CIMFramework/CPPClasses/Src/CIM_UseOfLog.cpp
isabella232/lms
50d16f81b49aba6007388c001e8137352c5eb42e
[ "Apache-2.0" ]
8
2019-06-13T23:30:50.000Z
2021-06-25T15:51:59.000Z
//---------------------------------------------------------------------------- // // Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved. // // File: CIM_UseOfLog.cpp // // Contents: ManagedSystemElements may record their event, error or informational data within Logs. The use of a Log to hold ...
29.530864
293
0.684365
[ "object", "vector" ]
a22383f4caf419547cfb306533d3e5e78fd146bc
25,132
cpp
C++
SixthLabCMA/SixthLabCMA/SixthLabCMA.cpp
Hramkanvas/needandnotneed
f28ef4a4be428370e2148883c06126f5be9ccd4e
[ "MIT" ]
1
2019-12-28T13:57:09.000Z
2019-12-28T13:57:09.000Z
SixthLabCMA/SixthLabCMA/SixthLabCMA.cpp
Hramkanvas/needandnotneed
f28ef4a4be428370e2148883c06126f5be9ccd4e
[ "MIT" ]
null
null
null
SixthLabCMA/SixthLabCMA/SixthLabCMA.cpp
Hramkanvas/needandnotneed
f28ef4a4be428370e2148883c06126f5be9ccd4e
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <vector> #include <cmath> #include <ctime> #include <iostream> #include <iomanip> #include <string> #include <algorithm> #include <fstream> using namespace std; class Matrix { public: vector<vector<double>> Mat; vector<vector<double>> IMat; vector<double> VSol; vector<double> VSolN; ...
24.072797
118
0.549737
[ "vector" ]
a22fc6136dc1016e706df8da9ad3628b5aa2596a
5,208
cpp
C++
Vigilant/Vigilant.cpp
hardikphalet/vigilant-engine
ffffdad68d3f1fe05872aa8a6236ad2f327e9d65
[ "Apache-2.0" ]
1
2021-01-12T07:12:53.000Z
2021-01-12T07:12:53.000Z
Vigilant/Vigilant.cpp
hardikphalet/vigilant-engine
ffffdad68d3f1fe05872aa8a6236ad2f327e9d65
[ "Apache-2.0" ]
null
null
null
Vigilant/Vigilant.cpp
hardikphalet/vigilant-engine
ffffdad68d3f1fe05872aa8a6236ad2f327e9d65
[ "Apache-2.0" ]
null
null
null
#include "Polynomial.h" #include <iostream> #include <SDL.h> #include <SDL_image.h> //Screen dimension constants const int SCREEN_HEIGHT = 480; const int SCREEN_WIDTH = 640; //setting the screen size bool init(); //Starts up SDL and creates window bool loadMedia(); //Loads media void close(); //Frees media ...
28.773481
151
0.544547
[ "render" ]
a2327ed958e4ee6b9a2074799374b5074ca7190c
13,773
cpp
C++
basic_culling.cpp
Yours3lf/basic_culling
d82f8fc85a9f5291dfcffac66e3cd04027554f79
[ "MIT" ]
null
null
null
basic_culling.cpp
Yours3lf/basic_culling
d82f8fc85a9f5291dfcffac66e3cd04027554f79
[ "MIT" ]
null
null
null
basic_culling.cpp
Yours3lf/basic_culling
d82f8fc85a9f5291dfcffac66e3cd04027554f79
[ "MIT" ]
null
null
null
#include "intersection.h" #include "framework.h" using namespace prototyper; int main( int argc, char** argv ) { shape::set_up_intersection(); map<string, string> args; for( int c = 1; c < argc; ++c ) { args[argv[c]] = c + 1 < argc ? argv[c + 1] : ""; ++c; } cout << "Arguments: " << endl; for...
25.225275
131
0.561679
[ "render", "shape", "vector", "model" ]
a237730667122a0c529ec85369f1be63a7fab835
5,998
cpp
C++
xdl-algorithm-solution/TDMServing/tdm-serving/index/index_unit.cpp
Ru-Xiang/x-deeplearning
04cc0497150920c64b06bb8c314ef89977a3427a
[ "Apache-2.0" ]
4,071
2018-12-13T04:17:38.000Z
2022-03-30T03:29:35.000Z
xdl-algorithm-solution/TDMServing/tdm-serving/index/index_unit.cpp
laozhuang727/x-deeplearning
781545783a4e2bbbda48fc64318fb2c6d8bbb3cc
[ "Apache-2.0" ]
359
2018-12-21T01:14:57.000Z
2022-02-15T07:18:02.000Z
xdl-algorithm-solution/TDMServing/tdm-serving/index/index_unit.cpp
laozhuang727/x-deeplearning
781545783a4e2bbbda48fc64318fb2c6d8bbb3cc
[ "Apache-2.0" ]
1,054
2018-12-20T09:57:42.000Z
2022-03-29T07:16:53.000Z
/* Copyright (C) 2016-2018 Alibaba Group Holding Limited 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 ...
28.292453
80
0.604201
[ "model" ]
a23863f6136a7da0bbe765fe8bdc0f7e28b94bec
3,676
cpp
C++
build/main/RoninManager.cpp
walthill/final-crusade
4533651b6a4cf55665ea864cb1cb2d40beaf4ee3
[ "Apache-2.0" ]
null
null
null
build/main/RoninManager.cpp
walthill/final-crusade
4533651b6a4cf55665ea864cb1cb2d40beaf4ee3
[ "Apache-2.0" ]
null
null
null
build/main/RoninManager.cpp
walthill/final-crusade
4533651b6a4cf55665ea864cb1cb2d40beaf4ee3
[ "Apache-2.0" ]
null
null
null
#include "RoninManager.h" RoninManager::RoninManager() { } RoninManager::~RoninManager() { clearManager(); } void RoninManager::clearManager() { for (unsigned int i = 0; i < mRoninList.size(); i++) { Ronin* tmp = mRoninList[i]; Collider* tmpCol = mColliderList[i]; if (tmp != NULL) delete tmp; //if ...
18.948454
93
0.663221
[ "vector" ]
a24b43e7738ae02b17fb78edaad89d3ad29acc43
7,230
cc
C++
chrome/test/webdriver/dispatch.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
chrome/test/webdriver/dispatch.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
chrome/test/webdriver/dispatch.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 The Chromium 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 "chrome/test/webdriver/dispatch.h" #include <sstream> #include <string> #include "base/json/json_writer.h" #include "chrome/test/webdriver/c...
37.46114
79
0.640664
[ "vector" ]
a24f848141375fdd093926e8eab54e747354d0f9
1,139
cpp
C++
p3iv_utils_polyvision/test/cgal_convex_hull.cpp
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
4
2021-07-27T06:56:22.000Z
2022-03-22T11:21:30.000Z
p3iv_utils_polyvision/test/cgal_convex_hull.cpp
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
null
null
null
p3iv_utils_polyvision/test/cgal_convex_hull.cpp
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
1
2021-10-10T01:56:44.000Z
2021-10-10T01:56:44.000Z
#include <iostream> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/convex_hull_2.h> #include "gtest/gtest.h" typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef K::Point_2 Point_2; typedef std::vector<Point_2> Points; TEST(CGALTest, ConvexHull) { // array_convex...
36.741935
103
0.676032
[ "vector" ]
a254140e75410a1e60d9db2fe6751a91b5c0b9d2
6,672
hpp
C++
Gui/pagmo/utils/hv_algos/hv_hv2d.hpp
haisenzhao/CarpentryCompiler
c9714310b7ce7523a25becd397265bfaa3ab7ea3
[ "FSFAP" ]
21
2019-12-06T09:57:10.000Z
2021-09-22T12:58:09.000Z
Gui/pagmo/utils/hv_algos/hv_hv2d.hpp
haisenzhao/CarpentryCompiler
c9714310b7ce7523a25becd397265bfaa3ab7ea3
[ "FSFAP" ]
null
null
null
Gui/pagmo/utils/hv_algos/hv_hv2d.hpp
haisenzhao/CarpentryCompiler
c9714310b7ce7523a25becd397265bfaa3ab7ea3
[ "FSFAP" ]
5
2020-11-18T00:09:30.000Z
2021-01-13T04:40:47.000Z
/* Copyright 2017-2018 PaGMO development team This file is part of the PaGMO library. The PaGMO library is free software; you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or...
34.040816
119
0.658723
[ "object", "vector" ]
a262366c9289486fa1084e28872a9e3650d8362f
3,493
cpp
C++
multithreaded/thread_pool.cpp
kzhereb/knu-is-ooop2019
bd0d25b8f42fa00ddbe4cd0a2a477f790cca5ffe
[ "MIT" ]
4
2019-09-30T14:58:40.000Z
2021-03-25T10:11:03.000Z
multithreaded/thread_pool.cpp
kzhereb/knu-is-ooop2019
bd0d25b8f42fa00ddbe4cd0a2a477f790cca5ffe
[ "MIT" ]
143
2019-12-07T14:30:00.000Z
2020-05-18T09:40:10.000Z
multithreaded/thread_pool.cpp
kzhereb/knu-is-ooop2019
bd0d25b8f42fa00ddbe4cd0a2a477f790cca5ffe
[ "MIT" ]
4
2019-09-17T11:39:06.000Z
2019-12-11T18:41:22.000Z
/* * thread_pool.cpp * * Created on: May 29, 2020 * Author: KZ */ #include "../unit-testing/catch.hpp" #include <vector> #include <queue> #include <memory> #include <thread> #include <mutex> #include <condition_variable> #include <future> #include <functional> #include <stdexcept> #in...
25.129496
83
0.504151
[ "vector" ]
a267cf5c827291d9dae95846bd3c8b6866c96acd
1,732
cpp
C++
cpp/249.cpp
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
cpp/249.cpp
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
cpp/249.cpp
kylekanos/project-euler-1
af7089356a4cea90f8ef331cfdc65e696def6140
[ "BSD-2-Clause-FreeBSD" ]
1
2019-09-17T00:55:58.000Z
2019-09-17T00:55:58.000Z
#include <algorithm> #include <iostream> #include <sstream> #include <cstring> #include <cstdlib> #include <climits> #include <cmath> #include <bitset> #include <vector> #include <queue> #include <stack> #include <set> #include <map> #define REP(i,a) for(int i=0;i<(a);i++) #define FOR(i,a,b) for(int i=(a);i<(b);i++) #...
24.742857
78
0.547344
[ "vector" ]
a2738fb11f517ea294b9c2fff896c364c4cbd1b5
1,442
cpp
C++
ftsoftds_vc6/ch13/prg13_5a.cpp
guarana-x/fwg
5a56dcb4caee5dca6744fca8e21b987b07106513
[ "MIT" ]
null
null
null
ftsoftds_vc6/ch13/prg13_5a.cpp
guarana-x/fwg
5a56dcb4caee5dca6744fca8e21b987b07106513
[ "MIT" ]
null
null
null
ftsoftds_vc6/ch13/prg13_5a.cpp
guarana-x/fwg
5a56dcb4caee5dca6744fca8e21b987b07106513
[ "MIT" ]
null
null
null
// File: prg13_5a.cpp // the program demonstrates the need for a virtual destructor // in the base class. the base class, baseCL, does not declare // a virtual destructor, and the derived class, dynDerived, // allocates dynamic memory. after allocating a dynDerived object // and storing the pointer in a baseCL poi...
23.639344
70
0.653953
[ "object" ]
a2782f1059b76bd57b85d8575a0a8b8e86892c1e
1,728
cpp
C++
201610_12/1127_cf16-relay/G.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
7
2019-03-24T14:06:29.000Z
2020-09-17T21:16:36.000Z
201610_12/1127_cf16-relay/G.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
null
null
null
201610_12/1127_cf16-relay/G.cpp
kazunetakahashi/atcoder
16ce65829ccc180260b19316e276c2fcf6606c53
[ "MIT" ]
1
2020-07-22T17:27:09.000Z
2020-07-22T17:27:09.000Z
#include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) // substr(m, n) // stoi(nnn) #include <complex> #include <tuple> // get<n>(xxx) #include <queue> #include <stack> #include <...
23.351351
69
0.480903
[ "vector" ]
a27c7bd195db8ed3c85608a2be06d7c7d98ddc23
606
hpp
C++
code/stable/dblpendulum/src/cpp/Calculations.hpp
JacquesCarette/literate-scientific-software
ba461947c2f1f81c76adce95f05e65edd86b8390
[ "BSD-2-Clause" ]
null
null
null
code/stable/dblpendulum/src/cpp/Calculations.hpp
JacquesCarette/literate-scientific-software
ba461947c2f1f81c76adce95f05e65edd86b8390
[ "BSD-2-Clause" ]
442
2016-05-18T19:11:00.000Z
2017-12-02T14:37:06.000Z
code/stable/dblpendulum/src/cpp/Calculations.hpp
JacquesCarette/literate-scientific-software
ba461947c2f1f81c76adce95f05e65edd86b8390
[ "BSD-2-Clause" ]
null
null
null
/** \file Calculations.hpp \author Dong Chen \brief Provides functions for calculating the outputs */ #ifndef Calculations_h #define Calculations_h #include <vector> #include "ODE.hpp" #include "Populate.hpp" using std::vector; /** \brief Calculates dependent variables (rad) \param m_1 the mass of the f...
24.24
74
0.714521
[ "object", "vector" ]
a28804c117952476dfcf69fb688492a5f88b961e
1,655
cpp
C++
src/1.cpp
zzlai/leetcode-solution
68d35d4f3def6c3f0362bfcc74cb0060291649b3
[ "MIT" ]
null
null
null
src/1.cpp
zzlai/leetcode-solution
68d35d4f3def6c3f0362bfcc74cb0060291649b3
[ "MIT" ]
null
null
null
src/1.cpp
zzlai/leetcode-solution
68d35d4f3def6c3f0362bfcc74cb0060291649b3
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include <unordered_map> using namespace std; #if 0 class Solution { public: // brute force // time and space complexity : O(N^2), O(N) vector<int> twoSum(vector<int>& nums, int target) { int sz = nums.size(); for (int i = 0; i < sz; ++i) { ...
23.985507
56
0.468882
[ "vector" ]
a28fb24d95cbb3b4bd1811cec42f96cca5df324c
7,185
cpp
C++
ext/include/osgEarthDrivers/label_overlay/OverlayLabelSource.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarthDrivers/label_overlay/OverlayLabelSource.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarthDrivers/label_overlay/OverlayLabelSource.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
5
2015-05-04T09:02:23.000Z
2019-06-17T11:34:12.000Z
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2013 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundat...
35.220588
138
0.55936
[ "geometry", "transform" ]
a297b52b66a7f002192a9956a9080cc18af95e4d
2,140
cpp
C++
Online-Judges/CodeForces/800/1627A.Not_Shading.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
3
2021-06-15T01:19:23.000Z
2022-03-16T18:23:53.000Z
Online-Judges/CodeForces/800/1627A.Not_Shading.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
Online-Judges/CodeForces/800/1627A.Not_Shading.cpp
shihab4t/Competitive-Programming
e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using lli = long long int; using str = string; #define vec vector #define endn '\n' #define loop(i, a, b) for (i = a; i < b; i++) #define first_io \ ios_base::sync_with_stdio(false); \ cin.tie(NULL); #define file_io \ ...
22.061856
63
0.451402
[ "vector" ]
a29e86b9837e918ca88cb12ed54cf785b499452d
831
cc
C++
src/tools/dump_graph_main.cc
ishine/deepx_core
a71fa4b5fec5cf5d83da04cbb9ee437d0c8b6e05
[ "BSD-2-Clause" ]
309
2021-03-24T03:00:19.000Z
2022-03-31T16:17:46.000Z
src/tools/dump_graph_main.cc
ishine/deepx_core
a71fa4b5fec5cf5d83da04cbb9ee437d0c8b6e05
[ "BSD-2-Clause" ]
4
2021-03-30T01:46:32.000Z
2021-04-06T12:22:18.000Z
src/tools/dump_graph_main.cc
ishine/deepx_core
a71fa4b5fec5cf5d83da04cbb9ee437d0c8b6e05
[ "BSD-2-Clause" ]
45
2021-03-29T06:12:17.000Z
2022-03-04T05:19:46.000Z
// Copyright 2021 the deepx authors. // Author: Yafei Zhang (kimmyzhang@tencent.com) // #include <deepx_core/graph/graph.h> #include <gflags/gflags.h> #include <iostream> DEFINE_string(in, "", "input model dir/graph file"); namespace deepx_core { namespace { int main(int argc, char** argv) { google::SetUsageMessa...
22.459459
72
0.689531
[ "model" ]
94759830de98d928b6c6eb81567cffbacfaf25d6
2,165
cpp
C++
src/c++/methods/callbacks/MetadataKVPInstanceCallbacks.cpp
leo-polymorph/modioSDK
4e1b1d4baa17d3690f9520484fa58ea466818c2a
[ "MIT" ]
1
2018-10-05T15:59:04.000Z
2018-10-05T15:59:04.000Z
src/c++/methods/callbacks/MetadataKVPInstanceCallbacks.cpp
PyrokinesisStudio/modioSDK
951de6d90806794b5f86f82a1bbfda3e0ba0b65f
[ "MIT" ]
null
null
null
src/c++/methods/callbacks/MetadataKVPInstanceCallbacks.cpp
PyrokinesisStudio/modioSDK
951de6d90806794b5f86f82a1bbfda3e0ba0b65f
[ "MIT" ]
null
null
null
#include "c++/ModIOInstance.h" namespace modio { std::map<u32, GetAllMetadataKVPCall*> get_all_metadata_kvp_calls; std::map<u32, AddMetadataKVPCall*> add_metadata_kvp_calls; std::map<u32, DeleteMetadataKVPCall*> delete_metadata_kvp_calls; void onGetAllMetadataKVP(void* object, ModioResponse modio_response, Mo...
35.491803
137
0.755658
[ "object", "vector" ]
947681a4fec2cd676e4b4ae425e6e7d16c1f0cf7
6,464
cpp
C++
Chapter_5_Image_Restroration_and_Reconstruction/Section_5_7.cpp
AlazzR/Digital-Image-Processing-Cpp
22573ff1aa2c8c8cc3dd6fb4ffaea07241aec47a
[ "CC0-1.0" ]
null
null
null
Chapter_5_Image_Restroration_and_Reconstruction/Section_5_7.cpp
AlazzR/Digital-Image-Processing-Cpp
22573ff1aa2c8c8cc3dd6fb4ffaea07241aec47a
[ "CC0-1.0" ]
null
null
null
Chapter_5_Image_Restroration_and_Reconstruction/Section_5_7.cpp
AlazzR/Digital-Image-Processing-Cpp
22573ff1aa2c8c8cc3dd6fb4ffaea07241aec47a
[ "CC0-1.0" ]
null
null
null
#include "Section_5_7_H_.h" void rescaling_intensities(cv::Mat& tempImage) { //Rescalling the values of the image to be non-negative cv::Mat gm = cv::Mat::zeros(tempImage.rows, tempImage.cols, CV_32FC1); cv::Mat gs = cv::Mat::zeros(tempImage.rows, tempImage.cols, CV_32FC1); std::vector<float> min_vector; auto f =...
31.227053
184
0.606745
[ "object", "vector" ]
947811b1dc821a01b7019563731a62615adaa69c
4,765
cpp
C++
sdk/cpp/core/src/crud_service.cpp
YDK-Solutions/ydk
7ab961284cdc82de8828e53fa4870d3204d7730e
[ "ECL-2.0", "Apache-2.0" ]
125
2016-03-15T17:04:13.000Z
2022-03-22T02:46:17.000Z
sdk/cpp/core/src/crud_service.cpp
YDK-Solutions/ydk
7ab961284cdc82de8828e53fa4870d3204d7730e
[ "ECL-2.0", "Apache-2.0" ]
818
2016-03-17T17:06:00.000Z
2022-03-28T03:56:17.000Z
sdk/cpp/core/src/crud_service.cpp
YDK-Solutions/ydk
7ab961284cdc82de8828e53fa4870d3204d7730e
[ "ECL-2.0", "Apache-2.0" ]
93
2016-03-15T19:18:55.000Z
2022-02-24T13:55:07.000Z
/// YANG Development Kit // Copyright 2016 Cisco Systems. All rights reserved // //////////////////////////////////////////////////////////////// // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional inf...
32.195946
93
0.703882
[ "vector" ]
947c73a6508b1f8683daa28613cc9ac8a71c8562
2,541
hpp
C++
viennamini/stepper.hpp
viennamini/viennamini-dev
0737b8010cce097b5df17d0f6e99583f0055dd66
[ "MIT" ]
null
null
null
viennamini/stepper.hpp
viennamini/viennamini-dev
0737b8010cce097b5df17d0f6e99583f0055dd66
[ "MIT" ]
null
null
null
viennamini/stepper.hpp
viennamini/viennamini-dev
0737b8010cce097b5df17d0f6e99583f0055dd66
[ "MIT" ]
null
null
null
#ifndef VIENNAMINI_STEPPER_HPP #define VIENNAMINI_STEPPER_HPP /* ======================================================================= Copyright (c) 2011-2013, Institute for Microelectronics, TU Wien http://www.iue.tuwien.ac.at ----------------- ViennaMini - The Vi...
39.092308
144
0.494687
[ "vector" ]
9487427fef5e3115f98048f7e8bdedeb5b60919f
2,379
cpp
C++
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Target/BPF/BPFTargetMachine.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Target/BPF/BPFTargetMachine.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Target/BPF/BPFTargetMachine.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
//===-- BPFTargetMachine.cpp - Define TargetMachine for BPF ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
33.985714
80
0.64607
[ "model" ]
948a3cc3aba55d9065bed6be2bc7f0e9cdcdb9d4
2,405
hpp
C++
include/Hry/SCSSDK/TrailerChannel.hpp
Hary309/hry-core
c6547983115d7a34711ce20607c359f4047ec61e
[ "MIT" ]
8
2020-11-13T23:50:16.000Z
2022-01-03T16:54:00.000Z
include/Hry/SCSSDK/TrailerChannel.hpp
Hary309/hry-core
c6547983115d7a34711ce20607c359f4047ec61e
[ "MIT" ]
1
2021-01-28T01:56:30.000Z
2021-04-07T21:45:52.000Z
include/Hry/SCSSDK/TrailerChannel.hpp
Hary309/hry-core
c6547983115d7a34711ce20607c359f4047ec61e
[ "MIT" ]
2
2021-05-30T18:42:20.000Z
2021-07-04T09:04:34.000Z
/** * This file is part of the hry-core project * @ Author: Piotr Krupa <piotrkrupa06@gmail.com> * @ License: MIT License * @ Documentation: SCS Software */ #pragma once #include "Hry/Math/SCSTypes.hpp" #include "Hry/Namespace.hpp" HRY_NS_BEGIN namespace scs { struct TrailerChannel { /** @brief...
40.083333
117
0.662786
[ "vector" ]
948c0fa99f59bd8d4d97822710227dd5f695d915
5,329
cc
C++
plugins/update/npapi/np_update.cc
rocious/omaha
44a58900e58979362ad18de6867d804bee0f1b91
[ "Apache-2.0" ]
34
2019-11-01T04:26:40.000Z
2022-03-29T03:00:40.000Z
plugins/update/npapi/np_update.cc
rocious/omaha
44a58900e58979362ad18de6867d804bee0f1b91
[ "Apache-2.0" ]
1
2015-06-15T06:26:34.000Z
2015-06-15T06:26:34.000Z
plugins/update/npapi/np_update.cc
rocious/omaha
44a58900e58979362ad18de6867d804bee0f1b91
[ "Apache-2.0" ]
8
2019-11-01T04:27:53.000Z
2022-03-16T22:17:12.000Z
// Copyright 2009 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...
28.195767
78
0.705198
[ "object" ]
948d787c18a1fc9d8aeca8d8aaa172d834714661
5,246
cpp
C++
src/CodeGenerator.cpp
gauravahya/program-homework-solver
3f937e63d25f98990b9ceb5a0eb3b7d816d7e129
[ "MIT" ]
7
2019-04-01T05:45:48.000Z
2021-07-31T19:46:18.000Z
src/CodeGenerator.cpp
gauravahya/program-homework-solver
3f937e63d25f98990b9ceb5a0eb3b7d816d7e129
[ "MIT" ]
3
2018-09-30T17:11:30.000Z
2018-10-01T17:35:45.000Z
src/CodeGenerator.cpp
gauravahya/program-homework-solver
3f937e63d25f98990b9ceb5a0eb3b7d816d7e129
[ "MIT" ]
2
2018-11-26T19:52:56.000Z
2020-10-02T06:19:02.000Z
// // Created by junaidrahim on 19/9/18. // #include "../include/CodeGenerator.h" /* -> It takes the vector<element> as a constructor input and generates a string compatible with all the programming languages. -> vector<element> looks like { {4, {"x-3","x-4","x-5"} ,3}, {13, ...
28.053476
107
0.494853
[ "vector" ]
94922feebdf1b9497640dca067876f5988664924
13,428
cxx
C++
MUON/MUONmapping/AliMpFastSegmentation.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONmapping/AliMpFastSegmentation.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONmapping/AliMpFastSegmentation.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are ...
27.62963
97
0.704498
[ "object" ]
9492587ea0260f80293e7af6e8f583b39b5705db
7,382
hpp
C++
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/include/xyz/openbmc_project/Certs/CSR/Create/server.hpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/include/xyz/openbmc_project/Certs/CSR/Create/server.hpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/include/xyz/openbmc_project/Certs/CSR/Create/server.hpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
#pragma once #include <map> #include <string> #include <sdbusplus/sdbus.hpp> #include <sdbusplus/server.hpp> #include <systemd/sd-bus.h> #include <tuple> #include <variant> namespace sdbusplus { namespace xyz { namespace openbmc_project { namespace Certs { namespace CSR { namespace server { class Create { public...
45.567901
287
0.666622
[ "object", "vector" ]
949603cdfbf7c2be44e627c271a9bff694fd236f
7,396
cpp
C++
barelymusician/engine/instrument.cpp
anokta/barelymusician
5e3485c80cc74c4bcbc0653c0eb8750ad44981d6
[ "MIT" ]
6
2021-11-25T17:40:21.000Z
2022-03-24T03:38:11.000Z
barelymusician/engine/instrument.cpp
anokta/barelymusician
5e3485c80cc74c4bcbc0653c0eb8750ad44981d6
[ "MIT" ]
17
2021-11-27T00:10:39.000Z
2022-03-30T00:33:51.000Z
barelymusician/engine/instrument.cpp
anokta/barelymusician
5e3485c80cc74c4bcbc0653c0eb8750ad44981d6
[ "MIT" ]
null
null
null
#include "barelymusician/engine/instrument.h" #include <cassert> #include <utility> #include <variant> #include "barelymusician/engine/event.h" namespace barelyapi { // NOLINTNEXTLINE(bugprone-exception-escape) Instrument::Instrument(const Definition& definition, int frame_rate) noexcept : destroy_callback_(def...
34.723005
80
0.635749
[ "vector" ]
9497295365cb2da9a805d009ad73e937e52e66dd
3,897
hpp
C++
include/owlcpp/rdf/map_triple_crtpb.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
10
2017-12-21T05:20:40.000Z
2021-09-18T05:14:01.000Z
include/owlcpp/rdf/map_triple_crtpb.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
2
2017-12-21T07:31:54.000Z
2021-06-23T08:52:35.000Z
include/owlcpp/rdf/map_triple_crtpb.hpp
GreyMerlin/owl_cpp
ccc6128dbd08dcf7fcbe6679ec6acd714732bbb6
[ "BSL-1.0" ]
7
2016-02-17T13:20:31.000Z
2021-11-08T09:30:43.000Z
/** @file "/owlcpp/include/owlcpp/rdf/map_triple_crtpb.hpp" part of owlcpp project. @n @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt. @n Copyright Mikhail K Levin 2012 *******************************************************************************/ #ifndef MAP_TRIPLE_CRTPB_HPP_ #def...
34.184211
86
0.639723
[ "object" ]
949bf632fd3f4545236c73397bf8436a6a614a88
9,078
hh
C++
RAVL2/Math/Geometry/Euclidean/3D/EulerAngle.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Math/Geometry/Euclidean/3D/EulerAngle.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Math/Geometry/Euclidean/3D/EulerAngle.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2002, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
35.186047
94
0.655981
[ "geometry", "vector", "3d" ]
94a9f9b3521b6727ab9c82d79e34ef563e57e463
958
cpp
C++
2019-feb-28/Problems/C- A Little Bit!/code/A_Little_Bit.cpp
acmiut/contests
757e198914697e81b9f3640ae315c3b539a49d17
[ "Apache-2.0" ]
null
null
null
2019-feb-28/Problems/C- A Little Bit!/code/A_Little_Bit.cpp
acmiut/contests
757e198914697e81b9f3640ae315c3b539a49d17
[ "Apache-2.0" ]
null
null
null
2019-feb-28/Problems/C- A Little Bit!/code/A_Little_Bit.cpp
acmiut/contests
757e198914697e81b9f3640ae315c3b539a49d17
[ "Apache-2.0" ]
3
2019-03-31T13:29:09.000Z
2021-12-20T02:03:06.000Z
#include <vector> #include <cstdio> #include <set> #include <map> #include <algorithm> #include <cstdlib> #include <sstream> #include <numeric> #include <queue> #include <iostream> #include <string> #include <cstring> #include <utility> #define sz(a) ((int)(a).size()) #define pb push_back #define mk make_pair #define f...
19.55102
77
0.622129
[ "vector" ]
94b1a39907e0786bef67fe5363f6e8f3fa50f67d
2,802
cpp
C++
UvA/U11110.cpp
fvannee/competitive-coding
92bc383c482b55f3e48a583cddc50d92474eb488
[ "MIT" ]
null
null
null
UvA/U11110.cpp
fvannee/competitive-coding
92bc383c482b55f3e48a583cddc50d92474eb488
[ "MIT" ]
null
null
null
UvA/U11110.cpp
fvannee/competitive-coding
92bc383c482b55f3e48a583cddc50d92474eb488
[ "MIT" ]
null
null
null
#include <vector> #include <list> #include <map> #include <set> #include <queue> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <fstream> #include <iomanip> #include <cstdio> #include <...
23.35
140
0.524625
[ "vector" ]
94baa1a5454777bbed75909c1351c846c79bf55f
3,002
cpp
C++
librtt/Renderer/Rtt_GeometryPool.cpp
agramonte/corona
3a6892f14eea92fdab5fa6d41920aa1e97bc22b1
[ "MIT" ]
1,968
2018-12-30T21:14:22.000Z
2022-03-31T23:48:16.000Z
librtt/Renderer/Rtt_GeometryPool.cpp
agramonte/corona
3a6892f14eea92fdab5fa6d41920aa1e97bc22b1
[ "MIT" ]
303
2019-01-02T19:36:43.000Z
2022-03-31T23:52:45.000Z
librtt/Renderer/Rtt_GeometryPool.cpp
agramonte/corona
3a6892f14eea92fdab5fa6d41920aa1e97bc22b1
[ "MIT" ]
254
2019-01-02T19:05:52.000Z
2022-03-30T06:32:28.000Z
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // ////////////////////////...
25.87931
88
0.571952
[ "geometry" ]
94c5b9b228869bf1a4da718ac762c0477c89b15f
2,092
cc
C++
examples/Geant4/CerenkovStandalone/RINDEXTest.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
examples/Geant4/CerenkovStandalone/RINDEXTest.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
examples/Geant4/CerenkovStandalone/RINDEXTest.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
#include <cassert> #include <iostream> #include <iomanip> #include "G4SystemOfUnits.hh" #include "G4PhysicalConstants.hh" #include "OpticksDebug.hh" #include "NP.hh" struct RINDEXTest { static const char* FOLD ; NP* a ; G4MaterialPropertyVector* rindex ; RINDEXTest(const c...
24.045977
98
0.573614
[ "vector" ]
94cf8a27f091ecd853402cd1a79487ba32044654
3,833
cpp
C++
Example2D3DRegistration/Example2D3DRegistrationAlgorithm.cpp
ImFusionGmbH/public-demos
e2a5c5d5fcf21d7c2868e4182f9df77efb97f945
[ "BSD-3-Clause" ]
10
2019-09-26T20:04:22.000Z
2021-07-09T01:45:29.000Z
Example2D3DRegistration/Example2D3DRegistrationAlgorithm.cpp
ImFusionGmbH/public-demos
e2a5c5d5fcf21d7c2868e4182f9df77efb97f945
[ "BSD-3-Clause" ]
null
null
null
Example2D3DRegistration/Example2D3DRegistrationAlgorithm.cpp
ImFusionGmbH/public-demos
e2a5c5d5fcf21d7c2868e4182f9df77efb97f945
[ "BSD-3-Clause" ]
4
2020-01-19T08:46:17.000Z
2021-11-08T22:21:29.000Z
#include "Example2D3DRegistrationAlgorithm.h" #include <ImFusion/Base/DataList.h> #include <ImFusion/Base/ImageProcessing.h> #include <ImFusion/Base/Log.h> #include <ImFusion/Base/MemImage.h> #include <ImFusion/Base/Pose.h> #include <ImFusion/Base/SharedImage.h> #include <ImFusion/Base/SharedImageSet.h> #include <ImFu...
33.622807
110
0.749804
[ "geometry" ]
94d6cfa260993d308ed46ae83fbfe35363e892c3
26,263
cpp
C++
src/VoxieBackend/Data/TomographyRawData2DAccessor.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/VoxieBackend/Data/TomographyRawData2DAccessor.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/VoxieBackend/Data/TomographyRawData2DAccessor.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
37.626074
80
0.659254
[ "geometry", "object" ]
94de20f7532c00ff012c5aa75fde606b453e03f7
659
cpp
C++
src/texturemaker.cpp
therocode/painter
3b678552a53edc937c368b5212c49ca7d0aa1a3e
[ "MIT" ]
null
null
null
src/texturemaker.cpp
therocode/painter
3b678552a53edc937c368b5212c49ca7d0aa1a3e
[ "MIT" ]
null
null
null
src/texturemaker.cpp
therocode/painter
3b678552a53edc937c368b5212c49ca7d0aa1a3e
[ "MIT" ]
null
null
null
#include "texturemaker.hpp" fea::Texture makeTexture(std::string path) { fea::Texture texture; uint32_t width; uint32_t height; std::vector<unsigned char> image; //the raw pixels //decode unsigned error = lodepng::decode(image, width, height, path); //if there's an error, display it ...
26.36
119
0.62519
[ "vector" ]
94e3157d0336f88ca2c361ac395cdafd0e8712c2
4,055
cpp
C++
proxygen/lib/utils/test/TraceEventTest.cpp
BeeswaxIO/proxygen
ddd9ce537cb93ed39cc3aa8ca52f76966b559559
[ "BSD-3-Clause" ]
null
null
null
proxygen/lib/utils/test/TraceEventTest.cpp
BeeswaxIO/proxygen
ddd9ce537cb93ed39cc3aa8ca52f76966b559559
[ "BSD-3-Clause" ]
null
null
null
proxygen/lib/utils/test/TraceEventTest.cpp
BeeswaxIO/proxygen
ddd9ce537cb93ed39cc3aa8ca52f76966b559559
[ "BSD-3-Clause" ]
1
2021-01-09T09:01:41.000Z
2021-01-09T09:01:41.000Z
/* * Copyright (c) 2017, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include <pr...
28.159722
79
0.745006
[ "vector" ]
94ec61b83b1d04999d23cfc1210ab51aa24f7068
4,258
cpp
C++
2M3/Source/Server/Network/ServerNetworkHandler.cpp
simatic/MultiplayerLab
f483a80882f32249923c4fbcc876cfdca2b7da10
[ "MIT" ]
null
null
null
2M3/Source/Server/Network/ServerNetworkHandler.cpp
simatic/MultiplayerLab
f483a80882f32249923c4fbcc876cfdca2b7da10
[ "MIT" ]
45
2020-10-08T13:32:36.000Z
2020-12-17T14:41:40.000Z
2M3/Source/Server/Network/ServerNetworkHandler.cpp
simatic/MultiplayerLab
f483a80882f32249923c4fbcc876cfdca2b7da10
[ "MIT" ]
3
2020-10-02T09:02:20.000Z
2020-11-07T00:14:13.000Z
// // Created by jglrxavpok on 15/10/2020. // #include <iostream> #include <thread> #include <Server/Network/ServerClock.h> #include "Server/Network/NetworkSettings.h" #include "Server/Network/ServerNetworkHandler.h" #include "Server/Network/DelayCreation.h" #include "Server/Interface.h" ServerNetworkHandler::ServerN...
31.308824
210
0.682715
[ "vector" ]
94ff1c8b69efba9e51cbed1f24f9965eae8c075b
1,548
hpp
C++
unittests/test-contracts/proxy/proxy.hpp
PicoFoundation/Pico2
8367d9edede9a9f7b1277d08333785d3bcf093b2
[ "MIT" ]
null
null
null
unittests/test-contracts/proxy/proxy.hpp
PicoFoundation/Pico2
8367d9edede9a9f7b1277d08333785d3bcf093b2
[ "MIT" ]
null
null
null
unittests/test-contracts/proxy/proxy.hpp
PicoFoundation/Pico2
8367d9edede9a9f7b1277d08333785d3bcf093b2
[ "MIT" ]
1
2021-01-28T06:01:01.000Z
2021-01-28T06:01:01.000Z
#pragma once #include <picoio/picoio.hpp> #include <picoio/singleton.hpp> #include <picoio/asset.hpp> // Extacted from picoio.token contract: namespace picoio { class [[picoio::contract("picoio.token")]] token : public picoio::contract { public: using picoio::contract::contract; [[picoio::action]] ...
29.769231
95
0.606589
[ "vector" ]
a200d31df3644c0e63607fce9e0c48cc387b25b5
2,425
cpp
C++
Source Code/Source/ReturnoftheGorm/FlameObstacle.cpp
creosB/Return-Of-the-Gorm
09f413cf30ae5bd74dd8f8afccf3a2824a82eeb3
[ "MIT" ]
null
null
null
Source Code/Source/ReturnoftheGorm/FlameObstacle.cpp
creosB/Return-Of-the-Gorm
09f413cf30ae5bd74dd8f8afccf3a2824a82eeb3
[ "MIT" ]
null
null
null
Source Code/Source/ReturnoftheGorm/FlameObstacle.cpp
creosB/Return-Of-the-Gorm
09f413cf30ae5bd74dd8f8afccf3a2824a82eeb3
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "FlameObstacle.h" #include "TimerManager.h" #include "DrawDebugHelpers.h" #include "Kismet/GameplayStatics.h" // Sets default values AFlameObstacle::AFlameObstacle() { // Set this pawn to call Tick() every frame. You can turn ...
22.045455
114
0.74433
[ "mesh" ]
a2164f6fe81250e6bc84c956ce7ae28df8e45968
2,979
cpp
C++
temp_save/C++code/Regulation.cpp
ustckun/USTC-Software2013
3b6b037dd96f20301595a153907b7aa635202546
[ "BSD-3-Clause" ]
2
2018-02-01T06:46:32.000Z
2018-02-01T06:46:36.000Z
temp_save/C++code/Regulation.cpp
ustckun/USTC-Software2013
3b6b037dd96f20301595a153907b7aa635202546
[ "BSD-3-Clause" ]
null
null
null
temp_save/C++code/Regulation.cpp
ustckun/USTC-Software2013
3b6b037dd96f20301595a153907b7aa635202546
[ "BSD-3-Clause" ]
2
2017-07-24T06:33:35.000Z
2020-02-10T11:57:01.000Z
// Regulation.cpp // Get regualtion matrix and 166 genes' names // // version 2.0 // change: // 1.add output to txt module // 2.add notation // //********************************************************************************** //this module read TF-TF regualtion from RegulonDB database //transform + - to +1 -1 and 0 ...
17.219653
107
0.556227
[ "transform" ]
a218413d0b66813c6ad49144c889cac5eeb7e0d6
974
hpp
C++
include/preprocessing/import_charger_geojson.hpp
TheMarex/charge
85e35f7a6c8b8c161ecd851124d1363d5a450573
[ "BSD-2-Clause" ]
13
2018-03-09T14:37:31.000Z
2021-07-27T06:56:35.000Z
include/preprocessing/import_charger_geojson.hpp
AlexBlazee/charge
85e35f7a6c8b8c161ecd851124d1363d5a450573
[ "BSD-2-Clause" ]
null
null
null
include/preprocessing/import_charger_geojson.hpp
AlexBlazee/charge
85e35f7a6c8b8c161ecd851124d1363d5a450573
[ "BSD-2-Clause" ]
10
2018-04-14T02:27:32.000Z
2021-06-13T23:30:44.000Z
#ifndef CHARGE_PREPROCESSING_IMPORT_GEOJSON_HPP #define CHARGE_PREPROCESSING_IMPORT_GEOJSON_HPP #include "common/nearest_neighbour.hpp" #include <json.hpp> namespace charge::preprocessing { auto charger_from_geojson(const nlohmann::json &feature_collection, const std::vector<common::Coordi...
31.419355
98
0.629363
[ "geometry", "vector" ]
a21aaf8d4382a619094c87854084aebe9fa26b5c
9,142
cpp
C++
src/modules/statistics/statisticcontroller.cpp
565353780/railway-catenary-detect
edc32da2613a9f38febf2b6efa11fa64fdc31dac
[ "MIT" ]
null
null
null
src/modules/statistics/statisticcontroller.cpp
565353780/railway-catenary-detect
edc32da2613a9f38febf2b6efa11fa64fdc31dac
[ "MIT" ]
null
null
null
src/modules/statistics/statisticcontroller.cpp
565353780/railway-catenary-detect
edc32da2613a9f38febf2b6efa11fa64fdc31dac
[ "MIT" ]
null
null
null
#include "statisticcontroller.h" #include "services/SqlTable/SqlRecordCountTableModel.h" #include "modules/railwayCatenaryDataManager/railwaycatenarydatamanager.h" StatisticController::StatisticController(QObject *parent, RailwayCatenaryDataManager *database_manager) : QObject(parent), database_manager_(datab...
30.575251
166
0.628746
[ "object", "model" ]
b8c79866017dc90d53615eea555af3b103b53b67
425
cpp
C++
sandbox/src/emptyscene.cpp
trbflxr/x808
d5ab9e96c5a6109283151a591c261e4183628075
[ "MIT" ]
null
null
null
sandbox/src/emptyscene.cpp
trbflxr/x808
d5ab9e96c5a6109283151a591c261e4183628075
[ "MIT" ]
null
null
null
sandbox/src/emptyscene.cpp
trbflxr/x808
d5ab9e96c5a6109283151a591c261e4183628075
[ "MIT" ]
null
null
null
// // Created by FLXR on 3/21/2019. // #include "emptyscene.hpp" using namespace xe; EmptyScene::EmptyScene() { } EmptyScene::~EmptyScene() { } void EmptyScene::render() { } void EmptyScene::renderImGui() { } void EmptyScene::update(float delta) { } void EmptyScene::fixedUpdate(float delta) { } void Empt...
11.184211
43
0.658824
[ "render" ]
b8ccdb36edffd51d55a70e9fce5ee120d255f54b
4,558
hpp
C++
src/Omega_h_input.hpp
overfelt/omega_h
dfc19cc3ea0e183692ca6c548dda39f7892301b5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/Omega_h_input.hpp
overfelt/omega_h
dfc19cc3ea0e183692ca6c548dda39f7892301b5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/Omega_h_input.hpp
overfelt/omega_h
dfc19cc3ea0e183692ca6c548dda39f7892301b5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#ifndef OMEGA_H_INPUT_HPP #define OMEGA_H_INPUT_HPP #include <memory> #include <string> #include <vector> namespace Omega_h { struct Input { Input() : parent(nullptr), used(false) {} Input* parent; bool used; }; inline bool is_type<InputType>(Input& input) { auto ptr_in = &input; auto ptr_out = dynamic_ca...
29.406452
80
0.665204
[ "vector" ]
b8d255895cef21170f57157bcbc19f33e345bba7
2,187
cpp
C++
src/rynx/editor/tools/instantiate_tool.cpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
11
2019-08-19T08:44:14.000Z
2020-09-22T20:04:46.000Z
src/rynx/editor/tools/instantiate_tool.cpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
null
null
null
src/rynx/editor/tools/instantiate_tool.cpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
null
null
null
#include <rynx/editor/tools/instantiate_tool.hpp> #include <rynx/menu/FileSelector.hpp> #include <rynx/math/geometry/ray.hpp> #include <rynx/math/geometry/plane.hpp> #include <rynx/tech/filesystem/filesystem.hpp> #include <rynx/tech/ecs.hpp> #include <rynx/graphics/texture/texturehandler.hpp> rynx::editor::tools::i...
33.136364
112
0.698217
[ "geometry" ]
b8dd47e5b8a644e78a5f112d75daaab6c28afb1b
130,931
cpp
C++
blazetest/src/mathtest/dilatedsubmatrix/DenseTest1.cpp
igl42/blaze_tensor
f6a7ab2ae69ff52af32fdfabeaad53787d01bca0
[ "Unlicense" ]
30
2018-11-26T09:33:55.000Z
2021-12-21T21:19:58.000Z
blazetest/src/mathtest/dilatedsubmatrix/DenseTest1.cpp
igl42/blaze_tensor
f6a7ab2ae69ff52af32fdfabeaad53787d01bca0
[ "Unlicense" ]
31
2018-12-01T19:41:57.000Z
2020-08-06T12:03:38.000Z
blazetest/src/mathtest/dilatedsubmatrix/DenseTest1.cpp
igl42/blaze_tensor
f6a7ab2ae69ff52af32fdfabeaad53787d01bca0
[ "Unlicense" ]
6
2019-03-07T17:04:08.000Z
2021-06-28T22:15:19.000Z
//================================================================================================= /*! // \file src/mathtest/dilatedsubmatrix/DenseTest1.cpp // \brief Source file for the dilatedsubmatrix dense aligned test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // Copyright (C) 2018-20...
35.281865
115
0.514462
[ "vector" ]
b8e123ae953fc489fca5ffc173f6012157488257
24,193
hpp
C++
visa/iga/IGALibrary/Backend/Native/InstEncoder.hpp
dkurt/intel-graphics-compiler
247cfb9ca64bc187ee9cf3b437ad184fb2d5c471
[ "MIT" ]
null
null
null
visa/iga/IGALibrary/Backend/Native/InstEncoder.hpp
dkurt/intel-graphics-compiler
247cfb9ca64bc187ee9cf3b437ad184fb2d5c471
[ "MIT" ]
null
null
null
visa/iga/IGALibrary/Backend/Native/InstEncoder.hpp
dkurt/intel-graphics-compiler
247cfb9ca64bc187ee9cf3b437ad184fb2d5c471
[ "MIT" ]
null
null
null
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includi...
38.462639
97
0.564791
[ "vector", "model" ]
b8e1dbf551d343270cdbcce834816346a2334ad9
11,596
cpp
C++
libraries/pico-vm/tests/spec/call_tests.cpp
PicoFoundation/Pico2
8367d9edede9a9f7b1277d08333785d3bcf093b2
[ "MIT" ]
null
null
null
libraries/pico-vm/tests/spec/call_tests.cpp
PicoFoundation/Pico2
8367d9edede9a9f7b1277d08333785d3bcf093b2
[ "MIT" ]
null
null
null
libraries/pico-vm/tests/spec/call_tests.cpp
PicoFoundation/Pico2
8367d9edede9a9f7b1277d08333785d3bcf093b2
[ "MIT" ]
1
2021-01-28T06:01:01.000Z
2021-01-28T06:01:01.000Z
#include <algorithm> #include <vector> #include <iostream> #include <iterator> #include <cmath> #include <cstdlib> #include <catch2/catch.hpp> #include <utils.hpp> #include <wasm_config.hpp> #include <picoio/vm/backend.hpp> using namespace picoio; using namespace picoio::vm; extern wasm_allocator wa; BACKEND_TEST_CAS...
59.773196
131
0.706709
[ "vector" ]
b8f773c1fc81ff1af65088ac57d20e039f05279d
34,912
cc
C++
src/evaluators/bayesian_strategy_evaluator.cc
brettdh/instruments
7e07c1a9f63c9747360b543d140cff0603aa6f1c
[ "BSD-2-Clause" ]
1
2015-08-28T09:42:01.000Z
2015-08-28T09:42:01.000Z
src/evaluators/bayesian_strategy_evaluator.cc
brettdh/instruments
7e07c1a9f63c9747360b543d140cff0603aa6f1c
[ "BSD-2-Clause" ]
null
null
null
src/evaluators/bayesian_strategy_evaluator.cc
brettdh/instruments
7e07c1a9f63c9747360b543d140cff0603aa6f1c
[ "BSD-2-Clause" ]
null
null
null
#include "bayesian_strategy_evaluator.h" #include "estimator.h" #include "stats_distribution_binned.h" #include "debug.h" #include "timeops.h" #include "stopwatch.h" #include "error_weight_params.h" namespace inst = instruments; using inst::INFO; using inst::DEBUG; using inst::MAX_SAMPLES; #include <vector> #include <...
33.569231
126
0.656422
[ "vector" ]
b8f93a3f0682a62391ebe5e53acf8327f416ca7e
2,604
cpp
C++
SOURCE/Dictionary.cpp
dousu/MSILM
470d3af9b28c1fa88a7daa5f7c9ba562f2b61c48
[ "MIT" ]
null
null
null
SOURCE/Dictionary.cpp
dousu/MSILM
470d3af9b28c1fa88a7daa5f7c9ba562f2b61c48
[ "MIT" ]
8
2018-06-13T07:14:38.000Z
2018-07-01T14:19:04.000Z
SOURCE/Dictionary.cpp
dousu/MSILM
470d3af9b28c1fa88a7daa5f7c9ba562f2b61c48
[ "MIT" ]
null
null
null
/* * Dictionary.cpp * * Created on: 2012/11/23 * Author: Hiroki Sudo */ #include "Dictionary.h" std::map<int, std::string> Dictionary::individual; std::map<int, std::string> Dictionary::symbol; std::map<std::string, int> Dictionary::conv_individual; std::map<std::string, int> Dictionary::conv_symbol; void...
24.566038
131
0.589478
[ "vector" ]
b8fe0c6436a57b2bede16ddfed33fa16cdbfed4c
645
cpp
C++
src/main.cpp
kanishkarj/3d-map-simulator
a14121bbb861e371ba9121aead9f11e9f84a7f3d
[ "MIT" ]
1
2020-02-02T15:31:00.000Z
2020-02-02T15:31:00.000Z
src/main.cpp
kanishkarj/3d-map-simulator
a14121bbb861e371ba9121aead9f11e9f84a7f3d
[ "MIT" ]
null
null
null
src/main.cpp
kanishkarj/3d-map-simulator
a14121bbb861e371ba9121aead9f11e9f84a7f3d
[ "MIT" ]
1
2021-02-06T17:39:59.000Z
2021-02-06T17:39:59.000Z
#include<bits/stdc++.h> #include <GL/glut.h> #include "../include/vec3f.h" #include "../include/terrain.h" #include "../include/imageloader.h" #include "../include/renderer.h" Terrain* _terrain = new Terrain("./resources/heightmap.bmp", 50); int main(int argc, char** argv) { glutInit(&argc, argv); glutInitDi...
24.807692
65
0.730233
[ "3d" ]
770592f1adc005185ce79bdc3cc13e01e1d8e638
3,272
cpp
C++
code/juryjeopardy.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
8
2020-02-21T22:21:01.000Z
2022-02-16T05:30:54.000Z
code/juryjeopardy.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
null
null
null
code/juryjeopardy.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
3
2020-08-05T05:42:35.000Z
2021-08-30T05:39:51.000Z
#define _USE_MATH_DEFINES #include <iostream> #include <stdio.h> #include <cmath> #include <iomanip> #include <vector> #include <string> #include <algorithm> #include <unordered_set> #include <unordered_map> #include <ctype.h> #include <queue> #include <map> #include <set> typedef long long ll; typedef unsigned long l...
27.041322
91
0.632335
[ "vector" ]
7707951def20b22206e60446772be97e17fccae9
714
cpp
C++
leetcode.com/0477 Total Hamming Distance/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0477 Total Hamming Distance/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0477 Total Hamming Distance/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; class Solution { public: int totalHammingDistance(vector<int>& nums) { int res = 0, ones, sz = nums.size(); for (int i = 0; i <= 30; ++i) { ones = 0; for (int num : nums) { ones += (num >> i) & 1; } res += (sz - ones...
20.4
53
0.463585
[ "vector" ]
771876a397d255a0bd78d4277e937cfabaf489b1
3,466
cpp
C++
src/actor.cpp
Axram/Roguelike
d6b557968f7b29c255e79cf8c668b63716f6daf1
[ "MIT" ]
null
null
null
src/actor.cpp
Axram/Roguelike
d6b557968f7b29c255e79cf8c668b63716f6daf1
[ "MIT" ]
null
null
null
src/actor.cpp
Axram/Roguelike
d6b557968f7b29c255e79cf8c668b63716f6daf1
[ "MIT" ]
null
null
null
#include "actor.hpp" #include <cassert> Actor::Actor(){} void Actor::move(int dx, int dy){ //Player uses its own move with added prints _px += dx; _py += dy; std::string out_str = _name + " moves to " + std::to_string(_px) +";" +std::to_string(_py)+ "."; scroll(_textbox); mvwprintw(_textbox,1,1, "...
26.06015
109
0.630987
[ "vector" ]
771dab7dee1dcf3ad94cfa774a2f803a1de6bf8d
904
cpp
C++
Problem Solving Paradigm/Greedy/Involving Sorting (Or The Input Is Already Sorted)/12210.cpp
joe-stifler/uHunt
02465ea9868403691e4f0aaa6ddde730afa11f47
[ "MIT" ]
3
2019-05-22T00:36:23.000Z
2021-03-22T12:23:18.000Z
Problem Solving Paradigm/Greedy/Involving Sorting (Or The Input Is Already Sorted)/12210.cpp
joe-stifler/uHunt
02465ea9868403691e4f0aaa6ddde730afa11f47
[ "MIT" ]
null
null
null
Problem Solving Paradigm/Greedy/Involving Sorting (Or The Input Is Already Sorted)/12210.cpp
joe-stifler/uHunt
02465ea9868403691e4f0aaa6ddde730afa11f47
[ "MIT" ]
null
null
null
/*------------------------------------------------*/ // Uva Problem No: 12210 // Problem Name: A Match Making Problem // Type: Involving Sorting (Greedy) // Autor: Joe Stifler // Data: 2018-06-17 03:33:20 // Runtime: 0.010s // Universidade: Unicamp /*------------------------------------------------*/ #include <bits/st...
22.6
55
0.404867
[ "vector" ]
771f360b9cd086cc4966cb0f11b5961074decb57
9,922
cpp
C++
component/oai-amf/src/sbi/amf_server/model/N1N2MessageTransferReqData.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-amf/src/sbi/amf_server/model/N1N2MessageTransferReqData.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-amf/src/sbi/amf_server/model/N1N2MessageTransferReqData.cpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
/** * Namf_Communication * AMF Communication Service © 2019, 3GPP Organizational Partners (ARIB, ATIS, * CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * * The version of the OpenAPI document: 1.1.0.alpha-1 * * * NOTE: This class is auto generated by OpenAPI Generator * (https://openapi-generator.tech). ht...
32.424837
80
0.732614
[ "model" ]
77214db517410845b3325f355d1018397dc74267
572
cpp
C++
main.cpp
PatrikValkovic/Sudoku
5640ae845f11d532e70468b0ee74d9b60fed8e02
[ "MIT" ]
1
2021-02-04T12:42:59.000Z
2021-02-04T12:42:59.000Z
main.cpp
PatrikValkovic/Sudoku
5640ae845f11d532e70468b0ee74d9b60fed8e02
[ "MIT" ]
null
null
null
main.cpp
PatrikValkovic/Sudoku
5640ae845f11d532e70468b0ee74d9b60fed8e02
[ "MIT" ]
1
2021-02-04T12:43:00.000Z
2021-02-04T12:43:00.000Z
#include <iostream> #include "Group.h" #include "Functions.h" using namespace std; int main() { Manager* man = new Manager; vector<vector<Options*>> opts = CreateContainer(man); vector<Group*> groups = createGroups(opts); int endResult = 0; try { Parse(opts); if(!SolveMor...
15.052632
57
0.578671
[ "vector" ]
7723cf4e13612ac46cc393366ce6d845dd3bfe5b
12,323
cpp
C++
Game/OGRE/OgreMain/src/OgreTexture.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/OGRE/OgreMain/src/OgreTexture.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/OGRE/OgreMain/src/OgreTexture.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2005 The OGRE Team Also see acknowledgements in Readme.html This program is free software...
35.718841
126
0.529011
[ "object", "vector" ]
772795bb9ce71fd1454afeae2851e124d02a94f3
9,980
hpp
C++
include/kitty/threshold_identification.hpp
SeriemSid/kitty
9b7bebd0a3f5c47492b8506e049ec6f04705bb8c
[ "MIT" ]
null
null
null
include/kitty/threshold_identification.hpp
SeriemSid/kitty
9b7bebd0a3f5c47492b8506e049ec6f04705bb8c
[ "MIT" ]
null
null
null
include/kitty/threshold_identification.hpp
SeriemSid/kitty
9b7bebd0a3f5c47492b8506e049ec6f04705bb8c
[ "MIT" ]
null
null
null
/* kitty: C++ truth table library * Copyright (C) 2017-2020 EPFL * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use...
39.44664
192
0.552204
[ "object", "vector", "model" ]
7728776dd707adb2022f7301dd4ae9fed9c3e651
11,049
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osganimationnode/osganimationnode.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osganimationnode/osganimationnode.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osganimationnode/osganimationnode.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/* -*-c++-*- * Copyright (C) 2008 Cedric Pinson <mornifle@plopbyte.net> * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included...
40.178182
129
0.567834
[ "geometry", "object", "shape", "transform" ]
772dbc0ce535bc9c5f7ceff6b28d11088e18c684
2,650
cpp
C++
Engine_Source/Source/Insight/Rendering/Renderer.cpp
GCourtney27/DirectX11RenderingEngine
ebbe470b697c6e5ab98502c0be4163500d91641a
[ "Apache-2.0" ]
2
2021-01-29T08:03:01.000Z
2021-04-10T19:18:54.000Z
Engine_Source/Source/Insight/Rendering/Renderer.cpp
GCourtney27/DirectX11RenderingEngine
ebbe470b697c6e5ab98502c0be4163500d91641a
[ "Apache-2.0" ]
3
2020-06-04T23:37:07.000Z
2020-06-04T23:39:04.000Z
Engine_Source/Source/Insight/Rendering/Renderer.cpp
GCourtney27/DirectX11RenderingEngine
ebbe470b697c6e5ab98502c0be4163500d91641a
[ "Apache-2.0" ]
1
2021-04-10T13:36:23.000Z
2021-04-10T13:36:23.000Z
#include <Engine_pch.h> #include "Renderer.h" #include "Insight/Core/Application.h" #include "Platform/DirectX_11/Direct3D11_Context.h" #include "Platform/DirectX_12/Direct3D12_Context.h" namespace Insight { Renderer* Renderer::s_Instance = nullptr; Renderer::Renderer() { } void Renderer::HandleEvents() ...
25.980392
126
0.74717
[ "render" ]
7737f3a74315a91cbfdd29fe774c14fd6e9d481e
1,580
cpp
C++
map_usage_sort.cpp
yangyueren/PAT
950d820ec9174c5e2d74adafeb2abde4acdc635f
[ "MIT" ]
1
2020-02-01T08:20:26.000Z
2020-02-01T08:20:26.000Z
map_usage_sort.cpp
yangyueren/PAT
950d820ec9174c5e2d74adafeb2abde4acdc635f
[ "MIT" ]
null
null
null
map_usage_sort.cpp
yangyueren/PAT
950d820ec9174c5e2d74adafeb2abde4acdc635f
[ "MIT" ]
null
null
null
//功能:输入单词,统计单词出现次数并按照单词出现次数从多到少排序 #include <iostream> #include <cstdlib> #include <map> #include <vector> #include <string> #include <algorithm> using namespace std; int cmp(const pair<string, int>& x, const pair<string, int>& y) { return x.second > y.second; } void sortMapByValue(map<string, int>& tMap,vector<p...
23.939394
84
0.611392
[ "vector" ]
77430289dada64714bbe7b68c8d43857eb1f9fc6
584
cpp
C++
Plugins/video/camera_motion_tracking.cpp
zhangyldanny/EagleEye
5b04ab52cdb03f710eff836e84f695446282848d
[ "BSD-3-Clause" ]
14
2015-10-07T13:08:30.000Z
2021-03-04T08:05:24.000Z
Plugins/video/camera_motion_tracking.cpp
zhangyldanny/EagleEye
5b04ab52cdb03f710eff836e84f695446282848d
[ "BSD-3-Clause" ]
29
2015-03-01T20:29:59.000Z
2017-09-05T06:58:04.000Z
Plugins/video/camera_motion_tracking.cpp
zhangyldanny/EagleEye
5b04ab52cdb03f710eff836e84f695446282848d
[ "BSD-3-Clause" ]
8
2016-11-16T19:59:59.000Z
2018-07-02T11:20:31.000Z
#include "camera_motion_tracking.hpp" #include <Aquila/nodes/NodeInfo.hpp> using namespace aq; using namespace aq::nodes; std::vector<std::vector<std::string>> track_camera_motion::GetParentalDependencies() { std::vector<std::vector<std::string>> output; output.push_back(std::vector<std::string>({ "GoodFeatur...
27.809524
119
0.748288
[ "vector" ]
77479330cf22c575f06b8476312d58b233c51082
46,535
cpp
C++
cpp/open3d/t/io/file_format/FilePCD.cpp
SenseOfSpace/Open3D
6dea870f1c12c80b0fda0ee4bc439bf30b434a7f
[ "MIT" ]
null
null
null
cpp/open3d/t/io/file_format/FilePCD.cpp
SenseOfSpace/Open3D
6dea870f1c12c80b0fda0ee4bc439bf30b434a7f
[ "MIT" ]
null
null
null
cpp/open3d/t/io/file_format/FilePCD.cpp
SenseOfSpace/Open3D
6dea870f1c12c80b0fda0ee4bc439bf30b434a7f
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018-2021 www.open3d.org // // Perm...
37.925835
91
0.542022
[ "geometry", "shape", "vector" ]
7754228cab4ce50194988b3e3f7d24e15ca92501
48,096
cpp
C++
Code/trunk/cpp/RandomLib/Random.cpp
jlconlin/PhDThesis
8e704613721a800ce1c59576e94f40fa6f7cd986
[ "MIT" ]
null
null
null
Code/trunk/cpp/RandomLib/Random.cpp
jlconlin/PhDThesis
8e704613721a800ce1c59576e94f40fa6f7cd986
[ "MIT" ]
null
null
null
Code/trunk/cpp/RandomLib/Random.cpp
jlconlin/PhDThesis
8e704613721a800ce1c59576e94f40fa6f7cd986
[ "MIT" ]
null
null
null
/** * \file Random.cpp * \brief Code for RandomSeed, MT19937, SFMT19937, RandomCanonical, and Power2 * * RandomSeed provides support for seed management, MT19937 implements the * Mersenne-Twister random number generator, SFMT19937 implements the * SIMD-oriented Fast Mersenne-Twister random number generator, Rando...
35.759108
83
0.583936
[ "vector", "transform" ]
7754824784bf436a38fdb7a1f209a473ae371ee2
1,179
hpp
C++
graphs/lowest_common_ancestor.hpp
takata-daiki/algorithms
299f7379a2acf8a3e14bc3e3de6509e821eec115
[ "MIT" ]
null
null
null
graphs/lowest_common_ancestor.hpp
takata-daiki/algorithms
299f7379a2acf8a3e14bc3e3de6509e821eec115
[ "MIT" ]
null
null
null
graphs/lowest_common_ancestor.hpp
takata-daiki/algorithms
299f7379a2acf8a3e14bc3e3de6509e821eec115
[ "MIT" ]
1
2019-12-11T06:45:30.000Z
2019-12-11T06:45:30.000Z
#pragma once #include <bits/stdc++.h> #include "../data_structures/segment_tree.hpp" #include "../monoids/min_index.hpp" using namespace std; struct LowestCommonAncestor { using P = pair<int, int>; int n; vector<int> idx; vector<P> euler_tour; vector<vector<int>> g; SegmentTree<min_index_monoi...
26.795455
67
0.504665
[ "vector" ]
7759bae19cc24deb3dbff62f1d930282e9e60117
1,947
cpp
C++
Maple/textclass.cpp
mld2443/DX12-Samples
28fcd7ce82b659c2a2ab3a5eb3967606f6ce30b8
[ "MIT" ]
null
null
null
Maple/textclass.cpp
mld2443/DX12-Samples
28fcd7ce82b659c2a2ab3a5eb3967606f6ce30b8
[ "MIT" ]
null
null
null
Maple/textclass.cpp
mld2443/DX12-Samples
28fcd7ce82b659c2a2ab3a5eb3967606f6ce30b8
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Filename: textclass.cpp //////////////////////////////////////////////////////////////////////////////// #include "textclass.h" TextClass::TextClass() { m_brush = nullptr; m_format = nullptr; } TextClass::TextClass(const TextClas...
17.230088
102
0.658449
[ "render", "object", "solid" ]
775c37b5dcba859fa141b95073f50d88e9ab9869
1,997
cpp
C++
C++/count-fertile-pyramids-in-a-land.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/count-fertile-pyramids-in-a-land.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/count-fertile-pyramids-in-a-land.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(m * n) // Space: O(n) class Solution { public: int countPyramids(vector<vector<int>>& grid) { return count(grid, false) + count(grid, true); } private: int count(const vector<vector<int>>& grid, int reverse) { auto get_grid = [&grid, &reverse](int i, int j) { return...
32.737705
91
0.421632
[ "vector" ]
776121cbb6b916c64bc539068a8fef3dc48d8c12
584
hpp
C++
include/scene/Transformations.hpp
j0ntan/RayTracerChallenge
91e201b2d7f90032580101a1ccf18eb2d6e5b522
[ "Unlicense" ]
null
null
null
include/scene/Transformations.hpp
j0ntan/RayTracerChallenge
91e201b2d7f90032580101a1ccf18eb2d6e5b522
[ "Unlicense" ]
null
null
null
include/scene/Transformations.hpp
j0ntan/RayTracerChallenge
91e201b2d7f90032580101a1ccf18eb2d6e5b522
[ "Unlicense" ]
null
null
null
#ifndef TRANSFORMATIONS_HPP #define TRANSFORMATIONS_HPP #include <cmath> #include <math/Matrix.hpp> #include <math/Point.hpp> #include <math/Vector.hpp> #include <scene/Ray.hpp> const double PI = std::acos(-1); Matrix<4> translate(double x, double y, double z); Matrix<4> scale(double x, double y, double z); Matrix...
20.857143
75
0.710616
[ "vector", "transform" ]
7766d021da7c2f1a2223c895dc430a4fb03971aa
10,391
cpp
C++
eval.cpp
OllieBerzs/oca
cd845af687943b3a2181195dbddadb3f3a1de5cf
[ "MIT" ]
null
null
null
eval.cpp
OllieBerzs/oca
cd845af687943b3a2181195dbddadb3f3a1de5cf
[ "MIT" ]
null
null
null
eval.cpp
OllieBerzs/oca
cd845af687943b3a2181195dbddadb3f3a1de5cf
[ "MIT" ]
null
null
null
/* ollieberzs 2018 ** eval.cpp ** evaluate AST to value */ #include <iostream> #include "eval.hpp" #include "parse.hpp" #include "value.hpp" #include "oca.hpp" #include "error.hpp" OCA_BEGIN Evaluator::Evaluator(State* state) : state(state), current(nullptr) {} ValuePtr Evaluator::eval(ExprPtr expr, Scope& scope) ...
31.487879
94
0.531903
[ "vector" ]
776ce68319176a02f4b96ec2f5e120b62cbc02d2
11,541
cpp
C++
c2_store/src/mfx_c2_store.cpp
zhangyichix/MediaSDK_C2
c4bf4b51a91d4781b986226778c5d38be4b37d64
[ "MIT" ]
6
2020-09-22T01:36:58.000Z
2022-03-15T05:33:36.000Z
c2_store/src/mfx_c2_store.cpp
zhangyichix/MediaSDK_C2
c4bf4b51a91d4781b986226778c5d38be4b37d64
[ "MIT" ]
26
2021-11-01T07:01:04.000Z
2022-03-11T03:02:47.000Z
c2_store/src/mfx_c2_store.cpp
zhangyichix/MediaSDK_C2
c4bf4b51a91d4781b986226778c5d38be4b37d64
[ "MIT" ]
6
2020-06-12T21:49:48.000Z
2022-01-17T09:32:18.000Z
// Copyright (c) 2017-2021 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge,...
32.327731
141
0.657135
[ "vector" ]
777183f7a2fe9430aab5209c28390550d1b17412
1,977
cpp
C++
sources/hash_search.cpp
nikitaboal/lab-06-multithreads
ca68141648131bdd3064861f761813b8c0d65897
[ "MIT" ]
null
null
null
sources/hash_search.cpp
nikitaboal/lab-06-multithreads
ca68141648131bdd3064861f761813b8c0d65897
[ "MIT" ]
null
null
null
sources/hash_search.cpp
nikitaboal/lab-06-multithreads
ca68141648131bdd3064861f761813b8c0d65897
[ "MIT" ]
null
null
null
// Copyright 2021 Your Name <your_email> #include <hash_search.hpp> std::vector<hash_item> HashSearch::hash_list; bool HashSearch::flag; void HashSearch::hash_counting() { unsigned int temp = abs(static_cast<int>(std::clock())); int hash_source = rand_r(&temp); std::string hash = picosha2::hash256_hex_string(s...
30.415385
79
0.632777
[ "vector" ]
77718552f13848fc7e8207f7ca1a89a0539d5b92
2,074
cpp
C++
union-find.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
union-find.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
union-find.cpp
Surya-06/My-Solutions
58f7c7f1a0a3a28f25eff22d03a09cb2fbcf7806
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> using namespace std; typedef long long int llint; llint **dis_set; llint find(llint ed) { if (dis_set[ed][1] == -1) return dis_set[ed][0]; else return find(dis_set[ed][1]); } void uni(llint node, llint parent) { llint np = fin...
24.116279
80
0.496143
[ "vector" ]
a57f97f15a5f5dc965990a1d3942eab378ea8f33
4,127
cpp
C++
src/QoreZSock.cpp
qorelanguage/module-zmq
134aa7388f8bb07eb4195f727f71ee6ec9c13d78
[ "MIT" ]
null
null
null
src/QoreZSock.cpp
qorelanguage/module-zmq
134aa7388f8bb07eb4195f727f71ee6ec9c13d78
[ "MIT" ]
1
2017-12-19T06:27:16.000Z
2017-12-19T06:27:16.000Z
src/QoreZSock.cpp
qorelanguage/module-zmq
134aa7388f8bb07eb4195f727f71ee6ec9c13d78
[ "MIT" ]
null
null
null
/* -*- mode: c++; indent-tabs-mode: nil -*- */ /** @file QoreZSock.cpp defines the QoreZSock C++ class */ /* Qore Programming Language Copyright (C) 2017 - 2018 Qore Technologies, s.r.o. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
33.282258
168
0.587352
[ "vector" ]