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
02a0ce6f5450206141913be710b6a255574808e9
2,724
hpp
C++
Svc/GenericHub/GenericHubComponentImpl.hpp
AlperenCetin0/fprime
7e20febd34019c730da1358567e7a512592de4d8
[ "Apache-2.0" ]
9,182
2017-07-06T15:51:35.000Z
2022-03-30T11:20:33.000Z
Svc/GenericHub/GenericHubComponentImpl.hpp
AlperenCetin0/fprime
7e20febd34019c730da1358567e7a512592de4d8
[ "Apache-2.0" ]
719
2017-07-14T17:56:01.000Z
2022-03-31T02:41:35.000Z
Svc/GenericHub/GenericHubComponentImpl.hpp
AlperenCetin0/fprime
7e20febd34019c730da1358567e7a512592de4d8
[ "Apache-2.0" ]
1,216
2017-07-12T15:41:08.000Z
2022-03-31T21:44:37.000Z
// ====================================================================== // \title GenericHubComponentImpl.hpp // \author mstarch // \brief hpp file for GenericHub component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States...
32.428571
99
0.51652
[ "object" ]
02a0f78ba30ce97607beb0ab89a634b84561c6a6
1,888
hpp
C++
Source/Solver/solver_inner/solver_mptilu2/solver_mtilu2.hpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
25
2016-03-14T19:34:00.000Z
2022-03-17T13:34:59.000Z
Source/Solver/solver_inner/solver_mptilu2/solver_mtilu2.hpp
INMOST-DEV/INMOST
c2209a6378b0d2ecc2f3ec9a12e0217cca011ca8
[ "BSD-3-Clause" ]
22
2015-01-17T18:43:16.000Z
2021-03-26T08:09:43.000Z
Source/Solver/solver_inner/solver_mptilu2/solver_mtilu2.hpp
INM-RAS/INMOST
2846aa63c1fc11c406cb2d558646237223183201
[ "BSD-3-Clause" ]
13
2015-04-22T16:04:21.000Z
2021-03-31T10:51:48.000Z
#ifndef __SOLVER_MTILU2__ #define __SOLVER_MTILU2__ #include <iomanip> #include "inmost_solver.h" #include "../solver_prototypes.hpp" //#define REPORT_ILU //#define REPORT_ILU_PROGRESS //#define REPORT_ILU_SUMMARY using namespace INMOST; class MTILU2_preconditioner : public Method { private: Sparse::Matrix * Al...
31.466667
100
0.76536
[ "vector" ]
02a1a52529d12d880271e382c3dcf26801336641
4,206
cpp
C++
src/etcd_config.cpp
sputnik-maps/maps-express
2da1d5601d3f7a74c5eab79a6716736d223bf2f6
[ "MIT" ]
6
2017-06-20T13:14:20.000Z
2019-09-18T06:12:37.000Z
src/etcd_config.cpp
sputnik-maps/maps-express
2da1d5601d3f7a74c5eab79a6716736d223bf2f6
[ "MIT" ]
1
2018-04-29T14:01:56.000Z
2018-04-29T14:01:56.000Z
src/etcd_config.cpp
sputnik-maps/maps-express
2da1d5601d3f7a74c5eab79a6716736d223bf2f6
[ "MIT" ]
5
2017-06-20T13:39:22.000Z
2019-09-18T06:13:02.000Z
#include "etcd_config.h" #include <folly/io/async/EventBaseManager.h> #include <jsoncpp/json/reader.h> #include "etcd_client.h" // TODO: add validation static const std::vector<std::pair<std::string, std::string>> kRootMapping = { {"/app", "app"}, {"/server", "server"}, {"/data", "data"}, {"/cach...
30.258993
103
0.571564
[ "render", "vector" ]
02a352920cf38120938d659dac4258a48643de4d
5,451
cpp
C++
paddle/parameter/ParameterUpdaterHook.cpp
TarzanQll/Paddle-master
1f192b22c641f91bd98a5babe7189ac5d7d3b408
[ "Apache-2.0" ]
1
2018-12-20T12:15:39.000Z
2018-12-20T12:15:39.000Z
paddle/parameter/ParameterUpdaterHook.cpp
TarzanQll/Paddle-master
1f192b22c641f91bd98a5babe7189ac5d7d3b408
[ "Apache-2.0" ]
3
2016-10-22T16:06:11.000Z
2016-11-07T06:30:37.000Z
paddle/parameter/ParameterUpdaterHook.cpp
TarzanQll/Paddle-master
1f192b22c641f91bd98a5babe7189ac5d7d3b408
[ "Apache-2.0" ]
1
2019-10-26T12:51:13.000Z
2019-10-26T12:51:13.000Z
/* Copyright (c) 2016 Baidu, Inc. All Rights Reserve. 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 ...
29.786885
80
0.665933
[ "vector" ]
02a8cd26356fc1587fbd67d4467580eea5793056
1,007
cpp
C++
DMK/src/console.cpp
DhirajWishal/DMK-STL
b4a7ec2da200eb430a1a009be3b3b618c93b8a6c
[ "Apache-2.0" ]
null
null
null
DMK/src/console.cpp
DhirajWishal/DMK-STL
b4a7ec2da200eb430a1a009be3b3b618c93b8a6c
[ "Apache-2.0" ]
null
null
null
DMK/src/console.cpp
DhirajWishal/DMK-STL
b4a7ec2da200eb430a1a009be3b3b618c93b8a6c
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include "console.h" namespace DMK { void Console::print(FastString line) { printf("%s", line.c_str()); } void Console::println(FastString line) { printf("%s\n", line.c_str()); } FastString Console::getLine() { std::string _temp; std::getline(std::cin, _temp, '\n');...
19.745098
59
0.641509
[ "vector" ]
02b0eeb198aa1505ac10420f36bae762d9d5f664
1,002
cpp
C++
test/glfw-cube/objscene.cpp
geefr/RenderFramework
d065aa0b8292b652a2f3e8f4d2e48b9c8707a8e3
[ "BSD-2-Clause" ]
null
null
null
test/glfw-cube/objscene.cpp
geefr/RenderFramework
d065aa0b8292b652a2f3e8f4d2e48b9c8707a8e3
[ "BSD-2-Clause" ]
null
null
null
test/glfw-cube/objscene.cpp
geefr/RenderFramework
d065aa0b8292b652a2f3e8f4d2e48b9c8707a8e3
[ "BSD-2-Clause" ]
null
null
null
#include "objscene.h" #include "engine/engine.h" #include "engine/nodes/meshnodedi.h" #include "dataformats/vector/obj/obj.h" using namespace renderframework; ObjScene::ObjScene(Engine& engine, glm::vec3 rotDelta) { std::shared_ptr<nodes::MeshNodeDI> mesh(new nodes::MeshNodeDI); mesh->meshes().emplace_back( ne...
32.322581
146
0.716567
[ "mesh", "vector" ]
02b6dcec7b91f9a71b650395cb09fbf689afc083
11,354
cc
C++
chrome/browser/sync/sessions/session_state.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-02-20T14:25:04.000Z
2019-12-13T13:58:28.000Z
chrome/browser/sync/sessions/session_state.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
chrome/browser/sync/sessions/session_state.cc
SlimKatLegacy/android_external_chromium
bc611cda58cc18d0dbaa8a7aee05eb3c0742e573
[ "BSD-3-Clause" ]
2
2020-01-12T00:55:53.000Z
2020-11-04T06:36:41.000Z
// Copyright (c) 2011 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/browser/sync/sessions/session_state.h" #include <map> #include <set> #include <string> #include <utility> #include <vector> #includ...
31.192308
78
0.721067
[ "vector" ]
02bb5348d2f29fcdd0aea49571deef27b73ad4ac
1,667
hpp
C++
engine/src/video_component_opengl.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
engine/src/video_component_opengl.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
engine/src/video_component_opengl.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
1
2020-01-29T10:18:23.000Z
2020-01-29T10:18:23.000Z
#pragma once #include "video_component.hpp" namespace pt { class video_component_opengl final : public video_component { public: video_component_opengl(); ~video_component_opengl(); bool init(const std::string& title) override; void clean_up() override; void load_model_into_gpu(std::unique_ptr...
26.460317
80
0.640072
[ "model" ]
02bbfdbc97cb93b6d305c75a60a288f324dbabdd
2,440
cc
C++
unittest/validate_myanmar_test.cc
docu9/tesseract
3501663a33f8eccaee78027613dc204a978ee8c1
[ "Apache-2.0" ]
4
2019-12-22T14:53:05.000Z
2022-01-08T05:35:42.000Z
unittest/validate_myanmar_test.cc
docu9/tesseract
3501663a33f8eccaee78027613dc204a978ee8c1
[ "Apache-2.0" ]
1
2021-07-08T13:53:30.000Z
2021-07-09T11:12:09.000Z
unittest/validate_myanmar_test.cc
docu9/tesseract
3501663a33f8eccaee78027613dc204a978ee8c1
[ "Apache-2.0" ]
2
2019-05-23T01:17:29.000Z
2019-09-14T18:10:29.000Z
// (C) 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 writing,...
42.807018
79
0.675
[ "vector" ]
02bcb33405bb618ce7fad6a350d1c0ea3b6e0fd0
331
hh
C++
include/nx-ini.hh
darkelf44/no-except
336f073481132711318ed6af7dd2c529b7121628
[ "MIT" ]
null
null
null
include/nx-ini.hh
darkelf44/no-except
336f073481132711318ed6af7dd2c529b7121628
[ "MIT" ]
null
null
null
include/nx-ini.hh
darkelf44/no-except
336f073481132711318ed6af7dd2c529b7121628
[ "MIT" ]
null
null
null
// Include guard #pragma once // Local includes #include "nx.hh" // Standard includes #include <stdio.h> // Namespace "nx" namespace nx { class Ini : public Object { public: Ini() = default static UniquePtr<Ini> parse(FILE * file); static UniquePtr<Ini> parse(const char * filename); private: }; // Close namesp...
13.24
52
0.685801
[ "object" ]
02c12292efd6b99e2b795b3022e35767d20c69a5
2,207
cpp
C++
ArthurProject/src/Nodes/AABB.cpp
JackiBackiBoy/ArthurProject
88c5a7365cb3edc768a88f9a71a8f29751a1d75e
[ "Apache-2.0" ]
null
null
null
ArthurProject/src/Nodes/AABB.cpp
JackiBackiBoy/ArthurProject
88c5a7365cb3edc768a88f9a71a8f29751a1d75e
[ "Apache-2.0" ]
null
null
null
ArthurProject/src/Nodes/AABB.cpp
JackiBackiBoy/ArthurProject
88c5a7365cb3edc768a88f9a71a8f29751a1d75e
[ "Apache-2.0" ]
null
null
null
#include "AABB.h" std::vector<AABB*> AABB::Rects = std::vector<AABB*>(); AABB::AABB(sf::Vector2f aPosition, std::string aName, sf::Vector2f aSize) : Node(aPosition, aName), mySize(aSize) { Rects.push_back(this); } void AABB::OnUpdate() { Node::OnUpdate(); } void AABB::OnRender(sf::RenderWindow* aWindow) { Node::...
18.391667
113
0.629814
[ "vector" ]
02c30106705faec31fa9d936c7db48186d0ad863
12,008
cc
C++
src/transform/falcon_dsp_fir_filter.cc
OrthogonalHawk/libfalcon_dsp
93b8e78ae768688df495e1c67770370c206044cd
[ "MIT" ]
1
2019-08-02T09:15:26.000Z
2019-08-02T09:15:26.000Z
src/transform/falcon_dsp_fir_filter.cc
OrthogonalHawk/libfalcon_dsp
93b8e78ae768688df495e1c67770370c206044cd
[ "MIT" ]
28
2019-08-24T20:54:55.000Z
2020-02-18T20:54:46.000Z
src/transform/falcon_dsp_fir_filter.cc
OrthogonalHawk/libfalcon_dsp
93b8e78ae768688df495e1c67770370c206044cd
[ "MIT" ]
null
null
null
/****************************************************************************** * * MIT License * * Copyright (c) 2020 OrthogonalHawk * 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 wi...
41.986014
118
0.499084
[ "object", "vector", "transform" ]
02c3c5c532540d14222f3bbe861226eb700fd407
3,362
cpp
C++
aoj/CGL/CGL7F/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
8
2020-12-23T07:54:53.000Z
2021-11-23T02:46:35.000Z
aoj/CGL/CGL7F/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2020-11-07T13:22:29.000Z
2020-12-20T12:54:00.000Z
aoj/CGL/CGL7F/main.cpp
xirc/cp-algorithm
89c67cff2f00459c5bb020ab44bff5ae419a1728
[ "Apache-2.0" ]
1
2021-01-16T03:40:10.000Z
2021-01-16T03:40:10.000Z
#include <bits/stdc++.h> struct vector2 { double x, y; vector2() {} vector2(double x, double y): x(x), y(y) {} vector2& operator+=(const vector2& o) { x += o.x; y += o.y; return *this; } vector2& operator-=(const vector2& o) { x -= o.x; y -= o.y; ...
24.903704
63
0.532124
[ "vector" ]
02c4d5fc0282f19ec8381ff87560bc2c6ea30b59
1,348
cpp
C++
Codeforces/893C_Rumor.cpp
KevinTMtz/CompetitiveProgramming
0bf8a297c404073df707b6d7b06965b055ccd872
[ "MIT" ]
1
2020-12-08T02:01:18.000Z
2020-12-08T02:01:18.000Z
Codeforces/893C_Rumor.cpp
KevinTMtz/CompetitiveProgramming
0bf8a297c404073df707b6d7b06965b055ccd872
[ "MIT" ]
null
null
null
Codeforces/893C_Rumor.cpp
KevinTMtz/CompetitiveProgramming
0bf8a297c404073df707b6d7b06965b055ccd872
[ "MIT" ]
null
null
null
// // C.cpp // CodeForces Educationarl Round #33 // // Created by Kevin Torres Martínez on 7/4/21. // Copyright © 2021 Kevin Torres Martínez. All rights reserved. // // Round: https://codeforces.com/contest/893 // Problem: https://codeforces.com/problemset/problem/893/C // #include <iostream> #include <vector> ...
20.424242
82
0.61276
[ "vector" ]
02c5597efba97328d83dd3dce326c2e3f1e764e8
1,011
cpp
C++
leetcode/kth_largest_element_in_an_array.cpp
alexandru-dinu/competitive-programming
4515d221a649b3ab8bc012d01f38b9e4659e2e76
[ "MIT" ]
null
null
null
leetcode/kth_largest_element_in_an_array.cpp
alexandru-dinu/competitive-programming
4515d221a649b3ab8bc012d01f38b9e4659e2e76
[ "MIT" ]
6
2021-10-12T09:14:30.000Z
2021-10-16T19:29:08.000Z
leetcode/kth_largest_element_in_an_array.cpp
alexandru-dinu/competitive-programming
4515d221a649b3ab8bc012d01f38b9e4659e2e76
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/kth-largest-element-in-an-array class Solution { public: int partition(vector<int> &arr, int l, int r) { int pivot = arr[r]; int index = l; for (int i = l; i < r; i++) { if (arr[i] <= pivot) { iter_swap(arr.begin() + index,...
21.978261
64
0.445104
[ "vector" ]
02c8b73ff81ef5f29e94bd9c3498b15609fa0bd2
5,544
cpp
C++
src/foundation/third_party/agg/src/agg_vcgen_contour.cpp
airgiser/gona
4b81cbf8daacfca46a6bdec56935318a06f7e804
[ "MIT" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
uppdev/aggdraw/agg_vcgen_contour.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
uppdev/aggdraw/agg_vcgen_contour.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
//---------------------------------------------------------------------------- // Anti-Grain Geometry (AGG) - Version 2.5 // A high quality rendering engine for C++ // Copyright (C) 2002-2006 Maxim Shemanarev // Contact: mcseem@antigrain.com // mcseemagg@yahoo.com // http://antigrain.com // /...
32.421053
81
0.417749
[ "geometry" ]
c498f7da4698d9638d822935caba31b6c3d76f67
11,180
cc
C++
src/data_store/column_test.cc
yarny/gbdt
c99d90d7de57705c30b05d520a32e458985fd834
[ "Apache-2.0" ]
335
2016-09-18T07:49:25.000Z
2022-03-19T15:24:38.000Z
src/data_store/column_test.cc
yarny/gbdt
c99d90d7de57705c30b05d520a32e458985fd834
[ "Apache-2.0" ]
16
2016-05-08T02:14:46.000Z
2020-10-13T16:14:45.000Z
src/data_store/column_test.cc
yarny/gbdt
c99d90d7de57705c30b05d520a32e458985fd834
[ "Apache-2.0" ]
59
2016-08-05T22:22:16.000Z
2022-01-07T23:57:45.000Z
/* Copyright 2016 Jiang Chen <criver@gmail.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
37.516779
94
0.680233
[ "vector" ]
c49bd5973affabcc6c7786cbfd1f484c4236db9d
14,665
cpp
C++
Source/MaestroBurner.cpp
AMReX-Astro/MAESTRO-
53b99e9451c1d4f8f113b19d7de5ba7963531382
[ "BSD-3-Clause" ]
37
2018-04-04T02:56:52.000Z
2021-12-17T16:34:03.000Z
Source/MaestroBurner.cpp
AMReX-Astro/MAESTRO-
53b99e9451c1d4f8f113b19d7de5ba7963531382
[ "BSD-3-Clause" ]
172
2018-07-02T15:00:59.000Z
2022-01-06T19:01:59.000Z
Source/MaestroBurner.cpp
AMReX-Astro/MAESTRO-
53b99e9451c1d4f8f113b19d7de5ba7963531382
[ "BSD-3-Clause" ]
32
2018-08-06T21:32:03.000Z
2022-02-14T04:20:46.000Z
#include <Maestro.H> #include <Maestro_F.H> using namespace amrex; #ifndef SDC void Maestro::Burner(const Vector<MultiFab>& s_in, Vector<MultiFab>& s_out, const Vector<MultiFab>& rho_Hext, Vector<MultiFab>& rho_omegadot, Vector<MultiFab>& rho_Hnuc, const...
37.894057
88
0.45537
[ "vector" ]
c49cae621599cd5847460a1cfd9dcb264a4e029a
5,808
cpp
C++
a11/a11_p6/Shapes.cpp
henrisota/Programming-in-C-and-Cpp
ff09d8b698bf4ed8084a7d24808a642defc4b729
[ "MIT" ]
null
null
null
a11/a11_p6/Shapes.cpp
henrisota/Programming-in-C-and-Cpp
ff09d8b698bf4ed8084a7d24808a642defc4b729
[ "MIT" ]
null
null
null
a11/a11_p6/Shapes.cpp
henrisota/Programming-in-C-and-Cpp
ff09d8b698bf4ed8084a7d24808a642defc4b729
[ "MIT" ]
1
2021-01-21T19:54:12.000Z
2021-01-21T19:54:12.000Z
// please refer to shapes.h for methods documentation #include <iostream> #define _USE_MATH_DEFINES // Solution to M_PI not declared in C++ Standard #include <cmath> #include "Shapes.h" using namespace std; /* ----------- Methods for Shape ----------- */ // Parametric constructor with all parameters Shape::Shape(c...
24.099585
80
0.657197
[ "shape" ]
c49cba02bd732555be47939a63745177089ecb3a
6,627
cpp
C++
geometry_tests/src/intersect_tests.cpp
pierrebai/dak
3da144aecfc941efe10abe0167b1d3a838a6a0d5
[ "MIT" ]
null
null
null
geometry_tests/src/intersect_tests.cpp
pierrebai/dak
3da144aecfc941efe10abe0167b1d3a838a6a0d5
[ "MIT" ]
null
null
null
geometry_tests/src/intersect_tests.cpp
pierrebai/dak
3da144aecfc941efe10abe0167b1d3a838a6a0d5
[ "MIT" ]
null
null
null
#include <dak/geometry/intersect.h> #include <dak/geometry/transform.h> #include <dak/geometry/constants.h> #include <dak/geometry/tests/helpers.h> #include <cmath> #include <CppUnitTest.h> using namespace Microsoft::VisualStudio::CppUnitTestFramework; using namespace dak::geometry; namespace dak::geometry::tests ...
54.768595
149
0.644786
[ "geometry", "transform" ]
c4a10056f57d08fd445f96875fdea53fdd2f8711
556
cpp
C++
CodeForces/Bets.cpp
abdelrahman0123/Problem-Solving
9d40ed9adb6e6d519dc53f676b6dd44ca15ee70b
[ "MIT" ]
null
null
null
CodeForces/Bets.cpp
abdelrahman0123/Problem-Solving
9d40ed9adb6e6d519dc53f676b6dd44ca15ee70b
[ "MIT" ]
null
null
null
CodeForces/Bets.cpp
abdelrahman0123/Problem-Solving
9d40ed9adb6e6d519dc53f676b6dd44ca15ee70b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <cmath> #include <string> #include "string.h" using namespace std; int main() { int t; cin >> t; int** arr = new int*[t]; for (int i = 0; i < t; i++) { arr[i] = new int[2]; cin >> arr[i][0] >> arr[i][1]; } for (int i = 0; ...
17.375
65
0.458633
[ "vector" ]
c4a64828ff0014480e00744edc9b2b1e6d92e584
1,127
cpp
C++
src/1753/1753.cpp14.cpp
kwonarseus/Baekjoon
b4e24ea7c4dfe19d4efba9a0601d5c7cb6dd3757
[ "Unlicense" ]
null
null
null
src/1753/1753.cpp14.cpp
kwonarseus/Baekjoon
b4e24ea7c4dfe19d4efba9a0601d5c7cb6dd3757
[ "Unlicense" ]
null
null
null
src/1753/1753.cpp14.cpp
kwonarseus/Baekjoon
b4e24ea7c4dfe19d4efba9a0601d5c7cb6dd3757
[ "Unlicense" ]
null
null
null
#include <algorithm> #include <cstdio> #include <queue> #include <vector> using namespace std; const int MAX_V = 20000; const int INF = 1000000000; typedef pair<int, int> P; int main(int argc, const char *argv[]) { int V, E, K; vector<P> adj[MAX_V]; scanf("%d %d %d", &V, &E, &K); K--; for (int i = 0; i < E...
20.490909
46
0.505768
[ "vector" ]
c4a72ef627db1b3869e7db48074389147aa0419c
11,744
cpp
C++
media/codec2/hidl/1.0/utils/OutputBufferQueue.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
media/codec2/hidl/1.0/utils/OutputBufferQueue.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
media/codec2/hidl/1.0/utils/OutputBufferQueue.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
2
2021-07-08T07:42:11.000Z
2021-07-09T21:56:10.000Z
/* * Copyright 2018 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 applica...
34.952381
80
0.584554
[ "object" ]
c4a7ab8fe5c2919dfd5f39e29cc5e80d67546454
594
hpp
C++
lib/item/include/items.hpp
maxim-puchkov/TheAdventure2019
049b0318b492f7a360817825f8772d7e28b5f75e
[ "MIT" ]
null
null
null
lib/item/include/items.hpp
maxim-puchkov/TheAdventure2019
049b0318b492f7a360817825f8772d7e28b5f75e
[ "MIT" ]
null
null
null
lib/item/include/items.hpp
maxim-puchkov/TheAdventure2019
049b0318b492f7a360817825f8772d7e28b5f75e
[ "MIT" ]
null
null
null
// // items.hpp // Objects: Item // com.maximpuchkov.Objects.Objects.items // // Created by mpuchkov on 2019-03-28. macOS 10.13, Xcode 10.1. // Copyright © 2019 Maxim Puchkov. All rights reserved. // #ifndef items_hpp #define items_hpp #include "Object.h" #include "print.h" using std::string; using std::vector;...
16.5
63
0.707071
[ "object", "vector" ]
c4ac875670b91b87bc4902f1fe77dcd96d13846c
2,104
cpp
C++
src/serlio/modifiers/PRTMesh.cpp
ArcGIS/serlio
4413ae0e0d83815fb6b78e956cc7ecb988f01d56
[ "Apache-2.0" ]
17
2019-09-19T16:04:09.000Z
2021-12-27T18:48:53.000Z
src/serlio/modifiers/PRTMesh.cpp
ArcGIS/serlio
4413ae0e0d83815fb6b78e956cc7ecb988f01d56
[ "Apache-2.0" ]
76
2019-07-31T07:05:05.000Z
2022-03-08T12:58:27.000Z
src/serlio/modifiers/PRTMesh.cpp
ArcGIS/serlio
4413ae0e0d83815fb6b78e956cc7ecb988f01d56
[ "Apache-2.0" ]
5
2019-09-04T16:07:30.000Z
2020-10-01T07:55:06.000Z
/** * Serlio - Esri CityEngine Plugin for Autodesk Maya * * See https://github.com/esri/serlio for build and usage instructions. * * Copyright (c) 2012-2019 Esri R&D Center Zurich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
33.396825
102
0.739068
[ "mesh" ]
c4b5821340629b69101b71ae18326ab218deb002
1,439
cpp
C++
framework/shape.cpp
riti1867/programmiersprachen-raytracer
12a59368a5e94b63cc7857a0ce317958f9bdd3dd
[ "RSA-MD" ]
2
2020-05-28T17:05:31.000Z
2021-01-12T11:09:05.000Z
framework/shape.cpp
riti1867/programmiersprachen-raytracer
12a59368a5e94b63cc7857a0ce317958f9bdd3dd
[ "RSA-MD" ]
null
null
null
framework/shape.cpp
riti1867/programmiersprachen-raytracer
12a59368a5e94b63cc7857a0ce317958f9bdd3dd
[ "RSA-MD" ]
1
2019-09-02T13:42:56.000Z
2019-09-02T13:42:56.000Z
#include "shape.hpp" #define GLM_EXPERIMENTAL_ENABLED #include <glm/gtx/string_cast.hpp> #include <glm/gtc/matrix_transform.hpp> // print shape object std::ostream& Shape::print(std::ostream& os) const { os << "Shape:" << std::endl << "\tName: " << name_ << std::endl; material_->print(os); r...
22.138462
78
0.692147
[ "object", "shape", "transform" ]
c4b96e1122d96205fb4ca58523a82ba237a50482
8,313
cpp
C++
main.cpp
melzareix/dmet502-cr-runner
64d33724d79f07fb4f76482cee3c54363bafa043
[ "MIT" ]
1
2017-12-15T12:25:54.000Z
2017-12-15T12:25:54.000Z
main.cpp
melzareix/dmet502-cr-runner
64d33724d79f07fb4f76482cee3c54363bafa043
[ "MIT" ]
null
null
null
main.cpp
melzareix/dmet502-cr-runner
64d33724d79f07fb4f76482cee3c54363bafa043
[ "MIT" ]
null
null
null
#include <iostream> #include <GLUT/glut.h> #include "Game/GameManager.h" #include "Models/Scence.h" #include "Models/DartGoblin.h" #include "Models/Fence.h" #include "Models/Log.h" #include "Models/Balloon.h" #include "Models/Rocket.h" #include "Models/Potions.h" double angle = 0, alpha = 0; #define ARENA_CHANGING_TI...
28.084459
99
0.648863
[ "render" ]
c4bd8af0659f58067112365db65527dcebd901db
1,677
cpp
C++
src/Pyros3D/Utils/Thread/Thread.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
20
2016-02-15T23:22:06.000Z
2021-12-07T00:13:49.000Z
src/Pyros3D/Utils/Thread/Thread.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
1
2017-09-04T00:28:19.000Z
2017-09-05T11:00:12.000Z
src/Pyros3D/Utils/Thread/Thread.cpp
Peixinho/Pyros3D
d6857ce99f3731a851ca5e7d67afbb13aafd18e0
[ "MIT" ]
3
2016-08-10T02:44:08.000Z
2021-05-28T23:03:10.000Z
////============================================================================ //// Name : Thread.cpp //// Author : Duarte Peixinho //// Version : //// Copyright : ;) //// Description : Thread ////============================================================================ #include <Pyros3D/Utils/T...
20.9625
83
0.560525
[ "vector" ]
c4bdc02468e7e2c84db31da5f499ae2ea648fadb
1,606
cpp
C++
codeforces/1165f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codeforces/1165f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codeforces/1165f.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; const int N = 2e5+5; vector<int> d[N]; vector<int> dof[N]; void solve() { int n, m; cin >> n >> m; vector<int> k(n); for (auto& x: k) { cin >> x; } for (int i = 0; i < m; i++) { int x, y; cin >> x >> y; d[x-1].push_bac...
23.617647
79
0.393524
[ "vector" ]
c4c0efefc9751e51014f7eceba2751342e11204e
5,321
cpp
C++
src/caffe/layers/triplet_loss_layer.cpp
liuxianming/DistillingCaffe
2dec7f33c1873c4edc1068602d282982df1f18f4
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/triplet_loss_layer.cpp
liuxianming/DistillingCaffe
2dec7f33c1873c4edc1068602d282982df1f18f4
[ "BSD-2-Clause" ]
null
null
null
src/caffe/layers/triplet_loss_layer.cpp
liuxianming/DistillingCaffe
2dec7f33c1873c4edc1068602d282982df1f18f4
[ "BSD-2-Clause" ]
null
null
null
/* * Triplet_loss_layer.cpp * * Created on: Jun 2, 2015 * Author: tangwei */ #include <algorithm> #include <vector> #include "caffe/layer.hpp" #include"caffe/loss_layers.hpp" #include"caffe/util/io.hpp" #include"caffe/util/math_functions.hpp" namespace caffe { template <typename Dtype> void TripletLossLaye...
33.677215
80
0.587484
[ "vector" ]
c4c12cf660e3f5d51580d091b298e0c16adfa99e
13,086
cpp
C++
libpdraw/src/pdraw_sink_video.cpp
Rapid-Imaging-Tech/pdraw
8b3c85aad2d2d526f62772f09a7800b44f2a5f36
[ "BSD-3-Clause" ]
null
null
null
libpdraw/src/pdraw_sink_video.cpp
Rapid-Imaging-Tech/pdraw
8b3c85aad2d2d526f62772f09a7800b44f2a5f36
[ "BSD-3-Clause" ]
null
null
null
libpdraw/src/pdraw_sink_video.cpp
Rapid-Imaging-Tech/pdraw
8b3c85aad2d2d526f62772f09a7800b44f2a5f36
[ "BSD-3-Clause" ]
null
null
null
/** * Parrot Drones Awesome Video Viewer Library * Application video sink * * Copyright (c) 2018 Parrot Drones SAS * Copyright (c) 2016 Aurelien Barre * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redis...
24.368715
80
0.694635
[ "object" ]
c4c2186ab04f2f067b8d9532c24e31cb9987716c
1,286
cpp
C++
circular_buffer_Test.cpp
Equationzhao/circle_buffer
769267e895aeedfd04b6e519e200ce27cf18b56f
[ "MIT" ]
1
2021-12-30T02:28:33.000Z
2021-12-30T02:28:33.000Z
circular_buffer_Test.cpp
Equationzhao/circular_buffer
769267e895aeedfd04b6e519e200ce27cf18b56f
[ "MIT" ]
null
null
null
circular_buffer_Test.cpp
Equationzhao/circular_buffer
769267e895aeedfd04b6e519e200ce27cf18b56f
[ "MIT" ]
null
null
null
#include "circular_buffer.h" #include <algorithm> #include <chrono> #include <iostream> #include <list> #include <map> #include <memory> #include <numeric> #include <random> #include <string> #include <vector> #include <fast_io/fast_io.h> // import Circular_Buffer; constexpr int N = 5000; int ctimes = 0; int dtimes =...
13.680851
83
0.608865
[ "vector" ]
c4c8e156c0ebc6cfdcdca12d2ec2a2fa4ef76c0d
3,803
cpp
C++
src/SmartcardSlot.cpp
LabSEC/libcryptosec
e53030ec32b52b6abeaa973a9f0bfba0eb2c2440
[ "BSD-3-Clause" ]
22
2015-08-26T16:40:59.000Z
2022-02-22T19:52:55.000Z
src/SmartcardSlot.cpp
LabSEC/Libcryptosec
e53030ec32b52b6abeaa973a9f0bfba0eb2c2440
[ "BSD-3-Clause" ]
14
2015-09-01T00:39:22.000Z
2018-12-17T16:24:28.000Z
src/SmartcardSlot.cpp
LabSEC/Libcryptosec
e53030ec32b52b6abeaa973a9f0bfba0eb2c2440
[ "BSD-3-Clause" ]
22
2015-08-31T19:17:37.000Z
2021-01-04T13:38:35.000Z
#include <libcryptosec/SmartcardSlot.h> SmartcardSlot::SmartcardSlot(PKCS11_SLOT *slot) { this->slot = slot; } SmartcardSlot::~SmartcardSlot() { } std::string SmartcardSlot::getSerial() { std::string ret; ret = this->slot[0].token->serialnr; return ret; } std::string SmartcardSlot::getLabel() { std::string ret...
28.380597
125
0.675782
[ "vector" ]
c4d6e0efb27545be809aeb5361abe478aff9b06e
16,650
cpp
C++
Test/GPTMDengineTest.cpp
edgargabriel/HPCMetaMorpheus
160cc269464b8e563fa2f62f6843690b6a2533ee
[ "MIT" ]
2
2020-09-10T19:14:20.000Z
2021-09-11T16:36:56.000Z
Test/GPTMDengineTest.cpp
edgargabriel/HPCMetaMorpheus
160cc269464b8e563fa2f62f6843690b6a2533ee
[ "MIT" ]
null
null
null
Test/GPTMDengineTest.cpp
edgargabriel/HPCMetaMorpheus
160cc269464b8e563fa2f62f6843690b6a2533ee
[ "MIT" ]
3
2020-09-11T01:19:47.000Z
2021-09-02T02:05:01.000Z
#include "GPTMDengineTest.h" #include "../EngineLayer/PeptideSpectralMatch.h" #include "../EngineLayer/CommonParameters.h" #include "../EngineLayer/Ms2ScanWithSpecificMass.h" #include "../TaskLayer/SearchTask/SearchTask.h" #include "../TaskLayer/MetaMorpheusTask.h" #include "../EngineLayer/GlobalVariables.h" #i...
62.359551
346
0.751772
[ "vector" ]
c4d7527e4c88dc41284adc0db832951693c0ed17
7,968
cpp
C++
applis/Traj_AJ/Traj_AJ_cImages.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
applis/Traj_AJ/Traj_AJ_cImages.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
applis/Traj_AJ/Traj_AJ_cImages.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
24.668731
96
0.642696
[ "vector" ]
c4dbcf144f16aabddd433f0387136c9e4e97f69c
856
cc
C++
Algorithms/Warmup/MaximumPerimeterTriangle/MaximumPerimeterTriangle.cc
simba101/hackerrank
09e5a3b62ee4aca5fe0fcc02e674a3f495419ae6
[ "MIT" ]
null
null
null
Algorithms/Warmup/MaximumPerimeterTriangle/MaximumPerimeterTriangle.cc
simba101/hackerrank
09e5a3b62ee4aca5fe0fcc02e674a3f495419ae6
[ "MIT" ]
null
null
null
Algorithms/Warmup/MaximumPerimeterTriangle/MaximumPerimeterTriangle.cc
simba101/hackerrank
09e5a3b62ee4aca5fe0fcc02e674a3f495419ae6
[ "MIT" ]
null
null
null
/* Solution to the "MaximumPerimeterTriangle" challenge by HackerRank: https://www.hackerrank.com/challenges/maximum-perimeter-triangle by simba (szczerbiakadam@gmail.com). */ #include <iostream> #include <vector> // for the vectors. #include <algorithm> // for sorting a vector. int main(int argc, ch...
19.906977
67
0.536215
[ "vector" ]
c4de3d2dfae74542f68818a1285f1edcc5c4f85b
5,844
cpp
C++
Tests/Prototype-UnitTesting/kernel/EpMemFunctionalTests.cpp
Bryan-Stearns/Soar
969f4fec676293b459ed552ad096549519800534
[ "BSD-2-Clause" ]
1
2021-03-03T23:20:23.000Z
2021-03-03T23:20:23.000Z
Tests/Prototype-UnitTesting/kernel/EpMemFunctionalTests.cpp
Bryan-Stearns/Soar
969f4fec676293b459ed552ad096549519800534
[ "BSD-2-Clause" ]
null
null
null
Tests/Prototype-UnitTesting/kernel/EpMemFunctionalTests.cpp
Bryan-Stearns/Soar
969f4fec676293b459ed552ad096549519800534
[ "BSD-2-Clause" ]
1
2021-03-03T23:20:25.000Z
2021-03-03T23:20:25.000Z
// // EpMemFunctionalTests.cpp // Prototype-UnitTesting // // Created by Alex Turner on 6/23/15. // Copyright © 2015 University of Michigan – Soar Group. All rights reserved. // #include "EpMemFunctionalTests.hpp" #include <cassert> #include <string> #include <list> #include <thread> #include "SoarHelper.hpp" v...
20.650177
244
0.71475
[ "vector" ]
c4f1cb1d4a784818eaaa12b3e426b470d99f0f2e
7,125
cpp
C++
src/qt/qtbase/src/widgets/styles/qstylefactory.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/widgets/styles/qstylefactory.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/widgets/styles/qstylefactory.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtWidgets module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Lice...
30.579399
111
0.700211
[ "object" ]
c4f290c5b9f3ccca5ff29480f54a79c517de4aaf
3,602
cpp
C++
source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/Fpl_Seepage_Line_Point.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/Fpl_Seepage_Line_Point.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/Fpl_Seepage_Line_Point.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
#include "source_code\Fpl_Headers_Precompiled.h" //#include "Fpl_Seepage_Line_Point.h" //Default constructor Fpl_Seepage_Line_Point::Fpl_Seepage_Line_Point(void){ this->x_coordinate=0.0;; this->waterlevel=0.0; this->inside_dike_body=false; this->y_cubature=0.0; Sys_Memory_Count::self()->add_mem(sizeof(Fpl_Seep...
28.816
117
0.783731
[ "object" ]
c4f670cb271ac1e2c8159cd98b28b53cb691bae4
7,508
hpp
C++
caffe/include/caffe/util/octree.hpp
CRLab/O-CNN
91de3e05b44bbdbf7b396c5638bdb8ca06b3d23c
[ "MIT" ]
2
2020-11-19T03:33:12.000Z
2020-11-19T03:33:30.000Z
caffe/include/caffe/util/octree.hpp
wzh77/O-CNN
33cdf50d103385e6c1019e29abc7dbe11f900970
[ "MIT" ]
null
null
null
caffe/include/caffe/util/octree.hpp
wzh77/O-CNN
33cdf50d103385e6c1019e29abc7dbe11f900970
[ "MIT" ]
1
2019-03-22T07:07:45.000Z
2019-03-22T07:07:45.000Z
#ifndef CAFFE_UTIL_OCTREE_HPP_ #define CAFFE_UTIL_OCTREE_HPP_ #include <vector> #include "caffe/blob.hpp" using std::vector; namespace caffe { // A singleton class to hold global & common stuff for octree. class Octree { public: // Thread local context for Octree. static Octree& Get(); // t...
34.283105
91
0.705914
[ "vector" ]
f20563a8dccc4996d2d9e511c0761b33e5d9d294
2,024
cpp
C++
1075/E/prog.cpp
alexsyrom/codeforces
54fabac82d2dac16429c6b6576830d20e47ed94c
[ "MIT" ]
null
null
null
1075/E/prog.cpp
alexsyrom/codeforces
54fabac82d2dac16429c6b6576830d20e47ed94c
[ "MIT" ]
null
null
null
1075/E/prog.cpp
alexsyrom/codeforces
54fabac82d2dac16429c6b6576830d20e47ed94c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> template <class Class> void Print(Class instance) { std::cout << instance << std::endl; } void Print() { std::cout << std::endl; } struct Point { int64_t x; int64_t y; }; uint64_t ComputeDistance(const Point& first, const Point& second) { return std::abs(first.x - secon...
25.948718
76
0.545455
[ "vector" ]
f20770ae0e5cced8d5424e3dde2f743201b45f89
3,783
cpp
C++
exercises/3/week13/src/main.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
exercises/3/week13/src/main.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
exercises/3/week13/src/main.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
#include <iostream> #include <set> #include <vector> #include "SmartPointer.h" #include "Student.h" #include "StudentContainer.h" #include "DynamicArray.h" #include "Human.h" #include "Bird.h" using namespace std; ///You can call it with a string as argument because of implicit conversion void implicitConver...
29.325581
105
0.63521
[ "vector" ]
f2096b84599499992622e676f1a72f6bf77eff93
3,106
cpp
C++
Application/Testing/Cpp/voDataBrowserWidgetTest.cpp
Kitware/Visomics
5a12f132d826c32dececbd2707e920f4d5525da3
[ "Apache-2.0" ]
3
2015-05-03T05:14:50.000Z
2017-03-29T14:54:49.000Z
Application/Testing/Cpp/voDataBrowserWidgetTest.cpp
Kitware/Visomics
5a12f132d826c32dececbd2707e920f4d5525da3
[ "Apache-2.0" ]
null
null
null
Application/Testing/Cpp/voDataBrowserWidgetTest.cpp
Kitware/Visomics
5a12f132d826c32dececbd2707e920f4d5525da3
[ "Apache-2.0" ]
1
2017-03-29T15:04:16.000Z
2017-03-29T15:04:16.000Z
/*========================================================================= Program: Visomics Copyright (c) Kitware, 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://ww...
29.301887
98
0.66291
[ "model" ]
f20a29dbba8a2290d900c1fb98117379eab53e07
21,955
cpp
C++
CppIDL/source/cppidl/goldparser.cpp
obivan43/cppidl
843e0ca012145cd79e111ba9d51185c2780b35ac
[ "MIT" ]
null
null
null
CppIDL/source/cppidl/goldparser.cpp
obivan43/cppidl
843e0ca012145cd79e111ba9d51185c2780b35ac
[ "MIT" ]
null
null
null
CppIDL/source/cppidl/goldparser.cpp
obivan43/cppidl
843e0ca012145cd79e111ba9d51185c2780b35ac
[ "MIT" ]
null
null
null
#include "goldparser.h" #include <cassert> #include <fstream> #include <iostream> #include <sstream> #include <io.h> namespace GoldParser { #define ActionShift 1 #define ActionReduce 2 #define ActionGoto 3 #define ActionAccept 4 char Parser::def_matchtoken(short type) { ...
31.772793
118
0.422409
[ "vector" ]
f20c5ebbdded7b9315c58a0c94b9f9825202bf5d
4,435
hpp
C++
include/mango/math/vector256_int16x16.hpp
galek/mango
975b438ac9a22ed3a849da6187e1fdf3d547c926
[ "Zlib" ]
1
2021-08-06T09:27:45.000Z
2021-08-06T09:27:45.000Z
include/mango/math/vector256_int16x16.hpp
galek/mango
975b438ac9a22ed3a849da6187e1fdf3d547c926
[ "Zlib" ]
null
null
null
include/mango/math/vector256_int16x16.hpp
galek/mango
975b438ac9a22ed3a849da6187e1fdf3d547c926
[ "Zlib" ]
1
2021-07-10T11:41:01.000Z
2021-07-10T11:41:01.000Z
/* MANGO Multimedia Development Platform Copyright (C) 2012-2017 Twilight Finland 3D Oy Ltd. All rights reserved. */ #pragma once #include "vector.hpp" namespace mango { template <> struct Vector<int16, 16> : VectorBase<int16, 16> { using vector_type = simd::int16x16; simd::int16x...
24.234973
108
0.548591
[ "vector", "3d" ]
f20cde5e09c55f15fc4ea54392ef983a848885cb
8,592
cc
C++
oasys_source/util/InitSequencer.cc
lauramazzuca21/DTNME
c97b598b09a8c8e97c2e4136879d9f0e157c8df7
[ "Apache-2.0" ]
7
2021-02-11T16:54:24.000Z
2021-08-20T06:15:30.000Z
oasys_source/util/InitSequencer.cc
lauramazzuca21/DTNME
c97b598b09a8c8e97c2e4136879d9f0e157c8df7
[ "Apache-2.0" ]
3
2020-09-18T13:48:53.000Z
2021-05-27T18:28:14.000Z
oasys_source/util/InitSequencer.cc
lauramazzuca21/DTNME
c97b598b09a8c8e97c2e4136879d9f0e157c8df7
[ "Apache-2.0" ]
10
2020-09-26T05:08:40.000Z
2022-01-25T12:57:55.000Z
/* * Copyright 2005-2006 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
23.411444
85
0.539572
[ "vector" ]
f2101249f5c57a44bbb5587028df30ff86b58767
7,008
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcRoleEnum.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
426
2015-04-12T10:00:46.000Z
2022-03-29T11:03:02.000Z
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcRoleEnum.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
124
2015-05-15T05:51:00.000Z
2022-02-09T15:25:12.000Z
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcRoleEnum.cpp
AlexVlk/ifcplusplus
2f8cd5457312282b8d90b261dbf8fb66e1c84057
[ "MIT" ]
214
2015-05-06T07:30:37.000Z
2022-03-26T16:14:04.000Z
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include <map> #include "ifcpp/reader/ReaderUtil.h" #include "ifcpp/writer/WriterUtil.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/IFC4/include/IfcRole...
39.150838
388
0.720034
[ "model" ]
f210cec372d9ef07a7d7b880fb85736816faef53
59,084
cpp
C++
src/SHADERedCLR/PluginWrapper.cpp
KevinGliewe/SHADERedCLR
89a42d459c84493f18a4aa43e7909924096ac0a5
[ "MIT" ]
11
2021-09-05T00:22:07.000Z
2021-11-16T12:50:05.000Z
src/SHADERedCLR/PluginWrapper.cpp
KevinGliewe/SHADERedCLR
89a42d459c84493f18a4aa43e7909924096ac0a5
[ "MIT" ]
null
null
null
src/SHADERedCLR/PluginWrapper.cpp
KevinGliewe/SHADERedCLR
89a42d459c84493f18a4aa43e7909924096ac0a5
[ "MIT" ]
null
null
null
#include "pch.h" #include <assert.h> #include "PluginWrapper.h" bool PluginWrapper::Init(bool isWeb, int sedVersion) { this->InitUPC(); ((void(*)(UnmanagedPointerCollection))this->m_pMPC.__SetUPC)(this->m_sUPC); if(!this->m_pMPC.Init_000) return 0; return ((bool(*)(bool, int))this->m_pMPC.Init_...
50.890612
290
0.747664
[ "render" ]
f212294809d53b450616417c7bf2f3f9f4a0f06f
501
cc
C++
src/materials/MMS_Time_Cos.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
src/materials/MMS_Time_Cos.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
src/materials/MMS_Time_Cos.cc
pgmaginot/DARK_ARTS
f04b0a30dcac911ef06fe0916921020826f5c42b
[ "MIT" ]
null
null
null
#include "MMS_Time_Cos.h" MMS_Time_Cos::MMS_Time_Cos(const std::vector<double>& coeff) : V_MMS_Time(), m_cos_coeff(coeff) { } double MMS_Time_Cos::get_time_component(const double time) { m_val = m_cos_coeff[0]*cos(time*m_pi/m_cos_coeff[1] + m_cos_coeff[2] ) + m_cos_coeff[3]; return m_val; } ...
23.857143
95
0.702595
[ "vector" ]
f217ca65b338b18a6e49b70e66cba732b669ccc6
2,376
cpp
C++
2018/155_Min_Stack/155_Min_Stack/155_Min_Stack.cpp
CanftIn/leetcode
97f45e1ffb0a917ae4fd2321636856e55f615d12
[ "MIT" ]
4
2018-05-30T10:27:07.000Z
2020-03-07T08:38:53.000Z
2018/155_Min_Stack/155_Min_Stack/155_Min_Stack.cpp
CanftIn/leetcode
97f45e1ffb0a917ae4fd2321636856e55f615d12
[ "MIT" ]
1
2018-05-30T04:29:32.000Z
2018-05-31T10:15:40.000Z
2018/155_Min_Stack/155_Min_Stack/155_Min_Stack.cpp
CanftIn/leetcode
97f45e1ffb0a917ae4fd2321636856e55f615d12
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class MinStack { public: MinStack() : _capacity(1), _top(-1) { nums = (int*)malloc(_capacity * sizeof(int)); } ~MinStack() { free(nums); } void push(int x) { _top++; if (_top > _capacity) { _capacity *= 5; nums = (int*)realloc(nums, _capacity * sizeof...
14.487805
71
0.55303
[ "object" ]
f21874513a0c63865c856deffd734e77c47c876d
6,525
cc
C++
tensor_comprehensions/pybinds/pybind_options.cc
abdullah1908/TensorComprehensions
90360b9290244ff96f8a89d5311dc75981f70bb7
[ "Apache-2.0" ]
1
2021-08-28T17:59:20.000Z
2021-08-28T17:59:20.000Z
tensor_comprehensions/pybinds/pybind_options.cc
abdullah1908/TensorComprehensions
90360b9290244ff96f8a89d5311dc75981f70bb7
[ "Apache-2.0" ]
null
null
null
tensor_comprehensions/pybinds/pybind_options.cc
abdullah1908/TensorComprehensions
90360b9290244ff96f8a89d5311dc75981f70bb7
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, 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 ...
46.607143
269
0.641533
[ "vector" ]
f21955a196b13c64868fd50e63c85076c86a5fcf
23,681
cpp
C++
src/drivers/bzone.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/bzone.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/bzone.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/*************************************************************************** Battlezone memory map (preliminary) 0000-04ff RAM 0800 IN0 0a00 IN1 0c00 IN2 1200 Vector generator start (write) 1400 1600 Vector generator reset (write) 1800 Mathbox Status register 1810 Mathbox value (l...
28.600242
104
0.596047
[ "vector" ]
35ef3151a84da419498d4d7fbc21ed3ec2dfdbbe
18,906
cpp
C++
model.cpp
ma-compbio/PSAR-Align
ac2a491e5583843b934814d9f2d1227e3da067eb
[ "MIT" ]
null
null
null
model.cpp
ma-compbio/PSAR-Align
ac2a491e5583843b934814d9f2d1227e3da067eb
[ "MIT" ]
null
null
null
model.cpp
ma-compbio/PSAR-Align
ac2a491e5583843b934814d9f2d1227e3da067eb
[ "MIT" ]
null
null
null
#include "model.h" #include <iostream> #include <sstream> #include <cstdlib> Model::Model(Sequence* seqTarget, vector<Sequence>* seqFamily, int targetIndex, Params* params) { _seqTarget = seqTarget; _seqFamily = seqFamily; _params = params; _numrows = _seqTarget->length(); _numcols = _seqFamily->at(0).length(); ...
33.580817
126
0.614778
[ "vector", "model" ]
35f0a0500e392575f635e73fe9a5a61b4232faf5
7,158
cpp
C++
src/aas/Modification.cpp
kirchnerlab/MSTK
99b6d9bffff3ad209a04295a2b23a3e61e76a29c
[ "MIT" ]
1
2021-07-16T19:45:39.000Z
2021-07-16T19:45:39.000Z
src/aas/Modification.cpp
kirchnerlab/MSTK
99b6d9bffff3ad209a04295a2b23a3e61e76a29c
[ "MIT" ]
null
null
null
src/aas/Modification.cpp
kirchnerlab/MSTK
99b6d9bffff3ad209a04295a2b23a3e61e76a29c
[ "MIT" ]
null
null
null
/* * Modification.cpp * * Copyright (c) 2011,2012 Mathias Wilhelm * Copyright (c) 2011,2012 Marc Kirchner * * This file is part of the Mass Spectrometry Toolkit (MSTK). * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "S...
31.394737
100
0.725203
[ "vector" ]
35f3d4ef094f06955037014f11b90af08c71d06d
13,863
cpp
C++
src/solutions/aoc_day_18.cpp
bcooperstl/advent-of-code-2021
2efa65f51608bc47d2ab8add9c283f257f7fa181
[ "MIT" ]
null
null
null
src/solutions/aoc_day_18.cpp
bcooperstl/advent-of-code-2021
2efa65f51608bc47d2ab8add9c283f257f7fa181
[ "MIT" ]
null
null
null
src/solutions/aoc_day_18.cpp
bcooperstl/advent-of-code-2021
2efa65f51608bc47d2ab8add9c283f257f7fa181
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <sstream> #include <cstdlib> #include <cctype> #include "aoc_day_18.h" #include "file_utils.h" using namespace std; using namespace Day18; namespace Day18 { Node::Node() { } Node::~Node() { } Number::Number(long va...
23.778731
120
0.492318
[ "vector" ]
35f7a60a5a313e8a174a8051f48b2808726fdf82
2,189
hpp
C++
src/ipc_houghlines.hpp
eelko/cvobjects
f04a77db1995c936318b369483659ccd37a1dc3e
[ "BSL-1.0" ]
1
2020-01-15T10:35:05.000Z
2020-01-15T10:35:05.000Z
src/ipc_houghlines.hpp
eelko/cvobjects
f04a77db1995c936318b369483659ccd37a1dc3e
[ "BSL-1.0" ]
null
null
null
src/ipc_houghlines.hpp
eelko/cvobjects
f04a77db1995c936318b369483659ccd37a1dc3e
[ "BSL-1.0" ]
null
null
null
// Copyright Eelko van Breda, Delft University of Technology, 2014. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef __IPC_HOUGHLINES_HPP #define __IPC_HOUGHLINES_HPP ...
27.708861
118
0.583828
[ "vector" ]
35f9dd487f1c392bad06e7f9cdb2e1e647415439
6,593
hpp
C++
src/NativeWindow.hpp
Wiladams/swp
5b55c418a17e9dab7797a4334ccce3d931fae1f6
[ "MIT" ]
null
null
null
src/NativeWindow.hpp
Wiladams/swp
5b55c418a17e9dab7797a4334ccce3d931fae1f6
[ "MIT" ]
null
null
null
src/NativeWindow.hpp
Wiladams/swp
5b55c418a17e9dab7797a4334ccce3d931fae1f6
[ "MIT" ]
null
null
null
#pragma once #pragma comment(lib, "user32.lib") /* This file, and the Window class represent the connection to the Win32 User32 interface library. The idea is, if you include this single header in your application .cpp file, you have everything you need to create a window of a given size, do drawing...
27.818565
145
0.619445
[ "object" ]
c4003eb3857a6a22541156e82f0297522a32d16d
1,954
cpp
C++
Algorithm/MergekSortedLists/MergekSortedLists.cpp
liyuan989/leetcode
aec5e7f6e75d4fbd1460c3ef77a80f6133ef3bb3
[ "BSD-3-Clause" ]
66
2015-05-11T14:00:40.000Z
2021-01-28T14:21:34.000Z
Algorithm/MergekSortedLists/MergekSortedLists.cpp
liyuan989/leetcode
aec5e7f6e75d4fbd1460c3ef77a80f6133ef3bb3
[ "BSD-3-Clause" ]
null
null
null
Algorithm/MergekSortedLists/MergekSortedLists.cpp
liyuan989/leetcode
aec5e7f6e75d4fbd1460c3ef77a80f6133ef3bb3
[ "BSD-3-Clause" ]
40
2015-07-05T06:58:51.000Z
2019-06-18T08:14:46.000Z
/* Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. */ #include <algorithm> #include <vector> #include <stdio.h> using namespace std; // Definition for singly-linked list. struct ListNode { int val; ListNode* next; ListNode(int x) : val(x...
19.346535
98
0.447288
[ "vector" ]
c402b71dc15cd16247f24c989a20c7af2126223e
24,710
cc
C++
third_party/blink/renderer/modules/nfc/ndef_record.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/renderer/modules/nfc/ndef_record.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
third_party/blink/renderer/modules/nfc/ndef_record.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2019 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 "third_party/blink/renderer/modules/nfc/ndef_record.h" #include "base/notreached.h" #include "services/device/public/mojom/nfc.mojom-blink.h" #i...
39.662921
93
0.672481
[ "vector" ]
c407d9e8048df6a0c99088a513fbc5ede1783f91
3,398
cpp
C++
Game/Scripts/Structure.cpp
JohnHonkanen/ProjectM
881171ad749e8fe7db6188ee9486239a37256569
[ "Unlicense" ]
null
null
null
Game/Scripts/Structure.cpp
JohnHonkanen/ProjectM
881171ad749e8fe7db6188ee9486239a37256569
[ "Unlicense" ]
null
null
null
Game/Scripts/Structure.cpp
JohnHonkanen/ProjectM
881171ad749e8fe7db6188ee9486239a37256569
[ "Unlicense" ]
null
null
null
/* Structure class that maintains the base properties off all structures */ #include "Structure.h" using namespace std; Structure::Structure() { } Structure::~Structure() { } Structure::Structure(string building, string typ, int hp, int pow, int eff, int up, int cost, int radOut, bool placed, bool active) { Stru...
16.180952
146
0.718069
[ "transform" ]
c40ed16c860d77b2975c4a2b1d7c35278ee60fe5
15,936
cpp
C++
GameAnalytics/GameAnalytics.cpp
codeglue/game-analytics-cpp
68d93d2447a42445113b6b77300ab056bcc15ff4
[ "MIT" ]
4
2016-07-07T13:33:46.000Z
2016-07-19T15:00:04.000Z
GameAnalytics/GameAnalytics.cpp
codeglue/game-analytics-cpp
68d93d2447a42445113b6b77300ab056bcc15ff4
[ "MIT" ]
null
null
null
GameAnalytics/GameAnalytics.cpp
codeglue/game-analytics-cpp
68d93d2447a42445113b6b77300ab056bcc15ff4
[ "MIT" ]
null
null
null
#include "GameAnalytics.h" #include "WebRequestHandler.h" #include "SystemHelpers.h" #include <json/json.h> #if !IS_UWP_APP #pragma comment(lib, "ws2_32.lib") #pragma comment(lib, "wldap32.lib") #endif #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <assert.h> #include <algorithm> #ifdef min #undef min #e...
26.039216
150
0.721323
[ "vector" ]
c4147cf5fa2a247841a2a85dc35e9cd6a846c2e6
1,107
c++
C++
GeeksForGeeks/LinkedList/Basic/DeleteAlternateNode.c++
Chirag-Juneja/Algo
5006332e9ea1f77f941e3fa45962813dbe9399a6
[ "MIT" ]
1
2021-08-13T21:54:40.000Z
2021-08-13T21:54:40.000Z
GeeksForGeeks/LinkedList/Basic/DeleteAlternateNode.c++
Chirag-Juneja/Algo
5006332e9ea1f77f941e3fa45962813dbe9399a6
[ "MIT" ]
null
null
null
GeeksForGeeks/LinkedList/Basic/DeleteAlternateNode.c++
Chirag-Juneja/Algo
5006332e9ea1f77f941e3fa45962813dbe9399a6
[ "MIT" ]
null
null
null
/* Given a Singly Linked List of size N, delete all alternate nodes of the list. Example 1: Input: LinkedList: 1->2->3->4->5->6 Output: 1->3->5 Explanation: Deleting alternate nodes results in the linked list with elements 1->3->5. */ #include <bits/stdc++.h> using namespace std; struct Node { int data; No...
17.030769
77
0.515808
[ "vector" ]
c4223c5ca655b6969a6afc40c0a4a416120df922
41,329
cpp
C++
src/mahjong/score.cpp
Muratam/mahjong-cpp
28a76a8e25a0084cb582e5c1e64c16f479da268f
[ "MIT" ]
9
2020-12-30T08:53:37.000Z
2022-03-30T11:27:40.000Z
src/mahjong/score.cpp
Muratam/mahjong-cpp
28a76a8e25a0084cb582e5c1e64c16f479da268f
[ "MIT" ]
2
2021-12-07T06:53:12.000Z
2022-01-13T03:30:04.000Z
src/mahjong/score.cpp
Muratam/mahjong-cpp
28a76a8e25a0084cb582e5c1e64c16f479da268f
[ "MIT" ]
2
2021-05-14T19:25:14.000Z
2021-12-21T13:11:04.000Z
#include "score.hpp" #include "bitutils.hpp" #include "handseparator.hpp" #include "syanten.hpp" #include "utils.hpp" namespace mahjong { /** * @brief 点数計算機を作成する。 */ ScoreCalculator::ScoreCalculator() : rules_(RuleFlag::AkaDora | RuleFlag::OpenTanyao) , bakaze_(Tile::Ton) , zikaze_(Tile...
29.861994
99
0.54313
[ "vector" ]
c426298b353df0749b98bb28ead7ec6402802b84
6,931
cpp
C++
src/DnnTrainer.cpp
barrettd/tfs_dnn
80e53e61291d63ab4d70301f34798dc83ea1cbf5
[ "MIT" ]
3
2017-03-01T20:30:39.000Z
2020-08-29T17:48:30.000Z
src/DnnTrainer.cpp
barrettd/tfs_dnn
80e53e61291d63ab4d70301f34798dc83ea1cbf5
[ "MIT" ]
null
null
null
src/DnnTrainer.cpp
barrettd/tfs_dnn
80e53e61291d63ab4d70301f34798dc83ea1cbf5
[ "MIT" ]
null
null
null
// -------------------------------------------------------------------- // dnnTrainer.cpp // // Created by Barrett Davis on 5/8/16. // Copyright © 2016 Tree Frog Software. All rights reserved. // -------------------------------------------------------------------- #include "DnnLayer.hpp" #include "DnnTrainer.hpp" n...
28.879167
133
0.528928
[ "vector" ]
c429c2bafacfa621086de1ec9829e9c6e6530416
1,061
cpp
C++
Components/source/Ball.cpp
matheusvxf/cse-167-project-3
6b07de725705134bd4099bab1a77f1286c99a8b6
[ "MIT" ]
null
null
null
Components/source/Ball.cpp
matheusvxf/cse-167-project-3
6b07de725705134bd4099bab1a77f1286c99a8b6
[ "MIT" ]
null
null
null
Components/source/Ball.cpp
matheusvxf/cse-167-project-3
6b07de725705134bd4099bab1a77f1286c99a8b6
[ "MIT" ]
null
null
null
#include "Ball.h" #include "Utility.h" #include <iostream> #include <GL/glut.h> static Vector4 gravity(0, -9.8, 0); Ball::Ball() { obj_type = Object::ObjectType::Ball; reset(); } Ball::~Ball() { } void Ball::update() { applyForce(gravity * mass); Object::update(); } void Ball::render() { Objec...
17.983051
89
0.62394
[ "render", "object" ]
c42a53384e3c2de59471b9ba787a7ab7889b2c63
564
cpp
C++
LeetCode-Challenges/2020/4. April/21_leftmost_column_with_at_least_a_one.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
LeetCode-Challenges/2020/4. April/21_leftmost_column_with_at_least_a_one.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
LeetCode-Challenges/2020/4. April/21_leftmost_column_with_at_least_a_one.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
class Solution { public: int leftMostColumnWithOne(BinaryMatrix &binaryMatrix) { vector<int> d = binaryMatrix.dimensions(); int r = d[0]; int c = d[1]; int row = 0; int col = c - 1; int ans = -1; while (row < r && col >= 0) { int x =...
18.8
57
0.35461
[ "vector" ]
c44cf43f23dfa607304215f2e860e9129ef4c3b6
10,022
cpp
C++
memmgr/MemTransJIT.cpp
cjang/chai
7faba752cc4491d1b30590abef21edc4efffa0f6
[ "Unlicense" ]
11
2015-06-12T19:54:14.000Z
2021-11-26T10:45:18.000Z
memmgr/MemTransJIT.cpp
cjang/chai
7faba752cc4491d1b30590abef21edc4efffa0f6
[ "Unlicense" ]
null
null
null
memmgr/MemTransJIT.cpp
cjang/chai
7faba752cc4491d1b30590abef21edc4efffa0f6
[ "Unlicense" ]
null
null
null
// Copyright 2012 Chris Jang (fastkor@gmail.com) under The Artistic License 2.0 #ifdef __LOGGING_ENABLED__ #include <sstream> #endif #include <string.h> #include "Logger.hpp" #include "MemTrans.hpp" #include "OCLhacks.hpp" #include "PrecType.hpp" using namespace std; namespace chai_internal { BackMem* MemTrans::u...
30.554878
79
0.424067
[ "object", "vector" ]
c44da1e3fa75c154d514ba2a490fe45dac9287d7
1,821
cpp
C++
Framework/Core/Src/MetaClass.cpp
CyroPCJr/OmegaEngine
65fbd6cff54266a9c934e3a875a4493d26758661
[ "MIT" ]
1
2021-04-23T19:18:12.000Z
2021-04-23T19:18:12.000Z
Framework/Core/Src/MetaClass.cpp
CyroPCJr/OmegaEngine
65fbd6cff54266a9c934e3a875a4493d26758661
[ "MIT" ]
null
null
null
Framework/Core/Src/MetaClass.cpp
CyroPCJr/OmegaEngine
65fbd6cff54266a9c934e3a875a4493d26758661
[ "MIT" ]
1
2021-06-15T10:42:08.000Z
2021-06-15T10:42:08.000Z
#include "Precompiled.h" #include "MetaClass.h" #include "DebugUtil.h" #include "MetaField.h" using namespace Omega::Core::Meta; MetaClass::MetaClass(const char* name, size_t size, const MetaClass* parent, std::vector<MetaField> fields, CreateFunc create) : MetaType(MetaType::Category::Class, name,...
23.346154
94
0.68369
[ "vector" ]
c44e3515fdf6575f6d86f771730239d7b4f0256c
2,685
cpp
C++
resources/Wireshark/WiresharkDissectorFoo/ui/qt/scsi_service_response_time_dialog.cpp
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
2
2020-09-11T05:51:42.000Z
2020-12-31T11:42:02.000Z
resources/Wireshark/WiresharkDissectorFoo/ui/qt/scsi_service_response_time_dialog.cpp
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
null
null
null
resources/Wireshark/WiresharkDissectorFoo/ui/qt/scsi_service_response_time_dialog.cpp
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
null
null
null
/* scsi_service_response_time_dialog.cpp * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "scsi_service_response_time_dialog.h" #include <algorithm> #include <stdio.h> #include <epan/srt_ta...
26.85
144
0.690503
[ "object" ]
c45358b3861ad0f17130d7a3471390de084cc5ac
2,455
cc
C++
main.cc
dfyzy/sentience
cc33db6a3cbb370797e043a25c9acb0975cd0556
[ "MIT" ]
null
null
null
main.cc
dfyzy/sentience
cc33db6a3cbb370797e043a25c9acb0975cd0556
[ "MIT" ]
null
null
null
main.cc
dfyzy/sentience
cc33db6a3cbb370797e043a25c9acb0975cd0556
[ "MIT" ]
null
null
null
#include "person.h" #include "player.h" const float USE_RADIUS = 70; GLFWwindow* window; Player player; Target* currentTarget = nullptr; Target* lastTarget = nullptr; float currentDistance = 0; int lastX = 0, lastY = 0; void checkProximity(float distance, Target* target, bool check) { if (distance < USE_RADIUS) {...
22.943925
91
0.681059
[ "vector" ]
c463ceb434ce832d3fdd8496eeb7df40526fac15
3,198
hpp
C++
src/openmpt/sounddevice/SoundDevicePortAudio.hpp
jat-jat/openmpt
2d939ac2d41c054cb28bee18f0ba449c3a563335
[ "BSD-3-Clause" ]
null
null
null
src/openmpt/sounddevice/SoundDevicePortAudio.hpp
jat-jat/openmpt
2d939ac2d41c054cb28bee18f0ba449c3a563335
[ "BSD-3-Clause" ]
null
null
null
src/openmpt/sounddevice/SoundDevicePortAudio.hpp
jat-jat/openmpt
2d939ac2d41c054cb28bee18f0ba449c3a563335
[ "BSD-3-Clause" ]
null
null
null
/* SPDX-License-Identifier: BSD-3-Clause */ /* SPDX-FileCopyrightText: OpenMPT Project Developers and Contributors */ #pragma once #include "openmpt/all/BuildSettings.hpp" #include "SoundDevice.hpp" #include "SoundDeviceBase.hpp" #include "mpt/base/detect.hpp" #include "mpt/string/types.hpp" #include "openmpt/base...
26.213115
154
0.800188
[ "vector" ]
c466bfbaded61c3c9ff2dbafd57185254fb5b3fc
2,457
cpp
C++
ejercicios/semana4/ex1.cpp
lschinchilla/FISI2028-202120
5c4a80494f5867a91786771f388e9e3c9ef20eb2
[ "MIT" ]
3
2021-08-17T19:19:11.000Z
2021-11-08T12:26:41.000Z
ejercicios/semana4/ex1.cpp
lschinchilla/FISI2028-202120
5c4a80494f5867a91786771f388e9e3c9ef20eb2
[ "MIT" ]
12
2021-09-18T01:33:58.000Z
2021-10-16T00:11:45.000Z
ejercicios/semana4/ex1.cpp
lschinchilla/FISI2028-202120
5c4a80494f5867a91786771f388e9e3c9ef20eb2
[ "MIT" ]
28
2021-09-17T22:38:23.000Z
2021-10-02T19:59:49.000Z
#include <iostream> #include <fstream> #include <string> #include <sstream> using namespace std; int* fib_cache; int fib_cache_n=0; // el elemento que se ha calculado y guardado uint fib_cache_calls = 0; // Memoization & Dynamic Programming int f_fibonacci_cache(int n){ fib_cache_calls++; // cuantas veces he llam...
27
80
0.562475
[ "vector" ]
c467b32cc40692a6ba4dd9be5302f02da8f95ed9
1,240
cpp
C++
cplusplus/cpu_utilization/cpu.cpp
colin-zhou/mrfs
12b8ed1f06bb1a8ed0637a3ee78231c5f8eec6d1
[ "MIT" ]
8
2017-12-23T10:40:57.000Z
2021-05-04T06:56:03.000Z
cplusplus/cpu_utilization/cpu.cpp
colin-zhou/mrfs
12b8ed1f06bb1a8ed0637a3ee78231c5f8eec6d1
[ "MIT" ]
null
null
null
cplusplus/cpu_utilization/cpu.cpp
colin-zhou/mrfs
12b8ed1f06bb1a8ed0637a3ee78231c5f8eec6d1
[ "MIT" ]
1
2019-01-29T06:39:04.000Z
2019-01-29T06:39:04.000Z
#include <fstream> #include <iostream> #include <numeric> #include <unistd.h> #include <vector> std::vector<size_t> get_cpu_times() { std::ifstream proc_stat("/proc/stat"); proc_stat.ignore(5, ' '); // Skip the 'cpu' prefix. std::vector<size_t> times; for (size_t time; proc_stat >> time; times.push_bac...
33.513514
88
0.659677
[ "vector" ]
c472ef3d51284c2c46307056625bdd1c3ebddfaa
2,343
cpp
C++
tic-tac-toe/NegamaxAlphaBetaSearcher.cpp
xiaobing007/play_with_algo
25c0e82bd069dbc47b9d6b0e311b971a40581fa0
[ "MIT" ]
67
2018-09-04T03:47:08.000Z
2021-10-30T05:41:21.000Z
tic-tac-toe/NegamaxAlphaBetaSearcher.cpp
liaoshunguo/play_with_algo
1ea66702f8f6ec4df5f4b28cc3029a06f080ef31
[ "MIT" ]
1
2019-07-16T06:29:17.000Z
2019-07-16T06:29:17.000Z
tic-tac-toe/NegamaxAlphaBetaSearcher.cpp
liaoshunguo/play_with_algo
1ea66702f8f6ec4df5f4b28cc3029a06f080ef31
[ "MIT" ]
38
2018-09-10T05:11:33.000Z
2021-07-20T14:20:04.000Z
#include "StdAfx.h" #include "NegamaxAlphaBetaSearcher.h" NegamaxAlphaBetaSearcher::NegamaxAlphaBetaSearcher(Evaluator *evaluator) { #ifdef _DEBUG _searcherCounter = 0; #endif m_evaluator = evaluator; } NegamaxAlphaBetaSearcher::~NegamaxAlphaBetaSearcher(void) { } int NegamaxAlphaBetaSearcher::SearchBestPlay...
26.033333
106
0.605634
[ "vector" ]
c482dd46df224a9c3594dded2f3117627d87b0cc
6,139
cc
C++
peridot/tests/story_shell/story_shell_test_story_shell.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
1
2019-10-09T10:50:57.000Z
2019-10-09T10:50:57.000Z
peridot/tests/story_shell/story_shell_test_story_shell.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
peridot/tests/story_shell/story_shell_test_story_shell.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Implementation of the fuchsia::modular::StoryShell service that just lays out // the views of all modules side by side. #include <fuchsia/modular/cpp/f...
36.111765
80
0.671445
[ "vector" ]
c486bd6cba08db71b7879d62847fae8259f95886
180,818
cpp
C++
emulator/src/mame/drivers/galaga.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/drivers/galaga.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/drivers/galaga.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Nicola Salmoria /*************************************************************************** Bosconian (c) 1981 Namco Galaga (c) 1981 Namco Xevious (c) 1982 Namco Dig Dug (c) 1982 Namco driver by Nicola Salmoria based on previous work by Martin Scragg, Mirko Buf...
51.383348
210
0.691917
[ "object", "shape", "3d" ]
c4897090c81cdea66702897e1f1e02787373205e
9,226
cpp
C++
Code Library Of Others/sgtlaugh/FFT Extended + OP.cpp
BIJOY-SUST/ACM---ICPC
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
6
2018-10-15T18:45:05.000Z
2022-03-29T04:30:10.000Z
Code Library Of Others/sgtlaugh/FFT Extended + OP.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
Code Library Of Others/sgtlaugh/FFT Extended + OP.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
4
2018-01-07T06:20:07.000Z
2019-08-21T15:45:59.000Z
#include <bits/stdtr1c++.h> #define MAXN 1048576 /// 2 * MAX at least #define clr(ar) memset(ar, 0, sizeof(ar)) #define read() freopen("lol.txt", "r", stdin) #define dbg(x) cout << #x << " = " << x << endl #define ran(a, b) ((((rand() << 15) ^ rand()) % ((b) - (a) + 1)) + (a)) using namespace std; /// Change long do...
34.297398
108
0.459788
[ "vector", "transform" ]
c48c7a890298badeac41cde89fb465fc019aed8f
705
cpp
C++
03. Arrays/Array Problems/Pairsum.cpp
samdev-py/100DaysOfCode
b0d96e42aeb657902153434c6a7ec8aec265f461
[ "MIT" ]
6
2021-10-30T10:18:11.000Z
2021-12-27T17:25:30.000Z
03. Arrays/Array Problems/Pairsum.cpp
samdev-py/Data-Structures-and-algorithms
b0d96e42aeb657902153434c6a7ec8aec265f461
[ "MIT" ]
null
null
null
03. Arrays/Array Problems/Pairsum.cpp
samdev-py/Data-Structures-and-algorithms
b0d96e42aeb657902153434c6a7ec8aec265f461
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; vector<vector<int>> pairSum(int arr[], int n, int s) { vector<vector<int>> ans; for (int i = 0; i < n; i++) { for (int j = i + 1; j < n; j++) { if (arr[i] + arr[j] == s) { ...
20.142857
52
0.452482
[ "vector" ]
c494c0977c697429b3bb2a6cdc8962bbfbfefa34
18,131
cc
C++
Code/Components/Analysis/analysis/current/catalogues/CasdaPolarisationEntry.cc
steve-ord/askapsoft
21b9df1b393b973ec312591efad7ee2b8c974811
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
1
2020-06-18T08:37:43.000Z
2020-06-18T08:37:43.000Z
Code/Components/Analysis/analysis/current/catalogues/CasdaPolarisationEntry.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
Code/Components/Analysis/analysis/current/catalogues/CasdaPolarisationEntry.cc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
/// @file /// /// Implementation of the polarisation components for CASDA /// /// @copyright (c) 2014 CSIRO /// Australia Telescope National Facility (ATNF) /// Commonwealth Scientific and Industrial Research Organisation (CSIRO) /// PO Box 76, Epping NSW 1710, Australia /// atnf-enquiries@csiro.au /// /// This file is...
36.628283
106
0.635596
[ "vector", "model" ]
7bcd02db335cb2e365e1774ea4fe0d40e9725ac2
15,593
hpp
C++
test/test_fixture.hpp
SylvainCorlay/xframe
ceb346b7be28cc0aea2ea91aa99533eed6e99bb3
[ "BSD-3-Clause" ]
176
2017-09-25T20:21:49.000Z
2019-10-03T20:09:38.000Z
test/test_fixture.hpp
vishalbelsare/xframe
24d65f462cb9345c0814264dc449c5552c2592bb
[ "BSD-3-Clause" ]
53
2017-09-29T06:52:58.000Z
2019-06-27T08:20:35.000Z
test/test_fixture.hpp
vishalbelsare/xframe
24d65f462cb9345c0814264dc449c5552c2592bb
[ "BSD-3-Clause" ]
20
2017-09-25T20:21:50.000Z
2019-06-29T01:43:02.000Z
/*************************************************************************** * Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and * * Martin Renou * * Copyright (c) QuantStack * * ...
36.775943
127
0.444623
[ "vector" ]
7bcee3bb85ca5d91478c1ad3f4a3b6542487ecbb
5,221
cpp
C++
adbase/Config/IniConfig.cpp
weiboad/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
62
2017-02-15T11:36:46.000Z
2022-03-14T09:11:10.000Z
adbase/Config/IniConfig.cpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
5
2017-02-21T05:32:14.000Z
2017-05-21T13:15:07.000Z
adbase/Config/IniConfig.cpp
AraHaan/adbase
d37ed32b55da24f7799be286c860e280ee0c786a
[ "Apache-2.0" ]
22
2017-02-16T02:11:25.000Z
2020-02-12T18:12:44.000Z
#include <adbase/Config.hpp> namespace adbase { // {{{ bool IniConfig::hasSection() bool IniConfig::hasSection(const std::string &sectionName) const { if (config.find(sectionName) == config.end()) { return false; } return true; } // }}} // {{{ bool IniConfig::hasOption() bool IniConfig::hasOpti...
28.069892
122
0.661176
[ "vector" ]
7bd753eae4680bbd460aa608755ecede4595177b
722
cpp
C++
examples/struct_manip/main.cpp
tacticalmelonfarmer/cxl
3447ff002d910d62c21f9116d5e5ed174bb0555d
[ "MIT" ]
31
2019-01-06T20:38:30.000Z
2021-12-28T19:19:00.000Z
examples/struct_manip/main.cpp
tacticalmelonfarmer/cxl
3447ff002d910d62c21f9116d5e5ed174bb0555d
[ "MIT" ]
null
null
null
examples/struct_manip/main.cpp
tacticalmelonfarmer/cxl
3447ff002d910d62c21f9116d5e5ed174bb0555d
[ "MIT" ]
1
2020-04-02T06:12:00.000Z
2020-04-02T06:12:00.000Z
#include <cxl/aggregate.hpp> #include <type_traits> #include <iostream> struct coord2d { double x, y; }; struct coord3d { double x, y, z; }; template <typename T> void print_coord(T &&coord) { using ::std::get; auto d = cxl::destructure(::std::forward<T>(coord)); using D = decltype(d); if cons...
20.628571
75
0.540166
[ "3d" ]
7bf9f79f75becc4fdd44ee1a92ed95c52ec76d66
2,379
cpp
C++
tests/testvector.cpp
iwanbok/libPolyVox
4f5ce2725f36fbd8618a7995397cc63fb09c1ae8
[ "MIT" ]
259
2018-11-01T05:12:37.000Z
2022-03-28T11:15:27.000Z
tests/testvector.cpp
iwanbok/libPolyVox
4f5ce2725f36fbd8618a7995397cc63fb09c1ae8
[ "MIT" ]
3
2020-05-08T09:43:19.000Z
2020-06-22T03:55:32.000Z
tests/testvector.cpp
iwanbok/libPolyVox
4f5ce2725f36fbd8618a7995397cc63fb09c1ae8
[ "MIT" ]
16
2018-12-01T13:38:18.000Z
2021-12-04T21:31:55.000Z
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2015 Matthew Williams and David Williams * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to ...
30.5
145
0.686003
[ "vector" ]
7bfc68219511151d5ef4aa5ca887d306eff9c0a1
970
hpp
C++
rice/Identifier.hpp
keyme/rice
4b5e4ad3e2294a1b58886fb946eb26e3512599d9
[ "BSD-2-Clause" ]
11
2015-02-09T12:13:45.000Z
2019-11-25T01:14:31.000Z
rice/Identifier.hpp
jsomers/rice
6bbcc2dd85d010a1108a4d7ac7ece39b1c1210f5
[ "BSD-2-Clause" ]
3
2016-12-26T19:31:29.000Z
2021-04-13T12:32:58.000Z
rice/Identifier.hpp
jsomers/rice
6bbcc2dd85d010a1108a4d7ac7ece39b1c1210f5
[ "BSD-2-Clause" ]
2
2019-11-25T01:14:35.000Z
2021-09-29T04:57:36.000Z
#ifndef Rice__Identifier__hpp_ #define Rice__Identifier__hpp_ #include "detail/ruby.hpp" #include <string> namespace Rice { class Symbol; //! A wrapper for the ID type /*! An ID is ruby's internal representation of a Symbol object. */ class Identifier { public: //! Construct a new Identifier from an ID. Identi...
19.019608
63
0.694845
[ "object" ]
7bffbef58577f8cfe083afccb2b9fdbfde737070
5,795
cpp
C++
urlearning/astar/calc_dag_score.cpp
ninalu/urlearning-cpp
c4c51b0046646b45573aec1b35c1678c422b3802
[ "MIT" ]
null
null
null
urlearning/astar/calc_dag_score.cpp
ninalu/urlearning-cpp
c4c51b0046646b45573aec1b35c1678c422b3802
[ "MIT" ]
null
null
null
urlearning/astar/calc_dag_score.cpp
ninalu/urlearning-cpp
c4c51b0046646b45573aec1b35c1678c422b3802
[ "MIT" ]
1
2018-02-12T04:17:55.000Z
2018-02-12T04:17:55.000Z
#include <boost/tokenizer.hpp> #include <iostream> #include "urlearning/score_cache/score_cache.h" #include "urlearning/score_cache/best_score_calculator.h" #include "urlearning/score_cache/best_score_creator.h" #include "urlearning/base/typedefs.h" using namespace std; std::pair<float,float> get_dag_score( const cha...
32.740113
157
0.619327
[ "vector", "model", "transform" ]
d00364853963ddf0ca82586f7e00b089971d6ec0
707
cpp
C++
ex_L3_6/main.cpp
alfunx/UZH-BINF4213
a4c8468a21807e61c827b32410508566664a27c1
[ "MIT" ]
null
null
null
ex_L3_6/main.cpp
alfunx/UZH-BINF4213
a4c8468a21807e61c827b32410508566664a27c1
[ "MIT" ]
null
null
null
ex_L3_6/main.cpp
alfunx/UZH-BINF4213
a4c8468a21807e61c827b32410508566664a27c1
[ "MIT" ]
null
null
null
#include <functional> #include <iostream> using namespace std; struct foo { std::string name; foo(std::string name) : name(name) { /* void */ } void say_hello() { cout << "Hello, World! Here's " << name << "." << endl; } }; int main(int argc, char** argv) { vector<foo*> foobar; foo bar("bar"); foo baz("...
16.068182
71
0.60396
[ "vector" ]
d003d53e741b51f019912d9c0c8830f38ec00b64
9,040
cpp
C++
Framework/LanguageSupport/thrift/gen-cpp/register_types.cpp
FG-92/MOSIM_Core
abc32fd0d2213859b11b6d41193d5d7f760e4104
[ "MIT" ]
19
2020-11-30T09:29:11.000Z
2021-12-10T06:10:11.000Z
Framework/LanguageSupport/thrift/gen-cpp/register_types.cpp
FG-92/MOSIM_Core
abc32fd0d2213859b11b6d41193d5d7f760e4104
[ "MIT" ]
null
null
null
Framework/LanguageSupport/thrift/gen-cpp/register_types.cpp
FG-92/MOSIM_Core
abc32fd0d2213859b11b6d41193d5d7f760e4104
[ "MIT" ]
6
2021-01-20T01:46:37.000Z
2021-09-28T10:22:14.000Z
/** * Autogenerated by Thrift Compiler (0.13.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "register_types.h" #include <algorithm> #include <ostream> #include <thrift/TToString.h> namespace MMIStandard { MAdapterDescription::~MAdapterDescription() noexcept {...
31.280277
159
0.610066
[ "vector" ]
d00507840901f5f2f8c76e827d588dfb77445563
2,534
cpp
C++
bindings/python/smirks.cpp
timvdm/Helium
79db85da43f20606710263f800deac52534d437e
[ "BSD-3-Clause" ]
13
2015-02-04T17:02:25.000Z
2018-04-25T22:48:52.000Z
bindings/python/smirks.cpp
timvdm/Helium
79db85da43f20606710263f800deac52534d437e
[ "BSD-3-Clause" ]
null
null
null
bindings/python/smirks.cpp
timvdm/Helium
79db85da43f20606710263f800deac52534d437e
[ "BSD-3-Clause" ]
4
2015-11-27T06:19:40.000Z
2021-04-20T17:35:41.000Z
#include <boost/python.hpp> #include "../../src/chemist/molecule.h" #include "../../src/smirks.h" using Helium::Chemist::Molecule; using namespace boost::python; bool init_1(Helium::Smirks &SMIRKS, const std::string &smirks) { return SMIRKS.init(smirks); } bool init_2(Helium::Smirks &SMIRKS, const std::stri...
28.47191
152
0.691397
[ "vector" ]
d0124c6316c40d73c00501a53eee62aab0511898
1,559
cpp
C++
test/TestObjectWrite.cpp
cajun-jsonapi/cajun-jsonapi
8a26ad3a1724760836f4feffb2ed4d3eaa491071
[ "BSD-3-Clause" ]
16
2015-02-13T08:56:47.000Z
2021-02-18T12:33:27.000Z
test/TestObjectWrite.cpp
cajun-jsonapi/cajun-jsonapi
8a26ad3a1724760836f4feffb2ed4d3eaa491071
[ "BSD-3-Clause" ]
15
2015-03-27T21:14:42.000Z
2021-06-22T13:04:13.000Z
test/TestObjectWrite.cpp
cajun-jsonapi/cajun-jsonapi
8a26ad3a1724760836f4feffb2ed4d3eaa491071
[ "BSD-3-Clause" ]
8
2015-05-19T08:06:12.000Z
2020-03-08T03:47:48.000Z
#include "json/writer.h" #include "WriteFixture.h" #include "JsonOps.h" #include <boost/test/unit_test.hpp> class ObjectWriteFixture : public WriteFixture { public: virtual void ObjPack() { root = o; RunPack(); } json::Object o; }; BOOST_AUTO_TEST_SUITE(ObjectWrite) BOOS...
21.957746
116
0.601026
[ "object" ]
d019f45f0eaa6b76bab266bf6cc6e9c890a63cb8
1,600
cpp
C++
aws-cpp-sdk-dms/source/model/DescribeApplicableIndividualAssessmentsResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-dms/source/model/DescribeApplicableIndividualAssessmentsResult.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-dms/source/model/DescribeApplicableIndividualAssessmentsResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/dms/model/DescribeApplicableIndividualAssessmentsResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUti...
32
166
0.803125
[ "model" ]
d01d11589246e18ad74bafb494d74d0c68b0a8a9
3,249
cc
C++
examples/pxScene2d/external/libnode-v10.15.3/deps/v8/src/runtime/runtime-operators.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
5,964
2016-09-27T03:46:29.000Z
2022-03-31T16:25:27.000Z
examples/pxScene2d/external/libnode-v10.15.3/deps/v8/src/runtime/runtime-operators.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/libnode-v10.15.3/deps/v8/src/runtime/runtime-operators.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.000Z
// Copyright 2014 the V8 project 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 "src/arguments.h" #include "src/isolate-inl.h" #include "src/runtime/runtime-utils.h" namespace v8 { namespace internal { RUNTIME_FUNCTION(Ru...
32.818182
73
0.731918
[ "object" ]
d02204a711708e2e5c2c9a57f76dbdc9c3767dbc
15,402
cpp
C++
obelus/hack/features/visuals/visuals.cpp
monthyx1337/obelus-hack
8e83eb89ef56788c1b9c5af66b815824d17f309d
[ "MIT" ]
36
2021-07-08T01:30:44.000Z
2022-03-25T13:16:59.000Z
obelus/hack/features/visuals/visuals.cpp
monthyx1337/obelus-hack
8e83eb89ef56788c1b9c5af66b815824d17f309d
[ "MIT" ]
2
2021-09-11T05:11:55.000Z
2022-01-28T07:49:39.000Z
obelus/hack/features/visuals/visuals.cpp
monthyx1337/obelus-hack
8e83eb89ef56788c1b9c5af66b815824d17f309d
[ "MIT" ]
14
2021-07-08T00:11:12.000Z
2022-03-20T11:10:17.000Z
#include "../features.hpp" void visuals::world::Run() { for (auto entity : entity_cache::Groups[CGroupType::WORLD_ALL]) { if (!entity) continue; // player esp. visuals::world::ESP(entity); // planted bomb esp. visuals::world::PlantedBomb(entity); } // big flashlight. visuals::RunFlashlight(); //...
29.170455
225
0.658486
[ "render", "vector", "model", "transform" ]
d029d1105385266bb65aa4f9aedf3c8f3aee854d
613
hpp
C++
code/source/physics/joint_weld.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/physics/joint_weld.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/physics/joint_weld.hpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
#ifndef CLOVER_PHYSICS_JOINT_WELD_HPP #define CLOVER_PHYSICS_JOINT_WELD_HPP #include "b2_joint.hpp" #include "build.hpp" #include "util/traits.hpp" namespace clover { namespace physics { class Object; class ENGINE_API WeldJoint : public B2Joint<b2WeldJointDef, b2WeldJoint> , public JointTypeCrtp<WeldJoint, J...
18.029412
72
0.735726
[ "object" ]
d032523b235b4cbeb02852f2d4f59d57fea60249
1,974
cpp
C++
examples/vtk/vtk_omni_example.cpp
AlloSphere-Research-Group/AlloSystem
646bac1232d230f61dbdaaef38327de1a244b43f
[ "BSD-3-Clause" ]
51
2015-02-16T02:36:27.000Z
2021-08-30T07:22:43.000Z
examples/vtk/vtk_omni_example.cpp
AlloSphere-Research-Group/AlloSystem
646bac1232d230f61dbdaaef38327de1a244b43f
[ "BSD-3-Clause" ]
18
2015-01-24T12:52:46.000Z
2018-03-19T23:43:27.000Z
examples/vtk/vtk_omni_example.cpp
AlloSphere-Research-Group/AlloSystem
646bac1232d230f61dbdaaef38327de1a244b43f
[ "BSD-3-Clause" ]
23
2015-01-29T17:44:02.000Z
2019-09-22T09:04:33.000Z
#include "alloutil/al_OmniApp.hpp" // VTK includes #include <ExternalVTKWidget.h> #include <vtkActor.h> #include <vtkCallbackCommand.h> #include <vtkCamera.h> #include <vtkCubeSource.h> #include <vtkExternalOpenGLRenderWindow.h> #include <vtkLight.h> #include <vtkNew.h> #include <vtkPolyDataMapper.h> using namespac...
23.223529
72
0.64691
[ "mesh", "render" ]
d037cb3be3b8bf3841a8a9ee5dfcc365cf25aeaa
82,395
cpp
C++
libs/MultilevelCoupling.cpp
khurrumsaleem/QuasiMolto
02485438a6b58a0210eb0b2da3db8a7a37b57bb9
[ "BSD-3-Clause" ]
null
null
null
libs/MultilevelCoupling.cpp
khurrumsaleem/QuasiMolto
02485438a6b58a0210eb0b2da3db8a7a37b57bb9
[ "BSD-3-Clause" ]
null
null
null
libs/MultilevelCoupling.cpp
khurrumsaleem/QuasiMolto
02485438a6b58a0210eb0b2da3db8a7a37b57bb9
[ "BSD-3-Clause" ]
null
null
null
// File: MultilevelCoupling.cpp // Purpose: Solve a coupled MGT, MGQD, MPQD problem. // Date: May 27, 2020 #include "MultilevelCoupling.h" using namespace std; //============================================================================== /// MultilevelCoupling class object constructor /// /// @param [in] my...
33.521155
120
0.606797
[ "mesh", "object", "vector" ]
d03b6372750e989cc3052010db27254da8661a0c
7,157
cpp
C++
sandbox/libv_frame_main.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
sandbox/libv_frame_main.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
sandbox/libv_frame_main.cpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.frame, File: sandbox/libv_frame_main.cpp, Author: Császár Mátyás [Vader] // libv #include <libv/input/event.hpp> #include <libv/input/input.hpp> // std #include <cmath> #include <iostream> #include <thread> // pro #include <libv/frame/frame.hpp> #include <libv/frame/icon.hpp> #include <libv/frame/log....
32.531818
223
0.66676
[ "vector" ]
d042ce69dfdb0079943a6a0edabc5977f7bb4ae2
5,251
hpp
C++
Utilities/FileOperations.hpp
a-lain/Rocket-End-Burning-Simulator
9988d4cb9ab1dacb1a28d40c544cc8d989ab9ad5
[ "Apache-2.0" ]
null
null
null
Utilities/FileOperations.hpp
a-lain/Rocket-End-Burning-Simulator
9988d4cb9ab1dacb1a28d40c544cc8d989ab9ad5
[ "Apache-2.0" ]
null
null
null
Utilities/FileOperations.hpp
a-lain/Rocket-End-Burning-Simulator
9988d4cb9ab1dacb1a28d40c544cc8d989ab9ad5
[ "Apache-2.0" ]
null
null
null
#ifndef FILE_OPERATIONS_HPP #define FILE_OPERATIONS_HPP #include <complex> #include <vector> #include <cstdio> #include <string> template <class T> void inline read_from_file(T& object, FILE* file) { object.read_from_file(file); } void inline read_from_file(char& val, FILE* file) { fread(&val, sizeof(char), ...
21.698347
72
0.664064
[ "object", "vector" ]
d046097c57a518fb0dbe3bf061d0d8649fc00c7a
7,912
cpp
C++
Quine McCluskey Simplifier/PMFunctions.cpp
Andrew-Miner/QuineMcCluskeySolver
072550a4519f4ba65c5bd3212e7fc5e8e70841e4
[ "MIT" ]
2
2020-04-17T17:47:55.000Z
2021-07-19T21:03:34.000Z
Quine McCluskey Simplifier/PMFunctions.cpp
Andrew-Miner/QuineMcCluskeySolver
072550a4519f4ba65c5bd3212e7fc5e8e70841e4
[ "MIT" ]
null
null
null
Quine McCluskey Simplifier/PMFunctions.cpp
Andrew-Miner/QuineMcCluskeySolver
072550a4519f4ba65c5bd3212e7fc5e8e70841e4
[ "MIT" ]
1
2021-04-29T12:07:35.000Z
2021-04-29T12:07:35.000Z
// // PMFunctions.cpp // Quine McCluskey Simplifier // // Created by Andrew Miner on 6/25/18. // Copyright © 2018 Andrew Miner. All rights reserved. // #include "PMFunctions.hpp" #include <iomanip> namespace PM { bool lessThanQMVec(const QMVec& i, const QMVec& j) { return i.size() < j.size(); ...
28.666667
107
0.467644
[ "vector" ]
d0484e76ef62eff0f1d9a49848a32559b2a83115
10,767
cpp
C++
utils/test_depth_projection.cpp
NehilDanis/shape_registration
b328f6a4d4dd9f42cb8babe4f8c737b451f669ce
[ "MIT" ]
null
null
null
utils/test_depth_projection.cpp
NehilDanis/shape_registration
b328f6a4d4dd9f42cb8babe4f8c737b451f669ce
[ "MIT" ]
null
null
null
utils/test_depth_projection.cpp
NehilDanis/shape_registration
b328f6a4d4dd9f42cb8babe4f8c737b451f669ce
[ "MIT" ]
null
null
null
/******************************************************************* * ROS RELATED *******************************************************************/ #include <ros/ros.h> #include <sensor_msgs/Image.h> #include <sensor_msgs/PointCloud2.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #...
33.858491
177
0.617164
[ "vector" ]
d04d43b0eb3e95d91ead9c1bbf9e69d8ffbbdae6
7,208
cpp
C++
src/talker.cpp
sbrahma0/beginner_tutorials
ca757dc6d04af18aad3d01a3d476c59f3e7ec38e
[ "MIT" ]
null
null
null
src/talker.cpp
sbrahma0/beginner_tutorials
ca757dc6d04af18aad3d01a3d476c59f3e7ec38e
[ "MIT" ]
null
null
null
src/talker.cpp
sbrahma0/beginner_tutorials
ca757dc6d04af18aad3d01a3d476c59f3e7ec38e
[ "MIT" ]
null
null
null
/** * MIT License * * Copyright (c) 2019 Sayan Brahma * * 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, mo...
33.21659
86
0.684656
[ "object", "vector", "transform" ]