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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
de5bbe8f6f4fff5cbd6a07511faf4204f0e5c858 | 5e4cd5a93fd2458979aa3c2dcc1cc62623c74fce | /Defs.h | ae8fb9a1ad03f1b7ee17cec00bb0cd8e77c945cf | [] | no_license | MichaelZhao21/CSCE1040-UNT-Project4 | 02ad94bb1b8aa31bed24cbae62485db7e639ad79 | c5c4085096fe800bf3dd1a67a78cebaa7730d110 | refs/heads/master | 2022-04-17T22:20:15.311463 | 2020-04-18T22:17:38 | 2020-04-18T22:17:38 | 254,800,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | h | #ifndef DEFS_H
#define DEFS_H
#include <string>
#include <vector>
#include <unordered_map>
#include <iostream>
#include <iomanip>
#include <limits>
#include <fstream>
#include <cmath>
#include <regex>
#include <cassert>
using namespace std;
typedef vector<string> vs;
typedef vector<int> vi;
#endif //DEFS_H
| [
"michaelzhao314@gmail.com"
] | michaelzhao314@gmail.com |
ca16c0536ae1bf60bc6b904de7f377d4b9906cc2 | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /gaussdbfornosql/src/v3/model/NoSqlModiflyEpsQuotasRequestBody.cpp | 2fde09aa2814ae9ae58ade75e6c66e8fe4e14f45 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,620 | cpp |
#include "huaweicloud/gaussdbfornosql/v3/model/NoSqlModiflyEpsQuotasRequestBody.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Gaussdbfornosql {
namespace V3 {
namespace Model {
NoSqlModiflyEpsQuotasRequestBody::NoSqlModiflyEpsQuotasRequestBody()
{
quotasIsSet_ = false;
}
NoSqlModiflyEpsQuotasRequestB... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
9110d98534923d789537c83e84c41741052afc52 | 290b4c7ca63a975b38e55018cc38bd2766e14639 | /ORC_app/jni-build/jni/genfiles/tensorflow/core/framework/step_stats.pb.h | 429248f68c0a447bc991dfcf1b81222df44e6883 | [
"MIT"
] | permissive | luoabd/EMNIST-ORC | 1233c373abcc3ed237c2ec86491b29c0b9223894 | 8c2d633a9b4d5214e908550812f6a2489ba9eb72 | refs/heads/master | 2022-12-27T14:03:55.046933 | 2020-01-16T15:20:04 | 2020-01-16T15:20:04 | 234,325,497 | 0 | 1 | MIT | 2022-12-11T13:32:42 | 2020-01-16T13:25:23 | C++ | UTF-8 | C++ | false | true | 43,549 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/step_stats.proto
#ifndef PROTOBUF_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto__INCLUDED
#define PROTOBUF_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto__INCLUDED
#include <string>
#include <google/protobuf... | [
"abdellah.lahnaoui@gmail.com"
] | abdellah.lahnaoui@gmail.com |
335ea278a382252b0c08847ba3d6c1e455a418be | 29a1989e08f9fc2b7f9bbf663b04a1fc6442735a | /Dynamic Programming/2579.cpp | e176efe7ce9d1f9bfe2f0b1cdb977d16d3c93746 | [] | no_license | giantim/algorithm_practice | 310a6130dca72a211e1624fea09af69a20a44bda | 009132a428c9ed7291078fe2d777e9e95b0bbc49 | refs/heads/master | 2021-06-17T13:50:31.510429 | 2021-04-10T01:48:34 | 2021-04-10T01:48:34 | 193,831,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | #include <iostream>
using namespace std;
int stair[300];
int total[300];
int main()
{
int T, i;
int count = 1;
cin >> T;
for (i = 0; i < T; i++)
cin >> stair[i];
total[0] = stair[0];
total[1] = stair[0] + stair[1];
total[2] = stair[0] > stair[1] ? stair[0] + stair[2] : stair[1] + stair[2];
for (i = 3; i <= ... | [
"giantim132@gmail.com"
] | giantim132@gmail.com |
831192606f54d11201fabb246e8a3822acb9f3cf | 8daeb0c11937793c99aed8daed6e5794361656d7 | /adventofcode/day1/bin/day1.cpp | a0dd0e187a96c2bb58a375076e77cc7f0fc5cd72 | [
"MIT"
] | permissive | terotests/Ranger | 8c35f4d444070454765c2c8f691af0b09bd8bf19 | 1ed644d3014cf1c27198701f9539d83447204d64 | refs/heads/master | 2020-05-22T17:19:01.357080 | 2018-11-10T14:05:06 | 2018-11-10T14:05:06 | 84,709,069 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,787 | cpp | #include <memory>
#include "variant.hpp"
#include <string>
#include <vector>
#include <sstream>
#include <iterator>
#include <functional>
#include <iostream>
// define classes here to avoid compiler errors
class day_one;
class operatorsOf;
typedef mpark::variant<std::shared_ptr<day_one>, int, std::string, boo... | [
"tero@DESKTOP-OVRCN99.localdomain"
] | tero@DESKTOP-OVRCN99.localdomain |
a979bdfb738c751e295735a7da056c6d64989831 | 3b52957226a012ec352f3f73192fd77828ad501c | /LightOJ/1072 - Calm Down.cpp | 3a4f916f02c5076e1935742548c446212f6433dd | [] | no_license | jishnusaha/Competetive-Programming | 8912aa92962d4c72712de44449f6e9ac8f34fbbf | 5535ee9d67a37def87541639f488e328ba579a97 | refs/heads/master | 2021-06-30T00:18:26.959910 | 2020-12-21T18:18:37 | 2020-12-21T18:18:37 | 204,193,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include<iostream>
#include<iomanip>
#include<math.h>
#define pi 2.0*acos(0.0)
using namespace std ;
int main ()
{
int t , i ;
cin>>t ;
for (i=1 ; i<=t ; i++)
{
double x , n , R ,r ;
cin >> R >> n;
x=sin(pi / n);
r=(x * R) / (1 + x) ;
cout << setprecision(10) << "Case " << i << ": " << r <<endl ;
}
... | [
"jishnusaha89@gmail.com"
] | jishnusaha89@gmail.com |
746abf35b90193d7734776a56859e3ec22bc882a | 6d7f2381b8f1c5c0e0d96156ae36cac12be3017b | /atcoder/abc069/B/main.cpp | 0f47689b157bdd68367bdbb2d5c2bd452c83eed3 | [
"Unlicense"
] | permissive | Johniel/contests | 708ccf944d6aeb0ef0404eec47e8ff7819ea00f0 | 15d465b08cac56e394509bcf8f24764e3dc6ca7d | refs/heads/master | 2023-09-04T07:32:49.822786 | 2023-09-02T13:44:28 | 2023-09-02T13:44:50 | 48,701,889 | 0 | 0 | null | 2019-10-25T09:21:20 | 2015-12-28T16:38:38 | C++ | UTF-8 | C++ | false | false | 1,061 | cpp | #include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << "... | [
"motohazu@mercari.com"
] | motohazu@mercari.com |
75d9768fddf982b7f8057f06170831dd2cf689c9 | 4dbb45758447dcfa13c0be21e4749d62588aab70 | /iOS/Classes/Native/UnityEngine_UI_U3CModuleU3E86524790.h | 2ab8d1ad4e6ccca06e51e7561f9b5ccaf730fcf1 | [
"MIT"
] | permissive | mopsicus/unity-share-plugin-ios-android | 6dd6ccd2fa05c73f0bf5e480a6f2baecb7e7a710 | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | refs/heads/master | 2020-12-25T14:38:03.861759 | 2016-07-19T10:06:04 | 2016-07-19T10:06:04 | 63,676,983 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct ... | [
"lii@rstgames.com"
] | lii@rstgames.com |
f3a90e0b57f26aa7759f9156e09fd0d8a7de70a1 | 282f567373766261ef56e3b8824b58e107584f94 | /OJ/OpenJudge/1.9 编程基础之顺序查找/1.9-03.cpp | 19fa6a1257b0a6caf1a3a71057de4ab2ce84efbd | [] | no_license | yhzhm/Practice | 27aff56652122d64d7879f15aa41e2550240bb06 | 9114447ed3346614a7c633f51917069da6aa17f7 | refs/heads/master | 2022-10-19T01:15:10.517149 | 2022-09-29T09:04:38 | 2022-09-29T09:04:38 | 121,328,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int max = 0, n1, n2, d = 0;
for (int i = 1; i <= 7; ++i) {
cin >> n1 >> n2;
if (n1 + n2 > 8 && max < n1 + n2) {
max = n1 + n2;
d = i;
}
}
cout << d << endl;
return 0;
} | [
"yhzhm@qq.com"
] | yhzhm@qq.com |
502089f4ff2b370a347b2fa248e3346ecbbd5aa5 | 8085f16eaf5133bebb45aeeabb9b172ae3db4176 | /hiho1078/hiho1078/main.cpp | fff020082cf41d5016a4a01378dedf28b34d353e | [] | no_license | EyciaZhou/acm | ff0dd40971424f338369eca8507e8c339497f946 | 50121929dc658be717b8fa6076ec28dea915ce97 | refs/heads/master | 2020-05-01T08:57:48.118961 | 2015-06-09T06:48:53 | 2015-06-09T06:48:53 | 35,026,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | //
// main.cpp
// hiho1078
//
// Created by eycia on 12/5/15.
// Copyright (c) 2015年 eycia. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
| [
"zhou.eycia@gmail.com"
] | zhou.eycia@gmail.com |
6ecbe3ff54af3362fcaa325fe007634a00a91a99 | d75f121aa96edbfcfd4cdb09ec09a9affdf0c625 | /11th Assignment/Sungjuk.cpp | 994bcb91abb1db4df1127e1cde996233fb3f4b63 | [] | no_license | XIOZ119/Object_oriented_programming | cc9047dc17e15584318ef9be170af664d2991003 | c329e14c5585b5c78b198507eeaa710ca0895560 | refs/heads/master | 2023-06-03T00:03:00.628945 | 2021-06-23T08:25:01 | 2021-06-23T08:25:01 | 379,532,818 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 984 | cpp | #include "Student.h"
#include <algorithm>
#include <iostream>
using namespace std;
inline void InputValue(int& ref) {
cin >> ref;
}
inline void InputValue(string& ref) {
getline(cin, ref);
if (ref.empty())
getline(cin, ref);
}
inline void PrintMenu() {
cout << "=========메뉴=========" << endl;
cout << "1. 학생 정보... | [
"tjwns53@naver.com"
] | tjwns53@naver.com |
4fd3e3872fd51e7f2740b52d0c599a7d8c1ba1a9 | 5a68ff9e58ebdc209e3b462f45d3e885bcfa48fd | /Submarine/test.cpp | 6d99ed676a77864d48ca2370afbe9fe76b6af41e | [] | no_license | MishaLivshitz/submarines | cc43b1df12627d98108b7bf3c034186df68de621 | b5beadd960b9edecae1f2b29ea7bc42676a02ef4 | refs/heads/master | 2020-07-31T13:41:12.756969 | 2019-10-07T07:17:29 | 2019-10-07T07:17:29 | 164,846,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include "mu_test.h"
#include "Submarine.h"
UNIT(submarine_test)
const size_t size = 5;
Submarine s(size);
while (!s.isDead())
{
ASSERT_THAT(!s.isDead());
s.setHit();
}
ASSERT_THAT(s.isDead());
END_UNIT
TEST_SUITE(Test of submarine unit)
TEST(submarine_test)
END_SUIT... | [
"michaellivshitz91@gmail.com"
] | michaellivshitz91@gmail.com |
dd83a2311e6c80dbe7ab37f038691a9783146f84 | c287f063100e0ddb29bcf27e9f901b914cca0f2e | /thirdparty/v8/src/src/spaces.cc | 6c03daa75aea0d862a72908807cf1e24e96c57c6 | [
"bzip2-1.0.6",
"BSD-3-Clause",
"MIT"
] | permissive | imzcy/JavaScriptExecutable | 803c55db0adce8b32fcbe0db81531d248a9420d0 | 723a13f433aafad84faa609f62955ce826063c66 | refs/heads/master | 2022-11-05T01:37:49.036607 | 2016-10-26T17:13:10 | 2016-10-26T17:13:10 | 20,448,619 | 3 | 1 | MIT | 2022-10-24T23:26:37 | 2014-06-03T15:37:09 | C++ | UTF-8 | C++ | false | false | 104,014 | cc | // Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | [
"zcy920225@gmail.com"
] | zcy920225@gmail.com |
d1d5584484d4509e3a6093c41513ad351773c5fe | 88f47d1e5d1adc0617d04055eaa08181c6f23777 | /tests/gtest-binary-search-tree-tests.cpp | 7e175501d61dcde6f5edfe80e6cb3878c58d9bc6 | [
"BSD-3-Clause"
] | permissive | syedhali/data-structures-practice | de04bf5a232c8b8f899702c42a44b42a1e375de2 | 66e916fe177d87794eb3638757594b6741e2e5b2 | refs/heads/master | 2021-01-11T21:30:28.741478 | 2017-01-20T20:27:19 | 2017-01-20T20:27:19 | 78,794,388 | 1 | 1 | null | 2017-01-20T20:27:19 | 2017-01-12T22:54:16 | C++ | UTF-8 | C++ | false | false | 4,276 | cpp | //
// Created by Syed Haris Ali on 1/18/17.
//
#include <gtest/gtest.h>
#include "Tree/BinarySearchTree.h"
using namespace ds::tree::binary;
class BinarySearchTreeTest : public ::testing::Test {
protected:
Node<int> *mRootWithChildren;
SearchTree *mTree;
BinarySearchTreeTest() {
populateChildren... | [
"syedhali07@gmail.com"
] | syedhali07@gmail.com |
ada312d917a4ba55acc5240220719bf1ff3fee2c | ee54e7bdf79b7ce264f0bc22d1fd78177010bf75 | /cpp_tutor/函数重载.cpp | 512874b833549e0be44936d68dee3a278796e5cc | [] | no_license | luningcowboy/AlgorithmPractice | 985effad2d286bc09d515c73d4884f7ee48cb435 | 1d2cd40fe2f85edab87939feab05525134d89538 | refs/heads/master | 2021-09-28T01:21:19.939324 | 2018-11-13T05:09:42 | 2018-11-13T05:09:42 | 115,409,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include<iostream>
using namespace std;
void print(const char* myString){
cout<<myString<<endl;
}
void print(int myInt){
cout<<myInt<<endl;
}
int main(int argc, char const *argv[])
{
print("hello");
print(10);
return 0;
}
| [
"luning@tuyougame.com"
] | luning@tuyougame.com |
35369011c16164054dfb2be004c3b46df224da84 | 9be4b9a1b91b1acba724c2d5215104e352bbc93e | /node_modules/grunt-sass/node_modules/node-sass/libsass/sass_values.cpp | ac6b3afbb9fa03810e1e02423ad4b3f97c472490 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | railsgirlswgtn/intro-talk-may-2015 | a824a33b2c92dd9f44bed5215584196c7208ac9d | c2ba0be6d47cb4b57a1d429491aa114f750a18a2 | refs/heads/master | 2020-12-30T09:26:17.110159 | 2015-05-15T05:10:53 | 2015-05-15T05:10:53 | 35,654,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,897 | cpp | #include "stdlib.h"
#include "string.h"
#include "sass_values.h"
extern "C" {
union Sass_Value make_sass_boolean(int val) {
return new_sass_c_boolean(val);
}
union Sass_Value make_sass_number(double val) {
return new_sass_c_number(val);
}
union Sass_Value make_sass_percentage(double val) {
return new_sass_... | [
"merrin.macleod@gmail.com"
] | merrin.macleod@gmail.com |
a6570385adf9e60c2e751976b4bad64a17f23ba1 | e68065baff69ae084c727c1482169006e6a51ae6 | /StatTools/interface/DataCardCreatorHTT_2D.h | a2db3a0ee380bc04c3e4ae01553bf46c19e85b69 | [] | no_license | isobelojalvo/PUAnalysis-1 | f0d6ed502bd518c64ee0f1e4b0745a6e5edd524b | ab635a1c313ae4ff280e9eb4039733cc6ec53412 | refs/heads/cmssw10_2_14_2018 | 2020-06-20T18:43:37.086594 | 2019-10-14T22:31:22 | 2019-10-14T22:31:22 | 197,211,373 | 0 | 0 | null | 2019-07-26T16:22:28 | 2019-07-16T14:37:11 | C++ | UTF-8 | C++ | false | false | 96,962 | h | /*
Thanks to Laura Dodd:
https://github.com/lmdodd/StatTools/blob/master/interface/DataCardCreatorHTT2D.h
couldn't merge commit but needed this code!
Modifer: Sam Higginbotham
Nov 19th, 2018
*/
#include "TCanvas.h"
#include "TROOT.h"
#include "TFile.h"
#include "TTree.h"
#include "TChain.h"
#include "TH1.h"
#includ... | [
"samhiggie72@gmail.com"
] | samhiggie72@gmail.com |
6d8bb39532f0803b54167ccae958847e1497ff75 | b9d9b29c2a180399393c6ab298b9e5bfba17831e | /Top Interview Questions/328-Odd Even Linked List.cpp | 6ec9578d0304ad11d5d1b5df7c710322f61ebab1 | [] | no_license | qqwangxiaow/leetcode-fast-and-elegant | 08b7c6120b82f7ee3b5a99b84e7ba0f0eb38a477 | f5081a9e1d893b9d936d9486cf6141b5b35684e1 | refs/heads/master | 2022-02-11T00:36:22.911461 | 2022-01-02T05:14:20 | 2022-01-02T05:14:20 | 199,302,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | /*
while(cur2&&cur2->next) key!
*/
class Solution {
public:
ListNode* oddEvenList(ListNode* head) {
if(!head||!head->next||!head->next->next)
return head;
ListNode *head1=head,*head2=head->next;
ListNode *cur=head1,*cur2=head2;
while(cur2&&cur2->next)
{
... | [
"ywwangxiaow@qq.com"
] | ywwangxiaow@qq.com |
bf16887834fe216f410788fc2d0afec11bf14ea2 | a6703732232f45dadcadb352f0c3f5cf7a805e7c | /target.cpp | fe18a5363c33996f703c6614ba45bbd045b2c3a2 | [] | no_license | rrrrrerw/sokoban_game | 7c98ffe27e43552a2498f776aa9dcdb217f0b1d7 | bddd1dae4fd4a7d310da640f7b33db2cf2347dd6 | refs/heads/master | 2022-04-12T21:06:20.723281 | 2020-03-29T03:02:35 | 2020-03-29T03:02:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | #include "target.h"
target::target()
{
this->pixel = 64;
this->x_origin = 0;
this->y_origin = 0;
}
void target::set_origin(int x, int y)
{
this->x_origin = x;
this->y_origin = y;
}
| [
"lucky020372@gmail.com"
] | lucky020372@gmail.com |
d20cf3d471ed01faa086529a179397e49c9b7be9 | 0c3a00a110988e96e669fdf9295a5add6152837d | /Source/wali/include/wali/witness/Witness.hpp | 67e50a17dbb3f4740fc86921b0af42ec9bb8bc49 | [
"MIT"
] | permissive | pdschubert/WALi-OpenNWA | 0e360ac04326aa9cd20155b311898e1b6ff99d07 | 57c26420fb25bbb4bba8a6de3641fef0eb9967e0 | refs/heads/master | 2022-08-27T07:32:07.005480 | 2022-08-18T13:54:50 | 2022-08-18T13:54:50 | 148,313,943 | 1 | 5 | NOASSERTION | 2020-02-20T12:06:30 | 2018-09-11T12:30:20 | C++ | UTF-8 | C++ | false | false | 3,813 | hpp | #ifndef wali_WITNESS_GUARD
#define wali_WITNESS_GUARD 1
/*!
* @author Nicholas Kidd
*/
#include "wali/Common.hpp"
#include "wali/Markable.hpp"
#include "wali/ref_ptr.hpp"
#include "wali/SemElem.hpp"
#include "wali/witness/Visitable.hpp"
namespace wali
{
class Visitor;
namespace witness
{
class Witness;
... | [
"linusjun@mail.upb.de"
] | linusjun@mail.upb.de |
704b4b36a6a3a06861ee4e77c40d0513f0b4c338 | f34d62dbcc664385823c0f273c3e6aef66037f58 | /SimpleManager/RoleManagerItem.h | dbd259cd8b82c0b6c7178d2789d922433b6bec65 | [] | no_license | MetalPizzaCat/SimpleManager | 4a1455555aaf6cb8b83fe08ddb007b1fb88d848a | fb42350ce9061e2c7c5e97cc0f7e3424f6af7748 | refs/heads/master | 2023-03-12T23:10:34.635008 | 2021-02-26T12:14:04 | 2021-02-26T12:14:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | #pragma once
#include <QWidget>
#include "ui_RoleManagerItem.h"
#include "Info.h"
#include <QSqlDatabase>
class RoleManagerItem : public QWidget
{
Q_OBJECT
public:
RoleManagerItem(ManagerInfo::SUserInfo currentUserInfo, QSqlDatabase dataBase, QWidget *parent = Q_NULLPTR);
~RoleManagerItem();
private:
void Gene... | [
"catguy228@gmail.com"
] | catguy228@gmail.com |
56cac07d3f808598c1e1a2d7354bd594586e84fb | 10ee620f5e4473e11fb821d5944a6b06bf4ca493 | /UPPayAppDemo1/inc/BrCtlSampleAppContainer.h | 43f3da2633cd1714296830d0ceaeb30ad898f630 | [] | no_license | zhonghualee/TestSymbian | a4bc7401964da9a47ea4f80c68386e834613eb24 | 014ef7ef759a3dca419daf787eca2e5b8b8e4d6b | refs/heads/master | 2016-09-05T11:28:51.442611 | 2012-08-06T07:31:02 | 2012-08-06T07:31:02 | 5,311,232 | 0 | 1 | null | null | null | null | MacCentralEurope | C++ | false | false | 8,795 | h | /*
* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Symbian Foundation License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.symbia... | [
"zhonghua.lee@gmail.com"
] | zhonghua.lee@gmail.com |
b7799b124336aa3cee9e3ab585b6afcc2e705c63 | aa238e9d4f0b7ff0e86469b88bd877fde3f2c37f | /be/src/http/http_status.h | 44779a2d65acfc2120c10bfc80ae484c93f1835a | [
"Apache-2.0",
"BSD-3-Clause",
"dtoa",
"bzip2-1.0.6",
"BSL-1.0",
"PSF-2.0"
] | permissive | tengxunshigou/palo | 42474a5bcb3933443830c0ea6a1c56dd8f608c45 | fb64a1a8e8ed612cd95d1ea0c67bf70804a1d2da | refs/heads/master | 2021-01-16T21:13:50.190451 | 2017-08-11T14:09:07 | 2017-08-11T14:09:07 | 100,223,889 | 1 | 0 | null | 2017-08-14T03:18:55 | 2017-08-14T03:18:55 | null | UTF-8 | C++ | false | false | 2,201 | h | // Copyright (c) 2017, Baidu.com, Inc. All Rights Reserved
// 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... | [
"lichaoyong121@qq.com"
] | lichaoyong121@qq.com |
259880e592a6f7194dc69f7b054227460ebc06c3 | 1c83aef38de4e27f54d4664886a431b4fd2caea3 | /Engine/Rendering/VertexArray.h | 38946e75f40796b05d442f3f7b9e32d28a95b6ee | [] | no_license | quinsmpang/StormBrewerEngine | 7a84494debe415c9216586ccfb7d1faf5e0e016f | 73f0f3874874909fdf97977737133f5996668410 | refs/heads/master | 2021-06-21T05:42:34.051588 | 2017-08-09T08:51:42 | 2017-08-09T08:51:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | h | #pragma once
#include "Engine/EngineCommon.h"
#include "Engine/Rendering/VertexDefinition.h"
#include "Engine/Rendering/ShaderProgram.h"
#include "Engine/Rendering/VertexBuffer.h"
#ifndef _WEB
class ENGINE_EXPORT VertexArray
{
public:
VertexArray();
VertexArray(const VertexArray & rhs) = delete;
VertexArray(V... | [
"nick.weihs@gmail.com"
] | nick.weihs@gmail.com |
4d8a7d81f657c9d3e964834e42b018354bb4fd3e | 9b8591c5f2a54cc74c73a30472f97909e35f2ecf | /codegen/QtCharts/QVPieModelMapperSlots.h | 80cdd51380059a564216b25016c1cb346d4f1f83 | [
"MIT"
] | permissive | tnsr1/Qt5xHb | d3a9396a6ad5047010acd5d8459688e6e07e49c2 | 04b6bd5d8fb08903621003fa5e9b61b831c36fb3 | refs/heads/master | 2021-05-17T11:15:52.567808 | 2020-03-26T06:52:17 | 2020-03-26T06:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | %%
%% Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
%%
%% Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
%%
$project=Qt5xHb
$module=QtCharts
$header
$includes=5,7,0
using namespace QtCharts;
$beginSlotsClass
$signal=5,7,0|firstRowChanged()
$signal=5,7,0|labelsCol... | [
"5998677+marcosgambeta@users.noreply.github.com"
] | 5998677+marcosgambeta@users.noreply.github.com |
73fe1961d66789e1c2691cd2a400574424ccd116 | af886cff5033e866c2208f2d179b88ff74d33794 | /PCSamples/Graphics/VideoTexturePC12/DeviceResources.h | 21b2cc7e8f72d53b4a1eca235b98d4a9eb947700 | [] | permissive | tunip3/Xbox-ATG-Samples | c1d1d6c0b9f93c453733a1dada074b357bd6577a | 27e30925a46ae5777703361409b8395fed0394d3 | refs/heads/master | 2020-04-14T08:37:00.614182 | 2018-12-14T02:38:01 | 2018-12-14T02:38:01 | 163,739,353 | 3 | 0 | MIT | 2019-01-01T13:38:37 | 2019-01-01T13:38:37 | null | UTF-8 | C++ | false | false | 6,572 | h | //
// DeviceResources.h - A wrapper for the Direct3D 12 device and swapchain
//
#pragma once
namespace DX
{
// Provides an interface for an application that owns DeviceResources to be notified of the device being lost or created.
interface IDeviceNotify
{
virtual void OnDeviceLost() = 0;
... | [
"chuckw@windows.microsoft.com"
] | chuckw@windows.microsoft.com |
2465ef4b26b60aa47797c16e5d5c9ee85b13433f | 2442e2798dd379a5adeebfa392728720e6d14015 | /Promise.h | 67e5dcc1248b893f5d793fb22eb154563c688879 | [] | no_license | Amoniy/cpp-second-year-hometasks | 38e9c5c54ff0c02106c99c84cedb63d266fcc2d6 | 03a3615edcdd8221d0fc944eacdffb61c0623740 | refs/heads/master | 2021-09-28T08:12:03.654931 | 2018-11-15T20:54:49 | 2018-11-15T20:54:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,161 | h | #pragma once
#include <functional>
#include "Future.h"
template<typename T>
class Promise {
void ensureInitialized() const {
if (!state) {
throw std::runtime_error("Promise does not have state");
}
}
public:
void setPool(ThreadPool *threadPool) {
state->threadPool = th... | [
"anton17.04.1998@gmail.com"
] | anton17.04.1998@gmail.com |
8b32a8635834168d57c311d5b8419347f8e3f639 | cd004ef6ad32218c7153bd8c06cc83818975154a | /FDK/LrpCommon/Server_Server.hpp | f086164d79722a0e9a51d1a3fc33f5d05429982d | [
"MIT"
] | permissive | marmysh/FDK | 11b7890c26f7aa024af8ea82fcb7c141326d2e6f | cc6696a8eded9355e4789b0193872332f46cb792 | refs/heads/master | 2020-12-14T18:56:28.229987 | 2016-07-13T13:50:42 | 2016-07-13T13:50:42 | 63,467,798 | 1 | 0 | null | 2016-07-16T05:51:14 | 2016-07-16T05:51:14 | null | UTF-8 | C++ | false | false | 10,000 | hpp | // This is always generated file. Do not change anything.
// handlers of Server component
namespace
{
const unsigned short LrpComponent_Server_Id = 0;
const unsigned short LrpMethod_Server_OnHeartBeatRequest_Id = 0;
const unsigned short LrpMethod_Server_OnHeartBeatResponse_Id = 1;
const unsigned short LrpMethod_S... | [
"chronoxor@gmail.com"
] | chronoxor@gmail.com |
431fbd28ad5e4a08b800cd51c12b59ce88c90ecf | a179a141970ac96057643f09b97871709097c2a4 | /GFG/BT_BST/delete_tree.cpp | cde75a8599906a3bcde578c6854728a67e941b8f | [] | no_license | rahulranjan96/Programming | 7ce784b31300d0703149f2e60d8a2923247f6399 | dbd4a0bef7dc667f6505d59b9ed5177927bb63c5 | refs/heads/master | 2021-03-24T10:18:41.811818 | 2016-10-25T04:45:49 | 2016-10-25T04:45:49 | 71,860,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <queue>
#include <stack>
using namespace std;
typedef struct Node{
int key;
struct Node *left;
struct Node *right;
}node;
node* insert(node *root,int key)
{
if(root==NULL)
{
root=(node*)malloc(sizeof(node));
root->key=key;
root->left=NULL;
... | [
"rahulranjanyadav96@gmail.com"
] | rahulranjanyadav96@gmail.com |
191b7755965470350479a03e49b33d1c77cb892a | b516ffaa751c248a0f085e165e0da022dcd97df4 | /BonEngine/inc/Engine/Engine.h | ef849b97d9e41f19a8d67d97defdeb9b42a4ce5b | [
"MIT"
] | permissive | parhelia512/BonEngine | 0c90909cb15cfaa73a2d7da69e1b0b85fc8dec0d | 49cec684c2307715df0958ed673ff077eac0a395 | refs/heads/master | 2023-02-17T14:22:24.429552 | 2021-07-30T21:05:33 | 2021-07-30T21:05:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,411 | h | /*****************************************************************//**
* \file Engine.h
* \brief Define the main class that manage the game main loop.
*
* \author Ronen Ness
* \date May 2020
*********************************************************************/
#pragma once
#include "../dllimport.h"
#includ... | [
"RonenNess@gmail.com"
] | RonenNess@gmail.com |
5cd51f2eefe35c079bf0a6b95fd417d0fa910f53 | e672c441b7cb2fbfc5af72b18a6c7cd1621efc7d | /general/base/ChatParsing.cpp | 4ab2925295aa715b532ad5c8997bbe65bc99cf15 | [] | no_license | tgjklmda/CatchChallenger | f7b16da8ebcd3ef61e08c6e51015d49c4e8cbefb | beea053f581ecf9732aa887c6b6e5e4ff8769e9e | refs/heads/master | 2020-12-25T12:28:10.163407 | 2013-02-14T13:23:46 | 2013-02-14T13:23:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,411 | cpp | #include "ChatParsing.h"
using namespace CatchChallenger;
QString ChatParsing::new_chat_message(QString pseudo,Player_type player_type,Chat_type chat_type,QString text)
{
QString returned_html;
returned_html+="<div style=\"";
switch(chat_type)
{
case Chat_type_local://local
break;
... | [
"alpha_one_x86@first-world.info"
] | alpha_one_x86@first-world.info |
817395801d2ef98d2a8fc9abaedd094fc60a9632 | 8c46efa71edb8413bb46deb36b347627834a0c77 | /Common/math/triangle.cpp | 2bb95e19975d28924fbaaa8701266a76408f0f92 | [
"MIT"
] | permissive | azhugg/Common | 4f5b08d3f8dc66936b7eb243a5db2b3379fba06a | 239caba7912454a239e2162cad479fb1dd4ced7e | refs/heads/master | 2021-08-18T18:58:12.723498 | 2017-11-23T15:41:11 | 2017-11-23T15:41:11 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,992 | cpp |
#include "stdafx.h"
#include "triangle.h"
using namespace common;
Triangle::Triangle()
{
}
Triangle::Triangle( const Vector3& v1, const Vector3& v2, const Vector3 &v3 ):
a(v1), b(v2), c( v3 )
{
}
// Init
void Triangle::Create( const Vector3& v1, const Vector3& v2, const Vector3& v3 )
{
a = v1;
b = v2;
c = v3... | [
"jjuiddong@gmail.com"
] | jjuiddong@gmail.com |
bca319cfd190afd4473cbff347a81eb1571ed5cf | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /devel/libphonenumber/files/patch-src_phonenumbers_base_synchronization_lock.h | 6455ae783a95ca7b43526b694ad124c520ac0fef | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 689 | h | --- src/phonenumbers/base/synchronization/lock.h.orig 2020-06-18 13:06:40 UTC
+++ src/phonenumbers/base/synchronization/lock.h
@@ -22,7 +22,7 @@
#elif (__cplusplus >= 201103L) && defined(I18N_PHONENUMBERS_USE_STDMUTEX)
// C++11 Lock implementation based on std::mutex.
#include "phonenumbers/base/synchronization/lock... | [
"jhale@FreeBSD.org"
] | jhale@FreeBSD.org |
5a5bafc37a73a009d6777f95038161f03ede3feb | c32829b434b3527a9545fa5db37af62fba818508 | /WinSTDyn/GUI/CIWidget.cpp | 5df78e24c9f2412bda933da224f5b1fe8a6a4668 | [
"MIT"
] | permissive | chen0040/ogre-war-game-simulator | 63dabfbf9e4bbfe4d1489cf7e67e2f93215af1c9 | 58eee268eae0612d206e7eb0b8e495708db1ef27 | refs/heads/master | 2021-01-20T06:14:31.772192 | 2017-09-06T00:27:39 | 2017-09-06T00:27:39 | 101,493,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | cpp | #include "stdafx.h"
#include "CIWidget.h"
#include "GUIManager.h"
#include <Ogre.h>
#include <sstream>
CIWidget::CIWidget(CIWidget* parentWidget, CEGUI::Window* parentWindow)
{
mParentWidget=parentWidget;
mParentWindow=parentWindow;
if(mParentWindow == NULL)
{
mParentWindow=CEGUI::System::getSingletonPtr()->get... | [
"xs0040@gmail.com"
] | xs0040@gmail.com |
f4aa4dc33b66831298a5643799449bb5772a8cf9 | ca57d57bec37faeb57899a80df5b4d267a536ac5 | /src/sun_ray/main.cpp | 173954ba0111b04b0d7d4e54c8529f44ac64a053 | [
"BSD-3-Clause"
] | permissive | fuersten/sun_ray | ed875b2a5a2c0f9fd8bfb7321921b1b70c205a3a | b882d67cd9747f61b50def4c1414e7552ba917c0 | refs/heads/main | 2023-04-17T04:08:18.860499 | 2021-04-27T10:15:50 | 2021-04-27T10:15:50 | 335,270,596 | 2 | 0 | BSD-3-Clause | 2021-04-27T10:03:57 | 2021-02-02T11:46:17 | C++ | UTF-8 | C++ | false | false | 450 | cpp | //
// main.cpp
// sun_ray
//
// Created by Lars-Christian Fürstenberg on 21.12.19.
// Copyright © 2019 Lars-Christian Fürstenberg. All rights reserved.
//
#include <sun_ray/init.h>
#include <iostream>
#include "application.h"
int main(int argc, const char* argv[])
{
std::vector<std::string> args;
for (int ... | [
"lcf@miztli.de"
] | lcf@miztli.de |
e5c12b0574c3bf450189731b5f0757062d16aaa4 | ba96d7f21540bd7504e61954f01a6d77f88dea6f | /build/Android/Debug/app/src/main/include/Uno.IO.CppXliStreamHandle.h | fc0a34d65b6761d1b238b90dcd284f38aa16ddf6 | [] | no_license | GetSomefi/haslaamispaivakirja | 096ff35fe55e3155293e0030c91b4bbeafd512c7 | 9ba6766987da4af3b662e33835231b5b88a452b3 | refs/heads/master | 2020-03-21T19:54:24.148074 | 2018-11-09T06:44:18 | 2018-11-09T06:44:18 | 138,976,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | h | // This file was generated based on /usr/local/share/uno/Packages/UnoCore/1.6.1/Source/Uno/IO/CppXliStream.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <uBase/Stream.h>
#include <Uno.Object.h>
namespace uBase { class Stream; }
namespace g{
namespace Uno{
namespace IO{
... | [
"peyte.com@gmail.com"
] | peyte.com@gmail.com |
b37c4be4aacb765dae92d77c993add50d6bd0dd0 | e38c42dbf7de211b770898449b70313255085518 | /template/template/class.cpp | e70cfb03ccc3599ab7a46559f2cefc5d8d7b4d61 | [] | no_license | CycMei/cccccc | b59fc5ecdaab0e22b49f8419699b16a49bf8fa88 | 3b50ab3fe197acf0c37e46854d76c232eda252e8 | refs/heads/master | 2021-05-04T03:49:13.541088 | 2016-10-13T09:04:19 | 2016-10-13T09:04:19 | 70,788,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,424 | cpp | #include<iostream>
#include<vector>
#include<memory>
#include<string>
#include<initializer_list>
#include<boost\bimap.hpp>
template<typename T>class Blob {
public:
typedef T value_type;
typedef typename std::vector<T>::size_type size_type;
Blob();
Blob(std::initializer_list<T> il);
size_type size() const {
retur... | [
"chayalikemei@outlook.com"
] | chayalikemei@outlook.com |
06368b96e5b0f45657b098ec3288f6fe7c864113 | 8b50e46c29b21a8c9c52091ddeb1856d17b9c570 | /Chapter12/09/thread9/textdialog.h | 88573c72ff4f8938fc7e57532fde2e5e3ae0554d | [] | no_license | anthonychl/Foundations-of-Qt-Development | ef6e7234263c51ca15c3cf4332dc0122367f45d7 | 34f5a84c65ca1da074f83345dd0d2431c911f36b | refs/heads/master | 2020-07-03T05:53:04.035264 | 2019-08-11T19:56:18 | 2019-08-11T19:56:18 | 201,809,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | #ifndef TEXTDIALOG_H
#define TEXTDIALOG_H
#include <QDialog>
#include "textandnumber.h"
#include <QAbstractButton>
#include <QMutex>
namespace Ui {
class TextDialog;
}
class TextDialog : public QDialog
{
Q_OBJECT
public:
/* explicit TextDialog(QWidget *parent = 0);
~TextDialog();*/
TextDialog();
... | [
"anthonychl.dev@gmail.com"
] | anthonychl.dev@gmail.com |
9c0a5f3c976d06cb5556be723819f89656f62200 | 0cd648478fbca2085d4be739caf9cbf0a57ab70c | /9-sequential_container/9.21-add_elements.cpp | 51f2617cc740853ba9d9c0b5dc04a5f7aa6387a1 | [] | no_license | icrelae/cpp_primer | f3fb497b96736f944701aecc25dd182f1e8cd73d | 1ed1fef52356626440ca354fada0b673fce67465 | refs/heads/master | 2021-01-12T07:29:15.036680 | 2017-11-17T22:47:39 | 2017-11-17T22:47:39 | 76,966,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | /* 2016.11.19 16:12
* P_309
* !!!
* ???
* for deque, insert at head and tail costing constant time, at other site will be very time-consuming !!!
* insert/eplace enlements into vector/string/deque will cause invalidation of iterators/references/pointers point to it !!!
*
* allocate new memory for every insert ??... | [
"anadia@163.com"
] | anadia@163.com |
89b44afeba4883ff4343e20e32d6d6ffb9b19fbd | c09c94210c61918d7fe8a5782761c10ddfc3f002 | /案例7_类的继承与派生/6-5 多重继承派生类构造函数.cpp | 607bba413d4961a8ee908b7ce7ce3401f4f10f52 | [] | no_license | SWQXDBA/Pintia_C- | b0c05476193e39669c45c7f949e528a21579d7d0 | 014b48ae12142117922f490a6b25f4f6227829c2 | refs/heads/master | 2023-05-02T08:19:51.145454 | 2021-05-26T05:18:12 | 2021-05-26T05:18:12 | 365,187,119 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | cpp | #include <iostream>
#include <cstdio>
#include <string>
using namespace std;
//class Teacher
//{public:
// Teacher(string nam,int a,string t)
// {name=nam;
// age=a;
// title=t;}
// void display()
// {cout<<"name:"<<name<<endl;
// cout<<"age"<<age<<endl;
// cout<<"title:"<<title... | [
"SWQXDBA2"
] | SWQXDBA2 |
c99cf373b34b49b8374c2f78850e8c97fc665ff0 | ee61f27df1463ebe0e77c2184cced2b587d6f61c | /app/src/main/cpp/include/seeta/QualityOfPoseEx.h | 1e9e4d0430be08b0f307a591aade044dac272a28 | [] | no_license | crisgol/SeetafaceJni | 1e42179326aa163bcead0acc61c030a90a1386e9 | 1efbf765f765e7c5d78480fb1fd1f627f1d3e591 | refs/heads/master | 2023-06-26T15:12:40.175594 | 2021-07-21T14:45:49 | 2021-07-21T14:45:49 | 388,300,550 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,699 | h | //
// Created by kier on 2019-07-24.
//
#ifndef SEETA_QUALITYEVALUATOR_QUALITYOFPOSEEX_H
#define SEETA_QUALITYEVALUATOR_QUALITYOFPOSEEX_H
#include "QualityStructure.h"
namespace seeta {
namespace v3 {
class QualityOfPoseEx : public QualityRule {
public:
enum PROPERTY
{
... | [
"1299204885@qq.com"
] | 1299204885@qq.com |
3361eab1ae980ca6bb16921c589f76ffe41fdb88 | c30a94fda11a05853c959cde74c302400298e46a | /Astronomy Solar System/LightManager.h | 922ec4f16d44c8a269bce3d9aad3f3b093f9cb34 | [] | no_license | cmilatinov/solar-system-sim | eb98f1eff213132683f8b49ea9f5837c9617e4d9 | 00502f19feb739a6b09ca2d589437dde0edcb466 | refs/heads/master | 2023-01-24T15:25:15.668799 | 2019-03-16T19:37:20 | 2019-03-16T19:37:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | h | #include <vector>
#include "Light.h"
#pragma once
class LightManager
{
public:
LightManager(Light * sun);
~LightManager();
const static int maxLights = 1;
void addLight(Light * l);
std::vector<Light*> getAllLights();
};
| [
"milatinovcristian@gmail.com"
] | milatinovcristian@gmail.com |
6e92bed032c003268d3ae9e0f42e5d6655b865d4 | e1ad82f32e73b0a9750eb1a3eaf23b46a531cf12 | /lines/src/main.cpp | 21e32ad758351f8c1f100b3b9387b909d234b6f7 | [] | no_license | markbirss/PicoQVGA | fb7f6deef67a1bed88b568fdf71528e073463c9e | 7d29c62ea1cda46bbec03f63b4d5fb8c8173700e | refs/heads/main | 2023-08-08T01:56:43.813250 | 2021-09-16T20:30:53 | 2021-09-16T20:30:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,903 | cpp |
// ****************************************************************************
//
// Main code
//
// ****************************************************************************
#include "include.h"
#define LINENUM 50 // number of lines
#define SPEEDMIN 2.0f // minimal speed
#define ... | [
"Panda38@seznam.cz"
] | Panda38@seznam.cz |
f018c0b1e27af2148c95b021fb7548d198b3e06c | ddad5e9ee062d18c33b9192e3db95b58a4a67f77 | /strings/strtoint.h | 02f06465777432aa653bb97474872f3b478ddfe0 | [
"BSD-2-Clause"
] | permissive | romange/gaia | c7115acf55e4b4939f8111f08e5331dff964fd02 | 8ef14627a4bf42eba83bb6df4d180beca305b307 | refs/heads/master | 2022-01-11T13:35:22.352252 | 2021-12-28T16:11:13 | 2021-12-28T16:11:13 | 114,404,005 | 84 | 17 | BSD-2-Clause | 2021-12-28T16:11:14 | 2017-12-15T19:20:34 | C++ | UTF-8 | C++ | false | false | 3,287 | h | // Copyright 2008 Google Inc. All Rights Reserved.
//
// Architecture-neutral plug compatible replacements for strtol() friends.
//
// Long's have different lengths on ILP-32 and LP-64 platforms, and so overflow
// behavior across the two varies when strtol() and similar are used to parse
// 32-bit integers. Similar p... | [
"romange@gmail.com"
] | romange@gmail.com |
a1309ce9c0a05b1e19eee994d8b6fe25515474f2 | fdaa5c780752bcd7b68b59e34b03f40ffe30613d | /image.cpp | 16127f003e4f7a74766ae6ed3bd78f51e0d7d956 | [] | no_license | JD-DA/BarjoKart | 07d65f1609b519aabbd8dc6ab921c5d186c4024e | 6a6469ac7026a032fc0c01dc14da4c5d1bc58f26 | refs/heads/master | 2023-08-10T22:51:26.677829 | 2021-03-31T05:03:04 | 2021-03-31T05:03:04 | 404,103,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,044 | cpp | #include <iostream>
#include <cstdlib>
#include <stdio.h>
#include <png.h>
#include <png++/png.hpp>
#include <toml++/toml.h>
#include "image.hpp"
Image::Image(){
}
Image::~Image(){
for (int i = 0; i < this->height; i++)
{
delete(matrice[i]);
}
delete(matrice);
/*for (std::list<std::pair<int,int>>::iterator i... | [
"jean-daniel.de-ambrogi@etu.univ-orleans.fr"
] | jean-daniel.de-ambrogi@etu.univ-orleans.fr |
90d8c12d1519358247f873732dac9855de848e35 | a88124690a500e728229ae1c3646721b8f5a4c82 | /two_sets_ii.cpp | c687936ad29daadd709a1a4377baf7c2ef815d39 | [
"MIT"
] | permissive | ShinAKS/cses_solutions | 237eedaaa2940d57b1b666a808ad93c9a9169a3c | e4ebcf80c010785f1b73df7aa8052da07ad549e0 | refs/heads/master | 2022-12-22T21:12:30.568416 | 2020-10-01T13:54:31 | 2020-10-01T13:54:31 | 300,294,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | #include <bits/stdc++.h>
#define ll long long
#define int long long
#define pb push_back
#define pii pair<int,int>
#define vi vector<int>
#define vii vector<pii>
#define mi map<int,int>
#define mii map<pii,int>
#define all(a) (a).begin(),(a).end()
#defi... | [
"ayushsinha0@gmail.com"
] | ayushsinha0@gmail.com |
bbf0bf528cdfbb06688515f9abbd6183a406f69c | 76290c3f22ac436c52f29e9be5119d96cda551e7 | /AESGUI/AlertDialog.h | f2da3e04189df3104f2a82a4a6cd319ce930aeb7 | [] | no_license | CH-Chang/1091-AESGUI | 8fbc912c06e7a3f6bd27b173f503be800764df18 | 57a839caec719310d45d4640b9213637fb230a78 | refs/heads/main | 2023-01-10T22:59:13.277015 | 2020-11-19T13:25:05 | 2020-11-19T13:25:05 | 309,672,086 | 1 | 0 | null | null | null | null | BIG5 | C++ | false | false | 713 | h | #pragma once
#include <QDialog>
#include <QCursor>
#include <QMouseEvent>
#include "ui_AlertDialog.h"
class AlertDialog : public QDialog
{
Q_OBJECT
public:
AlertDialog(QWidget *parent = Q_NULLPTR);
~AlertDialog();
void setTitle(QString);
void setMessage(QString);
private:
// 變數
int moveFlag = false;
Ui:... | [
"hew12233@gmail.com"
] | hew12233@gmail.com |
93a605c1c4541fd59e4678178629e63009e17137 | 4fd87b5a8b7008822bdecf8346e4895257da4e38 | /my_plugin/stringsearch_handle.cpp | f4b6920e4c7ad4b7c4c151c5968101f18b0265ac | [
"BSD-2-Clause"
] | permissive | zachturing/decaf-plugin | 5dfcb5e9a7884a5bb4d8db9232abebe3f3f05c59 | 630b9e8781121ec211944f9f1470cf17c88b2a04 | refs/heads/master | 2020-03-19T08:06:05.837517 | 2018-06-05T09:50:30 | 2018-06-05T09:50:30 | 136,175,798 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,291 | cpp | #ifdef __cplusplus
extern "C"
{
#endif
#include <sys/time.h>
#include "DECAF_main.h"
#include "DECAF_callback.h"
#include "DECAF_callback_common.h"
#include "vmi_callback.h"
#include "utils/Output.h"
#include "DECAF_target.h"
#include "hookapi.h"
#include "shared/vmi_callback.h"
#include "vmi_c_wrapper.h"... | [
"zach_turing@outlook.com"
] | zach_turing@outlook.com |
6a96ac4a63a5dccdafa1bc8e1d73b11c8e829806 | c831d5b1de47a062e1e25f3eb3087404b7680588 | /webkit/Source/WebKit/Storage/StorageNamespaceImpl.h | ae161e1b58fb0623eebd4805769fad3e40639f27 | [
"BSD-2-Clause"
] | permissive | naver/sling | 705b09c6bba6a5322e6478c8dc58bfdb0bfb560e | 5671cd445a2caae0b4dd0332299e4cfede05062c | refs/heads/master | 2023-08-24T15:50:41.690027 | 2016-12-20T17:19:13 | 2016-12-20T17:27:47 | 75,152,972 | 126 | 6 | null | 2022-10-31T00:25:34 | 2016-11-30T04:59:07 | C++ | UTF-8 | C++ | false | false | 3,138 | h | /*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"daewoong.jang@navercorp.com"
] | daewoong.jang@navercorp.com |
5729fab1fbc3c2302e7ea7999c80fafe556a29d5 | 03d625a9296d7820d5ae64bdbf934c8a822af568 | /Node.cpp | 0a61d2d49f13b5761c81a85907b106907839181c | [] | no_license | kutycoi123/BpTree | 0906b049d6fc70e0bea4cdb2e3b3a2b6569ac23b | dbfb56d629766afa3ad21a677442a628c279184f | refs/heads/main | 2023-04-19T04:58:53.042650 | 2021-04-21T21:09:41 | 2021-04-21T21:09:41 | 360,306,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,250 | cpp | #include "Node.h"
/*======== NODE class implementation ========*/
Node::Node(int limit) : keysLimit(limit), parent(nullptr){
}
bool Node::hasKey(int k) const noexcept{
auto it = std::find(keys.begin(), keys.end(), k);
return it != keys.end();
}
int Node::getIndexOfKey(int k) const noexcept{
auto it = std::find... | [
"kutycoi123@gmail.com"
] | kutycoi123@gmail.com |
aa98b3f1e225fb7a3ccba6013a7f501bcc9a59a3 | 755f9e1bbc82a8beb0471c0cb932181a6f83dce3 | /surfaceflinger/sdk/IServiceConnection.h | aba66ed641f6f4f7821c7ac22f7cad779e57d4c5 | [] | no_license | wjfsanhe/AndroidM_SF | f52d3bba070ce7c9c59c3f18749cecdcb43c5dd9 | 426e4bfa15e44fe8d96f416eb0e404ba84172d30 | refs/heads/master | 2020-06-23T12:33:10.479615 | 2017-02-17T03:18:12 | 2017-02-17T03:18:12 | 74,648,648 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,232 | h | /*
* Copyright (C) 2011 The Android Open Source Project
*
* 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 app... | [
"wangjianfeng@baofeng.com"
] | wangjianfeng@baofeng.com |
960197a19934902c703f04874e13552a84a919bd | 74dfb16f483ef51e87d3a3a4b23e29bdd5296c7c | /BigNumber.hpp | 622e478ee285893e5b84c71342d3caa8d52e457f | [
"MIT"
] | permissive | Vicshann/Common | 090a692010e0d6c6af14dd9a2c4ab2b531d8b16e | dbd6f57e94d4179edcbee1a29de39a4a59bce9e3 | refs/heads/master | 2023-09-01T12:08:23.348673 | 2023-08-28T09:56:46 | 2023-08-28T09:56:46 | 123,412,494 | 13 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 7,275 | hpp |
#pragma once
/*
Copyright (c) 2018 Victor Sheinmann, Vicshann@gmail.com
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... | [
"Vicshann@gmail.com"
] | Vicshann@gmail.com |
0997b54258cc050cdcb22687bdad63bf5bcd9d20 | 39ad116dab0ba316a6e7f737a031a0f853685d41 | /edu116/b.cpp | 528adffd7126bd2a19109653b8afb43426661101 | [] | no_license | Abunyawa/contests | e0f9d157ce93d3fc5fbff0e3e576f15286272c98 | 9923df8f167e8091e23f890b01368a3a8f61e452 | refs/heads/master | 2023-05-31T14:20:31.983437 | 2023-05-11T14:19:58 | 2023-05-11T14:19:58 | 251,015,695 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | cpp | // chrono::system_clock::now().time_since_epoch().count()
#include <bits/stdc++.h>
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define rep(i, a, b) for (int i = (a); i < (b); ++i)
#define debug(... | [
"abusaid.manap@gmail.com"
] | abusaid.manap@gmail.com |
6864b6600ba10911356faf694a673bf25956a21e | 94a91b89f420e50a8ac827e3323b5e6ec588820e | /Engine/Core/Components/LightSource (Old).h | 4bd70024184258fa40c52ebc4904373747e69aad | [] | no_license | cn1504/OrcRugby | 6e5e2dffa795ea2873e60f2b383725068a80a656 | af56a70c7aaffe26403a8085f9ea15166127646b | refs/heads/master | 2020-03-29T12:55:52.937391 | 2015-06-29T21:19:30 | 2015-06-29T21:19:30 | 26,777,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | h | #pragma once
#include "Core.h"
#include "Component.h"
#include <Bullet/BulletCollision/CollisionDispatch/btGhostObject.h>
#include <Renderers/RenderBuffer.h>
#include <Renderers/Shader.h>
namespace Core
{
namespace Components
{
class LightSource
: public Component
{
protected:
//Scene* scene;
bool sh... | [
"cnielsenxt@gmail.com"
] | cnielsenxt@gmail.com |
a902c98ce80d4527d2edea0d53c67b7c81060c5f | 4a761d25954a9dd9aafbcac677a62e83e6785ba3 | /src/test/test_concrete.h | 4252d50025d682c34c4ef12fa38448f1e34a3773 | [
"MIT"
] | permissive | CONCRETE-Project/CONCRETE | 4dce6c776857d0fccef094f29aae1228796bd03c | f446b5335bff7f7a6a1ffeba97777339539263b0 | refs/heads/master | 2022-12-02T16:07:03.999082 | 2020-08-24T21:25:18 | 2020-08-24T21:25:18 | 256,929,363 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,823 | h | // Copyright (c) 2015-2019 The PIVX Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef CONCRETE_TEST_TEST_CONCRETE_H
#define CONCRETE_TEST_TEST_CONCRETE_H
#include "txdb.h"
#include <boost/filesystem.hpp>
... | [
"ziofabry@hotmail.com"
] | ziofabry@hotmail.com |
bb9d943afee3949a448e53d7457f88dc7f327144 | ea4a1b9e369c879ff1cc254f0adb5f33649b284f | /Design_Pattern_Project/Interpreter/Boolean_Example_GOF/Parser.h | c0ef4e5051be30b3d09c7efcb3364accc3965482 | [] | no_license | jfacoustic/CSCI375_S2017_CMU | a6a1e010a8f9756cf7ec51d5a3579fcaf96815a0 | 0ca75f32c5f4f100b48b01891413168a36ceacbc | refs/heads/master | 2021-01-11T15:52:59.621790 | 2017-05-09T02:30:04 | 2017-05-09T02:30:04 | 79,947,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h | /*
* Parser.h
*
* Created on: Apr 18, 2017
* Author: joshua
*/
#ifndef PARSER_H_
#define PARSER_H_
#include <map>
#include "BooleanExp.h"
class Parser {
public:
Parser(std::string _expression);
virtual ~Parser();
private:
std::string expression;
std::map<std::string, BooleanExp> parserMap;
std::strin... | [
"joshfeltonm@gmail.com"
] | joshfeltonm@gmail.com |
aaf8eaba78ad385bcbd3754e23dcf79ae97f701c | cdb83d7f079d211a2b5493145ef9bdfef6b6e434 | /include/logger.h | 8845b7f669822ed9f043967fc2132034a0e50c77 | [] | no_license | theDrsh/uComsImpl | a03a7077c98a898ad74af50c60a32f04cfcf8664 | 2f3ac7f8d1a9cc605e95c2c6ca9b0a59aaba945e | refs/heads/master | 2023-02-04T05:38:48.738603 | 2020-12-09T00:43:08 | 2020-12-09T00:43:08 | 318,061,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | // Author: Daniel Rush
#pragma once
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "stm32f3xx_hal.h"
enum LoggerLevel {
kLogDebug = 0,
kLogInfo = 1,
kLogError = 2,
kLogFatal = 3,
kLogLevels,
};
const int32_t MSG_SIZE = 256;
class Logger {
public:
void Printf(LoggerLevel Level, ... | [
"rush.daniel95@gmail.com"
] | rush.daniel95@gmail.com |
7328dc7759fe1361159d8572c9b78bc8b844cd11 | 1fd507f588b94402a8c1ffe080e470f65a2b7ee6 | /Hall Management Project with C/search.cpp | a87fd00d41723bb3c6eafb969af29c78ca8b5794 | [] | no_license | MuhiminOsim/Academic-Projects | 769ab00013f915fc651d15e4517b6d1d10c439d4 | 00252b7efbbedbfff5d5a13aa9af0ec04ec7df6f | refs/heads/master | 2023-01-12T10:26:26.864981 | 2019-12-12T04:35:54 | 2019-12-12T04:35:54 | 194,081,586 | 2 | 0 | null | 2023-01-04T01:13:41 | 2019-06-27T11:18:38 | HTML | UTF-8 | C++ | false | false | 2,172 | cpp | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "hall.h"
void searching(int b, int c){
system("cls");
printf("\n\n\t\t\t\t\t~~~~STUDENT DATA SEARCHING~~~~\n");
printf("\t\t\t\t\t______________________________\n");
int x,y;
printf("\n\n\t\t\t\t\tSearch Roll Numbers: ");
scanf... | [
"muhiminul@gmail.com"
] | muhiminul@gmail.com |
0b5dc127de05952f220089ff6f2cfbc61aa6e773 | 2e459946616dc440360e9ad6a09fde8ce3b3ca40 | /gauss_driver/src/rpi/rpi_diagnostics.cpp | f2bed533717280840666209071b65e9913704fa5 | [] | no_license | junjian-zhang/gauss | a09641b831b967ecea69bdf5f60affc21e95461a | 849183725d402663d898a93c00a5ba9e4b7ed569 | refs/heads/master | 2020-04-27T04:22:42.036477 | 2019-01-31T08:08:47 | 2019-01-31T08:08:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | #include "gauss_driver/rpi/rpi_diagnostics.h"
RpiDiagnostics::RpiDiagnostics()
{
cpu_temperature = 0;
startReadingData();
}
int RpiDiagnostics::getRpiCpuTemperature()
{
return cpu_temperature;
}
void RpiDiagnostics::readCpuTemperature()
{
#ifdef __arm__
std::fstream cpu_temp_file("/sys/class/thermal... | [
"bjq1016@163.com"
] | bjq1016@163.com |
a35c491da031ede7af44ed8b04214cf2b0ca00ff | 52b624b6937c5cdf358a3734efe6a395305bd93e | /src/SFmpqapi/linux/windows.cpp | e9329e28bb01f1952ed05da13c181e80fc02a416 | [
"MIT",
"BSD-2-Clause"
] | permissive | actboy168/wc3mapmax | c23e5101f9eda7168b3f8f12e44357be5fbeddbb | 46eebca381ca1816d8edb02332f19eb6c7f98f60 | refs/heads/master | 2021-01-15T15:47:28.771064 | 2016-11-04T12:50:30 | 2016-11-04T12:50:30 | 32,116,740 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,811 | cpp | /* License information for this code is in license.txt */
#include "windows.h"
DWORD dwAppLastError=0;
void WINAPI SetLastError(DWORD dwLastError)
{
dwAppLastError=dwLastError;
}
DWORD WINAPI GetLastError()
{
return dwAppLastError;
}
DWORD WINAPI GetCurrentDirectory(DWORD dwBufferLength, LPSTR lpBuffer)
{
if (l... | [
"actboy168@gmail.com"
] | actboy168@gmail.com |
0e3be275a98160495487495b4ae4c15d9d32b992 | 81533e098a8fd6d8458ef78bec9b7cd468733328 | /linux/javacef/cefclient/client_app.cpp | 285ffad93031ed5c45b287813a3c5bcc5ed8ceba | [] | no_license | inaauto/javacef | 0ec07da810d3ff48d39b83dd51b690e33e0ee75f | a3a11cfef1aca54d34e1bbc9aaff0aa3fb7d01d7 | refs/heads/master | 2021-01-23T23:52:37.255643 | 2017-05-31T12:44:02 | 2017-05-31T12:44:02 | 59,431,494 | 2 | 0 | null | 2017-01-05T13:51:36 | 2016-05-22T19:57:08 | C++ | UTF-8 | C++ | false | false | 15,186 | cpp | // Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
// This file is shared by cefclient and cef_unittests so don't include using
// a qualified path.
#include "client_app.h" // NOLIN... | [
"wjywbss@gmail.com"
] | wjywbss@gmail.com |
69640eedec5c97a8a6f39c0a97d9052ce42bfd43 | 17198f70b67390e2b6fa30dfda47909e7d26a59b | /src/validationinterface.h | 470a2b5fa3edb0d52a7d711266af37d4be6d00d6 | [
"MIT"
] | permissive | HighStakesCoin/HighStakes | 9d3fd09ce623167d79e100568adea70106efc239 | e842f55f7ce6f8df09aea157012a68958b366a90 | refs/heads/master | 2020-05-04T15:47:57.812490 | 2019-07-26T07:18:42 | 2019-07-26T07:18:42 | 179,256,859 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,958 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2019 The HighStakes developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-... | [
"48958686+HighStakesCoin@users.noreply.github.com"
] | 48958686+HighStakesCoin@users.noreply.github.com |
4c0d66aa037e18c4513a8f68cceb4e5ca1d9b841 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Codes/AC/3028.cpp | f9481b72d414c1a100e561f651ceb946304bf71f | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include"bits/stdc++.h"
#define F(i,j,n) for(register int i=j;i<=n;i++)
using namespace std;
char t[1000010];int z[1000010],n,l;
int main(){
#ifndef ONLINE_JUDGE
freopen("article.in","r",stdin);
freopen("article.out","w",stdout);
#endif
gets(t+1);n=strlen(t+1);
F(i,2,n){
z[i]=min(z[i-l+1]... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
404dda11e200ca795741ede6eb063e21958a4809 | 9b10842bf603269fd8986a5eb4d103108fc679ad | /src/led.cpp | d539219a2c9804708102b82f418fca218b88aca8 | [
"Apache-2.0"
] | permissive | CasusCura/ArduinoPendant | c962051a0175fb8a0655ff1970cd76b85be64bca | a2158ee731d204daba66971b919a1c9fcce23c28 | refs/heads/master | 2021-09-10T17:02:06.855660 | 2018-03-29T18:17:17 | 2018-03-29T18:17:17 | 120,350,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | /*
* Module: LED
*
* An abstract LED object.
*
* Author: Alex Dale @superoxigen
*
* Copyright (c) 2018 Alex Dale
* See LICENSE for information.
*/
#include <Arduino.h>
#include "dlog.h"
#include "led.hpp"
static inline bool_t flash_state(void)
{
return ((millis() / LED_FLASH_RATE_MS) % 2) == 1;
}
... | [
"alex@snowycloud.com"
] | alex@snowycloud.com |
37491f644938f03ba30071ecd0f5c507b6cb577c | df74a129d6bc52f4df60c72607a7c0dff747d312 | /Ping_Pong/Ping_Pong/FrameRate.cpp | 1397aaac3a89241d26641fae99a848ceff344eb7 | [] | no_license | Spiritfaer/PingPong | db9cd63cca3f90b3e0f00d9db1fb9209497a43f6 | 34543061887d93717d3c31af1a4552537a6b0583 | refs/heads/master | 2021-03-10T03:46:35.499672 | 2020-03-11T16:20:55 | 2020-03-11T16:20:55 | 246,414,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | #include <iostream>
#include "FrameRate.h"
FrameRate::FrameRate()
{
old_time = SDL_GetTicks();
ticks = cur_time = 0;
}
FrameRate::~FrameRate() {}
bool FrameRate::tick(bool db)
{
cur_time = SDL_GetTicks();
++ticks;
uint32_t tmp = cur_time - old_time;
if (tmp > 1000) {
old_time = cur_time;
if (db)
showFPS... | [
"30905488+Spiritfaer@users.noreply.github.com"
] | 30905488+Spiritfaer@users.noreply.github.com |
8a34bf34ab5df85aa8985f35dd11d9ae19cc328b | 683a90831bb591526c6786e5f8c4a2b34852cf99 | /HackerRank/Implementation/4_jumping_on_the_clouds-Revisited.cpp | a5fdea82c7be605851116e86376550425065be43 | [] | no_license | dbetm/cp-history | 32a3ee0b19236a759ce0a6b9ba1b72ceb56b194d | 0ceeba631525c4776c21d547e5ab101f10c4fe70 | refs/heads/main | 2023-04-29T19:36:31.180763 | 2023-04-15T18:03:19 | 2023-04-15T18:03:19 | 164,786,056 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char* argv[]){
int n, k, i, e = 100;
cin >> n >> k;
int C[n];
for (int i = 0; i < n; i++){
cin >> C[i];
}
i = 0;
while (true) {
e--;
i = (i + k) % n;
if(C[i] == 1) e -= 2;
if(i == 0) b... | [
"davbetm@gmail.com"
] | davbetm@gmail.com |
7d905f338b2f042b3b85869e1af33334a5c21327 | 9cbb3af861bbfb738f7adcdbb34339634d29e0f0 | /hindex.cpp | e8e968de74e1067a6a138e54d6c98bfffc5d241a | [] | no_license | ZebraFarm/OpenKattis | d3fcffd34e0fe87fb5e53ecd75236baea7a3fed5 | b9748fde5547d4c5d596da61867a92eb3d4defc3 | refs/heads/master | 2021-06-21T11:32:18.454409 | 2021-06-16T06:10:35 | 2021-06-16T06:10:35 | 192,035,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | #include <iostream>
#include <array>
#include <algorithm>
using namespace std;
int main(){
int i,n,H=0;
cin >> n;
int s[n] = {0};
for(i=0;i<n;i++) cin >> s[i];
sort(s,s+n);
if(s[0]>n)H=n;
else{
for(i=0;i<n;i++){
if(H != s[i]) {
if(min(s[i],n-i)>H) H= min(s[i],n-i);
else break;
}
}
}
cout... | [
"cole.sibbald@protonmail.com"
] | cole.sibbald@protonmail.com |
584dba44f99ce0550e7c1234af4b2250ae5aaf2b | 693f6694c179ea26c34f4cfd366bcf875edd5511 | /trains/train18/G.cpp | 6ab358289234c5df0ecac50ba27c2e52002587bd | [] | no_license | romanasa/olymp_codes | db4a2a6af72c5cc1f2e6340f485e5d96d8f0b218 | 52dc950496ab28c4003bf8c96cbcdb0350f0646a | refs/heads/master | 2020-05-07T18:54:47.966848 | 2019-05-22T19:41:38 | 2019-05-22T19:41:38 | 180,765,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | #include <bits/stdc++.h>
#define err(...) fprintf(stderr, __VA_ARGS__), fflush(stderr)
#define x first
#define y second
#define mp make_pair
#define pub push_back
#define all(v) (v).begin(), (v).end()
//236695ZVSVG
using namespace std;
typedef long long ll;
typedef double db;
int main() {
#ifdef WIN
freopen("0... | [
"romanfml31@gmail.com"
] | romanfml31@gmail.com |
e338cf24ccd6ea51289ff7ce24a899bb76420300 | 20dfc88e522e758bb4d85900e2d1ac494b68bc3c | /src/Array.cpp | 1638e51b356aafd0ae1711a3f9f557f509a15410 | [] | no_license | weilunandro/CPPReview | c2fee41cad8fe582d4e3817ab4c692cf44a026d4 | b4e9ec83673f2d35ae334719df7e794a8139d1ec | refs/heads/master | 2020-03-08T09:12:03.553431 | 2018-04-04T09:37:59 | 2018-04-04T09:37:59 | 128,041,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | //
// Created by Andro Wei on 04/04/2018.
//
#include "Array.h"
template<typename T>
Array::Array(int capacity) {
assert(capacity > 0);
mCapacity = capacity;
mData = new T[mCapacity];
}
Array::~Array() {
if (mData != nullptr) {
delete[] mData;
mData = nullptr;
}
} | [
"andro.wei@blackboard.com"
] | andro.wei@blackboard.com |
c28381c1f2c5f4c2224d1d1d80d4e31205cf11f1 | a7acea5217a9b84212d14614acc5d11f79de360d | /Shunyaev/cw/Source/AVLTree.cpp | 0b9f308e548bf14241be1968aa82d4a517e7b674 | [] | no_license | makometr/ADS-9304 | f45309de83d11fa3ac8ee4edda54ffcd24906cd4 | 8bd69ab3726f15b1db3439876cc46985470d1a12 | refs/heads/master | 2023-02-15T21:05:50.387147 | 2021-01-06T13:46:42 | 2021-01-06T13:46:42 | 296,394,391 | 3 | 27 | null | 2021-01-07T21:16:59 | 2020-09-17T17:19:21 | C++ | UTF-8 | C++ | false | false | 2,372 | cpp | #include "AVLTree.h"
#include "Node.h"
AVLTree* AVLTree::ptr_tree_ = nullptr;
AVLTree::AVLTree()
{
std::string str;
bool is_correct = true;
do {
std::cout << "Enter set of digits: ";
std::getline(std::cin, str);
int counter = 0;
for (int i = 0; i < str.size(); i++) {
if ((str[i] >= 'A' && str[i] <= '... | [
"a.v.shunaev@gmail.com"
] | a.v.shunaev@gmail.com |
4c14c1221980d74c3ae04cdb8243031fa610bf93 | 470f22152362130ed7efe7bbd17e56dc6e0233ef | /OSMCtrlTimerEventHandler.h | fa53ed26c8a75b6e86f72c546089e1cbea197431 | [] | no_license | luke18/EleVehOsm | 1e109527f0a3858b39fe29ab8212d5ed6e0b4c3c | 3d204fe57d6cf2a9e2d393b4c09d4cd4ece1aaf1 | refs/heads/master | 2021-01-17T06:26:54.962098 | 2014-05-23T03:30:28 | 2014-05-23T03:30:28 | 14,163,954 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,059 | h | /*
Module : OSMCtrlTimerEventHandler.H
Purpose: Defines the interface for COSMCtrlTimerEventHandler class
Created: PJN / 10-04-2011
Copyright (c) 2011 by PJ Naughter (Web: www.naughter.com, Email: pjna@naughter.com)
All rights reserved.
Copyright / Usage Details:
You are allowed to include the source code in any pr... | [
"s_tao16@sina.com"
] | s_tao16@sina.com |
74b43ed2e30e91fe40e7a5b42dd678db5f99e73b | 897f04199dff9d69351d8c1ad8290d26f2ec7e67 | /include/radical/polynomial_vignetting_model.h | c5be14da0cf56c260a1d1db5847269b0ee2eb613 | [
"MIT"
] | permissive | wangchuantong/radical | 14f18ac9bda36618595d5de11c2ec2089eff5528 | cce899af3b78a339204eab8201e67d8a6cb98b1a | refs/heads/master | 2021-09-20T06:21:14.021768 | 2018-08-05T18:08:44 | 2018-08-05T18:08:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | h | /******************************************************************************
* Copyright (c) 2016 Sergey Alexandrov
*
* 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 restricti... | [
"alexandrov88@gmail.com"
] | alexandrov88@gmail.com |
46dfbcd0f42e0a7bd4b7bee501cfc0b06a885b82 | 1cc631c61d85076c192a6946acb35d804f0620e4 | /Source/third_party/boost_1_58_0/libs/math/test/test_ibeta.cpp | 9f66c38ebe4c40d689e9cf78e6e86d7c72b10b47 | [
"BSL-1.0"
] | permissive | reven86/dreamfarmgdk | f9746e1c0e701f243c7dd2f14394970cc47346d9 | 4d5c26701bf05e89eef56ddd4553814aa6b0e770 | refs/heads/master | 2021-01-19T00:58:04.259208 | 2016-10-04T21:29:28 | 2016-10-04T21:33:10 | 906,953 | 2 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 13,170 | cpp | // (C) Copyright John Maddock 2006.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <pch_light.hpp>
#include "test_ibeta.hpp"
#if !defined(TEST_FLOAT) && !de... | [
"reven86@gmail.com"
] | reven86@gmail.com |
a8f6535d105a1df09f4e3aa2f63715bb702bd0e5 | 70572481e57934f8f3e345e7ca31b126bf69046e | /Celeste/Include/Registries/ScriptableObjectRegistry.h | 705b70e8bf1b3b34f001354ed99b93fd840b5884 | [] | no_license | AlanWills/Celeste | 9ff00468d753fd320f44022b64eb8efa0a20eb27 | b78bf2d3ebc2a68db9b0f2cc41da730d3a23b2f9 | refs/heads/master | 2021-05-24T04:03:18.927078 | 2020-07-21T21:30:28 | 2020-07-21T21:30:28 | 59,947,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,429 | h | #pragma once
#include "CelesteDllExport.h"
#include "FileSystem/Path.h"
#include "tinyxml2.h"
#include "Objects/ScriptableObject.h"
#include "Reflection/Type.h"
#include <functional>
#include <unordered_map>
namespace Celeste
{
class CelesteDllExport ScriptableObjectRegistry
{
public:
using CreateFact... | [
"alawills@googlemail.com"
] | alawills@googlemail.com |
8cd9b03fd2a03ef25072903311e8e85632bce350 | 6e26cc31306e0885a8d174805b9ccd380e1879ac | /tests/src/PassingCarTests.cpp | 4195cbd105d84fb4df3a185c0b791aa987417568 | [] | no_license | FreekDS/ProjectGP | e6e1379c51fa57d61604a1e6d389991d290158ce | 4050764d70902011a0167d850742dd7484a755bd | refs/heads/master | 2021-10-11T00:50:48.637902 | 2019-01-20T11:03:00 | 2019-01-20T11:03:00 | 157,843,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | #include <PassingCarTests.h>
#include <TestClasses.h>
#include <GLL/Transformation.h>
using namespace RoadFighter;
/**
* Tests the constructor of the PassingCar.
*/
TEST_F(PassingCarTests, Constructor)
{
shared_ptr<Player> player = make_shared<PlayerTest>();
shared_ptr<World> world = make_shared<WorldTest>(... | [
"freek.de.sagher21@gmail.com"
] | freek.de.sagher21@gmail.com |
0f965898876a9f6efb98541143c19e20e20f573c | 472d7820a5f5d9d5ab2ec150eab0c9bdeb2008c7 | /Sodi/odisim/incV60/int_bus.H | e9cf1465b3978fbb46493d31d6fcab01459c3d62 | [] | no_license | slacker247/GPDA | 1ad5ebe0bea4528d9a3472d3c34580648ffb670e | fa9006d0877a691f1ddffe88799c844a3e8a669a | refs/heads/master | 2022-10-08T07:39:09.786313 | 2020-06-10T22:22:58 | 2020-06-10T22:22:58 | 105,063,261 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | h | // int_bus.H header file
#ifndef intbus_object
#define intbus_object
#include <math.h>
#include "base_space.H"
#include "spline6.H"
#define NSPIBUS 3
/************************************************************************
* int_bus object *
******************************************************************... | [
"jeffmac710@gmail.com"
] | jeffmac710@gmail.com |
01b2f2b98c39f8ac771f3c75656090ebf2c9dba9 | 079a2e1d756d11a355d9e915013d2660a1f28968 | /Hazel/src/Hazel/Scene/Components.h | 7bab075e76c41ab4887aa0c4a8354b8b2999e9f2 | [
"Apache-2.0"
] | permissive | marshal-it/Hazel | fd84f1a37b939ba462a8659cf098c1f2b3d56e95 | f28eb557593ef782a9ea1e61fa8c5f53a4b25e4a | refs/heads/master | 2022-11-22T18:35:44.781007 | 2020-07-25T07:55:44 | 2020-07-25T07:55:44 | 279,866,369 | 0 | 0 | Apache-2.0 | 2020-07-25T07:55:46 | 2020-07-15T12:46:46 | null | UTF-8 | C++ | false | false | 849 | h | #pragma once
#include <glm/glm.hpp>
namespace Hazel {
struct TagComponent
{
std::string Tag;
TagComponent() = default;
TagComponent(const TagComponent&) = default;
TagComponent(const std::string& tag)
: Tag(tag) {}
};
struct TransformComponent
{
glm::mat4 Transform{ 1.0f };
TransformComponent(... | [
"y@nchernikov.com"
] | y@nchernikov.com |
e802ddeb4453510ed16b3fd02897339ea78c680b | 3326db8648ecd23fabebbdece3a0db662b409664 | /Code Jam/2018/Round 2/temp.cpp | 4181c379bd4eabaf3e851698f16a7c1969709634 | [] | no_license | fazlerahmanejazi/Competitive-Programming | 96b9e934a72a978a9cae69ae50dd02ee84b6ca87 | 796021cdc7196d84976ee7c9e565c9e7feefce09 | refs/heads/master | 2021-11-10T08:23:31.128762 | 2019-12-24T22:11:12 | 2019-12-24T22:11:12 | 117,171,389 | 3 | 1 | null | 2021-10-30T20:31:10 | 2018-01-12T00:39:16 | C++ | UTF-8 | C++ | false | false | 1,606 | cpp | #include <bits/stdc++.h>
using namespace std ;
#define inf 0x3f3f3f3f
#define INF 1000111000111000111LL
#define mod 1000000007
#define pi acos(-1.0)
#define eps 1e-8
#define endl '\n'
#define mp make_pair
#define mt make_tuple
#define pb push_back
#define fi first
#define se second
#define all(cc) (cc).begin(),(cc).en... | [
"ahmed.belal98@gmail.com"
] | ahmed.belal98@gmail.com |
d569bd9379e3fe0012777ab80f0225c165ff1dda | f966f69ba37033e4a320c5534a8175a9a831ef4b | /hybridge/core/HGESurrogate.cpp | 6713800b02338f9b2c83b189aeaa15eb581f97d4 | [
"MIT"
] | permissive | jcmoore/ggframework | 8281091b189a37dcc8b6d17a91a71cd901f7530d | 574933e107dedec887adae4dad84ac734f4a5116 | refs/heads/master | 2016-09-08T02:39:12.194561 | 2012-12-13T11:47:48 | 2012-12-13T11:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | //
// HGESurrogate.cpp
// hybridge
//
// Created by The Narrator on 8/14/12.
// Copyright (c) 2012 Starduu. All rights reserved.
//
#include "core/HGESurrogate.h"
NS_HGE_BEGIN
HGESurrogate::HGESurrogate()
: HGEPreserve()
{
}
HGESurrogate::~HGESurrogate() {
}
bool HGESurrogate::destroyJSON(JSONValue& json, ... | [
"starduu@Justin-C-Moores-MacBook-Pro.local"
] | starduu@Justin-C-Moores-MacBook-Pro.local |
a1ecec761d21fe795b614af24c8f3a1d932250fa | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_hunk_16.cpp | 6be129eff69c6d1d6d024ca13dba42fd52741709 | [] | 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 | 512 | cpp | ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"Invalid expression \"%s\" in file %s",
expr, r->filename);
*was_error = 1;
return retval;
}
}
if (current ==... | [
"993273596@qq.com"
] | 993273596@qq.com |
68f3b19dffe4001c00d28fa60c1a3ca457985f0c | feea0886aaf6218a3f605bbc4d871a8116e232b0 | /LSDFlowInfo.cpp | 9c3d1cc83df47d4019144da4f7bb119265651f30 | [] | no_license | MNiMORPH/LSDTopoTools_FloodplainTerraceExtraction | 4c35aa434f601dce6ef9a21477f67d760ad6fa2d | 0d13667f56999cc6d5c7f8d0787a44c4b16337d9 | refs/heads/master | 2022-05-20T01:55:15.298527 | 2018-01-05T11:33:40 | 2018-01-05T11:33:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268,797 | cpp | //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// LSDFlowInfo
// Land Surface Dynamics FlowInfo
//
// An object within the University
// of Edinburgh Land Surface Dynamics group topographic toolbox
// for organizing flow routing under the Fastscape algorithm
// (see Braun and Will... | [
"f.clubb@ed.ac.uk"
] | f.clubb@ed.ac.uk |
7b50a97d025cb090808b09da91f7dc77c579013e | 6bda09c40dfee96f6d11c09ca7f37587858337d9 | /app/src/main/cpp/dalvik/dalvik_method_replace.cpp | 67d6242a654788a682be224d00747687b7c97d34 | [] | no_license | chenzhentao/AndFixDemo | 4b3df6aed4cd037500fff798ec57fa1dded165da | c36be0b11722e592e46fe48bd507e53e31939b01 | refs/heads/master | 2020-06-03T13:52:48.812780 | 2019-06-12T15:08:12 | 2019-06-12T15:08:12 | 191,593,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,844 | cpp | /*
*
* Copyright (c) 2015, alipay.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | [
"thomas.chenzh@gmail.com"
] | thomas.chenzh@gmail.com |
2306d35701f8b6ceec396110d6a9d829ffc038b7 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-inspector2/include/aws/inspector2/model/AggregationType.h | 7df7b5ef21aedaecb51304ce84085745f64696a1 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 788 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/inspector2/Inspector2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Inspector2
{
namespace Model
{
enum class AggregationType
{
... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
e384db75a5286c4576fdca59980d1d5e2e7e242e | 13fceab2387662dcbf1c2f2536b5345aa4752c56 | /Optimization/mba/MBA.cpp | b155ba22f1ba8b3b7c637b526f87392692124531 | [] | no_license | Playfloor/CS544 | b015c66e19aafcabff6c1a2e61ba85582a81de89 | b7f6ee0e1e494137faa5285f3239d385453b6a7f | refs/heads/master | 2021-12-23T02:50:15.199743 | 2017-10-27T05:33:35 | 2017-10-27T05:33:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,147 | cpp | #define DEBUG_TYPE "cs544mba"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
STATISTIC(MBACount, "The # of modified instructions");
#include "llvm/Pass.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/I... | [
"baris.aktemur@ozyegin.edu.tr"
] | baris.aktemur@ozyegin.edu.tr |
d35ecd3221d58d111d0ac573388f9a6b1fb65acb | 06f822b1f2061f7ce03a9659a7017dfcebd3e209 | /ATcoder/Contest/Educaional_DP_Contest_/I_Coins.cpp | f70919a70f64abd6165b724c9c73a89d63c0f72e | [] | no_license | SuuTTT/acm | f5ba1e6365fb0191490cba3dbac35031ec4e23b0 | 61fe500a89b2d41a17a010a1f65169ef21206fb5 | refs/heads/master | 2020-12-27T17:32:38.844016 | 2020-05-13T04:27:53 | 2020-05-13T04:27:53 | 237,983,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,j,k) for(int i = (int)j;i <= (int)k;i ++)
#define debug(x) cerr<<#x<<":"<<x<<endl
const int maxn=(int)1e6+5;
double p[maxn],dp[3004][3004],ans;
int main(){
ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
int n;
cin>>n;
rep(i,1,n)cin>>p[i];
... | [
"1015011749@qq.com"
] | 1015011749@qq.com |
430b1fafb0e031d0ab34b7c66eb201d19753a66e | 9474152ba242f656bd472808d00d420ee3d9048f | /concatenation_distance_matrix.cpp | 5e8482dc23843e3df3c623523cbea35edfe1ef35 | [] | no_license | mohammadroghani/bio | 93fb9e9be74424ade078e3c03e2e604343105a9f | 6f6966e7dd97f7d6410c6c89029c0775aef84fc4 | refs/heads/master | 2021-05-11T00:48:42.909765 | 2018-01-27T20:45:16 | 2018-01-27T20:45:16 | 118,311,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,011 | cpp | #include<iostream>
#include<fstream>
#include<sstream>
#include<vector>
#include<map>
using namespace std;
int dp[20000][20000];
int mat[7][5][5];
const int inf=1e9;
string con[5];
map<pair<string,string>, pair<int,int> > m;
/**
finding edit distance of s and t
match = 0
mismatch = 1
gap = 1
return min... | [
"mohammadroghani43@gmail.com"
] | mohammadroghani43@gmail.com |
bc810f99c5bfa87b2e41e8fe5bfc4e4f3128674b | ddb0a69a05394070d295840410274a7647164a3c | /src/owners.hpp | 9b7d23ae8897ae6c97ada50557a41ff29d9af17e | [
"BSD-2-Clause",
"BSD-2-Clause-Views"
] | permissive | waffle-iron/omega_h2 | 093757624965286b18ffd6815383e465a718078a | 3f078ffe5ef1e11dea85c2a4fcaef79b735d2683 | refs/heads/master | 2020-12-30T23:08:38.285470 | 2016-08-24T12:51:23 | 2016-08-24T12:51:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,850 | hpp | #ifndef OWNERS_HPP
#define OWNERS_HPP
#include "internal.hpp"
namespace Omega_h {
/* compute owners for copies of a new partitioning,
based on a mapping (Dist) from new copies to
old owners (their owners in the old partitioning).
each of the old owners is made responsible for all
its new copies and sele... | [
"dan.a.ibanez@gmail.com"
] | dan.a.ibanez@gmail.com |
6a7ffd24188e61e3b97f984803b9771823b35c8c | de731acd890706423eced969f3195a2b5f084ae1 | /lib/childrens-price.cpp | 1862e75f24549f21f2e2e9d0f988276ae8ed31a2 | [] | no_license | guydunton/Refactoring-example-cpp | e3c7e054f813f05336b12101a6da9242fb62c6c3 | 46b90c46f039829378a41dd464572d419adbc4ae | refs/heads/master | 2020-04-26T11:10:09.953891 | 2019-03-02T23:22:30 | 2019-03-02T23:22:30 | 173,507,686 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include "childrens-price.hpp"
#include "movie.hpp"
int ChildrensPrice::getPriceCode() const
{
return Movie::CHILDREN;
}
std::unique_ptr<Price> ChildrensPrice::clonePrice()
{
return std::make_unique<ChildrensPrice>(*this);
}
double ChildrensPrice::getCharge(int daysRented) const
{
const double baseCharge = 1.5;
... | [
"guy.dunton@gmail.com"
] | guy.dunton@gmail.com |
ad0f3883f54c1b3fb6dca942b487d272060b8525 | 2c19ace35b57b17411575984f1656ec0c237436c | /Map.cpp | b9e9d9c0398b449832b35aab1a920d240eb2f9c1 | [] | no_license | rane1700/ex4 | 51ca9154b373f56762695437286cd2288318b452 | 2024de009dde405e49ee713be9ed1ef9bd87696d | refs/heads/master | 2021-04-29T01:09:16.946390 | 2017-01-02T19:20:15 | 2017-01-02T19:20:15 | 77,784,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | //
// Created by shani on 11/28/16.
//
#include "Map.h"
#include "Node.h"
#include "PointHistory.h"
/**
* constractor
*/
Map::Map(){}
/**
* destructor
*/
Map::~Map(){}
/**
* prints map
*/
/**
* prints map
*/
void Map::print(){}
/**
* gets the path from a start point to a goal point
* @param speed - the... | [
"ranee1700@gmail.com"
] | ranee1700@gmail.com |
7af8f9573736e2b6034ba6d33525f5398ca7740d | 82437e831c8e89c092d4125cca71ace24d364f5e | /wasabi/devices/unicone/firmware/genesis/hardware.inc | 6d6c597ec73aea6123bc3ad370334033f83d2c75 | [] | no_license | qixiaobo/navi-misc | 93ac98f3d07eed0a1e6e620fd5f53880c5aac2a4 | 1f9099d40cc638d681eebbc85c0b8455dab21607 | refs/heads/master | 2021-06-06T11:53:00.644309 | 2016-10-27T06:01:26 | 2016-10-27T06:01:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | inc | ;
; Sega Genesis Net-controller Interface
;
; Wasabi Net-controllers Project
; Micah Dowty <micah@navi.cx>
;
; This device emulates two 3-button Sega Genesis
; controllers. It accepts low-speed USB requests
; with the desired state of each controller.
;
; The controller interface is described well at:
; http://www-2.cs... | [
"micah@scanlime.org"
] | micah@scanlime.org |
c19ca24ed0298c053af0672731a051182c101e22 | f441609b808e945299e0c425621cfa032f6eec77 | /LIstaRange/q8.cpp | a84b0375eea1b0ea21abbdeff44c35b89bb2af9a | [] | no_license | gbrsouza/Lists | b0de7df1f16ca027960f1a784951b10563bd8a47 | 096bf896d9052629cc28d3ed88e8ebc683c4ce98 | refs/heads/master | 2021-06-13T14:16:23.646716 | 2017-04-03T17:40:13 | 2017-04-03T17:40:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | #include <iostream>
#include <iterator>
#include <utility>
int * unique ( int *first , int *last );
int main ()
{
int A [] = { 1 , 2 , 1 , 2 , 3 , 3 , 1 , 2 , 4 , 5 , 3 , 4 , 5 };
// aplicar unique sobre A
auto last = unique( std::begin(A), std::end(A));
// O comando abaixo deveria imprimir A com o conteudo... | [
"gabriel_feg@hotmail.com"
] | gabriel_feg@hotmail.com |
bc2076be3336f9b46da44dbf37c07e9a3e1db7e5 | 728688c8496619a15cdc7130e8f3236b2600238a | /실습3/RangeArray.cpp | 547dd3872dab23119aec3f2299e6e31b8baae7bc | [] | no_license | jennifer06065/comsil_3_github | a0f9f186b4fb0c5da117c9f8112a070aa17795a4 | caf333ea482a2b72e84108e09f71ebc02bd692c3 | refs/heads/master | 2022-12-29T10:40:41.402334 | 2020-10-06T07:46:29 | 2020-10-06T07:46:29 | 301,641,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | #include <iostream>
using namespace std;
#include "RangeArray.h"
RangeArray::RangeArray(int a, int b) : Array(b-a+1) {
low = a;
high = b;
}
RangeArray::~RangeArray() {}
int RangeArray::baseValue() {
return low;
}
int RangeArray::endValue() {
return high;
}
int& RangeArray::operator[](int i) {
i=i-low;
retu... | [
"jennifer0606@naver.com"
] | jennifer0606@naver.com |
97ffea240d74c5e6c47bd94492b51aa80e297dd6 | 09b3e549e9793824d6d4b7b6c29a30442747d533 | /screens/Screen.h | 58d1b95e08032eadbffddeffe9f6855cfcf04e5e | [
"MIT"
] | permissive | insano10/arduino-tetris | 80c5a4f3b2e646a1410ec2f19cc838c7006165bf | 3827c5ac7e02f4d499ba2bd76fa71c6d5a575851 | refs/heads/master | 2021-01-01T06:34:00.208946 | 2015-07-05T15:34:03 | 2015-07-05T15:34:03 | 38,570,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | h | /*
* Screen.h
*
* Created on: 1 May 2012
* Author: insano10
*/
#ifndef SCREEN_H_
#define SCREEN_H_
#include "../controls/InputShield.h"
#include "../data/HiScores.h"
class Screen {
public:
Screen(InputShield* input_shield, HiScores* hiScore);
virtual ~Screen();
virtual void act... | [
"jdommett@gmail.com"
] | jdommett@gmail.com |
360cfd406f686374fb1c6b3b21b6a354c1264a19 | 265620eb6a8de39b6eaf28c909b34e3bd25117ba | /OutExcelFileThread.h | d8246adaa69b3df7ec1e1e1173ca83f8a77e0fac | [] | no_license | isliulin/uesoft-AutoIPED | 7e6f4d961ddc899b5f3c990f67beaca947ba4ff0 | c11e3ea3a7d08faa462bc731e142844d4d4c3ed9 | refs/heads/master | 2022-01-13T15:32:45.190482 | 2013-09-30T08:33:08 | 2013-09-30T08:33:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | h | #if !defined(AFX_OUTEXCELFILETHREAD_H__70F153EE_80C8_426D_81CF_1D2C4A65AF78__INCLUDED_)
#define AFX_OUTEXCELFILETHREAD_H__70F153EE_80C8_426D_81CF_1D2C4A65AF78__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OutExcelFileThread.h : header file
//
#include "Autoipedview.h"
/////////////////////... | [
"uesoft@163.com"
] | uesoft@163.com |
1febd37175c925405cc8bd2f3f789a6497002ac8 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /net/cert/multi_log_ct_verifier_unittest.cc | fa4a894e653e1ba762aa93a847cbbc79da44c149 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 10,624 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/cert/multi_log_ct_verifier.h"
#include <memory>
#include <string>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#inc... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
6ccf9c05890a08f3fcf7110cf8d36c7cab9374ab | 0cf1e9215a3c5b7ad113b6707eae4dddb23568c0 | /String/KMP-next.cpp | b28789f67e13a57ef6f1a31b8f4ea262317a1388 | [] | no_license | CrazyPigAndCat/DataStructure | 5e1979078a775c014b568823896ae323a6446d1a | 004b82087bd356238783158d8ce0b92f4f0bca0b | refs/heads/master | 2023-01-10T10:55:53.897841 | 2020-11-06T13:42:57 | 2020-11-06T13:42:57 | 295,995,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp | //
// Created by puppet on 2020/10/2.
//
#include <stdio.h>
#define MAXLEN 255
typedef struct{
char ch[MAXLEN];
int length;
}SString;
int Index_KMP(SString S,SString T,int nextval[]){
int i=1,j=1;
while (i<=S.length&&j<T.length){
if(j==0||S.ch[i]==T.ch[j]){
++i;
++j;
... | [
"909395091@qq.com"
] | 909395091@qq.com |
f15955bcc109a30873408038a7e88c4c7b3a9e75 | 136247b5cb638464a05592618633aa5ffb88d007 | /ui/widget/logwidget.cpp | 20c507c04b4227a84c153c45d7f3a2760e038711 | [] | no_license | dongdong-2009/spinnery-system | e198fb6fb314b7459bf4e6f0f66d8e55f675e927 | 14566665407c72cbe9fcef901d55eea48c106797 | refs/heads/master | 2021-05-28T16:21:47.725660 | 2014-10-29T12:07:39 | 2014-10-29T12:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | cpp | #include "logwidget.h"
#include "ui_logwidget.h"
#include <QDebug>
LogWidget::LogWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::LogWidget)
{
ui->setupUi(this);
}
LogWidget::~LogWidget()
{
delete ui;
}
void LogWidget::on_listWidget_itemSelectionChanged()
{
int selectIndex=ui->listWidget->... | [
"kyyblabla@163.com"
] | kyyblabla@163.com |
227decd6dc576104cecfa2ffe65fe438cfa0bfd8 | e2029872bcf1feead431d3eb155ddc91036d9317 | /Compiler/AST/ASTLiterals_CG.cpp | 835fe84a332c46d8f12a051d76ed4bd1c6977ef2 | [
"Artistic-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | FingerLeakers/emojicode | 604d14a11ca7716b0488bc0d3d5ce3f573bfe2a3 | 1e5b1a6f287998639cd43152f37482125ab3d96a | refs/heads/master | 2020-03-12T06:16:48.757828 | 2018-04-09T13:02:51 | 2018-04-09T13:02:51 | 130,481,785 | 2 | 0 | null | 2018-04-21T14:34:08 | 2018-04-21T14:34:08 | null | UTF-8 | C++ | false | false | 3,287 | cpp | //
// ASTLiterals_CG.cpp
// Emojicode
//
// Created by Theo Weidmann on 03/09/2017.
// Copyright © 2017 Theo Weidmann. All rights reserved.
//
#include "ASTLiterals.hpp"
#include "ASTInitialization.hpp"
#include "Compiler.hpp"
#include "Generation/CallCodeGenerator.hpp"
#include "Generation/FunctionCodeGenerator.h... | [
"hi@idmean.xyz"
] | hi@idmean.xyz |
5f51bef74fab6a12e19d140069cd2b0c4ba626a4 | 88ae8695987ada722184307301e221e1ba3cc2fa | /sandbox/win/src/service_resolver_64.cc | b96816037a221347ed58def272979fd334ad024c | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 8,712 | cc | // Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sandbox/win/src/service_resolver.h"
#include <ntstatus.h>
#include <stddef.h>
#include <memory>
#include "sandbox/win/src/sandbox_nt_util.h"
#include "sandbox/win/... | [
"jengelh@inai.de"
] | jengelh@inai.de |
954acad462398cc3b0af0a93b56e67d43d900323 | 4164e13053dab51d02affb94c46c529b37a08347 | /tkir_game/tkir_game/PathFinder.h | a759565f8b6e74d5ca72a8e6344e279341aac98e | [] | no_license | tkir/goldenbyte2016 | 656629f500a4afc0892a7df456ba583cb4791ced | 8f2ebeeff24e9b0d96b6cb4a897be1bc5fe0bb67 | refs/heads/master | 2021-01-10T02:39:04.951688 | 2016-01-25T19:15:25 | 2016-01-25T19:15:25 | 49,377,365 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,528 | h | #pragma once
#include "include.h"
struct object
{
Vector2f point[4];
Vector2f centerPoint;
float furthestPoint;
bool isWall;
object(){}
object create(Vector2f position, float tileSize);
};
class MiniMap
{
public:
object obj;
object** miniMap;
Vector2u mapSize,
countMiniMapTyles;
float miniMapTyleSize;
... | [
"kirill.titenko@gmail.com"
] | kirill.titenko@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.