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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8aea71584f94f5fecd99a0b91f0dc0c04dda922e | 853577026ee4639812fc5a2c63ebd3dcebf60b6b | /ARTS/Algorithm/leetcode/378_kth-smallest-element-in-a-sorted-matrix/solution.cpp | bdbafec60ab9c57bedfc9032545474a344b6ed98 | [] | no_license | egolearner/documents | 8c16afaf1c2c331a1a7307b0a620b2073f6c6f7a | 89f02c8fe8f9db2f90c42fd1ced874dfa512bad5 | refs/heads/master | 2021-12-20T10:14:13.053271 | 2021-12-20T02:09:37 | 2021-12-20T02:09:37 | 174,460,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,870 | cpp | /*
* @lc app=leetcode id=378 lang=cpp
*
* [378] Kth Smallest Element in a Sorted Matrix
*
* https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/description/
*
* algorithms
* Medium (54.99%)
* Likes: 3308
* Dislikes: 175
* Total Accepted: 240.6K
* Total Submissions: 429K
* Testcase E... | [
"lijiliang@outlook.com"
] | lijiliang@outlook.com |
f557f6be24ac1aec298c56db888ebec6fa26e554 | 5cef19f12d46cafa243b087fe8d8aeae07386914 | /nowcoder/练习赛30/C.cpp | 2b9ba6064f4c9a3a833d91108b66a53fdae16b61 | [] | no_license | lych4o/competitive-programming | aaa6e1d3f7ae052cba193c5377f27470ed16208f | c5f4b98225a934f3bd3f76cbdd2184f574fe3113 | refs/heads/master | 2020-03-28T15:48:26.134836 | 2019-05-29T13:44:39 | 2019-05-29T13:44:39 | 148,627,900 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,460 | cpp | #include<bits/stdc++.h>
#define pb push_back
#define mk make_pair
#define F first
#define S second
#define sc(x) scanf("%d", &x)
#define sll(x) scanf("%lld", &x)
#define pii pair<int,int>
using namespace std;
typedef long long LL;
const int maxn = 1e4+10;
vector<pii> e[maxn];
int n, sz[maxn], mx[maxn], ms, rt;
LL dis[2... | [
"lych@lychdeMacBook-Air.local"
] | lych@lychdeMacBook-Air.local |
fbaced8406da30aef13ff0de845d19714a5ebaf5 | 5326421d3d4b272b63d3a64a99438203dba88e95 | /contour/hash.cpp | c6a30d804957ef4dc9380a2dc05b92065d6a6c2b | [] | no_license | transfix/cvc-mesher | 2d7eb953bb351a388e02d2e0a3f68a6c5dfa70cb | 466c507b622d5c397326ad03f73aad42d8cc2ba3 | refs/heads/master | 2021-01-10T20:56:08.732959 | 2014-01-11T22:52:33 | 2014-01-11T22:52:33 | 15,577,133 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | /*****************************************************************************\
*
* hash.cc -- a simple hash table
*
*
* Author: Fausto Bernardini (fxb@cs.purdue.edu)
*
* Created: Jan 26, 1996
*
\*****************************************************************************/
// $Id: hash.cpp,v 1.1.1.1 2006... | [
"transfix@sublevels.net"
] | transfix@sublevels.net |
8d8257987b8fc0885519ab9849af529956d65751 | 200df01c4c9eb9f6cca4e8b453acc782086340ef | /cpp/util.h | 2484726e1daf08264870ec01789e01e8d5724309 | [] | no_license | lacrymose/3bem | 18255b0e1e65d7f844c24ff489cb2ea817bd785d | 8558df4b0786c55593078f261e20739f40fe3701 | refs/heads/master | 2021-05-29T07:08:41.197154 | 2015-09-17T21:29:33 | 2015-09-17T21:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | h | #ifndef TBEMUTIL_H
#define TBEMUTIL_H
#include <vector>
#include <chrono>
#include "vec.h"
#include "numerics.h"
namespace tbem {
#define TIC\
std::chrono::high_resolution_clock::time_point start =\
std::chrono::high_resolution_clock::now();\
int time_ms;
#define TIC2\
start = std::chrono::high_r... | [
"t.ben.thompson@gmail.com"
] | t.ben.thompson@gmail.com |
453c0b3ddec4c9f8c4d7893a8ecfbfc347cd7d8c | d58c30c109bf5a230ce09be1aa99220ba3a2ea87 | /net/ssl/threaded_ssl_private_key.h | ad77e36078f1bffdfa6f739d0561aa0223c3d8ab | [
"BSD-3-Clause"
] | permissive | azureplus/chromium | 55126a019ccace53004601552f0c60abb4c22107 | b1d79c3bae7353740e891513770e8fccdb19b2f4 | refs/heads/master | 2023-02-27T16:03:53.924641 | 2015-11-23T18:22:09 | 2015-11-23T18:22:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,386 | h | // Copyright 2015 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 NET_SSL_THREADED_SSL_PRIVATE_KEY_H_
#define NET_SSL_THREADED_SSL_PRIVATE_KEY_H_
#include <stdint.h>
#include <vector>
#include "base/macros.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
07b3a3e7c33f2910c7939e1850ce995b7bdf1982 | c7c4346d1aa333781080897fa00d3b18e7712ca9 | /CodeForces/CF1087-D2/codes/sol/a.cpp | 903d5b101e2459a9a872a0dbec6e41ceddc26eac | [] | no_license | ajfabian/Competitive-Programming | 145d7d3491b03e1b214c24e7389009cdc36b8b13 | baef0ee9943ee475779d303402cb8be91b684a98 | refs/heads/master | 2020-05-29T17:31:49.369157 | 2019-05-29T18:41:39 | 2019-05-29T18:41:39 | 158,747,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
#define INIT ios_base::sync_with_stdio(false);\
cin.tie(0),cout.tie()
#define endl '\n'
#define fr first
#define... | [
"ajfabian960728@gmail.com"
] | ajfabian960728@gmail.com |
a40c15eb8b1ee8b55356edad9127daaeb9d33ea0 | 53798d960a6022813e35c55e9049226a315ff9e3 | /src/qt/transactionview.cpp | 105bd2f2dc75bd2f068390f76205931d50eb0e75 | [
"MIT"
] | permissive | ACB201887/acbx | 8c6cfe1a5ef5da5d5da8c69a88d70784dc376597 | 26933485d6d9cab9580942e8bbd461e76065064f | refs/heads/master | 2020-03-25T10:35:06.857735 | 2018-08-06T08:30:07 | 2018-08-06T08:30:07 | 143,697,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,969 | cpp | // Copyright (c) 2011-2016 The ACB coin bt developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transactionview.h"
#include "addresstablemodel.h"
#include "bitcoinunits.h"
#include "csvmodelwriter.h"
#include "e... | [
"test@gmail.com"
] | test@gmail.com |
a251a5cfa44732ea2d5a608a07833b40191cb1fa | 6271786c8f469909ca2faa4955260fb4fb4541ae | /src/gfx/mesh.h | a2ec5d075615ecd1bed789ebcd1daafa8b954eb2 | [
"MIT"
] | permissive | JuanDiegoMontoya/LD49 | c8b34ec3060339d3c2beb4ee4781300efbd32989 | 2fb52a07041ba9fd351cf9f392e144f4ad688b08 | refs/heads/main | 2023-08-21T09:30:04.837742 | 2021-10-26T06:55:16 | 2021-10-26T06:55:16 | 411,921,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | h | #pragma once
#include <vector>
#include <string_view>
#include <glm/vec3.hpp>
#include <glm/vec2.hpp>
namespace GFX
{
using index_t = uint32_t;
struct Vertex
{
glm::vec3 position{};
glm::vec3 normal{};
glm::vec2 texcoord{};
bool operator==(const Vertex& b) const
{
... | [
""
] | |
321c11036f0b7e3a897d684584209842956d4b63 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /content/browser/memory/memory_monitor_win_unittest.cc | ea22ac3e6ee657c9376b4c70339fc1d03aee8dc2 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 4,539 | cc | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/memory/memory_monitor_win.h"
#include "content/browser/memory/test_memory_monitor.h"
#include "testing/gtest/include/gtest/... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
f29c0eb2872a00fdb357be6300ca68daf4cd8b2c | 1ff495b70ce52df70d8434e295af92f6f3ccb6b4 | /Source/SphWithIO.cpp | bdfa4e0d2b9325271ebfeb298613318da3f9633d | [] | no_license | Artemisaturn/GRAPHICS | 6916a8bf25016c960bba7aebd1ce3e51483d3cab | ebb186333f14cfd3f11c0f154a374f2868cdad85 | refs/heads/master | 2023-02-14T03:43:14.266784 | 2021-01-12T12:32:42 | 2021-01-12T12:32:42 | 323,272,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,975 | cpp | /*
* heliangliang (heliangliang.bj@gmail.com), USTB, 2014.05.14, CopyRight Reserved
*
* The SPH algrithm is implemented based on these papers:
* 1. Smoothed particle hydrodynamics (Monaghan,J.J. 1992) [Mon92]
* 2. Smoothed particles: a new paradigm for animating highly deformable
* bodies (1996) ... | [
"no4724722205@163.com"
] | no4724722205@163.com |
d0ff23615e6ff73506782902f9e781d8558f738e | 0d0ca14c7d768739dd8d20b8a8760dc9433f76d5 | /spinlock.h | a30a643738eee4ee8aaabfa8aa33d5e5be210b90 | [
"MIT"
] | permissive | jcelerier/atomic_queue | 77302042feabcd319f298b10cf716056a2025073 | 0c9e109d502a9bb54787020b28a0ddbf8a6e0d3e | refs/heads/master | 2020-06-14T20:44:26.929177 | 2019-07-03T20:15:46 | 2019-07-03T20:15:46 | 195,120,872 | 0 | 0 | MIT | 2019-07-03T20:16:13 | 2019-07-03T20:16:12 | null | UTF-8 | C++ | false | false | 3,434 | h | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
#ifndef ATOMIC_QUEUE_SPIN_LOCK_H_INCLUDED
#define ATOMIC_QUEUE_SPIN_LOCK_H_INCLUDED
// Copyright (c) 2019 Maxim Egorushkin. MIT License. See the full licence in file LICENSE.
#include "defs.h"
#include <cstdlib>
#include <atomic>
#includ... | [
"maxim.egorushkin@gmail.com"
] | maxim.egorushkin@gmail.com |
3ff024e1c029ae83b59fbfc204a8cc4ee65b82eb | 8361ec8087ad094b150ac5c6454a4317b2917d57 | /App/Apps/IoT-Dashboard/mainwindow.h | b6444e2d02511a43630598a32ca1137622de3f1d | [
"MIT"
] | permissive | ScarecrowStraw/Ag-IoT | e852823f73f66e5e47510250cd4e5a04c2953793 | 4acf55d6bcf6016471c3545409512cc465a275ee | refs/heads/master | 2023-06-17T21:40:29.666727 | 2021-07-09T17:49:08 | 2021-07-09T17:49:08 | 384,512,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QMqttClient>
#include "SensorsMQTT.h"
#include "MushroomView.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
... | [
"00sao00ios00@gmail.com"
] | 00sao00ios00@gmail.com |
aa7430d5d8a9f25fdd5a93dd8269d56d268235a4 | 1beb5d2fe5e68b1aed0a60af72113be1042724f7 | /src/bigmemory.cpp | f8101e3c588c9da772fb975fab7f93cf187e792e | [] | no_license | hvsarma/bigmemory | bfd5fd201b9a3e81df398f1a32fef9995ada36c4 | 8c4b346807c01079c3c66d4ab96b31ce3ed6280b | refs/heads/master | 2021-01-17T08:03:25.229071 | 2013-11-18T00:00:00 | 2013-11-18T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75,813 | cpp | #include <math.h>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <algorithm>
#include "bigmemory/BigMatrix.h"
#include "bigmemory/MatrixAccessor.hpp"
#include "bigmemory/util.h"
#include "bigmemory/isna.hpp"
#include <stdio.h>
#include <R.h>
#include <Rinternals.h>
#include <Rde... | [
"csardi.gabor@gmail.com"
] | csardi.gabor@gmail.com |
08ec022680afe8a91c54ab38fc11dbb3f86451d0 | d08c09faa34d45803905f299fa205035d044276c | /Challanges/19-IOAndStreams/Source/Utility.cpp | c5f9d4d0d63767a7f19677c4e47c5013f31df1bc | [] | no_license | YvesGingras/Course-BeginningCppProgramming | 2acdc35097112e776d260c06ba629e82bc4a454a | 5a32a6fb62b74713cdf245a68d0f045a72bed0b4 | refs/heads/master | 2020-03-09T14:15:31.088204 | 2018-07-29T18:46:14 | 2018-07-29T18:46:14 | 128,830,359 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | //
// Created by Yves Gingras on 18-06-02.
//
#include <string>
#include "Utility.h"
using namespace std;
void Utility::CalculateScoresChallenge2(string& answer, const vector<string>& studentsAnswers,
vector<int>& studentsScores) {
for (auto& studentsAnswer : studentsAnswer... | [
"yves.gingras@icloud.com"
] | yves.gingras@icloud.com |
197196a21d5f6c41a492700820eb770f17bf6c64 | e852db959160bca73173529dd24266f6d546354c | /Pacwoman/pacWoman.cpp | e12d6641fcf1daa4cd11b5d3ab3c848e47b27ccd | [] | no_license | paxsentry/Pacwoman | ac1a66f7bab53561b38c918f31477de918b94344 | eeff16df633c273055f2114a43ec32012eac6b6c | refs/heads/master | 2020-12-30T13:46:07.631460 | 2017-05-25T18:57:09 | 2017-05-25T18:57:09 | 91,250,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cpp | #include "pacWoman.h"
PacWoman::PacWoman(sf::Texture& texture)
:m_visual(texture),
m_isDead(false),
m_isDying(false)
{
setOrigin(20, 20);
m_runAnimator.addFrame(sf::IntRect(0, 32, 40, 40));
m_runAnimator.addFrame(sf::IntRect(0, 72, 40, 40));
m_dieAnimator.addFrame(sf::IntRect(0, 32, 40, 4... | [
"paxsentry@gmail.com"
] | paxsentry@gmail.com |
567470fb16e23573e4f10432b5752833717b4768 | 85de750f564f4eb5559300686e3003bb7f7bec2d | /BattleTanks/Source/BattleTanks/Public/TankMovementComponent.h | 831508e27b3795774b0013a59dc9d3b6b958c90b | [] | no_license | rsofista/udemy_unreal_course_tanks | 87623ded33ddcecc6e63211c2ee6ad012845980e | 6419b86b9cc91c4063ef7d1b353423b48a3ccbdb | refs/heads/master | 2018-09-01T23:33:59.216276 | 2018-06-04T01:35:01 | 2018-06-04T01:35:01 | 107,821,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/NavMovementComponent.h"
#include "TankMovementComponent.generated.h"
class UTankTrack;
/**
*
*/
UCLASS(meta = (BlueprintSpawnableComponent))
class BATTLETANKS_API UTankMove... | [
"lucasibsteffen@gmail.com"
] | lucasibsteffen@gmail.com |
380c7046d609b81358d45e12bc7b4319421756de | 774e8271f37d0f370151ee796d49f47593127130 | /Tek2/Semester4/CPP/cpp_bomberman/includes/Ia.hh | 759b8e2b3d70d8f5866b26f9795b3c37ef2aa9e6 | [] | no_license | GaldanM/Epitech | 9253e76e7f0659091db9d6747830f14ad1d19b77 | 6aa85081747965a1d50bbdbdae238a8a2ea8bc49 | refs/heads/master | 2021-03-30T17:20:08.304384 | 2018-01-07T10:36:00 | 2018-01-07T10:36:00 | 87,180,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | hh | #ifndef BOMBERMAN_Ia_H
# define BOMBERMAN_Ia_H
# include "ACharacter.hh"
class Ia : public ACharacter
{
public:
Ia(const float, const float);
virtual ~Ia();
virtual void update(const gdl::Clock&, gdl::Input&, Map *map);
};
#endif /* BOMBERMAN_Ia_H */
| [
"g.moulinneuf@outlook.fr"
] | g.moulinneuf@outlook.fr |
1d2cb20d0b6088b756a85a24106359b8e5fe055c | a758a4a4f973557ea7d65ff10aec832dae22bdab | /SDL2Template/main.cpp | e68ad46cdd4bebc910dcc199b339d6b9e05756ec | [
"BSD-3-Clause"
] | permissive | InBetweenNames/SDL2Template | 8ced01f48848d8c663e20e7bc2ddc0d2cc7c2685 | 66e54facc36ef9cd6b279bc1203a605f0a2e3ee6 | refs/heads/master | 2020-04-15T03:58:37.762108 | 2019-03-11T22:03:38 | 2019-03-11T22:03:38 | 164,367,146 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 35,082 | cpp | #pragma warning(push, 0)
#pragma warning(disable : ALL_CODE_ANALYSIS_WARNINGS)
#include <SDL.h>
#include <SDL_ttf.h>
#include <Eigen/Dense>
#include <Eigen/StdVector>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <stdexcept>
#pragma warning(pop)
#define M_PI_F 3.1415926535897932... | [
"lookatyouhacker@gmail.com"
] | lookatyouhacker@gmail.com |
7587aca2f1cbb69a562a9ccdfb6d5567a0c1f8dc | 29dc7d8a031e7f686dc223d054cdd3ee62058371 | /Networking/Network/Inc/NetworkUtil.h | 8b4e07dcc3740af4611a20c80881c4205c271c90 | [] | no_license | teddysot/Engine | c4ca8503762570027662e28b4a4a7c6784bcbc3b | 2aaf6cdc566e7b83fd805998c708415882d288ae | refs/heads/master | 2020-04-07T21:31:30.938297 | 2018-11-22T18:00:57 | 2018-11-22T18:00:57 | 158,730,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | h | #ifndef INCLUDED_NETWORK_NETWORKUTIL_H
#define INCLUDED_NETWORK_NETWORKUTIL_H
namespace Network {
bool Initialize();
bool Terminate();
} // namspace Network
#endif // INCLUDED_NETWORK_NETWORKUTIL_H | [
"earth_sot@hotmail.com"
] | earth_sot@hotmail.com |
f5b919c952415a2d04201c178f0177e6f2a96dc2 | 40a04aa33a50401c2900cc2b4d5c6bbbc4c2684e | /src/lease/lease.h | 7706c40dd6fb5cea0671eb33257dc4ed560651d6 | [] | no_license | jwma2012/lightfs | cde98c4b1211d8d4558cb821bb4d269203c727f5 | f7e247ef8be5ade2d88d0bfafd602c0767efe1ba | refs/heads/master | 2021-10-11T15:42:15.213047 | 2018-10-30T02:06:46 | 2018-10-30T02:06:46 | 114,837,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,588 | h | #ifndef LEAFFS_LEASE_H_
#define LEAFFS_LEASE_H_
#include "common.hpp"
#include "leveldb/cache.h"
#include "leasecommon.h"
using namespace leveldb;
namespace leaffs {
class LookupCache;
class LeaseEntry {
public:
LeaseEntry() { }
virtual ~LeaseEntry() {
printf("lease\n");
}
uint64_t GetLeaseD... | [
"1453601612@qq.com"
] | 1453601612@qq.com |
905b54b8efd2baaec8aece853891cdb9bbc6bdc6 | f2b2ee9f32d033211f63a6bc6b84202bad175b44 | /VodPlayInterface/build-VodPlayInterface-Desktop_Qt_5_2_1_MinGW_32bit-Debug/debug/moc_wndpreview.cpp | 6d7837b4ed7156e18242a3dbefbfadff6124c0ed | [] | no_license | whjbinghun/learning | d10053e80983d72bcf7a8b734fb3d3311adc33b2 | 798367bb4f2a116317b49e726f8f2f0deb30c704 | refs/heads/master | 2021-01-18T23:31:11.933176 | 2016-12-30T05:21:11 | 2016-12-30T05:21:11 | 18,207,394 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,667 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'wndpreview.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.2.1)
**
** WARNING! All changes made in this file will be lost!
****************************************************... | [
"binghunjin@163.com"
] | binghunjin@163.com |
fb30446e241d46f2e749d24db52df6ca26739e8f | 64101180d6181f09a783557923a2911b091730e4 | /qt4/epc_logger/mainwindow.cpp | 076dae6f63c400033005ab8192f7e0b06bbe549a | [
"MIT"
] | permissive | qoopooh/try_git | 0494c045f3d5cf77c29411fdef9e6b00f027b261 | 1aa6655b49c780c55e7c061a0264ee22bd17b066 | refs/heads/master | 2023-06-15T09:41:43.869228 | 2023-05-28T08:51:56 | 2023-05-28T08:51:56 | 4,898,451 | 0 | 0 | null | 2023-02-26T08:13:27 | 2012-07-05T05:25:46 | C | UTF-8 | C++ | false | false | 8,390 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
const QString k_version("V1.00");
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
vcom(false),
attenuation_tout(200),
m_attn(-1),
m_db(new EpcDb())
{
ui->setupUi(this);
createLogTable();
stReader =... | [
"phuchit@aae.co.th"
] | phuchit@aae.co.th |
9b390345e1b34851b9cd51c09a8dd8ed5e3c7acd | 8fa2b538112c106c04ae7a8dcc51e8d3bb6b3d00 | /TestCpp/Classes/EffectsTest/EffectsTest.cpp | 4477728ff78d59a9267f094c6b4aa7fd0cbd7386 | [
"MIT"
] | permissive | GhostSoar/Cocos2dWindows | 3466e9507542eede012e0a7cac81750bf73e3b36 | 654a018004e358f875bedeb7c9acd6824c0734f8 | refs/heads/master | 2021-01-17T21:53:08.750479 | 2013-04-19T03:23:54 | 2013-04-19T03:23:54 | 9,644,053 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,677 | cpp | #include "pch.h"
#include "EffectsTest.h"
#include "../testResource.h"
enum {
kTagTextLayer = 1,
kTagBackground = 1,
kTagLabel = 2,
};
static int actionIdx=0;
static std::string effectsList[] =
{
"Shaky3D",
"Waves3D",
"FlipX3D",
"FlipY3D",
"Lens3D",
"Ripple3D",
"Liquid",
... | [
"mq@tuojie.com"
] | mq@tuojie.com |
f56c0c8117df67c3bf8f6f467c5b1152560a7b0c | d20cd8d62e96ef9200126a8933d6cfc0363c8f7c | /src/io/arrow_util.h | 5f7b2ab835b146e2bd1f511bf7060443af46fb82 | [
"Apache-2.0"
] | permissive | Pandinosaurus/legate.pandas | 565f9783ce8b87b5bc557b4de480af278b7e6eb4 | 9875e6f22c67c89f6fceed09e5d55d0126db2b70 | refs/heads/master | 2023-07-19T06:08:23.953705 | 2021-07-09T00:30:35 | 2021-07-09T00:30:35 | 358,820,890 | 0 | 0 | Apache-2.0 | 2021-08-08T06:14:49 | 2021-04-17T08:05:54 | C++ | UTF-8 | C++ | false | false | 2,069 | h | /* Copyright 2021 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 law or agreed... | [
"wonchanl@nvidia.com"
] | wonchanl@nvidia.com |
e3f59aeb4a9ec0ab9d510cc274a6b9ccc1f37692 | 45d300db6d241ecc7ee0bda2d73afd011e97cf28 | /OTCDerivativesCalculatorModule/Project_Cpp/lib_static/FpmlSerialized/GenClass/fpml-doc-5-4/CreditDerivativesNotices.cpp | f959559185177a9c3ea31c4f70cf8b15abfa0dc6 | [] | no_license | fagan2888/OTCDerivativesCalculatorModule | 50076076f5634ffc3b88c52ef68329415725e22d | e698e12660c0c2c0d6899eae55204d618d315532 | refs/heads/master | 2021-05-30T03:52:28.667409 | 2015-11-27T06:57:45 | 2015-11-27T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,228 | cpp | // CreditDerivativesNotices.cpp
#include "CreditDerivativesNotices.hpp"
#ifdef ConsolePrint
#include <iostream>
#endif
namespace FpmlSerialized {
CreditDerivativesNotices::CreditDerivativesNotices(TiXmlNode* xmlNode)
: ISerialized(xmlNode)
{
#ifdef ConsolePrint
std::string initialtap_ = FileManager:... | [
"math.ansang@gmail.com"
] | math.ansang@gmail.com |
8d3032a445ce476ad8311d75c554a4dc3cabe3c6 | ce1c3e64b8c19bbd5a48ea2ed87819aec1127e35 | /Plugins/Voxel/Source/VoxelEditor/Private/VoxelWorldDetails.cpp | 14069fd95bd6acb486b227ae493f13d6c0955e26 | [
"MIT"
] | permissive | whisper2shade/MarchingCubes | 903537cb8877fc1d0e52d04aa0c62440f89cf9f2 | ca788e0fc3ae4904aacdf609aea3c3b6e0127a7e | refs/heads/master | 2021-07-20T12:13:24.172682 | 2017-10-25T19:12:36 | 2017-10-25T19:12:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,095 | cpp | #include "VoxelWorldDetails.h"
#include "VoxelWorld.h"
#include "VoxelWorldEditor.h"
#include "PropertyHandle.h"
#include "DetailLayoutBuilder.h"
#include "DetailWidgetRow.h"
#include "DetailCategoryBuilder.h"
#include "IDetailsView.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/Text/STextBlock.h"
#... | [
"phyronnaz@gmail.com"
] | phyronnaz@gmail.com |
28cdcd0946d4bbe4582eaebdd720958695b13ead | 7209f41c97a2b8f2e00f9b09de101a5970a5d55c | /30. test Code/testLoRaMAC/testLoRaMAC.ino | 5be43c2b8457df107e00abd630e6df8bbcc9d69a | [] | no_license | heroydx/Arduino | cb04aa89c36618ae21baa81ea840fc1f87a11731 | 66ef22a28207d7c5062b109dc372337321a8b684 | refs/heads/master | 2021-09-28T09:18:41.386036 | 2018-11-16T08:47:36 | 2018-11-16T08:47:36 | 109,075,154 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 39,135 | ino | #include <arduino.h>
#include <LoRa_AS62.h>
#include <ListArray.h>
extern "C" {
#include "simpleHash.h"
}
void print_hex_data(char *title, uint8_t *ptr, short nLen)
{
short i;
DBGPRINTF("\n%s", title);
for (i = 0; i < nLen; i++)
{
DBGPRINTF("%02X ", *(ptr + i));
}
}
#define SIO_BAUD 115200
/*--------... | [
"312220241@qq.com"
] | 312220241@qq.com |
db510b65133fd70acd2c4035e86fa663736321ec | 295ed3717e39990c644cd38b38e97563828c3769 | /OpenGL_Mesh_Viewer/src/main.cpp | 513cd5501f1af6b2d06ac83015b82fe66b3b825e | [] | no_license | xinw3n/Computer-Graphics | 65c469bebe1298bc804cfecc3e76024ee1da377a | 12bb7981a74409e2e21861a918e6f7f96f3557cb | refs/heads/master | 2020-04-01T19:28:15.487860 | 2018-10-28T06:35:07 | 2018-10-28T06:35:07 | 153,555,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,325 | cpp | #include "gl.h"
#include <GLFW/glfw3.h>
#include <cmath>
#include <vector>
#include <cassert>
#include <iostream>
#include <sstream>
#include <vecmath.h>
#include "starter0_util.h"
#include "recorder.h"
#include "teapot.h"
using namespace std;
// Globals
uint32_t program;
// This is the list of points (3D vectors... | [
"xinwen@mit.edu"
] | xinwen@mit.edu |
b33e64459eb110ba3f3b5f227e05c9d598758e46 | 9d950e28bbb08cce5d1253e655f202d4ecbc84cb | /Qt_Quick_3_Advanced/7-4BarChartListPropertiesDemo/stair.cpp | 284b188bff9b18f2eab7d5b5820a815243eed1f4 | [] | no_license | BhushanSure/BhushanLearning | 3c3da68bbb0d211d37d252130c102e847d59c95f | f2001772be04491db93688a5759333eccd261c0c | refs/heads/main | 2023-06-12T15:57:17.600973 | 2021-07-02T15:29:13 | 2021-07-02T15:29:13 | 358,824,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | #include "stair.h"
Stair::Stair(QObject *parent) : QObject(parent)
{
}
QColor Stair::color() const
{
return m_color;
}
int Stair::value() const
{
return m_value;
}
QString Stair::text() const
{
return m_text;
}
int Stair::from() const
{
return m_from;
}
void Stair::setC... | [
"Bhushansure99@gmail.com"
] | Bhushansure99@gmail.com |
1927e994863d01ac77ed8a4d995adab4d39b9660 | 6221c88e3d55aea2d96ea38e6508d6f3ef4c18e4 | /variadic.cpp | 457328d21855805f2d0d186d6c878dc9dfbc0b48 | [] | no_license | sergiosanzllamas/navidades | 30a341d90906b3c44faf4c0312a0565af78304e1 | ad634e658c5c0d99014e94ba51db2b68cb40a462 | refs/heads/master | 2021-09-12T20:01:14.244668 | 2018-04-20T12:13:55 | 2018-04-20T12:13:55 | 115,423,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,522 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<math.h>
#define SIM 1
#define CON 2
#define ECO 3
#define SUM 1
#define RES 2
#define MUL 3
#define DIV 4
#define MAT 5
#define RAI 6
#define LOG 7
#define POR 8
#define POT 9
#define MIL 1
#define CEN 2
#define DEC 3
#define DAC 4
#define HEC 5
#define KIM 6... | [
"sanzsergio4ab@gmail.com"
] | sanzsergio4ab@gmail.com |
8bda3e1cbea276b261e39d35de7c9a05c120323b | cea0b923343e0655b85cab8fc5b2d0af11d6bed1 | /FinalProject2017/TestMessage.h | dd2828242f5874dafe4f5cf982ced7449baed132 | [] | no_license | TrevisFields/FinalProject2017 | 6c4b541730b9a69ef82de83d0d615e9de57af2ac | 883e8adfdfa40df904c91fcd26bfae4a57609971 | refs/heads/master | 2021-01-20T03:47:19.446753 | 2017-05-15T17:16:13 | 2017-05-15T17:16:13 | 89,583,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | h | #pragma once
#include <string>
class TestMessage
{
private:
std::string _Greeting();
public:
std::string _Greeting(std::string);
TestMessage();
~TestMessage();
};
| [
"tfields3@student.rcc.edu"
] | tfields3@student.rcc.edu |
f41de9d26272998c94aa09ced8766120d52983db | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-evidently/source/model/ListExperimentsResult.cpp | 8d81f3dea3682de4cf7c8f069c022fde21c816b4 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 1,304 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/evidently/model/ListExperimentsResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aw... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
8feb28dc35a9f59b52251f8817e50ea7df17b03b | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/20_util/shared_ptr/hash/1.cc | 53b9146e944cf8017b7f9a93d75042ac31b20923 | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,317 | cc | // { dg-do run { target c++11 } }
// 2010-06-11 Paolo Carlini <paolo.carlini@oracle.com>
// Copyright (C) 2010-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Pub... | [
"rink@rink.nu"
] | rink@rink.nu |
7c3b3b45df8f17d968ecd00997d7c21ba3ececf1 | 35d27f8663fcdebccb13fabab06812af96acdc4b | /codeforces/100694/j/j.cpp | 09416012909e051e518b6eaaf9b9e8d3fb5ebed4 | [] | no_license | noooaah/solved_problem | 666490ca49e0001e3919ad7f29180d59caa0a16b | fbcebe223f063623f45415548f9f265e385ddac0 | refs/heads/master | 2023-03-17T18:27:05.712309 | 2019-09-05T13:10:01 | 2019-09-05T13:10:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | cpp | /** elias **/
#include <bits/stdc++.h>
#define F first
#define S second
#define ld long double
#define pb push_back
#define sz size
#define sc(a) scanf("%d",&a)
#define scll(a) scanf("%lld",&a)
#define scc(a) scanf(" %c",&a)
#define scs(a) scanf(" %s",a)
#define me(a,b) memset(a,b,sizeof a)
#define all(a) a.begin(),a.... | [
"evoiz963@gmail.com"
] | evoiz963@gmail.com |
503362df7df951345ae436bdd346349a5d144693 | 965e156ee1f7c37484f9e702888888358b23d72b | /NarrowPhase/AABB.cpp | ec8558ba6cc2a2981d7171cb4de660ad8a86f3ee | [] | no_license | slicedpan/NarrowPhase | 0e2ea831b9c392e6aaad0854f9ed7938ffaba954 | 73a40ea04980dd1de522f3ab1783d23c63a5341d | refs/heads/master | 2016-09-06T19:46:26.978690 | 2012-02-27T12:27:54 | 2012-02-27T12:27:54 | 3,422,528 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | cpp | #include "AABB.h"
AABB::AABB(void)
{
}
AABB::~AABB(void)
{
}
AABB AABB::Transform(Mat4& transform)
{
Vec3 transformedPoint[8];
Vec3* originalPoints = GeneratePoints();
Vec3 newMax = proj(Vec4(originalPoints[0], 1) * transform);
Vec3 newMin = newMax;
for (int i = 1; i < 8; ++i)
{
transformedPoint[i] = pro... | [
"Owen@.(none)"
] | Owen@.(none) |
6e339edd0f17c7f268a7f5338b6b69bf63a9e7fc | 0070e9546c54c07e432a3b22d9a2ff6bdaedfca9 | /week4/src/AdvancedMI/elxAdvancedMIMetric.h | b6ef27fef2d6724d94a9ef2de252ecabf859d12a | [
"MIT"
] | permissive | ClumsyLee/stanford-project | c11a8fc5e01de0be17e8799a86aea1eeb2e909d3 | ab1e576446d417710e4a5a993be6b7216ce0853a | refs/heads/master | 2021-05-30T08:21:42.950494 | 2015-12-21T05:06:52 | 2015-12-21T05:06:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,760 | h | /*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* 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
*
* h... | [
"lisihan969@gmail.com"
] | lisihan969@gmail.com |
ca16044b263e238fb1835c3734c4089f48e65653 | 00f1cfc73ba05f72373fbdfd303f6f34dd3a533e | /JLJlang.m/PublicInterfaces/activemq/connector/openwire/commands/ActiveMQMessage.h | 0e79ffe6113d1ce66573d107de1eb350d55bb3df | [] | no_license | weltermann17/just-like-java | 07c7f6164d636688f9d09cdc8421e51d84fdb25f | 6517f1c1015e0b17a023b1b475fcc2f3eed9bade | refs/heads/master | 2020-06-06T08:32:13.367694 | 2014-07-01T21:19:06 | 2014-07-01T21:19:06 | 21,002,059 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,661 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | [
"weltermann17@yahoo.com"
] | weltermann17@yahoo.com |
348f56715de7954b9a5e32517e64738d253a0727 | b1be8471950a7d7a834d67b11b24d70aa7ece501 | /DemoFramework/FslDemoHost/Base/include/FslDemoHost/Base/Service/AsyncImage/Message/TryReadBitmapPromiseMessage.hpp | 076c0b3024f61a0050a04669ef894090c710fdbd | [
"GPL-1.0-or-later",
"JSON"
] | permissive | alexvonduar/gtec-demo-framework | 1b212d9b43094abdfeae61e0d2e8a258e5a97771 | 6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749 | refs/heads/master | 2021-06-15T13:25:02.498022 | 2021-03-26T06:11:43 | 2021-03-26T06:11:43 | 168,854,730 | 0 | 0 | BSD-3-Clause | 2019-03-25T23:59:42 | 2019-02-02T16:59:46 | C++ | UTF-8 | C++ | false | false | 3,209 | hpp | #ifndef FSLDEMOHOST_BASE_SERVICE_ASYNCIMAGE_MESSAGE_TRYREADBITMAPPROMISEMESSAGE_HPP
#define FSLDEMOHOST_BASE_SERVICE_ASYNCIMAGE_MESSAGE_TRYREADBITMAPPROMISEMESSAGE_HPP
/****************************************************************************************************************************************************
*... | [
"Rene.Thrane@nxp.com"
] | Rene.Thrane@nxp.com |
c82fd676dba84ac7666b2e252da885e946b867bc | 9e59067c80373ed05112e6f425121538741b38bc | /Graph/CFBakery.cpp | 79c5d4e3a2b3901dfb88032d56d0443dc0cfa1e3 | [] | no_license | Salsabil007/Grpah | 27e459b8a0ad8c39f23f13b97110e6da78d317ea | fca18eb4323f845b23c0e870cf96a8b873d1c430 | refs/heads/master | 2021-07-13T01:55:01.327697 | 2017-10-19T09:51:14 | 2017-10-19T09:51:14 | 107,527,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,136 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef pair<long long ,long long >pii;
map < pii , int > mp;
long long ifk[100000+1];
vector < pii > *arr;
class graph
{
public:
long long v;
graph(long long a)
{
v=a;
arr = new vector < pii > [a+1];
}
void addedge(long long u,long ... | [
"salsabilarabishusmi007@gmail.com"
] | salsabilarabishusmi007@gmail.com |
7ed078fcb7052b9a7f4dc3181e4646ceb8c5a87e | b81cc2a164c20b94f9d1af3550cb8626d47c3b60 | /linterpn.hpp | eb23709da6aad446968a83d54d587b744b2f6738 | [] | no_license | olbap323/plibcpp | 3b41960ebaeb162e5db6acd38d9b4b90b0861352 | 9d35350b69196bc1a478b715698b38a6759515ed | refs/heads/master | 2020-05-07T22:16:14.468958 | 2019-04-12T05:51:42 | 2019-04-12T05:51:42 | 180,939,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,814 | hpp | #pragma once
#ifndef LINTERPN_HPP_
#define LINTERPN_HPP_
#include <algorithm>
#include <vector>
typedef unsigned int uint;
class linterpn
{
// private:
public:
std::vector<uint> _size; // array with size of each dimension
std::vector<std::vector<double>> _indlsts; // the independ... | [
"olbap323@gmail.com"
] | olbap323@gmail.com |
5e346a32928f8dc7acf259ad2b869e50055a265b | 141c2fb85ec5b62fb33492aaede37e5702f06632 | /Source/PluginEditor.h | f56c72ea6d9f92ca210023dcae79c8eb0ffddc38 | [] | no_license | m1lklizard/BrachyuraVST3 | a651484aa21a8f315b5e824913bf63c82fbf1220 | 7c4caf856bd29d66e8498ebfcf75ac23ba97bdf1 | refs/heads/master | 2020-06-16T10:57:27.190584 | 2019-07-06T14:41:49 | 2019-07-06T14:41:49 | 195,547,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | h | /*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#pragma once
#include "../JuceLibraryCode/Juce... | [
"niko.niebles7@outlook.com"
] | niko.niebles7@outlook.com |
30634cc7cd546e6c77d837e976b0e14b493db04f | 46f9b3e657c6bb7491d42f0236f057f997a8bfd9 | /Linear Search/c++/main.cpp | 2596f383799642034c40a5dc4ae79d47df448390 | [] | no_license | n2oneProgrammer/AlgorithmLearn | 237db93c86c221f724faf7c593438d64911e8733 | 42a1df2362af1f34a3d05ed69a08cdf607b9e96b | refs/heads/master | 2020-04-02T03:03:30.092826 | 2018-10-20T20:56:51 | 2018-10-20T20:56:51 | 153,943,841 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include<iostream>
int Search(int length,int tab[],int searchNum){
for (int i = 0; i < length; i++) {
if (tab[i]==searchNum) {
return i+1;
}
}
return -1;
}
int main(int argc, char const *argv[]) {
int a[8]={2,3,5,4,10,-10,1,4};
std::cout << Search(8,a,10);
return 0;
}
| [
"kubawojtasik70@gmail.com"
] | kubawojtasik70@gmail.com |
782a40b35f2ed530adc614072630f24bc603bf6c | 47b41314f54517a6b2e9ccb150005583d83d22c0 | /Hmwrk/Assignment_1/Gaddis_7thEd_Chap2_Prob12_LandCalc/main.cpp | 1ca7847ff901f0cb7097f062eae303ea5db15ff9 | [] | no_license | cc119285/CarletonColleen_CSC5_40107 | 95359461445c38e23038d53708a62694296cc7be | 8bab566ea7e91e430a975dcaa62c423d6af30078 | refs/heads/master | 2021-01-12T03:00:14.143946 | 2017-02-09T17:51:49 | 2017-02-09T17:51:49 | 78,146,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | cpp | /*
* File: main.cpp
* Author: Colleen Carleton
* Created on January 4, 2017, 9:07 AM
* Purpose: Land Calculation
*/
//System Libraries Here
#include <iostream>
using namespace std;
//User Libraries Here
//Global Constants Only, No Global Variables
//Like PI, e, Gravity, or conversions
const int CNVACFT = 43... | [
"rcc"
] | rcc |
b516e9729b92a377d2c0be79e8c70bd17fc74d75 | 57e7b4f7cdfa01ed1b53049ae3811147171b1989 | /Win32xx/samples/MDIDockFrame/src/MDIFrameApp.h | 658b77ba98a7da3f5a6607fabbb2ca26966eba48 | [
"Unlicense"
] | permissive | mufunyo/VisionRGBApp | d083f34982de903a06c4f928817fdddb78ebb193 | c09092770032150083eda171a22b1a3ef0914dab | refs/heads/trunk | 2023-03-03T01:49:03.164808 | 2021-02-09T20:35:08 | 2021-02-09T20:37:05 | 324,387,638 | 2 | 1 | Unlicense | 2020-12-28T10:21:03 | 2020-12-25T15:34:00 | C++ | UTF-8 | C++ | false | false | 524 | h | //////////////////////////////////////
// MDIFrameApp.h
#ifndef MDIFRAMEAPP_H
#define MDIFRAMEAPP_H
#include "MainMDIFrm.h"
class CMDIFrameApp : public CWinApp
{
public:
CMDIFrameApp();
virtual ~CMDIFrameApp() {}
virtual BOOL InitInstance();
CMainMDIFrame& GetMDIFrame() { return m_mainMDIFrame; }
p... | [
"mf@mufunyo.net"
] | mf@mufunyo.net |
27a3a77840b2eed60d97759a99382ac0a47e688c | 60b619330a4c67cb9c598da9c3c95f9a929e6360 | /Server.h | d310c88d9a75a58df516f0f7b2ed38642848d432 | [] | no_license | 8aw8/ReplicationService | 28a4bae9898159826ab81f0a2ae90bbac7982a1b | 9f2f4c04b74b0d16e97e256bf7dd53039f95cdc2 | refs/heads/master | 2016-09-06T03:32:12.564190 | 2013-11-10T22:04:39 | 2013-11-10T22:04:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | h | #pragma once
//#include <stdio.h>
#include "winsock2.h"
#include "MyThread.h"
#include <vector>
//#include <iostream>
#include "Client.h"
using namespace std;
VOID CALLBACK MyTimerProc(
HWND hwnd, // handle to window for timer messages
UINT message, // WM_TIMER message
UINT idTimer, // timer ... | [
"mail-aw@yandex.ru"
] | mail-aw@yandex.ru |
5aeef95ad2d77c2b7f52a6cde4927f77ce5d4d4f | 927b1ceac19262d5dfb71fdfe03dc2eb0471126a | /src/net.cpp | f731f672294d4e06c6c3f1f53593df6bea2aad1c | [
"MIT"
] | permissive | cryptovein/ZedCoin | 7f3c16a4d640eeb5f1767e1fdef0e49b4dda889b | b9a72b685e0b3be069b8e477fae9aec8ab619da8 | refs/heads/master | 2020-04-04T02:01:57.575672 | 2014-03-07T02:17:09 | 2014-03-07T02:17:09 | 17,498,769 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 57,908 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Copyright (c) 2013 ZedCoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.... | [
"dev@zedcoins.com"
] | dev@zedcoins.com |
693f27997ce85892c66a6e78a4520cecaac7c7c1 | 8a8a0e5e578d5f18850b68e419a587dbb337eef3 | /Library/Il2cppBuildCache/iOS/il2cppOutput/Il2CppCCalculateFieldValues.cpp | fb5f3097bbfb45b4f3005d9da21c0dd358b77069 | [] | no_license | Ostappoo/XR-StockTaking | 6bf6ade0675ab4453bcc25b8b8dbd836de31bd4d | 65e5af79c3a56aa0159e899f49ddb8b68aa7244d | refs/heads/main | 2023-08-03T02:52:37.645518 | 2021-10-01T11:24:18 | 2021-10-01T11:24:18 | 412,438,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,945,437 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
// System.Action`1<UnityEngine.XR.ARFoundation.ARAnchorsChangedEventArgs>
struct Action_1_t2010A517B3537EF3B4D41177377C7645A9C4439C;
// System.Action`1<UnityEngine.XR.ARFoundation.... | [
"56165527+Ostappoo@users.noreply.github.com"
] | 56165527+Ostappoo@users.noreply.github.com |
23e4fed74ece3235d099a3bd6984121cc0d5f747 | e297179f022557942c1e0805667ead758cc0f0ed | /arenagameplay.cpp | c1d8e3dd99f4ae131f31cf2f736d091593040257 | [] | no_license | Sumlerd/TeachersVsStudents | e5f5868181adadb0a9258eb09933eeab27c35a29 | 8058b9ba4dc45bc761d850894573968ffd047d2c | refs/heads/master | 2021-01-19T14:41:54.696074 | 2017-04-13T16:19:02 | 2017-04-13T16:19:02 | 88,184,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,797 | cpp | #include "arenagameplay.h"
#include "arena.h"
#include "Specs.h"
#include "navigate.h"
#include "settings.h"
#include <wx/msgdlg.h>
#include "wx/dc.h"
#include "wx/dcclient.h"
#include "json/json.h"
#include <iostream>
#include <fstream>
#include "classify.h"
#include "game.h"
#include "object.h"
#include "obstacle.h"
... | [
"sumlerd@gmail.com"
] | sumlerd@gmail.com |
a033dc2697561a9190f26a160b9f14d3f0afb4a8 | c8f5645b30296b11a797b853490573c869b99f19 | /physicalkeyboard.h | cd19c16b17bdbce65dce26296c332ccc9cc632e8 | [] | no_license | JorjBauer/aiie | f61e7c8f06765794741b1b6a5c7a16db1382e3a4 | 26a0a2abd516ae0d7a8b5e6bc6a1dc85ca983fbb | refs/heads/master | 2022-02-12T05:01:45.850578 | 2022-02-10T21:10:56 | 2022-02-10T21:10:56 | 82,481,453 | 63 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 945 | h | #ifndef __PHYSICALKEYBOARD_H
#define __PHYSICALKEYBOARD_H
#include <stdint.h>
#include "vmkeyboard.h"
#define PK_ESC 0x1B
#define PK_DEL 0x7F
#define PK_RET 0x0D
#define PK_TAB 0x09
#define PK_LARR 0x08 // control-H
#define PK_RARR 0x15 // control-U
#define PK_DARR 0x0A
#define PK_UARR 0x0B
// Virtual keys
#define ... | [
"jorj@jorj.org"
] | jorj@jorj.org |
7b09d4a40ae6ca03614811fda46f41dad3c41643 | 4517a61b756f1a2c7e9684be619d872569fda30e | /lib_src/libgpu-commands/src/gpu-fphi-variables.h | f48a9ce083f22f4f33f5ed7f60a8c6c86995a50f | [] | no_license | brian09/solar-eclipse-8.5.1 | 096858b0c7a6691af665c2a07213d2ee8ce79ee1 | 9adf8b29446d4533f0cb384bdda8ecca5800e468 | refs/heads/master | 2023-06-07T21:59:03.792678 | 2021-07-02T22:21:19 | 2021-07-02T22:21:19 | 342,719,917 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,022 | h | #include "cuda_runtime.h"
#include "cublas_v2.h"
#include "gpu-exception.h"
#include "gpu-data.h"
class GPU_FPHI_Shared_Variables{
private:
void allocate_gpu_memory();
void free_gpu_memory();
public:
const int gpu_id;
const int pitch;
const int n_subjects;
float * eigenvalues;
float * eigenvectors_transposed;... | [
"bdono09@gmail.com"
] | bdono09@gmail.com |
2bc474ee86273cd753f84123081a920e003a2ad3 | b5c28ad25ac7cc86838d09411d7deef2a66ea863 | /SOAPClient/main.cpp | 6258dcac2297fad970fdab572e4de3fb7fee2213 | [] | no_license | song2010040402102/SOAP_Server_Client | 46a8f110ede139c745e788394c09f0dd0be1040c | fdb56e965a80a2e96a0ef6cfc4576ab9330560c1 | refs/heads/master | 2021-08-31T18:47:00.358921 | 2017-12-22T12:19:43 | 2017-12-22T12:19:43 | 115,112,702 | 0 | 2 | null | null | null | null | GB18030 | C++ | false | false | 1,024 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "soapStub.h"
#include "ns.nsmap"
int add(const char *server,double a,double b,double *result)
{
struct soap add_soap;
int res = 0;
soap_init(&add_soap); //初始化环境变量
soap_set_namespaces(&add_soap,namespaces);
soap_call_ns__add(&a... | [
"song_2010040402102@163.com"
] | song_2010040402102@163.com |
701ee8fc80169da06dea7c0f694e9cc88cc2d2c5 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /extensions/common/manifest_handlers/sandboxed_page_info.cc | dd5853f9aba7be86289ba6886df0c21cd855f397 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,335 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/common/manifest_handlers/sandboxed_page_info.h"
#include <stddef.h>
#include <memory>
#include "base/lazy_instance.h"
#... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
1ad32edc0161c1567a0d41f7ecfe0356d66e8608 | 286c7126518a531affc0fda945c34d4553774495 | /park/solutions/park_author_subtask3_opt.cpp | 72b446fd349a88f06145df5594ea106491f222f1 | [
"MIT"
] | permissive | indjev99/Competitive-Programming-Problems | fb5fe81089e80d737d3c24e6799d1aac583d22e1 | f5b3203fc2191ba946249af3505259f636f267ef | refs/heads/master | 2023-09-04T07:26:51.528481 | 2023-08-19T00:39:33 | 2023-08-19T00:39:33 | 171,058,102 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,789 | cpp | #include "park.h"
const int batchSize=4;
const int qpb=3; //queries per batch
const int dirs[1<<qpb]={0b0110, 0b1111, 0b0101, 0b1010, 0b1101, 0b1011, 0b1110, 0b0111};
std::pair<int, int> getEdge(int num)
{
int f,t;
f=num/2+1;
t=f+1+num%2;
return {f,t};
}
bool askAndState(const std::pair<int, int>& edg... | [
"emil.indjev@gmail.com"
] | emil.indjev@gmail.com |
bc03c2d6b9db6bf70e175f3a6ac143da8936e99f | 663f36cfff3bfaf9ad64bba430e648b0dadc0f99 | /dependencies/MyGui/Common/ItemBox/BaseCellView.h | 0d0ec90b7c02a67d2f4f7169833eff5bdf97e0a7 | [
"LGPL-3.0-only",
"Apache-2.0"
] | permissive | LiberatorUSA/GUCEF | b579a530ac40478e8d92d8c1688dce71634ec004 | 2f24399949bc2b2eb20b3f445100dd3e141fe6d5 | refs/heads/master | 2023-09-03T18:05:25.190918 | 2023-09-02T17:23:59 | 2023-09-02T17:23:59 | 24,012,676 | 9 | 15 | Apache-2.0 | 2021-07-04T04:53:42 | 2014-09-14T03:30:46 | C++ | UTF-8 | C++ | false | false | 517 | h | /*!
@file
@author Albert Semenov
@date 07/2008
@module
*/
#ifndef __BASE_CELL_VIEW_H__
#define __BASE_CELL_VIEW_H__
#include <MyGUI.h>
#include "BaseLayout/BaseLayout.h"
namespace wraps
{
template<typename DataType>
class BaseCellView :
public BaseLayout
{
public:
typedef DataType T... | [
"liberatorusa@9712d391-321d-0410-84f4-d6a0ebf28296"
] | liberatorusa@9712d391-321d-0410-84f4-d6a0ebf28296 |
4f527bb7631088926d9b9cea278a5e32b2bf16f4 | 65af047619465d143123ad7018abcc94095973ce | /salvation_src_rabbmod/src/gui/CButtons.h | 8d423760474868e9cdf5262ef956f5e3ebf0808b | [] | no_license | FardMan69420/eth32nix-rabbmod | 60948b2bdf7495fc93a7bac4a40178614e076402 | 9db19146cd2373812c1e83657190cfae07565cf5 | refs/heads/master | 2022-04-02T07:17:07.763709 | 2009-12-21T08:16:40 | 2009-12-21T08:16:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | // ETH32 - an Enemy Territory cheat for windows
// Copyright (c) 2007 eth32 team
// www.cheatersutopia.com & www.nixcoders.org
#pragma once
#include "CControl.h"
class CButton : public CControl
{
public:
CButton(const char *clabel, int cx, int cy, int cw, int ch, void (*cfunc)(void));
void Display(void... | [
"unarmed71@hotmail.com"
] | unarmed71@hotmail.com |
6f724887dce07159f6809719dfe39dd049617080 | f49af15675a8528de1f7d929e16ded0463cb88e6 | /C++/C++ Advanced/TestProjects/10ExcersieRuleOfThreeInheritancePoly/03Extractor/BufferdExtractor.h | 6c41c520182413f8437e74385f84561ec02caacf | [] | no_license | genadi1980/SoftUni | 0a5e207e0038fb7855fed7cddc088adbf4cec301 | 6562f7e6194c53d1e24b14830f637fea31375286 | refs/heads/master | 2021-01-11T18:57:36.163116 | 2019-05-18T13:37:19 | 2019-05-18T13:37:19 | 79,638,550 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | #ifndef BUFFERED_EXTRACTOR_H
#include <sstream>
#include "Extractor.h"
class BufferdExtractor : public Extractor {
protected:
std::ostringstream buffer;
bool process(char symbol, std::string& output) override {
if (shouldBuffer(symbol)) {
buffer << symbol;
return false;
}
else if (!buffer.str().empty()... | [
"genadi_georgiev@abv.bg"
] | genadi_georgiev@abv.bg |
f36ca9022ac5e9d169341cc1e6860c7f3f838475 | d48644fd41d0cfc21184efffea9979d204d4a29c | /C++/CppND-System-Monitor/include/system.h | 16b900eddddc709a36b57104d62427ccdf1c7c9f | [
"MIT"
] | permissive | JeffLearnings/LearningStuffs | 7c099ba2496390c0c9cc6a9bf6d90a6728399b4c | 1c634dceb66af7644a5d69cd569088b9d1243916 | refs/heads/master | 2023-03-24T06:23:12.517128 | 2021-03-14T14:36:37 | 2021-03-14T14:36:37 | 347,653,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | h | #ifndef SYSTEM_H
#define SYSTEM_H
#include <string>
#include <vector>
#include "linux_parser.h"
#include "process.h"
#include "processor.h"
class System {
public:
Processor& Cpu(); // : See src/system.cpp
std::vector<Process>& Processes(); // : See src/system.cpp
float MemoryUtilization(); ... | [
"mainameejeff@gmail.com"
] | mainameejeff@gmail.com |
47651e7a49c32800d61a7126e1c2a751ad243d4d | b571a0ae02b7275b52499c66a756d10815136326 | /0966.Vowel.Spellchecker/sol.cpp | c18cf7a2ff006afea18888c9a5bf7e74e1d29346 | [] | no_license | xjs-js/leetcode | 386f9acf89f7e69b5370fdeffa9e5120cf57f868 | ef7601cbac1a64339e519d263604f046c747eda8 | refs/heads/master | 2022-02-02T00:51:23.798702 | 2022-01-19T14:48:13 | 2022-01-19T14:48:13 | 89,140,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103,832 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <unordered_map>
#include <chrono>
using namespace std;
class Solution {
public:
string getLower(string data) {
std::transform(data.begin(), data.end(), data.begin(),
[](unsigned char c){ return std::tolower(c)... | [
"xjs.js@outlook.com"
] | xjs.js@outlook.com |
dd9588015ef6b288ba28dbbc37455630710b77c4 | b4c6e0f404ca1b174a8183d4a8f2791760fb6a94 | /Source/lua-common/LuaValue.h | e970f2c4e1344f3556a944f8ec65f09dd7b9e3fd | [
"Apache-2.0"
] | permissive | kerasking/LuaScriptCore | 2d6099eb05122d76e168b0a571114e123c2b8dfd | ce2a6fb37afbeb9a92edfcb10be7e2cf0226beaa | refs/heads/master | 2020-03-21T12:05:58.442175 | 2018-05-25T03:36:37 | 2018-05-25T03:36:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,388 | h | //
// Created by vimfung on 16/8/23.
//
#ifndef SAMPLE_LUAVALUE_H
#define SAMPLE_LUAVALUE_H
#include <string>
#include <list>
#include <map>
#include "lua.hpp"
#include "LuaObject.h"
#include "LuaDefined.h"
#include "LuaContext.h"
namespace cn
{
namespace vimfung
{
namespace luascriptcore
{
... | [
"vimfung@qq.com"
] | vimfung@qq.com |
335c434b372ac02a9710f7c4eaff7145ffffe820 | b4d2c11218f4dee2856fb60b208143133ba2e0b2 | /Qt_frontend/SerialPortDLL/serialportdll.cpp | 2db429ec06fb019acb28a8f9e218be35c460ee2d | [] | no_license | Akllu/BankSimul | 92e13cf34ad45dcf0c54c352a3c076e4e41b0861 | 87e140f7955f1eadc1c5f6700a0d6722105fb9d8 | refs/heads/main | 2023-04-15T04:58:55.115916 | 2021-04-28T09:31:24 | 2021-04-28T09:31:24 | 352,922,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cpp | #include "serialportdll.h"
SerialPortDLL::SerialPortDLL(QObject *parent) : QObject(parent) //dllSerialportin constructori
{
pEngine = new engine(this);
connect(pEngine,SIGNAL(SignalFromEngine(QString)),
this,SLOT(receiveData(QString)));
}
SerialPortDLL::~SerialPortDLL() //dllSerialPortin destruc... | [
"a.kalliokoski@hotmail.com"
] | a.kalliokoski@hotmail.com |
5b8c8002ae2bdc530297f196c39c0b636970160a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_old_new_old_log_1557.cpp | 76de5bc8503e4a76b76e5fdeb85d8d935ea315bb | [] | 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 | 27 | cpp | sprintf(firstLine, "O)k"); | [
"993273596@qq.com"
] | 993273596@qq.com |
b1ccc6569bdc90adedf05866c4b6f9bcbb8bf443 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/libaddressinput/src/cpp/src/region_data.cc | 798501edcd98a7407b5141375f013e49d7fe6a05 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,556 | cc | // Copyright (C) 2014 Google Inc.
//
// 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 ... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
7306b45efb1e64b6922f807448ae6693ad4cb044 | 48facd435a66c339af02cffea4afe43d743ebd09 | /Bowengine/Bowengine.h | 312ac5aeaa9d06e29a7d750cc7bd77fe71a929cd | [] | no_license | CrazyRagdoll/Sambow | 9bba2449b8b7dad55f8cde490588032948b06a18 | 3d942476776d79407651893e923c0bc6410766fe | refs/heads/master | 2021-01-17T14:20:18.060689 | 2018-03-26T22:18:48 | 2018-03-26T22:18:48 | 84,085,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59 | h | #pragma once
namespace Bowengine {
extern int init();
} | [
"Samuel_bowen_1994@hotmail.co.uk"
] | Samuel_bowen_1994@hotmail.co.uk |
de431eff1952c5c4b05efaf77be0239646874e7d | e98ee8e6ca71d6152d5e6068ee7c73d5b0a7befb | /core/VisionTool/srm.cpp | 94b4f5f78dcbc58057bfb133a5ca596ca1b715e6 | [] | no_license | liuyouzhao/warehouse_robot_breakstack_vison | f652fb10bbc3d8c11ad3228e602d81e3f2ac647e | ef59aae67f012dfdb8b81870067bae70a55fc0e1 | refs/heads/master | 2021-09-21T15:07:37.207303 | 2018-08-28T03:16:10 | 2018-08-28T03:16:10 | 109,553,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,512 | cpp | #include "srm.h"
#include <math.h>
#ifdef UNIX
#include <string.h>
#include <stdio.h>
#else
#include <string>
#endif
template<class T>
SRM<T>::SRM(double _Q, unsigned int _width, unsigned int _height, T *_in, float* _normal, int _smallRegion, int _max, double _threshold) :
width(_width), height(_height), Q(... | [
"hujia.liuhj@alibaba-inc.com"
] | hujia.liuhj@alibaba-inc.com |
b82f627635fcdef9ade0e0b40e18d4f0474d38bd | e59ad4d3e078d5414f5c965d32865df3c87b0fc2 | /include/etl/impl/blas/outer.hpp | 666a9165feb7d1a95b2f2b23b89c77b2755287f2 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ezhangle/etl | 529c82fa1b32b114ae9d5ce8c60956038ae72df2 | f2adb3abf9e29eb10a13743dabfb33552e14a51f | refs/heads/master | 2020-06-20T02:52:24.407028 | 2016-11-26T22:40:42 | 2016-11-26T22:40:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | hpp | //=======================================================================
// Copyright (c) 2014-2016 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
758b00574e34b4f05299f885c4c760d3e9dcb967 | 435b3d86418c9c62150e2f791caa476e1b1412d7 | /include/chobo/profiling/ReportAggregatorPolicy.h | b4cb847e24dc508fab2f39735faa95b1b1ffc8a3 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iCodeIN/chobo-profiling | 7628a2d7d339a9e774297f7ba25928a90b73d721 | d17ba9a1ae0eca6f3e48b8b15a3e7a3b080b1127 | refs/heads/master | 2023-03-15T12:22:24.664994 | 2018-01-18T08:29:10 | 2018-01-18T08:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | h | //
// chobo-profiling
// Copyright (c) 2015-2018 Chobolabs Inc.
// http://www.chobolabs.com/
//
// Distributed under the MIT Software License
// See accompanying file LICENSE.txt or copy at
// http://opensource.org/licenses/MIT
//
#pragma once
#include "Config.h"
#include <vector>
#include <memory>
namespace chobo ... | [
"b.stanimirov@abv.bg"
] | b.stanimirov@abv.bg |
389126e7d1f9d285cb06cdedd6ad3b82d41fe8e1 | 33546aee6429d5b8f19a02e14699b6ebb5b34af8 | /src/chrome/browser/google/google_url_tracker.cc | 792c5016799d59ee211bb2ef32c2b21d2ccc411e | [
"BSD-3-Clause"
] | permissive | mYoda/CustomBrs | bdbf992c0db0bf2fd1821fa1fd0120ac77ffc011 | 493fc461eb7ea7321c51c6831fe737cfb21fdd3e | refs/heads/master | 2022-11-22T09:11:37.873894 | 2022-11-10T10:02:49 | 2022-11-10T10:02:49 | 24,951,822 | 0 | 1 | null | 2022-11-02T14:39:34 | 2014-10-08T17:22:30 | C++ | UTF-8 | C++ | false | false | 17,934 | 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/google/google_url_tracker.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/prefs/pref_service.h"
#inc... | [
"nechayukanton@gmail.com"
] | nechayukanton@gmail.com |
9932c8d47da6d8a89227651283d8773e39f0a083 | c51f23f0553bbf70aefb401ecd26d679af264382 | /src/masternode.h | 019b7b60131da8cb691893d5ef7ca549d95282d1 | [
"MIT"
] | permissive | TerraCash-Project/TerraCash | 4c2e53cd4dacdf6fc869545c6b54976015b14afd | c9401d50641fea311e023cea161b435ef5947a50 | refs/heads/master | 2020-07-03T22:10:08.670999 | 2019-08-13T06:34:01 | 2019-08-13T06:34:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,970 | h | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODE_H
#define MASTERNODE_H
#include "base58.h"
#include "key.h"
#i... | [
"marquisogre@gmail.com"
] | marquisogre@gmail.com |
c44e5772c73a981110d625412242eebcfd771727 | 24a5f0aeaf592975de9991dca44d19c3b88fb040 | /NewVision/ObstacleModel.cpp | dd7eabd99c0471a92c3c7b38918944e224e8d57f | [] | no_license | githubbar/NewVision | 224881896acb058e680e57bf3631cfbc30dbd898 | cf58ac4281eff2093dba392cfe03e167816adb79 | refs/heads/master | 2016-09-14T09:34:45.185727 | 2016-04-25T14:02:58 | 2016-04-25T14:02:58 | 57,046,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,790 | cpp | #include "StdAfx.h"
#include "Globals.h"
#include "ObstacleModel.h"
#include "Object3D.h"
#include "NewVisionDoc.h"
#include "NewVisionView.h"
#include "Cuboid.h"
#using <mscorlib.dll>
#using <System.dll>
using namespace System;
using namespace System::Diagnostics;
IMPLEMENT_SERIAL(ObstacleModel, CObject, 1)
// -----... | [
"oleykin@hotmail.com"
] | oleykin@hotmail.com |
8ba0bda712f731abc00e29c6a6b46d763135c586 | f3e8763986e20bbcb37719cbf9f404a63cc8b933 | /RC_ios/Classes/TrackMaker.cpp | 1d1da54ddb14c164e090a9eda2fbbd0a02415372 | [] | no_license | rezajarot/nutcalc | 55d480e39b42dddd9e16bc12ff3bd0c0b0e504ec | f9b0f4fce8251be2d8479918e46561a24065308c | refs/heads/master | 2020-12-30T11:15:29.492783 | 2012-09-25T16:32:37 | 2012-09-25T16:32:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,926 | cpp |
#include "TrackMaker.h"
#include <math.h>
#ifndef Sqr
#define Sqr(x) ((x)*(x))
#endif
int Abs( int nVal )
{
return nVal < 0 ? -(nVal) : nVal;
}
#ifndef PI
#define PI 3.1415926535897932384626433832795
#endif
LevelInformation LEVEL_INFO_ARRAY_FOR_IPHONE[LV_NUM] =
{
//Level1
{
158, 430, 2... | [
"ramjaili3000@gmail.com"
] | ramjaili3000@gmail.com |
a2f0f72cebb38ad2006145b9f2541b7b174e9da1 | 0aa55ea844443e9c23fef4fc627155c9e94c5610 | /chapter-10/10.41.cpp | ed28069a935712babb335fba74630541cf1970f6 | [
"MIT"
] | permissive | zero4drift/Cpp-Primer-5th-Exercises | c17d1bd0d93a9c34451fd21c69c991173e4e12f7 | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | refs/heads/master | 2020-03-09T00:32:19.886544 | 2019-01-09T03:09:04 | 2019-01-09T03:09:04 | 128,490,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | // replace(beg, end, old_val, new_val)
// replaces old_val among elements spedified by [beg, end) with new_val
// replace_if(beg, end, pred. new_val)
// replaces element which makes pred return non-zero result with new_val, element belongs to the range spedified by [beg, end).
// replace_copy(beg, end, dest, old_val,... | [
"fang0052@e.ntu.edu.sg"
] | fang0052@e.ntu.edu.sg |
3adb30823bd72cf3ec204717f2bee22bf511f648 | 05886b2109001bd717460b65e48c9d2c2c5b7864 | /baumwelch.cc | 9ce28db132d10c6d48c6b25f0c7c7901c815f3d8 | [] | no_license | gjpp/baumwelch | 9d198020fbd1dba7ca50d2d6106bcedc89716dcc | 9cdfa67c365b6add1e0fa1bb313ec78b887c80d9 | refs/heads/master | 2020-05-04T08:09:49.704944 | 2014-07-19T23:15:16 | 2014-07-19T23:15:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,116 | cc | #include <cmath>
#include <iostream>
#include <string>
namespace stattools
{
template <int N, int k> struct TPOW
{
static const int _value = N * TPOW<N,k-1>::_value;
};
template <int N> struct TPOW<N, 0>
{
static const int _value = 1;
};
template<int N, int k, int P> class BaumWelch
... | [
"coke0@achiral.net"
] | coke0@achiral.net |
49d863999175f34d875b4968a3b55249dc6ea1d7 | 6d262e1e3f104f316cb8c3b3c9cfd5ddbb5cc6e3 | /Source/Common/Menus/SplashMenu.cpp | 11f44353d324641ff45e2729d19f22132c580a56 | [] | no_license | doug0102/GAM1514FinalProject | 594819061bb10dcb19a4a59ac8cb5f4e241882c5 | d2c693648607f48610a59e52726fa10076bed302 | refs/heads/master | 2020-06-06T02:35:08.380462 | 2013-12-12T20:15:27 | 2013-12-12T20:15:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | #include "SplashMenu.h"
#include "../UI/UIButton.h"
#include "../Screen Manager/ScreenManager.h"
SplashMenu::SplashMenu() : Menu (NULL, NULL)
{
addButton(new UIButton("ButtonSplash"));
}
SplashMenu::~SplashMenu()
{
}
const char* SplashMenu::getName()
{
return SPLASH_SCREEN_NAME;
}
void SplashMenu::buttonAction(U... | [
"doug0102@algonquincollege.com"
] | doug0102@algonquincollege.com |
5acdab262f06bdca654012825d82ba3371ab630d | 0dca3325c194509a48d0c4056909175d6c29f7bc | /ddoscoo/src/model/CreateTagResourcesRequest.cc | 59be5caad4fbf942d394e9d20d2898c89aa7493a | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,839 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
8efb97ed0bd1ea374297b46900c8cde1d3d7da14 | fe1af6c53666464c7ae82a33e2b2f0a40f05ebfc | /round_392/A.cpp | d8c9826e50f1727357f048bd89551dfd3bda7098 | [] | no_license | kushagra7589/codeforces-contests | 6320af5f6d93db38a64f28d918fc3a274e296aee | 0870a850d5be7b8b2c6f6d8c24f0caf5ab6eaa9c | refs/heads/master | 2021-07-10T08:41:30.975195 | 2017-10-07T12:06:10 | 2017-10-07T12:06:10 | 104,304,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define F first
#define S second
int main()
{
ios_base::sync_with_stdio(false);
ll n;
cin >> n;
if(n == 1)
cout << 3;
else if(n == 2)
cout << 4;
else if(n % 2 == 1)
cout << 1;
else
{
cout << n-2;
}
cout << endl;
return 0;
} | [
"kushagra15049@iiitd.ac.in"
] | kushagra15049@iiitd.ac.in |
b879a90d2678773c0720be95497ab5d5c3027f2d | 2d4221efb0beb3d28118d065261791d431f4518a | /O界面描述语言/source/OFL/WndInterface/windows/OWI_Toolbar.cpp | 4b4ade032af8e9e5d647787a10abd4218df49ae8 | [] | no_license | ophyos/olanguage | 3ea9304da44f54110297a5abe31b051a13330db3 | 38d89352e48c2e687fd9410ffc59636f2431f006 | refs/heads/master | 2021-01-10T05:54:10.604301 | 2010-03-23T11:38:51 | 2010-03-23T11:38:51 | 48,682,489 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,867 | cpp |
#include "OWI_Toolbar.h"
#include "../../CreateWnd/windows/OFControl.h"
//////////////////////////////////////////////////////////////////////////
//ToolbarButton
OFL_API int _stdcall ToolbarButton_GetIndex(void* pToolbarButton)
{
return ((ToolbarButton*)pToolbarButton)->GetIndex();
}
OFL_API int _stdc... | [
"olanguage@163.com"
] | olanguage@163.com |
4f52abd6281963cd7afde23da288023bb9b3e194 | c9810be894e44b85db1f84a442eedccfe1139a27 | /state-machine/state-machine/IStateMachine.cpp | 5a6b1fce2b0583a74e1d0838690d207982efb236 | [] | no_license | Jdichiera/learning-and-research | 1a42888af2310090c60fcb59d981895245cbf5b0 | fe45cf6db23fe01d24503b982e5d9f42a9680ec0 | refs/heads/master | 2021-05-01T18:56:03.125693 | 2018-02-20T11:28:43 | 2018-02-20T11:28:43 | 121,009,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | #include "IStateMachine.h"
//IStateMachine IStateMachine::GetMachine()
//{
// IStateMachine machine = NULL;
// while (machine == NULL) {
// std
// }
// return IStateMachine();
//}
| [
"Jeramy.Dichiera@gmail.com"
] | Jeramy.Dichiera@gmail.com |
c7141353960c18061dc65dafabfd004ddae37770 | 052515404d640ae4ec3c26fb9c381af39b7dcf8f | /asim/Clock.cpp | 0d5619d502ad1bc08b60db886273df42faf65a09 | [] | no_license | JavaZhangYin/coding | 6a7bf048cccf8989bec7bf59e96189148383688e | eb34ce4967ad368110aacfbbeb851bd870f9d049 | refs/heads/master | 2021-01-15T19:13:33.600351 | 2015-11-21T06:40:52 | 2015-11-21T06:40:52 | 52,257,313 | 1 | 1 | null | 2016-02-22T08:05:49 | 2016-02-22T08:05:48 | null | UTF-8 | C++ | false | false | 1,712 | cpp | #include<iostream>
#include<unistd.h>
#include<iomanip>
using namespace std;
// Asim problem II 2/19/2014
class Clock {
private:
int hour, minute, second;
public:
Clock():hour(0),minute(0),second(0){}
Clock(int h, int m, int s):hour(h),minute(m),second(s){}
// setters.
void setHour(int h) { hour = h; } ... | [
"sguo@cilab01.archlab.local"
] | sguo@cilab01.archlab.local |
a906310c66439b04e32845a0a137f8fa1c5881a2 | c45c3e1a65fd057376bb936a524dc1634b71b696 | /rocket-chip/emulator/progs/benchmarks/char_pagerank/pagerank.cpp | 278eba35a9c067d00506ba02b53842e047f463cc | [
"LicenseRef-scancode-bsd-3-clause-jtag",
"Apache-2.0"
] | permissive | yeeyeesheenworld/MetaSys | 46ae6ddf83846719f8004ff2b194a3b0a7fecb85 | e21ccd2860943bc1d272031566bfad634dfafc13 | refs/heads/main | 2023-06-20T16:04:44.850209 | 2021-07-09T18:59:06 | 2021-07-09T18:59:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,604 | cpp | #include <cstdlib>
#include <cstdio>
#include "crosslayer.h"
#include "HPC.h"
#ifndef GRANULARITY
#define GRANULARITY 20
#endif
struct csr{
int* row_ptr;
int* col_ptr;
int* val;
int size;
int vertices;
int edges;
};
typedef struct csr csr;
HPC perfMon;
csr csr_graph;
int stride;
void read_grap... | [
"olgunataberk@gmail.com"
] | olgunataberk@gmail.com |
2650893198afb7c11789875757933dbfcd0c102e | c8023e6bfefac7b575bc6d1ee214132e706d548b | /utilities/Events.cpp | a9cc410800c4762196c055d88438697d5ab9bfb4 | [] | no_license | t1meshift/procjam2020 | 1e1cd5f736afcb33d4e17e0bd618d26359975009 | da734fbcff7054e7bbae8e80c8c63174fd497682 | refs/heads/master | 2023-02-05T10:06:06.029440 | 2020-12-12T12:22:02 | 2020-12-12T12:22:02 | 320,808,421 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | #include "Events.h"
namespace pj::utilities {
void EventEmitter::addListener(const std::string &eventId, const std::function<void()>& callback) {
auto it = listeners_.find(eventId);
listeners_[eventId].push_back(callback);
}
void EventEmitter::clearListeners(const std::string &eventId) {... | [
"sh1ftr@protonmail.ch"
] | sh1ftr@protonmail.ch |
1df2937605d5196f143d0c3a8f497ec1a53fd68e | ce146608016b01230e61cc01e4c3c5cb055c3278 | /src/data-structures/src/math/CutoffPowerLaw.cc | caeb5b19cfe8f4a1680fccdb0d43778e74a613cc | [
"BSD-2-Clause"
] | permissive | rjlauer/aerie-liff | 6e68939526a75ecdd3e96cc79b7ccdaffbb9f4ff | 37028df563a006ab4616ce329384f2a600b6f6c8 | refs/heads/master | 2021-01-19T08:35:15.953509 | 2017-08-18T22:07:51 | 2017-08-18T22:07:51 | 100,654,300 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,232 | cc | /*!
* @file CutoffPowerLaw.cc
* @brief Implementation of cutoff power law functions
* @author Segev BenZvi
* @date 18 Apr 2012
* @version $Id: CutoffPowerLaw.cc 14879 2013-04-27 16:21:17Z sybenzvi $
*/
#include <data-structures/math/CutoffPowerLaw.h>
#include <data-structures/math/SpecialFunctions.h>
#include <... | [
"rjlauer@unm.edu"
] | rjlauer@unm.edu |
2831c3563816a4223b6b1ce3b393f4ccb2145af9 | 4d22f318f8de87b2cf2dcc2193021eb7f28060f2 | /InterviewBit/Linked Lists/Swap list nodes in pairs.cpp | d2fde6068acb18428668e416672cf28d85595b29 | [] | no_license | krishnateja-nanduri/MyCodePractice | f97f710a684c6098d6f52b3bbcce9a8ca0dbad80 | de6b9f19fb694c54ce847153d3ce14279e1b60fc | refs/heads/master | 2021-09-07T03:54:08.583326 | 2018-02-16T23:30:21 | 2018-02-16T23:30:21 | 104,292,690 | 1 | 1 | null | 2018-02-08T22:14:12 | 2017-09-21T02:39:22 | C++ | UTF-8 | C++ | false | false | 636 | cpp | //https://www.interviewbit.com/problems/swap-list-nodes-in-pairs/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
ListNode* Solution::swapPairs(ListNode* head) {
ListNode *dummy = new ListNode(-1), *... | [
"krishnateja.nanduri@gmail.com"
] | krishnateja.nanduri@gmail.com |
6f4769b88592c9cca4186ee19eb9a67f78aaa303 | 51a58bcf0dc5436e20241180efa7476bfd1937a9 | /FileIO/XmlIO/XMLInterface.h | 09dc9082839e55b4b971c691f6b4fe1948ec992b | [] | no_license | ChaofanChen/ogs5_bhe | 63b6f016f76f8d793efb69eb90efb78069d7dfcb | 18db624140f64631a9652e9bff5c7f8083201b8c | refs/heads/master | 2020-03-12T15:22:10.125612 | 2018-12-14T11:29:29 | 2018-12-14T11:29:29 | 130,688,198 | 0 | 2 | null | 2018-06-12T22:58:55 | 2018-04-23T11:47:05 | C++ | UTF-8 | C++ | false | false | 2,096 | h | /**
* \file XMLInterface.h
* 18/02/2010 KR Initial implementation
*/
#ifndef XMLINTERFACE_H
#define XMLINTERFACE_H
#include "ProjectData.h"
#include <QXmlStreamReader>
#include "Writer.h"
class FEMCondition;
class QFile;
class QDomDocument;
class QDomNode;
class QDomElement;
namespace FileIO
{
/**
* \brief B... | [
"lars.bilke@ufz.de"
] | lars.bilke@ufz.de |
380b26d2fe14b4b4eb20b28f4653ccbc153306b3 | e4b7519f8bd1fdd52afb9acc9d81977506285cee | /CPP/1201-1300/1244-Design-a-Leaderboard.cpp | baedbe74eb9ba8bea43cd0d7726f70b46385b3f4 | [
"BSD-3-Clause"
] | permissive | orangezeit/leetcode | e247ab03abbf4822eeaf555606fb4a440ee44fcf | b4dca0bbd93d714fdb755ec7dcf55983a4088ecd | refs/heads/master | 2021-06-10T03:05:14.655802 | 2020-10-02T06:31:12 | 2020-10-02T06:31:12 | 137,080,784 | 2 | 0 | null | 2018-06-12T14:17:30 | 2018-06-12T14:07:20 | null | UTF-8 | C++ | false | false | 1,270 | cpp | class Leaderboard {
public:
map<int, int> board;
unordered_map<int, int> players;
Leaderboard() {
}
void addScore(int playerId, int score) {
if (players.count(playerId)) {
int c = players[playerId];
players[playerId] += score;
board[c]--;
if ... | [
"yfluo@bu.edu"
] | yfluo@bu.edu |
dd127ed362fa1ddced2ae9644472136f67f56cff | 891bd0ed1715fa8e458622b12de9bf944ea7e421 | /C++/Longest_Palindrome_Substring.cpp | 06959ea911ece8d45d5c1aea2b79af9be199f627 | [] | no_license | agil98/Leetcode | d224b0fa63d58d8c9d7af32d19c3dfb5c6d668b2 | 4928a9e7209889415c38b7eb5e7ad4c1b59912da | refs/heads/master | 2023-07-12T22:02:26.480940 | 2021-08-17T05:19:48 | 2021-08-17T05:19:48 | 365,109,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | class Solution {
public:
bool isPalindrome(string s) {
s.erase(remove_if(s.begin(), s.end(), [](char c) { return !isalnum(c); } ), s.end()); // removes all special characters
for_each(s.begin(), s.end(), [](char & c) { c = tolower(c); }); // lowercase
string c = s;
reverse(c.begin(),... | [
"alexandra.gil@hotmail.ca"
] | alexandra.gil@hotmail.ca |
7573387b7658fe64f8d8fd511367c846b1e09c87 | fae78186cb8e64c3022760d7e4264ef12fe01019 | /Code/AC_HDOJ_arthuryang/1878.cpp | 4490b74ba2fd83d69ef2ebdf4d9adec06315748c | [] | no_license | arthuryangcs/ACM | 295758c942de72822552a432c08d77f93b705284 | c4cf163995d93d18a7a124ccb2754bfa7290b21c | refs/heads/master | 2021-05-28T11:29:42.678009 | 2015-02-01T06:52:59 | 2015-02-01T06:52:59 | 27,126,740 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,213 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: arthuryang
////Nickname: ArthurYang
////Run ID:
////Submit time: 2013-12-25 17:03:49
////Compiler: GUN C++
///////... | [
"980224951@qq.com"
] | 980224951@qq.com |
6fa56c764e23b6d0207882d68582c04c05427a8e | 2d67ef3d7dfd512b1c58a6a1862fd2bf4dccb212 | /src/Scenes/BaigaeshiScene.h | 737e8de4e67c7697775d3f7cf93c6c2a84b1cd9b | [] | no_license | genkitoyama/0728_DancePerformance | e56687305fb102b23f9bda2be5b65e5dc13a9a3d | 38592233b49d210d0e0304c15d8d6ac83a067e27 | refs/heads/master | 2021-01-09T20:34:56.145170 | 2016-07-26T03:56:59 | 2016-07-26T03:56:59 | 64,187,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | h | //
// BaigaeshiScene.h
// 0729_DancePerformance
//
// Created by Toyama Genki on 2016/07/25.
//
//
#pragma once
#include "ofxState.h"
class BaigaeshiScene : public itg::ofxState<SharedData>
{
public:
ofVideoPlayer _video;
string getName()
{
return FILE;
}
void setup()
... | [
"burst.blaster@gmail.com"
] | burst.blaster@gmail.com |
77d5c46593c1bdc83d768cf7e2486e0846cdb66e | e217eaf05d0dab8dd339032b6c58636841aa8815 | /Ifc4/src/OpenInfraPlatform/Ifc4/entity/include/IfcFlowInstrument.h | 4a9e80b3575f7262dd0d83ebacfa4897373fa0fb | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 4,960 | h | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include... | [
"julian.amann@tum.de"
] | julian.amann@tum.de |
abcbd4a369f6672bf46b7f91012a95a9b1b0f585 | 548140c7051bd42f12b56e8bb826074609c8b72e | /Engine/Code/Engine/Networking/NetConnection.cpp | 5c42d157a4446c63cfc20ba7623e5f92bddeacb7 | [] | no_license | etrizzo/PersonalEngineGames | 3c55323ae730b6499a2d287c535c8830e945b917 | 6ef9db0fd4fd34c9e4e2f24a8b58540c075af280 | refs/heads/master | 2021-06-16T22:01:57.973833 | 2021-01-26T03:54:58 | 2021-01-26T03:54:58 | 135,343,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,736 | cpp | #include "NetConnection.hpp"
#include "Engine/Networking/NetPacket.hpp"
#include "Engine/Networking/NetSession.hpp"
#include "Engine/Networking/PacketTracker.hpp"
#include "Engine/Networking/NetChannel.hpp"
NetConnection::NetConnection(NetSession * owningSession, net_connection_info_t info)
{
m_info = info;
m_ow... | [
"emilytrizzo@gmail.com"
] | emilytrizzo@gmail.com |
222a037ccf632a9c1de82e4d44e5b7377f04e91e | 9d2a58f599730ce2b48b35d83b00446682a0acf1 | /CPP/kth_largest_ele.cpp | ba4680999671208c0ee937f82792eb8b84be7a75 | [
"MIT"
] | permissive | rochroger/open-source-contribution | 17052d3b905266f20c8d48350a89755a4068e17f | 1699bc85993afbbb8e6fa501c172015726d71547 | refs/heads/main | 2023-08-14T06:01:14.063513 | 2021-10-04T16:39:33 | 2021-10-04T16:39:33 | 413,202,815 | 2 | 1 | MIT | 2021-10-03T21:37:19 | 2021-10-03T21:37:19 | null | UTF-8 | C++ | false | false | 340 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n = 6;
int arr[n]= {23,10,4,3,20,15};
int k=2;
priority_queue<int,vector<int>, greater<int>>min;
for(int i=0;i<n;i++){
min.push(arr[i]);
if(min.size()>k){
min.pop();
}
}
cout<<min.top()<<e... | [
"cm7310@srmist.edu.in"
] | cm7310@srmist.edu.in |
e000a4b26446eae3faa6fecd08cac6fce0a6128b | cfcb1c0a125c0c20d50fdc34679e69e38f962372 | /lcodes/Solutions.cpp | d0c2091bece9cadcc96264ad8281b5dea11afb4b | [] | no_license | HITzichu/mleetcode | 12f1c9ca9ecab046c97c8a47882a67c0d7d09716 | e1a6e732d7b712c52aa6a47964227ea80163c16c | refs/heads/master | 2023-03-18T23:06:19.385278 | 2021-03-19T13:17:16 | 2021-03-19T13:17:16 | 341,540,398 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 78,772 | cpp | #include "Solutions.h"
//4.寻找两个正序数组的中位数
int getKthElement(const vector<int>& nums1, const vector<int>& nums2, int k)
{
//k为需要比较的个数
int m = nums1.size();
int n = nums2.size();
int index1 = 0, index2 = 0;
while (true)
{
if (index1 == m)
{
return nums2[index2 + k - 1]; //寻找第k小的
}
if (index2 == n)
{
... | [
"1026842576@qq.com"
] | 1026842576@qq.com |
34fd7510d83d5f2d049c93035f0199fc7a21bb27 | 42c182073793e6db5a695c502a2f1240d576086d | /c++ Code/26.cpp | e8a557065d3df214a57147f7614c473a4b8e4000 | [] | no_license | aj1063/DS-Algo. | 2c57e3a9378e4a3e70c669a0d297cb43d085bc65 | 2fbfa4eea2fb27a43e7161d6e11703b94608d7ca | refs/heads/master | 2022-12-22T12:36:58.726229 | 2020-08-14T20:20:35 | 2020-08-14T20:20:35 | 286,369,663 | 0 | 1 | null | 2020-10-04T20:15:54 | 2020-08-10T03:46:59 | C++ | UTF-8 | C++ | false | false | 167 | cpp | #include<iostream>
using namespace std;
int main()
{
int arr[]={1,3,4,5,6};
int sum=0;
for(int i=0;i<5;i++)
{
sum=sum+arr[i];
}
cout<<"sum is "<<sum;
return 0;
}
| [
"aj5233448@gmail.com"
] | aj5233448@gmail.com |
a6340651e9b1a3073eae2cba1c8197c8b638dd85 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/browser/ui/user_education/mock_feature_promo_controller.h | 98a6ea49ee7893ec113ed0e61d6e08535abe44a6 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 1,501 | h | // Copyright 2020 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_USER_EDUCATION_MOCK_FEATURE_PROMO_CONTROLLER_H_
#define CHROME_BROWSER_UI_USER_EDUCATION_MOCK_FEATURE_PROMO_CONTROLLER_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8a4e16ab2e90ef469dd9027c5616ec3ffc01dceb | e0e025b0b186e047461d2d74ea5fa84fb8a21f7b | /.history/9_ascdesc_20210307093209.cpp | 3a5b03f92c7fe15bd5720e0ed1863eeb40e82e4f | [] | no_license | xKristee29/1nfo | fbd4b9c1b50f45fbd10b968f39d342a47a007da7 | 1aa9ec38f24a54c76cab8d94212bd33df616082d | refs/heads/main | 2023-03-20T02:04:51.730374 | 2021-03-08T20:24:55 | 2021-03-08T20:24:55 | 345,783,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<int> v;
int main(){
return 0;
} | [
"c90717489@gmail.com"
] | c90717489@gmail.com |
6799ccddd8c2d54dde934df94c9095684cab9c01 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /components/suggestions/image_encoder.cc | 316a70b774621a689598eb032a2daa8a462ae501 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | cc | // 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.
#include "components/suggestions/image_encoder.h"
#include "ui/gfx/codec/jpeg_codec.h"
#include "ui/gfx/image/image_skia.h"
namespace suggestio... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
c9a5feead94a35cec9e51666e7e29e60d47fd9f8 | eab4aba2ad7e71c896bf15c723a5cddc89eb6b0b | /d3d12game_uwp_dr/DeviceResources.h | 086d0cec4aaa5f1800fd90959c4c40269f121952 | [
"MIT"
] | permissive | OhGameKillers/directx-vs-templates | 279347867d2a7998871f4a0f3194ff7128378484 | 149a90a4911001624121858e163ebe51fb8a6257 | refs/heads/master | 2021-01-15T09:19:12.284235 | 2016-05-19T01:20:37 | 2016-05-19T01:20:37 | 59,702,922 | 1 | 0 | null | 2016-05-25T22:49:07 | 2016-05-25T22:49:06 | null | UTF-8 | C++ | false | false | 6,275 | h | //
// DeviceResources.h - A wrapper for the Direct3D 12 device and swapchain
//
#pragma once
namespace DX
{
// Provides an interface for an application that owns DeviceResources to be notified of the device being lost or created.
interface IDeviceNotify
{
virtual void OnDeviceLost() = ... | [
"chuckw@windows.microsoft.com"
] | chuckw@windows.microsoft.com |
6fd98237af00ba18b60017d3e296fd6b3b2e2525 | 7c01d982e735ced034c07eb114a0693956d5083a | /SnakeyTakey/prg_api_interactive/inc/prg/core/math.hpp | 8e56a4388a74c02f610eea3470bb4dc0749ca340 | [] | no_license | jonnyfairlamb1/CPP-Programming | 13a919af57cf998cea95f16227c519eb4bec624a | af0183a669594e5030e04412d4b4c4245b9da656 | refs/heads/master | 2020-05-29T22:29:31.593229 | 2019-05-30T13:01:32 | 2019-05-30T13:01:32 | 189,409,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,789 | hpp | /*
Copyright (c) 2014 Steven Mead,
School of Computing,
University of Teesside,
Middlesbrough,
UK TS1 3BA
email: steven.j.mead@tees.ac.uk
This software is provided 'as-is', without any expre... | [
"36200921+Nova2311@users.noreply.github.com"
] | 36200921+Nova2311@users.noreply.github.com |
f773ca5435a7deb112b9f70f290056b937080061 | 0b2748e3d25c4daf628e8b728f581931f024a833 | /source/sdk/include/cfgserver/KHConfigData.h | 47289fc73e294afe56ff708addad42c88889f792 | [] | no_license | Zoltan3057/N_Kunhou_Arm_sdk | b4c3653705e2bb76935f3ac07fae503f09172dd8 | e50f60d3e7f19715bbedc9ccc55ca6280d13ad1b | refs/heads/master | 2020-03-21T17:27:50.975966 | 2018-03-03T05:34:10 | 2018-03-03T05:34:10 | 138,833,358 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | /***************************************************************************************************
* Copyright (C), 2015-2016 Suzhou Kunhou Automation Co.,Ltd
* File name: KHConfigData.h
* Description:
* Version: 0.0.1
* History:
* (1) Author: taibaidl
* Date: 2016-07-04
* Operate: Cre... | [
"769238687@qq.com"
] | 769238687@qq.com |
a1c62b47838120931ea066920a2df7d7067a7006 | b4393b82bcccc59e2b89636f1fde16d82f060736 | /devtools/lit/lib/_platform/UtilsUnix.cpp | 6c90440f743bd16f21969ad719c1cb89148ee84a | [] | no_license | phpmvc/polarphp | abb63ed491a0175aa43c873b1b39811f4eb070a2 | eb0b406e515dd550fd99b9383d4b2952fed0bfa9 | refs/heads/master | 2020-04-08T06:51:03.842159 | 2018-11-23T06:32:04 | 2018-11-23T06:32:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cpp | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2018 polarphp software foundation
// Copyright (c) 2017 - 2018 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://polarphp.org/LICENSE.txt for license infor... | [
"zzu_softboy@163.com"
] | zzu_softboy@163.com |
7b1f959514ddae0bbffe8c144750545ddb2c0459 | 1cf2a006e936582250ebad5facce66a2dc59b21c | /include/IRenderer.h | eedef85ce57047eeb5971989d03076a331501b49 | [
"BSD-2-Clause"
] | permissive | TheFakeMontyOnTheRun/wizardofgalicia | b378cb54b96750abd4503fbd128efbdc67e2c853 | f11704563b0d0025d22ac5519e30e66d9c762f7e | refs/heads/master | 2020-12-25T17:23:29.234319 | 2016-04-16T19:20:58 | 2016-04-16T19:20:58 | 55,379,386 | 1 | 0 | null | 2016-04-12T23:46:58 | 2016-04-04T02:02:15 | C++ | UTF-8 | C++ | false | false | 531 | h | #ifndef IRENDERER_H
#define IRENDERER_H
namespace WizardOfGalicia {
class IRenderer {
public:
virtual void playFireballSound() = 0;
virtual void playMeeleeSound() = 0;
virtual void playPowerUpSound() = 0;
virtual void init() = 0;
virtual void drawMap( CMap &map, std::shared_ptr<CActor> current... | [
"danielmonteiro@id.uff.br"
] | danielmonteiro@id.uff.br |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.