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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cc6accee48bd98dcdeebc3cc04dcc17c7c7a000f | b7b60f1e4842c920bc64f22ce98f02bc3fe62aec | /include/param_service_test.hpp | d06c68b0440eb326716c93947dd6a5859d6745d2 | [] | no_license | aarushg22/param_service_test | 99dd15ff8f80e1ab3d3fcddc771119d5bf53c88c | de36b1d4febe870fc4130ee1cbb4e6d11cb066aa | refs/heads/master | 2021-10-09T11:42:26.859149 | 2018-12-27T08:49:36 | 2018-12-27T08:49:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | hpp | #ifndef AGV_TASK_MANAGER_HPP
#define AGV_TASK_MANAGER_HPP
#include <cstdio>
#include <memory>
#include <std_msgs/msg/string.hpp>
#include <rclcpp/rclcpp.hpp>
namespace agv_task_manager {
class ATM : public rclcpp::Node, public std::enable_shared_from_this<ATM> {
public:
ATM();
private:
std::vector<int6... | [
"aarush@hopetechnik.com"
] | aarush@hopetechnik.com |
4a0656497a63ca7129d1277a5153867f00484557 | ba9322f7db02d797f6984298d892f74768193dcf | /cr/src/model/GetRepoWebhookRequest.cc | 815888a4cdd850c32c9df62f0773f3b920b0b014 | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 1,594 | 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... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
799f04c36cea605cafdb6fe83ae1cf084e362471 | 1286c5b3d37b0785e99073c8234b44df47561f5a | /201510_201609/0618_ABC040/D.cpp | 487f9ff8d67a9da67dc98fcd73a3cd6ff61c99f7 | [
"MIT"
] | permissive | kazunetakahashi/atcoder | 930cb5a0f4378914cc643de2f0596a5de7e4a417 | 16ce65829ccc180260b19316e276c2fcf6606c53 | refs/heads/master | 2022-02-15T19:12:10.224368 | 2022-01-29T06:38:42 | 2022-01-29T06:38:42 | 26,685,318 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,745 | cpp | #include <iostream>
#include <algorithm>
#include <iomanip>
#include <vector>
#include <tuple>
#include <stack>
#include <queue>
#include <string>
#include <set>
#include <map>
using namespace std;
typedef tuple<int, int, int> route;
typedef tuple<int, int, int> people;
typedef tuple<int, int> ans;
const int UFSIZE =... | [
"kazunetakahashi@gmail.com"
] | kazunetakahashi@gmail.com |
97a9403ad6deb023cc8b2632bf236d10a7adfb5e | ecdf9e68f500d3879600475923519c89c129200e | /Recipe.hpp | 8c8ff0a02940f8aa7a7fbc3a8a701d1e5f20aa0e | [] | no_license | Erocbroc/RecipeBank | c86d615a9ee4a8c91e3381915229e035b91bb974 | 16b781fa679a0756c76dd2a015eb29da076aaf08 | refs/heads/main | 2023-07-03T02:46:15.110187 | 2021-07-20T20:16:31 | 2021-07-20T20:16:31 | 387,205,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,166 | hpp | #define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
#include <stdlib.h>
#include <string>
#include <unordered_set>
#include <set>
#include <fstream>
#include <experimental/filesystem>
#define FOLDER "Recipe/"
#define RECIPEBANK "Recipe/recipe_bank"
#define NONAME "-"
class Recipe {
public:
R... | [
"noreply@github.com"
] | Erocbroc.noreply@github.com |
e00cf275aa96f07415445bd2f09ed6c2279b8194 | 73f5d484abdad423360dcce969209186393cfff0 | /main.cpp | a4a17858de0a7a92aae30ef0cf83a80640eb7d5c | [] | no_license | xlrnux/myLinkedList | 1e396d9276e6205122b9ad441628ea41fe027d68 | 6509429579736426945af16b23b7e34f97eff4b8 | refs/heads/master | 2020-06-06T16:29:27.246964 | 2019-06-19T19:27:05 | 2019-06-19T19:27:05 | 192,792,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp |
#include <cstdio>
#include "list.h"
//#include<list>
using namespace std;
int main()
{
list<int> nlist;
for (int i = 0; i < 10; i++)
{
nlist.push_back(i);
}
nlist.insert(nlist.begin(), 5);
printf(":: 일반 반복문으로 출력 ::\n");
for (list<int>::iterator iter = nlist.begin(); iter != nlist.end(); iter++)
{
... | [
"thunderfry89@gmail.com"
] | thunderfry89@gmail.com |
1691c60f708eca1f46d469bf7d783b8ff4f3c1fb | b9aa8103389931dfe49cd61e622fea0897339825 | /src/qt/guiutil.h | 5af04b28077ae1f5431f1e57f095509e7d26999e | [
"MIT"
] | permissive | MalibuCoinDeveloper/MalibuCoin | 67abe59dfd6ec540962d5ba6c9bd74ecdd27b798 | c495b5b1497add2da6c690e69e2477abcfc4092a | refs/heads/master | 2020-05-17T13:32:39.944854 | 2014-12-01T08:01:18 | 2014-12-01T08:01:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,247 | h | #ifndef GUIUTIL_H
#define GUIUTIL_H
#include <QString>
#include <QObject>
#include <QMessageBox>
QT_BEGIN_NAMESPACE
class QFont;
class QLineEdit;
class QWidget;
class QDateTime;
class QUrl;
class QAbstractItemView;
QT_END_NAMESPACE
class SendCoinsRecipient;
/** Utility functions used by the Bitcoin Qt UI.
*/
namesp... | [
"malibudevteam@outlook.com"
] | malibudevteam@outlook.com |
eecf4a1259d48277ce321ba65ba73a21de3ba1cd | 26df6604faf41197c9ced34c3df13839be6e74d4 | /ext/stub/java/util/Properties_LineReader-stub.cpp | 6da431168c1efbef89fbdd1ab063dfb2f78cf496 | [
"Apache-2.0"
] | permissive | pebble2015/cpoi | 58b4b1e38a7769b13ccfb2973270d15d490de07f | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | refs/heads/master | 2021-07-09T09:02:41.986901 | 2017-10-08T12:12:56 | 2017-10-08T12:12:56 | 105,988,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,837 | cpp | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#include <java/util/Properties_LineReader.hpp>
#include <java/util/Properties.hpp>
extern void unimplemented_(const char16_t* name);
java::util::Properties_LineReader::Properties_LineReader(Properties *Properties_this, c... | [
"zhang.chen.yu@outlook.com"
] | zhang.chen.yu@outlook.com |
2c90c7b5236e601673b6c66462b76b6200aadc87 | 4176ee403c17f2be504ff3cb63116ec9c90f9533 | /src/ctx.cpp | 24ffba7ef4d2e6d3cc5c7e82bb917fa1ef93f1b9 | [] | no_license | Miigon/xPatche | bb592c5e0418a071bd89cc3d881436fafed54924 | 6d63dab3cf20fbea766f7ee30428929698f68099 | refs/heads/master | 2021-09-06T01:16:45.283568 | 2018-02-01T08:20:03 | 2018-02-01T08:20:03 | 119,655,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,269 | cpp | #include <unordered_map>
#include <string>
#include <iostream>
#include <vector>
#include <cstdio>
#include "xpatche.h"
#include "version.h"
#include "ctx.h"
#include "event.h"
#include "luautils.h"
#include "utilityapi.h"
#include "playbackapi.h"
static std::unordered_map<lua_State*,xxPlugin*> xvStateKey; // lua_Sta... | [
"miigon.pg@gmail.com"
] | miigon.pg@gmail.com |
af99cecf503883844b34b03ef034622e7466148b | dd74c16d8c06880763bef840f726520f3c17af1e | /kata06-anagrams/anagrams.cc | 1d5e72a091f14cc5e9f86f65431fc0a6300bfb6d | [] | no_license | corehacker/ch-code-kata | 720a16378c9e414a1d67cae1f7eaab06f2df77ea | e14f488fa751d490239c441467f68539310327d7 | refs/heads/master | 2020-03-14T15:33:41.213307 | 2018-08-20T05:51:15 | 2018-08-20T05:51:15 | 131,679,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | cc | #include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <sstream>
#include <regex>
#include <cstdlib>
#include <vector>
#include <functional>
#include <unordered_map>
#include <algorithm>
using namespace std;
#define WORDS_FILE "./wordlist.txt";
int main() {
string word;
unordered_ma... | [
"123sandy@gmail.com"
] | 123sandy@gmail.com |
b4bf3d837af87df8cc9aa6e62aa789fa3c3a14c4 | b0cd72fa344fe999ad163f7eeedd913c59a70b5c | /mpllibs/metaparse/v2/foldr.hpp | 93661a42382ea14906e40286f59bfba9ca5fdee2 | [
"BSL-1.0"
] | permissive | sailfish009/mpllibs | 4a575442f75e67cb575e985b93572647599aa213 | aaf7e355e9d6c5b906ed3a77b88184a304a1a1ba | refs/heads/master | 2021-01-14T12:44:46.914545 | 2015-06-28T13:09:30 | 2015-06-28T13:09:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | hpp | #ifndef MPLLIBS_METAPARSE_V2_FOLDR_HPP
#define MPLLIBS_METAPARSE_V2_FOLDR_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2011 - 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <m... | [
"abelsoft@freemail.hu"
] | abelsoft@freemail.hu |
b58f298e47df94dd67934c64f3aa2c53d37bdf04 | e072e813bcb2014508f540bd13cb7c20b8ee999e | /Tema A Ejercicio3.cpp | 5dd36c9ba3164a96a15949692148569493d3446a | [] | no_license | giane46/ASIGNACION12Y13 | ded645ce234c2bc5db805770d63b345a906eb32e | 9bab2fe685c7d71edf2c0417cd53654287bf435c | refs/heads/master | 2020-05-15T15:02:25.406616 | 2019-04-20T03:48:05 | 2019-04-20T03:48:05 | 182,356,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,105 | cpp | // ConsoleApplication38.cpp : Este archivo contiene la función "main". La ejecución del programa comienza y termina ahí.
//
#include "pch.h"
#include <iostream>
using namespace std;
double importeTicket(char aerolinea, char dia) {
double precio = ((aerolinea == 'L')*((dia == 'Lu', 'Ma', 'Mi', 'J')*70.4 + (... | [
"noreply@github.com"
] | giane46.noreply@github.com |
ed603d9e8e5ad906ed866d053e5eacac9e7c5edc | 4fd0483ac26dc91d0ae58ad191b6c442e9fc2fdb | /wallblock.h | 2187b6ba34b51bf928b4212996fd66cfbb31ac70 | [] | no_license | lucasslima/PoliceAndThieves | f1173d2419841a40091cb0d2c5fd5f82a8007ee8 | 10a73550307ddcd567ee57ffc6173815e6124c13 | refs/heads/master | 2021-01-10T07:37:44.958671 | 2016-01-18T22:16:18 | 2016-01-18T22:16:18 | 49,687,217 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | #ifndef WALLBLOCK_H
#define WALLBLOCK_H
#include "block.h"
class WallBlock : public Block
{
public:
WallBlock();
// Block interface
public:
double maxSpeed();
bool isSolid();
private:
const double MAXSPEED = 0;
// Block interface
public:
void draw();
};
#endif // WALLBLOCK_H
| [
"lima.lucas.ma@gmail.com"
] | lima.lucas.ma@gmail.com |
c83ace62aa1f7f0ac9b4f7473ccb99e80ba34917 | 90047daeb462598a924d76ddf4288e832e86417c | /content/public/browser/javascript_dialog_manager.h | e54da1ea498af900a1be48c3d53d4f3432eb024c | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 2,652 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_
#define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_
#include <string>
#include "... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
2caabfc030dc9deb83ab9b9069afce437196d577 | b869ba5aa199c0a1d317194c46c92145b3d097ee | /week_23_new_version/array.h | ed3a0ddf797f0b87268667e6450695a365960b03 | [] | no_license | itstepP12814/Kulbitsky | e421d36d99165c97b49fd5ea34db1dfe8e861a61 | 09e8058b17ee8b7738f1f26e4757b1f2680a3e4f | refs/heads/master | 2016-09-05T19:01:00.451359 | 2015-02-26T18:33:50 | 2015-02-26T18:33:50 | 27,141,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | h | #ifndef ARRAY_H
#define ARRAY_H
#include <stdlib.h>
#include <iostream>
using namespace std;
class Array {
private:
long *arr;
size_t _size;
public:
Array();
Array(size_t size);
Array(const Array& source);
~Array();
long& operator[](int index);
Array& operator=(const Array &source);
Array operator+(const Array... | [
"alex.kulbitsky@gmail.com"
] | alex.kulbitsky@gmail.com |
6af6f409de86420b606c5033580c176dc963e215 | 32f94e4472c5089b39adc664b95e008761890fd3 | /flare/include/flare/animation/keyframes/keyframe_path_vertices.hpp | b7a34dc80ae30b966d3ace7fc6fc15c0283aa539 | [
"MIT"
] | permissive | 2d-inc/flare_cpp | 15209a97618956214e29a89f486eb9df0e889170 | 2a877bb7230d2db492e99ccce1eb639cc0ab7e1b | refs/heads/master | 2021-07-01T17:55:58.798339 | 2019-10-24T16:14:09 | 2019-10-24T16:14:09 | 181,798,273 | 15 | 6 | MIT | 2020-10-16T08:21:30 | 2019-04-17T01:57:45 | C++ | UTF-8 | C++ | false | false | 672 | hpp | #ifndef _FLARE_KEYFRAMEPATHVERTICES_HPP_
#define _FLARE_KEYFRAMEPATHVERTICES_HPP_
#include "keyframe_with_interpolation.hpp"
namespace flare
{
class ActorComponent;
class KeyFramePathVertices : public KeyFrameWithInterpolation
{
typedef KeyFrameWithInterpolation Base;
private:
float* m_Vertices;
unsigne... | [
"luigi.rosso@gmail.com"
] | luigi.rosso@gmail.com |
ed5d04da20dc59ecc754fe87d9ddcbfa99a227c6 | 85c5ec5dcb3a78201fab99c61b19763115f33208 | /SPOJ/NHAY.cpp | bb2e6c2f445a6b30d4aedd3d0b1cfc85acde6842 | [] | no_license | gaurav1620/Competitive-Coding | 3fea83700b5a6d94e4b9b40966222390b92b07de | 9b729b8dcc941cb9187b9bec970b2e56063ca0fc | refs/heads/master | 2023-07-04T06:50:29.584930 | 2021-08-07T15:52:12 | 2021-08-07T15:52:12 | 291,438,389 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,921 | cpp | #include<bits/stdc++.h>
//Gaurav Khairnar 2019
//codechef,codeforces : gaurav1620
//email : gauravak007@gmail.com
#define fo(i,n) for(i = 0;i < n;i++)
#define rfo(i,n) for(i = n-1; n >= 0;i++0)
#define ll long long
using namespace std;
ll abs(ll x){return x<0?x*-1:x;}
ll max(ll a,ll b){return a > b?a:b;}
ll min(ll... | [
"gauravak007@gmail.com"
] | gauravak007@gmail.com |
f1efaa5ab536dd922e9457b8b2e16420ed0a0cfd | 24b51da6e5e4645de461d64952a784b4c9edc3f8 | /samples/c++/valid-palindrome.cc | fd453b31bf243ddc317a66d91d475d9fb969289e | [] | no_license | gityug/code-samples | dc91f28a238c9864da7dd870d6045620d1674f6f | fb832048fee788c6469f7c331d39bc53eabad44f | refs/heads/master | 2021-01-21T15:05:08.599027 | 2018-09-25T03:58:28 | 2018-09-25T03:58:28 | 56,556,619 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cc | // https://leetcode.com/problems/valid-palindrome/
//
// Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
//
// For example,
// "A man, a plan, a canal: Panama" is a palindrome.
// "race a car" is not a palindrome.
//
// Note:
// Have you consider that the st... | [
"yug@yahoo-inc.com"
] | yug@yahoo-inc.com |
983588d366244623bb37778735d44c3d4a93b8d0 | 134baad3fe8627559a292f7d7f72341aa9f48f22 | /LearnCPP/1. HelloWorld/HelloWorld2.cpp | 7c50f6f4ae01fcd787b949621517072ccee68476 | [] | no_license | WhoTusharDattu/BeginnerProjectsCPP | 89f4b825d56a002d3f279e22332fea9fa1d476dd | dfce24f1713cddc26f18ecf791ee47839c2aaae8 | refs/heads/master | 2021-05-06T13:38:54.573075 | 2017-12-05T05:40:19 | 2017-12-05T05:40:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | #include <iostream>
using namespace std;
int main()
{
int number;
cout << "Hello World!" << endl;
cout << "Enter some number: ";
cin >> number;
cout << "You entered: " << number << endl;
return 0;
} | [
"vikydattu@gmail.com"
] | vikydattu@gmail.com |
adffcda77f62615e7b3668a3633d18e9758db528 | 15d545d0af08dbc091256ef3d591b2d5a5e37656 | /quest01/level03.cpp | f64dbf49dfe2e201af4e2470522427792be03d45 | [] | no_license | MarvikDC/lenguaje_de_programacion_1_ | 733418e816dd4ff807d94c0ea3ecbfb96fe1eb7f | 37b639d7630ab96afde2146644a1ae303aa05457 | refs/heads/master | 2021-06-04T12:29:19.137694 | 2018-12-08T14:00:25 | 2018-12-08T14:00:25 | 148,730,995 | 1 | 1 | null | 2020-05-14T17:19:44 | 2018-09-14T03:30:38 | C++ | UTF-8 | C++ | false | false | 806 | cpp | #include <iostream>
#include<vector>
#include<algorithm>
using namespace std;
int main()
{
vector<double>temps;
double temp,sum=0;
int c=0;
while(cin>>temp&&temp!=-100)
temps.push_back(temp);
for (int i=0;i<temps.size();++i)
{sum +=temps[i];
c++;}
cout<<... | [
"mdelcarpiol@ulasalle.edu.pe"
] | mdelcarpiol@ulasalle.edu.pe |
24fc66571ad2408ada0f83b75b05a69ec50aaebf | 2f65e2860a052a212de238202ab4ff36085cc839 | /intel_feats/booksamplecode_AVXprog/03avxInstructions/10PackedTest/02testc/pgm/main.cpp | e0359f6f8dbbd2655ef8cb1e77a16f54a5bc5881 | [] | no_license | sclc/DPP | 7f030641f02c05ca24a31d7d75af225e5bbbfb98 | 0e8e09b9415f9b53af445413f1d050dacaa64179 | refs/heads/master | 2020-04-02T13:16:05.998862 | 2017-01-29T12:08:59 | 2017-01-29T12:08:59 | 60,694,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | cpp | //==========================================================================
// _mm256_testc_si256
// 2 つの整数ベクトルのパックド・ビット・テストを実行して、CF フラグ
// を設定します。対応する AVX 命令は VPTEST です。
//
// IF (SRC[255:0] BITWISE AND NOT DEST[255:0] == 0) THEN CF ← 1;
// ELSE CF ← 0;
//
// C:\>testc
// 0
// 1
//
// ~a & b ... | [
"sclc@sclcs-MacBook-Pro.local"
] | sclc@sclcs-MacBook-Pro.local |
4f746f4acc9a2cf7fd14bd05e1fc1e2c9685d580 | 1890b475dc4e7b856f973252080814b14bb52d57 | /aws_drive/aws/v7.1/Samples/netds/rras/eap/CeapCfg.Cpp | 45aabfb87de237c6c783bb33291a716e92a551d9 | [] | no_license | nfouka/InnoSetup5 | 065629007b00af7c14ae9b202011e12b46eea257 | df39fc74995a6955d2d8ee12feed9cff9e5c37db | refs/heads/master | 2020-04-20T02:51:58.072759 | 2019-01-31T21:53:45 | 2019-01-31T21:53:45 | 168,582,148 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,351 | cpp | /*
Copyright (c) 1997, Microsoft Corporation, all rights reserved
Description:
History:
*/
#include "ceapcfg.h"
#include <strsafe.h>
extern "C"
DWORD APIENTRY
RasEapInvokeConfigUI(
IN DWORD dwEapTypeId,
IN HWND hwndParent,
IN DWORD dwFlags,
IN BYTE* ... | [
"nadir.foukagmail.com"
] | nadir.foukagmail.com |
87e91561f018dc4b12388958675407112a0164bb | 95fc89971e5873854c91a882576cf15629829dbe | /src/net.cpp | c5d22e4d3a66be88312db9bd99600b0a48936561 | [
"MIT"
] | permissive | take1io/takeone | 14f5b0744e70e6771c30a8c7ac9f026dc475c960 | 3f67e312b9ed4d8a84d49f2df6de6222c8968a9f | refs/heads/master | 2022-02-18T20:07:06.025166 | 2019-09-25T07:09:08 | 2019-09-25T07:09:08 | 198,154,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,460 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "irc.h"
#include "db.h"
#include "net.h"
#include "init.h"
#include "strl... | [
"catchup7@gmail.com"
] | catchup7@gmail.com |
2d173a6d0f145efa3a31e78d9f99b35c6a21fb73 | b43478d254f3335f1e0020838fcbb4c74991f2a9 | /TerrainGeneration/ChunkJob_MeshTerrain.h | 011cf56136d74c30431f01f6c1bdaa9b968a6907 | [] | no_license | University-Portfolio/322COM-Terrain | 0e279f61669a11efec0258cfd965f67ca14185b2 | 24fa021d4ee43924c51ad8a6e0c3363dec56cc16 | refs/heads/master | 2021-08-30T10:56:38.899844 | 2017-12-17T14:56:35 | 2017-12-17T14:56:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | h | #pragma once
#include "Common.h"
#include "IChunkJob.h"
#include <vector>
/**
* Job for building the mesh for the main terrain
*/
class ChunkJob_MeshTerrain : public IChunkJob
{
private:
///
/// Temp mesh vars
///
std::vector<uint32> m_triangles;
std::vector<vec3> m_vertices;
std::vector<vec3> m_normals;
std... | [
"sam_pot_97@hotmail.com"
] | sam_pot_97@hotmail.com |
bb6cc4bfca8b4448fd63a513877b58a42beb8675 | e4e52d914b01372e2258d0903e05e9f7ad741068 | /4/BPP1.cpp | 7cd56f270d2597c1f7e7c8b213150c655b2111ce | [] | no_license | Julineo/CPPTraining | 0ab56b29b56c511b92542342e1d1482b0e7a21bc | dc62d5b4f2d20296142078d0fe93fc7646cec279 | refs/heads/master | 2020-04-06T03:33:57.057814 | 2016-12-02T01:28:37 | 2016-12-02T01:28:37 | 58,499,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include <iostream>
using namespace std;
int main()
{
int length;
int width;
cout << "Enter the length of the rectangle:" << endl;
cin >> length;
cout << "Enter the width of the rectangle:" << endl;
cin >> width;
int a = length * width;//area
int p = 2*(length + width) ;//perimeter
cout << "The area... | [
"advoretskiy80@gmail.com"
] | advoretskiy80@gmail.com |
07007979ff9c60f9a4ac25ca5dfc5a3865d0498d | 8d514aba327d18f796b97515f99b82f79b20161a | /include/header_group.h | 2ae5efc547ef67edaad8527421fe63de256fe079 | [] | no_license | idgetto/rah-milk | 20f1003035bc481182da8364efa53fa099a17193 | 3fca3af2928b6dbb4941aee2f813b6c433ed0288 | refs/heads/master | 2021-01-10T09:41:37.550624 | 2015-12-28T18:41:42 | 2015-12-28T18:41:42 | 46,251,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | h | #ifndef HEADER_GROUP_H
#define HEADER_GROUP_H
#include <string>
#include <vector>
#include <utility>
#include <ostream>
using std::string;
using std::vector;
using std::ostream;
class HeaderGroup {
public:
bool contains(const string& key) const;
// headers with the same key are
//stored in a comma sep... | [
"isaac.getto@gmail.com"
] | isaac.getto@gmail.com |
859f89576e1ded8c93cc2ae0aaa30744ae944dae | ed26ae19b94b97b1f91925e1b2f175fbee1a4288 | /lab1/extent_protocol.h | 64bb8161c49a887ed03a616f4e01a0163089b8f3 | [] | no_license | akangakang/CSE-LAB | b3e2cf3b311fa2c8d55473f3598508359f288f5c | f099726b6d540e10221d42c4d470b8dc95813ca6 | refs/heads/main | 2023-02-27T13:36:34.256355 | 2021-01-24T05:12:12 | 2021-01-24T05:12:12 | 302,860,636 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | h | // extent wire protocol
#ifndef extent_protocol_h
#define extent_protocol_h
#include "rpc.h"
class extent_protocol {
public:
typedef int status;
typedef unsigned long long extentid_t;
enum xxstatus { OK, RPCERR, NOENT, IOERR };
enum rpc_numbers {
put = 0x6001,
get,
getattr,
remove
};
en... | [
"975376945@qq.com"
] | 975376945@qq.com |
e896553460ff5dd11d1ffe23e9b66872510b01b2 | 3b0063650ed1d6a1bbd460685a552a9a49837744 | /src/instruments/population/GenerationalCSVInstrument.cpp | d1c31218162549ea1ba4832d234973a810cc7278 | [
"MIT"
] | permissive | NGTOne/libHierGA | fd111b7c3792e28e3cc680c339a112e456caee93 | 923f31f96fa7d0b2239a4f19873c3b0498b76df6 | refs/heads/master | 2020-04-04T03:55:54.670863 | 2018-09-11T20:00:33 | 2018-09-11T20:00:33 | 17,163,130 | 1 | 1 | null | 2016-01-24T19:40:04 | 2014-02-25T05:59:52 | C++ | UTF-8 | C++ | false | false | 444 | cpp | #include "instruments/population/GenerationalCSVInstrument.hpp"
GenerationalCSVInstrument::GenerationalCSVInstrument(
PopulationNode* target,
std::string outFile
) : CSVInstrument(target, outFile) {}
void GenerationalCSVInstrument::initialReport() {
this->report();
}
void GenerationalCSVInstrument::runtimeReport(... | [
"sebastian.lenartowicz.one@gmail.com"
] | sebastian.lenartowicz.one@gmail.com |
e098cba2aa5ff74bd7429b7846771807c05c8e96 | 9617a356a7fa18b575cae36e2d44dc8af6e9fc68 | /Engine/Engine.h | 6800b4fb3dddfe74f58eaf5380e2c4b65494d829 | [] | no_license | ghostolly/world-of-might-and-magic | ebf6ee868d551c3a6d6d932f7ce5a2a121a1fee0 | 55d62b8c9011b2f276f58992999639cca49c6353 | refs/heads/master | 2021-01-19T13:37:58.731042 | 2017-03-01T16:50:20 | 2017-03-01T16:50:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,095 | h | #pragma once
#include "Engine/Strings.h"
#include "Engine/ErrorHandling.h"
#include "Engine/Log.h"
#include "Engine/MM7.h"
#include "Engine/mm7_data.h"
#include "Engine/VectorTypes.h"
#include "Engine/MapInfo.h"
#include "Engine/AssetsManager.h"
#include "Engine/Graphics/Polygon.h"
void SetCurrentMenuID(enum MENU_ST... | [
"alex.g.parshin@gmail.com"
] | alex.g.parshin@gmail.com |
b6130b8c450ea18a66e756ce010318514a4cdbc4 | 4d0d4f541959f67c3bbfa4f77cd7cc55c7a49976 | /Sources/CBoringSSL/ssl/tls_record.cc | 4b676754b47b39162b84905d07ece69df2dd8648 | [
"OpenSSL",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | AdBusterIO/swift-boring-ssl | c84218457db1b332894c7bac03b28879197891f4 | 1306215ba83ce876c57d24ae938d4cd5b8818891 | refs/heads/master | 2023-04-28T04:28:48.350128 | 2021-04-28T09:47:33 | 2021-04-28T09:47:33 | 352,383,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,613 | cc | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
... | [
"ky1vstar@users.noreply.github.com"
] | ky1vstar@users.noreply.github.com |
8c4c647017f3887910e2e1f66b07ad077416d067 | b8906afecca06f48f2cd289a9997f670b26c4721 | /neon/Helium/HeliumForWindows/Implementation/Plugins/PB_DeviceApplication_PLG/StylusModule.cpp | 1d63527fda4596d194e32ce7ec11f1a83efa27dc | [
"MIT"
] | permissive | rhomobile/rhodes | 51bd88921c51bd618948f9a557de17fc297e7cc2 | fc8409c9c281684a49d7ff6805ddc565de09a6d5 | refs/heads/master | 2023-09-01T17:45:36.149868 | 2023-08-31T20:56:06 | 2023-08-31T20:56:06 | 54,084 | 504 | 155 | MIT | 2023-09-12T00:14:29 | 2008-09-18T21:55:16 | C | UTF-8 | C++ | false | false | 4,449 | cpp | #include "StylusModule.h"
#define STYLUS_DEVICE_ID L"TCH1:"
#define WIN_CE_7_MAJOR_VERSION 7
/**
* \author Darryn Campbell (DCC, JRQ768)
* \date November 2009
*/
BOOL CStylusModule::onInit(PPBSTRUCT pPBStructure)
{
wcscpy (m_szModName, L"Stylus");
RegisterForEvent(PB_APPFOCUSEVENT);
return TRUE;
}
/**
* \author D... | [
"pwmj34@zebra.com"
] | pwmj34@zebra.com |
522615663c515dae40314c4c7b5abb5560c2af02 | a0f37fb7b728721a81020c87f8b1d1bd15cd61ee | /CommonLib/acmCommSeqThread_12_PTTDelay_sec.cpp | 9d660b7e240680a031f7856e32f89c43996afcc1 | [
"MIT"
] | permissive | chrishoen/Dev_ACM | d60fe5b3eff054a32d7bde7680193b8a5fd50758 | ddfd29c1abecb035872a916f553edd9461107364 | refs/heads/master | 2022-12-14T08:19:27.456446 | 2020-09-25T17:33:09 | 2020-09-25T17:33:09 | 285,373,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,104 | cpp | /*==============================================================================
Detestion:
==============================================================================*/
//******************************************************************************
//***************************************************************... | [
"chris123hoen@gmail.com"
] | chris123hoen@gmail.com |
3781406f6d619b6c56926a4432bf11a29cd645bc | 0bf1f7b901118b5cbe3d51bbc5885fcb634419c5 | /Cpp/SDK/BP_Knockback_classes.h | 1d092ed071c0a7a2d980b2d4bb41a6d1c353043d | [] | no_license | zH4x-SDK/zMCDungeons-SDK | 3a90a959e4a72f4007fc749c53b8775b7155f3da | ab9d8f0ab04b215577dd2eb067e65015b5a70521 | refs/heads/main | 2023-07-15T15:43:17.217894 | 2021-08-27T13:49:22 | 2021-08-27T13:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | h | #pragma once
// Name: DBZKakarot, Version: 1.0.3
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
1d361873dab11397ad68f607418785ba26a9623f | 4c7bf0e62bbfeb3891d9f886acb2c2e45a0af912 | /VirtualAndCreatInInheretance/VirtualAndCreatInInheretance/VirtualAndCreate.cpp | 87541dc8b18489a183ad4c950389589c19880b8c | [] | no_license | sonofbiscuit/CppRecord | a7449e584f6388ddf67dce3d4afb884638218860 | b8c8cea73f5c1aa6abc32d2215b907eb65bd0375 | refs/heads/master | 2022-08-15T00:26:33.857470 | 2022-07-22T03:44:48 | 2022-07-22T03:44:48 | 250,504,395 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,684 | cpp | #include<iostream>
using namespace std;
//构造函数
//一个对象被创建的时候所执行的函数
//Animal共性 移动 长大 死亡
class Animal {
public:
Animal() {
cout << "Animal console " << endl;
}
virtual void move() = 0;//<-----纯虚函数,是一种相当高级的表达方式 ,没有默认实现,需要在子类中实现
//标记virtual让以后编写Animal的子类的时候知道应该覆盖哪些函数,提高代码的可维护性
virtual void m... | [
"609132289@qq.com"
] | 609132289@qq.com |
4a7029f349f3af7886b86b88d6f5e9b15156f7c3 | 15bb459de775b0e856e94352da8216083b4df1ea | /omtalk/parser/include/omtalk/Parser/AST.h | 4aa81f3d9e97f94c87bf6c96e082bcbb2f11a6f4 | [] | no_license | youngar/omtalk | a12958db7b988acc2d2d768405d3f6d2a4da0d01 | c210ba6851650f9dcce75d223b66639982fd632e | refs/heads/main | 2021-12-25T20:13:28.962127 | 2021-11-08T13:33:25 | 2021-11-08T13:33:25 | 178,433,200 | 4 | 2 | null | 2021-11-08T13:33:40 | 2019-03-29T15:41:25 | C++ | UTF-8 | C++ | false | false | 13,732 | h | #ifndef OMRTALK_PARSER_AST_H_
#define OMRTALK_PARSER_AST_H_
#include <cassert>
#include <cstddef>
#include <memory>
#include <omtalk/Parser/Location.h>
#include <optional>
#include <string>
#include <type_traits>
#include <vector>
namespace omtalk {
namespace parser {
//===-------------------------------------------... | [
"youngar17@gmail.com"
] | youngar17@gmail.com |
aa783bb0ae0f802c43491fe91427a6885908544d | af67ab3b070a043776724a18254a183863e7428d | /Ejercicio2/Ejercicio2/Ejercicio2.cpp | 31d9e99f03a6efa25beaa45237d85ab1ac5ff29b | [] | no_license | Katoinga/PSPR4 | dd94dfbb58f6dc79e8b4ada06be16e87fccc1b0d | cc14ff91c3cdae317145e278e6ed587f108ed53b | refs/heads/master | 2022-10-01T04:13:36.112944 | 2020-05-29T04:03:31 | 2020-05-29T04:03:31 | 267,174,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,024 | cpp | #include "iostream"
#include "string.h"
#include "stdlib.h"
using namespace std;
void funcionamiento(string letra, string palabra, string palabraGuiones, bool acierto, bool fin, int vidas, int intentos);
int main() {
// definiendo variables
string palabraGuiones = " ";
string palabra = " ";
int vidas=0; ... | [
"noreply@github.com"
] | Katoinga.noreply@github.com |
9919fedec75e1ff2d03736b2fd9f9348ba261e79 | 2fb19bc9aaa85b70a4ec8d0e1881dff688ae794b | /Codeforces/codes/1158/1158B.cpp | 0f8ddef919aaf2442e7b1ac3bda705eb48f1c704 | [] | no_license | preritpaliwal/Competitive-Programming | 8f2b4f78006b7e7e8df02b04df681099d2effc77 | 805744f7b4d50ee621884f5280f9ef8779bb6866 | refs/heads/master | 2023-06-27T12:51:18.436807 | 2021-07-30T10:10:24 | 2021-07-30T10:10:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define mod 1000000007
#define lli long long
#define fi first
#define se second
#define pb emplace_back
#define FOR(i,n) for(int i=0;i<n;i++)
#define FORR(x,v) for(auto... | [
"kousshikraj.raj@gmail.com"
] | kousshikraj.raj@gmail.com |
5a4021ad1a9ac41bc3a212ae9a25fc8d763d70cb | 1624fa4e101b409831a28b2e609f86bb7e1b2ccd | /src/GLShaderObject.h | 31f8cbb64d01531aa46a70eeabf36656b350ac55 | [] | no_license | dokipen3d/fluidSim | 100c2530ef5f190f2cfd48f6c4af8517f9d1e995 | 5548b125e8cad129145be18d121e773d7e63fdb3 | refs/heads/master | 2020-12-25T18:01:03.761097 | 2017-05-05T23:18:40 | 2017-05-05T23:18:40 | 27,798,151 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 930 | h | //
// GLShaderObject
//
//
// Created by Daniel Elliott on 10/09/13.
//
//
#ifndef GLSHADEROBJECT_H
#define GLSHADEROBJECT_H
#include <cstdio>
#include <string>
#include <iostream>
#include <fstream>
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
class GLShaderObject {
public:
GLShaderObject();
virtual ~GLS... | [
"dokipen@Daniels-MacBook-Pro.local"
] | dokipen@Daniels-MacBook-Pro.local |
8a1390531bce1a1d007be778ffd30ff2cb9adcd0 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/platform/graphics/filters/FEComponentTransfer.h | 47d5e1801988b1da07188c700d26d527d966306a | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 3,085 | h | /*
* Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
* Copyright (C) 2005 Eric Seidel <eric@webkit.org>
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify ... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
bf635db271ebdc649bb1498350526bcfdb8a551b | 9dd118ec31f6a61579ef8aaa7c3f202cf8f1d03e | /Space_Fighters_(SFML)/DataStructures/Node_Iterator.h | 9f850650d1b2f225764b736a7d2a06b4a0afd137 | [] | no_license | riiich/Space_Fighters | 0b71d4f3b5d992d354ec54ec3ef6aa7b38706ea3 | d47a280b1135381bfc55b5fa64a97ebf243caddf | refs/heads/master | 2023-05-26T07:15:54.454967 | 2023-05-20T03:17:47 | 2023-05-20T03:17:47 | 350,642,101 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | //
// Created by horic on 10/11/2020.
//
#ifndef MAIN_CPP_NODE_ITERATOR_H
#define MAIN_CPP_NODE_ITERATOR_H
#include "Node.h"
#include <algorithm>
template<class T>
class Node_Iterator :public std::iterator<std::forward_iterator_tag, T>
{
public:
Node_Iterator();
Node_Iterator(Node<T>* curr);
Node_Iterator... | [
"horich21@gmail.com"
] | horich21@gmail.com |
6b642b6dd7fde1fbf06e2b790643144e7e04fbc9 | 16a3f37c82d107cbde1a506c222e1925b2fcb0de | /Práctica Unidad 1/3.cpp | 38415fc6ffbf67bb3e60d46b2cfe1412cd72f4b3 | [] | no_license | Radevirot/ejerciciosPOO | 01ea5cbfd6d34446e166eec3a02c017f15e49d67 | 1af99d6bd7c33ace37d4964e2eb7c85ce52ef823 | refs/heads/main | 2023-07-26T21:27:06.376727 | 2021-09-09T19:47:58 | 2021-09-09T19:47:58 | 404,850,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | #include <iostream>
using namespace std;
int main() {
int n;
cout << "Cantidad de elementos";
cin >> n;
int (*v1)[];
for(int i=0;i<n;i++) {
(*v1)[i]=rand()%1500+1000;
}
int mayor1=0, *cord1;
for(int i=0;i<n;i++) {
if((*v1)[i]>mayor1){
mayor1 = (*v1)[i];
cord1 = (&v1);
}
}
cout << "mayor1: ... | [
"78053632+Radevirot@users.noreply.github.com"
] | 78053632+Radevirot@users.noreply.github.com |
d07c3c8d95a1be5cb1ac76dd51a7f591bcc3f798 | 8cb095bd3e0390b2a2f1e95a8f113d055fb6bef8 | /6/Think/Think/Think.cpp | 5b8bcb1cf60a0e257cc94508b29eff4a0b51a024 | [] | no_license | Carol7S/Sophomore_ALL | 703f0698c4f513137e7cfc2b5a54bcf659aaccf4 | 843ac839a52478493d9429619e4c380220da0249 | refs/heads/main | 2023-04-10T03:20:51.529827 | 2021-04-20T22:15:46 | 2021-04-20T22:15:46 | 359,918,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,726 | cpp | // Think.cpp : 定义应用程序的入口点。
//
#include "framework.h"
#include "Think.h"
#define MAX_LOADSTRING 100
// 全局变量:
HINSTANCE hInst; // 当前实例
WCHAR szTitle[MAX_LOADSTRING]; // 标题栏文本
WCHAR szWindowClass[MAX_LOADSTRING]; // 主窗口类名
HBITMAP hBm1, hBm2, hBm3, hBm4, hBm5, ... | [
"571875717@qq.com"
] | 571875717@qq.com |
1fdc6c00a87135617a76a9e11968c7dbe160989a | d979989ed07601f5cc6835b4af04c0f94d44ce24 | /Homework_1/1_7_ex_Square/1_7_ex_Square/1_7_ex_Square.cpp | 8b333b695f27e225b625b5c7648a9ff9b80609b8 | [] | no_license | Maria-Miroshnikova/Homeworks_SPbU | f91dda7ed103fbb417fd3e5407eb24a3ef0b52ee | 17ca9766e1c3e7d68ddd21265fe5560c76082515 | refs/heads/master | 2021-06-10T10:26:21.417720 | 2018-12-27T18:52:08 | 2018-12-27T18:52:08 | 152,465,707 | 1 | 0 | null | 2018-12-30T21:33:27 | 2018-10-10T17:49:17 | C++ | UTF-8 | C++ | false | false | 694 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int findRoot(int number)
{
int root = 1;
while ((root + 1) * (root + 1) <= number) {
root++;
}
return root;
}
bool IsPrime(int number)
{
int sqrtNumber = findRoot(number);
for (int i = 2; i <= sqrtNumber; ++i) {
if (number % i == 0) {
return false;
}
... | [
"mari.mirosh@bk.ru"
] | mari.mirosh@bk.ru |
302e30c177f2907d48e622f46480a2c499c31c64 | 2a02d8873c8825eb3fef2b352fcda238961831c9 | /uva/12086/main.cpp | b037a6d7e35ca82cf196e245ccdb13a3765b0beb | [] | no_license | Stypox/olympiad-exercises | eb42b93a10ae566318317dfa3daaa65b7939621b | 70c6e83a6774918ade532855e818b4822d5b367b | refs/heads/master | 2023-04-13T22:30:55.122026 | 2023-04-10T15:09:17 | 2023-04-10T15:09:17 | 168,403,900 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,810 | cpp | #include <bits/stdc++.h>
using namespace std;
using si = long long;
using ui = unsigned long long;
using flt = long double;
using ch = char;
using str = string;
template<class T>
using vec = vector<T>;
#ifdef ONLINE_JUDGE
istream& in = std::cin;
ostream& out = std::cout;
template<class... Ts> constexpr void deb(const... | [
"stypox@pm.me"
] | stypox@pm.me |
ff5c12dd6347d44d2fc8821764a302dd39425a30 | 1f6812571c7bf2de471b5484bc08d920724b6382 | /src/Timer.h | 97a2a430fd321a2f5700e2697cdee33ca5b0bd7b | [] | no_license | aru/superhappyrocket | 63ce1479923f49b4b830bd4cb39034ea90b004ed | 1b06360efce7d40860b4498b513482289ab483b2 | refs/heads/master | 2017-11-02T13:30:57.677852 | 2016-06-13T06:00:50 | 2016-06-13T06:00:50 | 1,240,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | h | /**
* Timer.h
*
* Timer that helps us with several clock related actions.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any lat... | [
"albinkun@gmail.com"
] | albinkun@gmail.com |
6d51ddbd4ebcb175daad2636561d51fde8bc0c66 | 2ee2d6d03639066b3478896b90057f4d81af00a8 | /BinarySearch solutions/Search_for_a_range.cpp | 63d1936d5faf18fb78357cc14046168e937b203f | [] | no_license | nidhi3400/InterviewBit_solutions | 15360d60549b9a3c9361e017628b863d0d3aab83 | bebfb954e79ed2193b9d7da82be4b49ba4cf8504 | refs/heads/master | 2020-04-16T19:11:28.003435 | 2019-01-15T13:07:11 | 2019-01-15T13:07:11 | 165,850,150 | 0 | 2 | null | 2019-10-15T13:14:33 | 2019-01-15T12:50:43 | C++ | UTF-8 | C++ | false | false | 910 | cpp | int search(const vector<int>&A,int key,bool first)
{
int start=0;
int end=A.size()-1;
int mid;
int res=-1;
while(start<=end)
{
mid=start+(end-start)/2;
if(A[mid]==key)
{
res=mid;
if(first==true)
end=mid-1;
else
... | [
"verma.nidhi3400@gmail.com"
] | verma.nidhi3400@gmail.com |
967c4535dc35ba793685e135529adad2a540810b | 6de7f1f0d9be7d0659902dc60c77dcaf332e927e | /src/libtsduck/plugins/infra/tsPluginEventHandlerRegistry.h | ac73b3dc6fe3ac1c555b77e0571e051b150e934f | [
"BSD-2-Clause"
] | permissive | ConnectionMaster/tsduck | ed41cd625c894dca96f9b64f7e18cc265ef7f394 | 32732db5fed5f663dfe68ffb6213a469addc9342 | refs/heads/master | 2023-08-31T20:01:00.538543 | 2022-09-30T05:25:02 | 2022-09-30T08:14:43 | 183,097,216 | 1 | 0 | BSD-2-Clause | 2023-04-03T23:24:45 | 2019-04-23T21:15:45 | C++ | UTF-8 | C++ | false | false | 5,630 | h | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2022, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
75bfd4bde33b60b54483689c052c720be9c05a32 | a49575e7ab824fadb2fa5d92214bf38fafa9b84b | /asgn1/src/exsort.cpp | f094e0785a8f500730c9f8f885e4ebf52e3ab2b3 | [] | no_license | ashishsonone/db-course | 2a03ab0e8a8ee17fbb425c213f459881a00bfdcb | 486009853ddff284ba4e177d756631fed518d079 | refs/heads/master | 2020-12-30T23:22:15.394582 | 2014-11-12T17:38:50 | 2014-11-12T17:38:50 | 23,496,847 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,254 | cpp | #include "header.h"
FILE *infile, *outfile, *tempfile, *files[K+1];
int **attributes, recsize, maxrec, *sortparams, runs, recs, passes, blksize, blkrec,rec_counter[K+1],rec_total;
void *buffer, *ptrs[K+1]; //ptrs 1 to K are in buffers and 0 is out buffer
unsigned n;
int** make2dint(int,int);
void free2dint(i... | [
"ashson07@gmail.com"
] | ashson07@gmail.com |
1954f69eecafdb5d4597c4e28d22e232a0c372d9 | 6048e4a3d4acd43c01d393753b7578d6d6f0e438 | /src/set_2.cpp | dd8a09b4314d4a998bc91da1d2e266aed187720a | [] | no_license | afnanenayet/Cryptopals_Challenge | edbe99861364ce0e09720fc42b2787f360ad7e47 | a690a8acf24ceace59e0145fa378a6627b9539e4 | refs/heads/master | 2020-12-03T05:22:07.824464 | 2017-06-14T03:25:43 | 2017-06-14T03:25:43 | 65,948,980 | 0 | 0 | null | 2016-12-11T04:28:14 | 2016-08-17T23:23:26 | C++ | UTF-8 | C++ | false | false | 12,021 | cpp | #include "set_2.hpp"
using std::string;
using std::cout;
using std::endl;
using namespace CryptoPP;
using namespace std::literals::string_literals;
namespace set_2 {
/* Computes the number of bytes to add to the string, converts that
* number to a string, then adds it repeatedly to the
*/
string p... | [
"afnan.enayet@gmail.com"
] | afnan.enayet@gmail.com |
7a3012a2e7f1f443240deeda42d2127f1b5a9677 | 19a012b6a66374235771a8c2baee19560e98f8d7 | /Codeforces/CR199/b.cpp | 43093d7089bb6e08a9257b79973121a2803ca85d | [] | no_license | juancate/CompetitivePrograming | 735e992fd6ac9c264059604fb7a2f2dfce74d330 | 8cea3695fd0dec7122c94ab45b4517cb13232fb3 | refs/heads/master | 2021-01-25T10:06:47.576470 | 2018-12-19T01:11:41 | 2018-12-19T01:11:41 | 14,966,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 100010;
int n, m, s, f, t[N], l[N], r[N];
bool cant_move(int li, int ri, int x, int d) {
return (li <= x && x <= ri) || (li <= (x+d) && (x+d) <= ri);
}
string solve() {
if (s == f)
return "X";
int dir = (s <= f)? 1 : -1;
int curr_t = 1, pos ... | [
"jcamargo2@gmail.com"
] | jcamargo2@gmail.com |
13ec7ab06a9b65ebef71da45f9c359b1a98dc5c9 | e7765550adf6b67048cb8aa6b66feb3e36a427e9 | /Assignment_2/mainwindow.cpp | 03f5eb1495338416cd97277c5af868255fa332e8 | [] | no_license | karlrhen/eecs493 | 5a09b50eb8a1973a098d602e57f9780e5be19dd1 | 3fe00161bb1f422a7eca9a76c8fb999a255fd02c | refs/heads/master | 2016-09-05T13:19:01.286194 | 2015-03-16T21:40:26 | 2015-03-16T21:40:26 | 17,878,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,370 | cpp | #include "mainwindow.h"
#include "boximage.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
// Create Box Image Widget
right_layout = new QGridLayout();
box_image_widget = new BoxImage(this,right_layout);
// Create Buttons
add_collection_button = new QPushButton("Add Collecti... | [
"karlrhen@umich.edu"
] | karlrhen@umich.edu |
2fc75408e93a0437fc045c571108ed78df424463 | 4a9da40d39f9871c44e36e89a711112a261573f0 | /173.cpp | 21e3309559f8f07bc9a1f490e18ee5c66231d075 | [] | no_license | cedarz/ltcode | f081698449e9993468818bd0095a5a7297d41c6a | 7b48e03531a262d81e8559973e7544488b48f074 | refs/heads/master | 2020-05-21T20:46:49.118348 | 2017-10-08T13:58:00 | 2017-10-08T13:58:00 | 61,355,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | cpp | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class BSTIterator {
public:
BSTIterator(TreeNode *root) {
TreeNode * iter = root;
while(iter) {
stk.push(iter);
... | [
"dyingthesun@gmail.com"
] | dyingthesun@gmail.com |
9265af07755f605677ceccf75971b523a2321226 | 38a9bf9a2b59a14ca2fa22a2a3ff99ff527ea8be | /src/platoon-pixy/platoon_pixy/platoon_pixy.ino | 513da62ad6236d09822ca37d02e59c17dd934f58 | [] | no_license | lofilabo/arduino_src_1 | b1fec7a7230d659fe311427fb492ec012423ace1 | 8e278ab2295148dd3c4e6399e1d7d24f88cc39b4 | refs/heads/master | 2021-09-23T10:10:20.238725 | 2021-09-11T18:05:06 | 2021-09-11T18:05:06 | 146,931,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,783 | ino | //code taken from the pixy 'hello world' example
#include <SPI.h>
#include <Pixy.h>
#include <MAVERICK.h>
//------------------------------------------//
#define signatureOfInterest 1 //3 //change this value to match the signature of the objects which are interesting to the end user
#define intertapeDistance 180.0... | [
"github@lofilabo.com"
] | github@lofilabo.com |
cd2dd5508e29bad15fea96daf810d3dacbb82182 | d36f11ac4059d5806348d322cf065a0e30fa6ffe | /ZF/ZFCore/src/ZFCore/ZFMutex.h | cd779b7d6a6d72d46cd78408f12675610a8a6245 | [] | no_license | hasmorebug/ZFFramework | ea9fa14d375658dd843b1f62ec34fcd2b5b1446f | fa14d0f04ad68cc59457908a3fcba148738ef8c3 | refs/heads/master | 2021-01-15T08:28:09.034834 | 2016-08-04T17:35:36 | 2016-08-04T17:35:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,795 | h | /* ====================================================================== *
* Copyright (c) 2010-2016 ZFFramework
* home page: http://ZFFramework.com
* blog: http://zsaber.com
* contact: master@zsaber.com (Chinese and English only)
* Distributed under MIT license:
* https://github.com/ZFFramework/ZFFramework/bl... | [
"z@zsaber.com"
] | z@zsaber.com |
fba010019034789a24a5b7bc3aa3e63113b7eaa3 | 39f56b90559f2fe1fe0b8892cf1f6480b5c317b2 | /include/caffe/protohpp/EltwiseParameter.hpp | 063572a928d4f352caa6f67ad0b1d6c8dc18fd3a | [] | no_license | sspeng/SWCaffe | c7f631ebc005690df55fa66bd775fac92ffb24cc | 679db37006acfd7ed1cae9a1ccef986b4d05e4e7 | refs/heads/master | 2021-01-20T03:56:36.242752 | 2017-08-14T03:17:10 | 2017-08-14T03:17:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | hpp | #ifndef _ELTWISEPARAMETER_
#define _ELTWISEPARAMETER_
namespace caffe {
enum EltwiseParameter_EltwiseOp {
EltwiseParameter_EltwiseOp_PROD = 0,
EltwiseParameter_EltwiseOp_SUM = 1,
EltwiseParameter_EltwiseOp_MAX = 2
};
class EltwiseParameter {
public:
EltwiseParameter() {
operation_ = EltwiseParamete... | [
"cryinlaugh@gmail.com"
] | cryinlaugh@gmail.com |
e8cda38ce877e610d6f03e1cee03fcdcb2cd0a0e | adb5e2bf1275ffefa869277cebc6ebbd2aca069d | /degrees.cpp | a142a7a9f5ebb1700afac3b3c7068a2f2166bb02 | [] | no_license | zxf-work/GraphProfile | 61736d10d7f088dc809b17a79d4ecf548fa0b87d | 45922b069800e9293b82af48ff8994742dbab5b2 | refs/heads/master | 2021-01-20T04:43:17.442752 | 2017-11-29T20:25:37 | 2017-11-29T20:25:37 | 89,720,765 | 3 | 0 | null | 2017-11-29T20:25:37 | 2017-04-28T15:44:08 | C++ | UTF-8 | C++ | false | false | 668 | cpp | #include "common.h"
#include <vector>
#include <utility>
#include <algorithm>
#include <boost/graph/graph_traits.hpp>
#include "degrees.hpp"
#ifdef TBB
#include "tbb/tbb.h"
#endif
using namespace std;
//calculates the degrees of all the vertices, and sorts it
// into the vector degrees
void vertex_degrees(const Grap... | [
"boshen.cui@gmail.com"
] | boshen.cui@gmail.com |
2374a753f5ba289b17a13c8e258c511577caa4ff | dcced06851d5db0f4d3dc70f49cf30e770c9f59e | /Developing/COGS/Restore.1/~DlgSetFloor.~cpp | 36c0443512caf81ead7e36f108cd70c14eb8df44 | [] | no_license | artsrjeong/31166 | aa3277a47c79ad670a9681c619312813d96cb582 | 7fc3fe4e9dd11082d0eaab6aa5cc11f693a96e0b | refs/heads/master | 2023-07-12T17:36:02.464866 | 2021-08-27T09:29:55 | 2021-08-27T09:29:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,670 | // DlgSetFloor.cpp : implementation file
//
#include "stdafx.h"
#include "2dsim.h"
#include "DlgSetFloor.h"
#include <Afxctl.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgSetFloor... | [
"artsrjeong@gmail.com"
] | artsrjeong@gmail.com | |
17e376062753cf76e7898d1e51840e5cf00978e6 | e1c18c487996cd23141e1f1120149ff1d4252434 | /renderdoc/driver/ihv/amd/amd_isa_posix.cpp | ecb735fc865247b95aa2caa7a415f1aefb7111bd | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alexv1n/renderdoc | 402c5fae8c2771ad2dd3b48bbde24eb9d5a47469 | 3b497241b004bc2f9a8eaf74813db57f5ee5f956 | refs/heads/v1.x | 2021-06-24T22:53:46.121062 | 2020-12-15T22:18:11 | 2020-12-15T22:18:11 | 185,238,345 | 0 | 0 | MIT | 2020-12-15T22:07:56 | 2019-05-06T17:04:46 | C++ | UTF-8 | C++ | false | false | 1,496 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2020 Baldur Karlsson
*
* 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... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
8d1cfe7511adf78ef92741658aa96e2814af7048 | e7ecf0b18ba577446145ade664dc5b9c3d1ea269 | /custom_Signal/son.cpp | 1f0c0977d10fe6cf2e2a3cbf156edd9c7bfe8823 | [] | no_license | shyheng/QT | edfa821aa118a370cf35d44c3d4bc4a7c664e2a1 | 1e78d90d49668ca816697f86676179873443f58c | refs/heads/main | 2023-02-17T01:15:48.919448 | 2021-01-16T13:53:56 | 2021-01-16T13:53:56 | 324,552,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include "son.h"
Son::Son(QWidget *parent) : QWidget(parent)
{
this->setWindowTitle("子");
button2 = new QPushButton("隐藏子类显示父类",this);\
connect(button2,&QPushButton::clicked,this,&Son::emit_mysignal);
}
void Son::emit_mysignal()
{
//点击按钮的槽函数 发射信号
emit show_hide_signals(10);
}
| [
"shy2210278285@aliyun.com"
] | shy2210278285@aliyun.com |
4d6beadeb1cde69b9396f2d52f6396db452f829f | bb8801666b8e0bea05e6c2600ec0dd94a06e4627 | /sample/vec_pair/main.cpp | 890cd39d7ff9cddae4823d0bb40b6c3e378793df | [
"MIT"
] | permissive | ysuzuki19/cpplot | 9dbc4894c5923c727989387b8f1d3ba09f489184 | 808131a3205c64436cb02cfa222a714e415de2c1 | refs/heads/main | 2023-04-05T11:07:31.651952 | 2021-04-04T06:55:20 | 2021-04-04T06:55:20 | 348,751,579 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include <iostream>
#include <vector>
#include "../../include/cpplot.hpp"
using namespace std;
int main() {
Cpplot cplt("--persist");
vector<pair<int,int>> vii (100);
for (int i=0; i<vii.size(); ++i) {
vii[i].first = i;
vii[i].second = vii.size() - i;
}
cplt.plot(vii);
vector<pair<int,float>> vi... | [
"ysuzuki.cpp@gmail.com"
] | ysuzuki.cpp@gmail.com |
8d90f015aab859f9c7c17cb411e78c8a033d8bea | b9b002e0b0aa137ae61372b475221b7a51af67d9 | /src/compiler/js-create-lowering.h | 357288a4b448c4eb1a09e3159e8c6e698678e751 | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro"
] | permissive | tonuchsketch/v8 | 8618fed36276a7f52f91b8a23220803625fb2520 | bb9d073a2cda6d36b09c999291ef28054029d18c | refs/heads/master | 2021-09-06T02:16:04.815937 | 2018-02-01T10:14:06 | 2018-02-01T10:46:32 | 119,827,321 | 1 | 0 | null | 2018-02-01T11:34:55 | 2018-02-01T11:34:54 | null | UTF-8 | C++ | false | false | 5,207 | h | // Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_COMPILER_JS_CREATE_LOWERING_H_
#define V8_COMPILER_JS_CREATE_LOWERING_H_
#include "src/base/compiler-specific.h"
#include "src/compiler/grap... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d57513283fecd8a6ab505d997759da890d8b233a | 9d7a8d3e8d5df680c32fa70c73ef7c2820986187 | /.history/D04/ex02/main_20210306211134.cpp | 237b2b35ddbab811ae3fed37c5a81d6f5f2cb103 | [] | no_license | asleonova/cpp | dc2d606e361ffdfa2013953f68bd0da4530f34bc | adfaecc238cdb63053b34b106869d3185204d73a | refs/heads/master | 2023-04-06T19:27:21.725162 | 2021-04-13T19:18:00 | 2021-04-13T19:18:00 | 337,834,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"dbliss@oa-d1.msk.21-school.ru"
] | dbliss@oa-d1.msk.21-school.ru |
26da2b25557acdddb27c8b02c11caae9da102dc2 | 719b53322b5fbfa2cf7506aeb1f9611a7667629b | /L1NtupleProducer/plugins/MiniAODTriggerProducer.cc | 29b30ac1b08e365560b3af6a4d1ba754609b8864 | [] | no_license | XL-Seb-Yan/BPHL1Study | b4b74001c62430d30b2a5db738f806c520dda76e | da9ecd4de3a3e4dd7739236f84aaa8aa151738aa | refs/heads/main | 2023-08-18T07:07:29.317458 | 2021-10-18T10:05:53 | 2021-10-18T10:05:53 | 372,806,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,298 | cc | // system include files
#include <memory>
#include <cmath>
// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interf... | [
"xlyan0636@gmail.com"
] | xlyan0636@gmail.com |
c35822d0cb337e9eec8d3ecc75df300abaff60a3 | 998d4ce1054987f24562219bd6f79c37cbaa19c2 | /CF/334/A.cpp | 4ad16bce45a4bc3af732acd7c9e0a27b93d978bb | [] | no_license | tankche1/ACM-NOI | 0cedccd7f5fa53070c03cbc1845d5de06385f52b | 1cb3d1fc08493e62c5cb4396e0352abef65b93f8 | refs/heads/master | 2022-12-13T03:22:18.971576 | 2022-12-05T15:56:34 | 2022-12-05T15:56:34 | 98,779,042 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | # include<stdio.h>
# include<string.h>
# include<algorithm>
using namespace std;
const int maxn=100010;
int n;
char s[maxn];
int dp[maxn][3];
int main(){
int zero,one;
int n;
scanf("%d",&n);
scanf("%s",s+1);
zero=0;one=0;dp[0][0]=0;dp[0][1]=-n-10;dp[0][2]=-n-10;
int ans=0;
for... | [
"15307130191@fudan.edu.cn"
] | 15307130191@fudan.edu.cn |
4751e5cc4edb46f6742deb6a0ce971c15ac7bd4d | 2605aba75269fc7a23d52e84e701c1827d007d42 | /mainwindow.cpp | 98844d6f24228af8f48d6f981b92f5f7edd63d11 | [] | no_license | FlyHighInSky/dip | 4588b2c84195d1fba6c76dc668db20c6062c5da3 | 9d6b2a2bf717fe36c9bed02ddbbd0b9dffb644d4 | refs/heads/master | 2022-11-27T18:27:36.534372 | 2020-08-01T02:21:45 | 2020-08-01T02:21:45 | 281,645,028 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 37,741 | cpp | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt... | [
"hujunnudt@outlook.com"
] | hujunnudt@outlook.com |
50f92ea19c9ecb6dfcaf055e44c0cc46bd6a96cc | fe0559eaa11c60145797571bf0ab051bed71ae91 | /functions/FunctionHoursFromDateTime.hpp | aa50c122a1c6de47361807e7911c783d58bf2aeb | [] | no_license | ren19890419/xqilla | 23e64a012f825ff58371907284d15872c9286f7b | ba6e4d58c777bede091856c0edee68c58a5fa364 | refs/heads/master | 2021-05-26T12:09:50.022580 | 2012-04-11T13:41:47 | 2012-04-11T13:41:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,316 | hpp | /*
* Copyright (c) 2001, 2008,
* DecisionSoft Limited. All rights reserved.
* Copyright (c) 2004, 2011,
* Oracle and/or its affiliates. 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 ob... | [
"yayanyang@gmail.com"
] | yayanyang@gmail.com |
fb9eeb2042f815975509c05f45a99cae5b7916e3 | e02ad019d97aedcafa8bdd2606ef1b46ab711611 | /array/605_can_place_flowers.cpp | aeee61a5bff546907aa37bd0a5445113004aa129 | [] | no_license | zhoudinglive/leetcode_daily | ab93c9bf67a79ff81401c484479b7d4b50630fa7 | 77a404ee4049d7ea7a8f499b2073170dfd2e983d | refs/heads/master | 2020-04-11T01:32:22.228202 | 2020-03-20T13:21:17 | 2020-03-20T13:21:17 | 161,418,728 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
using namespace std;
class Solution {
public:
bool canPlaceFlowers(vector<int> &flowerbed, int n) {
vector<int> one_index;
for (int i = 0; i < flowerbed.size(); ++i) {
if (flowerbed[i] == 1) {
one_index.push_back(... | [
"zhoudinglive@gmail.com"
] | zhoudinglive@gmail.com |
7122b16ed5c83cce73c602a03f240968a4c2cd23 | baed2ef7de880259daf49800dadcbae01972c784 | /src/internal/TimerHandler.h | 74d09e87b15a0726aced3caf607f9c090ff425ee | [] | no_license | yuxiang660/little-bee-socket | 53b50c95e09cf6730228a55192d803fbb3dcebf4 | 4a5040ddc948f0522bf8d9357188857cc18993c6 | refs/heads/master | 2021-05-22T01:39:43.093264 | 2020-05-27T15:50:52 | 2020-05-27T15:50:52 | 252,908,818 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | h | #pragma once
#include "internal/system/Timestamp.h"
#include <atomic>
#include <functional>
namespace cbee
{
class TimerHandler
{
public:
typedef std::function<void()> TimerFunc;
TimerHandler(Timestamp time, double interval, TimerFunc cb);
void run() const;
bool updateExpiredTime(Timestamp handleTime)... | [
"yuxiang660@163.com"
] | yuxiang660@163.com |
858186b033233f91738c4b126a4cd5141da03fc7 | 5f39ddbf9844365da4653725d6d5f33c512076d0 | /detail/os/impl/linux_timer_impl.h | b1142eb52c745f9022489776be82ecfbdf2aacc6 | [
"MIT"
] | permissive | wembikon/baba.io | b78a150a2e616fa779048b7b34a73775a4197561 | 87bec680c1febb64356af59e7e499c2b2b64d30c | refs/heads/master | 2023-03-21T11:04:20.911668 | 2021-03-21T18:07:55 | 2021-03-21T18:07:55 | 268,497,637 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | h | /**
* MIT License
* Copyright (c) 2020 Adrian T. Visarra
**/
#pragma once
#include "baba/error_code.h"
#include "baba/io_handle.h"
#include <cstdint>
namespace baba::os::linux_timer_impl {
struct create_timer_result final {
error_code ec = ec::OK;
io_handle fd = INVALID_HANDLE_VALUE;
};
c... | [
"wembikon@outlook.com"
] | wembikon@outlook.com |
bffaf6c8cc5972ba9821133d3f7537819d63fe88 | 1ebe95dc09e83057c8b8f6097aa8b960e98abf23 | /CAMPFECEncoder-v1.h | 363592b305f4166a544bedb8d8072915d9890109 | [] | no_license | hanyoung11/campMMTcloudTest | d05ba666b54b5dc900227e016f97a2e5a9190a08 | 43147d33020d3c9c0eebacdd2c9fe55459493533 | refs/heads/master | 2021-03-21T07:50:04.013208 | 2020-04-20T05:03:02 | 2020-04-20T05:03:02 | 247,277,104 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,357 | h | //
// CAMPFECEncoder-v1.h
// CAMP-MMTServer-v1
//
// Created by Taeseop Kim & YC on 2016. 12. 1..
// Copyright © 2016년 MediaLab, KHU. All rights reserved.
//
#ifndef CAMPFECEncoder_v1_h
#define CAMPFECEncoder_v1_h
#include "CAMPServerHeader.h"
#include <string.h>
#include <stdio.h>
#include <memory.h>
#define N_... | [
"noreply@github.com"
] | hanyoung11.noreply@github.com |
c6cf2a2ed6d6ef00ee1c9e0058faafa52c69ca2e | 57b6fa831fe532cf0739135c77946f0061e3fbf5 | /NWNXLib/API/Linux/API/CExoArrayListTemplatedSMstDigiDistInfoPtr.hpp | 7150300779c67c8dbf228899a1a3cc9f1c01e354 | [
"MIT"
] | permissive | presscad/nwnee | dfcb90767258522f2b23afd9437d3dcad74f936d | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | refs/heads/master | 2020-08-22T05:26:11.221042 | 2018-11-24T16:45:45 | 2018-11-24T16:45:45 | 216,326,718 | 1 | 0 | MIT | 2019-10-20T07:54:45 | 2019-10-20T07:54:45 | null | UTF-8 | C++ | false | false | 455 | hpp | #pragma once
#include <cstdint>
namespace NWNXLib {
namespace API {
// Forward class declarations (defined in the source file)
struct SMstDigiDistInfo;
struct CExoArrayListTemplatedSMstDigiDistInfoPtr
{
SMstDigiDistInfo** element;
int32_t num;
int32_t array_size;
void Remove(SMstDigiDistInfo*);
};... | [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
169d2eb91f148ac5f173377658cf47179ca49882 | 968b9ad6f88921d3e244f8725c88e3080cac15f7 | /Pi-OBUSoftware/Terminal1/define.cpp | c9f351c28e3759d896b6911fc155f494ede3f9ee | [] | no_license | tungk59/gateway | b0bc7da366974f51327fa5d059187cfbae6763a1 | 285c967aa0fe7d17293d609fe990fcc3826463a6 | refs/heads/master | 2020-03-30T05:51:13.674870 | 2019-03-07T18:05:48 | 2019-03-07T18:05:48 | 150,823,818 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | #include "define.h"
#include "qdebug.h"
define::define(){
QString current_dir = QDir::currentPath().toAscii();
CONF_MQTT=current_dir+"/WSAN/confMQTT.txt";
DATA_SUPPORT=current_dir+"/WSAN/support.txt";
//CONF_MQTT=current_dir.append();
//qDebug()<<DATA_SUPPORT;
}
| [
"xuantung1796@gmail.com"
] | xuantung1796@gmail.com |
5f874e672e96ee2158cef2e4162cb811716d02a5 | 7f15f2f7fcea3e919ecca5297acab4d9f3229612 | /katkin/operations/not.hh | bcb647ff895779c54bd5061f8d158623017ff03d | [] | no_license | dlfurse/katkin | 596d5d029e84c40aed1c0e580b942cc658e2d698 | 7295319b8caaa21b7fd2b84f8e589a9b1f920af9 | refs/heads/master | 2021-01-21T19:28:31.119571 | 2015-04-05T15:47:52 | 2015-04-05T15:47:52 | 33,444,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | hh | #ifndef NOT_HH_
#define NOT_HH_
#include <katkin/core/x.hh>
#include <katkin/core/name.hh>
#include <katkin/core/declare_1_ary.hh>
#include <katkin/operations/evaluate_prefix.hh>
KATKIN_DECLARE_1_ARY( _not )
KATKIN_EVALUATE_PREFIX( _not, !, B, B )
#endif
| [
"daniel.furse@gmail.com"
] | daniel.furse@gmail.com |
68ebb3e49276097fa647bf9b122e3e20221c9fac | ee19e56bb8806906917ddfef150b752b971b310b | /includes/dhyara/routing/metric.h | feffab4b0ed56fc552d4a8a13c3b627869c24541 | [
"BSD-2-Clause"
] | permissive | RustyShackleforth/dhyara | 19ec93a3279b88d2292b5032866f960491eaeaa2 | 9f7dc956011f5aca542eca46cee4a27c463835a1 | refs/heads/main | 2023-04-12T16:50:56.522005 | 2021-05-11T21:25:00 | 2021-05-11T21:25:00 | 382,931,781 | 1 | 0 | BSD-2-Clause | 2021-07-04T19:21:44 | 2021-07-04T19:21:44 | null | UTF-8 | C++ | false | false | 1,706 | h | /*
* Copyright (c) 2020, Sunanda Bose (a.k.a. Neel Basu)
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#ifndef DHYARA_ROUTING_METRIC_H
#define DHYARA_ROUTING_METRIC_H
#include "dhyara/defs.h"
#includ... | [
"neel.basu.z@gmail.com"
] | neel.basu.z@gmail.com |
37f3720b8f0e5f905033d44f3a48ea073a49aa27 | 47cdfa519a88729d742b29d8d1d5422aecd620c1 | /modules/boost/simd/base/unit/arithmetic/simd/isqrt.cpp | 71df7d05bae8ce7aa24c5d958cb9ed4f96c5118f | [
"BSL-1.0"
] | permissive | alphaprime/nt2 | 5b8a53eca9a15e0db37b71f3100c5690c202da35 | 5fb330ef8126e64a8c0f643977de7ed442c895fb | refs/heads/master | 2021-01-16T23:15:21.437181 | 2013-08-24T13:38:33 | 2013-08-24T13:38:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,540 | cpp | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | [
"mathias@gaunard.com"
] | mathias@gaunard.com |
124632887409f9e4ce7f77c84c0ef7ad05257eb1 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_new_hunk_1786.cpp | c04bf4f3198b30ee2a2563ab53bb85e475b87075 | [] | 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 | 378 | cpp | "out of range" :
"invalid unit";
if (!value)
value = "";
if (cf && cf->name)
die(_("bad numeric config value '%s' for '%s' in %s: %s"),
value, name, cf->name, reason);
die(_("bad numeric config value '%s' for '%s': %s"), value, name, reason);
}
int git_config_int(const char *name, const c... | [
"993273596@qq.com"
] | 993273596@qq.com |
bb8a9b9d6039ca1cd00420583b3e52d83fbd970b | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /components/update_client/protocol_serializer_json.cc | db01ea21b0e6e3e0ce083c075b77d7ccb691e774 | [
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 8,189 | cc | // Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/update_client/protocol_serializer_json.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/json/json_writer.h"
#include "base/values... | [
"roger@nwjs.io"
] | roger@nwjs.io |
8af0dba4e0cd659eb0263581a481e692a65b3865 | 067936cabcabd42cfffd138b21c46efb5ae546b9 | /plugins/samplesource/testsource/testsourcegui.cpp | ce15db6929ccb04b74cb1b5b53cb01fc66bf126b | [] | no_license | herrfeuer/sdrangel | df9fe7c177438f8b5b058c748ce5cbc28ddc5e2a | 9bdf673f90d64e03520aa48753e3dd3b2420c732 | refs/heads/master | 2021-05-01T02:32:09.592113 | 2018-02-12T00:44:24 | 2018-02-12T00:44:24 | 108,776,176 | 0 | 0 | null | 2017-10-29T22:20:04 | 2017-10-29T22:20:03 | null | UTF-8 | C++ | false | false | 13,945 | cpp | ///////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2018 Edouard Griffiths, F4EXB //
// //
// This program is free software; you can redistribute it and/or mod... | [
"f4exb06@gmail.com"
] | f4exb06@gmail.com |
3ff5e588f3bc077afbbdd8767b3423e5f9813847 | be81f77592404e96e869d157acb6345027802282 | /tunerservice/tunerservice/jni/euinstallersat/installation/comp/hsvdvbsrussia/CHsvDvbsRussia_mAcq.h | 2f4460045e0b9617dd171b43c4d3a4f804dddd8d | [] | no_license | GongHuixue/2k15_asta_app | a5f39ca515958ad38a50b6a42a46b3fdb0d86b09 | 99ee7b8795db43374a19b0b439e90c3a63866862 | refs/heads/master | 2021-01-24T20:01:59.468015 | 2018-08-26T03:29:39 | 2018-08-26T03:29:39 | 123,243,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,670 | h | #ifndef _CHSVDVBSRUSSIA_MACQ_H
#define _CHSVDVBSRUSSIA_MACQ_H
#include <InfraGlobals.h>
#include <provreq.h>
#include <IHsvPower.h>
#include <IHsvDigitalAcquisition.h>
#include <IProdApiClockEx.h>
#include <IHsvErrorCodeEx.h>
#include <IHsvEuropeDiversity2.h>
#include <IHsvDigitalAcquisitionNotify.h>
#in... | [
"huixue.gong@tpv-tech.com"
] | huixue.gong@tpv-tech.com |
afef2022827dd7b79754329559c94517a4cc780c | 6e25c49160136c226fb698da6da570cacdab1156 | /codeforces/988e.cpp | b62b6c3b2624a81c70767670d079a15afb137f34 | [] | no_license | amitkvikram/COMPETITIVE-PROGRAMMING | 627627447f777192e092289989ebc60a8e67ae60 | cfa7ee44884e8739813e4f2779a0eb121bd3aa92 | refs/heads/master | 2021-10-22T11:07:19.763820 | 2019-03-10T03:42:43 | 2019-03-10T03:42:43 | 103,694,836 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,316 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
typedef long long ll;
void swap(char *x, char *y){
char tmp = *x;
*x = *y;
*y = tmp;
}
int calc(string x, string y){
int ind1 = -1, ind2 = -1;
for (int i = x.size() - 1; i >= 0; i--){
if(ind1 == -1 && x[i] == y[1])
... | [
"amitkvikram@gmail.com"
] | amitkvikram@gmail.com |
1c01253b8a131a00663d3ad1d8545261e3e5718e | 63e9e0e7be2cb502a56a5a8ca7c8c75be16d987f | /new/mywindow2.cpp | 1a6475c6d1b3563a56f28a0d943f8e90d71b3d8f | [] | no_license | Woo63/diff_tool | 6154c5ff13cd40741c6cae7488c5d6506cf9d2f5 | e009e9c9f097741c66abea461dbeefdabf04dd57 | refs/heads/master | 2021-10-16T04:20:46.933511 | 2019-02-07T17:43:05 | 2019-02-07T17:43:05 | 76,869,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include "mywindow2.h"
#include "ui_mywindow2.h"
#include <QtCore/QFile>
#include <QtWidgets/QDialog>
#include <QtWidgets/QFileDialog>
#include <QtWidgets/QMessageBox>
MyWindow2::MyWindow2(QString s11, QString s21)
: QDialog()
{
ui2 = new Ui::MyWindow2();
ui2->setupUi(this);
ui2->l1->setText(s11);
ui2->l2... | [
"55555r@list.ru"
] | 55555r@list.ru |
f32e63c9af9ba5199b6df64afb92fab635477706 | 1ee0598d0ab1a1eec95c74079ff50d884d1f0989 | /code/VehicleList/Vehicle22.cpp | aab9dec9630789378bf1883e1549e65430c99b2f | [] | no_license | slothxd/GCS | 2a3d95e004ddb1a5da53493b409911c961227451 | b1ff1075b8fb052d6cf33c55f8e9808ca0af087e | refs/heads/master | 2021-01-23T06:58:51.986574 | 2015-10-11T20:58:41 | 2015-10-11T20:58:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,419 | cpp | #include "Vehicle22.h"
#include <QMutex>
#include <QMutexLocker>
#include <QDebug>
Vehicle22::Vehicle22(QObject *parent) :
MapSymbol22(parent)
{
needsUpdate = false;
}
Vehicle22::Vehicle22(int vehicleID, int vehicleType, double altitude,
int mode, int state, int batte... | [
"ethanitorhs@gmail.com"
] | ethanitorhs@gmail.com |
3e7b0e3937e4ae5dbd47993b52eef952493f9645 | 6d0925131f8fea14f9c1c5f013ac4c6bf5627b15 | /src/qt/askpassphrasedialog.cpp | b1461a8c37e7ff3a9aad543c823a17a63d9aba53 | [
"MIT"
] | permissive | CarsonCloak/DARK | 225f247e38d58dfcfe2b7b8f74a6ec085d42875a | 56f01140e128b4b75c5cc7110523d03c75ffe39a | refs/heads/master | 2021-01-10T21:15:30.225533 | 2015-05-08T06:14:40 | 2015-05-08T06:14:40 | 26,949,552 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 10,259 | cpp | #include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
extern bool fWalletUnlockStakingOnly;
AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
QDialog(parent),... | [
"carson@fudcoin.net"
] | carson@fudcoin.net |
fec2f42dea3027686704209c979a40bc07715161 | ebd337be89c4c0decb95b55bbf00e380c7a048c1 | /CPP/226. Invert Binary Tree.cpp | 311ff6e2ba008ba50a0b3b152962f19a4bf02b64 | [] | no_license | congfeng22/Leetcode | 10f8c4baa8e3db07b1e2689628036a43c8dde767 | 1794586f5c4e866f85a56649a65135597e2e6b9f | refs/heads/master | 2022-10-08T20:07:22.125380 | 2022-10-05T01:03:15 | 2022-10-05T01:03:15 | 230,495,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cpp | using namespace std;
#include <iostream>
// Definition for a binary tree node.
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
TreeNode(int x, TreeNode *left, TreeNode *r... | [
"congfeng22@gmail.com"
] | congfeng22@gmail.com |
02ee84f2ff9eadb2151c98dd5e4638ce48d60423 | fc58e607cb8676384369ab17eb3419f94bda3fc7 | /hospitalA.cpp | ef84cae01a6de91fb5d3fd79afa632535babce36 | [] | no_license | sanjaynela/HospitalBed | 421eaaa048e28198993bb79f9fcd1216ba4f9776 | efba57c40743726133b262530ec11efb74964d42 | refs/heads/main | 2023-06-28T13:17:34.933441 | 2021-07-31T07:56:39 | 2021-07-31T07:56:39 | 391,289,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,878 | cpp | #include <iostream>
#include <string.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <unistd.h>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <cstring>
#include <set>
#include <iterator>
#include <map>
#include <typeinfo>
#include <limits.h>
// exte... | [
"noreply@github.com"
] | sanjaynela.noreply@github.com |
2988fee3beffc7395a134b381ebd80cda4864c12 | 58f965cbb405ef1c9e1444e4d9bf7061a6c34a85 | /deps/libgraphqlparser/c/GraphQLAstToJSON.cpp | ec42ae5e3332f467bfc13b7789d1bd5b586715a4 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown",
"MIT"
] | permissive | dosten/graphql-parser-php | 2bcae361da6e28c7aeb99d10545d0cef80ae89d1 | 9c9c87266e199524edec8f9a48c0dcb2769418e3 | refs/heads/master | 2021-01-11T00:47:12.778610 | 2019-10-30T11:31:27 | 2019-10-30T11:31:27 | 70,489,448 | 34 | 3 | MIT | 2019-10-30T11:31:28 | 2016-10-10T13:14:19 | PHP | UTF-8 | C++ | false | false | 649 | cpp | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "... | [
"diego@saintesteben.me"
] | diego@saintesteben.me |
48d310818161326995d3868a599df5ec8902b744 | 3fb07eb1f17b8ea729dccb81cbc6bcac6b6f6b65 | /test/Test_BitOperations.cpp | 9363a49892970c2daffe51f508e357bcd9a60806 | [] | no_license | petiaccja/Inline-BaseLibrary | 4c3839dcb3aadc72bb333241951e5bb0b5a37a54 | 413051a1804bbb138da9061f032af44d1c10bd8c | refs/heads/master | 2021-01-09T15:52:58.912704 | 2020-09-19T19:05:41 | 2020-09-19T19:05:41 | 242,363,322 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,733 | cpp | #include <InlineLib/BitOperations.hpp>
#include <Catch2/catch.hpp>
using namespace inl;
class Base {};
class Derived : Base {};
class DerivedVirtual : virtual Base {};
TEST_CASE("C-Trailing-Z 32", "[BitOperations]") {
uint32_t number = 0b00000000'00000000'00000001'00000000;
REQUIRE(CountTrailing... | [
"kardospeter1994@hotmail.com"
] | kardospeter1994@hotmail.com |
3f34e066251ccc41381587090d43ab08ed73f828 | 30e1dc84fe8c54d26ef4a1aff000a83af6f612be | /src/external/boost/boost_1_68_0/libs/polygon/example/gtl_custom_polygon.cpp | f2f3d2f2fe6d04c31e04d073e2b8f3c5d850fd3a | [
"BSD-3-Clause",
"BSL-1.0"
] | permissive | Sitispeaks/turicreate | 0bda7c21ee97f5ae7dc09502f6a72abcb729536d | d42280b16cb466a608e7e723d8edfbe5977253b6 | refs/heads/main | 2023-05-19T17:55:21.938724 | 2021-06-14T17:53:17 | 2021-06-14T17:53:17 | 385,034,849 | 1 | 0 | BSD-3-Clause | 2021-07-11T19:23:21 | 2021-07-11T19:23:20 | null | UTF-8 | C++ | false | false | 4,233 | cpp | /*
Copyright 2008 Intel Corporation
Use, modification and distribution are subject to the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
*/
#include <boost/polygon/polygon.hpp>
#include <cassert>
#include <list>
namespace gtl = boost::polyg... | [
"noreply@github.com"
] | Sitispeaks.noreply@github.com |
9543856335b1225ce27706171ee9e8a59d29c3ab | 07fbf3ab32180d94afb1eadd1a8f8ddd657e8656 | /NWNXLib/API/Linux/API/CExoArrayListTemplatedCEffectIconObjectPtr.hpp | 369b1e9b1a0b04dae178bd51bd347049189f933b | [
"MIT"
] | permissive | ELadner/nwnx-unified | 3b322e8722eab70c9c72a45e71013b89dbbf1e89 | 09f8e8a0c1474e8b16d4746f9cb57ca870a17ce5 | refs/heads/master | 2021-09-04T08:52:06.521478 | 2018-01-17T13:04:29 | 2018-01-17T13:04:29 | 117,771,934 | 0 | 0 | null | 2018-01-17T02:29:14 | 2018-01-17T02:29:14 | null | UTF-8 | C++ | false | false | 314 | hpp | #pragma once
#include <cstdint>
namespace NWNXLib {
namespace API {
// Forward class declarations (defined in the source file)
struct CEffectIconObject;
struct CExoArrayListTemplatedCEffectIconObjectPtr
{
CEffectIconObject** element;
int32_t num;
int32_t array_size;
};
}
}
| [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
9b9a932df663839448263cbefad2dfec539e7905 | b9e67489507bf7f05ba227ea63f4dbb9349a5655 | /cc/test/pixel_test_delegating_output_surface.cc | 6c40eced2e069714d86e205b5b5143ac939d96ea | [
"BSD-3-Clause"
] | permissive | fohne/chromium | 44b5fe6c7ed0518e8955f64e2068df5582a2a4eb | 7e921d98243a6aa5a481436ec300f83942e376d0 | refs/heads/master | 2023-01-07T15:01:42.589731 | 2016-07-14T20:24:16 | 2016-07-14T20:26:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,978 | cc | // Copyright 2016 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 "cc/test/pixel_test_delegating_output_surface.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
cf073f594ae020101e995a56dc72cd9b6269ceb3 | 263a50fb4ca9be07a5b229ac80047f068721f459 | /chrome/browser/extensions/api/socket/udp_socket.h | 6511e5def792bf87c38ceee42378245a79d438f3 | [
"BSD-3-Clause"
] | permissive | talalbutt/clank | 8150b328294d0ac7406fa86e2d7f0b960098dc91 | d060a5fcce180009d2eb9257a809cfcb3515f997 | refs/heads/master | 2021-01-18T01:54:24.585184 | 2012-10-17T15:00:42 | 2012-10-17T15:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_API_SOCKET_UDP_SOCKET_H_
#define CHROME_BROWSER_EXTENSIONS_API_SOCKET_UDP_SOCKET_H_
#pragma once
#include <string>
... | [
"plind@mips.com"
] | plind@mips.com |
893bc5fee155d8d8f5657db5c3fac8be986a1753 | 2cf27428a26754a9f7d581dc82a5c0d5ac502da9 | /LB7.2/LB7.2.cpp | aee91d7b08b5300a4680015fa81fcf55a4a248bf | [] | no_license | Nazarmalskij/Lb7 | 50171b44b4fc00a91a1376e3f868b78b5df35142 | ccc8772765ea7750c74921ae76e9ab4f5f684ae0 | refs/heads/master | 2023-01-24T18:43:27.291875 | 2020-11-22T23:36:28 | 2020-11-22T23:36:28 | 315,113,348 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,501 | cpp | #include <iostream>
#include <iomanip>
#include <time.h>
using namespace std;
void Create(int** a, const int n, const int Low, const int High);
void Print(int** a, const int n);
void Calc(int** a, const int n, int k, int max, int low);
int main()
{
srand((unsigned)time(NULL));
int Low = 7;
int High = 65;
... | [
"nazarmalskij@gmail.com"
] | nazarmalskij@gmail.com |
033b54641726dabbe696ed46c11d64c119df3d5d | ef4722d1e177ceedad12c100f290db2c067efdfa | /Dynamic_Memory.h | d444c1362caccb068567d3727c80e6e2c197cd77 | [] | no_license | Mostafa-ashraf19/Data-Structure-Techniques-Libraries | cb3d349eea8314cb0682ef7bc91b1b834aa78ef3 | ca23c685b32a45a10ce6875141b3b272df0eff61 | refs/heads/master | 2020-12-29T08:40:21.607222 | 2020-04-21T04:33:47 | 2020-04-21T04:33:47 | 238,539,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | h |
/*template<class T>
class Dynamic_alloc
{
int current_size,index=0;
T *ptr;
public:
Dynamic_alloc();
~Dynamic_alloc();
void push_back(T n);
void set_size(int size);
private:
};
template<class T>
void Dynamic_alloc :: push_back(T n) {
index++;
T *temp = new T[index];
for (int i = 0; i < index; i++)
{
}
}
... | [
"mostaphaashraf1996@gmail.com"
] | mostaphaashraf1996@gmail.com |
a016fcdba67d3d8569e6e2d74029daceac150215 | 00fb0fffc171bdecdc3acaedae0bffce2d237afb | /by_tags/数组/16_Rotate_Image.cpp | 2a9522c1fd8b580d60b5bcdb66d2e6529f3a9af6 | [] | no_license | GuodongQi/LeetCode | ce43ad7b678ff5e4780f077a03b8b712da8776a3 | 715e301068432c12b35169728390b64a8d4f83a2 | refs/heads/master | 2020-04-17T06:23:36.964126 | 2019-08-06T11:37:27 | 2019-08-06T11:37:27 | 166,323,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | class Solution {
public:
void rotate(vector<vector<int>>& matrix) {
for(int i = 0; i< matrix.size()/2;i++){
for(int j =0;j< matrix.size();j++){
swap(matrix[i][j], matrix[matrix.size()-1-i][j]);
}
}
for(int i = 0; i< matrix.size();i++){
... | [
"guodong_qi@zju.edu.cn"
] | guodong_qi@zju.edu.cn |
835b0ef8dffa4b3adfe9f1871a271f4fe75013ef | e48c7e938aea5c012122db3baf0d83365f0facd6 | /1819/December/balance/balance2.cpp | 85cabecb04ddd9afbe5a5a71b89870b4c60a4964 | [] | no_license | neeyanthkvk/USACO | b5912f46c251f3763fcbcb33c43bac5e5674e7b1 | 82a152661bc602eee22ab8f2a9cb2a72156e1893 | refs/heads/master | 2020-04-16T11:06:43.225088 | 2019-01-13T15:55:22 | 2019-01-13T15:55:22 | 115,893,423 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,601 | cpp | #include <bits/stdc++.h>
using namespace std;
#define tab "\t"
long double ex[100000];
long f[100002];
//#define DEBUG
int main() {
freopen("balance.in","r",stdin);
freopen("balance.out","w",stdout);
int N;
cin >> N;
f[0] = 0;
for(int i = 0; i < N; i++) {
cin >> f[i+1];
}
f[N+1... | [
"neeyanthkvk@gmail.com"
] | neeyanthkvk@gmail.com |
caf6d3f219cf12fe18d62efba2a58c41476966b6 | 3d8254cdec23ce1bf8fb8ade5527732fa86a477c | /srci/roots2poly.cpp | c763c5756fdd23fa54c66177dca79bbb4118738f | [
"BSD-3-Clause"
] | permissive | zcy618/openVOICE | 8cb2cc60e3aa73b40a438beed38282c343688a97 | ee7cff99cfd1bd21265138b4407cfd685c1c0ce7 | refs/heads/master | 2022-08-27T20:26:34.537356 | 2020-05-29T21:29:13 | 2020-05-29T21:29:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,757 | cpp | //Includes
#include "roots2poly.c"
//Declarations
const valarray<uint8_t> oktypes = {1,2,101,102};
const size_t I = 1, O = 1;
int dim;
//Description
string descr;
descr += "Converts roots back to polynomials along rows or cols of X.\n";
descr += "This is like the poly function of Octave.\n";
descr += "Output (Y) has ... | [
"erik.edwards4@gmail.com"
] | erik.edwards4@gmail.com |
3692587dce850d396ccb9fde881733ebc0e7d5a9 | cceacff4359585a6e7c55743e11845e99f39aa8b | /Src/Runtime/Core/Ident.h | c717bbfb948cb7e8aa0936df99d5fb5bb3d4796c | [
"Unlicense"
] | permissive | JackyCBN/Codegym | f1b51536e706820859ffd08e9960cbeaf53f4aa1 | 6e5e088bd35836016db4b852c647b938bd514a25 | refs/heads/master | 2022-05-09T14:04:59.145487 | 2022-05-06T15:42:33 | 2022-05-06T15:42:33 | 195,020,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | h | #pragma once
#include "Base.h"
namespace codegym::runtime {
/**
* @brief Types identifiers.
*
* Variable template used to generate identifiers at compile-time for the given
* types. Use the `get` member function to know what's the identifier associated
* to the specific type.
*
* @note
* Identifiers are co... | [
"JackyCBN@163.com"
] | JackyCBN@163.com |
43cca41ecf24d783907193685cfbc5b35d92442d | 8aa649556fa4af697a0f40156c4a5df03e798224 | /Project3/Project3/DefaultCalc.cpp | 07034a636a79eb82e99631525e11c535348acc77 | [] | no_license | sungmin0318/Cpp-Project | 48c617713c81b64f029661cf158e0f363d682d6b | 828acd97feea25baf6c012e7714e909103031a09 | refs/heads/master | 2020-11-27T23:21:48.804610 | 2019-12-22T23:46:16 | 2019-12-22T23:46:16 | 229,644,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | cpp | #include "DefaultCalc.h"
DefaultCalc::DefaultCalc()
{
}
DefaultCalc::~DefaultCalc()
{
}
bool DefaultCalc::calcptr (double prefix, double postfix, double *result, char param)
{
switch (param)
{
case('+'):
*result = prefix + postfix;
return true;
break;
case('-'):
*result = pr... | [
"noreply@github.com"
] | sungmin0318.noreply@github.com |
d4e78fdeb6351cf701e2b179ddda7d79a42f6455 | 71748af361958b27150a7fdcd04195b8df929580 | /README.cpp | 3668f4579712a8435d70a07b2cb45b9ddff05329 | [] | no_license | sumithraK/sub | 38df674afff79f6056172fcbc6eb7773e8ba808b | 363d758f5aa6b407e92f7816f016b9a7cc3f7b74 | refs/heads/master | 2021-01-09T20:37:06.686864 | 2016-07-25T13:37:03 | 2016-07-25T13:37:03 | 64,137,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | #include <iostream>
#include<string>
using namespace std;
int main()
{
string s;
cin>>s;
int i,c,k,j;
int n= s.length();
for(i=0;i<n;i++){
c=0;
k=0;
for(j=0;j<i;j++){
if(s[i]==s[j])
k++;
}
for(j=0;j<n;j++)
{
if(s[i]... | [
"noreply@github.com"
] | sumithraK.noreply@github.com |
4d6385642a6c9635df31fb023ccb315986fce0bd | 8b5b87686dddabfae83ae7128457fbfa58bf90ed | /Week6/HashTableVersusBST/redblackbst.cpp | b445103136a68e49f1586540f9952aaaeabf1b8f | [
"MIT"
] | permissive | andrewlavaia/Algorithms-Sedgewick-Princeton | 1585b41828ed2d9d21ffe3a54ee8675e44eb0445 | 856ac0deac6c3c8cec8eb99022692442397f77f9 | refs/heads/master | 2020-03-08T01:47:10.648998 | 2018-04-26T02:39:26 | 2018-04-26T02:39:26 | 127,840,737 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,641 | cpp | #include "redblackbst.h"
#include <iostream>
RedBlackBST::RedBlackBST() {
root = nullptr;
}
// Adds a new key/value pair or updates the
// value if the key already exists in BST
void RedBlackBST::put(std::string key, int val) {
root = recursivePut(root, key, val);
root->color = BLACK; // root needs to be black or... | [
"alavaia@yahoo.com"
] | alavaia@yahoo.com |
86433a414af7974b5710f6a3c5671e201cdd208f | e51d009c6c6a1633c2c11ea4e89f289ea294ec7e | /xr2-dsgn/sources/xray/game/sources/collision_object_types.h | 69d23baf291c97e219b3e166108e1fb2f0e6bc85 | [] | no_license | avmal0-Cor/xr2-dsgn | a0c726a4d54a2ac8147a36549bc79620fead0090 | 14e9203ee26be7a3cb5ca5da7056ecb53c558c72 | refs/heads/master | 2023-07-03T02:05:00.566892 | 2021-08-06T03:10:53 | 2021-08-06T03:10:53 | 389,939,196 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 690 | h | ////////////////////////////////////////////////////////////////////////////
// Created : 28.01.2011
// Author : Tetyana Meleshchenko
// Copyright (C) GSC Game World - 2011
////////////////////////////////////////////////////////////////////////////
#ifndef COLLISION_OBJECT_TYPES_H_INCLUDED
#define COLLISION_OBJECT_... | [
"youalexandrov@icloud.com"
] | youalexandrov@icloud.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.