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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
058aa271204f7e79087062f22253c4ffbecd66cf | 639611e6068b464800a1d4cfb1e5d3b5b66cbedb | /ccfcsp/最大波动.cpp | 2dbbc938109b9212c760ce88579df5654dcc6420 | [] | no_license | linna1998/ccfcsp | 6460d20e391b48132b19a113902ccd502e2cc1f5 | e8360b1730701b5a350949603c1bd267e9875a41 | refs/heads/master | 2021-08-23T01:53:50.028413 | 2017-12-02T09:29:43 | 2017-12-02T09:29:43 | 111,874,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | //// 201609-1
//#include <iostream>
//#include <algorithm>
//using namespace std;
//
//int main()
//{
// int n = 0;
// int price[1010] = { 0 };
// int result = 0;
// cin >> n;
// for (int i = 0; i < n; i++)
// {
// cin >> price[i];
// if (i >= 1)
// result = max(result, abs(price[i] - price[i - 1]));
// }
// cout <... | [
"1500012782@pku.edu.cn"
] | 1500012782@pku.edu.cn |
b945843625b610bb967d971101a102d12d862f2a | b9606c302edeb76b52ab22bdccd596d9f7a94209 | /modules/task_1/andronov_m_min_column_matrix/min_column_matrix.h | a3f5c96c057360c896e168a0e357b7d99a1e8d50 | [] | no_license | DrXlor/pp_2019_autumn | 31f68a32f2fc334f4ce534161fb32c8cb70baf1c | e01960c714ad1e86d68cbf3be551741106dc908d | refs/heads/master | 2020-09-20T11:56:11.773825 | 2019-11-26T09:00:15 | 2019-11-26T09:00:15 | 224,469,332 | 2 | 0 | null | 2019-11-27T16:11:27 | 2019-11-27T16:11:26 | null | UTF-8 | C++ | false | false | 614 | h | // Copyright 2019 Andronov Maxim
#ifndef MODULES_TASK_1_ANDRONOV_M_MIN_COLUMN_MATRIX_MIN_COLUMN_MATRIX_H_
#define MODULES_TASK_1_ANDRONOV_M_MIN_COLUMN_MATRIX_MIN_COLUMN_MATRIX_H_
#include <vector>
std::vector <int> GetRandomMatrix(int rows, int column);
std::vector <int> GetTransposeMatrix(std::vector <int> Matrix, ... | [
"nesoldr@gmail.com"
] | nesoldr@gmail.com |
14ca7ea9bface10bc3b1ba019c420c040e9394f3 | 8ff519bda5c076993c15cea4932f4fab72ea65ce | /Source/Word.cpp | 6c08bd47ee1c520852d55824a00acb5a02fc79e2 | [] | no_license | williamtwilson/mix-tool | 66bac2214723215c5073b15f994c81af786ec635 | 852fbc9e712b7656d4de7f3a83247c145710efc5 | refs/heads/master | 2021-01-22T06:14:31.350821 | 2017-06-10T17:02:01 | 2017-06-10T17:02:01 | 81,748,805 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | cpp | #include <iostream>
#include <sstream>
#include "Word.hpp"
Word::Word(): s(Sign::positive), fields(std::array<Byte, 5>()) {}
Word::Word(Sign sign, Byte a, Byte b, Byte c, Byte d, Byte e): s(sign), fields(std::array<Byte, 5>()) {
s = sign;
fields.at(0) = a;
fields.at(1) = b;
fields.at(2) = c;
fiel... | [
"will@letote.com"
] | will@letote.com |
ee3df93b46f4b3bcc2558ab3ef2fab7e5c64b5e5 | e9d40abc082227c95e33e0360a48dc198886c76a | /utils.cpp | 6393931cc1b2c04981a757ac1fbe955ee13be0c3 | [] | no_license | pyfon/httpserver | debb3bb75a7f757ffccdbdf26b16b958ea7bd06c | 4aae270150bb42087382a0f08ebd13d3cf09028d | refs/heads/main | 2023-08-18T01:40:40.124203 | 2021-10-14T21:28:40 | 2021-10-14T21:28:40 | 415,386,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,859 | cpp | #include "http.h"
#include <algorithm>
#include <cctype>
#include <chrono> // chrono::system_clock
#include <ctime> // localtime
#include <sstream> // stringstream
#include <iomanip> // put_time
// Splitline
std::vector<std::string> splitline(const std::string& line, const std::string& delim) {
size_t pos_start... | [
"nathan@weetman.net"
] | nathan@weetman.net |
a151acaf79a02aadc0d16b0ed2900497dcf9aa63 | 0dca3325c194509a48d0c4056909175d6c29f7bc | /live/src/model/DescribeLiveAudioAuditNotifyConfigRequest.cc | 88a1a662272677aca819e353363599be85754008 | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"13862149+AxiosCros@users.noreply.github.com"
] | 13862149+AxiosCros@users.noreply.github.com |
ca6c44910ba920dbcaa8ab6a6765b93e57f92c62 | e9a647f07a99bdf1d122edc4e24371ffbb91f256 | /linkedDataStructures/stack.h | 89494fd9428d0494950ee2e93f665252aa797169 | [] | no_license | brriann/cpp | c691f9cb38166d6d109e8056f18ee47983c2c1e0 | 37e7e3eaa215e6ca0ae0cea1a307e4b2443a2d98 | refs/heads/master | 2023-07-06T17:08:35.936922 | 2021-08-06T00:28:35 | 2021-08-06T00:28:35 | 295,617,371 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 866 | h | #ifndef stack_h
#define stack_h
namespace StackBfost
{
template <class T>
class Node
{
public:
Node(const T &theData, Node<T> *theLink) : data(theData), link(theLink) {}
Node<T> *getLink() const { return link; }
const T getData() const { return data; }
void s... | [
"brriann@gmail.com"
] | brriann@gmail.com |
9a57271e5ad13efb0b19b72b349f4e529f00c733 | c8d2108e58b411cd50658c618d2a30d99df9357d | /DnCNN.cpp | 210ffcb659a1d433eb0d982e4f09f5684eb5a04d | [] | no_license | mhli-fduhit/dncnn | 4d4e40d07683d8c3d257278ef583ed27a1fae44a | 0588d0d1a91a381a025550676ba45aae4832511d | refs/heads/main | 2023-06-27T01:55:31.852186 | 2021-07-26T08:55:15 | 2021-07-26T08:55:15 | 389,568,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,938 | cpp | #include "DnCNN.h"
void DnCNN(
hls::stream<float>& input_img,
hls::stream<AXI_datatype_O>& output_stream,
hls::stream<float>& weight_stream,
hls::stream<int>& control
)
{
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE axis register both port=output_stream
#pragma HLS INTERFACE axis register ... | [
"1464169134@qq.com"
] | 1464169134@qq.com |
e552850224123806b11d91487607dbcd05b57cc6 | 1644ef09ef48aaa4f1b87ad115596d0789085d58 | /MyExercises/c++primer/5.2num_test.cpp | 757ab1fe68f9d97bc057d98aa801f3ef07798833 | [
"Apache-2.0"
] | permissive | smilliy/fairy | 4ed7ec0ab097017bddcf5a1162b36f4dbd8a6691 | c104beb35d2329787b3264a9102c44b2bafb973f | refs/heads/master | 2021-05-23T01:59:20.748129 | 2020-04-25T08:43:08 | 2020-04-25T08:43:08 | 253,183,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 353 | cpp | // num_test.cpp -- use numeric test in for loop
#include <iostream>
int main()
{
using namespace std;
cout << "Enter the starting countdown value: ";
int limit;
cin >> limit;
int i;
for(i = limit; i; i--) // quits when i is 0
cout << "i = " << i << "\n";
cout << "Done now that i =... | [
"dongxiao_7@163.com"
] | dongxiao_7@163.com |
cd5c1ab142d776b139e3036d5abddb5655d22202 | ee10aab12245b399d0eb560515cb8d10fb9b3ce5 | /Kompozycja/Kompozycja/FuelType2FuelLoad.cpp | c0d1df75e7b286e5588175d6038d8a442a64bcfb | [
"MIT"
] | permissive | rybomar/Kompozycja | 30cb2bd69618d2a1a09455ae2eb1df96bce64412 | bd03ea18f64bc5d0c504360be1ad0e9f0b190a62 | refs/heads/master | 2020-12-23T01:28:17.271446 | 2020-01-29T13:39:07 | 2020-01-29T13:39:07 | 236,983,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | //#include "Images.h"
//using namespace std;
//
//int main(int argc, char * argv[]){
//
// if(argc != 3){
// cout << "\npathToFuelType.tif resultPathFuelLoad.tif";
// return 0;
// }
//
// GDALAllRegister();
// Images ims = Images();
//
// ims.addBand(argv[1]);
// ims.convertFuelType2FuelLoad(argv[2]);
// cout << "\... | [
"rybomar@gmail.com"
] | rybomar@gmail.com |
a2717826b5d4eb4bc57b1e8ecc09bb4264a69a07 | 29f02cc9b81f040e38f2493f85cbbe6138fe5222 | /voxy-lady.cpp | d6c1c180d1b81d214520c4a7bbca508e6b0b8926 | [
"MIT"
] | permissive | BYossarian/voxy-lady | 300096685f488e80682dae3b6609f9e9affd6780 | eb1c82296bff4ea41b2cc9f3338ae8eeb9d3469b | refs/heads/master | 2020-03-29T14:27:45.575228 | 2018-09-30T13:24:02 | 2018-09-30T13:24:02 | 150,018,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,977 | cpp |
#include <iostream>
#include <string>
#include <vector>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "./libs/window.h"
#include "./libs/camera.h"
#include "./libs/shader.h"
#include "./libs/texture-atlas.h"
#include "./libs/read-file.h"
#inclu... | [
"benpeterjackson@gmail.com"
] | benpeterjackson@gmail.com |
4a6d52e6d38acc36fde74f4663c6568b10c92e41 | 9583486275a4c8dd59c63ff37e9075e4b0651a6e | /Bibliotekum_Ultimatum/Graphics/OpenGL/Renderers/LightManager_Shaders/shaders.hpp | 3ab203728bddea6272c6952294ed6543d71b644f | [] | no_license | luzny274/Bibliotekum_Ultimatum | 1eff050e2f573249f9c7c2de4e4d07cf96b15bfc | c4c3a54e70578a2f26f58f951e919f2e169aaeac | refs/heads/master | 2021-01-03T14:06:32.674886 | 2020-10-05T10:04:54 | 2020-10-05T10:04:54 | 240,097,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | hpp | #ifndef BU_LIGHT_MANAGER_SHADERS
#define BU_LIGHT_MANAGER_SHADERS
#include "DirectionalShader.cpp"
#include "PointShader.cpp"
#include "SpotShader.cpp"
#endif | [
"luzny274@gmail.com"
] | luzny274@gmail.com |
8251877908bbda7bb44cacc48981bec1dae172fd | 63afa8aa1366a62121ee0b7d2a49c6eaad5d43ad | /Homework 1/src/ReservationSystem.cpp | ed4af30edfaf689898ac738b7a142ecdf1b5633d | [] | no_license | ahmetbatuorhan/Bilkent-University-CS201-Homeworks | a958102d62ab352a133415dc9d08b15bc5d90638 | c59b4bc4976616ec23b6e21b558bfe1cefd4445b | refs/heads/master | 2021-01-11T13:43:14.043562 | 2017-06-22T08:59:54 | 2017-06-22T08:59:54 | 95,095,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,461 | cpp | #include "ReservationSystem.h"
#include "Flight.h"
#include "Reservation.h"
#include <iostream>
#include <string>
/*
**
** Name: Ahmet Batu
** Surname : Orhan
** ID: 21402365
**
*/
using namespace std;
// CONSTRUCTORS
ReservationSystem::ReservationSystem()
{
allFlights = 0;
allReservation... | [
"noreply@github.com"
] | ahmetbatuorhan.noreply@github.com |
c55b6083634fa156b573290480da40635f50d36a | bd3cef6df6a6cc28af443752963560d059d4545f | /kactl/stress-tests/various/FastInput.cpp | 5c1f8d24a333d021b72351ccec5a390707e9e146 | [
"CC0-1.0",
"MIT"
] | permissive | Mayur1011/CodeBook | fe5581b50d3d7bcce5f85013db20c2b749186913 | 6bb5ffe6299c79a364cfa84d28520a1b3b5e4350 | refs/heads/master | 2023-08-29T11:08:24.307740 | 2021-11-09T14:28:59 | 2021-11-09T14:28:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | cpp | #include "../utilities/template.h"
#include "../../content/various/FastInput.h"
#include <unistd.h>
constexpr int BUF_SIZE = sizeof(gc.buf);
string tempdirname;
string tempfilename;
void test(const string& s, vi ints = {}) {
gc.bc = gc.be = 0;
ofstream fout(tempfilename);
fout << s;
fout.close();
FILE* ret = f... | [
"navneel.singhal@ymail.com"
] | navneel.singhal@ymail.com |
ee044e60371f2785f2b0449964b17b7b890cacc4 | 513ccdcccc2f6a85a3cffc9f36c7cecc267ed4d5 | /src/EfficiencyTable.cc | 9603a6e8887392154262fb1e0a8b20b92b2ebe46 | [] | no_license | sleontsi/ZJpsill | 3b3389eed8b119cf920811e49106cd625848dc38 | a6e8867fba4782e6faa98069a3489ce418294316 | refs/heads/master | 2021-01-10T03:22:35.057605 | 2015-12-11T09:21:30 | 2015-12-11T09:21:30 | 45,552,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,939 | cc | #include "ZFinder/Event/interface/EfficiencyTable.h"
namespace zf {
EfficiencyTable::EfficiencyTable() {
// Do nothing
}
void EfficiencyTable::AddEfficiency(
const double PT_MIN,
const double PT_MAX,
const double ETA_MIN,
const double ETA_MAX,
... | [
"sleontsi@cern.ch"
] | sleontsi@cern.ch |
0aa16b401d0ae159b597515545f04e57f2d72ea6 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/PolicyConditionInPolicyRepository/UNIX_PolicyConditionInPolicyRepository_SOLARIS.hxx | 92b6e5d979c98946dbe61cf0257381089ba5d809 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | hxx | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
2ec24b04b59e5bfe561b24fbf248e407a3234dfd | e21889d3185505c6fb29d8abdfc2b79f10912f8f | /src/utility/files.cpp | adecb39d485a47894e280285236ea34da84c8dd6 | [] | no_license | CallumCarmicheal/JS_CPP_Scripting | fc6809848afcd9e15b4fe7a6c1cfb619b0a14593 | 0deea414332b7a5aa4b8acfbf7360974b483f08a | refs/heads/master | 2020-07-10T13:01:24.787702 | 2019-08-25T08:51:02 | 2019-08-25T08:51:02 | 204,268,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,954 | cpp | #include "files.h"
#include <string>
#include <stdio.h>
#include <fstream>
#include <streambuf>
#ifdef __WINDOWS__
#include <windows.h>
#include <stdlib.h>
#include <shlwapi.h>
#include <atlstr.h>
#define FILE_SEP "\\"
#endif
#ifdef _WIN32
#include <io.h>
#define access _access_s
#else
#include <... | [
"callumcarmicheal@gmail.com"
] | callumcarmicheal@gmail.com |
5050e4d774939ea3382fbc79f92de5cae55275ba | 02fdd43052311bc5934154920cbdebc10e52c7df | /src/qt/qrcodedialog.cpp | 8789fbad9041b8bd5ee758fca133102e938e4d4c | [
"MIT"
] | permissive | delmibarbosa/BitBlocks_old | 8f61fba65c19e0f06119d1eca64fbacc9e8ed008 | d6386d7550da5658432855bd3f71a180faffee89 | refs/heads/master | 2020-04-05T19:22:17.801546 | 2018-08-13T00:57:59 | 2018-08-13T00:57:59 | 157,131,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,312 | cpp | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) :
... | [
"root@vultr.guest"
] | root@vultr.guest |
5b557f18ceffd641dd49371e68ce5c9b68f7155e | f49fa0a4a14a20bf56b010a6a206ec069ef69c0d | /ch08-functions/ex-01/calculator.cpp | ca0d097f4e717232f6b4b9b195b47ddf484f1a97 | [] | no_license | yuichi-morisaki/cpp-p3 | ff29d7081e9cecfd0e4e3e6117f7f731de79ed11 | dc573b0660d675b17a267cac76abcea470d0d0e2 | refs/heads/main | 2023-01-30T01:20:13.768034 | 2020-12-15T03:28:00 | 2020-12-15T03:28:00 | 314,279,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,717 | cpp | #include "error.h"
#include "token.h"
#include <cmath>
#include <iostream>
#include <stdexcept>
using namespace std;
double expression(Token_stream& ts);
double primary(Token_stream& ts)
{
Token t = ts.get();
switch (t.kind) {
case number:
return t.value;
case '+':
re... | [
"yuichi.morisaki@gmail.com"
] | yuichi.morisaki@gmail.com |
a1164e26ae81f38ed2540f0ef54e7d8c4e6084bd | 27991e51eff1e9c6d7ed755c8543d83171c864b5 | /select_sort_omp.cpp | 6d7722b2dfd063efaf6e22c18defc28097cd4e3e | [] | no_license | Brown2Fox/selection_sort_omp | cd86815baff062120d5f482945f2b6ef7c72bc12 | a58b266dae04accdb36aa455da4f620113bbdc22 | refs/heads/master | 2020-03-11T21:32:31.908055 | 2018-05-07T07:57:28 | 2018-05-07T07:57:28 | 130,268,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,187 | cpp | /**
*
*
*/
#include <omp.h>
#include <array>
#include <vector>
#include <fstream>
#include <cassert>
#include <iostream>
#include <unistd.h>
#include <sstream>
#include <limits>
#include <iterator>
using std::vector;
using std::string;
using std::cout;
using std::endl;
namespace pr {
s... | [
"a.a.m.incorp@yandex.ru"
] | a.a.m.incorp@yandex.ru |
3dc6b5c0d6926c7b4712fa5e703de05391757701 | 71e889eb76f81dcfb8161f352a84d15a9c3e5e3f | /Slimo v0.0.1/libs/cocos2dx/include/CCDirector.h | 819c5c2c20393a7c1d259d0285f2983e4929d48a | [] | no_license | PojohutGames/PojohutGames-Slimo-development | dc30bb72a078a1115f92b149aff14a5845c8896d | 9990b14eb5903bd2c366ef84caff431307a27755 | refs/heads/master | 2021-01-19T13:53:01.775911 | 2012-08-15T11:30:12 | 2012-08-15T11:30:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,648 | h | /****************************************************************************
Copyright (c) 2010-2011 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software ... | [
"s110022@tenison.cahtholic.edu.au"
] | s110022@tenison.cahtholic.edu.au |
363a6cca1f22357f8f98881f6cc53c8f7ac07d0d | 9fa9bd45ddec5300627db10839e6ccdd3c5ef85b | /hellosource.cpp | b083704f6405fd8c377d10cdb74f3925bc52c1f7 | [] | no_license | khanhnamle1994/c-plus-plus | 06a1c013802ad7e389900ca2f91e735a348da9b2 | 3892ba95fb9498546578ece7e47f5a966ab72da5 | refs/heads/master | 2020-12-02T19:45:38.111981 | 2017-07-06T17:43:33 | 2017-07-06T17:43:33 | 96,386,086 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | #include <iostream>
int main() {
std::cout << "Hello World!\n";
std::cin.ignore();
return 0;
}
| [
"le_j6@denison.edu"
] | le_j6@denison.edu |
01900e1d512b3022e9b4d976bb5c9f32db5e0d01 | 09a100f0f4225a5b398d9c109bc8b3382c2971d1 | /ch15/try_exception.cpp | 7cff6b8dadbdcb7ae1e8d9344196742b89a90d2d | [] | no_license | zsllsz2022/cppPrimerPlus | c0cee25d6ff6062a89fbdc73877d64f1f9f04e26 | bc6eb3adc8dbbafc9830552c70c462ab321285f7 | refs/heads/master | 2020-05-07T21:21:14.363441 | 2019-04-27T05:25:20 | 2019-04-27T05:25:20 | 180,901,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | #include <iostream>
#include <cstdlib>
int main(int argc,char** argv){
if(argc != 3){
std::cout << "usage: ./a.out number1 number2" << std::endl;
return 0;
}
double a = std::atof(argv[1]);
double b = std::atof(argv[2]);
try{
if(a == -b)
throw "error:number1 + number2 == 0";
std::cout << (a * b) / (a... | [
"david@kf-robotics.com"
] | david@kf-robotics.com |
fcb4a59e04424355510f29572715c699fbc3f0a3 | 45d8a9bbd68368b61af9e0957c4aec9aa9bcdb64 | /ch3/BulidingEscape/Source/BulidingEscape/OpenDoor.h | cfc44e84071d95de1d1b660f0f208fa35e891a0b | [] | no_license | tuffinmuffin/UnrealCppStuff | 9d49bf5f4d089e3342b890a456f7932b53820cda | ab56e73834be5d08407012c361279e826829760d | refs/heads/master | 2020-04-14T04:05:11.719710 | 2020-01-24T05:53:19 | 2020-01-24T05:53:19 | 163,625,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | h | // Its a demo app.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "Engine/TriggerVolume.h"
#include "OpenDoor.generated.h"
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FDoorEvent);
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class BULIDINGESCAPE_API UOpenDoor : p... | [
"tuffinmuffin@gmail.com"
] | tuffinmuffin@gmail.com |
920aed63c6f1300c8075cda59058b285a4d0a28f | 964976d9ed6ba7948bbd44a307494e11d00ee568 | /1.4 Conditional_operator/task_11.cpp | 3d26f6ae080efd43e3a202233cb88fde73144080 | [] | no_license | inpicksys/stepik_yandex_Introduction_to_Programming_Cpp | cb021e20330bd195fbaff85d16f15d37c79039f7 | 417a6d01f48fa4536a946d7edef62963289ce6cf | refs/heads/master | 2023-02-05T00:11:08.681542 | 2020-12-20T14:33:58 | 2020-12-20T14:33:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | cpp | /*
Шоколадка имеет вид прямоугольника, разделенного на N×M долек.
Шоколадку можно один раз разломить по прямой на две части.
Определите, можно ли таким образом отломить от шоколадки ровно K долек.
Формат входных данных
Программа получает на вход три числа: N, M, K
Формат выходных данных
Программа должна вывести одно ... | [
"62078213+MisterZurg@users.noreply.github.com"
] | 62078213+MisterZurg@users.noreply.github.com |
3672c3e7e4430ca55ddde3d2390e82ff030b1528 | 30ab959f8d842561576b5af0e97a6aa92473601d | /source/io.cpp | 3734dd8d4b3eb34e8d39f519f79c370fe413e9f2 | [] | no_license | lotuskip/kaaliisi | e0b83a54499274a99004bd0478afd4e1702d803b | cc36e59f4d3f9d142c94a45a9a90d5e6dadab138 | refs/heads/master | 2020-12-24T17:26:46.985144 | 2012-08-31T15:34:06 | 2012-08-31T15:34:06 | 905,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,517 | cpp | #include "io.h"
#include <ncurses.h>
#include <iostream>
#include <cstdlib>
namespace
{
using namespace std;
bool may_clear_messages = false;
string msg_buffer = "";
const string vovels = "aeiouAEIOU";
}
bool IO::init()
{
if(!initscr())
{
cout << endl << "Failed to init ncurses screen!" << endl << endl;
ret... | [
"onnir@iki.fi"
] | onnir@iki.fi |
2c480f8fea8bb4bac88e24343f71440b678cdca9 | 7dbfb0cfe45f8d74837fb9141c11afa2e88b1352 | /src/GUI/line.h | d0fc330dc7548f18a923dc9352089acba15132f1 | [] | no_license | Kennnnnnji/intersect-plus | 4a0dd0b0aeb1bfe70be106e9ae0fa7214d90f3f7 | 70ed370f9e6788b56730a18f9dbd420973a32998 | refs/heads/master | 2021-04-20T09:35:15.502062 | 2020-03-24T10:17:27 | 2020-03-24T10:17:27 | 249,671,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | h | #pragma once
#include <iostream>
#include "point.h"
#include "shape.h"
class Line : public Shape {
public:
Point A, B, V, oA, oB;
double k = 0, b = 0, vertical_x = 0;
bool vertical = false;
enum class LineType { Line, Ray, Segment };
LineType lineType = LineType::Line;
Line();
Line(int x1, int ... | [
"kenwong1999@163.com"
] | kenwong1999@163.com |
1194d8cb427545c8667186b69592e5457c3f2df0 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItemStructure_SleepingBag_Base_classes.hpp | 43e972ef9258690f113666ad93ae61f40baa7a34 | [
"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 | 910 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemStructure_SleepingBag_Base_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
88ca691ce12c85d973be0cc05fb20faab219af39 | e4b014b164a85c478180cc0911edd958ff7e6974 | /include/ui/UITextBlock.h | 92190ed8e17eea9add21b2f67e25e884e719890e | [] | no_license | epicabsol/PolarVortex | 68df015638d6982281bb9d9cc591484d4c5af214 | 1b654e3ce33496fb15d91a28e93c2daa1c122fe5 | refs/heads/master | 2023-03-17T20:35:35.195953 | 2021-03-14T09:32:38 | 2021-03-14T09:32:38 | 287,441,538 | 0 | 0 | null | 2021-02-28T02:18:49 | 2020-08-14T04:16:01 | C | UTF-8 | C++ | false | false | 897 | h | #pragma once
#include "UIElement.h"
class SpriteFont;
class UITextBlock : public UIElement {
private:
const SpriteFont* _Font;
char _Text[255];
float _Scale;
protected:
virtual Vector2 MeasureContent() const override;
public:
inline UITextBlock(Allocator& allocator, const SpriteFont* font) : UI... | [
"pokeboygarcia@gmail.com"
] | pokeboygarcia@gmail.com |
712db764d49aafab1433f1f478391eae80497d2e | 13f0fdd817bff1580ff0970a9039f858113bb89b | /src/libglsloptimizer/glsl/link_uniform_block_active_visitor.cpp | c66b49cc610db31bdad5e43c14146d55afbefaa1 | [
"MIT"
] | permissive | kitten/reason-glsl-optimizer | f28a026f2a75f0ef14b8e99070c7be0408bdc49e | d879501acdc4f877208e2dec34a158a88a37bfc4 | refs/heads/master | 2020-06-17T05:29:01.367162 | 2019-07-15T14:47:09 | 2019-07-15T14:47:09 | 195,813,299 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,376 | cpp | /*
* Copyright © 2013 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | [
"phil@kitten.sh"
] | phil@kitten.sh |
72588b1b8da9839a90eddb0de90f2fb62278c823 | 1d9b49a1a4face98afc6630dd9268cbec15f96a1 | /plotter/d0_corr_plotter.h | f05167d74794c040f873a9f2bf565d9eaf0e1ad5 | [] | no_license | amcw7777/auau200GeVD0Correlation | 9e1405fa9dd8af3db56c5d3999d68fc80db573c3 | cbe11b5b81f2d43d52e4072e3e979355efea2f75 | refs/heads/master | 2020-12-24T05:48:54.755093 | 2016-08-18T13:25:17 | 2016-08-18T13:25:17 | 62,063,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | h | /***********************************************************************************
* *
* * d0jet-corr-plotter
* *
* * Author: Leon He
* ***********************************************************************************
* *
* * Description:
* *
* ****************************************************... | [
"soulhl@gmail.com"
] | soulhl@gmail.com |
796b2fd04c4b1e0bee1a20745750a7fa5ac57d15 | e576bc3bab9451ce24facb09465e931e21bcc2ab | /practice3/tcp_client.hpp | 4a60013715ef79e2e82745b1a0301f88c8c80f3e | [] | no_license | Cassie866/Linux-C-practice | fc64d01e1cdba1cfafee02bc60e18c0937fedd18 | 63b11ec3e2e50604c3ad317ead8fff5801092f8b | refs/heads/master | 2020-09-04T20:20:24.581947 | 2020-03-24T03:42:36 | 2020-03-24T03:42:36 | 219,881,569 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | hpp | #pragma once
#include "tcp_socket.hpp"
class TcpClient
{
public:
TcpClient(const std::string& ip, uint16_t port) : ip_(ip), port_(port)
{
// [注意!!] 需要先创建好 socket
sock_.Socket();
}
~TcpClient()
{
sock_.Close();
}
bool Connect()
{
return sock_.Connect(ip_, port_);
}
bool Re... | [
"cassie866@163.com"
] | cassie866@163.com |
d0edbf6b9560c73e05092b050616d4fe364ecab2 | c41b3f4d3b0c8a1098faa739f94e406b52661fed | /find the only setbit.cpp | badae7177026c273fb3b66f37a448094c01b2758 | [] | no_license | sukhpreet-singh1/Algorithms | 33b917bfb2ea7ef1c4279ff691744cdbfacc6ca0 | 65891610dc5bb677c8cce0bd7753efee483792ce | refs/heads/master | 2023-04-28T23:28:21.816836 | 2021-05-25T16:01:17 | 2021-05-25T16:01:17 | 343,027,716 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | int findPosition(int N) {
// code here
if(N==0)
return -1;
else if(ceil(log2(N))!=floor(log2(N)))
return -1;
else
return log2(N)+1;
}
| [
"493_bt19@iiitkalyani.ac.in"
] | 493_bt19@iiitkalyani.ac.in |
9f99d2184f902c71d94540800228534e4368b286 | 2281ed576a752605c855025ee862fddfffd8a036 | /CPP_Basics/projects/Comm/Interface/Connection.h | 4498dc143b61c558cab1c95152148aad1e3c1f23 | [
"BSL-1.0"
] | permissive | FieryMonolith/historical | 5e7b8eae22274a8a86e9c321be01f9d2bb05110b | 11a688c09f436abfdd13341f3078833e412245f0 | refs/heads/master | 2021-01-05T04:18:21.798572 | 2020-02-17T07:21:33 | 2020-02-17T07:21:33 | 240,873,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,637 | h | /*
* Copyright 2006 Jason Stredwick.
* Distributed under the Boost Software License, Version 1.0. (See
* LICENSE information at the bottom of this file or the copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef __Comm_Interface_Connection_h__
#define __Comm_Interface_Connection_h__
/*!
*
* \class Con... | [
"jason.stredwick@gmail.com"
] | jason.stredwick@gmail.com |
5e43c9153f936d377d32c83afda0cc64ea6ff6bc | 0370b81e9ec3f1b1d4bf0da224a613ff576e8dd4 | /Not_Classified/HDU_3966.cpp | c9abc3bef7bb597dbd443a8f7a33bd72688acb90 | [] | no_license | Rolight/ACM_ICPC | c511bc58ac5038ca521bb500a40fcbdf5468832d | 6208a20ea66a42b4a06249d97494c77f55121847 | refs/heads/master | 2021-01-10T22:08:48.336023 | 2015-07-17T21:46:48 | 2015-07-17T21:46:48 | 27,808,805 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,432 | cpp | #pragma comment(linker, "/STACK:1024000000,1024000000")
#include <cstdio>
#include <cstring>
#include <algorithm>
#define lson rt << 1, l, mid
#define rson rt << 1 | 1, mid + 1, r
using namespace std;
const int maxn = 5e4 + 10;
int head[maxn], nxt[maxn << 1], v[maxn << 1], ecnt;
int N, M, P, sval[maxn], tcnt, Rank[... | [
"flsnnx@gmail.com"
] | flsnnx@gmail.com |
2e51f53f9e2312ca3c3dae759270d6f3cb73f5e4 | ca3bb6cd5cc3e0de2b7f90300e5ad21900b062ae | /TestDesignMode/composemode.hpp | 55202c3bbfdc387af1ae1b0c1d1aac2d78d17e38 | [] | no_license | xiangshiying/first-protect | f05935c84bfe336b4bf4ad42acfc6d0b18bdd879 | 1e81ef7968671201872dc78e0e177bd889fe1d63 | refs/heads/master | 2020-03-16T09:50:21.471026 | 2020-02-23T03:14:46 | 2020-02-23T03:14:46 | 132,623,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | hpp | #ifndef COMPOSEMODE_HPP
#define COMPOSEMODE_HPP
#include <iostream>
using namespace std;
#include <string>
#include <map>
#include <list>
#include <algorithm>
namespace composemode {
class IFiles
{
public:
virtual void showName() = 0;
virtual int addFile(IFiles *name) = 0;
virtual int removeFile(IFile... | [
"18996751282@163.com"
] | 18996751282@163.com |
52070a0fd743d3245e810307ad0d34ff413e9189 | 4c1339a4941c395db5285ffaf5f3ec1c2618f08a | /OutputHeading.cpp | 8d54b25471bfda0f165543c294e4b7638196a536 | [] | no_license | NathanLeelandKnight/CS1B | 9f71979591f405f3dc424944f5a2280c9e58f42c | 28560e3fab69d95e1879265373c87fc7fad3e76e | refs/heads/master | 2020-05-16T23:12:34.601770 | 2019-04-25T04:39:07 | 2019-04-25T04:39:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,087 | cpp | /*************************************************************************
* AUTHOR : Tons
* STUDENT ID : 705556
* ASSIGNMENT # : Saddleback Bank - OOP
* CLASS : CS1B
* SECTION : TTh: 8:00a
* DUE DATE : 12/9/14
*************************************************************************/
#includ... | [
"nathan.leeland.knight@gmail.com"
] | nathan.leeland.knight@gmail.com |
f390ce4df181b426ca88b2509a7fbb3a53b3e453 | b1d2f00bc8da7d79a86fd9f84d7bbbc1def86c8c | /CppPrimer/Chapter_2/2.4.4/2.32.cpp | 3339dba8ceb02379bb1df26acb6a068bc83ae6dc | [] | no_license | BDavidd/CppTraining | 04525f3fd363e170b97ea2db25705802566dd4ad | ecbf5dd5bcbca891b1b2ae7ddbf724bb9c8f5b8c | refs/heads/master | 2020-06-15T13:06:13.212624 | 2019-08-16T15:59:11 | 2019-08-16T15:59:11 | 75,291,828 | 0 | 0 | null | 2018-03-13T14:13:23 | 2016-12-01T12:46:30 | C++ | UTF-8 | C++ | false | false | 145 | cpp | int main()
{
// Initialize p with the address of null, instead of it's value.
int null = 0;
int *p = &null;
return 0;
}
| [
"barzi.david@gmail.com"
] | barzi.david@gmail.com |
bdc75579a417b9722b14739102409e8d96f4b11a | 055d2b0ae6dafb782ba987575b2cb22b6840fd84 | /AsepriteRgbaConvert/blend.cpp | 0f03f2e0b16537b7346705a4d416d9eff831657c | [
"MIT"
] | permissive | Bablawn3d5/aseprite-rgba-converter | c07055cd7004f8e621d72510d90622bb511d4b0a | 9b8ba5e6019f6767b499f94599f8fd8b0a76149b | refs/heads/master | 2020-12-29T00:59:42.912961 | 2016-11-02T03:33:21 | 2016-11-02T03:33:21 | 67,314,963 | 0 | 0 | null | 2016-10-04T04:52:41 | 2016-09-03T22:45:18 | C++ | UTF-8 | C++ | false | false | 7,885 | cpp | // Aseprite Convert to RGBA library
// Copyright (c) 2016 Bablawn3d5 - <stephen.ma@bablawn.com>
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include "blend.h"
#include <algorithm>
#include <cstdlib>
namespace aseprite {
namespace blend {
using aseprite::d... | [
"tehphen@gmail.com"
] | tehphen@gmail.com |
7ecb18378f87ba39303a04e1090254b47ee82e06 | dd4566b1d49b4fc7d443661b3611fcaa55be5a2b | /IsConnectOutNetCheck/ThreadPool.h | c34cfe206a965e483cca72716732a737b5aa8796 | [] | no_license | yangboduan/IsConnectOutNetCheck | 322ce1d3bb1c2c4b29549b3ed4d2cf0fb6d0d63b | 03d53eb08ee1ba90fb92ee8255a274b20b9b7cdc | refs/heads/master | 2020-06-30T08:06:01.292191 | 2019-08-18T13:45:10 | 2019-08-18T13:45:10 | 200,773,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,334 | h | #pragma once
//ref URL:https://github.com/progschj/ThreadPool
//ref URL:https://blog.csdn.net/caoshangpa/article/details/80374651
#pragma once
#ifndef THREAD_POOL_H
#define THREAD_POOL_H
#include <vector>
#include <queue>
#include <memory>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <futu... | [
"cady@testmail.com"
] | cady@testmail.com |
47ab59a9b4b6ed31e02d15e9c065495ad16826a0 | fd21c4cf7002f3a1a68b28ad810ca491a57878f2 | /SIMPLE_PROGRAMS/src/usercontrol.cpp | f30a63e5d4e66c3462a2c6dcfe4303aa0fee197d | [] | no_license | debaryasaha/VEX_CODE_RESOURCES | af39dcbe41b2835dd44d1efa37845cf69b9e19a0 | 4e47e82972fd5e3f590044debaeafe2c775b6325 | refs/heads/main | 2023-05-29T03:46:04.180892 | 2021-06-16T18:44:35 | 2021-06-16T18:44:35 | 370,525,028 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include "vex.h"
using namespace vex;
using namespace std;
void tank_controls()
{
LeftFrontMotor.spin(vex::directionType::fwd, Controller1.Axis3.value(), vex::velocityUnits::pct);
LeftRearMotor.spin(vex::directionType::fwd, Controller1.Axis3.value(), vex::velocityUnits::pct);
RightFrontMotor.spin(vex::directio... | [
"debarya.saha@gmail.com"
] | debarya.saha@gmail.com |
7015fcd9d7ec5f5481c8b63e754543924b4aa7c1 | 74060cc6c998a226ad4fe9e8ccabff5055fced3f | /apps/synthesizers/midibox_sid_v3/core/components/MbSidMidiVoice.cpp | b48ec8e82931ef5a447ed2d0933b24a9c72d0ff2 | [] | no_license | antichambre/MIOS32 | 897d8bbdf712f8e61ad63ac32c71fe764f2a4283 | e165abe2923674d0d12c1fef888f81919d733a04 | refs/heads/master | 2022-08-06T00:58:47.762241 | 2021-01-24T10:14:38 | 2021-01-24T10:14:38 | 183,661,458 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,159 | cpp | /* -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- */
// $Id: MbSidMidiVoice.cpp 866 2010-01-31 23:31:56Z tk $
/*
* MIDIbox SID MIDI Voice Handlers
*
* ==========================================================================
*
* Copyright (C) 2010 Thorsten Klose (tk@midibox.org)
* Licens... | [
"bdupeyron@gmail.com"
] | bdupeyron@gmail.com |
7296aaea5eb596d5f14382cc0dd6835cfd543058 | 83b63198c8fadf99077731a6f8bc1e21b64ebffd | /tracker/enemySprite.h | 2f651ee3a70d6751616ed0166e7c4e6edb908db5 | [] | no_license | prateeksreedhar/2DGame | 5178dc34dcfd84a0bf51b52e540979ba51d46723 | 370ab6319b8ad2eff9678ecd7d1bedf8552a5a3c | refs/heads/master | 2021-08-30T19:28:18.364850 | 2017-12-19T06:05:32 | 2017-12-19T06:05:32 | 106,236,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | h | #ifndef ENEMYSPRITE__H
#define ENEMYSPRITE__H
#include <string>
#include <iostream>
#include <list>
#include "multisprite.h"
#include "bullet.h"
#include "player.h"
class EnemySprite : public MultiSprite {
public:
EnemySprite(const std::string& n);
EnemySprite(const EnemySprite& s);
virtual void update(Uint32 t... | [
"prateeksreedharbharadwaj@prateeks-mbp.attlocal.net"
] | prateeksreedharbharadwaj@prateeks-mbp.attlocal.net |
8c6b8dc4059d176d144fd74d981f18086c9be1ee | 71ae94b99bf705e095bc5076d6e0eb673b9433f7 | /checkerModule/usbchecker.h | 5cf76479688b8d5129dc9d8f4b8a9e12dd4be091 | [] | no_license | Snsaiu/uosEarse | d193ca7c0af27651ba6e2e6a96ccbe04c0cb36bd | 782670161b7efaabcf0ee56a9bcccbaac29f6de8 | refs/heads/main | 2023-05-01T07:06:27.077319 | 2021-05-15T13:36:17 | 2021-05-15T13:36:17 | 367,636,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | h | #ifndef USBCHECKER_H
#define USBCHECKER_H
#include "checkerdiskabstraction.h"
#include "harddiskmodel.h"
#include"publicuse.h"
#include <vector>
class UsbChecker:public CheckerDiskAbstraction
{
public:
UsbChecker();
vector<HardDiskModel> Check();
vector<HardDiskModel> Filter(vector<HardDiskModel> models);
... | [
"34592712+Snsaiu@users.noreply.github.com"
] | 34592712+Snsaiu@users.noreply.github.com |
d7c2030bbb2ee609fc5198c5bd25ae3dab47f055 | 1660b8303ee8fde7daf6185110faf70c072d698e | /lib/Target/NOPE/NOPETargetMachine.cpp | b2395f7269852427f3afd26dc38d8e2114938144 | [
"NCSA"
] | permissive | hchenji/llvm-nope | f1aa944019bf14c0c4d4644f2a6e9b7ed1151e5b | 816c3a84d8df75e3da093079423e97b9f199c5a9 | refs/heads/master | 2021-01-24T11:05:51.280388 | 2016-10-10T18:46:49 | 2016-10-10T18:46:49 | 70,275,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,663 | cpp | //===-- NOPETargetMachine.cpp - Define TargetMachine for NOPE ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------------... | [
"chenji@ohio.edu"
] | chenji@ohio.edu |
d2f4d105dbbfe1fcd811773c1dca55a88f4471ee | 48a1773110c57d6719ef28f4342c4198c6ebfe9d | /src/Math3D/Vector3.h | 2e0ddcefc37c6f2dafa3e13e8e1ed48bf20e6ff4 | [] | no_license | DennisPP/GremlinsEngine | 1b2d73e72ef81fe52e2dddac887c97a44ac19ded | d587f038891f0f302638e7a7971333449ef5a817 | refs/heads/master | 2020-12-24T11:53:15.363646 | 2016-05-30T06:20:47 | 2016-05-30T06:20:47 | 59,978,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,580 | h | #ifndef __Vector3_H__
#define __Vector3_H__
#include "Math3D.h"
#include "Quaternion.h"
#include <cassert>
class Vector3
{
public:
float x, y, z;
public:
inline Vector3()
{
}
inline Vector3( const float fX, const float fY, const float fZ )
... | [
"dennisredpanda@gmail.com"
] | dennisredpanda@gmail.com |
d084a5916fe496e345de54f6ad735a46af427771 | 7783a00226489cb4c452fc0e5f5d48a00e194499 | /src/qt/openuridialog.cpp | 98d5a7223a54c34515b949f72bb7e2ed9a27d850 | [
"MIT"
] | permissive | exclfork/excl-core | 1bfee5f1676e3eb68f3c8169bbf8ad7295e49569 | 6d8381c1105266265feef2469c06ac46a5d4d58f | refs/heads/master | 2020-05-31T01:22:00.871221 | 2019-10-10T16:47:25 | 2019-10-10T16:47:25 | 190,047,997 | 2 | 8 | MIT | 2019-10-10T16:47:26 | 2019-06-03T17:08:22 | C++ | UTF-8 | C++ | false | false | 1,399 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The EXCL developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "openuridialog.h"
#incl... | [
"bumbacoin@gmail.com"
] | bumbacoin@gmail.com |
4692c4b1027914e442c2496ebf6360da6970e8c7 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/renderer/core/script/script_loader.h | 4eecf66e214474c8aff9de72ba1ea00cd44f2df6 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 8,518 | h | /*
* Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later v... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
d7f2f10f3d9c7f506c0166453b92732a5179856a | 34aa0301b253fde688fc3465b3fa951fb006f125 | /1161CharlyandNito/charlyandnito.cpp | feb8e6e75b24f836839e6bc0b03794d5ac7bb007 | [] | no_license | dcruzp/DiscretaProject | 98fd81eb0c94f604ecdddfd6b355f46593f77d82 | dc5b45f2ec60ac34a2869cf882c4721a57b5a2bb | refs/heads/master | 2023-01-12T21:53:58.693938 | 2020-11-18T10:10:52 | 2020-11-18T10:10:52 | 311,259,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,522 | cpp | #include <bits/stdc++.h>
using namespace std ;
#define MAX 5001 /* aqui defino la mayor cantidad de nodos que puede tener mi grafo */
#define Node pair <int, int> /* esto es para usarlo en la cola de prioridad para el algoritmo de dijksta*/
#define INF 1 << 30 /* aqui defino el infinito para obtener una cota supe... | [
"danieldelacruzprieto@gmail.com"
] | danieldelacruzprieto@gmail.com |
b5039c4a97f4dbb49b6b2127b145cdbd3ec032e8 | eb2cdba3b66a3ced5b94fc6e4b0e4aa678faea01 | /src/graph/dot.cc | 7e9f20a2ea5579dca5274f2ad8f1724b5202367d | [] | no_license | florent-lamiraux/hpp-manipulation | ecc9a278b7891acf0e4a938baa4f3fd6c8beb622 | 7a4c72857d72ad51b76a89f9857516f361bcf608 | refs/heads/master | 2023-07-27T14:05:53.539182 | 2016-03-29T09:18:40 | 2016-03-29T09:18:40 | 58,998,971 | 0 | 2 | null | 2016-05-17T07:10:57 | 2016-05-17T07:10:57 | null | UTF-8 | C++ | false | false | 1,759 | cc | // Copyright (c) 2014, LAAS-CNRS
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
//
// This file is part of hpp-manipulation.
// hpp-manipulation is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation, ei... | [
"jmirabel@laas.fr"
] | jmirabel@laas.fr |
c54996bd591c3fae672938531da9084af8c7ec56 | e1700081b3e9fa1c74e6dd903da767a3fdeca7f5 | /libs/geodata/pointmap/private/geodatapointmap_templatenodemapper.cpp | 2fc84fa45e2fb0c31864d35d406eca467b79b050 | [
"MIT"
] | permissive | i-RIC/prepost-gui | 2fdd727625751e624245c3b9c88ca5aa496674c0 | 8de8a3ef8366adc7d489edcd500a691a44d6fdad | refs/heads/develop_v4 | 2023-08-31T09:10:21.010343 | 2023-08-31T06:54:26 | 2023-08-31T06:54:26 | 67,224,522 | 8 | 12 | MIT | 2023-08-29T23:04:45 | 2016-09-02T13:24:00 | C++ | UTF-8 | C++ | false | false | 5,092 | cpp | #include "geodatapointmap_impl.h"
#include "geodatapointmap_mappingsetting.h"
#include "geodatapointmap_templatenodemapper.h"
#include <guicore/pre/geodata/geodatamappersettingi.h>
#include <guicore/pre/grid/structured2dgrid.h>
#include <misc/doublemappingsetting.h>
#include <misc/mathsupport.h>
namespace {
const do... | [
"kskinoue@gmail.com"
] | kskinoue@gmail.com |
2d2c7d53e459b34bc8203ec64324f8636a9c2425 | 7d84ec691b11f8baee396e63a6423a8469797450 | /BarrilDestroy/Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/UnityEngine.CoreModule.cpp | 87ed186d2186b0377603c13fe9216037de939e66 | [
"MIT"
] | permissive | JVictoe/GameBarrilDestroy | cbe4761411388ef24a467cb98b84f63e4293e372 | f7518a890cb1d5a5723b2a59d4d6d5381d18cede | refs/heads/main | 2023-06-23T23:24:57.691489 | 2021-07-24T01:27:19 | 2021-07-24T01:27:19 | 388,635,091 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,362,674 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R, typename T1, typename T2>
struct VirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, R... | [
"joaojvwwe@gmail.com"
] | joaojvwwe@gmail.com |
c0527a90af8dc4b306b1cd4404d2afadf44383fb | 746d338f4074b39a64c28c38cb5b27b702ef909e | /turtlebot_ws/devel/include/fiducial_slam/AddFiducial.h | bc0ab5d8b74b1e0af0455976a655d8c05fe8023a | [] | no_license | ShutongJIN/turtlebot4landmark | 8795c6f2603392b6a807c731dfa3f4e330696249 | b7828d45e4a9d21d1429e8f8344a544c0d7e750c | refs/heads/master | 2023-05-02T11:49:02.192467 | 2021-05-17T18:54:36 | 2021-05-17T18:54:36 | 344,214,396 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,807 | h | // Generated by gencpp from file fiducial_slam/AddFiducial.msg
// DO NOT EDIT!
#ifndef FIDUCIAL_SLAM_MESSAGE_ADDFIDUCIAL_H
#define FIDUCIAL_SLAM_MESSAGE_ADDFIDUCIAL_H
#include <ros/service_traits.h>
#include <fiducial_slam/AddFiducialRequest.h>
#include <fiducial_slam/AddFiducialResponse.h>
namespace fiducial_sl... | [
"13653629612@163.com"
] | 13653629612@163.com |
a7200c05b3e8c9abf87d38b99c7c3d4f9273e07a | 21d90d06e4edf4df54906653ca892aba6d0d5d42 | /include/C_State.h | 47c984a041c4304aaa6306a8d2953075eccce5ca | [] | no_license | AkaiTobira/WoA2 | 0c923cfeb2e7d1663e68d793153a91ad88f0e681 | 88431cc34e334835f44297a293a5c9432c1e7189 | refs/heads/master | 2021-09-24T21:49:13.447146 | 2018-10-15T08:07:44 | 2018-10-15T08:07:44 | 111,540,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | h | #ifndef C_STATE_H
#define C_STATE_H
enum class EntityState{
Idle,
Walking,
Attacking,
Hurt,
Dying,
END
};
class C_State : public C_Base{
public:
C_State(): C_Base(Component::State){}
void ReadIn(std::stringstream& l_stream){
unsigned int state = 0;
l_stre... | [
"techmaturgia.data@student.uj.edu.pl"
] | techmaturgia.data@student.uj.edu.pl |
81b02f9a7901713511ad5caf1c98612f2351952d | 648986e61be0a581ec80b3b3845a24c5c0e75001 | /Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValuesTable.cpp | 3afb956184e14d551c06d5bca6e1087972bebbee | [] | no_license | alexveligurskiy/Unity3d-QuizStrategy | dd24377a3da853ea3c42c806a4d8933c3b0cc58d | efffc3346539fd0d4c18c40e77cad0f9f4aafb55 | refs/heads/master | 2020-03-24T13:29:45.971343 | 2018-08-31T14:45:08 | 2018-08-31T14:45:08 | 142,744,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326,282 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern const int32_t ... | [
"alexveligurskiy@gmail.com"
] | alexveligurskiy@gmail.com |
21b45aed033c010a0df7b411fdf9b03aba14d7a0 | e08176dd7eeef02e67f33104d4eb6ce61440f68c | /message/cpp/ErrorCode.pb.h | 74ad848a4c1f3cd1322ba11fabde4da88a898225 | [] | no_license | swpuzhang/SparkFrame | 315ec1d0dd1f0ee4a6ac7bb3ac4c206319ebb37d | 6eea022b3799fe999794ef9e9360e1ec1cd322ce | refs/heads/master | 2020-04-12T09:55:28.271788 | 2018-12-19T09:35:38 | 2018-12-19T09:35:38 | 162,413,196 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 4,298 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ErrorCode.proto
#ifndef PROTOBUF_INCLUDED_ErrorCode_2eproto
#define PROTOBUF_INCLUDED_ErrorCode_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3006001
#error This file was generated by a... | [
"840757167@qq.com"
] | 840757167@qq.com |
418258759b529c0dbc188ea41fd2544d5e652244 | 02e5ddf8d55c85d5fe38ad89f21280488c70dd70 | /12_Special_member_functions/0_Special_member_functions/test065.cpp | 258db9c11a6ee665949e8703e7f1058c557e8412 | [] | no_license | KeiHasegawa/ISO_IEC_14882 | a1ec0e1d15fede1294abf7edb2ed62d889f17f0e | 8aaa11fae64c61b9fbae963ca49584251fd40359 | refs/heads/master | 2021-11-23T23:47:24.691736 | 2021-11-22T05:50:46 | 2021-11-22T05:50:46 | 178,426,282 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | cpp | #include <stdio.h>
class B {
public:
B& operator=(const B&)
{
printf("B::operator= called\n");
return *this;
}
};
class D : public B {
};
int main()
{
D x, y;
printf("before assignment x = y\n");
x = y;
printf("after assignment x = y\n");
return 0;
}
| [
"kei.hasegawa.18@gmail.com"
] | kei.hasegawa.18@gmail.com |
a733dba4441a9e02ff32884bfa4130874dabfd44 | 8003aeda9bf700b1a2a147fb3290689d78ae76e8 | /source/Shutter/Shutter.ino | 0f0a147771139a12f97303954542ee3d5f0ad5f2 | [] | no_license | Evil-Spirit/EvilShutter | 99507a0bf9d6f9b8eeedfb9373bbeb7d33848ff5 | 6aee6337527ee2ded724e14daf4256209f8d455b | refs/heads/master | 2021-01-10T17:15:10.865881 | 2018-05-05T08:47:32 | 2018-05-05T08:47:32 | 53,303,629 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 15,028 | ino |
#include <SPI.h>
#include "Clock.h"
#include "Button.h"
#define PIN_LOAD 10
#define PIN_BTN_0 7
#define PIN_BTN_1 8
#define PIN_BTN_2 9
#define PIN_MOT_EN 6
#define PIN_MOT_1A 5
#define PIN_MOT_2A 4
#define PIN_MOT_3A 3
#define PIN_MOT_4A 2
#define MAXIM_DECODE 0x09
#define MAXIM_INTEN... | [
"anandamide@mail.ru"
] | anandamide@mail.ru |
f737736e8ff67a20bc511f5236c78f9ed9d59f36 | 08f363be6edcac7adfd01a9bb0ba569c9902a209 | /src/pax_glsl.cpp | 734d04ae730ccc2450784edec512514f0957d130 | [
"MIT"
] | permissive | MaliqueQualls/PaxmanTransport | 129ffd24b2fa48a4e70200473408ff81242a2041 | 29aa039809cac8bb577750f65178a0cf10b3837d | refs/heads/master | 2020-03-27T14:29:05.074092 | 2015-10-16T22:43:44 | 2015-10-16T22:43:44 | 146,665,086 | 1 | 0 | null | 2018-08-29T22:18:57 | 2018-08-29T22:18:57 | null | UTF-8 | C++ | false | false | 4,459 | cpp | #include <pax_glsl.h>
#include <pax_error.h>
#include <fstream>
#include <string>
#include <vector>
GLSLProgram::GLSLProgram()
{
this->program_ID = 0;
this->vertex_shader_ID = 0;
this->fragment_shader_ID = 0;
this->num_attributes = 0;
}
GLSLProgram::~GLSLProgram()
{
}
void GLSLProgram::CompileShader(const char*... | [
"trstnl35@gmail.com"
] | trstnl35@gmail.com |
21deaf30616c38649aa78c6c79406b837cb3087d | 5792f56b628fb16c7b18143125b610e8fd7cdfc4 | /source/map/Cell.cpp | f0e7930fdab65d8377103729c5b32647b95dc66c | [
"MIT"
] | permissive | PiGames/Pi-Cpp-Framework | 227cdc4cee7f1ac79578aade9758216de7caba50 | ec14c3192cdd53a93ccb564250ffdd66607e0fc1 | refs/heads/master | 2021-06-16T16:03:23.071527 | 2017-05-14T09:27:30 | 2017-05-14T09:27:30 | 74,696,381 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include "Cell.hpp"
#include <iostream>
namespace pi
{
Cell::Cell( int identifier, const sf::Vector2i& unitPosition )
: id( identifier / constants::cell::ROTATION_MODES )
{
this->object.setOrigin( constants::cell::CELL_DIMENSIONS.x / 2.0f, constants::cell::CELL_DIMENSIONS.y / 2.0f );
this->object.setPosition( u... | [
"yohama8832@o2.pl"
] | yohama8832@o2.pl |
b776e50695826f083ce04e5e41bdb939a99dad8b | 02b585fa38233f564ccf236e08c0c36e35c13050 | /TP3ProgJeux/menu_factory.h | d2e13f4902331911c784b98b78b92237b9f0438a | [] | no_license | titoine9912/TP3ProgJeux | ff2805fa7df08516f10e54a1eee0b9f95a54d440 | 3d01347a658e962052dcf644d94b980fdf8968a8 | refs/heads/master | 2021-08-31T11:08:37.418032 | 2017-12-21T07:50:30 | 2017-12-21T07:50:30 | 111,834,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | h | #ifndef MENU_FACTORY_H
#define MENU_FACTORY_H
class menu;
namespace menu_factory
{
class menu_factory
{
public:
enum type_menu
{
exit_e, // Not a menu (causes the game to close).
play_singleplayer_e, // Not a menu (its the current game)
main_menu_e,
pause_menu_e,
victory_screen_e,
defeat_scre... | [
"ramsayjacob@gmail.com"
] | ramsayjacob@gmail.com |
1868fcd41d8d0a7374cc65fb940711a1a4b4f941 | aeabee0b5ba8cb0b190fb88fce144b8021a6f6e0 | /libraries/ESPAsync_WiFiManager/examples/Async_ConfigPortalParamsOnSwitch/Async_ConfigPortalParamsOnSwitch.ino | cea7bc017b904f8f5bedec757c544cf9803fdfbb | [
"MIT"
] | permissive | guydvir2/Arduino | 7313d590af23c95f7af59e7b1d07e19ed438f344 | a33077d21ebe2b07d838794e0548d6bcaa311bbe | refs/heads/master | 2023-05-26T11:27:59.517191 | 2023-04-21T13:17:06 | 2023-04-21T13:17:06 | 144,481,047 | 3 | 0 | null | 2018-11-25T20:34:29 | 2018-08-12T16:05:45 | C++ | UTF-8 | C++ | false | false | 48,361 | ino | /****************************************************************************************************************************
Async_ConfigPortalParamsOnSwitch.ino
For ESP8266 / ESP32 boards
ESPAsync_WiFiManager is a library for the ESP8266/Arduino platform, using (ESP)AsyncWebServer to enable easy
configuratio... | [
"guydvir2@gmail.com"
] | guydvir2@gmail.com |
c4fa480b304cdcde5c4884a37dd2062b2ab8a1b5 | 8a9a57e3fdda2edbff4ed3d1af82e7cb7317eaa6 | /vc++/ATLProject1/ATLSimpleObject.h | b6356e73e4b37d92bf3949cd9c618de67ab92401 | [] | no_license | javacommons/misc5 | 717b4b3e3b066b2b078e13255b10cee73385e42f | a266d4d21babe0ea182264fde0c60781c79ae6dc | refs/heads/main | 2023-04-06T11:18:18.696402 | 2021-04-28T04:05:50 | 2021-04-28T04:05:50 | 314,198,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | h | // ATLSimpleObject.h : CATLSimpleObject の宣言
#pragma once
#include "resource.h" // メイン シンボル
#include "ATLProject1_i.h"
#if defined(_WIN32_WCE) && !defined(_CE_DCOM) && !defined(_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA)
#error "DCOM の完全サポートを含んでいない Windows Mobile プラットフォームのような Windows CE プラットフォームで... | [
"javacommons@gmail.com"
] | javacommons@gmail.com |
577b8f61ce09944d0c82d09c446655c30f7dd901 | 6853929aa35efee22f609e395d496ba31988e09b | /05-2010/secuencia_d.h | f881cb27484596bda0c6f9c4d8dcb396a1674a5a | [] | no_license | antonrodin/lp2 | 7ff63312aed9546ced1d1011c8e6165ff14ff9b3 | ddb28efc3f8620cb44a40bd8ca1eb725ffd73129 | refs/heads/master | 2021-09-01T03:02:55.447412 | 2017-12-24T12:38:20 | 2017-12-24T12:38:20 | 112,952,280 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 6,297 | h |
//---------------------------------------------------------------------------
#ifndef secuencia_dH
#define secuencia_dH
//---------------------------------------------------------------------------
#include <iostream>
#include "AccesoIndebido.h"
using namespace std;
template <class TElem>
class TSecue... | [
"antonzekeriev@gmail.com"
] | antonzekeriev@gmail.com |
a53471eb1fd73c189606520944816e5905bbf44b | 0f054d3440d94f27bc61c2b69c46d250fd1400a8 | /cppp/CPlusPlusAdvanced/05_Yosi_DesignPatterns/excercise1/ex1Main.cpp | e6e40eee220227f6a36f25c0a34bac43874e09d8 | [] | no_license | Tomerder/Cpp | db73f34e58ff36e145af619f03c2f4d19d44dc5d | 18bfef5a571a74ea44e480bd085b4b789839f90d | refs/heads/master | 2020-04-13T21:37:06.400580 | 2018-12-29T02:35:50 | 2018-12-29T02:35:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cpp | /***************************************************************************
Author: Stav Ofer
Creation date: 2013-11-05
Last modified date: 2013-11-05
Description:
****************************************************************************/
#include <vector>
#include <algorithm>
#include <... | [
"tomerder@gmail.com"
] | tomerder@gmail.com |
ff71958ad6836e268182d47772a029e3959d4125 | 390b9b5bd3832414ccb3b6b518f590a9e0f74f7d | /Day-46/Rearrange-a-string.cpp | e46c30c1e0dc5361a9d1f3a0393ba42cb57c16e4 | [] | no_license | hitu1304/100DaysCodingChallenge | 0021a023676c851015f2e7b28856148b6befb645 | 358ae69944ee2d3ebb8bbf95b5937b07bb1279a9 | refs/heads/main | 2023-06-14T08:04:27.948509 | 2021-07-10T13:11:39 | 2021-07-10T13:11:39 | 353,709,342 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | /*Approach-> Count frequency of each alphabet and sum of digits.*/
string arrangeString(string str)
{
string p="";int t=0;
sort(str.begin(),str.end());
int h[27]={0};
for(int i=0;i<str.length();i++)
{
h[str[i]-65]++;
}
for(int i=0;i<26;i+... | [
"hiteshgendre2000@gmail.com"
] | hiteshgendre2000@gmail.com |
1c71d1d6ab745e7fef5de8d8277c730346cb0cc0 | b7b964e4f6e9c1cedf26245ce9a2ead8b5e74c15 | /game/interaction_systems/levelsequencer.h | e994c16c2c7bf2ae7cb7c9ffc79f6965fb2c7f08 | [
"MIT"
] | permissive | lucentbeam/pokitto-starbase-defender | f79dca4a78df0e3e71b3636c664886a9944ee422 | a179b927f6d0880029c70c55387731c91ffef0fe | refs/heads/main | 2023-03-03T19:33:00.214057 | 2021-02-18T19:36:19 | 2021-02-18T19:36:19 | 340,156,301 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,747 | h | #ifndef LEVELSEQUENCER_H
#define LEVELSEQUENCER_H
#include <cstdint>
#include <cstring>
#include "game/factory.h"
#include "core/controls/controls.h"
#include "core/babyecs.h"
#include "core/audio/audiosystem.h"
/* Level sequences are 3*N arrays, where each group N lists:
*
* [delta_time, directive, data]
*
* ... | [
"bhanken@netzero.net"
] | bhanken@netzero.net |
70e6044a2dc32cecae76a732bac59f6706d870cf | 4684c644e71765b06b1e83660eaae6b07b0e8593 | /Server/Src/LogicServer/PartnerModule.cpp | 5f5cd1966dae2bb7834411a14e16fe77a7021dc4 | [] | no_license | benny5609/GameProject3 | 037e5c106bc547b19a02acb0c55b80d631ae7ea0 | 3d3c18182103bc6678258e223d43cf58c7dc2f4d | refs/heads/master | 2023-03-08T19:27:36.078489 | 2020-05-19T10:37:45 | 2020-05-19T10:37:45 | 340,305,884 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,067 | cpp | #include "stdafx.h"
#include "PartnerModule.h"
#include "DataPool.h"
#include "GlobalDataMgr.h"
#include "PlayerObject.h"
#include "../StaticData/StaticData.h"
#include "../Message/Msg_ID.pb.h"
#include "../Message/Msg_RetCode.pb.h"
#include "PacketHeader.h"
CPartnerModule::CPartnerModule(CPlayerObject* pOwner): CMod... | [
"ylmbtm@163.com"
] | ylmbtm@163.com |
384fe8974ea2ccb052d1d757ee88458200d407a2 | 83932dcfd72d716ae758c1cecfc8da2aa2cd7928 | /BinaryTreeLevelOrderTraversal/BinaryTreeLevelOrderTraversalII.cpp | c294b5c41200c34f58282a45ac7192b9f3538dc1 | [] | no_license | ggchangan/leetcode | 035b639ac20b0dafcf2da7a863378cf3aef3a87f | 5d2ea0e7196c36bcf8fe927946cc4e389360710e | refs/heads/master | 2022-05-08T06:39:44.599347 | 2022-04-20T06:20:50 | 2022-04-20T06:20:50 | 29,357,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | cpp | #include<iostream>
#include<stack>
#include<queue>
#include<vector>
using namespace std;
//Definition for binary tree
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
vector<vector<int> > levelOrder(TreeNode *root) {
vector<vector<int... | [
"zhangren1989@gmail.com"
] | zhangren1989@gmail.com |
0ddbe56986f1679f2cfcaaf353c7fca3c209fd3a | b679b4575e2d125fe18fd108f7485926f89fefd6 | /Back Up/Compila final/Compila/Syntax.h | e9ade17fed91d7da4bbfd23ddaf44a5c84775883 | [] | no_license | mateuscunha/Compiladores | 2e99eb0817157d1deacdde25ea16342acb33b7f8 | b8f63077161bec03a5316121dae1f0cb452da393 | refs/heads/master | 2021-03-24T12:33:45.070118 | 2016-10-09T21:55:37 | 2016-10-09T21:55:37 | 69,186,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,022 | h | #ifndef SYNTAX_H
#define SYNTAX_H
#include "SymbolsTable.h"
#include "Def.h"
#include "Util.h"
#include "Lexer.h"
#include "Token.h"
class Syntax {
private:
Register lexReg;
SymbolsTable *STable;
Lexer *lexAnalyser;
void Match_Token ( int esperado){
if (lexReg.token_number == esperado) {... | [
"Mateus"
] | Mateus |
a57f4a4646c665a3dfc113e1f2c46fb86d8275b2 | 2ad3ba0fbc658ffee192b46fc79a96cc624d67e3 | /boss.h | c43870e1f96bc18fe75fc9698db95cb8d886f682 | [] | no_license | ltjldc/ENGG1340-GP | 58fc3a12b176aaa34d4431580940f735fa56390b | c4d82915dc5d0da0bd769bdf33cf42c086af3516 | refs/heads/main | 2023-04-14T18:35:55.434096 | 2021-04-26T14:22:20 | 2021-04-26T14:22:20 | 348,222,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | h | #ifndef __BOSS_H__
#define __BOSS_H__
#include <string>
using namespace std;
//declare a class Boss
//used for storing status data of boss and show the status of boss
class Boss {
public:
string name;
int hp, upgrade;
Boss() {}
Boss(int );
void show_status();
};
#endif
| [
"noreply@github.com"
] | ltjldc.noreply@github.com |
536903a8164216b4996c6e6a6ecfc1bd940c5578 | 5e6943ef0183cc59ab8392060472ccc561700c24 | /src/brick/mac/mach_logging.h | 97b4e63c9a15f83b7e13a821d7bb041e21f61d66 | [] | no_license | israel-Liu/brick | 88b7ea62c79fc0fc250a60a482d81543c48ec795 | 9b4e4011df7c0bdede945d98bcd1e0a5ac535773 | refs/heads/master | 2022-04-20T10:00:47.049834 | 2020-04-24T03:32:07 | 2020-04-24T03:32:07 | 96,489,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,262 | h | // 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.
#ifndef BRICK_MAC_MACH_LOGGING_H_
#define BRICK_MAC_MACH_LOGGING_H_
#include <mach/mach.h>
#include "brick/base_export.h"
#include "brick/logging.h"
#in... | [
"israel.liu.theForger@gmail.com"
] | israel.liu.theForger@gmail.com |
3cde20fa74ff24dfa3a2c1f46adb35d4bc6085d7 | 0721efa7c52d1c1fd9949003e80eafc00528816b | /android.OLD/jni/engine/extern/newton/source/physics/dgCollisionConvexPolygon.cpp | a13b4f6d443a758d71d70d6149bf79f40e02ad40 | [
"MIT"
] | permissive | ColinGilbert/noobEngine | 2bef6f41f1f991596df22b1e3d8f033db252c81f | 13190e479b90a2c1bf71aa934b22df989867a094 | refs/heads/master | 2020-06-06T19:26:15.713494 | 2015-02-18T09:34:59 | 2015-02-18T09:34:59 | 28,265,753 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,872 | cpp | /* Copyright (c) <2003-2011> <Julio Jerez, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any... | [
"colingilbert86@gmail.com"
] | colingilbert86@gmail.com |
dcd090993fa07e0191080f0e6ec0c846ad0beb97 | 300f7b53d9c2900d905c5470594afcace90bac39 | /HggRazorLeptons/FitMgg/include/CustomPdfs.hh | 9ccc6be74766fbc69ebfd0d726db907ad5acbee1 | [] | no_license | RazorCMS/RazorEWKSUSYAnalysisLeptons | 27ba8a4dae87defb174285bff26ef8eee264138e | ff1c70a2d23c932129ef844a336343b9e961954f | refs/heads/master | 2021-01-19T13:44:09.677328 | 2019-08-13T18:39:24 | 2019-08-13T18:39:24 | 88,105,456 | 0 | 1 | null | 2017-06-27T23:40:45 | 2017-04-12T23:30:38 | C++ | UTF-8 | C++ | false | false | 10,613 | hh | #ifndef CUSTOMPDFS_HH
#define CUSTOMPDFS_HH
#include <RooAbsPdf.h>
#include <RooRealProxy.h>
#include <RooAbsReal.h>
class RooCB : public RooAbsPdf {
public:
RooCB();
RooCB(const char *name, const char *title,
RooAbsReal& _x,
RooAbsReal& _mean,
RooAbsReal& _width,
RooAbsReal& _alph... | [
"cristian.pena@caltech.edu"
] | cristian.pena@caltech.edu |
496a05f010a2cacfbcafcc1c179e50983dbfb6fa | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_DNA_2_01_classes.hpp | ef0674dc5bec5c4fe0a3ae74e3ef348c4ed63457 | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | hpp | #pragma once
// DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_DNA_2_01_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// Blueprint... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
702df3c61be38f0b689a760d1c68770de78b3766 | de8182e12b682b0658934f7d3c0a26a63627b71d | /SoftRender/SoftRender/WinMain.cpp | 2ab183a8f2df2a1625de9c5e09fe331ab380c2aa | [] | no_license | q693521426/- | 54b5ea852c88a8a4011a4984bf2fc57844b6f636 | 3ab795d3ffcd539b1d5d9ed72a005b9eea02b1de | refs/heads/master | 2020-12-02T06:44:26.516317 | 2017-07-20T14:27:50 | 2017-07-20T14:27:50 | 96,884,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | #include "SoftRender.h"
inline int WINAPI WinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPSTR lpCmdLine, _In_ int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
SoftRender* softRender = new SoftRender();
bool hr;
if (!softRender)
{
return 0;
... | [
"zhengyiming@corp.netease.com"
] | zhengyiming@corp.netease.com |
48379b12531ad565bbc72028a902282728613f95 | 67f988dedfd8ae049d982d1a8213bb83233d90de | /external/chromium/content/browser/debugger/devtools_http_handler_unittest.cc | b01c9d9ca6f7776493ad11c7a421ca40875e0152 | [
"BSD-3-Clause"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 3,418 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/message_loop.h"
#include "base/run_loop.h"
#include "content/browser/browser_thread_impl.h"
#include "content/public/browser/devtools_h... | [
"rjogrady@google.com"
] | rjogrady@google.com |
c80818b30fb014a613562128a818b3bf0626dda3 | 36ff52a78f635ae074d7fd657afb261b0816b0a6 | /make_unique.hpp | d6f4a8ef9aa1689c45df34e52f4114047cf75250 | [] | no_license | hwgao/cpp_learning | 0f6e4cf79be7f8455bf901a39629f9867dc5258b | 2bf7e6eb591715089c8e5950b17c6773689c3b23 | refs/heads/master | 2021-01-21T13:57:38.819585 | 2016-05-06T09:23:52 | 2016-05-06T09:23:52 | 49,489,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | hpp | #ifndef MAKE_UNIQUE_HPP
#define MAKE_UNIQUE_HPP
#include <memory>
namespace pg {
template <typename T, typename ...Args>
std::unique_ptr<T> make_unique(Args&& ...args) {
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}
template <typename T>
std::unique_ptr<T> make_unique(size_t size) {
return ... | [
"gaoh@st.com"
] | gaoh@st.com |
d4be0bd85bce01e2e0157001f355f18328dcd3ba | c211f8ed641322ab598c8cfa8d6eb0bc7342e6ea | /图.cpp | 68b2be36a8d5cb5c48b472e8a27d39f63db719b1 | [] | no_license | Dchment/Data-Structure | 6fbcb45b31bd7b4d598882734f5c4afbd96c46b2 | 6c6b697b6bdefc00cfca2a859ff1cb9e1e05fdc7 | refs/heads/master | 2022-07-20T12:44:40.186846 | 2020-05-11T02:27:45 | 2020-05-11T02:27:45 | 125,949,690 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,505 | cpp | #include<stdio.h>
#include<stdlib.h>
typedef struct{//邻接矩阵型无向图
int node[10];
int nodevisited[10];
int matrix[10][10];
int nodenum=0;
int arcnum=0;
}graph;
typedef struct{
int *body;
int front;
int rear;
int total;
int num;
}nodequeue;//队列用于广度优先遍历
void initqueue(nodequeue &q,graph &g)... | [
"noreply@github.com"
] | Dchment.noreply@github.com |
d99fdfee4b1db20c7bf3dc24b211aca312461984 | 929749b9a37938c4e84d6a004ef12bd0347bd590 | /d01/ex06/Weapon.hpp | a822d799ccabf60ba97a6c809a7bb99f056a7daf | [] | no_license | cjacques42/cpp | d47bee871de83c772a44afb399b5297fcbd9428a | 1b672fef73c9923ebd62b6ceb4603755cbe97755 | refs/heads/master | 2021-01-18T21:38:08.719650 | 2017-04-13T17:05:45 | 2017-04-13T17:05:45 | 87,017,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | hpp | #ifndef WEAPON_HPP
# define WEAPON_HPP
# include <iostream>
class Weapon {
public:
Weapon(std::string);
~Weapon(void);
std::string const &getType() const ;
void setType(std::string weapon);
private:
std::string _weapon;
};
#endif
| [
"cjacques@Corentins-Mac.local"
] | cjacques@Corentins-Mac.local |
17c0c6dd5086d895e3fc9e6fe6dee8d30bf0bf40 | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/phoenix/object/detail/cpp03/construct_expr.hpp | 41b442fcff27a44e6173e621a76a51654b3c9da4 | [
"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 | 1,145 | hpp | #if !defined(BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES)
#include <boost/phoenix/object/detail/cpp03/preprocessed/construct_expr.hpp>
#else
#if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/construct_expr_" BOOST_PHOENIX_LI... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
c95a00f73e08637877edcfaff07f214cf41deffa | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.005/NC7H14OOH-N2 | faa7529916c3d98eb3ba5157ab82e073f8d81c3a | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
5620431f6543a7bad5ebdafa17562cb5940fd8ab | fc6df2981c8dcb046fec5985710a6d2033241ab2 | /guidesign.h | 44f9e73b56b9b1cd457c709da71e5387feea7c70 | [] | no_license | munib10mufc/Banking-System | da446e975e8fc5f2ad4fca563ea5fe0cbf119100 | dccffefc5df10bdf222c5f001f7f72a7d066189d | refs/heads/main | 2022-12-26T04:46:35.490345 | 2020-10-09T17:12:54 | 2020-10-09T17:12:54 | 302,704,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | h | #ifndef GUIDESIGN_H
#define GUIDESIGN_H
#include <QtWidgets/QMainWindow>
#include "ui_guidesign.h"
class guidesign : public QMainWindow
{
Q_OBJECT
public:
guidesign(QWidget *parent = 0);
~guidesign();
private:
Ui::guidesignClass ui;
};
#endif // GUIDESIGN_H
| [
"munibtahir@gmail.com"
] | munibtahir@gmail.com |
6f17b2963bbc7a0cab2b479af9ec233adc894f83 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /content/browser/conversions/conversion_host.cc | ec917fabbb241a61839ecc28fc83586afede6e89 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 2,817 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/conversions/conversion_host.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "content/browser/conversions/conv... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
c1046fe369a70609f8df75447a5636f5b33af0ef | 39e1fb634f61bb570218c8719e972b29a551aabd | /Source_Code/player.cpp | a8e29535e1300dfbd2e78f2a2758c7dbe20e641c | [] | no_license | KrisMaddeaux/Advance_Computer_Graphics_Shaders_Demo | b6aab0537cce08b3d435daafc1700ac34bd5be39 | 1ed7f531b14417ce91c7e2af215bd91688ca6f7b | refs/heads/master | 2021-06-14T04:16:19.515356 | 2017-04-15T01:50:04 | 2017-04-15T01:50:04 | 49,168,084 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 13,693 | cpp | #pragma once
#include "player.h"
playerStats::playerStats()
{
//animations.test = Skeleton();
species = 10;
health = 100;
alive = true;
isHostile = false;
isAttackable = true;
theta = 0.0f;
//startingPosition = Vec3f(520.f * 0.6 * 3.0, 0.0, 290.f * 0.6 * 3.0);
//startingPosition = Vec3f(85.f * 0.6 * 3... | [
"kristophermaddeaux@gmail.com"
] | kristophermaddeaux@gmail.com |
ef7d41449df720cae2dd53177ef9b095314666e0 | 050c8a810d34fe125aecae582f9adfd0625356c6 | /2numere/main.cpp | 39b85c44b04af80b658d64db6ea0314db9f3079f | [] | no_license | georgerapeanu/c-sources | adff7a268121ae8c314e846726267109ba1c62e6 | af95d3ce726325dcd18b3d94fe99969006b8e138 | refs/heads/master | 2022-12-24T22:57:39.526205 | 2022-12-21T16:05:01 | 2022-12-21T16:05:01 | 144,864,608 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,357 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
FILE *f=fopen("2numere.in","r");
FILE *g=fopen("2numere.out","w");
int A[20];
int B[20];
int FA[10];
int FB[10];
int C[20];
int i,j,nr,cif1,cif2,dif,n1,n2,x,y,N;
int main()
{
fscanf(f,"%d",&N);
for(i=1;i<=N;i++)
{
fscanf(f,"%d",&A[i]);
... | [
"alexandrurapeanu@yahoo.com"
] | alexandrurapeanu@yahoo.com |
90a57303a0917565f2702bcc2c712f3d8f2f352f | 49b3b817540a8b2431ead0be2c8495c577a65128 | /src/bin/fstarcsort.cc | d7ef333ab04ccd461da762d6154b1d8a4521c7eb | [
"Apache-2.0"
] | permissive | open-speech/openfst | 8cf750b4b4a14563c600f540aa812ff313c18e9c | 09a7f3b587243f6defd96ba05a510970db40515c | refs/heads/master | 2023-02-20T21:43:23.481083 | 2021-01-11T13:27:43 | 2021-01-11T13:27:43 | 328,666,915 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | cc | // Copyright 2005-2020 Google LLC
//
// 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 agreed to... | [
"songmeixu@outlook.com"
] | songmeixu@outlook.com |
4368ba591babfc05a6fb8b9aeb829f8e94269c9c | e9746e20bc7655a5c810b2a306c1c0a3c38cde22 | /NachOS-4.0_MP3/code/threads/thread.cc | 2789fd7becf4b3b04030de3c67960a0deb8f7277 | [
"MIT-Modern-Variant"
] | permissive | nthustraydog/NachOS | 85904020a0f14bfb16e56c92676e23f2e8d3717d | fb17fab62070ec35bc3a38a14253ef5644a01db6 | refs/heads/master | 2021-05-11T17:55:22.288907 | 2018-01-17T09:09:06 | 2018-01-17T09:09:06 | 117,810,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,027 | cc | // thread.cc
// Routines to manage threads. These are the main operations:
//
// Fork -- create a thread to run a procedure concurrently
// with the caller (this is done in two steps -- first
// allocate the Thread object, then call Fork on it)
// Begin -- called when the forked procedure starts up, to turn
// int... | [
"0805jauy9131253@gmail.com"
] | 0805jauy9131253@gmail.com |
525e1f5d865b6fa0c16708b6d141393bc9bb857f | 78bb158c8376185ec61cbac27e755fbcb7f0e33f | /35/binary_operation.cc | ec771432d22cc186da4e0e6e9ca87ad0e655f368 | [] | no_license | lchorbadjiev/teach2014-2015 | 4ba083b0e827ca388f712bfd68874b814948aa33 | 4c4cd0e0351e5c744b2fd336d92fb749fd77ed61 | refs/heads/master | 2016-09-11T04:08:03.235490 | 2015-05-12T15:52:57 | 2015-05-12T15:52:57 | 24,597,161 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cc | #include "binary_operation.hh"
#include "context.hh"
BinaryOperation::BinaryOperation(const std::string& token)
: Operation("binary", token)
{}
void
BinaryOperation::eval(Context& context) const {
if(context.data_size()<2) {
// throw error!!!!
}
double a2=context.data_top();
context.data_pop();
double a1=c... | [
"lchorbadjiev@setelis.com"
] | lchorbadjiev@setelis.com |
2ac8a3e99eb95acad68028e9dbdfa7077513a121 | ca7411e21ae3cddc423d1aeaf7044d1545653a07 | /cppDir/EfficientMap.cc | 602f041c2d56c0bc9479a767673b34341d514c34 | [] | no_license | ericxliu1990/SQLOptimizer | ad0e8ec9874068be857a44341d40067fadb152ff | f813b0299d05b4aa132f170dbf958b43b91026b8 | refs/heads/master | 2021-12-31T04:09:02.915999 | 2015-05-06T06:35:49 | 2015-05-06T06:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,139 | cc |
#ifndef _EFFICIENT_MAP_C
#define _EFFICIENT_MAP_C
using namespace std;
#include "EfficientMap.h"
#include <stdlib.h>
#include <iostream>
// basic constructor function
template <class Key, class Data>
EfficientMap <Key, Data> :: EfficientMap ()
{
// allocate space for the header
list = new Header;
// set up t... | [
"liuxue1990@gmail.com"
] | liuxue1990@gmail.com |
20231855adf721f93611147a12e2bb3f25c98b3c | 0cb3844ddfb455b36945a2940c73621e55bad561 | /main.cpp | 9a4a05ec5bcd2f7d9dc56e2d0234a3317c20b9c5 | [] | no_license | yonghoonkwon/ShapeMatching | 9f4ee52d6817e98924b08322cdc7a0e4aede7435 | 6346720cd0af8544b5c786b5b03b87b5976cdaad | refs/heads/master | 2021-06-04T04:01:10.485131 | 2016-09-05T20:12:13 | 2016-09-05T20:12:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | cpp | #include <iostream>
#include "math.h"
#include "shapedescriptor.h"
#include <ctime>
#include "shapematching.h"
#include "test.h"
using namespace std;
int main()
{
// testrotatefrom();
testrotationInv();
// int nrows = 4;
// int ncols = 4;
// Matrix<double> matrix(nrows, ncols);
// srandom(time... | [
"wangliwu@zju.edu.cn"
] | wangliwu@zju.edu.cn |
be3fb40faaa23c372deffbf9bac03d4fffa9329d | 49b878b65e9eb00232490243ccb9aea9760a4a6d | /ash/clipboard/clipboard_history_menu_model_adapter.cc | a65903442c78d38c0c90670ed6e8135540c60c05 | [
"BSD-3-Clause"
] | permissive | romanzes/chromium | 5a46f234a233b3e113891a5d643a79667eaf2ffb | 12893215d9efc3b0b4d427fc60f5369c6bf6b938 | refs/heads/master | 2022-12-28T00:20:03.524839 | 2020-10-08T21:01:52 | 2020-10-08T21:01:52 | 302,470,347 | 0 | 0 | BSD-3-Clause | 2020-10-08T22:10:22 | 2020-10-08T21:54:38 | null | UTF-8 | C++ | false | false | 7,748 | cc | // Copyright 2020 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 "ash/clipboard/clipboard_history_menu_model_adapter.h"
#include "ash/clipboard/clipboard_history.h"
#include "ash/clipboard/clipboard_history_ut... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ec6462ab41d07157689c3bb68521541690e0eb2b | 04b64b6ef60d9f344d54a68a51dda19fc5c5a0e0 | /cds-0.8.0/tests/unit/misc/bitop_st.cpp | 6fe378eb1a94e650804109f6103608ce5de158b0 | [] | no_license | rrnewton/temp-data-structure-benchmark | 93923a6f6927d26b29b18765905a03f7c8e9b79a | 3fa73e15b08d6d869a6d200dbdabb784cdbb4c75 | refs/heads/master | 2020-04-13T05:15:10.869475 | 2012-08-10T21:02:39 | 2012-08-10T21:02:39 | 20,885,751 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,044 | cpp | /*
This file is a part of libcds - Concurrent Data Structures library
See http://libcds.sourceforge.net/
(C) Copyright Maxim Khiszinsky [khizmax at gmail dot com] 2006-2011
Version 0.8.0
*/
#include "cppunit/cppunit_proxy.h"
#include <cds/bitop.h>
#include <cds/os/timer.h>
class bitop_ST : pu... | [
"fernandes@shadowmaster.(none)"
] | fernandes@shadowmaster.(none) |
76c4c66943370500614b5a0ea45c8c8f9a612dc8 | f8c2198eab8d0527aef81ad72f207520ef6dd38a | /Expine/Source/Engine/Graphics/Buffer/BufferQuad.cpp | 78a8c5a1fe70904677b40c99e5d6d5c4af68f6d9 | [] | no_license | Smoothstep/Expine | 844cc64e758f90f4d735aca253b02a9980318688 | 5f0e635655a14ce03d0f70f798d80d0c824afa51 | refs/heads/master | 2021-09-22T23:51:15.751748 | 2018-09-18T15:38:05 | 2018-09-18T15:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cpp | #include "Precompiled.h"
#include "Buffer/BufferQuad.h"
#include "Utils/State/StateBlend.h"
#include "Utils/State/StateRasterizer.h"
namespace D3D
{
const D3D12_INPUT_ELEMENT_DESC TextureInputElementDesc[2] =
{
{ "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, 0 },
... | [
"Hswekk34@gmail.com"
] | Hswekk34@gmail.com |
6dbf1416b02cc87d8dd763c6ffb352b98d0dbb69 | d7a7c3ebf09ae4ceb496e29ad24a1434ccb42305 | /MyLeetcode/Questions/116_Populating Next Right Pointers in Each Node/myPopulatingNextRightPointersInEachNode.cpp | bc41b27ec12be8ba053fb65ee6948d61340a0949 | [] | no_license | ViolinLee/Programming_Training | 5080e707688741875965e4b1da606f4f1a80dbbf | 296ac51532a89e394e38990da96d723685b71f8c | refs/heads/master | 2020-03-22T23:02:52.504579 | 2019-08-19T08:03:09 | 2019-08-19T08:03:09 | 140,786,617 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,678 | cpp | #include <stdio.h>
#include <vector>
#include <queue>
#include <iostream>
using namespace std;
struct TreeLinkNode {
int val;
TreeLinkNode *left, *right, *next;
TreeLinkNode(int x) : val(x), left(NULL), right(NULL), next(NULL) {}
TreeLinkNode() : val(0), left(NULL), right(NULL), next(NULL) {}
};
class... | [
"mechleechan@outlook.com"
] | mechleechan@outlook.com |
dbbc76c6a2c38e1bf9d153770f53cb7ff46b6891 | 26fc152280630551723fa75bebb4a8a909dfc457 | /date.cpp | c03b8c8a1e05a1c1c27b5d9569f560f25c01f5de | [] | no_license | kit-cpp-course/Lukashev-aa | 7f96449ac9b20244c87be57af8c616f255f8356e | 3221ce7ec8de31c01ed31583106f3ab051ca3118 | refs/heads/master | 2020-04-13T07:46:47.407482 | 2018-12-26T09:10:14 | 2018-12-26T09:10:14 | 163,061,990 | 0 | 1 | null | 2019-01-23T15:04:21 | 2018-12-25T08:15:41 | C++ | UTF-8 | C++ | false | false | 287 | cpp | #include "Date.h"
std::string Date::PrintDate() {
return std::to_string(Day) + "." + std::to_string(Month) + "." + std::to_string(Year);
}
Date::Date()
{
Day = rand() % 28 + 1;
Month = rand() % 12 + 1;
Year = 1950 + rand() % (2010 - 1950);
}
Date::~Date()
{
} | [
"noreply@github.com"
] | kit-cpp-course.noreply@github.com |
1a4ccfc3d7e725454fa1ecfa3cf2d37dbf9ee9cc | 485faf9d4ec7def9a505149c6a491d6133e68750 | /include/inv/SoWx/SoWxMouse.H | 158e1978f44470682e377e72e756e7e516c4be3e | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | ohlincha/ECCE | af02101d161bae7e9b05dc7fe6b10ca07f479c6b | 7461559888d829338f29ce5fcdaf9e1816042bfe | refs/heads/master | 2020-06-25T20:59:27.882036 | 2017-06-16T10:45:21 | 2017-06-16T10:45:21 | 94,240,259 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 920 | h | #ifndef __SOWXMOUSE_H
#define __SOWXMOUSE_H
#include "inv/events/SoLocation2Event.H"
#include "inv/events/SoMouseButtonEvent.H"
#include "inv/SoWx/SoWxDevice.H"
#define SO_WX_ALL_MOUSE_EVENTS 0
class SoWxMouse : public SoWxDevice {
public:
// which events contains a list of event types this device should listen... | [
"andre.ohlin@umu.se"
] | andre.ohlin@umu.se |
d3b1cf1653a632df0457ebaf921141fe99884a16 | 38c15c080cfdaf7d932241556c86cf6e81f1cb5e | /Entity.cpp | 8d735fd8d0edc39b31d15922050a691d154622c5 | [] | no_license | Gian9911/zz | 6583362c0bc290672db0cf4033da1c965b60754f | 4a657d80ac5bfffae2180a950cd4799983ed43d8 | refs/heads/master | 2020-06-23T09:25:26.006432 | 2019-10-02T13:49:38 | 2019-10-02T13:49:38 | 198,583,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | #include "Entity.h"
Entity::Entity() //ctor
{
this->shape.setSize(sf::Vector2f (50.f, 50.f));
this->movementSpeed = 100.f;
this->shape.setFillColor(sf::Color::White);
}
Entity::~Entity() //dtor
{
}
void Entity::move(const float& dt, const float& dir_x, const float& dir_y){
this->shape.move(dir_x ... | [
"noreply@github.com"
] | Gian9911.noreply@github.com |
9f80bbdde04411bbbec04336e6110191a9e64add | afae053907bddd77d91f4976cdd665640dc60850 | /ext/kaldi/src/lat/determinize-lattice-pruned.cc | 447c951d02c1ab473e728afc31bed5f1e02f7adc | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | panayi/gentle | 6803836b81c1b249b56954bd4341fc97b01469d7 | 117ad5ed3f6c2c877aaa165c6bd548b3ef875d84 | refs/heads/master | 2023-02-26T10:28:24.209839 | 2021-01-28T16:12:18 | 2021-01-28T16:12:18 | 325,595,120 | 0 | 0 | MIT | 2020-12-30T22:10:09 | 2020-12-30T16:18:02 | null | UTF-8 | C++ | false | false | 67,726 | cc | // lat/determinize-lattice-pruned.cc
// Copyright 2009-2012 Microsoft Corporation
// 2012-2013 Johns Hopkins University (Author: Daniel Povey)
// 2014 Guoguo Chen
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache License, Version 2.0 (the "Li... | [
"ppanagi@dynopia.com"
] | ppanagi@dynopia.com |
0d577b99d4725b5bc89f76a8e0c7ceb29e1d444b | 7b85e4966ea025893569d50b07127a45ea263c7f | /Codeforces/Goodbye 2020/1466F.cpp | a88bafab90d9db3467ddef71fc46aeb861495c0c | [
"MIT"
] | permissive | ApocalypseMac/CP | 22e437b2d844ad0a2d4fe50590276ac4b8461dc4 | b2db9aa5392a362dc0d979411788267ed9a5ff1d | refs/heads/master | 2023-04-25T14:49:28.510588 | 2021-05-08T15:11:02 | 2021-05-08T15:11:02 | 308,243,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,211 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)
typedef long long ll;
const int maxn = 500005;
const int MOD = 1e9 + 7;
int m, n, k, u, v, t;
// dsu
int p[maxn];
int find(int i){
if (p[i] != i)
p[i] = find(p[i]);
return p[i];
}
b... | [
"ApocalypseMac@users.noreply.github.com"
] | ApocalypseMac@users.noreply.github.com |
e301e8d31d5103b330517de5f30ed66e0a208e10 | 7d46e8745a7c6d7c369a9e212cabb6b8b6dd0334 | /addons/Libav/src/av/AVPlayer.cpp | 5d2fde2ed0732ffc008595e48616fb86bb760d02 | [] | no_license | eighteight/roxlu_experimental2 | 02166ccab0322061b3ed4269dcfd2453f2fea537 | 5a4d3f81a5abcac415adfa107c4d4bc7d4fb173c | refs/heads/master | 2021-01-22T09:51:01.638125 | 2013-10-10T15:33:49 | 2013-10-10T15:33:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,178 | cpp | extern "C" {
# include <libavutil/avutil.h>
# include <libavutil/imgutils.h>
}
#include <roxlu/Roxlu.h>
#include <roxlu/core/Log.h>
#include <roxlu/core/Utils.h>
#include <av/AVPlayer.h>
// ----------------------------------------------
void avplayer_thread(void* user) {
AVPlayer& player = *static_cast<AVPlayer... | [
"info@roxlu.com"
] | info@roxlu.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.