blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3eb23e4458d6fd9e7e2ae05b7717752591dc970b | fb1b5cce9785d13a8925a46b69f73fca9e318fe5 | /kadanes-algorithm.cpp | e6d8472a1aede5d3efe30d943df76d13010a7545 | [] | no_license | ankurssharma96/Competitive-solutions | 72c0f280d0598ebe1733ac02a7056dd1bc4d2294 | 7abcad978c8eed05f6e431d59d519ac61da0c509 | refs/heads/master | 2021-05-08T13:43:30.658392 | 2018-08-18T18:15:11 | 2018-08-18T18:15:11 | 120,032,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int n;
cin>>n;
int a[n];
for(int i=0;i<n;i++)
cin>>a[i];
int m_h=0,m_f=0;
for(int i=0;i<n;i++){
m_h+=a[i];
if(m_h<0){
m_h=0;
}
else if(m_h>m_f){
m_f=m_h;
}
}
sort(a,a+n);
i... | [
"ankurssharma96@gmail.com"
] | ankurssharma96@gmail.com |
5bca36f8996e4385c1e4d60ea9a4086eb88163a7 | 3d5a63c935fbc61f89f16a3d9d308ac0d652400d | /282A.cpp | ad50cc220dd407161f1cacfe4c2267bf7f27e795 | [] | no_license | shutterberg/CodeForces | 374f80b89591557b49fccce114b70f4c461660f1 | 6738c51016a6cffc503361741045ca283b3b27a3 | refs/heads/main | 2023-07-10T20:30:19.183488 | 2021-08-03T05:53:54 | 2021-08-03T05:53:54 | 379,151,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 328 | cpp | #include<bits/stdc++.h>
#define init ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
using namespace std;
int main()
{
init;
int n=0,temp=0;
string s;
cin>>n;
while(n--){
cin>>s;
if(s[1]=='+')
++temp;
else
--temp;
}
cout<<temp;
ret... | [
"misquithin@gmail.com"
] | misquithin@gmail.com |
a038876612b730d3439d3cc4963a706af2ebec82 | d09a764c0409a65c736ae1aebbf20b7448e532e7 | /main.cpp | 70bbe01aaebc4360c2538d7ddfdae98508ceab83 | [
"Apache-2.0"
] | permissive | miachm/Snake | 131907a29643bcc0cf5b8546a587b3150168ae68 | 3d4c99cb1a56d885e0deb7eae9186c41bec164d8 | refs/heads/master | 2021-01-19T02:53:58.486127 | 2017-05-14T21:25:51 | 2017-05-14T21:25:51 | 61,800,421 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 841 | cpp | #include "Modelo.hpp"
#include "Menu.hpp"
#include <iostream>
#include <cstdlib>
#include <ctime>
/** Modelo de programación actual:
*
* - Objecto Modelo que gestiona los accesos a ventana, deja el decidir "qué" se dibuja a los Controladores.
* - Controladores: Ente que recibe los eventos/refrescos de fotogra... | [
"noreply@github.com"
] | noreply@github.com |
27de59557bde4cc94f417925263e42ef95bd1b78 | 78d1f09868d34ba6d167b245419b0012885ffb3d | /BanDienThoai/invoice_detail.h | 83e68da723deaa21ce91189141aa33a49848dd59 | [] | no_license | ngovandong/SellSmartPhoneSystem | b356eb0b0c39870c13490583cc58540646714f75 | 3c1219ed62e4c89cf28acea00dcf25a136cfe350 | refs/heads/main | 2023-06-15T02:38:15.377040 | 2021-07-10T06:24:53 | 2021-07-10T06:24:53 | 314,524,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | h | #pragma once
#include <string>
#include <iostream>
#include "smartphone.h"
#include <vector>
using namespace std;
class invoice;
class invoice_detail
{
int invoice_id;
int smartphone_id;
int qty;
int unit_price;
smartphone* SM;
public:
invoice_detail(int = 0, int = 0, int = 0, int = 0);
~invoice_detail();
int g... | [
"dongngo2001@gmail.com"
] | dongngo2001@gmail.com |
6b13bc201fc7e13dd42333c3cd55befc108ce41d | 7b3d4dff3945584460dc474a8bb8fe8fd9bdb625 | /exercises/6/Seminar_04 & 05 - Car Dealership/ManufactureDetails.cpp | be21adb707c4ed1e9216aa736a6c41ef54dca48f | [
"MIT"
] | permissive | triffon/oop-2019-20 | 305535b006cb19e96c9c58d47737a28135fc666e | ec3e5488859d8140de5aa5090811cd0e1318d952 | refs/heads/master | 2022-05-13T07:04:22.306200 | 2022-03-19T09:49:17 | 2022-03-19T09:49:45 | 241,474,762 | 21 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | cpp | #include "ManufactureDetails.h"
#include <string.h>
#include <iostream>
#define MAX_BUFF (1 << 10)
ManufactureDetails::ManufactureDetails()
{
std::cout << "Default Constuctor ManufactureDetails" << std::endl;
this->init( "", "", 0 );
}
ManufactureDetails::ManufactureDetails( const char* name, const char* model, un... | [
"external.yasen.bonev@hannover-re.com"
] | external.yasen.bonev@hannover-re.com |
e04979b7428569dd5f355da31374ced488c96c12 | 7e3c043ac83bbbc8fe7548423f3a33c02df992c3 | /src/map.cpp | f4cfe96d3dced17f234b1082e2f1dfe9e510d27d | [] | no_license | Naurislv/P11-Path-Planning-Project | f3707bc48f3dbd34a6a57ae0324af9c15f186211 | 7859a82d13f0d10a7d368239ef15219a1b6714ad | refs/heads/master | 2021-01-01T17:12:27.601239 | 2017-08-18T20:15:47 | 2017-08-18T20:15:47 | 98,023,107 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,593 | cpp | // Local include
#include "map.h"
using namespace std;
/**
* Initializes Map
*/
Map::Map() {}
Map::~Map() {}
void Map::load_data(string file_path) {
cout << "Loading map data from file.." << endl;
// Load up map values for waypoint's x,y,s and d normalized normal vectors
// Waypoint map to read from
strin... | [
"naurisdorbe@gmail.com"
] | naurisdorbe@gmail.com |
4a109a95424f0d04d5643a9b52ca2a290392c55b | 4c25432a6d82aaebd82fd48e927317b15a6bf6ab | /data/dataset_2017/dataset_2017_8_formatted/minaminao/3264486_5736519012712448_minaminao.cpp | cc5c0194d29d3ba2127254156a26d7a0367b91c2 | [] | no_license | wzj1988tv/code-imitator | dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933 | 07a461d43e5c440931b6519c8a3f62e771da2fc2 | refs/heads/master | 2020-12-09T05:33:21.473300 | 2020-01-09T15:29:24 | 2020-01-09T15:29:24 | 231,937,335 | 1 | 0 | null | 2020-01-05T15:28:38 | 2020-01-05T15:28:37 | null | UTF-8 | C++ | false | false | 1,441 | cpp | #include "bits/stdc++.h"
using namespace std;
#ifdef _DEBUG
#include "dump.hpp"
#else
#define dump(...)
#endif
//#define int long long
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define rrep(i, a, b) for (int i = (b)-1; i >= (a); i--)
#define all(c) begin(c), end(c)
const int INF =
sizeof(in... | [
"e.quiring@tu-bs.de"
] | e.quiring@tu-bs.de |
86c918937324d3af2dd7742e0c27f394ea467a19 | 05099a30fcb1d738c7f34ec7c3dd3f3484e9c8e1 | /mav_control_interface/include/mav_control_interface/position_controller_interface.h | 86eae20f047f7d4e1cfbc845697b827a528ccc5a | [
"Apache-2.0"
] | permissive | caomuqing/mav_control_rw | a326c877b8987d82d9365b205c66b70b47133baf | 95beac589cb88b0040d5db1453ede9de952fb283 | refs/heads/master | 2023-01-21T23:08:13.576983 | 2023-01-07T05:11:06 | 2023-01-07T05:11:06 | 205,482,778 | 1 | 0 | Apache-2.0 | 2019-08-31T02:13:17 | 2019-08-31T02:13:17 | null | UTF-8 | C++ | false | false | 2,050 | h | /*
* Copyright (c) 2015, Markus Achtelik, ASL, ETH Zurich, Switzerland
* You can contact the author at <markus dot achtelik at mavt dot ethz dot ch>
*
* 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... | [
"fmina@ethz.ch"
] | fmina@ethz.ch |
0354dc2481fe256c87591958d8e69a104cb38550 | 7066dcb660114afb0ef58ead07cfc80b49c3edf4 | /round_260/A.cpp | acaebafc36a7e2085bba60be0ec5884028e95776 | [] | no_license | Stomach-ache/Codeforces | 816d8360ae064a131831c1234fc88779e0c5bed3 | 051c5a83c8bd33b918b081c2b0903b9791221783 | refs/heads/master | 2021-01-15T18:46:15.707385 | 2015-03-11T07:40:24 | 2015-03-11T07:40:24 | 16,538,550 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | cpp | /*************************************************************************
> File Name: A.cpp
> Author: Stomach_ache
> Mail: sudaweitong@gmail.com
> Created Time: 2014年08月08日 星期五 23时32分05秒
> Propose:
************************************************************************/
#include <cmath>
#inclu... | [
"sudaweitong@gmail.com"
] | sudaweitong@gmail.com |
d66c9bce3924b9d9535e52cff6de0497ea7c734e | 198031f9d9336b9daec1a46d238fdfa3436522e7 | /Dev/Cpp/Effekseer/Effekseer/Effekseer.EffectNodeRing.h | eab7a6a202489ec7da434f34f407fe0ebadf9237 | [
"MS-PL",
"MIT",
"IJG",
"GD"
] | permissive | dmitsuki/Effekseer | c242f4f311fe21191eed7298cfaa55a5161c2e81 | ca63e358bde2370d41a2831f7b9a259a6fb28653 | refs/heads/master | 2021-01-24T07:31:33.298415 | 2017-06-09T19:16:57 | 2017-06-09T19:16:57 | 93,346,975 | 0 | 0 | null | 2017-06-04T23:09:40 | 2017-06-04T23:09:40 | null | UTF-8 | C++ | false | false | 5,675 | h |
#ifndef __EFFEKSEER_ParameterNODE_RING_H__
#define __EFFEKSEER_ParameterNODE_RING_H__
//----------------------------------------------------------------------------------
// Include
//----------------------------------------------------------------------------------
#include "Effekseer.EffectNode.h"
//-------------... | [
"effekseer@gmail.com"
] | effekseer@gmail.com |
521de6c32f46cac877500c7617d8e483d57ff19f | 72bb98dd565173b718d71e8a6e027699c8f188db | /include/PHYSICAL_CONST.hh | 125dda231563d9f0d0c9d5ee00fa7f6eb52dfd1a | [] | no_license | GengisGreg/physics | a43c5d04accfe326ff1704bb0f83931c1daea042 | 2dcf35bce8d461bd899e600d915681809f354a00 | refs/heads/master | 2021-01-10T22:52:05.188814 | 2016-10-08T16:40:51 | 2016-10-08T16:40:51 | 70,344,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | hh | #ifndef PHYSICAL_CONST
#define PHYSICAL_CONST
class Physics
{
public:
static const double htc = 197.327053; // Mev*fm
static const double m_e = 0.510999; // MeV
static const double m_p = 938.272; // MeV
static const double m_n = 939.56563; // MeV... | [
"noreply@github.com"
] | noreply@github.com |
63e97296518af367cb476e35af10e9cf3a9fdfda | a3990ba7173e92c54c09897439406dcbf319d7cf | /NewCode/QuickTurns/QuickTurns.ino | 0b84dbf1f5e4acb4ae8660c29cfa1a0f99715129 | [] | no_license | armadillojoe/UWHPS2017 | 15dba9dff468d71fb4830c24b8e52d214773c314 | ad476333ba49c5ed249fc38aee1496b518d7922e | refs/heads/master | 2021-01-11T05:42:35.674504 | 2017-05-09T00:16:31 | 2017-05-09T00:16:31 | 71,520,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | ino | /*
* Jack Gentsch
* UWHPS Electronics Core Code '16-'17
* 2/11/17
* This Arduino sketch acts as the master of the Sub controls network
* Sets PWM timers for 4 rear control fins, requests data from slave joystick via I2C
*/
#include <Servo.h>
Servo x_servo;
Servo y_servo;
int val;
void setup() {
// put your ... | [
"noreply@github.com"
] | noreply@github.com |
5e381d1924d2bcea4f04d3ad25f09c650012a973 | a299a931e99368093f589a45f658f6eba64609d2 | /buildsystem/fastbuild/v0.86/Code/Tools/FBuild/FBuildCore/BFF/Functions/FunctionVCXProject.cpp | e9facb497a0584a7892744a9e598e4a797698a14 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kasicass/kasicass | 4d4236942a3936b518c53ac59bdb3be3cff9ea44 | b688c670f04bdf2990fc87998e3fd18ddb3b7e35 | refs/heads/master | 2022-12-06T20:43:24.635730 | 2020-04-09T11:44:16 | 2020-04-09T11:44:16 | 883,202 | 13 | 11 | null | 2022-11-22T00:20:44 | 2010-09-02T12:30:02 | C++ | UTF-8 | C++ | false | false | 12,864 | cpp | // FunctionVCXProject
//------------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------
#include "Tools/FBuild/FBuildCore/PrecompiledHeader.h"
// FBuild
#include "FunctionVCXProject.h"
#include "Tools/FBuild/FB... | [
"kasicass@gmail.com"
] | kasicass@gmail.com |
848228f241792125316d71a25122806521fa31a5 | 7e791eccdc4d41ba225a90b3918ba48e356fdd78 | /chromium/src/chrome/browser/extensions/api/extension_action/extension_action_prefs_unittest.cc | d307196511cb3b0d689ca8fbb452c99be829aa5d | [
"BSD-3-Clause"
] | permissive | WiViClass/cef-3.2623 | 4e22b763a75e90d10ebf9aa3ea9a48a3d9ccd885 | 17fe881e9e481ef368d9f26e903e00a6b7bdc018 | refs/heads/master | 2021-01-25T04:38:14.941623 | 2017-06-09T07:37:43 | 2017-06-09T07:37:43 | 93,824,379 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,360 | cc | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include "base/logging.h"
#include "base/macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/strin... | [
"1480868058@qq.com"
] | 1480868058@qq.com |
8edcb5c6ce70538c23a34672009f3644c1e3187d | 254c25b6cc21ff9f245e8c600adf7cde16c210ef | /ConsoleLibrary/MVCController.cpp | d8d25a450df397bbaa06b346c6e7cc26a66d080e | [] | no_license | 492443886/Gomoku | f91b02f39a0c23be83e7e7e9e8d40b6a36048002 | 36775e1a5588506fe2f5c24414fe67ecfd0c0ae6 | refs/heads/main | 2023-02-16T02:28:58.402898 | 2021-01-14T18:54:52 | 2021-01-14T18:54:52 | 329,706,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | #include "MVControllerApp.hpp"
using namespace std;
void MVControllerApp::EventPump() {
while (!done) {
vector<Event> events = console->getEvents();
for (auto e : events) {
if (e.EventName == "")
continue;
for (size_t i = 0; i < Views.size(); i++)
{
if (Views[i]->isHit(e)) {
std::share... | [
"machunhui492443886@gmail.com"
] | machunhui492443886@gmail.com |
8b72468d5955c12bde2e9c479c3f1a63028144c3 | 3cd7d2497c20d59b32229bbcd86a669fabc450ba | /hphp/runtime/ext/soap/ext_soap.h | 05ac5993aed878cca2238fe474333caccd2ad29b | [
"PHP-3.01",
"Zend-2.0",
"BSD-3-Clause"
] | permissive | ropik/hhvm | 4b27272a3ffd5a859e1fbb14acf6fd89375dff15 | b1ff97cad475562a8c6da7b8085624d786eed3db | refs/heads/master | 2021-01-18T02:35:56.801050 | 2015-03-19T00:44:45 | 2015-03-19T01:00:30 | 32,500,815 | 2 | 0 | null | 2015-03-19T04:29:25 | 2015-03-19T04:29:22 | null | UTF-8 | C++ | false | false | 6,179 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | [
"hhvm-bot@fb.com"
] | hhvm-bot@fb.com |
fa8963e5745cf80e18f873994fb7bde4ed2d51ca | d90bb820a517727f4d3f1972f235d7bbbec2a187 | /cpp/third_party/kmeans/kmeans.cpp | d8c7adfc03697318e25221736d08b0cf333c2dd8 | [] | no_license | umariqb/Multi-Person-Pose-Estimation-using-LJPA-ECCVW-2016 | bf83edce518d0d59ac54ee57d4014062655c9d68 | 9fde830e974b5c5453b77c3a07bbc8a8df3ae9d7 | refs/heads/master | 2021-09-23T09:49:01.864657 | 2018-09-21T08:52:15 | 2018-09-21T08:52:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144,683 | cpp | # include <cstdlib>
# include <iostream>
# include <fstream>
# include <iomanip>
# include <cmath>
# include <ctime>
# include <cstring>
using namespace std;
# include "kmeans.hpp"
//****************************************************************************80
char ch_cap ( char ch )
//***************************... | [
"uiqbal@iai.uni-bonn.de"
] | uiqbal@iai.uni-bonn.de |
ea5126d9a611cd41768dcf8f93ee563c1751f70a | 3e194ed62e1c2889200956f4869f4302fd8ec1e2 | /CodeChef/Apr2010Contest/addingFractions.cpp | 95e6b7f757649527066410d12f69472c1c84a88e | [] | no_license | Mythili007/CodePractice | 12200c4f0159a13768102162b81e7ad20664f7c3 | 8de758858887d71d23e2316a6396ec05398db197 | refs/heads/master | 2021-06-05T19:15:45.589220 | 2021-05-07T19:28:12 | 2021-05-07T19:28:12 | 135,747,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while (t-- > 0)
{
int n;
cin >> n;
int *num = new int[n];
int *denom = new int[n];
string *st = new string[n];
float num, denom;
for (int i = 0; i < n; i++)
{
... | [
"indira.mythili@gmail.com"
] | indira.mythili@gmail.com |
8305eae626301940e9126f722a9079f4bafdbe10 | ce1f0eef1ddd30a608c4957c843c716365a3eeb4 | /Codechef Practice/Beginner/Chefandstrings.cpp | 7909ca31718cabe9cbd16b8fb080db1159b673eb | [] | no_license | TanishqChamoli/Codechef | 11d09ebc9867de4b57ce8e3503f285626c5093cf | c1d58382c0cddb5d1b7c0b1289038d74f8296544 | refs/heads/master | 2022-12-24T06:20:43.417074 | 2020-10-05T18:07:44 | 2020-10-05T18:07:44 | 290,392,480 | 0 | 1 | null | 2020-10-05T18:07:45 | 2020-08-26T04:13:05 | C++ | UTF-8 | C++ | false | false | 365 | cpp | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int n;
long long int arr[n];
for(int i=0;i<n;i++)
cin>>arr[i];
int ans = n;
for(int i=0;i<n;i++){
for(int j=i;j<n;j++){
... | [
"tanishq.chamoli@gmail.com"
] | tanishq.chamoli@gmail.com |
6a66b1d5433632fe56915bc351066507bb2d5d61 | 4741ab90c72013c22a83d78f51a66f4dd312e4a5 | /launcher.cpp | 7787c0e42a5f41a4661cfc1cfc0f78d3731b5c85 | [] | no_license | Sh1ft0x0EF/Metahook-Plus-0.4 | 16d550f739257d30d360e0b4a812a3ffc4e2fd4e | cab94403c576f68087d6932339b4e76c54ec6c6e | refs/heads/master | 2016-09-09T20:20:59.974688 | 2015-08-05T15:47:05 | 2015-08-05T15:47:05 | 40,254,118 | 10 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 6,564 | cpp | #include <windows.h>
#include "metahook.h"
#include <IEngine.h>
#include "LoadBlob.h"
#include "ExceptHandle.h"
#include "sys.h"
#pragma warning(disable : 4733)
#pragma comment(lib, "ws2_32.lib")
IFileSystem *g_pFileSystem;
HINTERFACEMODULE LoadFilesystemModule(void)
{
HINTERFACEMODULE hModule = Sys_LoadModule("fil... | [
"Sh1ft0x0EF@users.noreply.github.com"
] | Sh1ft0x0EF@users.noreply.github.com |
5184e19dd0e6c740edf5ae24752b92274dddad23 | 949714310a640856b524724fbda04493636de60e | /M11_classes_inheritance/M2_multiple_inheritance/example_1/main.cpp | 034a7c38c85d111f470d4a1272f7bacf2ffa5ccc | [] | no_license | jcwalmsley/CourseNotes_Cpp | 0fc5fbf5a7f66a681952d88537009e4c3b992c8b | f7c15f065a01f14c0bc58c8ba1135ba70f157c36 | refs/heads/master | 2022-03-27T08:36:20.601483 | 2019-12-28T13:56:50 | 2019-12-28T13:56:50 | 178,411,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | /*
C++ classes can inherit from more than one class. This is known as "Multiple Inheritance".
The form for declaring multiple inheritance is:
class DerivedClass : access BaseClass1, ... ,access BaseClassN
For example, in the statement shown below, the derived class is TeachingAssociate. It inherits a... | [
"jw.prof.cntrng@gmail.com"
] | jw.prof.cntrng@gmail.com |
2fca11bca5bba58c3484ce537a87421e22100938 | b15e43669d18603ee2221fa9e4bf782dee361f73 | /src/glutils.hpp | 77b29c7c5491852d87a2d3eb778304732daedd89 | [] | no_license | shogerr/cards | ae212d7b459729d0d59a67333d5829b4bfff9dc0 | 407292e6d5250f4ac226d3f1e2fea79fd7827452 | refs/heads/master | 2020-03-30T00:10:33.920760 | 2018-09-27T01:04:33 | 2018-09-27T01:04:33 | 150,508,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | hpp | #ifndef __GLUTILS_HPP_
#define __GLUTILS_HPP_
#include <GL/glew.h>
#include <vector>
#include <iostream>
#define LOGE(...) (std::cout << __VA_ARGS__);
GLuint createProgram(std::vector<std::pair<GLenum, std::string>>* shaderSource);
GLuint createShader(GLenum shaderType, const char* src);
#endif // __GLUTILS_HPP_
| [
"ekem@zinc"
] | ekem@zinc |
133cfff4e4e550de1f59674e9895342ddeb81f5e | d293694daaea6dd869698e8432ef144eb339fd60 | /opencensus/stats/recording.h | 880ae46cba1c2e00cfaef6a4057782ff0dba64de | [
"Apache-2.0"
] | permissive | census-instrumentation/opencensus-cpp | b76c979e54cf2e9c53fdeba4a33aaf12d75776ff | 50eb5de762e5f87e206c011a4f930adb1a1775b1 | refs/heads/master | 2023-09-04T23:07:47.635622 | 2023-05-02T19:13:52 | 2023-05-02T19:13:52 | 91,836,765 | 148 | 80 | Apache-2.0 | 2023-05-02T19:13:53 | 2017-05-19T18:59:46 | C++ | UTF-8 | C++ | false | false | 1,848 | h | // Copyright 2017, OpenCensus Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | [
"noreply@github.com"
] | noreply@github.com |
e2c2f9767583079238fee405f781347328ec8d82 | 08120290e74cea3cfcd7f22c3a45cf4e6c9a3b98 | /myvector/dw/dw.cpp | a8a37079879f89214cdf28c9960d92b11077113a | [] | no_license | ttky123/Algo_Study | bfe322816420d3a8aa1534d413cb25df96c2369d | 4195640b02e3a44340b9d90711ead66f800144c9 | refs/heads/master | 2022-12-11T13:54:22.213601 | 2020-09-16T06:40:55 | 2020-09-16T06:40:55 | 295,961,990 | 0 | 0 | null | null | null | null | WINDOWS-1258 | C++ | false | false | 3,368 | cpp | #include <iostream>
#include <algorithm>
#include <cstdlib>
using namespace std;
class MyIntVector {
public:
MyIntVector()
: data{ NULL }, sz{ NULL }, space{ NULL } {}
MyIntVector(size_t init_sz) // constructor.
: data{ new int[init_sz] }, sz{ init_sz }, space{ init_sz } {}
MyIntVector(const MyIntVector& sourc... | [
"43338000+ttky123@users.noreply.github.com"
] | 43338000+ttky123@users.noreply.github.com |
d02019b98aecabd5def9f1d14d145806653cce55 | f95975d9454984803586de7f0600f3ecf9918f60 | /lang_service/java/com/intel/daal/algorithms/multinomial_naive_bayes/partial_model.cpp | cbb22860fab9e28806cf60ffd9282095633b6398 | [
"Intel",
"Apache-2.0"
] | permissive | jjuribe/daal | f4e05656ca5f01e56debdbd2de51eeb2f506ca3d | 242d358db584dd4c9c65826b345fe63313ff8f2a | refs/heads/master | 2020-09-15T01:33:34.752543 | 2019-11-21T08:27:26 | 2019-11-21T08:27:26 | 223,316,648 | 0 | 0 | Apache-2.0 | 2019-11-22T03:33:41 | 2019-11-22T03:33:39 | null | UTF-8 | C++ | false | false | 2,367 | cpp | /* file: partial_model.cpp */
/*******************************************************************************
* Copyright 2014-2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lic... | [
"nikolay.a.petrov@intel.com"
] | nikolay.a.petrov@intel.com |
a6f487abc7fb5fec244b2d7b68fabecb38deaf09 | 4ca2b09fb25a1e30ed02f7f471e675e9621c6b5e | /Navigation/AS5045B/Bit_banging/Bit_banging.ino | 4ea074aa341ff31c7bc8fc2415754e3dd1d05814 | [] | no_license | MRSD2018/minebot | c37ca9631d626e746500f04695710c556282c7f6 | 10b36904d292a9f067edaf7cd4cc2aa5d0c9f43f | refs/heads/master | 2021-01-23T17:09:25.776356 | 2018-04-02T16:08:02 | 2018-04-02T16:08:02 | 102,762,889 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,120 | ino | <<<<<<< HEAD
extern int clock_pin; // output to clock
extern int CSn_pin; // output to chip select
extern int input_pin; // read AS5045
extern int input_stream; // one bit read from pin
extern long packed_data; // two bytes concatenated from inputstream
extern long angle; // holds processed angle value
extern float ang... | [
"6893531+GeorgiaC@users.noreply.github.com"
] | 6893531+GeorgiaC@users.noreply.github.com |
4d107e508358d09d131bf086c63d926356b90281 | 0c44da76a30138ebaee6700e2e33df5204ef21fc | /PSME/agent/storage/discovery/src/discoverers/iscsi/storage_zone_discoverer.cpp | e5544d0edc69388c79cb7bd8a12401699551e6f5 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | rwleea/intelRSD | 263e4c86801792be88e528d30d5a1d3c85af3a62 | 8e404abc211211a2d49776b8e3bf07d108c4bd4b | refs/heads/master | 2023-02-20T22:26:07.222243 | 2022-08-04T22:08:00 | 2022-08-04T22:08:00 | 64,722,362 | 0 | 0 | null | 2016-08-02T03:49:59 | 2016-08-02T03:49:58 | null | UTF-8 | C++ | false | false | 2,511 | cpp | /*!
* @brief Storage Zone discoverer implementation.
*
* @copyright Copyright (c) 2018-2019 Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License") override;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apach... | [
"noreply@github.com"
] | noreply@github.com |
e265fd527956f1542ae2462bd0d73d47ac89a4c6 | 4484d88a5c9305e6092932a5e4cd79f4d84862ef | /arc/019/019b.cpp | d0b94f948efaf6eaa895a97d33503bf78a54b673 | [] | no_license | kumastry/atcoder | 44dd20b9e784ecc2c92b772ef31fd84e007eb8cd | 076360ece55bd918a3bd60f8a7ac3c69dd1044e9 | refs/heads/main | 2023-07-13T06:44:42.296796 | 2021-08-12T18:36:27 | 2021-08-12T18:36:27 | 325,573,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <numeric>
#include <cmath>
#include <iomanip>
#include <cstdio>
#include <set>
#include <map>
#include <list>
#include <cstdlib>
#include <queue>
#include <stack>
#include <bitset>
using namespace std;
#define MOD 1000000007
#define... | [
"chma19063@g.nihon-u.ac.jp"
] | chma19063@g.nihon-u.ac.jp |
195b410663d3521171018aeb4a824f7ed942a9b8 | 0814d3782a69326d304deea96ad4c849fce9377a | /dev/a2-carsoccer/ball.h | 91b473a0cbe8a7d52505a718fee2ba66b15505ef | [] | no_license | ryanYirui/csci4611-2020 | c75e99c556a993f4f747532703ed2c0f610916ba | 8cca7547cf04ca962ceb3388c86d2bca9b3fbaa9 | refs/heads/master | 2023-02-06T06:54:26.030025 | 2020-12-25T22:21:46 | 2020-12-25T22:21:46 | 324,441,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | h | /** CSci-4611 Assignment 2: Car Soccer
*/
#ifndef BALL_H_
#define BALL_H_
#include <mingfx.h>
/// Small data structure for a ball
class Ball {
public:
/// The constructor sets the radius and calls Reset() to start the ball at
/// the center of the field
Ball() : radius_(2.6) {
Reset();
}
... | [
"zhao0884@umn.edu"
] | zhao0884@umn.edu |
173be259988e622bbeb132a9e2b0bd89cb950a36 | 53c3c3ee9f51556f64375076a677ef892c6d3654 | /fancy_core/Common/Callback.h | 5cf20690ca4383b5e1f2a3e482f4bd8a4132400f | [] | no_license | domme/FANCY | 75133d47bb6c349e8d6ce60cc7777fcd907a1bb2 | f6451ead9a4758b16bee3f019e6fbff7487a5f70 | refs/heads/master | 2023-06-24T15:49:59.992434 | 2023-06-18T21:02:06 | 2023-06-18T21:02:06 | 7,263,701 | 29 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,583 | h | #pragma once
#include <functional>
namespace Fancy {
//---------------------------------------------------------------------------//
template<typename SignatureT>
struct Callback;
//---------------------------------------------------------------------------//
template<typename ReturnT, typename... Args>
struc... | [
"dominik.lazarek@gmail.com"
] | dominik.lazarek@gmail.com |
95c9dd3aee43a83f7fab1f306ac620eec56c4b5b | 42ba73134eeca961230044e4cef29a5fc35e3529 | /TktkDirectX12GameLib/_Test3DActionGame/src/GameObject/_CommonScripts/SelfDeadTimer/Act3D_SelfDeadTimer.cpp | 2f164234a95b5e77694aeeda6ddb8b23638a8406 | [] | no_license | tktk2104/TktkDirectX12GameLib | 5b9ef672ce0a99bbce8a156751b423ef840729b3 | 4d037ec603d9f30d8c4ed3fb4474cfaea49c8ac9 | refs/heads/master | 2023-02-22T14:38:10.101382 | 2020-12-03T04:55:05 | 2020-12-03T04:55:05 | 287,092,170 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 543 | cpp | #include "Act3D_SelfDeadTimer.h"
Act3D_SelfDeadTimer::Act3D_SelfDeadTimer(float deadTimeSec)
: m_deadTimeSec(deadTimeSec)
{
}
void Act3D_SelfDeadTimer::start()
{
// タイマーを初期化
m_deadSecTimer = m_deadTimeSec;
}
void Act3D_SelfDeadTimer::update()
{
// タイマーのカウントがゼロになったら
if (m_deadSecTimer < 0.0f)
{
// このコンポーネントの所... | [
"taka.lalpedhuez@2104.gmail.com"
] | taka.lalpedhuez@2104.gmail.com |
f2b647c089b755fc6dfb404f7efa1472e90d1140 | 857bc06a760e91d6033a7e0bc0703d7ac09ed84d | /src/Robot.cpp | 023dcdf577b2fb37b748c3b22f443b0c0c7efcad | [] | no_license | guijiaqing/sfm_lib | cde81ca2f16ec748daea43b87d4fa920baeecae1 | d0104f0c8d7c9653d31f572931289e3174b7ddd6 | refs/heads/master | 2023-01-30T07:16:30.080557 | 2020-12-16T13:20:32 | 2020-12-16T13:20:32 | 321,986,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,823 | cpp | #include "Robot.h"
Robot::Robot(ros::NodeHandle &nh):nh_(nh),robot_state_(NORMAL){//整机状态normal
ROS_INFO("no param robot");
comm_ = new CommunicateInterface(nh,this);
add_Task();//默认加入Init_task 到 queueTask
}
Robot::~Robot(){
clear_Task();//清理内存
}
TaskState* Robot::nextTask_do(){//返回下一个任务
task_Copy2Old(taskSta... | [
"gui_jq@126.com"
] | gui_jq@126.com |
94f52907d97a3190ca62adaaffebb4a3ff2f73a4 | 556766fa74cffccf5832ff55ab5b6078ae747bf8 | /src/tests/test_nn_search/nn_search_ANN.cpp | c292dd91b2b74a1147279dcb335a98593154cc96 | [] | no_license | deep-programmer/geogram | 00898a2a9c3f9997dfb3ee7f720a0babbc3e8c3b | 05b3ef4edf0b87b5e52ff7f93a520e0e98ab3951 | refs/heads/master | 2020-03-13T19:11:47.380662 | 2018-04-13T15:30:39 | 2018-04-13T15:30:39 | 131,248,784 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,897 | cpp | /*
* Copyright (c) 2012-2014, Bruno Levy
* 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 c... | [
"simone.gasparini@gmail.com"
] | simone.gasparini@gmail.com |
d853bf9885c1d591b0676edf192242b4a416cb9f | 9f25ac38773b5ccdc0247c9d43948d50e60ab97a | /chrome/browser/ui/ash/projector/projector_client_impl.cc | 5e1ad9454d426bdb65b322930903dcc5aeef4215 | [
"BSD-3-Clause"
] | permissive | liang0/chromium | e206553170eab7b4ac643ef7edc8cc57d4c74342 | 7a028876adcc46c7f7079f894a810ea1f511c3a7 | refs/heads/main | 2023-03-25T05:49:21.688462 | 2021-04-28T06:07:52 | 2021-04-28T06:07:52 | 362,370,889 | 1 | 0 | BSD-3-Clause | 2021-04-28T07:04:42 | 2021-04-28T07:04:41 | null | UTF-8 | C++ | false | false | 3,228 | cc | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/ash/projector/projector_client_impl.h"
#include "ash/public/cpp/projector/projector_controller.h"
#include "base/optional.h"
... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
ad0146f1060517f6da2d135a0ea7d0d0af9cbceb | 6edda4cef6bea60a7d38041a833508bcd51a0fbc | /1867.cpp | 08add536b6b799bf2819d9f42b4417a53d2480d6 | [] | no_license | IIIIIIIIIU/onlysky | addd908364c2e4f42dfdf09b0ea7995b354b78f6 | c534c66a3e208734f3fd6f3eb9b76e82a9e6d036 | refs/heads/master | 2021-09-14T21:45:40.795263 | 2018-05-20T07:49:28 | 2018-05-20T07:49:28 | 104,289,423 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,096 | cpp | #include <cstdio>
#include <iostream>
#include <vector>
#include <iomanip>
#include <cassert>
#include <algorithm>
const int Big_B = 1000000000; const int Big_L = 9;
using namespace std;
inline int intcmp_ (int a, int b) { if (a > b) return 1; return a < b ? -1 : 0; }
struct Int
{
#define rg register
inline int ma... | [
"noreply@github.com"
] | noreply@github.com |
936bdd04be0506383657ab7cfac2584bb7d1ac92 | 7d1dc4ef43930b76635ad88b1dc33b8438b03b23 | /Monitoring/build-online_display-Desktop_Qt_5_4_2_GCC_64bit-Debug/moc_DisplayDrawer.cpp | 03697c9e87bb10c21faeb9766799a298e2941303 | [] | no_license | meleneemil/OLD-nsw-vmm-monitoring | 4ad66027539f2bf9d56ac7553a1c76813ac863c8 | d8e3992b1ed6adaee0dcfe27f5a04b30088ba66b | refs/heads/master | 2021-06-04T15:54:02.602024 | 2016-07-23T16:21:09 | 2016-07-23T16:21:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,151 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'DisplayDrawer.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.2)
**
** WARNING! All changes made in this file will be lost!
*******************************************************... | [
"root@pcatlnswdev01.dyndns.cern.ch"
] | root@pcatlnswdev01.dyndns.cern.ch |
bbd3bce5a5a36feaf8fd6a174bbefc5fed86e46e | e7c2b510eabafe7cb3109ed31a74c691aa0da526 | /FarNet/FarNetMan/Viewer.cpp | dfe28f411d4f6842503951c1e5fadedc52dc63fb | [] | no_license | valery-barysok/FarNet | 7bb3e1a58f335a8faa82ea6f95afac666b5aac71 | 043c34b685e5b963a056d21d4ffb3337c43bb832 | refs/heads/master | 2020-12-06T22:04:51.785180 | 2015-12-07T16:02:52 | 2015-12-07T16:02:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,101 | cpp |
/*
FarNet plugin for Far Manager
Copyright (c) 2006-2015 Roman Kuzmin
*/
#include "StdAfx.h"
#include "Viewer.h"
#include "Viewer0.h"
namespace FarNet
{;
void AnyViewer::ViewText(String^ text, String^ title, OpenMode mode)
{
Works::EditorTools::ViewText(text, title, mode);
}
Viewer::Viewer()
: _i... | [
"nightroman@gmail.com"
] | nightroman@gmail.com |
20d072f7f9fb831fd36de16254df2b5ebfaa2075 | 9b6eced5d80668bd4328a8f3d1f75c97f04f5e08 | /bthci/bthci2/CommandsEvents/interface/remotehostsupportedfeaturesnotificationevent.h | 270cefd4ad99dc4fcffbaeff0ce6958c4fd03f40 | [] | no_license | SymbianSource/oss.FCL.sf.os.bt | 3ca94a01740ac84a6a35718ad3063884ea885738 | ba9e7d24a7fa29d6dd93808867c28bffa2206bae | refs/heads/master | 2021-01-18T23:42:06.315016 | 2010-10-14T10:30:12 | 2010-10-14T10:30:12 | 72,765,157 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,812 | h | // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/e... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
8b1c77872331499bad45f019b14936717ee867ba | 6749b543df5be8d93a8c95ed308054ce31daa0ff | /include/common/cfg.h | 3b607fa108e0c33b044dfa4e85cfe8be28d44d7b | [] | no_license | yutiansut/release_model | f2d6766a23a925d99345e0741df88e6953a70e74 | bbf0aa02346df52baba3b431454884bb99cce3a9 | refs/heads/master | 2023-05-09T03:00:11.784598 | 2021-05-28T01:27:21 | 2021-05-28T01:27:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,380 | h | #pragma once
#include "simpleini/SimpleIni.h"
#include <common/util.h>
namespace husky {
struct dynamic_pattern {
virtual ~dynamic_pattern() {};
virtual bool is_pattern(const char* v, int len) = 0;
virtual std::string convert() = 0;
};
struct yyyyMMdd_pattern : public dynamic_patt... | [
"xxmawhu@163.com"
] | xxmawhu@163.com |
bc4c8fe5afc8f1c32ccc1eb748f4710bb4fe9df5 | 8f6f2f1c105b106f8b1b8309bb59630f5a166f05 | /course/course_1_1_1_hello_window.cpp | fd4b2e2cc1fb19ef417c5146eba52d279ba14694 | [] | no_license | lyl12345/LearnOpenGLQt | 230024ce813d512c72001401220fb1d66e8fbd15 | 7b1f7a62b8ed10de4c541ae8a3db4605f2fb5d54 | refs/heads/master | 2022-12-05T08:23:52.313521 | 2020-08-18T12:44:49 | 2020-08-18T12:44:49 | 276,817,848 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | #include "course_1_1_1_hello_window.h"
Course_1_1_1_hello_window::Course_1_1_1_hello_window()
{
initializeOpenGLFunctions();
}
void Course_1_1_1_hello_window::render()
{
glClear(GL_COLOR_BUFFER_BIT);
}
QList<QtProperty *> Course_1_1_1_hello_window::getPropertyList(QtVariantPropertyManager *manager)
{
GET... | [
"1518711388@qq.com"
] | 1518711388@qq.com |
bdd4bc25d9677770b1b9c04960a1fbd2d8d64bf8 | 662b5b2d0a675245e5dff8e092e2a36fa98ea7d2 | /gdl90_2_g496.ino | ce52f7c910ef7b52b1fad7ebeef37f1a7e43499c | [] | no_license | rocketbob/gdl90_2_g496 | 879c6add6c74870797cd575734a50cc7664e4105 | fb70f813bcfe787d1cc532b9c0acf1ef6253cf54 | refs/heads/master | 2021-09-29T00:36:29.213098 | 2021-09-23T14:50:22 | 2021-09-23T14:50:22 | 206,821,713 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,036 | ino | #include <WiFi.h>
#include <WiFiUDP.h>
#include <HardwareSerial.h>
unsigned int UDPPort = 4000; // local port to listen on
const int bufferSize = 450;
byte packetBuffer[bufferSize]; //buffer to hold incoming packet
byte messageBuffer[bufferSize];
const int wifiSelectPin = 4;
const int trafficAudioPin = 13; //traffic... | [
"rocketbob@gmail.com"
] | rocketbob@gmail.com |
6c56f8cffe3311dd41d35d146feade0169b55b39 | 4b9f86bc750d1159394d9c46be92805bcbc32b4c | /libbpe/simple.cpp | a1363d81c3b325f5119e96050ff264ed3cec3a6e | [] | no_license | nilehmann/RePair-WaveletTree-Graph | a3e700c12d58eb10cd7c5b061d37172f976b0690 | 4f7b47e260b62ee57a7dbb392ccd9257c8ea9455 | refs/heads/master | 2016-09-05T09:00:31.192972 | 2013-09-08T18:04:10 | 2013-09-08T18:04:10 | 12,629,112 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/times.h>
#include <iostream>
#include <sstream>
#include "bpe.h"
//double ticks = 100.0;
using namespace std;
bool manual = false;
int main (int argc, char **argv)
{
int p[] = {0x035F, 0xFF00};
ulo... | [
"nlehmann@localhost.localdomain"
] | nlehmann@localhost.localdomain |
6482bc4f203a033575ae780ecc8c5391d595bc1d | 26c11fcbc96b144acd07372b45ea4fab29bf231e | /mediadecoder/src/main/cpp/audiodecoder-jni.cpp | 322dcf625f0a0dcc3b97b803659563a31c72d547 | [] | no_license | Office-Murtaza/MVYShortVideoEditorAndroidPublic | cb281ee199adabd7503fb465ceedec50c0e4ecc5 | dff78af64d374775bdc1b71325740a04984057a8 | refs/heads/master | 2023-08-22T01:39:41.580718 | 2021-10-08T22:25:02 | 2021-10-08T22:25:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,413 | cpp | #pragma clang diagnostic ignored"-Wdeprecated-declarations"
#include <jni.h>
#include <string>
#include <sys/param.h>
#include <vector>
#include <android/log.h>
#include <sstream>
#ifdef __cplusplus
extern "C" {
#endif
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswresample/swresamp... | [
"developers@myvideoyun.com"
] | developers@myvideoyun.com |
9af9347dfd5b2f237d09816e73e2a5aaa40b1a35 | c51febc209233a9160f41913d895415704d2391f | /library/ATF/_qry_sheet_insertRegister.hpp | 962a6fde68ea71dca33a6f5437d7d4d1c15e6d47 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 694 | hpp | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <_qry_sheet_insertDetail.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace Register
{
class _qry_sheet_insertRegister : public I... | [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
31088514c8e1921b2e98613b843d256a8b243995 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/Z6.2+poll+dmb.sy+poal.c.cbmc_out.cpp | 450650f0be1aee7a25ad89eb43c334125e5291e1 | [] | 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 | 42,125 | cpp | // 0:vars:3
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// 5:thr0:1
// 6:thr1:1
// 7:thr2:1
#define ADDRSIZE 8
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( char from, char to ) ... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
7a533e1b252b05b7ab671106899679550661f7f4 | b59f7dba0cee8d1f94b3d7a8b2f71333df77744d | /Classes/module/ActModule.cpp | 7a36ba1ca52cf3ab103242a8678995099844357a | [] | no_license | akaza03/Fighter | d210f0f15170f511ec27245c6aa3535d351c58c1 | 19dce5d8ee84461db77085bd186d7568a60b1c43 | refs/heads/master | 2022-11-28T11:44:32.958355 | 2020-08-05T04:05:41 | 2020-08-05T04:05:41 | 262,900,165 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 470 | cpp | #include "unit/Character.h"
#include "ActModule.h"
void ActModule::operator()(cocos2d::Sprite & sp, ActData & act)
{
// 移動処理
Move()(sp, act);
// 敵が死亡時の吹き飛び処理
Blow()(sp, act);
// 攻撃
Attack()(sp, act);
// 向きの更新
DirCheck()(sp, act);
// アニメーションの更新
AnimUpdate()(sp, act);
// 当たり判定
DamageCheck()(sp, act);
// 移動
... | [
"yuyuko9903@docomo.ne.jp"
] | yuyuko9903@docomo.ne.jp |
11bb2a5d25fc0ade6e57c95c8bfc175b66b6d787 | aca810f6dd683a8c4069dff0e9705e7db19fbcca | /validSudoku.cpp | f88fe77cddca7bdb1fd98ae6cc4d8b7d0f65826f | [] | no_license | okeashwin/General | 4c3c6333e5ba343230eb78deb1a510cb168b1731 | 9df41c2cfa4895b944c29eb13de03295bba69758 | refs/heads/master | 2021-01-10T05:50:07.721347 | 2017-09-27T02:31:50 | 2017-09-27T02:31:50 | 44,040,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,132 | cpp | class Solution {
private:
inline void clear(vector<bool>& visited) {
for(int i=0;i<visited.size();i++) {
visited[i]=false;
}
}
public:
bool isValidSudoku(vector<vector<char>>& board) {
int rows=board.size();
int cols=board[0].size();
if(rows==0) {
... | [
"okeashwin@gmail.com"
] | okeashwin@gmail.com |
8022b6134dc60334cf4965242fd7110f0c6f0d25 | 38451d040d18cf7e84428fe48cf36608e21070a2 | /rand_gen.cpp | afef951421a88b7d0465d9bf1e7646663c8b20ed | [] | no_license | gmfricke/PowerSearch3D | f693cc1919f72b0ec2f9bd5d56f0f268e777ad70 | 63d8bf4dbdf41557a1be10ba77cd39b1748fd1b9 | refs/heads/master | 2021-01-10T10:48:34.341892 | 2017-08-16T15:26:05 | 2017-08-16T15:26:05 | 45,801,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,140 | cpp | #include "rand_gen.h"
#include <stdlib.h>
rand_gen::rand_gen(){
srand(time(NULL));
}
double rand_gen::uniform_dist(double a, double b){
double r=rand()/(RAND_MAX+1.0);
return a+(b-a)*r;
}
/*
To simulate exponential distribution exp(-lambda*x), the inverse
method is used.
The cumulative distribution function for t... | [
"matthew@fricke.co.uk"
] | matthew@fricke.co.uk |
99d02cc696b9acd19d116d6c01904aeb69cda331 | 776f5892f1395bb8d30731a60466e4c756a44c8c | /contests/abc233/abc233_f/main.cc | c73ef6c8417dcada59929de9738e14111cb5d8b9 | [] | no_license | kkishi/atcoder | fae494af4b47a9f39f05e7536e93d5c4dd21555b | f21d22095699dbf064c0d084a5ce5a09a252dc6b | refs/heads/master | 2023-08-31T18:37:13.293499 | 2023-08-27T21:33:43 | 2023-08-27T21:33:43 | 264,760,383 | 0 | 0 | null | 2023-03-10T05:24:07 | 2020-05-17T21:30:14 | C++ | UTF-8 | C++ | false | false | 972 | cc | #include <bits/stdc++.h>
#include "atcoder.h"
#include "disjoint_set.h"
void Main() {
ints(n);
V<int> p(n);
cin >> p;
each(e, p)-- e;
ints(m);
VV<pair<int, int>> g(n);
DisjointSet ds(n);
rep(i, m) {
ints(a, b);
--a, --b;
if (!ds.Same(a, b)) {
ds.Union(a, b);
g[a].eb(b, i);
... | [
"keisuke.kishimoto@gmail.com"
] | keisuke.kishimoto@gmail.com |
c06e98484060a11a38697fe404f15bf76cf8e470 | d7ea642cec35f60d4e3053009a7d858eb3c86f2c | /Patterns/Builder/Docs/Builder.cpp | d5c9ebc97e2540c67026273c06dff4196a8d15eb | [] | no_license | perezite/sandbox | 396091c9c1d4fa6c5275547148a6834853bdb376 | 759d697ca30cedda39a40d7e37d9d49a498b4cb4 | refs/heads/master | 2021-01-17T06:35:23.994689 | 2020-09-25T20:57:52 | 2020-09-25T20:57:52 | 59,944,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | cpp | Quad quad;
quad.setPosition(1, 1);
quad.setScale(1, 1);
// Quad quad;
// quad.setPosition(1, 1).setScale(1, 1);
set(quad).with<setPosition>(1, 1).with<setScale>(1, 1);
template <class T>
class Builder {
T& _target;
public:
Builder(T& target) : _target(target) { }
template <class f, A1, A2>
Builder with(const A1& ... | [
"10709507+perezite@users.noreply.github.com"
] | 10709507+perezite@users.noreply.github.com |
ab6219c45e7607099cbd45f2d58993633225c54f | 304ff6d39a8eaa896317a34ec31787606a71656f | /SSAM019H.cpp | 698ac5ad66a3ebb8b709985fb68b9d4621609e7e | [] | no_license | S4ltF1sh/SPOJ | 4ed70e86d47371f436efd4080991bfc8ed3a9e65 | b7694fb770d973649e7804def0352dc075c822c8 | refs/heads/main | 2023-06-01T19:10:05.737305 | 2021-06-22T11:09:46 | 2021-06-22T11:09:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | cpp | //SSAM019H - SỐ FIBONACCI THỨ N
#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
const long long MOD = 1e9 + 7;
struct MATRIX
{
long long tmp[2][2] = {{0, 1}, {1, 1}};
};
MATRIX Multi(MATRIX a, MATRIX b, int n)
{
MATRIX Res;
for (int i = 0; i < n; i++)
for ... | [
"noreply@github.com"
] | noreply@github.com |
bef13a4a3c077490ddf98236c282006cc4269b64 | dc6bcfd5b35a303f9d6c1734fd6f5f300ea39377 | /2 Data Structure (DS)/Exercises/Huffman_Coding/main.cpp | 8ceefd0b959631f2a2e1298f7ff01db7cd6978be | [] | no_license | HearyShen/SudaArchive | d2ec1be992ed937b76275d1096be71b61df2e2d5 | 71317dab9720ee27e2a1d16fc0b9a8c20246daf0 | refs/heads/master | 2022-04-16T10:48:49.143807 | 2020-04-17T14:12:04 | 2020-04-17T14:12:04 | 256,519,650 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,717 | cpp | #include <iostream>
#include <fstream>
#include <windows.h>
#include "Huffman_Tree.h"
#include "Pixel.h"
using namespace std;
const int W = 4;
const int H = 4;
//typedef struct tagBITMAPFILEHEADER
//{
// WORD bfType; //位图文件的类型,必须为BM(1-2字节)
// DWORD bfSize; //位图文件的大小,以字节为单位(3-6字节,低位在前)
// WORD bfReserved1... | [
"jiayun.shen@foxmail.com"
] | jiayun.shen@foxmail.com |
cbc64de158ed744d32376d94fbdf8a2272ae39ea | 5cbe5f3b31d3f7c6eb9c271b1b1ff96fd08fe37f | /RetroGame/RenderEngine/RenderEngineInterop/Font.h | 7fcbdf3802446ecdd94d4e424d2de0ec2fda2910 | [] | no_license | Galli24/RetroGame | e807046475a28a4ccd9403112639f05b8aca0373 | cf53d0e0ed26db21c22e2e487e3bc9506f58c689 | refs/heads/master | 2023-02-26T14:54:33.568054 | 2021-02-07T17:27:12 | 2021-02-07T17:27:12 | 302,600,325 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | h | #pragma once
#include "BaseInterop.h"
#include <cliext/adapter>
#include <cliext/algorithm>
#include <cliext/vector>
#include <cstring>
#include <msclr/marshal_cppstd.h>
#include "../RenderEngine/Font.h"
using namespace System;
namespace RenderEngine {
public ref class Font : BaseInterop<Rendering::Font>
{
publ... | [
"jeremiah.decombe@epitech.eu"
] | jeremiah.decombe@epitech.eu |
44950da599395d670d8116c18bf0c0b240d98f57 | e36287151eed5c3215736575a7e81cf7bda1de5f | /DP3.cpp | bd82d01320485345fa65cd4e1941a23dfed97777 | [] | no_license | akhilagg7/Data-Structure | e2c0e7d47cc231bcf977cc47216a5fb0f3e45030 | 14edf3ed033363dc1b5459a1d0ed15cc5304e7ff | refs/heads/master | 2022-12-25T09:53:21.260592 | 2020-09-30T18:55:27 | 2020-09-30T18:55:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,871 | cpp | #include<iostream>
using namespace std;
int editDist(string s,string t)
{
if(s.size()==0)
{
return t.size();
}
if(t.size()==0)
{
return s.size();
}
if(s[0]==t[0])
{
return editDist(s.substr(1),t.substr(1));
}
int x=editDist(s.substr(1),t)+1;
int y=editDist(s,t.substr(1))+1;
i... | [
"noreply@github.com"
] | noreply@github.com |
e0ee09be8399dd5fb2ca7a5122dc4dd74918cf23 | 3d7f40a09ca2a6f58c81877b2f9985e8fabe0d66 | /C++/Week 6/Classwork/making file.cpp | dc886849b8f7909f84ab0a4da3c870e99a61b7c7 | [] | no_license | mkieft/Computing | 36dbd36ba7ef4c1e3c606d5f05ad81559b756562 | ecabc32ca501a60d62b5e9cb68d5c6a2b7033af1 | refs/heads/master | 2022-12-05T03:48:10.173132 | 2020-08-25T18:15:38 | 2020-08-25T18:15:38 | 290,288,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | ///File: week6/classwork/makeFile.cpp MK
///make a file called ints.txt with ints from 1 to 10
#include <iostream>
#include <fstream> // for working with files
using namespace std;
main(){
ofstream fout ("ints.txt"); //variable that is a file
for ( int i = 1; i <= 1000; i ++){
cout << i << "\n"; //print... | [
"45219678+mkieft@users.noreply.github.com"
] | 45219678+mkieft@users.noreply.github.com |
6720ebdc573c7a68a94be71b5e7fbcb9a33d27be | 8567438779e6af0754620a25d379c348e4cd5a5d | /ui/android/window_android.h | 7219c0ac73fa1c185f701323a07f79fd0115cce6 | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 3,619 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_ANDROID_WINDOW_ANDROID_H_
#define UI_ANDROID_WINDOW_ANDROID_H_
#include <jni.h>
#include <list>
#include <memory>
#include <string>
#include <... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
9b23da42d41976583cb8a53db7cdf0960814116c | c1671bd042b11704cc7d8c545d023e718ae99a09 | /eMu - GameServer Sapphire S0/GameServer/Weapon.cpp | b50a8f3104a587058dbee9b245a001733dd73d4b | [] | no_license | Sogues/mu1.1 | e9a31864b2ebc2517f5aeba1ead735d3fedfcfba | 58de7aeee6ca26be861b0f0a81cf0cbf5ad8db11 | refs/heads/master | 2022-04-08T13:32:57.142927 | 2020-03-29T15:13:46 | 2020-03-29T15:13:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,823 | cpp | #include "stdafx.h"
#include "Weapon.h"
#include "user.h"
#include "gObjMonster.h"
#include "ObjAttack.h"
// GS-N 0.99.60T 0x0051A5F0
// GS-N 1.00.18 JPN 0x0054BF60 - Completed
// GS-CS 1.00.18 JPN 0x0054BF60 - Completed
CWeapon g_CsNPC_Weapon;
#define MAX_ST_CS_WEAPON (4)
struct ST_CS_WEAPON
{
BYTE btXBegin; // ... | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
50023361dfe06548caadb2ec44f1cbc289ae608b | 594855ca5b64696332206a44fe5e92a72d7a0a17 | /h/winmove.h | 415ab248a929ac44c05f637e70fe2c57c1c4a806 | [] | no_license | dnichyparuk/bob-flight-sim | 2669e272507cc179512929c1bad9f911f9dd7d44 | 5e70a2d0b452bd2f6b1392c292d82bf757bb05e9 | refs/heads/master | 2021-05-17T00:38:34.429823 | 2014-10-15T14:27:15 | 2014-10-15T14:27:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,535 | h | //------------------------------------------------------------------------------
//Filename winmove.h
//System
//Date Fri 9 Aug 1996
//------------------------------------------------------------------------------
#ifndef WINMOVE_Included
#define WINMOVE_Included
#define DEFAULT_WINMOVE 0
#i... | [
"xorrezerv2@list.ru"
] | xorrezerv2@list.ru |
276ed7c3c9a8f29b2eb2e6c536a13b457853e18a | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-frauddetector/include/aws/frauddetector/model/DeleteDetectorVersionResult.h | 377eaf7163e50d784518268232a737d7f203e8fc | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 854 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/frauddetector/FraudDetector_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
}... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
aa33bc9a44f2b82b115cb128ce254ade5f93886f | 7fd64b86c7e8f63d6238fe93ccf6e62a4b8ebc66 | /codeforces/545/D.cpp | 252d956b4f157494bfaa4a1695ff1508db17e2b4 | [] | no_license | Mohammad-Yasser/harwest | 775ba71303cc2849f71e82652263f31e79bd8e04 | d01834a9a41c828c8c548a115ecefd77ff2d6adc | refs/heads/master | 2023-02-02T23:37:54.186079 | 2013-09-19T19:28:00 | 2020-12-21T14:30:32 | 323,233,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
// I doubt this solution can work for a D problem. :D
// But this contest isn't rated for me, so why would I be so serious :v
int n;
cin >> n;
int arr[n];
for (int i = 0; i < n; ++i)
cin >> arr[i];
sort(arr, arr + n);
int ans = 0;
lon... | [
"mohammadyasser3@gmail.com"
] | mohammadyasser3@gmail.com |
7dcd08312a0a0311b79785e51b475cbc9f96c4f4 | 8f288ba858e5915dcecd4ee9559967b0291516b1 | /gameEngine/Sprite.h | 8339c82c5465948dde75e7efe6330ad3a2f32e40 | [
"Apache-2.0"
] | permissive | huangxizhi/opengl_tutorial | a61a3ea8d03ec2da855114f988952811f0929038 | 204323c2fbf91542aeca6412b933bac4b5f36f2b | refs/heads/master | 2021-06-10T05:06:24.196993 | 2016-12-20T11:41:31 | 2016-12-20T11:41:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | h | #pragma once
#include <GL\glew.h>
#include "GLTexture.h"
#include <string>
namespace Engine {
class Sprite
{
public:
Sprite();
~Sprite();
void init(float x, float y, float width, float height, std::string texturePath);
void draw();
private:
float _x;
float _y;
float _width;
float _height;
GLT... | [
"huangtao3@le.com"
] | huangtao3@le.com |
d142996709b0c836e11bc28f03c52d65ba5331d4 | 46d4705d311387e0bc7b614271353bd445b9a776 | /src/pow.cpp | c08cd671bbd471b5d000200045ef4b732a3ac11c | [
"MIT"
] | permissive | VersusCoin/versus-dev | 12e2fd8f2ba730e59e7e4b454787afb7b4a79ec3 | 333a57584886de67d2dd261fb5672714e9dd20a0 | refs/heads/master | 2021-05-05T05:48:30.359486 | 2018-01-24T11:55:56 | 2018-01-24T11:55:56 | 118,751,174 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,352 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "pow.h"
#include "arith_uint256.h"
#include "chain.h"
#include "chainpa... | [
"versuscrypto@gmail.com"
] | versuscrypto@gmail.com |
0fc205f9516dbc626c588e32901a76b5e9caec4a | ec681d943400d1ce01c1de6ccdea5245c3a87646 | /cpp.lotdd/c7/7/libraryTest/PersistenceTest.cpp | 175e80c623ce99bd1cdb639d112ac75be9bf9e14 | [] | no_license | hechenyu/book_code | 84ca011308c9d4faaff9050a8bdcc4cbbd0ea1cc | 4e1501bb1918f55be60bed1bd03f3441f0bdc66b | refs/heads/master | 2020-05-21T04:34:03.457535 | 2017-07-12T11:37:40 | 2017-07-12T11:37:40 | 65,210,563 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,574 | cpp | #include "PersistenceTest.h"
#include "gmock/gmock.h"
#include <memory>
#include "KeyedMemoryPersistence.h"
#include "TestSerializable.h"
using namespace std;
using namespace testing;
TEST_P(PersistenceTest, IsEmptyOnCreation)
{
ASSERT_THAT(persister->Size(), Eq(0u));
}
TEST_P(PersistenceTest, ... | [
"hexu_bupt@sina.com"
] | hexu_bupt@sina.com |
439ab30c46e91f357985e6577d26c4dc33e6d0f6 | d51d72f1b6e834d89c8551bb07487bed84cdaa31 | /src/output/osg/customCode/osg/Array_pmoc.hpp | acb5969ee9298cf6986c54072535916c33963364 | [] | no_license | wangfeilong321/osg4noob | 221204aa15efa18f1f049548ad076ef27371ecad | 99a15c3fd2523c4bd537fa3afb0b47e15c8f335a | refs/heads/master | 2021-01-12T20:00:43.854775 | 2015-11-06T15:37:01 | 2015-11-06T15:37:01 | 48,840,543 | 0 | 1 | null | 2015-12-31T07:56:31 | 2015-12-31T07:56:31 | null | UTF-8 | C++ | false | false | 2,966 | hpp | #ifndef osg_Array_customHPP
#define osg_Array_customHPP 1
//includes
#include <osg/Array_pmoc.hpp>
#include <QObject>
#include <osg/Array>
#include <osg/Array_pmoc.hpp>
namespace osg{
class QMLValueVisitor: public QReflect_ValueVisitor
{
Q_OBJECT
public:
QMLValueVisitor(pmoc::Instance *i=0,QObject* parent=0);
virtu... | [
"mp3butcher@gmail.com"
] | mp3butcher@gmail.com |
a62dadfd7091cd8497071c85bd7193c8b287220e | 42bcc124b6db7bc72ecfccd7f675eb79532cf1e5 | /CvGameCoreDLL_Expansion2/CvUnitMovement.cpp | c5538d009c4d5f1df9c777f5ecb078f412a0f970 | [] | no_license | iskaandismet/Iska-s-DLL-Changes | d7c0572be30c6e62285781864eb42e1e0397aad9 | fec2751e56876b37f2e693ef6f565fb2f1622bed | refs/heads/master | 2022-12-31T21:45:48.534407 | 2020-10-27T19:39:20 | 2020-10-27T19:39:20 | 257,297,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,892 | cpp | #include "CvGameCoreDLLPCH.h"
#include "CvPlot.h"
#include "CvCity.h"
#include "CvUnit.h"
#include "CvGlobals.h"
#include "CvUnitMovement.h"
#include "CvGameCoreUtils.h"
// ---------------------------------------------------------------------------
void CvUnitMovement::GetCostsForMove(const CvUnit* pUnit, const CvPlot*... | [
"iskaandismet@gmail.com"
] | iskaandismet@gmail.com |
c20cace9701c5e79e28f998b9ec0881388ff3ada | 203139f9bf54d3a129e674e1ce704a4242b4a995 | /tool/ADSPTOOL/StdAfx.cpp | d9063d9289890f98b59f7d55bb5be989c2213cf3 | [] | no_license | AlexVangelov/ar168l | 289bf442c2b38839c6a227c782d50830e3ae9eb3 | b995f53c8ccd7e5dab888c4b283e0cdb443a28e9 | refs/heads/master | 2021-01-10T20:11:21.416116 | 2015-03-18T03:03:02 | 2015-03-18T03:03:02 | 8,335,621 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | // stdafx.cpp : source file that includes just the standard includes
// adsptool.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
| [
"email@data.bg"
] | email@data.bg |
4102313a2c2bb15e91023942f6d3ce1dfeea5e60 | a8e026f5a49f848ba647cf947ccf038a7d5c7857 | /Week6_3/src/ImageClass.cpp | dd09087038e21df1a9715db5c156edef03e453fc | [] | no_license | pimtron/vscode_oF | d41b28a2fdda5b4d54a3a02a935321ef5a5f46ec | 4889cd0c1d3a09d81e63a0a596f1f5a779211d91 | refs/heads/master | 2021-01-06T21:30:11.448491 | 2020-04-05T14:39:53 | 2020-04-05T14:39:53 | 241,485,365 | 0 | 0 | null | 2020-02-18T22:56:20 | 2020-02-18T22:56:19 | null | UTF-8 | C++ | false | false | 2,063 | cpp | #include "ImageClass.h"
float angle = 0;
Shape::Shape()
{
color = ofColor(ofRandom(255), ofRandom(255), ofRandom(255));
startingX = 500;
startingY = 900;
cornerRadius = 50;
}
Shape::Shape(int x, int y)
{
color = ofColor(ofRandom(240, 255), ofRandom(240, 255), ofRandom(240, 255));
startingX = x;
starting... | [
"paytonmeyer@paytonmeyer-macbookpro.roam.corp.google.com"
] | paytonmeyer@paytonmeyer-macbookpro.roam.corp.google.com |
02d7dcbd8bc2126bf9491bda170cc357cb8389e2 | e915778c19cadaefc63bc1413313055e4d4912aa | /MVD_ToolScripting-Exporter-Class9/class9/Alun_Alberto_Tools/src/Parsers.cpp | 45a8badef2fd2446e08a4c510936608074df986a | [] | no_license | lauriChu/MVD_ToolScripting | 0103ca52de22606cb2cc2b812e18273a9e162666 | 9e01889a2415cacc86fd02726f67b065b9e1192d | refs/heads/master | 2020-04-20T23:05:52.761709 | 2019-02-06T21:56:16 | 2019-02-06T21:56:16 | 169,159,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,873 | cpp | #include "Parsers.h"
#include <fstream>
#include "extern.h"
#include "rapidjson/document.h"
#include "rapidjson/istreamwrapper.h"
#include "components/comp_rotator.h"
#include "components/comp_tag.h"
#include <unordered_map>
std::unordered_map<std::string, int> Parsers::geometries;
std::unordered_map<std::string, int>... | [
"lau.gf92@gmail.com"
] | lau.gf92@gmail.com |
a018577b4c44747c97a94b48387b54036d67044c | dcd404807089f8c7f898d0fdbd4eac8eddfba70d | /modules/svg/include/SkSVGFeComposite.h | 9a6570acdc6f41faa9fac19adf0e3df7324cfd39 | [
"BSD-3-Clause"
] | permissive | mattleibow/skia | 3d52a7927fa733eedca9c3fd3235f9a905af7477 | 8e7a3aa31b76f3e16e561eead4c938a8fbbd520f | refs/heads/xamarin-mobile-bindings | 2023-03-16T18:06:35.333452 | 2022-05-31T18:20:40 | 2022-05-31T18:20:40 | 502,410,740 | 1 | 0 | BSD-3-Clause | 2022-06-11T17:14:30 | 2022-06-11T17:14:29 | null | UTF-8 | C++ | false | false | 1,356 | h | /*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkSVGFeComposite_DEFINED
#define SkSVGFeComposite_DEFINED
#include "include/core/SkBlendMode.h"
#include "modules/svg/include/SkSVGFe.h"
#include "modules/svg/include... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
c6fb431ceec3c64fe4e4d8c28d12b09bd99f5002 | 10e90fa57373b61f54965ddc4ba51ab9ee69db33 | /source/color.cpp | e499805309cbaaf1aa1bb091d3e4b69e482f6664 | [
"MIT"
] | permissive | TheChosenHobbit/programmiersprachen-aufgabenblatt-2 | 62c419905a9c48e7f2cbadd92ebca9dd00757e6b | ac29bd561c633aede0cf34135b90e334a4b8437a | refs/heads/master | 2020-12-03T10:38:53.778756 | 2016-05-08T22:58:40 | 2016-05-08T22:58:40 | 57,893,836 | 0 | 0 | null | 2016-05-02T13:53:53 | 2016-05-02T13:53:53 | null | UTF-8 | C++ | false | false | 163 | cpp | #include "color.hpp"
Color::Color():
r{0},
g{0},
b{0} {}
Color::Color(float a):
r{a},
g{a},
b{a} {}
Color::Color(float d, float e, float f):
r{d},
g{e},
b{f} {} | [
"xavo6170@billl07.in.uni-weimar.de"
] | xavo6170@billl07.in.uni-weimar.de |
0a835ad03547d117f52b6eedeaaa0b4fa66a79fc | 84b4e162de99f2c1fc470f03b94d01cadcfc9c05 | /Chp14/Questions/C14Q15.cpp | d43f3f7efa25478ae64c3239f98c9ff0b9d7cf62 | [] | no_license | kate-ly-zhao/Eckel_ThinkingInCPP | a12837deb5cc98b75c39e3302cd146b3dfc9521c | ccaf3d530a438f2f3581ad4264a585b4db920399 | refs/heads/master | 2020-03-19T06:33:54.222172 | 2018-07-13T01:12:43 | 2018-07-13T01:12:43 | 136,033,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | // C14Q15.cpp
/* Create a class with two static member functions. Inherit from this class and redefine one of the member functions.
Show that the other is hidden in the derived class. */
#include <iostream>
#include <string>
using namespace std;
class music {
public:
static void rock() { cout << "rock n' ro... | [
"noreply@github.com"
] | noreply@github.com |
f06fde87e2b0c2c61116af82c98e9f95967ca4c0 | 0900694cdc952cc44faf65175bc156116ba82f14 | /algorithm/hannuota.cpp | b17967afa57d1393d9b071ec067517758671308a | [
"MIT"
] | permissive | chtld/Programming-and-Algorithm-Course | 588de8935ab2e35e72f43f406b73e57e3622faca | 669f266fc97db9050013ffbb388517667de33433 | refs/heads/master | 2021-07-22T20:32:04.246130 | 2020-05-10T00:06:40 | 2020-05-10T00:06:40 | 164,189,452 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include<iostream>
using namespace std;
void move(int n, char A, char B, char C){
if (n == 1) {
cout << A << "->" << C << endl;
return;
}
move(n-1, A, C, B);
cout << A << "->" << C << endl;
move(n-1, B, A, C);
}
int main(){
int n;
cin >> n;
move(n, 'A', 'B', 'C');... | [
"zhangshangyuan1357@gmail.com"
] | zhangshangyuan1357@gmail.com |
76912f7c050cb42467549f061a5118bd4e233287 | 257a6ebe1c0bce0b6f81161fe059a50138860bf1 | /minesweeper test/Array2D.h | ae188f47eefcb074fa045c51b4c0f6620d428d95 | [] | no_license | shantahuja/minesweeper-test | ebfbce4f492d997fc3eb57d292bba0783ba661f2 | 95d1f6071c05655eaedda96967299fdaa3593c06 | refs/heads/master | 2020-04-01T12:39:11.004129 | 2018-10-16T03:35:26 | 2018-10-16T03:35:26 | 153,217,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,530 | h | #ifndef ARRAY2D_H
#define ARRAY2D_H
#include "Array.h"
#include "Row.h"
#include "Exception.h"
template <class T>
class Row;
template <class T>
class Array2D
{
private:
Array<T> m_array;
int m_row;
int m_col;
public:
Array2D();
Array2D(int row, int col);
Array2D(const Array2D & copy);
~Array2D();
Array2D & op... | [
"shantahuja@gmail.com"
] | shantahuja@gmail.com |
8c62c62986648d4564d30b91a3ce486b2c618eb1 | f8df0470893e10f25f4362b84feecb9011293f43 | /build/iOS/Preview/include/Fuse.Animations.Change-1.h | 1491b6cb083521286b27213364628da8a9f98c46 | [] | no_license | cekrem/PlateNumber | 0593a84a5ff56ebd9663382905dc39ae4e939b08 | 3a4e40f710bb0db109a36d65000dca50e79a22eb | refs/heads/master | 2021-08-23T02:06:58.388256 | 2017-12-02T11:01:03 | 2017-12-02T11:01:03 | 112,779,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,466 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Animations/1.4.0/Change.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.TrackAnimator.h>
namespace g{namespace Fuse{namespace Animations{struct AnimatorState;}}}
namespace g{namespace Fu... | [
"cekrem@Christians-MacBook-Pro.local"
] | cekrem@Christians-MacBook-Pro.local |
5606bdfa8dd242ffddbd7ba0eea5362e8ae856e2 | 1c444bdf16632d78a3801a7fe6b35c054c4cddde | /include/bds/unmapped/IPackTelemetry.h | 79718d64d421469b2e7af997ca32d435624c1fb0 | [] | no_license | maksym-pasichnyk/symbols | 962a082bf6a692563402c87eb25e268e7e712c25 | 7673aa52391ce93540f0e65081f16cd11c2aa606 | refs/heads/master | 2022-04-11T03:17:18.078103 | 2020-03-15T11:30:36 | 2020-03-15T11:30:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | h | #pragma once
class IPackTelemetry {
public:
~IPackTelemetry(); // _ZN14IPackTelemetryD2Ev
IPackTelemetry(); // _ZN14IPackTelemetryC2Ev
};
| [
"honzaxp01@gmail.com"
] | honzaxp01@gmail.com |
844bdfa74e135b8ad6814f0a5cee475eb21e4ed5 | ffa8bfb9a99563a4295af6ddd76a1be697aba97a | /photon/src/photon.ino | 39a8b81afa73e944b491cce52da230cb0274b6f3 | [
"MIT"
] | permissive | FirstBuild/AutoBourbonDispenser | 5204d5fcfa2fb5e6f33d7c8aea5f6fc04c3eb3e5 | ff216c8d412b2de3f92773df6f42129eab70ed28 | refs/heads/master | 2021-07-05T05:38:11.871895 | 2017-09-21T20:35:39 | 2017-09-21T20:35:39 | 103,546,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,459 | ino | /*
* Project photon
* Description:
* Author:
* Date:
*/
#include "HX711ADC/HX711ADC.h"
#include "FastLED/FastLED.h"
#include "RBD_Timer/RBD_Timer.h"
#include "RBD_Button/RBD_Button.h"
FASTLED_USING_NAMESPACE;
#define LED_PIN A5
#define COLOR_ORDER GRB
#define CHIPSET WS2811
#define NUM_LEDS 113
#define B... | [
"james@firstbuild.com"
] | james@firstbuild.com |
67de5db196140f2d21e36b5212a4168a0857946b | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /net/log/trace_net_log_observer.cc | 4349c3c714ac507747b2cca50d6c886d85cf297e | [
"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 | 4,044 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/log/trace_net_log_observer.h"
#include <stdio.h>
#include <memory>
#include <string>
#include <utility>
#include "base/json/json_writer.h... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
dc24cfb9cfac2ab3d1f3fdd43b7dfc2e1f7a0e42 | c32ee8ade268240a8064e9b8efdbebfbaa46ddfa | /Libraries/m2sdk/ue/sys/render/C_CompressedBuffer.h | c61eb368db0acf951a1f8a98595ab8deaac943e5 | [] | no_license | hopk1nz/maf2mp | 6f65bd4f8114fdeb42f9407a4d158ad97f8d1789 | 814cab57dc713d9ff791dfb2a2abeb6af0e2f5a8 | refs/heads/master | 2021-03-12T23:56:24.336057 | 2015-08-22T13:53:10 | 2015-08-22T13:53:10 | 41,209,355 | 19 | 21 | null | 2015-08-31T05:28:13 | 2015-08-22T13:56:04 | C++ | UTF-8 | C++ | false | false | 425 | h | // auto-generated file (rttidump-exporter by h0pk1nz)
#pragma once
#include <ue/C_RefPtrCounter.h>
namespace ue
{
namespace sys
{
namespace render
{
/** ue::sys::render::C_CompressedBuffer (VTable=0x01E90350) */
class C_CompressedBuffer : public ue::C_RefPtrCounter
{
public:
virtual void vfn_0001_2967E2C5() = 0;... | [
"hopk1nz@gmail.com"
] | hopk1nz@gmail.com |
9cf1a8cbfff07db7494c6ed8754bee80b6fbd12a | 2fcc9ad89cf0c85d12fa549f969973b6f4c68fdc | /LibMathematics/CurvesSurfacesVolumes/Wm5BSplineVolume.cpp | 7a11fb87be32ac2c333e2384a733172ad2f59aed | [
"BSL-1.0"
] | permissive | nmnghjss/WildMagic | 9e111de0a23d736dc5b2eef944f143ca84e58bc0 | b1a7cc2140dde23d8d9a4ece52a07bd5ff938239 | refs/heads/master | 2022-04-22T09:01:12.909379 | 2013-05-13T21:28:18 | 2013-05-13T21:28:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,409 | cpp | // Geometric Tools, LLC
// Copyright (c) 1998-2012
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.1 (2010/10/01)
#include "Wm5MathematicsPCH.h"
#include "Wm5BSplineVolu... | [
"bazhenovc@bazhenovc-laptop"
] | bazhenovc@bazhenovc-laptop |
b66d4a48c2af76b0f5a37598233f2370280134be | a8b24dd7e1a897f31e76bd8230b003e8417ba01c | /在线Oj01/oj_server.cpp | e2b83b6aa3f1bc508a11a50d04e82e1da35a175e | [] | no_license | pengkunfan/project | ee707f23109e00f5da9fa3797eee5c8e7cbf3e0a | 677b5b7c6bb984bf8235f705c3b249399acc9406 | refs/heads/master | 2022-11-10T23:33:14.424551 | 2020-07-05T06:58:33 | 2020-07-05T06:58:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cpp | #include <string.h>
#include <string>
#include "httplib.h"
#include "oj_model.hpp"
//#include "oj_log.hpp"
int main()
{
using namespace httplib;//只在当前模块生效
Server svr;
OjModel ojmodel;
//【var】 :值传递,lambda内部操作不会影响外边
//【this】: 值传递this指针
//层次匹配 + 回调函数
//获取试题信息
svr.Get("/all_questions", [&ojmodel](const Re... | [
"571533258@qq.com"
] | 571533258@qq.com |
e39182378b3cbfb70a50a232ec013820ee8e15d5 | c4266e711eaeefc6c19f93e12a7189d61eba3861 | /sy3.cpp | 3406e769ad9b225523bffc7f0d066c04afd09d2d | [] | no_license | jjAugust/C_project | f84a22ecac37d22efd3bf9fda51e35dead737e17 | 2534a1961199582f080df9e99767ef3c114986b9 | refs/heads/master | 2021-01-11T03:26:02.818369 | 2016-10-16T05:27:19 | 2016-10-16T05:27:19 | 71,031,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,936 | cpp | #ifndef _BTREE_H
#define _BTREE_H
#define MIN_T 3
#define MAX_T (MIN_T * 2)
typedef struct BTreeNodedata BTreeNodedata;
typedef struct BTreeNodedata *BTreeNode;
typedef struct BTreedata BTreedata;
typedef struct BTreedata *BTree;
/*
Create(BTree *Bt):初始化操作。构造一个空的B-Tree树。
Search(p,k):查找操作。在p为根的B-Tree树中查找关键字值为k的元素;如果操作... | [
"junjie.sop@gmail.com"
] | junjie.sop@gmail.com |
b8e0933a042794dd7950dd4e1b772ab45c453638 | 75a1ce195fa1556e79c0b12e6ec600a0942e91a7 | /test/idl/filebuf.hpp | 6b153fe79e3509420897e558e97956ca1928b6c5 | [
"Apache-2.0"
] | permissive | lineCode/jmsg | 44ad1d3405d00a8b9f9a20c255edcb4dbc394407 | d3d3462d76dfdbf8f01f64ba4354f63b56805ceb | refs/heads/master | 2021-01-01T06:09:37.659428 | 2016-11-16T13:57:16 | 2016-11-16T13:57:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | hpp | #pragma once
#include <fstream>
static const char * const s_prefix[] = {
"",
"\t",
"\t\t",
"\t\t\t",
"\t\t\t\t",
"\t\t\t\t\t",
"\t\t\t\t\t\t",
"\t\t\t\t\t\t\t",
"\t\t\t\t\t\t\t\t",
"\t\t\t\t\t\t\t\t\t",
"\t\t\t\t\t\t\t\t\t\t",
"\t\t\t\t\t\t\t\t\t\t\t",
"\t\t\t\t\t\t\t\t\t\t\t\t",
"\t\t\t\t\t\t\t\t\t\t\t\... | [
"niqingliang2003@gmail.com"
] | niqingliang2003@gmail.com |
ef53133c613df781b4d9180d1a7ce56b8420056e | 856e293846602600fa840654d38ad9762c6c5498 | /solucaoAula1.cpp | 785a8628d7fbbfbb3fad08fc614a866057c4d66c | [] | no_license | ThiagoSTeixeira/Desafios | 14d746a59410a7820144415b96cf99df559dd9e7 | cd5de5850b7394c940573046f58ca179b1081e31 | refs/heads/master | 2021-01-09T03:59:37.388796 | 2020-05-18T21:42:09 | 2020-05-18T21:42:09 | 242,238,747 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | /*NOTAS:
Para encontrar o teto: int(ceil(x/n)) ou (x+n-1)/n !!!!
*/
#include<bits/stdc++.h>
using namespace std;
/*Programa D
Bastava contar a quantidade de zeros antes do primeiro 1 e depois do ultimo 1, e depois subtrair da quantidade total de zeros
*/
//Programa E
int main(){
int n, pos, l, r;
cin >> n >>... | [
"tteixeira.st@gmail.com"
] | tteixeira.st@gmail.com |
3a86b7b670cc52504cb8ba9714259dd99fdd0fc6 | 09ea1901af1caa0cd7a6977209c384e08278a371 | /test/network/JPTest/src/JPTest/jptmainwindow.h | 02716b98c0b2909917e8bcaa5f3e830e0dc87a41 | [] | no_license | sid1980/JAGUAR | e038e048a0542d7f3b67c480d27881f91ef42e4e | 2dc262fdc10a600335f71878e092265bc9da77c2 | refs/heads/master | 2021-12-03T05:19:44.367320 | 2014-05-01T23:21:27 | 2014-05-01T23:21:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,251 | h | #ifndef JPTMAINWINDOW_H
#define JPTMAINWINDOW_H
#include <QMainWindow>
#include <QFileDialog>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QMessageBox>
#include "jptestcontroller.h"
const QString JAG_COLOR = "blue";
const QString MAV_COLOR = "green";
const QString PAYLOAD_COLOR = "black";
namespace Ui {
c... | [
"cstew33@gmail.com"
] | cstew33@gmail.com |
87a9a00189a720cbd681e6dd12b5d9871303e9a4 | 61bd7cbe6c7886e0c4629a2d0bd1aef6f1f9d2e1 | /morse.cpp | 44226a3e4e00565ccb155702dee27cc31e641089 | [] | no_license | iamrasheeq/MorseCode-Encryption | 78b54b9a681397b6b649a2f3c776ed3a52572b20 | e995399926403eae18219b5ae25d1a5a9afc4103 | refs/heads/master | 2021-07-15T06:35:16.536693 | 2020-11-23T19:58:57 | 2020-11-23T19:58:57 | 227,539,388 | 1 | 0 | null | 2019-12-16T12:07:01 | 2019-12-12T06:48:26 | C++ | UTF-8 | C++ | false | false | 1,962 | cpp | #include <iostream>
#include <string>
#include <string.h>
using namespace std;
string getString(char x)
{
string s(1, x);
return s;
}
bool com(string s1,string s2){
if (s1.length() != s2.length())
{
return false;
}
for(int i = 0;i<s1.length(); i++){
if (s1[i] ... | [
"noreply@github.com"
] | noreply@github.com |
6c7b32e5db3d1027ded4a1cf124de3484742dbd2 | 2a01d8d0b5715216cb77d08b973676fe8295bb6a | /cpp/cpp_libs/src/eigen_quaternion.cpp | 526bf4801afc89599dbba574b9694be81f11d18a | [
"BSD-3-Clause"
] | permissive | maximilianharr/code_snippets | 78cb72de2f5765f8578ee46b381bb8abf25918bc | 8b271e6fa9174e24200e88be59e417abd5f2f59a | refs/heads/master | 2022-12-12T23:13:12.184496 | 2020-09-04T16:54:47 | 2020-09-04T16:54:47 | 261,803,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,745 | cpp | /**
* @file eigen_quaternion.cpp
* @author Maximilian Harr <maximilian.harr@daimler.com>
* @date 17.06.2017
*
* @brief Eigen quaternion computations
*
*
*
* Coding Standard:
* wiki.ros.org/CppStyleGuide
* https://google.github.io/styleguide/cppguide.html
*
*
* @bug
*
*
*... | [
"maximilian.harr@daimler.com"
] | maximilian.harr@daimler.com |
b96d283d1bb9684d6cc3e90d05ca23ccde5dc499 | aec880e28a57fee7d219ea52d32c98f581304ffc | /VFASSensor.cpp | 88c6720d8212e58dacee8c342e6d1ecddbc691f3 | [] | no_license | michaelkoetter/mavlink2sport | 33e27b38b938c9f9fecb0b662fe1a5daf58e5f1c | 311422b392417635366def0751cf293c36398c31 | refs/heads/master | 2020-12-24T14:10:44.351210 | 2015-03-15T18:45:41 | 2015-03-15T18:45:41 | 32,017,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | #include "VFASSensor.h"
VFASSensor::VFASSensor()
: pollSeq(0), voltage(0), current(0) {
}
VFASSensor::~VFASSensor() {
}
float VFASSensor::getCurrent() const {
return current;
}
void VFASSensor::setCurrent(float current) {
this->current = current;
}
float VFASSensor::getVoltage() const {
return voltage;
}
void... | [
"michael@m-koetter.de"
] | michael@m-koetter.de |
6e54c2f35dd97cc29c1aa5c5dc003885483a54ce | d9142bdff80cad8a1bf5a138f55c442a04e2674d | /2449.cpp | 4baab83d5584c8d6902fa2261e8d05c783604226 | [] | no_license | epicurean21/Algorithm | 280a84d5f73db7787eb2589a3a37901983496691 | d5fa2f0318d45bdd17c5ccda9e72468b4711100c | refs/heads/master | 2023-07-22T05:30:47.982546 | 2023-07-09T06:22:09 | 2023-07-09T06:22:09 | 199,615,976 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | #include <iostream>
using namespace std;
#define MAX 201
int N, K, color[21], cnt[MAX], bulb[MAX]; // index, color
int countBulb(int clr) { // clr가 연속으로 몇개 켜져있는지.
int tmp = 0;
int ret = 0;
for (int i = 1; i <= N; i++) {
if (clr == bulb[i]) {
tmp++;
ret = max(ret, tmp);
... | [
"jm_company@naver.com"
] | jm_company@naver.com |
3369f044ace4960e8c36c4fb81ce547b174cd11a | cc278421ec379fd4b7c9393f4c1edd31a627b984 | /src/ExifToolPipe.cpp | ef34e53120940541f302ea4be877140faa800ab6 | [] | no_license | UAV-Concordia/MetaWriter | 5871b3b34acfe9c8889ee64624c7ebdd7843896d | d0866c4900af19bf29514b92629cc6045da94ff5 | refs/heads/master | 2021-01-21T04:33:12.154321 | 2015-03-14T06:05:14 | 2015-03-14T06:05:14 | 32,197,807 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,005 | cpp | //------------------------------------------------------------------------------
// File: ExifToolPipe.cpp
//
// Description: Piped output from exiftool application
//
// License: Copyright 2013, Phil Harvey (phil at owl.phy.queensu.ca)
//
// This is software, in whole or part, is free for use i... | [
"housedrop@gmail.com"
] | housedrop@gmail.com |
e94745819ecd535c04fe4a99defe76ecc350730f | c65fbfcfce3ed9bf9efabb0b8136ceaa432f6d09 | /include/imgproc/xf_remap.hpp | 459e7e124a44c79cbf4dd023cebacf218bfc9dcd | [
"BSD-3-Clause"
] | permissive | Andromem/xfopencv | 1a4daf202b447e8fb8bba1360420fe7d9b553ff0 | c396bc6d2d6b71a9d3e83b530afad46df4486fb3 | refs/heads/master | 2020-03-19T03:03:26.317246 | 2018-05-21T07:12:34 | 2018-05-21T07:12:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,279 | hpp | /***************************************************************************
Copyright (c) 2016, Xilinx, 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:
1. Redistributions of source code must retai... | [
"gouthamb@xilinx.com"
] | gouthamb@xilinx.com |
3f794c4f201b2d9101bedb98b984e44359f9ff32 | 431048c473d1dccb8e4c810c7844229b49f4e830 | /translator.h | 341ad3323b816205a5a054434d2bfeee2d991f56 | [] | no_license | n1c0sh/TechnicHubController | 8fc030ca10cec75640e93e20c519b37dfca7f608 | 66baf8350ad9e9c3a9258639435f5911c04e09ab | refs/heads/master | 2022-03-04T16:43:07.486685 | 2019-11-06T07:46:42 | 2019-11-06T07:46:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | h | #ifndef TRANSLATOR_H
#define TRANSLATOR_H
#include <QObject>
#include <QTranslator>
#include <QQmlApplicationEngine>
#include <QGuiApplication>
class Translator: public QObject{
Q_OBJECT
public:
Translator() {}
~Translator(){engine = nullptr;}
private:
QTranslator translator;
QQmlApplicat... | [
"maksim.nemna.dev@gmail.com"
] | maksim.nemna.dev@gmail.com |
b0a01ce4387ebd0b98d74b8559a15834c71e7b0b | c49870c4a74b36d77633258ef209dcb96a012480 | /src/widgets/text.hpp | 4ff40bcc7bc3ac20a768dda3b8280451c027420c | [
"BSD-3-Clause"
] | permissive | jdstmporter/VCV-Plugins | dc0b15db8d7f275e460779634f30ae06d4d69506 | cea4eb8073a44f7359791d5a19550131d3231229 | refs/heads/master | 2022-11-28T04:09:23.844054 | 2020-08-14T22:51:19 | 2020-08-14T22:51:19 | 277,945,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,347 | hpp | /*
* text.hpp
*
* Created on: 12 Aug 2020
* Author: julianporter
*/
#ifndef SRC_WIDGETS_TEXT_HPP_
#define SRC_WIDGETS_TEXT_HPP_
#include <rack.hpp>
#include <nanovg.h>
#include <color.hpp>
#include <blendish.h>
namespace rack { namespace componentlibrary {
struct TextDisplayField : public LedDisplayTextF... | [
"julian@porternet.org.uk"
] | julian@porternet.org.uk |
7fa75cb9fe930ef6fed4731eaf239cf294b38245 | adc91d74d99f03bf1c054fd4d7598db48d8275d8 | /Arduino/OSC_Bundle_senden/OSC_Bundle_senden.ino | 75981a7f46b3bbfc41b8c3bfb9235c9d9e2f470a | [] | no_license | HerrPaule/OSCuino | a373594ccb6f4d1f870953f5612fb71eb588c141 | 59008b0f80dc05e6c4f4afbd1b7ab427dcbd6a1e | refs/heads/master | 2020-04-29T12:04:05.917563 | 2014-03-05T12:19:13 | 2014-03-05T12:19:13 | 17,400,349 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | ino | #include <OSCBundle.h>
/*
OSC Bundle Nachrichten
basierend auf CNMAT Beispielsketch der OSCuino Bibliothek
*/
//Teensy und Leonardo nutzen einen anderen speziellen USB serial.
#if defined(CORE_TEENSY)|| defined(__AVR_ATmega32U4__)
#include <SLIPEncodedUSBSerial.h>
SLIPEncodedUSBSerial SLIPSerial(Serial);
#else
// Wen... | [
"herrpaule@irieelectronics.de"
] | herrpaule@irieelectronics.de |
0ccb1219942be50273d65e0e15eed85906d0d499 | b7021a6a00c8204a9b904b9dc719762a23185eda | /aprinter/meta/TypeMap.h | cb35afa0d736fe14cd6d96257088bc132cba2709 | [] | no_license | imsplitbit/aprinter | 178f859a8169f49f2179d9d85618c49bb08f4326 | 2d7549394198794081611d1f7c316764eee5bb1d | refs/heads/master | 2021-01-22T14:29:02.089006 | 2015-01-11T01:03:06 | 2015-01-11T01:03:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,226 | h | /*
* Copyright (c) 2013 Ambroz Bizjak
* 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. Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"ambrop7@gmail.com"
] | ambrop7@gmail.com |
d405b7c53028cdaa23aeff586c2acabecb0e8ec6 | 792e697ba0f9c11ef10b7de81edb1161a5580cfb | /lib/Transforms/Scalar/LoopDistribute.cpp | 0f4c767c1e4cf3d6505295199d7524051a376e0b | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | opencor/llvmclang | 9eb76cb6529b6a3aab2e6cd266ef9751b644f753 | 63b45a7928f2a8ff823db51648102ea4822b74a6 | refs/heads/master | 2023-08-26T04:52:56.472505 | 2022-11-02T04:35:46 | 2022-11-03T03:55:06 | 115,094,625 | 0 | 1 | Apache-2.0 | 2021-08-12T22:29:21 | 2017-12-22T08:29:14 | LLVM | UTF-8 | C++ | false | false | 41,226 | cpp | //===- LoopDistribute.cpp - Loop Distribution Pass ------------------------===//
//
// 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
//
//===---------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
b0e0f7810af40f0f191f5fc29e0363fc2a48e4fb | 10d37c2326bdd70cd2aec8ba3d30272bfd3e5add | /BattleTank/Source/BattleTank/Private/TankPlayerController.cpp | c6ca609e7330f4222be8b1bd87b4455530be4614 | [] | no_license | talhek/BattleTank | 09db57de451fa4fa10a7ab45e6d46ff35e42d3ae | cbc10e0a08eec1b95dee59e8de4458ae9cabe4fd | refs/heads/master | 2021-05-16T17:43:53.787587 | 2017-09-24T09:34:29 | 2017-09-24T09:34:29 | 103,035,568 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,367 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Public/TankPlayerController.h"
#include "Tank.h"
void ATankPlayerController::BeginPlay() {
Super::BeginPlay();
//Logger();
}
ATank* ATankPlayerController::GetControlledTank() const
{
return Cast<ATank>(GetPawn());
}
void AT... | [
"tal1234@gmail.com"
] | tal1234@gmail.com |
2f9b8d1f8f0f0ba26e27ec6892d6a78c33d95cae | 600fd105e3c19a993ddee81a8a7cb2e2f4e5cfe8 | /api/python/src/pyErr.hpp | c95ea23ce1230f470513c4ccad3b5466aa532bc6 | [
"Apache-2.0"
] | permissive | geekonion/LIEF | f4c750129f33ac93ba11f1e29d74ad73d50e76be | 7057b9d359ab63703cbb41310fb1110eeca8e649 | refs/heads/master | 2023-07-15T00:40:37.274434 | 2023-07-01T06:38:56 | 2023-07-01T06:38:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | hpp | /* Copyright 2017 - 2023 R. Thomas
* Copyright 2017 - 2023 Quarkslab
*
* 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 req... | [
"me@romainthomas.fr"
] | me@romainthomas.fr |
8b0f38d6d58e7890940e1bcd6c29a5723c5bd309 | dcc2bc687bfd0def79352398296ff1c401629189 | /bind10-1.1.0/src/lib/util/memory_segment_mapped.h | 7685e30c728211e98fef47537a8d98ebe24730fb | [
"LicenseRef-scancode-unknown-license-reference",
"ISC",
"BSL-1.0"
] | permissive | frozensunq/DHCPv4oDHCPv6 | 97aa51f554fcf1183b972634a9dfd1f707f143ed | 0a9cf99e5c6906453463e9f8cf6ebc87b98d8d71 | refs/heads/master | 2021-01-22T06:58:20.174910 | 2014-03-01T14:05:00 | 2014-03-01T14:05:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,293 | h | // Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "A... | [
"dhc@dhc-VirtualBox.(none)"
] | dhc@dhc-VirtualBox.(none) |
c08e2c325f55f84677f31d6c431f395bca1d46d1 | 0ecf2d067e8fe6cdec12b79bfd68fe79ec222ffd | /chromeos/services/secure_channel/pending_ble_listener_connection_request_unittest.cc | 12872f097808162ccf901fd7c88f24ea24b8ccb5 | [
"BSD-3-Clause"
] | permissive | yachtcaptain23/browser-android-tabs | e5144cee9141890590d6d6faeb1bdc5d58a6cbf1 | a016aade8f8333c822d00d62738a922671a52b85 | refs/heads/master | 2021-04-28T17:07:06.955483 | 2018-09-26T06:22:11 | 2018-09-26T06:22:11 | 122,005,560 | 0 | 0 | NOASSERTION | 2019-05-17T19:37:59 | 2018-02-19T01:00:10 | null | UTF-8 | C++ | false | false | 3,234 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/services/secure_channel/pending_ble_listener_connection_request.h"
#include <memory>
#include "base/run_loop.h"
#include "base/test/s... | [
"artem@brave.com"
] | artem@brave.com |
6a982b4176838a7a7dbcc1331fecd9349913b750 | c9c5c2e97f4a18fc34c198640478ee533ee3d2cf | /src/qt/rpcconsole.cpp | 9a7d35c1ea7ecac835fa8fd9c476e77f05565890 | [
"MIT"
] | permissive | cashcash-project/cashcash-2.0 | d0c64f909f645f605412f5a2f8a14dbabdf36748 | 18ce7648c6f973a18bf8918d3cf68ff220cf8a3d | refs/heads/master | 2023-05-30T23:50:25.245029 | 2021-07-08T22:45:06 | 2021-07-08T22:45:06 | 383,936,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,139 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The cashcash developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcconsole.h"
#inc... | [
"w.menezes@loro.com.co"
] | w.menezes@loro.com.co |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.