blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fb014563d58065da3761de127c3613513104a4b8 | d851feba672cc84d63fb218134aabfdfd425c0d3 | /KthLargestElementinanArray.cpp | d13e26ccb885044b6b76ec4c536f6aa20ee358bb | [] | no_license | amitkhatri786/Leetcode | 7e93abcfbfbf37074756c74e8d27255090f11c33 | 183b38b726192f33866e9cf4eea8c8afd73cafce | refs/heads/master | 2023-04-12T19:50:13.936647 | 2021-04-30T17:09:05 | 2021-04-30T17:10:49 | 342,642,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | cpp | int heap[10001];
int heap_size;
void heapify(int heap[],int i,int n)
{
int smallest = i;
int l = 2*i +1;
int r = 2*i + 2;
int t;
if(l<n && heap[l] < heap[smallest])
smallest = l;
if(r<n && heap[r] < heap[smallest])
smallest = r;
if(i!=smallest) {
t = heap[i];
heap[i] = heap[smallest];
heap[smallest] =... | [
"amit7861234@gmail.com"
] | amit7861234@gmail.com |
4ce6982367ba7b49b3623a3a639b6e03c2511f80 | 21216638ee1672bff57ea318c0dbdf4cf63978ea | /Core/Src/HardDrivers/Adc/Adc.hpp | 294e82d8a24e23393e20aaa92909e93f7761e6d8 | [] | no_license | aenapple/Vent_stm | 176a779432009206c74d3a8deeabf8d97ab1ac97 | 6565e4231d2e6254e7e504e6fd99d3a29b4155e6 | refs/heads/master | 2023-02-27T01:08:01.253650 | 2021-01-29T21:36:19 | 2021-01-29T21:36:19 | 332,300,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,500 | hpp | /**********************************************************************************/
/**
* @file
* Adc.hpp - declaration of class TAdc.
*
*/
/**********************************************************************************/
#ifndef __Adc_H
#define __Adc_H
/*********************************************************... | [
"evgeniy_alekseev@yahoo.ca"
] | evgeniy_alekseev@yahoo.ca |
f5e339a9fe40a0ec9e8b2c18809c0abdf42c0a8b | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/hunk_5152.cpp | 40d297e3622ce58a76a5de94db546b540dede94e | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,651 | cpp | test_cmp expect output
'
+cat > expect << EOF
+# On branch master
+# Changed but not updated:
+# (use "git add <file>..." to update what will be committed)
+# (use "git checkout -- <file>..." to discard changes in working directory)
+#
+# modified: dir1/modified
+#
+# Untracked files:
+# (use "git add <fil... | [
"993273596@qq.com"
] | 993273596@qq.com |
91f7fae32bd99420a2bd282dd0d102e58ace0080 | bff9ee7f0b96ac71e609a50c4b81375768541aab | /src/cppipc/ipc_object_base.hpp | d766216f7ac5a527e827dca1bade4e4c488bb5c9 | [
"BSD-3-Clause"
] | permissive | rohitativy/turicreate | d7850f848b7ccac80e57e8042dafefc8b949b12b | 1c31ee2d008a1e9eba029bafef6036151510f1ec | refs/heads/master | 2020-03-10T02:38:23.052555 | 2018-04-11T02:20:16 | 2018-04-11T02:20:16 | 129,141,488 | 1 | 0 | BSD-3-Clause | 2018-04-11T19:06:32 | 2018-04-11T19:06:31 | null | UTF-8 | C++ | false | false | 569 | hpp | /* Copyright © 2017 Apple Inc. All rights reserved.
*
* Use of this source code is governed by a BSD-3-clause license that can
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef CPPIPC_IPC_OBJECT_BASE_HPP
#define CPPIPC_IPC_OBJECT_BASE_HPP
#include <memory>
#include <ex... | [
"znation@apple.com"
] | znation@apple.com |
ce75d84ef3163aff9ba61057c66810fb1b101ac3 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-pistache-server/generated/model/ComAdobeCqSocialCommonsEmailreplyImplCommentEmailEventListenerProperties.cpp | d22966e2fd2c57f67cb978f6c1124d0bef582762 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 2,356 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
60f798c9c24be60f5caa28cf39f26da4d1b59365 | aaeb153afec0540401cdd4b6708bc8c938890f4c | /src/driver/elcdif.cpp | fa532dd41f13500ce381b801d5eadd31523c19fb | [] | no_license | hkust-smartcar/RTLib | e51a34a0823900be9b601838c95484252e64583a | dc538d776ccf8e158c5f4209bd5ce78a8e208692 | refs/heads/master | 2020-04-12T02:16:37.085303 | 2018-12-18T08:08:55 | 2018-12-18T08:08:55 | 162,243,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,969 | cpp | /*
* elcdif.cpp
*
* Created on: Sep 14, 2018
* Author: LeeChunHei
*/
#include "driver/elcdif.h"
#include "system/clock.h"
#include "system/system.h"
namespace Driver {
eLCDIF* elcdif_ptr;
using namespace System;
const clock_ip_name_t s_elcdifApbClocks[] = LCDIF_CLOCKS;
const clock_ip_name_t s_elcdifPixC... | [
"lch19980829@gmail.com"
] | lch19980829@gmail.com |
cce308a963099467c5fc28d9eed8cd3e37d53eef | 516babd52e0c5c5034af323d88045bff500732d2 | /TSru.hxx | e5439b251f1be35987f0b0866d5d469840d85a4e | [] | no_license | policheh/phos_fee_dim | 9aa65ab55ece302c5fbd79902f4202d8f0779746 | ff996717eeead5f1d266edf2c9381f58857d7e0b | refs/heads/master | 2021-07-31T21:10:02.514067 | 2021-07-20T08:39:20 | 2021-07-20T08:39:20 | 121,374,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,277 | hxx | #ifndef TSRU_HH
#define TSRU_HH
#include <iostream>
#include "TDevice.hxx"
#include "TFee.hxx"
#include "TTru.hxx"
#include "TSequencerCommand.hxx"
#include "THvCFG.hxx"
#include "TPedCFG.hxx"
#include "TCardOnCFG.hxx"
#include "TBaseCFG.hxx"
#include "TSocket.hxx"
using namespace std;
typedef struct {
int lock[2]... | [
"Boris.Polishchuk@cern.ch"
] | Boris.Polishchuk@cern.ch |
0e542041fdfbc71acfc11ad3ff127acc3b906214 | 70c75331137d4f2bb3fc6b03da5db19961adf6d8 | /Classes/ContentLayer.cpp | 036015b887287a77ba8a7f0b88f3c2ba11eafb3b | [] | no_license | stars2014/RockChipmunk2D | 95da4623865e2e1986683ea5258937544ee55b66 | b74693a68418f01480129a07c4d84480027f7476 | refs/heads/master | 2020-12-03T09:13:23.698899 | 2014-05-06T11:04:04 | 2014-05-06T11:04:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,324 | cpp | //
// ContentLayer.cpp
// PhysicsTest
//
// Created by ChildhoodAndy on 14-3-9.
//
//
#include "ContentLayer.h"
#include "HelloWorldScene.h"
#include "RollingBall.h"
#include "PinJointScene.h"
#include "SlideJointScene.h"
#include "ContactFilterScene.h"
#include "ColorMatchScene.h"
#include "SimplePlatformerScene.h... | [
"dabing1022@gmail.com"
] | dabing1022@gmail.com |
a1d922e46100f85129e43ceecda49f6ceaaf139f | 970910c3f47674adc48c32e3744aa54b1889d42e | /src/SQL_Parser/SQL_config.hpp | 90b9f7181ca9decdfb2cc91726d6a4bbf37540f7 | [
"Apache-2.0"
] | permissive | Algue-Rythme/MiniSQL | 959ac14f6ad3e398fae16e535a4bc1c7832cc078 | d49f463bb1b5c75645e56a95c65e19337f45b8e2 | refs/heads/master | 2021-01-24T20:14:32.855391 | 2020-01-04T11:08:56 | 2020-01-04T11:08:56 | 123,246,948 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | hpp | #ifndef SQL_CONFIG_HPP
#define SQL_CONFIG_HPP
#include <boost/spirit/home/x3.hpp>
#include "SQL_error_handler.hpp"
namespace SQL_Parser {
typedef std::string::const_iterator iterator_type;
typedef x3::phrase_parse_context<x3::ascii::space_type>::type phrase_context_type;
typedef error_handler<iterator_typ... | [
"algue-rythme@orange.fr"
] | algue-rythme@orange.fr |
b923079eb07b20038d7db2215a0c865ca71b28cb | 885f998e7934a77f1b121071b7549d26e47606b8 | /Graph Sequence.cpp | 5f569e982fc3ba9dcf10e450cc3866a186d5ae12 | [] | no_license | VivekPandey2428/Graphs-Coding-Minutes | b75d1ed9469e2dace65416e0b83d4ac623cbadeb | e0a6256973e59957b2302d297dc9a3516123ec20 | refs/heads/main | 2023-05-07T14:14:40.629619 | 2021-06-04T19:09:21 | 2021-06-04T19:09:21 | 373,646,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | cpp | #include<bits/stdc++.h>
using namespace std;
void dfs(vector<vector<int>> matrix,vector<vector<bool> > &visited, vector<vector<int> > &dp, int i,int j,int m,int n){
visited[i][j]=1;
int cnt=0;
int dx[]={0,0,1,-1};
int dy[]={1,-1,0,0};
for(int k=0;k<4;k++){
int nx=i+dx[k];
int ny=j+dy[k];
if(nx>=... | [
"noreply@github.com"
] | noreply@github.com |
a3edbe34450b28fe3d0e506eb29fa6df03210fc2 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /scrape/data/Organized/z7z_Eta/z7z_Eta_TLE.cpp | 866bd1b457c4862b502501e461729ba75d68b5d6 | [] | 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 | 897 | cpp | // SeptEtavioxy
#include<cstdio>
#include<cctype>
#include<cstring>
#include<algorithm>
#include<cmath>
#define re register
#define ll long long
#define il inline
#define rep(i,s,t) for(re int i=(s);i<=(t);i++)
#define each(i,u) for(int i=head[u];i;i=bow[i].nxt)
#define pt(ch) putchar(ch)
#define pti(x) printf("%d",x)
... | [
"mukeshchugani10@gmail.com"
] | mukeshchugani10@gmail.com |
e70b72f2463676f0f581e115957defd5beca7fba | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /chrome/browser/ash/login/screens/active_directory_password_change_screen.h | 7786ad766d3c62c44868fe1f3243e5e71ae888bf | [
"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 | 2,503 | h | // Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_LOGIN_SCREENS_ACTIVE_DIRECTORY_PASSWORD_CHANGE_SCREEN_H_
#define CHROME_BROWSER_ASH_LOGIN_SCREENS_ACTIVE_DIRECTORY_PASSWORD_CHANGE_SCREEN_H_
#includ... | [
"roger@nwjs.io"
] | roger@nwjs.io |
783c9c342aa38b231619732d27176e14e9d21399 | 9b2bffdc2b9af2a677b699f28bbd64270db4317b | /lab/vector_io.hpp | 1618761b4b11aa922235effdf1ce5ac89f52213b | [] | no_license | templateaholic10/testrepo | 9f075b75a13fa433b13e47a53d28cec82a33df7a | f7cf9da5ad65001ed7008a73a5fe95852a599316 | refs/heads/master | 2021-01-18T00:08:47.210914 | 2016-08-10T14:50:21 | 2016-08-10T14:50:21 | 27,905,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | hpp | /*! @file
@brief std::vector I/O
@author templateaholic10
@date 11/18
*/
#ifndef VECTOR_IO_HPP
#define VECTOR_IO_HPP
#include <vector>
#include <iostream>
#include <cstdlib>
/*! @macro
@brief デリミタ.インクルード前にVECTOR_IO_DELIMを定義することで変更が可能
*/
#ifndef VECTOR_IO_DELIM
#define VECTOR_IO_DELIM ','
#endif
/*! ... | [
"zonmin10@gmail.com"
] | zonmin10@gmail.com |
2d59bab4cfbcc5cbd8e14acd70aa933a2eb21ec7 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Editor/SequenceRecorder/Private/SequenceRecorderModule.cpp | 0dbbfe18181a1c4b0553306ba6e985e0e929bb4d | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 20,913 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "CoreMinimal.h"
#include "Misc/CoreMisc.h"
#include "Misc/Guid.h"
#include "Modules/ModuleManager.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Class.h"
#include "Misc/PackageName.h"
#include "HAL/IConsoleManager.h"
#include "Engine/Level.h... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
4c82b617c78d34b8a5dfff30983c658c1966d45d | cc3692e7beae4b4b1a561095adbd4b0ad9267eb8 | /ACM C++/waterloof2017a_art/WaterlooF2017A.cpp | bec4fd1f4e2c142d585b5ab640dcd7c541d24000 | [] | no_license | ailyanlu1/Contests | a5946fe82b4ae5f5a6f02e1454410e0c9bcef94b | 5aa2ada86703f8b869e0e9363b99a007e2740f7a | refs/heads/master | 2020-03-26T13:03:45.790085 | 2018-08-16T00:34:40 | 2018-08-16T00:34:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,140 | cpp | #include <bits/stdc++.h>
using namespace std;
#define SHORT_INF 0x3f3f
#define INT_INF 0x3f3f3f3f
#define LL_INF 0x3f3f3f3f3f3f3f3f
#define D_INF numeric_limits<double>::infinity()
#define pb push_back
#define mp make_pair
#define l(x) ((x) << 1)
#define r(x) ((x) << 1 | 1)
#define m(x, y) ((x) + ((y) - (x)... | [
"wesley.a.leung@gmail.com"
] | wesley.a.leung@gmail.com |
ca05fee3c327c9521cbc2768a877036075c4f1a9 | 066047fcfee9d9fe0a03095d6a3611626afd32be | /VSCode Projects/C and C++ Projects/test.cpp | b4dc207eb8221c8d52e70cba33db43d3a4735ad5 | [] | no_license | wukun2/CodeWork | be79f482f8a08a00eda8615e673c12e631afe612 | 7b2012f18666edb2bc7296b3cc6026f29334fd48 | refs/heads/main | 2023-04-29T01:27:44.598244 | 2021-05-13T07:07:56 | 2021-05-13T07:07:56 | 352,818,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,167 | cpp | #include <iostream>
using namespace std;
void divide(int data[],int begin,int end,int temp[]);
void merge(int data[],int begin,int mid,int end,int temp[]);
int myCount = 0;
int main(){
int n = 0;
cin>>n;
int data[n]={0};
int temp[n] = {0};
for(int i=0 ; i < n ; i++){
cin >> data[i];
}
... | [
"2796624556@qq.com"
] | 2796624556@qq.com |
6d509fb945791c2486983b49aa3dcf5242e18140 | d6cbe05b1cac02c3526c2391ecc1ee97728390ff | /CareerCupAmazon002/CareerCupAmazon002/Main.cpp | d82b614d65f49fb1324916e0a2c4c30c979f2fa2 | [] | no_license | subodhshakya/AlgorithmsAndDS | 1e68a3bebc59349d6149014be32378bf5918f342 | 8a8ddb6104d8d721907223c92fe99de022d7390d | refs/heads/master | 2021-01-10T03:05:15.086371 | 2019-03-10T06:44:36 | 2019-03-10T06:44:36 | 36,037,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cpp | /*
Given a sorted array with only 0's and 1's.Count the number of 0's.
e.g: 0 0 0 0 1 1
*/
#include<iostream>
using namespace std;
int const MAX_SIZE = 10;
int CountZero(int sortedAry[], int n)
{
int l = 0;
int r = n - 1;
// Binary search (as array is sorted!!!)
while (l <= r)
{
int m = l + (r - l) / 2;
i... | [
"skya.subodh@gmail.com"
] | skya.subodh@gmail.com |
020664a3ee3631144447863fc4d50cae50be94f1 | bc1e43e48081cfd61a172f09ba62b01bc07f125c | /src/caffe/layers/euclidean_with_valid_label_loss_layer.cpp | 03de53b1c96a10e0d049c5396d1fc145bb86dc83 | [
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | rohitgirdhar-cmu-experimental/caffepp | 4d34a8c2f882524feb6a86dc4653e148c0cd5030 | 10750e5b3ecec0b21e264cbd3b2affcb7051baee | refs/heads/master | 2021-01-10T04:23:44.633507 | 2015-10-28T01:15:08 | 2015-10-28T01:15:08 | 44,256,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | cpp | #include <vector>
#include "caffe/layer.hpp"
#include "caffe/util/io.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
template <typename Dtype>
void EuclideanWithValidLabelLossLayer<Dtype>::Reshape(
const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& to... | [
"rgirdhar@andrew.cmu.edu"
] | rgirdhar@andrew.cmu.edu |
2fa426efa70f59ace795789d46bb72a277a9831f | 1a07cd2d06aa18d625306b23738489156f287c1f | /emule/TimeTick.cpp | 56d655f157536f0ae4d1f645a4dfdecce3d4373c | [] | no_license | skynetto/EmuleRefactoring | 94b2e250a446f93ee27784c8b6bfc9755f51bcb2 | 83469d473be1f5d9c2bc73131837dfe01923aa8e | refs/heads/master | 2023-04-08T19:38:22.637212 | 2021-04-18T19:11:18 | 2021-04-18T19:11:18 | 354,520,045 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,338 | cpp | // TimeTick.cpp : implementation of the CTimeTick class
//
/////////////////////////////////////////////////////////////////////////////
//
// Copyright © 2001, Stefan Belopotocan, http://welcome.to/BeloSoft
//
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "... | [
"s95227@libero.it"
] | s95227@libero.it |
0c7c0ace031eea20f1ab85b43c8a7b828afe03a9 | 0a70cf01bf16fc0cd1a696e08f657739eb4fd87c | /tc/SRM717_Div1/DerangementsStrikeBack.cpp | 8f0c2a3317fb35e34e9e9e0b599c63f4f1bf3093 | [] | no_license | erjiaqing/my_solutions | ca63b664cb6f7ecb7d756a70666fdf3be6dc06b3 | 87bf90af4aca2853f30a7c341fe747d499728ba3 | refs/heads/master | 2022-09-05T17:45:19.902071 | 2022-08-13T02:18:30 | 2022-08-13T02:18:30 | 20,209,446 | 10 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,689 | cpp | #include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
const double PI = acos(-1);
typedef complex<double> Complex;
const int N = 262144, L = 15, MASK = (1 << L) - 1;
Complex w[N];
void FFTInit()
{
for (int i = 0; i < N; i++)
w[i] = Complex(cos(2 * i * PI / N), sin(2 * i * PI / N));
}
void FFT(C... | [
"gs199704@gmail.com"
] | gs199704@gmail.com |
82e233907bbb900a3b628cfd5dc25045ef52e16a | 51b9e57bdde72e7482d659a1a16e8ffe3c1ec06d | /src/07_exercises__task_25/Zadatak25Cas7/main.cpp | 7bc10f04fe7d5f9389fc3802b245786e0de53f40 | [
"MIT"
] | permissive | MilovanTomasevic/cpp-tutorial | 56403e4227b247ac9f95ed74c085aa659b2ec935 | 985094a329e379a375343bca1dc7b929e58020a7 | refs/heads/main | 2023-04-11T02:38:00.318495 | 2021-04-26T20:28:00 | 2021-04-26T20:28:00 | 361,882,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,296 | cpp | //
// main.cpp
// Zadatak25Cas7
//
// Created by Milovan Tomasevic on 18/03/2017.
// Copyright © 2017 Milovan Tomasevic. All rights reserved.
//
/*
U programskom jeziku C++ napisati generičku klasu Trezor<class SADRZAJ, int KAPACITET>, koja opisuje trezor sa sefovima, pri čemu je u svakom sefu trezora moguće ... | [
"tomas.ftn.e2@gmail.com"
] | tomas.ftn.e2@gmail.com |
8604584f50ea5acc5c8d3fb21f9cdadc020c9fc1 | fc79fe29914d224d9f3a1e494aff6b8937be723f | /Libraries/Rim Graphics/include/rim/graphics/buffers/rimGraphicsVertexUsage.h | f96959b9b5155a6997507148ae4e6e55c106519e | [] | no_license | niti1987/Quadcopter | e078d23dd1e736fda19b516a5cd5e4aca5aa3c50 | 6ca26b1224395c51369442f202d1b4c4b7188351 | refs/heads/master | 2021-01-01T18:55:55.210906 | 2014-12-09T23:37:09 | 2014-12-09T23:37:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,569 | h | /*
* rimGraphicsVertexUsage.h
* Rim Graphics
*
* Created by Carl Schissler on 11/27/11.
* Copyright 2011 __MyCompanyName__. All rights reserved.
*
*/
#ifndef INCLUDE_RIM_GRAPHICS_VERTEX_USAGE_H
#define INCLUDE_RIM_GRAPHICS_VERTEX_USAGE_H
#include "rimGraphicsBuffersConfig.h"
//##########################... | [
"niti1987@gmail.com"
] | niti1987@gmail.com |
eed2c4382fedbc3a98c8fed1562352d2116a0a83 | 4a52e9a809eda845acc1c0952d6379936f84e42a | /src/REND/REND_InputManager.cpp | 2205b639bfd478624406b76ab89503535f011ac1 | [] | no_license | agjwang/wwi-simulation-game | 3965e4e3b632fd323bbf29efeeb9051a444a6d82 | 9e90fc5ad1a2a68f22de7126587d83edffce3d89 | refs/heads/master | 2020-12-30T14:00:51.053981 | 2017-06-26T03:31:00 | 2017-06-26T03:31:00 | 91,277,477 | 0 | 0 | null | 2017-05-21T17:10:08 | 2017-05-14T23:24:53 | C++ | UTF-8 | C++ | false | false | 2,313 | cpp | /*
* NAME: REND_InputManager.cpp
*
* COMMENTS:
*/
#include "REND_InputManager.h"
REND_InputManager::REND_InputManager(Window window)
{
windowHandle = window.getWindowHandle();
}
REND_InputManager::~REND_InputManager()
{
}
void REND_InputManager::init()
{
assert(!windowHandle);
glfwSetKeyCallback(win... | [
"alexander.gj.wang@gmail.com"
] | alexander.gj.wang@gmail.com |
5dd8371bf15ed7a853bf355f6038fec3e9b50bf4 | 0cc4f9e2aa513d163b01887633f8103c983520ab | /Choclate_distribution.cpp | 1c0ba59b87cb007f67496fdeab65bc4c2cedb062 | [] | no_license | Manmohan15/Common_ques_in_c- | f001ec28f5bcbe5c20f44bfd6e9e386142e90f87 | b01bdf901816cf3b05093b2e3d8b4e833c1f2733 | refs/heads/main | 2023-03-01T09:10:41.646617 | 2021-02-09T17:30:40 | 2021-02-09T17:30:40 | 330,923,395 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
//code
int t;
cin>>t;
while(t>0)
{
int n;
int m;
cin>>n;
int arr[n];
for(int i=0;i<n;i++)
{
cin>>arr[i];
}
cin>>m;
int min_diff=INT_MAX;
sort(arr,arr+n);
for(int j=0;j+m-1<n;j++)
{
... | [
"noreply@github.com"
] | noreply@github.com |
4f734150e90b7f15dfba63e24d5d0c47d6816ae1 | f1f5e84c01a02d4fe4de7d6359874717718e4540 | /Programms/interview/playing with strings.cpp | 9e0d6dd4f38ad1581bd92f1c0f9cbf29ee38c9b1 | [] | no_license | yadav-ankit/Projects | 28365ee8e54132d2a6bfdf059935702005f4c13e | 291dfc4c4260a6901e8bdf6a2b079f01c66995d8 | refs/heads/master | 2022-03-22T22:08:32.707191 | 2019-11-03T03:01:32 | 2019-11-03T03:01:32 | 62,373,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | cpp | # include<bits/stdc++.h>
using namespace std;
int main()
{
string q,r,s;
getline(cin,s);
r=s;
reverse(s.begin(),s.end());
cout<<r<<endl<<s;
cout<<endl<<r.compare(s);
r=r.substr(2,4);
cout<<endl<<r;
}
| [
"noreply@github.com"
] | noreply@github.com |
24299558bc0cf946dabaaaf58c8b3a8726011897 | ceed8ee18ab314b40b3e5b170dceb9adedc39b1e | /android/frameworks/native/include/gui/GLConsumer.h | 10bca01ff9429f31c6756fde5d5fa79c1adc7edf | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | BPI-SINOVOIP/BPI-H3-New-Android7 | c9906db06010ed6b86df53afb6e25f506ad3917c | 111cb59a0770d080de7b30eb8b6398a545497080 | refs/heads/master | 2023-02-28T20:15:21.191551 | 2018-10-08T06:51:44 | 2018-10-08T06:51:44 | 132,708,249 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,303 | h | /*
* Copyright (C) 2010 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... | [
"Justin"
] | Justin |
5276c226a465b3e55d13fdb889618ee54534dd73 | 6b9a8ae4dc911960761e942ccd1fe1fe7d16392e | /src/lab3/ip.hh | f39519e3a79f26f576c259f255a1d079ea92fb6f | [] | no_license | jakkra/Etrax-InternetInuti | e4a2dc8008b1689275809c3f1076746a6c8db113 | 1c6ef2af6154077720be840152e43c2309eecb3b | refs/heads/master | 2021-01-10T10:29:25.050551 | 2016-03-11T09:57:48 | 2016-03-11T09:57:48 | 51,094,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,607 | hh | /*!***************************************************************************
*!
*! FILE NAME : ip.hh
*!
*! DESCRIPTION: IP, Internet protocol
*!
*!***************************************************************************/
#ifndef ip_hh
#define ip_hh
/****************** INCLUDE FILES SECTION *******************... | [
"i2grp10@linus.lab.eit.lth.se"
] | i2grp10@linus.lab.eit.lth.se |
46627de97fdb43b92ceae6e0f023cc09f44816eb | e5afbb2507a7014d7c88ecf9c60889e97a014ecb | /aws-cpp-sdk-transcribe/include/aws/transcribe/model/JobExecutionSettings.h | bfdf6d4d1076c893bcf271c674847df068828724 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | githubchen000/S3 | 4e3b51debccc9a26c376e2f183ff0664d0a43ecb | 402f5a3eda7f9ef72837a2b5aba53cbdd57e1280 | refs/heads/master | 2023-08-29T06:45:29.165027 | 2021-10-25T19:28:10 | 2021-10-25T19:28:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,272 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/transcribe/TranscribeService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonV... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
c5eeb9f4b99d12dd82dbda59c3f938e0b74723dd | 02d0206bd131df5af9203365923fff37c6fbb46b | /src/Node.cpp | 6780fb1d57692be09a83404a51eccec8f2f5b590 | [] | no_license | damonwy/SPH_Fluid_Simulation | 804f5adf3ccb938c81dc534654faea8f624f214e | 1fdfa90e5a849a800f40e41674f83e9230660556 | refs/heads/master | 2020-03-12T09:15:48.387444 | 2018-05-02T02:32:22 | 2018-05-02T02:32:22 | 130,548,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | #include <iostream>
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#define GLM_FORCE_RADIANS
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Node.h"
#include "Shape.h"
#include "Program.h"
#include "MatrixStack.h"
using namespace std;
Node::Node() :
r(1.0f),
m(1.0f),
i(-1),
... | [
"ying.wang@tamu.edu"
] | ying.wang@tamu.edu |
c54091da822369aae4620123bfc69847935ccf7a | 638f8e44efd0bfc2da121525e3722e5e51aa48e2 | /Code/Launcher/EngineListener.h | 18d1e46d46795f7e2162e8601336945beac2fab9 | [] | no_license | jedi95/c1-headless | 2566c5159b68e56ba4fd1eac56f7da07c374ddcc | 14aed1c94256e45a835e85ccf11e2463bc76f356 | refs/heads/master | 2022-04-06T13:04:52.137695 | 2020-03-08T13:54:14 | 2020-03-08T13:54:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | h | /**
* @file
* @brief Game engine listener.
*/
#pragma once
// CryEngine headers
#include "ISystem.h"
class EngineListener : public ISystemUserCallback
{
public:
// --- ISystemUserCallback ---
bool OnError( const char *szErrorString ) override;
void OnSaveDocument() override;
void OnProcessSwitch() override;
... | [
"d.hryzbil@gmail.com"
] | d.hryzbil@gmail.com |
41b6ea4b359d89120d60e1f0a428a7d0e0d9924c | 775dea4b8ea51b22936aec82467ada7bd797e1d9 | /algorithm/file_disk/genNub_1G-3.cpp | e6827f33ae2d28dbf1fafcd0da6cb210d6acd595 | [] | no_license | yuandaxing/utils | d66b5c65d60b498a6630be47be84e396a1e84517 | 02815fc60e09c37dd9badf37cd656c28748baee5 | refs/heads/master | 2016-08-08T14:55:08.776088 | 2014-11-03T10:23:25 | 2014-11-03T10:23:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,426 | cpp | /*
* =====================================================================================
*
* Filename: genNub_1G-3.cpp
*
* Description:
*
* Version: 1.0
* Created: 2012年10月05日 15时02分03秒
* Revision: none
* Compiler: gcc
*
* Author: Yuan DaXing (http://goo.... | [
"1179923349@qq.com"
] | 1179923349@qq.com |
c21355b4c60d02e5c973866f504dc0615474ada4 | 27797614a47df9b488204348ef25bab88c059908 | /include/mrbp/class.hpp | 3f8f6cdb922743e4fe74077834dc7d1bedb11f49 | [] | no_license | nkshigeru/mrbp | 58a90d35fa32f9b70da5fc803e478a58a37b4664 | 73b0ff13a96ff872cc2ce563df2161f69067a093 | refs/heads/master | 2021-01-19T00:14:56.046249 | 2012-11-08T03:34:10 | 2012-11-08T03:34:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,910 | hpp | // mrbp - mruby C++ wrapper
// Copyright (c) nkshigeru 2012
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy... | [
"nkshigeru@gmail.com"
] | nkshigeru@gmail.com |
2566a67b8ffc96c5d0deb669f7427f5d7bf654ea | 573a66e4f4753cc0f145de8d60340b4dd6206607 | /JS-CS-Detection-byExample/Dataset (ALERT 5 GB)/1402576/node-webkit-nw-v0.10.0/node-webkit-nw-v0.10.0/src/browser/autofill_popup_base_view.h | e379f3d98b868afc65a807c72f86f2bcaba682ea | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"MIT"
] | permissive | mkaouer/Code-Smells-Detection-in-JavaScript | 3919ec0d445637a7f7c5f570c724082d42248e1b | 7130351703e19347884f95ce6d6ab1fb4f5cfbff | refs/heads/master | 2023-03-09T18:04:26.971934 | 2022-03-23T22:04:28 | 2022-03-23T22:04:28 | 73,915,037 | 8 | 3 | null | 2023-02-28T23:00:07 | 2016-11-16T11:47:44 | null | UTF-8 | C++ | false | false | 3,315 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_BASE_VIEW_H_
#include "base/... | [
"mmkaouer@umich.edu"
] | mmkaouer@umich.edu |
e4af3581f556cf8f3658b66dec948386411398eb | 70a9bd9f45c623433317be4b357d4d5c3b4be7cf | /furnarchy2/furnarchyskin/fsml_common.h | dac7c70761a966cc2e36509c0b6c6cbde04ea033 | [
"MIT"
] | permissive | qtHosting/Furnarchy | e5b5c0ecc39bc6e94fa9a8022c09f22b89ad5e50 | 60bf0811c1dd3ed18a7578932a3a78f3b0eb26be | refs/heads/master | 2022-02-23T12:56:08.922554 | 2016-06-12T18:20:05 | 2016-06-12T18:20:05 | 44,062,051 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,931 | h | #ifndef _FSML_COMMON_H__
#define _FSML_COMMON_H__
#include <string>
#include <cstring>
#include <ctime>
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <stdexcept>
#include <utility>
#include <cassert>
#include "common/ref_ptr.h"
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <W... | [
"supramatrix@gmail.com"
] | supramatrix@gmail.com |
432e2d3c9970fcfddf953bc3693305b04578e5a5 | 09b36c8ab18fdc7ec4034ed9fdad088a18c191be | /CourseBuild/MyFarmingGame_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Generics15.cpp | 5ba68017b6646d75e5040c3586ce3eacecc7c2e4 | [] | no_license | zackrcarson/MyFarmingGame | 782005ac51b1d90a376397a7c5196258649af3e2 | 0e0a867fe2023e9ac650169f6cf85bef8548a677 | refs/heads/master | 2023-01-27T14:34:02.572891 | 2020-12-10T03:11:09 | 2020-12-10T03:11:09 | 288,341,793 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,432,815 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | [
"zackrcarson@gmail.com"
] | zackrcarson@gmail.com |
3fcd5e64731970a7d95b9b4bcdc3c2ef47644694 | 15c45500c756bd72785d83061e3f8891cb4cddf3 | /include/opencv_apps/RotatedRectStamped.h | 2536ec9c250c22b71172e810636de54b599aeaf5 | [] | no_license | keaixin/wei | f281dada64d7f4870f7c70b5625147a25f67476f | 94bc3a83a1c792cb973088293755078b714419ec | refs/heads/master | 2020-04-27T20:12:35.987028 | 2019-06-08T13:01:33 | 2019-06-08T13:01:33 | 174,649,298 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,931 | h | // Generated by gencpp from file opencv_apps/RotatedRectStamped.msg
// DO NOT EDIT!
#ifndef OPENCV_APPS_MESSAGE_ROTATEDRECTSTAMPED_H
#define OPENCV_APPS_MESSAGE_ROTATEDRECTSTAMPED_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_messag... | [
"2861324268@qq.com"
] | 2861324268@qq.com |
68eae610c0ef25ab6bdfb2c530692496a954d283 | c20b459468fa359a6f4c545db72a211d38298909 | /all_problems/Done/114_Flatten_Binary_Tree_to_Linked_List.cpp | cede6877d23d2aacdf246ce9d149dda7e44a1261 | [] | no_license | mycppfeed/Leetmap | e0340c6ecb85901c9555900a871e159a16940028 | f1f31085de60adce9dabe5eb2e5c4d66a5ba1572 | refs/heads/master | 2021-11-04T00:13:19.882064 | 2019-04-26T21:18:30 | 2019-04-26T21:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,444 | cpp | /* Problem Description
* Given a binary tree, flatten it to a linked list in-place.
For example,
Given
1
/ \
2 5
/ \ \
3 4 6
The flattened tree should look like:
1
\
2
\
3
\
4
\
5
\
6
... | [
"sdasgup3@illinois.edu"
] | sdasgup3@illinois.edu |
6527c08fd29c02dd1ddeb9d0b27dbb51bbb02608 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/workshop13/workshop2013-data-20130926/trunk/.svn/pristine/65/6527c08fd29c02dd1ddeb9d0b27dbb51bbb02608.svn-base | 1043caaad5d6a7e03475d2e7e8ff8de52c9fbb1c | [
"BSD-3-Clause",
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,563 | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2013, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | [
"mail@bkahlert.com"
] | mail@bkahlert.com | |
677649559174335fa1cc9fe2cddd6e69cb1841aa | 0674e81a160161996251fb4b063c801330ccd1e2 | /_templates/rapi/Strings/suffix_tree.cpp | 0abac20299755fce265196f7116ebd629cb1348e | [] | no_license | joshuabezaleel/cp | 8a2c9b44605810da4367efeb981f822ae5e1e9a2 | 57f365458cca38c3c0fb1f5af1c6b44b74f3b53e | refs/heads/master | 2022-07-19T00:39:34.395495 | 2020-05-23T20:37:20 | 2020-05-23T20:37:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,236 | cpp | #include <bits/stdc++.h>
using namespace std;
/** Suffix Tree Ukkonen's algorithm **/
/* Complexity: O(N) (Warning: large multiplier) */
const string ALPHABET = "abcdefghijklmnopqrstuvwxyz0123456789\1\2";
const int NALPHABET = 38;
struct Node {
int begin, end, depth;
Node* parent;
Node** children;
... | [
"ahmadzaky003@gmail.com"
] | ahmadzaky003@gmail.com |
6d051f3c707ec60b00ef96385bed54d5b48eebcb | 1d21b7bc9205c9c2acd8b8fd8ee75dec93e974d4 | /src/test/script_P2SH_tests.cpp | b900647a30462c8bfcfa8a9c608350f470552d82 | [
"MIT"
] | permissive | ZioFabry/LINC2 | 494d12be6034b7f5999960e3f3ed62f154be7ab8 | a2e0e06cf68771a82bb1d4da30e0c914c8589bbe | refs/heads/master | 2020-05-22T18:28:27.590171 | 2019-05-13T19:51:49 | 2019-05-13T19:51:49 | 186,471,965 | 0 | 0 | MIT | 2019-05-13T18:10:28 | 2019-05-13T18:10:27 | null | UTF-8 | C++ | false | false | 14,104 | cpp | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "policy/policy.h"
#include "script/script.h"
#include "scri... | [
"root@vultr.guest"
] | root@vultr.guest |
2ec3e8c01906233bd26cd1c60482fc88777e13ab | 6ab359010a18418e216d3a6e247ed0b0cc466b82 | /src/ads/output/grid.hpp | 52af76f6e2d6ecb76b5f55f3eeca9bf7a94742f4 | [] | no_license | marcinlos/ads-multistep | f68c1ec763b196089ad0cfce8c4c537bed64320c | 920b9549f33eb09e271fdb67fefca3dee40412ae | refs/heads/master | 2023-02-22T02:56:01.686740 | 2021-01-26T13:25:55 | 2021-01-26T13:25:55 | 333,089,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,568 | hpp | #ifndef ADS_OUTPUT_GRID_HPP_
#define ADS_OUTPUT_GRID_HPP_
#include <tuple>
#include "ads/output/range.hpp"
namespace ads {
namespace output {
template <typename... RangeIters>
struct grid {
static constexpr std::size_t dim = sizeof...(RangeIters);
std::tuple<range<RangeIters>...> ranges;
grid(range<R... | [
"marcin.los.91@gmail.com"
] | marcin.los.91@gmail.com |
7bef5f9489628c2c4d204f92a29695331a25df61 | f2198ea97aa1eb6a7bf7613ed9b9a222f4a51e68 | /source/InitializeRequest.cxx | e89672867cfbaede6fe488533f7987180b794d29 | [] | no_license | dstolbert/scrabble-bot | ffde7273b347f5c4170a16653138ac4cd4d20845 | e092b836b82e8db2b848fb1c0198f3076b930ce0 | refs/heads/master | 2023-04-10T02:23:15.612139 | 2021-04-23T23:49:51 | 2021-04-23T23:49:51 | 358,719,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | cxx |
#include "utils.hxx"
#include "InitializeRequest.hxx"
#include <iostream>
#include <string>
map<string, int> parseLetters(string json) {
map<string, int> letters;
// Parse letter scores
vector<char> terminators = {']'};
int startOfLetters = findIndexAtEndOfSubString("\"letters\":", json);
... | [
"derek.t@aptusai.com"
] | derek.t@aptusai.com |
7541fdce81bee18a2d8c06850d07cf0bc923cc1e | f839c15910aa083a1565076055d3851b8387c1cd | /matrix/homeserver_bootstrap.cc | d269f08988b4c8da84d4e4308b311ab8a616843c | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | PhyllisAhrens/construct | e8e461abd600fd5646688692496eaa65fb918038 | daee7001fba34961a8e24579b1e12068435482cc | refs/heads/master | 2023-04-09T15:48:45.923937 | 2021-02-11T19:29:58 | 2021-02-11T19:31:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,345 | cc | // The Construct
//
// Copyright (C) The Construct Developers, Authors & Contributors
// Copyright (C) 2016-2020 Jason Volk <jason@zemos.net>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and t... | [
"jason@zemos.net"
] | jason@zemos.net |
7574692f830ac91c5f2c6d04058d0a92a754cdbd | f49ec3739bf5a0a772af45f2b5dd7ec33fa34454 | /Apps/Qt_videoproc/qdisplaywidget.h | 2dcc01901d415d522e29e415144f860dd97d78ba | [] | no_license | ComputerVisionWorks/QVideoproc | 727f9d615ecb52d2bf56e8c2c567ad3049b59aa0 | 0a3c0534542224a7bcd4d0dfe838090b55c62d2e | refs/heads/master | 2020-09-12T03:57:23.286132 | 2019-09-27T07:08:42 | 2019-09-27T07:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | h | #ifndef QDISPLAYWIDGET_H
#define QDISPLAYWIDGET_H
#include <QWidget>
#include <QPainter>
#include <opencv2/core.hpp>
class QDisplayWidget : public QWidget
{
Q_OBJECT
public:
explicit QDisplayWidget(QWidget *parent = 0);
signals:
public slots:
void updateImage(const QImage &_qimg);
void updateImage(... | [
"pi-null-mezon@yandex.ru"
] | pi-null-mezon@yandex.ru |
d1d342aa5767d426c30c657694eaaf4e3695ac4c | 8e81ebebeb7e36e227babd544240a7be186f7388 | /DarioMerino_s4_cedv2016/include/ExampleFrameListener.h | 072849974733ef6c3f745e42f53c4ac1f7a1905a | [] | no_license | dario0109/Cedv | 4f9cf7234b9defc7c286d6f9c1cfd9e8b306ee32 | 36fe30f878cd51cdd22302517e0c396efffa0736 | refs/heads/master | 2016-08-11T13:23:34.237453 | 2015-10-29T22:54:21 | 2015-10-29T22:54:21 | 44,055,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,964 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2013 Torus Knot Software Ltd
Also see acknowledgements in Readme.html
You may use this sa... | [
"dario.merino@acumbamail.com"
] | dario.merino@acumbamail.com |
35645aa81d0309663a869d133a1e2130835bedcb | abe0711239a9ec3b59792d49b559a8622799bbdc | /Wipro/max_product_number_addition.cpp | 2f1c10bc9557b8d3a968382c180908a10aeb3769 | [] | no_license | UddeshSonawane/Interview-questions- | 6b5ebc9873be1cd48f70c8fe8538930cf2a7cbf7 | 240bc1141fe67fc1f3e8abc3b43d3e6625b698e1 | refs/heads/master | 2021-06-15T16:13:14.132230 | 2021-05-22T06:33:12 | 2021-05-22T06:33:12 | 198,977,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | /*
Wipro recruitment test
Problem Statement: To print addition of two numbers in array whose product is maximum.
Input : 6 ->size of array
5 6 2 4 3 1 ->elements in array
Output : 11 ->addition 5+6
by Uddesh
*/
#include<iostream>
using namespace std;
i... | [
"noreply@github.com"
] | noreply@github.com |
5fa98730853e1e08cf0873ccf05bf043d98f52e9 | 0b170686deaaf0c106663c233c47c48cf8ba7ca4 | /SCRIPTS/Temperature Sensors/Temperature_Sensors/Temp_w_RTC/Temp_w_RTC.ino | b97ea51eef76dc12fbdf5a2424e2a571a6f21732 | [] | no_license | bm1810/DataLogger | 32aed80fcbb9a51540dbad09f4d3324cbd3452f0 | 2281f577f04a2d31d577ebc84f589569a3f73e36 | refs/heads/master | 2021-01-23T18:12:07.608149 | 2015-06-28T20:40:52 | 2015-06-28T20:40:52 | 32,463,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,079 | ino | /*
Temperature Sensors
This code will read the temperature from a Dallas 18820 temperature sensor and
record the value with a real time.
*/
// Temperature sensor libraries
#include <OneWire.h>
#include <DallasTemperature.h>
// Timer libraries
#include <Wire.h>
#include <DS3231.h>
//Bring the in the real tim... | [
"ben@dyn1235-46.wlan.ic.ac.uk"
] | ben@dyn1235-46.wlan.ic.ac.uk |
ab656306594218770a612ef00b10f9168726581e | 145d9fda6b75dacb74004f68bdde44744e998fe4 | /MapAVL.h | 69dc8e968619d0c61bb0775b312afdc242027718 | [] | no_license | ldaravena/Proyecto-Map | e81571cfd87086c2ded30f06a08b768ad7f5e2ec | 09107a5064ec1c36f2db05733fc2d8a6973eb0bf | refs/heads/master | 2022-01-10T20:52:14.209434 | 2019-06-21T00:24:43 | 2019-06-21T00:24:43 | 191,838,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | #include "Map.h"
struct Nodo{
//Clave del elemento
std::string key;
//Valor del elemento
int data;
int depth;
int balanceFactor;
//Puntero al padre y a los hijos
Nodo *father;
Nodo *left;
Nodo *right;
//Constructor del nodo
Nodo(){
father = NULL;
left = NULL;
right = NULL;
}
};
class ... | [
"noreply@github.com"
] | noreply@github.com |
2f4d241a7cc42ba081c363a088cb07d547b7a893 | 7a55ae30d976255a7787ddd90b00af1fc3318706 | /Samples/AppServices/cpp/AppServicesProvider/ShowPackageFamilyName.xaml.h | 32c229f978128c1830d8412bca7c385a4451d0f8 | [
"MIT"
] | permissive | llly/Windows-universal-samples | 31acee5bae10ffa9f0967b73e862d7586f4d9f7e | 42b6c79a94c7fdab02ffac032eae8d7a3921ff92 | refs/heads/master | 2021-01-23T06:54:44.959762 | 2017-03-28T07:23:38 | 2017-03-28T07:23:38 | 86,408,985 | 1 | 0 | null | 2017-03-28T03:06:47 | 2017-03-28T03:06:47 | null | UTF-8 | C++ | false | false | 495 | h | // Copyright (c) Microsoft. All rights reserved.
#pragma once
#include "ShowPackageFamilyName.g.h"
#include "MainPage.xaml.h"
namespace SDKTemplate
{
/// <summary>
/// Display animation .
/// </summary>
[Windows::Foundation::Metadata::WebHostHidden]
public ref class ShowPackageFamilyName sealed
... | [
"xun.li@intel.com"
] | xun.li@intel.com |
adf6afaa1d2616c2e439d0a49124830a59198bf9 | 384a1ff7d53a4e1c173234da29dc06cba369e937 | /snippets/transitive_closure.cpp | 9076187051fc91ce44fc5133e131ca2b19834052 | [] | no_license | rrmarichal/contests | 4369b049e4a99b5e2838e3edcb9facdd947754c8 | 3b2f520c2cdc46b0f830829ef4cbcee3109d2733 | refs/heads/master | 2022-12-10T06:46:41.836619 | 2022-12-01T02:07:17 | 2022-12-01T02:07:17 | 172,283,451 | 0 | 0 | null | 2022-10-27T21:02:47 | 2019-02-24T01:31:47 | Java | UTF-8 | C++ | false | false | 652 | cpp | #include <fstream>
using namespace std;
int V, E;
char G[100][100] = {0};
FILE *fin, *fout;
int main()
{
int i, j, k;
ifstream fin( "warshall.in" );
ofstream fout( "warshall.out" );
fin >> V >> E;
for ( i = 0; i < E; i++ ) {
fin >> j >> k;
G[j][k] = 1;
}
... | [
"rrmarichal@gmail.com"
] | rrmarichal@gmail.com |
6d8708490c2779ca414b6280b8442afce50a11ee | 1f7974bf7bd5b5c91998e2022828f3a277ff7556 | /洛谷/提高-/CF910C-tle.cc | 5dac9ae513e178798aa79ffbb79dec9c0429e0e6 | [
"MIT"
] | permissive | gkishard-workingboy/Algorithm-challenger | 1eda8a5d2ab567a1494a21c90ac750e1f559eae4 | 43336871a5e48f8804d6e737c813d9d4c0dc2731 | refs/heads/master | 2022-11-18T05:14:24.904034 | 2020-07-14T13:42:43 | 2020-07-14T13:42:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | cc | /*
* Author : OFShare
* E-mail : OFShare@outlook.com
* Created Time : 2020-06-10 22:31:59 PM
* File Name : CF910C.cc
*/
#include <bits/stdc++.h>
#define ll long long
void debug() {
#ifdef Acui
freopen("data.in", "r", stdin);
freopen("data.out", "w", stdout);
#endif
}
const int N =... | [
"OFShare@outlook.com"
] | OFShare@outlook.com |
83eed51c52466e5e7f745275c048ac7b9cd4a185 | 304dcc859ff1bad63ae881a096e687f7dc3de04b | /Test_PC_Poker/framework_externals/NMFrame/FrameLib/NMLobbyView.cpp | 48329c810614ee9a10827f8b519b36f2a6b92e1b | [] | no_license | idh37/testrepo | 03e416b115563cf62a4436f7a278eda2cd05d115 | b07cdd22bd42356522a599963f031a6294e14065 | refs/heads/master | 2020-07-11T00:57:34.526556 | 2019-09-10T07:22:35 | 2019-09-10T07:22:35 | 204,413,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | cpp | #include "StdAfx.h"
#include "NMLobbyView.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
namespace NMBASE
{
namespace FRAME
{
CNMLobbyView::CNMLobbyView(void)
{
m_strViewName = "lobby";
m_eViewType = EVIEW_NOMAL;
}
CNMLobbyView::~CNMLobbyView(voi... | [
"idh37@nm-4ones.com"
] | idh37@nm-4ones.com |
379512d25394fa3f4904d644a21ce1e0d6ea9171 | 48341608d6141a16f636b248496f9faf33c50a7e | /Academic/C/Aps/strings/EX2.cpp | c38daf93abe9b79cc78e7c7f827cfe7e863ed609 | [] | no_license | joaogqueiroz/Projetos_C | 0b036974f64fb654b454c3281ac4a404d222efed | 95e66540f78bac74a5d481c33ba39d123e5178e4 | refs/heads/master | 2020-04-08T21:31:30.879603 | 2019-11-20T14:01:32 | 2019-11-20T14:01:32 | 159,747,566 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cpp | #include<stdio.h>
#include<string.h>
main(){
char nome[100];
int i;
printf("digite um nome:");
scanf("%s", &nome);
for (i = 0; i < 4; i++) {
printf("Letra %d: \%c\n", i+1, nome[i]);
}
}
| [
"joaogilberto350@hotmail.com"
] | joaogilberto350@hotmail.com |
c1ba18ff85775d58a635b218997f63bce992ee75 | 39fe085377f3c7327e82d92dcb38083d039d8447 | /core/sql/parser/ElemDDLFileAttrBlockSize.h | f3e759f4dd6133ef1d9a1e3924a8755e5a0ce1c1 | [
"Apache-2.0"
] | permissive | naveenmahadevuni/incubator-trafodion | 0da8d4c7d13a47d3247f260b4e67618c0fae1539 | ed24b19436530b2c214e4bf73280bc8e3f419669 | refs/heads/master | 2021-01-22T04:40:52.402291 | 2015-07-16T00:02:50 | 2015-07-16T00:02:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,106 | h | /**********************************************************************
// @@@ START COPYRIGHT @@@
//
// (C) Copyright 1995-2014 Hewlett-Packard Development Company, L.P.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You m... | [
"steve.varnau@hp.com"
] | steve.varnau@hp.com |
a8f1136213898ded98e06aff4348af5af04a89fe | fb9fdc3cd90c7f659f46a2a66515122359ea020b | /nachos-3.4/code/threads/threadtest.cc | d429ab70e12135a08c222c9a60e89f5cee766f77 | [
"MIT-Modern-Variant"
] | permissive | easton-chen/lab_nachos | 8186091c83ae04ad403dc64091221437a13add5d | 5316e3f704e02c0996dba604dad6d644d0fc2a22 | refs/heads/master | 2020-03-31T05:00:05.570664 | 2018-12-12T05:20:58 | 2018-12-12T05:20:58 | 151,928,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,417 | cc | // threadtest.cc
// Simple test case for the threads assignment.
//
// Create two threads, and have them context switch
// back and forth between themselves by calling Thread::Yield,
// to illustratethe inner workings of the thread system.
//
// Copyright (c) 1992-1993 The Regents of the University of California.
// ... | [
"eastonchen8@gmail.com"
] | eastonchen8@gmail.com |
d14f9274f9a30942db2808586dd6ebc3d429b1dc | 181c9fb65ed80316ab457003cdeeb295e5e1881e | /src/zoo_control.cpp | 2c132385ad2009229b8ccd06f944ecbba3b9a070 | [] | no_license | windiboy/arm_se | 48f4f7b7de231ff2d9f3d3824f744007e4e7d232 | 34873b0494d67b290f1fe09578e369ab48b137da | refs/heads/master | 2023-01-13T20:59:02.170581 | 2020-11-10T03:42:29 | 2020-11-10T03:42:29 | 271,962,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,312 | cpp | #include <string>
#include <iostream>
#include "../include/WzSerialPort.h"
using namespace std;
WzSerialPort w;
char check(unsigned char *data, int len) {
uchar result = 0x00;
for(int i = 0; i < len - 1; i++){
result += data[i];
}
cout << hex << int(result) << endl;
return result;
}
int zo... | [
"903435532@qq.com"
] | 903435532@qq.com |
d79655c1016e468ec7db93fc12b5b9ecf0cd0727 | c5fb286e9adb0132f87ffecd0091f71a9907c197 | /src/InfEngine2/InfEngine/InfFunctions/AliasParser.cpp | 924cb73c9725ee412516c8faf13f9ca8055ac482 | [
"Apache-2.0"
] | permissive | sovaai/sova-engine | 2dc00ca554fd464cc2fd693c02c8de4acb4dcc5c | 783b04072bb243891bc332fcb0f61e938e456f4f | refs/heads/master | 2022-12-31T20:32:14.158432 | 2020-10-28T19:07:39 | 2020-10-28T19:07:39 | 289,885,115 | 50 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,487 | cpp | #include "AliasParser.hpp"
#include <cerrno>
#include <NanoLib/TextFuncs.hpp>
#include "Alias.hpp"
#define ReturnWithParsingError( aErrorDescription, aPos, aAliasName, aAliasNameLength ) \
do { \
InfEngineErrors iee = AddParsingError( aErrors, aErrorDescription, aPos, aAlias, aAliasLength, aAliasName, aAliasName... | [
"fedor.zorky@gmail.com"
] | fedor.zorky@gmail.com |
6f754d985290a9e3831cb6b43f02d1b24cb2b616 | 820554c77b70088b25724824170478b4c60f33b3 | /Client/Render/VBO.cpp | e1c8d9da04c789489c1379e39ddbe0a5b2d88524 | [
"MIT"
] | permissive | pajon/build-age | ff169e0d3081d0a8c53509296c5d62c523d05f9c | 334ab7dfd19efea1b5f83eaaa5c60473307dba43 | refs/heads/master | 2020-05-17T12:03:55.396033 | 2014-10-31T14:53:03 | 2014-10-31T14:53:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,636 | cpp | //
// VBO.cpp
// Craft-Age
//
// Created by Patrik Štrba on 20.2.2013.
// Copyright (c) 2013 Patrik Štrba. All rights reserved.
//
#include "VBO.h"
void VBO::create() {
if(status != INIT)
return perror("try to create VBO without INIT status");
glGenBuffers(2, vbo);
glBindBuffer(GL_ARRAY_... | [
"patrik.strba@gmail.com"
] | patrik.strba@gmail.com |
008027b0fe931ac728cd1a87f1bc708766179c82 | 0494c9caa519b27f3ed6390046fde03a313d2868 | /src/chrome/browser/chromeos/settings/device_settings_test_helper.cc | f03ebf3ab9669faeccf3b297736973de05aa2bce | [
"BSD-3-Clause"
] | permissive | mhcchang/chromium30 | 9e9649bec6fb19fe0dc2c8b94c27c9d1fa69da2c | 516718f9b7b95c4280257b2d319638d4728a90e1 | refs/heads/master | 2023-03-17T00:33:40.437560 | 2017-08-01T01:13:12 | 2017-08-01T01:13:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,183 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/settings/device_settings_test_helper.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#inc... | [
"1990zhaoshuang@163.com"
] | 1990zhaoshuang@163.com |
d41890532ada6b459c6e30942613ece03f05c23d | 09a4962b93c196f2f8a70c2384757142793612fd | /company/build/iOS/Preview1/include/Fuse.Layouts.StackLayout.h | 855372e7036515495650ee012a18f05ca953b4e8 | [] | no_license | JimmyRodriguez/apps-fuse | 169779ff2827a6e35be91d9ff17e0c444ba7f8cd | 14114328c3cea08c1fd766bf085bbf5a67f698ae | refs/heads/master | 2020-12-03T09:25:26.566750 | 2016-09-24T14:24:49 | 2016-09-24T14:24:49 | 65,154,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,575 | h | // This file was generated based on '/usr/local/share/uno/Packages/Fuse.Controls.Panels/0.35.8/Layouts/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Layouts.Layout.h>
namespace g{namespace Fuse{namespace Layouts{struct StackLayout;}}}
namespace g{namespace Fuse{s... | [
"jimmysidney@jimmysidney.local"
] | jimmysidney@jimmysidney.local |
4fd2bafa4c4d608e4b6727d0f9a068bb61d1210d | c5c8f1063215fc594bc7c7eabeb90e4d5f325a0a | /include/entity/enemy/Enemy.h | 3c3afc0e05ec535afcc78b57fde825207213e8a4 | [] | no_license | dujodujo/ape | 00854fbe96e91b2810a155127aeba1b5bcd44262 | fce22f9d874519aa105c04e443a0fe352e6655ce | refs/heads/master | 2016-09-05T10:41:51.450350 | 2013-11-04T06:06:05 | 2013-11-04T06:06:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | h | #ifndef ENEMY_H
#define ENEMY_H
#include "Detector.h"
#include "Type.h"
class Enemy : public Detector {
public:
enum EnemyType {
BUBBLE,
FIRE,
RED_KNIGHT_SOLDIER
};
protected:
int life;
bool damage_taken;
public:
Enemy(const std::string& name, int x, int y);
~Enemy();
static MapEntity* parse(Game& ga... | [
"avsic.ziga@gmail.com"
] | avsic.ziga@gmail.com |
10ba0062d05e5fe7c7fbe0228dd3638ba6c9782d | 3438e8c139a5833836a91140af412311aebf9e86 | /components/autofill/core/browser/webdata/autofill_profile_syncable_service.h | 21cc308a1e88353abfbf54efd78aa64fee4cbe01 | [
"BSD-3-Clause"
] | permissive | Exstream-OpenSource/Chromium | 345b4336b2fbc1d5609ac5a67dbf361812b84f54 | 718ca933938a85c6d5548c5fad97ea7ca1128751 | refs/heads/master | 2022-12-21T20:07:40.786370 | 2016-10-18T04:53:43 | 2016-10-18T04:53:43 | 71,210,435 | 0 | 2 | BSD-3-Clause | 2022-12-18T12:14:22 | 2016-10-18T04:58:13 | null | UTF-8 | C++ | false | false | 9,363 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYNCABLE_SERVICE_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_PROFILE_SYN... | [
"support@opentext.com"
] | support@opentext.com |
596470a59a5136b26448257e8e80552422a564c4 | 367ae0f777042c1c4760aa15279ef5f53bff3e23 | /pmlc/dialect/tile/transforms/passes.h | 11be29dcbf9ed33e9340a10f6c69269709ea6ba2 | [
"Apache-2.0"
] | permissive | Flex-plaidml-team/plaidml | e47535bda63b82bfc936296c2c3eaae9481e0ce9 | 1070411a87b3eb3d94674d4d041ed904be3e7d87 | refs/heads/plaidml-v1 | 2023-06-26T21:24:38.800462 | 2021-07-19T04:29:24 | 2021-07-19T04:29:24 | 287,434,263 | 0 | 0 | Apache-2.0 | 2020-08-14T03:28:50 | 2020-08-14T03:26:35 | C++ | UTF-8 | C++ | false | false | 700 | h | // Copyright 2020 Intel Corporation
#pragma once
#include <memory>
namespace mlir {
class Pass;
} // namespace mlir
namespace pmlc::dialect::tile {
std::unique_ptr<mlir::Pass> createAlgebraicOptPass();
std::unique_ptr<mlir::Pass> createComputeBoundsPass();
std::unique_ptr<mlir::Pass> createExpandReshapePass();
... | [
"noreply@github.com"
] | noreply@github.com |
6124fc1e18cb53a0eb84a57d853c725131a8719b | 7d8c41066ff5804929f2c3c13d7c4d46db51326d | /private/gcpool.cxx | 74261b0791443657713ca915b2d8fa7307e4c2af | [] | no_license | alfsalte/gc | 8f5978ff64e1984e9d7bf9ce252cad316467471c | 84e99c6643501577c9d63fc5008e1b5a6fb07ae0 | refs/heads/master | 2021-04-25T05:04:21.115780 | 2017-12-11T08:44:56 | 2017-12-11T08:44:56 | 113,967,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,797 | cxx |
#include <cstdlib>
#include <new>
#include <string>
#include <stdexcept>
#include "gcpool.hxx"
#include "fpool.hxx"
#include "lpool.hxx"
#include "ptrpool.hxx"
#include "gcstat.hxx"
#include "gcstat.hxx"
#include "../../format/format.hxx"
alf::gc::GCpool::GCpool(statistics & S, std::size_t sz)
: pool(sz), S_(S), ... | [
"alfsalte@yahoo.no"
] | alfsalte@yahoo.no |
32420c0f28e55d2513eea4bf0899fc4bc45fa49c | c85d3bf1217f1ac79b25c0505a8cc80ba5ccc01b | /qapp/qapp/cxobjectinit.cpp | 1f4852ae153d894b83c72e1eec8a3ff6996b4060 | [] | no_license | cxwangwc/Rule | 1142a6a0f70ff8a38e9af4e71be7585754e8ad5d | b24db8ea226cc2f0fc22b6ebdfc7fee0233783d8 | refs/heads/master | 2016-09-06T17:15:33.205531 | 2015-06-19T06:55:18 | 2015-06-19T06:55:18 | 37,706,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,828 | cpp | #include "cxobjectinit.h"
#include "cxexternalobject.h"
QMap<QString, QMap<QString, QString> > CxObjectInitProperty::s_mapObjectProperty = QMap<QString, QMap<QString, QString> >();
QString CxObjectInitProperty::CappPath = "";
QString CxObjectInitProperty::TemplatePath = "";
QString CxObjectInitProperty::CxpSavePath =... | [
"wwc@caxa.com"
] | wwc@caxa.com |
4aa0223ad9133e6359e9c8f548a76b1c8a1d4f90 | a9a7746ceb445fe1e27fcfea937409df8f586e02 | /util/ArgumentParser/ArgumentParser.cpp | 219bb9c61253086670525b5b6a10da96117eada4 | [] | no_license | Juhyun-Kim-Memphis/codelet | 63592617440d4a8f62d16957a862371d80557192 | 594f083b72e0f4e42afa48c23a6029fc8eb3637e | refs/heads/master | 2022-04-08T05:38:31.537518 | 2020-01-06T01:30:39 | 2020-01-06T01:30:39 | 104,212,565 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,759 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: ArgumentParser.cpp
* Author: hspark
*
* Created on 2017년 10월 17일 (화), 오전 8:52
*/
#include "ArgumentParser.h"
/**... | [
"hyunsoo_park2@tmax.co.kr"
] | hyunsoo_park2@tmax.co.kr |
934e455ee12a41cf217d0f10b2496d0288e20501 | 90d39aa2f36783b89a17e0687980b1139b6c71ce | /Codechef/july13long/SEASOR.cpp | a7d0653e12a31f17204cee3d631f5851c453970a | [] | no_license | nims11/coding | 634983b21ad98694ef9badf56ec8dfc950f33539 | 390d64aff1f0149e740629c64e1d00cd5fb59042 | refs/heads/master | 2021-03-22T08:15:29.770903 | 2018-05-28T23:27:37 | 2018-05-28T23:27:37 | 247,346,971 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,298 | cpp | /*
Nimesh Ghelani (nims11)
*/
#include<iostream>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<map>
#include<string>
#include<vector>
#include<queue>
#include<cstring>
#include<cstdlib>
#include<cassert>
#include<cmath>
#include<stack>
#include<set>
#include<utility>
#define in_T int t;for(scanf... | [
"nimeshghelani@gmail.com"
] | nimeshghelani@gmail.com |
97be57f1a1d25b97c01fcafe4b56fdfa882b6527 | 3fc8bf21a7f3c661d96b9804a7cf58472d685ccd | /Final Project/ClubWarrior.cpp | cbab0059df411e96dd3fdb1aa6a784bae9010b7f | [] | no_license | Beto-VG/Ventura_Roberto_CSC17A_Spring2019 | 5eeaf99426ec91fcb1e43aa08bf2d37a23a864bb | 962f42e21dac2f540a4aea2495779d712f573171 | refs/heads/master | 2020-05-15T01:08:06.696114 | 2019-05-22T03:13:41 | 2019-05-22T03:13:41 | 182,022,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61 | cpp | #include "ClubWarrior.h"
ClubWarrior::ClubWarrior()
{
} | [
"robertoventura099@gmail.com"
] | robertoventura099@gmail.com |
e38ff7bb1196e25c85b0e9d0ba741a7de485e9d3 | 3663aeaabf3306793438a964c339498f03805ef9 | /CodeChef/practise/Easy-math.cpp | cb29c9e499cfd12cc91c59ae8b133bae2dc212e1 | [] | no_license | saiabhi2000/Cpp-Practice | 366b91b55705283de698e4ba1fd9160327ef4e3b | 7345d80d808925be909ebb69fd09bc8f26b312a9 | refs/heads/master | 2023-04-19T05:17:37.145061 | 2021-02-09T02:20:07 | 2021-02-09T02:20:07 | 323,263,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define fl(i, a, b) for (int i=a; i<=b; i++)
#define vect1d(v,T,n,init) vector<T> v(n,init)
#define vect2d(v,T,n,m,init) vector<vector<T>> v(n, vector<T>(m,init))
int main(){
int t;
cin >> t;
while(t--){
int n,sum1,c,d=0;
... | [
"saiabishikth@gmail.com"
] | saiabishikth@gmail.com |
0f6c80366351afb71d575e983b8f3eae20839e21 | edb4f249883679792e689eea9fcf969f331c28ba | /uva/12405_Scarecrow/P12405_2.cpp | 8f814110cfb51043376454e519ab75fdedfa5cc8 | [] | no_license | pavelsimo/ProgrammingContest | 2845bddc2a61444bf2c667aa5f77e34f7a324ebc | a2c52be868bcd480a682b872fed85b344731497b | refs/heads/master | 2021-01-25T03:48:05.415007 | 2017-11-11T14:39:51 | 2017-11-11T14:39:51 | 25,308,102 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | cpp | /* @BEGIN_OF_SOURCE_CODE */
/* @JUDGE_ID: 12405 C++ "Greedy" */
#include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <list>
#include <bitset>
#include <deque>
#include <numeric>
#include <iterator>
#in... | [
"pavelsimo@navinfo.com"
] | pavelsimo@navinfo.com |
b75e68d4ac1cca875eb37065184b35a1cc41a75e | eaaf681680e36b249fc898aef5debba4ca5ec442 | /codeforces/339/A.cpp | bd56c32af07423fbf511529e38cd1cf7d4909753 | [] | no_license | anshbargoti/ProblemSolving | a832cfc28820bd7dd76899d3d6859bae4f3e995e | 28da9995dc8ebba1db560d598b2422bd9873671f | refs/heads/master | 2023-05-06T12:19:42.448925 | 2021-05-16T08:10:00 | 2021-05-25T01:46:01 | 323,315,306 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | #include<bits/stdc++.h>
using namespace std;
#define endl '\n'
#define int long long
void striker(string s)
{
string str="";
std::map<char, int> mp;
for(int i=0;i<s.size();i++)
{
if(s[i]!='+')
mp[s[i]]++;
}
for(auto ch:mp)
{
int k=ch.second;
while(k--)
... | [
"anshbargoti@gmail.com"
] | anshbargoti@gmail.com |
8e4a81a1efbf00e69899ce2576c6ae1c554c54ab | b56518bf4d9cfa1b905e135a040e7c173c759f40 | /Dialog/DialogDlg.cpp | 64fe94c7bb9f00ed16ee390e95b76b5ba5b5e7f4 | [] | no_license | sexuwei/integration | 17ec960c3c96d8c74004d67838b9d1ad71cccc94 | 93b4cf9f11e521051d62ed9f533a0316468a14bf | refs/heads/master | 2020-12-24T07:04:53.850275 | 2016-11-10T12:47:25 | 2016-11-10T12:47:25 | 73,381,041 | 2 | 0 | null | 2016-11-10T12:44:56 | 2016-11-10T12:44:56 | null | GB18030 | C++ | false | false | 18,637 | cpp |
// DialogDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "afxmt.h"
#include <stdlib.h>
#include <queue>
#include <fstream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "Dialog.h"
#include "afxdialogex.h"
#include "DialogDlg.h"
#include "GetImageThread.h"
#include "GetVoxelThread.h"
... | [
"stu_songjinbo@126.com"
] | stu_songjinbo@126.com |
68d8c53563184678a3e28ccc8ecd8b94bfc59fc5 | c67cbd22f9bc3c465fd763fdf87172f2c8ec77d4 | /Desktop/Please Work/build/Android/Preview/app/src/main/include/Fuse.Controls.Button.Template.h | 1811887d76897506c17dc5af972656a5ec23146c | [] | no_license | AzazelMoreno/Soteria-project | 7c58896d6bf5a9ad919bde6ddc2a30f4a07fa0d4 | 04fdb71065941176867fb9007ecf38bbf851ad47 | refs/heads/master | 2020-03-11T16:33:22.153713 | 2018-04-19T19:47:55 | 2018-04-19T19:47:55 | 130,120,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,581 | h | // This file was generated based on C:/Users/rudy0/AppData/Local/Fusetools/Packages/Fuse.Controls.Primitives/1.8.1/.uno/ux14/Fuse.Controls.Button.g.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Float4.h>
#include <Uno.UX.Template.h>
namespace g{namespace Fuse{namespa... | [
"rudy0604594@gmail.com"
] | rudy0604594@gmail.com |
d1b9d8891828162996da616acecd8a99280d4bb2 | b3bfdc508a85d40793bb0c279a02b336fc3fe80e | /Mary/Speed.ixx | 2cfd246ab53abcd15ed5d11c7904a69b1453ec70 | [
"Zlib"
] | permissive | A-Productions/ddmk | 40df3139a3939cb598654704882048b9caba4f12 | f7e1fd1a7b6b9c1224ef079428ed7fe2f1996757 | refs/heads/master | 2023-01-03T20:52:15.400656 | 2020-11-03T21:33:49 | 2020-11-03T21:33:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | ixx | module;
#include "../Core/Core.h"
#include "Vars.h"
export module Speed;
import Config;
import State;
float * turboAddr = 0;
float * quicksilverActorAddr = 0;
float * quicksilverEnemyAddr = 0;
export void UpdateSpeedValues()
{
LogFunction();
Write<float>((appBaseAddr + 0x32694E + 2), activeConfig.Spee... | [
""
] | |
bd4c87049ca2d429c79aa88dc2c320e56425f409 | b2ac587d8b14052fe930e122433bc73a853e7e34 | /cpp_revision/advance C++/C++ in C/MyClass.h | 1a376e213d2b250afffe4a551f4f98c616b9a059 | [] | no_license | Deepanshu2017/boost.python_practise | 5f8a36b8c7b5c8ae4d8b163bc5bdf10b3e0f4185 | ba13b3ede977e02557d5e2b7a5fb2a76bd4778be | refs/heads/master | 2021-01-23T01:17:55.179197 | 2020-06-11T13:46:49 | 2020-06-11T13:46:49 | 92,865,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | h | #ifndef __MYCLASS_H
#define __MYCLASS_H
class MyClass {
private:
int m_i;
public:
void int_set(int i);
int int_get();
};
#endif
| [
"deepanshu2017@gmail.com"
] | deepanshu2017@gmail.com |
ae0ea735c07f081b8b2f98a74dae52b8c1a73aad | b00c54389a95d81a22e361fa9f8bdf5a2edc93e3 | /vendor/intel/hardware/camera3hal/jpeg/JpegHwEncoder.h | b64ab37f7575d614999382e3cf448ee7cfda62cd | [] | no_license | mirek190/x86-android-5.0 | 9d1756fa7ff2f423887aa22694bd737eb634ef23 | eb1029956682072bb7404192a80214189f0dc73b | refs/heads/master | 2020-05-27T01:09:51.830208 | 2015-10-07T22:47:36 | 2015-10-07T22:47:36 | 41,942,802 | 15 | 20 | null | 2020-03-09T00:21:03 | 2015-09-05T00:11:19 | null | UTF-8 | C++ | false | false | 5,685 | h | /*
* Copyright (C) 2012,2013,2014 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | [
"mirek190@gmail.com"
] | mirek190@gmail.com |
4e77a2671ae30f5a1253cb4e47810482777f3573 | 24058c36698acc768042f6b4482687235d615f70 | /DSF/as5.cpp | bb5a79e33833ec667b25833a1182269e17717d4b | [] | no_license | hrishibawane/College_Stuff | f29bcdcefe149fa62728ab3c842a86dff8c568f4 | 98771dbaa7d9f5554b37b5a19322ae22c6fcbeda | refs/heads/master | 2018-12-13T17:12:42.978069 | 2018-09-13T17:32:11 | 2018-09-13T17:32:11 | 116,564,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,595 | cpp | #include <iostream>
#define MAX 50
using namespace std;
struct Node
{
int data;
Node *left, *right;
};
class BST
{
Node* root;
public:
BST() {root=NULL;}
Node* getroot() {return root;}
void create();
Node* insert(Node*, Node*);
Node* search(Node*, int);
void mirror();
void iterInorder();
void iterPreorder(... | [
"noreply@github.com"
] | noreply@github.com |
cbcce7d3feca9685566b68aadbfdd386c83ae438 | 7ad9f743f12bdf3a7c60b3aa3e32ffc2e402bdb6 | /MegaProject/Model/Tree.hpp | fbcf231e4d2c9ab735c289ae582f10ad20df2256 | [] | no_license | Tbone288/MegaProjectUpdate | 78d5352e55df85f9b5f3265e1a7d10ef826e7f68 | 8ba446f3c30c50ca2bc9af86f970edc57f6dee0d | refs/heads/master | 2021-01-19T09:21:01.735304 | 2017-05-30T18:44:31 | 2017-05-30T18:44:31 | 82,099,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | hpp | //
// Tree.hpp
// MegaProject
//
// Created by Odom, Tyler on 4/11/17.
// Copyright © 2017 Odom, Tyler. All rights reserved.
//
#ifndef Tree_h
#define Tree_h
#include <assert.h>
template <class Type>
class Tree
{
public:
//Traversals
virtual void inOrderTraversal() = 0;
virtual void postOrderTraversal... | [
"tylerodom2@gmail.com"
] | tylerodom2@gmail.com |
ad1e0f322b08d437dbdd08b98437c4efb6a88f53 | 2cbdf96e9609ef2e04fced0594fedceff00d6eb8 | /BaseProject/ChickenRace2/ChickenRace/egg.h | 6f20ce68909dce42438260c0d96fc331e0461bb6 | [] | no_license | takeuchiwataru/ArimaCorporation | 4eaa9b6899770dc4421a6b4fcf9eb37fd43276ea | aeaac1b6e365bda65d23986a55ffc54e41ab9428 | refs/heads/master | 2022-04-12T20:42:18.254528 | 2020-02-21T07:13:49 | 2020-02-21T07:13:49 | 212,750,074 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,364 | h | //=============================================================================
//
// 卵の処理 [egg.h]
// Author : 長山拓実
//
//=============================================================================
#ifndef _EGG_H_
#define _EGG_H_
#include "model3D.h"
#include "camerabace.h"
#include "shadow.h"
//********************... | [
"jb2017006@stu.yoshida-g.ac.jp"
] | jb2017006@stu.yoshida-g.ac.jp |
5d34fc1595bfab80af8fac7a9239bfa785ecccf4 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_3771_squid-3.4.14.cpp | 8ab2e07460f9bde3d494091f883d031ceae9d9fb | [] | 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 | 565 | cpp | int
Ip::Address::matchIPAddr(const Ip::Address &rhs) const
{
uint8_t *l = (uint8_t*)mSocketAddr_.sin6_addr.s6_addr;
uint8_t *r = (uint8_t*)rhs.mSocketAddr_.sin6_addr.s6_addr;
// loop a byte-wise compare
// NP: match MUST be R-to-L : L-to-R produces inconsistent gt/lt results at varying CIDR
// ... | [
"993273596@qq.com"
] | 993273596@qq.com |
508989550d9d1b605c4d04a72ca063993d17185a | 305e76eaaefa1d0e11e640d53983fa610ef078df | /cpp_sandbox/arduino_all/_151211_GyroIntro/_151211_GyroIntro.ino | 939f96997a9709d367cb70d2acc62608802bc55a | [
"MIT"
] | permissive | kjgonzalez/codefiles | ec6c16edca3d12be065659e03bd35c31b71c2d55 | 87a6ce221e7210f73b360f4e9642d7ccbdebb94b | refs/heads/master | 2023-08-26T14:35:15.820085 | 2023-08-05T08:47:47 | 2023-08-05T08:47:47 | 151,092,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,620 | ino | /* L3G4200D 3-axis gyro example code
by: Jim Lindblom
SparkFun Electronics
date: 4/18/11
license: CC-SA 3.0 - Use this code however you'd like, all we ask
for is attribution. And let us know if you've improved anything!
Circuit:
L3G4200D Breakout-------------Arduino Uno
GND---------------------------... | [
"kg-171971@hs-weingarten.de"
] | kg-171971@hs-weingarten.de |
ec8c22fce3f6077af39cf9938b375a86c973bab7 | a4b6769cf25fe8ad3c42b5e0e1c475ce9192232a | /Cpp/Word Pattern/Word Pattern/main.cpp | e95d50b1e9847fb710f280b93d7e116ff5a283f2 | [] | no_license | bobobozhou/Leetcode | 77db32351a55ce4acb5ce554ebdd5a01152ff2bd | 59d26742fbd00810ac8231a45f733abab95af368 | refs/heads/master | 2021-08-23T19:03:44.622327 | 2017-12-06T04:25:05 | 2017-12-06T04:25:05 | 101,687,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | //
// main.cpp
// Word Pattern
//
// Created by Bo Zhou on 11/5/17.
// Copyright © 2017 CMU. All rights reserved.
//
#include <iostream>
#include <sstream>
#include <string>
#include <unordered_map>
#include "Solution.hpp"
using namespace std;
int main(int argc, const char * argv[]) {
string a = "abba";
... | [
"Boris@Bos-MBP-6.wv.cc.cmu.edu"
] | Boris@Bos-MBP-6.wv.cc.cmu.edu |
d5f4dccb6ef568488f94775234a540ff56d233a0 | 887571df5df837279841b972402a5b95d80c631b | /variable.cc | 4843a16aa185b43ac55735ecf9acba8b6ae7dbb1 | [] | no_license | zhankit/Scientific-Calculator | 3d86c3c66c69777d6cd4f4f9ac87d638658830a0 | a8ce515b16ec9bd28740e9ca10e6d1f0141d7351 | refs/heads/master | 2021-01-12T03:32:25.094341 | 2017-01-06T18:32:11 | 2017-01-06T18:32:11 | 78,228,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cc | #include <iostream>
#include <string>
#include <sstream>
#include "expression.h"
#include "variable.h"
using namespace std;
// DTOR
varexpression::varexpression(string x,char status,int val) :var{ x },assigned{status},value{val}, Expression() {};
// METHOD SET
void varexpression::set(string vartobesetted,int x) {
i... | [
"noreply@github.com"
] | noreply@github.com |
c441383eaae1acd282453d13c444c3dcc00920eb | f6708de00e55eab96ddee086b5c2b517ba453567 | /CPPToNet/ICPPPrimitiveType.h | de0d28e175cbb000b85d34bd1001a17d827b9e56 | [] | no_license | galkahana/Code-Name-Falafel | 994c5989a4ffb835f86a57bc0788d144ff9ee124 | 0ffe727cd36660ca4f6e65f2ce4834d9c3e12c96 | refs/heads/master | 2022-11-09T01:12:52.590225 | 2022-10-24T11:05:33 | 2022-10-24T11:05:33 | 2,405,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,161 | h | #pragma once
#include "CPPPrimitiveValue.h"
class ICPPPrimitiveType
{
public:
// unary operators
virtual CPPPrimitiveValue OnesComplement(const CPPPrimitiveValue& inValue) = 0;
virtual CPPPrimitiveValue Not(const CPPPrimitiveValue& inValue) = 0;
virtual CPPPrimitiveValue UnaryMinus(const CPPPrimitiveV... | [
"gal.kahana@hotmail.com"
] | gal.kahana@hotmail.com |
d3a2c12698d09d7bf8abb12c9a2378ff46289ede | 4467859348ea1acc66eb702c8185ee2bc45a0c67 | /AdvanceC++/Opps1.cpp | ec0f2fab7460f14c483622e40dfff8008d88244b | [] | no_license | amity874/Cpp_DataStructure-Repo | 013684271e8217e2d4fc659ac8a6ffd4b50f2071 | 537dee6443600d961e4f3c617f0b6dd30844058e | refs/heads/main | 2023-08-12T16:57:14.217411 | 2021-09-15T12:02:52 | 2021-09-15T12:02:52 | 377,361,018 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | cpp | #include<bits/stdc++.h>
using namespace std;
void file_i_o()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
#ifndef ONLINE_JUDGE
freopen("Input.txt", "r", stdin);
freopen("Output.txt", "w", stdout);
#endif
}
class Product { // this is a blue print
string name; // data members
int c... | [
"noreply@github.com"
] | noreply@github.com |
0f8c74e4ac8b6969b5b0c3e747e4e81b8409fcb5 | 51f2a332be139f5bb7c53df1f1f97c6a3d8d4766 | /chrome/browser/net/chrome_network_delegate.cc | 82667a5f8660cf35b39c2bffd047aa9ab9fc5985 | [
"BSD-3-Clause"
] | permissive | hilalisa/browser-android-tabs | 8a4f84154648d2cf5db32faf26ba494393c49b02 | 4fadbe9caddf6f97054667c0825986cc1f298648 | refs/heads/master | 2021-06-24T05:30:47.492567 | 2017-09-05T17:04:34 | 2017-09-05T17:04:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,649 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/net/chrome_network_delegate.h"
#include <stddef.h>
#include <stdlib.h>
#include <vector>
#include "base/base_paths.h"
#inc... | [
"artem@brave.com"
] | artem@brave.com |
ff7bddf239124b9051a2539b0641e0aab050ba98 | 6a85bff6f2dbd8bd1ff08dc0cdb90435f6c163ae | /QTPFS/PathCache.cpp | d89240428fe2c03feacd4f917b802d47c7180429 | [] | no_license | rrti/quadpath | fad7489f6d73b2e4484c2c13ec6ed213e5359dde | 0a3a04be302739b8d4d49c6d0892d22b28b3434b | refs/heads/master | 2021-01-21T19:29:02.199277 | 2015-07-23T10:41:59 | 2015-07-23T10:41:59 | 39,561,440 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,448 | cpp | #include <cassert>
#include "PathCache.hpp"
#include "PathDefines.hpp"
#include "Sim/Misc/GlobalConstants.h"
#include "Sim/Misc/CollisionHandler.h"
#include "Sim/Misc/CollisionVolume.h"
#include "System/Rectangle.h"
static void GetRectangleCollisionVolume(const SRectangle& r, CollisionVolume& v, float3& rm) {
float... | [
"none@none"
] | none@none |
085f9391b9dafbc74070ac031e99fd0acd4d3df3 | 34b29ed962b95424fc552f3f725b2981acd36052 | /CPP/ABC/ABC112/c.cc | dca983aac59d38fa21aa7b230403a0770180f166 | [] | no_license | Taku0728/ProCon | 7c48123adb6eb640ec8199429f963b05c463cd69 | 890d58602557b38693a59cdbc2ed2fef96f70b9f | refs/heads/master | 2022-01-21T10:58:24.856951 | 2019-08-14T15:49:59 | 2019-08-14T15:49:59 | 129,835,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cc | #include <iostream>
#include <vector>
#include <algorithm>
#include <math.h>
using namespace std;
using ll = long long;
int main() {
int N;
cin >> N;
vector<int> vx, vy, vh;
for (int i = 0; i != N; ++i) {
int x, y, h;
cin >> x >> y >> h;
vx.push_back(x);
vy.push_back(y);
vh.push_back(h);
}
// すべての座標(i... | [
"yoshidatakuma0728@gmail.com"
] | yoshidatakuma0728@gmail.com |
6a75ecd0815720cc1ca5bf86dc3795817667e664 | cb233a29e7e98ebd64609d693c0376fff3f9797f | /mosquitoes.cpp | 805e8b1f3b9fe8adc9adbab9157f7e1a60df2d86 | [] | no_license | pzaiming/Kattis-Solutions | 85ddd9c68dc3bad69e43e12c888c679a818f43cb | 20c13ac436672e9cbc47612d94960c2084e60bbb | refs/heads/master | 2023-03-21T01:07:48.366217 | 2021-01-10T15:20:14 | 2021-01-10T15:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,167 | cpp | // https://open.kattis.com/problems/mosquitoes
#include <cstdio>
#include <cmath>
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
#define INF 1e9
#define EPS 1e-7
#define PI acos(-1.0)
double DEG_to_RAD(double d) { return d*PI/180.0; }
double RAD_to_DEG(double r) { retur... | [
"yulonglong2005@yahoo.com"
] | yulonglong2005@yahoo.com |
7f67e6c4135e90b168070c93d59725c19ec8aca6 | 24643916cd1515911b7837ce81ebd17b0890cc81 | /platform/mt6592/hardware/mtkcam/acdk/src/acdk/AcdkMain.cpp | 2982cebad92bf5a7942cf2a1bc61e56ce7d139eb | [
"Apache-2.0"
] | permissive | touxiong88/92_mediatek | 3a0d61109deb2fa77f79ecb790d0d3fdd693e5fd | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | refs/heads/master | 2020-05-02T10:20:49.365871 | 2019-04-25T09:12:56 | 2019-04-25T09:12:56 | 177,894,636 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 107,981 | cpp | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | [
"sunhouzan@163.com"
] | sunhouzan@163.com |
8157503b5e8652d5ae6674b092b17aa3f53c30a1 | f2a3497734e5fb644a7fcad762990c1b81316eba | /GryEngine-core/GryEngine-core/src/graphics/buffers/buffer.cpp | ad9c988707422cab663a8fa77bcef3708366f05b | [] | no_license | Bearwynn/GryEngine | 36340b73079cf1a682541d3ef1eea57a356d82cc | 1a3e051c295d4da94c564747ef7ba6b57e5f733d | refs/heads/master | 2022-12-03T14:58:46.470884 | 2020-08-19T14:04:46 | 2020-08-19T14:04:46 | 282,865,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cpp | #include "buffer.h"
namespace GryEngine {
namespace Graphics {
Buffer::Buffer(GLfloat* data, GLsizei count, GLuint componentCount)
{
m_ComponentCount = componentCount;
glGenBuffers(1, &m_BufferID); //generate one buffer, and assign it's ID to BufferID
glBindBuffer(GL_ARRAY_BUFFER, m_BufferID)... | [
"derrickgryff@gmail.com"
] | derrickgryff@gmail.com |
020380979b88588dda499f261889c90103dc26d6 | 655074111b22812767f5d3b22857e373e2cf11a0 | /Core/Src/RN42.cpp | a0e47057e48a5659de880c8f8201c5721b23196d | [] | no_license | tylkoroboty/Carex | 15f521d57fd7d2d7acb69275e69e9f925f6c3aa2 | 3f24153e8d7985518f267ef81cdc9b4dec64e1c5 | refs/heads/master | 2023-03-03T17:23:27.189714 | 2021-02-17T19:21:29 | 2021-02-17T19:21:29 | 313,435,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,393 | cpp | /*
* RN42.cpp
*
* Created on: Feb 8, 2021
* Author: mikol
*/
#include <RN42.hpp>
#include <bits/stdc++.h>
STATUS RN42::SetUART(UART_HandleTypeDef *huart){
itsuart = huart;
return OK;
}
STATUS RN42::Send(uint8_t* data, int size){
int response;
response=HAL_UART_Transmit(itsuart, data, size, 10);
if(r... | [
"mikolaj.marcinkiewicz.1@gmail.com"
] | mikolaj.marcinkiewicz.1@gmail.com |
97267ae51408b7671ffecc40bef7ee6ecb312312 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE122_Heap_Based_Buffer_Overflow/s03/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_int64_t_loop_09.cpp | ad3a5ec23013c805d03e4653c3d8097cea1ebb4a | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,985 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_int64_t_loop_09.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805.label.xml
Template File: sources-sink-09.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Alloc... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
376741529955ea892005a0f96a03c336e9405e56 | cc94e5889f326716ba4bf5e30491fc6f9ecc94d5 | /test/vector_add_normal.cpp | a0fad6b0bbe198d14e3cb15021eb576c5a3f0e82 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nakajee/rocr_debug_agent | bd947b0a7a209cb17303a2b6b3fedfc8a31224d4 | 5bba38fbc1b67150acbf1a1e804d040b5335546a | refs/heads/master | 2023-02-04T05:48:35.902904 | 2020-08-25T23:55:23 | 2020-08-26T01:58:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,156 | cpp | /* The University of Illinois/NCSA
Open Source License (NCSA)
Copyright (c) 2020, Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal with the Softwar... | [
"laurent.morichetti@amd.com"
] | laurent.morichetti@amd.com |
9f39c92a915291a59451284dc615d00a62751a54 | ed9393909378b8c54911a144429953bc237aadb7 | /e-footbot/control_interface/ci_efootbot_encoder_sensor.h | 168d6b70be0bf44a82ab9e28da9a533b6f7879b4 | [] | no_license | isvogor-foi/argos-customizations | 714736175fa33aa7da850911f6c4a10890c8e54e | 71425e63788d9f42a3274dea562325705137ad39 | refs/heads/master | 2021-01-01T06:16:07.996225 | 2017-08-18T19:32:57 | 2017-08-18T19:32:57 | 97,398,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,446 | h | /**
* @file <argos3/plugins/robots/foot-bot/control_interface/ci_efootbot_encoder_sensor.h>
*
* @brief This file provides the definition of the efootbot encoder sensor. It
* This file provides the definition of the efootbot encoder sensor. It
* returns the distance covered by the wheels in the last control step.
... | [
"isvogor@gmail.com"
] | isvogor@gmail.com |
8f03e81028f7b551e375afbb60880851ab93a3b7 | e836cebc2faf62ae10f134ecad95f70093de0863 | /wt/src/pl_gui/PipelineArgTable.h | db1dc780f55dea8acb3ef0a490f2b5b272def2d9 | [] | no_license | FNNDSC/web | e62debf38f4ab4110fd65ccc68425a982f98cb97 | ee166d0239b17086c5c31c4624f6b0b3d3667c44 | refs/heads/master | 2020-05-31T19:42:43.034478 | 2012-01-09T20:20:17 | 2012-01-09T20:20:17 | 2,512,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | h | //
//
// Description:
// This widget displays a table of the arguments passed to the pipeline.
//
// Author:
// Dan Ginsburg
//
// Children's Hospital Boston
// GPL v2
//
#ifndef PIPELINEARGTABLE_H
#define PIPELINEARGTABLE_H
#include <Wt/WContainerWidget>
namespace Wt
{
class WStandardItemModel;
... | [
"ginsburg@2e298075-0c49-4d30-86d1-9432a23a86c5"
] | ginsburg@2e298075-0c49-4d30-86d1-9432a23a86c5 |
b48e4beb1846a2ed2d7ccbcc76bfe24765743378 | 63e75189e379ea04a975df6ace1adee3ff55d633 | /Nodes/Tree4Node.h | 78244111865edd8b9f7b22427c35a3e0db03da40 | [] | no_license | estebancb03/Tree-algorithms | 87a7e3f0dd57de25efe6e4b79d2d8854a94b461b | 0f78fc30fcf77382e945bfccc77a8d8200eed0a5 | refs/heads/main | 2023-09-05T23:01:39.544851 | 2021-11-17T01:40:21 | 2021-11-17T01:40:21 | 419,102,129 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | h | #ifndef TREE4NODE_H
#define TREE4NODE_H
template < class T >
class Node {
T object;
Node< T > *leftmostSon;
Node< T > *leftBrother;
Node< T > *rightBrother;
Node< T > *father;
public:
Node(T o) { object = o; leftmostSon = nullptr; leftBrother = nullptr; rightBrother = nullptr; father = ... | [
"estebanr.castaneda03@gmail.com"
] | estebanr.castaneda03@gmail.com |
b9deef6e07c207c7a503fa2772ecae532f152c3f | ece30e7058d8bd42bc13c54560228bd7add50358 | /DataCollector/mozilla/xulrunner-sdk/include/mozilla/dom/SpeechSynthesisVoiceBinding.h | 1f238031c3f5a9328a7be7c7c590d3a31809bc8e | [
"Apache-2.0"
] | permissive | andrasigneczi/TravelOptimizer | b0fe4d53f6494d40ba4e8b98cc293cb5451542ee | b08805f97f0823fd28975a36db67193386aceb22 | refs/heads/master | 2022-07-22T02:07:32.619451 | 2018-12-03T13:58:21 | 2018-12-03T13:58:21 | 53,926,539 | 1 | 0 | Apache-2.0 | 2022-07-06T20:05:38 | 2016-03-15T08:16:59 | C++ | UTF-8 | C++ | false | false | 2,593 | h | /* THIS FILE IS AUTOGENERATED FROM SpeechSynthesisVoice.webidl BY Codegen.py - DO NOT EDIT */
#ifndef mozilla_dom_SpeechSynthesisVoiceBinding_h
#define mozilla_dom_SpeechSynthesisVoiceBinding_h
#include "js/RootingAPI.h"
#include "jspubtd.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/dom/BindingDeclar... | [
"andras.igneczi@doclerholding.com"
] | andras.igneczi@doclerholding.com |
6525c63fc9e1c9cb80d51a2c6fe39a24c0a6b59a | 949633cd7f09a68b19304af14562b29514261ecc | /DetectorDescription/RegressionTest/src/DDErrorDetection.cc | 648969db439012c0cd2e112a62f7915492dbc889 | [] | permissive | gsfs/cmssw | eabfe97b0594287ce25556e6b091956b72baad72 | fdbcb59c16cafd2a9b56177064bc0b6b93cc51dc | refs/heads/CMSSW_8_0_X | 2021-01-21T23:41:29.108786 | 2019-04-11T16:11:14 | 2019-04-11T16:11:14 | 226,406,411 | 0 | 0 | Apache-2.0 | 2019-12-06T20:39:25 | 2019-12-06T20:39:24 | null | UTF-8 | C++ | false | false | 9,678 | cc | namespace std { } using namespace std;
#include "DetectorDescription/RegressionTest/interface/DDErrorDetection.h"
#include "DetectorDescription/Core/src/DDCheck.h"
#include <iostream>
#include <fstream>
//**** to get rid of compile errors about ambiguous delete of Stores
#include "DetectorDescription/Core/src/Logical... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
bca7511d9120c08b2caa7cdec6455935552a282c | f23e6027b98ce89ccdf946bbc0aaa8d90ac54ce5 | /src/erhe/scene/erhe_scene/scene_message.hpp | 8a996ae47533d91498b541d7f2bcadea60bbdd75 | [
"MIT",
"Zlib",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | tksuoran/erhe | 8476cba96d73d4636aad2a40daaa707fd00b112f | d8a3393113aac273fe2446894f287d9a7889e0a7 | refs/heads/main | 2023-09-04T11:06:39.665543 | 2023-09-02T16:15:32 | 2023-09-02T16:15:32 | 363,416,834 | 412 | 45 | NOASSERTION | 2023-07-15T11:06:09 | 2021-05-01T13:29:16 | C++ | UTF-8 | C++ | false | false | 459 | hpp | #pragma once
#include <memory>
namespace erhe::scene
{
class Node;
class Scene;
enum class Scene_event_type : int {
invalid,
node_added_to_scene,
node_removed_from_scene,
node_replaced,
node_changed,
selection_changed
};
class Scene_message
{
public:
Scene_event_type event_type{Sce... | [
"tksuoran@gmail.com"
] | tksuoran@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.