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
108
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
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
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
0643b563b583e1ccce1af68a31f29d10e0a2f560
811
hpp
C++
generator/borders_loader.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
1
2019-01-11T05:02:05.000Z
2019-01-11T05:02:05.000Z
generator/borders_loader.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
null
null
null
generator/borders_loader.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
1
2019-08-09T21:21:09.000Z
2019-08-09T21:21:09.000Z
#pragma once #include "geometry/region2d.hpp" #include "geometry/tree4d.hpp" #include "std/string.hpp" #define BORDERS_DIR "borders/" #define BORDERS_EXTENSION ".poly" namespace borders { typedef m2::RegionD Region; typedef m4::Tree<Region> RegionsContainerT; struct CountryPolygons { CountryPolygons(st...
20.794872
82
0.696671
bowlofstew
06471850e2f566be10650a5176216815fb6e0acc
128
cpp
C++
1d/kill_waw_scalar/main.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/kill_waw_scalar/main.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
1d/kill_waw_scalar/main.cpp
realincubus/clang_plugin_tests
018e22f37baaa7c072de8d455ad16057c953fd96
[ "MIT" ]
null
null
null
int main(int argc, char** argv){ for (int i = 0; i < 100; ++i){ double x; x = 0; } return 0; }
9.846154
34
0.398438
realincubus
06478b1e2d9c4788f6910906e30f5f34f4c2ce66
552
cpp
C++
Cpp/298_binary_tree_longest_consecutive_sequence/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/298_binary_tree_longest_consecutive_sequence/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/298_binary_tree_longest_consecutive_sequence/solution.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int longestConsecutive(TreeNode* root) { return search(root, NULL, 0); } int search(...
25.090909
88
0.586957
zszyellow
0647d760d8c25460239aa4c791a20256d53410ee
3,694
hh
C++
net.ssa/xrLC/OpenMesh/Core/Utils/Noncopyable.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
xrLC/OpenMesh/Core/Utils/Noncopyable.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
xrLC/OpenMesh/Core/Utils/Noncopyable.hh
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//============================================================================= // // OpenMesh // Copyright (C) 2003 by Computer Graphics Group, RWTH Aachen ...
47.974026
80
0.319708
ixray-team
064e9fd8c85114ba9966dba4b6453fda5a1af84f
49,053
cpp
C++
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwpipelinebuilder.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
2
2020-05-18T17:00:43.000Z
2021-12-01T10:00:29.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwpipelinebuilder.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
5
2020-05-05T08:05:01.000Z
2021-12-11T21:35:37.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwpipelinebuilder.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
4
2020-05-04T06:43:25.000Z
2022-02-20T12:02:50.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //+----------------------------------------------------------------------------- // // // $TAG ENGR // $Mod...
28.142857
125
0.586651
nsivov
064f37b6b6eea6975c4f88c8cdf53bf52b648497
6,375
cc
C++
chromium/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/passwords/manage_passwords_view_utils.h" #include <stddef.h> #include <algorithm> #include "base/strings/utf_string_convers...
38.173653
78
0.713255
wedataintelligence
0650d75d16eac84dbc9aa8c85c38361f5d0cdfc7
834
hpp
C++
include/lastfmpp/image.hpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
include/lastfmpp/image.hpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
include/lastfmpp/image.hpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
/************************************************************************** ** Copyright (C) 2015 Christian Manning ** ** This software may be modified and distributed under the terms ** of the MIT license. See the LICENSE file for details. **************************************************************************/ #...
22.540541
75
0.585132
chrismanning
0652f4924c04ee0dae329934fb227a77443406ec
3,607
hpp
C++
src/libraries/core/interpolation/surfaceInterpolation/limitedSchemes/Limited/Limited.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/interpolation/surfaceInterpolation/limitedSchemes/Limited/Limited.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/interpolation/surfaceInterpolation/limitedSchemes/Limited/Limited.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011-2105 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it ...
25.58156
79
0.450236
MrAwesomeRocks
0653790c4e7d89850c8d214c0d2d3add74b8d1ac
598
cpp
C++
Primitive-Root.cpp
cirno99/Algorithms
6425b143f406693caf8f882bdfe5497c81df255a
[ "Unlicense" ]
1,210
2016-08-07T13:32:12.000Z
2022-03-21T01:01:57.000Z
Primitive-Root.cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
7
2016-09-11T11:41:03.000Z
2017-10-29T02:12:57.000Z
Primitive-Root.cpp
NeilQingqing/Algorithms-2
c10d4c212fa1fbf8b9fb3c781d61f41e75e96aaa
[ "Unlicense" ]
514
2016-10-17T03:52:16.000Z
2022-03-19T16:23:33.000Z
#include <cstdio> typedef long long ll; using namespace std; ll p; ll qpow(ll x, ll y) { if (y == 1) return x; ll t = qpow(x, y >> 1); t = t * t % p; if ((y & 1) == 0) return t; return t * x % p; } int main() { ll x; while (true) { scanf("%lld", &p); for (ll k = 2; ; k++) { x = p - 1; for (ll i...
13
46
0.404682
cirno99
065b60abd82dd78935f3cfdc9cbc8c764ada5733
16,479
hpp
C++
include/morphotree/tree/mtree.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
include/morphotree/tree/mtree.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
3
2022-03-23T19:16:08.000Z
2022-03-28T00:40:19.000Z
include/morphotree/tree/mtree.hpp
dennisjosesilva/morphotree
3be4ff7f36de65772ef273a61b0bc5916e2904d9
[ "MIT" ]
null
null
null
#pragma once #include "morphotree/core/alias.hpp" #include "morphotree/core/box.hpp" #include <memory> #include <list> #include <vector> #include <limits> #include "morphotree/tree/ct_builder.hpp" #include "morphotree/adjacency/adjacency.hpp" #include "morphotree/core/sort.hpp" #include <queue> #include <stack> nam...
29.532258
126
0.642879
dennisjosesilva
065eb2982dc371822618bbd8de5a17b117a64f64
166
cpp
C++
C++/drawashape.cpp
nitinkumar30/Programming-Basics
28b6640055a35fe338741fa772e1d7684976d8f9
[ "MIT" ]
68
2021-05-03T15:57:35.000Z
2022-01-17T10:19:26.000Z
C++/drawashape.cpp
nitinkumar30/Programming-Basics
28b6640055a35fe338741fa772e1d7684976d8f9
[ "MIT" ]
262
2021-09-26T18:18:55.000Z
2022-02-18T15:43:38.000Z
C++/drawashape.cpp
nitinkumar30/Programming-Basics
28b6640055a35fe338741fa772e1d7684976d8f9
[ "MIT" ]
168
2021-04-24T03:45:58.000Z
2022-02-18T07:58:24.000Z
#include<iostream> using namespace std; int main() { cout<<"/___/|"<< endl; cout<<" / |"<< endl; cout<<" / |"<< endl; cout<<" /___|"<< endl; return 0; }
12.769231
23
0.506024
nitinkumar30
06623c4a5e54afdd80e862ffdc06b39ad69895b3
42,167
cpp
C++
Source/WebSocketEntities.cpp
braindigitalis/DiscordCoreAPI
1cc087ea8435051afb8a7ef9bb171665127df419
[ "Apache-2.0" ]
null
null
null
Source/WebSocketEntities.cpp
braindigitalis/DiscordCoreAPI
1cc087ea8435051afb8a7ef9bb171665127df419
[ "Apache-2.0" ]
null
null
null
Source/WebSocketEntities.cpp
braindigitalis/DiscordCoreAPI
1cc087ea8435051afb8a7ef9bb171665127df419
[ "Apache-2.0" ]
null
null
null
// WebSocketEntities.cpp - Source file for the webSocket related classes and structs. // May 13, 2021 // Chris M. // https://github.com/RealTimeChris #include "WebSocketEntities.hpp" #include "JSONIfier.hpp" #include "EventManager.hpp" #include "CommandController.hpp" #include "DiscordCoreClient.hpp" namespace Discor...
38.264065
198
0.682548
braindigitalis
066252162f8ac7b556bc773ad897e96fdb3b70d2
813
cpp
C++
Algorithms/Sorting/selection_sort.cpp
TeacherManoj0131/HacktoberFest2020-Contributions
c7119202fdf211b8a6fc1eadd0760dbb706a679b
[ "MIT" ]
256
2020-09-30T19:31:34.000Z
2021-11-20T18:09:15.000Z
Algorithms/Sorting/selection_sort.cpp
TeacherManoj0131/HacktoberFest2020-Contributions
c7119202fdf211b8a6fc1eadd0760dbb706a679b
[ "MIT" ]
293
2020-09-30T19:14:54.000Z
2021-06-06T02:34:47.000Z
Algorithms/Sorting/selection_sort.cpp
TeacherManoj0131/HacktoberFest2020-Contributions
c7119202fdf211b8a6fc1eadd0760dbb706a679b
[ "MIT" ]
1,620
2020-09-30T18:37:44.000Z
2022-03-03T20:54:22.000Z
#include <bits/stdc++.h> using namespace std; void swap(int *x, int *y) { int temp = *x; *x = *y; *y = temp; } void selectionSort(int arr[], int n) { int i, j, min; for (i = 0; i < n-1; i++) { min = i; for (j = i+1; j < n; j++) ...
17.673913
39
0.392374
TeacherManoj0131
066469719d36c5564bf1b88e3a934da65e4363d3
13,371
cpp
C++
eval.cpp
maxime-tournier/slip
a3765b27280cb29880e448310fbcb2c9a40a88cd
[ "MIT" ]
1
2017-03-19T21:43:42.000Z
2017-03-19T21:43:42.000Z
eval.cpp
maxime-tournier/slip
a3765b27280cb29880e448310fbcb2c9a40a88cd
[ "MIT" ]
null
null
null
eval.cpp
maxime-tournier/slip
a3765b27280cb29880e448310fbcb2c9a40a88cd
[ "MIT" ]
null
null
null
#include "eval.hpp" #include <vector> #include "sexpr.hpp" #include "package.hpp" #include "gc.hpp" #include "stack.hpp" // #include "repr.hpp" namespace eval { //////////////////////////////////////////////////////////////////////////////// const symbol cons = "cons"; const symbol nil = "nil"; con...
25.468571
82
0.544238
maxime-tournier
06657b9629f5f8883f5c19899ccaa69c6e22bbe5
289
cpp
C++
src/liquid/string_std.cpp
kainjow/Jeqyll
3a234a345087c5d3366b1eda98d3ed92d3888101
[ "MIT" ]
4
2018-02-01T04:46:37.000Z
2021-01-13T18:20:38.000Z
src/liquid/string_std.cpp
kainjow/Jeqyll
3a234a345087c5d3366b1eda98d3ed92d3888101
[ "MIT" ]
null
null
null
src/liquid/string_std.cpp
kainjow/Jeqyll
3a234a345087c5d3366b1eda98d3ed92d3888101
[ "MIT" ]
3
2017-03-27T19:12:56.000Z
2021-03-23T04:24:51.000Z
#include "string.hpp" Liquid::StringRef Liquid::String::midRef(size_type pos, size_type num) const { if (pos > size()) { return {}; } const size_type len = num == static_cast<size_type>(-1) || size() < num ? size() - pos : num; return StringRef(this, pos, len); }
26.272727
97
0.608997
kainjow
06666820f2556feae941ec03439afd62c07f5374
4,464
cpp
C++
OpenCTD_Particle_Boron/OpenCTD_SDCard/OpenCTD_SDCard/src/OpenCTD_SDCard.cpp
sio-testtank-makerspace/OpenCTD
0595126c56dbd7e131d17491b5679a944ab44660
[ "MIT" ]
2
2019-05-30T23:44:24.000Z
2019-09-04T00:50:38.000Z
OpenCTD_Particle_Boron/OpenCTD_SDCard/OpenCTD_SDCard/src/OpenCTD_SDCard.cpp
sio-testtank-makerspace/OpenCTD
0595126c56dbd7e131d17491b5679a944ab44660
[ "MIT" ]
null
null
null
OpenCTD_Particle_Boron/OpenCTD_SDCard/OpenCTD_SDCard/src/OpenCTD_SDCard.cpp
sio-testtank-makerspace/OpenCTD
0595126c56dbd7e131d17491b5679a944ab44660
[ "MIT" ]
null
null
null
#include "application.h" #line 1 "/Users/pjb/Dropbox/Particle_Projects/OPO_OpenCTDTest/OpenCTD_SDCard/OpenCTD_SDCard/src/OpenCTD_SDCard.ino" /* * Simple data logger. */ #include <SPI.h> #include "SdFat.h" // SD chip select pin. Be sure to disable any other SPI devices such as Enet. void writeHeader(); void logData(...
27.9
115
0.575269
sio-testtank-makerspace
06674986cea465217ce96ee6d076534d4e889b67
5,916
cpp
C++
pi4home-core/src/pi4home/output/pca9685_output_component.cpp
khzd/pi4home
937bcdcf77bab111cca10af1fe45c63a55c29aae
[ "MIT" ]
1
2019-05-16T02:52:12.000Z
2019-05-16T02:52:12.000Z
pi4home-core/src/pi4home/output/pca9685_output_component.cpp
khzd/pi4home
937bcdcf77bab111cca10af1fe45c63a55c29aae
[ "MIT" ]
null
null
null
pi4home-core/src/pi4home/output/pca9685_output_component.cpp
khzd/pi4home
937bcdcf77bab111cca10af1fe45c63a55c29aae
[ "MIT" ]
null
null
null
// Based on: // - https://github.com/NachtRaveVL/PCA9685-Arduino // - https://cdn-shop.adafruit.com/datasheets/PCA9685.pdf #include "pi4home/defines.h" #ifdef USE_PCA9685_OUTPUT #include "pi4home/output/pca9685_output_component.h" #include "pi4home/log.h" PI4HOME_NAMESPACE_BEGIN namespace output { static con...
31.301587
109
0.698952
khzd
06691fe7604608f281cdf1b73c26e841e47ba944
4,319
cc
C++
physics/hadron/models/src/HadronicFinalStateModelStore.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
2
2016-10-16T14:37:42.000Z
2018-04-05T15:49:09.000Z
physics/hadron/models/src/HadronicFinalStateModelStore.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
physics/hadron/models/src/HadronicFinalStateModelStore.cc
Geant-RnD/geant
ffff95e23547531f3254ada2857c062a31f33e8f
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "Geant/HadronicFinalStateModelStore.h" #include "Geant/HadronicFinalStateModel.h" #include "Geant/Isotope.h" using namespace geantphysics; //------------------------------------------------ // HadronicFinalStateModelStore non-inline methods //------------------------------------------------ HadronicFinalSta...
39.990741
117
0.656865
Geant-RnD
06696f0f06efe1d4c70f313abf88e6b996dec1cb
954
cpp
C++
AYK/src/AYK/Renderer/OrthographicCamera.cpp
AreYouReal/AYK
c6859047cfed674291692cc31095d8bb61b27a35
[ "Apache-2.0" ]
null
null
null
AYK/src/AYK/Renderer/OrthographicCamera.cpp
AreYouReal/AYK
c6859047cfed674291692cc31095d8bb61b27a35
[ "Apache-2.0" ]
null
null
null
AYK/src/AYK/Renderer/OrthographicCamera.cpp
AreYouReal/AYK
c6859047cfed674291692cc31095d8bb61b27a35
[ "Apache-2.0" ]
null
null
null
#include "aykpch.h" #include "OrthographicCamera.h" #include <glm/gtc/matrix_transform.hpp> namespace AYK { OrthographicCamera::OrthographicCamera(float Left, float Right, float Bottom, float Top) : ProjectionMatrix(glm::ortho(Left, Right, Bottom, Top, -1.0f, 1.0f)), ViewMatrix(1.0f){ AYK_PROFILE_FUNCTION(); V...
28.058824
178
0.736897
AreYouReal
066a5658cb723db9cd81c7b8d2f19fbc9cc1c63a
206,755
hpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_97.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_97.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_97.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_IOS_XE_NATIVE_97_ #define _CISCO_IOS_XE_NATIVE_97_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> #include "Cisco_IOS_XE_native_0.hpp" #include "Cisco_IOS_XE_native_20.hpp" #include "Cisco_IOS_XE_native_95.hpp" #include "Cisco_IOS_XE_native_96.h...
50.526637
167
0.680032
CiscoDevNet
066beba3c0647677cff0bddc2d0c969a82cda3f3
1,054
cpp
C++
FlyEngine/Source/FlyVariable.cpp
rogerta97/FlyEngine
33abd70c5b4307cd552e2b6269b401772b4327ba
[ "MIT" ]
null
null
null
FlyEngine/Source/FlyVariable.cpp
rogerta97/FlyEngine
33abd70c5b4307cd552e2b6269b401772b4327ba
[ "MIT" ]
null
null
null
FlyEngine/Source/FlyVariable.cpp
rogerta97/FlyEngine
33abd70c5b4307cd552e2b6269b401772b4327ba
[ "MIT" ]
null
null
null
#include "FlyVariable.h" #include "RandomNumberGenerator.h" #include "mmgr.h" FlyVariable::FlyVariable() { } FlyVariable::~FlyVariable() { } void FlyVariable::CleanUp() { } void FlyVariable::SetDefault() { name = ""; varType = Var_Integer; varIntegerValue = 0; varToogleValue = true; uniqueID = RandomNumberGen...
23.954545
80
0.767552
rogerta97
066f9426ba98e9c4f33791fd877a1ed30b71d398
3,010
cpp
C++
src/MexUtils.cpp
markjolah/MexIface
42118754e7d4175d452fa7cdbd9335561ff69900
[ "Apache-2.0" ]
4
2019-03-04T08:28:50.000Z
2021-09-30T16:50:51.000Z
src/MexUtils.cpp
markjolah/MexIFace
42118754e7d4175d452fa7cdbd9335561ff69900
[ "Apache-2.0" ]
null
null
null
src/MexUtils.cpp
markjolah/MexIFace
42118754e7d4175d452fa7cdbd9335561ff69900
[ "Apache-2.0" ]
null
null
null
/** @file MexUtils.cpp * @author Mark J. Olah (mjo\@cs.unm DOT edu) * @date 2013-2017 * @copyright Licensed under the Apache License, Version 2.0. See LICENSE file. * @brief Helper functions for working with Matlab mxArrays and mxClassIDs */ #include <memory> #include <cxxabi.h> #include "MexIFace/MexUtils.h" #i...
35.411765
104
0.690033
markjolah
067009b97de9b3c912abfa77d7276ea3f9ff39be
34,300
cpp
C++
RC.cpp
eanmcgilvery/Embedded-Sys-Visualizer
412b23f0f90f5e9ee68d139f73f15df48c88d5a4
[ "MIT" ]
null
null
null
RC.cpp
eanmcgilvery/Embedded-Sys-Visualizer
412b23f0f90f5e9ee68d139f73f15df48c88d5a4
[ "MIT" ]
null
null
null
RC.cpp
eanmcgilvery/Embedded-Sys-Visualizer
412b23f0f90f5e9ee68d139f73f15df48c88d5a4
[ "MIT" ]
null
null
null
/*MIT License Copyright (c) 2021 Ean McGilvery, Janeen Yamak Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
34.857724
128
0.504169
eanmcgilvery
0673d8a0bb1d3dbb436e0614d53d563f245fa063
8,212
cc
C++
deploy/pptracking/cpp/src/jde_predictor.cc
Amanda-Barbara/PaddleDetection
65ac13074eaaa2447c644a2df71969d8a3dd1fae
[ "Apache-2.0" ]
3
2022-03-23T08:48:06.000Z
2022-03-28T01:59:34.000Z
deploy/pptracking/cpp/src/jde_predictor.cc
Amanda-Barbara/PaddleDetection
65ac13074eaaa2447c644a2df71969d8a3dd1fae
[ "Apache-2.0" ]
null
null
null
deploy/pptracking/cpp/src/jde_predictor.cc
Amanda-Barbara/PaddleDetection
65ac13074eaaa2447c644a2df71969d8a3dd1fae
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 PaddlePaddle 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 requir...
34.79661
80
0.629445
Amanda-Barbara
067538bdca83fd2d62096ca981783b95168c04bf
1,271
cpp
C++
Engine/Source/honey.cpp
bugsbycarlin/Honey
56902979eb746c8dff5c8bcfc531fbf855c0bae5
[ "MIT" ]
null
null
null
Engine/Source/honey.cpp
bugsbycarlin/Honey
56902979eb746c8dff5c8bcfc531fbf855c0bae5
[ "MIT" ]
null
null
null
Engine/Source/honey.cpp
bugsbycarlin/Honey
56902979eb746c8dff5c8bcfc531fbf855c0bae5
[ "MIT" ]
null
null
null
/* Honey Copyright 2018 - Matthew Carlin */ #include "honey.h" using namespace std; namespace Honey { Window& window = Window::instance(); ScreenManager& screenmanager = ScreenManager::instance(); Timing& timing = Timing::instance(); MathUtilities& math_utils = MathUtilities::instance(); Config& conf...
28.244444
88
0.697876
bugsbycarlin
0679cdcc3547a36811b82bd645ed2b20d5e6bf7d
2,787
cpp
C++
src/Graphics/Model.cpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
1
2022-01-24T18:15:56.000Z
2022-01-24T18:15:56.000Z
src/Graphics/Model.cpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
null
null
null
src/Graphics/Model.cpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
null
null
null
#include <assert.h> #include "Model.hpp" namespace Ondine::Graphics { ModelConfig::ModelConfig(uint32_t vertexCount) : mVertexCount(vertexCount), mAttributeCount(0), mAttributes{}, mIndexCount(0), mIndexType(VkIndexType(0)), mIndices{} { } void ModelConfig::pushAttribute( const Attribute &...
27.323529
81
0.735199
llGuy
067a56a19902ba8198fa931e4187327ca6afaa62
2,647
cpp
C++
lldb/unittests/Target/StackFrameRecognizerTest.cpp
AnthonyLatsis/llvm-project
2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74
[ "Apache-2.0" ]
27
2020-02-18T20:48:54.000Z
2022-02-14T01:30:00.000Z
lldb/unittests/Target/StackFrameRecognizerTest.cpp
coolstar/llvm-project
e21ccdd5b5667de50de65ee8903a89a21020e89a
[ "Apache-2.0" ]
9
2020-04-24T21:51:04.000Z
2020-11-06T01:04:09.000Z
lldb/unittests/Target/StackFrameRecognizerTest.cpp
coolstar/llvm-project
e21ccdd5b5667de50de65ee8903a89a21020e89a
[ "Apache-2.0" ]
7
2020-04-14T09:12:18.000Z
2021-09-20T10:31:12.000Z
//===-- StackFrameRecognizerTest.cpp --------------------------------------===// // // 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 // //===---------------------------...
31.511905
80
0.703816
AnthonyLatsis
067cf9785dac34b7f808b923e415dea463b94629
50,800
cpp
C++
tests/codegen.cpp
ajor/bpftrace
691e1264b526b9179a610c3ae706e439efd132d3
[ "Apache-2.0" ]
278
2016-12-28T00:51:17.000Z
2022-02-09T10:32:31.000Z
tests/codegen.cpp
brendangregg/bpftrace
4cc2e864a9bbbcb97a508bfc5a3db1cd0b5d7f95
[ "Apache-2.0" ]
48
2017-07-10T20:17:55.000Z
2020-01-20T23:41:51.000Z
tests/codegen.cpp
ajor/bpftrace
691e1264b526b9179a610c3ae706e439efd132d3
[ "Apache-2.0" ]
19
2017-07-28T05:49:00.000Z
2022-02-22T22:05:37.000Z
#include "gmock/gmock.h" #include "gtest/gtest.h" #include "bpforc.h" #include "bpftrace.h" #include "codegen_llvm.h" #include "driver.h" #include "fake_map.h" #include "semantic_analyser.h" namespace bpftrace { namespace test { namespace codegen { using ::testing::_; TEST(codegen, populate_sections) { BPFtrace bp...
38.253012
161
0.657618
ajor
067d73d95df0b29938dd67d299227f270e8608d1
6,695
inl
C++
Library/Sources/Stroika/Foundation/Execution/WaitForIOReady.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Library/Sources/Stroika/Foundation/Execution/WaitForIOReady.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Library/Sources/Stroika/Foundation/Execution/WaitForIOReady.inl
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #ifndef _Stroika_Foundation_Execution_WaitForIOReady_inl_ #define _Stroika_Foundation_Execution_WaitForIOReady_inl_ 1 /* ******************************************************************************** ***************************** Implem...
51.899225
182
0.645706
SophistSolutions
067f9303e31723e091d394718084d79cb76f3bd0
950
cpp
C++
sociality_model_cpp/main.cpp
pratikunterwegs/pathomove
be6b509442d975909bae2a46cc01d94e74e32a41
[ "MIT" ]
1
2022-03-16T11:20:02.000Z
2022-03-16T11:20:02.000Z
sociality_model_cpp/main.cpp
pratikunterwegs/pathomove
be6b509442d975909bae2a46cc01d94e74e32a41
[ "MIT" ]
1
2022-01-18T12:08:44.000Z
2022-01-18T12:08:44.000Z
sociality_model_cpp/main.cpp
pratikunterwegs/pathomove
be6b509442d975909bae2a46cc01d94e74e32a41
[ "MIT" ]
1
2022-01-18T20:29:28.000Z
2022-01-18T20:29:28.000Z
#include <vector> #include <random> #include <cassert> #include <iostream> #include <fstream> #include <algorithm> #include "../src/simulations.hpp" int main(int argc, char *argv[]) { // process cliargs std::vector<std::string> cliArgs(argv, argv+argc); int nFood = 5; float landsize = 5.0f; int fo...
25
99
0.624211
pratikunterwegs
068288a499f0ade39ee6376837103bf8af844898
536
cpp
C++
PkTex-Atlas/jni/MPACK/Graphics/Texture/Image/PPMImage.cpp
links234/PkTex
8f2d33e0794e57c33305c2eceab11f6f53f0aeee
[ "Apache-2.0" ]
null
null
null
PkTex-Atlas/jni/MPACK/Graphics/Texture/Image/PPMImage.cpp
links234/PkTex
8f2d33e0794e57c33305c2eceab11f6f53f0aeee
[ "Apache-2.0" ]
null
null
null
PkTex-Atlas/jni/MPACK/Graphics/Texture/Image/PPMImage.cpp
links234/PkTex
8f2d33e0794e57c33305c2eceab11f6f53f0aeee
[ "Apache-2.0" ]
null
null
null
#include "PNGImage.hpp" #include <png.h> #include "Image.hpp" #include "Resources.hpp" #include "Misc.hpp" #include "Log.hpp" using namespace MPACK::Core; namespace MPACK { namespace Graphics { ReturnValue LoadPPM(Image *image, const std::string &path, bool flipForOpenGL) { LOGE("LoadPPM()...
18.482759
81
0.662313
links234
0682d37d47eaa856a5c355dad4cd19f37b1362e4
23,594
cpp
C++
testing/core/CreateTestStructure.cpp
MIC-DKFZ/RTTB
8b772501fd3fffcb67233a9307661b03dff72785
[ "BSD-3-Clause" ]
18
2018-04-19T12:57:32.000Z
2022-03-12T17:43:02.000Z
testing/core/CreateTestStructure.cpp
MIC-DKFZ/RTTB
8b772501fd3fffcb67233a9307661b03dff72785
[ "BSD-3-Clause" ]
null
null
null
testing/core/CreateTestStructure.cpp
MIC-DKFZ/RTTB
8b772501fd3fffcb67233a9307661b03dff72785
[ "BSD-3-Clause" ]
7
2018-06-24T21:09:56.000Z
2021-09-09T09:30:49.000Z
// ----------------------------------------------------------------------- // RTToolbox - DKFZ radiotherapy quantitative evaluation library // // Copyright (c) German Cancer Research Center (DKFZ), // Software development for Integrated Diagnostics and Therapy (SIDT). // ALL RIGHTS RESERVED. // See rttbCopyright....
34.595308
124
0.469357
MIC-DKFZ
068378d6af38e997dad71e711f19708f7238cf00
3,053
cpp
C++
tokenizer.cpp
CreativeGP/c2js
8d06404d4d72918d83eacb49fe6e9353ab7aece4
[ "MIT" ]
null
null
null
tokenizer.cpp
CreativeGP/c2js
8d06404d4d72918d83eacb49fe6e9353ab7aece4
[ "MIT" ]
null
null
null
tokenizer.cpp
CreativeGP/c2js
8d06404d4d72918d83eacb49fe6e9353ab7aece4
[ "MIT" ]
null
null
null
#include "tokenizer.h" #include "util.h" #include <fstream> Tokenizer::Tokenizer() {} Tokenizer::~Tokenizer() {} int Tokenizer::add_token(string value, uint line, uint col) { if (value == "") return -1; tokens.push_back(Token {value, line, col}); tokenvals.push_back(value); return 0; } i...
25.655462
84
0.496561
CreativeGP
06848f70c9fa3faedd67ab90c09563ed731ad7eb
17,354
cpp
C++
Source/HoudiniEngineEditor/Private/HoudiniEngineStyle.cpp
leaping-rhino/HoudiniEngineForUnreal
7da6fea61907101071fb837e40c1902320604f7f
[ "BSD-3-Clause" ]
1
2022-02-24T08:57:06.000Z
2022-02-24T08:57:06.000Z
Source/HoudiniEngineEditor/Private/HoudiniEngineStyle.cpp
leaping-rhino/HoudiniEngineForUnreal
7da6fea61907101071fb837e40c1902320604f7f
[ "BSD-3-Clause" ]
null
null
null
Source/HoudiniEngineEditor/Private/HoudiniEngineStyle.cpp
leaping-rhino/HoudiniEngineForUnreal
7da6fea61907101071fb837e40c1902320604f7f
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) <2021> Side Effects Software 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: * * 1. Redistributions of source code must retain the above copyright notice, * this list of...
54.744479
163
0.789904
leaping-rhino
0685080ea1d0902c50715059a6c6edb190b3fd37
1,065
cpp
C++
Volume110/11088 - End up with More Teams/11088.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
1
2017-01-25T18:07:49.000Z
2017-01-25T18:07:49.000Z
Volume110/11088 - End up with More Teams/11088.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
Volume110/11088 - End up with More Teams/11088.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
// Author: Stancioiu Nicu Razvan // Problem: http://uva.onlinejudge.org/external/110/11088.html #include <cstdio> #define INF 0x1f1f1f1f #define N 16 using namespace std; int teams,n,c; int p[N]; int visited[N]; int BackTrack(int nbTeams,int l) { int sum=INF; int maxNbTeams=nbTeams; for(int i=l;i<n;++i) { if(!v...
17.459016
62
0.53615
rstancioiu
068638527269bdc8b38aa4b45d95301f6697a5d2
15,390
hpp
C++
include/memoria/core/memory/smart_ptrs.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
include/memoria/core/memory/smart_ptrs.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/core/memory/smart_ptrs.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2018 Victor Smirnov // // 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...
27.190813
103
0.724756
victor-smirnov
0686a5698dd52188c98f89517463a3b51439758b
24,457
cc
C++
chrome/renderer/webplugin_delegate_pepper.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
chrome/renderer/webplugin_delegate_pepper.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
chrome/renderer/webplugin_delegate_pepper.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 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. #define PEPPER_APIS_ENABLED 1 #include "chrome/renderer/webplugin_delegate_pepper.h" #include <string> #include <vector> #include "app/gfx/blit.h" ...
33.005398
80
0.716973
rwatson
068f41ee5c4d1a547e30fde1bd45ff15e98483af
2,335
cpp
C++
ch13-02-single-segment/src/main.cpp
pulpobot/C-SFML-html5-animation
14154008b853d1235e8ca35a5b23b6a70366f914
[ "MIT" ]
73
2017-12-14T00:33:23.000Z
2022-02-09T12:04:52.000Z
ch13-02-single-segment/src/main.cpp
threaderic/C-SFML-html5-animation
22f302cdf7c7c00247609da30e1bcf472d134583
[ "MIT" ]
null
null
null
ch13-02-single-segment/src/main.cpp
threaderic/C-SFML-html5-animation
22f302cdf7c7c00247609da30e1bcf472d134583
[ "MIT" ]
5
2017-12-26T03:30:07.000Z
2020-07-05T04:58:24.000Z
#include <iostream> #include "SFML\Graphics.hpp" #include "Segment.h" #include "Utils.h" #include "Slider.h" void OnHandleMoveCallback(Slider *slider){ slider->handle.setPosition(slider->background.getPosition().x, slider->handleY + slider->background.getPosition().y); } int main() { //You can turn off antial...
32.430556
121
0.582441
pulpobot
06985a43292318fac4c3ffbe711bfb3098f0548c
1,192
hpp
C++
include/mold/domain/mustache/parser.hpp
duzy/mold
52a813bf2858e9719b89b1250702c82be4c2a78d
[ "BSL-1.0" ]
7
2016-10-02T13:29:55.000Z
2022-02-06T09:21:00.000Z
include/mold/domain/mustache/parser.hpp
extbit/mold
68cc3dd815c4e7a39ab5f68f7525a6c36a1e036f
[ "BSL-1.0" ]
1
2020-06-09T01:26:21.000Z
2020-06-09T01:26:21.000Z
include/mold/domain/mustache/parser.hpp
extbit/mold
68cc3dd815c4e7a39ab5f68f7525a6c36a1e036f
[ "BSL-1.0" ]
2
2019-09-08T05:30:31.000Z
2020-08-27T13:03:49.000Z
/** * \file boost/mold/domain/mustache/grammar.hpp * * Copyright 2016~2019 Duzy Chan <code@extbit.io>, ExtBit Limited * * 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) */ #ifndef _BOOST_MOLD_DOMAIN_MUSTA...
36.121212
80
0.765101
duzy
06985cb70c970a359b7b5e380300257ab4998709
383
cpp
C++
src/ccw.cpp
hgu-sit22005/telloproject-NaGyungMin15
30429e7cc922cf811db4c85d1aa266029c6c29b6
[ "MIT" ]
null
null
null
src/ccw.cpp
hgu-sit22005/telloproject-NaGyungMin15
30429e7cc922cf811db4c85d1aa266029c6c29b6
[ "MIT" ]
null
null
null
src/ccw.cpp
hgu-sit22005/telloproject-NaGyungMin15
30429e7cc922cf811db4c85d1aa266029c6c29b6
[ "MIT" ]
null
null
null
#include "ccw.h" #include <cstring> #include <sstream> ccw::ccw() { command = new char[strlen("ccw 90")+1]; strcpy(command, "ccw 90"); } ccw::ccw(int _val) { std::stringstream sstream; sstream << "ccw " << _val; command = new char[strlen(sstream.str().c_str())+1]; strcpy(command, sstream.str()....
15.32
54
0.592689
hgu-sit22005
069917eabac71dc9c402d5ee286ea3ee8ea2d6e0
15,795
cpp
C++
sycl/source/detail/program_manager/program_manager.cpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
1
2020-09-25T23:33:05.000Z
2020-09-25T23:33:05.000Z
sycl/source/detail/program_manager/program_manager.cpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
sycl/source/detail/program_manager/program_manager.cpp
Ralender/sycl
1fcd1e6d3da10024be92148501aced30ae3aa2be
[ "Apache-2.0" ]
null
null
null
//==------ program_manager.cpp --- SYCL program manager---------------------==// // // 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 // //===---------------------------...
36.394009
83
0.628807
Ralender
069b203acdc3a69df518b9e00da0d094acb6c7d8
1,149
cpp
C++
Algorithms/Dynamic-Programming-Algorithms/levenstein_distance.cpp
tensorush/Computer-Scientists-Toolkit
f48aadf6387b935ac593f6a5513352c3bf562cb0
[ "MIT" ]
9
2021-07-11T19:53:36.000Z
2022-03-28T15:04:38.000Z
Algorithms/Dynamic-Programming-Algorithms/levenstein_distance.cpp
geotrush/Computer-Scientists-Toolkit
f48aadf6387b935ac593f6a5513352c3bf562cb0
[ "MIT" ]
1
2022-01-18T09:49:36.000Z
2022-01-18T17:50:12.000Z
Algorithms/Dynamic-Programming-Algorithms/levenstein_distance.cpp
geotrush/Computer-Scientists-Toolkit
f48aadf6387b935ac593f6a5513352c3bf562cb0
[ "MIT" ]
2
2021-11-15T08:02:25.000Z
2022-03-21T14:29:15.000Z
/* Levenshtein Distance -------------------- Time: O(n*m) Space: O(n*m) */ #include <algorithm> #include <iostream> #include <vector> #include <string> int LevensteinDistance(const std::string& string_1, const std::string& string_2) { unsigned n = string_1.size(), m = string_2.size(); std::vect...
31.916667
102
0.530896
tensorush
069ce545b7142abfb5d8fb450aa5255937f6ae1c
1,772
cpp
C++
Modules/MitkExt/Testing/mitkSurfaceToImageFilterTest.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Modules/MitkExt/Testing/mitkSurfaceToImageFilterTest.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
Modules/MitkExt/Testing/mitkSurfaceToImageFilterTest.cpp
rfloca/MITK
b7dcb830dc36a5d3011b9828c3d71e496d3936ad
[ "BSD-3-Clause" ]
null
null
null
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
37.702128
217
0.727991
rfloca
069d4c08c678210af0599ce85b3a48e5dc35b848
3,116
hpp
C++
dev/Code/CryEngine/RenderDll/XRenderD3D9/DXGL/Interfaces/CCryDXGLShader.hpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/CryEngine/RenderDll/XRenderD3D9/DXGL/Interfaces/CCryDXGLShader.hpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/CryEngine/RenderDll/XRenderD3D9/DXGL/Interfaces/CCryDXGLShader.hpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
26.632479
85
0.758344
jeikabu
069e66fc88cbf726fc258b498a056d146fcd611a
370
cpp
C++
docs/examples/problems/addition/submissions/js.cpp
bilsen/omogenexec
331f8e4ac48a190de289b5e1737741bac0d7a09a
[ "MIT" ]
null
null
null
docs/examples/problems/addition/submissions/js.cpp
bilsen/omogenexec
331f8e4ac48a190de289b5e1737741bac0d7a09a
[ "MIT" ]
null
null
null
docs/examples/problems/addition/submissions/js.cpp
bilsen/omogenexec
331f8e4ac48a190de289b5e1737741bac0d7a09a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int add(int a, int b) { if (a == 0) return b; int what[1000]; what[0] = add(a - 1, b + 1); what[1] = add(0, -10); what[2] = add(0, 10); return what[0] + what[1] + what[2]; } int main() { int a, b; cin >> a >> b; if (a + b <= 2000) { cout << add(a, b) << ...
16.086957
37
0.472973
bilsen
069e6fe49b5580546b2126a25991a5c1c243a6be
3,403
cpp
C++
ArrayList/ArrayList/ArrayListLib.cpp
UnicornMane/spbu-homework1
665c71cfa1e37a5b88fb1d58ad0070842d0b6b2b
[ "Apache-2.0" ]
null
null
null
ArrayList/ArrayList/ArrayListLib.cpp
UnicornMane/spbu-homework1
665c71cfa1e37a5b88fb1d58ad0070842d0b6b2b
[ "Apache-2.0" ]
null
null
null
ArrayList/ArrayList/ArrayListLib.cpp
UnicornMane/spbu-homework1
665c71cfa1e37a5b88fb1d58ad0070842d0b6b2b
[ "Apache-2.0" ]
null
null
null
#include "ArrayListLib.h" #include <iostream> void ArrayList::expand(int count) { int* newdata = new int[count + this->capacity]; for (int i = 0; i < this->capacity; ++i) { newdata[i] = this->data[i]; } delete[] this->data; this->data = newdata; this->capacity += count; } void ArrayList::swap(int posi, int p...
15.610092
63
0.577432
UnicornMane
069e92ce79b2fd81b8500829e6ce9e536bfe2d3c
4,896
cpp
C++
include/delfem2/opengl/old/rigv3.cpp
mmer547/delfem2
4f4b28931c96467ac30948e6b3f83150ea530c92
[ "MIT" ]
1
2020-07-18T17:03:36.000Z
2020-07-18T17:03:36.000Z
include/delfem2/opengl/old/rigv3.cpp
mmer547/delfem2
4f4b28931c96467ac30948e6b3f83150ea530c92
[ "MIT" ]
null
null
null
include/delfem2/opengl/old/rigv3.cpp
mmer547/delfem2
4f4b28931c96467ac30948e6b3f83150ea530c92
[ "MIT" ]
null
null
null
/* * Copyright (c) 2019 Nobuyuki Umetani * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "delfem2/opengl/old/funcs.h" #include "delfem2/opengl/old/v3q.h" #include "delfem2/opengl/old/rigv3.h" #include "delfem2/rig_geo3.h" #...
30.222222
96
0.642565
mmer547
069efb2b5b3595ecabae8c74dbc4dd26699bb3b0
4,460
cpp
C++
src/68. Text Justification/main.cpp
sheepduke/leetcode
7808b3370e4c3e19b2b0bc2bcee62f659906c3eb
[ "MIT" ]
null
null
null
src/68. Text Justification/main.cpp
sheepduke/leetcode
7808b3370e4c3e19b2b0bc2bcee62f659906c3eb
[ "MIT" ]
null
null
null
src/68. Text Justification/main.cpp
sheepduke/leetcode
7808b3370e4c3e19b2b0bc2bcee62f659906c3eb
[ "MIT" ]
null
null
null
/* Given an array of words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justified. You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad extra spaces ' ' when necessary so that each line has e...
30.135135
95
0.606054
sheepduke
06a061758728508aa54e85df8d53f1b10cb29e2e
8,069
cpp
C++
src/tut27/Engine/Engine/graphicsclass.cpp
Scillman/rastertek-dx11-tutorials
3aee1e19eaf6e4e8e9a44c88a83ac50acdcb05c6
[ "Unlicense" ]
null
null
null
src/tut27/Engine/Engine/graphicsclass.cpp
Scillman/rastertek-dx11-tutorials
3aee1e19eaf6e4e8e9a44c88a83ac50acdcb05c6
[ "Unlicense" ]
null
null
null
src/tut27/Engine/Engine/graphicsclass.cpp
Scillman/rastertek-dx11-tutorials
3aee1e19eaf6e4e8e9a44c88a83ac50acdcb05c6
[ "Unlicense" ]
1
2018-06-26T01:29:41.000Z
2018-06-26T01:29:41.000Z
//////////////////////////////////////////////////////////////////////////////// // Filename: graphicsclass.cpp //////////////////////////////////////////////////////////////////////////////// #include "graphicsclass.h" GraphicsClass::GraphicsClass() { m_D3D = 0; m_Camera = 0; m_Model = 0; m_TextureSha...
24.451515
120
0.681125
Scillman
a628cd64c745f4515c57ae13c584c08c20132222
832
cpp
C++
extern/shiny/Main/MaterialInstancePass.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
4
2020-07-04T06:05:05.000Z
2022-02-14T22:53:27.000Z
extern/shiny/Main/MaterialInstancePass.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
extern/shiny/Main/MaterialInstancePass.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
1
2018-10-20T08:17:41.000Z
2018-10-20T08:17:41.000Z
#include "MaterialInstancePass.hpp" #include <fstream> namespace sh { MaterialInstanceTextureUnit* MaterialInstancePass::createTextureUnit (const std::string& name) { mTexUnits.push_back(MaterialInstanceTextureUnit(name)); return &mTexUnits.back(); } void MaterialInstancePass::save(std::ofstream &stream) {...
23.111111
95
0.635817
Bodillium
a62b718533981567bed358140f97ff07c7a0c58e
2,634
cpp
C++
src/ScoreEvaluation/VCValueEvaluator.cpp
AhmedSalemElhady/Scrabble-Game.ai
b75e19dac5f3096a82b4cbe54e9c66501b9a051b
[ "MIT" ]
8
2019-02-25T17:32:09.000Z
2022-02-25T04:00:40.000Z
src/ScoreEvaluation/VCValueEvaluator.cpp
AhmedSalemElhady/Scrabble-Game.ai
b75e19dac5f3096a82b4cbe54e9c66501b9a051b
[ "MIT" ]
2
2019-04-20T15:49:47.000Z
2019-04-28T16:48:55.000Z
src/ScoreEvaluation/VCValueEvaluator.cpp
AhmedSalemElhady/Scrabble-Game.ai
b75e19dac5f3096a82b4cbe54e9c66501b9a051b
[ "MIT" ]
9
2019-02-19T18:00:11.000Z
2021-01-26T16:36:26.000Z
#include "VCValueEvaluator.hpp" VCValueEvaluator::VCValueEvaluator(int bagSize, bool isEmptyBoard) : RackLeaveEvaluator(bagSize, isEmptyBoard) { } VCValueEvaluator::VCValueEvaluator(LoadHeuristics *heuristicsValues, std::vector<char> *opponentRack, int bagSize, bool isEmptyBoard) : RackLeaveEvaluator(heuristicsValues,...
30.988235
195
0.572893
AhmedSalemElhady
a62c78e2650b294cdab375d5bf97bbcedaa27e1a
5,818
cpp
C++
Processor/Processor.cpp
Inpher/XorPublic
63f0bc679b618230bb786f0b7dea09bf8bdddd7a
[ "BSD-4-Clause-UC" ]
2
2021-04-24T11:36:29.000Z
2021-04-24T11:43:15.000Z
Processor/Processor.cpp
Inpher/Inpher-SPDZ
63f0bc679b618230bb786f0b7dea09bf8bdddd7a
[ "BSD-4-Clause-UC" ]
2
2017-03-21T20:05:23.000Z
2017-03-27T17:36:55.000Z
Processor/Processor.cpp
Inpher/Inpher-SPDZ
63f0bc679b618230bb786f0b7dea09bf8bdddd7a
[ "BSD-4-Clause-UC" ]
1
2018-10-01T11:48:30.000Z
2018-10-01T11:48:30.000Z
// (C) 2016 University of Bristol. See License.txt #include "Processor/Processor.h" #include "Auth/MAC_Check.h" #include "Auth/fake-stuff.h" Processor::Processor(int thread_num,Data_Files& DataF,Player& P, MAC_Check<gf2n>& MC2,MAC_Check<gfp>& MCp,Machine& machine, int num_regs2,int num_regsp,int nu...
26.089686
106
0.642661
Inpher
a62f25a7d04eb7d3ebfb3348eb9d6b9d81cb56f1
16,297
cpp
C++
gpe/Array.cpp
erli1/GPE-Solver
636fc84bc50144471596ff99cc99edb92a6ef5c1
[ "MIT" ]
8
2015-08-23T09:12:00.000Z
2021-09-10T21:41:27.000Z
gpe/Array.cpp
erli1/GPE-Solver
636fc84bc50144471596ff99cc99edb92a6ef5c1
[ "MIT" ]
1
2018-02-23T19:33:26.000Z
2018-02-24T09:43:18.000Z
gpe/Array.cpp
erli1/GPE-Solver
636fc84bc50144471596ff99cc99edb92a6ef5c1
[ "MIT" ]
5
2015-02-18T17:31:41.000Z
2021-11-09T22:18:45.000Z
#include "Array.h" #include "omp.h" #include <cmath> #include <iostream> #include <cstdlib> #include <fstream> using namespace std; bool Array::_fftwInitialized = false; bool Array::_fftwWisdomLoaded = false; bool Array::_fftwWisdomExported = false; Array::Array(const SimulationParameters & sp) : Field(sp) { ...
25.033794
157
0.483709
erli1
a62fa6151e44bacc43b40a2ec1766e4d7e39cda1
1,094
hpp
C++
lumino/LuminoEngine/include/LuminoEngine/PostEffect/TonePostEffect.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
30
2016-01-24T05:35:45.000Z
2020-03-03T09:54:27.000Z
lumino/LuminoEngine/include/LuminoEngine/PostEffect/TonePostEffect.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoEngine/include/LuminoEngine/PostEffect/TonePostEffect.hpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
5
2016-04-03T02:52:05.000Z
2018-01-02T16:53:06.000Z
#pragma once #include <LuminoGraphics/Animation/EasingFunctions.hpp> #include "PostEffect.hpp" namespace ln { namespace detail { class TonePostEffectInstance; } class TonePostEffect : public PostEffect { public: static Ref<TonePostEffect> create(); // [experimental] void play(const ColorTone& tone, dou...
21.038462
136
0.75777
lriki
a630f575527f809cbe2afc68d4de1a542df4ffc1
194
cpp
C++
Foreign/SonyLE/LevelEditorNativeRendering/LvEdRenderingEngine/GobSystem/MeshComponent.cpp
alexgithubber/XLE-Another-Fork
cdd8682367d9e9fdbdda9f79d72bb5b1499cec46
[ "MIT" ]
796
2015-01-02T12:25:52.000Z
2022-03-22T18:45:03.000Z
Foreign/SonyLE/LevelEditorNativeRendering/LvEdRenderingEngine/GobSystem/MeshComponent.cpp
yorung/XLE
083ce4c9d3fe32002ff5168e571cada2715bece4
[ "MIT" ]
22
2015-02-06T03:41:40.000Z
2020-09-29T19:21:20.000Z
Foreign/SonyLE/LevelEditorNativeRendering/LvEdRenderingEngine/GobSystem/MeshComponent.cpp
yorung/XLE
083ce4c9d3fe32002ff5168e571cada2715bece4
[ "MIT" ]
218
2015-01-01T15:58:25.000Z
2022-02-21T05:17:37.000Z
#include "MeshComponent.h" using namespace LvEdEngine; void MeshComponent::SetRef(const wchar_t* path) { } void MeshComponent::Update(const FrameTime& fr, UpdateTypeEnum updateType) { }
14.923077
74
0.757732
alexgithubber
a63176e26125bff1f6d71a354977b2b764ea837e
1,211
cpp
C++
src/interfaces/DMSUT.cpp
dotweiba/dbt5
39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42
[ "Artistic-1.0" ]
3
2017-08-30T12:57:33.000Z
2022-02-08T14:25:03.000Z
src/interfaces/DMSUT.cpp
dotweiba/dbt5
39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42
[ "Artistic-1.0" ]
1
2020-09-28T05:36:28.000Z
2021-03-15T10:38:29.000Z
src/interfaces/DMSUT.cpp
dotweiba/dbt5
39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42
[ "Artistic-1.0" ]
5
2017-01-18T20:16:06.000Z
2021-03-09T12:23:50.000Z
/* * This file is released under the terms of the Artistic License. Please see * the file LICENSE, included in this package, for details. * * Copyright (C) 2006-2010 Rilson Nascimento * * 12 August 2006 */ #include "DMSUT.h" // constructor CDMSUT::CDMSUT(char *addr, const int iListenPort, ofstream *pflog, o...
24.714286
77
0.765483
dotweiba
a637e5dd24975ed0666d5db68dce64baa2c72e35
19,864
cpp
C++
3rdparty/LibCluster/src/scluster.cpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/LibCluster/src/scluster.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/LibCluster/src/scluster.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
/* * libcluster -- A collection of hierarchical Bayesian clustering algorithms. * Copyright (C) 2013 Daniel M. Steinberg (daniel.m.steinberg@gmail.com) * * This file is part of libcluster. * * libcluster is free software: you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public...
32.778878
80
0.616694
mfkiwl
a63af4b9241f79ff0f7e0899970a1a73062fca59
2,792
cpp
C++
dependencies/mozilla-js/1.8.5/js/src/jsapi-tests/testGCChunkAlloc.cpp
mosaic-cloud/mosaic-distribution-dependencies
87b9fa3dcf24751abcc52c00849b85f4d7e77b16
[ "Apache-2.0" ]
1
2015-04-19T10:49:48.000Z
2015-04-19T10:49:48.000Z
deps/spidermonkey/jsapi-tests/testGCChunkAlloc.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
3
2015-05-15T18:56:54.000Z
2015-05-15T20:58:57.000Z
deps/spidermonkey/jsapi-tests/testGCChunkAlloc.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
null
null
null
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sw=4 et tw=99: * * Any copyright is dedicated to the Public Domain. * http://creativecommons.org/licenses/publicdomain/ * Contributor: Igor Bukanov */ #include "tests.h" #include "jsgcchunk.h" #include "jscntxt.h" /* We...
24.928571
76
0.601361
mosaic-cloud
a63bf17f03622781852d02b01c1d36716300278b
3,220
cpp
C++
lab7/150101033_1.cpp
mayank-myk/Basic-Datastructure-implementations
4bf5f79c2c5ad636fe9d61c0be36a0a3e1238356
[ "MIT" ]
null
null
null
lab7/150101033_1.cpp
mayank-myk/Basic-Datastructure-implementations
4bf5f79c2c5ad636fe9d61c0be36a0a3e1238356
[ "MIT" ]
null
null
null
lab7/150101033_1.cpp
mayank-myk/Basic-Datastructure-implementations
4bf5f79c2c5ad636fe9d61c0be36a0a3e1238356
[ "MIT" ]
null
null
null
//mayank agrawal //150101033 #include <stdio.h> #include <iostream> #include <stdlib.h> using namespace std; struct set{ int size; struct node *head; struct node *tail; }; struct node{ int data; struct set *rep ; struct node *next; }; //initializing struct node abject and struct set object s...
25.555556
105
0.497205
mayank-myk
a63f2c38b77b58a5070fb4d338e1ed514a4d2a91
1,977
tcc
C++
nheqminer/zcash/circuit/utils.tcc
Maroc-OS/nheqminer
b1451be01151d535118900daf3b2309d91401fcb
[ "MIT" ]
4
2017-06-30T08:19:05.000Z
2017-11-26T21:29:35.000Z
nheqminer/zcash/circuit/utils.tcc
Maroc-OS/nheqminer
b1451be01151d535118900daf3b2309d91401fcb
[ "MIT" ]
null
null
null
nheqminer/zcash/circuit/utils.tcc
Maroc-OS/nheqminer
b1451be01151d535118900daf3b2309d91401fcb
[ "MIT" ]
1
2019-07-04T22:36:20.000Z
2019-07-04T22:36:20.000Z
#include "uint252.h" template <typename FieldT> pb_variable_array<FieldT> from_bits(std::vector<bool> bits, pb_variable<FieldT> &ZERO) { pb_variable_array<FieldT> acc; BOOST_FOREACH (bool bit, bits) { acc.emplace_back(bit ? ONE : ZERO); } return acc; } std::vector<bool> tra...
27.458333
79
0.686394
Maroc-OS
a6401c29d834b945c4b36ef796c6cb507c8f0726
18,322
cpp
C++
src/dso_helpers/SODSOSystemOptimize.cpp
IRVLab/scale_optimization
3eeb9cf8231e8336cea34cb12f1a87d04fcfbd64
[ "Unlicense" ]
38
2020-07-23T04:33:41.000Z
2022-03-07T03:41:38.000Z
src/dso_helpers/SODSOSystemOptimize.cpp
IRVLab/scale_optimization
3eeb9cf8231e8336cea34cb12f1a87d04fcfbd64
[ "Unlicense" ]
5
2019-12-21T06:25:35.000Z
2020-10-23T06:25:12.000Z
src/dso_helpers/SODSOSystemOptimize.cpp
IRVLab/scale_optimization
3eeb9cf8231e8336cea34cb12f1a87d04fcfbd64
[ "Unlicense" ]
10
2020-10-19T01:00:43.000Z
2022-02-21T03:57:57.000Z
#include "SODSOSystem.h" #include "FullSystem/ResidualProjections.h" #include "IOWrapper/ImageDisplay.h" #include "stdio.h" #include "util/globalCalib.h" #include "util/globalFuncs.h" #include <Eigen/Eigenvalues> #include <Eigen/LU> #include <Eigen/SVD> #include <algorithm> #include "OptimizationBackend/EnergyFunctio...
32.200351
80
0.608831
IRVLab
a642cde904b2653f803d611e619385f7517164af
6,022
cpp
C++
src/signal_handler.cpp
MyersResearchGroup/ATACS
d6eeec63fbc53794f0376592e7357ad08a7dddd1
[ "Apache-2.0" ]
6
2017-03-10T14:55:45.000Z
2021-09-10T10:44:21.000Z
src/signal_handler.cpp
MyersResearchGroup/ATACS
d6eeec63fbc53794f0376592e7357ad08a7dddd1
[ "Apache-2.0" ]
77
2016-11-07T08:44:57.000Z
2018-07-11T03:19:13.000Z
src/signal_handler.cpp
MyersResearchGroup/ATACS
d6eeec63fbc53794f0376592e7357ad08a7dddd1
[ "Apache-2.0" ]
1
2021-09-10T10:44:22.000Z
2021-09-10T10:44:22.000Z
/////////////////////////////////////////////////////////////////////////////// // @name Timed Asynchronous Circuit Optimization // @version 0.1 alpha // // (c)opyright 1997 by Eric G. Mercer // // @author Eric G. Mercer // // Permission to use, copy, modify and/or distribute, but not sell, this ...
48.564516
79
0.505812
MyersResearchGroup
a643ec41c2ff3108dce42925e50ea6574d7938e2
49,919
cpp
C++
src/render/IrradianceCube.cpp
liuhongyi0101/SaturnRender
c6ec7ee39ef14749b09be4ae47f76613c71533cf
[ "MIT" ]
2
2019-12-24T04:00:36.000Z
2022-01-26T02:44:04.000Z
src/render/IrradianceCube.cpp
liuhongyi0101/SaturnRender
c6ec7ee39ef14749b09be4ae47f76613c71533cf
[ "MIT" ]
null
null
null
src/render/IrradianceCube.cpp
liuhongyi0101/SaturnRender
c6ec7ee39ef14749b09be4ae47f76613c71533cf
[ "MIT" ]
2
2020-09-26T04:19:40.000Z
2021-02-19T07:24:57.000Z
#include "renderer/IrradianceCube.h" #include "utils/loadshader.h" IrradianceCube::IrradianceCube(vks::VulkanDevice *vulkanDevice, VkCommandPool &cmdPool, std::shared_ptr<VertexDescriptions> &vdo_, vks::Model &skybox, VkQueue &queue) { this->vulkanDevice = vulkanDevice; this->cmdPool = cmdPool; this->vdo_ = vdo_; t...
47.678128
191
0.809131
liuhongyi0101
a644162d87e582ffc312ceca6f64e1dcc19b38cb
2,547
cpp
C++
Source/ThirdParty/strtk/strtk/strtk_random_line.cpp
morrow1nd/ToyUtility
0df3364a516de7a396b1cbb7975263506f41121d
[ "MIT" ]
null
null
null
Source/ThirdParty/strtk/strtk/strtk_random_line.cpp
morrow1nd/ToyUtility
0df3364a516de7a396b1cbb7975263506f41121d
[ "MIT" ]
null
null
null
Source/ThirdParty/strtk/strtk/strtk_random_line.cpp
morrow1nd/ToyUtility
0df3364a516de7a396b1cbb7975263506f41121d
[ "MIT" ]
null
null
null
/* ***************************************************************** * String Toolkit Library * * * * Random Line Selection * * Author: Arash Partow (2002-2018) ...
28.3
88
0.506086
morrow1nd
a64481e6bc733eaebbb065b5395c64d06c293ac8
5,122
cpp
C++
tileconv/tilethreadpool_win32.cpp
Argent77/tileconv
b1b4479e7223d7d3cc0ffe17b86ada60f7fd0b0e
[ "MIT" ]
1
2015-03-03T21:30:28.000Z
2015-03-03T21:30:28.000Z
tileconv/tilethreadpool_win32.cpp
InfinityTools/tileconv
b1b4479e7223d7d3cc0ffe17b86ada60f7fd0b0e
[ "MIT" ]
1
2015-05-11T09:26:14.000Z
2015-05-11T09:26:14.000Z
tileconv/tilethreadpool_win32.cpp
Argent77/tileconv
b1b4479e7223d7d3cc0ffe17b86ada60f7fd0b0e
[ "MIT" ]
1
2022-02-16T17:47:50.000Z
2022-02-16T17:47:50.000Z
/* Copyright (c) 2014 Argent77 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, sublic...
28.142857
97
0.725303
Argent77
a64663dbf8ae42e897766e4041e3c73ef67e2b08
720
hpp
C++
test/AccuracyOutputCountTest.hpp
glabmoris/SBET-decoder
17bddc8017d30be8ab90324f2f1b92417cddef87
[ "MIT" ]
null
null
null
test/AccuracyOutputCountTest.hpp
glabmoris/SBET-decoder
17bddc8017d30be8ab90324f2f1b92417cddef87
[ "MIT" ]
null
null
null
test/AccuracyOutputCountTest.hpp
glabmoris/SBET-decoder
17bddc8017d30be8ab90324f2f1b92417cddef87
[ "MIT" ]
null
null
null
/* * Copyright 2017 © Centre Interdisciplinaire de développement en Cartographie des Océans (CIDCO), Tous droits réservés */ /* * File: AccuracyOutputCountTest.hpp * Author: Hugo Valcourt * * Created on November 9, 2018 */ #include "catch.hpp" #include "../src/AccuracyProcessor.hpp" //A simple printer clas...
18.947368
119
0.686111
glabmoris
a6492cd038b8462ce1d77d5d4e1154f9c8b953ff
5,608
cpp
C++
lib/data.cpp
bkj/delphi
14972e783551029ddf7db83961b73cf99c4c48e9
[ "Apache-2.0" ]
null
null
null
lib/data.cpp
bkj/delphi
14972e783551029ddf7db83961b73cf99c4c48e9
[ "Apache-2.0" ]
null
null
null
lib/data.cpp
bkj/delphi
14972e783551029ddf7db83961b73cf99c4c48e9
[ "Apache-2.0" ]
null
null
null
#include "data.hpp" #include "utils.hpp" #include <fmt/format.h> #include <sqlite3.h> #include <chrono> #include <range/v3/all.hpp> #include <thread> using namespace std; vector<double> get_observations_for(string indicator, string country, strin...
28.907216
80
0.570078
bkj
a64bf3427ecce34d37cc506c30e5465e6f223b8f
2,706
cpp
C++
src/frame/frame_list.cpp
monopoldesign/M5Paper
27c49dab9340a82d7bb6748383217e80f9b2ac31
[ "MIT" ]
1
2021-10-10T09:45:36.000Z
2021-10-10T09:45:36.000Z
src/frame/frame_list.cpp
monopoldesign/M5Paper
27c49dab9340a82d7bb6748383217e80f9b2ac31
[ "MIT" ]
null
null
null
src/frame/frame_list.cpp
monopoldesign/M5Paper
27c49dab9340a82d7bb6748383217e80f9b2ac31
[ "MIT" ]
null
null
null
#include "frame_list.h" #include "frame_list_menu.h" #include "../epdgui/epdgui_button.h" Frame_List::Frame_List(bool isHorizontal) : Frame_Base() { _frame_name = "Frame_List"; const uint16_t kKeyBaseY = 628; key_run1 = new EPDGUI_Button("RUN1", 4, kKeyBaseY, 250, 52); key_run2 = new EPDGUI_Button("RUN2", 286...
23.736842
77
0.708795
monopoldesign
a64cdf35625182747eace5440734c4bc9171c2d9
27,773
cpp
C++
crnlib/crn_ktx_texture.cpp
bmorel/crunch
78b8a3f290e417f39cdda5d2b1355958303cfbdd
[ "Zlib" ]
null
null
null
crnlib/crn_ktx_texture.cpp
bmorel/crunch
78b8a3f290e417f39cdda5d2b1355958303cfbdd
[ "Zlib" ]
null
null
null
crnlib/crn_ktx_texture.cpp
bmorel/crunch
78b8a3f290e417f39cdda5d2b1355958303cfbdd
[ "Zlib" ]
null
null
null
// File: crn_ktx_texture.cpp #include "crn_core.h" #include "crn_ktx_texture.h" #include "crn_console.h" // Set #if CRNLIB_KTX_PVRTEX_WORKAROUNDS to 1 to enable various workarounds for oddball KTX files written by PVRTexTool. #define CRNLIB_KTX_PVRTEX_WORKAROUNDS 1 namespace crnlib { const uint8 s_ktx_file_i...
33.261078
149
0.666259
bmorel
a64d3be7ac72675ba9c8e33676a3c3756eae54cb
1,128
hpp
C++
AbstractFactory.hpp
ValtoLibraries/PUtils
f30ebf21416654743ad2a05b14974acd27257da8
[ "MIT" ]
null
null
null
AbstractFactory.hpp
ValtoLibraries/PUtils
f30ebf21416654743ad2a05b14974acd27257da8
[ "MIT" ]
null
null
null
AbstractFactory.hpp
ValtoLibraries/PUtils
f30ebf21416654743ad2a05b14974acd27257da8
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <tuple> #include "meta/type.hpp" #include "meta/GenLinearHierarchy.hpp" #include "runTests.hpp" namespace putils { // Abstract Factory inherits from this for each type in TList template<typename T> class AbstractFactoryUnit { // Create a T public: ...
30.486486
93
0.654255
ValtoLibraries
a64e43083ff408bf380c68a25f3c9c8ab5a75320
1,193
hh
C++
Exos/Serie04/poisson/simulation.hh
vkeller/math-454
0bf3a81214f094dbddec868d3d133986b31f4b01
[ "BSD-2-Clause" ]
1
2021-05-19T13:31:49.000Z
2021-05-19T13:31:49.000Z
Exos/Serie05/poisson/simulation.hh
vkeller/math-454
0bf3a81214f094dbddec868d3d133986b31f4b01
[ "BSD-2-Clause" ]
null
null
null
Exos/Serie05/poisson/simulation.hh
vkeller/math-454
0bf3a81214f094dbddec868d3d133986b31f4b01
[ "BSD-2-Clause" ]
null
null
null
#ifndef SIMULATION_HH #define SIMULATION_HH /* -------------------------------------------------------------------------- */ #include "double_buffer.hh" #include "dumpers.hh" #include "grid.hh" /* -------------------------------------------------------------------------- */ #include <tuple> /* ------------------------...
22.509434
80
0.511316
vkeller
a64e65567c46b7fb53a5795b932de4def851d6a5
3,909
hpp
C++
C64/src/Emulator/UnitTest/TestEmulator.hpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
1
2015-03-26T02:35:13.000Z
2015-03-26T02:35:13.000Z
C64/src/Emulator/UnitTest/TestEmulator.hpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
null
null
null
C64/src/Emulator/UnitTest/TestEmulator.hpp
vividos/OldStuff
dbfcce086d1101b576d99d25ef051efbd8dd117c
[ "BSD-2-Clause" ]
null
null
null
// // Emulator - Simple C64 emulator // Copyright (C) 2003-2016 Michael Fink // /// \file TestEmulator.hpp Emulator implementation for unit tests // #pragma once // includes #include "Machine.hpp" #include "PC64File.hpp" #include "PETASCIIString.hpp" /// Emulator for unit tests class TestEmulator : public C64::Mac...
25.383117
93
0.585828
vividos
a65080732f7156bd13a0c3cf3b38673cade613ce
50,152
cpp
C++
tests/auto/datasync/TestAppServer/tst_appserver.cpp
wangyangyangisme/QtDataSync
0cc47ca4e8aeee2683aae52662c40f1a7c7b1d93
[ "BSD-3-Clause" ]
1
2022-02-22T07:18:33.000Z
2022-02-22T07:18:33.000Z
tests/auto/datasync/TestAppServer/tst_appserver.cpp
wyyrepo/QtDataSync
0cc47ca4e8aeee2683aae52662c40f1a7c7b1d93
[ "BSD-3-Clause" ]
null
null
null
tests/auto/datasync/TestAppServer/tst_appserver.cpp
wyyrepo/QtDataSync
0cc47ca4e8aeee2683aae52662c40f1a7c7b1d93
[ "BSD-3-Clause" ]
1
2018-12-20T04:31:16.000Z
2018-12-20T04:31:16.000Z
#include <QString> #include <QtTest> #include <QCoreApplication> #include <QProcess> #include <testlib.h> #include <mockclient.h> #ifdef Q_OS_UNIX #include <sys/types.h> #include <signal.h> #elif Q_OS_WIN #include <qt_windows.h> #endif #include <QtDataSync/private/identifymessage_p.h> #include <QtDataSync/private/reg...
26.819251
138
0.695207
wangyangyangisme
a650c158002bc3fd7675ae8d83eac8d5ca2afca2
2,402
cpp
C++
app/handlers/normalizer.cpp
freelandy/RobustPalmRoi
c94ec3c2a9d14ffe4d5f544796abf3754764b809
[ "MIT" ]
1
2019-05-10T08:46:35.000Z
2019-05-10T08:46:35.000Z
app/handlers/normalizer.cpp
freelandy/RobustPalmRoi
c94ec3c2a9d14ffe4d5f544796abf3754764b809
[ "MIT" ]
null
null
null
app/handlers/normalizer.cpp
freelandy/RobustPalmRoi
c94ec3c2a9d14ffe4d5f544796abf3754764b809
[ "MIT" ]
null
null
null
// Copyright (c) 2018 leosocy. All rights reserved. // Use of this source code is governed by a MIT-style license // that can be found in the LICENSE file. #include "handlers/normalizer.h" namespace rpr { Status OrigNormalizer::Init(const YAML::Node& parameters) { try { scaling_= parameters["scaling"].IsNull()...
28.258824
103
0.641965
freelandy
a650c9e3aafddc87acc317170cd2c44a67081678
2,180
hpp
C++
p3iv_utils/include/p3iv_utils/finite_differences.hpp
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
4
2021-07-27T06:56:22.000Z
2022-03-22T11:21:30.000Z
p3iv_utils/include/p3iv_utils/finite_differences.hpp
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
null
null
null
p3iv_utils/include/p3iv_utils/finite_differences.hpp
fzi-forschungszentrum-informatik/P3IV
51784e6dc03dcaa0ad58a5078475fa4daec774bd
[ "BSD-3-Clause" ]
1
2021-10-10T01:56:44.000Z
2021-10-10T01:56:44.000Z
/* * This file is part of the Interpolated Polyline (https://github.com/fzi-forschungszentrum-informatik/P3IV), * copyright by FZI Forschungszentrum Informatik, licensed under the BSD-3 license (see LICENSE file in main directory) */ #pragma once #include <cmath> #include <vector> namespace p3iv_utils { templat...
35.737705
119
0.655505
fzi-forschungszentrum-informatik
a650fe3a45c990c0b193fb6ca4bfad93c2741057
6,920
cpp
C++
remodet_repository_wdh_part/src/caffe/tracker/fe_roi_maker.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/tracker/fe_roi_maker.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/tracker/fe_roi_maker.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#include "caffe/tracker/fe_roi_maker.hpp" namespace caffe { template <typename Dtype> FERoiMaker<Dtype>::FERoiMaker(const std::string& network_proto, const std::string& caffe_model, const int gpu_id, const std::string& features,...
39.542857
103
0.656936
UrwLee
a6563881b008a1f94b1e58f6854fac0b380d3ebb
65,831
cc
C++
graph/igraph-0.6/src/bliss_graph.cc
FlyerMaxwell/Bubble
70ca988bca3a5debce5d9c61f203b08005bdefaf
[ "MIT" ]
3
2017-09-05T03:06:12.000Z
2019-04-28T13:17:11.000Z
graph/igraph-0.6/src/bliss_graph.cc
FlyerMaxwell/Bubble
70ca988bca3a5debce5d9c61f203b08005bdefaf
[ "MIT" ]
null
null
null
graph/igraph-0.6/src/bliss_graph.cc
FlyerMaxwell/Bubble
70ca988bca3a5debce5d9c61f203b08005bdefaf
[ "MIT" ]
1
2019-03-05T06:24:02.000Z
2019-03-05T06:24:02.000Z
/* Copyright (C) 2003-2006 Tommi Junttila This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; wit...
26.353483
124
0.626589
FlyerMaxwell
a659a259e67a8172c5a4ac3047508f60291a54f2
433
cpp
C++
Ex4_3_master.cpp
DF4IAH/OpenMP
9eb4c429d3d9da799fe0a5767d91b2c654358bdf
[ "MIT" ]
null
null
null
Ex4_3_master.cpp
DF4IAH/OpenMP
9eb4c429d3d9da799fe0a5767d91b2c654358bdf
[ "MIT" ]
null
null
null
Ex4_3_master.cpp
DF4IAH/OpenMP
9eb4c429d3d9da799fe0a5767d91b2c654358bdf
[ "MIT" ]
null
null
null
#include <stdio.h> #include "omp.h" const int NUM_SLICES = 16; const int NUM_THREADS = 4; int main(void) { long id; omp_set_num_threads(NUM_THREADS); #pragma omp parallel { id = omp_get_thread_num(); #pragma omp master { id += 100; printf("master: id = %ld\r\n", id); } //#pragma omp barrier...
13.121212
38
0.591224
DF4IAH
a65adb063771c6bfc88c0a3bd474e16cb971570e
3,065
cpp
C++
03_elementaryDataStructure/stack/cpp/StackLinkedListMain.cpp
haxpor/algo-cpp-c
5c88523072701765ad126d0a0946e2e76a09f3bb
[ "MIT" ]
1
2019-11-17T09:03:30.000Z
2019-11-17T09:03:30.000Z
03_elementaryDataStructure/stack/cpp/StackLinkedListMain.cpp
haxpor/algocpp-study
5c88523072701765ad126d0a0946e2e76a09f3bb
[ "MIT" ]
null
null
null
03_elementaryDataStructure/stack/cpp/StackLinkedListMain.cpp
haxpor/algocpp-study
5c88523072701765ad126d0a0946e2e76a09f3bb
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include "StackLinkedList.h" /** compile-time logging functions for convenient **/ template<typename Arg> constexpr void LOG(Arg && arg) { std::cout << arg << "\n"; } template<typename Arg1, typename Arg2> constexpr void LOG2(Arg1 && arg1, Arg2 && arg2) { std::cout << ar...
24.133858
79
0.511256
haxpor
a65b6fcd8ed428a1a9afe0fe9ae9b161228354b7
966
cpp
C++
UESTC/2505.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
UESTC/2505.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
UESTC/2505.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <bits/stdc++.h> using namespace std; unordered_map <long long,long long> mp; int T,a,m,b; void exgcd(long long a,long long b,long long &x,long long &y) { if (!b){x=1;y=0;return ;} exgcd(b,a%b,y,x);y-=x*(a/b);return ; } inline long long inv(long long a,long long m) { long long x,y;exgcd(a,m,x,y); return ...
20.125
73
0.569358
HeRaNO
a65eb8d53a4509a7318b92b9a0b2fc2a257836b9
8,704
cpp
C++
src/rviz/view_controller.cpp
fftn/rviz
a9de85555b040f625b0bac5d7c3eba3be9e8fa42
[ "BSD-3-Clause-Clear" ]
null
null
null
src/rviz/view_controller.cpp
fftn/rviz
a9de85555b040f625b0bac5d7c3eba3be9e8fa42
[ "BSD-3-Clause-Clear" ]
null
null
null
src/rviz/view_controller.cpp
fftn/rviz
a9de85555b040f625b0bac5d7c3eba3be9e8fa42
[ "BSD-3-Clause-Clear" ]
null
null
null
/* * Copyright (c) 2012, Willow Garage, 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, this l...
31.422383
105
0.683364
fftn
a661edb27e91f66dde83c0237b810901875bc92b
16,823
cpp
C++
bbs/diredit.cpp
uriel1998/wwiv
623cca6862540a5dc4ce355d7966766bf5d0fd0d
[ "Apache-2.0" ]
null
null
null
bbs/diredit.cpp
uriel1998/wwiv
623cca6862540a5dc4ce355d7966766bf5d0fd0d
[ "Apache-2.0" ]
null
null
null
bbs/diredit.cpp
uriel1998/wwiv
623cca6862540a5dc4ce355d7966766bf5d0fd0d
[ "Apache-2.0" ]
null
null
null
/**************************************************************************/ /* */ /* WWIV Version 5.x */ /* Copyright (C)1998-2020, WWIV Software Services */ /* ...
30.257194
118
0.479641
uriel1998
a666043a1d230cf277f15f679466ecd1536a973c
28,089
cc
C++
chrome/browser/about_flags_unittest.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-08-13T21:04:58.000Z
2015-08-13T21:04:58.000Z
chrome/browser/about_flags_unittest.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/about_flags_unittest.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T06:34:36.000Z
2020-11-04T06:34:36.000Z
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdint.h> #include "base/files/file_path.h" #include "base/memory/scoped_vector.h" #include "base/path_service.h" #include "base/prefs/pref...
36.243871
80
0.699776
Fusion-Rom
a66a3c4a91702d798805d30852d8385fdb0895a6
5,316
cpp
C++
tide/master/rest/HtmlContent.cpp
BlueBrain/Tide
01e0518117509eaa0ccd9d79f067f385b641247c
[ "BSD-2-Clause" ]
47
2016-07-12T02:00:11.000Z
2021-07-06T17:50:53.000Z
tide/master/rest/HtmlContent.cpp
BlueBrain/Tide
01e0518117509eaa0ccd9d79f067f385b641247c
[ "BSD-2-Clause" ]
135
2016-03-24T14:02:26.000Z
2019-10-25T09:43:59.000Z
tide/master/rest/HtmlContent.cpp
BlueBrain/Tide
01e0518117509eaa0ccd9d79f067f385b641247c
[ "BSD-2-Clause" ]
17
2016-03-23T13:34:48.000Z
2022-03-21T03:21:54.000Z
/*********************************************************************/ /* Copyright (c) 2017, EPFL/Blue Brain Project */ /* Pawel Podhajski <pawel.podhajski@epfl.ch> */ /* Raphael Dumusc <raphael.dumusc@epfl.ch> */ /* All rights reserved. ...
35.44
71
0.48909
BlueBrain
a66b46c629e4b99993025f7d654d4477f0eaddf1
1,485
cpp
C++
chp3_oscillation/NOC_3_10_PendulumExample/src/ofApp.cpp
ikbenmacje/NatureOfCode
98692398b0458765a6e77ae6f652392f99de050f
[ "MIT" ]
null
null
null
chp3_oscillation/NOC_3_10_PendulumExample/src/ofApp.cpp
ikbenmacje/NatureOfCode
98692398b0458765a6e77ae6f652392f99de050f
[ "MIT" ]
null
null
null
chp3_oscillation/NOC_3_10_PendulumExample/src/ofApp.cpp
ikbenmacje/NatureOfCode
98692398b0458765a6e77ae6f652392f99de050f
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofSetFrameRate(60); p = new Pendulum(ofVec2f(ofGetWidth()/2,0),175); } //-------------------------------------------------------------- void ofApp::update(){ } //------------------------------------...
22.5
64
0.307071
ikbenmacje
a66cbc27046f4d037707279a720e14667f19305b
4,013
cpp
C++
catboost/libs/data_new/cat_feature_perfect_hash.cpp
EkaterinaPogodina/catboost
4628e86e978da2ec5e4d42f6b8d05e0b5e8aab30
[ "Apache-2.0" ]
2
2019-07-10T10:49:09.000Z
2020-06-19T11:40:04.000Z
catboost/libs/data_new/cat_feature_perfect_hash.cpp
EkaterinaPogodina/catboost
4628e86e978da2ec5e4d42f6b8d05e0b5e8aab30
[ "Apache-2.0" ]
null
null
null
catboost/libs/data_new/cat_feature_perfect_hash.cpp
EkaterinaPogodina/catboost
4628e86e978da2ec5e4d42f6b8d05e0b5e8aab30
[ "Apache-2.0" ]
null
null
null
#include "cat_feature_perfect_hash.h" #include <util/generic/xrange.h> #include <util/stream/output.h> template <> void Out<NCB::TCatFeatureUniqueValuesCounts>(IOutputStream& out, NCB::TCatFeatureUniqueValuesCounts counts) { out << counts.OnLearnOnly << ',' << counts.OnAll; } template <> void Out<NCB::TValueWi...
30.869231
109
0.59382
EkaterinaPogodina
a671545285703c2885d3d08de0ed53d466aa666c
2,203
cpp
C++
SGIPC practice contests/stl sgipc cntst/New folder/New folder/New folder/New folder/Codeforces Round #478 (Div. 2)A.cpp
YaminArafat/Vjudge
d8d2afc4b1a0fbada46d75cb080efc37965dfe9d
[ "Apache-2.0" ]
null
null
null
SGIPC practice contests/stl sgipc cntst/New folder/New folder/New folder/New folder/Codeforces Round #478 (Div. 2)A.cpp
YaminArafat/Vjudge
d8d2afc4b1a0fbada46d75cb080efc37965dfe9d
[ "Apache-2.0" ]
null
null
null
SGIPC practice contests/stl sgipc cntst/New folder/New folder/New folder/New folder/Codeforces Round #478 (Div. 2)A.cpp
YaminArafat/Vjudge
d8d2afc4b1a0fbada46d75cb080efc37965dfe9d
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool flag2[100000]; //map<string,bool>mp2; int main() { int n,ans=0; //cout<<'a'-0<<endl; scanf("%d",&n); string str; //vector<string>vec; map<string,int>mp; for(int i=0; i<n; i++) { cin>>str; sort(str.begin(),str.end()); ...
20.588785
68
0.312301
YaminArafat
a6781fb6c2cb7877b84ebede973c7c65b071d2e7
7,998
cpp
C++
VideoGameAssistants/PathPix/Path.cpp
chiendarrendor/AlbertsMisc
f017b29f65d1d47eb22db66dff0b6d2145794fc8
[ "MIT" ]
null
null
null
VideoGameAssistants/PathPix/Path.cpp
chiendarrendor/AlbertsMisc
f017b29f65d1d47eb22db66dff0b6d2145794fc8
[ "MIT" ]
null
null
null
VideoGameAssistants/PathPix/Path.cpp
chiendarrendor/AlbertsMisc
f017b29f65d1d47eb22db66dff0b6d2145794fc8
[ "MIT" ]
null
null
null
#include "Path.hpp" #include <iostream> #include "Board.hpp" Path::Path(char i_color,int i_length,int i_x,int i_y) : m_Color(i_color), m_Length(i_length), m_IsValid(true), m_IsDone(i_length == 1), m_NumWiggles(0), m_PathList() { m_PathList.push_back(std::pair<int,int>(i_x,i_y)); m_OriginalCell = m_Pat...
26.929293
96
0.588522
chiendarrendor
a67956139c4a2dad295eea2905a68856f7235af6
1,371
hpp
C++
ext/kintinuous/kfusion/include/kfusion/LVRPipeline.hpp
uos/lvr
9bb03a30441b027c39db967318877e03725112d5
[ "BSD-3-Clause" ]
38
2019-06-19T15:10:35.000Z
2022-02-16T03:08:24.000Z
ext/kintinuous/kfusion/include/kfusion/LVRPipeline.hpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
9
2019-06-19T16:19:51.000Z
2021-09-17T08:31:25.000Z
ext/kintinuous/kfusion/include/kfusion/LVRPipeline.hpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
13
2019-04-16T11:50:32.000Z
2020-11-26T07:47:44.000Z
#ifndef LVR2_PIPELINE_HPP_ #define LVR2_PIPELINE_HPP_ #include <lvr/reconstruction/FastReconstruction.hpp> #include <lvr/reconstruction/TSDFGrid.hpp> #include <lvr/reconstruction/PointsetSurface.hpp> #include <lvr/reconstruction/FastBox.hpp> #include <lvr/io/PointBuffer.hpp> #include <lvr/io/DataStruct.hpp> #include <...
23.637931
62
0.760759
uos
a679fae8c6775e32ac4f0f9439e1c9b4f12b3847
5,250
cpp
C++
projects/vs2019/mfc/iutest_mfc_sample.cpp
dsyoi/iutest
b7b08c6ac4c75f98f87aa5756244afc93e4b624f
[ "BSD-3-Clause" ]
58
2015-07-20T04:30:18.000Z
2021-12-28T17:18:00.000Z
projects/vs2019/mfc/iutest_mfc_sample.cpp
dsyoi/iutest
b7b08c6ac4c75f98f87aa5756244afc93e4b624f
[ "BSD-3-Clause" ]
467
2015-05-07T10:42:47.000Z
2022-03-26T04:01:00.000Z
projects/vs2019/mfc/iutest_mfc_sample.cpp
dsyoi/iutest
b7b08c6ac4c75f98f87aa5756244afc93e4b624f
[ "BSD-3-Clause" ]
13
2015-10-05T08:30:27.000Z
2021-04-30T18:56:03.000Z
// iutest_mfc_sample.cpp : コンソール アプリケーションのエントリ ポイントを定義します。 // #include "stdafx.h" #include "iutest_mfc_sample.h" #include "iutest.hpp" #include <map> #ifdef _DEBUG #define new DEBUG_NEW #endif // 唯一のアプリケーション オブジェクトです。 CWinApp theApp; using namespace std; int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) { ...
27.202073
103
0.640381
dsyoi
a67dc4421293d8499c9fc25db09eaba3ced3da83
656
cpp
C++
Demos/bitmap_demo_importexport.cpp
mstniy/MyBMPLib
d42f0d09f30a450a5beb04f83d24b36f6a9ee66a
[ "Apache-2.0" ]
null
null
null
Demos/bitmap_demo_importexport.cpp
mstniy/MyBMPLib
d42f0d09f30a450a5beb04f83d24b36f6a9ee66a
[ "Apache-2.0" ]
null
null
null
Demos/bitmap_demo_importexport.cpp
mstniy/MyBMPLib
d42f0d09f30a450a5beb04f83d24b36f6a9ee66a
[ "Apache-2.0" ]
null
null
null
#include<windows.h> #include "..\bitmap.h" #include<string> #include<iostream> #include<stdio.h> using namespace std; void Fail(const char *funcname,HWND hwnd=NULL) { DWORD error=GetLastError(); printf("%s failed (%d)\n",funcname,error); FlushConsoleInputBuffer(GetStdHandle(STD_INPUT_HANDLE)); getchar();...
23.428571
58
0.684451
mstniy
a67f0d4077a9ccfdeb0fe14925f327e622227730
2,720
cpp
C++
oneflow/user/ops/gpt_data_loader_op.cpp
wangyuyue/oneflow
0a71c22fe8355392acc8dc0e301589faee4c4832
[ "Apache-2.0" ]
3,285
2020-07-31T05:51:22.000Z
2022-03-31T15:20:16.000Z
oneflow/user/ops/gpt_data_loader_op.cpp
wangyuyue/oneflow
0a71c22fe8355392acc8dc0e301589faee4c4832
[ "Apache-2.0" ]
2,417
2020-07-31T06:28:58.000Z
2022-03-31T23:04:14.000Z
oneflow/user/ops/gpt_data_loader_op.cpp
wangyuyue/oneflow
0a71c22fe8355392acc8dc0e301589faee4c4832
[ "Apache-2.0" ]
520
2020-07-31T05:52:42.000Z
2022-03-29T02:38:11.000Z
/* Copyright 2020 The OneFlow 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 agre...
41.846154
97
0.6875
wangyuyue
a67fdd8870c208c19c891fc122c70fc83865786b
1,583
cpp
C++
Plugins/Tweaks/ItemChargesCost.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
111
2018-01-16T18:49:19.000Z
2022-03-13T12:33:54.000Z
Plugins/Tweaks/ItemChargesCost.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
636
2018-01-17T10:05:31.000Z
2022-03-28T20:06:03.000Z
Plugins/Tweaks/ItemChargesCost.cpp
summonFox/unified
47ab7d051fe52c26e2928b569e9fe7aec5aa8705
[ "MIT" ]
110
2018-01-16T19:05:54.000Z
2022-03-28T03:44:16.000Z
#include "nwnx.hpp" #include "API/CNWItemProperty.hpp" #include "API/CNWRules.hpp" #include "API/CNWSItem.hpp" namespace Tweaks { using namespace NWNXLib; using namespace NWNXLib::API; static int s_ChargesCostBehavior; void ItemChargesCost() __attribute__((constructor)); void ItemChargesCost() { s_ChargesCos...
26.830508
130
0.587492
summonFox
a6804e9c6a6a50f611b51c279b00e6de74ad18ea
1,136
cpp
C++
codes/CodeForces/Round #224/cf394C.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/CodeForces/Round #224/cf394C.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/CodeForces/Round #224/cf394C.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <string.h> const int N = 1e3+10; const int M = 4; const char sign[M][M] = { "00", "01", "10", "11"}; int n, m, c[M], g[N][N]; void init() { char str[M]; memset(g, 0, sizeof(g)); memset(c, 0, sizeof(c)); scanf("%d%d", &n, &m); for (int i = 0; i < n; i++) { for (int j = 0; j < m; j+...
16.705882
59
0.37412
JeraKrs
a68226e4a30b9061509eba4a2e909e98f5380abf
1,920
cpp
C++
src/snail/detail/sdl_impl.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/snail/detail/sdl_impl.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/snail/detail/sdl_impl.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
#ifdef ANDROID #include "sdl.hpp" #endif namespace elona { namespace snail { namespace detail { void enforce_sdl(int result) { if (result != 0) { throw SDLError{::SDL_GetError()}; } } void enforce_ttf(int result) { if (result != 0) { throw SDLError{::TTF_GetError()}; } } ...
12.631579
71
0.610938
XrosFade
a6874da4708fe9f3e9010e7cc5f26a55dc68045e
28,009
cc
C++
test/retic/fddTest.cc
enotnadoske/drunos
79b72078e613c9c5d4e5c37721b726ca3374299b
[ "Apache-2.0" ]
9
2019-04-04T18:03:36.000Z
2019-05-03T23:48:59.000Z
test/retic/fddTest.cc
enotnadoske/drunos
79b72078e613c9c5d4e5c37721b726ca3374299b
[ "Apache-2.0" ]
16
2019-04-04T12:22:19.000Z
2019-04-09T19:04:42.000Z
test/retic/fddTest.cc
enotnadoske/drunos
79b72078e613c9c5d4e5c37721b726ca3374299b
[ "Apache-2.0" ]
2
2019-10-11T14:17:26.000Z
2022-03-15T10:06:08.000Z
#include <gtest/gtest.h> #include <gmock/gmock.h> #include "common.hh" #include "retic/fdd.hh" #include "retic/fdd_compiler.hh" #include "retic/policies.hh" #include "retic/traverse_fdd.hh" #include "oxm/openflow_basic.hh" using namespace runos; using namespace retic; using namespace ::testing; using sec = std::chr...
31.260045
132
0.529009
enotnadoske
a687955d189ad55a59b1bc5a58fa1ecff1fc3a04
9,549
cpp
C++
src/lib/object_store/test/ObjectStoreTests.cpp
gecheim/SoftHSMv2
42fbff713e77afe27d7b466b24cfad9dea69df1f
[ "BSD-2-Clause" ]
486
2015-01-04T05:57:25.000Z
2022-03-30T02:40:52.000Z
src/lib/object_store/test/ObjectStoreTests.cpp
gecheim/SoftHSMv2
42fbff713e77afe27d7b466b24cfad9dea69df1f
[ "BSD-2-Clause" ]
486
2015-01-12T08:51:33.000Z
2022-03-22T09:06:15.000Z
src/lib/object_store/test/ObjectStoreTests.cpp
gecheim/SoftHSMv2
42fbff713e77afe27d7b466b24cfad9dea69df1f
[ "BSD-2-Clause" ]
274
2015-01-21T21:41:45.000Z
2022-03-30T15:05:54.000Z
/* * Copyright (c) 2010 SURFnet bv * 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 * notice, this list of condition...
34.225806
114
0.749084
gecheim
a68bd737c94e49440b86f9c0a481d1e3b408fdb3
574
hpp
C++
lab3/11_waterconsumer/waterconsumer.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
2
2015-10-08T15:07:07.000Z
2017-09-17T10:08:36.000Z
lab3/11_waterconsumer/waterconsumer.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
null
null
null
lab3/11_waterconsumer/waterconsumer.hpp
zaychenko-sergei/oop-ki13
97405077de1f66104ec95c1bb2785bc18445532d
[ "MIT" ]
null
null
null
// (C) 2013-2014, Sergei Zaychenko, KNURE, Kharkiv, Ukraine #ifndef _WATERCONSUMER_HPP_ #define _WATERCONSUMER_HPP_ /*****************************************************************************/ class WaterConsumer { /*-----------------------------------------------------------------*/ public: /*----------------...
21.259259
79
0.252613
zaychenko-sergei
a68f8d7ab136d4466140f9c32749a7b5ce5b85d9
11,777
cpp
C++
willow/src/op/receptive.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/src/op/receptive.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/src/op/receptive.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2018 Graphcore Ltd. All rights reserved. #include <iostream> #include <math.h> #include <memory> #include <unordered_map> #include <popart/error.hpp> #include <popart/op/receptive.hpp> #include <popart/opmanager.hpp> #include <popart/opserialiser.hpp> #include <popart/tensor.hpp> #include <popart/util....
32.354396
80
0.625202
gglin001
a690b73000ae0b25e4d6a8f139f9512f647d9a36
12,398
cpp
C++
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0071.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
17
2015-09-17T06:53:47.000Z
2021-08-09T03:41:21.000Z
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0071.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0071.cpp
Dschee/Neptune
016d132f8e4449e6b0f79fbc5ce25de365eab983
[ "BSD-3-Clause" ]
18
2015-12-09T21:27:41.000Z
2020-11-27T11:38:49.000Z
/***************************************************************** | | Neptune - Trust Anchors | | This file is automatically generated by a script, do not edit! | | Copyright (c) 2002-2010, Axiomatic Systems, LLC. | All rights reserved. | | Redistribution and use in source and binary forms, with or without | modif...
42.313993
79
0.769882
Dschee