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
a69143e9abf587347b57187bda9f3624ecb386f6
2,331
cpp
C++
projects/PathosEngine/src/pathos/wrapper/transform.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
11
2016-08-30T12:01:35.000Z
2021-12-29T15:34:03.000Z
projects/PathosEngine/src/pathos/wrapper/transform.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
9
2016-05-19T03:14:22.000Z
2021-01-17T05:45:52.000Z
projects/PathosEngine/src/pathos/wrapper/transform.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
null
null
null
#include "pathos/wrapper/transform.h" #include <glm/gtc/matrix_transform.hpp> namespace pathos { Transform::Transform() :matrix(glm::mat4(1.0f)) {} Transform::Transform(const glm::mat4& _matrix) { matrix = _matrix; } const glm::mat4& Transform::getMatrix() const { return matrix; } void Transform::identity() { m...
31.5
103
0.681253
codeonwort
a69268faabb732483d24cc1b969714805e8d073b
9,591
cpp
C++
lib/PhasarLLVM/ControlFlow/LLVMBasedCFG.cpp
ddiepo-pjr/phasar
78c93057360f71bcd49bf98e275135c70eb27e90
[ "MIT" ]
null
null
null
lib/PhasarLLVM/ControlFlow/LLVMBasedCFG.cpp
ddiepo-pjr/phasar
78c93057360f71bcd49bf98e275135c70eb27e90
[ "MIT" ]
null
null
null
lib/PhasarLLVM/ControlFlow/LLVMBasedCFG.cpp
ddiepo-pjr/phasar
78c93057360f71bcd49bf98e275135c70eb27e90
[ "MIT" ]
1
2020-11-06T06:19:29.000Z
2020-11-06T06:19:29.000Z
/****************************************************************************** * Copyright (c) 2017 Philipp Schubert. * All rights reserved. This program and the accompanying materials are made * available under the terms of LICENSE.txt. * * Contributors: * Philipp Schubert and others **********************...
30.255521
80
0.620686
ddiepo-pjr
a69458a1b541471333915ca9b97d16ec0dd433bf
669
inl
C++
dds/DCPS/transport/framework/RemoveAllVisitor.inl
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
dds/DCPS/transport/framework/RemoveAllVisitor.inl
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
dds/DCPS/transport/framework/RemoveAllVisitor.inl
binary42/OCI
08191bfe4899f535ff99637d019734ed044f479d
[ "MIT" ]
null
null
null
/* * $Id: RemoveAllVisitor.inl 4387 2011-03-08 20:13:10Z mitza $ * * * Distributed under the OpenDDS License. * See: http://www.opendds.org/license.html */ #include "EntryExit.h" ACE_INLINE OpenDDS::DCPS::RemoveAllVisitor::RemoveAllVisitor() : status_(0), removed_bytes_(0) { DBG_ENTRY_LVL("RemoveAllVisi...
20.90625
62
0.733931
binary42
a69499de813ffb1eee8b222dac0963a292c9710b
4,796
cpp
C++
src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp
tianyiYoung/ClickHouse
41012b5ba49df807af52fc17ab475a21fadda9b3
[ "Apache-2.0" ]
5
2021-05-14T02:46:44.000Z
2021-11-23T04:58:20.000Z
src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp
tianyiYoung/ClickHouse
41012b5ba49df807af52fc17ab475a21fadda9b3
[ "Apache-2.0" ]
5
2021-05-21T06:26:01.000Z
2021-08-04T04:57:36.000Z
src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp
tianyiYoung/ClickHouse
41012b5ba49df807af52fc17ab475a21fadda9b3
[ "Apache-2.0" ]
8
2021-05-12T01:38:18.000Z
2022-02-10T06:08:41.000Z
#include <IO/WriteHelpers.h> #include <IO/WriteBufferValidUTF8.h> #include <Processors/Formats/Impl/JSONEachRowRowOutputFormat.h> #include <Formats/FormatFactory.h> namespace DB { JSONEachRowRowOutputFormat::JSONEachRowRowOutputFormat( WriteBuffer & out_, const Block & header_, const RowOutputFormatPara...
30.35443
121
0.689741
tianyiYoung
a6951c83c993fefc29dd3e1decb69beececf8c5b
2,645
cpp
C++
codeforces/PracticeRound016/b.cpp
Shahraaz/CP_S5
2cfb5467841d660c1e47cb8338ea692f10ca6e60
[ "MIT" ]
3
2020-02-08T10:34:16.000Z
2020-02-09T10:23:19.000Z
codeforces/PracticeRound016/b.cpp
Shahraaz/CP_S5
2cfb5467841d660c1e47cb8338ea692f10ca6e60
[ "MIT" ]
null
null
null
codeforces/PracticeRound016/b.cpp
Shahraaz/CP_S5
2cfb5467841d660c1e47cb8338ea692f10ca6e60
[ "MIT" ]
2
2020-10-02T19:05:32.000Z
2021-09-08T07:01:49.000Z
// Optimise #include <bits/stdc++.h> using namespace std; #ifdef LOCAL #include "/home/shahraaz/bin/debug.h" #else #define db(...) #endif using ll = long long; #define f first #define s second #define pb push_back #define all(v) v.begin(), v.end() const int NAX = 2e5 + 5, MOD = 1000000007; class Solution { private:...
23.40708
135
0.36862
Shahraaz
a6972419470e24f0ba08520476ada6e9abb7018f
177
hh
C++
vpp/algorithms/line_tracker_4_sfm/hough_extruder.hh
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
624
2015-01-05T16:40:41.000Z
2022-03-01T03:09:43.000Z
vpp/algorithms/line_tracker_4_sfm/hough_extruder.hh
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
10
2015-01-22T20:50:13.000Z
2018-05-15T10:41:34.000Z
vpp/algorithms/line_tracker_4_sfm/hough_extruder.hh
WLChopSticks/vpp
2e17b21c56680bcfa94292ef5117f73572bf277d
[ "MIT" ]
113
2015-01-19T11:58:35.000Z
2022-03-28T05:15:20.000Z
#pragma once #include "hough_extruder/draw_trajectories_hough.hh" #include "symbols.hh" #include "hough_extruder/paint.hh" #include "hough_extruder/feature_matching_hough.hh"
22.125
52
0.819209
WLChopSticks
a69c4f7b0e8230f4d3b430d27aa4da4de86ac047
3,136
cpp
C++
examples/tests-div-detection/shortest-path/shortest-path.cpp
soarlab/S3FP
f1459d2a3d424651d5b87844e3f02a61e3ed2ad1
[ "MIT" ]
null
null
null
examples/tests-div-detection/shortest-path/shortest-path.cpp
soarlab/S3FP
f1459d2a3d424651d5b87844e3f02a61e3ed2ad1
[ "MIT" ]
null
null
null
examples/tests-div-detection/shortest-path/shortest-path.cpp
soarlab/S3FP
f1459d2a3d424651d5b87844e3f02a61e3ed2ad1
[ "MIT" ]
null
null
null
#include <stdio.h> #include <assert.h> #include <utility> #include "s3fp_utils.h" using namespace std; #ifndef IFT #define IFT float #endif #ifndef OFT #define OFT __float128 #endif unsigned int D = 0; // the number of nodes // first : true => is +/- inf // first : false => normal length typedef pair<bool...
20.232258
72
0.555804
soarlab
a69cf8307ec9c218c90a231427ebf5ea5ae8cce8
616
cpp
C++
UVa 541 error correction/sample/541 - Error Correction.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 541 error correction/sample/541 - Error Correction.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 541 error correction/sample/541 - Error Correction.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include<stdio.h> int main() { int matrix[101][101], n, i, j; while(scanf("%d", &n) == 1 && n) { for(i = 0; i < n; i++) for(j = 0; j < n; j++) scanf("%d", &matrix[i][j]); int R[100] = {0}, C[100] = {0}; for(i = 0; i < n; i++) { for(j = 0; j < n; j++) { C[i] += matrix[i][j]; R[i] += matrix[j][i...
20.533333
46
0.396104
tadvi
a6a01560fa8ffa9769cb0bff2c847e6266ed1a86
3,463
cpp
C++
FB/modes.cpp
ivanagui2/VMQemuVGA
57a2df0b00a31569efd6773e88d203d331264846
[ "MIT" ]
19
2018-01-15T22:44:50.000Z
2022-01-16T01:14:15.000Z
FB/modes.cpp
PureDarwin/VMQemuVGA
79f8fa75a1c6be904357517d235ca7a8d54d9439
[ "MIT" ]
null
null
null
FB/modes.cpp
PureDarwin/VMQemuVGA
79f8fa75a1c6be904357517d235ca7a8d54d9439
[ "MIT" ]
4
2016-11-06T14:15:26.000Z
2019-08-26T12:42:54.000Z
/* * modes.cpp * VMsvga2 * * Created by Zenith432 on July 11th 2009. * Copyright 2009-2011 Zenith432. All rights reserved. * */ /********************************************************** * Portions Copyright 2009 VMware, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any...
48.097222
95
0.741265
ivanagui2
a6a3bcc076f85e16b9f3ecd155ccd6d9e102980f
1,639
cpp
C++
NNGameFramework/ProjectWugargar/PoorZombie.cpp
quxn6/wugargar
79e71a83e1240052ec4217d5223359ca5f1c3890
[ "MIT" ]
1
2017-02-13T06:09:17.000Z
2017-02-13T06:09:17.000Z
NNGameFramework/ProjectWugargar/PoorZombie.cpp
quxn6/wugargar
79e71a83e1240052ec4217d5223359ca5f1c3890
[ "MIT" ]
null
null
null
NNGameFramework/ProjectWugargar/PoorZombie.cpp
quxn6/wugargar
79e71a83e1240052ec4217d5223359ca5f1c3890
[ "MIT" ]
null
null
null
#include "PoorZombie.h" CPoorZombie::CPoorZombie(void) { initStatus(); } CPoorZombie::~CPoorZombie(void) { } void CPoorZombie::initStatus( void ) { m_zombieType = POOR_ZOMBIE; m_HealthPoint = 40; m_FullHP = m_HealthPoint; m_MovingSpeed = 40.0f; m_AttackPower = 15; m_DefensivePower = 2; m_AttackRange = 30....
26.015873
63
0.775473
quxn6
a6a8542ee0ec095d7e1b909772e725a9a3985e52
9,453
cpp
C++
service/soft-sensor-manager/SoftSensorPlugin/IndoorTrajectorySensor/src/GeneralData.cpp
mandeepshetty/iotivity
fea1aa7f7088fdf206ebc3ff587766da96836708
[ "Apache-2.0" ]
null
null
null
service/soft-sensor-manager/SoftSensorPlugin/IndoorTrajectorySensor/src/GeneralData.cpp
mandeepshetty/iotivity
fea1aa7f7088fdf206ebc3ff587766da96836708
[ "Apache-2.0" ]
null
null
null
service/soft-sensor-manager/SoftSensorPlugin/IndoorTrajectorySensor/src/GeneralData.cpp
mandeepshetty/iotivity
fea1aa7f7088fdf206ebc3ff587766da96836708
[ "Apache-2.0" ]
1
2022-01-22T19:42:20.000Z
2022-01-22T19:42:20.000Z
/****************************************************************** * * Copyright 2014 Samsung Electronics 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 * * ht...
23.169118
99
0.515709
mandeepshetty
16f57350fc1bff2228952b0cc63072a9c9488e02
39,862
cpp
C++
src/Storage_base.cpp
yingjerkao/Cytnx
37ac8493fd7a9ace78c32c9281da25c03542c112
[ "Apache-2.0" ]
null
null
null
src/Storage_base.cpp
yingjerkao/Cytnx
37ac8493fd7a9ace78c32c9281da25c03542c112
[ "Apache-2.0" ]
null
null
null
src/Storage_base.cpp
yingjerkao/Cytnx
37ac8493fd7a9ace78c32c9281da25c03542c112
[ "Apache-2.0" ]
null
null
null
#ifdef UNI_OMP #include <omp.h> #endif #include "Storage.hpp" #include "utils/utils_internal_interface.hpp" #include "utils/vec_print.hpp" using namespace std; namespace cytnx{ //Storage Init interface. //============================= boost::intrusive_ptr<Storage_base> SIInit_cd(){ boost:...
43.565027
278
0.6086
yingjerkao
16fafdd8af96e9317de9b4a6cf6798a73b43c408
7,601
cpp
C++
tree.cpp
ramenhut/simple-rdf
ca6f9fb52dfa2fb464a0593ce71972d263dfd92c
[ "BSD-2-Clause" ]
3
2019-08-18T05:44:42.000Z
2019-09-02T06:19:30.000Z
tree.cpp
ramenhut/simple-rdf
ca6f9fb52dfa2fb464a0593ce71972d263dfd92c
[ "BSD-2-Clause" ]
null
null
null
tree.cpp
ramenhut/simple-rdf
ca6f9fb52dfa2fb464a0593ce71972d263dfd92c
[ "BSD-2-Clause" ]
null
null
null
#include "tree.h" #include "numeric.h" namespace base { float32 ComputeInformationGain(const Histogram& parent, const Histogram& left, const Histogram& right) { // Our computations use integer variables but must occur at float precision. float32 parent_total = parent.Get...
34.238739
81
0.641626
ramenhut
16ff5d447c95848b705b662b1f7c97b55baa1678
2,839
cpp
C++
LightOJ/LOJ_AC/1093 - Ghajini .cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
3
2018-05-11T07:33:20.000Z
2020-08-30T11:02:02.000Z
LightOJ/LOJ_AC/1093 - Ghajini .cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
1
2018-05-11T18:10:26.000Z
2018-05-12T18:00:28.000Z
LightOJ/LOJ_AC/1093 - Ghajini .cpp
Saikat-S/acm-problems-solutions
921c0f3e508e1ee8cd14be867587952d5f67bbb9
[ "MIT" ]
null
null
null
/*************************************************** * Problem name : 1093 - Ghajini .cpp * Problem Link : http://lightoj.com/volume_showproblem.php?problem=1093 * OJ : LOJ * Verdict : AC * Date : 19.05.2017 ...
27.833333
95
0.408242
Saikat-S
e5054599457e0656b4c7ef8ba221feaef6d81690
7,404
cpp
C++
ROS/topico/src/printint.cpp
zal-jlange/TopiCo
d9cf99d4510599c2fc506cbe866cdb8861f360c8
[ "BSD-3-Clause" ]
53
2021-03-16T09:55:42.000Z
2022-02-15T22:10:44.000Z
ROS/topico/src/printint.cpp
zal-jlange/TopiCo
d9cf99d4510599c2fc506cbe866cdb8861f360c8
[ "BSD-3-Clause" ]
14
2021-03-23T17:52:12.000Z
2021-08-17T01:00:32.000Z
ROS/topico/src/printint.cpp
zal-jlange/TopiCo
d9cf99d4510599c2fc506cbe866cdb8861f360c8
[ "BSD-3-Clause" ]
14
2021-04-11T06:12:24.000Z
2022-03-22T12:21:51.000Z
// // Academic License - for use in teaching, academic research, and meeting // course requirements at degree granting institutions only. Not for // government, commercial, or other organizational use. // // printint.cpp // // Code generation for function 'printint' // // Include files #include "printint.h" #include ...
21.905325
80
0.581037
zal-jlange
e507364b38266b298cc052de7af6ff34572656de
528
cpp
C++
Code/Chapter-4/rayaabb.cpp
SampleText2k77/graphics-book
2b6ff89be1c27683744a8b64145d5a6a9de37d5d
[ "MIT" ]
16
2019-07-09T11:49:13.000Z
2022-02-22T03:01:30.000Z
Code/Chapter-4/rayaabb.cpp
SampleText2k77/graphics-book
2b6ff89be1c27683744a8b64145d5a6a9de37d5d
[ "MIT" ]
null
null
null
Code/Chapter-4/rayaabb.cpp
SampleText2k77/graphics-book
2b6ff89be1c27683744a8b64145d5a6a9de37d5d
[ "MIT" ]
5
2019-09-09T17:44:50.000Z
2021-04-29T20:16:51.000Z
#define GLM_FORCE_RADIANS #define GLM_SWIZZLE #include <glm/vec3.hpp> #include <glm/vec4.hpp> #include <glm/gtx/quaternion.hpp> #include <glm/gtc/matrix_inverse.hpp> #include <glm/geometric.hpp> #include "bbox.h" inline glm::vec3 closestPoint ( const glm::vec3& n, const bbox& box ) { return glm::vec3 ( n.x <= 0 ? bo...
31.058824
82
0.617424
SampleText2k77
e50745e4986fa4f06a37c4ddc5d44ac1c77423ee
8,244
cpp
C++
mapleall/maple_me/src/me_stmt_fre.cpp
lvyitian/mapleall
1112501c1bcbff5d9388bf46f195d56560c5863a
[ "MulanPSL-1.0" ]
null
null
null
mapleall/maple_me/src/me_stmt_fre.cpp
lvyitian/mapleall
1112501c1bcbff5d9388bf46f195d56560c5863a
[ "MulanPSL-1.0" ]
null
null
null
mapleall/maple_me/src/me_stmt_fre.cpp
lvyitian/mapleall
1112501c1bcbff5d9388bf46f195d56560c5863a
[ "MulanPSL-1.0" ]
null
null
null
/* * Copyright (c) [2020] Huawei Technologies Co., Ltd. All rights reserved. * * OpenArkCompiler is licensed under the Mulan Permissive Software License v2. * You can use this software according to the terms and conditions of the MulanPSL - 2.0. * You may obtain a copy of MulanPSL - 2.0 at: * * https://opensou...
31.586207
126
0.577754
lvyitian
e508d32acc6e92da93071f9728c4abfaaa042691
325
cpp
C++
Cpp/1189.maximum-number-of-ballons.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
1
2015-12-19T23:05:35.000Z
2015-12-19T23:05:35.000Z
Cpp/1189.maximum-number-of-ballons.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
Cpp/1189.maximum-number-of-ballons.cpp
zszyellow/leetcode
2ef6be04c3008068f8116bf28d70586e613a48c2
[ "MIT" ]
null
null
null
class Solution { public: int maxNumberOfBalloons(string text) { vector<int> cnts(26, 0); for (char c : text) { cnts[c-'a'] ++; } vector<int> ballon{cnts[0], cnts[1], cnts[11]/2, cnts[14]/2, cnts[13]}; return *min_element(ballon.begin(), ballon.end()); ...
27.083333
79
0.513846
zszyellow
e50da8dce16ecc613a3f2edd07f12ed8d9459177
532
cpp
C++
source/algorithms/gmi.cpp
tasseff/gomory
d18b9aac036d2ef6d8c582a26f68060994590eba
[ "MIT" ]
2
2017-04-27T23:24:32.000Z
2018-09-20T21:19:34.000Z
source/algorithms/gmi.cpp
tasseff/gomory
d18b9aac036d2ef6d8c582a26f68060994590eba
[ "MIT" ]
null
null
null
source/algorithms/gmi.cpp
tasseff/gomory
d18b9aac036d2ef6d8c582a26f68060994590eba
[ "MIT" ]
null
null
null
#include <common/document.h> #include <common/error.h> #include "gomory.h" int main(int argc, char* argv[]) { // Check if a JSON file has been specified. if (argc <= 1) { PrintErrorAndExit("JSON file has not been specified."); } // Read the scenario file. File model_file(argv[1]); // Parse the scenario file ...
20.461538
57
0.676692
tasseff
e5141d2137f8d0fee721a0dec66e794ad3fb72de
3,721
cpp
C++
tests/test_user_defined.cpp
ToruNiina/wad
f5f0445f7f0a53efd31988ce7d381bccb463b951
[ "MIT" ]
null
null
null
tests/test_user_defined.cpp
ToruNiina/wad
f5f0445f7f0a53efd31988ce7d381bccb463b951
[ "MIT" ]
null
null
null
tests/test_user_defined.cpp
ToruNiina/wad
f5f0445f7f0a53efd31988ce7d381bccb463b951
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "wad/integer.hpp" #include "wad/floating.hpp" #include "wad/string.hpp" #include "wad/in_place.hpp" #include "wad/archive.hpp" #include "wad/interface.hpp" #include "utility.hpp" namespace extlib { struct X { std::string s; std::int32_t i; double ...
21.262857
85
0.536684
ToruNiina
e51437479bf53620e86d489a138390efad5c728b
362
cpp
C++
book/Chap3/trythis.cpp
mjakebarrington/CPP-Exercises
9bb01f66ae9861c4d5323738fb478f15ad7e691c
[ "MIT" ]
null
null
null
book/Chap3/trythis.cpp
mjakebarrington/CPP-Exercises
9bb01f66ae9861c4d5323738fb478f15ad7e691c
[ "MIT" ]
null
null
null
book/Chap3/trythis.cpp
mjakebarrington/CPP-Exercises
9bb01f66ae9861c4d5323738fb478f15ad7e691c
[ "MIT" ]
null
null
null
/* * In chapter 3's "Try This" exercise, students are asked to print someones name out in months. */ #include <iostream> using namespace std; int main() { cout << "What is your name and age in years? \n"; string name; double age; cin >> name >> age; age *= 12; cout << "Hello, " << name << ", you are roughly "...
21.294118
95
0.616022
mjakebarrington
e5167bc0f2f4370b07d763432feb78963c1397b6
487
hpp
C++
Chess/connector.hpp
classix-ps/Chess
1165cb3e5aab67de562b029f65c80f5156d6c26b
[ "CC-BY-4.0" ]
null
null
null
Chess/connector.hpp
classix-ps/Chess
1165cb3e5aab67de562b029f65c80f5156d6c26b
[ "CC-BY-4.0" ]
null
null
null
Chess/connector.hpp
classix-ps/Chess
1165cb3e5aab67de562b029f65c80f5156d6c26b
[ "CC-BY-4.0" ]
null
null
null
#pragma once #include <windows.h> #include <stdio.h> #include <iostream> #include <string> class Engine { public: Engine(LPCWSTR); void ConnectToEngine(); std::string getNextMove(std::string); void CloseConnection(); private: LPCWSTR enginePath; STARTUPINFO sti = { 0 }; SECURITY_ATTRIBUTE...
21.173913
48
0.669405
classix-ps
e516cf6690454e4c5011ee2ba91596f67bf58444
1,822
cpp
C++
bruter/bruter/tests/bruter3.cpp
flyyee/riwlan-brute
0c886d48518a7f5258751c6a1dc43c51fa7f7fa1
[ "MIT" ]
null
null
null
bruter/bruter/tests/bruter3.cpp
flyyee/riwlan-brute
0c886d48518a7f5258751c6a1dc43c51fa7f7fa1
[ "MIT" ]
null
null
null
bruter/bruter/tests/bruter3.cpp
flyyee/riwlan-brute
0c886d48518a7f5258751c6a1dc43c51fa7f7fa1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <fstream> #include <algorithm> #include <sstream> #include <iterator> void generate_words(const std::vector<char> &alphabet, size_t &word_length, std::vector<std::string> &results) { std::vector<size_t> index(word_length, 0); for (;;) { ...
25.305556
110
0.513172
flyyee
e51922575b32b9367b11b762324e23a9a87793cc
5,936
cpp
C++
WaveSabreCore/src/Twister.cpp
armak/WaveSabre
e72bf68e3bdd215cf8d310d106839cb234587793
[ "MIT" ]
3
2019-03-01T21:33:54.000Z
2021-09-16T09:40:56.000Z
WaveSabreCore/src/Twister.cpp
djh0ffman/WaveSabre
6a3885134fd9ef1ba31d60e7bb2be41de68f1a3b
[ "MIT" ]
null
null
null
WaveSabreCore/src/Twister.cpp
djh0ffman/WaveSabre
6a3885134fd9ef1ba31d60e7bb2be41de68f1a3b
[ "MIT" ]
1
2021-01-02T13:28:55.000Z
2021-01-02T13:28:55.000Z
#include <WaveSabreCore/Twister.h> #include <WaveSabreCore/Helpers.h> int const lookAhead = 4; namespace WaveSabreCore { Twister::Twister() : Device((int)ParamIndices::NumParams) { type = 0; amount = 0; feedback = 0.0f; spread = Spread::Mono; vibratoFreq = Helpers::ParamToVibratoFreq(0.0f)...
32.26087
118
0.670654
armak
e51931254833e9daae0b21d79018cb7aea95ea64
2,903
cpp
C++
tests/rwops/load/main.cpp
jamesl-github/scc
c1dddf41778eeb2ef2a910372d1eb6a6a8dfa68e
[ "Zlib" ]
8
2018-04-21T07:49:58.000Z
2019-02-21T15:04:28.000Z
tests/rwops/load/main.cpp
jamesl-github/scc
c1dddf41778eeb2ef2a910372d1eb6a6a8dfa68e
[ "Zlib" ]
null
null
null
tests/rwops/load/main.cpp
jamesl-github/scc
c1dddf41778eeb2ef2a910372d1eb6a6a8dfa68e
[ "Zlib" ]
2
2018-04-21T02:25:47.000Z
2018-04-21T15:03:15.000Z
/* SDL C++ Classes Copyright (C) 2017-2018 Mateus Carmo M. de F. Barbosa This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software fo...
23.41129
76
0.689631
jamesl-github
e51aec93c0d6f35d933af1768b3d9eadc13b8639
312
cpp
C++
cpp_solutions/lexf.cpp
lbovard/rosalind
92d0bde3282caf6af512114bdc0133ee3a1d6418
[ "Unlicense" ]
null
null
null
cpp_solutions/lexf.cpp
lbovard/rosalind
92d0bde3282caf6af512114bdc0133ee3a1d6418
[ "Unlicense" ]
null
null
null
cpp_solutions/lexf.cpp
lbovard/rosalind
92d0bde3282caf6af512114bdc0133ee3a1d6418
[ "Unlicense" ]
null
null
null
#include <iostream> #include <algorithm> int main() { std::vector<char> alphabet; int n; std::cout << facts[n] << std::endl; do { for(unsigned int i=0;i<n;++i) { std::cout << nums[i] << " "; } std::cout << std::endl; } while (std::next_permutation(nums,nums+n)); return 0; }
17.333333
47
0.544872
lbovard
e51b055f122e6e86dd30ea55b6172106bfc524c6
3,979
cc
C++
mindspore/lite/tools/converter/micro/coder/opcoders/nnacl/fp32/pad_fp32_coder.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/lite/tools/converter/micro/coder/opcoders/nnacl/fp32/pad_fp32_coder.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
mindspore/lite/tools/converter/micro/coder/opcoders/nnacl/fp32/pad_fp32_coder.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
36.172727
118
0.690626
httpsgithu
e51ece6da259c4785f3f97b091e589df208d648f
1,010
cpp
C++
MainWindow.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
MainWindow.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
MainWindow.cpp
Evgenii-Evgenevich/qt-the-interface
0d12d110b09b5ff9c52adc7da70104b219220267
[ "Apache-2.0" ]
null
null
null
#include "MainWindow.h" #include <QLocale> #include <QScrollArea> #include <QTabWidget> #include <QPushButton> #include <QStatusBar> #include <QMenuBar> #include <QShowEvent> #include "Beam.h" MainWindow::MainWindow() : QMainWindow() { QScrollArea* scrollArea = new QScrollArea; scrollArea->setHorizontalScrollBarPol...
25.897436
86
0.757426
Evgenii-Evgenevich
e520698bdb3967ab38489ba1f05f6381a238db60
1,704
cpp
C++
editor/echo/Base/UI/QtInterface/QComboBox.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
editor/echo/Base/UI/QtInterface/QComboBox.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
editor/echo/Base/UI/QtInterface/QComboBox.cpp
johndpope/echo
e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7
[ "MIT" ]
null
null
null
#include <QComboBox> #include <engine/core/util/StringUtil.h> #include "Studio.h" namespace Echo { void qComboBoxAddItem(QWidget* widget, const char* icon, const char* text) { if (widget) { QComboBox* comboBox = qobject_cast<QComboBox*>(widget); if (comboBox) { if (icon) comboBox->addItem(QIcon...
17.04
75
0.643779
johndpope
e524f5ed1b49b0b7b9ded472ec03bea8b73d32ab
400
cpp
C++
RayTracer/TexturedMaterial.cpp
MatthewSmit/RayTracer
86aff1867a6a6fa3f493a489b4848e75ca7370f0
[ "MIT" ]
2
2018-03-26T21:59:26.000Z
2019-11-14T13:54:44.000Z
RayTracer/TexturedMaterial.cpp
MatthewSmit/RayTracer
86aff1867a6a6fa3f493a489b4848e75ca7370f0
[ "MIT" ]
null
null
null
RayTracer/TexturedMaterial.cpp
MatthewSmit/RayTracer
86aff1867a6a6fa3f493a489b4848e75ca7370f0
[ "MIT" ]
null
null
null
#include "TexturedMaterial.h" #include "Image.h" #include "SceneObject.h" vec4 TexturedMaterial::getColour(const vec4& hitPoint, const SceneObject* object) const { auto textureCoordinates = object->getTextureCoordinates(hitPoint); textureCoordinates /= scaling; textureCoordinates = (textureCoordinates % vec4{ 1.0f...
33.333333
89
0.7575
MatthewSmit
e52571a5af3bf5d17b16c3c5499490c303bf4d33
1,204
cc
C++
p2p/base/proxy_packet_socket_factory.cc
eagle3dstreaming/webrtc
fef9b3652f7744f722785fc1f4cc6b099f4c7aa7
[ "BSD-3-Clause" ]
null
null
null
p2p/base/proxy_packet_socket_factory.cc
eagle3dstreaming/webrtc
fef9b3652f7744f722785fc1f4cc6b099f4c7aa7
[ "BSD-3-Clause" ]
null
null
null
p2p/base/proxy_packet_socket_factory.cc
eagle3dstreaming/webrtc
fef9b3652f7744f722785fc1f4cc6b099f4c7aa7
[ "BSD-3-Clause" ]
null
null
null
#include "p2p/base/proxy_packet_socket_factory.h" namespace rtc { ProxyPacketSocketFactory::ProxyPacketSocketFactory() : BasicPacketSocketFactory() {} ProxyPacketSocketFactory::ProxyPacketSocketFactory(Thread* thread) : BasicPacketSocketFactory(thread) {} ProxyPacketSocketFactory::ProxyPacketSocketFactory( ...
34.4
81
0.656146
eagle3dstreaming
e527e0d5b1efa0f76eb376743d9d6631bf2d5df9
9,949
cpp
C++
compiler/extensions/cpp/runtime/test/zserio/SqliteConnectionTest.cpp
Klebert-Engineering/zserio-1
fbb4fc42d9ab6f3afa6c040a36267357399180f4
[ "BSD-3-Clause" ]
2
2019-02-06T17:50:24.000Z
2019-11-20T16:51:34.000Z
compiler/extensions/cpp/runtime/test/zserio/SqliteConnectionTest.cpp
Klebert-Engineering/zserio-1
fbb4fc42d9ab6f3afa6c040a36267357399180f4
[ "BSD-3-Clause" ]
1
2019-11-25T16:25:51.000Z
2019-11-25T18:09:39.000Z
compiler/extensions/cpp/runtime/test/zserio/SqliteConnectionTest.cpp
Klebert-Engineering/zserio-1
fbb4fc42d9ab6f3afa6c040a36267357399180f4
[ "BSD-3-Clause" ]
null
null
null
#include "zserio/SqliteConnection.h" #include "zserio/SqliteException.h" #include <string> #include <vector> #include <sqlite3.h> #include "gtest/gtest.h" namespace zserio { namespace { extern "C" int sqliteResultAccumulatorCallback(void *data, int nColumns, char** colValues, char** colNames); class Sqlit...
29.966867
112
0.728415
Klebert-Engineering
e52bf446ef1233cb4737b10c7b4bff5bf6cb606a
2,330
hpp
C++
src/backend/MoveList.hpp
Witek902/Caissa
07bb81e7cae23ea18bb44870d1c1eaa038ab0355
[ "MIT" ]
3
2022-01-11T22:37:06.000Z
2022-01-18T17:40:48.000Z
src/backend/MoveList.hpp
Witek902/Caissa
07bb81e7cae23ea18bb44870d1c1eaa038ab0355
[ "MIT" ]
1
2021-11-12T00:38:30.000Z
2021-11-12T00:38:30.000Z
src/backend/MoveList.hpp
Witek902/Caissa
07bb81e7cae23ea18bb44870d1c1eaa038ab0355
[ "MIT" ]
null
null
null
#pragma once #include "Move.hpp" class MoveList { friend class Position; friend class Search; friend class MoveOrderer; public: struct MoveEntry { Move move; int32_t score; }; static constexpr uint32_t MaxMoves = 255; uint32_t Size() const { return numMoves; } c...
21.376147
106
0.535193
Witek902
e52ec98333442b65a838b3c7dc916f763f5ec67b
2,821
cpp
C++
EngineTransplant/onscripter-20120712/sardec.cpp
weimingtom/X-moe
8bcca62db18800cb5ac7ad1309535c4c95156eb6
[ "MIT" ]
6
2018-10-12T05:01:49.000Z
2020-11-01T02:47:22.000Z
EngineTransplant/onscripter-20120712/sardec.cpp
weimingtom/X-moe
8bcca62db18800cb5ac7ad1309535c4c95156eb6
[ "MIT" ]
null
null
null
EngineTransplant/onscripter-20120712/sardec.cpp
weimingtom/X-moe
8bcca62db18800cb5ac7ad1309535c4c95156eb6
[ "MIT" ]
3
2017-09-27T17:28:30.000Z
2019-11-21T15:13:57.000Z
/* -*- C++ -*- * * sardec.cpp - SAR archive decoder * * Copyright (c) 2001-2004 Ogapee. All rights reserved. * * ogapee@aqua.dti2.ne.jp * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fou...
28.785714
77
0.554768
weimingtom
e530686d7270d6309e2924632daac74183c88c65
982
hpp
C++
src/view/facing_dir.hpp
TiWinDeTea/NinjaClown
fdd48e62466f11036fa0360fad2bcb182d6d3352
[ "MIT" ]
2
2020-04-10T14:39:00.000Z
2021-02-11T15:52:16.000Z
src/view/facing_dir.hpp
TiWinDeTea/NinjaClown
fdd48e62466f11036fa0360fad2bcb182d6d3352
[ "MIT" ]
2
2019-12-17T08:50:20.000Z
2020-02-03T09:37:56.000Z
src/view/facing_dir.hpp
TiWinDeTea/NinjaClown
fdd48e62466f11036fa0360fad2bcb182d6d3352
[ "MIT" ]
1
2020-08-19T03:06:52.000Z
2020-08-19T03:06:52.000Z
#ifndef NINJACLOWN_VIEW_FACING_DIR_HPP #define NINJACLOWN_VIEW_FACING_DIR_HPP #include <array> #include <optional> #include <string_view> #include "utils/utils.hpp" namespace view::facing_direction { enum type : unsigned int { N, S, E, W, NE, NW, SE, SW, MAX_VAL }; constexpr std::array values = {N, S, E, W, NE, NW...
26.540541
105
0.709776
TiWinDeTea
e531843510969f3066e08d658b6e9b0b21f32499
8,891
cpp
C++
iterators/program.cpp
MatthewCalligaro/CS70Textbook
c7fb8e2163a0da562972aea37e35f2b5825a9b80
[ "MIT" ]
8
2020-01-24T20:50:59.000Z
2021-08-01T17:57:37.000Z
iterators/program.cpp
cs70-grutoring/CS70Textbook
c7fb8e2163a0da562972aea37e35f2b5825a9b80
[ "MIT" ]
null
null
null
iterators/program.cpp
cs70-grutoring/CS70Textbook
c7fb8e2163a0da562972aea37e35f2b5825a9b80
[ "MIT" ]
1
2020-04-04T17:15:19.000Z
2020-04-04T17:15:19.000Z
/** * \file program.cpp * \copyright Matthew Calligaro * \date January 2020 * \brief A command line program demonstrating the use of iterators */ #include <cassert> #include <iostream> #include <list> #include <string> int main() { std::list<std::string> list = {"alpha", "bravo", "charlie", "delta", "echo"}; ...
35.706827
80
0.59982
MatthewCalligaro
e53387adb403d6c6c407a75760b8962b81ac3df6
13,764
cpp
C++
samples/snippets/cpp/VS_Snippets_Wpf/System.Windows.Interop.D3DImage/cpp/renderermanager.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
3,294
2016-10-30T05:27:20.000Z
2022-03-31T15:59:30.000Z
samples/snippets/cpp/VS_Snippets_Wpf/System.Windows.Interop.D3DImage/cpp/renderermanager.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
16,739
2016-10-28T19:41:29.000Z
2022-03-31T22:38:48.000Z
samples/snippets/cpp/VS_Snippets_Wpf/System.Windows.Interop.D3DImage/cpp/renderermanager.cpp
BaruaSourav/docs
c288ed777de6b091f5e074d3488f7934683f3eb5
[ "CC-BY-4.0", "MIT" ]
6,701
2016-10-29T20:56:11.000Z
2022-03-31T12:32:26.000Z
// <snippetRendererManagerCPP> //+----------------------------------------------------------------------------- // // CRendererManager // // Manages the list of CRenderers. Managed code pinvokes into this class // and this class forwards to the appropriate CRenderer. // //-----------------------------------...
26.571429
118
0.483944
BaruaSourav
e53d8adb3787169e5e91f36be85233292251a14f
2,501
cpp
C++
src/CQDataFrameSVG.cpp
colinw7/CQDataFrame
bc82952dbe9f9a3fc79cc274f4c0ee97abcf0d5e
[ "MIT" ]
1
2021-12-23T02:25:36.000Z
2021-12-23T02:25:36.000Z
src/CQDataFrameSVG.cpp
colinw7/CQDataFrame
bc82952dbe9f9a3fc79cc274f4c0ee97abcf0d5e
[ "MIT" ]
null
null
null
src/CQDataFrameSVG.cpp
colinw7/CQDataFrame
bc82952dbe9f9a3fc79cc274f4c0ee97abcf0d5e
[ "MIT" ]
null
null
null
#include <CQDataFrameSVG.h> #include <QSvgRenderer> #include <QVBoxLayout> namespace CQDataFrame { SVGWidget:: SVGWidget(Area *area, const FileText &fileText) : Widget(area), fileText_(fileText) { setObjectName("svg"); } QString SVGWidget:: id() const { return QString("svg.%1").arg(pos()); } bool SVGWidget::...
16.562914
83
0.652139
colinw7
e5409732acd3c4b8aeace4d355997d0ce71657a6
2,115
cpp
C++
linear_structures/string/1236_web-crawler.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
linear_structures/string/1236_web-crawler.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
linear_structures/string/1236_web-crawler.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
// Author: b1tank // Email: b1tank@outlook.com //================================= /* 1236_web-crawler LeetCode Solution: - s.substr(0, s.find('/', 7)) */ #include <iostream> #include <sstream> // stringstream, istringstream, ostringstream #include <string> // to_string(), stoi() #include <cctype>...
31.567164
125
0.585343
b1tank
e5418770bc36e7c4c9b6d8dadd22b410d35e7e0f
29,091
cpp
C++
LJ_Argon_MD2.cpp
dc1394/LJ_Argon_MD2
d010df2563541008eb0bf76a382537038ded3e6f
[ "BSD-2-Clause" ]
null
null
null
LJ_Argon_MD2.cpp
dc1394/LJ_Argon_MD2
d010df2563541008eb0bf76a382537038ded3e6f
[ "BSD-2-Clause" ]
null
null
null
LJ_Argon_MD2.cpp
dc1394/LJ_Argon_MD2
d010df2563541008eb0bf76a382537038ded3e6f
[ "BSD-2-Clause" ]
1
2018-08-05T21:18:09.000Z
2018-08-05T21:18:09.000Z
/*! \file LJ_Argon_MD.cpp \brief 分子動力学シミュレーションを描画する Copyright © 2015 @dc1394 All Rights Reserved. This software is released under the BSD 2-Clause License. */ #include "DXUT.h" #include "SDKmisc.h" #include "DXUTcamera.h" #include "DXUTgui.h" #include "DXUTsettingsDlg.h" #include "DXUTShapes.h" #include...
32.323333
165
0.594411
dc1394
e54280b14e701389df64bcf55a6e4b43a2d1b1ac
1,432
hpp
C++
module_04/ex03/MateriaSource.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
4
2021-12-14T18:02:53.000Z
2022-03-24T01:12:38.000Z
module_04/ex03/MateriaSource.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
null
null
null
module_04/ex03/MateriaSource.hpp
paulahemsi/piscine_cpp
f98feefd8e70308f77442f9b4cb64758676349a7
[ "MIT" ]
3
2021-11-01T00:34:50.000Z
2022-01-29T19:57:30.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* MateriaSource.hpp :+: :+: :+: ...
35.8
80
0.363827
paulahemsi
e54362429cb0f41b3fcd49c00c8008e615077cac
2,355
cpp
C++
src/QtComponents/Configurators/CtrlPadRectF.cpp
Vladimir-Lin/QtComponents
e7f0a6abcf0504cc9144dcf59f3f14a52d08092c
[ "MIT" ]
null
null
null
src/QtComponents/Configurators/CtrlPadRectF.cpp
Vladimir-Lin/QtComponents
e7f0a6abcf0504cc9144dcf59f3f14a52d08092c
[ "MIT" ]
null
null
null
src/QtComponents/Configurators/CtrlPadRectF.cpp
Vladimir-Lin/QtComponents
e7f0a6abcf0504cc9144dcf59f3f14a52d08092c
[ "MIT" ]
null
null
null
#include <qtcomponents.h> #include "ui_CtrlPadRectF.h" N::CtrlPadRectF:: CtrlPadRectF ( QWidget * parent , Plan * p ) : Widget ( parent , p ) , ui ( new Ui::CtrlPadRectF ) , rect ( NULL ) ...
25.322581
62
0.449682
Vladimir-Lin
e5482372454bee2f220f078ad09fecf18fba89d5
4,024
hpp
C++
opencl/ocl_device.hpp
kohnakagawa/lj_gpu
a82245dfedc3452b4d6aad72200d63be1119eed6
[ "MIT" ]
1
2016-11-15T11:21:32.000Z
2016-11-15T11:21:32.000Z
opencl/ocl_device.hpp
kohnakagawa/lj_gpu
a82245dfedc3452b4d6aad72200d63be1119eed6
[ "MIT" ]
4
2016-11-05T04:56:46.000Z
2017-05-19T10:51:11.000Z
opencl/ocl_device.hpp
kohnakagawa/lj_gpu
a82245dfedc3452b4d6aad72200d63be1119eed6
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <map> #include "ocl_util.hpp" class OclDevice { std::vector<cl::Platform> platforms; std::vector<cl::Device> devices; cl::Platform platform; cl::Device device; cl::Context context; cl::Program::Sources sources; cl::Program program; std::map<std::string, cl::Ker...
28.94964
85
0.633201
kohnakagawa
e5491219797554063211f8295cafc70f5da501b2
2,503
cpp
C++
include/obnsim_basic.cpp
sduerr85/OpenBuildNet
126feb4d17558e7bfe1e2e6f081bbfbf1514496f
[ "MIT" ]
null
null
null
include/obnsim_basic.cpp
sduerr85/OpenBuildNet
126feb4d17558e7bfe1e2e6f081bbfbf1514496f
[ "MIT" ]
null
null
null
include/obnsim_basic.cpp
sduerr85/OpenBuildNet
126feb4d17558e7bfe1e2e6f081bbfbf1514496f
[ "MIT" ]
null
null
null
/* -*- mode: C++; indent-tabs-mode: nil; -*- */ /** \file * \brief Basic definitions. * * This file is part of the openBuildNet simulation framework * (OBN-Sim) developed at EPFL. * * \author Truong X. Nghiem (xuan.nghiem@epfl.ch) */ #include <cassert> #include <obnsim_basic.h> #include <cctype> // Name of the...
28.443182
122
0.603676
sduerr85
e54a08078b3a332b8803c5275d4a1b5bde7eff21
219
cpp
C++
source/fifoSolver.cpp
Zegis/MPD-helper
b5a4c3299922e09276dd736520824d5f6a2baab3
[ "MIT" ]
null
null
null
source/fifoSolver.cpp
Zegis/MPD-helper
b5a4c3299922e09276dd736520824d5f6a2baab3
[ "MIT" ]
null
null
null
source/fifoSolver.cpp
Zegis/MPD-helper
b5a4c3299922e09276dd736520824d5f6a2baab3
[ "MIT" ]
null
null
null
#include "headers/fifoSolver.h" fifoSolver::fifoSolver() { } Solution fifoSolver::Solve(QList<Job *> jobs, int MachineAmount) { sortJobs(&jobs,0,&fifoSolver::AscendingBasedOnRelase); return Solution(jobs); }
16.846154
64
0.726027
Zegis
e54aa0a914225501eaa3d5c768628a6730d5babf
1,374
cpp
C++
tools.cpp
PapaSinku/SinkuEngine
2202162d12a52df8438d7cb8c5ffc37847fd87c4
[ "MIT" ]
null
null
null
tools.cpp
PapaSinku/SinkuEngine
2202162d12a52df8438d7cb8c5ffc37847fd87c4
[ "MIT" ]
null
null
null
tools.cpp
PapaSinku/SinkuEngine
2202162d12a52df8438d7cb8c5ffc37847fd87c4
[ "MIT" ]
null
null
null
#include "tools.hpp" using namespace std; void sdl_error(string error_message) { cout << error_message << endl << "SDL_Error: " << SDL_GetError() << endl; } void sdl_image_error(std::string error_message) { cout << error_message << endl << "SDL_Error: " << IMG_GetError() << endl; } SDL_Surface* imageSurface...
26.941176
86
0.694323
PapaSinku
e54ea1d7707a224e5dc3486938053bb2ea86e2e6
2,395
cpp
C++
frameworks/core/components/positioned/render_positioned.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/core/components/positioned/render_positioned.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/core/components/positioned/render_positioned.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
1
2021-09-13T11:17:50.000Z
2021-09-13T11:17:50.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 ...
27.528736
90
0.670146
openharmony-gitee-mirror
e55178e6ca721643affc7ab84cc5050926a440fa
8,058
cpp
C++
test/test_exec/nsearch/testNSearchLib.cpp
gitter-badger/PeriDEM
57c6db80ded86dba12bc8a9d731da439ce3d3947
[ "BSL-1.0" ]
null
null
null
test/test_exec/nsearch/testNSearchLib.cpp
gitter-badger/PeriDEM
57c6db80ded86dba12bc8a9d731da439ce3d3947
[ "BSL-1.0" ]
null
null
null
test/test_exec/nsearch/testNSearchLib.cpp
gitter-badger/PeriDEM
57c6db80ded86dba12bc8a9d731da439ce3d3947
[ "BSL-1.0" ]
null
null
null
/* * ---------------------------------- * Copyright (c) 2021 Prashant K. Jha * ---------------------------------- * * 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) */ #include "testNSearchLib.h" #include "nsea...
29.301818
79
0.569372
gitter-badger
e55566aca5aee7fbd927a14f88ce511662120ec1
615
cpp
C++
ch06/ex6_1.cpp
zzb610/essential-cpp-solutions
166bf750102a1d8c08db1c5897d2f300027f6a39
[ "MulanPSL-1.0" ]
1
2021-09-11T07:59:14.000Z
2021-09-11T07:59:14.000Z
ch06/ex6_1.cpp
zzb610/essential-cpp-solutions
166bf750102a1d8c08db1c5897d2f300027f6a39
[ "MulanPSL-1.0" ]
null
null
null
ch06/ex6_1.cpp
zzb610/essential-cpp-solutions
166bf750102a1d8c08db1c5897d2f300027f6a39
[ "MulanPSL-1.0" ]
null
null
null
#include <iostream> template <typename ValType> class Example { public: Example(const ValType &min, const ValType &max); Example(const ValType *array, int size); ValType &operator[](int index); bool operator==(const Example &rhs) const; bool insert(const ValType *val, int index); bool insert(...
21.206897
52
0.658537
zzb610
e558a98dae94c13e4419d76686d76602c313ba65
2,220
hpp
C++
third_party/boost/sandbox/boost/logging/detail/tss/tss_ensure_proper_delete.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
third_party/boost/sandbox/boost/logging/detail/tss/tss_ensure_proper_delete.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
third_party/boost/sandbox/boost/logging/detail/tss/tss_ensure_proper_delete.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
// tss_ensure_proper_delete.hpp // Boost Logging library // // Author: John Torjo, www.torjo.com // // Copyright (C) 2007 John Torjo (see www.torjo.com for email) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.bo...
24.395604
81
0.653604
gbucknell
e55e95f3f44d6adfe3cc7adb5b1f81e818affae0
306
hpp
C++
tests/chrono/chrono_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
11
2021-03-15T07:06:21.000Z
2021-09-27T13:54:25.000Z
tests/chrono/chrono_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
null
null
null
tests/chrono/chrono_full.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
1
2021-06-24T10:46:46.000Z
2021-06-24T10:46:46.000Z
#pragma once //------------------------------------------------------------------------------ namespace chrono_tests { //------------------------------------------------------------------------------ void run_full(); //------------------------------------------------------------------------------ }
21.857143
80
0.140523
olegpublicprofile
e56119450b708afa3994d4c459b6626cf86cb226
6,154
cpp
C++
WinAPI/L13/L13.cpp
virtualmode/Archive
04c41b29edd9b6df1c13ab2318b7c138e59dd81d
[ "MIT" ]
null
null
null
WinAPI/L13/L13.cpp
virtualmode/Archive
04c41b29edd9b6df1c13ab2318b7c138e59dd81d
[ "MIT" ]
null
null
null
WinAPI/L13/L13.cpp
virtualmode/Archive
04c41b29edd9b6df1c13ab2318b7c138e59dd81d
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <process.h> #include <windows.h> #define TEXT_SIZE 128 struct Thread { HANDLE hThread; unsigned Id; }; int k, n, p; // n - номер потока, p - приоритет. HDC hDC; // Указатель на контекст для рисования. HWND hWndControl[4]; Thread Threads[2]; HINSTAN...
31.721649
183
0.668996
virtualmode
e563e1a28101ea2ec95776c0290115cf9d94f2ba
2,243
cpp
C++
samples/cpp/neural_networks/sources/daal_alexnet.cpp
rayrapetyan/daal
41cc748dc50097b1064e40395a4da7ce6f836244
[ "Apache-2.0" ]
null
null
null
samples/cpp/neural_networks/sources/daal_alexnet.cpp
rayrapetyan/daal
41cc748dc50097b1064e40395a4da7ce6f836244
[ "Apache-2.0" ]
null
null
null
samples/cpp/neural_networks/sources/daal_alexnet.cpp
rayrapetyan/daal
41cc748dc50097b1064e40395a4da7ce6f836244
[ "Apache-2.0" ]
null
null
null
/* file: daal_alexnet.cpp */ //============================================================== // // SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT, // http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/ // // Copyright 2017-2018 Intel Corporation // // THIS F...
39.350877
113
0.66206
rayrapetyan
e5641b7f89f4586d12b5ce3e79c1cd06e50d2895
4,680
cc
C++
src/vnsw/agent/ovs_tor_agent/ovsdb_client/ovsdb_resource_vxlan_id.cc
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
37
2020-09-21T10:42:26.000Z
2022-01-09T10:16:40.000Z
src/vnsw/agent/ovs_tor_agent/ovsdb_client/ovsdb_resource_vxlan_id.cc
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
2
2018-12-04T02:20:52.000Z
2018-12-22T06:16:30.000Z
src/vnsw/agent/ovs_tor_agent/ovsdb_client/ovsdb_resource_vxlan_id.cc
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
21
2020-08-25T12:48:42.000Z
2022-03-22T04:32:18.000Z
/* * Copyright (c) 2015 Juniper Networks, Inc. All rights reserved. */ #include <ovsdb_entry.h> #include <ovsdb_object.h> #include <ovsdb_resource_vxlan_id.h> using namespace OVSDB; OvsdbResourceVxLanId::OvsdbResourceVxLanId(OvsdbResourceVxLanIdTable *table, KSyncEntry *e...
29.433962
78
0.596795
jnpr-pranav
e56470106e642884890ee85c08b837144a8feafb
7,624
hpp
C++
library/ATF/CD3DApplicationInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/CD3DApplicationInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/CD3DApplicationInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CD3DApplication.hpp> START_ATF_NAMESPACE namespace Info { using CD3DApplicationAdjustWindowForChange1_ptr = int32_t (WINAPIV*)(struct CD3DAppl...
103.027027
219
0.797613
lemkova
e564c3e71bca048d54edb8b13dcfcd96bf76d6ea
3,315
hpp
C++
include/Mahi/Robo/Mechatronics/AtiSensor.hpp
mahilab/mahi-robo
8df76b7d0174feb3569182cbd65b0305d2a57a22
[ "MIT" ]
1
2020-05-07T13:40:28.000Z
2020-05-07T13:40:28.000Z
include/Mahi/Robo/Mechatronics/AtiSensor.hpp
mahilab/mahi-robo
8df76b7d0174feb3569182cbd65b0305d2a57a22
[ "MIT" ]
null
null
null
include/Mahi/Robo/Mechatronics/AtiSensor.hpp
mahilab/mahi-robo
8df76b7d0174feb3569182cbd65b0305d2a57a22
[ "MIT" ]
1
2020-12-21T09:44:36.000Z
2020-12-21T09:44:36.000Z
// MIT License // // Copyright (c) 2020 Mechatronics and Haptic Interfaces Lab - Rice University // // 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 l...
41.4375
97
0.694419
mahilab
e56775b18ae4c15e295d984d0440e50c30161375
2,852
cpp
C++
cpp/basix/brezzi-douglas-marini.cpp
nikhilTkur/basix
62b1a3b903f1aabbe207e848595432d5a2da0dba
[ "MIT" ]
null
null
null
cpp/basix/brezzi-douglas-marini.cpp
nikhilTkur/basix
62b1a3b903f1aabbe207e848595432d5a2da0dba
[ "MIT" ]
null
null
null
cpp/basix/brezzi-douglas-marini.cpp
nikhilTkur/basix
62b1a3b903f1aabbe207e848595432d5a2da0dba
[ "MIT" ]
null
null
null
// Copyright (c) 2020 Chris Richardson & Matthew Scroggs // FEniCS Project // SPDX-License-Identifier: MIT #include "brezzi-douglas-marini.h" #include "element-families.h" #include "lagrange.h" #include "maps.h" #include "moments.h" #include "nedelec.h" #include "polyset.h" #include "quadrature.h" #include <numeric...
33.952381
79
0.65568
nikhilTkur
e567fe799a756faf5de1745546fc7f344992a2c7
10,116
cc
C++
thirdparty/aria2/src/DefaultBtMessageDispatcher.cc
deltegic/deltegic
9b4f3a505a6842db52efbe850150afbab3af5e2f
[ "BSD-3-Clause" ]
null
null
null
thirdparty/aria2/src/DefaultBtMessageDispatcher.cc
deltegic/deltegic
9b4f3a505a6842db52efbe850150afbab3af5e2f
[ "BSD-3-Clause" ]
2
2021-04-08T08:46:23.000Z
2021-04-08T08:57:58.000Z
thirdparty/aria2/src/DefaultBtMessageDispatcher.cc
deltegic/deltegic
9b4f3a505a6842db52efbe850150afbab3af5e2f
[ "BSD-3-Clause" ]
null
null
null
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
31.6125
80
0.666568
deltegic
e56b185395191bc7c313969043e419e2ad1b893d
4,119
cpp
C++
src/tests/functional/plugin/gpu/concurrency/gpu_concurrency_tests.cpp
ivkalgin/openvino
81685c8d212135dd9980da86a18db41fbf6d250a
[ "Apache-2.0" ]
null
null
null
src/tests/functional/plugin/gpu/concurrency/gpu_concurrency_tests.cpp
ivkalgin/openvino
81685c8d212135dd9980da86a18db41fbf6d250a
[ "Apache-2.0" ]
18
2022-01-21T08:42:58.000Z
2022-03-28T13:21:31.000Z
src/tests/functional/plugin/gpu/concurrency/gpu_concurrency_tests.cpp
ematroso/openvino
403339f8f470c90dee6f6d94ed58644b2787f66b
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include <utility> #include <vector> #include <memory> #include "openvino/runtime/core.hpp" #include <gpu/gpu_config.hpp> #include <common_test_utils/test_common.hpp> #include <functional_test_utils/plugin_cache....
37.108108
130
0.636562
ivkalgin
e56b5728f7bc6af2b0f1f216f2713363e3047faa
577
hpp
C++
include/fcppt/math/detail/binary_type.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/math/detail/binary_type.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/math/detail/binary_type.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // 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 FCPPT_MATH_DETAIL_BINARY_TYPE_HPP_INCLUDED #define FCPPT_MATH_DETAIL_BINARY_TYPE_HPP_INCLU...
20.607143
61
0.729636
vinzenz
e57059c1223fa766359d5c15c87c1a0537d43e5f
6,367
cpp
C++
src/gamebase/src/impl/ui/ScrollBar.cpp
TheMrButcher/opengl_lessons
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
1
2016-10-25T21:15:16.000Z
2016-10-25T21:15:16.000Z
src/gamebase/src/impl/ui/ScrollBar.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
375
2016-06-04T11:27:40.000Z
2019-04-14T17:11:09.000Z
src/gamebase/src/impl/ui/ScrollBar.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
null
null
null
/** * Copyright (c) 2018 Slavnejshev Filipp * This file is licensed under the terms of the MIT license. */ #include <stdafx.h> #include <gamebase/impl/ui/ScrollBar.h> #include <gamebase/impl/geom/PointGeometry.h> #include <gamebase/impl/geom/RectGeometry.h> #include <gamebase/impl/serial/ISerializer.h> #include <ga...
31.058537
98
0.639705
TheMrButcher
e5706f801da9659f49e9f9825e89e2ebdcb06b31
8,942
cpp
C++
src/autowiring/test/AutoPacketFactoryTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
src/autowiring/test/AutoPacketFactoryTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
src/autowiring/test/AutoPacketFactoryTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include <autowiring/CoreThread.h> #include CHRONO_HEADER #include THREAD_HEADER class AutoPacketFactoryTest: public testing::Test {}; TEST_F(AutoPacketFactoryTest, VerifyNoIssueWhileNotStarted) { AutoRequired<AutoPacketFactory>...
35.066667
154
0.733057
CaseyCarter
e570ddf78ef8d128fe95cdf07a55b9ba910cec2e
2,421
cpp
C++
CodeChef/KS2.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-01-30T13:21:30.000Z
2018-01-30T13:21:30.000Z
CodeChef/KS2.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
null
null
null
CodeChef/KS2.cpp
TISparta/competitive-programming-solutions
31987d4e67bb874bf15653565c6418b5605a20a8
[ "MIT" ]
1
2018-08-29T13:26:50.000Z
2018-08-29T13:26:50.000Z
/** * > Author : TISparta * > Date : 17-06-19 * > Tags : DP, Binary Search, Greedy * > Difficulty : 5 / 10 */ #pragma comment (linker,"/STACK:1024000000") #pragma GCC optimize(2) #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") #pragma GCC optimization ("unroll-loops") #include <bits...
23.278846
100
0.527468
TISparta
e5763e9b19aa0e988bd1b926a2cab8712d67d804
773
cpp
C++
NonLinearSimultaneousEquationsTest.cpp
Hiroshi-Nakamura/NonLinearSimultaneousEquations
a5afac2f151a3ff83b75ba46bb1d3317038d271d
[ "MIT" ]
null
null
null
NonLinearSimultaneousEquationsTest.cpp
Hiroshi-Nakamura/NonLinearSimultaneousEquations
a5afac2f151a3ff83b75ba46bb1d3317038d271d
[ "MIT" ]
null
null
null
NonLinearSimultaneousEquationsTest.cpp
Hiroshi-Nakamura/NonLinearSimultaneousEquations
a5afac2f151a3ff83b75ba46bb1d3317038d271d
[ "MIT" ]
null
null
null
#include "NonLinearSimultaneousEquations.hpp" #include <iostream> int main(int argc, char** argv){ /// prepair initial x Eigen::VectorXd x_val(2); x_val << 0.0, 0.5; /// solve NonLinearSimultaneousEquations::solve( { [](const std::vector<AutomaticDifferentiation::FuncPtr<doubl...
28.62963
112
0.518758
Hiroshi-Nakamura
e57666ffca08079430ef3296c1d10d213a89bebe
993
cc
C++
paddle/infrt/dialect/opt.cc
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
11
2016-08-29T07:43:26.000Z
2016-08-29T07:51:24.000Z
paddle/infrt/dialect/opt.cc
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
null
null
null
paddle/infrt/dialect/opt.cc
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
1
2021-12-09T08:59:17.000Z
2021-12-09T08:59:17.000Z
// 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 required...
36.777778
75
0.745217
L-Net-1992
ec77219258d453a0236d273a3cfdf01a71641a5c
23,036
hpp
C++
third_party/kangaru/container.hpp
kirillPshenychnyi/kangaru_di_sample
5e79860852d167b4b63185263edfb62c628741cc
[ "MIT" ]
2
2019-07-12T09:08:46.000Z
2020-09-01T13:12:45.000Z
third_party/kangaru/container.hpp
kirillPshenychnyi/kangaru_di_sample
5e79860852d167b4b63185263edfb62c628741cc
[ "MIT" ]
null
null
null
third_party/kangaru/container.hpp
kirillPshenychnyi/kangaru_di_sample
5e79860852d167b4b63185263edfb62c628741cc
[ "MIT" ]
null
null
null
#ifndef KGR_KANGARU_INCLUDE_KANGARU_CONTAINER_HPP #define KGR_KANGARU_INCLUDE_KANGARU_CONTAINER_HPP #include "detail/default_source.hpp" #include "detail/traits.hpp" #include "detail/validity_check.hpp" #include "detail/utils.hpp" #include "detail/override_range_service.hpp" #include "detail/container_service.hpp" #in...
38.076033
130
0.704332
kirillPshenychnyi
ec79d74f4860d465c34f6f3276879ca28a6062e7
1,791
cc
C++
horace/terminate_flag.cc
gdshaw/libholmes-horace
6a7d8365f01e165853fc967ce8eae45b82102fdf
[ "BSD-3-Clause" ]
null
null
null
horace/terminate_flag.cc
gdshaw/libholmes-horace
6a7d8365f01e165853fc967ce8eae45b82102fdf
[ "BSD-3-Clause" ]
null
null
null
horace/terminate_flag.cc
gdshaw/libholmes-horace
6a7d8365f01e165853fc967ce8eae45b82102fdf
[ "BSD-3-Clause" ]
null
null
null
// This file is part of libholmes. // Copyright 2019 Graham Shaw // Redistribution and modification are permitted within the terms of the // BSD-3-Clause licence as defined by v3.4 of the SPDX Licence List. #include <unistd.h> #include <fcntl.h> #include <poll.h> #include "horace/libc_error.h" #include "horace/termin...
20.352273
72
0.650475
gdshaw
ec7fbacf407c35c6de50b087c96f860e417c388d
4,486
cxx
C++
applications/rtkprojectgeometricphantom/rtkprojectgeometricphantom.cxx
ferdymercury/RTK
0d524ea7904519f37b5155af35eb41641e231578
[ "Apache-2.0", "BSD-3-Clause" ]
167
2015-02-26T08:39:33.000Z
2022-03-31T04:40:35.000Z
applications/rtkprojectgeometricphantom/rtkprojectgeometricphantom.cxx
ferdymercury/RTK
0d524ea7904519f37b5155af35eb41641e231578
[ "Apache-2.0", "BSD-3-Clause" ]
270
2015-02-26T15:34:32.000Z
2022-03-22T09:49:24.000Z
applications/rtkprojectgeometricphantom/rtkprojectgeometricphantom.cxx
ferdymercury/RTK
0d524ea7904519f37b5155af35eb41641e231578
[ "Apache-2.0", "BSD-3-Clause" ]
117
2015-05-01T14:56:49.000Z
2022-03-11T03:18:26.000Z
/*========================================================================= * * Copyright RTK Consortium * * 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.apa...
36.471545
120
0.689033
ferdymercury
ec80dcf16e1754aeda5189efa89e0e405fe61cc5
766
cpp
C++
DFG/DFGUICmd/DFGUICmd_SetNodeComment.cpp
yoann01/FabricUI
d4d24f25245b8ccd2d206aded2b6c5f2aca09155
[ "BSD-3-Clause" ]
null
null
null
DFG/DFGUICmd/DFGUICmd_SetNodeComment.cpp
yoann01/FabricUI
d4d24f25245b8ccd2d206aded2b6c5f2aca09155
[ "BSD-3-Clause" ]
null
null
null
DFG/DFGUICmd/DFGUICmd_SetNodeComment.cpp
yoann01/FabricUI
d4d24f25245b8ccd2d206aded2b6c5f2aca09155
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2010-2017 Fabric Software Inc. All rights reserved. // #include <FabricUI/DFG/DFGUICmd/DFGUICmd_SetNodeComment.h> FABRIC_UI_DFG_NAMESPACE_BEGIN void DFGUICmd_SetNodeComment::appendDesc( QString &desc ) { desc += "Change comment of "; appendDesc_NodeName( m_nodeName, desc ); } void DFGUICmd_S...
18.682927
68
0.712794
yoann01
ec8708c1cf6f3e2c019d92a9f0d1045135cdc18a
1,028
cpp
C++
core/src/ResourceManagement/Loaders/TextureLoader.cpp
tokongs/yage
14c9411d8efce08b89c0deb134b5c3023a32c577
[ "MIT" ]
null
null
null
core/src/ResourceManagement/Loaders/TextureLoader.cpp
tokongs/yage
14c9411d8efce08b89c0deb134b5c3023a32c577
[ "MIT" ]
null
null
null
core/src/ResourceManagement/Loaders/TextureLoader.cpp
tokongs/yage
14c9411d8efce08b89c0deb134b5c3023a32c577
[ "MIT" ]
null
null
null
#include "TextureLoader.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image/stb_image.h" namespace yage { TextureLoader::TextureLoader() { } TextureLoader::~TextureLoader() { } Resource *TextureLoader::load(std::string file_path) { std::string fileContent = mFileReader.readAsString(fi...
30.235294
88
0.639105
tokongs
ec87d4f8b5d715af6485e69657a44d0a709fde61
588
cc
C++
chrome/browser/ui/athena/extensions/extension_install_ui_factory_athena.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-11-28T10:46:52.000Z
2019-11-28T10:46:52.000Z
chrome/browser/ui/athena/extensions/extension_install_ui_factory_athena.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/athena/extensions/extension_install_ui_factory_athena.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/extensions/extension_install_ui_factory.h" #include "athena/extensions/public/extensions_delegate.h" #include "extensions/bro...
32.666667
78
0.797619
kjthegod
ec888971842a8d55071566dfa0628fc4ed150deb
4,741
cpp
C++
refData/SRC/recog/recopt.cpp
xrick/Crafting_ASR_From_Scratch
a09820676e062db4b99b6ebabe5dd3ae4bb31a71
[ "MIT" ]
null
null
null
refData/SRC/recog/recopt.cpp
xrick/Crafting_ASR_From_Scratch
a09820676e062db4b99b6ebabe5dd3ae4bb31a71
[ "MIT" ]
null
null
null
refData/SRC/recog/recopt.cpp
xrick/Crafting_ASR_From_Scratch
a09820676e062db4b99b6ebabe5dd3ae4bb31a71
[ "MIT" ]
null
null
null
// ********************************************************************* // * This file is part of RES 6.0. * // * RES 6.0 is an original software distributed within the book * // * * // * |------------...
40.87069
96
0.542502
xrick
ec8b689e183b75aa918208ebe7afed49133b9b71
1,412
cpp
C++
src/copper_pymodules/HOU/HOU_Geometry.cpp
cinepost/CopperFX
1729d1fb75b4d42f3560983fbde174df30371b97
[ "Unlicense" ]
2
2019-06-25T23:36:55.000Z
2022-03-07T04:15:50.000Z
src/copper_pymodules/HOU/HOU_Geometry.cpp
cinepost/CopperFX
1729d1fb75b4d42f3560983fbde174df30371b97
[ "Unlicense" ]
null
null
null
src/copper_pymodules/HOU/HOU_Geometry.cpp
cinepost/CopperFX
1729d1fb75b4d42f3560983fbde174df30371b97
[ "Unlicense" ]
1
2019-08-22T08:23:37.000Z
2019-08-22T08:23:37.000Z
//#include "copper_pymodule/COM/HOU_Module.h" #include "copper_pymodules/HOU/HOU_Point.h" #include "copper_pymodules/HOU/HOU_Geometry.h" using namespace copper; namespace hou_module { HOU_Geometry::HOU_Geometry() { this->_geo = new GeometryOpData(); } HOU_Geometry::HOU_Geometry(GeometryOpData *geo) { this->_geo =...
30.695652
121
0.71034
cinepost
ec8cc8a89b0290455cf69cc837753cd28cfc6fb7
3,152
hxx
C++
src/interfaces/common/caller/ad3_caller.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
318
2015-01-07T15:22:02.000Z
2022-01-22T10:10:29.000Z
src/interfaces/common/caller/ad3_caller.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
89
2015-03-24T14:33:01.000Z
2020-07-10T13:59:13.000Z
src/interfaces/common/caller/ad3_caller.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
119
2015-01-13T08:35:03.000Z
2022-03-01T01:49:08.000Z
#ifndef AD3_CALLER_HXX_ #define AD3_CALLER_HXX_ #include <opengm/opengm.hxx> #include <opengm/inference/external/ad3.hxx> #include "inference_caller_base.hxx" #include "../argument/argument.hxx" namespace opengm { namespace interface { template <class IO, class GM, class ACC> class Ad3Caller : public InferenceCal...
32.494845
145
0.722716
burcin
ec8ed91b4d4f555be82915746445d8ac0ad529af
1,566
cpp
C++
Source/Motor2D/Dissolve.cpp
Needlesslord/PaintWars_by_BrainDeadStudios
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
2
2020-03-06T11:32:40.000Z
2020-03-20T12:17:30.000Z
Source/Motor2D/Dissolve.cpp
Needlesslord/Heathen_Games
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
2
2020-03-03T09:56:57.000Z
2020-05-02T15:50:45.000Z
Source/Motor2D/Dissolve.cpp
Needlesslord/Heathen_Games
578985b1a41ab9f0b8c5dd087ba3bc3d3ffd2edf
[ "MIT" ]
1
2020-03-17T18:50:53.000Z
2020-03-17T18:50:53.000Z
#include "Dissolve.h" #include "TransitionManager.h" Dissolve::Dissolve(SCENES next_scene, float step_duration) : Transition(next_scene, step_duration) , dissolving_alpha(0.0f) , condensing_alpha(0.0f) { InitDissolve(); } Dissolve::~Dissolve() { } void Dissolve::StepTransition() { switch (step) { case TRANSITI...
18.209302
98
0.736909
Needlesslord
ec8f41342830a6f2056500c0819252c425271da8
5,552
cpp
C++
qtlua/packages/qttorch/qttorch.cpp
elq/torch5
5965bd6410f8ca7e87c6bc9531aaf46e10ed281e
[ "BSD-3-Clause" ]
1
2016-05-09T05:34:15.000Z
2016-05-09T05:34:15.000Z
qtlua/packages/qttorch/qttorch.cpp
elq/torch5
5965bd6410f8ca7e87c6bc9531aaf46e10ed281e
[ "BSD-3-Clause" ]
null
null
null
qtlua/packages/qttorch/qttorch.cpp
elq/torch5
5965bd6410f8ca7e87c6bc9531aaf46e10ed281e
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- #include "qttorch.h" #include <QColor> #include <QDebug> #include <QImage> #include <QMetaType> #include "TH.h" #include "luaT.h" static const void* torch_Tensor_id; static int qttorch_qimage_fromtensor(lua_State *L) { THTensor *Tsrc = (THTensor*)luaT_checkudata(L,1,torch_Tensor_id); long depth...
26.821256
75
0.494597
elq
ec9243b2f8ba70c85d5e5eb1bd3ac257b9a9978c
9,012
cpp
C++
Source/ChilliSource/Rendering/Model/SubMesh.cpp
angelahnicole/ChilliSource_ParticleOpt
6bee7e091c7635384d6aefbf730a69bbb5b55721
[ "MIT" ]
null
null
null
Source/ChilliSource/Rendering/Model/SubMesh.cpp
angelahnicole/ChilliSource_ParticleOpt
6bee7e091c7635384d6aefbf730a69bbb5b55721
[ "MIT" ]
null
null
null
Source/ChilliSource/Rendering/Model/SubMesh.cpp
angelahnicole/ChilliSource_ParticleOpt
6bee7e091c7635384d6aefbf730a69bbb5b55721
[ "MIT" ]
null
null
null
// // SubMesh.cpp // Chilli Source // Created by Scott Downie on 08/10/2010. // // The MIT License (MIT) // // Copyright (c) 2010 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal /...
41.529954
200
0.533844
angelahnicole
ec93cb349d7d4ea9d43645d12a52e8b28c8df3ac
15,082
cpp
C++
ChessVisualizer/Board.cpp
nErumin/Interactive_Chess
8b7769febb5bf94e8099257785dff8997d9c3dec
[ "MIT" ]
3
2019-06-08T09:10:45.000Z
2019-11-24T03:10:00.000Z
ChessVisualizer/Board.cpp
Jang-Woo-Jin/Interactive_Chess
8b7769febb5bf94e8099257785dff8997d9c3dec
[ "MIT" ]
4
2019-03-23T14:59:57.000Z
2019-09-18T04:29:18.000Z
ChessVisualizer/Board.cpp
Jang-Woo-Jin/Interactive_Chess
8b7769febb5bf94e8099257785dff8997d9c3dec
[ "MIT" ]
null
null
null
#include <memory> #include <exception> #include "Vector2.h" #include "Board.h" #include "King.h" #include "Queen.h" #include "Rook.h" #include "Bishop.h" #include "Knight.h" #include "Pawn.h" #include "NullPiece.h" #include "Cell.h" #include "PieceColor.h" #include <algorithm> #include <cmath> #include "Piece.h" #inclu...
36.08134
144
0.660788
nErumin
ec93d1181751399f8eb18c3ca34f9c2d13088cf5
2,112
hpp
C++
MyLib/ipcresponse.hpp
NuLL3rr0r/e-pooyasokhan-com-lcms
cf4b8cd0118a10bbecc4a1bb29c443385fa21e12
[ "MIT", "Unlicense" ]
null
null
null
MyLib/ipcresponse.hpp
NuLL3rr0r/e-pooyasokhan-com-lcms
cf4b8cd0118a10bbecc4a1bb29c443385fa21e12
[ "MIT", "Unlicense" ]
null
null
null
MyLib/ipcresponse.hpp
NuLL3rr0r/e-pooyasokhan-com-lcms
cf4b8cd0118a10bbecc4a1bb29c443385fa21e12
[ "MIT", "Unlicense" ]
null
null
null
#ifndef IPCRESPONSE_HPP #define IPCRESPONSE_HPP #include <functional> #include <string> #include <unordered_map> #include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/ptree.hpp> #include "compression.hpp" #include "ipcprotocol.hpp" namespace MyLib { template<typename _ResponseStatusT, type...
30.608696
99
0.721117
NuLL3rr0r
ec9477e9408b79385b9b0df57aa2725c7c625653
589
hpp
C++
include/RED4ext/Scripting/Natives/Generated/audio/VoiceTriggerLimits.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/audio/VoiceTriggerLimits.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/audio/VoiceTriggerLimits.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> namespace RED4ext { namespace audio { struct VoiceTriggerLimits { static constexpr const char* NAME = "audioVoiceTriggerLimits"; static constexpr const char* ALIAS = NAME; float proba...
23.56
66
0.740238
jackhumbert
ec954d788768ad94ba2fd415232e4343a949df57
788
cpp
C++
src/Item.cpp
Miguel-EpicJS/state-rpg-tutorial
c909fe7ffee2cad4d3aac88afef9c5dc21b965ce
[ "MIT" ]
null
null
null
src/Item.cpp
Miguel-EpicJS/state-rpg-tutorial
c909fe7ffee2cad4d3aac88afef9c5dc21b965ce
[ "MIT" ]
null
null
null
src/Item.cpp
Miguel-EpicJS/state-rpg-tutorial
c909fe7ffee2cad4d3aac88afef9c5dc21b965ce
[ "MIT" ]
null
null
null
#include "../includes/Item.h" void Item::generate() { } Item::Item(std::string name, unsigned type, unsigned rarity, unsigned value) { this->name = name; this->type = type; this->rarity = rarity; this->value = value; } Item::~Item() { } const std::string& Item::getName() { return this->na...
16.081633
76
0.549492
Miguel-EpicJS
ec9624f4536ab72f57b382583e849e0d3e439ec1
1,429
cpp
C++
FleetOptimizer/PortList.cpp
valerymo/fleet-optimizer
1657f853a990cea459377a9f4f457ada675b997c
[ "Apache-2.0" ]
null
null
null
FleetOptimizer/PortList.cpp
valerymo/fleet-optimizer
1657f853a990cea459377a9f4f457ada675b997c
[ "Apache-2.0" ]
null
null
null
FleetOptimizer/PortList.cpp
valerymo/fleet-optimizer
1657f853a990cea459377a9f4f457ada675b997c
[ "Apache-2.0" ]
null
null
null
// PortList.cpp: implementation of the CPortList class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "FleetOptimizer.h" #include "PortList.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif CPortList* CPortList::_...
22.68254
118
0.578027
valerymo
ec96b45150edfa97c232188f358bc35342de42cb
408
cpp
C++
src/Tests/ActionBuildBruteforce.cpp
Matej-Chmel/hnsw-chm0065
ada0d367b0231caf94551a3fc760d22648c783c6
[ "MIT" ]
null
null
null
src/Tests/ActionBuildBruteforce.cpp
Matej-Chmel/hnsw-chm0065
ada0d367b0231caf94551a3fc760d22648c783c6
[ "MIT" ]
null
null
null
src/Tests/ActionBuildBruteforce.cpp
Matej-Chmel/hnsw-chm0065
ada0d367b0231caf94551a3fc760d22648c783c6
[ "MIT" ]
null
null
null
#include "ActionBuildBruteforce.hpp" #include "literals.hpp" namespace chm { ActionBuildBruteforce::ActionBuildBruteforce() : Action(false) {} void ActionBuildBruteforce::run() { this->s->bruteforce = new Bruteforce(this->s->nodeCoords->data(), DIM, NODE_COUNT); } std::string ActionBuildBruteforce::text(long l...
27.2
85
0.715686
Matej-Chmel
ec9837c9fa78ae5d02004bb734ba57f4dfdeea5c
1,849
hxx
C++
main/cui/source/inc/bbdlg.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/cui/source/inc/bbdlg.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/cui/source/inc/bbdlg.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 y...
33.017857
91
0.601406
Grosskopf
ec9cdb1af9c522489dc45d61aa0133cdd007fb7f
366
cpp
C++
Biosphere/Source/bio/biotope/arm/Tick.cpp
PMArkive/Biosphere
baf62450b084ce327c3fc2eb0aa918e32462164e
[ "MIT" ]
1
2021-09-10T17:18:51.000Z
2021-09-10T17:18:51.000Z
Biosphere/Source/bio/biotope/arm/Tick.cpp
PMArkive/Biosphere
baf62450b084ce327c3fc2eb0aa918e32462164e
[ "MIT" ]
null
null
null
Biosphere/Source/bio/biotope/arm/Tick.cpp
PMArkive/Biosphere
baf62450b084ce327c3fc2eb0aa918e32462164e
[ "MIT" ]
null
null
null
#include <bio/biotope/arm/Tick.hpp> namespace bio::arm { u64 GetSystemTick() { u64 tick; __asm__ __volatile__ ("mrs %x[data], cntpct_el0" : [data] "=r" (tick)); return tick; } u64 GetSystemTickFrequency() { u64 freq; __asm__ ("mrs %x[data], cntfrq_el0" : [da...
20.333333
79
0.538251
PMArkive
ec9cedbad08ac278a4bf7ba84485bfcbb276b951
1,879
cpp
C++
hiro/cocoa/widget/frame.cpp
kirwinia/ares-emu-v121
722aa227caf943a4a64f1678c1bdd07b38b15caa
[ "0BSD" ]
2
2021-06-28T06:04:56.000Z
2021-06-28T11:30:20.000Z
cocoa/widget/frame.cpp
ProtoByter/hiro
89972942430f5cc9c931afdc115a0db253fa339a
[ "0BSD" ]
1
2022-02-16T02:46:39.000Z
2022-02-16T04:30:29.000Z
cocoa/widget/frame.cpp
ProtoByter/hiro
89972942430f5cc9c931afdc115a0db253fa339a
[ "0BSD" ]
1
2021-12-25T11:34:57.000Z
2021-12-25T11:34:57.000Z
#if defined(Hiro_Frame) @implementation CocoaFrame : NSBox -(id) initWith:(hiro::mFrame&)frameReference { if(self = [super initWithFrame:NSMakeRect(0, 0, 0, 0)]) { frame = &frameReference; [self setTitle:@""]; } return self; } @end namespace hiro { auto pFrame::construct() -> void { @autoreleasepo...
23.197531
79
0.645556
kirwinia
ec9e388ab9231c80f35ad42808eee70f32e3ab75
919
cpp
C++
src/renderer/shaders/shaders.cpp
fantasiorona/LRender
5fb6f29c323df53986e39b4350ee8494e4642452
[ "MIT" ]
5
2019-11-22T05:31:33.000Z
2021-11-18T19:15:21.000Z
src/renderer/shaders/shaders.cpp
fantasiorona/LRender
5fb6f29c323df53986e39b4350ee8494e4642452
[ "MIT" ]
7
2019-02-21T11:26:38.000Z
2019-03-29T10:28:58.000Z
src/renderer/shaders/shaders.cpp
fantasiorona/LRender
5fb6f29c323df53986e39b4350ee8494e4642452
[ "MIT" ]
1
2021-04-22T17:03:04.000Z
2021-04-22T17:03:04.000Z
#include "shaders.h" using namespace LRender; Shaders::Shaders() : branches( "LRender/glsl/vertexGeometry.glsl", "LRender/glsl/fragmentGeometry.glsl"), leaves( "LRender/glsl/vertexGeometry.glsl", "LRender/glsl/fragmentLeaf.glsl"), shadows( "LRender/glsl/vertexShadows.glsl", "LRender/glsl/fragmentShadow...
18.755102
66
0.747552
fantasiorona
ec9f5f3be8e070fac73086b6e41122c7a5565047
2,525
cpp
C++
dev/Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/MotionEventExport.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
8
2019-10-07T16:33:47.000Z
2020-12-07T03:59:58.000Z
dev/Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/MotionEventExport.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
dev/Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/MotionEventExport.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.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...
41.393443
147
0.730297
jeikabu
eca25f6802bc201467789f170cfe8406b04d7dce
941
cc
C++
chainerx_cc/chainerx/routines/loss.cc
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
2
2019-08-12T21:48:04.000Z
2020-08-27T18:04:20.000Z
chainerx_cc/chainerx/routines/loss.cc
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
null
null
null
chainerx_cc/chainerx/routines/loss.cc
zaltoprofen/chainer
3b03f9afc80fd67f65d5e0395ef199e9506b6ee1
[ "MIT" ]
null
null
null
#include "chainerx/routines/loss.h" #include "chainerx/array.h" #include "chainerx/routines/creation.h" #include "chainerx/routines/explog.h" #include "chainerx/routines/indexing.h" #include "chainerx/routines/misc.h" #include "chainerx/scalar.h" namespace chainerx { Array AbsoluteError(const Array& x1, const Array&...
33.607143
126
0.701382
zaltoprofen
eca66845ac5b6d5d2af240a45b2e3388b8dc1623
13,705
cpp
C++
Modules/Core/test/mitkDataNodeTest.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Modules/Core/test/mitkDataNodeTest.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Modules/Core/test/mitkDataNodeTest.cpp
liu3xing3long/MITK-2016.11
385c506f9792414f40337e106e13d5fd61aa3ccc
[ "Apache-2.0", "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 w...
42.430341
121
0.69668
liu3xing3long
eca77704fa909959c221f87f6eac38ce13099852
15,387
cpp
C++
dynmedias/src/main/jni/utility/common/Profile.cpp
yunsean/SharedLibrary
e3236a8daa7677d93b0aa011881838ad0ff82f77
[ "MIT" ]
1
2019-02-27T10:00:16.000Z
2019-02-27T10:00:16.000Z
dynmedias/src/main/jni/utility/common/Profile.cpp
yunsean/SharedLibrary
e3236a8daa7677d93b0aa011881838ad0ff82f77
[ "MIT" ]
null
null
null
dynmedias/src/main/jni/utility/common/Profile.cpp
yunsean/SharedLibrary
e3236a8daa7677d93b0aa011881838ad0ff82f77
[ "MIT" ]
null
null
null
#include <iosfwd> #include <iostream> #include <fstream> #include "Profile.h" #include "Byte.h" #include "xsystem.h" #define INVALID_VALUE _T("(-~!@#$%^&*+)") ////////////////////////////////////////////////////////////////////////// //CProfile CProfile::CProfile(LPCTSTR lpszIniFile) : m_strIniFile(lps...
33.966887
171
0.659388
yunsean
ecad377c4bb33c02980b43d57dfb348c63412371
1,949
cpp
C++
algorithms/cpp/Problems 901-1000/_934_ShortestBridge.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 901-1000/_934_ShortestBridge.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 901-1000/_934_ShortestBridge.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
/* Source - https://leetcode.com/problems/shortest-bridge/ Author - Shivam Arora */ #include <bits/stdc++.h> using namespace std; struct Element { int x, y, d; Element(int a = -1, int b = -1, int c = -1) { x = a; y = b; d = c; } }; int xDir[4] = {1, 0, -1, 0}; int yDir[4] =...
22.402299
102
0.394048
shivamacs
ecad67077956783f7520353e5b75771a6c698c37
1,422
cpp
C++
third_party/spirv-tools/source/reduce/remove_function_reduction_opportunity.cpp
Alan-love/filament
87ee5783b7f72bb5b045d9334d719ea2de9f5247
[ "Apache-2.0" ]
1,570
2016-06-30T10:40:04.000Z
2022-03-31T01:47:33.000Z
source/reduce/remove_function_reduction_opportunity.cpp
indrarahul2013/SPIRV-Tools
636f449e1529a10d259eb7dc37d97192cf2820f8
[ "Apache-2.0" ]
132
2018-01-17T17:43:25.000Z
2020-09-01T07:41:17.000Z
source/reduce/remove_function_reduction_opportunity.cpp
indrarahul2013/SPIRV-Tools
636f449e1529a10d259eb7dc37d97192cf2820f8
[ "Apache-2.0" ]
253
2016-06-30T18:57:10.000Z
2022-03-25T03:57:40.000Z
// Copyright (c) 2019 Google 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 applicable law or agreed to ...
33.857143
75
0.703938
Alan-love
ecb02ab8ad0b7187565edfbd3f234389c3873125
2,460
cpp
C++
acm/strStr.cpp
nkysg/Asenal
12444c7e50fae2be82d3c4737715a52e3693a3cd
[ "Apache-2.0" ]
5
2017-04-10T03:35:40.000Z
2020-11-26T10:00:57.000Z
acm/strStr.cpp
nkysg/Asenal
12444c7e50fae2be82d3c4737715a52e3693a3cd
[ "Apache-2.0" ]
1
2015-04-09T13:45:25.000Z
2015-04-09T13:45:25.000Z
acm/strStr.cpp
baotiao/Asenal
102170aa92ae72b1d589dd74e8bbbc9ae27a8d97
[ "Apache-2.0" ]
15
2015-03-10T04:15:10.000Z
2021-03-19T13:00:48.000Z
#include<iostream> #include<cstdio> #include<algorithm> #include<cstring> #include<string> #include<cmath> #include<vector> #include<queue> #include<map> #include<ctime> #include<set> typedef long long lld; using namespace std; #ifdef DEBUG #define debug(x) cout<<__LINE__<<" "<<#x<<"="<<x<<endl; #else #define ...
23.207547
73
0.460976
nkysg
ecb0b1904b41af755b79d53f07358f094b5b87c5
118,953
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Level_Sets/PARTICLE_LEVELSET_UNIFORM.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Level_Sets/PARTICLE_LEVELSET_UNIFORM.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Level_Sets/PARTICLE_LEVELSET_UNIFORM.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2002-2007, Ronald Fedkiw, Eran Guendelman, Geoffrey Irving, Sergey Koltakov, Frank Losasso, Duc Nguyen, Nick Rasmussen, Avi Robinson-Mosher, Andrew Selle, Tamar Shinar, Jerry Talton. // This file is part of PhysBAM whose distribution i...
78.207101
420
0.711844
schinmayee
ecb43180b299e99d49622cf7f5b54071e6629eea
1,778
cpp
C++
src/samt.cpp
danieldeutsch/thrax2
68c60bab9f12788e16750b15eba6be5ac9e7df36
[ "MIT" ]
null
null
null
src/samt.cpp
danieldeutsch/thrax2
68c60bab9f12788e16750b15eba6be5ac9e7df36
[ "MIT" ]
null
null
null
src/samt.cpp
danieldeutsch/thrax2
68c60bab9f12788e16750b15eba6be5ac9e7df36
[ "MIT" ]
null
null
null
#include <future> #include <iostream> #include <memory> #include <mutex> #include <sstream> #include <vector> #include "filters.h" #include "label.h" #include "phrasalrule.h" #include "sentence.h" #include "tree.h" namespace { int count = 0; std::mutex countLock, inputLock, outputLock; bool valid(const jhu::thrax::...
22.506329
76
0.584364
danieldeutsch
ecb6f0388bb8c17d82100f348490fc115945968b
48,794
cpp
C++
samples/cpp/SampleApp/src/Application.cpp
rtchagas/alexa-auto-sdk
f449ac4cee533a078056c926c08132b658781e0d
[ "Apache-2.0" ]
null
null
null
samples/cpp/SampleApp/src/Application.cpp
rtchagas/alexa-auto-sdk
f449ac4cee533a078056c926c08132b658781e0d
[ "Apache-2.0" ]
null
null
null
samples/cpp/SampleApp/src/Application.cpp
rtchagas/alexa-auto-sdk
f449ac4cee533a078056c926c08132b658781e0d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "...
44.398544
130
0.574394
rtchagas
ecb7c6d66fe1eb824a85742af82296c143ad1762
355
cpp
C++
test/testUtil/testText/testXmlReader/main.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
test/testUtil/testText/testXmlReader/main.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
test/testUtil/testText/testXmlReader/main.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#include <stdio.h> #include <unistd.h> //#include "Thread.hpp" //#include "ArrayList.hpp" #include "Double.hpp" #include "XmlReader.hpp" #include "XmlValue.hpp" #include "XmlDocument.hpp" using namespace obotcha; extern void simpleattrtest(); extern void testsopenvreader(); int main() { simpleattrtest(); t...
16.136364
31
0.707042
wangsun1983
ecb83560d96c0efc06a2b37a053f835fe101b67b
4,356
cc
C++
modules/control/tools/control_tester.cc
Shokoofeh/apollo
71d6ea753b4595eb38cc54d6650c8de677b173df
[ "Apache-2.0" ]
7
2017-07-07T07:56:13.000Z
2019-03-06T06:27:00.000Z
modules/control/tools/control_tester.cc
Shokoofeh/apollo
71d6ea753b4595eb38cc54d6650c8de677b173df
[ "Apache-2.0" ]
null
null
null
modules/control/tools/control_tester.cc
Shokoofeh/apollo
71d6ea753b4595eb38cc54d6650c8de677b173df
[ "Apache-2.0" ]
2
2017-07-07T07:56:15.000Z
2018-08-10T17:13:34.000Z
/****************************************************************************** * Copyright 2017 The Apollo 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 ...
39.243243
80
0.682277
Shokoofeh
ecb8702fc4f218e0507758661ae4eb67c37f8ca8
2,141
cpp
C++
modules/task_1/chuvashov_a_frequency_symbol/frequency_symbol.cpp
ImKonstant/pp_2020_autumn_engineer
c8ac69681201b63f5cf8b6c6cd790f48f037532a
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/chuvashov_a_frequency_symbol/frequency_symbol.cpp
ImKonstant/pp_2020_autumn_engineer
c8ac69681201b63f5cf8b6c6cd790f48f037532a
[ "BSD-3-Clause" ]
2
2020-11-14T18:00:55.000Z
2020-11-19T16:12:50.000Z
modules/task_1/chuvashov_a_frequency_symbol/frequency_symbol.cpp
ImKonstant/pp_2020_autumn_engineer
c8ac69681201b63f5cf8b6c6cd790f48f037532a
[ "BSD-3-Clause" ]
1
2020-10-10T09:54:14.000Z
2020-10-10T09:54:14.000Z
// Copyright 2020 Chuvashov Artem #include <mpi.h> #include <ctime> #include <random> #include <string> #include "../../../modules/task_1/chuvashov_a_frequency_symbol/frequency_symbol.h" std::string getString(int size) { std::mt19937 gen; gen.seed(static_cast<unsigned int>(time(0))); std::string str_res; ...
30.15493
87
0.6156
ImKonstant