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
a3c096ae24b8b0dbf1e0d5cdd302e6eefd65644a
178,658
cpp
C++
core/sql/optimizer/Inlining.cpp
liuyazhou/trafodion
0edae94106569f793c2ee964be068c44d824033c
[ "Apache-2.0" ]
null
null
null
core/sql/optimizer/Inlining.cpp
liuyazhou/trafodion
0edae94106569f793c2ee964be068c44d824033c
[ "Apache-2.0" ]
null
null
null
core/sql/optimizer/Inlining.cpp
liuyazhou/trafodion
0edae94106569f793c2ee964be068c44d824033c
[ "Apache-2.0" ]
null
null
null
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
36.319984
128
0.623263
liuyazhou
a3c22d61a97af366a588930da800140f0b680760
1,582
hpp
C++
Differential_Equations/C++/RK/RK_class.hpp
dkaramit/ASAP
afade2737b332e7dbf0ea06eb4f31564a478ee40
[ "MIT" ]
null
null
null
Differential_Equations/C++/RK/RK_class.hpp
dkaramit/ASAP
afade2737b332e7dbf0ea06eb4f31564a478ee40
[ "MIT" ]
null
null
null
Differential_Equations/C++/RK/RK_class.hpp
dkaramit/ASAP
afade2737b332e7dbf0ea06eb4f31564a478ee40
[ "MIT" ]
1
2021-12-15T02:03:01.000Z
2021-12-15T02:03:01.000Z
#ifndef RK_class #define RK_class //This is a general implementation of explicit RK solver of // a system of differential equations in the interval [0,1]. template<class diffeq, int number_of_eqs, class RK_method> //Note that you can use template to pass the method class RK { /* This is a class that defines ...
28.25
110
0.666245
dkaramit
a3c30e8579142714db6f85b58a257ab49fe725be
3,242
cpp
C++
Source/ProceduralDungeon/Private/TriggerDoor.cpp
davchezt/ProceduralDungeon
12d77598a03de22ea479dc25b6e288d1097dc5b0
[ "MIT" ]
1
2021-03-14T07:27:56.000Z
2021-03-14T07:27:56.000Z
Source/ProceduralDungeon/Private/TriggerDoor.cpp
davchezt/ProceduralDungeon
12d77598a03de22ea479dc25b6e288d1097dc5b0
[ "MIT" ]
null
null
null
Source/ProceduralDungeon/Private/TriggerDoor.cpp
davchezt/ProceduralDungeon
12d77598a03de22ea479dc25b6e288d1097dc5b0
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2019-2021 Benoit Pelletier * * 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, ...
32.42
198
0.761258
davchezt
a3c62d16f530ab79c84b2ba93681c43506a184ce
3,939
cpp
C++
core/Core/CoreBuilders/StandardServerCoreBuilder.cpp
esayui/mworks
0522e5afc1e30fdbf1e67cedd196ee50f7924499
[ "MIT" ]
null
null
null
core/Core/CoreBuilders/StandardServerCoreBuilder.cpp
esayui/mworks
0522e5afc1e30fdbf1e67cedd196ee50f7924499
[ "MIT" ]
null
null
null
core/Core/CoreBuilders/StandardServerCoreBuilder.cpp
esayui/mworks
0522e5afc1e30fdbf1e67cedd196ee50f7924499
[ "MIT" ]
null
null
null
/** * StandardServerCoreBuilder.cpp * * History: * paul on 1/20/06 - Created. * * Copyright 2006 MIT. All rights reserved. */ #include "StandardServerCoreBuilder.h" #include "ComponentRegistry.h" #import "Utilities.h" #import "Experiment.h" #import "Scheduler.h" #import "StateSystem.h" #import "Event.h" #impo...
30.534884
147
0.69967
esayui
a3c822213e41395f88bec6d3bcfa59a4ce4fdd28
2,578
cpp
C++
Source/FourPlayerCoop/Private/Items/SImpactEffect.cpp
roy-sourish/FourPlayerCoop
22703b29fa0fb6e6f718bbd68ac50daa97be6bdf
[ "MIT" ]
1
2021-06-29T16:27:43.000Z
2021-06-29T16:27:43.000Z
Source/FourPlayerCoop/Private/Items/SImpactEffect.cpp
roy-sourish/FourPlayerCoop
22703b29fa0fb6e6f718bbd68ac50daa97be6bdf
[ "MIT" ]
null
null
null
Source/FourPlayerCoop/Private/Items/SImpactEffect.cpp
roy-sourish/FourPlayerCoop
22703b29fa0fb6e6f718bbd68ac50daa97be6bdf
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Items/SImpactEffect.h" #include "Components/DecalComponent.h" #include "Sound/SoundCue.h" #include "PhysicalMaterials/PhysicalMaterial.h" #include "Kismet/GameplayStatics.h" #include "FourPlayerCoop/FourPlayerCoop.h" // Sets def...
26.57732
103
0.776571
roy-sourish
a3c8ebf923dc41151d1b7fef573bd71d51619dcd
572
cpp
C++
src/ml/neural_net/Image_Portable.cpp
cookingcodewithme/turicreate
a89e203d60529d2d72547c03ec9753ea979ee342
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
src/ml/neural_net/Image_Portable.cpp
cookingcodewithme/turicreate
a89e203d60529d2d72547c03ec9753ea979ee342
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
src/ml/neural_net/Image_Portable.cpp
cookingcodewithme/turicreate
a89e203d60529d2d72547c03ec9753ea979ee342
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/* Copyright © 2020 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at * https://opensource.org/licenses/BSD-3-Clause */ #include <ml/neural_net/Image.hpp> #include <ml/neural_net/PortableImage.hpp> namespace turi {...
22.88
73
0.727273
cookingcodewithme
a3c902a191e268cc317cdb366a3170a44d53ad2d
3,018
cc
C++
Algorithms/scale/ScaleTest.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/scale/ScaleTest.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/scale/ScaleTest.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
#include "ace/FILE_Connector.h" #include "ace/Reactor.h" #include "Algorithms/Controller.h" #include "Algorithms/ShutdownMonitor.h" #include "IO/FileWriterTask.h" #include "IO/MessageManager.h" #include "IO/ProcessingStateChangeRequest.h" #include "IO/Readers.h" #include "IO/ShutdownRequest.h" #include "IO/Stream.h" ...
30.795918
91
0.650099
jwillemsen
a3c92a41424496009ee51152feae803615674a84
446
cpp
C++
Dataset/Leetcode/train/112/735.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/112/735.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/112/735.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: bool final=false; void dfs(TreeNode *root,int sum) { if(root==NULL||final==true)return; if(root->left==NULL&&root->right==NULL&&root->val==sum) { final=true; return; } dfs(root->left,sum-root->val); dfs(root->r...
21.238095
63
0.502242
kkcookies99
a3cb10fea82cca00de29233dbd276b5ab701bd24
4,124
hpp
C++
include/dtc/event/select.hpp
tsung-wei-huang/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
69
2019-03-16T20:13:26.000Z
2022-03-24T14:12:19.000Z
include/dtc/event/select.hpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2017-12-02T05:38:30.000Z
2019-02-08T11:16:12.000Z
include/dtc/event/select.hpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2019-04-13T16:27:29.000Z
2022-01-07T14:42:46.000Z
/****************************************************************************** * * * Copyright (c) 2016, Tsung-Wei Huang and Martin D. F. Wong, * * University of Illinois at Urbana-Champaign (UIUC), IL, USA. * ...
32.472441
99
0.542919
tsung-wei-huang
a3cd89011d69436f2c87bd82b3efbac041fc4f28
3,236
cc
C++
content/browser/renderer_host/pepper/pepper_gamepad_host.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
2
2020-06-10T07:15:26.000Z
2020-12-13T19:44:12.000Z
content/browser/renderer_host/pepper/pepper_gamepad_host.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
content/browser/renderer_host/pepper/pepper_gamepad_host.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 "content/browser/renderer_host/pepper/pepper_gamepad_host.h" #include "base/bind.h" #include "content/browser/gamepad/gamepad_service.h" #in...
36.772727
78
0.713844
quisquous
a3cd99604cd4e129e210bbf889a540bfdef71e6e
10,649
cpp
C++
dnn/test/x86/matrix_mul.cpp
gedoensmax/MegEngine
dfb9d9801bd101970024e50865ec99a0048f53d7
[ "Apache-2.0" ]
null
null
null
dnn/test/x86/matrix_mul.cpp
gedoensmax/MegEngine
dfb9d9801bd101970024e50865ec99a0048f53d7
[ "Apache-2.0" ]
null
null
null
dnn/test/x86/matrix_mul.cpp
gedoensmax/MegEngine
dfb9d9801bd101970024e50865ec99a0048f53d7
[ "Apache-2.0" ]
null
null
null
/** * \file dnn/test/x86/matrix_mul.cpp * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS...
40.033835
88
0.59076
gedoensmax
a3ce041db5b10e110a8b9499561f56ba77bbddeb
1,245
cc
C++
examples/hello/main.cc
lf-lang/reactor-cpp
09f5a93972530771dc715ff2ac2f78b92a6b6f48
[ "ISC" ]
3
2021-10-21T09:07:32.000Z
2022-01-25T08:38:11.000Z
examples/hello/main.cc
lf-lang/reactor-cpp
09f5a93972530771dc715ff2ac2f78b92a6b6f48
[ "ISC" ]
6
2021-12-04T00:21:46.000Z
2022-02-15T20:50:32.000Z
examples/hello/main.cc
lf-lang/reactor-cpp
09f5a93972530771dc715ff2ac2f78b92a6b6f48
[ "ISC" ]
1
2021-12-03T23:06:13.000Z
2021-12-03T23:06:13.000Z
#include <iostream> #include "reactor-cpp/reactor-cpp.hh" using namespace reactor; using namespace std::chrono_literals; class Hello : public Reactor { private: // actions Timer timer{"timer", this, 1s, 2s}; ShutdownAction sa{"terminate", this}; // reactions Reaction r_hello{"r_hello", 1, this, [this]() {...
21.465517
85
0.641767
lf-lang
a3cf6132b3aca45adcbdaf54178666f979296042
571
hpp
C++
pythran/pythonic/__builtin__/oct.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/oct.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/oct.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_BUILTIN_OCT_HPP #define PYTHONIC_BUILTIN_OCT_HPP #include "pythonic/include/__builtin__/oct.hpp" #include "pythonic/types/str.hpp" #include "pythonic/utils/functor.hpp" #include <sstream> namespace pythonic { namespace __builtin__ { template <class T> types::str oct(T const &v) { ...
15.861111
47
0.637478
xmar
a3d01008ec0d4671e1bb67f05f95b75078cbf0dd
2,017
cpp
C++
dev/Code/Sandbox/Editor/Mannequin/SequencerUndo.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Sandbox/Editor/Mannequin/SequencerUndo.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Sandbox/Editor/Mannequin/SequencerUndo.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...
28.013889
125
0.61527
jeikabu
a3d11fc5d05146019adeebc75016e6b373f27ba6
3,210
cpp
C++
magmablas/dgetmatrix_transpose_mgpu.cpp
maxhutch/magma
e63a6c0fde9170896125de3b6437f7ce0f96837a
[ "BSD-3-Clause" ]
31
2015-06-19T14:41:12.000Z
2021-02-15T12:47:57.000Z
magmablas/dgetmatrix_transpose_mgpu.cpp
maxhutch/magma
e63a6c0fde9170896125de3b6437f7ce0f96837a
[ "BSD-3-Clause" ]
1
2016-05-17T14:09:54.000Z
2016-05-18T04:15:42.000Z
magmablas/dgetmatrix_transpose_mgpu.cpp
maxhutch/magma
e63a6c0fde9170896125de3b6437f7ce0f96837a
[ "BSD-3-Clause" ]
17
2015-04-01T14:26:48.000Z
2021-12-27T06:12:15.000Z
/* -- MAGMA (version 2.1.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date August 2016 @generated from magmablas/zgetmatrix_transpose_mgpu.cpp, normal z -> d, Tue Aug 30 09:38:36 2016 @author Ichitaro Yamazaki */ #include...
41.688312
103
0.528349
maxhutch
a3d3c3bf993e6a1d7ec0c32fa12b6e464ea88cdf
4,339
cpp
C++
faceSwap/3DDFA/modules/mesh/cython/mesh_core.cpp
ForrestPi/3DfaceReconstruction
d75a6f9112efc04f4912402835810f3e01d2a9f9
[ "MIT" ]
17
2020-04-29T11:56:37.000Z
2022-02-11T11:58:30.000Z
faceSwap/3DDFA/modules/mesh/cython/mesh_core.cpp
ForrestPi/3DfaceReconstruction
d75a6f9112efc04f4912402835810f3e01d2a9f9
[ "MIT" ]
null
null
null
faceSwap/3DDFA/modules/mesh/cython/mesh_core.cpp
ForrestPi/3DfaceReconstruction
d75a6f9112efc04f4912402835810f3e01d2a9f9
[ "MIT" ]
null
null
null
#include "mesh_core.h" void get_point_weight(float* weight, point p, point p0, point p1, point p2) { point v0, v1, v2; v0 = p2 - p0; v1 = p1 - p0; v2 = p - p0; float dot00 = v0.dot(v0); // v0.x * v0.x + v0.y * v0.y //np.dot(v0.T, v0) float dot01 = v0.dot(v1); // v0.x * v1.x + v0.y * v1.y //np...
35.565574
118
0.480986
ForrestPi
a3d75ae2ad816cdda5503d4ce5f9806b8c45d24a
388
cc
C++
C_CPP/xerces/main.cc
egustafson/sandbox
9804e966347b33558b0497a04edb1a591d2d7773
[ "Apache-2.0" ]
2
2019-09-27T21:25:26.000Z
2019-12-29T11:26:54.000Z
C_CPP/xerces/main.cc
egustafson/sandbox
9804e966347b33558b0497a04edb1a591d2d7773
[ "Apache-2.0" ]
7
2020-08-11T17:32:14.000Z
2020-08-11T17:32:39.000Z
C_CPP/xerces/main.cc
egustafson/sandbox
9804e966347b33558b0497a04edb1a591d2d7773
[ "Apache-2.0" ]
2
2016-07-18T10:55:50.000Z
2020-08-19T01:46:08.000Z
#include <stdio.h> #include <xercesc/util/PlatformUtils.hpp> XERCES_CPP_NAMESPACE_USE int main(int argc, char* argv[]) { try { XMLPlatformUtils::Initialize(); } catch ( const XMLException& toCatch ) { // Failure Processing. fprintf(stderr, "Caught an XMLException\n"); retur...
18.47619
52
0.621134
egustafson
a3d77419242e7d41e4928e47c4197007175a6deb
2,265
cpp
C++
src/Compiler/Parser/VarDecl.cpp
feral-lang/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "MIT" ]
131
2020-03-19T15:22:37.000Z
2021-12-19T02:37:01.000Z
src/Compiler/Parser/VarDecl.cpp
Electrux/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "BSD-3-Clause" ]
14
2020-04-06T05:50:15.000Z
2021-06-26T06:19:04.000Z
src/Compiler/Parser/VarDecl.cpp
Electrux/feral
1ce8eb72eec7c8a5ac19d3767e907b86387e29e0
[ "BSD-3-Clause" ]
20
2020-04-06T07:28:30.000Z
2021-09-05T14:46:25.000Z
/* MIT License Copyright (c) 2020 Feral Language repositories 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, modi...
23.842105
78
0.685651
feral-lang
a3d8f923f5885e5bc4ee95858f8eb8eab22466e5
1,893
cpp
C++
libs/test/example/est_example1.cpp
jmuskaan72/Boost
047e36c01841a8cd6a5c74d4e3034da46e327bc1
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/boost/libs/test/example/est_example1.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/boost/libs/test/example/est_example1.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// (C) Copyright Gennadiy Rozental 2005-2008. // 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) // See http://www.boost.org/libs/test for the library home page. // Boost.Test #define BOOST_TEST_MAIN...
33.210526
86
0.713682
jmuskaan72
a3daa5ea48154ff2d0d007af55f4b0ee300782ce
1,191
cc
C++
src/cov_matern5_iso.cc
mahmoud-a-ali/libgp
55cf9d71f302712b1127a28340c22a9649a7cc6e
[ "BSD-3-Clause" ]
null
null
null
src/cov_matern5_iso.cc
mahmoud-a-ali/libgp
55cf9d71f302712b1127a28340c22a9649a7cc6e
[ "BSD-3-Clause" ]
null
null
null
src/cov_matern5_iso.cc
mahmoud-a-ali/libgp
55cf9d71f302712b1127a28340c22a9649a7cc6e
[ "BSD-3-Clause" ]
null
null
null
// libgp - Gaussian process library for Machine Learning // Copyright (c) 2013, Manuel Blum <mblum@informatik.uni-freiburg.de> // All rights reserved. #include "libgp/include/cov_matern5_iso.h" #include <cmath> namespace libgp { CovMatern5iso::CovMatern5iso() {} CovMatern5iso::~CovMatern5iso() {} bool ...
22.903846
103
0.638119
mahmoud-a-ali
a3db8a27cb7241deb95a5871df1f9d5953e02643
7,157
cpp
C++
chapter_4/libs/libscene/Tesselator.cpp
sergey-shambir/cg_course_examples
921b6218d71731bcb79ddddcc92c9d04a72c62ab
[ "MIT" ]
5
2017-05-13T20:47:13.000Z
2020-04-18T18:18:03.000Z
chapter_4/libs/libscene/Tesselator.cpp
sergey-shambir/cg_course_examples
921b6218d71731bcb79ddddcc92c9d04a72c62ab
[ "MIT" ]
null
null
null
chapter_4/libs/libscene/Tesselator.cpp
sergey-shambir/cg_course_examples
921b6218d71731bcb79ddddcc92c9d04a72c62ab
[ "MIT" ]
8
2016-10-24T16:24:21.000Z
2021-03-15T11:23:57.000Z
#include "Tesselator.h" #include <algorithm> namespace { // Вершина с трёхмерной позицией, нормалью и 2D координатами текстуры. struct SVertexP3NT2 { glm::vec3 position; glm::vec2 texCoord; glm::vec3 normal; }; using SGeometyDataP3NT2 = SGeometryData<SVertexP3NT2, uint32_t>; struct CSphereTesselator : S...
33.134259
89
0.605002
sergey-shambir
a3de0e5e14522b8d8b165bda184e9515caa69cd3
3,102
cpp
C++
DemoMicroCardGame/Classes/AppDelegate.cpp
chukong/CocosStudioSamples
f91d916341b2a58c7e9a062fefc015ca8bb02e23
[ "MIT" ]
78
2015-01-24T10:12:57.000Z
2021-03-17T06:05:25.000Z
DemoMicroCardGame/Classes/AppDelegate.cpp
chukong/CocosStudioSamples
f91d916341b2a58c7e9a062fefc015ca8bb02e23
[ "MIT" ]
5
2016-04-28T03:59:30.000Z
2016-04-28T04:00:23.000Z
DemoMicroCardGame/Classes/AppDelegate.cpp
chukong/CocosStudioSamples
f91d916341b2a58c7e9a062fefc015ca8bb02e23
[ "MIT" ]
79
2015-01-06T06:40:01.000Z
2019-05-22T10:00:29.000Z
/**************************************************************************** Copyright (c) 2013 cocos2d-x.org http://www.cocos2d-x.org 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 res...
36.069767
101
0.705674
chukong
a3e06aab1e0f45b8b2bc4fa5865cd5b100b20139
6,465
cpp
C++
libprecompiled/SystemConfigPrecompiled.cpp
imtypist/FISCO-BCOS
30a281d31e83ca666ef203193963a6d32e39e36a
[ "Apache-2.0" ]
null
null
null
libprecompiled/SystemConfigPrecompiled.cpp
imtypist/FISCO-BCOS
30a281d31e83ca666ef203193963a6d32e39e36a
[ "Apache-2.0" ]
null
null
null
libprecompiled/SystemConfigPrecompiled.cpp
imtypist/FISCO-BCOS
30a281d31e83ca666ef203193963a6d32e39e36a
[ "Apache-2.0" ]
null
null
null
/* This file is part of FISCO-BCOS. FISCO-BCOS 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 3 of the License, or (at your option) any later version. FISCO-BCOS is distri...
36.732955
100
0.625367
imtypist
a3e17bf6447286495fd23628d26666154122c2ce
9,950
cpp
C++
externals/skia/tests/IntTextureTest.cpp
terrajobst/linux-packaging-skiasharp
47dbb2ff9ae01305b190f409ccea00b3b4f0bc79
[ "MIT" ]
1
2019-10-29T14:36:32.000Z
2019-10-29T14:36:32.000Z
externals/skia/tests/IntTextureTest.cpp
terrajobst/linux-packaging-skiasharp
47dbb2ff9ae01305b190f409ccea00b3b4f0bc79
[ "MIT" ]
1
2017-06-18T00:25:03.000Z
2017-11-29T16:01:48.000Z
externals/skia/tests/IntTextureTest.cpp
terrajobst/linux-packaging-skiasharp
47dbb2ff9ae01305b190f409ccea00b3b4f0bc79
[ "MIT" ]
5
2017-11-30T06:06:50.000Z
2022-03-31T21:48:49.000Z
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Test.h" #if SK_SUPPORT_GPU #include "GrContext.h" #include "GrRenderTargetContext.h" #include "GrTexture.h" #include "effects/GrSimpleTextureEffect.h" template <ty...
41.983122
100
0.593668
terrajobst
9cad6091a586daaac8859fd0c64083a9c58cfb14
3,807
cc
C++
source/extensions/filters/network/thrift_proxy/auto_transport_impl.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
17,703
2017-09-14T18:23:43.000Z
2022-03-31T22:04:17.000Z
source/extensions/filters/network/thrift_proxy/auto_transport_impl.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
15,957
2017-09-14T16:38:22.000Z
2022-03-31T23:56:30.000Z
source/extensions/filters/network/thrift_proxy/auto_transport_impl.cc
dcillera/envoy
cb54ba8eec26f768f8c1ae412113b07bacde7321
[ "Apache-2.0" ]
3,780
2017-09-14T18:58:47.000Z
2022-03-31T17:10:47.000Z
#include "source/extensions/filters/network/thrift_proxy/auto_transport_impl.h" #include "envoy/common/exception.h" #include "source/common/common/assert.h" #include "source/extensions/filters/network/thrift_proxy/binary_protocol_impl.h" #include "source/extensions/filters/network/thrift_proxy/buffer_helper.h" #inclu...
42.3
99
0.704229
dcillera
9caea4b4d077947dfe30aff14ca9a101b0e42b65
8,513
cxx
C++
Modules/Core/Common/test/itkZeroFluxBoundaryConditionTest.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
945
2015-01-09T00:43:52.000Z
2022-03-30T08:23:02.000Z
Modules/Core/Common/test/itkZeroFluxBoundaryConditionTest.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
2,354
2015-02-04T21:54:21.000Z
2022-03-31T20:58:21.000Z
Modules/Core/Common/test/itkZeroFluxBoundaryConditionTest.cxx
arobert01/ITK
230d319fdeaa3877273fab5d409dd6c11f0a6874
[ "Apache-2.0" ]
566
2015-01-04T14:26:57.000Z
2022-03-18T20:33:18.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
29.355172
111
0.64102
arobert01
9cb1d134f5ac682bfb75c89d4353a7be3d619da5
362
cpp
C++
archives/problemset/poj.org/1067.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
6
2019-03-23T21:06:25.000Z
2021-06-27T05:22:41.000Z
archives/problemset/poj.org/1067.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
1
2020-10-11T08:14:00.000Z
2020-10-11T08:14:00.000Z
archives/problemset/poj.org/1067.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
3
2019-03-23T21:06:31.000Z
2021-10-24T01:44:01.000Z
#include <iostream> #include <vector> #include <utility> #include <map> #include <algorithm> #include <string> #include <sstream> #include <cstdio> #include <cmath> using namespace std; int main() { int a,b; while (cin>>a>>b) { if (a>b) swap(a,b); if (int((b-a)*(sqrt(5.0)+1.0)/2.0)==a) cout<<"0...
16.454545
58
0.577348
BoleynSu
9cb6364923774cdf38500b7f7e6e6cb4cc93c783
79,300
hpp
C++
data_compression/L1/include/hw/zstd_fse_decoder.hpp
dycz0fx/Vitis_Libraries
d3fc414b552493657101ddb5245f24528720823d
[ "Apache-2.0" ]
1
2021-09-11T01:05:01.000Z
2021-09-11T01:05:01.000Z
data_compression/L1/include/hw/zstd_fse_decoder.hpp
maxpark/Vitis_Libraries
4bd100518d93a8842d1678046ad7457f94eb355c
[ "Apache-2.0" ]
null
null
null
data_compression/L1/include/hw/zstd_fse_decoder.hpp
maxpark/Vitis_Libraries
4bd100518d93a8842d1678046ad7457f94eb355c
[ "Apache-2.0" ]
null
null
null
/* * (c) Copyright 2019-2021 Xilinx, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
39.531406
120
0.569445
dycz0fx
9cb65eb648d491adb75ac33b8d882cddd7949473
3,041
hpp
C++
library/ATF/CTransportShip.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/CTransportShip.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/CTransportShip.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 <CMapData.hpp> #include <CMyTimer.hpp> #include <CNetIndexList.hpp> START_ATF_NAMESPACE struct CTransportShip { struct __mgr_member { ...
36.638554
146
0.655048
lemkova
9cbb5a7a25e4bade21326da0ae97e1af3375f5ca
3,868
cpp
C++
src/FastaTools.cpp
infphilo/tophat
37540ce3f0c10e0f0bfafa2f29450055fc5da384
[ "BSL-1.0" ]
113
2015-04-07T13:21:43.000Z
2021-08-20T01:52:43.000Z
src/FastaTools.cpp
infphilo/tophat
37540ce3f0c10e0f0bfafa2f29450055fc5da384
[ "BSL-1.0" ]
47
2015-04-09T09:37:59.000Z
2018-12-12T11:49:30.000Z
src/FastaTools.cpp
infphilo/tophat
37540ce3f0c10e0f0bfafa2f29450055fc5da384
[ "BSL-1.0" ]
59
2015-04-01T13:48:59.000Z
2021-11-15T09:27:30.000Z
// // FastaTools.cpp // TopHat // // Created by Harold Pimentel on 10/27/11. // #include "FastaTools.h" FastaReader::FastaReader() { isPrimed_ = false; } FastaReader::FastaReader(std::string fname) { isPrimed_ = false; init(fname); } FastaReader::~FastaReader() { ifstream_.close(); } void FastaR...
23.442424
83
0.559979
infphilo
9cbcfbf2cd9041af48d09c2d0e6f0e4de2020568
5,901
cpp
C++
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
1
2021-05-27T07:29:31.000Z
2021-05-27T07:29:31.000Z
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
/* * Copyright (C) 2018 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
46.833333
220
0.771225
mlcldh
9cbf1c9f8454bcf6acd4fce4de730c65ddca4ee1
942
cpp
C++
src/zxing/zxing/oned/rss/expanded/decoders/AI01392xDecoder.cpp
favoritas37/qzxing
6ea2b31e26db9d43db027ba207f5c73dc9d759fc
[ "Apache-2.0" ]
483
2016-08-26T00:53:51.000Z
2022-03-30T16:08:49.000Z
src/zxing/zxing/oned/rss/expanded/decoders/AI01392xDecoder.cpp
favoritas37/qzxing
6ea2b31e26db9d43db027ba207f5c73dc9d759fc
[ "Apache-2.0" ]
185
2016-09-08T08:48:46.000Z
2022-03-29T11:55:38.000Z
src/zxing/zxing/oned/rss/expanded/decoders/AI01392xDecoder.cpp
favoritas37/qzxing
6ea2b31e26db9d43db027ba207f5c73dc9d759fc
[ "Apache-2.0" ]
281
2016-09-15T08:42:26.000Z
2022-03-21T17:55:00.000Z
#include "AI01392xDecoder.h" #include <zxing/common/StringUtils.h> namespace zxing { namespace oned { namespace rss { AI01392xDecoder::AI01392xDecoder(QSharedPointer<BitArray> information) : AI01decoder(information) { } String AI01392xDecoder::parseInformation() { if (getInformation()->getSize() < HEADER_SI...
22.428571
107
0.708068
favoritas37
9cc1157138bb7d195fc30a3becae144e49dbb01f
13,194
cpp
C++
unittest/frames.cpp
mkatliar/pinocchio
b755b9cf2567eab39de30a68b2a80fac802a4042
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
unittest/frames.cpp
mkatliar/pinocchio
b755b9cf2567eab39de30a68b2a80fac802a4042
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
unittest/frames.cpp
mkatliar/pinocchio
b755b9cf2567eab39de30a68b2a80fac802a4042
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// // Copyright (c) 2016-2018 CNRS // #include "pinocchio/multibody/model.hpp" #include "pinocchio/multibody/data.hpp" #include "pinocchio/algorithm/jacobian.hpp" #include "pinocchio/algorithm/frames.hpp" #include "pinocchio/algorithm/rnea.hpp" #include "pinocchio/spatial/act-on-set.hpp" #include "pinocc...
35.184
128
0.729422
mkatliar
9cc199dc596089246d7a3aec04a6b2a86ccb61cf
8,026
cpp
C++
BuffManager/Motor2D/j1BuffManager.cpp
JosepLleal/Research_Buff_Manager
ce2664155bea8cc38567ed1c9d505cd7b717a6a4
[ "MIT" ]
null
null
null
BuffManager/Motor2D/j1BuffManager.cpp
JosepLleal/Research_Buff_Manager
ce2664155bea8cc38567ed1c9d505cd7b717a6a4
[ "MIT" ]
null
null
null
BuffManager/Motor2D/j1BuffManager.cpp
JosepLleal/Research_Buff_Manager
ce2664155bea8cc38567ed1c9d505cd7b717a6a4
[ "MIT" ]
2
2019-03-11T14:47:12.000Z
2021-03-31T23:16:01.000Z
#include "j1App.h" #include "j1Player.h" #include "j1Input.h" #include "j1Timer.h" #include "j1BuffManager.h" #include "p2Log.h" j1BuffManager::j1BuffManager(): j1Module() { name.assign("BuffManager"); } j1BuffManager::~j1BuffManager() { } bool j1BuffManager::Awake() { return true; } bool j1BuffManager::St...
21.928962
169
0.673187
JosepLleal
9cc347add3a3be6048566cd9a5306cc1caecae17
9,996
cpp
C++
project_sparse_matrix_multithreading/cscmatvec.cpp
vicb1/high-performance-computing-examples
0e5ee17bd866d856157566bcd11a18a2dd67392c
[ "MIT" ]
null
null
null
project_sparse_matrix_multithreading/cscmatvec.cpp
vicb1/high-performance-computing-examples
0e5ee17bd866d856157566bcd11a18a2dd67392c
[ "MIT" ]
null
null
null
project_sparse_matrix_multithreading/cscmatvec.cpp
vicb1/high-performance-computing-examples
0e5ee17bd866d856157566bcd11a18a2dd67392c
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include "CSCMatrix.hpp" #include "Vector.hpp" #include "Matrix.hpp" void zeroize2(Vector &v) { for (int i = 0; i < v.numRows(); ++i) { v(i) = 0.0; } } void matvec_denseMat(const Matrix &A, const Vector &x, Vector &y) { assert(A.numCols() == x.numRows()); ...
37.159851
114
0.514606
vicb1
9cc4004973cc2adf5de2c34cfd08284e676f4b9e
1,043
cpp
C++
sample-source/OPENCVBook/chapter03/3.1.7 RotatedRect/rotatedRect.cpp
doukhee/opencv-study
b7e8a5c916070ebc762c33d7fe307b6fcf88abf4
[ "MIT" ]
null
null
null
sample-source/OPENCVBook/chapter03/3.1.7 RotatedRect/rotatedRect.cpp
doukhee/opencv-study
b7e8a5c916070ebc762c33d7fe307b6fcf88abf4
[ "MIT" ]
null
null
null
sample-source/OPENCVBook/chapter03/3.1.7 RotatedRect/rotatedRect.cpp
doukhee/opencv-study
b7e8a5c916070ebc762c33d7fe307b6fcf88abf4
[ "MIT" ]
null
null
null
#include <opencv2/opencv.hpp> using namespace std; using namespace cv; int main() { /* 행렬 선언 */ Mat image(300, 500, CV_8UC1, Scalar(255)); Point2f center(250, 150), pts[4]; Size2f size(300, 100); /* 회전 사각형 선언 */ /* RotatedRect는 회전된 사각형을 나타내기 위한 클래스 */ /* RotatedRect(cont Point2f& center, c...
28.189189
74
0.57047
doukhee
9cc437e792fe75d7f4743e0343f9265cba0479a4
7,149
cpp
C++
src/meta/test/TestPartition.cpp
Jwright707/nebula
3886855c00b8cda97dcb4cf4802a1ba9a3613238
[ "Apache-2.0" ]
null
null
null
src/meta/test/TestPartition.cpp
Jwright707/nebula
3886855c00b8cda97dcb4cf4802a1ba9a3613238
[ "Apache-2.0" ]
null
null
null
src/meta/test/TestPartition.cpp
Jwright707/nebula
3886855c00b8cda97dcb4cf4802a1ba9a3613238
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017-present Shawn Cao * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
30.551282
105
0.586376
Jwright707
9cc47ede0058478f9fa718f5d36be482358cfab5
5,745
cc
C++
chrome/installer/util/delete_tree_work_item.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-08-13T21:04:58.000Z
2015-08-13T21:04:58.000Z
chrome/installer/util/delete_tree_work_item.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/installer/util/delete_tree_work_item.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 (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/installer/util/delete_tree_work_item.h" #include <algorithm> #include <limits> #include "base/files/file_util.h" #include "base/log...
34.818182
80
0.628372
kjthegod
9cc4ee00f9dd7f6ab9b99057f2d7a57b16d39741
48,274
cpp
C++
tsMuxer/iso_writer.cpp
stanionascu/tsMuxer
eecf6b0c00bcd5e2d292087536e454449d291b60
[ "Apache-2.0" ]
null
null
null
tsMuxer/iso_writer.cpp
stanionascu/tsMuxer
eecf6b0c00bcd5e2d292087536e454449d291b60
[ "Apache-2.0" ]
null
null
null
tsMuxer/iso_writer.cpp
stanionascu/tsMuxer
eecf6b0c00bcd5e2d292087536e454449d291b60
[ "Apache-2.0" ]
1
2021-10-07T00:23:06.000Z
2021-10-07T00:23:06.000Z
#include "iso_writer.h" #include <algorithm> #include <cassert> #include <cstdlib> #include <cstring> #include <ctime> #include "convertUTF.h" #include "utf8Converter.h" #include "vod_common.h" // ----------- routines -------------- namespace { /* Name : CRC-16 CCITT Poly : 0x1021 x^16 + x^12 + x^5 + 1 */ ...
34.358719
120
0.646642
stanionascu
9cc4f860ef1ddf0221de8f6b434920da9461e773
422
cpp
C++
src/server/utils/Constants.cpp
HoriaCool/av-app
c625b3b91ead1cddc8fee22edb8269eec5814b7d
[ "MIT" ]
null
null
null
src/server/utils/Constants.cpp
HoriaCool/av-app
c625b3b91ead1cddc8fee22edb8269eec5814b7d
[ "MIT" ]
null
null
null
src/server/utils/Constants.cpp
HoriaCool/av-app
c625b3b91ead1cddc8fee22edb8269eec5814b7d
[ "MIT" ]
null
null
null
#include "Constants.hpp" std::unique_ptr<Constants> Constants::constants_ = nullptr; Constants::Constants(): SERVER_ADDRESS("127.0.0.1"), SERVER_PORT(7000), BACKLOG_LISTEN(4096), EPOLL_SIZE_CREATE(255), EPOLL_TIMEOUT(3000), EPOLL_MAX_EVENTS(1000) { } Constants::~Constants() { } Constants& Constants::get_inst...
15.62963
59
0.722749
HoriaCool
9cc5a3b775b43e52a20fb51d47b06d4232077193
11,765
cc
C++
build/X86_MESI_Two_Level/python/swig/core.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/python/swig/core.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/swig/core.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_core[] = { 120,156,197,89,221,115,220,72,17,111,105,215,107,175,237,245, 71,236,216,249,112,18,229,195,201,230,203,134,186,58,56,184, 144,34,177,157,96,72,236,32,251,72,178,119,160,146,53,227, 181,98,173,180,72,179,73,246,202,174,2,124,...
58.532338
72
0.663578
hoho20000000
9cc64805b08b83f1f535f937ca62af845be4bfbb
7,778
cpp
C++
2_Foundations/2_A*Search/14_whileLoopA*.cpp
ptiwari0664/UdacityCplusplusNanoDegree
e937990ed310e01783d335688bfde9c377a71051
[ "MIT" ]
1
2020-05-07T18:13:27.000Z
2020-05-07T18:13:27.000Z
2_Foundations/2_A*Search/14_whileLoopA*.cpp
ptiwari0664/UdacityCplusplusNanoDegree
e937990ed310e01783d335688bfde9c377a71051
[ "MIT" ]
null
null
null
2_Foundations/2_A*Search/14_whileLoopA*.cpp
ptiwari0664/UdacityCplusplusNanoDegree
e937990ed310e01783d335688bfde9c377a71051
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <sstream> #include <string> #include <vector> #include <algorithm> // for sort using std::cout; using std::ifstream; using std::istringstream; using std::string; using std::vector; using std::abs; #ifdef WIN32 #include <direct.h> #define GetCurrentDir _getcwd #else #in...
30.622047
124
0.541399
ptiwari0664
9cc8a9435ad0477c8738a3242931c1f4475fc45d
1,483
cpp
C++
Experimental/Grace-Experimental/src/Commands/AutonomousCommand.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
5
2016-12-16T19:05:05.000Z
2021-03-05T01:23:27.000Z
Experimental/Grace-Experimental/src/Commands/AutonomousCommand.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
null
null
null
Experimental/Grace-Experimental/src/Commands/AutonomousCommand.cpp
quasics/quasics-frc-sw-2015
e5a4f1b4e209ba941f12c2cc41759854f3c5420b
[ "BSD-3-Clause" ]
2
2020-01-03T01:52:43.000Z
2022-02-02T01:23:45.000Z
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // C++ from RobotBuilder. Do not put any code or make any change in // the blocks ...
38.025641
92
0.710047
quasics
9cc915b5421dd5e859b9f1164355948533b6582e
13,620
hpp
C++
LearnMetalCPP/metal-cpp-extensions/MetalKit/MTKView.hpp
cgeffect/CGMetalC
9ecba0964a963ba8c63dcbb254baeb1b8b6114be
[ "MIT" ]
1
2022-01-17T16:16:24.000Z
2022-01-17T16:16:24.000Z
LearnMetalCPP/metal-cpp-extensions/MetalKit/MTKView.hpp
cgeffect/CGMetalC
9ecba0964a963ba8c63dcbb254baeb1b8b6114be
[ "MIT" ]
null
null
null
LearnMetalCPP/metal-cpp-extensions/MetalKit/MTKView.hpp
cgeffect/CGMetalC
9ecba0964a963ba8c63dcbb254baeb1b8b6114be
[ "MIT" ]
null
null
null
/* * * Copyright 2020-2021 Apple 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 agr...
34.221106
159
0.700954
cgeffect
9ccacbf250ca2445e65365a649c20cf659cb2f2c
98,422
cpp
C++
exileSniffer/GeneratedFiles/qrc_Resources.cpp
ncatlin/exileSniffer
33794bb0c7ea0ae260452cba3771ea136610132b
[ "Apache-2.0" ]
52
2018-05-14T06:57:16.000Z
2022-03-30T17:54:48.000Z
exileSniffer/GeneratedFiles/qrc_Resources.cpp
leethobbit/exileSniffer
712bb1e9262f4c07cdcc9133f9c9eea2656d71f8
[ "Apache-2.0" ]
3
2018-07-16T12:31:36.000Z
2019-03-22T00:13:45.000Z
exileSniffer/GeneratedFiles/qrc_Resources.cpp
leethobbit/exileSniffer
712bb1e9262f4c07cdcc9133f9c9eea2656d71f8
[ "Apache-2.0" ]
23
2018-05-14T06:57:17.000Z
2022-02-24T03:30:19.000Z
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.12.0 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsi...
76.178019
146
0.763732
ncatlin
9ccc1cb8a4d9aa02f32836fe5d7b8ccd388223a4
12,278
hpp
C++
src/Enzo/enzo_EnzoEquationOfState.hpp
pgrete/enzo-e
43b1e33db50dbf00ea115ef35b7a4b17aa735342
[ "BSD-3-Clause" ]
null
null
null
src/Enzo/enzo_EnzoEquationOfState.hpp
pgrete/enzo-e
43b1e33db50dbf00ea115ef35b7a4b17aa735342
[ "BSD-3-Clause" ]
1
2019-04-18T15:39:23.000Z
2019-04-18T15:39:23.000Z
src/Enzo/enzo_EnzoEquationOfState.hpp
aemerick/enzo-e
5282aa38593c298a894b52f3ab38ae616aaee43c
[ "MIT", "BSD-3-Clause" ]
null
null
null
// See LICENSE_CELLO file for license and copyright information /// @file enzo_EnzoEquationOfState.hpp /// @author Matthew Abruzzo (matthewabruzzo@gmail.com) /// @date Thurs May 2 2019 /// @brief [\ref Enzo] Implementation of Enzo's Equation Of State /// abstract base class. It will be subclassed to imple...
46.157895
80
0.719254
pgrete
9cce2fe5b6b8ed586e7695e1b0b0b3abf6405eea
17,731
cc
C++
ns-3-dev-git/examples/wireless/multirate.cc
rahul0324/Upgrade-AQM-Evaluation-Suite-of-ns-3
9d46441749da1059b2e9525d72fce61cb0e42150
[ "MIT" ]
1
2021-09-20T07:05:25.000Z
2021-09-20T07:05:25.000Z
ns-3-dev-git/examples/wireless/multirate.cc
rahulkumdas/Upgrade-AQM-Evaluation-Suite-of-ns-3
9d46441749da1059b2e9525d72fce61cb0e42150
[ "MIT" ]
null
null
null
ns-3-dev-git/examples/wireless/multirate.cc
rahulkumdas/Upgrade-AQM-Evaluation-Suite-of-ns-3
9d46441749da1059b2e9525d72fce61cb0e42150
[ "MIT" ]
2
2021-09-02T08:25:16.000Z
2022-01-03T08:48:38.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
28.552335
128
0.651345
rahul0324
9ccff13ede656bdd76019ce4c9eb11978ac10538
9,334
cpp
C++
src/appleseed/renderer/kernel/texturing/texturestore.cpp
takaiten/appleseed
653efbc379fd322b717a3002c64510679de80156
[ "MIT" ]
1
2019-03-18T09:23:10.000Z
2019-03-18T09:23:10.000Z
src/appleseed/renderer/kernel/texturing/texturestore.cpp
takaiten/appleseed
653efbc379fd322b717a3002c64510679de80156
[ "MIT" ]
2
2015-10-26T16:19:06.000Z
2015-10-26T16:20:22.000Z
src/appleseed/renderer/kernel/texturing/texturestore.cpp
takaiten/appleseed
653efbc379fd322b717a3002c64510679de80156
[ "MIT" ]
null
null
null
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization //...
30.603279
86
0.649132
takaiten
9cd08ea0e6139712c43169afa1280bd8e34e557c
2,076
cpp
C++
src/dawn_native/RenderBundle.cpp
shaoboyan/DawnSamplesForMesa
90bfef5475ebad0a599013d6456cc8c3f8293703
[ "Apache-2.0" ]
8
2020-09-15T18:33:13.000Z
2022-02-24T20:46:13.000Z
src/dawn_native/RenderBundle.cpp
shaoboyan/DawnSamplesForMesa
90bfef5475ebad0a599013d6456cc8c3f8293703
[ "Apache-2.0" ]
null
null
null
src/dawn_native/RenderBundle.cpp
shaoboyan/DawnSamplesForMesa
90bfef5475ebad0a599013d6456cc8c3f8293703
[ "Apache-2.0" ]
4
2020-02-28T03:22:10.000Z
2022-01-12T19:25:23.000Z
// Copyright 2019 The Dawn 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.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
33.483871
80
0.679191
shaoboyan
9cd31d21fa504db4067e5db4351274e34071f40c
2,967
cc
C++
tests/test_nat_manager.cc
telosprotocol/xkad
f3591d5544bf26ba486cb4a7f141d9500422206e
[ "MIT" ]
13
2019-09-16T13:34:35.000Z
2020-01-13T08:06:17.000Z
tests/test_nat_manager.cc
telosprotocol/xkad
f3591d5544bf26ba486cb4a7f141d9500422206e
[ "MIT" ]
null
null
null
tests/test_nat_manager.cc
telosprotocol/xkad
f3591d5544bf26ba486cb4a7f141d9500422206e
[ "MIT" ]
null
null
null
// Copyright (c) 2017-2019 Telos Foundation & contributors // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string.h> #include <string> #include <gtest/gtest.h> #include "xpbase/base/top_log.h" #include "xtransport/u...
22.823077
93
0.722952
telosprotocol
9cd36d372099aa497b0b43abc866ebbe23ca646e
2,226
cc
C++
rtc_base/memory_usage.cc
na-g/webrtc-upstream-tracking
41b5296405e2cc37b838c2f7490d02130387b294
[ "BSD-3-Clause" ]
1
2020-12-23T00:34:11.000Z
2020-12-23T00:34:11.000Z
rtc_base/memory_usage.cc
na-g/webrtc-upstream-tracking
41b5296405e2cc37b838c2f7490d02130387b294
[ "BSD-3-Clause" ]
null
null
null
rtc_base/memory_usage.cc
na-g/webrtc-upstream-tracking
41b5296405e2cc37b838c2f7490d02130387b294
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
29.289474
79
0.698113
na-g
9cd3ab918a8bdb44635faacc224abd556b7ac590
7,570
cpp
C++
source/tapemanager/holotape_wrapper.cpp
skwirl42/robco-processor
eb92ee0d2402403b36b9b796f80c3d46aaed1442
[ "MIT" ]
null
null
null
source/tapemanager/holotape_wrapper.cpp
skwirl42/robco-processor
eb92ee0d2402403b36b9b796f80c3d46aaed1442
[ "MIT" ]
30
2020-12-29T13:25:25.000Z
2021-09-28T12:03:35.000Z
source/tapemanager/holotape_wrapper.cpp
skwirl42/robco-processor
eb92ee0d2402403b36b9b796f80c3d46aaed1442
[ "MIT" ]
null
null
null
#include "holotape_wrapper.hpp" #include <stdio.h> #include <math.h> #include <filesystem> holotape_wrapper::holotape_wrapper(const char *filename) : filename(filename), initialized(false) { deck = holotape_deck_init(); if (deck) { auto result = holotape_insert(deck, filename); if (result ...
30.401606
141
0.605945
skwirl42
9cd402151df380cb442cc40f43bb2814d6821329
2,576
hpp
C++
src/libv/ctrl/stated_sequence.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
src/libv/ctrl/stated_sequence.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
src/libv/ctrl/stated_sequence.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.ctrl, File: src/libv/ctrl/stated_sequence.hpp, Author: Császár Mátyás [Vader] #pragma once // ext #include <boost/container/small_vector.hpp> // pro #include <libv/ctrl/duration.hpp> #include <libv/ctrl/sequence.hpp> #include <libv/ctrl/time_point.hpp> // TODO P1: cleanup state_sequence file namesp...
26.285714
100
0.677795
cpplibv
9cd5384ffebe398ff84c0b67f449184d6f954446
843
cc
C++
CMC040/cmcfun/time_code.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
1
2018-10-17T08:53:17.000Z
2018-10-17T08:53:17.000Z
CMC040/cmcfun/time_code.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
CMC040/cmcfun/time_code.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
//! \file //! \brief Time Aging Function //!/ #pragma module time_code "V3.6 Calico" #include <string> #include "cmcfun.h" //! //! \brief Time Aging Function //! //! This function will convert a time into a long integer //! consisting of the number of seconds (since midnight). //! //! \returns Returns a long integer ...
18.326087
68
0.614472
khandy21yo
9cd63f254f4a993f3fd8e5663d205e5e4bf20748
443
hpp
C++
include/ct/platform/export.hpp
purpurina-engine/purpurina-frwk
1df6fc2768f346fd47fd5cc3dd05daa59dea3726
[ "MIT" ]
null
null
null
include/ct/platform/export.hpp
purpurina-engine/purpurina-frwk
1df6fc2768f346fd47fd5cc3dd05daa59dea3726
[ "MIT" ]
null
null
null
include/ct/platform/export.hpp
purpurina-engine/purpurina-frwk
1df6fc2768f346fd47fd5cc3dd05daa59dea3726
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////// /// Chronotrix Framework /// /// @todo Copyright notice /// //////////////////////////////////////////////////////////// #ifndef _CHRONOTRIX_FRWK_PLATFORM_EXPORTS_HPP_ #define _CHRONOTRIX_FRWK_PLATFORM_EXPORTS_HPP_ #include <ct/config/api_export.hpp> #ifde...
22.15
60
0.591422
purpurina-engine
9cd75143b8c2971af32aab540a48fc643d54ee74
22,875
cc
C++
references/WebRTC/modules/rtp_rtcp/source/rtp_format_vp9.cc
athiffau/alcinoe
4e59270f6a9258beed02676c698829e83e636b51
[ "Apache-2.0" ]
851
2018-02-05T09:54:56.000Z
2022-03-24T23:13:10.000Z
references/WebRTC/modules/rtp_rtcp/source/rtp_format_vp9.cc
azrael11/alcinoe
98e92421321ef5df4be876f8d818dbfdfdca6757
[ "Apache-2.0" ]
200
2018-02-06T18:52:39.000Z
2022-03-24T19:59:14.000Z
references/WebRTC/modules/rtp_rtcp/source/rtp_format_vp9.cc
azrael11/alcinoe
98e92421321ef5df4be876f8d818dbfdfdca6757
[ "Apache-2.0" ]
197
2018-03-20T20:49:55.000Z
2022-03-21T17:38:14.000Z
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
34.502262
80
0.583519
athiffau
9cd77ea37ca0f3dbd1448fc2ac3a2a2f92ef1499
1,730
inl
C++
thrust/system/detail/generic/advance.inl
nunnikri/rocThrust
069dea0640bb6fb7de887b292c9bca194f393ed6
[ "Apache-2.0" ]
915
2020-09-23T01:50:50.000Z
2022-03-31T17:06:13.000Z
thrust/system/detail/generic/advance.inl
nunnikri/rocThrust
069dea0640bb6fb7de887b292c9bca194f393ed6
[ "Apache-2.0" ]
364
2020-09-23T02:41:57.000Z
2022-03-31T21:54:53.000Z
thrust/system/detail/generic/advance.inl
arvindcheru/rocThrust
5c3d926b7ebdf0f9efaadf32294740e0d51a8bf7
[ "Apache-2.0" ]
149
2020-09-24T11:27:24.000Z
2022-03-26T11:29:50.000Z
/* * Copyright 2008-2013 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
25.820896
79
0.750867
nunnikri
9cd7f1b516e9d24ec6b57203118563ae40d917c0
5,954
cpp
C++
modules/olynin_a_cross_line_and_plane/src/cross_line_and_plane.cpp
Kirill1210/devtools-course-practice
8de4a2c327bd77064cdbb318fbbbef072988ccbf
[ "CC-BY-4.0" ]
null
null
null
modules/olynin_a_cross_line_and_plane/src/cross_line_and_plane.cpp
Kirill1210/devtools-course-practice
8de4a2c327bd77064cdbb318fbbbef072988ccbf
[ "CC-BY-4.0" ]
null
null
null
modules/olynin_a_cross_line_and_plane/src/cross_line_and_plane.cpp
Kirill1210/devtools-course-practice
8de4a2c327bd77064cdbb318fbbbef072988ccbf
[ "CC-BY-4.0" ]
null
null
null
// Copyright 2022 Olynin Alexander #include "include/cross_line_and_plane.h" #include <math.h> #include <iostream> #include <string> Line& Line::operator=(const Line& Tmp) { this->x_1 = Tmp.x_1; this->y_1 = Tmp.y_1; this->z_1 = Tmp.z_1; this->a_x = Tmp.a_x; this->a_y = Tmp.a_y; this->a_z = Tmp.a_z; re...
31.172775
79
0.536782
Kirill1210
9cdad4e401d29e302dfb0914fee58db1aadcba72
19,105
cc
C++
chrome/browser/ui/webui/plugins_ui.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
1
2019-04-23T15:57:04.000Z
2019-04-23T15:57:04.000Z
chrome/browser/ui/webui/plugins_ui.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/webui/plugins_ui.cc
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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/webui/plugins_ui.h" #include <algorithm> #include <string> #include <vector> #include "base/bind.h" #include "base/bind_...
38.057769
80
0.706255
1065672644894730302
9cdd5dda64b7d63b586e9453793c512ccf6feb30
5,457
cpp
C++
live555/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp
SQZhangOwO/videoMonitoring
d0c5890dc161ad13e84d597faed3ef28ad171645
[ "MIT" ]
1
2020-05-13T19:04:11.000Z
2020-05-13T19:04:11.000Z
live555/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp
SQZhangOwO/videoMonitoring
d0c5890dc161ad13e84d597faed3ef28ad171645
[ "MIT" ]
1
2021-06-11T06:11:22.000Z
2021-06-11T06:11:22.000Z
live555/liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp
SQZhangOwO/videoMonitoring
d0c5890dc161ad13e84d597faed3ef28ad171645
[ "MIT" ]
1
2018-03-12T14:18:12.000Z
2018-03-12T14:18:12.000Z
/********** This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This librar...
40.422222
116
0.743266
SQZhangOwO
9ce0c211dcdfb32c6cdeefeaf897a99448b654a1
2,895
cc
C++
modules/csa/src/csa.cc
dgcl/motis
6b134f80aa3b6445f710418962f1fed9cffda3a0
[ "MIT" ]
null
null
null
modules/csa/src/csa.cc
dgcl/motis
6b134f80aa3b6445f710418962f1fed9cffda3a0
[ "MIT" ]
null
null
null
modules/csa/src/csa.cc
dgcl/motis
6b134f80aa3b6445f710418962f1fed9cffda3a0
[ "MIT" ]
null
null
null
#include "motis/csa/csa.h" #include "motis/core/access/time_access.h" #include "motis/core/journey/journeys_to_message.h" #include "motis/module/context/get_schedule.h" #include "motis/csa/build_csa_timetable.h" #include "motis/csa/csa_query.h" #include "motis/csa/csa_statistics.h" #include "motis/csa/csa_timetable.h...
34.058824
80
0.658031
dgcl
9ce402dad80d51f856883a9649414936fe274cc3
1,609
hpp
C++
src/cpuclassifier/CPULearnColumn.hpp
przestaw/nbc4gpu
641945ac3974ec9df78a4217ebd133576791c58a
[ "BSD-3-Clause" ]
null
null
null
src/cpuclassifier/CPULearnColumn.hpp
przestaw/nbc4gpu
641945ac3974ec9df78a4217ebd133576791c58a
[ "BSD-3-Clause" ]
null
null
null
src/cpuclassifier/CPULearnColumn.hpp
przestaw/nbc4gpu
641945ac3974ec9df78a4217ebd133576791c58a
[ "BSD-3-Clause" ]
null
null
null
// // Created by mateusz // #ifndef NBC4CPU_CPULEARNCOLUMN_HPP #define NBC4CPU_CPULEARNCOLUMN_HPP #include <vector> namespace nbc4cpu { template <typename ValueType> class CPULearnColumn { public: using AvgAndVariance = std::pair<ValueType, ValueType>; /** * Constructor * @param col column of v...
24.014925
72
0.658794
przestaw
9ce627d9e7fdf46b35e06d64c97141b4fdb25a16
1,427
cpp
C++
Hashing/Check_Array_Subset.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
19
2018-12-02T05:59:44.000Z
2021-07-24T14:11:54.000Z
Hashing/Check_Array_Subset.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
null
null
null
Hashing/Check_Array_Subset.cpp
susantabiswas/placementPrep
22a7574206ddc63eba89517f7b68a3d2f4d467f5
[ "MIT" ]
13
2019-04-25T16:20:00.000Z
2021-09-06T19:50:04.000Z
//given two arrays ,check whether arr2 is a subset of arr1 or not /* 1.can be done using binary search also by sorting the arrays and looking for elements of arr2 in arr1,but it won't handle the case when the arr2 has duplicates 2. using hash */ #include<iostream> #include<vector> #include<map> using namespace s...
26.425926
85
0.671338
susantabiswas
9ce64cde207ff3116cb551409ee3bb47b809a98d
929
cpp
C++
01Primero/Metodologia_de_Programacion_MP/Practicas4-entregar/tdas/src/desplazar.cpp
elsudano/Facultad
8ff2c5904f0a38a3a0682e040da4439f2bc872f2
[ "MIT" ]
2
2017-02-20T09:26:42.000Z
2021-11-21T21:56:35.000Z
01Primero/Metodologia_de_Programacion_MP/Practicas4-entregar/tdas/src/desplazar.cpp
elsudano/Facultad
8ff2c5904f0a38a3a0682e040da4439f2bc872f2
[ "MIT" ]
1
2016-10-06T16:59:39.000Z
2017-09-21T08:04:51.000Z
01Primero/Metodologia_de_Programacion_MP/Practicas4-entregar/tdas/src/desplazar.cpp
elsudano/Facultad
8ff2c5904f0a38a3a0682e040da4439f2bc872f2
[ "MIT" ]
4
2016-10-06T16:41:01.000Z
2019-11-21T12:37:20.000Z
/** * @file desplazar.cpp * @brief Fichero de definiciones para el programa principal de desplazar * * Con este programa conseguiremos mover todos los bits de menor peso un sitio hacia la izquierda * */ #include <iostream> #include <stdlib.h> #include "transformar.h" using namespace std; int main(int ar...
25.805556
98
0.632939
elsudano
9ce6cb9e955f3ad60906cdbc93fa03049068f883
28,565
cpp
C++
sources/fplog.cpp
kr0st/fplog2
8e660a2a2f9dbd87a336c2af6cb13a44435acafa
[ "BSD-2-Clause" ]
null
null
null
sources/fplog.cpp
kr0st/fplog2
8e660a2a2f9dbd87a336c2af6cb13a44435acafa
[ "BSD-2-Clause" ]
null
null
null
sources/fplog.cpp
kr0st/fplog2
8e660a2a2f9dbd87a336c2af6cb13a44435acafa
[ "BSD-2-Clause" ]
null
null
null
#include <fplog.h> #include <utils.h> #include <map> #include <thread> #include <queue> #include <sprot.h> #include <udp_transport.h> #include <mutex> #include <queue_controller.h> #include <rapidjson/rapidjson.h> #include <rapidjson/allocators.h> #include <rapidjson/writer.h> #include <stdarg.h> #include <piped_sequen...
29.418126
167
0.605496
kr0st
9ce891f7c209a71a3ae67f98c36905b6696bb828
2,215
hh
C++
tce/src/applibs/Scheduler/Selector/MoveNodeGroupBuilder.hh
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
74
2015-10-22T15:34:10.000Z
2022-03-25T07:57:23.000Z
tce/src/applibs/Scheduler/Selector/MoveNodeGroupBuilder.hh
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
79
2015-11-19T09:23:08.000Z
2022-01-12T14:15:16.000Z
tce/src/applibs/Scheduler/Selector/MoveNodeGroupBuilder.hh
kanishkan/tce
430e764b4d43f46bd1dc754aeb1d5632fc742110
[ "MIT" ]
38
2015-11-17T10:12:23.000Z
2022-03-25T07:57:24.000Z
/* Copyright (c) 2002-2011 Tampere University. This file is part of TTA-Based Codesign Environment (TCE). 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, ...
32.573529
78
0.752144
kanishkan
9cecb7651ce9e872fd8bfc6866d52ea763cdbb60
3,490
cc
C++
src/tests/test_ewaldstatefile.cc
rubengerritsen/xtp
af4db53ca99853280d0e2ddc7f3c41bce8ae6e91
[ "Apache-2.0" ]
null
null
null
src/tests/test_ewaldstatefile.cc
rubengerritsen/xtp
af4db53ca99853280d0e2ddc7f3c41bce8ae6e91
[ "Apache-2.0" ]
null
null
null
src/tests/test_ewaldstatefile.cc
rubengerritsen/xtp
af4db53ca99853280d0e2ddc7f3c41bce8ae6e91
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2020 The VOTCA Development Team (http://www.votca.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
26.439394
75
0.698854
rubengerritsen
9ced4ab5a32a18d4bb5a3a714bc6e011dad86416
22,701
cpp
C++
tracer/src/Datadog.Trace.ClrProfiler.Native/tracer_tokens.cpp
theletterf/signalfx-dotnet-tracing
0f28ca48356925dc881062f49768cf8a882126c1
[ "Apache-2.0" ]
13
2018-09-15T07:51:10.000Z
2018-11-18T13:48:22.000Z
tracer/src/Datadog.Trace.ClrProfiler.Native/tracer_tokens.cpp
theletterf/signalfx-dotnet-tracing
0f28ca48356925dc881062f49768cf8a882126c1
[ "Apache-2.0" ]
38
2018-08-17T16:12:02.000Z
2018-11-19T23:30:25.000Z
tracer/src/Datadog.Trace.ClrProfiler.Native/tracer_tokens.cpp
Kielek/signalfx-dotnet-tracing
80c65ca936748788629287472401fa9f31b79410
[ "Apache-2.0" ]
7
2018-09-11T13:04:27.000Z
2018-11-13T17:18:14.000Z
#include "tracer_tokens.h" #include "dd_profiler_constants.h" #include "il_rewriter_wrapper.h" #include "logger.h" #include "module_metadata.h" namespace trace { const int signatureBufferSize = 500; /** * TRACER CONSTANTS **/ static const shared::WSTRING managed_profiler_calltarget_type = WStr("Datadog.Trace.Clr...
35.140867
143
0.66997
theletterf
9ced9cf926b41bafa76ec58895b34753294f1f6a
2,893
cpp
C++
DFNs/PointCloudTransformation/CartesianSystemTransform.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
DFNs/PointCloudTransformation/CartesianSystemTransform.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
DFNs/PointCloudTransformation/CartesianSystemTransform.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/** * @author Alessandro Bianco */ /** * @addtogroup DFNs * @{ */ #include "CartesianSystemTransform.hpp" #include <Converters/PointCloudToPclPointCloudConverter.hpp> #include <Converters/MatToVisualPointFeatureVector3DConverter.hpp> #include <Macros/YamlcppMacros.hpp> #include <Errors/Assert.hpp> #include <st...
28.087379
167
0.809886
H2020-InFuse
9cf0a1abb81676d79b9818b37977d376ee916340
3,705
cpp
C++
src/game/client/gameui/BenchmarkDialog.cpp
DeadZoneLuna/csso-src
6c978ea304ee2df3796bc9c0d2916bac550050d5
[ "Unlicense" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/game/client/gameui/BenchmarkDialog.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/game/client/gameui/BenchmarkDialog.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "BenchmarkDialog.h" #include "EngineInterface.h" #include "BasePanel.h" #include "tier1/KeyValues.h" #include "tier1/convar.h" #incl...
28.282443
115
0.586235
DeadZoneLuna
9cf15557c171aed171579e4428ad2139439debbb
1,502
hpp
C++
src/realm/sync/noinst/server/vacuum.hpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
977
2016-09-27T12:54:24.000Z
2022-03-29T08:08:47.000Z
src/realm/sync/noinst/server/vacuum.hpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
2,265
2016-09-27T13:01:26.000Z
2022-03-31T17:55:37.000Z
src/realm/sync/noinst/server/vacuum.hpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
154
2016-09-27T14:02:56.000Z
2022-03-27T14:51:00.000Z
#ifndef REALM_NOINST_VACUUM_HPP #define REALM_NOINST_VACUUM_HPP #include <array> #include <string> #include <chrono> #include <stdexcept> #include <realm/replication.hpp> #include <realm/util/optional.hpp> #include <realm/util/logger.hpp> namespace realm { namespace _impl { class Vacuum { public: util::Logger&...
23.46875
100
0.6751
aleyooop
9cf2fd822f3e7dd132c6140f1b35a11583a911ae
162
hpp
C++
modules/rallies/script_macros.hpp
r4vn/a3-lair
164af19221175e712af26db0d8ff7361ae30ba21
[ "MIT" ]
null
null
null
modules/rallies/script_macros.hpp
r4vn/a3-lair
164af19221175e712af26db0d8ff7361ae30ba21
[ "MIT" ]
3
2016-05-28T13:19:27.000Z
2016-05-28T13:21:45.000Z
modules/rallies/script_macros.hpp
r4vn/a3-lair
164af19221175e712af26db0d8ff7361ae30ba21
[ "MIT" ]
null
null
null
// Define module's name #define MODULE "rallies" // Load script macros from the main module as it contains essential macros #include "..\main\script_macros.hpp"
27
74
0.759259
r4vn
9cf309ceeba4995322ec7415ac92703647080138
4,912
cpp
C++
shared/scene/VtxData.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
399
2021-06-03T02:42:20.000Z
2022-03-27T23:23:15.000Z
shared/scene/VtxData.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
7
2021-07-13T02:36:01.000Z
2022-03-26T03:46:37.000Z
shared/scene/VtxData.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
53
2021-06-02T20:02:24.000Z
2022-03-29T15:36:30.000Z
#include "shared/scene/VtxData.h" #include <algorithm> #include <assert.h> #include <stdio.h> MeshFileHeader loadMeshData(const char* meshFile, MeshData& out) { MeshFileHeader header; FILE* f = fopen(meshFile, "rb"); assert(f); // Did you forget to run "Ch5_Tool05_MeshConvert"? if (!f) { printf("Cannot open...
28.068571
118
0.692386
adoug
9cf33ace0e7afb5de57ae27714c930c0384215f9
7,897
cpp
C++
Source/web/ExternalPopupMenu.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/web/ExternalPopupMenu.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/web/ExternalPopupMenu.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2010 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
36.560185
114
0.717108
quanganh2627
9cf6f40fdd346208a27abca18ceea3b2e486bd32
1,154
cpp
C++
algorithm/string/highest_value_palindrome.cpp
delaanthonio/hackerrank
b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27
[ "MIT" ]
1
2017-07-02T01:35:39.000Z
2017-07-02T01:35:39.000Z
algorithm/string/highest_value_palindrome.cpp
delaanthonio/hackerrank
b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27
[ "MIT" ]
null
null
null
algorithm/string/highest_value_palindrome.cpp
delaanthonio/hackerrank
b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27
[ "MIT" ]
1
2018-04-03T15:11:56.000Z
2018-04-03T15:11:56.000Z
// Highest Value Palindrome // // author: Dela Anthonio // hackerrank: https://hackerrank.com/delaanthonio // problem: https://www.hackerrank.com/challenges/richie-rich/ #include <bits/stdc++.h> #include <string> using namespace std; string highest_palindrome(int n, int k, string s) { set<int> fixed; for (i...
20.607143
62
0.418544
delaanthonio
9cf83a0859a0d0aee31493fb627c39fb6f6c1a4a
2,154
hpp
C++
qflow/wavefunctions/rbmsymmetricwavefunction.hpp
johanere/qflow
5453cd5c3230ad7f082adf9ec1aea63ab0a4312a
[ "MIT" ]
5
2019-07-24T21:46:24.000Z
2021-06-11T18:18:24.000Z
qflow/wavefunctions/rbmsymmetricwavefunction.hpp
johanere/qflow
5453cd5c3230ad7f082adf9ec1aea63ab0a4312a
[ "MIT" ]
22
2019-02-19T10:49:26.000Z
2019-07-18T09:42:13.000Z
qflow/wavefunctions/rbmsymmetricwavefunction.hpp
bsamseth/FYS4411
72b879e7978364498c48fc855b5df676c205f211
[ "MIT" ]
2
2020-11-04T15:17:24.000Z
2021-11-03T16:37:38.000Z
#pragma once #include "rbmwavefunction.hpp" #include <algorithm> #include <cassert> #include <functional> #include <vector> /** * Class for representing a wavefunction with an symmetric RBM. */ class RBMSymmetricWavefunction : public RBMWavefunction { public: const int _f; // Number of degrees of freedom per ...
27.974026
84
0.614206
johanere
9cf917d77e652fac3c07471642b499e89961b9d5
9,794
cpp
C++
tests/eosio.amend_tests.cpp
CALEOS/eosio.contracts
07b7401f9518794deaff74d6f9547667575f3fcc
[ "MIT" ]
null
null
null
tests/eosio.amend_tests.cpp
CALEOS/eosio.contracts
07b7401f9518794deaff74d6f9547667575f3fcc
[ "MIT" ]
null
null
null
tests/eosio.amend_tests.cpp
CALEOS/eosio.contracts
07b7401f9518794deaff74d6f9547667575f3fcc
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <eosio/testing/tester.hpp> #include <eosio/chain/abi_serializer.hpp> #include <eosio/chain/wast_to_wasm.hpp> #include <Runtime/Runtime.h> #include <iomanip> #include <fc/variant_object.hpp> #include "contracts.hpp" #include "test_symbol.hpp" #include "eosio.amend_tester.hp...
37.381679
148
0.691444
CALEOS
9cfa25f59597f0d1c9ee70063fe54d66efa76b5c
561
cpp
C++
source/examples/comparison/glew.cpp
cpp-pm/glbinding
663e19cf1ae6a5fa1acfb1bd952fc43f647ca79c
[ "MIT" ]
632
2015-07-01T18:03:24.000Z
2022-03-17T08:25:51.000Z
source/examples/comparison/glew.cpp
cpp-pm/glbinding
663e19cf1ae6a5fa1acfb1bd952fc43f647ca79c
[ "MIT" ]
191
2015-07-01T16:11:32.000Z
2022-02-10T22:04:09.000Z
source/examples/comparison/glew.cpp
cpp-pm/glbinding
663e19cf1ae6a5fa1acfb1bd952fc43f647ca79c
[ "MIT" ]
89
2015-10-26T11:18:07.000Z
2022-03-31T16:22:50.000Z
#include "glew.h" #include <GL/glew.h> #include <iostream> namespace { #include "gltest_data.inl" bool errors = false; } void glew_init() { glewExperimental = GL_TRUE; glewInit(); glGetError(); } inline void glError() { GLenum error = glGetError(); if (error != GL_NO_ERROR) ...
11.6875
53
0.568627
cpp-pm
9cfbc6d769048cb31157ebfc6327262c5c91d0a3
24,697
cc
C++
chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/chromeos/emulator/device_emulator_message_handler.h" #include <stdint.h> #include <utility> #include "base/bind.h" #in...
37.820827
86
0.739078
Ron423c
9cfc036a8d2eea4cf0f65b13241d56d1afd6a2c8
103
hpp
C++
missions/Obsolete/16_A2Free_CTI_CDF_vs_INS.chernarus/enemy/modules/modules.hpp
amlr/Multi-Session-Operations
ebfa0520a151fb27ff79fa74b17548f8560ed0a9
[ "Apache-2.0" ]
null
null
null
missions/Obsolete/16_A2Free_CTI_CDF_vs_INS.chernarus/enemy/modules/modules.hpp
amlr/Multi-Session-Operations
ebfa0520a151fb27ff79fa74b17548f8560ed0a9
[ "Apache-2.0" ]
null
null
null
missions/Obsolete/16_A2Free_CTI_CDF_vs_INS.chernarus/enemy/modules/modules.hpp
amlr/Multi-Session-Operations
ebfa0520a151fb27ff79fa74b17548f8560ed0a9
[ "Apache-2.0" ]
null
null
null
// - Tested #define MSOFACTIONS #define RMM_ENEMYPOP #define RMM_ZORA // - To Test #define BIS_WARFARE
14.714286
20
0.757282
amlr
1400209aec98331e29d05974d4ff32f0f3be3d89
2,659
cpp
C++
src/utility/pkcs11module.cpp
kaidokert/old-esteid-stack
0391bbf600556dc8527c4f87eed2c95afc878ab4
[ "BSD-3-Clause" ]
null
null
null
src/utility/pkcs11module.cpp
kaidokert/old-esteid-stack
0391bbf600556dc8527c4f87eed2c95afc878ab4
[ "BSD-3-Clause" ]
null
null
null
src/utility/pkcs11module.cpp
kaidokert/old-esteid-stack
0391bbf600556dc8527c4f87eed2c95afc878ab4
[ "BSD-3-Clause" ]
null
null
null
/*! \file pkcs11module.cpp \copyright (c) Kaido Kert ( kaidokert@gmail.com ) \licence BSD \author $Author$ \date $Date$ */ // Revision $Revision$ #include "precompiled.h" #include "pkcs11module.h" pkcs11module::pkcs11module(const char *n) : DynamicLibrary(n) { pGetFunctionList = (ULONG (*)(void * pInitArgs))...
33.658228
107
0.622414
kaidokert
1404027145aea84ab887516edc05214c551d2cd2
1,189
hpp
C++
src/unity/djinni/jni/NativeBlockInfoRecord.hpp
afca1988/florin-core
318f3a4e2186e817b047b3f3924ba70045b6f312
[ "MIT" ]
6
2021-05-18T09:09:38.000Z
2022-03-29T14:50:38.000Z
src/unity/djinni/jni/NativeBlockInfoRecord.hpp
afca1988/florin-core
318f3a4e2186e817b047b3f3924ba70045b6f312
[ "MIT" ]
1
2021-12-07T12:30:41.000Z
2021-12-07T12:30:41.000Z
src/unity/djinni/jni/NativeBlockInfoRecord.hpp
afca1988/florin-core
318f3a4e2186e817b047b3f3924ba70045b6f312
[ "MIT" ]
7
2020-08-11T18:00:32.000Z
2021-03-26T08:58:07.000Z
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from libunity.djinni #pragma once #include "block_info_record.hpp" #include "djinni_support.hpp" namespace djinni_generated { class NativeBlockInfoRecord final { public: using CppType = ::BlockInfoRecord; using JniType = jobject; u...
33.971429
119
0.721615
afca1988
140617b93cd9b1973782891b68cb92145e932bf7
1,980
cpp
C++
trainings/2015-08-01-NEERC-Southern-2012/A.cpp
HcPlu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
9
2017-10-07T13:35:45.000Z
2021-06-07T17:36:55.000Z
trainings/2015-08-01-NEERC-Southern-2012/A.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
null
null
null
trainings/2015-08-01-NEERC-Southern-2012/A.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
3
2018-04-24T05:27:21.000Z
2019-04-25T06:06:00.000Z
#include <cstdio> #include <algorithm> using namespace std; const int N = 200005; long long f[N], a[N], tmp[N]; long long jp0[N], jp1[N], get[N]; int main() { long long n; scanf("%I64d", &n); for (long long i = 1; i <= n; i++) { scanf("%I64d", &a[i]); } sort(a + 1, a + 1 + n); for (l...
23.294118
48
0.314646
HcPlu
14088337181e28f71947165389469040676042eb
246
cpp
C++
sample/switch/simple/pregen/main.cpp
yuki-nyaa/pg
5eb30bfd0609f225181c19e1f67035a2c5eb4461
[ "Apache-2.0" ]
null
null
null
sample/switch/simple/pregen/main.cpp
yuki-nyaa/pg
5eb30bfd0609f225181c19e1f67035a2c5eb4461
[ "Apache-2.0" ]
null
null
null
sample/switch/simple/pregen/main.cpp
yuki-nyaa/pg
5eb30bfd0609f225181c19e1f67035a2c5eb4461
[ "Apache-2.0" ]
null
null
null
#include"cconfig" #include"lexer.h" #include"parser.h" #include<cstdio> typedef xxx::Token_Settings TS; int main(){ FILE* file=fopen("test.txt","r"); xxx::Lexer lexer(file); xxx::SParser parser(&lexer); parser.parse(); }
22.363636
38
0.638211
yuki-nyaa
1408e9770cf8c29dbb61863aa4eddc968f8ba127
3,850
cpp
C++
TEST/3082041/test.cpp
smmckay/quex-mirror
7d75ed560e9f3a591935e59243188676eecb112a
[ "MIT" ]
null
null
null
TEST/3082041/test.cpp
smmckay/quex-mirror
7d75ed560e9f3a591935e59243188676eecb112a
[ "MIT" ]
null
null
null
TEST/3082041/test.cpp
smmckay/quex-mirror
7d75ed560e9f3a591935e59243188676eecb112a
[ "MIT" ]
null
null
null
#include<iostream> #include<cstring> #include "EasyLexer/EasyLexer" static void test(size_t Size0, size_t ContentSize0, size_t Size1, size_t ContentSize1); static void print_this(EasyLexer* lex, int Index, size_t Size, size_t ContentSize); int main(int argc, char** argv) { test(77, 60, 66, 50); t...
35.981308
107
0.599481
smmckay
140a30ed73689b79655ce02287ed377e3a9797a3
967
cpp
C++
recursion/implementation_based/inversion_count.cpp
Zim95/cpp_proj
b73781be17e818fc778320a7498dc4d021b92ffa
[ "MIT" ]
2
2019-04-22T11:04:59.000Z
2021-03-01T18:32:25.000Z
recursion/implementation_based/inversion_count.cpp
Zim95/cpp_proj
b73781be17e818fc778320a7498dc4d021b92ffa
[ "MIT" ]
null
null
null
recursion/implementation_based/inversion_count.cpp
Zim95/cpp_proj
b73781be17e818fc778320a7498dc4d021b92ffa
[ "MIT" ]
1
2019-04-18T14:04:38.000Z
2019-04-18T14:04:38.000Z
/* INVERSION COUNT --------------- Given an array: int a[] = {1, 5, 2, 6, 3, 0, 2}; Find all pairs such that, a[i] > a[j], for all i<j. You see its inverted. As according to sorting, if i<j, a[i]<a[j]. */ #include <iostream> using namespace std; int inversionCountMergeSort(int *a, int s, ...
21.488889
69
0.490176
Zim95
140b667a68ffdd0157d7d429bce60884846a4e96
148,282
cpp
C++
third-party/ImGuiFileDialog/ImGuiFileDialog.cpp
wagrenier/Mikompilation
3854ee891b2c287b0b6b71ba5600a8e04924c68b
[ "BSD-2-Clause" ]
10
2021-12-28T06:18:35.000Z
2022-02-28T16:23:34.000Z
third-party/ImGuiFileDialog/ImGuiFileDialog.cpp
wagrenier/Mikompilation
3854ee891b2c287b0b6b71ba5600a8e04924c68b
[ "BSD-2-Clause" ]
null
null
null
third-party/ImGuiFileDialog/ImGuiFileDialog.cpp
wagrenier/Mikompilation
3854ee891b2c287b0b6b71ba5600a8e04924c68b
[ "BSD-2-Clause" ]
null
null
null
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* MIT License Copyright (c) 2019-2020 Stephane Cuillerdier (aka aiekick) Permission is hereby granted, free of charge, to any person obtaining a...
29.339533
199
0.677196
wagrenier
140b99a0fa082c2496014345529d31d4262589aa
1,262
cpp
C++
src/analysis/task_plugin.cpp
confitarlaburra/pteros2.0
25de81f39bc8948a37e10e3b389d58ca71195d8d
[ "BSL-1.0", "BSD-3-Clause" ]
1
2020-12-01T10:28:52.000Z
2020-12-01T10:28:52.000Z
src/analysis/task_plugin.cpp
confitarlaburra/pteros2.0
25de81f39bc8948a37e10e3b389d58ca71195d8d
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/analysis/task_plugin.cpp
confitarlaburra/pteros2.0
25de81f39bc8948a37e10e3b389d58ca71195d8d
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
#include "pteros/analysis/task_plugin.h" pteros::Task_plugin::Task_plugin(const pteros::Task_plugin &other): Task_base(other) { jump_remover = other.jump_remover; } void pteros::Task_plugin::before_spawn_handler() { before_spawn(); // For parallel tasks init jump remover here if(is_parallel()) jump_r...
24.745098
88
0.645008
confitarlaburra
140bb32ac23afe1dce642ba8c482876d339c3f6c
7,624
hpp
C++
Blik2D/addon/opencv-3.1.0_for_blik/modules/cudalegacy/src/cuda/fgd.hpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
13
2017-02-22T02:20:06.000Z
2018-06-06T04:18:03.000Z
Blik2D/addon/opencv-3.1.0_for_blik/modules/cudalegacy/src/cuda/fgd.hpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
Blik2D/addon/opencv-3.1.0_for_blik/modules/cudalegacy/src/cuda/fgd.hpp
BonexGu/Blik2D
8e0592787e5c8e8a28682d0e1826b8223eae5983
[ "MIT" ]
null
null
null
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
40.126316
167
0.663038
BonexGu
140cb6c57ea5dcb9153b1501d6aed2a30c51a11c
1,286
cpp
C++
Codechef/DSA Learning Series/Basic Optimisation Techniques/CHEFSUM.cpp
JanaSabuj/cpmaster
d943780c7ca4badbefbce2d300848343c4032650
[ "MIT" ]
null
null
null
Codechef/DSA Learning Series/Basic Optimisation Techniques/CHEFSUM.cpp
JanaSabuj/cpmaster
d943780c7ca4badbefbce2d300848343c4032650
[ "MIT" ]
null
null
null
Codechef/DSA Learning Series/Basic Optimisation Techniques/CHEFSUM.cpp
JanaSabuj/cpmaster
d943780c7ca4badbefbce2d300848343c4032650
[ "MIT" ]
null
null
null
/* Sabuj Jana / @greenindia https://www.janasabuj.github.io */ #include <bits/stdc++.h> using namespace std; #define crap ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL) #define int long long int #define double long double typedef vector<int> vi; typedef vector<vector<int>> vvi; #define endl "\n" v...
20.09375
127
0.5
JanaSabuj
140cc898d29a36ceefa91981d3c03e165c27229e
796
cc
C++
chrome/browser/chromeos/policy/device_policy_builder.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
chrome/browser/chromeos/policy/device_policy_builder.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
chrome/browser/chromeos/policy/device_policy_builder.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// 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 "chrome/browser/chromeos/policy/device_policy_builder.h" #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" #include ...
33.166667
73
0.797739
kjthegod
140d16e26e842de1aa529efdec164f3a531b5563
893
cpp
C++
src/functions/functionexists.cpp
IngwiePhoenix/IceTea_old
8a49b7c77bde123da2f4bae830362b0e791f03f4
[ "BSD-3-Clause" ]
1
2015-01-16T05:00:53.000Z
2015-01-16T05:00:53.000Z
src/functions/functionexists.cpp
IngwiePhoenix/IceTea_old
8a49b7c77bde123da2f4bae830362b0e791f03f4
[ "BSD-3-Clause" ]
null
null
null
src/functions/functionexists.cpp
IngwiePhoenix/IceTea_old
8a49b7c77bde123da2f4bae830362b0e791f03f4
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2007-2014 Xagasoft, All rights reserved. * * This file is part of the Xagasoft Build and is released under the * terms of the license contained in the file LICENSE. */ #include "functionexists.h" #include <unistd.h> #include <bu/plugger.h> PluginInterface3( pluginFunctionExists, exists, Funct...
19.413043
73
0.646137
IngwiePhoenix
140fff4166cf1254a32afa0208f03c12c72799f2
2,705
cc
C++
tests/ut/cpp/mindrecord/ut_shard_index_generator_test.cc
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
7
2020-05-24T03:19:26.000Z
2020-05-24T03:20:00.000Z
tests/ut/cpp/mindrecord/ut_shard_index_generator_test.cc
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
null
null
null
tests/ut/cpp/mindrecord/ut_shard_index_generator_test.cc
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019 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...
31.453488
91
0.672089
unseenme
1410c699a1b7c6e6f3fde2ab67f6f77f07b0c128
6,579
cc
C++
cros-disks/rename_manager.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
cros-disks/rename_manager.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
cros-disks/rename_manager.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2017 The Chromium OS 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 "cros-disks/rename_manager.h" #include <linux/capability.h> #include <string> #include <base/bind.h> #include <base/files/file_util.h> #inc...
33.738462
80
0.686883
strassek
14113723e55c1f9d41356700cc656f32488d9989
3,963
hpp
C++
addons/medical/configs/actions/Medication.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/medical/configs/actions/Medication.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
addons/medical/configs/actions/Medication.hpp
SOCOMD/SOCOMD-MODS-2021
834cd5f99831bd456179a1f55f5a91398c29bf57
[ "MIT" ]
null
null
null
class SOCOMD_Morphine { allowSelfTreatment = 1; medicRequired = 0; treatmentTimeSelfCoef = 1; // todo: this isn't used anywhere, remove? consumeItem = 1; allowedSelections[] = {"LeftArm", "RightArm", "LeftLeg", "RightLeg"}; treatmentTime = ace_medical_treatment_treatmentTimeAutoinject...
28.717391
80
0.634873
SOCOMD
14119432f166f74a3bcd2e57b6780d47f200202a
750
inl
C++
src/vk/instance.inl
fur-id/sample
8c68498ad14cc5f8869df2b9ea4ff2a91be9b558
[ "MIT" ]
null
null
null
src/vk/instance.inl
fur-id/sample
8c68498ad14cc5f8869df2b9ea4ff2a91be9b558
[ "MIT" ]
null
null
null
src/vk/instance.inl
fur-id/sample
8c68498ad14cc5f8869df2b9ea4ff2a91be9b558
[ "MIT" ]
null
null
null
#ifndef VKF_INSTANCE #define VKF_INSTANCE(...) #endif VKF_INSTANCE(vkDestroyInstance) VKF_INSTANCE(vkDestroySurfaceKHR) VKF_INSTANCE(vkEnumeratePhysicalDevices) VKF_INSTANCE(vkEnumerateDeviceExtensionProperties) VKF_INSTANCE(vkGetPhysicalDeviceProperties) VKF_INSTANCE(vkGetPhysicalDeviceFeatures) VKF_INSTANCE(vkGetPhys...
37.5
55
0.918667
fur-id
1412688021735020765ca7f682aed3aac9500dcd
810
cpp
C++
shared/src/dpe/painter.cpp
amazingidiot/qastools
6e3b0532ebc353c79d6df0628ed375e3d3c09d12
[ "MIT" ]
null
null
null
shared/src/dpe/painter.cpp
amazingidiot/qastools
6e3b0532ebc353c79d6df0628ed375e3d3c09d12
[ "MIT" ]
null
null
null
shared/src/dpe/painter.cpp
amazingidiot/qastools
6e3b0532ebc353c79d6df0628ed375e3d3c09d12
[ "MIT" ]
null
null
null
/// QasTools: Desktop toolset for the Linux sound system ALSA. /// \copyright See COPYING file. #include "painter.hpp" #include "image_set_meta.hpp" #include "paint_job.hpp" namespace dpe { Painter::Painter ( unsigned int group_type_n, unsigned int group_variant_n ) : _group_type ( group_type_n ) , _group_variant ( ...
18.409091
76
0.645679
amazingidiot
1414acdc46dc9e9630c99450ffdf656655bf251b
14,094
cpp
C++
Sources/simdlib/SimdVmxBgraToYuv.cpp
aestesis/Csimd
b333a8bb7e7f2707ed6167badb8002cfe3504bbc
[ "Apache-2.0" ]
6
2017-10-13T04:29:38.000Z
2018-05-10T13:52:20.000Z
Sources/simdlib/SimdVmxBgraToYuv.cpp
aestesis/Csimd
b333a8bb7e7f2707ed6167badb8002cfe3504bbc
[ "Apache-2.0" ]
null
null
null
Sources/simdlib/SimdVmxBgraToYuv.cpp
aestesis/Csimd
b333a8bb7e7f2707ed6167badb8002cfe3504bbc
[ "Apache-2.0" ]
null
null
null
/* * Simd Library (http://ermig1979.github.io/Simd). * * Copyright (c) 2011-2017 Yermalayeu Ihar. * * 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 with...
51.065217
161
0.552008
aestesis
1415ed53f2847fc2cbde3b7dcbe4c78966c51a4e
20,203
cc
C++
content/browser/quota/quota_database_unittest.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-01-25T10:18:18.000Z
2021-01-23T15:29:56.000Z
content/browser/quota/quota_database_unittest.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
content/browser/quota/quota_database_unittest.cc
justremotephone/android_external_chromium_org
246856e61da7acf5494076c74198f2aea894a721
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:24:13.000Z
2020-11-04T07:24:13.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 <algorithm> #include <iterator> #include <set> #include "base/bind.h" #include "base/callback.h" #include "base/file_util.h" #include "base/file...
35.568662
79
0.696629
justremotephone
1416e2689f95eccc7178d83270eaa1c99dafde70
4,280
cpp
C++
src/xray/xr_3da/xrGame/PHCollisionDamageReceiver.cpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/xray/xr_3da/xrGame/PHCollisionDamageReceiver.cpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/xray/xr_3da/xrGame/PHCollisionDamageReceiver.cpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
#include "stdafx.h" #include "phcollisiondamagereceiver.h" #include "PhysicsShellHolder.h" #include "xr_ini.h" #include "../skeletoncustom.h" #include "geometry.h" #include "PhysicsShell.h" #include "GameMtlLib.h" #include "Physics.h" #include "../../xrNetServer/net_utils.h" #include "xrMessages.h" #include "CharacterP...
37.54386
130
0.716355
OLR-xray