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
cb02ab44386a7e578d72c146c8fb2b199e348abe
1,644
cc
C++
src/GeomModels/EdgeInverseLength.cc
lucydot/devsim
2c69fcc05551bb50ca134490279e206cdeaf91a6
[ "Apache-2.0" ]
100
2015-02-02T23:47:38.000Z
2022-03-15T06:15:15.000Z
src/GeomModels/EdgeInverseLength.cc
lucydot/devsim
2c69fcc05551bb50ca134490279e206cdeaf91a6
[ "Apache-2.0" ]
75
2015-05-13T02:16:41.000Z
2022-02-23T12:20:21.000Z
src/GeomModels/EdgeInverseLength.cc
lucydot/devsim
2c69fcc05551bb50ca134490279e206cdeaf91a6
[ "Apache-2.0" ]
50
2015-10-28T17:24:24.000Z
2022-03-30T17:48:46.000Z
/*** DEVSIM Copyright 2013 Devsim 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 in writing, soft...
26.095238
82
0.747567
lucydot
cb02e9f700447b690d504acdccec7dfce4987bbc
1,416
hpp
C++
libz/types/real64.hpp
kmc7468/zlang
08f9ba5dab502224bea5baa6f7a78c546094b7d0
[ "MIT" ]
5
2017-01-11T03:20:57.000Z
2017-01-15T11:20:30.000Z
libz/types/real64.hpp
kmc7468/zlang
08f9ba5dab502224bea5baa6f7a78c546094b7d0
[ "MIT" ]
null
null
null
libz/types/real64.hpp
kmc7468/zlang
08f9ba5dab502224bea5baa6f7a78c546094b7d0
[ "MIT" ]
null
null
null
#pragma once #include "../utility.hpp" #include "../variable.hpp" #include "../exces/invalid_call.hpp" #include <cmath> #include <cstdint> #include <memory> #include <utility> namespace libz::types { class real64 final : public instance { private: double m_data = 0.0; public: inline real64() : instance(t...
22.47619
64
0.684322
kmc7468
cb0356156c26adb796b72493c4817d06960e2809
983
cpp
C++
Leetcode/Length of Last Word/Length_of_last_word.cpp
rahil-1407/Data-Structure-and-Algorithms
ea3eb9849aeb2716ef5812a0b5621a28120b1880
[ "MIT" ]
51
2021-01-14T04:05:55.000Z
2022-01-25T11:25:37.000Z
Leetcode/Length of Last Word/Length_of_last_word.cpp
rahil-1407/Data-Structure-and-Algorithms
ea3eb9849aeb2716ef5812a0b5621a28120b1880
[ "MIT" ]
638
2020-12-27T18:49:53.000Z
2021-11-21T05:22:52.000Z
Leetcode/Length of Last Word/Length_of_last_word.cpp
rahil-1407/Data-Structure-and-Algorithms
ea3eb9849aeb2716ef5812a0b5621a28120b1880
[ "MIT" ]
124
2021-01-30T06:40:20.000Z
2021-11-21T15:14:40.000Z
// * ALGORITHM => // * As we have to find the length of last word, we can start at the end of the given string and traverse the string backwards till we encounter first space. // * Although there are some edge cases which needs to be taken care of. Such as for "a" and " a" and "a ". // * So will maintain a count variab...
42.73913
187
0.596134
rahil-1407
cb039844ab820e34cf577d9057ea0d500c55995c
3,411
hpp
C++
src/hkdf.hpp
dashevo/bls-signatures
95aa56ec46fb751490f91ca0086f3bfcd8f9f98c
[ "Apache-2.0" ]
null
null
null
src/hkdf.hpp
dashevo/bls-signatures
95aa56ec46fb751490f91ca0086f3bfcd8f9f98c
[ "Apache-2.0" ]
null
null
null
src/hkdf.hpp
dashevo/bls-signatures
95aa56ec46fb751490f91ca0086f3bfcd8f9f98c
[ "Apache-2.0" ]
2
2020-12-29T22:15:31.000Z
2021-06-09T10:43:29.000Z
// Copyright 2018 Chia Network Inc // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in wr...
36.677419
131
0.602169
dashevo
cb051db2720bc4dbc1bc0badd8a29a16f3b19a9d
9,382
cpp
C++
src/examples/generic_primitive/main.cpp
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
416
2015-02-01T22:19:30.000Z
2022-03-29T10:48:00.000Z
src/examples/generic_primitive/main.cpp
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
24
2015-06-26T17:48:08.000Z
2021-11-06T00:20:58.000Z
src/examples/generic_primitive/main.cpp
tjachmann/visionaray
5f181268c8da28c7d9b397300cc9759cec2bf7b3
[ "MIT" ]
39
2015-02-02T11:47:21.000Z
2022-03-29T10:44:43.000Z
// This file is distributed under the MIT license. // See the LICENSE file for details. #include <chrono> #include <iostream> #include <memory> #include <ostream> #include <vector> #include <GL/glew.h> #include <visionaray/detail/platform.h> #include <visionaray/cpu_buffer_rt.h> #include <visionaray/generic_primiti...
28.344411
100
0.551055
tjachmann
cb096e4ebdbb923b370f240351c604d35495e6f4
1,696
cpp
C++
lib/Basic/CXCodeGenOptions.cpp
Gnimuc/libclangex
3d519fba37210d06578b10ea9bdb1d496be0e9d0
[ "Apache-2.0", "MIT-0", "MIT" ]
1
2022-01-11T00:49:42.000Z
2022-01-11T00:49:42.000Z
lib/Basic/CXCodeGenOptions.cpp
Gnimuc/libclangex
3d519fba37210d06578b10ea9bdb1d496be0e9d0
[ "Apache-2.0", "MIT-0", "MIT" ]
4
2021-08-01T06:07:06.000Z
2022-02-04T14:14:15.000Z
lib/Basic/CXCodeGenOptions.cpp
Gnimuc/libclangex
3d519fba37210d06578b10ea9bdb1d496be0e9d0
[ "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
#include "clang-ex/Basic/CXCodeGenOptions.h" #include "clang/Basic/CodeGenOptions.h" #include "llvm/Support/raw_ostream.h" CXCodeGenOptions clang_CodeGenOptions_create(CXInit_Error *ErrorCode) { CXInit_Error Err = CXInit_NoError; std::unique_ptr<clang::CodeGenOptions> ptr = std::make_unique<clang::CodeGenOptions>(...
36.085106
89
0.65625
Gnimuc
cb0a34fa3ea68fe0c9d9ed617abdf51a5ec6a377
1,832
cpp
C++
vislib/tests/clusterTest/PlainServer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
2
2020-10-16T10:15:37.000Z
2021-01-21T13:06:00.000Z
vislib/tests/clusterTest/PlainServer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
vislib/tests/clusterTest/PlainServer.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
1
2021-01-28T01:19:54.000Z
2021-01-28T01:19:54.000Z
/* * PlainServer.cpp * * Copyright (C) 2008 by Universitaet Stuttgart (VIS). Alle Rechte vorbehalten. */ #include "PlainServer.h" #include <iostream> #include "vislib/net/cluster/clustermessages.h" /* * PlainServer::GetInstance */ PlainServer& PlainServer::GetInstance(void) { static PlainServer *instance...
19.698925
79
0.629913
azuki-monster
cb0e3af2988c8628f40695361d1d23bb9adc8c73
3,892
cpp
C++
Project1/cpp/src/system.cpp
ErlendLima/FYS4411
e7221d9871e0e2fdaf7b9721fb414a9fad74022b
[ "MIT" ]
null
null
null
Project1/cpp/src/system.cpp
ErlendLima/FYS4411
e7221d9871e0e2fdaf7b9721fb414a9fad74022b
[ "MIT" ]
null
null
null
Project1/cpp/src/system.cpp
ErlendLima/FYS4411
e7221d9871e0e2fdaf7b9721fb414a9fad74022b
[ "MIT" ]
null
null
null
#include "system.hpp" #include "InitialStates/initialstate.hpp" #include "Hamiltonians/hamiltonian.hpp" #include "WaveFunctions/wavefunction.hpp" #include "particles.hpp" #include "sampler.hpp" #include <string> #include <random> #include <iostream> #include <cmath> double* System::stepBruteForce(int particle) { ...
22.49711
77
0.658787
ErlendLima
cb0f6675ad780987480e94d90e81048339558373
895
cpp
C++
src/Nazara/Shader/SpirvSectionBase.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
src/Nazara/Shader/SpirvSectionBase.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
src/Nazara/Shader/SpirvSectionBase.cpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Shader module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Shader/SpirvSectionBase.hpp> #include <Nazara/Core/Endianness.hpp> #include <Nazara/Shader/Debug....
22.948718
77
0.650279
jayrulez
cb106d2a3594739fce1fda70d80f421b354fd029
4,371
cpp
C++
Algorithm/LeetCode/100+/129-sumNumbers/129-sumNumbers.cpp
nchkdxlq/Algorithm
a89aec4859a1e2a1367113bf17345ef4a5c40a91
[ "MIT" ]
1
2019-05-25T06:18:10.000Z
2019-05-25T06:18:10.000Z
Algorithm/LeetCode/100+/129-sumNumbers/129-sumNumbers.cpp
nchkdxlq/Algorithm
a89aec4859a1e2a1367113bf17345ef4a5c40a91
[ "MIT" ]
null
null
null
Algorithm/LeetCode/100+/129-sumNumbers/129-sumNumbers.cpp
nchkdxlq/Algorithm
a89aec4859a1e2a1367113bf17345ef4a5c40a91
[ "MIT" ]
null
null
null
// // 129-sumNumbers.cpp // LeetCode // // Created by Knox on 2019/8/7. // Copyright © 2019 nchkdxlq. All rights reserved. // #include "129-sumNumbers.hpp" #include "STLHelper.hpp" #include "TreeHelper.hpp" #include "LinkedListHelper.hpp" using namespace Singly; /* 给定一个二叉树,它的每个结点都存放一个 0-9 的数字,每条从根到叶子节点的路径都代表...
26.173653
73
0.460535
nchkdxlq
cb152833c79eff359b6b45a7275b771c2e7c7bbf
3,214
cpp
C++
lib/mayaUsd/python/pythonObjectRegistry.cpp
sun-frog/maya-usd
561fc867e192e426749c9df59807cc836d16a2c2
[ "Apache-2.0" ]
null
null
null
lib/mayaUsd/python/pythonObjectRegistry.cpp
sun-frog/maya-usd
561fc867e192e426749c9df59807cc836d16a2c2
[ "Apache-2.0" ]
null
null
null
lib/mayaUsd/python/pythonObjectRegistry.cpp
sun-frog/maya-usd
561fc867e192e426749c9df59807cc836d16a2c2
[ "Apache-2.0" ]
null
null
null
// // Copyright 2022 Autodesk // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
29.759259
91
0.688861
sun-frog
cb152d81198207382384496bce3c971d7bfc5999
2,494
cpp
C++
ex01/ScavTrap.cpp
Igors78/cpp03
211de909cee642e63dca1bb273cb910c6cdf4104
[ "Unlicense" ]
3
2021-11-14T06:49:22.000Z
2022-01-27T19:23:23.000Z
ex02/ScavTrap.cpp
Igors78/cpp03
211de909cee642e63dca1bb273cb910c6cdf4104
[ "Unlicense" ]
null
null
null
ex02/ScavTrap.cpp
Igors78/cpp03
211de909cee642e63dca1bb273cb910c6cdf4104
[ "Unlicense" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ScavTrap.cpp :+: :+: :+: ...
31.974359
80
0.463512
Igors78
cb15b9c007ec330342fab3f7813b386b570cbe56
893
cpp
C++
Unrest-iOS/GameOverMenu.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
11
2020-08-04T08:37:46.000Z
2022-03-31T22:35:15.000Z
CRAB/GameOverMenu.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
1
2020-12-16T16:51:52.000Z
2020-12-18T06:35:38.000Z
Unrest-iOS/GameOverMenu.cpp
arvindrajayadav/unrest
d89f20e95fbcdef37a47ab1454b2479522a0e43f
[ "MIT" ]
7
2020-08-04T09:34:20.000Z
2021-09-11T03:00:16.000Z
#include "stdafx.h" #include "GameOverMenu.h" using namespace pyrodactyl::ui; using namespace pyrodactyl::image; void GameOverMenu::Load(rapidxml::xml_node<char> *node) { if (NodeValid(node)) { if (NodeValid("bg", node)) bg.Load(node->first_node("bg")); if (NodeValid("title", node)) { rapidxml::xml_no...
17.509804
86
0.646137
arvindrajayadav
cb16454aadb1194febe24d76e7eb60025498a12b
764
cpp
C++
Challenge Array/MaximumSubarraySum4.cpp
sgpritam/cbcpp
192b55d8d6930091d1ceb883f6dccf06735a391f
[ "MIT" ]
2
2019-11-11T17:16:52.000Z
2020-10-04T06:05:49.000Z
Challenge Array/MaximumSubarraySum4.cpp
codedevmdu/cbcpp
85c94d81d6e491f67e3cc1ea12534065b7cde16e
[ "MIT" ]
null
null
null
Challenge Array/MaximumSubarraySum4.cpp
codedevmdu/cbcpp
85c94d81d6e491f67e3cc1ea12534065b7cde16e
[ "MIT" ]
4
2019-10-24T16:58:10.000Z
2020-10-04T06:05:47.000Z
// C++ program to print largest contiguous array sum #include<iostream> #include<climits> using namespace std; int maxSubArraySum(int a[], int size) { int max_so_far = INT_MIN, max_ending_here = 0; for (int i = 0; i < size; i++) { max_ending_here = max_ending_here + a[i]; if (m...
19.589744
53
0.524869
sgpritam
0e11c85eca835a2034d76206a0b0424bf1c8988a
2,018
cc
C++
lite/operators/unstack_op.cc
AIpioneer/Paddle-Lite
bd2a37468343e91b684d3ff1e3241be8de502ff6
[ "Apache-2.0" ]
1
2021-11-30T18:19:44.000Z
2021-11-30T18:19:44.000Z
lite/operators/unstack_op.cc
AIpioneer/Paddle-Lite
bd2a37468343e91b684d3ff1e3241be8de502ff6
[ "Apache-2.0" ]
null
null
null
lite/operators/unstack_op.cc
AIpioneer/Paddle-Lite
bd2a37468343e91b684d3ff1e3241be8de502ff6
[ "Apache-2.0" ]
2
2021-02-10T13:37:56.000Z
2021-02-25T07:32:30.000Z
// Copyright (c) 2020 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...
29.246377
76
0.685332
AIpioneer
0e136ee06790f25ab53771119bd42b640944e649
2,719
cpp
C++
net/wlbs/nlbmgr/exe2/mnlbuidata.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/wlbs/nlbmgr/exe2/mnlbuidata.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/wlbs/nlbmgr/exe2/mnlbuidata.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// Copyright (c) Microsoft. All rights reserved. // // This is unpublished source code of Microsoft. // The copyright notice above does not evidence any // actual or intended publication of such source code. // OneLiner : Implementation of MNLBCluster // DevUnit : wlbstest // Author : Murtaza Hakim ...
21.752
61
0.563075
npocmaka
0e192263af379d9b47eb9e3ddfa77d8a0d0533e9
6,748
cpp
C++
src/Visioneer/Core/AnnotationRenderer.cpp
teplandr/Visioneer
8aee849eabe9b3bd0dcb169c315733b550df63c9
[ "MIT" ]
6
2022-01-24T03:54:04.000Z
2022-01-26T12:42:00.000Z
src/Visioneer/Core/AnnotationRenderer.cpp
teplandr/Visioneer
8aee849eabe9b3bd0dcb169c315733b550df63c9
[ "MIT" ]
null
null
null
src/Visioneer/Core/AnnotationRenderer.cpp
teplandr/Visioneer
8aee849eabe9b3bd0dcb169c315733b550df63c9
[ "MIT" ]
null
null
null
#include "AnnotationRenderer.h" #include <unordered_map> namespace Visioneer { static std::vector<const char*> ClassNamesCOCO { "person", "bicycle", "car", "motorcycle", "airplane", "bus", "train", "truck", "boat", "traffic light", "fire hydrant", "stop sign", "parking meter", "bench", "bird", "cat", "dog", ...
45.288591
160
0.686129
teplandr
0e1a715c77a9ed93883532e6bee32517d55dba0e
7,649
cpp
C++
Jolt/Geometry/OrientedBox.cpp
All8Up/JoltPhysics
751d13891f5bd8850863ad236eaa3c340e90de9a
[ "MIT" ]
1,311
2021-08-16T07:37:05.000Z
2022-03-31T21:13:39.000Z
Jolt/Geometry/OrientedBox.cpp
All8Up/JoltPhysics
751d13891f5bd8850863ad236eaa3c340e90de9a
[ "MIT" ]
102
2021-08-28T14:41:32.000Z
2022-03-31T20:25:55.000Z
Jolt/Geometry/OrientedBox.cpp
All8Up/JoltPhysics
751d13891f5bd8850863ad236eaa3c340e90de9a
[ "MIT" ]
65
2021-08-16T07:59:04.000Z
2022-03-28T06:18:49.000Z
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe // SPDX-License-Identifier: MIT #include <Jolt.h> #include <Geometry/AABox.h> #include <Geometry/OrientedBox.h> namespace JPH { bool OrientedBox::Overlaps(const AABox &inBox, float inEpsilon) const { // Taken from: Real Time Collision Detection - Christer Ericson // Ch...
42.97191
156
0.614198
All8Up
0e1c4928d846bddc909d36645764899356cc1c8a
7,988
cpp
C++
test_scripts/TestNative.cpp
chatra-lang/chatra
fdae457fcbd066ac8c0d44d6b763d4a18bf524f7
[ "Apache-2.0" ]
3
2019-10-14T12:25:23.000Z
2021-01-06T17:53:17.000Z
test_scripts/TestNative.cpp
chatra-lang/chatra
fdae457fcbd066ac8c0d44d6b763d4a18bf524f7
[ "Apache-2.0" ]
3
2019-10-15T14:40:34.000Z
2020-08-29T14:25:06.000Z
test_scripts/TestNative.cpp
chatra-lang/chatra
fdae457fcbd066ac8c0d44d6b763d4a18bf524f7
[ "Apache-2.0" ]
null
null
null
/* * Programming language 'Chatra' reference implementation * * Copyright(C) 2019-2020 Chatra Project Team * * 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...
30.723077
117
0.641087
chatra-lang
0e1d3646327ed0aa2d49fde59e57973785f10d99
3,194
hpp
C++
libfma/include/fma/core/DataBlock.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
14
2018-01-25T10:31:05.000Z
2022-02-19T13:08:11.000Z
libfma/include/fma/core/DataBlock.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
1
2020-12-24T10:10:28.000Z
2020-12-24T10:10:28.000Z
libfma/include/fma/core/DataBlock.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
null
null
null
#ifndef __FMA_CORE_DATABLOCK_H__ #define __FMA_CORE_DATABLOCK_H__ #include <fma/types/Class.hpp> #include <fma/types/RootModule.hpp> namespace FMA { class Project; namespace plugin { class MemoryBlock; } namespace core { class DataBlockClass : public types::Class { public: static types::ClassPtr create(const typ...
60.264151
166
0.811522
BenjaminSchulte
0e1d833270f2585d56cab7b11d97fe8c4d81bbc8
1,328
cpp
C++
gamemonkey/src/gm/gmUtil.cpp
r-lyeh/scriptorium
cd7b259ccbd14d05c8d8fec1a33af9de5337e60c
[ "Unlicense" ]
303
2015-07-11T17:12:55.000Z
2018-01-08T03:02:37.000Z
gamemonkey/src/gm/gmUtil.cpp
r-lyeh/script-it
cd7b259ccbd14d05c8d8fec1a33af9de5337e60c
[ "Unlicense" ]
13
2016-05-12T16:51:22.000Z
2018-01-10T22:33:25.000Z
gamemonkey/src/gm/gmUtil.cpp
r-lyeh/script-it
cd7b259ccbd14d05c8d8fec1a33af9de5337e60c
[ "Unlicense" ]
26
2018-01-18T09:15:33.000Z
2022-02-07T13:09:14.000Z
/* _____ __ ___ __ ____ _ __ / ___/__ ___ _ ___ / |/ /__ ___ / /_____ __ __/ __/_______(_)__ / /_ / (_ / _ `/ ' \/ -_) /|_/ / _ \/ _ \/ '_/ -_) // /\ \/ __/ __/ / _ \/ __/ \___/\_,_/_/_/_/\__/_/ /_/\___/_//_/_/\_\\__/\_, /___/\__/_/ /_/ .__/\__/ ...
25.538462
87
0.476657
r-lyeh
0e1e58c2c26cd36f0a7ae8b9d1060b55f8a6d51a
5,432
cxx
C++
Qt/ApplicationComponents/pqExportReaction.cxx
UV-CDAT/ParaView
095ac28404a85fd86676491b8952884805842223
[ "Apache-2.0" ]
null
null
null
Qt/ApplicationComponents/pqExportReaction.cxx
UV-CDAT/ParaView
095ac28404a85fd86676491b8952884805842223
[ "Apache-2.0" ]
null
null
null
Qt/ApplicationComponents/pqExportReaction.cxx
UV-CDAT/ParaView
095ac28404a85fd86676491b8952884805842223
[ "Apache-2.0" ]
null
null
null
/*========================================================================= Program: ParaView Module: pqExportReaction.cxx Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the Pa...
33.121951
80
0.657216
UV-CDAT
0e1f905292f7435188b808d1a82b3b997c057dc6
108
cpp
C++
bridge/src/World.cpp
olekristensen/oresund
acfd604bda68e7fec0d07e14530eee546e497386
[ "MIT" ]
1
2018-09-04T11:41:38.000Z
2018-09-04T11:41:38.000Z
bridge/src/World.cpp
olekristensen/oresund
acfd604bda68e7fec0d07e14530eee546e497386
[ "MIT" ]
null
null
null
bridge/src/World.cpp
olekristensen/oresund
acfd604bda68e7fec0d07e14530eee546e497386
[ "MIT" ]
1
2021-04-18T05:41:35.000Z
2021-04-18T05:41:35.000Z
// // World.cpp // bridge // // Created by Johan Bichel Lindegaard on 8/30/18. // #include "World.hpp"
10.8
50
0.611111
olekristensen
0e1ff0b110f3c4d51d7cca6619a2f42ec2caff14
3,217
cpp
C++
lolCompiler/main.cpp
NeutralNoise/lol_script
632b6a56c9caa3d44e93e2006cedec5d6730e3e2
[ "MIT" ]
null
null
null
lolCompiler/main.cpp
NeutralNoise/lol_script
632b6a56c9caa3d44e93e2006cedec5d6730e3e2
[ "MIT" ]
null
null
null
lolCompiler/main.cpp
NeutralNoise/lol_script
632b6a56c9caa3d44e93e2006cedec5d6730e3e2
[ "MIT" ]
null
null
null
#include <iostream> #include <regex> #include <string> #include "Tokenizer.h" #include <vector> #include <fstream> #include "ParseTokens.h" #include "AST.h" //#include "ASTParser.h" // This isn't needed anymore i don't think. //Check for key words //TODO find a better place for this :D void CheckTokenKeywords(const st...
26.586777
97
0.635375
NeutralNoise
0e210411416f0bb81abc91ef24ce068d5e32737e
1,319
cpp
C++
OsakaEngine/Hiccups.cpp
osakahq/OsakaEngine
47dd0ec5b67a176c552441a25168ecb48b52e14b
[ "Zlib", "MIT" ]
2
2016-04-04T06:00:28.000Z
2016-04-18T15:39:38.000Z
OsakaEngine/Hiccups.cpp
osakahq/OsakaEngine
47dd0ec5b67a176c552441a25168ecb48b52e14b
[ "Zlib", "MIT" ]
null
null
null
OsakaEngine/Hiccups.cpp
osakahq/OsakaEngine
47dd0ec5b67a176c552441a25168ecb48b52e14b
[ "Zlib", "MIT" ]
null
null
null
#include "stdafx.h" #include "ConsoleColors.h" #include "Hiccups.h" namespace Osaka{ namespace RPGLib{ Hiccups::Hiccups(){ fills_in_array.reserve(15); } Hiccups::~Hiccups(){ } void Hiccups::Frame(const int frame_ms){ if( frame_ms < 0 ){ throw std::exception("[Hiccups] frame_ms ...
26.38
88
0.603487
osakahq
0e211990ecc427fa3242626bd062c6a9149f0413
245
cpp
C++
exemplos/char2.cpp
wllynilson/flash-clip-2018-2
09d20d67042376c51aec54503456cb38e55ecca4
[ "MIT" ]
null
null
null
exemplos/char2.cpp
wllynilson/flash-clip-2018-2
09d20d67042376c51aec54503456cb38e55ecca4
[ "MIT" ]
1
2018-10-12T03:55:20.000Z
2018-10-12T03:55:20.000Z
exemplos/char2.cpp
wllynilson/flash-clip-2018-2
09d20d67042376c51aec54503456cb38e55ecca4
[ "MIT" ]
null
null
null
// char2.c #include <iostream> using namespace std; int main() { char caractere1 = 50; char caractere2 = 41; char caractere3 = caractere1 + caractere2; cout << "Caractere: " << caractere3 << endl; } //Output: [
16.333333
49
0.587755
wllynilson
0e244bb51b9aa99a8e211f806a73864929a4a10a
40,387
cpp
C++
Source/Urho3D/Navigation/DynamicNavigationMesh.cpp
TEAdvanced/Urho3D
c5c9c5ccccb0fee6283b2689fbb54155f017db72
[ "MIT" ]
null
null
null
Source/Urho3D/Navigation/DynamicNavigationMesh.cpp
TEAdvanced/Urho3D
c5c9c5ccccb0fee6283b2689fbb54155f017db72
[ "MIT" ]
null
null
null
Source/Urho3D/Navigation/DynamicNavigationMesh.cpp
TEAdvanced/Urho3D
c5c9c5ccccb0fee6283b2689fbb54155f017db72
[ "MIT" ]
1
2022-01-15T20:50:09.000Z
2022-01-15T20:50:09.000Z
// // Copyright (c) 2008-2022 the Urho3D project. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, m...
34.756454
134
0.646297
TEAdvanced
0e25e9171d485d5e3ad673e94ff77b0afff62c00
3,955
tcc
C++
source/adios2/helper/adiosString.tcc
taniabanerjee/ADIOS2
b32205071a22ea6319c34ed85fb1c47265c76a9d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
source/adios2/helper/adiosString.tcc
taniabanerjee/ADIOS2
b32205071a22ea6319c34ed85fb1c47265c76a9d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
source/adios2/helper/adiosString.tcc
taniabanerjee/ADIOS2
b32205071a22ea6319c34ed85fb1c47265c76a9d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * adiosString.tcc * * Created on: Jun 10, 2019 * Author: William F Godoy godoywf@ornl.gov */ #ifndef ADIOS2_HELPER_ADIOSSTRING_TCC_ #define ADIOS2_HELPER_ADIOSSTRING_TCC_ #include "...
22.729885
76
0.573957
taniabanerjee
0e26bb1dcfd0676efcb7c02e271f663eb3b5b48f
673
cpp
C++
livro/cap_02 (finalizado)/10_limite_de_credito.cpp
sueyvid/Atividade_de_programacao_cpp
691941fc94125eddd4e5466862d5a1fe04dfb520
[ "MIT" ]
null
null
null
livro/cap_02 (finalizado)/10_limite_de_credito.cpp
sueyvid/Atividade_de_programacao_cpp
691941fc94125eddd4e5466862d5a1fe04dfb520
[ "MIT" ]
null
null
null
livro/cap_02 (finalizado)/10_limite_de_credito.cpp
sueyvid/Atividade_de_programacao_cpp
691941fc94125eddd4e5466862d5a1fe04dfb520
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { float saldo_inicial, debitos, creditos, limite_credito_autorizado; saldo_inicial = 500; debitos = 100; creditos = 200; limite_credito_autorizado = saldo_inicial - debitos - creditos; cout << "Numero da conta: xxx-xxx-xxx" << endl ...
32.047619
94
0.609212
sueyvid
0e26db13afcb08ee61f84dd77c710f453fab759b
4,467
cc
C++
tools/gn/ninja_toolchain_writer.cc
tmpsantos/chromium
802d4aeeb33af25c01ee5994037bbf14086d4ac0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
tools/gn/ninja_toolchain_writer.cc
tmpsantos/chromium
802d4aeeb33af25c01ee5994037bbf14086d4ac0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
tools/gn/ninja_toolchain_writer.cc
tmpsantos/chromium
802d4aeeb33af25c01ee5994037bbf14086d4ac0
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013 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 "tools/gn/ninja_toolchain_writer.h" #include <fstream> #include "base/file_util.h" #include "base/strings/stringize_macros.h" #include "too...
32.369565
79
0.668234
tmpsantos
0e26fc053f9209694461317853ddd2e06494a3a5
3,225
cxx
C++
src/vw/Image/tests/TestImageViewRef.cxx
maxerbubba/visionworkbench
b06ba0597cd3864bb44ca52671966ca580c02af1
[ "Apache-2.0" ]
318
2015-01-02T16:37:34.000Z
2022-03-17T07:12:20.000Z
src/vw/Image/tests/TestImageViewRef.cxx
maxerbubba/visionworkbench
b06ba0597cd3864bb44ca52671966ca580c02af1
[ "Apache-2.0" ]
39
2015-07-30T22:22:42.000Z
2021-03-23T16:11:55.000Z
src/vw/Image/tests/TestImageViewRef.cxx
maxerbubba/visionworkbench
b06ba0597cd3864bb44ca52671966ca580c02af1
[ "Apache-2.0" ]
135
2015-01-19T00:57:20.000Z
2022-03-18T13:51:40.000Z
// __BEGIN_LICENSE__ // Copyright (c) 2006-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NASA Vision Workbench is licensed under the Apache License, // Version 2.0 (the "License"); you may not use this f...
33.59375
76
0.63876
maxerbubba
0e273118fc1c494940d04d75b856e80c26c786d6
14,540
cpp
C++
src/core/processors/canvasprocessor.cpp
guillempd/inviwo
4567a9750a1efc3a0416ceb0bcb25ba0e96620a1
[ "BSD-2-Clause" ]
349
2015-01-30T09:21:52.000Z
2022-03-25T03:10:02.000Z
src/core/processors/canvasprocessor.cpp
guillempd/inviwo
4567a9750a1efc3a0416ceb0bcb25ba0e96620a1
[ "BSD-2-Clause" ]
641
2015-09-23T08:54:06.000Z
2022-03-23T09:50:55.000Z
src/core/processors/canvasprocessor.cpp
guillempd/inviwo
4567a9750a1efc3a0416ceb0bcb25ba0e96620a1
[ "BSD-2-Clause" ]
124
2015-02-27T23:45:02.000Z
2022-02-21T09:37:14.000Z
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2012-2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
41.542857
100
0.664305
guillempd
0e28802833cb650009120b9aaeead7c38283247b
14,137
cpp
C++
dev/Gems/LyShine/Code/Source/UiDynamicLayoutComponent.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Gems/LyShine/Code/Source/UiDynamicLayoutComponent.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Gems/LyShine/Code/Source/UiDynamicLayoutComponent.cpp
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...
39.269444
211
0.557049
jeikabu
0e29947cfc59e8d677fe538b2df25b6a67c8b2cb
1,693
cc
C++
tests/status_handler_test.cc
YufeiHu/CS130-Software-Engineering
329cb9442d51740e88e441d872899fcc375ec78d
[ "MIT" ]
null
null
null
tests/status_handler_test.cc
YufeiHu/CS130-Software-Engineering
329cb9442d51740e88e441d872899fcc375ec78d
[ "MIT" ]
null
null
null
tests/status_handler_test.cc
YufeiHu/CS130-Software-Engineering
329cb9442d51740e88e441d872899fcc375ec78d
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "status_handler.h" class StatusHandlerTest : public ::testing::Test { protected: std::unique_ptr<RequestHandler> status_handler; std::unique_ptr<Reply> response_hat; ConfigOptions* options; StatusHandlerTest() { options = new ConfigOptions(); options->port = 8080; ...
36.021277
340
0.682221
YufeiHu
0e29fede30b12a78d0208d6d89c7d31284820e80
10,639
cpp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
32
2019-02-27T06:57:07.000Z
2021-08-29T10:56:19.000Z
REDSI_1160929_1161573/boost_1_67_0/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
1
2019-04-04T18:00:00.000Z
2019-04-04T18:00:00.000Z
REDSI_1160929_1161573/boost_1_67_0/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
5
2019-08-20T13:45:04.000Z
2022-03-01T18:23:49.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Tool reporting Implementation Support Status in QBK or plain text format // Copyright (c) 2011-2015 Bruno Lalande, Paris, France. // Copyright (c) 2011-2015 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to th...
37.461268
129
0.737663
Wultyc
0e2b40ce351abeae00636d16cabbef609a4a692e
2,174
cc
C++
learn/cpp_learn/template/Demo2.cc
qiuhoude/skynet_learn_dir
ae000c051cc44eb8f858fb5851fca16058b62410
[ "MIT" ]
null
null
null
learn/cpp_learn/template/Demo2.cc
qiuhoude/skynet_learn_dir
ae000c051cc44eb8f858fb5851fca16058b62410
[ "MIT" ]
null
null
null
learn/cpp_learn/template/Demo2.cc
qiuhoude/skynet_learn_dir
ae000c051cc44eb8f858fb5851fca16058b62410
[ "MIT" ]
null
null
null
#include <cstring> #include <iostream> using namespace std; // 在定义类型参数时我们使用了 class,而不是 typename template <class T> class CArray { private: int size; //数组元素的个数 T *ptr; //指向动态分配的数组 public: CArray(int s = 0); CArray(CArray &a); ~CArray(); void push_back(const T &v); //用于在数组尾部添加一个元素v ...
19.585586
58
0.484821
qiuhoude
0e2cbee559a35d250028765aaf9e277344ea698e
2,600
cpp
C++
engine/foundation/osal/thread/condition_variable.cpp
openharmony-gitee-mirror/multimedia_histreamer
4ef8cea6605de39f058f158a03d8f57a51b338ff
[ "Apache-2.0" ]
1
2021-12-03T13:55:09.000Z
2021-12-03T13:55:09.000Z
engine/foundation/osal/thread/condition_variable.cpp
openharmony-gitee-mirror/multimedia_histreamer
4ef8cea6605de39f058f158a03d8f57a51b338ff
[ "Apache-2.0" ]
null
null
null
engine/foundation/osal/thread/condition_variable.cpp
openharmony-gitee-mirror/multimedia_histreamer
4ef8cea6605de39f058f158a03d8f57a51b338ff
[ "Apache-2.0" ]
1
2021-09-13T11:18:18.000Z
2021-09-13T11:18:18.000Z
/* * Copyright (c) 2021-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...
27.368421
84
0.707308
openharmony-gitee-mirror
0e2e883d64b503f69ea53fdeabf6d18e0c09c444
7,789
cpp
C++
hihope_neptune-oh_hid/00_src/v0.1/foundation/ai/engine/services/server/communication_adapter/source/sa_server_adapter.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
1
2022-02-15T08:51:55.000Z
2022-02-15T08:51:55.000Z
hihope_neptune-oh_hid/00_src/v0.1/foundation/ai/engine/services/server/communication_adapter/source/sa_server_adapter.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
null
null
null
hihope_neptune-oh_hid/00_src/v0.1/foundation/ai/engine/services/server/communication_adapter/source/sa_server_adapter.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
null
null
null
/* * 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 ...
31.534413
115
0.723713
dawmlight
0e2f6eea9d6c0da58dc93a7a6df739c4c711409c
21,641
cpp
C++
src/eepp/ui/uimenu.cpp
SpartanJ/eepp
21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
src/eepp/ui/uimenu.cpp
SpartanJ/eepp
21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac
[ "MIT" ]
null
null
null
src/eepp/ui/uimenu.cpp
SpartanJ/eepp
21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#include <eepp/graphics/drawablesearcher.hpp> #include <eepp/graphics/font.hpp> #include <eepp/ui/css/propertydefinition.hpp> #include <eepp/ui/uiiconthememanager.hpp> #include <eepp/ui/uimenu.hpp> #include <eepp/ui/uipopupmenu.hpp> #include <eepp/ui/uiscenenode.hpp> #include <eepp/ui/uithememanager.hpp> #include <pugi...
28.701592
99
0.660644
SpartanJ
0e2ff3205bf320555738defdc319a2f9b81d3ea2
3,738
cpp
C++
core/storage/changes_trie/impl/storage_changes_tracker_impl.cpp
iceseer/kagome
a405921659cc19e9fdb851e5f13f1e607fdf8af4
[ "Apache-2.0" ]
null
null
null
core/storage/changes_trie/impl/storage_changes_tracker_impl.cpp
iceseer/kagome
a405921659cc19e9fdb851e5f13f1e607fdf8af4
[ "Apache-2.0" ]
null
null
null
core/storage/changes_trie/impl/storage_changes_tracker_impl.cpp
iceseer/kagome
a405921659cc19e9fdb851e5f13f1e607fdf8af4
[ "Apache-2.0" ]
null
null
null
#include "storage/changes_trie/impl/storage_changes_tracker_impl.hpp" #include "scale/scale.hpp" #include "storage/changes_trie/impl/changes_trie.hpp" OUTCOME_CPP_DEFINE_CATEGORY(kagome::storage::changes_trie, StorageChangesTrackerImpl::Error, e) { using E = k...
35.264151
79
0.688604
iceseer
0e31521e309a53d00ab4b75549a447a4d6235e3c
3,690
hxx
C++
main/unotools/inc/unotools/readwritemutexguard.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/unotools/inc/unotools/readwritemutexguard.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/unotools/inc/unotools/readwritemutexguard.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.545455
88
0.543089
Grosskopf
0e317bc477bfc46cfc476760e099a9e6c963b798
438
cpp
C++
2020/day2/main2.cpp
sudopluto/advent-of-code
6b96baa0a05e5c1aca1504e1a5839358b785b8ab
[ "MIT" ]
null
null
null
2020/day2/main2.cpp
sudopluto/advent-of-code
6b96baa0a05e5c1aca1504e1a5839358b785b8ab
[ "MIT" ]
null
null
null
2020/day2/main2.cpp
sudopluto/advent-of-code
6b96baa0a05e5c1aca1504e1a5839358b785b8ab
[ "MIT" ]
null
null
null
#include <iostream> #include <string> // 15-16 m: mhmjmzrmmlmmmmmm int main(void) { int i0; int i1; char trash; char c; std::string passwd; int count_valid = 0; while (std::cin >> i0 >> trash >> i1 >> c >> trash >> passwd) { if (passwd[i0 - 1] == c ? !(passwd[i1 - 1] == c) : passw...
19.043478
80
0.504566
sudopluto
0e322ffa20fb30f5de2e9dee56d40e788eb2083d
4,327
cpp
C++
example/qimage_blur.cpp
josephwinston/compute
500a7caf65e887b21b915058fd474dd4cd131e84
[ "BSL-1.0" ]
1
2015-03-18T01:14:13.000Z
2015-03-18T01:14:13.000Z
example/qimage_blur.cpp
junmuz/compute
b979ff527d3f1cb6e073da29b167bf02b3218c9a
[ "BSL-1.0" ]
null
null
null
example/qimage_blur.cpp
junmuz/compute
b979ff527d3f1cb6e073da29b167bf02b3218c9a
[ "BSL-1.0" ]
1
2020-04-09T15:56:37.000Z
2020-04-09T15:56:37.000Z
#include <iostream> #include <algorithm> #include <QtGlobal> #if QT_VERSION >= 0x050000 #include <QtWidgets> #else #include <QtGui> #endif #ifndef Q_MOC_RUN #include <boost/compute/system.hpp> #include <boost/compute/image/image2d.hpp> #include <boost/compute/interop/qt.hpp> #include <boost/compute/utility/dim.hpp> #...
31.816176
81
0.579847
josephwinston
0e349f77e7000b11aa473ef789385feda92d1180
2,791
cpp
C++
ForwardMotionWithTimeline/src/ofApp.cpp
HellicarAndLewis/InMotion
e9438257ebf53efb8891b4b83464c46cf6e2ad7d
[ "MIT" ]
null
null
null
ForwardMotionWithTimeline/src/ofApp.cpp
HellicarAndLewis/InMotion
e9438257ebf53efb8891b4b83464c46cf6e2ad7d
[ "MIT" ]
null
null
null
ForwardMotionWithTimeline/src/ofApp.cpp
HellicarAndLewis/InMotion
e9438257ebf53efb8891b4b83464c46cf6e2ad7d
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofBackground(0); speedxMax = 20; speedxMin = -20; speedyMax = 10; speedyMin = - 10; timeline.setup(); timeline.setDurationInSeconds(30); timeline.setLoopType(OF_LOOP_N...
23.453782
87
0.387675
HellicarAndLewis
0e385503db972714a2efe1c70a8694fe74c8d394
15,475
cpp
C++
rosplan_knowledge_base/src/KnowledgeBase.cpp
Emresav/ROSPlan
22d2cad209242bc8d98fca7ab25c322265ae69a6
[ "BSD-2-Clause" ]
null
null
null
rosplan_knowledge_base/src/KnowledgeBase.cpp
Emresav/ROSPlan
22d2cad209242bc8d98fca7ab25c322265ae69a6
[ "BSD-2-Clause" ]
null
null
null
rosplan_knowledge_base/src/KnowledgeBase.cpp
Emresav/ROSPlan
22d2cad209242bc8d98fca7ab25c322265ae69a6
[ "BSD-2-Clause" ]
1
2018-10-02T12:30:52.000Z
2018-10-02T12:30:52.000Z
#include "rosplan_knowledge_base/KnowledgeBase.h" namespace KCL_rosplan { /*-----------------*/ /* knowledge query */ /*-----------------*/ bool KnowledgeBase::queryKnowledge(rosplan_knowledge_msgs::KnowledgeQueryService::Request &req, rosplan_knowledge_msgs::KnowledgeQueryService::Response &res) { res.all_t...
38.115764
168
0.708562
Emresav
0e394b5892576c9d1d0c860c17c5c183a941aaa4
14,779
cxx
C++
inetsrv/iis/admin/adsi/helper/utils/netolary.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/admin/adsi/helper/utils/netolary.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/admin/adsi/helper/utils/netolary.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------ // // File: netolary.cxx // // Contents: Generic dynamic array class // // Classes: CADsAry // // History: // //------------------------------------------------------------------------- #include "procs.hxx" #pragma hdrs...
23.837097
80
0.431558
npocmaka
0e39bdf4d152605e56b7770167ab3e86b5d44d1c
6,017
hh
C++
tags/release-1.5.4/lang/c++/api/Decoder.hh
SpotifyUsedOpenSourceCode/avro
fbc9cc2bbfa17742a51b5b85c06b0ab0e3fed885
[ "Apache-2.0" ]
null
null
null
tags/release-1.5.4/lang/c++/api/Decoder.hh
SpotifyUsedOpenSourceCode/avro
fbc9cc2bbfa17742a51b5b85c06b0ab0e3fed885
[ "Apache-2.0" ]
null
null
null
tags/release-1.5.4/lang/c++/api/Decoder.hh
SpotifyUsedOpenSourceCode/avro
fbc9cc2bbfa17742a51b5b85c06b0ab0e3fed885
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
32.701087
79
0.697191
SpotifyUsedOpenSourceCode
0e39d7bed8caff08a494c329fd309d991dd0dbdf
2,580
cpp
C++
programs/chapter_11/pruebas/ldr_sensor_con_average.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
2
2021-05-03T17:21:37.000Z
2021-06-08T08:32:07.000Z
programs/chapter_11/pruebas/ldr_sensor_con_average.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
null
null
null
programs/chapter_11/pruebas/ldr_sensor_con_average.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
2
2020-10-14T19:06:24.000Z
2021-06-08T08:32:09.000Z
//=====[Libraries]============================================================= #include "arm_book_lib.h" #include "smart_home_system.h" #include "ldr_sensor.h" //=====[Declaration of private defines]====================================== #define LDR_SAMPLE_TIME 100 #define LDR_NUMBER_OF_AVG_SAMPLES ...
30.352941
79
0.581008
epernia
0e3a60ed0c26684ee8208e40b558c18677e0a534
309
cpp
C++
CollinsJustin_MidtermProject/CollinsJustin_MidtermProject/Reshape.cpp
justcollins/SolarSystem
66ebb11961afe4723ac7431b268a8ecad1ec4d0d
[ "MIT" ]
null
null
null
CollinsJustin_MidtermProject/CollinsJustin_MidtermProject/Reshape.cpp
justcollins/SolarSystem
66ebb11961afe4723ac7431b268a8ecad1ec4d0d
[ "MIT" ]
null
null
null
CollinsJustin_MidtermProject/CollinsJustin_MidtermProject/Reshape.cpp
justcollins/SolarSystem
66ebb11961afe4723ac7431b268a8ecad1ec4d0d
[ "MIT" ]
null
null
null
#include "globals.h" void reshape(int w, int h) { glViewport (0, 0, (GLsizei) w, (GLsizei) h); glMatrixMode (GL_PROJECTION); glLoadIdentity (); gluPerspective(60.0, (GLfloat) w/(GLfloat) h, 1.0, 201.0); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); gluLookAt (x, y, z, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0); }
25.75
59
0.653722
justcollins
0e3a6e4deea4b2cddd6c620e84a9debdb4cc1f63
71,176
cxx
C++
src/MootQuery.cxx
fermi-lat/mootCore
0735060d98faadeaac731eb3f4afcea469900a7c
[ "BSD-3-Clause" ]
null
null
null
src/MootQuery.cxx
fermi-lat/mootCore
0735060d98faadeaac731eb3f4afcea469900a7c
[ "BSD-3-Clause" ]
null
null
null
src/MootQuery.cxx
fermi-lat/mootCore
0735060d98faadeaac731eb3f4afcea469900a7c
[ "BSD-3-Clause" ]
null
null
null
// $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/mootCore/src/MootQuery.cxx,v 1.42 2009/09/11 01:10:30 jrb Exp $ #include <string> #include <cstdio> #include <iostream> #include <stdexcept> #include <algorithm> #include <set> #include "mootCore/MootQuery.h" #include "mootCore/MoodConnection.h" #include "mo...
34.941581
124
0.560161
fermi-lat
0e3c9d24b4b83254066e89cabbb15751b8af0928
1,420
hpp
C++
src/include/duckdb/function/scalar/string_functions.hpp
Longi94/duckdb
2debf14528e408841a4bc6f43eb114275a096d4e
[ "MIT" ]
null
null
null
src/include/duckdb/function/scalar/string_functions.hpp
Longi94/duckdb
2debf14528e408841a4bc6f43eb114275a096d4e
[ "MIT" ]
null
null
null
src/include/duckdb/function/scalar/string_functions.hpp
Longi94/duckdb
2debf14528e408841a4bc6f43eb114275a096d4e
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/function/scalar/string_functions.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/function/scalar_function.hpp" #inclu...
21.846154
102
0.661972
Longi94
0e4095fc790d74504815b3a645e19452dd1767ba
2,895
inl
C++
Code/Engine/System/Window/Implementation/SFML/Window_SFML.inl
Manuzor/ezEngine
876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef
[ "CC-BY-3.0" ]
null
null
null
Code/Engine/System/Window/Implementation/SFML/Window_SFML.inl
Manuzor/ezEngine
876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef
[ "CC-BY-3.0" ]
null
null
null
Code/Engine/System/Window/Implementation/SFML/Window_SFML.inl
Manuzor/ezEngine
876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef
[ "CC-BY-3.0" ]
1
2020-03-08T04:55:16.000Z
2020-03-08T04:55:16.000Z
#include <System/PCH.h> #include <System/Window/Window.h> #include <Foundation/Math/Size.h> ezResult ezWindow::Initialize() { EZ_LOG_BLOCK("ezWindow"); if (m_bInitialized) Destroy(); EZ_ASSERT_RELEASE(m_CreationDescription.m_ClientAreaSize.HasNonZeroArea(), "The client area size can't be zero sized!"); ...
21.444444
122
0.725734
Manuzor
0e413bf65a7b9d01ec590bba70c4e8594e534b8c
2,174
cpp
C++
src/pose.cpp
criptolot/estatero
20df006e76297b8ba750ad81980d893867e45752
[ "MIT" ]
null
null
null
src/pose.cpp
criptolot/estatero
20df006e76297b8ba750ad81980d893867e45752
[ "MIT" ]
null
null
null
src/pose.cpp
criptolot/estatero
20df006e76297b8ba750ad81980d893867e45752
[ "MIT" ]
null
null
null
#include "pose.h" #include "clientversion.h" #include "chainparams.h" #include "init.h" #include "net.h" #include "utilstrencodings.h" #include "utiltime.h" #include "masternode-sync.h" static int64_t nPoosProcessTime = 0; void ThreadPOOS(CConnman& connman) { SyncSideChain(0); int nIterations = 0; while (1 == 1)...
24.426966
158
0.632015
criptolot
0e41a8974b7b9a3a3739e22d9457b8221b8d4a66
57,583
cc
C++
xic/src/gtkxic/gtkcmp.cc
bernardventer/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
3
2020-01-26T14:18:52.000Z
2020-12-09T20:07:22.000Z
xic/src/gtkxic/gtkcmp.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
null
null
null
xic/src/gtkxic/gtkcmp.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
2
2020-01-26T14:19:02.000Z
2021-08-14T16:33:28.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
33.556527
80
0.610979
bernardventer
0e443c012b83e9cc6616a6217d523238a588954e
3,572
cpp
C++
rs_gl.cpp
darkedge/rasterizer
c0384e97afb847173d446d6ad499c6d5d6f055e6
[ "MIT" ]
null
null
null
rs_gl.cpp
darkedge/rasterizer
c0384e97afb847173d446d6ad499c6d5d6f055e6
[ "MIT" ]
null
null
null
rs_gl.cpp
darkedge/rasterizer
c0384e97afb847173d446d6ad499c6d5d6f055e6
[ "MIT" ]
null
null
null
#include <malloc.h> #include "glad/glad.h" #include <GLFW/glfw3.h> #include <stdio.h> #include <assert.h> #include "rs_gl.h" static unsigned int framebufferTexID[2]; static GLuint fbPBO[2]; static Texture texture; static int index; void CheckOpenGLError(const char* expr, const char* fname, int line) { GLenum err...
31.06087
107
0.694289
darkedge
0e44f3266eaf12d191036ed2058a925a74a07a94
188
cpp
C++
Array1.cpp
csdeptku/Python-for-cpp-programmers
6fcca9afc6df1e40a1554d5fa4c4d57dbc50b7e6
[ "Apache-2.0" ]
null
null
null
Array1.cpp
csdeptku/Python-for-cpp-programmers
6fcca9afc6df1e40a1554d5fa4c4d57dbc50b7e6
[ "Apache-2.0" ]
null
null
null
Array1.cpp
csdeptku/Python-for-cpp-programmers
6fcca9afc6df1e40a1554d5fa4c4d57dbc50b7e6
[ "Apache-2.0" ]
null
null
null
//Arrays #include <iostream> using namespace std; int main() { int A[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} ; for(int i = 0; i < 10; i++){ cout<<A[i]<<endl; } return 0; }
15.666667
48
0.478723
csdeptku
0e470f3992174e06d43c9550b36a91ac38ab5f3a
308
cpp
C++
aql/benchmark/lib_16/class_5.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_16/class_5.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_16/class_5.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
#include "class_5.h" #include "class_3.h" #include "class_0.h" #include "class_4.h" #include "class_8.h" #include "class_7.h" #include <lib_6/class_7.h> #include <lib_14/class_1.h> #include <lib_8/class_8.h> #include <lib_8/class_9.h> #include <lib_3/class_3.h> class_5::class_5() {} class_5::~class_5() {}
20.533333
27
0.711039
menify
0e47b3f0899563c8998cd7d5d94992468b53c325
1,569
cpp
C++
src/armnn/test/optimizations/Fp32NetworkToFp16ConverterTests.cpp
tom-gall/armnn
a21620d32a8a0a8d527c061e2a22d51009d75877
[ "MIT" ]
null
null
null
src/armnn/test/optimizations/Fp32NetworkToFp16ConverterTests.cpp
tom-gall/armnn
a21620d32a8a0a8d527c061e2a22d51009d75877
[ "MIT" ]
null
null
null
src/armnn/test/optimizations/Fp32NetworkToFp16ConverterTests.cpp
tom-gall/armnn
a21620d32a8a0a8d527c061e2a22d51009d75877
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "../TestUtils.hpp" #include <Optimizer.hpp> #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_SUITE(Optimizer) using namespace armnn::optimizations; BOOST_AUTO_TEST_CASE(Fp32NetworkToFp16OptimizationTest) { armn...
34.866667
113
0.697897
tom-gall
0e4aaa7ac83a41173093defb0335b0636286bfe0
4,626
cpp
C++
third_party/mlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp
scentini/tensorflow
204ed332c0886a0e0ab10b22ba8d67b97e1c83c4
[ "Apache-2.0" ]
56
2018-06-21T13:47:23.000Z
2020-05-13T09:31:47.000Z
third_party/mlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp
scentini/tensorflow
204ed332c0886a0e0ab10b22ba8d67b97e1c83c4
[ "Apache-2.0" ]
null
null
null
third_party/mlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp
scentini/tensorflow
204ed332c0886a0e0ab10b22ba8d67b97e1c83c4
[ "Apache-2.0" ]
15
2018-09-06T14:18:32.000Z
2020-05-14T06:35:30.000Z
//===- LinalgTransforms.cpp - Linalg transformations as patterns ----------===// // // Copyright 2019 The MLIR Authors. // // 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....
42.440367
80
0.68396
scentini
0e4b3d18ab07830334a72f0a32f93b31a2e3010b
923
cpp
C++
src/Cursor.cpp
nbkhope/ultimata
2aa6339e6c7dbc1a3343d459343b41338fd69608
[ "MIT" ]
null
null
null
src/Cursor.cpp
nbkhope/ultimata
2aa6339e6c7dbc1a3343d459343b41338fd69608
[ "MIT" ]
6
2019-12-28T02:34:35.000Z
2019-12-30T04:21:46.000Z
src/Cursor.cpp
nbkhope/ultimata
2aa6339e6c7dbc1a3343d459343b41338fd69608
[ "MIT" ]
null
null
null
#include "Cursor.h" Cursor::Cursor() { pos.x = 0; pos.y = 0; pos.w = TILESIZE; pos.h = TILESIZE; cursorTileIndex = 0; cursorTileId = -1; } Cursor::~Cursor() { } void Cursor::updateTileInfo(GameMap* gameMap) { cursorTileIndex = pos.x / TILESIZE + (pos.y / TILESIZE) * gameMap->getTilesAcross(); cursorTileI...
12.472973
85
0.676056
nbkhope
0e4b40e2a6f1f4e277827bad64996e31326a798a
619
cpp
C++
source/tvision/nmdirbox.cpp
gpaulsen/tvision
638f963fe4f6c84854f60f1e9c5772bf6603e4b2
[ "MIT" ]
1,202
2020-05-10T18:43:45.000Z
2022-03-31T18:23:27.000Z
source/tvision/nmdirbox.cpp
skywind3000/tvision
7ab5f195c572de0d496e92f4e3f7b3b0771ac699
[ "MIT" ]
54
2020-05-10T17:36:55.000Z
2022-03-15T12:22:07.000Z
source/tvision/nmdirbox.cpp
skywind3000/tvision
7ab5f195c572de0d496e92f4e3f7b3b0771ac699
[ "MIT" ]
90
2020-06-28T13:51:47.000Z
2022-03-26T21:00:17.000Z
/*------------------------------------------------------------*/ /* filename - nmdirbox.cpp */ /* */ /* defines the streamable name for class TDirListBox */ /*------------------------------------------------------...
30.95
65
0.397415
gpaulsen
0e4dad05a7cedca437ee435d7a51599354d686cb
657
cpp
C++
Game winkel & Autohuur/Autohuur/Main.cpp
hassoonsy2/High-Performance-Programming
7407da7f53546bd136b313d9055505ad0848d19b
[ "MIT" ]
null
null
null
Game winkel & Autohuur/Autohuur/Main.cpp
hassoonsy2/High-Performance-Programming
7407da7f53546bd136b313d9055505ad0848d19b
[ "MIT" ]
null
null
null
Game winkel & Autohuur/Autohuur/Main.cpp
hassoonsy2/High-Performance-Programming
7407da7f53546bd136b313d9055505ad0848d19b
[ "MIT" ]
null
null
null
#include <iostream> #include "AutoHuur.hpp" #include "Auto.hpp" #include "Klant.hpp" int main() { Klant k("Mijnheer de Vries"); k.set_korting_percentage(10.0); Auto a1("Peugeot 207", 50); AutoHuur ah1(a1, k, 4); std::cout << "Eerste autohuur:"<< ah1 <<endl; std::cout << endl; Auto a2(...
24.333333
63
0.585997
hassoonsy2
0e51e4db454fbc567c4fa1567744af133871a141
6,163
cpp
C++
examples/1d_stencil/1d_stencil_channel.cpp
jokteur/hpx
689ce9b586322c90f966ef84aa6eba190f037dd7
[ "BSL-1.0" ]
null
null
null
examples/1d_stencil/1d_stencil_channel.cpp
jokteur/hpx
689ce9b586322c90f966ef84aa6eba190f037dd7
[ "BSL-1.0" ]
null
null
null
examples/1d_stencil/1d_stencil_channel.cpp
jokteur/hpx
689ce9b586322c90f966ef84aa6eba190f037dd7
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2020 Nikunj Gupta // // SPDX-License-Identifier: BSL-1.0 // 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) // This is the a separate examples demonstrating the development // of a fully distributed s...
32.608466
79
0.575045
jokteur
0e5403f9ad100c377aa441473bad55a9216df7a9
2,274
cpp
C++
polyline.cpp
zfergus2/Animated-Scene-Graph-Editor
3dbd1409f393c7e70e471005263741a8f1290434
[ "MIT" ]
null
null
null
polyline.cpp
zfergus2/Animated-Scene-Graph-Editor
3dbd1409f393c7e70e471005263741a8f1290434
[ "MIT" ]
null
null
null
polyline.cpp
zfergus2/Animated-Scene-Graph-Editor
3dbd1409f393c7e70e471005263741a8f1290434
[ "MIT" ]
1
2021-08-21T05:01:59.000Z
2021-08-21T05:01:59.000Z
/* * polyline.cpp * Created by Zachary Ferguson * Source file for the polyline class, a class for creating and drawing * polylines */ /* Include necessary types */ #include "polyline.h" /* Constructor that takes a list of vectors for the vertices and the color */ polyline::polyline(std::list<vec3>* vertices, fl...
23.936842
77
0.659631
zfergus2
0e559ebeb552dc9bcaf053bf1111f032533f7ead
5,717
cpp
C++
Engine/Terrain/TerrainData.cpp
gaspardpetit/INF740-GameEngine
075b6563204fb3d1cf7531599f30dd296c2c9239
[ "Apache-2.0" ]
null
null
null
Engine/Terrain/TerrainData.cpp
gaspardpetit/INF740-GameEngine
075b6563204fb3d1cf7531599f30dd296c2c9239
[ "Apache-2.0" ]
null
null
null
Engine/Terrain/TerrainData.cpp
gaspardpetit/INF740-GameEngine
075b6563204fb3d1cf7531599f30dd296c2c9239
[ "Apache-2.0" ]
1
2015-09-25T22:24:16.000Z
2015-09-25T22:24:16.000Z
#include "Precompiled.h" #include "TerrainData.h" #include "Import/Images/OLEImageImporter.h" #include "Core/GameManagers/IRenderManager.h" #include "Core/GameManagers/ISimulationManager.h" #include "Core/Game/Game.h" #include "Core/Logging/Logger.h" #include <d3d9.h> using namespace physx; namespace engine { //-...
31.761111
154
0.676054
gaspardpetit
0e55dd66d416f2e8f41e4af398bb0d23ec395c49
621
cpp
C++
spot_comm/src/vel_cmd_node.cpp
utexas-bwi/spot_gazebo
39b31f1e8d2d33cec97d4254a425fe329c939149
[ "BSD-2-Clause" ]
null
null
null
spot_comm/src/vel_cmd_node.cpp
utexas-bwi/spot_gazebo
39b31f1e8d2d33cec97d4254a425fe329c939149
[ "BSD-2-Clause" ]
null
null
null
spot_comm/src/vel_cmd_node.cpp
utexas-bwi/spot_gazebo
39b31f1e8d2d33cec97d4254a425fe329c939149
[ "BSD-2-Clause" ]
1
2021-06-08T14:31:57.000Z
2021-06-08T14:31:57.000Z
#include <ros/ros.h> #include "spot_comm/VelocityCommand.h" int main(int argc, char** argv) { ros::init(argc, argv, "vel_cmd_node"); ros::NodeHandle n; VelocityCommand vel(n); double xVel; double yVel; double angularVel; int counter = 0; ros::Rate r(1000); while(ros::ok() && counter < 2000) { ...
16.783784
75
0.599034
utexas-bwi
0e565285e586b0148324fd6da6155022ba25f2b3
11,663
cpp
C++
OrionUO/Target.cpp
alerdenisov/OrionUO
d0bb54ce62af68a0152edd02d94fdf92eef90d4d
[ "MIT" ]
25
2018-10-30T01:19:10.000Z
2021-06-02T15:35:49.000Z
OrionUO/Target.cpp
alerdenisov/OrionUO
d0bb54ce62af68a0152edd02d94fdf92eef90d4d
[ "MIT" ]
74
2018-10-13T00:41:32.000Z
2021-09-04T20:00:12.000Z
OrionUO/Target.cpp
alerdenisov/OrionUO
d0bb54ce62af68a0152edd02d94fdf92eef90d4d
[ "MIT" ]
20
2018-10-09T17:42:32.000Z
2022-03-26T05:57:47.000Z
// MIT License // Copyright (C) August 2016 Hotride #include "Target.h" #include "Config.h" #include "OrionUO.h" #include "Multi.h" #include "plugin/mulstruct.h" #include "plugin/commoninterfaces.h" #include "Network/Packets.h" #include "Managers/FileManager.h" #include "Managers/MouseManager.h" #include "Managers/Map...
23.466801
96
0.564606
alerdenisov
0e569d184eb0be9e8e7d3fb5caad65fa55994e77
3,573
hpp
C++
X11/context.hpp
beProsto/OWL
8fbb64a65eebd5c51395a646695ed4ea5e4e82a5
[ "BSD-2-Clause-FreeBSD" ]
2
2021-05-23T05:56:19.000Z
2021-08-17T11:40:00.000Z
X11/context.hpp
beProsto/OWL
8fbb64a65eebd5c51395a646695ed4ea5e4e82a5
[ "BSD-2-Clause-FreeBSD" ]
2
2020-01-04T14:18:04.000Z
2021-11-26T06:47:16.000Z
X11/context.hpp
beProsto/OWL
8fbb64a65eebd5c51395a646695ed4ea5e4e82a5
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#ifndef _OWL_X11_CONTEXT_HPP_HEADER_FILE_GUARD #define _OWL_X11_CONTEXT_HPP_HEADER_FILE_GUARD #include "X11.hpp" namespace OWL { namespace X11 { #define OWL_X11_WINDOW_EVENT_MASKS ExposureMask | ButtonPressMask | ButtonReleaseMask | EnterWindowMask | LeaveWindowMask | PointerMotionMask | PointerMotionHintMask | Butt...
25.340426
334
0.687098
beProsto
0e5714b17436143b10bd7860fc90ceb64b07e817
6,702
cc
C++
paddle/phi/kernels/sparse/cpu/sparse_mask_kernel.cc
RangeKing/Paddle
2d87300809ae75d76f5b0b457d8112cb88dc3e27
[ "Apache-2.0" ]
8
2016-08-15T07:02:27.000Z
2016-08-24T09:34:00.000Z
paddle/phi/kernels/sparse/cpu/sparse_mask_kernel.cc
RangeKing/Paddle
2d87300809ae75d76f5b0b457d8112cb88dc3e27
[ "Apache-2.0" ]
null
null
null
paddle/phi/kernels/sparse/cpu/sparse_mask_kernel.cc
RangeKing/Paddle
2d87300809ae75d76f5b0b457d8112cb88dc3e27
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2022 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 by applicable law or...
36.423913
80
0.595942
RangeKing
0e5ffadc135773be71ec0ff5c9a4770fa39afc58
1,495
cc
C++
chrome/browser/icon_loader_auralinux.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/icon_loader_auralinux.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/icon_loader_auralinux.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 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/icon_loader.h" #include "base/bind.h" #include "base/memory/ptr_util.h" #include "base/message_loop/message_loop.h" #include "ba...
26.696429
80
0.690301
metux
0e604344bfb241d77da65597776268de7c170f85
5,013
cpp
C++
src/graphics/gl/block/shared.cpp
wroblewskipawel/rupture
af76382bf0a4c956aea005190dc9ec5a4e826ded
[ "MIT" ]
null
null
null
src/graphics/gl/block/shared.cpp
wroblewskipawel/rupture
af76382bf0a4c956aea005190dc9ec5a4e826ded
[ "MIT" ]
null
null
null
src/graphics/gl/block/shared.cpp
wroblewskipawel/rupture
af76382bf0a4c956aea005190dc9ec5a4e826ded
[ "MIT" ]
null
null
null
#include "graphics/gl/block/shared.h" namespace gl { namespace shared { void Block::queryUniformLayouts(GLuint glProgram) { GLint blockCount{}; GLchar glNameBuffer[MAX_GL_NAME_LENGTH]{}; glGetProgramInterfaceiv(glProgram, GL_UNIFORM_BLOCK, GL_ACTIVE_RESOURCES, &blockCount); ...
41.429752
80
0.596449
wroblewskipawel
0e61f46ba4dc28116f1ac24dfda96567d302d2a6
4,792
cc
C++
src/pks/flow/Darcy_TI.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
1
2021-02-23T18:34:47.000Z
2021-02-23T18:34:47.000Z
src/pks/flow/Darcy_TI.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
src/pks/flow/Darcy_TI.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
/* Flow PK Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (lipnikov@lanl.gov) */ #include "Darcy_P...
30.522293
92
0.563022
ajkhattak
0e628df487b729debc1bf78daf600e06a3eb6955
40,045
cc
C++
src/dialogs.cc
snmsts/xyzzy
3291c7898d17f90b1a50c3de1aeb5f9a446d9061
[ "RSA-MD" ]
1
2015-06-03T18:11:12.000Z
2015-06-03T18:11:12.000Z
src/dialogs.cc
snmsts/xyzzy
3291c7898d17f90b1a50c3de1aeb5f9a446d9061
[ "RSA-MD" ]
null
null
null
src/dialogs.cc
snmsts/xyzzy
3291c7898d17f90b1a50c3de1aeb5f9a446d9061
[ "RSA-MD" ]
null
null
null
#include "stdafx.h" #include "ed.h" #include "conf.h" #include "privctrl.h" #include "dialogs.h" #include "ofn.h" #include "thread.h" #include "xstrlist.h" #include "version.h" #include "monitor.h" void set_window_icon (HWND hwnd) { SendMessage (hwnd, WM_SETICON, 1, LPARAM (LoadIcon (app.hinst, MAKEIN...
25.360988
99
0.572006
snmsts
0e6465a8bb720131beaf1acc32a2f024448bd283
1,114
cpp
C++
algorithm/poj3704.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
2
2019-06-10T11:50:06.000Z
2019-10-14T08:00:41.000Z
algorithm/poj3704.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
null
null
null
algorithm/poj3704.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
null
null
null
#include<iostream> #include<cstring> using namespace std; char str[101]; int len; int match(int pos){ int i; i = pos + 1; while (1) { while (str[i] != '(' && str[i] != ')' && str[i] != 0) i++; if (str[i] == '(') { i = match(i); } else if (str[i] == ')...
21.018868
61
0.29623
chtld
0e68f3594b2fc891b1b49f4b3e2293550350a93e
129
cpp
C++
bulletml/src/formula-variables.cpp
ledyba/Noiz2saNaCl
e7378effa91815f5e5e5855f2a5f98f25ac0dfd5
[ "BSD-2-Clause" ]
5
2015-08-25T15:30:28.000Z
2021-01-28T21:16:28.000Z
bulletml/src/formula-variables.cpp
ledyba/Noiz2saNaCl
e7378effa91815f5e5e5855f2a5f98f25ac0dfd5
[ "BSD-2-Clause" ]
1
2020-07-11T14:57:31.000Z
2020-07-11T14:57:31.000Z
bulletml/src/formula-variables.cpp
ledyba/Noiz2saNaCl
e7378effa91815f5e5e5855f2a5f98f25ac0dfd5
[ "BSD-2-Clause" ]
1
2020-04-03T03:44:48.000Z
2020-04-03T03:44:48.000Z
#include "formula-variables.h" namespace Variables { double rank; std::vector<double>* parameters; BulletMLRunner* runner; }
16.125
33
0.751938
ledyba
0e69600ef861d480a7102df4be5384ff9266e78b
43,286
cpp
C++
third-party/llvm/llvm-src/tools/clang/utils/TableGen/SveEmitter.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
250
2019-05-07T12:56:44.000Z
2022-03-10T15:52:06.000Z
third-party/llvm/llvm-src/tools/clang/utils/TableGen/SveEmitter.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
410
2019-06-06T20:52:32.000Z
2022-01-18T14:21:48.000Z
third-party/llvm/llvm-src/tools/clang/utils/TableGen/SveEmitter.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
50
2019-05-10T21:12:24.000Z
2022-01-21T06:39:47.000Z
//===- SveEmitter.cpp - Generate arm_sve.h for use with clang -*- C++ -*-===// // // 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 // //===--------------------------...
30.122477
91
0.613062
jhh67
0e6b265c3ec6f26828883e502425f3a32c9bba44
223
hpp
C++
include/sywu/api_defs.hpp
bzeller/sywu
a0eeffcd46d74e68dc4115c31a7aaedc2a5be830
[ "MIT" ]
null
null
null
include/sywu/api_defs.hpp
bzeller/sywu
a0eeffcd46d74e68dc4115c31a7aaedc2a5be830
[ "MIT" ]
null
null
null
include/sywu/api_defs.hpp
bzeller/sywu
a0eeffcd46d74e68dc4115c31a7aaedc2a5be830
[ "MIT" ]
null
null
null
#ifndef API_DEFS_HPP #define API_DEFS_HPP #include <config.hpp> #ifdef CONFIG_LIBRARY # define SYWU_API DECL_EXPORT #else # define SYWU_API DECL_IMPORT #endif #define SYWU_TEMPLATE_API #endif // API_DEFS_HPP
15.928571
35
0.762332
bzeller
0e6bbbf6a77e9886aa751de3338ba8f62d1630b7
38,276
cpp
C++
src/refdb.cpp
overcookedpanda/merit
5fb1604ae69aae71f746d018fd86f1e4b9c60ccc
[ "MIT" ]
null
null
null
src/refdb.cpp
overcookedpanda/merit
5fb1604ae69aae71f746d018fd86f1e4b9c60ccc
[ "MIT" ]
null
null
null
src/refdb.cpp
overcookedpanda/merit
5fb1604ae69aae71f746d018fd86f1e4b9c60ccc
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2020 The Merit Foundation // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "refdb.h" #include "base58.h" #include <boost/rational.hpp> #include <boost/multiprecision/cpp_int.hpp> #include <limits> ...
33.753086
130
0.547811
overcookedpanda
0e6da5bf4d30526fdc05207058f6af9e2a859d11
3,619
cpp
C++
src/serial/AbstractController.cpp
TheTechdoodle/Vex-V5-TT2019
120407c89f7ffba3291cdbb35d4f485655fdba17
[ "MIT" ]
null
null
null
src/serial/AbstractController.cpp
TheTechdoodle/Vex-V5-TT2019
120407c89f7ffba3291cdbb35d4f485655fdba17
[ "MIT" ]
null
null
null
src/serial/AbstractController.cpp
TheTechdoodle/Vex-V5-TT2019
120407c89f7ffba3291cdbb35d4f485655fdba17
[ "MIT" ]
null
null
null
#include "serial/AbstractController.h" AbstractController::AbstractController() : AbstractController(nullptr) { } AbstractController::AbstractController(pros::Controller* controller) { this->attachController(controller); // Reset controller values to initial for(int i = 0; i < CONTROLLER_VALUE_COUNT; i+...
25.485915
87
0.647416
TheTechdoodle
0e6dac03d70187a0f4efe4b044d70be27d1542b6
2,522
cpp
C++
cube/HashFunctions.cpp
ypavlou/LSH-HYPERCUBE
fda86a704a215d03593e0f0c0506a2d9308cf3b1
[ "MIT" ]
null
null
null
cube/HashFunctions.cpp
ypavlou/LSH-HYPERCUBE
fda86a704a215d03593e0f0c0506a2d9308cf3b1
[ "MIT" ]
null
null
null
cube/HashFunctions.cpp
ypavlou/LSH-HYPERCUBE
fda86a704a215d03593e0f0c0506a2d9308cf3b1
[ "MIT" ]
null
null
null
#include "HashFunctions.h" double generateNumber(double const& range_from,double const& range_to){ //https://en.cppreference.com/w/cpp/numeric/random/uniform_real_distribution random_device rand_dev; mt19937 generator(rand_dev()); uniform_real_distribut...
29.670588
154
0.587629
ypavlou
0e71f9228352c6e877360dee54cb4010e84902cb
7,268
cpp
C++
src/runtime/buffer_t.cpp
jxt1234/Halide
c6f1edf41714cb59af0bae731ca577b5bf6c3383
[ "MIT" ]
107
2018-08-16T05:32:52.000Z
2022-02-11T19:44:25.000Z
src/runtime/buffer_t.cpp
halide/Halide_old_history
b83d7e7a172f9ef5a9f0c3e06162ac2fa2be9e0d
[ "MIT" ]
3
2018-11-04T05:09:32.000Z
2019-07-16T19:18:42.000Z
src/runtime/buffer_t.cpp
halide/Halide_old_history
b83d7e7a172f9ef5a9f0c3e06162ac2fa2be9e0d
[ "MIT" ]
16
2018-08-21T09:45:13.000Z
2021-12-11T03:32:15.000Z
#ifdef COMPILING_HALIDE_RUNTIME #include "HalideRuntime.h" #define HALIDE_BUFFER_HELPER_ATTRS __attribute__((always_inline, weak)) #else #define HALIDE_BUFFER_HELPER_ATTRS inline #endif // Structs are annoying to deal with from within Halide Stmts. These // utility functions are for dealing with buffer_t in that // co...
31.877193
105
0.648184
jxt1234
0e72c1f8294473df342e563a20fce43efcb378c3
6,753
cpp
C++
src/diskio_flash.cpp
cyberluke/EHAL
4238d528ff15267d1cd47c01ec50662b1315b029
[ "BSD-3-Clause" ]
null
null
null
src/diskio_flash.cpp
cyberluke/EHAL
4238d528ff15267d1cd47c01ec50662b1315b029
[ "BSD-3-Clause" ]
null
null
null
src/diskio_flash.cpp
cyberluke/EHAL
4238d528ff15267d1cd47c01ec50662b1315b029
[ "BSD-3-Clause" ]
null
null
null
/*-------------------------------------------------------------------------- File : diskio_flash.cpp Author : Hoang Nguyen Hoan Aug. 30, 2016 Desc : Generic flash disk I/O driver class Copyright (c) 2016, Motsai, all rights reserved Permission to use, copy, modify, and distribute this software for any ...
24.032028
107
0.591589
cyberluke
0e7464aeef56ded8d99002281efa0e70e0a6a784
16,421
cc
C++
hoomd/md/test/test_table_potential.cc
moosee333/hoomd
bdbf221b62cb5166b03c0a10db58bebcb952f755
[ "BSD-3-Clause" ]
null
null
null
hoomd/md/test/test_table_potential.cc
moosee333/hoomd
bdbf221b62cb5166b03c0a10db58bebcb952f755
[ "BSD-3-Clause" ]
null
null
null
hoomd/md/test/test_table_potential.cc
moosee333/hoomd
bdbf221b62cb5166b03c0a10db58bebcb952f755
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009-2018 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. // this include is necessary to get MPI included before anything else to support intel MPI #include "hoomd/ExecutionConfiguration.h" #include <functional> #inc...
45.997199
149
0.673893
moosee333
0e75e09398868583efe4e6444fe61ed4c5f16bf9
6,909
cpp
C++
src/common/ConEmuCheckEx.cpp
infernix/ConEmu
12ba6e932473686d571895864a5804b5427e18b1
[ "BSD-3-Clause" ]
8,197
2015-01-01T13:06:51.000Z
2022-03-29T13:10:46.000Z
src/common/ConEmuCheckEx.cpp
infernix/ConEmu
12ba6e932473686d571895864a5804b5427e18b1
[ "BSD-3-Clause" ]
2,350
2015-01-01T04:13:11.000Z
2022-03-30T23:16:06.000Z
src/common/ConEmuCheckEx.cpp
infernix/ConEmu
12ba6e932473686d571895864a5804b5427e18b1
[ "BSD-3-Clause" ]
717
2015-01-08T00:40:30.000Z
2022-03-23T07:02:58.000Z
 /* Copyright (c) 2009-present Maximus5 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 conditions and the follo...
30.706667
129
0.697785
infernix
0e75f6eb1d62984bd07fa6cf810d40273bdc64eb
10,086
cpp
C++
AVNA8main/src/SerialCommandR2/SerialCommandR2.cpp
boblark/AudioTestInstrument
43400f271bcdefbb0105e1abd5152480e207b871
[ "MIT" ]
2
2021-03-04T06:38:31.000Z
2021-09-13T17:17:36.000Z
AVNA8main/src/SerialCommandR2/SerialCommandR2.cpp
boblark/AudioTestInstrument
43400f271bcdefbb0105e1abd5152480e207b871
[ "MIT" ]
1
2021-05-03T23:46:48.000Z
2021-05-04T16:29:17.000Z
AVNA8main/src/SerialCommandR2/SerialCommandR2.cpp
boblark/AudioTestInstrument
43400f271bcdefbb0105e1abd5152480e207b871
[ "MIT" ]
1
2021-05-03T23:07:04.000Z
2021-05-03T23:07:04.000Z
/******************************************************************************* SerialCommandR - Modified from Steven Cogswell Llibrary noted below. Bob Larkin 21 Jan 2017 - See .h file for notes. * SerialCommand - An Arduino library to tokenize and parse commands received over a serial port. Copyright (C) 2011-2...
37.217712
116
0.586556
boblark
0e76df6bfd8fb2acfb9fb1a2514ed1b6af2f2630
8,722
cpp
C++
src/3rdparty/sheets/ui/LocationComboBox.cpp
afarcat/QtSheetView
6d5ef3418238e9402c5a263a6f499557cc7215bf
[ "Apache-2.0" ]
null
null
null
src/3rdparty/sheets/ui/LocationComboBox.cpp
afarcat/QtSheetView
6d5ef3418238e9402c5a263a6f499557cc7215bf
[ "Apache-2.0" ]
null
null
null
src/3rdparty/sheets/ui/LocationComboBox.cpp
afarcat/QtSheetView
6d5ef3418238e9402c5a263a6f499557cc7215bf
[ "Apache-2.0" ]
null
null
null
/* This file is part of the KDE project Copyright 1999-2006 The KSpread Team <calligra-devel@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the L...
30.075862
127
0.635634
afarcat
0e76ec6683b5828ad682fa300250f7ef9fe7655b
1,281
cpp
C++
vteffect/goto.cpp
LegalizeAdulthood/vteffect
36ecb0d166ba9d88c2681975c1c6c8a867b5702e
[ "MIT" ]
3
2019-09-22T13:10:54.000Z
2021-12-21T14:01:53.000Z
vteffect/goto.cpp
LegalizeAdulthood/vteffect
36ecb0d166ba9d88c2681975c1c6c8a867b5702e
[ "MIT" ]
null
null
null
vteffect/goto.cpp
LegalizeAdulthood/vteffect
36ecb0d166ba9d88c2681975c1c6c8a867b5702e
[ "MIT" ]
null
null
null
#include "goto.h" #include <cstdio> void goto_coord(const coord &c, coord &last) { if (last.row == c.row) { if (last.col == c.col-1) { } else if (last.col == c.col+1) { std::printf("\010\010"); } else if (last.col > c.col) { ...
20.66129
54
0.37861
LegalizeAdulthood
0e7766402342a9609e8061c752ecaff5ea9a73c0
8,970
cpp
C++
catboost/libs/eval_result/pool_printer.cpp
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
null
null
null
catboost/libs/eval_result/pool_printer.cpp
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
null
null
null
catboost/libs/eval_result/pool_printer.cpp
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
1
2022-02-23T13:35:26.000Z
2022-02-23T13:35:26.000Z
#include "pool_printer.h" #include "eval_helpers.h" #include <catboost/idl/pool/flat/quantized_chunk_t.fbs.h> #include <catboost/libs/helpers/exception.h> #include <catboost/private/libs/data_util/exists_checker.h> #include <catboost/private/libs/quantized_pool/serialization.h> #include <util/generic/xrange.h> #incl...
42.511848
155
0.650056
jochenater
0e7b09abd246cc1e53a6a638265b822f31287ff8
1,350
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/fun/rep_array_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/fun/rep_array_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/arr/fun/rep_array_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/arr.hpp> #include <gtest/gtest.h> TEST(MathMatrix,rep_array) { using stan::math::rep_array; std::vector<double> x = rep_array(2.0, 3); EXPECT_EQ(3U,x.size()); for (size_t i = 0; i < x.size(); ++i) EXPECT_FLOAT_EQ(2.0, x[i]); EXPECT_THROW(rep_array(2.0,-2), std::domain_error); } ...
31.395349
59
0.602963
yizhang-cae
0e7ef3b25ad78a4f9e33e6f2c03cdf0cf4a87543
3,282
hpp
C++
PSME/agent/pnc/include/tools/i2c_tool.hpp
opencomputeproject/HWMgmt-DeviceMgr-PSME
2a00188aab6f4bef3776987f0842ef8a8ea972ac
[ "Apache-2.0" ]
5
2021-10-07T15:36:37.000Z
2022-03-01T07:21:49.000Z
PSME/agent/pnc/include/tools/i2c_tool.hpp
opencomputeproject/DM-Redfish-PSME
912f7b6abf5b5c2aae33c75497de4753281c6a51
[ "Apache-2.0" ]
null
null
null
PSME/agent/pnc/include/tools/i2c_tool.hpp
opencomputeproject/DM-Redfish-PSME
912f7b6abf5b5c2aae33c75497de4753281c6a51
[ "Apache-2.0" ]
1
2021-03-24T19:37:58.000Z
2021-03-24T19:37:58.000Z
/*! * @copyright * Copyright (c) 2016-2017 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
30.672897
113
0.689214
opencomputeproject
0e821f4253f5b94e92e6b7dc8ecae170f231f224
1,197
cpp
C++
files/soko1/qutim_0.1.1/protocol/oscar/icq/readawaydialog.cpp
truebsdorg/truebsdorg.github.io
8663d8f6fae3b1bb1e2fb29614677f2863521951
[ "BSD-4-Clause-UC" ]
null
null
null
files/soko1/qutim_0.1.1/protocol/oscar/icq/readawaydialog.cpp
truebsdorg/truebsdorg.github.io
8663d8f6fae3b1bb1e2fb29614677f2863521951
[ "BSD-4-Clause-UC" ]
null
null
null
files/soko1/qutim_0.1.1/protocol/oscar/icq/readawaydialog.cpp
truebsdorg/truebsdorg.github.io
8663d8f6fae3b1bb1e2fb29614677f2863521951
[ "BSD-4-Clause-UC" ]
null
null
null
/* readAwayDialog Copyright (c) 2008 by Rustam Chakin <qutim.develop@gmail.com> *************************************************************************** * * * This program is free software; you can redistribute it and/or modify *...
27.837209
101
0.492899
truebsdorg
0e8229737beb80be7ecc1bf3d732de3952df12cd
4,433
cpp
C++
src/network_manager.cpp
hsrob/BBCF-Improvement-Mod-GGPO
2d327b942c3b58190078afb235e2c83a7c390784
[ "MIT" ]
1
2020-09-15T10:45:06.000Z
2020-09-15T10:45:06.000Z
src/network_manager.cpp
hsrob/BBCF-Improvement-Mod-GGPO
2d327b942c3b58190078afb235e2c83a7c390784
[ "MIT" ]
null
null
null
src/network_manager.cpp
hsrob/BBCF-Improvement-Mod-GGPO
2d327b942c3b58190078afb235e2c83a7c390784
[ "MIT" ]
null
null
null
#include "../include/network_manager.h" #include "../include/ImGui/ImGuiSystem.h" #include "../include/custom_palette.h" #include "../include/utils.h" #include "../include/bbcf_im_networking.h" #include "../include/containers.h" NetworkManager::NetworkManager(SteamNetworkingWrapper *SteamNetworking) { pSteamNetworkin...
31.892086
136
0.747575
hsrob
0e82c7fe5ccff315475ab2ac9fbd33c7dd9d814c
2,036
cpp
C++
src/tasks/internal/cp_task.cpp
rqu/worker
483a474e5c2098588958e7c7e48eff4f25516aca
[ "MIT" ]
null
null
null
src/tasks/internal/cp_task.cpp
rqu/worker
483a474e5c2098588958e7c7e48eff4f25516aca
[ "MIT" ]
null
null
null
src/tasks/internal/cp_task.cpp
rqu/worker
483a474e5c2098588958e7c7e48eff4f25516aca
[ "MIT" ]
null
null
null
#include "cp_task.h" #include "helpers/string_utils.h" #include "helpers/filesystem.h" #define BOOST_FILESYSTEM_NO_DEPRECATED #define BOOST_NO_CXX11_SCOPED_ENUMS #include <boost/filesystem.hpp> namespace fs = boost::filesystem; cp_task::cp_task(std::size_t id, std::shared_ptr<task_metadata> task_meta) : task_base(i...
32.31746
101
0.708743
rqu
0e84239dc829bc5e747e0b3d64e07702b465837c
1,618
hpp
C++
modules/boost/simd/config/include/boost/simd/sdk/config/types.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/config/include/boost/simd/sdk/config/types.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/config/include/boost/simd/sdk/config/types.hpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
49.030303
80
0.580964
pbrunet
0e8608de0cf55ff32dc37ad5a22ef672588faf28
8,803
cpp
C++
Engine/Plugins/Experimental/ControlRig/Source/ControlRigEditor/Private/InputOutput/UserLabeledFieldCustomization.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Experimental/ControlRig/Source/ControlRigEditor/Private/InputOutput/UserLabeledFieldCustomization.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Experimental/ControlRig/Source/ControlRigEditor/Private/InputOutput/UserLabeledFieldCustomization.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "UserLabeledFieldCustomization.h" #include "K2Node_ControlRig.h" #include "IDetailChildrenBuilder.h" #include "PropertyHandle.h" #include "Containers/Algo/Transform.h" #include "HierarchicalRig.h" #include "DetailWidgetRow.h" #include "SComboBox.h" ...
33.599237
220
0.733614
windystrife
0e885bc0cdfc2aaf5b4435dbe04d955d0ef4cf5e
10,917
hpp
C++
src/xpcc/utils/arithmetic_traits.hpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
5
2016-02-06T14:57:35.000Z
2018-01-02T23:34:18.000Z
src/xpcc/utils/arithmetic_traits.hpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
null
null
null
src/xpcc/utils/arithmetic_traits.hpp
walmis/xpcc
1d87c4434530c6aeac923f57d379aeaf32e11e1e
[ "BSD-3-Clause" ]
1
2020-04-19T13:16:31.000Z
2020-04-19T13:16:31.000Z
// coding: utf-8 // ---------------------------------------------------------------------------- /* Copyright (c) 2009, Roboterclub Aachen e.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are...
25.388372
80
0.608226
walmis
0e89635f1a94d8ab082928f111b26a716568fc71
2,477
hxx
C++
opencascade/math_FunctionSetWithDerivatives.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/math_FunctionSetWithDerivatives.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/math_FunctionSetWithDerivatives.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1991-05-13 // Created by: Laurent PAINNOT // Copyright (c) 1991-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GN...
28.147727
109
0.757771
mgreminger
0e8c2db1c9f9cd5120ac2d359ed11dfbf2248683
1,378
cpp
C++
src/gl/hqnx/init.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
5
2021-07-31T03:34:09.000Z
2021-08-31T21:43:50.000Z
source/common/textures/hires/hqnx/init.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
4
2021-09-02T00:05:17.000Z
2021-09-07T14:56:12.000Z
source/common/textures/hires/hqnx/init.cpp
Quake-Backup/Raze
16c81f0b1f409436ebf576d2c23f2459a29b34b4
[ "RSA-MD" ]
1
2021-09-28T19:03:39.000Z
2021-09-28T19:03:39.000Z
/* * Copyright (C) 2010 Cameron Zemek ( grom@zeminvaders.net) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ve...
35.333333
74
0.642235
351ELEC
0e8e6a2c9a6a75689db17d44c2e750aff623cd33
26,066
hh
C++
RAVL2/OS/Threads/Tools/Signal3.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/OS/Threads/Tools/Signal3.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/OS/Threads/Tools/Signal3.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
36.303621
148
0.680657
isuhao
0e8edae199014bbf286010cf02974041d6f5dd07
5,286
cpp
C++
src/UT_Base/StringTest.cpp
CronosTs/phobos3d
c0336456d946f3a9e62fb9b7815831ad32820da5
[ "Zlib" ]
2
2015-01-14T20:20:51.000Z
2015-09-08T15:49:18.000Z
src/UT_Base/StringTest.cpp
CronosTs/phobos3d
c0336456d946f3a9e62fb9b7815831ad32820da5
[ "Zlib" ]
null
null
null
src/UT_Base/StringTest.cpp
CronosTs/phobos3d
c0336456d946f3a9e62fb9b7815831ad32820da5
[ "Zlib" ]
1
2015-11-03T13:58:58.000Z
2015-11-03T13:58:58.000Z
/* Phobos 3d January 2010 Copyright (c) 2005-2011 Bruno Sanches http://code.google.com/p/phobos3d 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 s...
24.933962
243
0.695233
CronosTs