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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e1d343aa6185a96ade00618e116a7d33efa9f675 | 37d36e8de4ce80a2a343dab23e4b701245ecdac9 | /ShenShengYi/platform/School/include/GenerateScore.h | 6cb03257d31b41919365b181de8675c9efac808a | [
"MIT"
] | permissive | shenshengyi/ShenShengYi | 028d560c75c26edd803477b7632cf3a6824b59a3 | 0b16b555d498c0bd17dd16f830343a5f2a1fd4e1 | refs/heads/master | 2020-12-23T11:46:45.420869 | 2020-02-05T05:41:37 | 2020-02-05T05:41:37 | 237,140,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | h | #pragma once
#ifdef SCHOOL_DYNAMIC_LIBRARY
#define CLASS_DECLSPEC __declspec(dllexport)
#else
#define CLASS_DECLSPEC __declspec(dllimport)
#endif
namespace STU
{
class GenerateScore
{
public:
virtual ~GenerateScore(void) {}
virtual int GenerateLanguage(void) = 0;
virtual int GenerateMath(void) = 0;
v... | [
"1109653726@qq.com"
] | 1109653726@qq.com |
00fb1bf4b829c6e6d1759817f513aaa9df3aa4dd | a94935bd3855fa6da97265b491dd18930ccbb134 | /RealmLib/Packets/Server/BuyResult.cpp | 58013d78e9da39a989ec5db3d35068c969574968 | [
"MIT"
] | permissive | hcoffey1/RealmNet | 7531deed1fd80baaeb1fa8b42aa73271d86241e8 | 76ead08b4a0163a05b65389e512942a620331256 | refs/heads/master | 2022-04-25T13:37:49.505083 | 2019-03-05T21:29:56 | 2019-03-05T21:29:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | #include "stdafx.h"
#include <GameData/Constants.h>
#include <GameData/TypeManager.h>
#include "Packets/PacketWriter.h"
#include "Packets/PacketReader.h"
#include <Packets/BuyResult.h>
BuyResult::BuyResult(int result, const String& message)
: result(result), message(message)
{
}
BuyResult::BuyResult(byte* data)
{... | [
"willurotmg@gmail.com"
] | willurotmg@gmail.com |
cc347dd176666287a9a0f529e007dedbcb904bbe | c90a56e7d7752b041fc5eb38257c5573cef346c6 | /src-win/TopTrans_tmpl.hxx | fab67040572eca23054eb747e5eb7d859bb83deb | [] | no_license | random-builder/design_cadquery_ocp | a4c572a72699bad52ca5f43f30bb7c15d89072ff | 2af799a9f1b2d81fd39e519b2f73e12b34a14c0a | refs/heads/master | 2021-05-21T23:10:23.833461 | 2020-03-29T15:34:46 | 2020-03-29T15:34:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | hxx | #pragma once
// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
// Standard Handle
#include <Standard_Handle.hxx>
// includes to resolve forward declarations
// module includes
#include <TopTrans_CurveTransition.hxx>
#include <TopTrans_Arr... | [
"adam.jan.urbanczyk@gmail.com"
] | adam.jan.urbanczyk@gmail.com |
e8a34763d948a26bbf929df5db462c055c2cf526 | b7e2b49b89ad9b842119410404b461f70b0716e5 | /src/PPgNotify.cpp | 999871da7e8210418a088ebe9eb3e720079ea605 | [] | no_license | charleson/emule_verycd | 31f3c71e0478b036f957edacd10f0f398c886165 | 489f841518e9313e9b387ad87298d32141c212f8 | refs/heads/master | 2020-04-06T04:18:04.657439 | 2012-09-16T15:11:58 | 2012-09-16T15:11:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,079 | cpp | //this file is part of eMule
//Copyright (C)2002-2006 Merkur ( strEmail.Format("%s@%s", "devteam", "emule-project.net") / http://www.emule-project.net )
//
//This program is free software; you can redistribute it and/or
//modify it under the terms of the GNU General Public License
//as published by the Free Software Fo... | [
"codingforfan@gmail.com"
] | codingforfan@gmail.com |
980dfff21f3056d07195e1251554fa3822b58f5d | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blazetest/src/mathtest/dmatdmatschur/DDbLDa.cpp | 4ddfdbb0fbf0f835bae9a17a4459ca89d4900cfc | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,047 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatschur/DDbLDa.cpp
// \brief Source file for the DDbLDa dense matrix/dense matrix Schur product math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
805fc1da28538deb80b4b3e5b5599698f7e83fd4 | 46f2e7a10fca9f7e7b80b342240302c311c31914 | /lid_driven_flow/cavity/0.0668/phi | bf30c4c53c1ce5fa253cbd40fcdd89191ba39f61 | [] | no_license | patricksinclair/openfoam_warmups | 696cb1950d40b967b8b455164134bde03e9179a1 | 03c982f7d46b4858e3b6bfdde7b8e8c3c4275df9 | refs/heads/master | 2020-12-26T12:50:00.615357 | 2020-02-04T20:22:35 | 2020-02-04T20:22:35 | 237,510,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,571 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"patricksinclair@hotmail.co.uk"
] | patricksinclair@hotmail.co.uk | |
2dcb74ae91136ea5f3112ec8053cfab6565b9d3f | a72b2715cf19d09dc039aaf82c9d28e4dd0d45f5 | /DesignPatterns/FlyWeightDesignPattern/FlyWeightDesignPattern/main.cpp | 47dd20a5cedc2ecc26ed9256578c06aa677ca3a4 | [] | no_license | LibbyXu/OOD-Cplusplus | 874415cb87774d6e59025f7b1025518b386a40d4 | ec93185eb941a341d537deed6c3da0050df40326 | refs/heads/main | 2023-04-30T17:47:27.418743 | 2021-05-21T04:49:54 | 2021-05-21T04:49:54 | 369,416,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,625 | cpp | //
// main.cpp
// FlyWeightDesignPattern
//
// Created by Lihua Xu on 5/13/21.
//
#include <iostream>
#include <map>
#include <string>
using namespace std;
class Flyweight {
public:
virtual void Operation(int extrinsicstate) = 0;
virtual ~Flyweight() {}
};
class ConcreteFlyweight : public Flyweight {
publ... | [
"xulihua66@hotmail.com"
] | xulihua66@hotmail.com |
ae4d4404b8f252142a4be4101227f4bd8eec45d3 | ebd4e808e095a35c223564a45221299cd34f492c | /appleleetcode.cpp | 58edda449750757d523640710751bac8c1161dae | [] | no_license | urjagl/Interview-Algorithms-Data-Structures | 7f99da432278fdd5b93632f8c7ed251215e0a7a4 | dd7a16e88e7bacf32638e48fd5f8b35a4a82f7ec | refs/heads/master | 2020-03-20T16:38:07.676999 | 2018-06-20T14:01:31 | 2018-06-20T14:01:31 | 137,543,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,106 | cpp | vector<int> productExceptSelf(vector<int>& nums) {
int n=nums.size();
vector<int> fromBegin(n);
fromBegin[0]=1;
vector<int> fromLast(n);
fromLast[n-1]=1;
for(int i=1;i<n;i++)
fromBegin[i]=fromBegin[i-1]*nums[i-1];
for(int i=n-2;i>=0;i... | [
"u2goyal@gmail.com"
] | u2goyal@gmail.com |
9d51edfb5d155188460bc44dc85a8d16eea74dd6 | e57039db94dd5cfbf5056540047e2497d61cd535 | /classes/ButtonHandler.h | 5170bfa0183573bac8f1ef76258be6c240a35158 | [
"MIT"
] | permissive | Jaspervanderlugt/dpdrawing | bda14e509df121c57e218597cef8b27838520a3c | 018f18f6272153d4fe3e9674df96ca35804f4d3c | refs/heads/master | 2022-11-08T13:53:17.817852 | 2020-06-15T09:13:05 | 2020-06-15T09:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | h | #include "MouseHandler.h"
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <memory>
#include <vector>
#include "commands/HardResetCommand.h"
#include "commands/LoadButtonsCommand.h"
#include "commands/DrawShapesCommand.h"
#include "commands/SaveCommand.h"
#include "commands/LoadCommand.h"
#include "commands/De... | [
"tsdezwart@protonmail.com"
] | tsdezwart@protonmail.com |
5d7a5dbd4d307f7b4ad0e13657ce7853acaf01e5 | 1432c9f87f441036ad570c54c6bee3baee9e77dd | /Assignment/OpenGLEngineA4/OpenGLEngine/SphereContactGeneratorSystem.cpp | 549a4413d99a4670838f6d27035dc1c820d069e9 | [
"MIT"
] | permissive | GBCNewGamePlus/Physics | a144693c9b1998a654d0f7f03adb16f77bee52e0 | 739a244cfee506b3506a2bc6ec0dcdebe2c5417d | refs/heads/master | 2020-08-29T14:50:39.112065 | 2019-12-12T06:48:46 | 2019-12-12T06:48:46 | 218,065,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,305 | cpp | #include "SphereContactGeneratorSystem.h"
#include "ParticleContactComponent.h"
namespace Reality
{
SphereContactGeneratorSystem::SphereContactGeneratorSystem()
{
requireComponent<SphereComponent>();
requireComponent<ParticleComponent>();
requireComponent<TransformComponent>();
}
void SphereContactGenerat... | [
"rshimoda@gmail.com"
] | rshimoda@gmail.com |
a1e2a427e8b85711c5ec61a8285abbc7ddbc9297 | 517a5ace21a12bfe6397995a1b2dd6638ea3d9ce | /DSA/Heap/k_largest_elements.cpp | f8c79845c2b565baddad680bdfa357673c324d80 | [] | no_license | sakibchonka/cpp_learning | 21111ee662e2183ee391d69b0f21d8c669bb50df | 61456249b7ab4ba2549ec8cc75ed8e56378ddb3f | refs/heads/main | 2023-07-17T13:33:13.390443 | 2021-08-23T17:12:33 | 2021-08-23T17:12:33 | 379,327,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | #include<bits/stdc++.h>
using namespace std;
void firstKElements(int arr[], int size, int k){
priority_queue<int, vector<int>, greater<int>> pq;
for(int i=0; i<k; i++)
pq.push(arr[i]);
for(int i=k; i<size; i++){
if(arr[i]<pq.top())
continue;
else{
pq.pop... | [
"sakibchonka@gmail.com"
] | sakibchonka@gmail.com |
b33c3e30eb199bf3015e30d568d9f915d940b70a | 37b8811856f6a386444bb589c4a75a06b2295e0f | /widgets.hpp | a7b8e81ed81050f66f77b8a55ae1806d74ed4b64 | [] | no_license | HortKaty/project1 | fbdd21be6e27509b5515bccfebbdf84962324c17 | 177533fd13598f14113db3422dc8df5c97a00b01 | refs/heads/master | 2020-03-17T00:51:45.534897 | 2018-05-13T21:49:58 | 2018-05-13T21:49:58 | 133,132,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | hpp | #ifndef WIDGETS_HPP_INCLUDED
#define WIDGETS_HPP_INCLUDED
#include "graphics.hpp"
class Widget {
protected:
int _x, _y, _sx, _sy;
bool _focusable;
public:
Widget(int x, int y, int sx, int sy);
virtual bool is_selected(int mouse_x, int mouse_y);
virtual void draw() = 0;
virtual void handle(genv... | [
"39213799+HortKaty@users.noreply.github.com"
] | 39213799+HortKaty@users.noreply.github.com |
a99283be4643d773e398d2d07d8e93e154a3c84e | e48afc9712d4a92d722caf9e3d4641c65d134706 | /spiral_matrix.cpp | fabc4c66428617e12effc9fadd26c1e488066157 | [] | no_license | bach-long/Bach | d18f39db270c75c768311498cefcfe8ea01261c1 | 32b839a2cc9d3738dcc73470ca56de5d1816ba0c | refs/heads/master | 2023-04-21T10:46:59.264836 | 2021-05-11T17:10:10 | 2021-05-11T17:10:10 | 335,474,994 | 0 | 0 | null | 2021-02-27T17:55:25 | 2021-02-03T01:41:15 | C++ | UTF-8 | C++ | false | false | 642 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int a=sqrt(n);
int i=0;
int j=0;
int x=a;
int y=a-1;
int start=1;
int spiral[a][a];
int sep=1;
while(x>=0&&y>=0){
int cnt=0;
while(cnt<x){
spiral[i][j]=start;
j+=sep;
start++;
... | [
"nguyenbach19122002@gmail.com"
] | nguyenbach19122002@gmail.com |
ff01787c1f05d24c89822fb9b3eb7a27467a2e7a | af0918e1f187152e5d3d5c9c75dbcdbc7c7ef7d8 | /leetcode/Valid_Parentheses.cc | 04b9dcd2680bd6895b13d1a49be7c40534c34ac0 | [] | no_license | liyisheng/MaNong | ec2f26a56e39e20792a4850ed4b3134cf800d17c | 5fd508d43764fa10af12b7c04d327871893c4942 | refs/heads/master | 2021-01-21T21:54:23.429286 | 2019-07-26T16:00:45 | 2019-07-26T16:00:45 | 29,233,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cc | /*************************************************************************
> File Name: Valid_Parentheses.cc
> Author: liyisheng
> Mail: liyishengchn@gmail.com
> Created Time: Fri 10 Apr 2015 07:52:00 PM PDT
************************************************************************/
#include<iostream>
... | [
"liyishengchn@foxmail.com"
] | liyishengchn@foxmail.com |
6337d7cc361a1b19b7318cc33828e5b658586ce1 | fd5aee85a293580d8cc3ce2fdb65660b8bdad4a6 | /source/devices/generic/generic_input.cpp | ed035de442977dce7faf3bc9005ac1b53f6baf55 | [
"MIT"
] | permissive | Ryochan7/MoltenGamepad | 9d4e4de1e17c324cd4c556cb9ba77c3e691ad386 | 2127fd433a43fd2e558bb306aef6498456d8134b | refs/heads/master | 2020-12-07T02:38:28.936920 | 2016-01-02T01:36:17 | 2016-01-02T01:36:17 | 48,894,488 | 1 | 0 | null | 2016-01-02T01:04:13 | 2016-01-02T01:04:13 | null | UTF-8 | C++ | false | false | 3,006 | cpp | #include "generic.h"
generic_device::generic_device(std::vector<gen_source_event> &inevents, int fd, bool watch, slot_manager* slot_man) : input_source(slot_man) {
this->fd = fd;
for (int i = 0; i < inevents.size(); i++) {
source_event ev;
input_absinfo abs;
memset(&abs,0,sizeof(abs));
ev.id = ... | [
"josephgeumlek@gmail.com"
] | josephgeumlek@gmail.com |
d156ce5535de698740f6d792df431a8246fce35a | d45ee9276ee0260286d2979c054765b68f3c0f41 | /src/servables/ensemble/ensemble_bundle_test.cc | ab9e5db11b7e25a868c48bf787f4380484b1aa36 | [
"BSD-3-Clause"
] | permissive | adityadhakal/tensorrt-inference-server | 73924c26f10f35087f6a9c1fc9ab0500a0c18d77 | 0ae29b89066b7ee1a565985b753673bc1e179a31 | refs/heads/master | 2020-04-28T13:32:15.122114 | 2019-03-12T19:04:00 | 2019-03-12T21:39:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,034 | cc | // Copyright (c) 2019, NVIDIA CORPORATION. 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 condi... | [
"davidg@nvidia.com"
] | davidg@nvidia.com |
5d2fefc20a6239f41fecab8f2e8af31278e8e536 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/2d/eeb81de376046a/main.cpp | 4aebe2c5e8298acb9e9891d13bb3b44a753967ba | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | #include <iostream>
struct Test
{
int a;
int b;
int c;
};
bool less(Test lhs, Test rhs)
{
return (lhs.a < rhs.a) ||
((!(rhs.a < lhs.a) && (lhs.b < rhs.b)) ||
(!(rhs.b < lhs.b) && (lhs.c < rhs.c)));
}
int main()
{
Test t1 = {8, 10, 12};
Test t2 = {8, 9, 8};
std:... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
92b5404c12bba58aabee17f3a01379eca4a39d81 | 7238d0edca7d6e3eac2e80b85b2721f48ceb5f77 | /ut/utTypes.h | f9b78d065506fed6ffd66f4efb064ac1b8521a85 | [] | no_license | blendkit/gamekitUtils | 42719e13dc509838dbb51ea79654b246381536cf | 2bec2b32243933efcead30eb7aad3f04632a4def | refs/heads/master | 2020-03-27T02:25:47.909345 | 2017-11-03T00:12:30 | 2017-11-03T00:12:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,178 | h | /*
-------------------------------------------------------------------------------
General Purpose Utility Library, should be kept dependency free.
Unless the dependency can be compiled along with this library.
Copyright (c) 2009-2010 Charlie C.
Contributor(s): vekoon.
----------------------------------... | [
"thomas.trocha@gmail.com"
] | thomas.trocha@gmail.com |
6fc46ea3ef40e85a9d037fb4de008283c7229675 | aad28fa1140e713c8591db5a383ac5f6605f743b | /48 Проблема Николая/Проблема Николая.cpp | 336631a597fed69863270894bec8c3a537d5a901 | [] | no_license | DaniilMuntyan/Solutions_e-olymp | d7ad45357d4f999c853efefcd47c39bc17e33664 | 7a318572e13f2e6103a2ade49c8ce9c5210caad9 | refs/heads/master | 2021-02-28T15:22:58.506994 | 2020-03-07T21:42:50 | 2020-03-07T21:42:50 | 245,708,666 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main()
{
long long n,m,i,res=1;
cin >> n >> m;
if(n>=m)
res = 0;
else
for(i=2;i<=n;i++)
{
res=(res*i)%m;
}
cout << res << endl;
} | [
"daniilmuntjan@gmail.com"
] | daniilmuntjan@gmail.com |
3fec6380ae525b260ffbc92c4a69768cb8d3460b | 10e56cef33684fb1b9650b5f1ebbdeb0baa69b46 | /src/devices/SDRReceiver.cpp | 6a1a367c4e228ccfc4d870f41f1429f4f675cb28 | [] | no_license | lemontongs/myhackrf | b23c49d1ade9d4dd86a6e105e3fd55a595faa09b | 95858bc7f825195c841501fea4832ef5db5d0d82 | refs/heads/master | 2023-06-10T13:02:06.171208 | 2023-06-03T17:45:00 | 2023-06-03T17:50:46 | 32,106,279 | 10 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,238 | cpp |
#include "SDRReceiver.h"
#include <unistd.h>
#include <iostream>
SDRReceiver::SDRReceiver()
{
m_isRunning = false;
m_isInitialized = false;
m_data_port = "5555";
m_comm_port = "5556";
m_data_target = "tcp://localhost:" + m_data_port;
m_comm_target = "tcp://localhost:" + m_comm_port;... | [
"lemontongs@gmail.com"
] | lemontongs@gmail.com |
2a38d43af178eba0f3406f8ddeab00e1bcabfd8a | 693b765dfd0a0fc916d1862cadfaa2a59fec6f4e | /src/MapData.cpp | 7d700f19e87c6ccfd189e7e1b6c44c2783291861 | [
"MIT"
] | permissive | ImagicTheCat/LUIS | ff2c7b159cc6661769b7d6b754d0f8675de9adaa | 1fa88ac41a944e6cdba30cf11c77f55f143d02b0 | refs/heads/master | 2020-03-11T07:57:08.585615 | 2019-04-24T11:23:15 | 2019-04-24T11:23:15 | 129,870,833 | 1 | 1 | MIT | 2018-12-08T19:11:45 | 2018-04-17T08:19:37 | C++ | UTF-8 | C++ | false | false | 1,804 | cpp |
#include "MapData.hpp"
#include "tools.hpp"
bool MapData::has(const std::string &key) const
{
return map.find(key) != map.end();
}
const std::string& MapData::get(const std::string &key) const
{
std::map<std::string, std::string>::const_iterator it = map.find(key);
if(it != map.end())
return it->second;
... | [
"imagicthecat@gmail.com"
] | imagicthecat@gmail.com |
e8726c6ede9c489fe1a1fa2dba1b4082dd4702d3 | 384f8f30d616d4db35307b12f830a0ed23757125 | /ext2/ExchangeBaseTest.cpp | 1c6dcbfc4ddc6a1641f83ad54264c1283edf7539 | [] | no_license | qijuweni/Ext2 | eb32a290175307e1eb8a491d73e0a2b5fd4f5e80 | 49fe450d8583d0afbd5ba0f5eb70ba6af93a0739 | refs/heads/master | 2021-01-10T04:43:40.518763 | 2015-10-15T15:00:21 | 2015-10-15T15:00:21 | 44,324,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | #include "gtest/gtest.h"
#include "CLExchangeBase.h"
#include "CLFileDev.h"
#include "SInode.h"
TEST(Exchangebase,test)
{
CLFileDev * pf = new CLFileDev;
pf->InitDev();
pf->OpenDev();
CLExchangeBase *pe = new CLExchangeBase(pf, 6, 7);
t_block a = "qijunweilkjhgfdsa";
pe->WriteBlock(a, 8);
t_block b = "123456789... | [
"708913847@qq.com"
] | 708913847@qq.com |
29f6690433308f17414ca74560c821be8a6d4da0 | 3931f4eb1bf6d03085ac4498f3d4365058ea5a3d | /common/log_writer.h | 70c95081eaa33d8215c1551e4bc847f01d7d75b9 | [
"BSD-3-Clause"
] | permissive | oneSapling/lsbm | 90353c5c1b12bed3a08e3b109386786d73029acf | 8a1ba121067d7db23661f0a5e895e02420f89213 | refs/heads/master | 2021-06-14T04:45:18.385935 | 2017-04-21T18:13:26 | 2017-04-21T18:13:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | h | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#ifndef STORAGE_LEVELDB_DB_LOG_WRITER_H_
#define STORAGE_LEVELDB_DB_LOG_WRITER_H_
#include <stdint.h>
... | [
"tengdj@vip.qq.com"
] | tengdj@vip.qq.com |
00cc022f5dd4d814608d575eca644aa2bbe334a5 | d7b84a31cafb72a3cb71b3a3cc724a68119ba18e | /Tyr/6.02/uniform/time | c26fc4d87002f419563a32807ae90dbf2966d9ab | [] | no_license | benroque/Ragnorak | 6cc7c68db801f9281a4ac241da754bce88ef6caf | a1bfc2430cccb207192792acebdd1530f1388a4c | refs/heads/master | 2021-01-14T08:13:18.774988 | 2017-02-20T08:32:53 | 2017-02-20T08:32:53 | 82,008,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"benroque94@gmail.com"
] | benroque94@gmail.com | |
1d7e64abff8bc18f6d7aa8d5688cb4157be5d61d | 3d3eba37dcceb187c8a050bf812f336461e5ec9f | /cal_proj2/Algorithms.cpp | a91249b57b66dc7d05867d2748df4867b8e9dc49 | [] | no_license | marques999/feup-cal | 5885915274e7a5efede14213deacbc3af71fb67f | b3177c016cd6f7fd669521500f38528dc94f2133 | refs/heads/master | 2021-01-18T12:52:23.890568 | 2018-02-23T21:44:12 | 2018-02-23T21:44:12 | 34,289,619 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,112 | cpp | /*!
* \file Algorithms.cpp
*
* FEUP_CAL1415_2MIEIC01_D
* \author Diogo Marques
* \author Jose Taveira
* \author Vitor Esteves
*
* \date Maio 2015
*
*/
#include "Algorithms.h"
static bool compare(char a, char b)
{
if (a >= 32 && a <= 127)
{
return toupper(a) == toupper(b);
}
switch (a)
{
case '\xc6'... | [
"xmarques999@hotmail.com"
] | xmarques999@hotmail.com |
76ff83477ef021e396281738d33f0f368943c323 | 36a6b98068cac9a11f009a42e0293134d49307f2 | /하나의 문자열 안의 글자수 세기.cpp | 406c9414b99867f2707421c2e999baf87910e59d | [] | no_license | JunHaHwang98/C_Homework | 80f967823afea833134736885e1aea7854de02e1 | ccaa772a225e6bb6f753cd70b5457d0d9870424e | refs/heads/main | 2023-04-01T13:08:14.031853 | 2021-04-13T11:36:32 | 2021-04-13T11:36:32 | 346,043,285 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 256 | cpp | #include <stdio.h>
int main(void)
{
char input[1001];
gets(input);
int count = 0;
while(input[count] != '\0')
{
count++;
}
printf("입력한 문자열의 길이는 %d입니다.\n", count);
printf("입력한 문자열 : %s", input);
return 0;
}
| [
"80338116+JunHaHwang98@users.noreply.github.com"
] | 80338116+JunHaHwang98@users.noreply.github.com |
d06a3ed3e26346d443ea519640f9c919f798646d | 46d84fe1b78ab6358ea352c4808cf8ec784a1143 | /BMS/AddSaveingCardDlg.h | 69f2f31d93a0e92d0e4ce1840abea0ed2f21d6ae | [] | no_license | Swayxw/BMS | 001f8ea581190826b4e8154a10cbb2eb0fc199c4 | 0ec5007cacc87db432b8ecdfb39b3838c0865d43 | refs/heads/master | 2020-05-17T00:46:12.406386 | 2015-06-20T05:52:45 | 2015-06-20T05:52:45 | 34,659,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | h | #pragma once
// AddSaveingCardDlg dialog
class AddSaveingCardDlg : public CDialogEx
{
DECLARE_DYNAMIC(AddSaveingCardDlg)
public:
AddSaveingCardDlg(CWnd* pParent = NULL); // standard constructor
virtual ~AddSaveingCardDlg();
// Dialog Data
enum { IDD = IDD_ADD_SAVINGCARD_DIALOG};
protected:
virtual void Do... | [
"286183854@qq.com"
] | 286183854@qq.com |
eb6c2ffad91f4d091d67755d08941d868c941d00 | 2d36ac7285664ce798edb27bafa00e0dbc0f25fb | /LSL/liblsl/external/lslboost/asio/windows/stream_handle.hpp | 4a82727f568a0d23cfc7477909ebe6afaa196ddf | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | nagarjunvinukonda/Brain-Computer-Interface-for-Bionic-Arm | af1a6241df167e747a7d9426e497f95dda632fda | 839cb0dc798d2bf274d3df7c4db0fef62af3770d | refs/heads/master | 2023-02-13T12:02:36.692225 | 2021-01-14T08:32:35 | 2021-01-14T08:32:35 | 297,540,583 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,089 | hpp | //
// windows/stream_handle.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.lslboost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_... | [
"vinukondanagarjun4@gmail.com"
] | vinukondanagarjun4@gmail.com |
c9a32ac2ed5eaf88a63742028f1f5ec4f157d32b | 544cfadc742536618168fc80a5bd81a35a5f2c99 | /packages/modules/StatsD/lib/libstatssocket/tests/stats_event_test.cpp | 2f9ccdc5c558d2f27a88cf5577b8b1c396bfe795 | [] | no_license | ZYHGOD-1/Aosp11 | 0400619993b559bf4380db2da0addfa9cccd698d | 78a61ca023cbf1a0cecfef8b97df2b274ac3a988 | refs/heads/main | 2023-04-21T20:13:54.629813 | 2021-05-22T05:28:21 | 2021-05-22T05:28:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,064 | cpp | /*
* Copyright (C) 2019 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... | [
"rick_tan@qq.com"
] | rick_tan@qq.com |
eee236c8dd7a520e6efbf97c84989cdd53b6fcc0 | 0167c6d045663ee68763572be9318fbbb299e232 | /Lectures/Design Patterns Code/behavioural_patterns/state/iteration_1/ApplyCommand.cpp | 42de3b5ecdc348f59d409e2de7a6ff69ead6aaaf | [] | no_license | Firaasss/CS-3307 | a0a18a7c77fa4319ffe9dd233f26139ab7cd45ae | d4ef8450df9e5608ff98c32e441b0c14d1011bda | refs/heads/master | 2022-04-25T08:01:12.210174 | 2020-04-26T22:56:36 | 2020-04-26T22:56:36 | 259,150,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cpp | #include <iostream>
#include "ApplyCommand.h"
#include "LineOfCredit.h"
using std::cin;
using std::cout;
using std::endl;
ApplyCommand::ApplyCommand(LineOfCredit* loc) : _loc(loc)
{
}
void ApplyCommand::execute()
{
float amount = 0;
while (amount <= 0)
{
cout << "Amount to apply for: ";
cin >> amount;... | [
"fabousha@uwo.ca"
] | fabousha@uwo.ca |
0e6fbbb0b77947029ae528c4369a4d660c43e056 | b05328f849055f4e64803116c60ac05762b22430 | /test/unit_tests/src/test_atomic.cpp | 150e794dca3b3886d4881d2fafa24492a5074209 | [
"Apache-2.0"
] | permissive | phongth7/cpp-driver | 956258c04c8e0b1cd3470a1add5aaed0cc295766 | ef6260412fe28d88390cb3aa8ea456f1972eff57 | refs/heads/master | 2021-01-22T06:14:24.396190 | 2016-03-01T19:19:26 | 2016-03-01T19:19:26 | 52,947,492 | 1 | 0 | null | 2016-03-02T08:42:22 | 2016-03-02T08:42:22 | null | UTF-8 | C++ | false | false | 4,492 | cpp | /*
Copyright (c) 2014-2015 DataStax
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing... | [
"michael.penick@datastax.com"
] | michael.penick@datastax.com |
eb9de7fad8905f846873ef5a07903e7aa8b43987 | 268c05d1e071d88541806a46cd4a14ea8fa2f930 | /src/Binner.h | ba388f4bf57bc11d0f88395ac01958b328d824f1 | [] | no_license | wbinventor/22.106-Course-Project | 80104007fb500473170265da58054ce02a5cefd5 | 999be7672c16ec89d36caf100143ca9ba18a9bcc | refs/heads/master | 2021-01-01T18:08:11.750161 | 2012-05-04T03:17:57 | 2012-05-04T03:17:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,449 | h | /*
* binner.h
*
* Created on: Mar 13, 2012
* Author: William Boyd
* MIT, Course 22
* wboyd@mit.edu
*/
#ifndef BINNER_H_
#define BINNER_H_
#include <limits>
#include <math.h>
#include <set>
#include <utility>
#include <omp.h>
#include "log.h"
#include "arraycreator.h"
#include "Neutron.h"
... | [
"wbinventor@gmail.com"
] | wbinventor@gmail.com |
a7a9fe35455b320b491d0b1a3acdcd5df9efb7ec | 50b7980236b960b133c91c6d653fb334d904252c | /SDK/BP_StatEntry_parameters.h | b0253a7ca3626cda1dd9f4f26dd91d58ed7c0cd9 | [] | no_license | wyverns1/mordhau_sdk | c5fa2978203f6c3d405a011c06c39274f52549d1 | 43693f2102efc684c1d27fb5b4a0abfa67c1f596 | refs/heads/master | 2020-06-04T00:55:40.096978 | 2019-06-13T17:12:36 | 2019-06-13T17:12:36 | 191,802,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | h | #pragma once
// Name: MORDHAU, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.h"
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function BP_... | [
"jay50@pitt.edu"
] | jay50@pitt.edu |
213c13beab7838d13cf4012995f4ed4539d659dd | 862d2905cdcd0426ea47e833f6b5dd7f86c408ad | /aMazing/code/engine/system/TextureManager.cpp | 8f706bd724dddfcc15e0b12bd26664833af3b533 | [] | no_license | LYP951018/aMazing | cedada48e7517caa64da565190428c7f13d019eb | 8820667abe6c63968c587ba94c1f8dc9d10afbea | refs/heads/master | 2021-01-13T01:04:05.162610 | 2015-07-31T11:38:36 | 2015-07-31T11:38:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | #include "TextureManager.hpp"
using namespace aMazing;
HRESULT TextureManager::addTexture(ID3D11Device* device,
MutableString&& filename)
//add a brand new texture into texture manager class.
{
TextureObject* texture = new TextureObject;
std::string path = filename.getMultiByteString();
if (FAILED(texture->LoadFi... | [
"anti2moron@gmail.com"
] | anti2moron@gmail.com |
775232f089541ea1740fc1bf3029171a647f4af5 | de34b80ac11f9ffb361b4c936e6aed5c82036468 | /Code/Source/PostProcessing/cvCalculateWallShearStress.h | db6ea48fd51d1898d2e2e65a79fb0afd9e6e4706 | [] | no_license | JingLiRaysightmed/SimVascular | d2857e2c1edb198975b7b750ca28877ad00c9f72 | 0bba72f88743ecb476faef264d86006fb9ca18e3 | refs/heads/master | 2020-03-16T18:40:04.421252 | 2018-04-19T11:55:31 | 2018-04-19T11:55:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,535 | h | /* Copyright (c) 2009-2011 Open Source Medical Software Corporation,
* University of California, San Diego.
*
* All rights reserved.
*
* Portions of the code Copyright (c) 1998-2007 Stanford University,
* Charles Taylor, Nathan Wilson, Ken Wang.
*
* See SimVascular Acknowledgements file ... | [
"updega2@berkeley.edu"
] | updega2@berkeley.edu |
1d29210251bb36743ae6f1f906c8054c528310d0 | 03a47d14fc4c8ee461ba139fd22d2be589984ef0 | /source/lines_service.h | 50f819f849b537396b3418772bfcbae66050cdd4 | [
"Zlib"
] | permissive | brittonsmith/c10.00-b | b6cd0058e1f37cf6e53863206f7c2bd73d5970a7 | e34b9a91941aab6eb2e5d4a6c76fa2d479f0abc7 | refs/heads/master | 2020-09-18T20:55:25.193631 | 2019-12-04T11:02:36 | 2019-12-04T11:02:36 | 224,183,983 | 0 | 1 | NOASSERTION | 2019-12-04T11:02:38 | 2019-11-26T12:10:06 | C++ | UTF-8 | C++ | false | false | 6,527 | h | /* This file is part of Cloudy and is copyright (C)1978-2010 by Gary J. Ferland and
* others. For conditions of distribution and use see copyright notice in license.txt */
#ifndef LINES_SERVICE_H_
#define LINES_SERVICE_H_
void linadd(
double xInten,
realnum wavelength,
const char *chLab,
char chInfo ,
co... | [
"gary@e66ded4d-7403-0c46-9ef1-c4afbd745067"
] | gary@e66ded4d-7403-0c46-9ef1-c4afbd745067 |
ecd33c46d23503aba99f5a63d40c31422c991663 | 5447a87c9fa3cd790453a8bf4a40761b4fbb099b | /leetcode2/Leetcode/501-1000/Leetcode_13.cpp | 4a8a6054567ee9aa7e1edf70d0e129b3cada2714 | [] | no_license | necromaner/C- | ffb215520d3035a1e785147303c753a10a47619a | f7978b358f8246072c7f9627cee80e5df1994b25 | refs/heads/master | 2021-05-25T09:13:32.011117 | 2020-11-10T09:00:47 | 2020-11-10T09:00:47 | 126,946,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,166 | cpp | #include "../leetcode.h"
#include <stack>
//617. 合并二叉树
/*
给定两个二叉树,想象当你将它们中的一个覆盖到另一个上时,两个二叉树的一些节点便会重叠。
你需要将他们合并为一个新的二叉树。合并的规则是如果两个节点重叠,那么将他们的值相加作为节点合并后的新值,否则不为 NULL 的节点将直接作为新二叉树的节点。
示例 1:
输入:
Tree 1 Tree 2
1 2
/ \ / \
3 2 ... | [
"necromaner@foxmail.com"
] | necromaner@foxmail.com |
2adb1f97873261ff3a28b0bda371e38889a3d2ad | e9a5d7ce672b1a7530409ad73bd8b2e1e0a8ab21 | /iCGIS/src/geo/map/geofeaturelayerproperty.h | 641f459c2d6c26d247db5f3facd5a99204c72342 | [] | no_license | page404/iCGIS | c8e81ff7388510582a2828c7968edc06fff1f3f4 | 25ac5cb3b678b3136370ebcc99de599cf13c1710 | refs/heads/master | 2021-04-17T11:37:32.543181 | 2020-01-09T05:29:17 | 2020-01-09T05:29:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | h | /*******************************************************
** class name: GeoFeatureLayerProperty
**
** description: 图层属性类
**
** last change: 2020-01-02
*******************************************************/
#pragma once
#include "geo/map/geofielddefn.h"
#include "geo/geometry/geogeometry.h"
#include <QString>
enu... | [
"leopard.c@outlook.com"
] | leopard.c@outlook.com |
4faf8ef16fa10c504778c6c1250db65d1d1c0a16 | 7c64360b6e32f8576344048db7b9938ea722dedd | /boostrap/tests/BFileTest.cc | 0d1f6bbc8f7443b913af88ba172faabd194e4d9c | [
"Apache-2.0"
] | permissive | recepkandemir/opticks | 4be08a9243c3e0abe82eca77be70178e6384e555 | 523387f7593676bab58de22d22049e650de3f5c3 | refs/heads/master | 2023-01-24T16:55:04.131498 | 2020-12-04T20:25:09 | 2020-12-04T20:25:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,270 | cc | /*
* Copyright (c) 2019 Opticks Team. All Rights Reserved.
*
* This file is part of Opticks
* (see https://bitbucket.org/simoncblyth/opticks).
*
* 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 ... | [
"simoncblyth@gmail.com"
] | simoncblyth@gmail.com |
9be46940e6a1ba029391f682747309278b8cb211 | 93176e72508a8b04769ee55bece71095d814ec38 | /Utilities/otbossim/include/ossim/base/ossimStreamFactory.h | c89ca437a05a41bec791149a86efba889d88aef8 | [] | no_license | inglada/OTB | a0171a19be1428c0f3654c48fe5c35442934cf13 | 8b6d8a7df9d54c2b13189e00ba8fcb070e78e916 | refs/heads/master | 2021-01-19T09:23:47.919676 | 2011-06-29T17:29:21 | 2011-06-29T17:29:21 | 1,982,100 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 985 | h | //*******************************************************************
// Copyright (C) 2005 Garrett Potts
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//
//*******************************************************************
// $Id: ossimStr... | [
"CS"
] | CS |
f0bb28375a33de22323678ed51abd96c877a3b67 | e7a50bf9e18feb68467161104077f8d1add03ff2 | /src/lib/opcodes/compare.inc | 61f8bc996bbe0f21682935dd67d6852d0df00ae1 | [
"MIT"
] | permissive | piot/zany | 4889fb355c5ae147ea2a80e2d37e73b27f8f4c68 | aed3934d1953e7d50d91af21014ae63f3a2f4aaf | refs/heads/master | 2021-08-26T01:01:46.749441 | 2021-08-14T09:09:27 | 2021-08-14T09:09:27 | 122,197,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | inc | /* --------------------------------------- */
case CMP_ABS:
READ_ABSOLUTE_MEMORY_WITH_OFFSET(cpu, 0);
cmp(cpu, r, cpu->a);
break;
case CMP_ABS_X:
READ_ABSOLUTE_MEMORY_WITH_OFFSET(cpu, cpu->x);
cmp(cpu, r, cpu->a);
break;
case CMP_ABS_Y:
READ_ABSOLUTE_MEMORY_WITH_OFFSET(cpu, cpu->y);
break;
case ... | [
"piot@hotmail.com"
] | piot@hotmail.com |
93e863aa2991c8a94c3992fbf70b6ff8da538384 | b8cb5e3c80c271d4ea5cace5ea6f2efb6dcaf7f8 | /build/src/imgproc.cpp | 59337b921012e6ec80c891d279cb86178be9ed2f | [] | no_license | yar3333/haxe-hxopencv | c6502fe2ac9f6c6d2a766573bb96cffd9c71b72c | 37fdd536721b9f6ddb299b3f609ec48139b10dac | refs/heads/master | 2022-11-24T17:33:46.850539 | 2014-05-30T13:59:18 | 2014-05-30T13:59:18 | 279,648,882 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,117 | cpp | #include "abstract.hpp"
////////////////////////////////////////////////////////////////////
value neko_matchTemplate(value image, value templ, value result, value method)
{
val_check_kind_or_fail(image, k_Mat);
val_check_kind_or_fail(templ, k_Mat);
val_check_kind_or_fail(result, k_Mat);
val_check_type_or_fail(me... | [
"yar3333@gmail.com"
] | yar3333@gmail.com |
305f708982e66b5ab16458ec0be3a1e4b85ce1d3 | cffc460605febc80e8bb7c417266bde1bd1988eb | /before2020/UVa_ACM/004 - Volume IV/UVa 442(Simple, Ad-hoc, Matrix-multiplication, Stack).cpp | f39d7826601361c276a53f30a7049aa5105c4e54 | [] | no_license | m80126colin/Judge | f79b2077f2bf67a3b176d073fcdf68a8583d5a2c | 56258ea977733e992b11f9e0cb74d630799ba274 | refs/heads/master | 2021-06-11T04:25:27.786735 | 2020-05-21T08:55:03 | 2020-05-21T08:55:03 | 19,424,030 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | cpp | /**
* @judge UVa
* @id 442
* @tag Simple, Ad-hoc, Matrix multiplication, Stack
*/
#include <stdio.h>
#include <string>
#include <iostream>
#include <vector>
using namespace std;
struct matrix
{
int r, c, flag;
matrix() { r = c = flag = 0; }
matrix(int r, int c): r(r), c(c) { flag = 0; }
matr... | [
"m80126colin@gmail.com"
] | m80126colin@gmail.com |
6ac6d74067861dcd490925ecbcdfdd48e67ba136 | 41fafc0c79d31ab9abb8be3956a086c67b633dc2 | /userland/StdLib/src/malloc.cpp | ffc8d1fe90cfdd7de6971cfa20fe10e35381fb9d | [] | no_license | GuillaumeGas/LtMicros | 4832be94733792e56cc6808a22aac8fd02d8061d | c389c04316df02283d4f7f880078d1b9d51bf4d1 | refs/heads/master | 2020-05-27T16:55:13.463086 | 2020-02-09T11:04:37 | 2020-02-09T11:04:37 | 188,711,579 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,182 | cpp | #include "malloc.h"
#include "stdlib.h"
#include "stdio.h"
#include "syscalls.h"
/// @brief Size in bytes of a block header
#define BLOCK_HEADER_SIZE sizeof(int)
/// @brief Block size in bytes of a block, without its header
#define DEFAULT_BLOCK_SIZE PAGE_SIZE - BLOCK_HEADER_SIZE
/// @brief Block size in by... | [
"guillaume@gas-ntic.fr"
] | guillaume@gas-ntic.fr |
1f8405e5b7665ea5a470b742ade318823a1b9c2b | 86e1f2bcb970eeecf4174018c41b310d88c7b4b2 | /masktools/filters/mask/functions_avx2.h | a297d58d47f9a6b39cec7d592291d7f0d70b3dd4 | [
"MIT"
] | permissive | KAviSynth/masktools | 24708f9f33031568f5544bc81d20a7598d4618ac | f2074323234bae2303f2ae5960f42eb18e3033c8 | refs/heads/16bit | 2022-12-31T19:30:25.928380 | 2020-09-04T10:43:24 | 2020-09-19T17:03:50 | 287,671,865 | 0 | 0 | NOASSERTION | 2020-10-19T15:04:34 | 2020-08-15T03:43:18 | C++ | UTF-8 | C++ | false | false | 5,269 | h | #ifndef __Mt_MaskFunctions_AVX2_H__
#define __Mt_MaskFunctions_AVX2_H__
#include "../../../common/utils/utils.h"
#include "../../common/simd.h"
namespace Filtering { namespace MaskTools { namespace Filters { namespace Mask {
typedef Byte (Operator)(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, const Short ma... | [
"pinterfer@gmail.com"
] | pinterfer@gmail.com |
b6b50caae8f9bc932a2dd6fc2f51e1139c726df0 | cbbf0dbb059bbca24230af5fddd9f0963b422085 | /test_BST.cpp | a5baa7617665c6d89121cc527d0777ce5fe9559a | [] | no_license | ignandre/BST | 288196d58330d4beacebff03857510e98d9fd7bf | 958c3b786113c644f9b72b69284dca3e5ff25ed3 | refs/heads/master | 2021-06-05T06:20:34.192312 | 2016-10-05T13:56:30 | 2016-10-05T13:56:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,969 | cpp | #include "BST.hpp"
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
/**
* A simple test driver for the BST class template.
*/
int main() {
/* Create an STL vector of some ints */
vector<int> v;
v.push_back(3);
v.push_back(4);
v.push_back(1);
v.push_back(100);
v.push_b... | [
"postmail2andre@yahoo.com"
] | postmail2andre@yahoo.com |
6eeb2a16c5970276866b1cde8a76e643e40c33b8 | 9ca8a83818db556aacad71601761dc2975e78441 | /3DEngine/3DEngine/PortSndAudioManager.h | d8141cc370f97e44cfc98b4509b3ac35a4b29e11 | [] | no_license | AmiraliMohayaee/amir-3d-engine | 8f568985c71919f709d79c3c14a2e959b6a97941 | 031e63a1e3ded5c47bb83644a9ceb29ef7ceb671 | refs/heads/master | 2021-01-19T09:57:39.695011 | 2018-10-05T15:38:45 | 2018-10-05T15:38:45 | 32,399,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | h | #pragma once
#include "libsndfile/include/sndfile.h"
#include <stdio.h>
#include <string>
#include <vector>
#include "include/portaudio.h"
#include "Vec3.h"
#include <math.h>
#include "File.h"
#include "Singleton.h"
#include "Non-Copyable.h"
namespace Engine
{
class PortSndAudioManager : public Non... | [
"UncleKitchenerSA@yahoo.com@2778bfdb-6347-df46-a1d9-f26592b978c5"
] | UncleKitchenerSA@yahoo.com@2778bfdb-6347-df46-a1d9-f26592b978c5 |
7db8b56e5180793f6d885976b5def2ba58c22aad | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/services/viz/public/interfaces/compositing/frame_deadline.mojom.cc | 438fee947df3f72ae4fddcd02e8ba04df998cc0a | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,929 | 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.
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#elif defined(_MSC_VER)
#pragma warning(pus... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
ed1d7819a6311a9786969c954999c59dcb4dd774 | 6ba53bfef57b252fae219bd6e45b1341848b94bb | /SPH/common/thrust/detail/backend/cuda/detail/launch_closure.h | a750bdef4ea31026e20c3d5ec5127ca2dc339d20 | [] | no_license | vanlin5566/CIS565_Final | bb3a3182414ae2d7f99063f1863d9fcd3baf6e56 | a2efbe5f46165b95fba7246e248a27103457eca8 | refs/heads/master | 2021-01-17T02:37:26.059902 | 2012-07-04T20:09:35 | 2012-07-04T20:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,891 | h | /*
* Copyright 2008-2011 NVIDIA 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 applicable... | [
"whu.eis.lt@gmail.com"
] | whu.eis.lt@gmail.com |
ae75dcdb6b955996e04a854fe180ad6847afe4eb | 83dbe0a351d3ee36eace86dc7494ef6d0f95c37a | /common/clumsy_lib/include/clumsy_lib/dependent_propagator.h | bbaae325d45e0f3fa52c8d7d8c306c7eaad462f3 | [] | no_license | zeagle01/graphics_play_ground | f3023ca374f1cdce1dc3e81e736e55b3907f2f4b | 01f4220e99020935c66be25ac8a012ce43accd1e | refs/heads/master | 2023-09-01T15:33:22.435143 | 2023-08-27T13:30:38 | 2023-08-27T13:30:38 | 177,251,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,739 | h |
#pragma once
#include "static_loop.h"
#include "type_list.h"
#include <typeindex>
#include <unordered_map>
#include <set>
#include <memory>
//#include <iostream>
namespace clumsy_lib
{
template<typename T>
struct default_get_deps
{
template<typename U>
static auto choosor()
{
if constexpr (requires {... | [
"zeagle01@163.com"
] | zeagle01@163.com |
f88945f1b8a46beb2f0bb834358e29b0a6bb69c7 | 981565926d9b718af5e8e64f3bb8d8206ded484e | /Src/LoLAConnector/lola_frame.h | 23d874222abea490f09d3a75012a0073c46913ca | [] | no_license | TJArk-Robotics/TJArkCodeRelease2019 | 249a939484d2e31b00731ce6935fcfb0036e4a13 | 950a1b2d6114c01bd810ae4eeebbc89ea2fd5356 | refs/heads/master | 2020-12-18T11:20:09.878914 | 2020-01-21T14:22:28 | 2020-01-21T14:22:28 | 235,360,704 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,461 | h | #pragma once
#include <map>
#include <string>
#include <vector>
#include <msgpack.hpp>
#include "LoLAConnector/battery.h"
#include "LoLAConnector/fsr.h"
#include "LoLAConnector/imu.h"
#include "LoLAConnector/joints.h"
#include "LoLAConnector/leds.h"
#include "LoLAConnector/touch.h"
#include "LoLAConnector/sonar.h"
#... | [
"tongjilishu@163.com"
] | tongjilishu@163.com |
a6fdcf65ea286d6e1bb9b0655cb2364614bda743 | 50c39eed7002150b50184628916c16facc1dd3b6 | /v1/main.cpp | f8ddfe0cc98d6bc0ce445bc1440b2e21786fbb5a | [
"Zlib",
"FTL"
] | permissive | alexandre-tsu-manuel/CliqueLeCube | 56c9b35ae055d073586c6b35c5af4dd81772f144 | fea537dcab7ad78b3d669a196404d2e248c794c6 | refs/heads/master | 2021-05-27T12:42:13.891262 | 2015-01-26T06:39:15 | 2015-01-26T06:39:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cpp | #include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>
#include <fmod.h>
#include <time.h>
#include "bouton.hpp"
#include "fonctions.hpp"
#include "jouer.hpp"
// TODO (Cesar#1#): Faire les Highscores
// TODO (Cesar#2#): Cube piege
// TODO (Cesar#3#): Cube Bonus
// TODO (Cesar#4#): Optimiser
SDL_Surface *ecran, *layer;
TTF_Fon... | [
"amanuel@ad4screen.com"
] | amanuel@ad4screen.com |
7a0393497b9f4575858aecd5c01a042a9a200490 | 2fcee87709417717620d2ca4131f96e29c0bc320 | /Codeforces/Beta-round-25/B.cpp | 7e06893c8d34bf417e8b0d84feeffcc83b533922 | [] | no_license | Jaminur-Rashid/Problem-Solving | 7b502b03c5eea180282adcaad1b74ab526c92f12 | c651c9e810dba6a8f4b1ece6a3c27554d4a49ac0 | refs/heads/master | 2023-07-27T15:22:14.744541 | 2021-09-09T12:13:13 | 2021-09-09T12:13:13 | 404,700,331 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
#define mp make_pair
#define pb push_back
#define ff first
#define s second
#define nl '\n'
#define MAX 99999999999
#define MIN 0
const unsigned int M = ... | [
"jaminurrashid21@gmail.com"
] | jaminurrashid21@gmail.com |
0f63b0dea8a342bf76006ff8a9976a606f670c94 | 42a072d3c53cd78c1ce82b974442d998298284cc | /libalgo/source/algorithms/nonlinearleastsquares/NonLinearLeastSquares.hpp | e7a67504d2ddd680f0230c615d3de85f3ab09f04 | [] | no_license | bayertom/detectproj | b359991e2457aa91cb8adf22b585215f768ccf12 | 1ba138ae9a1541ab504e000d5961a4ca3c5cec51 | refs/heads/master | 2021-01-23T03:05:33.525489 | 2017-01-02T00:06:41 | 2017-01-02T00:06:41 | 19,872,193 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,498 | hpp | // Description: Non Linear Least Squares algorithms
// Copyright (c) 2010 - 2013
// Tomas Bayer
// Charles University in Prague, Faculty of Science
// bayertom@natur.cuni.cz
// This library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as publis... | [
"bayertom@natur.cuni.cz"
] | bayertom@natur.cuni.cz |
8a489731b422d2800efda1a171e8639215045417 | ef4c9e8d6a97a8c3ce6a4191a81b168c27e03dde | /AutoList.cpp | 4eff7b34765f13d249e0b9a11d2d046ae9aa22ca | [] | no_license | cdecl/GlassFTP | 74d0b727b37c537dd76ef1e884df8ad8000f9c33 | 7f20f86a174d4ff25764d9a95548847272c93f73 | refs/heads/master | 2021-01-20T10:15:32.040208 | 2018-01-09T03:43:21 | 2018-01-09T03:43:21 | 26,073,086 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | cpp | // AutoList.cpp: implementation of the CAutoList class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "glassftp.h"
#include "AutoList.h"
#include <iterator>
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
////////... | [
"cdeclare@gmail.com"
] | cdeclare@gmail.com |
b92ef3cb4daf88393881f136b370e04534ccd834 | a8895974e5aac4b6746733ba97cdf6e0846d044d | /libs/cocos2dx/support/ccUtils.h | 81088a7971ec4e1bfb37b327c2cfa370eaf86433 | [] | no_license | 51anygo/mybird | b9260cb3b7e5cb14302d5115196be9f0b19de3af | 71e9375e81ecce4fa8b8ae69195ae416f1da5dc4 | refs/heads/master | 2020-05-16T11:16:19.561900 | 2014-04-10T12:53:51 | 2014-04-10T12:53:51 | 17,505,897 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,782 | h | /****************************************************************************
Copyright (c) 2010 cocos2d-x.org
http://www.cocos2d-x.org
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 with... | [
"51anygo@gmail.com"
] | 51anygo@gmail.com |
f9aed6c4201e2e3f0a08725d760ebfa9e15462e4 | c498f2054ffe06ea73dfb22960c0d98cbe9c1177 | /main.cpp | 5095344543dfc87f1771a0f8e72cbb4c24391afe | [] | no_license | sergiev/Newton | 692a3bc4ecb7bdf8fef0407e5507f7b24b9517b4 | 098873374e40897c028eec744603bf6184c24946 | refs/heads/master | 2020-03-17T01:14:20.747956 | 2018-05-12T12:43:16 | 2018-05-12T12:43:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | cpp | #include "refers.h"
int main() {
double current=1;
int k=1;
while (1) {
double next=current-f(current)/df(current);
if (abs(next-current)<EPS) {
cout << next << " - это минимальный по модулю корень уравнения tg(x)=cos(x)-0.1\n";
cout<<tan(next)-cos(next)+0.1<<'\n';
... | [
"semyonsever@yandex.ru"
] | semyonsever@yandex.ru |
4915b51fce09e21160c073d07d308adaa25b712d | 3b9d63ae526e70264592ec1098b7f39d168324dd | /Source/Sound/Mixer.cpp | e7afcec8da59c05464986324dc827af6997fa910 | [
"BSD-3-Clause"
] | permissive | devnello/RaspiDrums | de7d70c76b30efd1d3611707f5c45b3d45a4b16f | b4c6856bafbbc6520fc753232ff9e14359a25937 | refs/heads/master | 2021-09-15T13:06:12.201342 | 2018-06-02T20:30:11 | 2018-06-02T20:30:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,356 | cpp | /*
* Mixer.cpp
*
* Created on: 11 Apr 2015
* Author: jeremy
*/
#include "Mixer.h"
namespace Sound
{
Mixer::Mixer(const std::vector<DrumKit::SoundParams>& soundParams, const AlsaParams& params)
: soundParameters(soundParams),
alsaParams(params)
{
return;
}
Mixer::~Mixer()
{
return;
}
vo... | [
"jerem.oden@gmail.com"
] | jerem.oden@gmail.com |
e49185ada64f36eef417bd70b376bdc566b6d0b9 | 014ff508d145304374f211559dd187bc6e8454bd | /ICommonInfoOut_C.cpp | 98babbd999d3d1b9d2b7de8307b140b208e9c4df | [] | no_license | diablozhuzhu/megagui | efcbcda37437b3317dd2efc53bacefcdf241a5cd | 833ee139f91c0ca362c1ea58c3208144da019f62 | refs/heads/master | 2020-03-07T15:04:04.495226 | 2018-04-02T07:44:57 | 2018-04-02T07:44:57 | 127,544,001 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,020 | cpp | #include "stdafx.h"
#include "ICommonInfoOut_C.h"
#include "UiDialogManipulate.h"
extern "C" __declspec(dllexport) void __stdcall SHOW_RUNINFO_DLG()
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
UiDialogManipulate::Get()->Show();
}
extern "C" __declspec(dllexport) void __stdcall EXIT_RUNINFO_DLG()
{
AFX_... | [
"diablozhu@qq.com"
] | diablozhu@qq.com |
c76a287c225cdfe8d372d625ef9019cf1e57cdac | 31caa0ad7ba19592f6f61fd1a5d514de1b73f2a7 | /Examples/Apps/Common/Application/Include/help/Helper.h | 5de452779e602bc162767b72aed1e88b3c1c8e10 | [] | no_license | tkzcfc/net_uv_new | 6efc2aef9f9537b0aa35734671a5a9ac57059960 | 7b8738808461035f054e44f1757a492a1b19a423 | refs/heads/master | 2023-02-22T07:23:19.657769 | 2023-02-20T07:12:44 | 2023-02-20T07:12:44 | 216,749,416 | 13 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 196 | h | #pragma once
#include "imgui.h"
#include <string>
#include <vector>
class Helper
{
public:
static std::string UTS(const std::string& str);
static std::string STU(const std::string& str);
};
| [
"www.tkzc@foxmail.com"
] | www.tkzc@foxmail.com |
3b9b5a8791a0c8bf952baf8e4c54935dc5f8160d | 96db7bfad07f22dc62701736817b859c921465ca | /Caça-Palavra/puzzle.h | cf2dbfce407697930284cca948a81a735aef053f | [] | no_license | LinsThi/ed_UFC | 9a64573133fa847c35081b3b440bc274f16b73d5 | b2269fade01ad8d102f657cfc27a297aba4b8da4 | refs/heads/master | 2023-05-07T19:01:00.295789 | 2021-05-31T16:34:30 | 2021-05-31T16:34:30 | 372,568,267 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | h | #include <list>
#include <string>
#include "matrix.h"
using namespace std;
void createPuzzle(int, int , list<string>& , string, matrix&);
void solvePuzzle(list<string>&, string, string, matrix&);
| [
"thiagolins13255@gmail.com"
] | thiagolins13255@gmail.com |
c8fa09e63f34f31564a7764fdd2b2cde835367b1 | 6a985cfa88756e7ffce4bb51867fe247d9e2ca6f | /CVFH特征匹配/CVFH/CVFH/cvfh_const.cpp | f17ec94b22091334d3083c9dc9353c94e9f14ab6 | [] | no_license | 1278741833/PointCloudsLocks | 3a08ec919a42e2e0d12d09f673948e54bb0a1042 | 8c09f913809d4fc7aa733138e13e3c13773fad36 | refs/heads/master | 2023-09-03T18:49:25.544664 | 2021-09-26T07:42:38 | 2021-09-26T07:42:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include <cvfh_const.h>
using namespace std;
const string GConst::BUILDMODE = "build";
const string GConst::RECOGMODE = "recognition";
const string GConst::GENMODE = "generate";
const string GConst::kdtree_idx_file_name = "kdtree.idx";
const string GConst::training_data_h5_file_name = "training_data.h5";
const strin... | [
"qq710327563@126.com"
] | qq710327563@126.com |
4dc4bf688de1b193ff0d19d87aa586cf247209e0 | 450aab9335637b7fade9745928326c12c638e40b | /Histograms/histogram.h | a4316f128b7c1c5d167d35849e806b4123e18e4c | [] | no_license | piokac/PSIO_lab | 3b613173d4bb8caf7a1188b110e0d5cf0195f573 | b76df0897ceb177fd4050d40530fb51c7908d14e | refs/heads/master | 2022-04-15T22:05:34.555046 | 2020-04-14T15:01:21 | 2020-04-14T15:01:21 | 254,631,202 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | h | #ifndef HISTOGRAM_H
#define HISTOGRAM_H
#include <iostream>
#include <map>
#include <vector>
class Histogram
{
std::map<int, int> bins_;
using BinsVector = std::vector<std::pair<int, int>>;
public:
Histogram(const std::vector<int> &data = std::vector<int>());
static Histogram generate(int min, int ma... | [
"piokac@gmail.com"
] | piokac@gmail.com |
b129ca1306719368b9ab54a1b24aeb476a586f3d | 6d162423c6a02ec4737796de7a2696310264dd30 | /sr-design-micro/bluetooth_command_mode/bluetooth_command_mode.ino | 076393570fc8b105d4a1ed374c32fda377b20da1 | [] | no_license | jtrovato/starfish-avocado | 3ab64bb9669d44000315ebc103c641338b2ae9ad | 91ba9481e79a9e2cda6d80b281e251dda82a0d54 | refs/heads/master | 2020-05-17T10:15:51.812329 | 2015-06-24T15:13:38 | 2015-06-24T15:13:38 | 14,433,521 | 0 | 0 | null | 2014-02-11T17:27:31 | 2013-11-15T19:48:22 | Java | UTF-8 | C++ | false | false | 4,110 | ino | /*
Example Bluetooth Serial Passthrough Sketch
by: Jim Lindblom
SparkFun Electronics
date: February 26, 2013
license: Public domain
This example sketch converts an RN-42 bluetooth module to
communicate at 9600 bps (from 115200), and passes any serial
data between Serial Monitor and bluetooth module.
*/
#inc... | [
"botelhoa92@gmail.com"
] | botelhoa92@gmail.com |
0d301edf84d7a69ecfc1f788e34f9d47e325f1c8 | a418afb0ec01cb8f41d9fcaf167f59b0f05aea90 | /Codeforces/136A.cpp | bcf872e97091dbb48e418e60165912de36ada2b8 | [] | no_license | manjurulhoque/problem-solving | 95d05960e83edde5721b73348270b6123fd3bf12 | e5547a8f5593141ac87f9797ddb25b2467c44e57 | refs/heads/master | 2022-08-08T06:44:21.839224 | 2022-07-25T09:32:26 | 2022-07-25T09:32:26 | 209,125,784 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | #include<bits/stdc++.h>
using namespace std;
/// Accepted
int main()
{
int n;
cin>>n;
int p[n+1];
for(int i = 1; i <= n; i++)
{
cin>>p[i];
}
for(int i = 1; i <= n; i++)
{
for(int j = 1; j <= n; j++)
{
if(p[j] == i)
{
cou... | [
"todoyel19@gmail.com"
] | todoyel19@gmail.com |
e0be17b21a4828daa7d78913d95add33dd026361 | 95ae94e43068a7d0f768b025cfd7bad31796ca41 | /Core/Include/handle.h | 2250857d5ddc84a0ae474f6f6863e504d1c67838 | [] | no_license | zxy888pro/Sapphire | 3f9661edef006af7669741410f8a141b17c833ba | 879e0c4fa02a856edc6937c41eae8fa52af318b4 | refs/heads/master | 2020-03-23T19:52:14.608133 | 2019-08-25T02:15:39 | 2019-08-25T02:15:39 | 142,007,038 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,842 | h | #pragma once
#include <vector>
#include <cassert>
namespace Sapphire
{
//Handle类
template<typename TAG>
class Handle
{
union
{
enum
{
//使用位域的大小
MAX_BITS_INDEX = 16,
MAX_BITS_MAGIC = 16,
//解引用断言所需要比较的大小
MAX_INDEX = (1 << MAX_BITS_INDEX) - 1, //65535
MAX_MAGIC = (1 << MAX_BITS_MAG... | [
"373982141@qq.com"
] | 373982141@qq.com |
ad53bf1973ea763893189ec4d57eec551b3dfc85 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/rice/p2p/glacier/v2/GlacierImpl_deleteFragment_9_receiveResult_9_1.cpp | 8815c0668ff9124840759fcfa6457d7afc798290 | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,585 | cpp | // Generated from /pastry-2.1/src/rice/p2p/glacier/v2/GlacierImpl.java
#include <rice/p2p/glacier/v2/GlacierImpl_deleteFragment_9_receiveResult_9_1.hpp>
#include <java/lang/Exception.hpp>
#include <java/lang/NullPointerException.hpp>
#include <java/lang/String.hpp>
#include <java/lang/StringBuilder.hpp>
#include <rice... | [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
78d87a832b217053798796c4c44727452bb26dee | 5ad9ccfa337835d535f123e55fe48b2e760ea641 | /dsa/lib/AssistDS/FuncSpec.cpp | 35abcdcb925c3984980e7a6320e1b6e096bd10ee | [
"Apache-2.0",
"NCSA"
] | permissive | lmrs2/afl_cc | 3fa1f860aef1daf6caa1b73a0ead9b2886de1930 | d074c0470ce58e15f537cdf16856ab3669c266fb | refs/heads/master | 2020-09-20T02:39:58.987994 | 2020-04-05T20:15:30 | 2020-04-05T20:15:30 | 224,359,299 | 0 | 0 | Apache-2.0 | 2020-04-05T20:15:31 | 2019-11-27T06:21:12 | C++ | UTF-8 | C++ | false | false | 4,736 | cpp | //===-- FuncSpec.cpp - Clone Functions With Constant Function Ptr Args ----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"l.simon@samsung.com"
] | l.simon@samsung.com |
492c79aa84b880da9120a993b58171f59ba5c378 | 1fff85adc5ceb532cfda64678e4adb8d08b0bf25 | /mouse/mouse/main.cpp | 889dfbc0679137409c51ec01646c6c2e0a4c7365 | [] | no_license | brotherand2/windowsprogramdemo | a60288ae9e73bb6f5ee06b408fbf00e1ba9a5dfb | 2eef34d14af4ab5b226f71be0830b23ef2510a71 | refs/heads/master | 2021-01-20T08:07:07.355873 | 2017-04-09T03:50:40 | 2017-04-09T03:50:40 | 83,894,342 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,353 | cpp | //#ifndef UNICODE
//#define tstring string
//#else
//#define tstring wstring
//#endif
#include<Windows.h>
#include<string>
#include<vector>
#include<memory>
using namespace std;
//#ifndef UNICODE
//typedef string tstring;
//#else
//typedef wstring tstring;
//#endif
#ifndef UNICODE
using tstring = ... | [
"547996854@qq.com"
] | 547996854@qq.com |
6afcfa8cde00b379018664299f1086599cffe219 | 9ff35738af78a2a93741f33eeb639d22db461c5f | /.build/Android-Debug/jni/app/Uno.Collections.List1_Enumerator__Fuse_Drawing_Contour.cpp | 920568792d0c025e9680a7af13acc0d894729e08 | [] | no_license | shingyho4/FuseProject-Minerals | aca37fbeb733974c1f97b1b0c954f4f660399154 | 643b15996e0fa540efca271b1d56cfd8736e7456 | refs/heads/master | 2016-09-06T11:19:06.904784 | 2015-06-15T09:28:09 | 2015-06-15T09:28:09 | 37,452,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,947 | cpp | // This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.1.0\Source\Uno\Collections\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#include <app/Fuse.Drawing.Contour.h>
#include <app/Uno.Collections.List__Fuse_Drawing_Contour.h>
#include <app/Uno.Collections.List1_Enumerato... | [
"hyl.hsy@gmail.com"
] | hyl.hsy@gmail.com |
621d706963dabdef1a9e4e9db984d542f3c52c44 | 25eb84256b6d9f6d8b7cbcc168226a4656fc01e3 | /testcpp/testcpp/DoMyWork2.cpp | e8e88078657f0f60610c018873f1d8298b019222 | [] | no_license | gracekim17/gracekim17.github.io | 555c654aa4f4ea5cc7353dfa4a4a765fafafa1d0 | cbc2b352e0a998d8f3c27ca3b99476a724167d1b | refs/heads/master | 2020-03-12T03:58:47.269487 | 2019-07-29T02:54:37 | 2019-07-29T02:54:37 | 130,435,202 | 0 | 0 | null | 2019-06-30T01:29:21 | 2018-04-21T03:11:11 | HTML | UTF-8 | C++ | false | false | 132 | cpp | #include "MyCommon.h"
#include "DoMyWork2.h"
void DoMyWork2::Start() {
}
DoMyWork2::DoMyWork2() {
}
DoMyWork2::~DoMyWork2() {
} | [
"jhkim@microsoft.com"
] | jhkim@microsoft.com |
5dfb2607beb0abdc65198733910c7f7a3089a867 | 74450d2e5c5d737ab8eb3f3f2e8b7d2e8b40bb5e | /github_code_index_sort/cpp/2/78.c | 0e2a77e86b36db3e7c28d5ea61d7dd5964c4c0f0 | [] | no_license | ulinka/tbcnn-attention | 10466b0925987263f722fbc53de4868812c50da7 | 55990524ce3724d5bfbcbc7fd2757abd3a3fd2de | refs/heads/master | 2020-08-28T13:59:25.013068 | 2019-05-10T08:05:37 | 2019-05-10T08:05:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,855 | c | #ifndef ALGORITHMS_MERGESORT_H
#define ALGORITHMS_MERGESORT_H
#include <vector>
#include "../IPreparable.h"
#include "../IRunnable.h"
template <class T>
class MergeSort : public IPreparable<T>, public IRunnable<T> {
public:
MergeSort() {}
~MergeSort() { delete[] tab, delete[] temp, delete[] tab_left, delete[]... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
dc62b4102c5f5d9d0fa502c05a3a6fea3dc14b5d | 80c05c1d5f69081b91e5bc270ec67df734654c56 | /window.h | 806a6bb5093d0301a32e1d71cbc8638d09efa81a | [] | no_license | jkwok678/RailwayBuilder | e2df06fa91c4cb5e00e6db43ea512b54fc164d0d | f719ec0cadaa5aa156f6637d8b6e29651b11d2ca | refs/heads/master | 2023-08-08T03:10:24.305549 | 2021-07-21T22:01:26 | 2021-07-21T22:01:26 | 388,106,327 | 0 | 2 | null | 2023-07-22T15:18:52 | 2021-07-21T12:16:16 | C++ | UTF-8 | C++ | false | false | 176 | h | #ifndef WINDOW_H
#define WINDOW_H
#include <QWidget>
class Window : public QWidget
{
Q_OBJECT
public:
Window(QWidget *parent = nullptr);
~Window();
};
#endif // WINDOW_H
| [
"jkwok678@gmail.com"
] | jkwok678@gmail.com |
d6d6abcb767a3ca4267fc7c07778f3b5ba50952d | 982a18da7f11c8b511f108777fad521294b264c1 | /serialization/src/binary.cpp | eff8b370e2b6e3dbde43776f24e1c0da4d00e6bd | [
"BSL-1.0"
] | permissive | byzhang/solidframe | 85ad5c57e216069c7c0c223cc1819abc35ca9fe6 | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | refs/heads/master | 2020-12-24T17:36:39.856464 | 2014-04-23T06:29:14 | 2014-04-23T06:29:14 | 31,628,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,195 | cpp | // serialization/src/binary.cpp
//
// Copyright (c) 2007, 2008 Valentin Palade (vipalade @ gmail . com)
//
// This file is part of SolidFrame framework.
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.
//
#include... | [
"vipalade@0b79f258-eccb-fe0a-0eba-1848281d3a48"
] | vipalade@0b79f258-eccb-fe0a-0eba-1848281d3a48 |
6207011518ead05ac4aade52eb83d36c44d5c819 | b837a750980b6a9389541cad2cbd4ad054f34e88 | /Chpt12/stringreplace.cpp | 760fe435babb86112007c27af9f3e9a6aec122d8 | [] | no_license | taekyom/StudyCPP | 58bcfa3d5e7f8ecd555f6028004867d98272a3f1 | 7cf37a8eba585404a051da05e8c2ebf0cd98476e | refs/heads/main | 2023-06-08T23:03:49.448218 | 2021-06-11T09:29:22 | 2021-06-11T09:29:22 | 371,540,370 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 198 | cpp | #include<iostream>
#include<string>
using namespace std;
int main()
{
string s1 = "독도는 우리땅";
cout << s1 << endl;
s1.replace(7, 4, "대한민국");
cout << s1 << endl;
return 0;
}
| [
"tkyoung1014@naver.com"
] | tkyoung1014@naver.com |
6202bda7ec8c373c60a0e10a6df26f368afc09de | 7b67cab222fa108d3bb9728ac5ccb8dccb820435 | /AnalysisObjects/interface/SimpleElectron.h | 2d7611681e340eb268e63fb14c7526c3f2e12bba | [] | no_license | lsilvamiguel/usercode | 5fbfa224c0be162df350cff8a6964e15d665b925 | 16e28f8126b844775853c58c0e6bba3a24e106dc | refs/heads/master | 2021-01-09T05:57:56.039791 | 2016-12-21T16:05:30 | 2016-12-21T16:05:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,856 | h | #ifndef SIMPLEELECTRON_H
#define SIMPLEELECTRON_H
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "AnalysisExamples/AnalysisObjects/interface/BaseParticle.h"
#include <cmath>
#include <vector>
/**
*
* Stores an offline electron. Inlcudes Et, had/em fraction and
* isolation.
*
* Inherits from BaseP... | [
""
] | |
65d0bc100b9e1f987651c9a5ca1ee046267f0831 | 142b7c757e236c214b8fef6e664ced8408b107ce | /src/stereo_frontend/include/opengv/src/relative_pose/CentralRelativeWeightingAdapter.cpp | 4ad0df77fd9a92b24c740364365c2bf80c816716 | [] | no_license | tshellum/multisensor-SLAM | 4fd68658b616d44bdaa56f1593fdca70328e66e0 | e05f555f7896e19f135c1fdcbf25deecaca6aa48 | refs/heads/main | 2023-05-25T21:34:16.926115 | 2021-06-03T09:59:51 | 2021-06-03T09:59:51 | 329,314,686 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,451 | cpp | /******************************************************************************
* Author: Laurent Kneip *
* Contact: kneip.laurent@gmail.com *
* License: Copyright (c) 2013 Laurent Kneip, ANU. All rights reserved. *
... | [
"thomas.s.hellum@gmail.com"
] | thomas.s.hellum@gmail.com |
d74efe920ec0250d311d67cefb109b9f909c6fd0 | 08ef02482029eb342f8eb03a618d32744638f7fe | /AGVDemo/LiftControl.cpp | 05ab0fa387121f23f3135befad4cf61da989eeb8 | [] | no_license | DDANGEUN/JellibiAGV | 9e146026f8ebdd6f196495ca88854e2a4a4c969d | 5e1193757a775acb623c965c21a364e20ee00df5 | refs/heads/master | 2020-09-05T16:55:00.188080 | 2019-11-11T07:18:46 | 2019-11-11T07:18:46 | 216,968,582 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | /**
* Copyright (c) 2019 Robot&More, jhlee@robotnmore.com(signaled@gmail.com)
*
* See the file license.txt for copying permission
*/
#include "LiftControl.h"
#include "Define.h"
LiftControl::LiftControl(uint8_t servo1Pin, uint8_t servo2Pin)
: _liftState(false)
, _servo1Pin(servo1Pin)
, _servo... | [
"poetic_star@naver.com"
] | poetic_star@naver.com |
49280126477fc400a0d0231b7f13a66676a9a8b5 | b6a4cec0400b016205f86ab68987116ae2bb9427 | /ardrone_urbi/include/libport/sys/select.h | 3013c1ccfd8933feec6b3644b1dd64c33db89eb3 | [] | no_license | pong3489/Projet_ARDrone_Track | 5d96133e31ccffedbad7f1be71b48134634deda3 | d5544a6cc18b0e355eaed131a3b4e65b97a96887 | refs/heads/master | 2021-01-18T00:45:17.313010 | 2014-02-18T20:38:53 | 2014-02-18T20:38:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,460 | h | /*
* Copyright (C) 2008-2010, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
/// \file libport/sys/selec... | [
"grancherlaura@gmail.com"
] | grancherlaura@gmail.com |
de7d67e591aa3c52e2af657f4d04836196586a0a | 4edd72f7d77e42b94cbcfdd07b0996408313b727 | /audioTest/main.cpp | f4a400c7681522300fc30391ea4d8cba59b486b1 | [] | no_license | jerryxiee/trunk | e4f6a751bf289a63ae84c0fcb153f037a2f3b555 | efe4cc168a3af52c44ee9ea57c78a31bba0f0fbf | refs/heads/main | 2023-02-10T02:53:09.146507 | 2021-01-08T07:24:10 | 2021-01-08T07:24:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp | #include "mainwindow.h"
#include <QtGui/QApplication>
#include <QtCore/QDir>
#include <QtGui/QWSServer>
#include <QtCore/QTextCodec>
#include <log4cplus/ndc.h>
#include <log4cplus/logger.h>
#include <log4cplus/fileappender.h>
#include <log4cplus/layout.h>
#include <log4cplus/loggingmacros.h>
using namespac... | [
"macian@foxmail.com"
] | macian@foxmail.com |
5757d5ac0ed578a44d3e4b29d1ee6512ca9a60d8 | 0b63fa8325233e25478b76d0b4a9a6ee3070056d | /src/appleseed/renderer/modeling/shadergroup/shadergroup.h | 76b1c72072d1f2e32a5dfe64552365583ffa0230 | [
"MIT"
] | permissive | hipopotamo-hipotalamo/appleseed | e8c61ccec64baf01b6aeb3cde4dd3031d37ece17 | eaf07e3e602218a35711e7495ac633ce210c6078 | refs/heads/master | 2020-12-07T02:39:27.454003 | 2013-10-29T13:10:59 | 2013-10-29T13:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,616 | h |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2012 Esteban Tovagliari, Jupiter Jazz Limited
//
// Permission is hereby granted, free of charge, to any person obtaini... | [
"ramenhdr@gmail.com"
] | ramenhdr@gmail.com |
7fb5cf12af941902733112b57e382f9e210a3fec | 36c31b485a5906ab514c964491b8f001a70a67f5 | /Codeforces/CF 1800 - 1899/CF1859/CF1859D.cpp | 61c245d67a5c5a89249f55df02f1017ed30b4f24 | [] | no_license | SMiles02/CompetitiveProgramming | 77926918d5512824900384639955b31b0d0a5841 | 035040538c7e2102a88a2e3587e1ca984a2d9568 | refs/heads/master | 2023-08-18T22:14:09.997704 | 2023-08-13T20:30:42 | 2023-08-13T20:30:42 | 277,504,801 | 25 | 5 | null | 2022-11-01T01:34:30 | 2020-07-06T09:54:44 | C++ | UTF-8 | C++ | false | false | 1,793 | cpp | #pragma GCC optimize("Ofast,unroll-loops")
#pragma GCC target("avx,avx2,sse,sse2")
#include <bits/stdc++.h>
using namespace std;
void solve() {
int n, q, cnt = 0;
cin >> n;
vector<array<int, 4>> p(n);
map<int, int> hash, reverse_hash;
set<int> s;
for (auto &i : p) {
for (auto &j : i) {
... | [
"mahajan.suneet2002@gmail.com"
] | mahajan.suneet2002@gmail.com |
84161e20689d4d5163ef9d5919fed0d8f1ab8b87 | eb81c5b06bc6416b2bf19c60831115f42845567b | /[200421]HW12-ok.cpp | 07a1b41f061c502f030c01a24d208f2d5c8189f3 | [] | no_license | vt167098/cpp | 3e02d6dd5b5d6dfecbb4847368efabaca99943b8 | 4fc7e27e3853448840a9dec4c58d43d238556655 | refs/heads/master | 2022-11-08T16:56:07.679818 | 2020-06-27T02:51:03 | 2020-06-27T02:51:03 | 252,230,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | cpp | #include <iostream>
using namespace std;
long double s_x,s_y;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
void point(long double x,long double y,long double offset,long int times){
if(times==-2) return;
else if(x>0&&y>0){
s_x+=x;
s_y+=y;
}
point... | [
"vt167098@hotmail.com"
] | vt167098@hotmail.com |
83ce3a2fca8cf98691c2d8fc1cf85344a288271b | 72dc23af81a49443bf595565e4a854f123cf0ba4 | /1lab/second/second/CMatrix.cpp | 674e63bc7d84a99f291f24443871142e97085a92 | [] | no_license | islamov-jahja/PP | bc595aaa53a78b3afae6d82e18ed8b07a2d34bac | 33b3ca2d9a9ce333518d47e9294860986553f987 | refs/heads/master | 2022-12-15T17:05:15.196174 | 2019-06-09T16:23:47 | 2019-06-09T16:23:47 | 179,572,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,508 | cpp | #include "stdafx.h"
#include "CMatrix.h"
CMatrix::CMatrix(string nameOfFile, int countOfFlows) :_nameOfFile(nameOfFile), _countOfFlows(countOfFlows)
{
InicializateMatrix();
CalculateCountOfFlows();
}
CMatrix::~CMatrix()
{
}
int CMatrix::GetRank()
{
int rank = 0;
HANDLE hThread = new HANDLE[_countOfFlows] ;
f... | [
"yahyaislamov15@mail.ru"
] | yahyaislamov15@mail.ru |
40f5e4ac405e6525656f525ee4915df914993e94 | 4597f9e8c2772f276904b76c334b4d181fa9f839 | /C++/Reverse-Linked-List-II.cpp | 7fc240c0601c2048bc6c51b8fc561187f20027ae | [] | no_license | xxw1122/Leetcode | 258ee541765e6b04a95e225284575e562edc4db9 | 4c991a8cd024b504ceb0ef7abd8f3cceb6be2fb8 | refs/heads/master | 2020-12-25T11:58:00.223146 | 2015-08-11T02:10:25 | 2015-08-11T02:10:25 | 40,542,869 | 2 | 6 | null | 2020-09-30T20:54:57 | 2015-08-11T13:21:17 | C++ | UTF-8 | C++ | false | false | 1,187 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* reverse(ListNode* head) {
ListNode* res = NULL;
while (head != NULL) {
ListNode* temp = head->... | [
"jiangyi0425@gmail.com"
] | jiangyi0425@gmail.com |
de5e7008b957466ca6ffe9b2b63a134e9d4de164 | c36c4306eb26bb7c5bbde291e753b9bed7730755 | /2_10/test.cpp | 29d43f236d06d8b5597569faeab32bf3b31b425c | [] | no_license | NewLearner55/C_-plusplus | 932fe6122edc5af3d92358042b9c930ba07a32c9 | 53c69e1b76f2347d3790273fbb812cc90ada0e8f | refs/heads/master | 2021-07-13T22:36:18.695935 | 2020-11-23T14:30:56 | 2020-11-23T14:30:56 | 220,611,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | cpp | #define _CRT_SECURE_NO_WARNINGS 1
class Solution {
public:
string largestNumber(vector<int>& nums) {
auto f_sort = [](const int &a, const int &b)
{
long long n_a = 10;
while (a / n_a) n_a *= 10;
long long n_b = 10;
while (b / n_b) n_b *= 10;
long long r_a = (long long)a * n_b + (long long)b;
long... | [
"564309357@qq.com"
] | 564309357@qq.com |
1309cc5540567f3108672f6960540086c99d25ea | e6b76664169516c0d9b4640974b7f23b3df33fb4 | /mp_traversals/imageTraversal/DFS.h | 6cc683b5a849aa0f4d5999c8469ab0d50922e096 | [] | no_license | shawn-programming/Data_Structure | eaabae96f7cfa1898630472dfb17dd8300313617 | 318ec05432575a41f1afd3b2aa522e9751874b73 | refs/heads/master | 2021-01-03T17:34:52.122704 | 2020-08-16T06:49:47 | 2020-08-16T06:49:47 | 240,171,315 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | /**
* @file DFS.h
*/
#pragma once
#include <iterator>
#include <cmath>
#include <list>
#include <stack>
#include <vector>
using namespace std;
#include "../cs225/PNG.h"
#include "../Point.h"
#include "ImageTraversal.h"
using namespace cs225;
/**
* A depth-first ImageTraversal.
* Derived from base class Image... | [
"shawn.programming@gmail.com"
] | shawn.programming@gmail.com |
9ffab729054acd2ebda3818c93c4f612ef51be6e | ebc8072c667052dd95385b535f553833432b82f0 | /CPP17.Data.cpp | 654768448ead7236b504bacd22dcf039d0a63148 | [
"MIT"
] | permissive | Alexandr-Galko/CppTest | a2cea1540ec6f67842def498e876126b2c6076dc | 07dfbf407bfee6f57169ce075564d5266dedbba0 | refs/heads/master | 2021-08-30T02:06:22.417614 | 2017-12-15T16:24:59 | 2017-12-15T16:24:59 | 112,743,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | ///////////////////////////////////////////////////////////////////////////////
/// brief Data
///
/// author Александр Галко - ОКБ ТСП
/// date 31.10.2017
////////////////////////////////////////////////////////////////////////////////
#include "CPP17.Data.h"
namespace CPP17
{
} // namespace CPP17
| [
"ferz.by@me.com"
] | ferz.by@me.com |
b2f1e7bb5b93fcd5b057e0f1233d36364568b8ca | 1a5c59fd9e25fef2d3e269b606d19a92383d7d6b | /src/GUIFramework/ConfigWindowManager/UnitTest/configwindowtest3.cpp | 11f4502b9d745a5212cd94da3ef8fc4e9a317b93 | [] | no_license | aguperezpala/hvdrt | e3a7b4459bfc3474016b1a889d03742498a6bbb1 | 854028d511f7e841479cab3373daab75c56c86e4 | refs/heads/master | 2021-01-01T15:35:45.982636 | 2012-10-21T23:58:42 | 2012-10-21T23:58:42 | 33,814,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | #include "configwindowtest3.h"
ConfigWindowTest3::ConfigWindowTest3(QWidget *parent)
: ConfigWindow(parent, "ConfigWindowTest3")
{
ui.setupUi(this);
}
ConfigWindowTest3::~ConfigWindowTest3()
{
}
| [
"aguperezpala@gmail.com@06da5462-caec-b45d-aab9-b80d20edd223"
] | aguperezpala@gmail.com@06da5462-caec-b45d-aab9-b80d20edd223 |
1497115f6b5f05b25504904a8229fbacf914137a | 4a121c72d48b50a9feef9f3213a83543b9c9e7ee | /qindle/ttsdemo/dbustts.h | 910d7ba876b9107b036c762e496bdb67548eb8b2 | [] | no_license | Sparks192/qindle | c94bc15502b49b2ecbd31f9c8f4efaba3a1922d1 | 933d764f405a850bcfadcf74c8e4e3df5770b9f7 | refs/heads/master | 2021-01-19T18:00:25.665878 | 2014-04-14T01:42:06 | 2014-04-14T01:42:06 | 35,550,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | h | #ifndef DBUSTTS_H
#define DBUSTTS_H
#include <QDBusInterface>
#include <QString>
class dbustts : public QDBusInterface
{
Q_OBJECT
public:
dbustts();
~dbustts();
int setTtsSVoiceStr(QString voice);
int setTtsISpeedInt(int i);
int getTtsISpeedInt();
int setTextToProcessInt(int i);
int get... | [
"lm3783@bc56459a-a753-11de-afd4-1d14fbec496b"
] | lm3783@bc56459a-a753-11de-afd4-1d14fbec496b |
edafca1c27013f34bc54bb7851db6515d4d3961a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/xgboost/xgboost-gumtree/dmlc_xgboost_old_hunk_741.cpp | 6c4e2d039403ce014026827230ca94c293e2bd5f | [] | 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 | 396 | cpp | namespace regrank{
IObjFunction* CreateObjFunction( const char *name ){
if( !strcmp("reg", name ) ) return new RegressionObj();
if( !strcmp("rank", name ) ) return new PairwiseRankObj();
if( !strcmp("softmax", name ) ) return new SoftmaxObj();
utils::E... | [
"993273596@qq.com"
] | 993273596@qq.com |
10d63b698b7dae8d8a4d9f06a2829c023a26d153 | 3c7eeeb378a3ac03a69474efa5febd6c2d4f55a4 | /src/libwinnie/src/window.cc | fb30079302cfd36db69175f2ac9343de3d7d29c5 | [] | no_license | paule32/winmgr | feece1f5de598b1c496a636f74f6850c0fe476e5 | a8042e1709cb36b2f8d716aec14185779f5035c3 | refs/heads/master | 2021-01-20T22:28:18.249500 | 2016-07-11T19:51:08 | 2016-07-11T19:51:08 | 63,097,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,496 | cc | #include <algorithm>
#include <stdio.h>
#include <string.h>
#include "gfx.h"
#include "window.h"
#include "wm.h"
Window::Window()
{
parent = 0;
title = 0;
rect.x = rect.y = 0;
rect.width = rect.height = 128;
memset(&callbacks, 0, sizeof callbacks);
dirty = true;
managed = true;
focusable = true;
state = STAT... | [
"jkallup@web.de"
] | jkallup@web.de |
9a4244b608a24bb81eac80d61c4f72150d2ef937 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_log_1683.cpp | ded52c3b4ec94eaafa1ec7331d41e15c9553c200 | [] | 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 | 310 | cpp | ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
"[%" APR_PID_T_FMT "] auth_ldap authorise: require group \"%s\": "
"authorisation failed [%s][%s]",
getpid(), t, ldc->reason, ldap_err2string(result)); | [
"993273596@qq.com"
] | 993273596@qq.com |
97f190e5285f309018b0f54ffbd564169f552691 | a4c6d8c22e5fbb5b567add9ab7e020568c692d0b | /app.cpp | f81423fe4be6c209fb98da6833b3a467d5edcd1e | [
"Apache-2.0"
] | permissive | erhoof/eapc | dd471c8077c98f73108d54def20ef800f8736733 | aceee1f24b7d49baa543b38278a930c20f8e598b | refs/heads/master | 2022-11-21T18:47:47.961175 | 2020-07-05T10:50:12 | 2020-07-05T10:50:12 | 277,159,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | cpp | #include "cpu.h"
void setup() {
}
void loop() {
// delay to make sure everything is set up
delay(2000);
cpu_t* cpu = cpu_create(128);
} | [
"b7086163@gmail.com"
] | b7086163@gmail.com |
0aa7eb62547a89330f6a796bff5069027749343f | 47ba5d5ac05434d021ba75192d171df307044d67 | /SpectrumForm.cpp | 5a9c2bf6bc13c694330be1e99fd0573a272a3ca9 | [] | no_license | ymz000/ItsFx3 | 1093213d50b68e8840b867bd80d80b0ec707c71e | 030a6ff61d22e2a33db2c0c4d9ad9fa0a3913c70 | refs/heads/master | 2022-02-27T04:52:34.267098 | 2018-09-27T09:00:12 | 2018-09-27T09:00:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,726 | cpp | #include <QVariant>
#include "gcacorr/dsp_utils.h"
#include "SpectrumForm.h"
#include "ui_SpectrumForm.h"
using namespace std;
SpectrumForm::SpectrumForm( FX3Config* cfg, QWidget *parent ) :
QWidget(parent),
router( NULL ),
ui(new Ui::SpectrumForm),
cfg( cfg ),
fft( NULL ),
fft_len( nFftDefaul... | [
"amungo.navigation@gmail.com"
] | amungo.navigation@gmail.com |
0e8001afa068d631dcd09b75b3cff1771b6484c2 | 3c60f57ec500dfd745ed08c03a71e6331ec94650 | /src/Brush.cpp | 07ee4a07db38b960f753610436062dd9d63c5ee7 | [
"MIT"
] | permissive | Hochheilige/WinAPIWrapper | 4342f13af8bc13e0b9a73fd2ed12e303829ea558 | 9998739eb44c8a72546db2af91b8521c09df8672 | refs/heads/master | 2023-03-21T09:35:33.504852 | 2021-03-22T10:00:29 | 2021-03-22T10:00:29 | 296,859,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,569 | cpp | #include "Brush.h"
namespace Waw {
Brush::Brush() {
style = BrushStyle::SOLID;
color = Color();
hatch = HatchTypes::HORIZONTAL;
bitmap = nullptr;
brush = CreateSolidBrush(color.GetColorRef());
}
Brush::Brush(const BrushStyle st, const Color clr, const HatchTypes hatch_type,
const HBITMAP bm) {
s... | [
"hochheilige01@gmail.com"
] | hochheilige01@gmail.com |
7df980638be5fb18168afa50a15fc2397d01259f | f99e4759fc5a40e780b3d319b584b766d502c031 | /CPP2 - Machiavellli/src/Server/ClientInfo.h | 81f1fb0dcb4d1e855b7c4e60288eab8e43fa3a51 | [] | no_license | beschoenen/school | 41f66dcc85190039729eb0ddc1329ac400446a78 | aba375fbb59c65577c70c5301053c5c20293498a | refs/heads/master | 2020-03-07T14:09:52.637641 | 2018-03-31T09:53:54 | 2018-03-31T09:53:54 | 127,520,045 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,983 | h | #ifndef _CLIENT_INFO_H
#define _CLIENT_INFO_H
#include <string>
#include <utility>
#include <memory>
#include "Socket.h"
#include "../Models/Player.h"
class ClientInfo
{
Socket _socket{};
Player _player{};
std::string ui_message;
public:
ClientInfo(Socket socket, const Player& player) : _socket{std:... | [
"me@kevinrichter.nl"
] | me@kevinrichter.nl |
5fdc3d3538a93fe6a89336762ecc8d59e2965906 | c976731ce836bb2af5837f8fc06c66d01dfb54fa | /TankGame/Source/TankGame/Public/Projectile.h | 0208fcd62108a601373a2f0c6e9abd022edb78c3 | [] | no_license | 7efnawy-games/TankGame | 827448824968a30e643616eafc97be87bf307e2d | 77c4cc36b42c542b4781408c3362161e3192b31b | refs/heads/master | 2020-07-03T14:00:29.531914 | 2019-10-27T18:40:49 | 2019-10-27T18:40:49 | 201,927,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,053 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Kismet/GameplayStatics.h"
#include"Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h"
#include"Runtime/Engine/Classes/Components/StaticMeshCo... | [
"youssefelhefnawy@gmail.com"
] | youssefelhefnawy@gmail.com |
785cff62bd9102febe1782948626975024820fe9 | 23b2ab84309de65b42333c87e0de088503e2cb36 | /tools/TransDB/widget.cpp | 46b05ec86d030c3a67ecd0166b3d085fb9054788 | [] | no_license | fyrestone/simple-pms | 74a771d83979690eac231a82f1c457d7b6c55f41 | 1917d5c4e14bf7829707bacb9cc2452b49d6cc2b | refs/heads/master | 2021-01-10T20:36:39.403902 | 2011-04-16T15:38:12 | 2011-04-16T15:38:12 | 32,192,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | cpp | #include "widget.h"
#include "ui_widget.h"
#include <QFileDialog>
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget),
task(Task::instance())
{
ui->setupUi(this);
connectSignalsAndSlots();
}
Widget::~Widget()
{
delete ui;
}
void Widget::changeEvent(QEvent *... | [
"zihongdelei@gmail.com@95127988-2b6b-df20-625d-5ecc0e46e2bb"
] | zihongdelei@gmail.com@95127988-2b6b-df20-625d-5ecc0e46e2bb |
cb1999641fbb77d66a24e23d1969a1d0a3b38480 | a2a2ad80e64e95c053ea29e34a40672c5ab23473 | /fast_template_matching/FAsT-Match/MatchConfig.h | a089fa6bece57b552ea084c81bde066c767b4963 | [] | no_license | TiffanyXYf/Tracking | f4f7a1ca1ab786398f0c140b302fd24399870ec4 | c8bdd18c30707117dec6f40b5052acd910374798 | refs/heads/master | 2020-05-02T20:35:37.685653 | 2019-04-08T13:41:05 | 2019-04-08T13:41:05 | 178,196,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | h | //
// MatchConfig.h
// FAsT-Match
//
// Created by Saburo Okita on 02/06/14.
// Copyright (c) 2014 Saburo Okita. All rights reserved.
//
#ifndef __FAsT_Match__MatchConfig__
#define __FAsT_Match__MatchConfig__
#include <iostream>
#include <opencv2/opencv.hpp>
namespace fast_match {
/**
* Config class tha... | [
"1627072546@qq.com"
] | 1627072546@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.