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
f836f69ff7160bb3952b68ff60a659804964a376
2,978
cxx
C++
vital/types/object_track_set.cxx
neal-siekierski/kwiver
1c97ad72c8b6237cb4b9618665d042be16825005
[ "BSD-3-Clause" ]
1
2020-10-14T18:22:42.000Z
2020-10-14T18:22:42.000Z
vital/types/object_track_set.cxx
neal-siekierski/kwiver
1c97ad72c8b6237cb4b9618665d042be16825005
[ "BSD-3-Clause" ]
null
null
null
vital/types/object_track_set.cxx
neal-siekierski/kwiver
1c97ad72c8b6237cb4b9618665d042be16825005
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +29 * Copyright 2013-2017, 2019 by Kitware, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * t...
31.020833
81
0.733714
[ "vector" ]
f8395e97846e46c88984c384bfad2d2d9a0e3d30
231
cpp
C++
bindings/python/file.cpp
jbx81-1337/binlex
ea8bedd0283a57ac55d1d8844c83f7a5d20a6c9c
[ "Unlicense" ]
null
null
null
bindings/python/file.cpp
jbx81-1337/binlex
ea8bedd0283a57ac55d1d8844c83f7a5d20a6c9c
[ "Unlicense" ]
null
null
null
bindings/python/file.cpp
jbx81-1337/binlex
ea8bedd0283a57ac55d1d8844c83f7a5d20a6c9c
[ "Unlicense" ]
null
null
null
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "file.h" #include <vector> namespace py = pybind11; void init_file(py::module &handle){ py::class_<binlex::File>(handle, "File", "Binlex File (Base) Module"); }
21
72
0.701299
[ "vector" ]
f83c7c1987a55675a3d16445a86a9ef93250dc1f
7,978
hpp
C++
bsengine/src/bstorm/obj_shot.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/obj_shot.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/obj_shot.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
#pragma once #include <bstorm/point2D.hpp> #include <bstorm/vertex.hpp> #include <bstorm/obj_render.hpp> #include <bstorm/obj_move.hpp> #include <bstorm/obj_col.hpp> #include <list> #include <deque> namespace bstorm { class ShotData; class ShotIntersection; class ShotCounter; class ObjShot : public ObjRender, publi...
32.430894
133
0.725244
[ "render", "vector" ]
f843abfb1fbf31a9a282e94a1e173396094e4813
711
cc
C++
src/leetcode/linklist_test.cc
zhaozigu/algs-multi-langs
65ef5fc6df6236064a5c81e5bb7e99c4bae044a7
[ "CNRI-Python" ]
null
null
null
src/leetcode/linklist_test.cc
zhaozigu/algs-multi-langs
65ef5fc6df6236064a5c81e5bb7e99c4bae044a7
[ "CNRI-Python" ]
null
null
null
src/leetcode/linklist_test.cc
zhaozigu/algs-multi-langs
65ef5fc6df6236064a5c81e5bb7e99c4bae044a7
[ "CNRI-Python" ]
null
null
null
#include "gtest/gtest.h" #include <vector> using namespace ::testing; using namespace std; #include "linklist.hpp" TEST(treenode, BuildLinkedListByOneElement) { ListNode root(1); vector<int> ins = {2}; vector<int> out = {1, 2}; ASSERT_EQ(out, LinkToArray(PushBackList(&root, ins))); DestroyLinkList(&root); } ...
22.21875
57
0.704641
[ "vector" ]
f8535063ede6b7be7aa06bd7177dbc58dd6d3287
7,060
cpp
C++
src/Index/src/DocumentFrequencyTable.cpp
jasonfeihe/BitFunnel
859f3038e1978d066426ebaef17354c8ec408402
[ "MIT" ]
364
2016-08-08T21:45:24.000Z
2022-03-27T13:46:51.000Z
src/Index/src/DocumentFrequencyTable.cpp
jasonfeihe/BitFunnel
859f3038e1978d066426ebaef17354c8ec408402
[ "MIT" ]
321
2016-08-08T22:00:28.000Z
2020-11-30T23:03:16.000Z
src/Index/src/DocumentFrequencyTable.cpp
jasonfeihe/BitFunnel
859f3038e1978d066426ebaef17354c8ec408402
[ "MIT" ]
44
2016-08-14T16:20:29.000Z
2021-10-03T07:46:26.000Z
// The MIT License (MIT) // Copyright (c) 2016, Microsoft // 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...
29.663866
100
0.572663
[ "vector" ]
f85fb36405a7cefe6498f306959ec397284cbc5e
4,908
hpp
C++
data/train/cpp/e7fa6d74cb11d364357a907ed9fae4a04265e0f9tool_locator.hpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/cpp/e7fa6d74cb11d364357a907ed9fae4a04265e0f9tool_locator.hpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/cpp/e7fa6d74cb11d364357a907ed9fae4a04265e0f9tool_locator.hpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
/****************************************************************************** BigWorld Technology Copyright BigWorld Pty, Ltd. All Rights Reserved. Commercial in confidence. WARNING: This computer program is protected by copyright law and international treaties. Unauthorized use, reproduction or distribution of this...
28.206897
139
0.729829
[ "transform" ]
f861dd2889ad04b5babfb65ac885640d5fc11fec
15,290
cpp
C++
src/gl/gltex.cpp
eckserah/nifskope_updated
f037410e824263b8351b8b85da91e33cfc7a4b19
[ "RSA-MD" ]
4
2022-02-06T03:21:00.000Z
2022-02-09T17:39:09.000Z
src/gl/gltex.cpp
eckserah/nifskope_updated
f037410e824263b8351b8b85da91e33cfc7a4b19
[ "RSA-MD" ]
null
null
null
src/gl/gltex.cpp
eckserah/nifskope_updated
f037410e824263b8351b8b85da91e33cfc7a4b19
[ "RSA-MD" ]
2
2022-02-09T17:39:11.000Z
2022-03-31T03:55:53.000Z
/***** BEGIN LICENSE BLOCK ***** BSD License Copyright (c) 2005-2015, NIF File Format Library and Tools 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...
26.136752
127
0.659778
[ "render", "model" ]
f86374a46e5011b635a5b9af1527f4488065b9f9
3,599
cpp
C++
dev/opengl_tests/qt/build-qt_opengl_widget-Desktop_Qt_5_9_0_MSVC2013_64bit-Debug/debug/moc_glmainwindow.cpp
gilson27/amaryllis
58e7afa31d2637038fc846b3456ad6a557be84d0
[ "MIT" ]
null
null
null
dev/opengl_tests/qt/build-qt_opengl_widget-Desktop_Qt_5_9_0_MSVC2013_64bit-Debug/debug/moc_glmainwindow.cpp
gilson27/amaryllis
58e7afa31d2637038fc846b3456ad6a557be84d0
[ "MIT" ]
null
null
null
dev/opengl_tests/qt/build-qt_opengl_widget-Desktop_Qt_5_9_0_MSVC2013_64bit-Debug/debug/moc_glmainwindow.cpp
gilson27/amaryllis
58e7afa31d2637038fc846b3456ad6a557be84d0
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'glmainwindow.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0) ** ** WARNING! All changes made in this file will be lost! **************************************************...
31.025862
97
0.612114
[ "object" ]
d379afdcfca9faeaec90718f3ca72746a720378e
9,332
hpp
C++
include/System/Net/FtpDataStream.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Net/FtpDataStream.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Net/FtpDataStream.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.IO.Stream #include "System/IO/Stream.hpp" #include "extern/bea...
48.352332
287
0.694921
[ "object" ]
d384958d4f6eed7e217f42b0210ba9156959de39
6,215
cpp
C++
Source/Game/CharacterHandler.cpp
igorsegallafa/UrhoMMO
fd389d9722f32b0dc90dff746138213471503820
[ "MIT" ]
8
2020-02-06T13:14:13.000Z
2020-11-03T06:26:04.000Z
Source/Game/CharacterHandler.cpp
igorsegallafa/UrhoMMO
fd389d9722f32b0dc90dff746138213471503820
[ "MIT" ]
null
null
null
Source/Game/CharacterHandler.cpp
igorsegallafa/UrhoMMO
fd389d9722f32b0dc90dff746138213471503820
[ "MIT" ]
6
2019-06-19T00:24:16.000Z
2020-12-08T05:03:59.000Z
#include "PrecompiledHeader.h" #include "CharacterHandler.h" CharacterHandler::CharacterHandler( Context* context ) : HandlerImpl( context ), characterNodeID_( -1 ), character_( nullptr ), isWalking_( false ), animationToSet_( 0, false ), selectedNode_( nullptr ), hoveredNode_( nullptr ), ...
32.202073
142
0.641512
[ "mesh" ]
d384a4cb66a4c34538378398bab7057a484ee580
932
cpp
C++
GameEngine/CoreEngine/CoreEngine/src/ObjectTemplate.meta.cpp
mettaursp/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
1
2021-01-17T13:05:20.000Z
2021-01-17T13:05:20.000Z
GameEngine/CoreEngine/CoreEngine/src/ObjectTemplate.meta.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
GameEngine/CoreEngine/CoreEngine/src/ObjectTemplate.meta.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
#include "ObjectTemplate.h" // use these as shortcuts to open the other templates with reflection examples // #include "TypeTemplate.meta.cpp" // #include "InheritedTemplate.meta.cpp" namespace ExampleNamespace { using Engine::Object; Reflect_Inherited(ObjectTemplate, Object, Document_Class( "----------------...
37.28
119
0.68133
[ "object" ]
d3851a546bcc098eba86535e6510a02c2210734a
640
cpp
C++
src/algorithms/implementation/divisible_sum_pairs/divisible_sum_pairs.cpp
bmgandre/hackerrank-cpp
f4af5777afba233c284790e02c0be7b82108c677
[ "MIT" ]
null
null
null
src/algorithms/implementation/divisible_sum_pairs/divisible_sum_pairs.cpp
bmgandre/hackerrank-cpp
f4af5777afba233c284790e02c0be7b82108c677
[ "MIT" ]
null
null
null
src/algorithms/implementation/divisible_sum_pairs/divisible_sum_pairs.cpp
bmgandre/hackerrank-cpp
f4af5777afba233c284790e02c0be7b82108c677
[ "MIT" ]
null
null
null
#include "divisible_sum_pairs.h" #include <iostream> #include <string> #include <vector> using namespace hackerrank::bmgandre::algorithms::implementation; /// Practice>Algorithms>Implementation>Divisible Sum Pairs /// /// https://www.hackerrank.com/challenges/divisible-sum-pairs void divisible_sum_pairs::solve() { a...
19.393939
65
0.6
[ "vector" ]
d3853962c40c254431d453ff1432963c8e2a31de
1,611
cpp
C++
cpp/ast/LILValueList.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
6
2021-01-02T16:36:28.000Z
2022-01-23T21:50:29.000Z
cpp/ast/LILValueList.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
cpp/ast/LILValueList.cpp
veosotano/lil
27ef338e7e21403acf2b0202f7db8ef662425d44
[ "MIT" ]
null
null
null
/******************************************************************** * * LIL Is a Language * * AUTHORS: Miro Keller * * COPYRIGHT: ©2020-today: All Rights Reserved * * LICENSE: see LICENSE file * * This file holds multiple values separated by commas * *****************************...
19.646341
72
0.61018
[ "vector" ]
d388e04ad6036281d63ec8731a5c494f1b9f60e2
301
cpp
C++
Codeforces/Div2/theaterSquare.cpp
SanchitTaliyan/Codes
7b714f9981c50dfdc6c5045446f95a0f4a3aeb22
[ "MIT" ]
1
2020-11-05T03:32:27.000Z
2020-11-05T03:32:27.000Z
Codeforces/Div2/theaterSquare.cpp
SanchitTaliyan/Codes
7b714f9981c50dfdc6c5045446f95a0f4a3aeb22
[ "MIT" ]
null
null
null
Codeforces/Div2/theaterSquare.cpp
SanchitTaliyan/Codes
7b714f9981c50dfdc6c5045446f95a0f4a3aeb22
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <vector> using namespace std; int main() { int n, m, a; cin >> n >> m >> a; //cout << ceil(n/a) << "\n"; //cout <<ceil(m/a)<< "\n"; unsigned long long ans = ceil((double)m/a) * ceil((double)n/a); cout << ans; return 0; }
15.05
67
0.51495
[ "vector" ]
d38f7dfc84666276091fd4eef7e8d2bbfe2e2f47
1,736
cpp
C++
21.merge_two_sorted_lists.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
5
2019-09-12T05:23:44.000Z
2021-11-15T11:19:39.000Z
21.merge_two_sorted_lists.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
18
2019-09-23T13:11:06.000Z
2019-11-09T11:20:17.000Z
21.merge_two_sorted_lists.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
null
null
null
/* * Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. * * Example: * * Input: 1->2->4, 1->3->4 * Output: 1->1->2->3->4->4 */ #include "include/header/list.hpp" #include <vector> using namespace std; class Solution { pu...
20.666667
144
0.367512
[ "vector" ]
d396c028a307b9234a2d841ce6c713bb8b5d5210
5,582
cpp
C++
libnorth/src/Targets/IR/Utils.cpp
lzmru/north
cc6c17d3049c514b5c754beed7be4170ef380864
[ "MIT" ]
null
null
null
libnorth/src/Targets/IR/Utils.cpp
lzmru/north
cc6c17d3049c514b5c754beed7be4170ef380864
[ "MIT" ]
null
null
null
libnorth/src/Targets/IR/Utils.cpp
lzmru/north
cc6c17d3049c514b5c754beed7be4170ef380864
[ "MIT" ]
null
null
null
//===--- IR/Utils.cpp - Transformation AST to LLVM IR -----------*- C++ -*-===// // // The North Compiler Infrastructure // // This file is distributed under the MIT License. // See LICENSE.TXT for details. // //===---------------------------------------------...
34.8875
99
0.614475
[ "vector" ]
d398407d620c8bcc13e2420e8f64ad1eeeb7a9d2
1,235
cpp
C++
URI Online Judge/1152 - Estradas Escuras/1152 - Estradas Escuras.cpp
MarcoRhayden/Uri-Online-Judge
92bed9fd0e5455686d54500f8e36588d6518f1b3
[ "MIT" ]
1
2019-03-29T11:52:44.000Z
2019-03-29T11:52:44.000Z
URI Online Judge/1152 - Estradas Escuras/1152 - Estradas Escuras.cpp
MarcoRhayden/Uri-Online-Judge
92bed9fd0e5455686d54500f8e36588d6518f1b3
[ "MIT" ]
null
null
null
URI Online Judge/1152 - Estradas Escuras/1152 - Estradas Escuras.cpp
MarcoRhayden/Uri-Online-Judge
92bed9fd0e5455686d54500f8e36588d6518f1b3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> subset; struct Graph { int x, y, z; }; bool compare(Graph A, Graph B) { return (A.z < B.z); } void make(int vertexes) { for (int x = 0; x < vertexes; x++) subset[x] = x; } int find(int v) { return ((subset[v] == v) ? v : subset[v] = ...
20.932203
64
0.460729
[ "vector" ]
d398f32398c1b23327750778bc8e0cab500c0d59
836
cpp
C++
TerzaLezione/product-of-array.cpp
NeverMendel/Competitive-Programming-Risorse
e75c28394a38ecc6c28b3ec4b9311fdf6b6ea8ed
[ "MIT" ]
null
null
null
TerzaLezione/product-of-array.cpp
NeverMendel/Competitive-Programming-Risorse
e75c28394a38ecc6c28b3ec4b9311fdf6b6ea8ed
[ "MIT" ]
null
null
null
TerzaLezione/product-of-array.cpp
NeverMendel/Competitive-Programming-Risorse
e75c28394a38ecc6c28b3ec4b9311fdf6b6ea8ed
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; /* Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i]. You don't have to worry about integer overflow. You cannot use the division operation. Example Input...
20.390244
77
0.584928
[ "vector" ]
d39969a4486b1103f483c158d57514636bfae549
2,643
cpp
C++
src/Algorithms/AuxFunctions.cpp
vhavlena/ranker
837a98b462ea92769c82bf6f1678cc40d63937b0
[ "MIT" ]
null
null
null
src/Algorithms/AuxFunctions.cpp
vhavlena/ranker
837a98b462ea92769c82bf6f1678cc40d63937b0
[ "MIT" ]
null
null
null
src/Algorithms/AuxFunctions.cpp
vhavlena/ranker
837a98b462ea92769c82bf6f1678cc40d63937b0
[ "MIT" ]
null
null
null
#include "AuxFunctions.h" namespace Aux { /* * Count equivalence classes in the maximal equivalence fragment of a give relation. * @param n Number of elements of a set * @param st Set of states * @return Number of classes */ int countEqClasses(int n, set<int>& st, set<pair<int, int>>& rel) { vector<int> cl(n);...
20.488372
84
0.575861
[ "vector" ]
d39ecaaa96bfa9f2c263effeaaa169aa13f8a95f
4,857
cpp
C++
mmap.cpp
devcybiko/mmap
98f9c53a424fff70940cd57de275d249e8128716
[ "MIT" ]
null
null
null
mmap.cpp
devcybiko/mmap
98f9c53a424fff70940cd57de275d249e8128716
[ "MIT" ]
null
null
null
mmap.cpp
devcybiko/mmap
98f9c53a424fff70940cd57de275d249e8128716
[ "MIT" ]
null
null
null
#include <node.h> #include <node_buffer.h> #include <sys/mman.h> #include <unistd.h> #include <errno.h> struct hint_wrap { size_t length; }; static void Map_finalise(char *data, void*hint_void) { struct hint_wrap *h = (struct hint_wrap *)hint_void; if(h->length > 0) { munmap(data, h->length); } delete h; } ...
33.267123
125
0.715874
[ "object" ]
d3b5ec35561d18fd2914c7e2c154671d17c7c5ed
4,039
cpp
C++
Shooter/GameState/StateOverworld.cpp
mschrandt/Personal-Projects
7d4200176a7ebbff3233a86c870da910217c3a4e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
Shooter/GameState/StateOverworld.cpp
mschrandt/Personal-Projects
7d4200176a7ebbff3233a86c870da910217c3a4e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
Shooter/GameState/StateOverworld.cpp
mschrandt/Personal-Projects
7d4200176a7ebbff3233a86c870da910217c3a4e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#include "StateOverworld.h" #include "StateMachine.h" StateOverworld::StateOverworld(StateMachine* p) : parent(p), map("resources/testMap.txt") , view(sf::FloatRect(0, 0, (float)VISIBLE_W, (float)VISIBLE_H))//view(0, 0, SCREEN_W, SCREEN_H) { initKeyboard(); } void StateOverworld::handleEvents(sf::Event& ev) { if(e...
22.691011
185
0.670463
[ "vector" ]
d3d018c12cca477165043b7d062d9aedc683619e
7,890
cpp
C++
cpp/geometric_quantities.cpp
jorgensd/asimov-contact
08704ade6343c346bc54dfd38186983cc7ab4485
[ "MIT" ]
null
null
null
cpp/geometric_quantities.cpp
jorgensd/asimov-contact
08704ade6343c346bc54dfd38186983cc7ab4485
[ "MIT" ]
null
null
null
cpp/geometric_quantities.cpp
jorgensd/asimov-contact
08704ade6343c346bc54dfd38186983cc7ab4485
[ "MIT" ]
null
null
null
// Copyright (C) 2021-2022 Sarah Roggendorf and Jørgen S. Dokken // // This file is part of DOLFINx_CONTACT // // SPDX-License-Identifier: MIT #include "geometric_quantities.h" #include <xtensor/xbuilder.hpp> #include <xtensor/xtensor.hpp> using namespace dolfinx_contact; void dolfinx_contact::pull_back_nonaffine...
39.253731
80
0.592269
[ "mesh", "geometry", "shape", "transform" ]
d3d0520a669599b6bee3dd12adb79d557043049a
6,200
cpp
C++
inference_cls.cpp
jackx2006/DFQ
6f15805cfdbf2769275defd54728df0a5d30dbc6
[ "MIT" ]
196
2019-11-10T10:54:52.000Z
2022-03-23T10:30:38.000Z
inference_cls.cpp
jackx2006/DFQ
6f15805cfdbf2769275defd54728df0a5d30dbc6
[ "MIT" ]
41
2019-11-11T16:20:57.000Z
2022-01-13T01:50:44.000Z
inference_cls.cpp
jackx2006/DFQ
6f15805cfdbf2769275defd54728df0a5d30dbc6
[ "MIT" ]
33
2019-12-18T07:44:52.000Z
2021-10-16T02:24:15.000Z
// Tencent is pleased to support the open source community by making ncnn available. // // Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy ...
31.313131
163
0.606613
[ "vector" ]
d3d72a4d422a8bdde6d0c41ab1a000d68ad390c0
11,400
hpp
C++
src/editor/renderers/line_renderer.hpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
36
2021-05-03T10:47:49.000Z
2022-03-19T12:54:03.000Z
src/editor/renderers/line_renderer.hpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
29
2020-05-17T08:26:31.000Z
2022-03-27T08:52:47.000Z
src/editor/renderers/line_renderer.hpp
tksuoran/erhe
07d1ea014e1675f6b09bff0d9d4f3568f187e0d8
[ "Apache-2.0" ]
2
2022-01-24T09:24:37.000Z
2022-01-31T20:45:36.000Z
#pragma once #include "erhe/components/component.hpp" #include "erhe/graphics/buffer.hpp" #include "erhe/graphics/configuration.hpp" #include "erhe/graphics/fragment_outputs.hpp" #include "erhe/graphics/pipeline.hpp" #include "erhe/graphics/pipeline.hpp" #include "erhe/graphics/shader_resource.hpp" #include "erhe/grap...
32.758621
110
0.550702
[ "render", "vector", "transform" ]
d3da6cc7ddfcaff8a4e4327132ffd82e1aa9ab0a
1,827
cpp
C++
gurobi912/linux64/examples/c++/params_c++.cpp
UtileFuzzball/test_eran
34d5f49dd4cac2a95cb915499a57a8a11829b93e
[ "Apache-2.0" ]
null
null
null
gurobi912/linux64/examples/c++/params_c++.cpp
UtileFuzzball/test_eran
34d5f49dd4cac2a95cb915499a57a8a11829b93e
[ "Apache-2.0" ]
null
null
null
gurobi912/linux64/examples/c++/params_c++.cpp
UtileFuzzball/test_eran
34d5f49dd4cac2a95cb915499a57a8a11829b93e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021, Gurobi Optimization, LLC */ /* Use parameters that are associated with a model. A MIP is solved for a few seconds with different sets of parameters. The one with the smallest MIP gap is selected, and the optimization is resumed until the optimal solution is found. */ #include "gurobi_c++....
23.126582
71
0.603722
[ "model" ]
d3e0c0a5be9946eb4cdb0fd163feb5fa3a2cc5b3
31,143
cc
C++
src/engines/knapp-mic/knapp-mic.cc
ANLAB-KAIST/NBA
a093a72af32ccdc041792a01ae65a699294470cd
[ "MIT" ]
61
2015-03-25T04:49:09.000Z
2020-11-24T08:36:19.000Z
src/engines/knapp-mic/knapp-mic.cc
ANLAB-KAIST/NBA
a093a72af32ccdc041792a01ae65a699294470cd
[ "MIT" ]
32
2015-04-29T08:20:39.000Z
2017-02-09T22:49:37.000Z
src/engines/knapp-mic/knapp-mic.cc
ANLAB-KAIST/NBA
a093a72af32ccdc041792a01ae65a699294470cd
[ "MIT" ]
11
2015-07-24T22:48:05.000Z
2020-09-10T11:48:47.000Z
#include <nba/engines/knapp/defs.hh> #include <nba/engines/knapp/mictypes.hh> #include <nba/engines/knapp/sharedtypes.hh> #include <nba/engines/knapp/sharedutils.hh> #include <nba/engines/knapp/micintrinsic.hh> #include <nba/engines/knapp/micbarrier.hh> #include <nba/engines/knapp/micutils.hh> #include <nba/engines/kna...
38.977472
128
0.577176
[ "vector" ]
d3ec1fb06d496a5c677f728c3a8e63b151e35e47
12,185
cc
C++
server-src/internal-api.cc
Lalaland/DataChannelServer
349caa6070795345b61689b6db088b302110c3b6
[ "MIT" ]
25
2016-07-22T12:08:37.000Z
2021-03-13T00:47:14.000Z
server-src/internal-api.cc
Lalaland/DataChannelServer
349caa6070795345b61689b6db088b302110c3b6
[ "MIT" ]
null
null
null
server-src/internal-api.cc
Lalaland/DataChannelServer
349caa6070795345b61689b6db088b302110c3b6
[ "MIT" ]
11
2016-12-27T05:54:11.000Z
2020-05-29T08:31:33.000Z
#include "DataChannelServer/server-src/internal-api.h" #include "webrtc/api/peerconnectioninterface.h" #include "webrtc/api/test/fakeconstraints.h" #include "webrtc/base/json.h" #include <cstdio> struct ProcessingThread { std::unique_ptr<rtc::Thread> thread; rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterf...
30.235732
99
0.701847
[ "vector" ]
d3f268e3820180474d1dea5d9a8db57dc69213b2
9,773
cpp
C++
ElE/ElE.cpp
Paruck/ElE
ce352f8e6ad71f22dd6ce2558045a7fed1583194
[ "MIT" ]
1
2017-08-29T04:32:16.000Z
2017-08-29T04:32:16.000Z
ElE/ElE.cpp
Paruck/ElE
ce352f8e6ad71f22dd6ce2558045a7fed1583194
[ "MIT" ]
null
null
null
ElE/ElE.cpp
Paruck/ElE
ce352f8e6ad71f22dd6ce2558045a7fed1583194
[ "MIT" ]
null
null
null
#include "ElE.h" #include "ElEMainScene.h" ElEGraphicsComponents ElE::graphicsComp; ElEAudioComponents ElE::audioComp; ElEPhysicsComponents ElE::physicsComp; ElEint ElE::setFlags; ElEuint ElE::screenWidth, ElE::screenHeight; MotorFlags ElE::motorFlags; ElEWindow* El...
22.675174
136
0.712268
[ "render", "vector" ]
d3f488ab1c12392cf5ad4c3970fe4a6fe586fadb
1,320
cpp
C++
Data Structure I/88.cpp
felixny/LeetCode
9f76dad8063187e10d848228ea5b1a8a875d1894
[ "MIT" ]
null
null
null
Data Structure I/88.cpp
felixny/LeetCode
9f76dad8063187e10d848228ea5b1a8a875d1894
[ "MIT" ]
null
null
null
Data Structure I/88.cpp
felixny/LeetCode
9f76dad8063187e10d848228ea5b1a8a875d1894
[ "MIT" ]
null
null
null
// 88. Merge Sorted Array #include <algorithm> #include <iostream> #include <map> #include <vector> using namespace std; void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) { /* map<int, bool> map; for (int i = 0; i < m; i++) { map[nums1[i]] = true; } for (int i = 0; i < n; i++) { map[n...
18.591549
79
0.501515
[ "vector" ]
108b602844c02f7e7db71029f6e5d4db8aa18f42
1,302
hpp
C++
src/geometry/geometry.hpp
bwiberg/position-based-dynamics
cde7665df830f2e4625aad8ec1e76247c7ae5623
[ "WTFPL" ]
33
2016-11-18T02:37:31.000Z
2021-11-13T10:00:35.000Z
src/geometry/geometry.hpp
bwiberg/position-based-dynamics
cde7665df830f2e4625aad8ec1e76247c7ae5623
[ "WTFPL" ]
null
null
null
src/geometry/geometry.hpp
bwiberg/position-based-dynamics
cde7665df830f2e4625aad8ec1e76247c7ae5623
[ "WTFPL" ]
3
2017-10-24T17:36:12.000Z
2019-03-21T07:21:32.000Z
#pragma once #include <vector> #include <CL/cl.hpp> #include <glm/glm.hpp> #define ATTR_PACKED __attribute__ ((__packed__)) namespace pbd { enum VertexAttributes { POSITION = 0, NORMAL = 1, TEX_COORD = 2, COLOR = 3, VELOCITY = 4, MASS = 5 }; /** * Hos...
23.672727
81
0.580645
[ "mesh", "vector" ]
1096cf4d4596c07b9e1463311163f7afd13ae2fd
3,990
cpp
C++
LightOJ/LightOJ - 1150/Time Limit Exceeded.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
LightOJ/LightOJ - 1150/Time Limit Exceeded.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
LightOJ/LightOJ - 1150/Time Limit Exceeded.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2018-05-16 19:55:31 * solution_verdict: Time Limit Exceeded language: C++ * run...
21.803279
111
0.422306
[ "vector" ]
109c8919f050a1ce2716ad5db578b45265ac8ed6
1,146
cpp
C++
CppSTL/Chapter1/vectors/transform_une.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
CppSTL/Chapter1/vectors/transform_une.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
CppSTL/Chapter1/vectors/transform_une.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
#include <iostream> #include <vector> #include <algorithm> // trasnform function using namespace std; template<class T> T SQRT(T num) { return (num<=0) ? 0 : num*num; } template<class T> T CUBE(T num) { return (num<=0) ? 0 : num*num*num; } template<class T> void PRINT(const vector<T> &vec) { for(const...
20.836364
71
0.546248
[ "vector", "transform" ]
109ccf888d0577cb2b105aabb34e0da4f7efd77c
3,780
cpp
C++
src/tools/HonViewer/FilesView.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
10
2015-03-04T04:27:15.000Z
2020-06-04T14:06:47.000Z
src/tools/HonViewer/FilesView.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
null
null
null
src/tools/HonViewer/FilesView.cpp
wangyanxing/Demi3D
73e684168bd39b894f448779d41fab600ba9b150
[ "MIT" ]
5
2015-10-17T19:09:58.000Z
2021-11-15T23:42:18.000Z
/********************************************************************** This source file is a part of Demi3D __ ___ __ __ __ | \|_ |\/|| _)| \ |__/|__| || __)|__/ Copyright (c) 2013-2014 Demi team https://github.com/wangyanxing/Demi3D Released under the MIT License https://github.com/wangyanxing/De...
32.869565
131
0.580159
[ "model" ]
10b2f2a734909b18cce3c57cf612fc20544ae017
14,677
cpp
C++
src/llvm/carat/src/Allocation.cpp
chend666/CS446-allocator
22394cff3bf525e700654efa17581552fcf21871
[ "MIT" ]
null
null
null
src/llvm/carat/src/Allocation.cpp
chend666/CS446-allocator
22394cff3bf525e700654efa17581552fcf21871
[ "MIT" ]
null
null
null
src/llvm/carat/src/Allocation.cpp
chend666/CS446-allocator
22394cff3bf525e700654efa17581552fcf21871
[ "MIT" ]
null
null
null
/* * This file is part of the Nautilus AeroKernel developed * by the Hobbes and V3VEE Projects with funding from the * United States National Science Foundation and the Department of Energy. * * The V3VEE Project is a joint project between Northwestern University * and the University of New Mexico. The Hobbe...
24.380399
104
0.525789
[ "object" ]
10b60f4a400704a2cfa996c1d9a70da76bfb76d0
32,568
cpp
C++
generated/niswitch/niswitch_client.cpp
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
24
2021-03-25T18:37:59.000Z
2022-03-03T16:33:56.000Z
generated/niswitch/niswitch_client.cpp
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
129
2021-04-03T15:16:04.000Z
2022-03-25T21:48:18.000Z
generated/niswitch/niswitch_client.cpp
tdunkle/grpc-device
2c784476327595fdeae06d6a3fc7aaf6daac597e
[ "MIT" ]
24
2021-03-31T12:36:14.000Z
2022-02-25T03:01:25.000Z
//--------------------------------------------------------------------- // This file is automatically generated. All manual edits will be lost. //--------------------------------------------------------------------- // EXPERIMENTAL Client convenience wrapper for NI-SWITCH. //-------------------------------------------...
28.543383
270
0.765168
[ "vector" ]
10c20957d29c39188ab4177995ab898ca3d412a8
3,371
hpp
C++
include/poplibs_support/popopsPerformanceEstimation.hpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
1
2021-02-23T05:58:24.000Z
2021-02-23T05:58:24.000Z
include/poplibs_support/popopsPerformanceEstimation.hpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
null
null
null
include/poplibs_support/popopsPerformanceEstimation.hpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #ifndef _popops_performance_estimation_h_ #define _popops_performance_estimation_h_ #include "popops/Expr.hpp" #include <poplar/Target.hpp> namespace popops { /** Supervisor context cycle estimate for BinaryOp and UnaryOp supervisor * codelets. * * \param ...
40.130952
79
0.652625
[ "vector" ]
10c3c836e13b947091d9a907a603e68981f5321b
12,196
hpp
C++
sql_cpp/include/sql_cpp/detail/nonlogicaloperators.hpp
sWombacher/Utility
bb38fb090fd11fd36c07a318e7c6a301e0e21322
[ "WTFPL", "Unlicense" ]
1
2015-02-25T21:56:12.000Z
2015-02-25T21:56:12.000Z
sql_cpp/include/sql_cpp/detail/nonlogicaloperators.hpp
sWombacher/Utility
bb38fb090fd11fd36c07a318e7c6a301e0e21322
[ "WTFPL", "Unlicense" ]
null
null
null
sql_cpp/include/sql_cpp/detail/nonlogicaloperators.hpp
sWombacher/Utility
bb38fb090fd11fd36c07a318e7c6a301e0e21322
[ "WTFPL", "Unlicense" ]
null
null
null
#pragma once #include "sql_cpp/detail/operatorbase.hpp" #include "sql_cpp/detail/table.hpp" namespace sql_cpp::detail { static constexpr inline auto NonLogicalOperator_Offset = 16; enum class NonLogicalOperatorType : uint8_t { // arithmetic types ADD = NonLogicalOperator_Offset * uint8_t(OperatorType::arithm...
40.518272
80
0.707117
[ "vector" ]
10c98849ff23a5dc89bee91d6460cb85fe2ed43d
1,402
hpp
C++
include/display3r/Solid.hpp
tomtix/display3r
00c5d7be1b2bea685c7df053f0333bb6828d48f8
[ "MIT" ]
null
null
null
include/display3r/Solid.hpp
tomtix/display3r
00c5d7be1b2bea685c7df053f0333bb6828d48f8
[ "MIT" ]
null
null
null
include/display3r/Solid.hpp
tomtix/display3r
00c5d7be1b2bea685c7df053f0333bb6828d48f8
[ "MIT" ]
null
null
null
#ifndef DISPLAY3R_SOLID_H #define DISPLAY3R_SOLID_H #include <SDL.h> #include <string> #include <vector> #include <fstream> namespace display3r { class Solid; } #include "display3r/Object3D.hpp" #include "display3r/Color.hpp" #include "display3r/Drawable.hpp" #include "display3r/Texture.hpp" #include "display3r/Equa...
24.172414
72
0.653352
[ "vector", "solid" ]
10d0824d0821ca6ad8f0a02daff9bfd16ff5df7b
883
cpp
C++
Section 1.3/Mixing Milk/milk.cpp
memset0x3f/usaco
9b3029e33afa441b823ac2c75eabb0ccdae70b0d
[ "MIT" ]
14
2016-05-12T12:19:33.000Z
2021-12-12T02:39:54.000Z
Section 1.3/Mixing Milk/milk.cpp
akommula/usaco
9b3029e33afa441b823ac2c75eabb0ccdae70b0d
[ "MIT" ]
null
null
null
Section 1.3/Mixing Milk/milk.cpp
akommula/usaco
9b3029e33afa441b823ac2c75eabb0ccdae70b0d
[ "MIT" ]
18
2017-04-23T01:29:44.000Z
2022-03-20T03:45:53.000Z
/* ID: cloudzf2 PROG: milk LANG: C++11 */ #include <iostream> #include <fstream> #include <cstdlib> #include <string> #include <unordered_map> #include <cstring> #include <vector> #include <algorithm> #include <unordered_map> using namespace std; bool cmp(pair<int, int> a, pair<int, int> b) { return a.first <...
20.068182
55
0.544734
[ "vector" ]
10d0945542a1cb6f4961de96edbbcba9dd63911e
1,674
hpp
C++
module/server_daemon/include/EXAMPLE_Simon.hpp
selfeki/social-gaming-platform
8d59512620470c57fa760998f3bcf1e4469130ef
[ "MIT" ]
null
null
null
module/server_daemon/include/EXAMPLE_Simon.hpp
selfeki/social-gaming-platform
8d59512620470c57fa760998f3bcf1e4469130ef
[ "MIT" ]
null
null
null
module/server_daemon/include/EXAMPLE_Simon.hpp
selfeki/social-gaming-platform
8d59512620470c57fa760998f3bcf1e4469130ef
[ "MIT" ]
null
null
null
#pragma once #include <arepa/game/DefaultController.hpp> #include <set> /** * An example Simon-says game. * * This differs from normal simon says in that you simply have to perfectly re-type what Simon says. * The difficulty comes from when you make typos ;) */ class EXAMPLE_Simon : public arepa::game::DefaultC...
25.753846
114
0.682198
[ "vector" ]
10d67a3aa63bd4a2f9a88812b692702acd70b0f7
43,251
cc
C++
src/atlas/mesh/actions/BuildParallelFields.cc
ecmwf/atlas
d589893bf6aa28c6df649a46d642fab006b00a8d
[ "Apache-2.0" ]
67
2018-03-01T06:56:49.000Z
2022-03-08T18:44:47.000Z
src/atlas/mesh/actions/BuildParallelFields.cc
ecmwf/atlas
d589893bf6aa28c6df649a46d642fab006b00a8d
[ "Apache-2.0" ]
93
2018-12-07T17:38:04.000Z
2022-03-31T10:04:51.000Z
src/atlas/mesh/actions/BuildParallelFields.cc
ecmwf/atlas
d589893bf6aa28c6df649a46d642fab006b00a8d
[ "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...
38.929793
120
0.540357
[ "mesh", "shape", "vector", "transform" ]
10d6898bc030310a31cbe167560427311a31d969
287
cpp
C++
1389-create-target-array-in-the-given-order/1389-create-target-array-in-the-given-order.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
1389-create-target-array-in-the-given-order/1389-create-target-array-in-the-given-order.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
1389-create-target-array-in-the-given-order/1389-create-target-array-in-the-given-order.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
class Solution { public: vector<int> createTargetArray(vector<int>& arr, vector<int>& index) { vector<int> v; int n = arr.size(); int ans =0; for(int i=0;i<n;i++){ v.insert(v.begin()+ index[i], arr[i]); } return v; } };
23.916667
73
0.487805
[ "vector" ]
10d708fdc3ca2db32016cf9216b2fb9b6fd686b1
5,082
cpp
C++
common/common.cpp
quorten/Quacks-Core
dcea7e99ae5e30b3464e56f4c202c99ee6a05ac4
[ "Unlicense" ]
null
null
null
common/common.cpp
quorten/Quacks-Core
dcea7e99ae5e30b3464e56f4c202c99ee6a05ac4
[ "Unlicense" ]
null
null
null
common/common.cpp
quorten/Quacks-Core
dcea7e99ae5e30b3464e56f4c202c99ee6a05ac4
[ "Unlicense" ]
null
null
null
//Functions common to all programs #include "common.h" using std::vector; using std::string; //Function implimentions void EncodeText(char* pData) { for (unsigned long i = 0; pData[i] != 0; i++) pData[i] += 128; } void DecodeText(char* pData) { for (unsigned long i = 0; pData[i] != 0; i++) pD...
29.375723
119
0.67198
[ "vector" ]
10e6a2878a6ec9f61d50781b6361ec659cc49104
7,374
cpp
C++
src/core/type/objectptrtype.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/core/type/objectptrtype.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/core/type/objectptrtype.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
/* Copyright 2009-2021 Nicolas Colombe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
27.110294
460
0.634255
[ "object" ]
10e715a9bbe2bc43ae993079ad7869e1902335a8
559
cc
C++
accepted/584a.cc
cbarnson/codeforces-cpp
adf0ee2d71a8abbec1e111013bf9bfa7cda02395
[ "MIT" ]
1
2019-06-14T02:21:30.000Z
2019-06-14T02:21:30.000Z
accepted/584a.cc
cbarnson/codeforces-cpp
adf0ee2d71a8abbec1e111013bf9bfa7cda02395
[ "MIT" ]
null
null
null
accepted/584a.cc
cbarnson/codeforces-cpp
adf0ee2d71a8abbec1e111013bf9bfa7cda02395
[ "MIT" ]
null
null
null
// Problem # : 584a // Created on : 2018-10-21 13:23:26 #include <bits/stdc++.h> #define FR(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); ...
18.633333
50
0.468694
[ "vector" ]
10e74877fa9f6f785dfe0e53cb37a11195b34be1
6,187
cpp
C++
cxx/isce3/polsar/symmetrize.cpp
isce-framework/isce3
59cdd2c659a4879367db5537604b0ca93d26b372
[ "Apache-2.0" ]
64
2019-08-06T19:22:22.000Z
2022-03-20T17:11:46.000Z
cxx/isce3/polsar/symmetrize.cpp
isce-framework/isce3
59cdd2c659a4879367db5537604b0ca93d26b372
[ "Apache-2.0" ]
8
2020-09-01T22:46:53.000Z
2021-11-04T00:05:28.000Z
cxx/isce3/polsar/symmetrize.cpp
isce-framework/isce3
59cdd2c659a4879367db5537604b0ca93d26b372
[ "Apache-2.0" ]
29
2019-08-05T21:40:55.000Z
2022-03-23T00:17:03.000Z
#include "symmetrize.h" #include <isce3/core/DenseMatrix.h> #include <isce3/geocode/GeocodeCov.h> #include <isce3/geometry/RTC.h> #include <isce3/math/ComplexMultiply.h> namespace isce3 { namespace polsar { static void _validate_rasters(isce3::io::Raster& raster_a, std::string raster_a_name, int raster_a_ban...
39.407643
80
0.63197
[ "geometry" ]
10ecbda1051421d9eca37725c169723b6ea177e9
2,736
cpp
C++
code archive/CF/894D.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
4
2018-04-08T08:07:58.000Z
2021-06-07T14:55:24.000Z
code archive/CF/894D.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
null
null
null
code archive/CF/894D.cpp
brianbbsu/program
c4505f2b8c0b91010e157db914a63c49638516bc
[ "MIT" ]
1
2018-10-29T12:37:25.000Z
2018-10-29T12:37:25.000Z
//{ #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef double lf; typedef pair<int,int> ii; #define REP(i,n) for(ll i=0;i<n;i++) #define REP1(i,n) for(ll i=1;i<=n;i++) #define FILL(i,n) memset(i,n,sizeof i) #define X first #define Y second #define SZ(_a) (int)_a.size() #define ALL(_a) _a.begin()...
26.307692
129
0.563596
[ "vector" ]
10edcac128070b4684726cb92331d643888e2520
282
cpp
C++
CodeForces/Gravity Flip.cpp
Danish-Belal/CodeCollection
cd3914d3d73542dd5f20755c4b1e42906f443b03
[ "MIT" ]
125
2021-10-01T19:05:26.000Z
2021-10-03T13:32:42.000Z
CodeForces/Gravity Flip.cpp
Danish-Belal/CodeCollection
cd3914d3d73542dd5f20755c4b1e42906f443b03
[ "MIT" ]
201
2021-10-30T20:40:01.000Z
2022-03-22T17:26:28.000Z
CodeForces/Gravity Flip.cpp
Danish-Belal/CodeCollection
cd3914d3d73542dd5f20755c4b1e42906f443b03
[ "MIT" ]
294
2021-10-01T18:46:05.000Z
2021-10-03T14:25:07.000Z
#include<bits/stdc++.h> using namespace std; int main() { int n,a; vector<int>v; cin>>n; while(n--) { cin>>a; v.push_back(a); } sort(v.begin(),v.end()); for(int i=0;i<v.size();i++) { cout<<v[i]<<" "; } return 0; }
14.1
31
0.432624
[ "vector" ]
10eecf8aa2bda035a6ac442a090ad5e29ed5f2f4
8,159
cpp
C++
src/cfdcore_logger.cpp
ko-matsu/cfd-core
ad07f210cfefe7838a6eaf4ce0e13a27c0d6167e
[ "MIT" ]
5
2019-10-12T11:05:26.000Z
2020-05-10T19:09:19.000Z
src/cfdcore_logger.cpp
ko-matsu/cfd-core
ad07f210cfefe7838a6eaf4ce0e13a27c0d6167e
[ "MIT" ]
128
2019-10-02T06:33:49.000Z
2022-03-20T02:14:35.000Z
src/cfdcore_logger.cpp
p2pderivatives/cfd-core
399750cb1fa320f3b203092290ebb9f3ed4fe742
[ "MIT" ]
4
2019-10-22T07:59:43.000Z
2020-05-29T11:06:00.000Z
// Copyright 2019 CryptoGarage /** * @file cfdcore_logger.cpp * @brief implementation of logger */ #include <iostream> #include <memory> #include <string> #include <vector> // clang-format off #include "quill/LogLevel.h" #ifdef CFDCORE_LOGGING #include "quill/Logger.h" #include "quill/Fmt.h" #include "quill/Quill.h...
33.166667
80
0.620787
[ "vector" ]
10f05ef33997ecb32eb5ce8188d1ef0cf038134b
11,570
cpp
C++
FrameTL/multiplicative_Schwarz.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
FrameTL/multiplicative_Schwarz.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
FrameTL/multiplicative_Schwarz.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
// implementation for steepest_descent.h #include <cmath> #include <set> #include <utils/plot_tools.h> #include <adaptive/apply.h> #include <numerics/corner_singularity.h> #include <frame_evaluate.h> #include <poisson_1d_testcase.h> using std::set; namespace FrameTL { /*! */ template<class VALUE = double> cl...
30.447368
113
0.554624
[ "vector" ]
10facba138a28c0ea794f9d391f32030921884f9
770
cpp
C++
src/test/applications/minimum_curvature_path.cpp
juanmanzanero/fastest-lap
e278dd2fd0f9fa30a613b87c5155c5d375f8da69
[ "MIT" ]
28
2021-11-26T16:03:33.000Z
2022-02-21T13:51:58.000Z
src/test/applications/minimum_curvature_path.cpp
juanmanzanero/fastest-lap
e278dd2fd0f9fa30a613b87c5155c5d375f8da69
[ "MIT" ]
1
2022-03-01T17:10:39.000Z
2022-03-01T17:10:39.000Z
src/test/applications/minimum_curvature_path.cpp
juanmanzanero/fastest-lap
e278dd2fd0f9fa30a613b87c5155c5d375f8da69
[ "MIT" ]
1
2022-02-28T12:21:04.000Z
2022-02-28T12:21:04.000Z
#include "gtest/gtest.h" #include "lion/thirdparty/include/cppad/cppad.hpp" #define SKIP_TIMESERIES using timeseries = CppAD::AD<double>; #include "src/core/vehicles/track_by_arcs.h" #include "src/core/applications/minimum_curvature_path.h" TEST(Minimum_curvature_path,oval_50) { Xml_document track_xml("./data/o...
27.5
128
0.732468
[ "vector" ]
80001d6cfed97a57ba53138d4ebd747a475c4234
7,060
cpp
C++
ImSynth/lib/Synth/WaveTableOsc.cpp
syyePhenomenol/ImSynth
d4be0d5c707efcf826d6d49a34f3d15f0e8a23b6
[ "MIT" ]
2
2021-06-13T03:47:35.000Z
2021-06-16T07:16:39.000Z
ImSynth/lib/Synth/WaveTableOsc.cpp
syyePhenomenol/ImSynth
d4be0d5c707efcf826d6d49a34f3d15f0e8a23b6
[ "MIT" ]
null
null
null
ImSynth/lib/Synth/WaveTableOsc.cpp
syyePhenomenol/ImSynth
d4be0d5c707efcf826d6d49a34f3d15f0e8a23b6
[ "MIT" ]
null
null
null
// // Test wavetable oscillator // // Created by Nigel Redmon on 4/31/12 // EarLevel Engineering: earlevel.com // Copyright 2012 Nigel Redmon // // For a complete explanation of the wavetable oscillator and code, // read the series of articles by the author, starting here: // www.earlevel.com/main/2012/05/03/a-w...
27.470817
123
0.493484
[ "shape", "vector" ]
800bbdd931f77f09637dd78cbb28200002f0ca03
1,667
cpp
C++
day08/day08_01/day08_01.cpp
thomasneff/advent_of_code_2020
e662f31a181ecaf50eda9005cf916af2191d9348
[ "MIT" ]
1
2020-12-10T08:25:46.000Z
2020-12-10T08:25:46.000Z
day08/day08_01/day08_01.cpp
thomasneff/advent_of_code_2020
e662f31a181ecaf50eda9005cf916af2191d9348
[ "MIT" ]
null
null
null
day08/day08_01/day08_01.cpp
thomasneff/advent_of_code_2020
e662f31a181ecaf50eda9005cf916af2191d9348
[ "MIT" ]
null
null
null
#include <algorithm> #include <deque> #include <fstream> #include <iostream> #include <map> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <vector> #include "BaseInstruction.h" #include "ProcessorRegisters.h" class Processor { public: Processor(std::vector<std::string> input_li...
19.611765
85
0.70006
[ "vector", "transform" ]
8025e0d7c4633315815130da194a6df881285ace
3,842
cpp
C++
src/main.cpp
henryliuw/SEM
93d6e24270e38cd0179d47fd94566626eec6e3a8
[ "MIT" ]
null
null
null
src/main.cpp
henryliuw/SEM
93d6e24270e38cd0179d47fd94566626eec6e3a8
[ "MIT" ]
null
null
null
src/main.cpp
henryliuw/SEM
93d6e24270e38cd0179d47fd94566626eec6e3a8
[ "MIT" ]
null
null
null
#include "geometrycentral/surface/manifold_surface_mesh.h" #include "geometrycentral/surface/meshio.h" #include "geometrycentral/surface/vertex_position_geometry.h" #include "geometrycentral/surface/direction_fields.h" #include "SEM.h" #include "polyscope/polyscope.h" #include "polyscope/surface_mesh.h" #include "args/...
30.492063
100
0.701718
[ "mesh", "geometry", "3d" ]
80326394c459b1d20e82e476c1aadd73df9409f1
15,321
cpp
C++
src/apps/viblio_video_analyzer/viblio_video_analyzer.cpp
digitalmacgyver/viblio_faces
a1066a59bf2f7dba434013588519f2486eac976d
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
src/apps/viblio_video_analyzer/viblio_video_analyzer.cpp
digitalmacgyver/viblio_faces
a1066a59bf2f7dba434013588519f2486eac976d
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
src/apps/viblio_video_analyzer/viblio_video_analyzer.cpp
digitalmacgyver/viblio_faces
a1066a59bf2f7dba434013588519f2486eac976d
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
/* The entry point into the application. Parses command line options (or config files) and sets up the program flow based on said options Date: 01/07/2013 Author: Jason Catchpole (jason@viblio.com) */ #include "boost/program_options.hpp" #include <iostream> #include <list> #include <vector> #inc...
38.984733
289
0.702696
[ "object", "vector", "transform" ]
8033836363a0eddbdf67109c3e6ba3de1390fa06
19,393
cc
C++
RecoBTag/SecondaryVertex/src/GhostTrackComputer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoBTag/SecondaryVertex/src/GhostTrackComputer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoBTag/SecondaryVertex/src/GhostTrackComputer.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include <iostream> #include <cstddef> #include <string> #include <cmath> #include <vector> #include <Math/VectorUtil.h> #include "FWCore/Utilities/interface/Exception.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DataFormats/Math/interface/Vector3D.h" #include "DataFormats/Math/interface/Lore...
35.324226
122
0.694787
[ "vector" ]
80362d9a249d41f572f40bb0984cc9ede061e723
4,640
cpp
C++
src/runtime/rpc/dbus/CDBusChannelFactory.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
6
2018-05-08T10:08:21.000Z
2021-11-13T13:22:58.000Z
src/runtime/rpc/dbus/CDBusChannelFactory.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
1
2018-05-08T10:20:17.000Z
2018-07-23T05:19:19.000Z
src/runtime/rpc/dbus/CDBusChannelFactory.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
4
2018-03-13T06:21:11.000Z
2021-06-19T02:48:07.000Z
//========================================================================= // Copyright (C) 2018 The C++ Component Model(CCM) 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 Lic...
29.55414
82
0.621552
[ "object", "model" ]
80379f3929287da70470023a1713e766c6068568
3,869
cc
C++
bridge/bindings/jsc/DOM/text_node.cc
jeromehan/kraken
cbc4977de5f3a9ac62b3e6cb5aa0383988d8178a
[ "Apache-2.0" ]
1
2021-03-14T06:34:02.000Z
2021-03-14T06:34:02.000Z
bridge/bindings/jsc/DOM/text_node.cc
jeromehan/kraken
cbc4977de5f3a9ac62b3e6cb5aa0383988d8178a
[ "Apache-2.0" ]
1
2021-05-08T08:43:08.000Z
2021-05-08T08:43:08.000Z
bridge/bindings/jsc/DOM/text_node.cc
jeromehan/kraken
cbc4977de5f3a9ac62b3e6cb5aa0383988d8178a
[ "Apache-2.0" ]
1
2021-09-13T03:51:47.000Z
2021-09-13T03:51:47.000Z
/* * Copyright (C) 2020 Alibaba Inc. All rights reserved. * Author: Kraken Team. */ #include "text_node.h" namespace kraken::binding::jsc { void bindTextNode(std::unique_ptr<JSContext> &context) { auto textNode = JSTextNode::instance(context.get()); JSC_GLOBAL_SET_PROPERTY(context, "Text", textNode->classObje...
33.643478
108
0.74412
[ "object" ]
803bef091ca9ee0e507114eca7ddf6bd0a49c0cf
971
cpp
C++
time/time.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
1
2020-12-15T20:25:21.000Z
2020-12-15T20:25:21.000Z
time/time.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
null
null
null
time/time.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n, m, c; int b[1005][1005]; int mn[1005]; vector<int> g[1005]; int dfs(int f, int d) { if (b[f][d]) { return b[f][d]; } if (f == 1 && d == 0) { return 0; } if (d == 0) { return -1000000000; } int tmp = -100...
17.339286
44
0.359423
[ "vector" ]
d9a40062061c12aa6e7a8b3fd87cc3b816c7eb5e
5,675
cpp
C++
src/caffe/layers/core/attention_crop_layer.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
7
2018-02-06T13:48:17.000Z
2019-04-08T13:56:22.000Z
src/caffe/layers/core/attention_crop_layer.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/layers/core/attention_crop_layer.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
null
null
null
#ifdef USE_OPENCV #include <vector> #include <opencv2/core/core.hpp> #include "caffe/layers/attention_crop_layer.hpp" #include "caffe/util/math_functions.hpp" #include "opencv2/opencv.hpp" #include "caffe/util/rng.hpp" #define ek 0.05 #define core 3 namespace caffe { template<typename Dtype> void AttentionCropLayer<D...
29.252577
177
0.587841
[ "shape", "vector" ]
d9a6c222d64a8f126d9f86f297187ab93c435ada
2,986
hpp
C++
boost/boost_1_56_0/libs/numeric/odeint/performance/openmp/osc_chain_1d_system.hpp
cooparation/caffe-android
cd91078d1f298c74fca4c242531989d64a32ba03
[ "BSD-2-Clause-FreeBSD" ]
85
2015-02-08T20:36:17.000Z
2021-11-14T20:38:31.000Z
boost/boost_1_56_0/libs/numeric/odeint/performance/openmp/osc_chain_1d_system.hpp
cooparation/caffe-android
cd91078d1f298c74fca4c242531989d64a32ba03
[ "BSD-2-Clause-FreeBSD" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
boost/boost_1_56_0/libs/numeric/odeint/performance/openmp/osc_chain_1d_system.hpp
cooparation/caffe-android
cd91078d1f298c74fca4c242531989d64a32ba03
[ "BSD-2-Clause-FreeBSD" ]
27
2015-01-28T16:33:30.000Z
2021-08-12T05:04:39.000Z
/* Boost libs/numeric/odeint/performance/openmp/osc_chain_1d_system.hpp Copyright 2013 Karsten Ahnert Copyright 2013 Mario Mulansky Copyright 2013 Pascal Germroth stronlgy nonlinear hamiltonian lattice Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at ...
30.161616
109
0.556263
[ "vector" ]
d9aa1c11772d88db77731a030835bb80d68e6b74
9,934
cpp
C++
src/latex/LatexDocument.cpp
dholzmueller/sfcpp
b929419b13c35fff199c6c65e87ecffae9963cfc
[ "Apache-2.0" ]
15
2017-10-20T07:53:03.000Z
2021-09-23T15:54:54.000Z
src/latex/LatexDocument.cpp
dholzmueller/sfcpp
b929419b13c35fff199c6c65e87ecffae9963cfc
[ "Apache-2.0" ]
null
null
null
src/latex/LatexDocument.cpp
dholzmueller/sfcpp
b929419b13c35fff199c6c65e87ecffae9963cfc
[ "Apache-2.0" ]
3
2017-10-20T20:02:29.000Z
2020-12-02T12:47:53.000Z
/* Copyright 2017 The sfcpp Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
30.10303
94
0.7121
[ "solid" ]
d9ab54462afec355b137d48f4d90213994f30253
842
cpp
C++
src/RandomizePlayerIds.cpp
smalls12/blokus
33141e55a613c5b74ac5c5ac8807d1972269d788
[ "Apache-2.0" ]
1
2018-12-28T00:06:30.000Z
2018-12-28T00:06:30.000Z
src/RandomizePlayerIds.cpp
smalls12/blokus
33141e55a613c5b74ac5c5ac8807d1972269d788
[ "Apache-2.0" ]
1
2020-02-07T17:46:26.000Z
2020-02-07T18:12:07.000Z
src/RandomizePlayerIds.cpp
smalls12/blokus
33141e55a613c5b74ac5c5ac8807d1972269d788
[ "Apache-2.0" ]
null
null
null
#include "RandomizePlayerIds.hpp" RandomizePlayerIds::RandomizePlayerIds(IPlayerRegistry& registry) : mPlayerRegistry(registry) { spdlog::get("console")->debug("RandomizePlayerIds::RandomizePlayerIds()"); } RandomizePlayerIds::~RandomizePlayerIds() { spdlog::get("console")->debug("RandomizePlayerIds::~Rando...
30.071429
86
0.7019
[ "vector" ]
d9b0ff184e8510040cf3e3865f70254cc9980b8c
7,815
hpp
C++
vpd-manager/editor_impl.hpp
geissonator/openpower-vpd-parser
8be4334fd9515897bed6247159edb9004ba49939
[ "Apache-2.0" ]
3
2021-02-23T15:34:17.000Z
2022-03-23T09:57:59.000Z
vpd-manager/editor_impl.hpp
geissonator/openpower-vpd-parser
8be4334fd9515897bed6247159edb9004ba49939
[ "Apache-2.0" ]
14
2019-09-16T12:27:41.000Z
2022-03-30T04:07:04.000Z
vpd-manager/editor_impl.hpp
geissonator/openpower-vpd-parser
8be4334fd9515897bed6247159edb9004ba49939
[ "Apache-2.0" ]
11
2019-09-09T03:32:08.000Z
2022-02-22T05:04:02.000Z
#pragma once #include "const.hpp" #include "types.hpp" #include <cstddef> #include <fstream> #include <nlohmann/json.hpp> #include <tuple> namespace openpower { namespace vpd { namespace manager { namespace editor { /** @class EditorImpl */ class EditorImpl { public: EditorImpl() = delete; EditorImpl(cons...
33.397436
80
0.636596
[ "object", "vector" ]
d9bfa7b50408c8d043a19a20041bd8e26c27e463
2,085
cpp
C++
all/native/graphics/BitmapCanvas.cpp
ArtronicsGame/mobile-sdk
492afb38fbf372d2e76534b8f92e433b7cfb69b5
[ "BSD-3-Clause" ]
null
null
null
all/native/graphics/BitmapCanvas.cpp
ArtronicsGame/mobile-sdk
492afb38fbf372d2e76534b8f92e433b7cfb69b5
[ "BSD-3-Clause" ]
null
null
null
all/native/graphics/BitmapCanvas.cpp
ArtronicsGame/mobile-sdk
492afb38fbf372d2e76534b8f92e433b7cfb69b5
[ "BSD-3-Clause" ]
null
null
null
#include "BitmapCanvas.h" #if defined(_WIN32) #define CARTO_BITMAP_CANVAS_IMPL UWPImpl #include "graphics/BitmapCanvasUWPImpl.h" #elif defined(__APPLE__) #define CARTO_BITMAP_CANVAS_IMPL IOSImpl #include "graphics/BitmapCanvasIOSImpl.h" #elif defined(__ANDROID__) #define CARTO_BITMAP_CANVAS_IMPL AndroidImpl #include "...
26.730769
111
0.690647
[ "vector" ]
d9ca8aff490e39b8c01244f935c9c813240dcc66
8,848
cpp
C++
src/CefWing/CefRenderApp/RenderDelegates/CefViewClient.cpp
klarso-gmbh/CefView_CefViewCore
18958c0dbcc44e851ce8569909b098a13ea37953
[ "MIT" ]
25
2021-04-12T06:10:56.000Z
2022-03-07T13:31:12.000Z
src/CefWing/CefRenderApp/RenderDelegates/CefViewClient.cpp
klarso-gmbh/CefView_CefViewCore
18958c0dbcc44e851ce8569909b098a13ea37953
[ "MIT" ]
2
2021-08-03T08:29:43.000Z
2022-02-11T08:33:15.000Z
src/CefWing/CefRenderApp/RenderDelegates/CefViewClient.cpp
klarso-gmbh/CefView_CefViewCore
18958c0dbcc44e851ce8569909b098a13ea37953
[ "MIT" ]
13
2021-04-23T00:36:29.000Z
2022-03-08T07:18:17.000Z
#pragma region projet_headers #include "CefViewClient.h" #pragma endregion projet_headers // bool CefViewClient::Accessor::Get(const CefString& name, // const CefRefPtr<CefV8Value> object, // CefRefPtr<CefV8Value>& retval, // CefString& exception) //{ // return true; //} // // bool CefViewClient::Accessor::Set(co...
37.333333
115
0.629069
[ "object" ]
d9d3ecebe7434248ed4522289e5ab8c838bffd78
4,909
cpp
C++
test/greedy/knapsack_two_app_long_test.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/greedy/knapsack_two_app_long_test.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
test/greedy/knapsack_two_app_long_test.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
1
2021-02-24T06:23:56.000Z
2021-02-24T06:23:56.000Z
//======================================================================= // Copyright (c) // // Distributed under 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) //====================================================================...
32.296053
92
0.55001
[ "object", "vector" ]
d9e366844aae1d7ff9571a5eefc9300257bd9fba
8,522
cc
C++
ash/wm/maximize_mode/maximize_mode_controller.cc
lauer3912/chromium.src
969c559f5e43b329295b68c49ae9bf46a833395c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-16T03:57:28.000Z
2021-01-23T15:29:45.000Z
ash/wm/maximize_mode/maximize_mode_controller.cc
davgit/chromium.src
29b19806a790a12fb0a64ee148d019e27db350db
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ash/wm/maximize_mode/maximize_mode_controller.cc
davgit/chromium.src
29b19806a790a12fb0a64ee148d019e27db350db
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-03-15T13:21:38.000Z
2017-03-15T13:21:38.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. #include "ash/wm/maximize_mode/maximize_mode_controller.h" #include "ash/accelerometer/accelerometer_controller.h" #include "ash/display/display_manager....
42.188119
80
0.723891
[ "vector" ]
d9ee8c9efc7b112e620e42afbb839f1b16a40700
22,241
cpp
C++
src/chem/ewald3D.cpp
markdellostritto/AtomNN
763aa2ca12916638fcca14d5bddafe1112d603cd
[ "MIT" ]
null
null
null
src/chem/ewald3D.cpp
markdellostritto/AtomNN
763aa2ca12916638fcca14d5bddafe1112d603cd
[ "MIT" ]
null
null
null
src/chem/ewald3D.cpp
markdellostritto/AtomNN
763aa2ca12916638fcca14d5bddafe1112d603cd
[ "MIT" ]
null
null
null
// c libraries #if (defined(__GNUC__) || defined(__GNUG__)) && !(defined(__clang__) || defined(__INTEL_COMPILER)) #include <cmath> #elif defined __ICC || defined __INTEL_COMPILER #include <mathimf.h> //intel math library #endif // c++ libraries #include <iostream> // ann - math #include "src/math/const.hpp" /...
34.059724
133
0.590936
[ "object" ]
d9f6ba9178670a898a15aa710c50e9b8dc92fbcf
1,139
cpp
C++
codes/FZU/fzu2038.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/FZU/fzu2038.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/FZU/fzu2038.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <string.h> #include <vector> #include <queue> using namespace std; const int N = 100005; typedef long long ll; struct node { int next; ll val; ll size; node() { next = 0, val = size = 0; }; node(int next, ll val) { this->next = next; this->val = val; this->size = 0; } }; int...
14.986842
42
0.495171
[ "vector" ]
8a046121241a77f772ce862ff3c8e645e7c507da
24,185
cpp
C++
vk_video_decoder/libs/VulkanVideoFrameBuffer/VulkanVideoFrameBuffer.cpp
Jasper-Bekkers/vk_video_samples
c851b02743574def866c593fe66d1dff93354e6d
[ "Apache-2.0" ]
null
null
null
vk_video_decoder/libs/VulkanVideoFrameBuffer/VulkanVideoFrameBuffer.cpp
Jasper-Bekkers/vk_video_samples
c851b02743574def866c593fe66d1dff93354e6d
[ "Apache-2.0" ]
null
null
null
vk_video_decoder/libs/VulkanVideoFrameBuffer/VulkanVideoFrameBuffer.cpp
Jasper-Bekkers/vk_video_samples
c851b02743574def866c593fe66d1dff93354e6d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 NVIDIA 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 by applicable law or agreed to in...
38.758013
165
0.688857
[ "vector" ]
8a0bc11027a1341001386ef22535f19dbe26bd16
680
cpp
C++
Examples/PUBCpp/ConvertPUBFiles/PUBToPDF.cpp
aspose-pub/Aspose.PUB-for-C
cad609c01b8a6201392391244df18a7b2caa215d
[ "MIT" ]
null
null
null
Examples/PUBCpp/ConvertPUBFiles/PUBToPDF.cpp
aspose-pub/Aspose.PUB-for-C
cad609c01b8a6201392391244df18a7b2caa215d
[ "MIT" ]
null
null
null
Examples/PUBCpp/ConvertPUBFiles/PUBToPDF.cpp
aspose-pub/Aspose.PUB-for-C
cad609c01b8a6201392391244df18a7b2caa215d
[ "MIT" ]
null
null
null
#include "..\Aspose.PUB.h" using namespace System; using namespace Aspose::Pub; void ConvertPubToPdf() { // Initialize license object auto license = System::MakeObject<Aspose::Pub::License>(); // Set license license->SetLicense(dataDir() + u"License\\Aspose.PUB.C++.lic"); System::String filePub = dataDir() + u"...
29.565217
74
0.722059
[ "object" ]
8a1d04ce1d2b418a1f902400815a4b1d6d3f4f22
318
cpp
C++
soln/search-insert-position/Solution.cpp
yungweezy/leetcode
070605351a0a05b80360b9a55326b03224e46bbe
[ "MIT" ]
null
null
null
soln/search-insert-position/Solution.cpp
yungweezy/leetcode
070605351a0a05b80360b9a55326b03224e46bbe
[ "MIT" ]
null
null
null
soln/search-insert-position/Solution.cpp
yungweezy/leetcode
070605351a0a05b80360b9a55326b03224e46bbe
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: int searchInsert(vector<int>& nums, int target) { for (int i=0; i< nums.size(); i++) { if (nums[i] >= target) return i; } return nums.size(); } }; // https://leetcode.com/problems/search-insert-position/
26.5
56
0.581761
[ "vector" ]
8a1f324782f9fa30ff8aea9d8f8e6d2d7196e29a
18,635
cxx
C++
src/pdencp.cxx
iamholger/ccz5
31e8ed262e1a065ad91381306859162e76402120
[ "MIT" ]
null
null
null
src/pdencp.cxx
iamholger/ccz5
31e8ed262e1a065ad91381306859162e76402120
[ "MIT" ]
null
null
null
src/pdencp.cxx
iamholger/ccz5
31e8ed262e1a065ad91381306859162e76402120
[ "MIT" ]
null
null
null
#include <cmath> #include <iostream> #include "Constants.h" using namespace examples::exahype2::ccz4; #pragma omp declare target void pdencp_(double* BgradQ, const double* const Q, const double* const gradQSerialised, const int normal) { const double alpha = std::exp(std::fmax(-20., std::fmin(20.,Q[16]))); c...
38.42268
217
0.481889
[ "model" ]
8a21dc2cf98831b8ef7bad4b167fbf0c3c7541df
2,082
cpp
C++
engines/basic/src/main.cpp
WilliamLewww/vulkan_research_kit
7f055329c25b16dc52e10ee50e64e5e3a2d6dfdc
[ "Apache-2.0" ]
null
null
null
engines/basic/src/main.cpp
WilliamLewww/vulkan_research_kit
7f055329c25b16dc52e10ee50e64e5e3a2d6dfdc
[ "Apache-2.0" ]
2
2021-12-06T01:56:35.000Z
2022-03-07T06:47:38.000Z
engines/basic/src/main.cpp
WilliamLewww/vulkan_research_kit
7f055329c25b16dc52e10ee50e64e5e3a2d6dfdc
[ "Apache-2.0" ]
null
null
null
#include "basic/engine.h" int main() { Display *displayPtr = XOpenDisplay(NULL); int screen = DefaultScreen(displayPtr); Window window = XCreateSimpleWindow( displayPtr, RootWindow(displayPtr, screen), 10, 10, 100, 100, 1, BlackPixel(displayPtr, screen), WhitePixel(displayPtr, screen)); XSelectIn...
28.520548
76
0.641691
[ "render", "vector", "model" ]
8a21e9df78d52e9325f672adb8028c2a47b0e2a0
8,630
cpp
C++
source/BenchmarkSimplex.cpp
Michaelangel007/BenchSimplex
1ee70d51b91631535b9a9c6436786c6505e1148f
[ "MIT" ]
3
2015-02-04T03:23:34.000Z
2017-03-19T23:38:40.000Z
source/BenchmarkSimplex.cpp
Michaelangel007/BenchSimplex
1ee70d51b91631535b9a9c6436786c6505e1148f
[ "MIT" ]
null
null
null
source/BenchmarkSimplex.cpp
Michaelangel007/BenchSimplex
1ee70d51b91631535b9a9c6436786c6505e1148f
[ "MIT" ]
null
null
null
/* * OpenSimplex (Simplectic) Noise Test in C++ * Original Java version * Converted to C by Arthur Tombs * Modified 2014-09-22 * Cleaned up version by Michaelangel007 * Removed PNG & C++ bloat, added glsl and reference simplex * * This file is intended to test the function of OpenSimplexNoise.hh. * * Compile w...
28.202614
124
0.578679
[ "model" ]
8a28b974c002ec6815f7520700575f6cf54ac33c
2,665
hxx
C++
OCC/opencascade-7.2.0/x64/debug/inc/SelectBasics_EntityOwner.hxx
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
OCC/opencascade-7.2.0/x64/debug/inc/SelectBasics_EntityOwner.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
OCC/opencascade-7.2.0/x64/debug/inc/SelectBasics_EntityOwner.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
// Created on: 1995-02-09 // Created by: Mister rmi // Copyright (c) 1995-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Les...
35.065789
85
0.774859
[ "object", "shape" ]
8a2e339f98939df6fde597950140a97dec2f4e33
1,755
hpp
C++
include/ssGUI/EventCallbacks/ChildRemovedEventCallback.hpp
Neko-Box-Coder/ssGUI
25e218fd79fea105a30737a63381cf8d0be943f6
[ "Apache-2.0" ]
15
2022-01-21T10:48:04.000Z
2022-03-27T17:55:11.000Z
include/ssGUI/EventCallbacks/ChildRemovedEventCallback.hpp
Neko-Box-Coder/ssGUI
25e218fd79fea105a30737a63381cf8d0be943f6
[ "Apache-2.0" ]
null
null
null
include/ssGUI/EventCallbacks/ChildRemovedEventCallback.hpp
Neko-Box-Coder/ssGUI
25e218fd79fea105a30737a63381cf8d0be943f6
[ "Apache-2.0" ]
4
2022-01-21T10:48:05.000Z
2022-01-22T15:42:34.000Z
#ifndef CHILD_REMOVED_EVENT_CALLBACK #define CHILD_REMOVED_EVENT_CALLBACK #include "ssGUI/EventCallbacks/BaseEventCallback.hpp" //namespace: ssGUI::EventCallbacks namespace ssGUI::EventCallbacks { //class: ssGUI::EventCallbacks::ChildRemovedEventCallback //This event callback is triggered *after* a c...
39.886364
115
0.631909
[ "object" ]
8a4b1db6a3d273df2497aa1f5c8bc2614914cae1
2,688
hpp
C++
docker/d-streamon-master/d-streamon/streamon/usr/app_streamon/blocks/Metric_Block.hpp
ferrarimarco/open-scissor
d54718a1969701798f3e2d57f3db68d829da1cc0
[ "Apache-2.0" ]
2
2017-12-02T10:38:05.000Z
2018-04-22T17:15:01.000Z
docker/d-streamon-master/d-streamon/streamon/usr/app_streamon/blocks/Metric_Block.hpp
scissor-project/open-scissor
d54718a1969701798f3e2d57f3db68d829da1cc0
[ "Apache-2.0" ]
67
2017-11-11T15:22:34.000Z
2018-04-24T06:44:59.000Z
docker/d-streamon-master/d-streamon/streamon/usr/app_streamon/blocks/Metric_Block.hpp
ferrarimarco/open-scissor
d54718a1969701798f3e2d57f3db68d829da1cc0
[ "Apache-2.0" ]
1
2017-12-07T08:18:49.000Z
2017-12-07T08:18:49.000Z
#pragma once #include <Block.hpp> #include <BlockFactory.hpp> #include <Packet.hpp> #include <ClassId.hpp> #include <arpa/inet.h> #include <sstream> #include <iostream> #include <string> #include <stdlib.h> #include <stdio.h> #include "bloom/bloompair.h" #include "bloom/tewma.h" #include "PacketPlus.hpp" #include <un...
20.837209
79
0.643229
[ "vector" ]
a438abd29657b6d233eccfe9bcdfd38c0911bc94
716
cpp
C++
21mt/src/sigcomp.cpp
johnoel/tagest
be0a6b164683c448c90f0c3952343f5963eece3d
[ "BSD-2-Clause" ]
3
2015-08-26T17:14:02.000Z
2015-11-17T04:18:56.000Z
21mt/src/sigcomp.cpp
johnoel/tagest
be0a6b164683c448c90f0c3952343f5963eece3d
[ "BSD-2-Clause" ]
10
2015-08-20T00:51:05.000Z
2016-11-16T19:14:48.000Z
21mt/src/sigcomp.cpp
johnoel/tagest
be0a6b164683c448c90f0c3952343f5963eece3d
[ "BSD-2-Clause" ]
3
2016-11-16T00:52:23.000Z
2021-09-10T02:17:40.000Z
#include "par_treg.h" extern ofstream clogf; #define TRACE(object) clogf << "line " << __LINE__ << ", file "\ << __FILE__ << ", " << #object " = " << object << endl; void par_t_reg::sigma_comp(dmatrix& sigma, year_month& ym) { int season = get_season(ym); //clogf << "sigma_comp for " << ym << "; season =...
25.571429
72
0.526536
[ "object" ]
a443b308d4e92673ba9896280c0b9d6f1afa48ab
10,653
cpp
C++
source/Core/Castor3D/Scene/Background/Image.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
source/Core/Castor3D/Scene/Background/Image.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
source/Core/Castor3D/Scene/Background/Image.cpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
#include "Castor3D/Scene/Background/Image.hpp" #include "Castor3D/Engine.hpp" #include "Castor3D/Event/Frame/FrameListener.hpp" #include "Castor3D/Material/Texture/Sampler.hpp" #include "Castor3D/Material/Texture/TextureLayout.hpp" #include "Castor3D/Miscellaneous/makeVkType.hpp" #include "Castor3D/Render/RenderModul...
37.378947
148
0.715385
[ "render" ]
a4494ac608f11b2687998618ecf10ab3f5624723
6,162
cpp
C++
YAX/src/Graphics/GraphicsAdapter.cpp
Swillis57/YAX
cc366b99af9bbce1d1a3a3580fad9f6c50bbfb4e
[ "MS-PL" ]
1
2015-01-29T01:58:56.000Z
2015-01-29T01:58:56.000Z
YAX/src/Graphics/GraphicsAdapter.cpp
Swillis57/YAX
cc366b99af9bbce1d1a3a3580fad9f6c50bbfb4e
[ "MS-PL" ]
1
2015-03-27T11:21:08.000Z
2015-03-27T11:21:08.000Z
YAX/src/Graphics/GraphicsAdapter.cpp
Swillis57/YAX
cc366b99af9bbce1d1a3a3580fad9f6c50bbfb4e
[ "MS-PL" ]
null
null
null
#include "Graphics/DepthFormat.h" #include "Graphics/GraphicsAdapter.h" #include "Graphics/GraphicsProfile.h" #include "Graphics/SurfaceFormat.h" #include "Rectangle.h" #include "../../../external/glew/include/GL/glew.h" #include "../../../external/glfw/include/GLFW/glfw3.h" #ifdef _WIN32 # define GLFW_EXPOSE_NATIVE_W...
30.50495
121
0.627556
[ "vector" ]
a449e63eaa3a3b30a0195194eea2fd5dd352b371
1,432
cpp
C++
src/Rule.cpp
butitsnotme/funky-math-problem-solver
01a38099735d9d93c406f2c99becad715f811c32
[ "MIT" ]
null
null
null
src/Rule.cpp
butitsnotme/funky-math-problem-solver
01a38099735d9d93c406f2c99becad715f811c32
[ "MIT" ]
null
null
null
src/Rule.cpp
butitsnotme/funky-math-problem-solver
01a38099735d9d93c406f2c99becad715f811c32
[ "MIT" ]
null
null
null
#include "Rule.h" #include <cstdlib> #include <sstream> using namespace std; Rule::Rule() { } Rule::~Rule() { } void Rule::set(int x1, int y1, int x2, int y2, int diff) { this->x1 = x1; this->y1 = y1; this->x2 = x2; this->y2 = y2; this->diff = diff; this->num = true; } void Rule::set(int x1, int y1, i...
18.126582
62
0.513268
[ "vector" ]
a450af35643ebed17abcd76ec1837607d75e1d67
17,938
cpp
C++
LeanRays.cpp
mld2443/LeanCppRays
0672c3e0bdbec720b10f766148cd2eb17e20968b
[ "MIT" ]
null
null
null
LeanRays.cpp
mld2443/LeanCppRays
0672c3e0bdbec720b10f766148cd2eb17e20968b
[ "MIT" ]
null
null
null
LeanRays.cpp
mld2443/LeanCppRays
0672c3e0bdbec720b10f766148cd2eb17e20968b
[ "MIT" ]
null
null
null
/////////////// // RayTracer // /////////////// #include <iostream> #include <math.h> #include <list> #include <optional> #include <random> #include <png.h> #define DTOR(x) x * 3.1415926535897932/180.0 using decimal = double; ////////////////////// // Global Variables // ////////////////////// std::random_device d...
31.918149
154
0.57604
[ "shape", "transform" ]
a45fccdb80798ba338f8a2fb10815cba2b1875ba
42,246
cxx
C++
HLT/MUON/OfflineInterface/AliHLTMUONDigitPublisherComponent.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
HLT/MUON/OfflineInterface/AliHLTMUONDigitPublisherComponent.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
HLT/MUON/OfflineInterface/AliHLTMUONDigitPublisherComponent.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * This file is property of and copyright by the ALICE HLT Project * * All rights reserved. * * * * Primary Autho...
30.068327
105
0.643114
[ "object", "3d" ]
a4629ea085dfcbdef1272f6b8ce2263c8df4904a
6,854
cpp
C++
ds4/code/4_router_cli/command/group_command.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
132
2017-03-22T03:46:38.000Z
2022-03-08T15:08:16.000Z
ds4/code/4_router_cli/command/group_command.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
4
2017-04-06T17:46:10.000Z
2018-08-08T18:27:59.000Z
ds4/code/4_router_cli/command/group_command.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
30
2017-03-26T22:38:17.000Z
2021-11-21T20:50:17.000Z
// // The MIT License(MIT) // // Copyright(c) 2014 Demonsaw LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, c...
27.748988
113
0.656551
[ "vector", "transform" ]
a462df61d5615dbeb2ffc8b0db4a72374d372e21
40,031
cpp
C++
Visual Mercutio/zBaseLib/PSS_PlanFinObjects.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zBaseLib/PSS_PlanFinObjects.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zBaseLib/PSS_PlanFinObjects.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_PlanFinObjects --------------------------------------------------* **************************************************************************** * Description : Provides financial plan objects * * Devel...
32.38754
179
0.490095
[ "object" ]
a46a1025c1678ce91a066d080bc3a26ea8bd4487
9,857
cpp
C++
cpp/wingchun/src/util/instrument.cpp
shu13720902/kungfu
da8101b6e4b7f08280d047c8f8c85c5e51875f15
[ "Apache-2.0" ]
null
null
null
cpp/wingchun/src/util/instrument.cpp
shu13720902/kungfu
da8101b6e4b7f08280d047c8f8c85c5e51875f15
[ "Apache-2.0" ]
null
null
null
cpp/wingchun/src/util/instrument.cpp
shu13720902/kungfu
da8101b6e4b7f08280d047c8f8c85c5e51875f15
[ "Apache-2.0" ]
1
2021-10-31T05:11:05.000Z
2021-10-31T05:11:05.000Z
// // Created by PolarAir on 2019-02-27. // #ifndef KUNGFU_BASIC_INFO_HPP #define KUNGFU_BASIC_INFO_HPP #include <string> #include <fmt/format.h> #include <spdlog/spdlog.h> #include <kungfu/wingchun/util/instrument.h> #include <kungfu/wingchun/util/env.h> using namespace kungfu::journal; namespace kungfu { Fut...
41.590717
182
0.570863
[ "vector" ]
a46e5698de0d1dab7a8931d4078fb41a8db8284c
6,094
cpp
C++
src/qt/qtbase/src/platformsupport/eglconvenience/qeglcompositor.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/platformsupport/eglconvenience/qeglcompositor.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/platformsupport/eglconvenience/qeglcompositor.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 plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees hol...
32.763441
112
0.643584
[ "geometry", "render" ]
a4731a491c7f0212d80e4fca946fc69772ffa9e0
7,047
cpp
C++
lab4DSA/ExtendedTest.cpp
marivsteo/Data-Structures-And-Algorithms-Course
e81a9439b24ad9587f92ef1696eae02a383b3188
[ "MIT" ]
null
null
null
lab4DSA/ExtendedTest.cpp
marivsteo/Data-Structures-And-Algorithms-Course
e81a9439b24ad9587f92ef1696eae02a383b3188
[ "MIT" ]
null
null
null
lab4DSA/ExtendedTest.cpp
marivsteo/Data-Structures-And-Algorithms-Course
e81a9439b24ad9587f92ef1696eae02a383b3188
[ "MIT" ]
null
null
null
#include <assert.h> #include "Bag.h" #include "ExtendedTest.h" #include "BagIterator.h" #include <iostream> #include <vector> #include <exception> using namespace std; void testCreate() { Bag b; assert(b.size() == 0); assert(b.isEmpty() == true); for (int i = -5; i < 5; i++) { assert(b.search(i) ...
19.684358
57
0.497942
[ "vector" ]
a473b714ca4dcae3aabf1d3b71e439bd09b2bcf1
1,372
cpp
C++
Algorithms/1438.Longest_Continuous_Subarray_With_Absolute_Diff_Less_Than_or_Equal_to_Limit.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/1438.Longest_Continuous_Subarray_With_Absolute_Diff_Less_Than_or_Equal_to_Limit.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/1438.Longest_Continuous_Subarray_With_Absolute_Diff_Less_Than_or_Equal_to_Limit.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
typedef vector<int> vi; typedef vector<vi> vii; class Solution { public: int longestSubarray(vector<int>& ar, int limit) { int k = 0; int n = ar.size(); vector<int> lg2(n+1,0); for( int i = 1 ; (1<<i) <= n ; i++ ) k = lg2[1<<i] = i; for( int i = 3 ; i <= n ; i++ ...
31.906977
69
0.325073
[ "vector" ]
a473c78c2640861e2b64f205e9397f20854d1a63
900
hpp
C++
src/main/cpp/pdf_tin/Page.hpp
tomault/pdf_tin
5d33d87a622327fd5cb50e895435b454c02ecf06
[ "Apache-2.0" ]
null
null
null
src/main/cpp/pdf_tin/Page.hpp
tomault/pdf_tin
5d33d87a622327fd5cb50e895435b454c02ecf06
[ "Apache-2.0" ]
null
null
null
src/main/cpp/pdf_tin/Page.hpp
tomault/pdf_tin
5d33d87a622327fd5cb50e895435b454c02ecf06
[ "Apache-2.0" ]
null
null
null
#ifndef __PDF_TIN__PAGE_HPP__ #define __PDF_TIN__PAGE_HPP__ #include <pdf_tin/Image.hpp> #include <pdf_tin/Text.hpp> #include <pdf_tin/detail/GObjectPtr.hpp> #include <memory> struct _PopplerPage; namespace pdf_tin { class Page { public: Page(_PopplerPage* page) : page_(page) { } Page(const Page&) = de...
21.95122
78
0.66
[ "vector" ]
a475ae2c7ccf20df90bf018361ab4501571a3c56
624
hpp
C++
05-Map/src/Map.hpp
eXpl0it3r/SFML-Workshop
0a42acc8a4aa48d44f3191b7472ea1f666381dee
[ "Unlicense" ]
9
2019-06-11T16:55:25.000Z
2020-05-06T14:59:28.000Z
05-Map/src/Map.hpp
eXpl0it3r/SFML-Workshop
0a42acc8a4aa48d44f3191b7472ea1f666381dee
[ "Unlicense" ]
null
null
null
05-Map/src/Map.hpp
eXpl0it3r/SFML-Workshop
0a42acc8a4aa48d44f3191b7472ea1f666381dee
[ "Unlicense" ]
null
null
null
#pragma once #include <SFML/Graphics.hpp> #include <set> class Map final : public sf::Drawable { public: void load(const sf::Texture& tilesheet, sf::Vector2u tile_size, const int* tile_map, sf::Vector2<std::size_t> map_size); bool check_collision(sf::Vector2f next_position, std::set<int> collisi...
27.130435
85
0.705128
[ "vector" ]
a4771c4d9b435163bae4093d61cd1edc782ce16a
2,948
cpp
C++
window.cpp
Kepler-Br/SDLRayMarching
5d6487ce0603eaa88e9b9d898bc86b76a814eeda
[ "MIT" ]
1
2019-05-17T14:17:23.000Z
2019-05-17T14:17:23.000Z
window.cpp
Kepler-Br/SDLRayMarching
5d6487ce0603eaa88e9b9d898bc86b76a814eeda
[ "MIT" ]
null
null
null
window.cpp
Kepler-Br/SDLRayMarching
5d6487ce0603eaa88e9b9d898bc86b76a814eeda
[ "MIT" ]
null
null
null
#include "window.h" #include <iostream> void Window::init(const glm::ivec2 &geometry) { this->geometry = geometry; if ( SDL_Init(SDL_INIT_EVERYTHING) < 0 ) { std::cout << "Unable to init SDL, error: " << SDL_GetError() << std::endl; exit(1); } SDL_CreateWindowAndRenderer(geometry.x,...
27.811321
94
0.60787
[ "geometry" ]
a477e20f7e3b7ad1b19bf7200a65b337499c4e22
4,957
cpp
C++
webkit/Source/WebKit/android/nav/SelectText.cpp
mogoweb/webkit_for_android5.1
63728b4ae4c494011e8e43a466637c826f0f6b5f
[ "Apache-2.0" ]
2
2017-05-19T08:53:12.000Z
2017-08-28T11:59:26.000Z
webkit/Source/WebKit/android/nav/SelectText.cpp
mogoweb/webkit_for_android5.1
63728b4ae4c494011e8e43a466637c826f0f6b5f
[ "Apache-2.0" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
webkit/Source/WebKit/android/nav/SelectText.cpp
mogoweb/webkit_for_android5.1
63728b4ae4c494011e8e43a466637c826f0f6b5f
[ "Apache-2.0" ]
2
2017-08-09T09:03:23.000Z
2020-05-26T09:14:49.000Z
/* * Copyright 2008, The Android Open Source Project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and ...
33.268456
131
0.66633
[ "vector" ]
a47b260284884eb97bf59b5a2e49dbaa89e2f109
2,946
cpp
C++
Section 4.2b/Exercise42b4/Exercise42b4/Main.cpp
scottsidoli/C-for-Financial-Engineering---Baruch-Pre-MFE-Certificate
79c2fb297a85c914d5f0b8671bb17636801e3ce7
[ "MIT" ]
1
2021-11-05T08:14:37.000Z
2021-11-05T08:14:37.000Z
Section 4.2b/Exercise42b4/Exercise42b4/Main.cpp
scottsidoli/C-for-Financial-Engineering---Baruch-Pre-MFE-Certificate
79c2fb297a85c914d5f0b8671bb17636801e3ce7
[ "MIT" ]
null
null
null
Section 4.2b/Exercise42b4/Exercise42b4/Main.cpp
scottsidoli/C-for-Financial-Engineering---Baruch-Pre-MFE-Certificate
79c2fb297a85c914d5f0b8671bb17636801e3ce7
[ "MIT" ]
null
null
null
// Exercise 4.2b.4 - Stack Class (composition) // // by Scott Sidoli // // 5-24-19 // // Main.cpp // // In this exercise, we made a stack class. We use data storage from the array class, but we do not derive // from the array class because there is functionality from the array class that we do not wish to incl...
29.46
108
0.602172
[ "cad" ]
a47d7e5aeac3f75e556547575294d3451a9fa13b
2,525
cpp
C++
Codes/Set_or_selfBalancingTree/sample-problems/leetCode-532-k-diff-pairs.cpp
fahimfarhan/FarCryCoding
ed9005194736c2b719823683c1295946bcb49910
[ "MIT" ]
null
null
null
Codes/Set_or_selfBalancingTree/sample-problems/leetCode-532-k-diff-pairs.cpp
fahimfarhan/FarCryCoding
ed9005194736c2b719823683c1295946bcb49910
[ "MIT" ]
null
null
null
Codes/Set_or_selfBalancingTree/sample-problems/leetCode-532-k-diff-pairs.cpp
fahimfarhan/FarCryCoding
ed9005194736c2b719823683c1295946bcb49910
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: int findPairsithNonZeroK(vector<int>& nums, int k) { int pairCount = 0; unordered_set<int> uset; for(auto num: nums) { uset.insert(num); } int m = 0; bool exists = false; /** for(auto num: ...
20.696721
103
0.481584
[ "vector" ]
a48a8a088ae4ae2a7ccbdd47de75bceb19f57dc4
114,475
cpp
C++
Nyancat.cpp
huydx/NyanNyan
740c91af88946d15ce8bc5f68bba5197c1da2735
[ "MIT" ]
10
2015-07-31T02:28:30.000Z
2021-06-12T15:49:49.000Z
Nyancat.cpp
huydx/NyanNyan
740c91af88946d15ce8bc5f68bba5197c1da2735
[ "MIT" ]
null
null
null
Nyancat.cpp
huydx/NyanNyan
740c91af88946d15ce8bc5f68bba5197c1da2735
[ "MIT" ]
null
null
null
/**** * * * nyancat part * ****/ #define _DARWIN_C_SOURCE 1 #define __BSD_VISIBLE 1 #include <ctype.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <time.h> #include <setjmp.h> #include <getopt.h> #include <sys/ioctl.h> #ifndef T...
56.225442
82
0.067106
[ "render" ]
a48bda15d7f64762afb266c7ea3d49e57fdeba86
21,478
cpp
C++
practica2/ProyectosIG_x64_VS2019_FG/IG1App/Mesh.cpp
FRYoussef/openGL-scenes
e9a79d45956e9c41aa038fb4710a0590b3bc8f48
[ "MIT" ]
null
null
null
practica2/ProyectosIG_x64_VS2019_FG/IG1App/Mesh.cpp
FRYoussef/openGL-scenes
e9a79d45956e9c41aa038fb4710a0590b3bc8f48
[ "MIT" ]
null
null
null
practica2/ProyectosIG_x64_VS2019_FG/IG1App/Mesh.cpp
FRYoussef/openGL-scenes
e9a79d45956e9c41aa038fb4710a0590b3bc8f48
[ "MIT" ]
null
null
null
#include "Mesh.h" #include "CheckML.h" #include <fstream> #include <gtc/matrix_transform.hpp> #include <iostream> using namespace std; using namespace glm; //------------------------------------------------------------------------- void Mesh::draw() const { glDrawArrays(mPrimitive, 0, size()); // ...
30.682857
137
0.564112
[ "mesh", "render", "vector" ]
a49819499deddae7255de968b56adc3605ac6673
1,015
hpp
C++
source/LevelTheme.hpp
Amaranese/mario-bros-cplusplus
b5aefffbd3650cfa0ff5e846f43748efde8666c5
[ "Unlicense" ]
1
2021-08-15T00:37:29.000Z
2021-08-15T00:37:29.000Z
source/LevelTheme.hpp
Amaranese/mario-bros-cplusplus
b5aefffbd3650cfa0ff5e846f43748efde8666c5
[ "Unlicense" ]
null
null
null
source/LevelTheme.hpp
Amaranese/mario-bros-cplusplus
b5aefffbd3650cfa0ff5e846f43748efde8666c5
[ "Unlicense" ]
null
null
null
#ifndef LEVELTHEME_HPP #define LEVELTHEME_HPP #include <string> #include <vector> #include "EntityTypes.hpp" class Background; class Music; class ResourceManager; /** * Determines the theming (resources used) when generating a random Level. */ struct LevelTheme { std::vector<const Background*> backgrounds; std:...
25.375
85
0.744828
[ "vector" ]