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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d39062a644a635edf25fc08cabc4c96a93117c22 | 922 | cpp | C++ | Pratice/repeatedString/main.cpp | JasenRatnam/LearningCplusplus | e2a67decf5233ac9e9f073e3dbcd60bbc4fe4a94 | [
"MIT"
] | null | null | null | Pratice/repeatedString/main.cpp | JasenRatnam/LearningCplusplus | e2a67decf5233ac9e9f073e3dbcd60bbc4fe4a94 | [
"MIT"
] | null | null | null | Pratice/repeatedString/main.cpp | JasenRatnam/LearningCplusplus | e2a67decf5233ac9e9f073e3dbcd60bbc4fe4a94 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
cout << "Enter words ";
string words;
vector <string> stringHolder;
int size = 0;
while (size != 5)
{
size++;
cin >> words;
stringHolder.push_back(words);
}
... | 18.44 | 78 | 0.4859 | JasenRatnam |
d39139f5437d8357fb6ff70daededd6f8024a64f | 500 | cpp | C++ | ue5/Blink_game/Blink_game/PiDigitalOutput.cpp | michivo/osd | ccc76aa0d7fa9b62b63d012481dbb318be0f6382 | [
"MIT"
] | null | null | null | ue5/Blink_game/Blink_game/PiDigitalOutput.cpp | michivo/osd | ccc76aa0d7fa9b62b63d012481dbb318be0f6382 | [
"MIT"
] | null | null | null | ue5/Blink_game/Blink_game/PiDigitalOutput.cpp | michivo/osd | ccc76aa0d7fa9b62b63d012481dbb318be0f6382 | [
"MIT"
] | null | null | null | #include "PiDigitalOutput.h"
#include "PiIoManager.h"
namespace pi_io {
Pi_digital_output::Pi_digital_output(Pin pin) : pin_{ Pi_io_manager::instance().register_output(pin) }
{
}
void Pi_digital_output::set_state(State state)
{
Pi_io_manager::instance().digital_write(pin_, state);
}
State Pi_digital_outpu... | 18.518519 | 103 | 0.736 | michivo |
d39e2ce9546228306e6525f4563d98c23c74011a | 3,217 | cpp | C++ | MonoNative.Tests/mscorlib/System/Runtime/InteropServices/mscorlib_System_Runtime_InteropServices_UCOMIStream_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative.Tests/mscorlib/System/Runtime/InteropServices/mscorlib_System_Runtime_InteropServices_UCOMIStream_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative.Tests/mscorlib/System/Runtime/InteropServices/mscorlib_System_Runtime_InteropServices_UCOMIStream_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | // Mono Native Fixture
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Namespace: System.Runtime.InteropServices
// Name: UCOMIStream
// C++ Typed Name: mscorlib::System::Runtime::InteropServices::UCOMIStream
#include <gtest/gtest.h>
#include <mscorlib/System/Runtime/Intero... | 27.033613 | 178 | 0.71806 | brunolauze |
d3a15126bd4f8b80e79078193f3df6e00b0f4e7b | 763 | cpp | C++ | src/lib/reorder.cpp | xuzijian629/pace2020 | ec39d0dd193daf9fa1306ee8508a6f80fbab3c79 | [
"MIT"
] | 3 | 2020-06-12T09:17:33.000Z | 2020-09-02T19:05:50.000Z | src/lib/reorder.cpp | xuzijian629/pace2020 | ec39d0dd193daf9fa1306ee8508a6f80fbab3c79 | [
"MIT"
] | null | null | null | src/lib/reorder.cpp | xuzijian629/pace2020 | ec39d0dd193daf9fa1306ee8508a6f80fbab3c79 | [
"MIT"
] | null | null | null | #include "graph.cpp"
Graph reorder(const Graph& g, const vector<int>& to) {
Graph ret;
int n = g.n();
for (int i = 0; i < n; i++) {
assert(g.nodes.test(i));
ret.add_node(to[i]);
FOR_EACH(j, at(g.adj, i)) { ret.add_edge(to[i], to[j]); }
}
if (g.root != -1) ret.root = to[g.roo... | 25.433333 | 65 | 0.496723 | xuzijian629 |
d3a2dcad7e91633690595747c0214b6d830471a3 | 9,266 | cpp | C++ | src/external/thread_mpi/src/p2p_send_recv.cpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 384 | 2015-01-02T19:44:15.000Z | 2022-03-27T15:13:15.000Z | src/external/thread_mpi/src/p2p_send_recv.cpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 168 | 2017-05-27T14:43:32.000Z | 2021-04-12T08:07:11.000Z | src/external/thread_mpi/src/p2p_send_recv.cpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 258 | 2015-01-19T11:19:57.000Z | 2022-03-18T08:59:52.000Z | /*
This source code file is part of thread_mpi.
Written by Sander Pronk, Erik Lindahl, and possibly others.
Copyright (c) 2009,2016, Sander Pronk, Erik Lindahl.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the follo... | 27.825826 | 87 | 0.642456 | hejamu |
d3a4b2fedbf139f9f34bc02019ee210dbf3eb967 | 5,781 | cpp | C++ | src/test/cases/multi_session.cpp | larsrh/associative | 5e8a6c5d03e4726e85c8835df5d7458dff00f95a | [
"Apache-2.0"
] | null | null | null | src/test/cases/multi_session.cpp | larsrh/associative | 5e8a6c5d03e4726e85c8835df5d7458dff00f95a | [
"Apache-2.0"
] | null | null | null | src/test/cases/multi_session.cpp | larsrh/associative | 5e8a6c5d03e4726e85c8835df5d7458dff00f95a | [
"Apache-2.0"
] | null | null | null | #include <sstream>
#include <boost/uuid/uuid_io.hpp>
#include "../test.hpp"
#include "../../util/io.hpp"
#include "../../util/util.hpp"
#include "../../util/exception.hpp"
#include "gen/isolevel_impls.hpp"
namespace associative { namespace test {
class Concurrent : public Test {};
TEST_F(Concurrent, IsolationUns... | 34.207101 | 107 | 0.749524 | larsrh |
d3a597ad501e2d555aba9b07db0a2aaea043bfa0 | 1,601 | cpp | C++ | MeanMedianMode.cpp | rj011/Hacktoberfest2021-4 | 0aa981d4ba5e71c86cc162d34fe57814050064c2 | [
"MIT"
] | 41 | 2021-10-03T16:03:52.000Z | 2021-11-14T18:15:33.000Z | MeanMedianMode.cpp | rj011/Hacktoberfest2021-4 | 0aa981d4ba5e71c86cc162d34fe57814050064c2 | [
"MIT"
] | 175 | 2021-10-03T10:47:31.000Z | 2021-10-20T11:55:32.000Z | MeanMedianMode.cpp | rj011/Hacktoberfest2021-4 | 0aa981d4ba5e71c86cc162d34fe57814050064c2 | [
"MIT"
] | 208 | 2021-10-03T11:24:04.000Z | 2021-10-31T17:27:59.000Z | #include<iostream>
using namespace std;
int main()
{
int invalue[]={2,4,5,2,6};
int num_value=5;
float tot=0;
float mean=0;
for(int i=0; i<num_value; i++)
{
tot = tot+invalue[i];
}
mean = tot/num_value;
cout<<"The mean value... | 18.835294 | 43 | 0.436602 | rj011 |
d3a676ab524adbc844d2f332ab9f5ea0a3f57335 | 68,589 | cpp | C++ | tests/utils/numeric_utils_test.cpp | geenen124/iresearch | f89902a156619429f9e8df94bd7eea5a78579dbc | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | tests/utils/numeric_utils_test.cpp | geenen124/iresearch | f89902a156619429f9e8df94bd7eea5a78579dbc | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | tests/utils/numeric_utils_test.cpp | geenen124/iresearch | f89902a156619429f9e8df94bd7eea5a78579dbc | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2016 by EMC Corporation, 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... | 35.030133 | 183 | 0.641488 | geenen124 |
d3affc575e085caa497c7f39f735e3358a5de4a9 | 528 | cpp | C++ | leetcode/algorithm/16.cpp | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | leetcode/algorithm/16.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | leetcode/algorithm/16.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | class Solution {
public:
int threeSumClosest(vector<int>& nums, int target) {
int min_val = 1e9+7, ans = 1e9+7;
sort(nums.begin(), nums.end());
for (int m=0; m<nums.size(); ++m) {
int l = 0, r = nums.size()-1;
while (l < m && m < r) {
int sum = nums[l] + nums[m] + nums[r];
if (abs(target - sum) < m... | 19.555556 | 53 | 0.49053 | juseongkr |
d3b3c82fc2ff57d1185046fa929d554d98864cae | 8,855 | cpp | C++ | gameEngine/gameEngine/SceneDirector.cpp | ComputerScienceTrolls/simpleGameGL | 81e25f690f5825bf633685e9d7d2771a3d61f4c7 | [
"MIT"
] | null | null | null | gameEngine/gameEngine/SceneDirector.cpp | ComputerScienceTrolls/simpleGameGL | 81e25f690f5825bf633685e9d7d2771a3d61f4c7 | [
"MIT"
] | 5 | 2017-10-06T21:39:20.000Z | 2018-01-29T13:23:19.000Z | gameEngine/gameEngine/SceneDirector.cpp | ComputerScienceTrolls/simpleGameGL | 81e25f690f5825bf633685e9d7d2771a3d61f4c7 | [
"MIT"
] | null | null | null | #include "SceneDirector.h"
#include <iostream>
std::auto_ptr<SceneDirector> SceneDirector::instance;
//default width and height
int WIDTH = 800;
int HEIGHT = 600;
double lastTime = glfwGetTime();
int nbFrames = 0;
//void key_callback(GLFWwindow* window, int key, int scancode, int action, int mode);
SceneDirector::S... | 19.809843 | 114 | 0.658724 | ComputerScienceTrolls |
d3b7e84eb305cec0b6ae45cfd9546f1a1dc425b1 | 3,515 | hpp | C++ | src/Base/Policies/DataStreamBuffer.hpp | mlaszko/DisCODe | 0042280ae6c1ace8c6e0fa25ae4d440512c113f6 | [
"MIT"
] | 1 | 2017-02-17T13:01:13.000Z | 2017-02-17T13:01:13.000Z | src/Base/Policies/DataStreamBuffer.hpp | mlaszko/DisCODe | 0042280ae6c1ace8c6e0fa25ae4d440512c113f6 | [
"MIT"
] | null | null | null | src/Base/Policies/DataStreamBuffer.hpp | mlaszko/DisCODe | 0042280ae6c1ace8c6e0fa25ae4d440512c113f6 | [
"MIT"
] | 1 | 2018-07-23T00:05:58.000Z | 2018-07-23T00:05:58.000Z | /*!
* \file DataStreamBuffer.hpp
* \brief DataStream buffering policies
*
* \author mstefanc
* \date 06-07-2010
*/
#ifndef DATASTREAMBUFFER_HPP_
#define DATASTREAMBUFFER_HPP_
#include <queue>
#include <stdexcept>
namespace Base {
/*!
* Buffering policies for DataStream.
*
* Every buffering policy should ha... | 17.84264 | 99 | 0.64239 | mlaszko |
d3b86882d6d10f4438be7e15f1ab5bc01bf2d4da | 4,636 | cpp | C++ | Source/HardTime2/Private/Missions.cpp | ThomasWilliamWallace/PrisonGame | 243ffd5d587086775c094d3dc72ff29987aa9bce | [
"MIT"
] | 1 | 2018-12-30T15:35:50.000Z | 2018-12-30T15:35:50.000Z | Source/HardTime2/Private/Missions.cpp | ThomasWilliamWallace/PrisonGame | 243ffd5d587086775c094d3dc72ff29987aa9bce | [
"MIT"
] | null | null | null | Source/HardTime2/Private/Missions.cpp | ThomasWilliamWallace/PrisonGame | 243ffd5d587086775c094d3dc72ff29987aa9bce | [
"MIT"
] | null | null | null | #include "Missions.h"
#include "PlayerData.h"
#include "SimWorld.h"
#include "Constants.h"
#include "ActorItem.h"
MissionClass::MissionClass(RandomMission r, UPlayerData* playerPtr):
MissionClass(playerPtr)
{}
MissionClass::MissionClass(UPlayerData* owner):
m_mission(GetRandomMission()),
m_owner(owner)
{
m_... | 31.972414 | 195 | 0.668464 | ThomasWilliamWallace |
d3bae8e4df2382db44e5a5bbbd5a4f982daf7872 | 789 | cpp | C++ | src/MulticopterPlugin/FFCalc_CutoffCoef.cpp | roto5296/choreonoid | ffe12df8db71e32aea18833afb80dffc42c373d0 | [
"MIT"
] | 91 | 2015-01-29T11:03:42.000Z | 2022-02-13T07:34:04.000Z | src/MulticopterPlugin/FFCalc_CutoffCoef.cpp | roto5296/choreonoid | ffe12df8db71e32aea18833afb80dffc42c373d0 | [
"MIT"
] | 213 | 2015-01-26T06:21:15.000Z | 2020-07-23T05:51:30.000Z | src/MulticopterPlugin/FFCalc_CutoffCoef.cpp | roto5296/choreonoid | ffe12df8db71e32aea18833afb80dffc42c373d0 | [
"MIT"
] | 71 | 2015-01-06T02:32:05.000Z | 2020-12-01T03:42:25.000Z | /**
@author Japan Atomic Energy Agency
*/
#include "MulticopterPluginHeader.h"
namespace Multicopter {
namespace FFCalc {
CutoffCoef::CutoffCoef (
const double cutoffDistance,
const double normMiddleValue) :
_impl (CutoffCoefImpl::createInstance (cutoffDistance, normMiddleValue)) { }
CutoffCoef::CutoffCoe... | 18.785714 | 77 | 0.737643 | roto5296 |
d3c0eaa6d16dbbf92473213172a880fafb0628d8 | 742 | hh | C++ | restore_ios.hh | psaksa/git-junction | 55cb940704d8d8dcf773e8917809a972c078976f | [
"MIT"
] | null | null | null | restore_ios.hh | psaksa/git-junction | 55cb940704d8d8dcf773e8917809a972c078976f | [
"MIT"
] | null | null | null | restore_ios.hh | psaksa/git-junction | 55cb940704d8d8dcf773e8917809a972c078976f | [
"MIT"
] | null | null | null | /* git-junction
* Copyright (c) 2016-2017 by Pauli Saksa
*
* Licensed under The MIT License, see file LICENSE.txt in this source tree.
*/
#ifndef GIT_JUNCTION_RESTORE_IOS_HEADER
#define GIT_JUNCTION_RESTORE_IOS_HEADER
#include <ios>
class restore_ios {
std::ios &io;
std::ios::fmtflags flags;
std::io... | 18.55 | 76 | 0.59973 | psaksa |
d3c2cdd1cd9682a3a579a1692e817e5631ea6c7f | 642 | hpp | C++ | lib/hargui/include/part.hpp | Ocead/HAR | 341738dd6d513573635f4d6c51b9c7bd8abfcc2b | [
"BSD-2-Clause"
] | 2 | 2020-09-11T18:11:10.000Z | 2020-10-20T17:25:38.000Z | lib/hargui/include/part.hpp | Ocead/HAR | 341738dd6d513573635f4d6c51b9c7bd8abfcc2b | [
"BSD-2-Clause"
] | null | null | null | lib/hargui/include/part.hpp | Ocead/HAR | 341738dd6d513573635f4d6c51b9c7bd8abfcc2b | [
"BSD-2-Clause"
] | null | null | null | //
// Created by Johannes on 17.07.2020.
//
#ifndef HAR_GUI_PART_HPP
#define HAR_GUI_PART_HPP
#include <gtkmm/box.h>
#include <gtkmm/button.h>
#include <gtkmm/image.h>
#include <gtkmm/label.h>
namespace har::gui_ {
class part : public Gtk::Button {
private:
Gtk::Box _box;
Gtk:... | 18.882353 | 60 | 0.590343 | Ocead |
d3c3047d5e550d91d427e58f93e746b5edf461a0 | 12,468 | cpp | C++ | LibCarla/source/carla/sumonetwork/SumoNetwork.cpp | AdaCompNUS/summ | a91f0c06202fb6a4100249882eec69ddf5bc7656 | [
"MIT"
] | 103 | 2020-03-10T04:21:50.000Z | 2022-03-29T13:26:57.000Z | LibCarla/source/carla/sumonetwork/SumoNetwork.cpp | AdaCompNUS/summ | a91f0c06202fb6a4100249882eec69ddf5bc7656 | [
"MIT"
] | 12 | 2020-04-11T11:36:01.000Z | 2021-12-09T11:35:56.000Z | LibCarla/source/carla/sumonetwork/SumoNetwork.cpp | AdaCompNUS/summ | a91f0c06202fb6a4100249882eec69ddf5bc7656 | [
"MIT"
] | 8 | 2020-11-21T07:47:12.000Z | 2022-03-25T13:41:05.000Z | #include "SumoNetwork.h"
#include "carla/geom/Math.h"
#include "carla/geom/Triangulation.h"
#include <boost/algorithm/string.hpp>
#include <pugixml/pugixml.hpp>
#include <string>
#include <sstream>
#include <fstream>
namespace carla {
namespace sumonetwork {
static std::vector<geom::Vector2D> parse_shape_list(const s... | 38.245399 | 141 | 0.691129 | AdaCompNUS |
d3c33632c61a5a6cb488342dcdca615fd04ae0e1 | 548 | cpp | C++ | AcWing/LeetCode究极班/56.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | 7 | 2019-02-25T13:15:00.000Z | 2021-12-21T22:08:39.000Z | AcWing/LeetCode究极班/56.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | null | null | null | AcWing/LeetCode究极班/56.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | 1 | 2019-04-03T06:12:46.000Z | 2019-04-03T06:12:46.000Z | class Solution {
public:
vector<vector<int>> merge(vector<vector<int>>& a) {
vector<vector<int>> res;
if (a.empty()) return res;
// 按照区间左端点排序
sort(a.begin(), a.end());
int l = a[0][0], r = a[0][1];
for (int i = 1; i < a.size(); i ++) {
if (a[i][0]... | 23.826087 | 55 | 0.368613 | LauZyHou |
d3c5b86661dd4c680d6cf7a5db14c620dd28813b | 2,783 | cc | C++ | src/multio/action/Aggregation.cc | dvuckovic/multio | 36d2e4e4aa9f874f255efbde74642e5a514e8d76 | [
"Apache-2.0"
] | null | null | null | src/multio/action/Aggregation.cc | dvuckovic/multio | 36d2e4e4aa9f874f255efbde74642e5a514e8d76 | [
"Apache-2.0"
] | null | null | null | src/multio/action/Aggregation.cc | dvuckovic/multio | 36d2e4e4aa9f874f255efbde74642e5a514e8d76 | [
"Apache-2.0"
] | 1 | 2021-09-06T13:39:10.000Z | 2021-09-06T13:39:10.000Z | /*
* (C) Copyright 1996- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an interg... | 29.924731 | 96 | 0.655049 | dvuckovic |
d3c66153c89e68a9c95dd00225f22134379f1f1a | 9,146 | cc | C++ | contrib/fluxbox/src/FbTk/Layer.cc | xk2600/lightbox | 987d901366fe706de1a8bbd1efd49b87abff3e0b | [
"BSD-2-Clause"
] | null | null | null | contrib/fluxbox/src/FbTk/Layer.cc | xk2600/lightbox | 987d901366fe706de1a8bbd1efd49b87abff3e0b | [
"BSD-2-Clause"
] | 2 | 2017-05-30T05:21:59.000Z | 2018-03-14T07:21:33.000Z | src/FbTk/Layer.cc | antix-skidoo/fluxbox | b83ee923f4ab2ab51f3b8c14343bda0579e538c6 | [
"MIT"
] | null | null | null | // Layer.cc for FbTk - fluxbox toolkit
// Copyright (c) 2003 - 2006 Henrik Kinnunen (fluxgen at fluxbox dot org)
// and Simon Bowden (rathnor at users.sourceforge.net)
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation fi... | 29.40836 | 119 | 0.64684 | xk2600 |
d3ca16f46de4c5008ef55d0175fe5df4c64b834a | 699 | hpp | C++ | CPPMetal/Headers/CPPMetal.hpp | chromy/cppmetal | 7acebf0519f119745e25a2b9eaac81889fb3a774 | [
"MIT"
] | null | null | null | CPPMetal/Headers/CPPMetal.hpp | chromy/cppmetal | 7acebf0519f119745e25a2b9eaac81889fb3a774 | [
"MIT"
] | null | null | null | CPPMetal/Headers/CPPMetal.hpp | chromy/cppmetal | 7acebf0519f119745e25a2b9eaac81889fb3a774 | [
"MIT"
] | null | null | null | /*
See LICENSE folder for this sample’s licensing information.
Abstract:
Header for C++ Metal wrapper
*/
#ifndef CPPMetal_hpp
#define CPPMetal_hpp
#include "CPPMetalBuffer.hpp"
#include "CPPMetalCommandBuffer.hpp"
#include "CPPMetalCommandQueue.hpp"
#include "CPPMetalDevice.hpp"
#include "CPPMetalDepthStencil.hpp"
#... | 24.964286 | 59 | 0.812589 | chromy |
d3cb0ed9b1fdaf3539605f327f266cb31f3ac6a8 | 1,704 | inl | C++ | dds/DCPS/transport/framework/TransportReceiveStrategy_T.inl | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | dds/DCPS/transport/framework/TransportReceiveStrategy_T.inl | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | dds/DCPS/transport/framework/TransportReceiveStrategy_T.inl | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | /*
* $Id: TransportReceiveStrategy_T.inl 5266 2012-01-21 04:36:48Z mitza $
*
*
* Distributed under the OpenDDS License.
* See: http://www.opendds.org/license.html
*/
#include "EntryExit.h"
#include "TransportReassembly.h"
template<typename TH, typename DSH>
ACE_INLINE int
OpenDDS::DCPS::TransportReceiveStrategy... | 24.342857 | 85 | 0.767606 | binary42 |
d3cce85f53a3bc6b83698a5117e58ad16ea37919 | 3,776 | hpp | C++ | src/libraries/core/primitives/ranges/scalarRange/scalarRange.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/primitives/ranges/scalarRange/scalarRange.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/primitives/ranges/scalarRange/scalarRange.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 26.041379 | 79 | 0.521981 | MrAwesomeRocks |
d3ce4e217b620855f1d8e47c48be4f6c8dc802bc | 355 | cpp | C++ | ex204042016.cpp | jcvasconcelos/praticando-exercicios-simples-git-c | 24e7328ff6c6cb452acf2fad1e7a1789e2daaf42 | [
"MIT"
] | null | null | null | ex204042016.cpp | jcvasconcelos/praticando-exercicios-simples-git-c | 24e7328ff6c6cb452acf2fad1e7a1789e2daaf42 | [
"MIT"
] | null | null | null | ex204042016.cpp | jcvasconcelos/praticando-exercicios-simples-git-c | 24e7328ff6c6cb452acf2fad1e7a1789e2daaf42 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
int main()
{
int soma=10;
float money=2.21;
char letra='A';
double valor=2.01E6;
printf("Valor da soma = %d\n", soma); //Mosta na tela o conteudo da variavel
printf("Valor de Money = %f\n", money);
printf("Valor de Letra = %c\n", letra);
printf("Valor de valor = %e\n", val... | 20.882353 | 77 | 0.642254 | jcvasconcelos |
d3cfe449233ce983335d89e7aa4518989c8198ea | 3,504 | cpp | C++ | misc/data_parallel/research/openmp/src/demo.cpp | mchapman87501/DMCWingWorks | 973979d515d054a835f78ff0fe86fd909e1138c7 | [
"MIT"
] | null | null | null | misc/data_parallel/research/openmp/src/demo.cpp | mchapman87501/DMCWingWorks | 973979d515d054a835f78ff0fe86fd909e1138c7 | [
"MIT"
] | null | null | null | misc/data_parallel/research/openmp/src/demo.cpp | mchapman87501/DMCWingWorks | 973979d515d054a835f78ff0fe86fd909e1138c7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <sstream>
#include <fstream>
#include <chrono>
#include <vector>
#include <cmath>
#include <cstring>
#include <algorithm>
#include <stdexcept>
#include <random>
#include "point.h"
#include "particle.h"
#include "airfoil.h"
#include "world.h"
using namespace std;
using... | 27.375 | 78 | 0.575628 | mchapman87501 |
d3d125509a12bbca83c880be071fa262ad056735 | 1,873 | inl | C++ | dev/Code/Tools/SphericalHarmonics/PRT/DefaultTransferConfigurator.inl | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/Tools/SphericalHarmonics/PRT/DefaultTransferConfigurator.inl | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/Tools/SphericalHarmonics/PRT/DefaultTransferConfigurator.inl | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 32.859649 | 137 | 0.753871 | jeikabu |
d3d20adae2446f8d8b45f2833ac954436a55d9ea | 11,970 | cc | C++ | tests/ticker.cc | hedzr/hicc | c2a33afec2ff1f79c42ed9f888ad091710e7ae60 | [
"MIT"
] | null | null | null | tests/ticker.cc | hedzr/hicc | c2a33afec2ff1f79c42ed9f888ad091710e7ae60 | [
"MIT"
] | null | null | null | tests/ticker.cc | hedzr/hicc | c2a33afec2ff1f79c42ed9f888ad091710e7ae60 | [
"MIT"
] | null | null | null | //
// Created by Hedzr Yeh on 2021/7/13.
//
// #define HICC_TEST_THREAD_POOL_DBGOUT 1
// #define HICC_ENABLE_THREAD_POOL_READY_SIGNAL 1
#include "hicc/hz-ticker.hh"
#include "hicc/hz-x-class.hh"
#include "hicc/hz-x-test.hh"
#include <chrono>
#include <iostream>
#include <thread>
hicc::debug::X x_global_var;
names... | 38.488746 | 181 | 0.578279 | hedzr |
d3d2a90e687b53ad00a51878e5c1bc5525580db2 | 2,913 | hpp | C++ | DefeatMonsterAICreateBaseProject/Skill.hpp | AinoMegumi/DefeatMonsterAICreateBaseProject | 6666f55bec2ec42fc81a0a39fcd98d93af091676 | [
"MIT"
] | null | null | null | DefeatMonsterAICreateBaseProject/Skill.hpp | AinoMegumi/DefeatMonsterAICreateBaseProject | 6666f55bec2ec42fc81a0a39fcd98d93af091676 | [
"MIT"
] | null | null | null | DefeatMonsterAICreateBaseProject/Skill.hpp | AinoMegumi/DefeatMonsterAICreateBaseProject | 6666f55bec2ec42fc81a0a39fcd98d93af091676 | [
"MIT"
] | null | null | null | #pragma once
#include "Element.hpp"
struct SkillA {
SkillA() = default;
SkillA(const std::string Name, const std::string Tag, int UseMP, const int BasePower, const std::string Description, const ElementInfo SkillElement,
const std::string EffectGraphPath, const std::string EffectSoundPath, const bool Range, cons... | 50.224138 | 186 | 0.729832 | AinoMegumi |
d3d33631652acfc324a5eef9e1cb776de3d55a76 | 4,093 | hpp | C++ | include/xtomic/impl/hash_map_node_integral_key.hpp | mashavorob/lfds | 3890472a8a9996ce35d9a28f185df4c2f219a2bd | [
"0BSD"
] | null | null | null | include/xtomic/impl/hash_map_node_integral_key.hpp | mashavorob/lfds | 3890472a8a9996ce35d9a28f185df4c2f219a2bd | [
"0BSD"
] | null | null | null | include/xtomic/impl/hash_map_node_integral_key.hpp | mashavorob/lfds | 3890472a8a9996ce35d9a28f185df4c2f219a2bd | [
"0BSD"
] | null | null | null | /*
* hash_node_integral_key.hpp
*
* Created on: Feb 7, 2015
* Author: masha
*/
#ifndef INCLUDE_HASH_MAP_NODE_INTEGRAL_KEY_HPP_
#define INCLUDE_HASH_MAP_NODE_INTEGRAL_KEY_HPP_
#include <xtomic/quantum.hpp>
#include "meta_utils.hpp"
namespace xtomic
{
// Eclipse Luna does not recognize alignas keyword rega... | 25.110429 | 89 | 0.623015 | mashavorob |
d3d3de9f03ca55bc936f029cc45fae822effae88 | 1,352 | cpp | C++ | src/Broadcaster.cpp | fairinternal/cuberite | a8c63a757c73279b854e5ef9622287d1c7d68b85 | [
"Apache-2.0"
] | null | null | null | src/Broadcaster.cpp | fairinternal/cuberite | a8c63a757c73279b854e5ef9622287d1c7d68b85 | [
"Apache-2.0"
] | null | null | null | src/Broadcaster.cpp | fairinternal/cuberite | a8c63a757c73279b854e5ef9622287d1c7d68b85 | [
"Apache-2.0"
] | null | null | null | // Broadcaster.cpp
// Implements the broadcasting interface for cWorld
#include "Globals.h"
#include "Broadcaster.h"
#include "World.h"
#include "Chunk.h"
#include "ClientHandle.h"
cBroadcaster::cBroadcaster(cWorld * a_World) :
m_World(a_World)
{
}
void cBroadcaster::BroadcastParticleEffect(const AString &... | 22.163934 | 219 | 0.705621 | fairinternal |
d3d576e1958a7c3ed1f9ead8e6193cec77f383b4 | 6,911 | cpp | C++ | exodus/libexodus/exodus/mvos2.cpp | exodusdb/exodus | b99dd39e826d5a56b6a807c14994ee8fc8970ff8 | [
"MIT"
] | null | null | null | exodus/libexodus/exodus/mvos2.cpp | exodusdb/exodus | b99dd39e826d5a56b6a807c14994ee8fc8970ff8 | [
"MIT"
] | null | null | null | exodus/libexodus/exodus/mvos2.cpp | exodusdb/exodus | b99dd39e826d5a56b6a807c14994ee8fc8970ff8 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2009 steve.bush@neosys.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | 28.916318 | 150 | 0.70178 | exodusdb |
d3d74341214e42a6c90a87797b8fbaa336f66315 | 2,951 | cpp | C++ | exampleCreate/src/ofApp.cpp | armadillu/ofxTextureAtlas | b00b510acedc1211778b0f94b5a1c0753ea780d7 | [
"MIT"
] | 14 | 2015-03-31T03:33:34.000Z | 2021-06-04T08:45:45.000Z | exampleCreate/src/ofApp.cpp | armadillu/ofxTextureAtlas | b00b510acedc1211778b0f94b5a1c0753ea780d7 | [
"MIT"
] | 1 | 2020-08-27T16:19:30.000Z | 2020-08-27T16:53:43.000Z | exampleCreate/src/ofApp.cpp | armadillu/ofxTextureAtlas | b00b510acedc1211778b0f94b5a1c0753ea780d7 | [
"MIT"
] | 6 | 2015-08-05T20:45:19.000Z | 2020-07-09T10:55:05.000Z | #include "ofApp.h"
void ofApp::setup(){
ofSetFrameRate(60);
ofSetVerticalSync(true);
ofEnableAlphaBlending();
ofBackground(22);
scale = 1.0;
// LISTENERS
ofAddListener(atlasCreator.eventAtlasCreationFinished, this, &ofApp::onAtlasCreationFinished);
vector<string> fileList;
ofDirectory d;
d.allowExt("jpg... | 21.078571 | 103 | 0.657743 | armadillu |
d3dad5e4742f11f9bf68785339a8b1d4e991c4e1 | 10,887 | cpp | C++ | SNCCore/SNCLib/SNCLink.cpp | rt-ispace/SNC | 890acbbe336bb0429f47fa7bed499a46215aac64 | [
"MIT"
] | 1 | 2021-08-08T05:40:52.000Z | 2021-08-08T05:40:52.000Z | SNCCore/SNCLib/SNCLink.cpp | rt-ispace/SNC | 890acbbe336bb0429f47fa7bed499a46215aac64 | [
"MIT"
] | null | null | null | SNCCore/SNCLib/SNCLink.cpp | rt-ispace/SNC | 890acbbe336bb0429f47fa7bed499a46215aac64 | [
"MIT"
] | 1 | 2021-08-08T05:40:56.000Z | 2021-08-08T05:40:56.000Z | ////////////////////////////////////////////////////////////////////////////
//
// This file is part of SNC
//
// Copyright (c) 2014-2021, Richard Barnett
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to de... | 28.725594 | 156 | 0.576467 | rt-ispace |
d3de2fad0c36ff5e1de05d695371ae10e9d0cf5e | 2,220 | cpp | C++ | test/framework/tMatcherFactory.cpp | xiaohongchen1991/clang-xform | bd0cf899760b53b24e10ca4baab3c4e281535b97 | [
"MIT"
] | 2 | 2020-02-18T18:09:45.000Z | 2020-05-10T18:38:38.000Z | test/framework/tMatcherFactory.cpp | xiaohongchen1991/clang-xform | bd0cf899760b53b24e10ca4baab3c4e281535b97 | [
"MIT"
] | null | null | null | test/framework/tMatcherFactory.cpp | xiaohongchen1991/clang-xform | bd0cf899760b53b24e10ca4baab3c4e281535b97 | [
"MIT"
] | 1 | 2020-02-18T18:09:48.000Z | 2020-02-18T18:09:48.000Z | /*
MIT License
Copyright (c) 2019 Xiaohong Chen
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, merg... | 43.529412 | 102 | 0.735135 | xiaohongchen1991 |
d3deb3e3c43d1ea4de8861e5764160d62eb9ba17 | 4,465 | cpp | C++ | test/swap.cpp | sieren/variant | 99ef8fb19f5ea5f229587da3dd425a7d24c4fd80 | [
"BSL-1.0"
] | 564 | 2015-10-07T06:23:04.000Z | 2022-03-25T17:17:49.000Z | test/swap.cpp | sieren/variant | 99ef8fb19f5ea5f229587da3dd425a7d24c4fd80 | [
"BSL-1.0"
] | 76 | 2015-10-28T10:19:02.000Z | 2021-08-17T02:28:36.000Z | test/swap.cpp | sieren/variant | 99ef8fb19f5ea5f229587da3dd425a7d24c4fd80 | [
"BSL-1.0"
] | 88 | 2015-10-23T00:26:58.000Z | 2022-03-03T09:47:27.000Z | // MPark.Variant
//
// Copyright Michael Park, 2015-2017
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <mpark/variant.hpp>
#include <string>
#include <gtest/gtest.h>
#include "util.hpp"
TEST(Swap, Same) {
... | 25.514286 | 89 | 0.610974 | sieren |
d3e1c859769c49e51a6c38d76fa289fd7bff8304 | 24,184 | cpp | C++ | src/examples/commonExamples/persistenceExample/src/TestModel.cpp | MDE4CPP/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 12 | 2017-02-17T10:33:51.000Z | 2022-03-01T02:48:10.000Z | src/examples/commonExamples/persistenceExample/src/TestModel.cpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 28 | 2017-10-17T20:23:52.000Z | 2021-03-04T16:07:13.000Z | src/examples/commonExamples/persistenceExample/src/TestModel.cpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 22 | 2017-03-24T19:03:58.000Z | 2022-03-31T12:10:07.000Z | /*
* TestModel.cpp
*
* Created on: 23.06.2017
* Author: Alexander
*/
#include "TestModel.hpp"
#include "ecore/EAnnotation.hpp"
#include "ecore/EAttribute.hpp"
#include "ecore/EClass.hpp"
#include "ecore/EEnum.hpp"
#include "ecore/EEnumLiteral.hpp"
#include "ecore/EStringToStringMapEntry.hpp"
#include "ecor... | 34.401138 | 1,069 | 0.724405 | MDE4CPP |
d3e2fdd3f504c29cb6ad9b28fd086f457d16fdb9 | 1,215 | cpp | C++ | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/bn/exp.cpp | PervasiveDigital/netmf-interpreter | 03d84fe76e0b666ebec62d17d69c55c45940bc40 | [
"Apache-2.0"
] | 529 | 2015-03-10T00:17:45.000Z | 2022-03-17T02:21:19.000Z | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/bn/exp.cpp | PervasiveDigital/netmf-interpreter | 03d84fe76e0b666ebec62d17d69c55c45940bc40 | [
"Apache-2.0"
] | 495 | 2015-03-10T22:02:46.000Z | 2019-05-16T13:05:00.000Z | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/bn/exp.cpp | PervasiveDigital/netmf-interpreter | 03d84fe76e0b666ebec62d17d69c55c45940bc40 | [
"Apache-2.0"
] | 332 | 2015-03-10T08:04:36.000Z | 2022-03-29T04:18:36.000Z | /* unused */
#include <openssl/tmdiff.h>
#include "bn_lcl.h"
#ifdef OPENSSL_SYS_WINDOWS
#include <stdio.h>
#endif
#define SIZE 256
#define NUM (8*8*8)
#define MOD (8*8*8*8*8)
main(argc,argv)
int argc;
char *argv[];
{
BN_CTX ctx;
BIGNUM a,b,c,r,rr,t,l;
int j,i,size=SIZE,num=NUM,mod=MOD;
char *... | 18.692308 | 72 | 0.566255 | PervasiveDigital |
d3e38cd7842b0930f499e645a371ac410f5f4d08 | 17,368 | cpp | C++ | source/response/Netcdf4ClassicResponse.cpp | fmidev/smartmet-plugin-wcs | 60aee4d3ef9d2bba5de44b4a871f669fc1b47d08 | [
"MIT"
] | null | null | null | source/response/Netcdf4ClassicResponse.cpp | fmidev/smartmet-plugin-wcs | 60aee4d3ef9d2bba5de44b4a871f669fc1b47d08 | [
"MIT"
] | 8 | 2017-04-07T13:14:46.000Z | 2018-04-25T08:04:22.000Z | source/response/Netcdf4ClassicResponse.cpp | fmidev/smartmet-plugin-wcs | 60aee4d3ef9d2bba5de44b4a871f669fc1b47d08 | [
"MIT"
] | 1 | 2017-06-03T19:07:22.000Z | 2017-06-03T19:07:22.000Z | #include "Netcdf4ClassicResponse.h"
#include "DataContainer.h"
#include "Options.h"
#include "ParamConfig.h"
#include "UniqueTemporaryPath.h"
#include "WcsConvenience.h"
#include "WcsException.h"
#include <macgyver/StringConversion.h>
#include <spine/ParameterFactory.h>
namespace SmartMet
{
namespace Plugin
{
namespac... | 34.188976 | 103 | 0.641409 | fmidev |
d3e3a51f7a5bf21d4eef98b144015d838e79e4e0 | 13,894 | cc | C++ | android/art/compiler/common_compiler_test.cc | Solotov/deoptfuscator | 8a54119e81517bcef73d2d6dfefba910ae2446e7 | [
"MIT"
] | 206 | 2020-04-13T03:19:33.000Z | 2022-03-27T13:52:25.000Z | android/art/compiler/common_compiler_test.cc | Solotov/deoptfuscator | 8a54119e81517bcef73d2d6dfefba910ae2446e7 | [
"MIT"
] | 9 | 2020-06-07T12:51:09.000Z | 2022-03-28T23:55:09.000Z | android/art/compiler/common_compiler_test.cc | Solotov/deoptfuscator | 8a54119e81517bcef73d2d6dfefba910ae2446e7 | [
"MIT"
] | 42 | 2020-04-13T03:37:58.000Z | 2022-03-23T15:08:12.000Z | /*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 45.405229 | 100 | 0.677343 | Solotov |
d3e5ef0c6abd060d037184253795954185c0f745 | 269 | cpp | C++ | src/foreachprint.cpp | PeterSommerlad/CPPCourseIntroduction | 9bc9cda460d504a3cf31bb059e858f9e8d5d3bf4 | [
"MIT"
] | null | null | null | src/foreachprint.cpp | PeterSommerlad/CPPCourseIntroduction | 9bc9cda460d504a3cf31bb059e858f9e8d5d3bf4 | [
"MIT"
] | null | null | null | src/foreachprint.cpp | PeterSommerlad/CPPCourseIntroduction | 9bc9cda460d504a3cf31bb059e858f9e8d5d3bf4 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <vector>
#include <iostream>
void print(int x) {
std::cout << "print: "<< x << '\n';
}
void printReverse(std::vector<int> v) {
std::for_each(crbegin(v), crend(v), print);
}
int main(){
std::vector v{1,2,3,4,5};
printReverse(v);
} | 17.933333 | 45 | 0.613383 | PeterSommerlad |
d3e78bf353de3c32d39691300a33f6f236bb39ea | 4,738 | hpp | C++ | include/freertos_cpp_util/object_pool/Object_pool.hpp | jacobschloss/freertos_cpp_util | 8251809738922c84b1ce12db6a77000b73287a8b | [
"BSD-3-Clause"
] | 5 | 2019-03-28T22:05:50.000Z | 2022-03-29T16:20:01.000Z | include/freertos_cpp_util/object_pool/Object_pool.hpp | jacobschloss/freertos_cpp_util | 8251809738922c84b1ce12db6a77000b73287a8b | [
"BSD-3-Clause"
] | null | null | null | include/freertos_cpp_util/object_pool/Object_pool.hpp | jacobschloss/freertos_cpp_util | 8251809738922c84b1ce12db6a77000b73287a8b | [
"BSD-3-Clause"
] | 1 | 2020-06-17T04:04:26.000Z | 2020-06-17T04:04:26.000Z | /**
* @brief Object_pool
* @author Jacob Schloss <jacob@schloss.io>
* @copyright Copyright (c) 2018 Jacob Schloss. All rights reserved.
* @license Licensed under the 3-Clause BSD license. See LICENSE for details
*/
#pragma once
#include "freertos_cpp_util/Queue_static_pod.hpp"
#include "freertos_cpp_util/object_... | 22.140187 | 106 | 0.695019 | jacobschloss |
d3e93b4a64afe604470a51fc7b70e85ea86ba495 | 1,670 | hpp | C++ | Source/Cerise/CR_Text.hpp | BubbleChien/Path | 950f65b9fcd99bebf4cb5b20fecd3df085161912 | [
"MIT"
] | 1 | 2018-07-07T15:14:33.000Z | 2018-07-07T15:14:33.000Z | Source/Cerise/CR_Text.hpp | BubbleChien/Path | 950f65b9fcd99bebf4cb5b20fecd3df085161912 | [
"MIT"
] | null | null | null | Source/Cerise/CR_Text.hpp | BubbleChien/Path | 950f65b9fcd99bebf4cb5b20fecd3df085161912 | [
"MIT"
] | null | null | null |
#ifndef CR_TEXT_HPP
#define CR_TEXT_HPP
#include "./CR_Common.hpp"
#include "./CR_Error.hpp"
#include "./CR_Math.hpp"
#include "./CR_Vector.hpp"
namespace CR
{
class Text
{
CR_PRIVATE
C2D_TextBuf m_buffer = nullptr;
C2D_Text m_text;
Vector m_pos;
uint32_t m_color = 0xFFFFFFFF;
float m_size = 1... | 11.678322 | 88 | 0.636527 | BubbleChien |
d3f6b620fb3cb66b4be843d879506f938c5cf2f0 | 16,727 | cpp | C++ | src/PropBindingDialog.cpp | tapeguy/heekscad | e5037d15d642551de756f352e4e14505c39ad7cf | [
"BSD-3-Clause"
] | null | null | null | src/PropBindingDialog.cpp | tapeguy/heekscad | e5037d15d642551de756f352e4e14505c39ad7cf | [
"BSD-3-Clause"
] | null | null | null | src/PropBindingDialog.cpp | tapeguy/heekscad | e5037d15d642551de756f352e4e14505c39ad7cf | [
"BSD-3-Clause"
] | null | null | null |
#include "PropBindingDialog.h"
#include <wx/dataview.h>
#include <wx/statline.h>
///////////////////////////////////////////////////////////////////////////
enum
{
ID_BIND = 100,
ID_UNBIND
};
BEGIN_EVENT_TABLE(PropBindingDialog, wxDialog)
EVT_BUTTON(ID_BIND, PropBindingDialog::OnBindButton)
... | 33.521042 | 147 | 0.609972 | tapeguy |
108cb9c126208baa6d96f4f71d32fac108adc580 | 1,440 | cpp | C++ | CF-Upsolving v001/Solutions/red_maple/A/main.cpp | gmeligio/axon_training | 657f181b732265856c71e97697bfde2062744e5a | [
"MIT"
] | null | null | null | CF-Upsolving v001/Solutions/red_maple/A/main.cpp | gmeligio/axon_training | 657f181b732265856c71e97697bfde2062744e5a | [
"MIT"
] | 5 | 2019-04-30T22:31:36.000Z | 2019-05-07T00:15:23.000Z | CF-Upsolving v001/Solutions/red_maple/A/main.cpp | gmeligio/axon_training | 657f181b732265856c71e97697bfde2062744e5a | [
"MIT"
] | 5 | 2019-05-01T05:08:43.000Z | 2019-05-07T18:13:18.000Z | /*
Date 05/12/2019
Brenda E Ramirez.
*/
/*
Statement:
*/
#include <bits/stdc++.h>
#include <limits.h>
#include <algorithm>
#include <numeric>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "
#... | 19.2 | 68 | 0.465278 | gmeligio |
108ee3df534bebc0f003c1a1d476c137aca231d1 | 23,882 | cpp | C++ | UDPEchoWithBroadcast/server.cpp | henry9836/UDPChat | 8a31662236f8a223e7b73a2c5267999becc11837 | [
"MIT"
] | 1 | 2019-05-20T00:06:02.000Z | 2019-05-20T00:06:02.000Z | UDPEchoWithBroadcast/server.cpp | henry9836/UDPChat | 8a31662236f8a223e7b73a2c5267999becc11837 | [
"MIT"
] | null | null | null | UDPEchoWithBroadcast/server.cpp | henry9836/UDPChat | 8a31662236f8a223e7b73a2c5267999becc11837 | [
"MIT"
] | null | null | null | //
// (c) 2015 Media Design School
//
// File Name : server.cpp
// Description : Does server work
// Author : Henry Oliver
// Mail : henry983615@gmail.com
//
//Library Includes
#include <WS2tcpip.h>
#include <iostream>
#include <utility>
#include <thread>
#include <chrono>
#include <stdlib.h>
#inclu... | 39.15082 | 350 | 0.679549 | henry9836 |
1090a9fb484f4c10c2600fd71d0ac46dc4b445c3 | 490 | cpp | C++ | engine/src/PhysicsEngine/API/ActivationListener.cpp | nuclearkevin/Strontium | 88045e7ab50f614bbbcb8c283e2a7802fd435207 | [
"MIT"
] | null | null | null | engine/src/PhysicsEngine/API/ActivationListener.cpp | nuclearkevin/Strontium | 88045e7ab50f614bbbcb8c283e2a7802fd435207 | [
"MIT"
] | null | null | null | engine/src/PhysicsEngine/API/ActivationListener.cpp | nuclearkevin/Strontium | 88045e7ab50f614bbbcb8c283e2a7802fd435207 | [
"MIT"
] | null | null | null | #include "PhysicsEngine/API/ActivationListener.h"
// Project includes.
#include "Core/Logs.h"
// THIS MUST BE THREAD SAFE
namespace Strontium::PhysicsEngine
{
ActivationListener::ActivationListener()
{ }
ActivationListener::~ActivationListener()
{ }
void
ActivationListener::OnBodyActivated(const JP... | 22.272727 | 96 | 0.738776 | nuclearkevin |
1091a31f094613e73f1bd2363b52f25b7704ec7a | 664 | cpp | C++ | CS2370/Code/default_args.cpp | Davidjbennett/DavidBennett.github.io | 09a2652b7ace8741bf23c6432abd58ee790b9f0c | [
"MIT"
] | 3 | 2021-05-18T16:17:29.000Z | 2022-01-20T15:46:59.000Z | CS2370/Code/default_args.cpp | Davidjbennett/DavidBennett | 09a2652b7ace8741bf23c6432abd58ee790b9f0c | [
"MIT"
] | null | null | null | CS2370/Code/default_args.cpp | Davidjbennett/DavidBennett | 09a2652b7ace8741bf23c6432abd58ee790b9f0c | [
"MIT"
] | null | null | null | #include <cassert>
#include <iostream>
#include <string>
using namespace std;
char digit_chars[] = {'0','1','2','3','4','5','6','7',
'8','9','A','B','C','D','E','F'};
string convert(int num, int base = 10) {
assert(2 <= base && base <= 16);
string result;
while (num > 0) {
i... | 20.75 | 76 | 0.49247 | Davidjbennett |
10a5e59cbd5f17b1323edd441eb4c343b699da6e | 3,371 | cpp | C++ | utility/BoundingBox.cpp | coolzoom/namigator | 722a9f9e71ac5091acfad6ad53d203e1f1ffcf49 | [
"MIT"
] | null | null | null | utility/BoundingBox.cpp | coolzoom/namigator | 722a9f9e71ac5091acfad6ad53d203e1f1ffcf49 | [
"MIT"
] | null | null | null | utility/BoundingBox.cpp | coolzoom/namigator | 722a9f9e71ac5091acfad6ad53d203e1f1ffcf49 | [
"MIT"
] | null | null | null | #include "utility/BoundingBox.hpp"
#include <algorithm>
namespace math
{
BoundingBox::BoundingBox(const math::Vertex& min, const math::Vertex& max)
{
setCorners(min, max);
}
void BoundingBox::transform(const math::Matrix& mat)
{
float min = std::numeric_limits<float>::lowest();
float max = std::numeric_l... | 23.573427 | 78 | 0.643429 | coolzoom |
10a7c0a1e611695162b9a5d34a4093d64198bf88 | 8,678 | cpp | C++ | BBB_cci_gemm/sw/lib/gemmHelper.cpp | ddcc/intel-fpga-bbb | 254217f47123f0e83300c3240349b7308fb7e037 | [
"BSD-3-Clause"
] | 5 | 2020-04-04T12:13:30.000Z | 2022-01-26T19:48:29.000Z | BBB_cci_gemm/sw/lib/gemmHelper.cpp | ddcc/intel-fpga-bbb | 254217f47123f0e83300c3240349b7308fb7e037 | [
"BSD-3-Clause"
] | null | null | null | BBB_cci_gemm/sw/lib/gemmHelper.cpp | ddcc/intel-fpga-bbb | 254217f47123f0e83300c3240349b7308fb7e037 | [
"BSD-3-Clause"
] | null | null | null | //
// Copyright (c) 2017, Intel Corporation
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of conditi... | 36.92766 | 80 | 0.528002 | ddcc |
10a7f4d0f9d6cf651919cc9afaa9a60453cf2f31 | 595 | hpp | C++ | include/cvtools.hpp | Biblbrox/point-cloud-annotation-tool | 66947974914243af8e5f1bb622ffaa93c2fdb47d | [
"MIT"
] | null | null | null | include/cvtools.hpp | Biblbrox/point-cloud-annotation-tool | 66947974914243af8e5f1bb622ffaa93c2fdb47d | [
"MIT"
] | null | null | null | include/cvtools.hpp | Biblbrox/point-cloud-annotation-tool | 66947974914243af8e5f1bb622ffaa93c2fdb47d | [
"MIT"
] | null | null | null | #ifndef CVTOOLS_HPP
#define CVTOOLS_HPP
#include <opencv2/imgproc.hpp>
#include <algorithm>
namespace cvtools
{
/**
* Add border to image
* @param mat
* @param borderSize
* @return
*/
cv::Mat addBorder(const cv::Mat& mat, int borderSize);
/**
* Calculate truncation of rect i... | 19.833333 | 91 | 0.610084 | Biblbrox |
10a831ddd2342ec7a67a532f9ed465005f71bc9e | 4,561 | cpp | C++ | Source/Game/MainMenuState.cpp | Fiskmans/Old_Betsy | 6610586165250d21de9b9efb57b4e8e56e82ecdf | [
"MIT"
] | 3 | 2021-05-06T19:54:20.000Z | 2021-05-06T21:15:50.000Z | Source/Game/MainMenuState.cpp | Fiskmans/Old_Betsy | 6610586165250d21de9b9efb57b4e8e56e82ecdf | [
"MIT"
] | null | null | null | Source/Game/MainMenuState.cpp | Fiskmans/Old_Betsy | 6610586165250d21de9b9efb57b4e8e56e82ecdf | [
"MIT"
] | null | null | null | #include "pch.h"
#include "MainMenuState.h"
#include "GraphicEngine.h"
#include "DirectX11Framework.h"
#include "SpriteInstance.h"
#include <Xinput.h>
#include "AssetManager.h"
#include "GamlaBettan\Scene.h"
MainMenuState::MainMenuState(bool aShouldDeleteOnPop) :
BaseState(aShouldDeleteOnPop),
Observer(
{
Messa... | 25.338889 | 201 | 0.740627 | Fiskmans |
10a8f11069f0035c59ae3fdba72c2e7128d7aee0 | 426 | cpp | C++ | AtCoder/ABC187/C.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | 1 | 2022-01-26T14:50:07.000Z | 2022-01-26T14:50:07.000Z | AtCoder/ABC187/C.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | AtCoder/ABC187/C.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
unordered_set<string> sSet;
string s;
for(int i = 0; i < n; ++i){
cin >> s;
sSet.insert(s);
}
string answer = "satisfiable";
for(string s: sSet){
if(sSet.count("!" + s)){... | 16.384615 | 35 | 0.42723 | Tudor67 |
10a96920a382c79fa8690483d17ba10ad342fd40 | 1,292 | cpp | C++ | test/list_test.cpp | jgke/putkijuoksu | bf34eb707a7a5681341940ec203aec9b42f75bc7 | [
"MIT"
] | null | null | null | test/list_test.cpp | jgke/putkijuoksu | bf34eb707a7a5681341940ec203aec9b42f75bc7 | [
"MIT"
] | null | null | null | test/list_test.cpp | jgke/putkijuoksu | bf34eb707a7a5681341940ec203aec9b42f75bc7 | [
"MIT"
] | null | null | null | #define DEBUG
#include "test.hpp"
#include "coord.hpp"
#include "list.hpp"
#include "list_test.hpp"
void list_test() {
NO_DEATH_TEST("List doesn't crash when constructor/destructor is called", {
List<int> *tmp = new List<int>();
delete tmp;
});
List<int> cur;
test_equal("List starts ... | 31.512195 | 93 | 0.619969 | jgke |
10aa0375a751f008a6f77356abc3511d7bcce66f | 2,125 | cpp | C++ | tests/quasiquote_tests.cpp | rosholger/Lispis | 16eaa785580b5ea2b1ff5a0e0c6e9f006af9b1bd | [
"MIT"
] | 3 | 2017-05-02T14:50:18.000Z | 2020-04-22T08:11:31.000Z | tests/quasiquote_tests.cpp | rosholger/Lispis | 16eaa785580b5ea2b1ff5a0e0c6e9f006af9b1bd | [
"MIT"
] | null | null | null | tests/quasiquote_tests.cpp | rosholger/Lispis | 16eaa785580b5ea2b1ff5a0e0c6e9f006af9b1bd | [
"MIT"
] | null | null | null | #include "tests.h"
TEST(quoteEqualQuasiquote) {
TEST_SETUP;
RUN_STR(q, s1,
"'(a b c 1 (23 + 8545 . a) (((aksf ag) asd) . (asd 923)))");
RUN_STR(qq, s2,
"(quasiquote (a b c 1 (23 + 8545 . a) (((aksf ag) asd) . (asd 923))))");
t_assert("quote equals quasiquote", deepEqual(q, qq) &... | 31.25 | 84 | 0.505412 | rosholger |
10b4fca646eb6b292a8c534f43c6ff103f639547 | 1,041 | hpp | C++ | SCLT/Shading/ShadingModelFactory.hpp | chicio/Multispectral-Ray-tracing | ea5b399770eddd1927aae8a8ae4640dead42c48c | [
"MIT"
] | 95 | 2016-05-05T10:46:49.000Z | 2021-12-20T12:51:41.000Z | SCLT/Shading/ShadingModelFactory.hpp | chicio/Multispectral-Ray-tracing | ea5b399770eddd1927aae8a8ae4640dead42c48c | [
"MIT"
] | 1 | 2021-12-06T03:21:32.000Z | 2021-12-06T03:21:32.000Z | SCLT/Shading/ShadingModelFactory.hpp | chicio/Multispectral-Ray-tracing | ea5b399770eddd1927aae8a8ae4640dead42c48c | [
"MIT"
] | 8 | 2017-03-12T03:04:08.000Z | 2022-03-17T01:27:41.000Z | //
// ShadingModelFactory.hpp
// Spectral Clara Lux tracer
//
// Created by Fabrizio Duroni on 14/11/15.
// Copyright © 2015 Fabrizio Duroni. All rights reserved.
//
#ifndef ShadingModelFactory_hpp
#define ShadingModelFactory_hpp
#include "ShadingModel.hpp"
#include "ShadingSpectrumModel.hpp"
#include "ShadingRGB... | 24.785714 | 88 | 0.720461 | chicio |
10b8f89c528690f720871e29821ceb9ba01ef0c6 | 647 | cpp | C++ | array.cpp | gptakhil/Cpp-Revision | ae2a9e9ed4eaeb66a4b00787637ae4ff3132b57b | [
"MIT"
] | null | null | null | array.cpp | gptakhil/Cpp-Revision | ae2a9e9ed4eaeb66a4b00787637ae4ff3132b57b | [
"MIT"
] | null | null | null | array.cpp | gptakhil/Cpp-Revision | ae2a9e9ed4eaeb66a4b00787637ae4ff3132b57b | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int size = 5;
//Initialize array
int Roll_Number[] = {100,101,102,103,104};
//print array
for (int i = 0; i < size; i++){
//Access element at index i
cout << Roll_Number[i] << " ";
}
cout << endl;
// Update values of ... | 23.962963 | 55 | 0.553323 | gptakhil |
10bb50ee8e00270ca2f8658dd55f8d5892e24df3 | 10,382 | hh | C++ | tce/src/applibs/LLVMBackend/TCETargetMachine.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 74 | 2015-10-22T15:34:10.000Z | 2022-03-25T07:57:23.000Z | tce/src/applibs/LLVMBackend/TCETargetMachine.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 79 | 2015-11-19T09:23:08.000Z | 2022-01-12T14:15:16.000Z | tce/src/applibs/LLVMBackend/TCETargetMachine.hh | kanishkan/tce | 430e764b4d43f46bd1dc754aeb1d5632fc742110 | [
"MIT"
] | 38 | 2015-11-17T10:12:23.000Z | 2022-03-25T07:57:24.000Z | /*
Copyright (c) 2002-2015 Tampere University.
This file is part of TTA-Based Codesign Environment (TCE).
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, ... | 30.89881 | 93 | 0.633115 | kanishkan |
10bd4ffae98d8423d847bcb6d83ad774bbf2ea9f | 312 | cpp | C++ | src/StraightEnemyMove.cpp | yubeneko/Shooting_2D | 614476bd9fec654535e05e349b122d076ccd76e5 | [
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | 1 | 2022-03-18T08:16:22.000Z | 2022-03-18T08:16:22.000Z | src/StraightEnemyMove.cpp | yubeneko/Shooting_2D | 614476bd9fec654535e05e349b122d076ccd76e5 | [
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | src/StraightEnemyMove.cpp | yubeneko/Shooting_2D | 614476bd9fec654535e05e349b122d076ccd76e5 | [
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | #include "StraightEnemyMove.h"
#include "Actor.h"
StraightEnemyMove::StraightEnemyMove(Actor* owner, int updateOrder)
: Component(owner, updateOrder)
{
}
void StraightEnemyMove::Update(float deltaTime)
{
glm::vec2 pos = mOwner->GetPosition();
pos.x += mRightSpeed * deltaTime;
mOwner->SetPosition(pos);
}
| 20.8 | 67 | 0.746795 | yubeneko |
10c02db4da7fc8e72d6418b0011ea020609ab931 | 2,025 | cpp | C++ | contrib/C++/id3lib/source/globals.cpp | finnianr/Eiffel-Loop-safe | ee2fb9e3f6329c1faf2716ebfc53dc4e53fad80f | [
"MIT"
] | 1 | 2019-09-28T16:03:45.000Z | 2019-09-28T16:03:45.000Z | contrib/C++/id3lib/source/globals.cpp | finnianr/Eiffel-Loop-safe | ee2fb9e3f6329c1faf2716ebfc53dc4e53fad80f | [
"MIT"
] | 1 | 2019-09-28T16:07:48.000Z | 2019-09-28T16:07:48.000Z | contrib/C++/id3lib/source/globals.cpp | finnianr/Eiffel-Loop-safe | ee2fb9e3f6329c1faf2716ebfc53dc4e53fad80f | [
"MIT"
] | null | null | null | // $Id: globals.cpp,v 1.6 2002/07/02 22:12:57 t1mpy Exp $
// id3lib: a C++ library for creating and manipulating id3v1/v2 tags
// Copyright 1999, 2000 Scott Thomas Haug
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Library General Public License as published... | 39.705882 | 78 | 0.735802 | finnianr |
10c861988c00f5e1a4b9532490e526741b81559b | 1,043 | cpp | C++ | external_codes/mpi_wrapper/mpi3/exercise/03-isend.cpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | 14 | 2020-12-22T21:20:10.000Z | 2022-03-15T21:27:51.000Z | external_codes/mpi_wrapper/mpi3/exercise/03-isend.cpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | 11 | 2020-05-09T20:57:21.000Z | 2020-06-10T00:00:17.000Z | external_codes/mpi_wrapper/mpi3/exercise/03-isend.cpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | null | null | null | #if COMPILATION_INSTRUCTIONS
mpicxx -O3 -std=c++17 -Wfatal-errors $0 -o $0x.x && time mpirun -np 4 $0x.x $@ && rm -f $0x.x; exit
#endif
#include "alf/boost/mpi3/main.hpp"
#include "alf/boost/mpi3/version.hpp"
#include<iostream>
namespace mpi3 = boost::mpi3;
using std::cout;
int mpi3::main(int argc, char* argv[], mp... | 29.8 | 105 | 0.621285 | djstaros |
10c8eec391aeb73be4da1128f631c31763b58841 | 2,154 | cpp | C++ | Official Windows Platform Sample/Windows 8.1 desktop samples/[C++]-Windows 8.1 desktop samples/Input Method Editor (IME) sample/C++/SampleIME/DisplayAttributeProvider.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/IME/cpp/SampleIME/DisplayAttributeProvider.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 1 | 2022-03-15T04:21:41.000Z | 2022-03-15T04:21:41.000Z | Samples/IME/cpp/SampleIME/DisplayAttributeProvider.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "Private.h"
#inclu... | 26.268293 | 125 | 0.579851 | zzgchina888 |
10c9bbf2a00f59dc3739a171357a9ac3b6af25c7 | 136 | cpp | C++ | cppcode/cpp execise/day02/main.cpp | jiedou/study | 606676ebc3d1fb1a87de26b6609307d71dafec22 | [
"Apache-2.0"
] | null | null | null | cppcode/cpp execise/day02/main.cpp | jiedou/study | 606676ebc3d1fb1a87de26b6609307d71dafec22 | [
"Apache-2.0"
] | null | null | null | cppcode/cpp execise/day02/main.cpp | jiedou/study | 606676ebc3d1fb1a87de26b6609307d71dafec22 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
extern "C" int add (int, int);
int main (void) {
cout << add (123, 456) << endl;
return 0;
}
| 17 | 32 | 0.632353 | jiedou |
10cd39e2858d32895cc14235b47b86e80c1a8562 | 3,283 | cc | C++ | cassandra/src/model/DescribeNodeToolExecutionHistoryResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | cassandra/src/model/DescribeNodeToolExecutionHistoryResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | cassandra/src/model/DescribeNodeToolExecutionHistoryResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.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.909836 | 108 | 0.762717 | iamzken |
10cedd7e2501814e0a6470110e97c6e2f2154d6f | 547 | cpp | C++ | Example/Network/Http/Http/ConnectionMgr.cpp | chenyu2202863/iocpframework | 292fbf820af0d96b1d3be18d3616dce3e421f9c2 | [
"FSFAP"
] | 51 | 2015-01-28T08:50:43.000Z | 2022-02-28T02:31:47.000Z | Example/Network/Http/Http/ConnectionMgr.cpp | lvyong1943/iocpframework | 292fbf820af0d96b1d3be18d3616dce3e421f9c2 | [
"FSFAP"
] | 1 | 2016-09-26T06:38:44.000Z | 2016-10-16T11:42:02.000Z | Example/Network/Http/Http/ConnectionMgr.cpp | lvyong1943/iocpframework | 292fbf820af0d96b1d3be18d3616dce3e421f9c2 | [
"FSFAP"
] | 52 | 2015-01-10T08:28:52.000Z | 2021-10-30T12:10:23.000Z | #include "stdafx.h"
#include "ConnectionMgr.h"
namespace http
{
void ConnectionMgr::Start(const ConnectionPtr &c)
{
{
AutoLock lock(lock_);
connections_.insert(c);
}
c->Start();
}
void ConnectionMgr::Stop(const ConnectionPtr &c)
{
{
AutoLock lock(lock_);
connections_.erase(c);
}
c->St... | 14.394737 | 61 | 0.645338 | chenyu2202863 |
10d1ddad473fde2bd771fc1330ddfca1c0ca4e72 | 3,636 | cc | C++ | chrome/browser/chromeos/kerberos/kerberos_credentials_manager_factory.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/kerberos/kerberos_credentials_manager_factory.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/kerberos/kerberos_credentials_manager_factory.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2019 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/kerberos/kerberos_credentials_manager_factory.h"
#include <memory>
#include <utility>
#include "base/memory/singleton.... | 33.981308 | 82 | 0.775853 | sarang-apps |
10d25ff719079320b47be0257d94630865ff17dd | 3,652 | cpp | C++ | src/Date.cpp | aymanexpo/Date | 94863151cab43148b8770ae258ff351af2de195e | [
"MIT"
] | null | null | null | src/Date.cpp | aymanexpo/Date | 94863151cab43148b8770ae258ff351af2de195e | [
"MIT"
] | null | null | null | src/Date.cpp | aymanexpo/Date | 94863151cab43148b8770ae258ff351af2de195e | [
"MIT"
] | null | null | null | #include "Date.h"
#include <iostream>
using namespace std;
Date::Date() {
this->d_ = 1;
this->m_ = 1;
this->y_ = 1970;
}
Date::Date(const Date &date) {
this->d_ = date.d_;
this->m_ = date.m_;
this->y_ = date.y_;
}
Date::Date(int y, int m, int d) {
if (y%400==0) {
if(m==2&&(d>29||d... | 27.666667 | 148 | 0.324206 | aymanexpo |
10d4060ff81c8fe4932b765600f9bb22f9bb92db | 41,288 | cpp | C++ | agent/browser/ie/pagetest/TestState.cpp | LeeLiangze/web_test | 50ce21afb153b105569e31ef08ddc098743208e5 | [
"IJG"
] | null | null | null | agent/browser/ie/pagetest/TestState.cpp | LeeLiangze/web_test | 50ce21afb153b105569e31ef08ddc098743208e5 | [
"IJG"
] | null | null | null | agent/browser/ie/pagetest/TestState.cpp | LeeLiangze/web_test | 50ce21afb153b105569e31ef08ddc098743208e5 | [
"IJG"
] | null | null | null | /*
Copyright (c) 2005-2007, AOL, LLC.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the fo... | 32.080808 | 176 | 0.582034 | LeeLiangze |
10d472fae34963d694d665e8e9b952f4e0a3920c | 3,062 | cc | C++ | tests/functional_small/rom/correctness_lspg_steady/preconditioned_hypred/main.cc | nittaya1990/pressio | 22fad15ffc00f3e4d880476a5e60b227ac714ef4 | [
"BSD-3-Clause"
] | 1 | 2021-09-24T17:06:51.000Z | 2021-09-24T17:06:51.000Z | tests/functional_small/rom/correctness_lspg_steady/preconditioned_hypred/main.cc | nittaya1990/pressio | 22fad15ffc00f3e4d880476a5e60b227ac714ef4 | [
"BSD-3-Clause"
] | 2 | 2021-10-03T20:36:28.000Z | 2021-10-17T10:26:06.000Z | tests/functional_small/rom/correctness_lspg_steady/preconditioned_hypred/main.cc | nittaya1990/pressio | 22fad15ffc00f3e4d880476a5e60b227ac714ef4 | [
"BSD-3-Clause"
] | null | null | null |
#include <gtest/gtest.h>
#include "../custom_types_specialized_ops.hpp"
#include "../checker.hpp"
#include "foms.hpp"
#include "../preconditioners.hpp"
#include "pressio/rom_lspg.hpp"
TEST(rom_lspg, steady_preconitioned_hypred_correctness_eigen)
{
pressio::log::initialize(pressio::logto::terminal);
pressio::log:... | 28.351852 | 127 | 0.692685 | nittaya1990 |
10d5edc0e2b787ca1d4f86efd5e14ee2726704aa | 1,799 | cpp | C++ | compiler/nnc/driver/main.cpp | periannath/ONE | 61e0bdf2bcd0bc146faef42b85d469440e162886 | [
"Apache-2.0"
] | 255 | 2020-05-22T07:45:29.000Z | 2022-03-29T23:58:22.000Z | compiler/nnc/driver/main.cpp | periannath/ONE | 61e0bdf2bcd0bc146faef42b85d469440e162886 | [
"Apache-2.0"
] | 5,102 | 2020-05-22T07:48:33.000Z | 2022-03-31T23:43:39.000Z | compiler/nnc/driver/main.cpp | periannath/ONE | 61e0bdf2bcd0bc146faef42b85d469440e162886 | [
"Apache-2.0"
] | 120 | 2020-05-22T07:51:08.000Z | 2022-02-16T19:08:05.000Z | /*
* Copyright (c) 2018 Samsung Electronics Co., Ltd. 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... | 23.671053 | 95 | 0.673708 | periannath |
10d8d369bdb03f1424f31663636cf2fb231ddb29 | 6,945 | cpp | C++ | src/IECoreGL/ToGLTextureConverter.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | src/IECoreGL/ToGLTextureConverter.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | src/IECoreGL/ToGLTextureConverter.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | 1 | 2020-09-26T01:15:37.000Z | 2020-09-26T01:15:37.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2009-2012, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 33.878049 | 188 | 0.715191 | goddardl |
10dd4e7e6d0f6ae718e21b3a1b8397eefce814a0 | 8,859 | cpp | C++ | esp-at/UnifiedAtEvent.cpp | PowerfulCat/Works | 94b729ee2afd14a5fde03ea94f826e0b98b80dcf | [
"MIT"
] | 2 | 2020-03-05T12:59:06.000Z | 2020-03-11T02:58:53.000Z | esp-at/UnifiedAtEvent.cpp | PowerfulCat/Works | 94b729ee2afd14a5fde03ea94f826e0b98b80dcf | [
"MIT"
] | null | null | null | esp-at/UnifiedAtEvent.cpp | PowerfulCat/Works | 94b729ee2afd14a5fde03ea94f826e0b98b80dcf | [
"MIT"
] | null | null | null | #define private public
#include"Uart.h"
#include"UnifiedAtEvent.h"
#include"Utilities.h"
#include"UnifiedBackTask.h"
#define T_US 1000000.0
#define T_MS 1000.0
#define ESP_BIT_RATE 115200
#define ESP_BYTE_RATE (1.0 * ESP_BIT_RATE / 11)
#define MAX_DESIRED 50.0
#define COST(bytes) uin... | 25.604046 | 88 | 0.493397 | PowerfulCat |
10e26290e120d2346f7b9a49fed586952788fc27 | 26,485 | cc | C++ | be/src/exprs/scalar-fn-call.cc | AtScaleInc/Impala | 1073a9108220faffe61c3bc9dff7a953adde12df | [
"Apache-2.0"
] | null | null | null | be/src/exprs/scalar-fn-call.cc | AtScaleInc/Impala | 1073a9108220faffe61c3bc9dff7a953adde12df | [
"Apache-2.0"
] | null | null | null | be/src/exprs/scalar-fn-call.cc | AtScaleInc/Impala | 1073a9108220faffe61c3bc9dff7a953adde12df | [
"Apache-2.0"
] | null | null | null | // Copyright 2012 Cloudera 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 to in wr... | 42.786753 | 91 | 0.696621 | AtScaleInc |
10e40f27da46f99c1f3e04c0934a0e76a231753c | 10,856 | cc | C++ | src/nfc/tags/tags_int.cc | stnfc/android-system-nfc | ee659f69beed15b31bc08a7283fb9a403430c1a9 | [
"Apache-2.0"
] | null | null | null | src/nfc/tags/tags_int.cc | stnfc/android-system-nfc | ee659f69beed15b31bc08a7283fb9a403430c1a9 | [
"Apache-2.0"
] | null | null | null | src/nfc/tags/tags_int.cc | stnfc/android-system-nfc | ee659f69beed15b31bc08a7283fb9a403430c1a9 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
*
* Copyright (C) 2010-2014 Broadcom 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 a... | 34.138365 | 81 | 0.494749 | stnfc |
10eaed4fcb6f417e0d2208c7552c84365d5f32a0 | 6,111 | hpp | C++ | extension/parquet/include/thrift_tools.hpp | hannes/duckdb | 4a24d71edecc7c0018eb3860d2e104cfe90462b6 | [
"MIT"
] | null | null | null | extension/parquet/include/thrift_tools.hpp | hannes/duckdb | 4a24d71edecc7c0018eb3860d2e104cfe90462b6 | [
"MIT"
] | null | null | null | extension/parquet/include/thrift_tools.hpp | hannes/duckdb | 4a24d71edecc7c0018eb3860d2e104cfe90462b6 | [
"MIT"
] | null | null | null | #pragma once
#include <list>
#include "thrift/protocol/TCompactProtocol.h"
#include "thrift/transport/TBufferTransports.h"
#include "duckdb.hpp"
#ifndef DUCKDB_AMALGAMATION
#include "duckdb/common/file_system.hpp"
#include "duckdb/common/allocator.hpp"
#endif
namespace duckdb {
// A ReadHead for prefetching data in ... | 29.1 | 116 | 0.727377 | hannes |
10eff848446dd52b65ad267dfb5b9e40a5bd8131 | 16,275 | hpp | C++ | packages/utility/archive/src/Utility_HDF5OArchiveImpl_def.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/utility/archive/src/Utility_HDF5OArchiveImpl_def.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/utility/archive/src/Utility_HDF5OArchiveImpl_def.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file Utility_HDF5OArchiveImpl_def.hpp
//! \author Alex Robinson
//! \brief HDF5 output archive implementation class definition
//!
//---------------------------------------------------------------------------//
#ifndef UTILITY_... | 31.97446 | 176 | 0.642949 | bam241 |
10f15782ea2570fc6051f928fb71ea4138daae6e | 3,921 | cpp | C++ | src/c3d/flats.cpp | tingelst/pyversor | b5545619bb1b4089803251098c4038d3ef16aac3 | [
"BSD-3-Clause"
] | 13 | 2017-11-02T19:44:08.000Z | 2021-02-07T21:04:03.000Z | src/c3d/flats.cpp | tingelst/pyversor | b5545619bb1b4089803251098c4038d3ef16aac3 | [
"BSD-3-Clause"
] | 5 | 2017-10-26T07:56:24.000Z | 2017-11-08T15:36:27.000Z | src/c3d/flats.cpp | tingelst/pyversor | b5545619bb1b4089803251098c4038d3ef16aac3 | [
"BSD-3-Clause"
] | 3 | 2017-09-27T12:23:11.000Z | 2020-05-24T19:13:49.000Z | // Copyright (c) 2015, Lars Tingelstad
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this
// list of conditio... | 40.42268 | 80 | 0.709258 | tingelst |
10f1a471a36c3904f10641621de29965b79e4415 | 553 | cpp | C++ | source/RTTR.cpp | xzrunner/js | 4d1387c8561884c585dd86e4e0f21885eeada1ec | [
"MIT"
] | null | null | null | source/RTTR.cpp | xzrunner/js | 4d1387c8561884c585dd86e4e0f21885eeada1ec | [
"MIT"
] | null | null | null | source/RTTR.cpp | xzrunner/js | 4d1387c8561884c585dd86e4e0f21885eeada1ec | [
"MIT"
] | null | null | null | #include "js/RTTR.h"
namespace detail
{
extern std::string rttr_to_rapidjson(rttr::instance obj, const std::string& dir_path);
extern bool rttr_from_rapidjson(const std::string& json, const std::string& dir_path, rttr::instance obj);
}
namespace js
{
std::string RTTR::ToRapidJson(rttr::instance obj, const std::str... | 23.041667 | 106 | 0.75226 | xzrunner |
10f40c81e8745dbd133d965258c2b4484ef30fc1 | 2,630 | cpp | C++ | src/tools/loop_stats/src/LoopStats_InductionVariables.cpp | SusanTan/noelle | 33c9e10a20bc59590c13bf29fb661fc406a9e687 | [
"MIT"
] | null | null | null | src/tools/loop_stats/src/LoopStats_InductionVariables.cpp | SusanTan/noelle | 33c9e10a20bc59590c13bf29fb661fc406a9e687 | [
"MIT"
] | null | null | null | src/tools/loop_stats/src/LoopStats_InductionVariables.cpp | SusanTan/noelle | 33c9e10a20bc59590c13bf29fb661fc406a9e687 | [
"MIT"
] | null | null | null | /*
* Copyright 2019 - 2020 Angelo Matni, Simone Campanoni
*
* 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, ... | 46.964286 | 435 | 0.759696 | SusanTan |
10f460bc04429615e6004d0f6d8cb1abab0a3164 | 1,909 | cpp | C++ | server/TestServer/database.cpp | Gmadges/major-project | 747495616b320c46918589abdc753f106ba36f0b | [
"MIT"
] | null | null | null | server/TestServer/database.cpp | Gmadges/major-project | 747495616b320c46918589abdc753f106ba36f0b | [
"MIT"
] | null | null | null | server/TestServer/database.cpp | Gmadges/major-project | 747495616b320c46918589abdc753f106ba36f0b | [
"MIT"
] | null | null | null | #include "database.h"
#include <fstream>
Database::Database()
{
std::ifstream dbfile("database.json");
if (dbfile.is_open())
{
dbfile >> db;
}
}
Database::~Database()
{
}
bool Database::putMesh(json& _mesh)
{
// lock
std::lock_guard<std::mutex> lock(mut);
if (_mesh.count("id") > 0)
{
std::string id = _... | 14.684615 | 58 | 0.598219 | Gmadges |
10f491ead11c97c3bec0a5dbf3c1c72f4db6b4bb | 763 | cpp | C++ | Source/Core/TornadoEngine/Components/Logic/ObjectInstanceEndHandlerBuilderSystem.cpp | RamilGauss/MMO-Framework | c7c97b019adad940db86d6533861deceafb2ba04 | [
"MIT"
] | 27 | 2015-01-08T08:26:29.000Z | 2019-02-10T03:18:05.000Z | Source/Core/TornadoEngine/Components/Logic/ObjectInstanceEndHandlerBuilderSystem.cpp | RamilGauss/MMO-Framework | c7c97b019adad940db86d6533861deceafb2ba04 | [
"MIT"
] | 1 | 2017-04-05T02:02:14.000Z | 2017-04-05T02:02:14.000Z | Source/Core/TornadoEngine/Components/Logic/ObjectInstanceEndHandlerBuilderSystem.cpp | RamilGauss/MMO-Framework | c7c97b019adad940db86d6533861deceafb2ba04 | [
"MIT"
] | 17 | 2015-01-18T02:50:01.000Z | 2019-02-08T21:00:53.000Z | /*
Author: Gudakov Ramil Sergeevich a.k.a. Gauss
Гудаков Рамиль Сергеевич
Contacts: [ramil2085@mail.ru, ramil2085@gmail.com]
See for more information LICENSE.md.
*/
#include "ObjectInstanceEndHandlerBuilderSystem.h"
#include "Modules.h"
#include "LogicModule.h"
#include "HandlerCallCollector.h"
using na... | 26.310345 | 147 | 0.711664 | RamilGauss |
10f5def95557eea3f8b793b27399968598c2b537 | 5,503 | cpp | C++ | TommyGun/Plugins/CodeEditor/PaletteParser/fPaletteParserOptions.cpp | tonyt73/TommyGun | 2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36 | [
"BSD-3-Clause"
] | 34 | 2017-05-08T18:39:13.000Z | 2022-02-13T05:05:33.000Z | TommyGun/Plugins/CodeEditor/PaletteParser/fPaletteParserOptions.cpp | tonyt73/TommyGun | 2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36 | [
"BSD-3-Clause"
] | null | null | null | TommyGun/Plugins/CodeEditor/PaletteParser/fPaletteParserOptions.cpp | tonyt73/TommyGun | 2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36 | [
"BSD-3-Clause"
] | 6 | 2017-05-27T01:14:20.000Z | 2020-01-20T14:54:30.000Z | #pragma link "KSpinEdit"
/*---------------------------------------------------------------------------
(c) 2004 Scorpio Software
19 Wittama Drive
Glenmore Park
Sydney NSW 2745
Australia
-----------------------------------------------------------------------------
$Workfile:: ... | 39.028369 | 98 | 0.466291 | tonyt73 |
10f90ea1255b7f9a7642b6ba90d913b76e71857c | 3,296 | cpp | C++ | ver1/answers/lp-12-33.cpp | aafulei/cppp5e | f8d254073866e3025c3a08b919d9bbe3965b6918 | [
"MIT"
] | null | null | null | ver1/answers/lp-12-33.cpp | aafulei/cppp5e | f8d254073866e3025c3a08b919d9bbe3965b6918 | [
"MIT"
] | null | null | null | ver1/answers/lp-12-33.cpp | aafulei/cppp5e | f8d254073866e3025c3a08b919d9bbe3965b6918 | [
"MIT"
] | null | null | null | // 18/03/01 = Thu
// Exercise 12.33: In Chapter 15 we’ll extend our query system and will need some additional members in the QueryResult class. Add members named begin and end that return iterators into the set of line numbers returned by a given query, and a member named get_file that returns a shared_ptr to the fil... | 24.781955 | 329 | 0.629551 | aafulei |
10fbc17be7c46cd179d7c469a97ba04bef88412a | 2,689 | cpp | C++ | 3rdParty/Aria/src/ArTransform.cpp | bellonemauro/myARIAtestApp | 8223b5833ccf37cf9f503337858a46544d36a19c | [
"Linux-OpenIB"
] | null | null | null | 3rdParty/Aria/src/ArTransform.cpp | bellonemauro/myARIAtestApp | 8223b5833ccf37cf9f503337858a46544d36a19c | [
"Linux-OpenIB"
] | null | null | null | 3rdParty/Aria/src/ArTransform.cpp | bellonemauro/myARIAtestApp | 8223b5833ccf37cf9f503337858a46544d36a19c | [
"Linux-OpenIB"
] | null | null | null | /*
Adept MobileRobots Robotics Interface for Applications (ARIA)
Copyright (C) 2004-2005 ActivMedia Robotics LLC
Copyright (C) 2006-2010 MobileRobots Inc.
Copyright (C) 2011-2015 Adept Technology, Inc.
Copyright (C) 2016 Omron Adept Technologies, Inc.
This program is free software; you can redistribute it and/or ... | 29.877778 | 78 | 0.693938 | bellonemauro |
10fdbd6e0411cb21703639b223a644b5a2492b48 | 738 | cpp | C++ | console/Warthog/hog/rsr/EmptyClusterFactory.cpp | pathfindingdebugger/pathfindingdebugger.github.io | a836c1611e1da5ee0331c3ef3e6d9e7702668461 | [
"CC-BY-3.0"
] | null | null | null | console/Warthog/hog/rsr/EmptyClusterFactory.cpp | pathfindingdebugger/pathfindingdebugger.github.io | a836c1611e1da5ee0331c3ef3e6d9e7702668461 | [
"CC-BY-3.0"
] | null | null | null | console/Warthog/hog/rsr/EmptyClusterFactory.cpp | pathfindingdebugger/pathfindingdebugger.github.io | a836c1611e1da5ee0331c3ef3e6d9e7702668461 | [
"CC-BY-3.0"
] | 1 | 2019-09-17T03:12:12.000Z | 2019-09-17T03:12:12.000Z | #include "EmptyClusterFactory.h"
#include "EmptyCluster.h"
#include "EmptyClusterAbstraction.h"
EmptyClusterFactory::EmptyClusterFactory()
{
}
EmptyClusterFactory::~EmptyClusterFactory()
{
}
AbstractCluster*
EmptyClusterFactory::createCluster(int x, int y,
GenericClusterAbstraction* map_)
{
EmptyClusterAbstracti... | 23.806452 | 77 | 0.772358 | pathfindingdebugger |
10ff9243ff70b7edce6d99b3edda04c3ee82e67b | 1,737 | cpp | C++ | scenewidget.cpp | predmach/vtk_realsense | 4139a86b07ced908ce5b4b9f3089a4fb9fa6a532 | [
"Apache-2.0"
] | 103 | 2017-04-01T06:10:08.000Z | 2022-03-23T03:13:49.000Z | scenewidget.cpp | JoyPoint/Qt-VTK-viewer | 51ee2c4b99982c2798fd99ba89212940861768ac | [
"Apache-2.0"
] | 9 | 2018-04-04T16:14:10.000Z | 2021-01-24T15:20:58.000Z | scenewidget.cpp | JoyPoint/Qt-VTK-viewer | 51ee2c4b99982c2798fd99ba89212940861768ac | [
"Apache-2.0"
] | 35 | 2017-01-25T01:48:47.000Z | 2022-03-27T07:39:30.000Z | #include "scenewidget.h"
#include <vtkCamera.h>
#include <vtkDataSetMapper.h>
#include <vtkGenericOpenGLRenderWindow.h>
#include <vtkProperty.h>
#include <vtkRenderWindowInteractor.h>
SceneWidget::SceneWidget(QWidget* parent)
: QVTKOpenGLNativeWidget(parent)
{
vtkNew<vtkGenericOpenGLRenderWindow> w... | 27.140625 | 89 | 0.671272 | predmach |
8004c29dd80c14e283e34b6242851911f46adab1 | 5,919 | cc | C++ | xls/dslx/ast_utils.cc | netskink/xls | 78d38c626a360cb835e1c59639a36c67f077769d | [
"Apache-2.0"
] | null | null | null | xls/dslx/ast_utils.cc | netskink/xls | 78d38c626a360cb835e1c59639a36c67f077769d | [
"Apache-2.0"
] | null | null | null | xls/dslx/ast_utils.cc | netskink/xls | 78d38c626a360cb835e1c59639a36c67f077769d | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 The XLS Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 42.278571 | 80 | 0.675283 | netskink |
8007346c8b0fb80fbfd2d8e50fe82ff5e8d7cf77 | 1,083 | cpp | C++ | EmerCert/MainWindow.cpp | emercoin-scratch/EmerCert | 9d17b363dd0e9d6feb07c62ee385e585d9a72dee | [
"BSD-2-Clause"
] | 2 | 2018-11-12T16:22:44.000Z | 2021-04-24T03:08:24.000Z | EmerCert/MainWindow.cpp | emercoin-scratch/EmerCert | 9d17b363dd0e9d6feb07c62ee385e585d9a72dee | [
"BSD-2-Clause"
] | 1 | 2018-07-09T22:20:45.000Z | 2021-03-20T05:00:55.000Z | EmerCert/MainWindow.cpp | emercoin-scratch/EmerCert | 9d17b363dd0e9d6feb07c62ee385e585d9a72dee | [
"BSD-2-Clause"
] | 3 | 2018-10-06T20:35:05.000Z | 2020-11-26T00:15:45.000Z | #include "pch.h"
#include "MainWindow.h"
#include "InfoCardsWidget.h"
#include "ManageSslPage.h"
#include "ManageDnsPage.h"
#include "EnumerDialog.h"
#include "DiplomaWidget.h"
#include "DpoWidget.h"
#include "AboutWidget.h"
MainWindow::MainWindow(QWidget *parent): QTabWidget(parent) {
setWindowTitle(tr("EmerCert Man... | 27.075 | 82 | 0.730379 | emercoin-scratch |
800950a892025477a88272510d8be9b29912b92c | 4,415 | cpp | C++ | qgeotiledmappingmanagerenginegooglemaps.cpp | mfbernardes/googlemaps | 7ce7124b385b2ebac0f72c38b094f436d4fe5c58 | [
"MIT"
] | 123 | 2016-07-18T07:53:34.000Z | 2022-02-21T20:30:27.000Z | qgeotiledmappingmanagerenginegooglemaps.cpp | mfbernardes/googlemaps | 7ce7124b385b2ebac0f72c38b094f436d4fe5c58 | [
"MIT"
] | 30 | 2016-07-18T07:55:30.000Z | 2022-03-06T02:03:24.000Z | qgeotiledmappingmanagerenginegooglemaps.cpp | mfbernardes/googlemaps | 7ce7124b385b2ebac0f72c38b094f436d4fe5c58 | [
"MIT"
] | 66 | 2016-09-17T12:41:41.000Z | 2021-12-28T16:39:48.000Z | #include "QtLocation/private/qgeocameracapabilities_p.h"
#include "qgeotiledmappingmanagerenginegooglemaps.h"
#include "qgeotiledmapgooglemaps.h"
#include "qgeotilefetchergooglemaps.h"
#include "QtLocation/private/qgeotilespec_p.h"
#if QT_VERSION < QT_VERSION_CHECK(5,6,0)
#include <QStandardPaths>
#include "QtLocation/... | 45.515464 | 176 | 0.752435 | mfbernardes |
800a5d7416a13180aafa1398d84598e65c192f5a | 5,508 | cpp | C++ | Src/lunaui/launcher/gfx/scrollingsurface.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | 3 | 2018-11-16T14:51:17.000Z | 2019-11-21T10:55:24.000Z | Src/lunaui/launcher/gfx/scrollingsurface.cpp | penk/luna-sysmgr | 60c7056a734cdb55a718507f3a739839c9d74edf | [
"Apache-2.0"
] | 1 | 2021-02-20T13:12:15.000Z | 2021-02-20T13:12:15.000Z | Src/lunaui/launcher/gfx/scrollingsurface.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | null | null | null | /* @@@LICENSE
*
* Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P.
*
* 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
*
* Unl... | 27.402985 | 127 | 0.741649 | ericblade |
800ca97ca8a69dfdb3c41e0cfdea9e54d4119fd9 | 13,625 | cpp | C++ | kernel/common/SSMMsg.cpp | TonnyRed/sedna | 06ff5a13a16f2d820d3cf0ce579df23f03a59eda | [
"ECL-2.0",
"Apache-2.0"
] | 14 | 2015-09-06T10:17:02.000Z | 2021-12-14T22:39:25.000Z | kernel/common/SSMMsg.cpp | TonnyRed/sedna | 06ff5a13a16f2d820d3cf0ce579df23f03a59eda | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-02-15T22:02:14.000Z | 2020-02-17T10:30:14.000Z | kernel/common/SSMMsg.cpp | TonnyRed/sedna | 06ff5a13a16f2d820d3cf0ce579df23f03a59eda | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-07-23T05:48:20.000Z | 2021-04-11T05:01:39.000Z | /*
* File: SSMMsg.cpp
* Copyright (C) 2004 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
*/
#include <assert.h>
#include "common/SSMMsg.h"
#include "common/utils.h"
#include "common/errdbg/d_printf.h"
#include "common/u/ugnames.h"
using namespace std;
// SSMMsg stands for Sim... | 29.945055 | 133 | 0.581431 | TonnyRed |
800e306476ab6fb4dc72b154621b2dff5751f4b3 | 264 | cc | C++ | JetMETCorrections/JetVertexAssociation/src/SealModule.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | JetMETCorrections/JetVertexAssociation/src/SealModule.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | JetMETCorrections/JetVertexAssociation/src/SealModule.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "FWCore/PluginManager/interface/ModuleDef.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "JetMETCorrections/JetVertexAssociation/interface/JetVertexAssociation.h"
using cms::JetVertexAssociation;
DEFINE_FWK_MODULE(JetVertexAssociation);
| 37.714286 | 82 | 0.859848 | ckamtsikis |
800eba6e0c7a203f14a2419451b78d2a633068a9 | 199 | hpp | C++ | src/Dome.hpp | kant/GeoLEDic | 3cfb343576c9fb1a5470b0f604891b7d9033cdbb | [
"MIT"
] | null | null | null | src/Dome.hpp | kant/GeoLEDic | 3cfb343576c9fb1a5470b0f604891b7d9033cdbb | [
"MIT"
] | 8 | 2021-06-14T09:09:28.000Z | 2021-12-05T04:56:08.000Z | src/Dome.hpp | kant/GeoLEDic | 3cfb343576c9fb1a5470b0f604891b7d9033cdbb | [
"MIT"
] | 1 | 2021-11-12T01:39:56.000Z | 2021-11-12T01:39:56.000Z | #ifndef GEOLEDIC_DOME_HPP
#define GEOLEDIC_DOME_HPP
#include "DomeDefs.hpp"
#include "Triangle.hpp"
extern CRGB leds[NUM_STRIPS * LEDS_PER_STRIP];
extern Triangle dome[DOME_NUM_TRIANGLES];
#endif
| 18.090909 | 46 | 0.809045 | kant |
801398d4c6d03f35777e2ef827ebe9c9d8a98a7a | 12,288 | cpp | C++ | lab4/lab4.cpp | Emberwalker/ac41001_opengl_cpp | c2f63fb6bb200a44f93e43af00b32a9d7b5df05a | [
"MIT"
] | 1 | 2017-10-31T16:03:47.000Z | 2017-10-31T16:03:47.000Z | lab4/lab4.cpp | Emberwalker/ac41001_opengl_cpp | c2f63fb6bb200a44f93e43af00b32a9d7b5df05a | [
"MIT"
] | null | null | null | lab4/lab4.cpp | Emberwalker/ac41001_opengl_cpp | c2f63fb6bb200a44f93e43af00b32a9d7b5df05a | [
"MIT"
] | null | null | null | /*
poslight.cpp
Demonstrates a positional light with attenuation
Displays a cube and a sphere and a small sphere to show the light position
Includes controls to move the light source and rotate the view
Iain Martin October 2017
*/
#include <guts/guts.h>
#include <iostream>
#include <stack>
#include <glm/glm.hpp>... | 37.012048 | 437 | 0.638997 | Emberwalker |
801688ce44ba2583481e7be9f6b3ee0f1866eac3 | 28,015 | cpp | C++ | B2G/gecko/netwerk/cache/nsDiskCacheStreams.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/netwerk/cache/nsDiskCacheStreams.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/netwerk/cache/nsDiskCacheStreams.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 "nsDiskCache.h"
#include... | 28.911249 | 107 | 0.593539 | wilebeast |
80187f641b4aaa50fe7b57d6a3437056fcfe5292 | 3,443 | hpp | C++ | source/gameos/include/linkedlist.hpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 38 | 2015-04-10T13:31:03.000Z | 2021-09-03T22:34:05.000Z | source/gameos/include/linkedlist.hpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 1 | 2020-07-09T09:48:44.000Z | 2020-07-12T12:41:43.000Z | source/gameos/include/linkedlist.hpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 12 | 2015-06-29T08:06:57.000Z | 2021-10-13T13:11:41.000Z | #pragma once
//===========================================================================//
// File: LinkedList.hpp //
// Contents: Linked list routines //
//---------------------------------------------------------------------------//
// Copyright (C) Microsoft Corporation. All rights reserve... | 16.960591 | 79 | 0.533256 | mechasource |
80190f529ea9128e88438cb7d6a9fb9d2fbfcb03 | 9,154 | cpp | C++ | rqt_multiplot_plugin/rqt_multiplot/src/rqt_multiplot/UrlItemModel.cpp | huying163/ros_environment | bac3343bf92e6fa2bd852baf261e80712564f990 | [
"MIT"
] | 8 | 2018-01-30T11:40:31.000Z | 2021-05-03T05:52:47.000Z | rqt_multiplot_plugin/rqt_multiplot/src/rqt_multiplot/UrlItemModel.cpp | huying163/ros_environment | bac3343bf92e6fa2bd852baf261e80712564f990 | [
"MIT"
] | null | null | null | rqt_multiplot_plugin/rqt_multiplot/src/rqt_multiplot/UrlItemModel.cpp | huying163/ros_environment | bac3343bf92e6fa2bd852baf261e80712564f990 | [
"MIT"
] | 1 | 2020-12-23T08:14:57.000Z | 2020-12-23T08:14:57.000Z | /******************************************************************************
* Copyright (C) 2015 by Ralf Kaestner *
* ralf.kaestner@gmail.com *
* *
... | 34.156716 | 80 | 0.538453 | huying163 |
801aeba9d2d56daefc70741d6ed771cfe48bdc37 | 748 | cpp | C++ | 经典算法练习题/翻转单词顺序序列.cpp | anbingxu666/WangDao-DataStructure | 70dcd76c1e26852d659a01358ecb90b8eec2e2ba | [
"Apache-2.0"
] | 382 | 2019-08-09T12:46:46.000Z | 2022-03-31T08:38:48.000Z | 经典算法练习题/翻转单词顺序序列.cpp | anbingxu666/WangDao-DataStructure | 70dcd76c1e26852d659a01358ecb90b8eec2e2ba | [
"Apache-2.0"
] | 1 | 2019-09-04T05:45:49.000Z | 2020-12-17T12:02:22.000Z | 经典算法练习题/翻转单词顺序序列.cpp | anbingxu666/WangDao-DataStructure | 70dcd76c1e26852d659a01358ecb90b8eec2e2ba | [
"Apache-2.0"
] | 86 | 2019-09-04T05:44:34.000Z | 2022-03-08T05:06:00.000Z | //
// Created by newLion on 2020-06-10.
//
#include <string>
using namespace std;
string ReverseSentence(string str) {
if (str.empty())
return str;
int i = 0, sz = str.size();
while (i < sz && str[i] == ' ') ++i;
if (i == sz)
return str;
string ret = ""; //结果数组
string tmp = ... | 19.684211 | 43 | 0.410428 | anbingxu666 |
801e695b82291b98dbf5ec53ba811eb4107efb67 | 496 | cpp | C++ | Factory/examples/src/Derivee2.cpp | PhDunski/KoalaToolbox | ca2e46f886fe254324344ab0ddb612d1daa71e81 | [
"MIT"
] | null | null | null | Factory/examples/src/Derivee2.cpp | PhDunski/KoalaToolbox | ca2e46f886fe254324344ab0ddb612d1daa71e81 | [
"MIT"
] | null | null | null | Factory/examples/src/Derivee2.cpp | PhDunski/KoalaToolbox | ca2e46f886fe254324344ab0ddb612d1daa71e81 | [
"MIT"
] | null | null | null | /** @file Derivee1.cpp
*
* Fournit la définition des fonctions membres de la classe Derivee2
*
* Ce fichier permet de tester les classes de création d'objet au départ
* de listes de paramètres à transmettre au constructeur
* @author koala01
* @version 1.0
* @date 2013/12/15
*/
#include <Deri... | 27.555556 | 74 | 0.610887 | PhDunski |
801f8b1416f4ea01aa775d1e7c0bdfa5ea0c6a27 | 39,876 | cpp | C++ | src/NetProtocol/Base/nNetConnector.cpp | Vladimir-Lin/QtNetProtocol | 907cc8b5acf96a04d89eb8e68faede77c4a2df1b | [
"MIT"
] | null | null | null | src/NetProtocol/Base/nNetConnector.cpp | Vladimir-Lin/QtNetProtocol | 907cc8b5acf96a04d89eb8e68faede77c4a2df1b | [
"MIT"
] | null | null | null | src/NetProtocol/Base/nNetConnector.cpp | Vladimir-Lin/QtNetProtocol | 907cc8b5acf96a04d89eb8e68faede77c4a2df1b | [
"MIT"
] | null | null | null | #include <netprotocol.h>
N::NetConnector:: NetConnector (void)
: NetTalk ( )
{
setParameter ( "Running" , true ) ;
setParameter ( "Stopped" , true ) ;
setParameter ( "ReadStopped" , true ) ;
setParameter ( "WriteStopped" , true ) ;
setParameter ( "Block" , false ... | 72.766423 | 78 | 0.150717 | Vladimir-Lin |
801fd7729ffb61d163f981b2906d80d3ac47addc | 2,111 | cc | C++ | npy/tests/NSliceTest.cc | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 11 | 2020-07-05T02:39:32.000Z | 2022-03-20T18:52:44.000Z | npy/tests/NSliceTest.cc | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | null | null | null | npy/tests/NSliceTest.cc | hanswenzel/opticks | b75b5929b6cf36a5eedeffb3031af2920f75f9f0 | [
"Apache-2.0"
] | 4 | 2020-09-03T20:36:32.000Z | 2022-01-19T07:42:21.000Z | /*
* Copyright (c) 2019 Opticks Team. All Rights Reserved.
*
* This file is part of Opticks
* (see https://bitbucket.org/simoncblyth/opticks).
*
* 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 ... | 24.835294 | 77 | 0.598295 | hanswenzel |
801fef50c23a6a0c2913d39e520a90f5ca9013fa | 9,340 | cpp | C++ | src/bindings/Scriptdev2/scripts/northrend/naxxramas/boss_faerlina.cpp | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | 1 | 2017-11-16T19:04:07.000Z | 2017-11-16T19:04:07.000Z | src/bindings/Scriptdev2/scripts/northrend/naxxramas/boss_faerlina.cpp | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | src/bindings/Scriptdev2/scripts/northrend/naxxramas/boss_faerlina.cpp | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | /* Copyright (C) 2006 - 2011 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
* 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 l... | 33.238434 | 144 | 0.611563 | mfooo |