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
109
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
48.5k
⌀
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
a3058094abe1b074264ac66c2a86ee38973f19fe
3,871
cpp
C++
src/mlpack/methods/matrix_completion/matrix_completion.cpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
675
2019-02-07T01:23:19.000Z
2022-03-28T05:45:10.000Z
src/mlpack/methods/matrix_completion/matrix_completion.cpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
843
2019-01-25T01:06:46.000Z
2022-03-16T11:15:53.000Z
src/mlpack/methods/matrix_completion/matrix_completion.cpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
83
2019-02-20T06:18:46.000Z
2022-03-20T09:36:09.000Z
/** * @file matrix_completion_impl.hpp * @author Stephen Tu * * Implementation of MatrixCompletion class. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. If not...
31.991736
79
0.564195
RMaron
a305cef7b75560f8fc5e6b59f5ff145d519ea259
853
cpp
C++
WxHook/HookPort/NTDLL/Dispatch_NTDLL_NtClose.cpp
ac-km/MicroMsg
62532e184ae2fdc34ba0f711bcc4487e4d591676
[ "MIT" ]
2
2020-03-03T09:50:34.000Z
2020-04-06T13:41:01.000Z
WxHook/HookPort/NTDLL/Dispatch_NTDLL_NtClose.cpp
ac-km/MicroMsg
62532e184ae2fdc34ba0f711bcc4487e4d591676
[ "MIT" ]
null
null
null
WxHook/HookPort/NTDLL/Dispatch_NTDLL_NtClose.cpp
ac-km/MicroMsg
62532e184ae2fdc34ba0f711bcc4487e4d591676
[ "MIT" ]
3
2019-11-20T05:52:59.000Z
2020-03-03T09:50:33.000Z
#include <windows.h> #include <ntsecapi.h> #include "./Dispatch_NTDLL_NtClose.h" #include"../../Common/DebugLog.h" #include"../HookPort.h" // //Global // __pfnNtClose pfnNtClose = NULL; // //Dispatch_NTDLL_NtClose Functions // NTSTATUS NTAPI OnNtClose( IN HANDLE Handle ) { NT...
12.924242
69
0.606096
ac-km
a3071f3eee118222688f762d65b9345db8c66eb4
1,784
hpp
C++
JEBString/JEBString/Encodings/Encoding.hpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
1
2019-12-25T05:30:20.000Z
2019-12-25T05:30:20.000Z
JEBString/JEBString/Encodings/Encoding.hpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
JEBString/JEBString/Encodings/Encoding.hpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
#ifndef JEBSTRING_ENCODINGS_ENCODING_HPP #define JEBSTRING_ENCODINGS_ENCODING_HPP #include <string> #include "JEBBase/Bits/Endian.hpp" #include "JEBString/JEBStringFlags.hpp" #include "EncodingProperties.hpp" namespace JEBString { namespace Encodings { static const size_t ByteOrderMarkMaxLength = 4; const EncodingP...
37.166667
77
0.743834
jebreimo
a3098347cc2706d9879113cfc37d61288171af95
70,437
cpp
C++
src/btop_draw.cpp
sebix/btop
53d2c6ebe38dccac7ab93c1b6b13ff0ae61069a8
[ "Apache-2.0" ]
1
2021-12-19T10:38:27.000Z
2021-12-19T10:38:27.000Z
src/btop_draw.cpp
sebix/btop
53d2c6ebe38dccac7ab93c1b6b13ff0ae61069a8
[ "Apache-2.0" ]
null
null
null
src/btop_draw.cpp
sebix/btop
53d2c6ebe38dccac7ab93c1b6b13ff0ae61069a8
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 Aristocratos (jakob@qvantnet.com) 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 ...
42.611615
210
0.594631
sebix
a30b0fbde33e2654af130a97b7f2bf0b907f34d8
341,859
cpp
C++
src/gausskernel/optimizer/commands/copy.cpp
Purlemon/openGuass-603
14b7414a8da671f1dfbafa2006660f5da27f6a36
[ "MulanPSL-1.0" ]
1
2021-11-05T10:14:39.000Z
2021-11-05T10:14:39.000Z
src/gausskernel/optimizer/commands/copy.cpp
Purlemon/openGuass-603
14b7414a8da671f1dfbafa2006660f5da27f6a36
[ "MulanPSL-1.0" ]
null
null
null
src/gausskernel/optimizer/commands/copy.cpp
Purlemon/openGuass-603
14b7414a8da671f1dfbafa2006660f5da27f6a36
[ "MulanPSL-1.0" ]
null
null
null
/* ------------------------------------------------------------------------- * * copy.cpp * Implements the COPY utility command * * Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd. * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the Unive...
38.264943
140
0.576448
Purlemon
a3120a29a6c23a74880557001d76274a9fd3bd8b
8,242
cpp
C++
tools/eeprom-tool/eeprom_tool.cpp
mikewow46/ADI_96
ea8ffd556b58718ce4061a734801b60357159e78
[ "BSD-3-Clause" ]
null
null
null
tools/eeprom-tool/eeprom_tool.cpp
mikewow46/ADI_96
ea8ffd556b58718ce4061a734801b60357159e78
[ "BSD-3-Clause" ]
null
null
null
tools/eeprom-tool/eeprom_tool.cpp
mikewow46/ADI_96
ea8ffd556b58718ce4061a734801b60357159e78
[ "BSD-3-Clause" ]
null
null
null
/* * BSD 3-Clause License * * Copyright (c) 2020, Analog Devices, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyrigh...
32.577075
81
0.649114
mikewow46
a314d8ee725bad212ed3e13080721170e32ff372
2,765
cpp
C++
samples/snippets/cpp/VS_Snippets_Remoting/HttpWebRequest_Timeout/CPP/httpwebrequest_timeout.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_Remoting/HttpWebRequest_Timeout/CPP/httpwebrequest_timeout.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_Remoting/HttpWebRequest_Timeout/CPP/httpwebrequest_timeout.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
/*System::Net::HttpWebRequest::Time->Item[Out] This program demonstrates the 'Timeout' property of the HttpWebRequest Class. A new HttpWebRequest Object is created. The default value of the 'Timeout' property is printed to the console. It is then set to some value and displayed to the console. If the 'Timeout' prop...
44.596774
141
0.659313
hamarb123
a315fcf196a820d379cf77720859aba7f32cbfab
5,791
cc
C++
src/jx/Proxy/Mozilla_340/JXString.cc
jxcore/jxcore
b05f1f2d2c9d62c813c7d84f3013dbbf30b6e410
[ "Apache-2.0" ]
2,494
2015-02-11T04:34:13.000Z
2022-03-31T14:21:47.000Z
src/jx/Proxy/Mozilla_340/JXString.cc
Python3pkg/jxcore
b05f1f2d2c9d62c813c7d84f3013dbbf30b6e410
[ "Apache-2.0" ]
685
2015-02-11T17:14:26.000Z
2021-04-13T09:58:39.000Z
src/jx/Proxy/Mozilla_340/JXString.cc
Python3pkg/jxcore
b05f1f2d2c9d62c813c7d84f3013dbbf30b6e410
[ "Apache-2.0" ]
442
2015-02-12T13:45:46.000Z
2022-03-21T05:28:05.000Z
/* Copyright (c) 2014, Oguz Bastemur (oguz@bastemur.com) * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AN...
22.980159
80
0.620446
jxcore
a316092fed91280b19bf4d59e90c9157ad978fc6
77
hpp
C++
cluster/common/version.hpp
Stefar77/cbsd
4fdf381ec3cdeb633bb88402dc5813a84f716374
[ "BSD-2-Clause" ]
null
null
null
cluster/common/version.hpp
Stefar77/cbsd
4fdf381ec3cdeb633bb88402dc5813a84f716374
[ "BSD-2-Clause" ]
null
null
null
cluster/common/version.hpp
Stefar77/cbsd
4fdf381ec3cdeb633bb88402dc5813a84f716374
[ "BSD-2-Clause" ]
2
2020-02-29T15:03:22.000Z
2020-02-29T15:17:04.000Z
#ifndef VERSION_HPP #define VERSION_HPP #define VERSION "0.1 ALPHA" #endif
11
27
0.766234
Stefar77
a317e73a6495e40c39a348ba8bdbf6fe0daf78b4
987
cc
C++
src/SensorEventCallbackInvoker.cc
spuun/node-jontelldus
002c503da2604551e74f00d0c0a0543af113749a
[ "MIT" ]
2
2017-03-03T15:32:20.000Z
2019-01-30T11:03:03.000Z
src/SensorEventCallbackInvoker.cc
spuun/node-jontelldus
002c503da2604551e74f00d0c0a0543af113749a
[ "MIT" ]
1
2017-03-03T15:43:59.000Z
2017-03-05T08:29:21.000Z
src/SensorEventCallbackInvoker.cc
spuun/node-jontelldus
002c503da2604551e74f00d0c0a0543af113749a
[ "MIT" ]
null
null
null
#include "SensorEventCallbackInvoker.h" namespace JonTelldus { SensorEventCallbackInvoker::SensorEventCallbackInvoker( Nan::Callback *callback, const char *protocol_, const char *model_, int id_, int dataType_, const char *value_, int timestamp_) : CallbackInvoker(c...
25.973684
87
0.619048
spuun
a319380066e6f268ad6e42fec670b9d1fa11a173
2,713
hpp
C++
vm/assembler/relocation.hpp
deepakec/rubinius
5ebbdf3d9a4e258204e0d21f00500de4f3fb6085
[ "BSD-3-Clause" ]
1
2016-05-08T21:05:11.000Z
2016-05-08T21:05:11.000Z
vm/assembler/relocation.hpp
Winstonwzl/rubinius
578033a43c4530ae2a1f00d51ef99d156fe3c846
[ "BSD-3-Clause" ]
null
null
null
vm/assembler/relocation.hpp
Winstonwzl/rubinius
578033a43c4530ae2a1f00d51ef99d156fe3c846
[ "BSD-3-Clause" ]
null
null
null
#ifndef RBX_ASM_RELOCATION #define RBX_ASM_RELOCATION #include <string> #include <stdint.h> #include <map> namespace assembler { class Relocation { public: // Types enum Kind { Relative, LocalAbsolute }; enum TargetKind { Absolute, Symbol }; private: Kind kind_; ...
21.879032
78
0.59307
deepakec
a325237727ec63f4bb37a960572b3799ccea59c1
9,604
cpp
C++
DirectX11/Utilities.cpp
simul/Platform
5825b3ce8540c6996ba6ab59a55581e44c68e7ad
[ "MIT" ]
5
2020-07-20T15:47:46.000Z
2021-12-23T20:54:22.000Z
DirectX11/Utilities.cpp
simul/Platform
5825b3ce8540c6996ba6ab59a55581e44c68e7ad
[ "MIT" ]
1
2021-07-12T09:53:30.000Z
2021-07-12T09:53:30.000Z
DirectX11/Utilities.cpp
simul/Platform
5825b3ce8540c6996ba6ab59a55581e44c68e7ad
[ "MIT" ]
3
2020-10-01T14:02:28.000Z
2021-05-27T14:15:35.000Z
#include "Utilities.h" #include "MacrosDX1x.h" #include "Platform/Core/StringToWString.h" #include "Platform/CrossPlatform/Camera.h" #include "Platform/DirectX11/Effect.h" #include "Platform/DirectX11/DX11Exception.h" #include "Platform/CrossPlatform/RenderPlatform.h" #include "Platform/CrossPlatform/DeviceContext.h" ...
32.555932
233
0.783007
simul
a32553b026f261d2bb7c2673b48c629c2fcfb84f
1,219
cpp
C++
libs/renderer/src/renderer/display_mode/output.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/renderer/src/renderer/display_mode/output.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/renderer/src/renderer/display_mode/output.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #include <sge/renderer/display_mode/dimensions.hpp> #include <sge/renderer/display_mode/object.hpp>...
34.828571
95
0.700574
cpreh
a325601e482969c32e037621dfedb3a5e7c14ceb
680
hpp
C++
include/Env.hpp
scribelang/scribe-poc
c1ba4dafbb3b38a5b408e068747a5ed0f3e49e25
[ "MIT" ]
null
null
null
include/Env.hpp
scribelang/scribe-poc
c1ba4dafbb3b38a5b408e068747a5ed0f3e49e25
[ "MIT" ]
null
null
null
include/Env.hpp
scribelang/scribe-poc
c1ba4dafbb3b38a5b408e068747a5ed0f3e49e25
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2021 Scribe Language Repositories Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
23.448276
78
0.754412
scribelang
a32c6cf7a134ddb709e51e7ac62656eafb351a02
248,070
cpp
C++
SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs58.cpp
frenchmajorcsminor/MapsSDK-Unity
0b3c0713d63279bd9fa62837fa7559d7f3cbd439
[ "MIT" ]
null
null
null
SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs58.cpp
frenchmajorcsminor/MapsSDK-Unity
0b3c0713d63279bd9fa62837fa7559d7f3cbd439
[ "MIT" ]
null
null
null
SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs58.cpp
frenchmajorcsminor/MapsSDK-Unity
0b3c0713d63279bd9fa62837fa7559d7f3cbd439
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Collections.Generic.KeyValuePair`2<Microsoft.Geospatial.TileId,=a4d=>[] struct KeyValuePair_2U5BU5D_t54F10ED446755B19...
61.040846
1,984
0.868972
frenchmajorcsminor
a32e9c9f655d121d0ddc881a07973b6c1ab13a24
26,828
cpp
C++
raid/Setup/VRDev.cpp
OS2World/DRV-VRAID
7154196d3d06293259354572f72fd3b36f39924c
[ "BSD-3-Clause" ]
null
null
null
raid/Setup/VRDev.cpp
OS2World/DRV-VRAID
7154196d3d06293259354572f72fd3b36f39924c
[ "BSD-3-Clause" ]
null
null
null
raid/Setup/VRDev.cpp
OS2World/DRV-VRAID
7154196d3d06293259354572f72fd3b36f39924c
[ "BSD-3-Clause" ]
null
null
null
/* * $Source: R:/Source/driver/raid/Setup/RCS/VRDev.cpp,v $ * $Revision: 1.16 $ * $Date: 2000/08/07 01:33:53 $ * $Locker: $ * * Implements classes VRDev and direct childs. * * $Log: VRDev.cpp,v $ * Revision 1.16 2000/08/07 01:33:53 vitus * - VORDev: changed class member 'hd' to 'flt_hd' * * Revision 1.15...
19.525473
86
0.534926
OS2World
a32fac93247149633b9f4b07aa0e9096440f6931
628
hpp
C++
src/Enemy.hpp
smithnic/rglk
a76912c2eda78fd22fad9e4e89ead4d7350cb146
[ "MIT" ]
null
null
null
src/Enemy.hpp
smithnic/rglk
a76912c2eda78fd22fad9e4e89ead4d7350cb146
[ "MIT" ]
null
null
null
src/Enemy.hpp
smithnic/rglk
a76912c2eda78fd22fad9e4e89ead4d7350cb146
[ "MIT" ]
null
null
null
#ifndef _ENEMY_ #define _ENEMY_ #include <string> #include <stdlib.h> #include "Item.hpp" using namespace std; class Enemy { public: Enemy(int r, int c); // Random enemy at (r, c) int getR(); int getC(); int getHealth(); int getPower(); int getRange(); string getName(); ...
17.942857
51
0.568471
smithnic
cd1aced695ca0215b3294f7f1652adb180a72510
6,196
cpp
C++
app/src/main/cpp/nbbook/tools/xml/SAXParserImpl.cpp
kartikhimself/NBReader
e423b13915578ab95c1683bfa7a70e59f19f2eab
[ "Apache-2.0" ]
29
2020-02-21T16:11:59.000Z
2022-02-09T08:49:29.000Z
app/src/main/cpp/nbbook/tools/xml/SAXParserImpl.cpp
kartikhimself/NBReader
e423b13915578ab95c1683bfa7a70e59f19f2eab
[ "Apache-2.0" ]
5
2020-03-12T02:55:40.000Z
2021-06-30T10:50:08.000Z
app/src/main/cpp/nbbook/tools/xml/SAXParserImpl.cpp
newbiechen1024/NBReader
e423b13915578ab95c1683bfa7a70e59f19f2eab
[ "Apache-2.0" ]
6
2020-03-18T12:07:07.000Z
2021-12-14T03:51:27.000Z
// author : newbiechen // date : 2020-02-15 15:04 // description : // #include "SAXParserImpl.h" #include "../../util/StringUtil.h" #include "../../util/Logger.h" #include "SAXHandler.h" static const std::string TAG = "SAXParserImpl"; static const size_t BUFFER_SIZE = 1024 * 8; static const char TEXT_SPLIT = ':'; ...
25.186992
97
0.633312
kartikhimself
cd1dcd12aca6ddd2daa3570ef7e9b5d701a2ecc2
5,156
hpp
C++
src/libsocket/event_impl.hpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
4
2017-11-24T09:47:18.000Z
2019-02-18T14:43:05.000Z
src/libsocket/event_impl.hpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
1
2018-04-11T12:42:25.000Z
2018-04-11T12:42:25.000Z
src/libsocket/event_impl.hpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
2
2019-01-10T14:11:28.000Z
2021-05-31T11:14:46.000Z
#pragma once #include "poll_master.hpp" #include "native.hpp" #include <belt.pp/ievent.hpp> #include <belt.pp/queue.hpp> #include <belt.pp/scope_helper.hpp> #include <belt.pp/timer.hpp> #include <list> #include <mutex> #include <unordered_map> #include <unordered_set> using beltpp::on_failure; using std::list; usi...
27.136842
82
0.530062
publiqnet
cd1ddc6b0337261eb7e3c9298f9c5a2d7b4487ad
393
cpp
C++
kattis_done/mosquito.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
kattis_done/mosquito.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
kattis_done/mosquito.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int M, P, L; int E, R, S, N; while(scanf("%d", &M) != EOF) { cin >> P >> L; cin >> E >> R >> S >> N; vector<int> c(3, 0); c[0] = L; c[1] = P; c[2] = M; while(N--) { vector<int> temp = c; temp[0] = c[2] * E; temp[1] = c[0] / R; temp[...
16.375
32
0.424936
heiseish
cd24607bb26b7db5f167b9d6807cda4699f61bee
586
hpp
C++
btcb/node/voting.hpp
melnaquib/btcb
f55c9867113d403118c3028d5ba11a0debcd7609
[ "BSD-2-Clause" ]
8
2019-03-01T13:33:33.000Z
2019-06-02T04:42:38.000Z
btcb/node/voting.hpp
melnaquib/btcb
f55c9867113d403118c3028d5ba11a0debcd7609
[ "BSD-2-Clause" ]
null
null
null
btcb/node/voting.hpp
melnaquib/btcb
f55c9867113d403118c3028d5ba11a0debcd7609
[ "BSD-2-Clause" ]
5
2019-04-03T14:27:56.000Z
2019-12-22T17:14:28.000Z
#pragma once #include <btcb/lib/numbers.hpp> #include <boost/thread.hpp> #include <condition_variable> #include <deque> #include <mutex> namespace btcb { class node; class vote_generator { public: vote_generator (btcb::node &, std::chrono::milliseconds); void add (btcb::block_hash const &); void stop (); privat...
17.235294
58
0.715017
melnaquib
cd29f0e264a03c1684214f7448576f2a8c4d3f3e
13,555
cpp
C++
src/main.cpp
telemetryjet/tjet-cli
99b0fff10f4371e16f487c271b82b19220b344a3
[ "MIT" ]
3
2021-01-18T05:55:40.000Z
2022-03-07T16:26:42.000Z
src/main.cpp
telemetryjet/tjet-cli
99b0fff10f4371e16f487c271b82b19220b344a3
[ "MIT" ]
3
2020-12-12T21:21:32.000Z
2021-05-19T15:29:21.000Z
src/main.cpp
telemetryjet/tjet-cli
99b0fff10f4371e16f487c271b82b19220b344a3
[ "MIT" ]
null
null
null
#include "CLI/App.hpp" #include "CLI/Config.hpp" #include "CLI/Formatter.hpp" #include "services/service_manager.h" #include "src/version.h" #include <fmt/format.h> #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> #include "utility/glob/glob.h" #include "utility/path_utils.h" #include <boost/algo...
40.342262
240
0.582368
telemetryjet
cd2a0166c3fbf30f8b972e93214e1b4716134e3e
960
hpp
C++
library/L1_Peripheral/timer.hpp
ChrisFSF/SJSU-Dev2
d27924504ee6b16f135cdb6a527c8cf05dce5d49
[ "Apache-2.0" ]
null
null
null
library/L1_Peripheral/timer.hpp
ChrisFSF/SJSU-Dev2
d27924504ee6b16f135cdb6a527c8cf05dce5d49
[ "Apache-2.0" ]
null
null
null
library/L1_Peripheral/timer.hpp
ChrisFSF/SJSU-Dev2
d27924504ee6b16f135cdb6a527c8cf05dce5d49
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstdint> #include "L0_Platform/interrupt.hpp" #include "utility/status.hpp" namespace sjsu { class Timer { public: // Modes for each match register that when match register matches timer // system can trigger an Interrupt, Stop Counter, or Restart and in any // mixture of those commands...
28.235294
75
0.610417
ChrisFSF
cd2f904460c063ceb2af8afd4807479289eb9e1b
3,929
cpp
C++
Sourcecode/private/mxtest/core/PartwisePartTest.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
45
2019-04-16T19:55:08.000Z
2022-02-14T02:06:32.000Z
Sourcecode/private/mxtest/core/PartwisePartTest.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
70
2019-04-07T22:45:21.000Z
2022-03-03T15:35:59.000Z
Sourcecode/private/mxtest/core/PartwisePartTest.cpp
Webern/MxOld
822f5ccc92363ddff118e3aa3a048c63be1e857e
[ "MIT" ]
21
2019-05-13T13:59:06.000Z
2022-03-25T02:21:05.000Z
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #include "mxtest/control/CompileControl.h" #ifdef MX_COMPILE_CORE_TESTS #include "cpul/cpulTestHarness.h" #include "mxtest/core/HelperFunctions.h" #include "mxtest/core/PartwisePartTest.h" #include "mxtest/core/Par...
30.223077
80
0.549249
Webern
cd393c4f914bf3f46d6722f7408714de1bc5b20e
34,288
cpp
C++
src/drc/frDRC_init.cpp
ABKGroup/TritonRoute-WXL
cdca66c5b03b4c80f4b8f7ef1586fb3de3a4561d
[ "CC-BY-3.0", "Apache-2.0" ]
11
2020-11-03T09:50:22.000Z
2022-02-16T11:29:02.000Z
src/drc/frDRC_init.cpp
asyncvlsi/TritonRoute-WXL
473809d96157c1cbe1ed8a5abf5ce03d9181cb44
[ "CC-BY-3.0", "Apache-2.0" ]
null
null
null
src/drc/frDRC_init.cpp
asyncvlsi/TritonRoute-WXL
473809d96157c1cbe1ed8a5abf5ce03d9181cb44
[ "CC-BY-3.0", "Apache-2.0" ]
4
2021-02-25T08:50:06.000Z
2022-02-02T01:56:13.000Z
/* Authors: Lutong Wang and Bangqi Xu */ /* * Copyright (c) 2019, The Regents of the University of California * 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 sour...
38.140156
135
0.547859
ABKGroup
cd39d549ed7ae85dbd5bf394fdf050f7661bf4ae
4,851
cpp
C++
userspace/apps/onboarding/main.cpp
ammarfaizi2/skift
df0013c4c2caee917d1bba994cf3bd16c206ed2a
[ "MIT" ]
1
2021-08-03T16:12:50.000Z
2021-08-03T16:12:50.000Z
userspace/apps/onboarding/main.cpp
aurshon/skift
58050c1a520e30577d8ea7f8588f0829ba6291f2
[ "MIT" ]
null
null
null
userspace/apps/onboarding/main.cpp
aurshon/skift
58050c1a520e30577d8ea7f8588f0829ba6291f2
[ "MIT" ]
null
null
null
#include <libio/Format.h> #include <libwidget/Application.h> #include <libwidget/Elements.h> #include <libwidget/Screen.h> struct Page { String header; Vector<String> lines; String footer; }; static const Vector<Page> PAGES = { { "Welcome to skiftOS!", { "skiftOS is a simp...
28.040462
136
0.602556
ammarfaizi2
cd3a1ad1f3a65f3b3b14fab4bc25008ea5b28327
842
cpp
C++
src/scene/kava_element.cpp
chellmuth/gpu-motunui
1369c98408c4c59bfddff45ae00281f6463527ec
[ "MIT" ]
139
2020-10-05T16:33:28.000Z
2022-03-30T06:48:29.000Z
src/scene/kava_element.cpp
chellmuth/gpu-motunui
1369c98408c4c59bfddff45ae00281f6463527ec
[ "MIT" ]
1
2020-10-20T15:40:21.000Z
2020-10-21T16:36:17.000Z
src/scene/kava_element.cpp
chellmuth/gpu-motunui
1369c98408c4c59bfddff45ae00281f6463527ec
[ "MIT" ]
5
2020-10-20T13:52:31.000Z
2021-09-27T13:19:20.000Z
#include "scene/kava_element.hpp" namespace moana { KavaElement::KavaElement() { const std::string moanaRoot = MOANA_ROOT; m_elementName = "isKava"; m_mtlLookup = { "bark", "barkSimple", "leaves", }; m_materialOffset = 72; m_baseObjs = { moanaRoot + "/island...
15.592593
75
0.581948
chellmuth
cd3ad200280e2ba20eac2176c3a86738f5a70a58
7,467
hpp
C++
ToolkitNF/Managers/MouseManager.hpp
SlyVTT/Widget_NF_Nspire_and_PC
cdf921cc931eaa99ed765d1640253e060bc259cb
[ "MIT" ]
null
null
null
ToolkitNF/Managers/MouseManager.hpp
SlyVTT/Widget_NF_Nspire_and_PC
cdf921cc931eaa99ed765d1640253e060bc259cb
[ "MIT" ]
null
null
null
ToolkitNF/Managers/MouseManager.hpp
SlyVTT/Widget_NF_Nspire_and_PC
cdf921cc931eaa99ed765d1640253e060bc259cb
[ "MIT" ]
null
null
null
#ifndef MOUSEMANAGER_H #define MOUSEMANAGER_H #include "../Globals/GlobalFunctions.hpp" #include "../Globals/GUIToolkitNFGlobals.hpp" #if RENDER_WITH_SDL == 1 #include <SDL/SDL.h> #else #include <ngc.h> #endif #if TARGET_NSPIRE == 0 #include <SDL/SDL.h> // used to get access to SDL_Ev...
33.334821
108
0.676979
SlyVTT
cd3b4d40ba4df029b3ae2050c85f4ca94d76daf0
1,329
cpp
C++
projects/Phantom/phantom/lang/InstanceCache.cpp
vlmillet/phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
12
2019-12-26T00:55:39.000Z
2020-12-03T14:46:56.000Z
projects/Phantom/phantom/lang/InstanceCache.cpp
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
null
null
null
projects/Phantom/phantom/lang/InstanceCache.cpp
vlmillet/Phantom
e5579ea52dafded64fd2fe88aabfdf8a73534918
[ "MIT" ]
1
2020-12-09T11:47:13.000Z
2020-12-09T11:47:13.000Z
// license [ // This file is part of the Phantom project. Copyright 2011-2020 Vivien Millet. // Distributed under the MIT license. Text available here at // https://github.com/vlmillet/phantom // ] #include "InstanceCache.h" namespace phantom { namespace lang { InstanceCache::InstanceCache(Class* a_pClass) : m_pClass...
30.906977
104
0.734387
vlmillet
cd3b5164dfa442136b153de369000fed1639846d
4,694
cpp
C++
src/math/color.cpp
shortgecko/blah
cf1771926d9639cd387a0e0feb9361e49febfed4
[ "MIT" ]
null
null
null
src/math/color.cpp
shortgecko/blah
cf1771926d9639cd387a0e0feb9361e49febfed4
[ "MIT" ]
null
null
null
src/math/color.cpp
shortgecko/blah
cf1771926d9639cd387a0e0feb9361e49febfed4
[ "MIT" ]
null
null
null
#include <blah/math/color.h> #include <blah/math/vec3.h> #include <blah/math/vec4.h> using namespace Blah; char const hex[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; #define LT_HEX_VALUE(n) ((n >= '0' && n <= '9') ? (n - '0') : ((n >= 'A' && n <= 'F') ? (10 + n - 'A') : (...
23.353234
152
0.53153
shortgecko
cd3d6c99d27da8252e6e6b69e40f83fa5f8679a4
30,368
cc
C++
omaha/ui/progress_wnd.cc
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
1,975
2015-07-03T07:00:50.000Z
2022-03-31T20:04:04.000Z
omaha/ui/progress_wnd.cc
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
277
2015-07-18T00:13:30.000Z
2022-03-31T22:18:39.000Z
omaha/ui/progress_wnd.cc
r3yn0ld4/omaha
05eeb606c433b7d0622dc95a10afd0c8d7af11b6
[ "Apache-2.0" ]
685
2015-07-18T11:24:49.000Z
2022-03-30T20:50:12.000Z
// Copyright 2007-2010 Google 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 ...
34.352941
80
0.682429
r3yn0ld4
cd482b75c84f23bcd94c3f5bd862eddcf57e23c1
1,282
cpp
C++
All Algorithms/Sorting Algorithm/RecursiveMergeSort.cpp
ravimishra21/free-programming-books
e47f9eaa9a51723a097442673d86f1914768d581
[ "CC-BY-4.0" ]
null
null
null
All Algorithms/Sorting Algorithm/RecursiveMergeSort.cpp
ravimishra21/free-programming-books
e47f9eaa9a51723a097442673d86f1914768d581
[ "CC-BY-4.0" ]
null
null
null
All Algorithms/Sorting Algorithm/RecursiveMergeSort.cpp
ravimishra21/free-programming-books
e47f9eaa9a51723a097442673d86f1914768d581
[ "CC-BY-4.0" ]
null
null
null
#include <iostream> using namespace std; template <class T> void Print(T& vec, int n, string s){ cout << s << ": [" << flush; for (int i=0; i<n; i++){ cout << vec[i] << flush; if (i < n-1){ cout << ", " << flush; } } cout << "]" << endl; } void Merge(int A[], int...
20.03125
52
0.422777
ravimishra21
cd54c31b63193d8835a924a275be08c420b800d8
284
cpp
C++
07_perfect_forwarding/07_00_problem/07_00_00_problem1.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
13
2020-09-01T14:57:21.000Z
2021-11-24T06:00:26.000Z
07_perfect_forwarding/07_00_problem/07_00_00_problem1.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
5
2020-06-11T14:13:00.000Z
2021-07-14T05:27:53.000Z
07_perfect_forwarding/07_00_problem/07_00_00_problem1.cpp
pAbogn/cpp_courses
6ffa7da5cc440af3327139a38cfdefcfaae1ebed
[ "MIT" ]
10
2021-03-22T07:54:36.000Z
2021-09-15T04:03:32.000Z
// How to call non-constant operator() from temporary object in C++03 #include <iostream> template <typename T> void callT(T& callable) { callable(); } struct Callable { void operator()() { std::cout << "Something" << std::endl; } }; int main() { callT(Callable()); }
16.705882
69
0.630282
pAbogn
cd5507e6c0c3bdb04495abfa1fc9095dec0d323f
2,296
cpp
C++
src/lowpassfilter.cpp
studiorack/plugin-regrader
adb3fb81f88e6ab79e7a921324b797ba5ffe2153
[ "MIT" ]
63
2018-06-06T17:02:55.000Z
2022-03-26T19:40:37.000Z
src/lowpassfilter.cpp
studiorack/plugin-regrader
adb3fb81f88e6ab79e7a921324b797ba5ffe2153
[ "MIT" ]
7
2018-06-09T05:15:35.000Z
2020-11-03T17:46:42.000Z
src/lowpassfilter.cpp
studiorack/plugin-regrader
adb3fb81f88e6ab79e7a921324b797ba5ffe2153
[ "MIT" ]
1
2018-10-26T13:35:26.000Z
2018-10-26T13:35:26.000Z
/** * The MIT License (MIT) * * Copyright (c) 2018 Igor Zinken - http://www.igorski.nl * * 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 limitati...
24.956522
99
0.655488
studiorack
cd59dd4223ca2e3a1371b910fc93e264e4be28a9
3,241
cpp
C++
src/testers.cpp
NoobSaibot/templ
a5cdf9c1484b7898128236c0dc9302aa2e457501
[ "MIT" ]
1
2019-10-29T18:24:00.000Z
2019-10-29T18:24:00.000Z
src/testers.cpp
NoobSaibot/templ
a5cdf9c1484b7898128236c0dc9302aa2e457501
[ "MIT" ]
22
2019-10-27T10:15:06.000Z
2019-11-30T15:17:56.000Z
src/testers.cpp
NoobSaibot/templ
a5cdf9c1484b7898128236c0dc9302aa2e457501
[ "MIT" ]
1
2020-08-25T04:48:27.000Z
2020-08-25T04:48:27.000Z
internal_proc PROC_CALLBACK(test_callable) { b32 result = operand->kind == VAL_PROC; return val_bool(result); } internal_proc PROC_CALLBACK(test_defined) { b32 result = !val_is_undefined(operand); return val_bool(result); } internal_proc PROC_CALLBACK(test_divisibleby) { s32 s = val_int(arg_val(...
21.183007
102
0.659364
NoobSaibot
cd59f2688fbed13f8221db2c2b591efe22ccae24
18
cpp
C++
site_scons/site_tools/qt5/test/basic/manual/image/ddd.cpp
mbychawski/traffic-simulator
ef576cb9b2083e9e1cb8671356032d90dcfa42aa
[ "BSD-3-Clause" ]
14
2019-02-28T11:53:35.000Z
2022-01-11T03:04:53.000Z
site_scons/site_tools/qt5/test/basic/manual/image/ddd.cpp
mbychawski/traffic-simulator
ef576cb9b2083e9e1cb8671356032d90dcfa42aa
[ "BSD-3-Clause" ]
32
2020-05-18T15:49:00.000Z
2022-02-22T20:10:56.000Z
site_scons/site_tools/qt5/test/basic/manual/image/ddd.cpp
mbychawski/traffic-simulator
ef576cb9b2083e9e1cb8671356032d90dcfa42aa
[ "BSD-3-Clause" ]
8
2018-06-19T03:40:09.000Z
2022-03-23T17:33:18.000Z
#include "ddd.h"
6
16
0.611111
mbychawski
cd5af91bcf87a3e496f58091f8d5d026c268d98b
8,016
hpp
C++
parallel_permutation.hpp
darksky1605/accountsimulator
77648a6e2f56ac75a4c327ed0b3eb9fd49787d8b
[ "MIT" ]
null
null
null
parallel_permutation.hpp
darksky1605/accountsimulator
77648a6e2f56ac75a4c327ed0b3eb9fd49787d8b
[ "MIT" ]
null
null
null
parallel_permutation.hpp
darksky1605/accountsimulator
77648a6e2f56ac75a4c327ed0b3eb9fd49787d8b
[ "MIT" ]
null
null
null
#ifndef PARALLEL_PERMUTATION_HPP #define PARALLEL_PERMUTATION_HPP #include <algorithm> #include <mutex> #include <numeric> #include <thread> #include <vector> #include <map> template <class Container, class Func> void parallel_for_each_permutation(const Container& container, int num_threads, Func func) { /* ...
26.989899
152
0.511228
darksky1605
cd5b1867c9644ffc4b103ae958df7e3de941d96c
1,698
cpp
C++
src/build_nelsa.cpp
vbonnici/DoLiER
6f628b4ac5ddcbe941196813cb5faba551bd2a26
[ "MIT" ]
null
null
null
src/build_nelsa.cpp
vbonnici/DoLiER
6f628b4ac5ddcbe941196813cb5faba551bd2a26
[ "MIT" ]
null
null
null
src/build_nelsa.cpp
vbonnici/DoLiER
6f628b4ac5ddcbe941196813cb5faba551bd2a26
[ "MIT" ]
null
null
null
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <iostream> #include <string> #include <sstream> #include <list> #include <new> #include "timer.h" #include "data_ts.h" #include "FASTAReader.h" #include "CstyleIndex.h" using namespace dolierlib; int main(int argc, char* argv[]){ std::cout<<"siz...
24.608696
71
0.618375
vbonnici
cd60783e0729a1463bfd781e95bba0f5b21a7221
1,038
cpp
C++
test/test_stub_e9.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
5
2015-03-02T22:29:00.000Z
2020-06-28T08:52:00.000Z
test/test_stub_e9.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
5
2019-05-10T02:28:00.000Z
2021-07-17T00:53:18.000Z
test/test_stub_e9.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
5
2016-05-25T07:31:16.000Z
2021-08-29T04:25:18.000Z
#include "../source/h2_unit.cpp" #include "test_types.hpp" static time_t STUB_time(time_t* x) { return 42; } SUITE(stub e9) { Todo(libc time) { OK(Nq(42), time(0)); unsigned char saved[16]; bool ret = h2::h2_e9_save((void*)time, saved); OK(ret); h2::h2_e9_set((void*)time, (void*...
23.590909
57
0.569364
lingjf
cd6925edc28a5b2de65b7d0c2b334b8157924114
573
cpp
C++
src/CoVisManager/KeyPointIDManager.cpp
zjcs/PKVIO
7e26df3f3ee5bf0f44624c2ce94e15d33bb5544b
[ "Unlicense" ]
null
null
null
src/CoVisManager/KeyPointIDManager.cpp
zjcs/PKVIO
7e26df3f3ee5bf0f44624c2ce94e15d33bb5544b
[ "Unlicense" ]
null
null
null
src/CoVisManager/KeyPointIDManager.cpp
zjcs/PKVIO
7e26df3f3ee5bf0f44624c2ce94e15d33bb5544b
[ "Unlicense" ]
null
null
null
#include "KeyPointIDManager.h" namespace PKVIO { namespace KeyPointManager { void KeyPointIDManager::addOneFrameIDManager(const Type::TpFrameIndex nFrameIndex, const Type::TpFrameID nFrameID, const int nCountKpts) { // allocate memory. mSetFrameIndex2FrameID.resize(nFrameIndex+1); mSetFrameIndex2OneFrameI...
30.157895
137
0.788831
zjcs
cd6b742041f2084cf398a73dd56f70ca8858f061
3,160
cpp
C++
Source/controls/menu_controls.cpp
stefanmielke/devilutionX
074f191be80db73b1158dd137f7bee4c767e48ce
[ "Unlicense" ]
2
2022-01-14T06:10:31.000Z
2022-02-28T23:30:26.000Z
Source/controls/menu_controls.cpp
stefanmielke/devilutionX
074f191be80db73b1158dd137f7bee4c767e48ce
[ "Unlicense" ]
1
2022-01-31T07:44:04.000Z
2022-01-31T07:44:04.000Z
Source/controls/menu_controls.cpp
stefanmielke/devilutionX
074f191be80db73b1158dd137f7bee4c767e48ce
[ "Unlicense" ]
1
2021-03-29T01:07:24.000Z
2021-03-29T01:07:24.000Z
#include "controls/menu_controls.h" #include "DiabloUI/diabloui.h" #include "controls/axis_direction.h" #include "controls/controller.h" #include "controls/controller_motion.h" #include "controls/plrctrls.h" #include "controls/remap_keyboard.h" #include "utils/sdl_compat.h" namespace devilution { MenuAct...
25.28
75
0.73038
stefanmielke
cd6e18519917370ea08c7cec70b02750ffa2decb
503
cpp
C++
Block1/boxOfStars/BOS.cpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
null
null
null
Block1/boxOfStars/BOS.cpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
null
null
null
Block1/boxOfStars/BOS.cpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
1
2021-09-02T07:02:52.000Z
2021-09-02T07:02:52.000Z
#include "BOS.hpp" #include <iostream> using namespace std; void bos(int r, int c) { for (int i = 0; i < r; i++) { // Just first and last row if (i == 0 || i == (r - 1)) { for (int k = 0; k < c; k++) { cout << "*"; } } else { // Every row in the midd...
21.869565
47
0.332008
andreadelprete
cd6e4fd7bec511c3ea32a419c0fbc7e9b68951f3
4,370
hpp
C++
include/GlobalNamespace/BeatmapDataLoader_--c__DisplayClass2_0.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BeatmapDataLoader_--c__DisplayClass2_0.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BeatmapDataLoader_--c__DisplayClass2_0.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// 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" // Including type: BeatmapDataLoa...
49.659091
434
0.724027
Fernthedev
cd6e953578aac82616749dc11ed0e3c90a9077a5
1,173
hpp
C++
include/shazam/memory/null_allocator_service.hpp
madmongo1/shazam
39bbabba8fa3903e75c65e59d57475d3b30e5f16
[ "BSD-3-Clause" ]
null
null
null
include/shazam/memory/null_allocator_service.hpp
madmongo1/shazam
39bbabba8fa3903e75c65e59d57475d3b30e5f16
[ "BSD-3-Clause" ]
null
null
null
include/shazam/memory/null_allocator_service.hpp
madmongo1/shazam
39bbabba8fa3903e75c65e59d57475d3b30e5f16
[ "BSD-3-Clause" ]
null
null
null
// // Created by Richard Hodges on 16/09/2017. // #pragma once #include <shazam/service_base.hpp> #include <shazam/memory/block.hpp> #include <tuple> #include <utility> namespace shazam { namespace memory { struct null_allocator_service : service_base<null_allocator_service> { struct implementation...
22.132075
84
0.638534
madmongo1
cd74fcbbd853a42b1c736ea99f3d732110d945f3
8,865
cpp
C++
src/plugin/bus/src/AFCBusModule.cpp
ArkGame/ArkGameFrame
a7f8413dd416cd1ac5b12adbdd84f010f59f11e2
[ "Apache-2.0" ]
168
2016-08-18T07:24:48.000Z
2018-02-06T06:40:45.000Z
src/plugin/bus/src/AFCBusModule.cpp
Mu-L/ARK
a7f8413dd416cd1ac5b12adbdd84f010f59f11e2
[ "Apache-2.0" ]
11
2019-05-27T12:26:02.000Z
2021-05-12T02:45:16.000Z
src/plugin/bus/src/AFCBusModule.cpp
ArkGame/ArkGameFrame
a7f8413dd416cd1ac5b12adbdd84f010f59f11e2
[ "Apache-2.0" ]
51
2016-09-01T10:17:38.000Z
2018-02-06T10:45:25.000Z
/* * This source file is part of ARK * For the latest info, see https://github.com/ArkNX * * Copyright (c) 2013-2020 ArkNX 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 * ...
31.43617
120
0.691258
ArkGame
cd7570e63a5ac5603a7172860c1234fa9ccbfc5f
12,786
ipp
C++
include/External/stlib/packages/geom/mesh/iss/build.ipp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
include/External/stlib/packages/geom/mesh/iss/build.ipp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
include/External/stlib/packages/geom/mesh/iss/build.ipp
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- #if !defined(__geom_mesh_iss_build_ipp__) #error This file is an implementation detail. #endif namespace geom { // Build from a quadrilateral mesh. template<std::size_t N, typename T> inline void buildFromQuadMesh(const QuadMesh<N, T>& quadMesh, IndSimpSet<N, 2, T>* mesh...
34.187166
83
0.610668
bxl295
cd78fc1f211ea6b9d10d42c24a8cb52e90b1809a
1,168
cpp
C++
HDU/6197.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
3
2020-11-01T06:31:30.000Z
2022-02-21T20:37:51.000Z
HDU/6197.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
null
null
null
HDU/6197.cpp
MaGnsio/CP-Problems
a7f518a20ba470f554b6d54a414b84043bf209c5
[ "Unlicense" ]
1
2021-05-05T18:56:31.000Z
2021-05-05T18:56:31.000Z
/** * author: MaGnsi0 * created: 10.11.2021 21:50:47 **/ #include <bits/stdc++.h> using namespace std; //O(n log k) Greedy + D&C Algorithm template <typename T> void LIS(vector<T>& A, vector<int>& memo) { int n = A.size(), k = 0; vector<T> L(n, 0); for (int i = 0; i < n; ++i) { int pos = ...
22.901961
84
0.400685
MaGnsio
cd7f04cf6e89fb6ace93ddc6857f159fff3006a7
1,305
hpp
C++
extension/pseudo_fill.hpp
limuhit/pseudocylindrical_convolution
8af02a2d8f018177efdf7e73edffde87b7efdafe
[ "MIT" ]
6
2022-02-15T07:37:28.000Z
2022-03-07T01:57:01.000Z
extension/pseudo_fill.hpp
limuhit/pseudocylindrical_convolution
8af02a2d8f018177efdf7e73edffde87b7efdafe
[ "MIT" ]
2
2022-03-01T17:27:24.000Z
2022-03-30T17:58:01.000Z
extension/pseudo_fill.hpp
limuhit/pseudocylindrical_convolution
8af02a2d8f018177efdf7e73edffde87b7efdafe
[ "MIT" ]
1
2022-03-25T03:00:06.000Z
2022-03-25T03:00:06.000Z
#pragma once #include "ext_all.hpp" #include "timer.h" #include "base_opt.hpp" #include "pseudo_context.hpp" #include "pseudo_entropy_context.hpp" #include "entropy_context.hpp" #include "string2class.hpp" #include <string> class pseudo_fill_opt: public base_opt{ public: pseudo_fill_opt(int pad, int npart, int fva...
26.632653
134
0.704981
limuhit
cd87316bf3b2f8bc223251d0aba91a4cdf3b8aef
1,072
cpp
C++
core/event/management/handler/MainMenuEventsHandler.cpp
PlatformerTeam/mad
8768e3127a0659f1d831dcb6c96ba2bb71c30795
[ "MIT" ]
2
2022-02-21T08:23:02.000Z
2022-03-17T10:01:40.000Z
core/event/management/handler/MainMenuEventsHandler.cpp
PlatformerTeam/mad
8768e3127a0659f1d831dcb6c96ba2bb71c30795
[ "MIT" ]
43
2022-02-21T13:07:08.000Z
2022-03-22T11:02:16.000Z
core/event/management/handler/MainMenuEventsHandler.cpp
PlatformerTeam/mad
8768e3127a0659f1d831dcb6c96ba2bb71c30795
[ "MIT" ]
null
null
null
#include "MainMenuEventsHandler.hpp" #include <common/Cast.hpp> #include <event/menu/MenuEvent.hpp> #include <event/menu/MainMenuEvent.hpp> namespace mad::core { MainMenuEventsHandler::MainMenuEventsHandler(GameRunner &runner) : m_runner(runner) { } void MainMenuEventsHandler::handle(const Event &event) { ...
32.484848
95
0.624067
PlatformerTeam
cd8c35ddb485b5a5aec002361faab30d2618155d
9,201
cpp
C++
libs/core/synchronization/src/stop_token.cpp
bhumitattarde/hpx
5b34d8d77b1664fa552445d44cd98e51dc69a74a
[ "BSL-1.0" ]
1
2022-02-08T05:55:09.000Z
2022-02-08T05:55:09.000Z
libs/core/synchronization/src/stop_token.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
libs/core/synchronization/src/stop_token.cpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2020 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <hpx/config.hpp> #include <hpx/assert.hpp> #include <hpx/modules/execution_ba...
31.084459
80
0.51114
bhumitattarde
cd8daf304214746d92b5412d261ecf28a49b5835
658
cpp
C++
2-function/exercise-9-template/main.cpp
zhangzhuang15/Step-Cplusplus
a45f72847054a6e13b94835910d10fd78036e3b6
[ "MIT" ]
1
2022-02-02T05:46:02.000Z
2022-02-02T05:46:02.000Z
2-function/exercise-9-template/main.cpp
zhangzhuang15/Step-Cplusplus
a45f72847054a6e13b94835910d10fd78036e3b6
[ "MIT" ]
null
null
null
2-function/exercise-9-template/main.cpp
zhangzhuang15/Step-Cplusplus
a45f72847054a6e13b94835910d10fd78036e3b6
[ "MIT" ]
null
null
null
#include <iostream> template<typename T> void print(T value) { std::cout << value << std::endl; } void printN() {} template<typename T, typename... G> void printN(T value, G ...args) { std::cout << value << std::endl; printN(args...); } int main() { print("jack"); printN(1,"jack", 'c', 24.5, f...
21.225806
78
0.588146
zhangzhuang15
cd90a72124ca2905e8944086b1938410567a9e18
12,572
hpp
C++
dev/restinio/sendfile.hpp
binarytrails/restinio
3a3d6ed6c2185166e30679ab5cae8a51aea1a2f0
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
dev/restinio/sendfile.hpp
binarytrails/restinio
3a3d6ed6c2185166e30679ab5cae8a51aea1a2f0
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
dev/restinio/sendfile.hpp
binarytrails/restinio
3a3d6ed6c2185166e30679ab5cae8a51aea1a2f0
[ "MIT", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* restinio */ /*! Sendfile routine. @since v.0.4.3 */ #pragma once #include <string> #include <chrono> #include <array> #include <fmt/format.h> #include <restinio/asio_include.hpp> #include <restinio/string_view.hpp> #include <restinio/exception.hpp> /* Defenitions for: file_descriptor_t file_offset_t ...
24.27027
118
0.698536
binarytrails
cd917695e314544882cc796f0a32d9df3eb93bcc
839
cpp
C++
src/math/Transform.cpp
u14-team/egin
136f925150c63cab602090f5ce8ebad57f1e3b3f
[ "Apache-2.0" ]
null
null
null
src/math/Transform.cpp
u14-team/egin
136f925150c63cab602090f5ce8ebad57f1e3b3f
[ "Apache-2.0" ]
null
null
null
src/math/Transform.cpp
u14-team/egin
136f925150c63cab602090f5ce8ebad57f1e3b3f
[ "Apache-2.0" ]
3
2019-12-20T10:31:03.000Z
2021-05-20T18:14:33.000Z
#include "Transform.hpp" Transform::Transform() : scale(glm::vec3(1)) , rotation({ 0, 0, 0 }) { } glm::mat4 Transform::toMatrix() const { return glm::scale(glm::mat4(1), this->scale) * glm::mat4_cast(this->rotation) * glm::translate(glm::mat4(1), -this->position); } void Transform::translate(const glm:...
19.068182
70
0.676996
u14-team
cd96cf96723c3b39924d45a5375b15177b2be707
200,704
inl
C++
2d_samples/pmj02_260.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
1
2021-12-10T23:35:04.000Z
2021-12-10T23:35:04.000Z
2d_samples/pmj02_260.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
2d_samples/pmj02_260.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
{std::array<float,2>{0.0695106164f, 0.726471782f}, std::array<float,2>{0.552009046f, 0.285953611f}, std::array<float,2>{0.47224924f, 0.145926058f}, std::array<float,2>{0.993432283f, 0.787592828f}, std::array<float,2>{0.282789767f, 0.993214965f}, std::array<float,2>{0.750265718f, 0.0696902424f}, std::array<float,2>{0.24...
49
52
0.734694
st-ario
cd96fbe5f1241b56aa9af7f73a960fc1760889a4
1,918
cc
C++
gen_client/gen_output.cc
AlexeyAkhunov/streams
c527cdd48d1db229286c986761176ed536b7b86b
[ "BSD-3-Clause" ]
2
2016-05-29T14:33:50.000Z
2016-07-04T12:21:50.000Z
gen_client/gen_output.cc
AlexeyAkhunov/streams
c527cdd48d1db229286c986761176ed536b7b86b
[ "BSD-3-Clause" ]
null
null
null
gen_client/gen_output.cc
AlexeyAkhunov/streams
c527cdd48d1db229286c986761176ed536b7b86b
[ "BSD-3-Clause" ]
2
2015-11-20T23:22:01.000Z
2018-08-26T04:58:02.000Z
#ifndef _GEN_OUTPUT_ #include "gen_output.h" #endif #ifndef _DEBUG_ #include "common/debug.h" #endif using Client::GenOutput; GenOutput::GenOutput (ostream &_out) : out (_out) { numAttrs = 0; } GenOutput::~GenOutput () {} int GenOutput::setNumAttrs (unsigned int numAttrs) { if (numAttrs > MAX_ATTRS) return -1...
14.207407
60
0.592805
AlexeyAkhunov
cd9a81afcc9c17f8877787e0f4103d5a7b0caf8d
10,769
cpp
C++
src/engine/cubeloader.cpp
ACBob/Bube
282bee7fd8a628f00550c65d719cd02e2afc6420
[ "MIT" ]
6
2021-01-18T03:47:05.000Z
2021-08-05T22:00:07.000Z
src/engine/cubeloader.cpp
ACBob/Bube
282bee7fd8a628f00550c65d719cd02e2afc6420
[ "MIT" ]
4
2021-03-24T23:15:54.000Z
2021-05-05T19:23:47.000Z
src/engine/cubeloader.cpp
ACBob/Bube
282bee7fd8a628f00550c65d719cd02e2afc6420
[ "MIT" ]
1
2021-07-20T05:14:58.000Z
2021-07-20T05:14:58.000Z
#include "engine.h" VAR(importcuberemip, 0, 1024, 2048); struct cubeloader { enum { DEFAULT_LIQUID = 1, DEFAULT_WALL, DEFAULT_FLOOR, DEFAULT_CEIL }; enum // block types, order matters! { C_SOLID = 0, // entirely solid cube [only specifies wtex] C_CORNER, // half full corner of a wall C_FHF, // ...
22.912766
110
0.541554
ACBob
cd9c66952e6915c1d6b689b306d07dadf2faca4c
403
cpp
C++
src/Rodin/Variational/MatrixFunction.cpp
carlos-brito-pacheco/rodin
f2c946b290ebb2487a21c617de01be91a0692c72
[ "BSL-1.0" ]
1
2021-12-02T19:04:38.000Z
2021-12-02T19:04:38.000Z
src/Rodin/Variational/MatrixFunction.cpp
cbritopacheco/rodin
f2c946b290ebb2487a21c617de01be91a0692c72
[ "BSL-1.0" ]
null
null
null
src/Rodin/Variational/MatrixFunction.cpp
cbritopacheco/rodin
f2c946b290ebb2487a21c617de01be91a0692c72
[ "BSL-1.0" ]
null
null
null
#include "Rodin/Alert.h" #include "Transpose.h" #include "MatrixFunction.h" namespace Rodin::Variational { std::unique_ptr<mfem::MatrixCoefficient> MatrixFunctionBase::build() const { return std::unique_ptr<mfem::MatrixCoefficient>(new Internal::ProxyMatrixFunction(*this)); } Transpose<MatrixFunct...
20.15
96
0.71464
carlos-brito-pacheco
cd9e1975e9f49c20b6d686eae26f89035cd30c56
802
cpp
C++
Engine/source/platformWin32/WinPlatformGL.cpp
vbillet/Torque3D
ece8823599424ea675e5f79d9bcb44e42cba8cae
[ "MIT" ]
2,113
2015-01-01T11:23:01.000Z
2022-03-28T04:51:46.000Z
Engine/source/platformWin32/WinPlatformGL.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
948
2015-01-02T01:50:00.000Z
2022-02-27T05:56:40.000Z
Engine/source/platformWin32/WinPlatformGL.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
944
2015-01-01T09:33:53.000Z
2022-03-15T22:23:03.000Z
#if defined(TORQUE_OPENGL) && !defined(TORQUE_SDL) #include "platform/platformGL.h" #include "gfx/gl/tGL/tWGL.h" #include "gfx/gl/gfxGLUtils.h" void PlatformGL::setVSync(const int i) { if (gglHasWExtension(EXT_swap_control)) { PRESERVE_FRAMEBUFFER(); // NVidia needs to have the default framebuffer b...
22.277778
83
0.586035
vbillet
cda14b78b47bce1bd04bc0a596528596d0a99c7c
9,004
cpp
C++
UILoginPlug/NavManager.cpp
coderwinnie/startalk_pc
30675f52204d798f4fef210a40ef9c5f1ac34ea9
[ "MIT" ]
null
null
null
UILoginPlug/NavManager.cpp
coderwinnie/startalk_pc
30675f52204d798f4fef210a40ef9c5f1ac34ea9
[ "MIT" ]
null
null
null
UILoginPlug/NavManager.cpp
coderwinnie/startalk_pc
30675f52204d798f4fef210a40ef9c5f1ac34ea9
[ "MIT" ]
null
null
null
// // Created by cc on 2018-12-25. // #include "NavManager.h" #include <QFile> #include <QDir> #include <QUrl> #include <QUrlQuery> #include "../CustomUi/QtMessageBox.h" #include "LoginPanel.h" #include "../Platform/Platform.h" #define DEM_NAV_KEYS "navKeys" #define DEM_DEFAULT_KEY "defaultKey" #define DEM_CONFIG_VE...
26.482353
114
0.567081
coderwinnie
cda1eac22bdf459605faf04c9a2120c0fd4da8bc
2,651
cpp
C++
feb2020/4.cpp
D3v3sh5ingh/Graph-Theory-Algorithms
0cd037f4f66509d5fa41e111f1eb872994e84276
[ "MIT" ]
3
2020-10-02T10:22:12.000Z
2020-10-09T15:20:06.000Z
feb2020/4.cpp
devfollow/Graph-Theory-Algorithms
8622b7f3947ee57760d214c63e81c6aad26c7b3e
[ "MIT" ]
18
2020-10-01T09:55:54.000Z
2021-10-07T17:03:56.000Z
feb2020/4.cpp
devfollow/Graph-Theory-Algorithms
8622b7f3947ee57760d214c63e81c6aad26c7b3e
[ "MIT" ]
25
2020-10-01T09:42:13.000Z
2021-10-01T09:13:47.000Z
#include <bits/stdc++.h> using namespace std; #define ll long long int perm(vector<vector<ll>> arr,string ques,int itr) { if(itr==ques.length()) { int ans=0; vector <ll> strg { arr[(ques[0]-65)][0], arr[(ques[1]-65)][1], arr[(ques[2]-65)][2], ...
20.550388
72
0.342512
D3v3sh5ingh
cda30293c74076dac3b26bc12a7420a3411ab6e1
18,121
cpp
C++
tests/TestLMPC_InitialState.cpp
ndehio/copra
81ffa423b95d16140c64f19785ac1836af3ef9bf
[ "BSD-2-Clause" ]
9
2019-12-31T07:51:12.000Z
2021-07-31T16:24:51.000Z
tests/TestLMPC_InitialState.cpp
vsamy/Copra
2662c567491690f145834aa8b95339cec3a8bb11
[ "BSD-2-Clause" ]
6
2020-02-21T15:06:31.000Z
2021-12-20T07:17:57.000Z
tests/TestLMPC_InitialState.cpp
vsamy/Copra
2662c567491690f145834aa8b95339cec3a8bb11
[ "BSD-2-Clause" ]
4
2020-03-09T14:21:56.000Z
2022-03-04T07:35:01.000Z
/* * Author: Niels Dehio */ #include "InitialStateLMPC.h" #include "PreviewSystem.h" #include "QuadProgSolver.h" #include "constraints.h" #include "costFunctions.h" #include "doctest.h" #include "systems.h" #ifdef EIGEN_QLD_FOUND #include "QLDSolver.h" #endif #ifdef EIGEN_LSSOL_FOUND #include "LSSOLSolver.h" #endif ...
44.85396
144
0.682357
ndehio
cda4c9ad279c3d0c79ade3dfd8bbd7e1318f432f
709
hpp
C++
Questless/Questless/src/agents/actions.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
2
2020-07-14T12:50:06.000Z
2020-11-04T02:25:09.000Z
Questless/Questless/src/agents/actions.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
null
null
null
Questless/Questless/src/agents/actions.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
null
null
null
//! @file //! @copyright See <a href="LICENSE.txt">LICENSE.txt</a>. //! @brief Contains a set of standard actions beings can perform. #pragma once #include "reg.hpp" #include "world/coordinates.hpp" namespace ql { auto turn(reg& reg, id turner_id, hex_direction direction) -> void; auto walk(reg& reg, id walker_id...
29.541667
109
0.70945
jonathansharman
cda623d32a33812a0631fa7360c69fcc1a8604fd
174
cpp
C++
src/FontObject.cpp
StratifyLabs/fontutil
e8a7eab1fe0e851985a029abeb3e1acd848b6f10
[ "Apache-2.0" ]
null
null
null
src/FontObject.cpp
StratifyLabs/fontutil
e8a7eab1fe0e851985a029abeb3e1acd848b6f10
[ "Apache-2.0" ]
null
null
null
src/FontObject.cpp
StratifyLabs/fontutil
e8a7eab1fe0e851985a029abeb3e1acd848b6f10
[ "Apache-2.0" ]
null
null
null
#include "FontObject.hpp" FontObject::FontObject(){ m_bits_per_pixel = 1; m_is_generate_map = false; m_character_set = Font::ascii_character_set(); m_is_ascii = true; }
19.333333
47
0.752874
StratifyLabs
cda6b1fc64307e1a0fabc79c508d934b03156a1c
3,820
cxx
C++
Modules/Applications/AppProjection/app/otbImageEnvelope.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
2
2019-02-13T14:48:19.000Z
2019-12-03T02:54:28.000Z
Modules/Applications/AppProjection/app/otbImageEnvelope.cxx
lfyater/Orfeo
eb3d4d56089065b99641d8ae7338d2ed0358d28a
[ "Apache-2.0" ]
3
2015-10-14T10:11:38.000Z
2015-10-15T08:26:23.000Z
Modules/Applications/AppProjection/app/otbImageEnvelope.cxx
CS-SI/OTB
5926aca233ff8a0fb11af1a342a6f5539cd5e376
[ "Apache-2.0" ]
2
2015-10-08T12:04:06.000Z
2018-06-19T08:00:47.000Z
/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
30.07874
104
0.718586
lfyater
cda8095c78730eb068bbe0305c74befbaeb432a6
1,595
cpp
C++
ThunderSurge-core/daybreak/core/scene/Scene.cpp
carsonclarke570/ThunderSurgeEngine
4214b39044f9c434f3769aec945fea9a7d63c8ae
[ "Apache-2.0" ]
null
null
null
ThunderSurge-core/daybreak/core/scene/Scene.cpp
carsonclarke570/ThunderSurgeEngine
4214b39044f9c434f3769aec945fea9a7d63c8ae
[ "Apache-2.0" ]
null
null
null
ThunderSurge-core/daybreak/core/scene/Scene.cpp
carsonclarke570/ThunderSurgeEngine
4214b39044f9c434f3769aec945fea9a7d63c8ae
[ "Apache-2.0" ]
null
null
null
#include "Scene.h" namespace daybreak { namespace core { Scene::Scene() { m_root = new GameObject(); m_default = new Shader("daybreak/graphics/shaders/forward-lighting.vert", "daybreak/graphics/shaders/forward-default.frag"); #if NORMAL_DEBUG m_normals = new Shader("daybreak/graphics/shaders/normal-debug...
19.45122
173
0.661442
carsonclarke570
cda8c571de63a477ec1758ce6c9805e387446f5b
397
hpp
C++
curses/command_window.hpp
Henkeboi/hk
71a5cbcabbcfd44ef66b705cd0e45b44e4332107
[ "MIT" ]
1
2020-09-24T13:25:22.000Z
2020-09-24T13:25:22.000Z
curses/command_window.hpp
Henkeboi/hk
71a5cbcabbcfd44ef66b705cd0e45b44e4332107
[ "MIT" ]
null
null
null
curses/command_window.hpp
Henkeboi/hk
71a5cbcabbcfd44ef66b705cd0e45b44e4332107
[ "MIT" ]
null
null
null
#ifndef __COMMAND__WINDOW__HPP__ #define __COMMAND__WINDOW__HPP__ #include <vector> #include <string> class command_window { public: command_window(); void display(); void insert(wint_t symbol); void delete_symbol(); std::wstring execute(); void print_abort_message(); private: std::wstrin...
18.904762
34
0.725441
Henkeboi
cda8cef42ac8a2e17dc065a03879f12948849aad
6,246
cpp
C++
physx/source/common/src/CmPtrTable.cpp
yangfengzzz/PhysX
aed9c3035955d4ad90e5741f7d1dcfb5c178d44f
[ "BSD-3-Clause" ]
null
null
null
physx/source/common/src/CmPtrTable.cpp
yangfengzzz/PhysX
aed9c3035955d4ad90e5741f7d1dcfb5c178d44f
[ "BSD-3-Clause" ]
null
null
null
physx/source/common/src/CmPtrTable.cpp
yangfengzzz/PhysX
aed9c3035955d4ad90e5741f7d1dcfb5c178d44f
[ "BSD-3-Clause" ]
null
null
null
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
33.223404
117
0.682677
yangfengzzz
cdacf5f71897d63d8d6353c523ed2c4b29d89b36
2,709
hpp
C++
ms23/main.hpp
LeeFoulger/ProxyDll
d8dd9e736055f3263ac8b1671d009c88dc4ecc04
[ "MIT" ]
1
2022-03-15T21:29:19.000Z
2022-03-15T21:29:19.000Z
ms23/main.hpp
TwisterForPosterity/ProxyDll
d8dd9e736055f3263ac8b1671d009c88dc4ecc04
[ "MIT" ]
null
null
null
ms23/main.hpp
TwisterForPosterity/ProxyDll
d8dd9e736055f3263ac8b1671d009c88dc4ecc04
[ "MIT" ]
null
null
null
#pragma once #include "classes/classes.hpp" #include "memory/tag_groups.hpp" #include "memory/local_types.hpp" float hotkey_sleep_delta = 1.f; void PreInit() { ConfigManager.Init(".\\bin\\ms23.ini"); PreferenceManager.Init(".\\bin\\preferences.ini"); PreferenceManagerAppname = "Preference"; g_saves_path = Conf...
27.642857
133
0.751569
LeeFoulger
cdb23960f9eded1868ac69ef97afd9dc8e0a7387
2,747
hpp
C++
alpaka/include/alpaka/intrinsic/IntrinsicUniformCudaHipBuiltIn.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
25
2015-01-30T12:19:48.000Z
2020-10-30T07:52:45.000Z
alpaka/include/alpaka/intrinsic/IntrinsicUniformCudaHipBuiltIn.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
101
2015-01-06T11:31:26.000Z
2020-11-09T13:51:19.000Z
alpaka/include/alpaka/intrinsic/IntrinsicUniformCudaHipBuiltIn.hpp
ComputationalRadiationPhysics/mallocMC
bb2b32a4a56f7c892e14454bf6aa373a4870c32c
[ "MIT" ]
10
2015-06-10T07:54:30.000Z
2020-05-06T10:07:39.000Z
/* Copyright 2022 Sergei Bastrakov, Andrea Bocci, Bernhard Manfred Gruber * * This file is part of alpaka. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #...
32.702381
117
0.627594
ComputationalRadiationPhysics
cdb5262134912583c14155c059e6447c28dcc620
2,687
cc
C++
unittests/libtests/topology/data/MeshDataCohesiveTri3Level1.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
1
2021-09-09T06:24:11.000Z
2021-09-09T06:24:11.000Z
unittests/libtests/topology/data/MeshDataCohesiveTri3Level1.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
unittests/libtests/topology/data/MeshDataCohesiveTri3Level1.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
29.527473
80
0.709713
joegeisz
cdb52e0eae54632e208675a9db5114bbcacb15e3
1,236
cpp
C++
ActiveTraders.cpp
RushanKhan1/Problem-Solving-Basic
a001224f7d2664897e81af3c77f67b826f9e6872
[ "MIT" ]
null
null
null
ActiveTraders.cpp
RushanKhan1/Problem-Solving-Basic
a001224f7d2664897e81af3c77f67b826f9e6872
[ "MIT" ]
null
null
null
ActiveTraders.cpp
RushanKhan1/Problem-Solving-Basic
a001224f7d2664897e81af3c77f67b826f9e6872
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> #include <string> #include <map> using namespace std; vector <string> mostActive(vector<string>); vector<string> mostActive(vector<string> customers) { int count = 0, perc = 0, c = 0; vector<string> ar; int size = customers.size();...
24.235294
57
0.561489
RushanKhan1
cdb9bced802ed6b5fec7ea8db67337c731dc993b
3,364
cpp
C++
src/generator/enumdeclarationprinter.cpp
pontaoski/qtprotobuf
7225e6e324aa38c1bbeac1c0829cef73650e9d6f
[ "MIT" ]
139
2019-06-28T10:35:07.000Z
2022-03-23T05:54:26.000Z
src/generator/enumdeclarationprinter.cpp
pontaoski/qtprotobuf
7225e6e324aa38c1bbeac1c0829cef73650e9d6f
[ "MIT" ]
165
2019-10-22T14:51:10.000Z
2022-02-24T22:46:56.000Z
src/generator/enumdeclarationprinter.cpp
pontaoski/qtprotobuf
7225e6e324aa38c1bbeac1c0829cef73650e9d6f
[ "MIT" ]
29
2019-08-06T11:15:41.000Z
2022-01-04T02:51:43.000Z
/* * MIT License * * Copyright (c) 2019 Alexey Edelev <semlanik@gmail.com> * * This file is part of QtProtobuf project https://git.semlanik.org/semlanik/qtprotobuf * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Softwar...
35.041667
147
0.73692
pontaoski
cdc12790de2d6349789e03471ebec80bf029f6a3
1,492
hpp
C++
src/layout_widget.hpp
cbeck88/HexWarfare
94a70b1889afc2fbd990892ed66be874ac70d1b4
[ "Apache-2.0" ]
null
null
null
src/layout_widget.hpp
cbeck88/HexWarfare
94a70b1889afc2fbd990892ed66be874ac70d1b4
[ "Apache-2.0" ]
null
null
null
src/layout_widget.hpp
cbeck88/HexWarfare
94a70b1889afc2fbd990892ed66be874ac70d1b4
[ "Apache-2.0" ]
null
null
null
/* Copyright 2014 Kristina Simpson <sweet.kristas@gmail.com> 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 app...
28.692308
140
0.75134
cbeck88
02da9bf278f341fa61ca97f41a73defa2a23785c
1,494
hpp
C++
sources/Items/Bonus.hpp
EternalRat/Bomberman
d4d0c6dea61f7de1e71c6f182a6bf27407092356
[ "MIT" ]
6
2021-05-27T13:31:37.000Z
2021-11-21T17:35:08.000Z
sources/Items/Bonus.hpp
EternalRat/Bomberman
d4d0c6dea61f7de1e71c6f182a6bf27407092356
[ "MIT" ]
174
2021-05-12T14:10:04.000Z
2021-06-26T11:29:39.000Z
sources/Items/Bonus.hpp
EternalRat/Bomberman
d4d0c6dea61f7de1e71c6f182a6bf27407092356
[ "MIT" ]
2
2021-05-27T13:28:46.000Z
2021-06-21T12:25:27.000Z
// // Created by HENRY Benjamin on 02/06/2021. // Edited by AUGIER Tom on 02/06/2021. // #pragma once #include "Entity/Entity.hpp" #include "Component/Collision/CollisionComponent.hpp" namespace BBM { class Bonus { public: //! @param bonus bonus //! @param player the entity on which the effect will be applied ...
33.954545
120
0.733601
EternalRat
02dbce9cf0eaa52fbd8e9b174ec6732795ce19a0
769
hpp
C++
hpx/config/bind.hpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
hpx/config/bind.hpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
hpx/config/bind.hpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2012 Hartmut Kaiser // // 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) #if !defined(HPX_CONFIG_BIND_SEP_23_2011_1153AM) #define HPX_CONFIG_BIND_SEP_23_2011_1153AM #include <hpx/config.hpp>...
24.03125
80
0.715215
Titzi90
02e02b3c2b15b593063b6f182f543601d9fab629
835
hpp
C++
src/euler/coprime.hpp
fancidev/euler
a74e3ddf46034718253259eac4880472c58a7b22
[ "MIT" ]
null
null
null
src/euler/coprime.hpp
fancidev/euler
a74e3ddf46034718253259eac4880472c58a7b22
[ "MIT" ]
null
null
null
src/euler/coprime.hpp
fancidev/euler
a74e3ddf46034718253259eac4880472c58a7b22
[ "MIT" ]
null
null
null
#ifndef EULER_COPRIME_H #define EULER_COPRIME_H #include <utility> #include <deque> template <class Func> void generate_coprime_pairs(Func f) { if (!f(1,1) || !f(2,1) || !f(3,1)) return; std::deque<std::pair<int,int>> list; list.push_back(std::pair<int,int>(2, 1)); list.push_back(std::pair<int,int>(3, 1)); wh...
17.040816
47
0.562874
fancidev
02e2a19d72227c26b88a434abdd27c893669cae2
241
cpp
C++
src/math.cpp
davisbo/PathTracer
d5cb4004d694b0388cef5e312c86095774ed5310
[ "MIT" ]
null
null
null
src/math.cpp
davisbo/PathTracer
d5cb4004d694b0388cef5e312c86095774ed5310
[ "MIT" ]
1
2020-02-25T23:24:20.000Z
2020-02-25T23:24:20.000Z
src/math.cpp
davisbo/PathTracer
d5cb4004d694b0388cef5e312c86095774ed5310
[ "MIT" ]
1
2020-02-25T20:58:50.000Z
2020-02-25T20:58:50.000Z
#include "math.hpp" namespace PT { Ray::Ray( const glm::vec3& pos, const glm::vec3& dir ) : position( pos ), direction( dir ) { } glm::vec3 Ray::Evaluate( float t ) const { return position + t * direction; } } // namespace PT
14.176471
56
0.614108
davisbo
02e35e8e78d0c5bd9eec440062c56638288a597c
5,977
cpp
C++
RenderSystems/Direct3D11/src/Vao/OgreD3D11ConstBufferPacked.cpp
Stazer/ogre-next
4d3aa2aedf4575ac8a9e32a4e2af859562752d51
[ "MIT" ]
11
2017-01-17T15:02:25.000Z
2020-11-27T16:54:42.000Z
RenderSystems/Direct3D11/src/Vao/OgreD3D11ConstBufferPacked.cpp
Stazer/ogre-next
4d3aa2aedf4575ac8a9e32a4e2af859562752d51
[ "MIT" ]
9
2016-10-23T20:15:38.000Z
2018-02-06T11:23:17.000Z
RenderSystems/Direct3D11/src/Vao/OgreD3D11ConstBufferPacked.cpp
Stazer/ogre-next
4d3aa2aedf4575ac8a9e32a4e2af859562752d51
[ "MIT" ]
3
2020-10-15T15:11:41.000Z
2021-04-04T03:38:54.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obtai...
50.226891
101
0.556299
Stazer
02e6f8f91384bbb721874338f27c93334243161a
372
hpp
C++
include/termox/painter/detail/is_paintable.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
284
2017-11-07T10:06:48.000Z
2021-01-12T15:32:51.000Z
include/termox/painter/detail/is_paintable.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
38
2018-01-14T12:34:54.000Z
2020-09-26T15:32:43.000Z
include/termox/painter/detail/is_paintable.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
31
2017-11-30T11:22:21.000Z
2020-11-03T05:27:47.000Z
#ifndef TERMOX_PAINTER_DETAIL_IS_PAINTABLE_HPP #define TERMOX_PAINTER_DETAIL_IS_PAINTABLE_HPP namespace ox { class Widget; } // namespace ox namespace ox::detail { /// A check for whether a widget is in a state that can be painted. [[nodiscard]] auto is_paintable(Widget const& w) -> bool; } // namespace ox::detai...
24.8
67
0.774194
a-n-t-h-o-n-y
02ebbd2c9673d8b34ae9936532083629968de61e
4,598
cpp
C++
gdal/ogr/ogrsf_frmts/couchdb/ogrcouchdbrowslayer.cpp
dtusk/gdal1
30dcdc1eccbca2331674f6421f1c5013807da609
[ "MIT" ]
3
2017-01-12T10:18:56.000Z
2020-03-21T16:42:55.000Z
gdal/ogr/ogrsf_frmts/couchdb/ogrcouchdbrowslayer.cpp
ShinNoNoir/gdal-1.11.5-vs2015
5d544e176a4c11f9bcd12a0fe66f97fd157824e6
[ "MIT" ]
null
null
null
gdal/ogr/ogrsf_frmts/couchdb/ogrcouchdbrowslayer.cpp
ShinNoNoir/gdal-1.11.5-vs2015
5d544e176a4c11f9bcd12a0fe66f97fd157824e6
[ "MIT" ]
null
null
null
/****************************************************************************** * $Id$ * * Project: CouchDB Translator * Purpose: Implements OGRCouchDBRowsLayer class. * Author: Even Rouault, <even dot rouault at mines dash paris dot org> * ********************************************************************...
32.609929
79
0.474119
dtusk
02edf31c24b6bb964a465a311d4ed44609e600a0
452
cpp
C++
src/classfile/attribute_info/StackMapTable_attribute.cpp
eracs/toy_jvm
fcf18906dae9c2a90363a8d227baa7e1640a997f
[ "MIT" ]
null
null
null
src/classfile/attribute_info/StackMapTable_attribute.cpp
eracs/toy_jvm
fcf18906dae9c2a90363a8d227baa7e1640a997f
[ "MIT" ]
null
null
null
src/classfile/attribute_info/StackMapTable_attribute.cpp
eracs/toy_jvm
fcf18906dae9c2a90363a8d227baa7e1640a997f
[ "MIT" ]
null
null
null
#include "StackMapTable_attribute.h" StackMapTable_attribute::StackMapTable_attribute(std::string attributeName, u4 attributeLength, const unsigned char *data, size_t &current_ptr, const size_t &dataSize, int &status) ...
41.090909
96
0.612832
eracs
02f11b51821be3bfeacb5a723eafa70e128b792d
2,168
hpp
C++
src/amqpAnalyze/amqp10/ConnectionState.hpp
kpvdr/amqpAnalyze
f1d3a073836191fd9d9a6e6f10a8d6ef2f060cf6
[ "Apache-2.0" ]
1
2019-04-02T23:03:23.000Z
2019-04-02T23:03:23.000Z
src/amqpAnalyze/amqp10/ConnectionState.hpp
kpvdr/amqpAnalyze
f1d3a073836191fd9d9a6e6f10a8d6ef2f060cf6
[ "Apache-2.0" ]
30
2017-04-17T11:21:41.000Z
2018-01-09T19:21:44.000Z
src/amqpAnalyze/amqp10/ConnectionState.hpp
kpvdr/amqpAnalyze
f1d3a073836191fd9d9a6e6f10a8d6ef2f060cf6
[ "Apache-2.0" ]
null
null
null
/* * ConnectionState.hpp * * Created on: Apr 24, 2017 * Author: kpvdr */ #ifndef SRC_AMQPANALYZE_AMQP10_TRANSPORT_CONNECTIONSTATE_HPP_ #define SRC_AMQPANALYZE_AMQP10_TRANSPORT_CONNECTIONSTATE_HPP_ #include <amqpAnalyze/amqp10/ProtocolHeader.hpp> #include <cstdint> #include <deque> #include <map> namespace...
25.809524
83
0.583948
kpvdr
02f47360b593b31db547c0a5e91b1d42e46b7f55
1,987
hpp
C++
Axis/Graphics/Include/Axis/ResourceHeapLayout.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-23T14:51:51.000Z
2022-01-23T14:51:51.000Z
Axis/Graphics/Include/Axis/ResourceHeapLayout.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
null
null
null
Axis/Graphics/Include/Axis/ResourceHeapLayout.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-10T21:01:54.000Z
2022-01-10T21:01:54.000Z
/// \copyright Simmypeet - Copyright (C) /// This file is subject to the terms and conditions defined in /// file 'LICENSE', which is part of this source code package. #ifndef AXIS_GRAPHICS_RESOURCEHEAPLAYOUT_HPP #define AXIS_GRAPHICS_RESOURCEHEAPLAYOUT_HPP #pragma once #include "../../../System...
27.597222
125
0.733266
SimmyPeet
02fdada84a3ef111f986fc6135221a1eeab4c68a
5,888
cpp
C++
Dependencies/Source/FreeImage/OpenEXR/IlmImf/ImfChannelList.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
241
2015-01-04T00:36:58.000Z
2022-01-06T19:19:23.000Z
Dependencies/Source/FreeImage/OpenEXR/IlmImf/ImfChannelList.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
10
2015-07-10T18:27:17.000Z
2019-06-26T20:59:59.000Z
Dependencies/Source/FreeImage/OpenEXR/IlmImf/ImfChannelList.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
82
2015-01-25T18:02:35.000Z
2022-03-05T12:28:17.000Z
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2002, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided th...
23.090196
80
0.595448
gamekit-developers
02fe55778ca51de6c5c03b26290d0d098f5ed086
344
cpp
C++
Pattern03_Decorator/src/HouseBlend.cpp
MRKonrad/DesignPatternsCpp
b622a4a9e7abc58a304ab138036667253fd199de
[ "MIT" ]
null
null
null
Pattern03_Decorator/src/HouseBlend.cpp
MRKonrad/DesignPatternsCpp
b622a4a9e7abc58a304ab138036667253fd199de
[ "MIT" ]
null
null
null
Pattern03_Decorator/src/HouseBlend.cpp
MRKonrad/DesignPatternsCpp
b622a4a9e7abc58a304ab138036667253fd199de
[ "MIT" ]
null
null
null
// // HouseBlend.cpp // DesignPatternsCPP // // Created by Konrad Werys on 30/12/16. // Copyright © 2016 Konrad Werys. All rights reserved. // #include "HouseBlend.h" HouseBlend::HouseBlend(){} HouseBlend::~HouseBlend(){} double HouseBlend::cost(){ return .99; } std::string HouseBlend::getDescription(){ ...
16.380952
55
0.680233
MRKonrad
02ffb6bc733b489ef5ffb889ef814abafe77fb1c
1,710
cpp
C++
iRODS/server/api/src/rsEndTransaction.cpp
nesi/irods
49eeaf76305fc483f21b1bbfbdd77d540b59cfd2
[ "BSD-3-Clause" ]
null
null
null
iRODS/server/api/src/rsEndTransaction.cpp
nesi/irods
49eeaf76305fc483f21b1bbfbdd77d540b59cfd2
[ "BSD-3-Clause" ]
null
null
null
iRODS/server/api/src/rsEndTransaction.cpp
nesi/irods
49eeaf76305fc483f21b1bbfbdd77d540b59cfd2
[ "BSD-3-Clause" ]
null
null
null
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* This is script-generated code (for the most part). */ /* See endTransaction.h for a description of this API call.*/ #include "endTransaction.hpp" #include "...
27.142857
93
0.637427
nesi
02ffe68785eaee22281b20c4c8f3fbf6d39fbb9e
3,799
cpp
C++
legacy/tests/p2p/benchmark_pingpong_put.cpp
bvanessen/DiHydrogen
62e52e22184556a028750bb73d8aed92cedb8884
[ "ECL-2.0", "Apache-2.0" ]
3
2020-01-06T17:26:58.000Z
2021-12-11T01:17:43.000Z
legacy/tests/p2p/benchmark_pingpong_put.cpp
bvanessen/DiHydrogen
62e52e22184556a028750bb73d8aed92cedb8884
[ "ECL-2.0", "Apache-2.0" ]
7
2020-02-26T06:07:42.000Z
2022-02-15T22:51:36.000Z
legacy/tests/p2p/benchmark_pingpong_put.cpp
bvanessen/DiHydrogen
62e52e22184556a028750bb73d8aed92cedb8884
[ "ECL-2.0", "Apache-2.0" ]
6
2020-01-06T18:08:42.000Z
2021-07-26T14:53:07.000Z
#include "p2p/p2p.hpp" #include "p2p/util.hpp" #include "p2p/util_cuda.hpp" #include "p2p/logging.hpp" #include "test_util.hpp" #include "test_util_cuda.hpp" #include <iostream> #include <cassert> #include <cstdlib> #include <sstream> #include <thread> #include <chrono> #include "cuda_profiler_api.h" int test_bandwi...
26.020548
74
0.616478
bvanessen
f303c880b53df4b0fdc67bfda4f1fc92004609d3
7,256
hpp
C++
include/execution/modes/expectation_value.hpp
statphysandml/MCMCSimulationLib
a81ff425df936409b273cb16f93b66c62ad4eebb
[ "MIT" ]
null
null
null
include/execution/modes/expectation_value.hpp
statphysandml/MCMCSimulationLib
a81ff425df936409b273cb16f93b66c62ad4eebb
[ "MIT" ]
1
2021-03-01T08:27:44.000Z
2021-11-30T13:16:21.000Z
include/execution/modes/expectation_value.hpp
statphysandml/MCMCSimulationLib
a81ff425df936409b273cb16f93b66c62ad4eebb
[ "MIT" ]
1
2021-03-01T07:54:08.000Z
2021-03-01T07:54:08.000Z
// // Created by lukas on 28.02.20. // #ifndef MAIN_EXPECTATION_VALUE_HPP #define MAIN_EXPECTATION_VALUE_HPP #include "param_helper/params.hpp" #include "param_helper/json.hpp" #include "../../mcmc_simulation/markov_chain.hpp" using json = nlohmann::json; namespace mcmc { namespace execution { class E...
46.812903
120
0.522464
statphysandml
f306f7920037e8caae04c92194433432ee2a3351
1,057
cpp
C++
src/domain.cpp
alechaka/cognat
affd9f41cd1517eaf85c7c1860673e78685b15e1
[ "MIT" ]
null
null
null
src/domain.cpp
alechaka/cognat
affd9f41cd1517eaf85c7c1860673e78685b15e1
[ "MIT" ]
null
null
null
src/domain.cpp
alechaka/cognat
affd9f41cd1517eaf85c7c1860673e78685b15e1
[ "MIT" ]
null
null
null
#include <QStringList> #include "domain.h" Domain::Domain(const QString &line) { QStringList fields = line.split("\t"); gi = fields.value(0); accession = fields.value(1); evalue = fields.value(2); bitScore = fields.value(3).section(".", 0, 0).toInt(); profileLength = fields.value(4).toInt(); ...
16.515625
65
0.641438
alechaka
f30a7edabb56fe1d05a152aef6de31eb5f4e2667
1,956
cpp
C++
PC_Aula_22_Practice_Strings_SuffixArray_6-dic-21/how_many_substrings/how_many_substrings.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_Aula_22_Practice_Strings_SuffixArray_6-dic-21/how_many_substrings/how_many_substrings.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_Aula_22_Practice_Strings_SuffixArray_6-dic-21/how_many_substrings/how_many_substrings.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
#include <bits/stdc++.h> constexpr int MAX_LENGTH = 2e5 + 1; struct State { int len, prev; long long num_paths; std::map<int, int> adj; }; class SuffixAutomaton { private: std::vector<State> DFA; int tot; int sink; long long tot_paths; public: SuffixAutomaton(int n) { DFA.resize(n); clear(); } void e...
19.366337
65
0.600204
MisaelVM
f30c90cb7455e98ba783b2a891b14f5e97515896
1,893
cpp
C++
src/sysmonx/reporters/report_channel_eventlog.cpp
ansnapx/sysmonx
b9adf0d85474489bc5196a71b71859894003b756
[ "MIT" ]
161
2019-08-07T23:47:18.000Z
2022-03-19T07:43:08.000Z
src/sysmonx/reporters/report_channel_eventlog.cpp
yangliying666/sysmonx
b9adf0d85474489bc5196a71b71859894003b756
[ "MIT" ]
3
2019-08-08T17:44:20.000Z
2020-06-17T02:09:42.000Z
src/sysmonx/reporters/report_channel_eventlog.cpp
yangliying666/sysmonx
b9adf0d85474489bc5196a71b71859894003b756
[ "MIT" ]
40
2019-08-08T02:46:49.000Z
2022-01-07T04:38:34.000Z
#include "common.h" bool ReportChannelEventlog::Initialize() { bool ret = false; m_logger.Trace("ReportChannelEventlog::Initialize - About to initialize Eventlog Report Channel processor"); if (m_config.IsInitialized() && !IsInitialized()) { ReportChannelBase::SetInitializeStatus(true); ret = true; } else ...
28.253731
113
0.733228
ansnapx
f30e2893a1f8fff156d3fba43c260fe23610ba2c
7,473
cxx
C++
src/sprokit/pipeline/edge.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
14
2015-05-02T17:06:34.000Z
2019-06-20T10:10:20.000Z
src/sprokit/pipeline/edge.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
3
2015-02-11T20:09:24.000Z
2018-09-04T21:45:56.000Z
src/sprokit/pipeline/edge.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
9
2015-08-19T04:48:16.000Z
2021-02-15T14:28:06.000Z
/*ckwg +29 * Copyright 2011-2013 by Kitware, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this li...
17.920863
81
0.682323
linus-sherrill
f31e92ed41912466dd9b8f5adf979b9dd55e7ffa
36,810
cpp
C++
lib/vdc/DCWRF.cpp
robertodantas/VAPOR
d9121f3c09298eb1e10cdb1dea9dadfe208c6d0b
[ "BSD-3-Clause" ]
1
2021-05-18T20:12:31.000Z
2021-05-18T20:12:31.000Z
lib/vdc/DCWRF.cpp
robertodantas/VAPOR
d9121f3c09298eb1e10cdb1dea9dadfe208c6d0b
[ "BSD-3-Clause" ]
null
null
null
lib/vdc/DCWRF.cpp
robertodantas/VAPOR
d9121f3c09298eb1e10cdb1dea9dadfe208c6d0b
[ "BSD-3-Clause" ]
null
null
null
#include <vector> #include <algorithm> #include <map> #include <iostream> #include "vapor/VAssert.h" #include <cassert> #include <stdio.h> #ifdef _WINDOWS #define _USE_MATH_DEFINES #pragma warning(disable : 4251 4100) #endif #include <cmath> #include <vapor/GeoUtil.h> #include <vapor/UDUnitsClass.h> #include ...
28.825372
171
0.609046
robertodantas
f31ff402758a50c7ded2ffb5b8020795df048dea
1,195
hpp
C++
CSGOSimple/valve_sdk/interfaces/IClientEntity.hpp
mikemikko/mike-internal-public-version
77dafb13047580e38013ba42bf66b70a9b942604
[ "MIT" ]
3
2019-11-22T16:15:19.000Z
2021-06-09T09:29:31.000Z
CSGOSimple/valve_sdk/interfaces/IClientEntity.hpp
mikemikko/mike-internal-public-version
77dafb13047580e38013ba42bf66b70a9b942604
[ "MIT" ]
null
null
null
CSGOSimple/valve_sdk/interfaces/IClientEntity.hpp
mikemikko/mike-internal-public-version
77dafb13047580e38013ba42bf66b70a9b942604
[ "MIT" ]
2
2019-10-23T15:12:33.000Z
2020-12-27T14:35:41.000Z
#pragma once #include "IClientNetworkable.hpp" #include "IClientRenderable.hpp" #include "IClientUnknown.hpp" #include "IClientThinkable.hpp" struct SpatializationInfo_t; class IClientEntity : public IClientUnknown, public IClientRenderable, public IClientNetworkable, public IClientThinkable { public: virtual void...
20.603448
121
0.766527
mikemikko
f32362e3bbd053940a6312e77457f854687c65bd
228
hpp
C++
GenVania/src/Rotatorcontroller.hpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
GenVania/src/Rotatorcontroller.hpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
GenVania/src/Rotatorcontroller.hpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
#pragma once #include "component.hpp" class Rotatorcontroller : public Component { public: Rotatorcontroller(GameObject* owner) :Component(owner) {} void setup()override; void update()override; private: float rotation; };
16.285714
58
0.758772
kalsipp
f3264c291ccf6911de470928ba9dd0b3843bbe97
1,959
cpp
C++
tools/tester/src/test/analysis/domains/summary_dstack_complex_noerror.cpp
gdslang/summy
bd450278f18859eb94d1f30b7b878bbb1b94c42c
[ "Apache-2.0" ]
null
null
null
tools/tester/src/test/analysis/domains/summary_dstack_complex_noerror.cpp
gdslang/summy
bd450278f18859eb94d1f30b7b878bbb1b94c42c
[ "Apache-2.0" ]
null
null
null
tools/tester/src/test/analysis/domains/summary_dstack_complex_noerror.cpp
gdslang/summy
bd450278f18859eb94d1f30b7b878bbb1b94c42c
[ "Apache-2.0" ]
null
null
null
/* * summary_dstack_complex_noerror.cpp * * Created on: Mar 30, 2016 * Author: Julian Kranz */ /* * This file contains complex test that should only not trigger an error. */ #include <summy/test/analysis/domains/common.h> #include <gtest/gtest.h> class summary_complex_noerror_test : public ::testing::Te...
19.787879
73
0.619193
gdslang
f3291dd5474d5b6155c197f218398167ba111464
7,160
cpp
C++
source/sw/src/input.cpp
madame-rachelle/Raze
67c8187d620e6cf9e99543cab5c5746dd31007af
[ "RSA-MD" ]
null
null
null
source/sw/src/input.cpp
madame-rachelle/Raze
67c8187d620e6cf9e99543cab5c5746dd31007af
[ "RSA-MD" ]
null
null
null
source/sw/src/input.cpp
madame-rachelle/Raze
67c8187d620e6cf9e99543cab5c5746dd31007af
[ "RSA-MD" ]
null
null
null
//------------------------------------------------------------------------- /* Copyright (C) 1997, 2005 - 3D Realms Entertainment This file is part of Shadow Warrior version 1.2 Shadow Warrior is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
27.328244
138
0.54148
madame-rachelle
f32b071046502a899d61571153e0099b3d51c898
765
cpp
C++
export/release/windows/obj/src/flixel/util/IFlxPool.cpp
SamuraiOfSecrets/Goatmeal-Time-v0.2
7b89cbaf6895495b90ee1a5679e9cc696a7fbb53
[ "Apache-2.0" ]
null
null
null
export/release/windows/obj/src/flixel/util/IFlxPool.cpp
SamuraiOfSecrets/Goatmeal-Time-v0.2
7b89cbaf6895495b90ee1a5679e9cc696a7fbb53
[ "Apache-2.0" ]
null
null
null
export/release/windows/obj/src/flixel/util/IFlxPool.cpp
SamuraiOfSecrets/Goatmeal-Time-v0.2
7b89cbaf6895495b90ee1a5679e9cc696a7fbb53
[ "Apache-2.0" ]
null
null
null
// Generated by Haxe 4.2.2 #include <hxcpp.h> #ifndef INCLUDED_flixel_util_IFlxPool #include <flixel/util/IFlxPool.h> #endif namespace flixel{ namespace util{ static ::String IFlxPool_obj_sMemberFields[] = { HX_("preAllocate",00,4a,53,a6), HX_("clear",8d,71,5b,48), ::String(null()) }; ::hx::Class IFlxPool_obj::...
24.677419
80
0.71634
SamuraiOfSecrets
f32b6c14f235e11c47be1f86a16f2db0d5e992f3
70
cpp
C++
platform/win32/PILRoot.cpp
Gemini2015/platform-independent-layer
910952e92def4b609bfd7ba0e8b42a8425416a28
[ "MIT" ]
1
2015-11-07T11:56:52.000Z
2015-11-07T11:56:52.000Z
platform/win32/PILRoot.cpp
Gemini2015/platform-independent-layer
910952e92def4b609bfd7ba0e8b42a8425416a28
[ "MIT" ]
null
null
null
platform/win32/PILRoot.cpp
Gemini2015/platform-independent-layer
910952e92def4b609bfd7ba0e8b42a8425416a28
[ "MIT" ]
null
null
null
#include "PILRoot.h" namespace PIL { Root * Root::Instance = NULL; }
11.666667
30
0.671429
Gemini2015
f32e3b2c7d164a4e5ce98add03c7f12513d2aeb5
1,326
hxx
C++
source/code/systems/input_system/public/ice/input/input_tracker.hxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
39
2019-08-17T09:08:51.000Z
2022-02-13T10:14:19.000Z
source/code/systems/input_system/public/ice/input/input_tracker.hxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
63
2020-05-22T16:09:30.000Z
2022-01-21T14:24:05.000Z
source/code/systems/input_system/public/ice/input/input_tracker.hxx
iceshard-engine/engine
4f2092af8d2d389ea72addc729d0c2c8d944c95c
[ "BSD-3-Clause-Clear" ]
null
null
null
#pragma once #include <ice/unique_ptr.hxx> #include <ice/input/device_queue.hxx> #include <ice/input/input_event.hxx> #include <ice/input/input_device.hxx> namespace ice::input { static constexpr ice::i32 default_button_event_treshold_hold = 40; static constexpr ice::i32 default_button_event_treshold_repeat =...
28.826087
77
0.662142
iceshard-engine