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
e22d80c8ab47cc91e0a05d3d5d5518ac220b857b
5,738
cpp
C++
sdk/Windows/SMXDeviceSearch.cpp
steprevolution/stepmaniax-sdk
60e84d3f80d36bf195aedd20335173022d678ca2
[ "MIT" ]
33
2017-12-31T17:50:09.000Z
2022-03-10T01:21:56.000Z
sdk/Windows/SMXDeviceSearch.cpp
steprevolution/stepmaniax-sdk
60e84d3f80d36bf195aedd20335173022d678ca2
[ "MIT" ]
2
2021-02-16T03:15:01.000Z
2021-04-21T01:56:23.000Z
sdk/Windows/SMXDeviceSearch.cpp
steprevolution/stepmaniax-sdk
60e84d3f80d36bf195aedd20335173022d678ca2
[ "MIT" ]
5
2018-01-11T17:18:08.000Z
2020-07-06T07:32:50.000Z
#include "SMXDeviceSearch.h" #include "SMXDeviceConnection.h" #include "Helpers.h" #include <string> #include <memory> #include <set> using namespace std; using namespace SMX; #include <hidsdi.h> #include <SetupAPI.h> // Return all USB HID device paths. This doesn't open the device to filter just our devices. stat...
32.788571
138
0.671314
[ "vector" ]
e2310b8a406c36b7a109678f793493cf09fd3639
9,391
cpp
C++
label_manager/src/manager.cpp
yunzc/mesh_tools
480d41ac033db2de820e24b92177f38242cb18d9
[ "BSD-3-Clause" ]
61
2018-09-30T15:31:16.000Z
2022-03-30T12:40:31.000Z
label_manager/src/manager.cpp
yunzc/mesh_tools
480d41ac033db2de820e24b92177f38242cb18d9
[ "BSD-3-Clause" ]
12
2018-10-02T07:16:53.000Z
2022-02-28T17:52:57.000Z
label_manager/src/manager.cpp
yunzc/mesh_tools
480d41ac033db2de820e24b92177f38242cb18d9
[ "BSD-3-Clause" ]
21
2018-10-01T19:07:30.000Z
2022-02-28T06:09:13.000Z
#include "label_manager/manager.h" #include <algorithm> #include <fstream> #include <boost/filesystem.hpp> #include <boost/algorithm/string/replace.hpp> #include "mesh_msgs/MeshFaceCluster.h" using namespace boost::filesystem; namespace label_manager { LabelManager::LabelManager(ros::NodeHandle& nodeHandle) : ...
30.099359
106
0.532638
[ "mesh", "vector" ]
e2342b868f34bc8ec30afa09b568cf50035fd490
2,325
cpp
C++
src/main.cpp
mircea-catana/softwarerenderer
f92714920c79555d28c9752b48ad0cd6577aa397
[ "MIT" ]
null
null
null
src/main.cpp
mircea-catana/softwarerenderer
f92714920c79555d28c9752b48ad0cd6577aa397
[ "MIT" ]
null
null
null
src/main.cpp
mircea-catana/softwarerenderer
f92714920c79555d28c9752b48ad0cd6577aa397
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <memory> #include "aabb.h" #include "camera.h" #include "framebuffer.h" #include "image.h" #include "mesh.h" #include "rasterizer.h" #include "triangle.h" #include "vertex.h" #include <glm/gtc/matrix_transform.hpp> static const float kWidth = 1920.0f; static const floa...
32.746479
88
0.534624
[ "mesh", "render", "vector", "model" ]
e234face69ee593dcee0e1962de98ea8ff6e3bfc
11,749
cpp
C++
src_builder/WallBreakerOperator.cpp
Henauxg/KDRender-fork
e289b073e873b61f870c365e84b1ecb84c97dade
[ "BSD-3-Clause" ]
null
null
null
src_builder/WallBreakerOperator.cpp
Henauxg/KDRender-fork
e289b073e873b61f870c365e84b1ecb84c97dade
[ "BSD-3-Clause" ]
null
null
null
src_builder/WallBreakerOperator.cpp
Henauxg/KDRender-fork
e289b073e873b61f870c365e84b1ecb84c97dade
[ "BSD-3-Clause" ]
null
null
null
#include "WallBreakerOperator.h" #include "SectorInclusionOperator.h" #include <algorithm> WallBreakerOperator::WallBreakerOperator(const SectorInclusions &iSectorInclusions, std::vector<KDBData::Sector> &iSectors) : m_SectorInclusions(iSectorInclusions), m_Sectors(iSectors) { } WallBreakerOperator::~WallBr...
37.18038
147
0.610009
[ "vector" ]
e242d87a9782444509a97d6a4be96c44c033ca9c
475
cpp
C++
_includes/leet213/leet213.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
_includes/leet213/leet213.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
8
2019-12-19T04:46:05.000Z
2022-02-26T03:45:22.000Z
_includes/leet213/leet213.cpp
mingdaz/leetcode
64f2e5ad0f0446d307e23e33a480bad5c9e51517
[ "MIT" ]
null
null
null
class Solution { public: int rob(vector<int>& nums) { int n = nums.size(); if(n == 0) return 0; if(n ==1) return nums[0]; return max(robber(nums, 0, n-2), robber(nums, 1, n-1)); } int robber(vector<int>&nums, int begin, int end){ int pre = 0, cur = 0; for(int ...
26.388889
63
0.454737
[ "vector" ]
e2437b488ae398e8c9be48045f11de59396e01f0
965
cpp
C++
VideoRepository.cpp
chrismarquez/movieDb
d2ae85a2450b9fd422fdcd74985fb8d91227da0c
[ "MIT" ]
null
null
null
VideoRepository.cpp
chrismarquez/movieDb
d2ae85a2450b9fd422fdcd74985fb8d91227da0c
[ "MIT" ]
null
null
null
VideoRepository.cpp
chrismarquez/movieDb
d2ae85a2450b9fd422fdcd74985fb8d91227da0c
[ "MIT" ]
1
2020-06-12T19:43:37.000Z
2020-06-12T19:43:37.000Z
// // Created by christopher on 12/06/20. // #include "VideoRepository.h" #include "NotFoundException.h" VideoRepository::VideoRepository() { movies = vector<IVideo>{}; series = vector<IVideo>{}; } void VideoRepository::loadVideos(string file) { } IVideo& VideoRepository::getVideo(string id) const { th...
22.44186
70
0.707772
[ "vector" ]
f47205a4faa6196015027531dffbbf137e29f17c
9,522
cpp
C++
src/ViewController3D.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
src/ViewController3D.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
src/ViewController3D.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
/** @file ViewController3D.cpp Copyright 2016 Computational Topology Group, University of Kaiserslautern 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/licen...
26.523677
127
0.479836
[ "transform" ]
f47640dc3374eea4be071de81c7ce0742ecfef7b
8,150
cc
C++
test/conti_memory_test_helper.cc
cakebytheoceanLuo/Data_Blocks
72ba7e352118ca25f4d0cb5d07853e4e0976e07e
[ "MIT" ]
4
2021-01-12T07:39:49.000Z
2021-07-29T05:55:36.000Z
test/conti_memory_test_helper.cc
cakebytheoceanLuo/Data_Blocks
72ba7e352118ca25f4d0cb5d07853e4e0976e07e
[ "MIT" ]
null
null
null
test/conti_memory_test_helper.cc
cakebytheoceanLuo/Data_Blocks
72ba7e352118ca25f4d0cb5d07853e4e0976e07e
[ "MIT" ]
1
2021-04-12T00:17:41.000Z
2021-04-12T00:17:41.000Z
// --------------------------------------------------------------------------- // IMLAB // --------------------------------------------------------------------------- #include <math.h> #include <gtest/gtest.h> #include <vector> #include <cstdlib> #include <iostream> #include <ctime> #include <tuple> #include <map> #inc...
45.027624
156
0.584417
[ "vector" ]
f477dcd300eb5c6b4fb4e5803d1ee24dc06e2cb6
1,336
cpp
C++
src/QRDetector.cpp
alten-labs/object_detection_ros
0de313d215a1c253e4343928fb51db79b5581e29
[ "MIT" ]
null
null
null
src/QRDetector.cpp
alten-labs/object_detection_ros
0de313d215a1c253e4343928fb51db79b5581e29
[ "MIT" ]
null
null
null
src/QRDetector.cpp
alten-labs/object_detection_ros
0de313d215a1c253e4343928fb51db79b5581e29
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <opencv2/opencv.hpp> #include <zbar.h> #include "QRDetector.h" using namespace std; using namespace cv; using namespace zbar; void ZBarDetector::detectAndDecodeMulti(Mat& im, vector<string>& data, Mat& bbox) { ImageScanner scanner; scanner.set_config(ZBAR_NONE, ZBAR_CFG...
23.438596
98
0.708832
[ "vector" ]
f47f56622c175b7cc308e604488f7d587dd45a79
14,465
hpp
C++
src/model_pool.hpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
203
2019-04-26T10:52:22.000Z
2022-03-15T17:42:44.000Z
src/model_pool.hpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
90
2018-11-23T09:07:05.000Z
2019-04-13T10:44:03.000Z
src/model_pool.hpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
14
2019-06-19T00:52:00.000Z
2021-02-19T13:44:01.000Z
/*! * Copyright 2019 Breda University of Applied Sciences and Team Wisp (Viktor Zoutman, Emilio Laiso, Jens Hagen, Meine Zeinstra, Tahar Meijs, Koen Buitenhuis, Niels Brunekreef, Darius Bouma, Florian Schut) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
31.107527
209
0.720913
[ "mesh", "vector", "model" ]
f4861e1c033b45550ca13c3170e9c525547faa5d
12,972
cpp
C++
libcgmf/src/setup.cpp
moatazharb/CGMF
802a370c03003982ebfad47591f0007b82214ef5
[ "BSD-3-Clause" ]
11
2021-01-15T15:49:56.000Z
2022-03-30T21:30:34.000Z
libcgmf/src/setup.cpp
moatazharb/CGMF
802a370c03003982ebfad47591f0007b82214ef5
[ "BSD-3-Clause" ]
1
2021-04-29T20:40:19.000Z
2021-04-29T21:18:26.000Z
libcgmf/src/setup.cpp
moatazharb/CGMF
802a370c03003982ebfad47591f0007b82214ef5
[ "BSD-3-Clause" ]
5
2020-11-02T16:00:50.000Z
2022-03-29T18:49:47.000Z
/*------------------------------------------------------------------------------ CGMF-1.1 Copyright TRIAD/LANL/DOE - see file LICENSE For any questions about CGMF, please contact us at cgmf-help@lanl.gov -------------------------------------------------------------------------------*/ /*! @file setup.cpp \bri...
28.762749
93
0.494681
[ "mesh" ]
f49327b5aff4ce1df1fc2256b033964629712f75
150,542
cc
C++
xic/src/extract/ext_duality.cc
bernardventer/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
3
2020-01-26T14:18:52.000Z
2020-12-09T20:07:22.000Z
xic/src/extract/ext_duality.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
null
null
null
xic/src/extract/ext_duality.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
2
2020-01-26T14:19:02.000Z
2021-08-14T16:33:28.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
33.239567
80
0.463718
[ "object", "3d" ]
f4a77d36b732c5f2eaaabc3401bdeba3113f9da0
2,085
cpp
C++
src/dray/utils/mpi_utils.cpp
LLNL/devil_ray
6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
14
2019-12-17T17:40:32.000Z
2021-12-13T20:32:32.000Z
src/dray/utils/mpi_utils.cpp
LLNL/devil_ray
6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
72
2019-12-21T16:55:38.000Z
2022-03-22T20:40:13.000Z
src/dray/utils/mpi_utils.cpp
LLNL/devil_ray
6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
3
2020-02-21T18:06:57.000Z
2021-12-03T18:39:48.000Z
// Copyright 2019 Lawrence Livermore National Security, LLC and other // Devil Ray Developers. See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// #include <dray/utils/mpi_utils.hpp> #include <dray/dr...
21.27551
79
0.61199
[ "vector" ]
f4ab22004f60c9dbe8cd7c771d50b03202727010
9,899
cpp
C++
lhcb/cmtuser/DaVinci_v36r5/Phys/DiLeptonTuple/src/TupleToolAllParticles.cpp
ibab/lhcb-b2dmumu
c1334c381032af9459602640e17541377fd16606
[ "MIT" ]
3
2019-06-24T10:56:34.000Z
2019-06-24T10:57:11.000Z
lhcb/cmtuser/DaVinci_v36r5/Phys/DiLeptonTuple/src/TupleToolAllParticles.cpp
ibab/lhcb-b2dmumu
c1334c381032af9459602640e17541377fd16606
[ "MIT" ]
null
null
null
lhcb/cmtuser/DaVinci_v36r5/Phys/DiLeptonTuple/src/TupleToolAllParticles.cpp
ibab/lhcb-b2dmumu
c1334c381032af9459602640e17541377fd16606
[ "MIT" ]
null
null
null
// $Id: TupleToolAllParticles.cpp,v 1.6 2010-09-09 12:22:42 pkoppenb Exp $ // Include files // from Gaudi #include "GaudiKernel/ToolFactory.h" #include "Event/Track.h" #include "Event/RecSummary.h" #include "Event/VertexBase.h" #include "Event/RecVertex.h" #include "Kernel/DefaultDVToolTypes.h" // local #include "Tup...
43.416667
117
0.581372
[ "vector" ]
f4ab49c3d721460ed10a0d3e76a1f5ea9d50d50e
2,385
cpp
C++
src/common/Jay.cpp
AzariasB/MultiPlayerPong
4b9af38198945b31b05ca83acadccef333e32284
[ "MIT" ]
null
null
null
src/common/Jay.cpp
AzariasB/MultiPlayerPong
4b9af38198945b31b05ca83acadccef333e32284
[ "MIT" ]
null
null
null
src/common/Jay.cpp
AzariasB/MultiPlayerPong
4b9af38198945b31b05ca83acadccef333e32284
[ "MIT" ]
null
null
null
/* * The MIT License * * Copyright 2017-2019 azarias. * * 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...
26.5
112
0.71153
[ "shape" ]
f4aecfe52da2ac927d431b417d77ff1e979fd630
1,048
cpp
C++
leetcode/2020/july/practice/longestCommonSubstring.cpp
pol-alok/Solvify
c0f3913420a4a3a3faa34848038a3cc942628b08
[ "MIT" ]
null
null
null
leetcode/2020/july/practice/longestCommonSubstring.cpp
pol-alok/Solvify
c0f3913420a4a3a3faa34848038a3cc942628b08
[ "MIT" ]
null
null
null
leetcode/2020/july/practice/longestCommonSubstring.cpp
pol-alok/Solvify
c0f3913420a4a3a3faa34848038a3cc942628b08
[ "MIT" ]
2
2021-02-23T06:54:22.000Z
2021-02-28T15:37:23.000Z
#include <iostream> #include <vector> #include <regex> using namespace std; int longest_common_substring_len(string s1, string s2) { //brute force approach int max = 0; string res; for(int i=1; i<s2.length(); i++) { for(int j=0; j<s2.length()-i+1; j++) { string sub_s = s2.substr(j,...
28.324324
105
0.494275
[ "vector" ]
f4ccf1e9a2ac43fddbe4230ab067b46fd4b97cbf
22,457
cpp
C++
source/3ds/imgui_citro3d.cpp
LegitMagic/HomeEditApp
45d1dc9c08cfbb60e14a5bbbc94031c05a57c591
[ "MIT" ]
null
null
null
source/3ds/imgui_citro3d.cpp
LegitMagic/HomeEditApp
45d1dc9c08cfbb60e14a5bbbc94031c05a57c591
[ "MIT" ]
null
null
null
source/3ds/imgui_citro3d.cpp
LegitMagic/HomeEditApp
45d1dc9c08cfbb60e14a5bbbc94031c05a57c591
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (C) 2020 Michael Theall // // 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, ...
30.847527
97
0.659126
[ "render", "vector" ]
f4d59c11068467f8d781e20470db2f58f831af85
371
hpp
C++
src/vm/vm.hpp
dead-tech/dead-lang
993b6b0143b9f4e987243a577e2fb7230c7b0c8e
[ "MIT" ]
null
null
null
src/vm/vm.hpp
dead-tech/dead-lang
993b6b0143b9f4e987243a577e2fb7230c7b0c8e
[ "MIT" ]
4
2021-08-28T09:34:25.000Z
2021-08-30T09:22:16.000Z
src/vm/vm.hpp
dead-tech/dead-lang
993b6b0143b9f4e987243a577e2fb7230c7b0c8e
[ "MIT" ]
null
null
null
#ifndef VM_HPP #define VM_HPP #include "parser.hpp" #include <any> #include <filesystem> namespace vm { using Label = std::vector<std::string>; using VarMap = std::unordered_map<std::string, std::any>; class Vm { public: [[noreturn]] void run(const char *file_path); private: VmSt...
16.863636
61
0.633423
[ "vector" ]
f4def89936ad4a387aea9e5b4d32a62157da201c
2,046
cpp
C++
learningCpp/lasers.cpp
mcshen99/learningCpp
6251ae0645a01b15a8fa560b010f5a323943b10d
[ "MIT" ]
null
null
null
learningCpp/lasers.cpp
mcshen99/learningCpp
6251ae0645a01b15a8fa560b010f5a323943b10d
[ "MIT" ]
null
null
null
learningCpp/lasers.cpp
mcshen99/learningCpp
6251ae0645a01b15a8fa560b010f5a323943b10d
[ "MIT" ]
null
null
null
/* ID: mcshen99 LANG: JAVA TASK: lasers */ #include <fstream> #include <queue> #include <list> #include <vector> using namespace std; const int infinity = 1000000; int main() { ifstream f("lasers.in"); ofstream out("lasers.out"); int N; f >> N; int fences[100002][2]; //0 is the laser, N + 1 is the barn ...
22.988764
84
0.526393
[ "vector" ]
f4e6e60c79a4cf7bd800a3c04f2a13c65d18e272
14,983
cpp
C++
third_party/reluplex_model_checking/bmc.cpp
95616ARG/SyReNN
19abf589e84ee67317134573054c648bb25c244d
[ "MIT" ]
36
2019-08-19T06:17:52.000Z
2022-03-11T09:02:40.000Z
third_party/reluplex_model_checking/bmc.cpp
95616ARG/SyReNN
19abf589e84ee67317134573054c648bb25c244d
[ "MIT" ]
8
2020-04-09T20:59:04.000Z
2022-03-11T23:56:50.000Z
third_party/reluplex_model_checking/bmc.cpp
95616ARG/SyReNN
19abf589e84ee67317134573054c648bb25c244d
[ "MIT" ]
4
2021-01-13T11:17:55.000Z
2021-06-28T19:36:04.000Z
/********************* */ /*! \file main.cpp ** \verbatim ** Top contributors (to current version): ** Guy Katz ** This file is part of the Reluplex project. ** Copyright (c) 2016-2017 by the authors listed in the file AUTHORS ** (in the top-level source director...
37.271144
129
0.531202
[ "vector" ]
f4e74e855e3874f604c4a4e1e68d0cd7831532d3
5,105
cpp
C++
blast/src/objects/genomecoll/cached_assembly.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/objects/genomecoll/cached_assembly.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/objects/genomecoll/cached_assembly.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* $Id * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright...
34.261745
113
0.656219
[ "vector" ]
f4ebd95f3ee7f798b4189aba7ffd2e74e6311e04
3,747
cc
C++
chrome/browser/component_updater/recovery_improved_component_installer.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/component_updater/recovery_improved_component_installer.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/component_updater/recovery_improved_component_installer.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017 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/component_updater/recovery_improved_component_installer.h" #include <iterator> #include <utility> #include "base/callback.h...
34.694444
83
0.768615
[ "vector" ]
f4f40b8762e6682e621ab1b783351f9f4ec8b991
4,012
cpp
C++
src/net/EventLoop.cpp
Maltliquor/HttpServer
b05825752d96e5a7331be30db7587478db9b3124
[ "MIT" ]
null
null
null
src/net/EventLoop.cpp
Maltliquor/HttpServer
b05825752d96e5a7331be30db7587478db9b3124
[ "MIT" ]
null
null
null
src/net/EventLoop.cpp
Maltliquor/HttpServer
b05825752d96e5a7331be30db7587478db9b3124
[ "MIT" ]
null
null
null
#include <sys/epoll.h> #include <sys/eventfd.h> #include <iostream> #include <algorithm> #include <signal.h> #include <unistd.h> #include "src/net/EventLoop.h" #include "src/net/Channel.h" #include "src/net/SocketOp.h" #include "src/net/EpollPoller.h" using namespace std; using namespace serverlib; co...
23.880952
105
0.666002
[ "object", "vector" ]
f4f6955da8496f0184be4f8d14a96b9cc77f0179
55,414
cpp
C++
src/Technosoftware/Server/Da/DaGenericGroup.cpp
AkatorMr/opc-daae-server
7d56e4603064b53476d3c0971a4d873066fba65f
[ "Info-ZIP" ]
null
null
null
src/Technosoftware/Server/Da/DaGenericGroup.cpp
AkatorMr/opc-daae-server
7d56e4603064b53476d3c0971a4d873066fba65f
[ "Info-ZIP" ]
null
null
null
src/Technosoftware/Server/Da/DaGenericGroup.cpp
AkatorMr/opc-daae-server
7d56e4603064b53476d3c0971a4d873066fba65f
[ "Info-ZIP" ]
1
2021-04-15T01:08:29.000Z
2021-04-15T01:08:29.000Z
/* * Copyright (c) 2020 Technosoftware GmbH. All rights reserved * Web: https://technosoftware.com * * The source code in this file is covered under a dual-license scenario: * - Owner of a purchased license: SCLA 1.0 * - GPL V3: everybody else * * SCLA license terms accompanied with this source code. * S...
30.116304
110
0.552514
[ "object" ]
f4f96c329d29cb09a5339c7fd547db173d4e3aa6
2,178
cpp
C++
Team01/Game/Project/EnemyBullet.cpp
OiCGame/GameJam03
535fff1e39a3c509c4104029bd40386c5d8b4a69
[ "MIT" ]
null
null
null
Team01/Game/Project/EnemyBullet.cpp
OiCGame/GameJam03
535fff1e39a3c509c4104029bd40386c5d8b4a69
[ "MIT" ]
null
null
null
Team01/Game/Project/EnemyBullet.cpp
OiCGame/GameJam03
535fff1e39a3c509c4104029bd40386c5d8b4a69
[ "MIT" ]
1
2021-02-01T02:48:17.000Z
2021-02-01T02:48:17.000Z
#include "EnemyBullet.h" CEnemyBullet::CEnemyBullet() : m_Pos(0.0f, 0.0f), m_Move(0.0f, 0.0f), m_Radius(6.0f), m_Speed(3.0f), m_Dir(0.0f), m_ReflectionCount(2), m_PopDirCnt(8), m_PopLen(0), m_PopRad(4), m_bDraw(false) { } CEnemyBullet::~CEnemyBullet() { } void CEnemyBullet::Initialize(float dir, int refle...
19.8
107
0.633609
[ "render" ]
f4f971f77f03185c85c770b8e20555b08dacabec
58,500
cpp
C++
Analysis/Image/deInterlace.cpp
konradotto/TS
bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e
[ "Apache-2.0" ]
125
2015-01-22T05:43:23.000Z
2022-03-22T17:15:59.000Z
Analysis/Image/deInterlace.cpp
konradotto/TS
bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e
[ "Apache-2.0" ]
59
2015-02-10T09:13:06.000Z
2021-11-11T02:32:38.000Z
Analysis/Image/deInterlace.cpp
konradotto/TS
bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e
[ "Apache-2.0" ]
98
2015-01-17T01:25:10.000Z
2022-03-18T17:29:42.000Z
/* Copyright (C) 2010 Ion Torrent Systems, Inc. All Rights Reserved */ /* * deInterlace.c * * Created on: Apr 1, 2010 * Author: Mark Beauchemin */ #undef UNICODE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <memory.h> #ifndef WIN32 #include <pthread.h> #include <sy...
29.953917
204
0.531043
[ "object" ]
76005f856889ecfcbdb31fb3c00c4a10f7c73e25
11,518
cpp
C++
main.cpp
Mar94oK/otuscpp-hw-1-ipfilter
1efb206ca245d85a875159f1c44ea001eb87c47a
[ "MIT" ]
null
null
null
main.cpp
Mar94oK/otuscpp-hw-1-ipfilter
1efb206ca245d85a875159f1c44ea001eb87c47a
[ "MIT" ]
null
null
null
main.cpp
Mar94oK/otuscpp-hw-1-ipfilter
1efb206ca245d85a875159f1c44ea001eb87c47a
[ "MIT" ]
null
null
null
#include <cassert> #include <cstdlib> #include <iostream> #include <string> #include <vector> #include <cstring> #include <algorithm> #include <cmath> #include <version.h> #include <BuildNumber.h> using namespace MyHomework; // ("", '.') -> [""] // ("11", '.') -> ["11"] // ("..", '.') -> ["", "", ""] // ("11.", '.'...
22.584314
160
0.631099
[ "vector" ]
7604e287d2074aa3857079fa46ec1464b62be689
1,150
hpp
C++
libraries/model/private/AssimpModelLoader.hpp
jcelerier/scop_vulkan
9b91c0ccd5027c9641ccacfb5043bb1bc2f51ad0
[ "MIT" ]
132
2021-04-04T21:19:46.000Z
2022-03-13T13:47:00.000Z
libraries/model/private/AssimpModelLoader.hpp
jcelerier/scop_vulkan
9b91c0ccd5027c9641ccacfb5043bb1bc2f51ad0
[ "MIT" ]
null
null
null
libraries/model/private/AssimpModelLoader.hpp
jcelerier/scop_vulkan
9b91c0ccd5027c9641ccacfb5043bb1bc2f51ad0
[ "MIT" ]
7
2021-04-04T21:19:48.000Z
2021-04-09T09:16:34.000Z
#ifndef SCOP_VULKAN_ASSIMPMODELLOADER_HPP #define SCOP_VULKAN_ASSIMPMODELLOADER_HPP #include "Mesh.hpp" #include "assimp/scene.h" void assimpLoadModel(char const *model_path, std::vector<Vertex> &vertex_list, std::vector<uint32_t> &indices_list, std::vec...
41.071429
74
0.617391
[ "mesh", "vector" ]
761151de7c0be0d09c0b467c88143b8bbcec5f71
823
hpp
C++
include/texturecoordinates.hpp
Yashasvi-Sriram/yart
8d4f2f59c25f0c6bbbc1946579033b338802b95a
[ "MIT" ]
null
null
null
include/texturecoordinates.hpp
Yashasvi-Sriram/yart
8d4f2f59c25f0c6bbbc1946579033b338802b95a
[ "MIT" ]
null
null
null
include/texturecoordinates.hpp
Yashasvi-Sriram/yart
8d4f2f59c25f0c6bbbc1946579033b338802b95a
[ "MIT" ]
null
null
null
#ifndef TEXTURE_COORDINATES_HPP #define TEXTURE_COORDINATES_HPP class TextureCoordinates { public: const float u; const float v; // this is to easily print a given object to std for debugging friend std::ostream &operator<<(std::ostream &, const TextureCoordinates &); TextureCoordinates() : u(0),...
24.939394
80
0.64034
[ "object" ]
76156f24adc6e356da959beefc93ea90a87d231f
8,081
cpp
C++
10.02_devices/2_src/demo_io.cpp
j-hoppe/UniBone
beee1a911588d539a88b718e6745bdd67ef26a83
[ "BSD-2-Clause" ]
7
2019-07-03T14:40:45.000Z
2021-04-11T10:59:47.000Z
10.02_devices/2_src/demo_io.cpp
j-hoppe/UniBone
beee1a911588d539a88b718e6745bdd67ef26a83
[ "BSD-2-Clause" ]
1
2020-09-15T19:35:09.000Z
2020-09-15T19:35:09.000Z
10.02_devices/2_src/demo_io.cpp
j-hoppe/UniBone
beee1a911588d539a88b718e6745bdd67ef26a83
[ "BSD-2-Clause" ]
4
2019-04-05T18:04:55.000Z
2022-01-03T00:30:09.000Z
/* demo_io.cpp: sample UNIBUS controller with Linux GPIO logic Copyright (c) 2018, Joerg Hoppe j_hoppe@t-online.de, www.retrocmp.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without r...
32.584677
91
0.716
[ "vector" ]
761b5f1ce6765985ed17f61cc071da16438ed9dc
1,393
cpp
C++
test/test-Ray.inc.cpp
Arnaud-de-Grandmaison/ratrac
d2ab18235ff9b61e6f63694e02f53790e81ed4a7
[ "Apache-2.0" ]
null
null
null
test/test-Ray.inc.cpp
Arnaud-de-Grandmaison/ratrac
d2ab18235ff9b61e6f63694e02f53790e81ed4a7
[ "Apache-2.0" ]
null
null
null
test/test-Ray.inc.cpp
Arnaud-de-Grandmaison/ratrac
d2ab18235ff9b61e6f63694e02f53790e81ed4a7
[ "Apache-2.0" ]
null
null
null
TEST(Ray, base) { // Testing Ray // =========== // Create a default Ray. Ray r; // Creating and querying a Ray Tuple origin = Point(1, 2, 3); Tuple direction = Vector(4, 5, 6); Ray ray(origin, direction); EXPECT_EQ(ray.origin(), origin); EXPECT_EQ(ray.direction(), direction); // Assign a Ray. ...
26.788462
76
0.595836
[ "vector", "transform" ]
762326f96941309f4e7e5224a998907d5d28c55c
132,421
cpp
C++
amd_femfx/src/ConstraintSolver/FEMFXConstraintSolver.cpp
UnifiQ/FEMFX
95cf656731a2465ae1d400138170af2d6575b5bb
[ "MIT" ]
418
2019-12-16T10:36:42.000Z
2022-03-27T02:46:08.000Z
amd_femfx/src/ConstraintSolver/FEMFXConstraintSolver.cpp
UnifiQ/FEMFX
95cf656731a2465ae1d400138170af2d6575b5bb
[ "MIT" ]
15
2019-12-16T15:39:29.000Z
2021-12-02T15:45:21.000Z
amd_femfx/src/ConstraintSolver/FEMFXConstraintSolver.cpp
UnifiQ/FEMFX
95cf656731a2465ae1d400138170af2d6575b5bb
[ "MIT" ]
54
2019-12-16T12:33:18.000Z
2022-02-27T16:33:28.000Z
/* MIT License Copyright (c) 2019 Advanced Micro Devices, Inc. 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, m...
43.92073
250
0.69023
[ "mesh" ]
762349d0c255f52a3d7ba3e74b84af253336b185
1,368
cpp
C++
src/Backtracker.cpp
Matt-London/sudoku-solver
56ed3ac5ea3c958710872c15a7c6b30785027213
[ "MIT" ]
null
null
null
src/Backtracker.cpp
Matt-London/sudoku-solver
56ed3ac5ea3c958710872c15a7c6b30785027213
[ "MIT" ]
null
null
null
src/Backtracker.cpp
Matt-London/sudoku-solver
56ed3ac5ea3c958710872c15a7c6b30785027213
[ "MIT" ]
null
null
null
// // Created by mattl on 11/6/2021. // #include "Backtracker.h" /** * Constructor for backtracker * * @param debug whether debug should be enabled */ Backtracker::Backtracker(bool debug) { this->debug = debug; } /** * If debug is on will print the config * * @param msg Status of the config * @param con...
23.186441
70
0.626462
[ "vector" ]
7624431b1a3bae7fe01f8c997558b6dd9df095e9
11,727
cpp
C++
Extensions/TileMapObject/IDE/Dialogs/TileEditor.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
1
2019-08-24T03:18:42.000Z
2019-08-24T03:18:42.000Z
Extensions/TileMapObject/IDE/Dialogs/TileEditor.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
9
2020-04-04T19:26:47.000Z
2022-03-25T18:41:20.000Z
Extensions/TileMapObject/IDE/Dialogs/TileEditor.cpp
sutao80216/GDevelop
79461bf01cc0c626e2f094d3fca940d643f93d76
[ "MIT" ]
2
2020-03-02T05:20:41.000Z
2021-05-10T03:59:05.000Z
/** GDevelop - Tile Map Extension Copyright (c) 2014-2016 Victor Levasseur (victorlevasseur52@gmail.com) This project is released under the MIT License. */ #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI) #include "TileEditor.h" #include <algorithm> #include <wx/dcbuffer.h> #include <wx/event.h> #include "GDCore/C...
37.829032
173
0.714846
[ "render", "shape", "vector" ]
762d86e040db1c79e5e7b5ed4f053dfa60c58521
7,844
cc
C++
code/render/coregraphics/texture.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/coregraphics/texture.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/coregraphics/texture.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
//------------------------------------------------------------------------------ // texture.cc // (C) 2007 Radon Labs GmbH // (C) 2013-2020 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "render/stdneb.h" #include "coregraphics/conf...
25.633987
121
0.556349
[ "render" ]
762e3e6d78182c88919505991aca17a7f5d0384e
1,961
cpp
C++
debug_types/unit_test/test_append.cpp
SNSystems/Program-repository
b201381aec9a8e23a182cbbbb35c71e0ac13f1f4
[ "MIT" ]
null
null
null
debug_types/unit_test/test_append.cpp
SNSystems/Program-repository
b201381aec9a8e23a182cbbbb35c71e0ac13f1f4
[ "MIT" ]
null
null
null
debug_types/unit_test/test_append.cpp
SNSystems/Program-repository
b201381aec9a8e23a182cbbbb35c71e0ac13f1f4
[ "MIT" ]
null
null
null
// Copyright (c) 2016 by SN Systems Ltd., Sony Interactive Entertainment Inc. // // 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 right...
41.723404
97
0.679245
[ "vector" ]
762f207f789585f3237dc0c16911d1640a18aa8c
436
cpp
C++
core/visual/image/shape/Shape.cpp
PlatformerTeam/mad
8768e3127a0659f1d831dcb6c96ba2bb71c30795
[ "MIT" ]
2
2022-02-21T08:23:02.000Z
2022-03-17T10:01:40.000Z
core/visual/image/shape/Shape.cpp
PlatformerTeam/mad
8768e3127a0659f1d831dcb6c96ba2bb71c30795
[ "MIT" ]
43
2022-02-21T13:07:08.000Z
2022-03-22T11:02:16.000Z
core/visual/image/shape/Shape.cpp
PlatformerTeam/mad
8768e3127a0659f1d831dcb6c96ba2bb71c30795
[ "MIT" ]
null
null
null
#include "Shape.hpp" namespace mad::core { Shape::Geometry Shape::get_geometry() const noexcept { return m_geometry; } Color Shape::get_color() const noexcept { return m_color; } Shape::Shape(Geometry geometry, Color color) : Image(Image::Type::Shape), m_geometry(geometry), m_col...
20.761905
116
0.633028
[ "geometry", "shape" ]
763534ca9a7c10beb3e5fc1ae16bb58014acb38e
3,477
cpp
C++
Engine/Source/GEOGL/Rendering/Renderer.cpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
Engine/Source/GEOGL/Rendering/Renderer.cpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
Engine/Source/GEOGL/Rendering/Renderer.cpp
Matthew-Krueger/GEOGL
aae6adbd3d9cfadb4fe65b961d018636e42ddecc
[ "Zlib" ]
null
null
null
/******************************************************************************* * Copyright (c) 2020 Matthew Krueger * * * * This software is provided 'as-is', without any express or implied ...
40.905882
155
0.51625
[ "transform" ]
7635887446d16b7f648183eb40a633bb5ad374b6
2,688
hpp
C++
lib/question.hpp
ConteDevel/xpertium
dbf03f922f893176b87fc0fe6c0e05fb0fb68c4a
[ "MIT" ]
null
null
null
lib/question.hpp
ConteDevel/xpertium
dbf03f922f893176b87fc0fe6c0e05fb0fb68c4a
[ "MIT" ]
null
null
null
lib/question.hpp
ConteDevel/xpertium
dbf03f922f893176b87fc0fe6c0e05fb0fb68c4a
[ "MIT" ]
null
null
null
#ifndef QUESTION_HPP #define QUESTION_HPP #include <initializer_list> #include <memory> #include <string> #include <vector> namespace xpertium { /** * This class is used to define answer for the question */ template <typename val_t> class ans_t { val_t m_id; std::string m_title; public: /** * @bri...
21.165354
71
0.58817
[ "vector" ]
76373ab3dcc536182f18618aaed79eecb9aa0964
769
cpp
C++
src/windowui.cpp
jjimenezg93/star-control2
d4062e442fc375fa6fceffac96b7c1b80b353cfd
[ "MIT" ]
5
2018-12-05T10:50:00.000Z
2019-10-08T19:56:34.000Z
src/windowui.cpp
jjimenezg93/star-control2
d4062e442fc375fa6fceffac96b7c1b80b353cfd
[ "MIT" ]
null
null
null
src/windowui.cpp
jjimenezg93/star-control2
d4062e442fc375fa6fceffac96b7c1b80b353cfd
[ "MIT" ]
1
2021-04-08T16:49:29.000Z
2021-04-08T16:49:29.000Z
#include "../include/windowui.h" CWindowUI::~CWindowUI() {} uint8 CWindowUI::Init() { uint8 ret = 0; ret = GetGUIRender().Init(); SetType(ECT_WINDOW); SetCurrentState(EGUICS_DEFAULT); return ret; } uint8 CWindowUI::Init(int32 x, int32 y) { uint8 ret = 0; ret = Init(); m_x = x; m_y = y; return ret; } uint8...
18.756098
61
0.682705
[ "render" ]
763841a7983efa38277da394e406352b29abff08
8,340
cpp
C++
Editor/EditorLayer.cpp
rocketman123456/RocketGE
dd8b6de286ce5d2abebc55454fbdf67968558535
[ "Apache-2.0" ]
2
2020-12-06T23:16:46.000Z
2020-12-27T13:33:26.000Z
Editor/EditorLayer.cpp
rocketman123456/RocketGE
dd8b6de286ce5d2abebc55454fbdf67968558535
[ "Apache-2.0" ]
null
null
null
Editor/EditorLayer.cpp
rocketman123456/RocketGE
dd8b6de286ce5d2abebc55454fbdf67968558535
[ "Apache-2.0" ]
null
null
null
#include "EditorLayer.h" #include <imgui.h> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> using namespace Rocket; void EditorLayer::OnAttach() { std::string checkboard_path = ProjectSourceDir + "/Assets/textures/Checkerboard.png"; m_CheckerboardTexture = Texture2D::Create(checkboard...
42.769231
136
0.681295
[ "render" ]
763dfb38f8df99524a8f239ab6ff9b6e92e5d729
34,827
cpp
C++
unit/unittest_graphic_component.cpp
ysak-y/apl-core-library
f0a99732c530fde9d9fac97c2d008c012594fc51
[ "Apache-2.0" ]
null
null
null
unit/unittest_graphic_component.cpp
ysak-y/apl-core-library
f0a99732c530fde9d9fac97c2d008c012594fc51
[ "Apache-2.0" ]
null
null
null
unit/unittest_graphic_component.cpp
ysak-y/apl-core-library
f0a99732c530fde9d9fac97c2d008c012594fc51
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "lice...
38.440397
134
0.572056
[ "object", "vector" ]
7641d9f13e37fa8f204eba6f401bf2d72c526bb7
7,636
cpp
C++
projects/roseToLLVM/src/rosetollvm/Option.cpp
maurizioabba/rose
7597292cf14da292bdb9a4ef573001b6c5b9b6c0
[ "BSD-3-Clause" ]
4
2015-03-17T13:52:21.000Z
2022-01-12T05:32:47.000Z
projects/roseToLLVM/src/rosetollvm/Option.cpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
null
null
null
projects/roseToLLVM/src/rosetollvm/Option.cpp
sujankh/rose-matlab
7435d4fa1941826c784ba97296c0ec55fa7d7c7e
[ "BSD-3-Clause" ]
2
2019-02-19T01:27:51.000Z
2019-02-19T12:29:49.000Z
#include <rosetollvm/Option.h> #include <rosetollvm/Control.h> #include <map> #include <vector> #include <string> using namespace std; using namespace llvm; string Option::roseToLLVMModulePrefix="--rose2llvm:"; Option::Option(Rose_STL_Container<string> &args) : query(false), ...
31.553719
175
0.492273
[ "vector" ]
7644aa8f93ff0647d74e8cf3db91065b3539b23b
1,027
cpp
C++
apps/example.cpp
XaBerr/LGB-methods
2fd94bc0e1dcf30b688451205b1058ba3e943552
[ "MIT" ]
1
2020-10-28T01:53:34.000Z
2020-10-28T01:53:34.000Z
apps/example.cpp
XaBerr/LGB-methods
2fd94bc0e1dcf30b688451205b1058ba3e943552
[ "MIT" ]
null
null
null
apps/example.cpp
XaBerr/LGB-methods
2fd94bc0e1dcf30b688451205b1058ba3e943552
[ "MIT" ]
null
null
null
#include <iostream> #include <LGB-methods.h> using namespace std; using namespace LGBm; int main() { LGBrandom<float> qRandom; LGBsplit<float> qSplit; std::vector<float> signal; int status; signal = { 1, 0, 2, 0, 3, 0, 4, 0, 1, 1, 2, 1, 3, 1, 4, 1, 1, 2, 2, 2, 3, 2, 4, 2, 1, 3, 2, 3, ...
26.333333
51
0.55112
[ "vector" ]
764589447b7985403d432f966e1e60227d57b8eb
21,364
hpp
C++
include/Btk/pixels.hpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
2
2021-06-19T08:21:38.000Z
2021-08-15T21:37:30.000Z
include/Btk/pixels.hpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
null
null
null
include/Btk/pixels.hpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
1
2021-04-03T14:27:39.000Z
2021-04-03T14:27:39.000Z
#if !defined(_BTK_PIXELS_HPP_) #define _BTK_PIXELS_HPP_ #include <cstdlib> #include <cstddef> #include <iosfwd> #include <SDL2/SDL_pixels.h> #include <SDL2/SDL_surface.h> #include "string.hpp" #include "rwops.hpp" #include "defs.hpp" #include "rect.hpp" struct SDL_Surface; #define BTK_MAKE_FMT(NAME) static constexpr U...
30.695402
94
0.457873
[ "render", "object" ]
7647c7c592a29f037cf867ae647712f7cf6b5f9a
10,255
cpp
C++
src/tests/test_opengl/test_init_opengl2.cpp
gregordecristoforo/2dads
31afa8b454696f13267e11252cfc0efe1e24e651
[ "MIT" ]
1
2020-06-20T10:04:11.000Z
2020-06-20T10:04:11.000Z
src/tests/test_opengl/test_init_opengl2.cpp
gregordecristoforo/2dads
31afa8b454696f13267e11252cfc0efe1e24e651
[ "MIT" ]
null
null
null
src/tests/test_opengl/test_init_opengl2.cpp
gregordecristoforo/2dads
31afa8b454696f13267e11252cfc0efe1e24e651
[ "MIT" ]
null
null
null
/* * Initialize a slab object, visualize the output with opengl * * Try to use opengl visualization * */ #include <iostream> #include <vector> #include <iomanip> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include "slab_cuda.h" #include "output.h" #include "shader.h" using namespace std...
30.61194
121
0.596392
[ "object", "shape", "vector" ]
765222fb0389ecd1f5ab00aa44947715415a9b88
402,536
cpp
C++
ARKITCardboard/Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_22Table.cpp
andrewnakas/ARKit-Cardboard-VR
2bf34db1a935e2eb6c0749e3fe14f998c753d4ac
[ "MIT" ]
149
2017-06-25T04:03:31.000Z
2022-02-24T19:31:06.000Z
ARKITCardboard/Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_22Table.cpp
MurlocTW/ARKit-Cardboard-VR
2bf34db1a935e2eb6c0749e3fe14f998c753d4ac
[ "MIT" ]
9
2017-06-24T23:23:11.000Z
2019-01-16T15:22:13.000Z
ARKITCardboard/Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_22Table.cpp
MurlocTW/ARKit-Cardboard-VR
2bf34db1a935e2eb6c0749e3fe14f998c753d4ac
[ "MIT" ]
29
2017-06-28T17:57:06.000Z
2021-06-27T12:26:44.000Z
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
40.974756
254
0.825278
[ "mesh", "object", "transform" ]
7653c3ee03d48fc0a4eb7a72e59ac7d645216375
1,316
cc
C++
examples/no_release/period.cc
softwarecapital/chr1shr.voro
122531fbe162ea9a94b7e96ee9d57d3957c337ca
[ "BSD-3-Clause-LBNL" ]
43
2019-09-29T01:14:25.000Z
2022-03-02T23:48:25.000Z
examples/no_release/period.cc
softwarecapital/chr1shr.voro
122531fbe162ea9a94b7e96ee9d57d3957c337ca
[ "BSD-3-Clause-LBNL" ]
15
2019-10-19T23:39:39.000Z
2021-12-30T22:03:51.000Z
examples/no_release/period.cc
softwarecapital/chr1shr.voro
122531fbe162ea9a94b7e96ee9d57d3957c337ca
[ "BSD-3-Clause-LBNL" ]
23
2019-10-19T23:40:57.000Z
2022-03-29T16:53:17.000Z
#include "voro++.hh" using namespace voro; // Set up constants for the container geometry const double bx=10; const double by=10; const double bz=10; const double bxy=0; const double bxz=5; const double byz=0; // Set up the number of blocks that the container is divided // into const int n_x=3,n_y=3,n_z=3; // Set th...
25.803922
69
0.68845
[ "geometry" ]
765742ce55189fcca51fff8510d4f652527d5501
11,579
cpp
C++
Quaternion_Camera/main.cpp
PhanSangTheAlerianLord/Quaternion-Camera
fcf70b1f68038d47fac9034f595c1a69bfb9c1c0
[ "MIT" ]
1
2021-11-03T09:38:18.000Z
2021-11-03T09:38:18.000Z
Quaternion_Camera/main.cpp
PhanSangTheAlerianLord/Quaternion-Camera
fcf70b1f68038d47fac9034f595c1a69bfb9c1c0
[ "MIT" ]
null
null
null
Quaternion_Camera/main.cpp
PhanSangTheAlerianLord/Quaternion-Camera
fcf70b1f68038d47fac9034f595c1a69bfb9c1c0
[ "MIT" ]
null
null
null
#include <gl\glew.h> #include <gl\glfw3.h> #include <gl\freeglut.h> #include <glm\glm.hpp> #include <glm\gtc\matrix_transform.hpp> #include "trackball.h" #include "model.h" #include "Utility.h" using namespace glm; #define width 1024 #define height 768 bool MouseLeftPress = false; bool MouseMiddlePr...
29.313924
132
0.68037
[ "model" ]
7659109ae7425a8b45810fe06489e35dfd2a28e1
1,288
cpp
C++
Tree Algorithms/Distinct Colors.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T12:30:13.000Z
2022-02-12T13:59:20.000Z
Tree Algorithms/Distinct Colors.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T11:09:41.000Z
2022-02-12T11:55:49.000Z
Tree Algorithms/Distinct Colors.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<vector<int>> adj; vector<array<int,3>>seg; int n,timer; vector<int> col; vector<int> ncol; vector<int> ans; vector<int> F; map<int,int> m; void dfs(int cur,int par){ seg[cur][1]=timer++; ncol[timer-1]=col[cur]; for(int &v:adj[cur]){ if (v==par)continue; dfs(v...
17.888889
43
0.57764
[ "vector" ]
765acd9fee97c7a41204546c52b0054829183fd3
997
cpp
C++
branches/g3d-8.0-64ffmpeg-win/test/tCallback.cpp
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
branches/g3d-8.0-64ffmpeg-win/test/tCallback.cpp
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
branches/g3d-8.0-64ffmpeg-win/test/tCallback.cpp
brown-ccv/VRG3D
0854348453ac150b27a8ae89024ef57360f15d45
[ "BSD-3-Clause" ]
null
null
null
#include "G3D/G3DAll.h" void function() { //printf("Function"); } class Base : public ReferenceCountedObject { public: void method() { //printf("Method"); } virtual void method2() { //printf("Method 2"); } }; class Class : public Base { public: virtual void method2() { //printf("Method 2 Override"); } ...
19.54902
84
0.695085
[ "object" ]
765ea53c6f9f1dba76d7afb40c1eb6ade9e4d53d
21,500
cpp
C++
Multiplayer Game/Source/ModuleNetworkingServer.cpp
Adria-F/JustKill
0dd80733aa4f97502813272f706d552929f066e9
[ "MIT" ]
null
null
null
Multiplayer Game/Source/ModuleNetworkingServer.cpp
Adria-F/JustKill
0dd80733aa4f97502813272f706d552929f066e9
[ "MIT" ]
null
null
null
Multiplayer Game/Source/ModuleNetworkingServer.cpp
Adria-F/JustKill
0dd80733aa4f97502813272f706d552929f066e9
[ "MIT" ]
1
2020-01-28T10:32:12.000Z
2020-01-28T10:32:12.000Z
#include "Networks.h" #include "ModuleNetworkingServer.h" ////////////////////////////////////////////////////////////////////// // ModuleNetworkingServer public methods ////////////////////////////////////////////////////////////////////// void ModuleNetworkingServer::setListenPort(int port) { listenPort = port; ...
29.014845
139
0.690093
[ "render", "object", "vector" ]
7665a9f03d8fcaf85c5dbb0c08d2df677db51210
32,699
hpp
C++
include/misc/xmlwrapp/document.hpp
ncbi/ncbi-xmlwrapp
d5c25d7b911413fe4dffd408903e5ce06a68636e
[ "BSD-3-Clause" ]
3
2018-01-18T21:46:01.000Z
2021-04-06T03:04:00.000Z
include/misc/xmlwrapp/document.hpp
ncbi/ncbi-xmlwrapp
d5c25d7b911413fe4dffd408903e5ce06a68636e
[ "BSD-3-Clause" ]
null
null
null
include/misc/xmlwrapp/document.hpp
ncbi/ncbi-xmlwrapp
d5c25d7b911413fe4dffd408903e5ce06a68636e
[ "BSD-3-Clause" ]
4
2018-01-18T21:44:47.000Z
2020-12-13T14:38:18.000Z
/* * Copyright (C) 2001-2003 Peter J Jones (pjones@pmade.org) * All Rights Reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * n...
41.814578
99
0.525001
[ "object" ]
766c3f837aa55e19dbcfcb7629f31ca68c4dda55
2,463
cc
C++
src/contest/coci/COCI_2014_KAMP.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
83
2017-08-30T01:20:03.000Z
2022-02-12T13:50:27.000Z
src/contest/coci/COCI_2014_KAMP.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
1
2015-08-20T13:37:59.000Z
2015-08-26T00:56:39.000Z
src/contest/coci/COCI_2014_KAMP.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
41
2017-11-09T06:10:08.000Z
2022-01-11T14:10:25.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 500001 #define pb push_back #define mp make_pair typedef pair<int, int> pi; typedef long long ll; vector<vector<pi>> adj(SIZE); int n, k; ll total; bool inTree[SIZE]; ll max1[SIZE], max2[SIZE], maxi[SIZE], maxChain[SIZE], minV[SIZE]; void adjust(ll v, int ...
21.051282
66
0.504669
[ "vector" ]
76711983898f0bd6a1dbb532ee5d48d2594d563c
963
cpp
C++
tests/test_ping-pong.cpp
scottjr632/resizable-semaphores
9f2aa31a59bb5cadd92dab9f4d8c7c0658891fd5
[ "MIT" ]
null
null
null
tests/test_ping-pong.cpp
scottjr632/resizable-semaphores
9f2aa31a59bb5cadd92dab9f4d8c7c0658891fd5
[ "MIT" ]
null
null
null
tests/test_ping-pong.cpp
scottjr632/resizable-semaphores
9f2aa31a59bb5cadd92dab9f4d8c7c0658891fd5
[ "MIT" ]
null
null
null
#include <iostream> #include <atomic> #include <vector> #include <thread> #include <doctest.h> #include <rezsem/rezsemaphores.hpp> std::atomic<uint64_t> ai; rezsem::Semaphore pingSem(0, 1); rezsem::Semaphore pongSem(1, 1); std::vector<std::string> pingPongs; void ping(int iters) { for (int i = 0; i < iters; i++...
20.0625
43
0.539979
[ "vector" ]
7674141e9a51d1c0c8a6efa4ae09ccecfe980857
898
cpp
C++
src/zoneserver/ai/BrainFactory.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
src/zoneserver/ai/BrainFactory.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
src/zoneserver/ai/BrainFactory.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
#include "ZoneServerPCH.h" #include "BrainFactory.h" #include "NpcStateBrain.h" #include "BuildingStateBrain.h" #include "scripting/GameScriptManager.h" #include "evt/EventTrigger.h" #include "../model/gameobject/Npc.h" namespace gideon { namespace zoneserver { namespace ai { std::unique_ptr<Brain> BrainFactory::crea...
29.933333
83
0.682628
[ "model" ]
767f8b89713789eb64bd50d59e26809bc15ea7d2
3,075
cpp
C++
prime_and_factors.cpp
pjzzz/DSandAlgo
823d5a1c17a871d75541387d5db08870dfd6b50e
[ "MIT" ]
4
2019-10-09T18:03:11.000Z
2020-12-09T05:38:02.000Z
prime_and_factors.cpp
pjzzz/DSandAlgo
823d5a1c17a871d75541387d5db08870dfd6b50e
[ "MIT" ]
9
2019-10-23T20:05:20.000Z
2020-11-04T21:43:02.000Z
prime_and_factors.cpp
pjzzz/DSandAlgo
823d5a1c17a871d75541387d5db08870dfd6b50e
[ "MIT" ]
12
2019-10-23T19:28:52.000Z
2020-11-02T09:43:17.000Z
#include<bits/stdc++.h> #define int long long #define pb emplace_back #define mp make_pair #define tci(v,i) for(auto i=v.begin();i!=v.end();i++) #define all(v) v.begin(),v.end() #define rep(i,start,lim) for(long long (i)=(start);i<(lim);i++) #define revrep(i,n) for(long long i=n-1;i>=0;i--) #define boost ios_ba...
26.059322
106
0.492358
[ "vector" ]
76870dd3be79777086c49343c6a5eafb863db9a2
1,641
hpp
C++
src/tic_tac_toe.hpp
jin10086/tic_tac_toe
f5a79291002f87c84bd635ad74977a11819edf66
[ "MIT" ]
null
null
null
src/tic_tac_toe.hpp
jin10086/tic_tac_toe
f5a79291002f87c84bd635ad74977a11819edf66
[ "MIT" ]
null
null
null
src/tic_tac_toe.hpp
jin10086/tic_tac_toe
f5a79291002f87c84bd635ad74977a11819edf66
[ "MIT" ]
null
null
null
// Import necessary library #include <eosio/eosio.hpp> // Generic eosio library, i.e. print, type, math, etc using namespace eosio; CONTRACT tic_tac_toe : public contract { public: tic_tac_toe(name receiver, name code, datastream<const char *> ds) : contract(receiver, code, ds) {} static constexpr name none ...
28.789474
119
0.625229
[ "vector" ]
76915495cce0c75f44ac5bd24815827da1197ed9
2,667
hpp
C++
include/gapi/vertex_array.hpp
RamblingMadMan/gapi
29c2e70990c9097ee470159bfaad64f24bc90021
[ "BSD-3-Clause" ]
1
2017-03-02T14:21:51.000Z
2017-03-02T14:21:51.000Z
include/gapi/vertex_array.hpp
RamblingMadMan/gapi
29c2e70990c9097ee470159bfaad64f24bc90021
[ "BSD-3-Clause" ]
null
null
null
include/gapi/vertex_array.hpp
RamblingMadMan/gapi
29c2e70990c9097ee470159bfaad64f24bc90021
[ "BSD-3-Clause" ]
null
null
null
#ifndef GAPI_VERTEX_ARRAY_HPP #define GAPI_VERTEX_ARRAY_HPP 1 #include <cstddef> #include <type_traits> #include "object.hpp" #include "functions.hpp" #include "buffer.hpp" namespace gapi{ class vertex_array_handle: public object{ public: void set_vertex_buffer(const buffer_handle &buff, GLuint binding, GLintp...
27.78125
109
0.72216
[ "object" ]
371c29980e5a76b4f5276c6813c47592a09bbaee
3,426
hpp
C++
src/feature_broker/test/add_model.hpp
TomFinley/FeatureBroker
481a8f9a1a2e0980eee14d84f712ec3abf40ef0e
[ "MIT" ]
10
2020-03-17T00:35:54.000Z
2021-08-22T12:31:27.000Z
src/feature_broker/test/add_model.hpp
TomFinley/FeatureBroker
481a8f9a1a2e0980eee14d84f712ec3abf40ef0e
[ "MIT" ]
3
2020-03-17T17:25:15.000Z
2020-03-17T21:10:41.000Z
src/feature_broker/test/add_model.hpp
TomFinley/FeatureBroker
481a8f9a1a2e0980eee14d84f712ec3abf40ef0e
[ "MIT" ]
6
2020-03-13T15:39:03.000Z
2021-11-10T08:19:06.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <inference/direct_input_pipe.hpp> #include <inference/feature_error.hpp> #include <inference/model.hpp> #include <inference/type_descriptor.hpp> #include <inference/value_updater.hpp> #include <map> #include <unordered_ma...
36.063158
104
0.677466
[ "vector", "model" ]
37213a0a00b2baeba6a8130a2b3d2146b7bc88b4
6,609
cpp
C++
src/UnitTests/OptTestOneChoice.cpp
fsaintjacques/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
14
2016-07-11T04:08:09.000Z
2022-03-11T05:56:59.000Z
src/UnitTests/OptTestOneChoice.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
null
null
null
src/UnitTests/OptTestOneChoice.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
13
2016-06-01T10:41:15.000Z
2022-01-06T09:01:15.000Z
#include "OptTestOneChoice.h" using namespace std; OptTestOneChoice::OptTestOneChoice() { } OptTestOneChoice::~OptTestOneChoice() { } bool OptTestOneChoice::run(Globals* g, const vector<string>& args) { CatalogInstance::getCatalog(); while (1) { Parser* p = new Parser(); PObject::initialize(); ...
34.421875
98
0.676199
[ "vector" ]
372e844a5de18869efd4bd1f74f3cfb3a1a708dc
1,172
hpp
C++
Space.hpp
dabbertorres/sfml-graph
fb9ae58318a95573869fd5f035d9015f29b0d924
[ "MIT" ]
null
null
null
Space.hpp
dabbertorres/sfml-graph
fb9ae58318a95573869fd5f035d9015f29b0d924
[ "MIT" ]
null
null
null
Space.hpp
dabbertorres/sfml-graph
fb9ae58318a95573869fd5f035d9015f29b0d924
[ "MIT" ]
null
null
null
#pragma once #include <list> #include <SFML/Graphics/Color.hpp> #include <SFML/Graphics/Drawable.hpp> #include <SFML/Graphics/Rect.hpp> #include <SFML/Graphics/RenderTarget.hpp> #include <SFML/Graphics/RenderStates.hpp> #include <SFML/Graphics/Transformable.hpp> #include <SFML/Graphics/VertexBuffer.hpp> #include "Fu...
25.478261
116
0.692833
[ "render" ]
373082d7a090cedfcc2f888598a4d2abccce8e08
1,697
cpp
C++
unit_tests.geometry/triangle_mesh_to_sdf_tests.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
28
2021-11-23T11:52:55.000Z
2022-03-04T01:48:52.000Z
unit_tests.geometry/triangle_mesh_to_sdf_tests.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
null
null
null
unit_tests.geometry/triangle_mesh_to_sdf_tests.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
3
2022-01-02T12:23:04.000Z
2022-01-07T04:21:26.000Z
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "../vox.geometry/grids/cell_centered_scalar_grid.h" #include "../vox.geometry/implicit_surfaces...
30.854545
79
0.653506
[ "mesh", "geometry" ]
3731ff4a5fb4d00172bff6ca1da841542761c84c
8,221
cpp
C++
HDMap/src/map_api/odrRoad/road.cpp
1335654481ren/autoparking
a36ffaa1f787329b5e8324beb261059d6c0bd63f
[ "MIT" ]
2
2019-10-16T06:48:35.000Z
2019-10-22T16:06:30.000Z
HDMap/src/map_api/odrRoad/road.cpp
1335654481ren/autoparking
a36ffaa1f787329b5e8324beb261059d6c0bd63f
[ "MIT" ]
null
null
null
HDMap/src/map_api/odrRoad/road.cpp
1335654481ren/autoparking
a36ffaa1f787329b5e8324beb261059d6c0bd63f
[ "MIT" ]
1
2019-10-16T08:15:01.000Z
2019-10-16T08:15:01.000Z
/******************************************************** * Copyright (C) 2016 All rights reserved. * * Filename:road.cpp * Author :weiwei.liu * Date :2016-11-17 * Describe: * ********************************************************/ #include "road.h" #include <math.h> #include <algorithm> namespace ...
30.113553
131
0.624985
[ "vector" ]
373346183743bb329a91bbad8a5bdfdd0e82bc59
3,354
cpp
C++
server.cpp
branislavhesko/Websocket_synchronization
0adc0e336d300130574dd71eb840c9448c954572
[ "Apache-2.0" ]
null
null
null
server.cpp
branislavhesko/Websocket_synchronization
0adc0e336d300130574dd71eb840c9448c954572
[ "Apache-2.0" ]
null
null
null
server.cpp
branislavhesko/Websocket_synchronization
0adc0e336d300130574dd71eb840c9448c954572
[ "Apache-2.0" ]
null
null
null
#include "ixwebsocket/IXWebSocket.h" #include "ixwebsocket/IXWebSocketServer.h" #include <iostream> #include "timer.h" #include "save_synchronization.h" int main() { // Run a server on localhost at a given port_. // Bound host name, max connections and listen backlog can also be passed in as parameters. uint16_t...
46.583333
122
0.484794
[ "object" ]
3733e28a74f47314c2255151d0e49ed0e33fb302
5,786
cc
C++
common/integration_testing/src/google_smart_card_integration_testing/integration_test_service.cc
ayaNader/chromeos_smart_card_connector
78502e328634a210e27ef897405b66844ebefe62
[ "Apache-2.0" ]
79
2017-09-22T05:09:54.000Z
2022-03-13T01:11:06.000Z
common/integration_testing/src/google_smart_card_integration_testing/integration_test_service.cc
QPC-database/chromeos_smart_card_connector
3ced08b30ce3f2a557487c3bfba1d1cd36c5011c
[ "Apache-2.0" ]
191
2017-10-23T22:34:58.000Z
2022-03-05T18:10:06.000Z
common/integration_testing/src/google_smart_card_integration_testing/integration_test_service.cc
QPC-database/chromeos_smart_card_connector
3ced08b30ce3f2a557487c3bfba1d1cd36c5011c
[ "Apache-2.0" ]
32
2017-10-21T07:39:59.000Z
2021-11-10T22:55:32.000Z
// Copyright 2020 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
37.089744
81
0.752506
[ "vector" ]
374f253f821289121234e52ba0e63b5fb5c27998
16,918
cpp
C++
lib/APC/LoopInfoBase.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
14
2019-11-04T15:03:40.000Z
2021-09-07T17:29:40.000Z
lib/APC/LoopInfoBase.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
11
2019-11-29T21:18:12.000Z
2021-12-22T21:36:40.000Z
lib/APC/LoopInfoBase.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
17
2019-10-15T13:56:35.000Z
2021-10-20T17:21:14.000Z
//===---- LoopInfoBase.cpp ----- APC Loop Graph Builder --------*- C++ -*-===// // // Traits Static Analyzer (SAPFOR) // // Copyright 2018 DVM System Group // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
39.162037
81
0.666805
[ "vector" ]
37515476f50c8d7d80a02cd9998327b3d85c62b2
4,169
cpp
C++
Online Judges/LightOJ/Convex Hull/1239 - Convex Fence.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
4
2017-02-20T17:41:14.000Z
2019-07-15T14:15:34.000Z
Online Judges/LightOJ/Convex Hull/1239 - Convex Fence.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
Online Judges/LightOJ/Convex Hull/1239 - Convex Fence.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long long unsigned llu; typedef double dl; typedef pair<int,int> pii; typedef pair<ll,ll> pll; typedef vector<int> vi; typedef vector<ll> vl; typedef map<int,int> mii; typedef map<ll,ll> ...
27.793333
117
0.525786
[ "vector" ]
37656f724e83f42ab85c31a91f536f0845dbf49a
431
cpp
C++
abc_166/e.cpp
dashimaki360/atcoder
1462150d59d50f270145703df579dba8c306376c
[ "MIT" ]
null
null
null
abc_166/e.cpp
dashimaki360/atcoder
1462150d59d50f270145703df579dba8c306376c
[ "MIT" ]
null
null
null
abc_166/e.cpp
dashimaki360/atcoder
1462150d59d50f270145703df579dba8c306376c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // #include <atcoder/all> // using namespace atcoder; #define rep(i,n) for (int i = 0; i < (n); ++i) using ll = long long; using P = pair<int,int>; int main() { int n; cin >> n; vector<int> s(200005); ll ans = 0; rep(i, n){ int a; cin >> a; if((i+a) <...
19.590909
49
0.515081
[ "vector" ]
3765f0d8d2208fa6ffb417f5ad38f11fde2083f5
9,302
cc
C++
src/client/build_conf_parser.cc
m1nuz/bump
a6d4fe7d30763368492674a2b815b23ffc75af4d
[ "MIT" ]
null
null
null
src/client/build_conf_parser.cc
m1nuz/bump
a6d4fe7d30763368492674a2b815b23ffc75af4d
[ "MIT" ]
null
null
null
src/client/build_conf_parser.cc
m1nuz/bump
a6d4fe7d30763368492674a2b815b23ffc75af4d
[ "MIT" ]
null
null
null
#include <chrono> #include <filesystem> #include <fs_utils.h> #include <journal.h> #include <yaml-cpp/yaml.h> #include "common.h" #include "config.h" #include "context.h" namespace fs = std::filesystem; namespace fs_utils = filesystem_utils; namespace app { namespace bs { constexpr char CONF_PROJECT_N...
40.094828
136
0.555902
[ "vector" ]
376729f7949b20bbd35cef0f962acc80bcf3a6fa
4,271
cpp
C++
gecode/combinatorial_auction.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
279
2015-01-10T09:55:35.000Z
2022-03-28T02:34:03.000Z
gecode/combinatorial_auction.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
10
2017-10-05T15:48:50.000Z
2021-09-20T12:06:52.000Z
gecode/combinatorial_auction.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
83
2015-01-20T03:44:00.000Z
2022-03-13T23:53:06.000Z
/* Combinatorial auction problem in Gecode. http://en.wikipedia.org/wiki/Combinatorial_auction """ A combinatorial auction is an auction in which bidders can place bids on combinations of items, or "packages," rather than just individual items. Simple combinatorial auctions have been used for many y...
23.860335
87
0.629361
[ "model" ]
376cd0aa2ed651a12f903d900e0252fefbcdfcbc
31,783
hpp
C++
agent/cacla/include/old/FittedNeuralACAg.hpp
matthieu637/ddrl
a454d09a3ac9be5db960ff180b3d075c2f9e4a70
[ "MIT" ]
27
2017-11-27T09:32:41.000Z
2021-03-02T13:50:23.000Z
agent/cacla/include/old/FittedNeuralACAg.hpp
matthieu637/ddrl
a454d09a3ac9be5db960ff180b3d075c2f9e4a70
[ "MIT" ]
10
2018-10-09T14:39:14.000Z
2020-11-10T15:01:00.000Z
agent/cacla/include/old/FittedNeuralACAg.hpp
matthieu637/ddrl
a454d09a3ac9be5db960ff180b3d075c2f9e4a70
[ "MIT" ]
3
2019-05-16T09:14:15.000Z
2019-08-15T14:35:40.000Z
#ifndef FITTEDNEURALACAG_HPP #define FITTEDNEURALACAG_HPP #include <vector> #include <string> #include <boost/serialization/list.hpp> #include <boost/serialization/set.hpp> #include <boost/serialization/vector.hpp> #include <boost/filesystem.hpp> #include <tbb/parallel_for.h> #include <tbb/blocked_range.h> #include "...
32.935751
134
0.587169
[ "vector" ]
378024fcc5d39de246014731866e7612ec76c24d
3,585
cpp
C++
demos/cpp/pid_demo/main.cpp
NunoEdgarGFlowHub/infotheory
72be96b345c741998869c2bfd75bdb3fe26d06da
[ "MIT" ]
29
2019-07-09T01:31:59.000Z
2022-03-27T15:47:56.000Z
demos/cpp/pid_demo/main.cpp
NunoEdgarGFlowHub/infotheory
72be96b345c741998869c2bfd75bdb3fe26d06da
[ "MIT" ]
5
2019-07-05T14:10:01.000Z
2021-04-21T16:26:42.000Z
demos/cpp/pid_demo/main.cpp
NunoEdgarGFlowHub/infotheory
72be96b345c741998869c2bfd75bdb3fe26d06da
[ "MIT" ]
9
2019-07-09T22:29:24.000Z
2022-02-09T19:40:38.000Z
//**************************************************************************// // Infotheory demo to estimate MI between two 2D random vars // C++ // Madhavun Candadai // Nov 2018 //**************************************************************************// #include <iostream> #include <math.h> #include "VectorMatrix....
34.142857
87
0.601953
[ "object" ]
3783202d45a4a1f3102154d5261bdf1899418752
24,145
cc
C++
src/c_ion.cc
tk1012/ion-kit
d42be09dfd78fe415058723c186a76a84c699d45
[ "MIT" ]
4
2020-11-18T14:31:23.000Z
2022-01-07T21:01:05.000Z
src/c_ion.cc
tk1012/ion-kit
d42be09dfd78fe415058723c186a76a84c699d45
[ "MIT" ]
19
2020-10-23T08:12:12.000Z
2021-09-02T02:08:19.000Z
src/c_ion.cc
tk1012/ion-kit
d42be09dfd78fe415058723c186a76a84c699d45
[ "MIT" ]
7
2020-10-22T01:33:06.000Z
2022-02-23T18:43:45.000Z
#include <exception> #include <ion/ion.h> #include <ion/c_ion.h> #include <HalideBuffer.h> using namespace ion; // // ion_port_t // int ion_port_create(ion_port_t *ptr, const char *key, ion_type_t type, int dim) { try { *ptr = reinterpret_cast<ion_port_t>(new Port(key, halide_type_t(static_cast<halide_t...
35.14556
146
0.535473
[ "vector" ]
37947f47d83ba9aecc1062389e999399b1487f70
1,028
cpp
C++
Problem Solving Paradigms/574 - Sum It Up/574 - Sum It Up.cpp
matheuscr30/UVA
2623f15de4a3948146fe4148a236d932750633b3
[ "MIT" ]
2
2019-03-27T18:49:28.000Z
2019-09-06T19:05:26.000Z
Problem Solving Paradigms/574 - Sum It Up/574 - Sum It Up.cpp
matheuscr30/UVA
2623f15de4a3948146fe4148a236d932750633b3
[ "MIT" ]
null
null
null
Problem Solving Paradigms/574 - Sum It Up/574 - Sum It Up.cpp
matheuscr30/UVA
2623f15de4a3948146fe4148a236d932750633b3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long int ll; ll t, n; vector<ll>v; map<vector<ll>, bool>solution; void backtracking(ll current, ll sum, vector<ll>aux) { if (sum == t) { vector<ll>lulu = aux; sort(lulu.rbegin(), lulu.rend()); if (!solution[lulu]) { for ...
17.423729
53
0.456226
[ "vector" ]
379e5d93a9176a819660e16b5b42c5e66df64d52
3,851
cpp
C++
applications/DamApplication/custom_constitutive/thermal_linear_elastic_2D_plane_stress_nodal.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
applications/DamApplication/custom_constitutive/thermal_linear_elastic_2D_plane_stress_nodal.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
applications/DamApplication/custom_constitutive/thermal_linear_elastic_2D_plane_stress_nodal.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
// // Project Name: // Last modified by: $Author: // Date: $Date: // Revision: $Revision: // /* Project includes */ #include "custom_constitutive/thermal_linear_elastic_2D_plane_stress_nodal.hpp" namespace Kratos { //Default Constructor ThermalLinearElastic2DPlaneStressNodal::The...
39.295918
210
0.578551
[ "vector" ]
37a15126501bc2fd8fd4bcb51a80392848d21703
329
cpp
C++
idlib-math/library/src/idlib/math/translation_matrix.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
1
2021-07-30T14:02:43.000Z
2021-07-30T14:02:43.000Z
idlib-math/library/src/idlib/math/translation_matrix.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
null
null
null
idlib-math/library/src/idlib/math/translation_matrix.cpp
egoboo/idlib
b27b9d3fe7357ecfe5f9dc71afe283a3d16b1ba8
[ "MIT" ]
2
2017-01-27T16:53:08.000Z
2017-08-27T07:28:43.000Z
#include "idlib/math/translation_matrix.hpp" namespace idlib { matrix<single, 4, 4> translation_matrix(const vector<single, 3>& t) { return matrix<single, 4, 4>(1, 0, 0, t.x(), 0, 1, 0, t.y(), 0, 0, 1, t.z(), 0, 0, 0, 1); } } // namesp...
25.307692
68
0.471125
[ "vector" ]
37ad5fee424110df7c7d419f2614476ca0e9348b
51,085
cpp
C++
starter-stack/Lib/rcsc/player/localization_default.cpp
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
starter-stack/Lib/rcsc/player/localization_default.cpp
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
starter-stack/Lib/rcsc/player/localization_default.cpp
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
// -*-c++-*- /*! \file localization.cpp \brief localization module Source File */ /* *Copyright: Copyright (C) Hidehisa AKIYAMA This code 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 Foundation; either ...
32.558955
108
0.513869
[ "object", "vector" ]
37aff72882dcdfda227afa55d5bf7220e3c2ecd0
1,659
cpp
C++
data/transcoder_evaluation_gfg/cpp/LONGEST_SUBARRAY_COUNT_1S_ONE_COUNT_0S.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/LONGEST_SUBARRAY_COUNT_1S_ONE_COUNT_0S.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/LONGEST_SUBARRAY_COUNT_1S_ONE_COUNT_0S.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // #include <iostream> #include <cstdlib> #include <string> #include <vector> #include <fstream> #include <iomanip> #include...
34.5625
496
0.539482
[ "vector" ]
37b229d6d921f5860702064e3494c301250979d2
7,924
cpp
C++
@library/@openxlsx/sources/XLRow.cpp
killvxk/OpenXLSX
416896fa4881020e2cf6927c64d7d554dd826615
[ "BSD-3-Clause-Clear" ]
2
2019-02-14T00:30:32.000Z
2019-05-01T11:07:23.000Z
@library/@openxlsx/sources/XLRow.cpp
ExpLife0011/OpenXLSX
416896fa4881020e2cf6927c64d7d554dd826615
[ "BSD-3-Clause-Clear" ]
null
null
null
@library/@openxlsx/sources/XLRow.cpp
ExpLife0011/OpenXLSX
416896fa4881020e2cf6927c64d7d554dd826615
[ "BSD-3-Clause-Clear" ]
1
2019-05-27T10:17:35.000Z
2019-05-27T10:17:35.000Z
// // Created by KBA012 on 02/06/2017. // #include <algorithm> #include <pugixml.hpp> #include "XLRow.h" #include "XLWorksheet.h" #include "XLCell.h" #include "XLCellValue.h" #include "XLException.h" using namespace std; using namespace OpenXLSX; /** * @details Constructs a new XLRow object from information in th...
33.434599
120
0.675543
[ "object", "vector" ]
37b2b87f1b5f81c3c03181cdeb741c07899dc340
2,954
hpp
C++
Code/Source/Algorithms/SurfaceFeatures/Local/LocalDistanceHistogram.hpp
sidch/Thea
d5ea3e3f1bd7389255cfabf1d55a6fe88c3c7db7
[ "BSD-3-Clause" ]
77
2016-11-06T17:25:54.000Z
2022-03-29T16:30:34.000Z
Code/Source/Algorithms/SurfaceFeatures/Local/LocalDistanceHistogram.hpp
sidch/Thea
d5ea3e3f1bd7389255cfabf1d55a6fe88c3c7db7
[ "BSD-3-Clause" ]
1
2017-04-22T16:47:04.000Z
2017-04-22T16:47:04.000Z
Code/Source/Algorithms/SurfaceFeatures/Local/LocalDistanceHistogram.hpp
sidch/Thea
d5ea3e3f1bd7389255cfabf1d55a6fe88c3c7db7
[ "BSD-3-Clause" ]
20
2015-10-17T20:38:50.000Z
2022-02-18T09:56:27.000Z
//============================================================================ // // This file is part of the Thea toolkit. // // This software is distributed under the BSD license, as detailed in the // accompanying LICENSE.txt file. Portions are derived from other works: // their respective licenses and copyright inf...
42.811594
128
0.693974
[ "object", "shape" ]
37b8f0c48003ceba54f530d9233f5fcc77b410de
41,481
cpp
C++
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGSVGElement.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGSVGElement.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGSVGElement.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
// Copyright 2014 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8SVGSVGElement.h" #include "bindings/core/v8...
46.555556
327
0.755671
[ "object" ]
37ba7179d427abe9f7fa88ad571a5167efe2c380
7,554
cpp
C++
src/linad99/gs_set.cpp
wStockhausen/admb
876ec704ae974d0ed3bcc329f243dbc401ad0e6d
[ "BSD-3-Clause" ]
79
2015-01-16T14:14:22.000Z
2022-01-24T06:28:15.000Z
src/linad99/gs_set.cpp
wStockhausen/admb
876ec704ae974d0ed3bcc329f243dbc401ad0e6d
[ "BSD-3-Clause" ]
172
2015-01-21T01:53:57.000Z
2022-03-29T19:57:31.000Z
src/linad99/gs_set.cpp
wStockhausen/admb
876ec704ae974d0ed3bcc329f243dbc401ad0e6d
[ "BSD-3-Clause" ]
22
2015-01-15T18:11:54.000Z
2022-01-11T21:47:51.000Z
/* * $Id$ * * Author: David Fournier * Copyright (c) 2008-2012 Regents of the University of California */ /** * \file * Functions for setting memory allocation and array limits */ #include "fvar.hpp" #ifdef __TURBOC__ #pragma hdrstop #endif #include <limits.h> /** * Produce error if gradient structure hasn'...
32.420601
80
0.682552
[ "object" ]
37bec6e5635ba0ad6eb1aa4ca4099c4e2fa5e137
18,289
cpp
C++
source/game/physics/Physics_Linear.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
2
2021-05-02T18:37:48.000Z
2021-07-18T16:18:14.000Z
source/game/physics/Physics_Linear.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
source/game/physics/Physics_Linear.cpp
JasonHutton/QWTA
7f42dc70eb230cf69a8048fc98d647a486e752f1
[ "MIT" ]
null
null
null
// Copyright (C) 2007 Id Software, Inc. // #include "../precompiled.h" #pragma hdrstop #if defined( _DEBUG ) && !defined( ID_REDIRECT_NEWDELETE ) #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include "Physics_Linear.h" #include "../Entity.h" /* ================...
23.782835
175
0.632675
[ "model", "transform" ]
37c71fae4d636e10e68360d80b8ccb88da71078a
6,517
cpp
C++
src/Application/square.cpp
Airrey97/px4_command
5b43443c49a61ba753debf572e9c7c989983abc9
[ "BSD-3-Clause" ]
140
2019-08-07T13:46:28.000Z
2022-03-25T02:02:56.000Z
src/Application/square.cpp
Airrey97/px4_command
5b43443c49a61ba753debf572e9c7c989983abc9
[ "BSD-3-Clause" ]
5
2019-11-06T09:34:05.000Z
2022-03-18T13:59:35.000Z
src/Application/square.cpp
Airrey97/px4_command
5b43443c49a61ba753debf572e9c7c989983abc9
[ "BSD-3-Clause" ]
71
2019-08-03T02:33:23.000Z
2022-03-14T07:52:14.000Z
/*************************************************************************************************************************** * square.cpp * * Author: Qyp * * Update Time: 2018.8.17 * * 说明: mavros正方形飞行示例程序 * 1. * 2. * 3. ***************************************************************************...
27.382353
124
0.558846
[ "vector" ]
37c7744c63f128331dcf2f5949f2d4adf37b579b
16,910
cpp
C++
apps/generateGrid/generateGrid.cpp
bmatejek/gsvgaps
4beb271167d306ad7e87b214895670f3d7c65dbd
[ "MIT" ]
null
null
null
apps/generateGrid/generateGrid.cpp
bmatejek/gsvgaps
4beb271167d306ad7e87b214895670f3d7c65dbd
[ "MIT" ]
null
null
null
apps/generateGrid/generateGrid.cpp
bmatejek/gsvgaps
4beb271167d306ad7e87b214895670f3d7c65dbd
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////// // Include files //////////////////////////////////////////////////////////////////////// #include "generateGrid.h" using namespace std; //////////////////////////////////////////////////////////////////////// // Command line arguments...
31.607477
144
0.581786
[ "object", "vector" ]
56d887c36594f950ccf82c1ba7616e81e1d73aa1
3,775
cc
C++
client/rust/rustc_include_processor_unittest.cc
craftsland/goma-client
cc1d13f0e8c6338751e74f0df5ecc9858b5aaea0
[ "BSD-3-Clause" ]
null
null
null
client/rust/rustc_include_processor_unittest.cc
craftsland/goma-client
cc1d13f0e8c6338751e74f0df5ecc9858b5aaea0
[ "BSD-3-Clause" ]
null
null
null
client/rust/rustc_include_processor_unittest.cc
craftsland/goma-client
cc1d13f0e8c6338751e74f0df5ecc9858b5aaea0
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Goma 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 "rustc_include_processor.h" #include "glog/logging.h" #include "gtest/gtest.h" namespace devtools_goma { TEST(RustcIncludeProcessorTest, ParseDeps...
27.554745
79
0.576689
[ "vector" ]
56de93c3ff66b8f53c02d356406ff79d9a30c86f
3,362
cpp
C++
examples/week3/MatrixTransformNested/src/MatrixTransformNestedApp.cpp
Hebali/AOGP
4840e009994b77ee23a913dc0d7bae373294936b
[ "BSD-3-Clause" ]
8
2015-02-23T22:10:08.000Z
2021-02-27T16:07:39.000Z
examples/week3/MatrixTransformNested/src/MatrixTransformNestedApp.cpp
Hebali/AOGP
4840e009994b77ee23a913dc0d7bae373294936b
[ "BSD-3-Clause" ]
null
null
null
examples/week3/MatrixTransformNested/src/MatrixTransformNestedApp.cpp
Hebali/AOGP
4840e009994b77ee23a913dc0d7bae373294936b
[ "BSD-3-Clause" ]
3
2016-09-26T08:15:19.000Z
2018-04-01T06:57:55.000Z
////////////////////////////////////////////////// /* Art of Graphics Programming */ /* Taught by Patrick Hebron */ /* Interactive Telecommunications Program (ITP) */ /* New York University */ /* Fall 2014 */ //////////////...
23.843972
106
0.617787
[ "geometry", "3d" ]
56e04344a851ded708b64c55891238c840052376
249
hpp
C++
include/awl/backends/wayland/system/seat/caps_field.hpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
include/awl/backends/wayland/system/seat/caps_field.hpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
include/awl/backends/wayland/system/seat/caps_field.hpp
freundlich/libawl
0d51f388a6b662373058cb51a24ef25ed826fa0f
[ "BSL-1.0" ]
null
null
null
#ifndef AWL_BACKENDS_WAYLAND_SYSTEM_SEAT_CAPS_FIELD_HPP_INCLUDED #define AWL_BACKENDS_WAYLAND_SYSTEM_SEAT_CAPS_FIELD_HPP_INCLUDED #include <awl/backends/wayland/system/seat/caps_field_fwd.hpp> #include <fcppt/container/bitfield/object.hpp> #endif
31.125
64
0.879518
[ "object" ]
56e248c0cdce5a9a9fc4f091df8ca3b808bb1ce5
2,027
cpp
C++
Data Structures and Algorithms/Course 3/Week 4/10_paths_in_graphs_starter_files_2/shortest_paths/shortest_paths2.cpp
rubysubash/Coursera-Specializations
88acc792bbee20e8d9b8d34ff6f7c3072236d6f3
[ "MIT" ]
1
2018-10-22T09:29:16.000Z
2018-10-22T09:29:16.000Z
Data Structures and Algorithms/Course 3/Week 4/10_paths_in_graphs_starter_files_2/shortest_paths/shortest_paths2.cpp
ysx18818/Coursera-Specializations
da99ce4fab63eb3df62eb4e5faa84ffa7b1746d0
[ "MIT" ]
null
null
null
Data Structures and Algorithms/Course 3/Week 4/10_paths_in_graphs_starter_files_2/shortest_paths/shortest_paths2.cpp
ysx18818/Coursera-Specializations
da99ce4fab63eb3df62eb4e5faa84ffa7b1746d0
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <vector> #include <string> #include <algorithm> #include <climits> #include <set> #include <queue> #define MAX(x,y) ((x)>(y)?(x):(y)) #define MIN(x,y) ((x)<(y)?(x):(y)) #define pb push_back #define mp make_pair #define rep(i,n) for(i=0;i<n;i++) #define repr(i,j,n) for(i=j...
22.032609
55
0.475086
[ "vector" ]
56e714ff02ac5c8d4b7d08856aa8adf821ad6d55
18,766
cpp
C++
src/visitor/interpreter.cpp
carlosebmachado/minilang-interpreter
a27a55cd9304afe874d019ca438ab0a0b61ab683
[ "MIT" ]
null
null
null
src/visitor/interpreter.cpp
carlosebmachado/minilang-interpreter
a27a55cd9304afe874d019ca438ab0a0b61ab683
[ "MIT" ]
null
null
null
src/visitor/interpreter.cpp
carlosebmachado/minilang-interpreter
a27a55cd9304afe874d019ca438ab0a0b61ab683
[ "MIT" ]
null
null
null
// // Created by lukec on 04/05/18. // #include <iostream> #include "interpreter.h" using namespace visitor; bool InterpreterScope::already_declared(std::string identifier) { return variable_symbol_table.find(identifier) != variable_symbol_table.end(); } bool InterpreterScope::already_declared(std::string id...
34.816327
112
0.611958
[ "vector" ]
56efd6657d7774b853b15af46463016c93d05df5
18,462
cpp
C++
src/prod/src/Naming/ServiceGroupServiceDescription.test.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Naming/ServiceGroupServiceDescription.test.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Naming/ServiceGroupServiceDescription.test.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include...
43.135514
119
0.711624
[ "vector" ]
56f43df6647f53434dc1068e6a487238ca9a626f
4,588
cc
C++
src/tests/grid/test_spacing.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
67
2018-03-01T06:56:49.000Z
2022-03-08T18:44:47.000Z
src/tests/grid/test_spacing.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
93
2018-12-07T17:38:04.000Z
2022-03-31T10:04:51.000Z
src/tests/grid/test_spacing.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
33
2018-02-28T17:06:19.000Z
2022-01-20T12:12:27.000Z
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
32.771429
103
0.554054
[ "vector" ]
56f5d869adeeccaad0828e40c0a577a9aa9abdac
9,933
cpp
C++
hardware/aw/displayd/DisplayManager.cpp
ghsecuritylab/Android-7.0
e65af741a5cd5ac6e49e8735b00b456d00f6c0d0
[ "MIT" ]
10
2020-04-17T04:02:36.000Z
2021-11-23T11:38:42.000Z
hardware/aw/displayd/DisplayManager.cpp
ghsecuritylab/Android-7.0
e65af741a5cd5ac6e49e8735b00b456d00f6c0d0
[ "MIT" ]
3
2020-02-19T16:53:25.000Z
2021-04-29T07:28:40.000Z
hardware/aw/displayd/DisplayManager.cpp
ghsecuritylab/Android-7.0
e65af741a5cd5ac6e49e8735b00b456d00f6c0d0
[ "MIT" ]
5
2019-12-25T04:05:02.000Z
2022-01-14T16:57:55.000Z
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
25.339286
81
0.737642
[ "vector" ]
56f845338881f440c8dacdf85d1c8c5722da52fc
10,578
hpp
C++
include/private/coherence/run/xml/XmlToken.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
include/private/coherence/run/xml/XmlToken.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
include/private/coherence/run/xml/XmlToken.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_XML_TOKEN_HPP #define COH_XML_TOKEN_HPP #include "coherence/lang.ns" #include "private/coherence/dev/compiler/Token.hpp" COH_OPE...
28.208
77
0.541218
[ "object" ]
7102790200bb67d9e14d26c85b2244b4b6db13f9
852
cpp
C++
test_009.cpp
AlexRogalskiy/cplus
4f0f78ae2da8857807d4bf8fcef22b3e75696524
[ "MIT" ]
null
null
null
test_009.cpp
AlexRogalskiy/cplus
4f0f78ae2da8857807d4bf8fcef22b3e75696524
[ "MIT" ]
null
null
null
test_009.cpp
AlexRogalskiy/cplus
4f0f78ae2da8857807d4bf8fcef22b3e75696524
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> template <class T, class U> class Conversion { typedef char Small; class Big { char dummy[2]; }; static Small Test(const U&); static Big Test(...); static T MakeT(); public: enum { exists = sizeof(Test(MakeT())) == sizeof(Small), sameType = false }; }; tem...
24.342857
117
0.616197
[ "vector" ]
711199f3be786f325793f337f08e48be9540f142
1,848
cpp
C++
Sid's Levels/InterviewBit/Backtracking/Rat In a Maze.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Levels/InterviewBit/Backtracking/Rat In a Maze.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Levels/InterviewBit/Backtracking/Rat In a Maze.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
//OM GAN GANAPATHAYE NAMO NAMAH //JAI SHRI RAM //JAI BAJRANGBALI //AMME NARAYANA, DEVI NARAYANA, LAKSHMI NARAYANA, BHADRE NARAYANA class Solution{ public: bool isSafe(vector<vector<int>> m, vector<vector<bool>> visited, int r, int c, int n) { if(r < 0 || r >= n || c < 0 || c >= n || m[r][c] == 0 ...
30.8
128
0.488095
[ "vector" ]
7113ce146f3d97191e9247698d1ae019f6b62e77
1,513
hpp
C++
EigenSolver.hpp
swillow/w-qcmol
b278417ca8b9eaf08c4a0712e295bdf5ac18595a
[ "BSD-3-Clause" ]
2
2018-02-19T22:13:38.000Z
2018-02-19T22:13:42.000Z
EigenSolver.hpp
swillow/w-qcmol
b278417ca8b9eaf08c4a0712e295bdf5ac18595a
[ "BSD-3-Clause" ]
null
null
null
EigenSolver.hpp
swillow/w-qcmol
b278417ca8b9eaf08c4a0712e295bdf5ac18595a
[ "BSD-3-Clause" ]
null
null
null
#ifndef EIGEN_SOLVER_H #define EIGEN_SOLVER_H #include <cassert> #include <armadillo> namespace willow { namespace qcmol { class EigenSolver { public: EigenSolver (): m_is_init(false), m_eig_vals(), m_eig_vecs() {} // Sinvh.n_rows = nbf // Sinvh.n_cols = nmo // F.n_rows = nbf // F.n_cols = nbf // so...
19.151899
66
0.622604
[ "transform" ]
7117fe5aac45cfe93c8b967e29360e3daea46216
7,105
cc
C++
apps/my_app.cc
CS126SP20/final-project-elaughead
879cc2cfb5e5f70f85f97a598f657ce79d3df14b
[ "MIT" ]
null
null
null
apps/my_app.cc
CS126SP20/final-project-elaughead
879cc2cfb5e5f70f85f97a598f657ce79d3df14b
[ "MIT" ]
null
null
null
apps/my_app.cc
CS126SP20/final-project-elaughead
879cc2cfb5e5f70f85f97a598f657ce79d3df14b
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Emily Laughead. All rights reserved. #include "my_app.h" #include <cinder/app/App.h> #include <cinder/gl/draw.h> #include <cinder/gl/wrapper.h> #include <stdint.h> #include <stdlib.h> #include "CinderImGui.h" using namespace ci; using namespace ci::app; namespace myapp { using cinder::app::Key...
26.217712
107
0.604785
[ "shape", "vector" ]
711910440ace0db7e7c873e53b24492960f1f4f4
5,001
cpp
C++
AWBTree/main.cpp
shiwanghua/matching-algorithm
a09714b76d8722a7891b72f4740948814369b40e
[ "MIT" ]
14
2019-01-18T12:56:27.000Z
2020-12-09T12:31:21.000Z
AWBTree/main.cpp
shiwanghua/matching-algorithm
a09714b76d8722a7891b72f4740948814369b40e
[ "MIT" ]
null
null
null
AWBTree/main.cpp
shiwanghua/matching-algorithm
a09714b76d8722a7891b72f4740948814369b40e
[ "MIT" ]
8
2019-03-11T13:22:32.000Z
2021-04-27T04:18:57.000Z
#include<iostream> #include<fstream> #include"AWBTree.h" using namespace std; int main(int argc, char** argv) { int subs; // Number of subscriptions. int pubs; // Number of publications. int atts; // Total number of attributes, i.e. dimensions. int cons; // Number of constr...
39.690476
157
0.59948
[ "vector" ]