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
3a86c1a74c400621281bbe708eb6dce5071108a1
5,275
cpp
C++
src/cpp-ethereum/aleth-bootnode/main.cpp
nccproject/ncc
068ccc82a73d28136546095261ad8ccef7e541a3
[ "MIT" ]
6
2021-08-02T21:35:10.000Z
2022-01-18T05:41:49.000Z
src/cpp-ethereum/aleth-bootnode/main.cpp
estxcoin/estcore
4398b1d944373fe25668469966fa2660da454279
[ "MIT" ]
null
null
null
src/cpp-ethereum/aleth-bootnode/main.cpp
estxcoin/estcore
4398b1d944373fe25668469966fa2660da454279
[ "MIT" ]
4
2021-08-14T13:12:43.000Z
2021-11-26T21:19:35.000Z
/* This file is part of aleth. aleth is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. aleth is distributed in the ho...
33.814103
99
0.652891
nccproject
3a8878aa8d8d23e201beb54acf86149bbc5fed5d
4,879
cpp
C++
fractalCartoon/fractalCartoon.cpp
eighteight/CinderEigh
d9dfc6a0ad9a9e6c5b82624971127f0335d91639
[ "Apache-2.0" ]
null
null
null
fractalCartoon/fractalCartoon.cpp
eighteight/CinderEigh
d9dfc6a0ad9a9e6c5b82624971127f0335d91639
[ "Apache-2.0" ]
null
null
null
fractalCartoon/fractalCartoon.cpp
eighteight/CinderEigh
d9dfc6a0ad9a9e6c5b82624971127f0335d91639
[ "Apache-2.0" ]
null
null
null
#include "cinder/app/AppBasic.h" #include "cinder/ImageIo.h" #include "cinder/gl/Texture.h" #include "cinder/gl/GlslProg.h" #include "cinder/audio/Input.h" #include "cinder/audio/FftProcessor.h" #include "Resources.h" using namespace ci; using namespace ci::app; class circuitShaderApp : public AppBasic { public: ...
25.411458
132
0.632917
eighteight
3a8c260852997736ad7e299581101a3e05af4834
194
cpp
C++
senha.cpp
guilherme9718/monitoria-rapida
20ea8f2e1afbc498de5deb3b3972fd6b523fbab1
[ "Apache-2.0" ]
1
2021-09-03T04:08:22.000Z
2021-09-03T04:08:22.000Z
senha.cpp
vitorrutfpr/monitoria-rapida
20ea8f2e1afbc498de5deb3b3972fd6b523fbab1
[ "Apache-2.0" ]
null
null
null
senha.cpp
vitorrutfpr/monitoria-rapida
20ea8f2e1afbc498de5deb3b3972fd6b523fbab1
[ "Apache-2.0" ]
3
2021-07-06T17:19:08.000Z
2021-09-01T19:45:59.000Z
#include "senha.h" #include "ui_senha.h" Senha::Senha(QWidget *parent) : QDialog(parent), ui(new Ui::Senha) { ui->setupUi(this); } Senha::~Senha() { delete ui; }
12.933333
32
0.556701
guilherme9718
3a8df78a401be31ff80d913bad76971fe4125f91
2,963
cpp
C++
lzma/lzma920/CPP/7zip/Compress/PpmdEncoder.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
3
2019-06-10T18:04:14.000Z
2020-12-05T18:11:40.000Z
lzma/lzma920/CPP/7zip/Compress/PpmdEncoder.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
null
null
null
lzma/lzma920/CPP/7zip/Compress/PpmdEncoder.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
2
2020-09-24T19:04:14.000Z
2020-12-05T18:11:43.000Z
// PpmdEncoder.cpp // 2009-03-11 : Igor Pavlov : Public domain #include "StdAfx.h" #include "../../../C/Alloc.h" #include "../../../C/CpuArch.h" #include "../Common/StreamUtils.h" #include "PpmdEncoder.h" namespace NCompress { namespace NPpmd { static const UInt32 kBufSize = (1 << 20); static vo...
24.691667
108
0.611542
LiveMirror
3a8ebe1d605653d4624bde97b5f7e9c221171d20
247
cpp
C++
lab5/inlab/BinaryNode.cpp
StevenHPham/CS-2150-Program-and-Data-Representation
044acae0f3a28d83f9bd0a01fbbb3c0252f7ae90
[ "CC-BY-4.0" ]
null
null
null
lab5/inlab/BinaryNode.cpp
StevenHPham/CS-2150-Program-and-Data-Representation
044acae0f3a28d83f9bd0a01fbbb3c0252f7ae90
[ "CC-BY-4.0" ]
null
null
null
lab5/inlab/BinaryNode.cpp
StevenHPham/CS-2150-Program-and-Data-Representation
044acae0f3a28d83f9bd0a01fbbb3c0252f7ae90
[ "CC-BY-4.0" ]
null
null
null
#include "BinaryNode.h" #include <string> using namespace std; BinaryNode::BinaryNode() { value = "?"; left = NULL; right = NULL; } BinaryNode::~BinaryNode() { delete left; delete right; left = NULL; right = NULL; }
13.722222
27
0.59919
StevenHPham
3a9378c2d71e659701d679829c5225f441a5d81a
560
cpp
C++
app/midso_main.cpp
wataro/midso
8190ac06b2cf391d69c3db49f32147831ba39f5d
[ "MIT" ]
null
null
null
app/midso_main.cpp
wataro/midso
8190ac06b2cf391d69c3db49f32147831ba39f5d
[ "MIT" ]
null
null
null
app/midso_main.cpp
wataro/midso
8190ac06b2cf391d69c3db49f32147831ba39f5d
[ "MIT" ]
null
null
null
/** Copyright (c) 2015 <wataro> This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #include "easylogging/easylogging++.h" #include "midso/midso.h" INITIALIZE_EASYLOGGINGPP using namespace midso; int main(const int argc, const char ** argv) { LOG(I...
20.740741
52
0.664286
wataro
3a93cc4384489efaa405300689d9ac876b8b4dc7
2,622
cpp
C++
src/server/game/Battlegrounds/Zones/BattlegroundRB.cpp
forgottenlands/ForgottenCore406
5dbbef6b3b0b17c277fde85e40ec9fdab0b51ad1
[ "OpenSSL" ]
null
null
null
src/server/game/Battlegrounds/Zones/BattlegroundRB.cpp
forgottenlands/ForgottenCore406
5dbbef6b3b0b17c277fde85e40ec9fdab0b51ad1
[ "OpenSSL" ]
null
null
null
src/server/game/Battlegrounds/Zones/BattlegroundRB.cpp
forgottenlands/ForgottenCore406
5dbbef6b3b0b17c277fde85e40ec9fdab0b51ad1
[ "OpenSSL" ]
null
null
null
/* * Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2010 - 2012 ProjectSkyfire <http://www.projectskyfire.org/> * * Copyright (C) 2011 - 2012 ArkCORE <http://www.arkania.net/> * * This program is free software; ...
30.847059
98
0.725782
forgottenlands
3a948e90f7374038645bb8632497c1360b6c45d1
1,517
cpp
C++
Dynamic Programming/TravellingSaleman.cpp
gaurav147-star/DSA-learning
52625953e2b1421fdd550004df893b970aac9308
[ "MIT" ]
1
2022-02-15T12:53:00.000Z
2022-02-15T12:53:00.000Z
Dynamic Programming/TravellingSaleman.cpp
gaurav147-star/DSA-learning
52625953e2b1421fdd550004df893b970aac9308
[ "MIT" ]
null
null
null
Dynamic Programming/TravellingSaleman.cpp
gaurav147-star/DSA-learning
52625953e2b1421fdd550004df893b970aac9308
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int arr[20][20], completed[20], n, cost = 0; void takeInput() { int i, j; cout << "Enter the number of city: "; cin >> n; cout << "\nEnter the Cost Matrix\n"; for (i = 0; i < n; i++) { cout << "\nEnter Elements of Row: " << i + 1 << "\n"; ...
20.5
77
0.42584
gaurav147-star
3a9538fa9c81c1a38941ab9f05f410511bbb2320
9,294
hpp
C++
tmath.hpp
uekstrom/libtaylor
88709f03efda5b81ff460ccef67d4fd0e7d050cc
[ "MIT" ]
4
2015-10-20T13:16:35.000Z
2019-02-14T12:46:10.000Z
tmath.hpp
uekstrom/libtaylor
88709f03efda5b81ff460ccef67d4fd0e7d050cc
[ "MIT" ]
7
2017-02-07T16:13:14.000Z
2018-12-12T13:49:40.000Z
tmath.hpp
uekstrom/libtaylor
88709f03efda5b81ff460ccef67d4fd0e7d050cc
[ "MIT" ]
3
2016-11-02T18:12:41.000Z
2019-06-21T08:01:03.000Z
/* Copyright (c) 2009-2017 Ulf Ekstrom <uekstrom@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge...
27.993976
79
0.48343
uekstrom
3a956f9e4e37663b47d25d0281839a33c166f6ad
5,280
cpp
C++
Medusa/Medusa/Resource/Effect/Shader/Parameter/ShaderAttribute.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2019-04-22T09:09:50.000Z
2019-04-22T09:09:50.000Z
Medusa/Medusa/Resource/Effect/Shader/Parameter/ShaderAttribute.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
null
null
null
Medusa/Medusa/Resource/Effect/Shader/Parameter/ShaderAttribute.cpp
JamesLinus/Medusa
243e1f67e76dba10a0b69d4154b47e884c3f191f
[ "MIT" ]
1
2021-06-30T14:08:03.000Z
2021-06-30T14:08:03.000Z
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #include "MedusaPreCompiled.h" #include "Resource/Effect/Shader/Parameter/ShaderAttribute.h" #include "Resource/Effect/Pass/Program/BaseProgramRenderPass.h" #include ...
33
188
0.793371
JamesLinus
3a96423cd38f72a9b81319a0595330aa80cbfbfc
1,960
hpp
C++
AirSimAirLib/include/AirSimAirLib/sensors/SensorBase.hpp
xaedes/AirSimAirLib
2f3f6ee7b07b0f5127dd56b3253c475a1abab639
[ "MIT" ]
null
null
null
AirSimAirLib/include/AirSimAirLib/sensors/SensorBase.hpp
xaedes/AirSimAirLib
2f3f6ee7b07b0f5127dd56b3253c475a1abab639
[ "MIT" ]
null
null
null
AirSimAirLib/include/AirSimAirLib/sensors/SensorBase.hpp
xaedes/AirSimAirLib
2f3f6ee7b07b0f5127dd56b3253c475a1abab639
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef msr_airlib_SensorBase_hpp #define msr_airlib_SensorBase_hpp #include "AirSimAirLib/common/Common.hpp" #include "AirSimAirLib/common/UpdatableObject.hpp" #include "AirSimAirLib/common/CommonStructs.hpp" #in...
26.133333
101
0.591837
xaedes
3a96d264fad9cbe4acb234617b0a754a2e86f02d
3,698
cc
C++
project/c++/mri/src/dataservice/test/test_dbautodbms.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/dataservice/test/test_dbautodbms.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/dataservice/test/test_dbautodbms.cc
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
/**************************************************************** * test_dbautodbms.cc * * Created on: June 25, 2013 * * Author: lim55392 * * Copyright (2013) JDS Uniphase. All rights reserved ...
37.734694
120
0.579232
jia57196
3a97af7346b89215ae838dc5b441ab90847f4bd1
639
cpp
C++
src/bt-box2ddemo/app-src/gameobject/GameObjectProperty.cpp
puretekniq/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
10
2015-04-07T22:23:31.000Z
2016-03-06T11:48:32.000Z
src/bt-box2ddemo/app-src/gameobject/GameObjectProperty.cpp
robdoesstuff/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
3
2015-05-17T10:45:48.000Z
2016-07-29T18:34:53.000Z
src/bt-box2ddemo/app-src/gameobject/GameObjectProperty.cpp
puretekniq/batterytech
cc831b2835b7bf4826948831f0274e3d80921339
[ "MIT", "BSD-3-Clause-Clear", "Zlib", "BSD-3-Clause" ]
4
2015-05-03T03:00:48.000Z
2016-03-03T12:49:01.000Z
/* * GameObjectProperty.cpp * * Created on: Dec 12, 2010 * Author: rgreen */ #include "GameObjectProperty.h" #include <string.h> GameObjectProperty::GameObjectProperty(const char* name, const char* value) { this->name = new char[strlen(name) + 1]; strcpy(this->name, name); this->value = new...
21.3
78
0.652582
puretekniq
3a99ede677208ae57389ce80b9f26d084512adc0
18,131
cpp
C++
srcAmiga/modeler/MUIutility.cpp
privatosan/RayStorm
17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa
[ "MIT" ]
2
2016-04-03T23:57:54.000Z
2019-12-05T17:50:37.000Z
srcAmiga/modeler/MUIutility.cpp
privatosan/RayStorm
17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa
[ "MIT" ]
null
null
null
srcAmiga/modeler/MUIutility.cpp
privatosan/RayStorm
17e27259a8a1d6b2fcfa16886c6e4cdd81be8cfa
[ "MIT" ]
2
2015-06-20T19:22:47.000Z
2021-11-15T15:22:14.000Z
/*************** * PROGRAM: Modeler * NAME: MUIutility.cpp * DESCRIPTION: MUI utility functions * AUTHORS: Andreas Heumann * HISTORY: * DATE NAME COMMENT * 10.12.95 ah initial release * 31.01.97 ah added rectangle icon * 21.02.97 ah added edit points icon * ...
26.12536
83
0.696376
privatosan
3a9cd0887fb90d3989d0fc032dd48bffbf1f663f
856
hpp
C++
lumino/Graphics/src/RHIs/RHIBitmap.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
113
2020-03-05T01:27:59.000Z
2022-03-28T13:20:51.000Z
lumino/Graphics/src/RHIs/RHIBitmap.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/Graphics/src/RHIs/RHIBitmap.hpp
GameDevery/Lumino
abce2ddca4b7678b04dbfd0ae5348e196c3c9379
[ "MIT" ]
12
2020-12-21T12:03:59.000Z
2021-12-15T02:07:49.000Z
#pragma once #include "GraphicsDeviceContext.hpp" namespace ln { namespace detail { class RHIBitmap : public RHIRefObject { public: RHIBitmap(); bool init(int32_t elementSize, int32_t width, int32_t height); void initWrap(const void* data, int32_t elementSize, int32_t width, int32_t height); void initWritableWr...
23.777778
87
0.75
GameDevery
3a9e127cc82b99089cb38f35fa460947a5c55b2e
834
hpp
C++
worker/include/DepOpenSSL.hpp
kicyao/mediasoup
ca8e2d5b57aa2b0d1e5812bb28782d858cd669c6
[ "0BSD" ]
null
null
null
worker/include/DepOpenSSL.hpp
kicyao/mediasoup
ca8e2d5b57aa2b0d1e5812bb28782d858cd669c6
[ "0BSD" ]
null
null
null
worker/include/DepOpenSSL.hpp
kicyao/mediasoup
ca8e2d5b57aa2b0d1e5812bb28782d858cd669c6
[ "0BSD" ]
null
null
null
#ifndef MS_DEP_OPENSSL_HPP #define MS_DEP_OPENSSL_HPP #include "common.hpp" #include <openssl/ssl.h> #include <openssl/crypto.h> #include <uv.h> /* OpenSSL doc: struct CRYPTO_dynlock_value has to be defined by the application. */ struct CRYPTO_dynlock_value { uv_mutex_t mutex; }; class DepOpenSSL { public: static ...
24.529412
92
0.775779
kicyao
3a9e6b02aa7576f7f6b8707609f5de7df3e122cf
20,591
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/wifi/SupplicantStateTracker.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/Services/Server/src/elastos/droid/server/wifi/SupplicantStateTracker.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/wifi/SupplicantStateTracker.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 // // ...
39.370937
165
0.641785
jingcao80
3aa45d33ded983b3b18c563ad47a11dbadb22631
2,363
cc
C++
public/lib/escher/geometry/intersection.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
public/lib/escher/geometry/intersection.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
public/lib/escher/geometry/intersection.cc
PowerOlive/garnet
16b5b38b765195699f41ccb6684cc58dd3512793
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "lib/escher/geometry/intersection.h" namespace escher { bool IntersectRayBox(const escher::ray4& ray, const escher::BoundingBox& box, ...
34.75
80
0.658485
PowerOlive
3aa674fa2920d55cf37bc0e0513412c4e31bea42
8,701
cpp
C++
src/ui/graphics/sprite.cpp
Aalexdev/seasfarer-s-war
6d4ea641f7dd914c7ce74d70fcae8810af6ea00a
[ "MIT" ]
4
2020-10-30T09:03:35.000Z
2021-07-20T12:35:51.000Z
src/ui/graphics/sprite.cpp
Aalexdev/seasfarer-s-war
6d4ea641f7dd914c7ce74d70fcae8810af6ea00a
[ "MIT" ]
null
null
null
src/ui/graphics/sprite.cpp
Aalexdev/seasfarer-s-war
6d4ea641f7dd914c7ce74d70fcae8810af6ea00a
[ "MIT" ]
null
null
null
#include "ui/graphics/sprite.hpp" #include "main.hpp" Sprite_type::Sprite_type(){ if (IS_LOG_OPEN) LOG << "Sprite_type::Sprite_type()" << endl; this->sprite = nullptr; this->isLoaded = false; this->children.clear(); } Sprite_type::~Sprite_type(){ if (IS_LOG_OPEN) LOG << "Sprite_type::~Sprite_type...
28.527869
149
0.55212
Aalexdev
3aa84bdbed3b5b3f3d141c758437a52c5de63394
5,984
hpp
C++
include/FakeInput/actions/actionsequence.hpp
perara-libs/FakeInput
13d7b260634c33ced95d9e3b37780705e4036ab5
[ "MIT" ]
40
2016-11-18T06:14:47.000Z
2022-03-16T14:36:21.000Z
include/FakeInput/actions/actionsequence.hpp
perara-libs/FakeInput
13d7b260634c33ced95d9e3b37780705e4036ab5
[ "MIT" ]
null
null
null
include/FakeInput/actions/actionsequence.hpp
perara-libs/FakeInput
13d7b260634c33ced95d9e3b37780705e4036ab5
[ "MIT" ]
9
2017-01-23T01:49:41.000Z
2020-11-05T13:09:56.000Z
/** * This file is part of the FakeInput library (https://github.com/uiii/FakeInput) * * Copyright (C) 2011 by Richard Jedlicka <uiii.dev@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
29.623762
81
0.571691
perara-libs
3aa9735699e5c7de887bf547b80ffe52c842bf21
2,651
hpp
C++
libraries/include/Engine/ShaderProgram.hpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
3
2015-04-25T22:57:58.000Z
2019-11-05T18:36:31.000Z
libraries/include/Engine/ShaderProgram.hpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
1
2016-06-23T15:22:41.000Z
2016-06-23T15:22:41.000Z
libraries/include/Engine/ShaderProgram.hpp
kermado/Total-Resistance
debaf40ba3be6590a70c9922e1d1a5e075f4ede3
[ "MIT" ]
null
null
null
#ifndef SHADERPROGRAM_H #define SHADERPROGRAM_H #include <unordered_map> #include <glm/glm.hpp> #include <Engine/NonCopyable.hpp> #include <Engine/Shader.hpp> namespace Engine { class ShaderProgram : private NonCopyable { public: /** * Constructor. */ ShaderProgram(); /** * Destructor. */ vi...
22.277311
75
0.665032
kermado
3aac6bd160c43e86a209ffa0e5ababdda92f8f95
3,072
cpp
C++
src/2dpoly_to_3d/point.cpp
matyalatte/2dPolyTo3d
be5ed4e871bd65c704ff12664f44e1aae5c89b24
[ "MIT" ]
null
null
null
src/2dpoly_to_3d/point.cpp
matyalatte/2dPolyTo3d
be5ed4e871bd65c704ff12664f44e1aae5c89b24
[ "MIT" ]
null
null
null
src/2dpoly_to_3d/point.cpp
matyalatte/2dPolyTo3d
be5ed4e871bd65c704ff12664f44e1aae5c89b24
[ "MIT" ]
null
null
null
/* * File: point.cpp * -------------------- * Author: Matyalatte * Last updated: 2021/09/25 */ #include "point.hpp" #include <cmath> namespace graph { point::point(double px, double py, double pz, size_t id) { x = px; y = py; z = pz; index = id; } void point::setXYZ(double px, double py, double pz) {...
24.774194
111
0.546875
matyalatte
3aaf0d003642251317385621d891ec4da60cea55
7,647
hpp
C++
opt/nomad/src/Type/StepType.hpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
31
2019-02-05T16:39:18.000Z
2022-03-11T23:14:11.000Z
opt/nomad/src/Type/StepType.hpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
20
2020-04-13T09:22:53.000Z
2021-08-16T16:14:13.000Z
opt/nomad/src/Type/StepType.hpp
scikit-quant/scikit-quant
397ab0b6287f3815e9bcadbfadbe200edbee5a23
[ "BSD-3-Clause-LBNL" ]
6
2020-04-21T17:43:47.000Z
2021-03-10T04:12:34.000Z
/*---------------------------------------------------------------------------------*/ /* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct Search - */ /* */ /* NOMAD - Version 4 has been created by ...
54.234043
86
0.490911
scikit-quant
3aaf166a74a825a8ecf6151016548aceb26344b0
1,272
cpp
C++
ConsoleApplication1/Warrior.cpp
ghostinthecamera/FightClub
034a8e5ff260f84396b55a9533f214d5ed6d9d67
[ "BSD-2-Clause" ]
null
null
null
ConsoleApplication1/Warrior.cpp
ghostinthecamera/FightClub
034a8e5ff260f84396b55a9533f214d5ed6d9d67
[ "BSD-2-Clause" ]
null
null
null
ConsoleApplication1/Warrior.cpp
ghostinthecamera/FightClub
034a8e5ff260f84396b55a9533f214d5ed6d9d67
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <sstream> #include "Warrior.h" using namespace std; int Warrior::numberofWarriors = 0; //initialise this one Warrior::Warrior() { this->name = "Default"; this->attack = 0; this->defense = 0; this->health = 0; } void Warrior::setWarriorAttributes(string name, double attack, double d...
23.127273
142
0.669811
ghostinthecamera
3aaf272de0543c9b87cec1e34c5364d2d37163b2
3,594
cpp
C++
lz5.cpp
CaptainDreamcast/prism
a6b0f5c3e86d7b37d14c9139862775e7768998ce
[ "MIT" ]
7
2018-04-08T15:01:59.000Z
2022-02-27T12:13:19.000Z
lz5.cpp
CaptainDreamcast/prism
a6b0f5c3e86d7b37d14c9139862775e7768998ce
[ "MIT" ]
1
2017-04-23T15:27:37.000Z
2017-04-24T05:38:18.000Z
lz5.cpp
CaptainDreamcast/libtari
a6b0f5c3e86d7b37d14c9139862775e7768998ce
[ "MIT" ]
1
2020-04-24T04:21:00.000Z
2020-04-24T04:21:00.000Z
// blatantly "borrowed" from https://github.com/bmarquismarkail/SFFv2 #include "prism/lz5.h" static void naivememcpy(uint8_t* dst, uint32_t *dstpos, uint32_t ofs, uint32_t len) { int run; for (run = len; run > 0; run--) { dst[*dstpos] = dst[((*dstpos) - ofs)]; (*dstpos)++; } } static void copyLZ(uint8_t* ds...
27.227273
141
0.661937
CaptainDreamcast
3ab305223fa3e3136616b244c1f80292cb2039ec
12,851
cpp
C++
code/src/Graphics/Vulkan/Shaders/Renderpass.cpp
Arzana/Plutonium
5a17c93e5072ac291b96347a4df196e1609fabe2
[ "MIT" ]
4
2019-03-21T16:02:03.000Z
2020-04-09T08:53:29.000Z
code/src/Graphics/Vulkan/Shaders/Renderpass.cpp
Arzana/Plutonium
5a17c93e5072ac291b96347a4df196e1609fabe2
[ "MIT" ]
24
2018-04-06T08:25:17.000Z
2020-10-19T11:01:09.000Z
code/src/Graphics/Vulkan/Shaders/Renderpass.cpp
Arzana/Plutonium
5a17c93e5072ac291b96347a4df196e1609fabe2
[ "MIT" ]
null
null
null
#include "Graphics/Vulkan/Shaders/Renderpass.h" #include "Core/Threading/Tasks/Scheduler.h" #ifdef _DEBUG #include <set> #endif Pu::Renderpass::Renderpass(LogicalDevice & device) : Asset(true), device(&device), hndl(nullptr), ownsShaders(false), usesDependency(false), PreCreate("RenderpassPreCreate"), PostCreate("R...
32.20802
160
0.721422
Arzana
3ab4f76385fae4a5729483dd09aeeabd6c8a4cd1
2,799
cc
C++
geometry/proximity/proximity_utilities.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
geometry/proximity/proximity_utilities.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
geometry/proximity/proximity_utilities.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
#include "drake/geometry/proximity/proximity_utilities.h" #include <set> #include <unordered_set> #include "drake/common/sorted_pair.h" #include "drake/geometry/proximity/sorted_triplet.h" namespace drake { namespace geometry { namespace internal { std::string GetGeometryName(const fcl::CollisionObjectd& object) { ...
27.712871
76
0.663451
RobotLocomotion
3ab5c014ed1bece6aa5f53e258d24a6e6ae2c6c2
2,323
cpp
C++
UiModule/Inworld/View/ToolManagerWidget.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
null
null
null
UiModule/Inworld/View/ToolManagerWidget.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
null
null
null
UiModule/Inworld/View/ToolManagerWidget.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
1
2021-09-04T12:37:34.000Z
2021-09-04T12:37:34.000Z
/** * For conditions of distribution and use, see copyright notice in license.txt * * @file VoiceController.cpp * @brief In-world voice controller user interface * */ #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "IToolWidget.h" #include "ToolManagerWidget.h" #include "Debu...
25.811111
108
0.605682
zemo
3ab7fae4cbce84c5541e79e4d1174bd49b62ccc5
8,108
cpp
C++
examples/ReinforcedLearning/ReinforcedLearning.cpp
OuluLinux/ConvNetCpp
48854357b49b35d6599fb8ae42be01f4ba1903a6
[ "MIT" ]
7
2017-05-04T17:20:10.000Z
2019-10-02T13:08:33.000Z
examples/ReinforcedLearning/ReinforcedLearning.cpp
sppp/ConvNetC-
48854357b49b35d6599fb8ae42be01f4ba1903a6
[ "MIT" ]
null
null
null
examples/ReinforcedLearning/ReinforcedLearning.cpp
sppp/ConvNetC-
48854357b49b35d6599fb8ae42be01f4ba1903a6
[ "MIT" ]
3
2017-04-13T06:29:23.000Z
2018-01-09T07:44:09.000Z
#include "ReinforcedLearning.h" #include "pretrained.brc" #include <plugin/bz2/bz2.h> #define IMAGECLASS ReinforcedLearningImg #define IMAGEFILE <ReinforcedLearning/ReinforcedLearning.iml> #include <Draw/iml_source.h> GUI_APP_MAIN { ReinforcedLearning().Run(); } ReinforcedLearning::ReinforcedLearning() { Title("...
24.644377
107
0.670079
OuluLinux
3ab96cf94f851f422d2a45a88fd5c8441fa3912c
2,433
cpp
C++
Projects/xml2json/main.cpp
neon1ks/Study
5d40171cf3bf5e8d3a95539e91f5afec54d1daf3
[ "MIT" ]
null
null
null
Projects/xml2json/main.cpp
neon1ks/Study
5d40171cf3bf5e8d3a95539e91f5afec54d1daf3
[ "MIT" ]
null
null
null
Projects/xml2json/main.cpp
neon1ks/Study
5d40171cf3bf5e8d3a95539e91f5afec54d1daf3
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <mutex> #include <sstream> #include <stdexcept> #include <thread> #include "xml2json.hpp" class MyConvertXmlToJson final { private: std::string m_xmlInFileName; std::string m_jsonOutFileName; std::string m_json; std::mutex m_mtx; public: MyConvertXm...
28.623529
92
0.584875
neon1ks
3ab98b530f501893e51486e969313a8e4b6b179e
2,701
cpp
C++
src/Jogo/Entidades/Inimigo.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
src/Jogo/Entidades/Inimigo.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
src/Jogo/Entidades/Inimigo.cpp
MatheusKunnen/Jogo-TecProg
66f4320e51e42d12da74e487cc8552377ce865bb
[ "MIT" ]
null
null
null
// // Inimigo.cpp // Jogo-SFML // // Created by Matheus Kunnen Ledesma on 10/5/19. // Copyright © 2019 Matheus Kunnen Ledesma. All rights reserved. // #include "Inimigo.hpp" namespace Game { namespace Entidades { namespace Personagens { Inimigo::Inimigo(ID id,const Vector2f& position, Texture* texture, Jogador* ...
26.223301
139
0.679748
MatheusKunnen
3ab9a061f1d7d55c9560463fcfc204466ab4f4aa
11,843
cpp
C++
tools/ifaceed/ifaceed/scripting/layouts/scriptablegrid.cpp
mamontov-cpp/saddy-graphics-engine-2d
e25a6637fcc49cb26614bf03b70e5d03a3a436c7
[ "BSD-2-Clause" ]
58
2015-08-09T14:56:35.000Z
2022-01-15T22:06:58.000Z
tools/ifaceed/ifaceed/scripting/layouts/scriptablegrid.cpp
mamontov-cpp/saddy-graphics-engine-2d
e25a6637fcc49cb26614bf03b70e5d03a3a436c7
[ "BSD-2-Clause" ]
245
2015-08-08T08:44:22.000Z
2022-01-04T09:18:08.000Z
tools/ifaceed/ifaceed/scripting/layouts/scriptablegrid.cpp
mamontov-cpp/saddy-graphics-engine-2d
e25a6637fcc49cb26614bf03b70e5d03a3a436c7
[ "BSD-2-Clause" ]
23
2015-12-06T03:57:49.000Z
2020-10-12T14:15:50.000Z
#include "scriptablegrid.h" #include "scriptablegridcell.h" #include <renderer.h> #include <layouts/grid.h> #include <db/dbdatabase.h> #include "../queryobject.h" #include "../scripting.h" #include "../core/editor.h" #include "../gui/actions/actions.h" #include "../gui/actions/gridactions.h" #include "../../qst...
25.801743
147
0.607279
mamontov-cpp
3ab9dd37fcf98644e9252fe4afc566db17d8f2c2
4,793
hpp
C++
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/profile__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/profile__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/profile__struct.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
2
2021-06-21T07:32:09.000Z
2021-08-17T03:05:38.000Z
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em // with input from rmf_traffic_msgs:msg/Profile.idl // generated code does not contain a copyright notice #ifndef RMF_TRAFFIC_MSGS__MSG__DETAIL__PROFILE__STRUCT_HPP_ #define RMF_TRAFFIC_MSGS__MSG__DETAIL__PROFILE__STRUCT_HPP_ #include <rosidl_runtime_...
30.144654
152
0.759441
flitzmo-hso
3aba3f9eb64b09aa2668d279f64a8a1c6b59fd67
16,386
cc
C++
peridot/bin/sessionmgr/agent_runner/agent_runner_unittest.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
null
null
null
peridot/bin/sessionmgr/agent_runner/agent_runner_unittest.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
5
2020-09-06T09:02:06.000Z
2022-03-02T04:44:22.000Z
peridot/bin/sessionmgr/agent_runner/agent_runner_unittest.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "peridot/bin/sessionmgr/agent_runner/agent_runner.h" #include <fs/service.h> #include <fs/synchronous-vfs.h> #include <fuchsia/modular/cpp/fidl.h...
37.156463
81
0.725619
zhangpf
3abaafa609bb981897b7a5b2a81dc3985f1b5850
825
cpp
C++
AtUnitTest/AutCharInfo.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
4
2019-11-10T21:56:40.000Z
2021-12-11T20:10:55.000Z
AtUnitTest/AutCharInfo.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
null
null
null
AtUnitTest/AutCharInfo.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
1
2019-11-11T08:38:59.000Z
2019-11-11T08:38:59.000Z
#include "AutIncludes.h" #include "AutMain.h" void ShowCharInfo(uint c) { Unicode::CharInfo ci = Unicode::CharInfo::Get(c); Str line; line.UInt(c).Add(" U+").UInt(c, 16, 4).Ch(' ') .Add(Unicode::Category::ValueToName(ci.m_cat)).Add(" (") .Add(Unicode::Category::ValueToCode(ci.m_cat)).Add(") width ") ...
21.153846
91
0.591515
denisbider
3abdcf8b153be82f05584765f2ff0fa17718c2a0
4,980
tpp
C++
code/source/ui/game/editor/editorcomponent_ui.tpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
12
2015-01-12T00:19:20.000Z
2021-08-05T10:47:20.000Z
code/source/ui/game/editor/editorcomponent_ui.tpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
code/source/ui/game/editor/editorcomponent_ui.tpp
crafn/clover
586acdbcdb34c3550858af125e9bb4a6300343fe
[ "MIT" ]
null
null
null
template<typename T> EditorComponentUi<T>::EditorComponentUi(T& comp): radius(EditorComponentUiTraits<ComponentType>::defaultRadius()), component(&comp), bgPanel(util::Coord::VF(0), radius), panelLayout(gui::LinearLayoutElement::Vertical, util::Coord::VF(0), util::Coord::VF(0)), titleLabel(EditorComponentTraits<Co...
29.820359
140
0.733735
crafn
3ac3b232ff4e245f2efdc52d14f788ee4da7a34c
16,160
cpp
C++
src/scsi2sd-util6/TerminalWx/src/GTerm/actions.cpp
gcasa/SCSI2SD-V6
9f169472d2e1c2aee3e2a0f970dd96778953ffb8
[ "BSD-3-Clause" ]
2
2020-11-29T01:28:03.000Z
2021-11-07T18:23:11.000Z
src/scsi2sd-util6/TerminalWx/src/GTerm/actions.cpp
tweakoz/SCSI2SD-V6
77db5f86712213e25c9b12fa5c9fa9c54b80cb80
[ "BSD-3-Clause" ]
null
null
null
src/scsi2sd-util6/TerminalWx/src/GTerm/actions.cpp
tweakoz/SCSI2SD-V6
77db5f86712213e25c9b12fa5c9fa9c54b80cb80
[ "BSD-3-Clause" ]
null
null
null
/* TerminalWx - A wxWidgets terminal widget Copyright (C) 1999 Timothy Miller 2004 Mark Erikson 2012-2013 Jeremy Salwen License: wxWindows License Version 3.1 (See the file license3.txt) */ #include "gterm.hpp" // For efficiency, this grabs all printing characters from buffer, up to //...
21.319261
161
0.607983
gcasa
3ac40d45040f2df951b936e59dd6a00ed66029f3
6,342
cc
C++
third_party/blink/renderer/core/animation/interpolable_value_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/animation/interpolable_value_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/animation/interpolable_value_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2014 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 <memory> #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/core/animation/animation_test_helper.h" #include "th...
44.978723
84
0.745191
sarang-apps
3ac766aeddf6087cb85613b185742e598490b6f3
59,908
hpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_CEF_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_CEF_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_CEF_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_CEF_MIB_ #define _CISCO_CEF_MIB_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xe { namespace CISCO_CEF_MIB { class CISCOCEFMIB : public ydk::Entity { public: CISCOCEFMIB(); ~CISCOCEFMIB(); boo...
50.006678
162
0.70019
CiscoDevNet
3ac7adc8a462e8499a6649ab5f851f6c35367c10
3,459
cpp
C++
test/unit_tests/MessageSerializerTest.cpp
aleks-f/kademlia
aed2841d6c5dae672047381a584b9057db515ca4
[ "BSL-1.0" ]
1
2021-03-17T05:43:12.000Z
2021-03-17T05:43:12.000Z
test/unit_tests/MessageSerializerTest.cpp
aleks-f/kademlia
aed2841d6c5dae672047381a584b9057db515ca4
[ "BSL-1.0" ]
27
2021-03-23T10:49:35.000Z
2021-12-21T08:57:44.000Z
test/unit_tests/MessageSerializerTest.cpp
aleks-f/kademlia
aed2841d6c5dae672047381a584b9057db515ca4
[ "BSL-1.0" ]
2
2021-06-22T14:55:36.000Z
2021-06-24T21:20:55.000Z
// Copyright (c) 2013-2014, David Keller // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright // notice, this list of c...
32.027778
80
0.706563
aleks-f
3ac7fff21e137e38ff3770b0cde6ab02ffd0445c
261
cpp
C++
firurs_operator/firurs_operator/firurs_operator.cpp
InkaShev7777/figurs_operator
ccd87b8f0b9720cdbf1d6fae918a1ef2b65942d8
[ "Apache-2.0" ]
null
null
null
firurs_operator/firurs_operator/firurs_operator.cpp
InkaShev7777/figurs_operator
ccd87b8f0b9720cdbf1d6fae918a1ef2b65942d8
[ "Apache-2.0" ]
null
null
null
firurs_operator/firurs_operator/firurs_operator.cpp
InkaShev7777/figurs_operator
ccd87b8f0b9720cdbf1d6fae918a1ef2b65942d8
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include "Krug.h" int main() { Krug krug; Kvadrat kv; std::cout << krug; std::cout << "\nVvedite: "; std::cin >> krug; std::cout << krug; std::cout << "\n"; std::cout << kv; std::cin >> kv; std::cout << "\n"; std::cout << kv; }
13.736842
28
0.536398
InkaShev7777
3acafbe85fbc50e3a9968232f95789208d977ded
4,881
cpp
C++
src/Magnum/Math/Test/TypeTraitsTest.cpp
wivlaro/magnum
c9fb3bae3390bddc397b6cec1c5d74b17129ef22
[ "MIT" ]
null
null
null
src/Magnum/Math/Test/TypeTraitsTest.cpp
wivlaro/magnum
c9fb3bae3390bddc397b6cec1c5d74b17129ef22
[ "MIT" ]
null
null
null
src/Magnum/Math/Test/TypeTraitsTest.cpp
wivlaro/magnum
c9fb3bae3390bddc397b6cec1c5d74b17129ef22
[ "MIT" ]
null
null
null
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015 Vladimír Vondruš <mosra@centrum.cz> 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 Softwar...
35.115108
88
0.709896
wivlaro
3acd46ea3521c61fe4d866738b24af3ac655a7a2
2,164
cpp
C++
AtCoder/Grand/24/F.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
AtCoder/Grand/24/F.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
AtCoder/Grand/24/F.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> using namespace std; typedef long long lint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool neg=c=='-'; neg?c=getchar():0; whi...
21.425743
79
0.598429
sshockwave
3ace77cd8a68f13e9f57334709d8d258f67b7fd8
218
hpp
C++
src/vkg/render/shade_model.hpp
wumo/vkg
3318a4730fd5d9e069717745b419ba5f1aeb095a
[ "MIT" ]
5
2020-09-05T07:18:57.000Z
2021-02-02T03:05:22.000Z
src/vkg/render/shade_model.hpp
wumo/vkg
3318a4730fd5d9e069717745b419ba5f1aeb095a
[ "MIT" ]
1
2020-07-22T02:19:33.000Z
2020-07-22T02:19:33.000Z
src/vkg/render/shade_model.hpp
wumo/vkg
3318a4730fd5d9e069717745b419ba5f1aeb095a
[ "MIT" ]
null
null
null
#pragma once namespace vkg { enum class ShadeModel : uint32_t { Unknown = ~0u, Unlit = 0u, BRDF, Reflective, Refractive, Transparent, Terrain, TransparentLines, OpaqueLines, Last = OpaqueLines }; }
13.625
34
0.683486
wumo
3acf5defcdea7949350f9bbc406559b90806cb28
4,926
cpp
C++
server/Orthanc-1.7.2/OrthancServer/Sources/QueryRetrieveHandler.cpp
nilaysaha/medimaging
476c87f103a5ff0b4ddc5c6abfe6034c9c981a47
[ "Apache-2.0" ]
1
2020-11-05T08:34:23.000Z
2020-11-05T08:34:23.000Z
server/Orthanc-1.7.2/OrthancServer/Sources/QueryRetrieveHandler.cpp
nilaysaha/medimaging
476c87f103a5ff0b4ddc5c6abfe6034c9c981a47
[ "Apache-2.0" ]
null
null
null
server/Orthanc-1.7.2/OrthancServer/Sources/QueryRetrieveHandler.cpp
nilaysaha/medimaging
476c87f103a5ff0b4ddc5c6abfe6034c9c981a47
[ "Apache-2.0" ]
1
2020-11-12T09:00:30.000Z
2020-11-12T09:00:30.000Z
/** * Orthanc - A Lightweight, RESTful DICOM Store * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics * Department, University Hospital of Liege, Belgium * Copyright (C) 2017-2020 Osimis S.A., Belgium * * This program is free software: you can redistribute it and/or * modify it under the terms of the G...
28.473988
89
0.686561
nilaysaha
3ad012b71fc793e9ed98eb04812f4fcfe6102ee8
1,717
hpp
C++
products/BellHybrid/apps/include/Application.hpp
GravisZro/MuditaOS
4230da15e69350c3ef9e742ec587e5f70154fabd
[ "BSL-1.0" ]
null
null
null
products/BellHybrid/apps/include/Application.hpp
GravisZro/MuditaOS
4230da15e69350c3ef9e742ec587e5f70154fabd
[ "BSL-1.0" ]
null
null
null
products/BellHybrid/apps/include/Application.hpp
GravisZro/MuditaOS
4230da15e69350c3ef9e742ec587e5f70154fabd
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include <ApplicationCommon.hpp> namespace app { class Application : public ApplicationCommon { public: using ApplicationCommon::ApplicationCommon;...
39.022727
96
0.619103
GravisZro
3ad084851ccfb4fc29f7e5c16fccdce5d131be9c
29,958
cpp
C++
rtrmfplayer/rtrmfplayer.cpp
rdkcmf/rdk-mediaframework
55c7753eedaeb15719c5825f212372857459a87e
[ "Apache-2.0" ]
null
null
null
rtrmfplayer/rtrmfplayer.cpp
rdkcmf/rdk-mediaframework
55c7753eedaeb15719c5825f212372857459a87e
[ "Apache-2.0" ]
null
null
null
rtrmfplayer/rtrmfplayer.cpp
rdkcmf/rdk-mediaframework
55c7753eedaeb15719c5825f212372857459a87e
[ "Apache-2.0" ]
null
null
null
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2018 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 a copy of the...
27.037906
159
0.694272
rdkcmf
3ad21e9ea195dbb480fea3abe595127a040e093b
576
cpp
C++
vol3/linked-list-cycle/linked-list-cycle.cpp
zeyuanxy/LeetCode
fab1b6ea07249d7024f37a8f4bbef9d397edc3ec
[ "MIT" ]
3
2015-12-07T05:40:08.000Z
2018-12-17T18:39:15.000Z
vol3/linked-list-cycle/linked-list-cycle.cpp
zeyuanxy/leet-code
fab1b6ea07249d7024f37a8f4bbef9d397edc3ec
[ "MIT" ]
null
null
null
vol3/linked-list-cycle/linked-list-cycle.cpp
zeyuanxy/leet-code
fab1b6ea07249d7024f37a8f4bbef9d397edc3ec
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: bool hasCycle(ListNode *head) { ListNode *pFast = head, *pSlow = head; do { if(pFast != NULL) ...
23.04
46
0.463542
zeyuanxy
3ad257386342a5b08e45b901673d5fb572f1e2eb
2,817
inl
C++
include/glm/gtc/color_space.inl
hamoid/glslViewer
0d9ef4dd5eb9e53fb19a21a2da8fb543e64d6230
[ "BSD-3-Clause" ]
1
2019-11-21T20:56:29.000Z
2019-11-21T20:56:29.000Z
include/glm/gtc/color_space.inl
hamoid/glslViewer
0d9ef4dd5eb9e53fb19a21a2da8fb543e64d6230
[ "BSD-3-Clause" ]
null
null
null
include/glm/gtc/color_space.inl
hamoid/glslViewer
0d9ef4dd5eb9e53fb19a21a2da8fb543e64d6230
[ "BSD-3-Clause" ]
null
null
null
/// @ref gtc_color_space /// @file glm/gtc/color_space.inl namespace glm{ namespace detail { template <typename T, precision P, template <typename, precision> class vecType> struct compute_rgbToSrgb { GLM_FUNC_QUALIFIER static vecType<T, P> call(vecType<T, P> const& ColorRGB, T GammaCorrection) { vecType<T, ...
37.065789
120
0.724885
hamoid
3ad5efd32e96a52f5ceba16c45cca43de4156d2f
8,319
cpp
C++
src/engine/monitor.cpp
ut-osa/nightcore
f041db04bd369d9bd7a617b48892338fc11c090c
[ "Apache-2.0" ]
34
2021-01-18T17:19:11.000Z
2022-03-31T06:48:49.000Z
src/engine/monitor.cpp
ut-osa/nightcore
f041db04bd369d9bd7a617b48892338fc11c090c
[ "Apache-2.0" ]
5
2021-04-16T05:08:10.000Z
2021-11-15T17:41:01.000Z
src/engine/monitor.cpp
ut-osa/nightcore
f041db04bd369d9bd7a617b48892338fc11c090c
[ "Apache-2.0" ]
7
2021-01-28T02:16:25.000Z
2022-01-23T00:37:50.000Z
#include "engine/monitor.h" #include "common/time.h" #include "utils/docker.h" #include "utils/procfs.h" #include "engine/engine.h" #include <sys/timerfd.h> #define HLOG(l) LOG(l) << "Monitor: " #define HVLOG(l) VLOG(l) << "Monitor: " namespace faas { namespace engine { Monitor::Monitor(Engine* engine) : state...
40.188406
103
0.61606
ut-osa
3ad8bc8a1d712c95f5709fa7c8f496d6484402fd
496
cpp
C++
mp/src/game/client/c_covenbuilding.cpp
rendenba/source-sdk-2013
4a0314391b01a2450788e0d4ee0926a05f3af8b0
[ "Unlicense" ]
null
null
null
mp/src/game/client/c_covenbuilding.cpp
rendenba/source-sdk-2013
4a0314391b01a2450788e0d4ee0926a05f3af8b0
[ "Unlicense" ]
null
null
null
mp/src/game/client/c_covenbuilding.cpp
rendenba/source-sdk-2013
4a0314391b01a2450788e0d4ee0926a05f3af8b0
[ "Unlicense" ]
null
null
null
#include "cbase.h" #include "c_covenbuilding.h" #undef CCovenBuilding LINK_ENTITY_TO_CLASS(coven_building, C_CovenBuilding); IMPLEMENT_CLIENTCLASS_DT(C_CovenBuilding, DT_CovenBuilding, CCovenBuilding) RecvPropInt(RECVINFO(m_BuildingType)), RecvPropInt(RECVINFO(m_iHealth)), RecvPropInt(RECVINFO(m_iMaxHealth)), R...
23.619048
75
0.816532
rendenba
3ad93c6ef74c384cc10c021dc1f4604f9ccee29c
3,894
cc
C++
test/src/unit-cppapi-map.cc
ppetraki/TileDB
16f2423ade38b1b1084e9206462477f1623cd5ae
[ "MIT" ]
null
null
null
test/src/unit-cppapi-map.cc
ppetraki/TileDB
16f2423ade38b1b1084e9206462477f1623cd5ae
[ "MIT" ]
null
null
null
test/src/unit-cppapi-map.cc
ppetraki/TileDB
16f2423ade38b1b1084e9206462477f1623cd5ae
[ "MIT" ]
null
null
null
/** * @file unit-cppapi-map.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2017 TileDB Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without re...
28.423358
80
0.642784
ppetraki
3ad98f815e1b52c12f25752956a77f8f0d938095
6,047
cpp
C++
Userland/DevTools/Profiler/SourceModel.cpp
xspager/serenity
39b7fbfeb9e469b4089f5424dc61aa074023bb5a
[ "BSD-2-Clause" ]
2
2022-02-08T09:18:50.000Z
2022-02-21T17:57:23.000Z
Userland/DevTools/Profiler/SourceModel.cpp
xspager/serenity
39b7fbfeb9e469b4089f5424dc61aa074023bb5a
[ "BSD-2-Clause" ]
null
null
null
Userland/DevTools/Profiler/SourceModel.cpp
xspager/serenity
39b7fbfeb9e469b4089f5424dc61aa074023bb5a
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include "SourceModel.h" #include "Gradient.h" #include "Profile.h" #include <LibCore/File.h> #include <LibDebug/DebugInfo.h> #include <LibGfx/FontDatabase.h> #include <LibSymbolication/Symbolicat...
29.788177
171
0.616835
xspager
3adbba8de456623a6569a7134e05428084b1af56
5,636
hpp
C++
source/context.hpp
Oleh-Kravchenko/binder-aio
46e283e25e1a956f44fd83eadf5b3377885d9c87
[ "MIT" ]
null
null
null
source/context.hpp
Oleh-Kravchenko/binder-aio
46e283e25e1a956f44fd83eadf5b3377885d9c87
[ "MIT" ]
null
null
null
source/context.hpp
Oleh-Kravchenko/binder-aio
46e283e25e1a956f44fd83eadf5b3377885d9c87
[ "MIT" ]
2
2019-02-01T17:22:34.000Z
2020-03-23T10:45:03.000Z
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*- // vi: set ts=2 noet: // // Copyright (c) 2016 Sergey Lyskov <sergey.lyskov@jhu.edu> // // All rights reserved. Use of this source code is governed by a // MIT license that can be found in the LICENSE file. /// @file b...
30.139037
147
0.745564
Oleh-Kravchenko
3adc7da39237ab68d55d9d13ff5cf32f329946ec
2,781
cpp
C++
movo_common/movo_third_party/simple_grasping/src/grasp_planner_node.cpp
aaronsnoswell/kinova-movo
380c7827a9cec12cc0f4f0cc19ce0b88775c6c51
[ "BSD-3-Clause" ]
37
2017-12-13T16:14:32.000Z
2022-02-19T03:12:52.000Z
movo_common/movo_third_party/simple_grasping/src/grasp_planner_node.cpp
aaronsnoswell/kinova-movo
380c7827a9cec12cc0f4f0cc19ce0b88775c6c51
[ "BSD-3-Clause" ]
71
2018-01-17T20:17:03.000Z
2022-03-23T19:48:45.000Z
movo_common/movo_third_party/simple_grasping/src/grasp_planner_node.cpp
aaronsnoswell/kinova-movo
380c7827a9cec12cc0f4f0cc19ce0b88775c6c51
[ "BSD-3-Clause" ]
32
2018-01-08T03:21:18.000Z
2022-02-19T03:12:47.000Z
/* * Copyright 2015, Fetch Robotics 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 list ...
37.581081
89
0.730672
aaronsnoswell
3adeef0b028f5e757b1cd29cf42769aaaa5e8de6
5,811
cpp
C++
Source/OpenNI/Linux/LinuxEvents.cpp
Dianpeng-Wang/kinect-1
1e9524ffd759841789dadb4ca19fb5d4ac5820e7
[ "Apache-2.0" ]
631
2015-01-03T18:48:10.000Z
2022-03-28T06:20:35.000Z
Source/OpenNI/Linux/LinuxEvents.cpp
Dianpeng-Wang/kinect-1
1e9524ffd759841789dadb4ca19fb5d4ac5820e7
[ "Apache-2.0" ]
41
2015-01-03T01:37:56.000Z
2021-12-22T09:41:25.000Z
Source/OpenNI/Linux/LinuxEvents.cpp
Dianpeng-Wang/kinect-1
1e9524ffd759841789dadb4ca19fb5d4ac5820e7
[ "Apache-2.0" ]
343
2015-01-04T11:10:21.000Z
2022-03-25T17:11:58.000Z
/***************************************************************************** * * * OpenNI 1.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * ...
36.093168
155
0.59525
Dianpeng-Wang
3ae07d2568523d9ffa673b8ad8ab3e7f7321b56a
5,505
cc
C++
zircon/tools/kazoo/cdecl_output.cc
sysidos/fuchsia
0c00fd3c78a9c0111af4689f1e038b3926c4dc9b
[ "BSD-3-Clause" ]
null
null
null
zircon/tools/kazoo/cdecl_output.cc
sysidos/fuchsia
0c00fd3c78a9c0111af4689f1e038b3926c4dc9b
[ "BSD-3-Clause" ]
null
null
null
zircon/tools/kazoo/cdecl_output.cc
sysidos/fuchsia
0c00fd3c78a9c0111af4689f1e038b3926c4dc9b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <algorithm> #include <optional> #include <string_view> #include <utility> #include "tools/kazoo/output_util.h" #include "tools/kazoo/outputs.h" ...
25.252294
86
0.627611
sysidos
3ae1080eba51fc648e8af90c76cde3a2e3b5e370
4,748
cpp
C++
src/bench/micro_benchmarks.cpp
scivey/xact
ebd268a13bffdbe5bc3932c8dce8b4f8d59d6886
[ "MIT" ]
95
2016-12-29T15:33:03.000Z
2022-01-30T13:42:09.000Z
src/bench/micro_benchmarks.cpp
scivey/xact
ebd268a13bffdbe5bc3932c8dce8b4f8d59d6886
[ "MIT" ]
null
null
null
src/bench/micro_benchmarks.cpp
scivey/xact
ebd268a13bffdbe5bc3932c8dce8b4f8d59d6886
[ "MIT" ]
8
2016-12-30T02:54:26.000Z
2022-01-30T13:42:19.000Z
#include <map> #include <atomic> #include <unordered_map> #include <glog/logging.h> #include <benchmark/benchmark.h> #include <sstream> #include "xact/AtomicU64.h" #include "xact/FixedAtomicU64Group.h" using xact::AtomicU64; using AtomGroup2 = xact::FixedAtomicU64Group<2>; static void BM_plain_atomic_cas(benchmark:...
23.74
69
0.69524
scivey
3ae243eac1c270d3e00e4d8c65d6eabc85bafcbc
1,805
cpp
C++
Bullet OAC/Material.cpp
Schweigert/shaders
ae3fbcb48d22fdfb0eb00d3f4451e99f97891c81
[ "MIT" ]
null
null
null
Bullet OAC/Material.cpp
Schweigert/shaders
ae3fbcb48d22fdfb0eb00d3f4451e99f97891c81
[ "MIT" ]
null
null
null
Bullet OAC/Material.cpp
Schweigert/shaders
ae3fbcb48d22fdfb0eb00d3f4451e99f97891c81
[ "MIT" ]
null
null
null
/************************************************************************/ /* File: Material.cpp */ /* Autor: Gustavo Diel */ /* License: WTFLP */ /*******************...
23.141026
91
0.593906
Schweigert
3ae27d0c24d259da8601cb958c1c1e76d549c219
1,057
cpp
C++
Source/GameService/GameFlow/GsGameFlowGame.cpp
BaekTaehyun/T1Project
d7d98c7cfc88e57513631124c32dfee8794307db
[ "MIT" ]
3
2019-06-25T05:09:47.000Z
2020-09-30T18:06:17.000Z
Source/GameService/GameFlow/GsGameFlowGame.cpp
BaekTaehyun/T1Project
d7d98c7cfc88e57513631124c32dfee8794307db
[ "MIT" ]
null
null
null
Source/GameService/GameFlow/GsGameFlowGame.cpp
BaekTaehyun/T1Project
d7d98c7cfc88e57513631124c32dfee8794307db
[ "MIT" ]
2
2018-10-15T08:09:16.000Z
2020-04-07T05:25:52.000Z
#include "GsGameFlowGame.h" #include "GameService.h" #include "./Stage/StageGame/GsStageManagerGame.h" FGsGameFlowGame::FGsGameFlowGame() : FGsGameFlowBase(FGsGameFlow::Mode::GAME) { } FGsGameFlowGame::~FGsGameFlowGame() { GSLOG(Warning, TEXT("FGsGameFlowGame : ~FGsGameFlowGame")); } void FGsGameFlowGame::Init() { ...
19.943396
77
0.738884
BaekTaehyun
3ae4f202f44a72c82f706728ab9a3d65770dbb74
3,403
cxx
C++
src/istream/PipeLeaseIstream.cxx
CM4all/beng-proxy
ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159
[ "BSD-2-Clause" ]
35
2017-08-16T06:52:26.000Z
2022-03-27T21:49:01.000Z
src/istream/PipeLeaseIstream.cxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
2
2017-12-22T15:34:23.000Z
2022-03-08T04:15:23.000Z
src/istream/PipeLeaseIstream.cxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
8
2017-12-22T15:11:47.000Z
2022-03-15T22:54:04.000Z
/* * Copyright 2007-2021 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the abo...
26.585938
88
0.699383
CM4all
3ae73fe0796d6e2c98a035d2eadf6f2a68f6cb02
34,714
c++
C++
faxd/FaxSend.c++
XieJiSS/HylaFAX
9afcaa405e05a3ec3c79091e96f7255b8de86981
[ "libtiff" ]
18
2015-09-02T08:41:46.000Z
2021-12-27T15:13:50.000Z
faxd/FaxSend.c++
XieJiSS/HylaFAX
9afcaa405e05a3ec3c79091e96f7255b8de86981
[ "libtiff" ]
null
null
null
faxd/FaxSend.c++
XieJiSS/HylaFAX
9afcaa405e05a3ec3c79091e96f7255b8de86981
[ "libtiff" ]
11
2015-01-07T16:05:58.000Z
2022-02-20T16:20:03.000Z
/* $Id$ */ /* * Copyright (c) 1990-1996 Sam Leffler * Copyright (c) 1991-1996 Silicon Graphics, Inc. * HylaFAX is a trademark of Silicon Graphics * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that (i) the...
36.198123
129
0.668635
XieJiSS
3ae788018a2b6e89216b9c3552cb13f9b4c0f98a
223
cpp
C++
modules/core/src/IkStringOutput.cpp
JosDenysGitHub/iknow
e6a142253513ad4365d7998e36c569d4174e8248
[ "MIT" ]
49
2020-02-05T15:54:24.000Z
2022-03-03T20:10:39.000Z
modules/core/src/IkStringOutput.cpp
makorin0315/iknow
3043030d2ac83b8719471bacaabd204ebdf94be6
[ "MIT" ]
84
2020-02-06T13:09:16.000Z
2022-03-22T19:36:00.000Z
modules/core/src/IkStringOutput.cpp
makorin0315/iknow
3043030d2ac83b8719471bacaabd204ebdf94be6
[ "MIT" ]
20
2020-02-04T21:38:57.000Z
2022-02-23T20:30:13.000Z
#include "IkStringOutput.h" #include "IkStringEncoding.h" using namespace iknow::core; IkStringOutput& IkStringOutput::operator<<(const std::string& s) { return *this << iknow::base::IkStringEncoding::UTF8ToBase(s);; }
24.777778
66
0.744395
JosDenysGitHub
3ae9fa09f76d37e2ca1c38aa2270a455de0bb628
41,188
cc
C++
FWCore/Services/plugins/SimpleMemoryCheck.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
FWCore/Services/plugins/SimpleMemoryCheck.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
FWCore/Services/plugins/SimpleMemoryCheck.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
// -*- C++ -*- // // Package: Services // Class : Memory // // Implementation: // // Original Author: Jim Kowalkowski // // Change Log // // 1 - Apr 25, 2008 M. Fischler // Collect event summary information and output to XML file and logger // at the end of the job. Involves split-up of updateA...
38.674178
121
0.619307
pasmuss
3aea94a88acbb6cc87d5cadb6963a225f09951fb
5,105
hpp
C++
PlayRho/Common/Position.hpp
shybovycha/PlayRho
eb4319022d324ebd6ada458b3410b00d00daac2c
[ "Zlib" ]
null
null
null
PlayRho/Common/Position.hpp
shybovycha/PlayRho
eb4319022d324ebd6ada458b3410b00d00daac2c
[ "Zlib" ]
null
null
null
PlayRho/Common/Position.hpp
shybovycha/PlayRho
eb4319022d324ebd6ada458b3410b00d00daac2c
[ "Zlib" ]
null
null
null
/* * Original work Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * Modified work Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/PlayRho * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * a...
31.90625
94
0.701077
shybovycha
3aeb54fb8d59e219f0e08079a6b92cc2b9e0b6fc
177,821
cc
C++
src/vendor/mariadb-10.6.7/storage/innobase/handler/i_s.cc
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/innobase/handler/i_s.cc
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/innobase/handler/i_s.cc
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/***************************************************************************** Copyright (c) 2007, 2016, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2014, 2021, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public L...
25.797331
84
0.676934
zettadb
3aee6e438ef33bc5781bff96e74162d73bf5f206
15,875
cpp
C++
sjasm/io_err.cpp
jbrandwood/sjasmplus
506b12cf2a3f78f9a9da9ca2f9c3417f3250d8db
[ "BSD-3-Clause" ]
1
2022-03-07T23:00:54.000Z
2022-03-07T23:00:54.000Z
sjasm/io_err.cpp
ozw1z5rd/sjasmplus
e7beefdb113e028156278ef8bfec592136e61fe1
[ "BSD-3-Clause" ]
null
null
null
sjasm/io_err.cpp
ozw1z5rd/sjasmplus
e7beefdb113e028156278ef8bfec592136e61fe1
[ "BSD-3-Clause" ]
null
null
null
/* SjASMPlus Z80 Cross Compiler - modified - error/warning module Copyright (c) 2006 Sjoerd Mastijn (original SW) Copyright (c) 2020 Peter Ped Helcmanovsky (error/warning module) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any ...
34.586057
111
0.703496
jbrandwood
3aef98d451de32eb721d8d70369cca0251478a29
208
cpp
C++
documentation/tutorial/examples/process/path-of-executable/path-of-executable.cpp
progrock-libraries/kickstart
d62c22efc92006dd76d455cf8f9d4f2a045e9126
[ "MIT" ]
2
2021-09-21T18:34:27.000Z
2022-02-13T02:50:57.000Z
documentation/tutorial/examples/process/path-of-executable/path-of-executable.cpp
progrock-libraries/kickstart
d62c22efc92006dd76d455cf8f9d4f2a045e9126
[ "MIT" ]
null
null
null
documentation/tutorial/examples/process/path-of-executable/path-of-executable.cpp
progrock-libraries/kickstart
d62c22efc92006dd76d455cf8f9d4f2a045e9126
[ "MIT" ]
null
null
null
#include <kickstart/all.hpp> using namespace kickstart::all; void cppmain() { out << fsx::path_of_executable().to_string() << endl; } auto main() -> int { return with_exceptions_displayed( cppmain ); }
20.8
67
0.697115
progrock-libraries
3af1e2e8045b1b961ede0a5b013625fc7f0bf21f
1,437
hpp
C++
src/rewofs/messages.hpp
dsiroky/rewofs
4fac193bfcb0aecde46eed9d689dce76f037d4c2
[ "MIT" ]
3
2020-04-21T10:06:42.000Z
2021-04-15T09:41:08.000Z
src/rewofs/messages.hpp
dsiroky/rewofs
4fac193bfcb0aecde46eed9d689dce76f037d4c2
[ "MIT" ]
null
null
null
src/rewofs/messages.hpp
dsiroky/rewofs
4fac193bfcb0aecde46eed9d689dce76f037d4c2
[ "MIT" ]
null
null
null
/// Messages support. /// /// @file #pragma once #ifndef MESSAGES_HPP__78PIAARG #define MESSAGES_HPP__78PIAARG #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include "rewofs/messages/all.hpp" //========================================================================== namespace rewofs { //========...
25.210526
76
0.463466
dsiroky
3afb034fa247a84a67c7cb0e73e7ce363f5115c2
15,765
hpp
C++
include/boost/wintls/stream.hpp
xiaoxiaozhu5/boost-wintls
93cb896500fbbad581e0362a133593f0e1b14d56
[ "BSL-1.0" ]
6
2020-08-12T21:06:50.000Z
2020-08-30T17:23:27.000Z
include/boost/wintls/stream.hpp
xiaoxiaozhu5/boost-wintls
93cb896500fbbad581e0362a133593f0e1b14d56
[ "BSL-1.0" ]
9
2020-09-22T08:55:25.000Z
2020-12-12T14:24:57.000Z
include/boost/wintls/stream.hpp
xiaoxiaozhu5/boost-wintls
93cb896500fbbad581e0362a133593f0e1b14d56
[ "BSL-1.0" ]
1
2020-08-12T20:53:10.000Z
2020-08-12T20:53:10.000Z
// // Copyright (c) 2020 Kasper Laudrup (laudrup at stacktrace dot dk) // // 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_WINTLS_STREAM_HPP #define BOOST_WINTLS_STREAM_HPP #include <boost/wintls/e...
34.72467
122
0.69242
xiaoxiaozhu5
3afcda5826f1abdbdc760346f6fd7073e043c3fa
1,400
cpp
C++
source/Test.cpp
MultiSight/multisight-buildy
516aaf31a448a6e64a22b3dd4fee462d0005ff25
[ "BSL-1.0" ]
null
null
null
source/Test.cpp
MultiSight/multisight-buildy
516aaf31a448a6e64a22b3dd4fee462d0005ff25
[ "BSL-1.0" ]
null
null
null
source/Test.cpp
MultiSight/multisight-buildy
516aaf31a448a6e64a22b3dd4fee462d0005ff25
[ "BSL-1.0" ]
null
null
null
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // XSDK // Copyright (c) 2015 Schneider Electric // // Use, modification, and distribution is subject to the Boost Software License, // Version 1.0 (See accompanying file LICENSE). // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-...
33.333333
115
0.419286
MultiSight
3afd118f43356eb26047ce2a29b05b96fe88e2c8
2,077
cpp
C++
src/modules/event/sdl/wrap_Event.cpp
JackDanger/love
596c98c88bde046f01d6898fda8b46013804aad6
[ "Zlib" ]
1
2016-05-09T05:05:55.000Z
2016-05-09T05:05:55.000Z
src/modules/event/sdl/wrap_Event.cpp
JackDanger/love
596c98c88bde046f01d6898fda8b46013804aad6
[ "Zlib" ]
null
null
null
src/modules/event/sdl/wrap_Event.cpp
JackDanger/love
596c98c88bde046f01d6898fda8b46013804aad6
[ "Zlib" ]
null
null
null
/** * Copyright (c) 2006-2009 LOVE Development Team * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, ...
21.635417
77
0.646606
JackDanger
3afd3f54725f337836ea769299846e3efdfc645b
5,212
cc
C++
src/developer/debug/zxdb/symbols/symbol_data_provider.cc
re995/fuchsia
02cb86f760af2aac974ba654186b73af8c16638f
[ "BSD-2-Clause" ]
1
2021-12-23T01:55:48.000Z
2021-12-23T01:55:48.000Z
src/developer/debug/zxdb/symbols/symbol_data_provider.cc
re995/fuchsia
02cb86f760af2aac974ba654186b73af8c16638f
[ "BSD-2-Clause" ]
1
2020-01-07T00:50:54.000Z
2020-03-28T03:56:01.000Z
src/developer/debug/zxdb/symbols/symbol_data_provider.cc
re995/fuchsia
02cb86f760af2aac974ba654186b73af8c16638f
[ "BSD-2-Clause" ]
1
2021-12-23T06:22:27.000Z
2021-12-23T06:22:27.000Z
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/developer/debug/zxdb/symbols/symbol_data_provider.h" #include "src/developer/debug/shared/message_loop.h" #include "src/developer/debug/zxdb...
38.323529
100
0.675748
re995
3afdc74e2722fe07e0dc18fd3aad7fa7b40cc535
2,861
cpp
C++
app/GUI/immediate/BloodSplat.cpp
isonil/survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
1
2017-05-12T10:12:41.000Z
2017-05-12T10:12:41.000Z
app/GUI/immediate/BloodSplat.cpp
isonil/Survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
null
null
null
app/GUI/immediate/BloodSplat.cpp
isonil/Survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
1
2019-01-09T04:05:36.000Z
2019-01-09T04:05:36.000Z
#include "BloodSplat.hpp" #include "../../Global.hpp" #include "../../Core.hpp" #include "engine/util/Math.hpp" #include "engine/app3D/Device.hpp" #include "engine/GUI/GUIManager.hpp" #include "engine/GUI/IGUIRenderer.hpp" #include "engine/GUI/IGUITexture.hpp" namespace app { BloodSplat::BloodSplat() : m_reached...
31.788889
106
0.701503
isonil
d7013ba1caf402de08b963abc04f796cef0d5360
104,252
cpp
C++
webkit/WebCore/rendering/RenderBlockLineLayout.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/rendering/RenderBlockLineLayout.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/rendering/RenderBlockLineLayout.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2000 Lars Knoll (knoll@kde.org) * Copyright (C) 2003, 2004, 2006, 2007, 2008, 2009 Apple Inc. All right reserved. * Copyright (c) 2010,2011 ACCESS CO., LTD. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library Gene...
42.972795
213
0.556709
s1rcheese
d701e56e50e3eb860184a6a5a7b0e72f4d35ef90
720
cpp
C++
Bai thuc hanh so 7/bai1.cpp
lamhoangtung/Bai-tap-Ki-thuat-lap-trinh
742915d6177520f0e17a86d12cda96d2f6e4ba49
[ "MIT" ]
1
2018-07-15T01:13:29.000Z
2018-07-15T01:13:29.000Z
Bai thuc hanh so 7/bai1.cpp
lamhoangtung/Bai-tap-Ki-thuat-lap-trinh
742915d6177520f0e17a86d12cda96d2f6e4ba49
[ "MIT" ]
null
null
null
Bai thuc hanh so 7/bai1.cpp
lamhoangtung/Bai-tap-Ki-thuat-lap-trinh
742915d6177520f0e17a86d12cda96d2f6e4ba49
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> using namespace std; void writeFile(string filename){ ofstream file(filename, ios::out); file << "Probleam name: exp1" << endl; file << "Maximize" << endl; file << "obj:\t\t\t x1 + 2 x2 + 3 x3 + x4" << endl; file << "Subject To" << endl; file << "\t c1: x2 - 3.5 x4 =...
20.571429
53
0.570833
lamhoangtung
d702c04e930a56ab4af2ced13d590d1e2b93afb0
6,896
cpp
C++
uppsrc/ide/Debuggers/MIValue.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
uppsrc/ide/Debuggers/MIValue.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
uppsrc/ide/Debuggers/MIValue.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include "MIValue.h" static MIValue &NullMIValue(void) { static MIValue v; return v; } static MIValue &ErrorMIValue(String const &msg) { static MIValue v; v.SetError(msg); return v; } int MIValue::ParsePair(String &name, MIValue &val, String const &s, int i) { name.Clear(); val.Clear(); while(s[i] && (s[i] !...
17.154229
85
0.569606
dreamsxin
d702cb217e6904eecd2775296bde144cef43bf34
485
cpp
C++
Algorithms/SolveMeFirst.cpp
chicio/Hackerrank
5d2a828492d2096fbc5d4f54c6c0bbb9612ed752
[ "MIT" ]
6
2017-04-11T15:31:40.000Z
2018-07-12T09:29:30.000Z
Algorithms/SolveMeFirst.cpp
chicio/Hackerrank
5d2a828492d2096fbc5d4f54c6c0bbb9612ed752
[ "MIT" ]
null
null
null
Algorithms/SolveMeFirst.cpp
chicio/Hackerrank
5d2a828492d2096fbc5d4f54c6c0bbb9612ed752
[ "MIT" ]
1
2018-07-10T11:45:08.000Z
2018-07-10T11:45:08.000Z
// // SolveMeFirst.cpp // HackerRank // // Created by Fabrizio Duroni on 16/09/16. // // https://www.hackerrank.com/challenges/solve-me-first #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int solveMeFirst(int a, int b) { return a + b; ...
13.857143
56
0.593814
chicio
d7033882a609c4f6412710eb1ce7736d5113a10d
2,779
hpp
C++
include/gba/video/palettes.hpp
felixjones/gba-hpp
66c84e2261c9a2d8e678e8cefb4f43f8c1c13cf3
[ "Zlib" ]
5
2022-03-12T19:16:58.000Z
2022-03-24T20:35:45.000Z
include/gba/video/palettes.hpp
felixjones/gba-hpp
66c84e2261c9a2d8e678e8cefb4f43f8c1c13cf3
[ "Zlib" ]
null
null
null
include/gba/video/palettes.hpp
felixjones/gba-hpp
66c84e2261c9a2d8e678e8cefb4f43f8c1c13cf3
[ "Zlib" ]
null
null
null
/* =============================================================================== Copyright (C) 2022 gba-hpp contributors For conditions of distribution and use, see copyright notice in LICENSE.md =============================================================================== */ #ifndef GBAXX_VIDEO_PALETTES_HPP #...
30.877778
131
0.600576
felixjones
d705b08b95b049207c09cdbde58f67de3dc48c16
857
cpp
C++
test/Statistics/Sample.cpp
kurocha/statistics
bc9ff66fc77af326fd9b70d1fd0c0e30b55aaa68
[ "MIT", "Unlicense" ]
null
null
null
test/Statistics/Sample.cpp
kurocha/statistics
bc9ff66fc77af326fd9b70d1fd0c0e30b55aaa68
[ "MIT", "Unlicense" ]
null
null
null
test/Statistics/Sample.cpp
kurocha/statistics
bc9ff66fc77af326fd9b70d1fd0c0e30b55aaa68
[ "MIT", "Unlicense" ]
null
null
null
// // Distribution.cpp // This file is part of the "Numerics" project and released under the MIT License. // // Created by Samuel Williams on 4/11/2017. // Copyright, 2017, by Samuel Williams. All rights reserved. // #include <UnitTest/UnitTest.hpp> #include <Statistics/Sample.hpp> namespace Statistics { using ...
25.205882
88
0.693116
kurocha
d706e141b871e4cdd5374156ed41fc0436b224ec
344
cpp
C++
Systems/C++/Jumping/Refrences/memory.cpp
dheerajpv/Notes
95a697034ae07d70850f0f7b9dd24d3eb599ee20
[ "MIT" ]
null
null
null
Systems/C++/Jumping/Refrences/memory.cpp
dheerajpv/Notes
95a697034ae07d70850f0f7b9dd24d3eb599ee20
[ "MIT" ]
null
null
null
Systems/C++/Jumping/Refrences/memory.cpp
dheerajpv/Notes
95a697034ae07d70850f0f7b9dd24d3eb599ee20
[ "MIT" ]
null
null
null
/* & can we used to find a variable memory adress When & is used in a declaration, it is a reference operator. When & is not used in a declaration, it is an address operator. */ #include <iostream> int main() { int power = 9000; // Print power std::cout << power << "\n"; // Print &power std::cout...
17.2
63
0.610465
dheerajpv
d7086144433011a86e8700f79c8fc8a9ef570213
544
cpp
C++
source/xyo/xyo-datastructures-json-varray.cpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-json-varray.cpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-json-varray.cpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
// // XYO // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #include "xyo-datastructures-json-varray.hpp" namespace XYO { namespace DataStructures { namespace JSON { ...
18.133333
81
0.645221
g-stefan
d7098d33d17b333e9e46f9178df036df48ef4b09
850
cpp
C++
src/shapes/star.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/shapes/star.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/shapes/star.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
#include "shapes/star.hpp" #include "shapes/straight_vertex.hpp" #include <cmath> using namespace rive; Star::Star() {} void Star::innerRadiusChanged() { markPathDirty(); } int Star::expectedSize() { return points() * 2; } void Star::buildPolygon() { auto actualPoints = expectedSize(); auto halfWidth = width() /...
21.794872
70
0.663529
hermet
d710afadd621bb289fdc523ad1024a154b77c014
2,716
cpp
C++
options/group.cpp
sheepsskullcity/opentrack
2742eebed2dd5db4dbf187504c95eca70aa624f2
[ "ISC" ]
1
2021-06-14T09:00:47.000Z
2021-06-14T09:00:47.000Z
options/group.cpp
sheepsskullcity/opentrack
2742eebed2dd5db4dbf187504c95eca70aa624f2
[ "ISC" ]
null
null
null
options/group.cpp
sheepsskullcity/opentrack
2742eebed2dd5db4dbf187504c95eca70aa624f2
[ "ISC" ]
null
null
null
#include "group.hpp" #include "defs.hpp" #include <QStandardPaths> #include <QDir> #include <QDebug> namespace options { group::group(const QString& name) : name(name) { if (name == "") return; auto conf = ini_file(); conf->beginGroup(name); for (auto& k_ : conf->childKeys()) { au...
22.823529
111
0.582842
sheepsskullcity
d7135af8f57086948d86dbe63885cb0adecf2400
458
cpp
C++
codebook/graph/match.cpp
nella17/NYCU_gAwr_gurA
e168cafc9e728a2cab2d1cafa90a1cfd433b9f59
[ "CC0-1.0" ]
1
2022-01-23T11:18:52.000Z
2022-01-23T11:18:52.000Z
codebook/graph/match.cpp
nella17/NYCU_gAwr_gurA
e168cafc9e728a2cab2d1cafa90a1cfd433b9f59
[ "CC0-1.0" ]
null
null
null
codebook/graph/match.cpp
nella17/NYCU_gAwr_gurA
e168cafc9e728a2cab2d1cafa90a1cfd433b9f59
[ "CC0-1.0" ]
1
2022-02-02T15:24:39.000Z
2022-02-02T15:24:39.000Z
array<int,SZ> mp; array<bool,SZ> vis; bool dfs(int now) { if(vis[now]) return false; vis[now] = true; for(int i = 0 ; i < n ; ++i) { if(!g[now][i]) continue; if(mp[i] == -1 or dfs(mp[i])) return mp[i] = now , 1; } return false; } int solve() { mp.fill(-1)...
20.818182
38
0.425764
nella17
d714da4c8b42ab9d28ea7cb3eaa59ffe581bf37c
3,043
hh
C++
include/Wektor.hh
KPO-2020-2021/zad5_3-258980
522ed2fa86b50f782826c2597f4d408e4a552d86
[ "Unlicense" ]
null
null
null
include/Wektor.hh
KPO-2020-2021/zad5_3-258980
522ed2fa86b50f782826c2597f4d408e4a552d86
[ "Unlicense" ]
null
null
null
include/Wektor.hh
KPO-2020-2021/zad5_3-258980
522ed2fa86b50f782826c2597f4d408e4a552d86
[ "Unlicense" ]
null
null
null
#ifndef WEKTOR_HH #define WEKTOR_HH #include <iostream> #include <cmath> using namespace std; template <int Wymiar> class Wektor { static int wszystkie; static int aktualne; double _wsp[Wymiar]; public: Wektor(); Wektor(Wektor<Wymiar> &wek) { for (int i = 0; i < Wymiar; i++) ...
19.632258
78
0.56096
KPO-2020-2021
d7158946a5eea52df5c4b941d927795d963c2ce4
8,757
cc
C++
src/chrome/browser/autocomplete/contact_provider_chromeos.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
chrome/browser/autocomplete/contact_provider_chromeos.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/autocomplete/contact_provider_chromeos.cc
devasia1000/chromium
919a8a666862fb866a6bb7aa7f3ae8c0442b4828
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/autocomplete/contact_provider_chromeos.h" #include <algorithm> #include <cmath> #include "base/i18n/break_iterator.h" #incl...
36.794118
80
0.709147
jxjnjjn
d716504018243631a6ce13abf3d43dffb6ab8b6a
1,572
cpp
C++
CppPool/cpp_d07a/ex00/Skat.cpp
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
40
2018-01-28T14:23:27.000Z
2022-03-05T15:57:47.000Z
CppPool/cpp_d07a/ex00/Skat.cpp
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
1
2021-10-05T09:03:51.000Z
2021-10-05T09:03:51.000Z
CppPool/cpp_d07a/ex00/Skat.cpp
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
73
2019-01-07T18:47:00.000Z
2022-03-31T08:48:38.000Z
// // Skat.cpp for skat in /home/gwendoline/Epitech/Tek2/rendu/Piscine_cpp/piscine_cpp_d07a/ex00 // // Made by Gwendoline Rodriguez // Login <gwendoline@epitech.net> // // Started on Tue Jan 12 22:51:08 2016 Gwendoline Rodriguez // Last update Tue Jan 12 22:57:53 2016 Gwendoline Rodriguez // #include <iostream> #in...
21.534247
113
0.613868
667MARTIN
d719bcf6300b8b22769044918e506f0773d3a849
681
cpp
C++
val_mountain.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
val_mountain.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
val_mountain.cpp
shirishbahirat/algorithm
ec743d4c16ab4f429f22bd6f71540341b3905b3b
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: bool validMountainArray(vector<int> &arr) { if (arr.size() < 3) { return false; } int i = 1; while ((i < arr.size()) && (arr[i] > arr[i - 1])) { i++; } if ((i == 1) || (i == arr.size...
13.352941
53
0.481645
shirishbahirat
d71bee6bfe2958e96d832768d46e405457209ac2
1,143
hpp
C++
platforms/linux/src/Application/Packets/Base/HostToControllerPacket.hpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
13
2018-07-04T16:35:37.000Z
2021-03-03T10:41:07.000Z
platforms/linux/src/Application/Packets/Base/HostToControllerPacket.hpp
iotile/baBLE
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
11
2018-06-01T20:32:32.000Z
2019-01-21T17:03:47.000Z
platforms/linux/src/Application/Packets/Base/HostToControllerPacket.hpp
iotile/baBLE-linux
faedca2c70b7fe91ea8ae0c3d8aff6bf843bd9db
[ "MIT" ]
null
null
null
#ifndef BABLE_HOSTTOCONTROLLERPACKET_HPP #define BABLE_HOSTTOCONTROLLERPACKET_HPP #include "Application/PacketRouter/PacketRouter.hpp" #include "Log/Log.hpp" namespace Packet { class HostToControllerPacket : public AbstractPacket { public: static Packet::Type initial_type() { return Packet::Type::FLAT...
30.078947
120
0.725284
iotile
d71ca307fe0f1fa24832f96a53c25de204595294
1,899
cpp
C++
pianoKeySet.cpp
planarian/relative_keys
43d2e46faaa3add82ff7e7a3b6441f1772249f82
[ "MIT" ]
1
2021-11-01T12:11:53.000Z
2021-11-01T12:11:53.000Z
pianoKeySet.cpp
planarian/relative_keys
43d2e46faaa3add82ff7e7a3b6441f1772249f82
[ "MIT" ]
null
null
null
pianoKeySet.cpp
planarian/relative_keys
43d2e46faaa3add82ff7e7a3b6441f1772249f82
[ "MIT" ]
null
null
null
#include "pianoKeySet.h" #include <QHBoxLayout> #include "whiteKey.h" #include "fullBlackKey.h" PianoKeySet::PianoKeySet(const PianoSynth * a, const Instrument * i, const Switcher * swi, QWidget *parent) : KeySet(a, i, swi, parent) { // determine which white keys have black keys blackLocations...
31.131148
132
0.564508
planarian
c013007036cc008c20aa256bb2dfafb94b5f1ed1
3,922
cpp
C++
amd_depthoffieldfx/src/AMD_DepthOfFieldFX.cpp
GPUOpen-Effects/DepthOfFieldFX
d6e07f36b4804975953958031536ab7876223d5b
[ "MIT" ]
74
2017-03-28T15:07:11.000Z
2021-12-27T18:16:59.000Z
amd_depthoffieldfx/src/AMD_DepthOfFieldFX.cpp
amdvlk/amd_depthoffieldfx
d6e07f36b4804975953958031536ab7876223d5b
[ "MIT" ]
1
2019-04-15T09:10:05.000Z
2019-04-22T07:41:14.000Z
amd_depthoffieldfx/src/AMD_DepthOfFieldFX.cpp
amdvlk/amd_depthoffieldfx
d6e07f36b4804975953958031536ab7876223d5b
[ "MIT" ]
8
2017-05-31T11:06:12.000Z
2020-10-28T22:14:22.000Z
// // Copyright (c) 2017 Advanced Micro Devices, Inc. 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 rig...
36.654206
152
0.758032
GPUOpen-Effects
c0133c11a4e3a225fe8ca9208593c164f02e78f7
11,044
cpp
C++
qt-solutions/qtscriptclassic/src/qscriptecmaregexp.cpp
privet56/qDesktopSearch
702aac770a11895e19180bd4ed2279c7a8ab64be
[ "Apache-2.0" ]
10
2016-04-15T15:31:08.000Z
2019-10-02T01:19:48.000Z
qt-solutions/qtscriptclassic/src/qscriptecmaregexp.cpp
privet56/qDesktopSearch
702aac770a11895e19180bd4ed2279c7a8ab64be
[ "Apache-2.0" ]
null
null
null
qt-solutions/qtscriptclassic/src/qscriptecmaregexp.cpp
privet56/qDesktopSearch
702aac770a11895e19180bd4ed2279c7a8ab64be
[ "Apache-2.0" ]
5
2016-04-15T15:31:10.000Z
2022-02-22T02:00:06.000Z
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Solutions component. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BS...
32.674556
128
0.644603
privet56
c0134e53b20391e75b46a74e808fd577475e06ff
860
hh
C++
include/Vector2.hh
KPO-2020-2021/zad4-259355
3090b8aca05b95d22e456edd147d29541fdf58bd
[ "Unlicense" ]
null
null
null
include/Vector2.hh
KPO-2020-2021/zad4-259355
3090b8aca05b95d22e456edd147d29541fdf58bd
[ "Unlicense" ]
null
null
null
include/Vector2.hh
KPO-2020-2021/zad4-259355
3090b8aca05b95d22e456edd147d29541fdf58bd
[ "Unlicense" ]
null
null
null
#ifndef Vector2_HH #define Vector2_HH #include "vector.hh" typedef Vector<double, 2> Vector2; //Definicje metod szczegolnych gdy dzialamy na wektorach2D //Przeciazenie operatora porownania //Przeciazenie operatora roznych //Przeciazenie operatora wejscia i wyjscia template<> bool Vector2::operator == (const Vector2...
20.47619
69
0.72907
KPO-2020-2021
c017cca7693a58c8720766c2c29e12eee58572ef
1,373
cpp
C++
src/bindings/python/PyLogTransform.cpp
rakoman/OpenColorIO
7ec3772ac7f3594584041261f362cd952b8b6acf
[ "BSD-3-Clause" ]
1
2021-10-20T03:06:38.000Z
2021-10-20T03:06:38.000Z
src/bindings/python/PyLogTransform.cpp
rakoman/OpenColorIO
7ec3772ac7f3594584041261f362cd952b8b6acf
[ "BSD-3-Clause" ]
2
2020-05-21T11:19:23.000Z
2020-05-21T11:26:09.000Z
src/bindings/python/PyLogTransform.cpp
rakoman/OpenColorIO
7ec3772ac7f3594584041261f362cd952b8b6acf
[ "BSD-3-Clause" ]
1
2020-05-21T11:25:19.000Z
2020-05-21T11:25:19.000Z
// SPDX-License-Identifier: BSD-3-Clause // Copyright Contributors to the OpenColorIO Project. #include "PyTransform.h" namespace OCIO_NAMESPACE { void bindPyLogTransform(py::module & m) { LogTransformRcPtr DEFAULT = LogTransform::Create(); py::class_<LogTransform, LogTransformRcPtr /* holde...
33.487805
97
0.588492
rakoman
c018c4936bda07707c1e9a37173b829b61e552c9
19,816
cpp
C++
src/sip-transports.cpp
danias/drachtio-server
cf8bb18e74a1eb2380053e3c31cfa398efd513d4
[ "MIT" ]
null
null
null
src/sip-transports.cpp
danias/drachtio-server
cf8bb18e74a1eb2380053e3c31cfa398efd513d4
[ "MIT" ]
null
null
null
src/sip-transports.cpp
danias/drachtio-server
cf8bb18e74a1eb2380053e3c31cfa398efd513d4
[ "MIT" ]
null
null
null
/* Copyright (c) 2013, David C Horton 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, distribute,...
34.643357
146
0.606833
danias
c01da63b6e768763ef82cae473b2de18703cbcc9
1,438
cpp
C++
src/brook/prog/apps/timing_vout/plyload.cpp
darwin/inferno
e87017763abae0cfe09d47987f5f6ac37c4f073d
[ "Zlib" ]
2
2016-05-09T11:57:28.000Z
2021-07-28T16:46:08.000Z
src/brook/prog/apps/timing_vout/plyload.cpp
darwin/inferno
e87017763abae0cfe09d47987f5f6ac37c4f073d
[ "Zlib" ]
null
null
null
src/brook/prog/apps/timing_vout/plyload.cpp
darwin/inferno
e87017763abae0cfe09d47987f5f6ac37c4f073d
[ "Zlib" ]
null
null
null
#include <stdio.h> #include "rapcol.h" #include <vector> #include <brook.hpp> using std::vector; void LoadPly (const char * file,vector<Tri> &ret) { float ver;char mchar; int numvertex,numface,propertycount=0; vector<tri_vertex_t> vertices; FILE * fp = fopen (file,"r"); if (!fp) retur...
26.145455
65
0.503477
darwin
c0216e141fed42101f914357bbea1ef4a6a021e6
456
cpp
C++
src/167.cpp
MoRunChang2015/LeetCode
d046083b952811dfbf5f8fb646060836a3e937ce
[ "Apache-2.0" ]
null
null
null
src/167.cpp
MoRunChang2015/LeetCode
d046083b952811dfbf5f8fb646060836a3e937ce
[ "Apache-2.0" ]
null
null
null
src/167.cpp
MoRunChang2015/LeetCode
d046083b952811dfbf5f8fb646060836a3e937ce
[ "Apache-2.0" ]
null
null
null
class Solution { public: vector<int> twoSum(vector<int>& numbers, int target) { vector<int>::iterator it = numbers.begin(); while (it != numbers.end()) { auto f = lower_bound(it + 1, numbers.end(), target - *it); if (f != numbers.end() && *f + *it == target) r...
30.4
75
0.467105
MoRunChang2015
c021f01b79d0f331a61a7f0aba6a7bdc21cb98a6
5,454
cpp
C++
die_source/gui_source/threadentropy.cpp
jha334201553/DIE-engine-PEID-
f251958c2bbb1ed23a5dac87f3e72659c85dc276
[ "MIT" ]
null
null
null
die_source/gui_source/threadentropy.cpp
jha334201553/DIE-engine-PEID-
f251958c2bbb1ed23a5dac87f3e72659c85dc276
[ "MIT" ]
null
null
null
die_source/gui_source/threadentropy.cpp
jha334201553/DIE-engine-PEID-
f251958c2bbb1ed23a5dac87f3e72659c85dc276
[ "MIT" ]
null
null
null
// Copyright (c) 2012-2019 hors<horsicq@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, ...
23.110169
172
0.59956
jha334201553
c023b2329e3ea5a1ff417a9985c3f44f48175785
245
cpp
C++
endianness/endianness.cpp
lisuizhe/embedded-cpp-playground
3e4fdb661e91b32c3eed7856657813cfb28a5cc8
[ "MIT" ]
null
null
null
endianness/endianness.cpp
lisuizhe/embedded-cpp-playground
3e4fdb661e91b32c3eed7856657813cfb28a5cc8
[ "MIT" ]
null
null
null
endianness/endianness.cpp
lisuizhe/embedded-cpp-playground
3e4fdb661e91b32c3eed7856657813cfb28a5cc8
[ "MIT" ]
null
null
null
#include <iostream> int main() { union { uint32_t i; uint8_t c[4]; } data; data.i = 0x01020304; if (data.c[0] == 0x01) { std::cout << "Big-endian" << std::endl; } else { std::cout << "Little-endian" << std::endl; } }
17.5
46
0.526531
lisuizhe