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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c136ad73b4ff8a03f5110dae2e27cd142c5e8701 | a926e8ea23405dc468bc5fa9b4a9717f614c7b4e | /ReadQueryManager.cpp | e73872511137c81038a00382e97183ac4d52e26a | [] | no_license | naabotoo/neural-network-using-tensorflow-cpp | 866a7adc7ce211e7f2fac8f0fb97599cf3da29a8 | 8ad59afbee830e621903ac7670a87860c6db14da | refs/heads/master | 2020-06-02T16:43:30.138502 | 2019-06-14T18:46:21 | 2019-06-14T18:46:21 | 191,232,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,214 | cpp | #include "ReadQueryManager.hpp"
#include <iostream>
#include <fstream>
#include <sstream>
#include <exception>
#include <cstring>
#include <unordered_set>
#include <map>
#include "json/json.h"
using namespace std;
ReadQueryManager::ReadQueryManager(string resourceFile) {
readResourceFile = resourceFile;
initiateRes... | [
"nana"
] | nana |
50aac50c23cb0bcfc979dc3517fc235f5d7826d0 | 7f2ea7911cde5a3d343cd536c7f66a08dbf4d47d | /recursos/almacen.h | 1b8d6a38afc0084e78ca53b4170c0e2d4075780c | [] | no_license | makoki13/QtSatrapia | fdc22cc74b865ccfcb478afba3b5b6e5fa4c8292 | 6e0746686cce63eebc45567f6449efab55561926 | refs/heads/master | 2022-07-14T12:00:43.891638 | 2020-05-21T22:50:10 | 2020-05-21T22:50:10 | 262,567,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | h | #ifndef ALMACEN_H
#define ALMACEN_H
#include "silo.h"
#include "QList"
class Almacen
{
private:
QList<Silo> silos;
public:
Almacen();
void addSilo(Silo silo);
};
#endif // ALMACEN_H
| [
"pablo.makoki@gmail.com"
] | pablo.makoki@gmail.com |
fed3890aaf004186bb3dd2ac5fe999bfaeba9828 | 2419a64ba14febae883ef8fd89502c750bdae10f | /TestFreeLicense/Renderer/RenderRoutine.hpp | 104c54953973a752e81b64ca125c9aadd83e4d4f | [
"Apache-2.0"
] | permissive | shuningzhou/PhysicsTest_Chapter2 | fb7760cb15a4b7fed0e1449d6f237809637a0d5b | ab8e19ce0346db0f8da6c465dfc2ae38fd07e9f4 | refs/heads/master | 2020-09-03T01:27:48.206363 | 2017-07-13T17:11:08 | 2017-07-13T17:11:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | hpp | //
// RenderRoutine.hpp
// PhysicsTest
//
// Created by TaoweisMac on 2017/5/29.
// Copyright © 2017年 TaoweisMac. All rights reserved.
//
#ifndef RenderRoutine_hpp
#define RenderRoutine_hpp
#include <stdio.h>
#include "GMath.h"
class ShaderProgram;
class RenderRoutine
{
private:
static RenderRoutine* instan... | [
"61197311@qq.com"
] | 61197311@qq.com |
69715fa6395859a1b20ff139e2aed8b49f5786a6 | 7f3e95e825b894a8d015b5905592757a0040220f | /2011/inc/dbBlendOptions.h | 4e8a7d6c36306cc222df378b9be7d18b10044362 | [
"MIT"
] | permissive | AliClouds/ObjectARXCore | b06e2d4bb59df2b45e56ec76d3abb843c7131009 | ce09e150aa7d87675ca15c9416497c0487e3d4d4 | refs/heads/master | 2021-05-28T05:19:12.593781 | 2014-05-08T01:23:33 | 2014-05-08T01:23:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,237 | h | //
#pragma once
#ifndef DBBLENDOPTIONS_H
#define DBBLENDOPTIONS_H
// (C) Copyright 2009-2010 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in... | [
"kevinzhwl@gmail.com"
] | kevinzhwl@gmail.com |
5b809d9709f2ce2d260bbb90675f66e374523af4 | 2b847e67fc98a9d3668c9e024f78ec7d7ada8108 | /Calculatrice/token.cpp | 3fcf73852a3db32da0eb423e90aae58533c46d62 | [] | no_license | nicolaslauzon/ws_git | 611f4cfdfd63559007047bd1e62c9bbc68eee222 | c60a38a7bc848e5d4eb4476e3b81f532c90155f2 | refs/heads/master | 2021-03-02T08:14:10.473803 | 2020-03-28T19:08:30 | 2020-03-28T19:08:30 | 245,851,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | cpp | #include "token.h"
Token::Token()
: token_type_(kUnknownTokenType)
{
}
Token::Token(const Token &token)
: token_type_(token.token_type_),
value_string_(token.value_string_)
{
}
Token &Token::operator=(const Token &token)
{
token_type_=token.token_type_;
value_string_=token.value_string_;
... | [
"nicolas.lauzon@derytele.com"
] | nicolas.lauzon@derytele.com |
2e8fd643047aaf18b6dd151c10205d5795948d71 | 6875a1db358d08f703785ddd4bf68e57877c2381 | /Chess/Math/Matrix3X3.cpp | 5cb38fc613bd16b2783f5a7da5f4df490d38240c | [] | no_license | JuhunC/3D_Chess | d31f90373b8df3fd6405066bc70fa547f2482409 | 23ddf7722d7e4e02feacc7f0393ebf6e6b2604dd | refs/heads/master | 2020-05-28T02:39:39.905508 | 2019-06-21T10:07:17 | 2019-06-21T10:07:17 | 188,857,124 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | cpp | /*
Authored by Prof. Jeong-Mo Hong, CSE Dongguk University
for Introduction to Computer Graphics, 2017 Spring
*/
#include "Matrix3X3.h"
| [
"joohun484@gmail.com"
] | joohun484@gmail.com |
cfbf4d558068f7efcbad281f18a7002d33370cb3 | 24389e70d9addf6749a32b2f7b9c42920943bd34 | /src/gspan.cpp | f2f59bd3eb044c11734036847f04a40e0b810b57 | [] | no_license | sirasirasira/rf_for_graph | 05652031e02907957f08bb534423e31bd7ed10c7 | a16fa3f867b9ac968525f40fce55de4f9a746381 | refs/heads/master | 2020-04-16T01:46:37.577678 | 2019-05-29T02:51:53 | 2019-05-29T02:51:53 | 165,184,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,359 | cpp | #include "Gspan.h"
#define CLASS Gspan
#include "Database.h"
#include "Calculator.h"
#include "Spliter.h"
extern Setting setting;
extern Database db;
void CLASS::run(const vector<ID>& targets) {
// std::cout << "debug" << std::endl; // debug
auto& gdata = db.gdata;
map<Triplet, GraphToTracers> heap;
for (auto ... | [
"ryo.shirakawa.recruit@gmail.com"
] | ryo.shirakawa.recruit@gmail.com |
3e2eea83528549e637058f17f890bddf0381157b | e72dc46aeb371dcdbce751d81baf6dc6100e0d41 | /src/sbsc_common_types.h | 56ef0ac68f229c3f47067c6b0615c6b013132124 | [
"Apache-2.0"
] | permissive | doswellf/combinator-hsq | 99f292aa0723c5b765475a818b0b310a6ab38303 | 23112c9560134bf249f4d0d177a04dbc89b32103 | refs/heads/master | 2020-12-24T13:28:17.418214 | 2014-04-12T02:48:58 | 2014-04-12T02:48:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,140 | h | /*
* sbsc_common_types.h
*
* Created on: Dec 21, 2012
* Author: fraser
*/
#ifndef SBSC_COMMON_TYPES_H_
#define SBSC_COMMON_TYPES_H_
//
// fractal growth of an hsq processor system and application
// steps:
// 1. build core system with basic resources allocated
// all fpga resources are configured for use... | [
"doswellf@gmail.com"
] | doswellf@gmail.com |
a3fcc794e3ca42147c25574cf627661ec7274f2c | 88702af3e9a54423b41f5998a3f7c3889c58bb21 | /CJListCtrl.h | 71a5298952fb67e156b5f6fb19188c0ad6cf64a0 | [] | no_license | crosslab/Borer | 58fe138e1abd686a78d372c9831c58ddcde5d34b | bf31c6079a8720a14b96503f1bb11aa3129a8870 | refs/heads/master | 2020-11-27T12:43:31.443533 | 2019-12-21T15:25:59 | 2019-12-21T15:25:59 | 229,444,443 | 2 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 10,354 | h | // CJListCtrl.h : header file
// Based on the CListView articles from http://www.codeguru.com/listview
//
// This source code may be used in compiled form in any way you desire.
// Source file(s) may be redistributed unmodified by any means PROVIDING
// they ARE NOT sold for profit without the authors expressed writte... | [
"crosslab@163.com"
] | crosslab@163.com |
a8e42da368d1a877f28ecf72b8c7363abb4d1394 | 15f68ae2cf5afdbfaccc545517ed60ccd735df56 | /src/deferredcancel.cpp | aaecebee31f48efa3feac67ce47fa2ebf8d189d2 | [
"Apache-2.0"
] | permissive | madmongo1/AMQP-CPP | de28ddd17d1321cd6326b9d22086f2e7e7fcc9dc | a522292e5bfff400f2cb95cd56aa38416c5051bd | refs/heads/master | 2021-01-18T16:55:30.360099 | 2017-08-18T18:45:47 | 2017-08-18T18:45:47 | 17,363,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | /**
* DeferredCancel.cpp
*
* Implementation file for the DeferredCancel class
*
* @copyright 2014 Copernica BV
*/
#include "includes.h"
/**
* Namespace
*/
namespace AMQP {
/**
* Report success for frames that report cancel operations
* @param name Consumer tag that is cancelled
* @return... | [
"emiel.bruijntjes@copernica.com"
] | emiel.bruijntjes@copernica.com |
47b8bee46bb1e8e47d62482b51aa1e36229d9f05 | f532dfc68d8ad1a6e7b8aaf5b7dbc92fbf0efc62 | /DX3D_10월22일 XFILE/DX3D/cMainGame.h | 8405e980c8be99a4a83ec68273748f24947047a9 | [] | no_license | NamYoonJae/InhaGame | 691fda687490fb70699f4018ac2888c0b08b5474 | 6e9872436cecccee44f97694f3a047a1d51d86ab | refs/heads/main | 2023-01-19T11:59:35.578386 | 2020-11-26T08:18:34 | 2020-11-26T08:18:34 | 305,272,697 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,328 | h | #pragma once
class cCubePC;
class cCamera;
class cGrid;
class cCubeMan;
class cLight;
class cGroup;
class cFrame;
class cMtlTex;
class cXFile;
class cMainGame
{
private:
//vector<ST_PC_VERTEX> m_vecLineVertex;
//vector<ST_PC_VERTEX > m_vecTriangleVertex;
cCubePC* m_pCubePC;
cCamera* m_pCamera;
cGrid* m_pGrid;
... | [
"nyoonjae@naver.com"
] | nyoonjae@naver.com |
e223c0c9d77f32c3e2dd75dee8446f5d4989dbd9 | b3855703d869cd7bde0414ba6462b2ea38192ae4 | /general_dev/serviceImpl/walkRaportService.cpp | 7e36754f78f6b20f5eb687636be4525d528b6a83 | [] | no_license | Yashchuk/diplom-1 | e2df49cee24e9f22079ca79ceeef9caefa956010 | 960824577d19bd87b50a4dd9538d361e1abe3d1b | refs/heads/master | 2021-01-20T22:54:58.063718 | 2015-06-23T07:58:29 | 2015-06-23T07:58:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | #ifndef __WALK_RAPORT_SERVICE__
#define __WALK_RAPORT_SERVICE__
#include "../orm/walkRaportORM.cpp"
#include <memory>
#include <thread>
#include <string>
class WalkRaportService
{
private:
WalkRaportORM walkRaportORM;
public:
WalkRaportService(sqlite3 * db) : walkRaportORM(db)
{
}
int save(WalkRaport walkRa... | [
"zhulvern-92@mail.ru"
] | zhulvern-92@mail.ru |
774eddf7e9382045b02b5439ae69786b927a0206 | 620e14eca3098c2dddd0a7e7f272168152865164 | /LSP/lsp_02/GestionFichier.h | 4347a0d4ca61e6d9c22e4579a240011d306971d5 | [] | no_license | kad15/SOLID_CPP | 54837dc33981e05e217fee5f6018332d54d53654 | 26a9e378a7ab6c6587794c2a059da3557c3caa2f | refs/heads/master | 2020-04-16T21:31:55.098695 | 2019-01-25T02:42:45 | 2019-01-25T02:42:45 | 165,928,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #pragma once
#include <string.h>
#include <iostream>
class GestionFichier
{
public:
virtual ~GestionFichier();
// Constructeur avec parametres
GestionFichier(const std::string & nomFichier, const std::string & contenu);
protected:
private:
};
| [
"kader.beldjilali@free.fr"
] | kader.beldjilali@free.fr |
d2b5427f57e6884dece2862926b6f0911823bca5 | 56dc1e8fff9dc7bda511ec06330d01c28e2e7daf | /sampingTest_pressureSensor/sampingTest_pressureSensor.ino | c97e81a97f6bfbdbb105b63e9980d7a5e5fa5a32 | [] | no_license | AdityaShandilyaS/Arduino | ec3532fa7ddb6a4f77d28a18588d5db776e21af7 | 543338a20b1c502798467d006d2de1d86c40e386 | refs/heads/master | 2022-11-16T02:31:08.208624 | 2020-07-12T14:43:59 | 2020-07-12T14:43:59 | 279,083,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | ino | #include <TM1637Display.h>
int threshold = 500;
int units_per_person = 30;
int p1, p2, p3, p4, p5;
int initial1, initial2, initial3;
long start = 0;
bool high_flag = false;
bool low_flag = true;
TM1637Display display(3, 2);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
display.s... | [
"aditya.shandilya.2693@gmail.com"
] | aditya.shandilya.2693@gmail.com |
22deacf82567acfc7658209fcbb9bbd5bf66556f | 7c903a3f246c36f1a24ccbd211c80c0ad0ab01c6 | /df-translate-hook-x32/csv_reader.h | 98099cbbb1bdc044ddc63c8c5ba30fe55abf3c5f | [] | no_license | aNNiPAk/df-translate-hook | cf54cd1df613a8949ed2d0c9aca46bb2914a6a1a | 5c35bbf632f24a561f3aed97dccbdc63ce7f1c2b | refs/heads/master | 2023-07-12T06:21:13.941970 | 2021-08-12T18:34:23 | 2021-08-12T18:34:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | h | #pragma once
#include <map>
#include <regex>
#include <string>
#include <fstream>
using std::map;
using std::smatch;
using std::regex;
using std::string;
using std::ifstream;
void Replace(string& subject, const string& search, const string& replace) {
size_t pos = 0;
while ((pos = subject.find(search, pos)) !... | [
"annipak@yandex.ru"
] | annipak@yandex.ru |
8c4e014984ede668852ab3b557a6afcd987e2789 | b71ca2da6d140312ad1d336b8105044da978ea23 | /src/game/main/Main.cpp | f087bb031c14422fd9c9e2b4db96feb26ab856fc | [] | no_license | danielbob999/Transport2D | 8e6ed44a61e27faaccca111357bc6e533347a0fb | 4d42122eb4869b38459d795635a87bacf7909f82 | refs/heads/master | 2023-08-28T23:20:35.284056 | 2021-10-16T00:41:03 | 2021-10-16T00:41:03 | 286,019,324 | 0 | 0 | null | 2021-10-16T00:41:03 | 2020-08-08T10:11:03 | C | UTF-8 | C++ | false | false | 6,060 | cpp | #include <iostream>
#include <string>
#include "../../core/core.h"
#include "../../core/console/Console.h"
#include "TestCompScript.h"
#include "../../core/objectsystem/ComponentScript.h"
#include "../../core/objectsystem/Object.h"
#include "../../core/objectsystem/AudioComponent.h"
#include "../../core/objectsystem/Re... | [
"noreply@github.com"
] | danielbob999.noreply@github.com |
8f58ea70ae5adac7c1ef51b05dd3d595a1a7410e | ce93985fae06976c8a127f58edaea8501baff07d | /lab_03/lab03/glutfunc.cpp | f639e01a01e33405c2d7bd6b0704c5d50fad136b | [] | no_license | anhud/poly_cpp | 27276ec06c2e2e647345f9cdab563d99da5a1c87 | 5be575e77b59e08055e26bff819f06a5d7c0ce24 | refs/heads/master | 2023-01-31T01:33:56.252671 | 2020-12-15T14:40:02 | 2020-12-15T14:40:02 | 290,545,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | #include "pch.h"
#include "glutfunc.h"
bool CheckIfInteger(const std::string & s)
{
if (s.empty() || ((!isdigit(s[0])) && (s[0] != '-') && (s[0] != '+'))) return false;
char * p;
strtol(s.c_str(), &p, 10);
return (*p == 0);
}
void ProcessSpecialKeys(int key, int x, int y) {
menu *current_menu = GetCurrentMenu(... | [
"anhud0000@gmail.com"
] | anhud0000@gmail.com |
57f941803de7324b7907c08ca20b845d2ee5e95c | 0d85bc86dc72603ea158a54422aafbd0885206c0 | /ABC/168/mainb.cpp | d00f60594eefd099578f2de9a294327fb2a924a2 | [] | no_license | heppokoyaro/heppocode | 8ec83b724a38f297d5f17351fcaaed6753b76e58 | 34dd9d7fbfcaf9cfedea71141aa6e99e0413225e | refs/heads/master | 2021-05-17T11:55:24.187207 | 2020-11-02T16:03:18 | 2020-11-02T16:03:18 | 250,763,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i = 0; i < (int)(n); ++i)
using P = pair<int,int>;
using ll = long long;
static const int INF = 1000000000;
static const ll MOD = 1000000007;
int main(){
cin.tie(nullptr);
ios_base::sync_with_stdio(false);
int k;
string s;
cin >> k >> s;
... | [
"62793023+heppokoyaro@users.noreply.github.com"
] | 62793023+heppokoyaro@users.noreply.github.com |
0861a617cf77b500170b09c1aaf109cec5bcaf3b | e4d9847466fedf392f91d8a839097fb613e54c59 | /src/testPacketScheduler.cpp | e85fbfca22a6ddeb438bb2765ef65b27ae7d5699 | [] | no_license | lgong30/GPS | 5cd4bb3c7f0c20a8d3c9db5ebeb84adad744aca9 | 516c61df9817109c13cc666c8a8b02f43ecac001 | refs/heads/master | 2021-01-10T08:43:24.985782 | 2016-03-23T14:12:36 | 2016-03-23T14:12:36 | 54,565,042 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | cpp | #include <iostream>
#include "packetScheduler.hpp"
int main()
{
std::string input("C:/Users/gtuser/Desktop/demo_packet_schedulers/packets.dat");
try{
PacketScheduler ps(input);
ps.print();
ps.run();
}
catch(std::runtime_error& e)
{
std::cout << "Encounter runtime error while running the simulator: \n"
... | [
"mr.gonglong@outlook.com"
] | mr.gonglong@outlook.com |
1541f65e79ee5a18a817c5d9b6fae39e2ec3390c | d61c47c334b5c341dc4266b1dc7d79be318669c7 | /uva-102.cpp | d0452cbfe52a160f6a1baf448387a2bdbcd9aebd | [] | no_license | OmegaXi/UVA-102 | 7e937041308dcf6a7fbc65d3c76288dab5fb38f4 | 693d12dcc4d59c5941c3cc2bbcbe2be9e66ff4fb | refs/heads/master | 2020-12-31T07:41:27.652543 | 2017-03-29T04:50:05 | 2017-03-29T04:50:05 | 86,539,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | #include<cstdlib>
#include<cstring>
#include<cstdio>
char type[6][4]=
{
"BCG","BGC","CBG",
"CGB","GBC","GCB"
};
int table[6][9]=
{
0,1,1, 1,1,0, 1,0,1,
0,1,1, 1,0,1, 1,1,0,
1,1,0, 0,1,1, 1,0,1,
1,1,0, 1,0,1, 0,1,1,
1,0,1, 0,1,1, 1,1,0,
1,0,1, 1,1,0, 0,1,1
};
int data[9];
int main()
{
while(scanf("%d",&... | [
"641010761@qq.com"
] | 641010761@qq.com |
7b3245ed5a21ba53b78df8863a665e79964bf5fe | 7ef501f5f1713c69f08e9d16ecdd76c62428bee8 | /scriptcreator.h | f584295f74d756bb40c35dff19ea4c58474f90d5 | [] | no_license | jindojojin/demoR | 0a17c6d873e56daa8f362bc62685e3755e27e927 | cb70a39b0121316f6415198e47e226dad33368f1 | refs/heads/master | 2020-03-06T14:25:06.947724 | 2018-03-27T05:58:58 | 2018-03-27T05:58:58 | 126,935,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | h | #ifndef SCRIPTCREATOR_H
#define SCRIPTCREATOR_H
class ScriptCreator
{
public:
void createStandard();
void createComprehensive();
void createCustom(bool * options);
private:
bool copyScript(QString sourceDir, QString destinationDir, bool overWriteDirectory);
};
#endif
| [
"tranquanglinh.pt@gmail.com"
] | tranquanglinh.pt@gmail.com |
f66149d40e96af87c792a896c47aab149d0498ed | b42ff57503362bd3771b2509335a5bfcec05c452 | /utils/intermodulebus/intermodulemsgmgr.cpp | 8f7f2d6880118401d27934fd8ff4ca0fed723af4 | [] | no_license | yinzhi009/lib | fbda036d06e6cfb35dffa9fb36316f13b6a206b0 | db96f6164db7858fa10b7b5bff2410641eca9932 | refs/heads/master | 2020-05-22T13:34:06.188057 | 2019-05-13T07:15:03 | 2019-05-13T07:15:03 | 186,362,791 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | cpp | #include <QThread>
#include "intermodulemsgmgr.h"
#include "mymsgqueue.h"
#include "absmsgobj.h"
InterModuleMsgMgr::~InterModuleMsgMgr()
{
m_msgq->deleteLater();
// free thread
{
m_thread->quit();
m_thread->wait(1000);
if (!m_thread->isFinished())
{
m_thread->t... | [
"yinzhiran@swjtu-richusn.com"
] | yinzhiran@swjtu-richusn.com |
29037bf68c860cf677979d13fe2dabf992184cfc | d6e9f5ab0689d4edd1d9da90985d6bf02dc1b708 | /InterviewPrep/Arrays/kadanes.cpp | 614b00875c9cbfe443fcffb5c246ebedc97ce3b5 | [] | no_license | Dhruvik-Chevli/Code | 30af2133f7f55404bf47a1bf87b372aa93461ba2 | 615a599c1e5e6406f50c316cebe357cc86486a6f | refs/heads/master | 2022-12-21T03:00:29.650021 | 2020-09-24T21:21:23 | 2020-09-24T21:21:23 | 260,184,858 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,155 | cpp | #include <iostream>
#include<vector>
#include<algorithm>
#include<utility>
#include<string>
#include<unordered_set>
#include<stack>
#include<queue>
#include<limits.h>
#include<unordered_map>
using namespace std;
typedef long long int ll;
#define EPS 1e-9
#define pb push_back
#define FOR(i, a, b) for(ll i = a; i < b; i... | [
"dhruvik.chevli@gmail.com"
] | dhruvik.chevli@gmail.com |
511e106089f6bf36bf4997c297df71da338441aa | 085d0d0e8655dc35a22214ffb63f4d157b61bfb0 | /8.12/Let the light guide us.cpp | 7e92df0cef08aa1376e9952fe0a36dc5771904b1 | [] | no_license | songzhaozhe/ACM | 9cacd339d9d27377147c475fb87c3f3e6129ebc3 | 27679ce2f8b179991d1f68d57c66d5d8d9ab202d | refs/heads/master | 2021-01-18T14:28:49.151889 | 2015-09-12T05:45:36 | 2015-09-12T05:45:36 | 39,827,610 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,458 | cpp | #include<iostream>
#include<cstdlib>
#include<cmath>
#include<cstring>
#include<string>
#include<cstdio>
#include<algorithm>
#include<vector>
#include<set>
#include<map>
#include<sstream>
#define lc (o<<1)
#define rc ((o<<1)|1)
using namespace std;
typedef long long LL;
const LL MOD=1000000007;
const int maxn=5010;
c... | [
"songzhaozhe@126.com"
] | songzhaozhe@126.com |
de79d8324c20e65d57955c9a80603814cef36e80 | e217eaf05d0dab8dd339032b6c58636841aa8815 | /Ifc4/src/OpenInfraPlatform/Ifc4/entity/IfcThermalResistanceMeasure.cpp | 61e864c30507ab4520c95a4835f240a7411a55f5 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 1,704 | cpp | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#include <sstream>
#include <limits>
#include <map>
#include "OpenInfraP... | [
"julian.amann@tum.de"
] | julian.amann@tum.de |
d92c9e2ab8edcf0cc8235f19fa4bc08bdc6a8e31 | 8cc3669da4acab5f59044c975c79825e5264abe4 | /TGIPPCodec/ippsrc/umc/include/umc_module_context.h | 5d87fa5bebc80936905be12a733d9b120d1c2fe3 | [] | no_license | zhandb/tegrenys | f9af6def3e2b57c46d1dddf2986e4a9e5df51503 | d4393ff296728b105e35a8a6e90dd244c7d7c19a | refs/heads/master | 2021-01-10T01:46:22.878155 | 2013-01-24T19:08:40 | 2013-01-24T19:08:40 | 47,877,683 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | h | /*
//
// INTEL CORPORATION PROPRIETARY INFORMATION
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Intel Corporation and may not be copied
// or disclosed except in accordance with the terms of that agreement.
// Copyright (c) 2003 - 201... | [
"np2001@list.ru"
] | np2001@list.ru |
c5d25c1d8a1aa41e0b9daadd94df93b8c6dd04e8 | d23ddbb7f03e7b5bb594521eecc4907b1c664c6b | /source/byte_pair.cpp | e0cff16b0a3fed94b4f6fad62701db1c508f1d4e | [] | no_license | fedor4ever/elf2e32 | 3866f9dbff0c1ef05174ffc97109cddfad3127f0 | ecfc39742dce03f3a5f4d83db18e8c1f395f3c47 | refs/heads/master | 2021-01-23T01:06:55.388846 | 2020-07-26T15:59:50 | 2020-07-26T16:01:24 | 85,869,242 | 5 | 2 | null | 2020-05-01T08:50:34 | 2017-03-22T19:43:54 | C++ | UTF-8 | C++ | false | false | 8,585 | cpp | // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies).
// Copyright (c) 2017 Strizhniou Fiodar
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at... | [
"fedor_qd@mail.ru"
] | fedor_qd@mail.ru |
414366cf8adea1deaabb19c87ecd5d9c9575533e | 117a64c9b6961d396800a37bd69b759c0c57af3b | /Classes/newresource/cocos2d-x/cocos/editor-support/spine/TransformConstraintTimeline.h | 8e283b10dccf1618d33e182f2181b35368c26e14 | [] | no_license | xiaoxin112/QRTextLib | 2e6d8570259bd54d4677894c628b0272a8d8b63c | af3bfe72a80edc7125b0e6153a9b443550a26262 | refs/heads/master | 2022-04-16T12:07:01.334271 | 2020-04-15T07:07:12 | 2020-04-15T07:07:12 | 114,727,733 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,775 | h | /******************************************************************************
* Spine Runtimes License Agreement
* Last updated January 1, 2020. Replaces all prior versions.
*
* Copyright (c) 2013-2020, Esoteric Software LLC
*
* Integration of the Spine Runtimes into software or otherwise creating
* derivative... | [
"lixinke@adinnet.com"
] | lixinke@adinnet.com |
2800761e51c4adc73722934f9210547207e928df | 5f2839904e96c6328b37641825c51b9fb1723c5b | /ramulator/src/DDR4.h | bcab8fcbe7ac0e5d436f00cf432dce4502824e45 | [
"MIT"
] | permissive | wxbbuaa2011/CROW | 94b5558f241d73c707d0cd2b56d43ce02976d80c | 7f0e6721b0980f176813f9d131143a844ae48cdc | refs/heads/master | 2020-09-07T01:17:49.121706 | 2019-08-02T07:50:20 | 2019-08-02T07:50:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,705 | h | #ifndef __DDR4_H
#define __DDR4_H
#include "DRAM.h"
#include "Request.h"
#include "Config.h"
#include <vector>
#include <functional>
using namespace std;
namespace ramulator
{
class DDR4
{
public:
static string standard_name;
enum class Org;
enum class Speed;
DDR4(Org org, Speed speed);
DDR4(con... | [
"hasan.hasan@inf.ethz.ch"
] | hasan.hasan@inf.ethz.ch |
d70618b0d00f63110933fd6ab17b9bd0096fc615 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_2483_collectd-5.6.2.cpp | bd0621b2300330fc6eb0440095f5c8315a01050b | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | cpp | static int dispatch_loadplugin(oconfig_item_t *ci) {
const char *name;
unsigned int flags = 0;
plugin_ctx_t ctx = {0};
plugin_ctx_t old_ctx;
int ret_val;
assert(strcasecmp(ci->key, "LoadPlugin") == 0);
if (ci->values_num != 1)
return (-1);
if (ci->values[0].type != OCONFIG_TYPE_STRING)
return ... | [
"993273596@qq.com"
] | 993273596@qq.com |
883cb86b60e692fe6fae34b9b8736f8dbb31317f | c2e554035bf004b00eb65297bbe5fc3112f7a56a | /Cpp primer plus/Chapter15/15_3/exc_mean.h | 5252c3e03bb10645945250f6f55f09177659b0d7 | [] | no_license | Achilles-10/Cpp_program | 2352f5ab070ec425377a058c655cfdc78c08f734 | 749805f4c2b0931d27111b75f5bf2c312f65b4a6 | refs/heads/master | 2018-10-29T19:20:51.821057 | 2018-10-10T14:47:09 | 2018-10-10T14:47:09 | 117,975,887 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | h | #include <iostream>
#include <string>
#include <stdexcept>
class My_exception : public std::logic_error {
private:
double v1;
double v2;
std::string funname;
public:
My_exception(double a, double b, const std::string &f = "none",
const std::string &s = "invalid arguments")
: v1(a), v2(b), funname(... | [
"1029991674@qq.com"
] | 1029991674@qq.com |
8228d96b78b7c6c990db941b8796f6a2bf00196d | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /content/common/partition_alloc_support.h | 7869842cd909ac859eb272f96347ed847ca5e9e8 | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 3,103 | h | // Copyright (c) 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_COMMON_PARTITION_ALLOC_SUPPORT_H_
#define CONTENT_COMMON_PARTITION_ALLOC_SUPPORT_H_
#include <string>
#include "base/allocator/build... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
5992f0b53649204c750e631bf50f19d397b977b8 | 97aab27d4410969e589ae408b2724d0faa5039e2 | /SDK/EXES/INSTALL VISUAL 6 SDK/LEGACY/MSDN/SMPL/SMPL/MSDN/techart/5182/finctrs.cpp | a984cdc72c65601f18835f994b3de802365beaef | [] | no_license | FutureWang123/dreamcast-docs | 82e4226cb1915f8772418373d5cb517713f858e2 | 58027aeb669a80aa783a6d2cdcd2d161fd50d359 | refs/heads/master | 2021-10-26T00:04:25.414629 | 2018-08-10T21:20:37 | 2018-08-10T21:20:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | // FinCounters.cpp : Implementation of IPerfmonObjectImpl
#include "stdafx.h"
#include "FinSrvr.h"
#include "FinCtrs.h"
long CFinCounters::m_numSessions = 5;
STDMETHODIMP CFinCounters::InterfaceSupportsErrorInfo(REFIID riid)
{
static const IID* arr[] =
{
&IID_IPerfmonObject,
};
for (int i=0;i<sizeof(arr)/sizeo... | [
"david.koch@9online.fr"
] | david.koch@9online.fr |
6e9596ac8846fe7a7984cc6b5c34994f9e73bd0e | 2de8f5ba729a846f8ad5630272dd5b1f3b7b6e44 | /src/server/gameserver/skill/EffectGrayDarkness.cpp | c3bbebb2bfc92f293039305e1da04a5a3dd7579e | [] | no_license | najosky/darkeden-v2-serverfiles | dc0f90381404953e3716bf71320a619eb10c3825 | 6e0015f5b8b658697228128543ea145a1fc4c559 | refs/heads/master | 2021-10-09T13:01:42.843224 | 2018-12-24T15:01:52 | 2018-12-24T15:01:52 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,194 | cpp | //////////////////////////////////////////////////////////////////////////////
// Filename : EffectGrayDarkness.cpp
// Written by : elca
// Description :
//////////////////////////////////////////////////////////////////////////////
#include "EffectGrayDarkness.h"
#include "Creature.h"
#include "Zone.h"
#include ... | [
"paulomatew@gmail.com"
] | paulomatew@gmail.com |
bb3c8277dba82e1993a0d83686782eb773d8f425 | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/protocols/simple_filters/DeltaFilter.hh | e87b848a00395a1f485e94b9b52be636e6780c18 | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,320 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
d80af2c04ea03188b2a559adf3c86a1b30915a68 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_log_6174.cpp | 7950333742a636eb74896c1e94e97cb85ae50104 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | ap_log_error( APLOG_MARK, APLOG_INFO, 0, s, APLOGNO(03090)
"mod_http2 (v%s, nghttp2 %s), initializing...",
MOD_HTTP2_VERSION, ngh2? ngh2->version_str : "unknown"); | [
"993273596@qq.com"
] | 993273596@qq.com |
63eeaff2edeff3b081ea828f43003c16e6e3a1ec | b7f1b4df5d350e0edf55521172091c81f02f639e | /chrome/browser/chromeos/printing/printer_configurer.h | ee26b392e77110315d861b13c96f4230beab2562 | [
"BSD-3-Clause"
] | permissive | blusno1/chromium-1 | f13b84547474da4d2702341228167328d8cd3083 | 9dd22fe142b48f14765a36f69344ed4dbc289eb3 | refs/heads/master | 2023-05-17T23:50:16.605396 | 2018-01-12T19:39:49 | 2018-01-12T19:39:49 | 117,339,342 | 4 | 2 | NOASSERTION | 2020-07-17T07:35:37 | 2018-01-13T11:48:57 | null | UTF-8 | C++ | false | false | 2,506 | h | // Copyright 2017 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 CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_CONFIGURER_H_
#define CHROME_BROWSER_CHROMEOS_PRINTING_PRINTER_CONFIGURER_H_
#include <memory>
#include ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4b909983cb054e898466b3b5b771cfc4583570ae | bdff7e2a59e5b266f82b7ab34ac4f44a00413adb | /Operating-Sys-and-Concurrency/OS-Falcon/LIONHEART/BrighamMichaelis.hpp | a6925981c0bef51047ba0efea6cf77995fa51d01 | [] | no_license | BrighamM/Course-Work-Archive | 256ffcabce672e8f7a09c7d2cc67b4b0f4e9b096 | 2e92872e36b86425f1d52b835f277a28772b2763 | refs/heads/master | 2023-06-23T14:50:26.685535 | 2021-05-15T22:25:07 | 2021-05-15T22:25:07 | 119,736,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | hpp | #ifndef LIONHEART_BRIGHAM_MICHAELIS
#define LIONHEART_BRIGHAM_MICHAELIS
#include "Player.hpp"
namespace lionheart
{
/*The : public Player bit allows this code to interact with the framework code
* provided. If your class file is Name.hpp the class needs to be named Name or
* the framework code will not be able to f... | [
"brigham.michaelis@gmail.com"
] | brigham.michaelis@gmail.com |
0d9dfff3545228d4a7a27fc96c954e2e16fa3a95 | 4091503c72a667539f8d338b01e5d562a89fc0c8 | /ICP/src/qt/square.h | 0618a751f321b0562fb4860c8c064df7262d4110 | [] | no_license | mienkofax/FIT_MIT_projects | 926b7edcd3ecb65455017d6e79ac1f8611cb8e12 | 778c23ae8904582d40dc1a8663f0519747332b4f | refs/heads/master | 2022-01-23T09:16:38.994490 | 2019-06-23T07:55:49 | 2019-06-23T07:55:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | h | /**
* @file square.h
* @author Klára Nečasová <xnecas24>
* @author Peter Tisovčík <xtisov00>
*/
#ifndef SQUARE
#define SQUARE
#include <QGraphicsPolygonItem>
#include <QGraphicsSceneMouseEvent>
#include <QMessageBox>
#include <QObject>
/**
* Trieda reprezentujuca jeden stvorec hracej dosky.
*/
class Squa... | [
"xtisov00@stud.fit.vutbr.cz"
] | xtisov00@stud.fit.vutbr.cz |
06ee6ee9d3b48f8a5b98dc351591b92360c30763 | 4458b8968ab0e7427f91d2a7471c60ee3e1245df | /2.2.2/agc011_a.cpp | 9e339e9b735028c99af655ac9837c6403a2d7083 | [] | no_license | knknkn1162/ant_competitive_solution | 89be79bce55cec33db18ce7dd87b919c16f7a655 | 03c6db143a63680387614c734e77ae0c3f428b9a | refs/heads/master | 2022-11-16T12:56:56.056393 | 2020-07-13T08:47:48 | 2020-07-13T08:47:48 | 258,682,506 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,946 | cpp | #include <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstd... | [
"knknkn1162@gmail.com"
] | knknkn1162@gmail.com |
323299b461037347eba1ade5be50bc910fd6b9cf | d84852c821600c3836952b78108df724f90e1096 | /File_Exam/2558/Term2/02204111/final/716/4_2_716_5720500065.cpp | dcd1d4e2cf16e4617551c207e99d4ac73ebd11c6 | [
"MIT"
] | permissive | btcup/sb-admin | 4a16b380bbccd03f51f6cc5751f33acda2a36b43 | c2c71dce1cd683f8eff8e3c557f9b5c9cc5e168f | refs/heads/master | 2020-03-08T05:17:16.343572 | 2018-05-07T17:21:22 | 2018-05-07T17:21:22 | 127,944,367 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | #include<iostream>
using namespace std;
int main(){
int i,j;
float sum=0,a[5][4],avg,b=a[3][0];
for(i=0;i<5;i++)
{cout<<"Give the number of passengers of day "<<i+1<<": ";
for(j=0;j<4;j++)
{cin>>a[i][j];}
cout<<endl;
}
for(i=0;i<5;i++)
{sum=sum+a[i][0];}
cout<<"Total passenger for route 101 is : "<<sum<<endl;
for(i=0;i... | [
"38048354+btcup@users.noreply.github.com"
] | 38048354+btcup@users.noreply.github.com |
f60a3ee5431d3ac35af553646d7420962e78f73a | 695bf5d34ff57211da718b69a872e64bcef294db | /c_keccak/do_keccak.hpp | ec4dd41899c1964f83d4653a03285f89aaf195a4 | [] | no_license | snow-flake/monero-cpu-miner | 8df4d35b7edab5e6051199bdf0f2a0dc55b88490 | 0259f7c25807ed968390ed66f5dcbb89c726baa9 | refs/heads/master | 2021-09-02T03:16:35.565906 | 2017-12-29T22:08:59 | 2017-12-29T22:08:59 | 115,757,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | hpp | //
// Created by Snow Flake on 12/28/17.
//
#ifndef MONERO_CPU_MINER_DO_KECCAK_H
#define MONERO_CPU_MINER_DO_KECCAK_H
#include <stdint.h>
// compute a keccak hash (md) of given byte length from "in"
int do_keccak(const uint8_t *in, int inlen, uint8_t *md, int mdlen);
// update the state
void do_keccakf(uint64_t st[2... | [
"glenn+snow_flake@mercury-wireless.com"
] | glenn+snow_flake@mercury-wireless.com |
aae33db6934778c903c8616ef83ba358239dd179 | 18448567e89e661bfa04d0234a95f3278dcb5d3a | /vpart/pbab.hpp | 70239b91412cbc525a78579d3105a38ff37ec8e5 | [] | no_license | slesarev-hub/Database-vertical-partitioning | 2e0c855ec197106df25614d6f88772bdb79d7bf3 | 7de71ec3ff4655e1764fd8e1f73b3964cc28743b | refs/heads/master | 2020-03-28T06:47:46.359913 | 2019-04-30T20:08:46 | 2019-04-30T20:08:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,758 | hpp | #include <tbb/tbb.h>
#include <cstdlib>
#include "bab.hpp"
template<class Node> class BABTask : public tbb::task {
using BoundType = typename Node:: bound_type;
Node current;
static Solution* solution;
static BoundType* best;
static bool return_first;
static tbb::spin_mutex solution_mutex;
... | [
"alexandrslesarev16@gmail.com"
] | alexandrslesarev16@gmail.com |
c4187ab0c2528a41b6044187ebd2959d27d5b93c | 13a3fd6c39c77ef75e494b82eeb59eeec482f545 | /ex_3/3_8.cpp | db0449f9bf09e7158c29761a8a19c1d69f3a88b1 | [] | no_license | wu-jrx/cpp_primer | 005d55aa74844d6b01bbc2e3828e62e6aa30620b | 416edd261f659e8a77c38cc1e3ca3bd1c18edc4a | refs/heads/master | 2020-12-09T05:48:36.988719 | 2020-02-02T14:06:43 | 2020-02-02T14:06:43 | 233,210,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | #include <iostream>
#include <string>
using std::cin;
using std::cout;
using std::getline;
using std::endl;
using std::string;
int main() {
string s1 = "Hello world!";
string s2 = "Nice job";
decltype( s1.size() ) N = 0;
while( N < s1.size() ) {
s1[N] = toupper( s1[N] );
N++;
}
... | [
"wu_jrx@163.com"
] | wu_jrx@163.com |
d94cc9ebde557b0bc263a825d549bef19ec42b8a | 0dac6250205dc785865271626e1652b9165a48a8 | /practise/tufurama.cpp | 65a859a8942c0ad7760f4af64614d190b99f1e26 | [] | no_license | vsricharan16/cp | e8e23e10f541dbacedf1dc32101eae3e1242f242 | 900442795281072c490b99ef5dbb0aa4511b42a4 | refs/heads/master | 2021-09-15T12:42:38.857093 | 2018-06-01T18:01:19 | 2018-06-01T18:01:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | cpp | /*I shall rise*/
#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) f(i,0,n)
#define charan int main()
#define vi vector< int >
#define vl vector< ll >
#define mod (1000*1000*1000+7)
#define ll long long
#define pb push_back
#define mp make_pair
#define f(i,a,b) for(ll i=a;i<b;i++)
#define fd(i,a,b) for(ll i... | [
"cs16btech11044@iith.ac.in"
] | cs16btech11044@iith.ac.in |
40c4ccbc6d84ddf56c5299614678236dca72e130 | 254cf4fb17789cb832d4a73443b60b177fcabd15 | /src/pointers/Pointer1.cpp | 3e3ee9042cc8b13d8390624ad69f47395cd78650 | [] | no_license | seokwookim-star/CSE241-src | a6314fa130df96f363b4cb21c11cd0a4d4c65f60 | dea573ca2426ce95a9a354718731d7772d3f8f87 | refs/heads/master | 2020-11-26T13:18:04.840046 | 2019-12-11T17:11:51 | 2019-12-11T17:11:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | #include <iostream>
using namespace std;
int main()
{
int var = 10;
int *p1 = &var;
int* p2 = &var; // A compiler does not care about the space between "int" and "*".
int *p3 = p1;
// int *p1 = &var, *p2 = &var, *p3 = p1;
cout << "p1: " << p1 << '\n';
cout << "p2: " << p2 << '\n';
co... | [
"jooyong@unist.ac.kr"
] | jooyong@unist.ac.kr |
6648de65a25ed37895fdf2fc039ae1c26646e87b | a4e3f58154c349f951066c61db4c2e23ddb095ce | /OpenFoam_Cases/Channel_14124_M2/processor2/19000/p | a45687ae8bb9cdbf1b9550fe45ac31b269024490 | [] | no_license | dikshant96/Thesis_OF1 | a53d1b01b19e9bf95f4b03fc3787298b8244c1c5 | 2c6ed256347a2e32611a93e117022d9aa1ff3317 | refs/heads/master | 2020-09-11T01:59:25.606585 | 2019-11-15T11:04:11 | 2019-11-15T11:04:11 | 221,902,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,275 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"dikshant.sud@gmail.com"
] | dikshant.sud@gmail.com | |
7cd71bd92ef35530d95bdcbfb3bd5b471a3173c3 | 18ed50d7c9de5d520059b2bb9d998d17a253c711 | /JSONValue.cpp | e4c3f6e874f96019104104730258b0c195d46f50 | [] | no_license | wbwiltshire/SimpleJSON | e45d08ac09d432ae1885207baee9d4b30b486e94 | 9abfbbd70140ab8c6eed33532a10a6e700581e8a | refs/heads/master | 2021-05-09T04:58:49.903194 | 2018-01-28T20:22:47 | 2018-01-28T20:22:47 | 119,294,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,066 | cpp | /*
* File JSONValue.cpp part of the SimpleJSON Library - http://mjpa.in/json
*
* Copyright (C) 2010 Mike Anchor
*
* 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, includin... | [
"triplesticks62@gmail.com"
] | triplesticks62@gmail.com |
9b71a6387adadd624fc0f4391bf9a64fc3c4478b | 72d8bd35b3be639a4be081de1786d031c9e9a1a9 | /PreOrderMXForm.cpp | 224c37973973e609b9a115add194a0cbb64285e9 | [] | no_license | bravesoftdz/IC-Info | 69bb6d30c130dc29da2b51262b542f95079fcf53 | e07e745a69ea2181d2fa05ad5fc2cc7b07711827 | refs/heads/master | 2020-03-08T06:40:20.549679 | 2014-11-20T11:51:14 | 2014-11-20T11:51:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 33,375 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "PreOrderMXForm.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "cxButtons"
#pragma link "cxClasses"
#pragma link "cxContain... | [
"47157860@qq.com"
] | 47157860@qq.com |
9c1e4d3474faddf22b3a717cf3ea0fbe888d9c18 | 8a5f8dfdd038590a579d14a84558cce2bb930b22 | /AICamera/app/src/main/cpp/caffe2/quantization/server/dequantize_dnnlowp_op.cc | 194bdea9d79cfd745662fb9ca7c98febddcb179d | [
"MIT"
] | permissive | blackxer/AICamera | ebc94c663e6f2ea6e8c81290a64bce4e7d369ed9 | 4f0a6a09a2288da2ec7140744b5c2862df114c78 | refs/heads/master | 2020-08-11T19:53:42.388828 | 2019-10-16T01:19:59 | 2019-10-16T01:19:59 | 214,616,987 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,908 | cc | #include "dequantize_dnnlowp_op.h"
#include "caffe2/core/tensor_int8.h"
#include "caffe2_dnnlowp_utils.h"
namespace caffe2 {
template <typename T>
DequantizeDNNLowPOp<T>::DequantizeDNNLowPOp(
const OperatorDef& operator_def,
Workspace* ws)
: Operator<CPUContext>(operator_def, ws),
qfact... | [
"zhangwei@egova.com.cn"
] | zhangwei@egova.com.cn |
17c1871c083aa87449f6e783284d8063472ef1a1 | 162a26801e13863113dc8efea2b51f7c1dfc61fb | /codeforces/1365/B.cpp | 64c8d5805b140d5a1a808d17dc2ce4626094b1df | [] | no_license | wuyuhang422/OI-Code | a0c415dd64fbe3b9413799eefc436d3d6e8b6cf4 | ddd9cc0c848d7f1f9ca2e63be8421ce385de5a2e | refs/heads/master | 2023-03-11T09:30:11.733537 | 2021-02-19T06:35:00 | 2021-03-04T13:25:15 | 323,195,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | #include <algorithm>
#include <iostream>
#include <cstring>
#include <climits>
#include <cstdlib>
#include <cstdio>
#include <bitset>
#include <vector>
#include <cmath>
#include <ctime>
#include <queue>
#include <stack>
#include <map>
#include <set>
#define fi first
#define se second
#define db double... | [
"wuyuhang422@gmail.com"
] | wuyuhang422@gmail.com |
970f1fc3bb9b0bb1c67a9b6f7032e2709d768991 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/modules/service_worker/service_worker_module_tree_client.cc | fa1c33f498ae4a2ee5b721d760842e106030a637 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | 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,358 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/service_worker/service_worker_module_tree_client.h"
#include "third_party/blink/renderer/core/execution_cont... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
14a839d1013edacc6cb8842420673174ada9e82d | 26bb3deb772b21359c66623d9c92cb532256dc92 | /src/Tetris.cpp | 42593d8aa23b164580029f5a6eaa3e2b03f4825e | [] | no_license | HukumaM/Tetris_SFML | e07849392d35732b8bd7d7d16b99f88108263b1a | deaf2d256ced2a7df1bfe6878085424995703d7c | refs/heads/master | 2023-07-13T13:31:09.375342 | 2021-08-15T20:00:36 | 2021-08-15T20:00:36 | 354,067,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | cpp | #include "Tetris.hpp"
#include "Menu.hpp"
Tetris_Game::Tetris_Game()
: m_context(std::make_shared<Context>())
{
m_context->m_window->create(sf::VideoMode(WIDTH_LOW, HEIGHT_LOW), "Tetris",
sf::Style::Titlebar | sf::Style::Close);
m_context->m_states->PushState(std::ma... | [
"nik.mashtalirov@yandex.ru"
] | nik.mashtalirov@yandex.ru |
a98034f2a9305844dce091af9f681205a9452933 | 26f474b0ff8508710d0dfa65c3c15faa0e490a90 | /src/TextualUserInterface.cpp | 4df3d76ce8d8a2ff54da8b7f1b4c6376b7702a0d | [] | no_license | denizakcal/Winter-2018_Project | b935e544e0c78d8191ec4631863f03b0e723e2fb | 055a18f3a80b7f934c96562df60f88ac0239d8af | refs/heads/master | 2021-05-09T15:35:18.923565 | 2018-04-12T03:02:23 | 2018-04-12T03:02:23 | 119,094,854 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,979 | cpp | #include "TextualUserInterface.hpp"
#include <map>
#include "Graph.hpp"
#include "RegionsOfMaps.hpp"
#include "RegionsOfMapsHelper.hpp"
#include "GameBoard.hpp"
#include "VertexData.hpp"
#include "VertexDataHelper.hpp"
TextualUserInterface::TextualUserInterface(std::vector<Player*> players, bool* isPaused, int* turnOf... | [
"denizakcal@mail.com"
] | denizakcal@mail.com |
4195fdbbe399756edc9d7f3db13093383997bb2b | 8ce89451c1e9a6545b5b85ebd06221825cc8dfe2 | /Term 3/Lab.3/Visitor.h | 0a6f0bb6091d45d27fce62b07e591db14fc75de3 | [] | no_license | bolulka/Programming | cbff4f83fa7ff026a43d5f86da1d407d7ebf1339 | 5bd92a7fd08eb58c8e85f66e9c3aa2d5eb38e8fa | refs/heads/main | 2023-03-02T22:45:28.746396 | 2021-02-12T19:56:11 | 2021-02-12T19:56:11 | 338,409,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | h | #pragma once
#include "Model.h"
class Visitor // Visitor
{
public:
virtual void visit(int) = 0;
};
class SumElementVisitor : public Visitor {
public:
void visit(int item) {
sum += item;
}
int getSum() const { return sum; }
private:
int sum = 0;
};
class T... | [
"noreply@github.com"
] | bolulka.noreply@github.com |
f61768bf637594ab3bd24515f3e99669194308fe | 6af589710852182a6bda06fd10c8c64e66a70b2f | /LCDTEST/LCDTEST.ino | 65ae069e4389238211c7cd546c433281396ffa79 | [] | no_license | AshirogiMaxx/test | c28c48dfed7bfebc7db187adc5eb45c6c992aef1 | b7eeffee0d0b4a51a3991f667ca3dc19385b9e42 | refs/heads/master | 2020-03-17T12:25:37.334977 | 2018-06-01T03:34:28 | 2018-06-01T03:34:28 | 133,588,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,292 | ino | // Paint example specifically for the TFTLCD breakout board.
// If using the Arduino shield, use the tftpaint_shield.pde sketch instead!
// DOES NOT CURRENTLY WORK ON ARDUINO LEONARDO
// Modified for SPFD5408 Library by Joao Lopes
// Version 0.9.2 - Rotation for Mega
// *** SPFD5408 change -- Begin
#include <SPFD5408... | [
"ruben.poncemart@gmail.com"
] | ruben.poncemart@gmail.com |
daac00bd54e2e38070ad146c8f760f877b6a1f03 | 98eab3de8109058353c4d60c2dd5be0ec9c1550e | /Commom/PolynomialSolver.cpp | 219fd5f2564c847f4f551fa981736d4f687bb645 | [
"MIT"
] | permissive | PeterZs/Medial-IPC | 56824d6a5643a711414991834ddb41eda3d7f308 | e5c7a2ed81f28bab6ad96eab61eb61213cb3089d | refs/heads/main | 2023-08-22T08:10:16.499724 | 2021-10-12T19:05:24 | 2021-10-12T19:05:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,853 | cpp | #include "PolynomialSolver.h"
namespace PolynoimalSolver
{
qeal computeQuadricEquation(qeal & x, qeal & a, qeal & b, qeal & c)
{
return a * x*x + b * x + c;
}
qeal computeQuadricEquation(qeal & x1, qeal & x2, qeal & a, qeal & b, qeal & c, qeal & d, qeal & e, qeal & f)
{
return a * x1 * x1 + b * x1 * x2 + c ... | [
"lanleilt@qq.com"
] | lanleilt@qq.com |
3035b104305eec853ef8b3100fe7252d5a163a21 | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /_Library/_Include/boost/math/tools/detail/rational_horner1_15.hpp | b613806a4e562d52fdaf5ca1a1b6da518f3b2c92 | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,411 | hpp | ////////////////////////////////////////////////////////////////////////////////
// rational_horner1_15.hpp
// (C) Copyright John Maddock 2007.
// 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/L... | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
0d5bc9baf14c46825584fcb19f35443909858cd1 | d58c9f63ddf1ef4f5742e7e6582ae414b74db41b | /Milligram/mgUtil/Source/ImageUtil/mgLZW.cpp | 5ba3dc14ee810268c59c1cdda6532069725da583 | [] | no_license | jjzhang166/SeaOfMemes | ca30103a16c41453c4e1b592e5311a7bad5c71f5 | c1556554ba9e8cbb85b9bfcb0a69c6f6ac3e3a92 | refs/heads/master | 2023-04-07T17:28:30.308225 | 2012-09-16T15:05:46 | 2012-09-16T15:05:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,361 | cpp | /*
Copyright (C) 1995-2012 by Michael J. Goodfellow
This source code is distributed for free and may be modified, redistributed, and
incorporated in other projects (commercial, non-commercial and open-source)
without restriction. No attribution to the author is required. There is
no requirement to ma... | [
"mgoodfel@sea-of-memes.com"
] | mgoodfel@sea-of-memes.com |
57b67ea56633dd1247e2d01cb0f12051eed6038a | 7523f700e83a4681d4ee3223e9aadce2a6acfa18 | /Arma 3 Extensions/Redux Extension/Source/TestApps/randomlist.cpp | d28a23d2708bb89001386d3581477bfcc6eb932a | [] | no_license | KiwiBear/DesolationREDUX | 7ea99aa67be34a4c9e25a90e750c8c90751f38a7 | f44835a5276f9e1c5b995d8ddf591a7fba25460a | refs/heads/master | 2021-01-19T18:59:28.225522 | 2017-02-08T13:36:35 | 2017-02-08T13:36:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,001 | cpp | /* uuidtest.cpp
*
* Copyright 2016-2017 Desolation Redux
*
* Author: Legodev <legodevgit@mailbox.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, o... | [
"legodevgit@mailbox.org"
] | legodevgit@mailbox.org |
ba498e7f262a64399f70a92172518d8cf740a4ca | cedcfa99b6257f90be9ba08ef574dee57898a18f | /course-schedule.cpp | 040e71ffc32f165e26b045b44c0b82ceda1a2c09 | [] | no_license | Donghaoling/leetcode | 2d91b531e152d3a59eb740f4ff44b75858de7c06 | 8ecead86ae74feee919be56b2f28b9ce2597e949 | refs/heads/master | 2021-01-17T06:16:46.990994 | 2016-10-23T14:50:13 | 2016-10-23T14:50:13 | 49,496,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | cpp | class Solution {
public:
vector<int> findOrder(int numCourses, vector<pair<int, int>>& prerequisites) {
map<int, int> Indegree;
map<int, vector<int>> neighbors;
for(int i = 0;i < numCourses; i ++) {
Indegree[i] = 0;
}
for(auto it = prerequisites.begin(); it != pre... | [
"noreply@github.com"
] | Donghaoling.noreply@github.com |
4afe8a557258a54cd509dc12dac8ea11f757ce40 | 54b9ee00bcd582d56853ddb90be5cfeb0c29ba29 | /src/utils/farmhash.cc | 065b4452a931b17f688dbb241bf27e1710463108 | [
"BSD-3-Clause"
] | permissive | pengdu/bubblefs | 8f4deb8668831496bb0cd8b7d9895900b1442ff1 | 9b27e191a287b3a1d012adfd3bab6a30629a5f33 | refs/heads/master | 2020-04-04T19:32:11.311925 | 2018-05-02T11:20:18 | 2018-05-02T11:20:18 | 156,210,664 | 2 | 0 | null | 2018-11-05T11:57:22 | 2018-11-05T11:57:21 | null | UTF-8 | C++ | false | false | 283,159 | cc | // Copyright (c) 2014 Google, Inc.
//
// 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, publish, ... | [
"691225916@qq.com"
] | 691225916@qq.com |
9ebbf69267bd003e781c577eccf4b0fb1e6a5fb6 | 133acf5f817a767501cfd3b293ee2ec73508b933 | /include/Dlite.h | 6e5251c27025008f92b0b54d98612fa8f95818e3 | [
"MIT"
] | permissive | zzjkf2009/Midterm_Astar | fa7fcdb19f3815179d24ca5f573e1ac4d0b12bcf | 4349efaa62897b2760b658d5aac3291389f3dc8b | refs/heads/master | 2021-05-15T11:17:27.174824 | 2018-04-21T18:15:40 | 2018-04-21T18:15:40 | 106,471,688 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,527 | h | /**
* @Author: Zejiang Zeng <zzj>
* @Date: 2018-03-27T10:19:23-04:00
* @Email: zzeng@terpmail.umd.edu
* @Filename: Dlite.h
* @Last modified by: zzj
* @Last modified time: 2018-03-27T10:19:56-04:00
* @Copyright: (C) 2017 Zejiang Zeng - All Rights Reserved
* You may use, distribute and modify this code under ... | [
"zzeng@terpmail.umd.edu"
] | zzeng@terpmail.umd.edu |
3537e105c1daaf8fb9acc95cfb45bf5b6bfdcac8 | a82e3154e9346c13fba214266ac71cf45edadb40 | /DB_couserwork_client_app/addrecipedialog.cpp | e6a259a8722461c2770ab7a04d7fc032d9213e78 | [] | no_license | hurr1canexd/DB-coursework | f84dd71eb76dff79bffaf61037bc0fd78e29170d | 4f2547b8968b5ecf3897fcf5e853cd3eab8cf711 | refs/heads/master | 2022-04-05T20:33:12.796358 | 2020-02-04T17:03:16 | 2020-02-04T17:03:16 | 228,460,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,236 | cpp | #include "addrecipedialog.h"
#include "ui_addrecipedialog.h"
AddRecipeDialog::AddRecipeDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AddRecipeDialog)
{
// this->setWindowIcon(QIcon(":/icons/client_app_icon.png"));
this->setWindowTitle("Добавление рецепта");
this->setWindowFlags(Qt::Dialog |... | [
"mikal99@mail.ru"
] | mikal99@mail.ru |
72b4a6a59c6d485c7568703ce94ce994edf19a0e | 3a806a36e8c0c933b134797cd8688aacf6de6471 | /hw0/main.cpp | 463d91dcf479e3e3159035a9e20e3d6c4f967339 | [] | no_license | xzymustbexzy/GAMES101-HW | c09adb867dc8b75441efb7667f99973613a02979 | cff8a47eb93ed4252b91a5458e5a4d0721085985 | refs/heads/master | 2022-12-06T04:02:43.661180 | 2020-08-27T11:31:00 | 2020-08-27T11:31:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | #include <iostream>
#include <cmath>
#include <eigen3/Eigen/Dense>
const float PI = 3.14159265358;
int main()
{
// Coordinate of point.
Eigen::Vector3f p(2.0f, 1.0f, 1.0f);
// Rotate degree.
float alpha = PI / 4;
// Ratate matrix.
Eigen::Matrix3f rotation;
rotation << cos(alpha), -sin(alph... | [
"iamthexzy@gmail.com"
] | iamthexzy@gmail.com |
cd0bc7fc82c86f6020e4e5b0306b3da55d4a25a2 | 43ef80f310abc32da71be3b45e80a29cde574d65 | /Towers/src/UT/Towers_test.cpp | 1156a2b30912ace403531f2e7ffe1d495651b531 | [] | no_license | sawicki125/CodeForces | fd78852d3c08098e19dba72d0287848742ee71fe | 6317929034670c88368d93ecc22f7776c4651425 | refs/heads/master | 2021-06-28T14:18:56.217095 | 2017-09-17T15:48:07 | 2017-09-17T15:48:07 | 103,832,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | cpp | #include "Towers_test.hpp"
Towers_test::Towers_test()
{
}
TEST_F(Towers_test, cheking_first_time)
{
}
| [
"sawicki.michal95@gmail.com"
] | sawicki.michal95@gmail.com |
4b810cbf123eed88f376860b95d9da3f1f83dd43 | ac75305ca89a0124028649b08abc6f2623b36921 | /libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp | a40aa7b91d973439c548fe33772690e5b19d33bb | [
"MIT"
] | permissive | mazbox/of64 | 82fef1dc60f9eecc21a75d8d66590ff77ef00d51 | 4f82325132f217e7bfc36e379f99ba435c3dd9d9 | refs/heads/master | 2021-01-10T21:08:21.640739 | 2013-02-18T14:54:57 | 2013-02-18T14:54:57 | 3,136,581 | 7 | 2 | null | 2012-09-08T14:37:06 | 2012-01-09T13:15:48 | C++ | UTF-8 | C++ | false | false | 24,256 | cpp | #include "ofOpenALSoundPlayer.h"
#ifdef OF_SOUND_PLAYER_OPENAL
#include "ofUtils.h"
#include "ofMath.h"
#include "ofFileUtils.h"
#include "ofAppRunner.h"
#include <set>
ALCdevice * ofOpenALSoundPlayer::alDevice = 0;
ALCcontext * ofOpenALSoundPlayer::alContext = 0;
vector<float> ofOpenALSoundPlayer::window;
float ofO... | [
"bereza@gmail.com"
] | bereza@gmail.com |
11b168e19e97cd567086b1b96392f30a294b9be0 | 28a15fd797fb81effeb8faad45b41acc8660c8c1 | /CPP/SAMSCalculator/10min code/02OutputToTheConsole/Main.cpp | 30ecfdd24450ebb1c5b5ead29d3ac0191617c823 | [] | no_license | wenweiming/Program_Language_Learn | 34edf155f837fd5539276bf4a2747cc5b9d01d62 | 074d8441835a7ab05613d084b48d6b53c3db1774 | refs/heads/master | 2021-01-19T02:31:06.431585 | 2017-05-01T12:38:58 | 2017-05-01T12:38:58 | 87,286,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | #include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
// Without the "using" statement, this would be std::cout
cout << "Hi there!" << endl; // "endl" = next line
return 0;
}
| [
"849302437@qq.com"
] | 849302437@qq.com |
7c1d4cc1bfc81b6b808d7ce1b566663b52bf0cb4 | 2faa5cd5051bd63f933cd999ce192153de24086a | /HW0/mytest3.cpp | 3b097526a248e5e754a0a3d02bb42f9976f63fcd | [] | no_license | elendorial/CSE167x | c854e650c8e2deeb0c72d3ad8818b22d7c05127b | 4786d29407bc5e0e70642c3dade1301bc02c195f | refs/heads/master | 2016-09-06T13:42:53.370757 | 2015-12-02T17:39:09 | 2015-12-02T17:39:09 | 42,619,747 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,568 | cpp | /***************************************************************************/
/* This is a simple demo program written for CS 184 by Ravi Ramamoorthi */
/* This program corresponds to the final OpenGL lecture on shading. */
/* */
/* This ... | [
"elendorial@gmail.com"
] | elendorial@gmail.com |
cd077e5cfc0cb866c1389f18841afd216350d4dc | bee389aa856b96a3cb0024d5b80ada19789d7ecd | /src/Dependency/ScoreMatrix.hpp | a250dfb398aba7b52b1c4a6833adf97de6c02531 | [] | no_license | SocialSim/SocialCube | c2c249ac5b6883b4190d75a65e786d67e161f081 | a5beec4779bd256449da0c72a9e0d6de98efeade | refs/heads/master | 2021-04-09T16:18:17.410611 | 2019-04-27T20:27:42 | 2019-04-27T20:27:42 | 125,688,005 | 5 | 1 | null | 2019-04-27T20:27:43 | 2018-03-18T03:02:36 | C++ | UTF-8 | C++ | false | false | 955 | hpp | #ifndef __SCORE_MATRIX__
#define __SCORE_MATRIX__
#include <unordered_map>
#include <vector>
#include <queue>
#include <cstdint>
#include <iostream>
#include <cassert>
#include <string>
#include <numeric>
#include <algorithm>
#include <random>
class ScoreMatrix {
private:
std::unordered_map<std::string, std::ve... | [
"leowangx2013@outlook.com"
] | leowangx2013@outlook.com |
4fb7fc31f72aea9be16f806edaafadb7bea17a9f | 50bdaa2e71aae37240c61c930decbfe9d1e504b8 | /harp-daal-app/daal-src/algorithms/kernel/svd/svd_dense_default_distr_step2.h | 7992be4b7317cbdedd08c59776c5b052cc50d08c | [
"Apache-2.0"
] | permissive | prawalgangwar/harp | 010b1f669ee54941365ba1204be4e1484c15f108 | 3c3a3bf2d519f76ccf8ae17d8b3681e0a93048b7 | refs/heads/master | 2020-09-13T19:57:54.274328 | 2017-06-20T00:03:57 | 2017-06-20T00:03:57 | 94,464,682 | 0 | 0 | null | 2017-06-15T17:49:16 | 2017-06-15T17:49:16 | null | UTF-8 | C++ | false | false | 4,784 | h | /* file: svd_dense_default_distr_step2.h */
/*******************************************************************************
* Copyright 2014-2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a c... | [
"lc37@156-56-102-164.dhcp-bl.indiana.edu"
] | lc37@156-56-102-164.dhcp-bl.indiana.edu |
0efdd2fbd3627d2a0dbf1ace3d12ae8800e01dc1 | ce11dc0db50aa7bc27284c26678c54d92d0ebf3c | /OBJ_Loader.h | b9fdd267e79190ef2ecea2d994cd71f82b7ea77c | [] | no_license | longbefer/Radiosity | 33e4ff08c47ca766c9fb572b6625caea61680935 | b2d7a7f73d439f9335fd4cebf56c1d0323f70924 | refs/heads/master | 2023-06-04T04:00:23.314387 | 2021-06-17T00:09:19 | 2021-06-17T00:09:19 | 355,954,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,569 | h | // OBJ_Loader.h - A Single Header OBJ Model Loader
#pragma once
// Iostream - STD I/O Library
#include <iostream>
// Vector - STD Vector/Array Library
#include <vector>
// String - STD String Library
#include <string>
// fStream - STD File I/O Library
#include <fstream>
// Math.h - STD math Library
#include <math... | [
"long2696761655@sina.com"
] | long2696761655@sina.com |
e44d5c8ffdb57ffa1cbe488e44fcda6ee0931bcc | b2a263fc5fb54e623eaf3a8e3d63209cbd08ead4 | /include/pfs/cxx/cxx98/filesystem/filesystem_error_custom.hpp | 9cd032b6792e82688ce5340d298d08ab1137266b | [] | no_license | semenovf/pfs | 3679961bc7d3e5514fe4aafe18bea7be4d238c2f | 682c9d42a1ccb63e1d8117014877e7d96254f672 | refs/heads/master | 2021-07-19T06:08:10.048568 | 2019-04-02T06:03:30 | 2019-04-02T06:03:30 | 80,082,005 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 108 | hpp | #pragma once
#error "Custom filesystem::filesystem_error is not implemented, use Boost::Filesystem instead"
| [
"fedor.v.semenov@gmail.com"
] | fedor.v.semenov@gmail.com |
1fee08f0d258423a8b5836ddcb7087fd8dde94c1 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /google_apis/drive/request_util.h | e688015c7e941110238783270f7b74a2b69443ca | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 944 | h | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GOOGLE_APIS_DRIVE_REQUEST_UTIL_H_
#define GOOGLE_APIS_DRIVE_REQUEST_UTIL_H_
#include <memory>
#include <string>
namespace base {
class Dicti... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
ab1f6a50eceef07ac2aabf4e56269959696d089f | 21bc1ba799d1c36a6b1897b555ebf8123c62ec8a | /GfG/iopcA.cpp | 6cf632fab12e167f1350fe5e2ff356245919b321 | [] | no_license | ashmanmode/code-samples | 0f9f8f4c9d21c94fbcf62a377f26c42a9a9af734 | c15b33dccc70b868608d8df96e1d014b97c87906 | refs/heads/master | 2020-05-20T06:05:10.129065 | 2015-09-16T20:36:10 | 2015-09-16T20:36:10 | 31,971,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | #include <bits/stdc++.h>
using namespace std;
#define maxsiz 1000000
#define F first
#define S second
#define si(a) scanf("%d",&a)
#define sl(a) scanf("%llu",&a)
#define ss(a) scanf("%llu",&a)
#define sc(a) scanf("%c",&a)
#define pi(a) printf("%d",a)
#define pl(a) printf("%llu",a)
#define fr(i,k,n) for(int i = k ; i <... | [
"ash.manmode@gmail.com"
] | ash.manmode@gmail.com |
bb1958d05a467b7960d058b7d5211fa0f215d9fe | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-location/source/model/BatchPutGeofenceResult.cpp | 6c80adaa2a65fa9c87c75b138d3a9952fcd24c2b | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 1,466 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/location/model/BatchPutGeofenceResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aw... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
a0ae6bdaa906d65ee0efaaf16536667429520104 | fc7b46b320c60d1fc6ecfd0e600fb0db2881423a | /correction_q1/main.cpp | 8b0faa2960fa0fc31a2eaf4559145e1c40ebd059 | [] | no_license | benEnsta/TD_CMake | 629beb61920268eeda9950e29c82ebd0a5236f1d | d4ae8ef225029b13fc2b83f45e27a65c6114c186 | refs/heads/master | 2021-01-10T14:08:22.187220 | 2016-03-10T11:11:40 | 2016-03-10T11:11:40 | 53,528,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include <iostream>
#include "vibes.h"
#include "interval.h"
#include <cmath>
#include "unistd.h"
#include "robot.h"
#include "controller.h"
using namespace std;
double dt = 0.005;
//typedef std::array<double,4> State;
int main(){
Robot R(10,0,1,1);
Controller C;
vibes::beginDrawing();
vibes::newFig... | [
"ben.ensta@gmail.com"
] | ben.ensta@gmail.com |
ab1fe5a8b074426804ab98e4c53a099c749f9c61 | d6e0404193a7c06cb7dfde6c77b398206d8289be | /C++/Encapsulation/src/Encapsulation.cpp | a1e2518582ec873e969e0d3f30634cf510f2a75b | [] | no_license | patascis/projects | 5a164781510e6f94308f609455e8267ac6ec4b0d | 4a4bf9d8f62058e12a36922e350e316e7c56dc03 | refs/heads/master | 2020-03-17T05:08:51.857255 | 2018-09-25T04:38:30 | 2018-09-25T04:38:30 | 133,304,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include <iostream>
using namespace std;
class Frog {
private:
string name;
private:
string getName() { return name; }
public:
Frog(string name):name(name){}
void info() { cout << "My name is " << getName() << endl; }
};
int main(){
Frog frog("Freddy");
frog.info();
return 0;
}
| [
"patascis@gmail.com"
] | patascis@gmail.com |
1dd76f447c2f52befa9ecfb5254ee069b8d5b0b5 | dc8d712cfdf2e61e37c64c5a3d97a8b4d522dc48 | /Term_3-4/lab6/A.cpp | 97fbbff281d6fe105003cfb4828bf1edd565b4b2 | [] | no_license | EasySocHacks/ITMO-AlgoLabs | 635f9a9a6337ad3f35d50a6c013edc6311d8886e | a2fee83ad2ce5d66127bb4a867de2d515d814f2c | refs/heads/master | 2022-12-15T08:13:46.393040 | 2020-09-15T19:34:16 | 2020-09-15T19:34:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | cpp | #include <bits/stdc++.h>
using namespace std;
const int M = 4009;
const int N = 109;
const int INF = 1e9 + 9;
struct edge {
int v, u;
int re;
int c;
int f;
edge() {
v = 0;
u = 0;
re = 0;
c = 0;
f = 0;
}
edge(int v, int u, int re, int c, int f) : v(... | [
"easy.soc.hacks@gmail.com"
] | easy.soc.hacks@gmail.com |
60c555f63105209fce90e2f4937b45b903359ef0 | f4db0615639b3432ab429d10183edb4dc01e5d16 | /question1_8.cc | 3631388ede58c0b42b68c407d07496223bae0291 | [] | no_license | quaxt/ctcicpp | bec7c3ba423417ab4dd38c9809124cb81044b5cb | 8adc5ebeb930946866d28bdcbce55d01f8ed5eef | refs/heads/master | 2021-06-15T01:37:00.686720 | 2017-03-09T16:01:26 | 2017-03-09T16:01:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 802 | cc | #include <iostream>
#include <array>
#include <vector>
#include <bitset>
using std::cout;
using std::endl;
using std::array;
using std::bitset;
template<size_t M, size_t N>
void zero_matrix(array<array<int,M>,N>& m){
bitset<M> cols {};
bitset<N> rows {};
for(unsigned int r=0;r<N;r++){
for(unsigned int c=0;c<... | [
"michael.reilly@kantarmedia.com"
] | michael.reilly@kantarmedia.com |
44dee5eca45309572af47a471c7e266064d3ce9c | e0f3e6444587c21904f6a60abf9b831ac1081aa1 | /HolaSDL/mainHola.cpp | 17ccad855be9197105087d54f35bf7962e521013 | [] | no_license | Macalcan/Practica3-TPV | 88ed47202aae988dcbb0a106861b2eb1365fa8e8 | 347a6fd802cdf9f2fbd52c5ecfb654e844077a8b | refs/heads/master | 2021-01-13T03:43:18.327491 | 2017-04-03T00:36:09 | 2017-04-03T00:36:09 | 77,292,127 | 0 | 0 | null | null | null | null | ISO-8859-13 | C++ | false | false | 5,783 | cpp |
// mainHola.cpp
#include "SDL.h" // Para utilizar SDL
#include <iostream> // la consola: cin / cout
using namespace std; // Para cualificar automaticamente con std:: los identificadores de la librerķa estandar
//-------------------------------------------------------------------------------------------------------... | [
"blamacaz@ucm.es"
] | blamacaz@ucm.es |
076e839b7b35c4fbf34263e31adf0fa66977349e | fe4e42c45b53ccad84f538cf36fdec57029029e7 | /002.qtApp/Update/update/Utilities/cutilities.h | 601fb18c181161b1f1050bcab82d551b9f78f4a7 | [] | no_license | webom2008/am335x.005.Update | e989382d49e6803efe57561872035669c2717061 | b1e4c5f72cd3b1d7fc466c685b045073a7cf9bb0 | refs/heads/master | 2021-01-06T20:37:21.256445 | 2015-09-10T10:57:03 | 2015-09-10T10:57:03 | 41,459,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | h | #ifndef CUTILITIES_H
#define CUTILITIES_H
#include <QString>
class CUtilities
{
public:
CUtilities();
static char* QString2Char(const QString &str, QByteArray &tmp);
static bool Char2QString(QString &str, const char *pChar);
};
#endif // CUTILITIES_H
| [
"qiuweibo@cvte.com"
] | qiuweibo@cvte.com |
94124e0c8c242cc2ca27e461581c93b911f339ca | e4954f5ccd49a6c8c4ece78236e54931883bc15b | /problem-0146-LRUCache/src/Solution.cpp | 00eeb4dd95ea5df8c9a62cc68345c80a621f8316 | [
"MIT"
] | permissive | shines77/LeetCode | 4e9927ff185a8c6d37ee8e7714b43c0f6d337994 | 1248073aebd8741aeae0e8821f71f670df3fb3f8 | refs/heads/master | 2021-07-15T00:22:13.617607 | 2021-04-26T18:52:31 | 2021-04-26T18:52:31 | 84,382,881 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,459 | cpp |
#ifdef _WIN32
#include <vld.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <cstdlib>
#include <cstdio>
#include <vector>
#include <ratio>
#include <chrono>
#include "LRUCache.h"
#include "LRUCache_v1.h"
#include "LRUCache_v2.h"
#ifndef __builtin_expect
#define __builtin_expect(expr, f)... | [
"gz_shines@msn.com"
] | gz_shines@msn.com |
7f6a4b42b46a494b46592f1e229a6e567ff63e71 | 390f357fec98ab6c886ee504f27e7127869c419b | /P1071 潜伏者.cpp | fdc0067c2b630cf1200d947682c2b8de4b4ae334 | [] | no_license | baibaixue/acm | 696f9aa948465166c75fadba28851f7028ab00e1 | 07cac352d8dc23c2e3cf0b84f65fda6afbf3707e | refs/heads/master | 2021-07-04T07:51:37.380678 | 2020-11-06T15:00:14 | 2020-11-06T15:00:14 | 195,429,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
#include<string.h>
using namespace std;
char yuan[150];
char secret[150];
char article[150];
char ans[150];
int A[30];
int B[30];
int main(){
scanf("%s",secret);
scanf("%s",yuan);
scanf("%s",article);
for(int i=0;i<30;i++){
A[i]=-1;
B[i]=-1;
}
int failed... | [
"52575446+baibaixue@users.noreply.github.com"
] | 52575446+baibaixue@users.noreply.github.com |
b88bd284bfb2c83259bbeaa55a07123b71c11ed1 | a5781fe7c136314dff819e9ee9faabe163adb43f | /attentive-phone-concept/Temp/il2cppOutput/il2cppOutput/UnityICallRegistration.cpp | b78390279118239d8c524bdde1e0e0637888a3d1 | [] | no_license | yiinan/attentive-phone-concept | 068766daea3aee420f7020b3f299a778394ffbb5 | f3bf9006f96949f8f6f913dad62f87fe46015ab0 | refs/heads/master | 2020-03-21T03:13:28.101358 | 2018-06-20T16:54:33 | 2018-06-20T16:54:47 | 138,042,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76,585 | cpp | void RegisterAllStrippedInternalCalls()
{
//Start Registrations for type : UnityEngine.AnimationCurve
//System.Void UnityEngine.AnimationCurve::Cleanup()
void Register_UnityEngine_AnimationCurve_Cleanup();
Register_UnityEngine_AnimationCurve_Cleanup();
//System.Void UnityEngine.AnimationCurve::Init(UnityEngi... | [
"xu1994lan@outlook.com"
] | xu1994lan@outlook.com |
a2d6be1b4b96e7fcd1d15f708154c9ec4b2316de | 3310525cc8be475159d5f715fd3220a2d88fa02d | /160404_AirHockey/image.cpp | 24e67abd1b74f54d7071c216d136a67c1e0c4788 | [] | no_license | LeeJiu/study_code | f0398ec7fc3609f1e2b351dbafc5dd57bf832ceb | f23e0097569385f1a50e86435035a6e7411196ae | refs/heads/master | 2021-01-17T04:39:42.049563 | 2016-09-07T08:45:47 | 2016-09-07T08:45:47 | 53,474,826 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 19,435 | cpp | #include "stdafx.h"
#include "image.h"
#pragma comment( lib, "msimg32.lib" )
image::image( ) :
_imageInfo( NULL ),
_blendImage(NULL),
_fileName( NULL ),
_trans( false ),
_transColor( RGB( 0, 0, 0 ) )
{
}
image::~image()
{
}
//빈 비트맵 이미지 만든다
HRESULT image::init( int width, int height )
{
//초기화가 다시 되는 것을 방지
if ( _... | [
"leeji0408@skhu.kr"
] | leeji0408@skhu.kr |
b05ae2dea5bd30c2de166433ce86e0c8c352a2c6 | e783cc93ff1eb54924066eedb8e78a917e4864da | /section14-challenge1/test/test_main.cpp | 9c50745501c2de94971330ea1a55c248949743f6 | [] | no_license | nchandler-smith/beginning-cpp | d6976fe9e284ff7f9522d18e7d314c1434417dd9 | 62a1a45077378188fc94b0303cc2dcf8bff4c452 | refs/heads/master | 2020-04-26T02:06:59.201322 | 2020-02-17T02:21:59 | 2020-02-17T02:21:59 | 173,224,609 | 0 | 0 | null | 2020-02-17T02:22:00 | 2019-03-01T02:57:04 | C++ | UTF-8 | C++ | false | false | 3,338 | cpp | #include "../../../../tools/googletest/googletest/include/gtest/gtest.h"
#include "../../../../tools/googletest/googlemock/include/gmock/gmock.h"
#include "../src/helper.h"
#include "../src/Mystring.h"
#include <string>
TEST (Mystring, OverloadEqualsTrueWhenStringDataIsSame) {
Mystring a {"Same string in a and b.... | [
"nchandler-smith@pillartechnology.com"
] | nchandler-smith@pillartechnology.com |
fbdca1e5b9e37f6f1e7440c9d7493021c6dcee61 | 8dd39b654dde37c6cbde38a7e3a5c9838a237b51 | /insetation sort/main.cpp | f7d6cde75fc8f8187dc3b6f7576dedef8acceedc | [] | no_license | Taohid0/C-and-C-Plus-Plus | 43726bdaa0dc74860c4170b729e34cea268008fd | d38fd51851cc489302ad4ef6725f1d19f7e72ec2 | refs/heads/master | 2021-07-19T17:30:26.875749 | 2017-10-28T09:49:51 | 2017-10-28T09:49:51 | 108,636,340 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | #include <bits/stdc++.h>
int main()
{
int data[] = {1,21,21,435,43,43,54,354,3,4};
for(int i = 0;i<=10;i++)
{
int j = i;
while(j>0 && data[i]<data[j-1])
{
j--;
}
int temp = data[i];
for(int k = i;k>j;k--)
{
data[k] = data... | [
"taohidulii@gmail.com"
] | taohidulii@gmail.com |
d5316aa1bed9717eafb78edba3eb1b11797023ea | 45d40c30b11d2f4c0e9e59fe4f6381055c0b97bd | /phuket/Others/Josephus.cpp | b1f816dd69c1086e9eacc47c242d3e1ea32c53f1 | [] | no_license | volzkzg/Tempus-Fugit-Code-Machine | e585dfa357747b0bb79f9e30a0112f064ff15d47 | d209465ab5858b87f3b89e04d33cb78b0b6912ab | refs/heads/master | 2021-07-09T23:32:10.256317 | 2017-01-16T08:07:06 | 2017-01-16T08:07:06 | 39,577,162 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 234 | cpp | int josephus(int n, int m, int k) { int x = -1;
for (int i = n - k + 1; i <= n; i++) x = (x + m) % i; return x;
}
int invJosephus(int n, int m, int x) {
for (int i = n; ; i--) { if (x == i) return n - i; x = (x - m % i + i) % i; }
} | [
"volz.kz.g@gmail.com"
] | volz.kz.g@gmail.com |
ee72ebd951ab8fa2f747bd5898b3241243c136c2 | aeb4fa8cb685ef2ad35033a55768035461664b93 | /editors/prodeditor.h | 35563d7e17db808943b6a322f9c8f634861e6d78 | [] | no_license | drWebber/workbench | 39468fa946a6a9f7c6a21f85ed58ee54a296f7b6 | b5a81bec0db0945e4ec5d603d1c403969a52954e | refs/heads/master | 2021-01-01T20:32:27.293942 | 2017-09-14T13:53:59 | 2017-09-14T13:53:59 | 98,885,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | h | #ifndef PRODEDITOR_H
#define PRODEDITOR_H
#include "sqltablewin.h"
#include <ui_sqltablewin.h>
class ProdEditor : public SqlTableWin
{
public:
ProdEditor(QString tableName, QWidget *parent = 0);
ProdEditor(QString tableName, QStringList valsToInsert, QWidget *parent = 0);
// SqlTableWin interface
public:... | [
"m.fedorenko@tut.by"
] | m.fedorenko@tut.by |
d101728b7752c2f691c5fda8bd76104275382863 | 8f8f87c0ffacf8509ee5f32f74447f64887ef501 | /problems/leetcode/21-merge-linked-lists/main.cpp | 99c7dc0eef43e4f4a21adbd30ef590646a44ff77 | [] | no_license | godcrampy/competitive | c32eb1baf355fa9697f4ea69bea1e8e2d346e14c | e42f3000296c7b40e6a4c368dd17241ebb678d18 | refs/heads/master | 2023-03-28T17:05:15.776334 | 2021-04-03T13:40:15 | 2021-04-03T13:40:15 | 206,922,544 | 6 | 3 | null | 2020-10-01T13:22:40 | 2019-09-07T05:51:30 | C++ | UTF-8 | C++ | false | false | 531 | cpp | #include <cstdlib>
struct ListNode {
int val;
ListNode* next;
ListNode(int x) : val(x), next(NULL) {}
};
ListNode* mergeTwoLists(ListNode* l1, ListNode* l2) {
ListNode* d3 = new ListNode(0);
ListNode* itr = d3;
while (l1 != NULL && l2 != NULL) {
if (l1->val < l2->val) {
itr->next = l1;
l1... | [
"sahilbondre@gmail.com"
] | sahilbondre@gmail.com |
81645a18d6c8391506fc5a68e65dd2b14a5e1a87 | 9f2c66ce5d360b9f791a38a2a8bba4af2703ad64 | /first/main.cc | 728cc55019d39db98be8f4b4645b07a1969a377b | [] | no_license | kakajou/OpenGL | 71dd2dbe41e0817ebfe893da50f359337399e3d7 | 7185d81b3817c0f03a409cd45e00dadb0032fecc | refs/heads/master | 2020-06-04T03:53:25.855406 | 2014-05-16T08:04:59 | 2014-05-16T08:04:59 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,803 | cc | #include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <gl\glut.h>
int angleX = 5 ,angleY = 5 ,angleZ = 5 ;
int X = 0 , Y = 0 , Z = 0;
int d= 5;
int X_Camera = 5 , Y_Camera = 10 , Z_Camera = 50;
// fonction pour le dessin
void Dessin (void)
{
glClearColor(0.0 , 0.0 , 0.0 , 0.0);
... | [
"okatux@mail.ru"
] | okatux@mail.ru |
740b0159936b19a89e4b9e110c668e9ec384cc7d | 7996ce4872fc464f5b8d1db0d8b6db0d758f3a81 | /ClientActiveX/3rd_libs/xml-security-c-1.7.3/xsec/xkms/impl/XKMSRevokeResultImpl.hpp | f8cf339e0b489f4e7f020650258139efe707a982 | [] | no_license | wang1365/CAProxy | 4afabbdb2dad993810b9e502e0c009ea6b16fb97 | a6db11e67e9fc5a7c2f2e8bc8b6763f7e307c617 | refs/heads/master | 2020-05-24T04:18:22.862719 | 2017-03-21T16:59:58 | 2017-03-21T16:59:58 | 84,820,376 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,673 | hpp | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | [
"wang1365@foxmail.com"
] | wang1365@foxmail.com |
e94c5813ce7388f4f42a408bf4dea152a8b90bf6 | 8afb5afd38548c631f6f9536846039ef6cb297b9 | /MY_REPOS/misc-experiments/_FIREBFIRE/firebase-cpp-sdk/auth/src/desktop/rpcs/set_account_info_request.h | e382556b922340b22d985f33830172ec88a8417c | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | bgoonz/UsefulResourceRepo2.0 | d87588ffd668bb498f7787b896cc7b20d83ce0ad | 2cb4b45dd14a230aa0e800042e893f8dfb23beda | refs/heads/master | 2023-03-17T01:22:05.254751 | 2022-08-11T03:18:22 | 2022-08-11T03:18:22 | 382,628,698 | 10 | 12 | MIT | 2022-10-10T14:13:54 | 2021-07-03T13:58:52 | null | UTF-8 | C++ | false | false | 1,841 | h | /*
* Copyright 2017 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
*
_RPCS_SET_ACCOUNT_INFO_REQUEST_H_
#include <memor... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
a6139ed85903cef5e4619de0e3c60c5a18ca0c19 | 56fe788da2ae61bc3acc212e6664ec1302282891 | /core/src/server/delivery/hybrid_request/InsertEntityRequest.cpp | 14ac042ad5cc4bd3a86581a488ca8b64be5024d1 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"JSON",
"LGPL-2.1-only",
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | weishuo2/milvus | 264ba713adb1f9a3c4793d237f4d9002039920fa | 2e60bc7361362089caa6ae01899bbc55cf41b4b0 | refs/heads/master | 2022-04-19T21:32:15.575959 | 2020-04-25T06:48:01 | 2020-04-25T07:27:12 | 258,703,026 | 1 | 0 | Apache-2.0 | 2020-04-25T06:53:51 | 2020-04-25T06:25:07 | null | UTF-8 | C++ | false | false | 8,102 | cpp | // Copyright (C) 2019-2020 Zilliz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | [
"noreply@github.com"
] | weishuo2.noreply@github.com |
5e1264561524011424afe7cf50fef3e174725ec5 | c8e5006d666c7d7b16ee07d1ba437bfa4a49af01 | /ntx/detail/mk_distant_filesystem.hh | 0624a2c178cca4f23a2dfb64c894833451abc59a | [] | no_license | ahamez/netexplorer | c3e3eab03adda9637262b583c26195289977933d | 70d73763d5e9d50483bf9d489402d864cf54898c | refs/heads/master | 2020-02-26T14:45:50.410402 | 2015-01-10T14:24:26 | 2015-01-10T14:24:26 | 38,102,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | hh | #pragma once
#include "ntx/configuration.hh"
#include "ntx/distant_filesystem.hh"
#include "ntx/session.hh"
namespace ntx {
namespace detail {
/*------------------------------------------------------------------------------------------------*/
/// @internal
/// @brief Create a filesystem from a distant NetExplorer ... | [
"alexandre.hamez@gmail.com"
] | alexandre.hamez@gmail.com |
a8bf74809d8996d1ccf582821961b7a0edbf5772 | 986f3a64ba13bb207ccef80fc131392a2edb1d61 | /Date/Date.cpp | 2c7b5b271b169f1f00f8ae3515b552c629a9c441 | [] | no_license | Guo-MengTing/code_warehouse | 7832182b0d27c95f5196aad757b2c4c2f79523dc | c506fb27a4a63d15e9645e181df065f1a03f4158 | refs/heads/master | 2020-04-30T15:00:49.319895 | 2019-09-09T14:52:27 | 2019-09-09T14:52:27 | 176,908,149 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,538 | cpp | #include"Date.h"
int Date::GetMonthDay(int year, int month)
{
static int monthArray[13] = { 0,31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
if (month == 2 && ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)))
{
return 29;
}
return monthArray[month];
}
Date::Date(int year, int month, int day)
{
if (... | [
"515572944@qq.com"
] | 515572944@qq.com |
17a85d5e7d18421a29c6b4de8a1fba43d38c2fff | 902a39b4fa0f08e7db17b45ff59f98073a7675d0 | /Desktop/A2v10.Designer/a2formview.cpp | 2b798451fbe43fab1f4180e92246d4d9e595ae11 | [] | no_license | 15831944/A2v10 | e1cfad14b74c0801e40c457832d6f72324290fba | 70f8129d725a219ae1a6b3db27151ca0818fc73c | refs/heads/master | 2023-06-06T03:07:32.698420 | 2021-07-04T08:32:06 | 2021-07-04T08:32:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,882 | cpp |
#include "stdafx.h"
// SHARED_HANDLERS can be defined in an ATL project implementing preview, thumbnail
// and search filter handlers and allows sharing of document code with that project.
#ifndef SHARED_HANDLERS
#include "A2v10.Designer.h"
#endif
#include "formitem.h"
#include "a2formdoc.h"
#include "a2formview.h"... | [
"alex.kukhtin@outlook.com"
] | alex.kukhtin@outlook.com |
7722fa72f14cbf7fcb21af50031f2d193a1707a2 | abdd33338c97332f96f9654fdb7de55e4d3554c0 | /examples/irk.cpp | 488b32194d7db542b11493a0f0100ca74aade293 | [] | no_license | leixusiat/cpolyg | 15eb6231ecee32a3caeb3cf215286e2a32ab42f2 | 28e6d9114d810d788bfa8726940c370c451f2972 | refs/heads/master | 2021-06-02T06:36:14.587050 | 2016-06-30T21:44:16 | 2016-06-30T21:44:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,772 | cpp | #include "Advection.h"
#include "Meshes.h"
#include "Preconditioners.h"
#include "TimeIntegration.h"
#include "EulerSetups.h"
#include <cmath>
#include <iomanip>
//#define EULER_EQN
const double kGamma = 1.4;
// Initial conditions
double gaussian(double x, double y) {
return exp(-150 * ((x - 0.25) * (x - 0.25) + ... | [
"will.e.p@gmail.com"
] | will.e.p@gmail.com |
b52a2fca0631a4060c58f602e18dc2de7ec9f7d2 | 5f5b1c0717e1ae8afe340fbf25eb510d4f546fa5 | /src/naive.cc | a835ec16a6c92b757f8e648e8e58dec214d8ec7a | [] | no_license | tachim/decrementalSSSP | 12c4b1bd0246ec1b17e37707b460ccdd61cfb895 | 00bee43cb52c1c180888f9a6971238bbe0fb50d3 | refs/heads/master | 2020-06-19T12:00:27.965559 | 2016-06-05T04:37:35 | 2016-06-05T04:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,246 | cc | #include "naive.h"
#include <ctime>
#include <cstdlib>
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
Naive::Naive(Graph* g, int sourceNode): g(g),s(sourceNode), n(g->getNumNodes()) {
//init
bfsTree = new Graph(0, n); //init empty bfsTree
//preprocessing
runBFS();... | [
"namrata.anand2@gmail.com"
] | namrata.anand2@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.