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
9ba8f00425c133e2f1906ad2d637833d76a53c56
2,559
cpp
C++
csr.cpp
bartlomiejn/phosphor-certificate-manager
014be0bf55ebfb930c3f158aa78fa10c9a25da1e
[ "Apache-2.0" ]
null
null
null
csr.cpp
bartlomiejn/phosphor-certificate-manager
014be0bf55ebfb930c3f158aa78fa10c9a25da1e
[ "Apache-2.0" ]
null
null
null
csr.cpp
bartlomiejn/phosphor-certificate-manager
014be0bf55ebfb930c3f158aa78fa10c9a25da1e
[ "Apache-2.0" ]
null
null
null
#include "config.h" #include "csr.hpp" #include <openssl/bio.h> #include <openssl/buffer.h> #include <openssl/ossl_typ.h> #include <openssl/pem.h> #include <openssl/x509.h> #include <cstdio> #include <filesystem> #include <memory> #include <phosphor-logging/elog-errors.hpp> #include <phosphor-logging/elog.hpp> #incl...
28.752809
80
0.645565
bartlomiejn
9ba99cdd6eadf3a283a0b9a3b6e8465fc5e04d7c
458
cpp
C++
Reflex/reflex.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
11
2015-08-29T13:41:22.000Z
2020-01-08T20:34:06.000Z
Reflex/reflex.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
null
null
null
Reflex/reflex.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
5
2016-01-20T18:17:01.000Z
2019-10-30T11:57:15.000Z
#include <fstream> #include <iostream> #include <algorithm> using namespace std; int main() { int n, m; ifstream fin("reflex.in"); ofstream fout("reflex.out"); fin >> n >> m; -- n; -- m; int gcd = __gcd(n, m); int hs = n / gcd; int vs = m / gcd; int colt = 1; if(hs % 2 == 0) colt = 4; else if(vs % 2 ==...
16.962963
56
0.489083
rusucosmin
9baa9b0081fba3a73c352b5d6fed319305dd0cab
869
cpp
C++
113#path-sum-ii/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
113#path-sum-ii/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
113#path-sum-ii/solution.cpp
llwwns/leetcode_solutions
e352c9bf6399ab3ee0f23889e70361c9f2a3bd33
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<vector<int>> ans; vector<int> cur; void calc(TreeNode* root, int su...
26.333333
77
0.487917
llwwns
9bac8bc68718924249bf47738f3822c30638317a
4,651
hxx
C++
win32/include/QUANTA/QUANTAnet_objectStreamBase_c.hxx
benyaboy/sage-graphics
090640167329ace4b6ad266d47db5bb2b0394232
[ "Unlicense" ]
null
null
null
win32/include/QUANTA/QUANTAnet_objectStreamBase_c.hxx
benyaboy/sage-graphics
090640167329ace4b6ad266d47db5bb2b0394232
[ "Unlicense" ]
null
null
null
win32/include/QUANTA/QUANTAnet_objectStreamBase_c.hxx
benyaboy/sage-graphics
090640167329ace4b6ad266d47db5bb2b0394232
[ "Unlicense" ]
1
2021-07-02T10:31:03.000Z
2021-07-02T10:31:03.000Z
/****************************************************************************** * QUANTA - A toolkit for High Performance Data Sharing * Copyright (C) 2003 Electronic Visualization Laboratory, * University of Illinois at Chicago * * This library is free software; you can redistribute it and/or modify it ...
23.371859
81
0.586541
benyaboy
9bad6d90f3d22cfee7626efc26c437381e604dd4
818
cpp
C++
D3DApplication/App/AppHelpers/Renderer/ClearPass.cpp
d4rkz3r0/GPU-Vertex-Skinning-Animation-Project
f9667992e49599038ee2f46b014ea205fafcb6c3
[ "MIT" ]
null
null
null
D3DApplication/App/AppHelpers/Renderer/ClearPass.cpp
d4rkz3r0/GPU-Vertex-Skinning-Animation-Project
f9667992e49599038ee2f46b014ea205fafcb6c3
[ "MIT" ]
null
null
null
D3DApplication/App/AppHelpers/Renderer/ClearPass.cpp
d4rkz3r0/GPU-Vertex-Skinning-Animation-Project
f9667992e49599038ee2f46b014ea205fafcb6c3
[ "MIT" ]
null
null
null
#include "ClearPass.h" #include <d3d11.h> #include "../../../Shared/SharedUtils.h" ClearPass::ClearPass(ID3D11Device* pDevice, ID3D11RenderTargetView* pRTV, ID3D11DepthStencilView* pDSV) : mDevice(pDevice), mRTV(pRTV), mDSV(pDSV), m_Enabled(true) { mDevice->GetImmediateContext(&mDeviceContext); } ClearPass::~ClearP...
20.974359
163
0.756724
d4rkz3r0
9bae0f7039deac6d1bc69bb861908fc6d0dfdd95
1,311
cc
C++
internal/platform/input_stream.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
69
2021-10-18T00:37:29.000Z
2022-03-20T19:53:38.000Z
internal/platform/input_stream.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
14
2021-10-13T19:49:27.000Z
2022-03-31T22:19:13.000Z
internal/platform/input_stream.cc
deling-google/nearby
338faab8c902d1de4a244611d5cd9ca68a91a135
[ "Apache-2.0" ]
22
2021-10-20T12:36:47.000Z
2022-03-31T18:39:46.000Z
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
29.133333
75
0.729214
deling-google
9bafe3701a7c347425494e3d4ceddc9fa5e2b874
550
hpp
C++
header/Animation.hpp
Vincent11276/Platformer2D
6d2c3718ff6f2cbc7da1d63021b2d36b0758808e
[ "MIT" ]
null
null
null
header/Animation.hpp
Vincent11276/Platformer2D
6d2c3718ff6f2cbc7da1d63021b2d36b0758808e
[ "MIT" ]
null
null
null
header/Animation.hpp
Vincent11276/Platformer2D
6d2c3718ff6f2cbc7da1d63021b2d36b0758808e
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> #include <iostream> // fuck using namespace std; #include <SFML/Graphics/Sprite.hpp> #include <SFML/Graphics/Texture.hpp> class Animation { public: std::vector<sf::Sprite> frames; std::string name; int frameIndex=0; float fps = 5; bool loop; ...
15.277778
115
0.669091
Vincent11276
9bb0a0917a28051ed39c24b26e60a80d1b86e601
3,010
cpp
C++
src/main.cpp
Ymagis/EclairLooks
c04fb1af1160305fb1dbffb2ea92cc478cd70b31
[ "BSD-3-Clause" ]
9
2019-07-03T13:11:33.000Z
2021-10-06T13:55:31.000Z
src/main.cpp
Ymagis/EclairLooks
c04fb1af1160305fb1dbffb2ea92cc478cd70b31
[ "BSD-3-Clause" ]
1
2019-07-09T09:04:59.000Z
2019-08-06T13:23:47.000Z
src/main.cpp
Ymagis/EclairLooks
c04fb1af1160305fb1dbffb2ea92cc478cd70b31
[ "BSD-3-Clause" ]
4
2019-07-02T15:03:43.000Z
2019-09-28T14:33:03.000Z
#include <locale> #include <QtWidgets/QApplication> #include <QtGui/QSurfaceFormat> #include <QtWidgets/QDesktopWidget> #include <QFile> #include <context.h> #include <gui/mainwindow.h> #include <operator/ocio/matrix.h> #include <operator/ocio/filetransform.h> #include <operator/ocio/colorspace.h> #include <operator/...
32.021277
85
0.67608
Ymagis
9bb312467ecde063c5c6cfa319da750d753bf74c
3,870
cc
C++
RecoPPS/Local/plugins/TotemRPClusterProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoPPS/Local/plugins/TotemRPClusterProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoPPS/Local/plugins/TotemRPClusterProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/**************************************************************************** * * This is a part of TOTEM offline software. * Authors: * Hubert Niewiadomski * Jan Kašpar (jan.kaspar@gmail.com) * ****************************************************************************/ #include "FWCore/Framework/interface/Maker...
35.504587
111
0.563824
ckamtsikis
9bb6eda69859d4cb3b653689b98e954708125aa4
2,245
cpp
C++
tests/crypt_vfs.cpp
terrakuh/ysqlite3
d7e784f2e809462bef83805d853838a73fdf0d15
[ "MIT" ]
null
null
null
tests/crypt_vfs.cpp
terrakuh/ysqlite3
d7e784f2e809462bef83805d853838a73fdf0d15
[ "MIT" ]
3
2020-09-29T18:00:39.000Z
2020-10-01T14:59:58.000Z
tests/crypt_vfs.cpp
terrakuh/ysqlite3
d7e784f2e809462bef83805d853838a73fdf0d15
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <cstring> #include <random> #include <string> #include <vector> #include <ysqlite3/database.hpp> #include <ysqlite3/vfs/crypt_file.hpp> #include <ysqlite3/vfs/sqlite3_file_wrapper.hpp> #include <ysqlite3/vfs/sqlite3_vfs_wrapper.hpp> using namespace ysqlite...
25.804598
106
0.653007
terrakuh
9bb869e5575f89dab20ba4f04581e158b7ccf14e
2,857
hpp
C++
include/aikido/statespace/StateHandle.hpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
include/aikido/statespace/StateHandle.hpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
include/aikido/statespace/StateHandle.hpp
usc-csci-545/aikido
afd8b203c17cb0b05d7db436f8bffbbe2111a75a
[ "BSD-3-Clause" ]
null
null
null
#ifndef AIKIDO_STATESPACE_STATEHANDLE_HPP_ #define AIKIDO_STATESPACE_STATEHANDLE_HPP_ #include <type_traits> namespace aikido { namespace statespace { /// Wrap a State with its StateSpace to provide convenient accessor methods. /// The template parameter \c _QualifiedState is necessary to support both /// \c const a...
31.395604
80
0.707035
usc-csci-545
9bb9205ce240b18fea5db59ed12e3a3b9769caff
5,229
cpp
C++
src/knn/annClassify.cpp
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
src/knn/annClassify.cpp
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
src/knn/annClassify.cpp
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
#include "tkdCmdParser.h" #include "annCommon.h" /** * Classify using ANN. */ class AnnClassify { public: typedef float PixelType; /** * Run. */ void Run( const std::string& trainingDataFileName, const std::vector< std::string >& imageFileNames, const std::string& maskFileName, const std::string& ou...
36.3125
233
0.69803
wmotte
9bbcc3c947bfc7f9d2c5347cbeb82c5776f6ac8b
6,038
cpp
C++
src/editor/Widgets/RichTextEditor.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/editor/Widgets/RichTextEditor.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
src/editor/Widgets/RichTextEditor.cpp
tedvalson/NovelTea
f731951f25936cb7f5ff23e543e0301c1b5bfe82
[ "MIT" ]
null
null
null
#include "RichTextEditor.hpp" #include "ui_RichTextEditor.h" #include "EditorUtils.hpp" #include <NovelTea/TextBlock.hpp> #include <NovelTea/TextFragment.hpp> #include <NovelTea/ProjectData.hpp> #include <QTextBlock> #include <iostream> RichTextEditor::RichTextEditor(QWidget *parent) : QWidget(parent), ui(new Ui::Ri...
24.745902
108
0.716628
tedvalson
9bbe221ba5d9af3fc6979783d28c12fd33c86bf6
2,104
cpp
C++
example/src/ofApp.cpp
P-A-N/ofxBlackmagicATEM
28ecc8d49b6a38dab4c610db03e938872838c52c
[ "MIT" ]
null
null
null
example/src/ofApp.cpp
P-A-N/ofxBlackmagicATEM
28ecc8d49b6a38dab4c610db03e938872838c52c
[ "MIT" ]
null
null
null
example/src/ofApp.cpp
P-A-N/ofxBlackmagicATEM
28ecc8d49b6a38dab4c610db03e938872838c52c
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ atem.setup("10.0.0.91"); } //-------------------------------------------------------------- void ofApp::update(){ } //-------------------------------------------------------------- void ofApp::draw(){ } //---...
18.45614
64
0.379278
P-A-N
9bbe7158cd54b7541ba58fc7f0735ec0a264c8ad
2,748
cpp
C++
lab5.cpp
PatrykRadon/IMN-labs
148561de488b44d122dce5b33874626662d8d1cb
[ "MIT" ]
1
2020-02-11T14:36:07.000Z
2020-02-11T14:36:07.000Z
lab5.cpp
PatrykRadon/IMN-labs
148561de488b44d122dce5b33874626662d8d1cb
[ "MIT" ]
null
null
null
lab5.cpp
PatrykRadon/IMN-labs
148561de488b44d122dce5b33874626662d8d1cb
[ "MIT" ]
null
null
null
#include <cmath> #include <fstream> const int nx = 128; const int ny = 128; const double delta = 0.2; const double xMax = delta*nx; const double yMax = delta*ny; const double TOL = std::pow(10,-8); int iter_n = 0; double V[nx + 16][ny + 16]; double S(int k) { double S = 0; for(int i = 0; i <= nx - 16; i = i + k...
21.302326
211
0.42067
PatrykRadon
9bc0863c80c90a31161eef579ea0a0fbd5049ded
1,467
cpp
C++
filter.cpp
iphelf/Digital-Image-Processing
8c736d208bf7806b2839540e41216d07f2a27e52
[ "WTFPL" ]
null
null
null
filter.cpp
iphelf/Digital-Image-Processing
8c736d208bf7806b2839540e41216d07f2a27e52
[ "WTFPL" ]
null
null
null
filter.cpp
iphelf/Digital-Image-Processing
8c736d208bf7806b2839540e41216d07f2a27e52
[ "WTFPL" ]
null
null
null
#include "filter.h" #include "ui_filter.h" #include <iostream> Filter::Filter(QWidget *parent,cv::Mat mat) : QDialog(parent),mat(mat), ui(new Ui::Filter) { ui->setupUi(this); connect(ui->radioButton_mean,SIGNAL(clicked(bool)), this,SLOT(updated())); connect(ui->radioButton_median,SIGNAL...
28.764706
64
0.619632
iphelf
9bc1411e4f46194349fafe3123b086b2c807925d
12,710
cpp
C++
src/fft3d_wrap.cpp
lammps/fftmpi
09473e21e5211e5c3250f86c42bf5ef204cb5cf7
[ "BSD-3-Clause" ]
11
2021-08-01T14:51:59.000Z
2022-01-14T02:07:51.000Z
src/fft3d_wrap.cpp
lammps/fftmpi
09473e21e5211e5c3250f86c42bf5ef204cb5cf7
[ "BSD-3-Clause" ]
null
null
null
src/fft3d_wrap.cpp
lammps/fftmpi
09473e21e5211e5c3250f86c42bf5ef204cb5cf7
[ "BSD-3-Clause" ]
null
null
null
/* ---------------------------------------------------------------------- fftMPI - library for computing 3d/2d FFTs in parallel http://fftmpi.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright 2018 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Und...
36.947674
79
0.488749
lammps
9bc1ae5f30531308073f6f95a50423f744428cae
3,899
cpp
C++
qtdoc/doc/src/snippets/dropactions/window.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtdoc/doc/src/snippets/dropactions/window.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtdoc/doc/src/snippets/dropactions/window.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the documentation of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BSD license as f...
36.783019
77
0.673763
wgnet
9bc1d7c9ac637c8e00daa72beec82b32da952c04
2,196
cpp
C++
src/main.cpp
mongonta0716/M5Paper_UV_Test
f606bec41a81786386fd6e6cca8f1e2fef2b995e
[ "MIT" ]
null
null
null
src/main.cpp
mongonta0716/M5Paper_UV_Test
f606bec41a81786386fd6e6cca8f1e2fef2b995e
[ "MIT" ]
null
null
null
src/main.cpp
mongonta0716/M5Paper_UV_Test
f606bec41a81786386fd6e6cca8f1e2fef2b995e
[ "MIT" ]
null
null
null
#include <Arduino.h> #include <m5epdlib.h> #include <WiFiConfig.h> // WiFiConfig.hにssidとpasswordを設定してください。起動時NTPで時刻同期します。 static LGFX gfx; uint8_t numberX = 16; // 市松模様のX軸の数 uint8_t numberY = 9; // 市松模様のY軸の数 uint16_t interval_display = 15000; // 画面表示を書き換える間隔(msec) uint16_...
25.835294
79
0.646175
mongonta0716
9bc58a226cb7c7a2882a0173dc1e9336e20ce434
4,876
cpp
C++
src/shader_s.cpp
lhswei/learnopengl
e3670b20707598ded433c61a551819deec4cc6e8
[ "MIT" ]
null
null
null
src/shader_s.cpp
lhswei/learnopengl
e3670b20707598ded433c61a551819deec4cc6e8
[ "MIT" ]
null
null
null
src/shader_s.cpp
lhswei/learnopengl
e3670b20707598ded433c61a551819deec4cc6e8
[ "MIT" ]
null
null
null
#include "shader_s.h" Shader::Shader(const char* vertexPath, const char* fragmentPath) { // 1. retrieve the vertex/fragment source code from filePath std::string vertexCode; std::string fragmetCode; std::ifstream vShaderFile; std::ifstream fShaderFile; // ensure ifstream objects can throw exceptions: vShaderF...
29.373494
167
0.712879
lhswei
9bd11636034e539294c22be2079be58b2ea9f163
2,309
cpp
C++
test_cef_app/main_util.cpp
kkkon/test_cef
ded0685f60e33adddf70d40fd807b9aff2b54bcc
[ "MIT" ]
1
2020-08-17T08:56:08.000Z
2020-08-17T08:56:08.000Z
test_cef_app/main_util.cpp
kkkon/test_cef
ded0685f60e33adddf70d40fd807b9aff2b54bcc
[ "MIT" ]
null
null
null
test_cef_app/main_util.cpp
kkkon/test_cef
ded0685f60e33adddf70d40fd807b9aff2b54bcc
[ "MIT" ]
null
null
null
/** * The MIT License * * Copyright (C) 2017 Kiyofumi Kondoh * * 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,...
27.164706
83
0.72369
kkkon
9bd1a445ae851622d5bb375ec05ede4c66cdec43
2,740
cpp
C++
maratonRegional2012/Nueva carpeta/jupiter_attacks.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
1
2016-02-11T21:28:22.000Z
2016-02-11T21:28:22.000Z
maratonRegional2012/Nueva carpeta/jupiter_attacks.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
maratonRegional2012/Nueva carpeta/jupiter_attacks.cpp
civilian/competitive_programing
a6ae7ad0db84240667c1dd6231c51c586ba040c7
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <ctime> #include <cctype> #include <cassert> #include <iostream> #include <sstream> #include <iomanip> #include <string> #include <vector> #include <stack> #include <queue> #include <deque> #include <list> #include <set> #include <map> #i...
21.076923
84
0.462409
civilian
9bd1af4ef41f8bfcc353f7cfbb4ff3eb63d8f780
825
cpp
C++
Striver SDE Sheet/Day - 8 (Greedy)/Job Sequencing Problem.cpp
HariAcidReign/Striver-SDE-Solutions
80757b212abe479f3975b890398a8d877ebfd41e
[ "MIT" ]
25
2021-08-17T04:04:41.000Z
2022-03-16T07:43:30.000Z
Striver SDE Sheet/Day - 8 (Greedy)/Job Sequencing Problem.cpp
hashwanthalla/Striver-Sheets-Resources
80757b212abe479f3975b890398a8d877ebfd41e
[ "MIT" ]
null
null
null
Striver SDE Sheet/Day - 8 (Greedy)/Job Sequencing Problem.cpp
hashwanthalla/Striver-Sheets-Resources
80757b212abe479f3975b890398a8d877ebfd41e
[ "MIT" ]
8
2021-08-18T02:02:23.000Z
2022-02-11T06:05:07.000Z
//Hari's static bool compareProfit(Job a, Job b){ return (a.profit > b.profit); } vector<long> JobScheduling(Job arr[], int n) { // your code here vector<long> ans; sort(arr, arr+n, compareProfit); long count = 0, totProfit = 0; long maxi = arr[0].dead...
25.78125
63
0.419394
HariAcidReign
9bd1b40ebc6e5d353a62c8555e75fe0e4627a939
2,073
cxx
C++
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoEventReaderAlt.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoEventReaderAlt.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoEventReaderAlt.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
#include "AliFemtoEventReaderAlt.h" #include "AliFemtoTrack.h" #include "AliAODTrack.h" #include <TRandom3.h> AliFemtoEventReaderAlt::AliFemtoEventReaderAlt() : AliFemtoEventReaderAODMultSelection() , fRng(nullptr) , fEnhanceSmearing(0.0) { } AliFemtoEventReaderAlt::AliFemtoEventReaderAlt(const AliFemtoEven...
24.388235
91
0.742402
eciesla
9bd2ad022c94f96556ae4eaeac0c48098bb34888
580
cpp
C++
ABC/006/03/main.cpp
koturn/AtCoder
67950836618733bff215597ee7b84e2eddf77d49
[ "MIT" ]
null
null
null
ABC/006/03/main.cpp
koturn/AtCoder
67950836618733bff215597ee7b84e2eddf77d49
[ "MIT" ]
null
null
null
ABC/006/03/main.cpp
koturn/AtCoder
67950836618733bff215597ee7b84e2eddf77d49
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> enum { N_FOOT_ADULT = 2, N_FOOT_OLD = 3, N_FOOT_BABY = 4, }; int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); int n, m; std::cin >> n >> m; if (m < n * N_FOOT_ADULT || n * N_FOOT_BABY < m) { std::cout << "-1 -1 -1" << std::endl; ret...
16.571429
73
0.531034
koturn
9bd48fdba2625e8acba8115782bd487eb9a5f1dc
2,963
cpp
C++
Grafos_Estructuras_Particion/SerpientesEscaleras/SerpientesEscaleras.cpp
manumonforte/AdvancedAlgorithm
fe82ef552147a041e7ad717f85999eb677f5340a
[ "MIT" ]
4
2019-01-30T21:35:40.000Z
2019-06-25T03:19:44.000Z
Grafos_Estructuras_Particion/SerpientesEscaleras/SerpientesEscaleras.cpp
manumonforte/AdvancedAlgorithm
fe82ef552147a041e7ad717f85999eb677f5340a
[ "MIT" ]
null
null
null
Grafos_Estructuras_Particion/SerpientesEscaleras/SerpientesEscaleras.cpp
manumonforte/AdvancedAlgorithm
fe82ef552147a041e7ad717f85999eb677f5340a
[ "MIT" ]
3
2019-06-06T17:01:28.000Z
2021-06-27T10:55:34.000Z
// Manuel Monforte // TAIS62 #include <iostream> #include <iomanip> #include <fstream> #include "GrafoDirigido.h" #include <queue> //Coste del problema-->O(V+E) //La idea coniste en colocar todasd las aristas, y aprovechar el recorrido en anchura para sacar el camino a la ultima casilla, a la hora de colocar arist...
24.089431
156
0.629767
manumonforte
9bd85ed7764798f39a5db39e182e47f11485acce
733
cpp
C++
platforms/leetcode/0164_sorting_the_sentence.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/leetcode/0164_sorting_the_sentence.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/leetcode/0164_sorting_the_sentence.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include "../../template.hpp" string sol(const string& s) { const int n = s.size(); string temp; istringstream is(s); vector<string> wordsx; while (is >> temp) wordsx.push_back(temp); vector<string> words(wordsx.size()); for (const auto& word : wordsx) { const int idx = word.back(...
24.433333
72
0.536153
idfumg
9bd9bd1f2719768c0d63ad07fdf00e354c3ade15
2,892
cc
C++
elang/optimizer/scheduler/visual_schedule.cc
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
1
2018-01-27T22:40:53.000Z
2018-01-27T22:40:53.000Z
elang/optimizer/scheduler/visual_schedule.cc
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
1
2016-01-29T00:54:49.000Z
2016-01-29T00:54:49.000Z
elang/optimizer/scheduler/visual_schedule.cc
eval1749/elang
5208b386ba3a3e866a5c0f0271280f79f9aac8c4
[ "Apache-2.0" ]
null
null
null
// Copyright 2015 Project Vogue. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <unordered_map> #include "elang/optimizer/scheduler/visual_schedule.h" #include "base/strings/stringprintf.h" #include "elang/optimizer/function.h" #i...
31.434783
80
0.601314
eval1749
9bdba0b51f30c4a80598fd5ba7c5bc60631e5b35
1,855
hpp
C++
3rdparty/libbitcoin/src/wallet/parse_encrypted_keys/parse_encrypted_token.hpp
anatolse/beam
43c4ce0011598641d9cdeffbfdee66fde0a49730
[ "Apache-2.0" ]
631
2018-11-10T05:56:05.000Z
2022-03-30T13:21:00.000Z
3rdparty/libbitcoin/src/wallet/parse_encrypted_keys/parse_encrypted_token.hpp
anatolse/beam
43c4ce0011598641d9cdeffbfdee66fde0a49730
[ "Apache-2.0" ]
1,824
2018-11-08T11:32:58.000Z
2022-03-28T12:33:03.000Z
3rdparty/libbitcoin/src/wallet/parse_encrypted_keys/parse_encrypted_token.hpp
anatolse/beam
43c4ce0011598641d9cdeffbfdee66fde0a49730
[ "Apache-2.0" ]
216
2018-11-12T08:07:21.000Z
2022-03-08T20:50:19.000Z
/** * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the Lic...
29.444444
78
0.754717
anatolse
9bdcc6ad85a2d4c4458607b1334656de99e7d831
5,669
cpp
C++
collection/cp/bcw_codebook-master/Contest/WF2015/pK.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/bcw_codebook-master/Contest/WF2015/pK.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/bcw_codebook-master/Contest/WF2015/pK.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
//bcw0x1bd2 {{{ #include<bits/stdc++.h> #include<unistd.h> using namespace std; #define F first #define S second #define MP make_pair #define PB push_back #define IOS ios_base::sync_with_stdio(0); cin.tie(0); #define SZ(x) ((int)((x).size())) #define ALL(x) begin(x),end(x) #define REP(i,x) for (int i=0; i<(x); i++) #de...
21.31203
101
0.464809
daemonslayer
9bde8333c5f1bcfddb90c6feb34659321059c324
8,764
cpp
C++
VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetworkDetailsHost.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetworkDetailsHost.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetworkDetailsHost.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/* $Id: UIGlobalSettingsNetworkDetailsHost.cpp $ */ /** @file * VBox Qt GUI - UIGlobalSettingsNetworkDetailsHost class implementation. */ /* * Copyright (C) 2009-2013 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free...
40.387097
141
0.706527
egraba
9bde84025f0eecd88e7dc2fa1870e5a5027ebafe
1,991
cpp
C++
src/my_itemcorner.cpp
gakarak/AirBaseMarking
29f446392bce2882f8f583d9290f6c437d627867
[ "Apache-2.0" ]
1
2017-04-11T08:32:20.000Z
2017-04-11T08:32:20.000Z
src/my_itemcorner.cpp
gakarak/AirBaseMarking
29f446392bce2882f8f583d9290f6c437d627867
[ "Apache-2.0" ]
1
2017-04-18T13:54:50.000Z
2017-04-20T18:20:13.000Z
src/my_itemcorner.cpp
gakarak/AirBaseMarking
29f446392bce2882f8f583d9290f6c437d627867
[ "Apache-2.0" ]
null
null
null
#include "my_itemcorner.h" #include <QDebug> ItemCorner::ItemCorner(QGraphicsItem *parent) :QGraphicsItem(parent) { this->isAutoSize = false; this->radus = 2.0; this->penDefault = QPen(Qt::red); this->penSelected = QPen(Qt::green); this->penDefault.setWidthF(0.5); this->penSelected.se...
25.857143
98
0.629834
gakarak
9be246f01f7cb05991c9745c0da67d2a685e30d5
2,583
cpp
C++
codelib/data_structs/segtree_iter_lazy.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/data_structs/segtree_iter_lazy.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
codelib/data_structs/segtree_iter_lazy.cpp
TissueRoll/admu-progvar-notebook
efd1c48872d40aeabe2b03af7b986bb831c062b1
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <cassert> #include <ctime> using namespace std; const int MAX_N = 100001; int N; long long ar[MAX_N], vals[4*MAX_N], temp_vals[4*MAX_N]; void build(int idx, int lo, int hi) { temp_vals[idx] = 0; if (lo == hi) { vals[idx] = ar[lo]; } else { int k = (lo + h...
20.664
76
0.498258
TissueRoll
9be4dd1be7b97424e4532fe0777f83afd84bb229
4,594
cpp
C++
11_learning_materials/stanford_self_driving_car/perception/velodyne/src/vlf_cut.cpp
EatAllBugs/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
14
2021-09-01T14:25:45.000Z
2022-02-21T08:49:57.000Z
11_learning_materials/stanford_self_driving_car/perception/velodyne/src/vlf_cut.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
null
null
null
11_learning_materials/stanford_self_driving_car/perception/velodyne/src/vlf_cut.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
3
2021-10-10T00:58:29.000Z
2022-01-23T13:16:09.000Z
/******************************************************** Stanford Driving Software Copyright (c) 2011 Stanford University 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...
29.831169
84
0.681541
EatAllBugs
9be874d7c83536bdfa56a172cacf717483f9d4f5
9,392
cpp
C++
processNFC_serial.cpp
stu314159/pyNFC
635777e3ca8532543ca09bb03c74d4c833ac70bd
[ "MIT" ]
null
null
null
processNFC_serial.cpp
stu314159/pyNFC
635777e3ca8532543ca09bb03c74d4c833ac70bd
[ "MIT" ]
null
null
null
processNFC_serial.cpp
stu314159/pyNFC
635777e3ca8532543ca09bb03c74d4c833ac70bd
[ "MIT" ]
1
2018-07-05T19:44:57.000Z
2018-07-05T19:44:57.000Z
#include <iostream> #include <string> #include <fstream> #include <math.h> #include <sstream> #include "H5Cpp.h" using namespace H5; // Constants const H5std_string PRESSURE("pressure"); const H5std_string X_VELO("x_velo"); const H5std_string Y_VELO("y_velo"); const H5std_string Z_VELO("z_velo"); const H5std_string VE...
30.102564
136
0.604025
stu314159
9be87847f5cf14d204ec396d76a4b6ecf0f4b26a
13,451
hpp
C++
jetsoncar_driver/libs/utils/utils.hpp
mindThomas/JetsonCar-ROS
eb171e9fd1515c6172f80daaa410e57d877d8639
[ "MIT" ]
5
2019-11-13T21:52:25.000Z
2020-10-20T12:24:52.000Z
jetsoncar_driver/libs/utils/utils.hpp
mindThomas/JetsonCar-ROS
eb171e9fd1515c6172f80daaa410e57d877d8639
[ "MIT" ]
null
null
null
jetsoncar_driver/libs/utils/utils.hpp
mindThomas/JetsonCar-ROS
eb171e9fd1515c6172f80daaa410e57d877d8639
[ "MIT" ]
3
2020-03-04T02:30:27.000Z
2020-09-24T02:31:43.000Z
/* Copyright (C) 2018-2020 Thomas Jespersen, TKJ Electronics. All rights reserved. * * This program is free software: you can redistribute it and/or modify it * under the terms of the MIT License * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the impli...
25.817658
113
0.594603
mindThomas
9bf0ea0f962b1a1d8e26f8bb12f8ad6f70f033a2
480
cpp
C++
source/Texture.cpp
xzrunner/gum
b9170ae8b65e8686766dd57c01a48694722eb999
[ "MIT" ]
null
null
null
source/Texture.cpp
xzrunner/gum
b9170ae8b65e8686766dd57c01a48694722eb999
[ "MIT" ]
null
null
null
source/Texture.cpp
xzrunner/gum
b9170ae8b65e8686766dd57c01a48694722eb999
[ "MIT" ]
null
null
null
#include "gum/Texture.h" #include "gum/RenderContext.h" #include <unirender/RenderContext.h> #include <unirender/Blackboard.h> #include <shaderlab/Blackboard.h> #include <shaderlab/ShaderMgr.h> #include <shaderlab/RenderContext.h> namespace gum { Texture::Texture(uint16_t w, uint16_t h, uint32_t id, int format) : p...
19.2
65
0.73125
xzrunner
9bf2c1dc289b9f53c7fd6de5b57655fc9ff974ce
6,114
cc
C++
src/partition.cc
felix-halim/indexing-benchmark
f6325aff444c7bb0403588195cca83d767ca0144
[ "MIT" ]
5
2017-07-27T14:00:03.000Z
2017-11-29T05:09:58.000Z
src/partition.cc
felix-halim/indexing-benchmark
f6325aff444c7bb0403588195cca83d767ca0144
[ "MIT" ]
5
2017-06-15T06:58:18.000Z
2017-06-16T08:02:45.000Z
src/partition.cc
felix-halim/c-tree
f6325aff444c7bb0403588195cca83d767ca0144
[ "MIT" ]
null
null
null
/* To run, go to the root folder and execute: make partition */ #include <cassert> #include <cstdio> #include <algorithm> #include <functional> #include <vector> #include "random.h" #include "time_it.h" #define BSIZE (1 << 12) #define block_size 64 static long long arr[BSIZE]; int std_partition(long long p) { ...
25.369295
80
0.519136
felix-halim
9bfc180005351d9c7ea11313dc5d735fc3bdce1d
55
cpp
C++
samples/pmm/mysticLit_context.cpp
naeioi/octoon
e32152fe4730fa609def41114613dbe067d31276
[ "MIT" ]
null
null
null
samples/pmm/mysticLit_context.cpp
naeioi/octoon
e32152fe4730fa609def41114613dbe067d31276
[ "MIT" ]
null
null
null
samples/pmm/mysticLit_context.cpp
naeioi/octoon
e32152fe4730fa609def41114613dbe067d31276
[ "MIT" ]
null
null
null
#include "mysticLit_context.h" namespace MysticLit { }
11
30
0.781818
naeioi
9bfc29e12b3824675d3a18403ff8fd694dffe627
957
cpp
C++
FrameLib_Framework/FrameLib_Global.cpp
AlexHarker/FrameLib
04b9882561c83d3240c6cb07f14861244d1d6272
[ "BSD-3-Clause" ]
33
2017-08-13T00:02:41.000Z
2022-03-10T23:02:17.000Z
FrameLib_Framework/FrameLib_Global.cpp
AlexHarker/FrameLib
04b9882561c83d3240c6cb07f14861244d1d6272
[ "BSD-3-Clause" ]
60
2018-02-01T23:33:36.000Z
2022-03-23T23:25:13.000Z
FrameLib_Framework/FrameLib_Global.cpp
AlexHarker/FrameLib
04b9882561c83d3240c6cb07f14861244d1d6272
[ "BSD-3-Clause" ]
8
2018-02-01T20:18:46.000Z
2020-07-03T12:53:04.000Z
#include "FrameLib_Global.h" // The Main Global Class // Retrieve and release the global object FrameLib_Global *FrameLib_Global::get(FrameLib_Global **global, FrameLib_Thread::Priorities priorities, FrameLib_ErrorReporter::HostNotifier *notifier) { if (!*global) *global = new FrameLib_Global(prioritie...
21.266667
152
0.670846
AlexHarker
5000b217366934b4aa8ae73b251ff6f122af2f33
2,308
cpp
C++
tests/models/Ising2dTest.cpp
dtoconnor/quantum-monte-carlo-methods
c599ec010954c7c4f8ad62076e408a70b8ff2f13
[ "MIT" ]
15
2018-11-15T00:51:51.000Z
2021-11-17T06:26:14.000Z
tests/models/Ising2dTest.cpp
dtoconnor/quantum-monte-carlo-methods
c599ec010954c7c4f8ad62076e408a70b8ff2f13
[ "MIT" ]
null
null
null
tests/models/Ising2dTest.cpp
dtoconnor/quantum-monte-carlo-methods
c599ec010954c7c4f8ad62076e408a70b8ff2f13
[ "MIT" ]
4
2019-01-29T11:56:22.000Z
2021-11-24T15:19:54.000Z
#include <QMC-methods.h> #include <catch2/catch.hpp> using namespace QMCm; TEST_CASE("Ising2d Ising2d()", "[ising]") { Ising2d ising; REQUIRE(ising.nodes.size() == 0); } TEST_CASE("Ising2d generate()", "[ising]") { Ising2d ising; ising.generate(); for (int i = 0; i < ising.nodes.size(); i++) for (int j ...
30.368421
96
0.607019
dtoconnor
5001779936468270aaf05dfcb32a5bfa0252a856
1,057
cpp
C++
c-and-cpp/Community-Course-Project-16.06/Community-Project/ProjectExamples.cpp
dkalinkov/fmi-projects
367cb50ba57b00c604380a984e71ede003ef027b
[ "MIT" ]
null
null
null
c-and-cpp/Community-Course-Project-16.06/Community-Project/ProjectExamples.cpp
dkalinkov/fmi-projects
367cb50ba57b00c604380a984e71ede003ef027b
[ "MIT" ]
null
null
null
c-and-cpp/Community-Course-Project-16.06/Community-Project/ProjectExamples.cpp
dkalinkov/fmi-projects
367cb50ba57b00c604380a984e71ede003ef027b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <stdlib.h> #include "Person.h" #include "Community.h" using std::cout; using std::endl; using std::vector; void writeInFile(char*, const Community&); int main() { try { char fileName[] = "com-info.txt"; Person pesho("pesho", "8578213741", "u tqh si jivee", Bak...
19.574074
68
0.640492
dkalinkov
50043ab9a810bf087e721e5d99fa32b777afd037
7,425
cxx
C++
src/sprokit/pipeline/modules.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
14
2015-05-02T17:06:34.000Z
2019-06-20T10:10:20.000Z
src/sprokit/pipeline/modules.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
3
2015-02-11T20:09:24.000Z
2018-09-04T21:45:56.000Z
src/sprokit/pipeline/modules.cxx
linus-sherrill/sprokit
6b3f6cf87f625904e9061a447bd16f96800fef77
[ "BSD-3-Clause" ]
9
2015-08-19T04:48:16.000Z
2021-02-15T14:28:06.000Z
/*ckwg +29 * Copyright 2011-2013 by Kitware, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this li...
26.805054
96
0.719461
linus-sherrill
500636302c85a9233df03816677b3380040c0e8a
6,303
cpp
C++
Eleusis_sln/Eleusis/05_animation/Easing.cpp
bognikol/Eleusis
ee518ede31893689eb6d3c5539e0bd757aeb0294
[ "MIT" ]
4
2019-05-31T19:55:23.000Z
2020-10-27T10:00:32.000Z
Eleusis_sln/Eleusis/05_animation/Easing.cpp
bognikol/Eleusis
ee518ede31893689eb6d3c5539e0bd757aeb0294
[ "MIT" ]
null
null
null
Eleusis_sln/Eleusis/05_animation/Easing.cpp
bognikol/Eleusis
ee518ede31893689eb6d3c5539e0bd757aeb0294
[ "MIT" ]
3
2019-04-29T14:09:38.000Z
2020-10-27T10:00:33.000Z
#include "Easing.h" #include <functional> #include <cmath> using namespace Eleusis; using namespace std; static double _const_pi = 3.14159265358979323846; /* Implementation of easing functions are copied from this library: https://github.com/AndrewRayCode/easing-utils.git */ const function<double(double)> Easing::L...
27.889381
112
0.591782
bognikol
5008e6e941e54c3abdde6c2bf90f08388ba15034
1,221
hpp
C++
include/model/MachineLearningModel.hpp
fdbresearch/FBENCH
9f6c4ea79448649a74d2136ead93e4e5008a33a5
[ "Apache-2.0" ]
3
2019-02-28T11:29:45.000Z
2021-03-24T23:22:05.000Z
include/model/MachineLearningModel.hpp
fdbresearch/FBENCH
9f6c4ea79448649a74d2136ead93e4e5008a33a5
[ "Apache-2.0" ]
null
null
null
include/model/MachineLearningModel.hpp
fdbresearch/FBENCH
9f6c4ea79448649a74d2136ead93e4e5008a33a5
[ "Apache-2.0" ]
1
2021-03-19T02:56:16.000Z
2021-03-19T02:56:16.000Z
//===----------------------------------------------------------------------===// // // FBench // // https://fdbresearch.github.io/ // // Copyright (c) 2019, FDB Research Group, University of Oxford // //===----------------------------------------------------------------------===// #ifndef INCLUDE_ML_MACHINELEARNINGMO...
18.784615
83
0.580672
fdbresearch
500a7b41ca7d3aa352990740624435d6420eb49b
2,429
cc
C++
Codeforces/361 Division 2/Problem D/D.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/361 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/361 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include <bits/stdc++.h> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define se second #define pb push_back #define mp make_pair #define foreach(it, v) for(__typeof((v).begin()) it=(v).begin(); it != (v).end(); ++it) #define meta __FUN...
22.081818
97
0.541375
VastoLorde95
500f17ccdbad5b03f50c4843c501dfdd384aeaca
693
hpp
C++
phoenix/cocoa/widget/combo-button.hpp
vgmtool/vgm2pre
f4f917df35d531512292541234a5c1722b8af96f
[ "MIT" ]
21
2015-04-13T03:07:12.000Z
2021-11-20T00:27:00.000Z
phoenix/cocoa/widget/combo-button.hpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
2
2015-10-06T14:59:48.000Z
2022-01-27T08:57:57.000Z
phoenix/cocoa/widget/combo-button.hpp
apollolux/hello-phoenix
71510b5f329804c525a9576fb0367fe8ab2487cd
[ "MIT" ]
2
2021-11-19T08:36:57.000Z
2022-03-04T16:03:16.000Z
@interface CocoaComboButton : NSPopUpButton { @public phoenix::ComboButton* comboButton; } -(id) initWith:(phoenix::ComboButton&)comboButton; -(IBAction) activate:(id)sender; @end namespace phoenix { struct pComboButton : public pWidget { ComboButton& comboButton; CocoaComboButton* cocoaComboButton = nullptr; ...
23.896552
92
0.75469
vgmtool
500f49a9992b20b00f94995e709a18be163f1ba7
70,512
cpp
C++
build/linux-build/Sources/src/zpp_nape/constraint/ZPP_PivotJoint.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/constraint/ZPP_PivotJoint.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/constraint/ZPP_PivotJoint.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.0-preview.5 #include <hxcpp.h> #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif #ifndef INCLUDED_nape_Config #include <hxinc/nape/Config.h> #endif #ifndef INCLUDED_nape_constraint_Constraint #include <hxinc/nape/constraint/Constraint.h> #endif #ifn...
43.047619
238
0.62015
HedgehogFog
500fcec984e3bca1861ddc0348da6b4b40e40b44
1,349
cpp
C++
src/linad99/dvect8.cpp
wStockhausen/admb
876ec704ae974d0ed3bcc329f243dbc401ad0e6d
[ "BSD-3-Clause" ]
79
2015-01-16T14:14:22.000Z
2022-01-24T06:28:15.000Z
src/linad99/dvect8.cpp
wStockhausen/admb
876ec704ae974d0ed3bcc329f243dbc401ad0e6d
[ "BSD-3-Clause" ]
172
2015-01-21T01:53:57.000Z
2022-03-29T19:57:31.000Z
src/linad99/dvect8.cpp
wStockhausen/admb
876ec704ae974d0ed3bcc329f243dbc401ad0e6d
[ "BSD-3-Clause" ]
22
2015-01-15T18:11:54.000Z
2022-01-11T21:47:51.000Z
/* * $Id$ * * Author: David Fournier * Copyright (c) 2008-2012 Regents of the University of California */ /** * \file * Description not yet available. */ #include "fvar.hpp" #ifndef OPT_LIB #include <cassert> #include <climits> #endif /** * Description not yet available. * \param */ dvector::dvector(co...
16.8625
66
0.588584
wStockhausen
501468204233322d8c55fd850f6924e6e22017f5
29,849
hpp
C++
hpx/runtime/components/server/preprocessed/runtime_support_implementations_5.hpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
hpx/runtime/components/server/preprocessed/runtime_support_implementations_5.hpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
hpx/runtime/components/server/preprocessed/runtime_support_implementations_5.hpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2013 Hartmut Kaiser // Copyright (c) 2012-2013 Thomas Heller // // 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) // This file has been automatically generated using the Boost.Wave tool. // Do n...
42.100141
149
0.564341
Titzi90
5014e10f0fc6e79fb1759eaabb4a9a77e49dafdc
435
hpp
C++
include/enemy.hpp
fpeterek/SSPU-ukazka-2
f51cbfb445cfefe0b78a9f554bab3e85cc4df088
[ "MIT" ]
null
null
null
include/enemy.hpp
fpeterek/SSPU-ukazka-2
f51cbfb445cfefe0b78a9f554bab3e85cc4df088
[ "MIT" ]
null
null
null
include/enemy.hpp
fpeterek/SSPU-ukazka-2
f51cbfb445cfefe0b78a9f554bab3e85cc4df088
[ "MIT" ]
null
null
null
// // Created by Peterek, Filip on 16/09/2019. // #ifndef SSPU_UKAZKA_2_ENEMY_HPP #define SSPU_UKAZKA_2_ENEMY_HPP #include "aircraft.hpp" class Enemy : public Aircraft { static const int64_t maxHealth; public: void update() override; Enemy(const sf::Texture & texture, const sf::Vector2f & pos, float ...
17.4
77
0.714943
fpeterek
5016487a04e535553fb0fcd059cfc77f97a18abe
1,275
cpp
C++
dmoj/tsoc/15c1#5-giant-ants.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
dmoj/tsoc/15c1#5-giant-ants.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
dmoj/tsoc/15c1#5-giant-ants.cpp
ruar18/competitive-programming
f264675fab92bf27dce184dd65eb81e302381f96
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> using namespace std; bool adj[101][101], vis[101]; int n, m, w, x, y, curw, ants[101], q[101], f, b, dists[101]; void a_bfs(int disp){ f=b=0; q[++b]=disp; vis[disp]=1; ants[disp]=0; while(f!=b){ curw=q[++f]; for(int i=1;i<=n;i++){ if...
22.368421
61
0.410196
ruar18
501bd61115d03861a468c2f3e5a8882e1ac600df
3,341
cpp
C++
DFNs/Executors/PointCloudAssembly/PointCloudAssemblyExecutor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
DFNs/Executors/PointCloudAssembly/PointCloudAssemblyExecutor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
DFNs/Executors/PointCloudAssembly/PointCloudAssemblyExecutor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/** * @addtogroup DFNs * @{ */ #include "PointCloudAssemblyExecutor.hpp" #include <Errors/Assert.hpp> using namespace PointCloudWrapper; using namespace PoseWrapper; namespace CDFF { namespace DFN { namespace Executors { void Execute(PointCloudAssemblyInterface* dfn, PointCloudConstPtr inputFirstCloud, PointClou...
38.848837
161
0.801856
H2020-InFuse
501c53ca45814a4a77fed3515e7e673b97c1d46f
946
cpp
C++
src/10-6-1-63.cpp
XuZhixuan/cpp_homework
31bcfd9a8df4df3af354240dfa2d72ed3b62057e
[ "MIT" ]
3
2019-10-20T17:22:17.000Z
2021-01-13T04:32:55.000Z
src/10-6-1-63.cpp
XuZhixuan/cpp_homework
31bcfd9a8df4df3af354240dfa2d72ed3b62057e
[ "MIT" ]
null
null
null
src/10-6-1-63.cpp
XuZhixuan/cpp_homework
31bcfd9a8df4df3af354240dfa2d72ed3b62057e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { char* input = new char[100]; cin.getline(input, 99); int total_count = 0; int lower_count = 0; int upper_count = 0; int digit_count = 0; int other_count = 0; char *i; for (i = input; *i != '\0'; i++) {...
17.518519
37
0.39852
XuZhixuan
501f4233dcde1397cabe9612e0263a254128a2b8
638
cpp
C++
recursion/backtracking/permutations.cpp
Zim95/cpp_proj
b73781be17e818fc778320a7498dc4d021b92ffa
[ "MIT" ]
2
2019-04-22T11:04:59.000Z
2021-03-01T18:32:25.000Z
recursion/backtracking/permutations.cpp
Zim95/cpp_proj
b73781be17e818fc778320a7498dc4d021b92ffa
[ "MIT" ]
null
null
null
recursion/backtracking/permutations.cpp
Zim95/cpp_proj
b73781be17e818fc778320a7498dc4d021b92ffa
[ "MIT" ]
1
2019-04-18T14:04:38.000Z
2019-04-18T14:04:38.000Z
/* PERMUTATIONS: ============= Main string: "abc" Find all options ------------------ abc acb cab cba abc acb */ #include<iostream> using namespace std; void permutations(char *ip, int i) { if(ip[i]=='\0'){ cout << ip << endl; return; } for(int j...
17.722222
65
0.479624
Zim95
5024831d3d161954153b67e2b1a317c37d7d0b5f
603
cpp
C++
Difficulty 1000/Absent_Remainder.cpp
desmondweh29/A-Problem-A-Day
135b21d21d74e6c716c9f7e36e8fa3a216f02727
[ "MIT" ]
null
null
null
Difficulty 1000/Absent_Remainder.cpp
desmondweh29/A-Problem-A-Day
135b21d21d74e6c716c9f7e36e8fa3a216f02727
[ "MIT" ]
null
null
null
Difficulty 1000/Absent_Remainder.cpp
desmondweh29/A-Problem-A-Day
135b21d21d74e6c716c9f7e36e8fa3a216f02727
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // Question: https://codeforces.com/problemset/problem/1613/B void solve() { int n; cin >> n; vector<long long> a(n); for (int i = 0; i < n; i++) { cin >> a[i]; } sort(a.begin(), a.end()); long long limit = n / 2; long long cou...
15.461538
61
0.451078
desmondweh29
5024a03d92668474775f6f45f511f21cb60759c3
2,953
cc
C++
source/TaskManager.cc
carterbox/PTL
2f20988fc6cbe25a0bd3fd1982cfebd5f6e0193a
[ "MIT" ]
null
null
null
source/TaskManager.cc
carterbox/PTL
2f20988fc6cbe25a0bd3fd1982cfebd5f6e0193a
[ "MIT" ]
null
null
null
source/TaskManager.cc
carterbox/PTL
2f20988fc6cbe25a0bd3fd1982cfebd5f6e0193a
[ "MIT" ]
null
null
null
// // MIT License // Copyright (c) 2018 Jonathan R. Madsen // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, mod...
34.741176
90
0.53471
carterbox
50255f96f50978d84ae0db8e6c37c107df54d281
6,154
cpp
C++
src/json_parser.cpp
chadvoegele/ledger-rest
23a920a57964c9f7e987c5d2d9f72eba3dc89c1e
[ "BSD-3-Clause" ]
null
null
null
src/json_parser.cpp
chadvoegele/ledger-rest
23a920a57964c9f7e987c5d2d9f72eba3dc89c1e
[ "BSD-3-Clause" ]
null
null
null
src/json_parser.cpp
chadvoegele/ledger-rest
23a920a57964c9f7e987c5d2d9f72eba3dc89c1e
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2015-2020 Chad Voegele // 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 condi...
26.640693
85
0.612447
chadvoegele
5027a85676bf634ff79589fabe132e3f71e9eacf
2,021
hpp
C++
NCGB/Compile/src/ByAdmissible.hpp
mcdeoliveira/NC
54b2a81ebda9e5260328f88f83f56fe8cf472ac3
[ "BSD-3-Clause" ]
103
2016-09-21T06:01:23.000Z
2022-03-27T06:52:10.000Z
NCGB/Compile/src/ByAdmissible.hpp
albinjames/NC
157a55458931a18dd1f42478872c9df0de5cc450
[ "BSD-3-Clause" ]
11
2017-03-27T13:11:42.000Z
2022-03-08T13:46:14.000Z
NCGB/Compile/src/ByAdmissible.hpp
albinjames/NC
157a55458931a18dd1f42478872c9df0de5cc450
[ "BSD-3-Clause" ]
21
2017-06-23T09:01:21.000Z
2022-02-18T06:24:00.000Z
// (c) Mark Stankus 1999 // ByAdmissible.hpp #ifndef INCLUDED_BYADMISSIBLE_H #define INCLUDED_BYADMISSIBLE_H #include "AdmissibleOrder.hpp" #include "Choice.hpp" class GroebnerRule; class Polynomial; #include "Debug1.hpp" #include "MyOstream.hpp" class ByAdmissible { const AdmissibleOrder * d_order; ...
30.164179
72
0.594755
mcdeoliveira
df2250eb838bca9df50a05972285f4e81f4b63a9
1,527
cpp
C++
new_software/microcontroller/RetractMode.cpp
feklee/stm
ad08964db80819fb3b0415d3840178a077554c94
[ "WTFPL" ]
10
2016-06-26T14:19:38.000Z
2021-11-17T11:40:21.000Z
new_software/microcontroller/RetractMode.cpp
feklee/stm
ad08964db80819fb3b0415d3840178a077554c94
[ "WTFPL" ]
4
2015-11-17T11:46:52.000Z
2016-01-18T21:33:38.000Z
new_software/microcontroller/RetractMode.cpp
feklee/stm
ad08964db80819fb3b0415d3840178a077554c94
[ "WTFPL" ]
5
2017-06-01T00:33:45.000Z
2020-12-31T23:19:10.000Z
#include <Arduino.h> #include "util.hpp" #include "RetractMode.hpp" RetractMode::RetractMode(Motor &motor, BiasVoltage &biasVoltage, Current &current, Piezo &piezo, TipPositionLog &tipPositionLog) : motor_(motor), biasVoltage_(biasVoltage), current_(current), piezo...
22.130435
68
0.67649
feklee
df22633e656698b53985442f5866bf137c77baa9
10,578
cpp
C++
src/utils/inet_pton.cpp
neheb/npupnp
d00aaf2c5af8b9453cda32f9ed3981d49ef1d01c
[ "BSD-3-Clause" ]
null
null
null
src/utils/inet_pton.cpp
neheb/npupnp
d00aaf2c5af8b9453cda32f9ed3981d49ef1d01c
[ "BSD-3-Clause" ]
null
null
null
src/utils/inet_pton.cpp
neheb/npupnp
d00aaf2c5af8b9453cda32f9ed3981d49ef1d01c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 1996-1999 by Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS"...
29.383333
80
0.531386
neheb
df24ce1bdfa1b5f2653f883ef2207256a13be241
15,857
cpp
C++
kernel/drivers/tty.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
207
2020-05-27T21:57:28.000Z
2022-02-26T15:17:27.000Z
kernel/drivers/tty.cpp
ethan4984/crepOS
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
3
2020-07-26T18:14:05.000Z
2020-12-09T05:32:07.000Z
kernel/drivers/tty.cpp
ethan4984/rock
751b9af1009b622bedf384c1f80970b333c436c3
[ "BSD-2-Clause" ]
17
2020-07-05T19:08:48.000Z
2021-10-13T12:30:13.000Z
#include <drivers/tty.hpp> #include <mm/vmm.hpp> #include <fs/vfs.hpp> #include <debug.hpp> #include <fs/dev.hpp> namespace tty { static size_t tty_cnt = 0; static uint32_t ansi_colours[] = { 0, // black 0xff3333, // red 0x46ff33, // green 0xa52a2a, // brown 0x3f33ff, // blue 0xfc33ff, // mag...
27.198971
178
0.517185
ethan4984
df25f06d5f5775b3fd6f6bdf2b4c395e10a755bf
11,955
cc
C++
tf_opt/tensor/window_test.cc
google-research/tf-opt
0704531e1cd85b31e5e07051767f6f9608d090c4
[ "Apache-2.0" ]
23
2020-10-22T02:35:17.000Z
2022-03-09T22:01:54.000Z
tf_opt/tensor/window_test.cc
google-research/tf-opt
0704531e1cd85b31e5e07051767f6f9608d090c4
[ "Apache-2.0" ]
null
null
null
tf_opt/tensor/window_test.cc
google-research/tf-opt
0704531e1cd85b31e5e07051767f6f9608d090c4
[ "Apache-2.0" ]
6
2021-01-09T20:01:59.000Z
2022-01-16T12:58:32.000Z
// Copyright 2021 The tf.opt Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
33.771186
80
0.706399
google-research
df26ea23cbbb1d9c7fda9c77329756588040320c
650
hpp
C++
source/ui/rect.hpp
Stephouuu/Epitech-Bomberman
8650071a6a21ba2e0606e4d8e38794de37bdf39f
[ "Unlicense" ]
null
null
null
source/ui/rect.hpp
Stephouuu/Epitech-Bomberman
8650071a6a21ba2e0606e4d8e38794de37bdf39f
[ "Unlicense" ]
null
null
null
source/ui/rect.hpp
Stephouuu/Epitech-Bomberman
8650071a6a21ba2e0606e4d8e38794de37bdf39f
[ "Unlicense" ]
null
null
null
/* ** rect.hpp for UI in /home/escoba_j/class ** ** Made by Joffrey Escobar ** Login <escoba_j@epitech.net> ** ** Started on Sat May 21 01:35:13 2016 Joffrey Escobar */ #ifndef _RECT_HPP_ # define _RECT_HPP_ #include "IObject.hpp" class rect : public IObject { public: rect(const std::string& name); rect(cons...
20.967742
84
0.621538
Stephouuu
df2f1dbf8b91de4d5edef744bab9a42d322ff1e1
3,639
cpp
C++
Game/src/game/BasicTower.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
3
2019-10-04T19:44:44.000Z
2021-07-27T15:59:39.000Z
Game/src/game/BasicTower.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
1
2019-07-20T05:36:31.000Z
2019-07-20T22:22:49.000Z
Game/src/game/BasicTower.cpp
aminere/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
null
null
null
/* Amine Rehioui Created: March 3rd 2013 */ #include "ShootTest.h" #include "BasicTower.h" #include "MeshEntity.h" namespace shoot { DEFINE_OBJECT(BasicTower); DEFINE_OBJECT(BasicTowerSettings); //! constructor BasicTowerSettings::BasicTowerSettings() : m_fAimDuration(1.5f) , m_fAimOffset(2.0f) , m_fF...
27.360902
103
0.720802
franticsoftware
df4052eda75208004c8e100d92d520f0212e544a
2,011
cpp
C++
ZOJ/ZOJ-1610.cpp
zhchuu/OJ-Solutions
09e1c18104db35d7c6919257ebaa0f170f54796c
[ "MIT" ]
null
null
null
ZOJ/ZOJ-1610.cpp
zhchuu/OJ-Solutions
09e1c18104db35d7c6919257ebaa0f170f54796c
[ "MIT" ]
null
null
null
ZOJ/ZOJ-1610.cpp
zhchuu/OJ-Solutions
09e1c18104db35d7c6919257ebaa0f170f54796c
[ "MIT" ]
null
null
null
/* *zoj1610 *Print a blank line after every dataset */ #include<stdio.h> #include<memory.h> //using namespace std; const int maxn = 8000+5; struct Node { int l, r; int key;//-2 has branches,-1 no color and no branches }tree[5*maxn]; int color[maxn]; void initTree(int i, int a, int b) { tree[i].l = a; tree[i].r =...
19.152381
66
0.525609
zhchuu
df417c6a71237a15d76f83665a718a515574f51e
614
hpp
C++
tests/initializer_list/initializer_list_fwd.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
11
2021-03-15T07:06:21.000Z
2021-09-27T13:54:25.000Z
tests/initializer_list/initializer_list_fwd.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
null
null
null
tests/initializer_list/initializer_list_fwd.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
1
2021-06-24T10:46:46.000Z
2021-06-24T10:46:46.000Z
#pragma once #include <stdfwd/initializer_list> //------------------------------------------------------------------------------ #ifdef STDFWD_IS_CPP11 #define STDFWD_IS_INITIALIZER_LIST #endif //------------------------------------------------------------------------------ namespace initializer_list_tests { //-...
19.806452
80
0.359935
olegpublicprofile
df43c47d59ad46553c746931455c9d2dbc8996cb
9,544
cpp
C++
libalf/src/parser.cpp
zkSNARK/alf
fb428e43ee4bfc99ba326fc3fe0e9179870e2c2b
[ "MIT" ]
null
null
null
libalf/src/parser.cpp
zkSNARK/alf
fb428e43ee4bfc99ba326fc3fe0e9179870e2c2b
[ "MIT" ]
8
2020-03-29T22:32:45.000Z
2020-04-16T06:44:42.000Z
libalf/src/parser.cpp
zkSNARK/alf
fb428e43ee4bfc99ba326fc3fe0e9179870e2c2b
[ "MIT" ]
null
null
null
// // Created by Christopher Goebel on 3/21/20. // #include "parser.h" #include <filesystem> #include <string> #include <vector> #include <stack> #include <cstring> #include <stdexcept> namespace { auto is_quote(char c) -> bool { return c == '\'' or c == '"'; } auto make_token(std::string_view token, b...
31.919732
114
0.575231
zkSNARK
df483a65372b07fbd3cb529099db04db317e2654
832
hpp
C++
src/systems/physics/resources/vertexbuffer.hpp
vi3itor/Blunted2
318af452e51174a3a4634f3fe19b314385838992
[ "Unlicense" ]
56
2020-07-22T22:11:06.000Z
2022-03-09T08:11:43.000Z
GameplayFootball/src/systems/physics/resources/vertexbuffer.hpp
ElsevierSoftwareX/SOFTX-D-20-00016
48c28adb72aa167a251636bc92111b3c43c0be67
[ "MIT" ]
9
2021-04-22T07:06:25.000Z
2022-01-22T12:54:52.000Z
GameplayFootball/src/systems/physics/resources/vertexbuffer.hpp
ElsevierSoftwareX/SOFTX-D-20-00016
48c28adb72aa167a251636bc92111b3c43c0be67
[ "MIT" ]
20
2017-11-07T16:52:32.000Z
2022-01-25T02:42:48.000Z
// written by bastiaan konings schuiling 2008 - 2014 // this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important. // i do not offer support, so don't ask. to be used for inspiration :) #ifndef _HPP_SYSTEM_PHYSICS_RESOURCE_VERTEXBUFFER #define _HPP...
21.333333
132
0.715144
vi3itor
df48e8bc16aeb8d50a25485b7f43cec9c8a9460f
21,234
cpp
C++
bob/learn/linear/lda.cpp
bioidiap/bob.learn.linear
111323c3d0a7d1f0f2249ef95c18a3c0dd52be89
[ "BSD-3-Clause" ]
4
2015-10-14T08:06:46.000Z
2021-11-15T08:02:13.000Z
bob/learn/linear/lda.cpp
bioidiap/bob.learn.linear
111323c3d0a7d1f0f2249ef95c18a3c0dd52be89
[ "BSD-3-Clause" ]
4
2015-03-18T05:27:50.000Z
2015-11-25T15:30:27.000Z
bob/learn/linear/lda.cpp
bioidiap/bob.learn.linear
111323c3d0a7d1f0f2249ef95c18a3c0dd52be89
[ "BSD-3-Clause" ]
6
2015-07-17T12:58:53.000Z
2019-01-09T14:30:27.000Z
/** * @author Andre Anjos <andre.anjos@idiap.ch> * @date Thu 16 Jan 2014 17:09:04 CET * * @brief Python bindings to LDA trainers * * Copyright (C) 2011-2014 Idiap Research Institute, Martigny, Switzerland */ #define BOB_LEARN_LINEAR_MODULE #include <bob.blitz/cppapi.h> #include <bob.blitz/cleanup.h> #include <b...
45.468951
399
0.72285
bioidiap
df4b492212be9b36e3d2d468201e4bc8a5c3c68c
1,386
cpp
C++
source/src/G3DCam/g3dcam.cpp
hlfstr/gdutil
eb1db9a0cb381bd9c3ef7b359c1413655f0dddec
[ "MIT" ]
null
null
null
source/src/G3DCam/g3dcam.cpp
hlfstr/gdutil
eb1db9a0cb381bd9c3ef7b359c1413655f0dddec
[ "MIT" ]
null
null
null
source/src/G3DCam/g3dcam.cpp
hlfstr/gdutil
eb1db9a0cb381bd9c3ef7b359c1413655f0dddec
[ "MIT" ]
null
null
null
#include "g3dcam.hpp" namespace godot { GDREGISTER(G3DCam) G3DCam::~G3DCam() {} void G3DCam::_register_methods() { register_property<G3DCam, real_t>("Movement/Speed", &G3DCam::speed, 10.0); register_property<G3DCam, real_t>("Movement/Mouse Sensitivity", &G3DCam::mouse_sensitivity, 10.0f); register_property<G3DCa...
31.5
100
0.71645
hlfstr
df4ccb9cb0b3805b7b10c2dbce15813c8b8dbc00
2,603
cpp
C++
tests/KeyTests.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
18
2016-05-22T00:55:28.000Z
2021-03-29T08:44:23.000Z
tests/KeyTests.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
6
2017-05-17T13:20:09.000Z
2018-10-22T20:00:57.000Z
tests/KeyTests.cpp
dkun7944/mxml
6450e7cab88eb6ee0ac469f437047072e1868ea4
[ "MIT" ]
14
2016-05-12T22:54:34.000Z
2021-10-19T12:43:16.000Z
// Copyright © 2016 Venture Media Labs. // // This file is part of mxml. The full mxml copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include <mxml/dom/Key.h> #include <boost/test/unit_test.hpp...
36.661972
77
0.688821
dkun7944
df5a98dc049e191d85710cc8064a7208c4fcac4b
420
hpp
C++
include/IRGenerator/YAPLValue.hpp
emilienlemaire/YAPL
b25dc6ef776db0acf612f36070446df11cad3cfd
[ "Apache-2.0" ]
7
2020-06-01T16:32:15.000Z
2021-11-07T21:32:32.000Z
include/IRGenerator/YAPLValue.hpp
emilienlemaire/YAPL
b25dc6ef776db0acf612f36070446df11cad3cfd
[ "Apache-2.0" ]
null
null
null
include/IRGenerator/YAPLValue.hpp
emilienlemaire/YAPL
b25dc6ef776db0acf612f36070446df11cad3cfd
[ "Apache-2.0" ]
null
null
null
#pragma once #include <string> #include "AST/ASTNode.hpp" #include "llvm/ADT/StringRef.h" enum class YAPLType { NONE, VOID, INT, DOUBLE, BOOL, STRING }; class YAPLValue { private: YAPLType m_Type; std::string m_Name; public: static YAPLType AstTypeToYAPLType(ASTNode::TYPE); Y...
15.555556
53
0.642857
emilienlemaire
df5ae61a0e0cd5d7e28c77e896a845c246b80048
1,780
hpp
C++
src/simplelog/backend/null/LogBackendMacros.hpp
jenisys/cxx.simplelog
d9b1a7665d503984cdd3b3e74c3761b6f2f4b5f1
[ "MIT" ]
null
null
null
src/simplelog/backend/null/LogBackendMacros.hpp
jenisys/cxx.simplelog
d9b1a7665d503984cdd3b3e74c3761b6f2f4b5f1
[ "MIT" ]
8
2020-01-31T20:07:27.000Z
2021-03-06T13:13:25.000Z
src/simplelog/backend/null/LogBackendMacros.hpp
jenisys/cxx.simplelog
d9b1a7665d503984cdd3b3e74c3761b6f2f4b5f1
[ "MIT" ]
3
2020-01-31T20:03:24.000Z
2021-02-28T11:34:42.000Z
/** * @file simplelog/backend/null/LogBackendMacros.hpp * Null implementation of a logging backend. * @note Any logging statement output is suppressed. **/ #pragma once namespace simplelog { namespace backend_null { struct NullCategory {}; typedef NullCategory* LoggerPtr; }} // -- SPECIFY: LoggerPtr in a backe...
35.6
109
0.569663
jenisys
df5c5f08f2b1f9389972d3b7752dc91c1ed6bf75
796
cc
C++
ash/webui/eche_app_ui/fake_apps_access_manager.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ash/webui/eche_app_ui/fake_apps_access_manager.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
ash/webui/eche_app_ui/fake_apps_access_manager.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2021 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 "ash/webui/eche_app_ui/fake_apps_access_manager.h" namespace ash { namespace eche_app { FakeAppsAccessManager::FakeAppsAccessManager(AccessStat...
27.448276
80
0.792714
zealoussnow
df5c91cd08421cc262d680964989435ebd56118f
3,217
cpp
C++
src/ir-to-opencl_main.cpp
cuda-on-cl/cuda-on-cl
4f051a4c0bd777059138a16b54a6660267d3e9c7
[ "Apache-2.0" ]
11
2017-04-13T02:48:23.000Z
2021-12-16T08:33:02.000Z
src/ir-to-opencl_main.cpp
cuda-on-cl/cuda-on-cl
4f051a4c0bd777059138a16b54a6660267d3e9c7
[ "Apache-2.0" ]
null
null
null
src/ir-to-opencl_main.cpp
cuda-on-cl/cuda-on-cl
4f051a4c0bd777059138a16b54a6660267d3e9c7
[ "Apache-2.0" ]
1
2021-09-09T09:19:29.000Z
2021-09-09T09:19:29.000Z
// Copyright Hugh Perkins 2016 // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writi...
37.847059
171
0.698477
cuda-on-cl
df5e921f117c6bbcd4c92f8d5a3f92786ad7e6fe
215
hpp
C++
src/initialization/iequilibrium.hpp
gyselax/gyselalibxx
5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34
[ "MIT" ]
3
2022-02-28T08:47:07.000Z
2022-03-01T10:29:08.000Z
src/initialization/iequilibrium.hpp
gyselax/gyselalibxx
5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34
[ "MIT" ]
null
null
null
src/initialization/iequilibrium.hpp
gyselax/gyselalibxx
5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT #pragma once #include <geometry.hpp> class IEquilibrium { public: virtual ~IEquilibrium() = default; virtual DSpanSpVx operator()(DSpanSpVx allfequilibrium) const = 0; };
15.357143
70
0.72093
gyselax
df69880a2915a26d9acd4d955df13453be9058e5
5,613
cpp
C++
model/ApiKeyVM.cpp
FastReports/FastReport-Cloud-Cpp
aabb1c34129244329ecc4bffbb4dc83ae38d1b8c
[ "MIT" ]
1
2021-05-21T15:06:33.000Z
2021-05-21T15:06:33.000Z
model/ApiKeyVM.cpp
FastReports/FastReport-Cloud-Cpp
aabb1c34129244329ecc4bffbb4dc83ae38d1b8c
[ "MIT" ]
null
null
null
model/ApiKeyVM.cpp
FastReports/FastReport-Cloud-Cpp
aabb1c34129244329ecc4bffbb4dc83ae38d1b8c
[ "MIT" ]
null
null
null
/** * FastReport Cloud * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * NOTE: This class is auto generated by OpenAPI-Generator 5.1.1. * https://openapi-generator.tech * Do not edit the class manually. *...
25.986111
135
0.668805
FastReports
df6b1f84a9346db7a6c3d3caece6d0db4c772c05
6,207
cpp
C++
SlackLogViewer/SlackLogViewer/ReplyListView.cpp
thayakawa-gh/SlackLogViewer
61181a2038268f6da4482526ca9854647fda49c7
[ "MIT" ]
13
2020-10-08T05:18:28.000Z
2022-03-28T04:24:58.000Z
SlackLogViewer/SlackLogViewer/ReplyListView.cpp
thayakawa-gh/SlackLogViewer
61181a2038268f6da4482526ca9854647fda49c7
[ "MIT" ]
1
2021-10-08T00:48:50.000Z
2021-10-08T02:40:01.000Z
SlackLogViewer/SlackLogViewer/ReplyListView.cpp
thayakawa-gh/SlackLogViewer
61181a2038268f6da4482526ca9854647fda49c7
[ "MIT" ]
1
2021-03-11T06:42:17.000Z
2021-03-11T06:42:17.000Z
#include <QMouseEvent> #include <QPainter> #include <QJsonDocument> #include "ReplyListView.h" #include "GlobalVariables.h" #include <QScrollBar> bool ReplyListView::ScrollToRow(int row) { ReplyListModel* model = static_cast<ReplyListModel*>(this->model()); if (row >= model->GetTrueRowCount()) return false; while (...
34.104396
140
0.719027
thayakawa-gh
df716cdc8d13beb0d601b99d40e6156e89bff838
1,288
cc
C++
src/script/script_joint.cc
dgolbourn/Metallic-Crow
0f073312c67d3f0542cc40f23e94a018bd5e52c5
[ "MIT" ]
null
null
null
src/script/script_joint.cc
dgolbourn/Metallic-Crow
0f073312c67d3f0542cc40f23e94a018bd5e52c5
[ "MIT" ]
null
null
null
src/script/script_joint.cc
dgolbourn/Metallic-Crow
0f073312c67d3f0542cc40f23e94a018bd5e52c5
[ "MIT" ]
null
null
null
#include "script_impl.h" #include "bind.h" namespace game { auto Script::Impl::JointInit() -> void { lua::Init<std::pair<WeakStagePtr, Joint::WeakPtr>>(static_cast<lua_State*>(lua_)); lua_.Add(function::Bind(&Impl::JointLoad, shared_from_this()), "joint_load", 1, "metallic_crow"); lua_.Add(function::Bind(&Impl::J...
26.833333
106
0.650621
dgolbourn
df73fa7671fdf923716e8bd32789babc3ea15c33
701
cpp
C++
books/Visual_C++2010_introductory_classic/ISO_IEC_C++/Test_string_1.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
books/Visual_C++2010_introductory_classic/ISO_IEC_C++/Test_string_1.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
books/Visual_C++2010_introductory_classic/ISO_IEC_C++/Test_string_1.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
// Searching a string #include <iostream> #include <cstring> using std::cout; using std::endl; using std::strlen; using std::strstr; int main() { char* str("Smith,where Jones had had \" had had\" had had \"had\"." "\n\"Had had\" had had the examiners' approval."); char* word("had"); cout << "The string to be sear...
20.028571
68
0.606277
liangjisheng
df78d1e57bed21abe7d43c5c9e9164f817ac4de3
3,391
cpp
C++
tests/InterpreterTests/TextInterpreterUnitTests.cpp
pptaszni/UnitTestingCourse
66b694d88bc8c962545b2c07ebe600d5a9f83c33
[ "MIT" ]
null
null
null
tests/InterpreterTests/TextInterpreterUnitTests.cpp
pptaszni/UnitTestingCourse
66b694d88bc8c962545b2c07ebe600d5a9f83c33
[ "MIT" ]
null
null
null
tests/InterpreterTests/TextInterpreterUnitTests.cpp
pptaszni/UnitTestingCourse
66b694d88bc8c962545b2c07ebe600d5a9f83c33
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2020 Pawel Ptasznik * * 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,...
31.398148
87
0.704217
pptaszni
df79be092f47820cbdb79f25e0d8b3640424b6f1
787
hpp
C++
tcan_can_j1939/include/tcan_can_j1939/DeviceJ1939.hpp
mcx/tcan
6d23e807a418e0ff5d6ff58d9afb193d696c7758
[ "MIT" ]
null
null
null
tcan_can_j1939/include/tcan_can_j1939/DeviceJ1939.hpp
mcx/tcan
6d23e807a418e0ff5d6ff58d9afb193d696c7758
[ "MIT" ]
null
null
null
tcan_can_j1939/include/tcan_can_j1939/DeviceJ1939.hpp
mcx/tcan
6d23e807a418e0ff5d6ff58d9afb193d696c7758
[ "MIT" ]
null
null
null
#pragma once #include <tcan_can/CanBus.hpp> #include <tcan_can/CanDevice.hpp> #include <tcan_can/CanFrameIdentifier.hpp> #include <tcan_can_j1939/J1939PgnParser.hpp> namespace tcan_can_j1939 { class DeviceJ1939 : public tcan_can::CanDevice { public: static const uint32_t CAN_ID_PGN_MASK = 0x3ffff00u; stat...
28.107143
84
0.736976
mcx
df79f987b407089b825c145134511c49099a976b
1,913
hh
C++
src/Hydro/PressurePolicy.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Hydro/PressurePolicy.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Hydro/PressurePolicy.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // PressurePolicy -- An implementation of UpdatePolicyBase specialized // for the updating the dependent pressure state. // // Created by JMO, Wed Sep 15 10:47:37 2004 //---------------------------------------------------------------------...
31.360656
95
0.631992
jmikeowen
df7caaf288d3dcd910434cae13dbb20b53c164cc
4,881
cpp
C++
src/Patch/InstrRule.cpp
ufo2011/QBDI
c7d60fe7dcff23c9616b11f99f50fed2f4d66ede
[ "Apache-2.0" ]
1
2021-02-17T21:59:23.000Z
2021-02-17T21:59:23.000Z
src/Patch/InstrRule.cpp
ufo2011/QBDI
c7d60fe7dcff23c9616b11f99f50fed2f4d66ede
[ "Apache-2.0" ]
null
null
null
src/Patch/InstrRule.cpp
ufo2011/QBDI
c7d60fe7dcff23c9616b11f99f50fed2f4d66ede
[ "Apache-2.0" ]
null
null
null
/* * This file is part of QBDI. * * Copyright 2017 Quarkslab * * 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 ...
40.675
117
0.582872
ufo2011
df8372abf994ab6bbd914688338ee0cf6b31191a
2,420
hpp
C++
inc/AListenSocket.hpp
izissise/network
7267690fdaa379331b130e5bdd7ee87649c240b2
[ "MIT" ]
1
2015-05-06T09:21:07.000Z
2015-05-06T09:21:07.000Z
inc/AListenSocket.hpp
izissise/network
7267690fdaa379331b130e5bdd7ee87649c240b2
[ "MIT" ]
1
2015-06-14T17:23:11.000Z
2015-06-15T09:41:16.000Z
inc/AListenSocket.hpp
izissise/network
7267690fdaa379331b130e5bdd7ee87649c240b2
[ "MIT" ]
null
null
null
#ifndef INETWORKLISTENSOCKET_HPP # define INETWORKLISTENSOCKET_HPP # include <string> # include <memory> # include <functional> # include "Identity.hpp" # include "ASocket.hpp" # include "ABasicSocket.hpp" namespace Network { class AListenSocket : public std::enable_shared_from_this<AListenSocket>, virtual public A...
31.842105
164
0.709091
izissise
df84d081ec541070aa8f48288ae1461e83e09571
644
cpp
C++
SPOJ/FASHION.cpp
Gurupradeep/Codes
5595f2e0f867a2a21d050379ead18bd6ef563978
[ "MIT" ]
null
null
null
SPOJ/FASHION.cpp
Gurupradeep/Codes
5595f2e0f867a2a21d050379ead18bd6ef563978
[ "MIT" ]
null
null
null
SPOJ/FASHION.cpp
Gurupradeep/Codes
5595f2e0f867a2a21d050379ead18bd6ef563978
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int t; cin>>t; while(t--) { int n,a[1002],b[1002]; cin>...
20.774194
78
0.413043
Gurupradeep
df879f3a7f25cd32bfb2afdaed7653f2cd367527
2,461
tpp
C++
src/GP/Sampling_RLCM.tpp
ahbarnett/RLCM
63ff05112ae18f189599bbb2eb3b375febb7edf2
[ "Apache-2.0" ]
7
2019-01-16T06:35:10.000Z
2022-03-21T16:55:25.000Z
src/GP/Sampling_RLCM.tpp
ahbarnett/RLCM
63ff05112ae18f189599bbb2eb3b375febb7edf2
[ "Apache-2.0" ]
1
2022-03-18T21:05:13.000Z
2022-03-18T21:05:13.000Z
src/GP/Sampling_RLCM.tpp
ahbarnett/RLCM
63ff05112ae18f189599bbb2eb3b375febb7edf2
[ "Apache-2.0" ]
5
2019-01-16T04:17:12.000Z
2022-03-21T22:01:30.000Z
#ifndef _SAMPLING_RLCM_TPP_ #define _SAMPLING_RLCM_TPP_ //-------------------------------------------------------------------------- template<class Kernel, class Point, class PointArray> Sampling_RLCM<Kernel, Point, PointArray>:: Sampling_RLCM() { Init(); } //------------------------------------------------------...
26.462366
76
0.519707
ahbarnett
df899c6c938a424e3c28a407f6dc7c645b7e0fab
6,703
cpp
C++
synth/software/Mentor/Config.cpp
kallikak/Mentor
8b9e26f562c5f9a9231840dd474e055d17e5deca
[ "MIT" ]
null
null
null
synth/software/Mentor/Config.cpp
kallikak/Mentor
8b9e26f562c5f9a9231840dd474e055d17e5deca
[ "MIT" ]
null
null
null
synth/software/Mentor/Config.cpp
kallikak/Mentor
8b9e26f562c5f9a9231840dd474e055d17e5deca
[ "MIT" ]
null
null
null
#include "Config.h" #include "LCD.h" mentor_config defaultConfig = { {63, RANGE8FT, POLY8, 0}, {127, 0, 0, 0}, {0, 0, 127, 20}, {TRIANGLE, 0, 0, 0}, {0, 127, 0, 64}, {0, 0, 0, 0}, "Default" }; mentor_config initConfig = { {63, RANGE8FT, POLY8, 0}, {127, 0, 0, 0}, {0, 0, 127, 0}, {TRIANGLE, 0, 0,...
21.977049
126
0.599135
kallikak
df8d0eef04741206607d276b1ddf4935ed425537
577
hpp
C++
src/game.hpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/game.hpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/game.hpp
SPC-Some-Polish-Coders/PopHead
2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
#pragma once #include "AI/aiManager.hpp" #include "Scenes/sceneManager.hpp" #include <SFML/Window/Window.hpp> #include <memory> namespace ph { class Game { public: Game(); ~Game(); void run(); static void close() { sIsRunning = false; } static void setNoFocusUpdate(bool flag) { sNoFocusUpdate = flag; } priva...
16.485714
67
0.724437
SPC-Some-Polish-Coders
df9362a026f33b6e108c239ef9be91cb347a7709
984
cpp
C++
libs/sdl_lib/libsdl.cpp
elivet/Nibbler
9e2e07d9e3fa3dc86a8e25a6db419359fa0e0e8a
[ "Apache-2.0" ]
null
null
null
libs/sdl_lib/libsdl.cpp
elivet/Nibbler
9e2e07d9e3fa3dc86a8e25a6db419359fa0e0e8a
[ "Apache-2.0" ]
null
null
null
libs/sdl_lib/libsdl.cpp
elivet/Nibbler
9e2e07d9e3fa3dc86a8e25a6db419359fa0e0e8a
[ "Apache-2.0" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* libsdl.cpp :+: :+: :+: ...
49.2
80
0.146341
elivet
df937416569dd6f10d2efc72980893ebbb679835
103
cpp
C++
Applications/Hello-Daft/src/main.cpp
DaftMat/Daft-Engine
e3d918b4b876d17abd889b9b6b13bd858a079538
[ "MIT" ]
1
2020-10-26T02:36:58.000Z
2020-10-26T02:36:58.000Z
Applications/Hello-Daft/src/main.cpp
DaftMat/Daft-Engine
e3d918b4b876d17abd889b9b6b13bd858a079538
[ "MIT" ]
6
2020-02-14T21:45:52.000Z
2020-09-23T17:58:58.000Z
Applications/Hello-Daft/src/main.cpp
DaftMat/Daft-Engine
e3d918b4b876d17abd889b9b6b13bd858a079538
[ "MIT" ]
null
null
null
#include "GLFWExample.hpp" int main() { daft::app::GLFWExample app; app.run(); return 0; }
14.714286
31
0.601942
DaftMat
df9461454eebe4f8b970031c601f297d04ce67f9
20,898
cpp
C++
POJ/27 - 29/poj2739v2_table.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
POJ/27 - 29/poj2739v2_table.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
POJ/27 - 29/poj2739v2_table.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
#include<iostream> using namespace std; unsigned char b[10002]={ 0,0,1,1,0,2,0,1,1,0,1,1,1,1,0,1,0,2,1,1,0,0,0,2,1,0,1,0,1,1,1,2,0,0,0,0,2,1,0,1, 0,3,1,1,0,0,0,1,1,1,0,0,1,2,0,0,1,0,1,2,2,1,0,0,0,0,0,2,1,0,0,2,2,1,0,1,0,1,1,1, 0,0,0,3,1,0,0,0,1,1,2,0,0,0,0,1,0,2,1,0,2,2,1,1,0,0,0,1,0,2,0,0,2,1,0,0,0,0,0,2, 2,1,...
80.687259
83
0.483061
bilibiliShen
df96b3cc924ba76b2584a6d38add03bd87bea563
6,670
cpp
C++
src/main.cpp
elken/SOFT253_referral
220ba11d444881a8a11100735ec31643d30096b8
[ "Apache-2.0" ]
null
null
null
src/main.cpp
elken/SOFT253_referral
220ba11d444881a8a11100735ec31643d30096b8
[ "Apache-2.0" ]
null
null
null
src/main.cpp
elken/SOFT253_referral
220ba11d444881a8a11100735ec31643d30096b8
[ "Apache-2.0" ]
null
null
null
/** ****************************************************************************** * @file main.cpp * @author AST / EST * @version V0.0.1 * @date 14-August-2015 * @brief Simple Example application for using the X_NUCLEO_IKS01A1 * MEMS Inertial & Environmental Sensor Nucleo expansion board. ***...
34.739583
208
0.68021
elken
df9a02f1d476d5e487c42113eddfafbfc78dc2b6
546
cpp
C++
OverlordEngine/TextureData.cpp
Kair0z/StikBoldt-PC
5d978aa6b67e9f3a140136f2f0b766061e765c74
[ "MIT" ]
1
2018-11-28T12:30:13.000Z
2018-11-28T12:30:13.000Z
OverlordEngine/TextureData.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
null
null
null
OverlordEngine/TextureData.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
2
2019-12-28T12:34:51.000Z
2021-03-08T08:37:33.000Z
#include "stdafx.h" #include "TextureData.h" TextureData::TextureData(ID3D11Resource* pTexture, ID3D11ShaderResourceView* pTextureShaderResourceView): m_pTexture(pTexture), m_pTextureShaderResourceView(pTextureShaderResourceView) { auto tex2D = static_cast<ID3D11Texture2D*>(pTexture); D3D11_TEXTURE2D_DESC text2Dde...
26
105
0.811355
Kair0z
df9b2fe401e7f13760709abe0ce4d6b33ac05f68
975
cpp
C++
Machine Learning Project/Parallel.cpp
revolt3245/Machine-Learning-Project
52c0eda2abdd4f0406ca3689a3f4f8e621bccd73
[ "MIT" ]
null
null
null
Machine Learning Project/Parallel.cpp
revolt3245/Machine-Learning-Project
52c0eda2abdd4f0406ca3689a3f4f8e621bccd73
[ "MIT" ]
null
null
null
Machine Learning Project/Parallel.cpp
revolt3245/Machine-Learning-Project
52c0eda2abdd4f0406ca3689a3f4f8e621bccd73
[ "MIT" ]
null
null
null
#include "Parallel.h" Eigen::MatrixXd Parallel::forward(Eigen::MatrixXd panIn) { //Fork Mapping vector<Eigen::MatrixXd> Fork(0); Eigen::MatrixXd res = Eigen::MatrixXd::Zero(panIn.rows(), JoinMapping[0].cols()); for (auto& f : this->ForkMapping) { Fork.push_back(panIn * f); } for (auto i = 0; i < this->Layer...
18.396226
82
0.590769
revolt3245
df9b572282854a49edc1feb96c1a26ef8fdffaf9
556
cpp
C++
Lab6/Lab6/Timer.cpp
adriandarian/CSE165
60de87b807b25698b5083882d0e089a220e864f4
[ "MIT" ]
null
null
null
Lab6/Lab6/Timer.cpp
adriandarian/CSE165
60de87b807b25698b5083882d0e089a220e864f4
[ "MIT" ]
null
null
null
Lab6/Lab6/Timer.cpp
adriandarian/CSE165
60de87b807b25698b5083882d0e089a220e864f4
[ "MIT" ]
null
null
null
#include "Timer.h" #include <iostream> void Timer::repeat(Timer* self){ while (self->running){ int delay = self->interval; self->action(); std::this_thread::sleep_for (std::chrono::milliseconds(delay)); } } Timer::Timer() { interval = 1000; running = false; } Timer::~Time...
16.352941
71
0.600719
adriandarian
df9caef8d24682f4236fe51a1c00524c9eb8e0ac
1,049
hpp
C++
include/crosssock/TCPSocket.hpp
Kolya28/crosssock
f46dcc56a26960bad7c16d4818913a6a532c62e8
[ "MIT" ]
1
2020-12-27T10:02:38.000Z
2020-12-27T10:02:38.000Z
include/crosssock/TCPSocket.hpp
Kolya28/crosssock
f46dcc56a26960bad7c16d4818913a6a532c62e8
[ "MIT" ]
null
null
null
include/crosssock/TCPSocket.hpp
Kolya28/crosssock
f46dcc56a26960bad7c16d4818913a6a532c62e8
[ "MIT" ]
null
null
null
#ifndef __TCPSOCKET_H__ #define __TCPSOCKET_H__ #include <chrono> #include <crosssock/Config.hpp> #include <crosssock/Socket.hpp> #include <crosssock/IPAddress.hpp> namespace crs { class CROSSSOCK_DLL TCPSocket : public Socket { public: typedef typename Socket::SocketHandle SocketHandle; ...
25.585366
113
0.645377
Kolya28
df9cc4fe9367296e880d25bf4abd537e3622dfd1
2,520
cpp
C++
src/anlogicBitParser.cpp
uis246/openFPGALoader
312b8d25659857301df17b4b4daa55a1fe3f23cb
[ "Apache-2.0" ]
505
2019-12-09T10:47:15.000Z
2022-03-31T09:04:10.000Z
src/anlogicBitParser.cpp
uis246/openFPGALoader
312b8d25659857301df17b4b4daa55a1fe3f23cb
[ "Apache-2.0" ]
203
2019-12-06T10:57:48.000Z
2022-03-31T17:57:08.000Z
src/anlogicBitParser.cpp
uis246/openFPGALoader
312b8d25659857301df17b4b4daa55a1fe3f23cb
[ "Apache-2.0" ]
106
2019-12-06T12:12:56.000Z
2022-03-31T10:38:11.000Z
// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2020 Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> * Based on Miodrag Milanovic https://github.com/mmicko/prjtang/ */ #include <string.h> #include <stdio.h> #include <stdlib.h> #include <algorithm> #include <functional> #include <cctype> #incl...
20.826446
82
0.64246
uis246
dfa43a17bdd03309bf9340dbd6d4fe16c15ca969
2,457
cpp
C++
shared/source/os_interface/linux/cache_info.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/source/os_interface/linux/cache_info.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/source/os_interface/linux/cache_info.cpp
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/os_interface/linux/cache_info.h" #include "shared/source/debug_settings/debug_settings_manager.h" #include "shared/source/helpers/common_types.h" #include "shared/source/helpers/debug_helpers.h" namespace NEO...
32.76
101
0.704111
mattcarter2017