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
902da8ebf18cc52e8154d8340308434776985734
514
cpp
C++
SharpMedia.Graphics.Driver.Direct3D10/RenderTargetView.cpp
zigaosolin/SharpMedia
b7b594a4c9c64a03d94862877ba642b0460d1067
[ "Apache-2.0" ]
null
null
null
SharpMedia.Graphics.Driver.Direct3D10/RenderTargetView.cpp
zigaosolin/SharpMedia
b7b594a4c9c64a03d94862877ba642b0460d1067
[ "Apache-2.0" ]
null
null
null
SharpMedia.Graphics.Driver.Direct3D10/RenderTargetView.cpp
zigaosolin/SharpMedia
b7b594a4c9c64a03d94862877ba642b0460d1067
[ "Apache-2.0" ]
null
null
null
#include "RenderTargetView.h" #include "Helper.h" namespace SharpMedia { namespace Graphics { namespace Driver { namespace Direct3D10 { D3D10RenderTargetView::D3D10RenderTargetView(ID3D10RenderTargetView* view) { this->view = view; } D3D10RenderTargetView::~D3D10RenderTargetView() { this->view->Release();...
16.580645
75
0.72179
zigaosolin
903103ab69cc91a1fc14c36b93042c3775559100
470
cpp
C++
Problems/Array/squareSortedArray.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Problems/Array/squareSortedArray.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Problems/Array/squareSortedArray.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
#include <iostream> #include <bits/stdc++.h> using namespace std; class Solution { public: vector<int> sortedSquares(vector<int> &nums) { priority_queue<int, vector<int>, greater<int>> q; vector<int> res; for (int i : nums) { q.push(...
19.583333
48
0.444681
vishwajeet-hogale
9031263f8cbc650f99e928e654511839a814face
3,314
cpp
C++
Source Code/GUI/GUIMessageBox.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/GUI/GUIMessageBox.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/GUI/GUIMessageBox.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Headers/GUIMessageBox.h" namespace Divide { GUIMessageBox::GUIMessageBox(const string& name, const string& title, const string& message, const vec2<I32>& offsetFromCentre, ...
33.816327
144
0.63096
IonutCava
90324190c5b67bd39c5f4884f3ad838afffe1788
1,322
cpp
C++
tests/clustering_tests.cpp
lgruelas/Graph
079ec1d42a30e66c47ecbce1228b6581ca56cf34
[ "MIT" ]
7
2016-08-25T07:42:10.000Z
2019-10-30T09:05:29.000Z
tests/clustering_tests.cpp
lgruelas/Graph
079ec1d42a30e66c47ecbce1228b6581ca56cf34
[ "MIT" ]
1
2018-08-16T20:38:26.000Z
2018-08-16T22:11:32.000Z
tests/clustering_tests.cpp
lgruelas/Graph
079ec1d42a30e66c47ecbce1228b6581ca56cf34
[ "MIT" ]
10
2018-01-31T15:10:16.000Z
2018-08-16T18:15:20.000Z
#include "Clustering.hpp" #include "CommonGraphs.hpp" #include <gtest/gtest.h> #include <iostream> void assert_are_same_float(const std::vector<double>& A, const std::vector<double>& B) { ASSERT_EQ(A.size(), B.size()); for (auto i : indices(A)) { ASSERT_FLOAT_EQ(A[i], B[i...
20.984127
60
0.624811
lgruelas
903f9b1c677294829f94fbf55e9f8dc2ba5ed48a
4,926
cpp
C++
Source Code/Editor/Widgets/EditorOptionsWindow.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/Editor/Widgets/EditorOptionsWindow.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
Source Code/Editor/Widgets/EditorOptionsWindow.cpp
IonutCava/trunk
19dc976bbd7dc637f467785bd0ca15f34bc31ed5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Headers/UndoManager.h" #include "Headers/Utils.h" #include "Editor/Headers/Editor.h" #include "Headers/EditorOptionsWindow.h" #include "Core/Headers/PlatformContext.h" #include <IconFontCppHeaders/IconsForkAwesome.h> namespace Divide { EditorOptionsWindow::EditorOptionsWindow(Platf...
38.787402
173
0.591758
IonutCava
903fadf042ed4431ad4c69cef2c56090e4b424d3
3,060
cpp
C++
test/test_disk_space_widget/widget.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
test/test_disk_space_widget/widget.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
test/test_disk_space_widget/widget.cpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// \file /// /// \copyright Copyright (C) 2015 - 2020 CoSoSys Ltd <info@cososys.com>\n /// Licensed under the Apache License, Version 2.0 (the "License");\n /// you may not use this file e...
33.626374
126
0.677124
CoSoSys
9042d74edca4658fd03267e0203c940ca3e8f3f3
11,531
cpp
C++
csgo-crow/AntiCheatServer/NoCheatZ/server-plugin/Code/Systems/Testers/JumpTester.cpp
im6705/csgo_full
6c50221c5b6441ebf689e3a1cb4978510fab0b27
[ "Apache-2.0" ]
1
2021-04-17T17:20:44.000Z
2021-04-17T17:20:44.000Z
server-plugin/Code/Systems/Testers/JumpTester.cpp
Jalorussian/NoCheatZ-4
9ba3cf2faabe76a66b46d837d2cc0ff73931f950
[ "Apache-2.0" ]
1
2019-03-03T16:44:09.000Z
2019-03-03T16:44:09.000Z
server-plugin/Code/Systems/Testers/JumpTester.cpp
Jalorussian/NoCheatZ-4
9ba3cf2faabe76a66b46d837d2cc0ff73931f950
[ "Apache-2.0" ]
4
2020-02-15T12:05:29.000Z
2021-01-14T02:58:35.000Z
/* Copyright 2012 - Le Padellec Sylvain 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...
32.209497
220
0.699939
im6705
9044db185229421b97182ff0a27aa1ce2f73216f
7,758
cpp
C++
cpp/benchmarks/string/repeat_strings.cpp
res-life/cudf
94a5d4180b1281d4250e9f915e547789d8da3ce0
[ "Apache-2.0" ]
1
2022-03-04T16:36:48.000Z
2022-03-04T16:36:48.000Z
cpp/benchmarks/string/repeat_strings.cpp
res-life/cudf
94a5d4180b1281d4250e9f915e547789d8da3ce0
[ "Apache-2.0" ]
1
2022-02-28T05:17:59.000Z
2022-02-28T05:17:59.000Z
cpp/benchmarks/string/repeat_strings.cpp
res-life/cudf
94a5d4180b1281d4250e9f915e547789d8da3ce0
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021-2022, 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...
45.905325
98
0.667827
res-life
904520de086348cf21afed8a702dc451e3b99645
3,346
cpp
C++
src/zipstream.cpp
robinmoussu/fastzip
85f71b7862af0940cadbafb44f80856581ecb023
[ "RSA-MD" ]
2
2019-02-08T16:53:53.000Z
2021-03-21T05:09:13.000Z
src/zipstream.cpp
robinmoussu/fastzip
85f71b7862af0940cadbafb44f80856581ecb023
[ "RSA-MD" ]
null
null
null
src/zipstream.cpp
robinmoussu/fastzip
85f71b7862af0940cadbafb44f80856581ecb023
[ "RSA-MD" ]
3
2017-05-08T04:44:56.000Z
2018-12-01T16:12:44.000Z
#include "zipstream.h" #include "utils.h" #include "zipformat.h" #include <cassert> #include <ctime> #include <sys/stat.h> template <int BYTES> struct getType; template <> struct getType<4> { using type = int32_t; }; template <int BYTES, typename T = typename getType<BYTES>::type> T readBytes(uint8_t const* ptr...
27.652893
75
0.5263
robinmoussu
9047e37f26d1e3cb5450419c8beb41ae4248369f
28,136
cpp
C++
tools/lapg/src/srcgen.cpp
linz/snap
1505880b282290fc28bbbe0c4d4f69088ad81de0
[ "BSD-3-Clause" ]
7
2018-09-17T06:49:30.000Z
2020-10-10T19:12:31.000Z
tools/lapg/src/srcgen.cpp
linz/snap
1505880b282290fc28bbbe0c4d4f69088ad81de0
[ "BSD-3-Clause" ]
81
2016-11-09T01:18:19.000Z
2022-03-31T04:34:12.000Z
tools/lapg/src/srcgen.cpp
linz/snap
1505880b282290fc28bbbe0c4d4f69088ad81de0
[ "BSD-3-Clause" ]
5
2017-07-03T03:00:29.000Z
2022-01-25T07:05:08.000Z
/* srcgen.cpp * * Lapg (Lexical Analyzer and Parser Generator) * Copyright (C) 2002-07 Evgeny Gryaznov (inspirer@inbox.ru) * * 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 v...
27.449756
147
0.496446
linz
9048b3c47c2404e45e27a60d05c37ac3f5509ac1
8,181
hxx
C++
OCC/inc/Units_Token.hxx
cy15196/FastCAE
0870752ec2e590f3ea6479e909ebf6c345ac2523
[ "BSD-3-Clause" ]
117
2020-03-07T12:07:05.000Z
2022-03-27T07:35:22.000Z
opencascade/Units_Token.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
33
2019-11-13T18:09:51.000Z
2021-11-26T17:24:12.000Z
opencascade/Units_Token.hxx
CadQuery/cpp-py-bindgen
66e7376d3a27444393fc99acbdbef40bbc7031ae
[ "Apache-2.0" ]
76
2020-03-16T01:47:46.000Z
2022-03-21T16:37:07.000Z
// Created on: 1992-06-22 // Created by: Gilles DEBARBOUILLE // Copyright (c) 1992-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of th...
37.700461
162
0.722406
cy15196
90499cec06459321763dd15cb1cd75b010965b2b
752
cpp
C++
performance_tests.cpp
miguelrodriguesdossantos/CellularAutomata
1fdca34b6266c8b2a6c9604cc02d540f54ea5b80
[ "MIT" ]
null
null
null
performance_tests.cpp
miguelrodriguesdossantos/CellularAutomata
1fdca34b6266c8b2a6c9604cc02d540f54ea5b80
[ "MIT" ]
null
null
null
performance_tests.cpp
miguelrodriguesdossantos/CellularAutomata
1fdca34b6266c8b2a6c9604cc02d540f54ea5b80
[ "MIT" ]
null
null
null
#include <iostream> #include <ctime> #include <unistd.h> #include <string> #include "board.hpp" #include "command_line_options.h" using namespace std; using namespace RuleStrings; /* This file exists to aid quick comparison between performances of two branches. */ int main(int argc, char** argv){ srand(time...
19.789474
70
0.704787
miguelrodriguesdossantos
904d030a8f72976697d2666c0a1d7e09d800b8c7
3,028
cpp
C++
contracts/test_api/test_api.cpp
NunoEdgarGFlowHub/eos
38c6554f30ea8e755d23b7382bb7511795b1e857
[ "MIT" ]
null
null
null
contracts/test_api/test_api.cpp
NunoEdgarGFlowHub/eos
38c6554f30ea8e755d23b7382bb7511795b1e857
[ "MIT" ]
null
null
null
contracts/test_api/test_api.cpp
NunoEdgarGFlowHub/eos
38c6554f30ea8e755d23b7382bb7511795b1e857
[ "MIT" ]
null
null
null
#include <eoslib/eos.hpp> #include "test_api.hpp" extern "C" { void init() { } void apply( unsigned long long code, unsigned long long action ) { //eos::print("==> CONTRACT: ", code, " ", action, "\n"); //test_types WASM_TEST_HANDLER(test_types, types_size); WASM_TEST_HANDLER(t...
37.85
69
0.749339
NunoEdgarGFlowHub
904d96d7037f2c9f627651a8ec09f6f645fdf18c
2,055
cc
C++
cplusplus/MemoryEvolve/Tadpole/TestLexer.cc
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
22
2015-05-18T07:04:36.000Z
2021-08-02T03:01:43.000Z
cplusplus/MemoryEvolve/Tadpole/TestLexer.cc
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
1
2017-08-31T22:13:57.000Z
2017-09-05T15:00:25.000Z
cplusplus/MemoryEvolve/Tadpole/TestLexer.cc
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
6
2015-06-06T07:16:12.000Z
2021-07-06T13:45:56.000Z
// Copyright (c) 2020 ASMlover. 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 ofconditions and...
38.055556
71
0.701703
ASMlover
904de316d86f53af738469b6c0987d5d272883a0
246
hpp
C++
src/LibCraft/renderEngine/include/vbo.hpp
Kenny38GH/Test
24c0277de8f98a3b0b3b8a90a300a321a485684c
[ "MIT" ]
null
null
null
src/LibCraft/renderEngine/include/vbo.hpp
Kenny38GH/Test
24c0277de8f98a3b0b3b8a90a300a321a485684c
[ "MIT" ]
null
null
null
src/LibCraft/renderEngine/include/vbo.hpp
Kenny38GH/Test
24c0277de8f98a3b0b3b8a90a300a321a485684c
[ "MIT" ]
null
null
null
// // Created by leodlplq on 18/11/2021. // #pragma once #include "Vertex.hpp" #include "glad/glad.h" class vbo { public: GLuint _id; vbo(Vertex* vertices, GLsizeiptr size); void bind(); void unbind(); void deleteVbo(); };
13.666667
43
0.626016
Kenny38GH
9050ea50a92900b5722b9fe58d727d08f672df64
7,537
hpp
C++
Computer_Vision/Revision_DIP_Linear_and_Softmax_Regression/spatial_filtering/blob_detection_using_LoG.hpp
AlazzR/Computer-Vision-Cpp-ML
725ad6830341a2ed2ff088d50cb99b7f9117783b
[ "CC0-1.0" ]
null
null
null
Computer_Vision/Revision_DIP_Linear_and_Softmax_Regression/spatial_filtering/blob_detection_using_LoG.hpp
AlazzR/Computer-Vision-Cpp-ML
725ad6830341a2ed2ff088d50cb99b7f9117783b
[ "CC0-1.0" ]
null
null
null
Computer_Vision/Revision_DIP_Linear_and_Softmax_Regression/spatial_filtering/blob_detection_using_LoG.hpp
AlazzR/Computer-Vision-Cpp-ML
725ad6830341a2ed2ff088d50cb99b7f9117783b
[ "CC0-1.0" ]
null
null
null
#ifndef __BLOB_DETECTION__ #define __BLOB_DETECTION__ #include<iostream> #include<opencv4/opencv2/opencv.hpp> #include<opencv4/opencv2/imgproc.hpp> #include<cmath> #include<vector> #include<utility> #include<array> cv::Mat creating_LoF(const float sigma) { int kernel_size = std::ceil( 6 * sigma ); if(kernel_si...
40.304813
181
0.578081
AlazzR
90526583d33f42e4cb48d68d13bddcf18ace9937
4,058
cpp
C++
src/engine.cpp
dendisuhubdy/crypto_derivative_exchange
cb250062898b7f984ff708ad76ad7d8c9853e824
[ "FSFAP" ]
null
null
null
src/engine.cpp
dendisuhubdy/crypto_derivative_exchange
cb250062898b7f984ff708ad76ad7d8c9853e824
[ "FSFAP" ]
null
null
null
src/engine.cpp
dendisuhubdy/crypto_derivative_exchange
cb250062898b7f984ff708ad76ad7d8c9853e824
[ "FSFAP" ]
null
null
null
/***************************************************************************** * QuantCup 1: Price-Time Matching Engine * * Submitted by: voyager * * Design Overview: * In this implementation, the limit order book is represented using * a flat linear array (pricePoints), indexed by the numer...
47.741176
79
0.71587
dendisuhubdy
9058c32c9e0687f92a2d7900dfca1577e17609aa
549
cpp
C++
src/bindings/python/src/pyopenvino/graph/ops/util/binary_elementwise_logical.cpp
pazamelin/openvino
b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
runtime/bindings/python/src/pyopenvino/graph/ops/util/binary_elementwise_logical.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
runtime/bindings/python/src/pyopenvino/graph/ops/util/binary_elementwise_logical.cpp
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "openvino/op/util/binary_elementwise_logical.hpp" #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "pyopenvino/graph/ops/util/binary_elementwise_logical.hpp" namespace py = pybind11; void regclass_graph...
30.5
111
0.777778
pazamelin
905ccef4d64f7a9377cfdea51c4fdf8b71306e51
4,052
cpp
C++
src/libstringintern/string_page_nursery.cpp
RipcordSoftware/libstringintern
565ec0ca40f40fbe63fbeb2a9ed9ea03038218a0
[ "MIT" ]
13
2017-05-31T05:32:49.000Z
2021-12-07T19:05:47.000Z
src/libstringintern/string_page_nursery.cpp
RipcordSoftware/libstringintern
565ec0ca40f40fbe63fbeb2a9ed9ea03038218a0
[ "MIT" ]
11
2016-05-30T16:48:28.000Z
2017-08-25T21:04:13.000Z
src/libstringintern/string_page_nursery.cpp
RipcordSoftware/libstringintern
565ec0ca40f40fbe63fbeb2a9ed9ea03038218a0
[ "MIT" ]
2
2021-07-27T08:45:11.000Z
2021-12-07T19:09:54.000Z
/** * The MIT License (MIT) * * Copyright (c) 2016 Ripcord Software Ltd * * 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 ...
35.858407
136
0.6846
RipcordSoftware
905cf4a1e2bc0950d4d88f65fe0459084531c95d
1,578
cpp
C++
HW5/BoardArray1D.cpp
melihcanclk/CSE-241-Homeworks
270ad02749086bf830d8d6c51fc8f0729321996b
[ "MIT" ]
null
null
null
HW5/BoardArray1D.cpp
melihcanclk/CSE-241-Homeworks
270ad02749086bf830d8d6c51fc8f0729321996b
[ "MIT" ]
null
null
null
HW5/BoardArray1D.cpp
melihcanclk/CSE-241-Homeworks
270ad02749086bf830d8d6c51fc8f0729321996b
[ "MIT" ]
1
2021-12-30T20:11:05.000Z
2021-12-30T20:11:05.000Z
#include <iostream> #include <fstream> #include "BoardArray1D.h" using namespace std; void BoardArray1D::setSize(int coordinates[2]){ int index=1; AbstractClass::setSize(coordinates); (this->arr) = new int[size[1] * size[0]]; for(int i = 0; i < size[1]; ++i){ for(int j = 0; j < size[0]; ++j){ ...
24.276923
68
0.536755
melihcanclk
905d99eda51c401b3210f38cc77d711274747bcd
53,452
cpp
C++
examples_tests/11.LoDSystem/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
examples_tests/11.LoDSystem/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
examples_tests/11.LoDSystem/main.cpp
deprilula28/Nabla
6b5de216221718191713dcf6de8ed6407182ddf0
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 - DevSH Graphics Programming Sp. z O.O. // This file is part of the "Nabla Engine". // For conditions of distribution and use, see copyright notice in nabla.h #define _NBL_STATIC_LIB_ #include <nabla.h> #include "../common/Camera.hpp" #include "../common/CommonAPI.h" #include "nbl/ext/Scree...
57.97397
239
0.627479
deprilula28
9062ce2842494425e6a4ea1295d791f91160075f
7,557
cpp
C++
server/Server/Packets/CGStallRemoveItemHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/Server/Packets/CGStallRemoveItemHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/Server/Packets/CGStallRemoveItemHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
13
2015-01-30T17:45:06.000Z
2022-01-06T02:29:34.000Z
#include "stdafx.h" /* 客户端通知服务器从摊位中拿走此物品 */ #include "CGStallRemoveItem.h" #include "GCStallRemoveItem.h" #include "GamePlayer.h" #include "Obj_Human.h" #include "Scene.h" #include "Log.h" #include "ItemOperator.h" #include "HumanItemLogic.h" UINT CGStallRemoveItemHandler::Execute( CGStallRemoveItem* pPacket, Play...
37.974874
142
0.592166
viticm
9066b4d3be7d6c2b62013e62ccef5441636185da
1,112
cpp
C++
benchmark_dgemm.cpp
seriouslyhypersonic/benchmark_eigen_mkl
c2dde3a3ce9c51dd428746400de8e8d2802dc6c0
[ "BSL-1.0" ]
null
null
null
benchmark_dgemm.cpp
seriouslyhypersonic/benchmark_eigen_mkl
c2dde3a3ce9c51dd428746400de8e8d2802dc6c0
[ "BSL-1.0" ]
null
null
null
benchmark_dgemm.cpp
seriouslyhypersonic/benchmark_eigen_mkl
c2dde3a3ce9c51dd428746400de8e8d2802dc6c0
[ "BSL-1.0" ]
null
null
null
/* * Copyright (c) Nuno Alves de Sousa 2019 * * Use, modification and distribution is subject to the Boost Software License, * Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ #include <celero/Celero.h> #include <fixture.hpp> #include <mkl.h> CELERO_MAIN...
26.47619
81
0.720324
seriouslyhypersonic
90687b5190c80a3c7c005f5fe2d40921b351cff6
11,297
cpp
C++
nvmain/Prefetchers/STeMS/STeMS.cpp
code-lamem/lamem
c28f72c13a81fbb105c7c83d1b2720a720f3a47f
[ "BSD-3-Clause" ]
1
2019-08-27T14:36:00.000Z
2019-08-27T14:36:00.000Z
nvmain/Prefetchers/STeMS/STeMS.cpp
code-lamem/lamem
c28f72c13a81fbb105c7c83d1b2720a720f3a47f
[ "BSD-3-Clause" ]
null
null
null
nvmain/Prefetchers/STeMS/STeMS.cpp
code-lamem/lamem
c28f72c13a81fbb105c7c83d1b2720a720f3a47f
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (c) 2012-2014, The Microsystems Design Labratory (MDL) * Department of Computer Science and Engineering, The Pennsylvania State University * All rights reserved. * * This source code is part of NVMain - A cycle accurate timing...
33.226471
84
0.500929
code-lamem
9068cd65b2531f63fc4eca84dc2e99af5531e3c6
4,685
cc
C++
core/Framebuffer.cc
pstiasny/derpengine
854f6896a6888724cb273c126bf92cc110f3da72
[ "MIT" ]
null
null
null
core/Framebuffer.cc
pstiasny/derpengine
854f6896a6888724cb273c126bf92cc110f3da72
[ "MIT" ]
null
null
null
core/Framebuffer.cc
pstiasny/derpengine
854f6896a6888724cb273c126bf92cc110f3da72
[ "MIT" ]
1
2019-12-02T22:31:08.000Z
2019-12-02T22:31:08.000Z
#include "Framebuffer.h" #include "FramebufferTexture.h" #include "DepthFramebufferTexture.h" #include "GraphNode.h" #include "RenderingContext.h" GLuint Framebuffer::active_framebuffer_id = 0; Framebuffer::Framebuffer(unsigned int w, unsigned int h) : width(w), height(h) { color_tex = NULL; depth_tex = NULL; co...
24.657895
78
0.785912
pstiasny
9068d3c52f143f3b942d07898fa909fd130de336
582
cpp
C++
Online Judges/Neps Academy/Copa do Mundo (OBI2010)/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
64
2019-03-17T08:56:28.000Z
2022-01-14T02:31:21.000Z
Online Judges/Neps Academy/Copa do Mundo (OBI2010)/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
1
2020-12-24T07:16:30.000Z
2021-03-23T20:51:05.000Z
Online Judges/Neps Academy/Copa do Mundo (OBI2010)/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
19
2019-05-25T10:48:16.000Z
2022-01-07T10:07:46.000Z
#include <iostream> #include <queue> using namespace std; int main() { queue<char> q; int a, b; char ta = 'A', tb = 'B'; for (int i = 1; i <= 8; i++) { cin >> a >> b; if(a > b) { q.push(ta); } else { q.push(tb); } ta+=2; tb+=2; } ...
16.628571
34
0.348797
AnneLivia
90694f119ea87a46434d16d7c24cf05caf4648df
2,075
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/err/check_ordered_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/err/check_ordered_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/prim/mat/err/check_ordered_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/mat.hpp> #include <gtest/gtest.h> using stan::math::check_ordered; TEST(ErrorHandlingMatrix, checkOrdered) { Eigen::Matrix<double, Eigen::Dynamic, 1> y; y.resize(3); y << 0, 1, 2; EXPECT_NO_THROW(check_ordered("check_ordered", "y", y)); y << 0, 10, std::numeric_limits<double>::inf...
28.040541
93
0.615904
yizhang-cae
90697a7ef59d604af8973025d25ab85d61ef43ef
7,504
cpp
C++
android/android_9/hardware/qcom/display/msm8960/liboverlay/pipes/overlayGenPipe.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
1
2017-09-22T01:41:30.000Z
2017-09-22T01:41:30.000Z
qcom/display/msm8960/liboverlay/pipes/overlayGenPipe.cpp
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
null
null
null
qcom/display/msm8960/liboverlay/pipes/overlayGenPipe.cpp
Keneral/ahardware
9a8a025f7c9471444c9e271bbe7f48182741d710
[ "Unlicense" ]
1
2018-02-24T19:09:04.000Z
2018-02-24T19:09:04.000Z
/* * Copyright (c) 2012-2013, The Linux Foundation. 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 o...
31.136929
80
0.664845
yakuizhao
906a2524fe426138f4e1108f215ef70d6b50fbb4
36,024
cpp
C++
src/main.cpp
hdachev/Nimble
922144ebdf1d3ee8c3df44feab4454ff9b0d8375
[ "MIT" ]
null
null
null
src/main.cpp
hdachev/Nimble
922144ebdf1d3ee8c3df44feab4454ff9b0d8375
[ "MIT" ]
null
null
null
src/main.cpp
hdachev/Nimble
922144ebdf1d3ee8c3df44feab4454ff9b0d8375
[ "MIT" ]
1
2021-05-10T02:07:12.000Z
2021-05-10T02:07:12.000Z
#include <iostream> #include <fstream> #include <gtc/matrix_transform.hpp> #include <gtc/type_ptr.hpp> #include <memory> #include "application.h" #include "camera.h" #include "utility.h" #include "material.h" #include "macros.h" #include "render_graph.h" #include "nodes/forward_node.h" #include "nodes/cubemap_skybox_no...
39.24183
273
0.515018
hdachev
906b7416fccae8b3af91851f3b4dcd5301c0c104
483
cpp
C++
client/include/game/CTaskSimpleFacial.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
client/include/game/CTaskSimpleFacial.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
92
2019-01-23T23:02:31.000Z
2022-03-23T19:59:40.000Z
client/include/game/CTaskSimpleFacial.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto San Andreas) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CTaskSimpleFacial.h" CTaskSimpleFacial::CTaskSimpleFacial(eFacialExpression nFacialExpress, int nDuration) : CTa...
37.153846
110
0.780538
MayconFelipeA
906b770be0557513b38aa2e86e6953ee76de6f45
45,893
cpp
C++
aws-cpp-sdk-globalaccelerator/source/GlobalAcceleratorClient.cpp
orinem/aws-sdk-cpp
f38413cc1f278689ef14e9ebdd74a489a48776be
[ "Apache-2.0" ]
1
2020-03-11T05:36:20.000Z
2020-03-11T05:36:20.000Z
aws-cpp-sdk-globalaccelerator/source/GlobalAcceleratorClient.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-globalaccelerator/source/GlobalAcceleratorClient.cpp
novaquark/aws-sdk-cpp
a0969508545bec9ae2864c9e1e2bb9aff109f90c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
45.619284
269
0.783627
orinem
906c27d56bc24a4ac2a48fa53fdd7821d5e5f405
3,313
cpp
C++
modules/cpplocate/source/cpplocate/source/cpplocate.cpp
helmesjo/minesweeper-sweeper
06e269e8a7342d343c6f145af9ac43a52dfc2239
[ "MIT" ]
null
null
null
modules/cpplocate/source/cpplocate/source/cpplocate.cpp
helmesjo/minesweeper-sweeper
06e269e8a7342d343c6f145af9ac43a52dfc2239
[ "MIT" ]
null
null
null
modules/cpplocate/source/cpplocate/source/cpplocate.cpp
helmesjo/minesweeper-sweeper
06e269e8a7342d343c6f145af9ac43a52dfc2239
[ "MIT" ]
null
null
null
#include <cpplocate/cpplocate.h> #if defined SYSTEM_LINUX #include <unistd.h> #include <limits.h> #elif defined SYSTEM_WINDOWS #include <stdlib.h> #elif defined SYSTEM_SOLARIS #include <stdlib.h> #include <limits.h> #elif defined SYSTEM_DARWIN #include <mach-o/dyld.h> #elif defined SYSTEM_FREE...
18.931429
84
0.598853
helmesjo
906cf38280a216b2fac548bef4a0f9d47b36abbc
1,394
cc
C++
src/rocksdb2/util/hash.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
5
2019-01-23T04:36:03.000Z
2020-02-04T07:10:39.000Z
src/rocksdb2/util/hash.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
null
null
null
src/rocksdb2/util/hash.cc
yinchengtsinghua/RippleCPPChinese
a32a38a374547bdc5eb0fddcd657f45048aaad6a
[ "BSL-1.0" ]
2
2019-05-14T07:26:59.000Z
2020-06-15T07:25:01.000Z
//此源码被清华学神尹成大魔王专业翻译分析并修改 //尹成QQ77025077 //尹成微信18510341407 //尹成所在QQ群721929980 //尹成邮箱 yinc13@mails.tsinghua.edu.cn //尹成毕业于清华大学,微软区块链领域全球最有价值专家 //https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 //版权所有(c)2011至今,Facebook,Inc.保留所有权利。 //此源代码在两个gplv2下都获得了许可(在 //复制根目录中的文件)和Apache2.0许可证 //(在根目录的license.apache文件中找到)。 // //...
21.446154
69
0.662123
yinchengtsinghua
906d57444875fde21714cb5e41b17f06969ab1d2
97
cpp
C++
elements/behavior/movebehavior.cpp
zenitaeglos/AsteroidsGame
7456d29f5edee3089fd15d51e2247c8b4f351cdf
[ "CC-BY-3.0" ]
null
null
null
elements/behavior/movebehavior.cpp
zenitaeglos/AsteroidsGame
7456d29f5edee3089fd15d51e2247c8b4f351cdf
[ "CC-BY-3.0" ]
null
null
null
elements/behavior/movebehavior.cpp
zenitaeglos/AsteroidsGame
7456d29f5edee3089fd15d51e2247c8b4f351cdf
[ "CC-BY-3.0" ]
null
null
null
#include "movebehavior.h" MoveBehavior::MoveBehavior() { } MoveBehavior::~MoveBehavior() { }
8.083333
29
0.701031
zenitaeglos
9070c486a2eccf11ce71491643e47edb3543c1e2
806
cpp
C++
codeforces/914E.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
codeforces/914E.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
codeforces/914E.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define pii pair <int, int> #define all(v) (v).begin() (v).end() #define fi first #define se second #define ll long long #define ull long long #define ld long double #define MOD 1000000007 #define MAXN 200005 using namespace std; map <int, int> DP[M...
17.521739
47
0.532258
Victoralin10
907319f2232ab9f64e20be32d130956246853a4c
4,607
cpp
C++
source/tests/external/gotcha_tests_lib.cpp
dalg24/timemory
8cbbf89a25d8d460382664baeec0b13d5d4e2d38
[ "MIT" ]
null
null
null
source/tests/external/gotcha_tests_lib.cpp
dalg24/timemory
8cbbf89a25d8d460382664baeec0b13d5d4e2d38
[ "MIT" ]
null
null
null
source/tests/external/gotcha_tests_lib.cpp
dalg24/timemory
8cbbf89a25d8d460382664baeec0b13d5d4e2d38
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2019, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to receipt of any // required approvals from the U.S. Dept. of Energy). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
31.128378
90
0.504884
dalg24
9074dc8635d8b3d0bfec8f90a2099edfec85ab3a
1,713
cpp
C++
timus/1002.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
timus/1002.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
timus/1002.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
#include<cstdio> #include<cstring> struct node { node *ne,*ch; char d; int x; }*root; char num[]={2,2,2,3,3,3,4,4,1,1,5,5,6,6,0,7,0,7,7,8,8,8,9,9,9,0}; void clear(node *ptr=root) { if(!ptr)return; clear(ptr->ne),clear(ptr->ch); delete ptr; } char ins(int i,char s[],node *&ptr=root) { if(!ptr...
21.683544
65
0.414478
dk00
90765230c369d628ba14bbe060f929bf2968ff97
1,609
cpp
C++
src/solar/windows/layout/window_layout_margins.cpp
jseward/solar
a0b76e3c945679a8fcb4cc94160298788b96e4a5
[ "MIT" ]
4
2017-04-02T07:56:14.000Z
2021-10-01T18:23:33.000Z
src/solar/windows/layout/window_layout_margins.cpp
jseward/solar
a0b76e3c945679a8fcb4cc94160298788b96e4a5
[ "MIT" ]
null
null
null
src/solar/windows/layout/window_layout_margins.cpp
jseward/solar
a0b76e3c945679a8fcb4cc94160298788b96e4a5
[ "MIT" ]
1
2021-10-01T18:23:38.000Z
2021-10-01T18:23:38.000Z
#include "window_layout_margins.h" #include "solar/archiving/archiving_helpers.h" #include "solar/utility/type_convert.h" namespace solar { window_layout_margins::window_layout_margins() : _left(0) , _right(0) , _top(0) , _bottom(0) { } window_layout_margins::window_layout_margins(int left, int right, in...
25.539683
95
0.732753
jseward
90797082a0f4ca7439543035bd08f5a61b201d42
2,236
cpp
C++
Light.cpp
catinapoke/opengl-1-intermediate-mode
9562f258024408625688c52d349738ba9dfb83e4
[ "Unlicense" ]
4
2019-10-19T18:30:26.000Z
2019-12-15T17:54:27.000Z
Light.cpp
catinapoke/opengl-1-intermediate-mode
9562f258024408625688c52d349738ba9dfb83e4
[ "Unlicense" ]
null
null
null
Light.cpp
catinapoke/opengl-1-intermediate-mode
9562f258024408625688c52d349738ba9dfb83e4
[ "Unlicense" ]
null
null
null
#include "Light.h" Light::Light() :Light(vec3(0, 0, 0)) { } Light::Light(vec3 position) { setPosition(vec4(position.x, position.y, position.z, 1.0)); setAmbient(vec4(1.0, 1.0, 1.0, 1.0)); setDiffuse(vec4(0.0, 0.0, 0.0, 1.0)); setSpecular(vec4(0.0, 0.0, 0.0, 1.0)); } Light::Light(float x, float y, float z) :Light...
19.614035
103
0.650268
catinapoke
907a031332650c8d30a5de25fe9a8499f0c9f866
4,251
hpp
C++
include/data_types/candidates.hpp
kernsuite-debian/peasoup
d542e0b707d797883d7dacbfce8234d2465068de
[ "Apache-2.0" ]
10
2015-10-03T00:17:03.000Z
2021-05-09T11:29:24.000Z
include/data_types/candidates.hpp
kernsuite-debian/peasoup
d542e0b707d797883d7dacbfce8234d2465068de
[ "Apache-2.0" ]
1
2018-03-20T08:37:41.000Z
2018-03-20T08:50:01.000Z
include/data_types/candidates.hpp
kernsuite-debian/peasoup
d542e0b707d797883d7dacbfce8234d2465068de
[ "Apache-2.0" ]
8
2015-10-28T16:01:58.000Z
2021-11-03T05:53:41.000Z
#pragma once #include <iostream> #include <vector> #include <sstream> #include "stdio.h" //Lightweight plain old data struct //used to combine multiple writes into //one big write struct CandidatePOD { float dm; int dm_idx; float acc; int nh; float snr; float freq; }; struct Candidate { public: float dm...
25.303571
114
0.633263
kernsuite-debian
907ce120fbae988d50cb97e27cbcc255829e5da4
9,901
cpp
C++
libs/cocos2dx/platform/emscripten/CCEGLView.cpp
qq2588258/floweers
c7f117f29dee21473821b89ff9b18058f7ebdadf
[ "MIT" ]
17
2015-01-09T07:34:32.000Z
2021-06-25T02:50:03.000Z
libs/cocos2dx/platform/emscripten/CCEGLView.cpp
qq2588258/floweers
c7f117f29dee21473821b89ff9b18058f7ebdadf
[ "MIT" ]
null
null
null
libs/cocos2dx/platform/emscripten/CCEGLView.cpp
qq2588258/floweers
c7f117f29dee21473821b89ff9b18058f7ebdadf
[ "MIT" ]
4
2015-01-24T02:48:46.000Z
2020-07-02T06:29:06.000Z
/**************************************************************************** Copyright (c) 2010 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...
25.322251
117
0.668619
qq2588258
908026e9f741b99671f70fd49c30840c0c3ad925
170
cpp
C++
src/Hooks.cpp
Exit-9B/Enemy-Health-HUD
e209582a0430673dafce5a550be85eb8b80b4222
[ "MIT" ]
1
2021-03-19T14:32:16.000Z
2021-03-19T14:32:16.000Z
src/Hooks.cpp
Exit-9B/Enemy-Health-HUD
e209582a0430673dafce5a550be85eb8b80b4222
[ "MIT" ]
null
null
null
src/Hooks.cpp
Exit-9B/Enemy-Health-HUD
e209582a0430673dafce5a550be85eb8b80b4222
[ "MIT" ]
1
2021-03-19T14:32:18.000Z
2021-03-19T14:32:18.000Z
#include "Hooks.h" #include "EnemyHealthManager.h" namespace Hooks { void Install() { EnemyHealthManager::InstallHooks(); logger::info("Installed all hooks"); } }
15.454545
38
0.711765
Exit-9B
9083c828bb3a94f8f3618f072dff28ba8df65ea1
2,952
cc
C++
src/externalized/content/Dialogs.cc
oldlaptop/ja2-stracciatella
a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8
[ "BSD-Source-Code" ]
null
null
null
src/externalized/content/Dialogs.cc
oldlaptop/ja2-stracciatella
a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8
[ "BSD-Source-Code" ]
null
null
null
src/externalized/content/Dialogs.cc
oldlaptop/ja2-stracciatella
a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8
[ "BSD-Source-Code" ]
null
null
null
#include "Dialogs.h" #include <stdio.h> #include "game/Directories.h" #include "game/Tactical/Soldier_Profile.h" #include "game/Tactical/Soldier_Profile_Type.h" #include "MercProfile.h" const char* Content::GetDialogueTextFilename(const MercProfile &profile, bool useAlternateDialogueFile, bool isCurrentl...
25.894737
113
0.671748
oldlaptop
90846bb77f329996dc9479a922ccfff66d831ae4
3,703
cpp
C++
samples/ScenegraphTestApp.cpp
calebjohnston/Cinder-scenegraph
590b9e12966c5ca25fbccaf69b3199dfeebfb777
[ "BSD-2-Clause" ]
null
null
null
samples/ScenegraphTestApp.cpp
calebjohnston/Cinder-scenegraph
590b9e12966c5ca25fbccaf69b3199dfeebfb777
[ "BSD-2-Clause" ]
null
null
null
samples/ScenegraphTestApp.cpp
calebjohnston/Cinder-scenegraph
590b9e12966c5ca25fbccaf69b3199dfeebfb777
[ "BSD-2-Clause" ]
null
null
null
#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/gl.h" #include "NodeBase.h" #include "Node2d.h" #include "Node3d.h" using namespace ci; using namespace ci::app; using namespace std; class ScenegraphTestApp : public App { public: void mouseMove( MouseEvent event ); void mous...
24.361842
82
0.712935
calebjohnston
90849e310a69a084de74906cbf8f6c09f67e143d
61,373
inl
C++
ijk/include/ijk/ijk-math/ijk-real/_util/_inl/ijkVectorSwizzle.inl
dbuckstein/ijk
959f7292d6465e9d2c888ea94bc724c8ee03597e
[ "Apache-2.0" ]
1
2020-05-31T21:14:49.000Z
2020-05-31T21:14:49.000Z
ijk/include/ijk/ijk-math/ijk-real/_util/_inl/ijkVectorSwizzle.inl
dbuckstein/ijk
959f7292d6465e9d2c888ea94bc724c8ee03597e
[ "Apache-2.0" ]
null
null
null
ijk/include/ijk/ijk-math/ijk-real/_util/_inl/ijkVectorSwizzle.inl
dbuckstein/ijk
959f7292d6465e9d2c888ea94bc724c8ee03597e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020-2021 Daniel S. Buckstein 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...
25.604088
96
0.675053
dbuckstein
908711a2194f5d82a80a46a8537ec2f653d75e7d
2,541
cpp
C++
LeetCode-Weekly-Contest/weekly-contest-224/1727.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
LeetCode-Weekly-Contest/weekly-contest-224/1727.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
LeetCode-Weekly-Contest/weekly-contest-224/1727.cpp
sptuan/PAT-Practice
68e1ca329190264fdeeef1a2a1d4c2a56caa27f6
[ "MIT" ]
null
null
null
class Solution { public: int largestSubmatrix(vector<vector<int>>& matrix) { vector<int> conti_seg_left,conti_seg_right; // speical for line int line_counter = 0; int total_counter = 0; if(matrix.size() == 1){ for(int i=0; i<matrix[0].size(); i++){ ...
33
70
0.358127
sptuan
9089238947f1e8711dae4a052cd900474a4e6e4f
770
cpp
C++
src/MainMenuGamestate.cpp
q4a/carnage3d
bbc1b88feccde68a1b547bbc5d8eb37d852136f1
[ "MIT" ]
null
null
null
src/MainMenuGamestate.cpp
q4a/carnage3d
bbc1b88feccde68a1b547bbc5d8eb37d852136f1
[ "MIT" ]
null
null
null
src/MainMenuGamestate.cpp
q4a/carnage3d
bbc1b88feccde68a1b547bbc5d8eb37d852136f1
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "MainMenuGamestate.h" void MainMenuGamestate::OnGamestateEnter() { } void MainMenuGamestate::OnGamestateLeave() { } void MainMenuGamestate::OnGamestateFrame() { } void MainMenuGamestate::OnGamestateInputEvent(KeyInputEvent& inputEvent) { } void MainMenuGamestate::OnGames...
18.333333
80
0.794805
q4a
90898fe488adab6971bf2aad38e6aedfc53a6181
5,692
cpp
C++
LeetCode/C++/1032. Stream of Characters.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
LeetCode/C++/1032. Stream of Characters.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/1032. Stream of Characters.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime: 1760 ms, faster than 6.41% of C++ online submissions for Stream of Characters. //Memory Usage: 105.9 MB, less than 58.81% of C++ online submissions for Stream of Characters. class TrieNode{ public: vector<TrieNode*> children; bool isEnd; TrieNode(){ children = vector<TrieNode*>(26, n...
26.474419
94
0.512474
shreejitverma
908ce98a98ca51186e12f3042435ce3af8a27cba
810
cpp
C++
src/HAL/InputPin.cpp
SqLemon/Robotics_HAL
3364ef3a41345b9551a19554015b9582b7258fc6
[ "MIT" ]
null
null
null
src/HAL/InputPin.cpp
SqLemon/Robotics_HAL
3364ef3a41345b9551a19554015b9582b7258fc6
[ "MIT" ]
null
null
null
src/HAL/InputPin.cpp
SqLemon/Robotics_HAL
3364ef3a41345b9551a19554015b9582b7258fc6
[ "MIT" ]
null
null
null
/* * Pin.h * * Created on: Jan 2, 2021 * Author: ianicknoejovich */ #include <HAL/InputPin.h> InputPin::InputPin(uint8_t port, uint8_t pin, Mode mode) : Pin(port, pin) { _mode = mode; } void InputPin::init(void){ GPIO_setDir(_port, _pin, INPUT); if(_mode == PULLDOWN) GPIO_setInputMode(_port, _pin, _m...
25.3125
110
0.7
SqLemon
908f67e681541d578b4cd466bda4805f73cce902
1,765
cpp
C++
server/main.cpp
ReddyArunreddy/BeastLounge
ae848cb604d1cac785d6345252de5007377f2ee1
[ "BSL-1.0" ]
null
null
null
server/main.cpp
ReddyArunreddy/BeastLounge
ae848cb604d1cac785d6345252de5007377f2ee1
[ "BSL-1.0" ]
null
null
null
server/main.cpp
ReddyArunreddy/BeastLounge
ae848cb604d1cac785d6345252de5007377f2ee1
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2018-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // 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) // // Official repository: https://github.com/vinniefalco/BeastLounge // #include "l...
21.52439
80
0.5983
ReddyArunreddy
9093b2b88c85bb24c49e59169ca9c1a7ccc7eb9d
4,475
cpp
C++
src/shared/tests/diagnostics/counter_set.cpp
snowmeltarcade/projectbirdracing
55cd479c81979de535b0cf496e91dd8d48b99fa8
[ "MIT" ]
null
null
null
src/shared/tests/diagnostics/counter_set.cpp
snowmeltarcade/projectbirdracing
55cd479c81979de535b0cf496e91dd8d48b99fa8
[ "MIT" ]
3
2021-11-13T02:18:59.000Z
2021-12-04T18:16:01.000Z
src/shared/tests/diagnostics/counter_set.cpp
snowmeltarcade/projectbirdracing
55cd479c81979de535b0cf496e91dd8d48b99fa8
[ "MIT" ]
null
null
null
#include <thread> #include "catch2/catch.hpp" #include "shared/diagnostics/counter_set.h" using namespace pbr::shared::diagnostics; ////////// /// increment ////////// TEST_CASE("increment - valid amount - increments counter", "[shared/diagnostics]") { counter_set c; auto key = "key"; auto value = 10; ...
23.677249
91
0.642458
snowmeltarcade
90959b3dd90afb9a9bb2734d16fef8bdfda59684
18,918
cc
C++
mediapipe/python/pybind/packet_creator.cc
Yuuraa/mediapipe-gesture-recognition
e2444cedbfcedf2b242ad025ceac39359c945db2
[ "Apache-2.0" ]
47
2019-12-29T02:52:48.000Z
2022-02-21T08:39:14.000Z
mediapipe/python/pybind/packet_creator.cc
Yuuraa/mediapipe-gesture-recognition
e2444cedbfcedf2b242ad025ceac39359c945db2
[ "Apache-2.0" ]
null
null
null
mediapipe/python/pybind/packet_creator.cc
Yuuraa/mediapipe-gesture-recognition
e2444cedbfcedf2b242ad025ceac39359c945db2
[ "Apache-2.0" ]
16
2020-07-21T06:28:25.000Z
2022-02-02T13:40:36.000Z
// Copyright 2020 The MediaPipe 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 a...
29.28483
82
0.654773
Yuuraa
9095db0cb28841f876b7afc98e190e3bf83f740e
1,497
cc
C++
zircon/system/ulib/zbitl/checking.cc
EnderNightLord-ChromeBook/zircon-rpi
b09b1eb3aa7a127c65568229fe10edd251869283
[ "BSD-2-Clause" ]
14
2020-10-25T05:48:36.000Z
2021-09-20T02:46:20.000Z
zircon/system/ulib/zbitl/checking.cc
DamieFC/fuchsia
f78a4a1326f4a4bb5834500918756173c01bab4f
[ "BSD-2-Clause" ]
1
2022-01-14T23:38:40.000Z
2022-01-14T23:38:40.000Z
zircon/system/ulib/zbitl/checking.cc
DamieFC/fuchsia
f78a4a1326f4a4bb5834500918756173c01bab4f
[ "BSD-2-Clause" ]
4
2020-12-28T17:04:45.000Z
2022-03-12T03:20:44.000Z
// Copyright 2020 The Fuchsia 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 <lib/zbitl/checking.h> namespace zbitl { using namespace std::literals; template <> fitx::result<std::string_view> CheckHeader<Checking::kPermi...
33.266667
94
0.654643
EnderNightLord-ChromeBook
90983beec8f4579019604a4f5fe12d342d12cab7
11,829
cpp
C++
common/jpeg/ImgHWEncoder.cpp
rockchip-toybrick/hardware_rockchip_camera
18ff40c3b502c65b9cbb35902b3419ebae60726b
[ "Apache-2.0" ]
null
null
null
common/jpeg/ImgHWEncoder.cpp
rockchip-toybrick/hardware_rockchip_camera
18ff40c3b502c65b9cbb35902b3419ebae60726b
[ "Apache-2.0" ]
null
null
null
common/jpeg/ImgHWEncoder.cpp
rockchip-toybrick/hardware_rockchip_camera
18ff40c3b502c65b9cbb35902b3419ebae60726b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2014-2017 Intel Corporation * Copyright (c) 2017, Fuzhou Rockchip Electronics 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.or...
40.789655
163
0.704793
rockchip-toybrick
909ac26aac994415c2710c1450a8bdcf843db85d
1,539
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgAnimation/StackedMatrixElement.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgAnimation/StackedMatrixElement.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgAnimation/StackedMatrixElement.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/* -*-c++-*- * Copyright (C) 2009 Cedric Pinson <cedric.pinson@plopbyte.net> * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * inc...
37.536585
158
0.740091
UM-ARM-Lab
909bdb00928874bbdefcc83246d92c5f266ed5bb
5,414
cpp
C++
third_party/WebKit/Source/platform/LayoutLocale.cpp
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
third_party/WebKit/Source/platform/LayoutLocale.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
third_party/WebKit/Source/platform/LayoutLocale.cpp
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2016 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 "platform/LayoutLocale.h" #include "platform/Language.h" #include "platform/fonts/AcceptLanguagesResolver.h" #include "platform/text/LocaleToScr...
28.951872
78
0.740672
google-ar
909ce75922a92ddc79f97b2f910bbbf631708371
5,331
cpp
C++
llvm/tools/clang/test/Index/usrs.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
58
2016-08-27T03:19:14.000Z
2022-01-05T17:33:44.000Z
llvm/tools/clang/test/Index/usrs.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
14
2017-12-01T17:16:59.000Z
2020-12-21T12:16:35.000Z
llvm/tools/clang/test/Index/usrs.cpp
oslab-swrc/juxta
481cd6f01e87790041a07379805968bcf57d75f4
[ "MIT" ]
22
2016-11-27T09:53:31.000Z
2021-11-22T00:22:53.000Z
namespace foo { int x; void bar(int z); } namespace bar { typedef int QType; void bar(QType z); } class ClsA { public: int a, b; ClsA(int A, int B) : a(A), b(B) {} }; namespace foo { class ClsB : public ClsA { public: ClsB() : ClsA(1, 2) {} int result() const; }; } int foo::ClsB::result() c...
36.265306
115
0.619959
oslab-swrc
909e3d56baefe70e1e3c4fc6048bb0bcdcdd240a
393
cpp
C++
engine/runtime/ecs/constructs/scene.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
791
2016-11-04T14:13:41.000Z
2022-03-20T20:47:31.000Z
engine/runtime/ecs/constructs/scene.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
28
2016-12-01T05:59:30.000Z
2021-03-20T09:49:26.000Z
engine/runtime/ecs/constructs/scene.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
151
2016-12-21T09:44:43.000Z
2022-03-31T13:42:18.000Z
#include "scene.h" #include "utils.h" #include <core/system/subsystem.h> std::vector<runtime::entity> scene::instantiate(mode mod) { if(mod == mode::standard) { auto& ecs = core::get_subsystem<runtime::entity_component_system>(); ecs.dispose(); } std::vector<runtime::entity> out_vec; if(!data) return out_...
17.863636
70
0.699746
ValtoForks
90a49f2a73d1ce757385c238c58fe933898cc5d2
8,061
cpp
C++
kernel/thor/generic/core.cpp
Apache-HB/managarm
df922a987167948369ea1d0e675925126bb5fdad
[ "MIT" ]
null
null
null
kernel/thor/generic/core.cpp
Apache-HB/managarm
df922a987167948369ea1d0e675925126bb5fdad
[ "MIT" ]
null
null
null
kernel/thor/generic/core.cpp
Apache-HB/managarm
df922a987167948369ea1d0e675925126bb5fdad
[ "MIT" ]
null
null
null
#include <thor-internal/core.hpp> #include <thor-internal/debug.hpp> #include <thor-internal/kasan.hpp> #include <thor-internal/physical.hpp> #include <thor-internal/ring-buffer.hpp> // This is required for virtual destructors. It should not be called though. void operator delete(void *, size_t) { thor::panicLogger()...
30.885057
86
0.682546
Apache-HB
90a5bfac2a60f91735e7509413cb52df81968193
1,061
cpp
C++
src/engine/lua_bind/lua_env.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
4
2020-08-07T02:18:13.000Z
2021-07-08T09:46:11.000Z
src/engine/lua_bind/lua_env.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
src/engine/lua_bind/lua_env.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
#include "lua_env.h" #include "core/object/entity.h" #include "core/object/component.h" #include "world/scene.h" namespace luna { void luna::LuaEnv::Init() { // m_state = luaL_newstate(); // const luaL_Reg lualibs[] = { // { LUA_COLIBNAME, luaopen_base }, // { LUA_LOADLIBNAME, luaopen_package }, // { LUA_TABL...
20.803922
77
0.598492
LunarGameTeam
90a98e4cd7a03185d19e2b699f3ce8272de4b9d7
3,761
hpp
C++
include/tiny/basic.hpp
yell0w4x/tiny-arduino-serial-port
af4318e1c210e80d31be3d4993c8124dd4e2c8c0
[ "MIT" ]
null
null
null
include/tiny/basic.hpp
yell0w4x/tiny-arduino-serial-port
af4318e1c210e80d31be3d4993c8124dd4e2c8c0
[ "MIT" ]
null
null
null
include/tiny/basic.hpp
yell0w4x/tiny-arduino-serial-port
af4318e1c210e80d31be3d4993c8124dd4e2c8c0
[ "MIT" ]
null
null
null
// Arduino async serial port library with nine data bits support. // // 2015, (c) Gk Ltd. // MIT License #ifndef TINY_BASIC_HPP_ #define TINY_BASIC_HPP_ #include <tiny/detail/auto_sense.hpp> #include <iterator> #include <bitset> #include <stdint.h> namespace tiny { #ifdef bit # undef bit #endif // bit #ifdef TI...
21.369318
74
0.670035
yell0w4x
90ab42f31a104a3e7ed5de92918fefab26330e23
214
cpp
C++
VertexBuffer.cpp
rabinadk1/learnopengl
66e5a26af5e63aebc7274efc051f05a99211f5a9
[ "MIT" ]
5
2020-03-06T10:01:28.000Z
2020-05-06T07:57:20.000Z
VertexBuffer.cpp
rabinadk1/learnopengl
66e5a26af5e63aebc7274efc051f05a99211f5a9
[ "MIT" ]
1
2020-03-06T02:51:50.000Z
2020-03-06T04:33:30.000Z
VertexBuffer.cpp
rabinadk1/learnopengl
66e5a26af5e63aebc7274efc051f05a99211f5a9
[ "MIT" ]
29
2020-03-05T15:15:24.000Z
2021-07-21T07:05:00.000Z
#include "VertexBuffer.hpp" VertexBuffer::VertexBuffer(const void *data, const unsigned int size) { glGenBuffers(1, &m_RendererID); Bind(); glBufferData(GL_ARRAY_BUFFER, size, data, GL_STATIC_DRAW); }
23.777778
69
0.733645
rabinadk1
90ab57fa83b576215082827427467f947a158eb3
675
cc
C++
modules/ugdk-core/src/time/manager.cc
uspgamedev/ugdk
95885a70df282a8e8e6e5c72b28a7f2f21bf7e99
[ "Zlib" ]
11
2015-03-06T13:14:32.000Z
2020-06-09T23:34:28.000Z
modules/ugdk-core/src/time/manager.cc
uspgamedev/ugdk
95885a70df282a8e8e6e5c72b28a7f2f21bf7e99
[ "Zlib" ]
62
2015-01-04T05:47:40.000Z
2018-06-15T17:00:25.000Z
modules/ugdk-core/src/time/manager.cc
uspgamedev/ugdk
95885a70df282a8e8e6e5c72b28a7f2f21bf7e99
[ "Zlib" ]
2
2017-04-05T20:35:49.000Z
2017-07-30T03:44:02.000Z
#include <ugdk/time/manager.h> #include "SDL_timer.h" namespace ugdk { namespace time { Manager::Manager() { last_update_ = current_time_ = initial_time_ = SDL_GetTicks(); } void Manager::Update() { last_update_ = current_time_; current_time_ = SDL_GetTicks(); } uint32 Manager::TimeElapsed() const { ...
19.285714
66
0.715556
uspgamedev
90ace0723ffa28c84e0a5d311d3736cf148f0fa0
9,047
cpp
C++
deps/pooling.cpp
baajur/Mocha.jl
5e15b882d7dd615b0c5159bb6fde2cc040b2d8ee
[ "MIT" ]
1,397
2015-01-04T02:35:49.000Z
2022-03-15T19:26:14.000Z
deps/pooling.cpp
baajur/Mocha.jl
5e15b882d7dd615b0c5159bb6fde2cc040b2d8ee
[ "MIT" ]
197
2015-01-09T20:15:23.000Z
2021-05-06T17:46:39.000Z
deps/pooling.cpp
baajur/Mocha.jl
5e15b882d7dd615b0c5159bb6fde2cc040b2d8ee
[ "MIT" ]
357
2015-01-05T00:40:20.000Z
2022-03-23T15:01:20.000Z
#include <algorithm> #include <limits> #include <cstring> #include <cstdio> template <typename T> void max_pooling_fwd(const T* global_input, T *global_output, size_t *global_mask, int width, int height, int channels, int num, int pooled_width, int pooled_height, int kernel_w, int kernel_h, int pad_w, int ...
38.99569
105
0.647065
baajur
90aead07e280f730ea042b4a74cb137141dbcc46
5,421
hpp
C++
include/codegen/include/HMUI/ColorGradientSlider.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/HMUI/ColorGradientSlider.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/HMUI/ColorGradientSlider.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:21 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: HMUI.TextSlider #include "HMUI/TextSlider.hpp" // Including ...
45.554622
163
0.740638
Futuremappermydud
90af742b1238da924714fea6e215a543d2a078e1
454
cpp
C++
keccak/src/keccak/keccak_buffer.cpp
verified-network/Patricia-Merkle-Trie
fa1d375629dd97270efa2ec3b66136dda9fa2568
[ "MIT" ]
1
2021-01-20T07:50:24.000Z
2021-01-20T07:50:24.000Z
keccak/src/keccak/keccak_buffer.cpp
bulldex/verified-storage
cb8e687bc2026a4dd8502a15e54fc60b1759cb5b
[ "MIT" ]
8
2020-06-03T12:53:42.000Z
2020-08-28T15:57:25.000Z
keccak/src/keccak/keccak_buffer.cpp
bulldex/verified-storage
cb8e687bc2026a4dd8502a15e54fc60b1759cb5b
[ "MIT" ]
2
2021-07-10T18:41:29.000Z
2022-03-20T04:08:13.000Z
#include "keccak_buffer.hpp" #include <utils/hex.hpp> KeccakBuffer::KeccakBuffer() { keccak_ = Keccak(Keccak::Bits::Keccak256); } KeccakBuffer::KeccakBuffer(const Keccak::Bits bits) { keccak_ = Keccak(bits); } buffer_t KeccakBuffer::operator()(const buffer_t& input) { std::string byte_str_ = verified::u...
21.619048
66
0.713656
verified-network
90b0960d974ad6a84c89a3d7ea0498d656a6482c
566
cpp
C++
lowercase.cpp
AyushVerma-code/databinarytextfiles
f404bfb07d1854e9e4f8f6edbb32268d39aed908
[ "MIT" ]
1
2021-02-12T08:24:17.000Z
2021-02-12T08:24:17.000Z
lowercase.cpp
AyushVerma-code/databinarytextfiles
f404bfb07d1854e9e4f8f6edbb32268d39aed908
[ "MIT" ]
null
null
null
lowercase.cpp
AyushVerma-code/databinarytextfiles
f404bfb07d1854e9e4f8f6edbb32268d39aed908
[ "MIT" ]
null
null
null
#include<iostream.h> #include<conio.h> #include<fstream.h> #include<ctype.h> void alphacount() { fstream f; f.open("notes3.txt",ios::in|ios::out); char ch; int count=0; char ans='y'; while(ans=='y') { cout<<"\nEnter a character "; cin>>ch; f<<ch; cout<<"\nDo you want to continue "; ...
11.32
47
0.526502
AyushVerma-code
90b0d97bc0cdfd4edc927326e751bd0351824eb7
2,945
inl
C++
CraftEngine/src/Bezier2D.inl
jstine35/rpgcraft
0a2c1b0e9c6e5abb6fa1e5f001f1dfc49da4f5e0
[ "MIT" ]
9
2017-04-05T01:42:36.000Z
2021-11-14T20:37:58.000Z
CraftEngine/src/Bezier2D.inl
guibec/rpgcraft
a4fd84effaf334b1ed637d32b8853b0e6beadf1e
[ "MIT" ]
82
2017-04-05T00:26:54.000Z
2019-09-21T22:43:09.000Z
CraftEngine/src/Bezier2D.inl
jstine35/rpgcraft
0a2c1b0e9c6e5abb6fa1e5f001f1dfc49da4f5e0
[ "MIT" ]
3
2019-01-08T17:11:17.000Z
2021-08-11T23:59:23.000Z
#pragma once #include "Bezier2D.h" // -------------------------------------------------------------------------------------- // SubDiv_BezierFan () // -------------------------------------------------------------------------------------- // Thoughts: // - Steps per side should be a function of the length of a side...
34.244186
122
0.585059
jstine35
90b32d3646f414cd94bd41b90a51ca6072a5bc3a
3,594
cpp
C++
src/BoundaryConditions/FixedCellBoundaryCondition.cpp
clairemiller/2018_MaintainingStemCellNiche
2999a37169ac0db78ebf9ac57b36153a0a149eb3
[ "BSD-4-Clause-UC" ]
null
null
null
src/BoundaryConditions/FixedCellBoundaryCondition.cpp
clairemiller/2018_MaintainingStemCellNiche
2999a37169ac0db78ebf9ac57b36153a0a149eb3
[ "BSD-4-Clause-UC" ]
null
null
null
src/BoundaryConditions/FixedCellBoundaryCondition.cpp
clairemiller/2018_MaintainingStemCellNiche
2999a37169ac0db78ebf9ac57b36153a0a149eb3
[ "BSD-4-Clause-UC" ]
null
null
null
/* Copyright (c) 2005-2016, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
43.829268
128
0.772955
clairemiller
ff968874b35bad61e310e991a29fce0b8b16d91f
524
cpp
C++
modules/asyn/testErrorsApp/src/myTimeStampSource.cpp
A2-Collaboration/epics
b764a53bf449d9f6b54a1173c5e75a22cf95098c
[ "OML" ]
20
2015-01-07T09:02:42.000Z
2021-07-27T14:35:19.000Z
modules/asyn/testErrorsApp/src/myTimeStampSource.cpp
A2-Collaboration/epics
b764a53bf449d9f6b54a1173c5e75a22cf95098c
[ "OML" ]
400
2015-01-06T14:44:30.000Z
2022-02-07T17:45:32.000Z
modules/asyn/testErrorsApp/src/myTimeStampSource.cpp
A2-Collaboration/epics
b764a53bf449d9f6b54a1173c5e75a22cf95098c
[ "OML" ]
72
2015-01-23T23:23:02.000Z
2022-02-07T15:14:35.000Z
#include <epicsTime.h> #include <registryFunction.h> #include <epicsExport.h> // This function demonstrates using a user-define time stamp source // It simply returns the current time but with the nsec field set to 0, so that record timestamps // can be checked to see that the user-defined function is indeed being cal...
29.111111
97
0.770992
A2-Collaboration
ff9b1c0934cc08187bc8bd8b0e814679b27b59bc
4,247
cpp
C++
kernel/src/sound/sound-blaster16/sb16.cpp
pradosh-arduino/pradoshOS
b7c2a8b238261fc61460e609fd8352aa62b5f32e
[ "MIT" ]
9
2021-11-17T10:27:18.000Z
2022-03-16T09:43:24.000Z
kernel/src/sound/sound-blaster16/sb16.cpp
pradosh-arduino/pradoshOS
b7c2a8b238261fc61460e609fd8352aa62b5f32e
[ "MIT" ]
1
2022-03-17T08:31:05.000Z
2022-03-28T02:50:59.000Z
kernel/src/sound/sound-blaster16/sb16.cpp
pradosh-arduino/pradoshOS
b7c2a8b238261fc61460e609fd8352aa62b5f32e
[ "MIT" ]
1
2021-12-21T09:49:02.000Z
2021-12-21T09:49:02.000Z
#include "sb16.h" const uint32_t PCI_Enable_Bit = 0x80000000; const uint32_t PCI_Config_Address = 0xCF8; const uint32_t PCI_Config_Data = 0xCFC; unsigned char pci_bus_sb16 = 0; unsigned char pci_device_sb16 = 0; unsigned char pci_device_fn_sb16 = 0; SoundBlaster16* SB16; uint32_t sb16_ioaddr; DSP* dspPort; DSP_Wri...
30.120567
95
0.662821
pradosh-arduino
ff9c0267390a4ec675aba10b3cb535abe4407a51
3,859
cpp
C++
src/3rdparty/khtml/src/imload/imagepainter.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/imload/imagepainter.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/imload/imagepainter.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
/* Progressive image displaying library. Copyright (C) 2004,2005 Maks Orlovich (maksim@kde.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 restriction, including ...
26.798611
99
0.628919
afarcat
ff9c16a85d3df00ea4a530f703ce464ba1714c7c
1,854
cpp
C++
Iron/strategy/locutus.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
Iron/strategy/locutus.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
Iron/strategy/locutus.cpp
biug/titan
aacb4e2dc4d55601abd45cb8321d8e5160851eec
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////// // // This file is part of Iron's source files. // Iron is free software, licensed under the MIT/X11 License. // A copy of the license is provided with the library in the LICENSE file. // Copyright (c) 2016, 2017, Igor Dimitrijevic // /////////...
21.310345
95
0.434736
biug
ff9c196469416f6b335467100b9fa172436555b0
868
cpp
C++
CO1028/LAB2/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
null
null
null
CO1028/LAB2/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
null
null
null
CO1028/LAB2/Ex4/main.cpp
Smithienious/hcmut-192
4f1dfa322321fc18d151835213a5b544c9d764f2
[ "MIT" ]
1
2020-04-26T10:28:41.000Z
2020-04-26T10:28:41.000Z
#include <iostream> #include <fstream> using namespace std; // matrix is two dimensional array. You should transposition matrix void transposition(int rows, int cols, int **matrix) { for (int i = 0; i < cols; i++) { cout << matrix[0][i]; for (int j = 1; j < rows; j++) { cout << " " << matrix[j][i]; ...
18.083333
68
0.534562
Smithienious
ff9c25f5d9589f897515e19182e5a5c422c9ebef
58,463
cpp
C++
source/Geometry/HermiteFieldToMesh.cpp
nsf/nextgame
a2d2f21341489792bafa2519f33287a0b89927ee
[ "MIT" ]
9
2015-03-10T10:20:14.000Z
2020-12-29T15:49:14.000Z
source/Geometry/HermiteFieldToMesh.cpp
nsf/nextgame
a2d2f21341489792bafa2519f33287a0b89927ee
[ "MIT" ]
null
null
null
source/Geometry/HermiteFieldToMesh.cpp
nsf/nextgame
a2d2f21341489792bafa2519f33287a0b89927ee
[ "MIT" ]
2
2019-12-23T17:36:37.000Z
2021-06-18T13:21:46.000Z
#include "Geometry/HermiteField.h" #include "Geometry/DebugDraw.h" #include "Core/Defer.h" #include "OS/ThreadLocal.h" // Two other axes of a given one. static const Vec2i OTHER_AXES_TABLE[] = { {1, 2}, {0, 2}, {0, 1}, }; static const Vec4i VINDEX_EDGES_TABLE_E[] = { Vec4i(3, 2, 1, 0), Vec4i(7, 6, 5, 4), Vec4i(...
29.904348
114
0.579033
nsf
ff9ee956272ccb07a5a4f771657487b2715743cb
5,718
cc
C++
source/extensions/filters/http/gfunction/gfunction_filter.cc
adesaegher/envoy-gloo
92d59246ff30199523603d18a969ac9ae5d6e4d3
[ "Apache-2.0" ]
null
null
null
source/extensions/filters/http/gfunction/gfunction_filter.cc
adesaegher/envoy-gloo
92d59246ff30199523603d18a969ac9ae5d6e4d3
[ "Apache-2.0" ]
null
null
null
source/extensions/filters/http/gfunction/gfunction_filter.cc
adesaegher/envoy-gloo
92d59246ff30199523603d18a969ac9ae5d6e4d3
[ "Apache-2.0" ]
null
null
null
#include "extensions/filters/http/gfunction/gfunction_filter.h" #include <algorithm> #include <list> #include <string> #include <vector> #include "envoy/http/header_map.h" #include "common/buffer/buffer_impl.h" #include "common/common/empty_string.h" #include "common/common/hex.h" #include "common/common/utility.h" ...
30.741935
98
0.714236
adesaegher
ffa007d102a618ed455985a290c2f8139264002d
1,022
cpp
C++
framework/XML/Sources/XML.cpp
Daniel-Mietchen/kigs
92ab6deaf3e947465781a400c5a791ee171876c8
[ "MIT" ]
null
null
null
framework/XML/Sources/XML.cpp
Daniel-Mietchen/kigs
92ab6deaf3e947465781a400c5a791ee171876c8
[ "MIT" ]
null
null
null
framework/XML/Sources/XML.cpp
Daniel-Mietchen/kigs
92ab6deaf3e947465781a400c5a791ee171876c8
[ "MIT" ]
null
null
null
#include "PrecompiledHeaders.h" #include "XML.h" #include "XMLNode.h" #include "XMLReaderFile.h" #include "XMLWriterFile.h" #include "CoreRawBuffer.h" void XMLBase::WriteFile(const std::string& filename) { if(useStringRef()) { KIGS_ERROR("trying to write string_view XML",2); } else { XMLWriterFile::WriteFile...
18.25
112
0.72407
Daniel-Mietchen
ffa0b57fd392dc3feebd62eac702da557b4e2ae3
830
cpp
C++
meta01/main.cpp
NelsonBilber/cpp.metaprogramming
395f54e12219261d4a2647e4495eb795fc6b7aa2
[ "MIT" ]
null
null
null
meta01/main.cpp
NelsonBilber/cpp.metaprogramming
395f54e12219261d4a2647e4495eb795fc6b7aa2
[ "MIT" ]
null
null
null
meta01/main.cpp
NelsonBilber/cpp.metaprogramming
395f54e12219261d4a2647e4495eb795fc6b7aa2
[ "MIT" ]
null
null
null
/* Examples from * https://monoinfinito.wordpress.com/series/introduction-to-c-template-metaprogramming/ */ #include <iostream> template <int N> struct Factorial{ static const int result = N * Factorial<N-1>::result; }; //specialization of template, in this recursive case //is for stoping de loop template <> st...
23.714286
88
0.713253
NelsonBilber
ffa0be7f3d371a73b012c4904ffc201e4a404cd1
3,904
cpp
C++
testing/kvstore/kvstore_perf.cpp
ghsecuritylab/comanche
a8862eaed59045377874b95b120832a0cba42193
[ "Apache-2.0" ]
19
2017-10-03T16:01:49.000Z
2021-06-07T10:21:46.000Z
testing/kvstore/kvstore_perf.cpp
dnbaker/comanche
121cd0fa16e55d461b366e83511d3810ea2b11c9
[ "Apache-2.0" ]
25
2018-02-21T23:43:03.000Z
2020-09-02T08:47:32.000Z
testing/kvstore/kvstore_perf.cpp
dnbaker/comanche
121cd0fa16e55d461b366e83511d3810ea2b11c9
[ "Apache-2.0" ]
19
2017-10-24T17:41:40.000Z
2022-02-22T02:17:18.000Z
/* note: we do not include component source, only the API definition */ #include "data.h" #include "exp_put.h" #include "exp_get.h" #include "exp_get_direct.h" #include "exp_erase.h" #include "exp_put_direct.h" #include "exp_throughput.h" #include "exp_update.h" #include "get_cpu_mask_from_string.h" #include "get_vect...
24.866242
113
0.663678
ghsecuritylab
ffa55887123b4003ee5e5f02b8fd138df1fbeb4d
2,552
cpp
C++
catboost/libs/model/model_export/export_helpers.cpp
mikiec84/catboost
d16aa349ba7af265b053967b1938917fbddbca9d
[ "Apache-2.0" ]
null
null
null
catboost/libs/model/model_export/export_helpers.cpp
mikiec84/catboost
d16aa349ba7af265b053967b1938917fbddbca9d
[ "Apache-2.0" ]
null
null
null
catboost/libs/model/model_export/export_helpers.cpp
mikiec84/catboost
d16aa349ba7af265b053967b1938917fbddbca9d
[ "Apache-2.0" ]
null
null
null
#include "export_helpers.h" #include <util/string/builder.h> #include <util/string/cast.h> static TString FloatToStringWithSuffix(float value, bool addFloatingSuffix) { TString str = FloatToString(value, PREC_NDIGITS, 9); if (addFloatingSuffix) { if (int value; TryFromString<int>(str, value)) { ...
41.16129
213
0.652821
mikiec84
ffa582936f230158ae857b11dd54dac8f154b20c
547
cpp
C++
src/wavetable.cpp
stephanepericat/sb-StochKit
767383b9eda7b61ea5c8187296c676dd4fcf94fa
[ "CC0-1.0" ]
16
2019-05-02T09:42:38.000Z
2022-01-28T02:08:44.000Z
src/wavetable.cpp
stephanepericat/sb-StochKit
767383b9eda7b61ea5c8187296c676dd4fcf94fa
[ "CC0-1.0" ]
4
2019-07-06T13:27:24.000Z
2022-01-27T19:11:10.000Z
src/wavetable.cpp
stephanepericat/sb-StochKit
767383b9eda7b61ea5c8187296c676dd4fcf94fa
[ "CC0-1.0" ]
2
2019-05-23T08:33:52.000Z
2019-07-07T16:56:02.000Z
/* * wavetable.cpp * Samuel Laing - 2019 * * just a few utility functions to be used by the GendyOscillator */ #include "wavetable.hpp" namespace rack { float wrap(float in, float lb, float ub) { float out = in; if (in > ub) out = lb; else if (in < lb) out = ub; return out; } ...
17.645161
65
0.499086
stephanepericat
ffa5f26ab8bc81d742f1f150d8e1b06714137991
3,019
cpp
C++
Codeforces/CF - 716E - Centeroid Decomposition.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
null
null
null
Codeforces/CF - 716E - Centeroid Decomposition.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
null
null
null
Codeforces/CF - 716E - Centeroid Decomposition.cpp
bishoy-magdy/Competitive-Programming
689daac9aeb475da3c28aba4a69df394c68a9a34
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include "ext/numeric" using namespace __gnu_cxx; using namespace std; typedef long long ll; const int N = 1e5 + 10, M = 2 * N; int tenInvPW[N]; int n,m; int phi(int x){//complexity sqrt(x) int res=x; for(int i=2;i<=x/i;i++) { if (x % i) continue; res -= res / i; ...
22.871212
103
0.516396
bishoy-magdy
ffa61ce10e9af108ca38ed7067f2a914f571e53a
22,001
hpp
C++
include/System/Net/HttpListenerRequest.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
23
2020-08-07T04:09:00.000Z
2022-03-31T22:10:29.000Z
include/System/Net/HttpListenerRequest.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
6
2021-09-29T23:47:31.000Z
2022-03-30T20:49:23.000Z
include/System/Net/HttpListenerRequest.hpp
sc2ad/BeatSaber-Quest-Codegen
ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab
[ "Unlicense" ]
17
2020-08-20T19:36:52.000Z
2022-03-30T18:28:24.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" #include "extern/beatsaber-hook/s...
49.551802
216
0.714331
sc2ad
ffa808d49ac671afaa64ee62e09670694cad4b3e
890
cpp
C++
examples/layouts/qtvbox.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
18
2018-02-16T16:57:26.000Z
2022-02-10T21:23:47.000Z
examples/layouts/qtvbox.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
2
2018-08-12T12:46:38.000Z
2020-06-19T16:30:06.000Z
examples/layouts/qtvbox.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
7
2018-06-22T01:17:58.000Z
2021-09-02T21:05:28.000Z
/**************************************************************************** ** $Id: qtvbox.cpp,v 1.3 1998/05/21 19:24:54 agulbra Exp $ ** ** Copyright (C) 1992-1998 Troll Tech AS. All rights reserved. ** ** This file is part of an example program for Qt. This example ** program may be used, distributed and modified...
26.969697
78
0.578652
sandsmark
ffac724073668a2c90de89fb7ec654900e698e06
147,237
cpp
C++
src/runtime/objmodel.cpp
amyvmiwei/pyston
f074ed04f8f680316971513f5c42e9cf7d992e06
[ "Apache-2.0" ]
1
2015-11-06T03:39:51.000Z
2015-11-06T03:39:51.000Z
src/runtime/objmodel.cpp
amyvmiwei/pyston
f074ed04f8f680316971513f5c42e9cf7d992e06
[ "Apache-2.0" ]
null
null
null
src/runtime/objmodel.cpp
amyvmiwei/pyston
f074ed04f8f680316971513f5c42e9cf7d992e06
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2014 Dropbox, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
38.594233
145
0.59301
amyvmiwei
ffaeb5b6af46af8b75dfd837172594f1836cdbf0
762
cpp
C++
Example/smartpointers_09/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/smartpointers_09/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
Example/smartpointers_09/main.cpp
KwangjoJeong/Boost
29c4e2422feded66a689e3aef73086c5cf95b6fe
[ "MIT" ]
null
null
null
#include <boost/intrusive_ptr.hpp> #include <atlbase.h> #include <iostream> void intrusive_ptr_add_ref(IDispatch *p) { p->AddRef(); } void intrusive_ptr_release(IDispatch *p) { p->Release(); } void check_windows_folder() { CLSID clsid; CLSIDFromProgID(CComBSTR{"Scripting.FileSystemObject"}, &clsid); void *p; ...
28.222222
76
0.708661
KwangjoJeong
ffafcf6b5fc675838607d321fcad75ca54ed0b10
9,914
cc
C++
src/test/testogl.cc
gitrah/cuMatrix
cab0239d0ec141528c7832275bac9c7daefdebf4
[ "Unlicense" ]
null
null
null
src/test/testogl.cc
gitrah/cuMatrix
cab0239d0ec141528c7832275bac9c7daefdebf4
[ "Unlicense" ]
null
null
null
src/test/testogl.cc
gitrah/cuMatrix
cab0239d0ec141528c7832275bac9c7daefdebf4
[ "Unlicense" ]
null
null
null
#include "../CuMatrix.h" #include "../util.h" #include "tests.h" #include <GL/gl.h> #include <GL/glut.h> #include "../ogl/AccelEvents.h" #include "../ogl/Point.h" #include "../ogl/Perspective.h" #include "../ogl/Arrow.h" #include "../ogl/LookAt.h" #include "../ogl/Text.h" #ifdef CuMatrix_Enable_Ogl void display(void...
24.972292
139
0.593202
gitrah
ffafe8964fc691f8d19fe82fc728b7f7a5c4cbcf
1,267
cpp
C++
src/core/qloaderdata.cpp
sergeynaumovio/qtloader
21e17c62e63afe4b65a163402c77b51bda85be34
[ "0BSD" ]
null
null
null
src/core/qloaderdata.cpp
sergeynaumovio/qtloader
21e17c62e63afe4b65a163402c77b51bda85be34
[ "0BSD" ]
null
null
null
src/core/qloaderdata.cpp
sergeynaumovio/qtloader
21e17c62e63afe4b65a163402c77b51bda85be34
[ "0BSD" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2022 Sergey Naumov ** ** Permission to use, copy, modify, and/or distribute this ** software for any purpose with or without fee is hereby granted. ** ** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL ** WAR...
30.902439
77
0.659826
sergeynaumovio
ffb1a662683e1316af7c9ee2b85e7a8afb7db277
1,954
cpp
C++
nucleus/applications/utilities/mdate.cpp
fredhamster/feisty_meow
66dc4221dc485a5cf9e28b724fe36268e8843043
[ "Apache-2.0" ]
2
2019-01-22T23:34:37.000Z
2021-10-31T15:44:15.000Z
nucleus/applications/utilities/mdate.cpp
fredhamster/feisty_meow
66dc4221dc485a5cf9e28b724fe36268e8843043
[ "Apache-2.0" ]
2
2020-06-01T16:35:46.000Z
2021-10-05T21:02:09.000Z
nucleus/applications/utilities/mdate.cpp
fredhamster/feisty_meow
66dc4221dc485a5cf9e28b724fe36268e8843043
[ "Apache-2.0" ]
null
null
null
/*****************************************************************************\ * * * Name : mdate * * Author : Chris Koeritz * ...
42.478261
79
0.432958
fredhamster
ffb1b9aafc0edf334eeb15a3d4572f46dc106289
7,441
cpp
C++
Contests/USACO Solutions/2018-19/Dec 2018/Plat/gathering.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
1,760
2017-05-21T21:07:06.000Z
2022-03-29T13:15:08.000Z
Contests/USACO Solutions/2018-19/Dec 2018/Plat/gathering.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
12
2018-01-24T02:41:53.000Z
2022-03-17T13:09:26.000Z
Contests/USACO Solutions/2018-19/Dec 2018/Plat/gathering.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
473
2017-07-06T04:53:41.000Z
2022-03-28T13:03:28.000Z
#pragma GCC optimize ("O3") #pragma GCC target ("sse4") #include <bits/stdc++.h> #include <ext/pb_ds/tree_policy.hpp> #include <ext/pb_ds/assoc_container.hpp> #include <ext/rope> using namespace std; using namespace __gnu_pbds; using namespace __gnu_cxx; typedef long long ll; typedef long double ld; typedef complex...
26.670251
112
0.504233
nocrizwang
ffb4c0c4060be1a4e2fc5f7e9bb8a832189466dd
10,820
cpp
C++
examples/Planar2D/Planar2D.cpp
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
9,136
2015-01-02T00:41:45.000Z
2022-03-31T15:30:02.000Z
examples/Planar2D/Planar2D.cpp
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
2,424
2015-01-05T08:55:58.000Z
2022-03-30T19:34:55.000Z
examples/Planar2D/Planar2D.cpp
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
2,921
2015-01-02T10:19:30.000Z
2022-03-31T02:48:42.000Z
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2006 Erwin Coumans https://bulletphysics.org This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is gran...
34.349206
243
0.77366
felipeek
ffb7247aa8dc214775abccb10e9feb1a4297ed2f
3,577
hpp
C++
Math/Algebra/Round.hpp
AProgrammerFemale/Yet-another-c-framework
30fddcbff23cd3d95db4e8b83f0a30d060e1128f
[ "MIT" ]
10
2019-08-25T07:59:43.000Z
2020-04-22T21:06:19.000Z
Math/Algebra/Round.hpp
AProgrammerFemale/Yet-another-c-framework
30fddcbff23cd3d95db4e8b83f0a30d060e1128f
[ "MIT" ]
2
2019-08-25T18:17:32.000Z
2019-09-05T05:51:41.000Z
Math/Algebra/Round.hpp
AProgrammerFemale/Yet-another-c-framework
30fddcbff23cd3d95db4e8b83f0a30d060e1128f
[ "MIT" ]
1
2019-09-05T21:04:02.000Z
2019-09-05T21:04:02.000Z
//Copyright Alice Framework, All Rights Reserved #pragma once #include <Basic/Types.hpp> #include <Basic/Inline.hpp> #include <Configuration.hpp> #if defined(AliceSse) #if defined(_MSC_VER) #include <intrin.h> #else #include <xmmintrin.h> #endif #endif #if defined(AliceSse2) #if defined(_MSC_VER) #if !def...
31.377193
90
0.448141
AProgrammerFemale
ffb84e55963aa3a2421bdaf8bf6f79b4cbfc520b
1,031
hpp
C++
addons/Outdated_WIP_Reference/Test_Weapon_01_Reference/CfgMagazines.hpp
hoxxii/Autismo_Seals_Unit_Mod
5e27dbac2066c435215859b70c861b0abbfb3b95
[ "OLDAP-2.3" ]
null
null
null
addons/Outdated_WIP_Reference/Test_Weapon_01_Reference/CfgMagazines.hpp
hoxxii/Autismo_Seals_Unit_Mod
5e27dbac2066c435215859b70c861b0abbfb3b95
[ "OLDAP-2.3" ]
null
null
null
addons/Outdated_WIP_Reference/Test_Weapon_01_Reference/CfgMagazines.hpp
hoxxii/Autismo_Seals_Unit_Mod
5e27dbac2066c435215859b70c861b0abbfb3b95
[ "OLDAP-2.3" ]
null
null
null
class CfgMagazines { class Default; class CA_Magazine; class 30Rnd_test_mag: CA_Magazine { scope = public; /// or 2, to be precise displayName = "Test magazine"; picture = "\A3\Weapons_F\Data\placeholder_co.paa"; /// just some icon ammo = B_Test_Caseless; count = 30; /// 30 rounds is enough initSpeed...
34.366667
138
0.71193
hoxxii
ffb99033e5b6d71c788f01de44631e784064f8a7
3,067
cpp
C++
data-server/src/common/socket_session_impl.cpp
apaqi/sharkstore
88e0e0f29c8c170b6021dd0743560a94b9fc8b6a
[ "Apache-2.0" ]
1
2019-01-24T07:09:19.000Z
2019-01-24T07:09:19.000Z
data-server/src/common/socket_session_impl.cpp
apaqi/sharkstore
88e0e0f29c8c170b6021dd0743560a94b9fc8b6a
[ "Apache-2.0" ]
null
null
null
data-server/src/common/socket_session_impl.cpp
apaqi/sharkstore
88e0e0f29c8c170b6021dd0743560a94b9fc8b6a
[ "Apache-2.0" ]
3
2019-01-24T07:09:19.000Z
2021-06-21T07:54:09.000Z
#include "socket_session_impl.h" #include <assert.h> #include <google/protobuf/io/zero_copy_stream_impl_lite.h> #include "frame/sf_logger.h" #include "ds_proto.h" namespace fbase { namespace dataserver { namespace common { // const int header_size = sizeof(ds_proto_header_t); ProtoMessage *SocketSessionImpl::GetP...
29.490385
85
0.636127
apaqi
ffbba62a7a936f5f7dde492389c4548c2d692817
1,556
cpp
C++
src/Core/Resources/ShaderLoader.cpp
Rexagon/2drift
31d687c9b4a289ca2c62757cba7b4f6e3c0b5d14
[ "Apache-2.0" ]
null
null
null
src/Core/Resources/ShaderLoader.cpp
Rexagon/2drift
31d687c9b4a289ca2c62757cba7b4f6e3c0b5d14
[ "Apache-2.0" ]
null
null
null
src/Core/Resources/ShaderLoader.cpp
Rexagon/2drift
31d687c9b4a289ca2c62757cba7b4f6e3c0b5d14
[ "Apache-2.0" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include "ShaderLoader.hpp" #include "Core/Core.hpp" #include "Core/Rendering/Shader.hpp" namespace core { ShaderLoader::ShaderLoader(Core &core, const std::...
28.290909
120
0.642031
Rexagon
ffbd103c7a0a75cc4b37445da092e94c7af1b95c
1,732
cpp
C++
sources/Modules/Upnp/UdpConnection.cpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Modules/Upnp/UdpConnection.cpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Modules/Upnp/UdpConnection.cpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * Created: 2010/06/07 2:09 * Author: Eugene V. Palchukovsky * E-mail: eugene@palchukovsky.com * ------------------------------------------------------------------- * Project: TunnelEx * URL: http://tunnelex.net **********...
29.355932
76
0.632794
palchukovsky
ffbdec6bb0d5c58b44e382c02c0f7256af7257aa
61,718
cpp
C++
hgt_optimizer.cpp
lpsztemp/Bogdan-httpserv
068ac3504144d6907ad428e1359b00954c755f1b
[ "MIT" ]
null
null
null
hgt_optimizer.cpp
lpsztemp/Bogdan-httpserv
068ac3504144d6907ad428e1359b00954c755f1b
[ "MIT" ]
null
null
null
hgt_optimizer.cpp
lpsztemp/Bogdan-httpserv
068ac3504144d6907ad428e1359b00954c755f1b
[ "MIT" ]
null
null
null
#include <list> #include <memory> #include <algorithm> #include <vector> #include <iterator> #include <cassert> #include <tuple> #include <array> #include <thread> #include <future> #include <atomic> #include <cmath> #include <cstring> #include "basedefs.h" #include "face.h" #include "hgt_optimizer.h" #include "binary_...
35.778551
178
0.696312
lpsztemp
ffbedafd1c1ffd4835eac9d1aa99cbb8bc48a4f4
11,033
cpp
C++
project/src/backend/sdl/SDLSystem.cpp
ubald/lime
4c0d09368ebff06742dd062bb6872306a8a44d95
[ "MIT" ]
null
null
null
project/src/backend/sdl/SDLSystem.cpp
ubald/lime
4c0d09368ebff06742dd062bb6872306a8a44d95
[ "MIT" ]
null
null
null
project/src/backend/sdl/SDLSystem.cpp
ubald/lime
4c0d09368ebff06742dd062bb6872306a8a44d95
[ "MIT" ]
null
null
null
#include <graphics/PixelFormat.h> #include <math/Rectangle.h> #include <system/Clipboard.h> #include <system/JNI.h> #include <system/System.h> #ifdef HX_MACOS #include <CoreFoundation/CoreFoundation.h> #endif #ifdef HX_WINDOWS #include <shlobj.h> #include <stdio.h> //#include <io.h> //#include <fcntl.h> #ifdef __MING...
19.088235
202
0.628388
ubald
ffbf7e11e20dd95107c6ac3bcd024ed2ab30fbe9
707
cpp
C++
weekly-contest-129/binary-string-with-substrings-representing-1-to-n/binary-string-with-substrings-representing-1-to-n.cpp
Shuumatsu/leetcode-weekly-contest
6cc5cf8e8b57775e68b5bdeb932e30e327502c65
[ "MIT" ]
1
2019-05-28T01:53:36.000Z
2019-05-28T01:53:36.000Z
weekly-contest-129/binary-string-with-substrings-representing-1-to-n/binary-string-with-substrings-representing-1-to-n.cpp
Shuumatsu/leetcode-weekly-contest
6cc5cf8e8b57775e68b5bdeb932e30e327502c65
[ "MIT" ]
null
null
null
weekly-contest-129/binary-string-with-substrings-representing-1-to-n/binary-string-with-substrings-representing-1-to-n.cpp
Shuumatsu/leetcode-weekly-contest
6cc5cf8e8b57775e68b5bdeb932e30e327502c65
[ "MIT" ]
null
null
null
#include <functional> #include <iostream> #include <iterator> #include <map> #include <queue> #include <set> #include <sstream> #include <vector> using namespace std; auto to_binary = [&](auto n) { vector<char> b; while (n != 0) { b.push_back(n & 1 == 1 ? '1' : '0'); n /= 2; } reverse(...
19.108108
63
0.523338
Shuumatsu
ffc1ec7b7db76f37d39ecd7a2bc03c0e050477eb
11,817
cpp
C++
vlr-util/util.Unicode.cpp
nick42/vlr-util
937f53dd4d3e15b23d615b085f5bf4a8e6b9cd91
[ "Artistic-2.0" ]
null
null
null
vlr-util/util.Unicode.cpp
nick42/vlr-util
937f53dd4d3e15b23d615b085f5bf4a8e6b9cd91
[ "Artistic-2.0" ]
null
null
null
vlr-util/util.Unicode.cpp
nick42/vlr-util
937f53dd4d3e15b23d615b085f5bf4a8e6b9cd91
[ "Artistic-2.0" ]
null
null
null
#include "pch.h" #include "util.Unicode.h" #include "UtilMacros.Assertions.h" #include "UtilMacros.General.h" #include "util.range_checked_cast.h" #include "util.CStringBufferAccess.h" NAMESPACE_BEGIN( vlr ) NAMESPACE_BEGIN( util ) HRESULT CStringConversion::MultiByte_to_UTF16( std::string_view svValue, wchar_t* ...
32.643646
161
0.800288
nick42