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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
207591805fbe04f1e889e91229a26c65cb0ee77d | c5f58c0df0b6f92efb23088f48de4203352a5192 | /Sharpmake.FunctionalTests/NoAllFastBuildProjectFunctionalTest/codebase/TestsA/TestsA.cpp | bfe50947019795ffb5408c2c4b9af42a152fd358 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | ubisoft/Sharpmake | 4de76391183feed4779a1357b33b759178bb05a8 | 3df5efb9110daedaf474e35d81836ee4d97b859a | refs/heads/main | 2023-09-03T14:38:54.752161 | 2023-09-01T13:51:34 | 2023-09-01T13:51:34 | 104,522,068 | 354 | 104 | Apache-2.0 | 2023-09-04T17:23:15 | 2017-09-22T21:57:10 | C# | UTF-8 | C++ | false | false | 208 | cpp | #include "LibA.h"
int main(int /*argc*/, char* /*argv*/[])
{
const auto t1 = fcnA(3) == 1;
const auto t2 = fcnA(0) == -2;
const auto t3 = fcnA(-8) == -10;
return (t1 && t2 && t3) ? 0 : 1;
}
| [
"laefy22@gmail.com"
] | laefy22@gmail.com |
3a1ab7243013dd9b4cf364ce06d458dee117c5b4 | 0342a1af47bcf8a425fac59815e2b768bf8027cb | /Comparator.h | 1d12d6b0fc801726857a7473ebf510dce0383700 | [] | no_license | orizitzer365/Project2 | 35039f4ad402fe70f2b0d1a1e7103a3de05b8340 | a580ea677881f4cc8e4d0055fd79d3d47332ed7c | refs/heads/master | 2020-04-15T11:54:47.225399 | 2019-01-16T22:19:03 | 2019-01-16T22:19:03 | 164,650,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | //
// Created by nadav on 1/15/19.
//
#ifndef PRO2_COMPARATOR_H
#define PRO2_COMPARATOR_H
template <class Comparable>
class Comparator{
public:
bool operator()(Comparable c1,Comparable c2){
return c1 < c2;
}
};
#endif //PRO2_COMPARATOR_H
| [
"noreply@github.com"
] | orizitzer365.noreply@github.com |
86137477f892d399483cb3e25ba688d6d5443bb6 | fda015cc078e877754e4cd5a48e970f0a1159ada | /src/scenario_config.h | 12ccb8d9950a9f98c562502767da0321315cf8b8 | [] | no_license | cran/liquidSVM | 886e0487104a434d3854120a774ebe120e1ddeae | 35b8af219f5d52df5513789793c1e5cf07d310b8 | refs/heads/master | 2020-04-06T04:12:26.063387 | 2019-09-14T17:20:02 | 2019-09-14T17:20:02 | 83,014,436 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | h | // Copyright 2015-2017 Philipp Thomann
//
// This file is part of liquidSVM.
//
// liquidSVM is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
daa0b0a9147347909c0fff6ce8dc742f2cb0afd7 | 1104498744ff98f7104da6e86ea8bd4ae27b6969 | /Cpp/DuConfig.h | bf8235aeda9a8502c932dc41c36a831ed39bd828 | [] | no_license | snowymo/DuAlgorithm | 42fc12fa681966dacb5a3bab1dd00d2ab11cb41d | 1f1f23d8fab4b2dad2304c957748c09885f887ab | refs/heads/master | 2021-07-11T15:53:46.579569 | 2020-10-11T21:48:01 | 2020-10-11T21:48:01 | 205,976,393 | 0 | 0 | null | 2019-09-03T02:52:04 | 2019-09-03T02:52:04 | null | UTF-8 | C++ | false | false | 1,424 | h | #pragma once
#include "common.h"
#include "DuUtils.h"
#include <chrono>
#include <ctime>
class DuConfig
{
public:
static std::string DefaultName;
std::string m_name;
public:
DuConfig();
DuConfig(std::string filename);
bool Load(std::string filename);
void SetErrorIfNameNotFound(bool error) { m_bErrorIfNameNotF... | [
"xiaoxinghai@gmail.com"
] | xiaoxinghai@gmail.com |
e60541a6a0467e0bd93e259973d9009ae5e8fbc9 | 3347d16ca419ff2192fcc55906a88b29f70887d3 | /ALL CODES/code jam/problem B.cpp | 5d4e6344a434513cc60cf41e2cb08faaa7b3d6a7 | [] | no_license | Ayesha049/all_contest_codes | 47533b388514704595a32367ede97bfdca10a4b0 | d7cfd3bfa63668b19eb1c5a64dc0a527908534a0 | refs/heads/master | 2021-07-12T07:10:57.548063 | 2017-10-16T22:56:35 | 2017-10-16T22:56:35 | 107,188,843 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("B-large.in","r",stdin);
freopen("B-large.out","w",stdout);
int t;
cin>>t;
for(int tt=1; tt<=t; tt++)
{
int n;
cin>>n;
double arr[2*n];
for(int i=0; i<(2*n); i++)
{
... | [
"1405049as@gmail.com"
] | 1405049as@gmail.com |
1c8f6e174cbaacb8a6479b630ca97a52a50f9979 | 91c63b2ec9025d68260e2544801ca72e892ae716 | /src/Mark.cpp | 4909d59892244d14993b8a2ffa72648b37175bb3 | [
"MIT"
] | permissive | cieslarmichal/rpg | 90a06b0cd05025ce5b8cf535931b9bfad0dee4a6 | c99418b15045f11b0a2916c81c73a97fbf305dcd | refs/heads/master | 2023-01-04T07:37:29.805616 | 2020-11-07T11:04:37 | 2020-11-07T11:04:37 | 162,345,879 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | cpp | #include "Mark.h"
void Mark::markTarget(int key, std::unique_ptr<Wrapper> & player, vectorOfCharacters & enemies, sf::RenderWindow & window)
{
if (key == (int)InputKeys::MOUSELEFT)
{
sf::Vector2i windowCoordinates = sf::Mouse::getPosition(window);
sf::Vector2f worldCoordinates = window.mapPixelToCoords(windowCo... | [
"michalovskyyy@gmail.com"
] | michalovskyyy@gmail.com |
ea68b33f8bfc4d4066d0ee3f983aa8cb649970ce | a4c6d21b10eed3e0a1626dfb5ad296625a6fe2a6 | /Samples_SE/modulator_vhpi/src/VHPI/utilities.cpp | 99025c28a0a417272209b0b7bf056ef553a44fa2 | [] | no_license | brennanmcfarland/logic-design | 1f833bd71b643d4f99471a64ae916945172beec9 | 2bbcf8eded315e12ac039bdb564349b06c3eb21e | refs/heads/master | 2021-03-22T03:52:41.596060 | 2016-10-19T03:17:17 | 2016-10-19T03:17:17 | 71,314,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,834 | cpp | /*
//--------------------------------------------------------------------------------------------------
//
// Title : utilities
// Design : modulator_vhpi
// Author : Aldec
// Company : Aldec
//
//----------------------------------------------------------------------------
// VHPI Language Interface... | [
"bfm21@case.edu"
] | bfm21@case.edu |
5172032073a99ae5c7146b88a9f65d6fb01c6138 | 68a140266a7ed4de625f9632efbb3a958fb7be65 | /proj3/proj3/main.cpp | c64cc8af6acaad153abf31d425f8391ed0887d56 | [] | no_license | harrynp/ICS45c_Programming_in_C | 28303e1f81d76a94834e08bdfaa6774de5b46fbb | fffc947bdd249a80d4d898a0f0415214eb409ba1 | refs/heads/master | 2016-09-05T11:42:18.222384 | 2015-01-30T00:45:31 | 2015-01-30T00:45:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86 | cpp | //Harry Pham 79422112
#include "UI.hpp"
int main(){
UI ui = UI();
ui.input();
} | [
"harrynp12@gmail.com"
] | harrynp12@gmail.com |
68e558211315cd645dfeacdd53bc18c1a8e4f8f5 | e873a7d3603f0d926d3a1f09e8ce8e0129a43fe5 | /FEM_remote_pedal.ino | 43e87b92ca1ce0ecacb061d897f26bf48c1e3402 | [] | no_license | travuga77/FEM_remote_pedal | a2a0b1c7c7f51bc7153faeaabfdc99a739a03c00 | dd399328dcd08785c85d990ee4b9c664ca524338 | refs/heads/master | 2020-03-21T08:03:39.028628 | 2019-05-29T10:29:52 | 2019-05-29T10:29:52 | 138,317,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,606 | ino | #include <mcp_can.h>
#include <SPI.h>
#define CAN0_INT 2 // Set INT to pin 2
MCP_CAN CAN0(10); // Set CS to pin 10
int lSensorData, rSensorData, lSensorConv, rSensorConv;
byte data[8] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07};
const byte lSensorPin... | [
"travuga@yandex.ru"
] | travuga@yandex.ru |
e8ec1ba0738990c4a94989908ca49ccbd9cab98e | 95a43c10c75b16595c30bdf6db4a1c2af2e4765d | /codecrawler/_code/hdu1121/16207850.cpp | a473d5bc6fba9f259f8384d81fafaf53b4a7d8b0 | [] | no_license | kunhuicho/crawl-tools | 945e8c40261dfa51fb13088163f0a7bece85fc9d | 8eb8c4192d39919c64b84e0a817c65da0effad2d | refs/heads/master | 2021-01-21T01:05:54.638395 | 2016-08-28T17:01:37 | 2016-08-28T17:01:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
long long a[105][105];
bool cha(int i,int s)
{
for(int j=0;j<s-i;j++)
if(a[i][j]!=a[i][0])
return false;
return true;
}
int main()
{
int kase;
cin>>kase;
while(kase--)
{
memset(a,0,sizeof(a))... | [
"zhouhai02@meituan.com"
] | zhouhai02@meituan.com |
4fbc08d716c4f908865faeb88c49ee0ec91098ef | baf852cc795ffaf6c44aa73a36e230920dd09571 | /Minimax/Minimax.cpp | b254b65505d1d1786f6bc2bd4345acecdc2e7087 | [] | no_license | vduckute1812/AI | e9ef0cb57d4cf885b1d646a904a5c8b18bbe09b2 | a3d47d7423c44148ce3a5498e8970bad3c463b30 | refs/heads/master | 2020-03-23T14:49:27.907520 | 2019-09-14T13:23:33 | 2019-09-14T13:23:33 | 141,701,943 | 0 | 0 | null | 2019-03-28T01:24:33 | 2018-07-20T11:04:30 | C++ | UTF-8 | C++ | false | false | 11,629 | cpp | #include <time.h>
#include <QTextStream>
#include "Minimax.h"
#include "BoardUntils.h"
#include "GUI/BoardGameWnd.h"
#include "Controller/Move.h"
#include "Controller/BoardController.h"
const static double MAX_VALUE = 1e4;
const static double MIN_VALUE = -1e4;
void Minimax::Init()
{
m_boardEvaluated = 0;
m... | [
"ducbkdn95@gmail.com"
] | ducbkdn95@gmail.com |
008b789790f7466cc775de1cc02272a076af8224 | 93e8d75b94de07533c8bf716790acd0792a03f5e | /src/bin/tpl/whereami/whereami.cpp | 1ad61f79ed7c3100ef9425f568dc703ff5d56234 | [
"BSD-3-Clause"
] | permissive | mfkiwl/lfortran | 44ccedd36f146537a6740dcfc4b06259c29d811b | 94bf06129614f418cbccbca71f1a07eafbb1d77b | refs/heads/master | 2023-08-06T10:24:20.930448 | 2021-09-29T14:51:05 | 2021-09-29T14:51:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,749 | cpp | // (‑●‑●)> dual licensed under the WTFPL v2 and MIT licenses
// without any warranty.
// by Gregory Pakosz (@gpakosz)
// https://github.com/gpakosz/whereami
// in case you want to #include "whereami.c" in a larger compilation unit
#if !defined(WHEREAMI_H)
#include "whereami.h"
#endif
#ifdef __cplusplus
extern "C"... | [
"ondrej@certik.us"
] | ondrej@certik.us |
d4806712f816e9d1dc1618a48d859a4b9ce11334 | 8a99964693089e32389e2b3dec68ac50657d3f2e | /src/CrossWindow/Cocoa/CocoaWindow.h | 77d8d7fb6afae90812a08b8b5a3e8222d0a78afd | [
"MIT",
"Apache-2.0"
] | permissive | asdlei99/CrossWindow | 1bf502543a8e3301745a220e312e675471cb37d4 | 47d93a33539ddc86c10359bf7d14f19bc890e4cd | refs/heads/master | 2023-08-21T00:40:52.807558 | 2021-10-19T17:54:14 | 2021-10-19T17:54:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,339 | h | #pragma once
#include "../Common/EventQueue.h"
#include "../Common/Init.h"
#include "../Common/WindowDesc.h"
#include <vector>
namespace xwin
{
/**
* Wrapper Window for a NSWindow and it's various children.
*/
class Window
{
public:
Window();
~Window();
// Initialize this window with the Cocoa AP... | [
"hi@alain.xyz"
] | hi@alain.xyz |
0b6175d3f23d49c734f134a41932948d8104462c | c10a49b8476597c4e2c1e48f3755ed29b9103530 | /Zombie.h | 14f599a54f177faa8de831b7fb9c59bd27a57f99 | [] | no_license | StudentJoshua/HumansVsZombies | 9e10897e50845fd9fb0426441bc7369db28181d4 | 895f266a13492e33c6f4ddc1cc34542e10ce21c0 | refs/heads/master | 2021-08-23T22:39:24.431800 | 2017-12-06T22:53:45 | 2017-12-06T22:53:45 | 113,215,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | //
// Created by inet2005 on 12/4/17.
//
#ifndef HUMANSVSZOMBIES_ZOMBIE_H
#define HUMANSVSZOMBIES_ZOMBIE_H
#include "Organism.h"
class Zombie : public Organism {
private:
int hunger = 0;
int conversion = 0;
World *world;
public:
Zombie();
Zombie(World *world, int xPos, int yPos);
virtual ~Z... | [
"joshuabowersco@gmail.com"
] | joshuabowersco@gmail.com |
9e9da917b381c767e7dc9ecc73b8d4e8feb5507b | 8a937b6f6ece834134c3987ae0903c6d7be447dd | /dataStructure/MasteringDataStructure/intro1/strucAsParameter.cpp | 0f63e518d21742f716332af00538e12d4d54ba5f | [] | no_license | sandesvitor/code-lessons | b7434b09dd26fa25e7c126e55567ec80d1457293 | 366f4a5c60729e86c802e974e9bec45c9ce7f526 | refs/heads/master | 2023-03-16T13:56:14.506986 | 2021-03-04T21:32:58 | 2021-03-04T21:32:58 | 302,512,269 | 0 | 0 | null | 2021-01-07T18:46:37 | 2020-10-09T02:27:06 | HTML | UTF-8 | C++ | false | false | 713 | cpp | #include <stdio.h>
typedef struct Rectangle
{
int length;
int width;
} Rectangle;
int areaByValue(Rectangle r1)
{
return r1.length * r1.width;
}
int areaByReferemce(Rectangle &r1)
{
return r1.length * r1.width;
}
int changeDimensionsByAddress(Rectangle *p, int newLength, int newWidth)
{
p->lengt... | [
"sandesvitor@gmail.com"
] | sandesvitor@gmail.com |
0e21ce495fee42b477f4884d14bd5fe608943147 | 09b76bcc101a5499275ed4a2ae08d3c934ae2758 | /Object.hpp | 1ee2b78f54304f9cb198dab30f1828e57d7c9a6c | [] | no_license | brzeszczot/thegame | a4939f929b30b1376f70e879c4fd9c293d4d0266 | ea0b2c32f856bc62368e3c65040cb7d34a7647ee | refs/heads/master | 2016-09-10T01:04:02.378061 | 2014-01-04T19:40:18 | 2014-01-04T19:40:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,447 | hpp | #ifndef OBJECT_HPP_INCLUDED
#define OBJECT_HPP_INCLUDED
#define MIN_SPEED 50
#define LOW_SPEED 100
#define MEDIUM_SPEED 150
#define HIGH_SPEED 200
#define MAX_SPEED 300
#define MAX_VISIBLE 300
#define MEDIUM_VISIBLE 200
#define MIN_VISIBLE 100
#define ZERO_VISIBLE 10
#define NEAR_SHOT 100
#define MEDIUM_SHOT 200
#de... | [
"brzeszczot@gmail.com"
] | brzeszczot@gmail.com |
a0afeb4669fc66c9ca79a6b6d620539a386f59fd | eff1406457708e4fd638e029944e9cd07d0e70e3 | /src/pq.cpp | 8cfc8ba0a48c694e18f127b6857517ee430d9260 | [] | no_license | b166er-droid/CPP-Data-Structure-Cheat-Sheet | 838c1627c812a0039d6bf8c21a0010bb8e328435 | c3f17507e34b29b76d419d7d2948c9a5dadc0661 | refs/heads/master | 2021-09-03T05:43:48.521788 | 2018-01-06T01:12:05 | 2018-01-06T01:12:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,939 | cpp | // Copyright srcmake.com 2017.
///////////////////////////////////////////////////////
////////// PRIORITY QUEUE ////////////////////////////////////
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
int main()
{
cout << "\nC++ Priority Queue Code" << endl;
/* Priority queue... | [
"github@srcmake.com"
] | github@srcmake.com |
b0c579f85d47a43b6b796b5180b585b4371aa4a4 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_EngramEntry_LargeWall_Stone_classes.hpp | 2095a6fbe8380e859fdf521e43236bf891839b8f | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_EngramEntry_LargeWall_Stone_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
6a80565ab63ff97648cd39415b45a6ba97bf50b2 | 7a4cfcd3873b3da3989cfccf7092fc038b51020b | /Ex.07.14.CPP | 7b1a762ffe853636523ab0ed8c69815932f0eb78 | [] | no_license | 201816040316/Assignment_02 | 0e59c014ec02f639be9ba98d836cc0d90d6b8a6a | 7e244cf38eddac84bad926b4a475ea88539c6e56 | refs/heads/master | 2020-08-27T09:12:56.859349 | 2019-10-25T16:02:23 | 2019-10-25T16:02:23 | 217,313,147 | 0 | 0 | null | 2019-10-24T14:00:27 | 2019-10-24T14:00:25 | null | UTF-8 | C++ | false | false | 585 | cpp | #include <iostream>
#include<iomainp>
#include<vector>
#include<stdexcept>
using namespace std;
int main()
{
int number, i;
vector<int>num(20);//20-element vector<int>
for(i = 0 ; i < 20; i++)
{
cin>>number;
if((number <= 100)&&(number>=10))
for(i =0; i < 20 ; i++)
... | [
"noreply@github.com"
] | 201816040316.noreply@github.com |
e0d14665cf72ed5572c0449ee518300014ab478d | 89176f53f324e233e514dbc999724e9e257881bd | /LinerSoftmax/ScaleAndShift.h | 5e503d538cf2e59226aa8549aebcdd2d51c39133 | [] | no_license | FeiiYin/LowPrecision | 6bd565c477a2878d3fd8ada2183ee3ac11d5a24f | ed0638766813671c14c76b7da6e292e166fbaf1b | refs/heads/master | 2022-03-29T06:17:30.998182 | 2019-07-09T14:01:41 | 2019-07-09T14:01:41 | 165,354,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,679 | h | /* NiuTrans.Tensor - an open-source tensor library
* Copyright (C) 2017, Natural Language Processing Lab, Northestern University.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the L... | [
"noreply@github.com"
] | FeiiYin.noreply@github.com |
ad8221f2a870952e9ecff124b538925d1b46bcc4 | 99f2de41fa71b584d5fd190d8392153e7f2ad573 | /gfx/angle/src/tests/compiler_tests/QualificationOrderESSL31_test.cpp | dd3aa9a6574530941b167541a705f5912f818407 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | amoghbl1/tor-browser | e7533c926b02cbb5e070ec19bfc0476a12af84a2 | ab02a23e9f880e560b418bbc629f9f6e140121e8 | refs/heads/orfox-tor-browser-52.3.0esr-7.0-1 | 2022-11-10T04:26:17.607800 | 2017-08-01T21:16:48 | 2017-08-11T14:08:33 | 35,913,941 | 49 | 23 | NOASSERTION | 2022-11-04T19:04:23 | 2015-05-19T23:21:14 | null | UTF-8 | C++ | false | false | 6,132 | cpp | //
// Copyright (c) 2016 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// QualificationOrderESSL31_test.cpp:
// OpenGL ES 3.1 removes the strict order of qualifiers imposed by the grammar.
// This file conta... | [
"ethlin@mozilla.com"
] | ethlin@mozilla.com |
4e7dc8e9c9eec62f3c30c6f7e09bad3dbc708abb | 5e38b75fd11552c1a515c334bd36785e3f6962d1 | /src-cpp/crypt.h | 817810a76df9d304e3d445c803b0b62c712f659c | [] | no_license | viq854/balaur | 658cf231ac2bd9916a7b8c7efd80947f0caa17f9 | 929c4275ab36da2a5f2ffb8fd9e1b26f25009019 | refs/heads/master | 2020-12-14T09:48:23.270262 | 2017-09-28T00:03:07 | 2017-09-28T00:03:07 | 15,265,771 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | #include "index.h"
seq_t get_global_cipher_pos(const int bin_id, const kmer_cipher_t cipher, const seq_t offset,
const std::vector<kmer_cipher_t>& precomp_ref_hashes, const uint64 key1, const uint64 key2, bool vanilla);
void generate_sha1_ciphers(kmer_cipher_t* ciphers, const char* seq, const seq_t seq_len, const std... | [
"viq@stanford.edu"
] | viq@stanford.edu |
92b5f8e3ead73ededc5fc3f6a9534729a5789781 | ef91f0c61520391ad25692c6adebff4aebe8dd09 | /XML/Sources/VLocalizationXMLHandler.h | c7e4877e6dee94089b80485e08d22a634ffc4e2d | [] | no_license | StephaneH/core-XToolbox | 77462b758dfae86f86aafb8a9c9e5b34215259c7 | c166b76bbd1dfba27c7863f203b158212028222e | refs/heads/master | 2021-01-19T06:52:37.703070 | 2014-11-17T13:35:24 | 2014-11-17T13:35:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,493 | h | /*
* This file is part of Wakanda software, licensed by 4D under
* (i) the GNU General Public License version 3 (GNU GPL v3), or
* (ii) the Affero General Public License version 3 (AGPL v3) or
* (iii) a commercial license.
* This file remains the exclusive property of 4D and/or its licensors
* and is protected by na... | [
"stephane.hamel@4d.com"
] | stephane.hamel@4d.com |
9d77d12a91e68ce3f132dd192149995c537bb3d6 | 72fb2ca1dd9116d0796e45ee3743fd245fe2b6c4 | /cell_test.cpp | b8a0bf1f7852b3714d0a63eedb0efba146b166f8 | [] | no_license | 77k/Cell | 9342386cb07ceabb94fda9859c58d46c44c3b3a6 | 7500a00ad23b3dbdf08f0d828461f3c2bea2ea64 | refs/heads/master | 2021-06-30T07:28:22.444925 | 2017-09-19T17:06:12 | 2017-09-19T17:06:12 | 104,082,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,368 | cpp | /**
* snaske@77k.eu
*/
#include <boost/asio.hpp>
#include <boost/regex.hpp>
#include <string>
#include <stack>
#include <boost/array.hpp>
#include <boost/function.hpp>
#include <boost/shared_ptr.hpp>
#include <iostream>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/tuple/tuple.hpp>
#include <bo... | [
"sn00n@77k.eu"
] | sn00n@77k.eu |
4689f0edda21e2dc7913e74335fbad168da186c5 | 8f6c1679a7e39d75d929ada14ef2c1197f9fb8bb | /easy/linked_list_cycle_141.cpp | 84029929e2d0c4c2b338429a22f6207870bd6caa | [] | no_license | lhdgriver/leetcode | 6446c237eff4d78bdaeabdf6f1c12b965e48eaad | ba11bdfbd7de9bcd0f42ffe4990ade7232804fe0 | refs/heads/master | 2020-12-25T14:57:35.161667 | 2016-08-28T14:30:28 | 2016-08-28T14:30:28 | 66,192,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | class Solution {
public:
bool hasCycle(ListNode *head) {
if (head == NULL) return false;
if (head->next == NULL) return false;
ListNode* step_1 = head;
ListNode* step_2 = head->next;
while(true) {
if (step_1 == step_2) return true;
if (step_2->next == NULL) break;
if (step_2->next->next ==NULL) brea... | [
"lhdgriver@gmail.com"
] | lhdgriver@gmail.com |
c32d3b47a9f0742b394d4bd147250ed6ecdb2785 | 232ebae2b4032a8be513fa40641acb1cb87f8ef2 | /libraries/TimerOne/TimerOne.cpp | f1d082235969bc30895c5b545ee001c7d2b9d08d | [] | no_license | amr-spring-2015/amr-project | ac6747b0f860b5101e3a8525f6ccefaf4b43e830 | 745d7d2127e916a982b5ec1f50aae23019899c18 | refs/heads/master | 2020-06-04T22:47:18.918131 | 2015-05-02T23:02:29 | 2015-05-02T23:02:29 | 32,772,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,842 | cpp | /*
* Interrupt and PWM utilities for 16 bit Timer1 on ATmega168/328
* Original code by Jesse Tane for http://labs.ideo.com August 2008
* Modified March 2009 by Jérôme Despatis and Jesse Tane for ATmega328 support
* Modified June 2009 by Michael Polli and Jesse Tane to fix a bug in setPeriod() which caused the t... | [
"jakedostal@gmail.com"
] | jakedostal@gmail.com |
80c1643547f8afc666e8c5405a838f70c90a81be | d702c8436228106b384d17eb01c9d8bbb18fddbc | /leetcode/232-implement-queue-using-stacks/solution.h | 0962e10fd8e67f2a13c270e516494fae6c907781 | [] | no_license | caelumcao/ds_algo | fedd7d7cd4877dc687e85dbbdad6dd1a666e9e5b | a860da9ac72bec9bbd1af0e669f099a48c253eb6 | refs/heads/main | 2023-05-06T23:36:08.810473 | 2021-05-26T09:49:48 | 2021-05-26T09:49:48 | 314,447,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | h | /*
* @lc app=leetcode.cn id=232 lang=cpp
*
* [232] 用栈实现队列
*/
#include <stack>
using namespace std;
// @lc code=start
class MyQueue
{
public:
stack<int> pushStk;
stack<int> popStk;
/** Initialize your data structure here. */
MyQueue()
{
}
/** Push element x to the back of queue. */
... | [
"caelumcao@tencent.com"
] | caelumcao@tencent.com |
3a6f1fbe4ecf454d010a5f086921493df839c499 | a0ff445e18410e03ed017e40ad86822ee5d2b337 | /Pawn.cpp | b680e183aee1031d91076f9057c107dd274791eb | [] | no_license | juancarlosfarah/chess | 5e3b55421d85ea0ef2d57a5ffa2870ad969ea746 | d22ff27dbca526b466704360ec34ba7e7f9c002a | refs/heads/master | 2021-01-03T03:15:05.001039 | 2020-02-12T01:04:30 | 2020-02-12T01:04:30 | 239,898,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,342 | cpp | // ==========================================
// File: Pawn.cpp
// Author: Juan Carlos Farah
// Email: juancarlos.farah14@imperial.ac.uk
// ==========================================
#include <iostream>
using namespace std;
#include "Pawn.hpp"
#include "Settings.hpp"
// Constructor: Default
// ================... | [
"farah.juancarlos@gmail.com"
] | farah.juancarlos@gmail.com |
895fa42c179f02a8679427767c5ff56294f81279 | 1369880eabe83b33094cd09fa6d4e7e96e412221 | /AABB.CPP | c74bfbf16d00128d7c9195b929473b88e326aad3 | [] | no_license | Taaqif/LaseWorld | 2cdd6d081509684841bbb768a11da1118627ec7d | f09a50ef21d0b477329a70c7a401f6a277268ad0 | refs/heads/master | 2020-07-31T10:33:26.311211 | 2016-11-13T07:12:42 | 2016-11-13T07:12:42 | 73,600,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | // AABB.cpp
//
// Implementation file for AABB Class
// Defines all the methods declared, but not defined, in AABB.h
//
// Shay Leary, March 2005
//--------------------------------------------------------------------------------------
#include <iostream>
#include "AABB.h"
//----------------------------... | [
"noreply@github.com"
] | Taaqif.noreply@github.com |
4d270e3bba9c66f198e60bbec3a14077b15a76b0 | 137946bff2f27e0dbc272daae448791eda536839 | /DirectX/GameObject/GameObjectFactory.h | 4b21ef49ed21e791efbe7d4292f3be2186728f11 | [] | no_license | soelusoelu/20_10_kojin | 71d494330fa9b260d08fbd0c6b21f44158c2d505 | 051ee216288134e43f5f17f6505d9fccd8a53ef7 | refs/heads/master | 2023-01-30T20:25:10.147749 | 2020-12-07T01:29:18 | 2020-12-07T01:29:18 | 306,239,246 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,309 | h | #pragma once
#include "../Math/Math.h"
#include <rapidjson/document.h>
#include <functional>
#include <memory>
#include <string>
#include <unordered_map>
class GameObject;
class GameObjectFactory {
using ComponentFunc = std::function<void(GameObject&, const std::string&, const rapidjson::Value&)>;
public:
... | [
"llmn.0419@gmail.com"
] | llmn.0419@gmail.com |
28c6c26f7e424f792ed481b8f09c7f3a30484cdf | 458bea59fb53d1a0d23eb193b309b5d106e84755 | /src/CharacterTaskRegistry.cpp | 5bf2ddc9f32201bd92a5bdd9371e4ca98fbc06ef | [
"Apache-2.0"
] | permissive | Naftoreiclag/VS7C | 89b40170a0c8e0c5a1dae02575cedecaf1f5eb38 | 5b736a0550969752514433fb0fd9d9680fa46bdd | refs/heads/master | 2020-12-30T10:50:01.794671 | 2015-12-23T02:55:29 | 2015-12-23T02:55:29 | 35,711,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | /* Copyright (c) 2015 "Naftoreiclag" https://github.com/Naftoreiclag
*
* Distributed under the Apache License Version 2.0 (http://www.apache.org/licenses/)
* See accompanying file LICENSE
*/
#include "CharacterTaskRegistry.h"
#include "easylogging++.h"
namespace CharacterTaskRegistry {
std::vector<CharacterTask... | [
"naftoreiclag@gmail.com"
] | naftoreiclag@gmail.com |
4616e8310a7ebd9549860ed36af7a023c8bc6513 | 8b191d8eb25af95c679f14b09a32f72764ae2bba | /백준/17480- 개구쟁이 준석이.cpp | 38b0e4ffcfae88f6b6c087fcec855bbd6e94c1a9 | [] | no_license | cocobisc/PS | 08cd56b57ba95f4384ecbcaec3682263eeb6730f | 11ca5540632715a3c56eaee389a1946bf935ea0e | refs/heads/master | 2020-12-15T20:43:49.231103 | 2020-11-08T10:09:20 | 2020-11-08T10:09:20 | 235,249,407 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | cpp | #include <bits/stdc++.h>
using namespace std;
map<char, int> ma, matemp;
set<string> ans;
int len;
string get_rev(string s) {
reverse(s.begin(), s.end());
return s;
}
void go(string &s, int le, int ri) {
if (ri - le == 1) {
ans.insert(s);
return;
}
int l = ri - le >> 1;
int m... | [
"xmfhs99@gmail.com"
] | xmfhs99@gmail.com |
1d11ad6f70510c37f32521502101d33c8f78cf20 | b8d3c2478cb9e26a1ae9f2413e7dac2e78e8f0d3 | /Unmanaged/HVisionSystem/include/Utility/MemDC.h | 3123a44e284573f3859bce869e9ac9c72c11ba7e | [
"MS-PL",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | wiseants/Varins | 4281ddf31f3cff6b8dc5e62530186d3795e844c7 | 8b9153bc46c669c572f2e56fe313a92cb546c5ae | refs/heads/master | 2022-12-09T20:25:58.574485 | 2020-11-10T07:38:10 | 2020-11-10T07:38:10 | 242,623,978 | 0 | 0 | NOASSERTION | 2022-12-08T02:14:40 | 2020-02-24T01:50:05 | C++ | UTF-8 | C++ | false | false | 3,464 | h | #if !defined(AFX_MEMDC_H__CA1D3541_7235_11D1_ABBA_00A0243D1382__INCLUDED_)
#define AFX_MEMDC_H__CA1D3541_7235_11D1_ABBA_00A0243D1382__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// UMemDC.h : header file
//
//////////////////////////////////////////////////
// CUMemDC - memory DC
//
// Auth... | [
"wiseants@nate.com"
] | wiseants@nate.com |
a1027150038879fb4a8e175637d14d1bd4e2aa11 | bff324f8a27794bc5f4c42a4394852d1f39c7682 | /Documents/data_scource-master/modbus/mainwindow.h | 66c3f491bb38236da3a2b4bfdfc3b557f226eccc | [] | no_license | zslswlw/data_scource | aea8231743d5c72187485c8a5dcb248b9f5c76d7 | 72f4bc48ffb5eb87614485592879a0d78eeff3ea | refs/heads/master | 2023-01-27T11:03:45.359727 | 2020-12-01T16:40:54 | 2020-12-01T16:40:54 | 316,115,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPushButton>
#include "mythread.h"
#include <QTreeWidget>
#include <QSpinBox>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
struct timeval
{
uint32_t tv_sec;
uint32_t tv_use... | [
"153805385@qq.com"
] | 153805385@qq.com |
e9cbb7c5742a52c3ef014891942249d94c2ef8c0 | c8a04cea9afde109e8f7ffce09bde1c616c1bb2e | /design-hashmap/design-hashmap.cpp | 38dfb4d49cb140db3fb02c6517e4ef2edee3dd0b | [
"MIT"
] | permissive | JanaSabuj/Leetcode-solutions | 956fea8538b3d87b999d0c65ef158ad8500b61c7 | 68464fc54c18ec6d7d72e862c1c75e8309314198 | refs/heads/master | 2022-09-12T13:32:13.884649 | 2022-08-15T06:21:34 | 2022-08-15T06:21:34 | 165,518,391 | 17 | 5 | null | 2020-04-17T13:26:01 | 2019-01-13T14:59:56 | C++ | UTF-8 | C++ | false | false | 816 | cpp | #define N 1000007
class MyHashMap {
vector<int> vec;
public:
/** Initialize your data structure here. */
MyHashMap() {
vec.assign(N, -1);
}
/** value will always be non-negative. */
void put(int key, int value) {
vec[key] = value;
}
/** Returns the value to... | [
"sabujlovescoding@gmail.com"
] | sabujlovescoding@gmail.com |
fbf88d788fe09237901e026d842f7cbb7d1bef5e | bd63a879ee50d98f2bcf8fb7780c6c295f9ac07c | /learn/curl_example/curl_test/voice.cpp | bb0dcf57eb953cd92c28022cec73f4cedffc6173 | [] | no_license | lijiansong/.trash | 2c56b5effc2136a08e272e145e01e1bb54218bb3 | da5307e086a31ec335385d1c533af3cbd6653a64 | refs/heads/master | 2021-06-21T06:31:25.170024 | 2017-08-13T05:22:46 | 2017-08-13T05:22:46 | 67,503,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,543 | cpp | #include <cstdio>
#include <cstring>
#include <stdlib.h>
#include "curl/curl.h"
#include "curl/easy.h"
#include "json/json.h"
#define MAX_BUFFER_SIZE 512
#define MAX_BODY_SIZE 1000000
using namespace std;
static const std::string base64_chars =
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"0123456789+/";... | [
"jiansongli426@gmail.com"
] | jiansongli426@gmail.com |
ff68779093bbe01e5372d11d6883c9dd1c139062 | 16048566baf377b970e5231f265f9fec3747febc | /src/spaceobj.h | 62bd96979f1b97af48f5a727537b8cbe36f6db7d | [] | no_license | nihilocrat/yarrwars | b3fb82921de4071b072522d29bea9807e8d376cc | 5c81785f6ed3816bce94a2979ece16eed3746674 | refs/heads/master | 2021-01-16T18:20:35.251875 | 2012-08-28T20:49:24 | 2012-08-28T20:49:24 | 5,591,811 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,808 | h | #ifndef SPACEOBJ_INCLUDED
#define SPACEOBJ_INCLUDED
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "spaceinc.h"
#include <math.h>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
/********************************************************************... | [
"kenneth.backus@gmail.com"
] | kenneth.backus@gmail.com |
fbaadd562e30401aad2e39e4a58a74c3227ed516 | 3d8255a21f0061fab4a2e0b19c257200562f2ab8 | /file_size/file_size.cpp | 56b2955140f875a24366bed4556e7ee3aec19372 | [] | no_license | taklist/cppChallenges | 7efd77fd466b4419d90a8faa5eced5c55d27466a | 63e0e2899e60722065a0fb53511a4b22a5057c80 | refs/heads/master | 2021-05-02T18:10:17.569367 | 2016-10-31T08:12:53 | 2016-10-31T08:12:53 | 72,416,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | cpp | #include <fstream>
#include <iostream>
using namespace std;
int main(int argc, char *argv[]){
if (argc != 2)
cout << "Usage: " << argv[0] << " filename\n";
ifstream file (argv[1], ios::binary | ios::ate);
if (!file){
cout << "Could not open " << argv[1] << ", try another file.\n";
return 1;
}
... | [
"bjorn.janson.94@gmail.com"
] | bjorn.janson.94@gmail.com |
27e9e72b835770ca19aacbd1f29ae18d017d5321 | 67998e1fd6234045115c2d52b5ea39864671c617 | /Week 6/Goblin/Arena.cpp | d524ad9893b4b4b9b8f45f8dd4d8d8b8f782f40b | [] | no_license | jtoth955/CS-162 | 35f298a353eb86128b840e70c75bdf15cceb17f8 | 1641f203c8e9b6498806f0af03e3238dcd997f7d | refs/heads/master | 2021-01-10T09:29:30.198827 | 2015-10-12T18:21:04 | 2015-10-12T18:21:04 | 44,125,791 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,222 | cpp | /***********************************************************************************
*Filename: Arena.cpp
*Name: John R Toth
*Date: 5/4/15
*Description:
*Input:
*Output:
***********************************************************************************/
#include "Arena.hpp"
#include <iostream>
#include <ctime>
... | [
"tothj@oregonstate.edu"
] | tothj@oregonstate.edu |
9e111d9fde36c9aa8b376e875a1e66c2d4a4c697 | 263643760687758fbd9ecef30082026402ef4067 | /sp_lab_02/tutorials/set.cpp | 45344426054d512607c4ad8d8e79667766eee7c1 | [] | no_license | mr-ilin/sp | b4e796090edde917ac551c9eb48d97e3b39abda1 | 39f60f89897254d9ed213a65981545f4331c8a90 | refs/heads/main | 2023-08-22T04:34:48.909244 | 2021-09-17T11:12:36 | 2021-09-17T11:12:36 | 371,035,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | //set.cpp
#include "mlisp.h"
extern double a;
double g(double x, double a);
double a = 7.;
double g(double x, double a){
a = 5.;
return x + a;
}
int main(){
display(g(1., 0.));newline();
display(a);newline();
a = 8.;
display(a);newline();
std::cin.get();
return 0;
}
| [
"mr.ilin14@gmail.com"
] | mr.ilin14@gmail.com |
e6247250923432d487595f8424c0bff199e6f4dc | 86cdfffa208f59ec1020d87c20d2fce5a639ea77 | /myframe.h | d616b7170904f2f456f42d8f18c17c6349b15ee5 | [] | no_license | tybitsfox/FrameWnd | 0c415e37b8a741ac3c1dafb1ace863a0f6cc3fd1 | 5ac52d3be2c7c6a069cec4590bc7d3d53c5e30b7 | refs/heads/master | 2021-01-19T13:33:40.917861 | 2013-06-22T16:45:44 | 2013-06-22T16:45:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | h | #ifndef DEFAULT_MY_VIEW_ONE
#include"myview.h"
#endif
#ifndef IDI_ICON1
#include"resource.h"
#endif
class myframe:public CFrameWnd
{
public:
myview mview;
myframe();
~myframe();
int OnCreate(LPCREATESTRUCT lpcreatestruct);
BOOL PreCreateWindow(CREATESTRUCT &cs);
void OnSetFocus(CWnd *pwnd);
BOOL OnCmdMsg(UINT ... | [
"tybitsfox@163.com"
] | tybitsfox@163.com |
ff79716b17deac3a8ffc710810f3ff21919cb43f | 233676e340835a58e8041bdc82c313e599af415c | /Schweizer-Messer/sm_kinematics/src/Transformation.cpp | ba12982ae7705c76135f50c0bf5615879a434a96 | [
"BSD-3-Clause"
] | permissive | ethz-asl/kalibr | 9213daa87ed191ce1e05fba9f7424204c2d9734c | 94bb8437a72a0d97a491097a7085bf3db4f93bba | refs/heads/master | 2023-08-29T17:04:47.774244 | 2023-08-14T02:08:46 | 2023-08-14T02:08:46 | 20,293,077 | 3,744 | 1,341 | NOASSERTION | 2023-09-10T02:18:47 | 2014-05-29T12:31:48 | C++ | UTF-8 | C++ | false | false | 7,824 | cpp | #include <sm/kinematics/Transformation.hpp>
#include <sm/kinematics/quaternion_algebra.hpp>
#include <sm/kinematics/rotations.hpp>
#include <sm/random.hpp>
#include <sm/kinematics/UncertainHomogeneousPoint.hpp>
#include <sm/kinematics/UncertainTransformation.hpp>
#include <sm/kinematics/transformations.hpp>
#include <s... | [
"schneith@ethz.ch"
] | schneith@ethz.ch |
6380c103f1bafb1f725bc090b60fd64d4b206be2 | 147365ef78fc26380b6edfd0a3ca704e90a372c6 | /src/HT16K33.cpp | 4bc7c7231fd95fe3353ea3e1ae87655b306ad1da | [] | no_license | Strooom/HT16K33 | f7e9e3f6f3d4134059c31ac3933c022bfeaccce9 | 4b208fa9fe67638e400cf9790092adb424f0e2db | refs/heads/master | 2020-03-16T01:23:23.908429 | 2018-05-12T20:02:59 | 2018-05-12T20:02:59 | 132,438,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,286 | cpp | #include <Wire.h>
#include "HT16K33.h"
HT16K33::HT16K33(uint8_t theI2CAddress = 0x70, uint8_t theBrightness = 8) : brightness(theBrightness), I2CAddress(theI2CAddress)
{
clearDisplay(); // set displayRAM to all zeroes, blanks display
}
HT16K33::~HT16K33()
{
}
void HT16K33::initialize(void... | [
"pascal.roobrouck@gmail.com"
] | pascal.roobrouck@gmail.com |
9deacca2ec14605863816ae5d897ffda6f952b68 | e80d888d060abd23238d10ebeb4221022035a493 | /Euclidean_algorithm.cpp | f89b6695ee5c03ee805735c147b16a1da1e0be68 | [] | no_license | ssun-g/study | 7d4bf4fc81527d0a1cde165c63cf2829950bd0f0 | c286beacb333616ba838b9486ddf3437962677c9 | refs/heads/master | 2022-12-04T18:17:35.601361 | 2020-08-17T12:05:45 | 2020-08-17T12:05:45 | 288,169,491 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 485 | cpp | #include<stdio.h>
int GCD(int, int);
int main(void) {
int num1, num2;
scanf("%d%d", &num1, &num2);
if (num1 > num2)
printf("%d\n", GCD(num1, num2));
else if (num2 > num1)
printf("%d\n", GCD(num2, num1));
return 0;
}
int GCD(int a, int b) { // main문에서 a>b가 되도록 값을 넣어준다.
if (b == 0)
return a; // else문에 의해... | [
"goflrkqk@naver.com"
] | goflrkqk@naver.com |
911ded2a15e08ae8a29c1439ef083694ae42e4d8 | d3affeadad9619cda35d5cd8674e503be203ac29 | /finalproject/src/hw_soln/fire_module/solution1/syn/systemc/FIFO_fire2_matrix_e3x3_stream_o_54_V.h | af3561d5b7245103badbf5e9fe2e818377be8569 | [] | no_license | chl218/FPGA-for-Computer-Vision | 800c98ebf6df4d8ec1818698d401f88dd448fe79 | 9ccad894bf7ac59d9f4c33afcd385ea3f47bf938 | refs/heads/master | 2021-01-20T02:42:47.126346 | 2017-05-02T05:07:10 | 2017-05-02T05:07:10 | 89,445,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,829 | h | // ==============================================================
// File generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2015.4
// Copyright (C) 2015 Xilinx Inc. All rights reserved.
//
// ==============================================================
#ifndef FIFO_fire2_matrix_... | [
"chl218@eng.ucsd.edu"
] | chl218@eng.ucsd.edu |
a78185d6a8c124620a35be27d603d67514a8f261 | cef5bef0b7bf5114d1f93f8090870ac6c4707683 | /HMC_Type_Namelist.inc | ba3c6f6a0957a67b08e9dd8722488acb8661235d | [] | no_license | vbasso/hmc_v207 | 7cc53817cd7f1b1c73af976054328a01a0edd30e | 12cd95d94d28d29d38880eb06acb96dd0884423f | refs/heads/vbasso_hmc | 2020-03-08T03:14:20.667658 | 2019-04-01T09:54:50 | 2019-04-01T09:54:50 | 127,884,763 | 0 | 0 | null | 2018-09-24T14:34:12 | 2018-04-03T09:32:53 | Fortran | UTF-8 | C++ | false | false | 5,284 | inc | TYPE HMC_Type_Namelist
! Init
integer(kind = 4) :: iFlagDebugSet, iFlagDebugLevel
integer(kind = 4) :: iFlagOs
integer(kind = 4) :: iFlagTypeData_Static
integer(kind = 4) :: iFlagTypeData_Forcing_Gridded, iFlagTypeData_Forcing_Point, iFlagTypeData_Forcing_TimeSer... | [
"fabio.delogu@cimafoundation.org"
] | fabio.delogu@cimafoundation.org |
2e69576b685670220917c997a0ab35a74f322973 | 305d59b84e676bc75cd21f9ece048d4588348f55 | /AEDA1617Parte2_2MIEIC1_E/Código/Trabalho AEDA/Transactions.h | d4e3a587f3a37fd0206a1e6f3c56828af137d039 | [] | no_license | literallysofia/feup-aeda | 14e5eab4c0bef7cd8abbf97607baa03f4fa79954 | ba21051b57eac6e0d4bfb731cc251c8d95e3e2f6 | refs/heads/master | 2021-01-19T21:29:48.790510 | 2017-04-03T19:42:36 | 2017-04-03T19:42:36 | 71,155,566 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | h | #pragma once
/** @defgroup Transaction Transaction
* @{
*
* Transaction class declaration
*/
#include <string>
#include <vector>
#include <iostream>
#include <sstream>
#include "Date.h"
using namespace std;
class Transaction
{
private:
/** @name Transaction data-members*/
/**@{
*
*/
int id;
Date date;
float... | [
"up201505628@fe.up.pt"
] | up201505628@fe.up.pt |
7e92b091ee4dda13596855096ff1d71208b83d47 | f92b42b1f183870d1685c1b8514d0be002fd79a7 | /USACO Training/Chapter1/Section 1.5/PPRIME.CPP | 405c1fa291c00c1a68e5587f690b2ce2133050d6 | [] | no_license | reiniermujica/algorithms-and-contests | 7075f17b2d8e62c0bec5571bc394b5587552e8f2 | 7ce665cb26d7b97d99789a0704dd98fcfd3acf3c | refs/heads/master | 2020-03-21T11:43:42.073645 | 2018-07-27T21:19:43 | 2018-07-27T21:19:43 | 138,519,203 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | /*
ID: reywork2
PROG: pprime
LANG: C++
*/
#include <cstdio>
#include <cmath>
using namespace std;
const int
MAXN = 15;
int A, B, sA, sB;
int i;
int num[MAXN];
bool prime( int x ) {
if ( x % 2 == 0 ) return false;
for ( int i = 3; i * i <= x; i += 2 )
if ( x % i == 0 ) return false;
return true;
}
voi... | [
"reinier.mujica@gmail.com"
] | reinier.mujica@gmail.com |
baeb935b6924cc2f5cdc76984fee0de97e704fb5 | 4c31ccf6939c82bf01816a3152e2924d759f1197 | /src/qt/recentrequeststablemodel.h | c837109d4fc70addc9f85dedfd8a31f26ec508ff | [
"MIT"
] | permissive | MichaelHDesigns/HodlCash | da5393e3f3aa8ff4ee0774dc35cbb3aa27d0df7a | c3ca85c436ba40afadfda11db207068a16527379 | refs/heads/main | 2023-05-06T22:20:15.208883 | 2021-05-28T21:08:11 | 2021-05-28T21:08:11 | 360,015,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,381 | h | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2017-2019 The HodlCash developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_RECENTREQUESTSTABLEMODEL_H
#define BITCOIN_QT_RECENTREQU... | [
"devilking6105@gmail.com"
] | devilking6105@gmail.com |
84726a94dc2489e9019b1053e3a9bc21c79591d1 | 3377792eb7eef610aa8f91c8cd69c182f61ed0ce | /src/main_sph_high_1.0e+05.cc | fe26564c30becae2f3ad5283186a3ec0e59e1020 | [] | no_license | mepa/p2-migration | 7c9241205bbe60dcac994dd40c68034043b0e20a | 030a2c366b395120acc730ee2f1867f0d52616c2 | refs/heads/master | 2021-01-10T06:29:29.369862 | 2016-01-13T18:57:58 | 2016-01-13T18:57:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,963 | cc | #include <iostream>
#include <vector>
#include <cmath>
#include <iterator>
#include <fstream>
#include <algorithm>
#include <cstdlib>
#include <utility>
#include "function.hh"
#include <gsl/gsl_errno.h>
#include <gsl/gsl_odeiv.h>
#include <gsl/gsl_sf.h>
using namespace std;
inline double sq(double x) { return x * x... | [
"meg@meghannpalmer.com"
] | meg@meghannpalmer.com |
5fa8a332481c28d36d4ac4ebb503f16e2d4d7e9a | d732c881b57ef5e3c8f8d105b2f2e09b86bcc3fe | /src/module-wx/VType_wxGraphicsRenderer.cpp | 59af80f65822a25751c30ceb76ba6ad74222bd86 | [] | no_license | gura-lang/gurax | 9180861394848fd0be1f8e60322b65a92c4c604d | d9fedbc6e10f38af62c53c1bb8a4734118d14ce4 | refs/heads/master | 2023-09-01T09:15:36.548730 | 2023-09-01T08:49:33 | 2023-09-01T08:49:33 | 160,017,455 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,272 | cpp | //==============================================================================
// VType_wxGraphicsRenderer.cpp
// Don't edit this file since it's been generated by Generate.gura.
//==============================================================================
#include "stdafx.h"
Gurax_BeginModuleScope(wx)
//------... | [
"ypsitau@nifty.com"
] | ypsitau@nifty.com |
fc9fa8c9e77b1eae9706659a8b1303b84a79ded8 | 593356f8ce31e76678393148d87af6adc58c3dbb | /tests/process.cpp | 0241f3becb1fd718359e129cf740bc410707ae5c | [
"MIT"
] | permissive | hjw21century/not-enough-standards | acc4a0e6904a2f9ab5ecce8bfd5a4460fa79f5c1 | 5419ce7e8a65116040b7fe80c4981838325a67c1 | refs/heads/master | 2023-04-29T11:37:15.099808 | 2021-05-14T17:41:42 | 2021-05-14T17:41:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,508 | cpp | #include <iostream>
#include <thread>
#include <mutex>
#include <shared_mutex>
#include <iterator>
#include <iomanip>
#include <array>
#include <cassert>
#include <random>
#include <nes/pipe.hpp>
#include <nes/shared_library.hpp>
#include <nes/process.hpp>
#include <nes/shared_memory.hpp>
#include <nes/named_mutex.hpp... | [
"alexy.pellegrini@laposte.net"
] | alexy.pellegrini@laposte.net |
48899f4425b5b1bb85a3cce360bff6d90d0bd9a5 | 3c24f9f2138006dbcf4c89ba73e2ea4c752b3312 | /include/kindynamic_path_planner/common.h | a142288f82bac9f43f9ecf4e3b88ee4e10db1717 | [] | no_license | Forrest-Z/kindynamic_path_planner | 0caaba0388cf624468931ddcf6bf5de7043cb602 | a46a4b0132a7e7d51e4d7b0925a6b824d8674572 | refs/heads/main | 2023-02-14T23:12:20.939629 | 2021-01-07T07:21:12 | 2021-01-07T07:21:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,740 | h | #ifndef KINDYNAMIC_PATH_PLANNER_COMMON_H_
#define KINDYNAMIC_PATH_PLANNER_COMMON_H_
#include <math.h>
#include <boost/math/constants/constants.hpp>
namespace kindynamic_path_planner {
namespace common {
static const double pi = boost::math::constants::pi<double>();
static const double twopi = 2. * pi;
static const do... | [
"1319418395@qq.com"
] | 1319418395@qq.com |
0e8648490a02fe766d84aa169a7f9ff0f5226ee3 | 7883e367a19b2b0229ad39aa824fca628879d600 | /Assignment 3/IT Project_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/UnityEngine.AIModule.cpp | cf5dfb7ee233697c8dc1abdd6aa7f490b8fb9cb2 | [] | no_license | Rachael-Balaz/IS-TU-830-Technical-Techies | b86997eaa61022d210d1947f83b7d1fe2a654bda | f6a9e1acfc760e973e694d5444a0bd13423ed0c1 | refs/heads/master | 2022-12-30T00:55:32.502330 | 2020-10-21T05:09:12 | 2020-10-21T05:09:12 | 284,192,125 | 3 | 0 | null | 2020-08-15T04:49:49 | 2020-08-01T05:15:07 | CSS | UTF-8 | C++ | false | false | 42,379 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
struct VirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeDat... | [
"30692436+LongNguyen99@users.noreply.github.com"
] | 30692436+LongNguyen99@users.noreply.github.com |
3f42462208a13184fb1533a81ca85c4b78cfc500 | 1ba46d45a09abc75aea3f6fe5a078b4245fe00e1 | /Duibrowser/src/duibrowser/DirectUI/UICombo.h | 9f3baaa66da8f85dcddd4fbf8c2eeb7ba65e2a1d | [] | no_license | visi/DuiBrowser | a81bace2b8a3ebb665d349f56fba4ed1201d5f7f | 03db25634fe8696ee060e1c01bff8fa0911fcba8 | refs/heads/master | 2020-06-04T22:10:13.882734 | 2014-08-17T00:12:40 | 2014-08-17T00:12:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,035 | h | //
//
// DirectUI - UI Library
//
// Written by Bjarke Viksoe (bjarke@viksoe.dk)
// Copyright (c) 2006-2007 Bjarke Viksoe.
//
// This code may be used in compiled form in any way you desire. These
// source files may be redistributed by any means PROVIDING it is
// not sold for profit without the authors writ... | [
"achellies@163.com"
] | achellies@163.com |
865cbd85f217bc3345d200e279eff04577d70a9d | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/Server/GameServerOck/main/GBuff.cpp | 4c34150ec711810dce8be301deb7af28ca4656a7 | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 9,822 | cpp | #include "StdAfx.h"
#include "GBuff.h"
#include "GEntityPlayer.h"
#include "GBuffInfo.h"
#include "CCommandTable.h"
#include "GPartySystem.h"
#include "GGlobal.h"
#include "GCommand.h"
#include "GBuffReleaser.h"
#include "GBuffInstantApplier.h"
#include "GBuffModifierApplier.h"
#include "GBuffTriggerApplier.... | [
"shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4"
] | shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4 |
97cbf82fa0efd79f454caaaf388fe2ff93406d95 | 4cb98b7fe0654a928deea9ead312eb0861e4e73c | /VS/Il2CppOutputProject/Source/il2cppOutput/Il2CppReversePInvokeWrapperTable.cpp | 6ce051e89d0028d36a89ae4cf1c1c354db3ba8ec | [] | no_license | Tuan-Mai/ComputingInAR-FinalProject | 3e78feb6b9deda1512d01b924b790811cd0c2197 | 930c6b1fccbf1e2c7a0d2257abaff8acd4cbf97e | refs/heads/master | 2020-04-08T12:52:16.130981 | 2018-12-10T17:31:31 | 2018-12-10T17:31:31 | 159,365,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,763 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
// System.Char[]
struct CharU5BU5D_t3528271667;
// System.String
struct String_t;
// ... | [
"tuandinhmai@gmail.com"
] | tuandinhmai@gmail.com |
85d6c5b4d4a09fac67d01fa397719b688a5c5099 | 64c2b93afcfda11aefcccfb3604145fa00f5abb8 | /serialconnector.h | bdc32b6374fc9c0b77c84a47a8e9dfa056fc9008 | [] | no_license | tamasstummer/ratlab_8_qt | 91a6768fab6fe330bd7349f5d08312430dcf2640 | b4fba46ca7a1658a0370e167da6132acbbe5a7e0 | refs/heads/master | 2021-05-20T09:45:47.484493 | 2020-04-01T16:37:46 | 2020-04-01T16:37:46 | 252,231,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | h | #ifndef SERIALCONNECTOR_H
#define SERIALCONNECTOR_H
#include <QObject>
#include <QVariant>
#include "serialsimulator.h"
class SerialConnector : public QObject
{
Q_OBJECT
public:
explicit SerialConnector(QObject *parent = nullptr);
SerialSimulator *serialsimulator;
QByteArray *buffer;
bool connectS... | [
"tamas.stummer@gmail.com"
] | tamas.stummer@gmail.com |
5ecbc5752a165a0b19298ec48f091f6bc85d2a17 | 6325638953353358c7243c6f292bbc55f6427d8d | /CodeChef/Beginner/ARRROT.cpp | 7cd9a068228f57f34ebba5d0277728c4a8bb3e0c | [] | no_license | bashu22tiwari/BashuTiwari-CP | 60fc93488569c4e0cbc217f53aecd1bf38cc486f | 99c1d9ea4ce7cb6114508683635d62f04dbd64b8 | refs/heads/main | 2023-08-13T04:43:24.578329 | 2021-09-27T20:37:53 | 2021-09-27T20:37:53 | 340,102,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
int arr[n];
for(int i=0 ; i<n i ++){
cin >> arr[i];
}
int sum = 0;
for(int i=0 ; i<n ; i++){
sum+=arr[i];
}
int q;
cin >> q;
for(int i=0 ; i<q ; i++){
sum*=2;
}
cou... | [
"55925918+bashu22tiwari@users.noreply.github.com"
] | 55925918+bashu22tiwari@users.noreply.github.com |
49ce4487ba686c73b924075a52a96960fe69a6fa | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir22442/dir22443/dir22444/dir22869/dir22870/dir22871/file23039.cpp | a5a028bd6e1ca81910ce78c7bbb060c65c4170e8 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file23039
#error "macro file23039 must be defined"
#endif
static const char* file23039String = "file23039"; | [
"tgeng@google.com"
] | tgeng@google.com |
af82470453808e06295b6d25d3e64a99fc473d1d | 60d985c94433c0a341571e3639140124f5800faa | /src/shaders/StaticShader.h | 178d5f0b6fc2e0a5636fc1446c4df377ac6faecd | [] | no_license | raulgrell/Vumod | a9676c8592d310eae8e456414c994ac2c0600990 | 10ca6dab8346549ae119c21dc519ad8e420bdfe4 | refs/heads/master | 2022-06-08T17:48:32.813281 | 2022-05-05T20:56:31 | 2022-05-05T20:56:31 | 191,601,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | h | #pragma once
#include "ShaderGL.h"
#include <light/Light.h>
#include <camera/Camera.h>
#include <vector>
class Camera;
class StaticShader: public ShaderGL
{
public:
StaticShader();
void BindAttributes() override;
void GetUniformLocations() override;
void LoadShineVariables(float damper, float reflectivity);
... | [
"raulgrell@gmail.com"
] | raulgrell@gmail.com |
ff373fbf1896a6742b28afcfdfafebe616470479 | bfd0f52a7454b10a54dec4098c3234d6efd0523e | /热题100/树/538.把二叉搜索树转换为累加树.cpp | d6944d7389a5e37e147174c45430940195dd7abe | [] | no_license | sherry3255/cooooode | ddde959068b0a9850e9982e8b65976caa36c5323 | 5de2c08c2dc4001a905b83c5efd30cf93f746a30 | refs/heads/main | 2023-05-04T08:14:34.667978 | 2021-05-23T16:42:31 | 2021-05-23T16:42:31 | 322,979,762 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | cpp | /*
* @lc app=leetcode.cn id=538 lang=cpp
*
* [538] 把二叉搜索树转换为累加树
*/
// @lc code=start
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullp... | [
"zhoubh@deepblueai.com"
] | zhoubh@deepblueai.com |
6ef124486aa992dc03fc0cf7d772504f91dc6f27 | 6a19da73cf8dadac5aa65a48e1fa5c47f40dc07f | /converter/linux/my_application.cc | bc5bfdd95cf52e2ab84f0c09eaacc909d9fb44db | [] | no_license | sinaziaee/flutter_bootcamp | 9fdce5da0947fdb40733d90db1b91bb57499f37b | 855defe85be755424911141e0deac9fa6dc82e79 | refs/heads/master | 2023-08-15T12:07:03.511580 | 2021-09-15T07:28:57 | 2021-09-15T07:28:57 | 389,382,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,722 | cc | #include "my_application.h"
#include <flutter_linux/flutter_linux.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
#endif
#include "flutter/generated_plugin_registrant.h"
struct _MyApplication {
GtkApplication parent_instance;
char** dart_entrypoint_arguments;
};
G_DEFINE_TYPE(MyApplication, my_application, GT... | [
"sinaziaee99@gmail.com"
] | sinaziaee99@gmail.com |
8469aad41f5fe1acfaed2a99322b6c34fc80deaa | e4960ccc6b4a81c906a8311e5282d54f3a869ef1 | /Project/Phase4/sockets_phase4/Connection.h | e2a4154d91f27eb7ce9eebdca3100269d3dd315e | [] | no_license | katerinachinnappan/CMPS-109 | 3f53bd72b30ae5caf5bad698c0c19a17f5771045 | 221c219106d37286682d86343a401fbc6345552f | refs/heads/master | 2021-01-18T16:26:51.465923 | 2017-03-30T20:28:22 | 2017-03-30T20:28:22 | 86,744,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | #ifndef CONNECTION_H_INCLUDED
#define CONNECTION_H_INCLUDED
#include "TCPSocket.h"
#include "Thread.h"
#include "SRIMain.h"
#include "Thread.h"
#include "TCPSocket.h"
// A class representing a single connection form a client
class Connection : public Thread //Inherit from Thread
{
private:
TCPSocket * tcpSocket; //... | [
"katiachinnap@gmail.com"
] | katiachinnap@gmail.com |
92066db2d6bfbcee59d24a7fcc3c36ec964f3f64 | 6d72a386a7bbf7488d569e11216d3c6c6c073674 | /leetcode/cpp/preimageSizeFZF/main.cpp | eab538d7472ed2fef6cf47c07b34510d72ea6bc0 | [] | no_license | Alwaysproblem/simplecode | aea5c5a910c357263be1a071bc555e2dab20e332 | b1ee0ad390c9e1193109b97b8c66351aaa6f6b8b | refs/heads/master | 2023-07-22T16:00:14.859769 | 2023-07-22T14:59:23 | 2023-07-22T14:59:23 | 165,994,898 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | cpp | /*
* @lc app=leetcode.cn id=793 lang=cpp
*
* [793] 阶乘函数后 K 个零
*/
#include <fmt/format.h>
#include <fmt/ranges.h>
#include <climits>
#include <iostream>
#include <unordered_map>
#include <vector>
using namespace std;
// @lc code=start
class Solution {
public:
long trailingZeroes(long n) {
long res = 0;
... | [
"reganyang0415@gmail.com"
] | reganyang0415@gmail.com |
2b28f6e27b1cd96377bc9b642b821dae702de4d5 | 175dd1c18e2231c639509696a154a2f26be2a29f | /rysm-server/arduino/arduino.ino | bb04af099b2dc9927ab20f5fd42816252917843f | [] | no_license | ADavidLiu/smart-cart | 570d94248243f99331fb0971527f8efc166508b9 | e5c612648b9bac65f79b71754f2c51174e9373b1 | refs/heads/master | 2020-03-18T15:30:05.271801 | 2018-06-20T03:52:53 | 2018-06-20T03:52:53 | 134,911,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | ino | #include <SPI.h>
#include <RFID.h>
#include "HX711.h"
#define SS_PIN 10
#define RST_PIN 9
#define DOUT A1
#define CLK A0
HX711 balanza(DOUT, CLK);
RFID rfid(SS_PIN,RST_PIN);
String id = "";
void setup() {
Serial.begin(9600);
SPI.begin();
rfid.init();
balanza.read();
balanza.set_scale(439430.25);
... | [
"adavidliuf@gmail.com"
] | adavidliuf@gmail.com |
33e09383359cc3100c13ba1f53c5f4625528aceb | 0758066960d0990bd4ce76805f93d9bc7c2b9b0f | /CS Class work/CS 1700 Homework problems/P362A102.cpp | 13444a80933420f76ea2bd4c53c838a037932845 | [] | no_license | mrsalt/USU | 4acf7ecf84663491582a834f31f69cfd17938d58 | 49cbc7bbc597f6780338f11bf341c86579bb3c02 | refs/heads/master | 2020-08-26T22:39:36.728764 | 2019-10-24T00:50:08 | 2019-10-24T02:18:11 | 217,167,673 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | // 362
// marks
// Mark Salisbury
// P362A102.cpp
//Template functions must be implemented prior to their use, therefore, place the code for your
// template functions before main.
//A102. (template functions) (min) Read section 3.21 then do problem 3.58 from your text.
#include <iostream.h>
template <clas... | [
"fmark.salisbury@gmail.com"
] | fmark.salisbury@gmail.com |
8ce20ff55d21a3694d8cfd66cbbdafe663817893 | 304c4e10eb4290eb172085358555f22d91cc41a7 | /examples/01_backend/LCDML_010_simpleThread/LCDML_010_simpleThread.ino | 9459c57664b300bbfa13e57a160c3b9d681c49e0 | [
"MIT"
] | permissive | Ludy87/LCDMenuLib2 | f975b71959bee5dc05b1e3b1e535f5d1af4b6210 | 8412024188c4fe6b2b7f2003528587f9df0380ca | refs/heads/master | 2020-04-02T03:52:24.770213 | 2018-10-21T08:51:54 | 2018-10-21T08:51:54 | 153,989,031 | 0 | 0 | MIT | 2018-10-21T08:46:15 | 2018-10-21T08:46:15 | null | UTF-8 | C++ | false | false | 13,104 | ino | // ============================================================
// Example: LCDML_simpleThread example
// ============================================================
// Description:
// This example includes the complete functionality over some
// tabs. All Tabs which are started with "LCDML_display_.."
// generate... | [
"nilsfeld@gmail.com"
] | nilsfeld@gmail.com |
433cb2c6f45d78a2087a5bce8c00bd2ab38b1f57 | c0a9cc835e9e4566e18c867dbbec63de40dd3404 | /cs165/assignments/asteroids/rocks.cpp | 21d6198d4b7c866522dda883ee32bc5239a86f70 | [] | no_license | tatianachetina/BYU-I | cb347999e89a1886d1f4ca5cbda3ad533a81eca5 | 5e1b0607bc53cba29d86753295b49f088fd617f7 | refs/heads/master | 2020-03-23T04:28:28.355573 | 2018-07-03T02:22:44 | 2018-07-03T02:22:44 | 141,085,653 | 1 | 0 | null | 2018-07-16T04:17:28 | 2018-07-16T04:17:28 | null | UTF-8 | C++ | false | false | 70 | cpp | #include "rocks.h"
// Put your Rock methods here
Rock :: Rock()
{
}
| [
"scottcurrell@gmail.com"
] | scottcurrell@gmail.com |
f24cf2a07b41e319baf931ba699fecc02b59e8d4 | 293d62b2afbcfe0ca3f06f21320022afd802cafe | /RenderCore/render/wtf/Deque.h | c7b4089c8d8888caba05235b624ee86595412414 | [
"Apache-2.0"
] | permissive | pouloghost/weexuikit | 9b2e911a3cc34f3b8ab9cf0b3c9e57d245583a4e | 2eaf54e4c1f4a1c94398b0990ad9767e3ffb9213 | refs/heads/master | 2022-02-20T05:49:23.025281 | 2019-08-14T03:17:52 | 2019-08-14T03:17:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,489 | h | /*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2009 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:
*
* 1. Redistributions of source code must r... | [
"jianbai.gbj@taobao.com"
] | jianbai.gbj@taobao.com |
1f27cd124866893af8d17fab898b4ad4ca84fb17 | 11652dfbaccc4f7928cd0d0c37e4fc476ec7bc58 | /Engine/Components/ModelComponent.hpp | d7905dc7e64787d869ab3bba3268b0a4e8e7137d | [
"MIT"
] | permissive | FeikoJoosten/GameEngineFramework | 8ebbbd5e4a40c798348edc2cb8a379c73b2563b7 | 09017f92270db6d0fc649949a2960f9a14d5db0e | refs/heads/master | 2022-12-21T01:57:04.274895 | 2019-09-28T21:43:43 | 2019-09-28T21:43:43 | 163,863,606 | 7 | 0 | MIT | 2019-01-08T13:37:15 | 2019-01-02T16:20:23 | C++ | UTF-8 | C++ | false | false | 2,546 | hpp | #pragma once
#include "Engine/api.hpp"
#include "Engine/Model/Model.hpp"
#include "Engine/Components/Component.hpp"
namespace Engine
{
class TransformComponent;
/// <summary>
/// This component is used to keep track of the meshes and textures to render. NOTE: only the Entity class is allowed to create this compone... | [
"feiko_joosten@hotmail.com"
] | feiko_joosten@hotmail.com |
aee546c3e337c99c1f8351685237b64e4d052b9d | fed8f16e93f9a63d5bc350fbf6b2086c21b4843f | /Miscellaneous/Debugging Templates.cpp | d570226f5ff11b3f3836771da46814bcfa8a233b | [] | no_license | marksman2op/cp | 199faabccd7cc7764c81e93a15ef88fef16f8414 | bda1bf982f4fbc8498579d4d9b30b43ef0f80b5d | refs/heads/master | 2023-08-17T10:16:13.123785 | 2021-10-04T07:59:39 | 2021-10-04T07:59:39 | 244,225,646 | 1 | 0 | null | 2020-07-23T19:02:22 | 2020-03-01T21:21:42 | C++ | UTF-8 | C++ | false | false | 8,996 | cpp | // Sky's the limit :)
#include <bits/stdc++.h>
using namespace std;
// #define int long long
/*
char array n * m
# sand
. empty
array of size m
a[i] = num of sands in column m
*/
// DEBUGGING TEMPLATES
/*
Alternative for g++ -D LOCAL filenmae.cpp
Codeforces defines an ONLINE_JUD... | [
"noreply@github.com"
] | marksman2op.noreply@github.com |
8cd7c592fc0128902e0fc4b975d29e21c89f9b96 | d33cbc96bfb7d793c63ea586aece6edfa893c073 | /src/util.cpp | eab82230d0abb3e70e0c2b9299c3e29138c43823 | [
"MIT"
] | permissive | IntergalacticAvenger/uwucoin | dccf9622fd24d15bae0351dbcb267686a45c7967 | 5299ef565d55297f20bc9687b76396b020088510 | refs/heads/master | 2023-04-21T17:21:46.075588 | 2021-04-23T22:08:23 | 2021-04-23T22:08:23 | 338,735,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,205 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef WIN32
// for posix_fallocate
#ifdef __linux__
#define _POSIX_C_SOURCE 2001... | [
"eshayer@ucdavis.edu"
] | eshayer@ucdavis.edu |
3863d7783e96dd742dd10b36bc8b63b7c09fc1d6 | bb6b3f0b3101cd153db54130469279c2a77c7cde | /tests/Mocks/MockIO.h | 89a7ee45d3f86554c0c1e9ec5b030574d59b5616 | [] | no_license | RodionShyshkin/ToDoList | d1394f5bc41df412d6f0ff53a55cd88102d90766 | 2e1f34080c595fd5a83d9609bfba42866d0e7a0a | refs/heads/master | 2023-01-07T19:20:30.790925 | 2020-10-27T02:00:28 | 2020-10-27T02:00:28 | 279,855,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | h | //
// Created by Rodion Shyshkin on 26.10.2020.
//
#ifndef TODOLIST_TESTS_MOCKS_MOCKIO_H_
#define TODOLIST_TESTS_MOCKS_MOCKIO_H_
#include <gmock/gmock.h>
#include <IO/IOInterface.h>
class MockIO : public IOInterface {
public:
MOCK_METHOD(std::string, input, (), (override));
MOCK_METHOD(std::string, inputCommand... | [
"rodion.shyshkin@teamdev.com"
] | rodion.shyshkin@teamdev.com |
621d0db64d22a6000ccfbde6df17cd23e01aa124 | ea9519970a897170bd6a2e618d258de44f4d48ba | /Source/Tanki/PhysicsProjectilew.cpp | 4e29d9dbaa60636da3e5c6303d2afec14ffeff65 | [] | no_license | Kotsh/Tanki8 | 494f2094b235221e8e3256bed78f6edc50e107c8 | 4536069b61ab13672012656daeebe0e9255ef14d | refs/heads/main | 2023-08-27T01:54:30.676394 | 2021-11-07T19:26:35 | 2021-11-07T19:26:35 | 425,595,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PhysicsProjectilew.h"
PhysicsProjectilew::PhysicsProjectilew()
{
}
PhysicsProjectilew::~PhysicsProjectilew()
{
}
| [
"kotish-fase@mail.ru"
] | kotish-fase@mail.ru |
ea32666e1a9a1c3c822b833c4cda00175557beb7 | 9f8837e820e266379a4ca764324cf486fd31d43b | /final_thesafe.ino | f0e62437cef387f649e09112c00234984044b982 | [] | no_license | mpaulmichael/InsAndOuts_Michael | 5f49ed116557743b3aaea8a81a8f7dd2ccb67205 | 4baee36060ef80a2d1429af7d47cdbe5c3451424 | refs/heads/master | 2020-03-29T16:33:56.522343 | 2018-12-19T17:09:57 | 2018-12-19T17:09:57 | 150,118,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,914 | ino | #include <Servo.h>
Servo myservo;
unsigned long time;
int time2;
const int RED = 4;
const int GREEN = 3;
const int BLUE = 2;
const int PhotoPin=A1;
int PhotoValue=0;
const int Knob_sensorPin=A0;
int Knob_sensorValue=0;
int val_knob;
int val_photosensor;
int val3=100;
int state;
int condition;
int stat;
int sta;
in... | [
"noreply@github.com"
] | mpaulmichael.noreply@github.com |
9cf27ce200b47cbe7680c7363a3c99db5a93e7ab | 493a4c99ba7d2122bcca2a495b87bf190ece5750 | /kingdom_defence.cpp | 9e8d0c811e414739bc71143319cca8217538b5fb | [] | no_license | md-qubais/Data_Structures_Algorithms_and_Competitive_Programming | 9b8d38c05522568bbf4cffa95dc5390a3aaae1cb | d7157c27720fa28ead3d4562e423ad719aabd87b | refs/heads/main | 2023-04-02T12:36:34.482803 | 2021-04-05T08:31:14 | 2021-04-05T08:31:14 | 354,769,143 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | #include<bits/stdc++.h>
#define IOS ios_base::sync_with_stdio(false); cin.tie(NULL)
#define int long long
#define endl "\n"
using namespace std;
int32_t main(){
#ifndef qubais_judge
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
IOS;
int t;
cin>>t;
while(t--){
int w,h,n;
ci... | [
"shareefhussain733@gmail.com"
] | shareefhussain733@gmail.com |
0a0b73415578e950b3ed0dfa2107836ffa412480 | db79f3eb49039d18aa5897c81add5c5b218bbd3a | /src/test/scriptnum_tests.cpp | 0e2280c5c45c657634c367f4809690fd48d3a3d7 | [
"MIT"
] | permissive | Imperium-Core-Developpers/imperium | 44e381fb84c5ec859bad7bc26ad6dfc637d743ff | 42536a92c27018d304c304f9f6fa39c8042b1183 | refs/heads/master | 2020-04-07T07:39:03.174068 | 2018-11-13T03:28:03 | 2018-11-13T03:28:03 | 154,446,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,473 | cpp | // Copyright (c) 2012-2018 The Imperium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/scriptnum10.h>
#include <script/script.h>
#include <test/test_imperium.h>
#include <boost/test/unit_test.hpp... | [
"imperium.main.dev@gmail.com"
] | imperium.main.dev@gmail.com |
62cbd1b532e41adf47c523de20d19e7f982fcfdc | 39b765fd2d2c17417eba777df5e8db08acf33267 | /删除重复字符.cpp | 885d094e0ac9b61ce61c46658525aa099de555ee | [] | no_license | aeadod/C_break | dc2ef6dc613bbf4e1c43efc3933200d6a16d70c5 | 34ee8b23238d57a35488f8eb96a5267651bcd950 | refs/heads/master | 2020-04-05T12:31:32.977126 | 2018-11-18T12:20:50 | 2018-11-18T12:20:50 | 156,874,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | #include<stdio.h>
int main(){
char str[]="aabbcaedddd";
for(int i=0;str[i]!='\0';i++){
for(int j=i+1;str[j]!='\0';j++){
if(str[i]==str[j]){
int k=j+1;
for(;str[k]!='\0';k++){
str[k-1]=str[k];
}
str[k-1]='\0';
j--;
}
}
}
printf("%s",str);
}
| [
"aeadod@163.com"
] | aeadod@163.com |
766fcaa4df438298cc46ca17797875e4fc72e7a3 | 681d0756af04816e6b3aa77a0aa635f47634625e | /day01/ex00/main.cpp | 4d2c9b1054da839d911623472a6ede77eacf4704 | [] | no_license | vovvoy/cpp_pool | a76791dcee57bc090a2ab1fbc064b81a8a25c2ca | 9dbb9b25b4011d2943bee3245519cd132422d34f | refs/heads/main | 2023-03-24T08:19:33.241705 | 2021-03-16T18:21:56 | 2021-03-16T18:21:56 | 335,119,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | cpp | #include "Pony.hpp"
void ponyOnTheHeap(Pony* blabla){
std::cout << "\n\nThis is a new pony on the heap!!!\n";
std::cout << "And here is the some information about her." << std::endl;
std::cout << "codename: " << blabla->getPonyNickname() << std::endl;
std::cout << "age: " << blabla->getPonyAge() << s... | [
"ormonbaev.marsel@gmail.com"
] | ormonbaev.marsel@gmail.com |
2534e0d118fbbbf7e949061b40d3db8b94939c3a | e181eef3a9d74902d45c93d51eda6f984f65a2cf | /mm08.cpp | 9e687020e5df711376c858e6dc7deaec23b67d5e | [] | no_license | shigurewg/ITSA-cpp | 5c7c22083fe3585e11ba268de8fdcd5c2ef6d796 | 563ae57eba86ae34c45c9cfd79120cccef355432 | refs/heads/master | 2020-06-03T11:26:31.770236 | 2019-06-13T03:47:08 | 2019-06-13T03:47:08 | 191,549,635 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | cpp | #include<iostream>
using namespace std;
int main(){
int a,b;
while(cin>>a){
cin>>b;
cout<<(a+b)*(a+b)<<endl;
}
return 0;
} | [
"46485606+shigurewg@users.noreply.github.com"
] | 46485606+shigurewg@users.noreply.github.com |
79a5a09693f464c7eb2f354016408d49331a0626 | 438849e8cccfcaf432d6219bcf2561b8492fba76 | /src/kernel/process.h | faa25a7e7f78714f48d0779f456c72a56accfc5d | [
"MIT"
] | permissive | tuslm/os-simulator | 82a6750e4e2f15d757181e3712daa2dfe409bc34 | e1d1a6952db6f72c4a39873d90419cfe2e9bb22c | refs/heads/master | 2021-08-23T12:16:29.513145 | 2017-12-04T21:49:22 | 2017-12-04T21:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | h | #pragma once
#include "..\api\api.h"
#include <Windows.h>
#include <mutex>
#include <vector>
const int PCB_SIZE = 256;
//PCB tabulka pro ulozeni zaznamu o procesech
typedef struct process_control_block {
const char *name; //jmeno procesu
int par_pid; //pid rodice --- bude potreba?
const char *pat... | [
"m.tusl@seznam.cz"
] | m.tusl@seznam.cz |
5cfabbf50006f9964576bb8e4a733dbf7903c250 | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qtbase/examples/sql/relationaltablemodel/relationaltablemodel.cpp | e764d8cebaf59dc2d57052a70bc259a06d60e4c2 | [
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-commercial-license",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"LicenseRef-scancode-qt-commercial-1.1",
"LGPL-3.0-only",
"LicenseRef-scancode-qt-company-exception-lgpl-2.1",
... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | C++ | false | false | 4,111 | cpp | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follow... | [
"p_pavlov@wargaming.net"
] | p_pavlov@wargaming.net |
fb2b4a84eb424fc5ecf1075e56b880efdf66cde2 | 2d5100b882aba165f6706f88b23c38977a7825f3 | /2018-2019/hps/main.cpp | c64481f5a2485fd2cedc45bc0c42cef09e123719 | [] | no_license | anish-lakkapragada/USACO-Solutions | ac8b8857e7a66dfacc3561ee5ca61a5f8be2430a | 74383af923cbdb0c54c8a9cddaa1a0ab8117e816 | refs/heads/master | 2023-02-03T04:25:43.432418 | 2020-12-19T07:18:45 | 2020-12-19T07:18:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,952 | cpp | //http://usaco.org/index.php?page=viewproblem2&cpid=691
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <set>
#include <algorithm>
#include <array>
#include <map>
#include <queue>
#include <unordered_map>
using namespace std;
vector<string> split(string str, string character){
... | [
"38841491+KentoNishi@users.noreply.github.com"
] | 38841491+KentoNishi@users.noreply.github.com |
324fc8c3ffff5c133dcf8401995b48b81ff00859 | f7d896e5dcdf16338ea2c17f670b2c8129a6069e | /msad2023_pri/NumCpp/Functions/fromiter.hpp | 678d299f5ae58a62fea8c6d3538c0a4f1196e90e | [] | no_license | wataniguchi/EV3RT | 4268b3817ac0037b5ccf52ceddd08f7b9320b9e6 | 330ca40a40b67043ffa77184f833ff1d9b54c306 | refs/heads/master | 2023-08-31T00:59:04.391244 | 2023-08-07T10:20:58 | 2023-08-07T10:20:58 | 177,363,579 | 0 | 10 | null | 2023-08-07T10:20:59 | 2019-03-24T02:50:03 | C++ | UTF-8 | C++ | false | false | 1,960 | hpp | /// @file
/// @author David Pilger <dpilger26@gmail.com>
/// [GitHub Repository](https://github.com/dpilger26/NumCpp)
///
/// License
/// Copyright 2018-2022 David Pilger
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this
/// software and associated documentation files(the "Sof... | [
"wataru@taniguchifamily.com"
] | wataru@taniguchifamily.com |
60b6750aeaefad6d162b583256db8bce96d6c023 | 2fb0b014f1f2568ae544fd11d36221813e254a5f | /DataStructures/BIndexedTree.cpp | e57397f02ce216464bf33c98eba4283d689ec5d0 | [] | no_license | pradeepgangwar/Programming-Codes | 2fca44cbc0cc17249f468e2e9053c9a766be5c7d | 92054408152ef2afdec7ab573f79fcfac5b283e8 | refs/heads/master | 2021-05-24T02:14:03.677429 | 2020-05-02T02:07:25 | 2020-05-02T02:07:25 | 82,897,597 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | //code to fing sum of array and update the array simultaneoulsy.
#include<bits/stdc++.h>
using namespace std;
int a[100],b[101]={0},n;
void update(int i, int u)
{
int length=0;
while(i<=n)
{
b[i] += u;
length = i&(-i);
i += length;
}
}
int query(int i)
{
int sum = 0;
for(; i>0; i-=i&(-i))
{
sum += b[... | [
"pradeepgangwar39@gmail.com"
] | pradeepgangwar39@gmail.com |
e9661fcc96b3a4d149303822622daf16c4c548de | c937cc18c85de45cecdffe540a3d791e627c770a | /《深入浅出程序设计竞赛》资料/代码/第6章/6-3.cpp | f720e85c78c0f28b28254c6d9c8aa682bcbb8609 | [] | no_license | duanyiting2018/learn_cPlusPlus | 5c514c2aa0f2440457b0dce4973f71c880520bc7 | abf13f1e205be5ea261c35db09dc5d03f58f4bda | refs/heads/master | 2021-12-10T14:45:11.785187 | 2021-08-09T13:31:22 | 2021-08-09T13:31:22 | 171,656,502 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 637 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
char a[110];
int ans[26]={0};//ans[0]到ans[25]分别表示'a'到'z'出现的次数
int l,maxn=0,minn=10000,delta;//len,maxn,minn,maxn-minn
scanf("%s",a);
l=strlen(a);
for(int i=0;i<l;i++){
ans[a[i]-'a']++;
}
for(int i=0;i<26;i++){
if(ans[i]>maxn) maxn=ans[i];
if(ans[i]... | [
"1036179833@qq.com"
] | 1036179833@qq.com |
01e2d9914ea7939375d4a9985ed6b6a24ca105b8 | a608d262e264477f0bceb95a752aba25aca7048d | /CarND-Kidnapped-Vehicle-Project-P6/src/main.cpp | 00e2c5d965c80cbec21f1801f234c0a28817a730 | [
"MIT"
] | permissive | thejeshk/Udacity_Self_Driving_Car_Nanodegree | 6b425211345f2cf2cd47746ec7f647a55425abb3 | f95da84aa02c62815f95dcc7bf723633273eddc4 | refs/heads/master | 2022-12-24T17:15:27.326113 | 2020-10-10T06:22:40 | 2020-10-10T06:22:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,288 | cpp | #include <math.h>
#include <uWS/uWS.h>
#include <iostream>
#include <string>
#include "json.hpp"
#include "particle_filter.h"
// for convenience
using nlohmann::json;
using std::string;
using std::vector;
// Checks if the SocketIO event has JSON data.
// If there is data the JSON object in string format will be retur... | [
"rphan@ryerson.ca"
] | rphan@ryerson.ca |
6fb0a983617ea1b38f94c67c4c62626accb76728 | e5935a9b4b7f61c2490e62c8e8ac021c24db4559 | /directfire_github/trunk/uilib/widgets/fsizespritedelegate.h | e3b5fa9f6983ee63c7ac074243ef4ffb2b377fc6 | [
"MIT"
] | permissive | cubemoon/DirectFire-android | 93c6aaf04d6f74854957543b83ce6f24722a978a | 10c757e1be0b25dee951f9ba3a0e1f6d5c04a938 | refs/heads/master | 2021-01-24T23:41:04.550917 | 2014-01-13T09:59:51 | 2014-01-13T09:59:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | h | #ifndef _fsizespritedelegate_h_
#define _fsizespritedelegate_h_
#include "cocos2d.h"
using namespace cocos2d;
#include "absfixedsizewidget.h"
#include <string>
using namespace std;
namespace uilib
{
class FSizeSpriteDelegate : public BasFixedSizeWidget
{
public:
FSizeSpriteDelegate(CCSprite *sprite,const CCSize ... | [
"zhwsh00@126.com"
] | zhwsh00@126.com |
de3ee5ffa368a53dfdeff1cbd73e302829b1fe17 | 3ea829b5ad3cf1cc9e6eb9b208532cf57b7ba90f | /libvpvl/src/engine/cg/Renderer.cc | ec5eb34208216119cdc2c5adb1d5e08f764ca572 | [] | no_license | hkrn/MMDAI | 2ae70c9be7301e496e9113477d4a5ebdc5dc0a29 | 9ca74bf9f6f979f510f5355d80805f935cc7e610 | refs/heads/master | 2021-01-18T21:30:22.057260 | 2016-05-10T16:30:41 | 2016-05-10T16:30:41 | 1,257,502 | 74 | 22 | null | 2013-07-13T21:28:16 | 2011-01-15T12:05:26 | C++ | UTF-8 | C++ | false | false | 15,016 | cc | /* ----------------------------------------------------------------- */
/* */
/* Copyright (c) 2009-2011 Nagoya Institute of Technology */
/* Department of Computer Science */
/* 2010-2012 hkr... | [
"hikarin.jp@gmail.com"
] | hikarin.jp@gmail.com |
e2b91af040c001e4572912b9413a1df6c2cf3fd3 | 360996d1644bff7b558e46f93eab9cf1bf08a415 | /es.h | 046720bbdb8230edc26eac8bdf2e0b3abdcd9b3a | [] | no_license | luisfelipehsr/something | 3e6f3d3cdd8224c4b90cd8211850594bd1404c19 | 2fd3461058b801b8c0815579035803a75299040b | refs/heads/master | 2021-08-22T18:54:58.463266 | 2017-12-01T01:45:10 | 2017-12-01T01:45:10 | 111,011,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h | // guarda
#ifndef _ES_H_INCLUDED_
#define _ES_H_INCLUDED_
#include <string>
void imprime_saida_bnb(std::vector<int> &melhor_solucao, int &custo,
int &lim_inf, int &num_nos_exp);
void imprime_saida_heur(std::vector<int> &melhor_solucao, int &custo);
void recebe_entrada(const std::string arquivo, int &m, int ... | [
"luisfelipehsr@gmail.com"
] | luisfelipehsr@gmail.com |
df1a2fbb6f27fed0fea776e1abb6db4d4491bf6a | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/math/tools/stats.hpp | 3935991d7b1815443c8e32c87f14c92baf21ac0a | [
"BSL-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 2,144 | hpp | // (C) Copyright John Maddock 2005-2006.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_MATH_TOOLS_STATS_INCLUDED
#define BOOST_MATH_TOOLS_STATS_INCLUDED
... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
47d76ef5523c36ee7fd36e6094a36108b983f64c | b0dd7779c225971e71ae12c1093dc75ed9889921 | /boost/python/object/class_metadata.hpp | 561160011b848473d4fe75e4bb0a9c07cecc0c78 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSL-1.0"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 9,227 | hpp | // Copyright David Abrahams 2004. Distributed under the Boost
// Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef CLASS_METADATA_DWA2004719_HPP
# define CLASS_METADATA_DWA2004719_HPP
# include <boost/python/converter/shared_ptr_from_p... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
aea6c63820397df10651da9e1a07992f9cb3b862 | c10516b25dc1b4b3ad73dca1bbd9d4fea25325b7 | /Ayush Singh Chandel/Question-4.cpp | dcb2ef60394ec8786684d50eab14e0386c816659 | [] | no_license | ayucha7/upes-assignments | 25165ae3dc6fb5f5ce6586d942fa609722f04a3d | 0be440c1eb677318c1dfd41ad78eb8d5b8f49817 | refs/heads/master | 2021-06-25T23:59:25.353270 | 2017-09-10T11:24:33 | 2017-09-10T11:24:33 | 103,023,230 | 0 | 0 | null | 2017-09-10T11:11:09 | 2017-09-10T11:11:09 | null | UTF-8 | C++ | false | false | 2,172 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int mod = 1000000007;
const int MX = 100000;
const int N = MX + 5;
int dem[N], cnt[N], a[N], pw[N][32], lt[N];
inline int add(int a, int b) {
if ((a+=b) >= ... | [
"noreply@github.com"
] | ayucha7.noreply@github.com |
0a149e434186e900350911cd3d94e5818a311341 | d1e091e7f09da02924834ae1e54b01e92c2e4e48 | /Coursework2/DXEngine/D3DAudio.h | 3c4ac2b287ea8d61aee0d583271bdd6b59d49c0c | [] | no_license | Cerwym/-WIP-DirectX11Multiplayer-Client | c75dea3ed176f6655c425433b2ec154654cae20d | 99867697681c7c1d5323bc59401c5711491f5831 | refs/heads/master | 2021-01-21T21:19:07.538368 | 2015-09-22T13:59:37 | 2015-09-22T13:59:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | h | #pragma once
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <mmsystem.h>
#include <dsound.h>
#include <stdio.h>
#include "Defines.h"
class D3DAudio
{
public:
D3DAudio();
D3DAudio(const D3DAudio&){}
~D3DAudio();
bool Init(HWND);
void Cleanup();
// Plays the specified audio file
void PlayFile(cha... | [
"cerwym@googlemail.com"
] | cerwym@googlemail.com |
4e06782b958e054861fe681679f7d4e05ff95025 | a40ec7a12e893bf3ff5e913d111c2faaa7ede80f | /ws2812b/Led.cpp | 6f312d7ebb16e6b8a6b72b529587dfea5defe9bd | [
"MIT"
] | permissive | galilov/WS2812B-Clock | be7feaaecad3a1a926e5f17e635d5c2107c6a182 | 563791894f7758a6d989909f40d79aa278aaa586 | refs/heads/master | 2020-05-27T16:53:47.157836 | 2019-06-02T11:58:17 | 2019-06-02T11:58:17 | 188,711,460 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,190 | cpp | //
// Created by Alexander Galilov on 26.05.2019.
// E-Mail: alexander.galilov@gmail.com
#include <unistd.h>
#include <time.h>
#include <stdexcept>
#include <bits/ios_base.h>
#include "Led.h"
using namespace WS2812B;
// See protocol description at https://static.chipdip.ru/lib/554/DOC001554925.pdf or
// https://www.... | [
"alexander.galilov@gmail.com"
] | alexander.galilov@gmail.com |
bc845b43f1b4a758a27096d026b82ab3b665b36b | f6a76823b3a9370cd96acd31f2a9b5cd87cff925 | /MyYUVPlayer/MyYUVPlayerView.h | 837163373c7d22eecc64595af1823cd393d2f856 | [] | no_license | firefoxking/MyYUVPlayer | 7ad19f119e5760391ef24029573d4e1089343375 | 60b73bfb85e812b207c1dd1fe35174bb09c02258 | refs/heads/master | 2023-01-19T11:19:49.458074 | 2020-11-10T08:12:05 | 2020-11-10T08:12:05 | 311,561,047 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,016 | h |
// MyYUVPlayerView.h : CMyYUVPlayerView 类的接口
//
#pragma once
class CMyYUVPlayerView : public CView
{
protected: // 仅从序列化创建
CMyYUVPlayerView();
DECLARE_DYNCREATE(CMyYUVPlayerView)
// 特性
public:
CMyYUVPlayerDoc* GetDocument() const;
// 操作
public:
// 重写
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
virtu... | [
"漆腺腺@DESKTOP-TJG03EH"
] | 漆腺腺@DESKTOP-TJG03EH |
504fb68a5519529b6f482229afee2a26facb1ef7 | 409305771cc048a29ddd7e2170feefd3cf3d1ac6 | /calendar/demos/lec6-string.cpp | e440fc28fecc5458cd0ef118ce4e0bc6cdeb7620 | [] | no_license | wkiri/cs161-website | 84842a4ec91e21136ba065566ed1fc588a45c810 | f1190dc8c8468cdfecaf834570a6a9ccdeffbf22 | refs/heads/master | 2020-12-03T09:52:42.187475 | 2020-03-13T23:07:20 | 2020-03-13T23:07:20 | 231,273,087 | 0 | 5 | null | 2020-02-06T06:07:54 | 2020-01-01T23:00:04 | HTML | UTF-8 | C++ | false | false | 592 | cpp | /*
* CS 161-020, Lecture 6, Winter 2020
* Example of use of strings
* Author: Kiri Wagstaff
* Date: January 17, 2020
*/
#include <iostream>
#include <string> /* include to allow strings to be used */
using namespace std;
int main()
{
string favorite_color = "red";
/* Query the user */
cout << "What is y... | [
"wkiri@yahoo.com"
] | wkiri@yahoo.com |
810604c3c3b43cf45f7fecbf5ded8d9cd6768354 | ea89955e343ced5e705b4a338039e658a4ba67cb | /Session14-RaveGun/Interface/PlayerOverlayHealth.h | e10180d4b49ce78f1ed4c5c19cee99a02fbda77c | [] | no_license | kennethdmiller3/videoventure | 775ce24ee4aebe3dfc65876a3fc9abb93f29b51d | 7182b78fde61421c48abc679ef6f2992e740d678 | refs/heads/master | 2021-06-03T19:26:26.704306 | 2020-07-25T05:37:02 | 2020-07-25T05:37:02 | 32,195,803 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | h | #pragma once
#include "Overlay.h"
class PlayerOverlayHealth : public Overlay
{
public:
// fill values
float fill;
// drain values
float drain;
float draindelay;
// flash values
struct Flash
{
float left;
float right;
float fade;
};
Flash flash[16];
int flashcount;
// pulse... | [
"kennethdmiller3@44a3119c-8d4d-0410-be80-6906e8c8b632"
] | kennethdmiller3@44a3119c-8d4d-0410-be80-6906e8c8b632 |
9da0ce706e4861395a5e3f8d06b2dd560f513187 | 82fb4b3a5bd3c47603ab97144815643ff2e92610 | /C++/345. Reverse Vowels of a String/solution.h | 92e7e8021eaf5295f25dc2736f40d0c4c85053da | [
"MIT"
] | permissive | wenqf11/LeetCode | a0f267f21193c1c9710ba4d570ae39f7467afac8 | 27b464044ecca8933127d1e82fa4973318d7c404 | refs/heads/master | 2020-04-18T02:59:01.024339 | 2017-10-10T03:06:28 | 2017-10-10T03:06:28 | 67,712,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | h | #pragma once
#include <vector>
#include <queue>
#include <string>
#include <climits>
#include <algorithm>
#include <cmath>
#include <set>
using namespace std;
class Solution {
public:
string reverseVowels(string s) {
char a[10] = {'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'} ;
set<char> m(a, ... | [
"qingfu.wen@gmail.com"
] | qingfu.wen@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.