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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4154f0845f18ec1e6c102c2171fd1da3a8b4d1d9 | 1,187 | cpp | C++ | src/unitTest/rootNodeTest/piecewiseLR_test.cpp | JiaoYiZhang/learned_index | bc8028edcc8c63609bbad7b9c591704fbca838bb | [
"MIT"
] | 3 | 2021-03-13T07:07:51.000Z | 2021-11-17T10:36:57.000Z | src/unitTest/rootNodeTest/piecewiseLR_test.cpp | JiaoYiZhang/learned_index | bc8028edcc8c63609bbad7b9c591704fbca838bb | [
"MIT"
] | null | null | null | src/unitTest/rootNodeTest/piecewiseLR_test.cpp | JiaoYiZhang/learned_index | bc8028edcc8c63609bbad7b9c591704fbca838bb | [
"MIT"
] | null | null | null | /**
* @file piecewiseLR_test.cpp
* @author Jiaoyi
* @brief
* @version 0.1
* @date 2021-11-03
*
* @copyright Copyright (c) 2021
*
*/
#include "../../include/nodes/rootNode/trainModel/piecewiseLR.h"
#include "../../experiment/dataset/lognormal_distribution.h"
#include "gtest/gtest.h"
std::vector<std::pair<dou... | 24.729167 | 64 | 0.69166 | JiaoYiZhang |
41567abfdebadc704807cf4e935b66d0d9c258f7 | 6,703 | cc | C++ | GeneratorInterface/GenFilters/src/STFilter.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 1 | 2020-02-07T11:20:02.000Z | 2020-02-07T11:20:02.000Z | GeneratorInterface/GenFilters/src/STFilter.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 7 | 2016-07-17T02:34:54.000Z | 2019-08-13T07:58:37.000Z | GeneratorInterface/GenFilters/src/STFilter.cc | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 2 | 2019-09-27T08:33:22.000Z | 2019-11-14T10:52:30.000Z | // -*- C++ -*-
// Package: STFilter
// Class: STFilter
/**\class STFilter STFilter.cc MyEDFilter/STFilter/src/STFilter.cc
Description:
** used for single top t-channel events generated with MadEvent
and matched the "Karlsruhe way"
** filter on 2->2 process events, where the crucial candidate (the 2nd ... | 38.97093 | 117 | 0.60913 | NTrevisani |
415704f4b50e4fbda53e66a4c20d451e2d2493ec | 933 | cpp | C++ | luogu_1378/luogu_1378.cpp | skyfackr/luogu_personal_cppcode | b59af9839745d65091e6c01cddf53e5bb6fb274a | [
"BSD-3-Clause"
] | null | null | null | luogu_1378/luogu_1378.cpp | skyfackr/luogu_personal_cppcode | b59af9839745d65091e6c01cddf53e5bb6fb274a | [
"BSD-3-Clause"
] | null | null | null | luogu_1378/luogu_1378.cpp | skyfackr/luogu_personal_cppcode | b59af9839745d65091e6c01cddf53e5bb6fb274a | [
"BSD-3-Clause"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
double allsquare;
double beginx,beginy,endx,endy,ans;
bool bj[10];
int n,i,j,k;
const double pi=3.1415926535;
struct oils
{
double x,y;
double r;
} oil[10];
void rget(int i)
{
oil[i].r=min(min(abs(oil[i].x-beginx),abs(oil[i].x-endx)),min(abs(oil[i].y-beginy),abs(oil[i... | 16.660714 | 106 | 0.562701 | skyfackr |
4159c0f78d3e75c0d3e38523117ebefd0e8603f1 | 4,095 | cpp | C++ | PseudoContact.cpp | fanufree/assign-it | 7eae0828aea4964f1d459a14a0e13025fefc4c9a | [
"MIT"
] | null | null | null | PseudoContact.cpp | fanufree/assign-it | 7eae0828aea4964f1d459a14a0e13025fefc4c9a | [
"MIT"
] | null | null | null | PseudoContact.cpp | fanufree/assign-it | 7eae0828aea4964f1d459a14a0e13025fefc4c9a | [
"MIT"
] | null | null | null | /*
* PseudoContact.cpp
*
* Created on: 2012-05-03
* Author: e4k2
*/
#include <algorithm>
#include <cassert>
#include "PseudoContact.h"
#include "Utilities.h"
PseudoContact::PseudoContact() : contacts(), res1(-1), res2(-1)
{
}
PseudoContact::PseudoContact(const Contact& c) : contacts(), res1(c.r1->num), r... | 20.475 | 111 | 0.652259 | fanufree |
415a0601f9d104e6a6c2922a448f82de09c901bf | 6,714 | hpp | C++ | test/profiling/PubSubWriter.hpp | zhangzhimin/Fast-RTPS | 3032f11d0c62d226eea39ea4f8428afef4558693 | [
"Apache-2.0"
] | null | null | null | test/profiling/PubSubWriter.hpp | zhangzhimin/Fast-RTPS | 3032f11d0c62d226eea39ea4f8428afef4558693 | [
"Apache-2.0"
] | null | null | null | test/profiling/PubSubWriter.hpp | zhangzhimin/Fast-RTPS | 3032f11d0c62d226eea39ea4f8428afef4558693 | [
"Apache-2.0"
] | 1 | 2021-08-23T01:09:51.000Z | 2021-08-23T01:09:51.000Z | // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | 28.09205 | 135 | 0.634346 | zhangzhimin |
41631e8b04c2f6036e704431fc39dfbc79b021d2 | 240 | hpp | C++ | include/parse.hpp | samcoppini/Glass-Interpreter | 373d1bf9d5fbed144b7198da1b065ded533f99cd | [
"BSL-1.0"
] | null | null | null | include/parse.hpp | samcoppini/Glass-Interpreter | 373d1bf9d5fbed144b7198da1b065ded533f99cd | [
"BSL-1.0"
] | null | null | null | include/parse.hpp | samcoppini/Glass-Interpreter | 373d1bf9d5fbed144b7198da1b065ded533f99cd | [
"BSL-1.0"
] | null | null | null | #ifndef PARSE_HPP
#define PARSE_HPP
#include "class.hpp"
#include <fstream>
#include <map>
#include <optional>
#include <string>
#include <utility>
std::optional<ClassMap> get_classes(const std::string &filename, bool pedantic);
#endif
| 16 | 80 | 0.75 | samcoppini |
4163569c04b7b4642862a8c55b79a1a106519f25 | 11,046 | cpp | C++ | qt-creator-opensource-src-4.6.1/src/libs/qmleditorwidgets/easingpane/easinggraph.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/src/libs/qmleditorwidgets/easingpane/easinggraph.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/src/libs/qmleditorwidgets/easingpane/easinggraph.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 35.517685 | 130 | 0.696451 | kevinlq |
4163f0229edb2eeda4f6cdd66a0b3c9b5e0da52e | 2,216 | hpp | C++ | src/common/Surface.hpp | LibreSprite/Dotto | 3d057875fd0e33d2a72add44c316af9fdc5be7c8 | [
"MIT"
] | 151 | 2021-12-28T21:22:42.000Z | 2022-03-30T13:53:28.000Z | src/common/Surface.hpp | LibreSprite/Dotto | 3d057875fd0e33d2a72add44c316af9fdc5be7c8 | [
"MIT"
] | 9 | 2021-12-29T13:20:00.000Z | 2022-03-18T12:47:19.000Z | src/common/Surface.hpp | Linux-Gamer/Dotto | ed722f0bbcbcb230b7c40977a5552cba81e5075d | [
"MIT"
] | 18 | 2021-12-28T19:58:49.000Z | 2022-03-31T16:38:14.000Z | // Copyright (c) 2021 LibreSprite Authors (cf. AUTHORS.md)
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#pragma once
#include <memory>
#include <variant>
#include <common/Color.hpp>
#include <common/Rect.hpp>
#include <common/types.hpp>
#include <gui/Texture.... | 29.157895 | 79 | 0.636733 | LibreSprite |
416478ca5304aa6aef8c4067d01d680ee1fe73de | 10,946 | cpp | C++ | hal/src/main/native/cpp/jni/simulation/CTREPCMDataJNI.cpp | shueja-personal/allwpilib | 4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b | [
"BSD-3-Clause"
] | 707 | 2016-05-11T16:54:13.000Z | 2022-03-30T13:03:15.000Z | hal/src/main/native/cpp/jni/simulation/CTREPCMDataJNI.cpp | shueja-personal/allwpilib | 4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b | [
"BSD-3-Clause"
] | 2,308 | 2016-05-12T00:17:17.000Z | 2022-03-30T20:08:10.000Z | hal/src/main/native/cpp/jni/simulation/CTREPCMDataJNI.cpp | shueja-personal/allwpilib | 4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b | [
"BSD-3-Clause"
] | 539 | 2016-05-11T20:33:26.000Z | 2022-03-28T20:20:25.000Z | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <jni.h>
#include "CallbackStore.h"
#include "edu_wpi_first_hal_simulation_CTREPCMDataJNI.h"
#include "hal/simu... | 29.663957 | 82 | 0.76786 | shueja-personal |
416b5fab9b61a030672653091ad09ce3e4bb9f7a | 3,965 | hpp | C++ | ql/experimental/preexperimental/cmsSwap.hpp | universe1987/QuantLib | bbb0145aff285853755b9f6ed013f53a41163acb | [
"BSD-3-Clause"
] | 4 | 2016-03-28T15:05:23.000Z | 2020-02-17T23:05:57.000Z | ql/experimental/preexperimental/cmsSwap.hpp | universe1987/QuantLib | bbb0145aff285853755b9f6ed013f53a41163acb | [
"BSD-3-Clause"
] | 1 | 2015-02-02T20:32:43.000Z | 2015-02-02T20:32:43.000Z | ql/experimental/preexperimental/cmsSwap.hpp | pcaspers/quantlib | bbb0145aff285853755b9f6ed013f53a41163acb | [
"BSD-3-Clause"
] | 10 | 2015-01-26T14:50:24.000Z | 2015-10-23T07:41:30.000Z | /*! \file cmsSwap.hpp
\brief Cms Swap
Peter Caspers
*/
#include <ql/quantlib.hpp>
#include <CmsPricer.hpp>
#ifndef quantlib_cmsSwap_hpp
#define quantlib_cmsSwap_hpp
using namespace boost;
using namespace std;
namespace QuantLib {
/*! cms swap */
class CmsSwap {
public:
/*! construct cms swap
fo... | 35.720721 | 188 | 0.743253 | universe1987 |
416b984d852fec81708615caf4def63394124b70 | 1,056 | cpp | C++ | src/NeuralNetwork.cpp | lymven-io/NeuralNet | a1f997cea55d9e74e766c8a7f81e0d76e88f81b1 | [
"MIT"
] | null | null | null | src/NeuralNetwork.cpp | lymven-io/NeuralNet | a1f997cea55d9e74e766c8a7f81e0d76e88f81b1 | [
"MIT"
] | null | null | null | src/NeuralNetwork.cpp | lymven-io/NeuralNet | a1f997cea55d9e74e766c8a7f81e0d76e88f81b1 | [
"MIT"
] | null | null | null | #include "../include/NeuralNetwork.hpp"
void NeuralNetwork::printToConsole()
{
for(int i = 0; i < this->layers.size(); i++)
{
if(i == 0) {
Matrix *m = this->layers.at(i)->matrixifyVals();
m->printToConsole();
}
else {
Matrix *m = this->layers.at(i)->m... | 25.142857 | 73 | 0.542614 | lymven-io |
416def2f661532e2721ba6137ca76ccaa59f3195 | 72 | hpp | C++ | include/mruby_integration/shapes/pixel.hpp | HellRok/Taylor | aa9d901b4db77395a0bde896500016353adcd73b | [
"MIT"
] | 40 | 2021-05-25T04:21:49.000Z | 2022-02-19T05:05:45.000Z | include/mruby_integration/shapes/pixel.hpp | HellRok/Taylor | aa9d901b4db77395a0bde896500016353adcd73b | [
"MIT"
] | 4 | 2021-09-17T06:52:35.000Z | 2021-12-29T23:07:18.000Z | include/mruby_integration/shapes/pixel.hpp | HellRok/Taylor | aa9d901b4db77395a0bde896500016353adcd73b | [
"MIT"
] | 1 | 2021-12-23T00:59:27.000Z | 2021-12-23T00:59:27.000Z | #pragma once
#include "mruby.h"
void append_shapes_pixel(mrb_state*);
| 12 | 37 | 0.763889 | HellRok |
416e3d7562ab77b8fd720358d9d4ca7535311cce | 2,515 | cpp | C++ | compile/mclinker/lib/Target/Mips/MipsEmulation.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | 75 | 2015-03-18T06:01:37.000Z | 2022-01-27T15:17:23.000Z | compile/mclinker/lib/Target/Mips/MipsEmulation.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | 5 | 2015-07-08T07:47:25.000Z | 2018-10-08T12:12:04.000Z | compile/mclinker/lib/Target/Mips/MipsEmulation.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | 28 | 2015-04-14T16:05:13.000Z | 2021-11-18T01:31:01.000Z | //===- MipsEmulation.cpp --------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------------------... | 36.985294 | 80 | 0.566998 | Keneral |
4171965d7b2f8f298c7d9367bd1de9df30a13c78 | 303 | cc | C++ | projects/extractMPISkeleton/tests/sample4/sample4/sample4.cc | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | projects/extractMPISkeleton/tests/sample4/sample4/sample4.cc | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | projects/extractMPISkeleton/tests/sample4/sample4/sample4.cc | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | #include <iostream>
typedef float Real;
int main( )
{
int x=0;
#pragma skel loop iterate atleast(10)
for (int i=0; x < 100 ; i++) {
x = i + 1;
if (x % 2)
x += 5;
}
int j;
#pragma skel loop iterate atmost(30)
for (j=0; x < 100 ; j++) {
x = j + 1;
}
return x;
}
| 12.625 | 40 | 0.488449 | maurizioabba |
41719d9f5d2a3d432d638ae0f2cbc50467bc6b22 | 1,008 | cpp | C++ | C++/Operator/Logika/logika.cpp | rafipriatna/Belajar-Bahasa-Pemrograman | e6e1f00526897a9d37065d70f9509cb4db5a61f8 | [
"MIT"
] | 1 | 2019-11-26T06:06:34.000Z | 2019-11-26T06:06:34.000Z | C++/Operator/Logika/logika.cpp | rafipriatna/Belajar-Bahasa-Pemrograman | e6e1f00526897a9d37065d70f9509cb4db5a61f8 | [
"MIT"
] | null | null | null | C++/Operator/Logika/logika.cpp | rafipriatna/Belajar-Bahasa-Pemrograman | e6e1f00526897a9d37065d70f9509cb4db5a61f8 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int a = 2;
int b = 6;
bool hasil;
// Operator NOT
cout << "Operator NOT : \n";
hasil = !(a == b);
cout << hasil << endl;
cout << endl;
// Operator AND
cout << "Operator AND : \n";
hasil = (a == 2) && (b == 6); // Bena... | 23.44186 | 53 | 0.46627 | rafipriatna |
4174b84df1271075afe71f1bb0f028e0b2917692 | 3,898 | cpp | C++ | examples/model.cpp | afranchuk/clipp | 74f40c1718acc0822a4338587b9bbea9fdc5f737 | [
"MIT"
] | 910 | 2017-11-08T20:27:19.000Z | 2022-03-31T03:35:11.000Z | examples/model.cpp | afranchuk/clipp | 74f40c1718acc0822a4338587b9bbea9fdc5f737 | [
"MIT"
] | 58 | 2017-11-15T20:13:10.000Z | 2022-03-26T20:14:22.000Z | examples/model.cpp | afranchuk/clipp | 74f40c1718acc0822a4338587b9bbea9fdc5f737 | [
"MIT"
] | 98 | 2017-11-11T00:02:07.000Z | 2022-03-29T06:54:19.000Z | /*****************************************************************************
*
* demo program - part of CLIPP (command line interfaces for modern C++)
*
* released under MIT license
*
* (c) 2017-2018 André Müller; foss@andremueller-online.de
*
******************************************************************... | 28.452555 | 86 | 0.491534 | afranchuk |
41770e60478c742e82f65457e4ad1a28ef475e5f | 6,064 | cc | C++ | ecs/src/model/DescribeSecurityGroupsRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | ecs/src/model/DescribeSecurityGroupsRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | null | null | null | ecs/src/model/DescribeSecurityGroupsRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 1 | 2020-11-27T09:13:12.000Z | 2020-11-27T09:13:12.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 26.025751 | 101 | 0.770613 | iamzken |
41780564bbf49892598f3708aef43749eaedd17a | 1,173 | hpp | C++ | Types/Containers/GpBytesArray.hpp | ITBear/GpCore2 | 7ae6d9d93aae55e2b3060077b5bb9d5f07e59ee4 | [
"MIT"
] | null | null | null | Types/Containers/GpBytesArray.hpp | ITBear/GpCore2 | 7ae6d9d93aae55e2b3060077b5bb9d5f07e59ee4 | [
"MIT"
] | 1 | 2020-06-19T18:38:40.000Z | 2020-06-19T18:38:40.000Z | Types/Containers/GpBytesArray.hpp | ITBear/GpCore2 | 7ae6d9d93aae55e2b3060077b5bb9d5f07e59ee4 | [
"MIT"
] | 6 | 2020-06-04T07:32:59.000Z | 2021-05-17T15:41:30.000Z | #pragma once
#include "../../Config/GpConfig.hpp"
#if defined(GP_USE_CONTAINERS)
#include "GpContainersT.hpp"
#include "../../Constexpr/GpConstexprIterator.hpp"
#include "../Pointers/GpRawPtr.hpp"
namespace GPlatform {
using GpBytesArray = GpVector<std::byte>;
class GpBytesArrayUtils
{
CLASS_R... | 24.957447 | 95 | 0.614663 | ITBear |
417b1b70e7606aacc175addf77c75c6a4037f285 | 16,048 | hpp | C++ | sprout/type_traits/std_type_traits.hpp | EzoeRyou/Sprout | 12e12373d0f70543eac5f2ecfbec8f5112765f98 | [
"BSL-1.0"
] | 1 | 2016-09-29T21:55:58.000Z | 2016-09-29T21:55:58.000Z | sprout/type_traits/std_type_traits.hpp | EzoeRyou/Sprout | 12e12373d0f70543eac5f2ecfbec8f5112765f98 | [
"BSL-1.0"
] | null | null | null | sprout/type_traits/std_type_traits.hpp | EzoeRyou/Sprout | 12e12373d0f70543eac5f2ecfbec8f5112765f98 | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2014 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | 33.433333 | 112 | 0.730122 | EzoeRyou |
417c4a8dbd295fa9a54b47e487a667ba1b57d815 | 5,772 | cpp | C++ | src/common/test/test_term_tokenizer.cpp | datavetaren/prologcoin | 8583db7d99a8007f634210aefdfb92bf45596fd3 | [
"MIT"
] | 38 | 2017-06-14T07:13:10.000Z | 2022-02-16T15:41:25.000Z | src/common/test/test_term_tokenizer.cpp | datavetaren/prologcoin | 8583db7d99a8007f634210aefdfb92bf45596fd3 | [
"MIT"
] | 10 | 2017-07-01T11:13:10.000Z | 2021-02-27T05:40:30.000Z | src/common/test/test_term_tokenizer.cpp | datavetaren/prologcoin | 8583db7d99a8007f634210aefdfb92bf45596fd3 | [
"MIT"
] | 7 | 2017-07-05T20:38:51.000Z | 2021-08-02T04:30:46.000Z | #include <iostream>
#include <iomanip>
#include <assert.h>
#include <common/term_tokenizer.hpp>
#include <common/token_chars.hpp>
using namespace prologcoin::common;
static void header( const std::string &str )
{
std::cout << "\n";
std::cout << "--- [" + str + "] " + std::string(60 - str.length(), '-') << "\n... | 33.754386 | 190 | 0.537769 | datavetaren |
41810bee9ee062e7d157e3b6810e18d0ad0ab638 | 41 | cpp | C++ | libwinston/Route.cpp | danie1kr/winston | 18fe865dc59e8315cb1d85c6fa60c4ddeaf83202 | [
"MIT"
] | null | null | null | libwinston/Route.cpp | danie1kr/winston | 18fe865dc59e8315cb1d85c6fa60c4ddeaf83202 | [
"MIT"
] | null | null | null | libwinston/Route.cpp | danie1kr/winston | 18fe865dc59e8315cb1d85c6fa60c4ddeaf83202 | [
"MIT"
] | null | null | null | #include "Route.h"
namespace winston {
} | 10.25 | 19 | 0.707317 | danie1kr |
4181584b4077eb16adf436c1548283fa45fe66fc | 2,530 | cc | C++ | local/Ground.cc | jube/pong | df14055f4185a6b680acb9de685a94ccd6b33946 | [
"MIT"
] | null | null | null | local/Ground.cc | jube/pong | df14055f4185a6b680acb9de685a94ccd6b33946 | [
"MIT"
] | null | null | null | local/Ground.cc | jube/pong | df14055f4185a6b680acb9de685a94ccd6b33946 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2015, Julien Bernard
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | 32.857143 | 84 | 0.706719 | jube |
41818d38234d8c35bf69d2d6bde7964c8054c9a5 | 13,341 | cpp | C++ | src/xrNetServer/NET_Compressor.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/xrNetServer/NET_Compressor.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/xrNetServer/NET_Compressor.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | // NET_Compressor.cpp: implementation of the NET_Compressor class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "NET_Common.h"
#include "NET_Compressor.h"
#include "xrCore/Threading/Lock.hpp"
#if NET_USE_COMPRESSION
#if NET_USE_LZO_COMPRESSION
#define ENCODE ... | 25.705202 | 121 | 0.623716 | clayne |
41868d148862cc4c37bf157b2c06ca6d9b488c22 | 1,002 | cpp | C++ | 14/tests/into.cpp | rapha-opensource/viper | 78f25771c7198ac66b846afde3f38c8b2c1c7cc9 | [
"MIT"
] | 2 | 2018-04-28T19:54:49.000Z | 2021-01-13T17:31:12.000Z | 17/tests/into.cpp | rapha-opensource/viper | 78f25771c7198ac66b846afde3f38c8b2c1c7cc9 | [
"MIT"
] | null | null | null | 17/tests/into.cpp | rapha-opensource/viper | 78f25771c7198ac66b846afde3f38c8b2c1c7cc9 | [
"MIT"
] | null | null | null | #include <vector>
#include "catch.hpp"
#include "../headers/iterator_cast.h"
SCENARIO(" 'into' with only an input container, no transformation", "[into]") {
GIVEN(" a std::vector<char> vc") {
std::vector<char> vc{'a','b','c','d'};
WHEN( " make a string using into<std::string>(vc) " ) {
... | 23.302326 | 89 | 0.474052 | rapha-opensource |
4189e9260add3f96370d11651bb4c773844223d5 | 2,658 | cpp | C++ | contracts/calculator/calc.cpp | koinos/koinos-contract-examples | 27f2bd11b31997ac69d824a5d8a729295072a4c3 | [
"MIT"
] | 1 | 2021-12-21T20:01:36.000Z | 2021-12-21T20:01:36.000Z | contracts/calculator/calc.cpp | koinos/koinos-contract-examples | 27f2bd11b31997ac69d824a5d8a729295072a4c3 | [
"MIT"
] | null | null | null | contracts/calculator/calc.cpp | koinos/koinos-contract-examples | 27f2bd11b31997ac69d824a5d8a729295072a4c3 | [
"MIT"
] | 1 | 2021-11-23T19:10:26.000Z | 2021-11-23T19:10:26.000Z | #include <koinos/system/system_calls.hpp>
#include <koinos/buffer.hpp>
#include <koinos/common.h>
#include <calc.h>
using namespace koinos;
using namespace koinos::contracts;
enum entries : uint32_t
{
add_entry = 1,
sub_entry = 2,
mul_entry = 3,
div_entry = 4
};
class calculator
{
public:
calc::add_... | 21.435484 | 93 | 0.599323 | koinos |
418bdfec7fda7154914b35e520e56e4938b33c3b | 1,198 | cpp | C++ | Foundation/src/ASN1Codec.cpp | RangelReale/poco | b5d9177abebac49da74722b5f193958dbef1ce94 | [
"BSL-1.0"
] | null | null | null | Foundation/src/ASN1Codec.cpp | RangelReale/poco | b5d9177abebac49da74722b5f193958dbef1ce94 | [
"BSL-1.0"
] | null | null | null | Foundation/src/ASN1Codec.cpp | RangelReale/poco | b5d9177abebac49da74722b5f193958dbef1ce94 | [
"BSL-1.0"
] | 1 | 2021-07-16T12:16:40.000Z | 2021-07-16T12:16:40.000Z | //
// ASN1Codec.cpp
//
// $Id: //poco/1.4/Foundation/src/ASN1Codec.cpp#1 $
//
// Library: Foundation
// Package: Streams
// Module: ASN1Codec
//
// Copyright (c) 2010, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/ASN1Codec.h"
#include "P... | 16.873239 | 78 | 0.715359 | RangelReale |
418d9b77a6c64fdf521ccc324cec54c858d1fc4a | 2,233 | cc | C++ | re2c/src/codegen/helpers.cc | adesutherland/crexx | e8d17152c565e9387ee8c33c653b4910b56f5165 | [
"MIT"
] | 8 | 2020-11-08T15:36:14.000Z | 2022-03-27T13:50:07.000Z | re2c/src/codegen/helpers.cc | adesutherland/crexx | e8d17152c565e9387ee8c33c653b4910b56f5165 | [
"MIT"
] | 98 | 2020-11-12T11:49:41.000Z | 2022-03-27T17:24:13.000Z | re2c/src/codegen/helpers.cc | adesutherland/crexx | e8d17152c565e9387ee8c33c653b4910b56f5165 | [
"MIT"
] | 10 | 2021-03-31T13:50:52.000Z | 2021-12-02T03:34:42.000Z | #include <iostream>
#include "src/codegen/helpers.h"
namespace re2c {
static bool is_space(uint32_t c)
{
switch (c) {
case '\t':
case '\f':
case '\v':
case '\n':
case '\r':
case ' ': return true;
default: return false;
}
}
static inline char hex(uint32_t c)
{
static const... | 23.260417 | 99 | 0.467532 | adesutherland |
418df50b16205e781e5fc25d772cd4ffbaf5a2c1 | 311 | cpp | C++ | beginners/easy/014.grade-description/034.rishankahn.grade-description.cpp | Md-Maruf-Sarker/strangers | 6f9eae6c15f1e1c5b6ef2965eb2422a01203f1ad | [
"MIT"
] | 3 | 2022-03-26T17:56:38.000Z | 2022-03-27T10:47:26.000Z | beginners/easy/014.grade-description/034.rishankahn.grade-description.cpp | Md-Maruf-Sarker/strangers | 6f9eae6c15f1e1c5b6ef2965eb2422a01203f1ad | [
"MIT"
] | null | null | null | beginners/easy/014.grade-description/034.rishankahn.grade-description.cpp | Md-Maruf-Sarker/strangers | 6f9eae6c15f1e1c5b6ef2965eb2422a01203f1ad | [
"MIT"
] | 8 | 2022-03-26T18:19:49.000Z | 2022-03-31T18:18:34.000Z | #include <iostream>
using namespace std;
int main() {
char g;
cout<<"Input the grade : ";
cin>>g;
if(g=='E'){
cout<<"Excellent\n";
}
else if(g=='V'){
cout<<"Very Good\n";
}
else if(g=='G'){
cout<<"Good\n";
}
else if(g=='A'){
cout<<"Average\n";
}
else{
cout<<"Fail\n";
}
}
| 12.958333 | 28 | 0.495177 | Md-Maruf-Sarker |
418e73335586695d6d3a4a1a90da24abbbdcc2f6 | 529 | cpp | C++ | core/CameraSystemProcessor.cpp | ChaosKit/ChaosKit | e7cba03db1ae34160868656ea357c7166ae1d84a | [
"Apache-2.0"
] | 3 | 2021-01-09T17:25:18.000Z | 2021-07-11T00:04:22.000Z | core/CameraSystemProcessor.cpp | ChaosKit/ChaosKit | e7cba03db1ae34160868656ea357c7166ae1d84a | [
"Apache-2.0"
] | 1 | 2021-03-21T13:17:04.000Z | 2021-03-21T14:03:46.000Z | core/CameraSystemProcessor.cpp | ChaosKit/ChaosKit | e7cba03db1ae34160868656ea357c7166ae1d84a | [
"Apache-2.0"
] | 1 | 2020-04-03T16:32:53.000Z | 2020-04-03T16:32:53.000Z | #include "CameraSystemProcessor.h"
namespace chaoskit::core {
void CameraSystemProcessor::setCameraSystem(const CameraSystem& cameraSystem) {
setSystem(cameraSystem.system);
setCamera(cameraSystem.camera);
}
SystemParticle CameraSystemProcessor::processCamera(
SystemParticle input) const {
if (!camera_) re... | 25.190476 | 79 | 0.769376 | ChaosKit |
419050b5d7d6c529e2ce372b58fcd687d264f826 | 11,356 | cpp | C++ | 2d ball game/TextRenderer.cpp | DennisWandschura/GravBall | f140e304368ce1bfb9a8750c5a5c68ceac4c24bd | [
"MIT"
] | null | null | null | 2d ball game/TextRenderer.cpp | DennisWandschura/GravBall | f140e304368ce1bfb9a8750c5a5c68ceac4c24bd | [
"MIT"
] | null | null | null | 2d ball game/TextRenderer.cpp | DennisWandschura/GravBall | f140e304368ce1bfb9a8750c5a5c68ceac4c24bd | [
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2015 Dennis Wandschura
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, me... | 32.353276 | 209 | 0.72957 | DennisWandschura |
41911c52cdeaa0cca080120286aca4e7b91bf0f9 | 2,036 | cxx | C++ | src/samples/xsd_parser.cxx | abdelkaderamar/fix2xml | fa781b747a8e40ed4c2d3dee8294fb51654f7428 | [
"MIT"
] | 1 | 2019-09-26T12:08:19.000Z | 2019-09-26T12:08:19.000Z | src/samples/xsd_parser.cxx | abdelkaderamar/fix2xml | fa781b747a8e40ed4c2d3dee8294fb51654f7428 | [
"MIT"
] | null | null | null | src/samples/xsd_parser.cxx | abdelkaderamar/fix2xml | fa781b747a8e40ed4c2d3dee8294fb51654f7428 | [
"MIT"
] | 1 | 2020-12-11T04:11:44.000Z | 2020-12-11T04:11:44.000Z | // MIT License
//
// Copyright 2018 Abdelkader Amar
//
// 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, modif... | 33.933333 | 91 | 0.721513 | abdelkaderamar |
419128b7f02f57221852f41e68a339a1b09b74b5 | 59,379 | cpp | C++ | src/test/op_rawleftbitshift_tests.cpp | ngocviet/lotusd | 769802c5db7302aa1c23cf81cf42b2e861c45732 | [
"MIT"
] | 3 | 2019-06-17T03:48:07.000Z | 2021-03-07T05:47:18.000Z | src/test/op_rawleftbitshift_tests.cpp | ngocviet/lotusd | 769802c5db7302aa1c23cf81cf42b2e861c45732 | [
"MIT"
] | 68 | 2019-06-17T01:54:12.000Z | 2021-04-10T17:59:15.000Z | src/test/op_rawleftbitshift_tests.cpp | ngocviet/lotusd | 769802c5db7302aa1c23cf81cf42b2e861c45732 | [
"MIT"
] | 1 | 2021-02-21T23:51:33.000Z | 2021-02-21T23:51:33.000Z | // Copyright (c) 2012-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <policy/policy.h>
#include <script/interpreter.h>
#include <script/script.h>
#include <test/lcg.h>
#include <test/u... | 69.693662 | 80 | 0.836407 | ngocviet |
419cbe19c7a675128ba01b7b1ae6a134630a2d93 | 4,503 | cpp | C++ | libwoopsigfx/src/stringiterator.cpp | ant512/WoopsiGfx | 9aa29bcd8d6d336172b49bbd1363ddf0bb7dad9d | [
"MIT"
] | null | null | null | libwoopsigfx/src/stringiterator.cpp | ant512/WoopsiGfx | 9aa29bcd8d6d336172b49bbd1363ddf0bb7dad9d | [
"MIT"
] | null | null | null | libwoopsigfx/src/stringiterator.cpp | ant512/WoopsiGfx | 9aa29bcd8d6d336172b49bbd1363ddf0bb7dad9d | [
"MIT"
] | 1 | 2021-08-21T07:57:58.000Z | 2021-08-21T07:57:58.000Z | #include <ctype.h>
#include "stringiterator.h"
#include "woopsistring.h"
using namespace WoopsiGfx;
StringIterator::StringIterator(const WoopsiString* string) {
_string = string;
_currentChar = _string->getCharArray();
_currentIndex = 0;
}
void StringIterator::moveToFirst() {
_currentChar = _string->getCharArray... | 24.878453 | 80 | 0.699534 | ant512 |
41a03b9c1ade69e807c262ff82738eab90752115 | 11,890 | cpp | C++ | Components/ModelEditLinear.cpp | elix22/IogramSource | 3a4ce55d94920e060776b4aa4db710f57a4280bc | [
"MIT"
] | 28 | 2017-03-01T04:09:18.000Z | 2022-02-01T13:33:50.000Z | Components/ModelEditLinear.cpp | elix22/IogramSource | 3a4ce55d94920e060776b4aa4db710f57a4280bc | [
"MIT"
] | 3 | 2017-03-09T05:22:49.000Z | 2017-08-02T18:38:05.000Z | Components/ModelEditLinear.cpp | elix22/IogramSource | 3a4ce55d94920e060776b4aa4db710f57a4280bc | [
"MIT"
] | 17 | 2017-03-01T14:00:01.000Z | 2022-02-08T06:36:54.000Z | //
// Copyright (c) 2016 - 2017 Mesh Consultants Inc.
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, ... | 25.084388 | 133 | 0.713204 | elix22 |
41a2e2fb9777e837d9942e9c28e0d86e270456bc | 23,537 | cpp | C++ | fcgi/streambuf.cpp | dmitigr/cefeika | 6189843d4244f7334558708e57e952584561b1e0 | [
"Zlib"
] | 19 | 2019-07-21T15:38:12.000Z | 2022-01-06T05:24:48.000Z | fcgi/streambuf.cpp | dmitigr/cefeika | 6189843d4244f7334558708e57e952584561b1e0 | [
"Zlib"
] | 6 | 2019-12-07T22:12:37.000Z | 2022-01-10T22:31:48.000Z | fcgi/streambuf.cpp | dmitigr/cefeika | 6189843d4244f7334558708e57e952584561b1e0 | [
"Zlib"
] | 1 | 2019-08-15T14:49:00.000Z | 2019-08-15T14:49:00.000Z | // -*- C++ -*-
// Copyright (C) 2021 Dmitry Igrishin
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// i... | 36.378671 | 128 | 0.637804 | dmitigr |
41a4315da01c7f6bd5f6cdda58c57442094e2b72 | 2,145 | cpp | C++ | src/problems/1_2/solution.cpp | philong6297/modern-cpp-challenges | c3f9786aff9dd097ee1e4ec7ac65560e447c28b5 | [
"MIT"
] | null | null | null | src/problems/1_2/solution.cpp | philong6297/modern-cpp-challenges | c3f9786aff9dd097ee1e4ec7ac65560e447c28b5 | [
"MIT"
] | null | null | null | src/problems/1_2/solution.cpp | philong6297/modern-cpp-challenges | c3f9786aff9dd097ee1e4ec7ac65560e447c28b5 | [
"MIT"
] | null | null | null | // Copyright 2021 Long Le Phi. All rights reserved.
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
#include "problems/1_2/solution.hpp"
#include <numeric>
#if defined(_MSC_VER)
# include <intrin.h>
#endif
namespace {
using longlp::solution::Problem_1_2;
inline... | 27.151899 | 88 | 0.620513 | philong6297 |
41a5b91ef8d11b5cf20424179e29f7199438b78c | 27,391 | cpp | C++ | src/prj/Lib/StdLib/IOAddOn.cpp | LucaBallan/ArticulatedPoseEstimator | 78fa0b1eafd12997cac9c3d42987a79d6535e3c0 | [
"MIT"
] | 8 | 2018-08-06T19:14:25.000Z | 2021-02-22T03:36:38.000Z | Lib/StdLib/IOAddOn.cpp | LucaBallan/GammaLib | dbcb91dd2e0d513160c4be533a73385a6efcafcf | [
"MIT"
] | 1 | 2019-12-02T22:23:02.000Z | 2019-12-02T22:23:02.000Z | src/prj/Lib/StdLib/IOAddOn.cpp | LucaBallan/ArticulatedPoseEstimator | 78fa0b1eafd12997cac9c3d42987a79d6535e3c0 | [
"MIT"
] | 5 | 2018-09-25T10:38:28.000Z | 2020-10-05T17:13:53.000Z | //
// GammaLib: Computer Vision library
//
// Copyright (C) 1998-2015 Luca Ballan <ballanlu@gmail.com> http://lucaballan.altervista.org/
//
// Third party copyrights are property of their respective owners.
//
//
// The MIT License(MIT)
//
// Permission is hereby granted, free of charge, to any person obtai... | 23.351236 | 113 | 0.608631 | LucaBallan |
41a5dc84a8361385f2eaea2907a30a4ea42f78a7 | 1,512 | cpp | C++ | cxx/pass.cpp | snewell/advent2020 | d7800b549401624ee75b271a37238162590b9068 | [
"X11"
] | null | null | null | cxx/pass.cpp | snewell/advent2020 | d7800b549401624ee75b271a37238162590b9068 | [
"X11"
] | null | null | null | cxx/pass.cpp | snewell/advent2020 | d7800b549401624ee75b271a37238162590b9068 | [
"X11"
] | null | null | null | #include <aoc/pass.hpp>
#include <algorithm>
#include <cassert>
#include <string_view>
namespace
{
}
namespace aoc2020
{
Seat parse_pass(std::string const & seat)
{
assert(seat.length() == 10);
auto calculate_assignment = [](std::string_view info, int low, int high,
... | 28.528302 | 80 | 0.434524 | snewell |
41abf7445ba33280cd602b780962edb4a4ecfd22 | 683 | cpp | C++ | DeathMask/tests/src/TestsPerformer.cpp | demensdeum/Death-Mask | 6251bd5b3540adc494f2d8ea387e35479aa7b238 | [
"MIT"
] | null | null | null | DeathMask/tests/src/TestsPerformer.cpp | demensdeum/Death-Mask | 6251bd5b3540adc494f2d8ea387e35479aa7b238 | [
"MIT"
] | 11 | 2017-08-12T17:04:34.000Z | 2017-10-15T08:27:58.000Z | DeathMask/tests/src/TestsPerformer.cpp | demensdeum/Death-Mask | 6251bd5b3540adc494f2d8ea387e35479aa7b238 | [
"MIT"
] | null | null | null | #include "TestsPerformer.h"
#include "ObjectsGeneratorTest.h"
#include "MapGeneratorTest.h"
#include <memory>
#include <iostream>
using namespace std;
using namespace DeathMaskGame::Tests;
void TestsPerformer::perform() {
cout << "Tests started" << endl;
{
auto objectsGeneratorTest = make_shared<ObjectsGenerato... | 18.972222 | 66 | 0.70571 | demensdeum |
41ac0434e2cf353fae6f2dba2ac4c34391ce4309 | 5,493 | cpp | C++ | prototype/entity.cpp | llGuy/graphics | 7e77bb04715b68465e2718077102f894371e56fc | [
"MIT"
] | null | null | null | prototype/entity.cpp | llGuy/graphics | 7e77bb04715b68465e2718077102f894371e56fc | [
"MIT"
] | null | null | null | prototype/entity.cpp | llGuy/graphics | 7e77bb04715b68465e2718077102f894371e56fc | [
"MIT"
] | null | null | null | #include "entity.h"
#include "render.h"
#include "global.h"
#include <GLFW/glfw3.h>
#include <glm/gtx/transform.hpp>
entity_data_base EntityDataBase = {};
internal void
UpdateModelMatrixComponents(std::vector<model_matrix_component> &Components
, std::vector<entity_data> &Entities)
{
model_matr... | 31.033898 | 120 | 0.673585 | llGuy |
41ad84f0db91c4d83da32663187049ae422ab567 | 30,868 | cpp | C++ | Engine/source/terrain/terrCellMaterial.cpp | GoldenThumbs/Torque3D | 312d55be479c212f10239828fd2486fc03827d5e | [
"MIT"
] | 9 | 2015-01-07T17:24:28.000Z | 2021-08-15T17:49:08.000Z | Engine/source/terrain/terrCellMaterial.cpp | GoldenThumbs/Torque3D | 312d55be479c212f10239828fd2486fc03827d5e | [
"MIT"
] | 3 | 2015-09-24T05:10:05.000Z | 2016-07-06T15:07:54.000Z | Engine/source/terrain/terrCellMaterial.cpp | GoldenThumbs/Torque3D | 312d55be479c212f10239828fd2486fc03827d5e | [
"MIT"
] | 5 | 2015-02-14T21:00:28.000Z | 2021-07-10T01:05:09.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 34.183832 | 143 | 0.656149 | GoldenThumbs |
41adde3a124bbc581fc16211d93d399661bf27f7 | 4,938 | cc | C++ | third_party/crashpad/crashpad/snapshot/win/cpu_context_win_test.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/crashpad/crashpad/snapshot/win/cpu_context_win_test.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/crashpad/crashpad/snapshot/win/cpu_context_win_test.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | 33.14094 | 80 | 0.720535 | metux |
41ae40c170370c26e62d938e1c06d1106419f2ac | 8,741 | cpp | C++ | Engine/Renderer/GLES3/src/GLES3Texture.cpp | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | 3 | 2018-12-08T16:32:05.000Z | 2020-06-02T11:07:15.000Z | Engine/Renderer/GLES3/src/GLES3Texture.cpp | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | null | null | null | Engine/Renderer/GLES3/src/GLES3Texture.cpp | LiangYue1981816/AresEngine | c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67 | [
"BSD-2-Clause"
] | 1 | 2019-09-12T00:26:05.000Z | 2019-09-12T00:26:05.000Z | #include "gli.hpp"
#include "GLES3Renderer.h"
CGLES3Texture::CGLES3Texture(void)
: m_bExtern(false)
, m_target(0)
, m_texture(0)
, m_type(GFX_TEXTURE_INVALID_ENUM)
, m_format(GFX_PIXELFORMAT_UNDEFINED)
, m_width(0)
, m_height(0)
, m_layers(0)
, m_levels(0)
, m_samples(0)
{
}
CGLES3Texture::~CGLES3Textu... | 25.860947 | 185 | 0.732982 | LiangYue1981816 |
41aee4ba370559df2589ee49a87be000bdffe9be | 3,623 | cc | C++ | pigasus/software/src/network_inspectors/appid/test/tp_mock.cc | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | pigasus/software/src/network_inspectors/appid/test/tp_mock.cc | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | pigasus/software/src/network_inspectors/appid/test/tp_mock.cc | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | //--------------------------------------------------------------------------
// Copyright (C) 2016-2018 Cisco and/or its affiliates. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License Version 2 as published
// by the Fr... | 31.780702 | 95 | 0.668231 | zhipengzhaocmu |
41b38b15073c8ebac57b2ccf6279376ac4f692fb | 1,552 | cpp | C++ | codeforces/D - Edge Deletion/Wrong answer on test 3 (4).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/D - Edge Deletion/Wrong answer on test 3 (4).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/D - Edge Deletion/Wrong answer on test 3 (4).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Nov/12/2018 23:55
* solution_verdict: Wrong answer on test 3 language: GNU C++14
* run... | 33.73913 | 111 | 0.462629 | kzvd4729 |
41b5ea8cee57938e2f3ecc192834b54f85b30cfb | 26 | cpp | C++ | src/libcdk13-201802181144/compiler.cpp | pedrodaniel10/Comp | 428522b5fa4a1c6ee00dac886b8e52ba5c05d32f | [
"Apache-2.0"
] | null | null | null | src/libcdk13-201802181144/compiler.cpp | pedrodaniel10/Comp | 428522b5fa4a1c6ee00dac886b8e52ba5c05d32f | [
"Apache-2.0"
] | null | null | null | src/libcdk13-201802181144/compiler.cpp | pedrodaniel10/Comp | 428522b5fa4a1c6ee00dac886b8e52ba5c05d32f | [
"Apache-2.0"
] | null | null | null | #include <cdk/compiler.h>
| 13 | 25 | 0.730769 | pedrodaniel10 |
41b7331464dee98a8aca55284d76d6ee922b2c5b | 572 | cpp | C++ | PlatformIO ESP32 code/OSSM_ESP32/lib/ArduinoJson-6.x/extras/tests/MsgPackDeserializer/misc.cpp | ortlof/OSSM-hardware | 1cf21ce854cbe212c752726689d3c12508a3b1ee | [
"MIT"
] | 5,800 | 2015-01-05T02:36:02.000Z | 2022-03-31T04:27:26.000Z | PlatformIO ESP32 code/OSSM_ESP32/lib/ArduinoJson-6.x/extras/tests/MsgPackDeserializer/misc.cpp | ortlof/OSSM-hardware | 1cf21ce854cbe212c752726689d3c12508a3b1ee | [
"MIT"
] | 1,681 | 2015-01-04T00:41:40.000Z | 2022-03-31T07:30:51.000Z | PlatformIO ESP32 code/OSSM_ESP32/lib/ArduinoJson-6.x/extras/tests/MsgPackDeserializer/misc.cpp | ortlof/OSSM-hardware | 1cf21ce854cbe212c752726689d3c12508a3b1ee | [
"MIT"
] | 1,169 | 2015-01-04T01:32:23.000Z | 2022-03-28T13:38:00.000Z | // ArduinoJson - https://arduinojson.org
// Copyright Benoit Blanchon 2014-2021
// MIT License
#include <ArduinoJson.h>
#include <catch.hpp>
TEST_CASE("deserializeMsgPack() returns EmptyInput") {
StaticJsonDocument<100> doc;
SECTION("from sized buffer") {
DeserializationError err = deserializeMsgPack(doc, ""... | 22.88 | 62 | 0.711538 | ortlof |
41b7b2455b8f69a298e6f6c4cc3c92868d093881 | 748 | cpp | C++ | src/analyzers/tokenizers/character_tokenizer.cpp | saq7/MeTA | 0392964c1cdc073ae5123f7d64affdc4105acc4f | [
"MIT"
] | null | null | null | src/analyzers/tokenizers/character_tokenizer.cpp | saq7/MeTA | 0392964c1cdc073ae5123f7d64affdc4105acc4f | [
"MIT"
] | null | null | null | src/analyzers/tokenizers/character_tokenizer.cpp | saq7/MeTA | 0392964c1cdc073ae5123f7d64affdc4105acc4f | [
"MIT"
] | 1 | 2021-09-06T06:08:38.000Z | 2021-09-06T06:08:38.000Z | /**
* @file character_tokenizer.cpp
* @author Chase Geigle
*/
#include "analyzers/tokenizers/character_tokenizer.h"
#include "corpus/document.h"
#include "io/mmap_file.h"
namespace meta
{
namespace analyzers
{
namespace tokenizers
{
const std::string character_tokenizer::id = "character-tokenizer";
character_tok... | 16.622222 | 74 | 0.703209 | saq7 |
41b94436518ed9a574d67416bcd1bf2dd2024d28 | 3,065 | cpp | C++ | src/core/exportexpressionmatrix.cpp | mfayk/KINC | 0f6565ce8e1102392382e4c716c128115b611f0c | [
"MIT"
] | 10 | 2018-08-15T13:27:35.000Z | 2020-12-10T17:20:40.000Z | src/core/exportexpressionmatrix.cpp | mfayk/KINC | 0f6565ce8e1102392382e4c716c128115b611f0c | [
"MIT"
] | 182 | 2016-07-31T07:15:15.000Z | 2022-01-30T01:25:41.000Z | src/core/exportexpressionmatrix.cpp | mfayk/KINC | 0f6565ce8e1102392382e4c716c128115b611f0c | [
"MIT"
] | 7 | 2017-10-12T22:03:42.000Z | 2020-02-26T00:01:18.000Z | #include "exportexpressionmatrix.h"
#include "exportexpressionmatrix_input.h"
#include "datafactory.h"
#include "expressionmatrix_gene.h"
/*!
* Return the total number of blocks this analytic must process as steps
* or blocks of work. This implementation uses a work block for writing the
* sample names and a work... | 23.945313 | 78 | 0.595432 | mfayk |
41bb295f79a20e218e6a1caaaad04097536c334a | 879 | cpp | C++ | qwt/examples/radio/radio.cpp | iti-luebeck/HANSE2011 | 0bd5b3f1e0bc5a02516e7514b2241897337334c2 | [
"BSD-3-Clause"
] | null | null | null | qwt/examples/radio/radio.cpp | iti-luebeck/HANSE2011 | 0bd5b3f1e0bc5a02516e7514b2241897337334c2 | [
"BSD-3-Clause"
] | null | null | null | qwt/examples/radio/radio.cpp | iti-luebeck/HANSE2011 | 0bd5b3f1e0bc5a02516e7514b2241897337334c2 | [
"BSD-3-Clause"
] | null | null | null | #include <qapplication.h>
#include <qlayout.h>
#include "tunerfrm.h"
#include "ampfrm.h"
#include "radio.h"
MainWin::MainWin():
QWidget()
{
TunerFrame *frmTuner = new TunerFrame(this);
frmTuner->setFrameStyle(QFrame::Panel|QFrame::Raised);
AmpFrame *frmAmp = new AmpFrame(this);
frmAm... | 21.439024 | 59 | 0.625711 | iti-luebeck |
41bc85742770c7a82c455bfea9e740c54fd94de4 | 589 | cc | C++ | src/EntityLoader.cc | BitwiseSoftware/mikan | 8454af0b611fd8366c8dbea8297882f93d2e993e | [
"MIT"
] | null | null | null | src/EntityLoader.cc | BitwiseSoftware/mikan | 8454af0b611fd8366c8dbea8297882f93d2e993e | [
"MIT"
] | null | null | null | src/EntityLoader.cc | BitwiseSoftware/mikan | 8454af0b611fd8366c8dbea8297882f93d2e993e | [
"MIT"
] | null | null | null | #include "EntityLoader.hh"
#include <fstream>
#include <iostream>
namespace Mikan {
EntityLoader::EntityLoader() {
}
void EntityLoader::load_json(const std::string file_location) {
Json::Reader reader;
std::ifstream provinces_file;
provinces_file.open(file_location);
const bool parsingSuccessful = reader.... | 20.310345 | 68 | 0.687606 | BitwiseSoftware |
41bcc5037bdd32edfd6134464253036715ed087f | 5,834 | cpp | C++ | test/testXml.cpp | jack-lz/anyrpc | 89533a39ecbbc05cfd89788c4aaa034ddae92010 | [
"MIT"
] | null | null | null | test/testXml.cpp | jack-lz/anyrpc | 89533a39ecbbc05cfd89788c4aaa034ddae92010 | [
"MIT"
] | null | null | null | test/testXml.cpp | jack-lz/anyrpc | 89533a39ecbbc05cfd89788c4aaa034ddae92010 | [
"MIT"
] | null | null | null | // Copyright (C) 2015 SRG Technology, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, pu... | 29.917949 | 87 | 0.67158 | jack-lz |
41bd8ec8afffd80df54210ab5431541e91303c65 | 2,777 | cpp | C++ | modules/cudf/src/column/strings/multibyte_split.cpp | exactlyallan/node | 591f06a9c56c3d94206432677a0efd34fe6cb076 | [
"Apache-2.0"
] | null | null | null | modules/cudf/src/column/strings/multibyte_split.cpp | exactlyallan/node | 591f06a9c56c3d94206432677a0efd34fe6cb076 | [
"Apache-2.0"
] | null | null | null | modules/cudf/src/column/strings/multibyte_split.cpp | exactlyallan/node | 591f06a9c56c3d94206432677a0efd34fe6cb076 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2022, NVIDIA CORPORATION.
//
// 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 ... | 35.151899 | 100 | 0.671948 | exactlyallan |
41bf7956aac858c6db61d104b3fcb4d553c1fb29 | 1,139 | hh | C++ | DataProducts/inc/ExtMonFNALModuleDenseId.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2021-06-25T00:00:12.000Z | 2021-06-25T00:00:12.000Z | DataProducts/inc/ExtMonFNALModuleDenseId.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2019-11-22T14:45:51.000Z | 2019-11-22T14:50:03.000Z | DataProducts/inc/ExtMonFNALModuleDenseId.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 2 | 2019-10-14T17:46:58.000Z | 2020-03-30T21:05:15.000Z | #ifndef DataProducts_ExtMonFNALModuleDenseId_hh
#define DataProducts_ExtMonFNALModuleDenseId_hh
// Sequential number of a silicon module in Mu2e ExtMonFNAL detector.
// Zero based.
//
// $Id: ExtMonFNALModuleDenseId.hh,v 1.1 2013/07/30 18:45:00 wieschie Exp $
// $Author: wieschie $
// $Date: 2013/07/30 18:45:00 $
//
/... | 23.729167 | 89 | 0.697981 | bonventre |
41c0336090f3f0d8a0ca993471720ec50fbf335d | 3,422 | cpp | C++ | tests/pcg.cpp | bezout/LMA | 9555e41eed5f44690c5f6e3ea2d22d520ff1a9d2 | [
"BSL-1.0"
] | 29 | 2015-12-08T12:07:30.000Z | 2022-01-08T21:23:01.000Z | tests/pcg.cpp | ayumizll/LMA | e945452e12a8b05bd17400b46a20a5322aeda01d | [
"BSL-1.0"
] | 3 | 2016-07-11T16:23:48.000Z | 2017-04-05T13:33:00.000Z | tests/pcg.cpp | bezout/LMA | 9555e41eed5f44690c5f6e3ea2d22d520ff1a9d2 | [
"BSL-1.0"
] | 8 | 2015-12-21T01:52:27.000Z | 2017-12-26T02:26:55.000Z | #include <iostream>
#include <Eigen/IterativeLinearSolvers>
#include <libv/lma/lm/solver/solver.hpp>
#include <libv/lma/lm/solver/verbose.hpp>
using namespace Eigen;
void eigen_pcg(const Eigen::MatrixXd& m, const Eigen::VectorXd& jte)
{
std::cout << "\n\n EIGEN PCG " << std::endl;
size_t n = jte.size();
Vec... | 30.017544 | 128 | 0.582992 | bezout |
41c43815f08dfcce1dfc8a7c5283af6b5d86868c | 1,192 | cpp | C++ | linked_list/assignments/bubble_sort.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | linked_list/assignments/bubble_sort.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | linked_list/assignments/bubble_sort.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | /****************************************************************
Following is the class structure of the Node class:
class Node
{
public:
int data;
Node *next;
Node(int data)
{
this->data = data;
this->next = NULL;
}
... | 20.912281 | 96 | 0.491611 | ramchandra94 |
41c4f542ba955ec768242045d93fb537f45a2f3b | 3,771 | cpp | C++ | SurgSim/Devices/LabJack/UnitTests/LabJackChecksumsTest.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 24 | 2015-01-19T16:18:59.000Z | 2022-03-13T03:29:11.000Z | SurgSim/Devices/LabJack/UnitTests/LabJackChecksumsTest.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 3 | 2018-12-21T14:54:08.000Z | 2022-03-14T12:38:07.000Z | SurgSim/Devices/LabJack/UnitTests/LabJackChecksumsTest.cpp | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 8 | 2015-04-10T19:45:36.000Z | 2022-02-02T17:00:59.000Z | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | 36.970588 | 104 | 0.733227 | dbungert |
41c54e5b780ca813a5f0fb714cb50f1201459da1 | 2,048 | cpp | C++ | src/day01.cpp | foolnotion/aoc2020 | 49738011e8181af438c13556a294b939880916c9 | [
"Unlicense"
] | null | null | null | src/day01.cpp | foolnotion/aoc2020 | 49738011e8181af438c13556a294b939880916c9 | [
"Unlicense"
] | null | null | null | src/day01.cpp | foolnotion/aoc2020 | 49738011e8181af438c13556a294b939880916c9 | [
"Unlicense"
] | 2 | 2020-12-12T21:42:53.000Z | 2020-12-16T20:56:56.000Z | #define ANKERL_NANOBENCH_IMPLEMENT
#include "advent.hpp"
#include "util.hpp"
#include <functional>
#include "nanobench.h"
auto find_terms(std::vector<int> const& values, int n, int64_t sum, int64_t product = 1) -> std::optional<int64_t>
{
if (sum <= 0) {
return std::nullopt;
}
if (n == 2) {
... | 24.674699 | 114 | 0.532715 | foolnotion |
41cabad12060e31d5ed6f09edb760b87ef3c172e | 4,748 | cpp | C++ | samples/sonar_SRF10_test/test.cpp | mjlsuccess/mrpt | 916c41579f91573e6c309dc67956ca808bf80fe7 | [
"BSD-3-Clause"
] | null | null | null | samples/sonar_SRF10_test/test.cpp | mjlsuccess/mrpt | 916c41579f91573e6c309dc67956ca808bf80fe7 | [
"BSD-3-Clause"
] | null | null | null | samples/sonar_SRF10_test/test.cpp | mjlsuccess/mrpt | 916c41579f91573e6c309dc67956ca808bf80fe7 | [
"BSD-3-Clause"
] | 1 | 2018-07-17T11:50:42.000Z | 2018-07-17T11:50:42.000Z | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | 28.261905 | 80 | 0.573926 | mjlsuccess |
41cd804d89e084684a7ce3bf8ca61961b62a2c80 | 170,444 | cpp | C++ | src/worklist-ai/worklistai.cpp | ChunghaSung/intAbs | b80d842993013ca40d4900498171192bd94b2602 | [
"MIT"
] | 7 | 2018-01-18T05:04:10.000Z | 2021-02-07T02:46:48.000Z | src/worklist-ai/worklistai.cpp | sch8906/intAbs | b80d842993013ca40d4900498171192bd94b2602 | [
"MIT"
] | 1 | 2021-12-15T07:45:03.000Z | 2021-12-30T04:54:49.000Z | src/worklist-ai/worklistai.cpp | sch8906/intAbs | b80d842993013ca40d4900498171192bd94b2602 | [
"MIT"
] | 4 | 2019-11-21T19:36:12.000Z | 2022-03-30T14:07:29.000Z | /**
* Author: Chungha Sung
* This is modified version of Markus' source code of his FSE 2017 submission.
*
* Original Author: Markus Kusano
*
* LLVM pass to perform abstract interpretation (using apron)
*/
#include "llvm/Pass.h"
#include "latticefact.h"
#include "varvisit.h"
#include "bbops.h"
#include "utils.h... | 36.560275 | 104 | 0.590129 | ChunghaSung |
41ce91bf7c7e8bf7c72170131baddc803b82c39d | 2,122 | cpp | C++ | src/Private/AnimSceneActions/UpdateEntitiesAction.cpp | heltena/KYEngine | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | [
"MIT"
] | null | null | null | src/Private/AnimSceneActions/UpdateEntitiesAction.cpp | heltena/KYEngine | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | [
"MIT"
] | null | null | null | src/Private/AnimSceneActions/UpdateEntitiesAction.cpp | heltena/KYEngine | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | [
"MIT"
] | null | null | null | #include <KYEngine/Core.h>
#include <KYEngine/SceneTimelineInfo.h>
#include <KYEngine/Utility/TiXmlHelper.h>
#include <KYEngine/Private/AnimSceneActions/UpdateEntitiesAction.h>
#include <cmath>
#include <iostream>
#include <stdexcept>
const std::string UpdateEntitiesAction::XML_NODE = "update-entities";
UpdateEntiti... | 29.472222 | 119 | 0.707352 | heltena |
41d1ac8f89497154904f297d25268ee4422b4fa9 | 4,349 | cxx | C++ | panda/src/express/profileTimer.cxx | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/express/profileTimer.cxx | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/express/profileTimer.cxx | sean5470/panda3d | ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file profileTimer.cxx
*/
#... | 24.296089 | 83 | 0.584732 | sean5470 |
41d5e6fdf17048d5c977d867533b641d3d5b0f2f | 1,506 | cpp | C++ | src/HapticAssetTools.cpp | HardlightVR/HL-haptictools | c177a92ce3adab80416f0e85c1ad89083d9da6b6 | [
"MIT"
] | null | null | null | src/HapticAssetTools.cpp | HardlightVR/HL-haptictools | c177a92ce3adab80416f0e85c1ad89083d9da6b6 | [
"MIT"
] | null | null | null | src/HapticAssetTools.cpp | HardlightVR/HL-haptictools | c177a92ce3adab80416f0e85c1ad89083d9da6b6 | [
"MIT"
] | 1 | 2020-06-29T14:42:24.000Z | 2020-06-29T14:42:24.000Z | #include "stdafx.h"
#include "HapticAssetTools.h"
#include "AssetToolsLibrary.h"
#define AS_TYPE(Type, Obj) reinterpret_cast<Type *>(Obj)
#define AS_CTYPE(Type, Obj) reinterpret_cast<const Type *>(Obj)
unsigned int NS_ASSETTOOLS_API NSAT_GetVersion(void)
{
return NS_ASSETTOOLS_VERSION;
}
int NSAT_IsCompatibleDLL(v... | 23.53125 | 129 | 0.790837 | HardlightVR |
41d621c72ebdc8325cb1780ec683d6060004089d | 578 | cpp | C++ | code/1087 1 10 100 1000.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | code/1087 1 10 100 1000.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | code/1087 1 10 100 1000.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | #include<stdio.h>
long long f[1000000];
int main()
{
int n;
long long sum=1,i=0;
while(sum<=1000000000)
{
f[i]=sum;
i++;
sum+=i;
}
scanf("%d",&n);
for(int i=0;i<n;i++)
{
int temp;
scanf("%d",&temp);
for(int j=0;j<=44721;j++)
... | 15.210526 | 33 | 0.313149 | PIPIKAI |
41d78e97494757744c4c1321b744ac7dea15b3ec | 2,771 | cpp | C++ | plot-test.cpp | kp2pml30/spring-pendulum | abbfdb7d445fc439c0d6006c0de04dc467577c7e | [
"MIT"
] | null | null | null | plot-test.cpp | kp2pml30/spring-pendulum | abbfdb7d445fc439c0d6006c0de04dc467577c7e | [
"MIT"
] | null | null | null | plot-test.cpp | kp2pml30/spring-pendulum | abbfdb7d445fc439c0d6006c0de04dc467577c7e | [
"MIT"
] | null | null | null | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <chrono>
#include <iostream>
#include <memory>
#include <stdexcept>
#include <numbers>
#include "Solvers.h"
using vec2 = mth::vec2<double>;
namespace
{
static constexpr double TO = 4;
static constexpr double STEP = 1;
void error_callback(int error, char const*... | 17.537975 | 80 | 0.568387 | kp2pml30 |
41da1889fcd6a6f0b9e493676c03fa5ab2d3835b | 462 | cpp | C++ | application/pages/modplatform/TechnicPage.cpp | StephenGss/Polycraft-Launcher | d70f6729dba876e0252b075dcfd4c9caa45113b2 | [
"Apache-2.0"
] | 3 | 2020-10-08T19:55:33.000Z | 2021-11-28T04:02:39.000Z | application/pages/modplatform/TechnicPage.cpp | StephenGss/Polycraft-Launcher | d70f6729dba876e0252b075dcfd4c9caa45113b2 | [
"Apache-2.0"
] | null | null | null | application/pages/modplatform/TechnicPage.cpp | StephenGss/Polycraft-Launcher | d70f6729dba876e0252b075dcfd4c9caa45113b2 | [
"Apache-2.0"
] | null | null | null | #include "TechnicPage.h"
#include "ui_TechnicPage.h"
#include "PolycraftLauncher.h"
#include "dialogs/NewInstanceDialog.h"
TechnicPage::TechnicPage(NewInstanceDialog* dialog, QWidget *parent)
: QWidget(parent), ui(new Ui::TechnicPage), dialog(dialog)
{
ui->setupUi(this);
}
TechnicPage::~TechnicPage()
{
d... | 17.111111 | 68 | 0.718615 | StephenGss |
41da2a660915e34383118a58e3bb474392502bab | 559 | cc | C++ | rocks-sys/rocks/rate_limiter.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 40 | 2017-05-16T06:10:51.000Z | 2021-09-02T01:06:37.000Z | rocks-sys/rocks/rate_limiter.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 12 | 2017-06-11T09:42:02.000Z | 2020-10-11T23:46:31.000Z | rocks-sys/rocks/rate_limiter.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 8 | 2017-05-16T03:44:53.000Z | 2020-10-11T22:01:17.000Z |
#include "rocksdb/rate_limiter.h"
#include "rocks/ctypes.hpp"
using namespace ROCKSDB_NAMESPACE;
using std::shared_ptr;
extern "C" {
// FIXME: leaks a ointer size
rocks_ratelimiter_t* rocks_ratelimiter_create(int64_t rate_bytes_per_sec, int64_t refill_period_us, int32_t fairness) {
rocks_ratelimiter_t* rate_lim... | 26.619048 | 119 | 0.810376 | sezaru |
41dbdf267eacda1aa0f29f85b8807661c647fa0f | 4,647 | cc | C++ | chrome/browser/process_singleton_mac_unittest.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2016-03-10T09:13:57.000Z | 2016-03-10T09:13:57.000Z | chrome/browser/process_singleton_mac_unittest.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2022-03-13T08:39:05.000Z | 2022-03-13T08:39:05.000Z | chrome/browser/process_singleton_mac_unittest.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010 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 <errno.h>
#include <fcntl.h>
#include <sys/file.h>
#include "chrome/browser/process_singleton.h"
#include "base/eintr_wrapper.h"
#include "... | 31.187919 | 80 | 0.713579 | gavinp |
41de11a203843e20f35ac3606529553f96bc13be | 10,117 | cpp | C++ | src/Event.cpp | JeromeOrtali/PureBasic-Engine3D | bc584c6469a15cee4c2c7c1deb5dadfe91595eff | [
"BSD-2-Clause",
"Apache-2.0"
] | 1 | 2020-07-26T01:30:45.000Z | 2020-07-26T01:30:45.000Z | src/Event.cpp | JeromeOrtali/PureBasic-Engine3D | bc584c6469a15cee4c2c7c1deb5dadfe91595eff | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | src/Event.cpp | JeromeOrtali/PureBasic-Engine3D | bc584c6469a15cee4c2c7c1deb5dadfe91595eff | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | /* PureBasic Engine3D licence
* --------------------------
*
* MIT License
*
* Copyright (c) 2017 Jerome Ortali
*
* 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,... | 43.607759 | 142 | 0.560443 | JeromeOrtali |
41de92bde3868e46c194e39ac673bf598bf0779c | 428 | cpp | C++ | src_test/uuid.test.cpp | hannes-hochreiner/raw-data-db-agent | 1797e3b897f4e07cd253b5b45b4c1daba203ec62 | [
"MIT"
] | null | null | null | src_test/uuid.test.cpp | hannes-hochreiner/raw-data-db-agent | 1797e3b897f4e07cd253b5b45b4c1daba203ec62 | [
"MIT"
] | null | null | null | src_test/uuid.test.cpp | hannes-hochreiner/raw-data-db-agent | 1797e3b897f4e07cd253b5b45b4c1daba203ec62 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "uuid.hpp"
namespace {
TEST(global, round_trip) {
std::string res = get_uuid();
const std::string hex_chars("0123456789ABCDEF");
for (uint cntr = 0; cntr < 36; cntr++) {
if ((cntr == 8) || (cntr == 13) || (cntr == 18) || (cntr == 23)) {
EXPECT_EQ('-', res[... | 23.777778 | 72 | 0.535047 | hannes-hochreiner |
41e09a337a7c44ec991403185888fc8b48bb448c | 9,585 | cpp | C++ | video/common/Video/jhcExpVSrc.cpp | Bhaskers-Blu-Org1/ALIA | 3184441a0720e75322497b0ed60fad35e843b900 | [
"Apache-2.0"
] | 1 | 2020-03-01T13:22:34.000Z | 2020-03-01T13:22:34.000Z | video/common/Video/jhcExpVSrc.cpp | Bhaskers-Blu-Org1/ALIA | 3184441a0720e75322497b0ed60fad35e843b900 | [
"Apache-2.0"
] | null | null | null | video/common/Video/jhcExpVSrc.cpp | Bhaskers-Blu-Org1/ALIA | 3184441a0720e75322497b0ed60fad35e843b900 | [
"Apache-2.0"
] | 1 | 2020-07-30T10:24:58.000Z | 2020-07-30T10:24:58.000Z | // jhcExpVSrc.cpp : iterator for shoveling images to analysis programs
//
// Written by Jonathan H. Connell, jconnell@alum.mit.edu
//
///////////////////////////////////////////////////////////////////////////
//
// Copyright 1998-2014 IBM Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License")... | 24.703608 | 78 | 0.579969 | Bhaskers-Blu-Org1 |
41e3ee186f4ae73aa31633229e39c73c7de9e52e | 3,793 | cc | C++ | middle-end-optis/live-uninit-regs/src/lib/imodule.cc | obs145628/cle | 4a4a18b2ab5a6fbf26629f6845147541edabd7c9 | [
"MIT"
] | null | null | null | middle-end-optis/live-uninit-regs/src/lib/imodule.cc | obs145628/cle | 4a4a18b2ab5a6fbf26629f6845147541edabd7c9 | [
"MIT"
] | null | null | null | middle-end-optis/live-uninit-regs/src/lib/imodule.cc | obs145628/cle | 4a4a18b2ab5a6fbf26629f6845147541edabd7c9 | [
"MIT"
] | null | null | null | #include "imodule.hh"
#include <cassert>
#include <utils/cli/err.hh>
namespace {
bool is_branch(const Ins &ins) {
const auto &opname = ins.args[0];
return opname == "b" || opname == "beq" || opname == "ret";
}
} // namespace
void BasicBlock::check() const {
for (std::size_t i = 0; i < _ins.size(); ++i) {
... | 27.485507 | 77 | 0.632745 | obs145628 |
41e8203349475f9d718126d436f3a11dffdb162f | 241 | cc | C++ | L3/7 - P42280 - Tauler d'escacs (1)/ex7.cc | angelgomezsa/Cplusplus | 9fd1ed5b1beffcf253019e8376b2bd41dac6e449 | [
"MIT"
] | null | null | null | L3/7 - P42280 - Tauler d'escacs (1)/ex7.cc | angelgomezsa/Cplusplus | 9fd1ed5b1beffcf253019e8376b2bd41dac6e449 | [
"MIT"
] | null | null | null | L3/7 - P42280 - Tauler d'escacs (1)/ex7.cc | angelgomezsa/Cplusplus | 9fd1ed5b1beffcf253019e8376b2bd41dac6e449 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main () {
int f,c;
cin >> f >> c;
char num;
int total=0;
for (int i=0;i<f;i++) {
for (int j=0;j<c;j++) {
char num;
cin >> num;
total+=num-'0';
}
}
cout << total << endl;
} | 12.684211 | 25 | 0.506224 | angelgomezsa |
41e8efb78f24087fc373b4a0f4107eb8ed91a410 | 4,648 | cpp | C++ | src/goto-instrument/wmm/abstract_event.cpp | mauguignard/cbmc | 70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5 | [
"BSD-4-Clause"
] | 412 | 2016-04-02T01:14:27.000Z | 2022-03-27T09:24:09.000Z | src/goto-instrument/wmm/abstract_event.cpp | mauguignard/cbmc | 70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5 | [
"BSD-4-Clause"
] | 4,671 | 2016-02-25T13:52:16.000Z | 2022-03-31T22:14:46.000Z | src/goto-instrument/wmm/abstract_event.cpp | mauguignard/cbmc | 70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5 | [
"BSD-4-Clause"
] | 266 | 2016-02-23T12:48:00.000Z | 2022-03-22T18:15:51.000Z | /*******************************************************************\
Module: abstract events
Author: Vincent Nimal
Date: 2012
\*******************************************************************/
/// \file
/// abstract events
#include "abstract_event.h"
bool abstract_eventt::unsafe_pair_lwfence_param(const abst... | 28.515337 | 79 | 0.579819 | mauguignard |
41ea65811bb6146c803676737fbd885795f7c6f3 | 2,551 | cpp | C++ | Math/Source/Geometry/Plane.cpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | 2 | 2017-10-29T06:43:05.000Z | 2020-03-27T10:27:07.000Z | Math/Source/Geometry/Plane.cpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | null | null | null | Math/Source/Geometry/Plane.cpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | 5 | 2016-02-06T11:01:51.000Z | 2019-03-18T13:56:00.000Z | //====================================================================================
//Plane.cpp : plane geometry implementation
//
//This code is part of Anubis Engine.
//
//Anubis Engine is a free game engine created as a fan project to be
//awesome platform for developing games!
//
//All sources can be found here:... | 38.074627 | 95 | 0.696198 | Solidstatewater |
41ea950f7b9ac6e2bac86adbe53fc136929102de | 7,308 | cpp | C++ | src/configure/bind/filesystem.cpp | hotgloupi/configure | 888cf725c93df5a1cf01794cc0a581586a82855c | [
"BSD-3-Clause"
] | 1 | 2015-11-13T10:37:35.000Z | 2015-11-13T10:37:35.000Z | src/configure/bind/filesystem.cpp | hotgloupi/configure | 888cf725c93df5a1cf01794cc0a581586a82855c | [
"BSD-3-Clause"
] | 19 | 2015-02-10T17:18:58.000Z | 2015-07-11T11:31:08.000Z | src/configure/bind/filesystem.cpp | hotgloupi/configure | 888cf725c93df5a1cf01794cc0a581586a82855c | [
"BSD-3-Clause"
] | null | null | null | #include <configure/bind.hpp>
#include <configure/bind/path_utils.hpp>
#include <configure/Filesystem.hpp>
#include <configure/lua/State.hpp>
#include <configure/lua/Type.hpp>
#include <configure/Node.hpp>
#include <configure/bind/path_utils.hpp>
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;
na... | 28.107692 | 108 | 0.65613 | hotgloupi |
41eccdec919e8af4a80d84f69017abeb6935d1bc | 2,044 | hh | C++ | include/arraydiff/context.hh | peterhj/arraydiff_cuda | 8825a4a79679aaaa708f47862c88e6574ff4cb3b | [
"Apache-2.0"
] | 1 | 2021-05-04T23:44:08.000Z | 2021-05-04T23:44:08.000Z | include/arraydiff/context.hh | peterhj/arraydiff_cuda | 8825a4a79679aaaa708f47862c88e6574ff4cb3b | [
"Apache-2.0"
] | null | null | null | include/arraydiff/context.hh | peterhj/arraydiff_cuda | 8825a4a79679aaaa708f47862c88e6574ff4cb3b | [
"Apache-2.0"
] | 1 | 2019-10-09T23:01:58.000Z | 2019-10-09T23:01:58.000Z | #ifndef ARRAYDIFF_CONTEXT_HH
#define ARRAYDIFF_CONTEXT_HH
#include <cuda_runtime.h>
#include <cublas.h>
#include <cudnn.h>
#include <nccl.h>
#include <cassert>
#include <experimental/optional>
#include <memory>
#include <vector>
namespace arraydiff {
using std::experimental::optional;
using std::shared_ptr;
using s... | 18.752294 | 89 | 0.733366 | peterhj |
41efaa24e2497e3bdc45dbe10b8f861a9b3648fc | 1,107 | hpp | C++ | src/Map.hpp | adileo/rpg-game-cpp | f43f231b0bdb7f4618ece8174d08cf26ab3125c6 | [
"MIT"
] | null | null | null | src/Map.hpp | adileo/rpg-game-cpp | f43f231b0bdb7f4618ece8174d08cf26ab3125c6 | [
"MIT"
] | null | null | null | src/Map.hpp | adileo/rpg-game-cpp | f43f231b0bdb7f4618ece8174d08cf26ab3125c6 | [
"MIT"
] | null | null | null | /*
* Map.hpp
*
* Created on: 18 giu 2016
* Author: adileobarone
*
* La mappa è composta solo da stanze, non si deve occupare degli oggetti che ci sono sopra,
* poichè sono altre entità gestite da altre classi, l'unico link che c'è è quello che ogni oggetto
* punta a una posizione della mappa in cui si ... | 18.147541 | 100 | 0.671183 | adileo |
41f05244117e51ea6259db2cd44c2f9a70cb4313 | 2,438 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR_System/system.Buffer.Bytes/CPP/setbyte.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Buffer.Bytes/CPP/setbyte.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Buffer.Bytes/CPP/setbyte.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z |
//<Snippet2>
// Example of the Buffer::SetByte method.
using namespace System;
// Display the array contents in hexadecimal.
void DisplayArray( Array^ arr, String^ name )
{
// Get the array element width; format the formatting string.
int elemWidth = Buffer::ByteLength( arr ) / arr->Length;
St... | 33.861111 | 72 | 0.647252 | hamarb123 |
41f3e35c912ccd2bfb382622751e1763fe19ad24 | 1,528 | cpp | C++ | Source/ProceduralTerrainGenerator/Private/BlurFilter.cpp | McOmghall/procedural-terrain-generator-UE4-plugin | bebf4723e86eeeb75b444bef68dbaaf662813165 | [
"Apache-2.0"
] | 7 | 2019-03-20T10:06:21.000Z | 2022-01-06T14:54:47.000Z | Source/ProceduralTerrainGenerator/Private/BlurFilter.cpp | McOmghall/procedural-terrain-generator-UE4-plugin | bebf4723e86eeeb75b444bef68dbaaf662813165 | [
"Apache-2.0"
] | 1 | 2019-07-30T07:10:37.000Z | 2019-07-30T07:10:37.000Z | Source/ProceduralTerrainGenerator/Private/BlurFilter.cpp | McOmghall/procedural-terrain-generator-UE4-plugin | bebf4723e86eeeb75b444bef68dbaaf662813165 | [
"Apache-2.0"
] | 4 | 2019-08-09T07:31:07.000Z | 2022-02-13T07:13:40.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "BlurFilter.h"
// NaÏve gaussian blur impl
bool UBlurFilter::ModifyHeightMap(TArray<uint16>* RawHeightMapData, FBounds Bounds, FRandomStream* RandomStream)
{
for (int32 j = Bounds.MinY; j <= Bounds.MaxY; j++)
{
for (int32 i = ... | 39.179487 | 138 | 0.690445 | McOmghall |
41f4297d1caf636432a0ca6c9633ab506544f07b | 333 | cpp | C++ | examples/hello/hello_world_lib.cpp | juugcatm/bazel_environment | 248cfb923ea83a270082883079af617e507cc760 | [
"Unlicense"
] | 5 | 2019-06-14T16:36:31.000Z | 2020-05-01T06:20:35.000Z | examples/hello/hello_world_lib.cpp | juugcatm/bazel_environment | 248cfb923ea83a270082883079af617e507cc760 | [
"Unlicense"
] | null | null | null | examples/hello/hello_world_lib.cpp | juugcatm/bazel_environment | 248cfb923ea83a270082883079af617e507cc760 | [
"Unlicense"
] | null | null | null | #include "examples/hello/hello_world_lib.h"
#include "glog/logging.h"
namespace hello {
bool print (proto::Hello hello_pb) {
LOG(INFO) << "Hello world!";
if (!hello_pb.extra_message().empty()) {
LOG(INFO) << hello_pb.extra_message();
}
usleep(1000000);
return !hello_pb.extra_message().emp... | 19.588235 | 45 | 0.642643 | juugcatm |
41f4c066d8701e14e1ac7a4bbc7d3161b2a7e9de | 5,401 | cpp | C++ | src/interrupts/panic.cpp | LipkeGu1810/FoxOS-kernel | d504dcac542e5535eb0481babc0515c6fe8e9f28 | [
"MIT"
] | null | null | null | src/interrupts/panic.cpp | LipkeGu1810/FoxOS-kernel | d504dcac542e5535eb0481babc0515c6fe8e9f28 | [
"MIT"
] | null | null | null | src/interrupts/panic.cpp | LipkeGu1810/FoxOS-kernel | d504dcac542e5535eb0481babc0515c6fe8e9f28 | [
"MIT"
] | null | null | null | #include <interrupts/panic.h>
#include <scheduling/scheduler/scheduler.h>
#include <renderer/renderer2D.h>
#include <renderer/point.h>
#include <driver/serial.h>
#include <config.h>
#include <stdio.h>
#include <disassembler.h>
using namespace interrupts;
Panic::Panic(int intr) {
this->intr = intr;
this->panic ... | 31.04023 | 153 | 0.68154 | LipkeGu1810 |
41f55010dc52b72d08f62ca9ae5c27faaa9f798b | 5,441 | cpp | C++ | src/lib/cleaver/Cleaver.cpp | thewtex/Cleaver2 | 8ef0985c451f3bbba8bb580f1737f0ef88c31147 | [
"MIT"
] | 32 | 2015-08-29T12:40:14.000Z | 2022-03-01T21:15:05.000Z | src/lib/cleaver/Cleaver.cpp | thewtex/Cleaver2 | 8ef0985c451f3bbba8bb580f1737f0ef88c31147 | [
"MIT"
] | 98 | 2015-02-04T17:22:56.000Z | 2022-03-22T07:18:10.000Z | src/lib/cleaver/Cleaver.cpp | thewtex/Cleaver2 | 8ef0985c451f3bbba8bb580f1737f0ef88c31147 | [
"MIT"
] | 19 | 2015-02-23T15:21:13.000Z | 2022-01-09T00:57:13.000Z | //-------------------------------------------------------------------
//-------------------------------------------------------------------
//
// Cleaver - A MultiMaterial Tetrahedral Mesher
// -- Mesher Class
//
// Author: Jonathan Bronson (bronson@sci.utah.edu)
//
//--------------------------------------------------... | 30.396648 | 107 | 0.588127 | thewtex |
41f5e46a1f1e2d4291072d71a2ade40d1e1829f0 | 1,289 | cpp | C++ | C++/flip_bits.cpp | Paimon-food/hacktoberfest2021 | b62d8c641aa2b27fc6d481f6719fd0981221344a | [
"CC0-1.0"
] | 1 | 2021-10-09T17:39:19.000Z | 2021-10-09T17:39:19.000Z | C++/flip_bits.cpp | Paimon-food/hacktoberfest2021 | b62d8c641aa2b27fc6d481f6719fd0981221344a | [
"CC0-1.0"
] | null | null | null | C++/flip_bits.cpp | Paimon-food/hacktoberfest2021 | b62d8c641aa2b27fc6d481f6719fd0981221344a | [
"CC0-1.0"
] | null | null | null | /*Problem Statement: You are given an array of integers ARR[] of size N consisting of zeros and ones. You have to select a subset and flip bits of that subset.
You have to return the count of maximum one’s that you can obtain by flipping chosen sub-array at most once.
A flip operation is one in which you turn 1 into 0... | 20.140625 | 160 | 0.47789 | Paimon-food |
41f820e985264fff1bec67755323714b98ad8f08 | 2,520 | cc | C++ | rama/qt/nelder_mead.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | null | null | null | rama/qt/nelder_mead.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | 127 | 2017-11-01T01:28:28.000Z | 2021-03-18T05:12:21.000Z | rama/qt/nelder_mead.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | 2 | 2017-10-20T01:16:49.000Z | 2018-11-04T02:36:53.000Z | // Rama Simulator, Copyright (C) 2014-2020 Russell Smith.
//
// 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.
//
// T... | 30 | 80 | 0.668254 | teenylasers |
41f89a007b72f7b12b342c22a9fa4c3c7d19fd41 | 3,704 | cpp | C++ | src/modules/Phone/Call.cpp | pdumais/dhas | 424212d4766c02f5df9e363ddb8ad2c295ed49d8 | [
"MIT"
] | 12 | 2015-09-09T07:05:27.000Z | 2020-12-27T12:52:28.000Z | src/modules/Phone/Call.cpp | pdumais/dhas | 424212d4766c02f5df9e363ddb8ad2c295ed49d8 | [
"MIT"
] | null | null | null | src/modules/Phone/Call.cpp | pdumais/dhas | 424212d4766c02f5df9e363ddb8ad2c295ed49d8 | [
"MIT"
] | 2 | 2016-10-23T05:23:20.000Z | 2020-09-17T22:01:33.000Z | #include "DHASLogging.h"
#include "Call.h"
#include <stdio.h>
#include "resip/dum/InviteSession.hxx"
#include "resip/dum/ClientInviteSession.hxx"
#include "AppDialogSetNotifySoundsEmptyCommand.h"
using namespace resip;
Call::Call(resip::DialogUsageManager &dum, ActionMachine* am):AppDialogSet(dum)
{
this->mpActi... | 21.287356 | 95 | 0.657127 | pdumais |
41fa432b5f2d2e2a90f3b00c8d094cbd16c7a44c | 3,517 | cpp | C++ | library/tree/avlTree.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 40 | 2017-11-26T05:29:18.000Z | 2020-11-13T00:29:26.000Z | library/tree/avlTree.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 101 | 2019-02-09T06:06:09.000Z | 2021-12-25T16:55:37.000Z | library/tree/avlTree.cpp | bluedawnstar/algorithm_library | 4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6 | [
"Unlicense"
] | 6 | 2017-01-03T14:17:58.000Z | 2021-01-22T10:37:04.000Z | #include <cassert>
#include <functional>
#include <algorithm>
using namespace std;
#include "avlTree.h"
/////////// For Testing ///////////////////////////////////////////////////////
#include <time.h>
#include <cassert>
#include <string>
#include <numeric>
#include <set>
#include <vector>
#include <iostream>
#incl... | 29.066116 | 83 | 0.473415 | bluedawnstar |
51014f83b16bccc991f6011e9ff0a6a90e4e71a3 | 482 | cpp | C++ | src/bvec/use_bvec.cpp | warelab/snapdragon | 05d969f362706a9208383545022f06e78f2bf529 | [
"MIT-0"
] | 1 | 2016-11-17T04:13:13.000Z | 2016-11-17T04:13:13.000Z | src/bvec/use_bvec.cpp | warelab/snapdragon | 05d969f362706a9208383545022f06e78f2bf529 | [
"MIT-0"
] | null | null | null | src/bvec/use_bvec.cpp | warelab/snapdragon | 05d969f362706a9208383545022f06e78f2bf529 | [
"MIT-0"
] | null | null | null | #include "bvec.h"
int main(int argc, char *argv[]) {
vector<uint64_t> vec1,vec2;
vec1.push_back(0);
vec1.push_back(100);
vec2.push_back(0);
vec2.push_back(10);
BitVector *bv1 = new BitVector(vec1);
BitVector *bv2 = new BitVector(vec2);
printf("bv1->cnt()=%llu\n",bv1->cnt());
printf("bv2->cnt()=%llu\n",bv2->cn... | 26.777778 | 40 | 0.626556 | warelab |
eedccf4ba5547f7e03ba807485b21e307c9e24cb | 9,465 | cpp | C++ | Simbody/tests/adhoc/OpenSimPartyDemoCable.cpp | elen4/simbody | 3ddbc16323afa45b7698c38e07266a7de15e2ad2 | [
"Apache-2.0"
] | 2 | 2020-01-15T05:03:30.000Z | 2021-01-16T06:18:47.000Z | Simbody/tests/adhoc/OpenSimPartyDemoCable.cpp | sohapouya/simbody | 3729532453b22ffa3693962210941184f5617f5b | [
"Apache-2.0"
] | null | null | null | Simbody/tests/adhoc/OpenSimPartyDemoCable.cpp | sohapouya/simbody | 3729532453b22ffa3693962210941184f5617f5b | [
"Apache-2.0"
] | 1 | 2021-09-24T15:20:36.000Z | 2021-09-24T15:20:36.000Z | /* -------------------------------------------------------------------------- *
* Simbody(tm) Adhoc Test: Cable Over Bicubic Surfaces *
* -------------------------------------------------------------------------- *
* This is part of the SimTK biosimulation toolkit originating from *
... | 36.125954 | 108 | 0.609192 | elen4 |
eedff2bbd0219385c868326074ac9a8d18cea3b7 | 100,758 | cpp | C++ | src/gdt/gdt_utils.cpp | dfranusic/mink-core | 98b4ab8d6322a5593ab6c05132473753915a3bb8 | [
"MIT"
] | 1 | 2022-01-28T22:29:14.000Z | 2022-01-28T22:29:14.000Z | src/gdt/gdt_utils.cpp | dfranusic/mink-core | 98b4ab8d6322a5593ab6c05132473753915a3bb8 | [
"MIT"
] | 28 | 2021-08-31T09:27:36.000Z | 2022-03-17T13:57:56.000Z | src/gdt/gdt_utils.cpp | dfranusic/mink-core | 98b4ab8d6322a5593ab6c05132473753915a3bb8 | [
"MIT"
] | 5 | 2021-08-25T13:20:39.000Z | 2022-01-27T18:04:15.000Z | /* _ _
* _ __ ___ (_)_ __ | | __
* | '_ ` _ \| | '_ \| |/ /
* | | | | | | | | | | <
* |_| |_| |_|_|_| |_|_|\_\
*
* SPDX-License-Identifier: MIT
*
*/
#include <endian.h>
#include <errno.h>
#include <iomanip>
#include <gdt_utils.h>
bool gdt::ServiceParam::FRAGMENTATION_DONE = false;
bool gdt... | 37.180074 | 125 | 0.44981 | dfranusic |
eee054ddb45e98344a7c22275a544a0007ce30fe | 135 | cpp | C++ | Plugins/KizuEngine/Source/KizuEngine/Private/Core/Combat/KizuCombat.cpp | Hiro-KE/UE4-KizuEngine | 42c5f5c934f0fa6a3265a39157087a61abeaa3a0 | [
"MIT"
] | 11 | 2020-12-26T23:16:45.000Z | 2022-03-19T20:19:36.000Z | Plugins/KizuEngine/Source/KizuEngine/Private/Core/Combat/KizuCombat.cpp | Fukaidemon/UE4-KizuEngine | 42c5f5c934f0fa6a3265a39157087a61abeaa3a0 | [
"MIT"
] | null | null | null | Plugins/KizuEngine/Source/KizuEngine/Private/Core/Combat/KizuCombat.cpp | Fukaidemon/UE4-KizuEngine | 42c5f5c934f0fa6a3265a39157087a61abeaa3a0 | [
"MIT"
] | null | null | null | // KizuEngine Copyright (c) 2019 Jed Fakhfekh. This software is released under the MIT License.
#include "Core/Combat/KizuCombat.h"
| 22.5 | 95 | 0.762963 | Hiro-KE |
eee1135884b51f4dabc53219fbf7019ecb5d2e0e | 4,181 | cpp | C++ | cdn/src/v20180606/model/HttpHeaderRule.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | cdn/src/v20180606/model/HttpHeaderRule.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | cdn/src/v20180606/model/HttpHeaderRule.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 28.442177 | 138 | 0.701746 | sinjoywong |
eee7b92440f44b6c9f6b37733489daef1568084a | 6,162 | hpp | C++ | include/eve/module/real/core/function/regular/generic/store.hpp | the-moisrex/eve | 80b52663eefee11460abb0aedf4158a5067cf7dc | [
"MIT"
] | 340 | 2020-09-16T21:12:48.000Z | 2022-03-28T15:40:33.000Z | third-party/eve/module/real/core/function/regular/generic/store.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 383 | 2020-09-17T06:56:35.000Z | 2022-03-13T15:58:53.000Z | third-party/eve/module/real/core/function/regular/generic/store.hpp | aguinet/ecsimd | cba9e7fe76601b98cbaeea317b6c4e671272e70b | [
"Apache-2.0"
] | 28 | 2021-02-27T23:11:23.000Z | 2022-03-25T12:31:29.000Z | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 36.678571 | 118 | 0.540409 | the-moisrex |
eee80134cd760b89e821f29a1ee0ce616b0f6efa | 17,039 | cpp | C++ | src/table_functions.cpp | ThomasWitte/MiniLua | 033a357c602d2d2ebeca304d1a3660ad1e5d7298 | [
"MIT"
] | 2 | 2020-07-08T11:51:02.000Z | 2021-02-22T23:28:37.000Z | src/table_functions.cpp | ThomasWitte/MiniLua | 033a357c602d2d2ebeca304d1a3660ad1e5d7298 | [
"MIT"
] | 142 | 2020-08-31T13:21:17.000Z | 2021-09-15T18:46:10.000Z | src/table_functions.cpp | ThomasWitte/MiniLua | 033a357c602d2d2ebeca304d1a3660ad1e5d7298 | [
"MIT"
] | 3 | 2020-08-17T13:42:39.000Z | 2020-08-31T11:38:05.000Z | #include "MiniLua/table_functions.hpp"
#include "MiniLua/utils.hpp"
#include "MiniLua/values.hpp"
#include <algorithm>
#include <cmath>
#include <future>
#include <iostream>
#include <stdexcept>
#include <string>
#include <utility>
#include <variant>
#include <vector>
namespace minilua {
auto static try_value_is_int(V... | 39.810748 | 100 | 0.443453 | ThomasWitte |
eeea3c01c736a4561216e651168c651d59733849 | 404 | cpp | C++ | Tokenizer.cpp | rohan-0100010110010100/FrontEnd-ComplerDesign-Lab | dde0c8609982bf6aa209af600af781984fc0b621 | [
"MIT"
] | null | null | null | Tokenizer.cpp | rohan-0100010110010100/FrontEnd-ComplerDesign-Lab | dde0c8609982bf6aa209af600af781984fc0b621 | [
"MIT"
] | null | null | null | Tokenizer.cpp | rohan-0100010110010100/FrontEnd-ComplerDesign-Lab | dde0c8609982bf6aa209af600af781984fc0b621 | [
"MIT"
] | 2 | 2018-10-11T14:14:55.000Z | 2020-02-27T10:28:59.000Z | #include <string.h>
#include <stdio.h>
#include <conio.h>
int main()
{
char str[80];
const char s[2] = "-";
char *token;
clrscr();
printf("Enter String for tokenization: ");
gets(str);
token = strtok(str, s);
while( token != NULL )
{
printf( " %s\n", token ... | 15.538462 | 48 | 0.472772 | rohan-0100010110010100 |
eeec0d2d9fb95d6d0ebac8ebbbf46089ad41685d | 5,392 | cpp | C++ | lib/seqan3/test/unit/search/search_scheme_test.cpp | SGSSGene/seqan3_demo | 5602af4ba437c973d4f84eb3ccb58330044978e2 | [
"BSD-3-Clause"
] | null | null | null | lib/seqan3/test/unit/search/search_scheme_test.cpp | SGSSGene/seqan3_demo | 5602af4ba437c973d4f84eb3ccb58330044978e2 | [
"BSD-3-Clause"
] | null | null | null | lib/seqan3/test/unit/search/search_scheme_test.cpp | SGSSGene/seqan3_demo | 5602af4ba437c973d4f84eb3ccb58330044978e2 | [
"BSD-3-Clause"
] | null | null | null | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 37.186207 | 112 | 0.639837 | SGSSGene |
eeecc946554d44973d88523a819de74c7bfe8446 | 9,374 | cpp | C++ | server/worker.cpp | pmakaruk/-Network-File-System | 8fddd7d9c5d850f1e3b621481f21fe378b1e8a21 | [
"MIT"
] | null | null | null | server/worker.cpp | pmakaruk/-Network-File-System | 8fddd7d9c5d850f1e3b621481f21fe378b1e8a21 | [
"MIT"
] | null | null | null | server/worker.cpp | pmakaruk/-Network-File-System | 8fddd7d9c5d850f1e3b621481f21fe378b1e8a21 | [
"MIT"
] | null | null | null | #include <fcntl.h>
#include <iostream>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <dirent.h>
#include <string.h>
#include "../libraries/core/messages.hpp"
#include "../libraries/core/serializers.hpp"
#include "../tests/utils.hpp"
//#include "worker.h"
#include "worker.hpp"
#include "ha... | 33.719424 | 91 | 0.663324 | pmakaruk |
eeed81b675f735ef27211f8b2846f29330a02e90 | 790 | hpp | C++ | engine/engine/gems/image/cuda/yuv2rgb.cu.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2020-04-14T13:55:16.000Z | 2020-04-14T13:55:16.000Z | engine/engine/gems/image/cuda/yuv2rgb.cu.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 4 | 2020-09-25T22:34:29.000Z | 2022-02-09T23:45:12.000Z | engine/engine/gems/image/cuda/yuv2rgb.cu.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2022-01-28T16:37:51.000Z | 2022-01-28T16:37:51.000Z | /*
Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 37.619048 | 89 | 0.770886 | ddr95070 |
eef3a5ff3595dbb69f895dd41ddbce2c6e07bfb1 | 627 | hpp | C++ | RIFF/RIFFBase.hpp | SegaraRai/MeiToAvi | ce5f57d79808e5b8f397d32d3f37c79b15ff4909 | [
"MIT"
] | 6 | 2020-02-04T09:24:29.000Z | 2022-02-26T18:03:34.000Z | RIFF/RIFFBase.hpp | SegaraRai/MeiToAvi | ce5f57d79808e5b8f397d32d3f37c79b15ff4909 | [
"MIT"
] | null | null | null | RIFF/RIFFBase.hpp | SegaraRai/MeiToAvi | ce5f57d79808e5b8f397d32d3f37c79b15ff4909 | [
"MIT"
] | null | null | null | #ifndef ML_RIFFBASE_HPP
#define ML_RIFFBASE_HPP
#include <cstddef>
#include <cstdint>
#include <ios>
#include <memory>
#include "../Source/SourceBase.hpp"
class RIFFDirBase;
class RIFFBase {
public:
enum class Type {
Chunk,
List,
Root,
};
protected:
RIFFDirBase* parent;
public:
RIFFBase();
... | 15.292683 | 54 | 0.698565 | SegaraRai |
eefa8465c576ba062243ea860dd9d25f8ab80104 | 8,617 | cc | C++ | tensorflow/compiler/plugin/poplar/driver/passes/io_tiles_placer.cc | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 74 | 2020-07-06T17:11:39.000Z | 2022-01-28T06:31:28.000Z | tensorflow/compiler/plugin/poplar/driver/passes/io_tiles_placer.cc | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 9 | 2020-10-13T23:25:29.000Z | 2022-02-10T06:54:48.000Z | tensorflow/compiler/plugin/poplar/driver/passes/io_tiles_placer.cc | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 12 | 2020-07-08T07:27:17.000Z | 2021-12-27T08:54:27.000Z | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 37.465217 | 87 | 0.684113 | chenzhengda |