blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
df7c7f32592c6742bb0d263790550563e0c041d8 | e6ba27a48c3640bcc11a32168794ab54afb6b45e | /exercises/8.0/template/snp_motion_execution/src/robot_enable_simulator_node.cpp | 938f3c206ad2266cd3c7944976303e7e2ae6e8e3 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | ros-industrial/industrial_training | db1dce413bf25ea7224ff14bb14dab9bcc4aefb7 | 5d0d1fd37e6496c5b5ac1ce4e72ea0e5f602c8a3 | refs/heads/humble | 2023-08-05T18:30:00.678163 | 2023-08-03T16:30:29 | 2023-08-03T16:30:29 | 14,630,836 | 400 | 253 | Apache-2.0 | 2023-09-06T18:28:48 | 2013-11-22T22:16:18 | C++ | UTF-8 | C++ | false | false | 1,793 | cpp | #include <functional>
#include <memory>
#include <rclcpp/rclcpp.hpp>
#include <std_srvs/srv/trigger.hpp>
class ExecSimServer : public rclcpp::Node
{
public:
explicit ExecSimServer(const std::string& name, const rclcpp::NodeOptions& options = rclcpp::NodeOptions())
: Node(name, options)
{
using namespace st... | [
"tylermarr17@gmail.com"
] | tylermarr17@gmail.com |
bf14e15cf7a91e6830f19febe2ac53ea3f4ef759 | afb2f89a6dcee08bfdacf66757144d04ce7fee2f | /arrays/intermediate/8.cpp | f8841254cd8957eb72cb6f4aa3579456542a92b6 | [] | no_license | harshithkrpt/placement_preparation | b704307fd0d41603e0f8ea0678dcf5734b95df85 | 0a9a841d61bc95bda90e005b0ba0a567a0cf8727 | refs/heads/master | 2022-11-10T13:53:11.082003 | 2020-07-03T14:32:02 | 2020-07-03T14:32:02 | 271,945,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,176 | cpp | // F ind common elements in three sorted arrays
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// TODO IMPLEMENT WITHOUT HASH
void solve()
{
ll n1, n2, n3;
cin >> n1 >> n2 >> n3;
unordered_map<ll, ll> hash;
vector<ll> arr;
for (ll i = 0; i < n1; i++)
{
ll num;
... | [
"harshith.krpt@gmail.com"
] | harshith.krpt@gmail.com |
bf610e3770882118ebf1b0f899b916a1d396c580 | e3e3c5b41effece3f59c9a76cc65cba29ac6be92 | /pvxmatching/utils/sbitmap.cpp | b0baddb8a0e1ea5236b046018586b1408369332c | [
"MIT"
] | permissive | igarashi/matchingwithvcmap | 10a36854d80e37d983ad95972145a38dc378c015 | b1bc5441d7b45622edf58f0597f478c07ee6db75 | refs/heads/master | 2021-01-22T03:40:44.972694 | 2017-10-17T04:53:11 | 2017-10-17T04:53:11 | 92,394,901 | 0 | 0 | MIT | 2019-01-23T07:18:12 | 2017-05-25T11:01:48 | C++ | UTF-8 | C++ | false | false | 679 | cpp | //
// Created by igarashi on 5/23/2017.
//
#include "sbitmap.hpp"
namespace utils {
SBitmap::SBitmap(int size)
: size_(size), default_mask_(Bitmap((1 << size) - 1)) {
if (size > MAX_BIT_SIZE)
throw std::string("Exception: size exceed MAX_BIT_SIZE while creating bitmap. (Use longer int as Bitmap instead.)");
... | [
"me@bonprosoft.com"
] | me@bonprosoft.com |
441db674b63dc9aeb01f22edd4e8f97d81f25e80 | 3cd0d9a1bfff1b977eb7bd2c15881e103141cbc3 | /include/cefix/Curve.h | 721101a6935e9d46cfead09d1ab61ff21bda232e | [] | no_license | cefix/cefix | 30c8a67120b1c0c94bbe5ad878373f7378392808 | 197f89a8cf603c14fe708f8e70252c3f725c2b08 | refs/heads/master | 2020-12-24T16:49:18.153881 | 2015-05-24T11:47:46 | 2015-05-24T11:47:46 | 36,169,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,086 | h | /*
*
* (\(\
* (='.') cefix --
* o(_")") a multipurpose library on top of OpenSceneGraph
*
*
* Copyright 2001-2011, stephanmaximilianhuber.com
* Stephan Maximilian Huber.
*
* All rights reserved.
*
*/
#ifndef ... | [
"stephan@factorial.io"
] | stephan@factorial.io |
8eaa641890dcc6cccb43daa695acc45707835191 | ba96d7f21540bd7504e61954f01a6d77f88dea6f | /build/Android/Preview/app/src/main/jni/_root.fa_genderless.cpp | 1811cdc95d3b1ed3bb640e4de46ef9b302ff1a7b | [] | no_license | GetSomefi/haslaamispaivakirja | 096ff35fe55e3155293e0030c91b4bbeafd512c7 | 9ba6766987da4af3b662e33835231b5b88a452b3 | refs/heads/master | 2020-03-21T19:54:24.148074 | 2018-11-09T06:44:18 | 2018-11-09T06:44:18 | 138,976,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,397 | cpp | // This file was generated based on '/Users/petervirtanen/OneDrive/Fuse projektit/Häsläämispäiväkirja/build/Android/Preview/cache/ux15/fa_genderless.g.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#include <_root.fa_genderless.h>
#include <_root.MainView.h>
#include <Fuse.Controls.TextCo... | [
"peyte.com@gmail.com"
] | peyte.com@gmail.com |
24efe43b9a4776abcb2d405d62a3beb7e5733c54 | 771a4aead6d1b15b43a31ba78549b88250bbaaee | /week3/mrf461_hw3_q6.cpp | 763cd425690892a5d6bdd88f8d63468eeda6c808 | [] | no_license | mattfemia/NYU-Bridge | 3ae5fb579b4b01607188fc879c946440d729e5ff | 453f8174ee609e357f12139ad46ab9eb96346ad7 | refs/heads/master | 2020-05-05T12:22:04.201780 | 2019-07-22T00:30:50 | 2019-07-22T00:30:50 | 180,025,127 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,784 | cpp | //
// mrf461_hw3_q6.cpp
// prac
//
// Created by Matthew Femia on 4/24/19.
// Copyright © 2019 Matthew Femia. All rights reserved.
//
#include <iostream>
using namespace std;
int main() {
// Initialize variables
string day;
int st_hour, st_min;
int end_hour, end_min;
char dot;
int st_... | [
"mattfemia1@gmail.com"
] | mattfemia1@gmail.com |
3e337add7bd76a95ab0b22e3a21a05492ffd4263 | c80cd2d263cffae4981e8a92366ce3dabeec4c75 | /exercises/7/7_26.cpp | 6e872f7ef2441aac97ef1b0e7385b0ca9ee9748c | [] | no_license | cat1984x/Learning_Cpp_Primer | 72398a00f4f24c242b9d3bb22b6426391d17c773 | fb5f1aa3f5a157d19c64e6ab260cd68db571f90a | refs/heads/master | 2022-01-05T12:41:55.587426 | 2018-07-23T03:57:59 | 2018-07-23T03:57:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | #include <iostream>
#include "7_26_Sales_data.h"
#include <string>
using namespace std;
int main()
{
Sales_data total(cin);
if(cin)
{
Sales_data trans(cin);
do
{
if(total.isbn() == trans.isbn())
{
total = add(total, trans);
}else
{
print(cout, total) << endl;
total = trans;
}
}w... | [
"chenyushen1989@163.com"
] | chenyushen1989@163.com |
345c173d2fd3ba83ad37c98cff181b785ec95959 | a421da3f5efac0accb8a9122abba4508e2f665ea | /GameMenuState.h | 07e077ffe4a4c886ff242d52d4409e66bbebe70f | [] | no_license | ehei1/CQ | c5f2822aeee097488221ae10aecf138ef50c271a | ca0b957ff2cfd42097bbd35d399b6e0f677566f9 | refs/heads/master | 2022-10-22T02:41:04.238559 | 2020-06-17T15:03:12 | 2020-06-17T15:03:12 | 272,432,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | h | /*
-----------------------------------------------------------------------------
CQ
Copyright 2006 Lee Ungju, Lee Junho
Also see acknowledgements in credit.txt
This program is free software; you can redistribute it and/or modify it under
uncommerical purpose.
----------------------------------------------------------... | [
"ehei@thingsoft.com"
] | ehei@thingsoft.com |
ddbbff8b384e43c9da47d99045a1905815da5408 | 413e3fcb2f795986cef2ce364385714c5d41f93a | /source/value/builtin_class.cpp | 52c2e53820dda47a441f0f7cbbadb2edd318dfc6 | [] | no_license | diegoarjz/selscript | 463344584cd298dc8c4f66824698d894b671f41c | 13b7756f84eae2b1bce3d1536eac4c78a1816099 | refs/heads/master | 2020-04-28T13:01:55.787536 | 2019-11-04T20:09:41 | 2019-11-04T20:09:41 | 175,295,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72 | cpp | #include "builtin_class.h"
namespace sscript
{
} // namespace sscript
| [
"diego.a.r.jz@gmail.com"
] | diego.a.r.jz@gmail.com |
42c0529624bdb9e08a5f1a1d97c662a9024d9b53 | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/smatsvecmult/SCaVCa.cpp | 13fd92dccdebf431ff7ff10b8fe13073791e5948 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,375 | cpp | //=================================================================================================
/*!
// \file src/mathtest/smatsvecmult/SCaVCa.cpp
// \brief Source file for the SCaVCa sparse matrix/sparse vector multiplication math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// Th... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
77ebaba51c1b8772513dcac6c4fc8ce8095c96ae | 45216c54e06e6c7a895a3672a9ac01010362e67f | /NanoGameEngine.h | 330cef55fe3163c9ec71db1a94094e9f1995b42c | [
"MIT"
] | permissive | jockm/KeyCadeNano | 995608b0966e2f9c02638896ed0e78d5d5c47af3 | 7eb36582fee0bf0d1b40139f864944106f52a913 | refs/heads/master | 2021-05-01T21:03:44.500168 | 2018-02-23T23:27:08 | 2018-02-23T23:27:08 | 120,970,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,252 | h | // Copyright (c) 2018 Jock Murphy. jock@jockmurphy.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | [
"jock@jockmurphy.com"
] | jock@jockmurphy.com |
6bf0cb45adafbc51a6d1d7e64d144f792a299faa | 80c10e1aab0738d4c30a832538558ea6d294c3ff | /PhysX.Net-3.3/PhysX.Net-3/Source/Constraint1D.cpp | 7c33a0d6df2a69acdc5615162e2ab2cc2b6ebb6e | [
"MIT"
] | permissive | corefan/PhysX.Net | 4f2334520043aa7c9cfd96c054cc2ee30bf3974e | f1144841e397088301bacbd4b8e24f5066180f7c | refs/heads/master | 2020-12-30T13:40:16.784563 | 2017-01-11T21:08:59 | 2017-01-11T21:08:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | cpp | #include "StdAfx.h"
#include "Constraint1D.h"
// Note: Can not return Px1DConstraint because of PX_ALIGN annoyance, instead pass in by ref.
void Constraint1D::ToUnmanaged(Constraint1D^ constraint, Px1DConstraint& c)
{
ThrowIfNull(constraint, "constraint");
c.linear0 = UV(constraint->Linear0);
c.geometricE... | [
"chad@stilldesign.co.nz"
] | chad@stilldesign.co.nz |
7e0ab0cdbb066cb677831e213427f104d39232eb | 10493dc584334e8baa5cc1a30e4c19cf88acc6e4 | /src/Services.cpp | 67e4b7d8e163a776c94f220f5ac8435da64c9f86 | [
"MIT"
] | permissive | david-antiteum/consulcpp | 0bdbf51ec7b81c03824958559dc8f0c17652776d | 68ed9de9ad55a4a32802fe881d442ec56d35bcc7 | refs/heads/master | 2022-12-12T22:34:54.682752 | 2022-10-30T17:42:50 | 2022-10-30T17:42:50 | 183,799,605 | 2 | 1 | MIT | 2022-09-19T07:32:55 | 2019-04-27T16:57:57 | C++ | UTF-8 | C++ | false | false | 1,994 | cpp |
#include "consulcpp/Services.h"
#include "consulcpp/Service.h"
#include "consulcpp/Consul.h"
#include "internal/HttpClient.h"
struct consulcpp::Services::Private
{
consulcpp::Consul & mConsul;
explicit Private( Consul & consul )
: mConsul( consul )
{
}
std::string api() const
{
return fmt::format( "{}/{}... | [
"david.garcia@antiteum.com"
] | david.garcia@antiteum.com |
0ca8300dac5ee11d21c429d3395a5639e0a4683f | b28a6f4f6b6e666c58cbdbef0d0429097d44ad93 | /C++ Code/game/server/hl2/npc_combines.h | 9bce033f3397316e893cc7d397d586b8a3c94701 | [] | no_license | sirmastercombat/BFA_DC | 54f5a8065837350599df5b82f41afe035a64ce51 | 167513bffd507973cc97832a51714283356bae0f | refs/heads/master | 2016-09-10T14:36:10.057357 | 2013-01-07T02:44:17 | 2013-01-07T02:44:17 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,678 | h | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef NPC_COMBINES_H
#define NPC_COMBINES_H
#ifdef _WIN32
#pragma once
#endif
#include "npc_combine.h"
//===================... | [
"combat.master@yahoo.com"
] | combat.master@yahoo.com |
b00f1e6c8800d3895a4475716463f8a5270c113c | 74a31a9666df200ab18c44566f2227d031823b23 | /myst0193g/Classes/helpers/PurchaseHelper.h | df12ef7af3ba889b7d20891427ad7191b0291962 | [] | no_license | Crasader/Demo_Earlier_CC | 448f3447fc3fb237c2346069bf2344f44bd552db | 320c57f91b7d6603a6293b65a6702f76b1e035ba | refs/heads/master | 2020-12-04T12:24:47.254647 | 2018-05-31T02:51:24 | 2018-05-31T02:51:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 857 | h | //
// PurchaseHelper.h
// LVUP002
//
// Created by Steven.Xc.Tian on 13-10-17.
//
//
#ifndef __LVUP002__PurchaseHelper__
#define __LVUP002__PurchaseHelper__
#include <cocos2d.h>
#include "../modules/STIABDelegate.h"
class PurchaseHelper : public cocos2d::CCObject, public STIABDelegate
{
PurchaseHelper();
... | [
"327239185@qq.com"
] | 327239185@qq.com |
c1dbbf0a271da8ec718175a8b7247d426f332c86 | 11cfa5f85125ece35697ea1ce3a2376b43debfc0 | /audio/portaudioplayer.cpp | 230f05947861a1634f5936666e2b5c00cc5a9a3f | [] | no_license | ruellm/SiriusStreamDemo | 940f74c1668ef4b55ef6c1dbc3a86829c018e317 | 9141704ed3265fac199b82c48bff8385058c43e8 | refs/heads/main | 2023-04-06T15:07:55.456789 | 2021-04-08T06:32:00 | 2021-04-08T06:32:00 | 339,617,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,122 | cpp | #include <memory>
#include <atomic>
#include "portaudioplayer.h"
#include "audioadapter.h"
namespace audio {
/* This routine will be called by the PortAudio engine when audio is needed.
** It may be called at interrupt level on some machines so don't do anything
** that could mess up the system like calling malloc() ... | [
"ruellm@yahoo.com"
] | ruellm@yahoo.com |
848af53c698708757f6bb6f7bae6ae9e7c259f9e | 1f860ca19a9152f04d3fbfe07f32870683ce2424 | /DougTypingGuild/PlaySpeedGame.h | 504329a347e8a6b7f201cce96b220c2d536a3e58 | [] | no_license | evankrug/Doug-s-Typing-Guild | 8a96c9a6a8c466046b04869133a87cce398fcb5a | ca2f22fc49826f12607df6dc47ac82f73b9bc818 | refs/heads/main | 2023-07-24T20:10:37.403792 | 2021-09-05T16:12:33 | 2021-09-05T16:12:33 | 403,353,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,077 | h | #pragma once
#include "DatabaseManager.h"
#include "WPM.h"
#include <sstream>
//---------------------------------------------------------------------
// Name: Team Simplicity
// Project: Doug's Typing Guild is designed to have three games
// that teach and improve a user's computer typing skills.
// Purpo... | [
"evank759@gmail.com"
] | evank759@gmail.com |
ac2240840bffb6a17865d72b2b14da2caafb19b0 | da82f003a7ca562440ef469a06b8349ee1a1fea3 | /c++/book.cpp | 8884234cd992a488c9f2aa354a71dcb7282a368b | [
"BSD-2-Clause"
] | permissive | Prabudh/Miscellaneous | e0efdfcd520b502f1cea79edccaae4726d3fabb0 | d50bb7fbbc5896c8930003d31f32ec597a491507 | refs/heads/master | 2021-01-16T18:48:00.467955 | 2017-08-13T23:21:49 | 2017-08-13T23:21:49 | 100,118,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,205 | cpp | #include<iostream>
using namespace std;
class book {
public:
book(char* n, int c = 0):_name(NULL),_code(c){
cout<<"In constructor of book :"<< n<< "code:"<< _code<<endl;
_name = new char[strlen(n)];
strcpy(_name,n);
}
~book() {
cout << "In destructor of book:"<< _name << " code:" <<_co... | [
"swamy.prabudh@gmail.com"
] | swamy.prabudh@gmail.com |
cfce5757c17529a4cde54a2e74159d2f0c9f42af | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/multimedia/directx/dplay/dnet/common/comutil.cpp | 9fcc310fc891d90ff1f7f2db646fb412915d0e6d | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,049 | cpp | /*==========================================================================
*
* Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
*
* File: comutil.cpp
* Content: Contains implementation of COM helper functions for DPLAY8 project.
*@@BEGIN_MSINTERNAL
* History:
* Date ... | [
"112426112@qq.com"
] | 112426112@qq.com |
31c379165a6ae1caae9ab6d05e19241293668726 | 9efa65199151fc0285fef47e7cccdb7fa7015fc9 | /screen.cpp | 7c88e02328af71eea3f686e588699069da4844d6 | [] | no_license | tallbl0nde/LEDrum-Arduino | 542db0cfbda55ce4a49311b5802e1f7ba0fc8cba | da4b0bd0d212e86361bc26d59cc47d3bb5262fa0 | refs/heads/master | 2022-01-14T07:26:32.345713 | 2019-07-21T04:09:42 | 2019-07-21T04:09:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 82 | cpp | #include "screen.h"
Screen::Screen(struct settings * s){
this->setting = s;
} | [
"40382856+tallbl0nde@users.noreply.github.com"
] | 40382856+tallbl0nde@users.noreply.github.com |
c33f979587b479604cc9a0c945ee118679fb866d | f74af7990df46236d3d749c0668a81d25cc3339d | /dep/myvk/Device.hpp | e5a70806f2af0c07b0a46fe9e4f15297b1bdbbbf | [
"MIT"
] | permissive | WeakKnight/SparseVoxelOctree | 82c73f307b3ed7184c004a20d8d6c18ba7e206d0 | 0cbc885514f8a07294f6758964dbba075220ed23 | refs/heads/master | 2023-05-27T16:36:56.479063 | 2021-06-12T11:37:00 | 2021-06-12T11:37:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | hpp | #ifndef MYVK_DEVICE_HPP
#define MYVK_DEVICE_HPP
#include "DeviceCreateInfo.hpp"
#include "PhysicalDevice.hpp"
#include "Surface.hpp"
#include <memory>
#include <vector>
#include <vk_mem_alloc.h>
#include <volk.h>
namespace myvk {
class Device {
private:
std::shared_ptr<PhysicalDevice> m_physical_device_ptr;
VkDevi... | [
"y13916619121@126.com"
] | y13916619121@126.com |
baf22bf9ef643fbe71554774199e545d749354d6 | e760b152e89d0ae4515e6dafaf4077d22dfb1244 | /SDC1008/convert.cpp | 10fcfb06e06118f2b9befe03cd6cbae7e2a3e9a1 | [
"MIT"
] | permissive | jcstr/ISIC-2010-224 | 8ca07e71dd3e773d178d6d76c69405eed01bdde1 | 3c873ff5d7a60788987aca09be6617e65c0b5370 | refs/heads/master | 2022-02-12T18:36:10.770500 | 2022-01-31T18:24:40 | 2022-01-31T18:24:40 | 101,119,191 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | /*
Jesus Castro
convert.cpp
Escribir un programa que lea un número de pies, e imprima su equivalente en yardas, pulgadas, centímetros y metros.
*/
# include <cstdio>
int main()
{
float pies, yardas, pulgadas, centimetros, metros;
printf("Introduzca medida en pies:\n");
scanf("%f", &pies);
yardas = pies... | [
"51v4n@openmailbox.org"
] | 51v4n@openmailbox.org |
5896f00a68ec93c515c64501340900c658344914 | c4fcddc2c5f0b02bbf3602f6f9b0c89484a2662b | /src/LightInk3D/Math/Plane.cpp | a375da440d21adffb239cc7b7e2f4199208422b1 | [
"MIT"
] | permissive | ternence-li/LightInk3D | a54971ccd50fb15be8a4c019a038655ed9b1b9ea | 7b35419d164c9c939359f9106264841dc8c283a2 | refs/heads/master | 2021-06-11T20:21:44.810389 | 2017-01-20T09:59:44 | 2017-01-20T09:59:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,715 | cpp | //
// Copyright (c) 2008-2016 the Urho3D project.
//
// 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... | [
"baisaichen@live.com"
] | baisaichen@live.com |
ac050ce57b5dc538d09e0a4662bfa33570781ed3 | bf23225093745f545267694fcff77cb1734711b6 | /Codigos/libraries/ros_lib/gazebo_msgs/GetLinkProperties.h | 5ab27c92ed6af6a7427a43187d67e22e8a4aabc6 | [] | no_license | AndresCidoncha/TFG | 6b57a16f57cf78534b07451ca32b1992bf1e1d0f | 79905a8f04115bd3e082d4886fb71f3449acfc05 | refs/heads/master | 2021-01-17T12:38:15.175398 | 2016-06-27T13:48:42 | 2016-06-27T13:48:42 | 58,328,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,420 | h | #ifndef _ROS_SERVICE_GetLinkProperties_h
#define _ROS_SERVICE_GetLinkProperties_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "geometry_msgs/Pose.h"
namespace gazebo_msgs
{
static const char GETLINKPROPERTIES[] = "gazebo_msgs/GetLinkProperties";
class GetL... | [
"andrescidonchacarballo@gmail.com"
] | andrescidonchacarballo@gmail.com |
0d3f1883373da00da81790b33fc49368951bda0d | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-workspaces/source/model/ImportClientBrandingResult.cpp | 14f25dd284da46295f1b82c1b6d66b83415957f1 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 1,615 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/workspaces/model/ImportClientBrandingResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#inclu... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
6e48b7a388fb00a9d388b0e089e0669217ba06da | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/core/html/shadow/DetailsMarkerControl.cpp | 9d5c8b1577747c5af1099133d66f9299a476b131 | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 2,317 | cpp | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
5e0ac633c4aa6b8aeedf0fe3c52b322522a86b27 | 73a6c73fa08a4fc7aabcc6bb705d2e71132685b3 | /src/libs/wavm_common/include/keto/wavm_common/WavmSession.hpp | 4b1575716af28ec73aa42296503ec79cbb886dca | [
"MIT"
] | permissive | blockspacer/keto | 2f6ff979a9dc9513943bf9cedb4a302a70a2b66a | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | refs/heads/master | 2021-02-15T06:48:08.661393 | 2018-05-22T14:01:34 | 2018-05-22T14:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,183 | hpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: WavmSession.hpp
* Author: ubuntu
*
* Created on May 3, 2018, 2:05 PM
*/
#ifndef WAVMSESSION_HPP
#define WAVMSESSIO... | [
"brett.chaldecott@gmail.com"
] | brett.chaldecott@gmail.com |
b7b2f9b1ba9c4d3bccc6b65a1bb92e4198869bf3 | 8ebe232a679e01311f8cfafd38ecf81d867d49c1 | /StreamScanner.cpp | a39a28af65ee90134c646970d0227854beb6b789 | [] | no_license | agapow/multilocus | c6181f871d5b1c07fc4372dc4babdd03bad6887e | 944d098b3790a41f2a09c68ab1c3077e7ceb821d | refs/heads/master | 2021-06-03T11:49:00.524189 | 2015-09-03T14:50:27 | 2015-09-03T14:50:27 | 40,901,532 | 0 | 1 | null | 2021-05-15T15:37:09 | 2015-08-17T14:30:07 | C++ | UTF-8 | C++ | false | false | 3,116 | cpp | /**************************************************************************
StreamScanner - a reader/lexer for parsing a stream
Credits:
- By Paul-Michael Agapow, 2003, Dept. Biology, University College
London, London WC1E 6BT, UK.
- <mail://mesa@agapow.net> <http://www.agapow.net/software/mesa//>
About:
- breaks ... | [
"paul@agapow.net"
] | paul@agapow.net |
63f64f87be6a6284162718356ecfeaf44a6ff456 | b2d24578f5cfe745fc4123fa4b54598c28544bcf | /Queue.cpp | eaa13885a938679f002f7886680c402daaa13e31 | [] | no_license | brandonjones085/linkedListCombatGame | c472aa6da24236ab9ee81cdc1ca08e6f4dde83cf | 881fe65ecad6b3d2b620fb870deff689157496b4 | refs/heads/master | 2020-05-24T22:25:52.485048 | 2019-05-25T20:47:18 | 2019-05-25T20:47:18 | 187,496,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,610 | cpp | /*******************************************************************************
** Author: Brandon Jones
** Date: 05/20/2019
** Description: The Queue class
*******************************************************************************/
#include "Queue.h"
#include <iostream>
Queue::Queue()
{
hea... | [
"brandon.jones085@gmail.com"
] | brandon.jones085@gmail.com |
cdaff2dacd5bf88403a66f101cc3a259693c5617 | d65cca7885c442740906ab6975b33f0375cac614 | /vehicle/adapt-sysroot/ros_install_isolated/include/std_msgs/Empty.h | c0a32fb15d1b85298f1a35b4d8c50ea43629e0a2 | [
"MIT"
] | permissive | slicht-uri/Sandshark-Beta-Lab- | 4bb5d234345a47bddf767f45eefc1f35faec1b9c | 6cff36b227b49b776d13187c307e648d2a52bdae | refs/heads/master | 2021-01-20T05:01:48.289287 | 2016-07-21T15:27:18 | 2016-07-21T15:27:18 | 101,410,631 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,961 | h | /* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain... | [
"bgibbons@bluefinrobotics.com"
] | bgibbons@bluefinrobotics.com |
982a1bff1cc8447694e9e0a58d16f356c99bdd5b | 52a3c93c38bef127eaee4420f36a89d929a321c5 | /SDK/SoT_cmn_candle_group_02_classes.hpp | e18994ee47b3caf1bc3cd8d9aaa6777a7641f3a3 | [] | no_license | RDTCREW/SoT-SDK_2_0_7_reserv | 8e921275508d09e5f81b10f9a43e47597223cb35 | db6a5fc4cdb9348ddfda88121ebe809047aa404a | refs/heads/master | 2020-07-24T17:18:40.537329 | 2019-09-11T18:53:58 | 2019-09-11T18:53:58 | 207,991,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | hpp | #pragma once
// Sea of Thieves (2.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_cmn_candle_group_02_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
3311100f22b6d727cb9effa7f702b80b879bb15b | 5079de5e922fa51924e841d0c57629a6e009223f | /Society2.0/Society2.0/EcoSystem.cpp | f2b348c7028e21ea6dead7e9fb391763efb26a01 | [
"Unlicense"
] | permissive | mdheller/Society2.0 | 92ef0d6f4ebed0abe5f57fcd5fef95a3afb23d1d | a95e42122e2541b7544dd641247681996f1e625a | refs/heads/master | 2020-12-08T17:12:52.221477 | 2019-07-01T13:14:50 | 2019-07-01T13:14:50 | 233,043,910 | 1 | 0 | Unlicense | 2020-01-10T12:37:30 | 2020-01-10T12:37:30 | null | UTF-8 | C++ | false | false | 3,186 | cpp | #include "EcoSystem.h"
#include "BasicFunctions.h"
EcoSystem::EcoSystem()
{
this->branching_factor = new MetaFloat();
this->global_eco = new EcoSystemSurvival();
this->local_eco = new EcoSystemSurvival();
this->user = new Person();
this->v_tree = new Version();
}
EcoSystem::~EcoSystem()
{
global_e... | [
"simsim314@gmail.com"
] | simsim314@gmail.com |
2eb5e801aee489c02b38ccef039bc0abda9cc8b2 | b9dc188b2684fc8afccbd40273da6bb578099103 | /game_loader/main.cpp | 91a168a62b582363fc498e8e86e98591c389526f | [] | no_license | lefticus/crategameengine | 5f0908922c81a162c7f909dfa870c5265739b411 | 8409cf577ac849dec41a5048b42480aeade537b2 | refs/heads/master | 2021-01-21T12:36:02.494562 | 2008-04-06T20:45:21 | 2008-04-06T20:45:21 | 32,111,412 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,350 | cpp | #include "mvc/logger.hpp"
#include <dlfcn.h>
#include "game_personality/view.hpp"
#include "game_personality/world.hpp"
#include "game_personality/engine.hpp"
#include "game_personality/script.hpp"
//#include "game_script_handlers/lua_handler/lua_handler.hpp"
class module_holder
{
public:
module_holder(const s... | [
"lefticus@752a2981-5d46-0410-b228-ff5c8482e1d9"
] | lefticus@752a2981-5d46-0410-b228-ff5c8482e1d9 |
27a1d548248508e36e9856f753948f858a8cca60 | 7d7a3a2929e917e34c62a4f643832b0746ee0836 | /source/engine/resource_type.cpp | a0fa4f1c2cf1be857b01987d3ec4788594d1127b | [] | no_license | antoine-roille/loco | 48e17a959a43aa96a6e4a3d9c19f9352ba880004 | 70ba28aa89ddf0041d83ce83a9c7e012aabf4b79 | refs/heads/master | 2023-03-22T02:29:19.720409 | 2018-08-07T04:14:09 | 2018-08-07T04:14:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,644 | cpp |
#include "resource_type.h"
#include "loco.h"
#include <algorithm>
namespace loco{
namespace resource{
Mesh Mesh::invalid = Mesh(nullptr);
#ifdef LOCO_USE_HOT_RELOAD
std::list<MaterialData*> MaterialData::_all_materials = std::list<MaterialData*>();
#endif // LOCO_USE_HOT_RELOAD
Mesh::Mesh(MeshData* mat)
: s... | [
"antoine.roille@live.fr"
] | antoine.roille@live.fr |
f34515545d96dd4bbd5f0aa6b852143b5a2feb9d | 9fdc1cbdda5fca9a916388e81dcaf7fe3c44c17b | /src/chrono_opengl/shapes/ChOpenGLCloud.h | 6599b42fcf83efd757eba77625a17bff5e6a51e2 | [
"BSD-3-Clause"
] | permissive | StefanoZaghi1987/ChronoWheelDesigner | 473c7b4b7177532c6c0b6a7e04df03c85678c4ab | 48b0235565e6c1c08ce8b5a742bf92b0fcbd70f0 | refs/heads/master | 2021-01-22T00:29:12.900606 | 2018-01-26T15:20:01 | 2018-01-26T15:20:01 | 102,189,611 | 1 | 0 | BSD-3-Clause | 2018-01-26T15:20:02 | 2017-09-02T10:38:38 | C++ | UTF-8 | C++ | false | false | 1,575 | h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | [
"stefano.zaghi@gamma-spa.com"
] | stefano.zaghi@gamma-spa.com |
eb86dd5bd516115e1be1d3c2ca8d668873d981cd | 9112636155680dafe99343434af4ea2482d5b704 | /Problems/C++Workspace/귀찮아(SIB).cpp | af9ab16b3bb468960bb794b0ba35c063d76eee76 | [] | no_license | GoodLuckDay/Algorithm | 19a6cbae4483e99a2b1378440fbe5479bc5a4afa | 1eb8a270f357ea9ef9715215b98fa38f22a9e8fd | refs/heads/master | 2021-01-21T13:17:33.150216 | 2018-11-12T17:48:35 | 2018-11-12T17:48:35 | 102,113,420 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include <iostream>
using namespace std;
int main(){
cin.tie(NULL);
ios::sync_with_stdio(false);
int N;
long long result=0;
int* x;
long long* calc;
cin >> N;
x = new int[N];
calc = new long long[N];
cin >> x[0];
calc[0] = x[0];
for(int i=1; i<N; i++){
cin >>... | [
"haon4658@gmail.com"
] | haon4658@gmail.com |
72bc1c1cb54ac9f75904351077e57045d430c268 | e50ac350b6ea75ea728074e173a0450afda05318 | /ACM/Prictise/牛客/“九韶杯”河科院程序设计协会第一届程序设计竞赛/J-井字棋残局.cpp | 1210f34810ba181000e6a01b8780210c2742721c | [] | no_license | G-CR/acm-solution | 9cd95e4a6d6d25937a7295364e52fa70af4b3731 | 7026428ed5a2f7afd6785a922e1d8767226a05e8 | refs/heads/master | 2021-07-23T14:30:18.107128 | 2021-07-15T14:54:57 | 2021-07-15T14:54:57 | 226,522,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,420 | cpp | #include <bits/stdc++.h>
using namespace std;
bool win(int k) {
return
(((k>>1)&1) & ((k>>2)&1) & ((k>>3)&1)) ||
(((k>>4)&1) & ((k>>5)&1) & ((k>>6)&1)) ||
(((k>>7)&1) & ((k>>8)&1) & ((k>>9)&1)) ||
(((k>>1)&1) & ((k>>4)&1) & ((k>>7)&1)) ||
(((k>>2)&1) & ((k>>5)&1) & ((k>>8)&1)) ||
(((k>>3)&1) & ((k>>6)&1) & ((k>... | [
"1206770096@qq.com"
] | 1206770096@qq.com |
3ea1fe54a151fd621fa5480e98b827f8e8c4f379 | 0a1be59f55b359866370c2815671af22bd96ff51 | /dependencies/skse64/src/skse64/CommonLibSSE/include/RE/BSMusicEvent.h | ce7d1d0b1bad6ba2746fb175ebae9e7f17337241 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | joelday/papyrus-debug-server | ba18b18d313a414daefdf0d3472b60a12ca21385 | f5c3878cd485ba68aaadf39bb830ca88bf53bfff | refs/heads/master | 2023-01-12T14:34:52.919190 | 2019-12-06T18:41:39 | 2019-12-06T18:41:39 | 189,772,905 | 15 | 10 | MIT | 2022-12-27T11:31:04 | 2019-06-01T20:02:31 | C++ | UTF-8 | C++ | false | false | 58 | h | #pragma once
namespace RE
{
struct BSMusicEvent
{};
}
| [
"joelday@gmail.com"
] | joelday@gmail.com |
3d022d2371a336d90ad4603d39b5f41ca94541e9 | 19907e496cfaf4d59030ff06a90dc7b14db939fc | /POC/oracle_dapp/node_modules/wrtc/third_party/webrtc/include/chromium/src/net/spdy/spdy_header_block.h | 1ee97086aa87c42c85e8af4a91fdb00702334e81 | [
"BSD-2-Clause"
] | permissive | ATMatrix/demo | c10734441f21e24b89054842871a31fec19158e4 | e71a3421c75ccdeac14eafba38f31cf92d0b2354 | refs/heads/master | 2020-12-02T20:53:29.214857 | 2017-08-28T05:49:35 | 2017-08-28T05:49:35 | 96,223,899 | 8 | 4 | null | 2017-08-28T05:49:36 | 2017-07-04T13:59:26 | JavaScript | UTF-8 | C++ | false | false | 5,293 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_SPDY_SPDY_HEADER_BLOCK_H_
#define NET_SPDY_SPDY_HEADER_BLOCK_H_
#include <stddef.h>
#include <map>
#include <memory>
#include <string>
... | [
"steven.jun.liu@qq.com"
] | steven.jun.liu@qq.com |
619f5c3f59431c1ff425f2b06833aee56aafb282 | 4e1934b6f11764442e2be6d6494c1893455449cf | /eval.cpp | 1e6bf57d9f1024b2f9ba8a926164e48e92f28a78 | [] | no_license | davewx7/darkchess960 | e41d69928e334e1c1c10f99e5552dfc7294ebeef | 46e3d6404b8791d665a53588c4a457927ceb6365 | refs/heads/master | 2021-01-10T12:50:10.781425 | 2008-04-12T04:23:57 | 2008-04-12T04:23:57 | 47,889,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,011 | cpp | #include <assert.h>
#include <iostream>
#include "board.hpp"
#include "eval.hpp"
#include "player.hpp"
namespace {
const int KnightValues[64] = {
-10, -6, -5, -5, -5, -5, -6, -10
-6, -5, -3, 0, 0, -3, -5, -6,
-2, 2, 4, 2, 2, 4, 2, -2,
0, 4, 4, 4, 4, 4, 4, 0,
0, 4, 4, 4, 4, 4, 4, 0,
-2, ... | [
"davewx7@16a5cc02-a24a-0410-8571-458bae3f936f"
] | davewx7@16a5cc02-a24a-0410-8571-458bae3f936f |
373c663084bfece49aacda851876fd6c319b74cd | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/Z6.2+poreleaserelease+ctrlonceonce+pooncerelease.c.cbmc_out.cpp | 45cb485312932436c5b7e4b267673e1b3d6eb614 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 41,327 | cpp | // Global variabls:
// 0:vars:3
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
// 2:thr2:1
#define ADDRSIZE 5
#define LOCALADDRSIZE 3
#define NTHREAD 4
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define m... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
6812a055e333aa3ef14c0b8219a005034c12f367 | e3441b155aaff1d0a80c901ed203a14922dd841b | /src/hrdint/uharp/AprsPacketUtil.cpp | 9fc9a6aed62ac45e96224236a5790944aac4b702 | [] | no_license | uccubecats/MaineCoon | 5ffb9ccffc13754c54597c978ff5c1e62e1217bd | bb92b99b1646bfa32666925d05a9406d042da29d | refs/heads/master | 2021-01-10T02:03:37.858351 | 2016-03-14T22:50:46 | 2016-03-14T22:50:46 | 46,018,525 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,640 | cpp | #include "AprsPacketUtil.h"
// Implementation of the absolute value function.
float aprs::abs(float x) {
if(x < 0) {
return -1*x;
}
return x;
}
// Function used to get the best c-coefficent given the best a, b, and x values.
int aprs::getBestC(int a, int b, int x, float v) {
int bestC = -128;
for(... | [
"Parcell.Tyler@gmail.com"
] | Parcell.Tyler@gmail.com |
137981156065485087ebced34f8089e55c793640 | cf0819ec3130cb1e2857c958db26c83a32af283d | /src/Renderer/Model.cc | dd27af58a215020ac11ee1e07f40a559ed278271 | [] | no_license | Darksecond/Ymir | e81b86eac639a79c7a5d79d9626191856595a826 | 65afbe73c1ca32e1feccd28945ffb7a909b00e78 | refs/heads/master | 2021-01-25T06:01:01.285950 | 2013-03-08T13:44:42 | 2013-03-08T13:44:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | cc | #include "Model.h"
using namespace Ymir;
std::unique_ptr<Model> Model::fromEntity(const Entity& entity)
{
//if entity has both Light and Spatial, make a Light
ModelComponent* modelC = entity.component<ModelComponent>();
SpatialComponent* spatialC = entity.component<SpatialComponent>();
if(modelC != nu... | [
"mail@darksecond.nl"
] | mail@darksecond.nl |
f75a2131b41ebc3f2e722320f1fe97991661e324 | 4728c8d66b28dbc2644b0e89713d1815804da237 | /src/developer/shell/interpreter/src/nodes.cc | 7fde5663402b7a31ea3b5358a88654fc64cf49c4 | [
"BSD-3-Clause"
] | permissive | osphea/zircon-rpi | 094aca2d06c9a5f58ceb66c3e7d3d57e8bde9e0c | 82c90329892e1cb3d09c99fee0f967210d11dcb2 | refs/heads/master | 2022-11-08T00:22:37.817127 | 2020-06-29T23:16:20 | 2020-06-29T23:16:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,626 | cc | // Copyright 2020 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/developer/shell/interpreter/src/nodes.h"
#include <sstream>
#include <string>
#include "src/developer/shell/interpreter/src/expressions.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
47c985fd4850303e672fcf1994aec5e8e38684c2 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/renderer/safe_browsing/murmurhash3_util_unittest.cc | adcae890abaf34c7a5152feb1a8c72d67d4621a6 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Unit test to verify basic operation of murmurhash3.
#include "chrome/renderer/safe_browsing/murmurhash3_util.h"
#include <string>
#inc... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
b15ee7bc924a04de663d51c468c2e624eea855a7 | 1cc17e9f4c3b6fba21aef3af5e900c80cfa98051 | /content/shell/layout_test_controller_host.cc | eeb6063c1bd6dd24ee366c78daf9746213f90201 | [
"BSD-3-Clause"
] | permissive | sharpglasses/BitPop | 2643a39b76ab71d1a2ed5b9840217b0e9817be06 | 1fae4ecfb965e163f6ce154b3988b3181678742a | refs/heads/master | 2021-01-21T16:04:02.854428 | 2013-03-22T02:12:27 | 2013-03-22T02:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,716 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/shell/layout_test_controller_host.h"
#include "base/message_loop.h"
#include "content/public/browser/render_view_host.h"
#include "... | [
"vgachkaylo@crystalnix.com"
] | vgachkaylo@crystalnix.com |
7b275f1a1634553a569a2c4bf0f878205e96085c | 986583b644191b0e8239f9c883ae6b25da17284a | /maxProductAfterCutting.cpp | 624fa53ad051ccafed393fd4b4c8b4c92df8bd01 | [] | no_license | Bull-rider/Algorithm | ca4e0b11151b3158ad3dbac24e431398305c01cf | e649d77a50b0099fb775277630aa3136b2c16646 | refs/heads/master | 2020-04-13T14:17:14.127290 | 2019-03-09T02:26:26 | 2019-03-09T02:26:26 | 163,257,556 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | cpp | /****************************************
File Name: maxProductAfterCutting.cpp
# Author:yxg
# mail:yxi7899@gmail.com
# Created Time: Tue 08 Jan 2019 11:06:51 AM CST
****************************************/
#include <iostream>
#include <math>
using std::cout;
using std::endl;
// 面试题14:剪绳子
// 题目:给你一根长度为n绳子,请把绳子剪成m段(... | [
"yxi7899@gmail.com"
] | yxi7899@gmail.com |
6da9aa0257a8f0c610741e623f14ca3a208d7ba1 | 4eaab46d2ae7395ca8c273e80bdae779368d68c3 | /Practising/kruskal_kc97bl3.cpp | 336827dbb097dea7a7536eb4e6f03648bcae580a | [] | no_license | ngoquanghuy99/Data-structures-Algorithms-problems-and-solutions | b96f15f2245d66f8914ebb1552e7540cd610c400 | 95bb1dba201f94b23ff6a45344ada2b9f64597aa | refs/heads/master | 2022-12-25T04:49:39.605637 | 2020-10-06T15:48:45 | 2020-10-06T15:48:45 | 272,522,675 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | #include <stdio.h>
#include <vector>
#include <algorithm>
#include <iostream>
using namespace std;
int par[230997];
int anc(int p){ if (par[p]==p) return p; else return par[p]=anc(par[p]); }
void join(int p, int q){ par[anc(p)]=anc(q); }
typedef pair<int, int> ii;
typedef pair<int, ii> iii;
#define X first
#define Y ... | [
"ngoquanghuy1999lp@gmail.com"
] | ngoquanghuy1999lp@gmail.com |
2135e9bdf232c83ca34d0eaa6e9041e0979493d7 | b61ef6d77c93c0e5ddc2c1bb9f8699f5a43150e3 | /MToolLib/include/MTLProperty.h | ee5451533eefd1c70b51f5baebddfa18cf96ddc9 | [] | no_license | wzugang/MDXUI | 34441fbbb785f4c045ec6395de49201856e7418e | 4f0e9d3df0755ff5a7e9e6ea0333550b06f5dcdf | refs/heads/master | 2020-03-29T19:33:35.809043 | 2018-09-18T03:50:03 | 2018-09-18T03:50:03 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,477 | h | #pragma once
#include <MTypeTool.h>
#include <future>
#include <MAny.h>
#include <MNoCopy.h>
#include "MTLConfig.h"
#include <HContainer.h>
#include <MTLTracePtr.h>
//
// 属性绑定第二版,该版本计划实现多槽连接,同时支持同步异步的选择
// 要实现同步和异步对于带有GUI操作的东西来说将是一个非常复杂的过程
// 由于不可能重新封装一个消息循环
// 所以在和线程不安全的GUI对象同步的时候需要自己注意
//
#ifndef msignals
#define... | [
"sh06155@hotmail.com"
] | sh06155@hotmail.com |
dfa332baf4291f3736ed9b04be5cb6652054947a | 43ae0d65a9acbfbfe8c36e158e1a590f6db02ad5 | /jni/WiEngine_binding/actions/com_wiyun_engine_actions_Spawn.cpp | f160d4e45a78bb404deed1218411ef3665664baf | [
"MIT"
] | permissive | identy/WiEngine | bfd0f5b95f0be72274e1dfb341d732d4a571993c | 2fb4276f558a5b1660d940b982c591cb7c73aec8 | refs/heads/master | 2020-12-25T01:27:01.452216 | 2013-04-22T03:22:24 | 2013-04-22T03:22:24 | 9,659,254 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | #include "com_wiyun_engine_actions_Spawn.h"
#include "wySpawn.h"
extern jfieldID g_fid_BaseObject_mPointer;
JNIEXPORT void JNICALL Java_com_wiyun_engine_actions_Spawn_nativeInit
(JNIEnv * env, jobject thiz, jobject one, jobject two) {
wyFiniteTimeAction* o = (wyFiniteTimeAction*)env->GetIntField(one, g_fid_... | [
"stubma@gmail.com"
] | stubma@gmail.com |
f1a5131d32a611966d2e5cec61b3d22763fe41c4 | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/External/SDK/UI_Event_ButtonRestriction_functions.cpp | b0d484e79e982d0523a8682e532935cf58c4a13c | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | cpp | // Name: Medieval Dynasty, Version: 0.6.0.3
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
7c686ce9a025b5e19bb525c506d65ab07bfc1b91 | f18e5fec8be6fbc61e750dacf71d5783acdf4585 | /extend_speedometer/messages.h | fb8a4c2564331abcf422d58fd986bef94229aed9 | [] | no_license | kruprz/m365_display | 676401b1e7a437794ea3b78ff2ac8b1fb61e38cc | ea17a1b67f5d1f6bbe48cd026f752f3b36e2937e | refs/heads/master | 2020-03-19T11:20:06.510475 | 2018-06-07T01:53:12 | 2018-06-07T01:53:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | h | #ifndef MESSAGES_h
#define MESSAGES_h
#define MAX_MESSAGES 30
#define MAX_BROADCAST 10
#include "Arduino.h"
#define DROP 0
#define NEW 1
#define READY 2
class MessagesClass
{
private:
unsigned char messages[MAX_MESSAGES];
unsigned char broadcast[MAX_BROADCAST];
public:
MessagesClass();
voi... | [
"lunobeg@gmail.com"
] | lunobeg@gmail.com |
6c3c6d5e36a1230ef4ce8fb91a0b103b7cd7d761 | 297497957c531d81ba286bc91253fbbb78b4d8be | /third_party/libwebrtc/test/time_controller/real_time_controller.h | 10d9bcac346c5486756dadd58f0bb81a631f56b0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 881 | h |
#ifndef TEST_TIME_CONTROLLER_REAL_TIME_CONTROLLER_H_
#define TEST_TIME_CONTROLLER_REAL_TIME_CONTROLLER_H_
#include <functional>
#include <memory>
#include "api/task_queue/task_queue_factory.h"
#include "api/test/time_controller.h"
#include "api/units/time_delta.h"
#include "system_wrappers/include/clock.h"
... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
a07894263487db70dae22531912284deed53b5dc | 3adef134af0da3b55f11fa3f8dc80cfc4e8c8fc3 | /sqrt.cpp | 7c3044174d9cd944e37d5355629051d83e8f8ca2 | [] | no_license | starmap0312/leetcode | fb402525050ea0cee5e663165d306d9c4cbaafdf | 9d99ad4de20f36bc511c0c141b75b2515d04cc38 | refs/heads/master | 2021-01-04T14:22:04.566212 | 2020-11-10T03:05:08 | 2020-11-10T03:05:08 | 39,904,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | /* - long n; ==> use long if int is not sufficient for large integer computation
* - use while-loop not recursive function if recursion does not work or while-loop is clearer
* in this example, you can not get both start and end when the recursion terminates
* so while-loop is a better deal
*/
#include <iostrea... | [
"starmap0312@gmail.com"
] | starmap0312@gmail.com |
979a61594d287bcb56b1e8440293e0fe56af0883 | 868de6a7737acf53c4e26c6d03e890265fbfb1d8 | /OpenGLDlg.h | 5fe87bc9036d001159b6180e72cbfff8cb9caa9b | [] | no_license | CohenINT/mayabeePrj | e9eb0b0c8ce5b4e322bd781daeef170871a890da | b64bf4cafeae658042695e480fadaf3e69415448 | refs/heads/master | 2019-07-01T21:36:51.432018 | 2017-09-09T08:52:44 | 2017-09-09T08:52:44 | 102,611,587 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | h |
// OpenGLDlg.h : header file
//
#pragma once
#include "GlView.h"
// COpenGLDlg dialog
class COpenGLDlg : public CDialogEx
{
// Construction
public:
COpenGLDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_OPENGL_DIALOG };
#endif
protected:
virtual void ... | [
"moshe22cohen@gmail.com"
] | moshe22cohen@gmail.com |
33e3902ef1e0c140713563c86d4b94997e503cd0 | 07b5afc820f3871e9385cf830af5fe9ec9374c9a | /DriderUIUnitTest/TestApplication.cpp | 95cabbcd0fd53909a88c188ba3f453ae49015e52 | [] | no_license | pugakn/Drider-Engine | 118e29ddfb911040338207d0024be50669c96a2a | 442bdfdb306faeed63e2d2f86c690e44a77a347a | refs/heads/master | 2022-01-18T16:18:56.990342 | 2018-05-26T08:10:28 | 2018-05-26T08:10:28 | 103,082,039 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,692 | cpp | #include "TestApplication.h"
#include <iostream>
#include <dr_gameObject.h>
#include <dr_d3d_swap_chain.h>
#include <dr_rasterizer_state.h>
#include <dr_time.h>
#include <dr_input_manager.h>
#include <dr_graphics_driver.h>
#include <dr_blend_state.h>
#include <dr_resource_manager.h>
#include <dr_camera_manager.h>
#incl... | [
"puga_deathnote@hotmail.com"
] | puga_deathnote@hotmail.com |
b5d322651d4d81b02222fe02ba2d60fa983b0f9d | 8f641073be6433186f1f2e81561646571fcccb2c | /robot/simulateRobot.cpp | 78c4ec1a6c5c5d8440c102f1645ae2c38f9c68d7 | [] | no_license | elcerdo/box2d | 09a5d92406934b3dc627f01dd0a6c1e1d25d66f2 | 1d9e437be2084485d752fee9edd2065189f4e77e | refs/heads/master | 2020-04-05T00:35:12.636466 | 2013-05-11T12:42:01 | 2013-05-11T12:42:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | cpp | #include <QCoreApplication>
#include "world.h"
#include "logic.h"
#include "robot.h"
int main(int argc,char * argv[])
{
if (argc<3) {
cerr << "simulateRobot definition.pck performance.pck" << endl;
exit(2);
}
std::string input_filename = argv[1];
std::string output_filename = argv[2];
RobotDef robot... | [
"georges.wbushjr@laposte.net"
] | georges.wbushjr@laposte.net |
174deb63c608836f46949cc9082116dcbd48c561 | d5a2f4a2857568dbc46a2c121fd8a244bd05cc3f | /Gorgon_Hang/Gorgon/GraphMatch/WongMatchMissing15.h | 876bed6af99435ebaf4fa6a5623696b5f0aeeff0 | [] | no_license | FluffyDou/HangDou | 0f8426135790c13958dc36c30218c49dac6c915d | bf04fb14c38e680e8c3926bc86663c0c985d1cb2 | refs/heads/master | 2021-01-16T23:08:59.092082 | 2016-10-29T03:56:10 | 2016-10-29T03:56:10 | 72,019,158 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,377 | h | /*
Graph Matching algorithm based on the following paper:
Wong et al., An algorithm for graph optimal monomorphism,
IEEE Transactions on Systems, Man, and Cybernetics, Vol 20, No 3, May/June 1990, pp628-636
Modified to support missing helixes.
Author: Sasakthi S. Abeysinghe
Date : 08/14/2006
*/
#ifndef WONGM... | [
"hangdou@gmail.com"
] | hangdou@gmail.com |
b15b10b30eeba873c8ffbb081f238615cba0cff3 | 92bac70806163fac6244b4e310adb9dd62941621 | /tprds/Manager.hh | 1305ec37550e23c61ede0545910c259646259879 | [] | no_license | lcls-l2daq/pds | d61d0a83dfe42781c546a39c64379bfa45900897 | c580cabde30cd40a6b218eb59d5070c012c9b3cf | refs/heads/master | 2021-01-18T23:32:33.119868 | 2017-10-23T19:50:03 | 2017-10-23T19:50:03 | 87,112,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | hh | #ifndef Pds_TprDS_Manager_hh
#define Pds_TprDS_Manager_hh
namespace Pds {
class Appliance;
class CfgClientNfs;
class Fsm;
namespace TprDS {
class TprReg;
class Server;
class Manager {
public:
Manager (TprReg&, Server&, CfgClientNfs&, bool lmonitor=false);
~Manager();
public:
... | [
"weaver@slac.stanford.edu"
] | weaver@slac.stanford.edu |
83b4be90181a2b9738e0bdffde3f624a98b3a618 | d7e8806194d9afcd03ce6d91bfb628988393e9fb | /Lib/GelFileInfo/GelFileInfo.h | b9e3eea3e525e06e6307c00d3f1871499366c81e | [] | no_license | mikekasprzak/gel3-lib | 2eac2ed89944bdcad094b9be2850b108c2d4721d | 6ca4f58b6bea8707face8bcdd1949658a1b7521b | refs/heads/master | 2020-03-23T22:59:53.772671 | 2018-07-24T20:41:21 | 2018-07-24T20:41:21 | 142,210,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,249 | h | // - ------------------------------------------------------------------------------------------ - //
// GelFileInfo - Information about a file //
// - ------------------------------------------------------------------------------------------ - //
#ifndef __GEL_LIB_GELFILEINFO_H__
#define __GEL_LIB_GELFILEINFO_H__
... | [
"mike@sykhronics.com"
] | mike@sykhronics.com |
6dad3c73db27847c1179855bb883c3b06091c4e7 | 6f4ffb4eb9d2764b4b9d5a6949bdf294e7ba2dfe | /08203源代码/14_3/FTPTreeCtrl.h | ab2ab43401676e55c0595f849458d88691a0d8f3 | [] | no_license | luojinrong/Windows-Class | c0ff1eb0d5d9438e05c811c148df5be3a7ba0732 | bedcb9ed9ee35d3318544a2045046a7183ff1db8 | refs/heads/master | 2020-04-01T00:45:09.211001 | 2018-10-29T11:14:16 | 2018-10-29T11:14:16 | 152,711,785 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,563 | h | #if !defined(AFX_FTPTREECTRL_H__7C742E57_3A6D_4B27_A2E5_2465CE8F6A0D__INCLUDED_)
#define AFX_FTPTREECTRL_H__7C742E57_3A6D_4B27_A2E5_2465CE8F6A0D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FTPTreeCtrl.h : header file
//
////////////////////////////////////////////////////////////... | [
"840841939@qq.com"
] | 840841939@qq.com |
1480ddfa603b1d168f4e1697cf7372e754acf3e9 | 3b4696f5353468e08377283726ff8ac3b44a1f62 | /driver/netdev_driver/netdriver_omron_plc.h | 91f8dcb76968e30940cfc91492eca1690ccdc14d | [] | no_license | hmguan/grace | 7b8e14b07b35eb12c153765ba9f2189230fcd224 | d4da5ec4b668720be6ff5c9b88a9d92d040e8bc1 | refs/heads/master | 2020-03-26T20:56:00.460868 | 2018-08-20T11:21:58 | 2018-08-20T11:21:58 | 145,356,104 | 0 | 0 | null | 2018-08-20T02:27:21 | 2018-08-20T02:27:21 | null | UTF-8 | C++ | false | false | 1,843 | h | #ifndef __NETDRIVER_OMRONPLC_H__
#define __NETDRIVER_OMRONPLC_H__
#include "network_handler.h"
#include <thread>
#include "var.h"
#include "memnetdev.h"
#include "os_util.hpp"
#include <condition_variable>
#include <mutex>
#include "netdriver_base.h"
class netdriver_omron_plc :public nsp::tcpip::obudp ,pu... | [
"250603123@qq.com"
] | 250603123@qq.com |
b4b5ab26ab6d9dd37f9d0e789cc42b403e65b552 | 50e91dd5889fbad42810533b82268d58bfe1e169 | /bela/example5/render.cpp | 895ffedc00a33132f9ef6123e20a80da0ae6afda | [] | no_license | HjalteBested/resonators | a55db87ffba4ebb77916ec67ffcdbd18b7eea766 | 80233a7aefeb87eea01c0af148decc8825ca7f3f | refs/heads/master | 2022-04-21T12:00:38.747926 | 2019-12-07T20:36:13 | 2019-12-07T20:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,355 | cpp | #include <vector>
#include <Bela.h>
#include <Scope.h>
#include "Resonators.h"
#include "Model.h"
// Example 5: combination of examples 3 & 4, plus Bela scope for inputs
Scope scope;
std::vector<ResonatorBank> resBank;
ResonatorBankOptions resBankOptions = {};
std::vector<std::string> pitches = {"c4", "d4", "e4", ... | [
"jack.armitage@me.com"
] | jack.armitage@me.com |
734fc1895192623924e853fd054921abb4908e16 | 41bf2e9fb47fc35a1ed1a3050b5729b2ee26e880 | /codeforces/1560/E.cpp | e044884ebfffec72fc765a952396e92bb2832b15 | [] | no_license | ankur-kayal/Contests | 460bc35c5848a89873172afabf61de17678fc4d1 | 86521b002f6e35d86a19a6d0c9e8468fae535293 | refs/heads/main | 2023-08-13T11:35:51.353783 | 2021-09-12T14:45:00 | 2021-09-18T14:17:07 | 339,523,983 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,381 | cpp | #include <bits/stdc++.h>
using namespace std;
#define nl '\n'
//----------------------------------- DEBUG -----------------------------------
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
enable_if<sizeof dud<c>(0) x 1, debug&>::type operat... | [
"ankurkayal1234@gmail.com"
] | ankurkayal1234@gmail.com |
876ec9447fdcbe37dfacefaeb34c309ab3633d39 | bc22c85feb6da34dd1b18bc9c318b0fcb9f98b45 | /WaveArray.cpp | cac879fb84cfa2d1eb3ca29ac48d3df6e1e59413 | [] | no_license | caboneves/InterviewBitSolutions | 873df8042746586aeefee5c5a8d73ea45eac61dc | 5768975e205253d80c780023003510f74e5970a2 | refs/heads/master | 2020-03-25T12:12:07.513512 | 2018-08-06T23:18:45 | 2018-08-06T23:18:45 | 143,764,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | cpp | vector<int> Solution::wave(vector<int> &A) {
sort(A.begin(),A.end());
for (int i=0;i<(int)A.size()-1;i+=2){
std::swap(A[i],A[i+1]);
}
return A;
}
| [
"brunosneves995@gmail.com"
] | brunosneves995@gmail.com |
572ab1fa41527e6d84640cf6a911ad2eadec8da9 | 9895e3dc972a64c732f5aa87cd9e6de40162058b | /msbuild-maven-plugin-it/src/test/resources/output-directory-test/output-directory-test/stdafx.cpp | 8b06dbf8dcda4428ba0847dd767a54f21e35eba0 | [
"Apache-2.0"
] | permissive | andi12/msbuild-maven-plugin | 06c57277f82a160893d8829db791cf94263eb7bd | 0bda7998726a5771ebf191f24b73832b2a134618 | refs/heads/master | 2023-08-25T19:16:07.416230 | 2022-07-12T17:59:21 | 2022-07-12T17:59:21 | 12,543,195 | 4 | 3 | Apache-2.0 | 2023-08-17T22:34:46 | 2013-09-02T15:27:32 | Java | UTF-8 | C++ | false | false | 300 | cpp | // stdafx.cpp : source file that includes just the standard includes
// output-directory-test.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"andi@raje.org.uk"
] | andi@raje.org.uk |
0b4b590bcde9443638d808abac81a9cd2fdaafe1 | 1747451547aa2c49bb3b5d020231026be1bfa1a5 | /GB28181/csrlib/csrlib/EvethingJurnal/EvethingJurnal.h | 5496a6bd466c7f5ebba804e41da493a1d24673bb | [] | no_license | lcmftianci/mutildownload-linux | 83d9cccd095040c2fb9fd1b32aeda90812eb2388 | 73539b95315928da3bc273ed3d46f28f4bfffe60 | refs/heads/master | 2021-05-03T16:42:18.606225 | 2018-02-06T11:11:32 | 2018-02-06T11:11:32 | 120,441,906 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 522 | h |
// EvethingJurnal.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
// CEvethingJurnalApp:
// See EvethingJurnal.cpp for the implementation of this class
//
class... | [
"707010543@qq.com"
] | 707010543@qq.com |
1e8884c6cf6b30dc06d1aad157004af371a6033e | 0335521931f42bcd4b31d9cd3c36a6abec1aad92 | /Sources/Windows/Dialogs/TDialogLabel.cpp | 8553ef74a62d3afdcbac935d9720a94d10661906 | [] | no_license | rogergithubbing/CapriceForEveryone | 88a048976781c2e8c28b39b3fe33d530890cef4f | ae252a7acd909ea2954640bb778f08c718511c0a | refs/heads/master | 2021-08-18T09:39:26.622545 | 2019-04-14T16:34:26 | 2019-04-14T16:34:26 | 178,580,655 | 2 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 5,003 | cpp | /*
CaPriCe Forever - Amstrad CPC 464/664/6128 emulator
Copyright (C) 2014-2016 by Frédéric Coste
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, o... | [
"Roger"
] | Roger |
1d3197822444b84649f2b18c200683d85c22461d | 1a8ac76c6f7ba53fa6292f680e664dc084d69cf4 | /src/lib/window/Window.hpp | 540b4e230830311bdac746f81a8cd59ced196b82 | [
"MIT"
] | permissive | Lut99/Rasterizer | eb14ac6f873b54966d559458961e89be986351e0 | 453864506db749a93fb82fb17cc5ee88cc4ada01 | refs/heads/master | 2023-08-24T23:46:21.258199 | 2021-10-01T10:21:14 | 2021-10-01T10:21:14 | 374,108,823 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,342 | hpp | /* WINDOW.hpp
* by Lut99
*
* Created:
* 02/07/2021, 13:45:00
* Last edited:
* 07/08/2021, 18:20:38
* Auto updated?
* Yes
*
* Description:
* Contains the Window class, which manages the GLFW window and bundles
* Vulkan instance, gpu, surface and swapchain together in one place.
**/
#ifndef WINDO... | [
"mullertim99@gmail.com"
] | mullertim99@gmail.com |
b78d10d6b98dc80b6511a2c88edbeeb251935370 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/BeSS/inst/include/BeSS_RcppExports.h | 3ac65ab6222f31da935a3d2015054cfd14cd62f3 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,369 | h | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#ifndef RCPP_BeSS_RCPPEXPORTS_H_GEN_
#define RCPP_BeSS_RCPPEXPORTS_H_GEN_
#include <RcppEigen.h>
#include <Rcpp.h>
namespace BeSS {
using namespace Rcpp;
namespace {
void ... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
5b6abe9d514cee4fdda1c8984b016576fe5d4d05 | 0615fd17ae28bdb62918b8b275b72e098f9d1078 | /Classes/M_DropFuncHandler.h | d2605dfc6e1f456bb42a1423089a6708b94a2aad | [
"MIT"
] | permissive | InternationalDefy/AdvenTri-Cocos | 7c7f072af3f6872fae9e430714de16de80f0f1f9 | 966ef8112a350b6ddb0ed22f33c14abed35b51b5 | refs/heads/main | 2022-12-30T04:11:24.554959 | 2020-10-26T13:02:38 | 2020-10-26T13:02:38 | 307,361,154 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | h | #ifndef __M_DROPFUNC_HANDLER__
#define __M_DROPFUNC_HANDLER__
#include "cocos2d.h"
#include "Ref_Enum.h"
class SD_ItemState;
class M_ItemState;
class M_DropFuncParser;
using namespace cocos2d;
class M_DropFuncHandler :public Ref
{
private:
void init();
static M_DropFuncHandler* create();
std::map<AdvenTriEnum::I... | [
"DTEye1533014901@126.com"
] | DTEye1533014901@126.com |
318b50bba377b5b5c512d0a263d281d4011b1a11 | 695d54ab3e8b432f9687c1475206731d9a4c0211 | /UvaOnlineJudge/543.cpp | 35264c00d8741f79adfafdd9841be470131d5e29 | [] | no_license | JuanPabloRN30/Competitive_Programming | 74c388f3a38235858818cff68ab1ff36d2262518 | 65394a531cc300a503356b1e09a4e9987310cf82 | refs/heads/master | 2020-07-09T04:38:25.785834 | 2017-09-29T19:26:10 | 2017-09-29T19:26:10 | 66,211,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
vector < int > primes;
void sieve(ll N)
{
bitset<10000010> bs;
bs.set();
for( ll i = 2 ; i <= N ; i++ )
{
if( bs[ i ] )
{
primes.push_back( i );
for( ll j = i*i ; j <= N ; j+= i )
bs[j] = false;
}
}
}
in... | [
"juanpablorn30@gmail.com"
] | juanpablorn30@gmail.com |
6b5e9e37a988f1d85069b95ad9700a15c5064a5d | 29264900ee8d63c67b46ec20d7aff224984e0f5f | /llvm/compiled/include/llvm/IR/IntrinsicsHexagon.h | dc7cfebdece3f5fe469b71d379235242d11b18ff | [] | no_license | LumiOwO/tiger_compiler | 3eea625f46ea8924e0cf5d2d2e730873ab84de96 | 29fe8c1f26489e3c1790ee6f446eb8b99802942d | refs/heads/master | 2023-03-15T15:57:31.804857 | 2020-05-15T09:25:12 | 2020-05-15T09:25:12 | 259,235,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135,735 | h | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* Intrinsic Function Source Fragment *|
|* ... | [
"948697775@qq.com"
] | 948697775@qq.com |
4e7c6c215684b29fabcc70d1fb4df6f4ddf0b92a | 2c68002bf016264671c3a41251a0af4ab8eb6639 | /Autocomplete/binary_search_deluxe.cpp | 4f89c4f54a7cbb15bac277579080431aadcafbcd | [] | no_license | Konstantin343/CPP-ITMO | 9adc033c0a7285f0c809a2ed8cf4069b7f433c91 | 46475fc50de42f11b685f5b318fa8af08ac99dc9 | refs/heads/master | 2020-06-02T16:57:27.674685 | 2019-06-10T20:28:14 | 2019-06-10T20:28:14 | 191,237,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include "binary_search_deluxe.hpp"
int binary_search_deluxe::first_index_of(const std::vector<term>& arr, const term& key, term::Comp comparator) {
int left = -1;
int right = arr.size();
while (right - left > 1) {
int med = (left + right) / 2;
if (comparator(arr[med], key)) {
left = med;
} else {
right... | [
"shader42@gmail.com"
] | shader42@gmail.com |
7aff8d8833275d37ac3994bce885bda35dad5523 | 19fde8ce837204bc8ab1a2d34445a7326d95b153 | /blue/7th/C本科B/s/pai.cpp | 3b0c983dd3a374cf9dee35a05e2a0c6384d5667d | [] | no_license | JS00000/acmCode | aad59f1fdd66bb3b4b2208c8c5be0f26b7169405 | eda5dbcef4a66618fc27e79184a2ae93618ee6b1 | refs/heads/master | 2021-05-24T04:27:11.966469 | 2021-03-01T08:55:35 | 2021-03-01T08:55:35 | 55,392,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include <stdio.h>
#define N 6
#define M 5
#define BUF 1024
void f(int a[], int k, int m, char b[])
{
int i,j;
if(k==N){
b[M] = 0;
if(m==0) printf("%s\n",b);
return;
}
for(i=0; i<=a[k]; i++){
for(j=0; j<i; j++) b[M-m+j] = k+'A';
// ______________________;
f(a,k+1,m-j,b);
}
}
... | [
"winyangyuxin22@hotmail.com"
] | winyangyuxin22@hotmail.com |
a7f6016d5a53ae59ca684a0c0becd0846c7b3615 | e2d44c286401378c392b7edb163672bc0a3c41c7 | /phoenix/src/renderer/PerspectiveCameraController.cpp | 25642a72a661eed1cebb6ca6ba039e504049705c | [] | no_license | Phoenix-flame/Debugger | 3df85e2f650c670a303e02e2826477329c7b3ce7 | acfc4bd1ac26173c3f0c2a02fa4ffbeda8bcf84e | refs/heads/master | 2023-02-17T17:43:11.301119 | 2021-01-16T08:44:40 | 2021-01-16T08:44:40 | 329,560,022 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,937 | cpp | #include <Phoenix/renderer/CameraController.h>
#include <Phoenix/renderer/Camera.h>
#include <Phoenix/core/Input.h>
#include <Phoenix/imGui/imgui.h>
namespace Phoenix{
PerspectiveCameraController::PerspectiveCameraController(float aspectRatio, float fov, float near, float far):
_aspectRatio(aspectRatio), _f... | [
"alireza17010@gmail.com"
] | alireza17010@gmail.com |
a2819e3742b2d6a4e87e54082267d7665162339a | 36318b57c626f0a4862bbe344577ba47d57842cd | /21.cpp | df072c7d3e2488caca72c09a9fe334ef458d2735 | [] | no_license | mohsin0176/c-objectives | 23c283eb49c0b2c17c924296312eda788e850203 | 5e024ae965a75e82796c1f38cff120e37b186303 | refs/heads/master | 2023-03-24T09:17:54.376453 | 2021-02-25T12:24:24 | 2021-02-25T12:24:24 | 336,837,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main()
{
union test
{
int x;
char y;
float z;
};
struct test
{
int x;
char y;
float z;
};
test a;
cout<<sizeof(a.x);
cout<<sizeof(a.y);
cout<<sizeof(a.z);
return 0;
} | [
"mohsin2010ju@gmail.com"
] | mohsin2010ju@gmail.com |
c859a82d949fe6f31140321cf66068b8756a69df | 172c67be0050eebfbf6bac65d7e35093796826c9 | /数学问题-素数/prime number3.cpp | 8f722763fc7ca286a0c664ad051d7d8032a86c6c | [] | no_license | chenyur0ng/codeup | bf7015caa64fcaa59ba4726322f2fa650a7a9cdd | b323c25e0e40d1149e55b86781b9f87d913db5c3 | refs/heads/master | 2021-04-09T10:41:16.541321 | 2018-03-06T14:28:41 | 2018-03-06T14:28:41 | 125,391,208 | 1 | 0 | null | 2018-03-15T15:52:42 | 2018-03-15T15:52:41 | null | UTF-8 | C++ | false | false | 592 | cpp | #include <cstdio>
#include <math.h>
int find(int n){
bool flag = false;
while(!flag){
n++;
flag = true;
for(int i = 2; i <= sqrt(n); i++){
if(n % i == 0){
flag = false;
break;
}
}
}
return n;
}
int main(){
int n,... | [
"1091261998@qq.com"
] | 1091261998@qq.com |
70dcd7d441084640e03fab76a244d5e13e26e720 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5756407898963968_0/C++/AK93/test.cpp | 49d2076e5d98d89fd30bc03c517f0ab4f09e9ce1 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,131 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <map>
#include <set>
#include <queue>
#include <sstream>
#include <fstream>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <limits.h>
#include <time.h>
using namespace std;
typedef long long ll;
con... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
dfb762d75462019dbec8664100740ccbbac8c5da | 27b7314808ca4e957f36d1af0bf3497ec54a3d3b | /Syntax/Test/Test/Test/16.Calling-Functions.cpp | 5be5ec96bc613f2bfb4a7efce12bbfc9ae2e3f70 | [] | no_license | PetarPetrakiev93/C-Study | 1176f8e5f2851a93bd793753f922aec7983236ea | 223cc694c6195c2999422919955ab7d11f7ca24a | refs/heads/master | 2021-01-21T08:24:38.965229 | 2017-05-27T17:06:42 | 2017-05-27T17:06:42 | 91,625,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | #include<iostream>
#include<cmath> //NOTE: cmath library required to use sin() and cos()
using namespace std;
int main() {
double degrees = 60;
double radians = degrees * M_PI / 180.0;
cout << sin(radians) << endl;
cout << cos(radians) << endl;
double sinValue = sin(radians);
double cosValue ... | [
"red_ferrari@mail.bg"
] | red_ferrari@mail.bg |
d38ec54abf55dd9a33b18f0c1c15e2ecaeab40b1 | 31f0bce32e6192b22989c2d2de54f0c218eb34b9 | /larreco/RecoAlg/CMTool/CMTAlgMatch/CFAlgoTimeOverlap.cxx | aae4bbf80c63e7aec0ab8676d314e8e058b42644 | [] | no_license | Dr15Jones/larreco | 7e3660ed4b8af50a91a1e98b23d84bffa059b0a8 | 41039550749392e0055318c62fd9b45238e0973e | refs/heads/develop | 2021-01-15T14:24:38.787996 | 2016-05-05T15:31:47 | 2016-05-05T15:31:47 | 58,142,095 | 0 | 1 | null | 2016-05-05T15:42:21 | 2016-05-05T15:42:21 | null | UTF-8 | C++ | false | false | 6,924 | cxx | #ifndef RECOTOOL_CFALGOTIMEOVERLAP_CXX
#define RECOTOOL_CFALGOTIMEOVERLAP_CXX
#include "CFAlgoTimeOverlap.h"
namespace cmtool {
//-------------------------------------------------------
CFAlgoTimeOverlap::CFAlgoTimeOverlap() : CFloatAlgoBase()
//-------------------------------------------------------
{
S... | [
"kazuhiro@nevis.columbia.edu"
] | kazuhiro@nevis.columbia.edu |
2c4b4c0a0cf0d31d4c5fd538f72f34c1fc8581e8 | 21f5356e9fd0b3ab9ee7a5c54e30fd94bb660ee4 | /win32/src/PyWinTypesmodule.cpp | 3a396e27414d0cc6ced1131c17aff1f4428c94cf | [] | no_license | chevah/pywin32 | 90850232a557ecf054bc316e324aaf60188f2cca | d4ff0b440147ab65f1945991e81163fb1cf1ceaf | refs/heads/master | 2020-03-29T09:46:04.465546 | 2014-10-24T09:11:17 | 2014-10-24T09:11:17 | 25,680,336 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 43,966 | cpp | /***********************************************************
PyWinTypes.cpp -- implementation of standard win32 types
Note that this source file contains embedded documentation.
This documentation consists of marked up text inside the
C comments, and is prefixed with an '@' symbol. The source
files are proc... | [
"adi.roiban@chevah.com"
] | adi.roiban@chevah.com |
fea18f2a125e9e5e6bcaeb7f622365193944f231 | ff3e66484ff5175d73a6501654823850f0de8036 | /lightoj online/Catalen_Number/Lightoj_1170 - Counting Perfect BST.cpp | 871d5b76ec545717a122690f714cb1896ebc3569 | [] | no_license | Sabuj-Kumar/Problem_Solve | 05f83455069f9e0a7f4541bc078b19c19d42eecf | b3bbf070ead97debbfebc868c358826e3e503406 | refs/heads/main | 2023-08-15T00:29:20.485529 | 2021-09-16T18:08:08 | 2021-09-16T18:08:08 | 407,263,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | cpp | #include<bits/stdc++.h>
#define pi acos(-1)
#define ll long long
#define ull unsigned long long
#define db double
#define ldb long double
#define pii pair<int,int>
#define pll pair< ll,ll >
#define ft first
#define sd second
#define pb push_back
#define pf push_front
#define sc( n ) scanf("%d",&n)
#define sl( n ) scanf... | [
"78817174+Sabuj-Kumar@users.noreply.github.com"
] | 78817174+Sabuj-Kumar@users.noreply.github.com |
d91011eed5f9d2d7db6ef5918fbb66d0e169a20c | 6a3c5c5d027754e496fd1486e89c16a11a39c410 | /iSee/tmp/JSFileList.h | e74ddf62cb7b54450e281280464c4446583c78e8 | [] | no_license | huangzongwu/ISeeBrowser | b7026630bd4ee3429e5bf763fd6536c996d6e804 | 93d629e54abdd1e8727989a9ee2891f32f9aecc5 | refs/heads/master | 2020-12-23T22:35:09.939131 | 2014-08-17T00:54:09 | 2014-08-17T00:54:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,783 | h | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | [
"achellies@163.com"
] | achellies@163.com |
12ddb7b3d62651c14585a0d4283731d39ed1dcfb | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5769900270288896_0/C++/cosminp/main.cpp | 6c3e77fb7edbc8e154b703358de292830ac19532 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 783 | cpp | #include <fstream>
using namespace std;
int solve(int R, int C, int N)
{
int best = 4 * R * C;
for (int fill = 0; fill < (1 << (R*C)); fill++)
{
int c = 0;
int tmp = fill;
while (tmp)
{
tmp &= (tmp - 1);
c++;
}
if (c != N) continue;
c = 0;
for (int i = 0; i < R; i++)
{
for (int j = 0;... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
250922fb7a635847eb02b2af50b43601e24cf468 | b7e97047616d9343be5b9bbe03fc0d79ba5a6143 | /src/protocols/rosetta_scripts/MultiplePoseMover.hh | 9ff87bec7cd4eabcd45106c6cf88beb9874e2acb | [] | no_license | achitturi/ROSETTA-main-source | 2772623a78e33e7883a453f051d53ea6cc53ffa5 | fe11c7e7cb68644f404f4c0629b64da4bb73b8f9 | refs/heads/master | 2021-05-09T15:04:34.006421 | 2018-01-26T17:10:33 | 2018-01-26T17:10:33 | 119,081,547 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,104 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"achitturi17059@gmail.com"
] | achitturi17059@gmail.com |
15c28aa1adf4fbc9cbf94709a567cd2eabe5d9aa | 524c0f8983fef4c282922a19a9437a320ccd0c45 | /aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/RefreshPreferences.h | b84bbbee8324a877b5ea794b9573586f8d3b03a4 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | hardikmdev/aws-sdk-cpp | e79c39ad35433fbf41b3df7a90ac3b7bdb56728b | f34953a3f4cbd327db7c5340fcc140d63ac63e87 | refs/heads/main | 2023-09-06T03:43:07.646588 | 2021-11-16T20:27:23 | 2021-11-16T20:27:23 | 429,030,795 | 0 | 0 | Apache-2.0 | 2021-11-17T12:08:03 | 2021-11-17T12:08:02 | null | UTF-8 | C++ | false | false | 14,547 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/autoscaling/AutoScaling_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
n... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
b0ee0668c513d0c4f457bfbebbcc47b0b4e8cfcb | b588a0ce3f6c3c537eba77bbc39ebc4acf92665b | /startinterface.cpp | eccccd4203f70998024a00082eb99a83ef8f1ce6 | [] | no_license | SKYkk7/GreedySnake | 35a27f8b395f577124d7e62049fef2e1899b421d | d7ea2af9ef3bce48b46f1d01cb4dddfc0414639d | refs/heads/master | 2022-12-16T19:39:55.711050 | 2020-09-19T08:30:51 | 2020-09-19T08:30:51 | 296,810,868 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,709 | cpp | #include "startinterface.h"
#include <windows.h>
void StartInterface::PrintFirst()//蛇从左边出现到完全出现的过程
{
for (auto& point : startsnake)
{
point.Print();
Sleep(speed);
}
}
void StartInterface::PrintSecond()//蛇从左向右移动的过程
{
for (int i = 10; i != 40; ++i) //蛇头需要从10移动到40
{
/*计算蛇头的下一... | [
"1348096084@qq.com"
] | 1348096084@qq.com |
f65ace262af4660a8d7a17ba708e76f6ebf24a65 | 919fe2e248a6652901e52bb9211d62ab0c6451df | /1224/main.cpp | 4715deb12159acfe19b0477caafcb9aa0aa6d14b | [] | no_license | mikezcc/Timus | ffebb0a8a31a344f410f40cf065b13a05b2bd208 | 61db835afe87c69ebab7424a6562562139189b5a | refs/heads/master | 2021-01-20T17:15:16.529511 | 2018-07-07T03:05:28 | 2018-07-07T03:05:28 | 60,280,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | cpp | #include <iostream>
using namespace std;
int main() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "rt", stdin);
freopen("output.txt", "wt", stdout);
#endif
unsigned int N, M;
cin >> N >> M;
if (N>M)
cout << 2*(M-1)+1 << endl;
else
cout << 2*(N-1) << endl;
return 0;
}
| [
"mikezcc@Mikes-MBP.home"
] | mikezcc@Mikes-MBP.home |
58b34d593c835db766705b360a6511e62f75908e | b6fd68bfa28b7c9a111537e7bfaa720bbea3dcb9 | /problem solving using c++/Jumping on the Clouds.cpp | 008bd9e7907ff7319daaa94f7128caea16a420fe | [] | no_license | muhaimenul/problem-solving | 4dd18e061ce5c924870706ed91010ad4b999214a | 4ded507e132ea098f29ac04bf8831f41b8583dba | refs/heads/master | 2022-01-08T22:11:06.255064 | 2019-06-02T07:24:36 | 2019-06-02T07:24:36 | 174,566,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | cpp |
/*-------------------------------------------------------
<copyright notice>
Purpose: Solution of Hackerrank's Jumping on the Clouds Problem
@author Muhaimenul Islam <linkedin.com/in/muhaimenul>
@version 1.2 4/11/17
Please fork and leave a star if it's useful to you.
-----------------------... | [
"muhaimenulislam@iut-dhaka.edu"
] | muhaimenulislam@iut-dhaka.edu |
5e46e40eef2fe390378bf800891263fccc31e29f | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5686275109552128_1/C++/Jungyhuk/B.cpp | 374dca9df3b7d83d88277a1df0086f6651102680 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <string>
#include <cctype>
#include <algorithm>
#define maxn 10005
using namespace std;
int test,ttest;
int n,a[maxn],ans,b[maxn];
void init()
{
scanf("%d",&n);
int i;
for (i=1;i<=n;i++)s... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
eb6ad7726b154b932f47a3f2e51d7463748245aa | 2336c4f7c8561552bc63b2b9da6a2b1b43041f99 | /PCLwithKINECT/PCLwithKINECT.cpp | 6b700621da9cd957090ec6ab352f6c5911274f21 | [] | no_license | HShigehara/PCLwithKINECT | e297c6eda2a8e5656b3137c7542775d1e5de699d | a6bd50174a615591b7ef7218aa05d2aa849820e1 | refs/heads/master | 2021-01-10T17:42:39.670361 | 2015-10-29T06:18:27 | 2015-10-29T06:18:27 | 45,026,385 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 364 | cpp | // PCLwithKINECT.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//
#include "stdafx.h"
#include "KinectControl.hpp"
int _tmain(int argc, _TCHAR* argv[])
{
try {
KinectControl kinect;
kinect.initialize();
kinect.run();
}
catch (std::exception& ex) {
std::cout << ex.what() << std::endl;
}
return 0;
} | [
"chilly0427lab@gmail.com"
] | chilly0427lab@gmail.com |
8b4f8cb17d202da9a45f2f3417b1fd8f0767ffd3 | 1518a567c1e4dc1d926301e577320f2d48c31ee8 | /selectionsort.cpp | 644f6db574327618ad767fe716a0e7d4c8e37706 | [] | no_license | pratyooshanand/C-codes | 39458e5399ea96827042d5254da693bef13c5fe9 | d967a06fbabd39950270a06ba7fa350712bc5e83 | refs/heads/master | 2023-05-10T10:32:42.226293 | 2021-06-08T13:51:01 | 2021-06-08T13:51:01 | 374,399,114 | 0 | 0 | null | 2021-06-08T13:51:02 | 2021-06-06T15:43:00 | C++ | UTF-8 | C++ | false | false | 313 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
int a[n];
for(int i=0;i<n;i++){
cin>>a[i];
}
int counter=1;
while(counter<n){
for(int j=0;j<n-counter;j++){
if(a[j]>a[j+1]){
int dummy=a[j];
a[j]=a[j+1];
a[j+1]=dummy;
}
}
counter++;
}
for(int i=0;i<n;i++){
cout<<a[i]<<" ";
}
}
| [
"pratyooshanand00.17@gmail.com"
] | pratyooshanand00.17@gmail.com |
ec7037a97efe4057bc5a4d783f477033c0ce5e80 | 59c8f1dc09c5615141e5e09802b35d6112da7183 | /al443_class06_attraction/src/Mover.cpp | 4705ca0bed519d813ceb0095e7aa37780a04ba44 | [] | no_license | ac-lan/AiningLiu_MediaArt206_Homework | 8eb5b3ee1beed89a0d0c09c49b9f45fe7e06bb84 | c4ca1f64827d0f6a6118d79f359b89bb141d0406 | refs/heads/main | 2023-03-21T18:58:53.317068 | 2021-03-18T14:58:41 | 2021-03-18T14:58:41 | 309,225,064 | 0 | 0 | null | 2020-12-05T18:19:55 | 2020-11-02T01:17:58 | C++ | UTF-8 | C++ | false | false | 937 | cpp | #include "Mover.h"
Mover::Mover()
{
origPos = glm::vec2(0, 0);
pos = glm::vec2(0, 0);
vel = glm::vec2(0, 0);
acc = glm::vec2(0, 0);
mass = 5;
}
Mover::Mover(glm::vec2 _pos, glm::vec2 _vel)
{
origPos = _pos;
pos = origPos;
vel = _vel;
acc = glm::vec2(0, 0);
mass = 5;
image.load("images/heart.png");
}
... | [
"aining.liu@duke.edu"
] | aining.liu@duke.edu |
4482721b5e90e0808d54b183917a6e15fcd00523 | db2bc096816bdcdebed3a934a81c90023329bca2 | /functions/get_intMatrixtoData.cpp | 8e23ae8f44565ab45742c331fde75cfc343efd01 | [] | no_license | yang2732umn/RS_with_correlation | 0403450774be477d392d9775bfe28843690439ea | d0278e6b8775a459605e403bfff869f9f1d67ea9 | refs/heads/master | 2021-05-12T11:44:29.735338 | 2018-04-02T14:52:30 | 2018-04-02T14:52:30 | 117,395,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include "consider_covariance.h"
void get_intMatrixtoData(const MatrixXi &X,const string& pathAndName){
ofstream fichier(pathAndName.c_str());
if(fichier.is_open())
{
fichier.precision(10);//set the number of significant digits to be 4 in the file output
fichier.setf(ios::fixed);
fic... | [
"yangfan@Bonnies-MacBook-Pro-2.local"
] | yangfan@Bonnies-MacBook-Pro-2.local |
63ce88bd28a8fa91690a877158fb9a873bf90706 | 27e54c8a70cd4447ccf7ff16daaae44cf0c40574 | /2014S2_DM2295_Team_11/src/Base/Source/Map.cpp | 8a63e8887e82f2e8718791589137b930b1ea7bf3 | [] | no_license | Glenn-Pao/SP4 | fbb7b8fb02fa846ef312f418a20a9cb71b1a0e4b | 195bbfe6c0cfd89dfddb6a274ecba739c81a2a08 | refs/heads/master | 2021-01-10T17:33:10.053390 | 2016-03-03T14:11:12 | 2016-03-03T14:11:12 | 51,736,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,071 | cpp | #include "Map.h"
CMap::CMap(void)
: theScreen_Height(0)
, theScreen_Width(0)
, theNumOfTiles_Height(0)
, theNumOfTiles_Width(0)
, theMap_Height(0)
, theMap_Width(0)
, theNumOfTiles_MapHeight(0)
, theNumOfTiles_MapWidth(0)
, theTileSize(0)
{
theScreenMap.clear();
}
CMap::~CMap(void)
{
theScreenMap.clear();
}
void C... | [
"140522J@mymail.nyp.edu.sg"
] | 140522J@mymail.nyp.edu.sg |
8e266295ea9640d1d234507985eab2d6220254ca | d9b0e0b70289e689a4a0ecd767a23751faf38541 | /Chapter 08 Lighting/Exercise_08_01/LitWavesApp.cpp | 82a1dbdd4e03a4b149dff087f17e7976100a744e | [] | no_license | leftstone2015/d3d12book | a56ee2290b48170a01fde570fd684bc894709e12 | 741c89ec4655783908bea8c6369c937656c896da | refs/heads/master | 2023-07-20T06:26:54.857909 | 2021-09-05T17:33:32 | 2021-09-05T17:33:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,179 | cpp | //***************************************************************************************
// LitWavesApp.cpp by Frank Luna (C) 2015 All Rights Reserved.
//
// Use arrow keys to move light positions.
//
//***************************************************************************************
// Exercise_08_01 LitWavesA... | [
"daniel_dfy98@163.com"
] | daniel_dfy98@163.com |
8772bfb142338353b6e83792cba881c005643b5a | 66b74bae8bafcb471d657359ced6fb4fcea1f0a9 | /src/Firmware/src/modules/uavcan/uavcan_clock.cpp | fe8ba406a5562f97e0fed91b4fbaf03f34289f8e | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | kant/CLDrone | 41f1c01b2fbc52ad5b34ad69f0942af114aec2f1 | fe18ccde70052390861b2c000100f8eaa122b99b | refs/heads/master | 2020-05-24T22:38:58.139961 | 2016-11-18T02:45:49 | 2016-11-18T02:45:49 | 187,500,820 | 0 | 0 | BSD-2-Clause | 2019-05-19T16:24:44 | 2019-05-19T16:24:44 | null | UTF-8 | C++ | false | false | 2,431 | cpp | /****************************************************************************
*
* Copyright (c) 2014 PX4 Development Team. 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. Redistri... | [
"songrotek@qq.com"
] | songrotek@qq.com |
b8b6d9e5903a17067c37f93a348357a3f865fadf | d053e0e8687f122d120bcd0fa1f9076deb35afa5 | /Olymp/CF/299/temp.cpp | 10731d7d8df83719a5b0cab1445a2639ea8f5365 | [] | no_license | shaihitdin/CP | e8911bc543932866d6fc83eb1d48d9cf79918c61 | dc90082f3ebedaccbfb0818cc68539c887f86553 | refs/heads/master | 2021-01-11T17:10:20.356635 | 2017-10-05T08:53:56 | 2017-10-05T08:53:56 | 79,729,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | #include <bits/stdc++.h>
using namespace std;
int main () {
#ifndef ONLINE_JUDGE
freopen ("in", "r", stdin);
freopen ("out", "w", stdout);
#endif
return 0;
} | [
"shaihitdin@gmail.com"
] | shaihitdin@gmail.com |
0badf15687004a023e3b95834be8291c60857528 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE78_OS_Command_Injection/s03/CWE78_OS_Command_Injection__char_environment_w32_spawnv_81_goodG2B.cpp | cf6116e59065092f2aa6b89f2d7efbfb92571d41 | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 1,250 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_environment_w32_spawnv_81_goodG2B.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-81_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.