hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
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
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
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
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
c8c84c07fdf7eba54f87f0fb5902abc3edadd060
3,125
hpp
C++
src/Renderer/VulkanRendererImpl.hpp
mxtt-mmxix/York-Engine
a4592757b2fe52b4737c87ba59546dce2e90b9dd
[ "BSD-2-Clause" ]
null
null
null
src/Renderer/VulkanRendererImpl.hpp
mxtt-mmxix/York-Engine
a4592757b2fe52b4737c87ba59546dce2e90b9dd
[ "BSD-2-Clause" ]
null
null
null
src/Renderer/VulkanRendererImpl.hpp
mxtt-mmxix/York-Engine
a4592757b2fe52b4737c87ba59546dce2e90b9dd
[ "BSD-2-Clause" ]
null
null
null
/* * BSD 2-Clause License * * Copyright (c) 2022 Matthew McCall * 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 notic...
30.637255
85
0.73824
mxtt-mmxix
c8c9158acca4f039fb52fe16fea629017db67bd7
263
cpp
C++
LeetCode/Problems/Algorithms/#70_ClimbingStairs_sol5_dp_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#70_ClimbingStairs_sol5_dp_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#70_ClimbingStairs_sol5_dp_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: int climbStairs(int n) { vector<int> f(2); f[0] = 1; f[1] = 1; for(int i = 2; i <= n; ++i){ f[i % 2] = f[(i - 1) % 2] + f[(i - 2) % 2]; } return f[n % 2]; } };
21.916667
56
0.323194
Tudor67
c8ca97ce5aeeb3d8b036d29649275e2f49bba83a
1,688
cpp
C++
openscenario/openscenario_interpreter/src/syntax/longitudinal_action.cpp
WJaworskiRobotec/scenario_simulator_v2
c23497ac8716dcefef20d4b5a4ff1185e01f48e6
[ "Apache-2.0" ]
45
2021-04-12T22:43:25.000Z
2022-02-27T23:57:53.000Z
openscenario/openscenario_interpreter/src/syntax/longitudinal_action.cpp
WJaworskiRobotec/scenario_simulator_v2
c23497ac8716dcefef20d4b5a4ff1185e01f48e6
[ "Apache-2.0" ]
140
2021-04-13T04:28:19.000Z
2022-03-30T12:44:32.000Z
openscenario/openscenario_interpreter/src/syntax/longitudinal_action.cpp
WJaworskiRobotec/scenario_simulator_v2
c23497ac8716dcefef20d4b5a4ff1185e01f48e6
[ "Apache-2.0" ]
13
2021-05-22T02:24:49.000Z
2022-03-25T05:16:31.000Z
// Copyright 2015-2021 Tier IV, 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 app...
35.166667
150
0.719787
WJaworskiRobotec
c8cbba8523b7d615d28bf710acc233688249f5e0
49,224
cpp
C++
src/caffe/test/test_convolution_layer.cpp
Amanda-Barbara/nvcaffe
5155a708b235a818ce300aa3f9fc235ece9a35fb
[ "BSD-2-Clause" ]
758
2015-03-08T20:54:38.000Z
2022-01-11T03:14:51.000Z
src/caffe/test/test_convolution_layer.cpp
Matsuko9/caffe
17e347e42e664b87d80f63bfbbb89bec5e559242
[ "BSD-2-Clause" ]
493
2015-04-28T00:08:53.000Z
2021-08-04T07:26:54.000Z
src/caffe/test/test_convolution_layer.cpp
Matsuko9/caffe
17e347e42e664b87d80f63bfbbb89bec5e559242
[ "BSD-2-Clause" ]
389
2015-03-05T12:11:44.000Z
2022-03-13T21:49:42.000Z
#include <algorithm> #include <vector> #include "gtest/gtest.h" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/filler.hpp" #include "caffe/layers/conv_layer.hpp" #ifdef USE_CUDNN #include "caffe/layers/cudnn_conv_layer.hpp" #endif #include "caffe/test/test_caffe_main.hpp" #include "caffe/te...
43.216857
98
0.714855
Amanda-Barbara
c8cd66f298091f7fe74213346ca09586eccc8eba
506
cpp
C++
CHAPTER11/C11E12.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
CHAPTER11/C11E12.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
CHAPTER11/C11E12.cpp
lrpinnto/stroustrup-exercises
a471a0d7b49b51b7c26e005ff9e66f3f6db199dd
[ "MIT" ]
null
null
null
#include "../stroustrup/std_lib_facilities.h" //CHAPTER 11 EX 12 int main() { cout<<"Enter a text file: "; string iname; cin>>iname; ifstream ifs {iname}; if (!ifs) error("can't open input file",iname); ifs.exceptions(ifs.exceptions()|ios_base::badbit); string line; while(getline(ifs, ...
21.083333
54
0.55336
lrpinnto
c8cf8fad3cc65b8131302bde5e253a654d48bac8
5,870
cpp
C++
build/linux-build/Sources/src/kha/kore/Sound.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/kha/kore/Sound.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/kha/kore/Sound.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.0-preview.5 #include <hxcpp.h> #ifndef INCLUDED_StringTools #include <hxinc/StringTools.h> #endif #ifndef INCLUDED_haxe_Log #include <hxinc/haxe/Log.h> #endif #ifndef INCLUDED_haxe_io_Bytes #include <hxinc/haxe/io/Bytes.h> #endif #ifndef INCLUDED_kha_Resource #include <hxinc/kha/Resource.h> #e...
33.352273
208
0.716014
HedgehogFog
c8d14feb6268f98a7fb72de26fd839f876530618
680
hpp
C++
vm/test/test_symbol.hpp
DCarper/rubinius
6d1f079d0e792fda5606de65c81c8d622366a822
[ "BSD-3-Clause" ]
1
2015-11-05T01:23:05.000Z
2015-11-05T01:23:05.000Z
vm/test/test_symbol.hpp
slawosz/rubinius
6cb4a19a33e942110ae14a1721cf4b48036fcc06
[ "BSD-3-Clause" ]
null
null
null
vm/test/test_symbol.hpp
slawosz/rubinius
6cb4a19a33e942110ae14a1721cf4b48036fcc06
[ "BSD-3-Clause" ]
1
2021-09-18T04:55:38.000Z
2021-09-18T04:55:38.000Z
#include "vm/test/test.hpp" #include "builtin/symbol.hpp" class TestSymbol : public CxxTest::TestSuite, public VMTest { public: void setUp() { create(); } void tearDown() { destroy(); } void test_index() { Symbol* sym = state->symbol("blah"); TS_ASSERT_EQUALS(sym->index(state)->to_native...
19.428571
67
0.626471
DCarper
c8d364dc2ff97005be0bde0643dec9b6c96d0a42
1,225
cpp
C++
Hiring Challenges/Google-APAC-Kickstart/Practice Round APAC Test 2017/Problem A - Lazy Spelling Bee/Problem A.cpp
cnm06/Competitive-Programming
94242ae458570d503b8218f37624b88cc5020d23
[ "MIT" ]
2
2020-03-18T13:49:27.000Z
2020-03-19T08:22:47.000Z
Hiring Challenges/Google-APAC-Kickstart/Practice Round APAC Test 2017/Problem A - Lazy Spelling Bee/Problem A.cpp
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
null
null
null
Hiring Challenges/Google-APAC-Kickstart/Practice Round APAC Test 2017/Problem A - Lazy Spelling Bee/Problem A.cpp
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
1
2020-03-19T08:22:50.000Z
2020-03-19T08:22:50.000Z
#include <bits/stdc++.h> using namespace std; int main() { freopen("A-large-practice.in", "r", stdin); freopen("output.txt", "w", stdout); long long int n, i , j, ans, c; string s; cin>>n; for(i=0;i<n;i++){ cin>>s; ans = 1; if(s.length()==1){ ans = 1; } ...
25
72
0.298776
cnm06
c8d6b64af2d57a988993ccd4c2e739b14d5d9f99
19,697
hpp
C++
libraries/app/include/graphene/app/api.hpp
BlockLink/HX-core
646bdb19d7be7b4fd1ee94c777ef8e42d9aea783
[ "MIT" ]
1
2018-12-12T08:38:09.000Z
2018-12-12T08:38:09.000Z
libraries/app/include/graphene/app/api.hpp
BlockLink/HX-core
646bdb19d7be7b4fd1ee94c777ef8e42d9aea783
[ "MIT" ]
null
null
null
libraries/app/include/graphene/app/api.hpp
BlockLink/HX-core
646bdb19d7be7b4fd1ee94c777ef8e42d9aea783
[ "MIT" ]
null
null
null
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
37.95183
143
0.611819
BlockLink
c8d83b80e986578833fa84ca5c0fbfb51570cf2c
3,722
cpp
C++
Projetos/Aula15/main.cpp
chaua/programacao-avancada
4f580006d6e7e79e1bb6b32a62702eda3daa5874
[ "MIT" ]
15
2018-04-05T00:15:01.000Z
2022-03-26T00:08:32.000Z
Projetos/Aula15/main.cpp
chaua/programacao-avancada
4f580006d6e7e79e1bb6b32a62702eda3daa5874
[ "MIT" ]
null
null
null
Projetos/Aula15/main.cpp
chaua/programacao-avancada
4f580006d6e7e79e1bb6b32a62702eda3daa5874
[ "MIT" ]
7
2018-03-23T00:11:56.000Z
2020-05-05T02:55:44.000Z
#include <iostream> #include <iomanip> #include <string> #include <list> #include <vector> #include <algorithm> using namespace std; class Aluno { public: Aluno(string nome, float n1, float n2) : _nome(nome), _nota1(n1), _n...
24.649007
90
0.551854
chaua
c8db3e38576e1a1087d7f289695e786508236492
1,869
hpp
C++
include/ioh/problem/bbob/griewank_rosenbrock.hpp
tobiasvandriessel/IOHexperimenter
da22d89fe1673ea67962829d12873e01387f6895
[ "BSD-3-Clause" ]
null
null
null
include/ioh/problem/bbob/griewank_rosenbrock.hpp
tobiasvandriessel/IOHexperimenter
da22d89fe1673ea67962829d12873e01387f6895
[ "BSD-3-Clause" ]
null
null
null
include/ioh/problem/bbob/griewank_rosenbrock.hpp
tobiasvandriessel/IOHexperimenter
da22d89fe1673ea67962829d12873e01387f6895
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "bbob_problem.hpp" namespace ioh::problem::bbob { class GriewankRosenBrock final : public BBOProblem<GriewankRosenBrock> { std::vector<double> x_shift_; protected: double evaluate(const std::vector<double> &x) override { auto result = 0...
35.942308
96
0.486891
tobiasvandriessel
c8df57d3fc9aba20ad75c9e8575b2e0cdf9e4143
3,820
cpp
C++
vcl/display/window/window.cpp
PPonc/inf443-vcl
4d7bb0130c4bc44e089059464223eca318fdbd00
[ "MIT" ]
null
null
null
vcl/display/window/window.cpp
PPonc/inf443-vcl
4d7bb0130c4bc44e089059464223eca318fdbd00
[ "MIT" ]
null
null
null
vcl/display/window/window.cpp
PPonc/inf443-vcl
4d7bb0130c4bc44e089059464223eca318fdbd00
[ "MIT" ]
null
null
null
#include "../opengl/opengl.hpp" #include "window.hpp" #include "../../base/base.hpp" #include <iostream> #ifndef GLFW_TRUE #define GLFW_TRUE 1 #define GLFW_FALSE 0 #endif namespace vcl { static std::string glfw_error_string(int error) { switch(error) { case GLFW_NOT_I...
37.087379
176
0.634293
PPonc
c8e12cde2ffd0cb3447ae122a36621ec53e34bef
39,992
cpp
C++
src/ThirdParty/yaml/test/integration/node_spec_test.cpp
xiaomingfun/TmingEngine
b81b822a4771c07908e1a72f5118a34552579d9e
[ "Apache-2.0" ]
27
2018-05-21T14:28:10.000Z
2021-12-31T03:12:35.000Z
src/ThirdParty/yaml/test/integration/node_spec_test.cpp
xiaomingfun/TmingEngine
b81b822a4771c07908e1a72f5118a34552579d9e
[ "Apache-2.0" ]
1
2019-05-28T15:27:52.000Z
2019-05-28T15:27:52.000Z
src/ThirdParty/yaml/test/integration/node_spec_test.cpp
xiaomingfun/TmingEngine
b81b822a4771c07908e1a72f5118a34552579d9e
[ "Apache-2.0" ]
13
2019-11-08T12:48:44.000Z
2022-01-04T04:13:33.000Z
#include "specexamples.h" #include "yaml-cpp/yaml.h" // IWYU pragma: keep #include "gtest/gtest.h" #define EXPECT_THROW_PARSER_EXCEPTION(statement, message) \ ASSERT_THROW(statement, ParserException); \ try { \ statement; ...
35.328622
81
0.608447
xiaomingfun
c8e274f3f7831208c480b6d90d2d9b48d94ee1f2
8,387
cpp
C++
lib/Sema/IDETypeCheckingRequests.cpp
jackgmarch/swift
a53ab388bbbe86db37fd388201781f6a50f414c4
[ "Apache-2.0" ]
1
2021-06-22T18:53:18.000Z
2021-06-22T18:53:18.000Z
lib/Sema/IDETypeCheckingRequests.cpp
jackgmarch/swift
a53ab388bbbe86db37fd388201781f6a50f414c4
[ "Apache-2.0" ]
null
null
null
lib/Sema/IDETypeCheckingRequests.cpp
jackgmarch/swift
a53ab388bbbe86db37fd388201781f6a50f414c4
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
39.191589
80
0.682604
jackgmarch
c8e27d524998826bd8708344a34d876340fa916c
1,574
cpp
C++
Fase 3/src/cone.cpp
pinetreeaxe/CG-TP
d77eb45d998c91e0cb0d9468244b229f8c0325f9
[ "MIT" ]
1
2021-12-23T15:17:42.000Z
2021-12-23T15:17:42.000Z
Fase 3/src/cone.cpp
pinetreeaxe/CG-TP
d77eb45d998c91e0cb0d9468244b229f8c0325f9
[ "MIT" ]
null
null
null
Fase 3/src/cone.cpp
pinetreeaxe/CG-TP
d77eb45d998c91e0cb0d9468244b229f8c0325f9
[ "MIT" ]
null
null
null
#include "cone.hpp" #include "point.hpp" #define _USE_MATH_DEFINES #include "math.h" Cone::Cone(int argc, char** argv) { radius = std::stof(argv[0]); height = std::stof(argv[1]); slices = std::stoi(argv[2]); stacks = std::stoi(argv[2]); } std::vector<Point> Cone::draw() { Point center = Point(0, 0, ...
23.848485
103
0.593393
pinetreeaxe
c8e6879fc286dfb63fe9bf69f359debfe2a49446
3,533
hpp
C++
src/D3D12Hook.hpp
MeatSafeMurderer/REFramework
e275d7eccccfcb70311863b3f822428bdd74ce95
[ "MIT" ]
1
2022-01-25T04:46:24.000Z
2022-01-25T04:46:24.000Z
src/D3D12Hook.hpp
drowhunter/REFramework
49ef476d13439110cc0ae565cc323cd615d9b327
[ "MIT" ]
null
null
null
src/D3D12Hook.hpp
drowhunter/REFramework
49ef476d13439110cc0ae565cc323cd615d9b327
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <functional> #pragma comment(lib, "d3d12.lib") #pragma comment(lib, "dxgi") #include <d3d12.h> #include <dxgi1_4.h> #include "utility/PointerHook.hpp" class D3D12Hook { public: typedef std::function<void(D3D12Hook&)> OnPresentFn; typedef std::function<void(D3D12Hook&)> O...
28.039683
255
0.714407
MeatSafeMurderer
c8e7ce19a78060cd76425b101fd5387e4077a1a7
583
cpp
C++
Hacker Rank/C++/Introduction/Hacker rank Variable Sized Arrays.cpp
akash246/Competitive-Programming-Solutions
68db69ba8a771a433e5338bc4e837a02d3f89823
[ "MIT" ]
28
2017-11-08T11:52:11.000Z
2021-07-16T06:30:02.000Z
Hacker Rank/C++/Introduction/Hacker rank Variable Sized Arrays.cpp
akash246/Competitive-Programming-Solutions
68db69ba8a771a433e5338bc4e837a02d3f89823
[ "MIT" ]
null
null
null
Hacker Rank/C++/Introduction/Hacker rank Variable Sized Arrays.cpp
akash246/Competitive-Programming-Solutions
68db69ba8a771a433e5338bc4e837a02d3f89823
[ "MIT" ]
30
2017-09-01T09:14:27.000Z
2021-04-12T12:08:56.000Z
#include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); const int sz= 1e5; int n, q, k, a, b; cin>>n>>q; int** seqSet = new int*[(const int)n]; for(int i= 0; i<n; i++){ cin>>k; int* seq = new int[(const int)k]; ...
15.756757
42
0.427101
akash246
c8ea11c4cda7e0a6fecbfb38344352a4489fdbd0
1,991
cpp
C++
Leetcode/Binary_Tree/leaf-similar-trees.cpp
susantabiswas/competitive_coding
49163ecdc81b68f5c1bd90988cc0dfac34ad5a31
[ "MIT" ]
2
2021-04-29T14:44:17.000Z
2021-10-01T17:33:22.000Z
Leetcode/Binary_Tree/leaf-similar-trees.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
null
null
null
Leetcode/Binary_Tree/leaf-similar-trees.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
1
2021-10-01T17:33:29.000Z
2021-10-01T17:33:29.000Z
/* https://leetcode.com/problems/leaf-similar-trees/submissions/ Idea is to find the order of leaf nodes of 1st tree and then do a preorder traversal of 2nd tree and check if the leaves of 2nd tree are also in the same order. */ /** * Definition for a binary tree node. * struct TreeNode { * ...
32.112903
93
0.547966
susantabiswas
c8ee4909f5212f6e145f82ecae66f5eac2b95071
2,667
cpp
C++
code/nes/mapper/10.cpp
oldGanon/neszett
7b42b042fe74e37e18f93718c3549feeea7d85e7
[ "MIT" ]
null
null
null
code/nes/mapper/10.cpp
oldGanon/neszett
7b42b042fe74e37e18f93718c3549feeea7d85e7
[ "MIT" ]
null
null
null
code/nes/mapper/10.cpp
oldGanon/neszett
7b42b042fe74e37e18f93718c3549feeea7d85e7
[ "MIT" ]
null
null
null
static u8 Mapper10_Read(cart *Cart, u16 Address) { switch (Address >> 12) { case 0: { u8 Value = Cart->Chr[Cart->Mapper9.ChrLatch[0]][Address & 0xFFF]; if (0x0FD8 <= Address && Address <= 0x0FDF) Cart->Mapper9.ChrLatch[0] = 0; if (0x0FE8 <= Address && Address...
41.030769
103
0.56393
oldGanon
c8f10eca26b6cb3f6bdbcc15af563a8996e89d07
20,037
cc
C++
src/third_party/starboard/rdk/shared/drm/gst_decryptor_ocdm.cc
rmaddali991/rdk-cobalt
b2f08a80c136be75295338aeb71895d06bb6d374
[ "Apache-2.0" ]
1
2022-01-25T21:22:47.000Z
2022-01-25T21:22:47.000Z
src/third_party/starboard/rdk/shared/drm/gst_decryptor_ocdm.cc
rmaddali991/rdk-cobalt
b2f08a80c136be75295338aeb71895d06bb6d374
[ "Apache-2.0" ]
null
null
null
src/third_party/starboard/rdk/shared/drm/gst_decryptor_ocdm.cc
rmaddali991/rdk-cobalt
b2f08a80c136be75295338aeb71895d06bb6d374
[ "Apache-2.0" ]
1
2021-09-14T22:35:29.000Z
2021-09-14T22:35:29.000Z
// // Copyright 2020 Comcast Cable Communications Management, LLC // // 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...
34.134583
142
0.726456
rmaddali991
c8f3d8243aca5d8a84ea9b1770949f69a20dbf1c
3,396
cpp
C++
KTL/KTL.Containers.ListNode.cpp
MeeSong/KTL
c556e44c57a402ce049a3f83270b40ccaca1fec6
[ "MIT" ]
105
2016-09-24T14:47:32.000Z
2022-03-28T15:15:31.000Z
KTL/KTL.Containers.ListNode.cpp
c3358/KTL
c556e44c57a402ce049a3f83270b40ccaca1fec6
[ "MIT" ]
2
2019-08-21T22:24:45.000Z
2021-07-28T11:28:59.000Z
KTL/KTL.Containers.ListNode.cpp
c3358/KTL
c556e44c57a402ce049a3f83270b40ccaca1fec6
[ "MIT" ]
46
2017-08-30T07:28:28.000Z
2022-02-04T14:42:57.000Z
#include "KTL.Containers.ListNode.h" #include "KTL.Type.Uitility.h" namespace ktl { inline namespace containers { /// STRUCT _List_node_base bool _List_node_base::empty() const NOEXCEPT$TYPE { return static_cast<bool>((m_next == this)); } void...
30.872727
83
0.463486
MeeSong
c8f8f7d67b845678eac7969d423acde39d1e96ef
35,410
cpp
C++
src/llvm/lib/VMCore/DebugInfo.cpp
jeltz/rust-debian-package
07eaa3658867408248c555b1b3a593c012b4f931
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2015-02-04T20:57:19.000Z
2015-02-04T20:57:19.000Z
src/llvm/lib/VMCore/DebugInfo.cpp
jeltz/rust-debian-package
07eaa3658867408248c555b1b3a593c012b4f931
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
src/llvm/lib/VMCore/DebugInfo.cpp
jeltz/rust-debian-package
07eaa3658867408248c555b1b3a593c012b4f931
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
//===--- DebugInfo.cpp - Debug Information Helper Classes -----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
30.290847
82
0.65747
jeltz
c8f94857af570a7b0aaf2c4ef85bedcbb1321966
9,265
cc
C++
ecp5/config.cc
ZirconiumX/nextpnr
3c078f609029d363b1081e727de8a19162867b08
[ "ISC" ]
79
2019-09-26T12:46:28.000Z
2021-04-22T16:10:12.000Z
ecp5/config.cc
ZirconiumX/nextpnr
3c078f609029d363b1081e727de8a19162867b08
[ "ISC" ]
15
2019-12-24T11:25:28.000Z
2021-02-07T21:11:58.000Z
ecp5/config.cc
ZirconiumX/nextpnr
3c078f609029d363b1081e727de8a19162867b08
[ "ISC" ]
12
2019-12-27T16:22:47.000Z
2021-04-21T09:19:58.000Z
/* * nextpnr -- Next Generation Place and Route * * Copyright (C) 2018 David Shah <david@symbioticeda.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appe...
26.396011
119
0.538586
ZirconiumX
c8fa382a0dd07bbd6e34d683b502db485518fb7f
642
cpp
C++
test/std/numerics/rand/rand.device/entropy.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
test/std/numerics/rand/rand.device/entropy.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
test/std/numerics/rand/rand.device/entropy.pass.cpp
K-Wu/libcxx.doc
c3c0421b2a9cc003146e847d0b8dd3a37100f39a
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
22.928571
80
0.507788
K-Wu
c8fafe4555eef67cad25aaa687a6298e30a5d0d6
19,604
cpp
C++
oldies/bofiocmdchannel.cpp
onbings/bofstd
366ff7f7d8871d5fa5785d5690d90506a7714ecc
[ "MIT" ]
null
null
null
oldies/bofiocmdchannel.cpp
onbings/bofstd
366ff7f7d8871d5fa5785d5690d90506a7714ecc
[ "MIT" ]
1
2021-03-20T14:46:54.000Z
2021-03-20T14:47:10.000Z
oldies/bofiocmdchannel.cpp
onbings/bofstd
366ff7f7d8871d5fa5785d5690d90506a7714ecc
[ "MIT" ]
null
null
null
/* * Copyright (c) 2013-2023, Evs Broadcast Equipment All rights reserved. * * Author: Bernard HARMEL: b.harmel@evs.com * Web: www.evs.com * Revision: 1.0 * * Rem: Nothing * * History: * * V 1.00 Dec 19 2017 BHA : Initial release */ #include <bofstd/bofiocmdchannel.h> #include <bof...
34.636042
197
0.721536
onbings
c8fb9d106e32da5effdfa87891c19660c076a8a1
25,312
cpp
C++
llvm/lib/Transforms/Scalar/ADCE.cpp
kubamracek/llvm-project
f7ff1869cdd487d4baaf009380901e5469d8344d
[ "Apache-2.0" ]
null
null
null
llvm/lib/Transforms/Scalar/ADCE.cpp
kubamracek/llvm-project
f7ff1869cdd487d4baaf009380901e5469d8344d
[ "Apache-2.0" ]
null
null
null
llvm/lib/Transforms/Scalar/ADCE.cpp
kubamracek/llvm-project
f7ff1869cdd487d4baaf009380901e5469d8344d
[ "Apache-2.0" ]
null
null
null
//===- ADCE.cpp - Code to perform dead code elimination -------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
33.839572
80
0.677386
kubamracek
c8fcc68062ea917c59d83c05200d57317d1e76e6
8,857
cpp
C++
dep/reactphysics3d/src/memory/PoolAllocator.cpp
harperkdavis/hkedengine
4dbb9c5106aa8eaaf4369232f8036a05ce55ab3f
[ "MIT" ]
1
2022-02-14T11:54:13.000Z
2022-02-14T11:54:13.000Z
dep/reactphysics3d/src/memory/PoolAllocator.cpp
harperkdavis/hkedengine
4dbb9c5106aa8eaaf4369232f8036a05ce55ab3f
[ "MIT" ]
null
null
null
dep/reactphysics3d/src/memory/PoolAllocator.cpp
harperkdavis/hkedengine
4dbb9c5106aa8eaaf4369232f8036a05ce55ab3f
[ "MIT" ]
null
null
null
/******************************************************************************** * ReactPhysics3D physics library, http://www.reactphysics3d.com * * Copyright (c) 2010-2022 Daniel Chappuis * **************************************************************************...
41.976303
127
0.612736
harperkdavis
74027ddd1b2091464bc1bc21541c4b122b58a31d
582
cpp
C++
src/vulkan/vulkan_functions/VulkanFunctions.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
src/vulkan/vulkan_functions/VulkanFunctions.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
src/vulkan/vulkan_functions/VulkanFunctions.cpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
1
2021-08-24T05:43:01.000Z
2021-08-24T05:43:01.000Z
#include "../../../include/vulkan/vulkan_functions/VulkanFunctions.hpp" // exported #define EXPORTED_VULKAN_FUNCTION( name ) PFN_##name name; // global #define GLOBAL_LEVEL_VULKAN_FUNCTION( name ) PFN_##name name; // instance #define INSTANCE_LEVEL_VULKAN_FUNCTION( name ) PFN_##name name; // device #define DEVICE...
34.235294
171
0.61512
jabronicus
7403b37150f26fdd72dde0b2077ee3a6d3adbd70
664
cpp
C++
1.Arrays/Arrays_Smallest_and_Largest_number.cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
1.Arrays/Arrays_Smallest_and_Largest_number.cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
1.Arrays/Arrays_Smallest_and_Largest_number.cpp
suraj0803/DSA
6ea21e452d7662e2351ee2a7b0415722e1bbf094
[ "MIT" ]
null
null
null
#include<iostream> #include<climits> // INT_MAX and INT_MIN for max and min of integer size using namespace std; int main() { int n; cin>>n; int arr[1000]; for(int i=0; i<n; i++){ cin >> arr[i]; } // Algorithm to find largest and smallest number int largest = INT_...
18.971429
73
0.50753
suraj0803
7403f7c10bfb5d18c2065976f01b86e1b4a978cd
990
hpp
C++
programs/rodeos/streamer_plugin.hpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
13,162
2017-05-29T22:08:27.000Z
2022-03-29T19:25:05.000Z
programs/rodeos/streamer_plugin.hpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
6,450
2017-05-30T14:41:50.000Z
2022-03-30T11:30:04.000Z
programs/rodeos/streamer_plugin.hpp
forfreeday/eos
11d35f0f934402321853119d36caeb7022813743
[ "Apache-2.0", "MIT" ]
4,491
2017-05-29T22:08:32.000Z
2022-03-29T07:09:52.000Z
// copyright defined in LICENSE.txt #pragma once #include <appbase/application.hpp> #include <eosio/abi.hpp> #include "cloner_plugin.hpp" namespace b1 { struct stream_wrapper_v0 { eosio::name route; std::vector<char> data; }; EOSIO_REFLECT(stream_wrapper_v0, route, data); using stream_wrapper = std::var...
25.384615
115
0.733333
forfreeday
7407582567ad68a0eaa36b269fb1a5f0678c4b99
3,149
hpp
C++
src/math/vector4.hpp
JustSlavic/gl2
1b4752d3273a1e401c970e18ae7151bba004a4ec
[ "MIT" ]
null
null
null
src/math/vector4.hpp
JustSlavic/gl2
1b4752d3273a1e401c970e18ae7151bba004a4ec
[ "MIT" ]
2
2021-05-29T20:34:50.000Z
2021-05-29T20:39:25.000Z
src/math/vector4.hpp
JustSlavic/gl2
1b4752d3273a1e401c970e18ae7151bba004a4ec
[ "MIT" ]
null
null
null
#pragma once #include <defines.h> #include "float.hpp" #include "color.hpp" #include "vector2.hpp" #include "vector3.hpp" namespace math { struct vector4 { union { struct { f32 x, y, z, w; }; struct { f32 u, v, s, t; }; struct { f32 r, g, b, a; }; struct { f32 _1, _2...
28.369369
108
0.527151
JustSlavic
7409d06c4f5e0cc9922a60db8e17e474817f1e6c
314
cpp
C++
source/mess/engine/World.cpp
nsubiron/mess-engine
278580cca2b48ca7700a3c92525d34b5a72a545a
[ "MIT" ]
1
2017-11-03T11:42:29.000Z
2017-11-03T11:42:29.000Z
source/mess/engine/World.cpp
nsubiron/mess-engine
278580cca2b48ca7700a3c92525d34b5a72a545a
[ "MIT" ]
null
null
null
source/mess/engine/World.cpp
nsubiron/mess-engine
278580cca2b48ca7700a3c92525d34b5a72a545a
[ "MIT" ]
null
null
null
#include "mess/engine/World.h" #include "mess/engine/Actor.h" namespace mess { namespace engine { void World::visit(Actor &actor) { _actors.push_back(actor.WeakFromThis()); } void World::visit(Tickable &tickable) { _tick.RegisterTickable(tickable); } } // namespace engine } // namespace mess
17.444444
44
0.694268
nsubiron
7409d466cc0ab9fa0594b61a31865bca122d4097
968
cpp
C++
test/test_iostream_unix2dos.cpp
blindij/boostkata
5a0509c0413bddac54af94d2c00f9cb24b172279
[ "MIT" ]
null
null
null
test/test_iostream_unix2dos.cpp
blindij/boostkata
5a0509c0413bddac54af94d2c00f9cb24b172279
[ "MIT" ]
null
null
null
test/test_iostream_unix2dos.cpp
blindij/boostkata
5a0509c0413bddac54af94d2c00f9cb24b172279
[ "MIT" ]
null
null
null
// File: test_iostream_unix2dos.cpp // // Test the unix2dos output filter. Are we adding a CR? #include "catch2/catch.hpp" #include "iostreams/example/container_device.hpp" #include "iostreams/example/unix2dos_filter.hpp" #include <boost/iostreams/invert.hpp> //? #include <boost/iostreams/filtering_strea...
33.37931
74
0.715909
blindij
740ac443d38129867d52892912dd9cc348d048f0
2,196
cpp
C++
GameServer/DescManager.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/DescManager.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
null
null
null
GameServer/DescManager.cpp
openlastchaos/lastchaos-source-server
935b770fa857e67b705717d154b11b717741edeb
[ "Apache-2.0" ]
1
2022-01-17T09:34:39.000Z
2022-01-17T09:34:39.000Z
#include <boost/lambda/lambda.hpp> #include "stdhdrs.h" #include "Server.h" #include "DescManager.h" static DescManager local_instance; DescManager* DescManager::instance() { return &local_instance; } bool DescManager::insert( CDescriptor* desc ) { if (this->getDescByUserIndex(desc->m_index)) { LOG_ERROR("dupli...
24.674157
104
0.6949
openlastchaos
740af1fee90ebfe3670b3c618d784dc3be93fa2c
641
hpp
C++
entity_component_system/src/Component.hpp
JacobNeal/gl-projects
4ea40797fde28602b9f787f0ec8005dcd164e054
[ "MIT" ]
null
null
null
entity_component_system/src/Component.hpp
JacobNeal/gl-projects
4ea40797fde28602b9f787f0ec8005dcd164e054
[ "MIT" ]
null
null
null
entity_component_system/src/Component.hpp
JacobNeal/gl-projects
4ea40797fde28602b9f787f0ec8005dcd164e054
[ "MIT" ]
null
null
null
#ifndef COMPONENT_HPP #define COMPONENT_HPP #include <sstream> #include "Types.hpp" class Component { public: Component(const ComponentType & type); virtual ~Component(); ComponentType getType(); friend std::stringstream & operator >>(std::stringstream & stream, Component & comp...
20.03125
92
0.50546
JacobNeal
740b29bc9728ce58dd7518e6392c254b80b8b450
1,621
cpp
C++
QSynthesis/Frontend/Tabs/Tuning/Scrolls/NoneScrollArea.cpp
SineStriker/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
3
2021-12-08T05:30:52.000Z
2021-12-18T10:46:49.000Z
QSynthesis/Frontend/Tabs/Tuning/Scrolls/NoneScrollArea.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
QSynthesis/Frontend/Tabs/Tuning/Scrolls/NoneScrollArea.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
#include "NoneScrollArea.h" NoneScrollArea::NoneScrollArea(QWidget *parent) : MoreWidget(parent) { m_widget = nullptr; } NoneScrollArea::~NoneScrollArea() { } void NoneScrollArea::setWidget(QWidget *widget) { m_widget = widget; widget->move(0, 0); } QWidget *NoneScrollArea::widget() { return m_widge...
23.838235
73
0.628624
SineStriker
740cfc162e84e9a83e8dde940adaccf867a49069
3,386
cpp
C++
test/UnitTests/Tests/JsonParsingTests.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
1
2021-11-19T00:33:51.000Z
2021-11-19T00:33:51.000Z
test/UnitTests/Tests/JsonParsingTests.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
7
2021-03-27T01:12:25.000Z
2021-08-13T22:05:59.000Z
test/UnitTests/Tests/JsonParsingTests.cpp
jasonsandlin/PlayFabCoreCSdk
ecf51e9a7a90e579efed595bd1d76ec8f3a1ae19
[ "Apache-2.0" ]
3
2021-12-04T20:43:04.000Z
2022-01-03T21:16:32.000Z
#include "pch.h" #include "EnumTraits.h" #include "JsonUtils.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace PlayFab { enum class PFEnum { Value1, Value2 }; template<> struct EnumRange<PFEnum> { static constexpr PFEnum maxValue = PFEnum::Value2; }; template<> stru...
27.306452
132
0.538098
jasonsandlin
740dc15c90f5de0a79342999b0c43395c5c67300
57,836
cpp
C++
docker/tensorflow-lite-micro-rtos-fvp/sw/ethos-u/samples/person_detection/person_male_man_men.cpp
junpuf/Tool-Solutions
9879f48fb43028a0fd9fa070b2f8f852697384c8
[ "Apache-2.0" ]
1
2021-07-03T23:50:31.000Z
2021-07-03T23:50:31.000Z
docker/tensorflow-lite-micro-rtos-fvp/sw/ethos-u/samples/person_detection/person_male_man_men.cpp
junpuf/Tool-Solutions
9879f48fb43028a0fd9fa070b2f8f852697384c8
[ "Apache-2.0" ]
null
null
null
docker/tensorflow-lite-micro-rtos-fvp/sw/ethos-u/samples/person_detection/person_male_man_men.cpp
junpuf/Tool-Solutions
9879f48fb43028a0fd9fa070b2f8f852697384c8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Arm Limited. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * * 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 * * www.apache.org/licenses/LICENSE-2....
72.47619
100
0.649146
junpuf
740f45d8b87e808b1b2af5c587fd356d4ad772f0
7,903
cpp
C++
editor/editor_path.cpp
LinuxUserGD/godot-opengl-4
6776f665672b86f0566681460a559f4ec25ccc8b
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
15
2020-12-20T19:24:59.000Z
2022-03-25T19:41:12.000Z
editor/editor_path.cpp
LinuxUserGD/godot-opengl-4
6776f665672b86f0566681460a559f4ec25ccc8b
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
2
2021-12-10T04:07:19.000Z
2021-12-27T20:00:03.000Z
editor/editor_path.cpp
LinuxUserGD/godot-opengl-4
6776f665672b86f0566681460a559f4ec25ccc8b
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
1
2022-01-16T14:18:33.000Z
2022-01-16T14:18:33.000Z
/*************************************************************************/ /* editor_path.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
33.773504
106
0.634316
LinuxUserGD
7414de68795bdb3bb140493f55051e00808a2b1b
2,263
cpp
C++
tests/chaining.cpp
Ragora/TribalScript
b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d
[ "MIT" ]
null
null
null
tests/chaining.cpp
Ragora/TribalScript
b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d
[ "MIT" ]
1
2021-07-24T16:29:11.000Z
2021-07-26T20:00:17.000Z
tests/chaining.cpp
Ragora/TribalScript
b7f7cc6b311cee1422f1c7dffd58c85c4f29cc1d
[ "MIT" ]
null
null
null
/** * Copyright 2021 Robert MacGregor * * 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,...
38.355932
207
0.756518
Ragora
7415d6e5762cdf57c9daf6b7476576d47fb058b9
1,997
cpp
C++
src/kernel/Memory/Paging/PageTableManager.cpp
platinumTypeC/Mapple-os
9e7c0d78d94c8bf43cb349a7bdba335c3dd1ea75
[ "MIT" ]
5
2022-02-02T05:59:53.000Z
2022-03-20T06:01:19.000Z
src/kernel/Memory/Paging/PageTableManager.cpp
platinumTypeC/Mapple-os
9e7c0d78d94c8bf43cb349a7bdba335c3dd1ea75
[ "MIT" ]
1
2022-02-18T17:45:40.000Z
2022-02-20T09:03:48.000Z
src/kernel/Memory/Paging/PageTableManager.cpp
platinumTypeC/Mapple-os
9e7c0d78d94c8bf43cb349a7bdba335c3dd1ea75
[ "MIT" ]
null
null
null
#include <mapple/Gui.h> #include <mapple/Memory.h> #include <mapple/cstr.h> PageTableManager::PageTableManager(PageTable* PML4Address){ this->PML4 = PML4Address; } void PageTableManager::MapMemory(void* virtualMemory, void* physicalMemory){ PageMapIndexer indexer = PageMapIndexer((uint64_t)virtualM...
30.257576
77
0.594392
platinumTypeC
7416f0b7db9a21dff4702a7d15e880e20fc6fee9
2,560
hpp
C++
src/nuclear/src/include/nuclear_bits/dsl/store/TypeCallbackStore.hpp
Bidski/NUClearNet.js
cbca598a4a930de48e05653a58f69fe1652c8793
[ "MIT" ]
null
null
null
src/nuclear/src/include/nuclear_bits/dsl/store/TypeCallbackStore.hpp
Bidski/NUClearNet.js
cbca598a4a930de48e05653a58f69fe1652c8793
[ "MIT" ]
null
null
null
src/nuclear/src/include/nuclear_bits/dsl/store/TypeCallbackStore.hpp
Bidski/NUClearNet.js
cbca598a4a930de48e05653a58f69fe1652c8793
[ "MIT" ]
null
null
null
/* * Copyright (C) 2013 Trent Houliston <trent@houliston.me>, Jake Woods <jake.f.woods@gmail.com> * 2014-2017 Trent Houliston <trent@houliston.me> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software...
51.2
120
0.730078
Bidski
74177f6a2e1ceb221424b49344903edbfbe958b5
564
hpp
C++
include/xvega/grammar/marks/mark_square.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
34
2020-08-14T14:32:51.000Z
2022-02-16T23:20:02.000Z
include/xvega/grammar/marks/mark_square.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
19
2020-08-20T20:04:39.000Z
2022-02-28T14:34:37.000Z
include/xvega/grammar/marks/mark_square.hpp
domoritz/xvega
3754dee3e7e38e79282ba267cd86c3885807a4cd
[ "BSD-3-Clause" ]
7
2020-08-14T14:18:17.000Z
2022-02-01T10:59:24.000Z
// Copyright (c) 2020, QuantStack and XVega Contributors // // Distributed under the terms of the BSD 3-Clause License. // // The full license is in the file LICENSE, distributed with this software. #ifndef XVEGA_MARK_SQUARE_HPP #define XVEGA_MARK_SQUARE_HPP #include "../marks.hpp" namespace xv { struct mark_squ...
21.692308
75
0.702128
domoritz
741a53ce885c52b501afbaf75eeca7d58746da0c
2,438
cpp
C++
src/engine/core/src/graphics/render_target/render_surface.cpp
mjopenglsdl/halley
68b4bd0845569fa2bafaa72bef3926795f0a6d9b
[ "Apache-2.0" ]
null
null
null
src/engine/core/src/graphics/render_target/render_surface.cpp
mjopenglsdl/halley
68b4bd0845569fa2bafaa72bef3926795f0a6d9b
[ "Apache-2.0" ]
null
null
null
src/engine/core/src/graphics/render_target/render_surface.cpp
mjopenglsdl/halley
68b4bd0845569fa2bafaa72bef3926795f0a6d9b
[ "Apache-2.0" ]
null
null
null
#include "graphics/render_target/render_surface.h" #include "graphics/render_target/render_target_texture.h" #include "graphics/texture.h" #include "graphics/texture_descriptor.h" #include "graphics/material/material.h" #include "graphics/material/material_definition.h" #include "api/video_api.h" #include "graphics/spr...
31.25641
125
0.747334
mjopenglsdl
741ad11e8c51e6a8065d8247365c4a94e9432777
1,143
hpp
C++
include/universal/functions/factorial.hpp
hypercubestart/universal
a183ae390b5178299a5cbda7b830b7a6cbf332e2
[ "MIT" ]
null
null
null
include/universal/functions/factorial.hpp
hypercubestart/universal
a183ae390b5178299a5cbda7b830b7a6cbf332e2
[ "MIT" ]
null
null
null
include/universal/functions/factorial.hpp
hypercubestart/universal
a183ae390b5178299a5cbda7b830b7a6cbf332e2
[ "MIT" ]
null
null
null
#pragma once // factorial.hpp: definition of recursive and iterative factorial functions // // Copyright (C) 2017-2020 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. namespace sw { namespace function { // these factorials ...
31.75
112
0.72091
hypercubestart
741e2dabfc8520e68da5e6a563fba1de5b5c38c5
5,337
hpp
C++
examples/pico_audio/synth.hpp
Idirianuk/pimoroni-pico
c6ebed06a55f08d546a1d2d7f28f449efb703c3d
[ "MIT" ]
425
2021-01-21T10:20:27.000Z
2022-03-30T13:07:35.000Z
examples/pico_audio/synth.hpp
Idirianuk/pimoroni-pico
c6ebed06a55f08d546a1d2d7f28f449efb703c3d
[ "MIT" ]
220
2021-01-22T11:27:57.000Z
2022-03-31T23:07:58.000Z
examples/pico_audio/synth.hpp
Idirianuk/pimoroni-pico
c6ebed06a55f08d546a1d2d7f28f449efb703c3d
[ "MIT" ]
174
2021-01-22T22:41:00.000Z
2022-03-28T13:09:32.000Z
#pragma once #include <cstdint> namespace synth { // The duration a note is played is determined by the amount of attack, // decay, and release, combined with the length of the note as defined by // the user. // // - Attack: number of milliseconds it takes for a note to hit full volume // - Decay: num...
40.12782
110
0.426082
Idirianuk
741fd13df719175f10895e5d4cb640137c493fee
3,457
cc
C++
TutorialMaterials/P04_PhysicsLists/source/src/Geometry.cc
hmdyt/Geant4Tutorial
cf6dea24a983a80b1994f3ca82fab5e7bb27f03c
[ "MIT" ]
2
2020-07-08T12:54:10.000Z
2021-07-21T02:37:02.000Z
2017.11/P04_PhysicsLists/source/src/Geometry.cc
koichi-murakami/g4tutorial
32ab20ef072c07c14d893f52712cf02a3dcc5e83
[ "BSD-2-Clause" ]
null
null
null
2017.11/P04_PhysicsLists/source/src/Geometry.cc
koichi-murakami/g4tutorial
32ab20ef072c07c14d893f52712cf02a3dcc5e83
[ "BSD-2-Clause" ]
1
2019-12-27T06:48:15.000Z
2019-12-27T06:48:15.000Z
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // Geometry.cc //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #include "Geometry.hh" #include "G4Box.hh" #include "G4Tubs.hh" #include "G4LogicalVolume.hh" #include "G4PVPlacement.hh" #include "G4VPhysical...
40.670588
94
0.530518
hmdyt
74240a0ec00217c3d4a7f59edf3abd47eb91065b
2,781
cpp
C++
core/fpdfdoc/cpvt_fontmap.cpp
WarGloom/pdfium
e9a79aa2ef7d63aa8e1b2716d25725cf280f199f
[ "Apache-2.0" ]
7
2018-05-17T22:53:33.000Z
2022-02-05T15:51:41.000Z
core/fpdfdoc/cpvt_fontmap.cpp
WarGloom/pdfium
e9a79aa2ef7d63aa8e1b2716d25725cf280f199f
[ "Apache-2.0" ]
null
null
null
core/fpdfdoc/cpvt_fontmap.cpp
WarGloom/pdfium
e9a79aa2ef7d63aa8e1b2716d25725cf280f199f
[ "Apache-2.0" ]
3
2018-05-17T22:53:42.000Z
2022-01-18T05:53:34.000Z
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fpdfdoc/cpvt_fontmap.h" #include <utility> #include "core/fpd...
29.585106
80
0.656598
WarGloom
742495068bce0587eb8b8525ea66ad704270e149
15,373
cc
C++
test/extensions/filters/http/wasm/wasm_filter_test.cc
kyessenov/envoy-wasm
1025deebb9d330501738b882da48a4152e3ab2e0
[ "Apache-2.0" ]
null
null
null
test/extensions/filters/http/wasm/wasm_filter_test.cc
kyessenov/envoy-wasm
1025deebb9d330501738b882da48a4152e3ab2e0
[ "Apache-2.0" ]
null
null
null
test/extensions/filters/http/wasm/wasm_filter_test.cc
kyessenov/envoy-wasm
1025deebb9d330501738b882da48a4152e3ab2e0
[ "Apache-2.0" ]
1
2019-10-05T18:14:00.000Z
2019-10-05T18:14:00.000Z
#include <stdio.h> #include "common/buffer/buffer_impl.h" #include "common/http/message_impl.h" #include "common/stats/isolated_store_impl.h" #include "common/stream_info/stream_info_impl.h" #include "extensions/common/wasm/wasm.h" #include "extensions/filters/http/wasm/wasm_filter.h" #include "test/mocks/grpc/mocks...
46.165165
98
0.70162
kyessenov
7424c1e3d027bc287e177274399a1e46e3993e35
33,880
cpp
C++
opencv110/highgui/src/unsupport/cvcap_dc1394.cpp
hjhsggy/opencv
9b8cc736623c61667df81a48f93b665fa8a4c88d
[ "BSD-3-Clause" ]
106
2015-01-15T10:13:18.000Z
2021-11-10T01:39:07.000Z
otherlibs/highgui/cvcap_dc1394.cpp
anoopmenon/opencv-perl
b52785caee9f8967a4f2ead9c7b436056ffa830c
[ "BSD-3-Clause" ]
5
2015-02-05T17:43:12.000Z
2017-01-04T08:34:39.000Z
otherlibs/highgui/cvcap_dc1394.cpp
anoopmenon/opencv-perl
b52785caee9f8967a4f2ead9c7b436056ffa830c
[ "BSD-3-Clause" ]
24
2015-04-29T01:30:37.000Z
2020-07-24T15:50:05.000Z
/* This is the contributed code: Firewire and video4linux camera support for highgui 2003-03-12 Magnus Lundin lundin@mlu.mine.nu THIS EXEPERIMENTAL CODE Tested on 2.4.19 with 1394, video1394, v4l, dc1394 and raw1394 support This set of files adds support for firevre and usb cameras. First it tries to install a fire...
30.223015
118
0.687279
hjhsggy
7425ac5695dbac58fedbbdff11fc626f324b89a1
14,273
cpp
C++
app/tests/model/Test_Board.cpp
HenrikThoroe/SWC-2021
8e7eee25e3a6fda7e863591b05fa161d8a2ebc78
[ "BSD-2-Clause", "MIT" ]
null
null
null
app/tests/model/Test_Board.cpp
HenrikThoroe/SWC-2021
8e7eee25e3a6fda7e863591b05fa161d8a2ebc78
[ "BSD-2-Clause", "MIT" ]
null
null
null
app/tests/model/Test_Board.cpp
HenrikThoroe/SWC-2021
8e7eee25e3a6fda7e863591b05fa161d8a2ebc78
[ "BSD-2-Clause", "MIT" ]
null
null
null
#include "catch.hpp" #include "Board.hpp" using namespace Model; using namespace Util; TEST_CASE("Test Board", "[model]") { auto board = Board(); auto piece1 = DeployedPiece(0, Position(0,0), Rotation::ZERO, PieceColor::BLUE); auto piece2 = DeployedPiece(18, Position(10,12), Rotation::ZERO_FLIPPED, PieceC...
49.731707
97
0.623065
HenrikThoroe
7426f6c3d700eb572342ff0b0bd8c7237479ff33
2,134
cc
C++
src/ppl/nn/oputils/onnx/reshape_concat.cc
aboluock/ppl.nn
47c786bee382cc0d779f1393bfeaa40b6ff73654
[ "Apache-2.0" ]
1
2021-08-23T04:59:26.000Z
2021-08-23T04:59:26.000Z
src/ppl/nn/oputils/onnx/reshape_concat.cc
aboluock/ppl.nn
47c786bee382cc0d779f1393bfeaa40b6ff73654
[ "Apache-2.0" ]
1
2022-03-07T15:35:35.000Z
2022-03-07T15:35:35.000Z
src/ppl/nn/oputils/onnx/reshape_concat.cc
aboluock/ppl.nn
47c786bee382cc0d779f1393bfeaa40b6ff73654
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
39.518519
111
0.656045
aboluock
742a144c4d3cb4a53069ab3f2154af1b83e59521
24,096
cxx
C++
PWGCF/Correlations/JCORRAN/Base/AliJEfficiencyScanner.cxx
ilyafokin/AliPhysics
7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4
[ "BSD-3-Clause" ]
1
2020-07-18T17:36:58.000Z
2020-07-18T17:36:58.000Z
PWGCF/Correlations/JCORRAN/Base/AliJEfficiencyScanner.cxx
ilyafokin/AliPhysics
7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4
[ "BSD-3-Clause" ]
1
2017-03-14T15:11:43.000Z
2017-03-14T15:53:09.000Z
PWGCF/Correlations/JCORRAN/Base/AliJEfficiencyScanner.cxx
ilyafokin/AliPhysics
7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4
[ "BSD-3-Clause" ]
1
2022-01-24T11:11:09.000Z
2022-01-24T11:11:09.000Z
// //#include <Riostream.h> // #include <TChain.h> // #include <TVectorT.h> // #include <TVector3.h> // #include <TFile.h> // #include <TH1.h> // #include <TObjArray.h> // #include <TObjString.h> // #include <TFormula.h> // #include <TString.h> // #include <TRefArray.h> // #include <TNtuple.h> // #include <TArrayF.h...
38.247619
214
0.606366
ilyafokin
742e18e3aa0c43c34256769c137ef61c1d0d2523
335
cc
C++
leetcode/115.cc
zofvbeaf/algorithm-practices
9772808fdf1b73ac55887291d9fb680e90b60958
[ "MIT" ]
null
null
null
leetcode/115.cc
zofvbeaf/algorithm-practices
9772808fdf1b73ac55887291d9fb680e90b60958
[ "MIT" ]
null
null
null
leetcode/115.cc
zofvbeaf/algorithm-practices
9772808fdf1b73ac55887291d9fb680e90b60958
[ "MIT" ]
null
null
null
class Solution { public: int numDistinct(string s, string t) { unsigned int n = s.size(), m = t.size(); if(!m || !n || n < m) return 0; if(s == t) return 1; vector<unsigned int> f(m, 0); for(auto c : s) { for(int i = m-1; i > 0; --i) if(c == t[i]) f[i] += f[i-1]; if(c == t[0]) ++f[0]; } return...
20.9375
42
0.480597
zofvbeaf
742ece0a31c69a5d1aa13bc8968655f0db93691a
291
cpp
C++
Ejercicios/Ejercicio 43/calculadora.cpp
MarvinMonnar/cpp.
b71b981d711cfc416a74a9abc8b10c70fe544717
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio 43/calculadora.cpp
MarvinMonnar/cpp.
b71b981d711cfc416a74a9abc8b10c70fe544717
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio 43/calculadora.cpp
MarvinMonnar/cpp.
b71b981d711cfc416a74a9abc8b10c70fe544717
[ "MIT" ]
null
null
null
int sumar (int a, int b) { return a + b ; } int restar (int a, int b) { return a - b ; } int calcular (int a, int b, char operador) { if (operador == '+') { return sumar (a, b); } if (operador == '-') { return restar (a, b); } throw "Operador no valido"; }
8.558824
42
0.508591
MarvinMonnar
74324514c5c0c065815b7efca2924fbce238de33
346
hpp
C++
HugeCTR/include/graph_wrapper.hpp
xjqbest/HugeCTR
0b1c92d5e65891dfdd90d917bc6d520d0ca5d1e1
[ "Apache-2.0" ]
130
2021-10-11T11:55:28.000Z
2022-03-31T21:53:07.000Z
HugeCTR/include/graph_wrapper.hpp
xjqbest/HugeCTR
0b1c92d5e65891dfdd90d917bc6d520d0ca5d1e1
[ "Apache-2.0" ]
72
2021-10-09T04:59:09.000Z
2022-03-31T11:27:54.000Z
HugeCTR/include/graph_wrapper.hpp
xjqbest/HugeCTR
0b1c92d5e65891dfdd90d917bc6d520d0ca5d1e1
[ "Apache-2.0" ]
29
2021-11-03T22:35:01.000Z
2022-03-30T13:11:59.000Z
#pragma once #include <cuda_runtime.h> #include <functional> namespace HugeCTR { struct GraphWrapper { bool initialized = false; cudaGraph_t graph; cudaGraphExec_t graph_exec; void capture(std::function<void(cudaStream_t)> workload, cudaStream_t stream); void exec(cudaStream_t stream); }; ...
19.222222
81
0.716763
xjqbest
2936a1d047d2f3c0d50519ec416d2ce273c70a2c
1,717
cpp
C++
assignments/a1-hello/particles.cpp
foqiashahid112/animation-toolkit
17950435e1efbd243877193e7a8966b7abfd8788
[ "MIT" ]
null
null
null
assignments/a1-hello/particles.cpp
foqiashahid112/animation-toolkit
17950435e1efbd243877193e7a8966b7abfd8788
[ "MIT" ]
null
null
null
assignments/a1-hello/particles.cpp
foqiashahid112/animation-toolkit
17950435e1efbd243877193e7a8966b7abfd8788
[ "MIT" ]
null
null
null
#include "atkui/framework.h" #include <random> #include <cstdlib> using namespace glm; class particle{ public: particle(vec3 currentPosition, vec3 velocity, vec3 RGBcolor){ currentPos =currentPosition; vel = velocity; color = RGBcolor; } vec3 currentPos; vec3 vel; vec3 color; }; class Particl...
24.884058
89
0.607455
foqiashahid112
293780ef181a8e0e8f36b2709ad2012ff8091761
15,834
cc
C++
main/src/App/vtk_cad.cc
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
main/src/App/vtk_cad.cc
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
main/src/App/vtk_cad.cc
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
// // This simple example shows how to do basic rendering and pipeline // creation using C++. // #include "open_file.hh" #include "vtkCylinderSource.h" #include "vtkPolyDataMapper.h" #include "vtkActor.h" #include "vtkRenderer.h" #include "vtkRenderWindow.h" #include "vtkRenderWindowInteractor.h" #includ...
30.626692
109
0.625363
marcomanno
2938faf77b20d7c7ec88dbcae3064c3a4bd1102e
6,306
cc
C++
gpio.cc
pablogad/libpt6312
068e4cbb34e7cedf28225f1750093cb35fe14c8f
[ "MIT" ]
null
null
null
gpio.cc
pablogad/libpt6312
068e4cbb34e7cedf28225f1750093cb35fe14c8f
[ "MIT" ]
null
null
null
gpio.cc
pablogad/libpt6312
068e4cbb34e7cedf28225f1750093cb35fe14c8f
[ "MIT" ]
null
null
null
// -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*- #include "gpio.h" #define BCM2708_PERI_BASE 0x20000000 #define BCM2709_PERI_BASE 0x3F000000 #define BCM2711_PERI_BASE 0xFE000000 #define GPIO_REGISTER_OFFSET 0x200000 #include <stdio.h> #include <stdlib.h> #include <string.h> #i...
30.463768
92
0.621313
pablogad
293b00cc509d5365ac435ac9d368e545b0a9856b
340
cpp
C++
WayTooLong2.cpp
AmitHasanShuvo/Programming
f47ecc626e518a0bf5f9f749afd15ce67bbe737b
[ "MIT" ]
8
2019-05-26T19:24:13.000Z
2021-03-24T17:36:14.000Z
WayTooLong2.cpp
AmitHasanShuvo/Programming
f47ecc626e518a0bf5f9f749afd15ce67bbe737b
[ "MIT" ]
null
null
null
WayTooLong2.cpp
AmitHasanShuvo/Programming
f47ecc626e518a0bf5f9f749afd15ce67bbe737b
[ "MIT" ]
1
2020-04-19T04:59:54.000Z
2020-04-19T04:59:54.000Z
#include <iostream> using namespace std; int main() { int n; string s; cin >> n; while (n--) { cin >> s; if (s.length > 10) { cout << s [0] << s.length() - 2 << s[s.length() - 1] << endl; } else { cout << s <<endl; } ...
14.782609
73
0.358824
AmitHasanShuvo
293c36ddd2874c631ae47e70850b37497fc89e71
2,773
cpp
C++
source/ParadiseCracked.WidescreenFix/dllmain.cpp
Sergeanur/WidescreenFixesPack
7e159be860a870476a97c322a0c4dd244e50cee7
[ "MIT" ]
null
null
null
source/ParadiseCracked.WidescreenFix/dllmain.cpp
Sergeanur/WidescreenFixesPack
7e159be860a870476a97c322a0c4dd244e50cee7
[ "MIT" ]
null
null
null
source/ParadiseCracked.WidescreenFix/dllmain.cpp
Sergeanur/WidescreenFixesPack
7e159be860a870476a97c322a0c4dd244e50cee7
[ "MIT" ]
null
null
null
#include "stdafx.h" struct Screen { int Width; int Height; float fWidth; float fHeight; float fAspectRatio; } Screen; void Init() { CIniReader iniReader(""); Screen.Width = iniReader.ReadInteger("MAIN", "ResX", 0); Screen.Height = iniReader.ReadInteger("MAIN", "ResY", 0); if (!Scr...
33.011905
104
0.635052
Sergeanur
293e5316bf711593f8a4a216551e2bd2fc3252f5
9,613
cpp
C++
Project 10-16/15 Geometry Shader Beginning/GameApp.cpp
flygod1159/DirectX11-With-Windows-SDK
236acb9c658af6fa22c5319871fc88c2e80f6bb1
[ "MIT" ]
null
null
null
Project 10-16/15 Geometry Shader Beginning/GameApp.cpp
flygod1159/DirectX11-With-Windows-SDK
236acb9c658af6fa22c5319871fc88c2e80f6bb1
[ "MIT" ]
1
2020-02-21T17:11:24.000Z
2020-02-21T17:11:24.000Z
Project 10-16/15 Geometry Shader Beginning/GameApp.cpp
huangten/DirectX11-With-Windows-SDK
148b6306a078618f82b02ae25969dbad2831e456
[ "MIT" ]
null
null
null
#include "GameApp.h" #include "d3dUtil.h" #include "DXTrace.h" using namespace DirectX; GameApp::GameApp(HINSTANCE hInstance) : D3DApp(hInstance), m_ShowMode(Mode::SplitedTriangle), m_VertexCount() { } GameApp::~GameApp() { } bool GameApp::Init() { if (!D3DApp::Init()) return false; // 务必先初始化所有渲染状态,以供下面的特效使用...
26.628809
124
0.707688
flygod1159
293fba4f6b92bc9bdc73f3241880a8ae94864240
2,191
cc
C++
src/time_range.cc
aexoden/chatstats
07b7321cb6eed4d667ba1de9abbd29249286154f
[ "MIT" ]
null
null
null
src/time_range.cc
aexoden/chatstats
07b7321cb6eed4d667ba1de9abbd29249286154f
[ "MIT" ]
null
null
null
src/time_range.cc
aexoden/chatstats
07b7321cb6eed4d667ba1de9abbd29249286154f
[ "MIT" ]
null
null
null
/* * Copyright (c) 2012 Jason Lynch <jason@calindora.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 restriction, including without limitation the rights * to use, copy, ...
39.125
154
0.746691
aexoden
2940fcdcd73945aed3002f0e0026e9636affb263
4,363
cpp
C++
Problem_3/memory.cpp
JHernandez2802/CSCE4600_Project2
9712fa66b60592ed1d124985bb387ffbda0a97fc
[ "MIT" ]
null
null
null
Problem_3/memory.cpp
JHernandez2802/CSCE4600_Project2
9712fa66b60592ed1d124985bb387ffbda0a97fc
[ "MIT" ]
null
null
null
Problem_3/memory.cpp
JHernandez2802/CSCE4600_Project2
9712fa66b60592ed1d124985bb387ffbda0a97fc
[ "MIT" ]
null
null
null
// File memory.cpp /***************************************************************** Programmer: Matthew Sherwood, Li Zhang, Juan Hernandez * Class: CSCE 4600 * Date: 04/27/2015 * Assignment: Project 2 ...
35.762295
122
0.581251
JHernandez2802
29441e0dd15f1eed77b2f1dabb2b4d25a3b28687
23,791
cc
C++
src/netlicensing.cc
optimad/NetLicensingClient-cpp
ff0004cd73af75321a951a0d57dad6d37c03a441
[ "Apache-2.0" ]
null
null
null
src/netlicensing.cc
optimad/NetLicensingClient-cpp
ff0004cd73af75321a951a0d57dad6d37c03a441
[ "Apache-2.0" ]
null
null
null
src/netlicensing.cc
optimad/NetLicensingClient-cpp
ff0004cd73af75321a951a0d57dad6d37c03a441
[ "Apache-2.0" ]
null
null
null
#include "netlicensing/constants.h" #include "netlicensing/netlicensing.h" #include "netlicensing/service.h" #include "netlicensing/validation_parameters.h" #include <time.h> namespace netlicensing { /** * C++ representation of the Product Service. See NetLicensingAPI for details: * https://netlicensing.io/wiki/...
43.493601
146
0.741625
optimad
294497bfa2080d95dcd27985a1da3700940591dc
4,139
cpp
C++
src/Volume.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
src/Volume.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
src/Volume.cpp
dermegges/ugl
e5551f98d59c115460d1298d9082996b5da119da
[ "Apache-2.0" ]
null
null
null
/** @file Volume.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/licenses/LICENS...
22.617486
120
0.669727
dermegges
294af1b378db035cfb4dd468656132b77182c39d
443
cpp
C++
src/software/gui/geom/geometry_conversion.cpp
scveloso/Software
ac882d3df0aa0d108e5157c076c82c030d023e12
[ "MIT" ]
null
null
null
src/software/gui/geom/geometry_conversion.cpp
scveloso/Software
ac882d3df0aa0d108e5157c076c82c030d023e12
[ "MIT" ]
null
null
null
src/software/gui/geom/geometry_conversion.cpp
scveloso/Software
ac882d3df0aa0d108e5157c076c82c030d023e12
[ "MIT" ]
null
null
null
#include "software/gui/geom/geometry_conversion.h" QPointF createQPointF(const Point& point) { return QPointF(point.x(), point.y()); } QRectF createQRectF(const Rectangle& rectangle) { return QRectF(createQPointF(rectangle.nwCorner()), createQPointF(rectangle.seCorner())); } QLineF createQL...
24.611111
89
0.724605
scveloso
29522cada724b26ebd22502132b90211b9527c67
8,799
hpp
C++
app/liblsl/lslboost/boost/mpl/aux_/full_lambda.hpp
mvidaldp/liblsl-android-builder
e48402fb88ca1b381fd38c70e105df8bd0f3902d
[ "MIT" ]
58
2018-12-08T23:53:50.000Z
2022-03-26T14:14:40.000Z
app/liblsl/lslboost/boost/mpl/aux_/full_lambda.hpp
mvidaldp/liblsl-android-builder
e48402fb88ca1b381fd38c70e105df8bd0f3902d
[ "MIT" ]
125
2018-11-21T15:42:39.000Z
2022-03-29T12:15:54.000Z
app/liblsl/lslboost/boost/mpl/aux_/full_lambda.hpp
mvidaldp/liblsl-android-builder
e48402fb88ca1b381fd38c70e105df8bd0f3902d
[ "MIT" ]
42
2019-03-06T13:43:18.000Z
2022-03-21T08:55:34.000Z
#if !defined(BOOST_PP_IS_ITERATING) ///// header body #ifndef BOOST_MPL_AUX_FULL_LAMBDA_HPP_INCLUDED #define BOOST_MPL_AUX_FULL_LAMBDA_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2001-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http:...
24.785915
85
0.696897
mvidaldp
2953c7b8c7ef22143c0d0a9e3378a9fc4969feea
1,884
cpp
C++
imageMultiply/imageMultiply.cpp
FreeSoftwareDevlopment/imageMultiply
d873f867ba216162d51f778c323dfa24d3f05dec
[ "MIT" ]
null
null
null
imageMultiply/imageMultiply.cpp
FreeSoftwareDevlopment/imageMultiply
d873f867ba216162d51f778c323dfa24d3f05dec
[ "MIT" ]
null
null
null
imageMultiply/imageMultiply.cpp
FreeSoftwareDevlopment/imageMultiply
d873f867ba216162d51f778c323dfa24d3f05dec
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> #include <filesystem> #include <wrapper_stbi.h> #include "stbi_img_write.hpp" #define s 4 #define path std::filesystem::path #define exists std::filesystem::exists int main(int argc, char* argv[]) { if (argc > 3) { int width[2], height[2], BPP[2]; memset(width, 0x00, sizeof...
28.119403
90
0.593418
FreeSoftwareDevlopment
2954c9556366ebc00eabb264f642d21b779cab56
8,641
cpp
C++
Game/world/vob.cpp
okkindel/OpenGothic
0055d51d4c96ff56fd330378b1c1a90c365d1316
[ "MIT" ]
null
null
null
Game/world/vob.cpp
okkindel/OpenGothic
0055d51d4c96ff56fd330378b1c1a90c365d1316
[ "MIT" ]
null
null
null
Game/world/vob.cpp
okkindel/OpenGothic
0055d51d4c96ff56fd330378b1c1a90c365d1316
[ "MIT" ]
null
null
null
#include "vob.h" #include <Tempest/Log> #include <Tempest/Vec> #include "interactive.h" #include "staticobj.h" #include "world/triggers/movetrigger.h" #include "world/triggers/codemaster.h" #include "world/triggers/triggerlist.h" #include "world/triggers/triggerscript.h" #include "world/triggers/triggerworldstart.h"...
33.622568
113
0.678162
okkindel
29556f07b555f7505007b26dc332d879a1524186
839
cpp
C++
GetHuffmanCodes/main.cpp
rNexeR/AnalisisAlgoritmos
cc9a86a93319cd412a40eed300f8249630540d19
[ "MIT" ]
null
null
null
GetHuffmanCodes/main.cpp
rNexeR/AnalisisAlgoritmos
cc9a86a93319cd412a40eed300f8249630540d19
[ "MIT" ]
null
null
null
GetHuffmanCodes/main.cpp
rNexeR/AnalisisAlgoritmos
cc9a86a93319cd412a40eed300f8249630540d19
[ "MIT" ]
null
null
null
#include "Test.h" #include <iostream> using namespace std; void getHuffmanCodes(BinaryNode *tree, map<char, string> *answer, string current) { if (tree->left != 0) { getHuffmanCodes(tree->left, answer, current + '0'); }else{ (*answer)[tree->value] = current; } if (tree->right != 0...
19.511628
83
0.561383
rNexeR
295ad9355f5f3d2e66bbc9f3923d4c27f5fddb51
75,435
cpp
C++
src/controller/tests/data_model/TestRead.cpp
sungho1shin/connectedhomeip
050eb6d24487598a97743b6a23d41232e45bef88
[ "Apache-2.0" ]
null
null
null
src/controller/tests/data_model/TestRead.cpp
sungho1shin/connectedhomeip
050eb6d24487598a97743b6a23d41232e45bef88
[ "Apache-2.0" ]
null
null
null
src/controller/tests/data_model/TestRead.cpp
sungho1shin/connectedhomeip
050eb6d24487598a97743b6a23d41232e45bef88
[ "Apache-2.0" ]
null
null
null
/* * * Copyright (c) 2021 Project CHIP 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...
50.02321
159
0.705057
sungho1shin
295eb0d17b6abad78da718755b0380199969e078
624
cc
C++
src/init.cc
leozdgao/node-skia-canvas
3ea3fa92f6c5050e961717a87354e330169b12b0
[ "MIT" ]
7
2021-11-03T12:09:48.000Z
2022-03-30T02:19:07.000Z
src/init.cc
leozdgao/node-skia
3ea3fa92f6c5050e961717a87354e330169b12b0
[ "MIT" ]
4
2021-05-23T09:07:01.000Z
2021-09-25T15:04:20.000Z
src/init.cc
leozdgao/node-skia
3ea3fa92f6c5050e961717a87354e330169b12b0
[ "MIT" ]
1
2022-03-30T02:19:08.000Z
2022-03-30T02:19:08.000Z
#include <napi.h> #include "Canvas.h" #include "CanvasGradient.h" #include "CanvasPattern.h" #include "CanvasRenderingContext2D.h" #include "FontManager.h" #include "Image.h" #include "ImageData.h" #include "TextMetrics.h" static Napi::Object Init(Napi::Env env, Napi::Object exports) { Canvas::Init(env, exports); ...
24.96
63
0.733974
leozdgao
296335e5ba4f05778a7680f620a5589983e85375
20,201
cpp
C++
src/lib/coil/common/coil/stringutil.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
null
null
null
src/lib/coil/common/coil/stringutil.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
null
null
null
src/lib/coil/common/coil/stringutil.cpp
r-kurose/OpenRTM-aist
258c922c55a97c6d1265dbf45e1e8b2ea29b2d86
[ "RSA-MD" ]
null
null
null
// -*- C++ -*- /*! * @file StringUtil.cpp * @brief String operation utility * @date $Date: 2007-12-31 03:08:07 $ * @author Noriaki Ando <n-ando@aist.go.jp> * * Copyright (C) 2006-2008 * Noriaki Ando * Task-intelligence Research Group, * Intelligent Systems Research Institute, * National Insti...
24.2509
108
0.545221
r-kurose
2964367ce43a9a1716b78f12eb378cf58a7585de
1,874
cpp
C++
test/training_data/plag_original_codes/04_034.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/04_034.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/04_034.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
// 引用元 : https://atcoder.jp/contests/abc073/submissions/10044155 // 得点 : 400 // コード長 : 2443 // 実行時間 : 16 #include <bits/stdc++.h> #include <cmath> #include <numeric> using namespace std; #define rep(i,a,b) for(int64_t i=(a); i<(b); ++i) // a ≦ i < b #define Rrep(i,a,b) for(int64_t i=(a);i>=(b);--i) // reverse r...
25.324324
87
0.571505
xryuseix
2964f818d384b7becc09b311d0717462512431d2
2,210
cpp
C++
src/serac/infrastructure/profiling.cpp
bendudson/serac
d7cf1349e8830f852d868911b80a90a68dc123ec
[ "BSD-3-Clause" ]
null
null
null
src/serac/infrastructure/profiling.cpp
bendudson/serac
d7cf1349e8830f852d868911b80a90a68dc123ec
[ "BSD-3-Clause" ]
null
null
null
src/serac/infrastructure/profiling.cpp
bendudson/serac
d7cf1349e8830f852d868911b80a90a68dc123ec
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019-2022, Lawrence Livermore National Security, LLC and // other Serac Project Developers. See the top-level LICENSE file for // details. // // SPDX-License-Identifier: (BSD-3-Clause) #include "serac/infrastructure/profiling.hpp" #include "serac/infrastructure/logger.hpp" #ifdef SERAC_USE_CALIPER #...
22.1
107
0.726244
bendudson
297429099ea067c13ea2516bee08d4b9bf0c0f70
178
cpp
C++
src/cpu/insts/Cli.cpp
ammubhave/emu
ff9501719f3cc53207a8931d85c19d24c86dccdc
[ "MIT" ]
null
null
null
src/cpu/insts/Cli.cpp
ammubhave/emu
ff9501719f3cc53207a8931d85c19d24c86dccdc
[ "MIT" ]
null
null
null
src/cpu/insts/Cli.cpp
ammubhave/emu
ff9501719f3cc53207a8931d85c19d24c86dccdc
[ "MIT" ]
null
null
null
#include "gen/Cli.h" #include "cpu/Cpu.h" #include "cpu/insts/Util.h" namespace emu::cpu::insts { void Cli::execute(Cpu& cpu) { IF = false; } } // namespace emu::cpu::insts
16.181818
43
0.646067
ammubhave
29752d0e474f5eef01d05adb816cffcca4ad7df1
677
cpp
C++
000/36.cpp
correipj/ProjectEuler
0173d8ec7f309b4f0c243a94351772b1be55e8bf
[ "Unlicense" ]
null
null
null
000/36.cpp
correipj/ProjectEuler
0173d8ec7f309b4f0c243a94351772b1be55e8bf
[ "Unlicense" ]
null
null
null
000/36.cpp
correipj/ProjectEuler
0173d8ec7f309b4f0c243a94351772b1be55e8bf
[ "Unlicense" ]
null
null
null
// https://projecteuler.net/problem=36 // Double-base palindromes #include <iostream> #include <vector> using namespace std; vector<int> base(int n, int b) { vector<int> v; while(n) { v.insert(v.begin(), n % b); n /= b; } return v; } bool isPalindrome(int n, int b) { int rev = 0; ...
14.404255
42
0.524372
correipj
29768a9c78928137a26bc830aec3fd174513b766
11,314
cpp
C++
UAlbertaBot/Source/TransportManager.cpp
xu-kj/sc1bot
a3a3fd6b2e2cc20460ced35ca61f077880626b77
[ "MIT" ]
null
null
null
UAlbertaBot/Source/TransportManager.cpp
xu-kj/sc1bot
a3a3fd6b2e2cc20460ced35ca61f077880626b77
[ "MIT" ]
16
2021-04-01T05:16:27.000Z
2021-04-28T06:18:59.000Z
UAlbertaBot/Source/TransportManager.cpp
xu-kj/sc1bot
a3a3fd6b2e2cc20460ced35ca61f077880626b77
[ "MIT" ]
null
null
null
#include "TransportManager.h" #include "BaseLocationManager.h" #include "Global.h" #include "Micro.h" #include "MapTools.h" using namespace UAlbertaBot; TransportManager::TransportManager() { } void TransportManager::executeMicro(const BWAPI::Unitset &targets) { const BWAPI::Unitset &transportUnits = getUnits(); ...
28.074442
195
0.712657
xu-kj
2976a7d4c18e04d49b99b11dc2a7cba85406a3b9
910
cpp
C++
Problems/Timus/1083_Factorials/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
Problems/Timus/1083_Factorials/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
1
2019-05-09T19:17:00.000Z
2019-05-09T19:17:00.000Z
Problems/Timus/1083_Factorials/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; unsigned long calculateFact(unsigned int n, unsigned int k, unsigned int remain) { if (n == remain) return remain; else return n * calculateFact(n - k, k, remain); } unsigned long calculateFactIterative(unsigned int n, unsigned int k,...
19.782609
89
0.57033
grand87
297d337cc8cc2c2d88c78eba211db3f8738a6e08
534
cpp
C++
GameEngine/KekEngine/src/entity.cpp
oborotev/BJTU-GDI
938c9d749946e0363bdd28d35e0a134e96607358
[ "MIT" ]
null
null
null
GameEngine/KekEngine/src/entity.cpp
oborotev/BJTU-GDI
938c9d749946e0363bdd28d35e0a134e96607358
[ "MIT" ]
null
null
null
GameEngine/KekEngine/src/entity.cpp
oborotev/BJTU-GDI
938c9d749946e0363bdd28d35e0a134e96607358
[ "MIT" ]
null
null
null
// // Created by storm on 26/03/16. // # include "entity.h" Entity::Entity(const int &x, const int &y) { this->_x = x; this->_y = y; } const int &Entity::getX() { return (this->_x); } const int &Entity::getY() { return (this->_y); } void Entity::setY(const double &y) { this->_y = y; } void ...
13.02439
52
0.582397
oborotev
29810f801e0104ecdaea3d7f156182e57ade6742
8,211
cpp
C++
libs/ContainerKit/tests/CircularQueue_test.cpp
HPezz/LekaOS
e4c16f52e2c7bd3d75c9d5aefe94eb67dbf5a694
[ "Apache-2.0" ]
2
2021-10-30T20:51:30.000Z
2022-01-12T11:18:34.000Z
libs/ContainerKit/tests/CircularQueue_test.cpp
HPezz/LekaOS
e4c16f52e2c7bd3d75c9d5aefe94eb67dbf5a694
[ "Apache-2.0" ]
343
2021-07-15T12:57:08.000Z
2022-03-29T10:14:06.000Z
libs/ContainerKit/tests/CircularQueue_test.cpp
HPezz/LekaOS
e4c16f52e2c7bd3d75c9d5aefe94eb67dbf5a694
[ "Apache-2.0" ]
3
2021-12-30T02:53:24.000Z
2022-01-11T22:08:05.000Z
// Leka - LekaOS // Copyright 2021 APF France handicap (based on work by Mbed-OS) // SPDX-License-Identifier: Apache-2.0 #include "CircularQueue.h" #include <array> #include <memory> #include "gtest/gtest.h" #include "stubs/mbed/mbed_critical.h" using namespace leka; class CircularQueueTest : public testing::Test {...
21.272021
91
0.689197
HPezz
2981d9aa32083e1d38efee9472e2929f29db6915
1,525
hpp
C++
libraries/chain/include/betterchain/chain/contracts/betterchain_contract.hpp
betterchainio/betterchain
29f82c25ae6812beaf09f8d7069932474bea9f8b
[ "MIT" ]
3
2018-01-18T07:12:34.000Z
2018-01-22T10:00:29.000Z
libraries/chain/include/betterchain/chain/contracts/betterchain_contract.hpp
betterchainio/betterchain
29f82c25ae6812beaf09f8d7069932474bea9f8b
[ "MIT" ]
null
null
null
libraries/chain/include/betterchain/chain/contracts/betterchain_contract.hpp
betterchainio/betterchain
29f82c25ae6812beaf09f8d7069932474bea9f8b
[ "MIT" ]
2
2018-01-30T01:03:10.000Z
2019-02-28T09:04:06.000Z
/** * @file * @copyright defined in BetterChain/LICENSE.txt */ #pragma once #include <betterchain/chain/apply_context.hpp> #include <betterchain/chain/types.hpp> namespace betterchain { namespace chain { namespace contracts { /** * @defgroup native_action_handlers Native Action Handlers */ ///@{...
31.770833
100
0.78623
betterchainio
2983a363235db51a4ba0d157cfa23b056476c5ab
6,496
cpp
C++
hexapod_emlid/Navio/NavioLib/PCA9685.cpp
helios57/hexapod
82b4fc54f49e0acca62a42635ba8844abdb541a7
[ "MIT" ]
null
null
null
hexapod_emlid/Navio/NavioLib/PCA9685.cpp
helios57/hexapod
82b4fc54f49e0acca62a42635ba8844abdb541a7
[ "MIT" ]
null
null
null
hexapod_emlid/Navio/NavioLib/PCA9685.cpp
helios57/hexapod
82b4fc54f49e0acca62a42635ba8844abdb541a7
[ "MIT" ]
null
null
null
/* PCA9685 driver code is placed under the BSD license. Written by Mikhail Avkhimenia (mikhail.avkhimenia@emlid.com) Copyright (c) 2014, Emlid Limited, www.emlid.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following condition...
34.553191
90
0.705819
helios57
29840304ac1dc2563bb150214bc160422a8f4a89
2,094
cc
C++
policies/DIF/EFCP/DTCP/RcvrFC/RcvrFCPolicyDefaultWithCounters/RcvrFCPolicyDefaultWithCounters.cc
karlhto/RINA
68fe850c7871d59fb882e06fa55432088d12cc51
[ "MIT" ]
30
2015-01-19T15:02:24.000Z
2021-11-05T09:29:48.000Z
policies/DIF/EFCP/DTCP/RcvrFC/RcvrFCPolicyDefaultWithCounters/RcvrFCPolicyDefaultWithCounters.cc
karlhto/RINA
68fe850c7871d59fb882e06fa55432088d12cc51
[ "MIT" ]
20
2015-01-14T16:22:03.000Z
2020-10-14T14:17:06.000Z
policies/DIF/EFCP/DTCP/RcvrFC/RcvrFCPolicyDefaultWithCounters/RcvrFCPolicyDefaultWithCounters.cc
karlhto/RINA
68fe850c7871d59fb882e06fa55432088d12cc51
[ "MIT" ]
13
2015-01-22T09:16:50.000Z
2020-09-03T09:47:14.000Z
// // This program 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 version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it wil...
32.215385
97
0.722541
karlhto
298572373c8d0464d0468981987a577ec0d990a6
70,859
cpp
C++
src/VAnaSumRunParameter.cpp
Eventdisplay/Eventdisplay
01ef380cf53a44f95351960a297a2d4f271a4160
[ "BSD-3-Clause" ]
11
2019-12-10T13:34:46.000Z
2021-08-24T15:39:35.000Z
src/VAnaSumRunParameter.cpp
Eventdisplay/Eventdisplay
01ef380cf53a44f95351960a297a2d4f271a4160
[ "BSD-3-Clause" ]
53
2019-11-19T13:14:36.000Z
2022-02-16T14:22:27.000Z
src/VAnaSumRunParameter.cpp
pivosb/Eventdisplay
6b299a1d3f77ddb641f98a511a37a5045ddd6b47
[ "BSD-3-Clause" ]
3
2020-05-07T13:52:46.000Z
2021-06-25T09:49:21.000Z
/*! \class VAnaSumRunParameter * * */ #include "VAnaSumRunParameter.h" /* definition of data class for anasum run parameters */ VAnaSumRunParameterDataClass::VAnaSumRunParameterDataClass() { fEventDisplayVersion = ""; fRunOn = 0; fRunOnFileName = ""; fRunOff = 0; fRunOffFileName ...
37.630908
455
0.521613
Eventdisplay
298719e599e3fed057231f0a70317f2e4eac46c7
9,745
cpp
C++
source/graphmanager.cpp
sydernee/TBC-Despeect
427ce8a7f985ff93fe2dfaf86d1288a272376376
[ "MIT" ]
1
2018-09-11T06:59:46.000Z
2018-09-11T06:59:46.000Z
source/graphmanager.cpp
TheBlackCat-SWE/Despeect
427ce8a7f985ff93fe2dfaf86d1288a272376376
[ "MIT" ]
3
2018-06-20T11:20:54.000Z
2018-06-24T13:51:21.000Z
source/graphmanager.cpp
sydernee/Despeect
427ce8a7f985ff93fe2dfaf86d1288a272376376
[ "MIT" ]
1
2018-09-18T14:51:25.000Z
2018-09-18T14:51:25.000Z
#include "graphmanager.hpp" #include <QFocusEvent> #include <QGraphicsItemGroup> #include <QGraphicsView> #include "arc.hpp" #include "DSItem.hpp" #include "node.hpp" #include "QInputDialog" #include "QLineEdit" #include <QMessageBox> GraphManager::GraphManager():Graph(new QGraphicsScene()),Relations(),RelationsModel...
37.625483
143
0.622884
sydernee
298746ffd6b0caa17717543afceffb3733b2dcc3
20,373
cpp
C++
sources/ide/ide.cpp
dabroz/dablang
60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce
[ "MIT" ]
1
2015-11-29T22:32:55.000Z
2015-11-29T22:32:55.000Z
sources/ide/ide.cpp
dabroz/dablang
60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce
[ "MIT" ]
null
null
null
sources/ide/ide.cpp
dabroz/dablang
60c9b0310cee1488fbde1dbbc2fd411a9cc6dbce
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "resource.h" //#define WXUSINGDLL #define wxUSE_EXTENDED_RTTI 1 //qValue * compileText(std::map<qString, qString> & filemap); #ifdef _DEBUG #pragma comment(lib, "wxbase29ud.lib") #pragma comment(lib, "wxmsw29ud_core.lib") #pragma comment(lib, "wxmsw29ud_stc.lib") #pragma comment(lib, "w...
23.471198
164
0.652874
dabroz
298906c56ba245801397465a490017c95fa3d8d7
8,375
cpp
C++
Tests/AK/TestTypeTraits.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
650
2019-03-01T13:33:03.000Z
2022-03-15T09:26:44.000Z
Tests/AK/TestTypeTraits.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
51
2019-04-03T08:32:38.000Z
2019-05-19T13:44:28.000Z
Tests/AK/TestTypeTraits.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
33
2019-03-26T05:47:59.000Z
2021-11-22T18:18:45.000Z
/* * Copyright (c) 2020-2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibTest/TestCase.h> #include <AK/StdLibExtras.h> #include <AK/TypeList.h> #define STATIC_EXPECT_EQ(lhs, rhs) \ static_assert(IsSame<lhs, rhs>, ""); #define STATIC_EXPECT_FALSE(Expression) \ st...
31.133829
151
0.684776
r00ster91
298ef4a7eeff743181fdbd8991b1ad78983f2200
1,751
cpp
C++
Gimbal/srml/shit_mountain.cpp
scutrobotlab/RM2021_Hero
c36c9d039100cb7a87a5177ca6b20f8f3e3c0daa
[ "Apache-2.0" ]
3
2021-08-25T07:10:48.000Z
2021-12-14T12:23:58.000Z
Gimbal/srml/shit_mountain.cpp
scutrobotlab/RM2021_Hero
c36c9d039100cb7a87a5177ca6b20f8f3e3c0daa
[ "Apache-2.0" ]
null
null
null
Gimbal/srml/shit_mountain.cpp
scutrobotlab/RM2021_Hero
c36c9d039100cb7a87a5177ca6b20f8f3e3c0daa
[ "Apache-2.0" ]
2
2022-01-20T09:43:38.000Z
2022-03-06T01:37:36.000Z
/** ****************************************************************************** * Copyright (c) 2019 - ~, SCUT-RobotLab Development Team * @file shit_mountain.cpp * @author M3chD09 rinngo17@foxmail.com * @brief Library full of shit. * @date 2021-04-05 * @version 1.0 * *********************...
38.911111
80
0.446031
scutrobotlab
298f7a46735c087e379d14fa6a608e38c7db0a34
2,676
cpp
C++
src/modules/cpu.cpp
hypergig/Waybar
3945c7766891148c339a77118b7c1dbe709af407
[ "MIT" ]
1
2021-10-03T19:46:42.000Z
2021-10-03T19:46:42.000Z
src/modules/cpu.cpp
hypergig/Waybar
3945c7766891148c339a77118b7c1dbe709af407
[ "MIT" ]
1
2019-08-29T08:39:54.000Z
2019-08-29T08:39:54.000Z
src/modules/cpu.cpp
hypergig/Waybar
3945c7766891148c339a77118b7c1dbe709af407
[ "MIT" ]
1
2020-01-18T22:09:36.000Z
2020-01-18T22:09:36.000Z
#include "modules/cpu.hpp" #include <numeric> waybar::modules::Cpu::Cpu(const std::string& id, const Json::Value& config) : ALabel(config, "cpu", id, "{usage}%", 10) { thread_ = [this] { dp.emit(); thread_.sleep_for(interval_); }; } auto waybar::modules::Cpu::update() -> void { // TODO: as creating ...
31.857143
100
0.607623
hypergig
2992ad0945d24bc4ff3b0de9758997f2a01411d5
7,081
cxx
C++
Servers/ServerManager/vtkPVProcessModuleBatchHelper.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
Servers/ServerManager/vtkPVProcessModuleBatchHelper.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
Servers/ServerManager/vtkPVProcessModuleBatchHelper.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without...
28.668016
99
0.570682
matthb2
2992bc3c1836daabe9954802c28f2b919f7a4ba4
2,079
hpp
C++
include/network.hpp
jaistark/sp
911933c65f950e6bc51451840068ca9249554846
[ "BSD-2-Clause" ]
28
2015-03-04T08:34:40.000Z
2022-02-13T05:59:11.000Z
include/network.hpp
jaistark/sp
911933c65f950e6bc51451840068ca9249554846
[ "BSD-2-Clause" ]
null
null
null
include/network.hpp
jaistark/sp
911933c65f950e6bc51451840068ca9249554846
[ "BSD-2-Clause" ]
14
2015-03-04T08:34:42.000Z
2020-12-08T16:13:37.000Z
#ifndef _NETWORK_HPP_ #define _NETWORK_HPP_ #include "common.hpp" #include "Snap.h" #include "snap_tools.hpp" // Keep track of the number of triples in which a pair of nodes is involved. class Counts { public: Counts() {}; Counts(int n) { counts_.resize(n); } ~Counts() {}; // Increment sum of T(:...
27
76
0.650794
jaistark
29940ebfdf8682b1149cbb2819c41e4dc4bdb2ee
3,259
cpp
C++
src/Gui/Selectors/SelectInstrument.cpp
waddlesplash/ragingmidi
7153bf68667fba7540541dddcd3ae5e5a02572f9
[ "MIT" ]
13
2015-05-06T05:35:22.000Z
2021-05-31T21:11:45.000Z
src/Gui/Selectors/SelectInstrument.cpp
waddlesplash/ragingmidi
7153bf68667fba7540541dddcd3ae5e5a02572f9
[ "MIT" ]
null
null
null
src/Gui/Selectors/SelectInstrument.cpp
waddlesplash/ragingmidi
7153bf68667fba7540541dddcd3ae5e5a02572f9
[ "MIT" ]
3
2020-06-14T16:49:44.000Z
2021-12-06T07:58:45.000Z
/* * Raging MIDI (https://github.com/waddlesplash/ragingmidi). * * Copyright (c) 2012-2013 WaddleSplash & contributors (see AUTHORS.txt). * * 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 Softw...
28.840708
83
0.717398
waddlesplash
2996b0c47dc3a0659ac515bbb630661af306c228
9,876
hpp
C++
boost/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp
tonystone/geofeatures
25aca530a9140b3f259e9ee0833c93522e83a697
[ "BSL-1.0", "Apache-2.0" ]
24
2015-08-25T05:35:37.000Z
2020-10-24T14:21:59.000Z
boost/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp
tonystone/geofeatures
25aca530a9140b3f259e9ee0833c93522e83a697
[ "BSL-1.0", "Apache-2.0" ]
97
2015-08-25T16:11:16.000Z
2019-03-17T00:54:32.000Z
boost/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp
tonystone/geofeatures
25aca530a9140b3f259e9ee0833c93522e83a697
[ "BSL-1.0", "Apache-2.0" ]
9
2015-08-26T03:11:38.000Z
2018-03-21T07:16:29.000Z
// Boost.Geometry Index // // R-tree nodes based on static conversion, storing dynamic-size containers // // Copyright (c) 2011-2014 Adam Wulkiewicz, Lodz, Poland. // // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http...
33.477966
136
0.713548
tonystone
299758d7f508ace9b2ab100079be214083dbe839
4,569
cpp
C++
app/src/render/render_task.cpp
shuyanglin/antimony-interactive
4787dea233c62015babb0da5e299d9f41d500905
[ "MIT", "Unlicense" ]
null
null
null
app/src/render/render_task.cpp
shuyanglin/antimony-interactive
4787dea233c62015babb0da5e299d9f41d500905
[ "MIT", "Unlicense" ]
null
null
null
app/src/render/render_task.cpp
shuyanglin/antimony-interactive
4787dea233c62015babb0da5e299d9f41d500905
[ "MIT", "Unlicense" ]
null
null
null
#include <boost/python.hpp> #include <boost/format.hpp> #include <QApplication> #include <QDebug> #include <QTime> #include "render/render_task.h" #include "render/render_image.h" #include "fab/types/shape.h" #include "fab/types/transform.h" using namespace boost::python; RenderTask::RenderTask(PyObject *s, QMatri...
27.359281
76
0.548917
shuyanglin
299ceb19c210ba3fca0db238e2298a4926b5ce7d
1,673
cpp
C++
Engine/Src/Ancona/Framework/Serializing/Archive.cpp
ild-games/Ancona
6a4f520f97d17648a6dd3ba0582cd51da4f9e809
[ "MIT" ]
11
2018-04-15T21:00:48.000Z
2021-12-30T20:55:21.000Z
Engine/Src/Ancona/Framework/Serializing/Archive.cpp
tlein/Ancona
6a4f520f97d17648a6dd3ba0582cd51da4f9e809
[ "MIT" ]
58
2016-04-17T20:41:25.000Z
2017-02-27T01:21:46.000Z
Engine/Src/Ancona/Framework/Serializing/Archive.cpp
ild-games/Ancona
6a4f520f97d17648a6dd3ba0582cd51da4f9e809
[ "MIT" ]
4
2018-05-04T17:03:20.000Z
2021-02-12T21:26:57.000Z
#include <Ancona/Framework/Serializing/Archive.hpp> #include <Ancona/System/Log.hpp> using namespace ild; Archive::Archive( rapidjson::Value * root, std::shared_ptr<SerializingContext> context, bool loading, rapidjson::MemoryPoolAllocator<> & allocator, bool snapshotSave) : ...
26.140625
114
0.649731
ild-games
29a2b24c1192b0cceeb3a25b3783a1bcc37f0666
9,454
cpp
C++
src/test/unit/lang/parser/other_test.cpp
drezap/stan
9b319ed125e2a7d14d0c9c246d2f462dad668537
[ "BSD-3-Clause" ]
1
2019-07-05T01:40:40.000Z
2019-07-05T01:40:40.000Z
src/test/unit/lang/parser/other_test.cpp
drezap/stan
9b319ed125e2a7d14d0c9c246d2f462dad668537
[ "BSD-3-Clause" ]
null
null
null
src/test/unit/lang/parser/other_test.cpp
drezap/stan
9b319ed125e2a7d14d0c9c246d2f462dad668537
[ "BSD-3-Clause" ]
1
2020-07-14T11:36:09.000Z
2020-07-14T11:36:09.000Z
#include <gtest/gtest.h> #include <iostream> #include <fstream> #include <istream> #include <sstream> #include <exception> #include <stdexcept> #include <test/unit/lang/utility.hpp> TEST(lang_parser,good_trunc) { EXPECT_TRUE(is_parsable("src/test/test-models/bad/lang/good_trunc.stan")); } TEST(lang_parser,good_vec_...
33.764286
99
0.757351
drezap
29a3ae6abd137dcfab3add163490d2f3393b6ef0
1,209
cc
C++
src/xenia/base/console_app_main_posix.cc
amessier/xenia
6b45cf84472c26436d4a5db61a7b50dab301e398
[ "BSD-3-Clause" ]
3,100
2018-05-03T10:04:39.000Z
2022-03-31T04:51:53.000Z
src/xenia/base/console_app_main_posix.cc
amessier/xenia
6b45cf84472c26436d4a5db61a7b50dab301e398
[ "BSD-3-Clause" ]
671
2018-05-04T00:51:22.000Z
2022-03-31T15:20:22.000Z
src/xenia/base/console_app_main_posix.cc
amessier/xenia
6b45cf84472c26436d4a5db61a7b50dab301e398
[ "BSD-3-Clause" ]
877
2018-05-03T21:01:17.000Z
2022-03-31T19:43:14.000Z
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2021 Ben Vanik. All rights reserved. ...
31
79
0.515302
amessier
29a6b20f400037c996befe49a6a3f0d8abb48311
6,374
cpp
C++
src/ufile.cpp
pranav-pointer/ulib-win
b67f644ed11c849e3c93b909f90d443df7be4e4c
[ "Apache-2.0" ]
4
2016-09-07T07:02:52.000Z
2019-06-22T08:55:53.000Z
src/ufile.cpp
dbremner/ulib-win
2ad600df92351ea12b79cad769056ab111e2f9bf
[ "Apache-2.0" ]
null
null
null
src/ufile.cpp
dbremner/ulib-win
2ad600df92351ea12b79cad769056ab111e2f9bf
[ "Apache-2.0" ]
3
2019-06-22T16:00:39.000Z
2022-03-09T13:46:27.000Z
/* * ===================================================================================== * * Filename: ufile.cpp * * Description: implement of UFile class * * Version: 1.0 * Created: 2009-7-22 20:29:39 * Revision: none * Compiler: gcc * * Author: huys (hys...
20.107256
88
0.577659
pranav-pointer