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
9bbe12f5b7d24e930ec1ff5cee3a1c846859aa44
56,875
cpp
C++
pywinrt/winsdk/src/py.Windows.Networking.Proximity.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
3
2022-02-14T14:53:08.000Z
2022-03-29T20:48:54.000Z
pywinrt/winsdk/src/py.Windows.Networking.Proximity.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
4
2022-01-28T02:53:52.000Z
2022-02-26T18:10:05.000Z
pywinrt/winsdk/src/py.Windows.Networking.Proximity.cpp
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
null
null
null
// WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.4 #include "pybase.h" #include "py.Windows.Networking.Proximity.h" PyTypeObject* py::winrt_type<winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs>::python_type; PyTypeObject* py::winrt_type<winrt::Windows::Networki...
34.32408
276
0.599648
pywinrt
9bbf252752ae1ef4d98f83d5c6ede747e24e2b01
164
cpp
C++
code/random-stuff/dzien-probny/test.cpp
tonowak/acmlib
ec295b8c76c588914475ad42cff81a64a6f2ebd5
[ "MIT" ]
6
2019-06-25T14:07:08.000Z
2022-01-04T12:28:55.000Z
code/random-stuff/dzien-probny/test.cpp
tonowak/acmlib
ec295b8c76c588914475ad42cff81a64a6f2ebd5
[ "MIT" ]
null
null
null
code/random-stuff/dzien-probny/test.cpp
tonowak/acmlib
ec295b8c76c588914475ad42cff81a64a6f2ebd5
[ "MIT" ]
1
2021-11-12T01:40:38.000Z
2021-11-12T01:40:38.000Z
#include "../../utils/testing/test-wrapper.cpp" #include "main.cpp" void test() { test_int128(); //test_float128(); test_clock(); test_rd(); test_policy(); }
14.909091
47
0.652439
tonowak
9bc25f05c0413407d9bdc1438266b84d865d8b20
3,588
cpp
C++
tests/src/surface.cpp
viennagrid/viennagrid-dev
6e47c8d098a0b691d6b9988f2444cd11d440f4c2
[ "MIT" ]
7
2015-09-13T03:50:58.000Z
2019-06-27T14:24:49.000Z
tests/src/surface.cpp
viennagrid/viennagrid-dev
6e47c8d098a0b691d6b9988f2444cd11d440f4c2
[ "MIT" ]
null
null
null
tests/src/surface.cpp
viennagrid/viennagrid-dev
6e47c8d098a0b691d6b9988f2444cd11d440f4c2
[ "MIT" ]
5
2015-07-03T07:14:15.000Z
2021-05-20T00:51:58.000Z
/* ======================================================================= Copyright (c) 2011-2014, Institute for Microelectronics, Institute for Analysis and Scientific Computing, TU Wien. ----------------- Vie...
35.88
99
0.582776
viennagrid
9bc3c5920ea11806285b41d2f75adb8e9ce10742
2,367
cpp
C++
Kattis/theescape.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2020-10-16T18:14:30.000Z
2020-10-16T18:14:30.000Z
Kattis/theescape.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
null
null
null
Kattis/theescape.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2021-01-06T04:45:38.000Z
2021-01-06T04:45:38.000Z
#define __USE_MINGW_ANSI_STDIO 0 #include <iostream> #include <iomanip> #include <stdio.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <queue> #include <map> #include <unordered_map> #include <set> #include <unordered_set> #include <stack> #include <deque> #include <string.h> #include <sstream> ...
26.897727
98
0.576679
hardik0899
9bc3e6c92eed8fa76798113d5011aec3ae42656b
277
hpp
C++
includes/itr/Request.hpp
juliendoutre/itr
ea555c8f0f4a6b02e5545911bdd48a3b1fb51a97
[ "MIT" ]
null
null
null
includes/itr/Request.hpp
juliendoutre/itr
ea555c8f0f4a6b02e5545911bdd48a3b1fb51a97
[ "MIT" ]
null
null
null
includes/itr/Request.hpp
juliendoutre/itr
ea555c8f0f4a6b02e5545911bdd48a3b1fb51a97
[ "MIT" ]
null
null
null
#ifndef Request_hpp_INCLUDED #define Request_hpp_INCLUDED #include "Semaphore.hpp" class Request { protected: Semaphore returnSema; public: virtual void execute() = 0; virtual bool shouldTerminate() = 0; void waitReturn(); virtual ~Request(); }; #endif
14.578947
39
0.707581
juliendoutre
9bd03d4ce5f613dcc6661652d7163cb0506fc854
1,699
cpp
C++
third_party/gfootball_engine/src/managers/resourcemanagerpool.cpp
mahi97/football
18d51cb110034ce7080b2ccce14a2539d2a04af3
[ "Apache-2.0" ]
3
2019-06-20T05:47:02.000Z
2019-08-25T05:04:11.000Z
third_party/gfootball_engine/src/managers/resourcemanagerpool.cpp
AzharMithani/football
0f09bcb8b3d48ac31987e13739e21a58ef0ca405
[ "Apache-2.0" ]
1
2019-06-09T10:06:36.000Z
2019-06-09T10:06:36.000Z
third_party/gfootball_engine/src/managers/resourcemanagerpool.cpp
nczempin/gfootball
617e9cb6d48b4ac7187b9b3de68bd4ab44ea528e
[ "Apache-2.0" ]
1
2019-06-09T12:42:28.000Z
2019-06-09T12:42:28.000Z
// Copyright 2019 Google LLC & Bastiaan Konings // 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 o...
33.98
132
0.77163
mahi97
9bdb165c1d171092d34ee9a908cc6b774b72c0c9
719
cpp
C++
probes/K10/src/test.cpp
mikrosimage/OpenDisplayCalib
a8cc37aa72d378faedc4a44171bcb29a20394432
[ "BSD-3-Clause" ]
16
2015-02-25T22:35:54.000Z
2021-12-14T19:59:30.000Z
probes/K10/src/test.cpp
mikrosimage/OpenDisplayCalib
a8cc37aa72d378faedc4a44171bcb29a20394432
[ "BSD-3-Clause" ]
2
2015-04-02T13:43:01.000Z
2015-06-01T13:42:00.000Z
probes/K10/src/test.cpp
mikrosimage/OpenDisplayCalib
a8cc37aa72d378faedc4a44171bcb29a20394432
[ "BSD-3-Clause" ]
5
2016-03-02T16:08:49.000Z
2019-11-29T11:16:54.000Z
/* * test.cpp * * Created on: 27 avr. 2010 * Author: mfe */ #include <windows.h> #include <winbase.h> #include <stdio.h> #include <conio.h> #include <string.h> #include <cmath> #include "K10.h" #include <iostream> using namespace std; int main() { string port = K10::isConnected(); cout...
21.147059
55
0.561892
mikrosimage
9be06e8b76b50e1604601f64dddb331474142265
18,358
cpp
C++
src/mongo/db/query/optimizer/cascades/physical_rewriter.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/optimizer/cascades/physical_rewriter.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/optimizer/cascades/physical_rewriter.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2022-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
45.328395
100
0.6017
benety
9be2a8fc174178052e2e78a680976dde0f7f33f4
2,556
cpp
C++
project2D/GameStateManager.cpp
PancakesMan/GameStateProject
09a2587d96759768f04c521585b90bd961ef1758
[ "MIT" ]
null
null
null
project2D/GameStateManager.cpp
PancakesMan/GameStateProject
09a2587d96759768f04c521585b90bd961ef1758
[ "MIT" ]
null
null
null
project2D/GameStateManager.cpp
PancakesMan/GameStateProject
09a2587d96759768f04c521585b90bd961ef1758
[ "MIT" ]
null
null
null
#pragma once #include "GameStateManager.h" #include "IGameState.h" #include <assert.h> GameStateManager::GameStateManager() { } GameStateManager::~GameStateManager() { for (auto iter = m_registeredStates.begin(); iter != m_registeredStates.end(); iter++) delete iter->value; m_registeredStates.clear(); } void Gam...
21.478992
106
0.704617
PancakesMan
9be6ade99d5a69c2f208dc23c2c013f8f8a6df7e
861
cpp
C++
aoj/Volume05/0586/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/Volume05/0586/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/Volume05/0586/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> #include<vector> #include<map> #include<algorithm> #include <sstream> using namespace std; bool is_prime(int n){ for(int i=2; i*i<=n; i++) if(n%i==0)return false; return true; } string toString(int a){ ostringstream oss; oss << a; return oss.str(); } int toInt(...
13.887097
37
0.544715
tobyapi
9be9ba20b72641875842bb0b49d116b698556012
467
cpp
C++
Models/NetworkingModels/Connection.cpp
lordzsolt/DS_Client
78845ea5bfc20be8fedccdbae71f3763d873da02
[ "MIT" ]
null
null
null
Models/NetworkingModels/Connection.cpp
lordzsolt/DS_Client
78845ea5bfc20be8fedccdbae71f3763d873da02
[ "MIT" ]
null
null
null
Models/NetworkingModels/Connection.cpp
lordzsolt/DS_Client
78845ea5bfc20be8fedccdbae71f3763d873da02
[ "MIT" ]
null
null
null
#include "Connection.h" Connection::Connection(SOCKET socket, Recipient recipient) : _socket(socket), _recipient(recipient) { } Connection::~Connection() { } SOCKET Connection::socket() const { return _socket; } void Connection::setSocket(const SOCKET &socket) { _socket = socket; } Recipient Conn...
13.342857
58
0.706638
lordzsolt
9bea79b4d6457b629dcc50a10d23dd97ac76bd3e
5,418
hh
C++
include/threadmap.hh
GYJQTYL2/DoubleTake
cdcd0200bb364b5343beae72756420e6c3954a6f
[ "MIT" ]
19
2015-09-17T18:10:14.000Z
2021-08-16T11:26:33.000Z
include/threadmap.hh
GYJQTYL2/DoubleTake
cdcd0200bb364b5343beae72756420e6c3954a6f
[ "MIT" ]
17
2015-04-27T14:33:42.000Z
2016-05-23T20:15:48.000Z
include/threadmap.hh
plasma-umass/DoubleTake
cdcd0200bb364b5343beae72756420e6c3954a6f
[ "MIT" ]
13
2015-07-29T15:15:00.000Z
2021-01-15T04:53:21.000Z
#if !defined(DOUBLETAKE_THREADMAP_H) #define DOUBLETAKE_THREADMAP_H /* * @file threadmap.h * @brief Mapping between pthread_t and internal thread information. * @author Tongping Liu <http://www.cs.umass.edu/~tonyliu> */ #include <assert.h> #include <pthread.h> #include <stdint.h> #include <stdlib.h> #include ...
27.226131
100
0.66076
GYJQTYL2
9bf043771fc2395d6f34fef93afb03bac9e92ee6
193
hpp
C++
samples/chalet/app.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
1
2018-03-01T01:05:25.000Z
2018-03-01T01:05:25.000Z
samples/chalet/app.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
samples/chalet/app.hpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
#ifndef APP_H #define APP_H #include "sampleslib/app.hpp" namespace chalet { class App : public sampleslib::App { public: App(); private: }; } #endif // !APP_H
10.157895
38
0.585492
YiJiangFengYun
9bf410394e8999d85ded440780dd5e1122aa13e2
659
cpp
C++
laboratorios/lab_04/02_funcao_seno.cpp
sueyvid/Atividade_de_programacao_cpp
691941fc94125eddd4e5466862d5a1fe04dfb520
[ "MIT" ]
null
null
null
laboratorios/lab_04/02_funcao_seno.cpp
sueyvid/Atividade_de_programacao_cpp
691941fc94125eddd4e5466862d5a1fe04dfb520
[ "MIT" ]
null
null
null
laboratorios/lab_04/02_funcao_seno.cpp
sueyvid/Atividade_de_programacao_cpp
691941fc94125eddd4e5466862d5a1fe04dfb520
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; float qual_seno_do_angulo(float x, int n); int qual_o_fatorial(int y); int main() { float alfa; int num_termos; cin >> alfa >> num_termos; cout << qual_seno_do_angulo(alfa, num_termos); return 0; } int qual_o_fatorial(int y){ int j, ...
17.342105
59
0.54173
sueyvid
9bf61b1cc4954f6bf3f3beeb571039004faac9da
19,537
cpp
C++
simMolView3D.cpp
neelsoumya/cycells
a3a6e632addf0a91c75c0a579ad0d41ad9d7a089
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
simMolView3D.cpp
neelsoumya/cycells
a3a6e632addf0a91c75c0a579ad0d41ad9d7a089
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
simMolView3D.cpp
neelsoumya/cycells
a3a6e632addf0a91c75c0a579ad0d41ad9d7a089
[ "Naumen", "Condor-1.1", "MS-PL" ]
3
2018-06-20T21:55:11.000Z
2020-10-21T19:04:54.000Z
/************************************************************************ * * * Copyright (C) 2007 Christina Warrender and Drew Levin * * * * This file is part of ...
38.840954
131
0.417004
neelsoumya
9bfde68d2f9577a5c0e63857d70d0409acaa1820
14,943
cpp
C++
llvm/tools/clang/lib/Driver/CompilationInfo.cpp
ghsecuritylab/ellcc-mirror
b03a4afac74d50cf0987554b8c0cd8209bcb92a2
[ "BSD-2-Clause" ]
null
null
null
llvm/tools/clang/lib/Driver/CompilationInfo.cpp
ghsecuritylab/ellcc-mirror
b03a4afac74d50cf0987554b8c0cd8209bcb92a2
[ "BSD-2-Clause" ]
null
null
null
llvm/tools/clang/lib/Driver/CompilationInfo.cpp
ghsecuritylab/ellcc-mirror
b03a4afac74d50cf0987554b8c0cd8209bcb92a2
[ "BSD-2-Clause" ]
null
null
null
#include "clang/Driver/CompilationInfo.h" #include "clang/Driver/DriverDiagnostic.h" #include "clang/Driver/Driver.h" using namespace clang::compilationinfo; namespace { const char ellcc_linux[] = "global:\n" " static_default: true\n" "compiler:\n" " cxx_include_dirs:\n" " - $R/include/c++\n" "assemb...
28.19434
80
0.589841
ghsecuritylab
5004f365f3fa6f8dc9f2999fb8b01ae21b87a582
797
cpp
C++
4. Алгоритмы на графах/64. Построить матрицу смежности #3271/[OK]184696.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
19
2018-05-19T16:37:14.000Z
2022-03-23T20:13:43.000Z
4. Алгоритмы на графах/64. Построить матрицу смежности #3271/[OK]184211.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
6
2020-05-07T21:06:48.000Z
2020-06-05T17:52:57.000Z
4. Алгоритмы на графах/64. Построить матрицу смежности #3271/[OK]184696.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
31
2019-03-01T21:41:38.000Z
2022-03-27T17:56:39.000Z
#include <iostream> #include <fstream> using namespace std; int main() { ifstream fin("input.txt"); int n1, n2; fin >> n1; fin >> n2; bool** mas = new bool*[n1]; for (int i = 0; i < n1; i++) mas[i] = new bool[n1]; for (int i = 0; i < n1; i++) { for (int j = 0; j < n1; j++) { mas[i][j]...
17.711111
50
0.434128
godnoTA
50082b197d669084dd43b3dd9fb165b7bd98334d
7,093
cpp
C++
src/erpc/erpc_basic_codec.cpp
Seeed-Studio/seeed-ambd-firmware
7334817a6fcf311fbe3c9a8c5644b805ae12bdab
[ "MIT" ]
21
2020-09-14T08:44:19.000Z
2022-03-28T16:11:15.000Z
src/erpc/erpc_basic_codec.cpp
Seeed-Studio/seeed-ambd-firmware
7334817a6fcf311fbe3c9a8c5644b805ae12bdab
[ "MIT" ]
10
2020-11-18T16:56:47.000Z
2022-01-18T00:03:20.000Z
src/erpc/erpc_basic_codec.cpp
Seeed-Studio/seeed-ambd-firmware
7334817a6fcf311fbe3c9a8c5644b805ae12bdab
[ "MIT" ]
9
2020-11-12T03:35:56.000Z
2022-03-10T12:31:47.000Z
/* * Copyright (c) 2014, Freescale Semiconductor, Inc. * Copyright 2016-2017 NXP * All rights reserved. * * * SPDX-License-Identifier: BSD-3-Clause */ #include "erpc_basic_codec.h" #include <cassert> using namespace erpc; //////////////////////////////////////////////////////////////////////////////// // Code...
19.75766
118
0.612153
Seeed-Studio
5008c1c0189f9ef01607038169bfc6c053a0569e
15,603
cpp
C++
src/db/Capnp2DbEngine.cpp
nneesshh/pb-entity-db
efb3ca2c5f1f509ae12a3181545d77daf6de1d0b
[ "MIT" ]
2
2018-08-08T02:10:12.000Z
2019-05-04T04:51:12.000Z
src/db/Capnp2DbEngine.cpp
nneesshh/pb-entity-db
efb3ca2c5f1f509ae12a3181545d77daf6de1d0b
[ "MIT" ]
null
null
null
src/db/Capnp2DbEngine.cpp
nneesshh/pb-entity-db
efb3ca2c5f1f509ae12a3181545d77daf6de1d0b
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // Capnp2DbEngine.cpp // (C) 2016 n.lee //------------------------------------------------------------------------------ #include "Capnp2DbEngine.h" #include <capnp/schema-parser.h> #include <capnp/message.h> #include <capnp/serialize-p...
28.317604
190
0.617445
nneesshh
5009bc05bc1e84f9f371cc010c7b05ea1e65b80e
3,978
cpp
C++
src/Npfs/Resources/StdStringFile.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/Resources/StdStringFile.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/Resources/StdStringFile.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
/* * StdStringFile.cpp * */ #include "StdStringFile.h" #include <string.h> #include <assert.h> namespace Npfs { StdStringFile::StdStringFile(const char* filename, Npfs::Directory* parent, std::string& storage, uint16_t umask) : Npfs::Resource(filename, parent), fileData(storage), updateHandler(0), changeHandl...
21.857143
199
0.672448
joluxer
500b7fdd8572a9a1a4b1f2b78aba99ab17a8ab64
361
cpp
C++
util.cpp
fightling/decklink-debugger
796be29a62a02593cf7b53e695b2f53f04a2fc75
[ "MIT" ]
18
2018-01-07T19:19:59.000Z
2021-12-27T14:11:32.000Z
util.cpp
fightling/decklink-debugger
796be29a62a02593cf7b53e695b2f53f04a2fc75
[ "MIT" ]
8
2018-01-10T23:28:11.000Z
2021-07-15T22:12:50.000Z
util.cpp
fightling/decklink-debugger
796be29a62a02593cf7b53e695b2f53f04a2fc75
[ "MIT" ]
10
2018-05-10T19:53:30.000Z
2020-12-05T11:54:20.000Z
#include "util.h" #include "log.h" void throwIfNotOk(HRESULT result, const char* message) { if(result != S_OK) { LOG(ERROR) << "result (=0x" << std::hex << result << ") != S_OK, " << message; throw message; } } void throwIfNull(void* ptr, const char* message) { if(ptr == nullptr) { LOG(ERROR) << "ptr == null...
19
80
0.603878
fightling
500f9e1313fc7facaffc9c3141733bb0f5f3593b
3,119
cpp
C++
gecode/circuit_orbit.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
279
2015-01-10T09:55:35.000Z
2022-03-28T02:34:03.000Z
gecode/circuit_orbit.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
10
2017-10-05T15:48:50.000Z
2021-09-20T12:06:52.000Z
gecode/circuit_orbit.cpp
Wikunia/hakank
030bc928d2efe8dcbc5118bda3f8ae9575d0fd13
[ "MIT" ]
83
2015-01-20T03:44:00.000Z
2022-03-13T23:53:06.000Z
/* Global constraint circuit using "orbits" in Gecode. The following model implements the constraint circuit using permutation orbits of the first element in the array (x). (It was created when playing around with some other problem in MiniZinc.) For more about the circuit constraint, see the Global C...
21.964789
78
0.633216
Wikunia
5010e8dc531979476c8bd20d4159bf090ef09f8d
518
hpp
C++
WorldEditor/Tool.hpp
madeso/infection-survivors
654fc5405dcecccaa7e54f1fdbfec379e0c185da
[ "Zlib" ]
null
null
null
WorldEditor/Tool.hpp
madeso/infection-survivors
654fc5405dcecccaa7e54f1fdbfec379e0c185da
[ "Zlib" ]
null
null
null
WorldEditor/Tool.hpp
madeso/infection-survivors
654fc5405dcecccaa7e54f1fdbfec379e0c185da
[ "Zlib" ]
null
null
null
#ifndef LLW_TOOL_HPP #define LLW_TOOL_HPP #include "lunarlady/math/vec2.hpp" #include "wx.hpp" #include "WorldEditor/ToolAction.hpp" class WorldView; class World; class Tool { public: Tool(WorldView* iWorldView, ToolAction iToolAction); virtual ~Tool() {} virtual bool onInput(const ::lunarlady::math::vec2& moveme...
20.72
88
0.760618
madeso
5012af5bc7f8726f86cf7e515e89e54fbed12019
6,365
cpp
C++
src/tools/mdReader.cpp
xinhaixiangyunpiao/SmartPipe
5d26e642224108b65f21456cbc41fcc48afe1934
[ "MIT" ]
2
2021-12-08T03:45:43.000Z
2021-12-08T13:43:02.000Z
src/tools/mdReader.cpp
xinhaixiangyunpiao/SmartPipe
5d26e642224108b65f21456cbc41fcc48afe1934
[ "MIT" ]
null
null
null
src/tools/mdReader.cpp
xinhaixiangyunpiao/SmartPipe
5d26e642224108b65f21456cbc41fcc48afe1934
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <cassert> #include "mdReader.h" namespace sp{ MDReader::MDReader(std::string path){ this->path = path; std::ifstream fin(path); if(!fin.is_open()){ std::cout << "app file not opened." << std::endl; } assert(fin.is_open()); char c; cha...
30.023585
122
0.364179
xinhaixiangyunpiao
50149195e681700189c64bb8a73d45c5fd83539a
63,015
cpp
C++
Dodo-Engine/code/renderer/Renderer.cpp
TKscoot/Dodo-Engine
ba6c56a898d2e07e0fd7e89161cbdafd8bc02abd
[ "MIT" ]
null
null
null
Dodo-Engine/code/renderer/Renderer.cpp
TKscoot/Dodo-Engine
ba6c56a898d2e07e0fd7e89161cbdafd8bc02abd
[ "MIT" ]
null
null
null
Dodo-Engine/code/renderer/Renderer.cpp
TKscoot/Dodo-Engine
ba6c56a898d2e07e0fd7e89161cbdafd8bc02abd
[ "MIT" ]
null
null
null
#include "dodopch.h" #include "Renderer.h" using namespace Dodo::Environment; bool Dodo::Rendering::CRenderer::m_bFramebufferResized = false; DodoError Dodo::Rendering::CRenderer::Initialize(std::shared_ptr<VKIntegration> _integration, std::shared_ptr<CWindow> _window) { m_pIntegration = _integration; m_pWindow ...
36.87244
226
0.786162
TKscoot
5015347f9be70a555833fac14da44b1cb06bd3d8
204
cpp
C++
source/delaunay/delaunay.cpp
Phytolizer/voronoi
654273ebc1b5697aeef902c2fd2e7f2a0d541a87
[ "MIT" ]
null
null
null
source/delaunay/delaunay.cpp
Phytolizer/voronoi
654273ebc1b5697aeef902c2fd2e7f2a0d541a87
[ "MIT" ]
null
null
null
source/delaunay/delaunay.cpp
Phytolizer/voronoi
654273ebc1b5697aeef902c2fd2e7f2a0d541a87
[ "MIT" ]
null
null
null
#include "voronoi/delaunay/delaunay.hpp" vo::delaunay::triangulation vo::delaunay::triangulate(const std::vector<math::point2d>& points) { (void)points; // TODO(kyle): implement return {}; }
22.666667
69
0.691176
Phytolizer
5015a1e38b9238f7e1ed4d2facfb5c2797d1223f
102
cpp
C++
samples/win/stdafx.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
samples/win/stdafx.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
samples/win/stdafx.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
// Copyright (C) 2015 Elviss Strazdins // This file is part of the Ouzel engine. #include "stdafx.h"
20.4
41
0.715686
keima97
5016c829fec8d26f1eeaa7f8a5b6f0f92d39f8ff
665
cpp
C++
Data Structure/Array Or Vector/Search An Element in Sorted Array/SolutionBySuchi.cpp
rajethanm4/Programmers-Community
d16083eb0e84403159d999d4d1a8bbf652ca51f6
[ "MIT" ]
8
2020-11-07T10:29:21.000Z
2020-12-26T16:54:13.000Z
Data Structure/Array Or Vector/Search An Element in Sorted Array/SolutionBySuchi.cpp
rajethanm4/Programmers-Community
d16083eb0e84403159d999d4d1a8bbf652ca51f6
[ "MIT" ]
null
null
null
Data Structure/Array Or Vector/Search An Element in Sorted Array/SolutionBySuchi.cpp
rajethanm4/Programmers-Community
d16083eb0e84403159d999d4d1a8bbf652ca51f6
[ "MIT" ]
2
2019-12-18T13:06:19.000Z
2021-01-05T18:47:18.000Z
#include<iostream> using namespace std; int binsrch(int low,int high,int a[],int no) { if ( low <= high ) { int mid=(low+high)/2; if(no==a[mid]) { return mid; } else if(no<a[mid]) { return binsrch(low,mid-1,a,no); } else if(no>a[mid]) { ...
17.051282
46
0.439098
rajethanm4
5018af41fe7b65f08e4d739b40101ed699558645
17,945
cpp
C++
handlers/FilmHandlers.cpp
jedimahdi/movie-network
8b11febb3121ea31f94713528d270618b56bd327
[ "MIT" ]
1
2020-09-03T14:53:11.000Z
2020-09-03T14:53:11.000Z
handlers/FilmHandlers.cpp
jedimahdi/movie-network
8b11febb3121ea31f94713528d270618b56bd327
[ "MIT" ]
null
null
null
handlers/FilmHandlers.cpp
jedimahdi/movie-network
8b11febb3121ea31f94713528d270618b56bd327
[ "MIT" ]
null
null
null
#include "FilmHandlers.h" #include "../exceptions/BadRequest.h" #include "../exceptions/PermissionDenied.h" #include "../models/Comment.h" #include "../models/Film.h" #include <sstream> #include <vector> using namespace std; map<string, string> ShowCreateFilm::handle(Request *req) { map<string, string> context; ...
46.25
176
0.531011
jedimahdi
5018b141a2500b20faf3d680e229dcada4d1713c
770
cpp
C++
2020/03/pcapng-parse/main.cpp
NanXiao/code-for-my-blog
c2c4f59e438241696d938354bb14396f36f97748
[ "BSD-3-Clause" ]
5
2020-03-03T21:00:05.000Z
2021-12-17T07:04:14.000Z
2020/03/pcapng-parse/main.cpp
NanXiao/code-for-my-blog
c2c4f59e438241696d938354bb14396f36f97748
[ "BSD-3-Clause" ]
null
null
null
2020/03/pcapng-parse/main.cpp
NanXiao/code-for-my-blog
c2c4f59e438241696d938354bb14396f36f97748
[ "BSD-3-Clause" ]
2
2020-05-10T18:12:21.000Z
2021-12-17T02:40:42.000Z
#include <iostream> #include <PcapFileDevice.h> int main() { std::cout << pcap_lib_version() << '\n'; pcpp::PcapNgFileReaderDevice input_file("/Users/nanxiao/Downloads/capture.pcapng"); if (input_file.open()) { std::cout << "Open successfully\n"; } else { std::cerr << "Open failed\n"; return 1; } std::cou...
22.647059
84
0.616883
NanXiao
501b2482b4a90a3a55d5d08380c319c154a03a9a
203
cpp
C++
src/FBStateNormal.cpp
LesmesWasNotHere/Footsketball
d8072eda69a3cab570c5a9094eeef0228582cac1
[ "MIT" ]
null
null
null
src/FBStateNormal.cpp
LesmesWasNotHere/Footsketball
d8072eda69a3cab570c5a9094eeef0228582cac1
[ "MIT" ]
null
null
null
src/FBStateNormal.cpp
LesmesWasNotHere/Footsketball
d8072eda69a3cab570c5a9094eeef0228582cac1
[ "MIT" ]
null
null
null
#include "FBStateNormal.h" #define OWN_DISTANCE = 13 FBStateNormal::FBStateNormal(FootsketBall& gameObject):_GameObject(gameObject) { } bool FBStateNormal::Update(unsigned milis) { return true; }
15.615385
78
0.768473
LesmesWasNotHere
501ba224ebc3cce46a06507b53164c6bd0ab0099
1,178
hpp
C++
include/P12218319/cio/benchmarks/Problem.hpp
p12218319/CIO
b302fec4d1b3e0f6f18bf8b83a4229fadd5091c0
[ "Apache-2.0" ]
null
null
null
include/P12218319/cio/benchmarks/Problem.hpp
p12218319/CIO
b302fec4d1b3e0f6f18bf8b83a4229fadd5091c0
[ "Apache-2.0" ]
null
null
null
include/P12218319/cio/benchmarks/Problem.hpp
p12218319/CIO
b302fec4d1b3e0f6f18bf8b83a4229fadd5091c0
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 Adam Smith & Fabio Caraffini (Original Java version) 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 require...
31
85
0.758913
p12218319
501fa15b354f1561971befc24bb4b475fb404a90
632
cpp
C++
lang/C++/memory-allocation-1.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
lang/C++/memory-allocation-1.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/C++/memory-allocation-1.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
#include <string> int main() { int* p; p = new int; // allocate a single int, uninitialized delete p; // deallocate it p = new int(2); // allocate a single int, initialized with 2 delete p; // deallocate it std::string* p2; p2 = new std::string; // allocate a single string, default-ini...
26.333333
83
0.618671
ethansaxenian
5020cb34011b78ef32a2f416cc3c13bd6c0cf8cb
82,726
cxx
C++
base/fs/utils/untfs/src/sdchk.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/fs/utils/untfs/src/sdchk.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/fs/utils/untfs/src/sdchk.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1996-2000 Microsoft Corporation Module Name: sdchk.cxx Abstract: This module implements Security Descriptors Checking. Author: Daniel Chan (danielch) 30-Sept-96 --*/ #include <pch.cxx> #define _NTAPI_ULIB_ #define _UNTFS_MEMBER_ //#define TIMING_ANALYSIS ...
43.266736
120
0.456023
npocmaka
5027a961a31bd63de8712839d03c886a036034a1
4,102
cpp
C++
src/test/cpp/test_thread_map.cpp
slaveuser/honest-profiler20190422
211eaa26603286badb4d4f4ad641dd0a3e5342bf
[ "Apache-2.0", "MIT" ]
674
2017-03-26T20:42:58.000Z
2022-03-31T03:54:56.000Z
src/test/cpp/test_thread_map.cpp
slaveuser/honest-profiler20190422
211eaa26603286badb4d4f4ad641dd0a3e5342bf
[ "Apache-2.0", "MIT" ]
88
2017-04-06T08:47:36.000Z
2022-02-21T21:47:11.000Z
src/test/cpp/test_thread_map.cpp
slaveuser/honest-profiler20190422
211eaa26603286badb4d4f4ad641dd0a3e5342bf
[ "Apache-2.0", "MIT" ]
90
2017-03-28T11:40:34.000Z
2022-03-19T15:50:52.000Z
#include "test.h" #ifndef DISABLE_CPP11 #include "../../main/cpp/thread_map.h" #include <memory> #include <thread> #include <vector> #define ptr() std::unique_ptr<JNIEnv>((JNIEnv *)new int(0)) TEST(ThreadMapPutGetDeleteTest) { ThreadMap map; auto p1 = ptr(); auto pid = 999; auto name = "name321"; // map...
21.703704
91
0.586787
slaveuser
502adbbb70f2ae9c1a7186c42445eac4836a4a00
4,895
cpp
C++
src/confseq/boundaries.cpp
gostevehoward/confseq
a4d85ba77ccbde4b10ec4f73530122dc32b45178
[ "MIT" ]
28
2019-09-23T19:19:11.000Z
2022-01-25T18:40:28.000Z
src/confseq/boundaries.cpp
WannabeSmith/confseq
8c847f8915e553c9fd1a7f3f0fec8f36e2074d42
[ "MIT" ]
10
2019-09-23T02:41:12.000Z
2022-01-12T02:14:07.000Z
src/confseq/boundaries.cpp
WannabeSmith/confseq
8c847f8915e553c9fd1a7f3f0fec8f36e2074d42
[ "MIT" ]
4
2019-09-23T01:36:30.000Z
2021-06-24T19:51:03.000Z
#include <pybind11/numpy.h> #include <pybind11/pybind11.h> #include "uniform_boundaries.h" using namespace pybind11::literals; PYBIND11_MODULE(boundaries, m) { m.doc() = R"pbdoc( Uniform boundaries and mixture supermartingales. See package documentation at https://github.com/gostevehoward/confseq. All...
40.454545
80
0.654137
gostevehoward
df22d6fb0922146e60a9b0e2c2d89d190103a6bf
5,990
cc
C++
uw_cse333/hw/hw3/hw3fsck/fileindexutil.cc
tavaresdong/courses-notes
7fb89103bca679f5ef9b14cbc777152daac1402e
[ "MIT" ]
null
null
null
uw_cse333/hw/hw3/hw3fsck/fileindexutil.cc
tavaresdong/courses-notes
7fb89103bca679f5ef9b14cbc777152daac1402e
[ "MIT" ]
1
2017-07-31T08:15:26.000Z
2017-07-31T08:15:26.000Z
uw_cse333/hw/hw3/hw3fsck/fileindexutil.cc
tavaresdong/courses-notes
7fb89103bca679f5ef9b14cbc777152daac1402e
[ "MIT" ]
1
2019-10-06T16:52:31.000Z
2019-10-06T16:52:31.000Z
/* * Copyright 2011 Steven Gribble * * This file is part of the UW CSE 333 course project sequence * (333proj). * * 333proj is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the ...
26.981982
72
0.621536
tavaresdong
df25ca3b040496c41625f5e1557b0e1f788b29f4
654
cpp
C++
Algorithms/Strings/two-strings.cpp
CodeLogist/hackerrank-solutions
faecc4c9563a017eb61e83f0025aa9eb78fd33a1
[ "MIT" ]
73
2016-09-14T18:20:41.000Z
2022-02-05T14:58:04.000Z
Algorithms/Strings/two-strings.cpp
A-STAR0/hackerrank-solutions-1
518cdd9049477d70c499ba4f51f06ac99178f0ab
[ "MIT" ]
3
2017-03-03T01:12:31.000Z
2020-04-18T16:51:59.000Z
Algorithms/Strings/two-strings.cpp
A-STAR0/hackerrank-solutions-1
518cdd9049477d70c499ba4f51f06ac99178f0ab
[ "MIT" ]
69
2017-03-02T19:03:54.000Z
2022-03-29T12:35:38.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; bool check(const string& _a, const string& _b) { // O(n*m) lol no thanks // more like O(n+m+52) bool arr[52] = {false}; for(auto& a : _a) arr[a - 'a'] = true; for(auto& b : _b)...
19.235294
52
0.472477
CodeLogist
df276a14ee404b07e07c2344fdf9670154d65cc7
13,301
cpp
C++
cisstICP/cisstICP/DirPDTreeNode.cpp
sbillin/IMLP
38cbf6f528747ab5421f02f50b9bc3cd416cff8c
[ "BSD-3-Clause" ]
14
2015-05-15T08:54:19.000Z
2021-12-14T06:16:37.000Z
cisstICP/DirPDTreeNode.cpp
Xingorno/cisstICP
dfa00db642a25500946a0c70a900fbc68e5af248
[ "BSD-3-Clause" ]
3
2017-01-11T15:10:31.000Z
2020-12-28T16:16:32.000Z
cisstICP/DirPDTreeNode.cpp
Xingorno/cisstICP
dfa00db642a25500946a0c70a900fbc68e5af248
[ "BSD-3-Clause" ]
8
2015-01-07T20:28:12.000Z
2018-07-13T15:40:39.000Z
// **************************************************************************** // // Copyright (c) 2014, Seth Billings, Russell Taylor, Johns Hopkins University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
31.370283
125
0.636493
sbillin
df28ecaeef52f8de3864c5efcfd6a03cb13d7c34
615
cpp
C++
Engine/Code/Engine/Physics/GravityForceGenerator.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
null
null
null
Engine/Code/Engine/Physics/GravityForceGenerator.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
20
2021-11-29T14:09:33.000Z
2022-03-26T20:12:44.000Z
Engine/Code/Engine/Physics/GravityForceGenerator.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
null
null
null
#include "Engine/Physics/GravityForceGenerator.hpp" #include "Engine/Math/Vector2.hpp" #include "Engine/Physics/RigidBody.hpp" GravityForceGenerator::GravityForceGenerator(const Vector2& gravity) noexcept : ForceGenerator() , m_g(gravity) { /* DO NOTHING */ } void GravityForceGenerator::notify([[maybe_unused]] T...
25.625
103
0.718699
cugone
df2a6844ceb58154b763d1760fd43b7d80a2f324
16,140
hpp
C++
kvm_core/include/kvm_serializer.hpp
pspglb/kvm
2dc3c4cc331dedaf5245e5c8a24bcba02b6ded32
[ "BSD-3-Clause" ]
26
2020-12-03T11:13:42.000Z
2022-03-25T05:36:33.000Z
kvm_core/include/kvm_serializer.hpp
mtlynch/kvm
f0128edd493a758197a683cbb40dd409d16235e5
[ "BSD-3-Clause" ]
4
2021-01-28T19:32:17.000Z
2021-06-01T15:01:42.000Z
kvm_core/include/kvm_serializer.hpp
mtlynch/kvm
f0128edd493a758197a683cbb40dd409d16235e5
[ "BSD-3-Clause" ]
8
2020-12-04T01:30:21.000Z
2021-12-01T11:19:11.000Z
// Copyright 2020 Christopher A. Taylor /* Binary serialization tools */ #pragma once #include "kvm_core.hpp" #include <string.h> namespace kvm { //------------------------------------------------------------------------------ // Byte Order // Swaps byte order in a 16-bit word CORE_INLINE u...
29.23913
99
0.61171
pspglb
df2aebd6aed1ff09fb6b72d2224ee1957bb37474
757
cpp
C++
Code_Jam/codejam1.cpp
Jonsy13/Competitive-Programming
67e1918488c82b7ab8272b57dd4ffcff9dd4b1ac
[ "MIT" ]
null
null
null
Code_Jam/codejam1.cpp
Jonsy13/Competitive-Programming
67e1918488c82b7ab8272b57dd4ffcff9dd4b1ac
[ "MIT" ]
null
null
null
Code_Jam/codejam1.cpp
Jonsy13/Competitive-Programming
67e1918488c82b7ab8272b57dd4ffcff9dd4b1ac
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int T; cin>>T; while(T>0){ int N,ele; cin>>N; vector<vector<int>>vec; for(int i=0;i<N;i++){ vector<int>vec2; for(int j=0;j<N;j++){ cin>>ele; vec2.push_back(el...
22.264706
70
0.393659
Jonsy13
df2d731e6db854943d4b41656ef612c5ec01b381
1,357
hpp
C++
mogl/object/shader/shader.hpp
ninnghazad/moGL
041c5a891469eecfce904e170c62c016d0864cb6
[ "MIT" ]
27
2015-02-26T12:27:19.000Z
2022-03-09T22:24:01.000Z
mogl/object/shader/shader.hpp
ninnghazad/moGL
041c5a891469eecfce904e170c62c016d0864cb6
[ "MIT" ]
21
2015-01-07T15:30:55.000Z
2022-03-22T09:58:35.000Z
mogl/object/shader/shader.hpp
ninnghazad/moGL
041c5a891469eecfce904e170c62c016d0864cb6
[ "MIT" ]
6
2015-02-25T13:02:30.000Z
2019-11-29T08:01:15.000Z
//////////////////////////////////////////////////////////////////////////////// /// Modern OpenGL Wrapper /// /// Copyright (c) 2015 Thibault Schueller /// This file is distributed under the MIT License /// /// @file shader.hpp /// @author Thibault Schueller <ryp.sqrt@gmail.com> ///////////////////////////////////////...
28.270833
103
0.518791
ninnghazad
df2de002f67906cd3f4a264f95422ec9508ba45a
561
cc
C++
Calibration/EcalTBTools/src/TB06Reco.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Calibration/EcalTBTools/src/TB06Reco.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Calibration/EcalTBTools/src/TB06Reco.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "Calibration/EcalTBTools/interface/TB06Reco.h" /* */ // FIXME ClassImp (TB06Reco) void TB06Reco::reset() { run = 0; event = 0; tableIsMoving = 0; S6ADC = 0; MEXTLindex = 0; MEXTLeta = 0; MEXTLphi = 0; MEXTLenergy = 0.; beamEnergy = 0.; for (int eta = 0; eta < 7; ++eta) for (int ph...
15.162162
55
0.554367
ckamtsikis
df2e0e2da10d9b1293c459cb45cae7895500778d
1,150
cpp
C++
problemsets/UVA/UVA10789.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/UVA10789.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/UVA/UVA10789.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> #include <cstdlib> #include <cstring> #include <cctype> #include <cmath> #include <string> #include <algorithm> #include <sstream> #include <map> #include <set> #include <queue> using namespace std; const int MAX...
20.175439
60
0.471304
juarezpaulino
df2f7804800329b095763f3c1918977db8572e44
1,683
hpp
C++
xyginext/src/network/NetConf.hpp
fallahn/xygine
c17e7d29bb57a5425a58abd3a05a843d6bac48e3
[ "Unlicense" ]
220
2015-10-22T16:12:13.000Z
2022-03-16T18:51:11.000Z
xyginext/src/network/NetConf.hpp
fallahn/xygine
c17e7d29bb57a5425a58abd3a05a843d6bac48e3
[ "Unlicense" ]
64
2016-05-05T19:17:13.000Z
2021-02-11T19:24:37.000Z
xyginext/src/network/NetConf.hpp
fallahn/xygine
c17e7d29bb57a5425a58abd3a05a843d6bac48e3
[ "Unlicense" ]
33
2016-01-13T16:44:26.000Z
2021-11-05T21:57:24.000Z
/********************************************************************* (c) Matt Marchant 2017 - 2021 http://trederia.blogspot.com xygineXT - Zlib license. 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 thi...
28.05
70
0.660131
fallahn
df318fdd648d2c6c3ba1c3ed2e8f9c3443146cf2
2,378
inl
C++
include/memorypool/bufferpool.inl
yesheng86/cpp-utils
36cbf303b820a5c73b34922564be12419bec1e7d
[ "MIT" ]
null
null
null
include/memorypool/bufferpool.inl
yesheng86/cpp-utils
36cbf303b820a5c73b34922564be12419bec1e7d
[ "MIT" ]
null
null
null
include/memorypool/bufferpool.inl
yesheng86/cpp-utils
36cbf303b820a5c73b34922564be12419bec1e7d
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <map> #include "waitqueue/waitqueue.hpp" #include "log/log.hpp" using namespace util::memorypool; using namespace util::buffer; using namespace util::mt; class BufferPool::Impl { using BufferDescriptorQueue = WaitQueue<BufferDescriptor*>; public: Impl() = default; ~I...
26.719101
125
0.655593
yesheng86
df3a2b121adfb3d068d1483fb172296cf9822a68
804
hpp
C++
src/interop/include/interop/plugin.hpp
xSHAD0Wx/tiksrv
9d512705e05dd822d41f7cc0e69b9487fb3d286b
[ "Apache-2.0" ]
2
2020-06-08T15:47:25.000Z
2020-06-13T13:34:53.000Z
src/interop/include/interop/plugin.hpp
xSHAD0Wx/tiksrv
9d512705e05dd822d41f7cc0e69b9487fb3d286b
[ "Apache-2.0" ]
null
null
null
src/interop/include/interop/plugin.hpp
xSHAD0Wx/tiksrv
9d512705e05dd822d41f7cc0e69b9487fb3d286b
[ "Apache-2.0" ]
null
null
null
#ifndef TIKSRV_INTEROP_PLUGIN_HPP #define TIKSRV_INTEROP_PLUGIN_HPP #include "interop/command.hpp" #include "services/services_manager.hpp" #include <cstdint> #include <functional> #include <memory> #include <string> #include <vector> namespace ts::interop { class plugin { public: using export_func = std::fu...
21.72973
80
0.685323
xSHAD0Wx
df3d2abefbbefd312b52d50c70c640db674197d6
1,183
cpp
C++
UVA Online Judge/10189 - Minesweeper.cpp
amiraslanaslani/UVA-Solved-Problems
1becb706702789a5f5e0ee86297561fc5b6e5ffc
[ "Unlicense" ]
null
null
null
UVA Online Judge/10189 - Minesweeper.cpp
amiraslanaslani/UVA-Solved-Problems
1becb706702789a5f5e0ee86297561fc5b6e5ffc
[ "Unlicense" ]
null
null
null
UVA Online Judge/10189 - Minesweeper.cpp
amiraslanaslani/UVA-Solved-Problems
1becb706702789a5f5e0ee86297561fc5b6e5ffc
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main() { int t = 1; while(true){ int io,jo; cin >> io >> jo; if( io == 0 && jo == 0) return 0; if(t != 1) cout << endl; cout << "Field #" << t << ":" << endl; t ++; char m[io][jo]; ...
25.170213
52
0.252747
amiraslanaslani
df3e24e0f13467d108e43545baa7d17fdea8dfb1
47,660
cpp
C++
src/cpu.cpp
abstrakct/nessy
41d2a978e50949e244ab70456b77530cdc65f97d
[ "Unlicense" ]
null
null
null
src/cpu.cpp
abstrakct/nessy
41d2a978e50949e244ab70456b77530cdc65f97d
[ "Unlicense" ]
null
null
null
src/cpu.cpp
abstrakct/nessy
41d2a978e50949e244ab70456b77530cdc65f97d
[ "Unlicense" ]
null
null
null
/* * 6502 cpu stuff */ #include <stdio.h> #include "cpu.h" #include "logger.h" #include "machine.h" extern Logger l; CPU::CPU() { using c = CPU; lookupTable = { // CHECKED and OK! // clang-format off { 0x00, "BRK", &c::Implied , 1, 7, }, { 0x01, "ORA", &c::IndirectX, 2, 6,...
34.115963
135
0.456777
abstrakct
df410b003d3a641134686f2e8a87f5cf1df3b292
16,150
cpp
C++
src/utils/regexwrappers.cpp
compiler-explorer/asm-parser
bc69e6bfd3b8b080a6781cc85dc89d127dd15a40
[ "BSD-2-Clause" ]
12
2021-03-23T16:09:11.000Z
2022-02-06T09:04:58.000Z
src/utils/regexwrappers.cpp
compiler-explorer/asm-parser
bc69e6bfd3b8b080a6781cc85dc89d127dd15a40
[ "BSD-2-Clause" ]
15
2020-10-04T16:47:19.000Z
2022-02-05T18:29:39.000Z
src/utils/regexwrappers.cpp
compiler-explorer/asm-parser
bc69e6bfd3b8b080a6781cc85dc89d127dd15a40
[ "BSD-2-Clause" ]
1
2021-01-14T03:33:04.000Z
2021-01-14T03:33:04.000Z
#include "regexwrappers.hpp" #include "regexes.hpp" #include "utils.hpp" #include <fmt/core.h> inline int svtoi(const std::string_view sv) { return std::atoi(sv.data()); } std::pair<int, int> AsmParser::AssemblyTextParserUtils::getSourceRef(const std::string_view line) { const auto match = AsmParser::Regexes:...
24.732006
127
0.582663
compiler-explorer
df4cb0ca67799da84ae3cd56b87cccfd8f6f8d64
8,837
hpp
C++
include/murk/crypto/aes.hpp
Cyclic3/murk
fd2f71a4b258be71ef828f1223ddb76cc4ec8254
[ "MIT" ]
2
2019-08-06T21:02:12.000Z
2021-12-22T16:12:38.000Z
include/murk/crypto/aes.hpp
Cyclic3/murk
fd2f71a4b258be71ef828f1223ddb76cc4ec8254
[ "MIT" ]
null
null
null
include/murk/crypto/aes.hpp
Cyclic3/murk
fd2f71a4b258be71ef828f1223ddb76cc4ec8254
[ "MIT" ]
null
null
null
#pragma once #include "murk/data.hpp" #include "murk/flows/bytes.hpp" namespace murk::crypto::aes { constexpr uint8_t sbox[256] = {0x63 ,0x7c ,0x77 ,0x7b ,0xf2 ,0x6b ,0x6f ,0xc5 ,0x30 ,0x01 ,0x67 ,0x2b ,0xfe ,0xd7 ,0xab ,0x76 ,0xca ,0x82 ,0xc9 ,0x7d ,0xfa ,0x59 ,0x47 ,0xf0 ,0xad ,0xd...
49.094444
1,573
0.565237
Cyclic3
df4d93120720694a875a738746bca74fe828dad6
822
cpp
C++
riddle/tests/test_lexer.cpp
pstlab/oRatio
0ec136fc60240e6cf090c8a6ba5055f84a215ac1
[ "Apache-2.0" ]
6
2020-02-20T14:52:01.000Z
2020-10-08T19:52:41.000Z
riddle/tests/test_lexer.cpp
pstlab/oRatio
0ec136fc60240e6cf090c8a6ba5055f84a215ac1
[ "Apache-2.0" ]
15
2018-01-25T12:37:51.000Z
2021-03-22T14:03:43.000Z
riddle/tests/test_lexer.cpp
pstlab/oRatio
0ec136fc60240e6cf090c8a6ba5055f84a215ac1
[ "Apache-2.0" ]
1
2019-04-29T23:16:57.000Z
2019-04-29T23:16:57.000Z
#include "lexer.h" #include <sstream> #include <cassert> using namespace riddle; void test_lexer_0() { std::stringstream ss("real a = 5 + 2;\nfalse;"); lexer l(ss); token *t0 = l.next(); assert(t0->sym == REAL_ID); token *t1 = l.next(); assert(t1->sym == ID_ID); token *t2 = l.next(); a...
22.833333
52
0.558394
pstlab
df54fe9ea960519cc358e317ea5ebfc56d595593
28
cpp
C++
src/StoneCold.3D.Game/InputManager.cpp
krck/StoneCold_3D
5661a96e5167922b0ba555714a6d337acdea48c5
[ "BSD-3-Clause" ]
null
null
null
src/StoneCold.3D.Game/InputManager.cpp
krck/StoneCold_3D
5661a96e5167922b0ba555714a6d337acdea48c5
[ "BSD-3-Clause" ]
null
null
null
src/StoneCold.3D.Game/InputManager.cpp
krck/StoneCold_3D
5661a96e5167922b0ba555714a6d337acdea48c5
[ "BSD-3-Clause" ]
null
null
null
#include "InputManager.hpp"
14
27
0.785714
krck
df5b035b3addb1a074dad1985cb5fb0be699c696
331
cpp
C++
sandbox/sandbox_shared_lib/derived.cpp
VaderY/cereal
b03f237713a7e4aab18c7d9150fb3c9a5e92ea3a
[ "BSD-3-Clause" ]
null
null
null
sandbox/sandbox_shared_lib/derived.cpp
VaderY/cereal
b03f237713a7e4aab18c7d9150fb3c9a5e92ea3a
[ "BSD-3-Clause" ]
null
null
null
sandbox/sandbox_shared_lib/derived.cpp
VaderY/cereal
b03f237713a7e4aab18c7d9150fb3c9a5e92ea3a
[ "BSD-3-Clause" ]
null
null
null
#ifndef CEREAL_DLL_USE #define CEREAL_DLL_MAKE #endif #include "derived.hpp" template void Derived::serialize<cereal::XMLOutputArchive> ( cereal::XMLOutputArchive & ar, const std::uint32_t version ); template void Derived::serialize<cereal::XMLInputArchive> ( cereal::XMLInputArchive & ar, const std::uint32_t ...
30.090909
67
0.770393
VaderY
df5bbde765fee6dac3fc57a6ff711c7e0d1b1575
813
hpp
C++
include/fcppt/log/enabled_levels.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/log/enabled_levels.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/log/enabled_levels.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_LOG_ENABLED_LEVELS_HPP_INCLUDED #define FCPPT_LOG_ENABLED_LEVELS_HPP_INCLUDED #incl...
21.394737
79
0.760148
vinzenz
df5d3730c5d5676400295283846d06a61df223fb
3,407
hpp
C++
src/route/TopicPublishInfo.hpp
ifplusor/rocketmq-client-cpp
fd301f4b064d5035fc72261023a396e2c9126c53
[ "Apache-2.0" ]
5
2019-04-24T13:37:05.000Z
2021-01-29T16:37:55.000Z
src/route/TopicPublishInfo.hpp
ifplusor/rocketmq-client-cpp
fd301f4b064d5035fc72261023a396e2c9126c53
[ "Apache-2.0" ]
null
null
null
src/route/TopicPublishInfo.hpp
ifplusor/rocketmq-client-cpp
fd301f4b064d5035fc72261023a396e2c9126c53
[ "Apache-2.0" ]
1
2021-02-03T03:11:03.000Z
2021-02-03T03:11:03.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 You under the Apache License, Version 2.0 * (the "License"); you may ...
33.07767
95
0.708248
ifplusor
df5ecbcc497ea0260cb3437fb2d483967e14974f
329
cpp
C++
Arcanist/src/ArcanistApp.cpp
zaub3rfuchs/Arc
19b159bb6ea014b615e16ff13c946b6f93c0f281
[ "Apache-2.0" ]
null
null
null
Arcanist/src/ArcanistApp.cpp
zaub3rfuchs/Arc
19b159bb6ea014b615e16ff13c946b6f93c0f281
[ "Apache-2.0" ]
null
null
null
Arcanist/src/ArcanistApp.cpp
zaub3rfuchs/Arc
19b159bb6ea014b615e16ff13c946b6f93c0f281
[ "Apache-2.0" ]
null
null
null
#include <Arc.h> #include <Arc/Core/EntryPoint.h> #include "EditorLayer.h" namespace ArcEngine { class Arcanist : public Application { public: Arcanist() : Application("Arcanist") { PushLayer(new EditorLayer()); } ~Arcanist() { } }; Application* CreateApplication() { return new Arcanist(...
11.344828
36
0.644377
zaub3rfuchs
df60b317eb2fa02f9c96e19a32a654ddc3f77efe
21,560
cpp
C++
src/mongo/db/exhaust_cursor_currentop_integration_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/exhaust_cursor_currentop_integration_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/exhaust_cursor_currentop_integration_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
50.023202
100
0.659091
benety
df6118fbe570ec363dfa0fcb232188b47cb84336
1,353
cpp
C++
solutions/usaco/silver/jan_2019/paintbarn.cpp
TanishT/Competitive-Programming
b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0
[ "MIT" ]
2
2021-02-19T18:15:03.000Z
2021-03-27T20:26:55.000Z
solutions/usaco/silver/jan_2019/paintbarn.cpp
TanishT/Comp-Programming
b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0
[ "MIT" ]
8
2021-01-17T16:39:08.000Z
2021-03-22T01:27:15.000Z
solutions/usaco/silver/jan_2019/paintbarn.cpp
anaconda121/Competitive-Programming
b90fe43d7f92de62ebfd2f4aa1d470711cbe8bf0
[ "MIT" ]
null
null
null
#include <algorithm> #include <vector> #include <math.h> #include <iostream> #include <stdio.h> #include <climits> using namespace std; int n, k; int grid[1002][1002]; void setIO(string name, bool includeout=false) { // name is nonempty for USACO file I/O ios_base::sync_with_stdio(0); cin.tie(0); // see Fast Inp...
26.529412
87
0.473762
TanishT
df62d5005e157b28b4e891feda043cb83077a258
8,473
cc
C++
lang/cimport/packing.cc
meyerj/typelib
e2a8d67d35732ffdd1d586aa8370576033ecc5a6
[ "CECILL-B" ]
null
null
null
lang/cimport/packing.cc
meyerj/typelib
e2a8d67d35732ffdd1d586aa8370576033ecc5a6
[ "CECILL-B" ]
null
null
null
lang/cimport/packing.cc
meyerj/typelib
e2a8d67d35732ffdd1d586aa8370576033ecc5a6
[ "CECILL-B" ]
null
null
null
#include "packing.hh" #include <typelib/typemodel.hh> #include <typelib/typevisitor.hh> #include <boost/lexical_cast.hpp> #include <typelib/typedisplay.hh> //////////////////////////////////////////////////////////////////////////////// // // Check some assumptions we make in the packing code // #include <boost/mpl/...
32.968872
128
0.619497
meyerj
df647043b80cd16f957121b27129855a843460bf
927
cpp
C++
LeviathanTest/TestFiles/GuiTests.cpp
Higami69/Leviathan
90f68f9f6e5506d6133bcefcf35c8e84f158483b
[ "BSL-1.0" ]
null
null
null
LeviathanTest/TestFiles/GuiTests.cpp
Higami69/Leviathan
90f68f9f6e5506d6133bcefcf35c8e84f158483b
[ "BSL-1.0" ]
null
null
null
LeviathanTest/TestFiles/GuiTests.cpp
Higami69/Leviathan
90f68f9f6e5506d6133bcefcf35c8e84f158483b
[ "BSL-1.0" ]
null
null
null
//! \file Tests for various supporting GUI methods. Doesn't actually //! try any rendering or anything like that #include "GUI/VideoPlayer.h" #include "../PartialEngine.h" #include "catch.hpp" using namespace Leviathan; using namespace Leviathan::Test; using namespace Leviathan::GUI; TEST_CASE("Leviathan VideoPla...
22.609756
78
0.693635
Higami69
df659393908d56903e559bbbd238f30a02b5e6ca
2,926
cxx
C++
inetsrv/query/filters/html/source/titletag.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/filters/html/source/titletag.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/filters/html/source/titletag.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation, 1992 - 1999 // // File: titletag.cxx // // Contents: Parsing algorithm for title tag in Html // // Subclassed from CPropertyText, so as to emit a third copy // of the chun...
28.970297
90
0.455229
npocmaka
df659582d24a157fdf0a3351a454f1291e7053cf
8,833
cpp
C++
src/vm/readytoruninfo.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
10
2015-11-03T16:35:25.000Z
2021-07-31T16:36:29.000Z
src/vm/readytoruninfo.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
1
2019-03-05T18:50:09.000Z
2019-03-05T18:50:09.000Z
src/vm/readytoruninfo.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
4
2015-10-28T12:26:26.000Z
2021-09-04T11:36:04.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // =========================================================================== // File: ReadyToRunInfo.cpp // // // Runtime support for Ready to Run // =========...
27.77673
140
0.676893
CyberSys
df67439f69e0ad36bce2d6fcd74b8dc868f80f71
304
cpp
C++
src/debug20/backtrace.cpp
Tomcus/debug20
4124f83359b49c8b340f957bce1e0b83bffd443e
[ "MIT" ]
null
null
null
src/debug20/backtrace.cpp
Tomcus/debug20
4124f83359b49c8b340f957bce1e0b83bffd443e
[ "MIT" ]
null
null
null
src/debug20/backtrace.cpp
Tomcus/debug20
4124f83359b49c8b340f957bce1e0b83bffd443e
[ "MIT" ]
null
null
null
#include "backtrace.hpp" #include <fmt/os.h> void d20::print_backtrace() noexcept { backtrace_data data; try { data = get_backtrace(); for (auto trace:data) { fmt::print("{}\n", trace); } } catch (const exception& e) { puts(e.what()); } }
20.266667
38
0.523026
Tomcus
df6f519bdaae3b19dd7843d83822c94c2e3394d9
3,872
cpp
C++
Munch/assem.cpp
Compiladori/Tiger-Compiler
d52f92459dac0fa00534162a808376875883446d
[ "MIT" ]
1
2020-12-31T16:05:42.000Z
2020-12-31T16:05:42.000Z
Munch/assem.cpp
Compiladori/Tiger-Compiler
d52f92459dac0fa00534162a808376875883446d
[ "MIT" ]
1
2021-01-27T15:41:18.000Z
2021-05-31T21:47:02.000Z
Munch/assem.cpp
Compiladori/Tiger-Compiler
d52f92459dac0fa00534162a808376875883446d
[ "MIT" ]
null
null
null
#include "assem.h" using namespace assem; /** * Instructions * **/ void Oper::output(std::ostream& os, temp::TempMap temp_map) const { std::string result; for ( auto it = assm.cbegin(); it != assm.cend(); ++it ) { if ( *it == '\'' ) { switch ( *(++it) ) { case 's': { ...
36.528302
144
0.383781
Compiladori
df73c1eebe1b09c510eb28608abf20db66330d4c
8,710
cpp
C++
Source/Engine/World/Private/Components/Drawable.cpp
CodeLikeCXK/AngieEngine
26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e
[ "MIT" ]
24
2019-07-15T22:48:44.000Z
2021-11-02T04:42:48.000Z
Source/Engine/World/Private/Components/Drawable.cpp
CodeLikeCXK/AngieEngine
26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e
[ "MIT" ]
1
2021-11-02T09:41:31.000Z
2021-11-05T18:35:14.000Z
Source/Engine/World/Private/Components/Drawable.cpp
CodeLikeCXK/AngieEngine
26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e
[ "MIT" ]
3
2020-02-03T08:34:50.000Z
2021-07-28T05:19:22.000Z
/* Angie Engine Source Code MIT License Copyright (C) 2017-2021 Alexander Samusev. This file is part of the Angie Engine Source Code. 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 re...
28.936877
126
0.673479
CodeLikeCXK
df76745843887c5fce7997ba21567a428c020ec3
164
cpp
C++
ext/n7zip/guid.cpp
yagisumi/node-n7zip_native
7e9b5e1ca1e2e0889fee637908f4c70238584bac
[ "MIT" ]
null
null
null
ext/n7zip/guid.cpp
yagisumi/node-n7zip_native
7e9b5e1ca1e2e0889fee637908f4c70238584bac
[ "MIT" ]
1
2020-10-16T17:26:54.000Z
2020-10-16T17:26:54.000Z
ext/n7zip/guid.cpp
yagisumi/node-n7zip_native
7e9b5e1ca1e2e0889fee637908f4c70238584bac
[ "MIT" ]
null
null
null
// #include <Common/MyInitGuid.h> #define INITGUID // #include <7zip/Archive/IArchive.h> // #include <7zip/IStream.h> // #include <7zip/ICoder.h> #include "guid.h"
23.428571
37
0.695122
yagisumi
df7ad6c85627a82ea0a3eaa9fc6138adc3df9da1
7,506
cpp
C++
Source/Game/Collision/CollisionSystem.cpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
6
2017-12-31T17:28:40.000Z
2021-12-04T06:11:34.000Z
Source/Game/Collision/CollisionSystem.cpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
Source/Game/Collision/CollisionSystem.cpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
#include "Precompiled.hpp" #include "CollisionSystem.hpp" #include "CollisionComponent.hpp" #include "Common/Services.hpp" #include "Game/Event/EventDefinitions.hpp" #include "Game/Event/EventSystem.hpp" #include "Game/Entity/EntitySystem.hpp" #include "Game/Component/ComponentSystem.hpp" #include "Game/Transform/Tran...
29.785714
116
0.59619
gunstarpl
df7bc70853f767f049300ed1050261a60ee47670
2,111
cxx
C++
Libraries/VtkVgQtUtil/vtkVgQtUtil.cxx
judajake/vivia
ac0bad0dc200b5af25911513edb0ca6fd6e9f622
[ "BSD-3-Clause" ]
1
2017-07-31T07:08:05.000Z
2017-07-31T07:08:05.000Z
Libraries/VtkVgQtUtil/vtkVgQtUtil.cxx
judajake/vivia
ac0bad0dc200b5af25911513edb0ca6fd6e9f622
[ "BSD-3-Clause" ]
null
null
null
Libraries/VtkVgQtUtil/vtkVgQtUtil.cxx
judajake/vivia
ac0bad0dc200b5af25911513edb0ca6fd6e9f622
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +5 * Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "vtkVgQtUtil.h" #include <QApplication> #include <QThreadStorage> #include <vtkEve...
28.527027
79
0.598768
judajake
df7e1b2858fb1bfce3a62f7d0bd935063a13508d
56,752
cpp
C++
test/pangraph_test.cpp
rmcolq/pandora
93c541017a5c1ea45f999f5eabdb58be061711e0
[ "MIT" ]
77
2018-07-06T00:13:58.000Z
2021-11-19T03:58:20.000Z
test/pangraph_test.cpp
rmcolq/pandora
93c541017a5c1ea45f999f5eabdb58be061711e0
[ "MIT" ]
215
2018-07-09T16:41:55.000Z
2022-03-29T22:44:36.000Z
test/pangraph_test.cpp
mbhall88/pandora
16de553795267a55af223748b24510a904ca5ef9
[ "MIT" ]
16
2018-07-06T13:09:48.000Z
2022-01-05T15:01:09.000Z
#include "gtest/gtest.h" #include "test_macro.cpp" #include "pangenome/ns.cpp" #include "pangenome_graph_class.h" #include "pangenome/pannode.h" #include "pangenome/panread.h" #include "pangenome/pansample.h" #include "minihit.h" #include "localPRG.h" #include <cstdint> #include <iostream> #include "test_helpers.h" us...
39.798036
103
0.66306
rmcolq
df80bf3ba21fb892c9b0d8953540edfb0d1cbc5d
2,639
cpp
C++
main.cpp
jp-96/microbit-digital-capture2
3058f80f253220f37499b2efa3949f3696c2052f
[ "MIT" ]
null
null
null
main.cpp
jp-96/microbit-digital-capture2
3058f80f253220f37499b2efa3949f3696c2052f
[ "MIT" ]
null
null
null
main.cpp
jp-96/microbit-digital-capture2
3058f80f253220f37499b2efa3949f3696c2052f
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2021 jp-96 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribu...
30.333333
95
0.704433
jp-96
df8454f70a2fde833a5775e0ec59d08212a89e63
1,471
cpp
C++
src/filter.cpp
frankplus/Computer-Vision
f04c2bf2320fe8173f56dca2e92f810f68e6333e
[ "MIT" ]
2
2020-07-10T10:37:06.000Z
2020-07-10T11:14:22.000Z
src/filter.cpp
frankplus/Computer-Vision
f04c2bf2320fe8173f56dca2e92f810f68e6333e
[ "MIT" ]
null
null
null
src/filter.cpp
frankplus/Computer-Vision
f04c2bf2320fe8173f56dca2e92f810f68e6333e
[ "MIT" ]
null
null
null
#include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <iostream> #include "filter.h" using namespace std; using namespace cv; // constructor Filter::Filter(cv::Mat input_img, int size) { input_image = input_img; if (size % 2 == 0) size++; filter_size =...
21.014286
87
0.690687
frankplus
df86b706c9105a2eef30148fc0e759ff03fd9138
8,130
hpp
C++
include/cellarium/paged_storage.hpp
ortfero/cellarium
32b6d19edb5f4110a22eb74c7f9bead8982be665
[ "MIT" ]
null
null
null
include/cellarium/paged_storage.hpp
ortfero/cellarium
32b6d19edb5f4110a22eb74c7f9bead8982be665
[ "MIT" ]
null
null
null
include/cellarium/paged_storage.hpp
ortfero/cellarium
32b6d19edb5f4110a22eb74c7f9bead8982be665
[ "MIT" ]
null
null
null
/* This file is part of cellarium library * Copyright 2020 Andrei Ilin <ortfero@gmail.com> * * 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 limita...
32.261905
100
0.628659
ortfero
df894608210b5e437c6d653b3737e4e6fa9dda47
7,153
cc
C++
GeneratorInterface/LHEInterface/plugins/LHESource.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
GeneratorInterface/LHEInterface/plugins/LHESource.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
GeneratorInterface/LHEInterface/plugins/LHESource.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <functional> #include <iostream> #include <string> #include <memory> #include <boost/bind.hpp> #include <boost/ptr_container/ptr_deque.hpp> #include "FWCore/Framework/interface/InputSourceMacros.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/Framework/interface/E...
33.115741
135
0.694674
pasmuss
df89d2c08fe187fe049d534e8deed96f55c32fb7
11,811
cpp
C++
hip/matrix/dense_kernels.hip.cpp
flipflapflop/ginkgo
876234e142a0f5bb2a85bb1dd2cc488c3c5d6206
[ "BSD-3-Clause" ]
null
null
null
hip/matrix/dense_kernels.hip.cpp
flipflapflop/ginkgo
876234e142a0f5bb2a85bb1dd2cc488c3c5d6206
[ "BSD-3-Clause" ]
null
null
null
hip/matrix/dense_kernels.hip.cpp
flipflapflop/ginkgo
876234e142a0f5bb2a85bb1dd2cc488c3c5d6206
[ "BSD-3-Clause" ]
null
null
null
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2019, the Ginkgo authors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source co...
36.680124
80
0.698671
flipflapflop
df8e164c1ab2a07de0eca43a3eaa9c989dd42fbf
1,074
hpp
C++
src/Namespace.hpp
degustaf/lisp-compiler
e176d5b07d68456b07fda516b722213b07f46248
[ "MIT" ]
null
null
null
src/Namespace.hpp
degustaf/lisp-compiler
e176d5b07d68456b07fda516b722213b07f46248
[ "MIT" ]
null
null
null
src/Namespace.hpp
degustaf/lisp-compiler
e176d5b07d68456b07fda516b722213b07f46248
[ "MIT" ]
null
null
null
#ifndef NAMESPACE_HPP #define NAMESPACE_HPP #include "Interfaces.hpp" #include <map> #include "AReference.hpp" #include "Symbol.hpp" class Namespace : public AReference, public IReference_inherit<Namespace>, public std::enable_shared_from_this<Namespace> { public: const std::shared_ptr<const Symbol> name; vir...
34.645161
123
0.748603
degustaf
df8f289b23ea2b7ae77d5a04940c2d1055c8af43
1,151
cpp
C++
src/stl_generate/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
null
null
null
src/stl_generate/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
1
2020-12-12T09:55:31.000Z
2020-12-12T11:04:55.000Z
src/stl_generate/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
12
2020-12-12T09:42:22.000Z
2020-12-19T11:44:27.000Z
//Лазарев Алексей //Вместо того чтобы использовать постоянное значение для заполнения //контейнера, иногда желательно вычислить свое значение для каждого элемента //Это можно сделать с помощью алгоритма generate(породить). #include <iostream> #include <string> #include <algorithm> #include <iterator> #include <list> ...
28.775
98
0.720243
MaksimPopp
df9b20f5d86c7d0add80f831eeaaa97d55a8983b
1,133
cpp
C++
offer/problem034/Solution.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
1
2016-09-29T14:23:59.000Z
2016-09-29T14:23:59.000Z
offer/problem034/Solution.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
null
null
null
offer/problem034/Solution.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
null
null
null
class Solution { public: vector<int> GetLeastNumbers_Solution(vector<int> input, int k) { if (input.empty() || k == 0 || k > input.size()) return vector<int>(); int left = 0, right = input.size() - 1; int index = Partition(input, left, right); while (index != (k-1)) { if...
32.371429
79
0.44925
MyYaYa
df9dc069bf88d219dd9444b43c1a0b4a22806ce4
3,363
hpp
C++
Engine/Utilities/UtilityAssert.hpp
jcolwell/ogl
efa8404a25fb7a23bf5951f798a3970134e15386
[ "Unlicense" ]
null
null
null
Engine/Utilities/UtilityAssert.hpp
jcolwell/ogl
efa8404a25fb7a23bf5951f798a3970134e15386
[ "Unlicense" ]
null
null
null
Engine/Utilities/UtilityAssert.hpp
jcolwell/ogl
efa8404a25fb7a23bf5951f798a3970134e15386
[ "Unlicense" ]
null
null
null
#ifndef _ASSERT_UTILITIES_H_ #define _ASSERT_UTILITIES_H_ //================================================================================== // File: UtilityAssert.h // Desc: //================================================================================== //======================================================...
33.29703
84
0.262266
jcolwell
dfa42ef17f2e15beb8be0f47bd78b9ecd471fcb1
7,615
cxx
C++
src/PSdraw.cxx
fermi-lat/gui
d2387b2d9f2bbde3a9310ff8f2cca038a339ebf6
[ "BSD-3-Clause" ]
null
null
null
src/PSdraw.cxx
fermi-lat/gui
d2387b2d9f2bbde3a9310ff8f2cca038a339ebf6
[ "BSD-3-Clause" ]
null
null
null
src/PSdraw.cxx
fermi-lat/gui
d2387b2d9f2bbde3a9310ff8f2cca038a339ebf6
[ "BSD-3-Clause" ]
null
null
null
// $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/gui/src/PSdraw.cxx,v 1.1.1.1 2001/01/04 01:01:11 burnett Exp $ // PostScript drawer imlementation // created by Hardy, 28 Mar 94 #include "PSdraw.h" #include "gui/DisplayRep.h" #include <cstring> #include <iostream> #include <iomanip> namespace gui { sta...
23.796875
123
0.522521
fermi-lat
dfadbc755bfff32602ea68f8a30f542881f124d2
3,159
cpp
C++
SVIEngine/jni/SVI/Animation/Transition/SVIWizzleEffector.cpp
Samsung/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
27
2015-04-24T07:14:55.000Z
2020-01-24T16:16:37.000Z
SVIEngine/jni/SVI/Animation/Transition/SVIWizzleEffector.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
null
null
null
SVIEngine/jni/SVI/Animation/Transition/SVIWizzleEffector.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
15
2015-12-08T14:46:19.000Z
2020-01-21T19:26:41.000Z
#include "SVIWizzleEffector.h" #include "SVITransitionEffector.h" #include "../SVIKeyFrameAnimation.h" namespace SVI{ static const SVIBool DEBUG = SVIFALSE; SVIWizzleEffector::SVIWizzleEffector(SVIGLSurface *surface): SVITransitionEffector(surface), mSetEffectTime(0){ } void SVIWizzleEffector::setAnimation()...
44.492958
117
0.785375
Samsung
dfae754a66d0efea997b031c554bc750df35fb75
353
cpp
C++
soapy/src/driver/HiggsTDMA.cpp
siglabsoss/s-modem
0a259b4f3207dd043c198b76a4bc18c8529bcf44
[ "BSD-3-Clause" ]
null
null
null
soapy/src/driver/HiggsTDMA.cpp
siglabsoss/s-modem
0a259b4f3207dd043c198b76a4bc18c8529bcf44
[ "BSD-3-Clause" ]
null
null
null
soapy/src/driver/HiggsTDMA.cpp
siglabsoss/s-modem
0a259b4f3207dd043c198b76a4bc18c8529bcf44
[ "BSD-3-Clause" ]
null
null
null
#include "driver/HiggsTDMA.hpp" #include <iostream> void HiggsTDMA::reset() { std::cout << "HiggsTDMA reset\n"; found_dead = 0; sent_tdma = 0; lifetime_tx = 0; lifetime_rx = 0; fudge_rx = 0; needs_fudge = 0; epoc_tx = 0; } bool HiggsTDMA::needsUpdate() const { return ((lifetime_tx...
19.611111
55
0.603399
siglabsoss
dfb5dd43032185690be0e8dae1132064200a0368
792
hpp
C++
Merlin/Merlin/Platform/OpenGL/opengl_cubemap.hpp
kshatos/MerlinEngine
a7eb9b39b6cb8a02bef0f739db25268a7a06e215
[ "MIT" ]
null
null
null
Merlin/Merlin/Platform/OpenGL/opengl_cubemap.hpp
kshatos/MerlinEngine
a7eb9b39b6cb8a02bef0f739db25268a7a06e215
[ "MIT" ]
null
null
null
Merlin/Merlin/Platform/OpenGL/opengl_cubemap.hpp
kshatos/MerlinEngine
a7eb9b39b6cb8a02bef0f739db25268a7a06e215
[ "MIT" ]
null
null
null
#ifndef OPENGL_CUBEMAP_HPP #define OPENGL_CUBEMAP_HPP #include "Merlin/Render/cubemap.hpp" #include <stdint.h> namespace Merlin { class OpenGLCubemap : public Cubemap { uint32_t m_channel_count; uint32_t m_resolution; uint32_t m_id; public: OpenGLCubemap(const std::vector<s...
28.285714
86
0.694444
kshatos
dfc36dea730e557de3eafa86b5b9c02b16e52d0c
14,211
cpp
C++
reflex/src/win32/defs.cpp
xord/reflexion
7d864267152dca1ffeef757d0584777b16a92ede
[ "MIT" ]
3
2015-12-18T09:04:48.000Z
2022-01-04T22:21:20.000Z
reflex/src/win32/defs.cpp
xord/reflexion
7d864267152dca1ffeef757d0584777b16a92ede
[ "MIT" ]
null
null
null
reflex/src/win32/defs.cpp
xord/reflexion
7d864267152dca1ffeef757d0584777b16a92ede
[ "MIT" ]
null
null
null
#include "defs.h" #include <windowsx.h> #ifndef VK_BROWSER_BACK #define VK_BROWSER_BACK 0xa6 #define VK_BROWSER_FORWARD 0xa7 #define VK_BROWSER_REFRESH 0xa8 #define VK_BROWSER_STOP 0xa9 #define VK_BROWSER_SEARCH 0xaa #define VK_BROWSER_FAVORITES 0xab #define VK_BROWSER_HOME ...
46.746711
75
0.517557
xord
dfc4a1b7b904f4f29f6f2e734ed693b2bc05b654
6,224
cpp
C++
NINJA/TreeBuilderManager.cpp
jebrosen/NINJA
db4f4216fc402e73ae16be65a1fc8e5ecfeef79b
[ "MIT" ]
null
null
null
NINJA/TreeBuilderManager.cpp
jebrosen/NINJA
db4f4216fc402e73ae16be65a1fc8e5ecfeef79b
[ "MIT" ]
null
null
null
NINJA/TreeBuilderManager.cpp
jebrosen/NINJA
db4f4216fc402e73ae16be65a1fc8e5ecfeef79b
[ "MIT" ]
null
null
null
/* * TreeBuilderManager.cpp * * Created on: Feb 7, 2016 * Author: michel */ #include "TreeBuilderManager.hpp" #define LINUX 1 #ifdef LINUX #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #endif //standard constructor TreeBuilderManager::TreeBuilderManager(std::string method, std::string ...
29.358491
228
0.677378
jebrosen
dfc6194a7973a9035028ec4014b658ac6667416f
9,918
cpp
C++
Source/VoxelArt/Private/Editor/VoxelModificationWorld.cpp
limness/Voxel-Art
78e3d71f820657568d861983c46ed130fd40f807
[ "MIT" ]
32
2021-04-28T21:11:30.000Z
2022-03-27T15:28:59.000Z
Source/VoxelArt/Private/Editor/VoxelModificationWorld.cpp
limness/Voxel-Art
78e3d71f820657568d861983c46ed130fd40f807
[ "MIT" ]
null
null
null
Source/VoxelArt/Private/Editor/VoxelModificationWorld.cpp
limness/Voxel-Art
78e3d71f820657568d861983c46ed130fd40f807
[ "MIT" ]
5
2021-04-29T03:09:03.000Z
2022-01-26T03:25:47.000Z
// Voxel Art Plugin 2021 ~ Copyright Limit #include "Editor/VoxelModificationWorld.h" #include "Editor/VoxelEditorData.h" #include "DrawDebugHelpers.h" #include "Kismet/KismetMathLibrary.h" //#include "Noise/SimplexNoiseBPLibrary.h" #include "Helpers/VoxelTools.h" #include "Helpers/VoxelSDFUtilities.h" #include "He...
31.993548
151
0.672817
limness
dfc66268313230649d3d4ae8246ff9a66e52be3f
975
cpp
C++
tools/flang2/flang2exe/expdf.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
1
2019-12-11T17:43:58.000Z
2019-12-11T17:43:58.000Z
tools/flang2/flang2exe/expdf.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
2
2019-12-29T21:15:40.000Z
2020-06-15T11:21:10.000Z
tools/flang2/flang2exe/expdf.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
3
2019-12-21T06:35:35.000Z
2020-06-07T23:18:58.000Z
/* * Copyright (c) 1993-2017, NVIDIA CORPORATION. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
23.214286
75
0.718974
kammerdienerb
dfc72e679b0348d8241eda86cc1ac649d09d69dd
580
cpp
C++
Dataset/Leetcode/train/111/521.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/111/521.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/111/521.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int XXX(TreeNode* root) { if (root == nullptr) return 0; queue<pair<TreeNode*, int>> Q; Q.push(make_pair(root, 1)); while (!Q.empty()) { auto p = Q.front(); Q.pop(); TreeNode* node = p.first; int height = p.second; if (node -> lef...
34.117647
96
0.513793
kkcookies99
dfc760691f5de76168a9b52cd15eaf64f33eeff3
2,169
hpp
C++
src/qtf/frameless/windows10.hpp
Qt-Widgets/qt_frameless_main_window
6b3095518ffaf7cc519c8c5635f173508e8be14d
[ "MIT" ]
2
2020-09-22T01:14:44.000Z
2020-09-22T01:14:47.000Z
src/qtf/frameless/windows10.hpp
w1146869587/qt_frameless_main_window
b2bb8a9b1ac755eb99a3ad956abfd69286af2dc3
[ "MIT" ]
null
null
null
src/qtf/frameless/windows10.hpp
w1146869587/qt_frameless_main_window
b2bb8a9b1ac755eb99a3ad956abfd69286af2dc3
[ "MIT" ]
null
null
null
/** SPDX-License-Identifier: MIT Licensed under the MIT License <http://opensource.org/licenses/MIT>. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without l...
22.59375
78
0.714615
Qt-Widgets
dfc7a153e75c3cfc9a922805c0b3278821c8d641
5,231
cpp
C++
pheroes/Game/Dlg_Recruit.cpp
TripleMOMO/pocketheroes
6a6f0726c8ea590592290ac53c38e653cf7f966c
[ "Apache-2.0" ]
3
2015-08-08T09:10:02.000Z
2016-03-21T08:48:19.000Z
pheroes/Game/Dlg_Recruit.cpp
TripleMOMO/pocketheroes
6a6f0726c8ea590592290ac53c38e653cf7f966c
[ "Apache-2.0" ]
null
null
null
pheroes/Game/Dlg_Recruit.cpp
TripleMOMO/pocketheroes
6a6f0726c8ea590592290ac53c38e653cf7f966c
[ "Apache-2.0" ]
1
2015-08-21T23:32:49.000Z
2015-08-21T23:32:49.000Z
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
34.873333
177
0.678455
TripleMOMO
dfc87e51f149168db8393d5a93ea223deb25fb37
2,435
cpp
C++
net/homenet/beacon/server/cnatdynamicportmappingservice.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/homenet/beacon/server/cnatdynamicportmappingservice.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/homenet/beacon/server/cnatdynamicportmappingservice.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "pch.h" #pragma hdrstop #include "CNATDynamicPortMappingService.h" CNATDynamicPortMappingService::CNATDynamicPortMappingService() { m_pEventSink = NULL; m_pHNetConnection = NULL; } HRESULT CNATDynamicPortMappingService::FinalConstruct() { HRESULT hr = S_OK; return hr; } ...
21.741071
179
0.728131
npocmaka
dfcba19554376eeba3742efee0004cfe44626c81
3,076
cpp
C++
gtclang/src/gtclang/Support/Logger.cpp
muellch/dawn
4fd055df809ce920ca15ffc6137b2be2aed3a2dd
[ "MIT" ]
20
2017-09-28T14:23:54.000Z
2021-08-23T09:58:26.000Z
gtclang/src/gtclang/Support/Logger.cpp
muellch/dawn
4fd055df809ce920ca15ffc6137b2be2aed3a2dd
[ "MIT" ]
1,018
2017-10-09T13:55:47.000Z
2022-03-14T13:16:38.000Z
gtclang/src/gtclang/Support/Logger.cpp
eddie-c-davis/dawn
4dabcfc72e422f125e6a18fe08d0212d588adf98
[ "MIT" ]
20
2017-09-21T10:35:24.000Z
2021-01-18T09:24:58.000Z
//===--------------------------------------------------------------------------------*- C++ -*-===// // _ _ // | | | | // __ _| |_ ___| | __ _ _ __ __ _ // / _` | __/ __| |/ _` | '_ \ / _` | // | (_| | || (_...
38.45
100
0.516905
muellch
dfd1932a30a21161f6deab54b076cc19ae0b4031
10,438
cpp
C++
source/gfx/gfx_objects.cpp
SaeruHikari/VulkanLittleMaster
204696b0eb87500bc6ed3ed7fca68f1458e698a1
[ "MIT" ]
3
2022-03-16T03:57:49.000Z
2022-03-20T08:05:35.000Z
source/gfx/gfx_objects.cpp
SaeruHikari/VulkanLittleMaster
204696b0eb87500bc6ed3ed7fca68f1458e698a1
[ "MIT" ]
null
null
null
source/gfx/gfx_objects.cpp
SaeruHikari/VulkanLittleMaster
204696b0eb87500bc6ed3ed7fca68f1458e698a1
[ "MIT" ]
null
null
null
#include "gfx/gfx_objects.h" #include <vector> #include <string_view> #include <iostream> void LittleGFXAdapter::queryProperties() { vkPhysDeviceProps.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; vkGetPhysicalDeviceProperties2(vkPhysicalDevice, &vkPhysDeviceProps); std::cout << vkPhysDeviceProps...
37.68231
103
0.705403
SaeruHikari
2545e205869b639b32dce6ec67a8964fd50b4824
2,169
cpp
C++
LeetCode/C++/General/Medium/ExclusiveTimeOfFunctions/solution.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Medium/ExclusiveTimeOfFunctions/solution.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
LeetCode/C++/General/Medium/ExclusiveTimeOfFunctions/solution.cpp
busebd12/InterviewPreparation
e68c41f16f7790e44b10a229548186e13edb5998
[ "MIT" ]
null
null
null
#include <string> #include <unordered_map> #include <vector> using namespace std; /* Solution: inspired by this blog post --> https://leetcode.com/problems/exclusive-time-of-functions/discuss/1889699/CPP-O(n)-time-using-stack Time complexity: O(n) [where n is the length of logs] Space complexity: O(n) */ class Solut...
27.1125
140
0.423237
busebd12
2547637c7fa4c3af8dc1ca379700190fbfc2dce1
1,878
cc
C++
second-project/solutions/TLM/LT/src/multiplier_LT.cc
elenaramon/Embedded-systems-design-projects
228f50e40a46a4c9fc738d38f910a22663900697
[ "MIT" ]
null
null
null
second-project/solutions/TLM/LT/src/multiplier_LT.cc
elenaramon/Embedded-systems-design-projects
228f50e40a46a4c9fc738d38f910a22663900697
[ "MIT" ]
null
null
null
second-project/solutions/TLM/LT/src/multiplier_LT.cc
elenaramon/Embedded-systems-design-projects
228f50e40a46a4c9fc738d38f910a22663900697
[ "MIT" ]
null
null
null
#include "multiplier_LT.hh" multiplier_LT::multiplier_LT(sc_module_name name_): sc_module(name_), target_socket("target_socket"), pending_transaction(NULL) { target_socket(*this); } void multiplier_LT::b_transport(tlm::tlm_generic_payload & trans, sc_time & t) { timing_annotation = SC_ZERO_TIME; ioDataStruct =...
32.37931
129
0.71885
elenaramon
254779133b07ff07a5ad9bb642d5d4b4567dfdb0
244
cpp
C++
Sandbox/src/OtherTests.cpp
Hyxogen/Air-Tester
b495fa1f8cac1086577692aabc2fa21f2d648808
[ "Apache-2.0" ]
1
2021-11-16T14:50:01.000Z
2021-11-16T14:50:01.000Z
Sandbox/src/OtherTests.cpp
Hyxogen/Air-Tester
b495fa1f8cac1086577692aabc2fa21f2d648808
[ "Apache-2.0" ]
null
null
null
Sandbox/src/OtherTests.cpp
Hyxogen/Air-Tester
b495fa1f8cac1086577692aabc2fa21f2d648808
[ "Apache-2.0" ]
null
null
null
#include <AirTester.h> #include <iostream> TEST(other_tests, test_other) { EXPECT_TRUE(false); EXPECT_TRUE(!true); EXPECT_TRUE(!!false); EXPECT_TRUE(!!!!!false); EXPECT_TRUE(false); // std::cout << "This is another test!" << std::endl; }
22.181818
54
0.684426
Hyxogen
254ab8e1dd62bbb70df38566d0eedd2d9be7e406
1,307
cpp
C++
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/unsortedtype(23).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/unsortedtype(23).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/unsortedtype(23).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
#include "UnsortedType.h" template<class ItemType> UnsortedType<ItemType>::UnsortedType() { length=0; currentPos=-1; } template<class ItemType> void UnsortedType<ItemType>::MakeEmpty() { length =0; } template<class ItemType> bool UnsortedType<ItemType>::IsFull() { return (length == MAX_ITEMS); } tem...
16.3375
70
0.653405
diptu
255023e849b9bc071d3e5a5cb2a6f0054b4fd1b8
5,366
cpp
C++
ProblemSelect/Control.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ProblemSelect/Control.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ProblemSelect/Control.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Control.cpp - Program Control //********************************************************* #include "ProblemSelect.hpp" #include "Utility.hpp" //--------------------------------------------------------- // Program_Control //-------------------------------...
25.074766
85
0.631196
kravitz
25534e17aafff04a64555557f7a5161924630dc5
364
cpp
C++
925. Long Pressed Name.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
925. Long Pressed Name.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
925. Long Pressed Name.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
class Solution { public: bool isLongPressedName(string name, string typed) { int a = 0, b = 0, n = name.size(), m = typed.size(); while (a < n && b < m) { if (name[a++] != typed[b++]) return false; while (b > 0 && name[a] != typed[b] && typed[b] == typed[b - 1]) ++b; ...
30.333333
81
0.445055
rajeev-ranjan-au6