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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce29b005fe856b8e644e1fc31c6a2b9cd3c1dd0c | 2,157 | cpp | C++ | incoming/BitBucket-INDI1/trunk186/INDI2/EIRlibs/eirType/StringBehavior.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | null | null | null | incoming/BitBucket-INDI1/trunk186/INDI2/EIRlibs/eirType/StringBehavior.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | 14 | 2016-11-24T10:46:39.000Z | 2016-12-10T07:24:15.000Z | incoming/BitBucket-INDI1/trunk186/INDI2/EIRlibs/eirType/StringBehavior.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | null | null | null | #include "StringBehavior.h"
#include <QDomElement>
#include <eirBase/BaseLog.h>
#include <eirKID/BasicId.h>
#include "Hexdump.h"
StringBehavior * StringBehavior::instance_p = 0;
StringBehavior * StringBehavior::instance(void)
{
if ( ! instance_p) instance_p = new StringBehavior;
return instan... | 25.678571 | 74 | 0.634678 | eirTony |
ce2bbc7547e7208e40e21639a57a910484dd8f11 | 528 | cpp | C++ | score/src/GoalSensorBase.cpp | victoriapc/HockusPockus | 2130b462b0038a527061744ab7faf20c2996c04f | [
"BSD-3-Clause"
] | null | null | null | score/src/GoalSensorBase.cpp | victoriapc/HockusPockus | 2130b462b0038a527061744ab7faf20c2996c04f | [
"BSD-3-Clause"
] | 52 | 2020-01-15T16:45:32.000Z | 2020-04-19T12:00:01.000Z | score/src/GoalSensorBase.cpp | victoriapc/HockusPockus | 2130b462b0038a527061744ab7faf20c2996c04f | [
"BSD-3-Clause"
] | 4 | 2020-01-15T15:11:08.000Z | 2021-01-11T17:41:07.000Z | #include "GoalSensorBase.h"
GoalSensorBase::GoalSensorBase() :
m_state(GoalSensorBase::STATE_IDLE)
{
}
void GoalSensorBase::checkForNextGoal()
{
while (isIdleState())
{
if (isTriggeredCondition())
{
m_state = GoalSensorBase::STATE_TRIGGERED;
while (not isIdleCondition())
{
}
}
}
m_state = GoalS... | 17.032258 | 51 | 0.729167 | victoriapc |
ce2c79378561fb059a7f440e0c0bb3e6eaaf6e54 | 5,406 | cc | C++ | OnlineDB/EcalCondDB/src/ODPedestalOffsetsDat.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | OnlineDB/EcalCondDB/src/ODPedestalOffsetsDat.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | OnlineDB/EcalCondDB/src/ODPedestalOffsetsDat.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | #include <stdexcept>
#include <string>
#include "OnlineDB/Oracle/interface/Oracle.h"
#include "OnlineDB/EcalCondDB/interface/ODPedestalOffsetsDat.h"
using namespace std;
using namespace oracle::occi;
ODPedestalOffsetsDat::ODPedestalOffsetsDat()
{
m_env = NULL;
m_conn = NULL;
m_writeStmt = NULL;
m_readStmt = ... | 26.242718 | 120 | 0.63448 | pasmuss |
ce2c7ea712fd98560f0c8e134724ce51a127449b | 83 | hh | C++ | build/ARM/mem/protocol/RubyRequest.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/ARM/mem/protocol/RubyRequest.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | build/ARM/mem/protocol/RubyRequest.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | #include "/home/zhoushuxin/gem5/build/ARM/mem/ruby/slicc_interface/RubyRequest.hh"
| 41.5 | 82 | 0.819277 | zhoushuxin |
ce2f94041b87d1ea7193ae1789bd92d6200d43fc | 3,197 | cpp | C++ | pxr/usd/usd/references.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 3,680 | 2016-07-26T18:28:11.000Z | 2022-03-31T09:55:05.000Z | pxr/usd/usd/references.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 1,759 | 2016-07-26T19:19:59.000Z | 2022-03-31T21:24:00.000Z | pxr/usd/usd/references.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 904 | 2016-07-26T18:33:40.000Z | 2022-03-31T09:55:16.000Z | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 31.653465 | 80 | 0.679074 | DougRogers-DigitalFish |
ce2fc881c4d515e083889d7e9da3efd08a10a089 | 644 | hh | C++ | include/syslog_interface.hh | Quicr/qmedia | 96408d740bf35e6a845f61c40cc9f9ff859a9955 | [
"BSD-2-Clause"
] | null | null | null | include/syslog_interface.hh | Quicr/qmedia | 96408d740bf35e6a845f61c40cc9f9ff859a9955 | [
"BSD-2-Clause"
] | 1 | 2021-12-29T03:37:51.000Z | 2022-03-16T05:59:11.000Z | include/syslog_interface.hh | Quicr/qmedia | 96408d740bf35e6a845f61c40cc9f9ff859a9955 | [
"BSD-2-Clause"
] | null | null | null |
#pragma once
#ifndef _WIN32
#include <syslog.h>
#endif
// Syslog interface declaration
class SyslogInterface
{
public:
virtual ~SyslogInterface() {}
virtual void openlog(const char *ident, int option, int facility)
{
#ifndef _WIN32
::openlog(ident, option, facility);
#endif
}
virtual vo... | 17.405405 | 70 | 0.639752 | Quicr |
ce349085ed2e852c245e5f1185f1f9b7937d08f2 | 4,934 | cxx | C++ | Imaging/Core/vtkImageResliceToColors.cxx | PersonifyInc/VTK | 52d45496877b00852a08a5b9819d109c2fd9bfab | [
"BSD-3-Clause"
] | null | null | null | Imaging/Core/vtkImageResliceToColors.cxx | PersonifyInc/VTK | 52d45496877b00852a08a5b9819d109c2fd9bfab | [
"BSD-3-Clause"
] | null | null | null | Imaging/Core/vtkImageResliceToColors.cxx | PersonifyInc/VTK | 52d45496877b00852a08a5b9819d109c2fd9bfab | [
"BSD-3-Clause"
] | 1 | 2019-08-30T08:41:21.000Z | 2019-08-30T08:41:21.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkImageResliceToColors.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This s... | 28.520231 | 78 | 0.588569 | PersonifyInc |
ce38e66ec453c1b9b786c930fe9d41526d651ec4 | 477 | cpp | C++ | test/stdio/input.cpp | UnknownBugs/UEFIWrapper | 113d24ac414fe5ab6c782b908779508d279b7a6d | [
"MIT"
] | 1 | 2022-01-23T19:08:21.000Z | 2022-01-23T19:08:21.000Z | test/stdio/input.cpp | UnknownBugs/UEFIWrapper | 113d24ac414fe5ab6c782b908779508d279b7a6d | [
"MIT"
] | 6 | 2021-12-15T10:36:48.000Z | 2022-03-14T12:56:16.000Z | test/stdio/input.cpp | UnknownBugs/UEFIWrapper | 113d24ac414fe5ab6c782b908779508d279b7a6d | [
"MIT"
] | null | null | null | #include <UEFIWrapper.hpp>
using namespace UEFIWrapper;
extern "C" void
efi_main(void *ImageHandle __attribute__((unused)), SystemTable::ESystemTable *systemTable) {
SystemTable::init(systemTable);
SystemTable::clearScreen();
IO::Output cout; cout.init();
IO::Input cin; cin.init();
cout << " Te... | 22.714286 | 93 | 0.584906 | UnknownBugs |
ce3caa949ff81bfad09a00f052c4ea0f4449a4bd | 1,677 | cpp | C++ | cpp/struct_lua.cpp | zsuzuki/structbuilder | d39508f39413e3ffecc2a22ef0b7a8ba142a915c | [
"MIT"
] | null | null | null | cpp/struct_lua.cpp | zsuzuki/structbuilder | d39508f39413e3ffecc2a22ef0b7a8ba142a915c | [
"MIT"
] | null | null | null | cpp/struct_lua.cpp | zsuzuki/structbuilder | d39508f39413e3ffecc2a22ef0b7a8ba142a915c | [
"MIT"
] | null | null | null | //
// this file is auto generated
// by structbuilder<https://github.com/zsuzuki/structbuilder>
//
#include <sol/sol.hpp>
#include "struct.hpp"
namespace Sample {
void Test::setLUA(sol::state& lua)
{
lua.new_usertype<Note>(
"TestNote",
"page", &Note::page,
"line", &Note::line,
"copyFrom", &Note::co... | 29.946429 | 76 | 0.633274 | zsuzuki |
ce3f782c0e5d732941673eff553bae42a49c832b | 2,225 | cpp | C++ | src/common/core/texture/TextureCube.cpp | congard/algine | 81b532b503877e283bd28d441d7e87dcb62aa99c | [
"MIT"
] | 12 | 2019-04-26T14:32:41.000Z | 2021-12-30T19:08:05.000Z | src/common/core/texture/TextureCube.cpp | congard/algine | 81b532b503877e283bd28d441d7e87dcb62aa99c | [
"MIT"
] | null | null | null | src/common/core/texture/TextureCube.cpp | congard/algine | 81b532b503877e283bd28d441d7e87dcb62aa99c | [
"MIT"
] | 4 | 2019-11-01T10:24:40.000Z | 2021-03-05T18:01:22.000Z | #include <algine/core/texture/TextureCube.h>
#include <algine/core/Engine.h>
#include <map>
#define SOP_BOUND_PTR Engine::getBoundTextureCube()
#define SOP_OBJECT_TYPE SOPConstants::TextureCubeObject
#define SOP_OBJECT_ID m_id
#define SOP_OBJECT_NAME SOPConstants::TextureCubeStr
#include "internal/SOP.h"
#include "i... | 26.807229 | 107 | 0.737528 | congard |
ce42a7bd53d6cb0fbc09f0c274a5f4450ebda1f3 | 1,718 | cpp | C++ | src/filebrowser/file-browser-manager.cpp | cloudcopy/client | 2d0e45d87acf9f547c862875103a3821e671cfb0 | [
"Apache-2.0"
] | null | null | null | src/filebrowser/file-browser-manager.cpp | cloudcopy/client | 2d0e45d87acf9f547c862875103a3821e671cfb0 | [
"Apache-2.0"
] | null | null | null | src/filebrowser/file-browser-manager.cpp | cloudcopy/client | 2d0e45d87acf9f547c862875103a3821e671cfb0 | [
"Apache-2.0"
] | null | null | null | #include "file-browser-manager.h"
#include "seafile-applet.h"
#include "ui/main-window.h"
#include <QApplication>
#include <QDesktopWidget>
#include "file-browser-dialog.h"
namespace {
}
FileBrowserManager *FileBrowserManager::instance_ = NULL;
FileBrowserDialog *FileBrowserManager::openOrActivateDialog(const Acc... | 28.633333 | 107 | 0.647264 | cloudcopy |
ce43d7b36d78e54142bf2acf8c5504d77477cf48 | 916 | cpp | C++ | Online-Judges/CodeForces/1200/445A.DZY_Loves_Chessboard.cpp | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | 3 | 2021-06-15T01:19:23.000Z | 2022-03-16T18:23:53.000Z | Online-Judges/CodeForces/1200/445A.DZY_Loves_Chessboard.cpp | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | Online-Judges/CodeForces/1200/445A.DZY_Loves_Chessboard.cpp | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long int llint;
typedef unsigned long long int ullint;
typedef short int sint;
#define endn "\n"
#define umap unordered_map
#define uset unordered_set
#define pb push_back
template<typename tem>
void print_vector(vector<tem> &vec) {
for (auto &ele : vec) cout<... | 21.809524 | 45 | 0.479258 | shihab4t |
ce45adfaf7a07b56141c77ba7a488181a89cde17 | 11,396 | cpp | C++ | groups/bdl/bdldfp/bdldfp_uint128.t.cpp | seanbaxter/bde-1 | 149176ebc2ae49c3b563895a7332fe638a760782 | [
"Apache-2.0"
] | 1 | 2021-11-10T16:53:42.000Z | 2021-11-10T16:53:42.000Z | groups/bdl/bdldfp/bdldfp_uint128.t.cpp | seanbaxter/bde-1 | 149176ebc2ae49c3b563895a7332fe638a760782 | [
"Apache-2.0"
] | 2 | 2020-11-05T15:20:55.000Z | 2021-01-05T19:38:43.000Z | groups/bdl/bdldfp/bdldfp_uint128.t.cpp | seanbaxter/bde-1 | 149176ebc2ae49c3b563895a7332fe638a760782 | [
"Apache-2.0"
] | 2 | 2020-01-16T17:58:12.000Z | 2020-08-11T20:59:30.000Z | // bdldfp_uint128.t.cpp -*-C++-*-
#include <bdldfp_uint128.h>
#include <bsls_assert.h>
#include <bsls_asserttest.h>
#include <bsls_platform.h>
#include <bsl_cstdlib.h> // 'atoi'
#include <bsl_iostream.h>
using namespace BloombergLP;
using namespace bsl;
using namesp... | 34.533333 | 79 | 0.528343 | seanbaxter |
ce46d6a16f3f7d626fe10599769888eff7990fda | 10,235 | cpp | C++ | python/geometry/geometry.cpp | AKreutz/bark | 46c01339172b978fabc37aedebb7a67b7fa04449 | [
"MIT"
] | null | null | null | python/geometry/geometry.cpp | AKreutz/bark | 46c01339172b978fabc37aedebb7a67b7fa04449 | [
"MIT"
] | null | null | null | python/geometry/geometry.cpp | AKreutz/bark | 46c01339172b978fabc37aedebb7a67b7fa04449 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 fortiss GmbH, Julian Bernhard, Klemens Esterle, Patrick Hart, Tobias Kessler
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include <vector>
#include "geometry.hpp"
#include "modules/geometry/geometry.hpp"
namespace py ... | 52.219388 | 140 | 0.628334 | AKreutz |
ce4809a1702f0a39840c7ef71068dbc90c66a199 | 30,379 | cpp | C++ | src/Shape.cpp | Felipeasg/heekscad | 0b70cbeb998e864b1ea0af0685863f5a90da1504 | [
"BSD-3-Clause"
] | 2 | 2019-09-15T15:22:32.000Z | 2021-01-22T10:20:42.000Z | src/Shape.cpp | Felipeasg/HeeksCAD | 0b70cbeb998e864b1ea0af0685863f5a90da1504 | [
"BSD-3-Clause"
] | null | null | null | src/Shape.cpp | Felipeasg/HeeksCAD | 0b70cbeb998e864b1ea0af0685863f5a90da1504 | [
"BSD-3-Clause"
] | null | null | null | // Shape.cpp
// Copyright (c) 2009, Dan Heeks
// This program is released under the BSD license. See the file COPYING for details.
#include "stdafx.h"
#include "Shape.h"
#include "Solid.h"
#include "Wire.h"
#include "Group.h"
#include "Face.h"
#include "Edge.h"
#include "Vertex.h"
#include "Loop.h"
#include "Cylinder.h... | 27.124107 | 247 | 0.681359 | Felipeasg |
ce483a3d9b411c3e6db008c2ed48ee40d75ce085 | 7,947 | cpp | C++ | cpp/source/endpoint/device/actions/RadioCalibAction.cpp | skydiveuas/skydive | 6a3ddb20210c7feec93c2124c99a764e91f13701 | [
"MIT"
] | 2 | 2017-12-09T22:44:35.000Z | 2018-04-08T11:51:53.000Z | cpp/source/endpoint/device/actions/RadioCalibAction.cpp | skydiveuas/skydive | 6a3ddb20210c7feec93c2124c99a764e91f13701 | [
"MIT"
] | 1 | 2018-04-08T12:15:23.000Z | 2018-04-08T12:15:23.000Z | cpp/source/endpoint/device/actions/RadioCalibAction.cpp | skydiveuas/skydive | 6a3ddb20210c7feec93c2124c99a764e91f13701 | [
"MIT"
] | 1 | 2018-04-08T11:50:43.000Z | 2018-04-08T11:50:43.000Z | #include "endpoint/device/actions/RadioCalibAction.hpp"
#include "endpoint/device/actions/AppAction.hpp"
#include "endpoint/device/PilotEvent.hpp"
RadioCalibAction::RadioCalibAction(Listener* const _listener):
ISkyDeviceAction(_listener)
{
state = IDLE;
}
void RadioCalibAction::start(void)
{
current = 0... | 31.287402 | 107 | 0.611929 | skydiveuas |
ce498b6b3e64e2dda1c15a01a318b38cb060a450 | 707 | cpp | C++ | Problem Solving with C++/Source Code/Chapter13/Node.cpp | MorganBergen/Learning-CPP | a8d8ed92a6e4cb6c96d091d6c7e1ef551968932b | [
"Unlicense"
] | null | null | null | Problem Solving with C++/Source Code/Chapter13/Node.cpp | MorganBergen/Learning-CPP | a8d8ed92a6e4cb6c96d091d6c7e1ef551968932b | [
"Unlicense"
] | null | null | null | Problem Solving with C++/Source Code/Chapter13/Node.cpp | MorganBergen/Learning-CPP | a8d8ed92a6e4cb6c96d091d6c7e1ef551968932b | [
"Unlicense"
] | null | null | null | //DISPLAY 13.14 Implementation File for a Node Class
// This is the implementation file Node.cpp.
// It implements logic for the Node class. The interface
// file is in the header file Node.h
#include <iostream>
#include "Node.h"
namespace linkedlistofclasses
{
Node::Node( ) : data(0), link(NULL)
{
// deliberately... | 16.068182 | 60 | 0.673267 | MorganBergen |
ce4d209d757cee4a53d61ce9ee5c8b9a3f2c44ff | 6,440 | cpp | C++ | WebKit/Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | 1 | 2019-06-18T06:52:54.000Z | 2019-06-18T06:52:54.000Z | WebKit/Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | WebKit/Source/WebCore/platform/network/curl/ResourceHandleCurl.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
* Copyright (C) 2005, 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1... | 29.814815 | 205 | 0.741149 | JavaScriptTesting |
ce4d75add058bf131018217162ac1086de6b73e0 | 5,953 | cpp | C++ | NorthstarDedicatedTest/hooks.cpp | connieprice/NorthstarLauncher | 9ede30f65e0c0a43fec711c7476c8e91c5ebbbb0 | [
"MIT"
] | null | null | null | NorthstarDedicatedTest/hooks.cpp | connieprice/NorthstarLauncher | 9ede30f65e0c0a43fec711c7476c8e91c5ebbbb0 | [
"MIT"
] | null | null | null | NorthstarDedicatedTest/hooks.cpp | connieprice/NorthstarLauncher | 9ede30f65e0c0a43fec711c7476c8e91c5ebbbb0 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "hooks.h"
#include "hookutils.h"
#include "sigscanning.h"
#include <wchar.h>
#include <iostream>
#include <vector>
#include <fstream>
#include <sstream>
#include <filesystem>
#include <Psapi.h>
typedef LPSTR(*GetCommandLineAType)();
LPSTR GetCommandLineAHook();
typedef HMODULE(*LoadLibraryE... | 28.347619 | 152 | 0.767848 | connieprice |
ce517209e389a9926cae82b04cd1dc3e382427a3 | 781 | cpp | C++ | C++ Practicals/Employee.cpp | Atithi360/CodingPracticals | fa0254dde389c18bb3af03613c4863667c76965b | [
"MIT"
] | null | null | null | C++ Practicals/Employee.cpp | Atithi360/CodingPracticals | fa0254dde389c18bb3af03613c4863667c76965b | [
"MIT"
] | null | null | null | C++ Practicals/Employee.cpp | Atithi360/CodingPracticals | fa0254dde389c18bb3af03613c4863667c76965b | [
"MIT"
] | null | null | null | #include<iostream>
#include<math.h>
#include<fstream>
#include<string.h>
using namespace std;
int main()
{
keyWord();
}
void KeyWord(ifstream &FileSearch)
{
string letters;
int position =-1;
string line;
ifstream readSearch;
cout<<"enter search word ";
cin>>letters;
... | 20.552632 | 53 | 0.509603 | Atithi360 |
ce51ac443040b782c088e1f032e618f99c57a5b6 | 1,854 | cc | C++ | chrome/browser/sync_file_system/drive_backend_v1/origin_operation_queue.cc | kurli/chromium-crosswalk | f4c5d15d49d02b74eb834325e4dff50b16b53243 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync_file_system/drive_backend_v1/origin_operation_queue.cc | kurli/chromium-crosswalk | f4c5d15d49d02b74eb834325e4dff50b16b53243 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync_file_system/drive_backend_v1/origin_operation_queue.cc | kurli/chromium-crosswalk | f4c5d15d49d02b74eb834325e4dff50b16b53243 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 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/sync_file_system/drive_backend_v1/origin_operation_queue.h"
#include "base/logging.h"
namespace sync_file_system {
OriginOpera... | 29.903226 | 84 | 0.699569 | kurli |
ce5263a265cf9209cdcf85be0da44e56ecc4a631 | 4,319 | hh | C++ | elec/Interpolation.hh | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 33 | 2018-12-12T20:05:06.000Z | 2021-09-26T13:30:16.000Z | elec/Interpolation.hh | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 5 | 2019-04-25T11:34:43.000Z | 2021-11-14T04:35:37.000Z | elec/Interpolation.hh | paulkefer/cardioid | 59c07b714d8b066b4f84eb50487c36f6eadf634c | [
"MIT-0",
"MIT"
] | 15 | 2018-12-21T22:44:59.000Z | 2021-08-29T10:30:25.000Z | #ifndef INTERPOLATION_HH
#define INTERPOLATION_HH
#include <vector>
#define MAX_TERM_COUNT 32
class Interpolation {
public:
template <typename TTT>
inline TTT eval(const TTT xx)
{
double * coeffCursor = &coeff_[0];
TTT numer(coeffCursor[numNumer_-1]);
switch (numNumer_)
{
ca... | 38.221239 | 55 | 0.553137 | paulkefer |
ce554d43ad550908b31398c8b3f8fdad0d5ef726 | 7,942 | cpp | C++ | src/engine/audio/private/VBRHeader.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/engine/audio/private/VBRHeader.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/engine/audio/private/VBRHeader.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "audio_pch.h"
#include "tier0/platform.h"
#include "MPAFile.h" // also includes vbrheader.h
#include "tier0/dbg.h"
#ifndef MAKEFOURCC... | 26.039344 | 117 | 0.675648 | DeadZoneLuna |
ce557156af0303d9baa1ae176ec3eb0821f090e6 | 2,281 | cpp | C++ | src/pub_main.cpp | shivaang12/beginner_tutorials | e0a5fded4efdd639eae0019e3aa84765d6fa0b8a | [
"MIT"
] | null | null | null | src/pub_main.cpp | shivaang12/beginner_tutorials | e0a5fded4efdd639eae0019e3aa84765d6fa0b8a | [
"MIT"
] | null | null | null | src/pub_main.cpp | shivaang12/beginner_tutorials | e0a5fded4efdd639eae0019e3aa84765d6fa0b8a | [
"MIT"
] | null | null | null | // MIT License
// Copyright (c) 2018 Shivang Patel
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, m... | 35.640625 | 81 | 0.732573 | shivaang12 |
ce5847dd0f6bdc3ef31495591af5330c413ce013 | 2,062 | cpp | C++ | 10.02_group_anagrams/group_anagrams.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 10.02_group_anagrams/group_anagrams.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 10.02_group_anagrams/group_anagrams.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | /*
* @Date: 2021-07-18 16:52:34
* @Author: Mengsen Wang
* @LastEditors: Mengsen Wang
* @LastEditTime: 2021-07-18 19:12:49
*/
#include <cassert>
#include <iostream>
#include <numeric>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
class Solution {
public:
vector<vector<strin... | 25.45679 | 78 | 0.547527 | Mengsen-W |
ce5a600d3680044118357647e9bcc0f448b20700 | 6,545 | cpp | C++ | Trace_yourself_for_fun_and_profit/secret_application.cpp | dermojo/presentations | 4f4da0e60c144e735c98bb4c77ce7ccb055bd20b | [
"MIT"
] | 3 | 2017-07-07T13:32:28.000Z | 2020-01-09T20:33:02.000Z | Trace_yourself_for_fun_and_profit/secret_application.cpp | dermojo/presentations | 4f4da0e60c144e735c98bb4c77ce7ccb055bd20b | [
"MIT"
] | null | null | null | Trace_yourself_for_fun_and_profit/secret_application.cpp | dermojo/presentations | 4f4da0e60c144e735c98bb4c77ce7ccb055bd20b | [
"MIT"
] | null | null | null | /**
* @file secret_application.cpp
* @brief a program that unveils its real functionality only to those who the secret passphrase...
*/
#include <fstream>
#include <iostream>
#include <cerrno>
#include <cstring>
#include <termios.h>
#include <unistd.h>
#include <sys/prctl.h>
#include <sys/ptrace.h>
#include ... | 27.733051 | 100 | 0.613293 | dermojo |
ce5b7c66bb343ac7aedabf73b77076b8a3d900fb | 7,709 | hpp | C++ | include/UnityEngine/ProBuilder/WingedEdgeEnumerator.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/ProBuilder/WingedEdgeEnumerator.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/UnityEngine/ProBuilder/WingedEdgeEnumerator.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Collect... | 59.75969 | 234 | 0.750292 | marksteward |
ce5dddb0c36256a9bb6b19dc69deed45b70ea86d | 5,524 | cpp | C++ | resource/src/monitoring_thread.cpp | md-w/httpserver | 41645e5632f17dd931ee3ba4f1947e78ae9f3172 | [
"MIT"
] | null | null | null | resource/src/monitoring_thread.cpp | md-w/httpserver | 41645e5632f17dd931ee3ba4f1947e78ae9f3172 | [
"MIT"
] | null | null | null | resource/src/monitoring_thread.cpp | md-w/httpserver | 41645e5632f17dd931ee3ba4f1947e78ae9f3172 | [
"MIT"
] | null | null | null | #include "monitoring_thread.hpp"
#include <Poco/Net/NetException.h>
#include <Poco/Net/SocketAddress.h>
#include <Poco/Net/SocketStream.h>
#include <Poco/Net/StreamSocket.h>
#include <chrono>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <thread>
#include "interfaces/status.pb.h"
#define FUNC_T... | 34.742138 | 108 | 0.611513 | md-w |
ce5e5b360cc77d1344241da7b9b49753b5bd2451 | 8,855 | cpp | C++ | tests/proofnetwork/restclient_test.cpp | dkormalev/proofbase | 0b45c190e53fe71bfdd22670e89c97ba90b006c8 | [
"BSD-3-Clause"
] | null | null | null | tests/proofnetwork/restclient_test.cpp | dkormalev/proofbase | 0b45c190e53fe71bfdd22670e89c97ba90b006c8 | [
"BSD-3-Clause"
] | null | null | null | tests/proofnetwork/restclient_test.cpp | dkormalev/proofbase | 0b45c190e53fe71bfdd22670e89c97ba90b006c8 | [
"BSD-3-Clause"
] | null | null | null | // clazy:skip
#include "proofseed/future.h"
#include "proofnetwork/restclient.h"
#include "gtest/proof/test_global.h"
#include <QNetworkReply>
#include <QRegExp>
#include <QScopedPointer>
#include <functional>
#include <tuple>
using testing::Test;
using testing::TestWithParam;
using HttpMethodCall =
std::fun... | 53.993902 | 122 | 0.557538 | dkormalev |
ce5ef92419eec3c0333f37d56613d51aae29e124 | 1,594 | cpp | C++ | leetcode/MergeTwoSortedLists/MergeTwoSortedLists.cpp | lizhenghn123/myAlgorithmStudy | 1917d48debeab33436c705bf9bc2fe9cf49f95cf | [
"MIT"
] | 2 | 2015-08-30T04:45:24.000Z | 2015-08-30T04:45:36.000Z | leetcode/MergeTwoSortedLists/MergeTwoSortedLists.cpp | lizhenghn123/myAlgorithmStudy | 1917d48debeab33436c705bf9bc2fe9cf49f95cf | [
"MIT"
] | null | null | null | leetcode/MergeTwoSortedLists/MergeTwoSortedLists.cpp | lizhenghn123/myAlgorithmStudy | 1917d48debeab33436c705bf9bc2fe9cf49f95cf | [
"MIT"
] | 4 | 2015-07-15T08:43:58.000Z | 2021-04-10T12:55:29.000Z | // Source : https://oj.leetcode.com/problems/merge-two-sorted-lists/
// Author : lizhenghn@gmail.com
// Date : 2014-11-26
/**********************************************************************************
*
* Merge two sorted linked lists and return it as a new list. The new list should be
* made by splicing togeth... | 17.910112 | 83 | 0.524467 | lizhenghn123 |
ce5f3fe45fc11ef55f1121ded814f510f747b76e | 32,102 | cpp | C++ | training/src/tests/tests/lib/Test_Compiler.cpp | steelONIONknight/bolt | 9bd3d08f2abb14435ca3ad0179889e48fa7e9b47 | [
"MIT"
] | null | null | null | training/src/tests/tests/lib/Test_Compiler.cpp | steelONIONknight/bolt | 9bd3d08f2abb14435ca3ad0179889e48fa7e9b47 | [
"MIT"
] | null | null | null | training/src/tests/tests/lib/Test_Compiler.cpp | steelONIONknight/bolt | 9bd3d08f2abb14435ca3ad0179889e48fa7e9b47 | [
"MIT"
] | null | null | null | // Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation the rights to use,... | 48.273684 | 200 | 0.673354 | steelONIONknight |
ce61cbdd658b88af3befd614273d8bd2c3eff28a | 926 | cpp | C++ | firmware/examples/SystemClock/source/main.cpp | nicoleb1661/SJSU-Dev2 | c2f2ac92e12390e2da4a6598dcc8afbdbd7626d4 | [
"Apache-2.0"
] | null | null | null | firmware/examples/SystemClock/source/main.cpp | nicoleb1661/SJSU-Dev2 | c2f2ac92e12390e2da4a6598dcc8afbdbd7626d4 | [
"Apache-2.0"
] | null | null | null | firmware/examples/SystemClock/source/main.cpp | nicoleb1661/SJSU-Dev2 | c2f2ac92e12390e2da4a6598dcc8afbdbd7626d4 | [
"Apache-2.0"
] | 1 | 2018-09-19T01:58:48.000Z | 2018-09-19T01:58:48.000Z | #include <project_config.hpp>
#include <cinttypes>
#include <cstdint>
#include <cstdio>
#include "L1_Drivers/pin_configure.hpp"
#include "L1_Drivers/system_clock.hpp"
#include "L2_Utilities/debug_print.hpp"
int main(void)
{
SystemClock clock;
PinConfigure clock_pin(1, 25);
clock_pin.SetPinFunction(0b101);... | 25.722222 | 69 | 0.673866 | nicoleb1661 |
ce63ea56da779cd2f85f23cf2eb65e1a60bfc148 | 1,489 | cc | C++ | native/src/svg/DOM.cc | sawway/skija | 99e74aa8aa3c7ab2a8c957b7e22b6b4fe95870c7 | [
"Apache-2.0"
] | 3 | 2021-02-13T02:13:25.000Z | 2021-02-13T04:14:59.000Z | native/src/svg/DOM.cc | Exit-Zer0/skija | 4913775db2d2091cbb817f261292a846e5af022d | [
"Apache-2.0"
] | null | null | null | native/src/svg/DOM.cc | Exit-Zer0/skija | 4913775db2d2091cbb817f261292a846e5af022d | [
"Apache-2.0"
] | null | null | null | #include <jni.h>
#include "../interop.hh"
#include "SkCanvas.h"
#include "SkData.h"
#include "SkStream.h"
#include "SkSVGDOM.h"
extern "C" JNIEXPORT jlong JNICALL Java_org_jetbrains_skija_svg_DOM__1nMakeFromData
(JNIEnv* env, jclass jclass, jlong dataPtr) {
SkData* data = reinterpret_cast<SkData*>(static_cast<ui... | 41.361111 | 89 | 0.760242 | sawway |
ce64ad5ade745c410ed0b8acb800ced95dfe330a | 1,034 | cc | C++ | DataFormats/HeavyIonEvent/src/Centrality.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DataFormats/HeavyIonEvent/src/Centrality.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DataFormats/HeavyIonEvent/src/Centrality.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | //
//
#include "DataFormats/HeavyIonEvent/interface/Centrality.h"
#include <iostream>
using namespace std;
using namespace reco;
Centrality::Centrality(double d, std::string label)
: value_(d),
label_(label),
etHFhitSumPlus_(0),
etHFtowerSumPlus_(0),
etHFtowerSumECutPlus_(0)... | 24.619048 | 60 | 0.62766 | ckamtsikis |
ce64eefacf4dec631e253409dcc92edeae4e58ad | 1,426 | cpp | C++ | sources/src/structure/include.cpp | sydelity-net/EDACurry | 20cbf9835827e42efeb0b3686bf6b3e9d72417e9 | [
"MIT"
] | null | null | null | sources/src/structure/include.cpp | sydelity-net/EDACurry | 20cbf9835827e42efeb0b3686bf6b3e9d72417e9 | [
"MIT"
] | null | null | null | sources/src/structure/include.cpp | sydelity-net/EDACurry | 20cbf9835827e42efeb0b3686bf6b3e9d72417e9 | [
"MIT"
] | null | null | null | /// @file include.cpp
/// @author Enrico Fraccaroli (enrico.fraccaroli@gmail.com)
/// @copyright Copyright (c) 2021 sydelity.net (info@sydelity.com)
/// Distributed under the MIT License (MIT) (See accompanying LICENSE file or
/// copy at http://opensource.org/licenses/MIT)
#include "structure/include.hpp"
#include... | 20.970588 | 77 | 0.650771 | sydelity-net |
ce659c5fac5fec84096a424867614e25206844e6 | 21,198 | cpp | C++ | src/core/lib/math/cpu_int/binvect.cpp | marcelmon/PALISADE_capstone | 2cfd1626b26576f8fe93bb3a424f934ef700c5b2 | [
"BSD-2-Clause"
] | null | null | null | src/core/lib/math/cpu_int/binvect.cpp | marcelmon/PALISADE_capstone | 2cfd1626b26576f8fe93bb3a424f934ef700c5b2 | [
"BSD-2-Clause"
] | null | null | null | src/core/lib/math/cpu_int/binvect.cpp | marcelmon/PALISADE_capstone | 2cfd1626b26576f8fe93bb3a424f934ef700c5b2 | [
"BSD-2-Clause"
] | null | null | null | /*
* @file binvect.cpp This file contains the vector manipulation functionality.
* @author TPOC: palisade@njit.edu
*
* @copyright Copyright (c) 2017, New Jersey Institute of Technology (NJIT)
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification,
* are permitte... | 32.363359 | 145 | 0.716577 | marcelmon |
ce66c15030f3b50317775ca4168ecf9e38630a76 | 589 | hpp | C++ | C-PhotoDeal_framework/CannyPhoto.hpp | numberwolf/iOSDealFace | 5a109690d143ac125a4b679a8ea6ef28a9f147e3 | [
"Apache-2.0"
] | 8 | 2016-03-12T08:39:56.000Z | 2021-07-12T01:48:20.000Z | C-PhotoDeal_framework/CannyPhoto.hpp | numberwolf/iOSDealFace | 5a109690d143ac125a4b679a8ea6ef28a9f147e3 | [
"Apache-2.0"
] | null | null | null | C-PhotoDeal_framework/CannyPhoto.hpp | numberwolf/iOSDealFace | 5a109690d143ac125a4b679a8ea6ef28a9f147e3 | [
"Apache-2.0"
] | 2 | 2016-03-15T09:48:38.000Z | 2017-02-04T23:53:32.000Z | //
// CannyPhoto.hpp
// cameraDeal
//
// Created by numberwolf on 16/9/10.
// Copyright © 2016年 numberwolf. All rights reserved.
//
#ifndef CannyPhoto_hpp
#define CannyPhoto_hpp
#include <stdio.h>
#include "Pixels.hpp"
#include "Common.hpp"
#include <math.h>
class CannyPhoto {
Pixels *CannyPixels = NULL;
... | 15.102564 | 54 | 0.62309 | numberwolf |
ce676938c5e95a8ada062323b7a881172a62844c | 1,445 | cpp | C++ | luogu/1519.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | 3 | 2017-09-17T09:12:50.000Z | 2018-04-06T01:18:17.000Z | luogu/1519.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | luogu/1519.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | #include <bits/stdc++.h>
#define N 100020
#define ll long long
using namespace std;
inline int read(){
int x=0,f=1;char ch=getchar();
while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar());
while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar();
return f?x:-x;
}
char nextchar(){
char ch = getchar();
while(ch != ... | 25.803571 | 74 | 0.447751 | swwind |
ce677b4fab1a2d54be07a29abccc86c52b06fbe8 | 1,246 | cc | C++ | src/swganh_core/spawn/spawn_init.cc | obi-two/GameServer | 7d37024e2291a97d49522610cd8f1dbe5666afc2 | [
"MIT"
] | 20 | 2015-02-23T15:11:56.000Z | 2022-03-18T20:56:48.000Z | src/swganh_core/spawn/spawn_init.cc | obi-two/GameServer | 7d37024e2291a97d49522610cd8f1dbe5666afc2 | [
"MIT"
] | null | null | null | src/swganh_core/spawn/spawn_init.cc | obi-two/GameServer | 7d37024e2291a97d49522610cd8f1dbe5666afc2 | [
"MIT"
] | 20 | 2015-04-04T16:35:59.000Z | 2022-03-24T14:54:37.000Z | // This file is part of SWGANH which is released under the MIT license.
// See file LICENSE or go to http://swganh.com/LICENSE
#include "spawn_init.h"
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/variables_map.hpp>
#include "swganh/logger.h"
#include "swganh/plugin/bindin... | 23.961538 | 93 | 0.666132 | obi-two |
ce6a309b78f93c77137c4378374c3c59b3d4c605 | 496 | cpp | C++ | ABC/021/02/main.cpp | koturn/AtCoder | 67950836618733bff215597ee7b84e2eddf77d49 | [
"MIT"
] | null | null | null | ABC/021/02/main.cpp | koturn/AtCoder | 67950836618733bff215597ee7b84e2eddf77d49 | [
"MIT"
] | null | null | null | ABC/021/02/main.cpp | koturn/AtCoder | 67950836618733bff215597ee7b84e2eddf77d49 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <iostream>
#include <set>
int
main()
{
std::cin.tie(nullptr);
std::ios::sync_with_stdio(false);
int n, a, b, k;
std::cin >> n >> a >> b >> k;
std::set<int> checkSet{a, b};
for (int i = 0; i < k; i++) {
int p;
std::cin >> p;
if (checkSet.find(p) == checkSet.end()) {... | 17.103448 | 45 | 0.524194 | koturn |
ce6a9d50777be86a442790fd9fce2d334badf208 | 13,048 | cpp | C++ | src/data_readers/unit_test/data_reader_HDF5_hrrl_data_test.cpp | LLNL/LBANN | 8bcc5d461e52de70e329d73081ca7eee3e5c580a | [
"Apache-2.0"
] | null | null | null | src/data_readers/unit_test/data_reader_HDF5_hrrl_data_test.cpp | LLNL/LBANN | 8bcc5d461e52de70e329d73081ca7eee3e5c580a | [
"Apache-2.0"
] | null | null | null | src/data_readers/unit_test/data_reader_HDF5_hrrl_data_test.cpp | LLNL/LBANN | 8bcc5d461e52de70e329d73081ca7eee3e5c580a | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2022, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... | 35.944904 | 228 | 0.679644 | LLNL |
ce6e0552e3f08e7331b199f853ab25225566fe13 | 3,874 | hpp | C++ | headers/Font.hpp | edwinacunav/gosu-edwinacunav | 24919d1ac3055d365f97fcf5628864b6f937991a | [
"MIT"
] | null | null | null | headers/Font.hpp | edwinacunav/gosu-edwinacunav | 24919d1ac3055d365f97fcf5628864b6f937991a | [
"MIT"
] | null | null | null | headers/Font.hpp | edwinacunav/gosu-edwinacunav | 24919d1ac3055d365f97fcf5628864b6f937991a | [
"MIT"
] | null | null | null | //! \file Font.hpp
//! Interface of the Font class.
#pragma once
#include "Fwd.hpp"
#include "Color.hpp"
#include "GraphicsBase.hpp"
#include "Platform.hpp"
#include "Text.hpp"
#include <memory>
#include <string>
namespace Gosu
{
//! Fonts are ideal for drawing short, dynamic strings.
//! For large, static texts ... | 47.243902 | 97 | 0.647651 | edwinacunav |
ce700eae42d32a6c6ef61066fe20cfb758206dac | 1,921 | cpp | C++ | Modules/Core/src/Interactions/mitkMouseMoveEvent.cpp | ZP-Hust/MITK | ca11353183c5ed4bc30f938eae8bde43a0689bf6 | [
"BSD-3-Clause"
] | 1 | 2021-11-20T08:19:27.000Z | 2021-11-20T08:19:27.000Z | Modules/Core/src/Interactions/mitkMouseMoveEvent.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | Modules/Core/src/Interactions/mitkMouseMoveEvent.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 1 | 2019-01-09T08:20:18.000Z | 2019-01-09T08:20:18.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warr... | 30.492063 | 111 | 0.679334 | ZP-Hust |
ce70f2e6a83aa04b236312d47de1bbb1b29c9441 | 554 | cc | C++ | util/src/ifile.cc | k3ll3x/tetra_sand | c590a4ca5cc988c552532a6f17f213c70f492a4c | [
"MIT"
] | null | null | null | util/src/ifile.cc | k3ll3x/tetra_sand | c590a4ca5cc988c552532a6f17f213c70f492a4c | [
"MIT"
] | null | null | null | util/src/ifile.cc | k3ll3x/tetra_sand | c590a4ca5cc988c552532a6f17f213c70f492a4c | [
"MIT"
] | null | null | null | #include "ifile.h"
#include <fstream>
#include <iostream>
#include <sstream>
bool ifile::read(const std::string& filename)
{
if (filename.empty())
{
std::cout << "No filename provided" << std::endl;
return false;
}
std::fstream input_file(filename, std::fstream::in);
if (!input_file.is_open())
{
std::co... | 16.787879 | 63 | 0.66065 | k3ll3x |
ce70f6346cef4f79cd3dc708fd6881b617f3d4ea | 3,997 | cpp | C++ | HelloWorldAlmost.cpp | talibe84/JOSHI | 1cda3c49f131eff3f6eccf3979ce44ec1466aa43 | [
"CECILL-B"
] | null | null | null | HelloWorldAlmost.cpp | talibe84/JOSHI | 1cda3c49f131eff3f6eccf3979ce44ec1466aa43 | [
"CECILL-B"
] | null | null | null | HelloWorldAlmost.cpp | talibe84/JOSHI | 1cda3c49f131eff3f6eccf3979ce44ec1466aa43 | [
"CECILL-B"
] | null | null | null | // ch3vector.cpp
//
// Examples to show how sequence containers (vector) work.
//
// Last modificaton dates:
//
// 2006-3-22 DD new code for algorithms
//
// (C) Datasim Education BV 2003-2006
//
//
#include <vector>
#include <list>
#include <string>
#include <algorithm>
#include <iostream>
using na... | 23.374269 | 77 | 0.621466 | talibe84 |
ce71715e14aba50c584045a45f76a0a50b6cc43e | 1,178 | cpp | C++ | src/Template/VideoTemplate.cpp | Inlife/video-cube | 1caefa2b2cda7c1386c3b75796086cb7201f5e8d | [
"MIT"
] | 2 | 2015-08-19T13:52:43.000Z | 2016-09-02T23:12:32.000Z | src/Template/VideoTemplate.cpp | Inlife/video-cube | 1caefa2b2cda7c1386c3b75796086cb7201f5e8d | [
"MIT"
] | null | null | null | src/Template/VideoTemplate.cpp | Inlife/video-cube | 1caefa2b2cda7c1386c3b75796086cb7201f5e8d | [
"MIT"
] | 1 | 2018-05-25T11:29:45.000Z | 2018-05-25T11:29:45.000Z | using namespace Cooper;
// Video template grid
class VideoTemplate : public Template {
public:
void grid(std::string name, std::vector<Video> videos) {
this->set(name, "");
double _l = videos.size() / 3.0;
std::size_t length = std::ceil(_l);
for(std::size_t i = 0; i < length; i++) {
Template line("main/_... | 24.040816 | 57 | 0.594228 | Inlife |
ce7345b1dedd067a62905aee366b66addd2e2212 | 1,047 | cpp | C++ | penet/callbacks.cpp | organicpencil/gdnet3 | b4b951e0cffc0c594ea58de52d3b1eee2222f325 | [
"MIT"
] | null | null | null | penet/callbacks.cpp | organicpencil/gdnet3 | b4b951e0cffc0c594ea58de52d3b1eee2222f325 | [
"MIT"
] | null | null | null | penet/callbacks.cpp | organicpencil/gdnet3 | b4b951e0cffc0c594ea58de52d3b1eee2222f325 | [
"MIT"
] | null | null | null | /**
@file callbacks.c
@brief PENet callback functions
*/
#define PENET_BUILDING_LIB 1
#include "penet/penet.h"
#include "os/memory.h"
static PENetCallbacks callbacks = { malloc, free, abort };
int
penet_initialize_with_callbacks (PENetVersion version, const PENetCallbacks * inits)
{
if (version < PENET_VERSION... | 18.368421 | 84 | 0.65043 | organicpencil |
ce73c7d0accb301974030c574c0b3f7c98406c7f | 337 | cpp | C++ | Orangine/OeCore/src/Camera_component.cpp | leweaver/orangine | 0d6efa5bfce48a1d9d54a339ea70aa11ec81e4ef | [
"MIT"
] | null | null | null | Orangine/OeCore/src/Camera_component.cpp | leweaver/orangine | 0d6efa5bfce48a1d9d54a339ea70aa11ec81e4ef | [
"MIT"
] | null | null | null | Orangine/OeCore/src/Camera_component.cpp | leweaver/orangine | 0d6efa5bfce48a1d9d54a339ea70aa11ec81e4ef | [
"MIT"
] | null | null | null | #include "pch.h"
#include <OeCore/Camera_component.h>
#include <OeCore/EngineUtils.h>
using namespace oe;
DEFINE_COMPONENT_TYPE(Camera_component);
const float Camera_component::DEFAULT_FOV = degrees_to_radians(75.f);
const float Camera_component::DEFAULT_NEAR_PLANE = 0.1f;
const float Camera_component::DEFAULT_FAR... | 28.083333 | 69 | 0.810089 | leweaver |
ce73dd4eb51033c1822248bd852a743fa19fe846 | 964 | cpp | C++ | src/build/hibf/bin_size_in_bits.cpp | SGSSGene/raptor | 76189b4b941525f8da05821146a840c1d666e430 | [
"BSD-3-Clause"
] | null | null | null | src/build/hibf/bin_size_in_bits.cpp | SGSSGene/raptor | 76189b4b941525f8da05821146a840c1d666e430 | [
"BSD-3-Clause"
] | null | null | null | src/build/hibf/bin_size_in_bits.cpp | SGSSGene/raptor | 76189b4b941525f8da05821146a840c1d666e430 | [
"BSD-3-Clause"
] | null | null | null | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 43.818182 | 104 | 0.578838 | SGSSGene |
ce7637a0f9ee90f2fc0f8aeb896fd305095cb7cd | 4,937 | cpp | C++ | Base/PLScene/src/Scene/SceneNodes/SNPoint.cpp | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 83 | 2015-01-08T15:06:14.000Z | 2021-07-20T17:07:00.000Z | Base/PLScene/src/Scene/SceneNodes/SNPoint.cpp | PixelLightFoundation/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 19 | 2018-08-24T08:10:13.000Z | 2018-11-29T06:39:08.000Z | Base/PLScene/src/Scene/SceneNodes/SNPoint.cpp | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 40 | 2015-02-25T18:24:34.000Z | 2021-03-06T09:01:48.000Z | /*********************************************************\
* File: SNPoint.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 34.524476 | 102 | 0.564513 | ktotheoz |
7069f5efca27124859292124e24a62a636575466 | 1,510 | cpp | C++ | non_guaranteed_nanolog_benchmark.cpp | styac/NanoLog-- | b99a5e992f171a9bdbdc3a0d971c3651d8e701e6 | [
"MIT"
] | 1 | 2019-06-03T09:04:47.000Z | 2019-06-03T09:04:47.000Z | non_guaranteed_nanolog_benchmark.cpp | styac/NanoLog-- | b99a5e992f171a9bdbdc3a0d971c3651d8e701e6 | [
"MIT"
] | null | null | null | non_guaranteed_nanolog_benchmark.cpp | styac/NanoLog-- | b99a5e992f171a9bdbdc3a0d971c3651d8e701e6 | [
"MIT"
] | null | null | null | #include "NanoLog.hpp"
#include <chrono>
#include <thread>
#include <vector>
#include <atomic>
#include <cstdio>
constexpr int32_t iterExp = 25;
uint64_t timestamp_now()
{
constexpr int32_t sec2nsec = 1000*1000*1000LL;
timespec t;
clock_gettime( CLOCK_REALTIME, &t);
return t.tv_sec * sec2nsec + t.... | 25.59322 | 127 | 0.601987 | styac |
706c0482d67cdb0b8ee6d0fc8278621b20b32cb4 | 306 | hpp | C++ | src/stan/lang/ast/node/int_literal_def.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | null | null | null | src/stan/lang/ast/node/int_literal_def.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | null | null | null | src/stan/lang/ast/node/int_literal_def.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | 1 | 2020-07-14T11:36:09.000Z | 2020-07-14T11:36:09.000Z | #ifndef STAN_LANG_AST_NODE_INT_LITERAL_DEF_HPP
#define STAN_LANG_AST_NODE_INT_LITERAL_DEF_HPP
#include <stan/lang/ast.hpp>
namespace stan {
namespace lang {
int_literal::int_literal() : type_(int_type()) { }
int_literal::int_literal(int val) : val_(val), type_(int_type()) { }
}
}
#endif
| 19.125 | 73 | 0.728758 | drezap |
706c7cfe4f91cd73ca62239260b473ddaee72ab5 | 747 | cpp | C++ | ThirdParty/cppast/src/cpp_class_template.cpp | rokups/Urho3DNET | 66b21df316b569ef034c5032f741a378afafb061 | [
"MIT"
] | 5 | 2018-03-01T12:01:12.000Z | 2018-04-15T09:30:20.000Z | ThirdParty/cppast/src/cpp_class_template.cpp | rokups/Urho3DNET | 66b21df316b569ef034c5032f741a378afafb061 | [
"MIT"
] | 1 | 2018-02-17T17:32:37.000Z | 2018-03-03T03:51:11.000Z | ThirdParty/cppast/src/cpp_class_template.cpp | rokups/Urho3DNET | 66b21df316b569ef034c5032f741a378afafb061 | [
"MIT"
] | 2 | 2018-08-04T21:12:11.000Z | 2019-02-09T05:04:29.000Z | // Copyright (C) 2017-2018 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <cppast/cpp_class_template.hpp>
#include <cppast/cpp_entity_kind.hpp>
using namespace cppast;
cpp_entity_kind... | 24.9 | 86 | 0.796519 | rokups |
7070819b7db49b99e3edbb151e97705034440929 | 4,547 | hpp | C++ | hpx/util/static.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | hpx/util/static.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | hpx/util/static.hpp | Titzi90/hpx | 150fb0de1cfe40c26a722918097199147957b45c | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2006 Joao Abecasis
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(HPX_UTIL_STATIC_JUN_12_2008_0934AM)
#define HPX_UTIL_STATIC_JUN_12_2008_0934AM
#include <hpx/hpx_fwd.hpp>
#in... | 25.121547 | 80 | 0.602815 | Titzi90 |
7071afcc16abb5aa7811f2c87aa64c8b4cdc80d4 | 928 | cpp | C++ | src/main/cpp/cses/playlist.cpp | jo3-l/cp-practice | d1db0c8e9269c8720b31013068dff948b33f57fd | [
"MIT"
] | 5 | 2022-01-05T20:15:47.000Z | 2022-02-15T22:40:44.000Z | src/main/cpp/cses/playlist.cpp | jo3-l/ccc-java | 7a77f365e52496967e5265ecefb34f3b7db5fae8 | [
"MIT"
] | 3 | 2022-01-06T01:34:42.000Z | 2022-01-20T23:46:53.000Z | src/main/cpp/cses/playlist.cpp | jo3-l/ccc-java | 7a77f365e52496967e5265ecefb34f3b7db5fae8 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
using ull = unsigned long long;
struct chash {
ull operator()(ull x) const {
static const int R = chrono::steady_clock::now().time_since_epoch().count();
x += 0x9e3779b97f4a7c15;
x = (x ^ (x >> 3... | 21.090909 | 78 | 0.600216 | jo3-l |
70723fee6840f89af327d0ac8e57e636ecfaaf00 | 1,160 | cpp | C++ | Hooks.cpp | HeIIoween/revelation-mod-plugin | ea36a2ff0636718b19f900504aab2ea42d1161de | [
"Unlicense"
] | 2 | 2020-07-21T02:40:19.000Z | 2021-06-22T14:36:27.000Z | Hooks.cpp | HeIIoween/revelation-mod-plugin | ea36a2ff0636718b19f900504aab2ea42d1161de | [
"Unlicense"
] | null | null | null | Hooks.cpp | HeIIoween/revelation-mod-plugin | ea36a2ff0636718b19f900504aab2ea42d1161de | [
"Unlicense"
] | 1 | 2021-05-26T08:36:07.000Z | 2021-05-26T08:36:07.000Z | #include "Hooks.h"
#include "Client.h"
#include "Header.h"
using namespace raincious::FLHookPlugin::Revelation;
namespace HkIServerImpl
{
static int timerSkips = 0, timerSkiper = 10;
static uint onlinePlayers = 0;
void __stdcall Timer()
{
PluginReturnCode = DEFAULT_RETURNCODE;
if ((++timerSkips % timerSkip... | 19.661017 | 71 | 0.718966 | HeIIoween |
7073b2cb332d114998c633bf9c36a8d94f10bf5c | 10,113 | cpp | C++ | src/preferences/network/DialUpAddOn/IPCPAddon.cpp | deep-1/haiku | b273e9733d25babe5e6702dc1e24f3dff1ffd6dc | [
"MIT"
] | 4 | 2017-06-17T22:03:56.000Z | 2019-01-25T10:51:55.000Z | src/preferences/network/DialUpAddOn/IPCPAddon.cpp | jessicah/haiku | c337460525c39e870d31221d205a299d9cd79c6a | [
"MIT"
] | null | null | null | src/preferences/network/DialUpAddOn/IPCPAddon.cpp | jessicah/haiku | c337460525c39e870d31221d205a299d9cd79c6a | [
"MIT"
] | 1 | 2019-12-29T12:00:51.000Z | 2019-12-29T12:00:51.000Z | /* -----------------------------------------------------------------------
* Copyright (c) 2003-2004 Waldemar Kornewald, Waldemar.Kornewald@web.de
*
* 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... | 27.112601 | 82 | 0.705528 | deep-1 |
70747430f360f89fbd8fadf733d2e5f0cd42712e | 226 | cpp | C++ | 2234/2174556_AC_0MS_32K.cpp | vandreas19/POJ_sol | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 18 | 2017-08-14T07:34:42.000Z | 2022-01-29T14:20:29.000Z | 2234/2174556_AC_0MS_32K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | null | null | null | 2234/2174556_AC_0MS_32K.cpp | pinepara/poj_solutions | 4895764ab800e8c2c4b2334a562dec2f07fa243e | [
"MIT"
] | 14 | 2016-12-21T23:37:22.000Z | 2021-07-24T09:38:57.000Z | #include<iostream.h>
void main()
{
int iPileNum,iResult,iTemp;
while(cin>>iPileNum)
{
cin>>iResult;
while(--iPileNum)
{
cin>>iTemp;
iResult^=iTemp;
}
cout<<(iResult!=0?"Yes":"No")<<endl;
}
} | 14.125 | 39 | 0.561947 | vandreas19 |
70761e15007f253ca7819a806b1a4d77953e7d53 | 7,171 | cpp | C++ | sdk/physx/2.8.3/TrainingPrograms/Programs/Chap5/Lesson503/source/Lesson503.cpp | daher-alfawares/xr.desktop | 218a7cff7a9be5865cf786d7cad31da6072f7348 | [
"Apache-2.0"
] | 1 | 2018-09-20T10:01:30.000Z | 2018-09-20T10:01:30.000Z | sdk/physx/2.8.3/TrainingPrograms/Programs/Chap5/Lesson503/source/Lesson503.cpp | daher-alfawares/xr.desktop | 218a7cff7a9be5865cf786d7cad31da6072f7348 | [
"Apache-2.0"
] | null | null | null | sdk/physx/2.8.3/TrainingPrograms/Programs/Chap5/Lesson503/source/Lesson503.cpp | daher-alfawares/xr.desktop | 218a7cff7a9be5865cf786d7cad31da6072f7348 | [
"Apache-2.0"
] | null | null | null | // ===============================================================================
// NVIDIA PHYSX SDK TRAINING PROGRAMS
// LESSON 503: CORE DUMP
//
// Written by Bob Schade, 5-1-06
// ===============================================================================
... | 24.063758 | 197 | 0.660717 | daher-alfawares |
70790b959f58f7b574e9621298b3ddf453c8bf92 | 29,223 | cpp | C++ | projects/robots/kondo/khr-2hv/controllers/khr-2hv_demo/rcb3_simulator.cpp | awesome-archive/webots | 8e74fb8393d1e3a6540749afc492635c43f1b30f | [
"Apache-2.0"
] | 2 | 2019-07-12T13:47:44.000Z | 2019-08-17T02:53:54.000Z | projects/robots/kondo/khr-2hv/controllers/khr-2hv_demo/rcb3_simulator.cpp | golbh/webots | 8e74fb8393d1e3a6540749afc492635c43f1b30f | [
"Apache-2.0"
] | null | null | null | projects/robots/kondo/khr-2hv/controllers/khr-2hv_demo/rcb3_simulator.cpp | golbh/webots | 8e74fb8393d1e3a6540749afc492635c43f1b30f | [
"Apache-2.0"
] | 1 | 2019-07-13T17:58:04.000Z | 2019-07-13T17:58:04.000Z | // Copyright 1996-2018 Cyberbotics Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 30.282902 | 126 | 0.572871 | awesome-archive |
70795ddc256b1ad70a4d31ea0db0e6081df098cb | 20,322 | cpp | C++ | SDKs/CryCode/3.7.0/GameDll/VehicleMovementHelicopterArcade.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.7.0/GameDll/VehicleMovementHelicopterArcade.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.7.0/GameDll/VehicleMovementHelicopterArcade.cpp | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | /*************************************************************************
Crytek Source File.
Copyright (C), Crytek Studios, 2001-2005.
-------------------------------------------------------------------------
$Id$
$DateTime$
Description: Implements a standard helicopter movements
------------------------------------... | 29.754026 | 197 | 0.626612 | amrhead |
707ac1dd48fa3bf4260d432939b8e2550652f375 | 1,044 | cpp | C++ | clibalgserver/code/exe/loop.cpp | bajdcc/clibalgserver | 0a464b1657c70244d18345ab8b2a4f222b32c18a | [
"MIT"
] | 12 | 2019-09-25T09:28:40.000Z | 2022-01-24T05:24:35.000Z | clibalgserver/code/exe/loop.cpp | bajdcc/clibalgserver | 0a464b1657c70244d18345ab8b2a4f222b32c18a | [
"MIT"
] | 3 | 2020-02-22T04:00:36.000Z | 2020-03-19T07:42:03.000Z | clibalgserver/code/exe/loop.cpp | bajdcc/clibalgserver | 0a464b1657c70244d18345ab8b2a4f222b32c18a | [
"MIT"
] | 2 | 2020-03-06T07:59:28.000Z | 2020-08-17T07:34:48.000Z | #include "/include/shell"
#include "/include/memory"
#include "/include/proc"
struct string {
char* text;
int capacity;
int length;
};
string new_string() {
string s;
s.text = malloc(16);
s.capacity = 16;
s.length = 0;
return s;
}
void append_char(string* s, char c) {
if (s->length >... | 21.75 | 48 | 0.482759 | bajdcc |
707e0f71cb3d54acd88a63a8f5f94428bc24fda9 | 2,868 | cc | C++ | src/Vehicle/ADSBVehicle.cc | harisankerPradeep/qgroundcontrol | 449ee8ffd3b165a220cb6ebfd8b94cc9b2daf49f | [
"Apache-2.0"
] | 12 | 2020-04-19T17:36:34.000Z | 2022-02-02T01:42:06.000Z | src/Vehicle/ADSBVehicle.cc | Myweik/MMC_qgroundcontrol | 3aa97928d30fc9de56fde2a0d37a49245de83da4 | [
"Apache-2.0"
] | 30 | 2019-07-10T02:21:58.000Z | 2019-08-15T02:17:42.000Z | src/Vehicle/ADSBVehicle.cc | Myweik/MMC_qgroundcontrol | 3aa97928d30fc9de56fde2a0d37a49245de83da4 | [
"Apache-2.0"
] | 39 | 2020-04-18T00:45:45.000Z | 2022-03-21T10:41:46.000Z | /****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
*************************************... | 28.969697 | 106 | 0.62901 | harisankerPradeep |
707f00901f227fff0fe2281808d7f330ee9cb111 | 3,875 | cc | C++ | RecoMET/METFilters/plugins/InconsistentMuonPFCandidateFilter.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoMET/METFilters/plugins/InconsistentMuonPFCandidateFilter.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoMET/METFilters/plugins/InconsistentMuonPFCandidateFilter.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z |
// system include files
#include <memory>
#include <iostream>
// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDFilter.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/i... | 28.284672 | 117 | 0.685935 | ckamtsikis |
707f3d573d0a784dc8a64370d6e56696c1e310a8 | 36,299 | cpp | C++ | Source/hydro/riemann_solvers.cpp | nmford20/Castro | ad98e9f756dc4f8832da14b70ff17234dae4dad3 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/hydro/riemann_solvers.cpp | nmford20/Castro | ad98e9f756dc4f8832da14b70ff17234dae4dad3 | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/hydro/riemann_solvers.cpp | nmford20/Castro | ad98e9f756dc4f8832da14b70ff17234dae4dad3 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <Castro.H>
#include <Castro_F.H>
#include <Castro_util.H>
#ifdef RADIATION
#include <Radiation.H>
#endif
#include <cmath>
#include <eos.H>
#include <riemann.H>
using namespace amrex;
void
Castro::riemanncg(const Box& bx,
Array4<Real> const& ql,
Array4<Real> const& qr,
... | 27.815326 | 132 | 0.550924 | nmford20 |
70809d3c3cd232849da1b79e6537ad954ba4fc5d | 4,507 | cpp | C++ | src/mavlink.cpp | gunpowder78/vive-diy-position-sensor-tracker | 64a8528471962fd97d5403d4e8f4a78f0964872e | [
"MIT"
] | 840 | 2016-11-08T11:46:49.000Z | 2022-03-23T05:47:40.000Z | src/mavlink.cpp | gunpowder78/vive-diy-position-sensor-tracker | 64a8528471962fd97d5403d4e8f4a78f0964872e | [
"MIT"
] | 78 | 2016-11-07T00:51:10.000Z | 2022-03-12T17:36:35.000Z | src/mavlink.cpp | gunpowder78/vive-diy-position-sensor-tracker | 64a8528471962fd97d5403d4e8f4a78f0964872e | [
"MIT"
] | 114 | 2016-11-13T17:26:08.000Z | 2022-03-14T10:04:28.000Z | #include "formatters.h"
#include <assert.h>
#include <common/mavlink.h>
#include "print_helpers.h"
// Communication parameters of this system.
mavlink_system_t mavlink_system = {
.sysid = 155,
.compid = 1,
};
GeometryMavlinkFormatter::GeometryMavlinkFormatter(uint32_t idx, const FormatterDef &def)
: Geome... | 33.887218 | 111 | 0.647437 | gunpowder78 |
70826434a9a69bcf37646e3e2c4d18872f19d043 | 12,196 | cpp | C++ | logdevice/common/event_log/EventLogRecord.cpp | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | null | null | null | logdevice/common/event_log/EventLogRecord.cpp | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | null | null | null | logdevice/common/event_log/EventLogRecord.cpp | majra20/LogDevice | dea0df7991120d567354d7a29d832b0e10be7477 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/common/event_log/EventLogRecord.h"
#include <folly/Conv.h>
#includ... | 33.141304 | 80 | 0.676451 | majra20 |
7087b9f7b595d991d7bd8dc0259da6e47acca312 | 8,047 | cpp | C++ | x3py/source/core/x3manager/plugins.cpp | xueyu200/CbersUI | 85bfe9f16e0ff17361875461818006efc51d8d28 | [
"Apache-2.0"
] | 11 | 2019-05-13T02:40:42.000Z | 2021-12-19T20:03:29.000Z | x3py/source/core/x3manager/plugins.cpp | xueyu200/CbersUI | 85bfe9f16e0ff17361875461818006efc51d8d28 | [
"Apache-2.0"
] | 1 | 2022-02-16T09:18:15.000Z | 2022-02-18T02:00:20.000Z | x3py/source/core/x3manager/plugins.cpp | xueyu200/CbersUI | 85bfe9f16e0ff17361875461818006efc51d8d28 | [
"Apache-2.0"
] | 7 | 2019-02-23T13:55:25.000Z | 2021-04-21T11:33:24.000Z | // x3py framework: https://github.com/rhcad/x3py
#include <module/plugininc.h>
#include <utilfunc/convstr.h>
#include "plugins.h"
BEGIN_NAMESPACE_X3
CPlugins::CPlugins()
{
}
CPlugins::~CPlugins()
{
}
int CPlugins::getPluginCount() const
{
LockRW locker(_plugins.locker);
return locker.canRead() ? (1 + GetSiz... | 23.190202 | 107 | 0.524668 | xueyu200 |
70892e1c8c4fd6703f30a76ed10b9f0cc5e17fd2 | 9,804 | cpp | C++ | src/gallium/drivers/r600/sb/sb_dump.cpp | thermasol/mesa3d | 6f1bc4e7edfface197ef281cffdf399b5389e24a | [
"MIT"
] | null | null | null | src/gallium/drivers/r600/sb/sb_dump.cpp | thermasol/mesa3d | 6f1bc4e7edfface197ef281cffdf399b5389e24a | [
"MIT"
] | null | null | null | src/gallium/drivers/r600/sb/sb_dump.cpp | thermasol/mesa3d | 6f1bc4e7edfface197ef281cffdf399b5389e24a | [
"MIT"
] | null | null | null | /*
* Copyright 2013 Vadim Girlin <vadimgirlin@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* on the rights to use, copy... | 18.781609 | 77 | 0.569971 | thermasol |
70895a3ad9ddc23d82ed23028bfe9fb1ae837797 | 8,078 | cc | C++ | application/extension/application_widget_storage.cc | shaochangbin/crosswalk | a4e189b2ab8ca33555a90601476d59c9c291942f | [
"BSD-3-Clause"
] | 1 | 2019-01-16T06:49:57.000Z | 2019-01-16T06:49:57.000Z | application/extension/application_widget_storage.cc | shaochangbin/crosswalk | a4e189b2ab8ca33555a90601476d59c9c291942f | [
"BSD-3-Clause"
] | null | null | null | application/extension/application_widget_storage.cc | shaochangbin/crosswalk | a4e189b2ab8ca33555a90601476d59c9c291942f | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2014 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/application/extension/application_widget_storage.h"
#include <string>
#include "base/file_util.h"
#include "sql/statement.h"
#include "... | 26.312704 | 78 | 0.682718 | shaochangbin |
70896f1016eea0ce36f018167de3b001c2ad1ae0 | 2,721 | cpp | C++ | src/arrow.cpp | mayankmusaddi/PlaneSimulation-OpenGL | cc863f0e80e9a85c0ffe033e7aa6a9f44edd11b6 | [
"MIT"
] | null | null | null | src/arrow.cpp | mayankmusaddi/PlaneSimulation-OpenGL | cc863f0e80e9a85c0ffe033e7aa6a9f44edd11b6 | [
"MIT"
] | null | null | null | src/arrow.cpp | mayankmusaddi/PlaneSimulation-OpenGL | cc863f0e80e9a85c0ffe033e7aa6a9f44edd11b6 | [
"MIT"
] | null | null | null | #include "arrow.h"
#include "main.h"
#include "primitives.h"
Arrow::Arrow(float x, float y,float z) {
this->position = glm::vec3(x, y, z);
this->direction = glm::mat4(1.0f);
this->rotation = 0;
float size = 0.05;
float thickness = size/2;
static const GLfloat head[] = {
-size, 0, ... | 28.34375 | 100 | 0.556413 | mayankmusaddi |
708a4ec65dab3d6091e5af67b512b2c888ec332d | 34,371 | cpp | C++ | src/parser/disassembler/sat-elf-dump.cpp | jnippula/satt | aff4562b7e94f095d2e13eb10b9ac872484bb5cd | [
"Apache-2.0"
] | 54 | 2016-11-09T13:26:40.000Z | 2019-04-30T16:29:45.000Z | src/parser/disassembler/sat-elf-dump.cpp | jnippula/satt | aff4562b7e94f095d2e13eb10b9ac872484bb5cd | [
"Apache-2.0"
] | 2 | 2016-11-09T13:25:19.000Z | 2017-03-27T04:09:35.000Z | src/parser/disassembler/sat-elf-dump.cpp | jnippula/satt | aff4562b7e94f095d2e13eb10b9ac872484bb5cd | [
"Apache-2.0"
] | 10 | 2016-11-28T07:55:40.000Z | 2019-03-23T12:40:36.000Z | /*
// Copyright (c) 2015 Intel 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... | 32.765491 | 164 | 0.425009 | jnippula |
708c24528864ed2f7d4eaf1aa8a93092d40e30f4 | 29,986 | hpp | C++ | blast/include/corelib/ncbi_tree.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | null | null | null | blast/include/corelib/ncbi_tree.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | null | null | null | blast/include/corelib/ncbi_tree.hpp | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | null | null | null | #ifndef CORELIB___NCBI_TREE__HPP
#define CORELIB___NCBI_TREE__HPP
/* $Id: ncbi_tree.hpp 534857 2017-05-03 12:26:07Z ivanov $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Informati... | 29 | 82 | 0.611119 | mycolab |
708cc9dc68e92dd04b76bb5c5125cd8c0972e4af | 2,953 | cpp | C++ | src/ui/ScratchpadFrame.cpp | Software-Knife-and-Tool/gyre-ui | 4d4e8eb6e3f179425c70d957ede220258a0c5c14 | [
"BSD-3-Clause"
] | null | null | null | src/ui/ScratchpadFrame.cpp | Software-Knife-and-Tool/gyre-ui | 4d4e8eb6e3f179425c70d957ede220258a0c5c14 | [
"BSD-3-Clause"
] | 4 | 2020-12-28T03:13:58.000Z | 2021-01-11T23:12:41.000Z | src/ui/ScratchpadFrame.cpp | Software-Knife-and-Tool/gyre-ui | 4d4e8eb6e3f179425c70d957ede220258a0c5c14 | [
"BSD-3-Clause"
] | null | null | null | /********
**
** SPDX-License-Identifier: BSD-3-Clause
**
** Copyright (c) 2017-2021 James M. Putnam <putnamjm.design@gmail.com>
**
**/
/********
**
** ScratchpadFrame.cpp: ScratchpadFrame implementation
**
**/
#include <QDate>
#include <QFileDialog>
#include <QLabel>
#include <QScrollArea>
#include <QStri... | 26.366071 | 76 | 0.675923 | Software-Knife-and-Tool |
708d27424075645d50b80c8c7c48dd34d886cf4c | 289 | cpp | C++ | Unit 4/TicTacToe/TicTacToe/player.cpp | hhaslam11/C-Projects | c9e76edcd136a163d61fc38a80e419c55f84354d | [
"MIT"
] | null | null | null | Unit 4/TicTacToe/TicTacToe/player.cpp | hhaslam11/C-Projects | c9e76edcd136a163d61fc38a80e419c55f84354d | [
"MIT"
] | null | null | null | Unit 4/TicTacToe/TicTacToe/player.cpp | hhaslam11/C-Projects | c9e76edcd136a163d61fc38a80e419c55f84354d | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using std::cin;
using std::cout;
using std::endl;
using std::string;
//Prettiness
#include <iomanip>
using std::fixed;
using std::setprecision;
private char type;
void player(char type){
this.type = type;
}
char getType(){
return this.type;
}
| 12.565217 | 24 | 0.705882 | hhaslam11 |
708db4245424c6ba1f235be35eb1285a823cce5c | 803 | cpp | C++ | Kattis/dasort.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | 3 | 2021-02-19T17:01:11.000Z | 2021-03-11T16:50:19.000Z | Kattis/dasort.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | Kattis/dasort.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | //
// https://open.kattis.com/problems/dasort
#include <iostream>
//#include <deque>
#include <algorithm>
//#include <cmath>
#include <vector>
#include <stack>
using namespace std;
int n, a[1010];
stack<int> stk;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t, th;
cin >> t;... | 19.585366 | 74 | 0.435866 | YourName0729 |
708dd8ee6bcff9fe60443157d22451e24ee69b0a | 2,151 | cc | C++ | net/dns/address_info_test_util.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | net/dns/address_info_test_util.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 250 | 2018-02-02T23:16:57.000Z | 2022-03-21T06:09:53.000Z | net/dns/address_info_test_util.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright (c) 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 "net/dns/address_info_test_util.h"
#include <cstring>
#include "base/check.h"
#include "base/sys_byteorder.h"
#include "net/base/sys_addrin... | 30.728571 | 80 | 0.64993 | zealoussnow |
708ee545bb8064645bfa5284fdc0366aacb2f694 | 5,040 | cc | C++ | EventFilter/EcalTBRawToDigi/test/stubs/EcalGraphDumperModule.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | EventFilter/EcalTBRawToDigi/test/stubs/EcalGraphDumperModule.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | EventFilter/EcalTBRawToDigi/test/stubs/EcalGraphDumperModule.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | /**
* \file EcalGraphDumperModule.h
* module dumping TGraph with 10 data frames
*
*
* \author N. Amapane - S. Argiro'
* \author G. Franzoni
*
*/
#include <FWCore/Framework/interface/EDAnalyzer.h>
#include <FWCore/Framework/interface/Event.h>
#include <FWCore/Framework/interface/MakerMacros.h>
#include <Da... | 27.243243 | 103 | 0.643254 | ckamtsikis |
708fe94a1f3aec06f5746b9be7ba6bf3c0d6db44 | 4,308 | cpp | C++ | ares/n64/cpu/core/core.cpp | moon-chilled/Ares | 909fb098c292f8336d0502dc677050312d8b5c81 | [
"0BSD"
] | 7 | 2020-07-25T11:44:39.000Z | 2021-01-29T13:21:31.000Z | ares/n64/cpu/core/core.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | null | null | null | ares/n64/cpu/core/core.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | 1 | 2021-03-22T16:15:30.000Z | 2021-03-22T16:15:30.000Z | #include "registers.hpp"
#include "scc-tlb.cpp"
#include "scc-registers.cpp"
#include "fpu-registers.cpp"
#include "memory.cpp"
#include "decoder.cpp"
#include "cpu-instructions.cpp"
#include "scc-instructions.cpp"
#include "fpu-instructions.cpp"
#include "recompiler.cpp"
#include "disassembler.cpp"
#include "serializa... | 28.342105 | 97 | 0.659006 | moon-chilled |
7095174ff4e48d7b5e5fdbe12f0b98afe38df733 | 11,472 | cpp | C++ | roomedit/owl-6.34/source/appdict.cpp | Darkman-M59/Meridian59_115 | 671b7ebe9fa2b1f40c8bd453652d596042291b90 | [
"FSFAP"
] | null | null | null | roomedit/owl-6.34/source/appdict.cpp | Darkman-M59/Meridian59_115 | 671b7ebe9fa2b1f40c8bd453652d596042291b90 | [
"FSFAP"
] | null | null | null | roomedit/owl-6.34/source/appdict.cpp | Darkman-M59/Meridian59_115 | 671b7ebe9fa2b1f40c8bd453652d596042291b90 | [
"FSFAP"
] | null | null | null | //----------------------------------------------------------------------------
// ObjectWindows
// Copyright (c) 1991, 1996 by Borland International, All Rights Reserved
//
/// \file
/// Implementation of class TAppDictionary, a dictionary of associations
/// between pids (Process IDs) and TApplication pointers.... | 35.082569 | 90 | 0.67181 | Darkman-M59 |
7097bd2e2e7542ae51389a0be9ee577128e9c8b2 | 11,827 | cpp | C++ | libs/filamat/src/ShaderMinifier.cpp | RitwikSaikia/filament | 57df4481e99dd45af04e47c9259b44187862bff5 | [
"Apache-2.0"
] | 13,885 | 2018-08-03T17:46:24.000Z | 2022-03-31T14:26:19.000Z | libs/filamat/src/ShaderMinifier.cpp | RitwikSaikia/filament | 57df4481e99dd45af04e47c9259b44187862bff5 | [
"Apache-2.0"
] | 2,298 | 2018-08-04T04:12:01.000Z | 2022-03-31T20:06:25.000Z | libs/filamat/src/ShaderMinifier.cpp | RitwikSaikia/filament | 57df4481e99dd45af04e47c9259b44187862bff5 | [
"Apache-2.0"
] | 1,500 | 2018-08-03T23:34:27.000Z | 2022-03-30T13:43:10.000Z | /*
* Copyright (C) 2020 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... | 35.516517 | 98 | 0.556439 | RitwikSaikia |
709889e2f30586226288ba14b024539f8ed0cdc1 | 2,799 | cpp | C++ | 2002/samples/mfcsamps/modal/arxmfctmpl.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | 1 | 2021-06-25T02:58:47.000Z | 2021-06-25T02:58:47.000Z | 2004/samples/editor/mfcsamps/modal/arxmfctmpl.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | null | null | null | 2004/samples/editor/mfcsamps/modal/arxmfctmpl.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | 3 | 2020-05-23T02:47:44.000Z | 2020-10-27T01:26:53.000Z | // (C) Copyright 1996-1998 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warr... | 31.449438 | 78 | 0.620222 | kevinzhwl |
7098c8d6a3770b3bede1f1fa8988b67adedf9952 | 15,420 | cpp | C++ | cpp/depends/igl/headers/igl/copyleft/cgal/outer_hull_legacy.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | cpp/depends/igl/headers/igl/copyleft/cgal/outer_hull_legacy.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | cpp/depends/igl/headers/igl/copyleft/cgal/outer_hull_legacy.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
//
// 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://... | 34.039735 | 602 | 0.550713 | GitZHCODE |
709a6bf3440894db1d5b5820e4103cf408740079 | 5,690 | cpp | C++ | src/materialsystem/stdshaders/portalstaticoverlay_dx60.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/materialsystem/stdshaders/portalstaticoverlay_dx60.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/materialsystem/stdshaders/portalstaticoverlay_dx60.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "BaseVSShader.h"
#include "convar.h"
#include "d3dx.h"
DEFINE_FALLBACK_SHADER( PortalStaticOverlay, PortalStaticO... | 31.263736 | 133 | 0.762214 | DeadZoneLuna |
709a6f2054cc098fa1249c8a71a8bf44e5c3c7c3 | 1,870 | cpp | C++ | be/test/geo/wkt_parse_test.cpp | sparklezzz/starrocks | d445118c07a84ffa4e76efd2fd40a069b6a6423d | [
"ECL-2.0",
"Zlib",
"Apache-2.0",
"MIT"
] | 2,519 | 2021-09-08T01:41:12.000Z | 2022-03-31T17:14:29.000Z | be/test/geo/wkt_parse_test.cpp | sparklezzz/starrocks | d445118c07a84ffa4e76efd2fd40a069b6a6423d | [
"ECL-2.0",
"Zlib",
"Apache-2.0",
"MIT"
] | 2,671 | 2021-09-08T01:43:45.000Z | 2022-03-31T23:45:52.000Z | be/test/geo/wkt_parse_test.cpp | rickif/starrocks | 94af746ec83cc1260e15dc1f5295e7b014c96598 | [
"BSD-3-Clause-Clear",
"Zlib",
"PSF-2.0",
"Apache-2.0"
] | 499 | 2021-09-08T01:43:54.000Z | 2022-03-31T07:14:17.000Z | // This file is made available under Elastic License 2.0.
// This file is based on code available under the Apache license here:
// https://github.com/apache/incubator-doris/blob/master/be/test/geo/wkt_parse_test.cpp
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreeme... | 31.694915 | 89 | 0.718717 | sparklezzz |
709c54024f16a027c4f756a6d0e761667d8e0e50 | 1,357 | hpp | C++ | sd6/A3_UDP_Session/GameCode/TheApp.hpp | achen889/Warlockery_Engine | 160a14e85009057f4505ff5380a8c17258698f3e | [
"MIT"
] | null | null | null | sd6/A3_UDP_Session/GameCode/TheApp.hpp | achen889/Warlockery_Engine | 160a14e85009057f4505ff5380a8c17258698f3e | [
"MIT"
] | null | null | null | sd6/A3_UDP_Session/GameCode/TheApp.hpp | achen889/Warlockery_Engine | 160a14e85009057f4505ff5380a8c17258698f3e | [
"MIT"
] | null | null | null | //==============================================================================================================
//TheApp.hpp
//by Albert Chen Jan-13-2015.
//==============================================================================================================
#pragma once
#ifndef _included_TheApp__
#define _i... | 26.607843 | 112 | 0.644068 | achen889 |
709d276c04cb807382c6ed8a52f0b4751aa33559 | 10,045 | cpp | C++ | src/mongo/s/write_ops/write_op.cpp | stevelyall/mongol-db | d8046147bfe806f7acc0ec4aa70c132507b761fb | [
"Apache-2.0"
] | 1 | 2018-03-16T09:49:05.000Z | 2018-03-16T09:49:05.000Z | src/mongo/s/write_ops/write_op.cpp | stevelyall/mongol-db | d8046147bfe806f7acc0ec4aa70c132507b761fb | [
"Apache-2.0"
] | null | null | null | src/mongo/s/write_ops/write_op.cpp | stevelyall/mongol-db | d8046147bfe806f7acc0ec4aa70c132507b761fb | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2013 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... | 36.394928 | 97 | 0.670184 | stevelyall |
709d4b3ba6f0d31fb6624fc7bae7234cac2540a2 | 27,342 | hpp | C++ | src/omni/pool.hpp | Pilatuz/omni | c74a48e4637074dbc9f777c839b6575b4434ad05 | [
"MIT"
] | 1 | 2020-04-07T13:44:28.000Z | 2020-04-07T13:44:28.000Z | src/omni/pool.hpp | Pilatuz/omni | c74a48e4637074dbc9f777c839b6575b4434ad05 | [
"MIT"
] | null | null | null | src/omni/pool.hpp | Pilatuz/omni | c74a48e4637074dbc9f777c839b6575b4434ad05 | [
"MIT"
] | 2 | 2020-09-16T12:00:46.000Z | 2020-09-16T12:59:01.000Z | ///////////////////////////////////////////////////////////////////////////////
// This material is provided "as is", with absolutely no warranty
// expressed or implied. Any use is at your own risk.
//
// Permission to use or copy this software for any purpose is hereby
// granted without fee, provided the above not... | 25.625117 | 104 | 0.5933 | Pilatuz |
709d783082ef94ea5c4a513c170e4df36aca953d | 112,211 | cpp | C++ | HotSpot1.7-JVM-Linux-x86/src/share/vm/runtime/sharedRuntime.cpp | codefollower/Open-Source-Research | b9f2aed9d0f060b80be45f713c3d48fe91f247b2 | [
"Apache-2.0"
] | 184 | 2015-01-04T03:38:20.000Z | 2022-03-30T05:47:21.000Z | HotSpot1.7/src/share/vm/runtime/sharedRuntime.cpp | doczyw/Open-Source-Research | b9f2aed9d0f060b80be45f713c3d48fe91f247b2 | [
"Apache-2.0"
] | 1 | 2016-01-17T09:18:17.000Z | 2016-01-17T09:18:17.000Z | HotSpot1.7/src/share/vm/runtime/sharedRuntime.cpp | doczyw/Open-Source-Research | b9f2aed9d0f060b80be45f713c3d48fe91f247b2 | [
"Apache-2.0"
] | 101 | 2015-01-16T23:46:31.000Z | 2022-03-30T05:47:06.000Z | /*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 38.44159 | 174 | 0.681386 | codefollower |
709ddee84ea005adf095e8279af54bf701ff399b | 22,533 | hpp | C++ | viennacl/linalg/cuda/bisect_util.hpp | denis14/ViennaCL-1.5.2 | fec808905cca30196e10126681611bdf8da5297a | [
"MIT"
] | null | null | null | viennacl/linalg/cuda/bisect_util.hpp | denis14/ViennaCL-1.5.2 | fec808905cca30196e10126681611bdf8da5297a | [
"MIT"
] | null | null | null | viennacl/linalg/cuda/bisect_util.hpp | denis14/ViennaCL-1.5.2 | fec808905cca30196e10126681611bdf8da5297a | [
"MIT"
] | null | null | null | #ifndef VIENNACL_LINALG_CUDA_BISECT_BISECT_UTIL_HPP_
#define VIENNACL_LINALG_CUDA_BISECT_BISECT_UTIL_HPP_
/* =========================================================================
Copyright (c) 2010-2014, Institute for Microelectronics,
Institute for Analysis and Scientific Compu... | 36.758564 | 96 | 0.54347 | denis14 |
709e36fd8c2f302746c7f410484d8fedee7c6057 | 10,563 | cpp | C++ | Fractal_CPU_Multithreading/Fractal_CPU_Multithreading.cpp | Emmanuel-DUPUIS/multithreadedfractals | 430816e79346d9074a0a43698ef70879247af436 | [
"MIT"
] | null | null | null | Fractal_CPU_Multithreading/Fractal_CPU_Multithreading.cpp | Emmanuel-DUPUIS/multithreadedfractals | 430816e79346d9074a0a43698ef70879247af436 | [
"MIT"
] | null | null | null | Fractal_CPU_Multithreading/Fractal_CPU_Multithreading.cpp | Emmanuel-DUPUIS/multithreadedfractals | 430816e79346d9074a0a43698ef70879247af436 | [
"MIT"
] | null | null | null | //==============================================================================
// (c) Emmanuel DUPUIS 2016, emmanuel.dupuis@undecentum.com, MIT Licence
//==============================================================================
#include <cstdint>
#include <cmath>
#include <iostream>
#include <sstream>
... | 35.446309 | 250 | 0.605983 | Emmanuel-DUPUIS |
70a2160f19917bb2514fd5bc0c90d2636da71f13 | 5,736 | cpp | C++ | src/prod/src/data/txnreplicator/logrecordlib/EndTransactionLogRecord.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 1 | 2020-06-15T04:33:36.000Z | 2020-06-15T04:33:36.000Z | src/prod/src/data/txnreplicator/logrecordlib/EndTransactionLogRecord.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | null | null | null | src/prod/src/data/txnreplicator/logrecordlib/EndTransactionLogRecord.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | null | null | null | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 32.40678 | 143 | 0.737796 | vishnuk007 |
70a647c273dd07d8e361ee1cc56e8722233889eb | 13,293 | cc | C++ | zircon/system/ulib/unittest/unittest.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | 10 | 2020-12-28T17:04:44.000Z | 2022-03-12T03:20:43.000Z | zircon/system/ulib/unittest/unittest.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | 1 | 2022-01-14T23:38:40.000Z | 2022-01-14T23:38:40.000Z | zircon/system/ulib/unittest/unittest.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | 4 | 2020-12-28T17:04:45.000Z | 2022-03-12T03:20:44.000Z | // Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <pretty/hexdump.h>
#inc... | 35.63807 | 100 | 0.660799 | casey |
70a92de9ca2a4e5a773c19bd853fb02dc4420817 | 23,587 | cc | C++ | chrome/credential_provider/gaiacp/gcp_utils_unittests.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | chrome/credential_provider/gaiacp/gcp_utils_unittests.cc | blueboxd/chromium-legacy | 07223bc94bd97499909c9ed3c3f5769d718fe2e0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | chrome/credential_provider/gaiacp/gcp_utils_unittests.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright 2018 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 "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/cxx17_backports.h"
#include "base/macros.h"
#include "base/process/launc... | 40.388699 | 80 | 0.701446 | Yannic |
70ac01228431afed0fe0a790bd32c1793cebcd77 | 2,136 | cpp | C++ | Tarefa 03/Ex. 4 - Iron Maiden.cpp | leandrophiga/TADS-PDFA1 | 51240d4cbee34e042e35069f5030f4dc31104935 | [
"MIT"
] | null | null | null | Tarefa 03/Ex. 4 - Iron Maiden.cpp | leandrophiga/TADS-PDFA1 | 51240d4cbee34e042e35069f5030f4dc31104935 | [
"MIT"
] | null | null | null | Tarefa 03/Ex. 4 - Iron Maiden.cpp | leandrophiga/TADS-PDFA1 | 51240d4cbee34e042e35069f5030f4dc31104935 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h> // utilizar strcmp()
#include <termios.h>
#include <unistd.h>
int main(void)
{
int getch(void);
char SenhaDigitada[100], caractere, senha[] = "iron maiden";
int i, r = 1, n_tentativa = 1;
while (r != 0 && n_tentativa <= 3) // r = 0 dirá se a senha digitada está c... | 31.411765 | 108 | 0.571161 | leandrophiga |
70aec84ddac4f527f9afb40646edcd2a56dc01e5 | 4,086 | cpp | C++ | AnnotationExtractionMatlabCode/libCZI-master/Src/libCZI/SingleChannelAccessorBase.cpp | AzmHmd/WSI_Data_Preparation | d08f2aee243f7aa1c3c7421e83343c47b99d1d6d | [
"MIT"
] | null | null | null | AnnotationExtractionMatlabCode/libCZI-master/Src/libCZI/SingleChannelAccessorBase.cpp | AzmHmd/WSI_Data_Preparation | d08f2aee243f7aa1c3c7421e83343c47b99d1d6d | [
"MIT"
] | null | null | null | AnnotationExtractionMatlabCode/libCZI-master/Src/libCZI/SingleChannelAccessorBase.cpp | AzmHmd/WSI_Data_Preparation | d08f2aee243f7aa1c3c7421e83343c47b99d1d6d | [
"MIT"
] | null | null | null | //******************************************************************************
//
// libCZI is a reader for the CZI fileformat written in C++
// Copyright (C) 2017 Zeiss Microscopy GmbH
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public Licens... | 40.455446 | 153 | 0.704846 | AzmHmd |
70b050bfb41e8700ade293b43fd42725046e8212 | 315 | hpp | C++ | include/mgcpp/expressions/inspect_graph.hpp | MGfoundation/mgcpp | 66c072191e58871637bcb3b76701a79a4ae89779 | [
"BSL-1.0"
] | 48 | 2018-01-02T03:47:18.000Z | 2021-09-09T05:55:45.000Z | include/mgcpp/expressions/inspect_graph.hpp | MGfoundation/mgcpp | 66c072191e58871637bcb3b76701a79a4ae89779 | [
"BSL-1.0"
] | 24 | 2017-12-27T18:03:13.000Z | 2018-07-02T09:00:30.000Z | include/mgcpp/expressions/inspect_graph.hpp | MGfoundation/mgcpp | 66c072191e58871637bcb3b76701a79a4ae89779 | [
"BSL-1.0"
] | 6 | 2018-01-14T14:06:10.000Z | 2018-10-16T08:43:01.000Z | #ifndef INSPECT_GRAPH_HPP
#define INSPECT_GRAPH_HPP
#include <ostream>
#include <mgcpp/expressions/expression.hpp>
namespace mgcpp {
template <typename Expr>
std::ostream& operator<<(std::ostream& os, expression<Expr> const& expr);
}
#include <mgcpp/expressions/inspect_graph.tpp>
#endif // INSPECT_GRAPH_HPP
| 19.6875 | 73 | 0.774603 | MGfoundation |
70b2ae7b36b4998bf3854c0eca9bbcc0be7cc3b2 | 13,863 | cpp | C++ | Modules/Rendering/DirectX/vaTextureHelpersDX11.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 110 | 2018-09-04T20:33:59.000Z | 2021-12-17T08:46:11.000Z | Modules/Rendering/DirectX/vaTextureHelpersDX11.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 5 | 2018-09-05T20:57:08.000Z | 2021-02-24T09:02:31.000Z | Modules/Rendering/DirectX/vaTextureHelpersDX11.cpp | magcius/CMAA2 | 8ceb0daa2afa6b12804da62631494d2ed4b31b53 | [
"Apache-2.0"
] | 20 | 2018-09-05T00:41:13.000Z | 2021-08-04T01:31:50.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, Intel Corporation
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to de... | 40.893805 | 180 | 0.530044 | magcius |
70b34ae106b2549ef4cca4328e2c50f6dcdbde11 | 6,120 | tcc | C++ | libfqfft/polynomial_arithmetic/basic_operations.tcc | clearmatics/libfqfft | 620cef1c2d88901c497e2c27a6e64308329660b7 | [
"MIT"
] | null | null | null | libfqfft/polynomial_arithmetic/basic_operations.tcc | clearmatics/libfqfft | 620cef1c2d88901c497e2c27a6e64308329660b7 | [
"MIT"
] | 1 | 2021-10-04T09:33:40.000Z | 2021-10-04T09:33:40.000Z | libfqfft/polynomial_arithmetic/basic_operations.tcc | clearmatics/libfqfft | 620cef1c2d88901c497e2c27a6e64308329660b7 | [
"MIT"
] | null | null | null | /** @file
*****************************************************************************
Implementation of interfaces for basic polynomial operation routines.
See basic_operations.hpp .
*****************************************************************************
* @author This file is part of libfqfft, deve... | 27.945205 | 133 | 0.576634 | clearmatics |
70b6648a1afa3750b64deb3b88116228d102f0cf | 2,962 | cc | C++ | src/ledger/bin/tests/integration/integration_test.cc | winksaville/Fuchsia | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | [
"BSD-3-Clause"
] | 3 | 2020-08-02T04:46:18.000Z | 2020-08-07T10:10:53.000Z | src/ledger/bin/tests/integration/integration_test.cc | winksaville/Fuchsia | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | [
"BSD-3-Clause"
] | null | null | null | src/ledger/bin/tests/integration/integration_test.cc | winksaville/Fuchsia | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | [
"BSD-3-Clause"
] | 1 | 2020-08-07T10:11:49.000Z | 2020-08-07T10:11:49.000Z | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ledger/bin/tests/integration/integration_test.h"
#include <lib/async/cpp/task.h>
#include <lib/fidl/cpp/binding_set.h>
#include "src/ledger... | 33.280899 | 99 | 0.745105 | winksaville |