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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fac31bba80e31f519084a3b4197b8b9ec637c9ba | eb8d36a89dbaeffeedd8584d970aa2b33a8b2c6e | /CQ-0210/chess/chess.cpp | 44fc702ce60d32cc2cc91dd431ee182770cb71a6 | [] | no_license | mcfx0/CQ-NOIP-2021 | fe3f3a88c8b0cd594eb05b0ea71bfa2505818919 | 774d04aab2955fc4d8e833deabe43e91b79632c2 | refs/heads/main | 2023-09-05T12:41:42.711401 | 2021-11-20T08:59:40 | 2021-11-20T08:59:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include <bits/stdc++.h>
using namespace std;
void qr(int &x){
int f=x=0;
char c=getchar();
while(!isdigit(c)) f|=(c=='-'),c=getchar();
while(isdigit(c)) x=(x<<3)+(x<<1)+(c^48),c=getchar();
x=f?~(x-1):x;
}
void wr(int x){
if(x<0){
putchar('-');
x=~(x-1);
}
if(x>=10) wr(x/10);
putchar(x%10^48);
}
int main()... | [
"3286767741@qq.com"
] | 3286767741@qq.com |
65b746b6a55a5395b3cdf0b2f3e680c99a7a5b37 | 0dc7bbe7aab2031c6c66c44e905e4afd4df57593 | /sum_checkup/sort/bucket_sort.cc | 1d065189f677efc15558b2f7572cb4b6e4667cd8 | [] | no_license | HoangNguyen679/C | 761b84343e6b8eb30d8636b36f5c57020c450876 | 6b71408a10c70787370fcbf775d39d39e3a591e2 | refs/heads/master | 2021-01-20T07:23:22.182897 | 2017-03-04T10:58:41 | 2017-03-04T10:58:41 | 83,885,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | cc | #include <iostream>
#include <algorithm>
#include <vector>
void bucketSort(float list[], int n){
std::vector<float> b[n];
for(int i = 0; i < n; i++){
int bi = n*list[i]; // index of bucket
b[bi].push_back(list[i]);
}
for(int i = 0; i < n; i++)
sort(b[i].begin(), b[i].end());
int index = 0;
for(i... | [
"ndhoang96@gmail.com"
] | ndhoang96@gmail.com |
4bef836542f59f61f6fe77b3b15e8f0a4c7d927b | d89598ed600c98602066bb19f9ffd489701b3962 | /MIPVendas/ListaUsuariosView.cpp | 9ecc3491d4a51194805b02819d504f8c42fb1e67 | [] | no_license | filipejcardoso/erp_rad_com | da05c0a631b2fd19485dccb138d5533cccd21360 | e2691388f2694cd43d9587f670483a97fe6766bc | refs/heads/master | 2020-03-23T05:54:11.077568 | 2018-07-16T18:09:32 | 2018-07-16T18:09:32 | 141,174,874 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 6,571 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Papels.h"
#include "Principal.h"
#include "UsuariosView.h"
#include "ListaUsuariosView.h"
#include "UsuariosDAO.h"
#include "Style.h"
#include "QueryParams.h"
//------------------------------------... | [
"filipejcardoso@eletrobidu.com.br"
] | filipejcardoso@eletrobidu.com.br |
e7bed2876a5c6f61ade7fbc71b175fc8d540ee96 | d6d8d31407f4bb0483a47cc37f90420dfc948399 | /include/matrix.h | b1397c7da750156c3c8baed9da77920612672678 | [
"MIT"
] | permissive | sagelywizard/raytracer | 04ab841fab260a51e2b972d8af94bbe3a7de0fbc | b19677387c464cac51bf0246f5e8a1cfca6c34e3 | refs/heads/master | 2023-03-29T01:20:29.892518 | 2021-04-12T05:18:20 | 2021-04-12T05:18:20 | 353,925,335 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | h | #ifndef MATRIX_H_
#define MATRIX_H_
#include <iostream>
#include "tuple.h"
template <int R, int C>
class Matrix {
public:
explicit Matrix() {}
explicit Matrix(const float matrix[R][C]) {
for (int row = 0; row < R; row++) {
for (int column = 0; column < C; column++) {
data_[row * R + column] =... | [
"benjamin.bastian@gmail.com"
] | benjamin.bastian@gmail.com |
997440bd1bec2428939077f0c185c02d4bb5fb6e | bb518e8ab9ceec21b246ccf2ffd8bb716a853edb | /openslam_gmapping/src/grid/point_accumulator.cc | b1d53eedfbcc6f94a262bc2bbbd7c6fba599358b | [
"BSD-3-Clause"
] | permissive | TongLing916/gmapping_clean | 388d8c6b619e38fc083b4a95e1fd9785dc199dcd | 0a28b12903afb3e4c306d027216610a478cc94ed | refs/heads/main | 2023-03-09T13:17:13.567403 | 2021-02-23T15:07:23 | 2021-02-23T15:17:50 | 341,591,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cc | #include "grid/point_accumulator.h"
#include <math.h>
namespace gmapping {
PointAccumulator::PointAccumulator() : pt_(0, 0), num_hits_(0), visits_(0) {}
double PointAccumulator::GetOccupancyProb() const {
if (visits_ == 0) {
return -1;
}
return static_cast<double>(num_hits_) * kSightInc_ / visits_;
}
voi... | [
"ling_tong@outlook.com"
] | ling_tong@outlook.com |
5fc5e8e8035671179edb66d2901587957b57aa90 | 67b2c6c36b27a0cfbf54cb93db7f9010a007bf91 | /CN Competitive Course/Adv Recursion/return keypad.cpp | a7760f8b0f7754e127a4af042475098d85bfd4e5 | [] | no_license | Satvik0117/CN-codes | dc1edaad44aff941c469af971eac73921ff4ac9f | 3cdac643a2b8ba4190179cf671adcd086b76bdba | refs/heads/master | 2022-04-13T06:50:06.779271 | 2020-04-07T10:58:24 | 2020-04-07T10:58:24 | 233,576,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | #include<iostream>
#include<string>
using namespace std;
string check(int num){
string s;
switch(num){
case 0:
s="";
break;
case 1:
s="";
break;
case 2:
s="abc";
break;
case 3:
s="def";
... | [
"satvik71@gmail.com"
] | satvik71@gmail.com |
f19bc0b0aedc8f384b1b2c3909fa5cff14af0bc0 | 1302a788aa73d8da772c6431b083ddd76eef937f | /WORKING_DIRECTORY/system/extras/tests/audio/alsa/pcmtest.cpp | 7233e104df3124e2f84f6014e0a018b56964dbad | [
"Apache-2.0"
] | permissive | rockduan/androidN-android-7.1.1_r28 | b3c1bcb734225aa7813ab70639af60c06d658bf6 | 10bab435cd61ffa2e93a20c082624954c757999d | refs/heads/master | 2021-01-23T03:54:32.510867 | 2017-03-30T07:17:08 | 2017-03-30T07:17:08 | 86,135,431 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,994 | cpp | /*
* Copyright (C) 2013 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 requied by appl... | [
"duanliangsilence@gmail.com"
] | duanliangsilence@gmail.com |
662978c7ad562e6148e629cdb1f0baba392d231b | 6f7e010dbfd0a27d47fec154ce8fd6e6788918c3 | /packages/react-native/ReactCommon/react/renderer/uimanager/UIManagerDelegate.h | 8ad86f3c3f7819d66390fc981d0e6c8be3f269ec | [
"MIT",
"CC-BY-4.0"
] | permissive | microsoft/react-native-macos | a9a15e6d9be601e1bb4b3ace7350cea07f179171 | c2195d9e0899543122dcdae37d67f99bf480669b | refs/heads/main | 2023-09-06T05:17:13.563430 | 2023-08-31T00:53:19 | 2023-08-31T00:53:19 | 140,759,707 | 2,823 | 117 | MIT | 2023-09-13T09:05:49 | 2018-07-12T20:06:39 | Java | UTF-8 | C++ | false | false | 1,896 | h | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <react/renderer/core/ReactPrimitives.h>
#include <react/renderer/core/ShadowNode.h>
#include <react/render... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
9c44f372ae30fb454793a811dd21203a8ebee2e7 | 4bfb46ed1381f058cc70403d33bc8383a3ece103 | /src/systems/render/program.cpp | 5d3ca3abb5eb39f672c9799a2e1c4814e3906285 | [
"MIT"
] | permissive | corefan/entity-component-engine | 79fb585cf16d9b8620526c829e92d1f8c7f6e436 | 56107ebf307b1ee7844f56387cf10bb9f4de9910 | refs/heads/master | 2020-02-26T17:36:53.080682 | 2015-05-12T23:14:53 | 2015-05-12T23:14:53 | 48,383,073 | 1 | 0 | null | 2015-12-21T16:45:58 | 2015-12-21T16:45:58 | null | UTF-8 | C++ | false | false | 1,660 | cpp | // libraries
#include <iostream>
// engine
#include <systems/render/program.hpp>
#include <systems/render/shader.hpp>
#include <utils/utils.hpp>
namespace render
{
Program::Program()
{
mProgram = glCreateProgram();
}
void Program::attachShaders(std::vector<ShaderPtr> shaders)
{
mShaders = std::move... | [
"nickdujay@gmail.com"
] | nickdujay@gmail.com |
a8aabfe092dbeed1d22d2178d8d1b46793c92df8 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/ec/d78e93b67e5147/main.cpp | b2d3c7b357d19dea005d2664ee9e99ca816a817a | [] | 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 | 474 | cpp | #include <vector>
#include <iostream>
template<typename ValueType>
struct container {
explicit container(std::size_t n) {
vec.reserve(n);
}
container& operator=(std::initializer_list<ValueType> a) {
std::copy(begin(a), end(a), back_inserter(vec));
return (*this);
}
... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
e62e5c3eaeb7f97cace093e05c929eccad456370 | 27e54c8a70cd4447ccf7ff16daaae44cf0c40574 | /2014S2_DM2295_Team_11/src/Base/Source/GameMechanics/SavingAndLoading/SavingAndLoadingSystem.cpp | 61bc51900fdea6461df7a2b678d1148a61e4d98e | [] | no_license | Glenn-Pao/SP4 | fbb7b8fb02fa846ef312f418a20a9cb71b1a0e4b | 195bbfe6c0cfd89dfddb6a274ecba739c81a2a08 | refs/heads/master | 2021-01-10T17:33:10.053390 | 2016-03-03T14:11:12 | 2016-03-03T14:11:12 | 51,736,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,067 | cpp | #include "SavingAndLoadingSystem.h"
CSavingAndLoadingSystem::CSavingAndLoadingSystem(void)
: to_save(false)
{
}
CSavingAndLoadingSystem::~CSavingAndLoadingSystem(void)
{
for (int i = 0; i < (int)Data.size(); i++)
{
if (Data[i])
{
delete Data[i];
Data[i] = NULL;
}
}
}
/********************************... | [
"pyroflame11@gmail.com"
] | pyroflame11@gmail.com |
b848b21ea3319ea77f262cc5b9b94e249b82de6a | 95a7f24ee7f935ef07ef9e58210daace6e0abc1e | /test/unittests/test_operator_clip.cpp | b28b145b6bb5c13e001de39c18829e3cd4a50746 | [
"BSD-3-Clause"
] | permissive | sycomix/onnc-runtime | fca63414aabf8870419f892da381082bbd2f0c7d | 5111cd005c690020c1aa220889034fa66e0a6415 | refs/heads/master | 2021-01-14T06:50:20.296120 | 2018-10-23T05:13:35 | 2018-10-23T05:13:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,227 | cpp | #include <skypat/skypat.h>
#include <cstdlib>
#include <ctime>
#include <cmath>
#define restrict __restrict__
extern "C"{
#include <operator/clip.h>
}
#undef restrict
SKYPAT_F(Operator_Clip, non_broadcast){
// Prepare
srand(time(NULL));
int32_t ndim = rand() % 3 + 1;
int32_t dims[ndim];
int32_t da... | [
"luishsuplus@gmail.com"
] | luishsuplus@gmail.com |
53f815eb85448a50db8984da211973397e3613ba | 2e4f485ec35f5c525f28eaee0a1005555cf61a21 | /messageviewer/src/dkim-verify/autotests/dkimutiltest.cpp | f81c5a76082d369ceabf4205d074cf2682b3cc1a | [
"CC0-1.0",
"BSD-3-Clause"
] | permissive | KDE/messagelib | 8b0174c5e4c95344a828b8bf1c31ff52cc6663d7 | ab4f300a88bb9414734296d0031cbb905a53999c | refs/heads/master | 2023-08-30T23:50:09.096181 | 2023-08-28T02:16:39 | 2023-08-28T02:16:39 | 47,712,197 | 13 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 5,207 | cpp | /*
SPDX-FileCopyrightText: 2019-2023 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "dkimutiltest.h"
#include "dkim-verify/dkimutil.h"
#include <QTest>
QTEST_GUILESS_MAIN(DKIMUtilTest)
DKIMUtilTest::DKIMUtilTest(QObject *parent)
: QObject(parent)
{
}
void DKIMUtilTe... | [
"montel@kde.org"
] | montel@kde.org |
367cb5aa44259011a5a90a8daf292edd3825aa74 | fe2362eda423bb3574b651c21ebacbd6a1a9ac2a | /VTK-7.1.1/Common/Transforms/vtkCylindricalTransform.cxx | 7ee79a0c6cb6569d8211d79cb6774a3ca3f583a3 | [
"BSD-3-Clause"
] | permissive | likewatchk/python-pcl | 1c09c6b3e9de0acbe2f88ac36a858fe4b27cfaaf | 2a66797719f1b5af7d6a0d0893f697b3786db461 | refs/heads/master | 2023-01-04T06:17:19.652585 | 2020-10-15T21:26:58 | 2020-10-15T21:26:58 | 262,235,188 | 0 | 0 | NOASSERTION | 2020-05-08T05:29:02 | 2020-05-08T05:29:01 | null | UTF-8 | C++ | false | false | 5,348 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkCylindricalTransform.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This s... | [
"likewatchk@gmail.com"
] | likewatchk@gmail.com |
1a6b191d412a6ba220a08d66fe8ea6456fbed1a3 | d8622e4c8098f34bf2f4c06e5a4df0544bf26f34 | /source/Delaunay.h | ee7cefe1aa492826a265d3a9eff2bbbf97850835 | [] | no_license | chenhch8/image-morping | a170f2915748f7cafabd35389baa1a88dabdec2d | 3566bcc53601f7b89f84143f3cd777809ce93745 | refs/heads/master | 2021-01-20T02:54:27.663151 | 2017-04-26T15:11:12 | 2017-04-26T15:11:12 | 89,464,986 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 455 | h | #ifndef DELAUCAY_CPP
#define DELAUCAY_CPP
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
using namespace cv;
/*
* cols [图像列数]
* rows [图像行数]
* filename [特征点文件]
* 返回每个三角形的顶点对应的下标
*/
void delaunay(int ... | [
"496746441@qq.com"
] | 496746441@qq.com |
40241104dc8155a11271caca357babb0062a8f27 | 3f38f67fd9998d6f35334270cf155f4c9853fac0 | /zies/Sources/Application/main_loop.cpp | 1bfc6dbedaac4fb98eb525d24acdbcd0d87738a9 | [] | no_license | medts/zies_refresh | 7f9c741d605869dfeb198ee04a58a85242e5b76a | fcc999946b61b5e40b5b0561fb9e87632b73e58c | refs/heads/master | 2020-06-30T08:54:16.400193 | 2019-08-14T16:06:22 | 2019-08-14T16:06:22 | 200,784,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | #include "main_loop.hpp"
#include "registers.hpp"
#include "error_status.hpp"
#include "debug.hpp"
extern "C"
{
#include "HEARTBEAT_LED.h"
} // end extern "C"
// =================================================================
// global vars
LoopStats gLoopStats;
// ==================================================... | [
"Gireesh.S@Ltts.com"
] | Gireesh.S@Ltts.com |
82f96749df78105fcd9c2ec2f1321295e942fb88 | 7fcc8a4b2dc018bfa451b0b99201006877f8b6da | /unittest/core_framework_executor_test.cc | 003bbc1d2534531e91e516685011224f3116a2ef | [
"Apache-2.0"
] | permissive | ComputationalAdvertising/openmi | a6220c5d99df59cf3b4a5b8bd8f64908fd2ff1e0 | 1d986ada6c57fecf482f4b8dc4d2488cb0189a3e | refs/heads/master | 2020-04-19T23:02:25.973052 | 2019-11-10T15:11:50 | 2019-11-10T15:11:50 | 168,486,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,519 | cc | #include "executor.h"
#include "base/protobuf_op.h"
#include "base/logging.h"
Tensor* GetTensor(Executor& exec, std::string name) {
Tensor* t = nullptr;
Status status = exec.GetSessionState()->GetTensor(name, &t);
return t;
}
template <typename T>
typename MTypes<T>::Matrix ToEigenMatrix(Tensor& tensor) {
aut... | [
"zhouyong03@meituan.com"
] | zhouyong03@meituan.com |
23087ad72369f21cec45011f683a17ee21d8e9aa | 389f92dc3a47bed51466cb1106b8e12852b9f79c | / isoftstone/src/tools/modeleditor/domitem.cpp | 1020d7e3e3410319b2882bef6459001acb3e10a6 | [] | no_license | radtek/isoftstone | 4dc99ea83c26c802e1eded1ce23aa7ebdce29a86 | e1abede2913885a6374dfe9d1ab54aa85ed8e61f | refs/heads/master | 2021-01-06T20:46:17.654521 | 2013-08-24T01:49:57 | 2013-08-24T01:49:57 | 41,403,225 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 993 | cpp | #include <QtXml>
#include "domitem.h"
//! [0]
DomItem::DomItem(QDomNode &node, int row, DomItem *parent)
{
domNode = node;
//! [0]
// Record the item's location within its parent.
//! [1]
rowNumber = row;
parentItem = parent;
}
//! [1]
//! [2]
DomItem::~DomItem()
{
QHash<int,DomItem*>::iter... | [
"lcshdev@gmail.com"
] | lcshdev@gmail.com |
272847d2a4d89f54f946cbfd419535a6bf35e620 | 5c815d149f180d194b13a0ff9eaa0260e1496508 | /Spring'18/K - Final!!/Solution.cpp | 60652f18abd7961e4baa4a649216fa1ef5749b40 | [] | no_license | math10/Intra-Aust-Programming-Contest | 1f4eb3b308e377ef6efce76bb590f5051dd33bb6 | 62622b092a6700cbe52d0da29a15bf55bfe17a03 | refs/heads/master | 2020-12-25T16:48:31.072976 | 2019-11-13T19:26:42 | 2019-11-13T19:26:42 | 40,723,729 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
double w71,w72,w73,w74;
double q1,q2,q3,q4,q7;
double ans;
w71 = 4.0/6;
w72 = 4.0/6;
w73 = 2.0/5;
w74 = 5.0/8;
q1 = ((5.0/20)*(5.0/10)*(15.0/30)) + ((5.0/20)*(5.0/10)*(2.0/5));
q2 = ((15.0/20)*(5.0/10)*(3.0/8)) + ((15.0/20)*(5... | [
"sshibli745@gmail.com"
] | sshibli745@gmail.com |
ed1f8447cc859c023803d79858208c1fdaa27682 | 454d6f98e0f9de1312654491ac4d5fcae0acd025 | /include/polymesh3/TexCoord.h | f8dc3a239bef4fcff5fa24c9ba5c7fa2f2eac882 | [
"MIT"
] | permissive | xzrunner/polymesh3 | 2af2d32517467dc2a45c7834db909920f3e1392b | b53961409f7e7f9c9e77fda311ee5b3037dc23eb | refs/heads/master | 2023-01-20T02:16:27.433214 | 2023-01-14T09:18:46 | 2023-01-14T09:18:46 | 197,479,458 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | h | #pragma once
#include <SM_Vector.h>
#include <string>
namespace pm3
{
struct TexCoordSystem
{
size_t index = 0;
sm::vec3 x_axis;
sm::vec3 y_axis;
}; // TexCoordSystem
struct TextureMapping
{
std::string tex_name;
TexCoordSystem sys;
sm::vec2 offset;
float angle = 0;
sm::vec2 scale;
f... | [
"xzrunner@gmail.com"
] | xzrunner@gmail.com |
f0898894b27238c8d72526068f60628e994b251e | 8bf9227210ffbe7138aacb552a5ba3596ae7688a | /libs/imgui/src/imgui/imgui.cpp | 2ca0cddef7f57213d2664878f46a1d881f4005e7 | [
"MIT"
] | permissive | qcoumes/mastercraft | d6704e5c6ca699c873f3adf9a45a5b4db44e563b | 5ee36fde6eab80d18075970eff47b4a5c45143f5 | refs/heads/master | 2023-02-16T01:05:27.290518 | 2021-01-12T17:06:08 | 2021-01-12T17:06:08 | 328,198,027 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504,989 | cpp | // dear imgui, v1.76 WIP
// (main code and documentation)
// Help:
// - Read FAQ at http://dearimgui.org/faq
// - Newcomers, read 'Programmer guide' below for notes on how to setup Dear ImGui in your codebase.
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code. All applications in examples/ are... | [
"coumes.quentin@gmail.com"
] | coumes.quentin@gmail.com |
320d63f06642d246dfa3464247955273df8ba292 | 56402c030da6a4d43dbbb1a6df5e6c3a84519bd0 | /u8-threads/par/par_sum_nolock.cpp | 9d7be6739ca97a22aea69fbd737895cc27ac4406 | [] | no_license | usc-ee250-fall2019/lectures | 11e309502d58fcdd2c2d2760dd9a35485e9c2c9c | 6dc7d6a28c321882d0419e39de44314809e4ced6 | refs/heads/master | 2020-07-13T06:34:24.484057 | 2019-10-31T15:13:14 | 2019-10-31T15:13:14 | 205,018,967 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,399 | cpp | // No locking / atomic access and thus we
// should see errors with the parallel summation
#include <iostream>
#include <cstdlib>
#include <time.h>
#include <sys/time.h>
#include <pthread.h>
using namespace std;
#define MAX 100000000
int numbers[MAX];
struct ThreadInfo {
int tid;
int nThreads;
int* sumPtr;
p... | [
"redekopp@usc.edu"
] | redekopp@usc.edu |
866dcd39609d19db4df68c028f841bd9398cc97b | 705dd8f1a74422569471bb7f5684479055ab1e53 | /flexc++/pattern/eof.cc | 3f92df1e4f0396cfdbffa2b72e4cc5f17ed50458 | [] | no_license | jeanpaul/flexcpp-old | b93a933e607a14db45f54b8fddd9cabcbe6d018f | 788d28b2e6acaaa3929886df3450a9a3bb2da29b | refs/heads/master | 2020-04-11T09:10:06.694570 | 2015-09-07T17:45:39 | 2015-09-07T17:45:39 | 156,622 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cc | #include "pattern.ih"
Pattern Pattern::eof(States &states)
{
States::Pair pair = states.next2();
states[pair.first] = State::factory(State::EOF__, pair.second, 0);
Pattern ret(pair);
return ret;
}
| [
"f.b.brokken@rug.nl"
] | f.b.brokken@rug.nl |
a6403b0b68770e931513ae3a01f8512254adddb9 | e2f633be97aa40f3416583d7457a921261cee8c5 | /src/kalman-filter-base.cpp | a42b3dd2316095c3ca6ff7ee299ad92fb1f69227 | [] | no_license | idaohang/state-observation | 1f3c33bb7e140a34d202a3d7c75993dbc1731dad | 905632ebff465c8b2961871b604d57659434353f | refs/heads/master | 2020-02-26T13:28:37.424392 | 2015-08-28T13:17:10 | 2015-08-28T13:20:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,742 | cpp | #include <state-observation/observer/kalman-filter-base.hpp>
namespace stateObservation
{
void KalmanFilterBase::setA(const Amatrix& A)
{
BOOST_ASSERT(checkAmatrix(A)&& "ERROR: The A matrix dimensions are wrong");
a_=A;
}
Matrix KalmanFilterBase::getA() const
{
return a_;
... | [
"mehdi.benallegue@gmail.com"
] | mehdi.benallegue@gmail.com |
251dbe5afee74194e4475431013a1dcb13687ca9 | 7cb089554cb5d476b7a5b819dc570730cff31540 | /QTalk/LocalServer.cpp | 0478c6cfa8dd9ed2525923990e2244560386930f | [
"MIT"
] | permissive | jsmarsel/startalk_pc | bd747f93b5d3e22a708e62abc8696c7b5c242f53 | 3dffd4f0edd8289f1c868bebaa94394618e8e1b8 | refs/heads/master | 2023-03-15T11:06:24.931511 | 2021-03-10T03:05:40 | 2021-03-10T03:05:40 | 296,826,402 | 0 | 0 | MIT | 2021-03-10T03:05:42 | 2020-09-19T08:53:41 | null | UTF-8 | C++ | false | false | 5,900 | cpp | //
// Created by cc on 2019/11/02.
//
#include "LocalServer.h"
#include <QLocalSocket>
#include <QtConcurrent>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QDebug>
#include "../Platform/Platform.h"
#include "../Platform/dbPlatForm.h"
#ifdef _WINDOWS
#include <windows.h>
#else
#includ... | [
"chaocc.wang@qunar.com"
] | chaocc.wang@qunar.com |
bfae9dd8a281005fd969cb485b643ee85bdb9b8e | 4ce6054055a66f93d6cd2e4fbd2edc31866b8381 | /src/trap_instances/ADB.cpp | eb831eb9c9a2182c25e0576c5f0a1fe5250867c6 | [
"MIT"
] | permissive | donfanning/executor | e409b7afa852f8e0fd05b8667cc030b1bf746e48 | 324e69efb57cc21f1b8ea609e508ce66cc327feb | refs/heads/master | 2022-01-09T13:06:17.809555 | 2018-02-12T23:09:21 | 2018-02-12T23:09:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46 | cpp | #define INSTANTIATE_TRAPS_ADB
#include <ADB.h> | [
"wolfgang.thaller@gmx.net"
] | wolfgang.thaller@gmx.net |
94d0e9999466b9c200d155ecb601c6447a32fb06 | c82e95a99ab6c50dc1ed8b17ff3df61cad0d1f0a | /beelzebub/arc/amd64/src/memory/vmm.cpp | 0744685afb82dda71844d1e3b73f1ed59fa2b733 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dalalsunil1986/Beelzebub | aa8bc4b6346ae61d866488376177ba3f0446ae28 | 9d0e4790060b313c6681ca7e478d08d3910332b0 | refs/heads/master | 2023-05-14T07:50:26.412632 | 2021-06-06T09:56:39 | 2021-06-06T09:56:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,841 | cpp | /*
Copyright (c) 2015 Alexandru-Mihai Maftei. All rights reserved.
Developed by: Alexandru-Mihai Maftei
aka Vercas
http://vercas.com | https://github.com/vercas/Beelzebub
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | [
"contact@vercas.com"
] | contact@vercas.com |
8b0ef3c36ba52684d8aaf5c67e05044a73def938 | 381d605da20ca3342687e26c5bd00936fe7a46e7 | /UVA/11559-EventPlanning.cpp | 50719a3ed0a914dca3eccdeb890d4bad2aa0c8f8 | [] | no_license | z0CoolCS/CompetitiveProgramming | 4a4c278533001a0a4e8440ecfba9c7a4bb8132db | 0894645c918f316c2ce6ddc5fd5fb20af6c8b071 | refs/heads/master | 2023-04-28T08:15:29.245592 | 2021-04-20T01:02:28 | 2021-04-20T01:02:28 | 228,505,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | #include<stdio.h>
using namespace std;
int main(){
int participants,budget,hotels,weeks,cost,froom,mini;
bool faro;
while(scanf("%d %d %d %d",&participants,&budget,&hotels,&weeks)==4){
mini=2000000001;
while(hotels--){
faro=false;
scanf("%d",&cost);
for(int i=0;i<weeks;i++){
scanf("%d",&froom);
... | [
"giordano.alvitez@utec.edu.pe"
] | giordano.alvitez@utec.edu.pe |
c9fadf78962ef5e609e613c63ef3529d3e59fa67 | 1fdd0647dea9328042757624884b0d4284d4b327 | /Client/CSalAttackState.cpp | 24a8c37a4e726edc280214514c4c73ffa9c36d40 | [] | no_license | moonseokchoi-kr/CupheadCloneGame | 4800858b1c1363ca5e69d3d0328c028a34a2bdef | da2318cc82182abe44adee7cd180902ae44b2d99 | refs/heads/master | 2023-08-21T08:05:44.398782 | 2021-10-10T10:47:37 | 2021-10-10T10:47:37 | 394,128,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,489 | cpp | #include "pch.h"
#include "CSalAttackState.h"
#include "CMonster.h"
#include "CAnimator.h"
#include "CAnimation.h"
#include "CSalAttackBox.h"
#include "CTimeManager.h"
CSalAttackState::CSalAttackState()
:m_attackCount(0)
, m_attackAccTime(0)
, m_bulletCount(0)
, m_curAttackSpeed(0)
, m_initAttackSpeed(0)
, m_init... | [
"moonseoktech@gmail.com"
] | moonseoktech@gmail.com |
2fdf87b28da34e6e4bcf29595065d500272868f5 | f6ab9a9523d4b929059bfebbfa98e8792a980acd | /LightOJ/Graph Theory/Articulation-Bridge-Biconnected Component/1026.cpp | 4525e6fde2164d9c858dc68a1d26c9c7c527a144 | [] | no_license | nayemislamzr/Competitive-Programming | cba4febe6510beff393d967a9a5f90b5534ef15e | 469e9a33a6f84d250d0d398f28802f5ffb77aa6e | refs/heads/master | 2022-02-16T21:11:10.980348 | 2019-08-08T10:25:43 | 2019-08-08T10:25:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,474 | cpp | #include <bits/stdc++.h>
#define loop(i,s,e) for(int i = s;i<=e;i++) //including end point
#define pb(a) push_back(a)
#define sqr(x) ((x)*(x))
#define CIN ios_base::sync_with_stdio(0); cin.tie(0);
#define ll long long
#define ull unsigned long long
#define SZ(a) int(a.size())
#define read() freopen("input.txt"... | [
"zabiralnazi@codeassign.com"
] | zabiralnazi@codeassign.com |
0fbbc769615651af22fb453a033061db7f33d3f7 | ef80a4616a15ab64cceb64e7bfe8886e695c52b8 | /ash/shelf/hotseat_widget.cc | 18735907bde53521455809eea91165153cafd6f2 | [
"BSD-3-Clause"
] | permissive | bobsmile/chromium | 646377745bff0224df61d63dbeb9aa7b84fd380e | 563ebbe80c8993978cee672c5da9c6ab4fca451b | refs/heads/master | 2023-02-21T00:45:34.337364 | 2020-02-10T10:29:43 | 2020-02-10T10:29:43 | 239,488,818 | 1 | 0 | BSD-3-Clause | 2020-02-10T10:50:05 | 2020-02-10T10:50:04 | null | UTF-8 | C++ | false | false | 15,438 | cc | // Copyright 2019 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 "ash/shelf/hotseat_widget.h"
#include <memory>
#include <utility>
#include "ash/focus_cycler.h"
#include "ash/keyboard/ui/keyboard_ui_controller... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
985a8277dc05ffe43416cc5009624a0436e70b10 | 5164ccaba461336101c1d652aea692649478cce0 | /solar-sim/util.h | e19846fcfea306527871cbc2f3b0f331bbbbd41f | [] | no_license | abekkine/game-snippets | 74523b043af6903c73a300cad54b3056b30ffba9 | 5466facc176398b5614006e66eff4958c66a9c84 | refs/heads/master | 2023-01-06T13:15:55.742288 | 2022-12-22T10:19:34 | 2022-12-22T10:19:34 | 30,854,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | h | #ifndef UTIL_H_
#define UTIL_H_
#include <chrono>
namespace util {
void start_clock();
void stop_clock();
}
#endif // UTIL_H_
| [
"abekkine@gmail.com"
] | abekkine@gmail.com |
2417c24cd7e647e489cda1fa22bcc8a5f1867f31 | f64e1e92d7136daac10ad2d8f49706d7be7f49c5 | /features/scene/createShape.cpp | 6ad985e1086fc3dc9285e991ab3292645d14c1e6 | [] | no_license | AllonJunior/openscenegraph-cross-platform-examples | 193d4f7743eb0499308daa6b8a11485b1ca94142 | 4a59b62139bebc022b6cc8e0043e898f92f01374 | refs/heads/master | 2020-03-30T02:00:32.304248 | 2018-09-25T08:55:48 | 2018-09-25T08:55:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | FEATURE scene.h/Include
#include <osg/Geode>
#include <osg/MatrixTransform>
#include <osg/ShapeDrawable>
FEATURE scene.h/Impl
osg::MatrixTransform *createShape(osg::Shape *shape)
{
auto hints = new osg::TessellationHints;
hints->setDetailRatio(0.5);
auto geode = new osg::Geode();
geode->addDrawable(new... | [
"kornerr@gmail.com"
] | kornerr@gmail.com |
89b691a971f1c52c59f0cbbcda7088caa2bcdd55 | 005f9844b9d615102d704a5eedac359fc29a94e7 | /AN-2010-157/code/flat_maker_QCD_v9.cc | 723411b58b15dc155ae39443d0428eb12acb8ef1 | [] | no_license | pbgeff/UserCode | 541943bd95f89c4216d5c8cf4372254c0325fcc6 | 27377addb328ed955534c7cb122fb0bb5f607202 | refs/heads/master | 2016-09-05T12:16:54.583957 | 2014-08-02T14:44:31 | 2014-08-02T14:44:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,109 | cc | #include "flat_maker_QCD_v9.hh" //Version 9 of cfA
#include "TMath.h"
#include "TFile.h"
#include "TTree.h"
#include "TCanvas.h"
#include "TROOT.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH3F.h"
#include <iostream>
#include <fstream>
#include <cmath>
#include <vector>
#include <string>
#include "TS... | [
""
] | |
bb0438cf728533705bf627cfd315d19509ecb4c6 | f179ba61e6f32550d7252d58537a5fb1506ca9c2 | /GeoMetriDesh/GeoMetriDesh/Function.h | 3891641a009f2e110eb74fde0931abf4c54580b3 | [] | no_license | pbk4008/MFC2- | b80c1b9816026580c143acea32883c553ae6b4c5 | 79bc3575761922f127a053eaa3afc78ea3ce9983 | refs/heads/main | 2023-07-14T02:39:49.348305 | 2021-08-20T03:33:04 | 2021-08-20T03:33:04 | 394,891,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | h | #pragma once
#ifndef __FUNCTION_H__
#define __FUNCTION_H__
template <typename T>
void Safe_Delete(T& _Dst)
{
if (_Dst)
{
delete _Dst;
_Dst = nullptr;
}
}
#endif // !__FUNCTION_H__ | [
"pbk4008@naver.com"
] | pbk4008@naver.com |
1edfbca1d220cc2dbb39073353081e9dedf2b9f8 | 8fe25232b435cfe2d4ca55e6d864e1a9ec497c45 | /lua_bind/lb_layered_bsdf.h | 4ac6ae4211abc8f19b8f613d3e3800c76a7a6826 | [
"MIT"
] | permissive | capagot/swpathtracer | 0aaaf8cb957066393bb53f00cbe7a46361e427ba | 613045f5bf75e0295a5cdcc60bebdfb8a534f4ae | refs/heads/master | 2021-04-09T16:52:55.272386 | 2019-12-20T23:58:38 | 2019-12-20T23:58:38 | 55,917,517 | 18 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | h | #ifndef LUA_BIND_LB_LAYERED_BSDF_H
#define LUA_BIND_LB_LAYERED_BSDF_H
#include <vector>
namespace lb {
struct LayeredBSDF {
LayeredBSDF() {}
std::vector<unsigned int> bsdf_id_list_;
};
} // namespace lb
#endif // LUA_BIND_LB_LAYERED_BSDF_H
| [
"christian.azambuja@gmail.com"
] | christian.azambuja@gmail.com |
8a0f6498485abeaaa9527cbef6b0f43fa91831c6 | 0c28e7d86bd3fd920149301117a74221ae3a6a4f | /17130130312-曹晨瑶-OOP第4次实验成果/source_4_2/BSTree.cpp | 43143e4e8c0743ee2f90f87b73a27f719aa12eee | [] | no_license | CCYmowang/c- | 2f13b219571f73da68766b840843b229bd004059 | a15e1e929b7c702b5afcba8b0ba95140351bcbe9 | refs/heads/master | 2021-01-04T08:11:30.614105 | 2020-02-14T11:14:38 | 2020-02-14T11:14:38 | 240,458,737 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,131 | cpp | //文件摘要:实现排序二叉树类型 BSTree
//17130130312 曹晨瑶
//2019.5.25
#include"Tnode.hpp"
#include"BSTree.hpp"
#include<string>
using namespace std;
BSTree::BSTree() : Root(NULL)
{
}
BSTree::~BSTree()
{
destroy();
}
void BSTree::destroy()
{
deleteBST(Root);
Root = NULL;
}
bool BSTree::regist(const string& newWord)
{
... | [
"2212236285@qq.com"
] | 2212236285@qq.com |
d81242457f0b32eb61a847fd99e3941ed5b325c8 | ba3a91b458e56edf45603fccf5ec76221e6d2cbd | /G19/C.cpp | 9242733c348a0f4e46308ded0824c4b2202df1c7 | [] | no_license | AkmalPratama/cf | 2c1217b79c5e94c531fed60aaede64752650adfd | 9ac336fde14398ef5e61e7e112c400cc8b9d68df | refs/heads/master | 2023-09-03T23:36:17.418747 | 2023-08-26T15:14:29 | 2023-08-26T15:14:29 | 134,940,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | #include <bits/stdc++.h>
#define ll long long
using namespace std;
void solve() {
int n;
cin >> n;
ll a[n];
for (ll &x: a) {
cin >> x;
}
if (n == 3) {
if (a[1] % 2) {
cout << -1 << endl;
} else {
cout << a[1] / 2 << endl;
}
return;
}
bool b = true;
ll ans = 0;
for (int i = 1; i < n-1; i++) {
... | [
"m.akmalpratama@yahoo.co.id"
] | m.akmalpratama@yahoo.co.id |
37d3141b8833d9ce809252c0a6d7ee089cc3a432 | 05497e58ebdd17f9e3d3681314f672d88e45c761 | /陈旧的项目/test-Cach-HuanCun/test-Cach-HuanCun.ino | be73ce02a977bc1b24eeb4643ae338da333083cb | [
"CC-BY-4.0"
] | permissive | bingcheng1998/Arduino | 19d967d62a128d89aa748980128b4489f61c488b | ca6bb22d9e1348a4705840598eef952d263a2701 | refs/heads/master | 2020-03-08T02:24:13.272890 | 2018-09-08T03:30:58 | 2018-09-08T03:30:58 | 127,858,890 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | ino | int redPin = 9;
int greenPin = 10;
int bluePin = 11;
void setup(){
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(bluePin, OUTPUT);
}
void loop(){
//R:0-255 G:0-255 B:0-255
colorRGB(0,200,0);
delay(1000);
}
void colorRGB(int red, int green, int blue){
analogWrite... | [
"bingcheng1998@qq.com"
] | bingcheng1998@qq.com |
f5fc50afd45f6593ee96457af04c0a31867301d3 | 68c31b17f78818c5fa1582789b60251e7d1c7a1d | /wave-processor.h | 5f97119008b5df59754a45a9f32d739289deeafc | [] | no_license | kobeyang/cvaf | a6c874939230e37addd51f4bede8cf65ae9c7f49 | 52b3360228973295f76532b504136355ea1d166d | refs/heads/master | 2021-01-19T06:19:59.808508 | 2015-04-22T08:52:55 | 2015-04-22T08:52:55 | 26,003,450 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,871 | h |
#ifndef __MY_UTIL_H001__
#define __MY_UTIL_H001__
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include <stdio.h> // for "FILE *"
#include <vector>
#define BUFFER_SIZE_IN_SAMPLES_DS 8192 // 8k, for down sampling op.
#define SamplesVectorQuer... | [
"yg54123@126.com"
] | yg54123@126.com |
8929f19a581d2ec436a642a2d2b11edd77d3e83f | 9a07c77cfdab379d52daafb560152593d3126c33 | /src/task1.hpp | b5c67727db7ea6b658344484f5176bf321a81716 | [] | no_license | harishuf/Algorithms5405 | e72db0b6cd559a2831eebec9d2576a3755859aa2 | 0e77a54e0a8bede48c7461a5c5d519dfeac28781 | refs/heads/master | 2020-03-11T00:23:01.239428 | 2018-04-16T00:16:26 | 2018-04-16T00:16:26 | 129,662,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | hpp | #ifndef TASK1_HPP
#define TASK1_HPP
void task1(int num_row, int num_column, std::vector<std::vector<int> >& height, int h);
#endif
| [
"harish.ravishankar16@gmail.com"
] | harish.ravishankar16@gmail.com |
2fab2c433d190d71fc917fc29ef85b282c7dcdf2 | a3f7fdc79e7e2ed8680f2ccedea2ebae59911656 | /timer/list_timer.h | bcea5f5bf4c64751aefdd452f395a01f52be30db | [] | no_license | yzzzh/TinyServer | 1248031dcdcd2b633f679b4764d83315867d42fb | 046fac4b087d41feaf44785895f919259248d5df | refs/heads/master | 2022-11-07T03:18:51.228201 | 2020-06-20T16:15:34 | 2020-06-20T16:15:34 | 273,741,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,575 | h | //
// Created by yzh on 5/2/20.
//
#ifndef TINYSERVER_LIST_TIMER_H
#define TINYSERVER_LIST_TIMER_H
#include <ctime>
template <typename T>
class lst_timer{
public:
std::time_t m_expire;
T* m_task;
lst_timer *prev,*next;
void (*m_callback_func)(T*);
lst_timer(int delay,T* task = NULL,void (*cb_fun... | [
"453505647@qq.com"
] | 453505647@qq.com |
952d10aeade1b4ecea01a281bee9d0a5ab0c7280 | a1a8b69b2a24fd86e4d260c8c5d4a039b7c06286 | /build/iOS/Release/include/Fuse.Triggers.BusyTask.Type.h | e477477d58a51743dae1bb9ddbfd99d89fcb2377 | [] | no_license | epireve/hikr-tute | df0af11d1cfbdf6e874372b019d30ab0541c09b7 | 545501fba7044b4cc927baea2edec0674769e22c | refs/heads/master | 2021-09-02T13:54:05.359975 | 2018-01-03T01:21:31 | 2018-01-03T01:21:31 | 115,536,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Triggers/1.4.2/BusyTask.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Triggers{
// internal enum BusyTask.Type :56
uEnumType* BusyTask__Type_typeof(... | [
"i@firdaus.my"
] | i@firdaus.my |
909515cd362f2acaa46fb58eda42250ca4908720 | 9ada6ca9bd5e669eb3e903f900bae306bf7fd75e | /case3/ddtFoam_Tutorial/0.000100000/OH | d3ef0db7dce3dedb1839d95cc8782c90ed5ea6a9 | [] | no_license | ptroyen/DDT | a6c8747f3a924a7039b71c96ee7d4a1618ad4197 | 6e6ddc7937324b04b22fbfcf974f9c9ea24e48bf | refs/heads/master | 2020-05-24T15:04:39.786689 | 2018-01-28T21:36:40 | 2018-01-28T21:36:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,257 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | [
"ubuntu@ip-172-31-45-175.eu-west-1.compute.internal"
] | ubuntu@ip-172-31-45-175.eu-west-1.compute.internal | |
1559f97fb42a278c9f9a06843f39d578e86e9f95 | 4d4b02b01a1e29650c8fd8dc1e962c10a6d3dbab | /include/Test/polygonTest/main2.cc | 0f9bf2c205b4b38a401ae33e52b272a7545f1290 | [] | no_license | jwillbold/nuclearShape | 6349e6022585430baa64fa39a03992d11743179c | 08c59e0f5739c1604bb29b386cc31b163e137826 | refs/heads/master | 2020-04-26T09:12:23.557328 | 2009-07-30T04:22:18 | 2009-07-30T04:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cc | //
// main.cc
// polygonTest
//
// Created by Robert Snapp on 2007-07-10.
// Copyright 2007 Robert R. Snapp. All rights reserved.
//
#include "polygon.h"
#include "ntuple.h"
#include <iostream>
#include <list>
using namespace std;
int main (int argc, char * const argv[]) {
// insert code here...
Polygo... | [
"Robert.Snapp@uvm.edu"
] | Robert.Snapp@uvm.edu |
3b5c0f6e7b667bd20a9fb9431a70f4464cc981ff | 637c4892287929583bdadd8630d5353dd78dc82c | /vendor/cubelib/src/cube/src/dimensions/metric/value/CubeValue.cpp | 27b0e0e5d8c16e8bb6d6687487c7771b86ca0613 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | readex-eu/readex-scorep | 6819f074bba6b4fe9d6de07cf7037d2829cbbccf | 38d7b84145f229b44670656d59f84faa51007ced | refs/heads/master | 2020-03-27T01:04:12.730561 | 2018-08-22T14:42:37 | 2018-08-22T14:42:37 | 145,679,275 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,813 | cpp | /****************************************************************************
** CUBE http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 1998-2017 **
** Fors... | [
"robert.schoene@tu-dresden.de"
] | robert.schoene@tu-dresden.de |
a5d5a68ddab0d276179cd915613ad6376c2b9b9c | 74a03be45b170873810ac6d3f23e194ef906fce0 | /Auto/Auto/Auto.cpp | cec9fb6f9d28f3a96b9b26c12816a3bc83a2cb7c | [] | no_license | Heczko/Ukol-3---dedicnost | 9c570e56d16025d5a643e1305680eefd5d99d9fa | edb688a4d7bf965c976d72f3c39d8532c62c4d01 | refs/heads/master | 2022-04-26T03:35:19.217387 | 2020-04-22T16:25:37 | 2020-04-22T16:25:37 | 257,957,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | cpp | #include "Auto.h"
double Auto::cenaBenzin = 29.60;
double Auto::cenaNafta = 28.90;
Auto::Auto(string vyrobce, string SPZ, int rokVyroby, double spotreba, string palivo, int stavKm, double cenaZaKm)
{
this->vyrobce = vyrobce;
this->SPZ = SPZ;
this->rokVyroby = rokVyroby;
this->palivo = palivo;
this->spotreba = sp... | [
"hec0067@vsb.cz"
] | hec0067@vsb.cz |
cff6c9abee3f61118c0c4254b2e8b25760ddfa52 | 1f93ba8bf462c64c5be1d238d9ddd6eeceecb297 | /LD44/main.cpp | 55ca8853c68ebf3c0998b3709f0816d128edf2dc | [] | no_license | ben-humphries/LD44 | 01af8f233af1e37b92d16d2f9837b9212440145f | bbba32083f49f28da2d1b3e47d531c88d9ee9773 | refs/heads/master | 2020-05-17T12:39:56.768633 | 2019-04-29T00:27:46 | 2019-04-29T00:27:46 | 183,716,960 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,656 | cpp | #include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include "Level.h"
int main()
{
srand(time(NULL));
sf::RenderWindow window(sf::VideoMode(800, 800), "LD44");
window.setKeyRepeatEnabled(false);
sf::View view;
view.zoom(0.5);
view.setCenter(4*50, 4*50);
window.setView(view);
sf::Texture tileTex;
if (... | [
"benfhumphries@gmail.com"
] | benfhumphries@gmail.com |
3339557143aa410c5a5f1d5ccf01a1cf72625433 | 734dd6d4e9d79e9f2a8a04ca4671a6fe7de28d92 | /src/ob/text.hh | 5d1683ff995359bce1e1e0ca6968efbaa7268c71 | [
"MIT"
] | permissive | octobanana/lssa | 2f4f9bd7d0d9a75d7766699542e1106de06fe157 | 6b664f881f2b932b066f01337aa0791ef29e7931 | refs/heads/master | 2020-06-19T02:35:56.147374 | 2019-10-07T11:44:22 | 2019-10-07T11:44:22 | 196,534,021 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 29,248 | hh | /*
88888888
888888888888
88888888888888
8888888888888888
888888888888888888
888888 8888 888888
... | [
"octo.banana93@gmail.com"
] | octo.banana93@gmail.com |
77147233701f8401ec6ce8fa9f3685676c560baf | df4552b605539c07c179ee603fc7c71ff0dd2c6f | /SmartHomeServerForTiny4412/threadPool.cpp | 9d8840b2cc3cc5e852e574172d329ea8d5075ad1 | [] | no_license | wuyuanfei/smarthome | b00cec54861fc939abbd7a47f68dacc03a0383b4 | 3665bdb7f169268016f7983fd9fa7f493422870a | refs/heads/master | 2021-01-20T14:42:51.031601 | 2017-05-08T17:39:35 | 2017-05-08T17:39:35 | 90,651,024 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,309 | cpp | #include "smartHome.h"
typedef void (*clean_t)(void *);
static int thread_start_work(thread_description_t *thread)
{
thread_pool_t *thread_pool = thread->thread_pool;
if(!thread->thread_work){
THREAD_DBUG("Thread work is NULL\n");
return -1;
}
thread->thread_work(thread->work_data);
pthread_mutex_lock(&t... | [
"wuyuanfei_yc@163.com"
] | wuyuanfei_yc@163.com |
8997beffa02d2b1b1afa0615c1f40f2dfadb7287 | c05ffe82eb1ced2258d973fc7beaa0204195cea4 | /Source/RainCity/RainCityGameModeBase.cpp | 00085e3460ab13a0bff89f13f297b579be50bd31 | [] | no_license | LegioVIferrata/rain_city_ue4 | fe1f888a7f8f60bab8aec08a409696d70a8e5c7c | ac30f1c959b5368b1397bebefde7a75887e85c53 | refs/heads/master | 2020-12-23T12:23:43.494841 | 2020-01-30T06:10:19 | 2020-01-30T06:10:19 | 237,149,833 | 0 | 0 | null | 2020-01-30T06:03:13 | 2020-01-30T06:03:12 | null | UTF-8 | C++ | false | false | 118 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "RainCityGameModeBase.h"
| [
"LegioVIferrata@users.noreply.github.com"
] | LegioVIferrata@users.noreply.github.com |
0ef9ebd531e3bceea3a157637f674636b4d0d941 | 89b89b191c7154bfcd62d84483bb66a29dcc3a58 | /Hmwk/Assignment_4/Gaddis_8thEd_Chap13_Prob7_TestScoresClass/Scores.h | 30094ad7e6abf6fa0aded1fac1033ceaf8d21fde | [] | no_license | OscarSandoval21/SandovalOscar_CIS17a_Fall2017 | a7a1749d30065c2bba5ed6190588c1ec338393fb | ec8e7547512b3fedd76c4759df48f4f55f1f44ae | refs/heads/master | 2021-08-28T10:45:51.643625 | 2017-12-12T01:19:08 | 2017-12-12T01:19:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | h | /*
* Author: Oscar Sandoval
* Date: October 20th, 2017
* Purpose: Scores class specification
*/
#ifndef PAYROLL_H
#define PAYROLL_H
class Scores
{
private:
float test1; //Score for test #1
float test2; //Score for test #2
float test3; //Score for test #3
public:
Scores(... | [
"dannygamer@live.com"
] | dannygamer@live.com |
202316733407001701087f35e6a770d89cc82535 | 1385b6dadcb7e11dc20dc0df479b73c745789647 | /BT/btCommon.h | 04d32045a1e652980d79717344735680af81f41e | [] | no_license | ysj89/Thesis | f3a8b76d1311b10a10d20d88877207125426e1ec | 7cfaa65683777ffe0f4422246a29ea5c19c62a1e | refs/heads/master | 2020-04-15T14:35:37.456037 | 2016-08-31T11:14:12 | 2016-08-31T11:14:12 | 51,139,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | h | #ifndef BTCOMMON_H
#define BTCOMMON_H
#define __BEHAVIOURTREE
#include <iostream>
#include <vector>
#include <deque>
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include "../BT/behaviour.h"
#include "../BT/composites.h"
#include "../BT_leafs/conditions.h"
#include "../BT_leafs/kheperaActions.h"
#ifd... | [
"yannick_janssen@tud11687.tudelft.net"
] | yannick_janssen@tud11687.tudelft.net |
80f24aaf09ce432d2f35a41bf2d46b27fe5a5929 | 2b1b459706bbac83dad951426927b5798e1786fc | /src/devices/tools/fidlgen_banjo/tests/cpp/handles-internal.h | f9712de9a82028e447470af311659f88dc376ff6 | [
"BSD-2-Clause"
] | permissive | gnoliyil/fuchsia | bc205e4b77417acd4513fd35d7f83abd3f43eb8d | bc81409a0527580432923c30fbbb44aba677b57d | refs/heads/main | 2022-12-12T11:53:01.714113 | 2022-01-08T17:01:14 | 2022-12-08T01:29:53 | 445,866,010 | 4 | 3 | BSD-2-Clause | 2022-10-11T05:44:30 | 2022-01-08T16:09:33 | C++ | UTF-8 | C++ | false | false | 1,150 | h | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// WARNING: THIS FILE IS MACHINE GENERATED. DO NOT EDIT.
// Generated from the banjo.examples.handles banjo file
#pragma once
#include <type_traits>
nam... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
bd4324738705bd5599b592b5198bb80f443d8dab | 5100674f94aca3f0a0e9c4f3bcb16006d11e5c6b | /leetcode/78_子集DFS.cpp | c5e9fd79dee1ca48cc2a1801528d8efd40c0ae5e | [] | no_license | erikliu123/algorithm_problems | 0702655ed61d60702395390e377d4e480aae75dc | 7cab9006dc37a745ac9a5f96a9d4265508b712af | refs/heads/master | 2023-08-11T13:01:07.235840 | 2021-09-27T03:28:41 | 2021-09-27T03:28:41 | 357,453,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp | #include<iostream>
#include<vector>
using namespace std;
/*
给你一个整数数组 nums ,数组中的元素 互不相同 。返回该数组所有可能的子集(幂集)。
解集 不能 包含重复的子集。你可以按 任意顺序 返回解集。
示例 1:
输入:nums = [1,2,3]
输出:[[],[1],[2],[1,2],[3],[1,3],[2,3],[1,2,3]]
1 <= nums.length <= 10
-10 <= nums[i] <= 10
nums 中的所有元素 互不相同
*/
class Solution {
vector<vector<int>> a... | [
"1171045702@qq.com"
] | 1171045702@qq.com |
ad605745dee5b09724d386de98fbd5d07aab1272 | 30cd2fa20a7d24e7667308fca33d802420a0e374 | /sort/merge.cc | 7a8b92cfd2a8737c33151a1226c3e5b0cc2109a7 | [] | no_license | sinkap/AlgosAndDS | b4677b1c66e57e15732e29dcf7dbe1ee6e8c5aff | ff8429a8ce22709062bcaed2881d9b8e3e5f5adc | refs/heads/master | 2020-12-03T00:19:04.282356 | 2015-01-21T01:43:41 | 2015-01-21T01:43:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | cc | #include <iostream>
#include <algorithm>
template <class T, size_t N>
class MergeSort {
public:
static void sort( T (&arr) [N] );
private:
static void _sort(T (&arr) [N], int start, int end);
static void merge(T (&arr) [N], int start, int mid, int end);
static T aux[N];
};
template <class T, size_t N>
T Me... | [
"kapileshwarsingh@KapileshwarsAir.lan"
] | kapileshwarsingh@KapileshwarsAir.lan |
7bf7e6bc610f2baf5811adff547e8538a47515eb | d516ab070e74dbeabfa261104f3ed6b1226eaa88 | /download_picture_lib/download_picture/libdown.cpp | 1a0a6bbbe03655c490eafbc35fd063319e8e5269 | [] | no_license | ChrisInnoIPA/ClanguageTest | f8285bc18c24010fe0fc8aa7a26aa09b5941db97 | 400492adfc85804429b27d44b705f889c63dded1 | refs/heads/main | 2023-07-12T03:36:53.092073 | 2021-08-11T06:37:07 | 2021-08-11T06:37:07 | 394,887,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | cpp | #include <stdio.h>
#include <curl/curl.h>
#include <curl/easy.h>
#include <string>
size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream)
{
size_t written = fwrite(ptr, size, nmemb, stream);
return written;
}
int down(const char *url)
{
CURL *curl;
FILE *fp;
CURLcode res;
/... | [
"chris_chang@innodisk.com"
] | chris_chang@innodisk.com |
c39066b600f89e02c9b10a587ef7f2c37cb468df | 938e4888840de783c74cd6bcf0a44443472054dd | /gammacombo/include/PDF_GLWADS_Dhpipi_hh_Dmix.h | 9a35e711ba0440b127f31da7718a96814707d317 | [] | no_license | ppodolsky/pygammacombo | 1922fb541a8d48f3b08558c1552053e2cf6017cd | fa52d2cda49694de36deb13e235f4e0801fd0fe5 | refs/heads/master | 2021-01-14T08:57:06.796747 | 2016-02-14T05:39:59 | 2016-02-14T05:39:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | h | /**
* Gamma Combination
* Author: Till Moritz Karbach, moritz.karbach@cern.ch
* Date: Dec 2013
*
**/
#ifndef PDF_GLWADS_Dhpipi_hh_Dmix_h
#define PDF_GLWADS_Dhpipi_hh_Dmix_h
#include "PDF_GLWADS_Dhpipi_hh.h"
#include "RooGLWADSDmixAcpVar.h"
#include "RooGLWADSDmixRpmVar.h"
#include "RooGLWADSDmixRkpVar.h"
#includ... | [
"ppodolsky@me.com"
] | ppodolsky@me.com |
98f7e7dc5c589097437e512148e09c90fec63608 | d2a5aab4c62e16526e713d01bd4d73f675c68d7a | /src/pow.cpp | 1db788635f11711bd415cce15033e90e726afd85 | [
"MIT"
] | permissive | smartinsider/zijacoin | aaa523297dc169a321d3766f191d47216cba094a | 6d4cccb0bbc8b5e0f283f7566a3822fa4c989e30 | refs/heads/master | 2020-03-26T04:17:10.381646 | 2019-12-13T19:44:21 | 2019-12-13T19:44:21 | 144,496,134 | 4 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 4,893 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The HUZU developers
// Copyright (c) 2018 The ZIJA developers
// Distributed under the MIT/X11 software l... | [
"smartyinsider@gmail.com"
] | smartyinsider@gmail.com |
7459c9054b96a8d23bfd588c72ce740938ec11cf | cde96fe4299b1a3d8c647ae9ba3ce55f573ea866 | /Source/Program/Diagnostics.cpp | 1fde71f3db22f33b32fc47169c8f73f5008dcd13 | [
"MIT",
"Apache-2.0"
] | permissive | Elindorath/l10ns | 51243f3b5850142cb9971f8ad6b668b6de36af0a | ad1fa4adc2380a8325b2b28c3ef4bd98c079f4d1 | refs/heads/c++ | 2020-12-24T06:59:46.032851 | 2016-11-10T00:28:58 | 2016-11-10T00:28:58 | 73,385,497 | 0 | 0 | null | 2016-11-10T13:39:11 | 2016-11-10T13:39:11 | null | UTF-8 | C++ | false | false | 88 | cpp |
#include <vector>
#include "Types.cpp"
vector<Diagnostic> = {
new Diagnostic(),
}
| [
"tingan87@gmail.com"
] | tingan87@gmail.com |
d79342e89f27dbef2c75f822c550db6b89a7adaf | ccdd5cb6d6a99f1d1e850844f53af359579540ee | /include/brains.h | 048a1301cabd94dc450c08f45f48a5954d9f2e6a | [] | no_license | LibreGamesArchive/monster-rpg-3 | b5d2c2ec74e7ef887d10d039184c1e29b7702f0d | 8f5aa3c3ab3ff1832a444a16d93a36ec405179ba | refs/heads/master | 2021-05-30T09:02:01.339970 | 2016-02-02T03:38:36 | 2016-02-02T03:38:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,338 | h | #ifndef BRAINS_H
#define BRAINS_H
#include <Nooskewl_Engine/Nooskewl_Engine.h>
#include "brain_actions.h"
using namespace Nooskewl_Engine;
bool start_brains();
void end_brains();
class Monster_RPG_3_Brain : public Brain {
public:
Monster_RPG_3_Brain() : can_pick_pocket(true) {} // even though true, must be the ri... | [
"trent@nooskewl.ca"
] | trent@nooskewl.ca |
494fc7ed6b4eb386f82c02a31fdec6c67a949f5c | b41532e333eb839abd35c788fbdc54eadb93263b | /src/RMeCabC.cpp | db5619525a07fba691bbf014e59674c00af32f2c | [] | no_license | halka9000stg/RMeCab | 8dd1b94aa717bc6d9d1d10c798b4422e884b29ca | 72775047fe9f88346963512157dcab965440b9b6 | refs/heads/master | 2022-07-07T20:57:28.035193 | 2020-05-13T05:29:28 | 2020-05-13T05:29:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,155 | cpp | /*
ver 1.04 2019 06 10
全ての関数を使われる前に消し去りたい
|\ /|
|\\ //|
: ,> `´ ̄`´ < ′
. V V
. i{ ● ● }i
八 、_,_, 八 わけがわからないよ
. / 个 . _ _ . 个 ',
_/ il ,' '. li ',__
docDF関数で全てをまかなえるから
*/
#include "RMeCab.h"
////... | [
"ishida.motohiro@tokushima-u.ac.jp"
] | ishida.motohiro@tokushima-u.ac.jp |
3826846294f274d5782240016f6364ac6382ab6a | 1318047e5ccef245460df1ccdc74fc1c9f639d78 | /Timerlib/Timer.cpp | 8e03b7b44f52bbe21bfebe948ec068c94cce3882 | [] | no_license | wtmlon/httpServer | 803b5297e32bc245e9832c0ba36fd034e96510ea | 4ef8e469c3d821c92ac59294358dfc9ac209d6fc | refs/heads/master | 2023-04-27T11:05:59.256890 | 2023-04-19T08:45:39 | 2023-04-19T08:45:39 | 267,257,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | /*************************************************************************
> File Name: Timer.cpp
> Author: wtmlonman
> Mail: wtmlon@foxmail.com
> Created Time: Monday, March 23, 2020 PM07:18:38 HKT
************************************************************************/
#include "Timer.h"
using name... | [
"wtmlon@foxmail.com"
] | wtmlon@foxmail.com |
d2609827b730b3bf774e7e70822aa7eee95b655a | 0620a9fb72699fc1ba3f8e2d9eb7dbabb6b35db0 | /Phoenix3D/PX2Unity/PX2Crypt.cpp | 6706997e5b4f7359479e589b64ed706d8bd728cd | [] | no_license | bobbyzhu/Phoenix3D | 81da84230c18165a2c98ab52c8eaeea3f70f4683 | eeb8f95885bbe046723f43f3bca52cefe01a6d54 | refs/heads/master | 2021-01-15T08:13:10.282393 | 2015-04-20T10:57:27 | 2015-04-20T10:57:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | cpp | // PX2Crypt.cpp
#include "PX2Crypt.hpp"
using namespace PX2;
//----------------------------------------------------------------------------
const int C1 = 52845;
const int C2 = 22719;
const int KEY = 72957;
//----------------------------------------------------------------------------
bool Crypt::Encrypt(unsigned cha... | [
"realmany@163.com"
] | realmany@163.com |
2602bdd1de3a8a8d0eaa8f83d42cbe011f0270d0 | 92fd213094c6efb6d1bf2395624481d683f30ae8 | /30.串联所有单词的子串.cpp | 114b392fc472d59b81d46369e2bc1109ad350265 | [] | no_license | macl1012/leetcode-cpp-do | f92de8111958425d327e01840e617a976a21ea27 | 2d713260d403026968b7a10fa6367c12bae4d12d | refs/heads/master | 2021-01-02T00:38:58.522531 | 2020-03-12T14:48:26 | 2020-03-12T14:48:26 | 239,415,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | cpp | /*
* @lc app=leetcode.cn id=30 lang=cpp
*
* [30] 串联所有单词的子串
*/
// @lc code=start
class Solution {
public:
vector<int> findSubstring(string s, vector<string>& words) {
// 采用滑动窗口的框架思想
if(words.size() == 0) return {};
int lenWord = words[0].length();
int lenWords = lenWord * words.... | [
"macl1012@163.com"
] | macl1012@163.com |
e44f6fc02911970f64b44c939a9f3084a4d2ebb3 | edb4f249883679792e689eea9fcf969f331c28ba | /codejam/Round 1C 2014/A.cpp | 64628ade95fe019d0058adf90fda6bca1db744a5 | [] | no_license | pavelsimo/ProgrammingContest | 2845bddc2a61444bf2c667aa5f77e34f7a324ebc | a2c52be868bcd480a682b872fed85b344731497b | refs/heads/master | 2021-01-25T03:48:05.415007 | 2017-11-11T14:39:51 | 2017-11-11T14:39:51 | 25,308,102 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,438 | cpp | #include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <list>
#include <bitset>
#include <deque>
#include <numeric>
#include <iterator>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ccty... | [
"pavelsimo@navinfo.com"
] | pavelsimo@navinfo.com |
aa119f3e1b87ff5067eba8e9ce7218440f174f08 | bab05e214171b7c12c267e6424f58b263adfffb4 | /1_semestr/1/z5.cpp | 05291c0e59f3273658732828976646ff20189c92 | [] | no_license | RudenkoDmitriy/MyHomeWorking | 62ba1cd3a0d07c0e92af72eaab20dcc261335df3 | 6f9e5ac04143d87f722363d5e0025b3e42cdea11 | refs/heads/master | 2020-06-05T19:24:22.515039 | 2015-08-20T17:17:07 | 2015-08-20T17:17:07 | 16,886,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | cpp | #include <stdio.h>
#include <iostream>
#include <math.h>
#include <time.h>
using namespace std;
void revolution (int mas[], int left, int right)
{
int count = 0;
for (int i = 0; i <= (right - left) / 2; i++)
{
int temp = mas[left + count];
mas[left + count] = mas[right - count];
mas[right - count] = temp;
... | [
"d.rudenko95@mail.ru"
] | d.rudenko95@mail.ru |
45835547a4c4c524813eaf69e33fe9f7486104a4 | 296e7ba42bcf76ee0007a632f0bc85c413632005 | /CMS/ASN1/Algorithm/HMAC-SHA-1.h | 9cb666335e274aa77cbca53efe49e01916e4e7a5 | [] | no_license | Shaw02/CMS | 0ba6aa5ceb863df19a9ffd3f85192397c5432357 | 455f6415d6cad124d527e3d92961ea5e9f194fb8 | refs/heads/develop | 2021-06-20T06:37:40.355716 | 2021-02-18T10:08:22 | 2021-02-18T10:08:22 | 182,756,900 | 11 | 0 | null | 2021-02-18T10:08:22 | 2019-04-22T10:46:02 | C++ | SHIFT_JIS | C++ | false | false | 1,228 | h | #pragma once
#include "HMAC.h"
//======================================================================
// HMAC-SHA-1
//----------------------------------------------------------------------
// Reference:
// RFC 2898 PKCS #5: Password-Based Cryptography Specification
//===========================================... | [
"sha_w@nifty.com"
] | sha_w@nifty.com |
573b8b6a756f62ebdaa6bfe9a53c7bd7e1f8010d | 8c47614c1887fd1766cdfd32a9960a23d90282ca | /dataset/source/customtokens/customtokens.cpp | 723bb855cb6741cad7bcf4e8fb43b11b0d0508f6 | [
"MIT"
] | permissive | gongbell/EOSFuzzer | 4de02b34fb9af97969b1769dc9ee80cdb9bddb98 | 6c55096bc06e250d41cd55a62f4404c997327eca | refs/heads/master | 2023-08-31T14:37:33.619749 | 2021-10-25T12:58:36 | 2021-10-25T12:58:36 | 282,572,992 | 7 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 3,261 | cpp | #include <eosiolib/eosio.hpp>
#include <eosiolib/asset.hpp>
using eosio::asset;
class customtokens_contract : public eosio::contract {
public:
customtokens_contract(account_name self) :
eosio::contract(self),
tokens(_self, _self) {}
// A simple set function:
// Takes a unique identifier, the person wh... | [
"huangyuhe@buaa.edu.cn"
] | huangyuhe@buaa.edu.cn |
9151fab395388f3689a935798945f926e17d3863 | 91a69a25b706275da819e448c58e97b1f7b90edc | /SpaceInvadersClone/src/GameObjects/UpdateComponent.cpp | b384e780daa558e3f6db3d5d1025070d3c41cf4d | [] | no_license | msearles25/space-invaders-clone | 0541befa1e7608091aba245ccf9ecbd8572f89ce | f63fc7bce900283154df39b95d9ac67ea3592cd1 | refs/heads/main | 2023-01-14T10:02:24.428044 | 2020-11-07T20:08:10 | 2020-11-07T20:08:10 | 309,787,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74 | cpp | #include "UpdateComponent.h"
/*
All functionality in UpdateComponent.h
*/ | [
"skaman4459@gmail.com"
] | skaman4459@gmail.com |
701a3af2ca4e4028542b063c2d53b48f1b328f99 | 453eac1441f6197462fe91c9a56afc3d0b135391 | /json/main.cpp | ac65421f8c37111e59f9fd05bc71e6b05b4ffaef | [] | no_license | wonderyw/aqours | af8319e03f00bea812edc499ee6e1a0c03bb0d78 | 7a29bd13f05689b49988c332368b3bb5084b236f | refs/heads/master | 2020-09-24T05:43:53.208903 | 2017-03-16T07:20:55 | 2017-03-16T07:20:55 | 66,276,122 | 0 | 0 | null | 2017-03-16T07:20:55 | 2016-08-22T13:41:52 | C++ | GB18030 | C++ | false | false | 1,413 | cpp | #include <iostream>
#include <cstdlib>
#include "json.h"
#include "exception.h"
#include <fstream>
using namespace std;
int main()
{
ifstream fin("test.json");
string str;
Json json(&fin); //开始解析
json.writeToStr(str); //如果解析成功,打印出解析出来的json字符,失败则报出异常
cout << str << endl;
cout << endl;
string str1;
json... | [
"hiyajo_salieri@foxmail.com"
] | hiyajo_salieri@foxmail.com |
264360ff60e081c84c29bc512d219061717b8970 | e04f52ed50f42ad255c66d7b6f87ba642f41e125 | /appseed/aura/user/user/user_menu_command.h | cf1cf11eb9aaf14fbe45ddbd64431888d8944bdb | [] | no_license | ca2/app2018 | 6b5f3cfecaa56b0e8c8ec92ed26e8ce44f9b44c0 | 89e713c36cdfb31329e753ba9d7b9ff5b80fe867 | refs/heads/main | 2023-03-19T08:41:48.729250 | 2018-11-15T16:27:31 | 2018-11-15T16:27:31 | 98,031,531 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | h | #pragma once
namespace user
{
class CLASS_DECL_AURA menu_command :
virtual public ::user::command,
virtual public ::user::check,
virtual public ::user::set_text
{
public:
menu_item_ptra * m_pitema;
menu_item * m_pitemContainer;
menu_command(::aura::appl... | [
"camilo@ca2.email"
] | camilo@ca2.email |
c2ff3e0aecfddc8bfb33c6c768f93d5daa17597e | 33f954a0f07afcd2d16ad2361716c7063285ac08 | /src/graphicslib.cpp | 16edf4aa13d572f47a498356d946bfed471e77e1 | [] | no_license | fvvsantana/windmill | e1fe3023a7389b654253ec08c0a5b252cfd744d1 | e0803f72ca7cfbc0ab538149859634124793f116 | refs/heads/master | 2020-05-09T13:49:29.308981 | 2019-04-13T20:05:59 | 2019-04-13T20:05:59 | 181,168,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,933 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
//#include <glm/vec2.hpp>
//#include <glm/vec3.hpp>
//#include <glm/vec4.hpp>
//#include <glm/mat4x4.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
//#include <SOIL/SOIL.h>
//#include <../include/SOIL.h>
//#includ... | [
"fvvsantana@gmail.com"
] | fvvsantana@gmail.com |
47f22254dda39bf28317822c48acfa237d3e918b | f805fc4bea9e5c77a78f2e38a8f192800b94123e | /dispenseModule/dispenser.cpp | e91c8225c195000ce1a3bce4f6a8c1a2d8760817 | [] | no_license | xhyangxianjun/shineTech | bbb5631d87e64896193c9ac34299ae82faafac88 | ff026b025d0721821c4c26f33beac3a4e8ab2c38 | refs/heads/main | 2023-01-24T04:15:10.471974 | 2020-11-22T15:24:38 | 2020-11-22T15:24:38 | 415,490,548 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,195 | cpp | #include "dispenseModule/dispenser.h"
DispensePathPoint::DispensePathPoint()
{
}
DispensePathPoint::DispensePathPoint(int dem_of_point, QVector<double> point, PATH_POINT_TYPE point_type)
{
dem = dem_of_point;
for(int i=0; i<dem; i++)
{
p.append(point[i]);
}
type = point_type;... | [
"laikwoktai@gmail.com"
] | laikwoktai@gmail.com |
04352422c1c87794f48ef04bbaf2080ab7a9cfe1 | 70ffda4f42c257369ed602dd02bb2f7457648e99 | /dev/src/package_voxel/VoxelWorldGeneratorImpl.cpp | c18b745267d9cbcad44e52b6e723bb2f58bf973c | [] | no_license | johndragon/ld3d | 9591e5f88c6fd9d4deb34bf6ba231d7b8e65ff04 | 234fdeb7498a2195192ed68d4cd5d5b9b8142ece | refs/heads/master | 2021-01-22T16:38:09.963257 | 2014-03-20T10:14:02 | 2014-03-20T10:14:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,260 | cpp | #include "voxel_pch.h"
#include "VoxelWorldGeneratorImpl.h"
#include "VoxelWorldChunk.h"
#include "VoxelPool.h"
#include "VoxelWorldDataSet.h"
#include "VoxelWorldImpl.h"
#include <boost/random.hpp>
namespace ld3d
{
VoxelWorldGeneratorImpl::VoxelWorldGeneratorImpl(GameObjectManagerPtr pManager) : VoxelWorldGenerato... | [
"lythm780522@gmail.com"
] | lythm780522@gmail.com |
4543b039dd311f53f878e2f767accda63ec0bf63 | e38284c7578f084dd726e5522b3eab29b305385b | /Wml/Source/RationalArithmetic/WmlTInteger.inl | 568210df0428895ce4aa8779de6a76c524552a47 | [
"MIT"
] | permissive | changjiayi6322/deform2d | 99d73136b493833fa4d6788120f6bfb71035bc4d | 1a350dd20f153e72de1ea9cffb873eb67bf3d668 | refs/heads/master | 2020-06-02T19:38:45.240018 | 2018-07-04T20:26:35 | 2018-07-04T20:26:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,596 | inl | // Magic Software, Inc.
// http://www.magic-software.com
// http://www.wild-magic.com
// Copyright (c) 2004. All Rights Reserved
//
// The Wild Magic Library (WML) source code is supplied under the terms of
// the license agreement http://www.wild-magic.com/License/WildMagic.pdf and
// may not be copied or disc... | [
"git@liyiwei.org"
] | git@liyiwei.org |
024b61553cb89933b09a4608b1ff516238d11abc | 29eb66c7d378e212c78278b3e622a77436db1f58 | /Tool/BeyondEngineEditor/SceneGridWnd.h | 8426c7088fefab789fd271abc3ad8f030f8e0b68 | [] | no_license | yf885188/BeyondEngine | b71dc0db844e5e9769e30a341e1ca55fc784d9de | 9950c12e6c34450c234905731454b40a6f55609c | refs/heads/master | 2021-06-16T16:02:09.778944 | 2017-03-06T07:01:33 | 2017-03-06T07:01:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,274 | h | #ifndef BEYOND_ENGINE_EDITOR_EXTRAWINDOW_SCENEGRIDWND_H__INCLUDE
#define BEYOND_ENGINE_EDITOR_EXTRAWINDOW_SCENEGRIDWND_H__INCLUDE
class wxPropertyGrid;
class wxPropertyGridEvent;
class wxPGProperty;
class CSceneGridWnd : public wxFrame
{
typedef wxFrame super;
public:
CSceneGridWnd(wxWindow *parent, wxWindowID... | [
"loveybeyond@163.com"
] | loveybeyond@163.com |
5287051c3cc226157a19a5f7054e44a43628108e | 4a1c197201d86ad1cb56bbf8314adbe33bc2422c | /forCpp/Classes/screens/MyGameScreen.cpp | d362efb00f19df8a2a14e6417d4be66edff198b4 | [] | no_license | yirenzhi/jake | 2b7eadcfd65fd5b9028c82c4a84795f36a4311fe | 76530d6eb19ae783ecf2bd218610ffb4897b80e3 | refs/heads/master | 2020-04-06T07:13:16.015141 | 2016-10-17T09:56:15 | 2016-10-17T09:56:15 | 23,581,816 | 0 | 0 | null | 2016-06-15T11:55:19 | 2014-09-02T14:29:36 | C++ | GB18030 | C++ | false | false | 6,185 | cpp | #include "MyGameScreen.h"
#include "HomePageScreen.h"
#include "AskOpenScreen.h"
#include "VariousScreen.h"
#include "GameInfoScreen.h"
MySprite* MyGameScreen::selectGame = NULL;
int MyGameScreen::selectIndex = 0;
int MyGameScreen::tileY = 0;
string MyGameScreen::allGamesStr = "";
bool MyGameScreen::init(){
needSave... | [
"yiren_zhi@163.com"
] | yiren_zhi@163.com |
4357914ecba52e582049547f0796e1f7975f0fd5 | 48ef47d45a5abcce2c00c1d5845d9d1066e7cc1f | /cpp/202_HappyNumber.cpp | 9fe6d9ac1aa830f42c11e32530c0293d0867e189 | [] | no_license | umiringo/leetcode | fc4b062f7c628027adaefadc06e0ebb186c4e0ca | b4d824c286b82bc4c871a5f068912f8b7dfae4c8 | refs/heads/master | 2021-01-10T02:02:25.681851 | 2016-01-15T03:35:10 | 2016-01-15T03:35:10 | 46,166,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | class Solution {
public:
int sumofS(int n){
int sum = 0;
while( n > 0 ){
sum += (n % 10) * (n % 10);
n /= 10;
}
return sum;
}
bool isHappy(int n) {
int p = sumofS(n);
int q = sumofS(p);
while( p != 1 ){
if( p == q ) ... | [
"umiringo42@gmail.com"
] | umiringo42@gmail.com |
15c13b25fe685471a737b77e64293e093990a645 | f2cba86a7fad90570e2020bb12a7f51729aa6afa | /src/Platform/Windows/System/Timer.h | e19cdba4366ec4d7bcb0cc7ad63075eaef7197b2 | [] | no_license | emergebtc/TavosBTC | 7ddcc01c2c5b1811785120d0e4c9d31b7b813e04 | f1bf530b9be008452ff7259fbbb3dbff8ba1da18 | refs/heads/master | 2016-09-15T21:13:02.156429 | 2015-08-01T08:21:06 | 2015-08-01T08:21:06 | 39,250,551 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 660 | h | // Copyright (c) 2011-2015 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <chrono>
namespace System {
class Dispatcher;
class Timer {
public:
Timer();
explicit Timer(D... | [
"smallstratos@hotmail.com"
] | smallstratos@hotmail.com |
54c5984a8611b3f94d5f4a791b08d76e4e3ecc65 | caacd58516d199ee657f10017fca0fe5de15ba21 | /src/SockLib/CSCommonPart.hpp | 8d5d328d3021e763ef8a78ab01e9c4618ca5b3a1 | [] | no_license | SilveRousePL/RPi_Assistant | 9b0a889436264895167e67020a424500490ad0ef | fa23ba8f0a9be6f62c1935fc9a8e92a968274995 | refs/heads/master | 2021-04-09T11:05:03.703727 | 2018-03-16T19:40:59 | 2018-03-16T19:40:59 | 125,562,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | hpp | //
// Created by darek on 04.03.18.
//
#pragma once
#include <iostream>
#include <thread>
#include <mutex>
#include <unistd.h>
#include <exception>
#include <queue>
#include "NetSock.h"
#include "Packet.hpp"
#include "Exceptions.hpp"
class CSCommonPart {
protected:
std::thread * thread;
/// Socket from NetSoc... | [
"linuxiarz1624pl@gmail.com"
] | linuxiarz1624pl@gmail.com |
b1b42b9ae7a78460fc95d2748a2021d22b4a72a1 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /ash/system/locale/locale_detailed_view_pixeltest.cc | 2f69ba3d242e152b22d99bfcd5e58807fc492898 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 2,211 | cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <utility>
#include <vector>
#include "ash/constants/ash_features.h"
#include "ash/public/cpp/locale_update_controller.h"
#include "ash/shell.h"
#include "ash/system/m... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
4c427628866f9af86a9c89234b8247a493d12d13 | a7deea2595589a52f56ccfd550c4a7cdcfc201d5 | /Geometry/Point3D.cpp | 27ab5a9770e6f51a23d424034f44d4aa158426c8 | [] | no_license | HossanNazmul/Automatic-Planarization-for-the-healing-of-3D-City-Building-Model- | b110a9a0818d29a0fccd4b2a0eec11313798cefc | bcea69f7471ae0fae62746954e82bfa922861965 | refs/heads/master | 2021-01-16T23:43:17.371496 | 2016-07-22T11:43:22 | 2016-07-22T11:43:22 | 63,085,650 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | /*
* Point3D.cpp
*
* Created on: Jun 4, 2016
* Author: Md.Nazmul
*/
#include "Point3D.hpp"
Point3D::Point3D(double x, double y, double z){
// cout<<"constracting Point3D";
// cout<<x<<y<<z<<endl;
setX(x);
setY(y);
setZ(z);
}
Point3D::Point3D(){
setX(0);
setY(0);
setZ(0);
}
Point3D::~Point3D() {
}
dou... | [
"nazmul_03002@yahoo.com"
] | nazmul_03002@yahoo.com |
f891c24b1c5076e28b90428d91bc62fff61057f4 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/rice/p2p/splitstream/testing/MySplitStreamClient_startPublishTask_1.cpp | a4cf6814bf1a98b3df8a53820b148b9eed04193a | [] | 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 | 1,035 | cpp | // Generated from /pastry-2.1/src/rice/p2p/splitstream/testing/MySplitStreamClient.java
#include <rice/p2p/splitstream/testing/MySplitStreamClient_startPublishTask_1.hpp>
#include <rice/p2p/splitstream/testing/MySplitStreamClient.hpp>
rice::p2p::splitstream::testing::MySplitStreamClient_startPublishTask_1::MySplitStr... | [
"sgurjar@adobe.com"
] | sgurjar@adobe.com |
c836e290ecafc025d2d81a9fa781813af45ac4f7 | 3fad5dac9f4868736834179ed873e15c11e8ef03 | /vascaWedi.cpp | 51146546ccfa2533f1cc182c23eddc20098360b7 | [] | no_license | oslucchi/vascaWedi | 0617300af32f63d4418c3f173bcc16e03218fd49 | a8ee071c49662c0bd1ece2b5de8685c035923257 | refs/heads/master | 2020-12-30T07:51:12.026160 | 2020-02-07T16:28:01 | 2020-02-07T16:28:01 | 238,914,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,827 | cpp | /*
* TODO.
* Check the timers for safety open/close of the valve on the overflow.
* Approximatively we cover 1.6 liters every millimeter of height.Le't assume 16 liters make 1cm of water.
* We should so consider a meaningful raising a value in the neighbor of 15mm raise, hence 26 liters entered in the bathtub
* As... | [
"oslucchi"
] | oslucchi |
3945e3e94abbc286496d087f52212db1c7d8d4ef | b8581ce7b8be5e4ed731852c51b11b2d43910058 | /src/test/allocator_tests.cpp | da5e03fcf28363f0939c447c4770847780161626 | [
"MIT"
] | permissive | BlockchainEnergyProject/BlockchainEnergy | ffede27771f4218cb892e09ab542bd3341fa74a1 | 85c2b7dbe7132d180114a6c9fe82d3147fabe14c | refs/heads/master | 2023-07-13T04:04:59.929152 | 2021-08-17T17:15:31 | 2021-08-17T17:15:31 | 269,613,517 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,917 | cpp | // Copyright (c) 2012-2013 The Bitcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "util.h"
#include "allocators.h"
#include "test/test_blockchainenergy.h"
#include <boost/test/unit_test.hpp>
... | [
"info@tlsgroup.io"
] | info@tlsgroup.io |
6137691a08aba32803bf0771986f79f6805501c4 | 0504af44aed1c3a910f7c56ddac6035098058aa8 | /gdal-2.2.2/frmts/georaster/georaster_rasterband.cpp | 14478a1afcd7ad908a1e26c8824632d908bef08d | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"SunPro",
"LicenseRef-scancode-info-zip-2005-02",
"BSD-3-Clause"
] | permissive | feilipei/gdal222 | bb98ebf708c46751762f7393bdf33d323ec86de4 | e4cb23676cbf3918408f28e5fa33772b0ed6f52e | refs/heads/master | 2020-07-02T23:01:21.385203 | 2019-08-11T06:02:52 | 2019-08-11T06:02:52 | 201,697,812 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,278 | cpp | /******************************************************************************
*
* Name: georaster_rasterband.cpp
* Project: Oracle Spatial GeoRaster Driver
* Purpose: Implement GeoRasterRasterBand methods
* Author: Ivan Lucena [ivan.lucena at oracle.com]
*
**********************************************... | [
"369874994@qq.com"
] | 369874994@qq.com |
3f53a24d488e7d227263147ce3a739a661d30d3b | 349f701ca6479529793ca22fcf523b5b9caf8ed7 | /leetcode/615_从排序数组中删除重复项.cpp | 61660002b4fdfbc11dd7b16168ab0a2e4229c1c3 | [] | no_license | IrisGreen/2021Spring | 19eab0bfc69a595e525d0a32c6697888e449ac99 | 1518ca684d1f1717f4778c919f6f983508746551 | refs/heads/master | 2020-08-10T22:45:25.663183 | 2019-10-12T13:41:03 | 2019-10-12T13:41:03 | 214,436,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | class Solution {
public:
int removeDuplicates(vector<int>& nums) {
if (nums.empty())return -1;
for (int i = 1; i < nums.size(); i++) {
if (nums[i]==nums[i-1]) {
nums.erase(nums.begin() + i);
i--;
}
}
return nums.size();
}
}; | [
"17816859635@163.com"
] | 17816859635@163.com |
3525b2abbb45ac046d565dceebe418f6473484f6 | 1ce9c5d07589a8ce0dab76fcd0f626b27c01d488 | /RecoTauTag/TauAnalysisTools/interface/HandleManager.h | 43a6240468f78bbfea1ea5e6d8680cb29c5fc7bb | [] | no_license | aashaqshah/cmssw-1 | cbe875d5eda00ff8d635b5e05c854bd53b74235a | 1df62491f48ef964d198f574cdfcccfd17c70425 | refs/heads/master | 2021-01-18T17:10:37.039681 | 2013-04-02T15:38:15 | 2013-04-02T15:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | h | #ifndef RecoTauTag_TauAnalysisTools_HandleManager_h
#define RecoTauTag_TauAnalysisTools_HandleManager_h
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/Framework/interface/Event.h"
class HandleManager {
public:
HandleManager(){};
virtual ~HandleManager(){}
virtual void fill(cons... | [
""
] | |
a7cc7e7da8ac589b0e240be215d1c4f5eb88a9de | dbe8b5b38eaba3db558f8ddece39f8b5017685df | /3rd/asio/asio/detail/io_object_impl.hpp | f1875edd99f5099f3aa0768d2f4b78729372e820 | [] | no_license | code1w/tomnet | f717194b644e1f32662a9c7024ea7f9a259f3991 | e1685b72b97206cd3daefab7f8f8bab45fd4ce76 | refs/heads/master | 2023-02-27T12:25:34.143976 | 2021-02-01T06:52:07 | 2021-02-01T06:52:07 | 287,296,220 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,030 | hpp | //
// io_object_impl.hpp
// ~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2020 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.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_DETAIL_I... | [
"root@zt-2017914.ztgame.com"
] | root@zt-2017914.ztgame.com |
23616af1446d9b8194772decb11b8eaf175ea25d | d6e0404193a7c06cb7dfde6c77b398206d8289be | /C++/Arrays and Functions/src/Arrays and Functions.cpp | 81a6b1376079c21241d826fbcf937a00d325a799 | [] | no_license | patascis/projects | 5a164781510e6f94308f609455e8267ac6ec4b0d | 4a4bf9d8f62058e12a36922e350e316e7c56dc03 | refs/heads/master | 2020-03-17T05:08:51.857255 | 2018-09-25T04:38:30 | 2018-09-25T04:38:30 | 133,304,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | cpp | #include <iostream>
using namespace std;
// Create a function that accepts and returns an array
// create a function that accepts reference of array [length]
// create a function that allocates memory and DELETES memory
// Could declare variables here string numbers[] = {"one", "two", "three"};
void show1(const int ... | [
"patascis@gmail.com"
] | patascis@gmail.com |
44f711efc6244cdea38167780360d9cd1cb63785 | 87b33d0acc29e87239672be75d71aecefebf51fe | /src/radar_server_new/ais_radar/back/ZCHXBd.pb - 副本.h | 3089172ea7e0df8d3d4f21d2e193263be1dcfef7 | [] | no_license | bnufree/zchx_radar | bb8fccca5c1693ad3eacf3394ef633173576f639 | 8357d6b0f452c9d8b033423e047143e75e8b2c36 | refs/heads/master | 2021-06-28T20:50:57.302012 | 2020-09-09T08:34:42 | 2020-09-09T08:34:42 | 157,688,031 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | true | 28,705 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ZCHXBd.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_ZCHXBd_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_ZCHXBd_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3012000
#error This file was generated... | [
"bnufree@163.com"
] | bnufree@163.com |
a6780d9d97c0761934242a530ac4b5b42c2700d5 | c57819bebe1a3e1d305ae0cb869cdcc48c7181d1 | /src/qt/src/3rdparty/webkit/Source/WebCore/page/NavigatorUserMediaError.h | cc88b4f11f67626453119672bc112b10677902c8 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-generic-exception",
"GPL-3.0-only",
"GPL-1.0-or-later",
"GFDL-1.3-only"
] | permissive | blowery/phantomjs | 255829570e90a28d1cd597192e20314578ef0276 | f929d2b04a29ff6c3c5b47cd08a8f741b1335c72 | refs/heads/master | 2023-04-08T01:22:35.426692 | 2012-10-11T17:43:24 | 2012-10-11T17:43:24 | 6,177,895 | 1 | 0 | BSD-3-Clause | 2023-04-03T23:09:40 | 2012-10-11T17:39:25 | C++ | UTF-8 | C++ | false | false | 1,992 | h | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
19b229ee70d13c36946b472abb83ac8d3e7e1042 | 7dbe01c88289e694f195b90a37aaa79a52bbeb0a | /temp5.cpp | 90925583515e3ad705734952c27c884fe1ab6b5e | [] | no_license | AshfiIslam/c- | 2260e7398191210ef1bbecc6205fb1a37caf7bc3 | 45e2c828bc2e05ea48033523d1289cc4ec549e62 | refs/heads/main | 2023-03-21T17:54:19.227852 | 2021-03-09T11:32:37 | 2021-03-09T11:32:37 | 345,983,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | #include<iostream>
using namespace std;
template<class T,class S>
double add(T a,S b){
return a+b;
}
int main(){
int n1=5; float n2=6.7;
cout<<add(n1,n2);
return 0;
}
| [
"ashfiislam56@gmail.com"
] | ashfiislam56@gmail.com |
612837a884006e8c40663b3bf4447b358511f348 | cf7a743b68b8c32190a9542d934f00a14ef0893c | /exercise11.4/main.cpp | 759706a87e856891b16c4bd0b30af6c19815287a | [] | no_license | LvChong/My_Primer | 86aadedef29c8fa1ce2d0baccb71275068507515 | 7ed242c95b89ba088712ac6b729622efe355d616 | refs/heads/master | 2021-01-13T02:10:20.868789 | 2014-09-14T08:55:26 | 2014-09-14T08:55:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | #include<iostream>
#include<string>
#include<map>
#include<set>
using namespace std;
void string_to_lower(string &s)
{
for (auto &c : s)
c = tolower(c);
}
void remove_punct(string &s)
{
auto iter = s.begin();
while (iter!=s.end())
{
if (ispunct(*iter))
{
iter = s.erase(iter);
}
else
++iter;
}
}
in... | [
"lvchong24@yeah.net"
] | lvchong24@yeah.net |
48e7ec0bad72474ff335bc33cc85b910e7a2d90f | 0fe1865c43bbb50ccf5defdb6dcffa717e0b4dbd | /GameBox/Classes/Platform/ios/GamePayment.cpp | 38b1b1220c4fbef307aa9094e383c915404b74e8 | [] | no_license | yujianathz/TurnAround | 24d02f5080b01ce14a4d6ec00f90c0429aa99924 | 23f45ac3dfcb64267fadde8545577ff0d45cd150 | refs/heads/master | 2020-12-24T06:53:21.603518 | 2016-07-21T09:16:31 | 2016-07-21T09:16:31 | 63,854,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | cpp | #include "GamePayment.h"
#include "HttpClient.h"
using namespace cocos2d::network;
//==========================================================================================
// 初始化
//==========================================================================================
GamePayment *GamePayment::getInstance()
{... | [
"yujian19880704@163.com"
] | yujian19880704@163.com |
2e483e3f9305c6893cb29b0d60360e64a61ffed5 | 3329c4dad82f2210a83fb31f9d92a9043913c40a | /src/toyml/dl/sigmoid_layer.h | 93c6eab5bd3cde56bdad7078ed5790ea147602b5 | [] | no_license | bin3/toyml | 134543806c583e3435ae8364892379b8abac5ee4 | 27ac08a9fa90aba7d2951ea8fa63d42c49788b0f | refs/heads/master | 2021-01-20T05:32:10.632626 | 2013-05-23T16:19:19 | 2013-05-23T16:19:19 | 6,214,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,481 | h | /*
* Copyright (c) 2013 Binson Zhang.
*
* 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 Licens... | [
"bin183cs@gmail.com"
] | bin183cs@gmail.com |
138f3205949de4a1911faeee46e4b5e574a7df22 | 0e456e7610169365ad5d0304701a4939cbf230ef | /gfg/must do interview que/Arrays/ThreeSumclosest.cpp | dbd1ebb0d10a943aece3d32584856ebacc2ca443 | [] | no_license | rverma870/DSA-practice | 8674e75225fdb4396560e5d8cfd9c4a3fc6a3356 | f714d4887888dd774fa1c10192c59767074425e9 | refs/heads/main | 2023-06-11T02:12:52.447346 | 2021-06-19T17:16:32 | 2021-06-19T17:16:32 | 369,564,546 | 0 | 0 | null | 2021-05-21T14:54:53 | 2021-05-21T14:39:21 | C++ | UTF-8 | C++ | false | false | 747 | cpp | #include<bits/stdc++.h>
using namespace std;
int threeSumClosest(vector<int> arr, int target)
{
sort(arr.begin(),arr.end());
int n=arr.size();
int ans=INT_MAX;
for(int i=0;i<n-2;i++)
{
int j=i+1,k=n-1;
while(j<k)
{
int temp_sum=arr[i]+arr[j]+arr[k];
i... | [
"rverma870@gmail.com"
] | rverma870@gmail.com |
40f7684ec604eb2434988ec05ae19e68d0e1e862 | 246fd468a5d015c17c5f0dbb841f9057c3decc55 | /TestDLL/URLWatchDog.h | 839c5a621ec1393666219fb71f99487e4818f122 | [] | no_license | cashlalala/NetService | 3a86be98ebf52b712355c58a1fa4a81db1ee0e96 | 70731f174728382527876dde6993e7937fe402f4 | refs/heads/master | 2021-01-01T20:42:24.868093 | 2013-01-23T09:31:36 | 2013-01-23T09:31:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #pragma once
#include <string>
//expose the symbol for compiler use
extern std::string g_szToken;
extern bool g_bIsAuthFlowDone;
namespace testutil{
enum ServiceType {
FB,
Fkr
};
}
typedef struct {
testutil::ServiceType enService;
std::string szLoginUrl;
} ThreadParams;
void BeginMonitorUrlThread(ThreadPara... | [
"cash924n@gmail.com"
] | cash924n@gmail.com |
df5d3ae2764b3ea979e84b52a4100bd80eca496a | 6551268e382c4aaa5c6e652213d61a5886d15419 | /ios/UnityLibrary/Classes/Native/UnresolvedVirtualCallStubs.cpp | 574c209cf09148660b5e914f75f1b0212e95cbed | [] | no_license | tungvt01/flutter_unity | b6522ee62621c315cbfe58d59d6a0af757b4df2e | 424210035f824d81447df676bd1364187488c90e | refs/heads/master | 2023-02-21T21:42:17.885678 | 2021-01-15T10:57:13 | 2021-01-15T10:57:13 | 328,890,632 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435,653 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
// MS.Internal.Xml.Cache.XPathNode[]
struct XPathNodeU5BU5D_tBC351C5172049794ED3550500C082D4E1F1D5A8B;
// Mono.Unity.Unit... | [
"baothq@vnext.com.vn"
] | baothq@vnext.com.vn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.