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
af44a7f9eb220ae1522a967ecd6a658126ebe3c8
1,786
cc
C++
ui/native_theme/native_theme.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2017-03-21T23:19:25.000Z
2019-02-03T05:32:47.000Z
ui/native_theme/native_theme.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/native_theme/native_theme.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.000Z
// 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 "ui/native_theme/native_theme.h" #include "base/command_line.h" #include "base/metrics/field_trial.h" // Constants for the new menu style ...
33.698113
80
0.761478
pozdnyakov
af4a835d57a4c0d69734a1ae8bc717cf7fb04770
3,221
cpp
C++
ccore/src/container/adjacency_bit_matrix.cpp
JosephChataignon/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
1,013
2015-01-26T19:50:14.000Z
2022-03-31T07:38:48.000Z
ccore/src/container/adjacency_bit_matrix.cpp
peterlau0626/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
542
2015-01-20T16:44:32.000Z
2022-01-29T14:57:20.000Z
ccore/src/container/adjacency_bit_matrix.cpp
peterlau0626/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
262
2015-03-19T07:28:12.000Z
2022-03-30T07:28:24.000Z
/*! @authors Andrei Novikov (pyclustering@yandex.ru) @date 2014-2020 @copyright BSD-3-Clause */ #include <pyclustering/container/adjacency_bit_matrix.hpp> #include <string> #include <stdexcept> namespace pyclustering { namespace container { const size_t adjacency_bit_matrix::DEFAULT_EXISTANC...
30.386792
187
0.706923
JosephChataignon
af4a847f640ad035e2c633531416c6660b1e3902
470
hpp
C++
esp32m/include/esp32m/log/uart.hpp
esp32m/core
94181c07634c09981e1775886dc49fa6fb703357
[ "MIT" ]
2
2021-08-04T15:40:13.000Z
2021-09-27T08:13:33.000Z
esp32m/include/esp32m/log/uart.hpp
esp32m/core
94181c07634c09981e1775886dc49fa6fb703357
[ "MIT" ]
null
null
null
esp32m/include/esp32m/log/uart.hpp
esp32m/core
94181c07634c09981e1775886dc49fa6fb703357
[ "MIT" ]
null
null
null
#ifdef ARDUINO # pragma once # include "esp32m/logging.hpp" namespace esp32m { namespace log { /** * Sends output to the specified UART */ class Uart : public FormattingAppender { public: Uart(const Uart &) = delete; Uart(uint8_t num = 0); private: ui...
18.8
48
0.578723
esp32m
af4b4147177aa78bb3b3323ee5223607970b5a7b
1,775
cpp
C++
lib/Parser/DefaultParser.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
80
2015-02-19T21:38:57.000Z
2016-05-25T06:53:12.000Z
lib/Parser/DefaultParser.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
8
2015-02-20T09:47:20.000Z
2015-11-13T07:49:17.000Z
lib/Parser/DefaultParser.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
6
2015-02-20T11:26:19.000Z
2016-04-13T14:30:39.000Z
#include <cassert> #include <cstdio> #include <cstdlib> #include <string> #include <locic/Frontend/DiagnosticReceiver.hpp> #include <locic/Parser/DefaultParser.hpp> #include <locic/Parser/NamespaceParser.hpp> #include <locic/Parser/TokenReader.hpp> #include <locic/Support/ErrorHandling.hpp> #include <locic/Support/Str...
27.734375
106
0.701408
scross99
af4cfd01136e6e5f14abf06614bbf5cee9453eaf
5,331
cc
C++
oss-internship-2020/libtiff/wrapper/func.cc
oshogbo/sandboxed-api
8e82b900f4d873219b3abfa2fd06ecbd416edefd
[ "Apache-2.0" ]
1
2022-02-10T10:38:30.000Z
2022-02-10T10:38:30.000Z
oss-internship-2020/libtiff/wrapper/func.cc
oshogbo/sandboxed-api
8e82b900f4d873219b3abfa2fd06ecbd416edefd
[ "Apache-2.0" ]
null
null
null
oss-internship-2020/libtiff/wrapper/func.cc
oshogbo/sandboxed-api
8e82b900f4d873219b3abfa2fd06ecbd416edefd
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
32.506098
80
0.695554
oshogbo
af4e3e483ceb39b807fb4bf217016e31b47750b0
294
cpp
C++
Practice/rodion.cpp
ashishjayamohan/competitive-programming
05c5c560c2c2eb36121c52693b8c7d084f435f9e
[ "MIT" ]
null
null
null
Practice/rodion.cpp
ashishjayamohan/competitive-programming
05c5c560c2c2eb36121c52693b8c7d084f435f9e
[ "MIT" ]
null
null
null
Practice/rodion.cpp
ashishjayamohan/competitive-programming
05c5c560c2c2eb36121c52693b8c7d084f435f9e
[ "MIT" ]
null
null
null
#include <iostream> #include<string> using namespace std; int main() { int n,d; string s; cin>>n>>d; if(d==10&&n<2)cout<<"-1"; else if(d==10&&n>=2){ for(int i=0;i<n-1;i++){ s+=1+'0'; } s+=0+'0'; cout<<s; } else{ for(int i=0;i<n;i++){ s+= d+'0'; } cout<<s;} return 0; }
12.25
26
0.493197
ashishjayamohan
af4fa4338746fe7b2df062c55d521ec7828289c5
3,060
cpp
C++
src/mayaToLux/src/mtlu_common/mtlu_material.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
42
2015-01-03T15:07:25.000Z
2021-12-09T03:56:59.000Z
src/mayaToLux/src/mtlu_common/mtlu_material.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
66
2015-01-02T13:28:44.000Z
2022-03-16T14:00:57.000Z
src/mayaToLux/src/mtlu_common/mtlu_material.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
12
2015-02-07T05:02:17.000Z
2020-07-10T17:21:44.000Z
#include "mtlu_material.h" #include "mtlu_shadingNode.h" #include <maya/MStringArray.h> #include <maya/MFnDependencyNode.h> mtlu_Material::mtlu_Material() {} mtlu_Material::mtlu_Material(MObject& shadingEngine) : Material(shadingEngine) { this->parseNetworks(); } ShadingNode *mtlu_Material::shadingNodeCreator() { ...
32.553191
78
0.798366
haggi
af578f63f432c682abcfdf89222a303ad70bb6c8
4,394
cpp
C++
SuperRes.cpp
pl2526/PSCAcoustic
eaf127f0bd6aa9bdf4a051b4390966e86fdf6751
[ "MIT" ]
null
null
null
SuperRes.cpp
pl2526/PSCAcoustic
eaf127f0bd6aa9bdf4a051b4390966e86fdf6751
[ "MIT" ]
null
null
null
SuperRes.cpp
pl2526/PSCAcoustic
eaf127f0bd6aa9bdf4a051b4390966e86fdf6751
[ "MIT" ]
null
null
null
#ifndef SR_CPP #define SR_CPP /* * MAIN.h * PSC * * Created by Pierre-David Letourneau on 3/6/11. * Copyright 2011 Stanford University. All rights reserved. * * Overstructure. * * Copyright 2014 Pierre-David Letourneau * * Permission is hereby granted, free of charge, to any person obtaining a copy ...
27.810127
130
0.662039
pl2526
af579b834cd87957f380862c7cfd3e81635adad9
6,491
cpp
C++
module-audio/Audio/encoder/EncoderWAV.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
module-audio/Audio/encoder/EncoderWAV.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
module-audio/Audio/encoder/EncoderWAV.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "EncoderWAV.hpp" #include <log/log.hpp> namespace audio { EncoderWAV::EncoderWAV(const char *fileName, const Encoder::Format &frmt) : Encoder(fileName, frmt) { ...
43.858108
120
0.535203
bitigchi
af5c6bb84148ae2ba870dc94d2b8603dc4fd1fd6
1,414
cpp
C++
aws-cpp-sdk-glue/source/model/GetCustomEntityTypeResult.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-glue/source/model/GetCustomEntityTypeResult.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-glue/source/model/GetCustomEntityTypeResult.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/glue/model/GetCustomEntityTypeResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws...
25.25
118
0.753182
Nexuscompute
af5e0b7ae11de1c5b59e60c31b167ec5e526e3bf
2,952
cpp
C++
code_reading/oceanbase-master/deps/oblib/src/lib/mysqlclient/ob_mysql_transaction.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/deps/oblib/src/lib/mysqlclient/ob_mysql_transaction.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/deps/oblib/src/lib/mysqlclient/ob_mysql_transaction.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
28.384615
119
0.685298
wangcy6
af665792cd76dc2674983ea67eede4c104978bbd
4,807
cxx
C++
smtk/bridge/discrete/legacycmb/SimBuilderMesh/vtkCMBModelEdgeMesh.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
smtk/bridge/discrete/legacycmb/SimBuilderMesh/vtkCMBModelEdgeMesh.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
4
2016-11-10T15:49:51.000Z
2017-02-06T23:24:16.000Z
smtk/bridge/discrete/legacycmb/SimBuilderMesh/vtkCMBModelEdgeMesh.cxx
yumin/SMTK
d280f10c5b70953b2a0196f71832955c7fc75e7f
[ "BSD-3-Clause-Clear" ]
null
null
null
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
30.617834
80
0.547327
yumin
af67601c27ba318738849ff3e59339187e1ec42d
2,708
cpp
C++
src/ComDemo.17/MfcCli/MfcCli.cpp
jimbeveridge/multithreading
b092dde13968f91dfb9b86e3d7e760a50f799a96
[ "MIT" ]
2
2021-11-23T10:43:45.000Z
2022-01-03T14:51:32.000Z
src/ComDemo.17/MfcCli/MfcCli.cpp
jimbeveridge/multithreading
b092dde13968f91dfb9b86e3d7e760a50f799a96
[ "MIT" ]
null
null
null
src/ComDemo.17/MfcCli/MfcCli.cpp
jimbeveridge/multithreading
b092dde13968f91dfb9b86e3d7e760a50f799a96
[ "MIT" ]
1
2020-10-28T15:11:55.000Z
2020-10-28T15:11:55.000Z
/* * MfcCli.cpp * * Sample code for "Multithreading Applications in Win32" * This is from Chapter 17 * * Communicates to a FreeThreaded COM Object */ #include "stdafx.h" #include "MfcCli.h" #include "CliDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif /////////////////////////////////////////////////////////...
26.54902
77
0.643648
jimbeveridge
af690478fc75b49643d34dc44ef8c1196005e1d8
1,418
cpp
C++
Variables/Variables/Main.cpp
matt360/ModernCpp
42ab42447d22c9e92f3da12dcb8ac16794668879
[ "MIT" ]
null
null
null
Variables/Variables/Main.cpp
matt360/ModernCpp
42ab42447d22c9e92f3da12dcb8ac16794668879
[ "MIT" ]
16
2018-03-01T11:18:55.000Z
2018-07-01T17:17:32.000Z
Variables/Variables/Main.cpp
matzar/ModernCpp
42ab42447d22c9e92f3da12dcb8ac16794668879
[ "MIT" ]
null
null
null
// Variables // Int - integer - 4 bytes (Ultimatelly it's the compilers choice to tell you how big an integer is going to be) // 1 byte - 8 bits of data // 4 bytes - 32 bits of data // int (signed) - 1 bit is for the sign, to know if the varaible is positive or negative. That leaves 31 bits for the number. // Each bi...
37.315789
168
0.670663
matt360
af6dc6769a5505f80d0328fdf81b5efe349da6e5
2,623
cpp
C++
tomasulo_simulator/simulator/instructions.cpp
Billijk/Tomasulo-simulator
dc2993d8129d4d01e1459671423273f9b68b4de9
[ "MIT" ]
null
null
null
tomasulo_simulator/simulator/instructions.cpp
Billijk/Tomasulo-simulator
dc2993d8129d4d01e1459671423273f9b68b4de9
[ "MIT" ]
null
null
null
tomasulo_simulator/simulator/instructions.cpp
Billijk/Tomasulo-simulator
dc2993d8129d4d01e1459671423273f9b68b4de9
[ "MIT" ]
null
null
null
#include "instructions.h" #include <vector> #include <iostream> using namespace std; int Instruction::needed_cycle(InstrType type) { switch (type) { case ADDD: case SUBD: case LD: case ST: return 2; case MULD: return 10; case DIVD: ...
35.445946
106
0.547083
Billijk
af6eec3ba000438cfe6cec109031e7be13e6eed1
1,242
cxx
C++
617_Merge_Two_Binary_Trees.cxx
KerouichaReda/leetcode_submission
f4a1c668fcb962e5ff92285d6bfc41b7573b9dc0
[ "MIT" ]
1
2020-12-05T06:06:28.000Z
2020-12-05T06:06:28.000Z
617_Merge_Two_Binary_Trees.cxx
KerouichaReda/leetcode_submission
f4a1c668fcb962e5ff92285d6bfc41b7573b9dc0
[ "MIT" ]
null
null
null
617_Merge_Two_Binary_Trees.cxx
KerouichaReda/leetcode_submission
f4a1c668fcb962e5ff92285d6bfc41b7573b9dc0
[ "MIT" ]
null
null
null
/* * 617_Merge_Two_Binary_Trees.cxx * * Copyright 2020 RedaKerouicha <redakerouicha@localhost> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (...
27.6
71
0.699678
KerouichaReda
af6f6a0aa049d3be68dd2f06196a74ab5bb4f999
443
hpp
C++
benchmark/windows/common/utility.hpp
hexu1985/Portable.Network.Library.For.Cpp
baa6dcafe1aba5e801104aec3185f862de4f931d
[ "MIT" ]
2
2020-06-30T11:46:24.000Z
2020-07-02T08:56:42.000Z
benchmark/windows/common/utility.hpp
hexu1985/MiniSocket.For.Cpp
baa6dcafe1aba5e801104aec3185f862de4f931d
[ "MIT" ]
null
null
null
benchmark/windows/common/utility.hpp
hexu1985/MiniSocket.For.Cpp
baa6dcafe1aba5e801104aec3185f862de4f931d
[ "MIT" ]
null
null
null
#ifndef UNP_UTILITY_INC #define UNP_UTILITY_INC #include <string> inline std::string WSAGetLastErrorString() { HLOCAL hlocal = NULL; FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER, NULL, WSAGetLastError(), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), (LPTST...
22.15
74
0.713318
hexu1985
af71273c470fb287c6107f0ffa5996eb0314e441
6,365
cpp
C++
Source/RenderAPIs/VulkanAPI/VulkanCommandPoolManager.cpp
Cube219/CubeEngine
b54a7373be96333aa38fdf49ea32272c28c42a4b
[ "MIT" ]
2
2017-09-25T12:43:02.000Z
2018-04-07T06:50:13.000Z
Source/RenderAPIs/VulkanAPI/VulkanCommandPoolManager.cpp
Cube219/CubeEngine
b54a7373be96333aa38fdf49ea32272c28c42a4b
[ "MIT" ]
null
null
null
Source/RenderAPIs/VulkanAPI/VulkanCommandPoolManager.cpp
Cube219/CubeEngine
b54a7373be96333aa38fdf49ea32272c28c42a4b
[ "MIT" ]
null
null
null
#include "VulkanCommandPoolManager.h" #include "Interface/CommandListVk.h" #include "VulkanDebug.h" #include "VulkanDevice.h" #include "VulkanQueueManager.h" #include "Core/Allocator/FrameAllocator.h" #include "Core/Assertion.h" namespace cube { namespace rapi { void VulkanCommandPoolManager::Initial...
40.541401
129
0.602514
Cube219
af736021af26254326b305752302bf492cb9d5a0
1,161
hpp
C++
include/mizuiro/image/access/data.hpp
cpreh/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
1
2015-08-22T04:19:39.000Z
2015-08-22T04:19:39.000Z
include/mizuiro/image/access/data.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
include/mizuiro/image/access/data.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef MIZUIRO_IMAGE_ACCESS_DATA_HPP_INCLUDED #define MIZUIRO_IMAGE_ACCESS_DATA_HPP_INCLUDED #inc...
32.25
93
0.734711
cpreh
af7b48cf46176a892f303fbcb2392c48faefb026
4,679
hpp
C++
three/core/math.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
three/core/math.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
three/core/math.hpp
Lecrapouille/three_cpp
5c3b4f4ca02bda6af232898c17e62caf8f887aa0
[ "MIT" ]
null
null
null
#ifndef THREE_MATH_HPP #define THREE_MATH_HPP #include <three/common.hpp> #include <cmath> #include <random> namespace three { namespace Math { inline const float PI() { return 3.1415926535897932384f; } //std::atan(1.f)/4; inline const float LN2() { return 0.6931471805599453094f; } inline const float I...
26.585227
116
0.582603
Lecrapouille
5030ffd09598fddb1847be4043abf398d4fdba1f
164
cpp
C++
RTHeightfield/TessellationEvaluationShader.cpp
AndreSilvs/RTMasterThesis
9eb6c34dbe5acb10ab818c2d34b16d786db11030
[ "MIT" ]
1
2020-06-18T19:21:01.000Z
2020-06-18T19:21:01.000Z
RTHeightfieldScalable/TessellationEvaluationShader.cpp
AndreSilvs/RTMasterThesis
9eb6c34dbe5acb10ab818c2d34b16d786db11030
[ "MIT" ]
null
null
null
RTHeightfieldScalable/TessellationEvaluationShader.cpp
AndreSilvs/RTMasterThesis
9eb6c34dbe5acb10ab818c2d34b16d786db11030
[ "MIT" ]
null
null
null
#include "TessellationEvaluationShader.h" GLuint TessellationEvaluationShader::generateShaderId() { return glCreateShader( GL_TESS_EVALUATION_SHADER ); }
27.333333
58
0.79878
AndreSilvs
5033b261bfe7bb409e99900de7c841f9af9ef73a
2,286
cpp
C++
WordPattern.cpp
ShreyaPrasad1209/Hash-Map-LeetCode-Questions
25e360079582db6a7f5fcdeaf889632f5e550e3b
[ "MIT" ]
2
2020-09-23T11:27:14.000Z
2021-10-30T06:46:08.000Z
WordPattern.cpp
ShreyaPrasad1209/Hash-Map-LeetCode-Questions
25e360079582db6a7f5fcdeaf889632f5e550e3b
[ "MIT" ]
null
null
null
WordPattern.cpp
ShreyaPrasad1209/Hash-Map-LeetCode-Questions
25e360079582db6a7f5fcdeaf889632f5e550e3b
[ "MIT" ]
1
2021-07-08T15:45:25.000Z
2021-07-08T15:45:25.000Z
class Solution { public: bool wordPattern(string pattern, string str) { int i = 0, j = 0, len = pattern.size(), n = str.size(); unordered_map<char, string> map1; unordered_map<string, char> map2; string word = ""; while(j < len) { if (i > n) retur...
31.75
127
0.485564
ShreyaPrasad1209
50365d5af40e1dba322fb42d558f792c15cd2687
4,007
hh
C++
dune/ax1/common/ax1_parallelhelper.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
dune/ax1/common/ax1_parallelhelper.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
dune/ax1/common/ax1_parallelhelper.hh
pederpansen/dune-ax1
152153824d95755a55bdd4fba80686863e928196
[ "BSD-3-Clause" ]
null
null
null
/* * ax1_parallelhelper.hh * * Created on: May 5, 2013 * Author: jpods */ #ifndef DUNE_AX1_PARALLELHELPER_HH #define DUNE_AX1_PARALLELHELPER_HH #include <dune/common/forloop.hh> #if HAVE_MPI namespace Dune { template<typename... Elements> struct MPITraits<std::tuple<Elements...> > { typedef s...
22.511236
91
0.585475
pederpansen
50370ce07dbd901d2c7a167f7d68df222fff078f
8,514
cxx
C++
Legolas/BlockMatrix/tst/Poisson2D/Poisson2D.cxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/tst/Poisson2D/Poisson2D.cxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/tst/Poisson2D/Poisson2D.cxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
# include <cstdlib> # include <cmath> # include <iostream> # include "UTILITES.hxx" # include "Legolas/Vector/Vector.hxx" # include "XYLightBandedBlockMatrix.hxx" # include "XYBandedBlockMatrix.hxx" # include "XYBandedPolyBlockMatrix.hxx" # include "XYDiagonalBlockMatrix.hxx" #include "X86Timer.hxx" #include "So...
24.11898
95
0.608997
LaurentPlagne
503fcad39631a14b8eefc17de4f2893e9dd111c2
5,120
cpp
C++
Chapter10/1_Asteroids/Src/Actors.cpp
liuxuanhai/Mastering-Android-NDK
e42f238ebd929865775d61e37164d7caabfe768e
[ "MIT" ]
77
2015-09-09T00:00:15.000Z
2021-08-28T04:37:35.000Z
Chapter10/1_Asteroids/Src/Actors.cpp
liuxuanhai/Mastering-Android-NDK
e42f238ebd929865775d61e37164d7caabfe768e
[ "MIT" ]
null
null
null
Chapter10/1_Asteroids/Src/Actors.cpp
liuxuanhai/Mastering-Android-NDK
e42f238ebd929865775d61e37164d7caabfe768e
[ "MIT" ]
53
2015-12-14T08:33:27.000Z
2021-12-28T04:51:43.000Z
#include "Actors.h" #include "Globals.h" #include "Loader_OBJ.h" void clSpaceShip::AttachToScene( const clPtr<clSceneNode>& Scene ) { if ( !m_Node ) { auto Geometry = LoadOBJSceneNode( g_FS->CreateReader( "ship.obj" ) ); sMaterial Material; Material.m_Ambient = vec4( 0.0f, 0.0f, 0.4f, 1.0f ); Material.m_Dif...
22.164502
89
0.655273
liuxuanhai
5044f0f18d3575e444997a51ed30e643be858970
4,653
cpp
C++
Src/Game.cpp
joshua-barnett/SnakeGame
d9fb55c869d7f301a681aaa9ec51686311ee858b
[ "MIT" ]
13
2019-08-08T08:47:36.000Z
2021-12-24T17:11:51.000Z
Src/Game.cpp
joshua-barnett/SnakeGame
d9fb55c869d7f301a681aaa9ec51686311ee858b
[ "MIT" ]
null
null
null
Src/Game.cpp
joshua-barnett/SnakeGame
d9fb55c869d7f301a681aaa9ec51686311ee858b
[ "MIT" ]
3
2019-08-09T10:44:45.000Z
2021-07-23T13:18:12.000Z
#include "Game.h" #include "Engine/Logger.h" #include "Components/Components.h" #include "Factories.h" #include "Constants.h" #include "PlayerSnake.h" #include "Engine/Color.h" #include "CollisionHandler.h" #include "CustomEvents.h" #include "PlayerPickups.h" #include "GameText.h" SDL_Renderer* Game::renderer = nullpt...
21.541667
98
0.688803
joshua-barnett
504904ec6fd92c850c467163b0354ab7c39897e9
5,164
inl
C++
src/bookkeeping.define.inl
cristiarg/fmi2AllocGuard
6b7f55783f5b42620c097a6e7f8b23585a515d24
[ "BSD-2-Clause" ]
3
2019-01-18T10:37:59.000Z
2019-09-06T21:52:58.000Z
src/bookkeeping.define.inl
cristiarg/fmi2AllocGuard
6b7f55783f5b42620c097a6e7f8b23585a515d24
[ "BSD-2-Clause" ]
null
null
null
src/bookkeeping.define.inl
cristiarg/fmi2AllocGuard
6b7f55783f5b42620c097a6e7f8b23585a515d24
[ "BSD-2-Clause" ]
null
null
null
void* fmi2_calloc1 ( size_t _num , size_t _size ) { void* const p = calloc( _num , _size ); const bool add_res = avl_add(&fmi2_guarded_bookkeeping[ 1 ].pointer_keeper, p, func_avl_data_comp_lt); if( add_res ) { return p; } else { free( p ); return NULL; } } void* fmi2_calloc2 ( size_t _num , size...
24.473934
133
0.668861
cristiarg
504e6433bd3dcdea0c7676ff371b3d879386485f
2,194
cpp
C++
mordor/examples/echoserver.cpp
cmpxchg16/mordor
58e62ab71d98af165fadd361bd5607c87ce34f46
[ "BSD-3-Clause" ]
1
2017-07-22T09:34:18.000Z
2017-07-22T09:34:18.000Z
mordor/examples/echoserver.cpp
cmpxchg16/mordor
58e62ab71d98af165fadd361bd5607c87ce34f46
[ "BSD-3-Clause" ]
null
null
null
mordor/examples/echoserver.cpp
cmpxchg16/mordor
58e62ab71d98af165fadd361bd5607c87ce34f46
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 - Mozy, Inc. #include "mordor/predef.h" #include <boost/bind.hpp> #include <boost/thread.hpp> #include "mordor/config.h" #include "mordor/daemon.h" #include "mordor/iomanager.h" #include "mordor/main.h" #include "mordor/socket.h" #include "mordor/streams/socket.h" #include "mordor/streams/trans...
25.811765
84
0.666819
cmpxchg16
50509f0c34a2453dc6fea5a13cffcc2af8318054
1,112
cpp
C++
GameOfChess/src/view/BoardView.cpp
My-Cpp-projects/GameOfChess
58ea06fc30ef9a9b7ddc33293a392908a24e55ac
[ "MIT" ]
1
2021-09-13T15:57:01.000Z
2021-09-13T15:57:01.000Z
GameOfChess/src/view/BoardView.cpp
My-Cpp-projects/GameOfChess
58ea06fc30ef9a9b7ddc33293a392908a24e55ac
[ "MIT" ]
null
null
null
GameOfChess/src/view/BoardView.cpp
My-Cpp-projects/GameOfChess
58ea06fc30ef9a9b7ddc33293a392908a24e55ac
[ "MIT" ]
null
null
null
#include "view/BoardView.h" #include "util/Texture.h" BoardView::BoardView(BoardData& boardData, SDL_Renderer& renderer) : m_boardData(boardData) , m_renderer(renderer) { m_boardTexture = std::make_unique<Texture>(common::ImageType::PNG, "Assets/Chessboard.png", renderer); m_chessPieceView = std::make_unique...
26.47619
130
0.705935
My-Cpp-projects
50530369d56e2ea877b3ea89418a2e4191b5090d
3,357
cpp
C++
src/tts/ttsServices.cpp
3rang/TTS
5a84b49ea08af599ad553ae27efb36b2682f3f76
[ "MIT" ]
null
null
null
src/tts/ttsServices.cpp
3rang/TTS
5a84b49ea08af599ad553ae27efb36b2682f3f76
[ "MIT" ]
null
null
null
src/tts/ttsServices.cpp
3rang/TTS
5a84b49ea08af599ad553ae27efb36b2682f3f76
[ "MIT" ]
null
null
null
// SPDX-FileCopyrightText: 2021 MBition GmbH // // SPDX-License-Identifier: Closed software #include"include/ttsService.hpp" MelGenData ttsBaseMel::interpreterBuildMel(std::vector<int32_t> &localbuf) { model = tflite::FlatBufferModel::BuildFromFile(melgenPath); TFLITE_MINIMAL_CHECK(model != nullptr); tflite::I...
25.625954
93
0.744117
3rang
505917c59e19c4f642114742caa88545d24f362f
200
cpp
C++
C++/Random/namespace/main.cpp
MxBromelia/Miscelanea
5ed09cf0be28fddc29f6f1a6f3f2105226fbc11d
[ "MIT" ]
null
null
null
C++/Random/namespace/main.cpp
MxBromelia/Miscelanea
5ed09cf0be28fddc29f6f1a6f3f2105226fbc11d
[ "MIT" ]
null
null
null
C++/Random/namespace/main.cpp
MxBromelia/Miscelanea
5ed09cf0be28fddc29f6f1a6f3f2105226fbc11d
[ "MIT" ]
null
null
null
#include "foo.h" #include <iostream> using namespace std; int main() { foo::Foo<int> fooo(5,5); cout << fooo.foo() << endl; foo::Foo<double> bar(5,7.5); cout << bar.foo() << endl; return 0; }
13.333333
29
0.595
MxBromelia
505caa149e40fd4322cc25588e3349fa9cd83c1a
904
hpp
C++
src/util/cloneable.hpp
pepng-CU/pepng
6030798b6936a6f85655d5e5d1ca638be282de92
[ "MIT" ]
2
2021-04-28T20:51:25.000Z
2021-04-28T20:51:38.000Z
src/util/cloneable.hpp
pepng-CU/pepng
6030798b6936a6f85655d5e5d1ca638be282de92
[ "MIT" ]
null
null
null
src/util/cloneable.hpp
pepng-CU/pepng
6030798b6936a6f85655d5e5d1ca638be282de92
[ "MIT" ]
null
null
null
#pragma once #include <memory> /** * Utility for creating shared_ptr clones of objects. */ template<typename T> class Cloneable { public: /** * Clones this object as type T. */ std::shared_ptr<T> clone() { return std::shared_ptr<T>(this->clone_implementation()); ...
21.023256
68
0.547566
pepng-CU
505eb32be06853a94a8a97961410b3a78a4776d6
344
cpp
C++
src/HudRenderable.cpp
bernhardmgruber/hlbsp
a2144818fb6e747409dcd93cab97cea7f055dbfd
[ "BSL-1.0" ]
5
2020-04-16T19:00:09.000Z
2022-03-06T04:12:20.000Z
src/HudRenderable.cpp
bernhardmgruber/hlbsp
a2144818fb6e747409dcd93cab97cea7f055dbfd
[ "BSL-1.0" ]
null
null
null
src/HudRenderable.cpp
bernhardmgruber/hlbsp
a2144818fb6e747409dcd93cab97cea7f055dbfd
[ "BSL-1.0" ]
null
null
null
#include "HudRenderable.h" #include "Hud.h" #include "IRenderer.h" #include "global.h" HudRenderable::HudRenderable(render::IRenderer& renderer, const Hud& hud) : m_renderer(renderer), m_hud(hud) { } void HudRenderable::render(const RenderSettings& settings) { if (!global::renderHUD) return; m_renderer.renderImg...
22.933333
73
0.744186
bernhardmgruber
506206a4dffcff56e6fc219b8a465be3e3166010
5,653
cc
C++
src/Tests/Memory/StableArray.test.cc
andoma/rainbow
ed1e70033217450457e52b90276e41a746d5086a
[ "MIT" ]
null
null
null
src/Tests/Memory/StableArray.test.cc
andoma/rainbow
ed1e70033217450457e52b90276e41a746d5086a
[ "MIT" ]
null
null
null
src/Tests/Memory/StableArray.test.cc
andoma/rainbow
ed1e70033217450457e52b90276e41a746d5086a
[ "MIT" ]
1
2018-09-20T19:34:36.000Z
2018-09-20T19:34:36.000Z
// Copyright (c) 2010-present Bifrost Entertainment AS and Tommy Nguyen // Distributed under the MIT License. // (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT) #include <gtest/gtest.h> #include "Common/Random.h" #include "Memory/StableArray.h" using rainbow::StableArray; namespace { ...
27.710784
80
0.572263
andoma
5063a05c7686d2d41bef51e6784055e54aecbf91
10,575
cpp
C++
src/theory/arith/linear_equality.cpp
bobot/CVC4
63811bc87a07c487c25a566fcabd38cc6d29a61c
[ "BSL-1.0" ]
null
null
null
src/theory/arith/linear_equality.cpp
bobot/CVC4
63811bc87a07c487c25a566fcabd38cc6d29a61c
[ "BSL-1.0" ]
null
null
null
src/theory/arith/linear_equality.cpp
bobot/CVC4
63811bc87a07c487c25a566fcabd38cc6d29a61c
[ "BSL-1.0" ]
null
null
null
/********************* */ /*! \file linear_equality.cpp ** \verbatim ** Original author: taking ** Major contributors: none ** Minor contributors (to current version): mdeters ** This file is part of the CVC4 prototype. ** Copyright (c) 2009-2012 New York Un...
32.943925
98
0.669598
bobot
50648c7667c4361232b77a092b49823d68c1f5df
10,522
cpp
C++
tests/Camera3D.cpp
Defalt8/axl.gl
0028bcad1a86b048831e5fd61a436663fd38a763
[ "MIT" ]
6
2020-11-20T08:29:33.000Z
2021-12-13T14:41:52.000Z
tests/Camera3D.cpp
Defalt8/axl.gl
0028bcad1a86b048831e5fd61a436663fd38a763
[ "MIT" ]
null
null
null
tests/Camera3D.cpp
Defalt8/axl.gl
0028bcad1a86b048831e5fd61a436663fd38a763
[ "MIT" ]
null
null
null
#include "common/stdafx.hpp" #include "common/MainView.hpp" #include "common/Quad.hpp" namespace GL { using namespace axl::glfl; using namespace axl::glfl::core::GL; } void onExit(int exit_code) { if (axl::Assert::NUM_FAILED_ASSERTIONS) puts("----------------------------------------"); printf("%c> %d/%d Passed!\n...
34.956811
231
0.656244
Defalt8
5065d2cce9dcf7d58175b01298ff6fdb2948ae45
899
cpp
C++
Files/GIT01/GIT01-16519576.cpp
nishant-khanorkar/CodeChef-Submissions
4019e859d95bfa7fe763acf330c98f5f54b7b185
[ "MIT" ]
null
null
null
Files/GIT01/GIT01-16519576.cpp
nishant-khanorkar/CodeChef-Submissions
4019e859d95bfa7fe763acf330c98f5f54b7b185
[ "MIT" ]
null
null
null
Files/GIT01/GIT01-16519576.cpp
nishant-khanorkar/CodeChef-Submissions
4019e859d95bfa7fe763acf330c98f5f54b7b185
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define ll long long int using namespace std; int main() { ll gg,hh,kk,i,j,k,a1,a2; char m1[105][105],g; for(i=0;i<100;i+=2) { for(j=0;j<100;j+=2) { m1[i][j]='R',m1[i][j+1]='G'; m1[i+1][j]='G',m1[i+1][j+1]='R'; } } cin>>gg; while(gg--...
20.431818
44
0.273637
nishant-khanorkar
506ce9a3b3e070dd23dada727e5806c0b98b11c4
15,101
cpp
C++
core/PRU.cpp
amilo/soundcoreA
30b14ce3d34f74c2385126fc244a0c252c3aa4c4
[ "MIT" ]
null
null
null
core/PRU.cpp
amilo/soundcoreA
30b14ce3d34f74c2385126fc244a0c252c3aa4c4
[ "MIT" ]
null
null
null
core/PRU.cpp
amilo/soundcoreA
30b14ce3d34f74c2385126fc244a0c252c3aa4c4
[ "MIT" ]
null
null
null
/* * PRU.cpp * * Code for communicating with the Programmable Realtime Unit (PRU) * on the BeagleBone AM335x series processors. The PRU loads and runs * a separate code image compiled from an assembly file. Here it is * used to handle audio and SPI ADC/DAC data. * * This code is specific to the PRU code in the ...
29.15251
122
0.706973
amilo
506f93c9607d44673bf57262dd0802b6136ef801
582
hpp
C++
clib_build/src/CrossSection.hpp
pemryan/XCIST
044930e58880ac29208c62434c275a8724c67ef5
[ "BSD-3-Clause" ]
9
2020-09-04T01:52:41.000Z
2021-09-20T16:05:28.000Z
clib_build/src/CrossSection.hpp
pemryan/XCIST
044930e58880ac29208c62434c275a8724c67ef5
[ "BSD-3-Clause" ]
1
2021-09-15T13:59:57.000Z
2021-09-17T21:33:53.000Z
clib_build/src/CrossSection.hpp
pemryan/XCIST
044930e58880ac29208c62434c275a8724c67ef5
[ "BSD-3-Clause" ]
5
2020-09-05T08:17:18.000Z
2021-03-09T02:49:58.000Z
// Copyright 2020, General Electric Company. All rights reserved. See https://github.com/xcist/code/blob/master/LICENSE #ifndef __CrossSection_hpp__ #define __CrossSection_hpp__ #include <map> #include <string> #include <iostream> using namespace std; class CrossSection { typedef map < int, map < double, double >...
20.785714
119
0.719931
pemryan
506fe50e6e8e3df9e0f67f7b776aa83b0612d3a3
478
cpp
C++
external/win32cpp/tutorials/Tutorial1/main.cpp
probonopd/Update-Installer
0e46db8acb7bb85174d9e63aca0fce9fbb9a57c2
[ "BSD-2-Clause" ]
236
2015-01-06T15:47:08.000Z
2022-03-31T05:45:50.000Z
external/win32cpp/tutorials/Tutorial1/main.cpp
probonopd/Update-Installer
0e46db8acb7bb85174d9e63aca0fce9fbb9a57c2
[ "BSD-2-Clause" ]
8
2015-09-30T19:00:44.000Z
2021-09-14T12:42:15.000Z
external/win32cpp/tutorials/Tutorial1/main.cpp
probonopd/Update-Installer
0e46db8acb7bb85174d9e63aca0fce9fbb9a57c2
[ "BSD-2-Clause" ]
60
2015-01-02T17:27:27.000Z
2022-02-16T07:36:38.000Z
/////////////////////////////////////// // main.cpp #include "Wincore.h" // Notes: // 1) This application doesn't end when the window is closed // 2) Add the Win32++\include directory to project's additional include directories int APIENTRY WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { // Start Win32++ CWinAp...
17.071429
85
0.635983
probonopd
5070ee71783694d96984d3437a7658a0726cfb75
3,275
cpp
C++
libs/libvtrutil/test/test_expr_eval.cpp
amin1377/vtr-verilog-to-routing
700be36e479442fa41d8cb3ceb86e967f4dc078a
[ "MIT" ]
682
2015-07-10T00:39:26.000Z
2022-03-30T05:24:53.000Z
libs/libvtrutil/test/test_expr_eval.cpp
nbstrong/vtr-verilog-to-routing
c91800747378df13c008f3db92df43d6c1ebe38c
[ "MIT" ]
1,399
2015-07-24T22:09:09.000Z
2022-03-29T06:22:48.000Z
libs/libvtrutil/test/test_expr_eval.cpp
nbstrong/vtr-verilog-to-routing
c91800747378df13c008f3db92df43d6c1ebe38c
[ "MIT" ]
311
2015-07-09T13:59:48.000Z
2022-03-28T00:15:20.000Z
#include <limits> #include "catch2/catch_test_macros.hpp" #include "vtr_expr_eval.h" TEST_CASE("Simple Expressions", "[vtr_expr_eval]") { vtr::FormulaParser parser; vtr::t_formula_data vars; REQUIRE(parser.parse_formula("0", vars) == 0); REQUIRE(parser.parse_formula("42", vars) == 42); REQUIRE(...
35.989011
104
0.628397
amin1377
507148f5733bd6fa6ad7bcddc9a072175abe1c65
5,600
cpp
C++
win10/edge/test/typed_array.cpp
panopticoncentral/jsrt-wrappers
9e6352240a00ff622bbf0726f1fba363977313b9
[ "Apache-2.0" ]
12
2015-08-17T12:59:12.000Z
2021-10-10T02:54:40.000Z
win10/edge/test/typed_array.cpp
panopticoncentral/jsrt-wrappers
9e6352240a00ff622bbf0726f1fba363977313b9
[ "Apache-2.0" ]
null
null
null
win10/edge/test/typed_array.cpp
panopticoncentral/jsrt-wrappers
9e6352240a00ff622bbf0726f1fba363977313b9
[ "Apache-2.0" ]
5
2019-03-08T04:13:44.000Z
2019-12-17T09:51:09.000Z
// Copyright 2015 Paul Vick // // 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 writin...
38.888889
99
0.560179
panopticoncentral
50720ddc98e40e3062cc0467ea069cc0a34e35e1
2,216
cpp
C++
examples/mixed_precision.cpp
tenglongcong/amgcl
61948e1a49c1cbc9fdb68c92d532c8b70e021516
[ "MIT" ]
504
2015-03-11T13:50:39.000Z
2022-03-20T13:08:55.000Z
examples/mixed_precision.cpp
tenglongcong/amgcl
61948e1a49c1cbc9fdb68c92d532c8b70e021516
[ "MIT" ]
209
2015-01-02T19:13:22.000Z
2022-03-30T06:44:12.000Z
examples/mixed_precision.cpp
tenglongcong/amgcl
61948e1a49c1cbc9fdb68c92d532c8b70e021516
[ "MIT" ]
92
2015-01-04T06:11:22.000Z
2022-03-24T09:49:12.000Z
#include <vector> #include <tuple> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include <amgcl/solver/cg.hpp> #include <amgcl/profiler.hpp> #if defined(SOLVER_BACKEND_VEXCL) ...
25.471264
65
0.631318
tenglongcong
5073b0dcdde66f57130ff9a3cd6ac4cd92328ac0
2,158
cpp
C++
src/activation.cpp
kyper999/clDNN_neuset
85148cef898dbf1b314ef742092824c447474f2d
[ "BSL-1.0", "Intel", "Apache-2.0" ]
1
2018-06-07T09:21:08.000Z
2018-06-07T09:21:08.000Z
src/activation.cpp
kyper999/clDNN_neuset
85148cef898dbf1b314ef742092824c447474f2d
[ "BSL-1.0", "Intel", "Apache-2.0" ]
null
null
null
src/activation.cpp
kyper999/clDNN_neuset
85148cef898dbf1b314ef742092824c447474f2d
[ "BSL-1.0", "Intel", "Apache-2.0" ]
null
null
null
/* // Copyright (c) 2016 Intel 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 law or...
36.576271
139
0.681186
kyper999
5073cabdf06bd2c6b1fb058f09d86187a69e7d87
460
cpp
C++
xasm/main.cpp
kiven-li/xscrip
ed762811aaf502ee20b5d00083926f7647def57d
[ "MIT" ]
15
2018-11-10T11:30:09.000Z
2022-02-28T06:00:57.000Z
xasm/main.cpp
kiven-li/xscrip
ed762811aaf502ee20b5d00083926f7647def57d
[ "MIT" ]
null
null
null
xasm/main.cpp
kiven-li/xscrip
ed762811aaf502ee20b5d00083926f7647def57d
[ "MIT" ]
10
2019-06-19T03:33:53.000Z
2021-08-20T01:24:42.000Z
#include "xasm.hpp" void PrintUsage () { printf ( "Usage:\tXASM Source.XASM [Executable.XSE]\n" ); printf ( "\n" ); printf ( "\t- File extensions are not required.\n" ); printf ( "\t- Executable name is optional; source name is used by default.\n" ); } int main(int argc, char* argv[]) { i...
19.166667
85
0.586957
kiven-li
5075e700159aa6f127472946659998e2a310eb6c
212
cpp
C++
various/COP3330/lect9/sample8.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
14
2019-04-23T13:45:10.000Z
2022-03-12T18:26:47.000Z
various/COP3330/lect9/sample8.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
null
null
null
various/COP3330/lect9/sample8.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
9
2019-09-01T15:17:45.000Z
2020-11-13T20:31:36.000Z
#include <iostream> #include <stdio.h> using namespace std; void MyIncrement(int &x) { x++; } int main() { int MyInt = 4; MyIncrement(MyInt); cout << MyInt << "\n"; return 0; } /* 5 */
8.48
26
0.542453
chgogos
50764aa5d14915050391a68c52defae4c4e6bf87
762
hpp
C++
resource/scene/Topology.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
resource/scene/Topology.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
resource/scene/Topology.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
1
2019-03-11T20:58:41.000Z
2019-03-11T20:58:41.000Z
#ifndef TOPOLOGY_HPP_ #define TOPOLOGY_HPP_ #include "Common.hpp" #include "Space.hpp" #include "Metric.hpp" namespace reprize { namespace res { class TpNode { public: TpNode(void) {} virtual ~TpNode(void) {} private: Vec3 pos; }; class TpFace { public: TpFace(void) {} virtual ~TpFace(void) {} ...
12.290323
60
0.607612
szk
50770ad1efaa4cf8ba8ae56356aa7b60c18474c8
2,637
cpp
C++
kpcb-fellows/src/test/hash_map_t/old/not-so-old/fs_hash_map_ut.cpp
eda-ricercatore/estate-2017-stage
95b573672e65ab342a58a273b5f4c28fee5b424e
[ "MIT" ]
null
null
null
kpcb-fellows/src/test/hash_map_t/old/not-so-old/fs_hash_map_ut.cpp
eda-ricercatore/estate-2017-stage
95b573672e65ab342a58a273b5f4c28fee5b424e
[ "MIT" ]
2
2018-10-19T20:54:54.000Z
2021-06-25T15:16:14.000Z
kpcb-fellows/src/test/hash_map_t/old/not-so-old/fs_hash_map_ut.cpp
eda-ricercatore/estate-2017-stage
95b573672e65ab342a58a273b5f4c28fee5b424e
[ "MIT" ]
null
null
null
/** * Test/Hash_map_t package: * Submodule of Test package to test classes in the Hash_map package. * * fs_hash_map_ut class: * Class that tests the fixed-size hash map class. * The constructors and functions of the hash_map class shall be * tested. * * * * * Copyright (C) <2017> <Zhiyang Ong> * @author ...
33.379747
328
0.68449
eda-ricercatore
507838f9c3c3187129caf0b87c0d44969b2581c1
548
cpp
C++
leetcode/1-two-sum.cpp
rise-worlds/algorithm
74fb83ee12725d868ce57f5969f072c593898215
[ "MIT" ]
1
2019-06-10T09:33:37.000Z
2019-06-10T09:33:37.000Z
leetcode/1-two-sum.cpp
rise-worlds/leetcode
74fb83ee12725d868ce57f5969f072c593898215
[ "MIT" ]
null
null
null
leetcode/1-two-sum.cpp
rise-worlds/leetcode
74fb83ee12725d868ce57f5969f072c593898215
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { vector<int> result; size_t i, j, length = nums.size(); for (i = 0; i < length; ++i) { for (j = i + 1; j < length; ++j) { if (nums[i] + nums[j] == ...
24.909091
55
0.410584
rise-worlds
507ea6264e9cbc1959c597f3989369d7519719c2
1,279
hxx
C++
private/inet/xml/core/prfdata/msxmlprfdatamap.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/inet/xml/core/prfdata/msxmlprfdatamap.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/inet/xml/core/prfdata/msxmlprfdatamap.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
/* * * Copyright (c) 1998,1999 Microsoft Corporation. All rights reserved. * EXEMPT: copyright change only, no build required * */ /****************************************************************************** Module name: MSXMLPrfDataMap.h Description: Definition of performance objects and counters *******...
31.975
80
0.552776
King0987654
507ff1c8b84378186748c28c563991e4f9e48d14
3,156
cpp
C++
generate_submat.cpp
CreRecombinase/BeQ2L
0c5133b85296631a7e7187657337b5a775e456ac
[ "MIT" ]
1
2018-08-24T04:48:26.000Z
2018-08-24T04:48:26.000Z
generate_submat.cpp
CreRecombinase/BeQ2L
0c5133b85296631a7e7187657337b5a775e456ac
[ "MIT" ]
null
null
null
generate_submat.cpp
CreRecombinase/BeQ2L
0c5133b85296631a7e7187657337b5a775e456ac
[ "MIT" ]
null
null
null
#include "armadillo" #include "importdata.hpp" #include "matmethods.hpp" #include <iostream> #include <vector> #include <string> #include <fstream> #include <unordered_map> #include <utility> #include <iterator> #include "H5Cpp.h" #include "h5objcpp.hpp" using namespace std; using namespace arma; using namespace H5; i...
27.684211
141
0.690748
CreRecombinase
50805f648ac56f0cb79cd6e0d877f94cc75f8b91
1,474
cc
C++
SuperReads_RNA/global-1/jellyfish/unit_tests/test_simple_circular_buffer.cc
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
255
2015-02-18T20:27:23.000Z
2022-03-18T18:55:35.000Z
SuperReads_RNA/global-1/jellyfish/unit_tests/test_simple_circular_buffer.cc
Kuanhao-Chao/multiStringTie
be37f9b4ae72b14e7cf645f24725b7186f66a816
[ "MIT" ]
350
2015-03-11T14:24:06.000Z
2022-03-29T03:54:10.000Z
SuperReads_RNA/global-1/jellyfish/unit_tests/test_simple_circular_buffer.cc
wrf/stringtie
2e99dccd9a2e2ce51cfddcb3896984fa773697f7
[ "MIT" ]
66
2015-02-19T00:21:38.000Z
2022-03-30T09:52:23.000Z
#include <gtest/gtest.h> #include <jellyfish/simple_circular_buffer.hpp> namespace { static const int capa = 16; typedef jellyfish::simple_circular_buffer::pre_alloc<int, capa> test_simple_circular_buffer; TEST(SimpleCircularBufferTest, FillEmpty) { int ary[capa]; test_simple_circular_buffer buffer(ary); EXPEC...
25.859649
92
0.651289
Kuanhao-Chao
5082237b551cf23d2caf9742c34b30198329e53e
1,582
cc
C++
src/tfm/tfmp_tfm_data_exten.cc
Erician/tfm-parser
1bd091b46b53cb019b928c40dcdfa306f22a1e24
[ "MIT" ]
null
null
null
src/tfm/tfmp_tfm_data_exten.cc
Erician/tfm-parser
1bd091b46b53cb019b928c40dcdfa306f22a1e24
[ "MIT" ]
null
null
null
src/tfm/tfmp_tfm_data_exten.cc
Erician/tfm-parser
1bd091b46b53cb019b928c40dcdfa306f22a1e24
[ "MIT" ]
null
null
null
#ifndef TFMP_TFM_TFMP_TFM_DATA_EXTEN_H_ #include "tfm/tfmp_tfm_data_exten.h" #endif #ifndef TFMP_TFM_TFMP_TFM_CONST_H_ #include "tfm/tfmp_tfm_const.h" #endif namespace tfmp{ namespace tfm{ namespace data{ ExtenCommand::ExtenCommand(char *bytes) { top_ = (unsigned char)bytes[0]; mid_ = (unsigned char)bytes[1...
25.111111
60
0.637168
Erician
5082fbf2999dfbaaab448ecb36cabb919bd7f16c
1,095
hpp
C++
solver/include/policy/pure/PurePolicy.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
9
2020-10-24T06:14:08.000Z
2021-07-13T13:08:30.000Z
solver/include/policy/pure/PurePolicy.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
solver/include/policy/pure/PurePolicy.hpp
laurimi/multiagent-prediction-reward
b89fa52f78bb49447fc0049a7314a87b2b3e903e
[ "MIT" ]
null
null
null
#ifndef PUREPOLICY_HPP #define PUREPOLICY_HPP #include "PurePolicyExecutionState.hpp" namespace npgi { namespace policy { template <typename LocalAction, typename LocalObservation> struct PurePolicy { public: PurePolicy() : m_() {} void set_action(const PurePolicyExecutionState<LocalObservation>& es, ...
26.707317
78
0.699543
laurimi
50835860f266eb3bcd3c53b222b1f7d038497a50
7,434
cpp
C++
src/input_handler.cpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
3
2019-09-16T01:42:10.000Z
2021-11-28T02:58:42.000Z
src/input_handler.cpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
null
null
null
src/input_handler.cpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
2
2020-01-28T23:33:00.000Z
2021-11-08T06:14:41.000Z
#include "input_handler.hpp" #include <iostream> #include "nameof.hpp" input_command* input_handler::keypress(SDL_Scancode code, uint16_t modifier) { if(keypress_commands[code]) keypress_commands[code]->modifier = modifier; return keypress_commands[code]; } input_command* input_handler::keyrelease(SDL_Scancode c...
37.545455
180
0.723298
Ybalrid
5083b0da307258cea057cf3faf0c97471272f1ea
691
cpp
C++
cpp/src/exercise/e0300/e0203.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0300/e0203.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
cpp/src/exercise/e0300/e0203.cpp
ajz34/LeetCodeLearn
70ff8a3c17199a100819b356735cd9b13ff166a7
[ "MIT" ]
null
null
null
// https://leetcode-cn.com/problems/remove-linked-list-elements/ #include "extern.h" class S0203 { public: ListNode* removeElements(ListNode* head, int val) { ListNode* pre = new ListNode(-1); pre->next = head; ListNode* node = pre; while (node && node->next) { if (node->next->...
26.576923
80
0.545586
ajz34
5083b50f5e7cb1e9261e36f3fb59306a2dec460c
1,234
hpp
C++
code/atom/src/server/Connection.hpp
KasumiL5x/atom
90262f59e56a829017f95f297c1a6701fc4e200e
[ "MIT" ]
null
null
null
code/atom/src/server/Connection.hpp
KasumiL5x/atom
90262f59e56a829017f95f297c1a6701fc4e200e
[ "MIT" ]
null
null
null
code/atom/src/server/Connection.hpp
KasumiL5x/atom
90262f59e56a829017f95f297c1a6701fc4e200e
[ "MIT" ]
null
null
null
#ifndef __atom_Connection__ #define __atom_Connection__ #include <memory> #include <mutex> #include <deque> #include <functional> #define ASIO_STANDALONE #include <asio.hpp> using asio::ip::tcp; #include "Message.hpp" namespace atom { class Connection : public std::enable_shared_from_this<Connection> { typedef std:...
22.851852
80
0.758509
KasumiL5x
5085681b31b439ff0f94f723c9331a7ab681249f
188
cpp
C++
applications/ObjectEditor/src/Objects/OEVisitorExtension.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
applications/ObjectEditor/src/Objects/OEVisitorExtension.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
applications/ObjectEditor/src/Objects/OEVisitorExtension.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
#include <Objects/OEVisitorExtension.h> mtt::ObjectVisitor::ExtensionID OEVisitorExtension::extensionID = mtt::ObjectVisitor::registerExtension();
37.6
80
0.648936
AluminiumRat
508ab0bdc29aa9324c69e35d221cce27de0c0ccf
69,767
cpp
C++
Device/Demo_Android/xiaoweiSDK/jni/QCloudAudio.cpp
tencentyun/xiaowei-device-sdk
09bf2e4a992158a853b650024ce124390274bf5a
[ "MIT" ]
28
2018-05-11T09:10:40.000Z
2021-11-23T09:16:42.000Z
Device/Demo_Android/xiaoweiSDK/jni/QCloudAudio.cpp
tencentyun/xiaowei-device-sdk
09bf2e4a992158a853b650024ce124390274bf5a
[ "MIT" ]
1
2019-01-16T11:33:26.000Z
2019-01-16T11:33:26.000Z
Device/Demo_Android/xiaoweiSDK/jni/QCloudAudio.cpp
tencentyun/xiaowei-device-sdk
09bf2e4a992158a853b650024ce124390274bf5a
[ "MIT" ]
6
2018-05-11T09:09:06.000Z
2019-01-04T01:42:58.000Z
/* * Tencent is pleased to support the open source community by making XiaoweiSDK Demo Codes available. * * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the MIT License (the "License"); you may not use this file except in compliance * with the License. You may ob...
37.050982
147
0.615133
tencentyun
508c16bfdd4299bbd1753abaeb6b92ee2480d668
614
cpp
C++
absmapalgorithms/AbsMapUnit.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
5
2020-08-03T09:43:26.000Z
2022-01-11T08:28:30.000Z
absmapalgorithms/AbsMapUnit.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
null
null
null
absmapalgorithms/AbsMapUnit.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
7
2017-07-31T13:01:28.000Z
2021-05-16T10:15:49.000Z
/* * AbsMapUnit.cpp * hog2 * * Created by Nathan Sturtevant on 4/27/07. * Copyright 2007 Nathan Sturtevant, University of Alberta. All rights reserved. * */ #include "AbsMapUnit.h" void AbsMapUnit::OpenGLDraw(const AbsMapEnvironment *me, const AbsMapSimulationInfo *) const { Map *map = me->GetMap(); GLdo...
24.56
92
0.656352
AaronTrip
5091c34223efcd389884af71c4f2f909947d2240
1,962
cpp
C++
quiz7/quiz7/quiz7.cpp
keithwj1/FoothillCS2C
88da66fb5f3ab65a62a1fcd29c10816c7134766a
[ "MIT" ]
null
null
null
quiz7/quiz7/quiz7.cpp
keithwj1/FoothillCS2C
88da66fb5f3ab65a62a1fcd29c10816c7134766a
[ "MIT" ]
null
null
null
quiz7/quiz7/quiz7.cpp
keithwj1/FoothillCS2C
88da66fb5f3ab65a62a1fcd29c10816c7134766a
[ "MIT" ]
null
null
null
// quiz7.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <queue> #include <vector> #include <assert.h> // Given a vector of elements in any order, return the 5th smallest element // For example: // std::vector<char> chars = {'a', 'b', 'c', 'd'...
33.827586
135
0.61315
keithwj1
509574214357962c1f3f5a122c9a8e6f0be115f6
1,299
cpp
C++
WineX/Sprite.cpp
MKachi/WineX
712243b5e3819fa77c2ae7262b9a846acd9c5945
[ "MIT" ]
4
2016-01-14T06:58:32.000Z
2018-04-13T07:26:21.000Z
WineX/Sprite.cpp
MKachi/WineX
712243b5e3819fa77c2ae7262b9a846acd9c5945
[ "MIT" ]
null
null
null
WineX/Sprite.cpp
MKachi/WineX
712243b5e3819fa77c2ae7262b9a846acd9c5945
[ "MIT" ]
null
null
null
#include "Sprite.h" #include "WineObject.h" #include "Transform.h" #include "TypeHelper.h" using namespace WineX; Sprite::Sprite(const std::wstring & filename) { _filename = filename; _name = TypeHelper<Sprite>::GetType(); } Sprite::~Sprite() { SAFE_RELEASE(_texture); SAFE_RELEASE(_sprite); } void Sprite::Init(...
27.638298
180
0.756736
MKachi
509967bc5f30f8f73bc032af812605b79834b860
12,338
cpp
C++
Engine/Oculus/_vulkan/OculusHMD_ps.cpp
vitei/Usa
c44f893d5b3d8080529ecf0e227f983fddb829d4
[ "MIT" ]
47
2018-04-27T02:16:26.000Z
2022-02-28T05:21:24.000Z
Engine/Oculus/_vulkan/OculusHMD_ps.cpp
vitei/Usa
c44f893d5b3d8080529ecf0e227f983fddb829d4
[ "MIT" ]
2
2018-11-13T18:46:41.000Z
2022-03-12T00:04:44.000Z
Engine/Oculus/_vulkan/OculusHMD_ps.cpp
vitei/Usa
c44f893d5b3d8080529ecf0e227f983fddb829d4
[ "MIT" ]
6
2019-08-10T21:56:23.000Z
2020-10-21T11:18:29.000Z
/**************************************************************************** // Usagi Engine, Copyright © Vitei, Inc. 2013 // Description: Vulkan specific oculus rift code *****************************************************************************/ #pragma once #include "Engine/Common/Common.h" #include "Engine/Gra...
37.387879
218
0.756444
vitei
509aecabda5a28371da78d11102f11db9e2bbf3c
10,956
cpp
C++
src/libraries/core/OSspecific/windows/fileMonitor.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/OSspecific/windows/fileMonitor.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/OSspecific/windows/fileMonitor.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2012 Symscape Copyright (C) 2018 Applied CCM Pty Ltd ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute i...
25.186207
80
0.471157
MrAwesomeRocks
509fb3626e61b0e386fdef201ed76273074babd1
13,048
cpp
C++
VoiceDialog.cpp
fioresoft/NO5
0acb1fdf191e3aa1e6f082ae996c1bf2a545e6c4
[ "MIT" ]
6
2017-06-01T01:28:11.000Z
2022-01-06T13:24:42.000Z
VoiceDialog.cpp
fioresoft/NO5
0acb1fdf191e3aa1e6f082ae996c1bf2a545e6c4
[ "MIT" ]
null
null
null
VoiceDialog.cpp
fioresoft/NO5
0acb1fdf191e3aa1e6f082ae996c1bf2a545e6c4
[ "MIT" ]
2
2021-07-05T01:17:23.000Z
2022-01-06T13:24:44.000Z
// VoiceDialog.cpp: implementation of the CVoiceDialog class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "resource.h" #include "VoiceDialog.h" #include "imainframe.h" #include "no5app.h" #include "usrmsgs.h" /////////////////////////////////////...
23.853748
112
0.664086
fioresoft
50a02a9cc221a86f0e686ab7f65508f4b3ffacc0
362
cpp
C++
Codeforces 734B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 734B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
Codeforces 734B.cpp
Jvillegasd/Codeforces
ffdd2d5db1dabc7ff76f8f92270c79233a77b933
[ "MIT" ]
null
null
null
#include <stdio.h> using namespace std; int main(){ int k2, k3, k5, k6, sum = 0; scanf("%d %d %d %d", &k2, &k3, &k5, &k6); while(k2 > 0 && k5 > 0 && k6 > 0){ k2--; k5--; k6--; sum += 256; } while(k2 > 0 && k3 > 0){ k2--; k3--; sum += 32; ...
17.238095
45
0.367403
Jvillegasd
50a2d687807090ccf6d31a66041c36df71dc46da
2,207
hpp
C++
baseclass/headers/world.hpp
HxHexa/quang-advCG-raytracer
605f7dfcc9237f331d456646b7653ad0f26c0cc4
[ "MIT" ]
null
null
null
baseclass/headers/world.hpp
HxHexa/quang-advCG-raytracer
605f7dfcc9237f331d456646b7653ad0f26c0cc4
[ "MIT" ]
null
null
null
baseclass/headers/world.hpp
HxHexa/quang-advCG-raytracer
605f7dfcc9237f331d456646b7653ad0f26c0cc4
[ "MIT" ]
null
null
null
/* world.hpp - header for world - a collection of objects and lights in scene * Quang Tran - 10/9/19 * */ #pragma once #include "object.hpp" #include "sphere.hpp" #include "arealight.hpp" #include "ray.hpp" #include "intersection.hpp" #include "comps.hpp" #include <vector> #include <memory> class World { priva...
31.084507
180
0.652469
HxHexa
50a6ec99bb741660f02ed81088141380974f29c4
669
hpp
C++
coordGraph/coordGraph.hpp
ytuza/proyecto
3ebd08518c80180063262810ed9515cb94a2b735
[ "MIT" ]
null
null
null
coordGraph/coordGraph.hpp
ytuza/proyecto
3ebd08518c80180063262810ed9515cb94a2b735
[ "MIT" ]
null
null
null
coordGraph/coordGraph.hpp
ytuza/proyecto
3ebd08518c80180063262810ed9515cb94a2b735
[ "MIT" ]
null
null
null
#pragma once #include "graph/graph.hpp" #include <QPointF> #include <deque> class CoordGraph : public Graph<QPointF, double> { private: std::deque<NodeType *> randomGenNodes(int nodesN, double limitA, double limitB); void sortNodes(); double distance(NodeType *a, NodeType *b); void randomGenEdges(unsigned ...
26.76
82
0.714499
ytuza
50a89231515514681dc6eb2c5b181d33c2497d8b
7,351
cpp
C++
project/driver/src/DbcEntries.cpp
mkhon/ezRETS
7040e80061da719b5a2d56a80431198962f57893
[ "ICU" ]
20
2015-07-11T15:54:42.000Z
2022-02-05T04:55:24.000Z
project/driver/src/DbcEntries.cpp
mkhon/ezRETS
7040e80061da719b5a2d56a80431198962f57893
[ "ICU" ]
5
2015-01-12T22:38:56.000Z
2021-01-16T01:08:18.000Z
project/driver/src/DbcEntries.cpp
NationalAssociationOfRealtors/ezRETS
7040e80061da719b5a2d56a80431198962f57893
[ "ICU" ]
13
2015-04-05T03:28:20.000Z
2021-01-13T16:52:52.000Z
/* * Copyright (C) 2005 National Association of REALTORS(R) * * All rights reserved. * * 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 limitat...
33.413636
79
0.667936
mkhon
50aa9d9913e7bca78d7bb3d62c7c5edd0b71c2db
1,241
cpp
C++
problems/clone_graph.cpp
JingxueLiao/Data_Structures_and_Algorithms
7851b0da25ed3c115c51d20f18d3e6a1e2bec4f4
[ "MIT" ]
null
null
null
problems/clone_graph.cpp
JingxueLiao/Data_Structures_and_Algorithms
7851b0da25ed3c115c51d20f18d3e6a1e2bec4f4
[ "MIT" ]
null
null
null
problems/clone_graph.cpp
JingxueLiao/Data_Structures_and_Algorithms
7851b0da25ed3c115c51d20f18d3e6a1e2bec4f4
[ "MIT" ]
null
null
null
// Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. #include <vector> #include <unordered_map> #include <queue> #include <utility> using namespace std; struct UndirectedGraphNode { int label; vector<UndirectedGraphNode *> neighbors; UndirectedGraphNode(int x...
32.657895
98
0.638195
JingxueLiao
50ab105623645fd6280008abe04b2f930db659bf
4,452
cpp
C++
src/processServer.cpp
tositeru/watagashi
d4fcfbb4a7f44fcbf68652e7d99a4b13c6e035d4
[ "MIT" ]
null
null
null
src/processServer.cpp
tositeru/watagashi
d4fcfbb4a7f44fcbf68652e7d99a4b13c6e035d4
[ "MIT" ]
null
null
null
src/processServer.cpp
tositeru/watagashi
d4fcfbb4a7f44fcbf68652e7d99a4b13c6e035d4
[ "MIT" ]
null
null
null
#include "processServer.h" #include <iostream> #include "utility.h" #include "builder.h" #include "data.h" using namespace std; namespace fs = boost::filesystem; namespace watagashi { //-------------------------------------------------------------------------------------- // // class Process_ // //---------------...
28.722581
128
0.598607
tositeru
27051ecab1393a3d3729e511cb242f15650485dc
538
cpp
C++
complex.cpp
dkaramit/complex
b0c65feeb420472aa79b11372e8329fb7aea8b6a
[ "MIT" ]
null
null
null
complex.cpp
dkaramit/complex
b0c65feeb420472aa79b11372e8329fb7aea8b6a
[ "MIT" ]
null
null
null
complex.cpp
dkaramit/complex
b0c65feeb420472aa79b11372e8329fb7aea8b6a
[ "MIT" ]
null
null
null
// This is an example on how to use complex. #include <iostream> #include "complex.hpp" using namespace std; int main(){ cout<<"=======Begin=======\n"<<endl; complex z=0.; z=8+3.*Imag; double n=3.; cout<<n<<"^("<<z<<") = "<<pow(n,z)<<endl; cout<<"("<<z<<")^"<<n<<" = "<<pow(z,n)<<endl; cout<<"("<<z<<")^"<<"("<<...
16.30303
51
0.451673
dkaramit
270698d319bc4a493cc63dae0feb0d3f93722e94
1,585
cpp
C++
src/test_separator.cpp
caomuqing/separator
53fbf832ce784029c8bd7e1a835acbb20d311730
[ "BSD-3-Clause" ]
8
2020-09-09T16:38:53.000Z
2021-08-19T10:40:25.000Z
submodules/separator/src/test_separator.cpp
t-thanh/mader-docker
4d0baa706d85b0b808d06a670ad6c9aa2730e05b
[ "BSD-3-Clause" ]
null
null
null
submodules/separator/src/test_separator.cpp
t-thanh/mader-docker
4d0baa706d85b0b808d06a670ad6c9aa2730e05b
[ "BSD-3-Clause" ]
2
2020-12-21T03:41:33.000Z
2021-08-21T07:45:32.000Z
/* ---------------------------------------------------------------------------- * Copyright 2020, Jesus Tordesillas Torres, Aerospace Controls Laboratory * Massachusetts Institute of Technology * All Rights Reserved * Authors: Jesus Tordesillas, et al. * See LICENSE file for the license information * ------------...
34.456522
85
0.57224
caomuqing
270769a4a238f8f618b435fec9b54e7d03e3549a
3,911
cpp
C++
Wand/Source/Utils/Serializer.cpp
mariaviolaki/wand
a955e9f67c73c584d73874904ba98bebd6f15971
[ "MIT" ]
null
null
null
Wand/Source/Utils/Serializer.cpp
mariaviolaki/wand
a955e9f67c73c584d73874904ba98bebd6f15971
[ "MIT" ]
null
null
null
Wand/Source/Utils/Serializer.cpp
mariaviolaki/wand
a955e9f67c73c584d73874904ba98bebd6f15971
[ "MIT" ]
null
null
null
#include "WandPCH.h" #include "Serializer.h" namespace wand { /******************************* PUBLIC METHODS **********************************/ void Serializer::Serialize(const State& state, const std::string& path) { nlohmann::json states; nlohmann::json oldStates = GetSavedStates(path); // Add the new s...
29.406015
105
0.653541
mariaviolaki
2707bd1332867eb7d11cd158fe8c9cc9fc1206cf
40,671
cpp
C++
src/limits/Shadows/StaticShadows.cpp
EightyVice/III.VC.SA.LimitAdjuster
b83062ae1bc154701012f2f870a49c4566d06dfa
[ "MIT" ]
120
2016-03-13T14:06:07.000Z
2022-02-20T17:57:10.000Z
src/limits/Shadows/StaticShadows.cpp
EightyVice/III.VC.SA.LimitAdjuster
b83062ae1bc154701012f2f870a49c4566d06dfa
[ "MIT" ]
33
2016-09-25T13:01:08.000Z
2022-03-23T19:43:06.000Z
src/limits/Shadows/StaticShadows.cpp
EightyVice/III.VC.SA.LimitAdjuster
b83062ae1bc154701012f2f870a49c4566d06dfa
[ "MIT" ]
25
2016-08-09T15:52:06.000Z
2022-02-14T11:11:27.000Z
/* * Static Shadows Limit Adjuster * Copyright (C) 2014 Wesser * http://gtaforums.com/topic/675664-staticshadow-limit/ */ #include "LimitAdjuster.h" #include "cpatch/hook.h" using namespace Hook; DWORD SSHADS_LIMIT; //#define SSHADS_LIFETIME 5000 //#define SSHADS_UPDATEFIX void patch_706ED0(); void patch_706FE...
40.752505
113
0.695926
EightyVice
270902945fbb0bafcef69d1010e7b2409904154c
884
cpp
C++
Durna/Source/Runtime/Render/Buffer.cpp
MrWpGg/Durna
62c8ca2d69623e70e2dac49a5560cd3ac2c304ed
[ "Apache-2.0" ]
null
null
null
Durna/Source/Runtime/Render/Buffer.cpp
MrWpGg/Durna
62c8ca2d69623e70e2dac49a5560cd3ac2c304ed
[ "Apache-2.0" ]
null
null
null
Durna/Source/Runtime/Render/Buffer.cpp
MrWpGg/Durna
62c8ca2d69623e70e2dac49a5560cd3ac2c304ed
[ "Apache-2.0" ]
null
null
null
#include "DurnaPCH.h" #include "Buffer.h" #include "Runtime/Render/Renderer.h" #include "Runtime/Platform/OpenGL/OpenGLBuffer.h" namespace Durna { VertexBuffer* VertexBuffer::Create(float* Vertices, uint32 Size) { switch (Renderer::GetAPI()) { case RendererAPI::API::None: DRN_ASSERT(false, "Render API 'None'...
30.482759
102
0.714932
MrWpGg
27107cb661a4eb240d9e8dc5a1e41175be0b0735
1,422
cpp
C++
2020-sp-a-hw6-tgfnzb-master/2020-sp-a-hw6-tgfnzb-master/pa06.cpp
thomasfan100/DataStructure
4a69da72b8ae12aaa18363061528094c114a324b
[ "MIT" ]
null
null
null
2020-sp-a-hw6-tgfnzb-master/2020-sp-a-hw6-tgfnzb-master/pa06.cpp
thomasfan100/DataStructure
4a69da72b8ae12aaa18363061528094c114a324b
[ "MIT" ]
null
null
null
2020-sp-a-hw6-tgfnzb-master/2020-sp-a-hw6-tgfnzb-master/pa06.cpp
thomasfan100/DataStructure
4a69da72b8ae12aaa18363061528094c114a324b
[ "MIT" ]
null
null
null
#include "MyMap.h" int main() { MyMap<int, std::string> map_obj; map_obj.insert(MyPair<int, std::string>(3, "h")); map_obj[54].push_back('w'); map_obj[34] = "x"; map_obj[54] = "x"; map_obj[154] = "p"; map_obj[73] = "w"; map_obj[5] = "a"; map_obj[36] = "x"; map_obj[32] = "x"; ...
22.21875
70
0.523207
thomasfan100
271199c421230f872ba7f2c23b372e5adfaefe6e
13,115
cpp
C++
simulation&control/pid_tuning_and_fuzzy_adaptive/6/GYJPID_ws/src/fuzzypid/src/FuzzyPID_data.cpp
L-Net-1992/guyueclass
a6dd06529dfbe500a52ae89aa5156eca7d305c28
[ "Apache-2.0" ]
null
null
null
simulation&control/pid_tuning_and_fuzzy_adaptive/6/GYJPID_ws/src/fuzzypid/src/FuzzyPID_data.cpp
L-Net-1992/guyueclass
a6dd06529dfbe500a52ae89aa5156eca7d305c28
[ "Apache-2.0" ]
null
null
null
simulation&control/pid_tuning_and_fuzzy_adaptive/6/GYJPID_ws/src/fuzzypid/src/FuzzyPID_data.cpp
L-Net-1992/guyueclass
a6dd06529dfbe500a52ae89aa5156eca7d305c28
[ "Apache-2.0" ]
null
null
null
// // File: FuzzyPID_data.cpp // // Code generated for Simulink model 'FuzzyPID'. // // Model version : 1.30 // Simulink Coder version : 9.7 (R2022a) 13-Nov-2021 // C/C++ source code generated on : Wed Mar 30 17:31:29 2022 // // Target selection: ert.tlc // Embedded hardware selection...
36.03022
82
0.465269
L-Net-1992
2711c3e28c8d027c23751b5c08e27d208a47c21e
1,414
cpp
C++
src/core/signalRecord.cpp
BetaRavener/BrainActivityVisualizer
baf61856d67fbe31880bc4c6610621142777ac19
[ "BSD-3-Clause" ]
null
null
null
src/core/signalRecord.cpp
BetaRavener/BrainActivityVisualizer
baf61856d67fbe31880bc4c6610621142777ac19
[ "BSD-3-Clause" ]
null
null
null
src/core/signalRecord.cpp
BetaRavener/BrainActivityVisualizer
baf61856d67fbe31880bc4c6610621142777ac19
[ "BSD-3-Clause" ]
1
2021-07-12T00:49:41.000Z
2021-07-12T00:49:41.000Z
// Author: Ivan Sevcik <ivan-sevcik@hotmail.com> // Licensed under BSD 3-Clause License (see licenses/LICENSE.txt) #include "signalRecord.h" #include <algorithm> SignalRecord::Ptr SignalRecord::create(edf_hdr_struct *header, int signalIdx) { Ptr ptr(new SignalRecord); ptr->_header = header; ptr->_signalId...
28.857143
88
0.712871
BetaRavener
2717f7bd831617f67d2764b22827cca1b5c0b6da
7,294
cpp
C++
src/devices/cpu/unsp/unsp_other.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/cpu/unsp/unsp_other.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/cpu/unsp/unsp_other.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:GPL-2.0+ // copyright-holders:Segher Boessenkool, Ryan Holtz, David Haywood #include "emu.h" #include "unsp.h" #include "unspfe.h" #include "debugger.h" #include "unspdasm.h" void unsp_device::execute_remaining(const uint16_t op) { uint32_t lres = 0; uint16_t r0 = 0; uint16_t r1 = 0; uint32_t r2 = 0;...
20.204986
132
0.551961
Robbbert
271a2d5e2ee89727b2187e27ff5c0999e32bfa86
2,274
cpp
C++
MWP8_1B_Budka_Suflera/main.cpp
MichalWilczek/spoj-tasks
6d5d77d750747ecb162c76a2b7eb4b8e8f2c4fc3
[ "Unlicense" ]
null
null
null
MWP8_1B_Budka_Suflera/main.cpp
MichalWilczek/spoj-tasks
6d5d77d750747ecb162c76a2b7eb4b8e8f2c4fc3
[ "Unlicense" ]
null
null
null
MWP8_1B_Budka_Suflera/main.cpp
MichalWilczek/spoj-tasks
6d5d77d750747ecb162c76a2b7eb4b8e8f2c4fc3
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <bits/stdc++.h> // std:: istringstream using namespace std; void printWords(vector<string> &words){ int wordsLength = words.size(); for (int i=0; i<wordsLength; i++){ cout << words[i] << endl; } } void extractDataFromString(vector<string> &wordsTextOr...
27.071429
99
0.684257
MichalWilczek
271db97f6fb76016d07cdfd3ed33b056cda4ae36
2,812
hpp
C++
src/cdpi_ssl.hpp
ytakano/catenaccio_dpi
284d8e805cb3a1f4714132063049d78065454261
[ "BSD-3-Clause" ]
2
2015-04-13T19:10:24.000Z
2019-04-27T02:53:49.000Z
src/cdpi_ssl.hpp
ytakano/catenaccio_dpi
284d8e805cb3a1f4714132063049d78065454261
[ "BSD-3-Clause" ]
null
null
null
src/cdpi_ssl.hpp
ytakano/catenaccio_dpi
284d8e805cb3a1f4714132063049d78065454261
[ "BSD-3-Clause" ]
null
null
null
#ifndef CDPI_SSL_HPP #define CDPI_SSL_HPP #include "cdpi_bytes.hpp" #include "cdpi_event.hpp" #include "cdpi_proto.hpp" #include <stdint.h> #include <list> #include <map> enum cdpi_ssl_content_type { SSL_CHANGE_CIPHER_SPEC = 20, SSL_ALERT = 21, SSL_HANDSHAKE = 22, SSL_APPLICATI...
31.595506
89
0.671053
ytakano
2720a52680042f76737d0895811a54abc6994217
6,797
cpp
C++
src/DataSetBuilder.cpp
ddsmarques/pairtree
b04e590acf769269ebc38b76ba1f19d6344fef80
[ "BSD-3-Clause" ]
null
null
null
src/DataSetBuilder.cpp
ddsmarques/pairtree
b04e590acf769269ebc38b76ba1f19d6344fef80
[ "BSD-3-Clause" ]
null
null
null
src/DataSetBuilder.cpp
ddsmarques/pairtree
b04e590acf769269ebc38b76ba1f19d6344fef80
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2018 Daniel dos Santos Marques <danielsmarques7@gmail.com> // License: BSD 3 clause #include "DataSetBuilder.h" #include "Converter.h" #include "ErrorUtils.h" #include "Logger.h" #include "ReadCSV.h" #include <utility> #include <iostream> #include <set> DataSetBuilder::DataSetBuilder() { } DataSet...
34.328283
123
0.61895
ddsmarques
2721f2bebfadd3384c9b3dd7e83ebbc4e7d50fa9
2,027
cpp
C++
tests/integration/pattern_tests/replicate_and_shard_ir_test_0.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
tests/integration/pattern_tests/replicate_and_shard_ir_test_0.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
tests/integration/pattern_tests/replicate_and_shard_ir_test_0.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #define BOOST_TEST_MODULE ReplicateAndShardIrTest #include <memory> #include <boost/test/unit_test.hpp> #include <filereader.hpp> #include <popart/builder.hpp> #include <popart/dataflow.hpp> #include <popart/ir.hpp> #include <popart/op/identity.hpp> #include ...
26.324675
71
0.667489
gglin001
272209a3f9b28db074f6ddd67885ddb87cbbf5b4
3,828
cpp
C++
src/ngraph/op/concat.cpp
bergtholdt/ngraph
55ca8bb15488ac7a567bb420ca32fcee25e60fe6
[ "Apache-2.0" ]
null
null
null
src/ngraph/op/concat.cpp
bergtholdt/ngraph
55ca8bb15488ac7a567bb420ca32fcee25e60fe6
[ "Apache-2.0" ]
null
null
null
src/ngraph/op/concat.cpp
bergtholdt/ngraph
55ca8bb15488ac7a567bb420ca32fcee25e60fe6
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2018 Intel 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://w...
33.578947
98
0.644201
bergtholdt
272261fe1cd77d5a0ed8aff3ffdb7ee9a83c2166
30,358
cc
C++
chrome/browser/page_load_metrics/observers/ads_page_load_metrics_observer_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/page_load_metrics/observers/ads_page_load_metrics_observer_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/page_load_metrics/observers/ads_page_load_metrics_observer_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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/page_load_metrics/observers/ads_page_load_metrics_observer.h" #include <string> #include "base/macros.h" #include "base/strings...
41.024324
95
0.740727
metux
2728732cf362f116d480d9dc38848ecdc0111aff
2,015
cpp
C++
source/utils/Constants.cpp
sirCamp/RunEscape
ae8185c955fb8dad13e3f188828a6b7a4ebd6f9d
[ "MIT" ]
null
null
null
source/utils/Constants.cpp
sirCamp/RunEscape
ae8185c955fb8dad13e3f188828a6b7a4ebd6f9d
[ "MIT" ]
null
null
null
source/utils/Constants.cpp
sirCamp/RunEscape
ae8185c955fb8dad13e3f188828a6b7a4ebd6f9d
[ "MIT" ]
null
null
null
// // Created by stefano on 02/09/16. // class Constants{ public: static const int LOAD_RAW_TEXTURE = 1; static const int LOAD_BMP_TEXTURE = 2; static const int LOAD_JGP_TEXTURE = 3; static const int ESC_KEY = 27; static const int SPACEBAR = 32; static const char UP_KEY = 'w'; static co...
31.484375
93
0.743424
sirCamp
272b7ca0b2de1d98d1cb5d0391672e523f82afce
294
hpp
C++
library/ATF/$0BC19B3D86456E0AB84C9DE48A18D228.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/$0BC19B3D86456E0AB84C9DE48A18D228.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/$0BC19B3D86456E0AB84C9DE48A18D228.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> START_ATF_NAMESPACE union $0BC19B3D86456E0AB84C9DE48A18D228 { wchar_t *wszArg; char *szArg; }; END_ATF_NAMESPACE
19.6
108
0.714286
lemkova
2732f77518009a96d5b88589ecf7bfaee63e1803
2,327
cpp
C++
code/cmt/src/pcatransform.cpp
itsb/cmt
dd37a2bcc7d477d0ee82994711acd13ee02f47a9
[ "MIT" ]
33
2015-06-15T16:52:23.000Z
2019-11-26T19:49:36.000Z
code/cmt/src/pcatransform.cpp
itsb/cmt
dd37a2bcc7d477d0ee82994711acd13ee02f47a9
[ "MIT" ]
35
2015-03-17T09:27:32.000Z
2022-01-13T00:44:05.000Z
code/cmt/src/pcatransform.cpp
itsb/cmt
dd37a2bcc7d477d0ee82994711acd13ee02f47a9
[ "MIT" ]
17
2015-01-20T10:39:59.000Z
2020-12-16T10:24:13.000Z
#include "utils.h" #include "exception.h" #include "pcatransform.h" #include "Eigen/Eigenvalues" using Eigen::SelfAdjointEigenSolver; #include <iostream> using std::cout; using std::endl; CMT::PCATransform::PCATransform( const ArrayXXd& input, const ArrayXXd& output, double varExplained, int numPCs) { initializ...
21.348624
68
0.718522
itsb
2734f6cf93207e5e09b958cb048a2b9653103461
104
hpp
C++
include/ompu/geo.hpp
ompu/ompu
c45d292a0af1b50039db9aa79e444fb7019615e9
[ "MIT" ]
4
2017-09-28T13:53:32.000Z
2018-02-14T21:29:25.000Z
include/ompu/geo.hpp
ompu/ompu
c45d292a0af1b50039db9aa79e444fb7019615e9
[ "MIT" ]
null
null
null
include/ompu/geo.hpp
ompu/ompu
c45d292a0af1b50039db9aa79e444fb7019615e9
[ "MIT" ]
null
null
null
#pragma once #include "ompu/geo/geo.hpp" #include "ompu/geo/strats.hpp" #include "ompu/geo/models.hpp"
17.333333
30
0.730769
ompu
2738410e308c848172ada9673fa45bf92d569319
2,179
cpp
C++
a2oj/Graphs/chicago.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
a2oj/Graphs/chicago.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
a2oj/Graphs/chicago.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
21.574257
106
0.565856
onexmaster
27391a2969a52179607988d3b92b7f10c5daec07
3,970
cxx
C++
main/drawinglayer/source/primitive2d/backgroundcolorprimitive2d.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/drawinglayer/source/primitive2d/backgroundcolorprimitive2d.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/drawinglayer/source/primitive2d/backgroundcolorprimitive2d.cxx
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...
35.132743
130
0.699244
Grosskopf
2739a7a9d82bb157c828e09447b8b7498e8ef55a
12,053
cpp
C++
xtd.forms.native.wxwidgets/src/xtd/forms/native/wxwidgets/control.cpp
lineCode/xtd.forms
53b126a41513b4009870498b9f8e522dfc94c8de
[ "MIT" ]
1
2022-02-04T08:15:31.000Z
2022-02-04T08:15:31.000Z
xtd.forms.native.wxwidgets/src/xtd/forms/native/wxwidgets/control.cpp
lineCode/xtd.forms
53b126a41513b4009870498b9f8e522dfc94c8de
[ "MIT" ]
null
null
null
xtd.forms.native.wxwidgets/src/xtd/forms/native/wxwidgets/control.cpp
lineCode/xtd.forms
53b126a41513b4009870498b9f8e522dfc94c8de
[ "MIT" ]
null
null
null
#include <map> #include <stdexcept> #include <xtd/drawing/system_colors.hpp> #include <xtd/drawing/system_fonts.hpp> #include <xtd/forms/native/application.hpp> #include <xtd/forms/native/control.hpp> #include "hdc_wrapper.hpp" #include "wx_button.hpp" #include "wx_check_box.hpp" #include "wx_control.hpp" #include "wx_...
41.136519
179
0.739318
lineCode
273b85e7db5e382e0d5bc2537d6c3e52047c2e63
3,710
cxx
C++
test/lua/CoLua.cxx
CM4all/libcommon
fba0eae725b0e7a6cf93ff0be231d90e2c0aa04e
[ "BSD-2-Clause" ]
13
2017-06-30T15:38:21.000Z
2022-03-11T06:49:17.000Z
test/lua/CoLua.cxx
CM4all/libcommon
fba0eae725b0e7a6cf93ff0be231d90e2c0aa04e
[ "BSD-2-Clause" ]
2
2017-10-29T18:28:28.000Z
2020-08-20T00:43:21.000Z
test/lua/CoLua.cxx
CM4all/libcommon
fba0eae725b0e7a6cf93ff0be231d90e2c0aa04e
[ "BSD-2-Clause" ]
6
2017-10-29T11:38:13.000Z
2021-10-12T00:36:38.000Z
/* * Copyright 2021 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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 co...
23.481013
78
0.720216
CM4all
273ba9be85f4a62406dfbdf1365e26492e225f26
13,402
cc
C++
src/native/src/javax/realtime/RealtimeThread.cc
giraffe/jrate
764bbf973d1de4e38f93ba9b9c7be566f1541e16
[ "Xnet", "Linux-OpenIB", "X11" ]
1
2021-06-15T05:43:22.000Z
2021-06-15T05:43:22.000Z
src/native/src/javax/realtime/RealtimeThread.cc
giraffe/jrate
764bbf973d1de4e38f93ba9b9c7be566f1541e16
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
src/native/src/javax/realtime/RealtimeThread.cc
giraffe/jrate
764bbf973d1de4e38f93ba9b9c7be566f1541e16
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
// ************************************************************************ // $Id: RealtimeThread.cc 527 2005-04-01 21:28:33Z mdeters $ // ************************************************************************ #include <sys/time.h> #include <java/lang/Thread.h> #include <java-threads.h> #include <sched.h> #inclu...
32.062201
155
0.640651
giraffe
273ca986ebe51734419d4f96004ac7b23c6b2989
2,503
cpp
C++
regression/esbmc-cpp/cpp/ch18_9/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/cpp/ch18_9/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/cpp/ch18_9/main.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
// Fig. 18.18: fig18_18.cpp // Using functions islower, isupper, tolower and toupper. #include <iostream> using std::cout; using std::endl; #include <cctype> // character-handling function prototypes int main() { cout << "According to islower:\n" << ( islower( 'p' ) ? "p is a" : "p is not a" ) <...
43.155172
75
0.495006
shmarovfedor
273cd13f244b8351aa92947e2a65538a1a7897b1
1,845
cpp
C++
collection/cp/bcw_codebook-master/Contest/JAG2015Spring/pD.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/bcw_codebook-master/Contest/JAG2015Spring/pD.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/bcw_codebook-master/Contest/JAG2015Spring/pD.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define FZ(n) memset((n),0,sizeof(n)) #define FMO(n) memset((n),-1,sizeof(n)) #define MC(n,m) memcpy((n),(m),sizeof(n)) #define F first #define S second #define MP make_pair #define PB push_back #define FOR(x,y) for(__typeof(y.begin())x=y.begin();x!=y.end();x++) #define IOS ...
17.912621
67
0.507859
daemonslayer
27402df1b135e669d9c38c3a3d821b6ce9354195
714
cpp
C++
12/1277. Count Square Submatrices with All Ones.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
12/1277. Count Square Submatrices with All Ones.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
1
2021-12-25T10:33:23.000Z
2022-02-16T00:34:05.000Z
12/1277. Count Square Submatrices with All Ones.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
class Solution { public: int countSquares(vector<vector<int>>& matrix) { int m = matrix.size(), n = matrix[0].size(); int ret = accumulate(matrix[0].begin(), matrix[0].end(), 0); for(int i = 1; i < m; ++i) { ret += matrix[i][0]; for(int j = 1; j < n; ++j) { ...
32.454545
75
0.387955
eagleoflqj
27407d070f3394d3f897392e53f9776529bdbf3d
321
cpp
C++
HelloWorld/Panda3D HelloWorld/Hello World.cpp
RockRockWhite/Panda3D-learning
5752b0b437083b8d9f4d7f1b01ec0eda219f6979
[ "MIT" ]
null
null
null
HelloWorld/Panda3D HelloWorld/Hello World.cpp
RockRockWhite/Panda3D-learning
5752b0b437083b8d9f4d7f1b01ec0eda219f6979
[ "MIT" ]
null
null
null
HelloWorld/Panda3D HelloWorld/Hello World.cpp
RockRockWhite/Panda3D-learning
5752b0b437083b8d9f4d7f1b01ec0eda219f6979
[ "MIT" ]
null
null
null
#include "pandaFrameWork.h" #include "windowFrameWork.h" int main(int argc,char* argv[]) { PandaFramework framework; WindowFramework* window; framework.open_framework(argc, argv); framework.set_window_title("Hello World!"); window = framework.open_window(); framework.main_loop(); framework.close_framework(); ...
21.4
44
0.76324
RockRockWhite
27441f67cc80217ecd3973aead6ddc66b95cb8b6
1,904
cpp
C++
linked_lists/linked_list.cpp
agurusa/interview_prep
b777e0803ee8d3316c0f3fb60efd8463d1437424
[ "MIT" ]
null
null
null
linked_lists/linked_list.cpp
agurusa/interview_prep
b777e0803ee8d3316c0f3fb60efd8463d1437424
[ "MIT" ]
null
null
null
linked_lists/linked_list.cpp
agurusa/interview_prep
b777e0803ee8d3316c0f3fb60efd8463d1437424
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> // build the linked list class Node{ public: Node *next = NULL; int data; Node(int d){ data = d; } //included for comparisons in tests.cpp friend bool operator == (const Node lhs, const Node rhs){ return(lhs.data == rhs.data); } friend std::ostream& operator <<( std:...
16.701754
77
0.527836
agurusa