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
af5e21470c196899820ebe9cf8bd7082c1cde99a
834
cpp
C++
Language_Coder/๋ฌธ์ž์—ด2/ํ˜•์„ฑํ‰๊ฐ€/FormativeString201.cpp
NadanKim/CodingTest_JUNGOL
f1f448eb5a107b59bfa196c2682ba89e89431358
[ "MIT" ]
null
null
null
Language_Coder/๋ฌธ์ž์—ด2/ํ˜•์„ฑํ‰๊ฐ€/FormativeString201.cpp
NadanKim/CodingTest_JUNGOL
f1f448eb5a107b59bfa196c2682ba89e89431358
[ "MIT" ]
null
null
null
Language_Coder/๋ฌธ์ž์—ด2/ํ˜•์„ฑํ‰๊ฐ€/FormativeString201.cpp
NadanKim/CodingTest_JUNGOL
f1f448eb5a107b59bfa196c2682ba89e89431358
[ "MIT" ]
null
null
null
๏ปฟ#include "FormativeString201.h" /// <summary> /// ๋ฌธ์ œ /// ๊ณต๋ฐฑ์„ ํฌํ•จํ•œ ๋ฌธ์ž์—ด์„ ์ž…๋ ฅ๋ฐ›์•„ ๊ฐ ๋‹จ์–ด๋กœ ๋ถ„๋ฆฌํ•˜์—ฌ ๋ฌธ์ž์—ด ๋ฐฐ์—ด์— ์ €์žฅํ•œ ํ›„ ์ž…๋ ฅ์ˆœ์„œ์˜ ๋ฐ˜๋Œ€ ์ˆœ์„œ๋กœ ์ถœ๋ ฅํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์ž‘์„ฑํ•˜์‹œ์˜ค. /// ๋ฌธ์ž์—ด์˜ ๊ธธ์ด๋Š” 100์ž ์ดํ•˜์ด๋‹ค. /// /// ์ž…๋ ฅ ์˜ˆ /// C++ Programing jjang!! /// /// ์ถœ๋ ฅ ์˜ˆ /// jjang!! /// Programing /// C++ /// /// Hint! /// [๋ฌธ์žฅ์„ ๋‹จ์–ด๋กœ ๋‚˜๋ˆ„๊ธฐ](http://comkiwer.tistory.com/entry/C-CPP-...
21.947368
182
0.609113
NadanKim
af60f971a6f1c6055b70c3a18f62b8330d3fd656
439
cpp
C++
libs/libc/source/string/memccpy.cpp
zhiayang/nx
0d9da881f67ec351244abd72e1f3884816b48f5b
[ "Apache-2.0" ]
16
2019-03-14T19:45:02.000Z
2022-02-06T19:18:08.000Z
libs/libc/source/string/memccpy.cpp
zhiayang/nx
0d9da881f67ec351244abd72e1f3884816b48f5b
[ "Apache-2.0" ]
1
2020-05-08T08:40:02.000Z
2020-05-08T13:27:59.000Z
libs/libc/source/string/memccpy.cpp
zhiayang/nx
0d9da881f67ec351244abd72e1f3884816b48f5b
[ "Apache-2.0" ]
2
2021-01-16T20:42:05.000Z
2021-12-01T23:37:18.000Z
// memccpy.cpp // Copyright (c) 2014 - 2016, zhiayang // Licensed under the Apache License Version 2.0. #include <stddef.h> extern "C" void* memccpy(void* dest_ptr, const void* src_ptr, int c, size_t n) { unsigned char* dest = (unsigned char*) dest_ptr; const unsigned char* src = (const unsigned char*) src_ptr; for...
25.823529
78
0.649203
zhiayang
af661942888ffecea18cb24d30e3d05615c1592e
3,693
cpp
C++
gm/daa.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
gm/daa.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
gm/daa.cpp
NearTox/Skia
8b7e0616161fff86ecbd8938b90600d72b8d5c1d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm/gm.h" #include "include/core/SkCanvas.h" #include "include/core/SkColor.h" #include "include/core/SkFont.h" #include "include/core/SkPaint.h" #include "include/co...
27.766917
94
0.541565
NearTox
af6865b70dca6d51f0e12fc6ac104705796886d2
1,670
hpp
C++
apps/stochastic_lasso/src/prox_grad.hpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
null
null
null
apps/stochastic_lasso/src/prox_grad.hpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
null
null
null
apps/stochastic_lasso/src/prox_grad.hpp
daiwei89/wdai_petuum_public
4068859897061201d0a63630a3da6011b0d0f75f
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <vector> #include <ml/include/ml.hpp> #include <petuum_ps_common/include/petuum_ps.hpp> #include <random> namespace lasso { struct ProxGradConfig { int worker_rank = -1; int feature_start = 0; int feature_end = 0; int num_samples = 0; int num_reps = 1; }; class ProxGrad { public: P...
25.30303
68
0.691617
daiwei89
af69030ff4cfb16d97d5be413074405e5b354d61
883
cxx
C++
panda/src/gobj/timerQueryContext.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/gobj/timerQueryContext.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
panda/src/gobj/timerQueryContext.cxx
cmarshall108/panda3d-python3
8bea2c0c120b03ec1c9fd179701fdeb7510bb97b
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file timerQueryContext.cxx ...
28.483871
78
0.730464
cmarshall108
af6c046a383a54748e3ec6ccb3a3a7a5f9d7014b
18,315
cpp
C++
termsrv/newclient/clshell/propperf.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
termsrv/newclient/clshell/propperf.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
termsrv/newclient/clshell/propperf.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// // propperf.cpp: local resources property sheet dialog proc // // Tab E // // Copyright Microsoft Corporation 2000 // nadima #include "stdafx.h" #define TRC_GROUP TRC_GROUP_UI #define TRC_FILE "propperf" #include <atrcapi.h> #include "sh.h" #include "commctrl.h" #include "propperf.h" CPr...
27.173591
82
0.546219
npocmaka
af6c3a5fa03dab6a87d9a3abe48f4804956e52cf
1,287
hpp
C++
library/sha256/sha256.hpp
shuyangsun/ssy_blockchain
846c3758ddeb6717b8e7425a9ad89eda5eceb7ab
[ "MIT" ]
null
null
null
library/sha256/sha256.hpp
shuyangsun/ssy_blockchain
846c3758ddeb6717b8e7425a9ad89eda5eceb7ab
[ "MIT" ]
null
null
null
library/sha256/sha256.hpp
shuyangsun/ssy_blockchain
846c3758ddeb6717b8e7425a9ad89eda5eceb7ab
[ "MIT" ]
null
null
null
/********************************************************************* * Filename: sha256.h * Author: Brad Conte (brad AT bradconte.com) * Copyright: * Disclaimer: This code is presented "as is" without any guarantees. * Details: Defines the API for the corresponding SHA1 implementation. **********************...
36.771429
92
0.523699
shuyangsun
af6de3fd4345760aea98549bb776b82adb22984a
603
cpp
C++
VehicleIR.cpp
tcklpl/remotevehicle-vehicle
49c9a7fd455e9c9246077b20bf192f3805d6c873
[ "MIT" ]
null
null
null
VehicleIR.cpp
tcklpl/remotevehicle-vehicle
49c9a7fd455e9c9246077b20bf192f3805d6c873
[ "MIT" ]
null
null
null
VehicleIR.cpp
tcklpl/remotevehicle-vehicle
49c9a7fd455e9c9246077b20bf192f3805d6c873
[ "MIT" ]
null
null
null
/* RemoteVehicle - library for controlling a remote vehicle using a ESP32CAM board. Created by Luan Negroni Sibinel, August 24, 2021. Released under the MIT license. */ #include "VehicleIR.h" VehicleIR::VehicleIR(int8_t panalog, int8_t pdigital) { _panalog = panalog; _pdigital = pdigital; if (_...
25.125
84
0.660033
tcklpl
af6e73cb9cc01c2facf801835c69d271e7115792
7,182
cpp
C++
src/wmecore/UiObjectOld.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
src/wmecore/UiObjectOld.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
src/wmecore/UiObjectOld.cpp
retrowork/wme
54cf8905091736aef0a35fe6d3e05b818441f3c8
[ "MIT" ]
null
null
null
// This file is part of Wintermute Engine // For conditions of distribution and use, see copyright notice in license.txt #include "Wme.h" #include "UiObjectOld.h" #include "UiObjectFactory.h" #include "ContentManager.h" #include "ElementCollection.h" #include "Sprite.h" #include "XmlUtil.h" namespace Wme...
25.468085
125
0.536062
retrowork
af6e84b677151341d0b68349539afe102963feb1
413
cpp
C++
cpp/ql/src/jsf/4.17 Types/AV Rule 147.cpp
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
4,036
2020-04-29T00:09:57.000Z
2022-03-31T14:16:38.000Z
cpp/ql/src/jsf/4.17 Types/AV Rule 147.cpp
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
2,970
2020-04-28T17:24:18.000Z
2022-03-31T22:40:46.000Z
cpp/ql/src/jsf/4.17 Types/AV Rule 147.cpp
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
794
2020-04-29T00:28:25.000Z
2022-03-30T08:21:46.000Z
// Wrong: floating point bit implementation exposed by union with bit field. // Endianness and different floating-point implementations across architectures // as well as different packing methods across compilers could make this behave // incorrectly. typedef union { float float_num; struct { unsigned ...
31.769231
79
0.711864
vadi2
af73ccd755f8939eaefe068d90b89b9d27790bde
5,783
cpp
C++
XFree86-3.3/xc/lib/pex5/PEX5-def.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
XFree86-3.3/xc/lib/pex5/PEX5-def.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
XFree86-3.3/xc/lib/pex5/PEX5-def.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
LIBRARY PEX5 VERSION LIBRARY_VERSION EXPORTS PEXAccumulateState PEXAddToNameSet PEXAnnotationText PEXAnnotationText2D PEXApplicationData PEXBeginPickAll PEXBeginPickOne PEXBeginRendering PEXBeginStructure PEXBuildTransform PEXBuildTransform2D PEXCellArray PEXCellArray2D PEXChangeNameSet PEXChangePickDevi...
20.362676
68
0.898496
tharindusathis
af774e896c3c26f1dd8eac933d891f0007b6d59f
3,048
cpp
C++
source/buffer.cpp
gnader/glutils
d80ec61eecfc1ea2555efd5f52317a54a86289cd
[ "MIT" ]
null
null
null
source/buffer.cpp
gnader/glutils
d80ec61eecfc1ea2555efd5f52317a54a86289cd
[ "MIT" ]
null
null
null
source/buffer.cpp
gnader/glutils
d80ec61eecfc1ea2555efd5f52317a54a86289cd
[ "MIT" ]
null
null
null
/** * This file is part of gltoolbox * * MIT License * * Copyright (c) 2021 Georges Nader * * 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 wi...
23.8125
86
0.69521
gnader
af7b6ea6d128439d18c9fff9b840644ddb98f9d1
2,779
cpp
C++
10.1.1.cpp
luckylove/extra
8d27ec0e62bdc2ab6a261d197b455fea07120a55
[ "CC-BY-4.0", "MIT" ]
null
null
null
10.1.1.cpp
luckylove/extra
8d27ec0e62bdc2ab6a261d197b455fea07120a55
[ "CC-BY-4.0", "MIT" ]
null
null
null
10.1.1.cpp
luckylove/extra
8d27ec0e62bdc2ab6a261d197b455fea07120a55
[ "CC-BY-4.0", "MIT" ]
null
null
null
// program to quick short the linked list // first of all create the linked list #include<stdio.h> #include<stdlib.h> struct node { int data; struct node* next; }; void push(struct node **head,int data1) { struct node* newnode=NULL; newnode=(struct node*)malloc(sizeof(struct node)); newnode->data=d...
21.21374
101
0.558834
luckylove
af7d7ff58aa66834699fd90068f50fdaa921635a
4,318
cpp
C++
Engine/Source/Runtime/Engine/Private/SpotLight.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Engine/Private/SpotLight.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Engine/Private/SpotLight.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "Engine/SpotLight.h" #include "Components/ArrowComponent.h" #include "Components/SpotLightComponent.h" ASpotLight::ASpotLight(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer.SetDefaultSubobjectClass<USpotLightComponent>(TEXT...
30.408451
138
0.787633
windystrife
502d2f4ef3dfaf8e96f415818e968aa727d067f8
26,232
cpp
C++
vuecepc/client/VueceNativeClientImplWin.cpp
vuece/vuece-hub-win
9d09ca44ec44b48e4ef422872f27572d06a1b140
[ "MIT" ]
null
null
null
vuecepc/client/VueceNativeClientImplWin.cpp
vuece/vuece-hub-win
9d09ca44ec44b48e4ef422872f27572d06a1b140
[ "MIT" ]
null
null
null
vuecepc/client/VueceNativeClientImplWin.cpp
vuece/vuece-hub-win
9d09ca44ec44b48e4ef422872f27572d06a1b140
[ "MIT" ]
null
null
null
#include "VueceNativeClientImplWin.h" #include <cstdio> #include <iostream> #include <time.h> #include <iomanip> #include <cstdio> #include <cstring> #include <vector> #include <stdio.h> #include <stdlib.h> #include "talk/xmpp/constants.h" #include "talk/base/logging.h" #include "talk/base/flags.h" #...
32.06846
179
0.679437
vuece
5038382f91b12e996e0a51390909ea21e6dce422
4,239
cpp
C++
source/primitive/Box.cpp
xzrunner/raytracing
c130691a92fab2cc9605f04534f42ca9b99e6fde
[ "MIT" ]
null
null
null
source/primitive/Box.cpp
xzrunner/raytracing
c130691a92fab2cc9605f04534f42ca9b99e6fde
[ "MIT" ]
null
null
null
source/primitive/Box.cpp
xzrunner/raytracing
c130691a92fab2cc9605f04534f42ca9b99e6fde
[ "MIT" ]
null
null
null
#include "raytracing/primitive/Box.h" #include "raytracing/maths/Ray.h" #include "raytracing/maths/Normal.h" #include "raytracing/utilities/ShadeRec.h" #include "raytracing/utilities/Constants.h" namespace rt { Box::Box(const Point3D& min, const Point3D& max) { x0 = min.x; y0 = min.y; z0 = min.z; x1 = max.x; y1...
18.592105
69
0.538099
xzrunner
5039bf2a4c5eb2fd363d549f3197c97c53c2b558
1,142
cpp
C++
viewastrattapubblicazionestampata.cpp
mtodescato/ProgettoPAO
b73e871381e56d6b2917db8a7d227213c514f35b
[ "BSD-3-Clause" ]
null
null
null
viewastrattapubblicazionestampata.cpp
mtodescato/ProgettoPAO
b73e871381e56d6b2917db8a7d227213c514f35b
[ "BSD-3-Clause" ]
null
null
null
viewastrattapubblicazionestampata.cpp
mtodescato/ProgettoPAO
b73e871381e56d6b2917db8a7d227213c514f35b
[ "BSD-3-Clause" ]
null
null
null
#include "viewastrattapubblicazionestampata.h" viewAstrattaPubblicazioneStampata::viewAstrattaPubblicazioneStampata(astrattaPubblicazione *p , QWidget* parent): viewAstrattaPubblicazione(p,parent){} void viewAstrattaPubblicazioneStampata::caricaCampiDati() { viewAstrattaPubblicazione::caricaCampiDati(); astrattaP...
40.785714
151
0.801226
mtodescato
503c2a584d5c9e29ceb89ad561296769117282b3
900
cpp
C++
Chapter_4_Mathematical_Logical_Bitwise_and_Shift_Operators/Program3.cpp
othneildrew/CPP-Programming-Practices
27a20c00b395446a7d2e0dd4b199f4cd9e35591b
[ "MIT" ]
1
2020-12-03T15:26:20.000Z
2020-12-03T15:26:20.000Z
Chapter_4_Mathematical_Logical_Bitwise_and_Shift_Operators/Program3.cpp
othneildrew/CPP-Programming-Practices
27a20c00b395446a7d2e0dd4b199f4cd9e35591b
[ "MIT" ]
null
null
null
Chapter_4_Mathematical_Logical_Bitwise_and_Shift_Operators/Program3.cpp
othneildrew/CPP-Programming-Practices
27a20c00b395446a7d2e0dd4b199f4cd9e35591b
[ "MIT" ]
null
null
null
// Chapter 4: Program 3 /*** Write a C++ program to read diameter of a circle. Find perimeter and area of the circle. **/ #include <iostream> #include <math.h> #include <string> using namespace std; int main(void) { const double PI = 3.141592; double Diameter, Radius, Perimeter, Area; cout << "\n\t This...
25
78
0.625556
othneildrew
50408d093de66e680842e2a1f4f0f26a9a96ebbf
1,569
cpp
C++
oneflow/api/python/framework/py_distribute.cpp
jackalcooper/oneflow-1
16d261ea52a56c28db8e79dbbc79032b4804d09e
[ "Apache-2.0" ]
2
2021-09-10T00:19:49.000Z
2021-11-16T11:27:20.000Z
oneflow/api/python/framework/py_distribute.cpp
jackalcooper/oneflow-1
16d261ea52a56c28db8e79dbbc79032b4804d09e
[ "Apache-2.0" ]
null
null
null
oneflow/api/python/framework/py_distribute.cpp
jackalcooper/oneflow-1
16d261ea52a56c28db8e79dbbc79032b4804d09e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
37.357143
97
0.765456
jackalcooper
50534627e9e01b4312b826745b1493b5659a67cb
471
hpp
C++
src/Util/ImGui.hpp
D3r3k23/DrkCraft
5eaae66f558ce84f18de702b4227ca8d2cfe534f
[ "MIT" ]
1
2022-02-10T04:41:57.000Z
2022-02-10T04:41:57.000Z
src/Util/ImGui.hpp
D3r3k23/DrkCraft
5eaae66f558ce84f18de702b4227ca8d2cfe534f
[ "MIT" ]
null
null
null
src/Util/ImGui.hpp
D3r3k23/DrkCraft
5eaae66f558ce84f18de702b4227ca8d2cfe534f
[ "MIT" ]
null
null
null
#ifndef DRK_UTIL_IMGUI_HPP #define DRK_UTIL_IMGUI_HPP #include "Core/Base.hpp" #include <imgui/imgui.h> #include <string_view> namespace DrkCraft::DrkImGui { void BeginFullscreen(std::string_view name, ImGuiWindowFlags flags=0); void BeginCentered(std::string_view name, const ImVec2& size, ImGuiWindowFlags ...
24.789474
92
0.766454
D3r3k23
5053ea1a70f91478eda466acf7088a52a44b6e56
1,030
hpp
C++
include/deferred/detail/deferred_type_helper.hpp
JohnJocoo/deferred_heap
700510b62bec42c77b52016ac15091b77d5dc619
[ "BSL-1.0" ]
null
null
null
include/deferred/detail/deferred_type_helper.hpp
JohnJocoo/deferred_heap
700510b62bec42c77b52016ac15091b77d5dc619
[ "BSL-1.0" ]
null
null
null
include/deferred/detail/deferred_type_helper.hpp
JohnJocoo/deferred_heap
700510b62bec42c77b52016ac15091b77d5dc619
[ "BSL-1.0" ]
null
null
null
#pragma once #include <typeinfo> namespace def::detail { struct memory_chunk_header; /// Base for helper for deferred-enabled type. class type_helper { public: explicit type_helper(const std::type_info& info, std::size_t bytes_object, std::size_t bytes_allocator...
23.953488
67
0.691262
JohnJocoo
50558d1556bcc275404f44ab2c051caf2b0aac33
10,708
cpp
C++
SPHINXsys/src/shared/particles/base_particles.cpp
SoftwareImpacts/SIMPAC-2020-34
eb2d69e61548eaa11b5a9c20e312d135c5d857f5
[ "Apache-2.0" ]
2
2020-09-24T07:39:22.000Z
2021-04-24T22:12:49.000Z
SPHINXsys/src/shared/particles/base_particles.cpp
SoftwareImpacts/SIMPAC-2020-34
eb2d69e61548eaa11b5a9c20e312d135c5d857f5
[ "Apache-2.0" ]
null
null
null
SPHINXsys/src/shared/particles/base_particles.cpp
SoftwareImpacts/SIMPAC-2020-34
eb2d69e61548eaa11b5a9c20e312d135c5d857f5
[ "Apache-2.0" ]
null
null
null
/** * @file base_particles.cpp * @brief Definition of funcitons declared in base_particles.h * @author Xiangyu Hu and Chi Zhang * @version 0.1 */ /** * @file base_particles.cpp * @author Luhui Han, Chi ZHang and Xiangyu Hu * @version 0.1 */ #include "base_particles.h" #include "base_material.h" #include...
43.004016
115
0.607677
SoftwareImpacts
5055bedb072381a75762b2d8ba9b253cba5b000f
4,331
cpp
C++
src/test/value_parser_path_test.cpp
RichardCory/svgpp
801e0142c61c88cf2898da157fb96dc04af1b8b0
[ "BSL-1.0" ]
428
2015-01-05T17:13:54.000Z
2022-03-31T08:25:47.000Z
src/test/value_parser_path_test.cpp
andrew2015/svgpp
1d2f15ab5e1ae89e74604da08f65723f06c28b3b
[ "BSL-1.0" ]
61
2015-01-08T14:32:27.000Z
2021-12-06T16:55:11.000Z
src/test/value_parser_path_test.cpp
andrew2015/svgpp
1d2f15ab5e1ae89e74604da08f65723f06c28b3b
[ "BSL-1.0" ]
90
2015-05-19T04:56:46.000Z
2022-03-26T16:42:50.000Z
#include <svgpp/parser/path_data.hpp> // Only compilation is checked using namespace svgpp; namespace { struct PathContext1 { public: void path_move_to(double x, double y, tag::coordinate::absolute) {} void path_line_to(double x, double y, tag::coordinate::absolute) {} void path_cubic_bez...
28.682119
87
0.471946
RichardCory
506105a73ca0d4f36849cca455ce3168ace87b90
2,920
cpp
C++
src/GUI/GHGUINotchedSliderMonitorXMLLoader.cpp
GoldenHammerSoftware/GH
757213f479c0fc80ed1a0f59972bf3e9d92b7526
[ "MIT" ]
null
null
null
src/GUI/GHGUINotchedSliderMonitorXMLLoader.cpp
GoldenHammerSoftware/GH
757213f479c0fc80ed1a0f59972bf3e9d92b7526
[ "MIT" ]
null
null
null
src/GUI/GHGUINotchedSliderMonitorXMLLoader.cpp
GoldenHammerSoftware/GH
757213f479c0fc80ed1a0f59972bf3e9d92b7526
[ "MIT" ]
null
null
null
// Copyright Golden Hammer Software #include "GHGUINotchedSliderMonitorXMLLoader.h" #include "GHGUINotchedSliderMonitor.h" #include "GHXMLNode.h" #include "GHPlatform/GHDebugMessage.h" #include "GHXMLObjFactory.h" GHGUINotchedSliderMonitorXMLLoader::GHGUINotchedSliderMonitorXMLLoader(GHPropertyContainer& appProps, con...
31.397849
175
0.719521
GoldenHammerSoftware
50667bb533ec77b5b334e531e0a1994367d5e6f8
729
cpp
C++
rtx/core/material/lambert.cpp
musyoku/chainer-gqn-playground
657bb931d2c531ff8f078fcb1686bbf1999afa7f
[ "MIT" ]
28
2018-09-06T18:08:28.000Z
2021-12-19T13:30:41.000Z
rtx/core/material/lambert.cpp
musyoku/chainer-gqn-playground
657bb931d2c531ff8f078fcb1686bbf1999afa7f
[ "MIT" ]
3
2019-03-01T02:50:15.000Z
2019-06-25T08:12:21.000Z
rtx/core/material/lambert.cpp
musyoku/chainer-gqn-playground
657bb931d2c531ff8f078fcb1686bbf1999afa7f
[ "MIT" ]
8
2018-10-26T12:05:52.000Z
2019-09-04T05:14:24.000Z
#include "lambert.h" #include "../header/enum.h" #include "../header/struct.h" #include <cstring> namespace rtx { LambertMaterial::LambertMaterial(float albedo) { _albedo = albedo; } float LambertMaterial::albedo() const { return _albedo; } int LambertMaterial::type() const { return RTXMaterialTypeLambert;...
24.3
105
0.748971
musyoku
506c250b70618bfcc89ad1ff716504527bdbcba2
315
cpp
C++
json-parser002/lib/json_null.cpp
syohex/cpp-study
598c2afbe77c6d4ba88f549d3e99f97b5bf81acb
[ "MIT" ]
null
null
null
json-parser002/lib/json_null.cpp
syohex/cpp-study
598c2afbe77c6d4ba88f549d3e99f97b5bf81acb
[ "MIT" ]
null
null
null
json-parser002/lib/json_null.cpp
syohex/cpp-study
598c2afbe77c6d4ba88f549d3e99f97b5bf81acb
[ "MIT" ]
null
null
null
#include "json_null.h" JsonNull::JsonNull() : JsonValue(JsonType::kNull) { } bool JsonNull::IsNull() const noexcept { return true; } bool JsonNull::operator==(const JsonValue &value) const noexcept { return type_ == value.Type(); } std::nullptr_t JsonNull::Value() const noexcept { return nullptr; }
19.6875
66
0.695238
syohex
506ef4cf2c88601c2d36fd1a64a0e4ca520d25ad
1,586
hpp
C++
rds/src/rds_3.hpp
epfl-lasa/rds
574b3881dbaf4fdcd785dd96ba4c451928454b40
[ "MIT" ]
12
2020-08-18T09:01:50.000Z
2022-03-17T19:53:30.000Z
rds/src/rds_3.hpp
epfl-lasa/rds
574b3881dbaf4fdcd785dd96ba4c451928454b40
[ "MIT" ]
null
null
null
rds/src/rds_3.hpp
epfl-lasa/rds
574b3881dbaf4fdcd785dd96ba4c451928454b40
[ "MIT" ]
1
2021-08-25T13:12:55.000Z
2021-08-25T13:12:55.000Z
#ifndef RDS_3_HPP #define RDS_3_HPP #include "geometry.hpp" #include "capsule.hpp" #include <vector> namespace Geometry2D { struct RDS3 { RDS3(float tau, float delta, float v_max); void computeCorrectedVelocity(const Capsule& robot_shape, const Vec2& p_ref, const Vec2& v_nominal_p_ref, const std::vector<Add...
36.883721
107
0.77995
epfl-lasa
507098b06484c39551ae4b05fd71ecee34241a0a
1,078
cpp
C++
core/dawn_player/error.cpp
lxrite/DawnPlayer
ba3c7f1f01d7609213492f4c9ba4a91454fb7365
[ "MIT" ]
55
2015-03-22T16:19:03.000Z
2022-03-18T18:11:39.000Z
core/dawn_player/error.cpp
lxrite/DawnPlayer
ba3c7f1f01d7609213492f4c9ba4a91454fb7365
[ "MIT" ]
2
2015-04-09T07:42:08.000Z
2015-07-26T02:56:06.000Z
core/dawn_player/error.cpp
lxrite/DawnPlayer
ba3c7f1f01d7609213492f4c9ba4a91454fb7365
[ "MIT" ]
11
2015-04-29T04:52:19.000Z
2019-12-31T09:36:53.000Z
/* * error.cpp: * * Copyright (C) 2015-2017 Light Lin <blog.poxiao.me> All Rights Reserved. * */ #include "error.hpp" namespace dawn_player { open_error::open_error(const std::string& what_arg, open_error_code ec) : what_msg(what_arg), error_code(ec) {} const char* open_error::what() c...
20.339623
90
0.67718
lxrite
507124ab12997218d83444d5919d7225bc69a457
996
cpp
C++
UVa 10454 - Trexpression/sample/10454 - Trexpression.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 10454 - Trexpression/sample/10454 - Trexpression.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 10454 - Trexpression/sample/10454 - Trexpression.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <stdio.h> #include <string.h> #include <algorithm> using namespace std; const int MAXN = 256; long long dp[MAXN][MAXN]; char s[MAXN]; long long dfs(int l, int r) { if (l == r) return 1; if (dp[l][r] != -1) return dp[l][r]; long long &ret = dp[l][r]; ret = 0; int left = 0, o1 = 0, o2 = 0; for (int i ...
17.785714
38
0.422691
tadvi
5072d895de952d882d7d0940f0497c0c83e79859
17,031
cc
C++
lib/matrices/wimax_864_0_66B.cc
iamviji/wimax_ldpc_lib
e07f102eb9eefb5c906345ec024aa08f7db871e9
[ "MIT" ]
8
2018-10-29T14:56:05.000Z
2022-02-10T09:42:21.000Z
lib/matrices/wimax_864_0_66B.cc
iamviji/wimax_ldpc_lib
e07f102eb9eefb5c906345ec024aa08f7db871e9
[ "MIT" ]
null
null
null
lib/matrices/wimax_864_0_66B.cc
iamviji/wimax_ldpc_lib
e07f102eb9eefb5c906345ec024aa08f7db871e9
[ "MIT" ]
4
2018-10-16T20:12:56.000Z
2020-10-19T07:37:05.000Z
#include "matrices.h" #ifdef Z_36 unsigned int wimax_864_0_66B_D = 35; unsigned int wimax_864_0_66B_X = 6; int16_t wimax_864_0_66B[288][11] = { {0, 79, 161, 234, 301, 390, 449, 509, 611, 612, -1}, {1, 80, 162, 235, 302, 391, 450, 510, 576, 613, -1}, {2, 81, 163, 236, 303, 392, 451, 511, 577, 614, -1}, ...
57.151007
59
0.509424
iamviji
5074b492e1d6cad9623d045c0e74c142a9cf7662
299
cpp
C++
c2017/wd/wd186/main.cpp
wmjtxt/c-exercise
d22336460cab825dd7ae98297bbe46febedfcece
[ "MIT" ]
null
null
null
c2017/wd/wd186/main.cpp
wmjtxt/c-exercise
d22336460cab825dd7ae98297bbe46febedfcece
[ "MIT" ]
null
null
null
c2017/wd/wd186/main.cpp
wmjtxt/c-exercise
d22336460cab825dd7ae98297bbe46febedfcece
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> using namespace std; int main() { char a[100], b[100]; gets(a); gets(b); int lena = -1, i = 0; while(a[++lena] != '\0'); while(b[i] != '\0'){ a[lena++] = b[i++]; } a[lena] = '\0'; cout << a << endl; return 0; }
15.736842
29
0.441472
wmjtxt
5077ad214c26a83540c8a9dd7d899a649af72049
18,125
cxx
C++
main/stoc/source/proxy_factory/proxyfac.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/stoc/source/proxy_factory/proxyfac.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/stoc/source/proxy_factory/proxyfac.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
33.941948
80
0.613517
Grosskopf
507cdeacfef76c4f63da9a526dbb2de19e2ae25d
5,139
cpp
C++
src/vulkan/vulkan-upload.cpp
Impulse21/nvrhi
f272a6595dd0768a8e3419f0075f0edf40d00391
[ "MIT" ]
2
2021-08-28T23:02:30.000Z
2021-08-28T23:26:21.000Z
src/vulkan/vulkan-upload.cpp
Impulse21/nvrhi
f272a6595dd0768a8e3419f0075f0edf40d00391
[ "MIT" ]
null
null
null
src/vulkan/vulkan-upload.cpp
Impulse21/nvrhi
f272a6595dd0768a8e3419f0075f0edf40d00391
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2021, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use,...
34.26
110
0.622884
Impulse21
5081c7d33af9647d83b7b6a0905c91a566c1685a
856
cpp
C++
codeforces/587div3/B.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codeforces/587div3/B.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
codeforces/587div3/B.cpp
xenowits/cp
963b3c7df65b5328d5ce5ef894a46691afefb98c
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define fori(i,a,b) for (long int i = a; i <= b ; ++i) #define ford(i,a,b) for(long int i = a;i >= b ; --i) #define mk make_pair #define mod 1000000007 #define pb push_back #define vec vector<long long int> #define ll long long #define rnd mt19937_64 rng(chrono::high_resolu...
17.12
91
0.593458
xenowits
5088bd07be39f03921292ee9a9af76c4f3883ed7
1,067
cpp
C++
competitive programming/leetcode/905. Sort Array By Parity.cpp
kashyap99saksham/Code
96658d0920eb79c007701d2a3cc9dbf453d78f96
[ "MIT" ]
16
2020-06-02T19:22:45.000Z
2022-02-05T10:35:28.000Z
competitive programming/leetcode/905. Sort Array By Parity.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
null
null
null
competitive programming/leetcode/905. Sort Array By Parity.cpp
codezoned/Code
de91ffc7ef06812a31464fb40358e2436734574c
[ "MIT" ]
2
2020-08-27T17:40:06.000Z
2022-02-05T10:33:52.000Z
Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You may return any answer array that satisfies this condition. Example 1: Input: [3,1,2,4] Output: [2,4,3,1] The outputs [4,2,3,1], [2,4,1,3], and [4,2,1,3] would also be acce...
16.936508
139
0.492971
kashyap99saksham
5089af9edf6629885ea3f89dd4f8105bc13337a7
1,585
hpp
C++
infra/util/Allocator.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
54
2019-04-02T14:42:54.000Z
2022-03-20T23:02:19.000Z
infra/util/Allocator.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
32
2019-03-26T06:57:29.000Z
2022-03-25T00:04:44.000Z
infra/util/Allocator.hpp
oguzcanphilips/embeddedinfralib
f1b083d61a34d123d34ab7cd51267377aa2f7855
[ "Unlicense" ]
20
2019-03-25T15:49:49.000Z
2022-03-20T23:02:22.000Z
#ifndef INFRA_ALLOCATOR_HPP #define INFRA_ALLOCATOR_HPP #include <memory> namespace infra { class AllocatorBase { protected: AllocatorBase() = default; AllocatorBase(const AllocatorBase& other) = delete; AllocatorBase& operator=(const AllocatorBase& other) = delete; ~Alloca...
22.323944
70
0.634069
oguzcanphilips
50906cdb433c4f11ffd5eb9ae7025dfe569be67a
5,564
cxx
C++
templates/ws/src/clan/lang.cxx
roadnarrows-robotics/rnmake
6446cda6b36d66f6ee945db128a052caaf9c89ee
[ "MIT" ]
null
null
null
templates/ws/src/clan/lang.cxx
roadnarrows-robotics/rnmake
6446cda6b36d66f6ee945db128a052caaf9c89ee
[ "MIT" ]
null
null
null
templates/ws/src/clan/lang.cxx
roadnarrows-robotics/rnmake
6446cda6b36d66f6ee945db128a052caaf9c89ee
[ "MIT" ]
null
null
null
/*! \file * * \brief Languages spoken back in the day. * * \pkgfile{@FILENAME@} * \pkgcomponent{Application,clan} * \author @PKG_AUTHOR@ * * \LegalBegin * @PKG_LICENSE@ * \LegalEnd */ #include <string> #include "@PKG_NAME@/stone_tools.h" #include "@PKG_NAME@/fire.h" #include "utils.h" #include "grammar.h"...
28.387755
79
0.550324
roadnarrows-robotics
509162b1e05af53522a2ceacc5e9f25212b7add7
1,862
hpp
C++
Simple++/MemoryAllocation.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/MemoryAllocation.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
Simple++/MemoryAllocation.hpp
Oriode/Simpleplusplus
2ba44eeab5078d6dab66bdefdf73617696b8cb2e
[ "Apache-2.0" ]
null
null
null
MemoryAllocation::MemoryAllocation( void ) { } MemoryAllocation::MemoryAllocation( unsigned long memoryAddress, unsigned long memorySize, const StringASCII & allocationFileName, unsigned int lineNumber ) { this -> memoryAddress = memoryAddress; this -> memorySize = memorySize; this -> allocationFileName = allocati...
25.861111
158
0.767991
Oriode
5092b7a93fb0f11d68b4be55fba304143508ec79
3,454
cc
C++
homeworks/NonConformingCrouzeixRaviartFiniteElements/templates/test/nonconformingcrouzeixraviartfiniteelements_test.cc
padomu/NPDECODES
d2bc5b0d2d5e76e4d5b8ab6948c82f902211182e
[ "MIT" ]
15
2019-04-29T11:28:56.000Z
2022-03-22T05:10:58.000Z
homeworks/NonConformingCrouzeixRaviartFiniteElements/templates/test/nonconformingcrouzeixraviartfiniteelements_test.cc
padomu/NPDECODES
d2bc5b0d2d5e76e4d5b8ab6948c82f902211182e
[ "MIT" ]
12
2020-02-29T15:05:58.000Z
2022-02-21T13:51:07.000Z
homeworks/NonConformingCrouzeixRaviartFiniteElements/templates/test/nonconformingcrouzeixraviartfiniteelements_test.cc
padomu/NPDECODES
d2bc5b0d2d5e76e4d5b8ab6948c82f902211182e
[ "MIT" ]
26
2020-01-09T15:59:23.000Z
2022-03-24T16:27:33.000Z
/** * @file * @brief NPDE homework NonConformingCrouzeixRaviartFiniteElements code * @author Anian Ruoss * @date 18.03.2019 * @copyright Developed at ETH Zurich */ #include <gtest/gtest.h> #include <lf/base/base.h> #include <lf/mesh/mesh.h> #include <lf/mesh/test_utils/test_meshes.h> #include <Eigen/Core> #i...
30.034783
80
0.718587
padomu
5092c1c3cc00fc3ec505ba5fe0f40c04f6f003dd
1,891
hpp
C++
lab_4/matrixline_methods.hpp
DrStarland/bmstu_AA_2020
acbb0c76d5763c06db0230025423e0fbb4382a9f
[ "Apache-2.0" ]
null
null
null
lab_4/matrixline_methods.hpp
DrStarland/bmstu_AA_2020
acbb0c76d5763c06db0230025423e0fbb4382a9f
[ "Apache-2.0" ]
null
null
null
lab_4/matrixline_methods.hpp
DrStarland/bmstu_AA_2020
acbb0c76d5763c06db0230025423e0fbb4382a9f
[ "Apache-2.0" ]
null
null
null
#ifndef MATRIXLINE_METHODS_HPP #define MATRIXLINE_METHODS_HPP #include "matrix.h" template <typename T> Matrix<T>::MatrixLine::MatrixLine(size_t len) : MatrixLine(len, nullptr) {} template <typename T> Matrix<T>::MatrixLine::MatrixLine(MatrixLine &&copy) { this->_move(std::move(copy)); } template <typename T...
32.603448
93
0.649392
DrStarland
50a14eb15659a1a668e106113a140777c86b501d
5,979
cpp
C++
test/android/jni.cpp
10110111/GLFFT
78176d4480bc3675327bf2bcfd80d5dae1820081
[ "MIT" ]
176
2015-08-17T20:47:10.000Z
2022-03-30T09:14:33.000Z
test/android/jni.cpp
10110111/GLFFT
78176d4480bc3675327bf2bcfd80d5dae1820081
[ "MIT" ]
6
2017-09-21T15:55:44.000Z
2020-11-07T03:15:44.000Z
test/android/jni.cpp
10110111/GLFFT
78176d4480bc3675327bf2bcfd80d5dae1820081
[ "MIT" ]
28
2016-02-28T04:37:50.000Z
2022-02-27T12:35:55.000Z
/* Copyright (C) 2015 Hans-Kristian Arntzen <maister@archlinux.us> * * 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...
26.811659
129
0.646596
10110111
50a3fa8ab19998e82f47f1c1c383e3b87fac989a
1,752
hpp
C++
src/ScreenServer.hpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
2
2020-10-23T19:53:56.000Z
2020-11-06T08:59:48.000Z
src/ScreenServer.hpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
src/ScreenServer.hpp
RobinSinghNanda/Home-assistant-display
6f59104012c0956b54d4b55e190aa89941c2c1af
[ "MIT" ]
null
null
null
#ifndef __SCREENSERVER_H__ #define __SCREENSERVER_H__ #include "Arduino.h" #include "TFT_eSPI.h" //==================================================================================== // Definitions //====================================================================================...
42.731707
86
0.639269
RobinSinghNanda
50a45c4fbd2c43884473a27479cb5a6ba43ee08e
2,841
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/tv/CTvStreamConfigBuilder.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/tv/CTvStreamConfigBuilder.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/tv/CTvStreamConfigBuilder.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // 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 // // ...
28.128713
75
0.67969
jingcao80
50a62b87724180c6555f2d0fdc10c3b01f22255d
2,388
cpp
C++
dia/ParserEditorUndoCommand.cpp
BKEngine/Creator
5cc08fb828866cfa970951a14e41c38ecd471a8d
[ "CNRI-Python" ]
25
2016-11-20T15:33:09.000Z
2022-02-22T09:35:20.000Z
dia/ParserEditorUndoCommand.cpp
BKEngine/Creator
5cc08fb828866cfa970951a14e41c38ecd471a8d
[ "CNRI-Python" ]
3
2017-05-25T23:19:44.000Z
2019-07-10T02:18:58.000Z
dia/ParserEditorUndoCommand.cpp
BKEngine/Creator
5cc08fb828866cfa970951a14e41c38ecd471a8d
[ "CNRI-Python" ]
8
2016-12-23T22:40:04.000Z
2021-08-09T04:43:11.000Z
#include "ParserEditorUndoCommand.h" #include "ParserEditorTreeModel.h" #include "ParserEditorTreeItem.h" InsertRowsCommand::InsertRowsCommand(ParserEditorTreeModel *model, int row, int count, const QModelIndex &parent) : model(model) , row(row) , count(count) , parent(parent) { } void InsertRowsCommand::undo() {...
19.258065
147
0.730318
BKEngine
50ad8d9aaf234fe34a638dc709ead023c6ee48dd
6,631
cc
C++
src/image-utils.cc
kyawakyawa/image-utils
af1ab717da7934555f701067f1d69077a69c35b0
[ "MIT" ]
null
null
null
src/image-utils.cc
kyawakyawa/image-utils
af1ab717da7934555f701067f1d69077a69c35b0
[ "MIT" ]
null
null
null
src/image-utils.cc
kyawakyawa/image-utils
af1ab717da7934555f701067f1d69077a69c35b0
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2020 kyawakyawa 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, dis...
32.346341
80
0.655708
kyawakyawa
27084f8412eae86805d019686bfd70a04db14971
6,627
hpp
C++
dof-mgr/src/Panzer_IntrepidFieldPattern.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
1
2022-03-22T03:49:50.000Z
2022-03-22T03:49:50.000Z
dof-mgr/src/Panzer_IntrepidFieldPattern.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
dof-mgr/src/Panzer_IntrepidFieldPattern.hpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85...
43.598684
108
0.689
hillyuan
270aff09f7b49dba066873ece2b73065be1fbf58
13,021
hpp
C++
include/boost/gil/io/device.hpp
sdebionne/gil-reformated
7065d600d7f84d9ef2ed4df9862c596ff7e8a8c2
[ "BSL-1.0" ]
null
null
null
include/boost/gil/io/device.hpp
sdebionne/gil-reformated
7065d600d7f84d9ef2ed4df9862c596ff7e8a8c2
[ "BSL-1.0" ]
null
null
null
include/boost/gil/io/device.hpp
sdebionne/gil-reformated
7065d600d7f84d9ef2ed4df9862c596ff7e8a8c2
[ "BSL-1.0" ]
null
null
null
// // Copyright 2007-2012 Christian Henning, Andreas Pokorny // // 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 BOOST_GIL_IO_DEVICE_HPP #define BOOST_GIL_IO_DEVICE_HPP #include <boost/gil/detail/mp11.hpp...
25.531373
80
0.651179
sdebionne
270e8b3df3b7bd8b52e67cb3eea40f08be838f4c
1,135
hpp
C++
e-Paper/src/WiFiHandler.hpp
PDA-UR/Dumb-e-Paper
99aecce5fbcb64d32b7e47809df393e0e2e7fab4
[ "MIT" ]
2
2019-01-30T13:48:14.000Z
2021-10-30T16:11:03.000Z
e-Paper/src/WiFiHandler.hpp
PDA-UR/Dumb-e-Paper
99aecce5fbcb64d32b7e47809df393e0e2e7fab4
[ "MIT" ]
null
null
null
e-Paper/src/WiFiHandler.hpp
PDA-UR/Dumb-e-Paper
99aecce5fbcb64d32b7e47809df393e0e2e7fab4
[ "MIT" ]
2
2018-02-14T12:45:59.000Z
2021-12-17T20:57:02.000Z
#ifndef __WIFIHANDLER_H_INCLUDED__ #define __WIFIHANDLER_H_INCLUDED__ /** * @defgroup WiFi Handler */ /** @addtogroup WiFi Handler */ /*@{*/ #include "main.hpp" #include <WiFi.h> #include <WiFiMulti.h> /** * @brief Could be anything but must also be changed in python script */ const int PORT = 1516; enum class...
17.461538
69
0.629956
PDA-UR
2716f46542abf6879e15307467bf50c0275d7865
1,125
cpp
C++
t_rex.cpp
alexycruz1/proyecto2
e4817969d610473d02f2b4c68c69d629ef93bef4
[ "MIT" ]
null
null
null
t_rex.cpp
alexycruz1/proyecto2
e4817969d610473d02f2b4c68c69d629ef93bef4
[ "MIT" ]
null
null
null
t_rex.cpp
alexycruz1/proyecto2
e4817969d610473d02f2b4c68c69d629ef93bef4
[ "MIT" ]
null
null
null
#include "dinosaurio.h" #include "t_rex.h" #include <string> #include <sstream> using std::string; using std::stringstream; t_rex::t_rex(string nombre, char genero, int peso, int altura, int esperanza_vida, string era, string territorio, int hambre, int edad):dinosaurio(nombre,genero,peso,altura,esperanza_vida,era,ter...
18.75
219
0.587556
alexycruz1
271977f61e3e2b952a3d340389cb5a28802382f2
2,378
cpp
C++
src/graphics/backend/depth_pass.cpp
NotAPenguin0/Andromeda
69ac0e448dbc7d5ba8f5915177f333bd8cd1a1b4
[ "MIT" ]
7
2020-04-28T11:01:55.000Z
2022-02-22T09:59:33.000Z
src/graphics/backend/depth_pass.cpp
NotAPenguin0/Andromeda
69ac0e448dbc7d5ba8f5915177f333bd8cd1a1b4
[ "MIT" ]
2
2021-09-03T12:58:06.000Z
2021-09-20T20:07:33.000Z
src/graphics/backend/depth_pass.cpp
NotAPenguin0/Andromeda
69ac0e448dbc7d5ba8f5915177f333bd8cd1a1b4
[ "MIT" ]
1
2021-09-03T12:56:25.000Z
2021-09-03T12:56:25.000Z
#include <andromeda/graphics/backend/depth_pass.hpp> #include <andromeda/graphics/backend/mesh_draw.hpp> namespace andromeda::gfx::backend { void create_depth_only_pipeline(gfx::Context& ctx, VkSampleCountFlagBits samples, float sample_ratio) { ph::PipelineCreateInfo pci = ph::PipelineBuilder::create(ctx, "depth_...
48.530612
185
0.671152
NotAPenguin0
271a387131255dd1d036ea05cd4a62a2a4d84380
11,061
cpp
C++
src/hostif/snmpAdapter/snmpAdapter.cpp
rdkcmf/rdk-tr69hostif
5d9042b968eca933481e111e352828402732ec26
[ "Apache-2.0" ]
3
2018-11-23T05:08:54.000Z
2019-10-18T12:52:38.000Z
src/hostif/snmpAdapter/snmpAdapter.cpp
rdkcmf/rdk-tr69hostif
5d9042b968eca933481e111e352828402732ec26
[ "Apache-2.0" ]
null
null
null
src/hostif/snmpAdapter/snmpAdapter.cpp
rdkcmf/rdk-tr69hostif
5d9042b968eca933481e111e352828402732ec26
[ "Apache-2.0" ]
1
2018-08-16T19:15:22.000Z
2018-08-16T19:15:22.000Z
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2017 RDK Management * * 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 ...
29.339523
163
0.574541
rdkcmf
271a6bb390cdea7444ec97670599d0ec5b539f6f
344
cpp
C++
hilbert_mapper/src/hilbert_mapper_node.cpp
Jaeyoung-Lim/mav_hilbertmap_planning
96df718a04953df3b39f080a7e33565407ad6be1
[ "BSD-3-Clause" ]
4
2019-01-16T16:18:16.000Z
2019-06-06T14:30:56.000Z
hilbert_mapper/src/hilbert_mapper_node.cpp
Wayne-xixi/mav_hilbertmap_planning
96df718a04953df3b39f080a7e33565407ad6be1
[ "BSD-3-Clause" ]
16
2019-01-24T12:44:28.000Z
2021-01-08T01:44:41.000Z
hilbert_mapper/src/hilbert_mapper_node.cpp
Wayne-xixi/mav_hilbertmap_planning
96df718a04953df3b39f080a7e33565407ad6be1
[ "BSD-3-Clause" ]
2
2020-01-10T09:31:49.000Z
2021-01-02T23:25:53.000Z
// July/2018, ETHZ, Jaeyoung Lim, jalim@student.ethz.ch #include "hilbert_mapper/hilbert_mapper.h" //using namespace RAI; int main(int argc, char** argv) { ros::init(argc,argv,"geometric_controller"); ros::NodeHandle nh(""); ros::NodeHandle nh_private("~"); HilbertMapper Hilbertmapper(nh, nh_private); ros...
22.933333
56
0.700581
Jaeyoung-Lim
271cba3e5d38e9e79acafa3f44fabf815445a617
422
hpp
C++
src/as3/as3_function_call.hpp
sweetkristas/swiftly
0b5c2badc88637b8bdaa841a45d1babd8f12a703
[ "BSL-1.0", "Zlib", "BSD-3-Clause" ]
null
null
null
src/as3/as3_function_call.hpp
sweetkristas/swiftly
0b5c2badc88637b8bdaa841a45d1babd8f12a703
[ "BSL-1.0", "Zlib", "BSD-3-Clause" ]
null
null
null
src/as3/as3_function_call.hpp
sweetkristas/swiftly
0b5c2badc88637b8bdaa841a45d1babd8f12a703
[ "BSL-1.0", "Zlib", "BSD-3-Clause" ]
null
null
null
#pragma once #include "as3_object.hpp" #include "as3_value.hpp" #include "../swf_environment.hpp" namespace avm2 { class function_call { public: function_call(); ~function_call(); size_t arg_count() const { return arg_count_; } as3_value_ptr arg(size_t n) const; private: as3_object_ptr this_; as3_valu...
17.583333
49
0.727488
sweetkristas
271f8d927109f5c645a03e80ac2afa4111899984
4,779
cpp
C++
test/tbmv.cpp
Idein/qmkl6
ac3e631ca89293c562db24b78576eef66426ab65
[ "BSD-3-Clause" ]
38
2020-09-24T08:46:33.000Z
2022-03-23T01:40:03.000Z
test/tbmv.cpp
Idein/qmkl6
ac3e631ca89293c562db24b78576eef66426ab65
[ "BSD-3-Clause" ]
3
2021-02-03T08:33:55.000Z
2021-08-24T00:04:05.000Z
test/tbmv.cpp
Idein/qmkl6
ac3e631ca89293c562db24b78576eef66426ab65
[ "BSD-3-Clause" ]
6
2020-09-24T13:40:19.000Z
2021-06-08T19:35:43.000Z
#include <algorithm> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <functional> #include <iostream> #include <random> #include <type_traits> #include "cblasdefs.h" #include "cxxutils.hpp" template <typename T> static void naive_tbmv([[maybe_unused]] const CBLAS_L...
33.1875
80
0.596359
Idein
2726f408337596cb11dd98ed1f186d3fb3fbc84c
659
cpp
C++
pointers_class_memory/class7.cpp
Sinchiguano/Algorithmic-Toolbox
7e9dda588a72356fc43fa276016fc3486be47556
[ "BSD-2-Clause" ]
null
null
null
pointers_class_memory/class7.cpp
Sinchiguano/Algorithmic-Toolbox
7e9dda588a72356fc43fa276016fc3486be47556
[ "BSD-2-Clause" ]
null
null
null
pointers_class_memory/class7.cpp
Sinchiguano/Algorithmic-Toolbox
7e9dda588a72356fc43fa276016fc3486be47556
[ "BSD-2-Clause" ]
null
null
null
/* * class7.cpp * Copyright (C) 2018 CESAR SINCHIGUANO <cesarsinchiguano@hotmail.es> * * Distributed under terms of the BSD license. */ #include <iostream> #include <string> //g++ -std=c++14 -o temp sort.cpp using namespace std; class Example4 { string* ptr; public: // constructors: Example4() :...
15.325581
69
0.622155
Sinchiguano
272c01ee9f86a8fc7dad48ccdd942e8495d58c09
3,773
cpp
C++
sim/src/main.cpp
bentobox-dev/bento-box
3e10c62f586c1251529e059b6af515d4d03c60e9
[ "MIT" ]
1
2021-01-02T02:50:15.000Z
2021-01-02T02:50:15.000Z
sim/src/main.cpp
joeltio/bento-box
3e10c62f586c1251529e059b6af515d4d03c60e9
[ "MIT" ]
48
2020-10-21T07:42:30.000Z
2021-02-15T19:34:55.000Z
sim/src/main.cpp
joeltio/bento-box
3e10c62f586c1251529e059b6af515d4d03c60e9
[ "MIT" ]
null
null
null
/* * bentobox-sim * Main Entrypoint */ #include <component/textureComponent.h> #include <core/graphicsContext.h> #include <core/systemContext.h> #include <core/windowContext.h> #include <ics.h> #include <system/render.h> #include <network/grpcServer.h> #include <service/engineService.h> using grpc::Service; using n...
32.808696
79
0.702624
bentobox-dev
272cc7f0fb1519b31760bc68b706d7eab0933a6a
1,128
cpp
C++
tag_hierarchy/utils/filters.cpp
equinor/ioc-hierarchy-service
e60ad3eaae3c4b71ec5d8d6d64913c8463b749e9
[ "MIT" ]
3
2021-12-22T07:36:26.000Z
2022-03-29T07:24:28.000Z
tag_hierarchy/utils/filters.cpp
equinor/ioc-hierarchy-service
e60ad3eaae3c4b71ec5d8d6d64913c8463b749e9
[ "MIT" ]
10
2020-08-03T13:00:30.000Z
2021-12-27T10:08:54.000Z
tag_hierarchy/utils/filters.cpp
equinor/ioc-hierarchy-service
e60ad3eaae3c4b71ec5d8d6d64913c8463b749e9
[ "MIT" ]
null
null
null
#include "tag_hierarchy/utils/filters.h" std::tuple<std::vector<std::string>, std::vector<std::string>, std::vector<std::string>> TagHierarchyUtils::Filters::GetFilterSettings(NodeType& command_map) { auto l1filter = std::vector<std::string>(); if (command_map.count("l1filter") && command_map["l1filter...
47
100
0.669326
equinor
272df97d7c2eeeb96e5bdcd9f8ff41d0e7495246
2,719
cc
C++
mace/ops/reduce_mean_benchmark.cc
nihui/mace
e13c3f66d3543a46248849294f6606eba769964d
[ "Apache-2.0" ]
5
2018-06-28T02:39:33.000Z
2021-05-14T08:12:12.000Z
mace/ops/reduce_mean_benchmark.cc
fly-jelly/mace
e13c3f66d3543a46248849294f6606eba769964d
[ "Apache-2.0" ]
null
null
null
mace/ops/reduce_mean_benchmark.cc
fly-jelly/mace
e13c3f66d3543a46248849294f6606eba769964d
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2017 XiaoMi All rights reserved. // #include "mace/core/operator.h" #include "mace/core/runtime/opencl/opencl_runtime.h" #include "mace/core/testing/test_benchmark.h" #include "mace/ops/ops_test_util.h" namespace mace { namespace ops { namespace test { namespace { template <DeviceType D, typename...
31.616279
79
0.552409
nihui
272ef38e2bdd26b398d8e764eadb4f729ee15768
3,715
cpp
C++
Src/Vessel/Atlantis/Common.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Src/Vessel/Atlantis/Common.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Src/Vessel/Atlantis/Common.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
// ============================================================== // ORBITER MODULE: Atlantis // Part of the ORBITER SDK // Copyright (C) 2001-2003 Martin Schweiger // All rights reserved // // Common.cpp // Utility functions common to multiple Atlantis-relate...
40.380435
150
0.61319
Ybalrid
27305309e16b21f4b91241bdb63de3e3ea06e5ee
6,215
cxx
C++
EVE/EveDet/AliEveEMCALSModuleData.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
EVE/EveDet/AliEveEMCALSModuleData.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
EVE/EveDet/AliEveEMCALSModuleData.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
27.258772
124
0.684312
AllaMaevskaya
27307444b2da9e8959408ee53db2556cc14f1982
578
cpp
C++
codes/HDU/hdu5510.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5510.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu5510.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxn = 505; const int maxm = 2005; int N, F[maxn]; char str[maxn][maxm]; int main () { int cas; scanf("%d", &cas); for (int kcas = 1; kcas <= cas; kcas++) { scanf("%d", &N); for (int i = 0; i < N; i++) scanf("%s", str[i])...
18.645161
55
0.50346
JeraKrs
27326fc91fe01e24ab157440f0a5b456c35c17f4
5,121
cpp
C++
EsteganografiaC++/src/codificar.cpp
nen155/Metodolog-a-de-Programaci-n
587d9a231d1c6ef1fa59f895fdf69d30eb4c598a
[ "MIT" ]
null
null
null
EsteganografiaC++/src/codificar.cpp
nen155/Metodolog-a-de-Programaci-n
587d9a231d1c6ef1fa59f895fdf69d30eb4c598a
[ "MIT" ]
null
null
null
EsteganografiaC++/src/codificar.cpp
nen155/Metodolog-a-de-Programaci-n
587d9a231d1c6ef1fa59f895fdf69d30eb4c598a
[ "MIT" ]
null
null
null
/** * @file codificar.cpp * @brief Fichero que contiene las funciones para codificar un mensaje en una imagen, tanto para introducirlo como para leerlo. * * Permite la E/S de archivos de tipo PGM,PPM * */ #include "imagenES.h" #include "codificar.h" #include <iostream> #include <cstring> using namespace s...
34.369128
213
0.737161
nen155
27328566237e55700f7895bf93f686526d64ee99
3,341
cpp
C++
tests/src/QtSettingsUtilsTests.cpp
oclero/qtutils
477d65211a15bffabe11d9f0b526c917893ae8ee
[ "MIT" ]
null
null
null
tests/src/QtSettingsUtilsTests.cpp
oclero/qtutils
477d65211a15bffabe11d9f0b526c917893ae8ee
[ "MIT" ]
null
null
null
tests/src/QtSettingsUtilsTests.cpp
oclero/qtutils
477d65211a15bffabe11d9f0b526c917893ae8ee
[ "MIT" ]
null
null
null
#include "QtSettingsUtilsTests.hpp" #include <QTest> #include <oclero/QtSettingsUtils.hpp> constexpr auto SETTINGS_KEY = "Toto"; using namespace oclero; void QtSettingsUtilsTests::init() { { QSettings qSettings; qSettings.remove(SETTINGS_KEY); } } void QtSettingsUtilsTests::cleanup() { { QSettin...
29.052174
88
0.747082
oclero
2734ad912439e8edf65e2870e1d3906a68a2fbd6
13,656
hpp
C++
src/Memory/AffixAllocator.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
null
null
null
src/Memory/AffixAllocator.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
29
2016-08-01T14:50:12.000Z
2017-12-17T20:28:27.000Z
src/Memory/AffixAllocator.hpp
epicbrownie/Epic
c54159616b899bb24c6d59325d582e73f2803ab6
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2016 Ronnie Brohn (EpicBrownie) // // Distributed under The MIT License (MIT). // (See accompanying file License.txt or copy at // https://opensource.org/licens...
33.80198
131
0.719098
epicbrownie
2738cad2ad0f4fd1993a2d3118846cbfdce350c9
6,275
cpp
C++
src/morda/widgets/label/NinePatch.cpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
1
2018-10-27T05:07:05.000Z
2018-10-27T05:07:05.000Z
src/morda/widgets/label/NinePatch.cpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
null
null
null
src/morda/widgets/label/NinePatch.cpp
Mactor2018/morda
7194f973783b4472b8671fbb52e8c96e8c972b90
[ "MIT" ]
null
null
null
#include <utki/util.hpp> #include <utki/types.hpp> #include "../../Morda.hpp" #include "../../util/util.hpp" #include "../proxy/ResizeProxy.hpp" #include "NinePatch.hpp" using namespace morda; namespace{ const char* ninePatchLayout_c = R"qwertyuiop( Row{ layout{dx{fill}} Image{ name{morda_lt} } ...
23.501873
135
0.631076
Mactor2018
27398d4050dfe38b74e7be92aaa139b91bd37c3e
988
cpp
C++
src/input/InputConfiguration.cpp
jaspervdj/JVGS
59be35ed61b355b445b82bf32796c0f229e21b60
[ "WTFPL" ]
31
2015-02-02T04:51:10.000Z
2021-02-20T10:04:41.000Z
src/input/InputConfiguration.cpp
jaspervdj/JVGS
59be35ed61b355b445b82bf32796c0f229e21b60
[ "WTFPL" ]
2
2016-08-30T09:26:31.000Z
2016-09-14T20:01:20.000Z
src/input/InputConfiguration.cpp
jaspervdj/JVGS
59be35ed61b355b445b82bf32796c0f229e21b60
[ "WTFPL" ]
7
2015-02-02T05:02:09.000Z
2021-12-24T06:53:01.000Z
#include "InputConfiguration.h" #include "../core/LogManager.h" using namespace jvgs::core; using namespace std; namespace jvgs { namespace input { InputConfiguration::InputConfiguration() { } InputConfiguration::~InputConfiguration() { } InputConfigu...
23.52381
77
0.554656
jaspervdj
273cc8c66a8ab4bb13e42655a91d801541d9d465
1,609
hpp
C++
src/Core/Window.hpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
1
2022-01-24T18:15:56.000Z
2022-01-24T18:15:56.000Z
src/Core/Window.hpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
null
null
null
src/Core/Window.hpp
llGuy/Ondine
325c2d3ea5bd5ef5456b0181c53ad227571fada3
[ "MIT" ]
null
null
null
#pragma once #include "IO.hpp" #include <string_view> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include "Event.hpp" #include "Time.hpp" #include "Utils.hpp" namespace Ondine::Core { enum class WindowMode { Fullscreen, Windowed }; using SurfaceCreationProc = void(*)( struct VkInstance_T *instance, stru...
22.347222
70
0.747669
llGuy
2744efcee9ee1238eb1db6f9df77044fae3d1a37
156
hpp
C++
game_server/src/server_ui.hpp
CellWarsOfficial/CellWars
40b1e956c871ee686062eba1251a9f9a43d86c2c
[ "Apache-2.0" ]
5
2017-07-20T10:36:23.000Z
2018-01-30T16:18:31.000Z
game_server/src/server_ui.hpp
CellWarsOfficial/CellWars
40b1e956c871ee686062eba1251a9f9a43d86c2c
[ "Apache-2.0" ]
null
null
null
game_server/src/server_ui.hpp
CellWarsOfficial/CellWars
40b1e956c871ee686062eba1251a9f9a43d86c2c
[ "Apache-2.0" ]
null
null
null
#ifndef SERVER_UI_H #define SERVER_UI_H #include <log.hpp> extern Game *game; void signal_interpreter(int s); void init_server_ui(Logger *log); #endif
12
33
0.762821
CellWarsOfficial
2746c88ef909c7345bcb0470a83a4b4fe1616962
69,161
cpp
C++
cdl/CDL_interface.cpp
disi33/libRetroReversing
1c825a1971820dbb73fcc96aa444408f6b65803d
[ "MIT" ]
null
null
null
cdl/CDL_interface.cpp
disi33/libRetroReversing
1c825a1971820dbb73fcc96aa444408f6b65803d
[ "MIT" ]
null
null
null
cdl/CDL_interface.cpp
disi33/libRetroReversing
1c825a1971820dbb73fcc96aa444408f6b65803d
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef _WIN32 #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0500 #endif #include <windows.h> #else #include <sys/time.h> #endif #include <stdio.h> #include <map> #include <fstream> #include <iostream> #include <sstream> #include "../cdl/CDL_FileWriting.hpp" #i...
40.186519
312
0.672836
disi33
274859fcc3c14d6621bb5912b64e71495ce6c751
518
cpp
C++
C++/402.remove-k-digits.cpp
WilliamZhaoz/github
2aa0eb17e272249fc225cf2e9861c4c44bd0e265
[ "MIT" ]
1
2018-03-06T05:07:22.000Z
2018-03-06T05:07:22.000Z
C++/402.remove-k-digits.cpp
WilliamZhaoz/github
2aa0eb17e272249fc225cf2e9861c4c44bd0e265
[ "MIT" ]
1
2021-12-24T16:41:02.000Z
2021-12-24T16:41:02.000Z
C++/402.remove-k-digits.cpp
WilliamZhaoz/github
2aa0eb17e272249fc225cf2e9861c4c44bd0e265
[ "MIT" ]
null
null
null
class Solution { public: string removeKdigits(string num, int k) { int n = num.size(); int leave = n - k; string res = ""; for (int i = 0; i < num.size(); i++) { while (k && res.back() > num[i]) { k--; res.pop_back(); } ...
25.9
47
0.3861
WilliamZhaoz
27491f61d7399b5fc86b9abe57f70c2615370f62
1,688
cpp
C++
vs2017/ui/mainwindow/workbench/AppStoreList.cpp
cheechang/cppcc
0292e9a9b27e0579970c83b4f6a75dcdae1558bf
[ "MIT" ]
null
null
null
vs2017/ui/mainwindow/workbench/AppStoreList.cpp
cheechang/cppcc
0292e9a9b27e0579970c83b4f6a75dcdae1558bf
[ "MIT" ]
null
null
null
vs2017/ui/mainwindow/workbench/AppStoreList.cpp
cheechang/cppcc
0292e9a9b27e0579970c83b4f6a75dcdae1558bf
[ "MIT" ]
null
null
null
#include "AppStoreList.h" #include <QListWidgetItem> #include "AppStoreListItem.h" namespace ui{ AppStoreList::AppStoreList(QWidget *parent) : QListWidget(parent) { m_pAppMgr = APPMGRCONTROL; CONNECT_SERVICE(GetApplication(std::vector<data::AppInfo>)); if (m_pAppMgr != CNull) { m_pAppMgr->getAllApplic...
25.969231
75
0.716232
cheechang
2749c9f90bf8cb43cd61b4ac13cdec61c38d4d45
407
cpp
C++
Course 201809/homework/11/C1.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
Course 201809/homework/11/C1.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
Course 201809/homework/11/C1.cpp
Seizzzz/DailyCodes
9a617fb64ee27b9f254be161850e9c9a61747cb1
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> int main() { int **a,n ,m; scanf("%d%d",&n,&m); a=(int **)malloc(sizeof(int *)*n); int i=0,j=0; for(;i<n;i++) { a[i]=(int *)malloc(sizeof(int *)*m); for(int j=0;j<m;j++) scanf("%d",&a[i][j]); } for(int i=0;i<n;i++) { for(int j=0;j<m;j++) printf("%d ",a[i][j] *...
14.034483
53
0.46683
Seizzzz
274b82dafccc64c402de9bd66315b1e8e8c56fd1
16,654
cpp
C++
regex_to_min_dfa.cpp
avinal/C_ode
f056da37c8c56a4a62a06351c2ea3773d16d1b11
[ "MIT" ]
1
2020-08-23T20:21:35.000Z
2020-08-23T20:21:35.000Z
regex_to_min_dfa.cpp
avinal/C_ode
f056da37c8c56a4a62a06351c2ea3773d16d1b11
[ "MIT" ]
null
null
null
regex_to_min_dfa.cpp
avinal/C_ode
f056da37c8c56a4a62a06351c2ea3773d16d1b11
[ "MIT" ]
2
2019-03-18T10:22:13.000Z
2021-01-03T10:12:28.000Z
#include <iostream> #include <vector> #include <stack> #include <set> #include <queue> #include <map> #include<string> using namespace std; struct nst { vector<int> a[2], e; bool f = 0; }; vector<nst> nfa; struct dst { int a[2] = {-1, -1}; bool f = 0; }; vector<dst> dfa; stack<int> st; int nfa_si...
25.119155
110
0.402066
avinal
274cbc7004d0d77513d27a2b76ca6151e5f7e538
2,942
cc
C++
cc/ipc/render_pass_struct_traits.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
cc/ipc/render_pass_struct_traits.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
cc/ipc/render_pass_struct_traits.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/ipc/render_pass_struct_traits.h" #include "base/numerics/safe_conversions.h" #include "cc/ipc/shared_quad_state_struct_traits.h" namespace ...
37.717949
80
0.692386
Wzzzx
274ce82c885e09cfd9385abc9b22a029ac0417a1
1,731
cc
C++
netlibcc/base/Socket.cc
kohakus/tiny-netlib
da9998ee06f4e2eb5ebcaf0e383196269dea1f33
[ "MIT" ]
1
2021-03-05T10:14:27.000Z
2021-03-05T10:14:27.000Z
netlibcc/base/Socket.cc
kohakus/tiny-netlib
da9998ee06f4e2eb5ebcaf0e383196269dea1f33
[ "MIT" ]
null
null
null
netlibcc/base/Socket.cc
kohakus/tiny-netlib
da9998ee06f4e2eb5ebcaf0e383196269dea1f33
[ "MIT" ]
null
null
null
#include "netlibcc/base/Socket.h" #include <netinet/tcp.h> #include <netinet/in.h> #include <cstdio> #include "netlibcc/base/InetAddr.h" #include "netlibcc/base/SockOps.h" #include "netlibcc/core/Logger.h" namespace netlibcc { namespace net { Socket::~Socket() { sockets::close(sockfd_); } void Socket::listen()...
25.835821
79
0.638937
kohakus
27525b161306b860b02f28e342178932470bbecf
21,657
cpp
C++
source/add-ons/Quantize/Quantize.cpp
thaflo/Becasso
9a1411913ee46f4dfa5116def50ebc41495dad28
[ "MIT" ]
2
2020-10-05T14:18:09.000Z
2021-08-05T02:56:43.000Z
source/add-ons/Quantize/Quantize.cpp
thaflo/Becasso
9a1411913ee46f4dfa5116def50ebc41495dad28
[ "MIT" ]
26
2017-01-10T19:54:10.000Z
2020-12-17T07:28:57.000Z
source/add-ons/Quantize/Quantize.cpp
thaflo/Becasso
9a1411913ee46f4dfa5116def50ebc41495dad28
[ "MIT" ]
5
2017-12-14T18:46:08.000Z
2020-12-13T18:22:34.000Z
// ยฉ 2000-2001 Sum Software #define BUILDING_ADDON #include "BecassoAddOn.h" #include "AddOnSupport.h" #include "Slider.h" #include <string.h> #include <CheckBox.h> #include <RadioButton.h> #include <Box.h> #define bzero(p,n) memset (p, 0, n) int16 *gLut = 0; #define FOREGROUND 0 #define BACKGROUND 1 #define R_BIT...
26.540441
128
0.586323
thaflo
27529bcb836fad9ead65325abb59bf5376582755
5,373
cpp
C++
55479c656d65636fdb050000/code/RobotAI.cpp
MechEmpire/Mechempire-meches
aa95b15f061f4179c9061595e73c7127587cc4df
[ "Apache-2.0" ]
1
2020-07-29T05:50:16.000Z
2020-07-29T05:50:16.000Z
55479ffa6d65636fdb0d0000/code/RobotAI.cpp
MechEmpire/Mechempire-meches
aa95b15f061f4179c9061595e73c7127587cc4df
[ "Apache-2.0" ]
null
null
null
55479ffa6d65636fdb0d0000/code/RobotAI.cpp
MechEmpire/Mechempire-meches
aa95b15f061f4179c9061595e73c7127587cc4df
[ "Apache-2.0" ]
null
null
null
๏ปฟ#include "RobotAI.h" #include<math.h> #include<iostream> using namespace std; RobotAI::RobotAI() { } RobotAI::~RobotAI() { } //----------------------------------------------------- //1.ๅฟ…้กปๅฎŒๆˆ็š„ๆˆ˜ๆ–—ๆ ธๅฟƒ //----------------------------------------------------- struct node { double x,y,dis; }; d...
17.166134
95
0.577703
MechEmpire
27535f079eb414837f11b815cca167a6b7fe7654
10,997
cpp
C++
webkit/WebCore/dom/Text.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/dom/Text.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/dom/Text.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library Genera...
29.964578
145
0.626807
s1rcheese
2753944f40611ce3b32bdff335d878da63ecb12b
2,770
cpp
C++
Source/Planet/Map/PlanetMapTile.cpp
unconed/NFSpace
bbd544afb32a10bc4ee497e1d58cefe4bbbe7953
[ "BSD-3-Clause" ]
91
2015-01-19T11:03:56.000Z
2022-03-12T15:54:06.000Z
Source/Planet/Map/PlanetMapTile.cpp
unconed/NFSpace
bbd544afb32a10bc4ee497e1d58cefe4bbbe7953
[ "BSD-3-Clause" ]
null
null
null
Source/Planet/Map/PlanetMapTile.cpp
unconed/NFSpace
bbd544afb32a10bc4ee497e1d58cefe4bbbe7953
[ "BSD-3-Clause" ]
9
2015-03-16T03:36:50.000Z
2021-06-17T09:47:26.000Z
/* * PlanetMapTile.cpp * NFSpace * * Created by Steven Wittens on 26/11/09. * Copyright 2009 __MyCompanyName__. All rights reserved. * */ #include "PlanetMapTile.h" #include "Utility.h" namespace NFSpace { PlanetMapTile::PlanetMapTile(QuadTreeNode* node, TexturePtr heightTexture, Image heightImage...
31.123596
135
0.651264
unconed
2755d2ac1baa5df3c2f5c744333f2853a896e547
1,579
cpp
C++
Graphs/dijkstra.cpp
adiletabs/Algos
fa2bb9edddb517f52b79fc712f70d6f8a0786e33
[ "MIT" ]
3
2020-01-29T18:26:37.000Z
2021-01-19T06:26:34.000Z
Graphs/dijkstra.cpp
adiletabs/Algos
fa2bb9edddb517f52b79fc712f70d6f8a0786e33
[ "MIT" ]
null
null
null
Graphs/dijkstra.cpp
adiletabs/Algos
fa2bb9edddb517f52b79fc712f70d6f8a0786e33
[ "MIT" ]
2
2019-03-06T03:40:42.000Z
2019-09-23T03:48:21.000Z
#include <bits/stdc++.h> using namespace std; const int N = 2020, inf = INT_MAX; vector<pair<int, int> > g[N]; int dist[N], par[N], n, m; bool used[N]; vector<int> path; void init(int s) { for (int i = 0; i < N; i++) dist[i] = inf; dist[s] = 0; } void dijkstra(int s) { init(s); for (int i = 0; i < n; i++) { ...
20.24359
50
0.559215
adiletabs
2756ebb0e82a9b58972a2a24859faf61057b140e
5,107
hpp
C++
src/threepp/renderers/gl/GLClipping.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
src/threepp/renderers/gl/GLClipping.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
src/threepp/renderers/gl/GLClipping.hpp
maidamai0/threepp
9b50e2c0f2a7bb3ebfd3ffeef61dbefcd54c7071
[ "MIT" ]
null
null
null
// https://github.com/mrdoob/three.js/blob/r129/src/renderers/webgl/WebGLClipping.js #ifndef THREEPP_GLCLIPPING_HPP #define THREEPP_GLCLIPPING_HPP #include "GLProperties.hpp" #include "threepp/cameras/Camera.hpp" #include "threepp/math/Plane.hpp" #include "threepp/core/Uniform.hpp" namespace threepp::gl { str...
27.907104
120
0.527511
maidamai0
2758945d92d2bba295767c04dccf123ca71c6a50
960
cpp
C++
src/console/commands/environment/terrain/environmentTerrainValleys.cpp
fantasiorona/LGen
bb670278b7faf82154d6256e6a283fa3e226c00b
[ "MIT" ]
22
2019-08-01T22:04:43.000Z
2021-12-23T07:53:59.000Z
src/console/commands/environment/terrain/environmentTerrainValleys.cpp
fantasiorona/LGen
bb670278b7faf82154d6256e6a283fa3e226c00b
[ "MIT" ]
15
2019-05-01T10:57:36.000Z
2019-05-27T11:23:42.000Z
src/console/commands/environment/terrain/environmentTerrainValleys.cpp
fantasiorona/LGen
bb670278b7faf82154d6256e6a283fa3e226c00b
[ "MIT" ]
4
2019-08-02T08:07:45.000Z
2022-01-22T00:46:03.000Z
#include "environmentTerrainValleys.h" #include "environment/terrain/terrainValleys.h" using namespace LGen; const std::string Command::Environment::Terrain::Valleys::KEYWORD = "valleys"; const std::string Command::Environment::Terrain::Valleys::FILE_HELP = "text/helpEnvironmentTerrainValleys.txt"; Command::Environm...
27.428571
111
0.734375
fantasiorona
275af587f3742e93eef69ddd318501c98c79f037
3,214
hpp
C++
Code/Engine/Renderer/Effects/Tonemapping.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
2
2017-10-02T03:18:55.000Z
2018-11-21T16:30:36.000Z
Code/Engine/Renderer/Effects/Tonemapping.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
Code/Engine/Renderer/Effects/Tonemapping.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
#pragma once #include "Engine/General/Core/EngineCommon.hpp" #include "Engine/Renderer/General/RenderCommon.hpp" #include "Engine/Math/Objects/AABB3.hpp" class TextureBuffer; class Material; class Framebuffer; const float MIN_EXPOSURE = 1.6f; const float MAX_EXPOSURE = 6.f; ////////////////////////////////////////...
33.479167
125
0.47822
ntaylorbishop
275e4de2d23f93672a8e3a261c6cb895b631b1a2
18,965
cpp
C++
CaptureManagerSource/SampleAccumulatorNode/SampleAccumulator.cpp
luoyingwen/CaptureManagerSDK
e96395a120175a45c56ff4e2b3283b807a42fd75
[ "MIT" ]
64
2020-07-20T09:35:16.000Z
2022-03-27T19:13:08.000Z
CaptureManagerSource/SampleAccumulatorNode/SampleAccumulator.cpp
luoyingwen/CaptureManagerSDK
e96395a120175a45c56ff4e2b3283b807a42fd75
[ "MIT" ]
8
2020-07-30T09:20:28.000Z
2022-03-03T22:37:10.000Z
CaptureManagerSource/SampleAccumulatorNode/SampleAccumulator.cpp
luoyingwen/CaptureManagerSDK
e96395a120175a45c56ff4e2b3283b807a42fd75
[ "MIT" ]
28
2020-07-20T13:02:42.000Z
2022-03-18T07:36:05.000Z
/* MIT License Copyright(c) 2020 Evgeny Pereguda 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, ...
22.443787
131
0.670393
luoyingwen
275e5f0f0c8ed2d36c61c7e308e3de6edd03bc34
11,634
cpp
C++
source/io/net/TlsServer.cpp
tarm-project/tarm-io
6aebd85573f65017decf81be073c8b13ce6ac12c
[ "MIT" ]
4
2021-01-14T15:19:35.000Z
2022-01-09T09:22:18.000Z
source/io/net/TlsServer.cpp
ink-splatters/tarm-io
6aebd85573f65017decf81be073c8b13ce6ac12c
[ "MIT" ]
null
null
null
source/io/net/TlsServer.cpp
ink-splatters/tarm-io
6aebd85573f65017decf81be073c8b13ce6ac12c
[ "MIT" ]
1
2020-08-05T21:14:59.000Z
2020-08-05T21:14:59.000Z
/*---------------------------------------------------------------------------------------------- * Copyright (c) 2020 - present Alexander Voitenko * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------------------...
34.318584
144
0.670191
tarm-project
2763e7da0af34195ab15cee538b3c4b789795527
1,840
cpp
C++
docs/melb-cpp-talk-feb-2017/24a-cpp17-auto-template-parameter.cpp
RossBencina/StaticMode
04eead233a6a03aa4f47c22f81c1d89b4e5cf5ca
[ "MIT" ]
3
2017-02-15T22:49:40.000Z
2018-04-19T15:42:57.000Z
docs/melb-cpp-talk-feb-2017/24a-cpp17-auto-template-parameter.cpp
RossBencina/StaticMode
04eead233a6a03aa4f47c22f81c1d89b4e5cf5ca
[ "MIT" ]
14
2017-02-19T14:25:30.000Z
2017-02-20T10:11:42.000Z
docs/melb-cpp-talk-feb-2017/24a-cpp17-auto-template-parameter.cpp
RossBencina/StaticMode
04eead233a6a03aa4f47c22f81c1d89b4e5cf5ca
[ "MIT" ]
null
null
null
//!clang++ -std=c++1z -Weverything -Wno-c++98-compat 24a-cpp17-auto-template-parameter.cpp -o z24a.out && ./z24a.out // WARNING: bleeding edge. tested in gcc 7, possibly clang 4 // This file is optional. It's a side note about C++17 auto template parameters. // It requires clang 4 or GCC 7 to compile. // When C++17 a...
27.462687
116
0.59837
RossBencina
27645cc5b63715c2686976d8c80b04e1667d197e
330
cpp
C++
Black Horse C++/ex0027_encapsulation/main.cpp
Dragontalker/CPP-study-notes
d9ebd183d414d2de247ef37c03a24504dd3053d5
[ "MIT" ]
null
null
null
Black Horse C++/ex0027_encapsulation/main.cpp
Dragontalker/CPP-study-notes
d9ebd183d414d2de247ef37c03a24504dd3053d5
[ "MIT" ]
null
null
null
Black Horse C++/ex0027_encapsulation/main.cpp
Dragontalker/CPP-study-notes
d9ebd183d414d2de247ef37c03a24504dd3053d5
[ "MIT" ]
null
null
null
#include <iostream> class Circle { private: const double PI = 3.1415926; public: double m_r; double calculateZC() { return 2 * PI * m_r; } }; int main() { Circle c1; c1.m_r = 10; std::cout << "The raius of our circle = " << c1.calculateZC() << std::endl; re...
12.692308
47
0.524242
Dragontalker
2764a0b63daefb8e607a670a6a3612e9adc2079a
2,885
cpp
C++
test/test_main.cpp
ChrizZhuang/3D_particle_simulator
cc2a0c75dc67ec7e4f89a270bca736d9425dbec0
[ "MIT" ]
null
null
null
test/test_main.cpp
ChrizZhuang/3D_particle_simulator
cc2a0c75dc67ec7e4f89a270bca736d9425dbec0
[ "MIT" ]
null
null
null
test/test_main.cpp
ChrizZhuang/3D_particle_simulator
cc2a0c75dc67ec7e4f89a270bca736d9425dbec0
[ "MIT" ]
null
null
null
// File to test main functions #include <iostream> #include <fstream> #include <iomanip> #include <vector> #include <math.h> #include <cmath> #include <assert.h> #include <string> #include "Vector3D.hpp" #include "SimpleParticleList.hpp" #include "Spring1DForce.hpp" #include "LatticeParticleList.hpp" #include "Lattice...
29.141414
144
0.67383
ChrizZhuang
276533790d14865853af0f89f47ee160125a3ee4
169
cpp
C++
Code full house/buoi20 nguyen dinh trung duc/implement/bai 16 1352A.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi20 nguyen dinh trung duc/implement/bai 16 1352A.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi20 nguyen dinh trung duc/implement/bai 16 1352A.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
/*bai 16 1325A*/ #include<stdio.h> int main(){ int T; scanf("%d",&T); while (T--) { int x; scanf("%d",&x); printf("1 %d\n",x-1); } }
12.071429
26
0.408284
ducyb2001
27657d88fd215d96f5e3585a5224aaf294f12e25
15,198
cc
C++
agent/src/agent_win.cc
chromium/content_analysis_sdk
1a6e24f9ced8a4cf180ee7eafbc5fa0beb1046eb
[ "BSD-3-Clause" ]
null
null
null
agent/src/agent_win.cc
chromium/content_analysis_sdk
1a6e24f9ced8a4cf180ee7eafbc5fa0beb1046eb
[ "BSD-3-Clause" ]
1
2022-03-30T21:06:11.000Z
2022-03-30T21:06:11.000Z
agent/src/agent_win.cc
chromium/content_analysis_sdk
1a6e24f9ced8a4cf180ee7eafbc5fa0beb1046eb
[ "BSD-3-Clause" ]
1
2022-03-14T23:15:39.000Z
2022-03-14T23:15:39.000Z
// Copyright 2022 The Chromium Authors. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <ios> #include <utility> #include <vector> #include <windows.h> #include <sddl.h> #include "common/utils_win.h" #include "agent_utils_win.h" #include "agent_win.h"...
30.035573
87
0.665745
chromium
2776b138321d36f835b798181a8f27dbae2206f0
1,119
cpp
C++
tools/disktool/src/AssistantPage.cpp
DarkMaguz/CodingPiratesOS
7750224b87646ad376664bd1f826aae5112ea41c
[ "MIT" ]
1
2020-03-09T14:14:02.000Z
2020-03-09T14:14:02.000Z
tools/disktool/src/AssistantPage.cpp
DarkMaguz/CodingPiratesOS
7750224b87646ad376664bd1f826aae5112ea41c
[ "MIT" ]
null
null
null
tools/disktool/src/AssistantPage.cpp
DarkMaguz/CodingPiratesOS
7750224b87646ad376664bd1f826aae5112ea41c
[ "MIT" ]
2
2020-03-11T21:29:20.000Z
2020-07-06T20:20:18.000Z
/* * AssistantPage.cpp * * Created on: Mar 20, 2022 * Author: magnus */ #include "AssistantPage.h" #include <iostream> AssistantPage::AssistantPage(const Glib::ustring &resourcePath) : m_assistantPage(nullptr), m_refBuilder(Gtk::Builder::create()) { try { m_refBuilder->add_from_resource(resourcePath...
18.966102
78
0.669348
DarkMaguz
2776b3077b548c5674269fbc460f15f64720a1c2
16,734
cpp
C++
src/parse_symbol_set.cpp
DavideConficconi/hscompile
819e35c50ffb2a767cbf4634bc05cd2c9e4d21a7
[ "BSD-3-Clause" ]
4
2017-06-22T19:30:05.000Z
2021-11-17T07:45:24.000Z
src/parse_symbol_set.cpp
DavideConficconi/hscompile
819e35c50ffb2a767cbf4634bc05cd2c9e4d21a7
[ "BSD-3-Clause" ]
2
2018-03-19T15:29:22.000Z
2021-03-14T13:16:59.000Z
src/parse_symbol_set.cpp
DavideConficconi/hscompile
819e35c50ffb2a767cbf4634bc05cd2c9e4d21a7
[ "BSD-3-Clause" ]
4
2018-03-13T17:23:12.000Z
2021-04-18T16:17:18.000Z
/* * Copyright (c) 2016, University of Virginia * 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...
33.806061
86
0.369906
DavideConficconi
2777883fc452b8b0d7f2cfb50caebc5a9ae8dcaa
539
cpp
C++
leetcode/88/main.cpp
yukienomiya/competitive-programming
6f5e502ba66da2f62fb37aaa786a841f64bb192a
[ "MIT" ]
null
null
null
leetcode/88/main.cpp
yukienomiya/competitive-programming
6f5e502ba66da2f62fb37aaa786a841f64bb192a
[ "MIT" ]
null
null
null
leetcode/88/main.cpp
yukienomiya/competitive-programming
6f5e502ba66da2f62fb37aaa786a841f64bb192a
[ "MIT" ]
null
null
null
#include <vector> using namespace std; class Solution { public: void merge(vector<int>& nums1, int m, vector<int>& nums2, int n) { vector<int> nums3(m + n, 0); int idx1 = 0, idx2 = 0, idx3 = 0; while (idx1 < m && idx2 < n) { if (nums1[idx1] <= nums2[idx2]) nums3[idx3++] = nums1[idx1++]; else...
26.95
68
0.526902
yukienomiya
277797464e507b139fac06991ad4b81922a4e221
8,478
cpp
C++
projects/Phantom.Code/phantom/lang/Project.cpp
vlmillet/Phantom.Code
05ed65bc4a456e76da4b2d9da1fe3dabe64ba1b3
[ "MIT" ]
null
null
null
projects/Phantom.Code/phantom/lang/Project.cpp
vlmillet/Phantom.Code
05ed65bc4a456e76da4b2d9da1fe3dabe64ba1b3
[ "MIT" ]
null
null
null
projects/Phantom.Code/phantom/lang/Project.cpp
vlmillet/Phantom.Code
05ed65bc4a456e76da4b2d9da1fe3dabe64ba1b3
[ "MIT" ]
null
null
null
// 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 "Project.h" #include "CompiledSource.h" #include "Compiler.h" #include "Solution.h" #include <fstream> #includ...
28.935154
120
0.651215
vlmillet
277a4ebe107b13457f249f8345419ed6ebef086f
19,986
hpp
C++
include/chobo/vector_view.hpp
mikke89/chobo-shl
7f888d1c97e0a69da99ab147c7f691ca0c64038f
[ "MIT" ]
147
2016-09-23T19:33:11.000Z
2021-09-25T01:44:10.000Z
include/chobo/vector_view.hpp
mikke89/chobo-shl
7f888d1c97e0a69da99ab147c7f691ca0c64038f
[ "MIT" ]
14
2016-09-27T10:54:35.000Z
2020-10-15T03:56:41.000Z
include/chobo/vector_view.hpp
mikke89/chobo-shl
7f888d1c97e0a69da99ab147c7f691ca0c64038f
[ "MIT" ]
19
2016-09-25T15:49:26.000Z
2021-08-09T06:34:28.000Z
// chobo-vector-view v1.01 // // A view of a std::vector which makes it look as a vector of another type // // MIT License: // Copyright(c) 2016 Chobolabs Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files(the // "Software"), to...
26.262812
117
0.631992
mikke89
277b93df3e0d432f978009c9bf64272146c36b1d
1,014
cpp
C++
Stacks/Longest-Valid-Parentheses-32.cpp
devangi2000/Data-Structures-Algorithms-Handbook
ce0f00de89af5da7f986e65089402dc6908a09b5
[ "MIT" ]
38
2021-10-14T09:36:53.000Z
2022-01-27T02:36:19.000Z
Stacks/Longest-Valid-Parentheses-32.cpp
devangi2000/Data-Structures-Algorithms-Handbook
ce0f00de89af5da7f986e65089402dc6908a09b5
[ "MIT" ]
null
null
null
Stacks/Longest-Valid-Parentheses-32.cpp
devangi2000/Data-Structures-Algorithms-Handbook
ce0f00de89af5da7f986e65089402dc6908a09b5
[ "MIT" ]
4
2021-12-06T15:47:12.000Z
2022-02-04T04:25:00.000Z
// Given a string containing just the characters '(' and ')', find the // length of the longest valid (well-formed) parentheses substring. // Example 1: // Input: s = "(()" // Output: 2 // Explanation: The longest valid parentheses substring is "()". // Example 2: // Input: s = ")()())" // Output: 4 // ...
22.533333
72
0.439842
devangi2000
277c302017dae8c7514180218fc0b1412a451c54
3,057
cpp
C++
array_inversion/main.cpp
8alery/algorithms
67cf12724f61cdae7eff1788062c1b7c26f98ca4
[ "Apache-2.0" ]
null
null
null
array_inversion/main.cpp
8alery/algorithms
67cf12724f61cdae7eff1788062c1b7c26f98ca4
[ "Apache-2.0" ]
null
null
null
array_inversion/main.cpp
8alery/algorithms
67cf12724f61cdae7eff1788062c1b7c26f98ca4
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <random> #include <algorithm> #include <queue> #include <limits> void printVector(std::vector<int> array){ for (auto v:array){ std::cout << v << " "; } std::cout << std::endl; } int next_power_of_two(int v){ v--; v |= v >> 1; v |= v >> 2; ...
26.815789
94
0.514884
8alery
277d16cc64a386e3bc92eb09a29e6fac42aec4ec
5,323
cpp
C++
compat/BSSynchronizedClipGenerator_1.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
38
2015-03-24T00:41:59.000Z
2022-03-23T09:18:29.000Z
compat/BSSynchronizedClipGenerator_1.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
2
2015-10-14T07:41:48.000Z
2015-12-14T02:19:05.000Z
compat/BSSynchronizedClipGenerator_1.cpp
BlazesRus/hkxcmd
e00a554225234e40e111e808b095156ac1d4b1fe
[ "Intel" ]
24
2015-08-03T20:41:07.000Z
2022-03-27T03:58:37.000Z
#include "StdAfx.h" #include "BSSynchronizedClipGenerator_1.h" #include <Common/Serialize/hkSerialize.h> #include <Common/Serialize/Util/hkSerializeUtil.h> #include <Common/Serialize/Version/hkVersionPatchManager.h> #include <Common/Serialize/Data/Dict/hkDataObjectDict.h> #include <Common/Serialize/Data/Native/hkDataO...
91.775862
219
0.833177
BlazesRus
277d97de0c9342aa004f99d363161c6cd19d89b8
54
cpp
C++
App/FIFOServer/ClientB.cpp
Lw-Cui/Compression-server
3501d746f14145d3764700d40d3672a0da0b2eae
[ "MIT" ]
3
2016-12-10T16:06:20.000Z
2017-06-25T12:47:06.000Z
App/FIFOServer/ClientB.cpp
Lw-Cui/Compression-server
3501d746f14145d3764700d40d3672a0da0b2eae
[ "MIT" ]
2
2017-05-15T15:22:36.000Z
2017-05-20T15:01:25.000Z
App/FIFOServer/ClientB.cpp
Lw-Cui/Tiny-server
3501d746f14145d3764700d40d3672a0da0b2eae
[ "MIT" ]
null
null
null
#define CLIENT "ClientB" #include "ClientBody.cpp"
9
25
0.722222
Lw-Cui
277ec282bacc3d331bb049b9c28b4d96dc43d669
4,003
cpp
C++
src/Samples/Synthetic_TwoView/main.cpp
eivan/one-ac-pose
79451626238f47130578c18b65e37cabd7332de1
[ "MIT" ]
4
2020-07-31T19:12:44.000Z
2022-02-22T14:34:48.000Z
src/Samples/Synthetic_TwoView/main.cpp
eivan/OneAC
79451626238f47130578c18b65e37cabd7332de1
[ "MIT" ]
null
null
null
src/Samples/Synthetic_TwoView/main.cpp
eivan/OneAC
79451626238f47130578c18b65e37cabd7332de1
[ "MIT" ]
null
null
null
#include <iostream> #include <time.h> #include <common/numeric.hpp> #include <common/camera_radial.hpp> #include <common/local_affine_frame.hpp> #include <common/pose_estimation.hpp> using namespace OneACPose; void compute_synthetic_LAF( const Mat34& P, const common::CameraPtr& cam, const Vec3& X, const Mat32& d...
36.390909
98
0.501624
eivan