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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2613106580d834e6f6c23229ec8e14b28bab861e | 1,837 | cpp | C++ | cpp/Maya Calendar/Maya Calendar.cpp | xuzishan/Algorithm-learning-through-Problems | 4aee347af6fd7fd935838e1cbea57c197e88705c | [
"MIT"
] | 27 | 2016-11-04T09:18:25.000Z | 2022-02-12T12:34:01.000Z | cpp/Maya Calendar/Maya Calendar.cpp | Der1128/Algorithm-learning-through-Problems | 4aee347af6fd7fd935838e1cbea57c197e88705c | [
"MIT"
] | 1 | 2016-11-05T02:30:24.000Z | 2016-11-16T10:21:09.000Z | cpp/Maya Calendar/Maya Calendar.cpp | Der1128/Algorithm-learning-through-Problems | 4aee347af6fd7fd935838e1cbea57c197e88705c | [
"MIT"
] | 20 | 2016-11-04T10:26:02.000Z | 2021-09-25T05:41:21.000Z | //
// Maya Calendar.cpp
// laboratory
//
// Created by 徐子珊 on 16/4/4.
// Copyright (c) 2016年 xu_zishan. All rights reserved.
//
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
#include <hash_map>
using namespace std;
pair<string, int> a[]={make_pair("pop... | 32.22807 | 107 | 0.62221 | xuzishan |
2613699c22b337a40d0a7955cf85646d1082af29 | 549 | cc | C++ | test/lattice/parameter.cc | Alexhuszagh/funxx | 9f6c1fae92d96a84282fc62be272f4dc1e1dba9b | [
"MIT",
"BSD-3-Clause"
] | 1 | 2017-07-21T22:58:38.000Z | 2017-07-21T22:58:38.000Z | test/lattice/parameter.cc | Alexhuszagh/funxx | 9f6c1fae92d96a84282fc62be272f4dc1e1dba9b | [
"MIT",
"BSD-3-Clause"
] | null | null | null | test/lattice/parameter.cc | Alexhuszagh/funxx | 9f6c1fae92d96a84282fc62be272f4dc1e1dba9b | [
"MIT",
"BSD-3-Clause"
] | null | null | null | // :copyright: (c) 2017 Alex Huszagh.
// :license: MIT, see LICENSE.md for more details.
#include <pycpp/lattice/parameter.h>
#include <gtest/gtest.h>
PYCPP_USING_NAMESPACE
// TESTS
// -----
TEST(parameters_t, get)
{
parameters_t parameters = {
{"name", "value"},
};
EXPECT_EQ(parameters.get()... | 18.3 | 60 | 0.622951 | Alexhuszagh |
26138d64ec152d2b5f041c77ae3b068cfb7a950c | 1,254 | cpp | C++ | LeetCode/187. Repeated DNA Sequences.cpp | Joon7891/Competitive-Programming | d860b7ad932cd5a6fb91fdc8c53101da57f4a408 | [
"MIT"
] | 2 | 2021-04-13T00:19:56.000Z | 2021-04-13T01:19:45.000Z | LeetCode/187. Repeated DNA Sequences.cpp | Joon7891/Competitive-Programming | d860b7ad932cd5a6fb91fdc8c53101da57f4a408 | [
"MIT"
] | null | null | null | LeetCode/187. Repeated DNA Sequences.cpp | Joon7891/Competitive-Programming | d860b7ad932cd5a6fb91fdc8c53101da57f4a408 | [
"MIT"
] | 1 | 2020-08-26T12:36:08.000Z | 2020-08-26T12:36:08.000Z | class Solution {
public:
vector<string> findRepeatedDnaSequences(string s) {
map<char, int> charToBit;
charToBit['A'] = 0b00;
charToBit['C'] = 0b01;
charToBit['G'] = 0b10;
charToBit['T'] = 0b11;
map<int, char> bitToChar;
bitToChar[0b00] = 'A';
... | 27.866667 | 56 | 0.360447 | Joon7891 |
261cdd21729796c74dc94d854f918e1929207d29 | 3,081 | cpp | C++ | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/pathpage.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/pathpage.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/pathpage.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Assistant of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid co... | 30.81 | 86 | 0.66407 | GrinCash |
261f35817fc8033d8bbf94f018bb61bac851283a | 37,455 | cpp | C++ | src/libraries/dynamicMesh/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/dynamicMesh/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/dynamicMesh/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011-2012 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
... | 27.479824 | 80 | 0.435055 | MrAwesomeRocks |
2622eab5a23a648711817362a3f70a54c2c7b51c | 10,696 | hpp | C++ | src/core/ArrayTraits.hpp | gyzhangqm/overkit-1 | 490aa77a79bd9708d7f2af0f3069b86545a2cebc | [
"MIT"
] | null | null | null | src/core/ArrayTraits.hpp | gyzhangqm/overkit-1 | 490aa77a79bd9708d7f2af0f3069b86545a2cebc | [
"MIT"
] | null | null | null | src/core/ArrayTraits.hpp | gyzhangqm/overkit-1 | 490aa77a79bd9708d7f2af0f3069b86545a2cebc | [
"MIT"
] | 1 | 2021-07-21T06:48:19.000Z | 2021-07-21T06:48:19.000Z | // Copyright (c) 2020 Matthew J. Smith and Overkit contributors
// License: MIT (http://opensource.org/licenses/MIT)
#ifndef OVK_CORE_ARRAY_TRAITS_HPP_INCLUDED
#define OVK_CORE_ARRAY_TRAITS_HPP_INCLUDED
#include <ovk/core/ArrayTraitsBase.hpp>
#include <ovk/core/Elem.hpp>
#include <ovk/core/Global.hpp>
#include <ovk/c... | 45.130802 | 100 | 0.755984 | gyzhangqm |
2626448ee8c472a55023f86a2caaea7f08d76247 | 158 | cpp | C++ | old/Codeforces/466/A.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | old/Codeforces/466/A.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | old/Codeforces/466/A.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #include "template.hpp"
int main() {
int n, m, a, b;
cin >> n >> m >> a >> b;
cout << min(n * a, min(n / m * b + n % m * a, n / m * b + b)) << endl;
}
| 19.75 | 72 | 0.411392 | not522 |
26290ecf777c44a6fc4b1ab9cd0cbf89918f0d97 | 1,208 | hh | C++ | recorder/src/main/cpp/blocking_ring_buffer.hh | Flipkart/fk-prof | ed801c32a8c3704204be670e16c6465297431e1a | [
"Apache-2.0",
"MIT"
] | 7 | 2017-01-17T11:29:08.000Z | 2021-06-07T10:36:59.000Z | recorder/src/main/cpp/blocking_ring_buffer.hh | Flipkart/fk-prof | ed801c32a8c3704204be670e16c6465297431e1a | [
"Apache-2.0",
"MIT"
] | 106 | 2017-01-12T04:38:40.000Z | 2017-10-04T11:12:54.000Z | recorder/src/main/cpp/blocking_ring_buffer.hh | Flipkart/fk-prof | ed801c32a8c3704204be670e16c6465297431e1a | [
"Apache-2.0",
"MIT"
] | 4 | 2016-12-22T08:56:27.000Z | 2018-07-26T17:13:42.000Z | #ifndef BLOCKING_RING_BUFFER_H
#define BLOCKING_RING_BUFFER_H
#include <thread>
#include <mutex>
#include <condition_variable>
#include "globals.hh"
class BlockingRingBuffer {
private:
std::uint32_t read_idx, write_idx, capacity, available;
std::uint8_t *buff;
bool allow_writes;
std::mutex m;
std:... | 26.844444 | 112 | 0.712748 | Flipkart |
262cab7befc0663f26883159779c9a7d1d2edb3a | 4,246 | hpp | C++ | include/gamma/basis.hpp | robashaw/gamma | 26fba31be640c9bc429f8c22d5c61c0f8e9215e6 | [
"MIT"
] | 8 | 2019-09-13T10:35:26.000Z | 2022-03-26T13:20:54.000Z | include/gamma/basis.hpp | robashaw/gamma | 26fba31be640c9bc429f8c22d5c61c0f8e9215e6 | [
"MIT"
] | null | null | null | include/gamma/basis.hpp | robashaw/gamma | 26fba31be640c9bc429f8c22d5c61c0f8e9215e6 | [
"MIT"
] | null | null | null | /*
*
* PURPOSE: To define the class Basis representing a
* basis set.
*
* class Basis:
* owns: bfs - a set of BFs
* data: name - the name of the basis set, needed for file io
* charges - a list of atomic numbers corresponding to
* ... | 38.252252 | 79 | 0.567358 | robashaw |
262e2c6360952d755e2279fb0b1cfb7972446d70 | 1,348 | cpp | C++ | Kattis/Week0/Wk0j_interpreter.cpp | Frodocz/CS2040C | d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5 | [
"MIT"
] | null | null | null | Kattis/Week0/Wk0j_interpreter.cpp | Frodocz/CS2040C | d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5 | [
"MIT"
] | null | null | null | Kattis/Week0/Wk0j_interpreter.cpp | Frodocz/CS2040C | d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
#define MEMORY_SIZE 1000
#define REGISTER_NUM 10
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int i, cnt = 0, idx = 0;
vector<int> registers(REGISTER_NUM), ram(MEMORY_SIZE);
while (cin >> i) {
ram[idx++] ... | 24.962963 | 64 | 0.432493 | Frodocz |
262e2d197cb7945f4341134e31eac2a8530912dd | 1,966 | cpp | C++ | AMM/multiPage.cpp | CatOfBlades/ArbitraryMemoryMapper | ef49c548b6171ca1b3cac61c5cb6366ca6039abc | [
"MIT"
] | null | null | null | AMM/multiPage.cpp | CatOfBlades/ArbitraryMemoryMapper | ef49c548b6171ca1b3cac61c5cb6366ca6039abc | [
"MIT"
] | null | null | null | AMM/multiPage.cpp | CatOfBlades/ArbitraryMemoryMapper | ef49c548b6171ca1b3cac61c5cb6366ca6039abc | [
"MIT"
] | null | null | null |
#include "multiPage.h"
#include "../Defines.h"
#ifdef WINBUILD
#include <windows.h>
#endif // WINBUILD
unsigned long int multiPage::_size()
{
if(!bankList.size()){return 0;}
return bankList[_bankNum]->_size();
}
bool multiPage::_is_free()
{
if(!bankList.size()){return 0;}
return bankList[_bankNum]->_... | 22.860465 | 96 | 0.685656 | CatOfBlades |
1c79f5bbe1b6b243c5446a39d6116e47b4c0efac | 2,049 | cpp | C++ | ECOO/ECOO '19 R1 P3 - Side Scrolling Simulator.cpp | Joon7891/Competitive-Programming | d860b7ad932cd5a6fb91fdc8c53101da57f4a408 | [
"MIT"
] | 2 | 2021-04-13T00:19:56.000Z | 2021-04-13T01:19:45.000Z | ECOO/ECOO '19 R1 P3 - Side Scrolling Simulator.cpp | Joon7891/Competitive-Programming | d860b7ad932cd5a6fb91fdc8c53101da57f4a408 | [
"MIT"
] | null | null | null | ECOO/ECOO '19 R1 P3 - Side Scrolling Simulator.cpp | Joon7891/Competitive-Programming | d860b7ad932cd5a6fb91fdc8c53101da57f4a408 | [
"MIT"
] | 1 | 2020-08-26T12:36:08.000Z | 2020-08-26T12:36:08.000Z | #include <bits/stdc++.h>
#define MEM(a, b) memset(a, b, sizeof(a))
using namespace std;
void solve(){
char a[105][13];
MEM(a,'@');
int j, w, h;
cin>> j >> w >> h;
string s;
int x = 0,y = h - 2;
for(int i = 0; i < h; i++)
{
cin >> s;
for(int j = 0; j < w; j++)
... | 19.514286 | 57 | 0.226452 | Joon7891 |
1c7a23c69da6a8ca7bcfc1c13c3afcd7d8b5ab15 | 11,114 | cpp | C++ | src/EBV_Triangulator.cpp | fdebrain/Stereo-Event-Based-Reconstruction-with-Active-Laser-Features | 9e63a5d15edffba65d6e6ab521c5f6413832a97c | [
"MIT"
] | 4 | 2021-08-10T17:35:35.000Z | 2021-12-06T08:43:07.000Z | src/EBV_Triangulator.cpp | fdebrain/Stereo-Event-Based-Reconstruction-with-Active-Laser-Features | 9e63a5d15edffba65d6e6ab521c5f6413832a97c | [
"MIT"
] | null | null | null | src/EBV_Triangulator.cpp | fdebrain/Stereo-Event-Based-Reconstruction-with-Active-Laser-Features | 9e63a5d15edffba65d6e6ab521c5f6413832a97c | [
"MIT"
] | null | null | null | #include <EBV_Triangulator.h>
#include <EBV_Benchmarking.h>
void Triangulator::switchMode()
{
m_mode = static_cast<Triangulator::StereoPair>((m_mode+1)%3);
std::cout << "Switch triangulation mode to: " << stereoPairNames[m_mode] << "\n\r";
}
void Triangulator::resetCalibration()
{
for (auto &k : m_K) { k ... | 31.936782 | 99 | 0.520875 | fdebrain |
1c8540e0cc6f5f8955cf146e09cf4feb22d1cf64 | 9,058 | cpp | C++ | unittest/testTimer.cpp | airekans/Tpool | 2ba21ca68588d90e738f35c6ddcc17bb8b1f3f1d | [
"MIT"
] | 13 | 2015-05-19T11:08:44.000Z | 2021-07-11T01:00:35.000Z | unittest/testTimer.cpp | guker/Tpool | 2ba21ca68588d90e738f35c6ddcc17bb8b1f3f1d | [
"MIT"
] | 17 | 2015-01-04T15:16:51.000Z | 2015-04-16T04:43:38.000Z | unittest/testTimer.cpp | guker/Tpool | 2ba21ca68588d90e738f35c6ddcc17bb8b1f3f1d | [
"MIT"
] | 11 | 2015-04-30T09:21:59.000Z | 2021-10-04T07:48:34.000Z | #include "Timer.h"
#include "Atomic.h"
#include "Thread.h"
#include "TestUtil.h"
#include <gtest/gtest.h>
using namespace tpool;
using namespace tpool::unittest;
namespace {
class TimerTestSuite : public ::testing::Test
{
protected:
Atomic<int> counter;
TimerTestSuite()
: counter(0)
{}
vi... | 19.64859 | 69 | 0.659417 | airekans |
1c888ffbcbdae678e1772280f72ea0065ce94d34 | 3,040 | cpp | C++ | 2018/0804_mujin-pc-2018/E.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 7 | 2019-03-24T14:06:29.000Z | 2020-09-17T21:16:36.000Z | 2018/0804_mujin-pc-2018/E.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | null | null | null | 2018/0804_mujin-pc-2018/E.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 1 | 2020-07-22T17:27:09.000Z | 2020-07-22T17:27:09.000Z | /**
* File : E.cpp
* Author : Kazune Takahashi
* Created : 2018-8-4 22:09:58
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> // to_string(nnn) ... | 22.189781 | 116 | 0.464474 | kazunetakahashi |
1c88b3e9ef72afba9c9d5b45ba8a309c3ef87f97 | 1,032 | hpp | C++ | src/emp_dist.hpp | dcjones/isolator | 24bafc0a102dce213bfc2b5b9744136ceadaba03 | [
"MIT"
] | 33 | 2015-07-13T03:00:01.000Z | 2021-03-20T08:49:07.000Z | src/emp_dist.hpp | dcjones/isolator | 24bafc0a102dce213bfc2b5b9744136ceadaba03 | [
"MIT"
] | 9 | 2016-11-29T00:04:30.000Z | 2020-02-10T17:46:01.000Z | src/emp_dist.hpp | dcjones/isolator | 24bafc0a102dce213bfc2b5b9744136ceadaba03 | [
"MIT"
] | 6 | 2015-09-10T15:49:34.000Z | 2017-03-09T05:14:06.000Z |
#ifndef ISOLATOR_EMP_DIST
#define ISOLATOR_EMP_DIST
#include <climits>
#include <vector>
class EmpDist
{
public:
EmpDist(EmpDist&);
/* Construct a emperical distribution from n observations stored in xs.
*
* Input in run-length encoded samples, which must be in sorted order.
... | 21.061224 | 79 | 0.573643 | dcjones |
1c90d631037316fe7681bb0a8018a698d72eeb8c | 7,897 | cpp | C++ | src/toolbar.cpp | alekratz/fiefdom | d0ddb1cc4fe24b57319b3089928c1a576d0c1bbc | [
"0BSD"
] | 1 | 2017-05-19T15:24:51.000Z | 2017-05-19T15:24:51.000Z | src/toolbar.cpp | alekratz/fiefdom | d0ddb1cc4fe24b57319b3089928c1a576d0c1bbc | [
"0BSD"
] | null | null | null | src/toolbar.cpp | alekratz/fiefdom | d0ddb1cc4fe24b57319b3089928c1a576d0c1bbc | [
"0BSD"
] | null | null | null | #include "toolbar.hpp"
#include "game_scene.hpp"
#include "globals.hpp"
#include <SDL_ttf.h>
#include <SDL.h>
#include <cassert>
constexpr auto TOOLBAR_HEIGHT = 23;
constexpr auto TOOLBAR_ITEM_VPADDING = 3;
constexpr auto TOOLBAR_ITEM_HPADDING = 13;
//const SDL_Color WHITE { 255, 255, 255, SDL_ALPHA_OPAQUE };
// const... | 41.34555 | 157 | 0.694314 | alekratz |
1c93f82b414d383676dcdfc79956b5141e8135b4 | 1,104 | hxx | C++ | tests/cvinvaffine.hxx | zardchim/opencvx | f3727c9be5532f9a41c29f558e72aa19b6db97a4 | [
"Unlicense"
] | 10 | 2015-01-29T23:21:06.000Z | 2019-07-05T06:27:16.000Z | tests/cvinvaffine.hxx | zardchim/opencvx | f3727c9be5532f9a41c29f558e72aa19b6db97a4 | [
"Unlicense"
] | null | null | null | tests/cvinvaffine.hxx | zardchim/opencvx | f3727c9be5532f9a41c29f558e72aa19b6db97a4 | [
"Unlicense"
] | 13 | 2015-04-13T20:50:36.000Z | 2022-03-20T16:06:05.000Z | #ifdef _MSC_VER
#pragma warning(disable:4996)
#pragma comment(lib, "cv.lib")
#pragma comment(lib, "cxcore.lib")
#pragma comment(lib, "cvaux.lib")
#pragma comment(lib, "highgui.lib")
#endif
#include <stdio.h>
#include <stdlib.h>
#include "cv.h"
#include "cvaux.h"
#include "cxcore.h"
#include "highgui.h"
#include "cvcre... | 26.926829 | 91 | 0.577899 | zardchim |
1c9b1e3e468091ba85c0dae6153ff9f95968ca8b | 1,604 | hpp | C++ | tainthlp.hpp | yqw1212/demovfuscator | d27dd1c87ba6956dae4a3003497fe8760b7299f9 | [
"BSD-2-Clause"
] | 614 | 2016-06-19T21:39:02.000Z | 2022-03-27T06:07:53.000Z | tainthlp.hpp | yqw1212/demovfuscator | d27dd1c87ba6956dae4a3003497fe8760b7299f9 | [
"BSD-2-Clause"
] | 20 | 2016-06-19T21:44:20.000Z | 2022-03-31T05:21:34.000Z | tainthlp.hpp | yqw1212/demovfuscator | d27dd1c87ba6956dae4a3003497fe8760b7299f9 | [
"BSD-2-Clause"
] | 54 | 2016-06-20T07:01:22.000Z | 2021-12-14T13:34:56.000Z | #ifndef TAINTHLP_H
#define TAINTHLP_H
#include <map>
#include <unordered_map>
#include <capstone/x86.h>
class tainthlp{
public:
/**
* Adds taint to a specified address and (len - 1) subsequent addresses
* @param base base address to taint
* @param len length of the area to taint
* @param ref the taint... | 26.733333 | 91 | 0.69015 | yqw1212 |
1c9d69b28786bc646d051ce2fbbde45848874949 | 312 | cpp | C++ | codeforces/1337A.cpp | LordRonz/cp-solutions | d95eabbdbf6a04fba912f4e8be203b180af7f46d | [
"WTFPL"
] | 2 | 2021-04-19T06:20:11.000Z | 2021-05-04T14:30:00.000Z | codeforces/1337A.cpp | LordRonz/cp-solutions | d95eabbdbf6a04fba912f4e8be203b180af7f46d | [
"WTFPL"
] | 2 | 2022-03-01T09:28:46.000Z | 2022-03-02T09:52:33.000Z | codeforces/1337A.cpp | LordRonz/cp-solutions | d95eabbdbf6a04fba912f4e8be203b180af7f46d | [
"WTFPL"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define MAX(a,b,c) max(a,max(b,c))
#define MIN(a,b,c) min(a,min(b,c))
typedef pair<int, int> pii;
//0xACCE97ED
int main()
{
int t, a, b, c, d;
scanf("%d", &t);
while(t--) {
scanf("%d %d %d %d", &a, &b, &c, &d);
printf("%d %d %d\n", b, c, c);
}
return 0;
} | 17.333333 | 39 | 0.532051 | LordRonz |
1ca384e980b06811e0353de766b843292a6a672c | 7,384 | cpp | C++ | ExternalLibraries/NvGameworksFramework/src/NvGLUtils/NvUIGL.cpp | centauroWaRRIor/VulkanSamples | 5a7c58de820207cc0931a9db8c90f00453e31631 | [
"MIT"
] | 175 | 2018-08-28T14:40:34.000Z | 2022-03-19T03:10:02.000Z | ExternalLibraries/NvGameworksFramework/src/NvGLUtils/NvUIGL.cpp | centauroWaRRIor/VulkanSamples | 5a7c58de820207cc0931a9db8c90f00453e31631 | [
"MIT"
] | null | null | null | ExternalLibraries/NvGameworksFramework/src/NvGLUtils/NvUIGL.cpp | centauroWaRRIor/VulkanSamples | 5a7c58de820207cc0931a9db8c90f00453e31631 | [
"MIT"
] | 11 | 2019-05-13T12:06:53.000Z | 2022-03-18T09:56:37.000Z | //----------------------------------------------------------------------------------
// File: NvGLUtils/NvUIGL.cpp
// SDK Version: v3.00
// Email: gameworks@nvidia.com
// Site: http://developer.nvidia.com/
//
// Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
//
// Redistribution ... | 37.105528 | 103 | 0.643418 | centauroWaRRIor |
1cacd2e8237bc3da55355501ac313c2b8d666f59 | 5,986 | cpp | C++ | NEST-14.0-FPGA/nestkernel/nest_time.cpp | OpenHEC/SNN-simulator-on-PYNQcluster | 14f86a76edf4e8763b58f84960876e95d4efc43a | [
"MIT"
] | 45 | 2019-12-09T06:45:53.000Z | 2022-01-29T12:16:41.000Z | NEST-14.0-FPGA/nestkernel/nest_time.cpp | zlchai/SNN-simulator-on-PYNQcluster | 14f86a76edf4e8763b58f84960876e95d4efc43a | [
"MIT"
] | 2 | 2020-05-23T05:34:21.000Z | 2021-09-08T02:33:46.000Z | NEST-14.0-FPGA/nestkernel/nest_time.cpp | OpenHEC/SNN-simulator-on-PYNQcluster | 14f86a76edf4e8763b58f84960876e95d4efc43a | [
"MIT"
] | 10 | 2019-12-09T06:45:59.000Z | 2021-03-25T09:32:56.000Z | /*
* nest_time.cpp
*
* This file is part of NEST.
*
* Copyright (C) 2004 The NEST Initiative
*
* NEST 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 2 of the License, or
* (at ... | 26.963964 | 80 | 0.688607 | OpenHEC |
1cafef81519c467dc4d7a545f84ecbf83849af10 | 63,947 | cpp | C++ | src/execution/util/fast_double_parser.cpp | rohanaggarwal7997/terrier2 | 275d96fdb3f16f94b043230553a8d8d4a26f4168 | [
"MIT"
] | null | null | null | src/execution/util/fast_double_parser.cpp | rohanaggarwal7997/terrier2 | 275d96fdb3f16f94b043230553a8d8d4a26f4168 | [
"MIT"
] | 2 | 2020-08-24T16:29:40.000Z | 2020-09-08T16:34:51.000Z | src/execution/util/fast_double_parser.cpp | rohanaggarwal7997/terrier2 | 275d96fdb3f16f94b043230553a8d8d4a26f4168 | [
"MIT"
] | null | null | null | #include "execution/util/fast_double_parser.h"
namespace terrier::execution::util {
const double FastDoubleParser::POWER_OF_TEN[] = {1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11,
1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22... | 79.437267 | 120 | 0.399315 | rohanaggarwal7997 |
1cb443b558689eb8476d57651ccbc56b0b20d513 | 4,703 | inl | C++ | matlab_code/jjcao_code-head/toolbox/jjcao_mesh/geodesic/mex/gw/gw_core/GW_SmartCounter.inl | joycewangsy/normals_pointnet | fc74a8ed1a009b18785990b1b4c20eda0549721c | [
"MIT"
] | null | null | null | matlab_code/jjcao_code-head/toolbox/jjcao_mesh/geodesic/mex/gw/gw_core/GW_SmartCounter.inl | joycewangsy/normals_pointnet | fc74a8ed1a009b18785990b1b4c20eda0549721c | [
"MIT"
] | null | null | null | matlab_code/jjcao_code-head/toolbox/jjcao_mesh/geodesic/mex/gw/gw_core/GW_SmartCounter.inl | joycewangsy/normals_pointnet | fc74a8ed1a009b18785990b1b4c20eda0549721c | [
"MIT"
] | null | null | null | /*------------------------------------------------------------------------------*/
/**
* \file GW_SmartCounter.inl
* \brief Inlined methods for \c GW_SmartCounter
* \author Gabriel Peyr?2001-09-12
*/
/*------------------------------------------------------------------------------*/
#include "GW_SmartCounter.h... | 29.21118 | 96 | 0.402296 | joycewangsy |
1cb60bcb0a7f2747bb34edc4ffef8a1ae21c6fac | 415 | cpp | C++ | src/1064b/emm.cpp | lifeich1/play-cf | 7eb6dbb290fcf7935e88d3f090d4af79e7308773 | [
"WTFPL"
] | null | null | null | src/1064b/emm.cpp | lifeich1/play-cf | 7eb6dbb290fcf7935e88d3f090d4af79e7308773 | [
"WTFPL"
] | 8 | 2018-10-15T06:47:19.000Z | 2019-02-15T09:58:02.000Z | src/1064b/emm.cpp | lifeich1/play-cf | 7eb6dbb290fcf7935e88d3f090d4af79e7308773 | [
"WTFPL"
] | null | null | null | //-[
#include "type.h"
//-]
namespace licf {
namespace emm_1064b {
// placeholder
}
}
using namespace licf::emm_1064b;
int emm_1064b(const _in_t & in_, _out_t & out_)
{
int n;
while (in_.read(&n))
{
LL res = 1;
for (; n > 0; n >>= 1)
{
if (n & 1)
{
... | 12.96875 | 47 | 0.414458 | lifeich1 |
1cb6b50ac4e909f6822ded0ee163ee38682adb8b | 1,093 | cpp | C++ | src/lib/cert/cvc/cvc_req.cpp | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | src/lib/cert/cvc/cvc_req.cpp | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | src/lib/cert/cvc/cvc_req.cpp | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | /*
* (C) 2007 FlexSecure GmbH
* 2008-2010 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/cvc_req.h>
#include <botan/cvc_cert.h>
#include <botan/ber_dec.h>
namespace Botan {
bool EAC1_1_Req::operator==(EAC1_1_Req const& rhs) const
{
return (this->tbs_d... | 20.240741 | 70 | 0.651418 | el-forkorama |
1cc139eda2b6b5a9c47ddadf86860934f1467cea | 2,592 | hpp | C++ | lib/core/test/fakelogger.hpp | DanglingPointer/veridie-native | dd75c92617094d20ae34fa2d26fa9b1b5eab54f1 | [
"Apache-2.0"
] | null | null | null | lib/core/test/fakelogger.hpp | DanglingPointer/veridie-native | dd75c92617094d20ae34fa2d26fa9b1b5eab54f1 | [
"Apache-2.0"
] | null | null | null | lib/core/test/fakelogger.hpp | DanglingPointer/veridie-native | dd75c92617094d20ae34fa2d26fa9b1b5eab54f1 | [
"Apache-2.0"
] | null | null | null | #ifndef TESTS_FAKELOGGER_HPP
#define TESTS_FAKELOGGER_HPP
#include "utils/log.hpp"
#include <algorithm>
#include <vector>
class FakeLogger
{
public:
enum class Level
{
DEBUG,
INFO,
WARNING,
ERROR,
FATAL
};
struct LogLine
{
Level lvl;
std::string tag;
st... | 23.142857 | 91 | 0.580247 | DanglingPointer |
1cc2c32fe849253ec5bcaa89abc100f454914d6b | 6,048 | cpp | C++ | code/source/thread_capture.cpp | DEAKSoftware/KFX | 8a759d21a651d9f8acbfef2e3d19b1e8580a74b5 | [
"MIT"
] | null | null | null | code/source/thread_capture.cpp | DEAKSoftware/KFX | 8a759d21a651d9f8acbfef2e3d19b1e8580a74b5 | [
"MIT"
] | null | null | null | code/source/thread_capture.cpp | DEAKSoftware/KFX | 8a759d21a651d9f8acbfef2e3d19b1e8580a74b5 | [
"MIT"
] | null | null | null | /*===========================================================================
Video Capture Thread
Dominik Deak
===========================================================================*/
#ifndef ___THREAD_CAPTURE_CPP___
#define ___THREAD_CAPTURE_CPP___
/*----------------------------------------... | 31.175258 | 144 | 0.430556 | DEAKSoftware |
1cc82007e7d7bf67fbd363d61d85c060a6120404 | 5,276 | cpp | C++ | src/directions/VDWDirection.cpp | XiyuChenFAU/kgs_vibration_entropy | 117c4a3d39ec6285eccc1d3b8e5de9a21db21ec9 | [
"MIT"
] | 1 | 2020-05-23T18:26:14.000Z | 2020-05-23T18:26:14.000Z | src/directions/VDWDirection.cpp | XiyuChenFAU/kgs_vibration_entropy | 117c4a3d39ec6285eccc1d3b8e5de9a21db21ec9 | [
"MIT"
] | 8 | 2017-01-26T19:54:38.000Z | 2021-02-06T16:06:30.000Z | src/directions/VDWDirection.cpp | XiyuChenFAU/kgs_vibration_entropy | 117c4a3d39ec6285eccc1d3b8e5de9a21db21ec9 | [
"MIT"
] | null | null | null | /*
Excited States software: KGS
Contributors: See CONTRIBUTORS.txt
Contact: kgs-contact@simtk.org
Copyright (C) 2009-2017 Stanford University
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 with... | 45.094017 | 115 | 0.682714 | XiyuChenFAU |
1cd27e671a0ca1a0581041df32c1c948f55e5809 | 4,119 | cpp | C++ | src/tanktextures.cpp | Eae02/tank-game | 0c526b177ccc15dd49e3228489163f13335040db | [
"Zlib"
] | null | null | null | src/tanktextures.cpp | Eae02/tank-game | 0c526b177ccc15dd49e3228489163f13335040db | [
"Zlib"
] | null | null | null | src/tanktextures.cpp | Eae02/tank-game | 0c526b177ccc15dd49e3228489163f13335040db | [
"Zlib"
] | null | null | null | #include "tanktextures.h"
#include "exceptions/invalidstateexception.h"
#include "utils/utils.h"
#include "utils/ioutils.h"
#include "graphics/textureloadoperation.h"
namespace TankGame
{
static std::unique_ptr<TankTextures> instance;
class TankTexturesLoadOperation : public IASyncOperation
{
public:
TankTextu... | 49.035714 | 105 | 0.646759 | Eae02 |
1cd2b5bee1b0b729cf337ab461287ad15a9185f9 | 46,483 | cpp | C++ | external/vsomeip/implementation/endpoints/src/tcp_server_endpoint_impl.cpp | lixiaolia/ndk-someip-lib | f4088e87f07e3a6bcec402514bb7ebb77ec946ce | [
"Apache-2.0"
] | 3 | 2021-06-17T14:01:04.000Z | 2022-03-18T09:22:44.000Z | external/vsomeip/implementation/endpoints/src/tcp_server_endpoint_impl.cpp | lixiaolia/ndk-someip-lib | f4088e87f07e3a6bcec402514bb7ebb77ec946ce | [
"Apache-2.0"
] | 1 | 2022-03-15T06:21:33.000Z | 2022-03-28T06:31:12.000Z | external/vsomeip/implementation/endpoints/src/tcp_server_endpoint_impl.cpp | lixiaolia/ndk-someip-lib | f4088e87f07e3a6bcec402514bb7ebb77ec946ce | [
"Apache-2.0"
] | 4 | 2021-06-17T14:12:18.000Z | 2021-12-13T11:53:10.000Z |
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <iomanip>
#include <boost/... | 47.383282 | 148 | 0.553557 | lixiaolia |
1cd624056df2e7aaa352ab483ad1d97874aba4d5 | 2,228 | cpp | C++ | src/code-examples/chapter-04/printing-people/main.cpp | nhatvu148/helpers | 1a6875017cf39790dfe40ecec9dcee4410b1d89e | [
"MIT"
] | null | null | null | src/code-examples/chapter-04/printing-people/main.cpp | nhatvu148/helpers | 1a6875017cf39790dfe40ecec9dcee4410b1d89e | [
"MIT"
] | null | null | null | src/code-examples/chapter-04/printing-people/main.cpp | nhatvu148/helpers | 1a6875017cf39790dfe40ecec9dcee4410b1d89e | [
"MIT"
] | null | null | null |
#include <string>
#include <iostream>
#include <vector>
#include <algorithm>
#include <functional>
#include <fstream>
#include "../../common/person.h"
void print_person(const person_t &person,
std::ostream &out,
person_t::output_format_t format)
{
if (format == person_t::name_... | 27.85 | 72 | 0.474865 | nhatvu148 |
1cdb59d29336c26315412dcf45704dbc2251c68b | 4,803 | cc | C++ | deps/smmr/example/client_server/client_server.cc | xflagstudio/network-bfd-sample | 89a21dd7ff195527fd8c3ce811ed0520acaac6b5 | [
"MIT"
] | 6 | 2017-03-24T08:37:39.000Z | 2020-07-24T08:08:30.000Z | deps/smmr/example/client_server/client_server.cc | xflagstudio/network-bfd-sample | 89a21dd7ff195527fd8c3ce811ed0520acaac6b5 | [
"MIT"
] | null | null | null | deps/smmr/example/client_server/client_server.cc | xflagstudio/network-bfd-sample | 89a21dd7ff195527fd8c3ce811ed0520acaac6b5 | [
"MIT"
] | 2 | 2017-07-17T03:25:34.000Z | 2019-06-09T18:14:15.000Z | #include "smmr_pagedbuffer.h"
#include "smmr_categories.h"
#include "smmr_memory.h"
#include "smmr_database.h"
#include "smmr_tree.h"
#include <sys/types.h>
#include <sys/wait.h>
#define UNUSED(x) (void)(x)
const char *SERVER_MSGKEY = "from_server_to_client";
char SERVER_HELLOW[] = "hellow client.";
const char *CLI... | 34.804348 | 142 | 0.634812 | xflagstudio |
1cdd107e2bbce48e8df7103aa1c0817e30708734 | 985 | cpp | C++ | 09_QueueWithTwoStacks/main09.cpp | HaoliangLi/CodingInterviewChinese2 | c3ae0d7bec404d92dc3f5f395ccefb5455d08eb3 | [
"BSD-3-Clause"
] | null | null | null | 09_QueueWithTwoStacks/main09.cpp | HaoliangLi/CodingInterviewChinese2 | c3ae0d7bec404d92dc3f5f395ccefb5455d08eb3 | [
"BSD-3-Clause"
] | null | null | null | 09_QueueWithTwoStacks/main09.cpp | HaoliangLi/CodingInterviewChinese2 | c3ae0d7bec404d92dc3f5f395ccefb5455d08eb3 | [
"BSD-3-Clause"
] | null | null | null | /***
* @Date: 2021-11-27 17:36:41
* @LastEditors: zjulhl
* @LastEditTime: 2021-11-28 13:25:47
* @Description:
* @FilePath: /CodingInterviewChinese2/09_QueueWithTwoStacks/main09.cpp
*/
#include <stack>
using namespace std;
class CQueue
{
stack<int> stack1, stack2;
public:
CQueue()
{
while (... | 17.589286 | 71 | 0.447716 | HaoliangLi |
1cde2492418251c053d007af77a2e1f334cd06e9 | 228 | hpp | C++ | include/FindTheDifference.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 43 | 2015-10-10T12:59:52.000Z | 2018-07-11T18:07:00.000Z | include/FindTheDifference.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | null | null | null | include/FindTheDifference.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 11 | 2015-10-10T14:41:11.000Z | 2018-07-28T06:03:16.000Z | #ifndef FIND_THE_DIFFERENCE_HPP_
#define FIND_THE_DIFFERENCE_HPP_
#include <string>
using namespace std;
class FindTheDifference {
public:
char findTheDifference(string s, string t);
};
#endif // FIND_THE_DIFFERENCE_HPP_ | 17.538462 | 47 | 0.798246 | yanzhe-chen |
1ce098a977b00d0e57343ab54ff9a2978c182aec | 1,218 | cpp | C++ | Solutions/Longest Valid Parentheses/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | 1 | 2015-04-13T10:58:30.000Z | 2015-04-13T10:58:30.000Z | Solutions/Longest Valid Parentheses/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | Solutions/Longest Valid Parentheses/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int longestValidParentheses(string s) {
int s_size = s.size();
if (s_size <= 1) {
return 0;
}
int *dp = new int [s_size];
for(int i = 0; i < s_size; i++) {
dp[i] = 0;... | 23.882353 | 61 | 0.325123 | Crayzero |
1ce1eaa1c65f735565091b2e87477fb75e979f02 | 2,271 | hpp | C++ | include/Core/Castor3D/Render/ShadowMap/ShadowMapPassPoint.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 245 | 2015-10-29T14:31:45.000Z | 2022-03-31T13:04:45.000Z | include/Core/Castor3D/Render/ShadowMap/ShadowMapPassPoint.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 64 | 2016-03-11T19:45:05.000Z | 2022-03-31T23:58:33.000Z | include/Core/Castor3D/Render/ShadowMap/ShadowMapPassPoint.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 11 | 2018-05-24T09:07:43.000Z | 2022-03-21T21:05:20.000Z | /*
See LICENSE file in root folder
*/
#ifndef ___C3D_SHADOW_MAP_PASS_POINT_H___
#define ___C3D_SHADOW_MAP_PASS_POINT_H___
#include "ShadowMapModule.hpp"
#include "Castor3D/Render/ShadowMap/ShadowMapPass.hpp"
#include "Castor3D/Render/Viewport.hpp"
#include <ashespp/Buffer/UniformBuffer.hpp>
namespace castor3d
{
cl... | 28.037037 | 116 | 0.730956 | Mu-L |
1ce309004a88acddaa5b3abce61c11ee69147d9b | 309 | cpp | C++ | 2_formulas/is_leap.cpp | alphaolomi/cpp-examples | eda9c371ddf4264f2830425c036fd1570b9efda1 | [
"Apache-2.0"
] | null | null | null | 2_formulas/is_leap.cpp | alphaolomi/cpp-examples | eda9c371ddf4264f2830425c036fd1570b9efda1 | [
"Apache-2.0"
] | null | null | null | 2_formulas/is_leap.cpp | alphaolomi/cpp-examples | eda9c371ddf4264f2830425c036fd1570b9efda1 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int year;
cout << "Enter a year: " << endl;
cin >> year;
if ((year % 4) == 0)
{
cout << " Leap Year ";
}
else
{
cout << " Not a Leap Year" << endl;
}
return 0;
}
/*
Enter a year: 2016
Leap Year
*/ | 12.875 | 43 | 0.466019 | alphaolomi |
1ce568a02137152b50ce38760832e528aa88db29 | 3,318 | cpp | C++ | examples/rara.cpp | rodriguescr/libfastlib | b89172ae727cd36f84d0d02359ce635eb11b8472 | [
"BSD-3-Clause-LBNL"
] | null | null | null | examples/rara.cpp | rodriguescr/libfastlib | b89172ae727cd36f84d0d02359ce635eb11b8472 | [
"BSD-3-Clause-LBNL"
] | null | null | null | examples/rara.cpp | rodriguescr/libfastlib | b89172ae727cd36f84d0d02359ce635eb11b8472 | [
"BSD-3-Clause-LBNL"
] | null | null | null | // $Id$
// Author: John Wu <John.Wu at ACM.org> Lawrence Berkeley National Laboratory
// Copyright (c) 2008-2017 the Regents of the University of California
/** @file rara.cpp
This is meant to be the simplest test program for the querying
functions of ibis::query and ibis::part. It accepts the following
f... | 35.677419 | 85 | 0.570223 | rodriguescr |
1ce6121b396bcd37b7818d11901a5a873c67387c | 193 | hpp | C++ | src/linux/linux_platform.hpp | NickCao/ebpf-verifier | ccbfd158ca2b4c24b91c235ce21a1fbd192d458e | [
"Apache-2.0",
"MIT"
] | 181 | 2019-03-12T22:39:25.000Z | 2022-03-28T13:34:35.000Z | src/linux/linux_platform.hpp | NickCao/ebpf-verifier | ccbfd158ca2b4c24b91c235ce21a1fbd192d458e | [
"Apache-2.0",
"MIT"
] | 153 | 2019-02-21T18:44:11.000Z | 2022-03-31T23:22:11.000Z | src/linux/linux_platform.hpp | NickCao/ebpf-verifier | ccbfd158ca2b4c24b91c235ce21a1fbd192d458e | [
"Apache-2.0",
"MIT"
] | 30 | 2019-04-19T18:33:55.000Z | 2022-01-04T19:49:31.000Z | // Copyright (c) Prevail Verifier contributors.
// SPDX-License-Identifier: MIT
#pragma once
EbpfHelperPrototype get_helper_prototype_linux(int32_t n);
bool is_helper_usable_linux(int32_t n);
| 27.571429 | 58 | 0.818653 | NickCao |
1ce74f81493c64aa21f249d0f83e812d93f2f98d | 306 | cpp | C++ | tutorials/learncpp.com#1.0#1/variables_part_ii/enumerated_types/source2.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | tutorials/learncpp.com#1.0#1/variables_part_ii/enumerated_types/source2.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | tutorials/learncpp.com#1.0#1/variables_part_ii/enumerated_types/source2.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | enum Color
{
COLOR_BLACK, // assigned 0
COLOR_RED, // assigned 1
COLOR_BLUE, // assigned 2
COLOR_GREEN, // assigned 3
COLOR_WHITE, // assigned 4
COLOR_CYAN, // assigned 5
COLOR_YELLOW, // assigned 6
COLOR_MAGENTA // assigned 7
};
Color eColor = COLOR_WHITE;
cout << eColor; | 21.857143 | 31 | 0.653595 | officialrafsan |
1ce9df55b36a4a6a72489cde35526546cb787727 | 1,236 | hpp | C++ | src/shuffler.hpp | nikolaimerkel/edgepart | 58b3d57eebd850dfdd7016e90352bddcf840e1f5 | [
"MIT"
] | 21 | 2018-04-19T07:27:18.000Z | 2022-02-23T19:33:04.000Z | src/shuffler.hpp | nikolaimerkel/edgepart | 58b3d57eebd850dfdd7016e90352bddcf840e1f5 | [
"MIT"
] | 1 | 2020-12-30T01:40:51.000Z | 2021-02-20T03:36:17.000Z | src/shuffler.hpp | nikolaimerkel/edgepart | 58b3d57eebd850dfdd7016e90352bddcf840e1f5 | [
"MIT"
] | 9 | 2019-06-19T13:40:57.000Z | 2021-12-09T19:30:50.000Z | #pragma once
#include <string>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "util.hpp"
#include "conversions.hpp"
class Shuffler : public Converter
{
private:
struct work_t {
Shuffler *shuffler;
int nchunks;
std::vector<edge_t> chunk_buf;
void opera... | 26.297872 | 80 | 0.618123 | nikolaimerkel |
1cec0fe776c42b019c1dff63883f60e3d7408525 | 31,587 | cc | C++ | MT_systems/matxin-lex/squoia_xfer_lex.cc | ariosquoia/squoia | 3f3c3c253bdb2d891889e0427790e6c972870f08 | [
"Apache-2.0"
] | 9 | 2016-04-27T16:48:58.000Z | 2021-01-17T21:55:55.000Z | MT_systems/matxin-lex/squoia_xfer_lex.cc | ariosquoia/squoia | 3f3c3c253bdb2d891889e0427790e6c972870f08 | [
"Apache-2.0"
] | null | null | null | MT_systems/matxin-lex/squoia_xfer_lex.cc | ariosquoia/squoia | 3f3c3c253bdb2d891889e0427790e6c972870f08 | [
"Apache-2.0"
] | 6 | 2016-03-29T22:26:50.000Z | 2021-01-17T21:56:21.000Z | /*
* Copyright (C) 2005 IXA Research Group / IXA Ikerkuntza Taldea.
*
* This program 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 2 of the License, or
* (at your option) any later ... | 28.00266 | 134 | 0.629246 | ariosquoia |
1ced0d82f1e0edc30c2e913f425fbac2084d7fd7 | 1,858 | cpp | C++ | Source/Game/MainMenuScene.cpp | nathanlink169/3D-Shaders-Test | 2493fb71664d75100fbb4a80ac70f657a189593d | [
"MIT"
] | null | null | null | Source/Game/MainMenuScene.cpp | nathanlink169/3D-Shaders-Test | 2493fb71664d75100fbb4a80ac70f657a189593d | [
"MIT"
] | null | null | null | Source/Game/MainMenuScene.cpp | nathanlink169/3D-Shaders-Test | 2493fb71664d75100fbb4a80ac70f657a189593d | [
"MIT"
] | null | null | null | #include "CommonHeader.h"
MainMenuScene::MainMenuScene()
{
}
MainMenuScene::~MainMenuScene()
{
}
void MainMenuScene::OnSurfaceChanged(unsigned int aWidth, unsigned int aHeight)
{
Scene::OnSurfaceChanged(aWidth, aHeight);
}
void MainMenuScene::LoadContent()
{
Scene::LoadContent();
CreateCameraObject(); ... | 28.151515 | 213 | 0.684069 | nathanlink169 |
1cf05e916039a1c77ac99a82b67ece7c35271c0c | 756 | cpp | C++ | cpp/bjyd/06/TestGeometricObject2.cpp | skyofsmith/servePractice | d143497ec7c13dcbb55354c9050fd48e5b1c7b51 | [
"MIT"
] | null | null | null | cpp/bjyd/06/TestGeometricObject2.cpp | skyofsmith/servePractice | d143497ec7c13dcbb55354c9050fd48e5b1c7b51 | [
"MIT"
] | 18 | 2020-07-16T21:36:57.000Z | 2022-03-25T18:59:38.000Z | cpp/bjyd/06/TestGeometricObject2.cpp | skyofsmith/servePractice | d143497ec7c13dcbb55354c9050fd48e5b1c7b51 | [
"MIT"
] | null | null | null | #include <iostream>
//#include "AbstractGeometricObject.h"
#include "DerivedCircle2.h"
#include "Rectangle2.h"
using namespace std;
bool equalArea(GeometricObject &object1, GeometricObject &object2)
{
return object1.getArea() == object2.getArea();
}
void displayGeometricObject(GeometricObject &object)
{
cout << "Th... | 22.909091 | 66 | 0.691799 | skyofsmith |
1cf6d96673df89a58ee0fc7bb8581a94ce538a35 | 321 | cxx | C++ | cxx/extends.cxx | coalpha/coalpha.github.io | 8a620314a5c0bcbe2225d29f733379d181534430 | [
"Apache-2.0"
] | null | null | null | cxx/extends.cxx | coalpha/coalpha.github.io | 8a620314a5c0bcbe2225d29f733379d181534430 | [
"Apache-2.0"
] | 1 | 2020-04-12T07:48:18.000Z | 2020-04-12T07:49:29.000Z | cxx/extends.cxx | coalpha/coalpha.github.io | 8a620314a5c0bcbe2225d29f733379d181534430 | [
"Apache-2.0"
] | 1 | 2020-09-30T05:27:07.000Z | 2020-09-30T05:27:07.000Z | #include <type_traits>
using namespace std;
template <typename Base, typename Derived>
using extends = enable_if_t<is_base_of_v<Base, Derived>>;
struct cat{};
struct dog{};
template <typename T, typename = extends<cat, T>>
void only_cats(T) noexcept;
int main() noexcept {
only_cats(cat{});
only_dogs(dog{});
}... | 18.882353 | 57 | 0.719626 | coalpha |
7f2fbcd1d85fa5f4336de189dfc07777ac507a16 | 12,108 | cpp | C++ | src/Sparrow/Sparrow/Implementations/Dftb/Utils/SKPair.cpp | qcscine/sparrow | 387e56ed8da78e10d96861758c509f7c375dcf07 | [
"BSD-3-Clause"
] | 45 | 2019-06-12T20:04:00.000Z | 2022-02-28T21:43:54.000Z | src/Sparrow/Sparrow/Implementations/Dftb/Utils/SKPair.cpp | qcscine/sparrow | 387e56ed8da78e10d96861758c509f7c375dcf07 | [
"BSD-3-Clause"
] | 12 | 2019-06-12T23:53:57.000Z | 2022-03-28T18:35:57.000Z | src/Sparrow/Sparrow/Implementations/Dftb/Utils/SKPair.cpp | qcscine/sparrow | 387e56ed8da78e10d96861758c509f7c375dcf07 | [
"BSD-3-Clause"
] | 11 | 2019-06-22T22:52:51.000Z | 2022-03-11T16:59:59.000Z | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*/
#include "SKPair.h"
#include "SKAtom.h"
#include <Utils/IO/Regex.h>
#include <Utils/Scf/MethodException... | 39.439739 | 131 | 0.631318 | qcscine |
7f33db92718d0e225f767b59142b526a75fdc42c | 605 | cpp | C++ | tests/unit/appc/util/test_option.cpp | cdaylward/libappc | 4f7316b584d92a110198a3f1573c170e5492194c | [
"Apache-2.0"
] | 63 | 2015-01-20T18:35:27.000Z | 2021-11-16T10:53:40.000Z | tests/unit/appc/util/test_option.cpp | Manu343726/libappc | 8d181ef4ee80c8f1bcbf6ca04cf66e04e5e5bc8a | [
"Apache-2.0"
] | 5 | 2015-01-20T17:28:54.000Z | 2015-02-09T17:36:54.000Z | tests/unit/appc/util/test_option.cpp | cdaylward/libappc | 4f7316b584d92a110198a3f1573c170e5492194c | [
"Apache-2.0"
] | 12 | 2015-01-26T04:37:08.000Z | 2020-11-14T02:19:13.000Z | #include "gtest/gtest.h"
#include "appc/util/option.h"
TEST(Option, none_is_false) {
auto none = None<int>();
ASSERT_FALSE(none);
}
TEST(Option, some_is_true) {
auto some = Some(std::string{""});
ASSERT_TRUE(some);
}
TEST(Option, some_is_shared_ptr) {
auto some = Some(std::string(""));
std::shared_ptr<... | 21.607143 | 58 | 0.669421 | cdaylward |
7f34132ef268ccb61428758f166ec384c7d0ad3d | 14,400 | cc | C++ | chrome/browser/ui/views/page_info/permission_selector_row.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/page_info/permission_selector_row.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/page_info/permission_selector_row.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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/ui/views/page_info/permission_selector_row.h"
#include "base/i18n/rtl.h"
#include "base/macros.h"
#include "base/strings/utf... | 38.4 | 80 | 0.702083 | metux |
7f344ec08e017dcdf3c41926a1d07bd06a239b8b | 757 | hpp | C++ | bia/memory/gc/root.hpp | bialang/bia | b54fff096b4fe91ddb0b1d509ea828daa11cee7e | [
"BSD-3-Clause"
] | 2 | 2017-09-09T17:03:18.000Z | 2018-03-02T20:02:02.000Z | bia/memory/gc/root.hpp | terrakuh/Bia | 412b7e8aeb259f4925c3b588f6025760a43cd0b7 | [
"BSD-3-Clause"
] | 7 | 2018-10-11T18:14:19.000Z | 2018-12-26T15:31:04.000Z | bia/memory/gc/root.hpp | terrakuh/Bia | 412b7e8aeb259f4925c3b588f6025760a43cd0b7 | [
"BSD-3-Clause"
] | null | null | null | #ifndef BIA_MEMORY_GC_ROOT_HPP_
#define BIA_MEMORY_GC_ROOT_HPP_
#include <bia/util/gsl.hpp>
#include <cstddef>
#include <memory>
#include <mutex>
namespace bia {
namespace memory {
namespace gc {
class GC;
/// Defines the root for the search tree for the marking phase during garbage collection. This class is not
//... | 18.02381 | 107 | 0.712021 | bialang |
7f379093ec9f642f9797b97b5696ef29a2f9e7dc | 469 | hpp | C++ | archive/stan/src/stan/model/standalone_functions_header.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | archive/stan/src/stan/model/standalone_functions_header.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | archive/stan/src/stan/model/standalone_functions_header.hpp | alashworth/stan-monorepo | 75596bc1f860ededd7b3e9ae9002aea97ee1cd46 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MODEL_STANDALONE_FUNCTIONS_HEADER_HPP
#define STAN_MODEL_STANDALONE_FUNCTIONS_HEADER_HPP
#include <stan/math.hpp>
#include <boost/random/additive_combine.hpp>
#include <stan/io/program_reader.hpp>
#include <stan/lang/rethrow_located.hpp>
#include <stan/model/indexing.hpp>
#include <cmath>
#in... | 22.333333 | 51 | 0.763326 | alashworth |
7f3ebfb97f2fa4678666afd5f2133eaaafbea074 | 1,762 | cc | C++ | thirdparty/jplayer/thirdparty/libde265/libde265/encoder/algo/tb-rateestim.cc | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | 675 | 2019-02-07T01:23:19.000Z | 2022-03-28T05:45:10.000Z | thirdparty/jplayer/thirdparty/libde265/libde265/encoder/algo/tb-rateestim.cc | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | 843 | 2019-01-25T01:06:46.000Z | 2022-03-16T11:15:53.000Z | thirdparty/jplayer/thirdparty/libde265/libde265/encoder/algo/tb-rateestim.cc | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | 83 | 2019-02-20T06:18:46.000Z | 2022-03-20T09:36:09.000Z | /*
* H.265 video codec.
* Copyright (c) 2013-2014 struktur AG, Dirk Farin <farin@struktur.de>
*
* Authors: struktur AG, Dirk Farin <farin@struktur.de>
*
* This file is part of libde265.
*
* libde265 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Li... | 37.489362 | 93 | 0.613507 | Houkime |
7f470ee74bb40907b5c8a97d042ed1ee216e9aef | 74,059 | cc | C++ | lullaby/systems/render/next/render_system_next.cc | jjzhang166/lullaby | d9b11ea811cb5869b46165b9b9537b6063c6cbae | [
"Apache-2.0"
] | null | null | null | lullaby/systems/render/next/render_system_next.cc | jjzhang166/lullaby | d9b11ea811cb5869b46165b9b9537b6063c6cbae | [
"Apache-2.0"
] | null | null | null | lullaby/systems/render/next/render_system_next.cc | jjzhang166/lullaby | d9b11ea811cb5869b46165b9b9537b6063c6cbae | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2017 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 34.542444 | 80 | 0.686439 | jjzhang166 |
7f5039992eb67ceedc2414dfed8e29ad0caf0b2e | 109 | cpp | C++ | sources/shared_ptr.cpp | Denis-Gorbachev/lab-03-shared-ptr | 555967045a5893a0f79507e60e5ccf386335fbe6 | [
"MIT"
] | null | null | null | sources/shared_ptr.cpp | Denis-Gorbachev/lab-03-shared-ptr | 555967045a5893a0f79507e60e5ccf386335fbe6 | [
"MIT"
] | null | null | null | sources/shared_ptr.cpp | Denis-Gorbachev/lab-03-shared-ptr | 555967045a5893a0f79507e60e5ccf386335fbe6 | [
"MIT"
] | null | null | null | // Copyright 2021 Denis <denis.gorbachev2002@yandex.ru>
//#include <stdexcept>
//#include <shared_ptr.hpp>
| 18.166667 | 55 | 0.733945 | Denis-Gorbachev |
7f56ba7b9b0425620218970964694ac78674c346 | 3,703 | cpp | C++ | lib/common/Shader.cpp | ynsn/rendor | b4d9da7ccedd472c7fc6d0155000c5b6a031dd1a | [
"MIT"
] | null | null | null | lib/common/Shader.cpp | ynsn/rendor | b4d9da7ccedd472c7fc6d0155000c5b6a031dd1a | [
"MIT"
] | null | null | null | lib/common/Shader.cpp | ynsn/rendor | b4d9da7ccedd472c7fc6d0155000c5b6a031dd1a | [
"MIT"
] | null | null | null | /**
* MIT License
*
* Copyright (c) 2019 Yoram
*
* 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, m... | 29.15748 | 86 | 0.709155 | ynsn |
7f59467bbebf778457679b5aae0d9fca38b6115d | 578 | cpp | C++ | util/mod_count_in_range.cpp | sekiya9311/CplusplusAlgorithmLibrary | f29dbdfbf3594da055185e39765880ff5d1e64ae | [
"Apache-2.0"
] | null | null | null | util/mod_count_in_range.cpp | sekiya9311/CplusplusAlgorithmLibrary | f29dbdfbf3594da055185e39765880ff5d1e64ae | [
"Apache-2.0"
] | 8 | 2019-04-13T15:11:11.000Z | 2020-03-19T17:14:18.000Z | util/mod_count_in_range.cpp | sekiya9311/CplusplusAlgorithmLibrary | f29dbdfbf3594da055185e39765880ff5d1e64ae | [
"Apache-2.0"
] | null | null | null | // 範囲内のmodごとの数
// [l, r] 閉区間
std::vector<long long> mod_count_in_range(long long left, long long right, int mod) {
const long long range = (right - left + 1);
std::vector<long long> mod_count(mod, range / mod);
if (range % mod > 0) {
const int add_of_rest_left = left % mod;
int add_of_rest_right;
if (... | 28.9 | 85 | 0.610727 | sekiya9311 |
7f5d6320aa10eee491059fc407abd1e679737819 | 366 | cpp | C++ | basic/root.cpp | ray2060/learn-cpp | bcf322d32574e1741a048219acff5697c99b2614 | [
"MIT"
] | null | null | null | basic/root.cpp | ray2060/learn-cpp | bcf322d32574e1741a048219acff5697c99b2614 | [
"MIT"
] | null | null | null | basic/root.cpp | ray2060/learn-cpp | bcf322d32574e1741a048219acff5697c99b2614 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <sstream>
using namespace std;
string root(string s) {
if (s.size() == 1) return s;
int m;
for (int i = 0; i < s.size(); i ++) m += s[i] - 48;
stringstream st;
st << m;
string t;
st >> t;
return root(t);
}
int main() {
string s;
c... | 15.25 | 55 | 0.510929 | ray2060 |
7f5fd23d9e82092bb4d7066d6d588405d98299aa | 23,640 | cpp | C++ | DesignPages/DesignFormPanel.cpp | LibertyWarriorMusic/DBWorks | 4bda411608cecb86f2cfc7f9319b160ed558a853 | [
"MIT"
] | 1 | 2020-03-10T03:26:50.000Z | 2020-03-10T03:26:50.000Z | DesignPages/DesignFormPanel.cpp | LibertyWarriorMusic/DBWorks | 4bda411608cecb86f2cfc7f9319b160ed558a853 | [
"MIT"
] | 1 | 2020-03-20T05:16:14.000Z | 2020-03-20T05:17:25.000Z | DesignPages/DesignFormPanel.cpp | LibertyWarriorMusic/DBWorks | 4bda411608cecb86f2cfc7f9319b160ed558a853 | [
"MIT"
] | null | null | null | //
// DrawPan.cpp
// P2
//
// Created by Nicholas Zounis on 27/2/20.
//
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/button.h>
#include <wx/string.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/... | 32.383562 | 167 | 0.677876 | LibertyWarriorMusic |
7f60bb0f944ba4d08ab554d599ac5ea4d433bb12 | 19,513 | cc | C++ | Archive/Stroika_FINAL_for_STERL_1992/Library/Graphix/Sources/Shape.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Archive/Stroika_FINAL_for_STERL_1992/Library/Graphix/Sources/Shape.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Archive/Stroika_FINAL_for_STERL_1992/Library/Graphix/Sources/Shape.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */
/*
* $Header: /fuji/lewis/RCS/Shape.cc,v 1.7 1992/09/11 18:41:55 sterling Exp $
*
* TODO:
*
* - Desperately need the ability to scale shapes - probably shouyld add general
* transform capabilty - at least scale, etc..
*
* Changes:
... | 25.810847 | 129 | 0.656178 | SophistSolutions |
7f64675a48af53579e50b10fcf74a2893e7bf43b | 730 | cc | C++ | ash/quick_pair/common/account_key_failure.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/quick_pair/common/account_key_failure.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/quick_pair/common/account_key_failure.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/quick_pair/common/account_key_failure.h"
namespace ash {
namespace quick_pair {
std::ostream& operator<<(std::ostream& stream, AccountKeyF... | 28.076923 | 75 | 0.730137 | zealoussnow |
7f648ca329c34393391088b306750f82f8dc4b08 | 5,949 | cpp | C++ | mbed-glove-firmware/sensor_tests.cpp | apadin1/Team-GLOVE | d5f5134da79d050164dffdfdf87f12504f6b1370 | [
"Apache-2.0"
] | null | null | null | mbed-glove-firmware/sensor_tests.cpp | apadin1/Team-GLOVE | d5f5134da79d050164dffdfdf87f12504f6b1370 | [
"Apache-2.0"
] | null | null | null | mbed-glove-firmware/sensor_tests.cpp | apadin1/Team-GLOVE | d5f5134da79d050164dffdfdf87f12504f6b1370 | [
"Apache-2.0"
] | 1 | 2019-01-09T05:16:42.000Z | 2019-01-09T05:16:42.000Z | /*
* Copyright (c) 2016 by Nick Bertoldi, Ben Heckathorn, Ryan O'Keefe,
* Adrian Padin, Timothy Schumacher
*
* 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 withou... | 25.207627 | 109 | 0.593713 | apadin1 |
7f65000118ec2d9709cec5f5792f3d4512aeba66 | 1,607 | hpp | C++ | src/component/symbol_table.hpp | aabaa/mizcore | 5542f080278d79a993df741bd3bf3daa24ac28f9 | [
"MIT"
] | 1 | 2020-11-17T12:47:29.000Z | 2020-11-17T12:47:29.000Z | src/component/symbol_table.hpp | aabaa/mizcore | 5542f080278d79a993df741bd3bf3daa24ac28f9 | [
"MIT"
] | null | null | null | src/component/symbol_table.hpp | aabaa/mizcore | 5542f080278d79a993df741bd3bf3daa24ac28f9 | [
"MIT"
] | 2 | 2020-02-28T09:19:45.000Z | 2020-02-28T09:26:17.000Z | #pragma once
#include <map>
#include <memory>
#include <string>
#include <string_view>
#include <vector>
#include "symbol_type.hpp"
#include "tsl/htrie_map.h"
namespace mizcore {
class Symbol;
class SymbolTable
{
public:
// ctor, dtor
SymbolTable();
virtual ~SymbolTable() = default;
SymbolTable(... | 27.237288 | 78 | 0.676416 | aabaa |
7f6e05b69da4a03db5b0fa024ad65f9d7d59f3ae | 1,312 | cpp | C++ | src/Compiler/CodeGen/For.cpp | BenjaminNavarro/Feral | 579411c36a1cc66f96fcda1b82e3259e22022ac2 | [
"BSD-3-Clause"
] | null | null | null | src/Compiler/CodeGen/For.cpp | BenjaminNavarro/Feral | 579411c36a1cc66f96fcda1b82e3259e22022ac2 | [
"BSD-3-Clause"
] | null | null | null | src/Compiler/CodeGen/For.cpp | BenjaminNavarro/Feral | 579411c36a1cc66f96fcda1b82e3259e22022ac2 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2020, Electrux
All rights reserved.
Using the BSD 3-Clause license for the project,
main LICENSE file resides in project's root directory.
Please read that file and understand the license terms
before using or altering the project.
*/
#include "Internal.hpp"
bool stmt_for_t::gen_code( bcode_t &... | 25.230769 | 99 | 0.664634 | BenjaminNavarro |
7f7265728b572c76da1e29ebe58b29a88f345161 | 2,169 | cpp | C++ | src/core/features/defuse.cpp | mov-rax-rax/gamesneeze | 09b2d9d6ef5b6ad7c9c820f98f1a6339bf1405a1 | [
"MIT"
] | 1 | 2022-01-13T07:05:26.000Z | 2022-01-13T07:05:26.000Z | src/core/features/defuse.cpp | mov-rax-rax/gamesneeze | 09b2d9d6ef5b6ad7c9c820f98f1a6339bf1405a1 | [
"MIT"
] | null | null | null | src/core/features/defuse.cpp | mov-rax-rax/gamesneeze | 09b2d9d6ef5b6ad7c9c820f98f1a6339bf1405a1 | [
"MIT"
] | 1 | 2021-12-31T13:02:42.000Z | 2021-12-31T13:02:42.000Z | #include "../../includes.hpp"
#include "features.hpp"
void Features::Defuse::createMoveStart(Command *cmd) {
auto autoDefuse = CONFIGBOOL("Misc>Misc>Misc>Auto Defuse");
auto silentDefuse = CONFIGBOOL("Misc>Misc>Misc>Silent Defuse");
auto antiAiming = CONFIGINT("Rage>AntiAim>Type") != 0;
if (!(autoDefu... | 30.549296 | 154 | 0.632089 | mov-rax-rax |
7f771b35efe4c9619b2da87401e3ab7679742766 | 3,159 | hpp | C++ | packages/monte_carlo/core/src/MonteCarlo_AdjointPhotonProbeState.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/monte_carlo/core/src/MonteCarlo_AdjointPhotonProbeState.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/monte_carlo/core/src/MonteCarlo_AdjointPhotonProbeState.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file MonteCarlo_AdjointPhotonProbeState.hpp
//! \author Alex Robinson
//! \brief Adjoint photon probe state class declaration
//!
//---------------------------------------------------------------------------//
#ifndef MONTE_CAR... | 30.375 | 90 | 0.686926 | bam241 |
7f7a350edbf1b381dbd5d2994a11701cbd83b77b | 3,015 | cpp | C++ | Ejercicios/Ejercicio44-Punto-de-Venta-parte-V/productos.cpp | DanielaVH/cpp | c54c853681cdd46d85172546b14019ed48909999 | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio44-Punto-de-Venta-parte-V/productos.cpp | DanielaVH/cpp | c54c853681cdd46d85172546b14019ed48909999 | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio44-Punto-de-Venta-parte-V/productos.cpp | DanielaVH/cpp | c54c853681cdd46d85172546b14019ed48909999 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
extern void agregarProducto(string descripcion, int cantidad, double precio);
void productos(int opcion)
{
system("cls");
int opcionProducto = 0;
switch (opcion)
{
case 1:
{
cout << "BEBIDAS CALIENTES" << endl;
cout << "******************" << endl;
... | 22.333333 | 78 | 0.448093 | DanielaVH |
7f7eb0c1e0f936d0f4e7a2690c69c17e9e1d80e0 | 5,504 | cpp | C++ | tests/bint_div.cpp | mrdcvlsc/bintlib | 9290f779eb50101bd35b00148eea94c5c30dcc61 | [
"MIT"
] | 2 | 2020-10-30T06:39:01.000Z | 2020-10-31T02:18:00.000Z | tests/bint_div.cpp | mrdcvlsc/bintlib | 9290f779eb50101bd35b00148eea94c5c30dcc61 | [
"MIT"
] | 2 | 2020-10-30T06:49:01.000Z | 2020-10-31T11:12:42.000Z | tests/bint_div.cpp | mrdcvlsc/bintlib | 9290f779eb50101bd35b00148eea94c5c30dcc61 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#ifndef _MAKE_LIB
#include "../core.hpp"
#else
#include <bint.hpp>
#endif
#include "mini-test.hpp"
int main() { START_TEST;
// test variables
apa::bint ONE = 1, ZERO = 0;
apa::bint NUM1(
"0x19cf0546f6a3fc1e93d8dbda5ea2889551cb7248d21125fbf60... | 45.866667 | 90 | 0.646802 | mrdcvlsc |
7f7fd0a272828d9329a064393a4fb8097fcfcaf6 | 2,850 | cpp | C++ | ardupilot/libraries/AP_BattMonitor/AP_BattMonitor_SMBus_PX4.cpp | quadrotor-IITKgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | 1 | 2021-07-17T11:37:16.000Z | 2021-07-17T11:37:16.000Z | ardupilot/libraries/AP_BattMonitor/AP_BattMonitor_SMBus_PX4.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | ardupilot/libraries/AP_BattMonitor/AP_BattMonitor_SMBus_PX4.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | /*
Battery SMBus PX4 driver
*/
/*
This program 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.
This program is distributed ... | 31.318681 | 137 | 0.669825 | quadrotor-IITKgp |
7f8142b6435655dade52964f1658b48d4b45c721 | 276 | hpp | C++ | tools/editor/utils.hpp | ijacquez/SMT-DS-SH | 6fe6c15b76fb74ecb5bbb735139aa5791d79fcb8 | [
"MIT"
] | 6 | 2015-10-03T20:51:04.000Z | 2019-10-21T04:19:06.000Z | tools/editor/utils.hpp | ijacquez/SMT-DS-SH | 6fe6c15b76fb74ecb5bbb735139aa5791d79fcb8 | [
"MIT"
] | null | null | null | tools/editor/utils.hpp | ijacquez/SMT-DS-SH | 6fe6c15b76fb74ecb5bbb735139aa5791d79fcb8 | [
"MIT"
] | null | null | null | #ifndef UTILS_HPP
#define UTILS_HPP
#include "jansson.h"
#define BIG2LE_16(x) (((x) & 0x00FF) << 8) | (((x) >> 8) & 0x00FF)
#define BIG2LE_32(x) (BIG2LE_16((x) & 0x0000FFFF) << 16) | \
BIG2LE_16(((x) >> 16) & 0x0000FFFF)
#endif /* !UTILS_HPP */
| 25.090909 | 80 | 0.547101 | ijacquez |
7f83d6e4766ea81b9e559b467aa37682d6ef14dc | 10,242 | cc | C++ | tls/src/params.cc | centreon-lab/centreon-broker | b412470204eedc01422bbfd00bcc306dfb3d2ef5 | [
"Apache-2.0"
] | 40 | 2015-03-10T07:55:39.000Z | 2021-06-11T10:13:56.000Z | tls/src/params.cc | centreon-lab/centreon-broker | b412470204eedc01422bbfd00bcc306dfb3d2ef5 | [
"Apache-2.0"
] | 297 | 2015-04-30T10:02:04.000Z | 2022-03-09T13:31:54.000Z | tls/src/params.cc | centreon-lab/centreon-broker | b412470204eedc01422bbfd00bcc306dfb3d2ef5 | [
"Apache-2.0"
] | 29 | 2015-08-03T10:04:15.000Z | 2021-11-25T12:21:00.000Z | /*
** Copyright 2009-2013,2021 Centreon
**
** 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 agr... | 33.03871 | 80 | 0.647335 | centreon-lab |
7f872e524a56490cc8fea1da694a27bdc9480b4a | 296 | cpp | C++ | main.cpp | RoliSoft/Obfuscation-Tunnel | cbd31a1c80a7bd5b51057e1a976628727fc8987e | [
"BSD-2-Clause"
] | 11 | 2020-09-15T11:59:41.000Z | 2022-02-11T16:49:08.000Z | main.cpp | RoliSoft/Obfuscation-Tunnel | cbd31a1c80a7bd5b51057e1a976628727fc8987e | [
"BSD-2-Clause"
] | 2 | 2021-11-13T12:38:01.000Z | 2021-12-06T01:38:07.000Z | main.cpp | RoliSoft/Obfuscation-Tunnel | cbd31a1c80a7bd5b51057e1a976628727fc8987e | [
"BSD-2-Clause"
] | 2 | 2021-08-12T07:43:16.000Z | 2021-08-23T00:12:20.000Z | #include "factory.cpp"
int main(int argc, char* argv[])
{
signal(SIGINT, sig_handler);
struct session session;
int ret = parse_arguments(argc, argv, &session);
if (ret == EXIT_SUCCESS || ret == EXIT_FAILURE)
{
return ret;
}
return run_session(&session);
}
| 17.411765 | 52 | 0.618243 | RoliSoft |
7f8da4f6e297a835989c59cdb729061244ed91ea | 401 | cpp | C++ | vjezbe3/zadatak2/main.cpp | Miillky/objektno_orijentirano_programiranje | b41fe690c25a73acd09aff5606524b9e43f0b38a | [
"MIT"
] | null | null | null | vjezbe3/zadatak2/main.cpp | Miillky/objektno_orijentirano_programiranje | b41fe690c25a73acd09aff5606524b9e43f0b38a | [
"MIT"
] | null | null | null | vjezbe3/zadatak2/main.cpp | Miillky/objektno_orijentirano_programiranje | b41fe690c25a73acd09aff5606524b9e43f0b38a | [
"MIT"
] | null | null | null | // Prošlu strukturu i funkcije implementirajte u zasebnoj datoteci zaglavlja i implementacije(kompleksniBroj.hpp i KompleksniBroj.cpp)
// U glavnoj datoteci includajte vašu datoteku i prikažite korištenje strukture i pripadnih funkcija.
#include <iostream>
#include "KompleksniBroj.hpp"
int main(){
prikaziKompleks... | 40.1 | 134 | 0.783042 | Miillky |
7f91fcd150dfc74048f2f3e4c806d85457f6bb95 | 50 | hpp | C++ | include/JsonLoader.hpp | 0x0015/CP2DG | ae919b15dc06631171116b927ff46d7d98da4dd9 | [
"MIT"
] | 2 | 2021-10-06T03:11:06.000Z | 2022-01-06T18:53:43.000Z | include/JsonLoader.hpp | 0x0015/CP2DG | ae919b15dc06631171116b927ff46d7d98da4dd9 | [
"MIT"
] | null | null | null | include/JsonLoader.hpp | 0x0015/CP2DG | ae919b15dc06631171116b927ff46d7d98da4dd9 | [
"MIT"
] | null | null | null | #pragma once
#include "JsonLoader/JsonLoader.hpp"
| 16.666667 | 36 | 0.8 | 0x0015 |
7f94b0353c36e3bed4d29bfca747840bde03bc43 | 9,396 | cpp | C++ | test/test_core_estimator.cpp | accosmin/libnan | a47c28f22df2c0943697dccb007de946090c7705 | [
"MIT"
] | null | null | null | test/test_core_estimator.cpp | accosmin/libnan | a47c28f22df2c0943697dccb007de946090c7705 | [
"MIT"
] | null | null | null | test/test_core_estimator.cpp | accosmin/libnan | a47c28f22df2c0943697dccb007de946090c7705 | [
"MIT"
] | null | null | null | #include <fstream>
#include <utest/utest.h>
#include "fixture/enum.h"
#include <nano/core/stream.h>
#include <nano/core/estimator.h>
using namespace nano;
static auto to_string(const estimator_t& estimator)
{
std::ostringstream stream;
UTEST_REQUIRE_NOTHROW(estimator.write(stream));
UTEST_REQUIRE(stream);... | 32.4 | 112 | 0.70083 | accosmin |
7f94c3b7cd19f83bf8b6492a094d92257be28f5e | 718 | cpp | C++ | stable.cpp | okosan/AStar | 867da5417a97cafd620db9016c8b0efb399b139c | [
"MIT"
] | 4 | 2016-11-11T10:50:07.000Z | 2021-04-01T10:06:51.000Z | stable.cpp | okosan/AStar | 867da5417a97cafd620db9016c8b0efb399b139c | [
"MIT"
] | 1 | 2020-02-11T15:47:43.000Z | 2020-02-11T15:47:43.000Z | stable.cpp | okosan/AStar | 867da5417a97cafd620db9016c8b0efb399b139c | [
"MIT"
] | 1 | 2017-10-23T07:24:55.000Z | 2017-10-23T07:24:55.000Z | #include "stable.h"
void xfBeep(int freq, int duration)
{
std::printf ("beeping!!!");
}
bool xfBetween(double val, double val1, double val2)
{
if (val1<val2)
{
if ((val >= val1) && (val <= val2))
return true;
return false;
}
else
{
if ((v... | 17.95 | 57 | 0.448468 | okosan |
7f967881b38f927953ac0ffa7aca6fae3a2413f8 | 663 | cpp | C++ | Programming-Contest/Number Theory/BSGS.cpp | ar-pavel/Code-Library | 2d1b952231c1059bbf98d85d2c23fd8fb21b455c | [
"MIT"
] | null | null | null | Programming-Contest/Number Theory/BSGS.cpp | ar-pavel/Code-Library | 2d1b952231c1059bbf98d85d2c23fd8fb21b455c | [
"MIT"
] | null | null | null | Programming-Contest/Number Theory/BSGS.cpp | ar-pavel/Code-Library | 2d1b952231c1059bbf98d85d2c23fd8fb21b455c | [
"MIT"
] | null | null | null | /*
Shnak's Baby-Step-giant-Step Algorithm
a^x = b (mod m)
return the power x where a , b , m given
*/
#define mod 100000007
ll solve (ll a, ll b, ll m)
{
ll n = (ll) sqrt (m + .0) + 1 , an = 1 , curr ;
rep(i,n) an = (an * a) % m;
map<ll,ll> vals;
curr = an ;
For(i,n){
if ( !vals.count(curr) ) vals[ curr ... | 21.387097 | 76 | 0.523379 | ar-pavel |
7f99b358e33664d4255b10c28de67d0b5d3f8ca5 | 6,590 | cc | C++ | chrome/browser/chromeos/status/clock_menu_button.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-02-20T14:25:04.000Z | 2019-12-13T13:58:28.000Z | chrome/browser/chromeos/status/clock_menu_button.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | chrome/browser/chromeos/status/clock_menu_button.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2020-01-12T00:55:53.000Z | 2020-11-04T06:36:41.000Z | // Copyright (c) 2011 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/chromeos/status/clock_menu_button.h"
#include "base/i18n/time_formatting.h"
#include "base/string_util.h"
#include "base/tim... | 35.240642 | 80 | 0.667527 | SlimKatLegacy |
7f9b48ea988e27f03c7214538543556df8cbbc24 | 4,133 | cpp | C++ | deps/MFEM/ComputeFemMassMatrix1/ComputeFemMassMatrixMfem.cpp | kailaix/AdFem.jl | 77eabfeedb297570a42d1f26575c59f0712796d9 | [
"MIT"
] | 47 | 2020-10-18T01:33:11.000Z | 2022-03-16T00:13:24.000Z | deps/MFEM/ComputeFemMassMatrix1/ComputeFemMassMatrixMfem.cpp | kailaix/AdFem.jl | 77eabfeedb297570a42d1f26575c59f0712796d9 | [
"MIT"
] | 10 | 2020-10-19T03:51:31.000Z | 2022-03-22T23:38:46.000Z | deps/MFEM/ComputeFemMassMatrix1/ComputeFemMassMatrixMfem.cpp | kailaix/AdFem.jl | 77eabfeedb297570a42d1f26575c59f0712796d9 | [
"MIT"
] | 11 | 2020-11-05T11:34:16.000Z | 2022-03-03T19:30:09.000Z | #include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/framework/tensor_shape.h"
#include "tensorflow/core/platform/default/logging.h"
#include "tensorflow/core/framework/shape_inference.h"
#include<cmath>
// Signatures for GPU kernels here
using namespace tensorflow;
#include "ComputeFemMassMat... | 28.503448 | 113 | 0.66586 | kailaix |
7f9ca1a35e2ae5f8187a902da1f17182140c90ad | 364 | cpp | C++ | src/codepulsar/pulsar/Parser.cpp | FireTheLost/JPulse | 1c462ef4c605bd844a4a5fb9a28a4e91233286be | [
"MIT"
] | null | null | null | src/codepulsar/pulsar/Parser.cpp | FireTheLost/JPulse | 1c462ef4c605bd844a4a5fb9a28a4e91233286be | [
"MIT"
] | null | null | null | src/codepulsar/pulsar/Parser.cpp | FireTheLost/JPulse | 1c462ef4c605bd844a4a5fb9a28a4e91233286be | [
"MIT"
] | null | null | null | #include "Parser.h"
Pulsar::Parser::Parser(std::string sourceCode) {
this->sourceCode = sourceCode;
}
void Pulsar::Parser::parse() {
Pulsar::Lexer lexer = Lexer(this->sourceCode);
this->tokens = lexer.tokenize();
this->errors = lexer.getErrors();
if (this->errors->hasError()) return;
Pulsar:... | 24.266667 | 53 | 0.67033 | FireTheLost |
7f9d164d35bb5249e38b5ed62e3ebc8530c727ff | 2,193 | cpp | C++ | ex1/ex1/osm.cpp | nadavWeisler/OperatingSystems | 8735cb6c7d124c63eba8d03d0654477daefeee9b | [
"MIT"
] | null | null | null | ex1/ex1/osm.cpp | nadavWeisler/OperatingSystems | 8735cb6c7d124c63eba8d03d0654477daefeee9b | [
"MIT"
] | 3 | 2021-08-09T11:19:23.000Z | 2021-08-09T11:19:36.000Z | ex1/ex1/osm.cpp | nadavWeisler/OperatingSystems | 8735cb6c7d124c63eba8d03d0654477daefeee9b | [
"MIT"
] | null | null | null | //
// Created by weisler on 06/04/2021.
//
#include <iostream>
#include "osm.h"
#include <sys/time.h>
/**
* An empty function
*/
void empty_func() {}
long get_nano(struct timeval t) {
return ((t.tv_sec * 1000000 + t.tv_usec) * 1000);
}
double osm_operation_time(unsigned int iterations) {
if (iterations == ... | 22.84375 | 86 | 0.562699 | nadavWeisler |
7f9e377060e22224456bd298051adcc9ff9abad8 | 3,855 | cpp | C++ | modules/vulkan/src/codegen/ops/copy.cpp | xhuohai/nncase | cf7921c273c7446090939c64f57ef783a62bf29c | [
"Apache-2.0"
] | 510 | 2018-12-29T06:49:36.000Z | 2022-03-30T08:36:29.000Z | modules/vulkan/src/codegen/ops/copy.cpp | xhuohai/nncase | cf7921c273c7446090939c64f57ef783a62bf29c | [
"Apache-2.0"
] | 459 | 2019-02-17T13:31:29.000Z | 2022-03-31T05:55:38.000Z | modules/vulkan/src/codegen/ops/copy.cpp | xhuohai/nncase | cf7921c273c7446090939c64f57ef783a62bf29c | [
"Apache-2.0"
] | 155 | 2019-04-16T08:43:24.000Z | 2022-03-21T07:27:26.000Z | /* Copyright 2019-2021 Canaan Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 31.598361 | 103 | 0.664591 | xhuohai |
7fa1e787c8778f1a507ab8190f389c33830a6b02 | 1,229 | cpp | C++ | src/color.cpp | yudhik11/OpenGL-LOZ | c1add7b09df2b99e1c82c21b56ba18b1cf7c4846 | [
"MIT"
] | 1 | 2019-08-29T02:01:20.000Z | 2019-08-29T02:01:20.000Z | src/color.cpp | yudhik11/OpenGL-LOZ | c1add7b09df2b99e1c82c21b56ba18b1cf7c4846 | [
"MIT"
] | null | null | null | src/color.cpp | yudhik11/OpenGL-LOZ | c1add7b09df2b99e1c82c21b56ba18b1cf7c4846 | [
"MIT"
] | null | null | null | #include "main.h"
const color_t COLOR_BLACK = { 52, 73, 94 };
const color_t COLOR_BACKGROUND = { 153, 235, 255 };
const color_t COLOR_BLUE = { 0, 138, 230 };
// const color_a COLOR_ABLUE = { 0, 138, 230, 0.3 };
const color_t COLOR_CUBE1 = { 128, 43, 0 };
const color_t COLOR_CUBE2 = { 204, 68, 0 };
const color_t COLOR_... | 40.966667 | 52 | 0.673718 | yudhik11 |
7fa8f3fdf2ebb64ccf08c6ec947b368c0a81c2ee | 832 | hpp | C++ | src/util.hpp | triton/cc-wrapper | 4be147e091897efc080691567034127dfafd75b9 | [
"Apache-2.0"
] | 1 | 2018-09-27T05:08:35.000Z | 2018-09-27T05:08:35.000Z | src/util.hpp | triton/cc-wrapper | 4be147e091897efc080691567034127dfafd75b9 | [
"Apache-2.0"
] | null | null | null | src/util.hpp | triton/cc-wrapper | 4be147e091897efc080691567034127dfafd75b9 | [
"Apache-2.0"
] | 3 | 2017-12-24T22:07:05.000Z | 2020-11-26T01:20:16.000Z | #pragma once
#include <algorithm>
#include <nonstd/optional.hpp>
#include <nonstd/span.hpp>
#include <nonstd/string_view.hpp>
namespace cc_wrapper {
namespace util {
namespace detail {
char *append(char *out, nonstd::string_view str);
nonstd::string_view removeTrailing(nonstd::string_view path);
} // namespace deta... | 27.733333 | 75 | 0.725962 | triton |
7fa980e5f37645bb45d89cee4ca0ef72ef949387 | 2,003 | cpp | C++ | Programming and Algorithm/High Level Programming Language 2/mydeque/src/myIterator.cpp | Lan-Jing/Courses | 540db9499b8725ca5b82a2c4e7a3da09f73c0efa | [
"MIT"
] | 1 | 2021-12-17T23:09:00.000Z | 2021-12-17T23:09:00.000Z | Programming and Algorithm/High Level Programming Language 2/mydeque/src/myIterator.cpp | Lan-Jing/Courses | 540db9499b8725ca5b82a2c4e7a3da09f73c0efa | [
"MIT"
] | null | null | null | Programming and Algorithm/High Level Programming Language 2/mydeque/src/myIterator.cpp | Lan-Jing/Courses | 540db9499b8725ca5b82a2c4e7a3da09f73c0efa | [
"MIT"
] | 1 | 2021-08-03T23:42:06.000Z | 2021-08-03T23:42:06.000Z | #include "myIterator.hpp"
myIterator& myIterator::operator = (const myIterator &iter){
this->setPtr(iter.showPtr());
this->setDequePos(iter.showDequePos());
this->setBlockPos(iter.showBlockPos());
this->setMode(iter.showMode());
return (*this);
}
bool myIterator::operator == (const myIterator &ite... | 30.815385 | 65 | 0.558662 | Lan-Jing |
7fadd9c58dde2e49eff7ac12fa64aafa57440a02 | 894 | cpp | C++ | ports/biology/diamond/dragonfly/patch-src_util_system_system.cpp | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2015-02-06T17:06:37.000Z | 2022-03-08T19:53:28.000Z | ports/biology/diamond/dragonfly/patch-src_util_system_system.cpp | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 236 | 2015-06-29T19:51:17.000Z | 2021-12-16T22:46:38.000Z | ports/biology/diamond/dragonfly/patch-src_util_system_system.cpp | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 52 | 2015-02-06T17:05:36.000Z | 2021-10-21T12:13:06.000Z | --- src/util/system/system.cpp.orig 2021-02-12 11:50:56 UTC
+++ src/util/system/system.cpp
@@ -16,7 +16,7 @@
#include <fcntl.h>
#include <unistd.h>
#ifndef __APPLE__
- #ifdef __FreeBSD__
+ #if defined(__FreeBSD__) || defined(__DragonFly__)
#include <sys/types.h>
#include <sys/sysctl.h>
... | 27.090909 | 59 | 0.649888 | liweitianux |
7fb117bc0fa66fc32423df42dc26bf922768b159 | 4,503 | cpp | C++ | Classes/DroneSystem.cpp | InversePalindrome/Apophis | c2bb39e87d63cb51bc67f8e3682d84b3b4f970c8 | [
"MIT"
] | 7 | 2018-08-20T17:28:29.000Z | 2020-09-05T15:19:31.000Z | Classes/DroneSystem.cpp | InversePalindrome/JATR66 | c2bb39e87d63cb51bc67f8e3682d84b3b4f970c8 | [
"MIT"
] | null | null | null | Classes/DroneSystem.cpp | InversePalindrome/JATR66 | c2bb39e87d63cb51bc67f8e3682d84b3b4f970c8 | [
"MIT"
] | 1 | 2019-12-25T12:02:03.000Z | 2019-12-25T12:02:03.000Z | /*
Copyright (c) 2018 Inverse Palindrome
Apophis - DroneSystem.cpp
InversePalindrome.com
*/
#include "DroneSystem.hpp"
#include "ObjectComponent.hpp"
#include "SteeringBehaviors.hpp"
#include "TransformComponent.hpp"
DroneSystem::DroneSystem(entityx::EntityManager& entityManager, entityx::EventManager& eventManager... | 58.480519 | 315 | 0.641794 | InversePalindrome |
7fb4ce55e05517579f0901da106a1f7879d017ec | 11,238 | cpp | C++ | thirdparty/cgicc/cgicc/CgiEnvironment.cpp | rockchip-linux/ipcweb-backend | 1885a61babe060c16a84c172712146d4206361df | [
"BSD-3-Clause"
] | 1 | 2021-09-16T02:56:35.000Z | 2021-09-16T02:56:35.000Z | thirdparty/cgicc/cgicc/CgiEnvironment.cpp | rockchip-linux/ipcweb-backend | 1885a61babe060c16a84c172712146d4206361df | [
"BSD-3-Clause"
] | 1 | 2021-07-08T03:34:02.000Z | 2021-07-08T03:34:02.000Z | thirdparty/cgicc/cgicc/CgiEnvironment.cpp | rockchip-linux/ipcweb-backend | 1885a61babe060c16a84c172712146d4206361df | [
"BSD-3-Clause"
] | 2 | 2021-08-24T05:38:18.000Z | 2021-09-16T02:56:39.000Z | /* -*-mode:c++; c-file-style: "gnu";-*- */
/*
* $Id: CgiEnvironment.cpp,v 1.31 2017/06/22 20:26:35 sebdiaz Exp $
*
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org>
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com>
* Part of the GNU cgicc library, http://www.gnu.org/software/cgi... | 30.873626 | 120 | 0.69354 | rockchip-linux |
7fba04bc263e96728d4aed53624ee7aa4159f8d4 | 700 | cpp | C++ | src/components/RenderableComponent.cpp | SgtCoDFish/obelisk | 8ff736a720f2604c7990477791cb5a983271f66a | [
"CC0-1.0",
"MIT"
] | 1 | 2018-10-03T20:46:57.000Z | 2018-10-03T20:46:57.000Z | src/components/RenderableComponent.cpp | SgtCoDFish/obelisk | 8ff736a720f2604c7990477791cb5a983271f66a | [
"CC0-1.0",
"MIT"
] | null | null | null | src/components/RenderableComponent.cpp | SgtCoDFish/obelisk | 8ff736a720f2604c7990477791cb5a983271f66a | [
"CC0-1.0",
"MIT"
] | null | null | null | #include <utility>
#include "components/RenderableComponent.hpp"
namespace obelisk {
RenderableComponent::RenderableComponent(APG::SpriteBase *sprite) :
sprite{sprite} {
}
RenderableComponent::RenderableComponent(APG::SpriteBase *sprite, APG::SpriteBase *secondary) :
sprite{sprite},
secondary{secondary} {
ca... | 23.333333 | 95 | 0.734286 | SgtCoDFish |
7fba614ab0a0ff114d06c1bae69dbcb7ad3a6ca3 | 842 | cpp | C++ | AdjMatrix.cpp | RadheTians/Data-Structre | c4ee2d2592ce0eec3bb3f6a582542bb8307220d9 | [
"MIT"
] | 2 | 2019-09-23T15:17:15.000Z | 2019-10-15T04:17:07.000Z | AdjMatrix.cpp | RadheTians/Data-Structre | c4ee2d2592ce0eec3bb3f6a582542bb8307220d9 | [
"MIT"
] | null | null | null | AdjMatrix.cpp | RadheTians/Data-Structre | c4ee2d2592ce0eec3bb3f6a582542bb8307220d9 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
class AdjMatrix
{
private:
int v;
int adj[10][10];
public:
AdjMatrix(int);
~AdjMatrix();
void addPath(int,int);
void print();
};
AdjMatrix::AdjMatrix(int v)
{
this->v = v;
for(int i=0;i<v;i++)
for(int j=0;j<v;j++)
adj[i][... | 16.84 | 42 | 0.508314 | RadheTians |
7fbb8db6cf319ae805704b3c86a1771c8c3a6f12 | 648 | cpp | C++ | src/public/src/FM7/util/rawReadToD77/main.cpp | rothberg-cmu/rothberg-run | a42df5ca9fae97de77753864f60d05295d77b59f | [
"MIT"
] | 1 | 2019-08-10T00:24:09.000Z | 2019-08-10T00:24:09.000Z | src/public/src/FM7/util/rawReadToD77/main.cpp | rothberg-cmu/rothberg-run | a42df5ca9fae97de77753864f60d05295d77b59f | [
"MIT"
] | null | null | null | src/public/src/FM7/util/rawReadToD77/main.cpp | rothberg-cmu/rothberg-run | a42df5ca9fae97de77753864f60d05295d77b59f | [
"MIT"
] | 2 | 2019-05-01T03:11:10.000Z | 2019-05-01T03:30:35.000Z | #include "rawread.h"
#include "rawreadutil.h"
int main(int ac,char *av[])
{
FM7RawDiskReadUtil::CommandParameterInfo cpmi;
if(true!=cpmi.RecognizeCommandParameter(ac,av))
{
printf("Usage:\n");
printf(" rawRead2D77 -?\n");
printf(" Show help.\n");
printf(" rawRead2D77 inputFileName.txt outputFileName.d... | 27 | 101 | 0.700617 | rothberg-cmu |
7fbb94aa88bdb32f50c0a2e4598ac633593fd68b | 5,788 | cpp | C++ | ext/dvdaf3/UnicodeStr.replace.cpp | FilmAf/PHP-Extensions | f00bd2f1f2b0298fc673c03c9be89dbcceb1a3d4 | [
"CC0-1.0"
] | null | null | null | ext/dvdaf3/UnicodeStr.replace.cpp | FilmAf/PHP-Extensions | f00bd2f1f2b0298fc673c03c9be89dbcceb1a3d4 | [
"CC0-1.0"
] | null | null | null | ext/dvdaf3/UnicodeStr.replace.cpp | FilmAf/PHP-Extensions | f00bd2f1f2b0298fc673c03c9be89dbcceb1a3d4 | [
"CC0-1.0"
] | null | null | null | #include "UnicodeStr.h"
/// <summary>
/// Given an item to replace it finds it in the requested translation table and replaces it.
/// </summary>
/// <param name="pTargetPosBegins">Index of the string to be replaced.</param>
/// <param name="pTargetLength">Length of the string to be replaced.</param>
/// <param name="... | 29.989637 | 139 | 0.657222 | FilmAf |
7fbbe8613adf38550a1732c9bc237aeb19ef0e49 | 321 | cpp | C++ | Test/TestMain.cpp | aldonunez/Gemini | 141e060bbc0698370c406046c35f5669eedcce75 | [
"Apache-2.0"
] | null | null | null | Test/TestMain.cpp | aldonunez/Gemini | 141e060bbc0698370c406046c35f5669eedcce75 | [
"Apache-2.0"
] | null | null | null | Test/TestMain.cpp | aldonunez/Gemini | 141e060bbc0698370c406046c35f5669eedcce75 | [
"Apache-2.0"
] | null | null | null | #define CATCH_CONFIG_RUNNER
#include "catch.hpp"
int main( int argc, char* argv[] )
{
#if defined( _WIN32 )
_CrtSetDbgFlag(
_crtDbgFlag
| _CRTDBG_LEAK_CHECK_DF
| _CRTDBG_ALLOC_MEM_DF
);
#endif
int result = Catch::Session().run( argc, argv );
return result;
}
... | 16.894737 | 53 | 0.598131 | aldonunez |
7fbbf68ce630456f4164a72ac083f29abfce8ed4 | 1,147 | cpp | C++ | Olympiad Solutions/URI/1288.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | Olympiad Solutions/URI/1288.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | Olympiad Solutions/URI/1288.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | // Ivan Carvalho
// Solution to https://www.urionlinejudge.com.br/judge/problems/view/1288
#include <unordered_map>
#include <algorithm>
#define MAXN 1010
using namespace std;
typedef long long ll;
ll n,s,casos,peso[MAXN],valor[MAXN],r,davez,condicional;
unordered_map<ll,ll> tab[MAXN];
int knapsack(ll obj, ll aguenta){... | 30.184211 | 73 | 0.664342 | Ashwanigupta9125 |
7fbd8fa92bae2899d036ac189f91569770e9621a | 983 | cpp | C++ | examples/SDLAssets/MusicHandler.cpp | cloudncali/GExL | 08010f6a3e46e7c633968930a96ff7e98aec4efb | [
"MIT"
] | null | null | null | examples/SDLAssets/MusicHandler.cpp | cloudncali/GExL | 08010f6a3e46e7c633968930a96ff7e98aec4efb | [
"MIT"
] | null | null | null | examples/SDLAssets/MusicHandler.cpp | cloudncali/GExL | 08010f6a3e46e7c633968930a96ff7e98aec4efb | [
"MIT"
] | null | null | null | #include "MusicHandler.hpp"
#include <SDL_image.h>
#include <iostream>
MusicHandler::MusicHandler() :
GExL::TAssetHandler<Music>()
{
}
MusicHandler::~MusicHandler()
{
}
bool MusicHandler::LoadFromFile(const GExL::typeAssetID theAssetID, Music& theAsset)
{
bool anResult = false;
std::string anFilname = GetFilename... | 22.340909 | 87 | 0.668362 | cloudncali |
7fbda4d6c5ea5110380e7431ef241ff4083abecc | 2,300 | cpp | C++ | nice_matrix.cpp | AnkilP/codeforces | f0ed588166420b984db1864acfff8b94639422ba | [
"MIT"
] | null | null | null | nice_matrix.cpp | AnkilP/codeforces | f0ed588166420b984db1864acfff8b94639422ba | [
"MIT"
] | null | null | null | nice_matrix.cpp | AnkilP/codeforces | f0ed588166420b984db1864acfff8b94639422ba | [
"MIT"
] | null | null | null | #include <string>
#include <iostream>
#include <sstream>
#include <iterator>
#include <fstream>
#include <iomanip>
#include <vector>
#include <queue>
#include <utility>
#include <algorithm>
#include <stdlib.h>
#include <math.h>
long long solution(const std::vector<std::vector<long long>> & sides, std::vector<long long... | 31.506849 | 207 | 0.538261 | AnkilP |
7fbfd83f68152f001c8b4b6c38b6cb8ef7ab1457 | 15,886 | hpp | C++ | include/ValkyrieEngine/Component.hpp | VD-15/Valkyrie-Engine | 2287568e24b3ab20dff4feecbbf523c2fbbced65 | [
"MIT"
] | 2 | 2020-06-18T21:32:29.000Z | 2021-01-29T04:16:47.000Z | include/ValkyrieEngine/Component.hpp | VD-15/Valkyrie-Engine | 2287568e24b3ab20dff4feecbbf523c2fbbced65 | [
"MIT"
] | 13 | 2020-02-02T19:00:15.000Z | 2020-02-08T18:32:06.000Z | include/ValkyrieEngine/Component.hpp | VD-15/Valkyrie-Engine | 2287568e24b3ab20dff4feecbbf523c2fbbced65 | [
"MIT"
] | null | null | null | /*!
* \file Component.hpp
* \brief Provides ECS component class
*/
#ifndef VLK_COMPONENT_HPP
#define VLK_COMPONENT_HPP
#include "ValkyrieEngine/AllocChunk.hpp"
#include "ValkyrieEngine/IComponent.hpp"
#include "ValkyrieEngine/Entity.hpp"
#include <stdexcept>
#include <type_traits>
#include <unordered_map>
#includ... | 29.418519 | 172 | 0.616077 | VD-15 |
7fc0ca2ddb5ed554bca7b6b959ba36908fdc425e | 1,107 | hpp | C++ | stapl_release/stapl/utility/empty_class.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/utility/empty_class.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/utility/empty_class.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | /*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... | 28.384615 | 76 | 0.65131 | parasol-ppl |
7fc260b029f5a45c91e06399a37be0e6c61276fd | 471 | cpp | C++ | LiteCppDB/LiteCppDB.Console/Cls.cpp | pnadan/LiteCppDB | cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2 | [
"MIT"
] | 2 | 2019-07-18T06:30:33.000Z | 2020-01-23T17:40:36.000Z | LiteCppDB/LiteCppDB.Console/Cls.cpp | pnadan/LiteCppDB | cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2 | [
"MIT"
] | null | null | null | LiteCppDB/LiteCppDB.Console/Cls.cpp | pnadan/LiteCppDB | cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Cls.h"
namespace LiteCppDB_Console_Commands
{
DataAccess Cls::getAccess() noexcept
{
return DataAccess::None;
}
bool Cls::IsCommand(LiteCppDB::StringScanner& s) noexcept
{
return s.Scan("cls[[:s:]]*").length() > 0;
}
void Cls::Execute(LiteCppDB::LiteEngine engine, LiteCppDB::... | 23.55 | 183 | 0.730361 | pnadan |
7fc53cb9ecb64a97512fb0d4737c9a4b1ebcf413 | 40,194 | cpp | C++ | Test/NativeTestHelpers/TestMarshaledStructs.cpp | blue3k/ATFClone | d1dbadfaaf2bc54cdb7db5c4ccbc5763a4891931 | [
"Apache-2.0"
] | 1 | 2020-06-20T07:35:34.000Z | 2020-06-20T07:35:34.000Z | Test/NativeTestHelpers/TestMarshaledStructs.cpp | blue3k/ATFClone | d1dbadfaaf2bc54cdb7db5c4ccbc5763a4891931 | [
"Apache-2.0"
] | null | null | null | Test/NativeTestHelpers/TestMarshaledStructs.cpp | blue3k/ATFClone | d1dbadfaaf2bc54cdb7db5c4ccbc5763a4891931 | [
"Apache-2.0"
] | null | null | null | //Copyright ?2014 Sony Computer Entertainment America LLC. See License.txt.
#include "stdafx.h"
// These names conflict with the managed versions.
#undef BROWSEINFO
#undef HDITEM
// Couldn't get this fully working. I'll make the necessary types public instead. --Ron
//// This 'using' is because of an annoying C++/C... | 45.111111 | 131 | 0.662711 | blue3k |
7fcfbfa7aa6c45f8e66f00927bb87b8655fbbaaf | 1,885 | cpp | C++ | examples/c++/batesprocess.cpp | bpmbank/pyql | db1fc886a61ab3e234cebf54723abaa4258138b3 | [
"BSD-3-Clause"
] | 488 | 2015-01-13T11:03:27.000Z | 2022-03-31T07:19:44.000Z | examples/c++/batesprocess.cpp | bpmbank/pyql | db1fc886a61ab3e234cebf54723abaa4258138b3 | [
"BSD-3-Clause"
] | 139 | 2015-01-05T18:56:55.000Z | 2022-01-26T18:33:37.000Z | examples/c++/batesprocess.cpp | bpmbank/pyql | db1fc886a61ab3e234cebf54723abaa4258138b3 | [
"BSD-3-Clause"
] | 142 | 2015-01-07T14:26:46.000Z | 2022-01-23T14:08:47.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Test of bates model constructor from bates process
*/
#include <iostream>
#include <iomanip>
#include "utilities.hpp"
#include <ql/quantlib.hpp>
#ifdef BOOST_MSVC
/* Uncomment the following lines to unmask floating-point
exceptions.... | 24.166667 | 96 | 0.666844 | bpmbank |